blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
616
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
777 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
149 values
src_encoding
stringclasses
26 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
3
10.2M
extension
stringclasses
188 values
content
stringlengths
3
10.2M
authors
listlengths
1
1
author_id
stringlengths
1
132
ede2e83afd6570fbb2f705cafb0bd7f205d7062f
8e69eee9b474587925e22413717eb82e4b024360
/v1.0.0.test/toontown/coghq/CashbotMintPipeRoom_Battle01.py
3ea6d12a10e1d220b3258986f00039a6a313b1a9
[ "MIT" ]
permissive
TTOFFLINE-LEAK/ttoffline
afaef613c36dc3b70514ccee7030ba73c3b5045b
bb0e91704a755d34983e94288d50288e46b68380
refs/heads/master
2020-06-12T15:41:59.411795
2020-04-17T08:22:55
2020-04-17T08:22:55
194,348,185
5
4
null
null
null
null
UTF-8
Python
false
false
12,783
py
from toontown.coghq.SpecImports import * GlobalEntities = {1000: {'type': 'levelMgr', 'name': 'LevelMgr', 'comment': '', 'parentEntId': 0, 'cogLevel': 0, 'farPlaneDistance': 1500, 'modelFilename': 'phase_10/models/cashbotHQ/ZONE13a', 'wantDoors': 1}, 1001: {'ty...
[ "s0mberdemise@protonmail.com" ]
s0mberdemise@protonmail.com
9790bf1c9044708290b89828301bb4c50fca2e11
7c15f211adc9e9eb9f66ccdd570c9f38dff7ea8d
/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/XmlVersionTolerant/xmlserviceversiontolerant/models/_enums.py
8613d36b9b3a32583ec56a72154c261b4853f05c
[ "LicenseRef-scancode-generic-cla", "MIT" ]
permissive
Azure/autorest.python
cc4bfbf91ae11535731cad37cedd6b733edf1ebd
a00d7aaa3753ef05cb5a0d38c664a90869478d44
refs/heads/main
2023-09-03T06:58:44.246200
2023-08-31T20:11:51
2023-08-31T20:11:51
100,315,955
47
40
MIT
2023-09-14T21:00:21
2017-08-14T22:58:33
Python
UTF-8
Python
false
false
2,030
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" ]
Azure.noreply@github.com
7152f1106577cabc3e80636b18f6e63a79394ecb
a2e638cd0c124254e67963bda62c21351881ee75
/Extensions/GenericMandates/FPythonCode/GenericMandatesTreeView.py
d94e26ad66b4f6e7d32c887fb9d5bcb3e26fcc08
[]
no_license
webclinic017/fa-absa-py3
1ffa98f2bd72d541166fdaac421d3c84147a4e01
5e7cc7de3495145501ca53deb9efee2233ab7e1c
refs/heads/main
2023-04-19T10:41:21.273030
2021-05-10T08:50:05
2021-05-10T08:50:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,512
py
""" Python module that contains the functionality required to tree view. This is useful for displaying mandate information. """ import acm import FUxCore OP_NODE = {0: 'AND', 1: 'OR'} ATTR_NODE = {0: '=', 1: '=', 2: '<', 3: '>', 4: '<=', 5: '>=', 6: '*', 7: '<>'} RGB_RED = 255 RGB_GREEN = 65200 RGB_WHITE = 1625087...
[ "nencho.georogiev@absa.africa" ]
nencho.georogiev@absa.africa
d35975ebcc76f0e634c4f7f745337ca2c4b7fc57
2b316f0aa22875d6717269b18f7b7afbdeb33a26
/problem010.py
b3d6f3ce8ad34b6e715dbb55df78f85eae4aab66
[]
no_license
bhokansonfasig/Project_Euler
9057ffc3f7060bece54d162366d6dd66a43895f6
7d232534248fe99d363e8acfcec068668b448d12
refs/heads/master
2021-01-20T19:19:34.581864
2016-06-24T04:44:46
2016-06-24T04:44:46
61,857,030
0
0
null
null
null
null
UTF-8
Python
false
false
184
py
from problem003 import generate_primes if __name__ == '__main__': primes = generate_primes(2000000) total = 0 for prime in primes: total += prime print(total)
[ "bhokansonfasig@gmail.com" ]
bhokansonfasig@gmail.com
2b54eada0255e395f1a68ca26e18a13bf900b8a1
63fae45278072cf5268d0c59c6b18e01b0ec3615
/docs/classwork/python/lessons/6.5.5.py
f5e6036787ede394999a0783561f45555524de1f
[]
no_license
Matt-the-Marxist/schoolStuff
9d57366478acfd28beba2462a379ac696ce86fad
e84de3743f70b991c0ebb18b5cb234393c6ff27a
refs/heads/master
2020-04-12T16:10:49.586384
2019-11-04T17:25:23
2019-11-04T17:25:23
162,604,800
0
0
null
null
null
null
UTF-8
Python
false
false
225
py
#checks a user entered string for vowels vowels = ["a","e","i","o","u"] answer = input("Enter something: ") if any(letter in answer for letter in vowels): print("Contains a vowel") else: print("Doesn't contain a vowel")
[ "m.morrissette105000@gmail.com" ]
m.morrissette105000@gmail.com
1c2b8f83f0f87d64019b13997f1c9523d9a61b7c
23a1faa037ddaf34a7b5db8ae10ff8fa1bb79b94
/GFG/Arrays/Check if two arrays are equal or not/Solution.py
846f8608dfb4012778836c2987b08a99a7f10a57
[]
no_license
Pyk017/Competetive-Programming
e57d2fe1e26eeeca49777d79ad0cbac3ab22fe63
aaa689f9e208bc80e05a24b31aa652048858de22
refs/heads/master
2023-04-27T09:37:16.432258
2023-04-22T08:01:18
2023-04-22T08:01:18
231,229,696
2
0
null
null
null
null
UTF-8
Python
false
false
633
py
class Solution: # Function to check if two arrays are equal or not. def check(self, A, B, N): d = dict() for item in A: if item in d: d[item] += 1 else: d[item] = 1 for _item in B: if _item not in d or d[_item] == 0: ...
[ "prakharkumar506978@gmail.com" ]
prakharkumar506978@gmail.com
26547e324cd9e416cb0cb47e71e2712549b21d73
4bfbcb96dcfe05fee32d222cb7a274099db055bd
/dnn_LSTM_ce/evaluate.py
59d06d0975c2b6fe12a513c373577ed84ddaf618
[]
no_license
naushadzaman/ACL_CKBC
5c5c8b0669e059f9f08090b9500dff84af94d2e6
655f3aaf28ff5040f50e72fb8118934766306969
refs/heads/master
2020-07-17T07:30:07.943944
2018-11-19T01:27:13
2018-11-19T01:27:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,754
py
from __future__ import division from scipy.spatial.distance import cosine from scipy.stats import spearmanr from utils import lookup_with_unk from utils import lookup from utils import getWordmap from utils import getRelation #from utils import getVec from utils import Relu from utils import Sigmoid from utils import l...
[ "abbeyli92@gmail.com" ]
abbeyli92@gmail.com
ade69bda3abfc69485e37d43e81574095340bfe7
e20d947696ffb2422c5856ca1067c9a068705a82
/day008/问题.py
c9e05e35e42f5eeafc177f8d78559dff757ef269
[]
no_license
lxgzhw520/ZhangBaofu
27aed80446c687890e17c35a2bc5c93a5b75462e
401bae4b2d8e1a284d281cc29b5ed31a4e2039a4
refs/heads/master
2020-05-07T16:14:06.627708
2019-04-21T06:20:26
2019-04-21T06:20:26
180,673,589
4
3
null
null
null
null
UTF-8
Python
false
false
23,087
py
# _*_ coding:UTF-8 _*_ # 开发人员: 理想国真恵玩-张大鹏 # 开发团队: 理想国真恵玩 # 开发时间: 2019/4/8 19:31 # 文件名称: 问题.py # 开发工具: PyCharm s = """ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equi...
[ "zhangdapeng@zhangdapengdeMacBook-Pro.local" ]
zhangdapeng@zhangdapengdeMacBook-Pro.local
17cb0a396e169deadf887ea6eb35cad55b43c881
f1fdc6302b7cbc2f8630fc326c319a135aed72d8
/prepare_cvusa.py
edc7303586593b56ffe57e7306bfcc51c7326d93
[ "MIT" ]
permissive
caizy1709/University1652-Baseline
cb3faefc8476720524112ceda96f695307618968
826673462b78fc3f15129a0aa93ec156f9a7dce3
refs/heads/master
2023-07-16T21:13:03.542520
2021-08-20T13:50:43
2021-08-20T13:50:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,038
py
import os from shutil import copyfile download_path = 'data/cvpr2017_cvusa/' train_split = download_path + 'splits/train-19zl.csv' train_save_path = download_path + 'train/' if not os.path.isdir(train_save_path): os.mkdir(train_save_path) os.mkdir(train_save_path + 'street') os.mkdir(train_save_path + 'sa...
[ "zdzheng12@gmail.com" ]
zdzheng12@gmail.com
8c32441141be7a94495483dc406e33c1dea65be9
50008b3b7fb7e14f793e92f5b27bf302112a3cb4
/recipes/Python/498259_Implementing_observer_pattern_yet_agathtime/recipe-498259.py
54b0a8f0dbdab97eeecb961e36933abdbdc96197
[ "Python-2.0", "MIT" ]
permissive
betty29/code-1
db56807e19ac9cfe711b41d475a322c168cfdca6
d097ca0ad6a6aee2180d32dce6a3322621f655fd
refs/heads/master
2023-03-14T08:15:47.492844
2021-02-24T15:39:59
2021-02-24T15:39:59
341,878,663
0
0
MIT
2021-02-24T15:40:00
2021-02-24T11:31:15
Python
UTF-8
Python
false
false
8,326
py
""" observer module Typical usage is as follows: from __future__ import with_statement from observer import consumer, observation @consumer def do_something_with_notification(): while True: key, old, new = (yield) print "%s: %s -> %s" % (key, old, new) container = {} # Any modification to `cont...
[ "betty@qburst.com" ]
betty@qburst.com
6bae589f1d984870ae3d7d198ba94c7d683465fb
6219e6536774e8eeb4cadc4a84f6f2bea376c1b0
/scraper/storage_spiders/phanphoimaynuocnongcom.py
dadb65ea2d9970d550efca1f0f4b517fff1c3495
[ "MIT" ]
permissive
nguyenminhthai/choinho
109d354b410b92784a9737f020894d073bea1534
d2a216fe7a5064d73cdee3e928a7beef7f511fd1
refs/heads/master
2023-05-07T16:51:46.667755
2019-10-22T07:53:41
2019-10-22T07:53:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
980
py
# Auto generated by generator.py. Delete this line if you make modification. from scrapy.spiders import Rule from scrapy.linkextractors import LinkExtractor XPATH = { 'name' : "//div[@class='infoProduct']/h1", 'price' : "//span[@class='color-red font-bigger']", 'category' : "//ul[@class='bc-menu']/li/a", ...
[ "nguyenchungthuy.hust@gmail.com" ]
nguyenchungthuy.hust@gmail.com
d0a905d4314505643e2491d1e2579d74a7bb97ff
fb8ee3a962f6d690badd02409206be0724e6a659
/examples/dual-analysis/dualPlot.py
4069014887f014426c6fb816b8e36459947287af
[]
no_license
chonlei/SanPy
3efbfcfd46b5223c52724a57d1640a241cbde82b
fb9f399527adcdf01dad49011d7ecfd47ac77139
refs/heads/master
2023-07-11T03:46:37.249897
2021-08-11T01:54:44
2021-08-11T01:54:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,342
py
""" 20210128 Load and plot dual line-scan .tif and whole-cell recording .abf files Usage: cd dual-analysis python3 dualPlot.py Interface: Once a plot is opened, use the keyboard like this: 1: Toggle Vm plot over kymograph image 2: Toggle middle Ca plot 3: Toggle middle Vm plot 4: Toggle subplot showing lo...
[ "robert.cudmore@gmail.com" ]
robert.cudmore@gmail.com
3c6e0328e5c2daa3409d54751b0dd797c2acbc9f
189008a4bf571e74b1f2442b29d84b7d224c1b0e
/Bole_Article/Article/utils/common.py
209de2085d7bbb3f32e17cf7db1b7f3fb131b908
[]
no_license
pshyms/scrapy
48cdd3b528cc93c4c1291fe081de7b58be5f1351
97692cd7ac6214bc0a209b727d99f92292bf7868
refs/heads/master
2020-03-28T16:55:56.827546
2018-09-27T01:44:07
2018-09-27T01:44:07
148,741,976
0
0
null
null
null
null
UTF-8
Python
false
false
290
py
__author__ = 'Administrator' import hashlib def get_md5(url): if isinstance(url, str): url = url.encode("utf-8") m = hashlib.md5() m.update(url) return m.hexdigest() if __name__ == "__main__": print(get_md5("http://jobboke.com".encode("utf-8")))
[ "1816635208@qq.com" ]
1816635208@qq.com
2a855392a8750069dd02c285c15bfba3d7631d80
822d3cd484b54f0531fc205520c765a8321c0613
/pyFile/8.面向对象/2.类的属性/8.装饰类.py
1d690b413b66837cd54066b7492e0b4a983ca69b
[]
no_license
mghxy123/learnPython
31d1cc18deeed5a89864ca0333fe488e0dbf08b4
00740e87d55a4dffd78773deaff8689485df31e8
refs/heads/master
2021-07-21T14:31:02.421788
2020-06-27T11:28:01
2020-06-27T11:28:01
187,751,182
0
0
null
2020-06-07T05:14:05
2019-05-21T02:58:35
Python
UTF-8
Python
false
false
1,436
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # File : 8.装饰类.py # Author: HuXianyong # Mail: mghxy123@163.com # Date : 2019/5/16 0016 print('函数装饰类',end='\n\n') #使用函数装饰一个类 def add_name(name,cls): cls.name = name class Person: pass print(Person.__dict__) add_name('aa',Person) print(Person.__dict__) print(Person....
[ "mghxy123@163.com" ]
mghxy123@163.com
23e30059924bfeab45870b1215c0866c6e624651
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/3/ie8.py
fc9726745c6297b169eac84c2833ce1a1692d1dd
[]
no_license
G4te-Keep3r/HowdyHackers
46bfad63eafe5ac515da363e1c75fa6f4b9bca32
fb6d391aaecb60ab5c4650d4ae2ddd599fd85db2
refs/heads/master
2020-08-01T12:08:10.782018
2016-11-13T20:45:50
2016-11-13T20:45:50
73,624,224
0
1
null
null
null
null
UTF-8
Python
false
false
486
py
import sys def printFunction(lineRemaining): if lineRemaining[0] == '"' and lineRemaining[-1] == '"': if len(lineRemaining) > 2: #data to print lineRemaining = lineRemaining[1:-1] print ' '.join(lineRemaining) else: print def main(fileName): with open(fileName) as f: for line in f: ...
[ "juliettaylorswift@gmail.com" ]
juliettaylorswift@gmail.com
34fc9867e2b3fbee6f3c6a589eeaca95b5af760f
1a5ea2453c6365e6f06031e66a6ef8f1ed6be4ce
/korea/models.py
9879bb7d91906de0d14e242167b51c7e5bfc9fbf
[]
no_license
gusdn3477/ourSeoul
4283f6a8e49033049ca4c8c6e0386fbfc403ac45
378c89118825e391b85eef734bc287aca7b0d05a
refs/heads/main
2023-04-04T20:11:09.730391
2021-04-18T15:24:42
2021-04-18T15:24:42
343,732,766
0
0
null
null
null
null
UTF-8
Python
false
false
282
py
from django.db import models # Create your models here. class Contact(models.Model): email = models.EmailField(max_length=20, verbose_name='유저메일') contents = models.CharField(max_length = 100, verbose_name="내용") def __str__(self): return self.email
[ "gusdn3477@naver.com" ]
gusdn3477@naver.com
2a50217c98fbc1664733b55aa2f68add1b49836e
b3638a57ff986c9af7281f057bd4cb5641c11589
/카카오2021/prob4.py
cc792c35d32e05a6bccbe872974de1607a45c222
[]
no_license
commGom/pythonStudy
6adc01faddbe3ef88e0cbab9da174caa77857ff7
a5d52e66dfd0b3b7538454ca2b6fcd9665f83e6c
refs/heads/main
2023-08-25T12:21:27.670495
2021-10-04T08:19:42
2021-10-04T08:19:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
646
py
from bisect import bisect_right, bisect_left def solution(n, info): sum_a = sum([10-i for i, x in enumerate(info) if x != 0]) print(sum_a) for idx, value in enumerate(info): if value == 1: info[idx] = 2 elif value == 2: info[idx] = 0 sum_b = sum(list(filter(lam...
[ "babywhitebear2021@gmail.com" ]
babywhitebear2021@gmail.com
d1c1bbdc997b1888390e289eebe5785e377a5c2c
b0563825223641c458a75ad97fd9efa60c32efad
/sphinx_kml/__init__.py
80a47aca44e0acc348a84d377e95519b0b3f364f
[]
no_license
coddingtonbear/sphinx-kml
f0180bc22fd8db49813bcff2d1f832fa965eb6d4
5790a2fe0aa75a59051c82faa381f4941d0c73c7
refs/heads/master
2021-01-21T14:07:50.055984
2016-06-23T04:54:45
2016-06-23T04:54:45
59,392,398
0
0
null
null
null
null
UTF-8
Python
false
false
2,897
py
import json import os import urlparse import uuid from docutils import nodes from jinja2 import Environment, FileSystemLoader from sphinx.util.compat import Directive def spec_bool(value): if value.lower() not in ('true', 'false', ): raise ValueError("Valid options include 'true' and 'false'.") retu...
[ "me@adamcoddington.net" ]
me@adamcoddington.net
688c6f0d0c7e756ab77b397d8a21bac0d346c768
170026ff5b435027ce6e4eceea7fff5fd0b02973
/glycan_profiling/database/builder/glycopeptide/proteomics/annotation.py
1ca2f7f8914174424abdffe1d68ec980a04b0569
[ "Apache-2.0" ]
permissive
mstim/glycresoft
78f64ae8ea2896b3c4f4c185e069387824e6c9f5
1d305c42c7e6cba60326d8246e4a485596a53513
refs/heads/master
2022-12-24T23:44:53.957079
2020-09-29T13:38:20
2020-09-29T13:38:20
276,471,357
0
0
NOASSERTION
2020-07-01T20:04:43
2020-07-01T20:04:42
null
UTF-8
Python
false
false
6,170
py
import json from six import add_metaclass from glycopeptidepy.io import uniprot class AnnotationMeta(type): _cache = {} def __new__(cls, name, parents, attrs): new_type = type.__new__(cls, name, parents, attrs) try: cls._cache[name] = new_type except AttributeError: ...
[ "mobiusklein@gmail.com" ]
mobiusklein@gmail.com
ea486f200a0bb73b95d56cb9f2a6f693faf5074f
18e188d8502400b691c5688f2a00d4279ebd2dc9
/sort_numbers.py
694236a3dfa424684655baff50992b9fba69904e
[]
no_license
chanshik/codewars
3976f3e82d7c1f3dcf85c0482599b5caf8469148
14d016c5c45c26a0ce41881d5ed3b0623ed70998
refs/heads/master
2021-07-08T03:41:52.790755
2015-07-26T16:41:08
2015-07-26T16:41:08
31,489,731
4
10
null
2020-10-01T11:50:22
2015-03-01T07:17:31
Python
UTF-8
Python
false
false
626
py
""" Finish the solution so that it sorts the passed in array of numbers. If the function passes in an empty array or null/nil value then it should return an empty array. For example: solution([1,2,3,10,5]) # should return [1,2,3,5,10] solution(None) # should return [] """ def solution(nums): if not nums: ...
[ "chanshik@gmail.com" ]
chanshik@gmail.com
7f11aef06a6e9f50526d846dba81ccfec766c634
1eb989ade6a9a5467d25494393923f67c105b62a
/tests_manual/test_complex_demongraph_data.py
13137340e4b3a9a25735abe5cf2ec679dc330d42
[ "MIT" ]
permissive
giTorto/uszipcode-project
085af6085d12e2dc5fdc44975d18a49c09b0c2a2
6e845f67d7b0e5571541eda1ee14a7ad4488a400
refs/heads/master
2021-06-26T04:36:12.191548
2021-03-17T15:37:49
2021-03-17T15:37:49
219,511,817
0
0
MIT
2019-11-04T13:47:11
2019-11-04T13:47:11
null
UTF-8
Python
false
false
636
py
# -*- coding: utf-8 -*- import pytest from uszipcode.search import SearchEngine class TestComplexSearchEngineBase(object): search = None @classmethod def setup_class(cls): cls.search = SearchEngine(simple_zipcode=False) @classmethod def teardown_class(cls): cls.search.close() ...
[ "husanhe@gmail.com" ]
husanhe@gmail.com
5990900be2e014fa8d461ccd0bede6e0595d3a58
54a26bf56aebd604d4dece733f08d7d30cd27f89
/zdemo/migrations/migrations/0001_initial.py
824701a7f7153980439ad1cfea082fca2a6713b0
[ "MIT" ]
permissive
zzZaida/django_27
b78f5ae8bccfa11074221ba32241878d703aa535
bbbba8be9547fb815c68e94fadb7e8b6eebf75c9
refs/heads/master
2020-07-03T19:47:25.037195
2019-08-13T12:11:29
2019-08-13T12:11:29
202,030,146
0
0
null
null
null
null
UTF-8
Python
false
false
1,147
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.11 on 2019-08-13 02:00 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Perso...
[ "xwp_fullstack@163.com" ]
xwp_fullstack@163.com
0f2fe1a96027b3548b48826b802473650de33249
d9c95cd0efad0788bf17672f6a4ec3b29cfd2e86
/disturbance/migrations/0138_districtdbca.py
abdaf77160ddf5a5e58e631a34d2b31474cdf5c9
[ "Apache-2.0" ]
permissive
Djandwich/disturbance
cb1d25701b23414cd91e3ac5b0207618cd03a7e5
b1ba1404b9ca7c941891ea42c00b9ff9bcc41237
refs/heads/master
2023-05-05T19:52:36.124923
2021-06-03T06:37:53
2021-06-03T06:37:53
259,816,629
1
1
NOASSERTION
2021-06-03T09:46:46
2020-04-29T03:39:33
Python
UTF-8
Python
false
false
1,027
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.8 on 2020-09-03 03:12 from __future__ import unicode_literals import django.contrib.gis.db.models.fields from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('disturbance', '0137_regiondbca'), ] oper...
[ "katsufumi.shibata@dbca.wa.gov.au" ]
katsufumi.shibata@dbca.wa.gov.au
865cac423f684af668ccffe6ec4c33c4b6d03f8c
4916aeef273967c9db00d11f40611edad8570573
/config/urls.py
616ff984de64f551940b7855104e8a0e01efc2b6
[ "MIT" ]
permissive
emylonas/usepweb_project
2faec5a5694ae3713196fe68f05d813624b8aa2c
8200a53415ea0eaee9375aad80d253e6579d7d25
refs/heads/main
2023-07-11T10:17:23.114481
2021-08-10T23:04:59
2021-08-10T23:04:59
331,366,298
0
0
MIT
2021-05-12T19:56:18
2021-01-20T16:33:16
HTML
UTF-8
Python
false
false
1,755
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals # from django.conf.urls import patterns, include, url from django.conf.urls import include, url from django.contrib import admin from django.views.generic import RedirectView from usep_app import search, views admin.autodiscover() urlpatterns = [ ...
[ "birkin.diana@gmail.com" ]
birkin.diana@gmail.com
901dcc6c3af39143e328da0ae53b4e5a80fa70c0
5f5c3aed7e244d02c27df1c8e2cdb6821e4a3717
/members/migrations/0004_remove_member_team.py
fe5e3d4219df1b118d5fc6d843338c90a1c799af
[]
no_license
pranjalgupta29/website_backend
223f46fa4e0eed8c863b109a8e27f6f0dd0cd0c0
935cd3b7c1149b4fe795f0a3df8e169bfc627a53
refs/heads/master
2021-05-22T21:17:11.583842
2020-04-09T15:44:10
2020-04-09T15:44:10
253,100,189
0
0
null
2020-04-04T21:15:58
2020-04-04T21:15:57
null
UTF-8
Python
false
false
324
py
# Generated by Django 3.0 on 2019-12-19 17:56 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('members', '0003_auto_20191212_1428'), ] operations = [ migrations.RemoveField( model_name='member', name='team', ), ...
[ "jsparmani@gmail.com" ]
jsparmani@gmail.com
88ddc80301b0faa6c8467ceec705876552e7df58
d7016f69993570a1c55974582cda899ff70907ec
/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_10_27_preview/aio/operations/_open_shift_managed_clusters_operations.py
492661b228f8c156563619ba363c4de0c55482f4
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
kurtzeborn/azure-sdk-for-python
51ca636ad26ca51bc0c9e6865332781787e6f882
b23e71b289c71f179b9cf9b8c75b1922833a542a
refs/heads/main
2023-03-21T14:19:50.299852
2023-02-15T13:30:47
2023-02-15T13:30:47
157,927,277
0
0
MIT
2022-07-19T08:05:23
2018-11-16T22:15:30
Python
UTF-8
Python
false
false
42,061
py
# pylint: disable=too-many-lines # 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) AutoRe...
[ "noreply@github.com" ]
kurtzeborn.noreply@github.com
6ba9c931a14ef6eef8456a445c3899b07c91f642
11211916f39b9d98027b64d778e52743d0c519a1
/L3/admin/code/musicphotos/design/system/download/assignments/bang.py
9a414a1b7eab10ce794d67c8577690921c017801
[]
no_license
mantasruigys3000/Group-Task
87baf1bc2747323c0508f6f32ef733c3f4b50978
6790d74ae7fa0fe6b13733efcd75a9f4aca70ab0
refs/heads/master
2020-04-23T20:54:09.696659
2019-02-22T01:29:53
2019-02-22T01:29:53
171,454,102
0
0
null
2019-02-19T10:31:09
2019-02-19T10:31:08
null
UTF-8
Python
false
false
223
py
Tempora aliquam aliquam magnam quisquam. Velit etincidunt magnam eius quiquia adipisci ipsum labore. Consectetur quiquia labore numquam magnam. Username: Marcus Password: latino Modi labore etincidunt quiquia sit non amet.
[ "mantasruigys101@gmail.com" ]
mantasruigys101@gmail.com
982bd6eaf0073d56a4dc4de451ed6be84ebf806b
086514a16e3a5c710d0bfec967b9cd7a5d4917e9
/tmqrstrategy/tests/test_optimizers_base.py
68223a70d25948ab1c5b0d1ed15395ed8152546b
[]
no_license
trendmanagement/Tmqr-framework-2
5146e5551b87dcbcfbfbd9bf1470b88437ccaaa6
53a929a0a5698c57acd778abf2b7f16154697faa
refs/heads/master
2021-03-19T13:16:27.524331
2019-01-23T08:32:48
2019-01-23T08:32:48
80,124,468
2
0
null
null
null
null
UTF-8
Python
false
false
11,552
py
import unittest from unittest.mock import MagicMock, patch from tmqrstrategy.optimizers import OptimizerBase from tmqr.errors import * class OptimizerBaseTestCase(unittest.TestCase): def test_init(self): strategy = MagicMock() params = [ ('direction', [1, -1]), ('period_fas...
[ "i@alexveden.com" ]
i@alexveden.com
46f3c0a2e4c18ca8daf74c3dcea9bea3957ea563
d930697cc16f69187c0918524e655ab8259b9806
/src/clustering/twopoisson_em_with_covariates_nn.py
0c8cf27c8600eaf43057802bf4ad81dc738a49e3
[]
no_license
tkusmierczyk/badges2
7ff6c6edd8f21f90ec2981ede569c4a7c018a765
7738483c2a732a062007b14286ca2fce6684965a
refs/heads/master
2021-09-22T09:51:08.296245
2018-09-07T15:59:33
2018-09-07T15:59:33
111,401,358
0
0
null
null
null
null
UTF-8
Python
false
false
4,940
py
#!/usr/bin/python3 # -*- coding: utf-8 -*- import numpy as np import sys, os import logging sys.path.append("../") from clustering.twopoisson_em_with_covariates import TwoPoissonEM import tensorflow as tf import tempfile class TwoPoissonEM_NN(TwoPoissonEM): """ Clustering of Poisson processes with pr...
[ "you@example.com" ]
you@example.com
7e79f95fc6259c8c5e97efd173dec41236a50ca2
1f290bd29534a719ed94d30eea6a9bff241908af
/Integer to Roman.py
d37008b52d53c921fa0dfd0f3317248f175c69ef
[]
no_license
nan0445/Leetcode-Python
3a838a9178cd86220ace85da2d6a8b084975552d
bccd0f6ebb00e9569093f8ec18ebf0e94035dce6
refs/heads/master
2020-03-18T18:19:19.010566
2018-08-11T02:17:36
2018-08-11T02:17:36
135,084,509
0
0
null
null
null
null
UTF-8
Python
false
false
598
py
class Solution(object): def intToRoman(self, num): """ :type num: int :rtype: str """ s = {} s[0]=["","I","II","III","IV","V","VI","VII","VIII","IX"] s[1]=["","X","XX","XXX","XL","L","LX","LXX","LXXX","XC"] s[2]=["","C","CC","CCC","CD","D","DC","DCC","...
[ "noreply@github.com" ]
nan0445.noreply@github.com
9de5d3dda3d0ebf98910995226290f039d2dd61c
fe7b65f2f989d5293394a7b37afb45fbcb66827c
/06_TreesDataStructure/construct_binary_tree_with_INPRE.py
af655b6252a7899608536a21653371b85cfdba53
[]
no_license
ijuarezb/InterviewBit
33980fa7b6792d283784cf58ecdad6d9d926d998
e77c1baaf793106a5404d5449664822d8b05ae03
refs/heads/master
2020-07-22T23:08:05.661073
2020-01-13T00:05:07
2020-01-13T00:05:07
207,342,704
0
0
null
null
null
null
UTF-8
Python
false
false
1,886
py
#!/usr/bin/env python import sys from BST import TreeNode from BST import insertNode from BST import inOrderTraversal from BST import preOrderTraversal from BST import postOrderTraversal # Construct Binary Tree From Inorder And Preorder # https://www.interviewbit.com/problems/construct-binary-tree-from-inorder-and-pre...
[ "ivanjuarez@uchicago.edu" ]
ivanjuarez@uchicago.edu
470a233cd26e82c24b4804f9ce2b2612b9d9838d
ad46c1522245aeb7d81f8b68484aea9f8c2cc236
/hotline/images/tests.py
76b5599c61dbeab08e397c18f203d181b2ea410d
[]
no_license
kfarr2/oregoninvasiveshotline
2e7fadc9dc99b448f3307aff4e0285a3d669c80c
2556313d8d371a7a7fb279e9daecaecfc38d8686
refs/heads/master
2021-01-16T20:44:28.361441
2015-12-15T05:19:27
2015-12-15T05:19:27
40,023,637
0
0
null
2015-07-31T20:29:30
2015-07-31T20:29:30
null
UTF-8
Python
false
false
5,424
py
import tempfile from base64 import b64decode from unittest.mock import patch from django import forms from django.forms.models import modelformset_factory from django.test import TestCase from model_mommy.mommy import make from hotline.reports.models import Report from hotline.users.models import User from .fields i...
[ "mdj2@pdx.edu" ]
mdj2@pdx.edu
adebcea49f77e350c7c47c16e38d09321f2ca1c5
3ed0809f2761953d75b3652ac7378f80508d6d93
/NLP/Word2Vec/word2vec.py
4e7db960d346e653b227114afc8576e4286f40df
[]
no_license
giantianye/NLP
5d063bd742ac76914fc5fbb7c0952161c6c19b9a
df64507e7a3f27615e27413a916292426d0392ab
refs/heads/master
2022-12-23T20:38:43.716196
2020-10-05T16:24:09
2020-10-05T16:24:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,136
py
import gensim from nltk.corpus import stopwords from romeo_juliet import romeo_and_juliet # load stop words stop_words = stopwords.words('english') # preprocess text romeo_and_juliet_processed = [[word for word in romeo_and_juliet.lower().split() if word not in stop_words]] # view inner list of romeo_and_juliet_proc...
[ "chrisbrousseau304@gmail.com" ]
chrisbrousseau304@gmail.com
15e9b242cd0cb7d9924cb43e4b7de8ba2133ad92
c99dfc1d5869d756617d5d8c6c8c9af1339f1106
/tests/response/test_transactions_response.py
244bfe4e0b9413f0d8f2516914baff2673b4ae2b
[ "Apache-2.0" ]
permissive
sawdog/stellar-model
240c8dcff44aff050f8f4c1db1e0c19c9c84012b
2fe280e4fa4b4bf4c7c831285aa4f1a3f97ac731
refs/heads/main
2023-06-21T13:29:53.141753
2021-07-27T10:33:17
2021-07-27T10:33:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,343
py
from unittest import TestCase from stellar_model import TransactionsResponse from stellar_model.model.horizon.transaction import Transaction from tests.response import load_response_file class TestTransactionsResponse(TestCase): def test_valid(self): raw_data = load_response_file("transactions_response.j...
[ "4catcode@gmail.com" ]
4catcode@gmail.com
6b9cac40e68947e1a96f82bdfeb9d8ade4138adb
8935c6014af672e397e87a44e9ac00d50e189030
/CodeForces/problem/C/489C_GivenLengthAndSumOfDigits.py
248a42d206c52e566507013fe5b46d0faa2ec858
[]
no_license
arnabs542/Competitive-Programming
a85f9900ddaaaa297ec45a8fbe738b7e4aa693f5
6fd8eee93e66431f2fb31406cf1a63fa73b0bb5e
refs/heads/master
2023-01-12T07:10:20.734135
2020-11-23T01:37:19
2020-11-23T01:37:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,054
py
# https://codeforces.com/problemset/problem/489/C m,s = list(map(int, input().split())) ans_min = '' ans_max = '' if (s==0 and m>1) or s>m*9: print(-1,-1) elif m==1 and s==0: print(0,0) else: mark_value = s mark_length = m-2 i = 1 while len(ans_min) < 1: if (m-1)*9+i >= s: ...
[ "toan207" ]
toan207
f25b2a064cf5c5e6a3ec73bb69cc1b906a494c5d
b6cc87f380ceb461c7c12efa6efd4fc82b6111fb
/misc/dance1.py
50a032d288c2cd8c584eac96ec0ef1a2f0a73f38
[]
no_license
jdolitsky/kenken
a32b586af884ca10d6032cfef3556a6d9936a51f
10447c6e5cdb54cfcfa8f26128181eb32d5220f8
refs/heads/master
2021-01-20T21:48:43.254931
2013-02-19T15:59:39
2013-02-19T15:59:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,291
py
"""This script implements Knuth's 'dancing links' XDL algorithm for solving the exact cover problem by backtrack""" # The basic idea is to represent the problem as a zero-one matrix. # The rows represent subsets of some set U and the columns represent # the elements of U, and a 1 in the matrix means set members...
[ "rdasxy@gmail.com" ]
rdasxy@gmail.com
415a263907ee044aaf33afabdfc5aa126ed95aa6
f07a42f652f46106dee4749277d41c302e2b7406
/Data Set/bug-fixing-3/342609be2f6a9a3d2304d323a68b12795545fc1c-<_append_med>-fix.py
eec3bc274aed85048bd39cb0d4eae5e5cbf3806e
[]
no_license
wsgan001/PyFPattern
e0fe06341cc5d51b3ad0fe29b84098d140ed54d1
cc347e32745f99c0cd95e79a18ddacc4574d7faa
refs/heads/main
2023-08-25T23:48:26.112133
2021-10-23T14:11:22
2021-10-23T14:11:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,313
py
def _append_med(arr, pad_amt, num, axis=(- 1)): '\n Append `pad_amt` median values along `axis`.\n\n Parameters\n ----------\n arr : ndarray\n Input array of arbitrary shape.\n pad_amt : int\n Amount of padding to append.\n num : int\n Depth into `arr` along `axis` to calculat...
[ "dg1732004@smail.nju.edu.cn" ]
dg1732004@smail.nju.edu.cn
8ecb77ca804d493228ea69b34d7c472db4bcf0f5
c9500ad778b8521aaa85cb7fe3239989efaa4799
/plugins/abnormal_security/icon_abnormal_security/actions/get_cases/__init__.py
f7d20c144c37cf5ca0e411c8dfc29bec3354bff6
[ "MIT" ]
permissive
rapid7/insightconnect-plugins
5a6465e720f114d71b1a82fe14e42e94db104a0b
718d15ca36c57231bb89df0aebc53d0210db400c
refs/heads/master
2023-09-01T09:21:27.143980
2023-08-31T10:25:36
2023-08-31T10:25:36
190,435,635
61
60
MIT
2023-09-14T08:47:37
2019-06-05T17:05:12
Python
UTF-8
Python
false
false
69
py
# GENERATED BY KOMAND SDK - DO NOT EDIT from .action import GetCases
[ "noreply@github.com" ]
rapid7.noreply@github.com
95ce651a77823d8c1da53f4ac62cb3905ead92e3
01d44192518072a154b1dcb906e6f058aeb80f6e
/vaporbat/steam/protobuf/steammessages_video/steamclient_pb2.py
e60809f5f3201cedae49bcf0da9e44764f99efe6
[ "MIT" ]
permissive
lunixbochs/vaporbat
021f304c7cae25ef385df5580f330faaeeeacca7
b440e1f588459ddc215a3202e8da3c3675e29337
refs/heads/master
2020-05-16T22:18:55.460718
2015-12-09T16:37:18
2015-12-09T16:37:18
41,102,339
2
2
null
2015-12-09T16:37:18
2015-08-20T15:06:29
Python
UTF-8
Python
false
true
7,901
py
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: steammessages_video.steamclient.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf imp...
[ "lunixbochs@gmail.com" ]
lunixbochs@gmail.com
1690f083dc03a5162b7a81228660f428f152cdea
2568229bb92e190c23ed24df087fd655363990d8
/vizier/api/client/datastore/base.py
3848aebecf36dda372f18dacd8e48370539d9a75
[ "Apache-2.0" ]
permissive
sanchitcop19/web-api-async
e4f82ae78f4c3622c04d76d82000680405440d62
a3fff70c3b62678f3c8ef8cc07f7c9b4fe155c69
refs/heads/master
2020-12-31T11:06:22.047433
2020-02-04T06:07:44
2020-02-04T06:07:44
239,011,834
0
0
NOASSERTION
2020-02-07T19:56:55
2020-02-07T19:56:54
null
UTF-8
Python
false
false
7,670
py
# Copyright (C) 2017-2019 New York University, # University at Buffalo, # Illinois Institute of Technology. # # 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 th...
[ "heiko.muller@gmail.com" ]
heiko.muller@gmail.com
72315ffb197c4d8b3f3e823564a7ad51252a41e7
f9c1789bbbd5a65ebd48c9958215fb5f2a09ae05
/21_inheritance/01_intro.py
af026dd5109d5c685815d3d62aa7d82d50dfbc5a
[ "MIT" ]
permissive
ynonp/python-examples
f442ddf9fdd2210a26f5e79d09f8d77e822ef5b2
c6510a1c6e0411ecbb22eef95ab1fdd0c92da507
refs/heads/master
2020-12-24T07:11:30.290287
2016-07-29T07:10:22
2016-07-29T07:10:22
40,756,329
5
9
null
2016-07-10T19:47:04
2015-08-15T11:32:25
Python
UTF-8
Python
false
false
712
py
""" Reusing code between classes with inheritance 1. Define a base class 2. Use super """ import os class FSThing(object): def __init__(self, path): self.path = path def rename(self, newname): os.rename(self.path, newname) self.path = newname class File(FSThing): def create(sel...
[ "ynonperek@gmail.com" ]
ynonperek@gmail.com
1f9cb35778e59acaa660505426c7a99b2467fae8
99f145ac3a1b9192e54c114379f16bf992781251
/venv/lib/python2.7/site-packages/pandas/tests/plotting/test_groupby.py
101a6556c61bfd9f51cf8b79323afdb41e0c1b71
[ "MIT" ]
permissive
dushyantRathore/Cricket-API
0a7df84f9760090e8a24dc61689e63e123c33d1f
d28bc5e6c613052793117e3dbd9035e4540901bb
refs/heads/master
2021-03-24T10:18:58.362716
2020-07-08T17:52:38
2020-07-08T17:52:38
79,565,447
3
1
MIT
2018-10-01T19:16:47
2017-01-20T14:24:08
Python
UTF-8
Python
false
false
2,591
py
#!/usr/bin/env python # coding: utf-8 import nose from pandas import Series, DataFrame import pandas.util.testing as tm import numpy as np from pandas.tests.plotting.common import TestPlotBase """ Test cases for GroupBy.plot """ @tm.mplskip class TestDataFrameGroupByPlots(TestPlotBase): def test_series_gro...
[ "dushyant.bgs@gmail.com" ]
dushyant.bgs@gmail.com
bcd1dc16a7c34c9e83a598b599310219ec8b20ae
3b9d763180410bf0abf5b9c37391a64319efe839
/toontown/safezone/DistributedButterfly.py
2af903d10e7a0cc4b417b4fadf5e28b7a1becfb5
[]
no_license
qphoton/Reverse_Engineering_Project_ToonTown
442f15d484324be749f6f0e5e4e74fc6436e4e30
11468ab449060169191366bc14ff8113ee3beffb
refs/heads/master
2021-05-08T00:07:09.720166
2017-10-21T02:37:22
2017-10-21T02:37:22
107,617,661
0
1
null
null
null
null
UTF-8
Python
false
false
11,679
py
# File: D (Python 2.4) from pandac.PandaModules import * from direct.distributed.ClockDelta import * from direct.interval.IntervalGlobal import * from direct.directnotify import DirectNotifyGlobal from direct.distributed import DistributedObject from direct.fsm import ClassicFSM, State from direct.fsm import S...
[ "Infinitywilee@rocketmail.com" ]
Infinitywilee@rocketmail.com
6d7612b8cb6c5dbacf55aebf69b07ed467c7a354
a9305f461b2c03e4a55fec9f1ecc75f78265eb8e
/skt-srv.py
394dae0fbb0548d75bba3ecce062806d30eb9de1
[]
no_license
JoaoBueno/estudos-python
653afb174f2d141fcc82511c51cbfd2bca1b55cb
606e188e88ee3a2b2e1daee60c71948c678228e1
refs/heads/master
2022-01-24T20:17:52.702768
2022-01-19T20:39:20
2022-01-19T20:39:20
150,925,137
2
2
null
2022-01-19T20:40:46
2018-09-30T03:09:08
Python
UTF-8
Python
false
false
675
py
import socket def Main(): host = "127.0.0.1" port = 5000 mySocket = socket.socket() print('starting up on {} port {}'.format(host, port)) mySocket.bind((host,port)) mySocket.listen(1) conn, addr = mySocket.accept() print ("Connection from: " + str(addr)) while True: ...
[ "heavyhide@gmail.com" ]
heavyhide@gmail.com
43eff1c130d54c1571854addbe3c8d975fa0520f
f576f0ea3725d54bd2551883901b25b863fe6688
/sdk/network/azure-mgmt-network/generated_samples/vpn_site_link_get.py
bbbf2ce08c16f666e2500729dc66890737072789
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
Azure/azure-sdk-for-python
02e3838e53a33d8ba27e9bcc22bd84e790e4ca7c
c2ca191e736bb06bfbbbc9493e8325763ba990bb
refs/heads/main
2023-09-06T09:30:13.135012
2023-09-06T01:08:06
2023-09-06T01:08:06
4,127,088
4,046
2,755
MIT
2023-09-14T21:48:49
2012-04-24T16:46:12
Python
UTF-8
Python
false
false
1,549
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" ]
Azure.noreply@github.com
4354ed6018b8f603137a4abdde6027258cb8fbc9
d94b6845aeeb412aac6850b70e22628bc84d1d6d
/saccader/visual_attention/saccader.py
d07cc9dd054e374cde75ca7918e7561329bc2653
[ "CC-BY-4.0", "Apache-2.0" ]
permissive
ishine/google-research
541aea114a68ced68736340e037fc0f8257d1ea2
c1ae273841592fce4c993bf35cdd0a6424e73da4
refs/heads/master
2023-06-08T23:02:25.502203
2023-05-31T01:00:56
2023-05-31T01:06:45
242,478,569
0
0
Apache-2.0
2020-06-23T01:55:11
2020-02-23T07:59:42
Jupyter Notebook
UTF-8
Python
false
false
20,085
py
# coding=utf-8 # Copyright 2023 The Google Research 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 applicab...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
940d4ff297bd5231f01fb10fa33348d01b0328c5
c64df84d99e52cd7ebb7ae121c637bba5435bc7d
/products/migrations/0008_product_slug.py
17490a462cf7c198342b231e1dac48c59d41da8c
[]
no_license
Serrones/ecommerce
90a7151324df9855d14aac5cf12d6cc34bea6d67
2af926e5b4a60a22ae7799cdb6974e923f596018
refs/heads/master
2021-05-06T13:02:41.626630
2018-02-14T01:25:04
2018-02-14T01:25:04
113,169,044
0
0
null
null
null
null
UTF-8
Python
false
false
453
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.4 on 2017-12-24 13:08 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('products', '0007_product_active'), ] operations = [ migrations.AddField( ...
[ "fabioserrones@gmail.com" ]
fabioserrones@gmail.com
6b9802babdea52e435cbf5db2966bf1558fb4b3e
85e02de5199713e20f775a0d4d324531ff576311
/trinity/p2p/handlers.py
1bee54a1d42b767908eabaf5edd0b0316966fe29
[ "MIT" ]
permissive
liuxingyuxx/py-evm
e0726f2b2a691c5de7e7dace9899d1c8061961e4
bf1d3c2ad653b4ed6ab9ffb836735863bb5d8148
refs/heads/master
2020-03-25T09:16:23.814518
2018-08-03T03:26:50
2018-08-03T03:26:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,914
py
from typing import ( AsyncGenerator, List, Tuple, cast, ) from eth_typing import BlockNumber, Hash32 from cancel_token import CancelToken from eth.exceptions import ( HeaderNotFound, ) from eth.rlp.headers import BlockHeader from eth.rlp.receipts import Receipt from eth.rlp.transactions import Ba...
[ "pipermerriam@gmail.com" ]
pipermerriam@gmail.com
1713818d303c17a9e4578b07a35f420492067428
f40568227620154ab6d723ead43f494525982dde
/WORC/featureprocessing/StatisticalTestFeatures.py
ab53647c65e94392374ccf1e2a6e09483cb055f5
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
JZK00/WORC
cb666bd8c618b667fab44a4cba886799b6a58f5a
14e8099835eccb35d49b52b97c0be64ecca3809c
refs/heads/master
2023-07-24T06:22:50.462023
2021-08-19T11:36:41
2021-08-19T11:36:41
292,719,810
3
0
NOASSERTION
2020-09-04T01:36:04
2020-09-04T01:36:03
null
UTF-8
Python
false
false
13,363
py
#!/usr/bin/env python # Copyright 2016-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
17e547c8028e9b12610fbfb8fb9270374a9d2649
622109ab34a57029bd0469983a4c1235994d869c
/pabi_budget_internal_charge/wizard/validate_internal_charge.py
923892794ca288d9a605704a6cc111a86ffc2334
[]
no_license
thapanat/pb2_addons
edf413305c01b1e4a1bb3692973a02e6dd9d7d7b
9b818741af5eea5ede5fd11ec6c5c5462b48f71a
refs/heads/master
2020-03-18T11:12:44.753171
2018-08-09T02:55:23
2018-08-09T02:55:23
134,657,411
0
0
null
2018-05-24T03:50:21
2018-05-24T03:41:14
Python
UTF-8
Python
false
false
1,426
py
# -*- coding: utf-8 -*- from openerp import models, api, _ from openerp.exceptions import ValidationError class ValidateInternalCharge(models.TransientModel): _name = 'validate.internal.charge' @api.multi def validate_internal_charge(self): self.ensure_one() ExLine = self.env['hr.expense....
[ "kittiu@gmail.com" ]
kittiu@gmail.com
aed1208e7402b944a82d7185ea138ce3fae65b68
e2f0806ca1cdd887ea40d050a19fa2710427bd38
/기본 문제/10주차_분할 정복/1992_쿼드트리/강승훈.py
84ad4a73e1c580b619b32ba70f161b64e6a4f971
[]
no_license
JY-Dev/AlgorithmStudy-1
001f94d80097c850c79eeb2bc86971a01aa5bd5d
2ad1df0fd65c72a6f6d1feeba09f889000ff8c15
refs/heads/main
2023-08-21T18:38:18.235994
2021-09-28T07:07:11
2021-09-28T07:07:11
406,208,087
1
0
null
2021-09-14T03:14:32
2021-09-14T03:14:31
null
UTF-8
Python
false
false
2,202
py
from sys import stdin # 입력. n = int(stdin.readline()) arr = list(list(stdin.readline().strip()) for _ in range(n)) # 제출 변수. result = "" # 재귀 함수. def recursion(sub_arr): global result sub_arr = sub_arr.copy() # 복사 시킴. sub_arr_len = len(sub_arr) # 일단 들어온 파라미터에 대한 길이 구해 놓음. # 길이가 1이면 요소 담아주고 끝냄. if...
[ "noreply@github.com" ]
JY-Dev.noreply@github.com
117639b493eb596ddb7d0dee7cca4f34f8e26692
de5adc0d26131732aaaef7897e56f7d600098840
/game_stats.py
81ccaffcbac35373e44c2fdffc4831ddbe970398
[]
no_license
jach58/alienInvasion
04ff1a91fd7fc8b927fa393d88f18627b14cf0c7
9b7d640cff274e62055adae3e695543a665105f7
refs/heads/master
2021-04-06T04:04:24.764064
2018-03-11T06:02:29
2018-03-11T06:02:29
124,728,181
0
0
null
null
null
null
UTF-8
Python
false
false
579
py
class GameStats(): """ Track statistics for Alien Invasion """ def __init__(self, ai_settings): """ Initialize statistics """ self.ai_settings = ai_settings self.reset_stats() # Start Alien Invasion in an active state. self.game_active = False # High sco...
[ "jach58@hotmail.com" ]
jach58@hotmail.com
704ca893d44a27bc4808bb92fce5591428f48d91
81e83dc247d95034d714f8210ace4d9fb87a506b
/setup.py
cd675cc36122329720b275d09765f2852e5e2b93
[ "Apache-2.0", "Python-2.0" ]
permissive
last-g/python-tokens
0a930ee1e95cb2fbdd1a7feb802a225f74460415
c24f39d3c778ea88504d18e98b9f8dae7edea040
refs/heads/master
2021-01-18T00:46:52.737113
2016-02-10T21:36:29
2016-02-10T21:36:29
57,925,410
0
0
null
2016-05-02T22:32:32
2016-05-02T22:32:32
null
UTF-8
Python
false
false
1,927
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import os import sys from setuptools import setup, find_packages from setuptools.command.test import test as TestCommand def read_version(package): with open(os.path.join(package, '__init__.py'), 'r') as fd: for line in fd: if line.startswith('_...
[ "henning@jacobs1.de" ]
henning@jacobs1.de
887ae5e9af10c08fcf84b1bb3c1372eea073f598
cf5b2850dc9794eb0fc11826da4fd3ea6c22e9b1
/xlsxwriter/test/comparison/test_cond_format02.py
13e223bb984426205e8ecc574964b6a7a4714106
[ "BSD-2-Clause" ]
permissive
glasah/XlsxWriter
bcf74b43b9c114e45e1a3dd679b5ab49ee20a0ec
1e8aaeb03000dc2f294ccb89b33806ac40dabc13
refs/heads/main
2023-09-05T03:03:53.857387
2021-11-01T07:35:46
2021-11-01T07:35:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,279
py
############################################################################### # # Tests for XlsxWriter. # # SPDX-License-Identifier: BSD-2-Clause # Copyright (c), 2013-2021, John McNamara, jmcnamara@cpan.org # from ..excel_comparison_test import ExcelComparisonTest from ...workbook import Workbook class TestCompar...
[ "jmcnamara@cpan.org" ]
jmcnamara@cpan.org
381c44b24cb145e7191a8c97ec90d07e29c882f1
447425c4c71cd8b9fc55d89a1d8c72740217d514
/info/base.py
81739a00d0cff8a2356dd0b9865cb4829e555778
[]
no_license
emilte/samfundet-django
543a57e1f52c77eedcf354fc39ae7106966f5a8c
8b9755eaac7222bbe871b1e39071f73c224b7fab
refs/heads/master
2023-03-27T11:05:01.198717
2020-06-06T13:15:05
2020-06-06T13:15:05
260,361,291
0
0
null
2021-03-19T12:34:57
2020-05-01T02:13:56
HTML
UTF-8
Python
false
false
1,888
py
# # # imports # from django.db import models # from django.contrib import admin # from django.conf import settings # from django.utils import timezone # # # # End: imports ----------------------------------------------------------------- # # # Base abstract classes # # # Base admin with useful fields and save method # ...
[ "emil.telstad@gmail.com" ]
emil.telstad@gmail.com
8c9ac89477f7bd7504ab8a61b7dda8cfa1fd51b0
a7b78ab632b77d1ed6b7e1fa46c33eda7a523961
/src/foreign_if/python/UT/src/eigen/test_056.py
87b16b1e3ce6008705d30f748bbb1ebad1cf1b9f
[ "BSD-2-Clause" ]
permissive
frovedis/frovedis
80b830da4f3374891f3646a2298d71a3f42a1b2d
875ae298dfa84ee9815f53db5bf7a8b76a379a6f
refs/heads/master
2023-05-12T20:06:44.165117
2023-04-29T08:30:36
2023-04-29T08:30:36
138,103,263
68
13
BSD-2-Clause
2018-12-20T10:46:53
2018-06-21T01:17:51
C++
UTF-8
Python
false
false
952
py
#!/usr/bin/env python import sys from frovedis.exrpc.server import FrovedisServer from frovedis.linalg import eigsh from scipy.sparse import csr_matrix desc = "Testing eigsh() for csr_matrix and which = 'BE', sigma = 1.0: " # initializing the Frovedis server argvs = sys.argv argc = len(argvs) if argc < 2: print ...
[ "takuy_araki@nec.com" ]
takuy_araki@nec.com
2448b90b0349754a0a46c198b89a289580e7c9a4
4a7ede06edbe66f9d1eb485261f94cc3251a914b
/test/pyaz/cosmosdb/mongodb/collection/throughput/__init__.py
1fc0cbaa5fbda426bcb0cfcbdabe335c9dcb4b70
[ "MIT" ]
permissive
bigdatamoore/py-az-cli
a9e924ec58f3a3067b655f242ca1b675b77fa1d5
54383a4ee7cc77556f6183e74e992eec95b28e01
refs/heads/main
2023-08-14T08:21:51.004926
2021-09-19T12:17:31
2021-09-19T12:17:31
360,809,341
0
0
null
null
null
null
UTF-8
Python
false
false
1,680
py
import json, subprocess from ..... pyaz_utils import get_cli_name, get_params def show(resource_group, account_name, database_name, name): params = get_params(locals()) command = "az cosmosdb mongodb collection throughput show " + params print(command) output = subprocess.run(command, shell=True, s...
[ "“bigdatamoore@users.noreply.github.com”" ]
“bigdatamoore@users.noreply.github.com”
481ac731a0cf085e1b5611205e47de6b109e09bb
8952d299c66847fbb68a3e3fa6cc7de6c3441ef0
/megaface/match_result.py
5de82f25ba0b1aea95014799271fccd8eb12877c
[ "Apache-2.0" ]
permissive
pushkershukla/InsightFace-PyTorch
19a0712d498711bdeed727f8178c611b8270442c
7909987408f7e478dabfbb42d77d76908643c135
refs/heads/master
2023-08-09T03:44:22.599656
2023-07-31T18:11:54
2023-07-31T18:11:54
260,324,838
0
0
Apache-2.0
2020-04-30T21:45:35
2020-04-30T21:45:35
null
UTF-8
Python
false
false
1,154
py
import json import os def match_result(): with open('results/matches_facescrub_megaface_0_1000000_1.json', 'r') as file: data = json.load(file) print(len(data)) num_total = 0 num_incorrect = 0 # # print(load_dict) for i, item in enumerate(data): probes = item['probes'] ...
[ "liuyang12@focusmedia.cn" ]
liuyang12@focusmedia.cn
e62f9c39c8b307d790c4d8c133658b95291689ab
4896e930060193aa5feccd2405c64d31e156a1c4
/alembic/versions/299a128fba2_add_more_fine_version_control_schema.py
123ba7be1f4b8890251f43094952c091374da4ce
[ "MIT" ]
permissive
ModulousSmash/ModulousNext
b24c2f467c42044e8f82d251434acc86d1c5cb64
27e1b973fffc0e46c66a0472f942a837760f2815
refs/heads/dev
2020-12-11T07:21:44.179987
2016-09-22T15:47:25
2016-09-22T15:47:25
63,647,479
1
1
null
2016-07-19T00:54:38
2016-07-19T00:54:37
null
UTF-8
Python
false
false
774
py
"""Add more fine version control schema Revision ID: 299a128fba2 Revises: 1ccdaebac05 Create Date: 2014-07-17 21:26:07.956319 """ # revision identifiers, used by Alembic. revision = '299a128fba2' down_revision = '1ccdaebac05' from alembic import op import sqlalchemy as sa def upgrade(): ### commands auto gene...
[ "sir@cmpwn.com" ]
sir@cmpwn.com
bb5e911fc394920c175e212b0a2c106982b454aa
536ec8e275d0e4ac826ed492a818802f17eb29da
/ABC/161/e.py
7421c83a0ec48bc1994474265494e7b39d9a208b
[]
no_license
tamanyan/coding-problems
3d74ee708a943348ee06f1a25c45ee3a35cfd9ee
415e8230c8386163e1abf5eea217a1e5be8a15bc
refs/heads/master
2020-07-03T21:36:23.566534
2020-06-10T16:33:55
2020-06-10T16:33:55
202,057,698
0
0
null
null
null
null
UTF-8
Python
false
false
1,012
py
from heapq import heappush, heappop, heapify from collections import deque, defaultdict, Counter import itertools from itertools import permutations, combinations, accumulate import sys import bisect import string import math import time def I(): return int(input()) def S(): return input() def MI(): return map(in...
[ "tamanyan.sss@gmail.com" ]
tamanyan.sss@gmail.com
5a52fd6583230875623cc11e673794d4c614c21a
50ee2f4f1a7d2e5ff7ac35118c5ac45f9b923865
/0x11-python-network_1/2-post_email.py
290d76b1e72124883749b922cc584da45910c251
[]
no_license
spencerhcheng/holbertonschool-higher_level_programming
b489fbe8eba6109ef1eaa0d9363f3477e7eb16c4
f8e1dbc24fcf8fb40ca135d2700872eb773e481e
refs/heads/master
2021-01-20T06:54:35.044899
2018-05-20T05:09:59
2018-05-20T05:09:59
89,943,332
0
1
null
null
null
null
UTF-8
Python
false
false
328
py
#!/usr/bin/python3 import urllib.request import sys if __name__ == "__main__": url = sys.argv[1] email = {} email['email'] = sys.argv[2] data = urllib.parse.urlencode(email) data = data.encode('ascii') with urllib.request.urlopen(url, data) as response: print(response.read().decode('u...
[ "spencerhcheng@gmail.com" ]
spencerhcheng@gmail.com
b2be4f7097af7332daf8cf18d472a1eb91deaf77
aac1b5dc28d2a8563a9b3dc162ffa5230da53e2c
/plot/histogram_lifespan.py
facaefbd34dba957bf602ef9c5387758e2b715bd
[]
no_license
hitalex/popularity
fd82c10b103832adc57c5cf58896781c6acd6e9b
730cf7cf4e4430c71509519b2465fdc0a70b0ac1
refs/heads/master
2021-01-22T00:59:24.813975
2014-09-01T14:42:55
2014-09-01T14:42:55
15,410,965
0
0
null
null
null
null
UTF-8
Python
false
false
2,679
py
#coding=utf8 """ 统计每个帖子的生命周期,并作出直方图 标准:如果一个帖子在30天之内没有新的评论,则可以认为此帖已经死掉 """ import os.path import os import matplotlib.pyplot as plt from datetime import datetime, timedelta from utils import load_id_list # 设置11月初为截至时间 DEADLINE = datetime(2013, 11, 1) # 如果隔MAX_SILENT_TIME 这么长时间没有人回复,则认为帖子已经死掉 MAX_SILENT_TIME = timede...
[ "kqingchao@gmail.com" ]
kqingchao@gmail.com
c2da251b4cbb193b268436f0e4277eb07e6fd2cc
6390a7f030cc6b2ff61237e41360af2d270e1efb
/tests/basic/oo_static_inherit2.py
a4ca2ec43e4380444971b1a56f2d48bff740f85b
[ "MIT" ]
permissive
davidkellis/py2rb
b999ca4c3b9316d19ac42c6d57fbbc158ee35700
4518a1549cfacc25a1ea3c736bca3de15a123878
refs/heads/master
2023-06-22T05:32:16.209823
2021-07-05T01:55:53
2021-07-05T01:55:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
180
py
class a1(object): @staticmethod def msg(val): print("a1 static method msg says:"+str(val)) class a2(a1): pass a = a2() a.msg("hello") a2.msg("world")
[ "naitoh@gmail.com" ]
naitoh@gmail.com
3457e00677e861c6cb8c09c5a8d4d945a0617b16
a14dd601cde67f67d0ba38dfd1362f7c0109cef1
/binary-search/leetcode/grid/search-a-2D-matrix-II-240.py
910daab64e580612425a59be5e618889de10c777
[]
no_license
Meaha7/dsa
d5ea1615f05dae32671af1f1c112f0c759056473
fa80219ff8a6f4429fcf104310f4169d007af712
refs/heads/main
2023-09-03T18:52:41.950294
2021-11-05T09:14:42
2021-11-05T09:14:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
722
py
# T=mn,S=1 def x(grid, target): for row in grid: if target in row: return True return False # T=m+n,S=1 def y(grid, target): m, n = len(grid), len(grid[0]) ri, ci = 0, n - 1 while ri < m and ci > -1: if target == grid[ri][ci]: return True elif target...
[ "nikhilgoyal104ah4@gmail.com" ]
nikhilgoyal104ah4@gmail.com
607e98d3f973616947c7a126fb327f6afa970382
fc29ccdcf9983a54ae2bbcba3c994a77282ae52e
/Leetcode/834-tree.py
c8e501cf2fcb264d8270fc2e2e3f7d55a697908d
[]
no_license
linnndachen/coding-practice
d0267b197d9789ab4bcfc9eec5fb09b14c24f882
5e77c3d7a0632882d16dd064f0aad2667237ef37
refs/heads/master
2023-09-03T19:26:25.545006
2021-10-16T16:29:50
2021-10-16T16:29:50
299,794,608
0
0
null
null
null
null
UTF-8
Python
false
false
980
py
from typing import List import collections class Solution: def sumOfDistancesInTree(self, n: int, edges: List[List[int]]) -> List[int]: graph = collections.defaultdict(set) for a, b in edges: graph[a].add(b) graph[b].add(a) res = [0] * n count = [1] * n ...
[ "lchen.msc2019@ivey.ca" ]
lchen.msc2019@ivey.ca
f5dec46715adb7ff3b4081fb8c18c2128443b17a
7aa10546a81f426c7af25008baeeef4459fbf619
/tests/build/issue22336-ICE-emit-rtl/test_config.py
13e589e161c76bb52a9f3e18c6a713ff43e33b7d
[ "Apache-2.0" ]
permissive
scyclzy/ndk
43973b1edf486609bca35c89f93c780a69c7da09
ac1728d35848f54d7d6a2e2bfe3ed0ca422e5db7
refs/heads/master
2020-04-02T01:47:40.973003
2018-10-19T03:56:35
2018-10-19T03:56:35
153,875,395
0
0
null
null
null
null
UTF-8
Python
false
false
102
py
def build_unsupported(abi, platform): if abi != 'armeabi-v7a': return abi return None
[ "danalbert@google.com" ]
danalbert@google.com
22f4cd17815798f5a9478b1c6623016c6b34f085
44d8042c77a8f18c03bec92b619425a0787e3ddb
/Classes/py3intro/EXAMPLES/usefoo.py
5aa43379f546db15f567ab7201e86576e23ad1f1
[]
no_license
Jgoschke86/Jay
3015613770d85d9fa65620cc1d2514357569b9bb
9a3cd87a5cff35c1f2a4fd6a14949c6f3694e3e2
refs/heads/master
2023-05-26T15:49:08.681125
2023-04-28T22:16:09
2023-04-28T22:16:09
215,616,981
0
0
null
null
null
null
UTF-8
Python
false
false
63
py
#!/usr/bin/python3 import foolib foolib.hello() foolib.shush()
[ "56652104+Jgoschke86@users.noreply.github.com" ]
56652104+Jgoschke86@users.noreply.github.com
0abeaf9b4953acd4c08f14979b03b14548544bfa
2d6c05cd1a65d4c35b6a89b78364fc3add91754a
/build/fbcode_builder_config.py
f0c4a8ba4fa4f4fc933eb02b4be04247f01a4fb9
[ "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause" ]
permissive
lizhangqiang/proxygen
cdb9120c913f8bd3014daa94b47ac3f034cbc5fe
aa84cf83d4f12967d455bab991c8cb5705f307f6
refs/heads/master
2020-08-29T06:54:51.250546
2019-10-28T02:16:26
2019-10-28T02:17:51
217,959,691
1
0
NOASSERTION
2019-10-28T03:33:13
2019-10-28T03:33:12
null
UTF-8
Python
false
false
1,185
py
#!/usr/bin/env python # Copyright (c) Facebook, Inc. and its affiliates. # All rights reserved. # # This source code is licensed under the BSD-style license found in the # LICENSE file in the root directory of this source tree. from __future__ import absolute_import, division, print_function, unicode_literals import ...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
f509da8c206c6d809ed7ae015ef230d1c549b185
4c8a32fee60c54777396f80e6698c95fb18ae5b5
/env/Lib/site-packages/werkzeug/wrappers/auth.py
5afd16a556f182f7886250663a9c294562497ac0
[]
no_license
LUINFO89/PlataformaGestiondeVuelos
f91cd351df6d5e40e341cbcae793d819faecaf75
adc6d6dc888d551ab83726c2dbdd7e6db4398c3b
refs/heads/main
2023-08-30T08:30:43.089497
2021-10-30T01:25:12
2021-10-30T01:25:12
422,015,313
1
0
null
null
null
null
UTF-8
Python
false
false
882
py
import typing as t import warnings class AuthorizationMixin: def __init__(self, *args: t.Any, **kwargs: t.Any) -> None: warnings.warn( "'AuthorizationMixin' is deprecated and will be removed in" " Werkzeug 2.1. 'Request' now includes the functionality" " direct...
[ "luisinformatica.89@gmail.com" ]
luisinformatica.89@gmail.com
59ddd4fdf2cb5816a2c5df03bb794ea43c74486d
9159f7c0d59f35f007bedc58d14e02351f94cc06
/tests/nightscout_fake.py
37f92d72ee2a4e45fca32881980858edbf668784
[]
no_license
dentedachiii/tconnectsync
e724535bdf2b7945d4d67ddd6f8e057f676811ca
7d813ee8fbd48f5c8fd35a807ff025dbf218f475
refs/heads/master
2023-06-11T20:29:43.555323
2021-07-10T01:49:34
2021-07-10T01:49:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
927
py
import collections import tconnectsync.nightscout class NightscoutApi(tconnectsync.nightscout.NightscoutApi): def __init__(self): self.url = 'invalid://' self.secret = 'invalid' self.uploaded_entries = collections.defaultdict(list) self.deleted_entries = collections.defaultdict(li...
[ "j@wogloms.net" ]
j@wogloms.net
465985a8f1b774aac478010b29a2b0f49b5af6e7
c630b9a72bb1cc780a0c0ab4e99c633cc58c9ce5
/data_service/views/settings.py
14a0eadf7f25422a891f6b43672004f4f03fc4b0
[ "MIT" ]
permissive
webclinic017/gcp-database-as-a-service-stock-markets
4e48386da216167974215084fb81d936d3be0390
7d6a12c33db238ca2f748bf4ddea6d2cf3c16da3
refs/heads/main
2023-07-28T18:04:05.224924
2021-08-29T16:29:47
2021-08-29T16:29:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,788
py
import typing from flask import jsonify, current_app from data_service.config.types import dict_list_type, tickers_type from data_service.main import cache_stocks from data_service.store.settings import (ExchangeDataModel, ScrappingPagesModel, StockAPIEndPointModel) from data_se...
[ "mobiusndou@gmail.com" ]
mobiusndou@gmail.com
e4c8ccf33b80d230044250d3d1498f235a236a19
c3fc0ac185ecdb467a959e79439b1adab53db089
/code/chapter_14_example_02.py
93a7f125fcf74c3829fff70ded6b6d590e8d9f8d
[]
no_license
twoscoops/two-scoops-of-django-1.11
a3b037061ac48aaa1648af31d26bb5955af627af
5eb68a22ca9c602b0042245f2c9f11a789377e04
refs/heads/master
2022-08-22T00:13:02.843450
2020-03-04T15:16:58
2020-03-04T15:16:58
72,587,543
478
93
null
2018-05-05T21:35:22
2016-11-02T00:06:10
Python
UTF-8
Python
false
false
1,804
py
""" Using This Code Example ========================= The code examples provided are provided by Daniel Greenfeld and Audrey Roy of Two Scoops Press to help you reference Two Scoops of Django: Best Practices for Django 1.11. Code samples follow PEP-0008, with exceptions made for the purposes of improving book formatti...
[ "pydanny@gmail.com" ]
pydanny@gmail.com
ef3c8bd22d327b4c406e1b28b5a1a00ef2c335c2
98c6ea9c884152e8340605a706efefbea6170be5
/examples/data/Assignment_7/knttam001/push.py
fdced8617085d854783833e25bc7d94f920550bd
[]
no_license
MrHamdulay/csc3-capstone
479d659e1dcd28040e83ebd9e3374d0ccc0c6817
6f0fa0fa1555ceb1b0fb33f25e9694e68b6a53d2
refs/heads/master
2021-03-12T21:55:57.781339
2014-09-22T02:22:22
2014-09-22T02:22:22
22,372,174
0
0
null
null
null
null
UTF-8
Python
false
false
1,155
py
import util def push_up (grid): """merge grid values upwards""" for i in grid: for x in i: def push_down (grid): """merge grid values downwards""" for i in range(4): for j in range(4): position = grid[i][j] down = ...
[ "jarr2000@gmail.com" ]
jarr2000@gmail.com
1c5ecb08184bb2a0ee2a802d98cd08faf10c0882
02cbe1fdb87be63810d23b6d14c5b7f4341c6110
/LinguisticTools/tests/pythonpath/lingttest/ui/dlg_interlinsettings_test.py
017f19c0693f70248f4fd29597c4d7ca1a6b69ef
[]
no_license
silnrsi/libreoffice-linguistic-tools
799d74474a58d01696cc7c5532e827ad1462acd5
0a70cf6359d39fb080f8204d059297b577fc1260
refs/heads/master
2023-09-04T05:55:07.648780
2023-08-22T20:52:51
2023-08-22T20:53:55
80,170,496
6
1
null
null
null
null
UTF-8
Python
false
false
7,576
py
# -*- coding: Latin-1 -*- import logging import unittest import os from lingttest.utils import testutil from lingttest.utils.testutil import MyActionEvent, MyTextEvent from lingt.access.writer.uservars import Prefix, UserVars from lingt.ui.comp.interlinsettings import DlgInterlinSettings from lingt.utils import util...
[ "jk.kornelsen@gmail.com" ]
jk.kornelsen@gmail.com
ef062653ee1466b050f54529186d5030111bb956
ca8c752a77eeb73ac36b9179fc72e9f650739ebb
/himyb/wsgi.py
843123b48d0cb43102b2d2c1fe2d50326160ddf0
[]
no_license
pythonmentor/yoan-p11
e888ce673a48f3dfd0e55fc5b94cbfedf51a88cf
16ac8b90d2fa71aa69a4721f8a33828aef99de6f
refs/heads/master
2022-12-28T09:00:05.319924
2020-09-23T23:53:17
2020-09-23T23:53:17
302,567,318
0
0
null
null
null
null
UTF-8
Python
false
false
387
py
""" WSGI config for himyb 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/3.0/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SETTING...
[ "yoanfornari@gmail.com" ]
yoanfornari@gmail.com
615c59028ab90044f01e7ed0b522377f17db801b
1310c95b62c21adc54cad40139ae57139abc7c60
/reproduce/diffrlrra/nankai_new/SConstruct
8c54a01e71a33606b0b9bdb363ac4ceee52cdbde
[]
no_license
ChongminZhang/useful-utilities
3280f3238836c42dc938a74ed002dc9b9ec3e8df
d347ac2bcae81f54bcc114e3b982e6adeb03bb26
refs/heads/master
2022-12-08T13:56:11.340982
2020-09-06T18:56:23
2020-09-06T18:56:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
26,483
from rsf.proj import * from rsf.prog import RSFROOT from rsf.recipes.tpx import FPX ### plotting functions def section(title,label1='Time',unit1='s',min1=5.8,max1=8.0,extra=" "): return ''' window min1=%g max1=%g | grey title="%s" label1="%s" unit1="%s" label2=Distance unit2=m %s ''' % (min1,max...
[ "chenyk1990@gmail.com" ]
chenyk1990@gmail.com
46c6a444ba4aac79614b3642aa8f113f8dc07df3
5dea8cc7cb055fda3239aa7f867c37324c1d6108
/storm.py
47be6c21c5f86b080a8e5e75fcaa4027d12f7fa0
[]
no_license
mikeboers/PyStorm
77183292e30b41bb0c042123fc79fb5620842814
b23f7de60552cb235af1765f3e34829eef8dfaee
refs/heads/master
2023-06-08T05:52:16.146383
2012-06-19T21:43:33
2012-06-19T21:43:33
4,719,403
2
0
null
null
null
null
UTF-8
Python
false
false
1,247
py
import os import ctypes from ctypes import c_void_p, byref storm = ctypes.CDLL(os.path.join(os.path.dirname(__file__), 'libstorm.so')) def _errcheck(result, func, args): print 'ERRCHECK', result, func, args return result for name in ''' SFileOpenArchive SFileCreateArchive SFileFlushArchive S...
[ "github@mikeboers.com" ]
github@mikeboers.com
20a03d55b0214185f244764829ba71eb00796013
f66f63699ad8f956974bcb9cbdf272b45aacb665
/fortress/printers/functions/cfg.py
5639e4893d94fb563b4736391d290c636e6d86d9
[]
no_license
bydolson/fortress-security-audit-engine
8b0714909d14952c3fb572a6afb2202fa01f256d
7a55877bdde0d6adabe3ce9c4f92e8ba20b4b3cc
refs/heads/main
2023-01-24T12:47:38.214542
2020-12-08T12:16:05
2020-12-08T12:16:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,349
py
from fortress.printers.abstract_printer import AbstractPrinter class CFG(AbstractPrinter): ARGUMENT = "cfg" HELP = "Export the CFG of each functions" WIKI = "https://github.com/trailofbits/fortress/wiki/Printer-documentation#cfg" def output(self, filename): """ _filename is not used...
[ "canercak@gmail.com" ]
canercak@gmail.com
0f016b6db8291113db0412e6800604fa10a3a458
db326011a46bdc55c64b0c35424df551ed030519
/algorithms/TheGrind/1Week1/8July/Segregate0and1.py
4a48b351826f0c57379ee8c5a3172be70f023420
[]
no_license
humachine/AlgoLearning
ac9a6bd0fdf1293ca63d85732bfbbf864bd68220
2d06ab566c8adc6d864c5565310b56008d2d4b31
refs/heads/master
2020-12-12T07:19:02.518810
2017-04-29T07:15:04
2017-04-29T07:15:04
49,476,721
1
1
null
null
null
null
UTF-8
Python
false
false
838
py
#http://www.geeksforgeeks.org/segregate-0s-and-1s-in-an-array-by-traversing-array-once/ # Segregate all the 0s to the left and all the 1s to the right in an array in a single pass # Input : Array of bits # Output : Array with all zeros on the left and ones on the right # Time Complexity = O(n) # Space Complexity = O(1)...
[ "swarun@gmail.com" ]
swarun@gmail.com
a14095a5fb5ebde1873644b570862812d6e70dde
0273ff0e05526b52eb96b4960251d685b467ba0f
/velo_payments/models/payment_delta_response_v1.py
a6bc5bb424153481d3d155415fda01718ec49e8a
[ "Apache-2.0" ]
permissive
velopaymentsapi/velo-python
9ea83209db0161e83960993f47868285c92ef948
59b39555e9714139b4bf697151cc7d15f6dd510e
refs/heads/master
2022-08-19T00:57:28.455431
2021-05-25T02:14:44
2021-05-25T02:14:44
202,158,716
0
0
Apache-2.0
2019-11-04T22:34:30
2019-08-13T14:11:36
Python
UTF-8
Python
false
false
9,075
py
# coding: utf-8 """ Velo Payments APIs ## Terms and Definitions Throughout this document and the Velo platform the following terms are used: * **Payor.** An entity (typically a corporation) which wishes to pay funds to one or more payees via a payout. * **Payee.** The recipient of funds paid out by a payor....
[ "britton@lklabs.com" ]
britton@lklabs.com
2f239b3b7dd2a54d3b49774bb726cca0be56f110
3e24611b7315b5ad588b2128570f1341b9c968e8
/pacbiolib/pacbio/pythonpkgs/pbreports/lib/python2.7/site-packages/pbreports/report/filter_subread.py
62e6aa4877391c9b24053c9de3b79e0b942d9b5f
[ "BSD-2-Clause" ]
permissive
bioCKO/lpp_Script
dc327be88c7d12243e25557f7da68d963917aa90
0cb2eedb48d4afa25abc2ed7231eb1fdd9baecc2
refs/heads/master
2022-02-27T12:35:05.979231
2019-08-27T05:56:33
2019-08-27T05:56:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,529
py
# TODO modernize this or delete """ Streaming Subreading Filtering Report CSV file format is: MovieName,HoleNumber,Start,End,Length,PassedFilter m120404_091356_42139_c000325362550000001500000112311376_s1_p0,8,426,664,238,0 m120404_091356_42139_c000325362550000001500000112311376_s1_p0,8,705,1035,330,0 m120404_091356...
[ "409511038@qq.com" ]
409511038@qq.com
742b0b69b18cbd6860bb176e45bef69a7a9bf408
2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02
/ACL_PyTorch/contrib/cv/pose_estimation/HRNet/imagenet_acc_eval.py
4d1bb56a28c21026a1dba8f5bb511f38d3cb6209
[ "Apache-2.0", "BSD-2-Clause", "MIT", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference", "GPL-1.0-or-later" ]
permissive
Ascend/ModelZoo-PyTorch
4c89414b9e2582cef9926d4670108a090c839d2d
92acc188d3a0f634de58463b6676e70df83ef808
refs/heads/master
2023-07-19T12:40:00.512853
2023-07-17T02:48:18
2023-07-17T02:48:18
483,502,469
23
6
Apache-2.0
2022-10-15T09:29:12
2022-04-20T04:11:18
Python
UTF-8
Python
false
false
6,181
py
# Copyright 2020 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 agree...
[ "liuzhuheng@huawei.com" ]
liuzhuheng@huawei.com
5f8bb3a2760c03a7fb6af68e568e942a3acd6d92
c0fad90611a6e943277c3d79eeb48ccd5f0d0a88
/145.1inorderTraversal.py
be1d182f58026e757e54d0da08061a7ffb1aeb7d
[]
no_license
lmb633/leetcode
e2da31984af07b9e16787f4d57f82dab2dcb551a
d91568d245dd8fb66f46ff73737cbad974f490a6
refs/heads/master
2021-07-19T16:07:40.864854
2021-02-24T10:57:40
2021-02-24T10:57:40
243,146,182
0
0
null
null
null
null
UTF-8
Python
false
false
1,120
py
class TreeNode(object): def __init__(self, x): self.val = x self.left = None self.right = None # def __eq__(self, other): # return self.val==other.val def inorderTravel(root): if not root: return [] result = [] cur = root while cur: if cur.left i...
[ "foamliu@yeah.net" ]
foamliu@yeah.net
e62da07cf3d424812548c86ab99ffea5b0a40934
6550cc368f029b3955261085eebbddcfee0547e1
/第14部分-复习/day153/NewDay/app01/__init__.py
3cbc103f7d0a34d215d2df9a369e008bcccb7f93
[]
no_license
vividyellow/oldboyeduPython14qi
d00c8f45326e16464c3d4e8df200d93779f68bd3
de1e9f6efafa2846c068b3fe5ad6e1ca19f74a11
refs/heads/master
2022-09-17T21:03:17.898472
2020-01-31T10:55:01
2020-01-31T10:55:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
239
py
from flask import Flask from .views.user import user from .views.acc import acc def create_app(): app = Flask(__name__) app.config["DEBUG"] = True app.register_blueprint(user) app.register_blueprint(acc) return app
[ "524991368@qq.com" ]
524991368@qq.com
664b354644b6a204776acdd084b0802265ab3f2b
6164df518a3108bc35022caddc220a3421d1133a
/Scripts/selected-glyphs/_metrics/set-margins.py
8c2b482c0e53639488c29ba3c6ebd4f4f7f83583
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
jeremymickel/hTools2
14fa526771e9acee46d434936df80845fde36b35
9edff41562881c3d5bb6d8f00d0000f233faa38c
refs/heads/master
2020-12-25T08:42:01.448464
2013-07-20T16:19:46
2013-07-20T16:19:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
279
py
# [h] set margins dialog '''Set left/right side-bearings of selected glyphs.''' # debug import hTools2 reload(hTools2) if hTools2.DEBUG: import hTools2.dialogs reload(hTools2.dialogs) # import from hTools2.dialogs import setMarginsDialog # run setMarginsDialog()
[ "gustavo@hipertipo.com" ]
gustavo@hipertipo.com
42b6754b55bb2b02f4ee398bc9064e265009dd73
478570cde911b8e8e39046de62d3b5966b850384
/apicompatanamdw/compatanalysercmd/checkbc/scripts/cds/processors/webAPIDB.py
861055dc01bb75b87aed1279df3016e8f43eeeb1
[]
no_license
SymbianSource/oss.FCL.sftools.ana.compatanamdw
a6a8abf9ef7ad71021d43b7f2b2076b504d4445e
1169475bbf82ebb763de36686d144336fcf9d93b
refs/heads/master
2020-12-24T12:29:44.646072
2010-11-11T14:03:20
2010-11-11T14:03:20
72,994,432
0
0
null
null
null
null
UTF-8
Python
false
false
3,805
py
# # Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). # All rights reserved. # This component and the accompanying materials are made available # under the terms of "Eclipse Public License v1.0" # which accompanies this distribution, and is available # at the URL "http://www.eclipse.org/legal/epl-...
[ "none@none" ]
none@none
09b3796a4422f4c8da5f4f75d6d53298f81ae812
f889bc01147869459c0a516382e7b95221295a7b
/swagger_client/models/body_121.py
85294eab0efb4bbbb83c99411c9f12c6934bd4e8
[]
no_license
wildatheart/magento2-api-client
249a86f5c0289743f8df5b0324ccabd76f326512
e6a707f85b37c6c3e4ef3ff78507a7deb8f71427
refs/heads/master
2021-07-14T16:01:17.644472
2017-10-18T13:33:08
2017-10-18T13:33:08
107,412,121
1
1
null
null
null
null
UTF-8
Python
false
false
3,096
py
# coding: utf-8 """ Magento Community No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 2.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from pprint import pformat from six import iteritems import...
[ "sander@wildatheart.eu" ]
sander@wildatheart.eu
72d9c2daef5472565957095ada8c5fd9aee43dc9
c8d482130945c0e697e21ce774c2537da933efc6
/products/views.py
5f24302d664c4b0b329002fd0fee1d6e4c4e8ea1
[]
no_license
phrac/forgedbyus
cd675a3b66dff340259c076f4e83d6cc19ab5ec3
0ac92da9b329fac6861afdedcf33ea06c181d271
refs/heads/master
2023-01-05T11:30:59.060677
2016-05-27T15:45:07
2016-05-27T15:45:07
42,414,584
0
0
null
2022-12-26T19:53:20
2015-09-13T21:59:27
JavaScript
UTF-8
Python
false
false
3,270
py
from django.contrib.admin.views.decorators import staff_member_required from django.core.urlresolvers import reverse from django.http import HttpResponseRedirect, HttpResponsePermanentRedirect from django.shortcuts import render, redirect, get_object_or_404 from products.forms import NewAmazonProductForm, ProductForm,...
[ "derek@disflux.com" ]
derek@disflux.com
7d110f6ccd591f6492b8b2677fa4e833f11c9f8b
ddc6e402758c364d25ce9caeda7b3cd94dbcd546
/Medium/50_Pow(x, n).py
7727c2b644712c8050e8d7e29eeed8d4efba4619
[]
no_license
J-pcy/Jffery_Leetcode_Python
f01cdbb31a114bc6ed91139d0bd2cdddda35a503
f34c370fbb9fb171d5ec33337116a764c25cd2dd
refs/heads/master
2020-03-20T20:20:02.931776
2018-11-02T19:41:36
2018-11-02T19:41:36
137,682,076
0
0
null
null
null
null
UTF-8
Python
false
false
1,406
py
""" Implement pow(x, n), which calculates x raised to the power n (x^n). Example 1: Input: 2.00000, 10 Output: 1024.00000 Example 2: Input: 2.10000, 3 Output: 9.26100 Example 3: Input: 2.00000, -2 Output: 0.25000 Explanation: 2^-2 = 1/2^2 = 1/4 = 0.25 Note: -100.0 < x < 100.0 n is a 32-bit signed integer, within t...
[ "chenyupe@usc.edu" ]
chenyupe@usc.edu
21301edbfed445e37d8b3c85cfedc2455f9823db
e0fbc96bec9e83bc3fc3482e432bd2c6b6ad05a6
/MRPT/vqz/atoms/O_1/mrpt.py
98ae9fe7b61f251dabcc82b55bd6061ce44d622d
[ "MIT" ]
permissive
mussard/share_data_benchmark
fe2cbd95879e069be2475d39b191de4f04e140ee
c02bfa4017b9008800cabe47d7c7959f82c26060
refs/heads/master
2020-03-11T21:25:00.264437
2019-04-29T00:28:13
2019-04-29T00:28:13
130,264,292
0
0
null
null
null
null
UTF-8
Python
false
false
1,762
py
import json from pyscf import gto,scf,mcscf, fci, lo, ci, cc from pyscf.scf import ROHF, UHF,ROKS import numpy as np import pandas as pd # THIS IS WERE IT STARTS ==================================== df=json.load(open("../../../trail.json")) spins={'Sc':1, 'Ti':2, 'V':3, 'Cr':6, 'Mn':5, 'Fe':4, 'Cu':1} nd={'Sc':(1,0...
[ "bastien.mussard@colorado.edu" ]
bastien.mussard@colorado.edu
84da4b48ce2184a5f0fd35aafb0fa48f31485cc9
6b495f89c4bf201ad62292f3aa76b7bf8f8e1ac8
/my_learn/tk_learn/py_to_exe/post_send.spec
b01138035b47c9782a8c3fac5acbb3cde3dbfa8d
[]
no_license
block1b/2017python
378ce135528336bc2837228cdc7f543ccafaa06d
40638d9efaf6bc3f82dcc6008fc02f5ab84b0f32
refs/heads/master
2020-03-07T20:24:15.742763
2018-04-02T03:43:40
2018-04-02T03:43:40
127,696,415
0
0
null
null
null
null
UTF-8
Python
false
false
798
spec
# -*- mode: python -*- block_cipher = None a = Analysis(['post_send.py'], pathex=['C:\\python27', 'E:\\block_han\\mydata\\my_python\\my_learn\\tk_learn\\py_to_exe'], binaries=[], datas=[], hiddenimports=[], hookspath=[], runtime_hooks=[], ...
[ "2427364631@qq.com" ]
2427364631@qq.com
cac8e40dfe6ce96d89e4b842b0da44e893a03df2
9d291ff8ad0a455b8b38065546e1c9a6617d36cf
/python/py-study/test-err-exception.py
a401ecfcb5db947d7c6a15c6326c8cc69fa8e416
[ "BSD-2-Clause" ]
permissive
seekindark/helloworld
7128b8d8b6ebdc79c2ec3aa17137fb2a8e18885e
3f36e040399a998e43c63bca0586fe517b7fef69
refs/heads/master
2023-05-26T22:04:08.714917
2023-05-13T01:31:06
2023-05-13T01:31:06
193,409,142
0
0
BSD-2-Clause
2019-09-27T08:07:02
2019-06-24T00:31:59
C
UTF-8
Python
false
false
540
py
import sys print('start to test') try: a = 1/0 except ZeroDivisionError: print('1/0 is of ZeroDivisionError, continue!') # sys.exit() while True: try: x = int(input("please input a number: ")) break except ValueError: # if the exception is not ValueError, the...
[ "fei_n_chen@163.com" ]
fei_n_chen@163.com
7bf61d8613e826d555c86c7086e70310371a0e4d
60db9eff105a36b1420f8d8ef7b0a2b8572163b9
/minesweeper_board.py
8ca6eabffe8bf0a3263f154997cb9b4581106729
[]
no_license
kruglov-dmitry/algos_playground
8773521b8a9f75b02e612bee3b59b71fd2da60e8
e62afe9a57e99948c286fd24000d4afca1771615
refs/heads/master
2020-04-08T02:04:24.798522
2020-02-23T21:26:51
2020-02-23T21:26:51
158,921,524
0
0
null
null
null
null
UTF-8
Python
false
false
1,574
py
import random # # Given board size: width x height and number of bombs # return minesweeper's board filled with randomly distributed bombs # with neighbourhood cells containing numbers of bombs in adjustment cells # def show_board(a): for row in a: for cell in row: print cell, ...
[ "kruglov.dima@gmail.com" ]
kruglov.dima@gmail.com
2a9df77cdb756908b75c20a9c6cd16c002fa049b
763fec8fd1457112b2a968485adcb7820cf3e861
/graphql_relay/node/tests/test_plural.py
ad7489b8ef089b1b18803f211628561917c7d853
[ "MIT" ]
permissive
dailymotion/graphql-relay-py
05831a9034056b3e7d2dc209a080d3e2c2dfae33
48856fb3cf9e6c122535076a82d862bac3c21779
refs/heads/master
2023-08-07T06:24:19.898208
2016-11-23T17:42:18
2016-11-23T17:42:18
91,591,058
0
1
MIT
2023-04-07T00:28:51
2017-05-17T15:19:31
Python
UTF-8
Python
false
false
3,997
py
from collections import namedtuple from pytest import raises from graphql import graphql from graphql.type import ( GraphQLSchema, GraphQLObjectType, GraphQLField, GraphQLArgument, GraphQLList, GraphQLNonNull, GraphQLInt, GraphQLString, GraphQLBoolean, GraphQLID, ) from graphql_...
[ "me@syrusakbary.com" ]
me@syrusakbary.com
26ad6e74c4d6109c8a1138e815d6de6417c0d20f
88f4411f897592a9a8306b6fcba6ce2f0ef69357
/pydftools/selection.py
55015dd9b01fa36f6415338bce679f470b07008d
[ "MIT" ]
permissive
steven-murray/pydftools
9b1944679c2ad239b48da85584c7af37e619670d
7d3edcf0d91901a364a199fd35ac211a8bb84779
refs/heads/master
2023-07-22T01:32:11.488671
2021-12-06T19:31:58
2021-12-06T19:31:58
107,502,169
0
0
MIT
2022-01-31T19:02:57
2017-10-19T05:31:02
Jupyter Notebook
UTF-8
Python
false
false
18,148
py
""" Provides several classes that define the selection function in different ways. All selection function classes are derived from the :class:`~Selection` abstract base class. This should not be instantiated directly, but provides the structure for its subclasses. Namely, each subclass should provide a single method, ...
[ "steven.murray@curtin.edu.au" ]
steven.murray@curtin.edu.au
58df3b924ce4d92e4e3cabfc6a910f6bb2a7c4fe
b5e4eefa1ccb00efeb4812f0d8527b8ba62a5f00
/1191.k-concatenation-maximum-sum.py
4f0db71157d19745402a1a5545fab8c58bded9cc
[]
no_license
aobo-y/leetcode
a1316e12a98168740cf2759335b18a14d8d41487
259c2bffa4e9d7c600bf99a8a9843b9f45afc6ac
refs/heads/master
2023-01-31T05:18:00.959192
2020-12-12T23:20:18
2020-12-12T23:20:18
232,201,483
0
0
null
null
null
null
UTF-8
Python
false
false
910
py
# # @lc app=leetcode id=1191 lang=python3 # # [1191] K-Concatenation Maximum Sum # # @lc code=start class Solution: def kConcatenationMaxSum(self, arr: List[int], k: int) -> int: max_left, pos_appear = None, False sl, sr, sm, ml, mr, mm = 0, 0, 0, 0, 0, 0 # left right middle for i in rang...
[ "yangaobo@gmail.com" ]
yangaobo@gmail.com
23d77050da1d25b6c0f868aed269ffa955192ab2
d768f07ed90c0274e2d9d935eaf5ecfe734a1f56
/simulation_grid/parameters_UVB_rates_P19.py
0c13f00aeaca8ada86515fde97ea2d681b9f40c9
[]
no_license
bvillasen/simulation_analysis
cfd0b5de865d2fb5992d828b2824079e6798774b
645f0c397172ed30a713368942eec9ca68a9761a
refs/heads/master
2023-06-02T19:06:39.851760
2021-06-25T18:40:58
2021-06-25T18:40:58
298,894,454
0
0
null
null
null
null
UTF-8
Python
false
false
646
py
# Parameters for changing the H and He Photoionization and Photoheating Rates param_UVB_Rates = {} param_UVB_Rates[0] = {} param_UVB_Rates[0]['key'] = 'A' param_UVB_Rates[0]['name'] = 'scale_He' param_UVB_Rates[0]['values'] = [ 1.0 ] param_UVB_Rates[1] = {} param_UVB_Rates[1]['key'] = 'B' param_UVB_Rates[1]['name']...
[ "bvillasen@gmail.com" ]
bvillasen@gmail.com
6448514b593d931e23d08d6ed35e729b8ab48411
e9971950bb7fd2d767e70aa7bfe56788d7a0bc2a
/problems/2.py
050663be3f63f7ab0560d107ec6cbfeb053793ed
[]
no_license
myungseokang/algorithm-study
b2c59f54f1badda7a8c89a3394cd844622dddf33
1f5fe075f06763de8211b4a822d2420237f736a5
refs/heads/main
2023-02-26T11:54:36.103081
2021-01-31T14:55:54
2021-01-31T14:55:54
330,949,137
0
0
null
null
null
null
UTF-8
Python
false
false
187
py
s = input() result = int(s[0]) for char in s[1:]: data = int(char) if 0 <= data <= 1 or 0 <= result <= 1: result += data else: result *= data print(result)
[ "l3opold7@gmail.com" ]
l3opold7@gmail.com
6b51820e5bfb5b0fd1fa0f54b4911cbe015b8825
bf145e093b1e761af0b909275643bb5cc8dd8ec6
/config.py
9ce2343c81f3bd32499ebcfcf261283c3bb27acc
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Carolwanzuu/pitch_app
1a57423a91aedda3dd854246404c060993bccd2b
accd92963cbedb39c53bef5f1851dc11a4ff743a
refs/heads/master
2023-06-02T20:18:39.703700
2021-06-18T05:22:10
2021-06-18T05:22:10
377,011,162
0
0
null
null
null
null
UTF-8
Python
false
false
1,280
py
import os class Config: ''' General configuration parent class ''' SECRET_KEY = os.environ.get('SECRET_KEY') SQLALCHEMY_DATABASE_URI = 'postgresql+psycopg2://moringa:Access@localhost/pitches' SQLALCHEMY_TRACK_MODIFICATIONS = False UPLOADED_PHOTOS_DEST = 'app/static/photos' # email conf...
[ "carolkyalo01@gmail.com" ]
carolkyalo01@gmail.com
732bcc307b920b41c1588a549739d9a0c20d50c5
a121aee35513bc3e4d39b36601aed3a79e2163b1
/100bt/Chương 6/1.py
6c7f603d7cadd88687c132ce2e63abdedc40cf68
[]
no_license
kieuthuong/python_rabiloo
b5dc4f5f24abe47ee0a2084ef5b57427fd100138
a73193a1597dcc8a8276701cfed1db6d88a91782
refs/heads/master
2020-03-24T01:21:28.444102
2018-07-25T17:30:10
2018-07-25T17:30:10
142,332,889
0
0
null
null
null
null
UTF-8
Python
false
false
1,202
py
def play(ngoai_troi,nhiet_do,do_am,gio): p1=8/12 #co di 1 p2=4/12 #khong di 0 p_ngoaitroi_1=0 p_nhietdo_1=0 p_doam_1=0 p_gio_1=0 p_ngoaitroi_2=0 p_nhietdo_2=0 p_doam_2=0 p_gio_2=0 if ngoai_troi==0:#nang p_ngoaitroi_1=2/5 elif ngoai_troi==1:#amu p_ngoai_1=3/3 elif ngoai_troi==2:#mua p_mua_1=3/4 if n...
[ "kieuthuonghust@gmail.com" ]
kieuthuonghust@gmail.com