blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
โŒ€
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
220 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
257 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
e92b6a0a8f15c772f6a3f238232ce0d47afa3a9f
ee87e89befa0d4bf353dcf682b6467f9daaf657e
/src/foo_ext/setup_foo.py
00cab0b82444aae83ea486fa9f58bec6a8b7de40
[ "BSD-3-Clause", "MIT" ]
permissive
umedoblock/fugou
43046056ce5f20b81d76e3c8e3149717b63708ed
45d95f20bba6f85764fb686081098d92fc8cdb20
refs/heads/master
2021-07-15T15:26:30.856753
2018-11-26T23:44:18
2018-11-26T23:44:18
152,105,228
0
0
null
null
null
null
UTF-8
Python
false
false
639
py
from distutils.core import setup, Extension # module_camellia = Extension('camellia', sources = ['camellia/pycamellia.c']) module_foo = \ Extension('_foo', sources = ['foo/pyfoo.c'], extra_link_args=['-Wl,-soname,build/lib.linux-i686-3.2-pydebug/_foo.cpython-32dm.so']) # build/lib.linux-i686-...
[ "devnull@localhost" ]
devnull@localhost
7e046e16115c4a31cd8ee22f84097cb167323a1e
9171beea7de1dd602422b3d6e3e38a0b0b259ff9
/tests/test_foobar.py
122cf40291a6720980f208869055ce8d0ac13490
[]
no_license
macobo/testrepo
8003b026837eaf866491946d953c2fe61b869729
c1c121b051543522b69ca49249a689442a737973
refs/heads/master
2021-01-01T18:29:50.571302
2015-05-09T17:54:18
2015-05-09T17:54:18
35,281,790
0
0
null
2015-05-09T17:54:18
2015-05-08T13:48:04
Python
UTF-8
Python
false
false
111
py
from time import sleep def test_this(): sleep(30) assert 1+2 == 3 # def test_failing(): assert 1 == 2
[ "oxymaccy@gmail.com" ]
oxymaccy@gmail.com
189e918e786df3ff66786de2365ae2f313200b19
475aa827d073c9e6a2745eb32698812160b9b7b5
/Semana5/metodoslistas.py
b80b49f03f1205e00d65720b1535b3d39ee5d84a
[ "MIT" ]
permissive
jgualdr73793/Algoritmos_y_ProgramacionC3-C2
b489db488326b4100f97e693cece566034bb34b4
02e12d765c34bd5391883fb15b5310dd7415e92d
refs/heads/main
2023-08-11T10:33:58.773453
2021-09-15T16:33:54
2021-09-15T16:33:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
654
py
#Mรฉtodos de las listas #append() #clear() #extend() une una lista con otra #count() #index() #insert(posicion,elemento) #pop() #remove() #reverse() #sort() #.sort(reverse=True) #lista #tuplas lista=["mango","limon","Coco","manzana","melon","mango"]#lista lista2=[3,2,3,4,5,61,7,1,9,10] #tamaรฑo=5 fruta="Banano" lista.app...
[ "noreply@github.com" ]
jgualdr73793.noreply@github.com
31d6264158df83c60628ba128a22a79302ea9b27
04ca0a6ecf4a9c57454e4eaa2224a6204a356f78
/python/codewars/sum_of_numbers_from_0_to_N.py
41cd99c48310bcd46832f58506d997d15dd23e2c
[]
no_license
mkt-Do/codewars
29cc74546dee24bdb5c97a0986fec6b69ce12774
e145227187191aa70391b2ce58d21a744a781f26
refs/heads/master
2021-12-12T21:37:38.351140
2021-12-01T00:33:31
2021-12-01T00:33:31
169,721,979
0
0
null
null
null
null
UTF-8
Python
false
false
166
py
def show_sequence(n): return '{} = {}'.format('+'.join([str(i) for i in range(0, n + 1)]), sum(range(0, n + 1))) if n > 0 else '{}<0'.format(n) if n < 0 else '0=0'
[ "mkt.koro.mikuru@gmail.com" ]
mkt.koro.mikuru@gmail.com
76cd68ca722ef484c2c99e2d85befd4ed929e370
4072888be7d6b5584875f955649792f4094c46ce
/cartola_mn/settings.py
87517e3bfb8e0341bf748cdfb0c6e0f38bc52f83
[]
no_license
ikaromn/cartola-valorizacao
8adfc96eae684d2620754ecea1d4dfc001e15303
f85b58aa9e5449ecab3472b41911012a56fa6972
refs/heads/master
2022-12-09T01:53:21.338624
2020-02-12T00:36:22
2020-02-12T00:36:22
91,812,706
2
0
null
2022-04-22T21:18:07
2017-05-19T14:11:41
Python
UTF-8
Python
false
false
3,150
py
import os import django_heroku import dj_database_url from prettyconf import config # Build paths inside the project like this: os.path.join(BASE_DIR, ...) BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) TEMPLATE_DIR = os.path.join(BASE_DIR, "templates") STATIC_DIR = os.path.join(BASE_DIR, "sta...
[ "ikaropinheiro6@gmail.com" ]
ikaropinheiro6@gmail.com
ff10aab701873a6743c66ff43a452b141e61b2e3
d153c170a4839deb4d8606009be15198418aea69
/์•Œ๊ณ ๋ฆฌ์ฆ˜ํ’€์ด/21.07.09/๋ฒฝ๋ถ€์ˆ˜๊ณ ์ด๋™.py
9a0c96664f8cbc835b7ed167735d13703b0e7b60
[]
no_license
rlatmd0829/algorithm
669085907e2243b4c3a663feab87cd83ff50cc49
116bebf16afa6e20d9e968aa312b99b8eea447a5
refs/heads/master
2023-08-21T02:27:36.944919
2021-09-26T09:39:52
2021-09-26T09:39:52
345,480,784
0
0
null
null
null
null
UTF-8
Python
false
false
2,533
py
# ์‹œ๊ฐ„์ดˆ๊ณผ import collections n, m = map(int, input().split()) graph = [list(map(int,input())) for _ in range(n)] dx, dy = [-1,1,0,0], [0,0,-1,1] def bfs(): queue = collections.deque() queue.append((0,0)) distance = [[0]*m for _ in range(n)] while queue: x, y = queue.popleft() for i in ...
[ "rlatmd0829@naver.com" ]
rlatmd0829@naver.com
d09337dd6751a5bd7ead2f1cb07d835579b407f9
9781b61e35fce6c219f5359d8336ed87eac7a7d6
/puppy_models.py
05f0677a6ae0737ce7ce21dfc509006f1a825675
[]
no_license
johnnyhperkins/OAuthPython
68651f2b744fd33c60a90cc526f8a62db07cb0fb
07b510ff7693638da7023a365165d3efa3c1f9d2
refs/heads/master
2020-04-12T00:51:43.016422
2018-12-18T01:46:27
2018-12-18T01:53:08
162,214,300
0
0
null
null
null
null
UTF-8
Python
false
false
645
py
from sqlalchemy import Column, Integer, String from sqlalchemy.ext.declarative import declarative_base from sqlalchemy import create_engine Base = declarative_base() class Puppy(Base): __tablename__ = 'puppy' name =Column(String(80), nullable = False) id = Column(Integer, primary_key = True) descrip...
[ "Johnny@Johnnys-MacBook-Air.local" ]
Johnny@Johnnys-MacBook-Air.local
6053712f6528d72f50dd12642f249150218a7d4c
651a296c8f45b5799781fd78a6b5329effe702a0
/bvec/bvec_print.py
a927d2db4dfdd041e9b0fa3dbdc83056ccf7b51a
[]
no_license
pdhhiep/Computation_using_Python
095d14370fe1a01a192d7e44fcc81a52655f652b
407ed29fddc267950e9860b8bbd1e038f0387c97
refs/heads/master
2021-05-29T12:35:12.630232
2015-06-27T01:05:17
2015-06-27T01:05:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,944
py
#!/usr/bin/env python def bvec_print ( n, bvec, title ) : #*****************************************************************************80 # ## BVEC_PRINT prints a binary integer vector, with an optional title. # # Discussion: # # A BVEC is an integer vector of binary digits, intended to # represent an integer...
[ "siplukabir@gmail.com" ]
siplukabir@gmail.com
1539d348092bab286434a5b073c5490382d7dffe
9f4b1884273f995806c1e755665a92b785cc52a8
/onnx/test/parser_test.py
46604593e0c848bd177032dfeda4264980d26494
[ "Apache-2.0" ]
permissive
zhijl/onnx
340f7c5794a9aca96d2a9e76c3336aeebe798776
ac0afea916f989c714692dd8551eff762a639cd5
refs/heads/main
2023-03-31T02:30:50.151799
2023-03-20T23:09:55
2023-03-20T23:09:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,295
py
# SPDX-License-Identifier: Apache-2.0 import unittest from parameterized import parameterized import onnx from onnx import GraphProto, OperatorSetIdProto, checker class TestBasicFunctions(unittest.TestCase): def check_graph(self, graph: GraphProto) -> None: self.assertEqual(len(graph.node), 3) s...
[ "noreply@github.com" ]
zhijl.noreply@github.com
0865f7c0f6bac11488dd9d842e0967fab198dc76
90094f652d0235307a445301ce6168697781736c
/tools/pfToolsTest.py
ce3bf84e01660e1b17ac7627ac2e3cdc51af3eae
[]
no_license
decosa/usercode
a1a7fe19e5645fa68518923bec73a2aed5fa983d
d1eb83e8649d49fad067f412a39031120c0f3a51
refs/heads/master
2020-05-16T21:10:35.196037
2012-11-23T17:33:54
2012-11-23T17:33:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
47,950
py
from FWCore.GuiBrowsers.ConfigToolBase import * from PhysicsTools.PatAlgos.tools.coreTools import * from PhysicsTools.PatAlgos.tools.jetTools import * from PhysicsTools.PatAlgos.tools.tauToolsTest import * from FWCore.ParameterSet.Modules import EDProducer from RecoTauTag.RecoTau.TauDiscriminatorTools import adaptTau...
[ "" ]
acdde6bea347782546092d5b1f26a80f59365c61
aaa2981048906526ca701513a5e8fccfa6a27e35
/ACM-ICPC_6494_MissingPages.py
b8dbb03bacb16e8ce91f6560304ad044ff4a0ace
[ "MIT" ]
permissive
shogo54/uva-online-judge
980f4b2b56171ef68b44f3acf51eded87697a6e2
c7209ac66bbb5a9624ba44cc6053b8712f20f455
refs/heads/master
2020-03-11T06:42:45.701457
2020-01-16T20:28:33
2020-01-16T20:28:33
129,837,477
0
0
null
null
null
null
UTF-8
Python
false
false
610
py
''' ACM-ICPC 6494 Missing Pages Accepted by OJ ''' import sys for line in sys.stdin: line = line.strip() if line == '0': break nums = line.split() paper = int(nums[0]) num = int(nums[1]) pages = [] if num % 2 == 0: pages.append(num - 1) pages.append(paper - num + 1)...
[ "sakiyama@knox.edu" ]
sakiyama@knox.edu
2650068ef90d42f1538af59e3287f65ee6debe61
48d331090e0d51419d0e358d74916dd080e02ef8
/bandit/lib/LinPHE.py
d0ffe17cba2adc33bbce2ef8b237524f3659dfd7
[]
no_license
JCK-1096/Bandit-and-Reinforcement-Learning
e20e00981eec9ef23651f5f7f38333755429554c
d70ec825f50c1706a663164ab2be41a3ec0c0c4c
refs/heads/main
2023-08-14T10:40:17.228745
2021-10-02T22:53:06
2021-10-02T22:53:06
469,805,716
2
0
null
2022-03-14T16:01:45
2022-03-14T16:01:44
null
UTF-8
Python
false
false
2,898
py
""" Created on Oct 13, 2020 Author: Jiayi Chen """ import numpy as np import sys class LinPHE_Struct: def __init__(self, featureDimension, lambda_, noiseScale): self.d = featureDimension self.a = 2 # integer tunable scale a > 0 self.lambda_ = lambda_ # regularization self.NoiseSca...
[ "chenjiayi@JiayideMBP.local" ]
chenjiayi@JiayideMBP.local
d5340e2f4d9bc41d172ffd092e624ec156c598ed
3c54a766a8e69041c29519aee490490f7342fd99
/blacklistcheck.py
456a861b32a1b454cede9936377cefe00d2d5c02
[]
no_license
rahul-rajm/Email-blacklist-mangement-app
319e77c6f2f928ce7cc9a374b753d4e96f39acce
e7a8da7edb243f4587ef8cd90e3297319ee7fa7f
refs/heads/master
2020-04-05T00:12:35.940132
2018-11-06T13:40:13
2018-11-06T13:40:13
156,387,757
0
0
null
null
null
null
UTF-8
Python
false
false
1,506
py
#/usr/bin/env python #Individual func to check blacklist import requests WORKFLOW_INFO = 'XXX' MAILGUN_INFO_1 = 'XXX' MAILGUN_INFO_2 = 'XXX' WORKFLOW_HEADERS = {'Authorization': 'Basic XXX'} WORKFLOW_URL_1 = 'XXX' MAILGUN_URL_1 = 'XXX' MAILGUN_URL_2 = 'XXX' MAILGUN_HEADERS = {'Authorization': 'Basic XXX'} def provid...
[ "noreply@github.com" ]
rahul-rajm.noreply@github.com
ac733cf1f4551f7017adcfd6914d84fd884293f4
9ce0413314ebc5a75252b3d35933f8caeb4a695e
/๊ตฌํ˜„/์˜คํ”ˆ์ฑ„ํŒ…๋ฐฉ.py
2d7971f85d90c66cf2d87e0661f9a9cc900017e1
[]
no_license
didwns7347/algotest
32ed9e0e06be8a7450ab02daf4bddaee44def4f6
67d763dd2d48093d9b98d350ff98fbc9ab5ef8df
refs/heads/master
2023-04-06T05:59:26.111374
2021-04-21T05:11:30
2021-04-21T05:11:30
263,583,095
0
0
null
null
null
null
UTF-8
Python
false
false
719
py
def solution(record): answer = [] id_dic={} for s in record: s=s.split() if s[0]=="Enter": id_dic[s[1]]=s[2] elif s[0]=="Leave": continue else: id_dic[s[1]]=s[2] for s in record: s=s.split() if s[0]=="Enter": ...
[ "didwns7347@gmail.com" ]
didwns7347@gmail.com
428a7443f7d54eee384ad95d174dee298614bf00
fc35e7bb1c954c38ae8cc2f295d61b2c81ca7c69
/code 015 11/study/study/spiders/study02_spider.py
f9810daf8c65a0ca55a9a32f9380d377a90c57cd
[]
no_license
zeopean/pycode
364eb3208c04a9760b745fe155dd90d3b51a7e0e
32aa2e55d5c6492955136085c698be1e50f2948d
refs/heads/master
2021-01-10T01:46:14.858359
2015-12-09T14:41:05
2015-12-09T14:41:05
47,268,741
0
0
null
null
null
null
UTF-8
Python
false
false
832
py
# coding=utf8 # !/usr/bin/python import scrapy from study.items import StudyItem class Study02Spider(scrapy.Spider): name = 'study02' allowed_domain = ['study.02.demo'] start_urls = ["http://www.dmoz.org/Computers/Programming/Languages/Python/"] def parse(self, response): for href in respon...
[ "1412512785@qq.com" ]
1412512785@qq.com
a6ba11a6934043c5f7f7920a47fd1bb500f2a7ff
4f0dabb907d3eda9f83bea54ae979bfafe0a6ffe
/find_process.py
f07408eefd00c97447e0bf6935099ceb5c3a627d
[]
no_license
IvanVizcaino/PeiroStream
9699648bef4325abe14da696c094aa652e4bb9ba
d8b718a082d51399006477e975f15ac7a2acf8a2
refs/heads/master
2023-03-05T18:52:08.951051
2021-02-17T19:19:15
2021-02-17T19:19:15
330,394,883
0
0
null
null
null
null
UTF-8
Python
false
false
687
py
import psutil def findProcessIdByName(processName): ''' Get a list of all the PIDs of a all the running process whose name contains the given string processName ''' listOfProcessObjects = [] #Iterate over the all the running process for proc in psutil.process_iter(): try: p...
[ "ivan@yeboyebo.es" ]
ivan@yeboyebo.es
5db4ca59d2dcaad517794713fea207b9c28965ba
b38066e71cc8328e383e707ab4eefc8c3d322792
/server/src/gameserver/GM.py
afba76eeb40b355e3fbf7c730597722d6039e498
[]
no_license
kongyt/duel
57750cba4f0ccdc0dbfb9cd223e3806408c51284
b9ae0c3ba30a5f8feff8af886983307ac7f8fa5c
refs/heads/master
2021-01-21T11:11:08.961987
2017-03-16T08:37:30
2017-03-16T08:37:30
83,532,205
0
0
null
null
null
null
UTF-8
Python
false
false
828
py
#coding: utf-8 from Singleton import * from Room import * from Player import * from Log import * from RedisDB import * from Timer import * @singleton class GM: def __init__(self): self.playerMgr = PlayerMgr(self) self.roomMgr = RoomMgr() self.redisDB = RedisDB("127.0.0.1", 6379) se...
[ "839339849.qq.com" ]
839339849.qq.com
f4944d1fae34901da120145102384d71e22fa5d6
d2d5d402062d98fce4cf6dbaa848c9e2b60c1838
/controlvariables.py
84a5eef8c2c1f4882205d834d5a0c42d321aa7b5
[]
no_license
emanuelalava/SailboatControlSystem
1b29ce2e1ef9cc537794c932fb7c3d96a142cbb7
c1969cf9f5e40e010342453d0b4293c7a7612317
refs/heads/master
2022-11-05T10:41:04.394741
2020-06-25T17:23:33
2020-06-25T17:23:33
274,975,041
1
0
null
null
null
null
UTF-8
Python
false
false
232
py
class ControlVariable: def setControlVariable(rigangle,rudderangle): self.rigangle = rigangle self.rudderangle = rudderangle def getControlVariable(): return (self.rigangle,self.rudderangle)
[ "walava@espol.edu.ec" ]
walava@espol.edu.ec
0e507cd7a87fd7f046fbdebfcc99ba300d06ff2a
2a5a5d094c10bd7ccb2c7bb59ee30054d56a8305
/myblog/migrations/0002_post_title_tag.py
6c2b3cf286a3126bbf559aed1bcd069512d1752d
[]
no_license
SHUJA12/projectblog
8b36a3cf3e24e3f2b0a637a53600dee5db87d46d
d5bcb48116a55b552962abc62942d73474ada2ed
refs/heads/main
2023-02-04T15:26:48.838872
2020-12-23T20:09:19
2020-12-23T20:09:19
323,990,740
0
0
null
null
null
null
UTF-8
Python
false
false
385
py
# Generated by Django 2.2.2 on 2020-06-03 07:01 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('myblog', '0001_initial'), ] operations = [ migrations.AddField( model_name='post', name='title_tag', fie...
[ "shuzaahmad7@gmail.com" ]
shuzaahmad7@gmail.com
78c274ea9242eb1b2aed3b23a1b935b101bedba9
086b24ee80b9ee943e709cfb38bdd9be216f416c
/resnet.py
223c4ec22fcf62afc224ab73683ec53781744485
[]
no_license
a84227321a/yyzz_ocr
1fe49dbc1ada295cd313245dd8c351d870668850
5dea7f1dd105331e5be4ef3cf50f3f278286e348
refs/heads/master
2022-11-06T02:28:24.066208
2020-06-12T09:54:39
2020-06-12T09:54:39
271,237,631
0
0
null
null
null
null
UTF-8
Python
false
false
6,866
py
from keras import layers from keras.layers import Conv2D, BatchNormalization, Activation, Permute, TimeDistributed, Dense, Dropout from keras.layers import Convolution2D, Flatten import keras.backend as K def identity_block(input_tensor, kernel_size, filters, stage, block, dilation_rate=(1, 1)): """The identity b...
[ "865046239@qq.com" ]
865046239@qq.com
0d472e70636ddeee8273010b4e839638fc3fab46
12c33015ca071fe6bee7131328706fcc8af6e098
/bing_webscrapper.py
90e2bdd49b5457713a40fdb01da9f37ea8761fcc
[]
no_license
Nextafari/web_crawler-google-bing-
7e62eedd393d9b3f9cf7f57c722a148bcaf78f2d
3843e5f40324b9054a92174cd7efc9f10ecfbf2b
refs/heads/master
2021-04-23T03:33:25.868889
2020-08-16T21:29:31
2020-08-16T21:29:31
249,894,812
2
1
null
null
null
null
UTF-8
Python
false
false
2,243
py
from bs4 import BeautifulSoup import requests search = input("Enter your search here: ") params = {"q": search} url = ("https://www.bing.com/search") USER_AGENT ="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36" headers = {"user-agent": USER_A...
[ "chinedue16@gmail.com" ]
chinedue16@gmail.com
9ab33ff79ca55b1491450b69895fe6e1b812f44e
9de84e92189ac64ec63df1953b73bcaec5eae07e
/src/jsoncfg/__init__.py
032617b40ecd0f1a471f964c2f429be464cdd967
[ "MIT" ]
permissive
pasztorpisti/json-cfg
ce5985e0d5995cde16250487780e6d2c3b008fd3
0ccde013987910f2bb37a46788c0b8d3053a9ac6
refs/heads/master
2022-02-22T07:54:32.274364
2019-10-19T16:45:07
2019-10-19T16:45:07
34,360,374
35
8
MIT
2022-02-02T23:16:23
2015-04-22T00:57:59
Python
UTF-8
Python
false
false
2,198
py
# -*- coding: utf-8 -*- from .exceptions import JSONConfigException from .parser import JSONConfigParserException from .parser_listener import ObjectBuilderParams from .config_classes import ( JSONConfigQueryError, JSONConfigValueMapperError, JSONConfigValueNotFoundError, JSONConfigNodeTypeError, JSONValueMapp...
[ "pasztorpisti@gmail.com" ]
pasztorpisti@gmail.com
73bede51d5735756525347d3dd9f95c50fa375a6
f766b084d893fde9f96cd10e12c1269d418719ed
/submissions/dummy/feature_extractor.py
dde02fbd3bc7d441ded782a2d5283c623874dcd9
[]
no_license
youssef-brachmi/Recommender-System-for-beers
8442ec966368d4dd822f5bafbba123915a33110f
48ad1396509554e13cd2d53072bbe97730a8de43
refs/heads/master
2021-10-12T02:49:42.782742
2019-01-31T21:12:32
2019-01-31T21:12:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
301
py
from scipy import constants import pandas as pd class FeatureExtractor(object): def __init__(self): pass def fit(self, X_df, y): return(self, X_df) def transform(self, X_df): return X_df[['authorId', 'beerId', 'styleId', 'brewerId', 'abv', 'mean_rating' ]]
[ "noreply@github.com" ]
youssef-brachmi.noreply@github.com
cf549f57214bbbadb76d22785366c5b2adfc840f
9bf35ac000395206d28f0b1a2b1a86a731b3435c
/main.py
e111c61d21ae33abd16589a9913f264d4ece1609
[]
no_license
Daveloper20/Python_Tetris
a76f973108f78188a5670e1aef9e644ce8cdfc87
6b827216f13ff533b7ea1aded9deeb31243bd82c
refs/heads/main
2023-04-03T01:25:44.171428
2021-04-19T14:11:24
2021-04-19T14:11:24
359,258,695
0
0
null
null
null
null
UTF-8
Python
false
false
12,070
py
import pygame import random import time colors = [ (0, 0, 0), (0, 240, 240), (0, 0, 240), (240, 160, 0), (240, 240, 0), (0, 240, 0), (160, 0, 240), (240, 0, 0) ] class Figure: x = 0 y = 0 Figures = [ [[1, 5, 9, 13], [4, 5, 6, 7]], [[1, ...
[ "noreply@github.com" ]
Daveloper20.noreply@github.com
f4a8e3c81ba011c641b4218d7ed3cca00179f752
e0c8662a56d89730043146ddc340e9e0b9f7de72
/plugin/14e55cec-1596.py
7b13f9266669dc060f05fe19bfca14b9054da31c
[]
no_license
izj007/bugscan_poc
f2ef5903b30b15c230b292a1ff2dc6cea6836940
4490f3c36d4033bdef380577333722deed7bc758
refs/heads/master
2020-09-22T17:20:50.408078
2019-01-18T09:42:47
2019-01-18T09:42:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
720
py
#coding:utf-8 from lib.curl import * # -*- coding: utf-8 -*- """ POC Name : OGNL console Author : a mail : a@lcx.cc Referer: http://wooyun.org/bugs/wooyun-2010-080076 """ import urlparse def assign(service, arg): if service == 'www': arr = urlparse.urlparse(arg) return True, '%s://%s/...
[ "yudekui@wsmtec.com" ]
yudekui@wsmtec.com
8787aeb0950cc8d74bb12753045c0ae4d10b16e6
17c280ade4159d4d8d5a48d16ba3989470eb3f46
/18/mc/ExoDiBosonResonances/EDBRTreeMaker/test/crab3_analysisWprime1800.py
9e802f49450f00b24370cdff361d92b3565fac2c
[]
no_license
chengchen1993/run2_ntuple
798ff18489ff5185dadf3d1456a4462e1dbff429
c16c2b203c05a3eb77c769f63a0bcdf8b583708d
refs/heads/master
2021-06-25T18:27:08.534795
2021-03-15T06:08:01
2021-03-15T06:08:01
212,079,804
0
2
null
null
null
null
UTF-8
Python
false
false
2,082
py
from WMCore.Configuration import Configuration config = Configuration() config.section_("General") config.General.requestName = 'Wprime_1800_weight_v2' config.General.transferLogs = True config.section_("JobType") config.JobType.pluginName='Analysis' config.JobType.sendExternalFolder=True# = 'Analysis' config.JobTy...
[ "c.chen@cern.ch" ]
c.chen@cern.ch
1ad22bd26da42377f4ca937904276d100a42ed17
864d98cb2b88b0aa703c1caaaae5bade0036b6ba
/nginx_blackout/utils.py
15b3c31e8bde7735d8e1f5ef6838d8797e03cf65
[ "MIT" ]
permissive
Vitalyudin/nginx-blackout-python
d70e043a5b843ef39f8ce04fa7198e83e818ac30
536038924ac990af10352c8a1a17f9c80f8931e9
refs/heads/master
2020-11-24T17:09:09.969810
2019-12-14T19:30:00
2019-12-14T19:31:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,509
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import time from email.utils import formatdate from typing import Any, Tuple, List from aiohttp.web import Request, Response from nginx_blackout.app import NginxBlackout def get_app(request: Request) -> NginxBlackout: app = request.app["nginx_blackout"] # type: N...
[ "andriyano-31@mail.ru" ]
andriyano-31@mail.ru
d9463f6427fc42138a954db54cfe4ff9144205f9
668905b3a5caeb7ba3f9a575b996a2a32a48f5d7
/crimemap.py
0e53aceac454559b02dfe1f2e7484d008dd5c9fb
[]
no_license
Fola09/crimemap
90a560a14bf28966e462b726bffec672fc30e222
d36d212e97d9f368570b270c7905b1e612b07f6e
refs/heads/master
2021-05-21T22:54:15.602513
2020-04-10T22:37:26
2020-04-10T22:37:26
252,843,677
0
0
null
null
null
null
UTF-8
Python
false
false
793
py
from flask import Flask, render_template, request import dbconfig if dbconfig.test: from mockdbhelper import MockDBHelper as DBHelper else: from dbhelper import DBHelper app = Flask(__name__) DB = DBHelper() @app.route("/") def home(): try: data = DB.get_all_inputs() except Exception as e: ...
[ "folaolayiwola.fo@gmail.com" ]
folaolayiwola.fo@gmail.com
3e466dffd0b79a8e26b47596233aa19edadc61ce
47b4d76e9c87e6c45bab38e348ae12a60a60f94c
/Mutation_Modules/GLN_ASN.py
efbed28aa20e0ca0a3e8faeedc094ac0a4d66aac
[]
no_license
PietroAronica/Parasol.py
9bc17fd8e177e432bbc5ce4e7ee2d721341b2707
238abcdc2caee7bbfea6cfcdda1ca705766db204
refs/heads/master
2021-01-10T23:57:40.225140
2020-10-14T02:21:15
2020-10-14T02:21:15
70,791,648
0
0
null
null
null
null
UTF-8
Python
false
false
15,045
py
# GLN to ASN Mutation import Frcmod_creator import PDBHandler import Leapy from parmed.tools.actions import * from parmed.amber.readparm import * def parmed_command(vxi='VXI', lipid='No'): bc = {} with open('Param_files/AminoAcid/GLN.param', 'r') as b: data = b.readlines()[1:] for lin...
[ "pietro.ga.aronica@gmail.com" ]
pietro.ga.aronica@gmail.com
9237c6352187b386e2dc6a1d16bfa2974937c6a3
927b9a4394626f8fcba83eb8944c17c5b61197e8
/test.py
6007dcea9364a9576b3ae4163dd2086e733ba025
[]
no_license
Natsuyu/First
e9e66074f6883667852d191b480a1a15152fdecc
346c4823d317db9538670e9ff55b9692423d701e
refs/heads/master
2020-03-27T21:24:43.732674
2018-09-03T02:18:40
2018-09-03T02:18:40
147,141,239
1
1
null
null
null
null
UTF-8
Python
false
false
2,971
py
################################################### # Nicolo Savioli, 2017 -- Conv-GRU pytorch v 1.0 # ################################################### import torch from torch import nn import torch.nn.functional as f from torch.autograd import Variable class ConvGRUCell(nn.Module): def __init__(self, input_...
[ "15674984531@163.com" ]
15674984531@163.com
00a2b0a5e7dd0cf127743255beda0c97d6f09bc5
5c5a4a88f29c1e78a5ba2e41758a4ee59d9d91f2
/main.py
ae70bbc33d87df2ad09fac8872fcd50df2c5b0ee
[]
no_license
prathamesh43/FFT
dd11057136ad45344849c4d97732d708e01ff907
464cd98d5cfa251995c7bc13b54b66b44a148174
refs/heads/main
2023-03-30T18:48:01.041259
2021-03-31T05:54:11
2021-03-31T05:54:11
352,614,480
0
0
null
null
null
null
UTF-8
Python
false
false
1,992
py
import smbus import time from time import sleep import sys bus = smbus.SMBus(1) EARTH_GRAVITY_MS2 = 9.80665 SCALE_MULTIPLIER = 0.004 DATA_FORMAT = 0x31 BW_RATE = 0x2C POWER_CTL = 0x2D BW_RATE_1600HZ = 0x0F BW_RATE_800HZ = 0x0E BW_RATE_400HZ = 0x0D BW_RATE_200HZ = 0x0C BW_RATE_100HZ = 0x0B BW_RATE_50HZ = 0x0A BW_RAT...
[ "noreply@github.com" ]
prathamesh43.noreply@github.com
47cd266a23e4bba7b55e0fddd37c91c1827f8bbd
78d9746ca970eae570de1660c2eb2aeea79bc77b
/Week2/2-fileExercises/index.py
5e11bad2b61f4c9d211ecd98494a6192be91f13e
[]
no_license
egarcia410/digitalCraft
ca942c7ed7676c19c324ba99f4d4bbfed9767438
e12199876818415072a20e6e506864f778e1d9a2
refs/heads/master
2021-05-16T05:46:12.486790
2017-11-08T17:03:54
2017-11-08T17:03:54
103,176,165
0
0
null
null
null
null
UTF-8
Python
false
false
3,150
py
"""File I/O Exercies""" # def exercise1(): # """Exercise 1: User inputs file name and read contents of file""" # response = input('Filename: ') # fname = response + '.txt' # with open(fname, 'w') as f: # f.write('This is the first line of the file.\n') # f.write('Second line of the file\...
[ "egarcia410@gmail.com" ]
egarcia410@gmail.com
1b2c1db63a3bce1dfc0fe2ab7537df8b210b0ef0
b3c83f15ae2a77d7af5262e3a9bba5a3efba48b6
/hello.py
0f64b95b29101a969ec284f0a838ba1468c958e6
[]
no_license
ujjawalgupta29/Stack_Overflow_Search
0c9c79625187839a839f3eef1406add6ff4b2798
6bca90a58da401ba95345886931e24792c48a19f
refs/heads/master
2023-02-02T01:50:05.166647
2020-12-22T19:46:36
2020-12-22T19:46:36
323,717,675
0
0
null
null
null
null
UTF-8
Python
false
false
27
py
print("Hello") print(3+'u')
[ "gujjawal29@gmail.com" ]
gujjawal29@gmail.com
c4af510cd5d3874ffba5624683153abbd49b06d4
6b07203afd7128cc82aac98d5748feaedb198623
/Project636/network.py
33164888d8779152c8bf1aca2eb4a400da57f688
[]
no_license
tiandi111/road-to-dl
82199cf05bce32c2406aa59c0bc6548a34ba7189
2591c6bb4b304e3a71f62e85c9d0f1a6d7fc6f4c
refs/heads/master
2023-01-20T03:19:29.834614
2020-11-21T23:57:26
2020-11-21T23:57:26
291,029,611
0
0
null
null
null
null
UTF-8
Python
false
false
2,186
py
import torch import torch.nn as nn import torch.nn.functional as F class ResBlock(nn.Module): """ inC == outC if downSampling is True, will insert a (1, 1) Conv2d layer at the head of the block """ def __init__(self, inC, bottleC, outC: int, downSampling=False): super(ResBlock, self).__init...
[ "tiandi03@kuaishou.com" ]
tiandi03@kuaishou.com
90671ee6e4387190edadaad51537ca557f763924
9ead5fcc5efaf7a73c4c585d813c1cddcb89666d
/m5/src/mem/slicc/ast/FormalParamAST.py
c64731196d5ef5004fa09540cf47bf11b12ed267
[ "BSD-3-Clause" ]
permissive
x10an14/tdt4260Group
b539b6271c8f01f80a9f75249779fb277fa521a4
1c4dc24acac3fe6df749e0f41f4d7ab69f443514
refs/heads/master
2016-09-06T02:48:04.929661
2014-04-08T10:40:22
2014-04-08T10:40:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,396
py
# Copyright (c) 1999-2008 Mark D. Hill and David A. Wood # Copyright (c) 2009 The Hewlett-Packard Development Company # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: redistributions of source co...
[ "chrischa@stud.ntnu.no" ]
chrischa@stud.ntnu.no
062c3c2ce797601c2db2451622590172ca277679
526dde1a4ec06adc2ab97833871934f6bce626fc
/simplesocial/groups/urls.py
1290aaa7f2d4d2cb787b4000190a9c73d45edaab
[]
no_license
CristianCondruz/SocialSiteClone
99dcfc6a6c7e85220cdd893ff3cfdc7537b07d28
886ac792c5112c1ffb928d5a52bbf88dd77064e3
refs/heads/master
2020-03-30T17:02:41.961616
2018-10-05T14:45:43
2018-10-05T14:45:43
151,439,276
0
0
null
null
null
null
UTF-8
Python
false
false
453
py
from django.urls import path from groups import views app_name = 'groups' urlpatterns = [ path('',views.ListGroups.as_view(),name='all'), path('new/',views.CreateGroup.as_view(),name='create'), re_path('posts/in/(?P<slug>[-\w]+)/$',views.SingleGroup.as_view(),name='single'), re_path('join/(?P<slug>[-\...
[ "cruz@enea.se" ]
cruz@enea.se
76c6d426ea19c82ba2d57cfb8810ec4fedfbf1d8
f03f7f4cad663f4687b8b87ea9a001cd7a0c6b31
/rule_engine/asgi.py
626b087bf951a5d79ee0f8275ef1dc902482b7ec
[]
no_license
amarbabuk/rule-engine
79f05a2338539a8791aaea3a0432e4b8a1a7d1d3
9b7a504501d2db02178e4bbeac0409dfd0ba4833
refs/heads/master
2023-05-03T20:40:01.259232
2021-05-15T21:24:18
2021-05-15T21:24:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
399
py
""" ASGI config for rule_engine project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.0/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO_S...
[ "kohlivishrut@gmail.com" ]
kohlivishrut@gmail.com
c0a4a20a1dec5c8a8f05d500bd1ef929d52fcfbe
3f25a47dfaa9fb46ba1af7b4b5390c84fb6c2f24
/CollatzSequence .py
b1d1b4c560bb9c8a16397688e33d3bec8464c198
[]
no_license
folger/ATBSWP
937590c52efc7fd385dc00bd33876807530a30b0
650300839caf26f425ab41308fc184f7d9171499
refs/heads/master
2021-01-05T01:38:55.270341
2020-02-16T04:46:36
2020-02-16T04:46:36
240,832,601
0
0
null
null
null
null
UTF-8
Python
false
false
88
py
while (1): try: n = int(input()) print(n) except: break
[ "folger@originlab.com.cn" ]
folger@originlab.com.cn
e7a02d735c47a7acf5c428993b534c9e81cc7de3
9bbe3bd5cb5c0373f4b7f7129f641194a2f83551
/Chapter10-Object Oriented Programing/04_employee.py
d3cd124567d5a1b1a2acc563e53738b669b99af9
[]
no_license
ParitoshBarman/Python-Practice
bbcb7dd0b35fc0ebd4854e7c502f0d9e56ec242e
4d094148c876c45be5d4051860ae492b3de5ef18
refs/heads/master
2023-03-05T08:47:20.564854
2021-02-21T11:03:12
2021-02-21T11:03:12
340,874,365
0
0
null
null
null
null
UTF-8
Python
false
false
289
py
class Employee: company = "Google" sallary = 100 pari = Employee() rajni = Employee() pari.sallary = 300 rajni.sallary = 400 print(pari.company) print(rajni.company) Employee.company = "YouTube" print(pari.company) print(rajni.company) print(pari.sallary) print(rajni.sallary)
[ "barmanpari163@gmail.com" ]
barmanpari163@gmail.com
669563710a76da0b0965af59920ba5fa960381db
a1f009fbc7700cd17fffcd97518bda1593064e33
/source_code/python/python_advanced/strings/bytes.py
b6ee415eaff9935b7df255dd1b656f9772eacbb5
[]
no_license
Alrin12/ComputerScienceSchool
2db06f9d198f67ad587535b3cab0dabd8a4b8e5c
7543ae686394fc573f80bf680ae4371a2871dede
refs/heads/master
2021-01-23T15:04:22.672139
2017-07-17T15:32:31
2017-07-17T15:32:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
129
py
b = b"abcde" #print(b) #print(b.upper()) #print(b.startswith(b"ab")) #bytes -> string string = b.decode('UTF-8') print(string)
[ "ythwork83@gmail.com" ]
ythwork83@gmail.com
958bdbd617eda01eb001718f9cb42ed2b5e25f47
444a9480bce2035565332d4d4654244c0b5cd47b
/research/cv/REDNet30/train.py
28c5e009e67749e074c17f9960038bf0f668f8c1
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference", "LicenseRef-scancode-proprietary-license" ]
permissive
mindspore-ai/models
7ede9c6454e77e995e674628204e1c6e76bd7b27
eab643f51336dbf7d711f02d27e6516e5affee59
refs/heads/master
2023-07-20T01:49:34.614616
2023-07-17T11:43:18
2023-07-17T11:43:18
417,393,380
301
92
Apache-2.0
2023-05-17T11:22:28
2021-10-15T06:38:37
Python
UTF-8
Python
false
false
4,602
py
# Copyright 2022 Huawei Technologies Co., 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/LICENSE-2.0 # # Unless required by applicable law or agreed to...
[ "17863107261@163.com" ]
17863107261@163.com
b8b4375854b3f06c943f5c05c9c5dad65c548f2b
cb74e628b4a1a10952c42d16563957ee0b77da14
/webapps/wsgi.py
00baffa2e3cc71e5ac1bc4816e538030e93b25bd
[]
no_license
aysfzaicmu/aukshop
972ef78886a0b954c203a42c3ede1ac667855540
81a9852426642c4e4066aed7d901cdee1bea8e56
refs/heads/master
2021-01-12T12:16:27.534308
2016-10-31T05:37:16
2016-10-31T05:37:16
72,404,837
0
0
null
null
null
null
UTF-8
Python
false
false
517
py
""" WSGI config for webapps project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.7/howto/deployment/wsgi/ """ import os os.environ.setdefault("DJANGO_SETTINGS_MODULE", "webapps.settings") # from django.core...
[ "aliyousafzai@Alis-MacBook-Pro.local" ]
aliyousafzai@Alis-MacBook-Pro.local
489e85928fed2d4d5c809ef233de0472f3a737d9
c30c762feea6c5413ba4f8d483fdc984f09b5b51
/celeba/perf_tests.py
6d21eb3fb303b975dadd21b1695186ee5a5d08fb
[]
no_license
avudzor/FormEstDistRisks
3d451054ef0fb75a183011023f5ff4638d24975d
ac4c4a1e5673e34b4633f0c46187c772479ecb51
refs/heads/main
2023-07-28T18:21:03.177498
2021-08-27T15:20:45
2021-08-27T15:20:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,901
py
from model_utils import get_model, BASE_MODELS_DIR from data_utils import CelebaWrapper, SUPPORTED_PROPERTIES import torch.nn as nn import numpy as np import utils from tqdm import tqdm import os import matplotlib.pyplot as plt import matplotlib as mpl mpl.rcParams['figure.dpi'] = 200 def get_models(folder_path, n_mo...
[ "anshuman@email.virginia.edu" ]
anshuman@email.virginia.edu
143e5ef8c7e9e44d20e390e8e765dd78b23e84f6
92227347d4a6778bce1abc198a07835d0ce2c628
/minio/lifecycleconfig.py
904a0a0caba62db1ffa68fdbdc9c851ebe333238
[ "Apache-2.0" ]
permissive
boiler/minio-py
4a39df16c0429d97d2db3c7ec66f333d2c25c7bc
cfd711d0594b5885d5cdd6da94527a69b3d5b646
refs/heads/master
2023-03-26T21:45:01.565707
2021-03-20T10:05:19
2021-03-20T10:05:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,205
py
# -*- coding: utf-8 -*- # MinIO Python Library for Amazon S3 Compatible Cloud Storage, (C) # 2015, 2016, 2017, 2018, 2019 MinIO, Inc. # # 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 # # h...
[ "noreply@github.com" ]
boiler.noreply@github.com
9618de4743eed95e145f302cc80a2547716ee168
55e2d07829ce6ff451c068606f6ca5934dcad0f9
/django/env_var/comment/app_comments/apps.py
432b62880fb02c76931ecc7f4cf217a5cc8facc1
[]
no_license
tulbadex/zuriPythonClassAssignments
ec3fd55ea24d18604cc041bd0ad083acf23f6e47
affedcd204e1fd67633747a0b7fbebaf2ad08718
refs/heads/main
2023-04-16T01:44:44.967433
2021-04-27T05:44:38
2021-04-27T05:44:38
354,865,365
0
0
null
null
null
null
UTF-8
Python
false
false
155
py
from django.apps import AppConfig class AppCommentsConfig(AppConfig): default_auto_field = 'django.db.models.BigAutoField' name = 'app_comments'
[ "ibrahimadedayo@rocketmail.com" ]
ibrahimadedayo@rocketmail.com
500a9013cb9cfe027410a13198b612b9d6ab8fb4
facfc296400ab5f10152c2f7014902be20c2eed6
/Amazon/spiders/amazon.py
1cee8b0ba7bd2ebaac5379b6f3c9535d6f83344c
[]
no_license
ayushikorde111/AmazonScraper
2c7455343d468f008b3765595589b5196f3d3e06
3570ed8d38457b322f5d773c88cc4664aabe2cba
refs/heads/master
2020-11-25T09:40:20.559380
2019-12-16T17:55:12
2019-12-16T17:55:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,753
py
# -*- coding: utf-8 -*- import scrapy from ..items import AmazonItem from ..userAgents import Get_Headers import pymongo import re import time class AmazonSpider(scrapy.Spider): name = 'amazon' allowed_domains = ['amazon.in'] items = AmazonItem() headers = {'User-Agent': Get_Headers()} start_urls =...
[ "shivam.dongre14@gmail.com" ]
shivam.dongre14@gmail.com
325e30673dc9f03db17dbfa84afe21c002c2bc80
ac8df11d241f87cbaf61b8e509eff8053b62a32c
/train.py
fb34cdcfb895c545fe464207cfb95f57867a4e7a
[ "MIT" ]
permissive
antoniosequeira/trainer_mobilenet_v2
faca6d06c38628520afb091c139a33fb63089807
3764d1f8653b4c0bda650821e1280ac56363a062
refs/heads/main
2022-12-30T23:11:10.334269
2020-10-17T15:31:49
2020-10-17T15:31:49
304,073,715
1
0
null
null
null
null
UTF-8
Python
false
false
6,381
py
# Head Notes # Tensorflow doesn't like numpy 1.17 and gives a lot of warnings, to remove them use the following command: # pip install "numpy<1.17" # Python API import os import random import time import warnings # 3rd party API import pickle import numpy as np import cv2 from PIL import Image from skimage.transform i...
[ "antonioserolsequeira@gmail.com" ]
antonioserolsequeira@gmail.com
cbabaab8f53d23cfaa2ecbf319388276b6172f67
433d8d457ed431b9ad38e3ed8ed6e441b7caa334
/bin/generate_zippylog_message_classes
92c4f25b4a7ff5fa92a47278254795a8f91aaf8f
[ "Apache-2.0" ]
permissive
indygreg/zippylog
365f4f95dd2c9f8743180178fa90d66b0611cc71
5efc10b28a3e9d5f4df6c2014e7121d689291a70
refs/heads/master
2020-05-09T17:15:23.063121
2012-09-06T23:53:19
2012-09-06T23:53:19
795,523
8
2
null
null
null
null
UTF-8
Python
false
false
2,674
#!/usr/bin/python # Copyright 2011 Gregory Szorc # # 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/LICENSE-2.0 # # Unless required by applicable la...
[ "gregory.szorc@gmail.com" ]
gregory.szorc@gmail.com
7afe6149aecbf87a30620698846e0958ce168fe8
1149dfd7bb5e7b7b35d839ed38abd10a4bec313e
/library/serializers.py
9b2260c232c0dd6d1fe85af3c654a0ebd9fc46e4
[]
no_license
kill-rill1996/GB_DRF
8a941176111047a17dfe1f029a4e09459be0854f
714edea1785864841f6cd5bb363c7031f902eb88
refs/heads/main
2023-05-28T11:11:19.244098
2021-06-14T15:17:13
2021-06-14T15:17:13
363,373,847
0
0
null
null
null
null
UTF-8
Python
false
false
380
py
from rest_framework.serializers import HyperlinkedModelSerializer, ModelSerializer from .models import Author, Book class AuthorModelSerializer(ModelSerializer): class Meta: model = Author fields = "__all__" class BookModelSerializer(ModelSerializer): author = AuthorModelSerializer() c...
[ "hizenberg228@mail.ru" ]
hizenberg228@mail.ru
309a43c41e15b1283dda3abcb6b9413a325b5afd
6f77ce7b93ff8edded44bc4c46cc610d5ef2a6e0
/src/third/deep_q_network.py
eea744ea379ae0264bdc3a449796a8f853d1837b
[ "MIT" ]
permissive
wwbin2017/reinforcement-learning
20ce500a1677605999345eb1ee7672bab999fe8e
a7f8316a31a81a99c54224f853a2d06ea0b00234
refs/heads/master
2020-07-22T20:46:51.605954
2019-11-10T03:11:57
2019-11-10T03:11:57
207,322,387
4
0
null
null
null
null
UTF-8
Python
false
false
9,537
py
# -*- coding:utf-8 -*- # # Author : ๅฏ’ๆฑŸ้›ช # E-mail : # Date : 19/10/10 00:03:44 # Desc : # """ Dependencies: tensorflow r1.14 pygame 1.9.4 """ from __future__ import print_function import tensorflow as tf import cv2 import sys sys.path.append("game/") import wrapped_flappy_bird as game import random ...
[ "wangwenbin001@ke.com" ]
wangwenbin001@ke.com
676316a4635e1ab12355ea038c5b1cb00ca3726b
b15c47a45207e854fb002d69f7e33f8943a5e2b3
/chatbot/botbuilder/bot_response_list_info.py
835f981eaa0c71dc47024e9df8c21d3c1358a36e
[ "Apache-2.0" ]
permissive
yurimkoo/tensormsa
e1af71c00a6b2ec3b3ed35d5adad7bafc34c6fbe
6ad2fbc7384e4dbe7e3e63bdb44c8ce0387f4b7f
refs/heads/master
2021-07-22T13:41:45.110348
2017-11-02T07:13:31
2017-11-02T07:13:31
109,469,204
1
0
null
2017-11-04T05:19:51
2017-11-04T05:19:50
null
UTF-8
Python
false
false
587
py
from chatbot import serializers class BotResponseListInfo: def run_response_builder(self, data): """ insert nn_info version data :param req: :return: """ try: serializer_response = serializers.CB_RESPONSE_LIST_INFO_Serializer(data=data) if ...
[ "healess1@gmail.com" ]
healess1@gmail.com
ac35039ea461f5d9e8be9bc31b8f9e8c1007918a
972206f2e150a4127b162a0cd37acd75771bb0ed
/tests/test_postman_collection.py
8bc5a834a5c27c921a19e45e0383005223a77262
[]
no_license
cristianowa/courierman
d3158c935944283bafeef0a13d6c77ef56e972bc
4a356ef38b7a4226e7c7706e24647545618d12d3
refs/heads/master
2023-01-06T18:21:08.262851
2020-11-09T17:54:20
2020-11-09T18:08:03
309,841,978
0
1
null
null
null
null
UTF-8
Python
false
false
589
py
import os from courierman.collection import Collection expected_results = [ 401, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 404, 404, ] def test_collection(): collection = Collection(os....
[ "cristianowerneraraujo@gmail.com" ]
cristianowerneraraujo@gmail.com
d99ebe78755008ee7505ad47b3d080a49b4e52f8
5b088bec719fb33d717db30e1a9c6f495515b69c
/visitor.py
b07ed357e5b3a3341187067461e293454442b18c
[]
no_license
PLUSAlo/AplicacionesPython
72390d5980c048430cbe0c77619bf81a5c2b073c
237bd85e2ab3daf90c3e2d0a33f0384090fc1909
refs/heads/master
2020-04-06T19:22:09.425311
2018-11-15T18:48:35
2018-11-15T18:48:35
157,734,420
0
0
null
null
null
null
UTF-8
Python
false
false
1,686
py
#visitor.py class House(object): #The class being visited def accept(self, visitor): """Interface to accept a visitor""" #Triggers the visiting operation! visitor.visit(self) def work_on_hvac(self, hvac_specialist): print(self, "worked on by", hvac_specialist) #Note that we now have a reference t...
[ "noreply@github.com" ]
PLUSAlo.noreply@github.com
f8781c6e5d3267a5c285a92e7ec0fb25b8282d05
aed66d0c5c914b97fbbdc4752bec5d4df427d31f
/Week08/Pset6/sentiments/application.py
a8d143dac53bf8196018db77cdd802143f5dbc1e
[]
no_license
chiuchiuuu/CS50
73d05c1f6433dba636e6eb44ef4f48d3b50c37fc
1c6b111086221ad0d71fe0621a94ea22c5a08045
refs/heads/master
2021-05-16T09:34:03.272090
2018-04-19T12:30:38
2018-04-19T12:30:38
104,468,210
3
0
null
null
null
null
UTF-8
Python
false
false
1,204
py
from flask import Flask, redirect, render_template, request, url_for import helpers import sys import os from analyzer import Analyzer app = Flask(__name__) @app.route("/") def index(): return render_template("index.html") @app.route("/search") def search(): # validate screen_name screen_name = request...
[ "30572942+chiuchiuuu@users.noreply.github.com" ]
30572942+chiuchiuuu@users.noreply.github.com
5c02cbf0ed194ab4d97ac98ceb7af761adf2a322
15a970d7358be3fdd971f71f8ee2d8e865abadaf
/rockyfire/0000.py
99baecd1037ba604327c02ae75e112120eea7bce
[]
no_license
rockyfire/python
9050f3d0fb3cff90470e7d7c63eea3654c2da96a
cf28dd2f99c0fae38ff0c8fd8a42dffe182ab396
refs/heads/master
2021-08-09T02:59:22.636555
2017-11-12T01:36:11
2017-11-12T01:36:11
110,394,742
0
0
null
2017-11-12T01:29:18
2017-11-12T01:29:18
null
UTF-8
Python
false
false
1,790
py
#-*- coding:utf8 -*- ''' sudo apt-get update sudo apt-get install python-dev sudo apt-get install libtiff5-dev libjpeg8-dev zlib1g-dev libfreetype6-dev liblcms2-dev libwebp-dev tcl8.6-dev tk8.6-dev python-tk sudo pip3 install pillow ''' # ๆŠŠๅณไธŠ่ง’ๅ›พๅ˜ๆˆๅฐๅ›พ infile="you.jpg" outfile="you" size=(80,80) small_i...
[ "rockyfire@126.com" ]
rockyfire@126.com
04f8d6bc87a258cf4e9b029554c18b19cef3151c
f50f1aa1f8f139d546db3230a1cb1f53043fd9e6
/hardware/firewire/libffado/actions.py
12ac7a51a5ba427f73271873cdf391c720e8dc69
[]
no_license
pars-linux/corporate2
7887961d1552d39bc3b0bef4a60fd3413d9b82bb
14d1eacfc824fb8d0bff8173e7ac06b36b88d10d
refs/heads/master
2020-05-26T15:02:12.005654
2017-02-27T03:07:14
2017-02-27T03:07:14
82,476,084
4
0
null
null
null
null
UTF-8
Python
false
false
747
py
#!/usr/bin/python # -*- coding: utf-8 -*- # # Copyright 2010 TUBITAK/UEKAE # Licensed under the GNU General Public License, version 2. # See the file http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt from pisi.actionsapi import pisitools from pisi.actionsapi import scons from pisi.actionsapi import get WorkDir = "...
[ "igungor@users.noreply.github.com" ]
igungor@users.noreply.github.com
c8b391a7931266d0fcb31994e9fd56daba3697fe
93e9bbcdd981a6ec08644e76ee914e42709579af
/co_fb/155_Min_Stack.py
9c2ae407af25c37ef4a4a635ed5e52ff2d13b37f
[]
no_license
vsdrun/lc_public
57aa418a8349629494782f1a009c1a8751ffe81d
6350568d16b0f8c49a020f055bb6d72e2705ea56
refs/heads/master
2020-05-31T11:23:28.448602
2019-10-02T21:00:57
2019-10-02T21:00:57
190,259,739
6
0
null
null
null
null
UTF-8
Python
false
false
1,684
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ https://leetcode.com/problems/min-stack/description/ easy. Design a stack that supports push, pop, top, and retrieving the minimum element in constant time. push(x) -- Push element x onto stack. pop() -- Removes the element on top of the stack. top() -- Get the top e...
[ "shchang@linkedin.com" ]
shchang@linkedin.com
992b9fcf1f9245559736c39f1ff5f2a4fad0a1a8
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/59/usersdata/233/44940/submittedfiles/testes.py
c32c53695e128c23eb21837b58d93558de20eeb8
[]
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
103
py
# -*- coding: utf-8 -*- #COMECE AQUI ABAIXO s='Um elefante incomoda muita gente' print(a.capitalize(s))
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
8c13285e2c7e562979a58da4c3efd37610225b5b
5abf3b5b42acce1b0006511eb28e1dd39d564559
/analyze_altmetric.py
826c95133298e03ea07eccf00af8acce1688280a
[ "MIT" ]
permissive
abitofalchemy/ScientificImpactPrediction
ac8e5d61acfab76c585e6cc21cf7a1a2111df591
fa4f429726f8b2070ccc147b38eca004a3760428
refs/heads/master
2021-01-21T04:39:58.707266
2016-06-28T09:50:41
2016-06-28T09:50:41
53,091,217
0
0
null
null
null
null
UTF-8
Python
false
false
1,802
py
# -*- coding: utf-8 -*- __author__ = "Sal Aguinaga" __copyright__ = "Copyright 2015, The Phoenix Project" __credits__ = ["Sal Aguinaga", "Rodrigo Palacios", "Tim Weninger"] __license__ = "GPL" __version__ = "0.1.0" __maintainer__ = "Sal Aguinaga" __email__ = "saguinag (at) nd dot edu" import json import argparse,trac...
[ "saguinag@nd.edu" ]
saguinag@nd.edu
09d8e28411bec6737f2bab2c0280f4aef947f48b
a5aaf046991af00ea164d370bf883dd65dec8a9e
/publishconf.py
3e5a463576696aab11284685b16ba9fba5dc39bc
[ "MIT" ]
permissive
natla/thesims-storytelling
902cb0cae1bef142f01b1e37ab04f602f24fa855
cfa38b092288f564bee4c12480e2ce1ad0f493b3
refs/heads/master
2022-10-22T22:42:39.525372
2022-09-29T22:43:17
2022-09-29T22:44:17
163,457,564
0
0
null
null
null
null
UTF-8
Python
false
false
490
py
# This file is only used if you use `make publish` or # explicitly specify it as your config file. import os import sys from pelicanconf import * # pylint: disable=wildcard-import sys.path.append(os.curdir) # If your site is available via HTTPS, make sure SITEURL begins with https:// SITEURL = 'https://symphony-ga...
[ "natalia.malkovska@gmail.com" ]
natalia.malkovska@gmail.com
235816fa216a389792fdfe911577639149faa8fa
1be659ea30f82bbfbb4e0f04b0c56df53d361a73
/venv/bin/easy_install
c98477883ea2506a885ad59c121baefdca22e6db
[]
no_license
jocelimjr2000/DBackup-Python
ed4625d0c7cbafcd84227bc4813e943ef8a69f31
74852dd4520b07b3f90d0ae906bfb711d2460ecc
refs/heads/master
2023-03-17T13:52:50.455900
2021-03-24T21:51:06
2021-03-24T21:51:06
351,210,587
0
0
null
null
null
null
UTF-8
Python
false
false
268
#!/Users/jocelim/PycharmProjects/DBackup/venv/bin/python # -*- coding: utf-8 -*- import re import sys from setuptools.command.easy_install import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "jocelimjr2000@hotmail.com" ]
jocelimjr2000@hotmail.com
eb38bc55a97113a4ff5245a636b1639df9dc6782
79064292be46828f98b9f0666b7cf83de54749d7
/Classroom/migrations/0001_initial.py
19b48c891975f5f1195e9dc6b3285f39d7badbe8
[]
no_license
prantacse4/Django_React
711ba5efd4f8ec1e3526aaf8b4ee258465b81d4d
0f59716f650c602dca398091660c99d8fb3452cf
refs/heads/master
2023-06-11T05:03:06.105140
2021-07-01T05:21:37
2021-07-01T05:21:37
381,023,740
0
0
null
null
null
null
UTF-8
Python
false
false
1,395
py
# Generated by Django 3.2.4 on 2021-07-01 04:12 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('Accounts', '0001_initial'), migrations.swappable_dependency(set...
[ "pranta.cse4.bu@gmail.com" ]
pranta.cse4.bu@gmail.com
cfa23c0f36e9717c33dffbcf6434e5f23170cdee
df1b1050f65d27bb9cf3e5705dc21d4af4a34fc3
/player/choices.py
fb816da05d91c31955e2cc570950dc632ccffd83
[]
no_license
Aisha-Atique/criclysis
494c185b18b7ab50a339ee58ea3f3764cdb922cf
07951a397565ef7d82a016db33f4168cd9245c11
refs/heads/master
2020-03-23T19:37:49.892555
2018-11-07T11:50:52
2018-11-07T11:50:52
141,992,019
0
0
null
null
null
null
UTF-8
Python
false
false
303
py
ROLE_CHOICES = ( ('Playing role Bowler', 'Playing role Bowler'), ('Playing role Allrounder', 'Playing role Allrounder'), ('Playing role Bowling allrounder', 'Playing role Bowling allrounder'), ('Playing role Batting allrounder', 'Playing role Batting allrounder'), )
[ "aishaatique1@yahoo.com" ]
aishaatique1@yahoo.com
e724a3c48e595bf7c48a83851d2e887104b40271
605d63d23bc2e07eb054979a14557d469787877e
/atest/testdata/core/resources_and_variables/variables_imported_by_resource.py
73662bdefa9dd586742fe3ebc59da8b64bfb1dc2
[ "Apache-2.0", "CC-BY-3.0" ]
permissive
robotframework/robotframework
407b0cdbe0d3bb088f9bfcf9ea7d16e22eee1ddf
cf896995f822f571c33dc5651d51365778b1cf40
refs/heads/master
2023-08-29T03:19:00.734810
2023-08-27T18:14:48
2023-08-28T18:14:11
21,273,155
8,635
2,623
Apache-2.0
2023-09-05T04:58:08
2014-06-27T11:10:38
Python
UTF-8
Python
false
false
82
py
variables_imported_by_resource = 'Variable from variables_imported_by_resource.py'
[ "peke@iki.fi" ]
peke@iki.fi
feaff7485bb58d31649aaba97aec806c7bb47198
934a0da35723bd7312167ee1c94bce48b851fd50
/work/run_parameter_sweep_missing_data.py
509f22b67b64041d301a217ce0c3a6dd82dbcd16
[ "Apache-2.0" ]
permissive
byooooo/dispersant_screening_PAL
46c8afd31b3add3aad4d519da2c6e2c1d76db810
e25acc82c18db209fbf29046780ca31835f587d0
refs/heads/master
2023-04-12T01:28:13.674545
2021-01-05T16:30:43
2021-01-05T16:30:43
252,852,504
8
5
Apache-2.0
2023-01-25T04:01:26
2020-04-03T22:06:43
Jupyter Notebook
UTF-8
Python
false
false
2,634
py
# -*- coding: utf-8 -*- # Copyright 2020 PyPAL authors # # 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/LICENSE-2.0 # # Unless required by applicable la...
[ "noreply@github.com" ]
byooooo.noreply@github.com
61df62e8287d7e1f28d3326b2933f82d53142f42
3b1d17fbecdf29e9bb1b3cf5e9ccf7476e7697dc
/script-programming/Protocol_programming/Exercises/toiminnallisuus.py
662068b534dd89dadfc593127ee99f0cfa9e9f89
[]
no_license
ILiterallyCannot/script-programming
647859e4b18efdf694887b1fde5eb8401e6a8fde
dc08d66992dd70f9edf7148933c86af05a817e57
refs/heads/master
2020-04-27T07:29:01.152793
2019-03-06T12:06:07
2019-03-06T12:06:07
174,137,373
0
0
null
null
null
null
UTF-8
Python
false
false
947
py
def send_data(socket, data): total = 0 while total < len(data): lahetetty = socket.send(data[total:]) total += lahetetty print "lahetettiin %d tavua" % total def laheta_viesti(socket, data): data_len = len(data) send_data(socket, str(data_len)+...
[ "noreply@github.com" ]
ILiterallyCannot.noreply@github.com
d4a8f90d3cad125d91e6c5d84b22f6fbe0c3ff75
53a3f72012ee69183600b26ed027d2dd35427030
/database.py
e2b6a906c0cad7d8f743f0e1649059633a55e61f
[]
no_license
clevs1363/SFHSChess
f1d7a9a17249c0186f2b0492d82ff9e908f156e0
696893db6a2db3f5896dfe3a68fa6534fa086cd8
refs/heads/master
2020-04-20T22:27:35.249904
2019-02-27T18:15:27
2019-02-27T18:15:27
169,132,847
0
0
null
null
null
null
UTF-8
Python
false
false
396
py
import sqlite3 conn = sqlite3.connect(':memory:') c = conn.cursor() c.execute("""CREATE TABLE user_login ( email text, username text, password text )""") def create_user(userObj): with conn: c.execute("INSERT INTO user_login VALUES (:username, :password)",...
[ "cleversleym13@gmail.com" ]
cleversleym13@gmail.com
14fcaeb305d053f5521da45fd3ee2dd1a9697fba
09e57dd1374713f06b70d7b37a580130d9bbab0d
/data/p3BR/R1/benchmark/startCirq155.py
094f1a6799a76414621d8cdf570c3e79f509ea54
[ "BSD-3-Clause" ]
permissive
UCLA-SEAL/QDiff
ad53650034897abb5941e74539e3aee8edb600ab
d968cbc47fe926b7f88b4adf10490f1edd6f8819
refs/heads/main
2023-08-05T04:52:24.961998
2021-09-19T02:56:16
2021-09-19T02:56:16
405,159,939
2
0
null
null
null
null
UTF-8
Python
false
false
2,673
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 5/15/20 4:49 PM # @File : grover.py # qubit number=3 # total number=29 import cirq import cirq.google as cg from typing import Optional import sys from math import log2 import numpy as np #thatsNoCode from cirq.contrib.svg import SVGCircuit # Symbols for...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
627cf8253da28f9a0b598a5ce5132606b0f3c62b
a1431c25ebd62daead742e0120a16253c4cf67ca
/django/movie/migrations/0002_auto_20190910_2053.py
212f7307d9b37543ceb71c884a998090b3067fed
[]
no_license
KonradMarzec1991/my_MDB
f840cbf495c23272b3e39db68c241219a60d63bd
d77339a4c37a3d7ae21b6d28bd9644ce15130f10
refs/heads/master
2022-04-29T10:15:37.109422
2019-11-03T20:13:57
2019-11-03T20:13:57
207,375,063
0
0
null
null
null
null
UTF-8
Python
false
false
2,230
py
# Generated by Django 2.2.5 on 2019-09-10 20:53 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('movie', '0001_initial'), ] operations = [ migrations.CreateModel( name='Person', fi...
[ "konrimarzec@gmail.com" ]
konrimarzec@gmail.com
8a7e9cb212dececbf6cc856be93fa7b78077b778
846852ff2e6e5dd0ccd24f443f2825bf809be310
/rds/aliyunsdkcms/request/v20170301/EnableAlarmRequest.py
34bd31dad5b17bf8f2f5499c503c43ef4d00d6d8
[]
no_license
iceflame999/aliyunmonitor
e8069725fb4679c97618c8b6216445950ed5e486
6de9950c6083d9ca7a861f1b7ba2a03a38f52153
refs/heads/master
2020-03-24T20:22:03.850691
2018-07-31T06:53:50
2018-07-31T06:53:50
142,974,346
1
0
null
null
null
null
UTF-8
Python
false
false
1,286
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "hanyu@roobo.com" ]
hanyu@roobo.com
d37c487f4b744517ed61737964d516663ef158fa
af435d574e0de422f321c906a4e5e514ed2fcf4b
/get_all_projects_form_gitlab.py
bedd93d571f708848b65c3f2866aa9dee00474a0
[ "MIT" ]
permissive
liguobao/git-cloneall
63c5a4a3095accfd822978cdbca641a53317c72a
5767ec1c9e4ff7f074a5cd61497b47c2cda3f418
refs/heads/main
2023-04-19T17:02:38.021229
2021-05-08T05:53:31
2021-05-08T05:53:31
365,417,745
0
0
MIT
2021-05-08T04:24:02
2021-05-08T04:24:02
null
UTF-8
Python
false
false
1,531
py
import requests from loguru import logger ## copy all gitlab headers default_headers = { "":"" } gitlab_host = "https://git.sample.com" def get_group_projects(group_name, page): url = f"{gitlab_host}/groups/{group_name}/-/children.json?page={page}" payload = {} headers = default_headers response ...
[ "codelover@qq.com" ]
codelover@qq.com
66f7467d7a2e896090798e85e65aed2155385b2d
b896fe5f0dc33a5f1270f2ccbf55678f7cd94658
/BN_SGCC/Electrical+system.py
388a8975d0e4b4226b46973f50d18122c24d655c
[]
no_license
qiwr007/SGCC
6546b5305c5b2f2b166353022219b6455e8d4de2
82f918e1e19faca0a3c942193798e4c7f43375e6
refs/heads/main
2023-06-04T22:36:50.863096
2021-06-28T11:55:16
2021-06-28T11:55:16
381,013,708
0
0
null
null
null
null
UTF-8
Python
false
false
5,233
py
import pandas as pd import os import numpy as np from sklearn.metrics import confusion_matrix from sklearn.model_selection import train_test_split # ๅฏผๅ…ฅๆœด็ด ่ดๅถๆ–ฏๅˆ†็ฑปๅ™จ from sklearn.naive_bayes import MultinomialNB import matplotlib.pyplot as plt # ๅฏ่ง†ๅŒ–ๆททๆท†็Ÿฉ้˜ต def cm_plot(y, yp): cm = confusion_matrix(y, yp) ...
[ "noreply@github.com" ]
qiwr007.noreply@github.com
ca059aa8c32a39ed214dc0199c72e92922850c57
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02677/s955369222.py
6cf51b7ad9b75384f56164aff5faa203ac653ac3
[]
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
465
py
"""AtCoder.""" import math a, b, h, m = [int(v) for v in input().split(' ')] class Point: def __init__(self, r, v): self.r = r self.w = (2 * math.pi) / v def get_pos(self, t): wt = self.w * t return self.r * math.cos(wt), self.r * math.sin(wt) p1 = Point(a, 12 * 60) p2 = ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
5a6df1e4a35b657a5b17fe0e968eb6b40bd67f03
35fb3ffea70c5c34e2eefd08d99e3eb64ee19230
/Autocad1.py
5e84d04593f1d72477ec2947ee018bdc14a77bbe
[]
no_license
aleksandrovfa/example
910da8fd7d0156f7f8d8b83526d825cad5ad8374
6bd4d65ba21077689a0d5af803955d45df0cd131
refs/heads/master
2023-01-05T21:15:11.008584
2020-10-27T19:15:34
2020-10-27T19:15:34
307,803,283
0
0
null
null
null
null
UTF-8
Python
false
false
41,033
py
import math import matplotlib.pyplot as plt import networkx as nx import numpy as np import openpyxl import pandas as pd from openpyxl.styles import PatternFill, Border, Side, Alignment, Font from termcolor import colored # ะžะฟะพั€ะฝั‹ะน ัƒะทะตะป, ั ะบะพั‚ะพั€ะพะณะพ ะฝะฐั‡ะธะฝะฐะตั‚ัั ั€ะฐัั‡ะตั‚ (ะธัั‚ะพั‡ะฝะธะบ) Support_node = 'ะŸะŸ-ะะž2' # ะŸะฐะดะตะฝะธะต U ะธ ัะพ...
[ "aleksandrov.fa95@gmail.com" ]
aleksandrov.fa95@gmail.com
1db004b2684733f7fc4fd823f8e0082adda8bd8b
e6502a8ffc6582fb3a3cc8e17b677a98b0e090a5
/pages/Page_wk_template.py
b576b8e5eda10676bd2145366056136f3a651db3
[]
no_license
jianviper/SJY_PO
fcf04151323ef23b5873da9f79a1959107241256
05960bdfde00023f39c2d6a58b5eac4c524c9cb9
refs/heads/master
2021-05-19T18:19:42.521383
2021-03-05T09:36:44
2021-03-05T09:36:44
252,061,673
2
0
null
null
null
null
UTF-8
Python
false
false
3,229
py
#!/usr/bin/env python #coding:utf-8 from selenium.webdriver.common.by import By from selenium.webdriver.common.action_chains import ActionChains from common.BasePage import BasePage from parts.tool_page import wait_tips from time import sleep ''' Create on 2020-3-18 author:linjian summary:ๆจก็‰ˆ็š„ๅ…ƒ็ด ๅฏน่ฑก ''' class TemplateP...
[ "linjianviper@vip.qq.com" ]
linjianviper@vip.qq.com
02530b5f72eb0863a34493fd9ecb943619e65782
8d19f798ae6a623e2f4741c1ab51d8ea46872af3
/geekshop/authapp/forms.py
7167d74293d53c4483cf1397f7e431c42a09e577
[]
no_license
dmitry-vokhmin/geekshop
6a8b347b546513850c67927934a06455d55f46d9
05b8df8083091664fc0cc3cb01ebe9de805c0f40
refs/heads/main
2023-07-09T10:50:47.636986
2021-08-17T17:06:04
2021-08-17T17:06:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,533
py
import random import hashlib from django.contrib.auth.forms import AuthenticationForm, UserCreationForm, UserChangeForm from django import forms from .models import ShopUser, ShopUserProfile class ShopUserLoginForm(AuthenticationForm): class Meta: model = ShopUser fields = ("username", "password")...
[ "boxdima1@gmail.com" ]
boxdima1@gmail.com
2f5a0fdf8f81ef767fc19d5a34d2bbaeb635d01d
646f2a135dc8ba97b2fc7436194dcab2a8f0ae8c
/autocomplete_light/channel/base.py
8ba3f984df5a1c0a22922c1c42937c3567e22822
[ "MIT" ]
permissive
pix0r/django-autocomplete-light
9f55252d4aa4fb8a28471772a98e793b171cdb0c
f1026dfe49934065206ca1fdae46289c68e8c231
refs/heads/master
2020-12-30T18:50:36.304623
2012-05-30T09:39:24
2012-05-30T09:39:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,932
py
""" The channel.base module provides a channel class which you can extend to make your own channel. It also serves as default channel class. """ from django.core import urlresolvers from django.template import loader from django.utils.translation import ugettext_lazy as _ __all__ = ('ChannelBase',) class ChannelBas...
[ "jamespic@gmail.com" ]
jamespic@gmail.com
070eb0eb248d00b0725d085b1937cb7a5da23da2
4351c4eed4c5b4ab0d477a989c96c0a0cfeda1e5
/omnicanvas/canvas.py
1dc679a7bd73f1dd22fd0d3b27ab18dc75d8b334
[ "MIT" ]
permissive
samirelanduk/omnicanvas
b601eb5bbeb868211cdf195ad4168ea8d0ea3c25
edc22ec802da6188759fbbbb30f0dd44aabb3a7a
refs/heads/master
2020-12-29T02:37:48.896323
2017-01-22T21:40:43
2017-01-22T21:40:43
53,693,336
3
0
null
null
null
null
UTF-8
Python
false
false
12,171
py
"""This module contains the main Canvas class.""" from .color import process_color from . import graphics from . import svg class Canvas: """A backdrop on which other :py:class:`.Graphic` objects are painted. :param width: The canvas's width in pixels. :param height: The canvas's height in pixels. :p...
[ "sam.ireland.uk@gmail.com" ]
sam.ireland.uk@gmail.com
21f5f6578d42a4cff0361b1514e27e689c8da7af
bc3e12c93dba2d05e7d60fd4090556caa99996ce
/Gerar_Mapas_Matemรกtica.py
2026a3e749521f1e08a75bca47196d2e6a91a02c
[]
no_license
Zombrooc/Python-Scripts
29421a109a2051d124a635c92ba171befb6dfb12
852dab8f9f378b3c6ee06dbbbe48adf776a2a88c
refs/heads/main
2023-07-08T16:40:50.582717
2021-08-10T11:41:55
2021-08-10T11:41:55
322,958,204
0
0
null
null
null
null
UTF-8
Python
false
false
1,265
py
from random import randrange quadrados = [] j = 1 while j < 999: lista = [] for i in range(1, 5): coresCopia = ['V', 'P', 'A', 'B'] if i is 1: lista.append(coresCopia[randrange(4)]) elif i is 2: coresCopia = ['V', 'P', 'A', 'B'] coresCopia.remove(lista[0]) lista.append(coresCopia[randran...
[ "noreply@github.com" ]
Zombrooc.noreply@github.com
da9c168a75cce38ed9ba39dc0533271d349b9866
e8b21b149f1ce8a9be0b5e52049aa48e30fc0e27
/webtier/cgi-bin/test2.py
a3aae3f33684d6ae13af4a3b146b2a46e9b71327
[]
no_license
EricB2745/BlueFlame
b52fb3fc292da01401a4e8dac863a89e223fd262
1d5c0efafade5711d49d97fe063b04e455081767
refs/heads/master
2021-08-10T20:26:20.092171
2017-11-12T23:42:39
2017-11-12T23:42:39
110,448,418
0
0
null
null
null
null
UTF-8
Python
false
false
238
py
#!/usr/bin/env python # enable debugging import cgitb cgitb.enable() from Db.OrderStatus import OrderStatus print "Content-Type: text/plain\r\n\r\n" orderStatus = OrderStatus(4, '', '') orderStatus.load() print orderStatus.toJson()
[ "ebuhring@yahoo.com" ]
ebuhring@yahoo.com
afd75311add388724a7e600527831e6721354fd8
3dcd062546df547abd3a22ee34dd4b7cc8554f2d
/simple.py
3d29978acec169342a1f69cf76aca854efd70109
[]
no_license
shixiangheng/qidian
cbb0296f4783c412c479dc066f5a2a5be746be09
77a330b6e4c5065c0e2a85106d07bc86fff86bfb
refs/heads/master
2020-06-08T02:51:54.553993
2019-08-12T02:04:27
2019-08-12T02:04:27
193,145,428
0
0
null
null
null
null
UTF-8
Python
false
false
154
py
import multiprocessing as mp import cv2 import numpy as np import os img = cv2.imread("spl.jpg") img=cv2.Canny(img, 200, 300) cv2.imwrite("c.jpg", img)
[ "noreply@github.com" ]
shixiangheng.noreply@github.com
50173552aa4041ba8d7633c9dbd2b6a83f10766d
2067efb839a6bf442200f8b4a2150f85df2f8eb2
/vrtic_budva/urls.py
51cfa0e2e4338f01c4af1541e7565604af6f8db0
[]
no_license
radomir-mijovic/preschool_managing_system
0b91dc386e308d5389f041f1d9665f7cd975d1ef
cd16aa2ddaa8e18873b60d944a7f5c538bb56847
refs/heads/master
2023-04-17T02:51:16.966802
2021-05-10T20:43:30
2021-05-10T20:43:30
363,444,841
1
0
null
null
null
null
UTF-8
Python
false
false
205
py
from django.contrib import admin from django.urls import path, include urlpatterns = [ path('', include('vrtic.urls')), path('', include('companies.urls')), path('admin/', admin.site.urls), ]
[ "batomijovic4@gmail.com" ]
batomijovic4@gmail.com
a585d4489cb8b4295cdbaa734255fddff64656b5
416f598c62277659f787a37d06f3ebc633a79d53
/every_election/apps/organisations/migrations/0036_auto_20180606_1035.py
bfa7659c15a88e941da82db96db06e8575c0edfb
[]
no_license
chris48s/EveryElection
53b6d807e97b2a8b9a943dedcc5ff6ecc65d20fc
38192a075ae359b91e2aa352fb3886c6c93d3337
refs/heads/master
2021-01-22T19:49:15.898338
2018-08-17T09:11:42
2018-08-17T09:11:42
85,244,907
0
0
null
2017-03-16T21:53:29
2017-03-16T21:53:28
null
UTF-8
Python
false
false
484
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.13 on 2018-06-06 10:35 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('organisations', '0035_rename_divset_constraint'), ] operations = [ migrations.Alte...
[ "chris.shaw480@gmail.com" ]
chris.shaw480@gmail.com
76326cd1f0f3627467abd0da88748f56f3ca7401
b5c30e1d8796e6219afcf3dd221e54d8345eff39
/contacts/urls.py
c5a4b3120e07d04655da3eaee9092511c591665f
[]
no_license
rraihansaputra/mitreka-vue-api
887e9d7d246b2af4c6b33c9f25614952e3aaecec
60f5b31ffdf56d485973eafdc7c89c82f0b6f2e0
refs/heads/master
2022-05-03T13:43:57.149551
2019-10-08T10:15:57
2019-10-08T10:15:57
213,610,717
0
0
null
2022-04-22T22:31:25
2019-10-08T10:13:38
Python
UTF-8
Python
false
false
1,200
py
"""contacts URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-base...
[ "rraihansaputra@gmail.com" ]
rraihansaputra@gmail.com
f829e7c48e92abe5ad75a0a74cac07b79e02ee0f
907a5b5399099b5e3eb25b54553fdb8dc712db37
/mimer/mimer/wsgi.py
a0eca67bb54b705e4c7a4429e28971a48d041f16
[ "MIT" ]
permissive
jollescott/mimer
b175f5ff2b84331c0e777e9580218cffa271ce1a
f32847a1275ea31347abf4790973dbb014d7de8d
refs/heads/master
2023-07-24T21:47:29.399807
2023-02-09T20:53:38
2023-02-09T20:53:38
226,271,720
0
0
MIT
2023-07-15T00:52:57
2019-12-06T07:32:42
Python
UTF-8
Python
false
false
387
py
""" WSGI config for mimer project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/2.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SETTING...
[ "jollescott.carl@hotmail.com" ]
jollescott.carl@hotmail.com
92a080835d4d17b956c1404b4cd6c7af24ef44e7
be2994ebe2361a3cd3670af5bc06872c19e27697
/utils/LoadDataAiSky.py
220b369bdb1824a5610e1cbafcf220063056611c
[ "MIT" ]
permissive
shawn3298317/SPG
541df4c35dd838e73d424f0a7da66b0e5cb5aa90
36beb51570e41e159de56b780cd60e822a85ffff
refs/heads/master
2021-01-07T13:34:12.659957
2020-05-01T02:00:11
2020-05-01T02:00:11
241,711,565
0
0
MIT
2020-02-19T19:53:31
2020-02-19T19:53:30
null
UTF-8
Python
false
false
3,164
py
import re import os import copy from collections import Counter import torch from torch.utils.data.dataset import Dataset from torch.utils.data import DataLoader import torchvision.transforms as transforms from torchvision.datasets import ImageFolder from bbox import BBox2D, XYXY, XYWH import ast import cv2 import p...
[ "shawnlin@bu.edu" ]
shawnlin@bu.edu
251d4806904d1ee835a57474bb35cd757da5a8a2
6125b244cd727da18aa80f663df73a36970eaa95
/SG_combine.py
8bb4a32ac9fae9624c401c1206921286de0a709c
[]
no_license
HELL-TO-HEAVEN/stroke
e2863780addf90167534be574f2db981dc0ccee4
73c3466bfbd4be939bc9a07c773098739ca2f51e
refs/heads/master
2020-12-13T16:56:52.176073
2019-07-02T22:48:17
2019-07-02T22:48:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,139
py
import os import cv2 import numpy as np import matplotlib.pyplot as plt from PIL import Image from scipy.spatial.distance import cosine SAVE_PATH = "result/SG" def load_data(img_path): img = Image.open(img_path) img = img.convert('L') img = np.array(img) # img = binarization(img) return img def b...
[ "qq85726@gmail.com" ]
qq85726@gmail.com
c24446138c5306616924ff004223854bde50c197
d481d28740e3c2e43285c4281aba7e1504233504
/mp_manager/process_helpers.py
bfc25a7b089e8681fd0cfc7394fb9284e7bd830b
[ "BSD-3-Clause" ]
permissive
dmiwell/mp_manager
c043c29d52584b3901b75e395c53ae02195ff139
006fd2018a6dfdd7b4f867f01c865227e89cbbf2
refs/heads/master
2023-01-10T14:20:47.484399
2022-12-27T05:08:10
2022-12-27T05:08:10
187,804,671
2
0
NOASSERTION
2022-12-27T05:08:11
2019-05-21T09:23:05
Python
UTF-8
Python
false
false
5,433
py
# -*- coding: utf-8 -*- import time import traceback import signal from multiprocessing.managers import SyncManager import pickle import datetime class NS: def __init__(self): mgr = SyncManager() mgr.start(signal.signal, (signal.SIGINT, signal.SIG_IGN)) self.ns_default = mgr.Namespace() ...
[ "dmitriy.pom0@gmail.com" ]
dmitriy.pom0@gmail.com
fcddffa8abe2694b934a5dac72502b422e0187d8
47673d255e86d35e063f2ca5da712f6679b65503
/mysite/settings.py
13f3abfcd2b2036cb3cdce42c86c8392668220cb
[]
no_license
nurcanyesil/ilk-blogum
022969a30cd68338b5a97dcd67eab2719d37df91
e7bb74ddf31a4801bfd89cf69810d0693efe6732
refs/heads/master
2021-01-12T06:02:52.783803
2016-12-24T15:19:03
2016-12-24T15:19:03
77,282,364
0
0
null
null
null
null
UTF-8
Python
false
false
3,235
py
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 1.9. For more information on this file, see https://docs.djangoproject.com/en/1.9/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.9/ref/settings/ """ import os # Bu...
[ "westnurcan@hotmail.com" ]
westnurcan@hotmail.com
0216d00c4a0280404201ed358bfc7c240952ec5a
0202d8faff21f24e468654b3da56ca16457ff5b3
/entrant/abc133/abc133-c.py
a93b0c17761a620084c2519ce520de7d390fcc5d
[]
no_license
ryogoOkura/atcoder
a3d8d052c6424db26994444eca1ebaa3efbd3e21
2865b42bbdb50d83bf129fd868083c2363e92024
refs/heads/master
2021-06-24T06:07:32.290393
2021-01-02T13:39:24
2021-01-02T13:39:24
187,552,021
0
0
null
null
null
null
UTF-8
Python
false
false
258
py
l,r=map(int,input().split()) if (l//2019) == (r//2019): l,r=l%2019,r%2019 ans=2018 for i in range(l,r): for j in range(i+1,r+1): tmp=(i*j)%2019 if tmp<ans: ans=tmp print(ans) else: print(0)
[ "nem1442so@gmail.com" ]
nem1442so@gmail.com
fcab7e57e5a9878635ff29c93ac02d85b67e4e24
b1d17d9391398fd7acd64d9d8be38085dc58678f
/appuim_app_01/test_appium_web_0628.py
4d86f0c86a40ce5efe94d3bbbb638c819a0cff8d
[]
no_license
TestingWu/pythonProject
ccaf88953e0f99e8b1c08b33b1a4309a3f1068f5
32d6465eb92b6b3f2e90d3899204cdbe8ef10dfa
refs/heads/main
2023-07-17T05:11:48.990160
2021-09-02T07:16:58
2021-09-02T07:16:58
368,195,245
0
0
null
null
null
null
UTF-8
Python
false
false
637
py
from time import sleep from appium import webdriver class TestAppiumWeb: '''ๆต‹่ฏ•ๆ‰‹ๆœบ่‡ชๅธฆ็š„ๆต่งˆๅ™จไธญ็š„็ฝ‘้กต''' def setup(self): desired_caps = { 'platformName': 'Android', 'platformVersion': '6.0.1', 'browserName': 'Browser', 'noReset': True, 'deviceName': '...
[ "543223938@qqใ€‚com" ]
543223938@qqใ€‚com
e9114bcfcb85fbaadd2c41533b2f464f2ec7e9d8
38de3e53f84dad52157b164d926324dc58e109ca
/project/urls.py
2bf909a7badce8d8f73e6039e2c3b0d125bf16e4
[]
no_license
UniqueWA/backend-service
0cf45db8408ef144e8d644af4e28deb4891c267d
cf3f8501af5921a7f172ea09fb8754ef378f6a27
refs/heads/master
2021-09-07T19:12:21.742252
2018-02-27T18:49:38
2018-02-27T18:49:38
119,415,916
0
2
null
2018-02-27T18:49:39
2018-01-29T17:25:44
JavaScript
UTF-8
Python
false
false
490
py
from django.conf.urls import url from django.contrib import admin from django.urls import path, include, re_path from rest_framework import serializers, viewsets, routers from rest_framework.urlpatterns import format_suffix_patterns from project import views router = routers.DefaultRouter() router.register(r'proje...
[ "breakroger104@gmail.com" ]
breakroger104@gmail.com
39ceb9d36775a75edf35014ee07e0ae39affc16f
f8f2536fa873afa43dafe0217faa9134e57c8a1e
/aliyun-python-sdk-hbr/aliyunsdkhbr/request/v20170908/DescribeHanaRestoresRequest.py
29b991a2c5cbecc928a581fe3e4ae75d2966a997
[ "Apache-2.0" ]
permissive
Sunnywillow/aliyun-openapi-python-sdk
40b1b17ca39467e9f8405cb2ca08a85b9befd533
6855864a1d46f818d73f5870da0efec2b820baf5
refs/heads/master
2022-12-04T02:22:27.550198
2020-08-20T04:11:34
2020-08-20T04:11:34
288,944,896
1
0
NOASSERTION
2020-08-20T08:04:01
2020-08-20T08:04:01
null
UTF-8
Python
false
false
2,536
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may ...
[ "sdk-team@alibabacloud.com" ]
sdk-team@alibabacloud.com
9d18894bc6f3d5ded7a164214f5b64ba5203e62f
7018e330f93cf5a9329172c283e20ac3d8862fdd
/test/learnselenium.py
94131cda2edf764d3b8a49d6163c1e32c9f70514
[]
no_license
mwshang/qian_ka
49654325a679958639cb81e52378f0ccaabe0c1e
e2d217c67894b7e0c5b199827ed1e6d28f3404ca
refs/heads/master
2020-05-02T17:57:57.194820
2019-04-05T13:24:45
2019-04-05T13:24:45
178,114,291
0
0
null
null
null
null
UTF-8
Python
false
false
2,696
py
from selenium import webdriver from selenium.webdriver.common.by import By from selenium.webdriver.common.keys import Keys from selenium.webdriver.support import expected_conditions as EC from selenium.webdriver.support.wait import WebDriverWait from selenium.webdriver import ActionChains from selenium.common.exception...
[ "shangmw@163.com" ]
shangmw@163.com
9cd6d2a4b8c7f93156b9edcdad455b0823b17bb2
9d8a490b8db1d6be0c2d741d4a01f3a46e8ee072
/tests/test_schema.py
299e7cfc849e15250951baed8e54ae079e5579fc
[ "MIT" ]
permissive
AxlTom/validater
a44d8d8a2d6a502192780cda01d367aebe18eeca
d3054ac7b808e16ccb2e5b4b939ff717e51f1270
refs/heads/master
2021-01-24T15:05:57.897231
2016-03-31T07:40:05
2016-03-31T07:40:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,689
py
#!/usr/bin/env python # coding: utf-8 from __future__ import unicode_literals, absolute_import, print_function from validater import validate, parse, parse_snippet, Schema, SchemaError import pytest import copy def test_parse_snippet(): assert parse_snippet('int') == { 'validater': 'int', } asser...
[ "1316792450@qq.com" ]
1316792450@qq.com
9746ce1f5cccb769036e8e989585ed927696d9af
4eafc9dd445b1f292a0a4cb94dea06f813458520
/mysite_demo/mysite_demo/urls.py
1783c981a4e25d085cf208dfd3269a338dedb01e
[]
no_license
kele5215/PycharmProjects
0fdbf584e55774ba643264b1700960862802f9af
67bbfa6ffc240ddb838c4b56971a006ea0586cfa
refs/heads/master
2023-01-05T11:24:32.405810
2019-10-21T08:26:49
2019-10-21T08:26:49
191,890,830
0
0
null
2023-01-04T23:08:54
2019-06-14T06:49:14
Jupyter Notebook
UTF-8
Python
false
false
768
py
"""mysite_demo URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.11/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Clas...
[ "77523916@qq.com" ]
77523916@qq.com
2109d760a8de819025898ddea45a4375454ef1c9
04db754364a08a365d73e53f732e5c2c2c607521
/sample1.py
e668cb7c8698eaf3b26e498c7ba2c77f9a430471
[]
no_license
jun-take/test1
b0a8f66700605c21a04d5ec7af90ea216f3c9fd8
cc972eebac538bb8a3d7f915510e4fa70cbc75c1
refs/heads/master
2020-09-22T09:22:49.804072
2019-12-01T12:35:34
2019-12-01T12:35:34
225,136,315
0
0
null
null
null
null
UTF-8
Python
false
false
34
py
wkout = "hello take" print(wkout)
[ "jun-take@mbg.ocn.ne.jp" ]
jun-take@mbg.ocn.ne.jp
79ee743f199f8c5d0810ee36a96b1e9ef33c9dcf
474f8c72ad5cc99794cfdd025a6939d621ccc2f1
/manage.py
24709d91dc802715cf15af4825b17ed1aa842332
[]
no_license
moodydev/traffic-analyzer
29dac0d0891d44085b446031d92855dda2f988fd
1cddb0b4151a1eea6d696d4ac7a861cabfe113bc
refs/heads/master
2021-12-27T10:45:33.277834
2021-12-10T11:33:21
2021-12-10T11:33:21
151,363,124
1
0
null
null
null
null
UTF-8
Python
false
false
899
py
import argparse from app import ENVIRONMENTS, scripts def _parse_args(): parser = argparse.ArgumentParser() parser.add_argument( 'command', help='Command to be executed', choices=['runserver', 'load_analyzer', 'shell'] ) parser.add_argument( '-e', '--environment', ...
[ "kovach.matej@gmail.com" ]
kovach.matej@gmail.com
796734084a7cafb3a327ff60188177363716463b
e1a846a215ca119f47216d1d2121ac03fff4d493
/All_Contents/Linear_Model/ridge.py
c9406522ec8669f48bdbe2ace8e625704a9fde87
[]
no_license
wqainlpdl/ML_with_Python3
f5af1437f62a7e853c23ac0f22da6c8b702f61a7
5e1987e36d6a58faf7b653e9aafa2ff2724b2580
refs/heads/master
2020-04-05T21:42:20.609733
2019-01-02T16:15:04
2019-01-02T16:15:04
157,230,062
0
0
null
null
null
null
UTF-8
Python
false
false
1,504
py
import numpy as np import matplotlib.pyplot as plt from sklearn import datasets from sklearn import linear_model from sklearn import model_selection def load_data(): diabetes = datasets.load_diabetes() return model_selection.train_test_split(diabetes.data,\ diabetes.target, test_size = 0.25, random_st...
[ "wqainlp@outlook.com" ]
wqainlp@outlook.com
88dd48273dd8a6333efc2ba2c6b64715187334aa
25098d32bb5257984c8ac13e67f839d544d66076
/src/bench_paper_solo_all.py
b12bf431de4f36a66477d80df0a6bfe42dcdd9df
[ "MIT" ]
permissive
dpukhkaiev/compositional-system-for-hyperparameter-tuning
74439b285c5e42ffcee0a5131bc46e52672a6513
8bd9306dd7c7c1d70cda0df9267f88949c2938eb
refs/heads/master
2023-06-27T03:27:31.461192
2020-06-19T10:38:20
2020-06-19T10:38:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
18,719
py
import warnings from hypothesis.custom_gp_kernel import KERNEL_MAUNA, KERNEL_SIMPLE, KERNEL_GPML from search import MOEActr from generator import SamplesGenerator from composite import ModelsUnion from joblib import Parallel, delayed from sklearn.neural_network import MLPRegressor from sklearn.svm import SVR from sklea...
[ "valavanca@gmail.com" ]
valavanca@gmail.com