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
0e859dc8618a044b2a4a6f73f45cab4a7ffcce4e
19,885
py
Python
src/test/python/apache/aurora/client/cli/test_kill.py
zircote/aurora
a12b84444e0ba4227e6a41b0f7e82045b2dcc016
[ "Apache-2.0" ]
null
null
null
src/test/python/apache/aurora/client/cli/test_kill.py
zircote/aurora
a12b84444e0ba4227e6a41b0f7e82045b2dcc016
[ "Apache-2.0" ]
null
null
null
src/test/python/apache/aurora/client/cli/test_kill.py
zircote/aurora
a12b84444e0ba4227e6a41b0f7e82045b2dcc016
[ "Apache-2.0" ]
null
null
null
# # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under ...
41.427083
99
0.73216
2,565
19,885
5.389474
0.101754
0.038194
0.035156
0.039497
0.78002
0.731047
0.701172
0.692998
0.679036
0.665871
0
0.006481
0.161981
19,885
479
100
41.51357
0.823092
0.079809
0
0.637394
0
0
0.096299
0.056096
0
0
0
0
0.124646
1
0.07932
false
0.008499
0.033994
0
0.130312
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
0eaa0520365d30343eafae282875af97ec2af301
176
py
Python
output/models/ms_data/datatypes/facets/nmtoken/nmtoken_min_length004_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
1
2021-08-14T17:59:21.000Z
2021-08-14T17:59:21.000Z
output/models/ms_data/datatypes/facets/nmtoken/nmtoken_min_length004_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
4
2020-02-12T21:30:44.000Z
2020-04-15T20:06:46.000Z
output/models/ms_data/datatypes/facets/nmtoken/nmtoken_min_length004_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
null
null
null
from output.models.ms_data.datatypes.facets.nmtoken.nmtoken_min_length004_xsd.nmtoken_min_length004 import ( FooType, Test, ) __all__ = [ "FooType", "Test", ]
17.6
108
0.715909
21
176
5.52381
0.714286
0.172414
0.327586
0
0
0
0
0
0
0
0
0.041096
0.170455
176
9
109
19.555556
0.753425
0
0
0
0
0
0.0625
0
0
0
0
0
0
1
0
false
0
0.125
0
0.125
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
0
0
0
0
0
3
0ead937296616ec8bd0ff42b9200d507b5f2e131
1,656
py
Python
engine/event/base.py
alexcher-im/sgemu
e85c6834b1057a27ba5c41c357c0de2336a12e2e
[ "Zlib" ]
5
2020-10-24T12:39:52.000Z
2021-04-04T22:47:44.000Z
engine/event/base.py
alexcher-im/sgemu
e85c6834b1057a27ba5c41c357c0de2336a12e2e
[ "Zlib" ]
null
null
null
engine/event/base.py
alexcher-im/sgemu
e85c6834b1057a27ba5c41c357c0de2336a12e2e
[ "Zlib" ]
null
null
null
class BaseEvent: _fields_ = () @classmethod def create_meta(cls, name, attributes=()): return type(name, (cls, ), {'_fields_': cls._fields_ + attributes}) def __init__(self, *args, instant=False): self.instant = instant for field, arg in zip(self._fields_, args): se...
26.285714
77
0.608696
188
1,656
5.06383
0.335106
0.05042
0.034664
0.044118
0
0
0
0
0
0
0
0
0.300725
1,656
62
78
26.709677
0.822107
0.093599
0
0.244444
0
0
0.005344
0
0
0
0
0.016129
0
1
0.222222
false
0.066667
0
0.022222
0.355556
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
1
0
0
0
0
0
3
7ec363e4d8a7c62fc82172edafcd4355f9f551b3
639
py
Python
kitsune/questions/utils.py
983834572/kitsune
d4b3dcdce3294214dbc659c375c8491504473213
[ "BSD-3-Clause" ]
1
2016-07-14T02:44:47.000Z
2016-07-14T02:44:47.000Z
kitsune/questions/utils.py
983834572/kitsune
d4b3dcdce3294214dbc659c375c8491504473213
[ "BSD-3-Clause" ]
null
null
null
kitsune/questions/utils.py
983834572/kitsune
d4b3dcdce3294214dbc659c375c8491504473213
[ "BSD-3-Clause" ]
null
null
null
import logging from statsd import statsd from kitsune.questions.models import ( Question, Answer, AnswerMetricsMappingType) from kitsune.search.es_utils import ES_EXCEPTIONS log = logging.getLogger('k.questions') def num_questions(user): """Returns the number of questions a user has.""" return Questio...
24.576923
66
0.744914
85
639
5.517647
0.4
0.03838
0.089552
0.127932
0.411514
0.270789
0.270789
0
0
0
0
0
0.147105
639
25
67
25.56
0.86055
0.201878
0
0
0
0
0.022267
0
0
0
0
0
0
1
0.25
false
0
0.333333
0
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
3
7ec394479f3050c9d1c8b605c4e7a750dc182986
247
py
Python
Examples/5.1.2 Consumer with Stop.py
wangyonghong/RabbitMQ-in-Depth
56a35c6359d500b7597daf1bb2185b4c451a572c
[ "BSD-3-Clause" ]
111
2015-01-06T20:26:31.000Z
2022-03-14T13:17:12.000Z
Examples/5.1.2 Consumer with Stop.py
wangyonghong/RabbitMQ-in-Depth
56a35c6359d500b7597daf1bb2185b4c451a572c
[ "BSD-3-Clause" ]
4
2018-06-15T20:35:36.000Z
2021-01-13T16:03:40.000Z
Examples/5.1.2 Consumer with Stop.py
wangyonghong/RabbitMQ-in-Depth
56a35c6359d500b7597daf1bb2185b4c451a572c
[ "BSD-3-Clause" ]
43
2015-04-18T13:44:01.000Z
2022-03-14T13:17:13.000Z
import rabbitpy with rabbitpy.Connection() as connection: with connection.channel() as channel: queue = rabbitpy.Queue(channel, 'test-messages') for message in queue.consume_messages(no_ack=True): message.pprint()
247
247
0.692308
29
247
5.827586
0.586207
0
0
0
0
0
0
0
0
0
0
0
0.210526
247
1
247
247
0.866667
0
0
0
0
0
0.052632
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0.166667
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
7ee595f8f4f4195efcd09226e153d9270d81c1dc
1,023
py
Python
CrossMgrVideo/Resolutions.py
esitarski/CrossMgr
de33b5ed662556ec659e6e2910f5fd0f88f25fa0
[ "MIT" ]
25
2015-02-26T01:26:10.000Z
2022-03-25T15:46:55.000Z
CrossMgrVideo/Resolutions.py
esitarski/CrossMgr
de33b5ed662556ec659e6e2910f5fd0f88f25fa0
[ "MIT" ]
76
2015-12-09T04:24:30.000Z
2022-02-18T16:39:28.000Z
CrossMgrVideo/Resolutions.py
esitarski/CrossMgr
de33b5ed662556ec659e6e2910f5fd0f88f25fa0
[ "MIT" ]
17
2015-04-23T07:37:13.000Z
2020-01-22T17:47:16.000Z
# from https://webcamtests.com/resolution resolutions = ''' Standard Width×Height Megapixels Status VGA 640×480 0.307 Unknown SD 704×480 0.338 Unknown DVD NTSC 720×480 0.346 Unknown WGA 800×480 0.384 Unknown SVGA 800×600 0.480 Unknown DVCPRO HD 960×720 0.691 Unknown XGA 1024×768 0.786 Unknown 1MP/720P 1280×720 0.922 U...
29.228571
105
0.761486
230
1,023
3.513043
0.508696
0.019802
0.024752
0
0
0
0
0
0
0
0
0.383051
0.134897
1,023
34
106
30.088235
0.497175
0.038123
0
0
0
0
0.881753
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
7ef892d3224549cab41855507d6b1ce7bdb32a3d
11,398
gyp
Python
ui/events/events.gyp
anirudhSK/chromium
a8f23c87e656ab9ba49de9ccccbc53f614cdcb41
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
ui/events/events.gyp
anirudhSK/chromium
a8f23c87e656ab9ba49de9ccccbc53f614cdcb41
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
ui/events/events.gyp
anirudhSK/chromium
a8f23c87e656ab9ba49de9ccccbc53f614cdcb41
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2015-04-17T13:19:09.000Z
2021-10-21T12:55:15.000Z
# Copyright 2013 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. { 'variables': { 'chromium_code': 1, }, 'targets': [ { 'target_name': 'dom4_keycode_converter', 'type': 'static_library', 'de...
34.435045
158
0.591683
1,210
11,398
5.235537
0.159504
0.093449
0.048303
0.056827
0.522494
0.260458
0.182952
0.140174
0.121073
0.116022
0
0.007285
0.265397
11,398
330
159
34.539394
0.749313
0.054922
0
0.40694
0
0.003155
0.635096
0.474858
0
0
0
0.00303
0
1
0
true
0
0
0
0
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
1
1
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
7d1a2a9ce237e62df03d8a806b33c992c8fea674
24
py
Python
keeper_cnab240/__init__.py
BancoDeFormaturas/python-pg-cnab240
1d70d5e4203957673def001b7c48c42f194909b9
[ "MIT" ]
null
null
null
keeper_cnab240/__init__.py
BancoDeFormaturas/python-pg-cnab240
1d70d5e4203957673def001b7c48c42f194909b9
[ "MIT" ]
null
null
null
keeper_cnab240/__init__.py
BancoDeFormaturas/python-pg-cnab240
1d70d5e4203957673def001b7c48c42f194909b9
[ "MIT" ]
1
2019-12-05T19:40:55.000Z
2019-12-05T19:40:55.000Z
name = "keeper_cnab240"
12
23
0.75
3
24
5.666667
1
0
0
0
0
0
0
0
0
0
0
0.142857
0.125
24
1
24
24
0.666667
0
0
0
0
0
0.583333
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
7d1b2760515587bd74214fdb04914215bb35f85e
591
py
Python
packages/pycom/v1.18.2/esp32/stubs/os.py
TheVinhLuong102/micropy-stubs
55ff1773008f7c4dfc3d70a403986486226eb6b3
[ "MIT" ]
18
2019-07-11T13:31:09.000Z
2022-01-27T06:38:40.000Z
packages/pycom/v1.18.2/esp32/stubs/os.py
TheVinhLuong102/micropy-stubs
55ff1773008f7c4dfc3d70a403986486226eb6b3
[ "MIT" ]
9
2019-09-01T21:44:49.000Z
2022-02-04T20:55:08.000Z
packages/pycom/v1.18.2/esp32/stubs/os.py
TheVinhLuong102/micropy-stubs
55ff1773008f7c4dfc3d70a403986486226eb6b3
[ "MIT" ]
6
2019-10-08T05:31:21.000Z
2021-04-22T10:21:01.000Z
""" Module: 'os' on WiPy 07a52e4 """ # MCU: (sysname='WiPy', nodename='WiPy', release='1.18.2', version='07a52e4-dirty on 2019-07-26', machine='WiPy with ESP32') # Stubber: 1.2.0 def chdir(): pass def dupterm(): pass def getcwd(): pass def getfree(): pass def listdir(): pass def mkdir(): pa...
10.189655
124
0.566836
81
591
4.135802
0.518519
0.313433
0
0
0
0
0
0
0
0
0
0.062645
0.270728
591
57
125
10.368421
0.714617
0.282572
0
0.485714
0
0
0.002415
0
0
0
0
0
0
1
0.485714
false
0.485714
0
0
0.485714
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
1
0
0
0
0
0
3
7d201c12af6f04556963b88f90d16c0d9f043728
319
wsgi
Python
manager/app.wsgi
PBarde/ASAF-playground
6567e5c56b6e077e0686376240bd3ccaa8a0da0c
[ "Apache-2.0" ]
1
2020-12-22T06:45:18.000Z
2020-12-22T06:45:18.000Z
manager/app.wsgi
PBarde/ASAF-playground
6567e5c56b6e077e0686376240bd3ccaa8a0da0c
[ "Apache-2.0" ]
null
null
null
manager/app.wsgi
PBarde/ASAF-playground
6567e5c56b6e077e0686376240bd3ccaa8a0da0c
[ "Apache-2.0" ]
null
null
null
import os import sys path_to_server_files = '/var/www/manager' sys.path.insert(0, path_to_server_files) activate_this = os.path.join(path_to_server_files, 'venv/bin/activate_this.py') with open(activate_this) as file_: exec(file_.read(), dict(__file__=activate_this)) from app import app as application
29
80
0.76489
52
319
4.326923
0.538462
0.213333
0.16
0.226667
0
0
0
0
0
0
0
0.003597
0.128527
319
10
81
31.9
0.805755
0
0
0
0
0
0.132686
0.080906
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
7d2bcd6e02ffbe06a7d97781d5e66b0813ce1ca3
368
py
Python
Intro/17 - arrayChange.py
lucasalme1da/codesignal
faff1ae635d04a33a1b59e6f751d266fabca5e71
[ "MIT" ]
2
2020-04-15T00:15:03.000Z
2021-02-17T18:43:08.000Z
Intro/17 - arrayChange.py
lucasalme1da/codesignal
faff1ae635d04a33a1b59e6f751d266fabca5e71
[ "MIT" ]
null
null
null
Intro/17 - arrayChange.py
lucasalme1da/codesignal
faff1ae635d04a33a1b59e6f751d266fabca5e71
[ "MIT" ]
null
null
null
def arrayChange(inputArray): changes = 0 for i in range(len(inputArray) - 1): # print(inputArray[i+1], inputArray[i]) if (inputArray[i] >= inputArray[i+1]): aux = inputArray[i+1] inputArray[i+1] = inputArray[i] + 1 changes += abs(aux - inputArray[i+1]) # p...
36.8
49
0.5625
45
368
4.6
0.377778
0.425121
0.347826
0.318841
0.285024
0.173913
0
0
0
0
0
0.030418
0.285326
368
10
50
36.8
0.756654
0.184783
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0
0
0.25
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
7d2ce5f426f8d89086c152ce4c0a92077bd40d22
293
py
Python
Dataset3.py
JoyeBright/Deep-Learning
ba62cc8b3cbeeacc11b69f52999aac2bd0d7f018
[ "MIT" ]
2
2018-04-07T12:00:33.000Z
2018-04-30T13:57:22.000Z
Dataset3.py
JoyeBright/Deep-Learning
ba62cc8b3cbeeacc11b69f52999aac2bd0d7f018
[ "MIT" ]
null
null
null
Dataset3.py
JoyeBright/Deep-Learning
ba62cc8b3cbeeacc11b69f52999aac2bd0d7f018
[ "MIT" ]
2
2018-04-07T12:00:35.000Z
2019-02-06T08:01:49.000Z
import numpy as np input_data = np.array([0, 3]) weights = {'node0': np.array([2, 1]), 'node1': np.array([1, 2]), 'output': np.array([1, 1])} NewWeights = {'node0': np.array([0, 1]), 'node1': np.array([1, 0]), 'output': np.array([1, 1])}
20.928571
41
0.467577
42
293
3.238095
0.380952
0.360294
0.235294
0.191176
0.426471
0
0
0
0
0
0
0.086538
0.290102
293
13
42
22.538462
0.567308
0
0
0.25
0
0
0.109966
0
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
7d40f69cd230682dabf59d54b0ec7210f8a48fc9
5,851
py
Python
config.py
thieu1995/mpoc_code
58dccc097ae1027154d1b3b15692b1658fbdf86a
[ "MIT" ]
null
null
null
config.py
thieu1995/mpoc_code
58dccc097ae1027154d1b3b15692b1658fbdf86a
[ "MIT" ]
null
null
null
config.py
thieu1995/mpoc_code
58dccc097ae1027154d1b3b15692b1658fbdf86a
[ "MIT" ]
null
null
null
import os basedir = os.path.abspath(os.path.dirname(__file__)) class Config: CORE_DATA_DIR = '{}/{}'.format(basedir, 'core_data') LOG = '{}/log'.format(CORE_DATA_DIR) METAHEURISTIC_METHOD = 'hsgo' # ga, pso, woa, hsgo CONSENSUS_METHOD = 'mdpos' # pos, dpos, mdpos class BlockchainNetworkConfig(Con...
94.370968
141
0.718339
227
5,851
18.339207
0.753304
0.008407
0.005285
0
0
0
0
0
0
0
0
0.153797
0.200991
5,851
61
142
95.918033
0.736684
0.005982
0
0
0
0
0.650611
0.613797
0
0
0
0
0
1
0
false
0
0.018519
0
0.296296
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
7d4d150fff4ba7c8a83b2e76faa61c7aadb4bf84
305
py
Python
URI2691.py
rashidulhasanhridoy/URI-Online-Judge-Problem-Solve-with-Python-3
c7db434e2e6e40c2ca3bd56db0d04cf79f69de12
[ "Apache-2.0" ]
2
2020-07-21T18:01:37.000Z
2021-11-29T01:08:14.000Z
URI2691.py
rashidulhasanhridoy/URI-Online-Judge-Problem-Solve-with-Python-3
c7db434e2e6e40c2ca3bd56db0d04cf79f69de12
[ "Apache-2.0" ]
null
null
null
URI2691.py
rashidulhasanhridoy/URI-Online-Judge-Problem-Solve-with-Python-3
c7db434e2e6e40c2ca3bd56db0d04cf79f69de12
[ "Apache-2.0" ]
null
null
null
N = int(input('')) for i in range(N): X, Y = map(int, input().split('x')) if X == Y: for j in range(5, 11, 1): print(X, 'x', j, '=', '%d' %(X * j)) else: for j in range(5, 11, 1): print(X, 'x', j, '=', '%d' %(X * j), '&&', Y, 'x', j, '=', '%d' %(Y * j))
33.888889
85
0.347541
53
305
2
0.358491
0.09434
0.084906
0.207547
0.490566
0.490566
0.490566
0.490566
0.490566
0.490566
0
0.04
0.344262
305
9
85
33.888889
0.49
0
0
0.222222
0
0
0.04902
0
0
0
0
0
0
1
0
false
0
0
0
0
0.222222
0
0
0
null
0
0
1
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
3
adaf71a562b84b137d3482519ad09909575022af
168
py
Python
demo/testpred.py
pacargile/ThePayne
86fbba352e8777bcc0f18a6c2a0f140dd9550075
[ "MIT" ]
20
2017-04-04T23:01:30.000Z
2022-02-23T19:30:30.000Z
demo/testpred.py
pacargile/ThePayne
86fbba352e8777bcc0f18a6c2a0f140dd9550075
[ "MIT" ]
null
null
null
demo/testpred.py
pacargile/ThePayne
86fbba352e8777bcc0f18a6c2a0f140dd9550075
[ "MIT" ]
4
2017-12-11T06:15:02.000Z
2022-02-12T17:41:41.000Z
from Payne.predict import predictspec_multi pp = predictspec_multi.PayneSpecPredict('test1.h5') print(pp.NN['wavelength']) print(pp.predictspec([5770.0,4.44,0.0,0.0]))
33.6
51
0.77381
27
168
4.740741
0.62963
0.046875
0.046875
0
0
0
0
0
0
0
0
0.08805
0.053571
168
4
52
42
0.716981
0
0
0
0
0
0.107143
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
adc86587ba08eaf26765eb77720ed52b3c78f66b
2,086
py
Python
TEXTURES.py
TaliSman1007/meta2.5D
f29ba8ae58f977a92fa207ab6320ab029a50de24
[ "CC0-1.0" ]
null
null
null
TEXTURES.py
TaliSman1007/meta2.5D
f29ba8ae58f977a92fa207ab6320ab029a50de24
[ "CC0-1.0" ]
null
null
null
TEXTURES.py
TaliSman1007/meta2.5D
f29ba8ae58f977a92fa207ab6320ab029a50de24
[ "CC0-1.0" ]
null
null
null
#Textures for tiles: Walls and sprites. import os #RYD OP I DEN HER TIL SIDST all_textures = [ os.path.join('graphics', 'tiles', 'null.png'), #Air #0 #-- Wood theme -- # Walls os.path.join('graphics', 'tiles', 'walls', 'wood_wall.png'), #1 os.path.join('graphics', 'tiles', 'walls', 'wood_painting....
44.382979
75
0.602589
284
2,086
4.355634
0.246479
0.126112
0.210186
0.378335
0.751011
0.732417
0.635408
0.260307
0.130962
0
0
0.023959
0.159636
2,086
46
76
45.347826
0.681689
0.103547
0
0.137931
0
0
0.453552
0
0
0
0
0
0
1
0
false
0
0.034483
0
0.034483
0
0
0
0
null
0
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
add1ba339e1b6d3c2d7b578690b58a182c78cef0
285
py
Python
tests/tree_test.py
jiafulow/emtf-tree
1886b6a05b608adc3b3ded23567c672e7cdee664
[ "BSD-3-Clause-Clear", "BSD-3-Clause" ]
null
null
null
tests/tree_test.py
jiafulow/emtf-tree
1886b6a05b608adc3b3ded23567c672e7cdee664
[ "BSD-3-Clause-Clear", "BSD-3-Clause" ]
null
null
null
tests/tree_test.py
jiafulow/emtf-tree
1886b6a05b608adc3b3ded23567c672e7cdee664
[ "BSD-3-Clause-Clear", "BSD-3-Clause" ]
null
null
null
"""Testing Tree.""" from __future__ import absolute_import from __future__ import division from __future__ import print_function import pytest from emtf_tree import Tree def test_me(): with pytest.raises(RuntimeError): tree = Tree(None) assert tree is not None
19
38
0.74386
38
285
5.157895
0.552632
0.153061
0.244898
0
0
0
0
0
0
0
0
0
0.196491
285
14
39
20.357143
0.855895
0.045614
0
0
0
0
0
0
0
0
0
0
0.111111
1
0.111111
false
0
0.555556
0
0.666667
0.111111
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
adffccf1635cf739972238050aa498cd80839c90
1,363
py
Python
mathbind/types/voidtype.py
diogenes1oliveira/mathbind
1b710010ac8956ea575c2e07fca86233f59018a5
[ "MIT" ]
null
null
null
mathbind/types/voidtype.py
diogenes1oliveira/mathbind
1b710010ac8956ea575c2e07fca86233f59018a5
[ "MIT" ]
null
null
null
mathbind/types/voidtype.py
diogenes1oliveira/mathbind
1b710010ac8956ea575c2e07fca86233f59018a5
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 from mathbind.types import BasicType class VoidType(BasicType): """ Represents the void type, used in the return type of functions. """ def __init__(self, typename): if typename != 'void': raise ValueError("VoidType only accepts the type specification 'void'...
26.72549
83
0.611152
165
1,363
4.909091
0.484848
0.039506
0.02716
0
0
0
0
0
0
0
0
0.001026
0.284666
1,363
51
84
26.72549
0.829744
0.251651
0
0.08
0
0
0.113043
0
0
0
0
0
0
1
0.36
false
0
0.04
0.2
0.72
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
bc0600dd4cb22cbd7de22676e7d787b6081ce518
193
py
Python
src/plugins/ping.py
purple4pur/murasame-chan
a4f7029999b090ccd5cf2e3e92f9c9a37b187465
[ "MIT" ]
4
2021-04-08T04:37:48.000Z
2021-08-11T03:36:01.000Z
src/plugins/ping.py
purple4pur/murasame-chan
a4f7029999b090ccd5cf2e3e92f9c9a37b187465
[ "MIT" ]
1
2021-05-18T00:32:00.000Z
2021-05-18T00:32:00.000Z
src/plugins/ping.py
purple4pur/murasame-chan
a4f7029999b090ccd5cf2e3e92f9c9a37b187465
[ "MIT" ]
1
2021-05-13T07:41:55.000Z
2021-05-13T07:41:55.000Z
from nonebot import on_command from nonebot.adapters import Bot ping = on_command("ping", priority=1, block=True) @ping.handle() async def handle(bot: Bot): await ping.finish("ムラサメです!")
19.3
49
0.735751
29
193
4.827586
0.62069
0.157143
0
0
0
0
0
0
0
0
0
0.006024
0.139896
193
9
50
21.444444
0.837349
0
0
0
0
0
0.056995
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
bc33156eeb52ca5862ac15b56c0341035a9ce098
20,839
py
Python
RestPy/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocols/bgp/ethernetsegments.py
ralfjon/IxNetwork
c0c834fbc465af69c12fd6b7cee4628baba7fff1
[ "MIT" ]
null
null
null
RestPy/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocols/bgp/ethernetsegments.py
ralfjon/IxNetwork
c0c834fbc465af69c12fd6b7cee4628baba7fff1
[ "MIT" ]
null
null
null
RestPy/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocols/bgp/ethernetsegments.py
ralfjon/IxNetwork
c0c834fbc465af69c12fd6b7cee4628baba7fff1
[ "MIT" ]
null
null
null
# Copyright 1997 - 2018 by IXIA Keysight # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), # to deal in the Software without restriction, including without limitation # the rights to use, copy, modify, merge, p...
49.973621
452
0.764432
2,844
20,839
5.565752
0.122011
0.02786
0.029187
0.01213
0.702887
0.662139
0.641291
0.641291
0.641291
0.63649
0
0.011414
0.175968
20,839
416
453
50.09375
0.910377
0.700561
0
0.153846
0
0
0.110244
0.049525
0
0
0
0
0
1
0.328671
false
0
0.118881
0
0.643357
0
0
0
0
null
0
0
0
0
0
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
1
0
0
0
0
1
0
0
3
70ab639f4bd1f8a4d25c6b0ce1bf0f6707e9213d
168
py
Python
fibonacci/fibonacci.py
dmitrvk/tdd
c9fafad47516e6335ea5193d5ca123484a8a34b1
[ "MIT" ]
null
null
null
fibonacci/fibonacci.py
dmitrvk/tdd
c9fafad47516e6335ea5193d5ca123484a8a34b1
[ "MIT" ]
null
null
null
fibonacci/fibonacci.py
dmitrvk/tdd
c9fafad47516e6335ea5193d5ca123484a8a34b1
[ "MIT" ]
null
null
null
def fibonacci(number: int) -> int: if number == 0: return 0 if number <= 1: return 1 return fibonacci(number - 1) + fibonacci(number - 2)
18.666667
56
0.559524
22
168
4.272727
0.409091
0.478723
0
0
0
0
0
0
0
0
0
0.053097
0.327381
168
8
57
21
0.778761
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.666667
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
0
0
0
3
70b22bc0da02893248e770f690993326a8d2b762
1,177
py
Python
advopt/tasks/xor.py
HSE-LAMBDA/rapid-ao
bf293e227796d73657345018b66ad0e58ab03569
[ "MIT" ]
null
null
null
advopt/tasks/xor.py
HSE-LAMBDA/rapid-ao
bf293e227796d73657345018b66ad0e58ab03569
[ "MIT" ]
null
null
null
advopt/tasks/xor.py
HSE-LAMBDA/rapid-ao
bf293e227796d73657345018b66ad0e58ab03569
[ "MIT" ]
null
null
null
import numpy as np from .meta import Task from .utils import rot_matrix __all__ = [ 'XOR' ] def get_petals(size): data = np.random.normal(size=(size, 2)) data = np.dot(data, np.array([[0.25, 0.5], [0.5, 0.25]])) data += np.array([2, 2])[None, :] * (1 - 2 * np.random.binomial(n=1, p=0.5, size=(size,)))[...
21.796296
103
0.617672
183
1,177
3.808743
0.387978
0.086083
0.05165
0.022956
0.068867
0
0
0
0
0
0
0.050218
0.22175
1,177
54
104
21.796296
0.710699
0
0
0.04878
0
0
0.020374
0
0
0
0
0
0
1
0.243902
false
0
0.073171
0.146341
0.560976
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
70c26bace275f62f9466dd57280ada36db9e3632
64
py
Python
python/testData/codeInsight/smartEnter/parenthesized_after.py
jnthn/intellij-community
8fa7c8a3ace62400c838e0d5926a7be106aa8557
[ "Apache-2.0" ]
2
2019-04-28T07:48:50.000Z
2020-12-11T14:18:08.000Z
python/testData/codeInsight/smartEnter/parenthesized_after.py
Cyril-lamirand/intellij-community
60ab6c61b82fc761dd68363eca7d9d69663cfa39
[ "Apache-2.0" ]
173
2018-07-05T13:59:39.000Z
2018-08-09T01:12:03.000Z
python/testData/codeInsight/smartEnter/parenthesized_after.py
Cyril-lamirand/intellij-community
60ab6c61b82fc761dd68363eca7d9d69663cfa39
[ "Apache-2.0" ]
2
2020-03-15T08:57:37.000Z
2020-04-07T04:48:14.000Z
class A: def foo(self): self.a = (1, 1, 2, 3)<caret>
21.333333
36
0.46875
12
64
2.5
0.75
0
0
0
0
0
0
0
0
0
0
0.093023
0.328125
64
3
36
21.333333
0.604651
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
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
70c74085e7fe37066f33ef6924e95ee2a521c138
1,065
py
Python
mmdb/views.py
HumanExposure/MMDB
423a4d6484c13f5969ca44ddfc156808b1978b23
[ "BSD-2-Clause" ]
1
2021-04-24T16:45:54.000Z
2021-04-24T16:45:54.000Z
mmdb/views.py
HumanExposure/MMDB
423a4d6484c13f5969ca44ddfc156808b1978b23
[ "BSD-2-Clause" ]
5
2020-12-10T21:07:45.000Z
2022-02-14T20:00:11.000Z
mmdb/views.py
HumanExposure/MMDB
423a4d6484c13f5969ca44ddfc156808b1978b23
[ "BSD-2-Clause" ]
null
null
null
import rest_framework.exceptions as exceptions import rest_framework.parsers import rest_framework.renderers from django_filters import rest_framework as filters from rest_framework.filters import SearchFilter import rest_framework_json_api.metadata import rest_framework_json_api.parsers import rest_framework_json_api...
32.272727
74
0.856338
126
1,065
6.936508
0.357143
0.193364
0.155606
0.183066
0.226545
0
0
0
0
0
0
0.006283
0.103286
1,065
33
75
32.272727
0.908901
0
0
0.074074
0
0
0.006567
0
0
0
0
0
0
1
0
false
0
0.555556
0
0.777778
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
70ce98e3ccd4d4bc365049a92994643672ab0a88
5,539
py
Python
tests/slack_bolt/request/test_request.py
sarayourfriend/bolt-python
837c77325451af2e714df828dc6a34a5d9fe8638
[ "MIT" ]
null
null
null
tests/slack_bolt/request/test_request.py
sarayourfriend/bolt-python
837c77325451af2e714df828dc6a34a5d9fe8638
[ "MIT" ]
null
null
null
tests/slack_bolt/request/test_request.py
sarayourfriend/bolt-python
837c77325451af2e714df828dc6a34a5d9fe8638
[ "MIT" ]
null
null
null
from urllib.parse import quote from slack_bolt.request.request import BoltRequest class TestRequest: def setup_method(self): pass def teardown_method(self): pass def test_all_none_inputs_http(self): req = BoltRequest(body=None, headers=None, query=None, context=None) ass...
22.608163
81
0.511825
577
5,539
4.667244
0.239168
0.05013
0.057928
0.056814
0.726328
0.706647
0.675455
0.675455
0.644263
0.644263
0
0.038981
0.30529
5,539
244
82
22.70082
0.660863
0
0
0.574468
0
0
0.755913
0.055245
0
0
0
0
0.06383
1
0.029787
false
0.008511
0.008511
0
0.042553
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
cb01c17d9dead74d7e2fa4ad2093c7bc9c176614
136
py
Python
whitewater_analysis/download_aw_data.py
whitewater-gis/reach-processing-utilities
a23772d83286275a8f1bb6d1b8e59416e3530cfb
[ "Apache-2.0" ]
3
2015-09-06T02:30:50.000Z
2020-09-15T06:06:07.000Z
whitewater_analysis/download_aw_data.py
whitewater-gis/reach-processing-utilities
a23772d83286275a8f1bb6d1b8e59416e3530cfb
[ "Apache-2.0" ]
1
2015-04-27T16:48:19.000Z
2018-08-02T03:50:30.000Z
whitewater_analysis/download_aw_data.py
whitewater-gis/reach-processing-utilities
a23772d83286275a8f1bb6d1b8e59416e3530cfb
[ "Apache-2.0" ]
null
null
null
output_gdb = '../resources/data.gdb' nhd_directory = '' def download_data(): pass if __name__ == "__main__": download_data()
13.6
36
0.661765
16
136
4.875
0.75
0.307692
0
0
0
0
0
0
0
0
0
0
0.183824
136
10
37
13.6
0.702703
0
0
0
0
0
0.211679
0.153285
0
0
0
0
0
1
0.166667
false
0.166667
0
0
0.166667
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
cb1d7f1d3337d7c30f3fe325d4e2462c8db91dd7
2,748
py
Python
yaaz/src/agent.py
swasun/Yet-Another-AlphaZero
dc9fc185ecb1ba345be1c2b79bd0898c820d4d0c
[ "MIT" ]
2
2019-03-13T18:00:21.000Z
2020-06-16T03:30:40.000Z
yaaz/src/agent.py
swasun/Yet-Another-AlphaZero
dc9fc185ecb1ba345be1c2b79bd0898c820d4d0c
[ "MIT" ]
null
null
null
yaaz/src/agent.py
swasun/Yet-Another-AlphaZero
dc9fc185ecb1ba345be1c2b79bd0898c820d4d0c
[ "MIT" ]
null
null
null
##################################################################################### # MIT License # # # # Copyright (C) 2019 Charly Lamothe ...
50.888889
86
0.456332
250
2,748
4.936
0.508
0.071313
0.034036
0.029173
0
0
0
0
0
0
0
0.005109
0.430131
2,748
53
87
51.849057
0.782886
0.668486
0
0.105263
0
0
0
0
0
0
0
0
0
1
0.315789
false
0
0.052632
0.157895
0.578947
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
cb348967172b8a8cd20e98f059e9aed0f864315c
1,690
py
Python
src/sentry_plugins/gitlab/client.py
pierredup/sentry
0145e4b3bc0e775bf3482fe65f5e1a689d0dbb80
[ "BSD-3-Clause" ]
null
null
null
src/sentry_plugins/gitlab/client.py
pierredup/sentry
0145e4b3bc0e775bf3482fe65f5e1a689d0dbb80
[ "BSD-3-Clause" ]
null
null
null
src/sentry_plugins/gitlab/client.py
pierredup/sentry
0145e4b3bc0e775bf3482fe65f5e1a689d0dbb80
[ "BSD-3-Clause" ]
null
null
null
from __future__ import absolute_import from six.moves.urllib.parse import quote from sentry_plugins.client import ApiClient from sentry.shared_integrations.exceptions import ApiError class GitLabClient(ApiClient): allow_redirects = False plugin_name = "gitlab" def __init__(self, url, token): su...
31.886792
98
0.616568
202
1,690
5
0.371287
0.069307
0.117822
0.094059
0.248515
0.2
0.148515
0
0
0
0
0.005422
0.236095
1,690
52
99
32.5
0.776917
0
0
0.076923
0
0
0.117751
0.052071
0
0
0
0
0
1
0.230769
false
0
0.102564
0.153846
0.615385
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
cb55e4a8a5431dcf26c7e738ac6cb9c73048c89d
1,277
py
Python
gs/group/start/event.py
groupserver/gs.group.start
b229cba14b8aee1b7d0808404372fe74531847d6
[ "ZPL-2.1" ]
null
null
null
gs/group/start/event.py
groupserver/gs.group.start
b229cba14b8aee1b7d0808404372fe74531847d6
[ "ZPL-2.1" ]
null
null
null
gs/group/start/event.py
groupserver/gs.group.start
b229cba14b8aee1b7d0808404372fe74531847d6
[ "ZPL-2.1" ]
null
null
null
# -*- coding: utf-8 -*- ############################################################################ # # Copyright © 2013 OnlineGroups.net and Contributors. # All Rights Reserved. # # This software is subject to the provisions of the Zope Public License, # Version 2.1 (ZPL). A copy of the ZPL should accompany this dis...
35.472222
76
0.671887
144
1,277
5.965278
0.5625
0.023283
0.032596
0.062864
0.179278
0.102445
0.102445
0.102445
0.102445
0.102445
0
0.006434
0.148003
1,277
35
77
36.485714
0.782169
0.529366
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.777778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
cb5c01d1cf5799790c157b9fc637cc7455dc3358
560
py
Python
betfund_event_broker/tasks/helpers/pit.py
betfund/betfund-event-broker
524aec73d9cf66cbeeb0fab67e6816b836c1d98e
[ "MIT" ]
1
2020-09-23T02:36:35.000Z
2020-09-23T02:36:35.000Z
betfund_event_broker/tasks/helpers/pit.py
betfund/betfund-event-broker
524aec73d9cf66cbeeb0fab67e6816b836c1d98e
[ "MIT" ]
5
2020-04-13T23:55:07.000Z
2020-06-04T15:09:12.000Z
betfund_event_broker/tasks/helpers/pit.py
betfund/betfund-event-broker
524aec73d9cf66cbeeb0fab67e6816b836c1d98e
[ "MIT" ]
null
null
null
"""Module for Generating Point In Time timestamp.""" import time from prefect import Task class PointInTime(Task): """ Generate PointInTime epoch timestamp. Returns: State: state of prefect `Task` """ def __init__(self): """Constructor for Bet365ResponseStaging.""" super...
19.310345
57
0.592857
54
560
6
0.555556
0.092593
0
0
0
0
0
0
0
0
0
0.007692
0.303571
560
28
58
20
0.823077
0.453571
0
0
1
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
cb5fecd9027c26d2de3a38bbb8285262de46ffb4
79
py
Python
prxgt/domain/__init__.py
praxigento/teq_test_db_schema_attrs
20ec030dc095c644d22631491e066697203d983d
[ "MIT" ]
null
null
null
prxgt/domain/__init__.py
praxigento/teq_test_db_schema_attrs
20ec030dc095c644d22631491e066697203d983d
[ "MIT" ]
null
null
null
prxgt/domain/__init__.py
praxigento/teq_test_db_schema_attrs
20ec030dc095c644d22631491e066697203d983d
[ "MIT" ]
null
null
null
__author__ = 'Alex Gusev <alex@flancer64.com>' """ Domain related classes. """
15.8
46
0.696203
9
79
5.666667
0.888889
0
0
0
0
0
0
0
0
0
0
0.028986
0.126582
79
4
47
19.75
0.710145
0
0
0
0
0
0.645833
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
cb60f7c2132a3a1094492090d809c2c2f663f4be
163
py
Python
limits/errors.py
mollymerp/limits
76c061e238266acb76bd2be20399056ae6568842
[ "MIT" ]
140
2015-04-30T14:12:19.000Z
2022-03-29T11:05:06.000Z
limits/errors.py
mollymerp/limits
76c061e238266acb76bd2be20399056ae6568842
[ "MIT" ]
88
2015-02-25T07:23:07.000Z
2022-03-17T20:11:08.000Z
limits/errors.py
mollymerp/limits
76c061e238266acb76bd2be20399056ae6568842
[ "MIT" ]
43
2015-02-25T03:26:47.000Z
2022-03-02T16:14:07.000Z
""" errors and exceptions """ class ConfigurationError(Exception): """ exception raised when a configuration problem is encountered """ pass
13.583333
49
0.662577
15
163
7.2
0.933333
0
0
0
0
0
0
0
0
0
0
0
0.245399
163
11
50
14.818182
0.878049
0.503067
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
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
3
cba4dd7e50fb2e598c40a7aa07fd4d448caab799
870
py
Python
filter_plugins/plugins.py
pzread/mobula
238f9bd71772ac011ecf0e0f93db4dba3733b965
[ "MIT" ]
4
2019-03-28T16:17:08.000Z
2020-07-17T05:39:37.000Z
filter_plugins/plugins.py
pzread/mobula
238f9bd71772ac011ecf0e0f93db4dba3733b965
[ "MIT" ]
1
2020-04-07T07:55:21.000Z
2020-04-07T07:55:21.000Z
filter_plugins/plugins.py
csienslab/mobula
238f9bd71772ac011ecf0e0f93db4dba3733b965
[ "MIT" ]
null
null
null
class FilterModule(object): def filters(self): return { 'get_access_addr': self.get_access_addr, 'get_wireguard_addr': self.get_wireguard_addr, } def _check_host_id(self, host_id): # host_id should be greater than 0 and less than 32768 return 0 < host_id ...
30
79
0.583908
116
870
4.077586
0.353448
0.17759
0.082452
0.07611
0.114165
0.114165
0.114165
0
0
0
0
0.063622
0.295402
870
28
80
31.071429
0.707993
0.05977
0
0.095238
0
0
0.088235
0
0
0
0.031863
0
0.095238
1
0.238095
false
0
0
0.142857
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
cbe9204bfa29e22c8b50297527a823fcc11e17dd
233
py
Python
ccxtrest/app.py
xeno14/ccxt-REST
c65d22efec63b9098b418e2c593bfc5c1b76712e
[ "MIT" ]
1
2018-12-11T09:41:55.000Z
2018-12-11T09:41:55.000Z
ccxtrest/app.py
xeno14/ccxt-REST
c65d22efec63b9098b418e2c593bfc5c1b76712e
[ "MIT" ]
null
null
null
ccxtrest/app.py
xeno14/ccxt-REST
c65d22efec63b9098b418e2c593bfc5c1b76712e
[ "MIT" ]
null
null
null
from ccxtrest.apis import api from flask import Flask from ccxtrest.apis import bitflyer, bittrex, poloniex app = Flask(__name__) def init(): api.init_app(app) if __name__ == '__main__': init() app.run(debug=True)
13.705882
53
0.703863
33
233
4.575758
0.545455
0.15894
0.211921
0.291391
0
0
0
0
0
0
0
0
0.193133
233
16
54
14.5625
0.803191
0
0
0
0
0
0.034483
0
0
0
0
0
0
1
0.111111
false
0
0.333333
0
0.444444
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
1dc195db4bc6517d11efd36ecbb8104c1386f16e
139
py
Python
Python/HRSimpleArraySum.py
akshat-6397/hacktoberfest2021-easy
4e71ab3cfc5e5514d81ca3eaacd8c6e2483cb703
[ "MIT" ]
15
2021-10-05T08:12:12.000Z
2021-10-20T07:54:23.000Z
Python/HRSimpleArraySum.py
akshat-6397/hacktoberfest2021-easy
4e71ab3cfc5e5514d81ca3eaacd8c6e2483cb703
[ "MIT" ]
18
2021-10-05T08:09:12.000Z
2021-10-20T07:47:43.000Z
Python/HRSimpleArraySum.py
akshat-6397/hacktoberfest2021-easy
4e71ab3cfc5e5514d81ca3eaacd8c6e2483cb703
[ "MIT" ]
54
2021-10-05T07:49:59.000Z
2021-12-07T17:18:07.000Z
arr = [] n = int(input()) for i in range(0, n): element = int(input()) arr.append(element) print (arr) print (sum(arr))
13.9
27
0.539568
21
139
3.571429
0.619048
0.213333
0
0
0
0
0
0
0
0
0
0.009901
0.273381
139
9
28
15.444444
0.732673
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.285714
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1dc60f94df2b585dc87b66782b913ce6a0a031d0
597
py
Python
problems/bfs/Solution397.py
akalu/cs-problems-python
9b1bd8e3932be62135a38a77f955ded9a766b654
[ "MIT" ]
null
null
null
problems/bfs/Solution397.py
akalu/cs-problems-python
9b1bd8e3932be62135a38a77f955ded9a766b654
[ "MIT" ]
null
null
null
problems/bfs/Solution397.py
akalu/cs-problems-python
9b1bd8e3932be62135a38a77f955ded9a766b654
[ "MIT" ]
null
null
null
""" Given a positive integer n, you can apply one of the following operations: If n is even, replace n with n / 2. If n is odd, replace n with either n + 1 or n - 1. Return the minimum number of operations needed for n to become 1. Example 1: Input: n = 8 Output: 3 Explanation: 8 -> 4 -> 2 -> 1 ID...
28.428571
83
0.651591
99
597
3.929293
0.626263
0.015424
0.025707
0
0
0
0
0
0
0
0
0.046189
0.274707
597
20
84
29.85
0.852194
0.852596
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
3
1dcafad2db5fb569ab8162db81036177674d3daa
203
py
Python
cu2/version.py
matoro/cum
3bdd2d633a75ccaeb8d679226ac8ea686cdc6595
[ "Apache-2.0" ]
3
2020-11-26T07:42:11.000Z
2021-08-30T12:34:01.000Z
cu2/version.py
matoro/cum
3bdd2d633a75ccaeb8d679226ac8ea686cdc6595
[ "Apache-2.0" ]
null
null
null
cu2/version.py
matoro/cum
3bdd2d633a75ccaeb8d679226ac8ea686cdc6595
[ "Apache-2.0" ]
null
null
null
__version__ = '0.9.2' __version_name__ = 'Shiraki Yoko' __upstream_link__ = 'https://github.com/matoro/cu2' def version_string(): return '%(prog)s version %(version)s "{}"'.format(__version_name__)
29
71
0.719212
27
203
4.666667
0.740741
0.174603
0
0
0
0
0
0
0
0
0
0.022099
0.108374
203
6
72
33.833333
0.674033
0
0
0
0
0
0.389163
0
0
0
0
0
0
1
0.2
false
0
0
0.2
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
3
1dcdc00a262395cea426931fd565473987ddf610
2,608
py
Python
algorithms/breadthFirstSearch.py
emmaskychuks/cis479-search-algorithms
f77c709acac6559dd175485e8079e5fe76dd4b83
[ "Apache-2.0" ]
null
null
null
algorithms/breadthFirstSearch.py
emmaskychuks/cis479-search-algorithms
f77c709acac6559dd175485e8079e5fe76dd4b83
[ "Apache-2.0" ]
null
null
null
algorithms/breadthFirstSearch.py
emmaskychuks/cis479-search-algorithms
f77c709acac6559dd175485e8079e5fe76dd4b83
[ "Apache-2.0" ]
null
null
null
from collections import deque from objects.node import Node def breadthFirstSearch(grid, intitialNode, goalNode): frontier = deque() grid.matrix[intitialNode.x][intitialNode.y].visited = True grid.matrix[intitialNode.x][intitialNode.y].value = "00" startNode = grid.matrix[intitialNode.x][intitialNode....
44.20339
130
0.636503
262
2,608
6.335878
0.160305
0.092771
0.115663
0.057229
0.813253
0.813253
0.671084
0.671084
0.64759
0.64759
0
0.012339
0.254218
2,608
58
131
44.965517
0.841131
0.016104
0
0.465116
0
0
0.007029
0
0
0
0
0
0
1
0.046512
false
0
0.046512
0
0.162791
0
0
0
0
null
0
0
0
1
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
3
1de05f0f345f3501f1d824c7cd0fa2187bee2fca
768
py
Python
setup.py
byte-api/byte-python
7f2b855eb7b1acaf1be6247097e6f0d3bea8ed54
[ "MIT" ]
2
2020-01-26T03:00:06.000Z
2020-08-02T05:24:22.000Z
setup.py
byte-api/byte-python
7f2b855eb7b1acaf1be6247097e6f0d3bea8ed54
[ "MIT" ]
null
null
null
setup.py
byte-api/byte-python
7f2b855eb7b1acaf1be6247097e6f0d3bea8ed54
[ "MIT" ]
null
null
null
from setuptools import setup, find_packages import byte_api setup( name='byte-api', version=byte_api.__version__, author=byte_api.__author__, url='https://github.com/byte-api/byte-python', download_url='https://github.com/byte-api/byte-python/archive/v{}.zip'.format( byte_api.__version__...
25.6
82
0.630208
87
768
5.333333
0.436782
0.12069
0.269397
0.280172
0.146552
0.146552
0.146552
0.146552
0
0
0
0.015075
0.222656
768
29
83
26.482759
0.762144
0
0
0
0
0
0.455729
0
0
0
0
0
0
1
0
true
0
0.086957
0
0.086957
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
0
0
0
0
0
3
1dff8b0af4e83463d89029b9702ec56dad025b89
423
py
Python
etl/load.py
mguidoti/DSND-p6-capstone
c684be7345988ec518a406a42bd95a0778e1d4e9
[ "MIT" ]
null
null
null
etl/load.py
mguidoti/DSND-p6-capstone
c684be7345988ec518a406a42bd95a0778e1d4e9
[ "MIT" ]
null
null
null
etl/load.py
mguidoti/DSND-p6-capstone
c684be7345988ec518a406a42bd95a0778e1d4e9
[ "MIT" ]
null
null
null
import pandas as pd def to_pickle(df, path): """This is the most unnecessary function that I wrote for this project. However, for the sake of consistency, since I'm modularizing all ETL process, I decided to write this function. Args: df (pandas.DataFrame): Dataframe to be loaded into a pickl...
28.2
75
0.690307
66
423
4.393939
0.636364
0.055172
0
0
0
0
0
0
0
0
0
0
0.245863
423
14
76
30.214286
0.909091
0.747045
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
3
38000a1992cdc39e76b1ae565ce83eec62cabbfd
4,097
py
Python
phonology/consonants/ver_1_5_5.py
shlomo-Kallner/coventreiya
aa0773693220025f8d2c23644a2c5d9d884773e9
[ "Apache-2.0" ]
null
null
null
phonology/consonants/ver_1_5_5.py
shlomo-Kallner/coventreiya
aa0773693220025f8d2c23644a2c5d9d884773e9
[ "Apache-2.0" ]
null
null
null
phonology/consonants/ver_1_5_5.py
shlomo-Kallner/coventreiya
aa0773693220025f8d2c23644a2c5d9d884773e9
[ "Apache-2.0" ]
null
null
null
from consonants import Consonants from consonants.Consonants import ArticulationManner1st from consonants.Consonants import ArticulationManner2nd from consonants.Consonants import ArticulationManner3rd from consonants.Consonants import ArticulationType from consonants.Consonants import ArticulationPlace from ...
31.274809
77
0.576519
463
4,097
4.777538
0.267819
0.108499
0.052893
0.081374
0.21519
0.079566
0.079566
0.079566
0.079566
0.044304
0
0.003148
0.302172
4,097
130
78
31.515385
0.7695
0.086649
0
0.021277
0
0
0.017751
0
0
0
0
0
0
1
0.276596
false
0
0.074468
0.159574
0.62766
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
38034d81721cb3395365631394adfda033b4d3be
228
py
Python
mailviews/tests/manage.py
myusuf3/django-mailviews
104d7fc11c4baf5a5ba67f4a31df6c7da92712c5
[ "Apache-2.0" ]
1
2015-03-25T14:05:52.000Z
2015-03-25T14:05:52.000Z
mailviews/tests/manage.py
myusuf3/django-mailviews
104d7fc11c4baf5a5ba67f4a31df6c7da92712c5
[ "Apache-2.0" ]
null
null
null
mailviews/tests/manage.py
myusuf3/django-mailviews
104d7fc11c4baf5a5ba67f4a31df6c7da92712c5
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python import logging from django.core.management import execute_manager from mailviews.tests import settings logging.basicConfig(level=logging.DEBUG) if __name__ == "__main__": execute_manager(settings)
17.538462
50
0.79386
29
228
5.896552
0.724138
0.163743
0
0
0
0
0
0
0
0
0
0
0.118421
228
12
51
19
0.850746
0.087719
0
0
0
0
0.038647
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
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
3805a64aae1572d1b7c71c8001e9b63b97c4ab97
179
py
Python
table/card.py
rivanildojr/IA-Texas-Holdem
b26d34c173264be28d68ee158868aa20f8cd9053
[ "Apache-2.0" ]
null
null
null
table/card.py
rivanildojr/IA-Texas-Holdem
b26d34c173264be28d68ee158868aa20f8cd9053
[ "Apache-2.0" ]
null
null
null
table/card.py
rivanildojr/IA-Texas-Holdem
b26d34c173264be28d68ee158868aa20f8cd9053
[ "Apache-2.0" ]
null
null
null
class Card: def __init__(self, string_value): self.value = string_value[0] self.suit = string_value[1] self.number = '23456789TJQKA'.find(self.value)
25.571429
54
0.642458
23
179
4.695652
0.565217
0.305556
0
0
0
0
0
0
0
0
0
0.073529
0.240223
179
6
55
29.833333
0.720588
0
0
0
0
0
0.072626
0
0
0
0
0
0
1
0.2
false
0
0
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
0
0
0
0
0
3
3816db4111989fe597f0f6e709d939f7bdba12ee
491
py
Python
cms/tests/django_load.py
samirasnoun/django_cms_gallery_image
7792aa06a60877d86c022e73b60d0d669e79cb74
[ "BSD-3-Clause" ]
null
null
null
cms/tests/django_load.py
samirasnoun/django_cms_gallery_image
7792aa06a60877d86c022e73b60d0d669e79cb74
[ "BSD-3-Clause" ]
3
2021-06-08T19:03:14.000Z
2022-03-11T23:12:38.000Z
cms/tests/django_load.py
samirasnoun/django_cms_gallery_image
7792aa06a60877d86c022e73b60d0d669e79cb74
[ "BSD-3-Clause" ]
1
2018-12-10T13:34:52.000Z
2018-12-10T13:34:52.000Z
# -*- coding: utf-8 -*- from __future__ import with_statement from collections import Iterator from cms.test_utils.testcases import CMSTestCase from cms.utils import django_load from cms.utils.conf import get_cms_setting class DjangoLoadTestCase(CMSTestCase): def test_iterators(self): self.assertIsInstan...
32.733333
79
0.780041
60
491
6.133333
0.5
0.057065
0.065217
0.163043
0.206522
0
0
0
0
0
0
0.002358
0.136456
491
14
80
35.071429
0.865566
0.04277
0
0
0
0
0.027778
0
0
0
0
0
0.2
1
0.1
false
0
0.5
0
0.7
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
381ee681b3ead0b6ba944bd75cc6f0194e065a06
383
py
Python
zcollection/convenience/__init__.py
CNES/zcollection
f14616944d92d799cb1e5ee783b44c3819344fc2
[ "BSD-3-Clause" ]
null
null
null
zcollection/convenience/__init__.py
CNES/zcollection
f14616944d92d799cb1e5ee783b44c3819344fc2
[ "BSD-3-Clause" ]
null
null
null
zcollection/convenience/__init__.py
CNES/zcollection
f14616944d92d799cb1e5ee783b44c3819344fc2
[ "BSD-3-Clause" ]
null
null
null
# Copyright (c) 2022 CNES # # All rights reserved. Use of this source code is governed by a # BSD-style license that can be found in the LICENSE file. """ Convenience functions ===================== """ from .collection import create_collection, open_collection from .view import create_view, open_view __all__ = ["crea...
29.461538
78
0.723238
52
383
5.096154
0.653846
0.090566
0.150943
0.226415
0
0
0
0
0
0
0
0.012085
0.13577
383
12
79
31.916667
0.78852
0.488251
0
0
0
0
0.281081
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
384372e569b971bd4d2c2863cba461e3ce867c2b
690
py
Python
py_at/adapters/QuoteAdapter.py
kanghua309/at_py
8fa7943a9de52cd81d235f06b57a25aa07fb715b
[ "Apache-2.0" ]
null
null
null
py_at/adapters/QuoteAdapter.py
kanghua309/at_py
8fa7943a9de52cd81d235f06b57a25aa07fb715b
[ "Apache-2.0" ]
null
null
null
py_at/adapters/QuoteAdapter.py
kanghua309/at_py
8fa7943a9de52cd81d235f06b57a25aa07fb715b
[ "Apache-2.0" ]
2
2018-09-19T16:07:26.000Z
2019-11-09T15:46:21.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- """ __title__ = '' __author__ = 'HaiFeng' __mtime__ = '2016/9/23' """ from py_at.at_struct import * class QuoteAdapter: """""" def __init__(self): self.DicTick = {} def ReqConnect(self, pAddress=''): pass def ReqUserLogin(self, user='', pwd='', broker=''): p...
16.046512
73
0.484058
60
690
5.266667
0.683333
0.110759
0
0
0
0
0
0
0
0
0
0.013722
0.155072
690
43
74
16.046512
0.528302
0.356522
0
0.375
0
0
0
0
0
0
0
0
0
1
0.4375
false
0.375
0.0625
0
0.5625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
69961b558d2452a4ec1d93567a2ee74602d14327
453
py
Python
services/articles.py
azzuwan/PyApiServerExample
3c2000a972aefc2fb5bef4458ea83d8a2240028d
[ "MIT" ]
1
2017-07-20T14:18:01.000Z
2017-07-20T14:18:01.000Z
services/articles.py
azzuwan/PyApiServerExample
3c2000a972aefc2fb5bef4458ea83d8a2240028d
[ "MIT" ]
null
null
null
services/articles.py
azzuwan/PyApiServerExample
3c2000a972aefc2fb5bef4458ea83d8a2240028d
[ "MIT" ]
null
null
null
from models.news import Articles class ArticleService(object): def all(self): """ Get all news articles """ return Articles.objects def by_id(self, id): """ Get article by it's Mongo ID """ return Articles.objects(id=id) def keywords(self, keyword): """ Get articles based on keywords and ful...
18.875
72
0.690949
64
453
4.828125
0.53125
0.135922
0.203884
0
0
0
0
0
0
0
0
0
0.200883
453
23
73
19.695652
0.853591
0.300221
0
0
0
0
0.039146
0
0
0
0
0
0
1
0.375
false
0
0.125
0
1
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
69b3cfc110ec7427cd8af02d54856ddadedd88da
343
py
Python
tests/test_fileio.py
ddelange/PyArmyKnife
003c83efb9cbe012a93ff7c2549d91f903f240d1
[ "MIT" ]
2
2019-09-23T15:12:35.000Z
2020-08-07T07:22:07.000Z
tests/test_fileio.py
ddelange/PyArmyKnife
003c83efb9cbe012a93ff7c2549d91f903f240d1
[ "MIT" ]
null
null
null
tests/test_fileio.py
ddelange/PyArmyKnife
003c83efb9cbe012a93ff7c2549d91f903f240d1
[ "MIT" ]
null
null
null
from pyarmyknife.fileio import string_compress, string_decompress def test_string_compress(): data = [1, 2, [3, 4], {"a": 1453.13245, "b": "c" * 800}] assert string_decompress(string_compress(data, strict_types=True)) == data data = (1, 2, 3) assert string_decompress(string_compress(data, strict_types...
38.111111
85
0.702624
48
343
4.8125
0.541667
0.242424
0.233766
0.060606
0.441558
0.441558
0.441558
0.441558
0
0
0
0.065292
0.151604
343
8
86
42.875
0.728522
0
0
0
0
0
0.008746
0
0
0
0
0
0.333333
1
0.166667
false
0
0.166667
0
0.333333
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
0
0
0
3
69e408df84e00f45eb1088b4e028c926a09df9f7
130
py
Python
src/art_of_geom/geom/non_euclid/elliptic/earth/surface.py
Mathverse/Art-of-Geometry
8fd89fd3526f871815c38953580a48b017d39847
[ "MIT" ]
1
2021-12-25T01:16:10.000Z
2021-12-25T01:16:10.000Z
src/art_of_geom/geom/non_euclid/elliptic/earth/surface.py
Mathverse/Art-of-Geometry
8fd89fd3526f871815c38953580a48b017d39847
[ "MIT" ]
null
null
null
src/art_of_geom/geom/non_euclid/elliptic/earth/surface.py
Mathverse/Art-of-Geometry
8fd89fd3526f871815c38953580a48b017d39847
[ "MIT" ]
null
null
null
__all__ = '_EarthSurfaceABC', from ..surface import _EllipticSurfaceABC class _EarthSurfaceABC(_EllipticSurfaceABC): pass
14.444444
44
0.792308
10
130
9.5
0.8
0
0
0
0
0
0
0
0
0
0
0
0.138462
130
8
45
16.25
0.848214
0
0
0
0
0
0.123077
0
0
0
0
0
0
1
0
false
0.25
0.25
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
69f637879e1d94b8f28c9a8321c1558f18087e39
141
py
Python
yhy/commands/clip.py
yeonghoey/yhy
c1e9b9461b06e7b5d49ab10c889c73089a062cdc
[ "MIT" ]
1
2019-11-07T01:15:02.000Z
2019-11-07T01:15:02.000Z
yhy/commands/clip.py
yeonghoey/yhy
c1e9b9461b06e7b5d49ab10c889c73089a062cdc
[ "MIT" ]
2
2020-03-31T00:39:39.000Z
2021-03-31T23:38:09.000Z
yhy/commands/clip.py
yeonghoey/yhy
c1e9b9461b06e7b5d49ab10c889c73089a062cdc
[ "MIT" ]
null
null
null
import sys import click import pyperclip def command(): text = sys.stdin.read().strip() pyperclip.copy(text) click.echo(text)
12.818182
35
0.680851
19
141
5.052632
0.631579
0
0
0
0
0
0
0
0
0
0
0
0.198582
141
10
36
14.1
0.849558
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.428571
0
0.571429
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
0e0da5b311e9522f6e6532ef5844adb3085fddff
20
py
Python
qal/tools/tests/__init__.py
OptimalBPM/qal
4d7a31c0d68042b4110e1fa3e733711e0fdd473e
[ "Unlicense" ]
3
2016-05-02T14:35:55.000Z
2021-08-31T14:19:15.000Z
service/tests/__init__.py
nicklasb/optimal_file_sync
8530571ae5bbd611ac403ea15d9f5bd2a6334061
[ "Apache-2.0" ]
null
null
null
service/tests/__init__.py
nicklasb/optimal_file_sync
8530571ae5bbd611ac403ea15d9f5bd2a6334061
[ "Apache-2.0" ]
1
2020-06-25T19:24:31.000Z
2020-06-25T19:24:31.000Z
__author__ = 'nibo'
10
19
0.7
2
20
5
1
0
0
0
0
0
0
0
0
0
0
0
0.15
20
1
20
20
0.588235
0
0
0
0
0
0.2
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
3877d6fd13ca142d98d5903e6bb9fef48c0321b3
222
py
Python
server/model/square.py
hernanzoide/minesweeper-backend
58101d2bbdc263d3eabc0abef443df11897d7890
[ "Apache-2.0" ]
null
null
null
server/model/square.py
hernanzoide/minesweeper-backend
58101d2bbdc263d3eabc0abef443df11897d7890
[ "Apache-2.0" ]
null
null
null
server/model/square.py
hernanzoide/minesweeper-backend
58101d2bbdc263d3eabc0abef443df11897d7890
[ "Apache-2.0" ]
null
null
null
import json class Square: def __init__(self, id, image): self.id = id self.image = image self.open = False def toJson(self): return json.dumps(self, default=lambda o: o.__dict__)
18.5
61
0.599099
30
222
4.166667
0.6
0.096
0
0
0
0
0
0
0
0
0
0
0.301802
222
11
62
20.181818
0.806452
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.125
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
0
0
1
1
0
0
3
38890c25c10baf05a924f709a5854e1fbdcead4a
775
py
Python
epistasis/simulate/tests/test_linear.py
lperezmo/epistasis
4f751d9e2d9ca632a7b688cf32bd950ad7c2a754
[ "Unlicense" ]
21
2016-08-31T15:14:55.000Z
2021-11-27T14:42:35.000Z
epistasis/simulate/tests/test_linear.py
lperezmo/epistasis
4f751d9e2d9ca632a7b688cf32bd950ad7c2a754
[ "Unlicense" ]
14
2016-11-30T18:39:00.000Z
2020-04-07T23:48:49.000Z
epistasis/simulate/tests/test_linear.py
lperezmo/epistasis
4f751d9e2d9ca632a7b688cf32bd950ad7c2a754
[ "Unlicense" ]
8
2016-08-30T00:30:14.000Z
2020-04-02T01:03:19.000Z
# # from ..linear import * # import numpy as np # # # class TestLinearSimulation(object): # # wildtype = "00" # mutations = {0: ["0", "1"], 1: ["0", "1"]} # # def test_init(self): # sim = LinearSimulation(self.wildtype, self.mutations) # # Checks # assert isinstance(sim, LinearSimul...
28.703704
63
0.572903
86
775
5.093023
0.418605
0.109589
0.109589
0.171233
0.219178
0.219178
0.219178
0
0
0
0
0.030035
0.269677
775
26
64
29.807692
0.743816
0.927742
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
3892a463d35baa2af69f8869105bf10076963906
389
py
Python
users/models.py
Arpit8081/Phishtray_Edited_Version
9f3342e6fd2620b7f01ad91ce5b36fa8ea111bc8
[ "MIT" ]
2
2020-03-31T12:38:10.000Z
2022-01-21T22:21:06.000Z
users/models.py
Arpit8081/Phishtray_Edited_Version
9f3342e6fd2620b7f01ad91ce5b36fa8ea111bc8
[ "MIT" ]
252
2018-05-24T14:55:24.000Z
2022-02-26T13:02:10.000Z
users/models.py
Arpit8081/Phishtray_Edited_Version
9f3342e6fd2620b7f01ad91ce5b36fa8ea111bc8
[ "MIT" ]
11
2018-06-23T14:54:42.000Z
2021-02-19T11:33:44.000Z
from django.contrib.auth.models import AbstractUser from phishtray.base import MultiTenantMixin from users.managers import PhishtrayUserManager class User(MultiTenantMixin, AbstractUser): objects = PhishtrayUserManager() def __str__(self): return "{self.id} {self.first_name} {self.last_name}, Organi...
27.785714
104
0.735219
41
389
6.829268
0.634146
0
0
0
0
0
0
0
0
0
0
0
0.174807
389
13
105
29.923077
0.872274
0
0
0
0
0.111111
0.203085
0
0
0
0
0
0
1
0.111111
false
0
0.333333
0.111111
0.777778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
1
0
0
3
38aa27f5cd573948be4cce15ae9f0fd181e4063e
134
py
Python
oms_cms/backend/contact/urls.py
Hamel007/oms_cms
a120b27932fe1bd89f2c621c181b80b19caba0e0
[ "BSD-3-Clause" ]
null
null
null
oms_cms/backend/contact/urls.py
Hamel007/oms_cms
a120b27932fe1bd89f2c621c181b80b19caba0e0
[ "BSD-3-Clause" ]
null
null
null
oms_cms/backend/contact/urls.py
Hamel007/oms_cms
a120b27932fe1bd89f2c621c181b80b19caba0e0
[ "BSD-3-Clause" ]
null
null
null
from django.urls import path from .views import * urlpatterns = [ path("feedback/", FeedbackView.as_view(), name="feedback"), ]
16.75
63
0.69403
16
134
5.75
0.75
0
0
0
0
0
0
0
0
0
0
0
0.156716
134
8
64
16.75
0.814159
0
0
0
0
0
0.125926
0
0
0
0
0
0
1
0
false
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
0
0
1
0
0
0
0
3
38ad15fc03241bf4a541edbdf114953a03467eb9
212
py
Python
Optimizing_Python_Code/Exercise Files/Ch07/07_05/setup.py
shaunryan/PythonReference
a4d1ba3e4f4279523463fdf7457effc2861d9144
[ "MIT" ]
3
2020-09-30T18:21:07.000Z
2021-05-25T14:36:50.000Z
Optimizing_Python_Code/Exercise Files/Ch07/07_05/setup.py
shaunryan/PythonReference
a4d1ba3e4f4279523463fdf7457effc2861d9144
[ "MIT" ]
1
2020-09-26T06:40:30.000Z
2020-09-26T06:40:30.000Z
Optimizing_Python_Code/Exercise Files/Ch07/07_05/setup.py
shaunryan/PythonReference
a4d1ba3e4f4279523463fdf7457effc2861d9144
[ "MIT" ]
2
2020-09-26T00:21:41.000Z
2021-11-16T13:45:41.000Z
"""Setup script for csqrt.c""" from distutils.core import setup, Extension setup( name='csqrt', version='0.1.0', description='Demo C module', ext_modules=[Extension('csqrt', sources=['csqrt.c'])], )
21.2
57
0.665094
29
212
4.827586
0.689655
0.085714
0
0
0
0
0
0
0
0
0
0.016575
0.146226
212
9
58
23.555556
0.756906
0.113208
0
0
0
0
0.192308
0
0
0
0
0
0
1
0
true
0
0.142857
0
0.142857
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
0
0
0
0
0
3
38be28ecb9fede79fb6b2eeaa9f1227914892046
152
py
Python
splinecalib/__init__.py
numeristical/splinecalib
8919bd4ae30816d7213de67a49947b1cd58a2922
[ "MIT" ]
null
null
null
splinecalib/__init__.py
numeristical/splinecalib
8919bd4ae30816d7213de67a49947b1cd58a2922
[ "MIT" ]
null
null
null
splinecalib/__init__.py
numeristical/splinecalib
8919bd4ae30816d7213de67a49947b1cd58a2922
[ "MIT" ]
null
null
null
"""splinecalib is a Python package for Probability Calibration using smoothing splines.""" from .splinecalib import SplineCalib __version__ = '0.0.2'
21.714286
62
0.782895
19
152
6.052632
0.842105
0
0
0
0
0
0
0
0
0
0
0.022727
0.131579
152
6
63
25.333333
0.848485
0.552632
0
0
0
0
0.080645
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
38df46553e9bd325d9b557ff9d7d0c179c8eaa0f
588
py
Python
notebooks/process_pipeline/processor.py
morganjwilliams/03-zero-to-data-science
33f36c61e65d067cc19f786f581f7b8a8025b279
[ "MIT" ]
null
null
null
notebooks/process_pipeline/processor.py
morganjwilliams/03-zero-to-data-science
33f36c61e65d067cc19f786f581f7b8a8025b279
[ "MIT" ]
3
2020-10-30T08:20:28.000Z
2020-11-03T06:17:52.000Z
notebooks/process_pipeline/processor.py
morganjwilliams/03-zero-to-data-science
33f36c61e65d067cc19f786f581f7b8a8025b279
[ "MIT" ]
4
2018-09-25T01:17:28.000Z
2020-01-27T04:18:31.000Z
import pandas as pd import numpy as np from pathlib import Path def process_csv_file(filepath, output_folder = Path("../data/processed/"), fill_with=np.nan): """ Process a csv file so it's ready for exploratory data analysis. Parameters ----------- filepath Path to the csv file to imp...
25.565217
93
0.630952
80
588
4.55
0.55
0.076923
0.074176
0.093407
0.131868
0.131868
0
0
0
0
0
0
0.287415
588
23
94
25.565217
0.868735
0.583333
0
0
0
0
0.103448
0
0
0
0
0
0
1
0.2
false
0.2
0.6
0
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
38e08c97348adc019ecd880ca7078b7aa0320c71
2,201
py
Python
PythonLearn/Python Basic/PythonOOP.py
LoopSun/PythonWay
f92046bc934dcbb91ad9f50d35db4ac3dfb511a4
[ "BSD-2-Clause" ]
null
null
null
PythonLearn/Python Basic/PythonOOP.py
LoopSun/PythonWay
f92046bc934dcbb91ad9f50d35db4ac3dfb511a4
[ "BSD-2-Clause" ]
null
null
null
PythonLearn/Python Basic/PythonOOP.py
LoopSun/PythonWay
f92046bc934dcbb91ad9f50d35db4ac3dfb511a4
[ "BSD-2-Clause" ]
null
null
null
#!/user/bin/python3 #^.^ coding=utf-8 ^.^# from HelloWorld import cute_split_line # 1. class and object # 2. inheritance and polymorphism # 3. __slots__ # 4. @property # 5. Enum # 6. user-defined class # 6. meta class #*********** class and object ***********# class Rabbit: doc = "a cute rabbit" def __init__(...
18.341667
54
0.580191
286
2,201
4.13986
0.325175
0.047297
0.065878
0.028716
0.113176
0.081081
0
0
0
0
0
0.015929
0.229896
2,201
119
55
18.495798
0.682596
0.208087
0
0.223881
0
0
0.083236
0
0
0
0
0
0
1
0.223881
false
0
0.029851
0.119403
0.597015
0.104478
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
38e4651962b20ac707abf3ca4ffe722e7707cffe
1,323
py
Python
geoservice/geo/__init__.py
gorakhargosh/geoservice
42e60b75ede35e8e1a90944d13c8654be5d7f06a
[ "MIT" ]
2
2015-11-12T18:52:38.000Z
2021-01-17T22:30:45.000Z
geoservice/geo/__init__.py
gorakhargosh/geoservice
42e60b75ede35e8e1a90944d13c8654be5d7f06a
[ "MIT" ]
null
null
null
geoservice/geo/__init__.py
gorakhargosh/geoservice
42e60b75ede35e8e1a90944d13c8654be5d7f06a
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from pkg_resources import resource_filename from geoservice.geo.countries import COUNTRY_NAME_ISO_ALPHA_2_TABLE import pygeoip # Load the MaxMind Databases. geoip_dat = resource_filename(__name__, "GeoIP.dat") geolite_city_dat = resource_filename(__name__, "GeoLiteCity.dat") # API. geoip_cou...
29.4
81
0.814815
199
1,323
4.869347
0.20603
0.181631
0.086687
0.066047
0.618163
0.534572
0.355005
0.311662
0.241486
0.241486
0
0.003381
0.10582
1,323
44
82
30.068182
0.815723
0.040816
0
0.173913
0
0
0.056917
0
0
0
0
0
0
1
0.26087
false
0
0.130435
0.173913
0.652174
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
38e7efa5d4ed8f9f9f47f67bb6ff4af67cc118f6
86,671
py
Python
pysnmp-with-texts/SNA-LLC-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
8
2019-05-09T17:04:00.000Z
2021-06-09T06:50:51.000Z
pysnmp-with-texts/SNA-LLC-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
4
2019-05-31T16:42:59.000Z
2020-01-31T21:57:17.000Z
pysnmp-with-texts/SNA-LLC-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module SNA-LLC-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/SNA-LLC-MIB # Produced by pysmi-0.3.4 at Wed May 1 15:07:57 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 0...
195.645598
6,493
0.799264
11,518
86,671
6.014325
0.054871
0.011606
0.082456
0.008892
0.715762
0.622898
0.603107
0.596336
0.565271
0.505132
0
0.031341
0.114987
86,671
442
6,494
196.088235
0.871768
0.003646
0
0
0
0.236782
0.515137
0.020383
0
0
0
0
0
1
0
false
0
0.018391
0
0.018391
0.002299
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
2a083ca1a44f0763433d92ee47582652012ca796
1,241
py
Python
pangeamt_nlp/processors/__init__.py
Pangeamt/pangeamt-nlp-deprecated
224e00746f4cd133d70fd4b3841c6b597ae3c50c
[ "MIT" ]
1
2019-10-28T09:13:54.000Z
2019-10-28T09:13:54.000Z
pangeamt_nlp/processors/__init__.py
Pangeamt/pangeamt-nlp-deprecated
224e00746f4cd133d70fd4b3841c6b597ae3c50c
[ "MIT" ]
1
2019-10-18T15:06:53.000Z
2019-10-18T15:06:53.000Z
pangeamt_nlp/processors/__init__.py
Pangeamt/pangeamt-nlp-deprecated
224e00746f4cd133d70fd4b3841c6b597ae3c50c
[ "MIT" ]
null
null
null
from pangeamt_nlp.processors.processor_base import ProcessorBase from pangeamt_nlp.processors.bpe_processor import BPEProcessor from pangeamt_nlp.processors.processors_pipeline import Pipeline from pangeamt_nlp.processors.punct_processor import PunctProcessor from pangeamt_nlp.processors.placeholder_processor import Pl...
68.944444
93
0.892828
115
1,241
9.330435
0.269565
0.134203
0.167754
0.27959
0.083877
0
0
0
0
0
0
0
0.059629
1,241
17
94
73
0.919452
0
0
0
0
0
0.174053
0.136181
0
0
0
0
0
1
0
false
0
0.75
0
0.75
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
2a11322c79eb082425dc3404373fd507b3622355
243
py
Python
Inheritance/03. Players and Monsters/project/dark_knight.py
milenpenev/SoftUni-OOP
90f730cb37713f7ca93b1c0ecd0d12aa351247d2
[ "MIT" ]
null
null
null
Inheritance/03. Players and Monsters/project/dark_knight.py
milenpenev/SoftUni-OOP
90f730cb37713f7ca93b1c0ecd0d12aa351247d2
[ "MIT" ]
null
null
null
Inheritance/03. Players and Monsters/project/dark_knight.py
milenpenev/SoftUni-OOP
90f730cb37713f7ca93b1c0ecd0d12aa351247d2
[ "MIT" ]
null
null
null
from project.knight import Knight class DarkKnight(Knight): def __init__(self, username, level): super().__init__(username, level) def __str__(self): return f"{self.username} of type DarkKnight has level {self.level}"
30.375
75
0.699588
31
243
5.096774
0.580645
0.151899
0
0
0
0
0
0
0
0
0
0
0.193416
243
8
75
30.375
0.806122
0
0
0
0
0
0.233607
0
0
0
0
0
0
1
0.333333
false
0
0.166667
0.166667
0.833333
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
1
0
0
0
1
0
0
0
3
2a20f9052a390ce9a832415617bbbfa3b15736e5
701
py
Python
services/web_application/web_app/myapp/forms.py
vsantiago113/Flask-Boilerplate
2c0f8e6a8af294c7a7f060ceae64904423dacd3c
[ "MIT" ]
null
null
null
services/web_application/web_app/myapp/forms.py
vsantiago113/Flask-Boilerplate
2c0f8e6a8af294c7a7f060ceae64904423dacd3c
[ "MIT" ]
null
null
null
services/web_application/web_app/myapp/forms.py
vsantiago113/Flask-Boilerplate
2c0f8e6a8af294c7a7f060ceae64904423dacd3c
[ "MIT" ]
null
null
null
from flask_wtf import FlaskForm from wtforms import StringField, PasswordField, SubmitField, BooleanField from wtforms.validators import DataRequired, Length, Email, Optional, InputRequired class LoginForm(FlaskForm): email = StringField('Email', validators=[InputRequired(), DataRequired(), Length(min=6, max=250)...
53.923077
110
0.663338
65
701
7.092308
0.523077
0.117137
0.151844
0.177874
0.190889
0
0
0
0
0
0
0.012987
0.231098
701
12
111
58.416667
0.842301
0
0
0.2
0
0
0.041369
0
0
0
0
0
0
1
0
false
0.2
0.3
0
0.8
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
3
2a226d6303ac6b395fff89d9aa5c573a6d7df99b
341
py
Python
HouseOfFashion/change/models.py
XufengCh/SoftwareEngineeringProject
bd38a33509e0f480dff9826063c66d2ba1f666cb
[ "MIT" ]
2
2019-11-17T08:05:57.000Z
2020-01-19T09:54:19.000Z
HouseOfFashion/change/models.py
XufengCh/SoftwareEngineeringProject
bd38a33509e0f480dff9826063c66d2ba1f666cb
[ "MIT" ]
null
null
null
HouseOfFashion/change/models.py
XufengCh/SoftwareEngineeringProject
bd38a33509e0f480dff9826063c66d2ba1f666cb
[ "MIT" ]
1
2019-12-13T08:32:49.000Z
2019-12-13T08:32:49.000Z
from django.db import models from images.models import Clothe, Body # Create your models here. class CompositeImage(models.Model): body = models.ForeignKey(to=Body, on_delete=models.CASCADE) clothe = models.ForeignKey(to=Clothe, on_delete=models.CASCADE) change_result = models.FileField(upload_to='compos...
31
74
0.762463
48
341
5.333333
0.583333
0.125
0.140625
0.164063
0
0
0
0
0
0
0
0
0.123167
341
10
75
34.1
0.856187
0.070381
0
0
0
0
0.07619
0.07619
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
2a2ab0bb950e308bfdf906ac3b690e804b0d2c21
491
py
Python
datahub/feature_flag/__init__.py
Staberinde/data-hub-api
3d0467dbceaf62a47158eea412a3dba827073300
[ "MIT" ]
6
2019-12-02T16:11:24.000Z
2022-03-18T10:02:02.000Z
datahub/feature_flag/__init__.py
Staberinde/data-hub-api
3d0467dbceaf62a47158eea412a3dba827073300
[ "MIT" ]
1,696
2019-10-31T14:08:37.000Z
2022-03-29T12:35:57.000Z
datahub/feature_flag/__init__.py
Staberinde/data-hub-api
3d0467dbceaf62a47158eea412a3dba827073300
[ "MIT" ]
9
2019-11-22T12:42:03.000Z
2021-09-03T14:25:05.000Z
""" Feature flag functionality. Feature flags are used to control whether a piece of new functionality is visible to a user. They're usually used to hide functionality from users when it's not yet ready to be used. They can be added and toggled via the admin site and are exposed by a view so the front end can check t...
32.733333
82
0.784114
87
491
4.390805
0.712644
0.057592
0
0
0
0
0
0
0
0
0
0
0.173116
491
14
83
35.071429
0.940887
0.843177
0
0
0
0
0.623188
0.623188
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
2a365d6d0a38cedee9b0fcc0fabbbd435763b537
205
py
Python
exampleSite/local_public.py
brangpd/hugo-xmin
08264a4a30d6bf2fc08a9e89309892d3b5ceb604
[ "MIT" ]
null
null
null
exampleSite/local_public.py
brangpd/hugo-xmin
08264a4a30d6bf2fc08a9e89309892d3b5ceb604
[ "MIT" ]
null
null
null
exampleSite/local_public.py
brangpd/hugo-xmin
08264a4a30d6bf2fc08a9e89309892d3b5ceb604
[ "MIT" ]
null
null
null
import os import tempfile def get_local_public_dir(): return '{tempdir}{sep}{public}'.format( tempdir=tempfile.gettempdir(), sep=os.path.sep, public='hugo_local_public' )
18.636364
43
0.64878
25
205
5.12
0.6
0.171875
0
0
0
0
0
0
0
0
0
0
0.22439
205
10
44
20.5
0.805031
0
0
0
0
0
0.190244
0.107317
0
0
0
0
0
1
0.125
true
0
0.25
0.125
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
1
0
0
0
3
2a4d05fbc54350233312aac0e9d25b4c24bceb5b
844
py
Python
src/shape_constraint_detectors/CardinalityMinCountDetectorSHACLMinCount.py
IDLabResearch/lovstats
dd33183574eed692ee89059ff3c6494160dfb8a9
[ "MIT" ]
1
2018-12-11T13:57:38.000Z
2018-12-11T13:57:38.000Z
src/shape_constraint_detectors/CardinalityMinCountDetectorSHACLMinCount.py
IDLabResearch/lovstats
dd33183574eed692ee89059ff3c6494160dfb8a9
[ "MIT" ]
null
null
null
src/shape_constraint_detectors/CardinalityMinCountDetectorSHACLMinCount.py
IDLabResearch/lovstats
dd33183574eed692ee89059ff3c6494160dfb8a9
[ "MIT" ]
null
null
null
from CardinalityMinCountDetector import CardinalityMinCountDetector class CardinalityMinCountDetectorSHACLMinCount(CardinalityMinCountDetector): """ This class implements the detection of the cardinality constraint sh:minCount. For further information have a look at the parent class. """ def __ini...
31.259259
82
0.723934
81
844
7.407407
0.617284
0.05
0.193333
0
0
0
0
0
0
0
0
0.0059
0.196682
844
26
83
32.461538
0.879056
0.159953
0
0
0
0
0.195335
0.144315
0
0
0
0
0
1
0.357143
false
0
0.071429
0.142857
0.642857
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
2a7182773a6e12101a5a24b4070314227931d62b
249
py
Python
dictionaryutils/tests/test_simulate_data.py
uc-cdis/ccledictionary
46928f29b3c170eb15ef6f45fea92228c1063c31
[ "Apache-2.0" ]
4
2019-09-17T20:23:57.000Z
2021-06-01T01:57:49.000Z
dictionaryutils/tests/test_simulate_data.py
uc-cdis/ccledictionary
46928f29b3c170eb15ef6f45fea92228c1063c31
[ "Apache-2.0" ]
9
2018-01-23T17:05:30.000Z
2021-04-01T15:41:36.000Z
dictionaryutils/tests/test_simulate_data.py
uc-cdis/ccledictionary
46928f29b3c170eb15ef6f45fea92228c1063c31
[ "Apache-2.0" ]
7
2019-05-15T18:08:29.000Z
2021-07-18T21:28:18.000Z
from datasimulator.graph import Graph from dictionaryutils import dictionary def test(): graph = Graph(dictionary, "DEV", "test") graph.generate_nodes_from_dictionary() graph.construct_graph_edges() assert graph.graph_validation()
24.9
44
0.763052
29
249
6.344828
0.517241
0.097826
0
0
0
0
0
0
0
0
0
0
0.148594
249
9
45
27.666667
0.867925
0
0
0
1
0
0.028112
0
0
0
0
0
0.142857
1
0.142857
false
0
0.285714
0
0.428571
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
2a7272c4cda585f8f29b4797c9a217de5f127375
476
py
Python
forms-flow-api/src/formsflow_api/schemas/tenant.py
andrepestana-aot/forms-flow-ai
18a77a713f4af70ba077d3821db96970c0c403ae
[ "Apache-2.0" ]
132
2020-04-16T20:26:18.000Z
2022-03-30T12:39:50.000Z
forms-flow-api/src/formsflow_api/schemas/tenant.py
andrepestana-aot/forms-flow-ai
18a77a713f4af70ba077d3821db96970c0c403ae
[ "Apache-2.0" ]
102
2020-06-05T21:30:27.000Z
2022-03-30T04:53:25.000Z
forms-flow-api/src/formsflow_api/schemas/tenant.py
andrepestana-aot/forms-flow-ai
18a77a713f4af70ba077d3821db96970c0c403ae
[ "Apache-2.0" ]
91
2020-04-15T18:54:51.000Z
2022-03-29T04:58:49.000Z
# """This manages tenant Response Schema.""" # from marshmallow import EXCLUDE, Schema, fields # class TenantSchema(Schema): # """This class manages tenant response schema.""" # class Meta: # pylint: disable=too-few-public-methods # """Exclude unknown fields in the deserialized output.""" # ...
26.444444
66
0.647059
53
476
5.773585
0.622642
0.088235
0.137255
0.176471
0
0
0
0
0
0
0
0
0.218487
476
17
67
28
0.822581
0.936975
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
2a74bc6fc230e98b7d6022dbac4852ed98b023fe
333
py
Python
pyrimidine/benchmarks/others.py
Freakwill/pyrimidine
ff05998f110a69a002180d0dae2ae514a5807cfb
[ "MIT" ]
1
2021-03-04T17:03:14.000Z
2021-03-04T17:03:14.000Z
pyrimidine/benchmarks/others.py
Freakwill/pyrimidine
ff05998f110a69a002180d0dae2ae514a5807cfb
[ "MIT" ]
null
null
null
pyrimidine/benchmarks/others.py
Freakwill/pyrimidine
ff05998f110a69a002180d0dae2ae514a5807cfb
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import numpy as np class Kantorovich(object): ''' a: a b: b ''' def __init__(self, a=0.5, b=1): self.a = a self.b = b self.x = np.linspace(a, b, 100) def __call__(self, p): # assert np.sum(p) == 1 return np.dot(self.x, p) * np.dot...
19.588235
54
0.501502
57
333
2.789474
0.491228
0.09434
0.075472
0
0
0
0
0
0
0
0
0.040179
0.327327
333
17
54
19.588235
0.669643
0.159159
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.125
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
0
0
1
1
0
0
3
aa547d0dd4a6f6c65d898f3e585fd52041ea0b30
1,483
py
Python
app/api/resources.py
Anshul121998/planningPoker
232da442b6661d4452e03c9a0fabde0e84c97096
[ "MIT" ]
null
null
null
app/api/resources.py
Anshul121998/planningPoker
232da442b6661d4452e03c9a0fabde0e84c97096
[ "MIT" ]
6
2021-09-09T11:32:25.000Z
2022-03-12T01:01:23.000Z
app/api/resources.py
Anshul121998/planningPoker
232da442b6661d4452e03c9a0fabde0e84c97096
[ "MIT" ]
null
null
null
""" REST API Resource Routing http://flask-restplus.readthedocs.io """ from datetime import datetime from flask import request from flask_restplus import Resource from flask import Flask, request, jsonify import io from flask import Response from .security import require_auth from . import api_rest from .business_logi...
33.704545
88
0.772758
179
1,483
6.212291
0.301676
0.089928
0.053957
0.094424
0.48741
0.48741
0.464029
0.309353
0.309353
0.309353
0
0.000766
0.120027
1,483
43
89
34.488372
0.851341
0.173297
0
0.296296
0
0
0.159636
0.159636
0
0
0
0
0
1
0.148148
false
0
0.333333
0.148148
0.851852
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
1
0
0
3
aa6bd2bd40f2a2f35597bd411abd163bd7a1a573
4,126
py
Python
txsocksx/test/test_grammar.py
iiLaurens/txsocksx
aa61b2e3d72a9d04d0221d4b57ca4e8d853b0a56
[ "ISC" ]
53
2015-01-04T19:36:47.000Z
2022-01-06T05:37:33.000Z
txsocksx/test/test_grammar.py
iiLaurens/txsocksx
aa61b2e3d72a9d04d0221d4b57ca4e8d853b0a56
[ "ISC" ]
15
2015-02-03T11:16:43.000Z
2022-02-03T18:26:11.000Z
txsocksx/test/test_grammar.py
iiLaurens/txsocksx
aa61b2e3d72a9d04d0221d4b57ca4e8d853b0a56
[ "ISC" ]
31
2015-02-23T18:29:53.000Z
2021-04-13T17:05:44.000Z
# Copyright (c) Aaron Gallagher <_@habnab.it> # See COPYING for details. import unittest from parsley import makeGrammar, ParseError from txsocksx.grammar import grammarSource, bindings grammar = makeGrammar(grammarSource, bindings) def stringParserFromRule(rule): def parseString(s): return getattr(gr...
44.365591
87
0.615851
472
4,126
5.360169
0.182203
0.20751
0.27668
0.081818
0.402767
0.270751
0.211067
0.150988
0.127273
0.07747
0
0.113664
0.198255
4,126
92
88
44.847826
0.651149
0.016481
0
0.082192
0
0.013699
0.246116
0.07349
0
0
0
0
0.534247
1
0.164384
false
0
0.041096
0.013699
0.246575
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
3
aa6d6e414283f7c7af6f87e76844b3fb8f1856b6
1,572
py
Python
study_management/auth_backends.py
jdkizer9/ls2_app
8b4c37b44a673d1919a0e52b72f529b7e1abd2e3
[ "Apache-2.0" ]
null
null
null
study_management/auth_backends.py
jdkizer9/ls2_app
8b4c37b44a673d1919a0e52b72f529b7e1abd2e3
[ "Apache-2.0" ]
7
2020-02-05T04:57:01.000Z
2022-02-10T06:51:23.000Z
study_management/auth_backends.py
jdkizer9/ls2_app
8b4c37b44a673d1919a0e52b72f529b7e1abd2e3
[ "Apache-2.0" ]
null
null
null
from django.contrib.auth.backends import ModelBackend from .utils import should_disable_login, get_client_ip from django.conf import settings from django.core.exceptions import PermissionDenied from django.utils.translation import gettext as _ from .models import LoginTimeout from django.utils import timezone from djan...
41.368421
125
0.760178
194
1,572
6.036082
0.489691
0.051238
0.029035
0.044406
0.257899
0.257899
0.203245
0.203245
0.117848
0
0
0.001548
0.178117
1,572
37
126
42.486486
0.904799
0.160941
0
0.173913
0
0
0.097487
0.026657
0
0
0
0
0
1
0.086957
false
0.173913
0.391304
0
0.695652
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
aa7c1a08443d9b97aab7a470c52d49071ca4b03e
5,005
gyp
Python
ui/file_manager/file_manager/foreground/js/metadata/compiled_resources2.gyp
google-ar/chromium
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
777
2017-08-29T15:15:32.000Z
2022-03-21T05:29:41.000Z
ui/file_manager/file_manager/foreground/js/metadata/compiled_resources2.gyp
harrymarkovskiy/WebARonARCore
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
66
2017-08-30T18:31:18.000Z
2021-08-02T10:59:35.000Z
ui/file_manager/file_manager/foreground/js/metadata/compiled_resources2.gyp
harrymarkovskiy/WebARonARCore
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
123
2017-08-30T01:19:34.000Z
2022-03-17T22:55:31.000Z
# Copyright 2016 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. { 'targets': [ { 'target_name': 'byte_reader', 'includes': ['../../../../compile_js2.gypi'], }, { 'target_name': 'content_meta...
28.117978
81
0.524076
403
5,005
6.153846
0.208437
0.08871
0.159677
0.195161
0.732661
0.694355
0.595565
0.549597
0.320161
0.167742
0
0.010518
0.259141
5,005
177
82
28.276836
0.658306
0.030969
0
0.517241
0
0
0.608337
0.339249
0
0
0
0
0.011494
1
0
true
0
0
0
0
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
1
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
aa9d1c52d3450a942d7a983e5cb51885942fd32e
41
py
Python
src/quanguru/classes/tempConfig.py
Qfabiolous/QuanGuru
285ca44ae857cc61337f73ea2eb600f485a09e32
[ "BSD-3-Clause" ]
9
2021-05-23T06:30:45.000Z
2021-12-27T13:33:54.000Z
src/quanguru/classes/tempConfig.py
cahitkargi/QuanGuru
9b5c94465cd58bc32f6ff845f29dfdec7e0f9075
[ "BSD-3-Clause" ]
26
2022-03-18T02:40:54.000Z
2022-03-25T07:00:25.000Z
src/quanguru/classes/tempConfig.py
cahitkargi/QuanGuru
9b5c94465cd58bc32f6ff845f29dfdec7e0f9075
[ "BSD-3-Clause" ]
5
2021-05-23T06:30:24.000Z
2022-02-04T02:40:08.000Z
classConfig = { 'delStates': False }
10.25
22
0.609756
3
41
8.333333
1
0
0
0
0
0
0
0
0
0
0
0
0.243902
41
3
23
13.666667
0.806452
0
0
0
0
0
0.219512
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
aaabd3e18808c3d837c53dc7851b3074cd18f367
194
py
Python
webware/TaskKit/Properties.py
PeaceWorksTechnologySolutions/w4py3
7f9e7088034e3e3ac53158edfa4f377b5b2f45fe
[ "MIT" ]
11
2020-10-18T07:33:56.000Z
2021-09-27T21:03:38.000Z
webware/TaskKit/Properties.py
PeaceWorksTechnologySolutions/w4py3
7f9e7088034e3e3ac53158edfa4f377b5b2f45fe
[ "MIT" ]
9
2020-01-03T18:58:25.000Z
2020-01-09T18:36:23.000Z
webware/TaskKit/Properties.py
PeaceWorksTechnologySolutions/w4py3
7f9e7088034e3e3ac53158edfa4f377b5b2f45fe
[ "MIT" ]
4
2020-06-30T09:41:56.000Z
2021-02-20T13:48:08.000Z
name = 'TaskKit' status = 'stable' synopsis = ( "TaskKit provides a framework for the scheduling and management" " of tasks which can be triggered periodically or at specific times.")
24.25
74
0.721649
25
194
5.6
0.96
0
0
0
0
0
0
0
0
0
0
0
0.206186
194
7
75
27.714286
0.909091
0
0
0
0
0
0.731959
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
aabbfb29b491d11f284fb0bcdf801f7d232fb563
425
py
Python
rsvp/serializers.py
DXDSpirits/appsbackend
2c69487c4e4d6dc78091ba8030889a5ddc990836
[ "MIT" ]
null
null
null
rsvp/serializers.py
DXDSpirits/appsbackend
2c69487c4e4d6dc78091ba8030889a5ddc990836
[ "MIT" ]
null
null
null
rsvp/serializers.py
DXDSpirits/appsbackend
2c69487c4e4d6dc78091ba8030889a5ddc990836
[ "MIT" ]
null
null
null
from rest_framework import serializers from rsvp.models import Rsvp, Guest class RsvpSerializer(serializers.ModelSerializer): class Meta: model = Rsvp fields = ('id', 'message', 'deadline', 'created_date', 'changed_date') class GuestSerializer(serializers.ModelSerializer): class Meta: ...
23.611111
85
0.670588
44
425
6.386364
0.568182
0.185053
0.220641
0.24911
0.284698
0
0
0
0
0
0
0
0.202353
425
17
86
25
0.828909
0
0
0.2
0
0
0.191943
0
0
0
0
0
0
1
0
false
0
0.2
0
0.6
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
2ab0ec3b87a4825e7db138379235fb123ee02ae0
271
py
Python
mathics/core/parser/errors.py
JoseCarlosGarcia95/Mathics
1927ada93c5ce2d8cbe731731ab1f55cd5527467
[ "Apache-2.0" ]
1
2019-07-10T14:41:21.000Z
2019-07-10T14:41:21.000Z
mathics/core/parser/errors.py
JoseCarlosGarcia95/Mathics
1927ada93c5ce2d8cbe731731ab1f55cd5527467
[ "Apache-2.0" ]
null
null
null
mathics/core/parser/errors.py
JoseCarlosGarcia95/Mathics
1927ada93c5ce2d8cbe731731ab1f55cd5527467
[ "Apache-2.0" ]
1
2018-12-21T08:04:18.000Z
2018-12-21T08:04:18.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- class TranslateError(Exception): def __init__(self): pass class ScanError(TranslateError): pass class InvalidSyntaxError(TranslateError): pass class IncompleteSyntaxError(TranslateError): pass
13.55
44
0.697417
26
271
7.115385
0.653846
0.145946
0.248649
0
0
0
0
0
0
0
0
0.004587
0.195572
271
19
45
14.263158
0.844037
0.154982
0
0.444444
0
0
0
0
0
0
0
0
0
1
0.111111
false
0.444444
0
0
0.555556
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
2ac4fd1afd9f2d8b913ade3ddf0c20e62096f112
198
py
Python
desafios/Mundo 1/Ex021.py
duartecgustavo/Python---Estudos-
13a47f115dd24ef475addaed7b0c860a7b3817ca
[ "MIT" ]
6
2021-01-20T20:43:39.000Z
2021-08-13T15:44:10.000Z
desafios/Mundo 1/Ex021.py
duartecgustavo/PythonProgress
13a47f115dd24ef475addaed7b0c860a7b3817ca
[ "MIT" ]
null
null
null
desafios/Mundo 1/Ex021.py
duartecgustavo/PythonProgress
13a47f115dd24ef475addaed7b0c860a7b3817ca
[ "MIT" ]
1
2020-09-06T03:34:19.000Z
2020-09-06T03:34:19.000Z
# Desafio 21 - Aula 8 : Programa que execute uma musica em python. # import mixer # mixer.init() # mixer.music.load('Ex021am.mp3') # mixer.music.play() # input('\033[31mAgora você escuta?\033[m')
22
66
0.691919
30
198
4.566667
0.833333
0.145985
0
0
0
0
0
0
0
0
0
0.088757
0.146465
198
9
67
22
0.721893
0.924242
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
3
2ac77889e011b3b710b1eec1e6a40f1d5e880c65
231
py
Python
Tests/Training/Lesson_10/test_count_factors.py
dev-11/codility-solutions
01b0ce4a43b1390fe15f2daabea95e90b834fbfc
[ "MIT" ]
null
null
null
Tests/Training/Lesson_10/test_count_factors.py
dev-11/codility-solutions
01b0ce4a43b1390fe15f2daabea95e90b834fbfc
[ "MIT" ]
null
null
null
Tests/Training/Lesson_10/test_count_factors.py
dev-11/codility-solutions
01b0ce4a43b1390fe15f2daabea95e90b834fbfc
[ "MIT" ]
null
null
null
import unittest from Solutions import Lesson10 class CountFactorsTests(unittest.TestCase): def test_count_factors_example_test_01(self): n = 24 res = Lesson10.count_factors(n) self.assertEqual(8, res)
23.1
49
0.722944
29
231
5.551724
0.689655
0.149068
0
0
0
0
0
0
0
0
0
0.04918
0.207792
231
9
50
25.666667
0.830601
0
0
0
0
0
0
0
0
0
0
0
0.142857
1
0.142857
false
0
0.285714
0
0.571429
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
2acd749544f041251404f590164a6ff653410cd0
148
py
Python
ultron8/serialize/runstate/__init__.py
bossjones/ultron8
45db73d32542a844570d44bc83defa935e15803f
[ "Apache-2.0", "MIT" ]
null
null
null
ultron8/serialize/runstate/__init__.py
bossjones/ultron8
45db73d32542a844570d44bc83defa935e15803f
[ "Apache-2.0", "MIT" ]
43
2019-06-01T23:08:32.000Z
2022-02-07T22:24:53.000Z
ultron8/serialize/runstate/__init__.py
bossjones/ultron8
45db73d32542a844570d44bc83defa935e15803f
[ "Apache-2.0", "MIT" ]
null
null
null
# State types from __future__ import absolute_import, unicode_literals JOB_STATE = "job_state" MCP_STATE = "mcp_state" MESOS_STATE = "mesos_state"
21.142857
56
0.804054
21
148
5.095238
0.52381
0.149533
0.242991
0
0
0
0
0
0
0
0
0
0.121622
148
6
57
24.666667
0.823077
0.074324
0
0
0
0
0.214815
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
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
0
0
0
0
0
3
63127ec55c76f924e2d33af486f2309f4888d440
191
py
Python
problem0466.py
kmarcini/Project-Euler-Python
d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3
[ "BSD-3-Clause" ]
null
null
null
problem0466.py
kmarcini/Project-Euler-Python
d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3
[ "BSD-3-Clause" ]
null
null
null
problem0466.py
kmarcini/Project-Euler-Python
d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3
[ "BSD-3-Clause" ]
null
null
null
########################### # # #466 Distinct terms in a multiplication table - Project Euler # https://projecteuler.net/problem=466 # # Code by Kevin Marciniak # ###########################
21.222222
63
0.52356
18
191
5.555556
0.944444
0
0
0
0
0
0
0
0
0
0
0.035714
0.120419
191
8
64
23.875
0.559524
0.633508
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
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
2d54d3c115e07f33848439eebf879ea1affc6b04
366
py
Python
src/Samples/Sample.ImportResolver/Math/MathImpl/MathImpl.py
simplic-systems/Simplic.Dlr
614bca70cb2916cd85e34c6bb0b0cc56ce390e50
[ "MIT" ]
3
2018-02-24T03:58:59.000Z
2020-02-12T06:56:56.000Z
src/Samples/Sample.ImportResolver/Math/MathImpl/MathImpl.py
simplic-systems/Simplic.Dlr
614bca70cb2916cd85e34c6bb0b0cc56ce390e50
[ "MIT" ]
1
2015-12-23T22:54:56.000Z
2016-02-04T21:23:29.000Z
src/Samples/Sample.ImportResolver/Math/MathImpl/MathImpl.py
simplicbe/Simplic.Dlr
614bca70cb2916cd85e34c6bb0b0cc56ce390e50
[ "MIT" ]
1
2018-02-19T02:41:11.000Z
2018-02-19T02:41:11.000Z
# Sample module # Add two values def add(x, y): return x + y # Subtract two values def sub(x, y): return x - y # Multiply two values def mul(x, y): return x * y # Devide two values def div(x, y): return x / y; print ('Import MathImpl.py!') print ('Let`s try: from Math.Demo01 i...
16.636364
52
0.606557
61
366
3.655738
0.42623
0.071749
0.215247
0.161435
0.412556
0
0
0
0
0
0
0.030418
0.281421
366
22
53
16.636364
0.813688
0.234973
0
0
0
0
0.237154
0
0
0
0
0
0
0
null
null
0
0.272727
null
null
0.181818
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
0
0
0
0
0
0
3
2d5c4379a586c33c96d165bce72b8d7192294636
178
py
Python
14/00/00/1.py
pylangstudy/201707
c1cc72667f1e0b6e8eef4ee85067d7fa4ca500b6
[ "CC0-1.0" ]
null
null
null
14/00/00/1.py
pylangstudy/201707
c1cc72667f1e0b6e8eef4ee85067d7fa4ca500b6
[ "CC0-1.0" ]
46
2017-06-30T22:19:07.000Z
2017-07-31T22:51:31.000Z
14/00/00/1.py
pylangstudy/201707
c1cc72667f1e0b6e8eef4ee85067d7fa4ca500b6
[ "CC0-1.0" ]
null
null
null
class MyClass: def __init__(self, value=0): self.__value = value s = MyClass() print(s.__getattr__('abc')) # AttributeError: 'MyClass' object has no attribute '__getattr__'
29.666667
93
0.724719
23
178
5
0.695652
0.156522
0
0
0
0
0
0
0
0
0
0.006536
0.140449
178
5
94
35.6
0.745098
0.353933
0
0
0
0
0.026549
0
0
0
0
0
0
1
0.25
false
0
0
0
0.5
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
2d5cd526db6feefb1ccc2fd1403e84fc08c3b8d5
222
py
Python
shortitbackend/api/serializers.py
JonathanStefanov/ShortItv2
f3753497eba4f1f07c03cc9a576f447975bd8119
[ "MIT" ]
null
null
null
shortitbackend/api/serializers.py
JonathanStefanov/ShortItv2
f3753497eba4f1f07c03cc9a576f447975bd8119
[ "MIT" ]
null
null
null
shortitbackend/api/serializers.py
JonathanStefanov/ShortItv2
f3753497eba4f1f07c03cc9a576f447975bd8119
[ "MIT" ]
null
null
null
from rest_framework import serializers from api.models import ShortUrl class ShortUrlSerializer(serializers.ModelSerializer): class Meta: model = ShortUrl fields = ('long_url', 'short_url', 'creator')
27.75
54
0.734234
24
222
6.666667
0.75
0
0
0
0
0
0
0
0
0
0
0
0.184685
222
8
55
27.75
0.883978
0
0
0
0
0
0.107623
0
0
0
0
0
0
1
0
false
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
0
0
1
0
0
0
0
3
2d6d1766061d0a331ff57f4e300d2e4beb7b8e08
227
py
Python
mson_test.py
stko/mistletoe
be84c93ef63c9056e98d200da74302737798f8f0
[ "MIT" ]
null
null
null
mson_test.py
stko/mistletoe
be84c93ef63c9056e98d200da74302737798f8f0
[ "MIT" ]
null
null
null
mson_test.py
stko/mistletoe
be84c93ef63c9056e98d200da74302737798f8f0
[ "MIT" ]
null
null
null
from mistletoe import Document from contrib.mson import MSONRenderer with open('test/samples/mson.md', 'r') as fin: with MSONRenderer() as renderer: rendered = renderer.render(Document(fin)) print(rendered)
32.428571
49
0.718062
29
227
5.62069
0.655172
0
0
0
0
0
0
0
0
0
0
0
0.180617
227
7
50
32.428571
0.876344
0
0
0
0
0
0.092105
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.166667
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
2da90f1aa1d0ef354a79804c0d98d2295ae21bc1
2,045
py
Python
flask_test.py
yeshan333/MicroServices-Demo
936403b0c11feb744e840add91223abe6192b6bd
[ "MIT" ]
null
null
null
flask_test.py
yeshan333/MicroServices-Demo
936403b0c11feb744e840add91223abe6192b6bd
[ "MIT" ]
null
null
null
flask_test.py
yeshan333/MicroServices-Demo
936403b0c11feb744e840add91223abe6192b6bd
[ "MIT" ]
null
null
null
import unittest from app import app class FlaskappTests(unittest.TestCase): def setUp(self): self.app = app.test_client() # catch exception self.app.testing = True # GET /api/v1/info def test_api_status_code(self): result = self.app.get('/api/v1/info') # assert t...
37.181818
132
0.655746
279
2,045
4.666667
0.193548
0.16129
0.075269
0.091398
0.750384
0.733487
0.695853
0.639785
0.568356
0.454685
0
0.036737
0.21467
2,045
55
133
37.181818
0.773973
0.205868
0
0.25
0
0
0.182101
0
0
0
0
0
0.25
1
0.285714
false
0.071429
0.071429
0
0.392857
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
2dbe7ee164e2a59f39c378c1a655df4744ea9bac
67
py
Python
ipywidgets_jsonschema/__init__.py
ssciwr/ipywidgets-jsonschema
4301b0902a4ee0bf7af5b72b85dd5c8a9f4a96db
[ "MIT" ]
null
null
null
ipywidgets_jsonschema/__init__.py
ssciwr/ipywidgets-jsonschema
4301b0902a4ee0bf7af5b72b85dd5c8a9f4a96db
[ "MIT" ]
15
2022-01-28T10:31:44.000Z
2022-03-03T12:20:00.000Z
ipywidgets_jsonschema/__init__.py
ssciwr/ipywidgets-jsonschema
4301b0902a4ee0bf7af5b72b85dd5c8a9f4a96db
[ "MIT" ]
null
null
null
from ipywidgets_jsonschema.form import Form __version__ = "0.8.1"
16.75
43
0.791045
10
67
4.8
0.9
0
0
0
0
0
0
0
0
0
0
0.050847
0.119403
67
3
44
22.333333
0.762712
0
0
0
0
0
0.074627
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
2dc4b18096f5387eb106609a349d36f7f160d529
116
py
Python
python_fundamentals/data_types_and_variables/concat_names.py
deboradyankova/python_education
41c246ae50b4bf0f372f7b8b2de8d02391eaad7a
[ "MIT" ]
null
null
null
python_fundamentals/data_types_and_variables/concat_names.py
deboradyankova/python_education
41c246ae50b4bf0f372f7b8b2de8d02391eaad7a
[ "MIT" ]
null
null
null
python_fundamentals/data_types_and_variables/concat_names.py
deboradyankova/python_education
41c246ae50b4bf0f372f7b8b2de8d02391eaad7a
[ "MIT" ]
null
null
null
first_name = input() second_name = input() delimiter = input() print(f'{first_name}{delimiter}{second_name}')
19.333333
47
0.698276
15
116
5.133333
0.466667
0.233766
0
0
0
0
0
0
0
0
0
0
0.137931
116
5
48
23.2
0.77
0
0
0
0
0
0.324324
0.324324
0
0
0
0
0
1
0
false
0
0
0
0
0.25
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
2de1a2b264e1c334d3c33cc3ddbc9cb9e80b1e52
189
py
Python
Prova_Grupo10/ex_2.py
luck97/LP2_2s2017
32e2c9ec6fbb376b7d6fecf021dcca9f02091bfd
[ "Apache-2.0" ]
null
null
null
Prova_Grupo10/ex_2.py
luck97/LP2_2s2017
32e2c9ec6fbb376b7d6fecf021dcca9f02091bfd
[ "Apache-2.0" ]
null
null
null
Prova_Grupo10/ex_2.py
luck97/LP2_2s2017
32e2c9ec6fbb376b7d6fecf021dcca9f02091bfd
[ "Apache-2.0" ]
null
null
null
from alunos import alunos for aluno in alunos: print("nome: " + aluno['nome'] ) if aluno['fez_teste']: print("Teste já realizado") else: print("Aplicar teste")
21
36
0.603175
24
189
4.708333
0.625
0
0
0
0
0
0
0
0
0
0
0
0.26455
189
9
37
21
0.81295
0
0
0
0
0
0.263158
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0.428571
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
2df57ed77e8f4ca8e65dddedef7ae93624041626
738
py
Python
bc211/import_open_referral_csv/exceptions.py
pg-irc/pathways-backend
05a8c4e750523d2d081b030a248c5444d1ed7992
[ "BSD-3-Clause" ]
12
2017-08-30T18:21:00.000Z
2021-12-09T04:04:17.000Z
bc211/import_open_referral_csv/exceptions.py
pg-irc/pathways-backend
05a8c4e750523d2d081b030a248c5444d1ed7992
[ "BSD-3-Clause" ]
424
2017-08-08T18:32:14.000Z
2022-03-30T21:42:51.000Z
bc211/import_open_referral_csv/exceptions.py
pg-irc/pathways-backend
05a8c4e750523d2d081b030a248c5444d1ed7992
[ "BSD-3-Clause" ]
7
2017-09-29T21:14:37.000Z
2019-12-30T21:07:37.000Z
class CsvParseException(Exception): def __init__(self, *args, **kwargs): Exception.__init__(self, *args, **kwargs) class MissingRequiredFieldCsvParseException(CsvParseException): def __init__(self, *args, **kwargs): CsvParseException.__init__(self, *args, **kwargs) class InvalidFieldCsvParse...
30.75
63
0.718157
65
738
7.538462
0.184615
0.163265
0.244898
0.367347
0.614286
0.571429
0.571429
0.571429
0.571429
0.571429
0
0
0.153117
738
23
64
32.086957
0.784
0
0
0.6
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.2
0
0.866667
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
2df8bcb71e2047092faac487a57ceee11dbb93f9
106
py
Python
September 2020/05-Functions-Advanced/demo.py
eclipse-ib/Software-University-Professional-Advanced-Module
636385f9e5521840f680644824d725d074b93c9a
[ "MIT" ]
null
null
null
September 2020/05-Functions-Advanced/demo.py
eclipse-ib/Software-University-Professional-Advanced-Module
636385f9e5521840f680644824d725d074b93c9a
[ "MIT" ]
null
null
null
September 2020/05-Functions-Advanced/demo.py
eclipse-ib/Software-University-Professional-Advanced-Module
636385f9e5521840f680644824d725d074b93c9a
[ "MIT" ]
null
null
null
from itertools import combinations, permutations iter = list(permutations([1, 2, 3, 4, 5], 3)) print(iter)
35.333333
48
0.735849
16
106
4.875
0.8125
0
0
0
0
0
0
0
0
0
0
0.064516
0.122642
106
3
49
35.333333
0.774194
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
9310249b17ee0b4f35ce10c62b98a8683e135f40
1,312
py
Python
tests/test_ovvatv.py
unlocKing/plugins
e5cee730c22a049cfd0e3873389c82e8ab5f7c41
[ "BSD-2-Clause" ]
2
2021-09-02T21:29:48.000Z
2021-09-20T07:05:08.000Z
tests/test_ovvatv.py
unlocKing/plugins
e5cee730c22a049cfd0e3873389c82e8ab5f7c41
[ "BSD-2-Clause" ]
null
null
null
tests/test_ovvatv.py
unlocKing/plugins
e5cee730c22a049cfd0e3873389c82e8ab5f7c41
[ "BSD-2-Clause" ]
null
null
null
import unittest from plugins.ovvatv import ovvaTV class TestPluginovvaTV(unittest.TestCase): def test_can_handle_url(self): should_match = [ 'https://1plus1.video/tvguide/embed/1?autoplay=1&l=ua', 'https://1plus1.video/tvguide/embed/16?autoplay=1&l=ua', 'https://1plus...
39.757576
68
0.612805
162
1,312
4.882716
0.265432
0.208597
0.303413
0.40708
0.611884
0.303413
0.303413
0.303413
0.303413
0
0
0.050595
0.231707
1,312
32
69
41
0.734127
0
0
0
0
0
0.519817
0
0
0
0
0
0.074074
1
0.037037
false
0
0.074074
0
0.148148
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
93235d22f0bec32f3b6ea7ade73320013f3ec38c
883
py
Python
Lesson_2_1.py
wchunhao2000/pyneta
3c03dff486e3a777e3e6cca4e0de5b823cf64256
[ "Apache-2.0" ]
null
null
null
Lesson_2_1.py
wchunhao2000/pyneta
3c03dff486e3a777e3e6cca4e0de5b823cf64256
[ "Apache-2.0" ]
null
null
null
Lesson_2_1.py
wchunhao2000/pyneta
3c03dff486e3a777e3e6cca4e0de5b823cf64256
[ "Apache-2.0" ]
null
null
null
from netmiko import ConnectHandler from getpass import getpass device1 = { "host": 'cisco4.lasthop.io', "username": 'pyclass', "password": getpass(), "device_type": 'cisco_xe', } net_connect = ConnectHandler(**device1) print(net_connect.find_prompt()) #command = 'ping' output = net_connect.send_comma...
35.32
105
0.744054
128
883
4.875
0.296875
0.160256
0.205128
0.25641
0.520833
0.347756
0.347756
0.347756
0.347756
0.347756
0
0.021223
0.092865
883
24
106
36.791667
0.757803
0.01812
0
0
0
0
0.114319
0
0
0
0
0
0
1
0
false
0.105263
0.105263
0
0.105263
0.105263
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
933d0ae50f867c66d03de2c264847e7735965d99
186
py
Python
{{cookiecutter.project_slug}}/backend/app/app/tests/crud/test_get_ids.py
Gjacquenot/full-stack-fastapi-couchbase
5df16af2ffcb22d141c5e689a220611005747939
[ "MIT" ]
353
2019-01-03T09:53:17.000Z
2022-03-27T12:24:45.000Z
{{cookiecutter.project_slug}}/backend/app/app/tests/crud/test_get_ids.py
Gjacquenot/full-stack-fastapi-couchbase
5df16af2ffcb22d141c5e689a220611005747939
[ "MIT" ]
21
2019-01-06T21:50:40.000Z
2021-08-19T11:33:15.000Z
{{cookiecutter.project_slug}}/backend/app/app/tests/crud/test_get_ids.py
Gjacquenot/full-stack-fastapi-couchbase
5df16af2ffcb22d141c5e689a220611005747939
[ "MIT" ]
72
2019-03-07T21:59:55.000Z
2022-03-18T04:59:22.000Z
from app import crud def test_get_user_id(): username = "johndoe@example.com" user_id = crud.user.get_doc_id(username) assert user_id == "userprofile::johndoe@example.com"
23.25
56
0.725806
28
186
4.571429
0.571429
0.140625
0.265625
0
0
0
0
0
0
0
0
0
0.16129
186
7
57
26.571429
0.820513
0
0
0
0
0
0.274194
0.172043
0
0
0
0
0.2
1
0.2
false
0
0.2
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
0
0
0
0
0
3
933eda10a4e51d6047ff455bc6aa0d652339a74e
327
py
Python
pyenzyme/thinlayers/__init__.py
haeussma/PyEnzyme
d3a9fcf144c0075d48458ffc63dd5d77b267ce68
[ "BSD-2-Clause" ]
null
null
null
pyenzyme/thinlayers/__init__.py
haeussma/PyEnzyme
d3a9fcf144c0075d48458ffc63dd5d77b267ce68
[ "BSD-2-Clause" ]
null
null
null
pyenzyme/thinlayers/__init__.py
haeussma/PyEnzyme
d3a9fcf144c0075d48458ffc63dd5d77b267ce68
[ "BSD-2-Clause" ]
null
null
null
# File: __init__.py # Project: thinlayers # Author: Jan Range # License: BSD-2 clause # Copyright (c) 2022 Institute of Biochemistry and Technical Biochemistry Stuttgart from .TL_Base import BaseThinLayer from .TL_Strenda import ThinLayerStrendaML from .TL_Pysces import ThinLayerPysces from .TL_Copasi import ThinLayer...
29.727273
83
0.819572
42
327
6.190476
0.761905
0.092308
0
0
0
0
0
0
0
0
0
0.017544
0.12844
327
10
84
32.7
0.894737
0.486239
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
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
9343d516165211e07632b300b10918529118da28
231
py
Python
Chapter 01/Chap01_Example1.22.py
Anancha/Programming-Techniques-using-Python
e80c329d2a27383909d358741a5cab03cb22fd8b
[ "MIT" ]
null
null
null
Chapter 01/Chap01_Example1.22.py
Anancha/Programming-Techniques-using-Python
e80c329d2a27383909d358741a5cab03cb22fd8b
[ "MIT" ]
null
null
null
Chapter 01/Chap01_Example1.22.py
Anancha/Programming-Techniques-using-Python
e80c329d2a27383909d358741a5cab03cb22fd8b
[ "MIT" ]
null
null
null
print('Hello',end=' ') print('Python',end=' ') print('Beginners.',end=' ') print('This',end=' ') print('is',end=' ') print('an',end=' ') print('example',end=' ') print('of',end=' ') print('end',end=' ') print('attribute.',end=' ')
21
27
0.558442
30
231
4.3
0.366667
0.55814
0
0
0
0
0
0
0
0
0
0
0.08658
231
10
28
23.1
0.611374
0
0
0
0
0
0.264069
0
0
0
0
0
0
1
0
true
0
0
0
0
1
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
3
934541340f0e27ba8977bbf27c77b5f3e636b509
3,947
py
Python
app/models.py
audreynjiraini/personal-blog
0dd2bbc8da56eedca77ee5c20e6434eac6ae7604
[ "MIT" ]
null
null
null
app/models.py
audreynjiraini/personal-blog
0dd2bbc8da56eedca77ee5c20e6434eac6ae7604
[ "MIT" ]
null
null
null
app/models.py
audreynjiraini/personal-blog
0dd2bbc8da56eedca77ee5c20e6434eac6ae7604
[ "MIT" ]
1
2019-09-24T08:45:18.000Z
2019-09-24T08:45:18.000Z
from . import db from werkzeug.security import generate_password_hash, check_password_hash from flask_login import UserMixin from datetime import datetime from . import login_manager @login_manager.user_loader def load_user(user_id): return User.query.get(int(user_id)) class User(UserMixin,db.Model): __table...
26.313333
85
0.629085
503
3,947
4.77336
0.178926
0.079967
0.099958
0.079967
0.488963
0.439817
0.388172
0.3611
0.227405
0.205748
0
0.007021
0.242209
3,947
150
86
26.313333
0.79572
0.042311
0
0.307692
1
0
0.078676
0.006093
0
0
0
0
0
1
0.175824
false
0.098901
0.054945
0.065934
0.725275
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
3
9354b407eb3fb9c003d7224f3852e9f19559eff6
112
py
Python
main/types.py
unhideschool/uhql
b2194388ee73d7bb4d08ef73ced44c73ab598e6a
[ "MIT" ]
null
null
null
main/types.py
unhideschool/uhql
b2194388ee73d7bb4d08ef73ced44c73ab598e6a
[ "MIT" ]
null
null
null
main/types.py
unhideschool/uhql
b2194388ee73d7bb4d08ef73ced44c73ab598e6a
[ "MIT" ]
null
null
null
from enum import Enum class UHOperationTypes(Enum): CREATE = 1 READ = 2 UPDATE = 3 DELETE = 4
12.444444
29
0.616071
15
112
4.6
0.866667
0
0
0
0
0
0
0
0
0
0
0.052632
0.321429
112
8
30
14
0.855263
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.166667
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3