hexsha
string
size
int64
ext
string
lang
string
max_stars_repo_path
string
max_stars_repo_name
string
max_stars_repo_head_hexsha
string
max_stars_repo_licenses
list
max_stars_count
int64
max_stars_repo_stars_event_min_datetime
string
max_stars_repo_stars_event_max_datetime
string
max_issues_repo_path
string
max_issues_repo_name
string
max_issues_repo_head_hexsha
string
max_issues_repo_licenses
list
max_issues_count
int64
max_issues_repo_issues_event_min_datetime
string
max_issues_repo_issues_event_max_datetime
string
max_forks_repo_path
string
max_forks_repo_name
string
max_forks_repo_head_hexsha
string
max_forks_repo_licenses
list
max_forks_count
int64
max_forks_repo_forks_event_min_datetime
string
max_forks_repo_forks_event_max_datetime
string
content
string
avg_line_length
float64
max_line_length
int64
alphanum_fraction
float64
qsc_code_num_words_quality_signal
int64
qsc_code_num_chars_quality_signal
float64
qsc_code_mean_word_length_quality_signal
float64
qsc_code_frac_words_unique_quality_signal
float64
qsc_code_frac_chars_top_2grams_quality_signal
float64
qsc_code_frac_chars_top_3grams_quality_signal
float64
qsc_code_frac_chars_top_4grams_quality_signal
float64
qsc_code_frac_chars_dupe_5grams_quality_signal
float64
qsc_code_frac_chars_dupe_6grams_quality_signal
float64
qsc_code_frac_chars_dupe_7grams_quality_signal
float64
qsc_code_frac_chars_dupe_8grams_quality_signal
float64
qsc_code_frac_chars_dupe_9grams_quality_signal
float64
qsc_code_frac_chars_dupe_10grams_quality_signal
float64
qsc_code_frac_chars_replacement_symbols_quality_signal
float64
qsc_code_frac_chars_digital_quality_signal
float64
qsc_code_frac_chars_whitespace_quality_signal
float64
qsc_code_size_file_byte_quality_signal
float64
qsc_code_num_lines_quality_signal
float64
qsc_code_num_chars_line_max_quality_signal
float64
qsc_code_num_chars_line_mean_quality_signal
float64
qsc_code_frac_chars_alphabet_quality_signal
float64
qsc_code_frac_chars_comments_quality_signal
float64
qsc_code_cate_xml_start_quality_signal
float64
qsc_code_frac_lines_dupe_lines_quality_signal
float64
qsc_code_cate_autogen_quality_signal
float64
qsc_code_frac_lines_long_string_quality_signal
float64
qsc_code_frac_chars_string_length_quality_signal
float64
qsc_code_frac_chars_long_word_length_quality_signal
float64
qsc_code_frac_lines_string_concat_quality_signal
float64
qsc_code_cate_encoded_data_quality_signal
float64
qsc_code_frac_chars_hex_words_quality_signal
float64
qsc_code_frac_lines_prompt_comments_quality_signal
float64
qsc_code_frac_lines_assert_quality_signal
float64
qsc_codepython_cate_ast_quality_signal
float64
qsc_codepython_frac_lines_func_ratio_quality_signal
float64
qsc_codepython_cate_var_zero_quality_signal
bool
qsc_codepython_frac_lines_pass_quality_signal
float64
qsc_codepython_frac_lines_import_quality_signal
float64
qsc_codepython_frac_lines_simplefunc_quality_signal
float64
qsc_codepython_score_lines_no_logic_quality_signal
float64
qsc_codepython_frac_lines_print_quality_signal
float64
qsc_code_num_words
int64
qsc_code_num_chars
int64
qsc_code_mean_word_length
int64
qsc_code_frac_words_unique
null
qsc_code_frac_chars_top_2grams
int64
qsc_code_frac_chars_top_3grams
int64
qsc_code_frac_chars_top_4grams
int64
qsc_code_frac_chars_dupe_5grams
int64
qsc_code_frac_chars_dupe_6grams
int64
qsc_code_frac_chars_dupe_7grams
int64
qsc_code_frac_chars_dupe_8grams
int64
qsc_code_frac_chars_dupe_9grams
int64
qsc_code_frac_chars_dupe_10grams
int64
qsc_code_frac_chars_replacement_symbols
int64
qsc_code_frac_chars_digital
int64
qsc_code_frac_chars_whitespace
int64
qsc_code_size_file_byte
int64
qsc_code_num_lines
int64
qsc_code_num_chars_line_max
int64
qsc_code_num_chars_line_mean
int64
qsc_code_frac_chars_alphabet
int64
qsc_code_frac_chars_comments
int64
qsc_code_cate_xml_start
int64
qsc_code_frac_lines_dupe_lines
int64
qsc_code_cate_autogen
int64
qsc_code_frac_lines_long_string
int64
qsc_code_frac_chars_string_length
int64
qsc_code_frac_chars_long_word_length
int64
qsc_code_frac_lines_string_concat
null
qsc_code_cate_encoded_data
int64
qsc_code_frac_chars_hex_words
int64
qsc_code_frac_lines_prompt_comments
int64
qsc_code_frac_lines_assert
int64
qsc_codepython_cate_ast
int64
qsc_codepython_frac_lines_func_ratio
int64
qsc_codepython_cate_var_zero
int64
qsc_codepython_frac_lines_pass
int64
qsc_codepython_frac_lines_import
int64
qsc_codepython_frac_lines_simplefunc
int64
qsc_codepython_score_lines_no_logic
int64
qsc_codepython_frac_lines_print
int64
effective
string
hits
int64
ddd28a393b68dda6cf08a26e1290109a4d0f001f
3,186
py
Python
python/interactivepython1/src/unittest/python/rpsls_tests.py
edmathew/playground
bbb61f3c39191328a74fa021ed2a55b4c5e3978c
[ "MIT" ]
null
null
null
python/interactivepython1/src/unittest/python/rpsls_tests.py
edmathew/playground
bbb61f3c39191328a74fa021ed2a55b4c5e3978c
[ "MIT" ]
1
2017-03-08T14:43:05.000Z
2018-01-25T10:58:28.000Z
python/interactivepython1/src/unittest/python/rpsls_tests.py
edmathew/playground
bbb61f3c39191328a74fa021ed2a55b4c5e3978c
[ "MIT" ]
null
null
null
import unittest import sys from rpsls import rpsls from cStringIO import StringIO class RPSLSTest(unittest.TestCase): def setUp(self): sys.stdout = StringIO() def tearDown(self): sys.stdout.close() sys.stdout = sys.__stdout__ def test_can_call_rpsls_module(self): rpsls.name_to_number...
30.634615
87
0.696485
428
3,186
4.941589
0.207944
0.042553
0.085106
0.11253
0.306856
0.187234
0.187234
0.119149
0
0
0
0.005259
0.16447
3,186
104
88
30.634615
0.789256
0.077527
0
0.117647
0
0
0.14245
0
0
0
0
0
0.25
1
0.220588
false
0
0.058824
0
0.294118
0.014706
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
ddd6101e79d8c73677cfe06fc1a5b2b57fef780a
480
py
Python
setup.py
Jrsnow8921/SnowNasaPython
84ba0613e27767e81a581db027364dce3a665361
[ "MIT" ]
null
null
null
setup.py
Jrsnow8921/SnowNasaPython
84ba0613e27767e81a581db027364dce3a665361
[ "MIT" ]
null
null
null
setup.py
Jrsnow8921/SnowNasaPython
84ba0613e27767e81a581db027364dce3a665361
[ "MIT" ]
null
null
null
from distutils.core import setup setup( name = 'SnowNasaPython', packages = ['SnowNasaPython'], version = '1.7', description = 'A python lib to interact with Nasas API', author = 'Justin Snow', author_email = 'jrsnow8921@gmail.com', url = 'https://github.com/Jrsnow8921/SnowNasaPython.git', download_url...
32
84
0.685417
56
480
5.821429
0.714286
0.01227
0.08589
0.104294
0.251534
0.251534
0
0
0
0
0
0.039409
0.154167
480
14
85
34.285714
0.763547
0
0
0
0
0
0.485417
0
0
0
0
0
0
1
0
true
0
0.071429
0
0.071429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
ddd9f8dca2bfed5a2f054f68821423712874a332
1,441
py
Python
mkAD/modify_init.py
arielthomas1/SHEMAT-Suite-Open
f46bd3f8a9a24faea9fc7e48ea9ea88438e20d78
[ "MIT" ]
null
null
null
mkAD/modify_init.py
arielthomas1/SHEMAT-Suite-Open
f46bd3f8a9a24faea9fc7e48ea9ea88438e20d78
[ "MIT" ]
null
null
null
mkAD/modify_init.py
arielthomas1/SHEMAT-Suite-Open
f46bd3f8a9a24faea9fc7e48ea9ea88438e20d78
[ "MIT" ]
null
null
null
#!/usr/bin/python # -*- coding: iso-8859-1 -*- import sys import os import re def contains(theString, theQueryValue): return theString.find(theQueryValue) > -1 targetfile = sys.argv[1] if os.path.exists(os.getcwd() + "/" + targetfile): openFile = open(targetfile) writeFile = open(targetfile+".new","w") ...
30.020833
126
0.548924
157
1,441
5.038217
0.464968
0.123894
0.136536
0.111252
0.106195
0.075853
0
0
0
0
0
0.013627
0.33796
1,441
47
127
30.659574
0.815514
0.104094
0
0.315789
0
0
0.099688
0
0
0
0
0
0
0
null
null
0
0.078947
null
null
0.052632
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
dddc94504b9faf5a44d290132b52ad63737cac3c
1,600
py
Python
module/reTestIP.py
yangliangguang/CrawlFreeProxy
e06376bcc91f59ea866769d8a2c281b0fb7a99a3
[ "Apache-2.0" ]
8
2018-01-18T14:53:36.000Z
2021-04-09T02:58:34.000Z
module/reTestIP.py
yangliangguang/CrawlFreeProxy
e06376bcc91f59ea866769d8a2c281b0fb7a99a3
[ "Apache-2.0" ]
null
null
null
module/reTestIP.py
yangliangguang/CrawlFreeProxy
e06376bcc91f59ea866769d8a2c281b0fb7a99a3
[ "Apache-2.0" ]
4
2018-11-26T02:10:10.000Z
2019-06-14T15:15:57.000Z
import redis from tools.common import test_http_proxy import threading def http_task(): # 连接redis数据库 POOL = redis.ConnectionPool(host='127.0.0.1', port=6379) CONN_REDIS = redis.Redis(connection_pool=POOL) # 取出一个ip进行测试 # proxy = CONN_REDIS.("freeProxy:AfterVerifyOKhttp") ip = CONN_REDIS.srandme...
27.118644
78
0.57
195
1,600
4.558974
0.410256
0.050619
0.029246
0.049494
0.07874
0.053993
0.053993
0.053993
0.053993
0
0
0.016979
0.300625
1,600
58
79
27.586207
0.77748
0.2375
0
0.105263
0
0
0.094371
0.022351
0
0
0
0
0
1
0.052632
false
0.052632
0.078947
0
0.184211
0.105263
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
dde8c38ef416847bc580e9f1de4c71435e66e7ae
219
py
Python
Workshop2/6.py
Camiloasc1/OptimizationUNAL
7755f6ee4f78a5e0b63c7217b32efbc78fb40877
[ "MIT" ]
null
null
null
Workshop2/6.py
Camiloasc1/OptimizationUNAL
7755f6ee4f78a5e0b63c7217b32efbc78fb40877
[ "MIT" ]
null
null
null
Workshop2/6.py
Camiloasc1/OptimizationUNAL
7755f6ee4f78a5e0b63c7217b32efbc78fb40877
[ "MIT" ]
null
null
null
import numpy as np from scipy.optimize import linprog c = [10, 3.8, 1.5] A_ub = [ [1, 1, 1], [-1, -1, -1], [-1, -1. / 3., -1. / 6.]] b_ub = [18, -12, -9] res = linprog(c, A_ub=A_ub, b_ub=b_ub) print(res)
15.642857
38
0.506849
46
219
2.282609
0.5
0.133333
0.171429
0.190476
0.07619
0.07619
0.07619
0
0
0
0
0.134146
0.251142
219
13
39
16.846154
0.506098
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.1
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ddf362f020dca188c18eaa6393150993f902aa2e
1,563
py
Python
census_data/core/variables.py
cj-on-campus/dabp-summer-reading
d4908bc56af947529beb5ae87c5d5d8a7f58e4ff
[ "MIT" ]
null
null
null
census_data/core/variables.py
cj-on-campus/dabp-summer-reading
d4908bc56af947529beb5ae87c5d5d8a7f58e4ff
[ "MIT" ]
null
null
null
census_data/core/variables.py
cj-on-campus/dabp-summer-reading
d4908bc56af947529beb5ae87c5d5d8a7f58e4ff
[ "MIT" ]
1
2022-01-11T15:43:30.000Z
2022-01-11T15:43:30.000Z
import censusdata import requests import pandas as pd census_key = '' # scrubbed for now, TODO: secrets config def get_counties(state, year): counties = [] geo = censusdata.geographies(censusdata.censusgeo([('state', state), ('county', '*')]), 'acs5', year) for key in list(geo): value = geo[key].p...
38.121951
164
0.632118
197
1,563
4.903553
0.319797
0.045549
0.020704
0.024845
0.559006
0.511387
0.511387
0.511387
0.511387
0.42236
0
0.020442
0.21753
1,563
41
165
38.121951
0.769419
0.024312
0
0.486486
0
0
0.173885
0.034121
0
0
0
0.02439
0
1
0.081081
false
0
0.081081
0
0.243243
0.054054
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
ddf4d25257f6d4daf8dec8982d153fed0ae826c6
213
py
Python
app/views.py
julesc00/travel-agency
61c92087bc50ef4dbdb5e46636b2802e3a94bc0c
[ "MIT" ]
null
null
null
app/views.py
julesc00/travel-agency
61c92087bc50ef4dbdb5e46636b2802e3a94bc0c
[ "MIT" ]
null
null
null
app/views.py
julesc00/travel-agency
61c92087bc50ef4dbdb5e46636b2802e3a94bc0c
[ "MIT" ]
null
null
null
from django.shortcuts import render # Create your views here. def index(request): context = { "moto": "The framework for perfectionist!" } return render(request, "app/index.html", context)
17.75
53
0.666667
25
213
5.68
0.84
0
0
0
0
0
0
0
0
0
0
0
0.225352
213
11
54
19.363636
0.860606
0.107981
0
0
0
0
0.265957
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ddf8c9d25a5875fb6a8d540261f4d8dce6fd5bde
8,227
py
Python
PYTHON_LESSON/05-class_fifth.py
sly1314sly/selenium_basic
53bc2bf4d8a81bcd71f7fe5910cbc34ecfc6869a
[ "Apache-2.0" ]
1
2019-08-03T04:24:13.000Z
2019-08-03T04:24:13.000Z
PYTHON_LESSON/05-class_fifth.py
sly1314sly/selenium_basic
53bc2bf4d8a81bcd71f7fe5910cbc34ecfc6869a
[ "Apache-2.0" ]
null
null
null
PYTHON_LESSON/05-class_fifth.py
sly1314sly/selenium_basic
53bc2bf4d8a81bcd71f7fe5910cbc34ecfc6869a
[ "Apache-2.0" ]
null
null
null
#多继承 # class father1(): # def have(self): # print("父级有的东西") # class father2(): # def money(self): # print("父级有的东西2") # class son(father1,father2): # pass # john = son() #两个父级都调用 #如果两个父级有同样的东西,调用的是第一个里面的,优先继承第一个类 # class father1(): # def have(self):...
23.777457
171
0.605567
955
8,227
5.478534
0.374869
0.030963
0.055046
0.058486
0.312691
0.272745
0.259365
0.25344
0.232034
0.170107
0
0.014789
0.178072
8,227
346
172
23.777457
0.71606
0.87383
0
0
0
0.1
0.121495
0.077882
0
0
0
0
0
1
0
false
0
0.3
0
0.3
0.1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ddfd95d81311d46623ef4b13299eec7f47b3dd12
821
py
Python
src/kgmk/dsa/misc/online_update_query/set_point_get_range/abstract/segtree/__init__.py
kagemeka/python
486ce39d97360b61029527bacf00a87fdbcf552c
[ "MIT" ]
null
null
null
src/kgmk/dsa/misc/online_update_query/set_point_get_range/abstract/segtree/__init__.py
kagemeka/python
486ce39d97360b61029527bacf00a87fdbcf552c
[ "MIT" ]
null
null
null
src/kgmk/dsa/misc/online_update_query/set_point_get_range/abstract/segtree/__init__.py
kagemeka/python
486ce39d97360b61029527bacf00a87fdbcf552c
[ "MIT" ]
null
null
null
from kgmk.dsa.algebra.abstract.structure.monoid import ( Monoid, ) from \ kgmk.dsa.tree.misc.segment.normal.one_indexed.topdown \ .non_recursive \ import ( SegmentTree, ) # TODO cut below import typing import typing T = typing.TypeVar('T') class SetPointGetRange(typing.Generic[T]): def __init__( s...
19.093023
61
0.652862
122
821
4.188525
0.377049
0.054795
0.088063
0.111546
0.244618
0.129159
0.129159
0.129159
0.129159
0
0
0
0.20341
821
43
62
19.093023
0.781346
0.017052
0
0.071429
0
0
0.001242
0
0
0
0
0.023256
0
1
0.178571
false
0
0.142857
0.071429
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
fb0470cd3b5abf945accbe1e560ef24dfc50556e
26,986
py
Python
domonic/events.py
Jordan-Cottle/domonic
05d70af0d1564d3ba80c860bb5f5bfe089293b18
[ "MIT" ]
1
2022-03-09T03:39:04.000Z
2022-03-09T03:39:04.000Z
domonic/events.py
Jordan-Cottle/domonic
05d70af0d1564d3ba80c860bb5f5bfe089293b18
[ "MIT" ]
null
null
null
domonic/events.py
Jordan-Cottle/domonic
05d70af0d1564d3ba80c860bb5f5bfe089293b18
[ "MIT" ]
null
null
null
""" domonic.events ==================================== dom events """ # from typing import * import time # TODO - bring EventTarget here and get rid of this one? class EventDispatcher(object): """ EventDispatcher is a class you can extend to give your obj event dispatching abilities """ def __i...
27.452696
142
0.611502
2,632
26,986
6.140198
0.194529
0.046222
0.070169
0.095229
0.481096
0.453623
0.424169
0.143989
0.138543
0.133717
0
0.001399
0.285074
26,986
982
143
27.480652
0.836262
0.169125
0
0.446541
0
0
0.041498
0
0
0
0
0.001018
0
1
0.216981
false
0.007862
0.001572
0.02673
0.460692
0.132075
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
fb1e20eb24af2af54f0558d3388c6b7d3c25c752
1,016
py
Python
src/x2df/fileIOhandlers/fileIOhandler_parquet.py
mb-89/x2df
ea839083321b865b347a0fcaa11dfe2ec99ce7ec
[ "MIT" ]
null
null
null
src/x2df/fileIOhandlers/fileIOhandler_parquet.py
mb-89/x2df
ea839083321b865b347a0fcaa11dfe2ec99ce7ec
[ "MIT" ]
2
2022-01-19T07:21:27.000Z
2022-01-19T14:48:39.000Z
src/x2df/fileIOhandlers/fileIOhandler_parquet.py
mb-89/x2df
ea839083321b865b347a0fcaa11dfe2ec99ce7ec
[ "MIT" ]
null
null
null
from x2df.fileIOhandlers.__fileIOhandler__ import FileIOhandler # we want to do the imports as late as possible to # keep it snappy once we have more and more fileIOhandlers class Handler(FileIOhandler): def dump(self, df, dst, **kwargs): # we import pyarrow here to make sure that is found by pyreqs. ...
29.028571
82
0.614173
132
1,016
4.674242
0.545455
0.084279
0.082658
0.102107
0
0
0
0
0
0
0
0.018759
0.317913
1,016
34
83
29.882353
0.871573
0.316929
0
0.136364
0
0
0
0
0
0
0
0
0
1
0.136364
false
0
0.227273
0
0.636364
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
fb2e06053b2a398a4cef3dbe29d21fef27c338e9
3,986
py
Python
python/specex_compute_sky.py
marcelo-alvarez/specex
809c5540e76dc1681453488732d5845078427ad1
[ "BSD-3-Clause" ]
null
null
null
python/specex_compute_sky.py
marcelo-alvarez/specex
809c5540e76dc1681453488732d5845078427ad1
[ "BSD-3-Clause" ]
null
null
null
python/specex_compute_sky.py
marcelo-alvarez/specex
809c5540e76dc1681453488732d5845078427ad1
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python import pyfits,sys,json,pylab,string,numpy,os,scipy,scipy.sparse,scipy.linalg from scipy.sparse.linalg import spsolve from math import * from specex_cholesky import * if len(sys.argv)<3 : print sys.argv[0],"inspec.fits plPlugMapM.par outspec.fits (sky.fit)" sys.exit(12); infilename=sys...
29.746269
138
0.723783
581
3,986
4.938038
0.344234
0.017079
0.019519
0.027884
0.100035
0.079819
0.070756
0.070756
0.070756
0.070756
0
0.016346
0.140492
3,986
133
139
29.969925
0.821074
0.206724
0
0.148936
0
0
0.092728
0
0
0
0
0
0
0
null
null
0
0.042553
null
null
0.148936
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
fb35c050d83281182c445319a5d7ba2a4f2930bf
3,153
py
Python
app/core/module/chat_main.py
xiaomi2019/lolita_son
8205dff0d423aaedfa7fca8790d1d6fe50213e6e
[ "MIT" ]
null
null
null
app/core/module/chat_main.py
xiaomi2019/lolita_son
8205dff0d423aaedfa7fca8790d1d6fe50213e6e
[ "MIT" ]
null
null
null
app/core/module/chat_main.py
xiaomi2019/lolita_son
8205dff0d423aaedfa7fca8790d1d6fe50213e6e
[ "MIT" ]
2
2019-02-18T03:49:52.000Z
2020-03-03T16:42:02.000Z
# coding: utf-8 # import app.base.game_module_mgr from app.core.game_event_def import * from app.protocol.ProtocolDesc import * import app.protocol.netutil as netutil from twisted.python import log import app.util.helper as helper import app.util.lang_config as lang_config import app.chat.memmode as memmode from firef...
26.495798
84
0.69648
480
3,153
4.360417
0.208333
0.043
0.068801
0.052556
0.407549
0.346871
0.271381
0.271381
0.236025
0.236025
0
0.009673
0.147479
3,153
119
85
26.495798
0.768973
0.009832
0
0.398058
0
0
0.074407
0
0
0
0
0.008403
0
0
null
null
0
0.097087
null
null
0.009709
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
fb368500155eb75a3910f91da856eb8f4d5ceb4d
11,032
py
Python
admin/client.py
stackriot/flocker
eaa586248986d7cd681c99c948546c2b507e44de
[ "Apache-2.0" ]
2,690
2015-01-02T11:12:11.000Z
2022-03-15T15:41:51.000Z
admin/client.py
stackriot/flocker
eaa586248986d7cd681c99c948546c2b507e44de
[ "Apache-2.0" ]
2,102
2015-01-02T18:49:40.000Z
2021-01-21T18:49:47.000Z
admin/client.py
stackriot/flocker
eaa586248986d7cd681c99c948546c2b507e44de
[ "Apache-2.0" ]
333
2015-01-10T01:44:01.000Z
2022-03-08T15:03:04.000Z
# Copyright 2015 ClusterHQ Inc. See LICENSE file for details. """ Run the client installation tests. """ import os import shutil import sys import tempfile from characteristic import attributes import docker from effect import TypeDispatcher, sync_performer, perform from twisted.python.usage import Options, UsageErr...
33.02994
79
0.6405
1,296
11,032
5.330247
0.236111
0.026346
0.010857
0.00912
0.17791
0.161262
0.161262
0.161262
0.129705
0.129705
0
0.005725
0.255801
11,032
333
80
33.129129
0.835688
0.064358
0
0.092391
0
0
0.130025
0
0
0
0
0
0.005435
0
null
null
0
0.065217
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
fb3ab13c7f7a2b9fdd9f38e9063da6270e313369
2,712
py
Python
utils/deployment/link_cover.py
jstavr/SDN_Project
9fe5a65f46eadf15e1da43d9f8125b8c15161bbd
[ "Apache-2.0" ]
null
null
null
utils/deployment/link_cover.py
jstavr/SDN_Project
9fe5a65f46eadf15e1da43d9f8125b8c15161bbd
[ "Apache-2.0" ]
null
null
null
utils/deployment/link_cover.py
jstavr/SDN_Project
9fe5a65f46eadf15e1da43d9f8125b8c15161bbd
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python import networkx as nx import time, random, copy topology_file = open("data/topology.data") G=nx.read_edgelist(topology_file) topology_file.close() #Only numbers are end terminals end_terminals = [unicode(str(x)) for x in range(1, 100)] links = G.edges() shortest_paths = nx.shortest_path(G) rule_li...
26.076923
128
0.665192
399
2,712
4.325815
0.303258
0.052144
0.048667
0.033024
0.132677
0.086327
0.086327
0.044032
0.044032
0.044032
0
0.010798
0.214602
2,712
103
129
26.330097
0.799531
0.109882
0
0.092308
0
0
0.065109
0.010017
0
0
0
0
0
0
null
null
0.015385
0.030769
null
null
0.015385
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
fb3b024aab8c8ce5bc7f98b3faf828cb95fb98ce
894
py
Python
agrirouter/onboarding/exceptions.py
DKE-Data/agrirouter-sdk-python
6d6b26606f7d424c62289af56da55acf412772fc
[ "Apache-2.0" ]
null
null
null
agrirouter/onboarding/exceptions.py
DKE-Data/agrirouter-sdk-python
6d6b26606f7d424c62289af56da55acf412772fc
[ "Apache-2.0" ]
null
null
null
agrirouter/onboarding/exceptions.py
DKE-Data/agrirouter-sdk-python
6d6b26606f7d424c62289af56da55acf412772fc
[ "Apache-2.0" ]
null
null
null
class AgriRouuterBaseException(Exception): _message = ... def __init__(self, message=None): if not message: message = self._message self.message = message class WrongCertificationType(AgriRouuterBaseException): _message = "Wrong Certification type. Use onboarding.enums.Certifi...
31.928571
100
0.751678
87
894
7.609195
0.62069
0.187311
0.054381
0
0
0
0
0
0
0
0
0
0.16443
894
27
101
33.111111
0.886212
0
0
0
0
0.055556
0.463087
0.116331
0
0
0
0
0
1
0.055556
false
0
0
0
0.611111
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
348781b09d597dea1c33811665f06d4d34ea36f9
3,567
py
Python
cli/prog/cluster.py
rushk014/manager
24d04043ec6159dbed68f5fb26123669d8e70eb6
[ "Apache-2.0" ]
19
2022-01-17T02:48:03.000Z
2022-03-29T09:16:08.000Z
cli/prog/cluster.py
rushk014/manager
24d04043ec6159dbed68f5fb26123669d8e70eb6
[ "Apache-2.0" ]
null
null
null
cli/prog/cluster.py
rushk014/manager
24d04043ec6159dbed68f5fb26123669d8e70eb6
[ "Apache-2.0" ]
16
2022-01-14T18:12:28.000Z
2022-03-28T04:58:14.000Z
import click from prog.cli import cli from prog.cli import create from prog.cli import delete from prog.cli import request from prog.cli import set from prog.cli import unset from prog.cli import show from prog import client from prog import output from prog import utils @show.group("cluster", invoke_without_command...
28.086614
79
0.662742
460
3,567
5.05
0.169565
0.061558
0.033147
0.051227
0.439948
0.425743
0.337495
0.317693
0.288851
0.20706
0
0.004127
0.184749
3,567
126
80
28.309524
0.794704
0.034763
0
0.395833
0
0
0.201937
0
0
0
0
0
0
1
0.072917
false
0.239583
0.114583
0
0.239583
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
3488fb96e91eb4cded9dde8b01e5aba9f5e0594f
437
py
Python
LC218.py
XinnWang/PythonLab
de054cf5ffa87dad92eb0ffa89ce02f469c9781b
[ "MIT" ]
null
null
null
LC218.py
XinnWang/PythonLab
de054cf5ffa87dad92eb0ffa89ce02f469c9781b
[ "MIT" ]
null
null
null
LC218.py
XinnWang/PythonLab
de054cf5ffa87dad92eb0ffa89ce02f469c9781b
[ "MIT" ]
null
null
null
buildings = [ [2,9,10], [3,7,15], [5,12,12], [15,20,10], [19,24,8] ] #buildings = [[0,2,3],[2,5,3]] s = [] for e in buildings: s.append([e[0],e[2]]) s.append([e[1],-e[2]]) s = sorted(s,key=lambda x:(x[0],-x[1])) print(s) res = [] h = [0] max_h = 0 for e in s: if e[1] < 0: h.remove(-e[1]) else:...
17.48
68
0.464531
92
437
2.163043
0.336957
0.120603
0.105528
0.120603
0.080402
0.080402
0
0
0
0
0
0.131902
0.254005
437
24
69
18.208333
0.478528
0.066362
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.105263
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
34896057afdd4368e32bcc82143b90b3340f8267
2,022
py
Python
Data Science and Machine Learning/Machine-Learning-In-Python-THOROUGH/EXAMPLES/EDABIT/EARLIER/23_sales_season.py
okara83/Becoming-a-Data-Scientist
f09a15f7f239b96b77a2f080c403b2f3e95c9650
[ "MIT" ]
null
null
null
Data Science and Machine Learning/Machine-Learning-In-Python-THOROUGH/EXAMPLES/EDABIT/EARLIER/23_sales_season.py
okara83/Becoming-a-Data-Scientist
f09a15f7f239b96b77a2f080c403b2f3e95c9650
[ "MIT" ]
null
null
null
Data Science and Machine Learning/Machine-Learning-In-Python-THOROUGH/EXAMPLES/EDABIT/EARLIER/23_sales_season.py
okara83/Becoming-a-Data-Scientist
f09a15f7f239b96b77a2f080c403b2f3e95c9650
[ "MIT" ]
2
2022-02-09T15:41:33.000Z
2022-02-11T07:47:40.000Z
""" Sales Season A retailer is having a store-wide "buy 3, get 1 free" sale. For legal reasons, they can't charge their customers $0 for an article so a discount is applied to all products instead. For example, if a customer gets three products a, b and c: Product A Product B Product C $15.99 $23.50 $10.75 She gets ...
38.150943
250
0.641444
414
2,022
3.147343
0.381643
0.018419
0.018419
0.024559
0.130468
0.098235
0.079816
0.049117
0.030698
0
0
0.189338
0.192878
2,022
53
251
38.150943
0.605392
0.843719
0
0
0
0
0
0
0
0
0
0
0
1
0.083333
false
0
0
0
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3497d58e018884ebd5c81463f01b68dadf4d372c
423
py
Python
SchemaCollaboration/core/migrations/0007_add_defaults.py
Swiss-Polar-Institute/schema-collaboration-arctic-century
e02b598c7b11b26815be6e9811ff355757263995
[ "MIT" ]
15
2020-07-09T01:15:59.000Z
2021-09-24T14:47:12.000Z
SchemaCollaboration/core/migrations/0007_add_defaults.py
Swiss-Polar-Institute/schema-collaboration-arctic-century
e02b598c7b11b26815be6e9811ff355757263995
[ "MIT" ]
21
2020-10-27T11:33:57.000Z
2022-02-27T11:03:38.000Z
SchemaCollaboration/core/migrations/0007_add_defaults.py
Swiss-Polar-Institute/schema-collaboration-arctic-century
e02b598c7b11b26815be6e9811ff355757263995
[ "MIT" ]
3
2020-08-12T09:33:17.000Z
2021-07-12T09:31:33.000Z
# Generated by Django 3.1.4 on 2020-12-01 15:25 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('core', '0006_suggestions_from_django_doctor'), ] operations = [ migrations.AlterField( model_name='datapackage', nam...
22.263158
75
0.614657
46
423
5.521739
0.804348
0.07874
0
0
0
0
0
0
0
0
0
0.070968
0.267139
423
18
76
23.5
0.748387
0.106383
0
0
1
0
0.143617
0.093085
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
34a1a31549286f725223b0f0832c995b0ffa08b8
1,152
py
Python
tests/test_cpu_increment_instructions.py
Hexadorsimal/pynes
dbb3d40c1240fa27f70fa798bcec09188755eec2
[ "MIT" ]
1
2017-05-13T18:57:09.000Z
2017-05-13T18:57:09.000Z
tests/test_cpu_increment_instructions.py
Hexadorsimal/py6502
dbb3d40c1240fa27f70fa798bcec09188755eec2
[ "MIT" ]
7
2020-10-24T17:16:56.000Z
2020-11-01T14:10:23.000Z
tests/test_cpu_increment_instructions.py
Hexadorsimal/pynes
dbb3d40c1240fa27f70fa798bcec09188755eec2
[ "MIT" ]
null
null
null
import unittest from nes.processors.cpu import Cpu from nes.bus import Bus from nes.bus.devices.memory import Ram class CpuIncrementInstructionsTestCase(unittest.TestCase): def setUp(self): bus = Bus() bus.attach_device('RAM', Ram(256), 0, 256) self.cpu = Cpu(bus) def test_inc(self): ...
28.8
58
0.643229
157
1,152
4.643312
0.292994
0.182442
0.156379
0.18107
0.569273
0.530864
0.440329
0.440329
0.246914
0.246914
0
0.045147
0.230903
1,152
39
59
29.538462
0.777652
0
0
0.28125
0
0
0.009549
0
0
0
0.041667
0
0.28125
1
0.125
false
0
0.125
0
0.28125
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
34c38189dd64a14d78bdf1b9bd57f748c201417f
494
py
Python
src/WF_WaitForFile.py
SynerClust/SynerClust
136f25044a18031a2f1c6e5ffd224c204d5975f4
[ "BSD-3-Clause" ]
7
2016-01-19T15:51:49.000Z
2018-12-06T05:30:11.000Z
src/WF_WaitForFile.py
broadinstitute/SynerClust
136f25044a18031a2f1c6e5ffd224c204d5975f4
[ "BSD-3-Clause" ]
6
2016-08-03T19:17:58.000Z
2020-02-26T15:18:14.000Z
src/WF_WaitForFile.py
broadinstitute/SynerClust
136f25044a18031a2f1c6e5ffd224c204d5975f4
[ "BSD-3-Clause" ]
3
2020-06-11T16:28:52.000Z
2022-01-24T07:29:51.000Z
#!/usr/bin/env python import sys, os, time def usage(): print "WF_WaitForFile.py [file's dir] [file] [frequency - default=60s]" sys.exit(1) def main(argv): fileDir = argv[0] file = argv[1] freq = 60 if len(argv) > 2: freq = int(argv[2]) file_found = 0 while not file_found: dirFiles = os.listdir(fileDir...
16.466667
72
0.637652
82
494
3.695122
0.5
0.049505
0.052805
0
0
0
0
0
0
0
0
0.035533
0.202429
494
30
73
16.466667
0.733503
0.040486
0
0.086957
0
0
0.149789
0
0
0
0
0
0
0
null
null
0
0.043478
null
null
0.043478
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
34c56272a08186e39af3f77a180a6a2272eff2cb
6,609
py
Python
Securinets/2021/Quals/web/Warmup/app.py
mystickev/ctf-archives
89e99a5cd5fb6b2923cad3fe1948d3ff78649b4e
[ "MIT" ]
1
2021-11-02T20:53:58.000Z
2021-11-02T20:53:58.000Z
Securinets/2021/Quals/web/Warmup/app.py
ruhan-islam/ctf-archives
8c2bf6a608c821314d1a1cfaa05a6cccef8e3103
[ "MIT" ]
null
null
null
Securinets/2021/Quals/web/Warmup/app.py
ruhan-islam/ctf-archives
8c2bf6a608c821314d1a1cfaa05a6cccef8e3103
[ "MIT" ]
1
2021-12-19T11:06:24.000Z
2021-12-19T11:06:24.000Z
from itsdangerous import Signer, base64_encode, base64_decode from flask import Flask, request, render_template, make_response, g, Response from flask.views import MethodView import urlparse import shutil import utils import os import mimetypes app = Flask(__name__.split('.')[0]) app.config.from_object(__name__) BUF...
28.734783
127
0.589045
722
6,609
5.209141
0.236842
0.041478
0.029779
0.030311
0.23531
0.153948
0.139591
0.120978
0.110343
0.110343
0
0.013251
0.292026
6,609
229
128
28.860262
0.790554
0
0
0.261905
0
0
0.128671
0.037693
0
0
0
0
0
0
null
null
0
0.047619
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
34cf893424d685325c5c215e91f06a3f937f0bf7
423
py
Python
djnic/cambios/migrations/0003_auto_20201013_2210.py
avdata99/nic
70399bd78fd2b4b496d338e7959867ad12cdf477
[ "MIT" ]
8
2021-05-01T13:03:22.000Z
2021-12-17T21:50:04.000Z
djnic/cambios/migrations/0003_auto_20201013_2210.py
avdata99/nic
70399bd78fd2b4b496d338e7959867ad12cdf477
[ "MIT" ]
16
2020-11-20T23:18:22.000Z
2021-04-08T20:09:35.000Z
djnic/cambios/migrations/0003_auto_20201013_2210.py
OpenDataCordoba/nic
f9528856e13d106bdfb476cab1236bc5b8a92183
[ "MIT" ]
null
null
null
# Generated by Django 3.1.2 on 2020-10-14 01:10 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('cambios', '0002_campocambio_uid_anterior'), ] operations = [ migrations.AlterField( model_name='campocambio', name='...
22.263158
77
0.619385
47
423
5.446809
0.787234
0
0
0
0
0
0
0
0
0
0
0.070968
0.267139
423
18
78
23.5
0.754839
0.106383
0
0
1
0
0.138298
0.077128
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
34d66d1e24187500c4aabd6f3e77dbfd545b0728
802
py
Python
billingyard/cli.py
MartinVondrak/billing-yard
acc9b61ebdb1ff0abbd44eb872e2c52958fe3204
[ "MIT" ]
null
null
null
billingyard/cli.py
MartinVondrak/billing-yard
acc9b61ebdb1ff0abbd44eb872e2c52958fe3204
[ "MIT" ]
null
null
null
billingyard/cli.py
MartinVondrak/billing-yard
acc9b61ebdb1ff0abbd44eb872e2c52958fe3204
[ "MIT" ]
null
null
null
import click from .billingyard import BillingYard from .models import Invoice @click.group('billingyard') @click.option('-s', '--sender', type=str, default='sender.json') @click.option('-t', '--template', type=str) @click.pass_context def cli(ctx, sender: str, template: str): ctx.obj = BillingYard(sender, templa...
28.642857
85
0.730673
107
802
5.308411
0.383178
0.116197
0.06338
0.06338
0
0
0
0
0
0
0
0
0.113466
802
27
86
29.703704
0.798875
0
0
0
0
0
0.089776
0
0
0
0
0
0
1
0.1
false
0.15
0.15
0
0.25
0.05
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
34d81f9a5c0f09cf2ef1870b93c2bc2412070f58
370
py
Python
python/pynamodb/pynamodb-test/blog.py
kskumgk63/trace-examples
1de45b351aa03367c745933b4923f07d436aea3e
[ "BSD-3-Clause" ]
75
2017-03-20T12:17:14.000Z
2022-03-24T02:55:53.000Z
python/pynamodb/pynamodb-test/blog.py
kskumgk63/trace-examples
1de45b351aa03367c745933b4923f07d436aea3e
[ "BSD-3-Clause" ]
25
2017-05-10T18:21:20.000Z
2022-01-28T18:36:52.000Z
python/pynamodb/pynamodb-test/blog.py
kskumgk63/trace-examples
1de45b351aa03367c745933b4923f07d436aea3e
[ "BSD-3-Clause" ]
54
2017-05-10T18:13:52.000Z
2022-01-11T21:04:42.000Z
from pynamodb.models import Model from pynamodb.attributes import UnicodeAttribute class Blog(Model): class Meta: table_name='Blog' region = 'us-west-1' write_capacity_units = 1 read_capacity_units = 1 host = "http://dynamodb:8000" title = UnicodeAttribute(hash_key=True) content = UnicodeAtt...
26.428571
48
0.737838
46
370
5.782609
0.673913
0.090226
0.105263
0
0
0
0
0
0
0
0
0.022801
0.17027
370
14
49
26.428571
0.843648
0
0
0
0
0
0.088949
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.583333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
34d8426de1b5a5321495272fac8eb6fb9f1b1863
2,074
py
Python
examples/vn_trader/data_download.py
ZJMXX/vnpy
161d88774c7a161a4d024a9daa50447a73a1c43e
[ "MIT" ]
2
2021-04-22T09:44:19.000Z
2021-04-22T17:23:16.000Z
examples/vn_trader/data_download.py
ZJMXX/vnpy
161d88774c7a161a4d024a9daa50447a73a1c43e
[ "MIT" ]
null
null
null
examples/vn_trader/data_download.py
ZJMXX/vnpy
161d88774c7a161a4d024a9daa50447a73a1c43e
[ "MIT" ]
null
null
null
import time from datetime import datetime from backtest_entrance.setting import Info from vnpy.app.data_manager import DataManagerApp from vnpy.app.data_manager.engine import ManagerEngine from vnpy.event import EventEngine from vnpy.gateway.binance import BinanceGateway from vnpy.gateway.binances import BinancesGatew...
31.424242
96
0.715043
249
2,074
5.823293
0.349398
0.206897
0.026897
0.02069
0.089655
0.05931
0.05931
0.05931
0.05931
0
0
0.021143
0.15622
2,074
65
97
31.907692
0.807429
0
0
0.065574
0
0
0.130183
0
0
0
0
0
0
1
0
false
0
0.163934
0
0.163934
0.016393
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
34de8946c3169cdb90df85915a59ddfb793b17ad
669
py
Python
src/backend/django_messages_drf/utils.py
jeremyd4500/senior-project-2020
a35d4391a911bfc3a546dac0114cc6b731fa70da
[ "MIT" ]
null
null
null
src/backend/django_messages_drf/utils.py
jeremyd4500/senior-project-2020
a35d4391a911bfc3a546dac0114cc6b731fa70da
[ "MIT" ]
null
null
null
src/backend/django_messages_drf/utils.py
jeremyd4500/senior-project-2020
a35d4391a911bfc3a546dac0114cc6b731fa70da
[ "MIT" ]
null
null
null
""" All Utils used on this package module live here """ from django.db import models from functools import wraps def cached_attribute(func): cache_name = f"_{func.__name__}" @wraps(func) def inner(self, *args, **kwargs): if hasattr(self, cache_name): return getattr(self, cache_name) ...
26.76
81
0.678625
90
669
4.877778
0.577778
0.082005
0.088838
0.072893
0.214123
0.214123
0.214123
0.214123
0.214123
0
0
0
0.210762
669
24
82
27.875
0.831439
0.121076
0
0
0
0
0.027826
0
0
0
0
0
0
1
0.133333
false
0
0.133333
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
34e8e94d0b99ecee41b7e5c50f332c331310f0a0
2,752
py
Python
maui/backend/serial/partition.py
cstatz/maui
db99986e93699ee20c5cffdd5b4ee446f8607c5d
[ "BSD-3-Clause" ]
null
null
null
maui/backend/serial/partition.py
cstatz/maui
db99986e93699ee20c5cffdd5b4ee446f8607c5d
[ "BSD-3-Clause" ]
null
null
null
maui/backend/serial/partition.py
cstatz/maui
db99986e93699ee20c5cffdd5b4ee446f8607c5d
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import division from __future__ import absolute_import from __future__ import print_function __author__ = 'christoph.statz <at> tu-dresden.de' from numpy import ndindex from maui.backend.helper import calc_local_indices, calculate_adjacency, \ create_mask_from_indices, d...
32.761905
112
0.648619
345
2,752
5
0.284058
0.04058
0.032464
0.048696
0.068406
0
0
0
0
0
0
0.001493
0.269985
2,752
83
113
33.156627
0.857143
0.168605
0
0.08
0
0
0.015206
0
0
0
0
0.024096
0
1
0.06
false
0
0.14
0.02
0.26
0.02
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
55173db20af993ca3a778ceb3005dd22acf1ad23
705
py
Python
dict_zip/__init__.py
kitsuyui/dict_zip
b84c283179d1e0e490b5b1c75f0243f589f4a1ee
[ "BSD-3-Clause" ]
null
null
null
dict_zip/__init__.py
kitsuyui/dict_zip
b84c283179d1e0e490b5b1c75f0243f589f4a1ee
[ "BSD-3-Clause" ]
7
2021-12-31T08:39:51.000Z
2022-03-06T14:53:43.000Z
dict_zip/__init__.py
kitsuyui/dict_zip
b84c283179d1e0e490b5b1c75f0243f589f4a1ee
[ "BSD-3-Clause" ]
null
null
null
import functools def dict_zip(*dictionaries): common_keys = functools.reduce(lambda x, y: x | y, (set(d.keys()) for d in dictionaries), set()) return { key: tuple(d[key] for d in dictionaries) for key in common_keys ...
30.652174
73
0.514894
86
705
4.139535
0.290698
0.05618
0.08427
0.252809
0.646067
0.646067
0.646067
0.646067
0.646067
0.44382
0
0
0.394326
705
22
74
32.045455
0.833724
0
0
0.555556
0
0
0
0
0
0
0
0
0
1
0.111111
false
0
0.055556
0
0.277778
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
551d01ce7057a944c0f27332b32a5c30b531a6f9
1,316
py
Python
bnbapp/bionetbook/_old/verbs/views.py
Bionetbook/bionetbook
c92d5bbdc5c121631c2230cf93aa63977d381f30
[ "MIT" ]
null
null
null
bnbapp/bionetbook/_old/verbs/views.py
Bionetbook/bionetbook
c92d5bbdc5c121631c2230cf93aa63977d381f30
[ "MIT" ]
null
null
null
bnbapp/bionetbook/_old/verbs/views.py
Bionetbook/bionetbook
c92d5bbdc5c121631c2230cf93aa63977d381f30
[ "MIT" ]
null
null
null
from django.http import Http404 from django.views.generic import TemplateView from verbs import forms as verb_forms from verbs.utils import VERB_LIST class VerbBaseView(object): def get_verb_form(self, slug=None): if slug is None: slug = self.kwargs.get('slug') # convert the slug ...
26.32
74
0.657295
168
1,316
4.970238
0.339286
0.067066
0.067066
0.069461
0.239521
0.102994
0.102994
0.102994
0.102994
0
0
0.014896
0.234802
1,316
49
75
26.857143
0.8143
0.025076
0
0.137931
0
0
0.074161
0.017174
0
0
0
0
0
1
0.103448
false
0
0.137931
0
0.517241
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
55234a5cf15da0a338f54e1bb37f13396f408d5e
28,643
py
Python
src/simplestack/hypervisors/xen.py
locaweb/simplestack
1125a17f65b92df16ef219074f34b9c28c3a21b8
[ "Apache-2.0" ]
9
2015-06-08T22:48:22.000Z
2019-06-05T22:40:42.000Z
src/simplestack/hypervisors/xen.py
Marcosdbras/simplestack
1125a17f65b92df16ef219074f34b9c28c3a21b8
[ "Apache-2.0" ]
3
2015-06-23T21:36:02.000Z
2016-04-08T19:00:24.000Z
src/simplestack/hypervisors/xen.py
locaweb/simplestack
1125a17f65b92df16ef219074f34b9c28c3a21b8
[ "Apache-2.0" ]
6
2015-06-04T20:16:05.000Z
2016-11-01T22:29:26.000Z
# Copyright 2013 Locaweb. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
36.581098
116
0.58503
3,509
28,643
4.490738
0.103448
0.103059
0.143419
0.067014
0.480645
0.361658
0.276685
0.224711
0.178386
0.159348
0
0.008843
0.305171
28,643
782
117
36.627877
0.782936
0.028174
0
0.241758
0
0
0.091168
0.00462
0
0
0
0.001279
0
0
null
null
0.012559
0.021978
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
9b294417231b36f191a37bd82aeb3358f9fa0240
1,465
py
Python
drf_nested/mixins/base_nestable_mixin.py
promoteinternational/drf-nested
0042b9e4c100df4ae43a10684c30348160b39187
[ "MIT" ]
1
2020-01-05T07:23:48.000Z
2020-01-05T07:23:48.000Z
drf_nested/mixins/base_nestable_mixin.py
promoteinternational/drf-nested
0042b9e4c100df4ae43a10684c30348160b39187
[ "MIT" ]
null
null
null
drf_nested/mixins/base_nestable_mixin.py
promoteinternational/drf-nested
0042b9e4c100df4ae43a10684c30348160b39187
[ "MIT" ]
2
2019-08-12T07:36:57.000Z
2019-11-30T01:40:30.000Z
from rest_framework import serializers class BaseNestableMixin(serializers.ModelSerializer): def _get_model_pk(self): if isinstance(self, serializers.ListSerializer): model = self.child.Meta.model else: model = self.Meta.model return model._meta.pk.attname def ...
34.880952
88
0.617747
167
1,465
5.101796
0.263473
0.198357
0.070423
0.032864
0.237089
0.152582
0.152582
0.152582
0.152582
0.152582
0
0
0.313993
1,465
41
89
35.731707
0.847761
0
0
0.294118
0
0
0
0
0
0
0
0
0
1
0.147059
false
0.117647
0.029412
0
0.264706
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
9b34731590ceac0fa109a0df321436190bc2fb6d
406
py
Python
lambdata/fibo.py
mudesir/lambdata-mudesir
764bd61f93871a8db8e4c13c0c508fa784b30795
[ "MIT" ]
null
null
null
lambdata/fibo.py
mudesir/lambdata-mudesir
764bd61f93871a8db8e4c13c0c508fa784b30795
[ "MIT" ]
null
null
null
lambdata/fibo.py
mudesir/lambdata-mudesir
764bd61f93871a8db8e4c13c0c508fa784b30795
[ "MIT" ]
null
null
null
""" Fibonancci series up to n""" def fib(n): # write Fibonacci series up to n a, b = 0, 1 while a < n: print(a, end=' ') a, b = b, a + b print() def fib2(n): # return Fibonacci series up to n result = [] a, b = 0, 1 while a < n: result.append(a) a, b = b,...
19.333333
48
0.495074
68
406
2.955882
0.382353
0.059701
0.149254
0.164179
0.358209
0.109453
0.109453
0
0
0
0
0.042969
0.369458
406
21
49
19.333333
0.742188
0.219212
0
0.375
0
0
0.003226
0
0
0
0
0
0
1
0.1875
false
0
0
0
0.3125
0.125
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9b3dd9666b810bbbf3ac09634f03ca0a7a980ec1
907
py
Python
scripts/Portfolio.py
jcoffi/FuturesAndOptionsTradingSimulation
e02fdbe8c40021785a2a1dae56ff4b72f2d47c30
[ "MIT" ]
14
2017-02-16T15:13:53.000Z
2021-05-26T11:34:09.000Z
scripts/Portfolio.py
jcoffi/FuturesAndOptionsTradingSimulation
e02fdbe8c40021785a2a1dae56ff4b72f2d47c30
[ "MIT" ]
null
null
null
scripts/Portfolio.py
jcoffi/FuturesAndOptionsTradingSimulation
e02fdbe8c40021785a2a1dae56ff4b72f2d47c30
[ "MIT" ]
10
2016-08-05T07:37:07.000Z
2021-11-26T17:31:48.000Z
class Portfolio: # define array of items that are the trades in the portfolio # run-time interpretation will handle polymorphism for me Trades = [] Cash = 0.0 Name = '' def __init__(self,name=''): self.Name = name self.Trades = [] self.Cash = 0.0 def Append(self,X): self.Trades.appen...
21.595238
61
0.657111
128
907
4.625
0.304688
0.135135
0.084459
0.118243
0.310811
0.277027
0.277027
0.277027
0.277027
0
0
0.008633
0.233738
907
41
62
22.121951
0.843165
0.125689
0
0.172414
0
0
0
0
0
0
0
0
0
1
0.275862
false
0
0
0.034483
0.482759
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
9b48f28b8afc10e11bfdaefdaa1f0ebf16ff5c1a
496
py
Python
app/migrations/0007_auto_20190909_1207.py
LuoBingjun/Pic_demo
67df08bb60d739f60ef55ae672331dfc9f4b91e9
[ "MIT" ]
1
2019-11-07T07:38:21.000Z
2019-11-07T07:38:21.000Z
app/migrations/0007_auto_20190909_1207.py
LuoBingjun/Pic_demo
67df08bb60d739f60ef55ae672331dfc9f4b91e9
[ "MIT" ]
null
null
null
app/migrations/0007_auto_20190909_1207.py
LuoBingjun/Pic_demo
67df08bb60d739f60ef55ae672331dfc9f4b91e9
[ "MIT" ]
null
null
null
# Generated by Django 2.2 on 2019-09-09 04:07 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('app', '0006_auto_20190908_1239'), ] operations = [ migrations.RemoveField( model_name='record', name='result', ...
21.565217
63
0.570565
50
496
5.54
0.74
0.064982
0.108303
0.137184
0
0
0
0
0
0
0
0.097059
0.314516
496
22
64
22.545455
0.717647
0.086694
0
0.25
1
0
0.115299
0.050998
0
0
0
0
0
1
0
false
0
0.0625
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9b541c6a3fbf91dbca5c640d4d23809655f1c51e
557
py
Python
pioneer/das/api/sensors/radar_conti.py
leddartech/pioneer.das.api
35f2c541ea8d1768d5f4612ea8d29cb2ba8345b7
[ "BSD-3-Clause" ]
8
2021-02-19T16:24:18.000Z
2021-10-01T17:51:22.000Z
pioneer/das/api/sensors/radar_conti.py
leddartech/pioneer.das.api
35f2c541ea8d1768d5f4612ea8d29cb2ba8345b7
[ "BSD-3-Clause" ]
8
2021-02-25T08:56:37.000Z
2021-10-20T20:58:26.000Z
pioneer/das/api/sensors/radar_conti.py
leddartech/pioneer.das.api
35f2c541ea8d1768d5f4612ea8d29cb2ba8345b7
[ "BSD-3-Clause" ]
2
2021-03-01T07:47:31.000Z
2021-07-07T20:50:27.000Z
from pioneer.das.api.interpolators import nearest_interpolator from pioneer.das.api.samples import Sample, XYZVI from pioneer.das.api.sensors.sensor import Sensor class RadarConti(Sensor): def __init__(self, name, platform): super(RadarConti, self).__init__(name, plat...
34.8125
79
0.628366
59
557
5.677966
0.559322
0.098507
0.125373
0.152239
0
0
0
0
0
0
0
0
0.274686
557
15
80
37.133333
0.829208
0.044883
0
0
0
0
0.024528
0
0
0
0
0
0
1
0.181818
false
0
0.272727
0.090909
0.636364
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
9b58d4400bbdb34fc2d07bfc0b3491efc7db6734
1,591
py
Python
src/rez/command.py
alexey-pelykh/rez
ad12105d89d658e4d2ea9249e537b3de90391f0e
[ "Apache-2.0" ]
null
null
null
src/rez/command.py
alexey-pelykh/rez
ad12105d89d658e4d2ea9249e537b3de90391f0e
[ "Apache-2.0" ]
null
null
null
src/rez/command.py
alexey-pelykh/rez
ad12105d89d658e4d2ea9249e537b3de90391f0e
[ "Apache-2.0" ]
null
null
null
# SPDX-License-Identifier: Apache-2.0 # Copyright Contributors to the Rez Project from rez.config import config class Command(object): """An interface for registering custom Rez subcommand To register plugin and expose subcommand, the plugin module.. * MUST have a module-level docstring (used as the c...
28.410714
73
0.618479
182
1,591
5.313187
0.483516
0.043433
0.037229
0.033092
0.055843
0
0
0
0
0
0
0.001761
0.285984
1,591
55
74
28.927273
0.849472
0.746072
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.125
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
9b5b90ba9de60d16148db4dd69789b1de518923d
10,020
py
Python
maya/maximumreplacer/maximumreplacer.py
KasumiL5x/misc-scripts
1428c38d4e670887559dad463ca76ec16fa3cb3d
[ "MIT" ]
null
null
null
maya/maximumreplacer/maximumreplacer.py
KasumiL5x/misc-scripts
1428c38d4e670887559dad463ca76ec16fa3cb3d
[ "MIT" ]
null
null
null
maya/maximumreplacer/maximumreplacer.py
KasumiL5x/misc-scripts
1428c38d4e670887559dad463ca76ec16fa3cb3d
[ "MIT" ]
null
null
null
# # Maximum Replacer # Daniel Green, 2019 # GitHub: KasumiL5x import re import PySide2.QtCore as QC import PySide2.QtGui as QG import PySide2.QtWidgets as QW import shiboken2 import maya.cmds as mc import maya.mel as mel import maya.OpenMayaUI as omui def get_maya_window(): ptr = omui.MQtUtil.mainWin...
31.021672
163
0.706088
1,389
10,020
4.891289
0.208063
0.024728
0.022961
0.020018
0.298793
0.203562
0.187371
0.135266
0.093612
0.04975
0
0.009534
0.173054
10,020
322
164
31.118012
0.810403
0.120359
0
0.171429
0
0.004762
0.044181
0.003444
0
0
0
0
0
0
null
null
0.004762
0.038095
null
null
0.009524
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
9b5b913e02f8123988742b45f5d052d7c7f93dad
450
py
Python
poradnia/advicer/migrations/0017_auto_20190404_0337.py
efefre/poradnia
8bf9c88888d538cf4d1224431355c850d31ef252
[ "MIT" ]
23
2015-07-20T01:10:52.000Z
2021-01-12T10:05:48.000Z
poradnia/advicer/migrations/0017_auto_20190404_0337.py
efefre/poradnia
8bf9c88888d538cf4d1224431355c850d31ef252
[ "MIT" ]
710
2015-07-12T13:19:14.000Z
2022-03-29T12:38:18.000Z
poradnia/advicer/migrations/0017_auto_20190404_0337.py
efefre/poradnia
8bf9c88888d538cf4d1224431355c850d31ef252
[ "MIT" ]
20
2015-07-21T00:45:34.000Z
2021-01-31T12:48:18.000Z
# Generated by Django 1.11.13 on 2019-04-04 01:37 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [("advicer", "0016_auto_20190404_0320")] operations = [ migrations.AlterField( model_name="advice", name="subject", fie...
25
77
0.602222
49
450
5.408163
0.795918
0.083019
0
0
0
0
0
0
0
0
0
0.11215
0.286667
450
17
78
26.470588
0.713396
0.104444
0
0
1
0
0.124688
0.057357
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9b664d34a153185d435a0fc2f7e3449ba8d9f583
863
py
Python
notas/urls.py
shiminasai/cafodca
c7935a5daa3e0cff5a1de4b43ef24c227fbf7104
[ "MIT" ]
null
null
null
notas/urls.py
shiminasai/cafodca
c7935a5daa3e0cff5a1de4b43ef24c227fbf7104
[ "MIT" ]
null
null
null
notas/urls.py
shiminasai/cafodca
c7935a5daa3e0cff5a1de4b43ef24c227fbf7104
[ "MIT" ]
1
2018-08-30T15:17:52.000Z
2018-08-30T15:17:52.000Z
from django.conf.urls import url from django.views.generic import ListView, DetailView from models import Notas from .views import * urlpatterns = [ url(r'^$', list_notas,name='notas_list'), # url(r'^$', 'lista_notas', name="notas_list"), url(r'^pais/(?P<id>\d+)/$', lista_notas_pais, name="notas_list_pais"...
45.421053
85
0.625724
128
863
4.070313
0.25
0.084453
0.046065
0.069098
0.138196
0.084453
0
0
0
0
0
0
0.122827
863
18
86
47.944444
0.688243
0.282735
0
0
0
0
0.285016
0.035831
0
0
0
0
0
1
0
false
0
0.307692
0
0.307692
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
9b6719689bae3d00e455b01c0457a2796d3ed7ee
234
py
Python
python/terminal/question.py
VEXG/experimental
5c3a4a7849223668c50b590e6736dd67e80b2bd5
[ "MIT" ]
1
2021-11-28T06:38:26.000Z
2021-11-28T06:38:26.000Z
python/terminal/question.py
VEXG/Experimental
5c3a4a7849223668c50b590e6736dd67e80b2bd5
[ "MIT" ]
null
null
null
python/terminal/question.py
VEXG/Experimental
5c3a4a7849223668c50b590e6736dd67e80b2bd5
[ "MIT" ]
null
null
null
get_nama = input('Masukan nama : ') try: get_umur = int(input('Masukan umur : ')) except Exception as e: print('Harus pakek angka ya') else: print(f'Halo {get_nama.capitalize()}!') print(f'Umur kamu {str(get_umur)}')
23.4
44
0.645299
35
234
4.2
0.628571
0.095238
0
0
0
0
0
0
0
0
0
0
0.188034
234
9
45
26
0.773684
0
0
0
0
0
0.444444
0.102564
0
0
0
0
0
1
0
false
0
0
0
0
0.375
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9b79c51f51e4fcc4c1ebd4a4c68ac21d9a6da8dc
800
py
Python
tests/scheme/test_stochastic.py
olivierverdier/odelab
ee3300c663f595c2d185a00605bcfb93649352e0
[ "BSD-3-Clause" ]
15
2016-05-23T14:56:58.000Z
2022-03-16T23:20:58.000Z
tests/scheme/test_stochastic.py
olivierverdier/odelab
ee3300c663f595c2d185a00605bcfb93649352e0
[ "BSD-3-Clause" ]
3
2016-03-04T17:56:23.000Z
2018-04-03T03:28:46.000Z
tests/scheme/test_stochastic.py
olivierverdier/odelab
ee3300c663f595c2d185a00605bcfb93649352e0
[ "BSD-3-Clause" ]
4
2016-01-31T15:49:27.000Z
2022-02-16T06:50:31.000Z
# -*- coding: utf-8 -*- from __future__ import division import unittest import odelab from odelab.scheme.stochastic import * from odelab.system import * from odelab.solver import * import numpy as np class Test_OU(unittest.TestCase): def test_run(self): sys = OrnsteinUhlenbeck() scheme = EulerMaruyama() sc...
21.052632
54
0.69375
121
800
4.520661
0.396694
0.054845
0.016453
0.051188
0.259598
0.197441
0.197441
0.197441
0.197441
0.197441
0
0.041605
0.15875
800
37
55
21.621622
0.771174
0.08
0
0.24
0
0
0
0
0
0
0
0
0
1
0.08
false
0
0.28
0
0.52
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
9b7c739e173d20dff119768f253266906470193f
190
py
Python
800/11_05_2021/236A.py
hieuptch2012001/Python_codeforces
44af7bf3b24bf97a858ea2e5e262789e82f3be20
[ "MIT" ]
null
null
null
800/11_05_2021/236A.py
hieuptch2012001/Python_codeforces
44af7bf3b24bf97a858ea2e5e262789e82f3be20
[ "MIT" ]
null
null
null
800/11_05_2021/236A.py
hieuptch2012001/Python_codeforces
44af7bf3b24bf97a858ea2e5e262789e82f3be20
[ "MIT" ]
null
null
null
def main(): a = input() set_a = set(a) if len(set_a) % 2 == 0: print('CHAT WITH HER!') else: print('IGNORE HIM!') if __name__ == "__main__": main()
15.833333
31
0.473684
26
190
3.076923
0.653846
0.15
0
0
0
0
0
0
0
0
0
0.01626
0.352632
190
12
32
15.833333
0.634146
0
0
0
0
0
0.172775
0
0
0
0
0
0
1
0.111111
false
0
0
0
0.111111
0.222222
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9b7e8494350df12be77e18fc1483cb19d4164d7e
540
py
Python
tests/seahub/utils/test_get_conf_test_ext.py
jjzhang166/seahub
8ced28759fc1e158196a7743eb149882451f9143
[ "Apache-2.0" ]
null
null
null
tests/seahub/utils/test_get_conf_test_ext.py
jjzhang166/seahub
8ced28759fc1e158196a7743eb149882451f9143
[ "Apache-2.0" ]
null
null
null
tests/seahub/utils/test_get_conf_test_ext.py
jjzhang166/seahub
8ced28759fc1e158196a7743eb149882451f9143
[ "Apache-2.0" ]
null
null
null
from constance import config from django.conf import settings from seahub.utils import get_conf_text_ext from seahub.test_utils import BaseTestCase class GetConfTextExtTest(BaseTestCase): def setUp(self): self.clear_cache() def tearDown(self): self.clear_cache() def test_get(self): ...
25.714286
67
0.731481
73
540
5.109589
0.369863
0.160858
0.150134
0.075067
0.369973
0.257373
0
0
0
0
0
0
0.2
540
20
68
27
0.863426
0
0
0.142857
0
0
0.009259
0
0
0
0
0
0.142857
1
0.214286
false
0
0.285714
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
9b854547ce122150f374e9b3810671a67b5c8301
2,507
py
Python
ehelp/application/urls.py
Taimur-DevOps/ehelp_fyp
626fe103b0f3fd5638d01a247177b04771d273b0
[ "Apache-2.0" ]
7
2020-05-13T10:12:26.000Z
2020-06-19T12:06:21.000Z
ehelp/application/urls.py
Taimur-DevOps/ehelp_fyp
626fe103b0f3fd5638d01a247177b04771d273b0
[ "Apache-2.0" ]
10
2020-05-13T10:15:39.000Z
2020-07-04T10:12:49.000Z
ehelp/application/urls.py
Taimur-DevOps/ehelp_fyp
626fe103b0f3fd5638d01a247177b04771d273b0
[ "Apache-2.0" ]
1
2021-03-05T08:20:31.000Z
2021-03-05T08:20:31.000Z
from django.urls import path, include from django.conf.urls import url from .views import ( view_dashboard, view_home, view_queue, view_privacy, view_requests, view_responses, view_login, view_logout, view_signup, view_activate, view_profile, view_request_description, ...
38.569231
119
0.695253
321
2,507
5.168224
0.190031
0.029536
0.037975
0.036166
0.096444
0
0
0
0
0
0
0.006491
0.139609
2,507
64
120
39.171875
0.762633
0
0
0
0
0.017857
0.309932
0.157958
0
0
0
0
0
1
0
false
0.053571
0.071429
0
0.071429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
9b871ef10097303dfbe37230c53f723fb9995222
4,559
py
Python
TEP-IFPI-2017_8-master/django-api-atv1-master/app/settings.py
danieldsf/ads-activities
3da8168f685dfdbe146e20023fbdaefd46c21b54
[ "Apache-2.0" ]
1
2021-08-19T12:13:21.000Z
2021-08-19T12:13:21.000Z
TEP-IFPI-2017_8-master/django-api-atv1-master/app/settings.py
danieldsf/ads-activities
3da8168f685dfdbe146e20023fbdaefd46c21b54
[ "Apache-2.0" ]
null
null
null
TEP-IFPI-2017_8-master/django-api-atv1-master/app/settings.py
danieldsf/ads-activities
3da8168f685dfdbe146e20023fbdaefd46c21b54
[ "Apache-2.0" ]
null
null
null
import os, raven, logging from unipath import Path from decouple import config BASE_DIR = Path(__file__).parent PROJECT_DIR = BASE_DIR.parent # Quick-start development settings - unsuitable for production # See https://docs.djangoproject.com/en/2.0/howto/deployment/checklist/ # SECURITY WARNING: keep the secret key ...
28.672956
108
0.70476
524
4,559
5.954198
0.341603
0.075
0.04359
0.042628
0.172756
0.133654
0.056731
0.047436
0.025641
0
0
0.009336
0.1542
4,559
159
109
28.672956
0.799793
0.186225
0
0
0
0
0.457011
0.325468
0
0
0
0
0
1
0
false
0.07619
0.038095
0
0.038095
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
9b88ebd294202137130c5b6d6d9f97e03cd4bb8d
10,305
py
Python
python/vsi/utils/image_iterators.py
cabdiweli1/vsi_common
179a607fe7834bcd5ca35804c05c3d9909269b94
[ "MIT" ]
7
2017-09-04T01:53:43.000Z
2020-12-20T20:21:35.000Z
python/vsi/utils/image_iterators.py
cabdiweli1/vsi_common
179a607fe7834bcd5ca35804c05c3d9909269b94
[ "MIT" ]
165
2017-07-10T21:56:07.000Z
2022-03-22T12:20:56.000Z
python/vsi/utils/image_iterators.py
cabdiweli1/vsi_common
179a607fe7834bcd5ca35804c05c3d9909269b94
[ "MIT" ]
8
2017-06-23T20:37:16.000Z
2020-09-08T21:00:26.000Z
import numpy as np from collections import namedtuple import skimage.measure #import matplotlib.pyplot as plt #import ipdb # could maybe turn this into a generic mutable namedtuple class Point2D(object): __slots__ = "x", "y" def __init__(self, x, y): self.x = x self.y = y def __iter__(self): '''itera...
35.905923
94
0.62261
1,519
10,305
4.048716
0.185648
0.017561
0.038049
0.016911
0.478374
0.401626
0.367317
0.337724
0.31561
0.29561
0
0.014459
0.255022
10,305
286
95
36.031469
0.786635
0.389229
0
0.19469
0
0
0.053371
0
0
0
0
0.01049
0.017699
1
0.088496
false
0
0.026549
0
0.185841
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
9b8dd595503aa79885e97ae9b633af4b7f27dde4
1,193
py
Python
modules/tankshapes/base.py
bullseyestudio/guns-game
3104c44e43ea7f000f6b9e756d622f98110d0a21
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
modules/tankshapes/base.py
bullseyestudio/guns-game
3104c44e43ea7f000f6b9e756d622f98110d0a21
[ "Apache-2.0", "BSD-3-Clause" ]
1
2018-11-21T04:50:57.000Z
2018-11-21T04:50:57.000Z
modules/tankshapes/base.py
bullseyestudio/guns-game
3104c44e43ea7f000f6b9e756d622f98110d0a21
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
""" Base tank shape -- all other shapes derive from this Minimal requirements: - typeID - position (relative to tank origin) - size (fixed for most shapes) - layer (fixed for most shapes) - anchor rectangle (what portion of the shape must be supported by the lower layer; most shapes will define their entire extent as...
27.744186
122
0.694887
182
1,193
4.483516
0.373626
0.073529
0.029412
0.044118
0
0
0
0
0
0
0
0.016162
0.170159
1,193
42
123
28.404762
0.808081
0.409891
0
0
0
0.043478
0.183908
0.183908
0
0
0
0.02381
0
1
0.173913
false
0
0
0.086957
0.565217
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
9b95465df4f81a9c77fb0305cc9e435e33cab32b
2,713
py
Python
aries_cloudagent/did/tests/test_did_key_bls12381g1.py
kuraakhilesh8230/aries-cloudagent-python
ee384d1330f6a50ff45a507392ce54f92900f23a
[ "Apache-2.0" ]
247
2019-07-02T21:10:21.000Z
2022-03-30T13:55:33.000Z
aries_cloudagent/did/tests/test_did_key_bls12381g1.py
kuraakhilesh8230/aries-cloudagent-python
ee384d1330f6a50ff45a507392ce54f92900f23a
[ "Apache-2.0" ]
1,462
2019-07-02T20:57:30.000Z
2022-03-31T23:13:35.000Z
aries_cloudagent/did/tests/test_did_key_bls12381g1.py
kuraakhilesh8230/aries-cloudagent-python
ee384d1330f6a50ff45a507392ce54f92900f23a
[ "Apache-2.0" ]
377
2019-06-20T21:01:31.000Z
2022-03-30T08:27:53.000Z
from unittest import TestCase from ...wallet.key_type import KeyType from ...wallet.util import b58_to_bytes from ..did_key import DIDKey, DID_KEY_RESOLVERS from .test_dids import ( DID_BLS12381G1_z3tEFALUKUzzCAvytMHX8X4SnsNsq6T5tC5Zb18oQEt1FqNcJXqJ3AA9umgzA9yoqPBeWA, ) TEST_BLS12381G1_BASE58_KEY = ( "6FywSz...
35.697368
100
0.762624
328
2,713
5.832317
0.121951
0.248824
0.075274
0.096184
0.565081
0.496602
0.450078
0.367486
0.367486
0.367486
0
0.146298
0.173609
2,713
75
101
36.173333
0.706958
0
0
0.232143
0
0
0.085514
0.082565
0
0
0
0
0.25
1
0.125
false
0
0.089286
0
0.232143
0.053571
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9b9a642c5bb4e0db8a58edd0aa6de6ffd9afe4b5
3,580
py
Python
adminmgr/testmgr/testoutput.py
IamMayankThakur/test-bigdata
cef633eb394419b955bdce479699d0115d8f99c3
[ "Apache-2.0" ]
9
2019-11-08T02:05:27.000Z
2021-12-13T12:06:35.000Z
adminmgr/testmgr/testoutput.py
IamMayankThakur/test-bigdata
cef633eb394419b955bdce479699d0115d8f99c3
[ "Apache-2.0" ]
6
2019-11-27T03:23:16.000Z
2021-06-10T19:15:13.000Z
adminmgr/testmgr/testoutput.py
IamMayankThakur/test-bigdata
cef633eb394419b955bdce479699d0115d8f99c3
[ "Apache-2.0" ]
4
2019-11-26T17:04:27.000Z
2021-12-13T11:57:03.000Z
import os from hdfs import InsecureClient from .config import * def test_task_3(output_paths): if(output_paths[0] == None): return [0] path_to_correct_output_1 = os.path.join(SETTERS_OUTPUT_BASE_PATH, "Task3", "0.txt"...
38.085106
95
0.510335
443
3,580
3.785553
0.126411
0.064401
0.116279
0.169946
0.54025
0.49672
0.477042
0.477042
0.384615
0.384615
0
0.033245
0.369832
3,580
93
96
38.494624
0.710106
0
0
0.290323
0
0
0.073395
0
0
0
0
0
0
1
0.064516
false
0.016129
0.048387
0
0.258065
0.129032
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9ba2133bd4256d218e9f8e1eb563e58e260c176f
405
py
Python
ecorelevesensor/models/animal.py
NaturalSolutions/ecoReleve-Server
5bd49799784c32afdf8dec8b844f282056052e01
[ "MIT" ]
null
null
null
ecorelevesensor/models/animal.py
NaturalSolutions/ecoReleve-Server
5bd49799784c32afdf8dec8b844f282056052e01
[ "MIT" ]
null
null
null
ecorelevesensor/models/animal.py
NaturalSolutions/ecoReleve-Server
5bd49799784c32afdf8dec8b844f282056052e01
[ "MIT" ]
null
null
null
from sqlalchemy import ( Column, Index, Integer, Sequence, String, ) from ecorelevesensor.models import Base class Animal(Base): #TODO: Ajouter un autoincrément à la fin d'eRelevé __tablename__ = 'T_Animal' id = Column('PK_id', Integer, primary_key=True) chip_code = Column(String(10)) ...
22.5
56
0.676543
51
405
5.039216
0.72549
0.062257
0
0
0
0
0
0
0
0
0
0.006369
0.224691
405
18
57
22.5
0.812102
0.120988
0
0
0
0
0.101124
0.064607
0
0
0
0.055556
0
1
0
false
0
0.133333
0
0.466667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
9ba5fd924bb94c3f47585b7abe6d2385b71ceb4d
1,025
py
Python
core/migrations/0003_auto_20190805_1144.py
ArthurGorgonio/suggestclasses
7e6ce79cca6cd92ed8a38b12707f900f019508c8
[ "MIT" ]
null
null
null
core/migrations/0003_auto_20190805_1144.py
ArthurGorgonio/suggestclasses
7e6ce79cca6cd92ed8a38b12707f900f019508c8
[ "MIT" ]
null
null
null
core/migrations/0003_auto_20190805_1144.py
ArthurGorgonio/suggestclasses
7e6ce79cca6cd92ed8a38b12707f900f019508c8
[ "MIT" ]
null
null
null
# Generated by Django 2.1.5 on 2019-08-05 14:44 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('core', '0002_auto_20190509_1508'), ] operations = [ migrations.CreateModel( name='Horario', fields=[ ...
36.607143
222
0.547317
102
1,025
5.392157
0.676471
0.04
0.08
0
0
0
0
0
0
0
0
0.053191
0.266341
1,025
27
223
37.962963
0.678191
0.043902
0
0.095238
1
0
0.200409
0.023517
0
0
0
0
0
1
0
false
0
0.047619
0
0.190476
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9baef607861503ec24ea41d320add515148ff511
1,120
py
Python
shared/management/__init__.py
Saevon/webdnd
4dd5d30ae105ede51bbd92bf5281a6965b7d55f4
[ "MIT" ]
4
2015-09-26T01:12:36.000Z
2020-01-04T19:36:58.000Z
shared/management/__init__.py
Saevon/webdnd
4dd5d30ae105ede51bbd92bf5281a6965b7d55f4
[ "MIT" ]
null
null
null
shared/management/__init__.py
Saevon/webdnd
4dd5d30ae105ede51bbd92bf5281a6965b7d55f4
[ "MIT" ]
null
null
null
from django.db.models.signals import post_syncdb from django.conf import settings from django.core import management import os import re FIXTURE_RE = re.compile(r'^[^.]*.json$') def load_data(sender, **kwargs): """ Loads fixture data after loading the last installed app """ if kwargs['app'].__name__...
30.27027
76
0.633036
141
1,120
4.865248
0.475177
0.139942
0.043732
0
0
0
0
0
0
0
0
0.004796
0.255357
1,120
36
77
31.111111
0.817746
0.014286
0
0
0
0
0.080504
0
0
0
0
0
0
0
null
null
0
0.217391
null
null
0.130435
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
9bb8df4a21b9d2429aa3c7782ed5de433244e38c
2,182
py
Python
django/reviewApp/admin.py
Akasiek/scorethatlp
1c669afdaa8fe990e53706f5e60d201fbb76c26a
[ "MIT" ]
5
2022-03-15T18:00:40.000Z
2022-03-25T18:19:29.000Z
django/reviewApp/admin.py
Akasiek/scorethatlp
1c669afdaa8fe990e53706f5e60d201fbb76c26a
[ "MIT" ]
null
null
null
django/reviewApp/admin.py
Akasiek/scorethatlp
1c669afdaa8fe990e53706f5e60d201fbb76c26a
[ "MIT" ]
null
null
null
from django.contrib import admin from . import models @admin.register(models.Reviewer) class ReviewerAdmin(admin.ModelAdmin): autocomplete_fields = ["user"] list_display = ["username", "email"] search_fields = ["username__istartswith"] @admin.register(models.Album) class AlbumAdmin(admin.ModelAdmin): ...
27.275
69
0.715857
236
2,182
6.262712
0.233051
0.096752
0.141407
0.105548
0.411367
0.308525
0.266576
0.108254
0.108254
0.108254
0
0.002142
0.144363
2,182
79
70
27.620253
0.789502
0
0
0.192982
0
0
0.186984
0.009624
0
0
0
0
0
1
0
false
0
0.035088
0
0.736842
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
32cb03bd40c7017374fd834eb43cf34574509e1f
18,865
py
Python
sdk/python/pulumiverse_unifi/get_network.py
pulumiverse/pulumi-unifi
e22e1bef9b409c71ad578b5d9e39284a26da355c
[ "ECL-2.0", "Apache-2.0" ]
1
2022-03-29T18:49:28.000Z
2022-03-29T18:49:28.000Z
sdk/python/pulumiverse_unifi/get_network.py
pulumiverse/pulumi-unifi
e22e1bef9b409c71ad578b5d9e39284a26da355c
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumiverse_unifi/get_network.py
pulumiverse/pulumi-unifi
e22e1bef9b409c71ad578b5d9e39284a26da355c
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from . import ...
37.73
597
0.644739
2,400
18,865
4.750417
0.095417
0.030787
0.043505
0.081572
0.436979
0.316727
0.184019
0.145777
0.081835
0.071836
0
0.007247
0.253962
18,865
499
598
37.805611
0.802828
0.143917
0
0.1125
1
0
0.161046
0.006536
0
0
0
0
0
1
0.109375
false
0.028125
0.015625
0
0.234375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
32d3ee4e37f95648b16b3cf475de66461a7bbc87
1,567
py
Python
examples/ecs/v1/tag.py
wangrui1121/huaweicloud-sdk-python
240abe00288760115d1791012d4e3c4592d77ad1
[ "Apache-2.0" ]
43
2018-12-19T08:39:15.000Z
2021-07-21T02:45:43.000Z
examples/ecs/v1/tag.py
wangrui1121/huaweicloud-sdk-python
240abe00288760115d1791012d4e3c4592d77ad1
[ "Apache-2.0" ]
11
2019-03-17T13:28:56.000Z
2020-09-23T23:57:50.000Z
examples/ecs/v1/tag.py
wangrui1121/huaweicloud-sdk-python
240abe00288760115d1791012d4e3c4592d77ad1
[ "Apache-2.0" ]
47
2018-12-19T05:14:25.000Z
2022-03-19T15:28:30.000Z
# -*-coding:utf-8 -*- from openstack import connection # create connection username = "xxxxxx" password = "xxxxxx" projectId = "xxxxxxxxxxxxxxxxxxxxxxxxxxxx" # tenant ID userDomainId = "xxxxxxxxxxxxxxxxxxxxxxxxxxxx" # user account ID auth_url = "xxxxxxxxxxxxxxxxxxxxxxxxxxxx" # endpoint url conn = connection.C...
24.873016
66
0.558392
159
1,567
5.201258
0.314465
0.096735
0.174123
0.195889
0.396614
0.258767
0.169287
0.169287
0.106409
0.106409
0
0.021154
0.336311
1,567
62
67
25.274194
0.774038
0.0485
0
0.204082
0
0
0.136027
0.080808
0
0
0
0
0
1
0.081633
false
0.040816
0.020408
0
0.102041
0.040816
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
32d6dda7f9fcb6127ec4e39b65b162a9cd164291
433
py
Python
example.py
ebs-universe/cefkivy
d4414d2320567a34ce9ae3a071c421e8c5385639
[ "MIT" ]
null
null
null
example.py
ebs-universe/cefkivy
d4414d2320567a34ce9ae3a071c421e8c5385639
[ "MIT" ]
null
null
null
example.py
ebs-universe/cefkivy
d4414d2320567a34ce9ae3a071c421e8c5385639
[ "MIT" ]
null
null
null
from kivy.config import Config Config.set('kivy', 'log_level', 'debug') Config.set('kivy', 'keyboard_mode', 'systemandmulti') from kivy_garden.ebs.cefkivy.browser import CefBrowser, cefpython from kivy.app import App class CefBrowserApp(App): def build(self): return CefBrowser(start_url='https://india....
18.826087
65
0.699769
55
433
5.290909
0.636364
0.082474
0.089347
0
0
0
0
0
0
0
0
0
0.154734
433
22
66
19.681818
0.795082
0
0
0
0
0
0.180974
0
0
0
0
0
0
1
0.153846
false
0
0.230769
0.076923
0.538462
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
32d6e8e3b95a83111cb772e4d6997f15af648684
2,541
py
Python
twitter_scraper/models.py
debianitram/simple-twitter-scraper
4d019c6459235b358561a6f33704bd7673e41cd9
[ "MIT" ]
null
null
null
twitter_scraper/models.py
debianitram/simple-twitter-scraper
4d019c6459235b358561a6f33704bd7673e41cd9
[ "MIT" ]
null
null
null
twitter_scraper/models.py
debianitram/simple-twitter-scraper
4d019c6459235b358561a6f33704bd7673e41cd9
[ "MIT" ]
null
null
null
from django.db import models from django.db.models.signals import post_save from . import tasks ### Define Querysets class TwitterProfileQuerySet(models.QuerySet): def search(self, query): return self.filter(name__icontains=query) class TaskQuerySet(models.QuerySet): def search(self, query): ...
25.158416
76
0.647383
299
2,541
5.334448
0.294314
0.033856
0.040125
0.045141
0.270846
0.140439
0.097806
0.060188
0.060188
0
0
0.004145
0.240457
2,541
101
77
25.158416
0.82228
0.014955
0
0.09375
0
0
0.043269
0
0
0
0
0
0
1
0.125
false
0
0.046875
0.078125
0.578125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
32db11e8a219600ffc91fea3893d58146de2cd24
599
py
Python
BurstCube/NoahSim/GRBgenerator.py
BurstCube/Simulation
e9e1da1d84281f4b026e30eec2b78b64bf48491d
[ "MIT" ]
null
null
null
BurstCube/NoahSim/GRBgenerator.py
BurstCube/Simulation
e9e1da1d84281f4b026e30eec2b78b64bf48491d
[ "MIT" ]
15
2017-04-06T18:52:39.000Z
2019-08-15T17:48:40.000Z
BurstCube/NoahSim/GRBgenerator.py
BurstCube/Simulation
e9e1da1d84281f4b026e30eec2b78b64bf48491d
[ "MIT" ]
3
2017-06-13T17:54:29.000Z
2018-09-16T15:43:24.000Z
from healpy import nside2npix, pix2ang class Sky(): """ Generates an array of GRB's given certains strength at different sky positions. Output should be an array. """ def __init__(self, NSIDE, strength): # depending on NSIDE, there will be anywhere # from 12 to infin...
26.043478
61
0.624374
77
599
4.805195
0.688312
0.037838
0
0
0
0
0
0
0
0
0
0.01432
0.300501
599
22
62
27.227273
0.868735
0.414023
0
0
1
0
0
0
0
0
0
0
0
1
0.125
false
0
0.125
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
32e03a55b0a0a262c59549b45abf56ce24543ef2
2,121
py
Python
datasets/ttf_utils.py
derwind/mxfont
0b6d4554a1e2208906230d3121d792d450ed28dd
[ "MIT" ]
null
null
null
datasets/ttf_utils.py
derwind/mxfont
0b6d4554a1e2208906230d3121d792d450ed28dd
[ "MIT" ]
null
null
null
datasets/ttf_utils.py
derwind/mxfont
0b6d4554a1e2208906230d3121d792d450ed28dd
[ "MIT" ]
null
null
null
""" MX-Font Copyright (c) 2021-present NAVER Corp. MIT license """ from fontTools.ttLib import TTFont from fontTools.pens.basePen import BasePen from PIL import Image, ImageFont, ImageDraw import numpy as np class StopDraw(Exception): pass class SpaceOrNotPen(BasePen): def __init__(self, glyphSet=None): ...
22.326316
87
0.619048
285
2,121
4.45614
0.382456
0.044094
0.025984
0.025197
0.083465
0.050394
0.050394
0
0
0
0
0.021739
0.262612
2,121
94
88
22.56383
0.790281
0.071193
0
0.16129
0
0
0.015314
0
0
0
0
0
0
1
0.145161
false
0.080645
0.064516
0
0.322581
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
32e37766337681c7ddb9a7ff2dcd97afe00053dc
3,343
py
Python
P5-Intro Machine Learning/exercises/text_learning/vectorize_text.py
lucasosouza/udacity-data-analysis
2603565cede0c5269ce643584475929f8f2053ce
[ "MIT" ]
null
null
null
P5-Intro Machine Learning/exercises/text_learning/vectorize_text.py
lucasosouza/udacity-data-analysis
2603565cede0c5269ce643584475929f8f2053ce
[ "MIT" ]
null
null
null
P5-Intro Machine Learning/exercises/text_learning/vectorize_text.py
lucasosouza/udacity-data-analysis
2603565cede0c5269ce643584475929f8f2053ce
[ "MIT" ]
null
null
null
#!/usr/bin/python import os import pickle import re import sys sys.path.append( "../tools/" ) from parse_out_email_text import parseOutText """ Starter code to process the emails from Sara and Chris to extract the features and get the documents ready for classification. The list of all the emails from S...
34.112245
182
0.68292
500
3,343
4.466
0.374
0.032244
0.018809
0.015226
0.019704
0
0
0
0
0
0
0.008488
0.224649
3,343
97
183
34.463918
0.853009
0.340712
0
0
0
0
0.132219
0.056231
0
0
0
0
0
0
null
null
0.029412
0.176471
null
null
0.117647
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
32e6f45d6bd7a685d05389062bb8bff4f16a6e26
491
py
Python
tools/write_clinrecconv.py
s-mackay/combinato
18709b43023c3e66e18586654884d70f611f128e
[ "MIT" ]
34
2016-09-20T19:01:34.000Z
2021-12-25T12:00:34.000Z
tools/write_clinrecconv.py
s-mackay/combinato
18709b43023c3e66e18586654884d70f611f128e
[ "MIT" ]
38
2016-06-02T13:15:42.000Z
2022-02-22T09:11:31.000Z
tools/write_clinrecconv.py
s-mackay/combinato
18709b43023c3e66e18586654884d70f611f128e
[ "MIT" ]
16
2016-12-12T10:58:59.000Z
2021-09-27T12:16:31.000Z
# -*- coding: utf-8 -*- # JN 2014-10-21 # script creates a clinRecConv.py from ncs files import os import numpy as np from combinato import NcsFile from matplotlib.dates import date2num if __name__ == "__main__": if os.path.exists('clinRecConv.py'): print('File exists, doing nothing') else: fi...
25.842105
49
0.623218
69
491
4.318841
0.695652
0.087248
0
0
0
0
0
0
0
0
0
0.037333
0.236253
491
18
50
27.277778
0.757333
0.167006
0
0
0
0
0.2
0
0
0
0
0
0
1
0
false
0
0.307692
0
0.307692
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
32e6fbc481a78cbfe9f14dd3ec1951bc6b4cbdf9
687
py
Python
company/migrations/0020_auto_20210729_1526.py
uktrade/dnb-service
c8f22af82af70f33b8d6bf92e3ca6992fce1f220
[ "MIT" ]
4
2019-12-03T14:59:50.000Z
2020-04-28T12:42:24.000Z
company/migrations/0020_auto_20210729_1526.py
uktrade/dnb-service
c8f22af82af70f33b8d6bf92e3ca6992fce1f220
[ "MIT" ]
17
2019-04-11T13:12:57.000Z
2022-01-13T10:08:07.000Z
company/migrations/0020_auto_20210729_1526.py
uktrade/dnb-service
c8f22af82af70f33b8d6bf92e3ca6992fce1f220
[ "MIT" ]
3
2021-05-11T16:13:57.000Z
2022-03-08T15:57:19.000Z
# Generated by Django 2.2.20 on 2021-07-29 15:26 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('company', '0019_auto_20210512_1114'), ] operations = [ migrations.AlterField( model_name='company', name='address_a...
28.625
99
0.633188
74
687
5.662162
0.567568
0.095465
0.119332
0.138425
0.615752
0.615752
0.424821
0.424821
0.424821
0.424821
0
0.074074
0.253275
687
23
100
29.869565
0.74269
0.066958
0
0.470588
1
0
0.220657
0.128326
0
0
0
0
0
1
0
false
0
0.058824
0
0.235294
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
32e9f81ddc5d64582657b53d4e04bec533e863f8
851
py
Python
accounts/migrations/0002_auto_20201110_0811.py
Landgate/Staff-Calibration
d4a929526604e4de086e3d7f8783ea66a68b4ece
[ "Apache-2.0" ]
1
2021-11-23T05:48:41.000Z
2021-11-23T05:48:41.000Z
accounts/migrations/0002_auto_20201110_0811.py
Landgate/Staff-Calibration
d4a929526604e4de086e3d7f8783ea66a68b4ece
[ "Apache-2.0" ]
null
null
null
accounts/migrations/0002_auto_20201110_0811.py
Landgate/Staff-Calibration
d4a929526604e4de086e3d7f8783ea66a68b4ece
[ "Apache-2.0" ]
null
null
null
# Generated by Django 3.1 on 2020-11-10 00:11 from __future__ import unicode_literals from django.db import migrations, models import csv from datetime import datetime def load_initial_data(apps, schema_editor): Authority = apps.get_model("accounts", "Authority") with open("assets/authority/authority_names.csv", ...
24.314286
91
0.725029
109
851
5.486239
0.559633
0.090301
0.050167
0.083612
0.180602
0.180602
0.180602
0.180602
0.180602
0
0
0.027972
0.159812
851
34
92
25.029412
0.808392
0.06933
0
0
1
0
0.103929
0.045627
0
0
0
0
0
1
0.090909
false
0
0.181818
0
0.409091
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
32ed3329ef0ed0fcdff181e8230db0cbacc29950
12,923
py
Python
bioprocs/scripts/imtherapy/pTopiary.py
pwwang/biopipen
d53b78aa192fd56a5da457463b099b2aa833b284
[ "MIT" ]
2
2021-09-10T00:17:52.000Z
2021-10-10T09:53:09.000Z
bioprocs/scripts/imtherapy/pTopiary.py
pwwang/biopipen
d53b78aa192fd56a5da457463b099b2aa833b284
[ "MIT" ]
1
2021-12-02T07:54:09.000Z
2021-12-02T07:54:09.000Z
bioprocs/scripts/imtherapy/pTopiary.py
pwwang/biopipen
d53b78aa192fd56a5da457463b099b2aa833b284
[ "MIT" ]
2
2021-09-10T00:17:54.000Z
2021-10-10T09:56:40.000Z
""" ./topiary \ --vcf somatic.vcf \ --mhc-predictor netmhcpan \ --mhc-alleles HLA-A*02:01,HLA-B*07:02 \ --ic50-cutoff 500 \ --percentile-cutoff 2.0 \ --mhc-epitope-lengths 8-11 \ --rna-gene-fpkm-tracking-file genes.fpkm_tracking \ --rna-min-gene-expression 4.0 \ --rna-transcript-fpkm-tracking-file iso...
37.457971
257
0.655266
1,785
12,923
4.641457
0.214006
0.011587
0.014363
0.009173
0.330235
0.307544
0.28968
0.274472
0.24478
0.24478
0
0.044807
0.190049
12,923
344
258
37.56686
0.746728
0.132167
0
0.350181
0
0
0.152078
0.015514
0
0
0
0
0
0
null
null
0.01444
0.036101
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
32edc81f98179667721fbfdabf63ddc704e09027
459
py
Python
auth_api/auth_api/urls.py
rwreynolds/auth-api
2bc6e55da3cff60ed390f880cd31fc8229ed5446
[ "MIT" ]
null
null
null
auth_api/auth_api/urls.py
rwreynolds/auth-api
2bc6e55da3cff60ed390f880cd31fc8229ed5446
[ "MIT" ]
null
null
null
auth_api/auth_api/urls.py
rwreynolds/auth-api
2bc6e55da3cff60ed390f880cd31fc8229ed5446
[ "MIT" ]
null
null
null
from django.conf.urls import url, include from django.contrib import admin from rest_framework.documentation import include_docs_urls from auth_api import views urlpatterns = [ url(r'^admin/', admin.site.urls), url(r'^docs/', include_docs_urls(title='Todo API', description='RESTful API for Todo')), url(r...
30.6
92
0.701525
65
459
4.846154
0.430769
0.063492
0.095238
0
0
0
0
0
0
0
0
0
0.132898
459
14
93
32.785714
0.791457
0
0
0
0
0
0.163399
0
0
0
0
0
0
1
0
false
0
0.363636
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
32ee721fdc6e2c693cbdd385af07fb955a16e2b7
498
py
Python
hot_crawler/utils.py
wf1314/hot-crawler
1339a5f0691dfba431559ac59d4c05cace92996f
[ "MIT" ]
1
2019-07-30T06:03:37.000Z
2019-07-30T06:03:37.000Z
hot_crawler/utils.py
wf1314/hot-crawler
1339a5f0691dfba431559ac59d4c05cace92996f
[ "MIT" ]
3
2021-03-31T19:14:46.000Z
2021-12-13T20:05:27.000Z
hot_crawler/utils.py
wf1314/hot-crawler
1339a5f0691dfba431559ac59d4c05cace92996f
[ "MIT" ]
null
null
null
import redis from werkzeug.routing import BaseConverter class RegexConverter(BaseConverter): """ 正则匹配路由 """ def __init__(self, url_map, *args): super().__init__(url_map) self.regex = args[0] def get_redis(host='localhost', port=6379): """ 获取redis操作对象 :param host: :par...
20.75
76
0.656627
58
498
5.37931
0.568966
0.038462
0
0
0
0
0
0
0
0
0
0.012953
0.2249
498
23
77
21.652174
0.795337
0.106426
0
0
0
0
0.022388
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
32f1fce19203a1350fad5019a4ff73cc7d71ae2c
1,668
py
Python
code.py
kaushik0033/manipulating-data-with-numpy-code-along-practice
c2f207c23895630fca426a0c2991d1c2817980aa
[ "MIT" ]
null
null
null
code.py
kaushik0033/manipulating-data-with-numpy-code-along-practice
c2f207c23895630fca426a0c2991d1c2817980aa
[ "MIT" ]
null
null
null
code.py
kaushik0033/manipulating-data-with-numpy-code-along-practice
c2f207c23895630fca426a0c2991d1c2817980aa
[ "MIT" ]
null
null
null
# -------------- import numpy as np # Not every data format will be in csv there are other file formats also. # This exercise will help you deal with other file formats and how toa read it. from numpy import genfromtxt my_data = genfromtxt(path, delimiter=',',skip_header=1) # Number of unique matches unique_team = np....
37.909091
124
0.743405
289
1,668
4.221453
0.470588
0.044262
0.019672
0.029508
0.07377
0.036066
0
0
0
0
0
0.01294
0.166067
1,668
43
125
38.790698
0.864127
0.571343
0
0
0
0
0.319826
0
0
0
0
0
0
1
0
false
0
0.181818
0
0.181818
0.545455
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
32f33be724e6f9948314b326928a332f17044ec8
1,203
py
Python
test.py
olivetree123/Winney
60068d64ee891bd92b93ce32b599984374eb66ed
[ "MIT" ]
null
null
null
test.py
olivetree123/Winney
60068d64ee891bd92b93ce32b599984374eb66ed
[ "MIT" ]
null
null
null
test.py
olivetree123/Winney
60068d64ee891bd92b93ce32b599984374eb66ed
[ "MIT" ]
2
2021-07-05T03:43:44.000Z
2021-07-05T06:20:20.000Z
from winney.winney import Address from winney import Winney, retry from winney.mock import Mock class UserMock(Mock): data = {"name": "olivetree"} class UserCenter(object): def __init__(self): addr = Address(host="localhost", port=5000) self.winney = Winney(host="localhost", port=5000, addrs...
28.642857
78
0.521197
127
1,203
4.76378
0.354331
0.082645
0.056198
0.069421
0
0
0
0
0
0
0
0.018018
0.354115
1,203
41
79
29.341463
0.760618
0
0
0.125
0
0
0.092269
0
0
0
0
0
0
1
0.125
false
0.0625
0.09375
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
32f885abdf854042a4ef7f7959366c2653cc1e6b
1,080
py
Python
python/lusol.py
Rioghasarig/sr-cur
1d3499eb196203f7cc2751619d042bd247a6f5b9
[ "X11" ]
null
null
null
python/lusol.py
Rioghasarig/sr-cur
1d3499eb196203f7cc2751619d042bd247a6f5b9
[ "X11" ]
null
null
null
python/lusol.py
Rioghasarig/sr-cur
1d3499eb196203f7cc2751619d042bd247a6f5b9
[ "X11" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Tue Feb 8 12:18:32 2022 @author: oekenta """ from ctypes import c_ulonglong, c_double, cdll, byref import numpy as np class lusol: liblusol = 0 @classmethod def loadlibrary(cls): cls.liblusol = cdll.LoadLibrary('/home/grad/oekenta/sr-c...
24
85
0.560185
153
1,080
3.869281
0.51634
0.109797
0.074324
0.108108
0.128378
0.070946
0
0
0
0
0
0.061828
0.311111
1,080
44
86
24.545455
0.733871
0.073148
0
0
0
0
0.044872
0.044872
0
0
0
0
0
0
null
null
0
0.066667
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
32faa33bac1b0d1c214c81968e4f21245c038e80
941
py
Python
reboot_required/tests/test_reboot_required.py
divyamamgai/integrations-extras
8c40a9cf870578687cc224ee91d3c70cd3a435a4
[ "BSD-3-Clause" ]
158
2016-06-02T16:25:31.000Z
2022-03-16T15:55:14.000Z
reboot_required/tests/test_reboot_required.py
divyamamgai/integrations-extras
8c40a9cf870578687cc224ee91d3c70cd3a435a4
[ "BSD-3-Clause" ]
554
2016-03-15T17:39:12.000Z
2022-03-31T10:29:16.000Z
reboot_required/tests/test_reboot_required.py
divyamamgai/integrations-extras
8c40a9cf870578687cc224ee91d3c70cd3a435a4
[ "BSD-3-Clause" ]
431
2016-05-13T15:33:13.000Z
2022-03-31T10:06:46.000Z
# (C) Datadog, Inc. 2018 # All rights reserved # Licensed under Simplified BSD License (see LICENSE) from os.path import isfile def test_ok(aggregator, check, instance_ok): assert isfile(instance_ok['created_at_file']) check.check(instance_ok) aggregator.assert_service_check('system.reboot_required', st...
28.515152
84
0.789586
123
941
5.756098
0.300813
0.146893
0.129944
0.158192
0.446328
0.446328
0.358757
0.358757
0.358757
0.19209
0
0.004802
0.114772
941
32
85
29.40625
0.845138
0.099894
0
0.133333
0
0
0.139976
0.104389
0
0
0
0
0.4
1
0.266667
false
0
0.066667
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
32fdec303237711102c69bb044535359264e9da1
20,907
py
Python
src/python/reeborg_en.py
aroberge/reeborg-docs
607232a69dfd34c299ec42fab770c3401e82e4c1
[ "CC0-1.0" ]
2
2016-01-08T15:45:44.000Z
2018-05-30T08:16:53.000Z
src/python/reeborg_en.py
aroberge/reeborg-docs
607232a69dfd34c299ec42fab770c3401e82e4c1
[ "CC0-1.0" ]
8
2016-01-02T20:38:10.000Z
2021-08-05T04:37:28.000Z
src/python/reeborg_en.py
aroberge/reeborg-docs
607232a69dfd34c299ec42fab770c3401e82e4c1
[ "CC0-1.0" ]
11
2016-01-03T09:04:04.000Z
2021-08-05T02:11:39.000Z
"""This module contains functions, classes and exceptions that can be included in a Python program for Reeborg's World. """ # When generating documentation using sphinx, these modules are both # unavailable and not needed try: from browser import window RUR = window.RUR except: print("\n --> Skipping impor...
31.111607
87
0.610418
2,808
20,907
4.394231
0.156339
0.021396
0.016857
0.01864
0.481238
0.434314
0.41616
0.404733
0.358538
0.346057
0
0.003178
0.292677
20,907
671
88
31.157973
0.831215
0.558425
0
0.178404
0
0
0.069259
0
0
0
0
0
0
1
0.295775
false
0.014085
0.014085
0.018779
0.450704
0.051643
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
fd010536ddfc744b5088768a18f146fe4a1ca427
457
py
Python
Dataset/Leetcode/valid/110/1057.py
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/valid/110/1057.py
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/valid/110/1057.py
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
class Solution: def XXX(self, root: 'TreeNode') -> 'bool': if not root: return True if abs(self.maxDepth(root.left)-self.maxDepth(root.right))<=1: # 这一点原本想错了 return self.XXX(root.left) and self.XXX(root.right) return False def maxDept...
28.5625
70
0.52954
58
457
4.172414
0.413793
0.198347
0.132231
0
0
0
0
0
0
0
0
0.010135
0.352298
457
15
71
30.466667
0.807432
0.017505
0
0
0
0
0.027397
0
0
0
0
0
0
0
null
null
0
0
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
fd07029e7da412483fac1ed258c120bbf774b8de
1,925
py
Python
bfs/0261_graph_valid_tree.py
adwardlee/leetcode_solutions
f386869161181e153e29165d8fff06492bb192f3
[ "MIT" ]
null
null
null
bfs/0261_graph_valid_tree.py
adwardlee/leetcode_solutions
f386869161181e153e29165d8fff06492bb192f3
[ "MIT" ]
null
null
null
bfs/0261_graph_valid_tree.py
adwardlee/leetcode_solutions
f386869161181e153e29165d8fff06492bb192f3
[ "MIT" ]
null
null
null
''' Given n nodes labeled from 0 to n - 1 and a list of undirected edges (each edge is a pair of nodes), write a function to check whether these edges make up a valid tree. 样例 Example 1: Input: n = 5 edges = [[0, 1], [0, 2], [0, 3], [1, 4]] Output: true. Example 2: Input: n = 5 edges = [[0, 1], [1, 2], [2, 3], [1, 3...
31.557377
168
0.498701
265
1,925
3.622642
0.339623
0.0125
0.040625
0.04375
0.160417
0.029167
0
0
0
0
0
0.044828
0.397403
1,925
61
169
31.557377
0.782759
0.332987
0
0.179487
0
0
0
0
0
0
0
0.016393
0
1
0.025641
false
0
0.025641
0
0.205128
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
fd07dab54b53d96238aad6184df2c8029b37f910
398
py
Python
flask_mailing/__init__.py
jfkinslow/flask-mailing
dda99214b783b60fabc7dfad209fff4438eaf61c
[ "MIT" ]
null
null
null
flask_mailing/__init__.py
jfkinslow/flask-mailing
dda99214b783b60fabc7dfad209fff4438eaf61c
[ "MIT" ]
null
null
null
flask_mailing/__init__.py
jfkinslow/flask-mailing
dda99214b783b60fabc7dfad209fff4438eaf61c
[ "MIT" ]
null
null
null
from .mail import Mail from .config import ConnectionConfig from .schemas import ( Message as Message, MultipartSubtypeEnum as MultipartSubtypeEnum ) from . import utils version_info = (0, 0, 6) __version__ = ".".join([str(v) for v in version_info]) __author__ = "aniketsarkar@yahoo.com" __all__ = ...
18.952381
74
0.70603
44
398
6.068182
0.545455
0.082397
0
0
0
0
0
0
0
0
0
0.009202
0.180905
398
21
75
18.952381
0.809816
0
0
0
0
0
0.18797
0.055138
0
0
0
0
0
1
0
false
0
0.307692
0
0.307692
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
fd0a3ff09bcc9e0d234aec3d429544a73cc71c58
656
py
Python
unitvelo/__init__.py
StatBiomed/UniTVelo
99bfb34c68d56caea002a070ae650f0aee7345d7
[ "BSD-3-Clause" ]
null
null
null
unitvelo/__init__.py
StatBiomed/UniTVelo
99bfb34c68d56caea002a070ae650f0aee7345d7
[ "BSD-3-Clause" ]
null
null
null
unitvelo/__init__.py
StatBiomed/UniTVelo
99bfb34c68d56caea002a070ae650f0aee7345d7
[ "BSD-3-Clause" ]
null
null
null
#%% import os from time import gmtime, strftime os.environ['TF_CPP_MIN_LOG_LEVEL'] = '1' try: from setuptools_scm import get_version __version__ = get_version(root="..", relative_to=__file__) del get_version except (LookupError, ImportError): try: from importlib_metadata import version ...
26.24
62
0.724085
85
656
5.2
0.564706
0.067873
0.095023
0.122172
0.153846
0
0
0
0
0
0
0.001855
0.178354
656
25
63
26.24
0.818182
0.003049
0
0.1
0
0
0.110092
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0.1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
fd1037a662412e5942272ca099e766a53c2680ff
1,987
py
Python
task-library/efficientip/EipGetSubnetName.py
mlavi/blueprints
b4aca2f11acc39b11b11819e6d123fc243a61c95
[ "MIT" ]
60
2018-08-06T23:44:54.000Z
2022-03-02T21:21:30.000Z
task-library/efficientip/EipGetSubnetName.py
mlavi/blueprints
b4aca2f11acc39b11b11819e6d123fc243a61c95
[ "MIT" ]
16
2018-12-10T10:56:31.000Z
2021-11-23T08:12:10.000Z
task-library/efficientip/EipGetSubnetName.py
mlavi/blueprints
b4aca2f11acc39b11b11819e6d123fc243a61c95
[ "MIT" ]
95
2018-09-14T15:03:35.000Z
2021-12-21T10:45:19.000Z
#region headers # * authors: igor.zecevic@nutanix.com # * date: 30/03/2020 # task_name: EipGetSubnets # description: Get available networks attached to a site on EfficientIP # input vars: eip_site_name, eip_min_free_ip # output vars: subnet_lists #endregion # this script is used to retreive a list of a...
34.859649
140
0.717665
281
1,987
4.896797
0.47331
0.039244
0.026163
0.017442
0.043605
0
0
0
0
0
0
0.010682
0.151988
1,987
57
141
34.859649
0.805935
0.391042
0
0
0
0
0.25695
0.064869
0
0
0
0
0
1
0.037037
false
0.074074
0
0
0.074074
0.074074
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
fd14a8c3aefa238a9cec5fc9f67561a88ebc61c9
1,069
py
Python
Heapsort/Heapsort.py
CrypticCalamari/Algorithms
e91433f005f7c2c5b79910dac1c1c3c9237ec879
[ "Unlicense" ]
null
null
null
Heapsort/Heapsort.py
CrypticCalamari/Algorithms
e91433f005f7c2c5b79910dac1c1c3c9237ec879
[ "Unlicense" ]
null
null
null
Heapsort/Heapsort.py
CrypticCalamari/Algorithms
e91433f005f7c2c5b79910dac1c1c3c9237ec879
[ "Unlicense" ]
null
null
null
#!/usr/bin/python import random class Heapsort: """Heapsort""" @staticmethod def bubble_down(a, begin, end): root = begin child = root * 2 + 1 while (child <= end): if ((child + 1 <= end) and (a[child] < a[child + 1])): child += 1 if (a[root] < a[child]): a[root], a[child] = a[child], a[root] ...
17.816667
57
0.585594
166
1,069
3.692771
0.301205
0.04894
0.045677
0.052202
0.128874
0
0
0
0
0
0
0.032138
0.243218
1,069
59
58
18.118644
0.725587
0.014967
0
0.217391
0
0
0.05684
0
0
0
0
0
0
0
null
null
0
0.021739
null
null
0.086957
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
fd15d10ef9804993eb6b50160a784ed5fc90ab63
945
py
Python
fullcyclepy/tests/test_utils.py
dfoderick/fullcyclemining
b53a35b1b051db27d947f2768c96712ad01f2328
[ "MIT" ]
26
2018-05-01T15:25:09.000Z
2021-12-16T20:48:19.000Z
fullcyclepy/tests/test_utils.py
dfoderick/fullcyclemining
b53a35b1b051db27d947f2768c96712ad01f2328
[ "MIT" ]
13
2018-04-23T13:45:31.000Z
2018-12-20T16:13:06.000Z
fullcyclepy/tests/test_utils.py
dfoderick/fullcyclemining
b53a35b1b051db27d947f2768c96712ad01f2328
[ "MIT" ]
12
2018-05-01T20:34:05.000Z
2021-12-16T20:48:20.000Z
import unittest import datetime import backend.fcmutils as utils import messaging.schema as schema class TestUtilityFunctions(unittest.TestCase): def test_safe_string_null(self): nullstring = utils.safestring(None) self.assertFalse(nullstring) def test_safe_string_other(self): astring ...
33.75
81
0.692063
102
945
6.284314
0.392157
0.054602
0.034321
0.053042
0.199688
0.134165
0.134165
0.134165
0.134165
0
0
0.002611
0.189418
945
27
82
35
0.834204
0
0
0.181818
0
0
0.086772
0.044444
0
0
0
0
0.227273
1
0.227273
false
0
0.181818
0
0.454545
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
fd299a197e5c90cb98baf43d2d5ad61f2ba41ecd
948
py
Python
examples/petting_zoo/waterworld.py
LuisFMCuriel/ai-traineree
121da3ea48992d9db3ede3634e4e5f48f50f4cc3
[ "Apache-2.0" ]
22
2020-08-21T03:03:05.000Z
2022-02-22T10:15:36.000Z
examples/petting_zoo/waterworld.py
LuisFMCuriel/ai-traineree
121da3ea48992d9db3ede3634e4e5f48f50f4cc3
[ "Apache-2.0" ]
23
2021-02-13T20:35:45.000Z
2022-02-06T20:15:37.000Z
examples/petting_zoo/waterworld.py
LuisFMCuriel/ai-traineree
121da3ea48992d9db3ede3634e4e5f48f50f4cc3
[ "Apache-2.0" ]
6
2020-10-11T08:36:09.000Z
2021-11-20T18:31:03.000Z
""" This example is for demonstartion purpose only. No agent learns here anything useful, yet. Well, maybe they do but it might take a long time to check. Ain't nobody got time for that. """ from pettingzoo.sisl import waterworld_v3 from ai_traineree.agents.ppo import PPOAgent from ai_traineree.multi_agents.independe...
31.6
79
0.805907
136
948
5.448529
0.529412
0.032389
0.080972
0
0
0
0
0
0
0
0
0.003597
0.120253
948
29
80
32.689655
0.884892
0.237342
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.3125
0
0.3125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
fd2a51e2d8e45c959aab49faeb2ac6405856085b
506
py
Python
anagrams/anagrams.py
learnalgorithms/problems
e56f280a895abf2ff8d511c77cd467e2b2c86307
[ "MIT" ]
null
null
null
anagrams/anagrams.py
learnalgorithms/problems
e56f280a895abf2ff8d511c77cd467e2b2c86307
[ "MIT" ]
null
null
null
anagrams/anagrams.py
learnalgorithms/problems
e56f280a895abf2ff8d511c77cd467e2b2c86307
[ "MIT" ]
null
null
null
def isAnagram(s: str, t: str) -> bool: if len(s) == len(t): s_map = {} t_map = {} for l in s: if l in s_map: s_map[l] += 1 else: s_map[l] = 0 for l in t: if l in t_map: t_map[l] += 1 else:...
23
54
0.371542
77
506
2.285714
0.25974
0.136364
0.102273
0.079545
0.125
0.125
0
0
0
0
0
0.016807
0.529644
506
21
55
24.095238
0.722689
0
0
0.25
0
0
0
0
0
0
0
0
0
1
0.05
false
0
0
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
fd2bfc4f55fe66ebf90f043a07f828d2f9540711
3,042
py
Python
imgtoxl.py
findsarfaraz/ImageToXL
a007934c3e57251f184383a75ab8383413e7f3e5
[ "Unlicense" ]
null
null
null
imgtoxl.py
findsarfaraz/ImageToXL
a007934c3e57251f184383a75ab8383413e7f3e5
[ "Unlicense" ]
null
null
null
imgtoxl.py
findsarfaraz/ImageToXL
a007934c3e57251f184383a75ab8383413e7f3e5
[ "Unlicense" ]
null
null
null
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'imgtoxl.ui' # # Created by: PyQt4 UI code generator 4.11.4 # # WARNING! All changes made in this file will be lost! from PyQt4 import QtCore, QtGui try: _fromUtf8 = QtCore.QString.fromUtf8 except AttributeError: def _fromUtf8(s): ...
39.506494
81
0.704471
336
3,042
6.232143
0.357143
0.064947
0.060172
0.053486
0.148042
0.120344
0.120344
0.078319
0.078319
0.078319
0
0.030874
0.180145
3,042
76
82
40.026316
0.808741
0.0595
0
0.101695
1
0
0.062741
0
0
0
0
0
0
1
0.084746
false
0
0.033898
0.050847
0.186441
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
fd2d472ca3a4143e3979efb4986a786b30c34cb9
940
py
Python
assessment_03/gameplay/PlayerAction.py
DominicSchiller/osmi-module-datascience
b6413bcf6c8e2d4313cff284a01d3e2f475957b2
[ "MIT" ]
null
null
null
assessment_03/gameplay/PlayerAction.py
DominicSchiller/osmi-module-datascience
b6413bcf6c8e2d4313cff284a01d3e2f475957b2
[ "MIT" ]
null
null
null
assessment_03/gameplay/PlayerAction.py
DominicSchiller/osmi-module-datascience
b6413bcf6c8e2d4313cff284a01d3e2f475957b2
[ "MIT" ]
null
null
null
from enum import Enum from . import PlayerAction __author__ = 'Dominic Schiller' __email__ = 'dominic.schiller@th-brandenburg.de' __version__ = '1.0' __license__ = 'MIT' class PlayerAction(Enum): """ Enumeration of possible player actions. """ HIT = 0 STAND = 1 YES = 2 NO = 3 @static...
25.405405
62
0.608511
102
940
5.362745
0.470588
0.146252
0.076782
0
0
0
0
0
0
0
0
0.009174
0.304255
940
36
63
26.111111
0.827217
0.197872
0
0
0
0
0.098712
0.048641
0
0
0
0
0
1
0.041667
false
0
0.083333
0
0.541667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
fd3261d8a3a41fb7c3222fe2090276c7d17d73e0
1,597
py
Python
test_proj/data/data_tcA009.py
leeltib/vizsgamunka_ref
59dc64d499c32a548a6e83c251cf16e2787e8672
[ "MIT" ]
null
null
null
test_proj/data/data_tcA009.py
leeltib/vizsgamunka_ref
59dc64d499c32a548a6e83c251cf16e2787e8672
[ "MIT" ]
null
null
null
test_proj/data/data_tcA009.py
leeltib/vizsgamunka_ref
59dc64d499c32a548a6e83c251cf16e2787e8672
[ "MIT" ]
null
null
null
# A009 - enter users for scrolling function test # test with randomly generated users (arbitrary number of users, default is 2) import random import string title = 'Hello, én egy A009 test User vagyok!.' class MyRND(): chars_lo = string.ascii_lowercase chars_int = string.digits chars_up = string.ascii_up...
26.616667
95
0.602379
227
1,597
4.066079
0.339207
0.045504
0.086674
0.102925
0.191766
0.12351
0.12351
0.12351
0.12351
0.12351
0
0.017918
0.266124
1,597
59
96
27.067797
0.769625
0.108328
0
0.069767
1
0
0.047989
0
0
0
0
0
0
1
0.093023
false
0.046512
0.046512
0.023256
0.348837
0.046512
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
fd35432d4f5b6539c2ccd3bada85b47874cb0794
682
py
Python
lambda_function.py
cesarbruschetta/ses-receive-email-forward
25fc41c06b683e5a5b690532f72123d61bdc64dc
[ "BSD-2-Clause" ]
null
null
null
lambda_function.py
cesarbruschetta/ses-receive-email-forward
25fc41c06b683e5a5b690532f72123d61bdc64dc
[ "BSD-2-Clause" ]
2
2021-04-30T20:43:51.000Z
2021-06-01T23:44:28.000Z
lambda_function.py
cesarbruschetta/ses-receive-email-forward
25fc41c06b683e5a5b690532f72123d61bdc64dc
[ "BSD-2-Clause" ]
null
null
null
import sys import os import json import logging from typing import Dict sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) from forward_recieved_email.utils import logger as c_logger from forward_recieved_email.config import settings from forward_recieved_email import processing # SET LOGGE...
22.733333
76
0.768328
93
682
5.419355
0.483871
0.035714
0.113095
0.142857
0.063492
0
0
0
0
0
0
0.001709
0.142229
682
29
77
23.517241
0.859829
0.06305
0
0
0
0
0
0
0
0
0
0
0
1
0.058824
false
0
0.470588
0
0.588235
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
fd358bcc002a7fe76d3655fa5be361465136191a
1,498
py
Python
orm/db/migrations/0001_initial.py
madelinkind/twitter_crawler
cef76c4984f1fff88c72f2a84499e3fbf581e7a8
[ "MIT" ]
null
null
null
orm/db/migrations/0001_initial.py
madelinkind/twitter_crawler
cef76c4984f1fff88c72f2a84499e3fbf581e7a8
[ "MIT" ]
null
null
null
orm/db/migrations/0001_initial.py
madelinkind/twitter_crawler
cef76c4984f1fff88c72f2a84499e3fbf581e7a8
[ "MIT" ]
null
null
null
# Generated by Django 3.1.2 on 2021-01-25 08:11 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='TwitterUser', fields=[ ...
34.837209
118
0.553405
147
1,498
5.47619
0.469388
0.074534
0.067081
0.089441
0.196273
0.196273
0.196273
0.196273
0.196273
0.196273
0
0.022244
0.309746
1,498
42
119
35.666667
0.756286
0.03004
0
0.342857
1
0
0.115093
0
0
0
0
0
0
1
0
false
0
0.057143
0
0.171429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
fd37f365a0edd6aadf29a1a4e834cdfaaa6fc792
954
py
Python
chatbot/views.py
G-sharp/ChatBot
eb65cd495fa71c2c07f9d1ae71901d6e4d268602
[ "MIT" ]
3
2020-07-24T11:14:21.000Z
2020-07-26T06:34:26.000Z
chatbot/views.py
G-sharp/ChatBot
eb65cd495fa71c2c07f9d1ae71901d6e4d268602
[ "MIT" ]
6
2019-12-04T23:23:22.000Z
2022-02-10T07:29:35.000Z
chatbot/views.py
G-sharp/ChatBot
eb65cd495fa71c2c07f9d1ae71901d6e4d268602
[ "MIT" ]
1
2020-07-26T06:34:28.000Z
2020-07-26T06:34:28.000Z
from django.shortcuts import render # Create your views here. # -*- coding: utf-8 -*- import json import datetime from DataBase import DBOPs from django.http import HttpResponse from chatbot import aimlKernel def chat(request): """ Function: 对话接口 Args: request: 请求 Returns: 返回...
28.058824
118
0.614256
114
954
5.122807
0.517544
0.085616
0.111301
0.113014
0.35274
0.157534
0.157534
0.157534
0
0
0
0.001339
0.216981
954
33
119
28.909091
0.780455
0.114256
0
0.111111
0
0
0.143742
0
0
0
0
0
0
1
0.055556
false
0
0.333333
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
fd3cc0711b4a35911341244708ec29b15b76af45
785
py
Python
ticketNumber.py
brocchirodrigo/ValidadorBoletosSantanderPython
f8deeb688453f6bab485c930f57527c563a5f15c
[ "MIT" ]
null
null
null
ticketNumber.py
brocchirodrigo/ValidadorBoletosSantanderPython
f8deeb688453f6bab485c930f57527c563a5f15c
[ "MIT" ]
null
null
null
ticketNumber.py
brocchirodrigo/ValidadorBoletosSantanderPython
f8deeb688453f6bab485c930f57527c563a5f15c
[ "MIT" ]
null
null
null
def verifyTicket(ticket): ticket = ticket[::-1] t01 = int(ticket[0]) * 2 t02 = int(ticket[1]) * 3 t03 = int(ticket[2]) * 4 t04 = int(ticket[3]) * 5 t05 = int(ticket[4]) * 6 t06 = int(ticket[5]) * 7 t07 = int(ticket[6]) * 8 t08 = int(ticket[7]) * 9 t09 = int(ticket[8]) *...
23.787879
88
0.495541
105
785
3.704762
0.333333
0.277635
0
0
0
0
0
0
0
0
0
0.172619
0.357962
785
32
89
24.53125
0.599206
0
0
0.115385
0
0
0
0
0
0
0
0
0
1
0.038462
false
0
0
0
0.076923
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
fd456f3a20d598c070dca950b5ecc03db8d7a299
1,438
py
Python
mpire/signal.py
synapticarbors/mpire
058c32cb046ca7e31b73a1d847d698fc38e14b8a
[ "MIT" ]
505
2020-09-03T17:31:16.000Z
2022-03-31T14:09:40.000Z
mpire/signal.py
synapticarbors/mpire
058c32cb046ca7e31b73a1d847d698fc38e14b8a
[ "MIT" ]
20
2021-08-29T06:00:54.000Z
2022-03-31T14:58:02.000Z
mpire/signal.py
synapticarbors/mpire
058c32cb046ca7e31b73a1d847d698fc38e14b8a
[ "MIT" ]
19
2020-09-04T13:52:52.000Z
2022-02-21T20:53:59.000Z
from inspect import Traceback from signal import getsignal, SIG_IGN, SIGINT, signal as signal_, Signals from types import FrameType from typing import Type class DelayedKeyboardInterrupt: def __init__(self, in_thread: bool = False) -> None: """ :param in_thread: Whether or not we're living in a t...
31.26087
86
0.668289
181
1,438
5.016575
0.325967
0.052863
0.099119
0.049559
0.264317
0.121145
0.121145
0.121145
0.121145
0.121145
0
0
0.250348
1,438
45
87
31.955556
0.842301
0.125869
0
0.222222
0
0
0
0
0
0
0
0
0
1
0.259259
false
0
0.148148
0
0.481481
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
fd4c0616183ca87d1de8d8932c6b3cd7264c53fe
179
py
Python
src/smartystreets/__init__.py
bennylope/smartystreets.py
fb880161ad44c9827a50d5cee6ce6dac7378bb77
[ "BSD-3-Clause" ]
12
2015-12-15T00:53:17.000Z
2020-01-21T00:11:12.000Z
src/smartystreets/__init__.py
bennylope/smartystreets.py
fb880161ad44c9827a50d5cee6ce6dac7378bb77
[ "BSD-3-Clause" ]
5
2015-09-17T00:34:09.000Z
2016-03-25T13:38:32.000Z
src/smartystreets/__init__.py
bennylope/smartystreets.py
fb880161ad44c9827a50d5cee6ce6dac7378bb77
[ "BSD-3-Clause" ]
8
2015-09-17T23:47:16.000Z
2016-08-01T05:49:02.000Z
# -*- coding: utf-8 -*- __author__ = "Ben Lopatin" __email__ = "ben@benlopatin.com" __version__ = "1.0.0" from smartystreets.client import Client # noqa __all__ = ["Client"]
16.272727
47
0.675978
22
179
4.772727
0.818182
0
0
0
0
0
0
0
0
0
0
0.026667
0.162011
179
10
48
17.9
0.673333
0.145251
0
0
0
0
0.266667
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
fd53f63dfc9eb68ecd8be2b7026314cf2d171c1a
3,667
py
Python
PassGen.py
CoderMP/PythonPassGen
c019bb240e55277ebfc7f30d7fdaf614b039f635
[ "MIT" ]
null
null
null
PassGen.py
CoderMP/PythonPassGen
c019bb240e55277ebfc7f30d7fdaf614b039f635
[ "MIT" ]
null
null
null
PassGen.py
CoderMP/PythonPassGen
c019bb240e55277ebfc7f30d7fdaf614b039f635
[ "MIT" ]
null
null
null
####### REQUIRED IMPORTS ####### import os import sys import click import random import string from time import sleep ####### FUNCTIONS ###### def displayHeader(): """ () -> () Function that is responsible for printing the application header and menu """ # Clear the console window os.syste...
29.103175
99
0.578402
441
3,667
4.789116
0.371882
0.02983
0.026515
0.035511
0.133523
0.051136
0.051136
0
0
0
0
0.02824
0.295064
3,667
126
100
29.103175
0.788781
0.374693
0
0.210526
0
0
0.291181
0.04433
0
0
0
0
0
1
0.070175
false
0.22807
0.105263
0
0.192982
0.140351
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
fd55dd56b3eec651d5099b4e6e91e375163c2dc8
28,791
py
Python
myGym/generate_dataset.py
incognite-lab/myGym
a093a4a0f75ba081fbcf3fef70aca14dc2078997
[ "MIT" ]
18
2020-12-22T18:14:50.000Z
2022-02-12T22:26:16.000Z
myGym/generate_dataset.py
incognite-lab/myGym
a093a4a0f75ba081fbcf3fef70aca14dc2078997
[ "MIT" ]
1
2021-08-03T10:39:03.000Z
2021-08-03T10:39:03.000Z
myGym/generate_dataset.py
incognite-lab/myGym
a093a4a0f75ba081fbcf3fef70aca14dc2078997
[ "MIT" ]
5
2021-01-22T16:42:47.000Z
2022-01-11T15:28:46.000Z
## script to generate train/test sets from the simulator in COCO or DOPE format. Used for vision training. import gym from myGym import envs from matplotlib.pyplot import imshow, show import cv2 import numpy as np import os import glob import json import commentjson import sys import random from pycocotools.cocostuffh...
45.627575
193
0.604286
3,515
28,791
4.748506
0.143385
0.010904
0.00719
0.010784
0.409083
0.354682
0.313283
0.28758
0.263495
0.243664
0
0.015972
0.27585
28,791
630
194
45.7
0.784594
0.159807
0
0.342733
1
0
0.152533
0.019781
0.004338
0
0
0
0.004338
1
0.062907
false
0.006508
0.036876
0
0.132321
0.036876
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
fd569340a1ce9593be33d155145930abab1dfed9
222
py
Python
data_mgmt/data_prep/gen_motif.py
theandyb/smaug-redux
a450ed70842a1abd00b34c270a7e516e842f0ebf
[ "MIT" ]
null
null
null
data_mgmt/data_prep/gen_motif.py
theandyb/smaug-redux
a450ed70842a1abd00b34c270a7e516e842f0ebf
[ "MIT" ]
null
null
null
data_mgmt/data_prep/gen_motif.py
theandyb/smaug-redux
a450ed70842a1abd00b34c270a7e516e842f0ebf
[ "MIT" ]
null
null
null
from itertools import product alpha = ['A', 'T', 'C', 'G'] motifs = [a+b+c+d+e+f+g for a,b,c,d,e,f,g in product(alpha, repeat=7)] with open('motifs7.txt', 'w') as f: for item in motifs: f.write("%s\n" % item)
27.75
70
0.576577
46
222
2.782609
0.608696
0.1875
0.046875
0.0625
0.109375
0.109375
0.109375
0
0
0
0
0.011173
0.193694
222
7
71
31.714286
0.703911
0
0
0
0
0
0.09009
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
fd5ec183e9cae342680e6a6729ebc6fc6babe3ca
7,119
py
Python
gammapy/astro/population/tests/test_simulate.py
Rishank2610/gammapy
3cd64fdb2c53c8e5c697a9b85ef8d0486bff0b76
[ "BSD-3-Clause" ]
155
2015-02-25T12:38:02.000Z
2022-03-13T17:54:30.000Z
gammapy/astro/population/tests/test_simulate.py
Rishank2610/gammapy
3cd64fdb2c53c8e5c697a9b85ef8d0486bff0b76
[ "BSD-3-Clause" ]
3,131
2015-01-06T15:36:23.000Z
2022-03-31T17:30:57.000Z
gammapy/astro/population/tests/test_simulate.py
Rishank2610/gammapy
3cd64fdb2c53c8e5c697a9b85ef8d0486bff0b76
[ "BSD-3-Clause" ]
158
2015-03-16T20:36:44.000Z
2022-03-30T16:05:37.000Z
# Licensed under a 3-clause BSD style license - see LICENSE.rst from numpy.testing import assert_allclose, assert_equal import astropy.units as u from astropy.table import Table from gammapy.astro.population import ( add_observed_parameters, add_pulsar_parameters, add_pwn_parameters, add_snr_parameters,...
36.137056
79
0.662734
1,067
7,119
4.235239
0.194939
0.107103
0.092941
0.071255
0.654127
0.481744
0.320425
0.272627
0.246072
0.224829
0
0.10661
0.171232
7,119
196
80
36.321429
0.659322
0.048321
0
0.311688
0
0
0.082595
0
0
0
0
0
0.688312
1
0.051948
false
0
0.025974
0
0.077922
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
fd64b4b5709514e22065103675377577cd3f56de
736
py
Python
backend/submissions/migrations/0007_auto_20191119_2132.py
marcoacierno/pycon
2b7b47598c4929769cc73e322b3fce2c89151e21
[ "MIT" ]
56
2018-01-20T17:18:40.000Z
2022-03-28T22:42:04.000Z
backend/submissions/migrations/0007_auto_20191119_2132.py
marcoacierno/pycon
2b7b47598c4929769cc73e322b3fce2c89151e21
[ "MIT" ]
2,029
2018-01-20T11:37:24.000Z
2022-03-31T04:10:51.000Z
backend/submissions/migrations/0007_auto_20191119_2132.py
marcoacierno/pycon
2b7b47598c4929769cc73e322b3fce2c89151e21
[ "MIT" ]
17
2018-03-17T09:44:28.000Z
2021-12-27T19:57:35.000Z
# Generated by Django 2.2.7 on 2019-11-19 21:32 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('submissions', '0006_merge_20191113_0542'), ] operations = [ migrations.CreateModel( name='SubmissionTag', fields=[ ...
28.307692
114
0.589674
72
736
5.902778
0.708333
0.051765
0
0
0
0
0
0
0
0
0
0.064516
0.283967
736
25
115
29.44
0.741935
0.061141
0
0.105263
1
0
0.143687
0.071118
0
0
0
0
0
1
0
false
0
0.052632
0
0.210526
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b5bc36c7ec9ad33f90fa0fe50b3cf62c7c7a1757
14,168
py
Python
RWL.py
MarcinAman/Python-AGH
c93be0800fbeed1e33ee0bf394bb66b4879eadbc
[ "MIT" ]
null
null
null
RWL.py
MarcinAman/Python-AGH
c93be0800fbeed1e33ee0bf394bb66b4879eadbc
[ "MIT" ]
null
null
null
RWL.py
MarcinAman/Python-AGH
c93be0800fbeed1e33ee0bf394bb66b4879eadbc
[ "MIT" ]
null
null
null
from string import ascii_lowercase import functools from itertools import combinations def generate_binary(n): """ Function returns generator with binary sequences of a set length :param n: length of a binary sequence :return: generator with binary sequence """ if n == 0: yield "" ...
32.2
135
0.592744
1,671
14,168
4.918612
0.178935
0.048668
0.00876
0.018859
0.195766
0.136148
0.094659
0.065823
0.045018
0.02117
0
0.012627
0.312465
14,168
439
136
32.273349
0.831126
0.293125
0
0.232283
1
0
0.009086
0
0
0
0
0
0
1
0.07874
false
0
0.011811
0
0.244094
0.003937
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b5bc593a2a0f1b0c38e032219da99aff61d68c5f
677
py
Python
python-ca/bjorn/migrations/0010_alter_certificate_revocation_reason.py
AS207960/bjorn
8293b453df544822011b34b1a72bb41e941417dd
[ "MIT" ]
4
2021-09-21T08:13:52.000Z
2022-02-17T20:29:20.000Z
python-ca/bjorn/migrations/0010_alter_certificate_revocation_reason.py
AS207960/bjorn
8293b453df544822011b34b1a72bb41e941417dd
[ "MIT" ]
null
null
null
python-ca/bjorn/migrations/0010_alter_certificate_revocation_reason.py
AS207960/bjorn
8293b453df544822011b34b1a72bb41e941417dd
[ "MIT" ]
1
2021-09-24T15:30:36.000Z
2021-09-24T15:30:36.000Z
# Generated by Django 3.2.6 on 2021-09-08 14:44 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('bjorn', '0009_auto_20210908_1427'), ] operations = [ migrations.AlterField( model_name='certificate', name='revocati...
35.631579
327
0.629247
75
677
5.613333
0.813333
0
0
0
0
0
0
0
0
0
0
0.078505
0.209749
677
18
328
37.611111
0.708411
0.06647
0
0
1
0
0.330159
0.036508
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b5bde8439b78229ed05590589cfbde019cbd7e50
704
py
Python
codershq/users/migrations/0004_auto_20210805_1832.py
Buhannad/CodersHQ
27b643cfab2094aa1ad1b069085c4e2d165345e9
[ "MIT" ]
45
2021-02-24T11:10:29.000Z
2022-03-25T07:14:46.000Z
codershq/users/migrations/0004_auto_20210805_1832.py
Buhannad/CodersHQ
27b643cfab2094aa1ad1b069085c4e2d165345e9
[ "MIT" ]
96
2021-03-01T16:36:37.000Z
2022-03-26T17:32:26.000Z
codershq/users/migrations/0004_auto_20210805_1832.py
Buhannad/CodersHQ
27b643cfab2094aa1ad1b069085c4e2d165345e9
[ "MIT" ]
29
2021-08-08T18:24:50.000Z
2022-03-29T12:17:06.000Z
# Generated by Django 3.0.11 on 2021-08-05 14:32 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('users', '0003_auto_20210805_1818'), ] operations = [ migrations.RemoveField( model_name='user', name='cv', ...
25.142857
95
0.568182
74
704
5.27027
0.608108
0.069231
0.1
0.130769
0.189744
0.189744
0
0
0
0
0
0.078189
0.309659
704
27
96
26.074074
0.72428
0.065341
0
0.380952
1
0
0.102134
0.035061
0
0
0
0
0
1
0
false
0
0.047619
0
0.190476
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b5be7b4504e1d77d8f4d8a973ff4aaaaf0905b71
8,790
py
Python
tables/wikipedia-scripts/weblib/web.py
yash-srivastava19/sempre
b27c06906da33e345c645ff9470132bf6d1c26dc
[ "Apache-2.0" ]
812
2015-01-08T01:58:39.000Z
2022-03-24T02:43:05.000Z
tables/wikipedia-scripts/weblib/web.py
yash-srivastava19/sempre
b27c06906da33e345c645ff9470132bf6d1c26dc
[ "Apache-2.0" ]
181
2015-01-26T21:54:04.000Z
2022-03-09T17:52:04.000Z
tables/wikipedia-scripts/weblib/web.py
yash-srivastava19/sempre
b27c06906da33e345c645ff9470132bf6d1c26dc
[ "Apache-2.0" ]
314
2015-01-14T11:23:08.000Z
2022-03-07T02:36:47.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- import urllib, urllib2, urlparse, socket import json, sys, os, hashlib, subprocess, time from blacklist import BLACKLIST BASEDIR = os.path.dirname(os.path.realpath(os.path.join(__file__, '..'))) class WebpageCache(object): def __init__(self, basedir=BASEDIR, dirname=...
39.773756
96
0.563481
1,003
8,790
4.759721
0.205384
0.033724
0.016757
0.016757
0.336615
0.277126
0.232509
0.189359
0.145999
0.104106
0
0.003606
0.305916
8,790
220
97
39.954545
0.778889
0.046189
0
0.232143
0
0.011905
0.081061
0.00479
0
0
0
0
0.005952
0
null
null
0.005952
0.017857
null
null
0.035714
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1