blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
288
content_id
stringlengths
40
40
detected_licenses
listlengths
0
112
license_type
stringclasses
2 values
repo_name
stringlengths
5
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
684 values
visit_date
timestamp[us]date
2015-08-06 10:31:46
2023-09-06 10:44:38
revision_date
timestamp[us]date
1970-01-01 02:38:32
2037-05-03 13:00:00
committer_date
timestamp[us]date
1970-01-01 02:38:32
2023-09-06 01:08:06
github_id
int64
4.92k
681M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-04 01:52:49
2023-09-14 21:59:50
gha_created_at
timestamp[us]date
2008-05-22 07:58:19
2023-08-21 12:35:19
gha_language
stringclasses
147 values
src_encoding
stringclasses
25 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
128
12.7k
extension
stringclasses
142 values
content
stringlengths
128
8.19k
authors
listlengths
1
1
author_id
stringlengths
1
132
1ec1082c420c57632e1d8fbdbff3c24e3f426d14
ae7ba9c83692cfcb39e95483d84610715930fe9e
/yubinbai/pcuva-problems/UVa 11262 - Weird Fence/EdmondsKarp.py
a3cd3aa934f2d8f5f06832cbe4c94dceea41b641
[]
no_license
xenron/sandbox-github-clone
364721769ea0784fb82827b07196eaa32190126b
5eccdd8631f8bad78eb88bb89144972dbabc109c
refs/heads/master
2022-05-01T21:18:43.101664
2016-09-12T12:38:32
2016-09-12T12:38:32
65,951,766
5
7
null
null
null
null
UTF-8
Python
false
false
1,846
py
''' Created on 2013-6-24 @author: Yubin Bai ''' from _collections import deque INF = 1 << 32 def edmondsKarp(graph, s, t): def augmentPath(v, minEdge): if (v == s): # managed to get back to source f[0] = minEdge # minEdge of the path return elif (v in p): # augment if ...
[ "xenron@outlook.com" ]
xenron@outlook.com
2b0ced7fa82699bf40379314a33e83ddcdf35160
7e9c0243c48bbf0ddca9779ef03fc13bb9ac0496
/candle.py
ef7ed0eabce07b078b04bab06a40c9c69cbbb75e
[]
no_license
suchismitarout/tt
c47f1f59659d2678392e2f0c3aaee8cfaa147ff4
54a5b625a82dab854b679050d67e340e74d71edd
refs/heads/master
2020-09-16T20:25:34.146741
2019-11-25T06:52:07
2019-11-25T06:52:07
223,880,569
0
0
null
null
null
null
UTF-8
Python
false
false
399
py
def birthdayCakeCandles(ar): max_ele = ar[0] count = 0 for i in range(len(ar)): if ar[i] > max_ele: max_ele = ar[i] for j in ar: if j == max_ele: count +=1 # for j in ar: # if j == max_ele: # count +=1 return cou...
[ "suchismitarout47@gmail.com" ]
suchismitarout47@gmail.com
3630fd00235c8d64e6fa8c41cb6b0031acc8d051
996967405d3ee07e011ee0f0404d03b6d04d3492
/dataloader/get_coco/select_image.py
e4e45d53306e8d53996618fd3de1138d855286eb
[]
no_license
wyyy04/MyRepository
797936fc757a2eee4793d5b1b47ebf8b57216ab8
91f1a7ff969e91d9649b96796c5827c9910a8183
refs/heads/main
2023-02-22T09:56:21.926013
2021-01-27T15:34:00
2021-01-27T15:34:00
315,524,193
0
0
null
2020-11-24T07:30:05
2020-11-24T05:05:28
null
UTF-8
Python
false
false
504
py
from readtxt import loadDataset import os import shutil #从COCO训练集中选取motivations_clean中训练和测试使用的所有图片 rdir='D:\download\\train2014'#源目录 odir='D:\data'#目标目录 data = loadDataset() data = data[:,0] print(data) for im_name in data: print(im_name) #文件名 r = os.path.join(rdir,im_name) o = os.path.join(odir,im_name...
[ "you@example.com" ]
you@example.com
716119ca0680e969a5c9b15d2f93c196e377873b
7b4e9342d42be2b55af5dc23a8abedd672d68e99
/MobileApps/libs/flows/web/jweb/eventing_plugin.py
83d4c6d1bad5eef4658ff26f41ebc08452999a87
[]
no_license
Amal548/QAMA
af5bb335c92a90b461f1ee9a3870435d83d46802
b5230c51d3bc7bb04b3448d1a1fe5a076d8898d5
refs/heads/master
2023-07-12T09:17:04.624677
2021-08-06T08:01:11
2021-08-06T08:01:11
389,595,655
0
0
null
null
null
null
UTF-8
Python
false
false
4,065
py
from MobileApps.libs.flows.web.jweb.jweb_flow import JwebFlow import json class EventingPlugin(JwebFlow): flow_name = "eventing_plugin" ######################################################################################################################## # ...
[ "amal.muthiah@hp.com" ]
amal.muthiah@hp.com
5effb4f8168c2ae2b22c3d5bdf47fbc2371234a7
08c7f146d82da572731f6ad0fd7d96bd4553f3d8
/backend/wispy_bread_26347/settings.py
440dca6d8ada9cc66236256b5fe96e07ed38d97b
[]
no_license
crowdbotics-apps/wispy-bread-26347
9c7b081b280e709f6eb5dccd3d38e7be306c18a8
04532cb6c4ac227bd104c2210e9997cdc5ff530d
refs/heads/master
2023-05-01T09:20:01.995863
2021-05-07T19:06:03
2021-05-07T19:06:03
365,329,281
0
0
null
null
null
null
UTF-8
Python
false
false
7,117
py
""" Django settings for wispy_bread_26347 project. Generated by 'django-admin startproject' using Django 2.2.2. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ im...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
9902ebd2e00cc805ec5bdc9703e6ca797ea372dc
41ede4fd3bfba1bff0166bca7aee80dcf21434c6
/suvari/gtk2chain/reverses/xcb-util/actions.py
25adb86a956a71e443321f8a2ef6661d3e2d6833
[]
no_license
pisilinux/playground
a7db4b42559a21cc72fd4c8649e0231ab6a3eb3c
e4e12fff8a847ba210befc8db7e2af8556c3adf7
refs/heads/master
2022-08-12T23:03:27.609506
2022-08-11T18:28:19
2022-08-11T18:28:19
8,429,459
16
22
null
2022-08-11T18:28:20
2013-02-26T09:37:11
Python
UTF-8
Python
false
false
572
py
#!/usr/bin/python # -*- coding: utf-8 -*- # # Licensed under the GNU General Public License, version 3. # See the file http://www.gnu.org/licenses/gpl.txt from pisi.actionsapi import shelltools from pisi.actionsapi import autotools from pisi.actionsapi import pisitools from pisi.actionsapi import get def setup(): ...
[ "suvarice@gmail.com" ]
suvarice@gmail.com
878a8d6f13a4d962da19b20180204a0a90f19306
74c368b2511fd62cb4f71db64bd728d0354d7191
/refinenet/datasets.py
6ea166c7a35a6e2ea5c30236b9881e9fa3bc3e65
[]
no_license
nocotan/RefineNet
318e8867eca263127e573323f0225934adcf77b8
05e5a465807016b913f1f2d58a14c0fdad72beed
refs/heads/master
2021-04-03T06:07:40.295234
2018-03-20T14:48:44
2018-03-20T14:48:44
124,654,926
0
0
null
null
null
null
UTF-8
Python
false
false
2,754
py
# -*- coding: utf-8 -*- import os import random import cv2 import numpy as np import PIL.Image from chainer.dataset import dataset_mixin class ImageDataset(dataset_mixin.DatasetMixin): def __init__(self, data_dir, data_list, crop_size=(300, 300)): self.data_dir = data_dir self.data_list = os.path...
[ "noconoco.lib@gmail.com" ]
noconoco.lib@gmail.com
9935830816782ca4bbe14f5537a51ca72ff16bc6
b109001ec3ca8aa4b2cfc4d4520d8644c58ad5e0
/navigation/Mappers.py
e6b134df0a24b3ea97c7ed69c07d70c972f65cf3
[]
no_license
Chandanpanda/navigation-benchmark
b3e25e3672150413299a3d2566ad601156317acf
d83431d6648ac1147f53056ed32ce2caae4f702d
refs/heads/master
2021-10-24T04:42:56.436909
2019-01-31T12:43:48
2019-01-31T12:43:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,626
py
import numpy as np import torch import torch.nn as nn import torch.nn.functional as F from math import ceil,floor import math from .Reprojection import getMapSizeInCells, project2dPClIntoWorldMap, ReprojectLocal2Global def DepthToLocal3D(depth, fx, fy, cx, cy): r"""Projects depth map to 3d point cloud with or...
[ "ducha.aiki@gmail.com" ]
ducha.aiki@gmail.com
d399b2d3a8ff12446dacbf96a4e46f7b8f5d2e92
52555a17cdb6058565696585c978c9012b0bfad7
/examples/synthetic/park2_4/park2_4_mf.py
b8d64549b8c4f770d2f4fd70d7fcabdc1ba4bee4
[ "MIT" ]
permissive
kirthevasank/dragonfly
8685d6aff272bd262d9b47c455fc1f1dc77a42aa
8e09d5ba602d14922455bf09bdd4ca0fa09ef3ee
refs/heads/master
2020-05-02T00:38:35.252889
2019-05-17T03:40:23
2019-05-17T03:40:23
177,675,339
3
0
MIT
2019-05-06T04:07:41
2019-03-25T22:39:37
Python
UTF-8
Python
false
false
489
py
""" Parkd function with multi-fidelity. -- kandasamy@cs.cmu.edu """ # pylint: disable=invalid-name from park2_4 import park2_4_z # Write a function like this called 'obj'. def park2_4_mf(z, x): """ Computes the Parkd function. """ return park2_4_z(z[0], x) def objective(z, x): """ Objective. """ return ...
[ "kandasamy@cs.cmu.edu" ]
kandasamy@cs.cmu.edu
1a2a244f5a7ffd2c4a3c4534e593dc75e9823e55
49b827bb587d50c5092837749a7d5b88c024e854
/experiments/ACOSlite/HDF5_to_GeoJSON.py
722867db0ee2e86786f2b64806e22f0365deda70
[]
no_license
SpaceAppsXploration/oco-2-data-network
7d836bf77cf79a5aac1cd22b02c75af316432b56
7d1fd709c7c219c83b7ea9f8075f7df46b460f23
refs/heads/master
2020-12-11T05:43:45.979066
2015-07-18T08:56:29
2015-07-18T08:56:29
34,137,221
1
0
null
null
null
null
UTF-8
Python
false
false
1,793
py
# -*- coding: utf-8 -*- """ Created on Thu Apr 16 15:23:47 2015 @author: jacopo """ import json from pprint import pprint import h5py # # TO DOs # # 1. Add the reference to Sensors ontology # ACOS LITE file in the same directory f = h5py.File('ACOSv3.4r02_L3_20100101_000000_20130515_000000.h5', libver='earliest') ...
[ "tunedconsulting@gmail.com" ]
tunedconsulting@gmail.com
ff20f97e522dad036e7df019b8c4e0a5caae626a
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_unguents.py
87d4634aa61496578132ed4c4606ab4ff28ddf79
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
245
py
from xai.brain.wordbase.nouns._unguent import _UNGUENT #calss header class _UNGUENTS(_UNGUENT, ): def __init__(self,): _UNGUENT.__init__(self) self.name = "UNGUENTS" self.specie = 'nouns' self.basic = "unguent" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
58b2baef07663c5e82c8e96e9e9e199a40108943
af685f9625dc3fc1892171df396ed46155caa092
/WORC/resources/fastr_tools/worc/bin/FeatureConverter_tool.py
84635983ccc0a62c9a1aa63c19be4a548ed16b53
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
MStarmans91/WORC
b66d7de70e2f3acab5100a3431855216b31bd7b1
f267b3d05c8193939aa4f43e47c6e24f9307864e
refs/heads/master
2023-08-17T14:02:29.566811
2023-08-15T08:58:42
2023-08-15T08:58:42
92,295,542
65
20
NOASSERTION
2023-08-15T08:58:44
2017-05-24T13:31:31
Python
UTF-8
Python
false
false
2,404
py
#!/usr/bin/env python # Copyright 2017-2020 Biomedical Imaging Group Rotterdam, Departments of # Medical Informatics and Radiology, Erasmus MC, Rotterdam, The Netherlands # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obt...
[ "m.starmans@erasmusmc.nl" ]
m.starmans@erasmusmc.nl
4b68733a5da1facd4daa9d36b3eafb06d1b7bea2
79a484e91a8df432a0ded93806a1e8237df7c253
/umibukela/migrations/0020_auto_20170124_1443.py
03d19703ba05730c59fd74bd2588eed73576e207
[ "MIT" ]
permissive
OpenUpSA/umibukela
7ba14397ad543154d3a32ebfd84e89aa07f7011e
34c1a29a429b88c2f574e9120cfe93ba524633da
refs/heads/master
2023-07-26T19:45:12.531887
2023-07-10T15:53:07
2023-07-10T15:53:07
47,106,932
0
0
MIT
2023-02-02T01:36:59
2015-11-30T09:03:27
Python
UTF-8
Python
false
false
618
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('umibukela', '0019_auto_20170124_1252'), ] operations = [ migrations.AlterField( model_name='cycleresultset', ...
[ "jbothma@gmail.com" ]
jbothma@gmail.com
d21050a17e15ff92bccfbce4604ba90af3d3d95f
56818903f60b5e7b88645f88badc92bfa5d2c65f
/automlcli/settings.py
05d100770da7b6b2f4c87b22a2dd400e38345549
[ "MIT" ]
permissive
altescy/automlcli
23e82ad957ac8cbeb43d734741dd8dfb9b24b0ff
ec57ac57df5d9d9f8a7ef79bb7a96a86801f32f4
refs/heads/main
2023-04-29T03:57:06.181052
2021-05-23T12:19:34
2021-05-23T12:19:34
341,651,976
2
0
null
null
null
null
UTF-8
Python
false
false
286
py
from pathlib import Path # colt settings DEFAULT_COLT_SETTING = { "typekey": "type", } # automlcli directory settings AUTOMLCLI_ROOT = Path.home() / ".automlcli" # plugin settings LOCAL_PLUGINS_FILENAME = ".automlcli_plugins" GLOBAL_PLUGINS_FILENAME = AUTOMLCLI_ROOT / "plugins"
[ "altescy@fastmail.com" ]
altescy@fastmail.com
0f904e64473e0a25754c0b977e1599a61fcaaa7b
660e35c822423685aea19d038daa8356722dc744
/account_statement_ofx/tests/__init__.py
eef3074bc7837bf7d59e074cce70d4916358feba
[]
no_license
saifkazi/tryton_modules
a05cb4a90ae2c46ba39d60d2005ffc18ce5e44bb
94bd3a4e3fd86556725cdff33b314274dcb20afd
refs/heads/main
2023-05-05T12:20:02.059236
2021-05-19T10:46:37
2021-05-19T10:46:37
368,768,310
0
0
null
null
null
null
UTF-8
Python
false
false
348
py
# This file is part of Tryton. The COPYRIGHT file at the top level of # this repository contains the full copyright notices and license terms. try: from trytond.modules.account_statement_ofx.tests.test_account_statement_ofx import suite # noqa: E501 except ImportError: from .test_account_statement_ofx import...
[ "saif.kazi76@gmail.com" ]
saif.kazi76@gmail.com
062d01992b4ff6403439725111428e675235023b
ca12492b8fe66e34d7152a5118a573175b0a176f
/backend/wallet/migrations/0001_initial.py
06c04d1d09b8fdac41184f9f6cca8bc684953e59
[]
no_license
crowdbotics-apps/asile-mobile-22968
3d02c0de123ba1b13d79a098ea7eb543658d5f8f
c5005ad17c262f87bdd8eefb89145ee75fdca168
refs/heads/master
2023-01-24T17:16:53.239439
2020-11-25T08:42:33
2020-11-25T08:42:33
315,842,223
0
0
null
null
null
null
UTF-8
Python
false
false
3,944
py
# Generated by Django 2.2.17 on 2020-11-25 05:57 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('task_profile', '0001_initial'), ('task', '0001_initial'), ] operations = [ mig...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
86aad0348b322a2f956b6383ab4d9264b7a71afd
0ebec1e899789ae2597c01bae7ca2c3382c4266d
/session5/a_customising_plots.py
0a6ea8df7506befcbf9f9e859b1a2d01d340e160
[ "Apache-2.0" ]
permissive
TugdualSarazin/MACT20.21_Digital_tools_Big_Data_part_1
02fda6b401bcdad2a240de00960ff0dbc61fc94d
b43b9f50ec42bb413c2c3a090cf11f9886676c58
refs/heads/main
2023-01-13T20:51:44.000981
2020-11-09T12:25:11
2020-11-09T12:25:11
313,076,622
0
0
Apache-2.0
2020-11-15T16:44:29
2020-11-15T16:44:28
null
UTF-8
Python
false
false
2,890
py
# encoding: utf-8 ################################################## # This script shows uses the pandas and matplotlib libraries to produce different kind of plots # It also combines data from two sources and create multiple plots # Find extra documentation about data frame here: # https://pandas.pydata.org/pandas-do...
[ "diegopajarito@gmail.com" ]
diegopajarito@gmail.com
8c6977a6a88267049f29f0ab21620a01356f8d36
39cb67781018e23428312610ded87c5d384bb690
/swinger.py
23a441d49c82499b30ed56afe259a80e11ef8692
[]
no_license
yi75798/Swinger
afd8e528cc1bcce3a4db83ce54def54372619717
b158c4f358fbebe655627969231cf1f0276cf708
refs/heads/master
2022-02-25T14:10:25.104740
2019-10-25T07:24:12
2019-10-25T07:24:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,314
py
# -*- coding: utf-8 -*- import nltk, json, pickle import itertools from random import shuffle from nltk.collocations import BigramCollocationFinder from nltk.metrics import BigramAssocMeasures from nltk.probability import FreqDist, ConditionalFreqDist import sklearn from nltk.classify.scikitlearn import SklearnClassif...
[ "davidtnfsh@gmail.com" ]
davidtnfsh@gmail.com
90f01e806124c7ca87d8fa588c9283d06b53bfcb
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2485/60623/234199.py
d1fc22fa3226c63bdda6a1c2a234b5d3b02955ce
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
935
py
# 给定一个单词数组,按排序顺序(计数的递增顺序)一起打印所有字符相同组的计数。 # 例如,如果给定的数组是{“ cat”,“ dog”,“ tac”,“ god”,“ act”},则分组的字谜是“(dog,god)(cat,tac,act)”。因此输出为2 3 size=int(input()) a=0 while a<size: b=input()#也没有用 strList=input().split() i=0 while i<len(strList): l=list(strList[i]) #列表的sort是针对自己,而字典的sort则是返回一个排好序的,但本身并没有排好序 l.sort() s=""...
[ "1069583789@qq.com" ]
1069583789@qq.com
69464c3b9cc44fc360e52b78b6397ca102998b16
ac5e52a3fc52dde58d208746cddabef2e378119e
/exps-sblp/sblp_ut=3.5_rd=1_rw=0.04_rn=4_u=0.075-0.325_p=harmonic-2/sched=RUN_trial=43/sched.py
96e86f88d4ec9f87aad6a16a3dbd922eb335bcd5
[]
no_license
ricardobtxr/experiment-scripts
1e2abfcd94fb0ef5a56c5d7dffddfe814752eef1
7bcebff7ac2f2822423f211f1162cd017a18babb
refs/heads/master
2023-04-09T02:37:41.466794
2021-04-25T03:27:16
2021-04-25T03:27:16
358,926,457
0
0
null
null
null
null
UTF-8
Python
false
false
529
py
-S 1 -X RUN -Q 0 -L 2 132 400 -S 0 -X RUN -Q 0 -L 2 104 300 -S 0 -X RUN -Q 0 -L 2 93 300 -S 0 -X RUN -Q 0 -L 2 56 300 -S 2 -X RUN -Q 1 -L 1 50 400 -S 2 -X RUN -Q 1 -L 1 46 300 -S 2 -X RUN -Q 1 -L 1 45 150 -S 2 -X RUN -Q 1 -L 1 42 125 -S 3 -X RUN -Q 2 -L 1 35 175 -S 3 -X RUN -Q 2 -L...
[ "ricardo.btxr@gmail.com" ]
ricardo.btxr@gmail.com
ea531889bf01ff9b71405fc6ad2e84ec1a764813
ba8f5d23d9878a25b30a32cf16e8833f93b25853
/source_py2/python_toolbox/nifty_collections/emitting_weak_key_default_dict.py
46c4c7701214a78895301bc8c7a7931a9b878581
[ "MIT" ]
permissive
nastako/python_toolbox
af520cbec1468c8e0aae0b3b1c467ca5623af45b
9713fd728608818630ee409ac6a6fdaf863af31b
refs/heads/master
2020-12-11T09:07:19.681161
2015-01-16T21:26:37
2015-01-16T21:26:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,427
py
# Copyright 2009-2015 Ram Rachum. # This program is distributed under the MIT license. ''' Defines the `EmittingWeakKeyDefaultDict` class. See its documentation for more details. ''' from .weak_key_default_dict import WeakKeyDefaultDict class EmittingWeakKeyDefaultDict(WeakKeyDefaultDict): ''' A key that r...
[ "ram@rachum.com" ]
ram@rachum.com
150c5fd8c3bd60bd78428844d15da7c125771b39
3937f340aafed20f7b3bb9e36a62d0dfe6ca985d
/CrispyProject/WebApp/forms.py
02e71ff1a3beb904dbd38af4006ac6e1f687b0b3
[]
no_license
sunnywralph/Django7AM
8f6f7e52847882d35ee7f7c4c263c5e90c79b6da
ffef6c6e5ab5231416ca743ebae299622eab9791
refs/heads/master
2022-04-25T15:04:45.733504
2020-05-05T14:53:57
2020-05-05T14:53:57
261,496,619
0
0
null
null
null
null
UTF-8
Python
false
false
192
py
from django import forms from WebApp.models import Person # Fields with Validation class EmpForm(forms.ModelForm): class Meta: model = Person fields = '__all__'
[ "sunnywralph@gmail.com" ]
sunnywralph@gmail.com
4335e43e879c0ef68bff953743aa51e096e7bc6b
abfa70e1da5b4ba8e465cdc046fa36e81386744a
/base_ml/10.5.Iris_RandomForest_Enum.py
cb324f72bde8cb4ca167d5b6c13a703a16f9b8bc
[]
no_license
superman666ai/crazy_project
f850819ff2287e345b67500111733bafa5629d1f
99dcba0fe246ecaf3f556f747d44731a04231921
refs/heads/master
2020-05-15T09:32:56.523875
2019-05-16T00:57:23
2019-05-16T00:57:23
182,179,544
0
0
null
null
null
null
UTF-8
Python
false
false
2,796
py
#!/usr/bin/python # -*- coding:utf-8 -*- import numpy as np import matplotlib.pyplot as plt import matplotlib as mpl from sklearn.ensemble import RandomForestClassifier def iris_type(s): it = {'Iris-setosa': 0, 'Iris-versicolor': 1, 'Iris-virginica': 2} return it[s] # 'sepal length', 'sepal width', 'petal l...
[ "keepingoner@163.com" ]
keepingoner@163.com
0e5cd2b71cfca2920b63884ab1b03dedd57aecaa
11763b1150a3a05db89c13dcd6152f8fcca87eaa
/designs/linear/homomorphic/latticebased/qtpiepublickey3.py
19c3c2cc331daaa31305c3217bbc670ba8c7c944
[]
no_license
acad2/crypto
343c32fa25aaec73e169290579fc3d02c4b226f6
cb283df4101fcd618a0478a0018273f00d0734ae
refs/heads/master
2021-08-19T06:36:26.068033
2017-11-25T00:41:03
2017-11-25T00:41:03
113,048,326
2
0
null
2017-12-04T13:49:02
2017-12-04T13:49:01
null
UTF-8
Python
false
false
2,559
py
raise NotImplementedError("q needs to be randomized") from math import log from crypto.utilities import random_integer, modular_inverse, big_prime, modular_subtraction N = 90539821999601667010016498433538092350601848065509335050382778168697877622963864208930434463149476126948597274673237394102007067278620641565896411...
[ "python_pride@protonmail.com" ]
python_pride@protonmail.com
c731e200e23ca2544520bae18655637937d939d8
325fde42058b2b82f8a4020048ff910cfdf737d7
/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_mgmt_storage/v2021_01_01/aio/operations/_usages_operations.py
4fb31d3652c09b18a8730846a6ade439f9280d2f
[ "LicenseRef-scancode-generic-cla", "MIT" ]
permissive
ebencarek/azure-cli-extensions
46b0d18fe536fe5884b00d7ffa30f54c7d6887d1
42491b284e38f8853712a5af01836f83b04a1aa8
refs/heads/master
2023-04-12T00:28:44.828652
2021-03-30T22:34:13
2021-03-30T22:34:13
261,621,934
2
5
MIT
2020-10-09T18:21:52
2020-05-06T01:25:58
Python
UTF-8
Python
false
false
5,262
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
ebencarek.noreply@github.com
eeaf201358b733d340ba20b8541a19ccc863938e
8e7279bc3de368e85129b8e59f12cbdbd8621da1
/myenv/bin/gifmaker.py
b0dd02f4131ba154bff4296b4730f87a960d0ce0
[]
no_license
banziha104/dstagram2
34f5dca6deb9c19c03fa523d6e4b1c97f60e14d4
12dbecb4a727fe67faffc1b2208bd4b5152a8672
refs/heads/master
2021-07-09T23:51:17.262219
2017-10-10T11:18:45
2017-10-10T11:18:45
105,170,644
0
0
null
null
null
null
UTF-8
Python
false
false
684
py
#!/Users/iyeongjun/Downloads/dstagram_2nd/myenv/bin/python3.6 # # The Python Imaging Library # $Id$ # # convert sequence format to GIF animation # # history: # 97-01-03 fl created # # Copyright (c) Secret Labs AB 1997. All rights reserved. # Copyright (c) Fredrik Lundh 1997. # # See the README file for infor...
[ "they6687@naver.com" ]
they6687@naver.com
d9c94007b05b243ba95ace0dae93928d09561f45
bf0800eee5a43f600ab3ebd99d3486846d9f4834
/blog/views.py
aa024c57c30b7e613d9d778655bff923cef2a3e5
[]
no_license
wonsik1012/my-first-blog
6de17de4bd13a9d36650ad2070b07190461dbd3e
e0124e41b8dabf20e23af5d969e55a2238841dba
refs/heads/master
2020-07-03T10:07:38.321239
2019-08-13T11:48:21
2019-08-13T11:48:21
201,874,737
0
0
null
null
null
null
UTF-8
Python
false
false
5,924
py
from django.shortcuts import render from django.utils import timezone from .models import Post from django.shortcuts import render, redirect, render_to_response from django.http import HttpResponse from django.template.loader import get_template from django.template.context import RequestContext import folium from IPyt...
[ "you@example.com" ]
you@example.com
64f4aecdc4ba0856009744c04d0a8cef73e58ae7
77db6591c5884204d6016bfa89b33691bac38813
/load.py
b2a9c8a3983643329620f4d7f7cd949b5ccd27f0
[]
no_license
jbukoski/iltf-signal-webmap-suite
4fc0aafa977e911a1071872f7adbaf2e7d0da37c
b8374e9cfcc80501a8f632721a7cb9b76e668f6b
refs/heads/master
2021-03-27T11:20:37.174667
2020-12-31T18:03:20
2020-12-31T18:03:20
79,853,039
1
0
null
null
null
null
UTF-8
Python
false
false
370
py
import os from django.contrib.gis.utils import LayerMapping from . import models *_shp = os.path.abspath(os.path.join(os.path.dirname(os.path.dirname(__file__)), 'data', '', '*.shp')) def run(verbose=True): *_lm = LayerMapping( models.*, *_shp, *_mapping, transform=False, encoding='iso-8859-1' ...
[ "jacob.bukoski@yale.edu" ]
jacob.bukoski@yale.edu
29e16f0faaa4866bc0815c2235ece255f754032e
d5eb2fe5d49b581562ae2bc660d08ca80a03d331
/PythonSandbox/src/misc/num_digits_in_integer.py
6757434647672cd9e95d213417d05eed2cbab5ac
[]
no_license
mcxu/code-sandbox
fd5aa2e593057901d281a0e74db8957777b06cf3
a785231582bda8578f79982e2dcddd2f2ab559b4
refs/heads/master
2023-07-10T02:07:24.180947
2023-07-08T03:31:48
2023-07-08T03:31:48
130,493,607
4
2
null
2023-01-15T22:53:29
2018-04-21T16:49:40
Python
UTF-8
Python
false
false
130
py
''' Given an integer n, return a map showing the counts of each single digit in n. Condition: Do not convert n into string. '''
[ "michaelxu79@gmail.com" ]
michaelxu79@gmail.com
5ea5fe910e1ef86b506005a39e879e50f77d83f4
d532b85841b459c61d88d380e88dd08d29836d43
/solutions/473_matchsticks_to_square.py
99245aad8635cdcb9f58acde68ea9d0399c61f3b
[ "MIT" ]
permissive
YiqunPeng/leetcode_pro
ad942468df5506de9dc48a4019933f658e2a3121
4a508a982b125a3a90ea893ae70863df7c99cc70
refs/heads/master
2022-05-15T09:32:02.699180
2022-05-14T16:32:17
2022-05-14T16:32:17
182,453,966
0
0
null
null
null
null
UTF-8
Python
false
false
614
py
class Solution: def makesquare(self, matchsticks: List[int]) -> bool: l = sum(matchsticks) if l % 4 != 0: return False size = l // 4 matchsticks.sort() return self._dfs(matchsticks, len(matchsticks)-1, [size] * 4) def _dfs(self, ms, pos, sizes): i...
[ "ypeng1@andrew.cmu.edu" ]
ypeng1@andrew.cmu.edu
85f970aac1289aa71773cf2f9f5fee61ae7a289f
a939e018333a9ecd26ddc618f99835b7eb381686
/mapred_parser/user_merger/.svn/text-base/reducer.py.svn-base
c71b89a519663ca1e57f7a5f17e75be85bb0ab96
[]
no_license
cash2one/crawl_youtube
bff5ba254001c2f31f770e55a4aca39bc54e45ee
0dc40186a1d89da2b00f29d4f4edfdc5470eb4fc
refs/heads/master
2021-01-16T22:30:17.800282
2016-02-18T11:50:09
2016-02-18T11:50:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,709
#!/usr/bin/python # coding=utf-8 import os import sys import time import base64 sys.path.append(os.path.dirname(os.path.realpath(__file__)) + '/../') from le_crawler.proto.video.ttypes import OriginalUser from le_crawler.common.utils import str2mediavideo, thrift2str user_merge_field = set(['user_name', 'url', 'port...
[ "zjc0516@126.com" ]
zjc0516@126.com
3f2cee0071989d5dddcf5e06d71d0c53ccf74a79
19ddab74600f71700a6b693281d0180d5271f295
/leetcode/119_杨辉三角2.py
5ca9f3c4a447aa5bf40bb8293558abdaa26cfa73
[]
no_license
zhulf0804/Coding.Python
4d55a430da1a8077c81feba65c13ac654aaf094a
46ab03e23d15ebd5434ef4dd5ae99130000b00a5
refs/heads/master
2022-09-14T18:40:59.880941
2022-08-20T08:25:51
2022-08-20T08:25:51
213,113,482
3
1
null
null
null
null
UTF-8
Python
false
false
452
py
from typing import List class Solution: def getRow(self, rowIndex: int) -> List[int]: if rowIndex == 0: return [1] if rowIndex == 1: return [1, 1] pre = [1, 1] for i in range(2, rowIndex+1): cur = [1] * (i + 1) for j in range(1, i): ...
[ "zhulf0804@gmail.com" ]
zhulf0804@gmail.com
48c1e248c0c54b9df4c45b1abc82c3c75f4870a9
ae65873c3584cef7139066b224daad04410af6d2
/MySQL.py
a042fc4c7860d159e362459d73edbfefca29ad33
[]
no_license
rajatkashyap/Python
2240c7472d07803c460c7a55d570e20694b694f9
f74c85c65b0e209a5f7ab25b653d42835222faaf
refs/heads/master
2022-06-25T19:20:52.847498
2022-06-08T14:40:45
2022-06-08T14:40:45
145,714,257
0
0
null
2022-04-25T00:18:37
2018-08-22T13:39:14
Python
UTF-8
Python
false
false
324
py
from mysql.connector import (connection) cnx = connection.MySQLConnection(user='root', password='rajat',host='127.0.0.1',database='db') cursor = cnx.cursor() query=("select * from jobs") cursor.execute(query) for (city_id,city_name,country_id,x) in cursor: print city_id,city_name,country_id cnx.close...
[ "rajatkashyap@Rajats-MBP.T-mobile.com" ]
rajatkashyap@Rajats-MBP.T-mobile.com
9427dd2eb8619763631b53850f3d848d5866e9e7
eacff46eda2c6b509449979a16002b96d4645d8e
/Collections-a-installer/community-general-2.4.0/plugins/modules/monitoring/airbrake_deployment.py
3e7938bfba10ac8e1d2080f7ed8ae71ed9589628
[ "MIT", "GPL-3.0-only", "GPL-3.0-or-later" ]
permissive
d-amien-b/simple-getwordpress
5e6d4d15d5f87124ab591e46b63fec552998fdc3
da90d515a0aa837b633d50db4d91d22b031c04a2
refs/heads/master
2023-04-08T22:13:37.347545
2021-04-06T09:25:51
2021-04-06T09:25:51
351,698,069
0
0
MIT
2021-03-31T16:16:45
2021-03-26T07:30:00
HTML
UTF-8
Python
false
false
6,696
py
#!/usr/bin/python # -*- coding: utf-8 -*- # Copyright 2013 Bruce Pennypacker <bruce@pennypacker.org> # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = type DOCUMENTATION = ''' --- module: airb...
[ "test@burdo.fr" ]
test@burdo.fr
6b4427adecbd6d4a38872c33dcbca2e3d68aeb29
e8ae11e5017507da59e2e92d423b6a1994490de4
/env/lib/python2.7/site-packages/azure/batch/models/pool_delete_options.py
d959c796b779edb07a5117788f554dc19bb6cab6
[]
no_license
teopeurt/ansible-ubuntu-server
613d00cea28bc6531acf4a39aeeb9cd0baa2a391
b5b6127d2ee9723c5088443efe2ffb8ae30cfea7
refs/heads/master
2021-06-28T12:49:50.935753
2017-07-31T17:34:33
2017-07-31T17:34:33
98,912,808
0
1
null
2020-07-24T00:05:31
2017-07-31T17:32:56
Makefile
UTF-8
Python
false
false
3,192
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft and contributors. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a co...
[ "me@teopeurt.com" ]
me@teopeurt.com
202131d751e30e0b6464079f63e290c45a89c07a
6cdff1cccb229bd98c7b7fce0ad3df32e4f04557
/tests/conftest.py
4eb8621c176f7ad405450bd91027044cc1498eb9
[]
no_license
MITLibraries/workflow
fb8cbdf809702318c8d7c64307da90c0acda28cc
63a17c3021e2bc0e0b13d22246ce3f13295349ca
refs/heads/main
2023-03-04T10:38:12.270942
2021-07-08T18:06:16
2021-07-08T18:06:16
211,862,997
2
1
null
2023-02-08T01:14:43
2019-09-30T13:12:20
Python
UTF-8
Python
false
false
3,108
py
from collections import namedtuple import json from unittest import mock import boto3 from moto import mock_ecs, mock_ec2 from moto.ec2.utils import generate_instance_identity_document import pytest from manager.cluster import Cluster @pytest.fixture(autouse=True) def aws_credentials(monkeypatch): monkeypatch.s...
[ "mgraves@mit.edu" ]
mgraves@mit.edu
e16189f36956843b3dfa3909dccea36da75ad30e
5de4aed3d9a9230404150d4c3c553ea05ac4e088
/afm/logger.py
c872f1d55b593e4a85f55bd2fb43d16e0e878e5a
[]
no_license
UfSoft/afm
db4df3189095aa916b3a3f770d5366bb3e0a9b74
2e85c65389a10f7bed032956b0c603bbb2af2dac
refs/heads/master
2021-01-19T13:25:08.121356
2009-10-29T15:24:49
2009-10-29T15:24:49
26,618,925
1
0
null
null
null
null
UTF-8
Python
false
false
1,483
py
# -*- coding: utf-8 -*- # vim: sw=4 ts=4 fenc=utf-8 et # ============================================================================== # Copyright © 2009 UfSoft.org - Pedro Algarvio <ufs@ufsoft.org> # # License: BSD - Please view the LICENSE file for additional information. # ==========================================...
[ "ufs@ufsoft.org" ]
ufs@ufsoft.org
7bf9961f9abe963c51fc315c0be7e3c57d39a529
1b8a99a4ff80da51dc81dd8354bf9bf1cbd25a8b
/2023/longest_nice_substring.py
a832858e6eafd4d321f1afb296fd2304b2ca0cb5
[]
no_license
eronekogin/leetcode
ea639eebe0cd70af9eb4cba59bc68f636d7b3e0c
edb870f83f0c4568cce0cacec04ee70cf6b545bf
refs/heads/master
2023-08-16T10:35:57.164176
2023-08-14T11:25:33
2023-08-14T11:25:33
163,679,450
0
0
null
2021-09-09T12:04:44
2018-12-31T15:33:06
Python
UTF-8
Python
false
false
449
py
""" https://leetcode.com/problems/longest-nice-substring/ """ class Solution: def longestNiceSubstring(self, s: str) -> str: if not s: return '' ss = set(s) for i, c in enumerate(s): if c.swapcase() not in ss: left = self.longestNiceSubstring(s[:i])...
[ "mengyu.jiang@gmail.com" ]
mengyu.jiang@gmail.com
1607a3e3331e20d9281ee04b374c3d4ea110cb01
c2849586a8f376cf96fcbdc1c7e5bce6522398ca
/ch21/ex21-15.pybench2.py
a110d546ad7c35d5e88ae11bbd6ee12cc27e3857
[]
no_license
freebz/Learning-Python
0559d7691517b4acb0228d1cc76de3e93915fb27
7f577edb6249f4bbcac4f590908b385192dbf308
refs/heads/master
2020-09-23T01:48:24.009383
2019-12-02T12:26:40
2019-12-02T12:26:40
225,371,155
0
0
null
null
null
null
UTF-8
Python
false
false
1,214
py
# pybench2.py ... def runner(stmts, pythons=None, tracemd=False): for (number, repeat, setup, stmt) in stmts: if not pythons: ... best = min(timeit.repeat( setup=setup, stmt=stmt, number=number, repeat=repeat)) else: setup = setup.replace('\t', ' ...
[ "freebz@hananet.net" ]
freebz@hananet.net
e3a20c33463c6737ce0a9c7ef85e374de481845f
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/wsCshmu5zkN5BfeAC_11.py
16ee4c11004690dd94154fad7dd29ce965bcbb66
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
739
py
""" Create a function that takes a number `n` and checks if each digit is divisible by the digit on its left. Return a boolean array depending on the condition checks. ### Examples divisible_by_left(73312) ➞ [False, False, True, False, True] # no element left to 7 = False # 3/7 = False # 3/3 = True...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
7586f2806ece479ea1e2d474b53558d8c88144b2
fdc3d2daf484e8b500368987930d85b833d43fd6
/sandbox/python/spectrogram3.py
07bb5de54e8d25c13ce1d5af9224dc0a0bb27ecc
[]
no_license
luiarthur/signal_processing
9d61b368603b965ab526b9226a1114022e08463b
f6f00ce57b94bfa020ac494fcb4e83549d05c902
refs/heads/master
2021-01-01T19:47:45.076460
2017-08-12T15:50:18
2017-08-12T15:50:18
98,684,524
0
0
null
null
null
null
UTF-8
Python
false
false
2,513
py
import os import numpy as np from scipy.io import wavfile from scipy import signal import matplotlib.pyplot as plt from notes import pitch, piano_freq, freq_dict, bin_spec HOME = os.path.expanduser('~') ### Read a wavfile (fs, x) = wavfile.read(HOME+"/wav/embraceableYou.wav") if x.ndim > 1: x = x[:,1] w_size = 409...
[ "luiarthur@gmail.com" ]
luiarthur@gmail.com
4b9c499c4cf735c4bbb7e381d11f44e4a1d22ac8
ad13583673551857615498b9605d9dcab63bb2c3
/output/instances/nistData/atomic/byte/Schema+Instance/NISTXML-SV-IV-atomic-byte-maxExclusive-5-3.py
f378841d6d0ec8179638494024c1501e673c1b5e
[ "MIT" ]
permissive
tefra/xsdata-w3c-tests
397180205a735b06170aa188f1f39451d2089815
081d0908382a0e0b29c8ee9caca6f1c0e36dd6db
refs/heads/main
2023-08-03T04:25:37.841917
2023-07-29T17:10:13
2023-07-30T12:11:13
239,622,251
2
0
MIT
2023-07-25T14:19:04
2020-02-10T21:59:47
Python
UTF-8
Python
false
false
259
py
from output.models.nist_data.atomic.byte.schema_instance.nistschema_sv_iv_atomic_byte_max_exclusive_5_xsd.nistschema_sv_iv_atomic_byte_max_exclusive_5 import NistschemaSvIvAtomicByteMaxExclusive5 obj = NistschemaSvIvAtomicByteMaxExclusive5( value=-73 )
[ "tsoulloftas@gmail.com" ]
tsoulloftas@gmail.com
90a26d93ea05d64db95e9ed53c7fe2fcd4b30d8a
56591823019e0ac1d857f97a1b8c85e9d85a8385
/Scopuli/Interfaces/WEB/Jinja/Filters.py
d2702eaf522afa636d5c239edcaee4604161951d
[ "Apache-2.0" ]
permissive
MaxOnNet/scopuli-core-web
3c19e312ec5688034295ac86a7a56fe2b2cf7915
66a2c31b36d7fc05be36ba5d5b141644459b4aba
refs/heads/master
2020-03-23T19:49:56.383093
2018-08-30T13:44:31
2018-08-30T13:44:31
142,004,596
0
0
null
null
null
null
UTF-8
Python
false
false
1,911
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright [2018] Tatarnikov Viktor [viktor@tatarnikov.org] # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licen...
[ "viktor@tatarnikov.org" ]
viktor@tatarnikov.org
a3d679949562466f4ce55d64546316cf11b470e1
1b5404b8099de74d4e39e0a41b1d04c61defa8d4
/Лабиринт/dump/labyrinth_find_solution.py
6284287ae0344286006f098090bcd1a1b2c5c773
[]
no_license
ipeterov/random-stuff
5d07bdcfdcb145d06ed89095f2ad34b70ff0f0bd
dbb38d42331f636919fd149b23783e02ee2c9afb
refs/heads/master
2023-05-14T00:41:51.122251
2023-05-04T12:10:26
2023-05-04T12:10:26
206,028,412
0
0
null
null
null
null
UTF-8
Python
false
false
2,776
py
import pickle def refactored_labyrinth(labyrinth): # 0 - верх, 1 право, 2 - лево, 3 - низ refactored_labyrinth = [] for y in range(len(labyrinth)): refactored_labyrinth.append([]) for x in range(len(labyrinth[0])): refactored_labyrinth[y].append([0,0,0,0]) for y in range(len...
[ "ipeterov1@gmail.com" ]
ipeterov1@gmail.com
73db1141a062dab86543dba3571ab8faea784fdc
4a5562bf8a7967c9c5d76265d89c366165bff9f8
/template_python/setup.py
a4bf90beaf8b2625aaf3603393c5c536b60eec9a
[]
no_license
lokendert/me132_students
640f935bd6e5c5d65329a161731afad4068a72e0
8e1075c4b61bef5c8f4d322cb168e2f942e1fad6
refs/heads/master
2020-03-31T03:40:46.680398
2011-02-04T20:13:29
2011-02-04T20:13:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
520
py
from setuptools import setup, find_packages setup( name='me132_template', author="The ME132 TAs", author_email="me132-tas@caltech.edu", url='www.its.caltech.edu/~me132', description="A minimal Player client", version="0.1", package_dir={'':'src'}, packages=find_packages(), ...
[ "andrea@cds.caltech.edu" ]
andrea@cds.caltech.edu
bf3f86be25ab7a8ffe01b3fea5ec5bc1ae6b5c2b
a4a63eedacd544872fbfa33fc58d7cf1558829b7
/backend/event/api/v1/urls.py
046246934dbd8d54f00c2d7d0a6bb4781e87498b
[]
no_license
crowdbotics-apps/revil-18107
3d9bd52855e33debaa60f4f5c801629fb1aa60da
2671f3410b43cd8ed2ccc51780a80366fb594684
refs/heads/master
2022-10-17T09:34:39.097853
2020-06-15T00:05:02
2020-06-15T00:05:02
272,301,823
0
0
null
null
null
null
UTF-8
Python
false
false
854
py
from django.urls import path, include from rest_framework.routers import DefaultRouter from .viewsets import ( VendorViewSet, LocationViewSet, FavoritesViewSet, VendorDetailViewSet, CategoryViewSet, FaqViewSet, PresenterViewSet, ScheduleViewSet, MyScheduleViewSet, SponsorViewSet,...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
5896418942efd005a46d1c7d2e74df68364411c9
9ede3bec6dc9cd58f91ba3ee2b3f4b7eb3b6c889
/lintreview/repo.py
aa745a9b199595da98ab54ef33439fa29c5edb40
[ "MIT" ]
permissive
LyleH/lint_review_1
d0816e68ee74c507357471b1183348b2c8d59af2
a36945446745a9e8d8c1f1955e084add6563647b
refs/heads/master
2021-01-19T11:43:42.780988
2016-09-22T05:28:23
2016-09-22T05:28:23
68,887,536
1
0
null
null
null
null
UTF-8
Python
false
false
3,101
py
import lintreview.github as github import lintreview.git as git import logging log = logging.getLogger(__name__) class GithubRepository(object): """Abstracting wrapper for the various interactions we have with github. This will make swapping in other hosting systems a tiny bit easier in the future. ...
[ "lyle.henkeman01@gmail.com" ]
lyle.henkeman01@gmail.com
2ad8fb86568b9db89c98af5b07780a905127da55
0675dad295526480242c9da48310a1c958423e72
/dmrg_j2j2/build_lattice.py
0d410148abf8f05a76145d0c57c8cbc956ac5397
[]
no_license
GiggleLiu/numeric_master
627e054ab7404b1bbf8b8eec65f05346b35640a3
47b9eaf1eeaceacf5ff43f2226620e5c37064095
refs/heads/master
2021-08-24T11:31:37.107583
2017-11-21T06:26:38
2017-11-21T06:26:38
111,409,702
0
0
null
null
null
null
UTF-8
Python
false
false
1,766
py
#!/usr/bin/env python test_str = ''' <LATTICES> <GRAPH name = "heisenberg" dimension="1" vertices="6" edges="5"> <VERTEX id="1" type="0"><COORDINATE>0</COORDINATE></VERTEX> <VERTEX id="2" type="1"><COORDINATE>2</COORDINATE></VERTEX> <VERTEX id="3" type="1"><COORDINATE>3</COORDINATE></VERTEX> <VERTEX id="4" typ...
[ "cacate0129@gmail.com" ]
cacate0129@gmail.com
0a594efa5004b79150ace703b60d768090d1e120
1dacbf90eeb384455ab84a8cf63d16e2c9680a90
/lib/python2.7/site-packages/odps/tunnel/checksum.py
8e8fc3c8d359101a5792eac47318794d0db3a82b
[ "Python-2.0", "Apache-2.0", "BSD-3-Clause", "LicenseRef-scancode-unknown" ]
permissive
wangyum/Anaconda
ac7229b21815dd92b0bd1c8b7ec4e85c013b8994
2c9002f16bb5c265e0d14f4a2314c86eeaa35cb6
refs/heads/master
2022-10-21T15:14:23.464126
2022-10-05T12:10:31
2022-10-05T12:10:31
76,526,728
11
10
Apache-2.0
2022-10-05T12:10:32
2016-12-15T05:26:12
Python
UTF-8
Python
false
false
1,918
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright 1999-2017 Alibaba Group Holding Ltd. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENS...
[ "noreply@github.com" ]
wangyum.noreply@github.com
faf3c8dfa5ff66ccb5061a5361f46ea8660794fb
6eb56f2e3f14f2373be07fe95b1c6fedf1e2d49f
/alien_invasion/settings.py
88e78bcdae2ac7d01be37c4e59510f618f2782a2
[ "Apache-2.0" ]
permissive
chaofan-zheng/python_leanring_code
fe22b0370cadebf7456477269aff4a35cef0eb41
0af44ff39b9ded2c1d2cc96c6d356d21170ac04d
refs/heads/main
2023-02-28T07:56:46.457552
2021-02-10T15:08:33
2021-02-10T15:08:33
323,584,115
4
0
null
null
null
null
UTF-8
Python
false
false
553
py
"""存储雷霆战机的所有类""" class Settings(): def __init__(self): self.screen_width = 1200 self.screen_height = 800 self.bg_color = (0, 0, 0) self.speed_factor = 1.5 self.bullet_speed_factor = 5 self.bullet_width = 5 self.bullet_height = 15 self.bullet_color = ...
[ "417355570@qq.com" ]
417355570@qq.com
fef6b5cbd6467df66736475fcd841be9bc0cc929
84c4514c0d9588026f1f203c2d351df226170f75
/python/itertools/permutations.py
bfacc64c73bf1bbc3b0ce55bba4154f974d6fe6c
[]
no_license
hiromichinomata/hackerrank
eafc1a902353f6bdac508f67cfa7eebdbfb2811f
bffca0f56c92b752706b5a9fb4c814f44ea5d14e
refs/heads/master
2022-12-01T15:39:25.811250
2020-08-08T01:44:10
2020-08-08T01:44:10
264,445,214
1
0
null
null
null
null
UTF-8
Python
false
false
151
py
from itertools import permutations s, num = input().strip().split() s = sorted(s) num = int(num) for i in permutations(s, num): print("".join(i))
[ "git@hiromichinomata.com" ]
git@hiromichinomata.com
16db4fc999d70029f8e94677713d54ff4f1cca36
f4335e8e7d3010506f570167bbba18156d3a4674
/stubs/django/core/management/commands/diffsettings.pyi
1bf6f90fade7e0b8e54afff184eba3267ee5ee24
[]
no_license
rtpg/typehangar
133686ea45ad6187b768290aeebda9cbcae25586
790d057497c4791a38f9e3e009b07935b4a12f45
refs/heads/master
2021-01-19T04:49:17.940793
2017-01-16T13:54:14
2017-01-16T13:54:14
69,260,488
0
0
null
null
null
null
UTF-8
Python
false
false
461
pyi
# Stubs for django.core.management.commands.diffsettings (Python 3.5) # # NOTE: This dynamically typed stub was automatically generated by stubgen. from typing import Any from django.core.management.base import BaseCommand def module_to_dict(module, omittable: Any = ...): ... class Command(BaseCommand): help = ....
[ "raphael@rtpg.co" ]
raphael@rtpg.co
e468552fe67dcb111020cfc2ebd9623c74e0c240
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03720/s960059730.py
c3987b6c50c512aecd596e019b24702590445f5d
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
1,311
py
import sys, re from math import ceil, floor, sqrt, pi, factorial, gcd from copy import deepcopy from collections import Counter, deque from heapq import heapify, heappop, heappush from itertools import accumulate, product, combinations, combinations_with_replacement from bisect import bisect, bisect_left, bisect_right ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
cc23354f1ac1be52b795119e99c44df6f9b9a574
0b793bce2da8c3d09b7956c0672ddbffd46feaed
/hackerrank/algorithm/lonly_integer.py
49cc044edcb98b61afa115495f50c34b58c36815
[ "MIT" ]
permissive
knuu/competitive-programming
c6c4e08fb231937d988bdc5a60a8ad6b31b97616
16bc68fdaedd6f96ae24310d697585ca8836ab6e
refs/heads/master
2021-01-17T09:39:02.647688
2020-11-07T03:17:22
2020-11-07T03:17:22
27,886,732
1
0
null
null
null
null
UTF-8
Python
false
false
135
py
from collections import Counter _ = int(input()) for key, val in Counter(input().split()).items(): if val == 1: print(key)
[ "premier3next@gmail.com" ]
premier3next@gmail.com
e8f56efacae6ebed48b265ae2ae07847dcfaeb1d
9b87fc7054bedaef1bbfe2842bfca12d5585119b
/nicegui/elements/custom_example.py
ab8af2bcd42916f997d1d55803d71709488c011e
[ "MIT" ]
permissive
TrendingTechnology/nicegui
cb08287c9b0cab7ae1a831ee623a056d8ecdee43
68fa24456497683417d2e613ec573673deacd7f7
refs/heads/main
2023-06-20T06:11:52.914008
2021-07-22T05:09:40
2021-07-22T05:09:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
785
py
from .custom_view import CustomView from .element import Element class CustomExampleView(CustomView): def __init__(self, on_change): super().__init__('custom_example', __file__, value=0) self.on_change = on_change self.allowed_events = ['onAdd'] self.initialize(temp=False, onAdd=...
[ "falko@zauberzeug.com" ]
falko@zauberzeug.com
25e4a10195a5b94ecb830ef0b1d184c9feda747f
58ffe83eb9828668c13242c6f98238f08655f561
/app/notebooks/problang/transcript_utils.py
cdb2f5a88761411c4cf30c48af9b83fd05e1dcf8
[ "Apache-2.0" ]
permissive
DanFu09/esper
f9dcc47cd5677dee8dffb1e066d69332471a0d6c
ccc5547de3637728b8aaab059b6781baebc269ec
refs/heads/master
2020-04-04T21:31:43.549572
2020-01-16T01:14:13
2020-01-16T01:14:13
156,289,533
4
0
Apache-2.0
2018-12-14T03:01:02
2018-11-05T22:05:07
Jupyter Notebook
UTF-8
Python
false
false
7,054
py
import numpy as np import torch from torch.utils.data import Dataset import requests from query.models import Video from timeit import default_timer as now from esper.prelude import pcache import random SEGMENT_SIZE = 200 SEGMENT_STRIDE = 100 def video_list(): r = requests.get('http://localhost:8111/videos') ...
[ "wcrichto@cs.stanford.edu" ]
wcrichto@cs.stanford.edu
6310996c29f82720e743d2c1c5d7c036e79d4a73
d93c91e904470b46e04a4eadb8c459f9c245bb5a
/banglore_scrape/proptiger/proptiger/spiders/proptigerresale.py
47b05e9f213ad8c5615011068e0591a29f338475
[]
no_license
nbourses/scrappers
3de3cd8a5408349b0ac683846b9b7276156fb08a
cde168a914f83cd491dffe85ea24aa48f5840a08
refs/heads/master
2021-03-30T15:38:29.096213
2020-03-25T03:23:56
2020-03-25T03:23:56
63,677,541
0
1
null
null
null
null
UTF-8
Python
false
false
7,099
py
import scrapy from proptiger.items import ProptigerItem from scrapy.spiders import Spider from scrapy.spiders import CrawlSpider, Rule from scrapy.linkextractors import LinkExtractor from scrapy.selector import Selector from scrapy.selector import HtmlXPathSelector from scrapy.http import Request import json from scrap...
[ "karanchudasama1@gmail.com" ]
karanchudasama1@gmail.com
8d12ea6102055c34798e687b5a6532f7642b276f
1311696a180047135c825ffa283f9ac9750d4236
/tests/data/stubs-ok/micropython-linux-1_12/websocket.py
84603dedea90d09964895308d20f7dfc0ad0c2bf
[ "MIT" ]
permissive
Josverl/micropython-stubber
71103afa842da02d5ad074b541d9bff7243ce23f
68fe9113f4b4e611bb4c3d19f79c8ba0e7111f5e
refs/heads/main
2023-08-31T00:51:22.200348
2023-05-31T07:48:54
2023-05-31T07:48:54
177,823,007
135
8
NOASSERTION
2023-09-11T21:25:19
2019-03-26T16:00:53
Python
UTF-8
Python
false
false
546
py
""" Module: 'websocket' on micropython-linux-1.12 """ # MCU: {'ver': '1.12', 'port': 'linux', 'arch': 'x64', 'sysname': 'unknown', 'release': '1.12.0', 'name': 'micropython', 'mpy': 2821, 'version': '1.12.0', 'machine': 'unknown', 'build': '', 'nodename': 'unknown', 'platform': 'linux', 'family': 'micropython'} # Stubb...
[ "josverl@microsoft.com" ]
josverl@microsoft.com
91fe8bdac939808480646276789f56bc2fd0c450
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_227/ch149_2020_04_13_20_21_26_194548.py
50b04d13c34b8c1459a9db8abfd23816a3214e2e
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
926
py
salario_bruto=float(input("Qual o seu salário bruto? ")) numero_dependentes=int(input("Qual o seu número de dependentes? ")) if salario_bruto<=1.045: INSS=salario_bruto*0.075 elif salario_bruto>=1045.01 and salario_bruto<=2089.60: INSS=salario_bruto*0.09 elif salario_bruto>=2089.61 and salario_bruto<=3134.40: ...
[ "you@example.com" ]
you@example.com
1921637bf67204f6d4521f412444523581176738
afb16c3188bf06af65ae0d998e114c72342bd8be
/note/demo/python_trace/demo2.py
69e2891cccff56b373a8630dfd6f7efb23775614
[]
no_license
onsunsl/onsunsl.github.io
aa75f399f1c647bc2e62314633bfe35187e59ad4
4ed2b1b9a2407afcbffdf304020d42b81c4c8cdc
refs/heads/master
2023-05-26T12:33:11.167270
2023-04-01T10:18:05
2023-04-01T10:18:05
237,595,319
1
0
null
2023-05-23T20:13:11
2020-02-01T10:02:58
Python
UTF-8
Python
false
false
490
py
import os from time import sleep import signal import sys from traceback import extract_stack def sigterm_handler(_signo, _stack_frame): # Raises SystemExit(0): f = open("./1.txt", "w") f.write("sigterm_handler") f.close() sys.exit(0) signal.signal(signal.SIGTERM, sigterm_handler) try: prin...
[ "onsunsl@foxmail.com" ]
onsunsl@foxmail.com
e3bcf5984f2cde90d396e03b2e11d82015d67e8c
3cedc7c1519d3b013aad9ec4e6a6ee7834da7589
/python_code/多线程开发/E_多线程使用共享数据.py
65fc69e75f8ee5a199ae857933d77ea27bd7330c
[]
no_license
hzrg/songqin_course
53437100669ee93d2ac5ecae5de938b1a4007d7f
05e422ce34a42fd6d3819722a19252f8005e79ed
refs/heads/master
2022-02-09T13:27:59.871400
2019-06-13T06:08:45
2019-06-13T06:08:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,631
py
# coding=utf8 import threading from time import sleep # 存储支付宝账号余额 zhifubao = { 'jcy' : 2000, 'liming' : 5000, 'wangan' : 15000, 'zhaolei' : 6005000, } # 线程1 : 滴滴打车处理,参数是用户账户和扣款金额 def thread1_didi_pay(account,amount): print('* t1: get balance from bank') balance = zhifubao[...
[ "1174497735@qq.com" ]
1174497735@qq.com
4d2a3ab4f356b1581b21a231111a088874cc611e
afd2087e80478010d9df66e78280f75e1ff17d45
/torch/onnx/_internal/diagnostics/infra/sarif/_suppression.py
c1dcb014809d994a4777917e5e1764388b48dff5
[ "BSD-3-Clause", "BSD-2-Clause", "LicenseRef-scancode-secret-labs-2011", "LicenseRef-scancode-generic-cla", "BSL-1.0", "Apache-2.0" ]
permissive
pytorch/pytorch
7521ac50c47d18b916ae47a6592c4646c2cb69b5
a6f7dd4707ac116c0f5fb5f44f42429f38d23ab4
refs/heads/main
2023-08-03T05:05:02.822937
2023-08-03T00:40:33
2023-08-03T04:14:52
65,600,975
77,092
24,610
NOASSERTION
2023-09-14T21:58:39
2016-08-13T05:26:41
Python
UTF-8
Python
false
false
1,249
py
# DO NOT EDIT! This file was generated by jschema_to_python version 0.0.1.dev29, # with extension for dataclasses and type annotation. from __future__ import annotations import dataclasses from typing import Literal, Optional from torch.onnx._internal.diagnostics.infra.sarif import _location, _property_bag @datacl...
[ "pytorchmergebot@users.noreply.github.com" ]
pytorchmergebot@users.noreply.github.com
7691802558073b399b3e21487c2b7faf90c162dc
b250b3f74b30ad29f65acab3040433473a259cc1
/src/_23a.py
cdd79900dd2c709eacf9c37588896d815d22132b
[]
no_license
Abarn279/advent-of-code-2015
0cc6ce58ba443335fd9dcd451e327cec01fd3e96
8fbf0b2bc576556d5351d64b93c972a6f6ec8020
refs/heads/master
2021-06-28T09:11:28.905618
2020-11-30T22:02:10
2020-11-30T22:02:10
75,760,645
0
0
null
null
null
null
UTF-8
Python
false
false
1,140
py
reg = {'a':1, 'b':0} prog = '''jio a, +19 inc a tpl a inc a tpl a inc a tpl a tpl a inc a inc a tpl a tpl a inc a inc a tpl a inc a inc a tpl a jmp +23 tpl a tpl a inc a inc a tpl a inc a inc a tpl a inc a tpl a inc a tpl a inc a tpl a inc a inc a tpl a inc a inc a tpl a tpl a inc a jio a, +8 inc b jie a, +4 tpl a inc...
[ "Abarn279@gmail.com" ]
Abarn279@gmail.com
9491cccb3a1203f18678ca88d25a374d6c280612
a06fd6b7b4e5fc2b1b5a46b4edd20a11f717a5ea
/netbox/extras/filters.py
d0a801b481f55cfc6f08e7f6c154b2c803fd170f
[ "Apache-2.0" ]
permissive
feiynagly/netbox
d9be722eaa5021cf39e82c19c3e4562dedd94254
d364bbbaa6ee4f2a19015d07dd0de855628befb4
refs/heads/master
2022-12-04T04:41:29.052349
2021-05-11T07:13:56
2021-05-11T07:13:56
173,664,986
1
1
Apache-2.0
2022-11-22T03:12:55
2019-03-04T03:10:07
Python
UTF-8
Python
false
false
7,182
py
import django_filters from django.contrib.contenttypes.models import ContentType from django.db.models import Q from taggit.models import Tag from dcim.models import DeviceRole, Platform, Region, Site from tenancy.models import Tenant, TenantGroup from .constants import CF_FILTER_DISABLED, CF_FILTER_EXACT, CF_TYPE_BOO...
[ "944867649@qq.com" ]
944867649@qq.com
b89827e7bd2186efac21f3de64db0f0df6ff1c32
c2296f56df3b934f824be07338e14bccf7c0e34f
/url_classification/data/movie_reviews/__init__.py
b3a85173320bf97854087bfab6ecbd94c0f6812c
[]
no_license
jayceyxc/MachineLearning
b190c141be714f4ef7d8b79fab1d0cddc6b7cfcb
793179dab920725866c4fac4d2bae8e1a570d122
refs/heads/master
2022-04-16T21:39:05.652266
2020-04-14T07:51:04
2020-04-14T07:51:04
140,239,558
0
0
null
null
null
null
UTF-8
Python
false
false
203
py
#!/usr/bin/env python # encoding: utf-8 """ @version: 1.0 @author: ‘yuxuecheng‘ @contact: yuxuecheng@baicdata.com @software: PyCharm Community Edition @file: __init__.py.py @time: 2017/8/7 12:18 """
[ "xinluomed_yuxuecheng@git.cloud.tencent.com" ]
xinluomed_yuxuecheng@git.cloud.tencent.com
4d352594e3d2b3e79f5ea48063fc2959abef8c5b
3c31584c1b661195a567ffd2603d30cb2e270493
/codeforces/864/D.py
86f83b4c6f59f1a9df0e1846a628d8b628115a0c
[]
no_license
ku-nal/Codeforces
c7f621e35b5d4eea1ed11276ee8e91031252ca91
df43c2fcbcfd1c9f96b6fe79c7abc9ddee054cb7
refs/heads/main
2023-04-10T19:00:40.559074
2021-04-27T15:15:51
2021-04-27T15:15:51
362,154,763
4
0
null
null
null
null
UTF-8
Python
false
false
2,877
py
#===========Template=============== from io import BytesIO, IOBase import sys,os inpl=lambda:list(map(int,input().split())) inpm=lambda:map(int,input().split()) inpi=lambda:int(input()) inp=lambda:input() rev,ra,l=reversed,range,len P=print BUFSIZE = 8192 class FastIO(IOBase): newlines = 0 def __init__(self, f...
[ "kunalmakwana18@gnu.ac.in" ]
kunalmakwana18@gnu.ac.in
24e479bc14d88a4d856866a9475952562dcc6177
da7a165522daea7c346693c5f32850017c482967
/abc51-100/abc051/c.py
ad218ed2b388081ae9705ec0c52f82e5979ea0be
[]
no_license
SShayashi/ABC
19f8750919208c5ff8935638dbaab941c255f914
3cbfee0c5251c1bb0df6306166d8d4b33bf7bb2c
refs/heads/master
2021-05-04T21:06:10.720367
2020-07-11T13:59:16
2020-07-11T13:59:29
119,886,572
2
0
null
null
null
null
UTF-8
Python
false
false
455
py
def m(): sx, sy, tx, ty = map(int, input().split()) X = tx-sx Y = ty-sy ans = "" # 一周 ans += "U" * Y ans += "R" * X ans += "D" * Y ans += "L" * X # 左に一つずらして目的地まで ans += "L" ans += "U" * (Y+1) ans += "R" * (X+1) ans += "D" # 右にずれて開始地点まで ans += "R" an...
[ "sshayashi0208@gmail.com" ]
sshayashi0208@gmail.com
cb46e9e19fae34da7ec6451e0dfeb1b3222bff77
4c34dca6c12dd36e9e8eb360a2cbbb3f39a50e20
/scratchpad/scratch.py
4698f26325561e0b97de44eeba25d723830a5498
[ "BSD-3-Clause" ]
permissive
PlumpMath/m2py
a35e0265d9e3c46214c9560b46a9e59df63c9a9b
4a8f754f04adb151b1967fe13b8f80b4ec169560
refs/heads/master
2021-01-18T20:16:37.973122
2015-01-30T11:29:15
2015-01-30T11:29:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
917
py
#!/usr/bin/env python # -*- coding: utf-8 -*- txt = """ >>> t = [1, 2, 3, 4, 5] >>> map(lambda x: x**2, t) [1, 4, 9, 16, 25] >>> t [1, 2, 3, 4, 5] >>> zip(t, map(lambda x: x**2, t)) [(1, 1), (2, 4), (3, 9), (4, 16), (5, 25)] >>> """ def paste_run(): global txt import re from .utils import xclip #tx...
[ "caiorss.rodrigues@gmail.com" ]
caiorss.rodrigues@gmail.com
501d97a1367b23e6209650cac4c62ceab7531ec4
ee1eed00f04fe4050a9b7d9761a76af37842b8b1
/dynamicportofolio/migrations/0001_initial.py
9c57f02e620c776d880992704da0cded5c914ad2
[]
no_license
dimansion/dango
707b738d1df735a1019e44a53b095d9af4e2a44a
4239531849cef3f6c00ff3ba1e38c768a8648e0f
refs/heads/master
2020-12-24T08:30:31.614872
2016-09-07T13:45:33
2016-09-07T13:45:33
36,284,822
0
0
null
null
null
null
UTF-8
Python
false
false
733
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations import django.utils.timezone class Migration(migrations.Migration): dependencies = [ ] operations = [ migrations.CreateModel( name='Post', fields=[ ('...
[ "dimansional@gmail.com" ]
dimansional@gmail.com
2e6d529fae8f08a9ea454cbd51d7dad90e159848
2611f7e793c52d7bc60be2772cf66b3704c05876
/14B-088/HI/analysis/rotation_curves/rotsub_channels_movie.py
dd2ef9206c76b7ce8fe348324c48c81dbc5dd5fa
[ "MIT" ]
permissive
e-koch/VLA_Lband
15e89878f554a70f0bc2a19cb7c5cb1b825f3ced
8fca7b2de0b88ce5c5011b34bf3936c69338d0b0
refs/heads/master
2022-11-29T01:43:22.069806
2020-12-21T19:48:22
2020-12-21T19:48:22
42,543,618
2
2
MIT
2022-11-25T15:38:46
2015-09-15T20:06:58
Python
UTF-8
Python
false
false
2,386
py
import numpy as np import matplotlib.pyplot as p from spectral_cube import SpectralCube from spectral_cube.cube_utils import average_beams from astropy.utils.console import ProgressBar from astropy import units as u from astropy.visualization import AsinhStretch from astropy.visualization.mpl_normalize import ImageNorm...
[ "koch.eric.w@gmail.com" ]
koch.eric.w@gmail.com
5623d1d86e28812e453b1b0d2b6bad08204a8e8a
df2cbe914f463ad050d7ed26194424afbe3a0a52
/addons/web_editor/models/test_models.py
282b703c03d208e9b44cd2a107f060d5c20fe103
[ "Apache-2.0" ]
permissive
SHIVJITH/Odoo_Machine_Test
019ed339e995be980606a2d87a63312ddc18e706
310497a9872db7844b521e6dab5f7a9f61d365a4
refs/heads/main
2023-07-16T16:23:14.300656
2021-08-29T11:48:36
2021-08-29T11:48:36
401,010,175
0
0
Apache-2.0
2021-08-29T10:13:58
2021-08-29T10:13:58
null
UTF-8
Python
false
false
1,266
py
# -*- coding: utf-8 -*- # Part of Odoo. See LICENSE file for full copyright and licensing details. from odoo import models, fields class ConverterTest(models.Model): _name = 'web_editor.converter.test' _description = 'Web Editor Converter Test' # disable translation export for those brilliant field labe...
[ "36736117+SHIVJITH@users.noreply.github.com" ]
36736117+SHIVJITH@users.noreply.github.com
9bfefdedb6210274b7005f49c69bd92d3e256979
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/96/usersdata/215/54936/submittedfiles/estatistica.py
2396e9941096556e8218859d3628ab019b398ed1
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
760
py
# -*- coding: utf-8 -*- n=int(input('digite n:')) a=[] b=[] somaA=0 difquadA=0 sdqA=0 somaB=0 difquadB=0 sdqB=0 for z in range(1 ,n+1 ,1): valorA=float(input('valor listaA:')) a.append(valorA) for i in range (0,len(a),1): somaA=somaA=a[i] mediaA=somaA/len(a) for j in range (0 , len(a), 1): difquadA=(a[j...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
48d258b6d821fc4ab55853b8287503e12dcf9ba2
585bac463cb1919ac697391ff130bbced73d6307
/105_ConstructBinaryTreeFromPreorderAndInorderTraversal/solution_1.py
729fb58003e0825a66c681dcd89d745020540bf4
[]
no_license
llgeek/leetcode
ce236cf3d3e3084933a7a4a5e8c7766f7f407285
4d340a45fb2e9459d47cbe179ebfa7a82e5f1b8c
refs/heads/master
2021-01-22T23:44:13.318127
2020-03-11T00:59:05
2020-03-11T00:59:05
85,667,214
1
0
null
null
null
null
UTF-8
Python
false
false
740
py
# Definition for a binary tree node. # class TreeNode: # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution: def buildTree(self, preorder: List[int], inorder: List[int]) -> TreeNode: self.preidx = 0 def helper(sidx, eidx): ...
[ "angleflycll@gmail.com" ]
angleflycll@gmail.com
5e4f0f125a0d414df5abb90f65a10363540cd67a
d204538b66b477fea7289c6ca9801919f6fbd09e
/demo/start_demo.py
9fbf7bd3389d6acb37fb7a02802831d838bc6f38
[ "Apache-2.0" ]
permissive
TrendingTechnology/openchat
efb8194f38bc809ffca165d65ae13c1f10771b84
cee89e3acff33ef598bf3dfe6d2e13a418a9a0aa
refs/heads/main
2023-03-26T03:33:52.876583
2021-03-04T05:17:28
2021-03-04T05:17:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
132
py
from openchat import OpenChat from demo.web_demo_env import WebDemoEnv OpenChat(model="blenderbot", size="large", env=WebDemoEnv())
[ "gusdnd852@naver.com" ]
gusdnd852@naver.com
e70b9829664b9c6f71b685b5dd938706773b2eac
91add811783a4f19c7474e92ee87b91d9035a9ae
/segmentation_pytorch/models/unet/layers.py
eca45cbd03bdfc02b7e567b8042babd3c2a61240
[]
no_license
NIRVANALAN/PyTorch_UNOdeMSegNet
fb0f0f992444dd7b41102b3896e9f2866873fee4
49b577cef650a4bcb3d5c4879bef2d97982e5f4c
refs/heads/master
2022-12-22T15:14:22.929861
2020-03-21T05:22:40
2020-03-21T05:22:40
201,301,445
3
3
null
2022-12-08T03:14:09
2019-08-08T16:58:08
Jupyter Notebook
UTF-8
Python
false
false
2,206
py
import torch import torch.nn as nn from .utils import init_weights class unetConv2(nn.Module): def __init__(self, in_size, out_size, is_batchnorm, n=2, ks=3, stride=1, padding=1): super(unetConv2, self).__init__() self.n = n self.ks = ks self.stride = stride self.padding = ...
[ "maverickers@outlook.com" ]
maverickers@outlook.com
e6cd00e49f7d1ca2bed65faf4373545c7d8492ce
8698757521458c2061494258886e5d3cdfa6ff11
/argo/core/network/Bernoulli.py
c79dc46905b9ebaf1716bb2d64646f650601ff94
[ "MIT" ]
permissive
ricvo/argo
546c91e84d618c4bc1bb79a6bc7cba01dca56d57
a10c33346803239db8a64c104db7f22ec4e05bef
refs/heads/master
2023-02-25T01:45:26.412280
2020-07-05T22:55:35
2020-07-05T22:55:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,097
py
import tensorflow as tf import sonnet as snt import numpy as np from operator import xor import types import pdb from abc import ABC, abstractmethod from tensorflow_probability import distributions as tfd from .AbstractModule import AbstractModule class Bernoulli(AbstractModule): def __init__(self, out...
[ "volpi@rist.ro" ]
volpi@rist.ro
02c3a4438f148ad6f4507b2fe5038d1f2d498bd3
144b18db9f190daf499df56f555cfc064bfa42f3
/pysoa/test/plan/grammar/directives/time.py
60158f54599153c7b636798e6b2e839efb164050
[ "Apache-2.0", "BSD-3-Clause" ]
permissive
cache51/pysoa
3eff93d9db7cc125ae016f29d294c5263fdfa692
fd37d64dfefff01ff0f7f48e225e0d672b36b5db
refs/heads/master
2020-03-15T14:25:56.935337
2018-05-04T14:56:04
2018-05-04T14:56:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,955
py
""" Directives for freezing time during test execution """ from __future__ import absolute_import, unicode_literals import datetime from pyparsing import Literal from pysoa.test.plan.errors import FixtureSyntaxError from pysoa.test.plan.grammar.directive import ( Directive, ActionDirective, register_dire...
[ "nwilliams@eventbrite.com" ]
nwilliams@eventbrite.com
8e468456067fa4b93a3f6a54a9cf2fc969db6b19
1e1f7d3687b71e69efa958d5bbda2573178f2acd
/payroll/doctype/attendance/attendance.py
664a3cb0a3cc17293706a9f4e4f0e4d3d86d2577
[]
no_license
ravidey/erpnext
680a31e2a6b957fd3f3ddc5fd6b383d8ea50f515
bb4b9bfa1551226a1d58fcef0cfe8150c423f49d
refs/heads/master
2021-01-17T22:07:36.049581
2011-06-10T07:32:01
2011-06-10T07:32:01
1,869,316
1
0
null
null
null
null
UTF-8
Python
false
false
6,537
py
# Please edit this list and import only required elements import webnotes from webnotes.utils import add_days, add_months, add_years, cint, cstr, date_diff, default_fields, flt, fmt_money, formatdate, generate_hash, getTraceback, get_defaults, get_first_day, get_last_day, getdate, has_common, month_name, now, nowdate,...
[ "pdvyas@erpnext.com" ]
pdvyas@erpnext.com
fd24b3900bc159123582a764faa95efbf5f54eef
99aa9b2be5199bf1b2f670bc9bb1a5bc7cec1c89
/OA/MS/Numbers With Equal Digit Sum.py
510e263aff6f09a6c2e3936c708e1801d3888015
[]
no_license
SimonFans/LeetCode
5196e85dec886b18cb2350419a4a2ae3c751966c
0a34a19bb0979d58b511822782098f62cd86b25e
refs/heads/master
2023-02-08T00:49:30.916655
2023-01-31T06:32:32
2023-01-31T06:32:32
145,938,196
1
0
null
null
null
null
UTF-8
Python
false
false
442
py
def find_digit_sum(num): val = 0 while num: val += num % 10 num //= 10 return val def num_digit_equal_sum(arr): digit_sum_map = {} max_val = -1 for num in arr: digit_sum = find_digit_sum(num) if digit_sum in digit_sum_map: other_val = digit_sum_map[digit_sum] max_val = max(max_val, other_v...
[ "noreply@github.com" ]
SimonFans.noreply@github.com
0fb3c1a5ddf254ca4d04fb76e8f9943dfbef7bf9
738e2f18c6ca259fe3a6b0d4d70efd32d83a8758
/generate_bind_conf
b4eb80756ab0933abf30e137d32e4a0ab38762c8
[]
no_license
nicferrier/secondarys
9f1e5a1abb616b1a8346be785de33f5667f44762
1d5998750686ec27ac2cfbe7542c60e3a6c33ad6
refs/heads/master
2016-09-05T19:13:51.949494
2012-06-17T21:42:15
2012-06-17T21:42:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
270
#!/usr/bin/env python import csv import sys for entry in csv.reader(sys.stdin.readlines()): print "zone \"%s\" {" % entry[0] print "\ttype slave;" print "\tfile \"/var/cache/bind/db.%s\";" % entry[0] print "\tmasters { %s; };" % entry[1] print "};"
[ "julien@danjou.info" ]
julien@danjou.info
0cbd5474b71672cb168a892ee1b300395a042c70
36957a9ce540846d08f151b6a2c2d582cff1df47
/VR/Python/Python36/Lib/turtledemo/lindenmayer.py
5f29811cc858c0d44403b5343333afd966e76012
[]
no_license
aqp1234/gitVR
60fc952307ef413e396d31e0d136faffe087ed2b
e70bd82c451943c2966b8ad1bee620a0ee1080d2
refs/heads/master
2022-12-29T15:30:12.540947
2020-10-07T15:26:32
2020-10-07T15:26:32
290,163,043
0
1
null
2020-08-25T09:15:40
2020-08-25T08:47:36
C#
UTF-8
Python
false
false
129
py
version https://git-lfs.github.com/spec/v1 oid sha256:af4e1ba8102f30f049caf1c4657df7ee1a0b79dd016ca78698a1cfe4067a7df7 size 2553
[ "aqp1234@naver.com" ]
aqp1234@naver.com
f391e38a5611fd6cdd88cebaaff3a9c04b3d4a5a
e0980f704a573894350e285f66f4cf390837238e
/.history/menus/models_20201030110920.py
d789727b7aff7632494fbbeb3ed03cb146885f45
[]
no_license
rucpata/WagtailWebsite
28008474ec779d12ef43bceb61827168274a8b61
5aa44f51592f49c9a708fc5515ad877c6a29dfd9
refs/heads/main
2023-02-09T15:30:02.133415
2021-01-05T14:55:45
2021-01-05T14:55:45
303,961,094
0
0
null
null
null
null
UTF-8
Python
false
false
240
py
from django.db import models from modelcluster.models import ClusterableModel # Create your models here. class Menu(ClusterableModel): title = models.CharField(max_length=100) slug = AutoSlugField( populate_fro )
[ "rucinska.patrycja@gmail.com" ]
rucinska.patrycja@gmail.com
c23d8ce5ad9ad476b4bb2bf58e618efab78a3471
ed454f31cf5a3d2605f275cc83ec82f34f06bb33
/zerver/views/pointer.py
7f015f01e2b6d0e5aac11ed4a96adc385d4a39ff
[ "Apache-2.0", "LicenseRef-scancode-free-unknown" ]
permissive
18-2-SKKU-OSS/2018-2-OSS-L5
b62a3ce53eff63ed09395dc1f8296fef089d90e2
190bc3afbf973d5917e82ad9785d01b2ea1773f2
refs/heads/master
2020-04-08T11:44:14.468373
2018-12-11T04:35:30
2018-12-11T04:35:30
159,317,980
3
4
Apache-2.0
2018-12-09T14:14:21
2018-11-27T10:30:18
Python
UTF-8
Python
false
false
1,186
py
from django.http import HttpRequest, HttpResponse from django.utils.translation import ugettext as _ from zerver.decorator import to_non_negative_int from zerver.lib.actions import do_update_pointer from zerver.lib.request import has_request_variables, JsonableError, REQ from zerver.lib.response import json_success f...
[ "ulla4571@gmali.com" ]
ulla4571@gmali.com
8b5f46f03fd3acf298116d84ec5c3e44a9f3af84
a8750439f200e4efc11715df797489f30e9828c6
/CodeForces/login.py
785f5e468166714bb35241f17932e9b1ce0d062a
[]
no_license
rajlath/rkl_codes
f657174305dc85c3fa07a6fff1c7c31cfe6e2f89
d4bcee3df2f501349feed7a26ef9828573aff873
refs/heads/master
2023-02-21T10:16:35.800612
2021-01-27T11:43:34
2021-01-27T11:43:34
110,989,354
0
0
null
null
null
null
UTF-8
Python
false
false
234
py
a, b = [x for x in input().split()] ans = a[0] i = 1 j = 0 while i < len(a) or j < len(b): if i >= len(a) or b[j] < a[i]: ans += b[j] j += 1 break else: ans += a[i] i += 1 print(ans)
[ "raj.lath@gmail.com" ]
raj.lath@gmail.com
d4f0c626e2bd451c7704118209afe8adf6d93c47
93b88de2ae87c4d7bed4d545fe38c502e84e1ba6
/table/models.py
dee20de09b8933b6cbaa0e3a4cfd8823273031b1
[]
no_license
jod35/empdata-table
b77fb8394f74cb71d50aeb1c2d5183d39f9fd5dd
4bda87eb8f54b4e53c3adc534002f50a7e46c5f8
refs/heads/master
2020-12-20T05:23:17.126355
2020-01-25T05:49:20
2020-01-25T05:49:20
235,975,783
0
0
null
null
null
null
UTF-8
Python
false
false
415
py
from . import db class Employee(db.Model): id=db.Column(db.Integer(),primary_key=True) name=db.Column(db.String(40),nullable=False) age=db.Column(db.Integer(),nullable=False) gender=db.Column(db.String(10),nullable=False) salary=db.Column(db.Integer(),nullable=False) residence=db.Column(db.Str...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
0d6d50fe03634a9956397e0cd037cd9f4ae7634e
607e1b1ec5a41fd5f6cf83e7e20a1372717d2486
/leetcode/62.py
a6d0a7914195cf7602733f2e272dab0afe4cdedd
[]
no_license
histuckyi/algorithm
067e627e1672e858b3143440200262e0e5db495c
fb04bbd8cdb3ead707bb07abbc1688b99f7505a7
refs/heads/master
2023-07-08T05:22:49.049599
2023-06-24T07:00:25
2023-06-24T07:00:25
147,614,786
1
3
null
null
null
null
UTF-8
Python
false
false
1,608
py
""" LeetCode 62. Unique Paths blog : https://daimhada.tistory.com/131 problem : https://leetcode.com/problems/unique-paths/submissions/ """ class Solution: def uniquePaths(self, m: int, n: int) -> int: r = n c = m field = [[0]*c for i in range(r)] rd = [0, 1] cd = [1, 0] ...
[ "histuckyi@gmail.com" ]
histuckyi@gmail.com
88ac7eaa07a6e60ea86b3a2c3c89d5bdf3800eed
7a0f0c2107019c82b693e809c1a9b912bee9d9b1
/app/chap3_2_2/models/mkqueries.py
a6ed847f49085fe78b1ee60cf6cf84fe8ca6cc7b
[]
no_license
petershan1119/Django-Official-Practice
352f17a4c0b03abe81af7471c4823f096868a4b5
a24f626c28bda6024e1b5380f1f8a3c436ba5a0d
refs/heads/master
2021-01-24T01:28:46.044910
2018-02-26T00:32:55
2018-02-26T00:32:55
122,808,687
0
0
null
null
null
null
UTF-8
Python
false
false
2,955
py
from django.db import models __all__ = ( 'Blog', 'Author', 'Entry', ) class Blog(models.Model): name = models.CharField(max_length=100) tagline = models.TextField(blank=True) def __str__(self): return self.name class Author(models.Model): """ ## ManyToMany의 경우 add 이용해서 업데이트 ...
[ "peter.s.han.1119@gmail.com" ]
peter.s.han.1119@gmail.com
c03eaa16a3e0a5b7f3a46d2d94e6d83848e0d6e8
4f972877da14226125440b3da9bdb058764d8a54
/pandasStudy/temp_opt.py
f108619a26d725634c493b10c9b32adf500d1dee
[]
no_license
ZhiYinZhang/study
16c29990cb371e7e278c437aa0abc7c348614063
8c085310b4f65e36f2d84d0acda4ca257b7389af
refs/heads/master
2021-07-09T16:05:02.925343
2020-06-30T07:53:05
2020-06-30T07:53:05
153,767,096
0
1
null
null
null
null
UTF-8
Python
false
false
879
py
#-*- coding: utf-8 -*- # @Time : 2019/3/9 14:37 # @Author : Z # @Email : S # @File : temp_opt.py import pandas as pd import json # df.to_json(,orient="records",force_ascii=False) # path="e:/test/json/shaoshanshi.json" # # df=pd.read_json(path,orient="records",lines=True) # # print(df) # df.to_json("e:/test/j...
[ "2454099127@qq.com" ]
2454099127@qq.com
c8b547b5c2825f3a201e760acb128b8fc94edaca
14cc70fa60dfaa441aab34b083cff1bf59574264
/opencivicdata/legislative/models/session.py
397d1f240810a4a6ecba6cda44895ce9e76871cc
[]
permissive
tubaman/python-opencivicdata
85434672bea6b40a417104d9381097df58b8a7b2
010cd72bdd806e76f342195a1f1e20acbed5a431
refs/heads/master
2020-07-26T13:32:22.452022
2019-08-20T05:56:12
2019-08-20T05:56:12
208,660,220
0
0
BSD-3-Clause
2019-09-15T21:33:06
2019-09-15T21:33:06
null
UTF-8
Python
false
false
1,192
py
from __future__ import unicode_literals from django.db import models from django.utils.encoding import python_2_unicode_compatible from opencivicdata.core.models.base import RelatedBase from opencivicdata.core.models import Jurisdiction from ...common import SESSION_CLASSIFICATION_CHOICES @python_2_unicode_compatible...
[ "james.p.turk@gmail.com" ]
james.p.turk@gmail.com
4f086d0abd4fee89dc9252a3a4212d6653a80f19
2dc17d12ff6ea9794177c81aa4f385e4e09a4aa5
/archive/1467. Probability of a Two Boxes Having The Same Number of Distinct Balls.py
5becc6fac00c3d0f19e7da6a06a9d4ace6447378
[]
no_license
doraemon1293/Leetcode
924b19f840085a80a9e8c0092d340b69aba7a764
48ba21799f63225c104f649c3871444a29ab978a
refs/heads/master
2022-10-01T16:20:07.588092
2022-09-08T02:44:56
2022-09-08T02:44:56
122,086,222
0
0
null
null
null
null
UTF-8
Python
false
false
2,261
py
from typing import List from functools import lru_cache class Solution: def getProbability(self, balls: List[int]) -> float: self.num = 0 N = len(balls) space_in_each_box = sum(balls) // 2 @lru_cache(None) def comb(x, y): # x<=y res = 1 for i in r...
[ "19241008o" ]
19241008o
b90c7a68490243757448c83d51d4eae5a3c86fad
8f6cc0e8bd15067f1d9161a4b178383e62377bc7
/ppo_baseline_DMB/WORKINGON/easy_ppo_v2/storage.py
0bd79023734c597fa209870d6297b8372a5c8253
[]
no_license
humorbeing/python_github
9c4dfc61a3cefbb266fefff335f6b28d05797e5e
e4b4b49bee7e7e3843c6874717779ce8d619bd02
refs/heads/master
2023-01-22T21:51:20.193131
2020-01-26T21:47:23
2020-01-26T21:47:23
163,707,778
0
0
null
2022-12-27T15:37:48
2019-01-01T01:58:18
Python
UTF-8
Python
false
false
7,531
py
import torch from torch.utils.data.sampler import BatchSampler, SubsetRandomSampler import numpy as np def ss(s=''): print() print(' ---' * 15) print(' ---' * 15) print() # print(' >>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<< ') print(s) print() print(' -...
[ "geemguang@gmail.com" ]
geemguang@gmail.com
66b1f7ab8b33518cd88195b541716565248d3e8e
2734b77a68f6d7e22e8b823418ad1c59fe1a34af
/opengever/document/behaviors/__init__.py
203ebd83e1f3d6ecb246888b2fffc589e66ad832
[]
no_license
4teamwork/opengever.core
5963660f5f131bc12fd0a5898f1d7c8f24a5e2b1
a01bec6c00d203c21a1b0449f8d489d0033c02b7
refs/heads/master
2023-08-30T23:11:27.914905
2023-08-25T14:27:15
2023-08-25T14:27:15
9,788,097
19
8
null
2023-09-14T13:28:56
2013-05-01T08:28:16
Python
UTF-8
Python
false
false
174
py
from zope.interface import Interface class IBaseDocument(Interface): """Marker interface for objects with a document like type (og.document, ftw.mail.mail) etc."""
[ "lukas.graf@4teamwork.ch" ]
lukas.graf@4teamwork.ch
3a6ecf79f1d71f56398219969add0d7eaa07bd92
908bba8bdc246d665d6b22e3a8b91720c34054e7
/whatsapp-sentiment.py
e7af36895172fa9f736ffba1bc4ba56d53798139
[ "Apache-2.0" ]
permissive
yogithesymbian/whatsapp-sentiments
24874ab055522b8733c500a104d218b205c054a8
d15d4a44282ecfc9b28fc0d16f2714f0f6ed7d2b
refs/heads/master
2020-05-25T00:33:48.165911
2017-03-19T17:27:15
2017-03-19T17:27:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
981
py
from textblob import TextBlob from plotly.offline import plot import plotly.graph_objs as go import random user1 = "Bob" user2 = 'Alice' with open('chat_sample.txt', 'r+') as f: samples = f.readlines() d = {user1:[], user2:[]} for line in samples: time, *text = line.split('-') text = ''.join...
[ "wasi0013@gmail.com" ]
wasi0013@gmail.com
b278f7784694cab7b0f6e4c0ae2aa4bf7f6d02af
0e083f405af00029c9ec31849f0f7f81c56844b5
/configs/mmseg/segmentation_sdk_dynamic.py
bfb033efed815d9f803ec76bca1feeee792fd4fd
[ "Apache-2.0" ]
permissive
open-mmlab/mmdeploy
39b9e7b611caab2c76a6142fcb99f0bf1d92ad24
5479c8774f5b88d7ed9d399d4e305cb42cc2e73a
refs/heads/main
2023-09-01T21:29:25.315371
2023-08-31T09:59:29
2023-08-31T09:59:29
441,467,833
2,164
605
Apache-2.0
2023-09-14T10:39:04
2021-12-24T13:04:44
Python
UTF-8
Python
false
false
307
py
_base_ = ['./segmentation_dynamic.py', '../_base_/backends/sdk.py'] codebase_config = dict(model_type='sdk') backend_config = dict(pipeline=[ dict(type='LoadImageFromFile'), dict(type='LoadAnnotations'), dict( type='PackSegInputs', meta_keys=['img_path', 'ori_shape', 'img_shape']) ])
[ "noreply@github.com" ]
open-mmlab.noreply@github.com
b6002bc250faf4ddfd8640d2a7ed44bf9176c3ec
36785c0893ab1e2c81c6a03305f42459776a84e0
/ambra_sdk/request_args.py
e29318245d880cd3dec5ab930e8d16a232ac1280
[ "Apache-2.0" ]
permissive
dicomgrid/sdk-python
06589f87f33850bd15e6e99fb683bada6492775f
2618e682d38339439340d86080e8bc6ee6cf21b5
refs/heads/master
2022-08-28T14:50:35.864012
2022-08-22T12:36:50
2022-08-22T12:36:50
253,867,502
11
6
Apache-2.0
2022-04-13T10:06:38
2020-04-07T17:36:56
HTML
UTF-8
Python
false
false
5,637
py
"""Request args.""" from datetime import date from json import JSONEncoder from json import dumps as json_dumps from typing import Any, Dict, Iterable, Mapping, Optional import aiohttp from aiohttp.helpers import sentinel class Encoder(JSONEncoder): """Ambra arguments Encoder.""" def default(self, el: Any)...
[ "akapustin@ambrahealth.com" ]
akapustin@ambrahealth.com
2b887ca5322df9eb742eec5d14620c6a8c37621d
b5921afe6ea5cd8b3dcfc83147ab5893134a93d0
/tl/contrib/tweepy/auth.py
51ed3d90ae2fd53d749c402f1806617c2846a51b
[ "LicenseRef-scancode-other-permissive" ]
permissive
techdragon/tl
aaeb46e18849c04ad436e0e786401621a4be82ee
6aba8aeafbc92cabdfd7bec11964f7c3f9cb835d
refs/heads/master
2021-01-17T16:13:18.636457
2012-11-02T10:08:10
2012-11-02T10:08:10
9,296,808
1
0
null
null
null
null
UTF-8
Python
false
false
4,226
py
# Tweepy # Copyright 2009 Joshua Roesslein # See LICENSE from urllib.request import Request, urlopen from urllib.parse import quote import base64 from tweepy import oauth from tweepy.error import TweepError from tweepy.api import API class AuthHandler(object): def apply_auth(self, url, method, headers, paramete...
[ "feedbackflow@gmail.com" ]
feedbackflow@gmail.com
87f68bcf618d998027044494849ca6cc6cbdb568
b488060127559a3910ad5bf6642061019cc5f7df
/app/auth/views.py
f16dd5a46f53c65e4f7cb58c19eb52ce58c65ca7
[]
no_license
hypnopompicindex/flasky
1cf4e104bf68a192348049d651ddf7e35c6c6e0d
2131bb49decd8a17d25078ab37205f12e22aefa1
refs/heads/master
2016-09-05T16:04:45.933010
2014-08-29T22:25:55
2014-08-29T22:25:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,999
py
from flask import render_template, redirect, request, url_for, flash from flask.ext.login import login_user, logout_user, login_required, current_user from . import auth from .. import db from ..models import User from .forms import LoginForm from ..email import send_email from .forms import LoginForm, RegistrationForm...
[ "hypnopompicindex@gmail.com" ]
hypnopompicindex@gmail.com
a0647338bf9bf7f1b4ad381078643e483422723e
825930f372fdf8c9c42cd2f9b1f424ab9de90b38
/accounts/migrations/0003_order_note.py
92701e816ce3c74d2368fbed83add82c8b9acf2c
[]
no_license
Xasanjon/crm2
56cbfa05d910144c75a3cdfe7423ba68fd576534
52279925e64e4268830fbeae6af897aef14b64d0
refs/heads/master
2023-07-02T04:13:33.928305
2021-08-16T14:53:43
2021-08-16T14:53:43
395,755,429
0
0
null
2021-08-16T14:53:44
2021-08-13T18:30:32
Python
UTF-8
Python
false
false
392
py
# Generated by Django 3.2 on 2021-08-02 20:32 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('accounts', '0002_auto_20210725_0252'), ] operations = [ migrations.AddField( model_name='order', name='note', ...
[ "xasanboy99akaxon@gmail.com" ]
xasanboy99akaxon@gmail.com
1b803449349f7c2d236f15348e6db398d826631f
504344fc66e8d54081a17306d3012a16bbb81ee7
/1_start_main.py
f5b040ad17b8d6c087939daec2d577d8e233f917
[]
no_license
Ryanshuai/auto_pubg
814753644a8e8e7aa3d7ca3c346a9e05b825c00d
696f33f888efc441a74e142db878e836bbf3efee
refs/heads/master
2022-09-21T12:13:24.155393
2020-11-12T20:03:43
2020-11-12T20:03:43
153,748,441
1
0
null
null
null
null
UTF-8
Python
false
false
1,482
py
from PyQt5 import QtCore, QtGui, QtWidgets from screen_parameter import show_position_y, show_position_x, show_size_y, show_size_x from press_gun.robot import Robot from state.all_states import All_States class Ui_Dialog(object): def setupUi(self, Dialog): Dialog.setObjectName("Dialog") Dialog.re...
[ "1018718155@qq.com" ]
1018718155@qq.com
a8854b058391a3e400e059150fc9e2444400ab81
d4b049d91795b5f8899f5ee60151a04be8890af9
/litapplications/candidates/migrations/0037_auto_20170604_1531.py
673c7eb72fcbdf9751afa92d8101506c0ee2c1c1
[]
no_license
thatandromeda/litapplications
3ab879c6edee1fd8424c3546eead47659699655a
d8b67d0b82ea14fb71b871f7563b7096640e4c25
refs/heads/master
2020-05-21T23:59:07.004211
2017-12-08T03:25:24
2017-12-08T03:25:24
64,570,749
0
1
null
null
null
null
UTF-8
Python
false
false
640
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.7 on 2017-06-04 15:31 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('candidates', '0036_auto_20170410_0025'), ] operations = [ migrations.AddFiel...
[ "andromeda.yelton@gmail.com" ]
andromeda.yelton@gmail.com