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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3e1dd5bd68d394d39a441e19a0509812a9f6b841 | 152 | py | Python | knxpy/dpts/dpt1.py | BrechtBa/knxpy | 9e486f4a4623f586091e72cc6472441f3efbdd72 | [
"MIT"
] | null | null | null | knxpy/dpts/dpt1.py | BrechtBa/knxpy | 9e486f4a4623f586091e72cc6472441f3efbdd72 | [
"MIT"
] | null | null | null | knxpy/dpts/dpt1.py | BrechtBa/knxpy | 9e486f4a4623f586091e72cc6472441f3efbdd72 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
"""
Boolean data
1 bit
0,1
"""
def encode(value):
return [int(value) & 0x01]
def decode(data):
return (data & 0x01)
| 9.5 | 30 | 0.605263 | 23 | 152 | 4 | 0.695652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084746 | 0.223684 | 152 | 15 | 31 | 10.133333 | 0.694915 | 0.289474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080808 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
3e20d2ec7ffb4e37a534ab2ec90631b3c444d2a4 | 218 | py | Python | rowboat/models/migrations/0006_new_guild_config.py | StreamersConnected/testrb | 292abe1d9b463e416f157023f271ca9547638b00 | [
"MIT"
] | 1 | 2018-05-12T12:34:51.000Z | 2018-05-12T12:34:51.000Z | rowboat/models/migrations/0006_new_guild_config.py | StreamersConnected/testrb | 292abe1d9b463e416f157023f271ca9547638b00 | [
"MIT"
] | null | null | null | rowboat/models/migrations/0006_new_guild_config.py | StreamersConnected/testrb | 292abe1d9b463e416f157023f271ca9547638b00 | [
"MIT"
] | null | null | null | from rowboat.models.migrations import Migrate
from rowboat.models.guild import Guild
@Migrate.only_if(Migrate.missing, Guild, 'config_raw')
def add_guild_columns(m):
m.add_columns(Guild, Guild.config_raw)
| 27.25 | 55 | 0.775229 | 32 | 218 | 5.09375 | 0.5 | 0.134969 | 0.208589 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12844 | 218 | 7 | 56 | 31.142857 | 0.857895 | 0 | 0 | 0 | 0 | 0 | 0.047393 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
3e28c4d69d2197030e7707044c7e090c5b99ac3f | 170 | py | Python | server/mongo_client.py | jsonkung/agora | 18c951b63556cdccf2c552e7413de56c18254c00 | [
"MIT"
] | null | null | null | server/mongo_client.py | jsonkung/agora | 18c951b63556cdccf2c552e7413de56c18254c00 | [
"MIT"
] | null | null | null | server/mongo_client.py | jsonkung/agora | 18c951b63556cdccf2c552e7413de56c18254c00 | [
"MIT"
] | null | null | null | import pymongo
def get_mongo_client(host='localhost', port=27017):
uri = "mongodb://{host}:{port}".format(host=host, port=port)
return pymongo.MongoClient(uri)
| 24.285714 | 64 | 0.711765 | 23 | 170 | 5.173913 | 0.652174 | 0.134454 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033557 | 0.123529 | 170 | 6 | 65 | 28.333333 | 0.765101 | 0 | 0 | 0 | 0 | 0 | 0.188235 | 0.135294 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
3e34635e5576cdec28118969af2af12619f4bd14 | 153 | py | Python | HealthNet/calendarium/settings.py | jimga150/HealthNet | 84e55302b02221ae6e93640904af837fdfe09a83 | [
"MIT"
] | 79 | 2015-01-21T10:23:24.000Z | 2016-11-03T13:25:03.000Z | HealthNet/calendarium/settings.py | jimga150/HealthNet | 84e55302b02221ae6e93640904af837fdfe09a83 | [
"MIT"
] | 28 | 2015-01-06T17:16:51.000Z | 2016-09-08T09:13:19.000Z | HealthNet/calendarium/settings.py | jimga150/HealthNet | 84e55302b02221ae6e93640904af837fdfe09a83 | [
"MIT"
] | 24 | 2015-01-14T17:02:54.000Z | 2016-08-10T02:47:03.000Z | """Default settings for the calendarium app."""
from django.conf import settings
SHIFT_WEEKSTART = getattr(settings, 'CALENDARIUM_SHIFT_WEEKSTART', 0)
| 25.5 | 69 | 0.79085 | 19 | 153 | 6.210526 | 0.736842 | 0.237288 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007353 | 0.111111 | 153 | 5 | 70 | 30.6 | 0.860294 | 0.267974 | 0 | 0 | 0 | 0 | 0.254717 | 0.254717 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
3e42ac90b1dd4da06e0daecb7d3347611703ef22 | 55 | py | Python | tsis1/bool1.py | ayazhan112/python- | fba09ecc25e11dbfb116f273838b13174f66126d | [
"MIT"
] | null | null | null | tsis1/bool1.py | ayazhan112/python- | fba09ecc25e11dbfb116f273838b13174f66126d | [
"MIT"
] | null | null | null | tsis1/bool1.py | ayazhan112/python- | fba09ecc25e11dbfb116f273838b13174f66126d | [
"MIT"
] | null | null | null | x = "Hello"
y = 15
print(bool(x))
print(bool(y))
| 9.166667 | 15 | 0.527273 | 10 | 55 | 2.9 | 0.6 | 0.62069 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04878 | 0.254545 | 55 | 5 | 16 | 11 | 0.658537 | 0 | 0 | 0 | 0 | 0 | 0.1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 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 | 1 | 0 | 4 |
3e571472fe3f555726d8dffb1c9bc058f191e207 | 44 | py | Python | tests/couldBeGenerated_pb2.py | jddixon/pysloc | ab642816ab3bfe92755ebbba55d09a802d5be485 | [
"MIT"
] | 1 | 2019-06-13T18:28:51.000Z | 2019-06-13T18:28:51.000Z | tests/couldBeGenerated_pb2.py | jddixon/pysloc | ab642816ab3bfe92755ebbba55d09a802d5be485 | [
"MIT"
] | null | null | null | tests/couldBeGenerated_pb2.py | jddixon/pysloc | ab642816ab3bfe92755ebbba55d09a802d5be485 | [
"MIT"
] | null | null | null | This
should be
counted
as a
0 - line
file
.
| 5.5 | 9 | 0.704545 | 9 | 44 | 3.444444 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030303 | 0.25 | 44 | 7 | 10 | 6.285714 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
3e6e9ff6a73cccdf8dc1241c0b382196d8640149 | 52 | py | Python | tests/pytest_plugin/data/test_using_migrator_fixture.py | swiatekm/django-test-migrations | 628f650d2c076ce8ad44222d1a6c674ded90a48a | [
"MIT"
] | 4 | 2019-07-26T12:42:42.000Z | 2020-01-27T07:45:09.000Z | tests/pytest_plugin/data/test_using_migrator_fixture.py | swiatekm/django-test-migrations | 628f650d2c076ce8ad44222d1a6c674ded90a48a | [
"MIT"
] | 37 | 2019-10-18T18:10:14.000Z | 2020-01-31T07:46:23.000Z | tests/pytest_plugin/data/test_using_migrator_fixture.py | swiatekm/django-test-migrations | 628f650d2c076ce8ad44222d1a6c674ded90a48a | [
"MIT"
] | 1 | 2019-08-03T15:54:50.000Z | 2019-08-03T15:54:50.000Z | def test_using_migrator_fixture(migrator):
pass
| 17.333333 | 42 | 0.807692 | 7 | 52 | 5.571429 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134615 | 52 | 2 | 43 | 26 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
e41ca9c0b4c42a66448eca7c9d933029b29f368d | 377 | py | Python | chap8/8-12.py | wikilike7/python-crash-course | 85cd7a2ab6e43a554c282b6e0c1c44c415cca3a3 | [
"MIT"
] | null | null | null | chap8/8-12.py | wikilike7/python-crash-course | 85cd7a2ab6e43a554c282b6e0c1c44c415cca3a3 | [
"MIT"
] | null | null | null | chap8/8-12.py | wikilike7/python-crash-course | 85cd7a2ab6e43a554c282b6e0c1c44c415cca3a3 | [
"MIT"
] | 1 | 2019-03-05T09:31:27.000Z | 2019-03-05T09:31:27.000Z | def rice_describ(*rice):
print('\n下面介绍各种大米的分类和基础介绍:')
print(rice)
rice_describ('糙米:稻谷去除稻壳后之稻米,保留了八成的产物比例。营养价值较胚芽米和白米较高,但浸 水和煮食时间也较长')
rice_describ('胚芽米:糙米加工后去除糠层保留胚及胚乳,保留了七成半的产物比例,是糙米和白 米的中间产物', '白米:(即我们平时食用的白米或大米) 糙米经继续加工,碾去皮层和胚 (即细 糠),基本上只剩下胚乳,保留了七成的产物比例。市场上最主要的类别', '预熟米 (改造米):将食米经浸润、蒸煮、干燥等处理')
rice_describ... | 41.888889 | 163 | 0.777188 | 45 | 377 | 6.422222 | 0.8 | 0.152249 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 377 | 8 | 164 | 47.125 | 0.823362 | 0 | 0 | 0 | 0 | 0 | 0.681698 | 0.427056 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0 | 0 | 0.166667 | 0.333333 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e42660793699a33c5a358a0c5bf836c4fd142992 | 58 | py | Python | yikes_moles/__main__.py | hodgestar/yikes-moles | 195a3db7d2dbea3e9f0cec7620f6c4b38a2a5524 | [
"MIT"
] | null | null | null | yikes_moles/__main__.py | hodgestar/yikes-moles | 195a3db7d2dbea3e9f0cec7620f6c4b38a2a5524 | [
"MIT"
] | null | null | null | yikes_moles/__main__.py | hodgestar/yikes-moles | 195a3db7d2dbea3e9f0cec7620f6c4b38a2a5524 | [
"MIT"
] | null | null | null | """ Run Yikes! Moles! """
from .main import main
main()
| 9.666667 | 25 | 0.603448 | 8 | 58 | 4.375 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206897 | 58 | 5 | 26 | 11.6 | 0.76087 | 0.293103 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
e454d9acd17f9e44a441065289136ddc69c50041 | 189 | py | Python | Python/Introduction/python_if_else.py | isbendiyarovanezrin/HackerRank-Solutions | 3e66ecab82b35e718e1bdd1b0c00d0aeb3b4569f | [
"MIT"
] | 2 | 2021-11-21T21:40:25.000Z | 2021-11-22T06:30:58.000Z | Python/Introduction/python_if_else.py | isbendiyarovanezrin/HackerRankSolutions | 3e66ecab82b35e718e1bdd1b0c00d0aeb3b4569f | [
"MIT"
] | null | null | null | Python/Introduction/python_if_else.py | isbendiyarovanezrin/HackerRankSolutions | 3e66ecab82b35e718e1bdd1b0c00d0aeb3b4569f | [
"MIT"
] | null | null | null | # Language: Python 3
n = int(input())
if (n % 2 != 0):
print("Weird")
elif (2 <= n <= 5):
print("Not Weird")
elif (6 <= n <= 20):
print("Weird")
else:
print("Not Weird")
| 14.538462 | 23 | 0.497354 | 29 | 189 | 3.241379 | 0.586207 | 0.212766 | 0.276596 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057971 | 0.269841 | 189 | 12 | 24 | 15.75 | 0.623188 | 0.095238 | 0 | 0.444444 | 0 | 0 | 0.16568 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.444444 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
e45b51c0cd4d12db9eb6625c4f1239c0a4e9e0f0 | 22 | py | Python | skewt/__init__.py | aktaylor08/SkewT | bc6fde8ed9ff2da9000fb5865cc9aaecf1a662e2 | [
"MIT"
] | 1 | 2017-05-24T09:14:28.000Z | 2017-05-24T09:14:28.000Z | skewt/__init__.py | peterwilletts24/SkewT | bc6fde8ed9ff2da9000fb5865cc9aaecf1a662e2 | [
"MIT"
] | null | null | null | skewt/__init__.py | peterwilletts24/SkewT | bc6fde8ed9ff2da9000fb5865cc9aaecf1a662e2 | [
"MIT"
] | 1 | 2019-08-28T16:56:22.000Z | 2019-08-28T16:56:22.000Z | __version__="0.1.3r1"
| 11 | 21 | 0.727273 | 4 | 22 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 0.045455 | 22 | 1 | 22 | 22 | 0.380952 | 0 | 0 | 0 | 0 | 0 | 0.318182 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e45bccb3746c666fdc5b880764bd0d0636551c9c | 81 | py | Python | elk/apps.py | mingregister/zlk | 6386eb019e14cb5380c1b9518bc43ef48bd78369 | [
"Apache-2.0"
] | null | null | null | elk/apps.py | mingregister/zlk | 6386eb019e14cb5380c1b9518bc43ef48bd78369 | [
"Apache-2.0"
] | null | null | null | elk/apps.py | mingregister/zlk | 6386eb019e14cb5380c1b9518bc43ef48bd78369 | [
"Apache-2.0"
] | null | null | null | from django.apps import AppConfig
class ElkConfig(AppConfig):
name = 'elk'
| 13.5 | 33 | 0.728395 | 10 | 81 | 5.9 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185185 | 81 | 5 | 34 | 16.2 | 0.893939 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
9028bd48a3d3f9da19435ac6eddece7270848cc0 | 207 | py | Python | mysite/ctms/admin.py | raccoongang/socraticqs2 | 06201005136ee139846f857dbb2f518736e441de | [
"Apache-2.0"
] | 3 | 2015-11-20T07:33:28.000Z | 2017-01-15T23:33:50.000Z | mysite/ctms/admin.py | raccoongang/socraticqs2 | 06201005136ee139846f857dbb2f518736e441de | [
"Apache-2.0"
] | 28 | 2015-07-14T11:33:24.000Z | 2017-11-17T15:21:22.000Z | mysite/ctms/admin.py | raccoongang/socraticqs2 | 06201005136ee139846f857dbb2f518736e441de | [
"Apache-2.0"
] | 4 | 2015-04-29T09:04:59.000Z | 2017-07-19T14:11:16.000Z | from django.contrib import admin
from ctms.models import Invite
@admin.register(*[Invite])
class AdminModel(admin.ModelAdmin):
list_display = ('code', 'email', 'course', 'get_status_display', 'type')
| 23 | 76 | 0.7343 | 26 | 207 | 5.730769 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120773 | 207 | 8 | 77 | 25.875 | 0.818681 | 0 | 0 | 0 | 0 | 0 | 0.178744 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
5f788ed13aba6c73803f9fb6c671443522d89fb0 | 357 | py | Python | factory/ey.py | amitkc00/design_patterns | 86262200d8ab106e9e8b32abc0d87e7a8e1cce2a | [
"MIT"
] | null | null | null | factory/ey.py | amitkc00/design_patterns | 86262200d8ab106e9e8b32abc0d87e7a8e1cce2a | [
"MIT"
] | null | null | null | factory/ey.py | amitkc00/design_patterns | 86262200d8ab106e9e8b32abc0d87e7a8e1cce2a | [
"MIT"
] | null | null | null | from iConsultant import iconsultant
class ey(iconsultant):
def __init__(self):
pass
def do_SAP_Security_audit(self):
print('This is EY SAP Security Audit')
def do_SAP_HR_audit(self):
print('This is EY SAP HR Audit')
def do_SAP_PurchaseSale_audit(self):
print(... | 23.8 | 51 | 0.661064 | 51 | 357 | 4.372549 | 0.392157 | 0.067265 | 0.107623 | 0.242152 | 0.336323 | 0.336323 | 0.336323 | 0 | 0 | 0 | 0 | 0 | 0.263305 | 357 | 15 | 51 | 23.8 | 0.847909 | 0 | 0 | 0 | 0 | 0 | 0.240223 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.1 | 0.1 | 0 | 0.6 | 0.3 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
5f7a9bb21dbf122d5c97ab4a037b75606ef993aa | 165 | py | Python | ops/multihead/__init__.py | ancientmooner/CCNet | c914913ad523ec854f78c28f22044af204d4fbe6 | [
"MIT"
] | null | null | null | ops/multihead/__init__.py | ancientmooner/CCNet | c914913ad523ec854f78c28f22044af204d4fbe6 | [
"MIT"
] | null | null | null | ops/multihead/__init__.py | ancientmooner/CCNet | c914913ad523ec854f78c28f22044af204d4fbe6 | [
"MIT"
] | null | null | null | from .multihead_block import MultiheadBlock
from .multihead_spatial_block import MultiheadSpatialBlock
__all__ = [
'MultiheadBlock', 'MultiheadSpatialBlock',
]
| 23.571429 | 58 | 0.818182 | 14 | 165 | 9.142857 | 0.571429 | 0.203125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115152 | 165 | 6 | 59 | 27.5 | 0.876712 | 0 | 0 | 0 | 0 | 0 | 0.212121 | 0.127273 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
5f95e6ae5caa0336b8e739993847fcbfd9781539 | 196 | py | Python | NCPWD/apps/comments/serializers.py | fossabot/NCPWD | e46776ecf0cb4f263ff4e7883cb2402a3fc58717 | [
"Apache-2.0"
] | 1 | 2019-08-22T23:36:07.000Z | 2019-08-22T23:36:07.000Z | NCPWD/apps/comments/serializers.py | C3real-kill3r/H-digest | afce0a6e8b0fa4d2684550fe9f484ab9c6e76560 | [
"Apache-2.0"
] | 10 | 2019-12-12T13:59:43.000Z | 2021-09-22T18:21:44.000Z | NCPWD/apps/comments/serializers.py | C3real-kill3r/H-digest | afce0a6e8b0fa4d2684550fe9f484ab9c6e76560 | [
"Apache-2.0"
] | 2 | 2019-12-12T13:56:33.000Z | 2019-12-26T11:47:05.000Z | from rest_framework.serializers import ModelSerializer
from .models import Comments
class CommentSerializer(ModelSerializer):
class Meta:
model = Comments
fields = "__all__"
| 21.777778 | 54 | 0.744898 | 19 | 196 | 7.421053 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.204082 | 196 | 8 | 55 | 24.5 | 0.903846 | 0 | 0 | 0 | 0 | 0 | 0.035714 | 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 | 1 | 0 | 0 | 4 |
5f9b786c50786b8d6e9a5bbfb14cb258efc64cd4 | 98 | py | Python | websocket_redis/api/async/__init__.py | Abdeljelil/websocket_redis | d056628333144efc5396881d344e8acfcf9b0edc | [
"BSD-3-Clause"
] | 1 | 2016-07-28T07:07:16.000Z | 2016-07-28T07:07:16.000Z | websocket_redis/api/async/__init__.py | Abdeljelil/websocket_redis | d056628333144efc5396881d344e8acfcf9b0edc | [
"BSD-3-Clause"
] | null | null | null | websocket_redis/api/async/__init__.py | Abdeljelil/websocket_redis | d056628333144efc5396881d344e8acfcf9b0edc | [
"BSD-3-Clause"
] | null | null | null | from websocket_redis.api.async.listener import APIClientListener
__all__ = ["APIClientListener"]
| 24.5 | 64 | 0.836735 | 10 | 98 | 7.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 98 | 3 | 65 | 32.666667 | 0.855556 | 0 | 0 | 0 | 0 | 0 | 0.173469 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.5 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
5fa43ddb266081abdf4e24e2219f8c9d014bde39 | 262 | py | Python | HackersPySim.py | mar232320/HackersPy | 1f4f76ef34363408cfbca090d93f304ce27db3f7 | [
"MIT"
] | null | null | null | HackersPySim.py | mar232320/HackersPy | 1f4f76ef34363408cfbca090d93f304ce27db3f7 | [
"MIT"
] | null | null | null | HackersPySim.py | mar232320/HackersPy | 1f4f76ef34363408cfbca090d93f304ce27db3f7 | [
"MIT"
] | null | null | null | #Import Modules
import json
try:
#Define Programs
#Define Nodes
#Operations Area
#Error Catchment
except FileNotFoundError:
print ("Error, could not find 1 or more files required, please ensure all files are downloaded and in dir with the Py file")
| 26.2 | 129 | 0.755725 | 38 | 262 | 5.210526 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004739 | 0.194656 | 262 | 9 | 130 | 29.111111 | 0.933649 | 0.270992 | 0 | 0 | 0 | 0.25 | 0.644068 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.25 | null | null | 0.25 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5fb4b58afc191733eefbdedf98269293675fe91c | 46,297 | py | Python | nova/objects/request_spec.py | bopopescu/nova-token | ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2 | [
"Apache-2.0"
] | null | null | null | nova/objects/request_spec.py | bopopescu/nova-token | ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2 | [
"Apache-2.0"
] | null | null | null | nova/objects/request_spec.py | bopopescu/nova-token | ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2 | [
"Apache-2.0"
] | 2 | 2017-07-20T17:31:34.000Z | 2020-07-24T02:42:19.000Z | begin_unit
comment|'# Copyright 2015 Red Hat, Inc.'
nl|'\n'
comment|'#'
nl|'\n'
comment|'# Licensed under the Apache License, Version 2.0 (the "License"); you may'
nl|'\n'
comment|'# not use this file except in compliance with the License. You may obtain'
nl|'\n'
comment|'# a copy of the License at'
nl|'\n'... | 14.494991 | 1,018 | 0.620753 | 6,847 | 46,297 | 4.099168 | 0.06952 | 0.137457 | 0.069477 | 0.051377 | 0.753839 | 0.683115 | 0.617487 | 0.548545 | 0.478177 | 0.426016 | 0 | 0.001379 | 0.12301 | 46,297 | 3,193 | 1,019 | 14.49953 | 0.689892 | 0 | 0 | 0.946759 | 0 | 0.000626 | 0.653973 | 0.088537 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.000626 | 0.003132 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5fc0e71e7d02ff582dfa669b591962a12eb2e52f | 95 | py | Python | setup.py | codingjoe/codingjoes_new_package | 56d7b5a01f1504ce1b5e3e2850cfc68d28d7d02a | [
"MIT"
] | null | null | null | setup.py | codingjoe/codingjoes_new_package | 56d7b5a01f1504ce1b5e3e2850cfc68d28d7d02a | [
"MIT"
] | null | null | null | setup.py | codingjoe/codingjoes_new_package | 56d7b5a01f1504ce1b5e3e2850cfc68d28d7d02a | [
"MIT"
] | null | null | null | #!/usr/bin/env python
from setuptools import setup
setup(version_format='{tag}.dev{commits}')
| 19 | 42 | 0.757895 | 14 | 95 | 5.071429 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084211 | 95 | 4 | 43 | 23.75 | 0.816092 | 0.210526 | 0 | 0 | 0 | 0 | 0.243243 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
5fc6590fd9eb4ea09aea8a11243e79690219e923 | 171 | py | Python | JPS_Chatbot/EnvironmentTest/chatbot/calculate.py | mdhillmancmcl/TheWorldAvatar-CMCL-Fork | 011aee78c016b76762eaf511c78fabe3f98189f4 | [
"MIT"
] | 21 | 2021-03-08T01:58:25.000Z | 2022-03-09T15:46:16.000Z | JPS_Chatbot/EnvironmentTest/chatbot/calculate.py | mdhillmancmcl/TheWorldAvatar-CMCL-Fork | 011aee78c016b76762eaf511c78fabe3f98189f4 | [
"MIT"
] | 63 | 2021-05-04T15:05:30.000Z | 2022-03-23T14:32:29.000Z | JPS_Chatbot/EnvironmentTest/chatbot/calculate.py | mdhillmancmcl/TheWorldAvatar-CMCL-Fork | 011aee78c016b76762eaf511c78fabe3f98189f4 | [
"MIT"
] | 15 | 2021-03-08T07:52:03.000Z | 2022-03-29T04:46:20.000Z | class Calculator:
def __init__(self, socket):
self.socket = socket
def run(self):
self.socket.emit('response', 'Here is your result')
| 15.545455 | 59 | 0.584795 | 20 | 171 | 4.8 | 0.65 | 0.3125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.304094 | 171 | 10 | 60 | 17.1 | 0.806723 | 0 | 0 | 0 | 0 | 0 | 0.158824 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0 | 0.6 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
396ba326c6d51e9cb8dcedff321b5b1b4b698c65 | 328 | py | Python | dgs/context_processors.py | machakux/dgs | 46de3cdaced5e4afef46fa46c7a3303d53df0da0 | [
"Unlicense"
] | 6 | 2017-11-06T02:50:31.000Z | 2021-09-18T08:12:05.000Z | dgs/context_processors.py | machakux/dgs | 46de3cdaced5e4afef46fa46c7a3303d53df0da0 | [
"Unlicense"
] | 5 | 2017-07-08T07:58:07.000Z | 2017-09-11T06:13:03.000Z | dgs/context_processors.py | machakux/dgs | 46de3cdaced5e4afef46fa46c7a3303d53df0da0 | [
"Unlicense"
] | 2 | 2017-09-15T20:49:41.000Z | 2019-09-10T11:03:59.000Z | from django.conf import settings
def site(request):
return {
'SITE_NAME': getattr(settings, 'SITE_NAME', ''),
'PUBLIC_SITE_URL': getattr(settings, 'PUBLIC_SITE_URL', '/'),
'SITE_API_NAME': getattr(settings, 'SITE_API_NAME', ''),
'SITE_API_URL': getattr(settings, 'SITE_API_URL', '')... | 29.818182 | 69 | 0.628049 | 39 | 328 | 4.923077 | 0.358974 | 0.3125 | 0.296875 | 0.239583 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.204268 | 328 | 10 | 70 | 32.8 | 0.735632 | 0 | 0 | 0 | 0 | 0 | 0.301829 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.125 | 0.125 | 0.375 | 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 | 1 | 0 | 0 | 0 | 4 |
3986566ad8c7363cf4384f57099947cb91e07deb | 2,273 | py | Python | utilities/test_find_pairs_pt.py | davemungo/various | ed7c17f8b75a27fc59b0a5cad6125d64d00cd3ce | [
"MIT"
] | 1 | 2020-01-19T01:21:56.000Z | 2020-01-19T01:21:56.000Z | utilities/test_find_pairs_pt.py | davemungo/various | ed7c17f8b75a27fc59b0a5cad6125d64d00cd3ce | [
"MIT"
] | null | null | null | utilities/test_find_pairs_pt.py | davemungo/various | ed7c17f8b75a27fc59b0a5cad6125d64d00cd3ce | [
"MIT"
] | 1 | 2021-07-02T14:40:01.000Z | 2021-07-02T14:40:01.000Z | # Test code for find_pairs_pt.py
import pytest
import find_pairs_pt as fp
def test_no_pairs():
test_array = [9]
response = []
assert fp.find_pairs_simple(test_array) == response
assert fp.find_pairs(test_array) == response
def test_one_pair():
test_array = [1,9]
response = [(... | 27.719512 | 70 | 0.657281 | 330 | 2,273 | 4.224242 | 0.139394 | 0.213056 | 0.189383 | 0.268293 | 0.728121 | 0.698709 | 0.698709 | 0.654232 | 0.629842 | 0.629842 | 0 | 0.035553 | 0.220414 | 2,273 | 81 | 71 | 28.061728 | 0.751129 | 0.025077 | 0 | 0.438596 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.385965 | 1 | 0.175439 | false | 0 | 0.035088 | 0 | 0.210526 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
39b1faeb8921d5ab678c96768e71ca41de1684aa | 52 | py | Python | examples/struct_instantiation/__init__.py | radeklat/sparkql | 57d55c7599460f2e7e5957c037d7c25cedb92647 | [
"MIT"
] | 6 | 2020-02-12T14:01:08.000Z | 2020-05-29T05:35:09.000Z | examples/struct_instantiation/__init__.py | radeklat/sparkql | 57d55c7599460f2e7e5957c037d7c25cedb92647 | [
"MIT"
] | 31 | 2020-02-09T18:52:52.000Z | 2020-05-15T16:03:32.000Z | examples/struct_instantiation/__init__.py | radeklat/sparkql | 57d55c7599460f2e7e5957c037d7c25cedb92647 | [
"MIT"
] | 1 | 2020-04-03T19:23:08.000Z | 2020-04-03T19:23:08.000Z | """Examples of creating an instance of a schema."""
| 26 | 51 | 0.711538 | 8 | 52 | 4.625 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 52 | 1 | 52 | 52 | 0.840909 | 0.865385 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
39c627ad94ccdad37e2eb0f4073705f863de01e3 | 104 | py | Python | src/commands/exit.py | MineHubCZ/MH-DOS | 0d1361aee8aa4903e7b6c89c1df279b74d55d703 | [
"MIT"
] | 2 | 2021-08-01T12:59:59.000Z | 2021-09-27T05:51:05.000Z | src/commands/exit.py | MineHubCZ/MH-DOS | 0d1361aee8aa4903e7b6c89c1df279b74d55d703 | [
"MIT"
] | 3 | 2021-07-25T07:54:19.000Z | 2021-08-18T20:35:26.000Z | src/commands/exit.py | MineHubCZ/MH-DOS | 0d1361aee8aa4903e7b6c89c1df279b74d55d703 | [
"MIT"
] | null | null | null | from helpers.rich import printr
def exit_dos(arguments):
printr("<blue>Ok, bye! <end>")
exit()
| 17.333333 | 34 | 0.663462 | 15 | 104 | 4.533333 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.182692 | 104 | 5 | 35 | 20.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.192308 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
39d84f5ee64770b220f2dc2b1b8f2ac60e59f1c2 | 149 | py | Python | setup.py | KOLANICH/ELFRelocs.py | f4ee4cb7e4819f61d427f9feb76bedbba51007fc | [
"Unlicense"
] | null | null | null | setup.py | KOLANICH/ELFRelocs.py | f4ee4cb7e4819f61d427f9feb76bedbba51007fc | [
"Unlicense"
] | null | null | null | setup.py | KOLANICH/ELFRelocs.py | f4ee4cb7e4819f61d427f9feb76bedbba51007fc | [
"Unlicense"
] | null | null | null | #!/usr/bin/env python3
import os
from setuptools import setup
from pathlib import Path
thisDir = Path(__file__).parent
setup(use_scm_version = True)
| 21.285714 | 31 | 0.798658 | 23 | 149 | 4.913043 | 0.782609 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007634 | 0.120805 | 149 | 6 | 32 | 24.833333 | 0.854962 | 0.14094 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
39f25ea4eac292f8f4d684c25ea44c5799562a30 | 57 | py | Python | authentek/wsgi.py | eshta/authentek | c81e5e6bd3f0cc68f224fb92b663445f8d1ee4d4 | [
"MIT"
] | null | null | null | authentek/wsgi.py | eshta/authentek | c81e5e6bd3f0cc68f224fb92b663445f8d1ee4d4 | [
"MIT"
] | null | null | null | authentek/wsgi.py | eshta/authentek | c81e5e6bd3f0cc68f224fb92b663445f8d1ee4d4 | [
"MIT"
] | null | null | null | from authentek.app import create_app
app = create_app()
| 14.25 | 36 | 0.789474 | 9 | 57 | 4.777778 | 0.555556 | 0.418605 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140351 | 57 | 3 | 37 | 19 | 0.877551 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
8408541783670337922f5f64a8f15b1356f2e348 | 167 | py | Python | seaborn/python_2_to_3/python_2_to_3.py | christensonb/Seaborn | adac2dfe60aabd754f93efd3b109213e5ee58772 | [
"MIT"
] | null | null | null | seaborn/python_2_to_3/python_2_to_3.py | christensonb/Seaborn | adac2dfe60aabd754f93efd3b109213e5ee58772 | [
"MIT"
] | null | null | null | seaborn/python_2_to_3/python_2_to_3.py | christensonb/Seaborn | adac2dfe60aabd754f93efd3b109213e5ee58772 | [
"MIT"
] | null | null | null | import sys
if sys.version_info[0] == 3:
xrange = range
basestring = str
unicode = str
from io import StringIO
else:
from StringIO import StringIO
| 16.7 | 33 | 0.670659 | 23 | 167 | 4.826087 | 0.695652 | 0.252252 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016393 | 0.269461 | 167 | 9 | 34 | 18.555556 | 0.893443 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.375 | 0 | 0.375 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
841bdfda2c2084f22c34c1a8d4f54b5ff7fd1a07 | 269 | py | Python | src/podping_hivewriter/exceptions.py | brianoflondon/podping-hivewriter | 0fab946b00ae1c53db72a2f0b48de3f02a771a1d | [
"MIT"
] | 11 | 2021-05-28T15:58:31.000Z | 2022-03-21T07:08:58.000Z | src/podping_hivewriter/exceptions.py | brianoflondon/podping-hivewriter | 0fab946b00ae1c53db72a2f0b48de3f02a771a1d | [
"MIT"
] | 33 | 2021-06-12T09:23:47.000Z | 2022-02-27T06:34:05.000Z | src/podping_hivewriter/exceptions.py | brianoflondon/podping-hivewriter | 0fab946b00ae1c53db72a2f0b48de3f02a771a1d | [
"MIT"
] | 3 | 2021-07-30T19:40:04.000Z | 2022-01-19T04:14:14.000Z | class PodpingCustomJsonPayloadExceeded(RuntimeError):
"""Raise when the size of a json string exceeds the custom_json payload limit"""
class TooManyCustomJsonsPerBlock(RuntimeError):
"""Raise when trying to write more than 5 custom_jsons in a single block"""
| 38.428571 | 84 | 0.784387 | 34 | 269 | 6.147059 | 0.764706 | 0.162679 | 0.200957 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004367 | 0.148699 | 269 | 6 | 85 | 44.833333 | 0.908297 | 0.535316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
84266c693f6d7763f6c9fabd5cc539ad165d9cee | 85 | py | Python | Chapter02-modifiability/loop2.py | showa-yojyo/Software-Architecture-with-Python | 46ba48911065292c9d391f66d7213c01699fca80 | [
"MIT"
] | null | null | null | Chapter02-modifiability/loop2.py | showa-yojyo/Software-Architecture-with-Python | 46ba48911065292c9d391f66d7213c01699fca80 | [
"MIT"
] | null | null | null | Chapter02-modifiability/loop2.py | showa-yojyo/Software-Architecture-with-Python | 46ba48911065292c9d391f66d7213c01699fca80 | [
"MIT"
] | null | null | null | # Code listing #2
for idx, item in enumerate(seq):
print(f'{idx} => {seq[idx]}')
| 21.25 | 33 | 0.6 | 14 | 85 | 3.642857 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014493 | 0.188235 | 85 | 3 | 34 | 28.333333 | 0.724638 | 0.164706 | 0 | 0 | 0 | 0 | 0.279412 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
84334ba3ba1467b344b4726bf781daa11cc25e63 | 62 | py | Python | adjutant/actions/v1/__init__.py | CCI-MOC/adjutant | 032db3124ea0b0632afdfc27afc60b6c66cf5f66 | [
"Apache-2.0"
] | null | null | null | adjutant/actions/v1/__init__.py | CCI-MOC/adjutant | 032db3124ea0b0632afdfc27afc60b6c66cf5f66 | [
"Apache-2.0"
] | null | null | null | adjutant/actions/v1/__init__.py | CCI-MOC/adjutant | 032db3124ea0b0632afdfc27afc60b6c66cf5f66 | [
"Apache-2.0"
] | 1 | 2019-04-18T12:21:59.000Z | 2019-04-18T12:21:59.000Z | default_app_config = 'adjutant.actions.v1.app.ActionV1Config'
| 31 | 61 | 0.83871 | 8 | 62 | 6.25 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033898 | 0.048387 | 62 | 1 | 62 | 62 | 0.813559 | 0 | 0 | 0 | 0 | 0 | 0.612903 | 0.612903 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8434a087e0ac1859044410b73db19fe157003926 | 1,356 | py | Python | LeetCode/Array/238. Product of Array Except Self.py | ctc316/algorithm-python | ac4580d55e05e93e407c6156c9bb801808027d60 | [
"MIT"
] | null | null | null | LeetCode/Array/238. Product of Array Except Self.py | ctc316/algorithm-python | ac4580d55e05e93e407c6156c9bb801808027d60 | [
"MIT"
] | null | null | null | LeetCode/Array/238. Product of Array Except Self.py | ctc316/algorithm-python | ac4580d55e05e93e407c6156c9bb801808027d60 | [
"MIT"
] | null | null | null | # Version 1: build products of before and after i, Time: O(n), Space: O(n)
class Solution:
def productExceptSelf(self, nums):
"""
:type nums: List[int]
:rtype: List[int]
"""
# scan from left to right to find products before i
before_i = [i for i in range(len(nums))]
... | 27.673469 | 74 | 0.518437 | 197 | 1,356 | 3.538071 | 0.19797 | 0.045911 | 0.068867 | 0.126255 | 0.817791 | 0.783357 | 0.700143 | 0.672884 | 0.655667 | 0.621234 | 0 | 0.015116 | 0.365782 | 1,356 | 49 | 75 | 27.673469 | 0.795349 | 0.300147 | 0 | 0.64 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.08 | false | 0 | 0 | 0 | 0.24 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
844af689a61388880536344306e40b7bfd1de2ac | 302 | py | Python | SUSOD/views/__init__.py | whale-net/SUSOD | 404cd25e08db10759073475821353eaf4c0a7041 | [
"MIT"
] | 1 | 2020-08-06T04:07:42.000Z | 2020-08-06T04:07:42.000Z | SUSOD/views/__init__.py | whale-net/SUSOD | 404cd25e08db10759073475821353eaf4c0a7041 | [
"MIT"
] | 4 | 2020-05-24T20:30:43.000Z | 2021-05-10T04:21:58.000Z | SUSOD/views/__init__.py | whale-net/SUSOD | 404cd25e08db10759073475821353eaf4c0a7041 | [
"MIT"
] | null | null | null | """
Export view for each indvidual page.
Usually populates a templated HTML web page with session data.
Could also call model functions and populate data.
Really the world is your oyster here but this module
is intended to serve your view pages.
"""
from .index import show_index
from .user import * | 27.454545 | 62 | 0.781457 | 49 | 302 | 4.795918 | 0.836735 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175497 | 302 | 11 | 63 | 27.454545 | 0.943775 | 0.804636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
081dab06f9e770760650cbcd1c2896daea07b19c | 2,625 | py | Python | DailyProgrammer/DP20140910B.py | DayGitH/Python-Challenges | bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf | [
"MIT"
] | 2 | 2020-12-23T18:59:22.000Z | 2021-04-14T13:16:09.000Z | DailyProgrammer/DP20140910B.py | DayGitH/Python-Challenges | bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf | [
"MIT"
] | null | null | null | DailyProgrammer/DP20140910B.py | DayGitH/Python-Challenges | bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf | [
"MIT"
] | null | null | null | """
[9/10/2014] Challenge #179 [Intermediate] Roguelike - The traveller Game
https://www.reddit.com/r/dailyprogrammer/comments/2g1c80/9102014_challenge_179_intermediate_roguelike_the/
#Description:
So I was fooling around once with an idea to make a fun Rogue like game.
If you do not know what a Rogue Like is check ... | 45.258621 | 119 | 0.728762 | 445 | 2,625 | 4.269663 | 0.453933 | 0.012632 | 0.021053 | 0.031579 | 0.075789 | 0.017895 | 0 | 0 | 0 | 0 | 0 | 0.026254 | 0.187429 | 2,625 | 57 | 120 | 46.052632 | 0.86451 | 0.972571 | 0 | 0 | 0 | 0 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0.25 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
08207519eb6275cb45f88abc2e0783a8dd7de718 | 699 | py | Python | python/terra_proto/ibc/lightclients/localhost/v1/__init__.py | Vritra4/terra.proto | 977264b7c3e0f9d135120d77b48657b82f5eacf6 | [
"Apache-2.0"
] | 1 | 2022-02-22T06:18:40.000Z | 2022-02-22T06:18:40.000Z | python/osmosis_proto/ibc/lightclients/localhost/v1/__init__.py | fabio-nukui/osmosis.proto | 4780f22681881626b853109971602a6e29a3fb69 | [
"Apache-2.0"
] | null | null | null | python/osmosis_proto/ibc/lightclients/localhost/v1/__init__.py | fabio-nukui/osmosis.proto | 4780f22681881626b853109971602a6e29a3fb69 | [
"Apache-2.0"
] | null | null | null | # Generated by the protocol buffer compiler. DO NOT EDIT!
# sources: ibc/lightclients/localhost/v1/localhost.proto
# plugin: python-betterproto
from dataclasses import dataclass
import betterproto
from betterproto.grpc.grpclib_server import ServiceBase
@dataclass(eq=False, repr=False)
class ClientState(betterproto.... | 29.125 | 78 | 0.759657 | 90 | 699 | 5.7 | 0.644444 | 0.05848 | 0.046784 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010187 | 0.157368 | 699 | 23 | 79 | 30.391304 | 0.860781 | 0.422031 | 0 | 0 | 1 | 0 | 0.068421 | 0.068421 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
084fc1a405d9b0c6014ca9bc8c6abcdab7931b7d | 28 | py | Python | reservoirpy/_version.py | neuronalX/Funky_Reservoir | ce11aafb02ad36d37232a8a813e70923e0da1cc8 | [
"MIT"
] | null | null | null | reservoirpy/_version.py | neuronalX/Funky_Reservoir | ce11aafb02ad36d37232a8a813e70923e0da1cc8 | [
"MIT"
] | null | null | null | reservoirpy/_version.py | neuronalX/Funky_Reservoir | ce11aafb02ad36d37232a8a813e70923e0da1cc8 | [
"MIT"
] | null | null | null | __version__ = "0.3.2.post1"
| 14 | 27 | 0.678571 | 5 | 28 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 0.107143 | 28 | 1 | 28 | 28 | 0.44 | 0 | 0 | 0 | 0 | 0 | 0.392857 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f22d9080770e8887e98e9dcd9ebb6f4121dd2d91 | 547 | py | Python | FeiZhai/feizhaipro/apps/news/migrations/0007_auto_20181031_1327.py | FSen0/FeiZhai | 5fa635551066a1ba2866b345b39ecf13ef070103 | [
"Apache-2.0"
] | null | null | null | FeiZhai/feizhaipro/apps/news/migrations/0007_auto_20181031_1327.py | FSen0/FeiZhai | 5fa635551066a1ba2866b345b39ecf13ef070103 | [
"Apache-2.0"
] | null | null | null | FeiZhai/feizhaipro/apps/news/migrations/0007_auto_20181031_1327.py | FSen0/FeiZhai | 5fa635551066a1ba2866b345b39ecf13ef070103 | [
"Apache-2.0"
] | null | null | null | # Generated by Django 2.0.6 on 2018-10-31 05:27
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('news', '0006_auto_20181030_0943'),
]
operations = [
migrations.RemoveField(
model_name='comment',
name='create_time',
... | 21.038462 | 47 | 0.550274 | 52 | 547 | 5.615385 | 0.653846 | 0.215753 | 0.267123 | 0.308219 | 0.421233 | 0.421233 | 0 | 0 | 0 | 0 | 0 | 0.085635 | 0.338208 | 547 | 25 | 48 | 21.88 | 0.720994 | 0.082267 | 0 | 0.473684 | 1 | 0 | 0.158 | 0.046 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.052632 | 0 | 0.210526 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f265784679b4b5c9584c6c6111fcc1e748f31f45 | 308 | py | Python | Part2/HW_4_1.py | Torkvamedo/smx | a5aef4f430f56ac67100c505902f55e18fba5978 | [
"Unlicense"
] | null | null | null | Part2/HW_4_1.py | Torkvamedo/smx | a5aef4f430f56ac67100c505902f55e18fba5978 | [
"Unlicense"
] | null | null | null | Part2/HW_4_1.py | Torkvamedo/smx | a5aef4f430f56ac67100c505902f55e18fba5978 | [
"Unlicense"
] | null | null | null | class Car:
def __init__(self, make, petrol_consumption):
self.make = make
self.petrol_consumption = petrol_consumption
def petrol_calculation(self, price = 22.5):
return self.petrol_consumption * price
ford = Car("ford", 10)
money = ford.petrol_calculation()
print(money)
| 22 | 52 | 0.691558 | 38 | 308 | 5.342105 | 0.447368 | 0.334975 | 0.206897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020576 | 0.211039 | 308 | 13 | 53 | 23.692308 | 0.814815 | 0 | 0 | 0 | 0 | 0 | 0.012987 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0 | 0.111111 | 0.444444 | 0.111111 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
f2875947e8bd5ab76b67ab4ab5bbd62fe1287ec5 | 15 | py | Python | narnia/__init__.py | maisammusthafa/narnia | 28a6aedbf44ed4adf5a3f969b7ebaa1664df4811 | [
"MIT"
] | null | null | null | narnia/__init__.py | maisammusthafa/narnia | 28a6aedbf44ed4adf5a3f969b7ebaa1664df4811 | [
"MIT"
] | null | null | null | narnia/__init__.py | maisammusthafa/narnia | 28a6aedbf44ed4adf5a3f969b7ebaa1664df4811 | [
"MIT"
] | null | null | null | """ narnia """
| 7.5 | 14 | 0.4 | 1 | 15 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 15 | 1 | 15 | 15 | 0.5 | 0.4 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f2ad0cd68f17210ea869c1964a934b61c72b1238 | 56 | py | Python | bin/dns.py | captainshar/pi-setup | 901d996f42bfa03431f06498adfc099b3238aba2 | [
"MIT"
] | null | null | null | bin/dns.py | captainshar/pi-setup | 901d996f42bfa03431f06498adfc099b3238aba2 | [
"MIT"
] | null | null | null | bin/dns.py | captainshar/pi-setup | 901d996f42bfa03431f06498adfc099b3238aba2 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
import name
name.Daemon().run()
| 9.333333 | 21 | 0.678571 | 9 | 56 | 4.222222 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 56 | 5 | 22 | 11.2 | 0.77551 | 0.357143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
4b449f5b1feb559c044b29891ed779f011257a30 | 23 | py | Python | samtranslator/__init__.py | will-driven/serverless-application-model | 5e2e61bc459da259cb3f9256ee6fe33ec28d5591 | [
"Apache-2.0"
] | 1 | 2022-03-08T07:51:48.000Z | 2022-03-08T07:51:48.000Z | samtranslator/__init__.py | will-driven/serverless-application-model | 5e2e61bc459da259cb3f9256ee6fe33ec28d5591 | [
"Apache-2.0"
] | null | null | null | samtranslator/__init__.py | will-driven/serverless-application-model | 5e2e61bc459da259cb3f9256ee6fe33ec28d5591 | [
"Apache-2.0"
] | 2 | 2022-03-08T07:11:42.000Z | 2022-03-08T07:49:20.000Z | __version__ = "1.34.0"
| 11.5 | 22 | 0.652174 | 4 | 23 | 2.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0.130435 | 23 | 1 | 23 | 23 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4b49b224611040ac6c4b726d7b847e0e81c32d3b | 126 | py | Python | pyswagger/__init__.py | nzinfo/pyswagger | efde3ae756f0cd5a500f9ba90495e18a53d7df24 | [
"MIT"
] | null | null | null | pyswagger/__init__.py | nzinfo/pyswagger | efde3ae756f0cd5a500f9ba90495e18a53d7df24 | [
"MIT"
] | null | null | null | pyswagger/__init__.py | nzinfo/pyswagger | efde3ae756f0cd5a500f9ba90495e18a53d7df24 | [
"MIT"
] | 1 | 2020-03-04T00:22:24.000Z | 2020-03-04T00:22:24.000Z | from .getter import Getter
from .core import SwaggerApp, SwaggerSecurity
# backward compatible
SwaggerAuth = SwaggerSecurity
| 21 | 45 | 0.833333 | 13 | 126 | 8.076923 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126984 | 126 | 5 | 46 | 25.2 | 0.954545 | 0.150794 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
4b891e2897fb75492f037c8bfa7f921a3b0a9e6a | 146 | py | Python | fabfile/mooc.py | JulienPalard/cloudmesh | 1759b88daef3a13917492d028fdabe08f03ca996 | [
"Apache-2.0"
] | null | null | null | fabfile/mooc.py | JulienPalard/cloudmesh | 1759b88daef3a13917492d028fdabe08f03ca996 | [
"Apache-2.0"
] | 4 | 2021-06-08T20:20:08.000Z | 2022-03-11T23:30:22.000Z | fabfile/mooc.py | JulienPalard/cloudmesh | 1759b88daef3a13917492d028fdabe08f03ca996 | [
"Apache-2.0"
] | null | null | null | from fabric.api import task, local
@task
def start():
local("fab server.start:server=mooc,mooc")
def stop():
local("fab server.stop")
| 13.272727 | 46 | 0.671233 | 22 | 146 | 4.454545 | 0.545455 | 0.163265 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178082 | 146 | 10 | 47 | 14.6 | 0.816667 | 0 | 0 | 0 | 0 | 0 | 0.328767 | 0.19863 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.166667 | 0 | 0.5 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4b9942b5caaa249e3c832257facdb774b897c6ce | 12,719 | py | Python | MLib/Core/layers.py | rvegaml/SIMLR | 5d50cd1ccd5f34bf095c499e3be2e739950a0145 | [
"MIT"
] | 5 | 2022-01-11T02:35:13.000Z | 2022-01-21T10:00:55.000Z | MLib/Core/layers.py | rvegaml/SIMLR | 5d50cd1ccd5f34bf095c499e3be2e739950a0145 | [
"MIT"
] | null | null | null | MLib/Core/layers.py | rvegaml/SIMLR | 5d50cd1ccd5f34bf095c499e3be2e739950a0145 | [
"MIT"
] | null | null | null | import tensorflow as tf
import numpy as np
from tensorflow.keras import layers
from tensorflow.keras import Model
import tensorflow.keras.backend as K
from tensorflow.keras.initializers import glorot_normal
class Identity(layers.Layer):
'''
Identity layer. It returns a copy of the input.
'''
# According to the Te... | 30.79661 | 98 | 0.718689 | 1,905 | 12,719 | 4.604724 | 0.103412 | 0.014592 | 0.01596 | 0.02736 | 0.731076 | 0.716028 | 0.701208 | 0.701208 | 0.689466 | 0.657775 | 0 | 0.009707 | 0.157638 | 12,719 | 413 | 99 | 30.79661 | 0.809035 | 0.445397 | 0 | 0.688172 | 0 | 0 | 0.011195 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.150538 | false | 0 | 0.032258 | 0.016129 | 0.311828 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
29977842dd61939835f9f326dbb6fb9bf80767cd | 179 | py | Python | app/input/input.py | pedrolp85/pycli | 469d22442de2a854aebc3354cdbf9b8fe342ee16 | [
"Apache-2.0"
] | null | null | null | app/input/input.py | pedrolp85/pycli | 469d22442de2a854aebc3354cdbf9b8fe342ee16 | [
"Apache-2.0"
] | null | null | null | app/input/input.py | pedrolp85/pycli | 469d22442de2a854aebc3354cdbf9b8fe342ee16 | [
"Apache-2.0"
] | null | null | null | from typing import Iterator
from abc import ABCMeta, abstractmethod
class Input(metaclass=ABCMeta):
@abstractmethod
def get_lines(self) -> Iterator[str]:
pass
| 16.272727 | 41 | 0.72067 | 21 | 179 | 6.095238 | 0.761905 | 0.328125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206704 | 179 | 10 | 42 | 17.9 | 0.901408 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.166667 | 0.333333 | 0 | 0.666667 | 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 | 1 | 0 | 0 | 0 | 0 | 4 |
29abaf7eb25524394e52798e8d88fb2d0ffd63a7 | 241 | py | Python | sitecontent/urls.py | vjousse/viserlalune | 8035546a7886daff190902fa2f258c6aa549dd14 | [
"MIT"
] | 4 | 2015-02-02T15:43:46.000Z | 2016-05-31T15:51:21.000Z | sitecontent/urls.py | vjousse/viserlalune | 8035546a7886daff190902fa2f258c6aa549dd14 | [
"MIT"
] | null | null | null | sitecontent/urls.py | vjousse/viserlalune | 8035546a7886daff190902fa2f258c6aa549dd14 | [
"MIT"
] | null | null | null | from django.conf.urls import patterns, url
from sitecontent import views
urlpatterns = patterns('',
url("^feeds/(?P<format>.*)$",
"sitecontent.views.blog_post_feed_richtext_filters", name="blog_post_feed_richtext_filters"),
)
| 24.1 | 101 | 0.73444 | 30 | 241 | 5.633333 | 0.633333 | 0.130178 | 0.142012 | 0.236686 | 0.319527 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128631 | 241 | 9 | 102 | 26.777778 | 0.804762 | 0 | 0 | 0 | 0 | 0 | 0.423237 | 0.423237 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
29b56e410120586366a3354301e36b70aba04e52 | 70 | py | Python | think-python/code/chapter_07.py | baldoinov/think-python-2e-exercises | 5a5cd6e94f44e14dc567c35ebf3dd9160cf6b01b | [
"MIT"
] | null | null | null | think-python/code/chapter_07.py | baldoinov/think-python-2e-exercises | 5a5cd6e94f44e14dc567c35ebf3dd9160cf6b01b | [
"MIT"
] | null | null | null | think-python/code/chapter_07.py | baldoinov/think-python-2e-exercises | 5a5cd6e94f44e14dc567c35ebf3dd9160cf6b01b | [
"MIT"
] | null | null | null |
def print_n(s, n):
while n >= 0:
print(s)
n -= 1
| 11.666667 | 18 | 0.385714 | 12 | 70 | 2.166667 | 0.583333 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0.457143 | 70 | 5 | 19 | 14 | 0.631579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
29d003c441f38cf77c8e91ad285bd0f62bdc83dd | 179 | py | Python | Weather/mock_bme280.py | Rubber-Duck-999/HouseGuardServices | 0b8f0a91b331ca68f343c4e960d59b84f7182b62 | [
"MIT"
] | null | null | null | Weather/mock_bme280.py | Rubber-Duck-999/HouseGuardServices | 0b8f0a91b331ca68f343c4e960d59b84f7182b62 | [
"MIT"
] | 3 | 2021-08-05T07:56:05.000Z | 2022-03-22T12:35:44.000Z | Weather/mock_bme280.py | Rubber-Duck-999/HouseGuardServices | 0b8f0a91b331ca68f343c4e960d59b84f7182b62 | [
"MIT"
] | null | null | null | class BME280:
'''Class to mock temp sensor'''
def __init__(self):
'''Constructor for mock'''
def get_temperature(self):
'''Temp'''
return 20.0 | 22.375 | 35 | 0.558659 | 21 | 179 | 4.52381 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 0.296089 | 179 | 8 | 36 | 22.375 | 0.706349 | 0.284916 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
29d1544f0f1f6824b4d1a90eaf87129cdc8adf26 | 35 | py | Python | test/static_analysis/with_.py | haoqixu/jedi | ea93dbc08eac0a1b8c39e15c554c0b0c4ce65591 | [
"MIT"
] | 10 | 2020-07-21T21:59:54.000Z | 2021-07-19T11:01:47.000Z | test/static_analysis/with_.py | haoqixu/jedi | ea93dbc08eac0a1b8c39e15c554c0b0c4ce65591 | [
"MIT"
] | null | null | null | test/static_analysis/with_.py | haoqixu/jedi | ea93dbc08eac0a1b8c39e15c554c0b0c4ce65591 | [
"MIT"
] | 1 | 2021-01-30T18:17:01.000Z | 2021-01-30T18:17:01.000Z | with open() as fin:
fin.read()
| 11.666667 | 19 | 0.571429 | 6 | 35 | 3.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.257143 | 35 | 2 | 20 | 17.5 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d9acc773015cf932e5a592be22aca4766dd345d2 | 48,295 | py | Python | sdk/lusid/__init__.py | finbourne/lusid-sdk-python-generated-preview | 9c36c953e8149443a4390ed7f0c04d01211401b6 | [
"MIT"
] | null | null | null | sdk/lusid/__init__.py | finbourne/lusid-sdk-python-generated-preview | 9c36c953e8149443a4390ed7f0c04d01211401b6 | [
"MIT"
] | null | null | null | sdk/lusid/__init__.py | finbourne/lusid-sdk-python-generated-preview | 9c36c953e8149443a4390ed7f0c04d01211401b6 | [
"MIT"
] | null | null | null | # coding: utf-8
# flake8: noqa
"""
LUSID API
FINBOURNE Technology # noqa: E501
The version of the OpenAPI document: 0.11.4425
Contact: info@finbourne.com
Generated by: https://openapi-generator.tech
"""
from __future__ import absolute_import
__version__ = "0.11.4425"
# import apis into sdk ... | 69.489209 | 146 | 0.914567 | 5,714 | 48,295 | 7.439622 | 0.176059 | 0.141849 | 0.217008 | 0.029217 | 0.312044 | 0.19546 | 0.101341 | 0.027476 | 0.012468 | 0 | 0 | 0.000769 | 0.057149 | 48,295 | 694 | 147 | 69.589337 | 0.932799 | 0.005611 | 0 | 0 | 1 | 0 | 0.000188 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.998512 | 0 | 0.998512 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
d9b96bf018bc0b37ce947344981c9eed4ae4930d | 82 | py | Python | Grammar/02Var and types/name.py | Abraham-Thomas/shiyanlou-code | ae3b940b406ba4af942dd51627fd93e85effe5b9 | [
"MIT"
] | null | null | null | Grammar/02Var and types/name.py | Abraham-Thomas/shiyanlou-code | ae3b940b406ba4af942dd51627fd93e85effe5b9 | [
"MIT"
] | null | null | null | Grammar/02Var and types/name.py | Abraham-Thomas/shiyanlou-code | ae3b940b406ba4af942dd51627fd93e85effe5b9 | [
"MIT"
] | null | null | null | name = "ada lovelace"
print(name.title())
print(name.upper())
print(name.lower())
| 16.4 | 21 | 0.695122 | 12 | 82 | 4.75 | 0.583333 | 0.473684 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085366 | 82 | 4 | 22 | 20.5 | 0.76 | 0 | 0 | 0 | 0 | 0 | 0.146341 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.75 | 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 | 1 | 0 | 4 |
d9c72f3f6f4070204e4838d601ae63ffd46bd91a | 81 | py | Python | sheraf/version.py | yaal-coop/sheraf | 774e3781bc6ff2e16c6cc39f268d475b5e64fcea | [
"MIT"
] | null | null | null | sheraf/version.py | yaal-coop/sheraf | 774e3781bc6ff2e16c6cc39f268d475b5e64fcea | [
"MIT"
] | null | null | null | sheraf/version.py | yaal-coop/sheraf | 774e3781bc6ff2e16c6cc39f268d475b5e64fcea | [
"MIT"
] | null | null | null | __version_info__ = (0, 5, 29)
__version__ = "{}.{}.{}".format(*__version_info__)
| 27 | 50 | 0.654321 | 9 | 81 | 4.333333 | 0.666667 | 0.564103 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054795 | 0.098765 | 81 | 2 | 51 | 40.5 | 0.479452 | 0 | 0 | 0 | 0 | 0 | 0.098765 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d9d15e62456ff7d48261b3277cfe5d6120348f16 | 581 | py | Python | scripts/SIR_demo/demo_generate_grfn.py | mikiec84/delphi | 2e517f21e76e334c7dfb14325d25879ddf26d10d | [
"Apache-2.0"
] | 25 | 2018-03-03T11:57:57.000Z | 2022-01-16T21:19:54.000Z | scripts/SIR_demo/demo_generate_grfn.py | mikiec84/delphi | 2e517f21e76e334c7dfb14325d25879ddf26d10d | [
"Apache-2.0"
] | 385 | 2018-02-21T16:52:06.000Z | 2022-02-17T07:44:56.000Z | scripts/SIR_demo/demo_generate_grfn.py | mikiec84/delphi | 2e517f21e76e334c7dfb14325d25879ddf26d10d | [
"Apache-2.0"
] | 19 | 2018-03-20T01:08:11.000Z | 2021-09-29T01:04:49.000Z | from delphi.GrFN.networks import GroundedFunctionNetwork
# -----------------------------------------------------------------------------
#
# -----------------------------------------------------------------------------
print('Running demo_generate_grfn.py')
source_fortran_file = 'DiscreteSIR-noarrays.f'
print(f' ... | 32.277778 | 79 | 0.46988 | 44 | 581 | 5.909091 | 0.545455 | 0.211538 | 0.261538 | 0.184615 | 0.215385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061962 | 581 | 17 | 80 | 34.176471 | 0.477064 | 0.401033 | 0 | 0 | 0 | 0 | 0.317784 | 0.186589 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 0.285714 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d9e62aa9ac63839a40b5c572a1d42bf84a01795a | 77 | py | Python | externals.py | CodeBleu/mcserver | 32c3927ee8ef9e1d14d2d99bd2258f4b5b5e3b46 | [
"MIT"
] | 3 | 2020-08-29T13:33:30.000Z | 2020-10-03T15:40:30.000Z | externals.py | CodeBleu/mcserver | 32c3927ee8ef9e1d14d2d99bd2258f4b5b5e3b46 | [
"MIT"
] | 3 | 2020-10-10T17:06:19.000Z | 2020-11-14T15:21:26.000Z | externals.py | CodeBleu/mcserver | 32c3927ee8ef9e1d14d2d99bd2258f4b5b5e3b46 | [
"MIT"
] | 1 | 2020-10-10T13:09:27.000Z | 2020-10-10T13:09:27.000Z | # Intentionally empty
# This is used as a singleton to store various objects
| 25.666667 | 54 | 0.792208 | 12 | 77 | 5.083333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 77 | 2 | 55 | 38.5 | 0.968254 | 0.935065 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d9fe0c906fc58d6d96421fabd711385d3f9fa781 | 23 | py | Python | pytorch3dunet/__version__.py | ciubecca/3dunet-cavity | cfcc827773b18a95d221ab86c1afc5e2f7c30ecb | [
"MIT"
] | null | null | null | pytorch3dunet/__version__.py | ciubecca/3dunet-cavity | cfcc827773b18a95d221ab86c1afc5e2f7c30ecb | [
"MIT"
] | null | null | null | pytorch3dunet/__version__.py | ciubecca/3dunet-cavity | cfcc827773b18a95d221ab86c1afc5e2f7c30ecb | [
"MIT"
] | null | null | null | __version__ = '1.3.1'
| 11.5 | 22 | 0.608696 | 4 | 23 | 2.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 0.173913 | 23 | 1 | 23 | 23 | 0.368421 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8a134286d99e02a2390da2f7536940a9b0ea9077 | 108 | py | Python | config_template.py | oholsen/scales | ca721581cf989a77a7653341d87ef7d17056aee0 | [
"MIT"
] | null | null | null | config_template.py | oholsen/scales | ca721581cf989a77a7653341d87ef7d17056aee0 | [
"MIT"
] | null | null | null | config_template.py | oholsen/scales | ca721581cf989a77a7653341d87ef7d17056aee0 | [
"MIT"
] | null | null | null | wifi_ssid = ""
wifi_password = ""
mqtt_username = ""
mqtt_password = ""
mqtt_address = ""
mqtt_port = 8883
| 13.5 | 18 | 0.675926 | 13 | 108 | 5.153846 | 0.615385 | 0.358209 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044944 | 0.175926 | 108 | 7 | 19 | 15.428571 | 0.707865 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.333333 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
8a1badef2077a22a3a21bb75cb08ac622c211d09 | 91 | py | Python | BOJ/15000~15999/15036.py | shinkeonkim/today-ps | f3e5e38c5215f19579bb0422f303a9c18c626afa | [
"Apache-2.0"
] | null | null | null | BOJ/15000~15999/15036.py | shinkeonkim/today-ps | f3e5e38c5215f19579bb0422f303a9c18c626afa | [
"Apache-2.0"
] | null | null | null | BOJ/15000~15999/15036.py | shinkeonkim/today-ps | f3e5e38c5215f19579bb0422f303a9c18c626afa | [
"Apache-2.0"
] | null | null | null | input()
print(sum([16 // i if i != 0 else 32 for i in [*map(int, input().split())]]) / 16)
| 30.333333 | 82 | 0.549451 | 18 | 91 | 2.777778 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094595 | 0.186813 | 91 | 2 | 83 | 45.5 | 0.581081 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
8a2a86ae7d9771dcdccd215459c392299909a04c | 313 | py | Python | src/metrics/precision.py | Jud1cator/training-pipeline | d129c54985c67844b391701228f35dc014203aaa | [
"MIT"
] | null | null | null | src/metrics/precision.py | Jud1cator/training-pipeline | d129c54985c67844b391701228f35dc014203aaa | [
"MIT"
] | null | null | null | src/metrics/precision.py | Jud1cator/training-pipeline | d129c54985c67844b391701228f35dc014203aaa | [
"MIT"
] | null | null | null | import numpy as np
from src.metrics.abstract_metric import AbstractMetric
class Precision(AbstractMetric):
def __init__(self):
super().__init__()
def get_value(self, confusion_matrix: np.ndarray):
return np.mean(np.nan_to_num(np.diag(confusion_matrix) / confusion_matrix.sum(axis=0)))
| 26.083333 | 95 | 0.738019 | 43 | 313 | 5.023256 | 0.697674 | 0.208333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003788 | 0.15655 | 313 | 11 | 96 | 28.454545 | 0.814394 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.285714 | 0.142857 | 0.857143 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
8a4221429957ef1467a7a6e1af818ac1ceef26ee | 10,548 | py | Python | spark/pyspark/examples/render/nyc_taxi.py | DragonDriver/arctern | 1bf720ae13681efff5f986f5378c84d0546515a5 | [
"Apache-2.0"
] | 1 | 2020-04-26T08:16:41.000Z | 2020-04-26T08:16:41.000Z | spark/pyspark/examples/render/nyc_taxi.py | gracezzzzz/arctern | bd364f7e5e234e24216a1754f8f50ac4f838f2f2 | [
"Apache-2.0"
] | null | null | null | spark/pyspark/examples/render/nyc_taxi.py | gracezzzzz/arctern | bd364f7e5e234e24216a1754f8f50ac4f838f2f2 | [
"Apache-2.0"
] | null | null | null | # Copyright (C) 2019-2020 Zilliz. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | 65.925 | 407 | 0.751612 | 1,477 | 10,548 | 5.140826 | 0.150982 | 0.029501 | 0.036876 | 0.044251 | 0.761623 | 0.723298 | 0.710786 | 0.69867 | 0.678125 | 0.678125 | 0 | 0.110895 | 0.12372 | 10,548 | 159 | 408 | 66.339623 | 0.710592 | 0.086272 | 0 | 0.443396 | 0 | 0.113208 | 0.523339 | 0.121011 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04717 | false | 0.066038 | 0.09434 | 0 | 0.141509 | 0.04717 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
8a76b37073351919c890c7f98f504fb283ca3836 | 92 | py | Python | src/tt_web/tt_web/utils.py | al-arz/the-tale | 542770257eb6ebd56a5ac44ea1ef93ff4ab19eb5 | [
"BSD-3-Clause"
] | null | null | null | src/tt_web/tt_web/utils.py | al-arz/the-tale | 542770257eb6ebd56a5ac44ea1ef93ff4ab19eb5 | [
"BSD-3-Clause"
] | null | null | null | src/tt_web/tt_web/utils.py | al-arz/the-tale | 542770257eb6ebd56a5ac44ea1ef93ff4ab19eb5 | [
"BSD-3-Clause"
] | null | null | null |
import json
def load_config(path):
with open(path) as f:
return json.load(f)
| 11.5 | 27 | 0.630435 | 15 | 92 | 3.8 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.271739 | 92 | 7 | 28 | 13.142857 | 0.850746 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
8a9a2f20da7c317bb3bca32c20412b7f8f4bb0e8 | 85 | py | Python | djdelt/apps.py | scott2b/django-gdelt | 51f8c5d212bc1b066a774c57a9fc7bfd87d529c5 | [
"MIT"
] | null | null | null | djdelt/apps.py | scott2b/django-gdelt | 51f8c5d212bc1b066a774c57a9fc7bfd87d529c5 | [
"MIT"
] | 2 | 2020-06-05T18:20:10.000Z | 2021-06-10T20:21:47.000Z | djdelt/apps.py | scott2b/django-gdelt | 51f8c5d212bc1b066a774c57a9fc7bfd87d529c5 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class GdeltConfig(AppConfig):
name = 'gdelt'
| 14.166667 | 33 | 0.741176 | 10 | 85 | 6.3 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 85 | 5 | 34 | 17 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
8abfab879280d9974b3090b64685c37e2aab5b6d | 29 | py | Python | research/environments/__init__.py | MinRegret/TigerControl | b1ca0617cbb2198f9d5cb37f725f3d7accbab08f | [
"Apache-2.0"
] | 31 | 2019-11-08T06:01:54.000Z | 2021-11-20T04:50:43.000Z | research/environments/__init__.py | johnhallman/ctsb | b1ca0617cbb2198f9d5cb37f725f3d7accbab08f | [
"Apache-2.0"
] | 32 | 2019-06-27T15:05:04.000Z | 2019-08-07T04:23:47.000Z | research/environments/__init__.py | MinRegret/tigercontrol | b1ca0617cbb2198f9d5cb37f725f3d7accbab08f | [
"Apache-2.0"
] | 3 | 2020-09-30T17:06:50.000Z | 2021-04-12T22:39:34.000Z | # import all environments
| 5.8 | 25 | 0.724138 | 3 | 29 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.241379 | 29 | 4 | 26 | 7.25 | 0.954545 | 0.793103 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8ac429b3af0a305b60d48fb27d7217b910446a98 | 951 | py | Python | server/budgettrackerbackend/budgets/serializers.py | gmulz/budget-tracker-2 | 0abc144d50420875853e89080ec5cac27cc256a4 | [
"MIT"
] | null | null | null | server/budgettrackerbackend/budgets/serializers.py | gmulz/budget-tracker-2 | 0abc144d50420875853e89080ec5cac27cc256a4 | [
"MIT"
] | null | null | null | server/budgettrackerbackend/budgets/serializers.py | gmulz/budget-tracker-2 | 0abc144d50420875853e89080ec5cac27cc256a4 | [
"MIT"
] | null | null | null | from rest_framework import serializers
from .models import User, Income, Category, Transaction, RecurringExpense
class UserSerializer(serializers.HyperlinkedModelSerializer):
class Meta:
model = User
fields = ['name', 'id']
class IncomeSerializer(serializers.HyperlinkedModelSerializer):
class... | 33.964286 | 74 | 0.698212 | 79 | 951 | 8.379747 | 0.35443 | 0.279456 | 0.317221 | 0.347432 | 0.385196 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.191378 | 951 | 28 | 75 | 33.964286 | 0.860858 | 0 | 0 | 0.227273 | 0 | 0 | 0.12395 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.090909 | 0 | 0.545455 | 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 | 1 | 0 | 0 | 4 |
8ac9e18c3dddced14dc100863498a4a076a5bc13 | 5,575 | py | Python | tests/unit/dataactvalidator/test_b11_object_class_program_activity_2.py | brianherman/data-act-broker-backend | 80eb055b9d245046192f7ad4fd0be7d0e11d2dec | [
"CC0-1.0"
] | null | null | null | tests/unit/dataactvalidator/test_b11_object_class_program_activity_2.py | brianherman/data-act-broker-backend | 80eb055b9d245046192f7ad4fd0be7d0e11d2dec | [
"CC0-1.0"
] | 3 | 2021-08-22T11:47:45.000Z | 2022-03-29T22:06:49.000Z | tests/unit/dataactvalidator/test_b11_object_class_program_activity_2.py | brianherman/data-act-broker-backend | 80eb055b9d245046192f7ad4fd0be7d0e11d2dec | [
"CC0-1.0"
] | 1 | 2020-07-17T23:50:56.000Z | 2020-07-17T23:50:56.000Z | from tests.unit.dataactcore.factories.staging import ObjectClassProgramActivityFactory
from tests.unit.dataactcore.factories.domain import ObjectClassFactory
from tests.unit.dataactvalidator.utils import number_of_errors, query_columns
_FILE = 'b11_object_class_program_activity_2'
def test_column_headers(database):... | 64.825581 | 110 | 0.627265 | 587 | 5,575 | 5.502555 | 0.199319 | 0.055728 | 0.022291 | 0.052632 | 0.773994 | 0.726006 | 0.709907 | 0.709907 | 0.697523 | 0.697214 | 0 | 0.091193 | 0.31157 | 5,575 | 85 | 111 | 65.588235 | 0.750391 | 0.063498 | 0 | 0.627119 | 0 | 0 | 0.024832 | 0.006737 | 0 | 0 | 0 | 0 | 0.135593 | 1 | 0.084746 | false | 0 | 0.050847 | 0 | 0.135593 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8acb8b84523768a73d670415955f8348bb913183 | 471 | py | Python | 28_tipe_data_set.py | bejo-cyber/bejo-world | 15b22fef330bf304918d406ba6a3f9e3addb5f11 | [
"Apache-2.0"
] | null | null | null | 28_tipe_data_set.py | bejo-cyber/bejo-world | 15b22fef330bf304918d406ba6a3f9e3addb5f11 | [
"Apache-2.0"
] | null | null | null | 28_tipe_data_set.py | bejo-cyber/bejo-world | 15b22fef330bf304918d406ba6a3f9e3addb5f11 | [
"Apache-2.0"
] | null | null | null | # set, himpunan:
super_hero = {'superman','ironman','hulk','flash'}
print(super_hero)
print('1=====================')
super_hero.add('gundala')
super_hero.add('121')
print(super_hero)
print('2=====================')
super_hero.add('hulk')
print(super_hero)
print(sorted(super_hero))
print('3========... | 17.444444 | 51 | 0.556263 | 64 | 471 | 3.96875 | 0.4375 | 0.283465 | 0.220472 | 0.224409 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051345 | 0.131635 | 471 | 26 | 52 | 18.115385 | 0.569682 | 0.029724 | 0 | 0.1875 | 0 | 0 | 0.244131 | 0.15493 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5625 | 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 | 1 | 0 | 4 |
8ad3d817afb2b715960d5eabcf3a5091d842d401 | 159 | py | Python | tests/skl_datasets/BinaryClass_500/skl_dataset_BinaryClass_500_AdaBoostClassifier_1_code_gen.py | antoinecarme/sklearn_model_explanation | feeeb75576931f4a05a786d936babc0a664eef46 | [
"BSD-3-Clause"
] | 13 | 2017-12-22T09:12:51.000Z | 2021-07-26T06:31:54.000Z | tests/skl_datasets/BinaryClass_500/skl_dataset_BinaryClass_500_AdaBoostClassifier_1_code_gen.py | antoinecarme/sklearn_model_explanation | feeeb75576931f4a05a786d936babc0a664eef46 | [
"BSD-3-Clause"
] | 11 | 2017-09-19T20:00:35.000Z | 2018-02-05T07:59:06.000Z | tests/skl_datasets/BinaryClass_500/skl_dataset_BinaryClass_500_AdaBoostClassifier_1_code_gen.py | antoinecarme/sklearn_model_explanation | feeeb75576931f4a05a786d936babc0a664eef46 | [
"BSD-3-Clause"
] | 4 | 2017-12-11T12:33:32.000Z | 2020-02-09T15:08:56.000Z | from sklearn_explain.tests.skl_datasets import skl_datasets_test as skltest
skltest.test_class_dataset_and_model("BinaryClass_500" , "AdaBoostClassifier_1")
| 31.8 | 80 | 0.867925 | 22 | 159 | 5.818182 | 0.818182 | 0.171875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027027 | 0.069182 | 159 | 4 | 81 | 39.75 | 0.837838 | 0 | 0 | 0 | 0 | 0 | 0.220126 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
76d9b3cff22f1c5f68ffeb121820fee38db35755 | 198 | py | Python | ml-serving/ml_serving/inference.py | gasparian/ml-serving-template | 02d2e4c73617647e42c455e7ff79105422d08681 | [
"MIT"
] | 6 | 2021-03-07T22:11:00.000Z | 2022-03-08T15:04:49.000Z | ml-serving/ml_serving/inference.py | gasparian/ml-serving-template | 02d2e4c73617647e42c455e7ff79105422d08681 | [
"MIT"
] | null | null | null | ml-serving/ml_serving/inference.py | gasparian/ml-serving-template | 02d2e4c73617647e42c455e7ff79105422d08681 | [
"MIT"
] | null | null | null | import abc
from typing import Any
class PredictorBase(abc.ABC):
def __init__(self, *args, **kwargs):
pass
@abc.abstractmethod
def predict(self, data: Any) -> Any:
pass
| 18 | 40 | 0.636364 | 25 | 198 | 4.88 | 0.64 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.257576 | 198 | 10 | 41 | 19.8 | 0.829932 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0.25 | 0 | 0.625 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
76e1f3c38bd7417723a6716db22bb9a7a3b6ff34 | 50 | py | Python | keras/datasets/__init__.py | tsheaff/keras | ee227dda766d769b7499a5549e8ed77b5e88105b | [
"Apache-2.0"
] | 37,222 | 2017-12-13T00:52:55.000Z | 2022-03-31T22:34:35.000Z | keras/datasets/__init__.py | amirsadafi/keras | f1e9c76675981ee6683f54a3ce569212d551d12d | [
"Apache-2.0"
] | 7,624 | 2017-12-13T01:03:40.000Z | 2022-03-31T23:57:24.000Z | keras/datasets/__init__.py | amirsadafi/keras | f1e9c76675981ee6683f54a3ce569212d551d12d | [
"Apache-2.0"
] | 14,914 | 2017-12-13T02:30:46.000Z | 2022-03-30T14:49:16.000Z | """Small NumPy datasets for debugging/testing."""
| 25 | 49 | 0.74 | 6 | 50 | 6.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 50 | 1 | 50 | 50 | 0.822222 | 0.86 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0a02c7d0bccb925adc3626e13df63a21b04eadb7 | 51 | py | Python | powerpool/__init__.py | sigwo/powerpool | 197d525d99b3dbdeff67436a5975d2741d7c0ef9 | [
"BSD-2-Clause"
] | 16 | 2017-08-17T23:48:18.000Z | 2021-10-05T16:15:03.000Z | powerpool/__init__.py | sigwo/powerpool | 197d525d99b3dbdeff67436a5975d2741d7c0ef9 | [
"BSD-2-Clause"
] | null | null | null | powerpool/__init__.py | sigwo/powerpool | 197d525d99b3dbdeff67436a5975d2741d7c0ef9 | [
"BSD-2-Clause"
] | 5 | 2017-07-17T16:31:14.000Z | 2021-10-05T16:15:34.000Z | __version__ = "0.6.2"
__version_info__ = (0, 6, 2)
| 17 | 28 | 0.647059 | 9 | 51 | 2.666667 | 0.555556 | 0.166667 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139535 | 0.156863 | 51 | 2 | 29 | 25.5 | 0.418605 | 0 | 0 | 0 | 0 | 0 | 0.098039 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0a07f62d23c1176ebf26a5d9c10e8a16b7b8bad9 | 5,610 | py | Python | tests/test_nft.py | HathorNetwork/python-hathorlib | 2b534de8e4c6e15a30db2d681636338cf4c1718b | [
"Apache-2.0"
] | null | null | null | tests/test_nft.py | HathorNetwork/python-hathorlib | 2b534de8e4c6e15a30db2d681636338cf4c1718b | [
"Apache-2.0"
] | 1 | 2021-08-23T13:28:28.000Z | 2021-09-14T18:58:03.000Z | tests/test_nft.py | HathorNetwork/python-hathorlib | 2b534de8e4c6e15a30db2d681636338cf4c1718b | [
"Apache-2.0"
] | 2 | 2021-08-24T14:15:29.000Z | 2022-02-08T21:36:11.000Z | """
Copyright (c) Hathor Labs and its affiliates.
This source code is licensed under the MIT license found in the
LICENSE file in the root directory of this source tree.
"""
import unittest
from hathorlib.base_transaction import TxOutput, tx_or_block_from_bytes
from hathorlib.scripts import DataScript
class Hathor... | 61.648352 | 119 | 0.713369 | 327 | 5,610 | 12.045872 | 0.324159 | 0.006093 | 0.013709 | 0.019802 | 0.391978 | 0.376492 | 0.338157 | 0.325971 | 0.325971 | 0.325971 | 0 | 0.423086 | 0.238681 | 5,610 | 90 | 120 | 62.333333 | 0.499181 | 0.076471 | 0 | 0.25 | 0 | 0 | 0.491483 | 0.485869 | 0 | 0 | 0 | 0 | 0.21875 | 1 | 0.03125 | false | 0 | 0.046875 | 0 | 0.09375 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0a1a98776353339978cb2ea4181cf30c450cea6e | 108 | py | Python | pyang/transforms/__init__.py | JieZhang0822/pyang | 961abbbbe4108de5ba2964569274ba9ea4aacd6a | [
"ISC"
] | 466 | 2015-03-25T13:13:39.000Z | 2022-03-29T08:30:07.000Z | pyang/transforms/__init__.py | JieZhang0822/pyang | 961abbbbe4108de5ba2964569274ba9ea4aacd6a | [
"ISC"
] | 657 | 2015-03-24T13:22:31.000Z | 2022-03-31T10:39:52.000Z | pyang/transforms/__init__.py | JieZhang0822/pyang | 961abbbbe4108de5ba2964569274ba9ea4aacd6a | [
"ISC"
] | 347 | 2015-03-19T12:05:17.000Z | 2022-03-31T12:29:58.000Z | """Package pyang.transforms: transform plugins for YANG.
Modules:
* edit: YANG edit transform plugin
"""
| 13.5 | 56 | 0.731481 | 13 | 108 | 6.076923 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157407 | 108 | 7 | 57 | 15.428571 | 0.868132 | 0.916667 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0a1f7cb8f9bb2926ba8b6fc922a9b4a6e6e2cce6 | 202 | py | Python | Curso-em-video/Aula_12.py | JhonAI13/Curso_python | 27dedb0effa2c26140f46392e993b8e7a27d6eb3 | [
"MIT"
] | null | null | null | Curso-em-video/Aula_12.py | JhonAI13/Curso_python | 27dedb0effa2c26140f46392e993b8e7a27d6eb3 | [
"MIT"
] | null | null | null | Curso-em-video/Aula_12.py | JhonAI13/Curso_python | 27dedb0effa2c26140f46392e993b8e7a27d6eb3 | [
"MIT"
] | null | null | null | #faça um algoritimo que leia um preço de um produto e mostre seu novo preço, com desconto de 5%
n = int(input('Qual o valor do produto?:'))
print('O valor do produto descontado 5% é:',n * 0.05,'Reais')
| 50.5 | 95 | 0.707921 | 39 | 202 | 3.666667 | 0.717949 | 0.083916 | 0.111888 | 0.20979 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02994 | 0.173267 | 202 | 3 | 96 | 67.333333 | 0.826347 | 0.465347 | 0 | 0 | 0 | 0 | 0.607477 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
0a23696bb3facf06fc5ad75415e403029791c27b | 63 | py | Python | PythonBasics/Python_In-BuiltModules/ExecuteModule.py | abhinavsatheesh/Python | 9ae1a7a040522f5989c34f17d2d0764b301fa23a | [
"Apache-2.0"
] | null | null | null | PythonBasics/Python_In-BuiltModules/ExecuteModule.py | abhinavsatheesh/Python | 9ae1a7a040522f5989c34f17d2d0764b301fa23a | [
"Apache-2.0"
] | null | null | null | PythonBasics/Python_In-BuiltModules/ExecuteModule.py | abhinavsatheesh/Python | 9ae1a7a040522f5989c34f17d2d0764b301fa23a | [
"Apache-2.0"
] | null | null | null | my_desert='''print ('Dosa')
print ('Idli')'''
exec(my_desert) | 21 | 28 | 0.634921 | 9 | 63 | 4.222222 | 0.666667 | 0.421053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 63 | 3 | 29 | 21 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0.467742 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.666667 | 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 | 1 | 0 | 4 |
0a249eb68208edc458bd77de552a26b53c49a4a3 | 366 | py | Python | entities/token_representation.py | ktodorov/historical-ocr | d4d7bf0addf5ff98b7182c00ff716e79c97e050e | [
"MIT"
] | 1 | 2021-07-29T09:27:06.000Z | 2021-07-29T09:27:06.000Z | entities/token_representation.py | ktodorov/historical-ocr | d4d7bf0addf5ff98b7182c00ff716e79c97e050e | [
"MIT"
] | 5 | 2021-08-12T13:38:54.000Z | 2021-08-30T08:55:34.000Z | src/entities/token_representation.py | budh333/UnSilence_VOC | 3ba8f302f82df2d512d453c6b76dffb50d4f64db | [
"MIT"
] | null | null | null |
from typing import List
class TokenRepresentation:
def __init__(self, token: str, vocabulary_ids: List[List[int]]):
self._token = token
self._vocabulary_ids = vocabulary_ids
@property
def token(self) -> str:
return self._token
@property
def vocabulary_ids(self) -> List[L... | 22.875 | 68 | 0.666667 | 44 | 366 | 5.25 | 0.363636 | 0.281385 | 0.095238 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.240437 | 366 | 16 | 69 | 22.875 | 0.830935 | 0 | 0 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0.090909 | 0.181818 | 0.636364 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
0a2586d7e1874e8ca79ba94674abca86141dfa90 | 5,066 | py | Python | backend/config/settings/base.py | code-for-canada/django-nginx-reactjs-docker | 12b2f79872273bb0ac4736d709b8e0904bc54258 | [
"MIT"
] | 3 | 2019-01-04T10:53:03.000Z | 2020-01-29T16:20:38.000Z | backend/config/settings/base.py | code-for-canada/django-nginx-reactjs-docker | 12b2f79872273bb0ac4736d709b8e0904bc54258 | [
"MIT"
] | 215 | 2019-01-04T11:34:03.000Z | 2019-07-22T13:36:18.000Z | backend/config/settings/base.py | code-for-canada/django-nginx-reactjs-docker | 12b2f79872273bb0ac4736d709b8e0904bc54258 | [
"MIT"
] | 8 | 2019-01-08T22:45:11.000Z | 2020-01-29T16:20:40.000Z | """
Django settings for backend project.
Generated by 'django-admin startproject' using Django 2.1.4.
Since the start of the project, we have upgraded the version to 2.1.7
For more information on this file, see
https://docs.djangoproject.com/en/2.1/topics/settings/
For the full list of settings and their va... | 32.267516 | 91 | 0.681603 | 511 | 5,066 | 6.581213 | 0.41683 | 0.073446 | 0.071365 | 0.052037 | 0.145406 | 0.090098 | 0.043711 | 0.043711 | 0.023788 | 0 | 0 | 0.006129 | 0.194828 | 5,066 | 156 | 92 | 32.474359 | 0.818338 | 0.203908 | 0 | 0.018519 | 1 | 0 | 0.611948 | 0.473247 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.083333 | 0.018519 | 0 | 0.018519 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
0a25c8f7c2b484c2bb6120a95271afd30b8cc5ec | 166 | py | Python | problem0749.py | kmarcini/Project-Euler-Python | d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3 | [
"BSD-3-Clause"
] | null | null | null | problem0749.py | kmarcini/Project-Euler-Python | d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3 | [
"BSD-3-Clause"
] | null | null | null | problem0749.py | kmarcini/Project-Euler-Python | d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3 | [
"BSD-3-Clause"
] | null | null | null | ###########################
#
# #749 Near Power Sums - Project Euler
# https://projecteuler.net/problem=749
#
# Code by Kevin Marciniak
#
###########################
| 18.444444 | 38 | 0.46988 | 15 | 166 | 5.2 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041096 | 0.120482 | 166 | 8 | 39 | 20.75 | 0.493151 | 0.578313 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
6a8a6a25c7843181e81bf1a1c56e7c7ee6d82651 | 13,012 | py | Python | riemann_keys/tests/bip39_test_vectors.py | summa-tx/riemann-keys | ea4213bb542dbd12d4196a0254b0ce2ebae7cb5a | [
"Apache-2.0",
"MIT"
] | 8 | 2019-03-01T17:51:23.000Z | 2020-08-03T15:55:31.000Z | riemann_keys/tests/bip39_test_vectors.py | summa-tx/riemann-keys | ea4213bb542dbd12d4196a0254b0ce2ebae7cb5a | [
"Apache-2.0",
"MIT"
] | 8 | 2019-02-26T20:20:29.000Z | 2021-02-02T22:06:16.000Z | riemann_keys/tests/bip39_test_vectors.py | summa-tx/riemann-keys | ea4213bb542dbd12d4196a0254b0ce2ebae7cb5a | [
"Apache-2.0",
"MIT"
] | null | null | null | # flake8: noqa
# https://github.com/trezor/python-mnemonic/blob/master/vectors.json
trezor_vectors = {
"english": [
{
"id": 0,
"entropy": "00000000000000000000000000000000",
"mnemonic": "abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon about",
"salt"... | 61.668246 | 298 | 0.767292 | 659 | 13,012 | 15.060698 | 0.540212 | 0.012091 | 0.019043 | 0.022569 | 0.066096 | 0.061259 | 0.048564 | 0.048564 | 0.048564 | 0.048564 | 0 | 0.359332 | 0.152628 | 13,012 | 210 | 299 | 61.961905 | 0.540813 | 0.010144 | 0 | 0.2 | 0 | 0.02439 | 0.776699 | 0.500816 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.117073 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 | 4 |
6aad0dbd250a4dfd71629974cbab58aac61aae61 | 24 | py | Python | cosmos/ingestion/ingest/process/detection/src/torch_model/model/backbone/__init__.py | ilmcconnell/Cosmos | 84245034727c30e20ffddee9e02c7e96f3aa115e | [
"Apache-2.0"
] | 30 | 2019-03-14T08:24:34.000Z | 2022-03-09T06:05:44.000Z | cosmos/ingestion/ingest/process/detection/src/torch_model/model/backbone/__init__.py | ilmcconnell/Cosmos | 84245034727c30e20ffddee9e02c7e96f3aa115e | [
"Apache-2.0"
] | 78 | 2019-02-07T22:14:48.000Z | 2022-03-09T05:59:18.000Z | cosmos/ingestion/ingest/process/detection/src/torch_model/model/backbone/__init__.py | ilmcconnell/Cosmos | 84245034727c30e20ffddee9e02c7e96f3aa115e | [
"Apache-2.0"
] | 11 | 2019-03-02T01:20:06.000Z | 2022-03-25T07:25:46.000Z | """
Backbone module
"""
| 6 | 15 | 0.583333 | 2 | 24 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 3 | 16 | 8 | 0.7 | 0.625 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
6ab5defa305d699ee01d62ba43252d9033331b79 | 207 | py | Python | 99-Python_Miscellaneous/test_syslog.py | spendyala/deeplearning-docker | 1dcd03e2e65cb1897daf9dfffeab018f97fc0780 | [
"MIT"
] | null | null | null | 99-Python_Miscellaneous/test_syslog.py | spendyala/deeplearning-docker | 1dcd03e2e65cb1897daf9dfffeab018f97fc0780 | [
"MIT"
] | 1 | 2021-02-02T22:47:32.000Z | 2021-02-02T22:47:32.000Z | 99-Python_Miscellaneous/test_syslog.py | spendyala/deeplearning-docker | 1dcd03e2e65cb1897daf9dfffeab018f97fc0780 | [
"MIT"
] | null | null | null | import logging
import logging.config
import logging.handlers
logger = logging.getLogger()
handler = logging.handlers.SysLogHandler(address='/var/run/syslog')
logger.addHandler(handler)
logger.info('Test')
| 25.875 | 67 | 0.801932 | 25 | 207 | 6.64 | 0.6 | 0.23494 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077295 | 207 | 7 | 68 | 29.571429 | 0.86911 | 0 | 0 | 0 | 0 | 0 | 0.091787 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.428571 | 0 | 0.428571 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
6ac0708ae6a8cb6211bf6cd34c7f2dfead7bbca1 | 32 | py | Python | storage/__init__.py | LordMudaID/musikvideostream | 1e1ed8afd7a2308a09db19b323943397169c02e5 | [
"MIT"
] | null | null | null | storage/__init__.py | LordMudaID/musikvideostream | 1e1ed8afd7a2308a09db19b323943397169c02e5 | [
"MIT"
] | null | null | null | storage/__init__.py | LordMudaID/musikvideostream | 1e1ed8afd7a2308a09db19b323943397169c02e5 | [
"MIT"
] | null | null | null | """ temporary image storage """
| 16 | 31 | 0.65625 | 3 | 32 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 32 | 1 | 32 | 32 | 0.777778 | 0.71875 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
6ac54521d0ece8fe597a4ffc5a7b71bb78ca6bed | 201 | py | Python | src/timer/model/thread_item.py | jakob-bagterp/timer_for_python | 351d0fa1336cfb001f7813225d46383f82f34a1e | [
"MIT"
] | 1 | 2021-12-06T18:04:26.000Z | 2021-12-06T18:04:26.000Z | src/timer/model/thread_item.py | jakob-bagterp/timer_for_python | 351d0fa1336cfb001f7813225d46383f82f34a1e | [
"MIT"
] | null | null | null | src/timer/model/thread_item.py | jakob-bagterp/timer_for_python | 351d0fa1336cfb001f7813225d46383f82f34a1e | [
"MIT"
] | null | null | null | from dataclasses import dataclass
@dataclass(frozen = True)
class ThreadItem:
"""Class to define a thread's name, start time, and decimals."""
name: str
start_time: int
decimals: int
| 20.1 | 68 | 0.696517 | 27 | 201 | 5.148148 | 0.740741 | 0.129496 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.21393 | 201 | 9 | 69 | 22.333333 | 0.879747 | 0.288557 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.166667 | 0 | 0.833333 | 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 | 1 | 0 | 0 | 4 |
6ac83f391398da0fef5098632172ec5acfc6d4ff | 1,312 | py | Python | playground/config.py | rajat4665/thenewboston-python | df842c793fe7bfd8731fd8746abf25747c9e569e | [
"MIT"
] | null | null | null | playground/config.py | rajat4665/thenewboston-python | df842c793fe7bfd8731fd8746abf25747c9e569e | [
"MIT"
] | 3 | 2021-03-30T14:03:41.000Z | 2021-09-22T19:30:31.000Z | playground/config.py | rajat4665/thenewboston-python | df842c793fe7bfd8731fd8746abf25747c9e569e | [
"MIT"
] | null | null | null | import os
BASE_DIR = os.path.dirname(os.path.abspath(__file__))
BLOCKS_DIR = os.path.join(BASE_DIR, 'blocks')
SIGNED_REQUESTS_DIR = os.path.join(BASE_DIR, 'signed_requests')
SIGNING_KEY_DIR = os.path.join(BASE_DIR, 'signing_keys')
# Account numbers
BANK_ACCOUNT_NUMBER = '5e12967707909e62b2bb2036c209085a784fabbc3decc... | 48.592593 | 95 | 0.89253 | 100 | 1,312 | 11.27 | 0.44 | 0.126886 | 0.031943 | 0.034605 | 0.053239 | 0.053239 | 0 | 0 | 0 | 0 | 0 | 0.341385 | 0.053354 | 1,312 | 26 | 96 | 50.461538 | 0.566023 | 0.030488 | 0 | 0 | 0 | 0 | 0.58123 | 0.555205 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.055556 | 0 | 0.055556 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
6ad20f98ba5976b236bc81752a68e499dbfee01f | 11,921 | py | Python | src/validate_trace.py | jacoblee628/systemsproject | 16444b15c4d589a765c27584995673f9d897ab75 | [
"MIT"
] | null | null | null | src/validate_trace.py | jacoblee628/systemsproject | 16444b15c4d589a765c27584995673f9d897ab75 | [
"MIT"
] | null | null | null | src/validate_trace.py | jacoblee628/systemsproject | 16444b15c4d589a765c27584995673f9d897ab75 | [
"MIT"
] | null | null | null | import re
import numpy as np
import pandas as pd
import read_write as rw
def validate_trace(trace, obs_srs_file_path, active_prd_path, prd_prefix="US", srs_prefix="TC"):
# Load lists of obsolete srs and active prd
obs_srs = pd.read_csv(obs_srs_file_path)
obs_srs_list = obs_srs["Formatted ID"].unique()... | 36.79321 | 107 | 0.644661 | 1,724 | 11,921 | 4.268561 | 0.078306 | 0.050414 | 0.029352 | 0.030439 | 0.859492 | 0.837342 | 0.813562 | 0.767903 | 0.632151 | 0.583096 | 0 | 0.002117 | 0.247043 | 11,921 | 323 | 108 | 36.907121 | 0.817736 | 0.297123 | 0 | 0.460526 | 0 | 0 | 0.104177 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.065789 | false | 0 | 0.026316 | 0 | 0.157895 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
6ad25091226fb6483b1ef6d3b2d0e4eefc973377 | 116 | py | Python | Python/checkoddnum.py | chathu1996/hacktoberfest2020 | eaf64ac051709984cde916259e90cb24213b5c2f | [
"MIT"
] | 71 | 2020-10-06T05:53:59.000Z | 2021-11-27T03:14:42.000Z | Python/checkoddnum.py | chathu1996/hacktoberfest2020 | eaf64ac051709984cde916259e90cb24213b5c2f | [
"MIT"
] | 92 | 2020-10-05T19:18:14.000Z | 2021-10-09T04:35:16.000Z | Python/checkoddnum.py | chathu1996/hacktoberfest2020 | eaf64ac051709984cde916259e90cb24213b5c2f | [
"MIT"
] | 572 | 2020-10-05T20:11:28.000Z | 2021-10-10T16:28:29.000Z | a=int(input("Enter a number"))
if a%2==0:
print(a,"is an Even Number")
else:
print(a,"is an Odd Number")
| 19.333333 | 34 | 0.594828 | 23 | 116 | 3 | 0.608696 | 0.173913 | 0.231884 | 0.289855 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021978 | 0.215517 | 116 | 5 | 35 | 23.2 | 0.736264 | 0 | 0 | 0 | 0 | 0 | 0.405172 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.4 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0a76b37bf58105f51e9cf66916739fabfae724dd | 218 | py | Python | BMS_Sender.py | akashbhasker/stream-bms-data-DivyaK-bit | ce75cf92b2fa52940b511751a14545ac350c137a | [
"MIT"
] | null | null | null | BMS_Sender.py | akashbhasker/stream-bms-data-DivyaK-bit | ce75cf92b2fa52940b511751a14545ac350c137a | [
"MIT"
] | null | null | null | BMS_Sender.py | akashbhasker/stream-bms-data-DivyaK-bit | ce75cf92b2fa52940b511751a14545ac350c137a | [
"MIT"
] | null | null | null | import Battery_Parameter_Handler
alert_Duration = 10
def startSender():
Battery_Parameter_Handler.startSender(["Charge_rate" ,"Temperature"],"Console",alert_Duration)
if __name__ == '__main__':
startSender() | 24.222222 | 98 | 0.775229 | 23 | 218 | 6.695652 | 0.695652 | 0.207792 | 0.298701 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010309 | 0.110092 | 218 | 9 | 99 | 24.222222 | 0.783505 | 0 | 0 | 0 | 0 | 0 | 0.16895 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.166667 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0a7e9f18d18663ff179843c552bb723e384020f5 | 1,740 | py | Python | 17B-162/HI/imaging/HI_convolve_to_14B.py | e-koch/VLA_Lband | 8fca7b2de0b88ce5c5011b34bf3936c69338d0b0 | [
"MIT"
] | 1 | 2021-03-08T23:19:12.000Z | 2021-03-08T23:19:12.000Z | 17B-162/HI/imaging/HI_convolve_to_14B.py | e-koch/VLA_Lband | 8fca7b2de0b88ce5c5011b34bf3936c69338d0b0 | [
"MIT"
] | null | null | null | 17B-162/HI/imaging/HI_convolve_to_14B.py | e-koch/VLA_Lband | 8fca7b2de0b88ce5c5011b34bf3936c69338d0b0 | [
"MIT"
] | null | null | null |
'''
For comparison, smooth and regrid to the 14B data.
'''
import os
from cube_analysis.reprojection import reproject_cube
from paths import (data_path, fourteenB_wGBT_HI_file_dict,
seventeenB_02kms_wGBT_HI_file_dict,
seventeenB_HI_data_02kms_wGBT_path,
seven... | 31.071429 | 88 | 0.598276 | 206 | 1,740 | 4.592233 | 0.262136 | 0.057082 | 0.095137 | 0.133192 | 0.875264 | 0.831924 | 0.731501 | 0.649049 | 0.649049 | 0.649049 | 0 | 0.025941 | 0.313218 | 1,740 | 55 | 89 | 31.636364 | 0.76569 | 0.028736 | 0 | 0.666667 | 0 | 0 | 0.058299 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.076923 | 0 | 0.076923 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0a8814a9e89b29b2c68bddc494424c9c967f6041 | 23 | py | Python | wechart_base_api_class/__init__.py | FrankWangJQ/wechart-apitest | 7c66132108917d6bc1e20ae65c186dc623a95fec | [
"Apache-2.0"
] | null | null | null | wechart_base_api_class/__init__.py | FrankWangJQ/wechart-apitest | 7c66132108917d6bc1e20ae65c186dc623a95fec | [
"Apache-2.0"
] | null | null | null | wechart_base_api_class/__init__.py | FrankWangJQ/wechart-apitest | 7c66132108917d6bc1e20ae65c186dc623a95fec | [
"Apache-2.0"
] | null | null | null | __version__ = 'V_0.1.0' | 23 | 23 | 0.695652 | 5 | 23 | 2.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0.086957 | 23 | 1 | 23 | 23 | 0.380952 | 0 | 0 | 0 | 0 | 0 | 0.291667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0a99514a389dbee9d39fe3073afd81f6eaf7d5bf | 141 | py | Python | EnvMS/tests.py | smileboywtu/django-demo | 1ddc83abcd363814180056b9cc2ec1a4f804cc9d | [
"MIT"
] | 1 | 2016-07-30T03:22:13.000Z | 2016-07-30T03:22:13.000Z | EnvMS/tests.py | smileboywtu/django-demo | 1ddc83abcd363814180056b9cc2ec1a4f804cc9d | [
"MIT"
] | null | null | null | EnvMS/tests.py | smileboywtu/django-demo | 1ddc83abcd363814180056b9cc2ec1a4f804cc9d | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# 测试环境管理API
# Created: 2016-7-27
# Copyright: (c) 2016<smileboywtu@gmail.com>
from django.test import TestCase
| 11.75 | 44 | 0.666667 | 19 | 141 | 4.947368 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 0.170213 | 141 | 11 | 45 | 12.818182 | 0.700855 | 0.659574 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
0ab267fc3e92547d18a89664ca4dcf40a03876a4 | 83 | py | Python | napari_filters/_tests/test_function.py | tdmorello/napari-filters | f689024a312bf3af37377acdf9259d5b8520cb3e | [
"BSD-3-Clause"
] | null | null | null | napari_filters/_tests/test_function.py | tdmorello/napari-filters | f689024a312bf3af37377acdf9259d5b8520cb3e | [
"BSD-3-Clause"
] | null | null | null | napari_filters/_tests/test_function.py | tdmorello/napari-filters | f689024a312bf3af37377acdf9259d5b8520cb3e | [
"BSD-3-Clause"
] | null | null | null | # from napari_filters import threshold, image_arithmetic
# add your tests here...
| 20.75 | 56 | 0.783133 | 11 | 83 | 5.727273 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144578 | 83 | 3 | 57 | 27.666667 | 0.887324 | 0.927711 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0ab961059f4d580d140ae97399e7476b96b8ed71 | 81 | py | Python | python/fek.py | ankitr/N-lang | ac6d20a5b688d5281a86dfdaba35938eaa402500 | [
"MIT"
] | null | null | null | python/fek.py | ankitr/N-lang | ac6d20a5b688d5281a86dfdaba35938eaa402500 | [
"MIT"
] | null | null | null | python/fek.py | ankitr/N-lang | ac6d20a5b688d5281a86dfdaba35938eaa402500 | [
"MIT"
] | null | null | null | import re
def paer(args):
print(args[0])
def _values():
return {"paer": None} | 11.571429 | 22 | 0.654321 | 13 | 81 | 4 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014706 | 0.160494 | 81 | 7 | 22 | 11.571429 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.04878 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.2 | 0.8 | 0.2 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
0ac1c8aca091b9a0948fdc67d2361274749c06c3 | 929 | py | Python | staking/domain/model/stake_holder.py | prashantramangupta/snet-staking-service | ae59b951f735486dad48a928425e8925b4b14ae9 | [
"MIT"
] | null | null | null | staking/domain/model/stake_holder.py | prashantramangupta/snet-staking-service | ae59b951f735486dad48a928425e8925b4b14ae9 | [
"MIT"
] | 9 | 2020-02-19T08:03:45.000Z | 2020-02-19T09:18:17.000Z | staking/domain/model/stake_holder.py | prashantramangupta/snet-staking-service | ae59b951f735486dad48a928425e8925b4b14ae9 | [
"MIT"
] | 3 | 2020-02-14T09:17:58.000Z | 2021-06-09T11:16:52.000Z | class StakeHolder:
def __init__(self, staker, amount_pending_for_approval, amount_approved, block_no_created):
self._staker = staker
self._amount_pending_for_approval = amount_pending_for_approval
self._amount_approved = amount_approved
self._block_no_created = block_no_created
... | 29.967742 | 95 | 0.692142 | 108 | 929 | 5.407407 | 0.166667 | 0.155822 | 0.191781 | 0.287671 | 0.5 | 0.40411 | 0 | 0 | 0 | 0 | 0 | 0 | 0.243272 | 929 | 30 | 96 | 30.966667 | 0.830725 | 0 | 0 | 0.16 | 0 | 0 | 0.068891 | 0.029064 | 0 | 0 | 0 | 0 | 0 | 1 | 0.24 | false | 0 | 0 | 0.2 | 0.48 | 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 | 1 | 0 | 0 | 0 | 4 |
0ad2ef8073688326d37a929bf6f5e133b5dfe84a | 117 | py | Python | search/__init__.py | vanng822/geosearch | 587bb6945da041277fdbf40cdb9e1f99ffee60a1 | [
"MIT"
] | null | null | null | search/__init__.py | vanng822/geosearch | 587bb6945da041277fdbf40cdb9e1f99ffee60a1 | [
"MIT"
] | null | null | null | search/__init__.py | vanng822/geosearch | 587bb6945da041277fdbf40cdb9e1f99ffee60a1 | [
"MIT"
] | null | null | null | from engine import Engine
from filters import Filter, TagFilter, RadiusFilter
from sorting import sort_by_popularity
| 29.25 | 51 | 0.863248 | 16 | 117 | 6.1875 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119658 | 117 | 3 | 52 | 39 | 0.961165 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
0af7db5046437752b2d512b58d41d321bb1030fd | 96 | py | Python | pyCFOF/__init__.py | luk-f/pyCFOF | dca9dd16150c41f4be70beb9734c735f84f77268 | [
"BSD-3-Clause"
] | null | null | null | pyCFOF/__init__.py | luk-f/pyCFOF | dca9dd16150c41f4be70beb9734c735f84f77268 | [
"BSD-3-Clause"
] | 5 | 2020-05-23T16:17:04.000Z | 2021-06-21T13:37:45.000Z | pyCFOF/__init__.py | luk-f/pyCFOF | dca9dd16150c41f4be70beb9734c735f84f77268 | [
"BSD-3-Clause"
] | null | null | null | from ._cfof import ConcentrationFreeOutlierFactor
__all__ = ['ConcentrationFreeOutlierFactor']
| 24 | 49 | 0.854167 | 6 | 96 | 12.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 96 | 3 | 50 | 32 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0.3125 | 0.3125 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 1 | 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 | 4 |
0afddfa6e60641bd5882b95879af506982c59fd8 | 131 | py | Python | tw_serverinfo/utility/__init__.py | DaRealFreak/Teeworlds-ServerInfo | ed3f281d91ecc7bd4f2e1fff27e86effaed68b02 | [
"MIT"
] | 6 | 2018-10-14T10:12:23.000Z | 2019-08-12T23:27:32.000Z | tw_serverinfo/utility/__init__.py | DaRealFreak/Teeworlds-ServerInfo | ed3f281d91ecc7bd4f2e1fff27e86effaed68b02 | [
"MIT"
] | 4 | 2018-10-14T14:59:47.000Z | 2020-09-25T09:50:18.000Z | tw_serverinfo/utility/__init__.py | DaRealFreak/Teeworlds-ServerInfo | ed3f281d91ecc7bd4f2e1fff27e86effaed68b02 | [
"MIT"
] | null | null | null | #!/usr/local/bin/python
# coding: utf-8
from tw_serverinfo.utility.countries import custom_countries
__all__ = [custom_countries]
| 21.833333 | 60 | 0.801527 | 18 | 131 | 5.444444 | 0.833333 | 0.306122 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008403 | 0.091603 | 131 | 5 | 61 | 26.2 | 0.815126 | 0.274809 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
e403effafd5c0c1f0384b98b7c4d02d03176d079 | 3,792 | py | Python | pypy/module/__pypy__/test/test_intop.py | m4sterchain/mesapy | ed546d59a21b36feb93e2309d5c6b75aa0ad95c9 | [
"Apache-2.0",
"OpenSSL"
] | 381 | 2018-08-18T03:37:22.000Z | 2022-02-06T23:57:36.000Z | pypy/module/__pypy__/test/test_intop.py | m4sterchain/mesapy | ed546d59a21b36feb93e2309d5c6b75aa0ad95c9 | [
"Apache-2.0",
"OpenSSL"
] | 16 | 2018-09-22T18:12:47.000Z | 2022-02-22T20:03:59.000Z | pypy/module/__pypy__/test/test_intop.py | m4sterchain/mesapy | ed546d59a21b36feb93e2309d5c6b75aa0ad95c9 | [
"Apache-2.0",
"OpenSSL"
] | 30 | 2018-08-20T03:16:34.000Z | 2022-01-12T17:39:22.000Z |
class AppTestIntOp:
spaceconfig = dict(usemodules=['__pypy__'])
def w_intmask(self, n):
import sys
n &= (sys.maxsize*2+1)
if n > sys.maxsize:
n -= 2*(sys.maxsize+1)
return int(n)
def test_intmask(self):
import sys
assert self.intmask(sys.maxsiz... | 36.114286 | 80 | 0.567774 | 541 | 3,792 | 3.805915 | 0.083179 | 0.199126 | 0.224381 | 0.073822 | 0.834386 | 0.771734 | 0.647887 | 0.581836 | 0.531812 | 0.427878 | 0 | 0.068529 | 0.29193 | 3,792 | 104 | 81 | 36.461538 | 0.698324 | 0 | 0 | 0.271739 | 0 | 0 | 0.002111 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.108696 | false | 0 | 0.184783 | 0 | 0.326087 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 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 | 4 |
7c1a169f048134204195356c11c23af6444c91f6 | 1,559 | py | Python | setup.py | fanfanpsu/django-mptt | 388bbd7c2171b46c838a279262b8c78975c4320a | [
"MIT"
] | null | null | null | setup.py | fanfanpsu/django-mptt | 388bbd7c2171b46c838a279262b8c78975c4320a | [
"MIT"
] | null | null | null | setup.py | fanfanpsu/django-mptt | 388bbd7c2171b46c838a279262b8c78975c4320a | [
"MIT"
] | 1 | 2019-04-17T18:03:38.000Z | 2019-04-17T18:03:38.000Z | #!/usr/bin/env python
from setuptools import find_packages, setup
setup(
name='django-mptt',
description=(
'Utilities for implementing Modified Preorder Tree Traversal '
'with your Django Models and working with trees of Model instances.'
),
version=__import__('mptt').__version__,
... | 34.644444 | 76 | 0.600385 | 155 | 1,559 | 5.948387 | 0.554839 | 0.206074 | 0.27115 | 0.140998 | 0.058568 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017241 | 0.255933 | 1,559 | 44 | 77 | 35.431818 | 0.777586 | 0.012829 | 0 | 0.05 | 0 | 0 | 0.606632 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.05 | 0 | 0.05 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7c30b5f9ec252a135800721c5da830e9c70dc53c | 177 | py | Python | visit/forms.py | project-sabai/Sabai-Backend | fbc25d6ec774900d2602f6f8cf57544d873f401a | [
"MIT"
] | null | null | null | visit/forms.py | project-sabai/Sabai-Backend | fbc25d6ec774900d2602f6f8cf57544d873f401a | [
"MIT"
] | 9 | 2020-06-05T22:10:47.000Z | 2021-06-10T18:38:13.000Z | visit/forms.py | project-sabai/Sabai-Backend | fbc25d6ec774900d2602f6f8cf57544d873f401a | [
"MIT"
] | 1 | 2019-09-01T04:41:58.000Z | 2019-09-01T04:41:58.000Z | from django import forms
from clinicmodels.models import Visit
class VisitForm(forms.ModelForm):
class Meta:
model = Visit
fields = ['patient', 'status']
| 17.7 | 38 | 0.677966 | 20 | 177 | 6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.237288 | 177 | 9 | 39 | 19.666667 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0.073864 | 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 | 1 | 0 | 0 | 4 |
7c4a79936cc7ab69415fab96ebd3a750fcb993c0 | 271 | py | Python | frontend/email_css.py | mepsd/CLAC | ee15111e9ad12e51fe349d3339319e30b3b69d9e | [
"CC0-1.0"
] | 126 | 2015-03-24T17:37:33.000Z | 2022-03-29T18:37:39.000Z | frontend/email_css.py | mepsd/CLAC | ee15111e9ad12e51fe349d3339319e30b3b69d9e | [
"CC0-1.0"
] | 1,815 | 2015-03-16T21:01:30.000Z | 2019-09-09T18:47:29.000Z | frontend/email_css.py | mepsd/CLAC | ee15111e9ad12e51fe349d3339319e30b3b69d9e | [
"CC0-1.0"
] | 69 | 2015-03-27T23:44:26.000Z | 2021-02-14T09:45:28.000Z | import pathlib
from django.utils.safestring import mark_safe
CSS_PATH = (pathlib.Path(__file__).resolve().parent /
'static' / 'frontend' / 'built' / 'style' / 'email.min.css')
def get():
return mark_safe(CSS_PATH.read_text(encoding='utf-8')) # nosec
| 24.636364 | 72 | 0.675277 | 36 | 271 | 4.833333 | 0.777778 | 0.091954 | 0.126437 | 0.172414 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004444 | 0.169742 | 271 | 10 | 73 | 27.1 | 0.768889 | 0.01845 | 0 | 0 | 0 | 0 | 0.159091 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.166667 | 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 | 1 | 1 | 0 | 0 | 4 |
7c4bd2460ee06b53b6e2c4bbaf49597325c5f788 | 115 | py | Python | main/main.py | genisyskernel/project-genisys-ia | ba79d9e81ae6d3f10b179a65ae0856ceec38a1e1 | [
"MIT"
] | null | null | null | main/main.py | genisyskernel/project-genisys-ia | ba79d9e81ae6d3f10b179a65ae0856ceec38a1e1 | [
"MIT"
] | null | null | null | main/main.py | genisyskernel/project-genisys-ia | ba79d9e81ae6d3f10b179a65ae0856ceec38a1e1 | [
"MIT"
] | null | null | null | # MAIN #
from interface import gui
# Start Main #
if __name__ == '__main__':
# Start GUI frame #
gui.GUI
| 12.777778 | 26 | 0.626087 | 15 | 115 | 4.266667 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.269565 | 115 | 8 | 27 | 14.375 | 0.761905 | 0.286957 | 0 | 0 | 0 | 0 | 0.108108 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
7c53c076f9cf97793b75527655e140cb17f31a90 | 264 | py | Python | pulumi/infra/path.py | inickles/grapl | f906aba74b2249c9c7d7b1afe6fc540551cdee8b | [
"Apache-2.0"
] | 313 | 2018-10-15T05:58:39.000Z | 2020-04-21T20:31:39.000Z | pulumi/infra/path.py | graplsec/grapl | 68386b425c8e9e34f7380a078279b67b316fe2a0 | [
"Apache-2.0"
] | 33 | 2018-10-16T00:47:10.000Z | 2020-03-16T22:32:45.000Z | pulumi/infra/path.py | graplsec/grapl | 68386b425c8e9e34f7380a078279b67b316fe2a0 | [
"Apache-2.0"
] | 29 | 2018-11-18T08:39:14.000Z | 2020-04-09T20:59:15.000Z | from pathlib import Path
def path_from_root(from_root: str) -> Path:
"""
To access something in the Grapl repo root, we have to reference two dirs
up because the Pulumi cwd is `${GRAPL_ROOT}/pulumi/grapl`
"""
return Path("../..") / from_root
| 26.4 | 77 | 0.666667 | 40 | 264 | 4.275 | 0.625 | 0.140351 | 0.140351 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.219697 | 264 | 9 | 78 | 29.333333 | 0.830097 | 0.496212 | 0 | 0 | 0 | 0 | 0.044248 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.