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
21f9b2988487a6c9f92565db95a385810938e97e
158
py
Python
wsgi.py
rudderlabs/alerta
aabf578e9d0b28cd05127ac2c3bd9bbbf9317f5b
[ "Apache-2.0" ]
1
2022-02-03T02:58:59.000Z
2022-02-03T02:58:59.000Z
wsgi.py
rudderlabs/alerta
aabf578e9d0b28cd05127ac2c3bd9bbbf9317f5b
[ "Apache-2.0" ]
13
2021-12-06T21:17:45.000Z
2022-03-20T11:58:10.000Z
wsgi.py
rudderlabs/alerta
aabf578e9d0b28cd05127ac2c3bd9bbbf9317f5b
[ "Apache-2.0" ]
null
null
null
from alerta import create_app app = create_app() #app.run(host="0.0.0.0",port=8080) # Remove above comment line if you are running in vscode debugging mode
22.571429
71
0.753165
29
158
4.034483
0.758621
0.051282
0.205128
0
0
0
0
0
0
0
0
0.059259
0.14557
158
6
72
26.333333
0.807407
0.651899
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
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
4
df172c0511369005a06defc8f1126d4a8eb0a178
152
py
Python
sect/triangulation.py
lycantropos/sect
356a334c7e49f8ed41c5f1d37fd420fbd2fba331
[ "MIT" ]
17
2020-07-06T04:26:46.000Z
2021-12-20T14:07:24.000Z
sect/triangulation.py
lycantropos/sect
356a334c7e49f8ed41c5f1d37fd420fbd2fba331
[ "MIT" ]
6
2020-07-19T13:10:45.000Z
2020-09-24T19:35:42.000Z
sect/triangulation.py
lycantropos/sect
356a334c7e49f8ed41c5f1d37fd420fbd2fba331
[ "MIT" ]
1
2020-10-31T03:58:34.000Z
2020-10-31T03:58:34.000Z
from .core.delaunay.quad_edge import QuadEdge from .core.delaunay.triangulation import Triangulation QuadEdge = QuadEdge Triangulation = Triangulation
25.333333
54
0.848684
17
152
7.529412
0.470588
0.125
0.25
0
0
0
0
0
0
0
0
0
0.098684
152
5
55
30.4
0.934307
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
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
4
df1b1e88d587c1284640b13733aec857dbd4d520
48
py
Python
test/login.py
DengJie996/demo1
a12ff2a96f3779bf5ff5610c14af3e664e3f3f14
[ "MIT" ]
null
null
null
test/login.py
DengJie996/demo1
a12ff2a96f3779bf5ff5610c14af3e664e3f3f14
[ "MIT" ]
null
null
null
test/login.py
DengJie996/demo1
a12ff2a96f3779bf5ff5610c14af3e664e3f3f14
[ "MIT" ]
null
null
null
nihaoa datou hello hello hello1 index zansan9
4.8
7
0.8125
7
48
5.571429
0.857143
0
0
0
0
0
0
0
0
0
0
0.051282
0.1875
48
9
8
5.333333
0.948718
0
0
0.285714
0
0
0
0
0
0
0
0
0
1
0
true
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
1
0
0
0
0
0
0
4
df243d81c230da8aa556c577a47438d2288669e5
246
py
Python
emilypicksup/parts/Emil.py
rohrdr/emilypicksup
985d1c7a8c5ee550eb1bf300001e8ea0e293fefe
[ "MIT" ]
2
2019-06-12T13:11:25.000Z
2019-06-19T16:17:01.000Z
emilypicksup/parts/Emil.py
rohrdr/emilypicksup
985d1c7a8c5ee550eb1bf300001e8ea0e293fefe
[ "MIT" ]
null
null
null
emilypicksup/parts/Emil.py
rohrdr/emilypicksup
985d1c7a8c5ee550eb1bf300001e8ea0e293fefe
[ "MIT" ]
null
null
null
class Emil: def __init__(self): # need to initialize some stuff return def run(self, emil, bbox): if emil: # let's try to pick and pause the loop pass else: return
14.470588
50
0.49187
30
246
3.9
0.8
0
0
0
0
0
0
0
0
0
0
0
0.45122
246
16
51
15.375
0.866667
0.268293
0
0.25
0
0
0
0
0
0
0
0
0
1
0.25
false
0.125
0
0.125
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
1
1
0
0
4
df736455ce2135bd0445d918f0402217b6a24981
59
py
Python
python/testData/refactoring/changeSignature/keywordParameterAlreadyExists.after.py
truthiswill/intellij-community
fff88cfb0dc168eea18ecb745d3e5b93f57b0b95
[ "Apache-2.0" ]
2
2019-04-28T07:48:50.000Z
2020-12-11T14:18:08.000Z
python/testData/refactoring/changeSignature/keywordParameterAlreadyExists.after.py
truthiswill/intellij-community
fff88cfb0dc168eea18ecb745d3e5b93f57b0b95
[ "Apache-2.0" ]
173
2018-07-05T13:59:39.000Z
2018-08-09T01:12:03.000Z
python/testData/refactoring/changeSignature/keywordParameterAlreadyExists.after.py
truthiswill/intellij-community
fff88cfb0dc168eea18ecb745d3e5b93f57b0b95
[ "Apache-2.0" ]
2
2020-03-15T08:57:37.000Z
2020-04-07T04:48:14.000Z
def f(x, foo=None, **kwargs): pass f(42, foo='spam')
9.833333
29
0.542373
11
59
2.909091
0.818182
0
0
0
0
0
0
0
0
0
0
0.043478
0.220339
59
5
30
11.8
0.652174
0
0
0
0
0
0.067797
0
0
0
0
0
0
1
0.333333
false
0.333333
0
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
1
0
1
0
0
0
0
0
4
10dac4a4fb4af62419ef8fa4e23849bb03fa48eb
520,161
py
Python
resources_rc.py
adnaniazi/pyimview
d1ea4c4aa543afbb9f6776086f909ee37133a213
[ "CC-BY-4.0" ]
null
null
null
resources_rc.py
adnaniazi/pyimview
d1ea4c4aa543afbb9f6776086f909ee37133a213
[ "CC-BY-4.0" ]
null
null
null
resources_rc.py
adnaniazi/pyimview
d1ea4c4aa543afbb9f6776086f909ee37133a213
[ "CC-BY-4.0" ]
null
null
null
# -*- coding: utf-8 -*- # Resource object code # # Created: Sat Jul 4 17:43:09 2015 # by: The Resource Compiler for PyQt (Qt v4.8.6) # # WARNING! All changes made in this file will be lost! from PyQt4 import QtCore qt_resource_data = b"\ \x00\x00\x2a\x4e\ \x00\ \x04\x0c\x0d\x78\x9c\xed\x9d\x05\x7c\x15\xc7\x13\x...
65.494963
105
0.727169
126,022
520,161
3.001278
0.002396
0.003189
0.002237
0.00092
0.017656
0.011834
0.009225
0.008249
0.006916
0.005988
0
0.310665
0.015384
520,161
7,941
106
65.503211
0.42783
0.000346
0
0.00429
0
0.991799
0
0
0
1
0.000015
0
0
1
0.000252
false
0
0.000126
0
0.000379
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
4
800c08a95a6f8b01c1931507cd7a08a00403ff9c
66
py
Python
instasave/__init__.py
hnrkcode/InstaSave
81dd1638a20d8191566ad30772f652a6781d6c81
[ "MIT" ]
1
2020-07-05T19:42:44.000Z
2020-07-05T19:42:44.000Z
instasave/__init__.py
hnrkcode/InstaSave
81dd1638a20d8191566ad30772f652a6781d6c81
[ "MIT" ]
null
null
null
instasave/__init__.py
hnrkcode/InstaSave
81dd1638a20d8191566ad30772f652a6781d6c81
[ "MIT" ]
2
2019-09-10T20:21:35.000Z
2019-09-19T09:43:03.000Z
name = "instasave" from .instagram import * from .utils import *
13.2
24
0.712121
8
66
5.875
0.75
0
0
0
0
0
0
0
0
0
0
0
0.181818
66
4
25
16.5
0.87037
0
0
0
0
0
0.136364
0
0
0
0
0
0
1
0
false
0
0.666667
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
0
0
0
1
0
1
0
0
4
8016231f3eb677a1ee0542dea5b8f14352d11d68
39
py
Python
yt/frontends/ramses/__init__.py
tukss/yt
8bf6fce609cad3d4b291ebd94667019ab2e18377
[ "BSD-3-Clause-Clear" ]
1
2021-09-15T08:17:43.000Z
2021-09-15T08:17:43.000Z
yt/frontends/ramses/__init__.py
tukss/yt
8bf6fce609cad3d4b291ebd94667019ab2e18377
[ "BSD-3-Clause-Clear" ]
8
2020-04-02T16:51:49.000Z
2022-01-11T14:12:44.000Z
yt/frontends/ramses/__init__.py
stonnes/yt
aad3cfa3b4ebab7838352ab467275a27c26ff363
[ "BSD-3-Clause-Clear" ]
2
2020-08-12T15:46:11.000Z
2021-02-09T13:09:17.000Z
""" API for yt.frontends.ramses """
5.571429
27
0.589744
5
39
4.6
1
0
0
0
0
0
0
0
0
0
0
0
0.205128
39
6
28
6.5
0.741935
0.692308
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
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
1
0
0
0
0
0
0
4
80175563b45dcc9de437e890376808377babcff8
56
py
Python
ex45.py
cohadar/learn-python-the-hard-way
10d88fe59a8abc5303661cfe91c6db9fa71bdd56
[ "MIT" ]
null
null
null
ex45.py
cohadar/learn-python-the-hard-way
10d88fe59a8abc5303661cfe91c6db9fa71bdd56
[ "MIT" ]
null
null
null
ex45.py
cohadar/learn-python-the-hard-way
10d88fe59a8abc5303661cfe91c6db9fa71bdd56
[ "MIT" ]
null
null
null
# How many weeks does this tutorial assume a person has?
56
56
0.785714
10
56
4.4
1
0
0
0
0
0
0
0
0
0
0
0
0.178571
56
1
56
56
0.956522
0.964286
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
803cdb6e4cd82900efe15c54b4db085666b741df
146
py
Python
chapter04/orm_migrations_demo/front/models.py
Tomtao626/django
fe945063593b4bfe82d74842f728b854b501a294
[ "Apache-2.0" ]
null
null
null
chapter04/orm_migrations_demo/front/models.py
Tomtao626/django
fe945063593b4bfe82d74842f728b854b501a294
[ "Apache-2.0" ]
null
null
null
chapter04/orm_migrations_demo/front/models.py
Tomtao626/django
fe945063593b4bfe82d74842f728b854b501a294
[ "Apache-2.0" ]
null
null
null
from django.db import models # Create your models here. class User(models.Model): """用户""" username = models.CharField(max_length=100)
16.222222
47
0.69863
20
146
5.05
0.85
0
0
0
0
0
0
0
0
0
0
0.025
0.178082
146
8
48
18.25
0.816667
0.191781
0
0
0
0
0
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
1
0
0
4
33a96600257b5a36c0e4b2e0a669787cb43dcef3
64
py
Python
venv/lib/python3.6/random.py
CMakerA/Pyflai
4c3ed66d0d046de56c4bf6a04cb6ce8ebdf34693
[ "Apache-2.0" ]
1
2018-02-14T08:33:25.000Z
2018-02-14T08:33:25.000Z
venv/lib/python3.6/random.py
CMakerA/Pyflai
4c3ed66d0d046de56c4bf6a04cb6ce8ebdf34693
[ "Apache-2.0" ]
null
null
null
venv/lib/python3.6/random.py
CMakerA/Pyflai
4c3ed66d0d046de56c4bf6a04cb6ce8ebdf34693
[ "Apache-2.0" ]
null
null
null
IntxLNK/usr/lib/python3.6/random.py
64
64
0.453125
7
64
4.142857
1
0
0
0
0
0
0
0
0
0
0
0.03125
0
64
1
64
64
0.421875
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
4
33ab170fa875c653d5ec4354a28d1936fd45667c
213
py
Python
user/views.py
Zoki92/Answerly
82b55de53ebf738dabfe125437e2537a06ad14ea
[ "MIT" ]
null
null
null
user/views.py
Zoki92/Answerly
82b55de53ebf738dabfe125437e2537a06ad14ea
[ "MIT" ]
null
null
null
user/views.py
Zoki92/Answerly
82b55de53ebf738dabfe125437e2537a06ad14ea
[ "MIT" ]
null
null
null
from django.contrib.auth.forms import UserCreationForm from django.views.generic.edit import CreateView class RegisterView(CreateView): template_name = 'user/register.html' form_class = UserCreationForm
26.625
54
0.807512
25
213
6.8
0.76
0.117647
0
0
0
0
0
0
0
0
0
0
0.122066
213
7
55
30.428571
0.909091
0
0
0
0
0
0.084507
0
0
0
0
0
0
1
0
false
0
0.4
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
1
0
0
4
33fdc4f08e9c84c80c419f7242c9961c3f40afdd
5,256
py
Python
azcam_soguiders/detectors.py
mplesser/azcam-soguiders
08c0592aa6b351c1d4f4e1a77339d0168ae7a5a0
[ "MIT" ]
null
null
null
azcam_soguiders/detectors.py
mplesser/azcam-soguiders
08c0592aa6b351c1d4f4e1a77339d0168ae7a5a0
[ "MIT" ]
null
null
null
azcam_soguiders/detectors.py
mplesser/azcam-soguiders
08c0592aa6b351c1d4f4e1a77339d0168ae7a5a0
[ "MIT" ]
null
null
null
# Database entries for detectors. detector_ccd57 = { "name": "CCD57", "description": "e2v CCD57", "ref_pixel": [256, 256], "format": [560, 24, 0, 0, 528, 14, 0, 0, 528], "focalplane": [1, 1, 1, 1, "0"], "roi": [1, 512, 1, 512, 1, 1], "ext_position": [[1, 1]], "jpg_order": [[1, 1]], } d...
22.365957
85
0.344939
785
5,256
2.24586
0.117197
0.17924
0.207601
0.245037
0.626205
0.614861
0.606353
0.581395
0.516733
0.516733
0
0.269603
0.390982
5,256
234
86
22.461538
0.281162
0.005898
0
0.644444
0
0
0.182845
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
d504d40f4b2d65304c21bd49d64613d5cf1a0fb9
61
py
Python
emtoolbox/fdtd/__init__.py
BetaPollux/EMToolbox
c9e8e06dd45b764fe7f29f0118c78cf3ae31a4a8
[ "MIT" ]
1
2021-02-19T22:36:14.000Z
2021-02-19T22:36:14.000Z
emtoolbox/fdtd/__init__.py
BetaPollux/EMToolbox
c9e8e06dd45b764fe7f29f0118c78cf3ae31a4a8
[ "MIT" ]
null
null
null
emtoolbox/fdtd/__init__.py
BetaPollux/EMToolbox
c9e8e06dd45b764fe7f29f0118c78cf3ae31a4a8
[ "MIT" ]
null
null
null
''' emtoolbox.fdtd Finite Difference Time Domain code '''
7.625
34
0.704918
7
61
6.142857
1
0
0
0
0
0
0
0
0
0
0
0
0.180328
61
7
35
8.714286
0.86
0.836066
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
d50614933995fc9f6db146d1acae4790e5be8d48
255
py
Python
rasa_core/cli/__init__.py
DavidSted/rasa_core
2b072e564373ad680600947521805911f44f3732
[ "Apache-2.0" ]
1
2018-12-05T22:30:43.000Z
2018-12-05T22:30:43.000Z
rasa_core/cli/__init__.py
DavidSted/rasa_core
2b072e564373ad680600947521805911f44f3732
[ "Apache-2.0" ]
6
2020-01-28T22:38:59.000Z
2022-02-10T00:11:15.000Z
rasa_core/cli/__init__.py
DavidSted/rasa_core
2b072e564373ad680600947521805911f44f3732
[ "Apache-2.0" ]
6
2018-09-19T20:53:13.000Z
2018-10-24T14:37:12.000Z
import rasa_core.cli.arguments from rasa_core import utils def stories_from_cli_args(cmdline_arguments): if cmdline_arguments.url: return utils.download_file_from_url(cmdline_arguments.url) else: return cmdline_arguments.stories
25.5
66
0.788235
35
255
5.4
0.485714
0.338624
0.201058
0
0
0
0
0
0
0
0
0
0.160784
255
9
67
28.333333
0.883178
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.714286
0
0
0
0
null
1
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
0
0
1
0
0
4
1d17bf6bdd8009642d9077418a1188096956ab29
135
py
Python
labrat/math/__init__.py
sdhutchins/labrat
bc75fdc2749ae1876610cc71a1e7e8d926aa30ab
[ "MIT" ]
8
2017-10-13T23:04:08.000Z
2020-08-19T01:36:18.000Z
labrat/math/__init__.py
sdhutchins/labrat
bc75fdc2749ae1876610cc71a1e7e8d926aa30ab
[ "MIT" ]
20
2017-10-13T23:05:58.000Z
2019-03-31T05:06:00.000Z
labrat/math/__init__.py
sdhutchins/labrat
bc75fdc2749ae1876610cc71a1e7e8d926aa30ab
[ "MIT" ]
7
2017-10-14T04:30:22.000Z
2019-01-11T15:49:06.000Z
from .functions import (dilute_stock, transmittance_to_absorbance, calculate_molarity, refractive_index_prism)
45
67
0.725926
13
135
7.076923
1
0
0
0
0
0
0
0
0
0
0
0
0.22963
135
2
68
67.5
0.884615
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
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
1
0
1
0
0
0
0
4
1d55e4f1fb6094e62cc94e2e84e148761528249f
160
py
Python
eda_viz/warnings.py
ajaymaity/eda-viz
10c30a28827caa994291939a159d3a395a80d4b8
[ "MIT" ]
1
2019-10-19T10:58:31.000Z
2019-10-19T10:58:31.000Z
eda_viz/warnings.py
ajaymaity/eda-viz
10c30a28827caa994291939a159d3a395a80d4b8
[ "MIT" ]
null
null
null
eda_viz/warnings.py
ajaymaity/eda-viz
10c30a28827caa994291939a159d3a395a80d4b8
[ "MIT" ]
null
null
null
"""Custom Warning module.""" class DifferentLengthWarning(UserWarning): """Raised when the arguments to visualization have different lengths.""" pass
22.857143
76
0.7375
16
160
7.375
1
0
0
0
0
0
0
0
0
0
0
0
0.15625
160
6
77
26.666667
0.874074
0.55625
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.5
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
0
1
1
0
0
0
0
0
4
1d5702e202f2bcd078b6fa7f3d3d8a5e51eb3bd2
93
py
Python
1/3/13136/13136.py
chr0m3/boj-codes
d71d0a22d0a3ae62c225f382442461275f56fe8f
[ "MIT" ]
3
2017-07-08T16:29:06.000Z
2020-07-20T00:17:45.000Z
1/3/13136/13136.py
chr0m3/boj-codes
d71d0a22d0a3ae62c225f382442461275f56fe8f
[ "MIT" ]
null
null
null
1/3/13136/13136.py
chr0m3/boj-codes
d71d0a22d0a3ae62c225f382442461275f56fe8f
[ "MIT" ]
2
2017-11-20T14:06:06.000Z
2020-07-20T00:17:47.000Z
import math r, c, n = map(int, input().split()) print(math.ceil(r / n) * math.ceil(c / n))
15.5
42
0.580645
18
93
3
0.611111
0.074074
0
0
0
0
0
0
0
0
0
0
0.182796
93
5
43
18.6
0.710526
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
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
1
0
1
0
0
0
0
4
1d6816b0e2d3fb60f8312457ce5e1e77013b290e
3,994
py
Python
pycity_calc/test/test_run_examples.py
RWTH-EBC/pyCity_calc
99fd0dab7f9a9030fd84ba4715753364662927ec
[ "MIT" ]
4
2020-06-22T14:14:25.000Z
2021-11-08T11:47:01.000Z
pycity_calc/test/test_run_examples.py
RWTH-EBC/pyCity_calc
99fd0dab7f9a9030fd84ba4715753364662927ec
[ "MIT" ]
4
2019-08-28T19:42:28.000Z
2019-08-28T19:43:44.000Z
pycity_calc/test/test_run_examples.py
RWTH-EBC/pyCity_calc
99fd0dab7f9a9030fd84ba4715753364662927ec
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Test script to run all example files """ from __future__ import division import pycity_calc.examples.example_battery as example_battery import pycity_calc.examples.example_boiler as example_boiler import pycity_calc.examples.example_building as example_building import p...
36.981481
76
0.798197
523
3,994
5.640535
0.147228
0.085763
0.113898
0.170847
0.380339
0.139661
0.071864
0.046102
0.046102
0.046102
0
0.013146
0.142964
3,994
107
77
37.327103
0.848671
0.12018
0
0
0
0
0
0
0
0
0
0.009346
0
1
0.267606
false
0
0.309859
0
0.591549
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
1
0
1
0
0
4
1d760cdc6b3150e67949a235ae61858fc49e5958
23
py
Python
trimesh/version.py
FreakTheMighty/trimesh
04f7cdadc53384fea7995276aeb1b23388c75adb
[ "MIT" ]
null
null
null
trimesh/version.py
FreakTheMighty/trimesh
04f7cdadc53384fea7995276aeb1b23388c75adb
[ "MIT" ]
1
2020-03-27T14:21:14.000Z
2020-03-27T15:25:49.000Z
trimesh/version.py
FreakTheMighty/trimesh
04f7cdadc53384fea7995276aeb1b23388c75adb
[ "MIT" ]
null
null
null
__version__ = '3.2.39'
11.5
22
0.652174
4
23
2.75
1
0
0
0
0
0
0
0
0
0
0
0.2
0.130435
23
1
23
23
0.35
0
0
0
0
0
0.26087
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
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
1daa8753d314fa9a60c692d3f418089e143f2be0
163
py
Python
hard-gists/1526444/snippet.py
jjhenkel/dockerizeme
eaa4fe5366f6b9adf74399eab01c712cacaeb279
[ "Apache-2.0" ]
21
2019-07-08T08:26:45.000Z
2022-01-24T23:53:25.000Z
hard-gists/1526444/snippet.py
jjhenkel/dockerizeme
eaa4fe5366f6b9adf74399eab01c712cacaeb279
[ "Apache-2.0" ]
5
2019-06-15T14:47:47.000Z
2022-02-26T05:02:56.000Z
hard-gists/1526444/snippet.py
jjhenkel/dockerizeme
eaa4fe5366f6b9adf74399eab01c712cacaeb279
[ "Apache-2.0" ]
17
2019-05-16T03:50:34.000Z
2021-01-14T14:35:12.000Z
from django.db import models optional = dict(blank=True, null=True) class Foo(models.Model): bar = models.CharField() baz = models.CharField(**optional)
20.375
38
0.711656
22
163
5.272727
0.727273
0.258621
0
0
0
0
0
0
0
0
0
0
0.159509
163
7
39
23.285714
0.846715
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.2
0
0.8
0
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
1
0
0
4
d51de2c97e76734af401ffee348f5200aefea843
38
py
Python
wpoke/validators/__init__.py
sonirico/wpoke
be193a41159dabf912d793eb5a6ebf2f0e9440bb
[ "MIT" ]
4
2019-08-19T12:32:40.000Z
2019-10-25T20:57:29.000Z
wpoke/validators/__init__.py
sonirico/wpoke
be193a41159dabf912d793eb5a6ebf2f0e9440bb
[ "MIT" ]
15
2019-07-15T18:30:43.000Z
2020-09-25T08:10:05.000Z
wpoke/validators/__init__.py
sonirico/wpoke
be193a41159dabf912d793eb5a6ebf2f0e9440bb
[ "MIT" ]
null
null
null
EMPTY_VALUES = ("", (), [], {}, None)
19
37
0.421053
3
38
5
1
0
0
0
0
0
0
0
0
0
0
0
0.184211
38
1
38
38
0.483871
0
0
0
0
0
0
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
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
d540d33dddc0af6ec10cd5bba5a32591efc4194e
173
py
Python
pyconde/events/admin.py
EuroPython/djep
afcccbdda483e5f6962ac97f0dc4c4c5ea67fd21
[ "BSD-3-Clause" ]
5
2015-01-02T14:33:14.000Z
2021-08-03T10:19:07.000Z
pyconde/events/admin.py
EuroPython/djep
afcccbdda483e5f6962ac97f0dc4c4c5ea67fd21
[ "BSD-3-Clause" ]
null
null
null
pyconde/events/admin.py
EuroPython/djep
afcccbdda483e5f6962ac97f0dc4c4c5ea67fd21
[ "BSD-3-Clause" ]
3
2015-08-30T09:45:03.000Z
2017-04-08T12:15:22.000Z
from django.contrib import admin from . import models admin.site.register(models.Event, list_display=['date', 'title', 'conference'], list_filter=['conference'])
19.222222
49
0.716763
21
173
5.809524
0.714286
0
0
0
0
0
0
0
0
0
0
0
0.138728
173
8
50
21.625
0.818792
0
0
0
0
0
0.16763
0
0
0
0
0
0
1
0
true
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
d547f36b7bf0f133baa41e148859248354812486
114
py
Python
virtual/lib/python3.6/site-packages/django_restframework/apps.py
Bernicetwili/Project-Review
58843fbc6c5a5cb31fe9467603e9e2b6ccf371f1
[ "MIT" ]
1
2020-09-21T15:37:50.000Z
2020-09-21T15:37:50.000Z
virtual/lib/python3.6/site-packages/django_restframework/apps.py
Bernicetwili/Project-Review
58843fbc6c5a5cb31fe9467603e9e2b6ccf371f1
[ "MIT" ]
7
2020-02-12T03:15:17.000Z
2022-02-10T10:04:28.000Z
virtual/lib/python3.6/site-packages/django_restframework/apps.py
Bernicetwili/Project-Review
58843fbc6c5a5cb31fe9467603e9e2b6ccf371f1
[ "MIT" ]
null
null
null
from django.apps import AppConfig class DjangoRestframeworkConfig(AppConfig): name = 'django_restframework'
19
43
0.807018
11
114
8.272727
0.818182
0
0
0
0
0
0
0
0
0
0
0
0.131579
114
5
44
22.8
0.919192
0
0
0
0
0
0.175439
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
1
0
0
4
d56da682211d6d08ec1fc95a15f50e61e227b700
174
py
Python
my_lambdata_pt2/hello.py
cassidyhanna/Lamdata
50292d175c78070d5dece63ed08f249e05005d5b
[ "MIT" ]
null
null
null
my_lambdata_pt2/hello.py
cassidyhanna/Lamdata
50292d175c78070d5dece63ed08f249e05005d5b
[ "MIT" ]
null
null
null
my_lambdata_pt2/hello.py
cassidyhanna/Lamdata
50292d175c78070d5dece63ed08f249e05005d5b
[ "MIT" ]
null
null
null
from pandas import DataFrame from my_lambdata_pt2.my_mod import enlarge print("Hello") print(enlarge(8)) df = DataFrame({"state": ["OR","CA","CT","TX"]}) print(df.head())
17.4
48
0.695402
27
174
4.37037
0.703704
0
0
0
0
0
0
0
0
0
0
0.012821
0.103448
174
9
49
19.333333
0.74359
0
0
0
0
0
0.103448
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
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
1
0
0
1
0
4
d576a10170c2e0fd1fa1b161cd089fa968ba0c68
130
py
Python
detection/__init__.py
ravising-h/Grad-CAM.pytorch
e0a1ae3870ea189f9b4cd8782eb77bfb5293c31b
[ "Apache-2.0" ]
584
2019-08-05T00:23:36.000Z
2022-03-29T14:17:27.000Z
detection/__init__.py
xufanzuo/Grad-CAM.pytorch
d26e0c7748fe7764b8bbb3317c3183f685cb896d
[ "Apache-2.0" ]
53
2019-09-24T20:21:09.000Z
2022-03-23T10:40:57.000Z
detection/__init__.py
xufanzuo/Grad-CAM.pytorch
d26e0c7748fe7764b8bbb3317c3183f685cb896d
[ "Apache-2.0" ]
143
2019-09-25T07:22:47.000Z
2022-03-14T07:40:11.000Z
# -*- coding: utf-8 -*- """ @File : __init__.py.py @Time : 2020/2/24 下午10:08 @Author : yizuotian @Description : """
18.571429
29
0.530769
16
130
4.0625
0.9375
0
0
0
0
0
0
0
0
0
0
0.123711
0.253846
130
7
30
18.571429
0.546392
0.892308
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
d588b4c536f0e552383a710dd8894df20ed44991
96
py
Python
src/reu_repro_py/__init__.py
samar14641/reusable-reproducible-py
85f30a05a4b8d2e36cfc519c07dd04cfff35017b
[ "MIT" ]
null
null
null
src/reu_repro_py/__init__.py
samar14641/reusable-reproducible-py
85f30a05a4b8d2e36cfc519c07dd04cfff35017b
[ "MIT" ]
null
null
null
src/reu_repro_py/__init__.py
samar14641/reusable-reproducible-py
85f30a05a4b8d2e36cfc519c07dd04cfff35017b
[ "MIT" ]
null
null
null
"""Docstring of the package""" from .utils import reu_repro_py __all__= [ 'reu_repro_py' ]
13.714286
31
0.697917
14
96
4.214286
0.785714
0.271186
0.338983
0
0
0
0
0
0
0
0
0
0.177083
96
7
32
13.714286
0.746835
0.25
0
0
0
0
0.179104
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
1
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
0
0
0
0
0
4
d59c344bb9cc484988b8c83feade2f25e678ffc0
220
py
Python
acoustid/handler.py
userid/acoustid-server
7c15ea1d4639f04a6b420e70be181b725055605b
[ "MIT" ]
null
null
null
acoustid/handler.py
userid/acoustid-server
7c15ea1d4639f04a6b420e70be181b725055605b
[ "MIT" ]
null
null
null
acoustid/handler.py
userid/acoustid-server
7c15ea1d4639f04a6b420e70be181b725055605b
[ "MIT" ]
null
null
null
from werkzeug.wrappers import Response class Handler(object): @classmethod def create_from_server(cls, server): return cls() def handle(self, req): raise NotImplementedError(self.handle)
16.923077
46
0.690909
25
220
6
0.76
0
0
0
0
0
0
0
0
0
0
0
0.227273
220
12
47
18.333333
0.882353
0
0
0
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0.142857
0.142857
0.714286
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
1
1
0
0
4
d5ac22148c14b24158a367825ca04d48b813a7d1
6,044
py
Python
blossom/testing/max_matching_test.py
lepoidev/blossom
16530133a027dfd5afa55a85d750b6122167331f
[ "MIT" ]
null
null
null
blossom/testing/max_matching_test.py
lepoidev/blossom
16530133a027dfd5afa55a85d750b6122167331f
[ "MIT" ]
null
null
null
blossom/testing/max_matching_test.py
lepoidev/blossom
16530133a027dfd5afa55a85d750b6122167331f
[ "MIT" ]
null
null
null
import os, sys, inspect currentdir = os.path.dirname(os.path.abspath(inspect.getfile(inspect.currentframe()))) parentdir = os.path.dirname(currentdir) sys.path.insert(0, parentdir) from max_matching import max_matching from structures import Edge, Tree, Matching from graphing import find_and_show_max_matching def com...
21.585714
86
0.56949
1,090
6,044
3.111009
0.089908
0.23179
0.46358
0.494544
0.807137
0.536125
0.462106
0.455323
0.455323
0.455323
0
0.107809
0.23726
6,044
280
87
21.585714
0.627766
0.019193
0
0.357513
0
0
0.002363
0
0
0
0
0
0.041451
1
0.041451
false
0.005181
0.020725
0
0.07772
0.005181
0
0
0
null
1
1
1
1
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
4
63430817bb9f63c65df13d0a9387368312841a71
49
py
Python
mtp_api/apps/transaction/__init__.py
ministryofjustice/mtp-api
b1c34c29e4aa9f48598cb060abe1368ae7686e0b
[ "MIT" ]
5
2016-01-05T12:21:35.000Z
2020-10-28T17:06:02.000Z
mtp_api/apps/transaction/__init__.py
ministryofjustice/mtp-api
b1c34c29e4aa9f48598cb060abe1368ae7686e0b
[ "MIT" ]
209
2015-06-12T09:39:41.000Z
2022-03-21T16:01:19.000Z
mtp_api/apps/transaction/__init__.py
ministryofjustice/mtp-api
b1c34c29e4aa9f48598cb060abe1368ae7686e0b
[ "MIT" ]
1
2021-04-11T06:19:23.000Z
2021-04-11T06:19:23.000Z
default_app_config = 'transaction.app.AppConfig'
24.5
48
0.836735
6
49
6.5
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.061224
49
1
49
49
0.847826
0
0
0
0
0
0.510204
0.510204
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
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
636e5e904ea8fca3517cb944f4f3dbef57c57303
63
py
Python
formats/__init__.py
phillnguyen/schnablelab
2e7803ed82489880d79ac0c7bce39857de5e4547
[ "BSD-2-Clause" ]
6
2019-02-19T07:22:42.000Z
2021-01-13T05:33:04.000Z
schnablelab/formats/__init__.py
freemao/JamesLab
352d69032193950f27ac16a779642d443f732bdf
[ "BSD-2-Clause" ]
4
2019-02-10T02:19:14.000Z
2020-05-29T03:05:03.000Z
schnablelab/formats/__init__.py
freemao/JamesLab
352d69032193950f27ac16a779642d443f732bdf
[ "BSD-2-Clause" ]
6
2019-01-28T08:34:21.000Z
2020-04-07T16:05:54.000Z
# decide which modules the package exports # __all__ = ['...']
21
42
0.666667
7
63
5.428571
1
0
0
0
0
0
0
0
0
0
0
0
0.174603
63
2
43
31.5
0.730769
0.920635
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
6371b0eaf74eb30d1c15b0955475257f898d7c85
119
py
Python
src/simple_tools/__init__.py
jacobitosuperstar/simple_tools
87a0dccf8ee52ffdeeb6b3be44e42b9ecd7fbff7
[ "MIT" ]
null
null
null
src/simple_tools/__init__.py
jacobitosuperstar/simple_tools
87a0dccf8ee52ffdeeb6b3be44e42b9ecd7fbff7
[ "MIT" ]
null
null
null
src/simple_tools/__init__.py
jacobitosuperstar/simple_tools
87a0dccf8ee52ffdeeb6b3be44e42b9ecd7fbff7
[ "MIT" ]
null
null
null
from .debugger import ( print_debug, logging_debug, ) from .async_debugger import( async_logging_debug, )
13.222222
28
0.714286
14
119
5.714286
0.5
0.35
0
0
0
0
0
0
0
0
0
0
0.210084
119
8
29
14.875
0.851064
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.285714
0
0.285714
0.142857
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
1
0
0
0
0
0
0
4
63783e0494a96d033d2271a98773218824825fe2
96
py
Python
Finance_system/micro_admin/apps.py
GBstallman/Microfinance-System-api
c5fa8c66607aa96d2b6eb16437b0177cdb94029c
[ "MIT" ]
1
2020-12-11T13:30:14.000Z
2020-12-11T13:30:14.000Z
Finance_system/micro_admin/apps.py
GBstallman/Microfinance-System-api
c5fa8c66607aa96d2b6eb16437b0177cdb94029c
[ "MIT" ]
null
null
null
Finance_system/micro_admin/apps.py
GBstallman/Microfinance-System-api
c5fa8c66607aa96d2b6eb16437b0177cdb94029c
[ "MIT" ]
null
null
null
from django.apps import AppConfig class MicroAdminConfig(AppConfig): name = 'micro_admin'
16
34
0.770833
11
96
6.636364
0.909091
0
0
0
0
0
0
0
0
0
0
0
0.15625
96
5
35
19.2
0.901235
0
0
0
0
0
0.114583
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
1
0
0
4
638680500537f8532dd48014065cea47bf8dab0a
199
py
Python
course-1:basic-building-blocks/subject-3:integers/lesson-8.0:5 puzzle.py
regnart-tech-club/python
069df070059de662d4104de8192e45407a7e94ce
[ "Apache-2.0" ]
null
null
null
course-1:basic-building-blocks/subject-3:integers/lesson-8.0:5 puzzle.py
regnart-tech-club/python
069df070059de662d4104de8192e45407a7e94ce
[ "Apache-2.0" ]
null
null
null
course-1:basic-building-blocks/subject-3:integers/lesson-8.0:5 puzzle.py
regnart-tech-club/python
069df070059de662d4104de8192e45407a7e94ce
[ "Apache-2.0" ]
1
2016-04-03T00:53:37.000Z
2016-04-03T00:53:37.000Z
# Without changing `two` and `three` # and using only those variables, # have the program print 5 two = 2 # do not change this line three = '3' # do not change this line # Have the program print 5
22.111111
37
0.703518
34
199
4.117647
0.617647
0.1
0.2
0.271429
0.557143
0
0
0
0
0
0
0.025806
0.221106
199
8
38
24.875
0.877419
0.824121
0
0
0
0
0.035714
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
63b08124848d3defa3f62ba71739b493ca2e0fdd
11,279
py
Python
advection_solver.py
vidalalcala/source-recovery
307918dfbb4b80daeb394f00d6adc59b71e623ff
[ "MIT" ]
null
null
null
advection_solver.py
vidalalcala/source-recovery
307918dfbb4b80daeb394f00d6adc59b71e623ff
[ "MIT" ]
null
null
null
advection_solver.py
vidalalcala/source-recovery
307918dfbb4b80daeb394f00d6adc59b71e623ff
[ "MIT" ]
null
null
null
# advection-solver.py from __future__ import print_function, division import numpy as np import matplotlib matplotlib.use('Agg') import matplotlib.pyplot as plt from matplotlib.backends.backend_pdf import PdfPages from nufft import nufft1 as nufft_fortran from nufft import nufft3 as nufft3 from random import uniform a...
31.157459
84
0.554659
1,874
11,279
3.188367
0.108858
0.030795
0.042176
0.018745
0.765356
0.733389
0.72251
0.703598
0.669456
0.661757
0
0.031254
0.29648
11,279
361
85
31.243767
0.721739
0.320418
0
0.579787
0
0
0.030625
0.009381
0
0
0
0
0
1
0.047872
false
0
0.042553
0
0.12766
0.015957
0
0
0
null
0
0
0
0
1
1
1
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
4
981ff2428093ac0afe64c673fa8dbe8e1f4be72e
90
py
Python
kqueen/exceptions.py
LaudateCorpus1/kqueen
8841c069bb5a53ae18affc0222356956220bbd47
[ "MIT" ]
140
2017-09-28T06:07:40.000Z
2022-01-17T09:10:39.000Z
kqueen/exceptions.py
LaudateCorpus1/kqueen
8841c069bb5a53ae18affc0222356956220bbd47
[ "MIT" ]
128
2017-09-26T06:51:30.000Z
2018-10-11T13:15:13.000Z
kqueen/exceptions.py
LaudateCorpus1/kqueen
8841c069bb5a53ae18affc0222356956220bbd47
[ "MIT" ]
39
2017-10-02T13:57:19.000Z
2021-11-30T05:30:52.000Z
class ImproperlyConfigured(Exception): """Kqueen is improperly configured""" pass
22.5
41
0.733333
8
90
8.25
1
0
0
0
0
0
0
0
0
0
0
0
0.166667
90
3
42
30
0.88
0.344444
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.5
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
0
1
1
0
0
0
0
0
4
98394792d4ae0f4ce371218930ee56b5a4674f20
13,519
py
Python
pytheos/scales/gold.py
SHDShim/pytheos
be079624405e92fbec60c5ead253eb5917e55237
[ "Apache-2.0" ]
6
2017-06-23T03:28:51.000Z
2020-12-02T01:06:50.000Z
pytheos/scales/gold.py
SHDShim/pytheos
be079624405e92fbec60c5ead253eb5917e55237
[ "Apache-2.0" ]
3
2018-03-06T00:07:51.000Z
2018-07-18T17:42:26.000Z
pytheos/scales/gold.py
SHDShim/pytheos
be079624405e92fbec60c5ead253eb5917e55237
[ "Apache-2.0" ]
6
2017-07-11T19:40:12.000Z
2021-01-12T02:20:39.000Z
from collections import OrderedDict import uncertainties as uct from scipy import constants import periodictable as ptable from ..conversion import vol_uc2mol, vol_mol2uc from .objs import MGEOS, JHEOS v_ref = 4.07860 ** 3 # default v0 n = 1. z = 4. ef_v = 0.001 ef_temp = 0.05 mass = ptable.formula("Au").mass * 1.e-3...
43.469453
77
0.463644
1,676
13,519
3.568019
0.149761
0.161037
0.072241
0.099331
0.803512
0.775251
0.754181
0.676421
0.641472
0.641472
0
0.122197
0.383164
13,519
310
78
43.609677
0.594915
0.068866
0
0.563636
0
0
0.069353
0
0
0
0
0
0
1
0.059091
false
0
0.027273
0
0.145455
0
0
0
0
null
0
0
0
1
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
4
9844e4cb1f8937a1f9545297fc5e0ed3ae71dd6e
97
py
Python
code/kafka-jobs-scheduler/kafkajobs/jobqueue/__init__.py
LostPetInitiative/Kashtanka
dc46d569c15262c64f5bcbf350601581012ec72a
[ "MIT" ]
null
null
null
code/kafka-jobs-scheduler/kafkajobs/jobqueue/__init__.py
LostPetInitiative/Kashtanka
dc46d569c15262c64f5bcbf350601581012ec72a
[ "MIT" ]
7
2020-12-24T17:47:18.000Z
2022-02-27T10:51:09.000Z
code/kafka-jobs-scheduler/kafkajobs/jobqueue/__init__.py
LostPetInitiative/Kashtanka
dc46d569c15262c64f5bcbf350601581012ec72a
[ "MIT" ]
null
null
null
#__version__ = "0.1.0" from .queue import JobQueueProducer, JobQueueWorker #__all__ = ['queue']
19.4
51
0.731959
11
97
5.727273
0.818182
0
0
0
0
0
0
0
0
0
0
0.035294
0.123711
97
5
52
19.4
0.705882
0.412371
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
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
1
0
1
0
0
0
0
4
985aa48a0cf1f9af18c9d90c0f75c8f1d9a6b1f4
20
py
Python
__init__.py
JulesWall/Helvetia
2a6dd6a4cede7678898719a3b5eda199acc11e70
[ "MIT" ]
4
2020-08-17T15:24:10.000Z
2020-08-17T15:46:57.000Z
__init__.py
JulesWall/Helvetia
2a6dd6a4cede7678898719a3b5eda199acc11e70
[ "MIT" ]
1
2020-08-19T09:29:56.000Z
2020-08-19T09:29:56.000Z
__init__.py
JulesWall/WareBOT
2a6dd6a4cede7678898719a3b5eda199acc11e70
[ "MIT" ]
null
null
null
# Julesébg # Mineosi
10
10
0.75
2
20
7.5
1
0
0
0
0
0
0
0
0
0
0
0
0.15
20
2
11
10
0.882353
0.8
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
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
1
0
0
0
0
0
0
4
987b76ee9195a269a8a157111b5ee8ed1c3f7ad9
205
py
Python
src/ua_generator/exceptions.py
iamdual/ua-generator
1773eb2bd89233aa1e9116ade070be10ff58ea2b
[ "Apache-2.0" ]
null
null
null
src/ua_generator/exceptions.py
iamdual/ua-generator
1773eb2bd89233aa1e9116ade070be10ff58ea2b
[ "Apache-2.0" ]
null
null
null
src/ua_generator/exceptions.py
iamdual/ua-generator
1773eb2bd89233aa1e9116ade070be10ff58ea2b
[ "Apache-2.0" ]
null
null
null
""" Random User-Agent Copyright: 2022 Ekin Karadeniz (github.com/iamdual) License: Apache License 2.0 """ class CannotGenerateError(Exception): pass class InvalidArgumentError(Exception): pass
14.642857
51
0.75122
23
205
6.695652
0.826087
0.168831
0
0
0
0
0
0
0
0
0
0.034483
0.15122
205
13
52
15.769231
0.850575
0.473171
0
0.5
1
0
0
0
0
0
0
0
0
1
0
true
0.5
0
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
1
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
4
98955c5be37a699b8c600950100edacfb8576d10
112
py
Python
ngi_reports/stockholm/__init__.py
ssjunnebo/ngi_reports
42dddcd8728afc4740643de839aefaa8fcb4fb44
[ "MIT" ]
null
null
null
ngi_reports/stockholm/__init__.py
ssjunnebo/ngi_reports
42dddcd8728afc4740643de839aefaa8fcb4fb44
[ "MIT" ]
null
null
null
ngi_reports/stockholm/__init__.py
ssjunnebo/ngi_reports
42dddcd8728afc4740643de839aefaa8fcb4fb44
[ "MIT" ]
null
null
null
""" Stockholm module. Place for code specific to NGI Stockholm Node. eg. Information retrieval from StatusDB """
28
46
0.776786
15
112
5.8
0.933333
0
0
0
0
0
0
0
0
0
0
0
0.142857
112
4
47
28
0.90625
0.928571
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
7f2bbde98e7a8cdb46dc6c07b56dd6f59f67d991
252
py
Python
canalystii/__init__.py
projectgus/python-canalystii
7ef3a4a369a88976291ea91f93ef2b8c322855b9
[ "BSD-3-Clause" ]
3
2021-09-09T16:30:20.000Z
2022-03-11T10:29:19.000Z
canalystii/__init__.py
projectgus/python-canalystii
7ef3a4a369a88976291ea91f93ef2b8c322855b9
[ "BSD-3-Clause" ]
null
null
null
canalystii/__init__.py
projectgus/python-canalystii
7ef3a4a369a88976291ea91f93ef2b8c322855b9
[ "BSD-3-Clause" ]
null
null
null
# Copyright (c) 2021 Angus Gratton # # SPDX-License-Identifier: Apache-2.0 # # This module contains the public package-level interface to Canalyst-II device. from .protocol import Message # noqa: F401 from .device import CanalystDevice # noqa: F401
28
80
0.761905
35
252
5.485714
0.857143
0.083333
0
0
0
0
0
0
0
0
0
0.056338
0.154762
252
8
81
31.5
0.84507
0.670635
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
1
0
0
4
7f314eb173e574e54a050974f1a34dcd126a9d3c
23
py
Python
src/cortexpy/__init__.py
karljohanw/cortexpy
70dcce771136f98edb5250ad8abd2a46bda7f0a6
[ "Apache-2.0" ]
null
null
null
src/cortexpy/__init__.py
karljohanw/cortexpy
70dcce771136f98edb5250ad8abd2a46bda7f0a6
[ "Apache-2.0" ]
null
null
null
src/cortexpy/__init__.py
karljohanw/cortexpy
70dcce771136f98edb5250ad8abd2a46bda7f0a6
[ "Apache-2.0" ]
null
null
null
__version__ = '0.46.4'
11.5
22
0.652174
4
23
2.75
1
0
0
0
0
0
0
0
0
0
0
0.2
0.130435
23
1
23
23
0.35
0
0
0
0
0
0.26087
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
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
7f3fc920eb355952dff665054d20e44c63c15563
112
py
Python
src/petpeeve/pip_internal/utils/misc.py
uranusjr/petpeeve
66cbec32ffd9b8bd81cf0992a3021931d88df825
[ "ISC" ]
null
null
null
src/petpeeve/pip_internal/utils/misc.py
uranusjr/petpeeve
66cbec32ffd9b8bd81cf0992a3021931d88df825
[ "ISC" ]
null
null
null
src/petpeeve/pip_internal/utils/misc.py
uranusjr/petpeeve
66cbec32ffd9b8bd81cf0992a3021931d88df825
[ "ISC" ]
1
2019-01-21T12:39:38.000Z
2019-01-21T12:39:38.000Z
from .._not import from_pip_import unpack_file = from_pip_import('utils.misc', 'unpack_file', prepath='utils')
28
75
0.776786
17
112
4.705882
0.529412
0.175
0.325
0
0
0
0
0
0
0
0
0
0.089286
112
3
76
37.333333
0.784314
0
0
0
0
0
0.232143
0
0
0
0
0
0
1
0
false
0
1
0
1
0
1
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
4
7f417b6aa0de8d1f7f874f65fe439799fb955adc
8,232
py
Python
template/python/prop.py
codejsha/confluent-kafka-script-generator
db977d45b6c4c2feb17b96f8b1a6cd5dd34447a8
[ "Apache-2.0" ]
null
null
null
template/python/prop.py
codejsha/confluent-kafka-script-generator
db977d45b6c4c2feb17b96f8b1a6cd5dd34447a8
[ "Apache-2.0" ]
null
null
null
template/python/prop.py
codejsha/confluent-kafka-script-generator
db977d45b6c4c2feb17b96f8b1a6cd5dd34447a8
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python from template.python.enumeration import ServerType from template.python.fileio import write_file from template.python.function import * def create_prop_file(server, prop, servers=None): edited_prop = prop # zookeeper if server.server_type == ServerType.ZOOKEEPER: server_id ...
64.3125
116
0.701409
1,008
8,232
5.395833
0.09623
0.216952
0.165655
0.214378
0.753999
0.712079
0.669976
0.643133
0.627689
0.6082
0
0
0.181122
8,232
127
117
64.818898
0.806854
0.022109
0
0.46875
0
0
0.33043
0.209132
0
0
0
0
0
1
0.020833
false
0
0.03125
0
0.052083
0
0
0
0
null
1
0
1
0
1
0
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
4
7f57a9d1d3388503c7f43d87c0736152f78d18e6
405
py
Python
portfolio/2015_filings/u_test.py
0--key/lib
ba7a85dda2b208adc290508ca617bdc55a5ded22
[ "Apache-2.0" ]
null
null
null
portfolio/2015_filings/u_test.py
0--key/lib
ba7a85dda2b208adc290508ca617bdc55a5ded22
[ "Apache-2.0" ]
null
null
null
portfolio/2015_filings/u_test.py
0--key/lib
ba7a85dda2b208adc290508ca617bdc55a5ded22
[ "Apache-2.0" ]
5
2016-03-22T07:40:46.000Z
2021-05-30T16:12:21.000Z
import unittest import requests import redis from worker import FilingItem from settings import R_HOST, R_PORT class TestInitialState(unittest.TestCase): def setUp(self): self.r = redis.StrictRedis(host=R_HOST, port=R_PORT, db=0) def test_redis_connection(self): self.assertTrue(self.r) d...
17.608696
66
0.701235
54
405
5
0.518519
0.037037
0
0
0
0
0
0
0
0
0
0.003125
0.209877
405
22
67
18.409091
0.840625
0
0
0
0
0
0.019753
0
0
0
0
0
0.071429
1
0.214286
false
0.071429
0.357143
0
0.642857
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
1
0
1
0
0
4
7f8a7390cbff4725df076ae014325507004f60ab
1,211
py
Python
pirates/leveleditor/worldData/pirateerFortress.py
itsyaboyrocket/pirates
6ca1e7d571c670b0d976f65e608235707b5737e3
[ "BSD-3-Clause" ]
3
2021-02-25T06:38:13.000Z
2022-03-22T07:00:15.000Z
pirates/leveleditor/worldData/pirateerFortress.py
itsyaboyrocket/pirates
6ca1e7d571c670b0d976f65e608235707b5737e3
[ "BSD-3-Clause" ]
null
null
null
pirates/leveleditor/worldData/pirateerFortress.py
itsyaboyrocket/pirates
6ca1e7d571c670b0d976f65e608235707b5737e3
[ "BSD-3-Clause" ]
1
2021-02-25T06:38:17.000Z
2021-02-25T06:38:17.000Z
# uncompyle6 version 3.2.0 # Python bytecode 2.4 (62061) # Decompiled from: Python 2.7.14 (v2.7.14:84471935ed, Sep 16 2017, 20:19:30) [MSC v.1500 32 bit (Intel)] # Embedded file name: pirates.leveleditor.worldData.pirateerFortress from pandac.PandaModules import Point3, VBase3 objectStruct = {'Objects': {'1151689257.39...
201.833333
933
0.672998
156
1,211
5.224359
0.487179
0.03681
0.044172
0.044172
0.250307
0.201227
0.201227
0.193865
0.193865
0.193865
0
0.216167
0.090834
1,211
6
933
201.833333
0.524069
0.18332
0
0
0
0
0.574619
0.337056
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
7f98553bdf268d46dd531251f555cad79a2b5148
1,304
py
Python
wizer/tests/unit_tests/gis/test_gis.py
lucasace/workoutizer
7b12cfa08ffee63c10e53de8fc227f142ecfdc42
[ "MIT" ]
null
null
null
wizer/tests/unit_tests/gis/test_gis.py
lucasace/workoutizer
7b12cfa08ffee63c10e53de8fc227f142ecfdc42
[ "MIT" ]
null
null
null
wizer/tests/unit_tests/gis/test_gis.py
lucasace/workoutizer
7b12cfa08ffee63c10e53de8fc227f142ecfdc42
[ "MIT" ]
null
null
null
import pytest from wizer.gis.gis import add_elevation_data_to_coordinates, get_total_distance_of_trace def test_get_total_distance_of_trace__basic(): with pytest.raises(ValueError): get_total_distance_of_trace(longitude_list=[0], latitude_list=[0]) with pytest.raises(ValueError): get_total_di...
42.064516
98
0.709356
194
1,304
4.35567
0.242268
0.104142
0.208284
0.23432
0.808284
0.678107
0.678107
0.607101
0.557396
0.557396
0
0.090082
0.157209
1,304
30
99
43.466667
0.678799
0
0
0.130435
0
0
0
0
0
0
0
0
0.26087
1
0.130435
true
0
0.086957
0
0.217391
0
0
0
0
null
0
1
1
1
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
4
f68e35cad2ef80d677b4b50d395663c8390236d6
91
py
Python
matcher.py
ncaldwell17/Mercury
42510179d4c6300416f4ed49ef02ca2142c8a713
[ "Apache-2.0" ]
null
null
null
matcher.py
ncaldwell17/Mercury
42510179d4c6300416f4ed49ef02ca2142c8a713
[ "Apache-2.0" ]
2
2019-07-08T16:57:32.000Z
2019-07-08T17:30:26.000Z
matcher.py
ncaldwell17/Mercury
42510179d4c6300416f4ed49ef02ca2142c8a713
[ "Apache-2.0" ]
null
null
null
import sys datapath = sys.argv[1] if __name__ == '__main__': # make_string(datapath)
13
27
0.681319
12
91
4.416667
0.833333
0
0
0
0
0
0
0
0
0
0
0.013514
0.186813
91
6
28
15.166667
0.702703
0.230769
0
0
0
0
0.117647
0
0
0
0
0
0
0
null
null
0
0.333333
null
null
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
1
0
0
0
1
0
0
0
0
4
10198273b8043c27077687df2bda242389e666e4
116
py
Python
collect/data_lists/urls.py
jobino/collect_data_web
7115b2f69bcdaf196bf9ed65133117992aeb7b1c
[ "MIT" ]
1
2018-09-04T12:51:11.000Z
2018-09-04T12:51:11.000Z
collect/data_lists/urls.py
jobino/collect_data_web
7115b2f69bcdaf196bf9ed65133117992aeb7b1c
[ "MIT" ]
null
null
null
collect/data_lists/urls.py
jobino/collect_data_web
7115b2f69bcdaf196bf9ed65133117992aeb7b1c
[ "MIT" ]
null
null
null
from django.urls import path from . import views urlpatterns = [ path('', views.data_view, name='data_view'), ]
19.333333
48
0.698276
16
116
4.9375
0.625
0.202532
0
0
0
0
0
0
0
0
0
0
0.163793
116
6
49
19.333333
0.814433
0
0
0
0
0
0.076923
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
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
1
0
0
0
0
4
63f40815af9ae893e92def8007558c14927bbcc0
129
py
Python
py_test_exercises/ex1.py
szaster/100daysOfPython
10c15d0f815fe40a9cf56cf50f05813d256fadf4
[ "MIT" ]
null
null
null
py_test_exercises/ex1.py
szaster/100daysOfPython
10c15d0f815fe40a9cf56cf50f05813d256fadf4
[ "MIT" ]
2
2019-11-20T22:44:28.000Z
2019-11-21T03:41:23.000Z
py_test_exercises/ex1.py
szaster/100daysOfPython
10c15d0f815fe40a9cf56cf50f05813d256fadf4
[ "MIT" ]
null
null
null
def hello_people(name): return f'Hello {name}!' def square_root(number): from math import sqrt return sqrt(number)
16.125
27
0.689922
19
129
4.578947
0.684211
0
0
0
0
0
0
0
0
0
0
0
0.209302
129
7
28
18.428571
0.852941
0
0
0
0
0
0.100775
0
0
0
0
0
0
1
0.4
false
0
0.2
0.2
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
1
0
0
0
1
0
0
0
4
12019f3fd422253285547e089132f58121cabb4c
228
py
Python
api/src/config/BotConfig.py
SamuelJansen/telegram-manager-api
d25ed296c67f85b4cf706156d9819b59486e3f00
[ "MIT" ]
1
2022-02-25T06:45:31.000Z
2022-02-25T06:45:31.000Z
api/src/config/BotConfig.py
SamuelJansen/telegram-manager-api
d25ed296c67f85b4cf706156d9819b59486e3f00
[ "MIT" ]
null
null
null
api/src/config/BotConfig.py
SamuelJansen/telegram-manager-api
d25ed296c67f85b4cf706156d9819b59486e3f00
[ "MIT" ]
null
null
null
from python_helper import log from globals import getGlobalsInstance globalsInstance = getGlobalsInstance() BOT_TOKEN = globalsInstance.getSetting('telegram.bot-token') CHAT_ID = globalsInstance.getSetting('telegram.chat-id')
28.5
60
0.833333
25
228
7.48
0.56
0.085562
0.352941
0
0
0
0
0
0
0
0
0
0.083333
228
7
61
32.571429
0.894737
0
0
0
0
0
0.149123
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
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
4
12415efe2740a21f47cb7ce4b7d37e9eb48702bf
127
py
Python
14_Sort/Step02/gamjapark.py
StudyForCoding/BEAKJOON
84e1c5e463255e919ccf6b6a782978c205420dbf
[ "MIT" ]
null
null
null
14_Sort/Step02/gamjapark.py
StudyForCoding/BEAKJOON
84e1c5e463255e919ccf6b6a782978c205420dbf
[ "MIT" ]
3
2020-11-04T05:38:53.000Z
2021-03-02T02:15:19.000Z
14_Sort/Step02/gamjapark.py
StudyForCoding/BEAKJOON
84e1c5e463255e919ccf6b6a782978c205420dbf
[ "MIT" ]
null
null
null
import sys N = int(sys.stdin.readline()) arr = [int(sys.stdin.readline()) for _ in range(N)] arr.sort() for a in arr: print(a)
21.166667
51
0.669291
24
127
3.5
0.541667
0.142857
0.261905
0.452381
0
0
0
0
0
0
0
0
0.141732
127
6
52
21.166667
0.770642
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0.166667
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
1259845508263e54cf12fa78d5aaa91b1f37a1f9
96
py
Python
compiled/construct/meta_xref.py
smarek/ci_targets
c5edee7b0901fd8e7f75f85245ea4209b38e0cb3
[ "MIT" ]
4
2017-04-08T12:55:11.000Z
2020-12-05T21:09:31.000Z
compiled/construct/meta_xref.py
smarek/ci_targets
c5edee7b0901fd8e7f75f85245ea4209b38e0cb3
[ "MIT" ]
7
2018-04-23T01:30:33.000Z
2020-10-30T23:56:14.000Z
compiled/construct/meta_xref.py
smarek/ci_targets
c5edee7b0901fd8e7f75f85245ea4209b38e0cb3
[ "MIT" ]
6
2017-04-08T11:41:14.000Z
2020-10-30T22:47:31.000Z
from construct import * from construct.lib import * meta_xref = Struct( ) _schema = meta_xref
12
27
0.75
13
96
5.307692
0.615385
0.376812
0
0
0
0
0
0
0
0
0
0
0.177083
96
7
28
13.714286
0.873418
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
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
1
0
0
0
0
4
12730efa90dd63de4aa0a31f1636ac5ad58997fe
127
py
Python
src/palje/__init__.py
ALMPartners/palje
41f3e9a9c85775b61082fb921e2dc70aaf69f783
[ "Apache-2.0" ]
4
2021-02-12T14:58:34.000Z
2021-12-09T22:50:37.000Z
src/palje/__init__.py
ALMPartners/palje
41f3e9a9c85775b61082fb921e2dc70aaf69f783
[ "Apache-2.0" ]
null
null
null
src/palje/__init__.py
ALMPartners/palje
41f3e9a9c85775b61082fb921e2dc70aaf69f783
[ "Apache-2.0" ]
null
null
null
# Palje - Document MSSQL databases to Confluence wiki # # Copyright 2021 ALM Partners Oy # SPDX-License-Identifier: Apache-2.0
25.4
53
0.771654
18
127
5.444444
1
0
0
0
0
0
0
0
0
0
0
0.055556
0.149606
127
4
54
31.75
0.851852
0.929134
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
89cf596c43deb96ddefa8d392c133230ae1982a2
87
py
Python
ciukune/core/settings/email.py
an-otter-world/ciukune
a0e0501076c5adc98c200b7bf438f3c70e88d357
[ "WTFPL" ]
null
null
null
ciukune/core/settings/email.py
an-otter-world/ciukune
a0e0501076c5adc98c200b7bf438f3c70e88d357
[ "WTFPL" ]
null
null
null
ciukune/core/settings/email.py
an-otter-world/ciukune
a0e0501076c5adc98c200b7bf438f3c70e88d357
[ "WTFPL" ]
null
null
null
"""Email settings.""" EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
29
64
0.770115
10
87
6.6
0.9
0
0
0
0
0
0
0
0
0
0
0
0.057471
87
2
65
43.5
0.804878
0.172414
0
0
0
0
0.69697
0.69697
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
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
89d7314eb4ba3292057ca8e78d033e3805b9ffc8
626
py
Python
src/rsa_helper.py
WouterPennings/rca_enc
e64d49104189268cf58a39c490766d665e5bd043
[ "WTFPL" ]
null
null
null
src/rsa_helper.py
WouterPennings/rca_enc
e64d49104189268cf58a39c490766d665e5bd043
[ "WTFPL" ]
null
null
null
src/rsa_helper.py
WouterPennings/rca_enc
e64d49104189268cf58a39c490766d665e5bd043
[ "WTFPL" ]
null
null
null
from math import sqrt from itertools import count, islice def isCoprime(x, y): return gcd(x, y) == 1 # Credit: https://www.w3resource.com/python-exercises/basic/python-basic-1-exercise-119.php def gcd(p, q): while q != 0: p, q = q, p % q return p # Credit: https://stackoverflow.com/a/27946768 def...
27.217391
97
0.654952
104
626
3.932692
0.576923
0.01467
0
0
0
0
0
0
0
0
0
0.039095
0.223642
626
22
98
28.454545
0.802469
0.367412
0
0
0
0
0
0
0
0
0
0.045455
0
1
0.266667
false
0
0.133333
0.133333
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
1
1
0
0
4
89d888cc506b6ce009cb73be74830ae70f31a9f7
623
py
Python
src/compound_jsonapi/__init__.py
scmmmh/compound-jsonapi
527b212479a355370c8d0e99b70ae17712a9654d
[ "MIT" ]
null
null
null
src/compound_jsonapi/__init__.py
scmmmh/compound-jsonapi
527b212479a355370c8d0e99b70ae17712a9654d
[ "MIT" ]
null
null
null
src/compound_jsonapi/__init__.py
scmmmh/compound-jsonapi
527b212479a355370c8d0e99b70ae17712a9654d
[ "MIT" ]
null
null
null
""" :mod:`compound_jsonapi` ======================= The :mod:`compound_jsonapi` provides two main classes: * The :class:`~compound_jsonapi.schema.Schema` acts as the base-class for all specific schemas that are then used to serialise / deserialise data. Details of its public interface can be found at :class:`~mar...
36.647059
80
0.730337
83
623
5.421687
0.638554
0.166667
0.133333
0.102222
0.142222
0
0
0
0
0
0
0.001842
0.128411
623
16
81
38.9375
0.826888
0.88122
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
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
89e66de58ca26b90f61df011c096ca8c40c1b761
87
py
Python
docarray/__init__.py
fastflair/docarray
0bbdbc816b2f4a3b399779f6816875fbc1dfe862
[ "Apache-2.0" ]
null
null
null
docarray/__init__.py
fastflair/docarray
0bbdbc816b2f4a3b399779f6816875fbc1dfe862
[ "Apache-2.0" ]
null
null
null
docarray/__init__.py
fastflair/docarray
0bbdbc816b2f4a3b399779f6816875fbc1dfe862
[ "Apache-2.0" ]
null
null
null
__version__ = '0.8.4' from .document import Document from .array import DocumentArray
17.4
32
0.781609
12
87
5.333333
0.75
0
0
0
0
0
0
0
0
0
0
0.04
0.137931
87
4
33
21.75
0.813333
0
0
0
0
0
0.057471
0
0
0
0
0
0
1
0
false
0
0.666667
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
0
0
0
1
0
1
0
0
4
89ecc1422b38bf62da9595e8bb7e5313158f4d01
4,157
py
Python
estrategias/popst.py
cadualves/jogos_vorazes
e8caf062fc58b6188e94152084383940c96dba9a
[ "MIT" ]
8
2017-10-11T19:49:28.000Z
2021-06-16T12:20:39.000Z
estrategias/popst.py
cadualves/jogos_vorazes
e8caf062fc58b6188e94152084383940c96dba9a
[ "MIT" ]
6
2017-02-02T18:26:34.000Z
2018-11-08T16:32:52.000Z
estrategias/popst.py
cadualves/jogos_vorazes
e8caf062fc58b6188e94152084383940c96dba9a
[ "MIT" ]
26
2016-01-15T16:20:57.000Z
2018-12-11T21:32:57.000Z
from estrategias.jogadores import Jogador import random from numpy import random class MeuJogador(Jogador): def __init__(self): self.rodadabol = False def escolha_de_cacada(self, rodada, comida_atual, reputacao_atual, m, reputacoes_dos_jogadores): try: if self.rodadabol: ...
41.989899
134
0.348328
361
4,157
3.897507
0.210526
0.147832
0.250178
0.163468
0.591329
0.554371
0.534471
0.49467
0.470505
0.470505
0
0.029226
0.580226
4,157
98
135
42.418367
0.777077
0.053885
0
0.734043
0
0
0.004075
0
0
0
0
0
0
1
0.021277
false
0
0.031915
0
0.159574
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
1
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
4
89ee41e60905cedffc81644655395ea991ca0376
89
py
Python
src/wiretap/apps.py
karthicraghupathi/django_rapyd_wiretap_project
9a0cfca8bf5b1b7c2d4d2c7618c97a3088251ea0
[ "Apache-2.0" ]
null
null
null
src/wiretap/apps.py
karthicraghupathi/django_rapyd_wiretap_project
9a0cfca8bf5b1b7c2d4d2c7618c97a3088251ea0
[ "Apache-2.0" ]
null
null
null
src/wiretap/apps.py
karthicraghupathi/django_rapyd_wiretap_project
9a0cfca8bf5b1b7c2d4d2c7618c97a3088251ea0
[ "Apache-2.0" ]
1
2022-03-10T15:41:10.000Z
2022-03-10T15:41:10.000Z
from django.apps import AppConfig class WiretapConfig(AppConfig): name = "wiretap"
14.833333
33
0.752809
10
89
6.7
0.9
0
0
0
0
0
0
0
0
0
0
0
0.168539
89
5
34
17.8
0.905405
0
0
0
0
0
0.078652
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
1
0
0
4
d616f2229ff9b0bcb0bc10110a6a11f8c6df42c5
493
py
Python
lib/generate_request_logger.py
MaZderMind/gstreamer-plugin-generator
d2ea10e48f38491929b342235936e29700170ef3
[ "MIT" ]
3
2019-01-24T20:32:09.000Z
2020-04-01T16:33:17.000Z
lib/generate_request_logger.py
MaZderMind/gstreamer-plugin-generator
d2ea10e48f38491929b342235936e29700170ef3
[ "MIT" ]
14
2019-01-09T23:14:21.000Z
2020-09-02T03:12:13.000Z
lib/generate_request_logger.py
MaZderMind/gstreamer-plugin-generator
d2ea10e48f38491929b342235936e29700170ef3
[ "MIT" ]
null
null
null
import datetime import json import os from lib.string_utils import pascal_case PLUGIN_REQUESTS_LOG_DIR = 'PLUGIN_REQUESTS_LOG_DIR' def log_generate_request(request, plugin_info): if PLUGIN_REQUESTS_LOG_DIR in request.environ: log_dir = request.environ[PLUGIN_REQUESTS_LOG_DIR] logfile_name = str(datetime.dateti...
30.8125
99
0.772819
76
493
4.697368
0.473684
0.10084
0.190476
0.22409
0
0
0
0
0
0
0
0
0.109533
493
15
100
32.866667
0.813212
0
0
0
1
0
0.073022
0.046653
0
0
0
0
0
1
0.090909
false
0
0.363636
0
0.454545
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
1
0
0
0
0
4
d63b27e07c39438741783671e11af4758da0169e
783
py
Python
helper_objects/strategies/StrategyDecorator.py
Jipje/local_smart_grid_simulation
ca11bcf349c51bd24e0a8dffd21ca82e35c8255a
[ "MIT" ]
null
null
null
helper_objects/strategies/StrategyDecorator.py
Jipje/local_smart_grid_simulation
ca11bcf349c51bd24e0a8dffd21ca82e35c8255a
[ "MIT" ]
null
null
null
helper_objects/strategies/StrategyDecorator.py
Jipje/local_smart_grid_simulation
ca11bcf349c51bd24e0a8dffd21ca82e35c8255a
[ "MIT" ]
null
null
null
from helper_objects.strategies.Strategy import Strategy class StrategyDecorator(Strategy): def __init__(self, base_strategy: Strategy, name): super().__init__(name) self.base_strategy = base_strategy def price_index(self, price): return self.base_strategy.price_index(price) def c...
34.043478
100
0.753512
99
783
5.565657
0.323232
0.15245
0.174229
0.15971
0.15245
0.15245
0.15245
0.15245
0
0
0
0
0.168582
783
22
101
35.590909
0.84639
0
0
0
0
0
0
0
0
0
0
0
0
1
0.4
false
0.066667
0.066667
0.266667
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
1
0
1
0
1
1
0
0
4
d63fbfe377befd1b9e49f801e1b8192f785c06b2
138
py
Python
leapYear.py
shubham2704/codes_instagram
c95aab74aabb4af9d4baa5c7b26698d8f77a95eb
[ "MIT" ]
1
2020-06-05T19:06:49.000Z
2020-06-05T19:06:49.000Z
leapYear.py
shubham2704/codes_instagram
c95aab74aabb4af9d4baa5c7b26698d8f77a95eb
[ "MIT" ]
null
null
null
leapYear.py
shubham2704/codes_instagram
c95aab74aabb4af9d4baa5c7b26698d8f77a95eb
[ "MIT" ]
null
null
null
year = 2020 if year%4==0 and year%100!=0 or year%400==0: print(f"{year} is a leap year") else: print(f"{year} is not leap year")
23
44
0.615942
29
138
2.931034
0.551724
0.141176
0.235294
0.282353
0
0
0
0
0
0
0
0.12844
0.210145
138
6
45
23
0.651376
0
0
0
0
0
0.316547
0
0
0
0
0
0
1
0
false
0
0
0
0
0.4
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
d641b493f1917fc50b0c1bd37d75b27418b4b5bd
599
py
Python
waio/factory/models/main.py
dotX12/waio
6bc41df2d650f31fdb11a1a2b67c6149afa0e11a
[ "MIT" ]
24
2021-11-08T13:37:05.000Z
2022-03-24T12:49:54.000Z
waio/factory/models/main.py
dotX12/waio
6bc41df2d650f31fdb11a1a2b67c6149afa0e11a
[ "MIT" ]
1
2022-01-19T03:11:58.000Z
2022-01-19T03:13:30.000Z
waio/factory/models/main.py
dotX12/waio
6bc41df2d650f31fdb11a1a2b67c6149afa0e11a
[ "MIT" ]
5
2021-11-11T04:11:12.000Z
2022-02-15T10:41:58.000Z
from dataclasses import dataclass from typing import Union from waio.factory.models.button import PayloadButtonReply from waio.factory.models.contact import PayloadContacts from waio.factory.models.document import PayloadFile from waio.factory.models.image import PayloadImage from waio.factory.models.list import Paylo...
24.958333
57
0.75793
65
599
6.984615
0.415385
0.105727
0.198238
0.277533
0
0
0
0
0
0
0
0
0.191987
599
23
58
26.043478
0.938017
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.4
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
1
0
1
0
0
0
0
4
c391aa1be97ef144f4d084a2004027e3df93b394
160
py
Python
lib/JumpScale/lib/docker/__init__.py
rudecs/jumpscale_core7
30c03f26f1cdad3edbb9d79d50fbada8acc974f5
[ "Apache-2.0" ]
null
null
null
lib/JumpScale/lib/docker/__init__.py
rudecs/jumpscale_core7
30c03f26f1cdad3edbb9d79d50fbada8acc974f5
[ "Apache-2.0" ]
4
2016-08-25T12:08:39.000Z
2018-04-12T12:36:01.000Z
lib/JumpScale/lib/docker/__init__.py
rudecs/jumpscale_core7
30c03f26f1cdad3edbb9d79d50fbada8acc974f5
[ "Apache-2.0" ]
3
2016-03-08T07:49:34.000Z
2018-10-19T13:56:43.000Z
from JumpScale import j def cb(): from .Docker import Docker return Docker() j.base.loader.makeAvailable(j, 'tools') j.tools._register('docker', cb)
16
39
0.7
23
160
4.826087
0.565217
0.108108
0
0
0
0
0
0
0
0
0
0
0.16875
160
9
40
17.777778
0.834586
0
0
0
0
0
0.069182
0
0
0
0
0
0
1
0.166667
true
0
0.333333
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
0
1
0
1
0
0
0
0
4
c3ae77cf339b1d3e9a7efbb3617a32fb92dad602
40,600
py
Python
cardboard/cards/sets/future_sight.py
Julian/cardboard
6ab676d04b38bf9b0d0c4a849364159947b8ea7f
[ "MIT" ]
5
2015-03-23T10:25:40.000Z
2021-05-29T06:00:40.000Z
cardboard/cards/sets/future_sight.py
Julian/cardboard
6ab676d04b38bf9b0d0c4a849364159947b8ea7f
[ "MIT" ]
null
null
null
cardboard/cards/sets/future_sight.py
Julian/cardboard
6ab676d04b38bf9b0d0c4a849364159947b8ea7f
[ "MIT" ]
1
2019-02-17T14:45:29.000Z
2019-02-17T14:45:29.000Z
from cardboard import types from cardboard.ability import ( AbilityNotImplemented, spell, activated, triggered, static ) from cardboard.cards import card, common, keywords, match @card("Oriss, Samite Guardian") def oriss_samite_guardian(card, abilities): def oriss_samite_guardian(): return AbilityNot...
19.853301
94
0.723596
4,127
40,600
6.87497
0.08723
0.315934
0.098121
0.00504
0.445811
0.270645
0.220527
0.207134
0.190216
0.190216
0
0
0.204261
40,600
2,045
95
19.853301
0.878231
0
0
0.507976
0
0
0.063792
0
0
0
0
0
0
1
0.424853
false
0
0.002519
0.278757
0.852225
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
4
c3d4e2fe84246d09d7193e50a30b77957ce76405
8,447
py
Python
tests/pool_test.py
gatehouse/cppcms
61da055ffeb349b4eda14bc9ac393af9ce842364
[ "MIT" ]
null
null
null
tests/pool_test.py
gatehouse/cppcms
61da055ffeb349b4eda14bc9ac393af9ce842364
[ "MIT" ]
null
null
null
tests/pool_test.py
gatehouse/cppcms
61da055ffeb349b4eda14bc9ac393af9ce842364
[ "MIT" ]
null
null
null
#!/usr/bin/env python # coding=utf-8 # # vim: tabstop=4 expandtab shiftwidth=4 softtabstop=4 # import httplib import sys import re import time import datetime import socket def test(x): if not x: raise RuntimeError("Failed") def now(): return " " + datetime.datetime.now().strftime("%H:%M:%S.%f") c...
24.626822
67
0.531905
1,363
8,447
3.203228
0.096845
0.059322
0.05497
0.07902
0.729043
0.716674
0.70087
0.683463
0.671324
0.666285
0
0.051251
0.223866
8,447
342
68
24.69883
0.614704
0.012312
0
0.605634
0
0
0.255041
0.024364
0
0
0
0
0
0
null
null
0
0.021127
null
null
0.052817
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
1
0
0
0
0
0
0
0
0
4
c3e69092e91946cdc4553ff8cb17b5b9790f5fd6
252
py
Python
NovelSpider/main.py
sunwei19910119/NovelSpider
bbdb80ee028264519224841ab1fe7e349a5fed01
[ "MIT" ]
2
2018-08-22T02:41:33.000Z
2018-08-22T02:45:13.000Z
NovelSpider/main.py
sunwei19910119/NovelSpider
bbdb80ee028264519224841ab1fe7e349a5fed01
[ "MIT" ]
null
null
null
NovelSpider/main.py
sunwei19910119/NovelSpider
bbdb80ee028264519224841ab1fe7e349a5fed01
[ "MIT" ]
null
null
null
from scrapy.cmdline import execute import sys import os #将系统当前目录设置为项目根目录 #os.path.abspath(__file__)为当前文件所在的绝对路径 #os.path.dirname为文件所在目录 sys.path.append(os.path.dirname(os.path.abspath(__file__))) #执行命令相当于在控制台输入改名了 execute(["scrapy","crawl","zxcs"])
22.909091
59
0.793651
33
252
5.818182
0.545455
0.125
0.135417
0.177083
0
0
0
0
0
0
0
0
0.06746
252
10
60
25.2
0.817021
0.365079
0
0
0
0
0.096154
0
0
0
0
0
0
1
0
true
0
0.6
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
0
1
0
1
0
1
0
0
4
7f02da336fc10f176f15a84e18412d762cb21eda
130
py
Python
ramda/private/_isPlaceholder.py
zydmayday/pamda
6740d0294f3bedbeeef3bbc3042a43dceb3239b2
[ "MIT" ]
1
2022-03-14T07:35:13.000Z
2022-03-14T07:35:13.000Z
ramda/private/_isPlaceholder.py
zydmayday/pamda
6740d0294f3bedbeeef3bbc3042a43dceb3239b2
[ "MIT" ]
3
2022-03-24T02:30:18.000Z
2022-03-31T07:46:04.000Z
ramda/private/_isPlaceholder.py
zydmayday/pamda
6740d0294f3bedbeeef3bbc3042a43dceb3239b2
[ "MIT" ]
null
null
null
def _isPlaceholder(a): if a is None: return False return isinstance(a, dict) and a.get('@@functional/placeholder', False)
26
73
0.707692
19
130
4.789474
0.736842
0
0
0
0
0
0
0
0
0
0
0
0.169231
130
4
74
32.5
0.842593
0
0
0
0
0
0.184615
0.184615
0
0
0
0
0
1
0.25
false
0
0
0
0.75
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
1
0
0
4
7f1800fb923b4a44b7f40e851cd3a0b5a02d9b0c
130
py
Python
mountequist/impostors/base.py
ginjeni1/mountequist
795d6921e41be8c3097c7c4a06f0ad0a1e4742b5
[ "MIT" ]
null
null
null
mountequist/impostors/base.py
ginjeni1/mountequist
795d6921e41be8c3097c7c4a06f0ad0a1e4742b5
[ "MIT" ]
null
null
null
mountequist/impostors/base.py
ginjeni1/mountequist
795d6921e41be8c3097c7c4a06f0ad0a1e4742b5
[ "MIT" ]
1
2018-06-12T18:51:37.000Z
2018-06-12T18:51:37.000Z
import abc class Impostor(object): __metaclass__ = abc.ABCMeta @abc.abstractmethod def as_dict(self): pass
13
31
0.661538
15
130
5.4
0.866667
0
0
0
0
0
0
0
0
0
0
0
0.261538
130
9
32
14.444444
0.84375
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0.166667
0.166667
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
0
0
1
0
0
1
0
0
4
7f1c97698015e601f2abee5b4982e28b8367b2cb
188
py
Python
setup.py
timmens/ose-meetup-pres
8eb701c6af601e5e873b618791d5acaa07232331
[ "MIT" ]
null
null
null
setup.py
timmens/ose-meetup-pres
8eb701c6af601e5e873b618791d5acaa07232331
[ "MIT" ]
null
null
null
setup.py
timmens/ose-meetup-pres
8eb701c6af601e5e873b618791d5acaa07232331
[ "MIT" ]
null
null
null
from setuptools import find_packages from setuptools import setup setup( name="project", version="0.0.1", packages=find_packages(where="src"), package_dir={"": "src"}, )
17.090909
40
0.675532
24
188
5.166667
0.625
0.225806
0.322581
0
0
0
0
0
0
0
0
0.019355
0.175532
188
10
41
18.8
0.780645
0
0
0
0
0
0.095745
0
0
0
0
0
0
1
0
true
0
0.25
0
0.25
0
1
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
4
613f0a40d88b8f59c3f26e0d26e99ebf42a6f110
117
py
Python
udacity/self-driving-intro/4-c++/4/6/python/test.py
adriancarriger/experiments
7e4248592dc8fbb08522c9b5f0393c80dc7e2699
[ "MIT" ]
1
2021-06-22T13:38:36.000Z
2021-06-22T13:38:36.000Z
udacity/self-driving-intro/4-c++/4/6/python/test.py
adriancarriger/experiments
7e4248592dc8fbb08522c9b5f0393c80dc7e2699
[ "MIT" ]
108
2019-05-23T16:12:32.000Z
2020-09-04T15:47:33.000Z
udacity/self-driving-intro/4-c++/4/6/python/test.py
adriancarriger/experiments
7e4248592dc8fbb08522c9b5f0393c80dc7e2699
[ "MIT" ]
null
null
null
from helpers import blur new_G = [[0 for i in range(3)] for j in range(3)] new_G[1][1] = 1 print(blur(new_G, 0.12))
19.5
49
0.649573
28
117
2.607143
0.571429
0.164384
0.219178
0.246575
0
0
0
0
0
0
0
0.09375
0.179487
117
5
50
23.4
0.666667
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.25
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
6144e8946099ab4a180542c729cf631e43e40215
131
py
Python
Proyecto/simulation/set_off_classes/riders/marc_marquez.py
leynier/IA-Sim-Com
f6e99bb1aa4b02d5d558dc76a9bf802c3761e428
[ "MIT" ]
null
null
null
Proyecto/simulation/set_off_classes/riders/marc_marquez.py
leynier/IA-Sim-Com
f6e99bb1aa4b02d5d558dc76a9bf802c3761e428
[ "MIT" ]
1
2022-02-11T07:26:54.000Z
2022-02-11T07:26:54.000Z
Proyecto/simulation/set_off_classes/riders/marc_marquez.py
leynier/IA-Sim-Com
f6e99bb1aa4b02d5d558dc76a9bf802c3761e428
[ "MIT" ]
null
null
null
from simulation.rider import Rider class Marquez(Rider): def __init__(self): super().__init__("Marc Marquez", 10, 9)
18.714286
47
0.679389
17
131
4.764706
0.764706
0
0
0
0
0
0
0
0
0
0
0.028571
0.198473
131
6
48
21.833333
0.742857
0
0
0
0
0
0.091603
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.75
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
1
0
0
4
616d70b1993653c3b6f9f723b20133a60b99772d
142
py
Python
upylab/upylab_4.1.py
piousteph/mooc_python
b7446c8a8317e2ae5e87a9ce27fd107f20333765
[ "MIT" ]
null
null
null
upylab/upylab_4.1.py
piousteph/mooc_python
b7446c8a8317e2ae5e87a9ce27fd107f20333765
[ "MIT" ]
null
null
null
upylab/upylab_4.1.py
piousteph/mooc_python
b7446c8a8317e2ae5e87a9ce27fd107f20333765
[ "MIT" ]
null
null
null
def deux_egaux(a, b, c): return a == b or a == c or b == c a = int(input()) b = int(input()) c = int(input()) print(deux_egaux(a, b, c))
17.75
37
0.542254
30
142
2.5
0.366667
0.08
0.266667
0.293333
0.32
0
0
0
0
0
0
0
0.232394
142
8
38
17.75
0.688073
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0
0.166667
0.333333
0.166667
0
0
0
null
0
1
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
1
0
0
0
4
61799027e974f5de2f3de3a8fc5502dc028a10f7
797
py
Python
workerInfra/domain/outputFormatterInterface.py
jtom38/newsbot.worker
6f5d93c474d21542f1af20e3b2537f26e2bcbbc3
[ "MIT" ]
1
2021-09-23T16:19:46.000Z
2021-09-23T16:19:46.000Z
workerInfra/domain/outputFormatterInterface.py
jtom38/newsbot.worker
6f5d93c474d21542f1af20e3b2537f26e2bcbbc3
[ "MIT" ]
10
2021-09-26T05:53:11.000Z
2022-01-07T00:38:46.000Z
workerInfra/domain/outputFormatterInterface.py
jtom38/newsbot.worker
6f5d93c474d21542f1af20e3b2537f26e2bcbbc3
[ "MIT" ]
null
null
null
from typing import List from abc import ABC, abstractclassmethod from workerInfra.enum import SourcesEnum class OutputFormatterInterface(ABC): @abstractclassmethod def replaceImages(self, msg: str, replaceWith: str) -> str: raise NotImplementedError() @abstractclassmethod def findAllImages(se...
28.464286
89
0.688833
78
797
7.038462
0.448718
0.200364
0.196721
0.335155
0.398907
0.309654
0.214936
0.214936
0
0
0
0
0.224592
797
27
90
29.518519
0.88835
0.057716
0
0.5
0
0
0
0
0
0
0
0
0
1
0.277778
false
0
0.166667
0
0.5
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
1
0
0
0
0
0
0
0
4
619e5e12db416a55d4b7ea933add92226f266ea6
786
py
Python
Computation/RootFinding/__init__.py
SymmetricChaos/FiniteFields
65258e06b7f04ce15223c1bc0c2384ef5e9cec1a
[ "MIT" ]
1
2021-08-22T15:03:59.000Z
2021-08-22T15:03:59.000Z
Computation/RootFinding/__init__.py
SymmetricChaos/NumberTheory
65258e06b7f04ce15223c1bc0c2384ef5e9cec1a
[ "MIT" ]
null
null
null
Computation/RootFinding/__init__.py
SymmetricChaos/NumberTheory
65258e06b7f04ce15223c1bc0c2384ef5e9cec1a
[ "MIT" ]
null
null
null
from Computation.RootFinding.HalleysMethod import halleys_method, halleys_method_convergents from Computation.RootFinding.NewtonsMethod import newtons_method, newtons_method_convergents from Computation.RootFinding.SchoolyardMethod import schoolyard_method, schoolyard_method_convergents from Computation.RootFinding.Squ...
78.6
101
0.846056
82
786
7.670732
0.268293
0.216216
0.206677
0.152623
0.756757
0.130366
0.130366
0.130366
0
0
0
0
0.083969
786
10
102
78.6
0.873611
0
0
0
0
0
0.273189
0.138501
0
0
0
0
0
1
0
false
0
0.555556
0
0.555556
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
0
1
0
1
0
0
4
61b248b1c561a508f6de690d4f0af79e1d597a20
75
py
Python
24.py
suphrt/newww
95d33867ceae767578036a92aa4d7aad470bdf2a
[ "MIT" ]
null
null
null
24.py
suphrt/newww
95d33867ceae767578036a92aa4d7aad470bdf2a
[ "MIT" ]
null
null
null
24.py
suphrt/newww
95d33867ceae767578036a92aa4d7aad470bdf2a
[ "MIT" ]
null
null
null
x = 4 y = 132 t = x % y x = x + t + 15 y = y // x t = t + y print(t, x, y)
9.375
14
0.373333
21
75
1.333333
0.333333
0.142857
0.214286
0
0
0
0
0
0
0
0
0.136364
0.413333
75
7
15
10.714286
0.5
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.142857
1
0
1
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
0
0
0
0
0
4
f636376cc6e3c5eec90c2890181019c7ab1acc6d
86
py
Python
read-ufo-no-validate.py
madig/test-generate-instances
462d63a96ebdbb104ec32f5590292d7a4ce58ca0
[ "Apache-2.0" ]
1
2020-09-26T07:38:56.000Z
2020-09-26T07:38:56.000Z
read-ufo-no-validate.py
madig/test-generate-instances
462d63a96ebdbb104ec32f5590292d7a4ce58ca0
[ "Apache-2.0" ]
null
null
null
read-ufo-no-validate.py
madig/test-generate-instances
462d63a96ebdbb104ec32f5590292d7a4ce58ca0
[ "Apache-2.0" ]
null
null
null
import ufoLib2 ufoLib2.Font.open("NotoSans-Regular.ufo", lazy=False, validate=False)
21.5
69
0.790698
12
86
5.666667
0.833333
0
0
0
0
0
0
0
0
0
0
0.025
0.069767
86
3
70
28.666667
0.825
0
0
0
0
0
0.232558
0
0
0
0
0
0
1
0
true
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
1
0
1
0
0
0
0
4
f641abbcb1716129c23ccb8fb48a7debf59ae62c
13,898
py
Python
tests/test_mapper.py
tushkanin/jsondataclass
a96d749de9a1c46b1f0bbf380d61dc40e72c51d9
[ "MIT" ]
null
null
null
tests/test_mapper.py
tushkanin/jsondataclass
a96d749de9a1c46b1f0bbf380d61dc40e72c51d9
[ "MIT" ]
1
2021-11-15T17:49:32.000Z
2021-11-15T17:49:32.000Z
tests/test_mapper.py
tushkanin/jsondataclass
a96d749de9a1c46b1f0bbf380d61dc40e72c51d9
[ "MIT" ]
null
null
null
import json import sys from abc import ABCMeta, abstractmethod from dataclasses import dataclass from datetime import date, datetime, time from decimal import Decimal from enum import Enum from typing import Dict, List, Optional, Tuple, Union import pytest from jsondataclass.mapper import DataClassMapper, from_dict, ...
21.48068
105
0.639229
1,556
13,898
5.554627
0.08162
0.103089
0.124957
0.082495
0.742103
0.672915
0.610436
0.594701
0.575726
0.561148
0
0.017255
0.257735
13,898
646
106
21.513932
0.82057
0
0
0.734043
0
0
0.045186
0.001583
0
0
0
0
0.025532
1
0.231915
false
0
0.025532
0.165957
0.557447
0
0
0
0
null
0
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
0
1
0
0
0
1
1
0
0
4
f65b26239370d92a5a550f5e645c59b8bb6cc4b7
296
py
Python
comparison/middleware.py
pmaigutyak/mp-shop-comparison
8b0a33f66621c52e7deef849d6a65e30794cc53f
[ "0BSD" ]
3
2020-01-22T17:54:19.000Z
2021-06-01T20:10:02.000Z
comparison/middleware.py
pmaigutyak/mp-shop-comparison
8b0a33f66621c52e7deef849d6a65e30794cc53f
[ "0BSD" ]
null
null
null
comparison/middleware.py
pmaigutyak/mp-shop-comparison
8b0a33f66621c52e7deef849d6a65e30794cc53f
[ "0BSD" ]
null
null
null
from comparison.service import Comparison class ComparisonMiddleware(object): def __init__(self, get_response): self.get_response = get_response def __call__(self, request): request.comparison = Comparison(request.session) return self.get_response(request)
19.733333
56
0.726351
32
296
6.34375
0.5
0.216749
0.221675
0
0
0
0
0
0
0
0
0
0.199324
296
14
57
21.142857
0.85654
0
0
0
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0.142857
0
0.714286
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
1
0
0
0
0
1
0
0
4
9c9381f9c07e9eb3deb24b7860e0122532ddc4ce
143
py
Python
examples/pytorch_from_centralized_to_federated/server.py
Chris-george-anil/flower
98fb2fcde273c1226cc1f2e1638c1e4d8f35815c
[ "Apache-2.0" ]
895
2020-03-22T20:34:16.000Z
2022-03-31T15:20:42.000Z
examples/pytorch_from_centralized_to_federated/server.py
Chris-george-anil/flower
98fb2fcde273c1226cc1f2e1638c1e4d8f35815c
[ "Apache-2.0" ]
322
2020-02-19T10:16:33.000Z
2022-03-31T09:49:08.000Z
examples/pytorch_from_centralized_to_federated/server.py
Chris-george-anil/flower
98fb2fcde273c1226cc1f2e1638c1e4d8f35815c
[ "Apache-2.0" ]
234
2020-03-31T10:52:16.000Z
2022-03-31T14:04:42.000Z
"""Flower server example.""" import flwr as fl if __name__ == "__main__": fl.server.start_server("[::]:8080", config={"num_rounds": 3})
17.875
65
0.643357
19
143
4.315789
0.842105
0
0
0
0
0
0
0
0
0
0
0.040984
0.146853
143
7
66
20.428571
0.631148
0.153846
0
0
0
0
0.234783
0
0
0
0
0
0
1
0
true
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
1
0
1
0
0
0
0
4
9c9d20b4498c44b327bd497930401fa4f9b9e954
1,965
py
Python
tests/unit/review_test.py
superdosh/betterreads
58374feb1336587c7709960bc1a6b9da71c58cab
[ "MIT" ]
null
null
null
tests/unit/review_test.py
superdosh/betterreads
58374feb1336587c7709960bc1a6b9da71c58cab
[ "MIT" ]
null
null
null
tests/unit/review_test.py
superdosh/betterreads
58374feb1336587c7709960bc1a6b9da71c58cab
[ "MIT" ]
null
null
null
from datetime import datetime import json from unittest import mock import pytest from betterreads.client import GoodreadsClient class TestReview: @pytest.fixture @mock.patch("betterreads.client.GoodreadsClient.request") def test_review(self, mock_request): client = GoodreadsClient("GOODREADS_KE...
32.75
90
0.719593
262
1,965
5.133588
0.312977
0.289963
0.125651
0.193309
0.319703
0.257249
0.12342
0.062454
0
0
0
0.026015
0.197964
1,965
59
91
33.305085
0.827411
0.040712
0
0
0
0
0.112586
0.038768
0
0
0
0
0.325
1
0.35
false
0
0.125
0
0.525
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
1
0
0
0
0
1
0
0
4
9c9d55c405efa768de68ad198b21e731857eef32
125
py
Python
pycwr/GraphicalInterface/__init__.py
aliny2003/pycwr
3186125bdd2f551b9c59639dca567a1c06b50e96
[ "MIT" ]
144
2019-11-27T14:36:41.000Z
2022-02-23T08:21:17.000Z
pycwr/GraphicalInterface/__init__.py
zhaopingsun/pycwr
7459371588e6d0d6d0737e249afa3921fe073151
[ "MIT" ]
32
2019-11-29T10:11:53.000Z
2022-03-14T07:46:44.000Z
pycwr/GraphicalInterface/__init__.py
zhaopingsun/pycwr
7459371588e6d0d6d0737e249afa3921fe073151
[ "MIT" ]
57
2019-11-27T12:51:44.000Z
2022-01-29T14:50:05.000Z
from . import RadarUI, RadarInterface, icons, station_info __all__ = ["RadarInterface", "RadarUI", "station_info", "icons"]
41.666667
64
0.744
13
125
6.692308
0.615385
0.252874
0
0
0
0
0
0
0
0
0
0
0.112
125
3
64
41.666667
0.783784
0
0
0
0
0
0.301587
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
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
1
0
0
0
0
4
9cad2322678e80f09625e038c16306de013d5c9d
151
py
Python
arithmetic.py
Adelaide95/laba3
d96533cd86be27b7535fe173df9e727f83442e75
[ "MIT" ]
null
null
null
arithmetic.py
Adelaide95/laba3
d96533cd86be27b7535fe173df9e727f83442e75
[ "MIT" ]
null
null
null
arithmetic.py
Adelaide95/laba3
d96533cd86be27b7535fe173df9e727f83442e75
[ "MIT" ]
null
null
null
otvet = 4*100-54 print('Решите пример: 4 * 100 - 54') print('Введите ответ: ') otv = input() print("Ваш ответ:", otv) print("Правильный ответ:", otvet)
25.166667
36
0.662252
23
151
4.347826
0.565217
0.08
0.12
0.22
0
0
0
0
0
0
0
0.092308
0.139073
151
6
37
25.166667
0.676923
0
0
0
0
0
0.453947
0
0
0
0
0
0
1
0
false
0
0
0
0
0.666667
1
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
4
9cb1547b9901dd598617abb6b6c197303c24aca2
17,491
py
Python
test/testdata.py
stroblme/epsolar-tracer
ae0b8e75ff38cdd8d534a6a3621366995c8c705f
[ "Apache-2.0" ]
null
null
null
test/testdata.py
stroblme/epsolar-tracer
ae0b8e75ff38cdd8d534a6a3621366995c8c705f
[ "Apache-2.0" ]
null
null
null
test/testdata.py
stroblme/epsolar-tracer
ae0b8e75ff38cdd8d534a6a3621366995c8c705f
[ "Apache-2.0" ]
null
null
null
# Fake version of modbus client with some predefetched request/reply data from pymodbus.constants import Defaults from pymodbus.factory import ClientDecoder from pymodbus.client.sync import BaseModbusClient from pymodbus.transaction import ModbusAsciiFramer, ModbusRtuFramer from pymodbus.exceptions import ParameterEx...
30.578671
137
0.616889
3,199
17,491
3.362926
0.115974
0.104294
0.046849
0.062465
0.487172
0.467931
0.466258
0.367262
0.219279
0.072039
0
0.312289
0.104397
17,491
571
138
30.632224
0.374465
0.082271
0
0.385827
0
0.003937
0.746867
0.576066
0
0
0
0
0
1
0.01378
false
0
0.011811
0
0.035433
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
9cd6705997f5d2026b5c326b986ae112900a7626
302
py
Python
tomasula-simulator/int_alu.py
SwapnilBhosale/tomasula-simulator
2ae152e0574159314ccf7fc298b82d6865a03169
[ "Apache-2.0" ]
null
null
null
tomasula-simulator/int_alu.py
SwapnilBhosale/tomasula-simulator
2ae152e0574159314ccf7fc298b82d6865a03169
[ "Apache-2.0" ]
null
null
null
tomasula-simulator/int_alu.py
SwapnilBhosale/tomasula-simulator
2ae152e0574159314ccf7fc298b82d6865a03169
[ "Apache-2.0" ]
null
null
null
from func_unit import FUnit class IntAlu(FUnit): def __init__(self, name, latency): super().__init__(name, latency) self.load_store = None def execute(self): pass def print(self): return "load_store: {} , instr: {}".format(self.load_store, self.instr)
18.875
79
0.622517
38
302
4.631579
0.578947
0.153409
0.147727
0
0
0
0
0
0
0
0
0
0.254967
302
15
80
20.133333
0.782222
0
0
0
0
0
0.086379
0
0
0
0
0
0
1
0.333333
false
0.111111
0.111111
0.111111
0.666667
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
1
1
0
0
4
9cf2b4200487375c8f8c986e599a664bca528894
1,733
py
Python
Codes/Resflow_Procs/lib/layers/glow.py
aahmadian-liu/ood-likefree-invertible
977e70eccaa7f2eb09724b5bf6f28156f4940461
[ "MIT" ]
244
2019-08-19T17:56:08.000Z
2022-03-30T04:00:00.000Z
Codes/Resflow_Procs/lib/layers/glow.py
aahmadian-liu/ood-likefree-invertible
977e70eccaa7f2eb09724b5bf6f28156f4940461
[ "MIT" ]
4
2019-12-03T14:46:19.000Z
2020-08-15T18:58:09.000Z
Codes/Resflow_Procs/lib/layers/glow.py
aahmadian-liu/ood-likefree-invertible
977e70eccaa7f2eb09724b5bf6f28156f4940461
[ "MIT" ]
45
2019-08-19T19:17:05.000Z
2022-01-28T09:25:02.000Z
import torch import torch.nn as nn import torch.nn.functional as F class InvertibleLinear(nn.Module): def __init__(self, dim): super(InvertibleLinear, self).__init__() self.dim = dim self.weight = nn.Parameter(torch.eye(dim)[torch.randperm(dim)]) def forward(self, x, logpx=None): ...
27.951613
89
0.592037
237
1,733
4.219409
0.194093
0.07
0.044
0.03
0.764
0.764
0.736
0.682
0.59
0.59
0
0.009592
0.27813
1,733
61
90
28.409836
0.789768
0
0
0.680851
0
0
0.006924
0
0
0
0
0
0
1
0.212766
false
0
0.06383
0.085106
0.574468
0
0
0
0
null
0
0
0
0
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
1
0
0
0
0
1
0
0
4
14047ad00406628ad462d7b4df07412999743b81
283
py
Python
planeDataT/__init__.py
whess96/SeniorThesis
f780159663bfff5cfdec977624621c492fdd2b90
[ "MIT" ]
null
null
null
planeDataT/__init__.py
whess96/SeniorThesis
f780159663bfff5cfdec977624621c492fdd2b90
[ "MIT" ]
null
null
null
planeDataT/__init__.py
whess96/SeniorThesis
f780159663bfff5cfdec977624621c492fdd2b90
[ "MIT" ]
null
null
null
"""LCM package __init__.py file This file automatically generated by lcm-gen. DO NOT MODIFY BY HAND!!!! """ from .viconState import viconState from .controlCommands import controlCommands from .controlState import controlState from .controlEstimateState import controlEstimateState
28.3
54
0.823322
33
283
6.939394
0.606061
0
0
0
0
0
0
0
0
0
0
0
0.116608
283
9
55
31.444444
0.916
0.353357
0
0
1
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
1
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
140fae6d6f6f809a09bcc58495291c0a0e22014d
162
py
Python
aws-boto3-demos/ec2/5_ec2_stopec2instance.py
prafulpatel16/python-practice
9a66f83e5d846c22c117faa4e0f1e8882de2193d
[ "Apache-2.0" ]
null
null
null
aws-boto3-demos/ec2/5_ec2_stopec2instance.py
prafulpatel16/python-practice
9a66f83e5d846c22c117faa4e0f1e8882de2193d
[ "Apache-2.0" ]
null
null
null
aws-boto3-demos/ec2/5_ec2_stopec2instance.py
prafulpatel16/python-practice
9a66f83e5d846c22c117faa4e0f1e8882de2193d
[ "Apache-2.0" ]
null
null
null
import sys import boto3 from botocore.exceptions import ClientError ec2 = boto3.client('ec2') ec2.stop_instances(InstanceIds= ['i-0a0529d30539aca88'])
18
57
0.753086
19
162
6.368421
0.736842
0
0
0
0
0
0
0
0
0
0
0.123188
0.148148
162
8
58
20.25
0.753623
0
0
0
0
0
0.144737
0
0
0
0
0
0
1
0
false
0
0.6
0
0.6
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
1
0
0
4
141a7991a1734c14f217c70b7b4e288573b3001d
951
py
Python
tramp/algos/expectation_propagation.py
mdnls/tramp
5b8be12df2003ba1364e8a5a83fe597558c848c3
[ "MIT" ]
30
2019-12-10T18:28:23.000Z
2021-12-16T14:18:54.000Z
tramp/algos/expectation_propagation.py
mdnls/tramp
5b8be12df2003ba1364e8a5a83fe597558c848c3
[ "MIT" ]
null
null
null
tramp/algos/expectation_propagation.py
mdnls/tramp
5b8be12df2003ba1364e8a5a83fe597558c848c3
[ "MIT" ]
7
2020-04-01T07:07:42.000Z
2021-11-01T01:45:11.000Z
from .message_passing import MessagePassing from .callbacks import EarlyStopping, EarlyStoppingEP, JoinCallback class ExpectationPropagation(MessagePassing): def __init__(self, model): model.init_shapes() super().__init__(model, message_keys=["a", "b"]) self.default_stopping = EarlyStoppin...
28.818182
67
0.66877
109
951
5.633028
0.366972
0.084691
0.07329
0.102606
0.307818
0.185668
0.185668
0.185668
0.185668
0.185668
0
0
0.23449
951
32
68
29.71875
0.843407
0
0
0.166667
0
0
0.002103
0
0
0
0
0
0
1
0.291667
false
0.083333
0.083333
0.125
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
1
1
0
0
4
1428f67e23d9deceba19e587a02f0da44ad2a27a
4,172
py
Python
features/final_feature_engineering.py
SunnyMarkLiu/Kaggle_NYC_Taxi_Trip_Duration
eca7f44bc3bf1af0690305b45858359adac617b4
[ "MIT" ]
1
2017-09-18T07:37:54.000Z
2017-09-18T07:37:54.000Z
features/final_feature_engineering.py
SunnyMarkLiu/Kaggle_NYC_Taxi_Trip_Duration
eca7f44bc3bf1af0690305b45858359adac617b4
[ "MIT" ]
null
null
null
features/final_feature_engineering.py
SunnyMarkLiu/Kaggle_NYC_Taxi_Trip_Duration
eca7f44bc3bf1af0690305b45858359adac617b4
[ "MIT" ]
null
null
null
#!/usr/local/miniconda2/bin/python # _*_ coding: utf-8 _*_ """ @author: MarkLiu @time : 17-9-10 下午7:18 """ import os import sys module_path = os.path.abspath(os.path.join('..')) sys.path.append(module_path) import pandas as pd from utils import data_utils from conf.configure import Configure # remove warnings impo...
49.666667
119
0.502397
506
4,172
3.934783
0.195652
0.298343
0.27122
0.248619
0.637368
0.620794
0.593672
0.593672
0.515319
0.239076
0
0.043764
0.342761
4,172
83
120
50.26506
0.682349
0.017018
0
0.222222
0
0
0.231852
0.005185
0
0
0
0
0
0
null
null
0
0.095238
null
null
0.063492
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
1
0
0
0
0
0
0
0
0
4
14804d3130057007514189e5faca32d053452fd8
54
py
Python
python/ql/src/Expressions/DuplicateKeyInDictionaryLiteral.py
vadi2/codeql
a806a4f08696d241ab295a286999251b56a6860c
[ "MIT" ]
4,036
2020-04-29T00:09:57.000Z
2022-03-31T14:16:38.000Z
python/ql/src/Expressions/DuplicateKeyInDictionaryLiteral.py
vadi2/codeql
a806a4f08696d241ab295a286999251b56a6860c
[ "MIT" ]
2,970
2020-04-28T17:24:18.000Z
2022-03-31T22:40:46.000Z
python/ql/src/Expressions/DuplicateKeyInDictionaryLiteral.py
ScriptBox99/github-codeql
2ecf0d3264db8fb4904b2056964da469372a235c
[ "MIT" ]
794
2020-04-29T00:28:25.000Z
2022-03-30T08:21:46.000Z
dictionary = {1:"a", 2:"b", 2:"c"} print dictionary[2]
27
34
0.592593
10
54
3.2
0.7
0
0
0
0
0
0
0
0
0
0
0.083333
0.111111
54
2
35
27
0.583333
0
0
0
0
0
0.054545
0
0
0
0
0
0
0
null
null
0
0
null
null
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
1
0
0
0
0
0
0
1
0
4
1496c3c574dea011768054052f8422886349f02b
467
py
Python
app/pkg/cvetracer/__init__.py
stanleyshuang/cvedata
b90afb3e4f90a4ed24d93bd044181c836b4d3747
[ "Apache-2.0" ]
null
null
null
app/pkg/cvetracer/__init__.py
stanleyshuang/cvedata
b90afb3e4f90a4ed24d93bd044181c836b4d3747
[ "Apache-2.0" ]
null
null
null
app/pkg/cvetracer/__init__.py
stanleyshuang/cvedata
b90afb3e4f90a4ed24d93bd044181c836b4d3747
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Auther: Stanley Huang # Project: tracer 1.0 # Date: 2021-07-10 # import abc class i_tracer(): __metaclass__ = abc.ABCMeta def __init__(self): pass @abc.abstractmethod def set(self, *args, **kwargs): print('set', args, kwargs...
16.678571
35
0.558887
55
467
4.581818
0.636364
0.202381
0.238095
0
0
0
0
0
0
0
0
0.033537
0.297645
467
28
36
16.678571
0.734756
0.231263
0
0.214286
0
0
0.028329
0
0
0
0
0
0
1
0.285714
false
0.071429
0.071429
0
0.5
0.214286
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
1
0
1
0
0
0
0
0
4
14aa54046353f96c8fd6a794930f089b1a665de1
376
py
Python
examples/uploadPhoto.py
partizan007/Instagram-API
3435dc6855e1cccf2c85a41839d15ca930563b21
[ "MIT" ]
126
2016-05-18T19:20:32.000Z
2022-02-12T10:30:50.000Z
examples/uploadPhoto.py
partizan007/Instagram-API
3435dc6855e1cccf2c85a41839d15ca930563b21
[ "MIT" ]
41
2016-08-07T17:32:37.000Z
2022-01-13T00:25:31.000Z
examples/uploadPhoto.py
partizan007/Instagram-API
3435dc6855e1cccf2c85a41839d15ca930563b21
[ "MIT" ]
61
2016-07-07T14:18:38.000Z
2021-03-28T12:48:26.000Z
import InstagramAPI # /////// CONFIG /////// username = '' password = '' debug = False photo = '' # path to the photo caption = '' # caption # ////////////////////// i = InstagramAPI.Instagram(username, password, debug) try: i.login() except Exception as e: e.message exit() try: i.uploadPhoto(pho...
15.666667
53
0.593085
42
376
5.309524
0.571429
0.143498
0.188341
0.161435
0
0
0
0
0
0
0
0
0.210106
376
23
54
16.347826
0.750842
0.18883
0
0.25
0
0
0
0
0
0
0
0
0
0
null
null
0.125
0.0625
null
null
0.0625
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
1
0
0
1
0
0
0
0
0
4
1af3a0d2d26316436ab4d4516f6ddc1b27b73f71
101
py
Python
__init__.py
navinbarnwal/normalization
a9997044c1f0b542022b647fdf495dec09d5d1bd
[ "MIT" ]
null
null
null
__init__.py
navinbarnwal/normalization
a9997044c1f0b542022b647fdf495dec09d5d1bd
[ "MIT" ]
null
null
null
__init__.py
navinbarnwal/normalization
a9997044c1f0b542022b647fdf495dec09d5d1bd
[ "MIT" ]
null
null
null
# Inside of __init__.py from MyLib.normalization_library import min_max_nor, zscore_nor, decimal_nor
50.5
76
0.851485
16
101
4.8125
0.875
0
0
0
0
0
0
0
0
0
0
0
0.09901
101
2
76
50.5
0.846154
0.207921
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
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
1
0
1
0
0
0
0
4
211ca822b03d0b3664a26502ffd062933500287d
107
py
Python
Task_0/2. Test_Setup/test_setup.py
NithishB/eyantra2k18
f4a11301ac8a375dfd0de26dfacb5fe91c773080
[ "MIT" ]
null
null
null
Task_0/2. Test_Setup/test_setup.py
NithishB/eyantra2k18
f4a11301ac8a375dfd0de26dfacb5fe91c773080
[ "MIT" ]
null
null
null
Task_0/2. Test_Setup/test_setup.py
NithishB/eyantra2k18
f4a11301ac8a375dfd0de26dfacb5fe91c773080
[ "MIT" ]
null
null
null
# Import module import cardinal # Main function if __name__ == '__main__': cardinal.main()
9.727273
27
0.635514
11
107
5.454545
0.636364
0.4
0
0
0
0
0
0
0
0
0
0
0.271028
107
10
28
10.7
0.769231
0.252336
0
0
0
0
0.123077
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
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
1
0
1
0
0
0
0
4
212166836bddf9295fd0ac83d5e270533a6029df
210
py
Python
src/model/__init__.py
SgtMilk/stock-prediction
2fa9cf851b536ea1cd4fbcf9f767581b36ee38ad
[ "MIT" ]
null
null
null
src/model/__init__.py
SgtMilk/stock-prediction
2fa9cf851b536ea1cd4fbcf9f767581b36ee38ad
[ "MIT" ]
null
null
null
src/model/__init__.py
SgtMilk/stock-prediction
2fa9cf851b536ea1cd4fbcf9f767581b36ee38ad
[ "MIT" ]
null
null
null
# Copyright (c) 2021 Alix Routhier-Lalonde. Licence included in root of package. from .LSTMModel import LSTMModel from .GRUModel import GRUModel from .GRU_LSTM_Model import GRU_LSTM_Model from .Net import Net
30
80
0.814286
32
210
5.21875
0.625
0.083832
0.143713
0
0
0
0
0
0
0
0
0.022099
0.138095
210
6
81
35
0.900552
0.371429
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
1
0
0
4
21262fc081c1163372ea6146e00c472393b4b05a
311
py
Python
frisky/admin.py
zachtib/Frisky
84303915e701aa14dec80da4cfff4d731284c99d
[ "MIT" ]
5
2020-01-22T18:16:59.000Z
2021-06-14T13:23:57.000Z
frisky/admin.py
zachtib/Frisky
84303915e701aa14dec80da4cfff4d731284c99d
[ "MIT" ]
104
2020-02-12T00:36:14.000Z
2022-02-10T08:18:28.000Z
frisky/admin.py
zachtib/Frisky
84303915e701aa14dec80da4cfff4d731284c99d
[ "MIT" ]
4
2020-01-30T15:44:04.000Z
2020-08-27T19:22:57.000Z
from django.contrib import admin from frisky.models import Workspace, Member, Channel @admin.register(Workspace) class WorkspaceAdmin(admin.ModelAdmin): pass @admin.register(Member) class MemberAdmin(admin.ModelAdmin): pass @admin.register(Channel) class ChannelAdmin(admin.ModelAdmin): pass
16.368421
52
0.778135
36
311
6.722222
0.472222
0.161157
0.235537
0.198347
0.264463
0
0
0
0
0
0
0
0.131833
311
18
53
17.277778
0.896296
0
0
0.272727
0
0
0
0
0
0
0
0
0
1
0
true
0.272727
0.181818
0
0.454545
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
1
1
0
0
0
0
0
4
212b1aa2a2a7882d21f5e40854a7af5a6b6edba0
63
py
Python
codemach/tests/source/unpack.py
chuck1/myexecutor
6b70d2e7bc9ace0efde8e38f75be2b928393bfdf
[ "MIT" ]
null
null
null
codemach/tests/source/unpack.py
chuck1/myexecutor
6b70d2e7bc9ace0efde8e38f75be2b928393bfdf
[ "MIT" ]
37
2017-06-29T22:42:08.000Z
2019-01-22T18:22:57.000Z
codemach/tests/source/unpack.py
chuck1/myexecutor
6b70d2e7bc9ace0efde8e38f75be2b928393bfdf
[ "MIT" ]
null
null
null
a, b, c = (1, 2, 3) assert a == 1 assert b == 2 assert c == 3
10.5
19
0.47619
15
63
2
0.466667
0
0
0
0
0
0
0
0
0
0
0.139535
0.31746
63
5
20
12.6
0.55814
0
0
0
0
0
0
0
0
0
0
0
0.75
1
0
true
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
1
0
0
0
0
0
0
4