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
210879dfef60ad5b420bdc70a2ccd4fb4517cc35
220
py
Python
hello.py
blackswanburst/mikemccllstr-python-minecraft
25a5a91269b6932157ec054c98902d79ad236871
[ "MIT" ]
3
2019-03-26T15:55:01.000Z
2020-09-02T09:01:48.000Z
hello.py
mikemccllstr/mikemccllstr-python-minecraft
b1765ad7bb39dfad00944a7d8fa914484c88f95a
[ "MIT" ]
null
null
null
hello.py
mikemccllstr/mikemccllstr-python-minecraft
b1765ad7bb39dfad00944a7d8fa914484c88f95a
[ "MIT" ]
2
2018-07-27T14:10:29.000Z
2020-01-16T09:06:48.000Z
import mcpi.minecraft as minecraft import mcpi.block as block world = minecraft.Minecraft.create() [x,y,z] = world.player.getPos() world.postToChat( "Position is: %d %d %d" % (x,y,z) ) world.player.setPos( 0, 64, 0 )
22
53
0.695455
36
220
4.25
0.527778
0.130719
0.039216
0.104575
0.183007
0
0
0
0
0
0
0.021164
0.140909
220
9
54
24.444444
0.78836
0
0
0
0
0
0.095455
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
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
1
0
0
0
0
2
210e4e30fdc495732afef8b6a090778e36a3d6d5
1,510
py
Python
src/111.py
cloudzfy/euler
b82efad753ee98375fd40ec4e3989be57828e82c
[ "MIT" ]
12
2016-10-19T09:03:20.000Z
2021-01-10T10:53:23.000Z
src/111.py
cloudzfy/euler
b82efad753ee98375fd40ec4e3989be57828e82c
[ "MIT" ]
null
null
null
src/111.py
cloudzfy/euler
b82efad753ee98375fd40ec4e3989be57828e82c
[ "MIT" ]
6
2018-09-12T03:13:58.000Z
2021-07-07T00:29:43.000Z
# Considering 4-digit primes containing repeated digits it is # clear that they cannot all be the same: 1111 is divisible by # 11, 2222 is divisible by 22, and so on. But there are nine # 4-digit primes containing three ones: # 1117, 1151, 1171, 1181, 1511, 1811, 2111, 4111, 8111 # We shall say that M(n, d) repre...
38.717949
62
0.523841
249
1,510
3.176707
0.389558
0.030341
0.040455
0.05689
0.166877
0.088496
0.088496
0
0
0
0
0.182425
0.404636
1,510
38
63
39.736842
0.697442
0.954305
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
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
1
0
0
0
0
0
0
2
2119a1d5827b3ea784740c70d5673dd51d513d49
157
py
Python
src/neqsim/neqsimpython.py
equinor/neqsimpython
c425e6e9e25f1e8faa4fbc35eca396de93387361
[ "Apache-2.0" ]
20
2019-11-06T17:02:12.000Z
2022-03-29T18:01:02.000Z
src/neqsim/neqsimpython.py
equinor/neqsimpython
c425e6e9e25f1e8faa4fbc35eca396de93387361
[ "Apache-2.0" ]
8
2019-06-21T10:21:47.000Z
2022-03-12T09:47:00.000Z
src/neqsim/neqsimpython.py
equinor/neqsimpython
c425e6e9e25f1e8faa4fbc35eca396de93387361
[ "Apache-2.0" ]
7
2019-08-19T17:55:46.000Z
2022-03-15T13:51:26.000Z
import jpype jpype.addClassPath('./lib/NeqSim.jar') if not(jpype.isJVMStarted()): jpype.startJVM(convertStrings =True) neqsim = jpype.JPackage('neqsim')
26.166667
40
0.751592
19
157
6.210526
0.684211
0
0
0
0
0
0
0
0
0
0
0
0.089172
157
6
41
26.166667
0.825175
0
0
0
0
0
0.139241
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
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
2
212885ae0dffcba75a22b655581c3960b799e359
288
py
Python
examples/pythonic++_list.py
HighCWu/tpythonpp
f1c15e1101993e4c9c7529739823b47759ea13f7
[ "PSF-2.0" ]
null
null
null
examples/pythonic++_list.py
HighCWu/tpythonpp
f1c15e1101993e4c9c7529739823b47759ea13f7
[ "PSF-2.0" ]
null
null
null
examples/pythonic++_list.py
HighCWu/tpythonpp
f1c15e1101993e4c9c7529739823b47759ea13f7
[ "PSF-2.0" ]
null
null
null
with c++: @module( mycppmodule ) def foo(a, o): std::cout << a << std::endl a.append( "world" ) a.append( std::string("mystdstring") ) a.append( o ) a.append( 1 ) a.append( 9.5 ) return None import mycppmodule x = ['hello'] b = 'bar' mycppmodule.foo( x, b ) print( x )
15.157895
40
0.583333
45
288
3.733333
0.577778
0.208333
0
0
0
0
0
0
0
0
0
0.013393
0.222222
288
18
41
16
0.736607
0
0
0
0
0
0.083624
0
0
0
0
0
0
0
null
null
0
0.066667
null
null
0.066667
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
1
0
0
0
0
0
0
0
0
2
21347a19d8d1a90a91a23387076b1228c1162afd
1,669
py
Python
mysite/benthic_photosynthesis_measurement.py
EggsWithCheese/WSU-PAL-PPC
6bfa15a3f03a5404259b2ec9ed67344c5ffeafae
[ "Unlicense", "MIT" ]
null
null
null
mysite/benthic_photosynthesis_measurement.py
EggsWithCheese/WSU-PAL-PPC
6bfa15a3f03a5404259b2ec9ed67344c5ffeafae
[ "Unlicense", "MIT" ]
6
2021-03-18T20:13:47.000Z
2022-03-11T23:12:28.000Z
mysite/benthic_photosynthesis_measurement.py
EggsWithCheese/WSU-PAL-PPC
6bfa15a3f03a5404259b2ec9ed67344c5ffeafae
[ "Unlicense", "MIT" ]
null
null
null
''' Created on Jun 17, 2015 @author: cdleong ''' from photosynthesis_measurement import PhotosynthesisMeasurement class BenthicPhotosynthesisMeasurement(PhotosynthesisMeasurement): ''' classdocs ''' MAX_VALID_IK = 10.0 #Arbitrary value one order of magnitude greater than typical. According to Kalff's ...
21.397436
168
0.67825
206
1,669
5.271845
0.339806
0.051565
0.128913
0.058011
0.302026
0.302026
0.241252
0.139963
0.139963
0.139963
0
0.025177
0.238466
1,669
78
169
21.397436
0.829268
0.216896
0
0
0
0
0.026917
0
0
0
0
0.012821
0
0
null
null
0
0.032258
null
null
0.032258
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
1
0
0
0
0
0
0
0
0
2
2143b9fd4dc55519f5e3c75611a8532f808dfb30
119
py
Python
2457.py
heltonricardo/URI
160cca22d94aa667177c9ebf2a1c9864c5e55b41
[ "MIT" ]
6
2021-04-13T00:33:43.000Z
2022-02-10T10:23:59.000Z
2457.py
heltonricardo/URI
160cca22d94aa667177c9ebf2a1c9864c5e55b41
[ "MIT" ]
null
null
null
2457.py
heltonricardo/URI
160cca22d94aa667177c9ebf2a1c9864c5e55b41
[ "MIT" ]
3
2021-03-23T18:42:24.000Z
2022-02-10T10:24:07.000Z
c = input().strip() fr = input().split() n = 0 for i in fr: if c in i: n += 1 print('{:.1f}'.format(n*100/len(fr)))
17
37
0.529412
25
119
2.52
0.68
0
0
0
0
0
0
0
0
0
0
0.063158
0.201681
119
6
38
19.833333
0.6
0
0
0
0
0
0.05042
0
0
0
0
0
0
1
0
false
0
0
0
0
0.166667
1
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
2
2148772a2395b86c3dfd7797db93b09c8386122d
555
py
Python
BITs/2014/Budashov_A_E/task_3_8.py
YukkaSarasti/pythonintask
eadf4245abb65f4400a3bae30a4256b4658e009c
[ "Apache-2.0" ]
null
null
null
BITs/2014/Budashov_A_E/task_3_8.py
YukkaSarasti/pythonintask
eadf4245abb65f4400a3bae30a4256b4658e009c
[ "Apache-2.0" ]
null
null
null
BITs/2014/Budashov_A_E/task_3_8.py
YukkaSarasti/pythonintask
eadf4245abb65f4400a3bae30a4256b4658e009c
[ "Apache-2.0" ]
null
null
null
#Задача N3. Вариант 8 #Напишите программу, которая выводит имя "Борис Николаевич Бугаев", и #запрашивает его псевдоним. Программа должна сцеплять две эти строки и #выводить полученную строку, разделяя имя и псевдоним с помощью тире. #Будашов Андрей #03.03.2016 print("Герой нашей сегодняшней программы-Борис Николаевич ...
37
70
0.767568
80
555
5.325
0.7625
0.105634
0.147887
0.117371
0
0
0
0
0
0
0
0.020833
0.135135
555
14
71
39.642857
0.866667
0.448649
0
0
0
0
0.686667
0
0
0
0
0
0
1
0
false
0
0
0
0
0.428571
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
2
215a7717abdcc53f1ea5f49b91e3940f4e65051c
782
py
Python
code/logisticRegression.py
hesham-rafi/Fast-Data-Processing-with-Spark-2
2a02ab506f72e5708364e4036b61cbe3e3520564
[ "MIT" ]
21
2016-11-03T02:40:32.000Z
2021-11-08T13:12:28.000Z
code/logisticRegression.py
hesham-rafi/Fast-Data-Processing-with-Spark-2
2a02ab506f72e5708364e4036b61cbe3e3520564
[ "MIT" ]
null
null
null
code/logisticRegression.py
hesham-rafi/Fast-Data-Processing-with-Spark-2
2a02ab506f72e5708364e4036b61cbe3e3520564
[ "MIT" ]
34
2016-12-06T08:38:50.000Z
2021-02-08T02:48:07.000Z
from __future__ import print_function # $example on$ from pyspark.ml.classification import LogisticRegression # $example off$ from pyspark.sql import SparkSession if __name__ == "__main__": spark = SparkSession\ .builder\ .appName("LogisticRegressionWithElasticNet")\ .getOrCreate() # ...
782
782
0.699488
85
782
6.258824
0.6
0.033835
0
0
0
0
0
0
0
0
0
0.009479
0.190537
782
1
782
782
0.830964
0.18798
0
0
0
0
0.165605
0.103503
0
0
0
0
0
1
0
false
0
0.214286
0
0.214286
0.214286
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
216be0d057f0d44e14bd1580b76d782adb897904
3,862
py
Python
ssrf-redis.py
kishorehariram/redis-ssrf
f769762810829abee2fc6fb66ed3bdd9bcac8fd7
[ "Apache-2.0" ]
59
2020-05-21T09:04:50.000Z
2022-03-25T15:47:03.000Z
ssrf-redis.py
Stakcery/redis-ssrf
fc853af7fe16f7c3fb0298b0ec15fd04cf1a4e2f
[ "Apache-2.0" ]
null
null
null
ssrf-redis.py
Stakcery/redis-ssrf
fc853af7fe16f7c3fb0298b0ec15fd04cf1a4e2f
[ "Apache-2.0" ]
14
2020-01-13T07:33:15.000Z
2022-03-08T15:57:17.000Z
#!/usr/local/bin python #coding=utf8 try: from urllib import quote except: from urllib.parse import quote def generate_info(passwd): cmd=[ "info", "quit" ] if passwd: cmd.insert(0,"AUTH {}".format(passwd)) return cmd def generate_shell(filename,path,passwd,pay...
23.406061
77
0.55334
479
3,862
4.386221
0.269311
0.042837
0.039981
0.042837
0.483579
0.420752
0.370776
0.370776
0.370776
0.370776
0
0.023784
0.28146
3,862
164
78
23.54878
0.733333
0.090109
0
0.384615
1
0.008547
0.20337
0.015139
0
0
0
0
0
1
0.068376
false
0.213675
0.017094
0
0.153846
0.008547
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
1
0
0
0
0
0
2
dcc64ac5b198b0dc7fe277199be7a92645e892fa
36,685
py
Python
RunJobArgo.py
GNUBrinux/pilot
18d0ef3ea9822df7877fbe39b191f56a6288ada5
[ "Apache-2.0" ]
13
2015-02-19T17:17:10.000Z
2021-12-22T06:48:02.000Z
RunJobArgo.py
GNUBrinux/pilot
18d0ef3ea9822df7877fbe39b191f56a6288ada5
[ "Apache-2.0" ]
85
2015-01-06T15:01:51.000Z
2018-11-29T09:03:35.000Z
RunJobArgo.py
GNUBrinux/pilot
18d0ef3ea9822df7877fbe39b191f56a6288ada5
[ "Apache-2.0" ]
22
2015-06-09T12:08:29.000Z
2018-11-20T10:07:01.000Z
# Class definition: # RunJobMira # [Add description here] # Instances are generated with RunJobFactory via pUtil::getRunJob() # Implemented as a singleton class # http://stackoverflow.com/questions/42558/python-and-the-singleton-pattern # Import relevant python/pilot modules from RunJobHPC import RunJobHPC ...
48.017016
367
0.588197
4,054
36,685
5.175136
0.190429
0.01101
0.013584
0.015872
0.217541
0.15858
0.130553
0.106625
0.082316
0.072736
0
0.009791
0.298378
36,685
763
368
48.079948
0.805315
0.201799
0
0.125261
1
0.008351
0.155058
0.014431
0
0
0
0
0
0
null
null
0.004175
0.033403
null
null
0.002088
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
1
0
0
0
0
0
0
0
0
2
dcd2f58f19d4a1945250e21fba1f5ad2efa6e7f2
530
py
Python
tutorial/courses/serializers.py
MaggieChege/Courses-DRF
eb97bf266699265764dd116f75ca85581122d8b0
[ "MIT" ]
null
null
null
tutorial/courses/serializers.py
MaggieChege/Courses-DRF
eb97bf266699265764dd116f75ca85581122d8b0
[ "MIT" ]
null
null
null
tutorial/courses/serializers.py
MaggieChege/Courses-DRF
eb97bf266699265764dd116f75ca85581122d8b0
[ "MIT" ]
null
null
null
from rest_framework import serializers from . import models class ReviewSerializer(serializers.ModelSerializer): class Meta: extra_kwargs = { 'email':{'write_only':True } } fields=('id', 'course', 'name', 'email', 'review', 'rating', ...
21.2
52
0.541509
44
530
6.431818
0.636364
0.183746
0.219081
0.24735
0
0
0
0
0
0
0
0
0.350943
530
25
53
21.2
0.822674
0
0
0.090909
0
0
0.116761
0
0
0
0
0
0
1
0
false
0
0.090909
0
0.272727
0
0
0
0
null
0
1
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
2
dcd4643fc5ac50da71cbda9ef9482ef134513c58
566
py
Python
detective/detectiveProject/server.py
TzvetomirTz/FortWatch
955784e3a17f5f68bdf503e2301076d755ce8f80
[ "MIT" ]
null
null
null
detective/detectiveProject/server.py
TzvetomirTz/FortWatch
955784e3a17f5f68bdf503e2301076d755ce8f80
[ "MIT" ]
null
null
null
detective/detectiveProject/server.py
TzvetomirTz/FortWatch
955784e3a17f5f68bdf503e2301076d755ce8f80
[ "MIT" ]
null
null
null
import flask from ml import model import os from flask import Flask, request from ml import model from werkzeug.utils import secure_filename app = Flask(__name__) @app.route("/check/", methods=['POST']) def checkImage(): imgFile = request.files['image'] imgFilePath = os.path.join(os.path.dirname(os.path.rea...
22.64
106
0.720848
78
566
5.102564
0.551282
0.045226
0.060302
0.085427
0
0
0
0
0
0
0
0.00813
0.130742
566
24
107
23.583333
0.800813
0
0
0.117647
0
0
0.10424
0
0
0
0
0
0
1
0.117647
false
0
0.352941
0.058824
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
1
0
0
2
dcdabb81558b4ff3ba9d97203253b8ceecda8b6a
875
py
Python
673. Number of Longest Increasing Subsequence/main.py
Competitive-Programmers-Community/LeetCode
841fdee805b1a626e9f1cd0e12398d25054638af
[ "MIT" ]
2
2019-10-05T09:48:20.000Z
2019-10-05T15:40:01.000Z
673. Number of Longest Increasing Subsequence/main.py
Competitive-Programmers-Community/LeetCode
841fdee805b1a626e9f1cd0e12398d25054638af
[ "MIT" ]
null
null
null
673. Number of Longest Increasing Subsequence/main.py
Competitive-Programmers-Community/LeetCode
841fdee805b1a626e9f1cd0e12398d25054638af
[ "MIT" ]
3
2020-09-27T05:48:30.000Z
2021-08-13T10:07:08.000Z
class Solution: def findNumberOfLIS(self, nums): """ :type nums: List[int] :rtype: int """ if not nums: return 0 dp = [1 for i in range(len(nums))] c = [1 for i in range(len(nums))] for i in range(1, len(nums)): for j in range(...
27.34375
48
0.307429
107
875
2.514019
0.261682
0.066915
0.089219
0.163569
0.327138
0.223048
0.223048
0.081784
0.081784
0
0
0.02356
0.563429
875
31
49
28.225806
0.680628
0.069714
0
0
0
0
0
0
0
0
0
0
0
1
0.045455
false
0
0
0
0.181818
0.090909
0
0
0
null
0
0
1
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
2
dcea2ffec3bf1c482f0c439131b44a256d3ee486
2,596
py
Python
tests/data_structures/linked_lists/test_linked_lists.py
maurobaraldi/python-algorithms
94fe5e46737d6ea2f7ff62b5b61b7b9cca3fbd14
[ "MIT" ]
2
2018-11-05T17:12:40.000Z
2019-09-05T17:10:01.000Z
tests/data_structures/linked_lists/test_linked_lists.py
maurobaraldi/python-algorithms
94fe5e46737d6ea2f7ff62b5b61b7b9cca3fbd14
[ "MIT" ]
null
null
null
tests/data_structures/linked_lists/test_linked_lists.py
maurobaraldi/python-algorithms
94fe5e46737d6ea2f7ff62b5b61b7b9cca3fbd14
[ "MIT" ]
1
2019-01-02T19:07:51.000Z
2019-01-02T19:07:51.000Z
#!/usr/bin/env python import unittest from data_structures.linked_lists.linked_lists import Node, LinkedList class TestNode(unittest.TestCase): def test_define_a_node(self): node = Node(1) self.assertIsInstance(node, Node) self.assertEqual(node.data, 1) class TestLinkdeList(unittest.Te...
28.217391
70
0.666025
340
2,596
4.852941
0.141176
0.254545
0.135758
0.181818
0.639394
0.589091
0.491515
0.447879
0.447879
0.447879
0
0.018574
0.232666
2,596
91
71
28.527473
0.809739
0.007704
0
0.396825
0
0
0
0
0
0
0
0
0.301587
1
0.126984
false
0
0.031746
0
0.190476
0.015873
0
0
0
null
1
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
2
dcf7d503e36b327d9d8ca641feb7ab7fb9936abd
698
py
Python
src/airfly/_vendor/airflow/providers/google/cloud/transfers/bigquery_to_bigquery.py
ryanchao2012/airfly
230ddd88885defc67485fa0c51f66c4a67ae98a9
[ "MIT" ]
7
2021-09-27T11:38:48.000Z
2022-02-01T06:06:24.000Z
src/airfly/_vendor/airflow/providers/google/cloud/transfers/bigquery_to_bigquery.py
ryanchao2012/airfly
230ddd88885defc67485fa0c51f66c4a67ae98a9
[ "MIT" ]
null
null
null
src/airfly/_vendor/airflow/providers/google/cloud/transfers/bigquery_to_bigquery.py
ryanchao2012/airfly
230ddd88885defc67485fa0c51f66c4a67ae98a9
[ "MIT" ]
null
null
null
# Auto generated by 'inv collect-airflow' from airfly._vendor.airflow.models.baseoperator import BaseOperator class BigQueryToBigQueryOperator(BaseOperator): source_project_dataset_tables: "typing.Union[typing.List[str], str]" destination_project_dataset_table: "str" write_disposition: "str" create_di...
41.058824
76
0.75788
82
698
6.256098
0.512195
0.150097
0.109162
0.128655
0.11306
0
0
0
0
0
0
0
0.126075
698
16
77
43.625
0.840984
0.055874
0
0
1
0
0.375951
0.153729
0
0
0
0
0
1
0
true
0
0.076923
0
1
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
1
0
0
0
0
0
0
2
dcfe6c470d3a902e4287c7490d2481979f2be16a
1,551
py
Python
profiles_project/profiles_api/views.py
sanskar1991/local-comms
7e24fb4a6f862df8e1341ad635904dbab23a2162
[ "MIT" ]
null
null
null
profiles_project/profiles_api/views.py
sanskar1991/local-comms
7e24fb4a6f862df8e1341ad635904dbab23a2162
[ "MIT" ]
null
null
null
profiles_project/profiles_api/views.py
sanskar1991/local-comms
7e24fb4a6f862df8e1341ad635904dbab23a2162
[ "MIT" ]
null
null
null
from rest_framework.response import Response from rest_framework import status from rest_framework import viewsets from rest_framework.authentication import TokenAuthentication from rest_framework import filters from rest_framework.authtoken.views import ObtainAuthToken from rest_framework.settings import api_settings ...
39.769231
73
0.800774
151
1,551
8.072848
0.443709
0.052502
0.111567
0.056604
0
0
0
0
0
0
0
0
0.134107
1,551
39
74
39.769231
0.907669
0.099291
0
0.074074
0
0
0.006536
0
0
0
0
0
0
1
0.037037
false
0
0.407407
0
0.962963
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
1
0
0
2
0d01df2ac677a084f437c60e6465732c5970665e
535
py
Python
seimas/migrations/0031_auto_20190103_2313.py
zinaukarenku/zkr-platform
8daf7d1206c482f1f8e0bcd54d4fde783e568774
[ "Apache-2.0" ]
2
2018-11-16T21:45:17.000Z
2019-02-03T19:55:46.000Z
seimas/migrations/0031_auto_20190103_2313.py
zinaukarenku/zkr-platform
8daf7d1206c482f1f8e0bcd54d4fde783e568774
[ "Apache-2.0" ]
13
2018-08-17T19:12:11.000Z
2022-03-11T23:27:41.000Z
seimas/migrations/0031_auto_20190103_2313.py
zinaukarenku/zkr-platform
8daf7d1206c482f1f8e0bcd54d4fde783e568774
[ "Apache-2.0" ]
null
null
null
# Generated by Django 2.1.4 on 2019-01-03 23:13 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('seimas', '0030_auto_20190103_2234'), ] operations = [ migrations.AlterField( model_name='committee', name='slug', ...
22.291667
48
0.570093
53
535
5.660377
0.679245
0.133333
0.166667
0.193333
0.253333
0.253333
0.253333
0
0
0
0
0.084469
0.314019
535
23
49
23.26087
0.73297
0.084112
0
0.470588
1
0
0.110656
0.047131
0
0
0
0
0
1
0
false
0
0.058824
0
0.235294
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
0d01f7d9d22d0231fc42ef201d9e886de98fe418
1,360
py
Python
vhserverutils/serverutils.py
CermitDFrog/valheimserverutilities
3ccc6711f2612dcbeaf19b333a77dd30c886c825
[ "MIT" ]
null
null
null
vhserverutils/serverutils.py
CermitDFrog/valheimserverutilities
3ccc6711f2612dcbeaf19b333a77dd30c886c825
[ "MIT" ]
null
null
null
vhserverutils/serverutils.py
CermitDFrog/valheimserverutilities
3ccc6711f2612dcbeaf19b333a77dd30c886c825
[ "MIT" ]
null
null
null
#!python3 import shutil from datetime import datetime from os import path as ospath from pathlib import Path class backup(): """Utilities for backing up the server and cleaning the directory.""" def __init__(self): pass def checkDirSize(self, dirpath, size): """Returns True if directory ...
34.871795
95
0.651471
165
1,360
5.327273
0.509091
0.022753
0.011377
0.015927
0
0
0
0
0
0
0
0.007685
0.234559
1,360
38
96
35.789474
0.836695
0.229412
0
0
0
0
0.059172
0.048323
0
0
0
0
0
1
0.227273
false
0.045455
0.181818
0
0.545455
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
1
0
0
2
0d0ae5fdb871a00ced7371ece78c404e525231de
428
py
Python
cloud/src/baseline_cloud/core/json.py
MartinMReed/aws-iot-baseline
61bdc51708e6f4480d0117a43f0adde5f6a63506
[ "MIT" ]
1
2021-12-31T05:05:30.000Z
2021-12-31T05:05:30.000Z
cloud/src/baseline_cloud/core/json.py
nelsestu/thing-expert
2e105d718c386258d8efdb329ea60da1072ffbe8
[ "MIT" ]
null
null
null
cloud/src/baseline_cloud/core/json.py
nelsestu/thing-expert
2e105d718c386258d8efdb329ea60da1072ffbe8
[ "MIT" ]
1
2021-04-05T23:44:12.000Z
2021-04-05T23:44:12.000Z
import decimal import json import typing from datetime import datetime import baseline_cloud.core.date from baseline_cloud import core class JSONEncoder(json.JSONEncoder): def default(self, o: typing.Any) -> typing.Any: if isinstance(o, datetime): return core.date.format_utc(o) if isi...
25.176471
51
0.700935
56
428
5.303571
0.428571
0.094276
0.087542
0
0
0
0
0
0
0
0
0
0.214953
428
16
52
26.75
0.883929
0
0
0
0
0
0
0
0
0
0
0
0
1
0.076923
false
0
0.461538
0
0.846154
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
1
0
0
2
0d30a3019f8428c85f17282729e46a87833c1aa7
190
py
Python
kattis/buka.py
terror/Solutions
1ad33daec95b565a38ac4730261593bcf249ac86
[ "CC0-1.0" ]
2
2021-04-05T14:26:37.000Z
2021-06-10T04:22:01.000Z
kattis/buka.py
terror/Solutions
1ad33daec95b565a38ac4730261593bcf249ac86
[ "CC0-1.0" ]
null
null
null
kattis/buka.py
terror/Solutions
1ad33daec95b565a38ac4730261593bcf249ac86
[ "CC0-1.0" ]
null
null
null
def go(o, a, b): if o == '+': return a + b return a * b def main(): a, o, b = int(input()), input(), int(input()) return go(o, a, b) if __name__ == '__main__': print(main())
15.833333
47
0.505263
33
190
2.666667
0.363636
0.090909
0.090909
0.113636
0.159091
0
0
0
0
0
0
0
0.263158
190
11
48
17.272727
0.628571
0
0
0
0
0
0.047368
0
0
0
0
0
0
1
0.222222
false
0
0
0
0.555556
0.111111
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
1
0
0
2
0d33f064675f678abf0b95ee568ea8f53f9c6a7a
239
py
Python
openslides_voting/urls.py
jwinzer/openslides-voting
3b02157d80ba4792e0f89a0fb4db5dda63b96e61
[ "MIT" ]
4
2018-06-05T08:30:42.000Z
2020-10-07T19:37:32.000Z
openslides_voting/urls.py
jwinzer/openslides-voting
3b02157d80ba4792e0f89a0fb4db5dda63b96e61
[ "MIT" ]
90
2018-03-28T11:51:36.000Z
2021-05-09T15:21:43.000Z
openslides_voting/urls.py
FinnStutzenstein/openslides-voting
3b02157d80ba4792e0f89a0fb4db5dda63b96e61
[ "MIT" ]
3
2018-01-30T10:35:07.000Z
2018-05-29T13:45:24.000Z
from django.conf.urls import url from . import views from .votecollector import urls urlpatterns = [ url(r'^voting/attendance/shares/$', views.AttendanceView.as_view(), name='voting_attendance'), ] + urls.urlpatterns
21.727273
39
0.702929
28
239
5.928571
0.607143
0.180723
0
0
0
0
0
0
0
0
0
0
0.179916
239
10
40
23.9
0.846939
0
0
0
0
0
0.1841
0.112971
0
0
0
0
0
1
0
false
0
0.375
0
0.375
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
1
0
0
0
0
2
b48f9c3947d987b2e0f966e5bc7b9bea4714451d
1,480
py
Python
drfexample/locations/models.py
craigderington/django-drf-examples
24e3abbdfcd5e5d3fbea9df54f80e41157194339
[ "Apache-2.0" ]
null
null
null
drfexample/locations/models.py
craigderington/django-drf-examples
24e3abbdfcd5e5d3fbea9df54f80e41157194339
[ "Apache-2.0" ]
4
2019-09-17T05:45:01.000Z
2021-06-10T21:15:07.000Z
drfexample/locations/models.py
craigderington/django-drf-examples
24e3abbdfcd5e5d3fbea9df54f80e41157194339
[ "Apache-2.0" ]
1
2020-04-25T06:48:34.000Z
2020-04-25T06:48:34.000Z
from django.db import models # Create your models here. class Location(models.Model): """ The Location data model for geo-coding """ ip_addr = models.CharField(max_length=15, null=False, blank=False) time_zone = models.CharField(max_length=255, null=False, blank=False) latitude = models.Float...
37.948718
77
0.664189
185
1,480
5.172973
0.308108
0.141066
0.169279
0.225705
0.573668
0.366771
0.366771
0.366771
0.366771
0.222571
0
0.030488
0.224324
1,480
38
78
38.947368
0.803136
0.043243
0
0
0
0
0.02
0
0
0
0
0
0
1
0.068966
false
0
0.034483
0
0.689655
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
1
0
0
2
b49d8203a438874b2c7d7f936929aa10a9a79d2b
792
py
Python
project euler solutions/Problem_059.py
helq/old_code
a432faf1b340cb379190a2f2b11b997b02d1cd8d
[ "CC0-1.0" ]
null
null
null
project euler solutions/Problem_059.py
helq/old_code
a432faf1b340cb379190a2f2b11b997b02d1cd8d
[ "CC0-1.0" ]
4
2020-03-10T19:20:21.000Z
2021-06-07T15:39:48.000Z
project euler solutions/Problem_059.py
helq/old_code
a432faf1b340cb379190a2f2b11b997b02d1cd8d
[ "CC0-1.0" ]
null
null
null
#!/usr/bin/env python2 # -*- coding: utf-8 -*- def decrypt(text,passw): l = min(len(text), len(passw)) if l == 0: return "" return "".join(chr(ord(text[n])^ord(passw[n])) for n in xrange(l) ) + decrypt(text[l:], passw) text_encrypt = "".join(map(lambda x: chr(x), eval( "[" + open("059-cipher1.txt", "Ur")....
36
112
0.645202
138
792
3.521739
0.376812
0.148148
0.135802
0.074074
0.281893
0.100823
0.100823
0.100823
0
0
0
0.042683
0.171717
792
22
113
36
0.698171
0.085859
0
0
0
0
0.027701
0
0
0
0
0
0
0
null
null
0.538462
0
null
null
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
1
0
0
1
0
0
0
0
0
2
b4abb039c690f90bc427763dbbaeefd93313d1cb
401
py
Python
programs/pgm14_14.py
danielsunzhongyuan/python_practice
79bc88db1c52ee2f5607f6f9fec1bbacea2804ff
[ "Apache-2.0" ]
null
null
null
programs/pgm14_14.py
danielsunzhongyuan/python_practice
79bc88db1c52ee2f5607f6f9fec1bbacea2804ff
[ "Apache-2.0" ]
null
null
null
programs/pgm14_14.py
danielsunzhongyuan/python_practice
79bc88db1c52ee2f5607f6f9fec1bbacea2804ff
[ "Apache-2.0" ]
null
null
null
# # This file contains the Python code from Program 14.14 of # "Data Structures and Algorithms # with Object-Oriented Design Patterns in Python" # by Bruno R. Preiss. # # Copyright (c) 2003 by Bruno R. Preiss, P.Eng. All rights reserved. # # http://www.brpreiss.com/books/opus7/programs/pgm14_14.txt # class SimpleRV(Ra...
26.733333
69
0.735661
57
401
5.157895
0.877193
0.047619
0.054422
0.095238
0
0
0
0
0
0
0
0.038806
0.164589
401
14
70
28.642857
0.838806
0.703242
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0.333333
1
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
1
0
0
0
2
b4af6bb9768f39bbf401218d586eb9a4734af7f7
258
py
Python
tests/views/test_planing.py
DanielGrams/gsevp
e94034f7b64de76f38754b56455e83092378261f
[ "MIT" ]
1
2021-06-01T14:49:18.000Z
2021-06-01T14:49:18.000Z
tests/views/test_planing.py
DanielGrams/gsevp
e94034f7b64de76f38754b56455e83092378261f
[ "MIT" ]
286
2020-12-04T14:13:00.000Z
2022-03-09T19:05:16.000Z
tests/views/test_planing.py
DanielGrams/gsevpt
a92f71694388e227e65ed1b24446246ee688d00e
[ "MIT" ]
null
null
null
def test_list(client, seeder, utils): user_id, admin_unit_id = seeder.setup_base() seeder.create_event(admin_unit_id) url = utils.get_url("planing") utils.get_ok(url) url = utils.get_url("planing", keyword="name") utils.get_ok(url)
25.8
50
0.693798
40
258
4.175
0.5
0.191617
0.131737
0.167665
0.251497
0
0
0
0
0
0
0
0.170543
258
9
51
28.666667
0.780374
0
0
0.285714
0
0
0.069767
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.142857
0
0
0
0
null
0
0
1
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
2
b4b524980aac65df5cd73d98a5f65d37e14246c9
875
py
Python
estrategias/Valdrighi.py
lucasmoschen/jogos_vorazes
a483d901a32e95acb9fa17fca0f72c743122992c
[ "MIT" ]
1
2021-01-29T05:20:25.000Z
2021-01-29T05:20:25.000Z
estrategias/Valdrighi.py
lucasmoschen/jogos_vorazes
a483d901a32e95acb9fa17fca0f72c743122992c
[ "MIT" ]
null
null
null
estrategias/Valdrighi.py
lucasmoschen/jogos_vorazes
a483d901a32e95acb9fa17fca0f72c743122992c
[ "MIT" ]
19
2016-01-15T17:24:45.000Z
2021-01-28T18:12:50.000Z
# coding: utf8 from .jogadores import Jogador import random class MeuJogador(Jogador): def escolha_de_cacada(self, rodada, comida_atual, reputacao_atual, m, reputacoes_dos_jogadores): if rodada==1: self.comida=comida_atual escolhas = ['c' for x in reputacoes_dos_jogadores] ...
32.407407
100
0.518857
91
875
4.824176
0.450549
0.148064
0.250569
0.164009
0.28246
0.28246
0.154897
0
0
0
0
0.013133
0.390857
875
26
101
33.653846
0.810507
0.099429
0
0.117647
0
0
0.005128
0
0
0
0
0
0
1
0.058824
false
0
0.117647
0
0.294118
0
0
0
0
null
0
1
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
2
b4c321ffc5db607547826168a2356684baedd191
1,865
py
Python
tools/apache_mod_cache.py
crempp/bin
d8bf3013081f15d78b0c39a2f5fdb073763225e8
[ "ISC", "BSD-2-Clause", "Unlicense" ]
null
null
null
tools/apache_mod_cache.py
crempp/bin
d8bf3013081f15d78b0c39a2f5fdb073763225e8
[ "ISC", "BSD-2-Clause", "Unlicense" ]
null
null
null
tools/apache_mod_cache.py
crempp/bin
d8bf3013081f15d78b0c39a2f5fdb073763225e8
[ "ISC", "BSD-2-Clause", "Unlicense" ]
null
null
null
#!/usr/bin/python import socket, getopt, sys try: opts, args = getopt.getopt(sys.argv[1:], "ht:") except getopt.GetoptError, err: print str(err) exit() def banner(): print "************************************************" print "**|''''''''''''''''''''''''''''''''''''''''''|**" print "**|Apache DoS tool ...
32.155172
80
0.510456
224
1,865
4.232143
0.486607
0.063291
0.047468
0.059072
0.084388
0.084388
0.084388
0.084388
0
0
0
0.030197
0.236461
1,865
57
81
32.719298
0.635534
0.042895
0
0.188679
0
0.037736
0.567097
0.134756
0
0
0
0
0.018868
0
null
null
0
0.018868
null
null
0.471698
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
1
0
2
b4c60d89a7950d7fbe14c2cdb184ae1b0683bab3
1,364
py
Python
xsdata/formats/dataclass/models/generics.py
pashashocky/xsdata
1cd681598d2235626d0e21716fc9fb885d26e351
[ "MIT" ]
null
null
null
xsdata/formats/dataclass/models/generics.py
pashashocky/xsdata
1cd681598d2235626d0e21716fc9fb885d26e351
[ "MIT" ]
null
null
null
xsdata/formats/dataclass/models/generics.py
pashashocky/xsdata
1cd681598d2235626d0e21716fc9fb885d26e351
[ "MIT" ]
null
null
null
from dataclasses import dataclass from dataclasses import field from typing import Dict from typing import Generic from typing import List from typing import Optional from typing import TypeVar from xsdata.formats.dataclass.models.elements import XmlType T = TypeVar("T", bound=object) @dataclass class AnyElement: ...
26.230769
67
0.69868
179
1,364
5.312849
0.357542
0.063091
0.069401
0.072555
0.167192
0.082019
0.082019
0.082019
0
0
0
0
0.205279
1,364
51
68
26.745098
0.877306
0.365836
0
0.08
0
0
0.011278
0
0
0
0
0
0
1
0
false
0
0.32
0
0.72
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
1
0
0
2
b4c71ea70c52e4002309b8038772ea13e449bafc
578
py
Python
test_frame/best_simple_example/test_publish.py
aopusd/distributed_framework
0ba28eaa87bffbf3810042a11a5eeeb6a1baa53d
[ "Apache-2.0" ]
2
2020-05-28T08:17:48.000Z
2021-05-09T01:30:30.000Z
test_frame/best_simple_example/test_publish.py
cc995196962/distributed_framework
77182e68dd95d936484da2740fe82b5479943bde
[ "Apache-2.0" ]
null
null
null
test_frame/best_simple_example/test_publish.py
cc995196962/distributed_framework
77182e68dd95d936484da2740fe82b5479943bde
[ "Apache-2.0" ]
1
2022-02-09T08:23:50.000Z
2022-02-09T08:23:50.000Z
# -*- coding: utf-8 -*- # @Author : ydf # @Time : 2019/8/8 0008 14:57 import time from test_frame.best_simple_example.test_consume import consumer consumer.publisher_of_same_queue.clear() # 这里的publisher_of_same_queue 也可以使用get_publisher函数得到发布者,但需要手动确保消费者的队列名字与发布者的队列名字一致,并且中间件种类一致。用法如下。 # pb = get_publisher('queue_...
30.421053
97
0.712803
90
578
4.355556
0.544444
0.061224
0.112245
0.17602
0.306122
0.234694
0.204082
0.204082
0.204082
0.204082
0
0.06163
0.129758
578
19
98
30.421053
0.717694
0.569204
0
0
0
0
0.008264
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
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
1
0
0
0
0
2
b4c9397533e3e64c57eb859910f8dc4f41a6bf15
5,561
py
Python
imm/_state.py
EBI-Metagenomics/imm-py
22823fd5f7abad28c965ca5c2de27bcbba12a784
[ "MIT" ]
null
null
null
imm/_state.py
EBI-Metagenomics/imm-py
22823fd5f7abad28c965ca5c2de27bcbba12a784
[ "MIT" ]
null
null
null
imm/_state.py
EBI-Metagenomics/imm-py
22823fd5f7abad28c965ca5c2de27bcbba12a784
[ "MIT" ]
null
null
null
from __future__ import annotations from enum import Enum from typing import Iterable, Type from ._alphabet import Alphabet from ._cdata import CData from ._ffi import ffi, lib from ._lprob import lprob_is_valid from ._sequence import Sequence from ._sequence_table import SequenceTable __all__ = ["State", "StateType"...
26.864734
88
0.599173
621
5,561
4.954911
0.143317
0.059149
0.054599
0.031199
0.412415
0.350341
0.311017
0.080273
0.045174
0.045174
0
0.003315
0.294911
5,561
206
89
26.995146
0.781433
0.154828
0
0.231579
0
0
0.090777
0.037763
0
0
0.002905
0
0
1
0.221053
false
0
0.094737
0.094737
0.547368
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
1
0
0
2
b4da1779a18f744218f3309fc8a12b33bdea9062
1,092
py
Python
parseridge/parser/training/hyperparameters.py
jgontrum/parseridge
f87ef82a9468addeb09a91c3b5310db38840bf0f
[ "Apache-2.0" ]
6
2019-10-06T23:00:29.000Z
2020-04-08T02:04:24.000Z
parseridge/parser/training/hyperparameters.py
jgontrum/parseridge
f87ef82a9468addeb09a91c3b5310db38840bf0f
[ "Apache-2.0" ]
2
2020-04-28T12:06:23.000Z
2020-04-28T13:30:03.000Z
parseridge/parser/training/hyperparameters.py
jgontrum/parseridge
f87ef82a9468addeb09a91c3b5310db38840bf0f
[ "Apache-2.0" ]
1
2019-12-23T00:53:38.000Z
2019-12-23T00:53:38.000Z
from copy import deepcopy from dataclasses import dataclass from parseridge.utils.logger import LoggerMixin """ TODO [ ] Group the parameters [ ] Add save to / load from YAML [x] Add overwrite method from kwargs """ @dataclass class Hyperparameters(LoggerMixin): """ Container for the various hyper-parameter...
26.634146
90
0.679487
140
1,092
5.171429
0.642857
0.089779
0.046961
0.060773
0
0
0
0
0
0
0
0.015625
0.238095
1,092
40
91
27.3
0.854567
0.148352
0
0
0
0
0.069738
0
0
0
0
0.025
0
1
0.05
false
0
0.15
0
0.65
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
1
0
0
2
b4dd4b27b3a5eaf61a26d7ce3f5c499a668b3614
709
py
Python
Python-Chaptering/Chapter-4/7-testFastFlux.py
JARVIS-AI/python-codes
6980f12f9ac615bdb21ab4b4f4845f439ef1d559
[ "MIT" ]
8
2019-02-17T20:11:46.000Z
2019-10-18T06:27:16.000Z
Python-Chaptering/Chapter-4/7-testFastFlux.py
JARVIS-AI/python-codes
6980f12f9ac615bdb21ab4b4f4845f439ef1d559
[ "MIT" ]
null
null
null
Python-Chaptering/Chapter-4/7-testFastFlux.py
JARVIS-AI/python-codes
6980f12f9ac615bdb21ab4b4f4845f439ef1d559
[ "MIT" ]
4
2019-02-17T23:00:18.000Z
2019-10-18T06:27:14.000Z
#!/usr/bin/python # -*- coding: utf-8 -*- from scapy.all import * dnsRecords = {} def handlePkt(pkt): if pkt.haslayer(DNSRR): rrname = pkt.getlayer(DNSRR).rrname rdata = pkt.getlayer(DNSRR).rdata if dnsRecords.has_key(rrname): if rdata not in dnsRecords[rrname]: ...
22.870968
62
0.562764
79
709
4.936709
0.493671
0.164103
0.082051
0.164103
0.220513
0.220513
0
0
0
0
0
0.002004
0.296192
709
30
63
23.633333
0.779559
0.053597
0
0.095238
0
0
0.06278
0
0
0
0
0
0
0
null
null
0
0.047619
null
null
0.047619
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
1
0
0
0
0
0
0
0
0
2
b4df33d5926ee44b20696d495c0b08db30995c4a
435
py
Python
src/config.py
Biano-AI/serving-compare-middleware
c64754e8e004e317a56c026d292ea554f2dd20e8
[ "MIT" ]
6
2021-12-29T08:04:09.000Z
2022-03-19T02:41:20.000Z
src/config.py
Biano-AI/serving-compare-middleware
c64754e8e004e317a56c026d292ea554f2dd20e8
[ "MIT" ]
3
2021-09-06T08:57:21.000Z
2022-03-12T00:59:33.000Z
src/config.py
Biano-AI/serving-compare-middleware
c64754e8e004e317a56c026d292ea554f2dd20e8
[ "MIT" ]
null
null
null
# -*- encoding: utf-8 -*- # ! python3 from __future__ import annotations from pydantic import AnyUrl, BaseSettings class Settings(BaseSettings): tfserving_service_url: AnyUrl torchserve_service_url: AnyUrl triton_service_host: str tfserving_grpc_host: str = "localhost:9000" torchserve_grpc_host...
21.75
48
0.71954
51
435
5.803922
0.54902
0.094595
0.111486
0.202703
0
0
0
0
0
0
0
0.02849
0.193103
435
19
49
22.894737
0.814815
0.075862
0
0
0
0
0.115288
0
0
0
0
0
0
1
0
false
0
0.181818
0
0.909091
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
1
0
0
2
b4ea38e78b79e4e2bfc70d85e660c7ac1649b446
1,080
py
Python
kivy/input/provider.py
sirpercival/kivy
29ef854a200e6764aae60ea29324379c69d271a3
[ "MIT" ]
317
2015-07-30T07:47:41.000Z
2022-03-30T00:38:39.000Z
kivy/input/provider.py
sirpercival/kivy
29ef854a200e6764aae60ea29324379c69d271a3
[ "MIT" ]
42
2015-07-30T10:32:46.000Z
2021-11-23T02:44:47.000Z
kivy/input/provider.py
sirpercival/kivy
29ef854a200e6764aae60ea29324379c69d271a3
[ "MIT" ]
69
2015-08-04T03:27:30.000Z
2021-12-27T09:53:26.000Z
''' Motion Event Provider ===================== Abstract class for the implemention of a :class:`~kivy.input.motionevent.MotionEvent` provider. The implementation must support the :meth:`~MotionEventProvider.start`, :meth:`~MotionEventProvider.stop` and :meth:`~MotionEventProvider.update` methods. ''' __all__ = ('Mot...
26.341463
79
0.647222
113
1,080
6.061947
0.469027
0.10073
0.043796
0
0
0
0
0
0
0
0
0
0.240741
1,080
40
80
27
0.835366
0.544444
0
0.25
0
0
0.132701
0
0
0
0
0
0
1
0.333333
false
0.25
0
0
0.416667
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
1
0
0
0
0
0
2
b4f0dbc2f954c235725f808046fccd79b7ee9710
772
py
Python
app/app_builder.py
cupskeee/App-MFE
4f546a9e6a475f3937f1a77406e612e3354af2b7
[ "Apache-2.0" ]
null
null
null
app/app_builder.py
cupskeee/App-MFE
4f546a9e6a475f3937f1a77406e612e3354af2b7
[ "Apache-2.0" ]
null
null
null
app/app_builder.py
cupskeee/App-MFE
4f546a9e6a475f3937f1a77406e612e3354af2b7
[ "Apache-2.0" ]
null
null
null
import datetime from flask import Flask, redirect, url_for from flask_sqlalchemy import SQLAlchemy from app.extensions.db import db # from app.models import User app = Flask(__name__) app.config.from_object('config') db.init_app(app) # user_manager = UserManager(app, db, User) # login_manager = LoginManager() # login...
28.592593
97
0.760363
114
772
4.903509
0.464912
0.107335
0.050089
0
0
0
0
0
0
0
0
0
0.120466
772
27
98
28.592593
0.82327
0.568653
0
0
0
0
0.05625
0
0
0
0
0
0
1
0.1
false
0
0.4
0.1
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
1
0
1
0
0
2
b4f74a7be90970719d5aa2c7eb6db200594df07b
136
py
Python
contest/youtube/n.py
Akash671/Codechef
8de5cab864e011952d7428303f8b4e6951ee57cb
[ "MIT" ]
2
2020-09-26T07:17:19.000Z
2021-04-25T10:07:19.000Z
contest/youtube/n.py
Akash671/Codechef
8de5cab864e011952d7428303f8b4e6951ee57cb
[ "MIT" ]
null
null
null
contest/youtube/n.py
Akash671/Codechef
8de5cab864e011952d7428303f8b4e6951ee57cb
[ "MIT" ]
1
2021-08-18T20:04:53.000Z
2021-08-18T20:04:53.000Z
# cook your dish here a=int(input()) b=int(input()) while(1): if a%b==0: print(a) break else: a-=1
9.066667
21
0.455882
22
136
2.818182
0.681818
0.258065
0
0
0
0
0
0
0
0
0
0.035294
0.375
136
14
22
9.714286
0.694118
0.139706
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.125
1
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
2
3703eb5b605132f8ff92ea15858f4e35157fc72b
285
py
Python
tests/list_view.py
Aloxaf/moshmosh
0cef4e3e574adabc7821a657bceba1254ca20f99
[ "MIT" ]
114
2019-07-12T19:00:20.000Z
2021-12-02T17:28:36.000Z
tests/list_view.py
Aloxaf/moshmosh
0cef4e3e574adabc7821a657bceba1254ca20f99
[ "MIT" ]
19
2019-07-12T18:34:59.000Z
2022-01-01T03:37:03.000Z
tests/list_view.py
Aloxaf/moshmosh
0cef4e3e574adabc7821a657bceba1254ca20f99
[ "MIT" ]
7
2019-07-14T23:15:44.000Z
2021-12-27T21:15:17.000Z
from moshmosh.extensions.pattern_matching.runtime import ListView v = ListView([1, 2, 3, 5], range(1, 4)) v.sort(reverse=True) assert v == [5, 3, 2] v.sort(reverse=False) assert v == [2, 3, 5] v.sort(reverse=False, key=lambda x: -x) assert v == [5, 3, 2] assert isinstance(v, list)
21.923077
65
0.670175
52
285
3.653846
0.480769
0.078947
0.189474
0.094737
0.105263
0
0
0
0
0
0
0.061728
0.147368
285
13
66
21.923077
0.720165
0
0
0.222222
0
0
0
0
0
0
0
0
0.444444
1
0
false
0
0.111111
0
0.111111
0
0
0
0
null
0
1
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
2
371bc7296964b20e4e4ace7db0596d534a508e41
380
py
Python
rainbowhatwrapper/util/RhDisplayUtil.py
akd001/RPi
020900b93f51471c2174c8cc61127e702a8fdbdb
[ "MIT" ]
1
2016-12-22T11:49:06.000Z
2016-12-22T11:49:06.000Z
rainbowhatwrapper/util/RhDisplayUtil.py
akd001/RPi
020900b93f51471c2174c8cc61127e702a8fdbdb
[ "MIT" ]
null
null
null
rainbowhatwrapper/util/RhDisplayUtil.py
akd001/RPi
020900b93f51471c2174c8cc61127e702a8fdbdb
[ "MIT" ]
null
null
null
import rainbowhat as rh def showRhDisplay(): try: rh.display.show() except Exception as e: print str(e) def clearRhDisplay(): try: rh.display.clear() except Exception as e: print str(e) def printRhDisplay(stringToPrint): try: rh.display.print_str(st...
20
43
0.607895
46
380
5
0.391304
0.13913
0.156522
0.234783
0.378261
0.378261
0.378261
0.26087
0
0
0
0
0.305263
380
19
44
20
0.871212
0
0
0.5625
0
0
0
0
0
0
0
0
0
0
null
null
0
0.0625
null
null
0.3125
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
1
0
0
0
0
0
0
0
0
2
371c8727eff5a2e158da11bede0e7d0e69ad84bd
2,719
py
Python
pychron/updater/branch_view.py
ael-noblegas/pychron
6ebbbb1f66a614972b62b7a9be4c784ae61b5d62
[ "Apache-2.0" ]
1
2019-02-27T21:57:44.000Z
2019-02-27T21:57:44.000Z
pychron/updater/branch_view.py
ael-noblegas/pychron
6ebbbb1f66a614972b62b7a9be4c784ae61b5d62
[ "Apache-2.0" ]
80
2018-07-17T20:10:20.000Z
2021-08-17T15:38:24.000Z
pychron/updater/branch_view.py
AGESLDEO/pychron
1a81e05d9fba43b797f335ceff6837c016633bcf
[ "Apache-2.0" ]
null
null
null
# # =============================================================================== # # Copyright 2015 Jake Ross # # # # 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.apa...
46.87931
117
0.502023
247
2,719
5.40081
0.522267
0.044978
0.05997
0.023988
0.08096
0.047976
0.047976
0
0
0
0
0.005656
0.284663
2,719
57
118
47.701754
0.680206
0.94851
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
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
1
0
0
0
0
0
0
2
371fe1c72ae5cde389b42d80b32490a729ec20ff
1,282
py
Python
src/util.py
weijinqian0/feature_eda
cf2167eeac726fb33ce2ae5c7051412815601b8b
[ "Apache-2.0" ]
6
2020-12-09T11:06:49.000Z
2021-09-13T08:00:55.000Z
src/util.py
weijinqian0/feature_eda
cf2167eeac726fb33ce2ae5c7051412815601b8b
[ "Apache-2.0" ]
null
null
null
src/util.py
weijinqian0/feature_eda
cf2167eeac726fb33ce2ae5c7051412815601b8b
[ "Apache-2.0" ]
3
2020-11-15T15:23:39.000Z
2021-07-17T08:06:46.000Z
import json import re import time import numpy as np def parse_json(json_str): return json.loads(json_str) def write_json(json_path, object): with open(json_path, 'w') as wf: wf.write(json.dumps(object)) def read_json(json_path): with open(json_path, 'r') as rf: line = rf.readline() ...
18.314286
49
0.614665
179
1,282
4.212291
0.418994
0.059682
0.011936
0.04244
0
0
0
0
0
0
0
0.005035
0.225429
1,282
69
50
18.57971
0.75428
0.196568
0
0
0
0
0.044652
0
0
0
0
0
0
1
0.266667
false
0
0.133333
0.1
0.633333
0.066667
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
1
0
0
2
37312086c279920f142a09e7e4fdb0c5bf58fd58
246
py
Python
build/lib/IP_Connector/PrintRecord.py
manthanchauhan/IP_Connector
bd787532eb9284deb0cddb2f6046c48aead3cbff
[ "MIT" ]
1
2019-01-23T18:10:33.000Z
2019-01-23T18:10:33.000Z
build/lib/IP_Connector/PrintRecord.py
manthanchauhan/IP_Connector
bd787532eb9284deb0cddb2f6046c48aead3cbff
[ "MIT" ]
null
null
null
build/lib/IP_Connector/PrintRecord.py
manthanchauhan/IP_Connector
bd787532eb9284deb0cddb2f6046c48aead3cbff
[ "MIT" ]
null
null
null
""" Overloading 'print()' """ import sys def print_record(string): with open('logout_details.txt', 'a') as record: stdout = sys.stdout sys.stdout = record print(string, end='') sys.stdout = stdout return
17.571429
51
0.589431
29
246
4.931034
0.586207
0.188811
0.20979
0
0
0
0
0
0
0
0
0
0.272358
246
13
52
18.923077
0.798883
0.085366
0
0
0
0
0.087558
0
0
0
0
0
0
1
0.125
false
0
0.125
0
0.375
0.25
1
0
0
null
0
1
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
2
2eaa3ab30367f3cf30a865144a6ae8d3acc7329d
551
py
Python
shared_functions.py
scottmanderson/minerva
fe6a6857d892d9c7d881701c91990d9697bde00e
[ "MIT" ]
null
null
null
shared_functions.py
scottmanderson/minerva
fe6a6857d892d9c7d881701c91990d9697bde00e
[ "MIT" ]
null
null
null
shared_functions.py
scottmanderson/minerva
fe6a6857d892d9c7d881701c91990d9697bde00e
[ "MIT" ]
null
null
null
from app.models import DataSource, DataSourcePoll def fetch_all_data_sources(): try: all_data_sources = DataSource.query.all() except Exception: print("error fetching data sources; table likely empty") all_data_sources = [] return all_data_sources def fetch_all_data_source_polls(...
27.55
69
0.709619
69
551
5.347826
0.347826
0.151762
0.203252
0.195122
0.368564
0.243902
0.243902
0.243902
0
0
0
0
0.221416
551
19
70
29
0.86014
0
0
0.266667
0
0
0.179673
0
0
0
0
0
0
1
0.133333
false
0
0.066667
0
0.333333
0.133333
0
0
0
null
0
1
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
2
2eb262ffd10bdd57b9715c5364a861b53bad0b7f
318
py
Python
wsgi.py
livingstack/RiverFlows
d17ef7c63ea55a9cad926e2e190a9cca8a937f26
[ "MIT" ]
null
null
null
wsgi.py
livingstack/RiverFlows
d17ef7c63ea55a9cad926e2e190a9cca8a937f26
[ "MIT" ]
null
null
null
wsgi.py
livingstack/RiverFlows
d17ef7c63ea55a9cad926e2e190a9cca8a937f26
[ "MIT" ]
null
null
null
import os import signal import sys import traceback import time from django.core.wsgi import get_wsgi_application #from whitenoise.django import DjangoWhiteNoise os.environ.setdefault("DJANGO_SETTINGS_MODULE", "RiverFlows.settings") application = get_wsgi_application() #application = DjangoWhiteNoise(application)
22.714286
70
0.842767
38
318
6.894737
0.5
0.053435
0.137405
0
0
0
0
0
0
0
0
0
0.091195
318
13
71
24.461538
0.906574
0.279874
0
0
0
0
0.180617
0.096916
0
0
0
0
0
1
0
false
0
0.75
0
0.75
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
1
0
0
2
2ec0e034d13512ebbed09329604f0c2f25561e33
2,824
py
Python
research/cv/dlinknet/src/loss.py
mindspore-ai/models
9127b128e2961fd698977e918861dadfad00a44c
[ "Apache-2.0" ]
77
2021-10-15T08:32:37.000Z
2022-03-30T13:09:11.000Z
research/cv/dlinknet/src/loss.py
mindspore-ai/models
9127b128e2961fd698977e918861dadfad00a44c
[ "Apache-2.0" ]
3
2021-10-30T14:44:57.000Z
2022-02-14T06:57:57.000Z
research/cv/dlinknet/src/loss.py
mindspore-ai/models
9127b128e2961fd698977e918861dadfad00a44c
[ "Apache-2.0" ]
24
2021-10-15T08:32:45.000Z
2022-03-24T18:45:20.000Z
# Copyright 2022 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to...
36.205128
80
0.611898
408
2,824
4.053922
0.262255
0.043531
0.050786
0.058041
0.649335
0.649335
0.649335
0.649335
0.649335
0.649335
0
0.015618
0.251771
2,824
77
81
36.675325
0.767156
0.235127
0
0.846154
0
0
0.00747
0
0
0
0
0
0
1
0.153846
false
0
0.038462
0
0.346154
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
2ed0d1c07967c0e2ad3e521df02d14d41664895a
922
py
Python
src/rpc/farmer_rpc_client.py
DONG-Jason/chia-blockchain
27b28d62f6b315e45bc00231e007c775f07a414a
[ "Apache-2.0" ]
null
null
null
src/rpc/farmer_rpc_client.py
DONG-Jason/chia-blockchain
27b28d62f6b315e45bc00231e007c775f07a414a
[ "Apache-2.0" ]
11
2021-09-28T15:10:47.000Z
2022-03-22T15:14:16.000Z
src/rpc/farmer_rpc_client.py
DONG-Jason/chia-blockchain
27b28d62f6b315e45bc00231e007c775f07a414a
[ "Apache-2.0" ]
null
null
null
from typing import Dict, List, Optional from src.rpc.rpc_client import RpcClient from src.types.sized_bytes import bytes32 class FarmerRpcClient(RpcClient): """ Client to Chia RPC, connects to a local farmer. Uses HTTP/JSON, and converts back from JSON into native python objects before returning. All api ...
40.086957
94
0.704989
137
922
4.642336
0.605839
0.062893
0.040881
0.04717
0.09434
0.09434
0
0
0
0
0
0.005525
0.214751
922
22
95
41.909091
0.872928
0.399132
0
0
0
0
0.10728
0
0
0
0
0
0
1
0
true
0
0.272727
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
1
0
0
0
1
0
0
2
2ed53ab24fe0cb9f20623f37d3449d0b785c05df
464
py
Python
app/main/errors.py
hettlage/salt-data-quality-site
da9ff4a51e8affa47e0bc1c0383c7fdeaac2155e
[ "MIT" ]
null
null
null
app/main/errors.py
hettlage/salt-data-quality-site
da9ff4a51e8affa47e0bc1c0383c7fdeaac2155e
[ "MIT" ]
null
null
null
app/main/errors.py
hettlage/salt-data-quality-site
da9ff4a51e8affa47e0bc1c0383c7fdeaac2155e
[ "MIT" ]
null
null
null
from flask import current_app, render_template from . import main @main.errorhandler(500) def internal_server_error(e): current_app.logger.error(str(e), exc_info=1) return render_template('500.html'), 500 @main.errorhandler(404) def file_not_found_error(e): return render_template('404.html'), 404 @mai...
23.2
48
0.75431
70
464
4.785714
0.4
0.167164
0.179104
0.101493
0.38209
0.38209
0.38209
0.38209
0.38209
0.38209
0
0.063882
0.122845
464
19
49
24.421053
0.759214
0
0
0.307692
0
0
0.051724
0
0
0
0
0
0
1
0.230769
false
0
0.153846
0.076923
0.615385
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
1
0
0
2
2ed8becfd8b65f9d222e6e191f1610963666897f
157
py
Python
_src/demo.py
badboy315/omooc.py
cd9157ac5a781836b48ddb63ab1026a930a8dd0d
[ "MIT" ]
null
null
null
_src/demo.py
badboy315/omooc.py
cd9157ac5a781836b48ddb63ab1026a930a8dd0d
[ "MIT" ]
null
null
null
_src/demo.py
badboy315/omooc.py
cd9157ac5a781836b48ddb63ab1026a930a8dd0d
[ "MIT" ]
2
2019-03-15T09:53:06.000Z
2019-03-15T09:54:12.000Z
#!/usr/bin/python # -*- coding: utf-8 -*- def hello(words="Hollo World!-)"): print words #return words if __name__ == '__main__': hello('是也乎')
15.7
34
0.585987
20
157
4.2
0.85
0
0
0
0
0
0
0
0
0
0
0.008
0.203822
157
10
35
15.7
0.664
0.318471
0
0
0
0
0.238095
0
0
0
0
0
0
0
null
null
0
0
null
null
0.25
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
1
0
0
0
0
0
0
0
0
2
2ed935d2886f3857d67a40bf803252a8d218747d
276
py
Python
Hereditariedade_e_Polimorfismo/21.1-Multiple-Inheritance_and_The-Lookup-Tree_Diamond-Shape.py
nnsdtr/OOP-Python
3b739966c9b35c32a2bd934574f6421b1470eb23
[ "MIT" ]
null
null
null
Hereditariedade_e_Polimorfismo/21.1-Multiple-Inheritance_and_The-Lookup-Tree_Diamond-Shape.py
nnsdtr/OOP-Python
3b739966c9b35c32a2bd934574f6421b1470eb23
[ "MIT" ]
null
null
null
Hereditariedade_e_Polimorfismo/21.1-Multiple-Inheritance_and_The-Lookup-Tree_Diamond-Shape.py
nnsdtr/OOP-Python
3b739966c9b35c32a2bd934574f6421b1470eb23
[ "MIT" ]
null
null
null
class A(object): def do_this(self): print('do_this() in A') class B(A): pass class C(A): def do_this(self): print('do_this() in C') class D(B, C): pass D_instance = D() D_instance.do_this() print(D.mro()) # Method resolution order
11.04
42
0.572464
46
276
3.282609
0.391304
0.198676
0.119205
0.172185
0.344371
0.344371
0.344371
0.344371
0
0
0
0
0.271739
276
25
42
11.04
0.751244
0.083333
0
0.307692
0
0
0.112
0
0
0
0
0
0
1
0.153846
false
0.153846
0
0
0.461538
0.230769
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
1
0
0
0
0
0
2
2edae7e525d54d78a9acb950a85908d3e1dcf95d
3,191
py
Python
networkapi/requisicaovips/resource/RequestVipValidateResource.py
vinicius-marinho/GloboNetworkAPI
94651d3b4dd180769bc40ec966814f3427ccfb5b
[ "Apache-2.0" ]
73
2015-04-13T17:56:11.000Z
2022-03-24T06:13:07.000Z
networkapi/requisicaovips/resource/RequestVipValidateResource.py
leopoldomauricio/GloboNetworkAPI
3b5b2e336d9eb53b2c113977bfe466b23a50aa29
[ "Apache-2.0" ]
99
2015-04-03T01:04:46.000Z
2021-10-03T23:24:48.000Z
networkapi/requisicaovips/resource/RequestVipValidateResource.py
shildenbrand/GloboNetworkAPI
515d5e961456cee657c08c275faa1b69b7452719
[ "Apache-2.0" ]
64
2015-08-05T21:26:29.000Z
2022-03-22T01:06:28.000Z
# -*- coding: utf-8 -*- # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "Lic...
37.988095
99
0.698527
386
3,191
5.663212
0.411917
0.070448
0.041171
0.042086
0.098811
0.023788
0
0
0
0
0
0.006125
0.232529
3,191
83
100
38.445783
0.886484
0.264494
0
0.071429
0
0
0.101174
0.011743
0
0
0
0
0
0
null
null
0
0.309524
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
1
0
0
0
0
2
2ef5094dc29b0017283c3aa1c4404939b073749b
13,064
py
Python
pysnmp/STN-ATM-VPN-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
11
2021-02-02T16:27:16.000Z
2021-08-31T06:22:49.000Z
pysnmp/STN-ATM-VPN-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
75
2021-02-24T17:30:31.000Z
2021-12-08T00:01:18.000Z
pysnmp/STN-ATM-VPN-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module STN-ATM-VPN-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/STN-ATM-VPN-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 21:03:27 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27...
129.346535
2,177
0.767682
1,456
13,064
6.886676
0.115385
0.016755
0.012566
0.016755
0.41488
0.386058
0.336292
0.333699
0.271766
0.229879
0
0.07915
0.085119
13,064
100
2,178
130.64
0.759789
0.024801
0
0
0
0
0.111932
0.015553
0
0
0
0
0
1
0
false
0
0.096774
0
0.096774
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
2efb05b32d98da2a8d28631f8c30d259c6e15fbd
1,924
py
Python
scripts/scrap_author/scrap_author/pipelines.py
Tarpelite/2019Spring_SoftwareAnalysis
73553dc90fee661de2e4c5536eb4fe3378f41e47
[ "MIT" ]
6
2019-03-03T05:58:05.000Z
2019-07-22T10:59:24.000Z
scripts/scrap_author/scrap_author/pipelines.py
Tarpelite/2019Spring_SoftwareAnalysis
73553dc90fee661de2e4c5536eb4fe3378f41e47
[ "MIT" ]
null
null
null
scripts/scrap_author/scrap_author/pipelines.py
Tarpelite/2019Spring_SoftwareAnalysis
73553dc90fee661de2e4c5536eb4fe3378f41e47
[ "MIT" ]
1
2019-04-13T12:33:18.000Z
2019-04-13T12:33:18.000Z
# -*- coding: utf-8 -*- # Define your item pipelines here # # Don't forget to add your pipeline to the ITEM_PIPELINES setting # See: https://doc.scrapy.org/en/latest/topics/item-pipeline.html from scrapy.exceptions import DropItem from .spiders.scrap_authors import author,article import json """ class ScrapAuthorPipe...
29.151515
67
0.58264
221
1,924
5.0181
0.321267
0.072137
0.075744
0.064923
0.611362
0.595131
0.537421
0.476105
0.393147
0.319206
0
0.002257
0.309252
1,924
66
68
29.151515
0.832205
0.094075
0
0.666667
0
0
0.036816
0
0
0
0
0
0
1
0.222222
false
0
0.111111
0
0.555556
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
1
0
0
2
2efface873cb980d4b91fcaf8de9962b85ac95fc
546
py
Python
src/zoslogs/utils.py
Tam-Lin/zoslogs
13429eea45aee888251b462af3d006037c485e39
[ "Apache-2.0" ]
null
null
null
src/zoslogs/utils.py
Tam-Lin/zoslogs
13429eea45aee888251b462af3d006037c485e39
[ "Apache-2.0" ]
null
null
null
src/zoslogs/utils.py
Tam-Lin/zoslogs
13429eea45aee888251b462af3d006037c485e39
[ "Apache-2.0" ]
null
null
null
import datetime def julian_to_datetime(input_string: str): """ :param: input_string String to be converted :rtype: datetime object """ if len(input_string) == 5: date = datetime.datetime.strptime(input_string, '%y%j') elif len(input_string) == 7: date = datetime.datetime.st...
21
70
0.6337
62
546
5.419355
0.532258
0.196429
0.095238
0.166667
0.244048
0.244048
0.244048
0.244048
0
0
0
0.005
0.267399
546
25
71
21.84
0.835
0.122711
0
0
0
0
0.137555
0
0
0
0
0
0
1
0.083333
false
0.166667
0.083333
0
0.333333
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
1
0
0
0
0
0
2
25783d73d6e9ec9d2bb39640b715ce82f0ca767f
1,994
py
Python
src/sage/groups/libgap_group.py
fchapoton/sage
765c5cb3e24dd134708eca97e4c52e0221cd94ba
[ "BSL-1.0" ]
1,742
2015-01-04T07:06:13.000Z
2022-03-30T11:32:52.000Z
src/sage/groups/libgap_group.py
Ivo-Maffei/sage
467fbc70a08b552b3de33d9065204ee9cbfb02c7
[ "BSL-1.0" ]
66
2015-03-19T19:17:24.000Z
2022-03-16T11:59:30.000Z
src/sage/groups/libgap_group.py
dimpase/sage
468f23815ade42a2192b0a9cd378de8fdc594dcd
[ "BSL-1.0" ]
495
2015-01-10T10:23:18.000Z
2022-03-24T22:06:11.000Z
""" Generic LibGAP-based Group This is useful if you need to use a GAP group implementation in Sage that does not have a dedicated Sage interface. If you want to implement your own group class, you should not derive from this but directly from :class:`~sage.groups.libgap_wrapper.ParentLibGAP`. EXAMPLES:: sage: ...
30.212121
78
0.587763
248
1,994
4.600806
0.391129
0.070114
0.09816
0.028046
0.37511
0.3383
0.268186
0.210342
0.210342
0.210342
0
0.007106
0.223671
1,994
65
79
30.676923
0.729974
0.660481
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0.375
0
0.75
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
1
0
0
2
2588b1d5c3d3ce1bc361d286084e23142c0e3548
2,277
py
Python
teamcat_service/docker_build/target/one_step_build/teamcat/doraemon/home/pagefactory/home_template_path.py
zhangyin2088/Teamcat
be9be8d7c1e58c8d2d22ab78d25783d9aee4de71
[ "Apache-2.0" ]
6
2018-11-26T08:42:52.000Z
2020-06-01T08:33:48.000Z
teamcat_service/docker_build/target/one_step_build/teamcat/doraemon/home/pagefactory/home_template_path.py
zhangyin2088/Teamcat
be9be8d7c1e58c8d2d22ab78d25783d9aee4de71
[ "Apache-2.0" ]
null
null
null
teamcat_service/docker_build/target/one_step_build/teamcat/doraemon/home/pagefactory/home_template_path.py
zhangyin2088/Teamcat
be9be8d7c1e58c8d2d22ab78d25783d9aee4de71
[ "Apache-2.0" ]
1
2019-01-22T06:45:36.000Z
2019-01-22T06:45:36.000Z
#coding=utf-8 ''' Created on 2015-10-10 @author: Devuser ''' class HomeTaskPath(object): left_nav_template_path="home/home_left_nav.html" sub_nav_template_path="task/home_task_leftsub_nav.html" task_index_path="task/home_task_index.html" class HomeProjectPath(object): left_nav_template_path="home/ho...
34.5
71
0.808081
322
2,277
5.226708
0.152174
0.128342
0.124777
0.090315
0.423054
0.313725
0.313725
0.269756
0.269756
0.269756
0
0.004412
0.104084
2,277
66
72
34.5
0.820588
0.022837
0
0.195122
0
0
0.433724
0.417944
0
0
0
0
0
1
0
false
0
0
0
1
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
1
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
25903698dba3a731bf32e05153dc8c56d7eeff53
2,970
py
Python
Winter 2017/lec7/codingpractice.py
hyunjaemoon/pythonteaching
ee4da847cab548b9a39767d22b2586de927d8513
[ "CECILL-B" ]
null
null
null
Winter 2017/lec7/codingpractice.py
hyunjaemoon/pythonteaching
ee4da847cab548b9a39767d22b2586de927d8513
[ "CECILL-B" ]
null
null
null
Winter 2017/lec7/codingpractice.py
hyunjaemoon/pythonteaching
ee4da847cab548b9a39767d22b2586de927d8513
[ "CECILL-B" ]
null
null
null
#Link Class is given! class Link: """A linked list. >>> s = Link(1, Link(2, Link(3))) >>> s.first 1 >>> s.rest Link(2, Link(3)) """ empty = () def __init__(self, first, rest=empty): assert rest is Link.empty or isinstance(rest, Link) self.first = first self...
25.826087
74
0.519192
432
2,970
3.483796
0.201389
0.046512
0.077741
0.066445
0.317608
0.124252
0.065781
0.026578
0
0
0
0.04187
0.308418
2,970
114
75
26.052632
0.690847
0.500337
0
0.151515
0
0
0.112834
0
0
0
0
0
0.030303
1
0.272727
false
0
0
0
0.515152
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
1
0
0
2
2590ffc7630dabe578e0b8c4bb68cf9570b8a372
1,539
py
Python
vendor/home/python/home_daemon.py
hvos234/raspberrypi.home.website
72376beb55167da4b5fadda51992724451166129
[ "BSD-3-Clause" ]
null
null
null
vendor/home/python/home_daemon.py
hvos234/raspberrypi.home.website
72376beb55167da4b5fadda51992724451166129
[ "BSD-3-Clause" ]
null
null
null
vendor/home/python/home_daemon.py
hvos234/raspberrypi.home.website
72376beb55167da4b5fadda51992724451166129
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- import subprocess, time # the subprocess.call by start and stop will return failt when you try to # start the daemon if it is already started this is also with stop, if the status # is diffrent it will return zero if the daemon is started and not zero if the # dae...
34.977273
87
0.60104
210
1,539
4.342857
0.380952
0.069079
0.046053
0.042763
0.319079
0.248904
0.248904
0.201754
0.201754
0
0
0.00947
0.31384
1,539
43
88
35.790698
0.854167
0.460039
0
0.190476
0
0
0.139715
0
0
0
0
0
0
1
0.285714
false
0
0.047619
0.047619
0.52381
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
1
0
0
2
25b4803ce397dbadce20028c31ad3bbc60ee4d10
5,474
py
Python
tests/html_generation_tests.py
JoshBarr/python-mammoth
e24c3d90fee2bcc4c2c3ad47e38c0cbba42945d8
[ "BSD-2-Clause" ]
1
2015-08-15T21:53:03.000Z
2015-08-15T21:53:03.000Z
tests/html_generation_tests.py
JoshBarr/python-mammoth
e24c3d90fee2bcc4c2c3ad47e38c0cbba42945d8
[ "BSD-2-Clause" ]
null
null
null
tests/html_generation_tests.py
JoshBarr/python-mammoth
e24c3d90fee2bcc4c2c3ad47e38c0cbba42945d8
[ "BSD-2-Clause" ]
null
null
null
from nose.tools import istest, assert_equal from mammoth.html_generation import HtmlGenerator, satisfy_html_path from mammoth import html_paths @istest def generates_empty_string_when_newly_created(): generator = HtmlGenerator() assert_equal("", generator.html_string()) @istest def html_escapes_text(): ...
31.825581
107
0.679211
635
5,474
5.552756
0.137008
0.059274
0.096994
0.120533
0.775383
0.718945
0.655417
0.566364
0.459444
0.427113
0
0.001779
0.17848
5,474
171
108
32.011696
0.782299
0
0
0.626866
1
0
0.097735
0.030873
0
0
0
0
0.141791
1
0.134328
false
0
0.022388
0
0.164179
0
0
0
0
null
0
0
0
0
1
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
2
25d23442cd9ed7f8c314d629c9036717e8e5dde6
195
py
Python
hydra/example0.py
futabato/mlops_demo
c2563980327a516fea855c64311a340d34588e94
[ "MIT" ]
null
null
null
hydra/example0.py
futabato/mlops_demo
c2563980327a516fea855c64311a340d34588e94
[ "MIT" ]
null
null
null
hydra/example0.py
futabato/mlops_demo
c2563980327a516fea855c64311a340d34588e94
[ "MIT" ]
null
null
null
import hydra from omegaconf import DictConfig @hydra.main(config_path="conf", config_name="config.yaml") def main(cfg: DictConfig) -> None: print(cfg) if __name__ == "__main__": main()
19.5
58
0.712821
26
195
4.961538
0.615385
0
0
0
0
0
0
0
0
0
0
0
0.148718
195
9
59
21.666667
0.777108
0
0
0
0
0
0.117949
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.428571
0.142857
1
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
2
25d57998275df923c413698d81b3a55fd5fca24f
10,428
py
Python
civil/models.py
AeroYoung/PyCSE
4cc73bf8d0b949c0225acd44fd32f992135a5ca1
[ "MIT" ]
null
null
null
civil/models.py
AeroYoung/PyCSE
4cc73bf8d0b949c0225acd44fd32f992135a5ca1
[ "MIT" ]
null
null
null
civil/models.py
AeroYoung/PyCSE
4cc73bf8d0b949c0225acd44fd32f992135a5ca1
[ "MIT" ]
null
null
null
from math import floor from django.db.models import Sum from django.db import models from users.models import User class Category(models.Model): category_name = models.CharField( primary_key=True, unique=True, max_length=200, verbose_name='题型大类' ) def __str__(self): ...
30.138728
99
0.659954
1,309
10,428
4.934301
0.07945
0.052949
0.071993
0.049543
0.799814
0.734015
0.668215
0.638799
0.604273
0.574547
0
0.009473
0.230629
10,428
345
100
30.226087
0.795588
0.001726
0
0.54902
0
0
0.058609
0
0
0
0
0
0
1
0.164706
false
0
0.015686
0.105882
0.482353
0
0
0
0
null
0
0
0
0
1
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
1
0
0
0
2
25dcf386dbc4ac966c3d35918a5615d9ec1c2330
622
py
Python
app/repositories/register.py
JulienBalestra/enjoliver
13b41d0c40a56ea212a88d3e4f3aee91a318f3f0
[ "MIT" ]
33
2017-01-20T11:58:32.000Z
2021-08-21T16:33:18.000Z
app/repositories/register.py
JulienBalestra/enjoliver
13b41d0c40a56ea212a88d3e4f3aee91a318f3f0
[ "MIT" ]
8
2017-04-20T14:17:37.000Z
2017-12-22T11:25:24.000Z
app/repositories/register.py
JulienBalestra/enjoliver
13b41d0c40a56ea212a88d3e4f3aee91a318f3f0
[ "MIT" ]
5
2017-04-19T14:36:12.000Z
2017-10-10T11:09:16.000Z
from repositories.machine_discovery_repo import DiscoveryRepository from repositories.machine_schedule_repo import ScheduleRepository from repositories.machine_state_repo import MachineStateRepository from repositories.user_interface_repo import UserInterfaceRepository from smartdb import SmartDatabaseClient class Re...
44.428571
68
0.836013
58
622
8.706897
0.37931
0.126733
0.136634
0
0
0
0
0
0
0
0
0
0.122187
622
13
69
47.846154
0.924908
0
0
0
0
0
0
0
0
0
0
0
0
1
0.090909
false
0
0.454545
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
1
0
1
0
0
2
25ded025f9daceb601593cbb687ebe8e7ce1c3cf
105
py
Python
examples/input.py
cloudagon/prey
a0524f5efc7aada8c83fade45ce2e56b0549fafe
[ "MIT" ]
null
null
null
examples/input.py
cloudagon/prey
a0524f5efc7aada8c83fade45ce2e56b0549fafe
[ "MIT" ]
2
2021-05-18T17:02:34.000Z
2021-05-18T20:38:13.000Z
examples/input.py
sachinraja/prey
a0524f5efc7aada8c83fade45ce2e56b0549fafe
[ "MIT" ]
null
null
null
#!/usr/bin/env prey async def main(): word = input("Give me a word: ") await x(f"echo {word}")
15
36
0.571429
18
105
3.333333
0.888889
0
0
0
0
0
0
0
0
0
0
0
0.238095
105
6
37
17.5
0.75
0.171429
0
0
0
0
0.313953
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
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
2
25e452de175dfd88d1c6611fd3251aa11b602795
145
py
Python
pubg_python/__init__.py
adamgeraldy/pubg-python
9a27314ca93297169ce9620338218b7182a14702
[ "MIT" ]
null
null
null
pubg_python/__init__.py
adamgeraldy/pubg-python
9a27314ca93297169ce9620338218b7182a14702
[ "MIT" ]
null
null
null
pubg_python/__init__.py
adamgeraldy/pubg-python
9a27314ca93297169ce9620338218b7182a14702
[ "MIT" ]
null
null
null
from .base import PUBG # noqa from .domain.base import ( # noqa Filter, Shard, ) __all__ = [ 'PUBG', 'Filter', 'Shard', ]
12.083333
34
0.544828
16
145
4.6875
0.5625
0.266667
0
0
0
0
0
0
0
0
0
0
0.310345
145
11
35
13.181818
0.75
0.062069
0
0
0
0
0.112782
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
1
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
2
25eea202906423d9227b1174ed9fdd7512739871
179
py
Python
labTwo/config/__init__.py
kotskon/patrec19
da508a2ff6f95f801082a62d4cc5e3c5ad93a32b
[ "MIT" ]
null
null
null
labTwo/config/__init__.py
kotskon/patrec19
da508a2ff6f95f801082a62d4cc5e3c5ad93a32b
[ "MIT" ]
null
null
null
labTwo/config/__init__.py
kotskon/patrec19
da508a2ff6f95f801082a62d4cc5e3c5ad93a32b
[ "MIT" ]
1
2022-01-14T16:26:40.000Z
2022-01-14T16:26:40.000Z
class ToolConfig (): def __init__ (self): self.one = './data/onetwothree1.wav' self.two = './data/onetwothree8.wav' self.digits_path = './data/digits'
29.833333
44
0.597765
20
179
5.1
0.65
0.137255
0
0
0
0
0
0
0
0
0
0.014706
0.240223
179
5
45
35.8
0.735294
0
0
0
0
0
0.329609
0.256983
0
0
0
0
0
1
0.2
false
0
0
0
0.4
0
1
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
2
25f0080dcd0decc24563c5ffa7c82d78f2d0825e
46,348
py
Python
pysnmp-with-texts/SW-DES3x50-ACLMGMT-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
8
2019-05-09T17:04:00.000Z
2021-06-09T06:50:51.000Z
pysnmp-with-texts/SW-DES3x50-ACLMGMT-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
4
2019-05-31T16:42:59.000Z
2020-01-31T21:57:17.000Z
pysnmp-with-texts/SW-DES3x50-ACLMGMT-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module SW-DES3x50-ACLMGMT-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/SW-DES3x50-ACLMGMT-MIB # Produced by pysmi-0.3.4 at Wed May 1 15:12:30 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (d...
148.076677
4,532
0.789549
5,440
46,348
6.726287
0.078676
0.064278
0.112487
0.010822
0.602389
0.485065
0.465333
0.452297
0.433221
0.410374
0
0.05746
0.0868
46,348
312
4,533
148.551282
0.807064
0.007293
0
0
0
0.065574
0.250886
0.009869
0
0
0
0
0
1
0
false
0
0.029508
0
0.029508
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
25fecc558ec6deed810957727882e93db24a4f0b
915
py
Python
commercia/offers/collections.py
commoncode/economica
3de2415d7f0e0e81cc6ac7a054839daeb1ba6748
[ "IJG" ]
2
2015-09-14T10:13:39.000Z
2015-09-14T12:53:45.000Z
commercia/offers/collections.py
commoncode/economica
3de2415d7f0e0e81cc6ac7a054839daeb1ba6748
[ "IJG" ]
null
null
null
commercia/offers/collections.py
commoncode/economica
3de2415d7f0e0e81cc6ac7a054839daeb1ba6748
[ "IJG" ]
null
null
null
from cqrs.mongo import mongodb from cqrs.collections import DRFDocumentCollection from .models import Collection, Offer, OfferResourceContract from .serializers import ( CollectionSerializer, OfferResourceContractSerializer, OfferSerializer ) class CollectionDocumentCollection(DRFDocumentCollection): model =...
29.516129
74
0.829508
65
915
11.523077
0.415385
0.104139
0
0
0
0
0
0
0
0
0
0
0.11694
915
30
75
30.5
0.92698
0
0
0
0
0
0.074317
0.055738
0
0
0
0
0
1
0
false
0
0.190476
0
0.761905
0
0
0
1
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
2
d308a8e735b289483da9f6998078d011d3a0b3f2
364
py
Python
__init__.py
yulkang/augment3D
876af223e67bd0d9d7044b4caee77b32c30b2962
[ "MIT" ]
11
2017-07-20T13:06:49.000Z
2021-03-28T06:34:37.000Z
__init__.py
yulkang/augment3D
876af223e67bd0d9d7044b4caee77b32c30b2962
[ "MIT" ]
null
null
null
__init__.py
yulkang/augment3D
876af223e67bd0d9d7044b4caee77b32c30b2962
[ "MIT" ]
3
2017-03-30T03:19:33.000Z
2019-04-04T21:55:56.000Z
""" Augment 3D images of a focal lesion with 3D rotation, flip, and translation. import_mhd: Prepare patches from lung CT scan images and annotations. (See readme.md - Installation for details.) datasets: Retrieve patches after augmentation for training. classify_patch: Demonstrate the use of dataset...
26
76
0.755495
50
364
5.46
0.8
0.080586
0
0
0
0
0
0
0
0
0
0.010169
0.18956
364
14
77
26
0.915254
0.975275
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
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
1
0
0
0
0
0
0
2
d310739f6c8e6a4a5d3426a43114747a6d016795
276
py
Python
reactive_robot/parsers/string.py
yusufcanb/reactive-robot
f20a129b429ed26877c23964437ec9a2bc4ee66f
[ "Apache-2.0" ]
10
2021-11-29T09:04:19.000Z
2022-01-17T00:51:17.000Z
reactive_robot/parsers/string.py
yusufcanb/reactive-robot
f20a129b429ed26877c23964437ec9a2bc4ee66f
[ "Apache-2.0" ]
1
2021-11-28T20:08:03.000Z
2021-11-28T20:08:03.000Z
reactive_robot/parsers/string.py
yusufcanb/reactive-robot
f20a129b429ed26877c23964437ec9a2bc4ee66f
[ "Apache-2.0" ]
1
2021-12-14T13:11:54.000Z
2021-12-14T13:11:54.000Z
from reactive_robot.parsers.base import BaseParser class RawPayloadParser(BaseParser): def get_variables(self, message: bytes): if message: variables = message.decode("utf-8").split() return variables else: return []
23
55
0.626812
28
276
6.107143
0.785714
0
0
0
0
0
0
0
0
0
0
0.005076
0.286232
276
11
56
25.090909
0.862944
0
0
0
0
0
0.018116
0
0
0
0
0
0
1
0.125
false
0
0.125
0
0.625
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
1
0
0
2
d31527442527da9c4b48b33e6a0471954e5aa553
1,937
py
Python
MSCL_Examples/Inertial/Python/setCurrentConfig.py
contagon/MSCL
dc9029e7b7f83dc0eed5035ebb653102b0237060
[ "BSL-1.0", "OpenSSL", "MIT" ]
53
2015-08-28T02:41:41.000Z
2022-03-03T07:50:53.000Z
MSCL_Examples/Inertial/Python/setCurrentConfig.py
contagon/MSCL
dc9029e7b7f83dc0eed5035ebb653102b0237060
[ "BSL-1.0", "OpenSSL", "MIT" ]
209
2015-09-30T19:36:11.000Z
2022-03-04T21:52:20.000Z
MSCL_Examples/Inertial/Python/setCurrentConfig.py
contagon/MSCL
dc9029e7b7f83dc0eed5035ebb653102b0237060
[ "BSL-1.0", "OpenSSL", "MIT" ]
55
2015-09-03T14:40:01.000Z
2022-02-04T02:02:01.000Z
#import the mscl library import sys sys.path.append("../../dependencies/Python") import mscl #TODO: change these constants to match your setup COM_PORT = "COM4" try: #create a Serial Connection with the specified COM Port, default baud rate of 921600 connection = mscl.Connection.Serial(COM_PORT) #create ...
36.54717
126
0.743934
245
1,937
5.763265
0.391837
0.084986
0.072238
0.067989
0.467422
0.417847
0.393768
0.238669
0.238669
0.1983
0
0.014233
0.16572
1,937
52
127
37.25
0.85953
0.230253
0
0
0
0
0.023665
0.016903
0
0
0
0.019231
0
0
null
null
0
0.076923
null
null
0.038462
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
1
0
0
0
0
0
0
0
0
2
d33150c4fbded1cb361a70f2f9977d71116173d8
549
py
Python
src/ion/process/bootstrap/plugins/bootstrap_policy.py
scionrep/scioncc_new
086be085b69711ee24c4c86ed42f2109ca0db027
[ "BSD-2-Clause" ]
2
2015-10-05T20:36:35.000Z
2018-11-21T11:45:24.000Z
src/ion/process/bootstrap/plugins/bootstrap_policy.py
scionrep/scioncc_new
086be085b69711ee24c4c86ed42f2109ca0db027
[ "BSD-2-Clause" ]
21
2015-03-18T14:39:32.000Z
2016-07-01T17:16:29.000Z
src/ion/process/bootstrap/plugins/bootstrap_policy.py
scionrep/scioncc_new
086be085b69711ee24c4c86ed42f2109ca0db027
[ "BSD-2-Clause" ]
12
2015-03-18T10:53:49.000Z
2018-06-21T11:19:57.000Z
#!/usr/bin/env python """Bootstrap process for system policy""" __author__ = 'Stephen Henrie, Michael Meisinger' from pyon.public import log from ion.core.bootstrap_process import BootstrapPlugin from ion.process.bootstrap.load_system_policy import LoadSystemPolicy class BootstrapPolicy(BootstrapPlugin): """ ...
27.45
69
0.75592
65
549
6.169231
0.6
0.089776
0.074813
0
0
0
0
0
0
0
0
0
0.154827
549
19
70
28.894737
0.864224
0.165756
0
0
0
0
0.116705
0
0
0
0
0
0
1
0.125
false
0
0.375
0
0.625
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
1
0
0
2
d340af71e804d20465767b80d7a444c3b8dd9069
267
py
Python
backend/Film/models.py
jspaeza/AppDjangoVue
40162d9b7597b7bdce0a0f3cc33f00d057d7388b
[ "Apache-2.0" ]
null
null
null
backend/Film/models.py
jspaeza/AppDjangoVue
40162d9b7597b7bdce0a0f3cc33f00d057d7388b
[ "Apache-2.0" ]
4
2021-03-09T18:30:16.000Z
2022-02-18T11:11:59.000Z
backend/Film/models.py
jspaeza/AppDjangoVue
40162d9b7597b7bdce0a0f3cc33f00d057d7388b
[ "Apache-2.0" ]
null
null
null
from django.db import models class Film(models.Model): title = models.CharField(max_length=50) sinopsis = models.TextField() imagen = models.FileField(blank=False, null=True) def __str__(self): return self.imagen.name
19.071429
54
0.644195
32
267
5.21875
0.8125
0
0
0
0
0
0
0
0
0
0
0.010101
0.258427
267
13
55
20.538462
0.833333
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0.142857
1
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
1
1
0
0
2
d34d7e3ba69c84dd2a9972b80aca185f3780bd21
1,136
py
Python
flydra_analysis/flydra_analysis/a2/stimulus_positions.py
elhananby/flydra
09b86859b1863700cdea0bbcdd4758da6c83930b
[ "Apache-2.0", "MIT" ]
45
2017-08-25T06:46:56.000Z
2021-08-29T16:42:49.000Z
flydra_analysis/flydra_analysis/a2/stimulus_positions.py
elhananby/flydra
09b86859b1863700cdea0bbcdd4758da6c83930b
[ "Apache-2.0", "MIT" ]
7
2017-10-16T10:46:20.000Z
2020-12-03T16:42:55.000Z
flydra_analysis/flydra_analysis/a2/stimulus_positions.py
elhananby/flydra
09b86859b1863700cdea0bbcdd4758da6c83930b
[ "Apache-2.0", "MIT" ]
21
2018-04-11T09:06:40.000Z
2021-12-26T23:38:40.000Z
stim_positions = { "double": [ [(0.4584, 0.2575, 0.2038), (0.4612, 0.2690, -0.0283)], # 3d location [(0.4601, 0.1549, 0.1937), (0.4614, 0.1660, -0.0358)], ], "double_20070301": [ [(0.4538, 0.2740, 0.1994), (0.4565, 0.2939, -0.0531)], # top highy [(0.4516, 0.1642, 0.1872), (...
40.571429
77
0.465669
180
1,136
2.922222
0.555556
0.019011
0.022814
0
0
0
0
0
0
0
0
0.474795
0.24912
1,136
27
78
42.074074
0.141852
0.305458
0
0.125
0
0
0.072084
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
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
2
d367d2cf8bcf54fc2a00559dbb29d49ec205d89d
1,432
py
Python
force_bdss/tests/probe_classes/ui_hooks.py
scottwedge/force-bdss
c3fdf6a190fa448dbaecedcb81aaba504563dee3
[ "BSD-2-Clause" ]
2
2019-08-19T16:02:40.000Z
2020-10-01T11:38:00.000Z
force_bdss/tests/probe_classes/ui_hooks.py
scottwedge/force-bdss
c3fdf6a190fa448dbaecedcb81aaba504563dee3
[ "BSD-2-Clause" ]
339
2017-07-06T14:35:40.000Z
2021-05-04T14:18:11.000Z
force_bdss/tests/probe_classes/ui_hooks.py
scottwedge/force-bdss
c3fdf6a190fa448dbaecedcb81aaba504563dee3
[ "BSD-2-Clause" ]
2
2019-03-05T14:17:25.000Z
2020-06-26T01:48:07.000Z
# (C) Copyright 2010-2020 Enthought, Inc., Austin, TX # All rights reserved. from traits.api import Bool from force_bdss.api import BaseUIHooksFactory, BaseUIHooksManager class ProbeUIHooksManager(BaseUIHooksManager): before_execution_called = Bool() after_execution_called = Bool() before_save_called =...
28.078431
65
0.704609
174
1,432
5.511494
0.316092
0.051095
0.072993
0.100104
0.316997
0.133472
0.058394
0
0
0
0
0.007201
0.224162
1,432
50
66
28.64
0.855986
0.085894
0
0.121212
0
0
0.033742
0
0
0
0
0
0
1
0.212121
false
0
0.060606
0.090909
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
1
0
0
0
0
1
0
0
2
d368d25ee8871473d13f21fdc3afedabe4667a84
776
py
Python
backend/stock/migrations/0019_auto_20210215_2009.py
fengxia41103/stock
1bba08f77e9038ebdd3905fe734bb51e5fb1bdf1
[ "MIT" ]
1
2021-09-30T05:25:08.000Z
2021-09-30T05:25:08.000Z
backend/stock/migrations/0019_auto_20210215_2009.py
fengxia41103/stock
1bba08f77e9038ebdd3905fe734bb51e5fb1bdf1
[ "MIT" ]
8
2021-09-30T05:27:09.000Z
2021-12-03T23:02:24.000Z
backend/stock/migrations/0019_auto_20210215_2009.py
fengxia41103/stock
1bba08f77e9038ebdd3905fe734bb51e5fb1bdf1
[ "MIT" ]
3
2021-09-29T05:11:45.000Z
2021-10-31T07:26:31.000Z
# Generated by Django 3.1.6 on 2021-02-15 20:09 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('stock', '0018_balancesheet_common_stock'), ] operations = [ migrations.AddField( model_name='mystock', name='beta', ...
26.758621
91
0.57732
81
776
5.432099
0.518519
0.122727
0.156818
0.184091
0.513636
0.513636
0.254545
0.254545
0.254545
0.254545
0
0.04059
0.301546
776
28
92
27.714286
0.771218
0.05799
0
0.409091
1
0
0.134431
0.041152
0
0
0
0
0
1
0
false
0
0.045455
0
0.181818
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
d3820db4fbca85c903528f877db154244cd09569
6,947
py
Python
pysnmp/ALVARION-USER-ACCOUNT-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
11
2021-02-02T16:27:16.000Z
2021-08-31T06:22:49.000Z
pysnmp/ALVARION-USER-ACCOUNT-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
75
2021-02-24T17:30:31.000Z
2021-12-08T00:01:18.000Z
pysnmp/ALVARION-USER-ACCOUNT-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module ALVARION-USER-ACCOUNT-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/ALVARION-USER-ACCOUNT-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 17:06:37 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3....
131.075472
1,200
0.777746
726
6,947
7.439394
0.19146
0.01185
0.011109
0.014812
0.304944
0.260692
0.20848
0.20848
0.18441
0.18441
0
0.082026
0.082194
6,947
52
1,201
133.596154
0.765056
0.049518
0
0.045455
0
0
0.171671
0.065211
0
0
0
0
0
1
0
false
0
0.159091
0
0.159091
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
d386e4f2cdf4a40d0633a94c475c2966af8840b6
939
py
Python
mq/credentials2.py
suparek/rabbitlib
170c56a0e4034fec7b5c2fe55da72d384085ec9d
[ "Apache-2.0" ]
1
2021-05-11T09:45:55.000Z
2021-05-11T09:45:55.000Z
mq/credentials2.py
suparek/rabbitlib
170c56a0e4034fec7b5c2fe55da72d384085ec9d
[ "Apache-2.0" ]
1
2021-05-10T02:58:08.000Z
2021-05-16T14:02:45.000Z
mq/credentials2.py
suparek/rabbitlib
170c56a0e4034fec7b5c2fe55da72d384085ec9d
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -* import hmac import base64 import time import hashlib import os import sys import pika class AliyunCredentialsProvider: """ Python2.7适用,根据阿里云的 accessKey,accessSecret,instanceId算出amqp连接使用的username和password instanceId可以从AMQP控制台首页复制 """ ACCESS_FROM_USER = 0 def __init__(sel...
28.454545
89
0.665602
115
939
5.295652
0.434783
0.032841
0.065681
0
0
0
0
0
0
0
0
0.030872
0.206603
939
32
90
29.34375
0.786577
0.13525
0
0
0
0
0.041667
0
0
0
0
0
0
1
0.136364
false
0.045455
0.318182
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
1
0
1
0
0
2
d387cda0a50009d785958e2247476afb6d4fae04
211
py
Python
back/boxtribute_server/models/definitions/size_range.py
flisowna/boxtribute
f1c1ed254c8a90ddc43c6348c630d300ff3e4575
[ "Apache-2.0" ]
null
null
null
back/boxtribute_server/models/definitions/size_range.py
flisowna/boxtribute
f1c1ed254c8a90ddc43c6348c630d300ff3e4575
[ "Apache-2.0" ]
null
null
null
back/boxtribute_server/models/definitions/size_range.py
flisowna/boxtribute
f1c1ed254c8a90ddc43c6348c630d300ff3e4575
[ "Apache-2.0" ]
null
null
null
from peewee import CharField, IntegerField from ...db import db class SizeRange(db.Model): label = CharField(null=True) seq = IntegerField(null=True) class Meta: table_name = "sizegroup"
17.583333
42
0.687204
26
211
5.538462
0.653846
0.111111
0
0
0
0
0
0
0
0
0
0
0.218009
211
11
43
19.181818
0.872727
0
0
0
0
0
0.042654
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.857143
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
1
0
0
2
d389ecb02ce9891e370fec3b040430eb52d6ff83
520
py
Python
yari/mixins/visibility.py
cr8ivecodesmith/yari
8eff664c2e8ff5950f5db74866f9b43fdc0b0eb7
[ "MIT" ]
null
null
null
yari/mixins/visibility.py
cr8ivecodesmith/yari
8eff664c2e8ff5950f5db74866f9b43fdc0b0eb7
[ "MIT" ]
1
2020-08-19T09:37:40.000Z
2020-08-19T09:37:40.000Z
yari/mixins/visibility.py
cr8ivecodesmith/yari
8eff664c2e8ff5950f5db74866f9b43fdc0b0eb7
[ "MIT" ]
1
2022-02-14T22:34:14.000Z
2022-02-14T22:34:14.000Z
""" Visibility Mixin """ __all__ = ('Visibility',) from kivy.properties import BooleanProperty def handle_visibility(this, value): this.size_hint_x = 1 if this.visible else 0 this.opacity = 1 if this.visible else 0 this.disabled = not this.visible class Visibility: visible = BooleanProperty(True)...
18.571429
47
0.684615
66
520
5.151515
0.5
0.097059
0.041176
0.082353
0.135294
0.135294
0.135294
0
0
0
0
0.009685
0.205769
520
27
48
19.259259
0.813559
0.030769
0
0
0
0
0.020202
0
0
0
0
0
0
1
0.307692
false
0
0.076923
0
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
1
0
0
0
0
1
0
0
2
d39a717074174d5076cefff00adfbe651ae6a969
4,132
py
Python
mekpie/util.py
ejrbuss/mekpie
a2443dd6a50cc176b00d57c09653baf54feddd7c
[ "MIT" ]
null
null
null
mekpie/util.py
ejrbuss/mekpie
a2443dd6a50cc176b00d57c09653baf54feddd7c
[ "MIT" ]
50
2018-06-05T19:33:07.000Z
2022-01-15T01:29:38.000Z
mekpie/util.py
ejrbuss/mekpie
a2443dd6a50cc176b00d57c09653baf54feddd7c
[ "MIT" ]
1
2019-03-07T08:17:18.000Z
2019-03-07T08:17:18.000Z
from re import sub from os import walk, mkdir, rename, remove from sys import stderr from shutil import rmtree from os.path import isfile, isdir, join, basename, splitext, exists from filecmp import dircmp import mekpie.debug as debug import mekpie.messages as messages from .cli import panic, log #...
25.506173
80
0.582527
490
4,132
4.8
0.281633
0.02381
0.035714
0.034014
0.118197
0.062075
0.062075
0.042517
0.042517
0
0
0.004036
0.220474
4,132
161
81
25.664596
0.726172
0.104066
0
0.094828
0
0
0.041791
0
0
0
0
0
0
1
0.241379
false
0
0.077586
0.077586
0.534483
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
1
0
0
2
6c9c9372ae9d88646cf6fac183c9da98cab90a01
1,634
py
Python
locmoss/kgram.py
jm-begon/locmoss
5d94b8d196211033b9e0147bc34b4eb8126d2275
[ "BSD-3-Clause" ]
null
null
null
locmoss/kgram.py
jm-begon/locmoss
5d94b8d196211033b9e0147bc34b4eb8126d2275
[ "BSD-3-Clause" ]
null
null
null
locmoss/kgram.py
jm-begon/locmoss
5d94b8d196211033b9e0147bc34b4eb8126d2275
[ "BSD-3-Clause" ]
null
null
null
from hashlib import sha1 class Buffer(object): def __init__(self, capacity): self.circ = [None for _ in range(capacity)] self.top = 0 def __iter__(self): size = len(self.circ) for i in range(size): o = self.circ[(self.top + i) % size] if o is None: ...
26.354839
74
0.569155
206
1,634
4.247573
0.359223
0.088
0.064
0.029714
0.069714
0
0
0
0
0
0
0.011649
0.317013
1,634
61
75
26.786885
0.772401
0.020808
0
0.043478
0
0
0.006888
0
0
0
0
0
0
1
0.26087
false
0
0.021739
0.130435
0.478261
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
1
0
0
0
2
6ca782b54336ca7d10225b37c6504d8af88580af
1,349
py
Python
src/python/pants/backend/python/pex_util.py
AllClearID/pants
c4fdf00a3bdf9f26f876e85c46909d0729f7132c
[ "Apache-2.0" ]
null
null
null
src/python/pants/backend/python/pex_util.py
AllClearID/pants
c4fdf00a3bdf9f26f876e85c46909d0729f7132c
[ "Apache-2.0" ]
null
null
null
src/python/pants/backend/python/pex_util.py
AllClearID/pants
c4fdf00a3bdf9f26f876e85c46909d0729f7132c
[ "Apache-2.0" ]
null
null
null
# coding=utf-8 # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import (absolute_import, division, generators, nested_scopes, print_function, unicode_literals, with_statement) from pex.interpreter...
37.472222
96
0.767235
182
1,349
5.527473
0.538462
0.029821
0.027833
0.035785
0.073559
0.073559
0.073559
0
0
0
0
0.020961
0.151223
1,349
35
97
38.542857
0.857642
0.559674
0
0
0
0
0
0
0
0
0
0.057143
0
1
0.2
false
0
0.3
0
0.7
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
1
0
0
0
0
0
0
0
1
0
0
2
6cad2569549ca6966d705a1457710126dcf3595a
1,017
py
Python
security.py
alexhendra/Learn-Flask-RestFul
19abdd1b10ff6f59271296e8373c54542f30eb51
[ "Apache-2.0" ]
null
null
null
security.py
alexhendra/Learn-Flask-RestFul
19abdd1b10ff6f59271296e8373c54542f30eb51
[ "Apache-2.0" ]
null
null
null
security.py
alexhendra/Learn-Flask-RestFul
19abdd1b10ff6f59271296e8373c54542f30eb51
[ "Apache-2.0" ]
null
null
null
from werkzeug.security import safe_str_cmp from models.user import UserModel # users = [ # User(1, 'bob', 'asdf') # ] # username_mapping = { # 'bob': { # 'id': 1, # 'username': 'bob', # 'password': 'asdf' # } # } # userid_mapping = { # 1: { # 'id': 1, # 'usernam...
21.638298
56
0.60767
123
1,017
4.861789
0.268293
0.040134
0.050167
0.046823
0.558528
0.401338
0.314381
0.314381
0.314381
0.314381
0
0.005229
0.247788
1,017
46
57
22.108696
0.776471
0.602753
0
0
0
0
0.021448
0
0
0
0
0
0
1
0.222222
false
0.222222
0.222222
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
1
0
1
0
0
0
0
0
2
6cbc1ef6ab8e0a35c4633f6d8f7ed73998b0a8a5
26,027
py
Python
rgb.py
AlexandrShcherbakov/python_2019
a3766e13c6d549e39f80bfbcd4e12727a2dd6b64
[ "MIT" ]
2
2019-04-01T19:46:15.000Z
2019-04-07T20:56:05.000Z
rgb.py
AlexandrShcherbakov/python_2019
a3766e13c6d549e39f80bfbcd4e12727a2dd6b64
[ "MIT" ]
28
2019-03-27T20:13:31.000Z
2019-06-04T19:28:20.000Z
rgb.py
AlexandrShcherbakov/python_2019
a3766e13c6d549e39f80bfbcd4e12727a2dd6b64
[ "MIT" ]
34
2019-03-23T08:59:28.000Z
2019-05-22T22:36:59.000Z
Colors = {'snow': ('255', '250', '250'), 'ghostwhite': ('248', '248', '255'), 'GhostWhite': ('248', '248', '255'), 'whitesmoke': ('245', '245', '245'), 'WhiteSmoke': ('245', '245', '245'), 'gainsboro': ('220', '220', '220'), 'floralwhite': ('255', '250', '240'), 'FloralWhite': ('255', '250', '240'), 'oldlace': ('253', ...
34.564409
46
0.479771
3,009
26,027
4.149884
0.295447
0.004004
0.004325
0.003043
0.051894
0.031152
0.024345
0
0
0
0
0.291089
0.115649
26,027
752
47
34.610372
0.251423
0
0
0
0
0
0.47954
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
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
2
6cd411ec8931b9713bce92bc3d0590f80fed5896
377
py
Python
multienv/web_servers/web_server_definitions.py
sfelix-martins/laradock-up-env
7e7e3e513083afedf724a9b4e2dd8c6ff0b9eb71
[ "MIT" ]
2
2020-10-06T15:40:43.000Z
2020-11-27T12:13:10.000Z
multienv/web_servers/web_server_definitions.py
sfelix-martins/laradock-up-env
7e7e3e513083afedf724a9b4e2dd8c6ff0b9eb71
[ "MIT" ]
5
2019-11-10T12:08:35.000Z
2019-11-10T13:34:54.000Z
multienv/web_servers/web_server_definitions.py
sfelix-martins/laradock-multiple-env
7e7e3e513083afedf724a9b4e2dd8c6ff0b9eb71
[ "MIT" ]
1
2020-11-27T12:13:13.000Z
2020-11-27T12:13:13.000Z
class WebServerDefinitions: name = None root = None template = None https = False default_template = 'laravel' def __init__(self, name, root, template=None, https=False): self.name = name self.root = root self.https = https if not template: template ...
23.5625
63
0.61008
41
377
5.463415
0.365854
0.107143
0.151786
0.196429
0
0
0
0
0
0
0
0
0.31565
377
15
64
25.133333
0.868217
0
0
0
0
0
0.018568
0
0
0
0
0
0
1
0.076923
false
0
0
0
0.538462
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
1
0
0
2
6ce289b6bb006540a0adb38bb0ac2b080a9955c9
446
py
Python
molsysmt/element/molecule/get_molecule_index_from_atom.py
uibcdf/MolModMTs
4f6b6f671a9fa3e73008d1e9c48686d5f20a6573
[ "MIT" ]
null
null
null
molsysmt/element/molecule/get_molecule_index_from_atom.py
uibcdf/MolModMTs
4f6b6f671a9fa3e73008d1e9c48686d5f20a6573
[ "MIT" ]
null
null
null
molsysmt/element/molecule/get_molecule_index_from_atom.py
uibcdf/MolModMTs
4f6b6f671a9fa3e73008d1e9c48686d5f20a6573
[ "MIT" ]
null
null
null
from molsysmt._private.exceptions import * from molsysmt._private.digestion import * import numpy as np def get_molecule_index_from_atom(molecular_system, indices='all', check=True): if check: digest_single_molecular_system(molecular_system) indices = digest_indices(indices) from molsysmt.ba...
24.777778
89
0.762332
56
446
5.821429
0.5
0.184049
0.116564
0
0
0
0
0
0
0
0
0
0.163677
446
17
90
26.235294
0.873995
0
0
0
0
0
0.01573
0
0
0
0
0
0
1
0.1
false
0
0.4
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
1
0
1
0
0
2
6cf51e9b0a34045bfecf3d6872f23b3d7785ef73
1,662
py
Python
archive/archive/circular_buffer.py
walchko/the-collector
2c213556d8a3c3008d3d5e4785c3cf001ca191d7
[ "MIT" ]
null
null
null
archive/archive/circular_buffer.py
walchko/the-collector
2c213556d8a3c3008d3d5e4785c3cf001ca191d7
[ "MIT" ]
null
null
null
archive/archive/circular_buffer.py
walchko/the-collector
2c213556d8a3c3008d3d5e4785c3cf001ca191d7
[ "MIT" ]
null
null
null
############################################## # The MIT License (MIT) # Copyright (c) 2017 Kevin Walchko # see LICENSE for full details ############################################## # # class CircularBuffer(object): # def __init__(self, size, mmax=100.0, mmin=0.0): # """initialization""" # self....
30.218182
79
0.493381
196
1,662
4.02551
0.311224
0.121673
0.076046
0.086185
0.114068
0.068441
0
0
0
0
0
0.023438
0.306859
1,662
54
80
30.777778
0.661458
0.877858
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
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
1
0
0
0
0
0
0
2
9f0ddfcd8b50c46841a88a1ba3b33fc8370ee424
1,788
py
Python
tecladu.py
wellingtonfs/fsek-pessoal
c4e63eb36050614cab18f2ccc6eb5c62cd8b867d
[ "MIT" ]
null
null
null
tecladu.py
wellingtonfs/fsek-pessoal
c4e63eb36050614cab18f2ccc6eb5c62cd8b867d
[ "MIT" ]
null
null
null
tecladu.py
wellingtonfs/fsek-pessoal
c4e63eb36050614cab18f2ccc6eb5c62cd8b867d
[ "MIT" ]
4
2019-08-20T15:07:01.000Z
2020-03-10T13:53:18.000Z
#!/usr/bin/env python3 # so that script can be run from Brickman import termios, tty, sys from ev3dev.ev3 import * # attach large motors to ports B and C, medium motor to port A motor_left = LargeMotor('outC') motor_right = LargeMotor('outD') motor_a = MediumMotor('outA') motor_b = MediumMotor('outB') def getch(): ...
22.632911
62
0.554251
240
1,788
3.904167
0.3125
0.170758
0.256137
0.290288
0.488794
0.487727
0.375667
0.375667
0.375667
0.375667
0
0.030619
0.196309
1,788
79
63
22.632911
0.621434
0.196868
0
0.145455
0
0
0.016795
0
0
0
0
0
0
1
0.145455
false
0
0.036364
0
0.2
0.018182
0
0
0
null
0
1
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
2
9f113b9b97847aa757e212d347557e140fd79597
1,841
py
Python
tests/Internship_app/test_urls_ads/urls_ad.py
StefanDimitrovDimitrov/Internship
978b6015ef943ba8b5abd25e12b8271d6da471f1
[ "MIT" ]
1
2021-08-09T17:09:06.000Z
2021-08-09T17:09:06.000Z
tests/Internship_app/test_urls_ads/urls_ad.py
StefanDimitrovDimitrov/Internship
978b6015ef943ba8b5abd25e12b8271d6da471f1
[ "MIT" ]
null
null
null
tests/Internship_app/test_urls_ads/urls_ad.py
StefanDimitrovDimitrov/Internship
978b6015ef943ba8b5abd25e12b8271d6da471f1
[ "MIT" ]
null
null
null
from django.urls import reverse,resolve from django.test import SimpleTestCase from Internship.internship_app.views import Home, about, CatalogCompanies, catalog_ad, create_ad, details_ad, edit_ad, \ delete_ad, deactivate_ad, activate_ad, apply class TestUrls(SimpleTestCase): def test_home_url_resolves(self...
35.403846
120
0.698533
242
1,841
5.07438
0.14876
0.062704
0.134365
0.161238
0.562704
0.448697
0.242671
0.150651
0
0
0
0.004011
0.187398
1,841
52
121
35.403846
0.816845
0
0
0
0
0
0.054832
0
0
0
0
0
0.289474
1
0.289474
false
0
0.078947
0
0.394737
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
1
0
0
0
0
0
0
0
2
9f34df515ffe7cf07c3f814506fb45a4f58c2280
9,912
py
Python
rafi/rv.py
fjt7tdmi/rafi-emu-python
b2db55097cd20077afc5572d803f2bddab0ea80d
[ "Apache-2.0" ]
1
2020-09-22T04:30:23.000Z
2020-09-22T04:30:23.000Z
rafi/rv.py
fjt7tdmi/rafi-emu-python
b2db55097cd20077afc5572d803f2bddab0ea80d
[ "Apache-2.0" ]
null
null
null
rafi/rv.py
fjt7tdmi/rafi-emu-python
b2db55097cd20077afc5572d803f2bddab0ea80d
[ "Apache-2.0" ]
null
null
null
# Copyright 2018 Akifumi Fujita # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
24.116788
79
0.569713
900
9,912
6.248889
0.505556
0.010669
0.012447
0.015114
0.041252
0.022404
0
0
0
0
0
0.204413
0.309524
9,912
410
80
24.17561
0.617329
0.075868
0
0
0
0
0.17035
0
0
0
0.176696
0
0
1
0.028011
false
0
0.008403
0.014006
0.509804
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
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
2
9f4ec82a2b42cb2eb27162b97846999daee2e7a0
1,428
py
Python
gql/schema.py
canburaks/djr
dccf1f0963a611233bc4b6148db3f1cb5ca2897a
[ "MIT" ]
3
2020-02-29T18:15:31.000Z
2021-12-06T10:49:36.000Z
gql/schema.py
canburaks/djr
dccf1f0963a611233bc4b6148db3f1cb5ca2897a
[ "MIT" ]
8
2020-10-17T19:48:56.000Z
2022-02-26T20:26:03.000Z
gql/schema.py
canburaks/djr
dccf1f0963a611233bc4b6148db3f1cb5ca2897a
[ "MIT" ]
3
2020-01-09T09:25:37.000Z
2021-12-06T10:49:44.000Z
# ~/Blog/djr/gql/schema.py import graphene from items.models import Movie from graphene_django.types import DjangoObjectType # api-movie-model class MovieType(DjangoObjectType): id = graphene.Int() name = graphene.String() year = graphene.Int() summary = graphene.String() poster_url = graphene.Stri...
26.943396
69
0.663165
179
1,428
5.173184
0.368715
0.086393
0.075594
0.097192
0
0
0
0
0
0
0
0
0.238095
1,428
53
70
26.943396
0.851103
0.128151
0
0
0
0
0.014528
0
0
0
0
0
0
1
0.235294
false
0
0.088235
0.205882
0.882353
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
1
0
0
0
2
9f58a46d1195cdcb19a550f61eecb580749a0de1
3,256
py
Python
clif/testing/python/return_value_policy_test.py
rwgk/clif
8f4d2a4e122e5fbd7b66beca88b1f849b07b57a6
[ "Apache-2.0" ]
null
null
null
clif/testing/python/return_value_policy_test.py
rwgk/clif
8f4d2a4e122e5fbd7b66beca88b1f849b07b57a6
[ "Apache-2.0" ]
null
null
null
clif/testing/python/return_value_policy_test.py
rwgk/clif
8f4d2a4e122e5fbd7b66beca88b1f849b07b57a6
[ "Apache-2.0" ]
null
null
null
# Copyright 2021 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
41.21519
78
0.742015
392
3,256
5.752551
0.331633
0.079823
0.067406
0.055432
0.297561
0.196896
0.185809
0.102439
0.038581
0
0
0.006431
0.140356
3,256
78
79
41.74359
0.799214
0.209459
0
0
0
0
0.486899
0.432929
0
0
0
0.012821
0.019608
1
0.039216
false
0
0.098039
0
0.176471
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
1
null
0
0
1
0
0
0
0
0
0
0
0
0
0
2
9f5af94bf9e738aeda081c502c7afa82b22b69fe
2,229
py
Python
sources/experiments/data_generation/results_data.py
JohannOberleitner/pdesolver
f01f83bde44e9f5aae424a4daa13219f986c5884
[ "Apache-2.0" ]
null
null
null
sources/experiments/data_generation/results_data.py
JohannOberleitner/pdesolver
f01f83bde44e9f5aae424a4daa13219f986c5884
[ "Apache-2.0" ]
null
null
null
sources/experiments/data_generation/results_data.py
JohannOberleitner/pdesolver
f01f83bde44e9f5aae424a4daa13219f986c5884
[ "Apache-2.0" ]
null
null
null
import numpy as np import datetime import json def encode_ndarray(array): return array.tolist() def as_ndarray(array): return np.asarray(array, dtype=float) def as_ResultsSet(json_data): if '__ResultsSet__' in json_data: return ResultsSetDecoder().decode(json_data) return json_data class Re...
27.182927
131
0.620906
244
2,229
5.508197
0.245902
0.053571
0.026786
0.044643
0.052083
0
0
0
0
0
0
0.001854
0.274114
2,229
82
132
27.182927
0.828801
0
0
0.031746
0
0
0.041723
0
0
0
0
0
0
1
0.238095
false
0
0.047619
0.063492
0.52381
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
1
0
0
2
9f69e340408c24689a9e3f5f91edf939d0696ad8
1,352
py
Python
protocols/abstract.py
lvh/async-pep
8771bc699ada069640bf93da513f4162a8b62fd7
[ "0BSD" ]
2
2015-11-04T10:31:22.000Z
2016-03-01T22:14:46.000Z
protocols/abstract.py
lvh/async-pep
8771bc699ada069640bf93da513f4162a8b62fd7
[ "0BSD" ]
null
null
null
protocols/abstract.py
lvh/async-pep
8771bc699ada069640bf93da513f4162a8b62fd7
[ "0BSD" ]
null
null
null
""" The interfaces for implementing asynchronous IO. """ import abc class Protocol(metaclass=abc.ABCMeta): def connected(self, transport): """ Called when the connection is established. """ self.transport = transport @abc.abstractmethod def data_received(self, data): ...
22.163934
69
0.586538
142
1,352
5.56338
0.359155
0.129114
0.151899
0.058228
0.327848
0.196203
0.124051
0.124051
0.124051
0
0
0
0.323965
1,352
60
70
22.533333
0.864333
0.379438
0
0.315789
0
0
0
0
0
0
0
0
0
1
0.421053
false
0
0.052632
0
0.578947
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
1
0
0
2
9f87f7b9827f31faff5e744193c8fcbbc24ba826
305
py
Python
input.py
albertliangcode/DiceRoll
c70be41b26e71863eeb9d2d540abcf0f37091fcf
[ "MIT" ]
null
null
null
input.py
albertliangcode/DiceRoll
c70be41b26e71863eeb9d2d540abcf0f37091fcf
[ "MIT" ]
1
2015-03-27T04:53:14.000Z
2015-03-27T15:58:56.000Z
input.py
albertliangcode/DiceRoll
c70be41b26e71863eeb9d2d540abcf0f37091fcf
[ "MIT" ]
null
null
null
""" Input 3/26/15 Albert Liang Just a quick check to make sure input can be taken in from the user through the console. On the side, it also tests conditionals. """ while(True): s = raw_input("Enter string to print: ") print s,"\n" if(s.lower() == "exit"): break print "Exiting..."
17.941176
88
0.642623
50
305
3.9
0.82
0
0
0
0
0
0
0
0
0
0
0.021277
0.229508
305
16
89
19.0625
0.808511
0
0
0
0
0
0.282609
0
0
0
0
0
0
0
null
null
0
0
null
null
0.5
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
1
0
2
9fa5b6502c9ca5c610455b06905ed2a697ebd237
1,832
py
Python
Tests/EndToEndTests/CNTKv2Python/Examples/ConvNet_CIFAR10_DataAug_test.py
shyamalschandra/CNTK
0e7a6cd4cc174eab28eaf2ffc660c6380b9e4e2d
[ "MIT" ]
17,702
2016-01-25T14:03:01.000Z
2019-05-06T09:23:41.000Z
Tests/EndToEndTests/CNTKv2Python/Examples/ConvNet_CIFAR10_DataAug_test.py
shyamalschandra/CNTK
0e7a6cd4cc174eab28eaf2ffc660c6380b9e4e2d
[ "MIT" ]
3,489
2016-01-25T13:32:09.000Z
2019-05-03T11:29:15.000Z
Tests/EndToEndTests/CNTKv2Python/Examples/ConvNet_CIFAR10_DataAug_test.py
shyamalschandra/CNTK
0e7a6cd4cc174eab28eaf2ffc660c6380b9e4e2d
[ "MIT" ]
5,180
2016-01-25T14:02:12.000Z
2019-05-06T04:24:28.000Z
# Copyright (c) Microsoft. All rights reserved. # Licensed under the MIT license. See LICENSE.md file in the project root # for full license information. # ============================================================================== import numpy as np import os import sys from cntk.ops.tests.ops_test_utils import ...
38.978723
127
0.734716
259
1,832
4.861004
0.482625
0.023828
0.023828
0.030183
0.028594
0
0
0
0
0
0
0.020561
0.123908
1,832
46
128
39.826087
0.76324
0.145197
0
0
0
0
0.068634
0
0
0
0
0
0.032258
0
null
null
0
0.322581
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
1
0
0
0
0
2
9fb09e496ca2646c4a3b56948bc823c000921e57
980
py
Python
src/test/test_urilib2.py
supheart/python-spider
97b259c1de5b9409d4f9cec8a224bd1f5f4b7dd2
[ "MIT" ]
null
null
null
src/test/test_urilib2.py
supheart/python-spider
97b259c1de5b9409d4f9cec8a224bd1f5f4b7dd2
[ "MIT" ]
null
null
null
src/test/test_urilib2.py
supheart/python-spider
97b259c1de5b9409d4f9cec8a224bd1f5f4b7dd2
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -* import urllib2 import urllib import cookielib import json url = "http://www.baidu.com" url_json = "http://zhiboba.3b2o.com/article/showListJson/EKo5qjn6Mq4" # print urllib2.urlopen("http://baike.baidu.com/view/20965.htm").read() readText = urllib2.urlopen(url_json).read() content = json.loads(...
24.5
104
0.757143
137
980
5.372263
0.474453
0.095109
0.069293
0.059783
0
0
0
0
0
0
0
0.047938
0.084694
980
39
105
25.128205
0.772575
0.091837
0
0
0
0.034483
0.217587
0
0
0
0
0
0
0
null
null
0
0.137931
null
null
0.413793
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
1
0
2
9fb9a93bccd369970a74c6e03f9cc2b3c513bc80
2,434
py
Python
spar_python/query_generation/query_bounds.py
nathanawmk/SPARTA
6eeb28b2dd147088b6e851876b36eeba3e700f16
[ "BSD-2-Clause" ]
37
2017-06-09T13:55:23.000Z
2022-01-28T12:51:17.000Z
spar_python/query_generation/query_bounds.py
nathanawmk/SPARTA
6eeb28b2dd147088b6e851876b36eeba3e700f16
[ "BSD-2-Clause" ]
null
null
null
spar_python/query_generation/query_bounds.py
nathanawmk/SPARTA
6eeb28b2dd147088b6e851876b36eeba3e700f16
[ "BSD-2-Clause" ]
5
2017-06-09T13:55:26.000Z
2021-11-11T03:51:56.000Z
# ***************************************************************** # Copyright 2013 MIT Lincoln Laboratory # Project: SPAR # Authors: ATLH # Description: Functions to delinate the bounds for different # query types # # Modifications: # Date Name ...
34.771429
69
0.669269
322
2,434
4.515528
0.217391
0.154746
0.21458
0.297111
0.723521
0.673315
0.631362
0.550894
0.458735
0.387895
0
0.005192
0.20871
2,434
69
70
35.275362
0.74974
0.195152
0
0.390244
0
0
0.002237
0
0
0
0
0
0
1
0.195122
false
0
0.04878
0.097561
0.341463
0
0
0
0
null
0
1
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
2
9fbe55a538a77d7ed31b4903a00811cdec2d0c9f
76
py
Python
RRT/old versions/29_june_2016_single_RRT/parameters.py
hasauino/Python
c94ea3a15f8310c95b7aaabaaa82f59dbf748a85
[ "MIT" ]
null
null
null
RRT/old versions/29_june_2016_single_RRT/parameters.py
hasauino/Python
c94ea3a15f8310c95b7aaabaaa82f59dbf748a85
[ "MIT" ]
null
null
null
RRT/old versions/29_june_2016_single_RRT/parameters.py
hasauino/Python
c94ea3a15f8310c95b7aaabaaa82f59dbf748a85
[ "MIT" ]
null
null
null
dim=10.0 eta=0.5 steps=100 #must be integer (no decimal point) rneighb=eta
15.2
46
0.736842
16
76
3.5
0.875
0
0
0
0
0
0
0
0
0
0
0.123077
0.144737
76
4
47
19
0.738462
0.447368
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
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
2
9fcc2995ad253583ac26606609e411c5ea9ce29d
279
py
Python
caldera/app/commands/command.py
m4l1c3/caldera
beb83e61700bf5a19baac8222edc9f89ddcf2b52
[ "Apache-2.0", "CC0-1.0" ]
3
2019-08-01T14:58:33.000Z
2021-01-11T09:27:23.000Z
caldera/app/commands/command.py
m4l1c3/caldera
beb83e61700bf5a19baac8222edc9f89ddcf2b52
[ "Apache-2.0", "CC0-1.0" ]
null
null
null
caldera/app/commands/command.py
m4l1c3/caldera
beb83e61700bf5a19baac8222edc9f89ddcf2b52
[ "Apache-2.0", "CC0-1.0" ]
1
2019-02-25T18:21:34.000Z
2019-02-25T18:21:34.000Z
from typing import Union, List class CommandLine(object): def __init__(self, command_line: Union[str, List[str]] = None): if command_line and isinstance(command_line, list): command_line = ' '.join(command_line) self.command_line = command_line
31
67
0.688172
36
279
5.027778
0.527778
0.425414
0.165746
0
0
0
0
0
0
0
0
0
0.215054
279
8
68
34.875
0.826484
0
0
0
0
0
0.003584
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.5
0
0
0
0
null
1
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
2
9fccc94130f4240ed61a64bfbeb52776e6842a49
404
py
Python
FbxPipeline/generated/apemodefb/EAnimCurvePropertyFb.py
johnfredcee/FbxPipeline
d06213d21b3b251233154b1a5f5fb6122f712942
[ "Apache-2.0" ]
72
2017-03-13T04:20:52.000Z
2022-01-07T10:58:11.000Z
FbxPipeline/generated/apemodefb/EAnimCurvePropertyFb.py
johnfredcee/FbxPipeline
d06213d21b3b251233154b1a5f5fb6122f712942
[ "Apache-2.0" ]
1
2017-02-21T12:26:45.000Z
2017-02-22T17:30:44.000Z
FbxPipeline/generated/apemodefb/EAnimCurvePropertyFb.py
johnfredcee/FbxPipeline
d06213d21b3b251233154b1a5f5fb6122f712942
[ "Apache-2.0" ]
10
2017-02-04T23:57:24.000Z
2021-08-08T01:59:24.000Z
# automatically generated by the FlatBuffers compiler, do not modify # namespace: apemodefb class EAnimCurvePropertyFb(object): LclTranslation = 0 RotationOffset = 1 RotationPivot = 2 PreRotation = 3 PostRotation = 4 LclRotation = 5 ScalingOffset = 6 ScalingPivot = 7 LclScaling = 8...
21.263158
68
0.700495
38
404
7.447368
1
0
0
0
0
0
0
0
0
0
0
0.046358
0.252475
404
18
69
22.444444
0.890728
0.215347
0
0
1
0
0
0
0
0
0
0
0
1
0
false
0
0
0
1
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
1
0
0
2
4c82a7bba988c3bfe5fd783bc4e03c66d3fe7b10
137
py
Python
src/t/__init__.py
danpalmer/t
0f8f9eb90c754d477a19200b31c3b3c7cc142d8d
[ "MIT" ]
1
2022-01-11T11:17:14.000Z
2022-01-11T11:17:14.000Z
src/t/__init__.py
danpalmer/t
0f8f9eb90c754d477a19200b31c3b3c7cc142d8d
[ "MIT" ]
null
null
null
src/t/__init__.py
danpalmer/t
0f8f9eb90c754d477a19200b31c3b3c7cc142d8d
[ "MIT" ]
null
null
null
from .cli import autodiscover, cli def main(): autodiscover() cli() __all__ = ( "autodiscover", "cli", "main", )
9.785714
34
0.554745
13
137
5.538462
0.538462
0.625
0
0
0
0
0
0
0
0
0
0
0.291971
137
13
35
10.538462
0.742268
0
0
0
0
0
0.138686
0
0
0
0
0
0
1
0.111111
false
0
0.111111
0
0.222222
0
1
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
2