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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
213ca174c7e73148f746fa9b06f5e066de631b92 | 191 | py | Python | protobuf_parser/__init__.py | Gobot1234/protobuf_parser | dec0b73334747a33cdca1c9ac254bd7dc41fca00 | [
"Apache-2.0"
] | null | null | null | protobuf_parser/__init__.py | Gobot1234/protobuf_parser | dec0b73334747a33cdca1c9ac254bd7dc41fca00 | [
"Apache-2.0"
] | null | null | null | protobuf_parser/__init__.py | Gobot1234/protobuf_parser | dec0b73334747a33cdca1c9ac254bd7dc41fca00 | [
"Apache-2.0"
] | null | null | null | # Copyright (c) James Hilton-Balfe under the MIT License see LICENSE
"""A module to interact with Google's Protocol Buffer Compiler (protoc)"""
from ._impl import *
from ._version import *
| 27.285714 | 74 | 0.748691 | 28 | 191 | 5.035714 | 0.892857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162304 | 191 | 6 | 75 | 31.833333 | 0.88125 | 0.712042 | 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 | 1 | 0 | 0 | 5 |
2145feb2012bb0e250c682f2aa8501f29ce20018 | 60 | py | Python | nuit/tests/__init__.py | pwilczynskiclearcode/django-nuit | e1b619c00db36fba48683e9cf3d51cf4460f99c8 | [
"Apache-2.0"
] | 5 | 2016-05-15T12:43:24.000Z | 2018-10-06T07:45:38.000Z | nuit/tests/__init__.py | pwilczynskiclearcode/django-nuit | e1b619c00db36fba48683e9cf3d51cf4460f99c8 | [
"Apache-2.0"
] | 12 | 2016-04-21T22:01:55.000Z | 2017-04-20T09:27:56.000Z | nuit/tests/__init__.py | pwilczynskiclearcode/django-nuit | e1b619c00db36fba48683e9cf3d51cf4460f99c8 | [
"Apache-2.0"
] | 6 | 2016-04-21T23:27:48.000Z | 2018-02-22T16:24:11.000Z | # Test discovery for 1.6
from nuit.tests.test_main import *
| 20 | 34 | 0.766667 | 11 | 60 | 4.090909 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039216 | 0.15 | 60 | 2 | 35 | 30 | 0.843137 | 0.366667 | 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 | 1 | 0 | 0 | 5 |
dce557af8130ef11307c4189214e9c583552a50a | 99 | py | Python | src/spaceone/inventory/connector/aws_auto_scaling_connector/__init__.py | jean1042/plugin-aws-cloud-services | 1cf192557b03478af33ae81f40b2a49f735716bb | [
"Apache-2.0"
] | 4 | 2020-06-22T01:48:07.000Z | 2020-08-24T00:51:09.000Z | src/spaceone/inventory/connector/aws_auto_scaling_connector/__init__.py | jean1042/plugin-aws-cloud-services | 1cf192557b03478af33ae81f40b2a49f735716bb | [
"Apache-2.0"
] | 2 | 2020-07-20T01:58:32.000Z | 2020-08-04T07:41:37.000Z | src/spaceone/inventory/connector/aws_auto_scaling_connector/__init__.py | jean1042/plugin-aws-cloud-services | 1cf192557b03478af33ae81f40b2a49f735716bb | [
"Apache-2.0"
] | 6 | 2020-06-22T09:19:40.000Z | 2020-09-17T06:35:37.000Z | from spaceone.inventory.connector.aws_auto_scaling_connector.connector import AutoScalingConnector
| 49.5 | 98 | 0.919192 | 11 | 99 | 8 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040404 | 99 | 1 | 99 | 99 | 0.926316 | 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 | 1 | 0 | 0 | 5 |
dcec5c5a013fe73fc268a5dbc5386c1089e3ed91 | 82 | py | Python | CodingBat/Warmup-1/parrot_trouble.py | arthxvr/coding--python | 1e91707be6cb8fef816dad0c1a65f2cc3327357e | [
"MIT"
] | null | null | null | CodingBat/Warmup-1/parrot_trouble.py | arthxvr/coding--python | 1e91707be6cb8fef816dad0c1a65f2cc3327357e | [
"MIT"
] | null | null | null | CodingBat/Warmup-1/parrot_trouble.py | arthxvr/coding--python | 1e91707be6cb8fef816dad0c1a65f2cc3327357e | [
"MIT"
] | null | null | null | def parrot_trouble(talking, hour):
return talking and (hour < 7 or hour > 20)
| 27.333333 | 46 | 0.695122 | 13 | 82 | 4.307692 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046154 | 0.207317 | 82 | 2 | 47 | 41 | 0.815385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
0d03f6edb56b8dd87b660882a9c1573e53d8cc66 | 173 | py | Python | tests/sample_migrations/0015.py | SuadeLabs/infi.clickhouse_orm | cd724c213224583bff5e78cc63221ecec769c317 | [
"BSD-3-Clause"
] | 3 | 2022-01-07T15:50:59.000Z | 2022-01-20T02:21:46.000Z | tests/sample_migrations/0015.py | SuadeLabs/infi.clickhouse_orm | cd724c213224583bff5e78cc63221ecec769c317 | [
"BSD-3-Clause"
] | 3 | 2021-07-28T21:55:25.000Z | 2021-08-14T11:30:08.000Z | tests/sample_migrations/0015.py | SuadeLabs/infi.clickhouse_orm | cd724c213224583bff5e78cc63221ecec769c317 | [
"BSD-3-Clause"
] | null | null | null | from clickhouse_orm import migrations
from ..test_migrations import *
operations = [migrations.AlterTable(Model4_compressed), migrations.AlterTable(Model2LowCardinality)]
| 28.833333 | 100 | 0.843931 | 17 | 173 | 8.411765 | 0.647059 | 0.27972 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012579 | 0.080925 | 173 | 5 | 101 | 34.6 | 0.886792 | 0 | 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 | 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 | 1 | 0 | 0 | 5 |
0d4da38b2a9c09960330df3a6aaa4c8857711c52 | 421 | py | Python | gym_copter/envs/__init__.py | simondlevy/gym-copter | 7236769b7586b92026d4b47f12363258c84d9508 | [
"MIT"
] | 14 | 2019-11-03T05:17:46.000Z | 2022-02-26T05:37:32.000Z | gym_copter/envs/__init__.py | simondlevy/gym-copter | 7236769b7586b92026d4b47f12363258c84d9508 | [
"MIT"
] | 77 | 2020-05-17T01:56:29.000Z | 2021-06-19T02:46:52.000Z | gym_copter/envs/__init__.py | simondlevy/gym-copter | 7236769b7586b92026d4b47f12363258c84d9508 | [
"MIT"
] | 6 | 2020-01-01T07:22:15.000Z | 2021-05-11T17:45:33.000Z | '''
Copyright (C) 2019 Simon D. Levy
MIT License
'''
from gym_copter.envs.lander1d import Lander1D # noqa: F401
from gym_copter.envs.lander2d import Lander2D # noqa: F401
from gym_copter.envs.lander3d import Lander3D # noqa: F401
from gym_copter.envs.hover1d import Hover1D # noqa: F401
from gym_copter.e... | 32.384615 | 60 | 0.750594 | 62 | 421 | 5 | 0.33871 | 0.135484 | 0.251613 | 0.329032 | 0.403226 | 0.403226 | 0 | 0 | 0 | 0 | 0 | 0.097421 | 0.171021 | 421 | 12 | 61 | 35.083333 | 0.790831 | 0.266033 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
b4c66082255c60b091b0f568fd25b0b7a336be47 | 23 | py | Python | src/radio81/main.py | corzani/radio81 | eefe00efc768b3c91ada2a6a695eb143f8570393 | [
"MIT"
] | null | null | null | src/radio81/main.py | corzani/radio81 | eefe00efc768b3c91ada2a6a695eb143f8570393 | [
"MIT"
] | null | null | null | src/radio81/main.py | corzani/radio81 | eefe00efc768b3c91ada2a6a695eb143f8570393 | [
"MIT"
] | null | null | null | def main():
start() | 11.5 | 11 | 0.521739 | 3 | 23 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.26087 | 23 | 2 | 12 | 11.5 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
b4d560e877026670b66a24000852922307d0c07d | 405 | py | Python | view/AutoScaleView.py | liujiage/DevOpsK8s | b722a855394887a91f42c46586b9724f3258f620 | [
"Apache-2.0"
] | 1 | 2022-02-26T05:20:28.000Z | 2022-02-26T05:20:28.000Z | view/AutoScaleView.py | liujiage/DevOpsK8s | b722a855394887a91f42c46586b9724f3258f620 | [
"Apache-2.0"
] | null | null | null | view/AutoScaleView.py | liujiage/DevOpsK8s | b722a855394887a91f42c46586b9724f3258f620 | [
"Apache-2.0"
] | null | null | null | from services.dao.AutoScaleSettingDao import AutoScaleSettingDao
from vo.AutoScaleSettingVO import AutoScaleSettingVO
class AutoScaleView:
def __init__(self):
self.assDao = AutoScaleSettingDao()
def getSetting(self) -> AutoScaleSettingVO:
return self.assDao.query()
def saveSetting(self,... | 27 | 64 | 0.753086 | 37 | 405 | 8.135135 | 0.513514 | 0.099668 | 0.186047 | 0.225914 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17037 | 405 | 14 | 65 | 28.928571 | 0.895833 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.222222 | 0.222222 | 0.888889 | 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 | 1 | 0 | 0 | 5 |
372b7b9e9ea4bbd0a2cf43d58723295a5d2b9700 | 98 | py | Python | bot/bot.py | mercdev-corp/repsoter | 5ab98e84556143d4688ae5497443916fa63431b0 | [
"MIT"
] | 2 | 2020-10-26T09:26:13.000Z | 2022-03-22T18:10:01.000Z | bot/bot.py | mercdev-corp/repsoter | 5ab98e84556143d4688ae5497443916fa63431b0 | [
"MIT"
] | null | null | null | bot/bot.py | mercdev-corp/repsoter | 5ab98e84556143d4688ae5497443916fa63431b0 | [
"MIT"
] | 2 | 2020-02-11T08:11:19.000Z | 2022-03-20T18:16:41.000Z | from telegram import Bot
from .settings import settings
bot = Bot(token=settings.TG_BOT_TOKEN)
| 14 | 38 | 0.795918 | 15 | 98 | 5.066667 | 0.466667 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 98 | 6 | 39 | 16.333333 | 0.904762 | 0 | 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 | 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 | 1 | 0 | 0 | 5 |
2eb409ec88817b5aea42c9fecdcb097f5805619d | 146 | py | Python | 2_B_1_C_Date.py | julia-komleva/algorithm-training | 46c42cfed007ba27c7848bfc52009b64148dd84e | [
"MIT"
] | null | null | null | 2_B_1_C_Date.py | julia-komleva/algorithm-training | 46c42cfed007ba27c7848bfc52009b64148dd84e | [
"MIT"
] | null | null | null | 2_B_1_C_Date.py | julia-komleva/algorithm-training | 46c42cfed007ba27c7848bfc52009b64148dd84e | [
"MIT"
] | null | null | null | first, second, year = map(int, input().split())
if first == second:
print(1)
elif first < 13 and second < 13:
print(0)
else:
print(1) | 18.25 | 47 | 0.60274 | 23 | 146 | 3.826087 | 0.652174 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 0.232877 | 146 | 8 | 48 | 18.25 | 0.723214 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.428571 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
2ebf2b711d5bac59fcf0168828cf681fb406ccf8 | 97 | py | Python | Datadex/__init__.py | steventhe24th/Beehive | 38b48f9d1960116a9207364265966e9badaf5dd7 | [
"MIT"
] | null | null | null | Datadex/__init__.py | steventhe24th/Beehive | 38b48f9d1960116a9207364265966e9badaf5dd7 | [
"MIT"
] | 14 | 2021-11-04T05:59:46.000Z | 2022-01-19T04:34:18.000Z | Datadex/__init__.py | steventhe24th/DataDex | 8f8fe564ab0140412946325fc49ab5099439e9ee | [
"MIT"
] | null | null | null | from Datadex.main import Vespiqueen,VespiqueenTools,Combee,CombeeKeras, Beehive, Diglett, Utility | 97 | 97 | 0.865979 | 11 | 97 | 7.636364 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061856 | 97 | 1 | 97 | 97 | 0.923077 | 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 | 1 | 0 | 0 | 5 |
2eee6c323611a8a7fe82dc49eb87f1dc974e571d | 58 | py | Python | typings/bl_previews_utils/__init__.py | Argmaster/PyR3 | 6786bcb6a101fe4bd4cc50fe43767b8178504b15 | [
"MIT"
] | 2 | 2021-12-12T18:51:52.000Z | 2022-02-23T09:49:16.000Z | src/blender/blender_autocomplete-master/2.92/bl_previews_utils/__init__.py | JonasWard/ClayAdventures | a716445ac690e4792e70658319aa1d5299f9c9e9 | [
"MIT"
] | 2 | 2021-11-08T12:09:02.000Z | 2021-12-12T23:01:12.000Z | src/blender/blender_autocomplete-master/2.92/bl_previews_utils/__init__.py | JonasWard/ClayAdventures | a716445ac690e4792e70658319aa1d5299f9c9e9 | [
"MIT"
] | null | null | null | import sys
import typing
from . import bl_previews_render
| 14.5 | 32 | 0.844828 | 9 | 58 | 5.222222 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 58 | 3 | 33 | 19.333333 | 0.94 | 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 | 1 | 0 | 0 | 5 |
257f43148dd0d3d1da7f30f12a115695a88789eb | 5,031 | py | Python | analysis/overlapParadigms.py | jlubo/memory-consolidation-stc | f9934760e12de324360297d7fc7902623169cb4d | [
"Apache-2.0"
] | 2 | 2021-03-02T21:46:56.000Z | 2021-06-30T03:12:07.000Z | analysis/overlapParadigms.py | jlubo/memory-consolidation-stc | f9934760e12de324360297d7fc7902623169cb4d | [
"Apache-2.0"
] | null | null | null | analysis/overlapParadigms.py | jlubo/memory-consolidation-stc | f9934760e12de324360297d7fc7902623169cb4d | [
"Apache-2.0"
] | 3 | 2021-03-22T12:56:52.000Z | 2021-09-13T07:42:36.000Z | ##############################################################
### Definitions of assembly neurons in different paradigms ###
### of overlap between cell assemblies ###
##############################################################
### Copyright 2020-2021 Jannik Luboeinski
### licensed under Apache... | 48.375 | 169 | 0.714768 | 793 | 5,031 | 4.327869 | 0.116015 | 0.097902 | 0.06993 | 0.05303 | 0.835373 | 0.815268 | 0.787005 | 0.736305 | 0.69493 | 0.617716 | 0 | 0.040149 | 0.148479 | 5,031 | 103 | 170 | 48.84466 | 0.760971 | 0.279865 | 0 | 0.369231 | 0 | 0 | 0.069404 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0 | 0.015385 | 0 | 0.169231 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 5 |
2594f3fc6b9ef72837f5514a05376f90cfcd6f33 | 145 | py | Python | robopom/__init__.py | qky666/robopom | 631204718a49108afc3d0cb5f7f4e7e914fdfd1f | [
"Apache-2.0"
] | null | null | null | robopom/__init__.py | qky666/robopom | 631204718a49108afc3d0cb5f7f4e7e914fdfd1f | [
"Apache-2.0"
] | null | null | null | robopom/__init__.py | qky666/robopom | 631204718a49108afc3d0cb5f7f4e7e914fdfd1f | [
"Apache-2.0"
] | null | null | null | from .RobopomSeleniumPlugin import RobopomSeleniumPlugin
from .RobopomPage import RobopomPage
from .ComponentVariables import ComponentVariables
| 36.25 | 56 | 0.896552 | 12 | 145 | 10.833333 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082759 | 145 | 3 | 57 | 48.333333 | 0.977444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
25a16a0fd72885ebf712493fac9c9f784012eddb | 172 | py | Python | app/database.py | leandcesar/bobotinho-api | 7a3ce31fb2220e00b4b1fabf10e1c32afde314a9 | [
"MIT"
] | null | null | null | app/database.py | leandcesar/bobotinho-api | 7a3ce31fb2220e00b4b1fabf10e1c32afde314a9 | [
"MIT"
] | null | null | null | app/database.py | leandcesar/bobotinho-api | 7a3ce31fb2220e00b4b1fabf10e1c32afde314a9 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from flask_sqlalchemy import SQLAlchemy
from sqlalchemy.orm import load_only, validates
from sqlalchemy.event import listens_for
db = SQLAlchemy()
| 24.571429 | 47 | 0.784884 | 23 | 172 | 5.73913 | 0.652174 | 0.212121 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006667 | 0.127907 | 172 | 6 | 48 | 28.666667 | 0.873333 | 0.122093 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 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 | 1 | 0 | 0 | 5 |
25bff9d96eb88b8a36e0cd1506c31bfaa8372e4e | 164 | py | Python | Lib/site-packages/hexview/__init__.py | fochoao/cpython | 3dc84b260e5bced65ebc2c45c40c8fa65f9b5aa9 | [
"bzip2-1.0.6",
"0BSD"
] | null | null | null | Lib/site-packages/hexview/__init__.py | fochoao/cpython | 3dc84b260e5bced65ebc2c45c40c8fa65f9b5aa9 | [
"bzip2-1.0.6",
"0BSD"
] | 20 | 2021-05-03T18:02:23.000Z | 2022-03-12T12:01:04.000Z | Lib/site-packages/hexview/__init__.py | fochoao/cpython | 3dc84b260e5bced65ebc2c45c40c8fa65f9b5aa9 | [
"bzip2-1.0.6",
"0BSD"
] | null | null | null | __all__ = ["HexViewWidget", "QT_COLORS", "make_color_icon"]
from .hexview import HexViewWidget
from .hexview import QT_COLORS
from .hexview import make_color_icon
| 27.333333 | 59 | 0.804878 | 22 | 164 | 5.545455 | 0.454545 | 0.270492 | 0.418033 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109756 | 164 | 5 | 60 | 32.8 | 0.835616 | 0 | 0 | 0 | 0 | 0 | 0.22561 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 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 | 1 | 0 | 0 | 0 | 0 | 5 |
25d88518387f0533b566e1613e615112a923ef1b | 57 | py | Python | models/modules/__init__.py | leliyliu/Fixed-Point-Training | 0f31512abbbab9216bd852c27be5c3774663d62e | [
"Apache-2.0"
] | 1 | 2021-09-27T06:25:08.000Z | 2021-09-27T06:25:08.000Z | models/modules/__init__.py | leliyliu/Fixed-Point-Training | 0f31512abbbab9216bd852c27be5c3774663d62e | [
"Apache-2.0"
] | null | null | null | models/modules/__init__.py | leliyliu/Fixed-Point-Training | 0f31512abbbab9216bd852c27be5c3774663d62e | [
"Apache-2.0"
] | null | null | null | from .cptconv import CPTConv2d
from .qconv import qconv2d | 28.5 | 30 | 0.842105 | 8 | 57 | 6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 0.122807 | 57 | 2 | 31 | 28.5 | 0.92 | 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 | 1 | 0 | 0 | 5 |
25e4ef0d7e3ab6f4824d03c2c59d4d291036d2b5 | 164 | py | Python | haul3/libs/hres.py | hotkeymuc/haul | 22533491e3a22ce9fabd81f281282a09880b400c | [
"MIT"
] | 2 | 2021-07-04T13:00:50.000Z | 2022-03-19T21:39:06.000Z | haul3/libs/hres.py | hotkeymuc/haul | 22533491e3a22ce9fabd81f281282a09880b400c | [
"MIT"
] | null | null | null | haul3/libs/hres.py | hotkeymuc/haul | 22533491e3a22ce9fabd81f281282a09880b400c | [
"MIT"
] | null | null | null | # HAUL Resources
def get(i):
return None
def use(filename):
# Do nothing, it is overridden when testing; in order to load resources at runtime
return -1 | 20.5 | 84 | 0.707317 | 26 | 164 | 4.461538 | 0.884615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007874 | 0.22561 | 164 | 8 | 85 | 20.5 | 0.905512 | 0.579268 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
25eb40c3b0ae9ad2a0c9bddab79c5b5063397adf | 158 | py | Python | Pytorch/Visualization/visualizers/__init__.py | Kuga23/Deep-Learning | 86980338208c702b6bfcbcfffdb18498e389a56b | [
"MIT"
] | null | null | null | Pytorch/Visualization/visualizers/__init__.py | Kuga23/Deep-Learning | 86980338208c702b6bfcbcfffdb18498e389a56b | [
"MIT"
] | null | null | null | Pytorch/Visualization/visualizers/__init__.py | Kuga23/Deep-Learning | 86980338208c702b6bfcbcfffdb18498e389a56b | [
"MIT"
] | null | null | null | from .saliency_map import SaliencyMap
from .gradcam import GradCam
from .fooling_image import FoolingImage
from .class_visualization import ClassVisualization | 39.5 | 51 | 0.879747 | 19 | 158 | 7.157895 | 0.631579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094937 | 158 | 4 | 51 | 39.5 | 0.951049 | 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 | 1 | 0 | 0 | 5 |
d30a04e2627210f39105bc7564497a8178f8d7ce | 212 | py | Python | sws_webstuff/redirect_class.py | Aurvandill137/sws_webstuff | c2ae109f419c2448d25f33e7f9b88cc9670e26cf | [
"MIT"
] | null | null | null | sws_webstuff/redirect_class.py | Aurvandill137/sws_webstuff | c2ae109f419c2448d25f33e7f9b88cc9670e26cf | [
"MIT"
] | null | null | null | sws_webstuff/redirect_class.py | Aurvandill137/sws_webstuff | c2ae109f419c2448d25f33e7f9b88cc9670e26cf | [
"MIT"
] | null | null | null | class Redirect:
def __init__(self, url: str = ""):
self.redirect_url = url
def to_dict(self):
tmp_dict = {
"redirect_url": self.redirect_url,
}
return tmp_dict | 23.555556 | 46 | 0.551887 | 25 | 212 | 4.28 | 0.44 | 0.308411 | 0.280374 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.34434 | 212 | 9 | 47 | 23.555556 | 0.769784 | 0 | 0 | 0 | 0 | 0 | 0.056338 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
d310db6250d225147d73d5cf6e24dc43a2a07a2f | 113 | py | Python | homeserver/cloud/admin.py | shravan097/Mero-Home-Cloud | 1e0c3f45b3dc5845efd9f0adb05341dca9b66130 | [
"MIT"
] | 1 | 2017-08-11T00:37:07.000Z | 2017-08-11T00:37:07.000Z | homeserver/cloud/admin.py | shravan097/Mero-Home-Cloud | 1e0c3f45b3dc5845efd9f0adb05341dca9b66130 | [
"MIT"
] | 16 | 2017-05-31T22:08:41.000Z | 2017-07-09T03:56:09.000Z | homeserver/cloud/admin.py | shravan097/Mero-Home-Cloud | 1e0c3f45b3dc5845efd9f0adb05341dca9b66130 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import File
# Register your models here.
admin.site.register(File) | 22.6 | 32 | 0.80531 | 17 | 113 | 5.352941 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123894 | 113 | 5 | 33 | 22.6 | 0.919192 | 0.230089 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
d36b3a55a43b08076f303d7d615a57af91181653 | 57 | py | Python | myallennlp/data/__init__.py | picsolab/COLING2020-BiasStudy | e877cb0625d1f529334507d08db1a6e517fa77b1 | [
"MIT"
] | 1 | 2020-12-04T20:32:21.000Z | 2020-12-04T20:32:21.000Z | myallennlp/data/__init__.py | picsolab/COLING2020-BiasStudy | e877cb0625d1f529334507d08db1a6e517fa77b1 | [
"MIT"
] | null | null | null | myallennlp/data/__init__.py | picsolab/COLING2020-BiasStudy | e877cb0625d1f529334507d08db1a6e517fa77b1 | [
"MIT"
] | 1 | 2020-11-28T19:56:44.000Z | 2020-11-28T19:56:44.000Z | from myallennlp.data.dataset_readers import tweet_reader
| 28.5 | 56 | 0.894737 | 8 | 57 | 6.125 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070175 | 57 | 1 | 57 | 57 | 0.924528 | 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 | 1 | 0 | 0 | 5 |
d38a7ed8134f2b08d8135cb187d80f8a606fe700 | 328 | py | Python | exercicios_basico/ex002.py | montalvas/python | 483c2097f6f91bfae127dafcb63e3006eeecad1d | [
"MIT"
] | null | null | null | exercicios_basico/ex002.py | montalvas/python | 483c2097f6f91bfae127dafcb63e3006eeecad1d | [
"MIT"
] | null | null | null | exercicios_basico/ex002.py | montalvas/python | 483c2097f6f91bfae127dafcb63e3006eeecad1d | [
"MIT"
] | null | null | null | nome = input('Qual o seu nome? ')
sobrenome = input('Qual o seu sobrenome? ')
print('Seja bem-vindo(a), {} {}!'.format(nome, sobrenome))
print('Ordem natural: {0} {1}'.format(nome, sobrenome))
print('Ordem inversa: {1} {0}'.format(nome, sobrenome))
print('Outra forma: {0} {1} {other}'.format(nome, sobrenome, other = 'S... | 54.666667 | 79 | 0.661585 | 47 | 328 | 4.617021 | 0.446809 | 0.299539 | 0.35023 | 0.331797 | 0.267281 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020619 | 0.112805 | 328 | 6 | 79 | 54.666667 | 0.725086 | 0 | 0 | 0 | 0 | 0 | 0.431611 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.666667 | 0 | 0 | 0 | null | 1 | 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 | 1 | 0 | 5 |
d3971446c612b48c54e07bdf48652dfc9d5c5ba8 | 19 | py | Python | printstuff2.py | bjigarjian/cs32240-labdemo | 480358ce54050e55cc7e2a20243bbd480ec3dffb | [
"MIT"
] | null | null | null | printstuff2.py | bjigarjian/cs32240-labdemo | 480358ce54050e55cc7e2a20243bbd480ec3dffb | [
"MIT"
] | null | null | null | printstuff2.py | bjigarjian/cs32240-labdemo | 480358ce54050e55cc7e2a20243bbd480ec3dffb | [
"MIT"
] | null | null | null | print('OTHERSTUFF') | 19 | 19 | 0.789474 | 2 | 19 | 7.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 19 | 1 | 19 | 19 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 5 |
6cf1cb4716cd237e48c25e14b6bb49f32b03b77c | 301 | py | Python | bug_master/commands/__init__.py | eliorerz/bug_master_bot | a4fd5953a4bc3730857d71d231bcaf6d2297366b | [
"MIT"
] | null | null | null | bug_master/commands/__init__.py | eliorerz/bug_master_bot | a4fd5953a4bc3730857d71d231bcaf6d2297366b | [
"MIT"
] | null | null | null | bug_master/commands/__init__.py | eliorerz/bug_master_bot | a4fd5953a4bc3730857d71d231bcaf6d2297366b | [
"MIT"
] | null | null | null | from .channel_configuration_command import ChannelConfigurationCommand
from .command import Command
from .command_handler import CommandHandler
from .supported_commands import NotSupportedCommandError
__all__ = ["Command", "CommandHandler", "ChannelConfigurationCommand", "NotSupportedCommandError"]
| 43 | 98 | 0.863787 | 25 | 301 | 10.08 | 0.48 | 0.103175 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076412 | 301 | 6 | 99 | 50.166667 | 0.906475 | 0 | 0 | 0 | 0 | 0 | 0.239203 | 0.169435 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 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 | 1 | 0 | 0 | 5 |
9f0c74afd66f5ace80b49376e71c5cd7ccce2091 | 5,770 | py | Python | myScripts/mapchina.py | Victoryhhaa/COVID-19-NLP-vis | 68d25744fe9b35b06971f1f3710a54f674344ecf | [
"MIT"
] | null | null | null | myScripts/mapchina.py | Victoryhhaa/COVID-19-NLP-vis | 68d25744fe9b35b06971f1f3710a54f674344ecf | [
"MIT"
] | null | null | null | myScripts/mapchina.py | Victoryhhaa/COVID-19-NLP-vis | 68d25744fe9b35b06971f1f3710a54f674344ecf | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import time, json
import pandas as pd
from pyecharts.charts import Map
import pyecharts.options as opts
n = "dataSets/china_provincedata.csv"
def render_mapcountChina_rate(dateId):
data = pd.read_csv(n)
data = data[data['dateId'] == dateId]
#print(data['currentConfirmedCount'])
... | 47.68595 | 121 | 0.34714 | 428 | 5,770 | 4.549065 | 0.264019 | 0.049307 | 0.045198 | 0.024653 | 0.749358 | 0.724191 | 0.724191 | 0.724191 | 0.724191 | 0.724191 | 0 | 0.065968 | 0.437782 | 5,770 | 121 | 122 | 47.68595 | 0.534217 | 0.208492 | 0 | 0.561798 | 0 | 0 | 0.087186 | 0.011449 | 0 | 0 | 0 | 0 | 0 | 1 | 0.044944 | false | 0 | 0.044944 | 0 | 0.157303 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 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 | 5 |
9f21bc5098cbceae03ddb046476d8bf0ed9fdb1d | 23,562 | py | Python | fn_email_header_validation/fn_email_header_validation/util/customize.py | nickpartner-goahead/resilient-community-apps | 097c0dbefddbd221b31149d82af9809420498134 | [
"MIT"
] | 65 | 2017-12-04T13:58:32.000Z | 2022-03-24T18:33:17.000Z | fn_email_header_validation/fn_email_header_validation/util/customize.py | nickpartner-goahead/resilient-community-apps | 097c0dbefddbd221b31149d82af9809420498134 | [
"MIT"
] | 48 | 2018-03-02T19:17:14.000Z | 2022-03-09T22:00:38.000Z | fn_email_header_validation/fn_email_header_validation/util/customize.py | nickpartner-goahead/resilient-community-apps | 097c0dbefddbd221b31149d82af9809420498134 | [
"MIT"
] | 95 | 2018-01-11T16:23:39.000Z | 2022-03-21T11:34:29.000Z | # -*- coding: utf-8 -*-
"""Generate the Resilient customizations required for fn_email_header_validation"""
from __future__ import print_function
from resilient_circuits.util import *
def customization_data(client=None):
"""Produce any customization definitions (types, fields, message destinations, etc)
... | 68.494186 | 87 | 0.971649 | 466 | 23,562 | 49.051502 | 0.877682 | 0.00385 | 0.00735 | 0.005687 | 0.009143 | 0.0077 | 0.0035 | 0 | 0 | 0 | 0 | 0.12443 | 0.02313 | 23,562 | 343 | 88 | 68.693878 | 0.868662 | 0.032128 | 0 | 0 | 1 | 0 | 0.989107 | 0.97549 | 0 | 1 | 0 | 0 | 0 | 1 | 0.003175 | false | 0 | 0.009524 | 0 | 0.012698 | 0.003175 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
9f2bc3480539612d7566c589a61c50774458c0ea | 285 | py | Python | tests/test_either/test_either_from.py | flpStrri/tupperware | 23e241d49d56e5a94044258c5056bd9486e34c5f | [
"BSD-2-Clause"
] | 4 | 2020-05-26T19:05:48.000Z | 2021-06-28T15:30:21.000Z | tests/test_either/test_either_from.py | flpStrri/tupperware | 23e241d49d56e5a94044258c5056bd9486e34c5f | [
"BSD-2-Clause"
] | null | null | null | tests/test_either/test_either_from.py | flpStrri/tupperware | 23e241d49d56e5a94044258c5056bd9486e34c5f | [
"BSD-2-Clause"
] | null | null | null | from tupperware.either import Either, Left, Right
def test_should_return_right_when_creating_either_from_value():
assert Either.from_value(2) == Right(2)
def test_should_return_right_when_creating_either_from_failure():
assert Either.from_failure("error") == Left("error")
| 28.5 | 65 | 0.8 | 41 | 285 | 5.121951 | 0.414634 | 0.190476 | 0.12381 | 0.180952 | 0.438095 | 0.438095 | 0.438095 | 0.438095 | 0.438095 | 0 | 0 | 0.007843 | 0.105263 | 285 | 9 | 66 | 31.666667 | 0.815686 | 0 | 0 | 0 | 0 | 0 | 0.035088 | 0 | 0 | 0 | 0 | 0 | 0.4 | 1 | 0.4 | true | 0 | 0.2 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
9f4f6cd8443af9de1afb0985f45ae43d6f0f3a35 | 499 | py | Python | bg.py | Blue-IT-Marketing/p2ploans.site | 0666771a604d1410155baff252b0053e04ef719c | [
"MIT"
] | null | null | null | bg.py | Blue-IT-Marketing/p2ploans.site | 0666771a604d1410155baff252b0053e04ef719c | [
"MIT"
] | null | null | null | bg.py | Blue-IT-Marketing/p2ploans.site | 0666771a604d1410155baff252b0053e04ef719c | [
"MIT"
] | 3 | 2019-01-14T09:21:17.000Z | 2019-08-15T20:28:11.000Z | import os
import webapp2
import jinja2
from google.appengine.ext import ndb
from google.appengine.api import users
from google.appengine.api import mail
import datetime,random,string
from google.appengine.api import memcache
import logging
#Jinja Loader
template_env = jinja2.Environment(
loader=jinja2.FileSystemLoader... | 18.481481 | 44 | 0.773547 | 63 | 499 | 6.111111 | 0.587302 | 0.103896 | 0.197403 | 0.171429 | 0.218182 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013921 | 0.136273 | 499 | 26 | 45 | 19.192308 | 0.87935 | 0.024048 | 0 | 0 | 0 | 0 | 0.016495 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.058824 | false | 0.058824 | 0.529412 | 0 | 0.647059 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
9f7359dd1fef14ea6f61df6a19d37f68371c6a13 | 41 | py | Python | accounts/tests.py | sahilr05/sitechecker | 9c5d99109cfe2cbf46eb9f3cb397fc0f3505f039 | [
"MIT"
] | 2 | 2021-02-21T09:24:54.000Z | 2021-05-12T18:42:37.000Z | accounts/tests.py | sahilr05/sitechecker | 9c5d99109cfe2cbf46eb9f3cb397fc0f3505f039 | [
"MIT"
] | null | null | null | accounts/tests.py | sahilr05/sitechecker | 9c5d99109cfe2cbf46eb9f3cb397fc0f3505f039 | [
"MIT"
] | null | null | null | from django.test import TestCase # NOQA
| 20.5 | 40 | 0.780488 | 6 | 41 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170732 | 41 | 1 | 41 | 41 | 0.941176 | 0.097561 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 5 |
9f7e44470aaf0ab86f5a3f1c931a0ac9a41312eb | 18 | py | Python | mejora-actual.py | Kotov2002/python | e74751ac3fff40f9c360fdb7471a88e69cbacbc8 | [
"MIT"
] | null | null | null | mejora-actual.py | Kotov2002/python | e74751ac3fff40f9c360fdb7471a88e69cbacbc8 | [
"MIT"
] | null | null | null | mejora-actual.py | Kotov2002/python | e74751ac3fff40f9c360fdb7471a88e69cbacbc8 | [
"MIT"
] | null | null | null | print(Hola Mundo)
| 9 | 17 | 0.777778 | 3 | 18 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 18 | 1 | 18 | 18 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 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 | 1 | 0 | 5 |
9f8ce0c20d0161d837b22d70d8356f56bb05d05e | 153 | py | Python | python/fedml/model/__init__.py | NCLPhD/FedML | ffa15262ee963b9c856f34f0b2202f4dfeb3a76b | [
"Apache-2.0"
] | null | null | null | python/fedml/model/__init__.py | NCLPhD/FedML | ffa15262ee963b9c856f34f0b2202f4dfeb3a76b | [
"Apache-2.0"
] | null | null | null | python/fedml/model/__init__.py | NCLPhD/FedML | ffa15262ee963b9c856f34f0b2202f4dfeb3a76b | [
"Apache-2.0"
] | null | null | null | from .mobile.mnn_lenet import create_mnn_lenet5_model
from .model_hub import (
create,
)
__all__ = [
"create",
"create_mnn_lenet5_model",
]
| 15.3 | 53 | 0.712418 | 20 | 153 | 4.85 | 0.5 | 0.247423 | 0.309278 | 0.412371 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016129 | 0.189542 | 153 | 9 | 54 | 17 | 0.766129 | 0 | 0 | 0 | 0 | 0 | 0.189542 | 0.150327 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 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 | 5 |
9f9fe34f172efef0e311f07b1e923d427867174f | 390 | py | Python | django_green_grove/backends.py | dreipol/django-green-grove | 32a32ff6919a72d0544baaae9707827fa7d69414 | [
"MIT"
] | 2 | 2017-06-28T19:29:37.000Z | 2017-07-01T22:50:05.000Z | django_green_grove/backends.py | dreipol/django-green-grove | 32a32ff6919a72d0544baaae9707827fa7d69414 | [
"MIT"
] | null | null | null | django_green_grove/backends.py | dreipol/django-green-grove | 32a32ff6919a72d0544baaae9707827fa7d69414 | [
"MIT"
] | null | null | null | from django.conf import settings
from storages.backends.s3boto import S3BotoStorage
class BackupStorage(S3BotoStorage):
access_key = getattr(settings, 'BACKUP_BUCKET_AWS_ACCESS_KEY_ID')
secret_key = getattr(settings, 'BACKUP_BUCKET_AWS_SECRET_ACCESS_KEY')
bucket_name = getattr(settings, 'BACKUP_BUCKET_BUC... | 39 | 73 | 0.810256 | 48 | 390 | 6.208333 | 0.4375 | 0.201342 | 0.281879 | 0.362416 | 0.221477 | 0.221477 | 0 | 0 | 0 | 0 | 0 | 0.008671 | 0.112821 | 390 | 9 | 74 | 43.333333 | 0.852601 | 0 | 0 | 0 | 0 | 0 | 0.289744 | 0.289744 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.285714 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 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 | 1 | 0 | 0 | 5 |
9fae572fc749768feaa3a1c0032156b7d33c23ac | 1,367 | py | Python | python/008/008.py | seaneshbaugh/rosetta-euler | 14f24dfc347e7d9a4c9c0f090acf2811aa65f453 | [
"MIT"
] | 36 | 2015-01-24T08:11:52.000Z | 2021-03-21T00:32:00.000Z | python/008/008.py | seaneshbaugh/rosetta-euler | 14f24dfc347e7d9a4c9c0f090acf2811aa65f453 | [
"MIT"
] | null | null | null | python/008/008.py | seaneshbaugh/rosetta-euler | 14f24dfc347e7d9a4c9c0f090acf2811aa65f453 | [
"MIT"
] | 4 | 2015-01-24T08:17:42.000Z | 2022-01-11T16:10:56.000Z | from operator import mul
from functools import reduce
def each_cons(l, n):
return [l[i : i + n] for i in range(len(l) - n + 1)]
x = ("73167176531330624919225119674426574742355349194934"
"96983520312774506326239578318016984801869478851843"
"85861560789112949495459501737958331952853208805511"
"125406987... | 47.137931 | 89 | 0.84199 | 64 | 1,367 | 17.953125 | 0.703125 | 0.013925 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.817292 | 0.103146 | 1,367 | 28 | 90 | 48.821429 | 0.119902 | 0 | 0 | 0 | 0 | 0 | 0.731529 | 0.731529 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04 | false | 0 | 0.08 | 0.04 | 0.16 | 0.04 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
9fafb16f755f033a72ed2509ed6c9611ba471a3e | 134 | py | Python | dodo.py | philippjfr/datashader | eb9218cb810297aea2ae1030349cef6a6f3ab3cb | [
"BSD-3-Clause"
] | 39 | 2016-07-06T21:38:39.000Z | 2021-08-05T06:46:02.000Z | dodo.py | philippjfr/datashader | eb9218cb810297aea2ae1030349cef6a6f3ab3cb | [
"BSD-3-Clause"
] | 72 | 2016-04-21T13:22:57.000Z | 2018-09-21T19:40:09.000Z | dodo.py | philippjfr/datashader | eb9218cb810297aea2ae1030349cef6a6f3ab3cb | [
"BSD-3-Clause"
] | 10 | 2016-04-19T07:57:27.000Z | 2018-05-25T00:26:35.000Z | import os
if "PYCTDEV_ECOSYSTEM" not in os.environ:
os.environ["PYCTDEV_ECOSYSTEM"] = "conda"
from pyctdev import * # noqa: api
| 22.333333 | 45 | 0.716418 | 19 | 134 | 4.947368 | 0.631579 | 0.340426 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171642 | 134 | 5 | 46 | 26.8 | 0.846847 | 0.067164 | 0 | 0 | 0 | 0 | 0.317073 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
4c9a62a82cf65e7093da7fdfd275ac6db00cf5eb | 15,455 | py | Python | challenge-2/main.py | DanielYosilevich/gae | 8b24ce61a257d269ab2d20d7ad37c5cf50a32b25 | [
"MIT"
] | null | null | null | challenge-2/main.py | DanielYosilevich/gae | 8b24ce61a257d269ab2d20d7ad37c5cf50a32b25 | [
"MIT"
] | null | null | null | challenge-2/main.py | DanielYosilevich/gae | 8b24ce61a257d269ab2d20d7ad37c5cf50a32b25 | [
"MIT"
] | null | null | null |
from google.appengine.ext import ndb
import webapp2
import json
class MainPage(webapp2.RequestHandler):
def get(self):
self.response.out.write("""
<html>
<head>
<title>Backend Challenge</title>
<link rel="stylesheet" type="text/css" href="/css/main.css" />
</head>
<body>
... | 28.88785 | 134 | 0.490391 | 1,712 | 15,455 | 4.364486 | 0.09229 | 0.019673 | 0.04015 | 0.053533 | 0.773822 | 0.744111 | 0.723635 | 0.687232 | 0.652302 | 0.618844 | 0 | 0.00391 | 0.338078 | 15,455 | 534 | 135 | 28.941948 | 0.726491 | 0 | 0 | 0.782524 | 0 | 0.029126 | 0.651288 | 0.033195 | 0 | 0 | 0 | 0 | 0 | 1 | 0.021359 | false | 0 | 0.005825 | 0 | 0.07767 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
4c9a7293f30f645d3f6318bcf058570c0a4549b7 | 2,783 | py | Python | etl/parsers/etw/Microsoft_Windows_Shell_DefaultPrograms.py | IMULMUL/etl-parser | 76b7c046866ce0469cd129ee3f7bb3799b34e271 | [
"Apache-2.0"
] | 104 | 2020-03-04T14:31:31.000Z | 2022-03-28T02:59:36.000Z | etl/parsers/etw/Microsoft_Windows_Shell_DefaultPrograms.py | IMULMUL/etl-parser | 76b7c046866ce0469cd129ee3f7bb3799b34e271 | [
"Apache-2.0"
] | 7 | 2020-04-20T09:18:39.000Z | 2022-03-19T17:06:19.000Z | etl/parsers/etw/Microsoft_Windows_Shell_DefaultPrograms.py | IMULMUL/etl-parser | 76b7c046866ce0469cd129ee3f7bb3799b34e271 | [
"Apache-2.0"
] | 16 | 2020-03-05T18:55:59.000Z | 2022-03-01T10:19:28.000Z | # -*- coding: utf-8 -*-
"""
Microsoft-Windows-Shell-DefaultPrograms
GUID : 65d99466-7a8e-489c-b8e1-962bc945031e
"""
from construct import Int8sl, Int8ul, Int16ul, Int16sl, Int32sl, Int32ul, Int64sl, Int64ul, Bytes, Double, Float32l, Struct
from etl.utils import WString, CString, SystemTime, Guid
from etl.dtyp import Si... | 30.582418 | 123 | 0.68092 | 298 | 2,783 | 6.197987 | 0.187919 | 0.077964 | 0.102328 | 0.17542 | 0.855441 | 0.855441 | 0.83595 | 0.623714 | 0.623714 | 0.623714 | 0 | 0.136018 | 0.19691 | 2,783 | 90 | 124 | 30.922222 | 0.69038 | 0.038088 | 0 | 0.588235 | 0 | 0 | 0.251874 | 0.173913 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.058824 | 0 | 0.294118 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 5 |
4cfdf9fcab18ae799fc3f87cede5e51e242a052d | 117 | py | Python | data/__init__.py | Amirelkanov/AmEl_Tourism_VK | cc5a0cb0ca3a3ac91ab5ec05ae878fc0b82d7768 | [
"Apache-2.0"
] | 1 | 2020-04-15T09:00:59.000Z | 2020-04-15T09:00:59.000Z | data/__init__.py | Amirelkanov/AmEl_Tourism_VK | cc5a0cb0ca3a3ac91ab5ec05ae878fc0b82d7768 | [
"Apache-2.0"
] | null | null | null | data/__init__.py | Amirelkanov/AmEl_Tourism_VK | cc5a0cb0ca3a3ac91ab5ec05ae878fc0b82d7768 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python
# -*- coding: utf-8 -*-
from .articles import Article, Category
from .user_info import VKUserInfo
| 19.5 | 39 | 0.717949 | 16 | 117 | 5.1875 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009901 | 0.136752 | 117 | 5 | 40 | 23.4 | 0.811881 | 0.324786 | 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 | 1 | 0 | 0 | 5 |
9810da4a18019e06ee3f11864903aa81e016d205 | 2,724 | py | Python | tests/test_decorator.py | filipre/signalbot | 781aace7fba553beaf76ec4ed70412eb07a4ac81 | [
"MIT"
] | 8 | 2021-11-21T22:19:19.000Z | 2022-03-25T01:26:51.000Z | tests/test_decorator.py | filipre/signalbot | 781aace7fba553beaf76ec4ed70412eb07a4ac81 | [
"MIT"
] | 9 | 2022-02-28T10:01:23.000Z | 2022-03-14T06:03:44.000Z | tests/test_decorator.py | filipre/signalbot | 781aace7fba553beaf76ec4ed70412eb07a4ac81 | [
"MIT"
] | null | null | null | import unittest
from unittest.mock import patch
import logging
from signalbot import Command, Context, triggered
from signalbot.utils import ChatTestCase, SendMessagesMock, ReceiveMessagesMock
class TriggeredCommand(Command):
def describe(self) -> str:
return "😤 Triggered Command: Decorator Example"
... | 35.842105 | 79 | 0.720264 | 309 | 2,724 | 6.165049 | 0.210356 | 0.073491 | 0.120735 | 0.070866 | 0.79685 | 0.79685 | 0.79685 | 0.79685 | 0.79685 | 0.771129 | 0 | 0.002205 | 0.167401 | 2,724 | 75 | 80 | 36.32 | 0.836861 | 0 | 0 | 0.655172 | 0 | 0 | 0.153084 | 0.093612 | 0 | 0 | 0 | 0 | 0.086207 | 1 | 0.068966 | false | 0 | 0.086207 | 0.034483 | 0.258621 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 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 | 5 |
981747046b424e96fd1e39cd36ec771602926ebf | 96 | py | Python | app/tests/runtest.py | yeyan00/fastapi-demo | ac3a7c5942ded55e832a5354c0cb056044c38dd6 | [
"Apache-2.0"
] | 4 | 2020-12-22T17:23:57.000Z | 2021-12-20T01:28:25.000Z | app/tests/runtest.py | yeyan00/fastapi-tutorial | 7432e4f95bc7630456e9f186a8104bc4e3ae5f81 | [
"Apache-2.0"
] | null | null | null | app/tests/runtest.py | yeyan00/fastapi-tutorial | 7432e4f95bc7630456e9f186a8104bc4e3ae5f81 | [
"Apache-2.0"
] | null | null | null | import pytest
if __name__ == "__main__":
#pytest.main(['-s', 'test_2.py'])
pytest.main() | 24 | 37 | 0.614583 | 13 | 96 | 3.846154 | 0.692308 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0125 | 0.166667 | 96 | 4 | 38 | 24 | 0.6125 | 0.333333 | 0 | 0 | 0 | 0 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 5 |
e24008bc003819e07db34dbf89677cf3bf061489 | 33 | py | Python | src/repositories/__init__.py | ramasubbaiya/flask-api-starter-kit | 3f00769f349908ffa5ccc7acb332d70e1f2c6f6f | [
"MIT"
] | 393 | 2016-11-21T10:52:01.000Z | 2022-03-28T13:37:27.000Z | src/repositories/__init__.py | Faisal-FS/flask-api-starter-kit | d8a1cfd7428684114c4acd9cc432d1f5fdbe0f19 | [
"MIT"
] | 10 | 2019-09-04T03:43:35.000Z | 2019-09-11T06:35:22.000Z | src/repositories/__init__.py | Faisal-FS/flask-api-starter-kit | d8a1cfd7428684114c4acd9cc432d1f5fdbe0f19 | [
"MIT"
] | 127 | 2017-04-20T11:33:00.000Z | 2022-03-28T06:28:44.000Z | from .user import UserRepository
| 16.5 | 32 | 0.848485 | 4 | 33 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 5 |
e27a6048aa1ab6fd36f4fefebd86011ae06f5260 | 142 | py | Python | modules/__init__.py | MirPresT/factvest | 864ff8d22b5387531c57538242c57ee0fdba509b | [
"MIT"
] | null | null | null | modules/__init__.py | MirPresT/factvest | 864ff8d22b5387531c57538242c57ee0fdba509b | [
"MIT"
] | null | null | null | modules/__init__.py | MirPresT/factvest | 864ff8d22b5387531c57538242c57ee0fdba509b | [
"MIT"
] | null | null | null | from .priceHistory import PriceHistory
from .returnHistory import ReturnHistory
from .performance import Performance
from .price import Price
| 28.4 | 40 | 0.859155 | 16 | 142 | 7.625 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112676 | 142 | 4 | 41 | 35.5 | 0.968254 | 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 | 1 | 0 | 0 | 5 |
e29a8844944de3994b1295693fd23c2eec894704 | 156 | py | Python | staticforms/handlers/ping.py | unocongafas/staticforms | d16d298fcb4b18f2a8658ba40c1ee14e17dd8305 | [
"Apache-2.0"
] | null | null | null | staticforms/handlers/ping.py | unocongafas/staticforms | d16d298fcb4b18f2a8658ba40c1ee14e17dd8305 | [
"Apache-2.0"
] | null | null | null | staticforms/handlers/ping.py | unocongafas/staticforms | d16d298fcb4b18f2a8658ba40c1ee14e17dd8305 | [
"Apache-2.0"
] | null | null | null | """Ping."""
from starlette.responses import UJSONResponse
async def get(request):
"""Handle ping request."""
return UJSONResponse({'pong': True})
| 19.5 | 45 | 0.685897 | 17 | 156 | 6.294118 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 156 | 7 | 46 | 22.285714 | 0.810606 | 0.032051 | 0 | 0 | 0 | 0 | 0.033613 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
e2a07c0c3d200381d80c2e568c829b3f1e51ff66 | 161 | py | Python | Aula_55/dao/livro_dao.py | Mateus-Silva11/AulasPython | d34dc4f62ade438e68b0a80e0baac4d6ec0d378e | [
"MIT"
] | null | null | null | Aula_55/dao/livro_dao.py | Mateus-Silva11/AulasPython | d34dc4f62ade438e68b0a80e0baac4d6ec0d378e | [
"MIT"
] | null | null | null | Aula_55/dao/livro_dao.py | Mateus-Silva11/AulasPython | d34dc4f62ade438e68b0a80e0baac4d6ec0d378e | [
"MIT"
] | null | null | null | from Aula_55.dao.base_dao import BaseDao
from Aula_55.model.livro import Livro
class LivroDao(BaseDao):
def __init__(self):
super().__init__(Livro)
| 23 | 40 | 0.745342 | 24 | 161 | 4.541667 | 0.625 | 0.146789 | 0.183486 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02963 | 0.161491 | 161 | 6 | 41 | 26.833333 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
2c9ce5e90582090ff1877f5b99ab86154c50d543 | 4,854 | py | Python | pkmodel/check_inputs.py | NERC-DTP-Students/pk-project | 36c1e52f5dcdb5cfb2c59b3d6a4bde415ff71e94 | [
"MIT"
] | null | null | null | pkmodel/check_inputs.py | NERC-DTP-Students/pk-project | 36c1e52f5dcdb5cfb2c59b3d6a4bde415ff71e94 | [
"MIT"
] | 9 | 2021-10-21T09:47:30.000Z | 2021-10-21T16:05:26.000Z | pkmodel/check_inputs.py | NERC-DTP-Students/pk-project | 36c1e52f5dcdb5cfb2c59b3d6a4bde415ff71e94 | [
"MIT"
] | null | null | null | def check_inputs(number_of_models, model_1_inputs, model_2_inputs=None):
"""Checks that the user inputs make logical sense
e.g. have they specified the number of models to be 2
but only given data for one model."""
# check model comparison information
# check model 2 is added if number of models ... | 44.127273 | 100 | 0.671817 | 744 | 4,854 | 4.142473 | 0.123656 | 0.044776 | 0.066191 | 0.063595 | 0.848151 | 0.827385 | 0.768332 | 0.753407 | 0.667099 | 0.625568 | 0 | 0.036844 | 0.250721 | 4,854 | 109 | 101 | 44.53211 | 0.810558 | 0.242686 | 0 | 0.163934 | 0 | 0 | 0.196154 | 0.073077 | 0 | 0 | 0 | 0 | 0 | 1 | 0.016393 | false | 0 | 0 | 0 | 0.016393 | 0.147541 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 5 |
e2bdced932cce98369b2f9ffdcacba397a7aa2a2 | 437 | py | Python | 8kyu/test_get_nth_even_number.py | adun/codewars.py | 89e7d81e9ca05a432007d634892c1cba28f5b715 | [
"MIT"
] | null | null | null | 8kyu/test_get_nth_even_number.py | adun/codewars.py | 89e7d81e9ca05a432007d634892c1cba28f5b715 | [
"MIT"
] | null | null | null | 8kyu/test_get_nth_even_number.py | adun/codewars.py | 89e7d81e9ca05a432007d634892c1cba28f5b715 | [
"MIT"
] | null | null | null | # Return the Nth Even Number
# nthEven(1) //=> 0, the first even number is 0
# nthEven(3) //=> 4, the 3rd even number is 4 (0, 2, 4)
# nthEven(100) //=> 198
# nthEven(1298734) //=> 2597466
# The input will not be 0.
def nth_even(n):
return 2 * (n - 1)
def test_nth_even():
assert nth_even(1) == 0
assert ... | 23 | 55 | 0.613272 | 75 | 437 | 3.466667 | 0.346667 | 0.215385 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176119 | 0.23341 | 437 | 18 | 56 | 24.277778 | 0.6 | 0.464531 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.625 | 1 | 0.25 | false | 0 | 0 | 0.125 | 0.375 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
e2d587c1a192a050e59a9489002e9b85119c5a80 | 95 | py | Python | analysis/__init__.py | teacup123123/fx-predictor | 5c25b6f0cb5435a2294262f4ac2681b38abb1dac | [
"MIT"
] | null | null | null | analysis/__init__.py | teacup123123/fx-predictor | 5c25b6f0cb5435a2294262f4ac2681b38abb1dac | [
"MIT"
] | null | null | null | analysis/__init__.py | teacup123123/fx-predictor | 5c25b6f0cb5435a2294262f4ac2681b38abb1dac | [
"MIT"
] | null | null | null | import os.path
root, _ = os.path.split(__file__)
pickles_root = os.path.join(root, 'pickles')
| 19 | 44 | 0.726316 | 15 | 95 | 4.2 | 0.533333 | 0.285714 | 0.31746 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115789 | 95 | 4 | 45 | 23.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.073684 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 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 | 1 | 0 | 0 | 0 | 0 | 5 |
3929a5ceeb4b46cf45ac3e647d20880ea2937e33 | 57 | py | Python | package_creator/__init__.py | gavinhughpalmer/sfdc-field-creator | 7cd3fb2382b435e70c71dc4ef9a5de797dab4b8d | [
"MIT"
] | 1 | 2019-10-07T20:01:41.000Z | 2019-10-07T20:01:41.000Z | package_creator/__init__.py | gavinhughpalmer/sfdc-field-creator | 7cd3fb2382b435e70c71dc4ef9a5de797dab4b8d | [
"MIT"
] | null | null | null | package_creator/__init__.py | gavinhughpalmer/sfdc-field-creator | 7cd3fb2382b435e70c71dc4ef9a5de797dab4b8d | [
"MIT"
] | 2 | 2019-04-02T18:50:15.000Z | 2021-05-06T20:41:04.000Z | from package_creator.config_manager import ConfigManager
| 28.5 | 56 | 0.912281 | 7 | 57 | 7.142857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070175 | 57 | 1 | 57 | 57 | 0.943396 | 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 | 1 | 0 | 0 | 5 |
1a76a7b2bac4a3896503a2c3a27ddc7c43571748 | 133 | py | Python | sites/moodle/get_website_url.py | GeorgOhneH/ethz-document-fetcher | 42921e5d71698a269eb54cf9d3979e4a7d88a9cf | [
"MIT"
] | 15 | 2020-03-17T15:43:46.000Z | 2022-01-08T04:23:49.000Z | sites/moodle/get_website_url.py | GeorgOhneH/ethz-document-fetcher | 42921e5d71698a269eb54cf9d3979e4a7d88a9cf | [
"MIT"
] | 5 | 2020-03-12T10:05:27.000Z | 2021-03-03T16:01:47.000Z | sites/moodle/get_website_url.py | GeorgOhneH/ethz-document-fetcher | 42921e5d71698a269eb54cf9d3979e4a7d88a9cf | [
"MIT"
] | 2 | 2020-03-17T17:09:20.000Z | 2020-12-28T22:59:17.000Z | from .constants import BASE_URL
def get_website_url(moodle_id, **kwargs):
return BASE_URL + f"/course/view.php?id={moodle_id}"
| 22.166667 | 56 | 0.744361 | 22 | 133 | 4.227273 | 0.727273 | 0.150538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12782 | 133 | 5 | 57 | 26.6 | 0.801724 | 0 | 0 | 0 | 0 | 0 | 0.233083 | 0.233083 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 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 | 1 | 1 | 0 | 0 | 0 | 5 |
1a8ef1bc92009e30a6a9d036241a67e95834408d | 996 | py | Python | Packages/Patterns_Packages/Alphabets/Upper_Case_alphabets/S.py | SaikumarS2611/Python | 205f5aaba3bd2de714503b5bed8853d24e85329e | [
"MIT"
] | null | null | null | Packages/Patterns_Packages/Alphabets/Upper_Case_alphabets/S.py | SaikumarS2611/Python | 205f5aaba3bd2de714503b5bed8853d24e85329e | [
"MIT"
] | null | null | null | Packages/Patterns_Packages/Alphabets/Upper_Case_alphabets/S.py | SaikumarS2611/Python | 205f5aaba3bd2de714503b5bed8853d24e85329e | [
"MIT"
] | null | null | null | def for_S():
""" Upper case Alphabet letter 'S' pattern using Python for loop"""
for row in range(7):
for col in range(5):
if row%3==0 and col>0 and col<4 or col==0 and row%3!=0 and row<3 or col==4 and row%3!=0 and row>3:
pri... | 36.888889 | 123 | 0.35743 | 122 | 996 | 2.901639 | 0.229508 | 0.112994 | 0.158192 | 0.135593 | 0.717514 | 0.717514 | 0.717514 | 0.717514 | 0.717514 | 0.474576 | 0 | 0.068085 | 0.528112 | 996 | 26 | 124 | 38.307692 | 0.685106 | 0.123494 | 0 | 0.5 | 0 | 0 | 0.009592 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0 | 0 | 0.1 | 0.3 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
1a925cb46f3891f1fdd63403046a5b8d39c0a1ad | 229 | py | Python | genegram/__init__.py | vadyushkins/Genegram | 930d388a90c338fbde998a6be34a29f0a656c288 | [
"Apache-2.0"
] | 1 | 2021-11-21T20:41:12.000Z | 2021-11-21T20:41:12.000Z | genegram/__init__.py | vadyushkins/Genegram | 930d388a90c338fbde998a6be34a29f0a656c288 | [
"Apache-2.0"
] | 30 | 2021-09-16T14:41:46.000Z | 2021-10-16T10:43:47.000Z | genegram/__init__.py | vadyushkins/Genegram | 930d388a90c338fbde998a6be34a29f0a656c288 | [
"Apache-2.0"
] | 2 | 2021-09-07T13:04:27.000Z | 2021-09-07T13:05:51.000Z | import genegram.shared
from genegram.shared import *
import genegram.cfpq_pyalgo
from genegram.cfpq_pyalgo import *
import genegram.parsing
from genegram.parsing import *
import genegram.predict
from genegram.predict import *
| 19.083333 | 34 | 0.829694 | 30 | 229 | 6.266667 | 0.266667 | 0.297872 | 0.319149 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117904 | 229 | 11 | 35 | 20.818182 | 0.930693 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
1a9e152d6f94befa705236b11f0938129242bf8c | 19 | py | Python | h2o/__init__.py | iceb0y/pyh2o | 619d46bb381a2ad0b99147c8a11271b9cfc6cce2 | [
"MIT"
] | 21 | 2016-09-05T08:24:58.000Z | 2021-01-12T08:16:02.000Z | h2o/__init__.py | iceboy-sjtu/pyh2o | 619d46bb381a2ad0b99147c8a11271b9cfc6cce2 | [
"MIT"
] | null | null | null | h2o/__init__.py | iceboy-sjtu/pyh2o | 619d46bb381a2ad0b99147c8a11271b9cfc6cce2 | [
"MIT"
] | 2 | 2017-04-07T13:36:26.000Z | 2019-12-31T03:21:37.000Z | from .h2o import *
| 9.5 | 18 | 0.684211 | 3 | 19 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 0.210526 | 19 | 1 | 19 | 19 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 5 |
1aa1609a1f703471c04dfca75ac6ed0b93ec005a | 208 | py | Python | mediaman/core/index/base.py | MattCCS/MediaMan | 388c0d16da437b0ede4f0903a01e41dc8e927ae6 | [
"BSD-3-Clause-Clear"
] | 1 | 2019-05-06T19:51:08.000Z | 2019-05-06T19:51:08.000Z | mediaman/core/index/base.py | MattCCS/MediaMan | 388c0d16da437b0ede4f0903a01e41dc8e927ae6 | [
"BSD-3-Clause-Clear"
] | 1 | 2021-02-08T20:22:34.000Z | 2021-02-08T20:22:34.000Z | mediaman/core/index/base.py | MattCCS/MediaMan | 388c0d16da437b0ede4f0903a01e41dc8e927ae6 | [
"BSD-3-Clause-Clear"
] | null | null | null |
from mediaman.core.index import abstract
class BaseIndex(abstract.AbstractIndex):
def stats(self):
return self.stats.capacity()
def capacity(self):
return self.service.capacity()
| 17.333333 | 40 | 0.697115 | 24 | 208 | 6.041667 | 0.625 | 0.137931 | 0.193103 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206731 | 208 | 11 | 41 | 18.909091 | 0.878788 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.333333 | 1 | 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 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
1abc2dfe82c091849b7f24bf3182adcbd97f0ced | 226 | py | Python | stripe_modern/api_resources/reporting/__init__.py | photocrowd/stripe-python | 7c705e3d41f38f8524e419eb7ea18c1425a4ad89 | [
"MIT"
] | null | null | null | stripe_modern/api_resources/reporting/__init__.py | photocrowd/stripe-python | 7c705e3d41f38f8524e419eb7ea18c1425a4ad89 | [
"MIT"
] | null | null | null | stripe_modern/api_resources/reporting/__init__.py | photocrowd/stripe-python | 7c705e3d41f38f8524e419eb7ea18c1425a4ad89 | [
"MIT"
] | null | null | null | from __future__ import absolute_import, division, print_function
# flake8: noqa
from stripe_modern.api_resources.reporting.report_run import ReportRun
from stripe_modern.api_resources.reporting.report_type import ReportType
| 32.285714 | 72 | 0.871681 | 30 | 226 | 6.166667 | 0.633333 | 0.108108 | 0.172973 | 0.205405 | 0.464865 | 0.464865 | 0.464865 | 0 | 0 | 0 | 0 | 0.004831 | 0.084071 | 226 | 6 | 73 | 37.666667 | 0.888889 | 0.053097 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.333333 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
201f39b869282b1e173c28dc51096f1b3b70a825 | 87 | py | Python | stockmanager/admin.py | JAYBLA/Inventory-Management-System | 121882e1846eebe5bb4a99e7c5e92768c813610b | [
"MIT"
] | 1 | 2022-03-12T04:00:10.000Z | 2022-03-12T04:00:10.000Z | stocks/quotes/admin.py | DhruvilShah22/Stock-PortFolio | 361060239d8c26e54877a3ecbbddc2c6d64b53be | [
"MIT"
] | null | null | null | stocks/quotes/admin.py | DhruvilShah22/Stock-PortFolio | 361060239d8c26e54877a3ecbbddc2c6d64b53be | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Stock
admin.site.register(Stock)
| 17.4 | 32 | 0.816092 | 13 | 87 | 5.461538 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114943 | 87 | 4 | 33 | 21.75 | 0.922078 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
204d3ee53613dc4292c9220909d5e3fa51295f15 | 1,173 | py | Python | gripql/python/gripql/operators.py | pagreene/grip | 0ee07f6e14dd5062b88e75efe5263801503792d1 | [
"MIT"
] | null | null | null | gripql/python/gripql/operators.py | pagreene/grip | 0ee07f6e14dd5062b88e75efe5263801503792d1 | [
"MIT"
] | null | null | null | gripql/python/gripql/operators.py | pagreene/grip | 0ee07f6e14dd5062b88e75efe5263801503792d1 | [
"MIT"
] | null | null | null | from __future__ import absolute_import, print_function, unicode_literals
def and_(*expressions):
return {"and": {"expressions": expressions}}
def or_(*expressions):
return {"or": {"expressions": expressions}}
def not_(expression):
return {"not": expression}
def eq(key, value):
return {"condition... | 23.938776 | 79 | 0.613811 | 137 | 1,173 | 5.175182 | 0.226277 | 0.169252 | 0.203103 | 0.236953 | 0.510578 | 0.473907 | 0.473907 | 0.473907 | 0.473907 | 0 | 0 | 0 | 0.180733 | 1,173 | 48 | 80 | 24.4375 | 0.737773 | 0 | 0 | 0 | 0 | 0 | 0.224211 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.423077 | false | 0 | 0.038462 | 0.384615 | 0.884615 | 0.038462 | 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 | 1 | 0 | 0 | 5 |
644a41da13f77f2c2cf05082f95f44263e687ca5 | 90 | py | Python | core/api/permissions.py | christianmtr/my_django_template | 0d51bd62b6ea2d4dc66053914162944d5af25b39 | [
"MIT"
] | 4 | 2020-08-10T01:56:06.000Z | 2021-10-18T08:02:14.000Z | core/api/permissions.py | christianmtr/my_django_template | 0d51bd62b6ea2d4dc66053914162944d5af25b39 | [
"MIT"
] | null | null | null | core/api/permissions.py | christianmtr/my_django_template | 0d51bd62b6ea2d4dc66053914162944d5af25b39 | [
"MIT"
] | null | null | null | from rest_framework.permissions import BasePermission
# add your custom permissions here
| 22.5 | 53 | 0.855556 | 11 | 90 | 6.909091 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122222 | 90 | 3 | 54 | 30 | 0.962025 | 0.355556 | 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 | 1 | 0 | 0 | 5 |
644fe0dfd40c59baba3f28d2847e7a07d5f4209a | 20,530 | py | Python | server/tests/server_test.py | albrycht/MoveBlockDetector | b9a5c5634788e06bb565976afea933b04f9f47ac | [
"MIT"
] | 1 | 2021-03-20T10:21:45.000Z | 2021-03-20T10:21:45.000Z | server/tests/server_test.py | albrycht/MoveBlockDetector | b9a5c5634788e06bb565976afea933b04f9f47ac | [
"MIT"
] | null | null | null | server/tests/server_test.py | albrycht/MoveBlockDetector | b9a5c5634788e06bb565976afea933b04f9f47ac | [
"MIT"
] | null | null | null | from textwrap import dedent
import requests
from falcon import testing
from unidiff import PatchSet
import json
from detector import split_to_leading_whitespace_and_trim_text
from main import create_api
from tests.detector_tests import ChangedLines
from tests.github_token import GITHUB_TOKEN
class MyTestCase(testin... | 49.46988 | 186 | 0.491866 | 2,233 | 20,530 | 4.355575 | 0.132109 | 0.023031 | 0.032696 | 0.041127 | 0.78429 | 0.769278 | 0.763932 | 0.756735 | 0.750154 | 0.750154 | 0 | 0.041818 | 0.40945 | 20,530 | 414 | 187 | 49.589372 | 0.760393 | 0 | 0 | 0.425316 | 0 | 0.126582 | 0.489576 | 0.065757 | 0 | 0 | 0 | 0 | 0.017722 | 1 | 0.01519 | false | 0 | 0.022785 | 0 | 0.04557 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 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 | 5 |
6477ace092dc50df0c1eaf2cd63fecee75f266e6 | 342 | py | Python | crowdsrc/src/views/__init__.py | BenEast/crowdsrc-backend | d06f0379e60bbac11128b3dd94dbc2d40b5f7a2e | [
"MIT"
] | null | null | null | crowdsrc/src/views/__init__.py | BenEast/crowdsrc-backend | d06f0379e60bbac11128b3dd94dbc2d40b5f7a2e | [
"MIT"
] | null | null | null | crowdsrc/src/views/__init__.py | BenEast/crowdsrc-backend | d06f0379e60bbac11128b3dd94dbc2d40b5f7a2e | [
"MIT"
] | null | null | null | from .views import *
from .auth_views import *
from .crowd_views import *
from .user_views import *
from .user_settings_views import *
from .project_views import *
from .skill_views import *
from .task_views import *
from .task_submission_views import *
from .team_message_views import *
from .review_views import *
from... | 28.5 | 36 | 0.792398 | 50 | 342 | 5.14 | 0.3 | 0.513619 | 0.642023 | 0.14786 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137427 | 342 | 12 | 37 | 28.5 | 0.871186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
6487bafb51fc3dcff6cdbed37429732ca7a4f0c7 | 104 | py | Python | bin/downloads.py | meghdadFar/snlp | deb37b12bc5112b74d0bf8187f47b5d36bf6b943 | [
"MIT"
] | 4 | 2021-01-12T15:16:16.000Z | 2021-08-06T08:38:35.000Z | bin/downloads.py | meghdadFar/snlp | deb37b12bc5112b74d0bf8187f47b5d36bf6b943 | [
"MIT"
] | null | null | null | bin/downloads.py | meghdadFar/snlp | deb37b12bc5112b74d0bf8187f47b5d36bf6b943 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
import nltk
nltk.download('averaged_perceptron_tagger')
nltk.download('stopwords') | 26 | 43 | 0.807692 | 14 | 104 | 5.857143 | 0.785714 | 0.292683 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.048077 | 104 | 4 | 44 | 26 | 0.828283 | 0.192308 | 0 | 0 | 0 | 0 | 0.416667 | 0.309524 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 5 |
64a5de31631ecbb9f0be0e66ab762b5de94e082f | 220 | py | Python | jaguar/components/__init__.py | calston/tinyjaguar | 78614b6c3beb82a1b20cb0bda038c972214119d5 | [
"MIT"
] | 9 | 2017-03-16T15:59:43.000Z | 2020-10-08T03:39:13.000Z | jaguar/components/__init__.py | calston/tinyjaguar | 78614b6c3beb82a1b20cb0bda038c972214119d5 | [
"MIT"
] | null | null | null | jaguar/components/__init__.py | calston/tinyjaguar | 78614b6c3beb82a1b20cb0bda038c972214119d5 | [
"MIT"
] | null | null | null | from .lcd import CharacterDisplay
from .mcp41 import MCP410x0
from .segment import SegmentDisplay
from .shift_register import ShiftRegister
from .mcp3008 import MCP3008
from .button import Button
from .out import Output
| 27.5 | 41 | 0.840909 | 29 | 220 | 6.344828 | 0.517241 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072917 | 0.127273 | 220 | 7 | 42 | 31.428571 | 0.885417 | 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 | 1 | 0 | 0 | 5 |
64b380e2c9e5fc61b5b3c34b57f0eb932404bfe0 | 30 | py | Python | strategies/gdumb/__init__.py | rmassidda/reproducible-continual-learning | ed7b7db634038d9d4312c2c54b15ca8eead1c07c | [
"MIT"
] | 53 | 2021-04-20T15:41:23.000Z | 2022-03-30T17:24:36.000Z | strategies/gdumb/__init__.py | rmassidda/reproducible-continual-learning | ed7b7db634038d9d4312c2c54b15ca8eead1c07c | [
"MIT"
] | 14 | 2021-10-08T10:35:31.000Z | 2022-03-29T14:00:06.000Z | strategies/gdumb/__init__.py | rmassidda/reproducible-continual-learning | ed7b7db634038d9d4312c2c54b15ca8eead1c07c | [
"MIT"
] | 7 | 2021-11-02T15:39:57.000Z | 2022-03-31T03:25:04.000Z | from .experiment import GDumb
| 15 | 29 | 0.833333 | 4 | 30 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.961538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 5 |
64ceebc77ce40e1c33743bbecc2c36f9d1d71d9d | 249 | py | Python | nginxpla/nginxpla_module.py | evirma/nginxpla | 24ff15809cb3c6f81821c09d07e52c629fca491a | [
"MIT"
] | null | null | null | nginxpla/nginxpla_module.py | evirma/nginxpla | 24ff15809cb3c6f81821c09d07e52c629fca491a | [
"MIT"
] | null | null | null | nginxpla/nginxpla_module.py | evirma/nginxpla | 24ff15809cb3c6f81821c09d07e52c629fca491a | [
"MIT"
] | null | null | null | from abc import ABCMeta, abstractmethod
class NginxplaModule:
__metaclass__ = ABCMeta
is_needed = None
@abstractmethod
def report(self) -> str:
pass
def handle_report(self, report: str) -> str:
return report
| 16.6 | 48 | 0.658635 | 27 | 249 | 5.851852 | 0.666667 | 0.126582 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.273092 | 249 | 14 | 49 | 17.785714 | 0.872928 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0.111111 | 0.111111 | 0.111111 | 0.777778 | 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 | 1 | 1 | 0 | 0 | 5 |
64d043d0d3cd986fb4b52ffc61033db81c9c234c | 143 | py | Python | travelperk_python_api_types/users/users/name.py | namelivia/travelperk-python-api-types | d71cee9757938ed4189479c81e4f2ff1f73ca489 | [
"MIT"
] | null | null | null | travelperk_python_api_types/users/users/name.py | namelivia/travelperk-python-api-types | d71cee9757938ed4189479c81e4f2ff1f73ca489 | [
"MIT"
] | 1 | 2021-09-03T04:20:35.000Z | 2021-09-03T04:20:35.000Z | travelperk_python_api_types/users/users/name.py | namelivia/travelperk-python-api-types | d71cee9757938ed4189479c81e4f2ff1f73ca489 | [
"MIT"
] | null | null | null | from pydantic.dataclasses import dataclass
@dataclass
class Name:
first_name: str
last_name: str
middle_name: str
title: str
| 14.3 | 42 | 0.72028 | 19 | 143 | 5.263158 | 0.631579 | 0.21 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 143 | 9 | 43 | 15.888889 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.142857 | 0 | 0.857143 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
b38115b2a5969adce31b983c85bbe4525bc5a513 | 1,047 | py | Python | tabpy/tabpy_server/handlers/__init__.py | phantomcosmonaut/TabPy | 43cce449cdcb5c99202d68f1a6af4d355d3e3734 | [
"MIT"
] | null | null | null | tabpy/tabpy_server/handlers/__init__.py | phantomcosmonaut/TabPy | 43cce449cdcb5c99202d68f1a6af4d355d3e3734 | [
"MIT"
] | null | null | null | tabpy/tabpy_server/handlers/__init__.py | phantomcosmonaut/TabPy | 43cce449cdcb5c99202d68f1a6af4d355d3e3734 | [
"MIT"
] | null | null | null | from tabpy.tabpy_server.handlers.base_handler import BaseHandler
from tabpy.tabpy_server.handlers.main_handler import MainHandler
from tabpy.tabpy_server.handlers.management_handler import ManagementHandler
from tabpy.tabpy_server.handlers.endpoint_handler import EndpointHandler
from tabpy.tabpy_server.handlers.endpoin... | 61.588235 | 87 | 0.897803 | 130 | 1,047 | 6.984615 | 0.284615 | 0.138767 | 0.215859 | 0.30837 | 0.431718 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059217 | 1,047 | 16 | 88 | 65.4375 | 0.921827 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.875 | 0 | 0.875 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
b3838ddc79a4c37ae9a5aca953738f06d772d53c | 317 | py | Python | Raspberry/raspberry-bluetooth-conf/bluetooth_connect_resend.py | AMM-VSU/scada-vsu | 5aedd7c7f0738af980dfa62264c5b8f711cc04eb | [
"MIT"
] | 1 | 2017-10-29T10:01:34.000Z | 2017-10-29T10:01:34.000Z | Raspberry/raspberry-bluetooth-conf/bluetooth_connect_resend.py | AMM-VSU/SCADA-VSU | 5aedd7c7f0738af980dfa62264c5b8f711cc04eb | [
"MIT"
] | null | null | null | Raspberry/raspberry-bluetooth-conf/bluetooth_connect_resend.py | AMM-VSU/SCADA-VSU | 5aedd7c7f0738af980dfa62264c5b8f711cc04eb | [
"MIT"
] | null | null | null | import serial
from time import sleep
while True:
try:
bluetoothSerial = serial.Serial( "/dev/rfcomm2", baudrate=9600 )
s = bluetoothSerial.readline()
print s
bluetoothSerial = serial.Serial("/dev/rfcomm1", baudrate=9600)
bluetoothSerial.write(s)
except:
pass
| 24.384615 | 72 | 0.637224 | 33 | 317 | 6.121212 | 0.606061 | 0.207921 | 0.267327 | 0.29703 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043103 | 0.268139 | 317 | 12 | 73 | 26.416667 | 0.827586 | 0 | 0 | 0 | 0 | 0 | 0.07571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.090909 | 0.181818 | null | null | 0.090909 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
b3bf4cb7f349322c3c88a39d900e628db0e33c08 | 220 | py | Python | dpd_info_client_api/settings.py | haloween/dpd-client-info-service-api-python | 8715e04e10b845b6e9fafa5d11eed42968adc764 | [
"MIT"
] | 1 | 2019-08-10T09:14:37.000Z | 2019-08-10T09:14:37.000Z | dpd_info_client_api/settings.py | haloween/dpd-client-info-service-api-python | 8715e04e10b845b6e9fafa5d11eed42968adc764 | [
"MIT"
] | null | null | null | dpd_info_client_api/settings.py | haloween/dpd-client-info-service-api-python | 8715e04e10b845b6e9fafa5d11eed42968adc764 | [
"MIT"
] | null | null | null |
class DPDSettingsObject(object):
DPD_API_USERNAME = None
DPD_API_PASSWORD = None
DPD_API_FID = None
DPD_API_SANDBOX_USERNAME = None
DPD_API_SANDBOX_PASSWORD = None
DPD_API_SANDBOX_FID = None
| 16.923077 | 35 | 0.736364 | 30 | 220 | 4.9 | 0.333333 | 0.244898 | 0.340136 | 0.346939 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222727 | 220 | 12 | 36 | 18.333333 | 0.859649 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.285714 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
b3cebd89170907df4a426134fd8fd0771545948b | 66 | py | Python | src/data/__init__.py | Javicadserres/wind-production-forecast | 903fbf53d2ea34dc1a63e89cee252e76d6c25876 | [
"MIT"
] | null | null | null | src/data/__init__.py | Javicadserres/wind-production-forecast | 903fbf53d2ea34dc1a63e89cee252e76d6c25876 | [
"MIT"
] | null | null | null | src/data/__init__.py | Javicadserres/wind-production-forecast | 903fbf53d2ea34dc1a63e89cee252e76d6c25876 | [
"MIT"
] | null | null | null | from .dataset import Dataset
from .preprocessing import FrameTorch | 33 | 37 | 0.863636 | 8 | 66 | 7.125 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106061 | 66 | 2 | 37 | 33 | 0.966102 | 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 | 1 | 0 | 0 | 5 |
b3f24c714175958ec5b23d791693618252889a49 | 6,431 | py | Python | tests/test_smith_waterman.py | shaomingyang-lab/smart-match | 7e92412f7c6cb3ab7ce6b6a1f8e366b991ff31ce | [
"MIT"
] | null | null | null | tests/test_smith_waterman.py | shaomingyang-lab/smart-match | 7e92412f7c6cb3ab7ce6b6a1f8e366b991ff31ce | [
"MIT"
] | null | null | null | tests/test_smith_waterman.py | shaomingyang-lab/smart-match | 7e92412f7c6cb3ab7ce6b6a1f8e366b991ff31ce | [
"MIT"
] | 1 | 2022-03-19T07:45:51.000Z | 2022-03-19T07:45:51.000Z | import unittest
import smart_match
class TestSmithWaterman(unittest.TestCase):
def setUp(self):
smart_match.use('SW')
def test_similarity(self):
self.assertAlmostEqual(smart_match.similarity('Web Aplications', 'Web Application Development With PHP'), 0.8666666666666667)
self.asser... | 89.319444 | 183 | 0.747162 | 750 | 6,431 | 6.316 | 0.156 | 0.120329 | 0.29639 | 0.353388 | 0.866582 | 0.838083 | 0.680388 | 0.545493 | 0.370065 | 0.199704 | 0 | 0.066005 | 0.13777 | 6,431 | 71 | 184 | 90.577465 | 0.788278 | 0 | 0 | 0 | 0 | 0 | 0.347535 | 0 | 0 | 0 | 0 | 0 | 0.846154 | 1 | 0.061538 | false | 0 | 0.030769 | 0 | 0.107692 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 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 | 5 |
b600db2438537515fc330fb4c9d4b6733b83970a | 1,714 | py | Python | robotsdk/ubtmessage.py | BrightLin/Yanshee_play_wechat_jump_game | f2a7bacd96fd016a6666e36383426000d4c6ab3f | [
"Apache-2.0"
] | null | null | null | robotsdk/ubtmessage.py | BrightLin/Yanshee_play_wechat_jump_game | f2a7bacd96fd016a6666e36383426000d4c6ab3f | [
"Apache-2.0"
] | null | null | null | robotsdk/ubtmessage.py | BrightLin/Yanshee_play_wechat_jump_game | f2a7bacd96fd016a6666e36383426000d4c6ab3f | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python
# -*- coding: utf-8 -*-
import os
import time
import socket
import threading
from ctypes import *
from ubtinit import *
def sendmsg(ADDR,buf):
#-------- send udp msg ---------------------
udpclientSock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
udpclientSock.sendto(buf, ADDR... | 1,714 | 1,714 | 0.571179 | 188 | 1,714 | 5.138298 | 0.441489 | 0.062112 | 0.037267 | 0.041408 | 0.186335 | 0.080745 | 0.080745 | 0.080745 | 0 | 0 | 0 | 0.006319 | 0.261377 | 1,714 | 1 | 1,714 | 1,714 | 0.756714 | 0.994749 | 0 | 0.142857 | 0 | 0 | 0.027465 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.142857 | null | null | 0.047619 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
3766756ce033a36b9287ee8b5c6f0003b06a8c12 | 170 | py | Python | matchzoo/utils/__init__.py | MDoid10111/EMNLP2020 | 97e4da06abc72873a4830cfa53c035a27eb3975b | [
"MIT"
] | 42 | 2020-10-13T19:47:37.000Z | 2022-03-26T09:56:46.000Z | matchzoo/utils/__init__.py | MDoid10111/EMNLP2020 | 97e4da06abc72873a4830cfa53c035a27eb3975b | [
"MIT"
] | 3 | 2020-01-29T16:37:50.000Z | 2022-02-04T12:01:51.000Z | matchzoo/utils/__init__.py | MDoid10111/EMNLP2020 | 97e4da06abc72873a4830cfa53c035a27eb3975b | [
"MIT"
] | 5 | 2020-11-30T14:48:44.000Z | 2022-02-19T17:18:21.000Z | from .one_hot import one_hot
from .get_file import get_file
from .tensor_type import TensorType
from .list_recursive_subclasses import list_recursive_concrete_subclasses
| 34 | 73 | 0.882353 | 26 | 170 | 5.384615 | 0.5 | 0.085714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094118 | 170 | 4 | 74 | 42.5 | 0.909091 | 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 | 1 | 0 | 0 | 5 |
376a99220dc5eb51b3a4eae4f4669e3f971f67ba | 216 | py | Python | topCoder/srms/200s/srm284/div2/truck_loads.py | gauravsingh58/algo | 397859a53429e7a585e5f6964ad24146c6261326 | [
"WTFPL"
] | 1 | 2020-09-30T19:53:08.000Z | 2020-09-30T19:53:08.000Z | topCoder/srms/200s/srm284/div2/truck_loads.py | gauravsingh58/algo | 397859a53429e7a585e5f6964ad24146c6261326 | [
"WTFPL"
] | null | null | null | topCoder/srms/200s/srm284/div2/truck_loads.py | gauravsingh58/algo | 397859a53429e7a585e5f6964ad24146c6261326 | [
"WTFPL"
] | 1 | 2020-10-15T09:10:57.000Z | 2020-10-15T09:10:57.000Z | class Truckloads:
def numTrucks(self, numCrates, loadSize):
if numCrates <= loadSize:
return 1
return self.numTrucks(numCrates/2, loadSize) + self.numTrucks((numCrates+1)/2, loadSize)
| 36 | 96 | 0.662037 | 24 | 216 | 5.958333 | 0.458333 | 0.237762 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024096 | 0.231481 | 216 | 5 | 97 | 43.2 | 0.837349 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.8 | 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 | 1 | 0 | 0 | 5 |
376c836ecb9153d279d3d5818b24fcc7940e7afd | 135 | py | Python | ch21/FunctionGotchas/FunctionWithoutReturns.py | eroicaleo/LearningPython | 297d46eddce6e43ce0c160d2660dff5f5d616800 | [
"MIT"
] | 1 | 2020-10-12T13:33:29.000Z | 2020-10-12T13:33:29.000Z | ch21/FunctionGotchas/FunctionWithoutReturns.py | eroicaleo/LearningPython | 297d46eddce6e43ce0c160d2660dff5f5d616800 | [
"MIT"
] | null | null | null | ch21/FunctionGotchas/FunctionWithoutReturns.py | eroicaleo/LearningPython | 297d46eddce6e43ce0c160d2660dff5f5d616800 | [
"MIT"
] | 1 | 2016-11-09T07:28:45.000Z | 2016-11-09T07:28:45.000Z | #!/usr/bin/env python3
def proc(x):
print(x)
x = proc("testing 1, 2, 3...")
print("below is x: ")
print(x)
print("above is x: ")
| 13.5 | 30 | 0.57037 | 25 | 135 | 3.08 | 0.6 | 0.233766 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036697 | 0.192593 | 135 | 9 | 31 | 15 | 0.669725 | 0.155556 | 0 | 0.333333 | 0 | 0 | 0.371681 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0 | 0 | 0.166667 | 0.666667 | 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 | 1 | 0 | 5 |
37a370f1e97dfcded16c8e7f7733ed6e18fda3f1 | 38 | py | Python | src/utilities/__init__.py | UndergroundDetection/MICEMD | 5e55f323c6464d93e56554f8b6cca2d0b7724b23 | [
"MIT"
] | 4 | 2020-09-17T02:44:20.000Z | 2022-03-15T06:30:52.000Z | src/utilities/__init__.py | UndergroundDetection/MicEMD | 5e55f323c6464d93e56554f8b6cca2d0b7724b23 | [
"MIT"
] | null | null | null | src/utilities/__init__.py | UndergroundDetection/MicEMD | 5e55f323c6464d93e56554f8b6cca2d0b7724b23 | [
"MIT"
] | 2 | 2020-08-28T02:30:03.000Z | 2020-08-28T14:11:47.000Z | """the package is used for the GUI"""
| 19 | 37 | 0.657895 | 7 | 38 | 3.571429 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184211 | 38 | 1 | 38 | 38 | 0.806452 | 0.815789 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
37c9df726cadd0c3750f1c9ad8ce683bdd411db7 | 257 | py | Python | atlas/foundations_internal/src/foundations_internal/__init__.py | DeepLearnI/atlas | 8aca652d7e647b4e88530b93e265b536de7055ed | [
"Apache-2.0"
] | 296 | 2020-03-16T19:55:00.000Z | 2022-01-10T19:46:05.000Z | atlas/foundations_internal/src/foundations_internal/__init__.py | DeepLearnI/atlas | 8aca652d7e647b4e88530b93e265b536de7055ed | [
"Apache-2.0"
] | 57 | 2020-03-17T11:15:57.000Z | 2021-07-10T14:42:27.000Z | atlas/foundations_internal/src/foundations_internal/__init__.py | DeepLearnI/atlas | 8aca652d7e647b4e88530b93e265b536de7055ed | [
"Apache-2.0"
] | 38 | 2020-03-17T21:06:05.000Z | 2022-02-08T03:19:34.000Z |
def _append_module():
import sys
from foundations_internal.global_state import module_manager
module_manager.append_module(sys.modules[__name__])
def root():
from pathlib import Path
return Path(__file__).parents[0]
_append_module()
| 19.769231 | 64 | 0.758755 | 33 | 257 | 5.393939 | 0.606061 | 0.202247 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004651 | 0.163424 | 257 | 12 | 65 | 21.416667 | 0.823256 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.375 | 0 | 0.75 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
806d67e1d0ad46732646485c705eb3e85f94687d | 2,877 | py | Python | manuallists/modeling/train_probabilistic_models.py | tedunderwood/noveltmmeta | 0f6ad02db30aa7b5b67ac19eacc2919249fbfae9 | [
"MIT"
] | 13 | 2018-09-23T15:39:15.000Z | 2022-01-26T00:24:30.000Z | manuallists/modeling/train_probabilistic_models.py | tedunderwood/noveltmmeta | 0f6ad02db30aa7b5b67ac19eacc2919249fbfae9 | [
"MIT"
] | 1 | 2020-05-02T20:47:07.000Z | 2020-05-04T04:02:26.000Z | manuallists/modeling/train_probabilistic_models.py | tedunderwood/noveltmmeta | 0f6ad02db30aa7b5b67ac19eacc2919249fbfae9 | [
"MIT"
] | 7 | 2018-07-08T21:06:48.000Z | 2021-02-18T20:42:01.000Z | #!/usr/bin/env python3
# main_experiment.py
# USAGE syntax:
# python3 main_experiment.py *command*
import sys, os, csv, random
import numpy as np
import pandas as pd
import versatiletrainer2
import metaselector
from math import sqrt
import matplotlib.pyplot as plt
from scipy import stats
def train_juvmodel():
... | 39.410959 | 397 | 0.735836 | 287 | 2,877 | 7.264808 | 0.397213 | 0.011511 | 0.055635 | 0.084412 | 0.748201 | 0.748201 | 0.748201 | 0.748201 | 0.748201 | 0.748201 | 0 | 0.051852 | 0.15537 | 2,877 | 72 | 398 | 39.958333 | 0.806173 | 0.033368 | 0 | 0.553191 | 0 | 0 | 0.110991 | 0.016577 | 0 | 0 | 0 | 0 | 0 | 1 | 0.042553 | false | 0 | 0.170213 | 0 | 0.212766 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 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 | 5 |
808809bd15a3ed9767ab8501fd5b3e2ba08e92e0 | 56 | py | Python | EllucianEthosPythonClient/ResourceWrappers/__init__.py | rmetcalf9/EllucainEthosPythonClient | 6913322b1e583f655f67399f2baa763833583c27 | [
"MIT"
] | 1 | 2021-02-09T22:05:50.000Z | 2021-02-09T22:05:50.000Z | EllucianEthosPythonClient/ResourceWrappers/__init__.py | rmetcalf9/EllucainEthosPythonClient | 6913322b1e583f655f67399f2baa763833583c27 | [
"MIT"
] | 1 | 2020-07-02T11:44:54.000Z | 2020-07-02T11:45:38.000Z | EllucianEthosPythonClient/ResourceWrappers/__init__.py | rmetcalf9/EllucainEthosPythonClient | 6913322b1e583f655f67399f2baa763833583c27 | [
"MIT"
] | 1 | 2021-01-13T21:35:11.000Z | 2021-01-13T21:35:11.000Z |
from .ResourceWrapperFactory import getResourceWrapper
| 18.666667 | 54 | 0.892857 | 4 | 56 | 12.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089286 | 56 | 2 | 55 | 28 | 0.980392 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
80b2f0ce1f564621d44a552d7d05f5e6c861d756 | 220 | py | Python | tests/test_computing_plugin.py | marcojrfurtado/osmosis-on-premise-driver-plus | 7a6a0cadbc0345978d45856c6e80d5c9374c4670 | [
"Apache-2.0"
] | 1 | 2019-03-15T14:43:23.000Z | 2019-03-15T14:43:23.000Z | tests/test_computing_plugin.py | marcojrfurtado/osmosis-on-premise-driver-plus | 7a6a0cadbc0345978d45856c6e80d5c9374c4670 | [
"Apache-2.0"
] | 1 | 2019-03-20T01:01:02.000Z | 2019-03-22T14:58:38.000Z | tests/test_computing_plugin.py | marcojrfurtado/osmosis-on-premise-driver-plus | 7a6a0cadbc0345978d45856c6e80d5c9374c4670 | [
"Apache-2.0"
] | 4 | 2019-03-12T18:32:17.000Z | 2020-09-12T22:25:22.000Z | # Copyright 2018 Ocean Protocol Foundation
# SPDX-License-Identifier: Apache-2.0
from osmosis_on_premise_driver.computing_plugin import Plugin
def test_computing_plugin():
assert Plugin().type() == 'On premise'
| 24.444444 | 61 | 0.777273 | 29 | 220 | 5.689655 | 0.793103 | 0.109091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031414 | 0.131818 | 220 | 8 | 62 | 27.5 | 0.832461 | 0.35 | 0 | 0 | 0 | 0 | 0.071942 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
80b8a78ee56909e306529751674e26fb24098a72 | 405 | py | Python | sdk/python/pulumi_aws/glacier/__init__.py | pulumi-bot/pulumi-aws | 756c60135851e015232043c8206567101b8ebd85 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_aws/glacier/__init__.py | pulumi-bot/pulumi-aws | 756c60135851e015232043c8206567101b8ebd85 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_aws/glacier/__init__.py | pulumi-bot/pulumi-aws | 756c60135851e015232043c8206567101b8ebd85 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
# Export this package's modules as members:
from alias import *
from build import *
from fleet import *
from vault import *
from detect... | 28.928571 | 87 | 0.733333 | 64 | 405 | 4.59375 | 0.703125 | 0.238095 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003021 | 0.182716 | 405 | 13 | 88 | 31.153846 | 0.885196 | 0.540741 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
80c128a18321f8e01dd2d77839f8742399827fa3 | 143 | py | Python | src/orders/admin.py | Saruni0305/oop-work-2 | 371787017cdd8446220b646c0070c4e53065bff5 | [
"MIT"
] | 24 | 2018-11-17T21:02:06.000Z | 2021-11-18T23:02:00.000Z | src/orders/admin.py | Saruni0305/oop-work-2 | 371787017cdd8446220b646c0070c4e53065bff5 | [
"MIT"
] | 9 | 2020-06-05T21:43:20.000Z | 2021-11-15T17:49:01.000Z | src/orders/admin.py | SaruniM/oop-work-2 | 371787017cdd8446220b646c0070c4e53065bff5 | [
"MIT"
] | 15 | 2019-03-08T20:19:17.000Z | 2021-12-29T10:16:14.000Z | from django.contrib import admin
from .models import Order, ProductPurchase
admin.site.register(Order)
admin.site.register(ProductPurchase)
| 17.875 | 42 | 0.825175 | 18 | 143 | 6.555556 | 0.555556 | 0.152542 | 0.288136 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097902 | 143 | 7 | 43 | 20.428571 | 0.914729 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 5 |
80ee41793626a486c913bb30271b40ad2d141e2c | 366 | py | Python | src/BattleEventsListener.py | gle8098/hundred-years-war | c74820337dd4ea6129c0b2aaa012be5666814e76 | [
"WTFPL"
] | null | null | null | src/BattleEventsListener.py | gle8098/hundred-years-war | c74820337dd4ea6129c0b2aaa012be5666814e76 | [
"WTFPL"
] | null | null | null | src/BattleEventsListener.py | gle8098/hundred-years-war | c74820337dd4ea6129c0b2aaa012be5666814e76 | [
"WTFPL"
] | null | null | null | class BattleEventsListener:
def on_battle_begins(self):
pass
def on_battle_ends(self):
pass
def on_reflected_attack(self, attack_obj):
pass
def on_unit_damaged(self, attack_obj):
pass
def on_unit_killed(self, attack_obj):
pass
def on_s... | 19.263158 | 47 | 0.612022 | 46 | 366 | 4.521739 | 0.347826 | 0.144231 | 0.216346 | 0.326923 | 0.495192 | 0.355769 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0.325137 | 366 | 18 | 48 | 20.333333 | 0.842105 | 0 | 0 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.461538 | false | 0.461538 | 0 | 0 | 0.538462 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
0382661dbe3edf72184962836f50a395a661d814 | 38 | py | Python | tests/components/verisure/__init__.py | domwillcode/home-assistant | f170c80bea70c939c098b5c88320a1c789858958 | [
"Apache-2.0"
] | 23 | 2017-11-15T21:03:53.000Z | 2021-03-29T21:33:48.000Z | tests/components/verisure/__init__.py | domwillcode/home-assistant | f170c80bea70c939c098b5c88320a1c789858958 | [
"Apache-2.0"
] | 58 | 2020-08-03T07:33:02.000Z | 2022-03-31T06:02:05.000Z | tests/components/verisure/__init__.py | klauern/home-assistant-core | c18ba6aec0627e6afb6442c678edb5ff2bb17db6 | [
"Apache-2.0"
] | 14 | 2018-08-19T16:28:26.000Z | 2021-09-02T18:26:53.000Z | """Tests for Verisure integration."""
| 19 | 37 | 0.710526 | 4 | 38 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 0.794118 | 0.815789 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
03ef02526beaca3b0237f5b0f2e442616f925f16 | 50 | py | Python | detectors/medics/cnn2d/data/__init__.py | zhampel/FakeFinder | 2891a8649acc1dabdef07554d6acb346dd23dbae | [
"Apache-2.0"
] | 48 | 2020-06-12T15:46:14.000Z | 2022-03-19T16:02:05.000Z | detectors/medics/cnn2d/data/__init__.py | zhampel/FakeFinder | 2891a8649acc1dabdef07554d6acb346dd23dbae | [
"Apache-2.0"
] | 37 | 2021-03-11T18:44:08.000Z | 2022-03-30T02:47:53.000Z | detectors/medics/cnn2d/data/__init__.py | zhampel/FakeFinder | 2891a8649acc1dabdef07554d6acb346dd23dbae | [
"Apache-2.0"
] | 17 | 2020-06-13T12:25:42.000Z | 2021-11-22T14:49:26.000Z | from .datasets import *
from .utils import cudaify | 25 | 26 | 0.8 | 7 | 50 | 5.714286 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14 | 50 | 2 | 26 | 25 | 0.930233 | 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 | 1 | 0 | 0 | 5 |
2075dc4ff207a0d0d8044c423a951793864d95d2 | 195 | py | Python | wurst/transformations/utils.py | kais-siala/wurst | 448dd4e9e0bfbde956c2913222222509ff2b14e1 | [
"BSD-2-Clause"
] | 12 | 2020-02-04T18:03:17.000Z | 2022-03-29T16:29:33.000Z | wurst/transformations/utils.py | kais-siala/wurst | 448dd4e9e0bfbde956c2913222222509ff2b14e1 | [
"BSD-2-Clause"
] | 21 | 2017-09-13T09:11:56.000Z | 2018-11-13T13:43:51.000Z | wurst/transformations/utils.py | kais-siala/wurst | 448dd4e9e0bfbde956c2913222222509ff2b14e1 | [
"BSD-2-Clause"
] | 5 | 2020-06-03T23:56:32.000Z | 2022-02-12T10:27:58.000Z | from copy import deepcopy
from ..filesystem import get_uuid
def copy_dataset(ds):
"""Copy dataset and generate new codes."""
cp = deepcopy(ds)
cp["code"] = get_uuid()
return cp
| 19.5 | 46 | 0.671795 | 28 | 195 | 4.571429 | 0.607143 | 0.109375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.215385 | 195 | 9 | 47 | 21.666667 | 0.836601 | 0.184615 | 0 | 0 | 1 | 0 | 0.026144 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
208f2457e581fc60d16ff187308dd55050c4f4a6 | 167 | py | Python | basket/templatetags/basket_tools.py | EllieThurlwell/project-five | 60a6b0d5820f797ff271a32ee652d2f4e97a2160 | [
"BSD-Source-Code"
] | null | null | null | basket/templatetags/basket_tools.py | EllieThurlwell/project-five | 60a6b0d5820f797ff271a32ee652d2f4e97a2160 | [
"BSD-Source-Code"
] | 14 | 2022-03-01T14:49:32.000Z | 2022-03-01T16:41:07.000Z | basket/templatetags/basket_tools.py | EllieThurlwell/project-five | 60a6b0d5820f797ff271a32ee652d2f4e97a2160 | [
"BSD-Source-Code"
] | null | null | null | from django import template
register = template.Library()
@register.filter(name='calc_itemtotal')
def calc_itemtotal(price, quantity):
return price * quantity
| 16.7 | 39 | 0.766467 | 20 | 167 | 6.3 | 0.7 | 0.206349 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137725 | 167 | 9 | 40 | 18.555556 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0.083832 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
455af315bcf3dfb09058197912db399c1270133b | 46 | py | Python | Autokey/CapsKeybinds/ctrl shift/pageup.py | MisaghM/Capslock-Keybindings | 00332c7d39cf776c43fe13aa08e1c2969747425d | [
"MIT"
] | 1 | 2021-11-05T19:39:36.000Z | 2021-11-05T19:39:36.000Z | Autokey/CapsKeybinds/ctrl shift/pageup.py | MisaghM/Capslock-Keybindings | 00332c7d39cf776c43fe13aa08e1c2969747425d | [
"MIT"
] | null | null | null | Autokey/CapsKeybinds/ctrl shift/pageup.py | MisaghM/Capslock-Keybindings | 00332c7d39cf776c43fe13aa08e1c2969747425d | [
"MIT"
] | null | null | null | keyboard.send_keys("<ctrl>+<shift>+<page_up>") | 46 | 46 | 0.717391 | 7 | 46 | 4.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 46 | 1 | 46 | 46 | 0.673913 | 0 | 0 | 0 | 0 | 0 | 0.510638 | 0.510638 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
456be99450b0a3983f7f3f89906b3fcf8fa808fb | 39 | py | Python | lib/python3.4/site-packages/dal_tagulous/__init__.py | pabulumm/neighbors | 59f3f3ae727fe52c7897beaf73d157b02cdcb7a3 | [
"BSD-3-Clause"
] | null | null | null | lib/python3.4/site-packages/dal_tagulous/__init__.py | pabulumm/neighbors | 59f3f3ae727fe52c7897beaf73d157b02cdcb7a3 | [
"BSD-3-Clause"
] | null | null | null | lib/python3.4/site-packages/dal_tagulous/__init__.py | pabulumm/neighbors | 59f3f3ae727fe52c7897beaf73d157b02cdcb7a3 | [
"BSD-3-Clause"
] | null | null | null | """django-tagulous support for DAL."""
| 19.5 | 38 | 0.692308 | 5 | 39 | 5.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 0.771429 | 0.820513 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
456f0ae62bd0fcf4abf8a9eb162cff39d45177d1 | 174 | py | Python | vi/tests/grid/test_xy.py | pveierland/permve-ntnu-it3105 | 6a7e4751de47b091c1c9c59560c19a8452698d81 | [
"CC0-1.0"
] | null | null | null | vi/tests/grid/test_xy.py | pveierland/permve-ntnu-it3105 | 6a7e4751de47b091c1c9c59560c19a8452698d81 | [
"CC0-1.0"
] | null | null | null | vi/tests/grid/test_xy.py | pveierland/permve-ntnu-it3105 | 6a7e4751de47b091c1c9c59560c19a8452698d81 | [
"CC0-1.0"
] | null | null | null | import vi.grid.xy
from nose.tools import assert_equals
def test_from_string():
xy = vi.grid.xy.from_string('2,4')
assert_equals(xy.x, 2)
assert_equals(xy.y, 4)
| 19.333333 | 38 | 0.701149 | 32 | 174 | 3.625 | 0.5 | 0.310345 | 0.137931 | 0.206897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027586 | 0.166667 | 174 | 8 | 39 | 21.75 | 0.772414 | 0 | 0 | 0 | 0 | 0 | 0.017241 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
45be47950a3eaf9fce82fa07dd1b4b65269c1041 | 26 | py | Python | __init__.py | ChristopherDaw/chrisdaw.net | 0d155aab2ea5d18e747ff5e9776c5e04de606303 | [
"MIT"
] | null | null | null | __init__.py | ChristopherDaw/chrisdaw.net | 0d155aab2ea5d18e747ff5e9776c5e04de606303 | [
"MIT"
] | null | null | null | __init__.py | ChristopherDaw/chrisdaw.net | 0d155aab2ea5d18e747ff5e9776c5e04de606303 | [
"MIT"
] | null | null | null | from .chrisdaw import app
| 13 | 25 | 0.807692 | 4 | 26 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 5 |
45c0756015f1ee09ab7424da7a258bf6dd28be87 | 138 | py | Python | Python Advanced/Workshop/errors.py | a-shiro/SoftUni-Courses | 7d0ca6401017a28b5ff7e7fa3e5df8bba8ddbe77 | [
"MIT"
] | null | null | null | Python Advanced/Workshop/errors.py | a-shiro/SoftUni-Courses | 7d0ca6401017a28b5ff7e7fa3e5df8bba8ddbe77 | [
"MIT"
] | null | null | null | Python Advanced/Workshop/errors.py | a-shiro/SoftUni-Courses | 7d0ca6401017a28b5ff7e7fa3e5df8bba8ddbe77 | [
"MIT"
] | null | null | null | class InvalidSignError(Exception):
pass
class PositionTakenError(Exception):
pass
class ColumnIsFullError(Exception):
pass | 13.8 | 36 | 0.76087 | 12 | 138 | 8.75 | 0.5 | 0.371429 | 0.342857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 138 | 10 | 37 | 13.8 | 0.921053 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
45d489804dc05ce72e4ee4b5b2bff3038f41b990 | 94 | py | Python | catalyst/rl/utils/criterion/__init__.py | andrey-avdeev/catalyst | fd17aaba7775c99b7e2b1ce86e60aa8f2379acc3 | [
"Apache-2.0"
] | 46 | 2020-03-27T20:12:32.000Z | 2021-11-21T19:08:51.000Z | catalyst/rl/utils/criterion/__init__.py | andrey-avdeev/catalyst | fd17aaba7775c99b7e2b1ce86e60aa8f2379acc3 | [
"Apache-2.0"
] | 2 | 2020-04-06T10:43:04.000Z | 2020-07-01T18:26:10.000Z | catalyst/rl/utils/criterion/__init__.py | andrey-avdeev/catalyst | fd17aaba7775c99b7e2b1ce86e60aa8f2379acc3 | [
"Apache-2.0"
] | 5 | 2020-04-17T14:09:53.000Z | 2021-05-10T08:58:29.000Z | # flake8: noqa
from .categorical import categorical_loss
from .quantile import quantile_loss
| 18.8 | 41 | 0.829787 | 12 | 94 | 6.333333 | 0.583333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012195 | 0.12766 | 94 | 4 | 42 | 23.5 | 0.914634 | 0.12766 | 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 | 1 | 0 | 0 | 5 |
45dd4eb92a2d79259e15d62a9cca19f7e0976b15 | 52 | py | Python | redbox/request/classes/__init__.py | cytopia/prometheus-redbox_exporter | cfef30d9b705cc0176b74c7a527709a27937ce25 | [
"MIT"
] | 3 | 2021-02-27T13:40:32.000Z | 2021-03-18T18:44:07.000Z | redbox/request/classes/__init__.py | cytopia/prometheus-redbox_exporter | cfef30d9b705cc0176b74c7a527709a27937ce25 | [
"MIT"
] | null | null | null | redbox/request/classes/__init__.py | cytopia/prometheus-redbox_exporter | cfef30d9b705cc0176b74c7a527709a27937ce25 | [
"MIT"
] | null | null | null | """Module Imports."""
from .request import Request
| 13 | 28 | 0.711538 | 6 | 52 | 6.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134615 | 52 | 3 | 29 | 17.333333 | 0.822222 | 0.288462 | 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 | 1 | 0 | 0 | 5 |
afdfd7d3041f84622de6372b6ea033b922f2f21b | 150 | py | Python | src/frontend/hello/__init__.py | arnulfojr/money-manager | 8600f1ff258a89f5742ffad4d5f589fd1def5259 | [
"MIT"
] | 1 | 2020-08-18T08:03:44.000Z | 2020-08-18T08:03:44.000Z | src/frontend/hello/__init__.py | arnulfojr/money-manager | 8600f1ff258a89f5742ffad4d5f589fd1def5259 | [
"MIT"
] | null | null | null | src/frontend/hello/__init__.py | arnulfojr/money-manager | 8600f1ff258a89f5742ffad4d5f589fd1def5259 | [
"MIT"
] | null | null | null |
from flask import Blueprint
blueprint = Blueprint('frontend', __name__, url_prefix='/hello')
# import controllers
from controllers import hello
| 13.636364 | 64 | 0.773333 | 17 | 150 | 6.529412 | 0.588235 | 0.324324 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146667 | 150 | 10 | 65 | 15 | 0.867188 | 0.12 | 0 | 0 | 0 | 0 | 0.109375 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 5 |
b32b634abe5eb4f9e6fe386c0a761625165036f5 | 237 | py | Python | src/fecc_instructions/SETE.py | castor91/fecc | bc46059c0d7a428d15b95050b70dec374b4bea28 | [
"MIT"
] | 1 | 2018-02-04T14:48:15.000Z | 2018-02-04T14:48:15.000Z | src/fecc_instructions/SETE.py | castor91/fecc | bc46059c0d7a428d15b95050b70dec374b4bea28 | [
"MIT"
] | null | null | null | src/fecc_instructions/SETE.py | castor91/fecc | bc46059c0d7a428d15b95050b70dec374b4bea28 | [
"MIT"
] | null | null | null | from AbstractGenericInstruction import AbstractGenericInstruction as AGI
class SETE(AGI):
def __init__(self, value):
super(SETE, self).__init__(value)
def generate(self):
return 'sete %{}'.format(self._value)
| 21.545455 | 72 | 0.700422 | 26 | 237 | 6.038462 | 0.576923 | 0.11465 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.194093 | 237 | 10 | 73 | 23.7 | 0.82199 | 0 | 0 | 0 | 1 | 0 | 0.033755 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.166667 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
b32e4bfd0ccecf987fbcfcb4c6a6f4bdfae77858 | 40 | py | Python | search_sites.py | sunlightlabs/elenas_inbox | dee64ef0c438fad38f02646bfd252adcff042cd2 | [
"BSD-3-Clause"
] | 5 | 2015-10-30T21:40:05.000Z | 2021-03-02T02:09:47.000Z | search_sites.py | sunlightlabs/elenas_inbox | dee64ef0c438fad38f02646bfd252adcff042cd2 | [
"BSD-3-Clause"
] | null | null | null | search_sites.py | sunlightlabs/elenas_inbox | dee64ef0c438fad38f02646bfd252adcff042cd2 | [
"BSD-3-Clause"
] | 1 | 2019-03-19T17:32:58.000Z | 2019-03-19T17:32:58.000Z | import haystack
haystack.autodiscover() | 20 | 23 | 0.85 | 4 | 40 | 8.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 40 | 2 | 23 | 20 | 0.918919 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 0 | 5 |
2faf554fdd446b1955b99d1ea2e5923adc33334f | 155 | py | Python | normalizer/models.py | pitpalac36/Fraud-Detector | 463a737da9b2c11a5c7bd11f5a5ecbc5586d80e7 | [
"MIT"
] | null | null | null | normalizer/models.py | pitpalac36/Fraud-Detector | 463a737da9b2c11a5c7bd11f5a5ecbc5586d80e7 | [
"MIT"
] | null | null | null | normalizer/models.py | pitpalac36/Fraud-Detector | 463a737da9b2c11a5c7bd11f5a5ecbc5586d80e7 | [
"MIT"
] | null | null | null | from dataclasses import dataclass
from dataclasses_json import dataclass_json
@dataclass_json
@dataclass
class NormDTO:
tran_id: str
data: list
| 14.090909 | 43 | 0.793548 | 20 | 155 | 5.95 | 0.6 | 0.252101 | 0.369748 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174194 | 155 | 10 | 44 | 15.5 | 0.929688 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.285714 | 0 | 0.714286 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
2fcc48f0b97f2592bb74b1d24ba713a5e2857b98 | 83 | py | Python | hello-world.py | Atlasshrugs00/astr-119 | be30734d2580acd947e5b2e22e3039d0d42419f3 | [
"MIT"
] | null | null | null | hello-world.py | Atlasshrugs00/astr-119 | be30734d2580acd947e5b2e22e3039d0d42419f3 | [
"MIT"
] | 8 | 2021-09-24T04:02:52.000Z | 2021-12-09T05:45:22.000Z | hello-world.py | Atlasshrugs00/astr-119 | be30734d2580acd947e5b2e22e3039d0d42419f3 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
#this progam will write Hello World!
print("Hello World!") | 16.6 | 36 | 0.722892 | 13 | 83 | 4.615385 | 0.846154 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013889 | 0.13253 | 83 | 5 | 37 | 16.6 | 0.819444 | 0.674699 | 0 | 0 | 0 | 0 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
2feee93606d88b2141976ca4bafd7a6ce29b0204 | 1,370 | py | Python | homework_04/11_liliya_lyubenova/test_problem.py | valentinvarbanov/software_engineering_2021 | 33ece7d1e4889840621626e30f975d6cfd370b38 | [
"MIT"
] | 7 | 2021-10-05T14:54:55.000Z | 2022-02-16T06:07:12.000Z | homework_04/11_liliya_lyubenova/test_problem.py | valentinvarbanov/software_engineering_2021 | 33ece7d1e4889840621626e30f975d6cfd370b38 | [
"MIT"
] | 2 | 2021-12-04T10:49:46.000Z | 2022-02-28T06:09:06.000Z | homework_04/11_liliya_lyubenova/test_problem.py | valentinvarbanov/software_engineering_2021 | 33ece7d1e4889840621626e30f975d6cfd370b38 | [
"MIT"
] | null | null | null | """
Tests for problem.py
"""
from problem import Point, Circle, RelativePosition
def test_no_common_points():
"""
First test
"""
circle_1 = Circle(Point(1.0, 4.0), 3.2)
circle_2 = Circle(Point(8.0, 4.0), 3.3)
assert circle_1.find_relative_position(circle_2) == RelativePosition.NO_COMMON_POINTS,... | 30.444444 | 95 | 0.665693 | 221 | 1,370 | 3.923077 | 0.153846 | 0.034602 | 0.044983 | 0.10496 | 0.761246 | 0.761246 | 0.761246 | 0.754325 | 0.754325 | 0.659746 | 0 | 0.085791 | 0.183212 | 1,370 | 44 | 96 | 31.136364 | 0.689008 | 0.048175 | 0 | 0.478261 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.26087 | 1 | 0.173913 | false | 0 | 0.043478 | 0 | 0.217391 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 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 | 5 |
ff4138cdbc65770b1e7e0fd4f95810d2cea5d95b | 126 | py | Python | blog/admin.py | kpi-web-guild/django-girls-blog-igorkruglyak | 97bc1df281377b81f70098ae2bb830d2d8ae7447 | [
"MIT"
] | null | null | null | blog/admin.py | kpi-web-guild/django-girls-blog-igorkruglyak | 97bc1df281377b81f70098ae2bb830d2d8ae7447 | [
"MIT"
] | 33 | 2019-05-20T01:06:16.000Z | 2021-01-09T18:16:33.000Z | blog/admin.py | kpi-web-guild/django-girls-blog-igorkruglyak | 97bc1df281377b81f70098ae2bb830d2d8ae7447 | [
"MIT"
] | 2 | 2019-08-02T19:44:14.000Z | 2021-01-08T21:28:04.000Z | """Configuration for admin Blog app."""
from django.contrib import admin
from .models import Post
admin.site.register(Post)
| 18 | 39 | 0.769841 | 18 | 126 | 5.388889 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126984 | 126 | 6 | 40 | 21 | 0.881818 | 0.261905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
ff522b2b021c76c6467dcb0b8e5e16e7c293f110 | 40 | py | Python | main.py | Ryan-Johnson-1315/nba-stats | 7e1d4639c3b2eaba087ebaa4740325721a985102 | [
"MIT"
] | null | null | null | main.py | Ryan-Johnson-1315/nba-stats | 7e1d4639c3b2eaba087ebaa4740325721a985102 | [
"MIT"
] | null | null | null | main.py | Ryan-Johnson-1315/nba-stats | 7e1d4639c3b2eaba087ebaa4740325721a985102 | [
"MIT"
] | null | null | null | from Line import *
LineCmd().cmdloop()
| 10 | 19 | 0.7 | 5 | 40 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 40 | 3 | 20 | 13.333333 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 0 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.