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
fd83b82d389bf45c0a72bd217718b5693f72a53d
5,360
py
Python
tests/test_dev_mode.py
adrienbrunet/mixt
d725ec752ce430d135e993bc988bfdf2b8457c4b
[ "MIT" ]
27
2018-06-04T19:11:42.000Z
2022-02-23T22:46:39.000Z
tests/test_dev_mode.py
adrienbrunet/mixt
d725ec752ce430d135e993bc988bfdf2b8457c4b
[ "MIT" ]
7
2018-06-09T15:27:51.000Z
2021-03-11T20:00:35.000Z
tests/test_dev_mode.py
adrienbrunet/mixt
d725ec752ce430d135e993bc988bfdf2b8457c4b
[ "MIT" ]
3
2018-07-29T10:20:02.000Z
2021-11-18T19:55:07.000Z
# coding: mixt """Ensure that dev-mode can be toggled and does not validate data if off.""" from typing import Union import pytest from mixt.internal.base import Base from mixt.exceptions import InvalidPropChoiceError, InvalidPropBoolError, InvalidPropValueError from mixt.internal.proptypes import BasePropTypes as Pr...
27.346939
95
0.663806
680
5,360
4.689706
0.126471
0.210724
0.121355
0.107244
0.754468
0.694889
0.617121
0.587959
0.576983
0.570085
0
0.0005
0.253918
5,360
195
96
27.487179
0.796949
0.039925
0
0.723881
0
0
0.008101
0
0
0
0
0
0.373134
0
null
null
0.007463
0.052239
null
null
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
fdf48c1e0247a5f96981a58c6acc9282b4b31a7e
178
py
Python
IntroProblems/Permutations/source.py
0x5eba/CSES-solutions
c18b66262f5dbef44b58d793f5185c3d0cf3a77c
[ "MIT" ]
27
2019-12-23T21:20:00.000Z
2022-02-06T04:28:27.000Z
IntroProblems/Permutations/source.py
0x5eba/CSES-solutions
c18b66262f5dbef44b58d793f5185c3d0cf3a77c
[ "MIT" ]
2
2020-04-14T21:40:43.000Z
2020-09-06T11:15:42.000Z
IntroProblems/Permutations/source.py
0x5eba/CSES-solutions
c18b66262f5dbef44b58d793f5185c3d0cf3a77c
[ "MIT" ]
9
2020-05-22T08:00:29.000Z
2021-09-14T09:01:58.000Z
N=int(input()) if N==4:print("2 4 1 3");exit() if N==1:print("1");exit() if N<4:print("NO SOLUTION");exit() [print(i) for i in range(1,N+1,2)] [print(i) for i in range(2,N+1,2)]
25.428571
34
0.589888
45
178
2.333333
0.355556
0.085714
0.07619
0.171429
0.32381
0.32381
0
0
0
0
0
0.089172
0.117978
178
6
35
29.666667
0.579618
0
0
0
0
0
0.106742
0
0
0
0
0
0
1
0
false
0
0
0
0
0.833333
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
1
0
3
fdf797f274389ea7d728775d92e5c9a5331ba47f
54
py
Python
8 kyu/Remove First and Last Character.py
mwk0408/codewars_solutions
9b4f502b5f159e68024d494e19a96a226acad5e5
[ "MIT" ]
6
2020-09-03T09:32:25.000Z
2020-12-07T04:10:01.000Z
8 kyu/Remove First and Last Character.py
mwk0408/codewars_solutions
9b4f502b5f159e68024d494e19a96a226acad5e5
[ "MIT" ]
1
2021-12-13T15:30:21.000Z
2021-12-13T15:30:21.000Z
8 kyu/Remove First and Last Character.py
mwk0408/codewars_solutions
9b4f502b5f159e68024d494e19a96a226acad5e5
[ "MIT" ]
null
null
null
def remove_char(s): s2=s[1:len(s)-1] return s2
18
20
0.592593
12
54
2.583333
0.666667
0.129032
0
0
0
0
0
0
0
0
0
0.095238
0.222222
54
3
21
18
0.642857
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.666667
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
1
0
0
0
0
0
0
0
3
e30d42a8e2dabce30dfe4181c725f34484304850
1,484
py
Python
gooey/python_bindings/coms.py
geosaleh/Gooey
c2aa8afc269271d55f011c6bc89828992a30b3f0
[ "MIT" ]
1
2022-02-21T05:51:21.000Z
2022-02-21T05:51:21.000Z
gooey/python_bindings/coms.py
geosaleh/Gooey
c2aa8afc269271d55f011c6bc89828992a30b3f0
[ "MIT" ]
1
2021-12-02T07:42:03.000Z
2021-12-02T07:42:03.000Z
gooey/python_bindings/coms.py
geosaleh/Gooey
c2aa8afc269271d55f011c6bc89828992a30b3f0
[ "MIT" ]
null
null
null
""" Because Gooey communicates with the host program over stdin/out, we have to be able to differentiate what's coming from gooey and structured, versus what is arbitrary junk coming from the host's own logging. To do this, we just prefix all written by gooey with the literal string 'gooey::'. This lets us dig through...
29.098039
64
0.731132
217
1,484
4.949309
0.571429
0.03352
0.027933
0.042831
0
0
0
0
0
0
0
0.007494
0.190701
1,484
50
65
29.68
0.886761
0.59973
0
0
0
0
0.013208
0
0
0
0
0
0
1
0.230769
false
0
0.384615
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
1
0
0
1
0
1
0
0
3
e310e449c89e56a7e50cad6b71f9b1308e1586e7
748
gyp
Python
binding.gyp
MakiPool/hasher-mtp
8912805f5769fac7616f8518c9192614c494e208
[ "MIT" ]
5
2018-12-29T07:18:00.000Z
2020-02-26T22:09:14.000Z
binding.gyp
MakiPool/hasher-mtp
8912805f5769fac7616f8518c9192614c494e208
[ "MIT" ]
3
2018-12-27T14:40:13.000Z
2020-03-07T20:05:29.000Z
binding.gyp
MakiPool/hasher-mtp
8912805f5769fac7616f8518c9192614c494e208
[ "MIT" ]
10
2018-12-01T13:38:49.000Z
2020-03-09T05:37:48.000Z
{ "targets": [ { "target_name": "hashermtp", "sources": [ "src/argon2ref/argon2.c", "src/argon2ref/blake2ba.c", "src/argon2ref/core.c", "src/argon2ref/encoding.c", "src/argon2ref/ref.c", "...
27.703704
49
0.354278
57
748
4.578947
0.561404
0.275862
0.249042
0
0
0
0
0
0
0
0
0.02611
0.487968
748
27
50
27.703704
0.655352
0
0
0.074074
0
0
0.400534
0.192256
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
1
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
1
0
0
0
0
0
0
3
e32a96ee8ac84ddcc9a551b2e77c599a00702ead
183
py
Python
python-core/src/Dates.py
NSnietol/python-core-and-advanced
85d03894d5430bcdd62b0ae35371356f26d9374a
[ "MIT" ]
2
2019-04-13T14:10:38.000Z
2021-01-17T00:57:51.000Z
python-core/src/Dates.py
NSnietol/python-core-and-advanced
85d03894d5430bcdd62b0ae35371356f26d9374a
[ "MIT" ]
null
null
null
python-core/src/Dates.py
NSnietol/python-core-and-advanced
85d03894d5430bcdd62b0ae35371356f26d9374a
[ "MIT" ]
1
2020-02-20T15:44:36.000Z
2020-02-20T15:44:36.000Z
''' Created on Nov 14, 2018 @author: nilson.nieto ''' import time, datetime # Using Epoch print(time.ctime(time.time())) print('Current day') print(datetime.datetime.today())
10.166667
32
0.688525
25
183
5.04
0.72
0
0
0
0
0
0
0
0
0
0
0.038462
0.147541
183
17
33
10.764706
0.769231
0.322404
0
0
0
0
0.095652
0
0
0
0
0
0
1
0
true
0
0.25
0
0.25
0.75
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
1
0
0
0
0
1
0
3
e37ababb2a4863ee4cbb00a4aff96337aa242e45
542
py
Python
scripts/model_selection/cross_validate_utils.py
riccardopoiani/recsys_2019
47a44d2f7d85e76e31dacf4ba2e69721d010b6b8
[ "MIT" ]
2
2020-10-01T11:08:32.000Z
2020-11-25T11:05:37.000Z
scripts/model_selection/cross_validate_utils.py
riccardopoiani/recsys_2019
47a44d2f7d85e76e31dacf4ba2e69721d010b6b8
[ "MIT" ]
null
null
null
scripts/model_selection/cross_validate_utils.py
riccardopoiani/recsys_2019
47a44d2f7d85e76e31dacf4ba2e69721d010b6b8
[ "MIT" ]
1
2020-10-01T11:08:33.000Z
2020-10-01T11:08:33.000Z
def get_seed_list(): return [6910, 1996, 2019, 153, 12, 5, 1010, 9999, 666, 467] def write_results_on_file(file_path, recommender_name, recommender_fit_parameters, num_folds, seed_list, results): with open(file_path, "w") as f: f.write("Recommender class: {}\n".format(recommender_name)) f.writ...
45.166667
114
0.678967
80
542
4.3875
0.4625
0.08547
0.205128
0
0
0
0
0
0
0
0
0.070796
0.166052
542
11
115
49.272727
0.705752
0
0
0
0
0
0.173432
0
0
0
0
0
0
1
0.222222
false
0
0
0.111111
0.333333
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
0
0
1
0
0
0
1
0
0
0
3
e37df2ecc24c1e66b2d0526044ba943ce45bff5c
1,340
py
Python
tw_serverinfo/models/__init__.py
DaRealFreak/Teeworlds-ServerInfo
ed3f281d91ecc7bd4f2e1fff27e86effaed68b02
[ "MIT" ]
6
2018-10-14T10:12:23.000Z
2019-08-12T23:27:32.000Z
tw_serverinfo/models/__init__.py
DaRealFreak/Teeworlds-ServerInfo
ed3f281d91ecc7bd4f2e1fff27e86effaed68b02
[ "MIT" ]
4
2018-10-14T14:59:47.000Z
2020-09-25T09:50:18.000Z
tw_serverinfo/models/__init__.py
DaRealFreak/Teeworlds-ServerInfo
ed3f281d91ecc7bd4f2e1fff27e86effaed68b02
[ "MIT" ]
null
null
null
#!/usr/local/bin/python # coding: utf-8 import abc class Server(abc.ABC): """Server Model Template, containing properties for same attributes of MasterServer and GameServer objects""" _ip: str = '' _port: int = 8300 _response: bool = False _token = b'' _request_token: bytes = b'' def __eq...
21.967213
113
0.597761
164
1,340
4.731707
0.280488
0.092784
0.030928
0.051546
0.131443
0.069588
0
0
0
0
0
0.005263
0.291045
1,340
60
114
22.333333
0.811579
0.149254
0
0.128205
0
0
0
0
0
0
0
0
0
1
0.282051
false
0
0.025641
0.128205
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
1
1
0
0
3
8b8c03153a99214a3157263288e067a79006459c
1,094
py
Python
ws/handler/event/enum/holiday/christmas.py
fabaff/automate-ws
a9442f287692787e3f253e1ff23758bec8f3902e
[ "MIT" ]
null
null
null
ws/handler/event/enum/holiday/christmas.py
fabaff/automate-ws
a9442f287692787e3f253e1ff23758bec8f3902e
[ "MIT" ]
1
2021-12-21T11:34:47.000Z
2021-12-21T11:34:47.000Z
ws/handler/event/enum/holiday/christmas.py
fabaff/automate-ws
a9442f287692787e3f253e1ff23758bec8f3902e
[ "MIT" ]
1
2021-12-21T10:10:13.000Z
2021-12-21T10:10:13.000Z
import home from ws.handler.event.enum import Handler as Parent class Handler(Parent): KLASS = home.event.holiday.christmas.Event TEMPLATE = "event/enum.html" LABEL = "Christmas" DAY = "day" EVE = "eve" TIME = "time" OVER = "is over" def _get_str(self, e): if e == home.event...
29.567568
58
0.603291
144
1,094
4.5625
0.270833
0.123288
0.219178
0.342466
0.596651
0.550989
0.550989
0.550989
0.550989
0.143075
0
0
0.285192
1,094
36
59
30.388889
0.840153
0
0
0.333333
0
0
0.103291
0
0
0
0
0
0
1
0.066667
false
0
0.066667
0
0.733333
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
1
0
0
3
8b9b835a5b6e204d799a71659938b8b97db8597e
1,275
py
Python
Day41-55/code/oa/hrs/migrations/0002_auto_20180523_0923.py
xie186/Python-100-Days-EN
c1e3f78572754c0021fd9ec850c2875ad00d14a1
[ "Unlicense" ]
6
2020-04-22T14:07:51.000Z
2021-09-07T12:55:23.000Z
Day41-55/code/oa/hrs/migrations/0002_auto_20180523_0923.py
xie186/Python-100-Days-EN
c1e3f78572754c0021fd9ec850c2875ad00d14a1
[ "Unlicense" ]
null
null
null
Day41-55/code/oa/hrs/migrations/0002_auto_20180523_0923.py
xie186/Python-100-Days-EN
c1e3f78572754c0021fd9ec850c2875ad00d14a1
[ "Unlicense" ]
4
2019-08-25T05:51:00.000Z
2021-04-16T08:14:16.000Z
# Generated by Django 2.0.5 on 2018-05-23 01:23 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('hrs', '0001_initial'), ] operations = [ migrations.AddField( model_name='dept', name='excellent', field=...
28.977273
94
0.556863
126
1,275
5.507937
0.47619
0.07781
0.180115
0.208934
0.347262
0.263689
0
0
0
0
0
0.029885
0.317647
1,275
43
95
29.651163
0.767816
0.035294
0
0.459459
1
0
0.068404
0
0
0
0
0
0
1
0
false
0
0.027027
0
0.108108
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
8ba12a628e5f0b5568b0be29513e70a4e1b6eb30
1,296
py
Python
soc-wk1-cert-Diana-Ilinca.py
dianaproca/toolkitten
5a02ad889f1896e6020d3cec04c8ae05d03d6a03
[ "MIT" ]
null
null
null
soc-wk1-cert-Diana-Ilinca.py
dianaproca/toolkitten
5a02ad889f1896e6020d3cec04c8ae05d03d6a03
[ "MIT" ]
null
null
null
soc-wk1-cert-Diana-Ilinca.py
dianaproca/toolkitten
5a02ad889f1896e6020d3cec04c8ae05d03d6a03
[ "MIT" ]
null
null
null
# # soc-wk1-cert-Diana-Ilinca.py # # Day1 homework # #hours in a year:8760 # print(365*24) # #minutes in a decade: 5256000 # print(60*24*365*10) # #age in seconds:1135296000 # print(60*60*24*365*36) # #days 32-bit system to timeout:497 # print((2**32-1)/100/60/60/24) # #days 64-bit system to timeout:1067519911673 # pr...
36
119
0.694444
214
1,296
4.172897
0.514019
0.044793
0.067189
0.06271
0.138858
0.058231
0.058231
0
0
0
0
0.099909
0.150463
1,296
35
120
37.028571
0.711172
0.821759
0
0
0
0
0.463918
0
0
0
0
0
0
1
0
true
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
3
8bc766b6f205fa6254a726930d95f30355a60736
2,007
py
Python
pstock/base.py
obendidi/pstock
e98a4859d7216c985c1f1084a686ad53fd06ef27
[ "MIT" ]
5
2022-01-09T20:10:23.000Z
2022-02-21T11:14:32.000Z
pstock/base.py
obendidi/pstock
e98a4859d7216c985c1f1084a686ad53fd06ef27
[ "MIT" ]
18
2022-01-18T23:46:03.000Z
2022-03-28T22:24:19.000Z
pstock/base.py
obendidi/pstock
e98a4859d7216c985c1f1084a686ad53fd06ef27
[ "MIT" ]
null
null
null
from __future__ import annotations import typing as tp from abc import ABC, abstractmethod from datetime import datetime import pandas as pd import pendulum from pydantic import BaseModel as _BaseModel from pydantic import PrivateAttr class BaseModel(_BaseModel): _created_at: datetime = PrivateAttr(default_fact...
24.180723
84
0.661186
260
2,007
4.715385
0.288462
0.045677
0.026101
0.055465
0.263458
0.263458
0.19739
0.19739
0.19739
0.19739
0
0.000639
0.219731
2,007
82
85
24.47561
0.782248
0.052317
0
0.3
0
0
0.008995
0
0
0
0
0
0
1
0.26
false
0
0.16
0.16
0.78
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
1
0
0
3
4741c26d4192c55d439a47eaed37ff8834e15d5c
300
py
Python
01_mysite/blog/forms.py
victordomingos/Learning_Django
2fb51224d02b50bee69c6c2c773eecf4e4485cfb
[ "MIT" ]
1
2020-03-10T15:09:14.000Z
2020-03-10T15:09:14.000Z
01_mysite/blog/forms.py
victordomingos/Learning_Django
2fb51224d02b50bee69c6c2c773eecf4e4485cfb
[ "MIT" ]
null
null
null
01_mysite/blog/forms.py
victordomingos/Learning_Django
2fb51224d02b50bee69c6c2c773eecf4e4485cfb
[ "MIT" ]
null
null
null
from django import forms from .models import Artigo, Comentario class ArtigoForm(forms.ModelForm): class Meta: model = Artigo fields = ('titulo', 'texto',) class ComentarioForm(forms.ModelForm): class Meta: model = Comentario fields = ('autor', 'texto',)
18.75
38
0.64
31
300
6.193548
0.548387
0.145833
0.197917
0.239583
0.291667
0
0
0
0
0
0
0
0.253333
300
15
39
20
0.857143
0
0
0.2
0
0
0.07
0
0
0
0
0
0
1
0
false
0
0.2
0
0.6
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
1
0
0
3
4762648f6284da83331d24686dcc3c705f20460f
122
py
Python
users/management/commands/utils/init_models.py
GolamMullick/HR_PROJECT
fc4c76cfc835ad014a62a3da9d32b8fc8d474397
[ "MIT" ]
null
null
null
users/management/commands/utils/init_models.py
GolamMullick/HR_PROJECT
fc4c76cfc835ad014a62a3da9d32b8fc8d474397
[ "MIT" ]
3
2020-02-12T02:52:01.000Z
2021-06-10T22:18:25.000Z
users/management/commands/utils/init_models.py
GolamMullick/HR_PROJECT
fc4c76cfc835ad014a62a3da9d32b8fc8d474397
[ "MIT" ]
null
null
null
from users.models import Model def init_models(license): Model.load_on_migrate(license) print("models worked!!")
20.333333
34
0.745902
17
122
5.176471
0.764706
0
0
0
0
0
0
0
0
0
0
0
0.147541
122
6
35
20.333333
0.846154
0
0
0
0
0
0.121951
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.5
0.25
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
1
0
0
0
0
0
0
0
3
476e509e3b4a8daf9fa1bad4742598f75561274f
373
py
Python
montydb/engine/core/__init__.py
gitter-badger/MontyDB
849d03dc2cfed35739481e9acb1ff0bd8095c91b
[ "BSD-3-Clause" ]
null
null
null
montydb/engine/core/__init__.py
gitter-badger/MontyDB
849d03dc2cfed35739481e9acb1ff0bd8095c91b
[ "BSD-3-Clause" ]
null
null
null
montydb/engine/core/__init__.py
gitter-badger/MontyDB
849d03dc2cfed35739481e9acb1ff0bd8095c91b
[ "BSD-3-Clause" ]
null
null
null
from .field_walker import ( FieldWalker, FieldWriteError, _no_val, ) from .weighted import ( Weighted, gravity, _cmp_decimal, _decimal128_INF, _decimal128_NaN_ls, ) __all__ = [ "FieldWalker", "FieldWriteError", "_no_val", "Weighted", "gravity", "_cmp_decimal"...
13.321429
27
0.624665
34
373
6.176471
0.5
0.247619
0.266667
0.295238
0.504762
0.504762
0.504762
0.504762
0.504762
0
0
0.043796
0.265416
373
27
28
13.814815
0.722628
0
0
0
0
0
0.25
0
0
0
0
0
0
1
0
false
0
0.090909
0
0.090909
0
0
0
0
null
1
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
3
476eccba66316b251e00479cbb5b8b4079a49d0d
955
py
Python
pydigree/__init__.py
jameshicks/pydigree
b268402b14b053d899443ff5ef86aea319d2614b
[ "Apache-2.0" ]
18
2016-07-10T21:23:05.000Z
2021-06-25T08:17:17.000Z
pydigree/__init__.py
jameshicks/pydigree
b268402b14b053d899443ff5ef86aea319d2614b
[ "Apache-2.0" ]
3
2017-11-13T18:58:56.000Z
2020-02-05T21:55:59.000Z
pydigree/__init__.py
jameshicks/pydigree
b268402b14b053d899443ff5ef86aea319d2614b
[ "Apache-2.0" ]
6
2019-04-16T08:08:53.000Z
2021-05-24T17:29:43.000Z
#!/usr/bin/env python import sys if sys.version_info < (3,3): raise ImportError('pydigree requires Python 3') # Common functions (cumsum, table, etc) import pydigree.common from pydigree.ibs import ibs from pydigree.rand import set_seed # Functions for navigating pedigree structures from pydigree.paths import p...
26.527778
71
0.828272
122
955
6.418033
0.47541
0.153257
0.043423
0.058748
0
0
0
0
0
0
0
0.003584
0.12356
955
35
72
27.285714
0.9319
0.273298
0
0
0
0
0.037901
0
0
0
0
0
0
1
0
true
0
0.941176
0
0.941176
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
1
0
1
0
0
3
479f252243e12bc011bd42f9f36919ee5b447c8a
1,013
py
Python
src/healthvaultlib/tests/methods/test_getservicedefinition.py
rajeevs1992/pyhealthvault
2b6fa7c1687300bcc2e501368883fbb13dc80495
[ "MIT" ]
1
2015-12-19T09:09:15.000Z
2015-12-19T09:09:15.000Z
src/healthvaultlib/tests/methods/test_getservicedefinition.py
rajeevs1992/pyhealthvault
2b6fa7c1687300bcc2e501368883fbb13dc80495
[ "MIT" ]
6
2015-12-19T07:53:44.000Z
2021-12-13T19:35:10.000Z
src/healthvaultlib/tests/methods/test_getservicedefinition.py
rajeevs1992/pyhealthvault
2b6fa7c1687300bcc2e501368883fbb13dc80495
[ "MIT" ]
2
2018-02-20T08:34:50.000Z
2018-03-28T14:29:52.000Z
from healthvaultlib.tests.testbase import TestBase from healthvaultlib.methods.getservicedefinition import GetServiceDefinition class TestGetServiceDefinition(TestBase): def test_getservicedefinition(self): method = GetServiceDefinition(['platform', 'shell', 'topology', ...
53.315789
85
0.750247
97
1,013
7.71134
0.360825
0.149733
0.196524
0.290107
0.47861
0.47861
0.21123
0.141711
0
0
0
0.003521
0.158934
1,013
18
86
56.277778
0.874413
0
0
0
0
0
0.055281
0.020731
0
0
0
0
0.533333
1
0.066667
false
0
0.133333
0
0.266667
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
1
0
0
0
0
0
0
0
0
0
3
47d67af585f1cb8a5aa50f795bfa3adf3c1cddf1
767
py
Python
src/pyfonycore/bootstrap/config/Config.py
pyfony/core
32cb2e959590307fb845ccafec90b8264fdad4ab
[ "MIT" ]
null
null
null
src/pyfonycore/bootstrap/config/Config.py
pyfony/core
32cb2e959590307fb845ccafec90b8264fdad4ab
[ "MIT" ]
null
null
null
src/pyfonycore/bootstrap/config/Config.py
pyfony/core
32cb2e959590307fb845ccafec90b8264fdad4ab
[ "MIT" ]
null
null
null
class Config: def __init__( self, container_init_function: callable, kernel_class: type, root_module_name: str, allowed_environments: list, ): self.__container_init_function = container_init_function self.__kernel_class = kernel_class self.__root_m...
26.448276
64
0.693611
83
767
5.807229
0.228916
0.134855
0.217842
0.155602
0
0
0
0
0
0
0
0
0.252934
767
28
65
27.392857
0.841187
0
0
0.166667
0
0
0
0
0
0
0
0
0
1
0.208333
false
0
0
0.166667
0.416667
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
0
0
1
0
0
0
1
0
0
0
3
47d99533a20d996d05d82e05c6e151bd50f87769
509
py
Python
pystratis/api/wallet/requestmodels/pubkeyrequest.py
TjadenFroyda/pyStratis
9cc7620d7506637f8a2b84003d931eceb36ac5f2
[ "MIT" ]
8
2021-06-30T20:44:22.000Z
2021-12-07T14:42:22.000Z
pystratis/api/wallet/requestmodels/pubkeyrequest.py
TjadenFroyda/pyStratis
9cc7620d7506637f8a2b84003d931eceb36ac5f2
[ "MIT" ]
2
2021-07-01T11:50:18.000Z
2022-01-25T18:39:49.000Z
pystratis/api/wallet/requestmodels/pubkeyrequest.py
TjadenFroyda/pyStratis
9cc7620d7506637f8a2b84003d931eceb36ac5f2
[ "MIT" ]
4
2021-07-01T04:36:42.000Z
2021-09-17T10:54:19.000Z
from pydantic import Field from pystratis.api import Model from pystratis.core.types import Address # noinspection PyUnresolvedReferences class PubKeyRequest(Model): """A request model used for /wallet/pubkey endpoint. Args: wallet_name (str): The name of the wallet to search for pubkey in. ...
31.8125
76
0.736739
64
509
5.796875
0.53125
0.121294
0.070081
0
0
0
0
0
0
0
0
0
0.18664
509
15
77
33.933333
0.896135
0.467584
0
0
0
0
0.100806
0
0
0
0
0
0
1
0
true
0
0.5
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
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
47e2126ed86c5ef5ca93d655bc13781985f64e4b
294
py
Python
my_lambdata/my_test.py
CurdtMillion/Lambdata-DSPT6
c40fe3d5961bb0f846b0d2ef831f3f0ac84ea497
[ "MIT" ]
null
null
null
my_lambdata/my_test.py
CurdtMillion/Lambdata-DSPT6
c40fe3d5961bb0f846b0d2ef831f3f0ac84ea497
[ "MIT" ]
null
null
null
my_lambdata/my_test.py
CurdtMillion/Lambdata-DSPT6
c40fe3d5961bb0f846b0d2ef831f3f0ac84ea497
[ "MIT" ]
2
2020-07-13T01:51:07.000Z
2020-07-13T03:37:55.000Z
import unittest from my_mod import enlarge, decimate class TestMathFunctions(unittest.TestCase): def test_enlarge(self): self.assertEqual(enlarge(10), 1000) def test_decimate(self): self.assertEqual(decimate(100), 90) if __name__ == '__main__': unittest.main()
19.6
43
0.707483
35
294
5.628571
0.6
0.071066
0.192893
0
0
0
0
0
0
0
0
0.046025
0.187075
294
14
44
21
0.778243
0
0
0
0
0
0.027211
0
0
0
0
0
0.222222
1
0.222222
false
0
0.222222
0
0.555556
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
0
0
1
0
0
0
0
1
0
0
3
47f3b3d1ba46221ddf00515e67dc0128562bc564
482
py
Python
src/pbn_api/migrations/0026_auto_20210816_0815.py
iplweb/django-bpp
85f183a99d8d5027ae4772efac1e4a9f21675849
[ "BSD-3-Clause" ]
1
2017-04-27T19:50:02.000Z
2017-04-27T19:50:02.000Z
src/pbn_api/migrations/0026_auto_20210816_0815.py
mpasternak/django-bpp
434338821d5ad1aaee598f6327151aba0af66f5e
[ "BSD-3-Clause" ]
41
2019-11-07T00:07:02.000Z
2022-02-27T22:09:39.000Z
src/pbn_api/migrations/0026_auto_20210816_0815.py
iplweb/bpp
f027415cc3faf1ca79082bf7bacd4be35b1a6fdf
[ "BSD-3-Clause" ]
null
null
null
# Generated by Django 3.0.14 on 2021-08-16 06:17 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ("pbn_api", "0025_auto_20210809_0149"), ] operations = [ migrations.AlterUniqueTogether( name="oswiadczenieinstytucji", uniqu...
21.909091
48
0.605809
43
482
6.651163
0.767442
0.202797
0.230769
0
0
0
0
0
0
0
0
0.093842
0.292531
482
21
49
22.952381
0.744868
0.095436
0
0.4
1
0
0.165899
0.103687
0
0
0
0
0
1
0
false
0
0.066667
0
0.266667
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
9a051390e26a643eb083c41d01d606bf0cc6bb1d
247
py
Python
app/Account.py
dan-english/test3
69cfe21a2032d73536b418de2076aa9a0f91b9c7
[ "MIT" ]
1
2021-04-23T14:50:04.000Z
2021-04-23T14:50:04.000Z
app/Account.py
dan-english/test3
69cfe21a2032d73536b418de2076aa9a0f91b9c7
[ "MIT" ]
null
null
null
app/Account.py
dan-english/test3
69cfe21a2032d73536b418de2076aa9a0f91b9c7
[ "MIT" ]
1
2021-04-23T14:50:13.000Z
2021-04-23T14:50:13.000Z
"""Account Model.""" from masoniteorm.models import Model class Account(Model): """Account Model.""" __fillable__ = ['email', 'access_token', 'scopes', 'type', 'valid', 'user_id', 'provider', 'nylas_account_id'] __auth__ = 'email'
22.454545
114
0.651822
27
247
5.518519
0.703704
0.241611
0
0
0
0
0
0
0
0
0
0
0.157895
247
10
115
24.7
0.716346
0.117409
0
0
0
0
0.328502
0
0
0
0
0
0
1
0
false
0
0.25
0
1
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
1
0
0
3
9a0fc3dbd6a5e78e559c22b0d18ac39479ca2f38
661
py
Python
services/movies_etl/postgres_to_es/config.py
svvladimir-ru/ugc_sprint_1
7ae4f9094f34981057f6c80d38bd96df6c96d2db
[ "MIT" ]
null
null
null
services/movies_etl/postgres_to_es/config.py
svvladimir-ru/ugc_sprint_1
7ae4f9094f34981057f6c80d38bd96df6c96d2db
[ "MIT" ]
null
null
null
services/movies_etl/postgres_to_es/config.py
svvladimir-ru/ugc_sprint_1
7ae4f9094f34981057f6c80d38bd96df6c96d2db
[ "MIT" ]
1
2021-09-30T09:49:40.000Z
2021-09-30T09:49:40.000Z
import os # ETL ETL_MODE = os.environ.get('ETL_MODE') ETL_CHUNK_SIZE = int(os.environ.get('ETL_CHUNK_SIZE')) ETL_SYNC_DELAY = int(os.environ.get('ETL_SYNC_DELAY')) ETL_FILE_STATE = os.environ.get('ETL_FILE_STATE') ETL_DEFAULT_DATE = os.environ.get('ETL_DEFAULT_DATE') # Postgres POSTGRES_NAME = os.environ.get('POSTGRE...
34.789474
57
0.792738
99
661
4.969697
0.222222
0.219512
0.292683
0.152439
0.073171
0
0
0
0
0
0
0
0.069592
661
19
58
34.789474
0.8
0.039334
0
0
0
0
0.27057
0
0
0
0
0
0
1
0
false
0.076923
0.076923
0
0.076923
0
0
0
0
null
1
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
1
0
0
0
0
0
3
9a13f46a6f2b0065608bb444bb4de70282c13f64
165
py
Python
run.py
goonpug/goonpug-stats
e27f85166e5214057991cc01e380e198f0f118c4
[ "Apache-2.0" ]
1
2015-07-14T05:09:10.000Z
2015-07-14T05:09:10.000Z
run.py
goonpug/goonpug-stats
e27f85166e5214057991cc01e380e198f0f118c4
[ "Apache-2.0" ]
null
null
null
run.py
goonpug/goonpug-stats
e27f85166e5214057991cc01e380e198f0f118c4
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python from __future__ import absolute_import from goonpug import app def main(): app.run(debug=True) if __name__ == '__main__': main()
11.785714
38
0.690909
23
165
4.391304
0.73913
0
0
0
0
0
0
0
0
0
0
0
0.193939
165
13
39
12.692308
0.759399
0.121212
0
0
0
0
0.055556
0
0
0
0
0
0
1
0.166667
true
0
0.333333
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
9a143847f7c93c58af9cb2785bac106c058aaff4
9,522
py
Python
swagger_client/models/get_universe_graphics_graphic_id_ok.py
rseichter/bootini-star
a80258f01a05e4df38748b8cb47dfadabd42c20d
[ "MIT" ]
null
null
null
swagger_client/models/get_universe_graphics_graphic_id_ok.py
rseichter/bootini-star
a80258f01a05e4df38748b8cb47dfadabd42c20d
[ "MIT" ]
null
null
null
swagger_client/models/get_universe_graphics_graphic_id_ok.py
rseichter/bootini-star
a80258f01a05e4df38748b8cb47dfadabd42c20d
[ "MIT" ]
null
null
null
# coding: utf-8 """ EVE Swagger Interface An OpenAPI for EVE Online # noqa: E501 OpenAPI spec version: 0.8.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import six class GetUniverseGraphicsGraphicIdOk(object): """NOTE: This...
30.519231
188
0.627074
1,125
9,522
5.034667
0.110222
0.062147
0.20339
0.169492
0.626589
0.486229
0.387006
0.309852
0.201977
0.117585
0
0.021081
0.292586
9,522
311
189
30.617363
0.819774
0.400231
0
0.077519
1
0
0.079798
0
0
0
0
0
0
1
0.170543
false
0
0.023256
0
0.325581
0.015504
0
0
0
null
0
1
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
3
9a2cd1ad10c4f94884f6a033e259e5e29c9647d1
655
py
Python
stacks/XIAOMATECH/1.0/services/MYSQL/package/scripts/mysql_client.py
tvorogme/dataops
acfa21df42a20768c004c6630a064f4e38e280b2
[ "Apache-2.0" ]
3
2019-08-13T01:44:16.000Z
2019-12-10T04:05:56.000Z
stacks/XIAOMATECH/1.0/services/MYSQL/package/scripts/mysql_client.py
tvorogme/dataops
acfa21df42a20768c004c6630a064f4e38e280b2
[ "Apache-2.0" ]
null
null
null
stacks/XIAOMATECH/1.0/services/MYSQL/package/scripts/mysql_client.py
tvorogme/dataops
acfa21df42a20768c004c6630a064f4e38e280b2
[ "Apache-2.0" ]
7
2019-05-29T17:35:25.000Z
2021-12-04T07:55:10.000Z
from resource_management.libraries.script.script import Script from resource_management.core.resources.packaging import Package class Client(Script): def install(self, env): packages = ['percona-server-client'] Package(packages) self.configure(env) def configure(self, env): im...
21.833333
64
0.648855
77
655
5.337662
0.376623
0.085158
0.126521
0.184915
0.381995
0.381995
0.381995
0.381995
0.291971
0
0
0
0.254962
655
29
65
22.586207
0.842213
0
0
0.380952
0
0
0.044275
0.032061
0
0
0
0
0
1
0.238095
false
0
0.285714
0
0.571429
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
1
0
0
3
9a30039ba0b7391e4b860506e81da666cb2f5d0e
399
py
Python
Q926_Flip-String-to-Monotone-Increasing.py
xiaosean/leetcode_python
844ece02d699bfc620519bd94828ed0e18597f3e
[ "MIT" ]
null
null
null
Q926_Flip-String-to-Monotone-Increasing.py
xiaosean/leetcode_python
844ece02d699bfc620519bd94828ed0e18597f3e
[ "MIT" ]
null
null
null
Q926_Flip-String-to-Monotone-Increasing.py
xiaosean/leetcode_python
844ece02d699bfc620519bd94828ed0e18597f3e
[ "MIT" ]
null
null
null
class Solution: def minFlipsMonoIncr(self, S: str) -> int: n = len(S) min_diff = sum([a != b for a, b in zip(S, n * "1")]) dp_ = [min_diff] * (n+1) for zero_idx in range(n): if "0" == S[zero_idx]: dp_[zero_idx+1] = dp_[zero_idx] - 1 else: ...
33.25
60
0.45614
60
399
2.8
0.45
0.25
0.214286
0.238095
0.238095
0.238095
0.238095
0.238095
0
0
0
0.029046
0.39599
399
12
61
33.25
0.66805
0
0
0
0
0
0.005
0
0
0
0
0
0
1
0.090909
false
0
0
0
0.272727
0
0
0
0
null
1
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
3
9a3988e3bf88102daa38655df9a77c9c5ab6fd93
204
py
Python
j2fa/forms.py
kajala/django-j2fa
d2cd5d02a3faba46613a0cf53e855d2bef8cc41b
[ "MIT" ]
null
null
null
j2fa/forms.py
kajala/django-j2fa
d2cd5d02a3faba46613a0cf53e855d2bef8cc41b
[ "MIT" ]
null
null
null
j2fa/forms.py
kajala/django-j2fa
d2cd5d02a3faba46613a0cf53e855d2bef8cc41b
[ "MIT" ]
null
null
null
from django import forms from django.utils.translation import gettext_lazy as _ class TwoFactorForm(forms.Form): code = forms.CharField(label=_("two.factor.code.label"), max_length=8, min_length=1)
29.142857
88
0.779412
30
204
5.133333
0.733333
0.12987
0
0
0
0
0
0
0
0
0
0.01105
0.112745
204
6
89
34
0.839779
0
0
0
0
0
0.102941
0.102941
0
0
0
0
0
1
0
false
0
0.5
0
1
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
1
0
0
3
9a3cb788bde7b30e58806c32dcb9b8bb1fd3233f
501
py
Python
code/python/10.regular-expression-matching.py
ANYALGO/ANYALGO
09060bd4605d112b7ee66b4571ef309bfac06b6a
[ "Apache-2.0" ]
1
2020-04-10T01:33:04.000Z
2020-04-10T01:33:04.000Z
code/python/10.regular-expression-matching.py
ANYALGO/ANYALGO
09060bd4605d112b7ee66b4571ef309bfac06b6a
[ "Apache-2.0" ]
null
null
null
code/python/10.regular-expression-matching.py
ANYALGO/ANYALGO
09060bd4605d112b7ee66b4571ef309bfac06b6a
[ "Apache-2.0" ]
null
null
null
class Solution: def isMatch(self, s: str, p: str) -> bool: if not p: return not s if s == p: return True if len(p) > 1 and p[1] == "*": if s and (s[0] == p[0] or p[0] == "."): return self.isMatch(s, p[2:]) or self.isMatch(s[1:], p) ...
29.470588
71
0.413174
78
501
2.653846
0.282051
0.038647
0.231884
0.26087
0.463768
0.386473
0.280193
0.280193
0.280193
0.280193
0
0.043919
0.409182
501
16
72
31.3125
0.655405
0
0
0
0
0
0.006012
0
0
0
0
0
0
1
0.071429
false
0
0
0
0.571429
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
1
0
0
3
9a57b4ba171bcfe86b3bf0a22e6bf6f644ea0a43
3,526
py
Python
pythia/antlr4/PythiaFunctionCallListener.py
5sigmapoint2/pythiaparser
7ffbbe3460b62052fc3976bf26093a2bdb9297a7
[ "MIT" ]
null
null
null
pythia/antlr4/PythiaFunctionCallListener.py
5sigmapoint2/pythiaparser
7ffbbe3460b62052fc3976bf26093a2bdb9297a7
[ "MIT" ]
null
null
null
pythia/antlr4/PythiaFunctionCallListener.py
5sigmapoint2/pythiaparser
7ffbbe3460b62052fc3976bf26093a2bdb9297a7
[ "MIT" ]
null
null
null
# Generated from /Users/enrique/workspace/other/frontline/pythia/PythiaFunctionCall.g4 by ANTLR 4.5.3 from antlr4 import * if __name__ is not None and "." in __name__: from .PythiaFunctionCallParser import PythiaFunctionCallParser else: from PythiaFunctionCallParser import PythiaFunctionCallParser # This cla...
40.528736
101
0.745888
333
3,526
7.837838
0.243243
0.043678
0.072797
0.131034
0.791954
0.509195
0.492337
0.490421
0.101916
0.048276
0
0.001776
0.201645
3,526
86
102
41
0.9254
0.389109
0
0.478261
1
0
0.000473
0
0
0
0
0
0
1
0.391304
false
0.391304
0.065217
0
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
1
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
9a6b126899f78f33ee21121329d5b3b8fcf39a38
341
py
Python
generator/itertool_groupby.py
sherlockliu/pythonic
45719102357892d3dbe2b4fa6b20e7f2e05f07fb
[ "MIT" ]
null
null
null
generator/itertool_groupby.py
sherlockliu/pythonic
45719102357892d3dbe2b4fa6b20e7f2e05f07fb
[ "MIT" ]
null
null
null
generator/itertool_groupby.py
sherlockliu/pythonic
45719102357892d3dbe2b4fa6b20e7f2e05f07fb
[ "MIT" ]
null
null
null
# !/usr/bin/python from itertools import groupby def compress(data): return ((len(list(group)), name) for name, group in groupby(data)) def decompress(data): return (car * size for size, car in data) my_data = 'get uuuuuuuuuuuuuuuup' print(list(my_data)) compressed = compress(my_data) print(''.join(deco...
17.947368
70
0.71261
48
341
5
0.541667
0.075
0
0
0
0
0
0
0
0
0
0
0.152493
341
18
71
18.944444
0.83045
0.046921
0
0
0
0
0.065015
0
0
0
0
0
0
1
0.222222
false
0
0.111111
0.222222
0.555556
0.222222
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
1
0
0
3
7bfcec9fd40425e8731a6019bd83f7aa1c137c1c
169
py
Python
friday_5pm_helper/replicon_services/__init__.py
kyhau/friday-5pm-helper
9986ecd04bfa99f59eae2228ccbd848e285c0c4c
[ "Unlicense" ]
3
2018-08-09T19:01:27.000Z
2020-08-20T00:45:31.000Z
friday_5pm_helper/replicon_services/__init__.py
kyhau/friday-5pm-helper
9986ecd04bfa99f59eae2228ccbd848e285c0c4c
[ "Unlicense" ]
43
2020-04-30T21:59:29.000Z
2021-04-29T15:49:33.000Z
friday_5pm_helper/replicon_services/__init__.py
kyhau/friday-5pm-helper
9986ecd04bfa99f59eae2228ccbd848e285c0c4c
[ "Unlicense" ]
2
2016-12-07T23:47:43.000Z
2021-09-07T11:17:32.000Z
# Define constants # HEADERS = {'content-type': 'application/json'} SWIMLANE_FINDER_URL = 'https://global.replicon.com/DiscoveryService1.svc/GetTenantEndpointDetails'
24.142857
98
0.786982
17
169
7.705882
1
0
0
0
0
0
0
0
0
0
0
0.00641
0.076923
169
6
99
28.166667
0.833333
0.094675
0
0
0
0
0.68
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d00c2ee1c4231b7faf426a1c25188b73fb2808d0
207
py
Python
MillerArrays/millerArray2Dictionary.py
MooersLab/jupyterlabcctbxsnips
c5f0947b4e8c4e5839b9b6b15c81c62915103155
[ "MIT" ]
null
null
null
MillerArrays/millerArray2Dictionary.py
MooersLab/jupyterlabcctbxsnips
c5f0947b4e8c4e5839b9b6b15c81c62915103155
[ "MIT" ]
null
null
null
MillerArrays/millerArray2Dictionary.py
MooersLab/jupyterlabcctbxsnips
c5f0947b4e8c4e5839b9b6b15c81c62915103155
[ "MIT" ]
null
null
null
from iotbx import mtz mtz_obj = mtz.object(file_name="3nd4.mtz") # Only works with mtz.object. # Does not work if mtz is read in with iotbx.file_reader. miller_arrays_dict = mtz_obj.as_miller_arrays_dict()
34.5
57
0.782609
38
207
4.026316
0.631579
0.078431
0.20915
0
0
0
0
0
0
0
0
0.011111
0.130435
207
5
58
41.4
0.838889
0.405797
0
0
0
0
0.066667
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
1
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
3
d0196a68e90f238bf3ae39d1bab92efa45b32542
429
py
Python
src/cool_chip/utils/io.py
leoank/cool_chip
7a38becad9dece6dcf492610e3442fdb88539669
[ "MIT" ]
null
null
null
src/cool_chip/utils/io.py
leoank/cool_chip
7a38becad9dece6dcf492610e3442fdb88539669
[ "MIT" ]
null
null
null
src/cool_chip/utils/io.py
leoank/cool_chip
7a38becad9dece6dcf492610e3442fdb88539669
[ "MIT" ]
null
null
null
from os import path from pathlib import Path def curr_file_path() -> Path: """Get cuurent file path.""" return Path(__file__).absolute() def out_folder_path() -> Path: """Get output folder path.""" return curr_file_path().parents[3].joinpath("out").absolute() def out_geom_path() -> Path: """Ge...
23.833333
74
0.682984
58
429
4.810345
0.362069
0.143369
0.11828
0.121864
0
0
0
0
0
0
0
0.002778
0.160839
429
17
75
25.235294
0.772222
0.184149
0
0
0
0
0.032934
0
0
0
0
0
0
1
0.375
true
0
0.25
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
0
null
0
0
0
0
0
1
1
0
0
0
1
0
0
3
d01db159958ad1095a30fb189e8ff3fb54425a43
10,851
py
Python
src/Archive_info_generate_charts.py
adeckert23/soccer-proj
4f86993b98c6a1153bdc1c57cc8d04053302967d
[ "MIT" ]
null
null
null
src/Archive_info_generate_charts.py
adeckert23/soccer-proj
4f86993b98c6a1153bdc1c57cc8d04053302967d
[ "MIT" ]
null
null
null
src/Archive_info_generate_charts.py
adeckert23/soccer-proj
4f86993b98c6a1153bdc1c57cc8d04053302967d
[ "MIT" ]
null
null
null
#Saved information for generating plots: #------------------------------------------------------------------------------- # #Figure # fig.clear() # fig = plt.figure(figsize=(10, 10)) #Name to appear on each axis for offensive categories # titles = ['Rating', 'Goals', 'Assists', 'SpG', 'Drb', 'KeyP','PS%', # 'Cr...
48.441964
115
0.59976
1,806
10,851
3.556478
0.120709
0.098396
0.122995
0.221392
0.655457
0.598474
0.574498
0.553947
0.50288
0.355286
0
0.082585
0.097226
10,851
223
116
48.659193
0.573091
0.958529
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
1
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
3
d01ff1472e91a2ebdaafa3a5d71f722c87be679f
208
py
Python
workflow/urls.py
ChalkLab/SciFlow
5bf021007d6184402ebfe6cefc2111d99160cb69
[ "MIT" ]
1
2021-04-26T20:03:11.000Z
2021-04-26T20:03:11.000Z
workflow/urls.py
ChalkLab/SciFlow
5bf021007d6184402ebfe6cefc2111d99160cb69
[ "MIT" ]
17
2021-04-23T16:51:59.000Z
2021-12-13T21:17:41.000Z
workflow/urls.py
ChalkLab/SciFlow
5bf021007d6184402ebfe6cefc2111d99160cb69
[ "MIT" ]
null
null
null
""" urls for the workflow app """ from django.urls import path from workflow import views urlpatterns = [ path('logs', views.logs, name='logs'), path('logs/<lid>', views.viewlog, name='viewlog'), ]
20.8
54
0.663462
28
208
4.928571
0.535714
0.115942
0
0
0
0
0
0
0
0
0
0
0.168269
208
9
55
23.111111
0.797688
0.120192
0
0
0
0
0.142857
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
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
1
0
0
0
0
3
d02a33fa2f690e0342463494ddfa2958147d161a
1,212
py
Python
pokepay/response/bulk_transaction.py
pokepay/pokepay-partner-python-sdk
7437370dc1cd0bde38959713015074315291b1e1
[ "MIT" ]
null
null
null
pokepay/response/bulk_transaction.py
pokepay/pokepay-partner-python-sdk
7437370dc1cd0bde38959713015074315291b1e1
[ "MIT" ]
null
null
null
pokepay/response/bulk_transaction.py
pokepay/pokepay-partner-python-sdk
7437370dc1cd0bde38959713015074315291b1e1
[ "MIT" ]
1
2022-01-28T03:00:12.000Z
2022-01-28T03:00:12.000Z
# DO NOT EDIT: File is generated by code generator. from pokepay_partner_python_sdk.pokepay.response.response import PokepayResponse class BulkTransaction(PokepayResponse): def __init__(self, response, response_body): super().__init__(response, response_body) self.id = response_body['id'] ...
26.347826
80
0.669967
148
1,212
5.22973
0.236486
0.170543
0.162791
0.041344
0
0
0
0
0
0
0
0
0.239274
1,212
45
81
26.933333
0.839479
0.040429
0
0
1
0
0.062069
0
0
0
0
0
0
1
0.322581
false
0
0.032258
0.290323
0.677419
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
1
0
0
0
1
0
0
0
3
d02f902e80e9b823509fd52cead6b4c5ca8ac189
19
py
Python
pyanimate/__init__.py
martinmcbride/sympl
2d5408de40353115516c808f68df5543f54e8b7c
[ "MIT" ]
null
null
null
pyanimate/__init__.py
martinmcbride/sympl
2d5408de40353115516c808f68df5543f54e8b7c
[ "MIT" ]
null
null
null
pyanimate/__init__.py
martinmcbride/sympl
2d5408de40353115516c808f68df5543f54e8b7c
[ "MIT" ]
null
null
null
name = "pyanimate"
9.5
18
0.684211
2
19
6.5
1
0
0
0
0
0
0
0
0
0
0
0
0.157895
19
1
19
19
0.8125
0
0
0
0
0
0.473684
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
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
3
d0a7be49cee1ce25a45b911f5da36bf3a99114a9
2,455
py
Python
xframes/cmp_rows.py
cchayden/xframes
1656cc69c814bda8132362b3a22f7cdf8a24637f
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
xframes/cmp_rows.py
cchayden/xframes
1656cc69c814bda8132362b3a22f7cdf8a24637f
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
xframes/cmp_rows.py
cchayden/xframes
1656cc69c814bda8132362b3a22f7cdf8a24637f
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
# Row comparison wrapper for ascending or descending comparison. class CmpRows(object): """ Comparison wrapper for a row. Rows can be sorted on one or more columns, and each one may be ascending or descending. This class wraps the row, remembers the column indexes used for comparing the row...
31.474359
72
0.621996
315
2,455
4.75873
0.273016
0.054036
0.044029
0.068045
0.456304
0.438292
0.306204
0.306204
0.306204
0.306204
0
0
0.305499
2,455
77
73
31.883117
0.879179
0.359674
0
0.263158
0
0
0
0
0
0
0
0
0
1
0.263158
false
0
0
0.157895
0.526316
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
1
0
0
3
d0c5968c7cdeb28c775b2143200d4717235fefd1
262
py
Python
GodwillOnyewuchi/Phase 1/Python Basic 2/day 9 task/task 7.py
CodedLadiesInnovateTech/-python-challenge-solutions
430cd3eb84a2905a286819eef384ee484d8eb9e7
[ "MIT" ]
6
2020-05-23T19:53:25.000Z
2021-05-08T20:21:30.000Z
GodwillOnyewuchi/Phase 1/Python Basic 2/day 9 task/task 7.py
GREENFONTS/python-challenge-solutions
a9aad85a250892fe41961a7d5e77f67b8d14fc1b
[ "MIT" ]
8
2020-05-14T18:53:12.000Z
2020-07-03T00:06:20.000Z
GodwillOnyewuchi/Phase 1/Python Basic 2/day 9 task/task 7.py
GREENFONTS/python-challenge-solutions
a9aad85a250892fe41961a7d5e77f67b8d14fc1b
[ "MIT" ]
39
2020-05-10T20:55:02.000Z
2020-09-12T17:40:59.000Z
#Python program to test whether the system is a big-endian platform or little-endian platform import sys if sys.byteorder == "little": print("Little-endian platform.") # its an intel, alpha else: print("Big-endian platform.") # its a motorola, sparc
37.428571
93
0.721374
39
262
4.846154
0.666667
0.296296
0.179894
0
0
0
0
0
0
0
0
0
0.179389
262
7
94
37.428571
0.87907
0.51145
0
0
0
0
0.388889
0
0
0
0
0
0
1
0
true
0
0.2
0
0.2
0.4
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
1
0
0
0
0
0
0
3
d0db75442321b1c5416d4ab95463608c41f7b224
6,232
py
Python
kubernetes/test/test_v2beta2_metric_spec.py
mariusgheorghies/python
68ac7e168963d8b5a81dc493b1973d29e903a15b
[ "Apache-2.0" ]
null
null
null
kubernetes/test/test_v2beta2_metric_spec.py
mariusgheorghies/python
68ac7e168963d8b5a81dc493b1973d29e903a15b
[ "Apache-2.0" ]
null
null
null
kubernetes/test/test_v2beta2_metric_spec.py
mariusgheorghies/python
68ac7e168963d8b5a81dc493b1973d29e903a15b
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 """ Kubernetes No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 The version of the OpenAPI document: v1.20.7 Generated by: https://openapi-generator.tech """ from __future__ import absolute_import import unitte...
46.857143
141
0.476573
454
6,232
6.365639
0.251101
0.132872
0.167474
0.160554
0.56609
0.49481
0.46782
0.46782
0.46782
0.46782
0
0.043855
0.443838
6,232
132
142
47.212121
0.78996
0.087933
0
0.711538
1
0
0.009811
0
0
0
0
0
0
1
0.038462
false
0.019231
0.057692
0
0.125
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d0ecd5d14643bfc5891dff6c9e0e48f1e579df87
195
py
Python
deployment/engine.py
cu-csc/automaton
a82d062a82c02498ac3fab78de717bbcda9f035e
[ "MIT" ]
1
2019-03-20T05:44:01.000Z
2019-03-20T05:44:01.000Z
deployment/engine.py
cu-csc/automaton
a82d062a82c02498ac3fab78de717bbcda9f035e
[ "MIT" ]
null
null
null
deployment/engine.py
cu-csc/automaton
a82d062a82c02498ac3fab78de717bbcda9f035e
[ "MIT" ]
1
2019-03-19T08:51:36.000Z
2019-03-19T08:51:36.000Z
""" implements the staged deployment engine which contains the logic and order of execution """ class StagedDeploymentEngine(object): def __init__(self): raise NotImplementedError
17.727273
68
0.753846
21
195
6.809524
0.952381
0
0
0
0
0
0
0
0
0
0
0
0.184615
195
10
69
19.5
0.899371
0.446154
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.666667
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
1
0
0
0
0
1
0
0
3
ef81b3a5f1744faa825413082c5c7b302300cb59
81
py
Python
BOCSite/boc/apps.py
dylodylo/Betting-Odds-Comparision
b90051c4b6ad20459e4e5e197684badbb281f866
[ "Unlicense" ]
2
2019-02-14T17:59:38.000Z
2019-11-19T03:04:12.000Z
BOCSite/boc/apps.py
dylodylo/Betting-Odds-Comparision
b90051c4b6ad20459e4e5e197684badbb281f866
[ "Unlicense" ]
null
null
null
BOCSite/boc/apps.py
dylodylo/Betting-Odds-Comparision
b90051c4b6ad20459e4e5e197684badbb281f866
[ "Unlicense" ]
null
null
null
from django.apps import AppConfig class BocConfig(AppConfig): name = 'boc'
13.5
33
0.728395
10
81
5.9
0.9
0
0
0
0
0
0
0
0
0
0
0
0.185185
81
5
34
16.2
0.893939
0
0
0
0
0
0.037037
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
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
1
0
0
0
0
3
ef8946aa56a0994cd19612c01e2818b4e4fbfd04
208
py
Python
juju/relation.py
radiator-software/python-libjuju
ba032bc288e1a9d98af7a0fdbf5f51ff0d6e6864
[ "Apache-2.0" ]
null
null
null
juju/relation.py
radiator-software/python-libjuju
ba032bc288e1a9d98af7a0fdbf5f51ff0d6e6864
[ "Apache-2.0" ]
null
null
null
juju/relation.py
radiator-software/python-libjuju
ba032bc288e1a9d98af7a0fdbf5f51ff0d6e6864
[ "Apache-2.0" ]
null
null
null
import logging from . import model log = logging.getLogger(__name__) class Relation(model.ModelEntity): async def destroy(self): raise NotImplementedError() # TODO: destroy a relation
17.333333
35
0.706731
23
208
6.217391
0.782609
0
0
0
0
0
0
0
0
0
0
0
0.216346
208
11
36
18.909091
0.877301
0.115385
0
0
0
0
0
0
0
0
0
0.090909
0
1
0
false
0
0.333333
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
1
0
0
0
0
3
ef9142f5b662d0175cdba63085e04431bce0694b
1,343
py
Python
ale/drivers/hyb2_drivers.py
tthatcher95/ale
6bebf2172c7ffde91e09b0f138c6aebb5b5bca24
[ "Unlicense" ]
null
null
null
ale/drivers/hyb2_drivers.py
tthatcher95/ale
6bebf2172c7ffde91e09b0f138c6aebb5b5bca24
[ "Unlicense" ]
null
null
null
ale/drivers/hyb2_drivers.py
tthatcher95/ale
6bebf2172c7ffde91e09b0f138c6aebb5b5bca24
[ "Unlicense" ]
null
null
null
import spiceypy as spice import ale from ale.base.data_naif import NaifSpice from ale.base.label_isis import IsisLabel from ale.base.type_sensor import Framer from ale.base.base import Driver class Hayabusa2IsisLabelNaifSpiceDriver(Framer, IsisLabel, NaifSpice, Driver): @property def sensor_model_version(sel...
28.574468
93
0.697692
174
1,343
5.206897
0.402299
0.09713
0.048565
0.055188
0.055188
0.055188
0
0
0
0
0
0.015253
0.218913
1,343
46
94
29.195652
0.848427
0.115413
0
0.294118
0
0
0.039662
0
0
0
0
0
0
1
0.235294
false
0
0.176471
0.205882
0.676471
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
1
0
0
3
ef9b15436649415f1323e53e837f7729e8037c48
293
py
Python
rl_groundup/envs/__init__.py
TristanBester/rl_groundup
2e981667e21330a35a6ab2a642e278aaaf4dca84
[ "MIT" ]
1
2021-04-20T00:43:43.000Z
2021-04-20T00:43:43.000Z
rl_groundup/envs/__init__.py
TristanBester/rl_groundup
2e981667e21330a35a6ab2a642e278aaaf4dca84
[ "MIT" ]
null
null
null
rl_groundup/envs/__init__.py
TristanBester/rl_groundup
2e981667e21330a35a6ab2a642e278aaaf4dca84
[ "MIT" ]
null
null
null
from .k_armed_bandit import KArmedBandit from .grid_world import GridWorld from .race_track import RaceTrack from .windy_grid_world import WindyGridWorld from .maze import Maze from .mountain_car import MountainCar from .random_walk import RandomWalk from .short_corridor import ShortCorridor
32.555556
44
0.863481
41
293
5.95122
0.585366
0.07377
0.122951
0
0
0
0
0
0
0
0
0
0.109215
293
8
45
36.625
0.934866
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
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
1
0
1
0
0
0
0
3
efa6d8b8f204eee04b1d92b8f458dfb912fd19cf
59
py
Python
apps/django_auth_system/__init__.py
ipodjke/django_authorization_system
bc7b2429bf5aafdb3b0b1668aa2ab6edb5e51678
[ "MIT" ]
null
null
null
apps/django_auth_system/__init__.py
ipodjke/django_authorization_system
bc7b2429bf5aafdb3b0b1668aa2ab6edb5e51678
[ "MIT" ]
null
null
null
apps/django_auth_system/__init__.py
ipodjke/django_authorization_system
bc7b2429bf5aafdb3b0b1668aa2ab6edb5e51678
[ "MIT" ]
null
null
null
default_app_config = 'django_auth_system.apps.UsersConfig'
29.5
58
0.864407
8
59
5.875
1
0
0
0
0
0
0
0
0
0
0
0
0.050847
59
1
59
59
0.839286
0
0
0
0
0
0.59322
0.59322
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
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
efac778bd1dce0c4f2089937a09b546da5d5812e
107
py
Python
type_conversion.py
Amber-Pittman/python-practice
c779958f5b977cce8169c835fb1a7acdb6872df2
[ "MIT" ]
null
null
null
type_conversion.py
Amber-Pittman/python-practice
c779958f5b977cce8169c835fb1a7acdb6872df2
[ "MIT" ]
null
null
null
type_conversion.py
Amber-Pittman/python-practice
c779958f5b977cce8169c835fb1a7acdb6872df2
[ "MIT" ]
null
null
null
birth_year = input("What year were you born?") age = 2019 - int(birth_year) print(f"Your age is: {age}")
21.4
46
0.672897
19
107
3.684211
0.736842
0.257143
0
0
0
0
0
0
0
0
0
0.044944
0.168224
107
5
47
21.4
0.741573
0
0
0
0
0
0.388889
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
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
3
efe08e01cf2fb4631d25a90a3392690dd686d0bd
4,564
py
Python
farmblr/farmblr/settings.py
Nemwel-Boniface/Farmblr
ca755e08a6510ef421bb6fd898b489a963831b56
[ "MIT" ]
3
2022-02-25T09:12:47.000Z
2022-03-11T09:02:35.000Z
farmblr/farmblr/settings.py
Nemwel-Boniface/Farmblr
ca755e08a6510ef421bb6fd898b489a963831b56
[ "MIT" ]
null
null
null
farmblr/farmblr/settings.py
Nemwel-Boniface/Farmblr
ca755e08a6510ef421bb6fd898b489a963831b56
[ "MIT" ]
null
null
null
""" Django settings for farmblr project. Generated by 'django-admin startproject' using Django 4.0. For more information on this file, see https://docs.djangoproject.com/en/4.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/4.0/ref/settings/ """ import os from...
28
110
0.7156
539
4,564
5.881262
0.343228
0.061514
0.055521
0.063091
0.179811
0.159306
0.096845
0.096845
0.050473
0
0
0.009312
0.152936
4,564
162
111
28.17284
0.810657
0.447415
0
0
1
0
0.518998
0.43169
0
0
0
0.006173
0
1
0
false
0.064103
0.038462
0
0.038462
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
1
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
efe3ec018dab9550ec5d38dfe0f29dcb726fcc26
1,290
py
Python
misc/migrations/versions/4c4c7189593e_.py
davewood/do-portal
427e66a62c2fd93ce510af85a1093e431d11ca7f
[ "BSD-3-Clause" ]
null
null
null
misc/migrations/versions/4c4c7189593e_.py
davewood/do-portal
427e66a62c2fd93ce510af85a1093e431d11ca7f
[ "BSD-3-Clause" ]
null
null
null
misc/migrations/versions/4c4c7189593e_.py
davewood/do-portal
427e66a62c2fd93ce510af85a1093e431d11ca7f
[ "BSD-3-Clause" ]
null
null
null
"""empty message Revision ID: 4c4c7189593e Revises: 4b4e6d96c630 Create Date: 2017-04-04 12:37:27.512719 """ # revision identifiers, used by Alembic. revision = '4c4c7189593e' down_revision = '4b4e6d96c630' from alembic import op import sqlalchemy as sa def upgrade(): ### commands auto generated by Alembic - ...
39.090909
131
0.75969
161
1,290
5.776398
0.347826
0.206452
0.270968
0.188172
0.643011
0.63871
0.596774
0.592473
0.266667
0.139785
0
0.049912
0.114729
1,290
32
132
40.3125
0.764448
0.225581
0
0
0
0
0.427536
0.337474
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.285714
0
0
0
0
null
1
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
3
efe76b5a33eb23c2bc1b2eb567d77ccbb6d00008
101
py
Python
config.py
bvezilic/Neural-style-transfer
9ba9434632ce61c300ca356ced2bb68ec972068e
[ "Apache-2.0" ]
3
2021-10-31T09:04:28.000Z
2022-01-07T01:21:25.000Z
config.py
bvezilic/Neural-style-transfer
9ba9434632ce61c300ca356ced2bb68ec972068e
[ "Apache-2.0" ]
1
2021-10-30T18:25:15.000Z
2021-10-30T18:25:40.000Z
config.py
bvezilic/Neural-style-transfer
9ba9434632ce61c300ca356ced2bb68ec972068e
[ "Apache-2.0" ]
null
null
null
from pathlib import Path ROOT_DIR = Path(__file__).parent.resolve() IMAGE_DIR = ROOT_DIR / 'images'
20.2
42
0.762376
15
101
4.666667
0.733333
0.2
0
0
0
0
0
0
0
0
0
0
0.128713
101
4
43
25.25
0.795455
0
0
0
0
0
0.059406
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
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
1
0
0
0
0
3
4bc912c1893d9b1c464b8f2ada1867522fd5fca0
370
py
Python
river/linear_model/__init__.py
mathco-wf/river
c6ff38fa4ce4843ede1cba77248e0370a67a36f6
[ "BSD-3-Clause" ]
4
2019-04-09T16:51:08.000Z
2021-07-26T15:43:30.000Z
river/linear_model/__init__.py
mathco-wf/river
c6ff38fa4ce4843ede1cba77248e0370a67a36f6
[ "BSD-3-Clause" ]
null
null
null
river/linear_model/__init__.py
mathco-wf/river
c6ff38fa4ce4843ede1cba77248e0370a67a36f6
[ "BSD-3-Clause" ]
1
2021-10-19T03:16:07.000Z
2021-10-19T03:16:07.000Z
"""Linear models.""" from .alma import ALMAClassifier from .glm import LinearRegression, LogisticRegression, Perceptron from .pa import PAClassifier, PARegressor from .softmax import SoftmaxRegression __all__ = [ "ALMAClassifier", "LinearRegression", "LogisticRegression", "PAClassifier", "PARegress...
23.125
65
0.732432
29
370
9.206897
0.551724
0.254682
0
0
0
0
0
0
0
0
0
0
0.164865
370
15
66
24.666667
0.864078
0.037838
0
0
0
0
0.28
0
0
0
0
0
0
1
0
false
0
0.307692
0
0.307692
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
1
0
0
0
0
3
325055f21ba04a5af8013db26acacb8e663a6db5
167
py
Python
aiocloudflare/api/zones/spectrum/analytics/events/summary/summary.py
Stewart86/aioCloudflare
341c0941f8f888a8b7e696e64550bce5da4949e6
[ "MIT" ]
2
2021-09-14T13:20:55.000Z
2022-02-24T14:18:24.000Z
aiocloudflare/api/zones/spectrum/analytics/events/summary/summary.py
Stewart86/aioCloudflare
341c0941f8f888a8b7e696e64550bce5da4949e6
[ "MIT" ]
46
2021-09-08T08:39:45.000Z
2022-03-29T12:31:05.000Z
aiocloudflare/api/zones/spectrum/analytics/events/summary/summary.py
Stewart86/aioCloudflare
341c0941f8f888a8b7e696e64550bce5da4949e6
[ "MIT" ]
1
2021-12-30T23:02:23.000Z
2021-12-30T23:02:23.000Z
from aiocloudflare.commons.auth import Auth class Summary(Auth): _endpoint1 = "zones" _endpoint2 = "spectrum/analytics/events/summary" _endpoint3 = None
20.875
52
0.736527
18
167
6.666667
0.833333
0
0
0
0
0
0
0
0
0
0
0.021739
0.173653
167
7
53
23.857143
0.847826
0
0
0
0
0
0.227545
0.197605
0
0
0
0
0
1
0
false
0
0.2
0
1
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
1
0
0
3
325135fff765d55b9c7639ba68a7f8d7e2bacdb7
1,142
py
Python
msldap/external/asciitree/asciitree/traversal.py
zhuby1973/msldap
6ff0566112b965d61c43da1dff61b9b8476dded9
[ "MIT" ]
79
2015-01-12T03:38:17.000Z
2022-01-16T20:19:28.000Z
msldap/external/asciitree/asciitree/traversal.py
zhuby1973/msldap
6ff0566112b965d61c43da1dff61b9b8476dded9
[ "MIT" ]
18
2015-02-26T22:51:48.000Z
2020-11-16T19:03:15.000Z
msldap/external/asciitree/asciitree/traversal.py
zhuby1973/msldap
6ff0566112b965d61c43da1dff61b9b8476dded9
[ "MIT" ]
22
2015-02-26T18:55:40.000Z
2020-12-18T17:06:38.000Z
from .util import KeyArgsConstructor class Traversal(KeyArgsConstructor): """Traversal method. Used by the tree rendering functions like :class:`~asciitree.LeftAligned`. """ def get_children(self, node): """Return a list of children of a node.""" raise NotImplementedError def get...
25.954545
78
0.654116
144
1,142
5.138889
0.402778
0.056757
0.094595
0.072973
0.243243
0.243243
0
0
0
0
0
0.003468
0.242557
1,142
43
79
26.55814
0.852023
0.368651
0
0.368421
0
0
0.011976
0
0
0
0
0
0
1
0.368421
false
0
0.052632
0.210526
0.947368
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
1
0
0
3
32920853f179cd49aa62f5a74dd75d2d1a6de0f5
522
py
Python
ptptest/pytz.py
chrisy/ptptest
9166be085731d90b82641b4cb5d4f33a68070eef
[ "MIT" ]
3
2019-02-17T03:14:22.000Z
2022-01-17T13:32:39.000Z
ptptest/pytz.py
chrisy/ptptest
9166be085731d90b82641b4cb5d4f33a68070eef
[ "MIT" ]
1
2016-09-30T07:36:32.000Z
2016-09-30T13:44:49.000Z
ptptest/pytz.py
chrisy/ptptest
9166be085731d90b82641b4cb5d4f33a68070eef
[ "MIT" ]
3
2016-10-04T19:45:36.000Z
2019-07-04T17:22:08.000Z
# vim: tabstop=4 expandtab shiftwidth=4 softtabstop=4 # # Copyright (c) 2014 Chris Luke <chrisy@flirble.org> # """Pytz dummy module""" # This empty module with the name pytz.py fools # bson.py into loading; we then provide the only # pytz-reference used by bson - 'utc' from datetime import datetime from datetime im...
18.642857
53
0.659004
75
522
4.586667
0.64
0.052326
0.104651
0.093023
0
0
0
0
0
0
0
0.0175
0.233716
522
27
54
19.333333
0.8425
0.490421
0
0.2
0
0
0.012048
0
0
0
0
0
0
1
0.3
false
0
0.2
0.3
0.9
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
1
0
0
3
32bf0aa23a289cfad019373a10270e751fd81e82
511
py
Python
test/mock_extensions.py
BenjaminHamon/BuildService
2ca12f9ae74e9cbf732229849f6cd6d13f40151a
[ "MIT" ]
2
2021-01-28T15:56:50.000Z
2021-03-02T06:27:09.000Z
test/mock_extensions.py
BenjaminHamon/BuildService
2ca12f9ae74e9cbf732229849f6cd6d13f40151a
[ "MIT" ]
null
null
null
test/mock_extensions.py
BenjaminHamon/BuildService
2ca12f9ae74e9cbf732229849f6cd6d13f40151a
[ "MIT" ]
null
null
null
import asyncio from unittest.mock import MagicMock class MockException(Exception): pass # AsyncMock is new in Python 3.8 class AsyncMock(MagicMock): async def __call__(self, *args, **kwargs): # pylint: disable = invalid-overridden-method, useless-super-delegation return super().__call__(*args, **kwargs) class...
26.894737
115
0.751468
64
511
5.75
0.609375
0.108696
0.065217
0.086957
0.141304
0.141304
0
0
0
0
0
0.006726
0.127202
511
18
116
28.388889
0.818386
0.268102
0
0.181818
0
0
0
0
0
0
0
0
0
1
0
true
0.090909
0.181818
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
1
0
0
1
0
0
3
32c629a0f92781909af4d5838f516144f0ea39bc
750
py
Python
begins-with-t.py
babubaskaran/pands-problem-set
70b688ee7ffba6545acdbd66abf471df5f15dc6a
[ "Apache-2.0" ]
null
null
null
begins-with-t.py
babubaskaran/pands-problem-set
70b688ee7ffba6545acdbd66abf471df5f15dc6a
[ "Apache-2.0" ]
null
null
null
begins-with-t.py
babubaskaran/pands-problem-set
70b688ee7ffba6545acdbd66abf471df5f15dc6a
[ "Apache-2.0" ]
null
null
null
# Author : Babu Baskaran # Date : 05/04/2019 Time : 19:00 pm # Solution for problem number 2 # Version 1.0 # import the datetime of the system using import syntax import datetime # checking the weekday number is equal to 1 using if condition if datetime.datetime.today().weekday() == 1: # print result if the wee...
41.666667
69
0.705333
130
750
4.069231
0.415385
0.113422
0.151229
0.170132
0.374291
0.336484
0.336484
0
0
0
0
0.042735
0.22
750
18
70
41.666667
0.861538
0.636
0
0.285714
0
0
0.339695
0
0
0
0
0
0
1
0
true
0
0.142857
0
0.142857
0.428571
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
1
0
0
0
0
1
0
3
08657309e8b36397aa1698b3e832511b7798d5e1
223
py
Python
mini_projects/shrubbery/shrubbery.py
Ustabil/Python-part-one
a7425d030353555479cc00ab1c12973645174919
[ "MIT" ]
null
null
null
mini_projects/shrubbery/shrubbery.py
Ustabil/Python-part-one
a7425d030353555479cc00ab1c12973645174919
[ "MIT" ]
null
null
null
mini_projects/shrubbery/shrubbery.py
Ustabil/Python-part-one
a7425d030353555479cc00ab1c12973645174919
[ "MIT" ]
null
null
null
# program template for mini-project 0 # Modify the print statement according to # the mini-project instructions #CodeSkulptor link: #http://www.codeskulptor.org/#user40_lXiJqEZDdrSdSu5.py print "We want... a shrubbery!"
24.777778
55
0.775785
30
223
5.733333
0.833333
0.127907
0
0
0
0
0
0
0
0
0
0.020513
0.125561
223
9
56
24.777778
0.861538
0.793722
0
0
0
0
0.575
0
0
0
0
0
0
0
null
null
0
0
null
null
1
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
1
0
0
0
0
0
0
1
0
3
0876327c3db93ae487536c85d5fb4d25a82f9e0d
505
py
Python
create_indexes.py
AuthEceSoftEng/jira-apache-downloader
91420cf48cd6536d4eaa75d9ac8cc0aef8707a2e
[ "Apache-2.0" ]
null
null
null
create_indexes.py
AuthEceSoftEng/jira-apache-downloader
91420cf48cd6536d4eaa75d9ac8cc0aef8707a2e
[ "Apache-2.0" ]
null
null
null
create_indexes.py
AuthEceSoftEng/jira-apache-downloader
91420cf48cd6536d4eaa75d9ac8cc0aef8707a2e
[ "Apache-2.0" ]
null
null
null
import pymongo from properties import database_host_and_port if __name__ == "__main__": client = pymongo.MongoClient(database_host_and_port) db = client["jidata"] db["issues"].create_index('projectname') db["users"].create_index('projectname') db["comments"].create_index('issue') db["comments"].create_i...
33.666667
54
0.732673
62
505
5.612903
0.387097
0.252874
0.316092
0.275862
0
0
0
0
0
0
0
0
0.09703
505
14
55
36.071429
0.763158
0
0
0
0
0
0.283096
0
0
0
0
0
0
1
0
false
0
0.153846
0
0.153846
0
0
0
0
null
1
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
3
0885074f865bfe24d93aa66768492ceee9aef633
481
py
Python
captain_hook/comms/base/base_comm.py
brantje/captain_hook
dde076a96afffa2235b7d8d01d47c4e61099c6b6
[ "Apache-2.0" ]
2
2017-11-11T22:25:42.000Z
2017-12-11T20:56:10.000Z
captain_hook/comms/base/base_comm.py
captainhookbot/captain_hook
1693c4f20b383ec90d0d7f269907a7376d98f9d5
[ "Apache-2.0" ]
3
2017-11-11T22:25:28.000Z
2017-11-20T19:36:54.000Z
captain_hook/comms/base/base_comm.py
brantje/telegram-github-bot
dde076a96afffa2235b7d8d01d47c4e61099c6b6
[ "Apache-2.0" ]
1
2018-01-04T16:18:02.000Z
2018-01-04T16:18:02.000Z
from __future__ import absolute_import import yaml from os.path import join class BaseComm: def __init__(self, config): self.config = config def setup(self): raise NotImplementedError def communicate(self): raise NotImplementedError def _load_config(self): config_fil...
22.904762
71
0.675676
58
481
5.310345
0.482759
0.12987
0.103896
0.201299
0
0
0
0
0
0
0
0
0.241164
481
20
72
24.05
0.843836
0
0
0.133333
0
0
0.022869
0
0
0
0
0
0
1
0.266667
false
0
0.2
0
0.6
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
1
0
0
3
0896da6ab0ee9ef54f1ef8cd0390dc3e2edcb2b8
544
py
Python
rllib/agent/on_policy/expected_actor_critic_agent.py
shenao-zhang/DCPU
0da9aa2b7878b54ba4ee4dca894c2e86cdc0d559
[ "MIT" ]
8
2020-10-23T07:52:19.000Z
2022-03-06T13:35:12.000Z
rllib/agent/on_policy/expected_actor_critic_agent.py
shenao-zhang/DCPU
0da9aa2b7878b54ba4ee4dca894c2e86cdc0d559
[ "MIT" ]
3
2021-03-04T13:44:01.000Z
2021-03-23T09:57:50.000Z
rllib/agent/on_policy/expected_actor_critic_agent.py
shenao-zhang/DCPU
0da9aa2b7878b54ba4ee4dca894c2e86cdc0d559
[ "MIT" ]
3
2021-03-18T08:23:56.000Z
2021-07-06T11:20:12.000Z
"""Implementation of Expected-Actor Critic Agent.""" from rllib.algorithms.eac import ExpectedActorCritic from .actor_critic_agent import ActorCriticAgent class ExpectedActorCriticAgent(ActorCriticAgent): """Implementation of the Advantage-Actor Critic. TODO: build compatible function approximation. Re...
27.2
73
0.715074
53
544
7.132075
0.716981
0.087302
0.084656
0
0
0
0
0
0
0
0
0.00883
0.167279
544
19
74
28.631579
0.825607
0.424632
0
0
0
0
0
0
0
0
0
0.052632
0
1
0.2
false
0
0.4
0
0.8
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
1
0
1
0
0
3
08b183fc05abaf84c1521ee44f8443df69d1ab7b
1,977
py
Python
main/academy/migrations/0001_initial.py
UsamaKashif/studentutor
7aa5407ac81134a49e474726220e48beaadc9390
[ "MIT" ]
7
2021-01-17T23:10:15.000Z
2021-02-01T21:35:36.000Z
main/academy/migrations/0001_initial.py
DiveshTheReal/studentutor
0d3ef57887bde4dd2ee40d68015598f9c8052ffd
[ "MIT" ]
7
2021-01-17T15:10:47.000Z
2022-03-12T00:53:49.000Z
main/academy/migrations/0001_initial.py
DiveshTheReal/studentutor
0d3ef57887bde4dd2ee40d68015598f9c8052ffd
[ "MIT" ]
3
2021-01-18T09:36:16.000Z
2021-01-20T16:29:40.000Z
# Generated by Django 3.0.4 on 2020-08-31 17:24 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] ope...
47.071429
135
0.624684
201
1,977
5.965174
0.427861
0.135113
0.187656
0.195163
0.229358
0.194329
0
0
0
0
0
0.027315
0.240769
1,977
41
136
48.219512
0.771486
0.022762
0
0
1
0
0.157513
0.068394
0
0
0
0
0
1
0
false
0
0.088235
0
0.205882
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
08b4896ce6a06c1ce93184deab135ee8a6b8263f
5,619
py
Python
regaudio.py
janhradek/regaudio
e3ead0b19f016c645985e5f779414076306be7e0
[ "Zlib" ]
null
null
null
regaudio.py
janhradek/regaudio
e3ead0b19f016c645985e5f779414076306be7e0
[ "Zlib" ]
null
null
null
regaudio.py
janhradek/regaudio
e3ead0b19f016c645985e5f779414076306be7e0
[ "Zlib" ]
null
null
null
#!/usr/bin/env python ''' Created on Mar 8, 2012 @author: Jan Hradek, jan.hradek@gmx.com Requirements - Python 3 - PyQt4 - SQLAlchemy - SQLite - numpy (diff) Features - filter tracks case insensitive, advanced filetring: !a:artist !n:name !r:rating - groups, group selector, favorites (first in the selector) - filter...
45.682927
186
0.763125
881
5,619
4.855846
0.447219
0.008181
0.005143
0
0
0
0
0
0
0
0
0.007355
0.177256
5,619
122
187
46.057377
0.918019
0.008187
0
0
0
0
0.027491
0
0
0
0
0.016393
0
0
null
null
0
0.384615
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
1
0
1
0
0
0
1
0
0
0
0
3
08ebcdf56020420591b6dc690271632fd452f215
204
py
Python
annotations/urls.py
connectik/digital-manifesto
497e5ad1d154525be28802e012e2443c7d4b386b
[ "MIT" ]
null
null
null
annotations/urls.py
connectik/digital-manifesto
497e5ad1d154525be28802e012e2443c7d4b386b
[ "MIT" ]
null
null
null
annotations/urls.py
connectik/digital-manifesto
497e5ad1d154525be28802e012e2443c7d4b386b
[ "MIT" ]
null
null
null
from __future__ import absolute_import, unicode_literals from django.conf.urls import url, include from . import views, api_urls urlpatterns = [ url(r'^api/', include(api_urls, namespace='api')) ]
20.4
56
0.75
28
204
5.178571
0.571429
0.096552
0
0
0
0
0
0
0
0
0
0
0.142157
204
9
57
22.666667
0.828571
0
0
0
0
0
0.039216
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
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
1
0
0
0
0
3
3e97c0c424a5c21ca5c2994e09d6b97d8e52766b
75
py
Python
test.py
cooool/doublejian
dd3c354f12d5d786f17fb9dfc046f1cb9640353c
[ "MIT" ]
null
null
null
test.py
cooool/doublejian
dd3c354f12d5d786f17fb9dfc046f1cb9640353c
[ "MIT" ]
null
null
null
test.py
cooool/doublejian
dd3c354f12d5d786f17fb9dfc046f1cb9640353c
[ "MIT" ]
null
null
null
def main(): print ("hello") return 0 if __name__ == '__main__': main()
10.714286
26
0.613333
10
75
3.8
0.8
0
0
0
0
0
0
0
0
0
0
0.016667
0.2
75
6
27
12.5
0.616667
0
0
0
0
0
0.173333
0
0
0
0
0
0
1
0.2
true
0
0
0
0.4
0.2
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
1
0
0
0
0
0
0
3
3e9d05cf3bd1ddd63fddebc832136adfc173e8c3
462
py
Python
queries/charQuery.py
Kadantte/AniPy-Bot
0fa3069f53bf5af369243f4ec0c625b820df3542
[ "MIT" ]
11
2021-03-28T01:43:16.000Z
2022-01-17T03:19:34.000Z
queries/charQuery.py
Kadantte/AniPy-Bot
0fa3069f53bf5af369243f4ec0c625b820df3542
[ "MIT" ]
1
2020-09-02T14:14:22.000Z
2020-09-12T11:44:09.000Z
queries/charQuery.py
Kadantte/AniPy-Bot
0fa3069f53bf5af369243f4ec0c625b820df3542
[ "MIT" ]
3
2021-03-28T01:43:19.000Z
2022-01-23T15:04:22.000Z
def searchChar(): query = ''' query ($search: String) { Character(search: $search) { siteUrl name { full } media(perPage: 1) { nodes { title { romaji english } siteUrl ...
18.48
35
0.337662
27
462
5.777778
0.814815
0
0
0
0
0
0
0
0
0
0
0.005155
0.580087
462
25
36
18.48
0.798969
0
0
0.08
0
0
0.876993
0
0
0
0
0
0
1
0.04
false
0
0
0
0.08
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
3ea27441ba9312dd9a4ca203b505bb7f4213b16c
1,808
py
Python
web_scraping/beautifulsoup/bs4_sample2.py
manual123/Nacho-Jupyter-Notebooks
e75523434b1a90313a6b44e32b056f63de8a7135
[ "MIT" ]
2
2021-02-13T05:52:05.000Z
2022-02-08T09:52:35.000Z
web_scraping/beautifulsoup/bs4_sample2.py
manual123/Nacho-Jupyter-Notebooks
e75523434b1a90313a6b44e32b056f63de8a7135
[ "MIT" ]
null
null
null
web_scraping/beautifulsoup/bs4_sample2.py
manual123/Nacho-Jupyter-Notebooks
e75523434b1a90313a6b44e32b056f63de8a7135
[ "MIT" ]
null
null
null
from pprint import pprint import re from bs4 import BeautifulSoup html_content = open('bs_sample.html') # http://dl.dropbox.com/u/49962071/blog/python/resource/bs_sample.html soup = BeautifulSoup(html_content) # making soap for tag in soup.find_all(re.compile("^p")): # find all tag start with p print tag.name fo...
33.481481
120
0.726217
312
1,808
4.070513
0.25641
0.143307
0.138583
0.174016
0.432283
0.313386
0.294488
0.294488
0.216535
0.119685
0
0.01404
0.133296
1,808
53
121
34.113208
0.796426
0.323009
0
0.1875
0
0
0.076795
0
0
0
0
0
0
0
null
null
0
0.09375
null
null
0.65625
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
1
0
3
3ecb8dcf33ce7064175d45f7a656086181a056bc
792
py
Python
mozdns/sshfp/views.py
jlin/inventory
c098c98e570c3bf9fadfd811eb75e1213f6ea428
[ "BSD-3-Clause" ]
22
2015-01-16T01:36:32.000Z
2020-06-08T00:46:18.000Z
mozdns/sshfp/views.py
jlin/inventory
c098c98e570c3bf9fadfd811eb75e1213f6ea428
[ "BSD-3-Clause" ]
8
2015-12-28T18:56:19.000Z
2019-04-01T17:33:48.000Z
mozdns/sshfp/views.py
jlin/inventory
c098c98e570c3bf9fadfd811eb75e1213f6ea428
[ "BSD-3-Clause" ]
13
2015-01-13T20:56:22.000Z
2022-02-23T06:01:17.000Z
# Create your views here. from mozdns.views import MozdnsDeleteView from mozdns.views import MozdnsCreateView from mozdns.views import MozdnsDetailView from mozdns.views import MozdnsUpdateView from mozdns.views import MozdnsListView from mozdns.sshfp.models import SSHFP from mozdns.sshfp.forms import SSHFPForm class...
22
51
0.752525
79
792
7.506329
0.417722
0.118044
0.126476
0.177066
0
0
0
0
0
0
0
0
0.151515
792
35
52
22.628571
0.88244
0.02904
0
0
0
0
0.031421
0.031421
0
0
0
0
0
1
0
false
0
0.411765
0
1
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
1
0
0
3
3ef676c2ef7ca8097b0f9bd78425f92fa6c5e15b
467
py
Python
bulletin/tools/plugins/api/job/views.py
rerb/django-bulletin
0b64c9f2eeef4f60c54b54e720b7160aeafa9eb5
[ "MIT" ]
5
2015-03-13T19:17:23.000Z
2016-08-07T00:12:23.000Z
bulletin/tools/plugins/api/job/views.py
rerb/django-bulletin
0b64c9f2eeef4f60c54b54e720b7160aeafa9eb5
[ "MIT" ]
54
2015-03-13T20:04:03.000Z
2021-07-21T05:25:20.000Z
bulletin/tools/plugins/api/job/views.py
rerb/django-bulletin
0b64c9f2eeef4f60c54b54e720b7160aeafa9eb5
[ "MIT" ]
5
2015-02-12T20:19:19.000Z
2020-02-26T22:11:47.000Z
from bulletin.api import permissions from bulletin.api.views import PostList, PostDetail import serializers from bulletin.tools.plugins.models import Job class JobList(PostList): queryset = Job.objects.all() serializer_class = serializers.JobSerializer permission_classes = (permissions.IsAdminUserOrReadOn...
29.1875
61
0.807281
47
467
7.93617
0.510638
0.096515
0.080429
0.209115
0.47185
0.47185
0.47185
0.47185
0
0
0
0
0.124197
467
15
62
31.133333
0.91198
0
0
0.363636
0
0
0
0
0
0
0
0
0
1
0
false
0
0.363636
0
1
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
1
0
0
3
410d04f3e0c9673e95799eb83ab78aaa9b5b2e28
316
py
Python
MagniPy/MassModels/Sersic.py
dangilman/MagniPy
820b82ea0f6559c895f11c92d93de475a92d38b0
[ "MIT" ]
2
2020-02-20T02:27:16.000Z
2020-02-20T08:38:23.000Z
MagniPy/MassModels/Sersic.py
dangilman/MagniPy
820b82ea0f6559c895f11c92d93de475a92d38b0
[ "MIT" ]
1
2021-11-15T17:50:20.000Z
2021-11-15T17:50:20.000Z
MagniPy/MassModels/Sersic.py
dangilman/MagniPy
820b82ea0f6559c895f11c92d93de475a92d38b0
[ "MIT" ]
null
null
null
import numpy as np class Sersic: def b(self,n): return 1.9992*n - 0.3271 + 4*(405*n)**-1 def kappa(self,x, y, n_sersic, r_eff, k_eff, q, center_x=0, center_y=0): bn = self.b(n_sersic) r = (x**2+y**2*q**-2)**0.5 return k_eff*np.exp(-bn*((r*r_eff**-1)**(n_sersic**-1)-1))
21.066667
76
0.531646
66
316
2.409091
0.439394
0.132075
0.100629
0
0
0
0
0
0
0
0
0.104603
0.243671
316
14
77
22.571429
0.560669
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.125
0.125
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
1
0
0
0
1
1
0
0
3
410f51b5e4ffe4177fce55476247eff67c4b8b1e
266
py
Python
tvrenamer/processors/__init__.py
shad7/tvrenamer
7fb59cb02669357e73b7acb92dcb6d74fdff4654
[ "MIT" ]
1
2017-11-25T05:01:24.000Z
2017-11-25T05:01:24.000Z
tvrenamer/processors/__init__.py
shad7/tvrenamer
7fb59cb02669357e73b7acb92dcb6d74fdff4654
[ "MIT" ]
2
2015-09-19T05:08:58.000Z
2016-12-15T18:52:07.000Z
tvrenamer/processors/__init__.py
shad7/tvrenamer
7fb59cb02669357e73b7acb92dcb6d74fdff4654
[ "MIT" ]
2
2019-05-10T12:36:04.000Z
2021-01-03T19:59:45.000Z
"""Result processors plugins""" from tvrenamer.processors import base def load(): """Load all processor plugins that are enabled. :returns: priority sorted processor plugins (high to low) :rtype: list """ return base.EnabledExtensionManager()
22.166667
61
0.706767
30
266
6.266667
0.8
0.170213
0
0
0
0
0
0
0
0
0
0
0.195489
266
11
62
24.181818
0.878505
0.533835
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
true
0
0.333333
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
0
null
0
0
0
0
0
1
1
0
1
0
0
0
0
3
410faa8833b015933309b2966f2094f8d9eb0bbe
469
py
Python
airbyte-integrations/connectors/source-freshdesk/unit_tests/conftest.py
heap/airbyte
35e65f444f38b617a12e12d425da2115f08b5f14
[ "MIT" ]
22
2020-08-27T00:47:20.000Z
2020-09-17T15:39:39.000Z
airbyte-integrations/connectors/source-freshdesk/unit_tests/conftest.py
heap/airbyte
35e65f444f38b617a12e12d425da2115f08b5f14
[ "MIT" ]
116
2020-08-27T01:11:27.000Z
2020-09-19T02:47:52.000Z
airbyte-integrations/connectors/source-freshdesk/unit_tests/conftest.py
heap/airbyte
35e65f444f38b617a12e12d425da2115f08b5f14
[ "MIT" ]
1
2020-09-15T06:10:01.000Z
2020-09-15T06:10:01.000Z
# # Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import pytest from requests.auth import HTTPBasicAuth @pytest.fixture(name="config") def config_fixture(): return {"domain": "test.freshdesk.com", "api_key": "secret_api_key", "requests_per_minute": 50, "start_date": "2002-02-10T22:21:44Z"} @pytest.f...
27.588235
137
0.748401
62
469
5.467742
0.66129
0.070796
0.100295
0
0
0
0
0
0
0
0
0.047506
0.102345
469
16
138
29.3125
0.75772
0.115139
0
0
0
0
0.3382
0
0
0
0
0
0
1
0.25
false
0.125
0.25
0.25
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
1
0
1
0
1
0
0
0
3
41104ce66f2e695487c480bc1b7cbb77c1757213
2,198
py
Python
keystone/managers/grant.py
admiyo/keystone
9452cf04bc8b0a4dc66dc640615d5ace1ca715f2
[ "Apache-2.0" ]
null
null
null
keystone/managers/grant.py
admiyo/keystone
9452cf04bc8b0a4dc66dc640615d5ace1ca715f2
[ "Apache-2.0" ]
null
null
null
keystone/managers/grant.py
admiyo/keystone
9452cf04bc8b0a4dc66dc640615d5ace1ca715f2
[ "Apache-2.0" ]
null
null
null
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # # Copyright (C) 2011 OpenStack 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...
36.633333
78
0.692903
312
2,198
4.61859
0.352564
0.049965
0.069396
0.077724
0.388619
0.259542
0.176266
0.047189
0
0
0
0.008844
0.228389
2,198
59
79
37.254237
0.840802
0.341219
0
0
0
0
0
0
0
0
0
0
0
1
0.375
false
0
0.083333
0.25
0.833333
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
1
0
0
3
4114ad11510ac8b3f8aeddc42b34c107740ceb7f
971
py
Python
define_jogadores.py
LuizArthur135/Joga-da-velha
3458e817cd69485c77ba62f5a681f0fac02e77fb
[ "MIT" ]
null
null
null
define_jogadores.py
LuizArthur135/Joga-da-velha
3458e817cd69485c77ba62f5a681f0fac02e77fb
[ "MIT" ]
null
null
null
define_jogadores.py
LuizArthur135/Joga-da-velha
3458e817cd69485c77ba62f5a681f0fac02e77fb
[ "MIT" ]
null
null
null
jogadores = { "jogador_1":{ "name": "", "escolha": "" }, "jogador_2":{ "name": "", "escolha": "" } } def inicia_jogadores(): jogadores["jogador_1"]["name"] = str(input('Qual e seu nome? ')) jogadores["jogador_2"]["name"] = str(input('Nome da pessoa que vai joga...
34.678571
118
0.572606
115
971
4.695652
0.313043
0.355556
0.283333
0.266667
0.240741
0.240741
0.151852
0
0
0
0
0.016971
0.211123
971
28
119
34.678571
0.68799
0
0
0.166667
0
0
0.365602
0.033986
0
0
0
0
0
1
0.083333
false
0
0
0
0.125
0
0
0
0
null
1
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
3
411d0798771df7a1a46f816c1d57d8fdf5e8ae07
183
py
Python
firmware/bait/git_rev_macro.py
dkadish/BioAcousticIndexTool
19dc3e6abbc1e19fdee5a3d9aa8ac9356c02f3f9
[ "MIT" ]
1
2022-03-28T09:05:39.000Z
2022-03-28T09:05:39.000Z
firmware/bait/git_rev_macro.py
dkadish/BioAcousticIndexTool
19dc3e6abbc1e19fdee5a3d9aa8ac9356c02f3f9
[ "MIT" ]
null
null
null
firmware/bait/git_rev_macro.py
dkadish/BioAcousticIndexTool
19dc3e6abbc1e19fdee5a3d9aa8ac9356c02f3f9
[ "MIT" ]
null
null
null
#!/Users/davk/anaconda/envs/platformio_setup python import subprocess revision = subprocess.check_output(["git", "rev-parse", "HEAD"]).strip() print('-DPIO_SRC_REV="%s"' % revision)
30.5
72
0.737705
24
183
5.458333
0.875
0
0
0
0
0
0
0
0
0
0
0
0.071038
183
6
73
30.5
0.770588
0.273224
0
0
0
0
0.255639
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.333333
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
1
0
0
0
0
3
f5ac4ade81ddb4fd69115c61dff1d2328558f77e
93
py
Python
gocd_tools/cli/secrets.py
rasmunk/gocd-tools
2567756d993d1b323bde2b2903457df598f19dc6
[ "MIT" ]
null
null
null
gocd_tools/cli/secrets.py
rasmunk/gocd-tools
2567756d993d1b323bde2b2903457df598f19dc6
[ "MIT" ]
null
null
null
gocd_tools/cli/secrets.py
rasmunk/gocd-tools
2567756d993d1b323bde2b2903457df598f19dc6
[ "MIT" ]
null
null
null
def add_secrets_groups(parser): _ = parser.add_argument_group(title="Secrets arguments")
31
60
0.784946
12
93
5.666667
0.75
0
0
0
0
0
0
0
0
0
0
0
0.107527
93
2
61
46.5
0.819277
0
0
0
0
0
0.182796
0
0
0
0
0
0
1
0.5
false
0
0
0
0.5
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
1
0
0
0
0
0
0
0
3
f5b6464ad0f2f6693ea5ae1bd4da88843a994745
432
py
Python
test_model/models.py
Lairion/defaultproject
8b21e81a24b9de3f6fbc45217e6202c7d0c7b09b
[ "MIT" ]
null
null
null
test_model/models.py
Lairion/defaultproject
8b21e81a24b9de3f6fbc45217e6202c7d0c7b09b
[ "MIT" ]
3
2020-02-11T23:30:09.000Z
2021-06-10T21:03:00.000Z
test_model/models.py
Lairion/defaultproject
8b21e81a24b9de3f6fbc45217e6202c7d0c7b09b
[ "MIT" ]
null
null
null
from django.db import models # Create your models here. class Category(models.Model): """ Description: Model Description """ name = models.CharField(max_length=50) class Meta: pass class Skill(models.Model): """ Description: Model Description """ name = models.CharField(ma...
21.6
70
0.659722
49
432
5.755102
0.489796
0.22695
0.156028
0.191489
0.48227
0.48227
0.48227
0.48227
0.48227
0.48227
0
0.012085
0.233796
432
20
71
21.6
0.839879
0.201389
0
0.6
0
0
0.025397
0
0
0
0
0
0
1
0
false
0.2
0.1
0
0.8
0
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
1
0
0
0
0
0
3
f5cad87e67af8428ad5ef20a752b3a5941eb6d62
1,634
py
Python
mirari/SV/migrations/0006_auto_20190310_1346.py
gcastellan0s/mirariapp
24a9db06d10f96c894d817ef7ccfeec2a25788b7
[ "MIT" ]
null
null
null
mirari/SV/migrations/0006_auto_20190310_1346.py
gcastellan0s/mirariapp
24a9db06d10f96c894d817ef7ccfeec2a25788b7
[ "MIT" ]
18
2019-12-27T19:58:20.000Z
2022-02-27T08:17:49.000Z
mirari/SV/migrations/0006_auto_20190310_1346.py
gcastellan0s/mirariapp
24a9db06d10f96c894d817ef7ccfeec2a25788b7
[ "MIT" ]
null
null
null
# Generated by Django 2.0.5 on 2019-03-10 19:46 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('SV', '0005_auto_20190305_0116'), ] operations = [ migrations.RemoveField( model_name='cut', name='user', ), ...
28.172414
74
0.542228
142
1,634
6.140845
0.373239
0.09289
0.229358
0.266055
0.655963
0.622706
0.568807
0.568807
0.568807
0.568807
0
0.039963
0.341493
1,634
57
75
28.666667
0.770446
0.02754
0
0.647059
1
0
0.113422
0.014493
0
0
0
0
0
1
0
false
0
0.019608
0
0.078431
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
eb29de2bf82ce73540f4d725d6cbc32d6cc13b9d
1,505
py
Python
encrypt_decrypt_app/atbash_cipher_tests.py
Chika-Jinanwa/chikas-cipher
91e7139f11132c885bd8872d705ffe3d0ca51b7d
[ "MIT" ]
null
null
null
encrypt_decrypt_app/atbash_cipher_tests.py
Chika-Jinanwa/chikas-cipher
91e7139f11132c885bd8872d705ffe3d0ca51b7d
[ "MIT" ]
9
2021-03-30T14:05:43.000Z
2022-03-12T00:44:58.000Z
encrypt_decrypt_app/atbash_cipher_tests.py
Chika-Jinanwa/chikas-cipher
91e7139f11132c885bd8872d705ffe3d0ca51b7d
[ "MIT" ]
null
null
null
import unittest from atbash_cipher import AtbashCipher test = AtbashCipher() #instantiate test caesar cipher class class AtbashCipherEncryptTests(unittest.TestCase): def test_empty_string(self): self.assertMultiLineEqual(test.encrypt(''), '') def test_string_with_only_spaces(self): self.asser...
30.714286
82
0.675748
169
1,505
5.786982
0.313609
0.071575
0.286299
0.327198
0.669734
0.669734
0.640082
0.611452
0.484663
0.372188
0
0.001686
0.21196
1,505
49
83
30.714286
0.822934
0.110299
0
0.5625
0
0
0.059835
0
0
0
0
0
0.3125
1
0.3125
false
0
0.0625
0
0.4375
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
1
0
0
0
0
0
0
0
3
eb2b6976836256764c092847b3fb54a03a509567
495
py
Python
dps/common.py
Kel0/django-parrallel-sessions
540f2f72fdf85a45b713e3ef564730ba37620863
[ "Apache-2.0" ]
null
null
null
dps/common.py
Kel0/django-parrallel-sessions
540f2f72fdf85a45b713e3ef564730ba37620863
[ "Apache-2.0" ]
null
null
null
dps/common.py
Kel0/django-parrallel-sessions
540f2f72fdf85a45b713e3ef564730ba37620863
[ "Apache-2.0" ]
null
null
null
from typing import Protocol class VEnvProtocol(Protocol): path = None def activate(self): """ Activate virtual environment """ class VEnvTypeProtocol(Protocol): _manager = None def validate(self, *args, **kwargs): """ Make sure that venv is exist """...
15.967742
46
0.60202
52
495
5.596154
0.634615
0.04811
0
0
0
0
0
0
0
0
0
0
0.313131
495
30
47
16.5
0.855882
0.115152
0
0.214286
0
0
0
0
0
0
0
0
0
1
0.357143
false
0.214286
0.071429
0
0.785714
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
1
0
0
3
de17ae0170d31c996c1793b14ab17fdda3f3c5f2
96
py
Python
Ex5.py
zelfg/Exercicios_LP_1B
6c4815ff484144c3aa83dd8e2404f3640cd00c33
[ "MIT" ]
null
null
null
Ex5.py
zelfg/Exercicios_LP_1B
6c4815ff484144c3aa83dd8e2404f3640cd00c33
[ "MIT" ]
null
null
null
Ex5.py
zelfg/Exercicios_LP_1B
6c4815ff484144c3aa83dd8e2404f3640cd00c33
[ "MIT" ]
null
null
null
algo = bool(input("Digite alguma coisa: ")) print("O valor {} é int?".format(algo).isnumeric())
32
51
0.666667
14
96
4.571429
0.928571
0
0
0
0
0
0
0
0
0
0
0
0.114583
96
3
51
32
0.752941
0
0
0
0
0
0.391753
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
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
1
0
3
de1f478532b8b895f27c5a210aaa3066c51b04ab
1,000
py
Python
lib/assets/Lib/browser/timer.py
s6007589/cafe-grader-web
18a993801c698fb7b7ec6ae5f4b67920503cb242
[ "MIT" ]
25
2016-09-04T07:34:13.000Z
2022-02-14T07:39:02.000Z
lib/assets/Lib/browser/timer.py
it56660024/cafe-grader-web
e9a1305fd62e79e54f6961f97ddc5cd57bafd73c
[ "MIT" ]
25
2015-02-05T03:59:27.000Z
2022-02-11T16:54:04.000Z
lib/assets/Lib/browser/timer.py
it56660024/cafe-grader-web
e9a1305fd62e79e54f6961f97ddc5cd57bafd73c
[ "MIT" ]
16
2016-09-05T00:30:27.000Z
2021-12-05T11:07:02.000Z
from browser import window def wrap(func): # Transforms a function f into another function that prints a # traceback in case of exception def f(*args, **kw): try: return func(*args, **kw) except Exception as exc: msg = '{0.info}\n{0.__name__}: {0.args[0]}'.f...
29.411765
70
0.67
131
1,000
4.954198
0.503817
0.07396
0.05547
0.058552
0
0
0
0
0
0
0
0.005249
0.238
1,000
34
71
29.411765
0.846457
0.154
0
0
0
0
0.04321
0.028395
0
0
0
0
0.043478
1
0.304348
false
0
0.086957
0.130435
0.608696
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
1
0
0
3
de673984cceda65bd178428442df28f88d0faa8e
644
py
Python
Section 2 - Data (variables, assignments and expressions)/Breakouts/Breakout 2.1 - Turtle Graphics/Q5 - random walk solution.py
gitjot/python-for-lccs
a8a4ae8847abbc33361f80183c06d57b20523382
[ "CC0-1.0" ]
10
2020-02-14T14:28:15.000Z
2022-02-02T18:44:11.000Z
Section 2 - Data (variables, assignments and expressions)/Breakouts/Breakout 2.1 - Turtle Graphics/Q5 - random walk solution.py
gitjot/python-for-lccs
a8a4ae8847abbc33361f80183c06d57b20523382
[ "CC0-1.0" ]
null
null
null
Section 2 - Data (variables, assignments and expressions)/Breakouts/Breakout 2.1 - Turtle Graphics/Q5 - random walk solution.py
gitjot/python-for-lccs
a8a4ae8847abbc33361f80183c06d57b20523382
[ "CC0-1.0" ]
8
2020-03-25T09:27:42.000Z
2021-11-03T15:24:38.000Z
# Event: LCCS Python Fundamental Skills Workshop # Date: May 2018 # Author: Joe English, PDST # eMail: computerscience@pdst.ie # Purpose: Solution to Q5 page 53 from turtle import * from random import * angle = randint(0, 360) lineLen = randint(50, 100) left(angle) forward(lineLen) angle = randint(0, 3...
18.4
49
0.689441
89
644
4.988764
0.393258
0.135135
0.146396
0.18018
0.653153
0.653153
0.653153
0.653153
0.653153
0.653153
0
0.100193
0.194099
644
34
50
18.941176
0.755299
0.232919
0
0.909091
0
0
0
0
0
0
0
0
0
1
0
false
0
0.090909
0
0.090909
0
0
0
0
null
0
0
1
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
3
de70758183508a0b1ad60babb2d191569d833077
102
py
Python
Python/Programming Basics/Simple Conditional Statements/09. Password Guess.py
teodoramilcheva/softuni-software-engineering
98dc9faa66f42570f6538fd7ef186d2bd1d39bff
[ "MIT" ]
null
null
null
Python/Programming Basics/Simple Conditional Statements/09. Password Guess.py
teodoramilcheva/softuni-software-engineering
98dc9faa66f42570f6538fd7ef186d2bd1d39bff
[ "MIT" ]
null
null
null
Python/Programming Basics/Simple Conditional Statements/09. Password Guess.py
teodoramilcheva/softuni-software-engineering
98dc9faa66f42570f6538fd7ef186d2bd1d39bff
[ "MIT" ]
null
null
null
a = input() b = 's3cr3t!P@ssw0rd' if a == b: print('Welcome') else: print('Wrong password!')
12.75
28
0.568627
15
102
3.866667
0.8
0
0
0
0
0
0
0
0
0
0
0.037975
0.22549
102
7
29
14.571429
0.696203
0
0
0
0
0
0.362745
0
0
0
0
0
0
1
0
false
0.166667
0
0
0
0.333333
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
1
0
0
0
0
0
3
de8b08ec0d7185e73bdca743e00149b39a542862
173
py
Python
build/lib/DataCollectTool/connector.py
Artori-kun/SpeechCommandDataCollectingTool
11cc64682e0bcff7336364b89aad06fa6872beda
[ "MIT" ]
null
null
null
build/lib/DataCollectTool/connector.py
Artori-kun/SpeechCommandDataCollectingTool
11cc64682e0bcff7336364b89aad06fa6872beda
[ "MIT" ]
null
null
null
build/lib/DataCollectTool/connector.py
Artori-kun/SpeechCommandDataCollectingTool
11cc64682e0bcff7336364b89aad06fa6872beda
[ "MIT" ]
null
null
null
import mysql.connector import pyaudio my_db = mysql.connector.connect( host="localhost", user="root", password="krifferson", database="record_sentences" )
15.727273
32
0.705202
19
173
6.315789
0.842105
0.233333
0
0
0
0
0
0
0
0
0
0
0.17341
173
10
33
17.3
0.839161
0
0
0
0
0
0.226744
0
0
0
0
0
0
1
0
false
0.125
0.25
0
0.25
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
1
0
0
0
0
0
3
debcef9633dccbc573e2419fec9629879691a1a6
90
py
Python
bem vindo.py
LucasBischof/Praticando_Python
ab14e347228e19ec4ef1ad743e3a469979619f74
[ "MIT" ]
null
null
null
bem vindo.py
LucasBischof/Praticando_Python
ab14e347228e19ec4ef1ad743e3a469979619f74
[ "MIT" ]
null
null
null
bem vindo.py
LucasBischof/Praticando_Python
ab14e347228e19ec4ef1ad743e3a469979619f74
[ "MIT" ]
null
null
null
nome = input("Qual é o seu nome ?") print("Ola",nome,"bem vindo, muito bom te ver aqui")
30
53
0.655556
17
90
3.470588
0.882353
0
0
0
0
0
0
0
0
0
0
0
0.177778
90
2
54
45
0.797297
0
0
0
0
0
0.6
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
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
1
0
3
dec5083f15b7b200f77f3d142cf373970738f85f
22,397
py
Python
tests/subscription_manager/endpoints/test_subscriptions.py
eurocontrol-swim/subscription-manager
95700334cb5d58957043c6c487b56b1dd6641ec0
[ "BSD-3-Clause" ]
null
null
null
tests/subscription_manager/endpoints/test_subscriptions.py
eurocontrol-swim/subscription-manager
95700334cb5d58957043c6c487b56b1dd6641ec0
[ "BSD-3-Clause" ]
null
null
null
tests/subscription_manager/endpoints/test_subscriptions.py
eurocontrol-swim/subscription-manager
95700334cb5d58957043c6c487b56b1dd6641ec0
[ "BSD-3-Clause" ]
null
null
null
""" Copyright 2019 EUROCONTROL ========================================== Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and...
40.06619
120
0.726392
2,751
22,397
5.590331
0.096692
0.067885
0.030236
0.021068
0.780285
0.746407
0.717992
0.680538
0.668574
0.643995
0
0.010385
0.178819
22,397
558
121
40.137993
0.825794
0.086351
0
0.655882
0
0
0.138275
0.077352
0
0
0
0
0.238235
1
0.097059
false
0.035294
0.035294
0
0.15
0
0
0
0
null
0
0
0
0
1
1
0
0
1
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
3
ded8d22ce7bb09ec089f0f9a69eedcb62b4edd3f
398
py
Python
Problems/6. Procedures and Functions/2. Methods_in_calling_order.py
wilpola/Introduction-to-programming_Python3
c7c684167806ec87e22d5bb5ca31d7e8f9d328f1
[ "MIT" ]
null
null
null
Problems/6. Procedures and Functions/2. Methods_in_calling_order.py
wilpola/Introduction-to-programming_Python3
c7c684167806ec87e22d5bb5ca31d7e8f9d328f1
[ "MIT" ]
null
null
null
Problems/6. Procedures and Functions/2. Methods_in_calling_order.py
wilpola/Introduction-to-programming_Python3
c7c684167806ec87e22d5bb5ca31d7e8f9d328f1
[ "MIT" ]
null
null
null
# @author: Ville Wilpola # @date: 2021-10-18 # Score: """ Assignment: Consider this main program: a = add(multi(3)); a = a + mod(div(a + 3)) + sub(12) Sort the method names below in the order where they are called in the program; the method called first should be at the top, and the method called last at the bottom...
16.583333
166
0.660804
71
398
3.704225
0.647887
0.102662
0.114068
0
0
0
0
0
0
0
0
0.05414
0.211055
398
24
167
16.583333
0.783439
0.874372
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
true
0
0
0
0.333333
0.333333
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
1
1
0
0
0
0
0
0
3
deeedec2b1fa69bc60ce87edd552eb23f2abfa01
375
py
Python
apps/main/api/static.py
major-hub/soil_app
ddd250161ad496afd4c8484f79500ff2657b51df
[ "MIT" ]
null
null
null
apps/main/api/static.py
major-hub/soil_app
ddd250161ad496afd4c8484f79500ff2657b51df
[ "MIT" ]
null
null
null
apps/main/api/static.py
major-hub/soil_app
ddd250161ad496afd4c8484f79500ff2657b51df
[ "MIT" ]
null
null
null
from rest_framework.views import APIView from rest_framework.response import Response from rest_framework import status from main.models import Static class StaticAPIView(APIView): def get(self, request): data = dict() for item in Static.objects.all(): data[item.key] = item.value ...
23.4375
56
0.714667
50
375
5.26
0.6
0.091255
0.193916
0
0
0
0
0
0
0
0
0.010135
0.210667
375
15
57
25
0.878378
0
0
0
0
0
0
0
0
0
0
0
0
1
0.1
false
0
0.4
0
0.7
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
0
0
0
0
0
1
0
1
0
0
3
defef9d97fd9b50e4a1d5107e2d22a7df5eba14f
2,678
py
Python
test_kb.py
jean-philippe-martin/semantic-notes
5228ce3173681095647d31532cd790d1b8327cfe
[ "Apache-2.0" ]
null
null
null
test_kb.py
jean-philippe-martin/semantic-notes
5228ce3173681095647d31532cd790d1b8327cfe
[ "Apache-2.0" ]
null
null
null
test_kb.py
jean-philippe-martin/semantic-notes
5228ce3173681095647d31532cd790d1b8327cfe
[ "Apache-2.0" ]
null
null
null
import doctest import kb import unittest class TestKB(unittest.TestCase): "Tests for kb.py." def test_get(self): d={'a': {'b': 'c'}} x = kb.KB(d) self.assertEqual(x['a']['b'], 'c') self.assertEqual(x.get('a', 'default')['b'], 'c') self.assertEqual(x.get('z', {'b': 'x'})['b'], 'x') def test_...
34.333333
91
0.572442
408
2,678
3.622549
0.169118
0.284168
0.292287
0.154263
0.660352
0.560217
0.494587
0.365359
0.365359
0.209743
0
0.002689
0.166916
2,678
78
92
34.333333
0.659794
0.03062
0
0.203125
0
0
0.128205
0
0
0
0
0
0.4375
1
0.140625
false
0
0.046875
0
0.21875
0
0
0
0
null
1
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
3
a0d68a9b5958d33a03d9b67bab26bf94551978bc
598
py
Python
Projects/project06/is-perfect-degenerate.py
tonysulfaro/CSE-331
b4f743b1127ebe531ba8417420d043e9c149135a
[ "MIT" ]
2
2019-02-13T17:49:18.000Z
2020-09-30T04:51:53.000Z
Projects/project06/is-perfect-degenerate.py
tonysulfaro/CSE-331
b4f743b1127ebe531ba8417420d043e9c149135a
[ "MIT" ]
null
null
null
Projects/project06/is-perfect-degenerate.py
tonysulfaro/CSE-331
b4f743b1127ebe531ba8417420d043e9c149135a
[ "MIT" ]
null
null
null
from BinarySearchTree import BinarySearchTree as stu bst = stu() assert bst.is_perfect(bst.root) == True assert bst.is_degenerate() == False for i in range(10): bst.insert(i) assert bst.is_degenerate() == True assert bst.is_perfect(bst.root) == False bst = stu() bst.insert(10) bst.insert(8) bst.insert(12) bst...
18.6875
52
0.720736
101
598
4.188119
0.287129
0.170213
0.208038
0.170213
0.55792
0.293144
0.293144
0.156028
0
0
0
0.032258
0.118729
598
32
53
18.6875
0.770398
0
0
0.409091
1
0
0
0
0
0
0
0
0.363636
1
0
false
0
0.045455
0
0.045455
0.090909
0
0
0
null
0
1
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
3
a0fffaef7c6157b145c368c2ac1a7f6a970f85b0
426
py
Python
examples/tts/interface.py
soarsmu/CrossASRplus
6f4f1f61d86fd8e3ffad6d4b1d537a08a13536b2
[ "MIT" ]
3
2021-05-12T02:48:06.000Z
2021-12-21T14:45:56.000Z
examples/tts/interface.py
soarsmu/CrossASRplus
6f4f1f61d86fd8e3ffad6d4b1d537a08a13536b2
[ "MIT" ]
null
null
null
examples/tts/interface.py
soarsmu/CrossASRplus
6f4f1f61d86fd8e3ffad6d4b1d537a08a13536b2
[ "MIT" ]
1
2021-06-14T11:15:35.000Z
2021-06-14T11:15:35.000Z
class TTS: def __init__(self, name): self.name = name def generateAudio(self, text: str, audio_fpath: str): """ Generate audio from text. Save the audio at audio_fpath. This is an abstract function that needs to be implemented by the child class :param text: input te...
26.625
84
0.631455
55
426
4.763636
0.6
0.114504
0.091603
0
0
0
0
0
0
0
0
0
0.302817
426
15
85
28.4
0.882155
0.483568
0
0
1
0
0
0
0
0
0
0
0
1
0.4
false
0
0
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
1
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
9d442167bdd1a60066a322ba965313586528a05b
1,638
py
Python
scripts/make_mtg_jamendo_autotagging_moodtheme.py
lucaspbastos/mirdata
e591c5411c41591e8606812df869dca1ad52ee0f
[ "BSD-3-Clause" ]
224
2019-05-08T14:46:05.000Z
2022-03-31T12:14:39.000Z
scripts/make_mtg_jamendo_autotagging_moodtheme.py
oriolcolomefont/mirdata
e591c5411c41591e8606812df869dca1ad52ee0f
[ "BSD-3-Clause" ]
492
2019-04-08T16:59:33.000Z
2022-01-19T13:50:56.000Z
scripts/make_mtg_jamendo_autotagging_moodtheme.py
oriolcolomefont/mirdata
e591c5411c41591e8606812df869dca1ad52ee0f
[ "BSD-3-Clause" ]
46
2019-04-11T15:12:18.000Z
2022-01-19T17:33:50.000Z
import argparse import csv import glob import hashlib import json import os from mirdata.validate import md5 mtg_jamendo_autotagging_moodtheme_INDEX_PATH = '../mirdata/datasets/indexes/mtg_jamendo_autotagging_moodtheme_index_1.0.json' def make_mtg_jamendo_autotagging_moodtheme_index(data_path): mtg_jamendo_auto...
39
143
0.700855
207
1,638
5.164251
0.357488
0.243218
0.235734
0.336763
0.46492
0.367633
0
0
0
0
0
0.005988
0.184371
1,638
41
144
39.95122
0.794162
0
0
0
0
0
0.21917
0.128205
0
0
0
0
0
1
0.064516
false
0
0.225806
0
0.290323
0
0
0
0
null
1
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
3
9d4872a28859b4a3abfc923c7e4a39dd56c44c1d
310
py
Python
geolog_core/util.py
tobiasgrubenmann/geolog_addin
311c7e497d8a77d4a1057c71355def136b6c530a
[ "Apache-2.0" ]
null
null
null
geolog_core/util.py
tobiasgrubenmann/geolog_addin
311c7e497d8a77d4a1057c71355def136b6c530a
[ "Apache-2.0" ]
null
null
null
geolog_core/util.py
tobiasgrubenmann/geolog_addin
311c7e497d8a77d4a1057c71355def136b6c530a
[ "Apache-2.0" ]
null
null
null
# Util # # Author: Tobias Grubenmann # Email: grubenmann@cs.uni-bonn.de # Copyright: (C) 2020 Tobias Grubenmann import uuid import pyswip prolog_types = (pyswip.Variable, pyswip.Atom, pyswip.Functor, str, unicode, int, float, bool, list) def get_new_uuid(): return str(uuid.uuid4()).replace('-', '_')
19.375
99
0.709677
42
310
5.142857
0.761905
0.148148
0
0
0
0
0
0
0
0
0
0.018868
0.145161
310
15
100
20.666667
0.796226
0.325806
0
0
0
0
0.009852
0
0
0
0
0
0
1
0.2
false
0
0.4
0.2
0.8
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
1
1
0
0
3
9d54fc656c8ae9bc25b18d4719b99cb5c47978ea
218
py
Python
pychip8/operations/jumps/goto_plus.py
edwin-jones/pychip8
da8c850cdba90cbb6d1244de3b6118be8119c67d
[ "MIT" ]
null
null
null
pychip8/operations/jumps/goto_plus.py
edwin-jones/pychip8
da8c850cdba90cbb6d1244de3b6118be8119c67d
[ "MIT" ]
4
2018-09-02T20:37:47.000Z
2018-09-08T19:11:08.000Z
pychip8/operations/jumps/goto_plus.py
edwin-jones/pychip8
da8c850cdba90cbb6d1244de3b6118be8119c67d
[ "MIT" ]
null
null
null
class GotoPlus(): def execute(self, opcode, cpu): cpu.program_counter = cpu.general_purpose_registers[0] + opcode.nnn cpu.program_counter &= 0xFFFF # restrict the PC value to two bytes or less
36.333333
82
0.688073
30
218
4.866667
0.8
0.136986
0.232877
0
0
0
0
0
0
0
0
0.011834
0.224771
218
5
83
43.6
0.852071
0.192661
0
0
0
0
0
0
0
0
0.034483
0
0
1
0.25
false
0
0
0
0.5
0
0
0
0
null
0
1
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
1
0
0
0
0
0
0
0
3
c205f11f917409476c34467d2f8853d6e5c39691
3,727
py
Python
bin/backup/restaura_backup.py
scorphus/csa
a57db407af081d53d1ebdf9bd7683221d258e7ed
[ "Apache-2.0" ]
6
2018-07-29T10:42:09.000Z
2020-12-04T17:40:35.000Z
bin/backup/restaura_backup.py
scorphus/csa
a57db407af081d53d1ebdf9bd7683221d258e7ed
[ "Apache-2.0" ]
null
null
null
bin/backup/restaura_backup.py
scorphus/csa
a57db407af081d53d1ebdf9bd7683221d258e7ed
[ "Apache-2.0" ]
3
2018-12-06T22:19:13.000Z
2019-05-29T00:45:33.000Z
#!/usr/bin/env python # -*- coding: UTF-8 -*- '''Uso: %s <arquivo_de_entrada> <nome_da_base_de_dados> Exemplo: para restaurar um backup feito no arquivo xpto.sql.bz2 na base de dados xpto_restore execute: %s xpto.sql.bz2 xpto_restore''' __author__ = 'Pablo Santiago Blum de Aguiar <pablo.aguiar@gmail.com>' __copyrigh...
40.956044
91
0.683928
513
3,727
4.906433
0.438596
0.006357
0.013111
0.009535
0.21613
0.164482
0.143822
0.143822
0.143822
0.10886
0
0.012061
0.221358
3,727
90
92
41.411111
0.855272
0.02227
0
0.162162
0
0.027027
0.616879
0.013921
0
0
0
0
0
0
null
null
0.067568
0.040541
null
null
0.081081
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
1
0
0
1
0
0
0
0
0
3
c2228f20c5057d27b5f417173c146f8ac14b0aeb
5,540
py
Python
pm/features/social_friends_features.py
aosojnik/pipeline-manager-features-models
e5232f1c1b2073253a1c505dc9fff0d3d839dd6c
[ "MIT" ]
null
null
null
pm/features/social_friends_features.py
aosojnik/pipeline-manager-features-models
e5232f1c1b2073253a1c505dc9fff0d3d839dd6c
[ "MIT" ]
null
null
null
pm/features/social_friends_features.py
aosojnik/pipeline-manager-features-models
e5232f1c1b2073253a1c505dc9fff0d3d839dd6c
[ "MIT" ]
null
null
null
from .functions import * from .functions import chain as C, flat as F FEATURES = { # input 'feat_calls_count_friends_relative': { 'inputs': [ 'feat_calls_count_friends_weekly', 'feat_calls_count_friends_total', ], 'function': relative_qualitative, 'window...
26.255924
77
0.537365
508
5,540
5.397638
0.102362
0.061269
0.066375
0.086798
0.89132
0.866521
0.735959
0.627644
0.567834
0.557622
0
0.016228
0.32148
5,540
210
78
26.380952
0.713222
0.000903
0
0.611702
0
0
0.451473
0.320441
0
0
0
0
0
1
0
false
0
0.010638
0
0.010638
0
0
0
0
null
0
0
0
1
1
1
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
3
c2264c865a5a841fa7c29fbc8e23e5581300b21f
243
py
Python
test_project/views/crashes/middlewares.py
korantu/lona
5039fa59f37cc32b9c789753af2ed8a8670ab611
[ "MIT" ]
230
2021-08-15T20:46:24.000Z
2022-03-30T10:17:43.000Z
test_project/views/crashes/middlewares.py
korantu/lona
5039fa59f37cc32b9c789753af2ed8a8670ab611
[ "MIT" ]
176
2021-08-18T08:19:37.000Z
2022-03-29T16:45:06.000Z
test_project/views/crashes/middlewares.py
korantu/lona
5039fa59f37cc32b9c789753af2ed8a8670ab611
[ "MIT" ]
13
2021-08-20T10:35:04.000Z
2022-01-17T15:49:40.000Z
from lona.view import LonaView class UnreachableView(LonaView): def handle_request(self, request): return """ <h2>Error</h2> <p>This view should be unreachable and result in a 500 response</p> """
24.3
79
0.613169
30
243
4.933333
0.833333
0
0
0
0
0
0
0
0
0
0
0.028902
0.288066
243
9
80
27
0.82659
0
0
0
0
0
0.477366
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0.142857
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
3
c2306272004b82caf5a2f7b66403c41e88502f38
867
py
Python
cleanup.py
hevangel/sp500
ff035e6c46a393324c7e2321be9fa0368edc7b25
[ "MIT" ]
3
2020-04-03T14:55:30.000Z
2021-01-20T19:36:57.000Z
cleanup.py
hevangel/stock_scraper
df4f5e56afafdb65715404b96d49fc1c0a326e70
[ "MIT" ]
null
null
null
cleanup.py
hevangel/stock_scraper
df4f5e56afafdb65715404b96d49fc1c0a326e70
[ "MIT" ]
null
null
null
# clean up CPC sheet = '' df1 = pd.read_csv(f"../stock_data/temp/{sheet}.csv", header=None, index_col=0, parse_dates=True) df2 = pd.read_csv(f"../stock_data/data_cpc/{sheet}.csv", index_col=0, parse_dates=True) df1.columns = ['PCRatio','VolumeCall','VolumePut','VolumeTotal','OpenInterestCall','OpenInterestPut','OpenInt...
57.8
143
0.720877
111
867
5.486486
0.486486
0.254516
0.394089
0.334975
0.543514
0.543514
0.426929
0.426929
0
0
0
0.022305
0.069204
867
14
144
61.928571
0.732342
0.164937
0
0
0
0
0.521558
0.1363
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
1
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
3
c23348a15c82547d254dcb5194a45039c53242cc
462
py
Python
examples/ok-source-extract/module.py
gwhitney/mkdocs-simple-plugin
b9c68821621d4aad4ef4f6345b030fb2fdf5595d
[ "Apache-2.0" ]
15
2020-10-27T11:43:10.000Z
2021-11-20T20:25:38.000Z
examples/ok-source-extract/module.py
gwhitney/mkdocs-simple-plugin
b9c68821621d4aad4ef4f6345b030fb2fdf5595d
[ "Apache-2.0" ]
43
2020-05-26T12:53:49.000Z
2022-03-31T15:04:03.000Z
examples/ok-source-extract/module.py
gwhitney/mkdocs-simple-plugin
b9c68821621d4aad4ef4f6345b030fb2fdf5595d
[ "Apache-2.0" ]
5
2020-07-19T16:10:11.000Z
2022-03-29T18:54:18.000Z
"""md ## Python Version You can put _markdown_ in triple-quoted strings in Python. """ # md # ### inline comments # # It works in inline comments. The start and end markers must be on their own # lines. # /md def main(): # noqa: D207 """<md>Main test. ### docstrings It works in docstrings. The start and ...
17.111111
77
0.664502
68
462
4.485294
0.661765
0.091803
0.059016
0.091803
0.137705
0.137705
0
0
0
0
0
0.011173
0.225108
462
26
78
17.769231
0.840782
0.798701
0
0
0
0
0.180556
0
0
0
0
0
0
1
0.333333
true
0
0
0
0.666667
0.333333
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
1
0
0
0
1
0
0
3