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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
e709bde051d3f68e578587ceec12aa76beff1589 | 30 | py | Python | src/amuse/community/adaptb/__init__.py | sibonyves/amuse | 5557bf88d14df1aa02133a199b6d60c0c57dcab7 | [
"Apache-2.0"
] | null | null | null | src/amuse/community/adaptb/__init__.py | sibonyves/amuse | 5557bf88d14df1aa02133a199b6d60c0c57dcab7 | [
"Apache-2.0"
] | 12 | 2021-11-15T09:13:03.000Z | 2022-02-02T14:53:04.000Z | src/amuse/community/adaptb/__init__.py | sibonyves/amuse | 5557bf88d14df1aa02133a199b6d60c0c57dcab7 | [
"Apache-2.0"
] | null | null | null | from .interface import Adaptb
| 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 |
e70eb1e670bdd40fcab12fad55751c3187dd0413 | 80 | py | Python | services/director-v2/src/simcore_service_director_v2/modules/dynamic_sidecar/scheduler/__init__.py | colinRawlings/osparc-simcore | bf2f18d5bc1e574d5f4c238d08ad15156184c310 | [
"MIT"
] | 25 | 2018-04-13T12:44:12.000Z | 2022-03-12T15:01:17.000Z | services/director-v2/src/simcore_service_director_v2/modules/dynamic_sidecar/scheduler/__init__.py | colinRawlings/osparc-simcore | bf2f18d5bc1e574d5f4c238d08ad15156184c310 | [
"MIT"
] | 2,553 | 2018-01-18T17:11:55.000Z | 2022-03-31T16:26:40.000Z | services/director-v2/src/simcore_service_director_v2/modules/dynamic_sidecar/scheduler/__init__.py | mrnicegyu11/osparc-simcore | b6fa6c245dbfbc18cc74a387111a52de9b05d1f4 | [
"MIT"
] | 20 | 2018-01-18T19:45:33.000Z | 2022-03-29T07:08:47.000Z | from .task import DynamicSidecarsScheduler, setup_scheduler, shutdown_scheduler
| 40 | 79 | 0.8875 | 8 | 80 | 8.625 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 80 | 1 | 80 | 80 | 0.932432 | 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 |
e73ea0a8ca0675f6b0397c2ea3052648d0dc71d6 | 195 | py | Python | maomew/views.py | gitgitcode/myflask | b24c06293cb97188cc965aa55d2c44e3fb269aa3 | [
"MIT"
] | null | null | null | maomew/views.py | gitgitcode/myflask | b24c06293cb97188cc965aa55d2c44e3fb269aa3 | [
"MIT"
] | null | null | null | maomew/views.py | gitgitcode/myflask | b24c06293cb97188cc965aa55d2c44e3fb269aa3 | [
"MIT"
] | null | null | null | from flask import render_template
from flask import login_required
from . import app
from .util import check_expired
@app.route('/use_app')
@login_required
@check_expired
def use_app():
"" | 16.25 | 33 | 0.774359 | 29 | 195 | 4.965517 | 0.482759 | 0.125 | 0.208333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14359 | 195 | 12 | 34 | 16.25 | 0.862275 | 0 | 0 | 0 | 0 | 0 | 0.040816 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | true | 0 | 0.444444 | 0 | 0.555556 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
e76035a06865217b2d282943b8b8d6039f61c11b | 1,297 | py | Python | Assignment6/Lab6_Q1_Creating Calculator.py | mjmaisha527/python-projects-cse111 | cd2311215b00a5ea87f7749ee7ff8f2b10f64591 | [
"Apache-2.0"
] | null | null | null | Assignment6/Lab6_Q1_Creating Calculator.py | mjmaisha527/python-projects-cse111 | cd2311215b00a5ea87f7749ee7ff8f2b10f64591 | [
"Apache-2.0"
] | null | null | null | Assignment6/Lab6_Q1_Creating Calculator.py | mjmaisha527/python-projects-cse111 | cd2311215b00a5ea87f7749ee7ff8f2b10f64591 | [
"Apache-2.0"
] | null | null | null | class Calculator:
def __init__(self,value1,operator,value2):
self.value1=value1
self.operator=operator
self.value2=value2
def add (self):
return self.value1+self.value2
def subtract (self):
return self.value1-self.value2
def multiply (self):
return self.va... | 29.477273 | 53 | 0.666153 | 153 | 1,297 | 5.620915 | 0.183007 | 0.15814 | 0.204651 | 0.251163 | 0.717442 | 0.717442 | 0.682558 | 0.567442 | 0.567442 | 0.567442 | 0 | 0.02974 | 0.170393 | 1,297 | 43 | 54 | 30.162791 | 0.769517 | 0 | 0 | 0.315789 | 0 | 0 | 0.114286 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.131579 | false | 0 | 0 | 0.105263 | 0.263158 | 0.447368 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 5 |
e7741a37a19b2c903b65ec17857f6451d4c61f3a | 27 | py | Python | tests/test_graph.py | gerrymandr/graphmaker | e3f5f6e743867e8de138628ea5b4faab4a7f546d | [
"MIT"
] | null | null | null | tests/test_graph.py | gerrymandr/graphmaker | e3f5f6e743867e8de138628ea5b4faab4a7f546d | [
"MIT"
] | 10 | 2018-07-03T16:14:48.000Z | 2018-08-10T16:43:52.000Z | tests/test_graph.py | gerrymandr/graphmaker | e3f5f6e743867e8de138628ea5b4faab4a7f546d | [
"MIT"
] | 3 | 2018-07-03T14:39:51.000Z | 2018-07-10T14:34:48.000Z |
class TestGraph:
pass
| 6.75 | 16 | 0.666667 | 3 | 27 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.296296 | 27 | 3 | 17 | 9 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 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 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
e77ac6e9dd78ee58e87f8404236d78438be50444 | 5,652 | py | Python | tests/apps/orders/views/rest/test_order.py | leonardon473/my-dinner-backend | ae64fca37d102ce5bda7570be8680e03e9b142d8 | [
"MIT"
] | null | null | null | tests/apps/orders/views/rest/test_order.py | leonardon473/my-dinner-backend | ae64fca37d102ce5bda7570be8680e03e9b142d8 | [
"MIT"
] | null | null | null | tests/apps/orders/views/rest/test_order.py | leonardon473/my-dinner-backend | ae64fca37d102ce5bda7570be8680e03e9b142d8 | [
"MIT"
] | null | null | null | import pytest
from freezegun import freeze_time
from model_bakery import baker
from rest_framework.test import APIClient
from apps.users.models import Client, ClientAddress
from apps.menu.models import MenuItem, TypeOfCuisine
pytestmark = pytest.mark.django_db
order_in_available_time = freeze_time("2021-12-10 16:00... | 35.10559 | 85 | 0.61005 | 682 | 5,652 | 4.755132 | 0.14956 | 0.106075 | 0.048104 | 0.064138 | 0.80111 | 0.753623 | 0.729263 | 0.713845 | 0.671292 | 0.635831 | 0 | 0.037579 | 0.274947 | 5,652 | 160 | 86 | 35.325 | 0.753782 | 0.130396 | 0 | 0.643564 | 0 | 0 | 0.127716 | 0 | 0 | 0 | 0 | 0 | 0.168317 | 1 | 0.059406 | false | 0 | 0.059406 | 0 | 0.138614 | 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 |
e77b0bd6c4722fc29482bf3caa76de5922f4f56f | 22 | py | Python | addition/addition.py | sowmiya710/squad-repo | e98b84e4c639fbae722fb35d547519e0afa5ea42 | [
"MIT"
] | null | null | null | addition/addition.py | sowmiya710/squad-repo | e98b84e4c639fbae722fb35d547519e0afa5ea42 | [
"MIT"
] | null | null | null | addition/addition.py | sowmiya710/squad-repo | e98b84e4c639fbae722fb35d547519e0afa5ea42 | [
"MIT"
] | null | null | null | a=10
b=100
print(a+b)
| 5.5 | 10 | 0.636364 | 7 | 22 | 2 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.263158 | 0.136364 | 22 | 3 | 11 | 7.333333 | 0.473684 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e7896d86f344070df70c32be1f1231821fbe8f71 | 96 | py | Python | venv/lib/python3.8/site-packages/poetry/core/masonry/utils/include.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/poetry/core/masonry/utils/include.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/poetry/core/masonry/utils/include.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/14/6a/45/959613aab7d0674a9eb24e47bacc8b7eaa8cef7583b8cdb8b75e967ae6 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.375 | 0 | 96 | 1 | 96 | 96 | 0.520833 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e793fc42cbb732735bbe35aedeedfe58002c125f | 411 | py | Python | libra_client/lbrtypes/account_config/constants/account_limits.py | violas-core/violas-client | e8798f7d081ac218b78b81fd7eb2f8da92631a16 | [
"MIT"
] | null | null | null | libra_client/lbrtypes/account_config/constants/account_limits.py | violas-core/violas-client | e8798f7d081ac218b78b81fd7eb2f8da92631a16 | [
"MIT"
] | null | null | null | libra_client/lbrtypes/account_config/constants/account_limits.py | violas-core/violas-client | e8798f7d081ac218b78b81fd7eb2f8da92631a16 | [
"MIT"
] | 1 | 2022-01-05T06:49:42.000Z | 2022-01-05T06:49:42.000Z | from libra_client.move_core_types.language_storage import ModuleId, CORE_CODE_ADDRESS
ACCOUNT_LIMITS_MODULE_NAME = "AccountLimits"
ACCOUNT_LIMITS_MODULE = ModuleId(CORE_CODE_ADDRESS, ACCOUNT_LIMITS_MODULE_NAME)
ACCOUNT_LIMITS_WINDOW_STRUCT_NAME = "Window"
def account_limits_module_name():
return ACCOUNT_LIMITS_MO... | 37.363636 | 85 | 0.873479 | 56 | 411 | 5.821429 | 0.375 | 0.319018 | 0.291411 | 0.211656 | 0.54908 | 0.282209 | 0.282209 | 0.282209 | 0 | 0 | 0 | 0 | 0.080292 | 411 | 11 | 86 | 37.363636 | 0.862434 | 0 | 0 | 0 | 0 | 0 | 0.046117 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.125 | 0.25 | 0.625 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
e7b7dae4f2a8fc0db62b2da35f37bdcca68122f3 | 472 | py | Python | Solutions/Correlation does not imply causation.py | GuardsmanPanda/ProjectLovelace | 50549114acfe98ae9511e3ec5d0e6c1335e30db9 | [
"MIT"
] | null | null | null | Solutions/Correlation does not imply causation.py | GuardsmanPanda/ProjectLovelace | 50549114acfe98ae9511e3ec5d0e6c1335e30db9 | [
"MIT"
] | null | null | null | Solutions/Correlation does not imply causation.py | GuardsmanPanda/ProjectLovelace | 50549114acfe98ae9511e3ec5d0e6c1335e30db9 | [
"MIT"
] | null | null | null | def mean(a): return sum(a)/len(a)
def std(a):
m = mean(a)
return (sum((x - m)**2 for x in a)/len(a))**0.5
def correlation_coefficient(x, y):
xm, ym = mean(x), mean(y)
return sum((x[i]-xm)*(y[i]-ym) for i in range(len(x)))/std(x)/std(y)/len(x)
print(correlation_coefficient([ 5427, 5688, 6198, 6... | 42.909091 | 210 | 0.57839 | 94 | 472 | 2.882979 | 0.542553 | 0.099631 | 0.081181 | 0.103321 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.269129 | 0.197034 | 472 | 11 | 210 | 42.909091 | 0.44591 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0 | 0.125 | 0.625 | 0.125 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
e7d71247f5b3ee35ad436b26c13ac12be749f785 | 116 | py | Python | siswrapper/__init__.py | mario33881/siswrapper | c4d41c645c5f44c5d403751b312155e438fd36e2 | [
"MIT"
] | 1 | 2022-03-25T00:07:54.000Z | 2022-03-25T00:07:54.000Z | siswrapper/__init__.py | mario33881/siswrapper | c4d41c645c5f44c5d403751b312155e438fd36e2 | [
"MIT"
] | 1 | 2021-01-03T16:49:01.000Z | 2021-01-03T16:49:01.000Z | siswrapper/__init__.py | mario33881/siswrapper | c4d41c645c5f44c5d403751b312155e438fd36e2 | [
"MIT"
] | 1 | 2022-03-25T00:08:00.000Z | 2022-03-25T00:08:00.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
from ._version import __version__
from .siswrapper import Siswrapper
| 23.2 | 34 | 0.732759 | 15 | 116 | 5.333333 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019802 | 0.12931 | 116 | 4 | 35 | 29 | 0.772277 | 0.37069 | 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 |
82269d0245128111b697795df41df0785b757412 | 215 | py | Python | Node.py | KubaWernerowski/Crimetrax | 163493c3fe7c5113f058c05c0434ccc0762cf3c7 | [
"MIT"
] | 1 | 2019-04-10T09:35:56.000Z | 2019-04-10T09:35:56.000Z | Node.py | KubaWernerowski/Crimetrax | 163493c3fe7c5113f058c05c0434ccc0762cf3c7 | [
"MIT"
] | null | null | null | Node.py | KubaWernerowski/Crimetrax | 163493c3fe7c5113f058c05c0434ccc0762cf3c7 | [
"MIT"
] | 1 | 2019-03-10T05:40:31.000Z | 2019-03-10T05:40:31.000Z | class Node:
def __init__(self, x, y):
self.long = x
self.lat = y
self.neighbors = 0
def __str__(self):
return str(self.long) + "," + str(self.lat) + "," + str(self.neighbors) | 26.875 | 79 | 0.530233 | 29 | 215 | 3.655172 | 0.448276 | 0.264151 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006757 | 0.311628 | 215 | 8 | 79 | 26.875 | 0.709459 | 0 | 0 | 0 | 0 | 0 | 0.009259 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.142857 | 0.571429 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
4134f190fa86f6bd8cb1436e725d8ce17b16217b | 212 | py | Python | networks/dorn/dp/metircs/__init__.py | EvoCargo/mono_depth | 3a77291a7fc8f3eaad5f93aa17e2b60c9339a0b1 | [
"MIT"
] | null | null | null | networks/dorn/dp/metircs/__init__.py | EvoCargo/mono_depth | 3a77291a7fc8f3eaad5f93aa17e2b60c9339a0b1 | [
"MIT"
] | 1 | 2021-06-09T12:56:47.000Z | 2021-06-11T10:49:06.000Z | networks/dorn/dp/metircs/__init__.py | EvoCargo/mono_depth | 3a77291a7fc8f3eaad5f93aa17e2b60c9339a0b1 | [
"MIT"
] | null | null | null | #!/usr/bin/python3
# -*- coding: utf-8 -*-
def build_metrics(cfg):
mod = __import__("{}.{}".format(__name__, "metrics"), fromlist=[''])
return getattr(mod, "Metrics")() # noqa
# return mod.Metrics
| 23.555556 | 72 | 0.599057 | 24 | 212 | 4.916667 | 0.75 | 0.169492 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011364 | 0.169811 | 212 | 8 | 73 | 26.5 | 0.659091 | 0.29717 | 0 | 0 | 0 | 0 | 0.131034 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
68e6b6e48ac94e4cbad24cbb210b8a90e5a9e591 | 81 | py | Python | asset/test.py | 745184532/cmdb | e8e983f83ac4f5120be88983bbb73f447bd375c4 | [
"Apache-2.0"
] | 251 | 2018-03-19T15:41:50.000Z | 2022-02-24T03:28:44.000Z | asset/test.py | mrpal39/chain | 169f810551a8355579d3cef670ecf88942478a05 | [
"Apache-2.0"
] | 18 | 2018-04-20T06:31:16.000Z | 2022-03-11T23:28:33.000Z | asset/test.py | mrpal39/chain | 169f810551a8355579d3cef670ecf88942478a05 | [
"Apache-2.0"
] | 167 | 2018-03-20T02:04:00.000Z | 2021-08-05T07:30:34.000Z | import time
print(time.strftime('%Y-%m-%d %H:%M:%S',time.localtime(time.time()))) | 40.5 | 69 | 0.666667 | 15 | 81 | 3.6 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 81 | 2 | 69 | 40.5 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0.207317 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
68f3f947c432175106cbebe90744b3bdd9075594 | 103 | wsgi | Python | bondora/hooks/hooks.wsgi | goddisignz/bondora | 5a07c434821853bcff956e82c75b4e093698407f | [
"MIT"
] | null | null | null | bondora/hooks/hooks.wsgi | goddisignz/bondora | 5a07c434821853bcff956e82c75b4e093698407f | [
"MIT"
] | null | null | null | bondora/hooks/hooks.wsgi | goddisignz/bondora | 5a07c434821853bcff956e82c75b4e093698407f | [
"MIT"
] | 1 | 2021-08-08T15:14:04.000Z | 2021-08-08T15:14:04.000Z | import sys
sys.path.insert(0, '/var/www/flask/bondora/hooks/')
from listener import app as application
| 25.75 | 51 | 0.776699 | 17 | 103 | 4.705882 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010753 | 0.097087 | 103 | 3 | 52 | 34.333333 | 0.849462 | 0 | 0 | 0 | 0 | 0 | 0.281553 | 0.281553 | 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 |
6b5ed27232975cb2be59d057d3e3924c918439df | 260 | py | Python | recipe/import_test.py | regro-cf-autotick-bot/yeadon-feedstock | d7afede10dae5a3a7394797710ade91df029d3c1 | [
"BSD-3-Clause"
] | 22 | 2015-01-24T20:22:42.000Z | 2022-02-06T18:07:57.000Z | recipe/import_test.py | regro-cf-autotick-bot/yeadon-feedstock | d7afede10dae5a3a7394797710ade91df029d3c1 | [
"BSD-3-Clause"
] | 19 | 2015-02-09T22:33:12.000Z | 2021-02-09T17:41:01.000Z | recipe/import_test.py | regro-cf-autotick-bot/yeadon-feedstock | d7afede10dae5a3a7394797710ade91df029d3c1 | [
"BSD-3-Clause"
] | 5 | 2015-11-10T13:45:48.000Z | 2018-07-28T15:36:38.000Z | import yeadon
import yeadon.exceptions
import yeadon.human
import yeadon.inertia
import yeadon.segment
import yeadon.solid
import yeadon.ui
import yeadon.utils
import yeadon.tests
try:
import yeadon.gui
except ImportError: # mayavi not installed
pass
| 18.571429 | 43 | 0.811538 | 36 | 260 | 5.861111 | 0.5 | 0.56872 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142308 | 260 | 13 | 44 | 20 | 0.946188 | 0.076923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.076923 | 0.846154 | 0 | 0.846154 | 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 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
6b639c93bd8a5a226b15e363b8ef9a4d15085d93 | 212 | py | Python | core/__init__.py | BenSmithers/MultiHex2 | 3a241d7b6e8681b56ac8f6dcc7f707bed47420ea | [
"MIT"
] | null | null | null | core/__init__.py | BenSmithers/MultiHex2 | 3a241d7b6e8681b56ac8f6dcc7f707bed47420ea | [
"MIT"
] | null | null | null | core/__init__.py | BenSmithers/MultiHex2 | 3a241d7b6e8681b56ac8f6dcc7f707bed47420ea | [
"MIT"
] | null | null | null | from .coordinates import HexID, hex_to_screen, screen_to_hex
from .core import Hex,Region, Catalog, RegionCatalog, EntityCatalog
from .map_entities import Entity, Government, Settlement
from .core import DRAWSIZE | 53 | 67 | 0.839623 | 29 | 212 | 5.965517 | 0.62069 | 0.092486 | 0.16185 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103774 | 212 | 4 | 68 | 53 | 0.910526 | 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 |
6b657280c2e514b8b1d7b6d15bb032477b4a674a | 237 | py | Python | sort_teams.py | jhallman5/fencing_tournament | a9b6f01ef505013c64cdddcd26a1234204b0b971 | [
"MIT"
] | null | null | null | sort_teams.py | jhallman5/fencing_tournament | a9b6f01ef505013c64cdddcd26a1234204b0b971 | [
"MIT"
] | null | null | null | sort_teams.py | jhallman5/fencing_tournament | a9b6f01ef505013c64cdddcd26a1234204b0b971 | [
"MIT"
] | null | null | null | import sys
import csv
from linked_list import Node, Linked_List
from model import create_linked_list, determine_num_pools, create_init_pools
LL = create_linked_list()
num_pools = determine_num_pools(LL)
create_init_pools(LL, num_pools)
| 26.333333 | 76 | 0.848101 | 39 | 237 | 4.74359 | 0.358974 | 0.216216 | 0.172973 | 0.183784 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101266 | 237 | 8 | 77 | 29.625 | 0.868545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.571429 | 0 | 0.571429 | 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 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
6b858f68fe3fcf4abb727bbcd46b45dd95d7c079 | 3,890 | py | Python | pySDC/tests/test_Q_transfer.py | janEbert/pySDC | 167d78c4118bc3a5a446ec973fe65fb35db94471 | [
"BSD-2-Clause"
] | null | null | null | pySDC/tests/test_Q_transfer.py | janEbert/pySDC | 167d78c4118bc3a5a446ec973fe65fb35db94471 | [
"BSD-2-Clause"
] | null | null | null | pySDC/tests/test_Q_transfer.py | janEbert/pySDC | 167d78c4118bc3a5a446ec973fe65fb35db94471 | [
"BSD-2-Clause"
] | 1 | 2021-07-27T11:44:54.000Z | 2021-07-27T11:44:54.000Z | import nose
import numpy as np
from numpy.polynomial.polynomial import polyval
import pySDC.helpers.transfer_helper as th
from pySDC.core.Collocation import CollBase
from pySDC.tests.test_helpers import get_derived_from_in_package
classes = []
def setup():
global classes, t_start, t_end
# generate random bo... | 36.35514 | 128 | 0.646015 | 556 | 3,890 | 4.347122 | 0.206835 | 0.026479 | 0.022342 | 0.024824 | 0.819611 | 0.773273 | 0.719487 | 0.702938 | 0.655358 | 0.623086 | 0 | 0.023743 | 0.263753 | 3,890 | 107 | 129 | 36.35514 | 0.820182 | 0.069666 | 0 | 0.57971 | 0 | 0 | 0.133463 | 0.011424 | 0 | 0 | 0 | 0 | 0.115942 | 1 | 0.072464 | false | 0 | 0.086957 | 0 | 0.15942 | 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 |
6b944d11c3d35c2f049ce31bda7f461e5d71d9fc | 806 | py | Python | client/python/ProjectName/Client/__init__.py | KaNaDaAT/java-spring-template | 451bb58563bfcdbc3fe735f2e95ea52a3cf9e76e | [
"Unlicense"
] | null | null | null | client/python/ProjectName/Client/__init__.py | KaNaDaAT/java-spring-template | 451bb58563bfcdbc3fe735f2e95ea52a3cf9e76e | [
"Unlicense"
] | 70 | 2021-11-03T11:38:21.000Z | 2022-03-31T16:23:30.000Z | client/python/ProjectName/Client/__init__.py | KaNaDaAT/java-spring-template | 451bb58563bfcdbc3fe735f2e95ea52a3cf9e76e | [
"Unlicense"
] | 1 | 2021-11-11T13:06:13.000Z | 2021-11-11T13:06:13.000Z | # flake8: noqa
"""
OpenAPI definition
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: v0
Generated by: https://openapi-generator.tech
"""
__version__ = "0.1.0"
# import ApiClient
from Proj... | 28.785714 | 124 | 0.817618 | 91 | 806 | 7.186813 | 0.406593 | 0.183486 | 0.256881 | 0.284404 | 0.33945 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011284 | 0.120347 | 806 | 27 | 125 | 29.851852 | 0.911142 | 0.367246 | 0 | 0 | 1 | 0 | 0.010352 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.888889 | 0 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
6ba120e543e5b432863932094976c97f7397b363 | 159 | py | Python | indy_node/server/req_handlers/read_req_handlers/get_revoc_reg_handler.py | rantwijk/indy-node | 3cb77dab5482c8b721535020fec41506de819d2e | [
"Apache-2.0"
] | null | null | null | indy_node/server/req_handlers/read_req_handlers/get_revoc_reg_handler.py | rantwijk/indy-node | 3cb77dab5482c8b721535020fec41506de819d2e | [
"Apache-2.0"
] | null | null | null | indy_node/server/req_handlers/read_req_handlers/get_revoc_reg_handler.py | rantwijk/indy-node | 3cb77dab5482c8b721535020fec41506de819d2e | [
"Apache-2.0"
] | null | null | null | from plenum.server.request_handlers.handler_interfaces.read_request_handler import ReadRequestHandler
class GetRevocRegHandler(ReadRequestHandler):
pass
| 26.5 | 101 | 0.874214 | 16 | 159 | 8.4375 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081761 | 159 | 5 | 102 | 31.8 | 0.924658 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 5 |
6bced17d8d34d40c6e36bbbfbcf9f9f00fa12417 | 362 | py | Python | 1556_thousand_separator.py | claytonjwong/leetcode-py | 16bbf8ac0ba5c80fe3ef67ade0d61a12991270a7 | [
"MIT"
] | 1 | 2020-07-15T14:16:23.000Z | 2020-07-15T14:16:23.000Z | 1556_thousand_separator.py | claytonjwong/leetcode-py | 16bbf8ac0ba5c80fe3ef67ade0d61a12991270a7 | [
"MIT"
] | null | null | null | 1556_thousand_separator.py | claytonjwong/leetcode-py | 16bbf8ac0ba5c80fe3ef67ade0d61a12991270a7 | [
"MIT"
] | null | null | null | #
# 1556. Thousand Separator
#
# Q: https://leetcode.com/problems/thousand-separator/
# A: https://leetcode.com/problems/thousand-separator/discuss/805674/Javascript-Python3-C%2B%2B-1-Liners
#
class Solution:
def thousandSeparator(self, n: int) -> str:
return str(n) if n < 1000 else self.thousandSeparator(... | 32.909091 | 104 | 0.696133 | 50 | 362 | 5.04 | 0.62 | 0.202381 | 0.126984 | 0.190476 | 0.325397 | 0.325397 | 0 | 0 | 0 | 0 | 0 | 0.086538 | 0.138122 | 362 | 10 | 105 | 36.2 | 0.721154 | 0.497238 | 0 | 0 | 0 | 0 | 0.005714 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
6bfd4fa6fac36bb502e751462754bbaace7de341 | 50 | py | Python | relevanceai/dataset/write/__init__.py | RelevanceAI/RelevanceAI | a0542f35153d9c842f3d2cd0955d6b07f6dfc07b | [
"Apache-2.0"
] | 21 | 2021-11-23T13:01:36.000Z | 2022-03-23T03:45:30.000Z | relevanceai/dataset/write/__init__.py | RelevanceAI/RelevanceAI | a0542f35153d9c842f3d2cd0955d6b07f6dfc07b | [
"Apache-2.0"
] | 217 | 2021-11-23T00:11:01.000Z | 2022-03-30T08:11:49.000Z | relevanceai/dataset/write/__init__.py | RelevanceAI/RelevanceAI | a0542f35153d9c842f3d2cd0955d6b07f6dfc07b | [
"Apache-2.0"
] | 4 | 2022-01-04T01:48:30.000Z | 2022-02-11T03:19:32.000Z | from relevanceai.dataset.write.write import Write
| 25 | 49 | 0.86 | 7 | 50 | 6.142857 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 50 | 1 | 50 | 50 | 0.934783 | 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 |
d46738cd45108b90149ea5ec6563baa5baf51d27 | 5,232 | py | Python | pepdb/core/migrations/0005_auto_20150311_0025.py | dchaplinsky/pep.org.ua | 8633a65fb657d7f04dbdb12eb8ae705fa6be67e3 | [
"MIT"
] | 7 | 2015-12-21T03:52:46.000Z | 2020-07-24T19:17:23.000Z | pepdb/core/migrations/0005_auto_20150311_0025.py | dchaplinsky/pep.org.ua | 8633a65fb657d7f04dbdb12eb8ae705fa6be67e3 | [
"MIT"
] | 12 | 2016-03-05T18:11:05.000Z | 2021-06-17T20:20:03.000Z | pepdb/core/migrations/0005_auto_20150311_0025.py | dchaplinsky/pep.org.ua | 8633a65fb657d7f04dbdb12eb8ae705fa6be67e3 | [
"MIT"
] | 4 | 2016-07-17T20:19:38.000Z | 2021-03-23T12:47:20.000Z | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
('core', '0004_auto_20150227_0258'),
]
operations = [
migrations.CreateModel(
name='Company2Country',
... | 75.826087 | 1,131 | 0.681766 | 661 | 5,232 | 5.304085 | 0.177005 | 0.0502 | 0.034227 | 0.034227 | 0.700513 | 0.666572 | 0.632345 | 0.593554 | 0.571306 | 0.571306 | 0 | 0.346198 | 0.158066 | 5,232 | 68 | 1,132 | 76.941176 | 0.449716 | 0.004014 | 0 | 0.419355 | 0 | 0.354839 | 0.54713 | 0.462469 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.032258 | 0 | 0.080645 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
d48595ffac76d11d43b13a1fd4cafc84b40c6685 | 16,130 | py | Python | cnn_model/unet.py | WangSong960913/CraterDetection | 9d78311eacb7cfa0e1934e796ff15a7698d93427 | [
"MIT"
] | 5 | 2019-11-22T08:19:15.000Z | 2021-04-26T14:05:00.000Z | cnn_model/unet.py | WangSong960913/CraterDetection | 9d78311eacb7cfa0e1934e796ff15a7698d93427 | [
"MIT"
] | 10 | 2020-01-28T22:18:19.000Z | 2022-03-12T00:05:57.000Z | cnn_model/unet.py | WangSong960913/CraterDetection | 9d78311eacb7cfa0e1934e796ff15a7698d93427 | [
"MIT"
] | 1 | 2021-02-26T01:14:35.000Z | 2021-02-26T01:14:35.000Z | from keras.models import Model
from keras.optimizers import Adam, SGD
from keras.layers.core import Dropout, Reshape
from keras.layers import PReLU, Conv2DTranspose
from keras.layers import Input, Dense, Dropout, LeakyReLU, BatchNormalization, Conv2D, MaxPooling2D, AveragePooling2D, \
concatenate, Activation, ZeroP... | 44.930362 | 120 | 0.62579 | 2,164 | 16,130 | 4.516174 | 0.10305 | 0.045841 | 0.045124 | 0.100276 | 0.766193 | 0.763123 | 0.748491 | 0.73611 | 0.730687 | 0.719533 | 0 | 0.043867 | 0.231184 | 16,130 | 358 | 121 | 45.055866 | 0.744214 | 0.083075 | 0 | 0.676923 | 0 | 0 | 0.050329 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.042308 | false | 0 | 0.061538 | 0.011538 | 0.146154 | 0.023077 | 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 |
2e089b071c3ef5b0aba1b50bc2d0f3c69694636a | 240 | py | Python | solutions_automation/vdc/dashboard/monitoring.py | threefoldtech/js-sdk | 811f783ac34a60225175bab2d806802a87b9d5c7 | [
"Apache-2.0"
] | 13 | 2020-09-02T09:05:08.000Z | 2022-03-12T02:43:24.000Z | solutions_automation/vdc/dashboard/monitoring.py | threefoldtech/js-sdk | 811f783ac34a60225175bab2d806802a87b9d5c7 | [
"Apache-2.0"
] | 1,998 | 2020-06-15T11:46:10.000Z | 2022-03-24T22:12:41.000Z | solutions_automation/vdc/dashboard/monitoring.py | threefoldtech/js-sdk | 811f783ac34a60225175bab2d806802a87b9d5c7 | [
"Apache-2.0"
] | 8 | 2020-09-29T06:50:35.000Z | 2021-06-14T03:30:52.000Z | from solutions_automation.vdc.dashboard.common import CommonChatBot
from jumpscale.packages.vdc_dashboard.chats.monitoringstack import InstallMonitoringStack
class MonitoringStackAutomated(CommonChatBot, InstallMonitoringStack):
pass
| 34.285714 | 89 | 0.879167 | 22 | 240 | 9.5 | 0.727273 | 0.114833 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 240 | 6 | 90 | 40 | 0.941441 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 5 |
2e192b6a70652c894508d715c42a2500680db1c8 | 113 | py | Python | python programs/variable.py | saddam-gif/Python-crushcourse | 63e1e1ff1eeb9a5d34bb0354cc86566c4de60260 | [
"MIT"
] | null | null | null | python programs/variable.py | saddam-gif/Python-crushcourse | 63e1e1ff1eeb9a5d34bb0354cc86566c4de60260 | [
"MIT"
] | null | null | null | python programs/variable.py | saddam-gif/Python-crushcourse | 63e1e1ff1eeb9a5d34bb0354cc86566c4de60260 | [
"MIT"
] | null | null | null | print("Hello World")
message = "Be humble"
print(message)
message = "Be humble to the Everyone"
print(message) | 14.125 | 37 | 0.725664 | 16 | 113 | 5.125 | 0.5625 | 0.219512 | 0.365854 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150442 | 113 | 8 | 38 | 14.125 | 0.854167 | 0 | 0 | 0.4 | 0 | 0 | 0.394737 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.6 | 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 |
2e39b87d4e32e9a95b01761ee3b5b7fa0887601b | 138 | py | Python | server/models/base.py | AndrewIjano/distributed-tic-tac-toe | 8ac050ce45d0ad3a0a7d06c5cea1850b8cdb9f01 | [
"MIT"
] | null | null | null | server/models/base.py | AndrewIjano/distributed-tic-tac-toe | 8ac050ce45d0ad3a0a7d06c5cea1850b8cdb9f01 | [
"MIT"
] | null | null | null | server/models/base.py | AndrewIjano/distributed-tic-tac-toe | 8ac050ce45d0ad3a0a7d06c5cea1850b8cdb9f01 | [
"MIT"
] | null | null | null | class BaseModel:
@property
def key(self):
raise NotImplementedError()
def serialize(self):
return vars(self)
| 17.25 | 35 | 0.623188 | 14 | 138 | 6.142857 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.289855 | 138 | 7 | 36 | 19.714286 | 0.877551 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.166667 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
2e42997e7ac2db7b6d00c58eb50e0be009f2b8e5 | 109 | py | Python | src/validate_plist_xml/__init__.py | jgstew/validate_plist_xml | f8508b565fe910bdd34bbe0dafd68e694a8c99cf | [
"MIT"
] | null | null | null | src/validate_plist_xml/__init__.py | jgstew/validate_plist_xml | f8508b565fe910bdd34bbe0dafd68e694a8c99cf | [
"MIT"
] | 1 | 2021-07-29T15:09:17.000Z | 2021-07-29T15:09:17.000Z | src/validate_plist_xml/__init__.py | jgstew/validate_plist_xml | f8508b565fe910bdd34bbe0dafd68e694a8c99cf | [
"MIT"
] | null | null | null | """
To support validate_plist_xml as module
"""
from .validate_plist_xml import main
__version__ = "1.0.4"
| 13.625 | 39 | 0.743119 | 17 | 109 | 4.294118 | 0.823529 | 0.356164 | 0.438356 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032258 | 0.146789 | 109 | 7 | 40 | 15.571429 | 0.752688 | 0.357798 | 0 | 0 | 0 | 0 | 0.080645 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 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 |
5ceb641d403fdcf4f3d26e38062a5c8de1bac1dd | 122 | py | Python | pymailer/__init__.py | complexsum/pymailer | 827810569ef86e08967bdda1786a059a2f15acd7 | [
"Apache-2.0"
] | 1 | 2021-07-22T12:59:24.000Z | 2021-07-22T12:59:24.000Z | pymailer/__init__.py | complexsum/pymailer | 827810569ef86e08967bdda1786a059a2f15acd7 | [
"Apache-2.0"
] | null | null | null | pymailer/__init__.py | complexsum/pymailer | 827810569ef86e08967bdda1786a059a2f15acd7 | [
"Apache-2.0"
] | null | null | null | from .__about__ import __version__
from .utils.message import build_message
from .core.email_service import EmailService
| 24.4 | 44 | 0.852459 | 16 | 122 | 5.875 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106557 | 122 | 4 | 45 | 30.5 | 0.862385 | 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 |
5cfbfedacf338522d2fde619e1676c52fe299c99 | 145 | py | Python | 0x04-python-more_data_structures/6-print_sorted_dictionary.py | malu17/alx-higher_level_programming | 75a24d98c51116b737f339697c75855e34254d3a | [
"MIT"
] | null | null | null | 0x04-python-more_data_structures/6-print_sorted_dictionary.py | malu17/alx-higher_level_programming | 75a24d98c51116b737f339697c75855e34254d3a | [
"MIT"
] | null | null | null | 0x04-python-more_data_structures/6-print_sorted_dictionary.py | malu17/alx-higher_level_programming | 75a24d98c51116b737f339697c75855e34254d3a | [
"MIT"
] | null | null | null | #!/usr/bin/python3
def print_sorted_dictionary(a_dictionary):
for i, j in sorted(a_dictionary.items()):
print("{}: {}".format(i, j))
| 29 | 45 | 0.648276 | 21 | 145 | 4.285714 | 0.666667 | 0.244444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008197 | 0.158621 | 145 | 4 | 46 | 36.25 | 0.729508 | 0.117241 | 0 | 0 | 0 | 0 | 0.047244 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.333333 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
cf336b6510b3e833aae4703c289b979f40ba7c8e | 242 | py | Python | src/apps/backup/management/commands/run_backup.py | tuxis/BuckuPy | 1af2aa330bcfde11edbf1748af8629289cd084c0 | [
"MIT"
] | null | null | null | src/apps/backup/management/commands/run_backup.py | tuxis/BuckuPy | 1af2aa330bcfde11edbf1748af8629289cd084c0 | [
"MIT"
] | 1 | 2015-03-14T13:59:31.000Z | 2015-03-14T13:59:31.000Z | src/apps/backup/management/commands/run_backup.py | tuxis/BackuPy | 1af2aa330bcfde11edbf1748af8629289cd084c0 | [
"MIT"
] | null | null | null | from django.core.management.base import BaseCommand
class Command(BaseCommand):
def handle(self, *args, **options):
from apps.backup.functions import backup_process
bk_obj = backup_process()
bk_obj.run_backup()
| 24.2 | 56 | 0.706612 | 30 | 242 | 5.533333 | 0.7 | 0.156627 | 0.180723 | 0.216867 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.202479 | 242 | 9 | 57 | 26.888889 | 0.860104 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
cf503a7c1ac12b143d8cf4103b26846bc8150482 | 1,340 | py | Python | 5 - unit testing/vehicle_info_test.py | mickeybeurskens/betterpython | 1b095061b4c11bba39ba4723a23bce495b5ea06a | [
"MIT"
] | 523 | 2021-02-22T09:44:36.000Z | 2022-03-30T06:20:23.000Z | 5 - unit testing/vehicle_info_test.py | mickeybeurskens/betterpython | 1b095061b4c11bba39ba4723a23bce495b5ea06a | [
"MIT"
] | 5 | 2021-03-03T14:54:41.000Z | 2021-12-24T15:58:40.000Z | 5 - unit testing/vehicle_info_test.py | mickeybeurskens/betterpython | 1b095061b4c11bba39ba4723a23bce495b5ea06a | [
"MIT"
] | 146 | 2021-03-12T23:10:38.000Z | 2022-03-30T11:30:16.000Z | import unittest
from vehicle_info_after import VehicleInfo
class TestVehicleInfoMethods(unittest.TestCase):
pass
# def test_compute_tax_non_electric(self):
# v = VehicleInfo("BMW", False, 10000)
# self.assertEqual(v.compute_tax(), 500)
# def test_compute_tax_electric(self):
# v =... | 31.904762 | 61 | 0.656716 | 165 | 1,340 | 5.10303 | 0.266667 | 0.118765 | 0.152019 | 0.180523 | 0.625891 | 0.491686 | 0.454869 | 0.454869 | 0.454869 | 0.454869 | 0 | 0.072519 | 0.21791 | 1,340 | 41 | 62 | 32.682927 | 0.730916 | 0.779851 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
d84d538dd05de087b9938fc33e9746ec3097ff4e | 6,719 | py | Python | tests/test_io.py | A-Breeze/premierconverter | 97b78e184fe70c08d4d5f2174ef802b9f73adaa8 | [
"MIT"
] | null | null | null | tests/test_io.py | A-Breeze/premierconverter | 97b78e184fe70c08d4d5f2174ef802b9f73adaa8 | [
"MIT"
] | 4 | 2020-05-04T10:06:33.000Z | 2020-05-30T16:33:09.000Z | tests/test_io.py | A-Breeze/premierconverter | 97b78e184fe70c08d4d5f2174ef802b9f73adaa8 | [
"MIT"
] | null | null | null | """Unit tests on input/output file functions"""
# pylint: disable=assignment-from-none
#########
# Setup #
#########
# Import external modules
import pytest
# Import project modules
import premierconverter as PCon
##########################
# in_filepath validation #
##########################
def test_io00_in_filep... | 45.09396 | 96 | 0.697723 | 952 | 6,719 | 4.77521 | 0.159664 | 0.058073 | 0.030796 | 0.036956 | 0.809723 | 0.797844 | 0.733392 | 0.703916 | 0.659261 | 0.639463 | 0 | 0.006673 | 0.197053 | 6,719 | 148 | 97 | 45.398649 | 0.835959 | 0.347224 | 0 | 0.593407 | 0 | 0 | 0.206399 | 0.010825 | 0 | 0 | 0 | 0 | 0.285714 | 1 | 0.076923 | false | 0 | 0.021978 | 0 | 0.098901 | 0.087912 | 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 |
d855c6295243a30174fcf813e346d3a6d44eed0a | 107 | py | Python | core/meta/method.py | ponyatov/metaLpy | 96149313e8083536ade1c331825242f6996f05b3 | [
"MIT"
] | null | null | null | core/meta/method.py | ponyatov/metaLpy | 96149313e8083536ade1c331825242f6996f05b3 | [
"MIT"
] | null | null | null | core/meta/method.py | ponyatov/metaLpy | 96149313e8083536ade1c331825242f6996f05b3 | [
"MIT"
] | null | null | null | ## @file
from core.active import *
from .meta import *
## @ingroup meta
class Method(Meta, Fn):
pass
| 11.888889 | 25 | 0.654206 | 15 | 107 | 4.666667 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214953 | 107 | 8 | 26 | 13.375 | 0.833333 | 0.17757 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 5 |
d858fae25176ddd61dd0146d989a68411a4a1ca5 | 20 | py | Python | checkov/version.py | acdha/checkov | 3b78cd6297f5b708f63aebd8c07acecf252ffa05 | [
"Apache-2.0"
] | null | null | null | checkov/version.py | acdha/checkov | 3b78cd6297f5b708f63aebd8c07acecf252ffa05 | [
"Apache-2.0"
] | 1 | 2021-06-02T02:53:31.000Z | 2021-06-02T02:53:31.000Z | checkov/version.py | acdha/checkov | 3b78cd6297f5b708f63aebd8c07acecf252ffa05 | [
"Apache-2.0"
] | null | null | null | version = '1.0.290'
| 10 | 19 | 0.6 | 4 | 20 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.294118 | 0.15 | 20 | 1 | 20 | 20 | 0.411765 | 0 | 0 | 0 | 0 | 0 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
d8bbae884e621db40be454c8a2db48239c2bd2bf | 361 | py | Python | app/views_info.py | fossabot/stream_vod_indexer | 58bff60cc4adb1b8e5966134d2e560e59464d196 | [
"MIT"
] | null | null | null | app/views_info.py | fossabot/stream_vod_indexer | 58bff60cc4adb1b8e5966134d2e560e59464d196 | [
"MIT"
] | null | null | null | app/views_info.py | fossabot/stream_vod_indexer | 58bff60cc4adb1b8e5966134d2e560e59464d196 | [
"MIT"
] | 1 | 2021-02-18T14:25:39.000Z | 2021-02-18T14:25:39.000Z | from django.shortcuts import render
from django.http import JsonResponse
NotImplemented = JsonResponse({"error":"NotImplemented"})
# Create your views here.
def slugs(request):
return NotImplemented
def last_updated(request):
return NotImplemented
def streamer(request):
return NotImplemented
def endpoi... | 19 | 57 | 0.778393 | 39 | 361 | 7.179487 | 0.538462 | 0.185714 | 0.385714 | 0.321429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149584 | 361 | 18 | 58 | 20.055556 | 0.912052 | 0.063712 | 0 | 0.363636 | 0 | 0 | 0.056716 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.363636 | false | 0 | 0.181818 | 0.363636 | 0.909091 | 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 |
2b115be421033d184d276d09161f585acead1560 | 8,751 | py | Python | lib/UITableDelegate.py | apimetre/MetreAppUI_v0.25 | 16cdee8154bca18cffeff512a431249f79a62f83 | [
"MIT"
] | null | null | null | lib/UITableDelegate.py | apimetre/MetreAppUI_v0.25 | 16cdee8154bca18cffeff512a431249f79a62f83 | [
"MIT"
] | null | null | null | lib/UITableDelegate.py | apimetre/MetreAppUI_v0.25 | 16cdee8154bca18cffeff512a431249f79a62f83 | [
"MIT"
] | null | null | null | # Python imports
import os
import numpy as np
import datetime as datetime
import time
import json
from pytz import timezone
# Pythonista imports
import ui
class TData (ui.ListDataSource):
def __init__(self, scale, items=None):
ui.ListDataSource.__init__(self, items)
self.xscale = scale
... | 40.142202 | 190 | 0.516627 | 1,062 | 8,751 | 4.059322 | 0.130885 | 0.056831 | 0.029228 | 0.045465 | 0.745535 | 0.740895 | 0.735096 | 0.716771 | 0.706797 | 0.706797 | 0 | 0.011632 | 0.331962 | 8,751 | 217 | 191 | 40.327189 | 0.725795 | 0.031196 | 0 | 0.690058 | 0 | 0 | 0.042192 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.040936 | false | 0 | 0.040936 | 0 | 0.099415 | 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 |
2b1b40296d057b4ebdabe7d9a8c1e830fa3fbf9c | 25,082 | py | Python | reminder.py | NikitaMikhailov/bot_herobot | 4e462f622dd0ba67854b5e778efc86abab303bec | [
"MIT"
] | null | null | null | reminder.py | NikitaMikhailov/bot_herobot | 4e462f622dd0ba67854b5e778efc86abab303bec | [
"MIT"
] | 6 | 2020-03-24T17:23:25.000Z | 2021-12-13T20:04:34.000Z | reminder.py | NikitaMikhailov/bot_herobot_ls | 4e462f622dd0ba67854b5e778efc86abab303bec | [
"MIT"
] | null | null | null | #!/usr/bin/env bash
# !/bin/bash
# !/bin/sh
# !/bin/sh -
from vk_api import VkUpload
from vk_api.bot_longpoll import VkBotLongPoll, VkBotEventType
import datetime, requests, vk_api, calendar
from vk_api.utils import get_random_id
# сделать проверку при переходе на завтра в последний день месяца !!done
# сделать провер... | 67.064171 | 228 | 0.362092 | 2,116 | 25,082 | 4.120038 | 0.098299 | 0.10117 | 0.075705 | 0.052994 | 0.77644 | 0.740193 | 0.727002 | 0.700734 | 0.68479 | 0.650379 | 0 | 0.028384 | 0.512599 | 25,082 | 373 | 229 | 67.243968 | 0.684744 | 0.019895 | 0 | 0.692063 | 0 | 0.003175 | 0.102849 | 0.023525 | 0 | 0 | 0 | 0 | 0 | 1 | 0.012698 | false | 0 | 0.012698 | 0 | 0.053968 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 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 |
99581c5a8e09b457ae98f2d23124e73c96bec07d | 166 | py | Python | qoredl_project/qoredl-core/Global_client.py | qore-dl/qore-dl-code | dc60df8fd072df5c641005992630f43892b7f78e | [
"Apache-2.0"
] | null | null | null | qoredl_project/qoredl-core/Global_client.py | qore-dl/qore-dl-code | dc60df8fd072df5c641005992630f43892b7f78e | [
"Apache-2.0"
] | null | null | null | qoredl_project/qoredl-core/Global_client.py | qore-dl/qore-dl-code | dc60df8fd072df5c641005992630f43892b7f78e | [
"Apache-2.0"
] | null | null | null | from influxdb import InfluxDBClient
class Global_Influx():
Client_all = InfluxDBClient(host='172.16.20.190',port=8086,username='voicecomm',password='voicecomm')
| 33.2 | 105 | 0.783133 | 21 | 166 | 6.095238 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092105 | 0.084337 | 166 | 4 | 106 | 41.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.187879 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.333333 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
997b45949a906e8f5210698f429a43512569a506 | 259 | py | Python | sniffing/http-password-sniffer.py | imsouza/pentest-tools | 798b8e6f09534d61b3acd1873614c423c0b98f13 | [
"MIT"
] | null | null | null | sniffing/http-password-sniffer.py | imsouza/pentest-tools | 798b8e6f09534d61b3acd1873614c423c0b98f13 | [
"MIT"
] | null | null | null | sniffing/http-password-sniffer.py | imsouza/pentest-tools | 798b8e6f09534d61b3acd1873614c423c0b98f13 | [
"MIT"
] | null | null | null | from scapy.all import *
def print_packages(package):
header = str(package[TCP].payload[0:4])
if header == 'POST':
if 'pass' in str(package[TCP].payload).lower():
print package[TCP].payload
sniff(filter='port 80',store=0, prn=print_packages)
| 21.583333 | 51 | 0.683398 | 39 | 259 | 4.487179 | 0.641026 | 0.171429 | 0.291429 | 0.228571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022831 | 0.15444 | 259 | 11 | 52 | 23.545455 | 0.776256 | 0 | 0 | 0 | 0 | 0 | 0.05814 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.142857 | 0.142857 | null | null | 0.428571 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 5 |
997c1f767f3b6775e40a66e64cf1159f1db42a2d | 1,758 | py | Python | Leetcode/Python/_169.py | Xrenya/algorithms | aded82cacde2f4f2114241907861251e0e2e5638 | [
"MIT"
] | 1 | 2021-11-28T15:03:32.000Z | 2021-11-28T15:03:32.000Z | Leetcode/Python/_169.py | Xrenya/algorithms | aded82cacde2f4f2114241907861251e0e2e5638 | [
"MIT"
] | null | null | null | Leetcode/Python/_169.py | Xrenya/algorithms | aded82cacde2f4f2114241907861251e0e2e5638 | [
"MIT"
] | null | null | null | class Solution:
def majorityElement(self, nums: List[int]) -> int:
vote = 0
result = None
n = len(nums) // 2
for num in nums:
if vote == 0:
result = num
if result == num:
vote += 1
if vote > n:
... | 26.238806 | 54 | 0.448237 | 182 | 1,758 | 4.32967 | 0.175824 | 0.114213 | 0.101523 | 0.196701 | 0.784264 | 0.728426 | 0.728426 | 0.728426 | 0.635787 | 0.573604 | 0 | 0.019293 | 0.469283 | 1,758 | 66 | 55 | 26.636364 | 0.825295 | 0 | 0 | 0.836066 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.081967 | false | 0 | 0.016393 | 0 | 0.278689 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
997f1e8286dec29a79fb1385182f5f82a1aa9e67 | 30 | py | Python | pcdet/version.py | tuanho27/OpenPCDet | facde3cdb9590f238cfbfac88633e2746dcad2a4 | [
"Apache-2.0"
] | null | null | null | pcdet/version.py | tuanho27/OpenPCDet | facde3cdb9590f238cfbfac88633e2746dcad2a4 | [
"Apache-2.0"
] | null | null | null | pcdet/version.py | tuanho27/OpenPCDet | facde3cdb9590f238cfbfac88633e2746dcad2a4 | [
"Apache-2.0"
] | null | null | null | __version__ = "0.2.0+1e2b0ad"
| 15 | 29 | 0.7 | 5 | 30 | 3.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 0.1 | 30 | 1 | 30 | 30 | 0.407407 | 0 | 0 | 0 | 0 | 0 | 0.433333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
5117f425a33dacec425924067a43e90a3fd96c77 | 141 | py | Python | random/stocks_simulator.py | Dmendoza3/Phyton | e6c563609724b2dadcd767d2bfc291090ac2f58e | [
"MIT"
] | null | null | null | random/stocks_simulator.py | Dmendoza3/Phyton | e6c563609724b2dadcd767d2bfc291090ac2f58e | [
"MIT"
] | null | null | null | random/stocks_simulator.py | Dmendoza3/Phyton | e6c563609724b2dadcd767d2bfc291090ac2f58e | [
"MIT"
] | null | null | null | import time
import random
value = random.randint(0, 1000)
while True:
if random.randint(0, 100) > 50:
print("lose everything")
| 15.666667 | 35 | 0.666667 | 20 | 141 | 4.7 | 0.75 | 0.276596 | 0.297872 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 0.219858 | 141 | 8 | 36 | 17.625 | 0.754545 | 0 | 0 | 0 | 0 | 0 | 0.106383 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.166667 | 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 |
850acae9e6730e1a008027badd4b40e01b33c578 | 2,542 | py | Python | pepper_snp/modules/python/MakeImages.py | Samteymoori/pepper | 734d226de47a855952e3b58145c1fcfbe221d3b4 | [
"MIT"
] | null | null | null | pepper_snp/modules/python/MakeImages.py | Samteymoori/pepper | 734d226de47a855952e3b58145c1fcfbe221d3b4 | [
"MIT"
] | null | null | null | pepper_snp/modules/python/MakeImages.py | Samteymoori/pepper | 734d226de47a855952e3b58145c1fcfbe221d3b4 | [
"MIT"
] | null | null | null | import os
from pepper_snp.modules.python.ImageGenerationUI import UserInterfaceSupport
def make_images(bam_file, draft_file, region, output_path, total_threads, downsample_rate):
output_dir = UserInterfaceSupport.handle_output_directory(os.path.abspath(output_path))
chr_list, bed_list = UserInterfaceSupport.... | 65.179487 | 137 | 0.464595 | 199 | 2,542 | 5.477387 | 0.221106 | 0.051376 | 0.07156 | 0.058716 | 0.818349 | 0.789908 | 0.712844 | 0.712844 | 0.677064 | 0.677064 | 0 | 0.006226 | 0.494493 | 2,542 | 38 | 138 | 66.894737 | 0.842023 | 0 | 0 | 0.533333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066667 | false | 0 | 0.066667 | 0 | 0.133333 | 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 |
517f586f07c888f23e3ebae5fa5950083f9c7651 | 85 | py | Python | 5_Pham_Ngo_Tien_Dung/1.1.py | huong-rose/student-practices | 3d0e500a1864665b63247e3b6c96c297c55fceb8 | [
"MIT"
] | null | null | null | 5_Pham_Ngo_Tien_Dung/1.1.py | huong-rose/student-practices | 3d0e500a1864665b63247e3b6c96c297c55fceb8 | [
"MIT"
] | null | null | null | 5_Pham_Ngo_Tien_Dung/1.1.py | huong-rose/student-practices | 3d0e500a1864665b63247e3b6c96c297c55fceb8 | [
"MIT"
] | 8 | 2020-07-10T14:13:54.000Z | 2020-08-03T08:17:50.000Z | # Write a program that prints ‘Hello World’ to the screen.
print("hello world!") | 21.25 | 59 | 0.694118 | 13 | 85 | 4.538462 | 0.846154 | 0.338983 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 85 | 4 | 60 | 21.25 | 0.867647 | 0.658824 | 0 | 0 | 0 | 0 | 0.48 | 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 |
51cda408d24b0b351a76452570085336eb6c1d3a | 368 | py | Python | tests/test_parse.py | assasinitachi123/extra-boolean | 632bf238bd44df0a31be8fb970ed65f812dad166 | [
"MIT"
] | null | null | null | tests/test_parse.py | assasinitachi123/extra-boolean | 632bf238bd44df0a31be8fb970ed65f812dad166 | [
"MIT"
] | 2 | 2021-04-01T12:07:06.000Z | 2021-04-01T12:30:17.000Z | tests/test_parse.py | assasinitachi123/extra-boolean | 632bf238bd44df0a31be8fb970ed65f812dad166 | [
"MIT"
] | 3 | 2021-04-01T11:29:06.000Z | 2021-04-01T12:07:55.000Z | from extra_boolean import parse
def test_parse():
assert parse("1") == True
assert parse("truthy") == True
assert parse("Not Off") == True
assert parse("Not Inactive") == True
assert parse("cold") == False
assert parse("inactive") == False
assert parse("Negative Yes") =... | 28.307692 | 39 | 0.605978 | 44 | 368 | 5.022727 | 0.431818 | 0.39819 | 0.271493 | 0.162896 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00365 | 0.255435 | 368 | 12 | 40 | 30.666667 | 0.80292 | 0 | 0 | 0 | 0 | 0 | 0.168478 | 0 | 0 | 0 | 0 | 0 | 0.8 | 1 | 0.1 | true | 0 | 0.1 | 0 | 0.2 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
51cdc580268ef4c73784dd8b9b39a834260fc8c9 | 206 | py | Python | interprocedural_analyses/taint/test/integration/static_methods.py | skylerberg/pyre-check | e7967e5ee65dd09608f162cdb36a5b0919aeb5e3 | [
"MIT"
] | 1 | 2020-08-12T14:33:46.000Z | 2020-08-12T14:33:46.000Z | interprocedural_analyses/taint/test/integration/static_methods.py | skylerberg/pyre-check | e7967e5ee65dd09608f162cdb36a5b0919aeb5e3 | [
"MIT"
] | null | null | null | interprocedural_analyses/taint/test/integration/static_methods.py | skylerberg/pyre-check | e7967e5ee65dd09608f162cdb36a5b0919aeb5e3 | [
"MIT"
] | null | null | null | # flake8: noqa
class StaticClass:
@staticmethod
def sink(oops):
__test_sink(oops)
def test(source):
return StaticClass.sink(source)
def run_test(source):
test(__test_source())
| 12.875 | 35 | 0.669903 | 25 | 206 | 5.24 | 0.48 | 0.229008 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00625 | 0.223301 | 206 | 15 | 36 | 13.733333 | 0.8125 | 0.058252 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0 | 0.125 | 0.625 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
51d10772c01bd5a7501884d7d34b996156b5855b | 11,131 | py | Python | openshift/test/test_image_openshift_io_v1_api.py | flaper87/openshift-restclient-python | 13d5d86ca89035b9f596032e7a34f3cc33bf8f18 | [
"Apache-2.0"
] | null | null | null | openshift/test/test_image_openshift_io_v1_api.py | flaper87/openshift-restclient-python | 13d5d86ca89035b9f596032e7a34f3cc33bf8f18 | [
"Apache-2.0"
] | null | null | null | openshift/test/test_image_openshift_io_v1_api.py | flaper87/openshift-restclient-python | 13d5d86ca89035b9f596032e7a34f3cc33bf8f18 | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
"""
OpenShift API (with Kubernetes)
OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is... | 34.249231 | 3,380 | 0.715479 | 1,471 | 11,131 | 5.013596 | 0.190347 | 0.140475 | 0.160542 | 0.18061 | 0.568814 | 0.568814 | 0.568814 | 0.559864 | 0.544542 | 0.488271 | 0 | 0.010516 | 0.239691 | 11,131 | 324 | 3,381 | 34.354938 | 0.860924 | 0.535981 | 0 | 0.430233 | 0 | 0 | 0.00203 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.44186 | false | 0.430233 | 0.104651 | 0 | 0.55814 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
51d813be5ea4c881476a88db27b07aafd831f9e8 | 98 | py | Python | results/sherpa_studies/start_sherpa_frontend.py | yimengmin/wiki-cs-dataset | 4078c80e698c58e5cfb3ef19f2716f1032dced4d | [
"MIT"
] | 30 | 2020-07-05T12:04:24.000Z | 2021-12-08T13:08:33.000Z | results/sherpa_studies/start_sherpa_frontend.py | yimengmin/wiki-cs-dataset | 4078c80e698c58e5cfb3ef19f2716f1032dced4d | [
"MIT"
] | 4 | 2021-02-26T13:59:42.000Z | 2022-01-09T23:22:09.000Z | results/sherpa_studies/start_sherpa_frontend.py | yimengmin/wiki-cs-dataset | 4078c80e698c58e5cfb3ef19f2716f1032dced4d | [
"MIT"
] | 5 | 2020-07-07T09:21:57.000Z | 2021-07-14T13:32:42.000Z | import sherpa
import sys
sherpa.core.Study.load_dashboard(sys.argv[1])
while True:
pass
| 12.25 | 45 | 0.72449 | 15 | 98 | 4.666667 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0125 | 0.183673 | 98 | 7 | 46 | 14 | 0.8625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 5 |
51ed1f450f5c2e9116d1e102628234c8acd52cd5 | 51 | py | Python | python_basics/Module & packages/basic/mymodule.py | alok8765/basic_python_practicse | 9bd61f0b03fc1e703a75df39862a24692bb3fdb7 | [
"MIT"
] | null | null | null | python_basics/Module & packages/basic/mymodule.py | alok8765/basic_python_practicse | 9bd61f0b03fc1e703a75df39862a24692bb3fdb7 | [
"MIT"
] | null | null | null | python_basics/Module & packages/basic/mymodule.py | alok8765/basic_python_practicse | 9bd61f0b03fc1e703a75df39862a24692bb3fdb7 | [
"MIT"
] | null | null | null | def my_func():
print("Hey i am in mymodule.py") | 25.5 | 36 | 0.647059 | 10 | 51 | 3.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.196078 | 51 | 2 | 36 | 25.5 | 0.780488 | 0 | 0 | 0 | 0 | 0 | 0.442308 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
cf99ad9c7199c43d556a3a6c11b158ea03a10b17 | 773 | py | Python | src/prefect/environments/execution/__init__.py | vnsn/prefect | 972345597975155dba9e3232bcc430d0a6258a37 | [
"Apache-2.0"
] | 8,633 | 2019-03-23T17:51:03.000Z | 2022-03-31T22:17:42.000Z | src/prefect/environments/execution/__init__.py | vnsn/prefect | 972345597975155dba9e3232bcc430d0a6258a37 | [
"Apache-2.0"
] | 3,903 | 2019-03-23T19:11:21.000Z | 2022-03-31T23:21:23.000Z | src/prefect/environments/execution/__init__.py | vnsn/prefect | 972345597975155dba9e3232bcc430d0a6258a37 | [
"Apache-2.0"
] | 937 | 2019-03-23T18:49:44.000Z | 2022-03-31T21:45:13.000Z | """
Execution environments encapsulate the logic for where your Flow should execute in Prefect Cloud.
DEPRECATED: Environment based configuration is deprecated, please transition to
configuring `flow.run_config` instead of `flow.environment`. See
https://docs.prefect.io/orchestration/flow_config/overview.html for more... | 55.214286 | 97 | 0.862872 | 90 | 773 | 7.355556 | 0.555556 | 0.099698 | 0.208459 | 0.29003 | 0.126888 | 0.126888 | 0 | 0 | 0 | 0 | 0 | 0.001404 | 0.078913 | 773 | 13 | 98 | 59.461538 | 0.928371 | 0.416559 | 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 |
3207c9319a811fe99f49e82e377ba3c9bf004132 | 37 | py | Python | complaints/forms.py | Three-Dev-Musketeers/Mumbai_Police | 293fbc1d81db459c23649c9c6b1eef8c38da1939 | [
"MIT"
] | 5 | 2021-02-19T20:37:35.000Z | 2021-12-19T06:41:50.000Z | complaints/forms.py | Divesh2201/Mumbai_Police | dfabf8494de2c790178541ee20d37d3002ca12af | [
"MIT"
] | 1 | 2021-10-04T17:37:51.000Z | 2021-10-05T10:50:36.000Z | complaints/forms.py | Divesh2201/Mumbai_Police | dfabf8494de2c790178541ee20d37d3002ca12af | [
"MIT"
] | 4 | 2021-03-05T05:44:20.000Z | 2021-04-25T17:23:16.000Z | from django.forms import ModelForm
| 9.25 | 34 | 0.810811 | 5 | 37 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162162 | 37 | 3 | 35 | 12.333333 | 0.967742 | 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 |
32104f4e311e84be738def4f129964e48460c0d9 | 5,152 | py | Python | tests/testLock.py | geek-plus/vlcp | e7936e00929fcef00c04d4da39b67d9679d5f083 | [
"Apache-2.0"
] | 1 | 2016-09-10T12:09:29.000Z | 2016-09-10T12:09:29.000Z | tests/testLock.py | wan-qy/vlcp | e7936e00929fcef00c04d4da39b67d9679d5f083 | [
"Apache-2.0"
] | null | null | null | tests/testLock.py | wan-qy/vlcp | e7936e00929fcef00c04d4da39b67d9679d5f083 | [
"Apache-2.0"
] | null | null | null | '''
Created on 2015/12/14
:author: hubo
'''
from __future__ import print_function
import unittest
from vlcp.server.server import Server
from vlcp.event.runnable import RoutineContainer
from vlcp.event.lock import Lock, Semaphore
from vlcp.config.config import manager
class Test(unittest.TestCase):
def setUp(self... | 31.607362 | 52 | 0.500582 | 584 | 5,152 | 4.393836 | 0.138699 | 0.043648 | 0.044427 | 0.151988 | 0.744739 | 0.744739 | 0.714341 | 0.701091 | 0.672253 | 0.669135 | 0 | 0.023772 | 0.387616 | 5,152 | 163 | 53 | 31.607362 | 0.78954 | 0.015528 | 0 | 0.784314 | 0 | 0 | 0.027246 | 0 | 0 | 0 | 0 | 0 | 0.045752 | 1 | 0.104575 | false | 0.006536 | 0.039216 | 0 | 0.150327 | 0.006536 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
321a677bc86f6867f322f039ff7af55885cb61d6 | 108 | py | Python | desafio021.py | RickChaves29/Desafios-Python | 9d67036ca2ba9c6db2a649a381cac832ac83035f | [
"MIT"
] | null | null | null | desafio021.py | RickChaves29/Desafios-Python | 9d67036ca2ba9c6db2a649a381cac832ac83035f | [
"MIT"
] | null | null | null | desafio021.py | RickChaves29/Desafios-Python | 9d67036ca2ba9c6db2a649a381cac832ac83035f | [
"MIT"
] | null | null | null | import pygame
pygame.int()
pygame.mixer.music.load('mus.wav')
pygame.mixer.music.play()
pygame.event.wait()
| 18 | 34 | 0.759259 | 17 | 108 | 4.823529 | 0.647059 | 0.268293 | 0.390244 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 108 | 5 | 35 | 21.6 | 0.803922 | 0 | 0 | 0 | 0 | 0 | 0.064815 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
5c5a7bc210161001a104c32fd99fc7efc61f204e | 119 | py | Python | jobhunter/admin.py | alexhyang/portfolio | 77a489cdc8a658e0a7334ad1a40821d1943da9c1 | [
"MIT"
] | null | null | null | jobhunter/admin.py | alexhyang/portfolio | 77a489cdc8a658e0a7334ad1a40821d1943da9c1 | [
"MIT"
] | null | null | null | jobhunter/admin.py | alexhyang/portfolio | 77a489cdc8a658e0a7334ad1a40821d1943da9c1 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Posting
# Register your models here.
admin.site.register(Posting) | 23.8 | 32 | 0.815126 | 17 | 119 | 5.705882 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 119 | 5 | 33 | 23.8 | 0.92381 | 0.218487 | 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 |
5cb7c6beb0e5f753cb7807deb732ba6f531833e1 | 128 | py | Python | bin/apache-hive-3.1.2-bin/lib/py/thrift/__init__.py | ptrick/hdfs-hive-sql-playground | 83f2aaa79f022a3c320939eace1fd2d06583187f | [
"Apache-2.0"
] | null | null | null | bin/apache-hive-3.1.2-bin/lib/py/thrift/__init__.py | ptrick/hdfs-hive-sql-playground | 83f2aaa79f022a3c320939eace1fd2d06583187f | [
"Apache-2.0"
] | null | null | null | bin/apache-hive-3.1.2-bin/lib/py/thrift/__init__.py | ptrick/hdfs-hive-sql-playground | 83f2aaa79f022a3c320939eace1fd2d06583187f | [
"Apache-2.0"
] | null | null | null | version https://git-lfs.github.com/spec/v1
oid sha256:4483dc4e2110743c7c39245cfd5626a1e46f9b4007e129bbf2b7c923d52056ea
size 817
| 32 | 75 | 0.882813 | 13 | 128 | 8.692308 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.409836 | 0.046875 | 128 | 3 | 76 | 42.666667 | 0.516393 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
5cd4da743fe378f38dbba8d2979b2bf609b1a278 | 180 | py | Python | tmp/httprunner/debugtalk2.py | hanzhichao/runnerz | 3a42b7281972871b16c6347a2e233c5215047b08 | [
"MIT"
] | null | null | null | tmp/httprunner/debugtalk2.py | hanzhichao/runnerz | 3a42b7281972871b16c6347a2e233c5215047b08 | [
"MIT"
] | 2 | 2021-03-31T19:45:39.000Z | 2021-12-13T20:43:55.000Z | tmp/tests/debugtalk.py | hanzhichao/runnerz | 3a42b7281972871b16c6347a2e233c5215047b08 | [
"MIT"
] | null | null | null | def add(a,b):
return a+b
def setup(request):
print('setup')
print(request)
def teardown(response):
print('teardown')
# print(response.resp_obj.text) # 原始请求文本 | 18 | 45 | 0.644444 | 25 | 180 | 4.6 | 0.56 | 0.034783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205556 | 180 | 10 | 45 | 18 | 0.804196 | 0.211111 | 0 | 0 | 0 | 0 | 0.092857 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0 | 0.142857 | 0.571429 | 0.428571 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 5 |
5cd983b4bc6e39be8caaea36796b0643f9db5dab | 3,107 | py | Python | battleship/battleship.py | johncoleman83/codewars | 5757703c1498a42a9e7f32bfa8938ca804dbdfeb | [
"MIT"
] | null | null | null | battleship/battleship.py | johncoleman83/codewars | 5757703c1498a42a9e7f32bfa8938ca804dbdfeb | [
"MIT"
] | 1 | 2022-01-06T20:33:46.000Z | 2022-01-06T20:33:46.000Z | battleship/battleship.py | johncoleman83/codewars | 5757703c1498a42a9e7f32bfa8938ca804dbdfeb | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
def ship_size(row, i):
size = 0
if 0 <= i < 10 and row[i] == 1:
row[i] = 0
size += 1 + ship_size(row, i + 1) + ship_size(row, i - 1)
return size
def check_diagonals(f):
coords = {}
for r in range(10):
for c in range(10):
coords[(r, c)] = f... | 31.704082 | 77 | 0.38365 | 591 | 3,107 | 1.967851 | 0.093063 | 0.337059 | 0.430782 | 0.481513 | 0.50215 | 0.415305 | 0.380052 | 0.377472 | 0.343938 | 0.343938 | 0 | 0.199561 | 0.412939 | 3,107 | 97 | 78 | 32.030928 | 0.438048 | 0.006759 | 0 | 0.314607 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.033708 | false | 0 | 0 | 0 | 0.067416 | 0.011236 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
7a75b759259dac5df09438dc22be9316ec5e2bd8 | 23 | py | Python | src/netatmo/__init__.py | elcombato/netatmo | 14b03eb31a0cca0fe58195393cd167ec20212c7d | [
"Unlicense"
] | 33 | 2016-11-22T22:42:08.000Z | 2022-03-31T18:25:24.000Z | src/netatmo/__init__.py | elcombato/netatmo | 14b03eb31a0cca0fe58195393cd167ec20212c7d | [
"Unlicense"
] | 11 | 2018-04-19T11:57:01.000Z | 2022-02-01T17:08:56.000Z | src/netatmo/__init__.py | elcombato/netatmo | 14b03eb31a0cca0fe58195393cd167ec20212c7d | [
"Unlicense"
] | 24 | 2018-02-20T12:49:42.000Z | 2021-09-06T10:14:19.000Z | from .netatmo import *
| 11.5 | 22 | 0.73913 | 3 | 23 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.894737 | 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 |
7a8528678f449fc6681fb79f2a58010d0276290a | 209 | py | Python | src/trainers/__init__.py | pomelyu/ML_HW | b87697f3ee86592a34d80c8dbf167a5767731630 | [
"MIT"
] | null | null | null | src/trainers/__init__.py | pomelyu/ML_HW | b87697f3ee86592a34d80c8dbf167a5767731630 | [
"MIT"
] | null | null | null | src/trainers/__init__.py | pomelyu/ML_HW | b87697f3ee86592a34d80c8dbf167a5767731630 | [
"MIT"
] | null | null | null | from .classification_trainer import ClassificationTrainer
from .gan_trainer import GANTrainer
from .regression_trainer import RegressionTrainer
from .trainer import Trainer
from .hw3_trainer import HW3Trainer
| 34.833333 | 57 | 0.880383 | 24 | 209 | 7.5 | 0.458333 | 0.361111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010582 | 0.095694 | 209 | 5 | 58 | 41.8 | 0.941799 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 |
7a99cf695073e20147d0e7b560063ec5d6000fca | 168 | py | Python | tasks/admin.py | housepig7/ops | ed1dc6f6e160e2a4a414c1eeeee78ded02597013 | [
"Apache-2.0"
] | 394 | 2017-09-08T04:19:06.000Z | 2022-03-25T16:43:22.000Z | tasks/admin.py | kevin4shey/autoops | 5e717a2d86dd37cd2cfaf6db3d9613a0c41c49ae | [
"Apache-2.0"
] | 9 | 2017-10-11T02:20:55.000Z | 2022-03-25T09:43:08.000Z | tasks/admin.py | kevin4shey/autoops | 5e717a2d86dd37cd2cfaf6db3d9613a0c41c49ae | [
"Apache-2.0"
] | 218 | 2017-09-10T08:10:55.000Z | 2022-03-16T08:54:27.000Z | from django.contrib import admin
# Register your models here.
from .models import history,toolsscript
admin.site.register(history)
admin.site.register(toolsscript) | 18.666667 | 40 | 0.809524 | 22 | 168 | 6.181818 | 0.545455 | 0.132353 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113095 | 168 | 9 | 41 | 18.666667 | 0.912752 | 0.154762 | 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 |
8f8e026c95b97103043293836bde9dd47532a4fd | 200 | py | Python | armstrong/core/arm_content/mixins/__init__.py | cirlabs/armstrong.core.arm_content | 91b2022bc19f0ddb10402d928c9b68c9faf242b6 | [
"Apache-2.0"
] | null | null | null | armstrong/core/arm_content/mixins/__init__.py | cirlabs/armstrong.core.arm_content | 91b2022bc19f0ddb10402d928c9b68c9faf242b6 | [
"Apache-2.0"
] | null | null | null | armstrong/core/arm_content/mixins/__init__.py | cirlabs/armstrong.core.arm_content | 91b2022bc19f0ddb10402d928c9b68c9faf242b6 | [
"Apache-2.0"
] | null | null | null | import pkg_resources
pkg_resources.declare_namespace(__name__)
from .authors import AuthorsMixin
from .images import *
from .publication import PublicationMixin
from .video import EmbeddedVideoMixin
| 25 | 41 | 0.86 | 23 | 200 | 7.173913 | 0.608696 | 0.145455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 200 | 7 | 42 | 28.571429 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.833333 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
8fec60a8567dd19c25b319855cd1ae8d78b8faef | 142 | py | Python | fastfunc/divide.py | nschloe/fastfunc | a5dca6d4b7b2f98b870215911eece2ba4652d403 | [
"MIT"
] | 10 | 2018-07-02T17:10:37.000Z | 2021-01-31T13:52:24.000Z | fastfunc/divide.py | nschloe/fastfunc | a5dca6d4b7b2f98b870215911eece2ba4652d403 | [
"MIT"
] | 7 | 2018-05-24T13:15:30.000Z | 2021-02-05T10:11:03.000Z | fastfunc/divide.py | nschloe/fastfunc | a5dca6d4b7b2f98b870215911eece2ba4652d403 | [
"MIT"
] | null | null | null | from _fastfunc import _divide_at
from .helpers import _operator_at
def at(a, k, vals):
_operator_at(_divide_at, a, k, vals)
return
| 15.777778 | 40 | 0.725352 | 23 | 142 | 4.086957 | 0.521739 | 0.170213 | 0.085106 | 0.170213 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.197183 | 142 | 8 | 41 | 17.75 | 0.824561 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
89107a84cdd4a9134c9440f0812452a774eacd16 | 112 | py | Python | falconcv/models/__init__.py | haruiz/FalconCV | 0c9444451a60c8f6375c30426811160ae79b02ba | [
"Apache-2.0"
] | 16 | 2020-06-05T01:26:04.000Z | 2020-09-18T23:56:14.000Z | falconcv/models/__init__.py | haruiz/FalconCV | 0c9444451a60c8f6375c30426811160ae79b02ba | [
"Apache-2.0"
] | 13 | 2020-06-01T17:35:22.000Z | 2020-09-22T23:19:27.000Z | falconcv/models/__init__.py | haruiz/FalconCV | 0c9444451a60c8f6375c30426811160ae79b02ba | [
"Apache-2.0"
] | 2 | 2020-06-06T06:10:58.000Z | 2020-06-08T07:19:24.000Z | from .api_installer import ApiInstaller
from .model_builder import ModelBuilder
from .api_model import ApiModel
| 28 | 39 | 0.866071 | 15 | 112 | 6.266667 | 0.6 | 0.148936 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 112 | 3 | 40 | 37.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 |
64eb8fc09fc7346848da8a3026318e6bdf617656 | 139 | py | Python | src/decorators/overrides.py | ZelphirKaltstahl/QuestionsAndAnswers | 3edb7ef8357706d94fcbc060d966186e933112c8 | [
"MIT"
] | null | null | null | src/decorators/overrides.py | ZelphirKaltstahl/QuestionsAndAnswers | 3edb7ef8357706d94fcbc060d966186e933112c8 | [
"MIT"
] | null | null | null | src/decorators/overrides.py | ZelphirKaltstahl/QuestionsAndAnswers | 3edb7ef8357706d94fcbc060d966186e933112c8 | [
"MIT"
] | null | null | null | def overrides(interface_class):
def overrider(method):
assert(method.__name__ in dir(interface_class))
return method
return overrider | 27.8 | 49 | 0.805755 | 18 | 139 | 5.888889 | 0.611111 | 0.264151 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115108 | 139 | 5 | 50 | 27.8 | 0.861789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.4 | false | 0 | 0 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
64ef1b2048241c8ff4eb4c687aa7e4c12001e6db | 317 | py | Python | colight-master/run_batch.py | utkachenko/Con-MATSCo | 4f8a0299feb8d523462c9ed998c7cb498d99d4a2 | [
"Apache-2.0"
] | 1 | 2022-03-15T19:15:51.000Z | 2022-03-15T19:15:51.000Z | colight-master/run_batch.py | utkachenko/Con-MATSCo | 4f8a0299feb8d523462c9ed998c7cb498d99d4a2 | [
"Apache-2.0"
] | null | null | null | colight-master/run_batch.py | utkachenko/Con-MATSCo | 4f8a0299feb8d523462c9ed998c7cb498d99d4a2 | [
"Apache-2.0"
] | null | null | null | import runexp
import testexp
import summary
memo = "multi_phase/sumo/pipeline"
runexp.main(memo)
print("****************************** runexp ends (generate, train, test)!! ******************************")
summary.main(memo)
print("****************************** summary_detail ends ******************************") | 31.7 | 108 | 0.470032 | 27 | 317 | 5.444444 | 0.592593 | 0.108844 | 0.176871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072555 | 317 | 10 | 109 | 31.7 | 0.5 | 0 | 0 | 0 | 1 | 0 | 0.644654 | 0.455975 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.375 | 0 | 0.375 | 0.25 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
8f1057241afa925eeac6771ba54217fa7151dae6 | 42 | py | Python | kloppy_spark/sinks/__init__.py | deepsports-io/kloppy-spark | 47bf1ed8b258e7354075d3ba6373cbc4cbd33a75 | [
"BSD-3-Clause"
] | null | null | null | kloppy_spark/sinks/__init__.py | deepsports-io/kloppy-spark | 47bf1ed8b258e7354075d3ba6373cbc4cbd33a75 | [
"BSD-3-Clause"
] | 2 | 2020-12-22T21:33:27.000Z | 2020-12-28T13:06:32.000Z | kloppy_spark/sinks/__init__.py | deepsports-io/kloppy-spark | 47bf1ed8b258e7354075d3ba6373cbc4cbd33a75 | [
"BSD-3-Clause"
] | null | null | null | from .show_dataframe import ShowDataFrame
| 21 | 41 | 0.880952 | 5 | 42 | 7.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 42 | 1 | 42 | 42 | 0.947368 | 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 |
8f2dfe36a7ccd0163606dad67fc16995405ee2a1 | 337 | py | Python | octicons16px/check_circle_fill.py | andrewp-as-is/octicons16px.py | 1272dc9f290619d83bd881e87dbd723b0c48844c | [
"Unlicense"
] | 1 | 2021-01-28T06:47:39.000Z | 2021-01-28T06:47:39.000Z | octicons16px/check_circle_fill.py | andrewp-as-is/octicons16px.py | 1272dc9f290619d83bd881e87dbd723b0c48844c | [
"Unlicense"
] | null | null | null | octicons16px/check_circle_fill.py | andrewp-as-is/octicons16px.py | 1272dc9f290619d83bd881e87dbd723b0c48844c | [
"Unlicense"
] | null | null | null |
OCTICON_CHECK_CIRCLE_FILL = """
<svg class="octicon octicon-circle-fill" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M8 16A8 8 0 108 0a8 8 0 000 16zm3.78-9.72a.75.75 0 00-1.06-1.06L6.75 9.19 5.28 7.72a.75.75 0 00-1.06 1.06l2 2a.75.75 0 001.06 0l4.5-4.5z"><... | 67.4 | 299 | 0.673591 | 79 | 337 | 2.835443 | 0.582278 | 0.053571 | 0.066964 | 0.071429 | 0.125 | 0.125 | 0.125 | 0.125 | 0 | 0 | 0 | 0.314381 | 0.11276 | 337 | 4 | 300 | 84.25 | 0.434783 | 0 | 0 | 0 | 0 | 0.333333 | 0.895833 | 0.074405 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
8f520520746e38be0ec8aeb786635f0c781f643d | 19 | py | Python | tools/python/boutiques/__version__.py | glatard/boutiques | a75de1b2fcf96e0eb196974ee2376b014972e847 | [
"MIT"
] | 2 | 2016-11-01T15:08:37.000Z | 2018-09-07T20:56:43.000Z | tools/python/boutiques/__version__.py | glatard/boutiques | a75de1b2fcf96e0eb196974ee2376b014972e847 | [
"MIT"
] | null | null | null | tools/python/boutiques/__version__.py | glatard/boutiques | a75de1b2fcf96e0eb196974ee2376b014972e847 | [
"MIT"
] | 1 | 2018-03-20T15:51:00.000Z | 2018-03-20T15:51:00.000Z | VERSION = "0.5.23"
| 9.5 | 18 | 0.578947 | 4 | 19 | 2.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0.157895 | 19 | 1 | 19 | 19 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
56c069f41efe0c074083f73bfe3d3cb9eb7e2d87 | 94 | py | Python | a.py | JuYeong98/st-gcn | 29d049d93ad6dad458f743a06791f04e520eedc0 | [
"BSD-2-Clause"
] | 2 | 2021-08-06T06:08:06.000Z | 2021-08-08T11:52:12.000Z | a.py | JuYeong98/st-gcn | 29d049d93ad6dad458f743a06791f04e520eedc0 | [
"BSD-2-Clause"
] | null | null | null | a.py | JuYeong98/st-gcn | 29d049d93ad6dad458f743a06791f04e520eedc0 | [
"BSD-2-Clause"
] | null | null | null | import os
print("before: %s"%os.getcwd())
os.chdir("/work_dir")
print("after: %s"%os.getcwd()) | 23.5 | 31 | 0.659574 | 16 | 94 | 3.8125 | 0.625 | 0.098361 | 0.295082 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06383 | 94 | 4 | 32 | 23.5 | 0.693182 | 0 | 0 | 0 | 0 | 0 | 0.294737 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0.5 | 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 | 0 | 0 | 0 | 1 | 0 | 5 |
710353ef8047fc0f6aec15c4cca7bfe5b9d81a0c | 246 | py | Python | barry/samplers/__init__.py | AaronGlanville/Barry | f181448b2ed10a8c08195e7e34819ceb8abfe532 | [
"MIT"
] | 13 | 2019-07-29T20:39:20.000Z | 2021-09-26T09:20:52.000Z | barry/samplers/__init__.py | AaronGlanville/Barry | f181448b2ed10a8c08195e7e34819ceb8abfe532 | [
"MIT"
] | 1 | 2021-02-11T10:54:58.000Z | 2021-02-11T10:54:58.000Z | barry/samplers/__init__.py | AaronGlanville/Barry | f181448b2ed10a8c08195e7e34819ceb8abfe532 | [
"MIT"
] | 7 | 2019-08-26T04:54:00.000Z | 2022-01-20T14:47:47.000Z | from barry.samplers.dynesty_sampler import DynestySampler
from barry.samplers.ensemble import EnsembleSampler
from barry.samplers.metropolisHastings import MetropolisHastings
__all__ = ["EnsembleSampler", "DynestySampler", "MetropolisHastings"]
| 41 | 69 | 0.857724 | 23 | 246 | 8.956522 | 0.478261 | 0.131068 | 0.247573 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073171 | 246 | 5 | 70 | 49.2 | 0.903509 | 0 | 0 | 0 | 0 | 0 | 0.191057 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 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 |
71347db91ac6608b36a5dbcf02ec696791f3a2b3 | 430 | py | Python | appzoo/apps_gradio/demo.py | SunYanCN/AppZoo | 91b04cc75fcc5f70ae5819e98233ea9146c1f001 | [
"MIT"
] | 5 | 2020-11-05T12:13:45.000Z | 2021-11-19T12:26:49.000Z | appzoo/apps_gradio/demo.py | SunYanCN/AppZoo | 91b04cc75fcc5f70ae5819e98233ea9146c1f001 | [
"MIT"
] | null | null | null | appzoo/apps_gradio/demo.py | SunYanCN/AppZoo | 91b04cc75fcc5f70ae5819e98233ea9146c1f001 | [
"MIT"
] | 3 | 2020-11-23T23:06:34.000Z | 2021-04-18T02:12:40.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Project : AppZoo.
# @File : demo
# @Time : 2021/9/6 上午9:51
# @Author : yuanjie
# @WeChat : 313303303
# @Software : PyCharm
# @Description :
# /Users/yuanjie/Library/Python/3.7/lib/python/site-packages/pip
# <module 'gradio' from '/U... | 22.631579 | 104 | 0.625581 | 55 | 430 | 4.818182 | 0.709091 | 0.090566 | 0.143396 | 0.188679 | 0.362264 | 0.362264 | 0.362264 | 0.362264 | 0.362264 | 0.362264 | 0 | 0.067251 | 0.204651 | 430 | 18 | 105 | 23.888889 | 0.707602 | 0.872093 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
713bcf21ccd1d1ee1505411baeaebb4c2b72bc85 | 524 | py | Python | executor/meta/env_var.py | asyre/bachelor_degree | 274415a32dc642ecde53935d6b9c8bb23d21cf29 | [
"MIT"
] | null | null | null | executor/meta/env_var.py | asyre/bachelor_degree | 274415a32dc642ecde53935d6b9c8bb23d21cf29 | [
"MIT"
] | null | null | null | executor/meta/env_var.py | asyre/bachelor_degree | 274415a32dc642ecde53935d6b9c8bb23d21cf29 | [
"MIT"
] | null | null | null | import os
from typing import Optional
def is_env_var(value: str) -> bool:
return value.startswith("$")
def extract_env_var(value: str) -> Optional[str]:
return os.environ[value[1:]]
def must_extract_env_var(value: str) -> str:
env = extract_env_var(value)
if env is None:
raise MissingEnvVa... | 18.714286 | 55 | 0.698473 | 77 | 524 | 4.506494 | 0.337662 | 0.121037 | 0.190202 | 0.207493 | 0.262248 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002404 | 0.206107 | 524 | 27 | 56 | 19.407407 | 0.831731 | 0 | 0 | 0 | 0 | 0 | 0.001908 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.235294 | false | 0.058824 | 0.117647 | 0.117647 | 0.705882 | 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 | 1 | 0 | 0 | 0 | 5 |
854b531dfce789f0f2976e41da22404bfae0895e | 85 | py | Python | moderngl_window/capture/__init__.py | sheepman4267/moderngl-window | 94df150b1915a2de48d8432248fc13e80673742b | [
"MIT"
] | 12 | 2019-02-25T13:38:42.000Z | 2019-09-03T06:19:28.000Z | moderngl_window/capture/__init__.py | sheepman4267/moderngl-window | 94df150b1915a2de48d8432248fc13e80673742b | [
"MIT"
] | 45 | 2019-02-26T14:03:53.000Z | 2019-10-29T00:32:46.000Z | moderngl_window/capture/__init__.py | sheepman4267/moderngl-window | 94df150b1915a2de48d8432248fc13e80673742b | [
"MIT"
] | 5 | 2019-04-17T22:36:24.000Z | 2019-10-08T12:42:16.000Z | from .base import BaseVideoCapture # noqa
from .ffmpeg import FFmpegCapture # noqa
| 28.333333 | 42 | 0.788235 | 10 | 85 | 6.7 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164706 | 85 | 2 | 43 | 42.5 | 0.943662 | 0.105882 | 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 |
854eb28b4e125bd8057607aaabe4468868754548 | 92 | py | Python | app/tasksmodule/__init__.py | sanketsaurav/personfinder | aace412bd26aab6f6561834c95beed0a4531c6e3 | [
"Apache-2.0"
] | null | null | null | app/tasksmodule/__init__.py | sanketsaurav/personfinder | aace412bd26aab6f6561834c95beed0a4531c6e3 | [
"Apache-2.0"
] | null | null | null | app/tasksmodule/__init__.py | sanketsaurav/personfinder | aace412bd26aab6f6561834c95beed0a4531c6e3 | [
"Apache-2.0"
] | null | null | null | # TODO(nworden): rename this module to just "tasks" once tasks.py is emptied and
# deleted.
| 30.666667 | 80 | 0.73913 | 15 | 92 | 4.533333 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163043 | 92 | 2 | 81 | 46 | 0.883117 | 0.945652 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0.5 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
856b4f1ad372b048dd332a6db8e6e5d65744d265 | 47 | py | Python | test4.py | Ticlext-Altihaf/Absen-Kamera | acf88198fb1460aad1aaa126df68b22b364a8558 | [
"MIT"
] | null | null | null | test4.py | Ticlext-Altihaf/Absen-Kamera | acf88198fb1460aad1aaa126df68b22b364a8558 | [
"MIT"
] | null | null | null | test4.py | Ticlext-Altihaf/Absen-Kamera | acf88198fb1460aad1aaa126df68b22b364a8558 | [
"MIT"
] | null | null | null | from deepface import DeepFace
DeepFace.stream() | 23.5 | 29 | 0.851064 | 6 | 47 | 6.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 47 | 2 | 30 | 23.5 | 0.930233 | 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 |
8576e7235279d8e22e96e9ed2173eb4d5833ae88 | 149 | py | Python | tests/snippets/type_hints.py | janczer/RustPython | 406ec46ce896e727214e2b8aef097779724acf45 | [
"MIT"
] | null | null | null | tests/snippets/type_hints.py | janczer/RustPython | 406ec46ce896e727214e2b8aef097779724acf45 | [
"MIT"
] | null | null | null | tests/snippets/type_hints.py | janczer/RustPython | 406ec46ce896e727214e2b8aef097779724acf45 | [
"MIT"
] | null | null | null |
# See also: https://github.com/RustPython/RustPython/issues/587
def curry(foo: int) -> float:
return foo * 3.1415926 * 2
assert curry(2) > 10
| 18.625 | 63 | 0.677852 | 23 | 149 | 4.391304 | 0.826087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121951 | 0.174497 | 149 | 7 | 64 | 21.285714 | 0.699187 | 0.409396 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
85827fe7f034233d2452085280d880cdf00ba776 | 44 | py | Python | __init__.py | daqbroker/daqbrokerServer | e8d2b72b4e3ab12c26dfa7b52e9d77097ede3f33 | [
"MIT"
] | null | null | null | __init__.py | daqbroker/daqbrokerServer | e8d2b72b4e3ab12c26dfa7b52e9d77097ede3f33 | [
"MIT"
] | null | null | null | __init__.py | daqbroker/daqbrokerServer | e8d2b72b4e3ab12c26dfa7b52e9d77097ede3f33 | [
"MIT"
] | null | null | null | from daqbrokerServer.daqbroker import Server | 44 | 44 | 0.909091 | 5 | 44 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068182 | 44 | 1 | 44 | 44 | 0.97561 | 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 |
85869db3061b9847ef4412f0276095c17cfee69d | 120 | py | Python | blog/admin.py | abhishekBhartiProjects/learnLanguageDjango | 2313a602463b23dbd766e7215c787c5456374823 | [
"MIT"
] | null | null | null | blog/admin.py | abhishekBhartiProjects/learnLanguageDjango | 2313a602463b23dbd766e7215c787c5456374823 | [
"MIT"
] | null | null | null | blog/admin.py | abhishekBhartiProjects/learnLanguageDjango | 2313a602463b23dbd766e7215c787c5456374823 | [
"MIT"
] | null | null | null | from django.contrib import admin
# Register your models here.
from blog.models import Post
admin.site.register(Post)
| 15 | 32 | 0.791667 | 18 | 120 | 5.277778 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141667 | 120 | 7 | 33 | 17.142857 | 0.92233 | 0.216667 | 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 |
a40fb76f87c6e3f338b859d175f861e22e2e72e1 | 328 | py | Python | cli/decorators/count_calls.py | oleoneto/django-clite | 6df3051fe42af6e9385a11df1b20ebd46be69dd9 | [
"BSD-3-Clause"
] | 22 | 2019-08-18T21:22:41.000Z | 2022-01-18T03:51:34.000Z | cli/decorators/count_calls.py | oleoneto/django-clite | 6df3051fe42af6e9385a11df1b20ebd46be69dd9 | [
"BSD-3-Clause"
] | 30 | 2019-11-11T12:54:35.000Z | 2022-01-18T01:07:21.000Z | cli/decorators/count_calls.py | oleoneto/django-clite | 6df3051fe42af6e9385a11df1b20ebd46be69dd9 | [
"BSD-3-Clause"
] | null | null | null | import functools
def count_calls(f):
@functools.wraps(f)
def wrapper_count_calls(*args, **kwargs):
wrapper_count_calls.num_calls += 1
print(f"Call {wrapper_count_calls.num_calls} of {f.__name__!r}")
return f(*args, **kwargs)
wrapper_count_calls.num_calls = 0
return wrapper_coun... | 27.333333 | 72 | 0.692073 | 47 | 328 | 4.446809 | 0.404255 | 0.287081 | 0.406699 | 0.287081 | 0.454545 | 0.334928 | 0.334928 | 0 | 0 | 0 | 0 | 0.007605 | 0.198171 | 328 | 11 | 73 | 29.818182 | 0.787072 | 0 | 0 | 0 | 0 | 0 | 0.164634 | 0.094512 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0 | 0.555556 | 0.111111 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
a41bab924a43c9a9a94378eba50ba3ac86bb073a | 39 | py | Python | airflow_run/__init__.py | TheWeatherCompany/airflow-run | 42f8f6cba350365dba8922c58e541adc65875f02 | [
"MIT"
] | 3 | 2020-06-20T03:57:17.000Z | 2022-03-25T21:46:21.000Z | airflow_run/__init__.py | TheWeatherCompany/airflow-run | 42f8f6cba350365dba8922c58e541adc65875f02 | [
"MIT"
] | null | null | null | airflow_run/__init__.py | TheWeatherCompany/airflow-run | 42f8f6cba350365dba8922c58e541adc65875f02 | [
"MIT"
] | 3 | 2020-06-18T13:57:21.000Z | 2021-02-03T00:57:33.000Z | from airflow_run.run import AirflowRun
| 19.5 | 38 | 0.871795 | 6 | 39 | 5.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 0.942857 | 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 |
a4453acc5543fef22d22c0ef3a962b6edb2d4260 | 173 | py | Python | ozet/settings/dev.py | ozet-team/ozet-server | 4772d37339634adee6ace65a5e2380df4bd22bbb | [
"MIT"
] | null | null | null | ozet/settings/dev.py | ozet-team/ozet-server | 4772d37339634adee6ace65a5e2380df4bd22bbb | [
"MIT"
] | 4 | 2021-11-27T14:15:55.000Z | 2021-12-10T12:59:44.000Z | ozet/settings/dev.py | ozet-team/ozet-server | 4772d37339634adee6ace65a5e2380df4bd22bbb | [
"MIT"
] | null | null | null | # fmt: off
# flake8: noqa
from .base import *
INSTAGRAM_OAUTH_REDIRECT_URL = "https://staging-api.ozet.app/api/v1/member/user/me/instagram/oauth/authorize/"
CRONJOBS = []
| 21.625 | 110 | 0.739884 | 25 | 173 | 5 | 0.88 | 0.224 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012903 | 0.104046 | 173 | 7 | 111 | 24.714286 | 0.793548 | 0.121387 | 0 | 0 | 0 | 0.333333 | 0.516779 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
a459a15f5fc732d0133a52c8e5b9b4b9e69ea193 | 61 | py | Python | plugins/niux2_hermit_player/__init__.py | sdphome/blog-content | 927569d0d082bbcadb0e1d510f9e2b95af635ae1 | [
"Apache-2.0"
] | null | null | null | plugins/niux2_hermit_player/__init__.py | sdphome/blog-content | 927569d0d082bbcadb0e1d510f9e2b95af635ae1 | [
"Apache-2.0"
] | null | null | null | plugins/niux2_hermit_player/__init__.py | sdphome/blog-content | 927569d0d082bbcadb0e1d510f9e2b95af635ae1 | [
"Apache-2.0"
] | null | null | null | # -*- coding: UTF-8 -*-
from .niux2_hermit_player import *
| 12.2 | 34 | 0.639344 | 8 | 61 | 4.625 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 0.180328 | 61 | 4 | 35 | 15.25 | 0.7 | 0.344262 | 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 |
a47141b726145bd065c1262a312312bbafb12dc2 | 78 | py | Python | stagecraft/apps/dashboards/models/__init__.py | alphagov-mirror/stagecraft | 16afba8c0cf942279426c28c416d5dd430ae2d68 | [
"MIT"
] | 3 | 2016-03-07T11:12:07.000Z | 2018-04-07T21:56:27.000Z | stagecraft/apps/dashboards/models/__init__.py | alphagov-mirror/stagecraft | 16afba8c0cf942279426c28c416d5dd430ae2d68 | [
"MIT"
] | 81 | 2015-01-05T15:27:56.000Z | 2021-03-24T10:51:43.000Z | stagecraft/apps/dashboards/models/__init__.py | alphagov-mirror/stagecraft | 16afba8c0cf942279426c28c416d5dd430ae2d68 | [
"MIT"
] | 6 | 2015-01-25T09:05:52.000Z | 2021-04-10T20:14:58.000Z | from .dashboard import Dashboard, Link
from .module import Module, ModuleType
| 26 | 38 | 0.820513 | 10 | 78 | 6.4 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 78 | 2 | 39 | 39 | 0.941176 | 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 |
a473e7f65d5ec60873fadc3674a2c8a8cea50dfd | 274 | py | Python | _doc/examples/gallery1/plot_project_name.py | sdpython/python_project_template | e365b29ba9a7dfd2688f68eb7ff2b84a6a82cb57 | [
"MIT"
] | null | null | null | _doc/examples/gallery1/plot_project_name.py | sdpython/python_project_template | e365b29ba9a7dfd2688f68eb7ff2b84a6a82cb57 | [
"MIT"
] | null | null | null | _doc/examples/gallery1/plot_project_name.py | sdpython/python_project_template | e365b29ba9a7dfd2688f68eb7ff2b84a6a82cb57 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
===============================
Example with the project itself
===============================
Example with a simple import.
"""
##############################
# import
import python3_module_template
print(python3_module_template.__version__)
| 19.571429 | 42 | 0.492701 | 23 | 274 | 5.521739 | 0.695652 | 0.173228 | 0.330709 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012146 | 0.09854 | 274 | 13 | 43 | 21.076923 | 0.502024 | 0.569343 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
a479a523b52deb6c77a24eb04d848a0983c336a0 | 152 | py | Python | mysite/slhpa/admin.py | jeffb4real/SLHPA-Web-App | cdb837ee24d790d48e8280b3d085be12cfdc52bb | [
"MIT"
] | 1 | 2019-02-28T09:16:43.000Z | 2019-02-28T09:16:43.000Z | mysite/slhpa/admin.py | jeffb4real/SLHPA-Web-App | cdb837ee24d790d48e8280b3d085be12cfdc52bb | [
"MIT"
] | 9 | 2019-02-08T05:01:53.000Z | 2021-04-08T19:12:44.000Z | mysite/slhpa/admin.py | jeffb4real/SLHPA-Web-App | cdb837ee24d790d48e8280b3d085be12cfdc52bb | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import PhotoRecord, KeyValueRecord
admin.site.register(PhotoRecord)
admin.site.register(KeyValueRecord)
| 21.714286 | 47 | 0.842105 | 18 | 152 | 7.111111 | 0.555556 | 0.140625 | 0.265625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085526 | 152 | 6 | 48 | 25.333333 | 0.920863 | 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 |
f11af53535d1ba5fcbb9d035aceaeadf138c8b67 | 117,796 | py | Python | POC_Tasks/WebView/Leaflet/python/useJsonToAddDataOnPriorityDistrict.py | jnguyen1192/HackAndHopeDefi3 | a9c92a0d45798af1c70dec6f66b668dff01e2b10 | [
"MIT"
] | 2 | 2020-11-11T06:45:22.000Z | 2021-03-08T19:54:43.000Z | POC_Tasks/WebView/Leaflet/python/useJsonToAddDataOnPriorityDistrict.py | jnguyen1192/HackAndHopeDefi3 | a9c92a0d45798af1c70dec6f66b668dff01e2b10 | [
"MIT"
] | 7 | 2020-11-05T06:41:53.000Z | 2020-11-17T21:03:43.000Z | POC_Tasks/WebView/Leaflet/python/useJsonToAddDataOnPriorityDistrict.py | jnguyen1192/HackAndHopeDefi3 | a9c92a0d45798af1c70dec6f66b668dff01e2b10 | [
"MIT"
] | 1 | 2021-10-16T09:15:59.000Z | 2021-10-16T09:15:59.000Z | json_raw = """{"points":[{"ecole_RNE":"0130753Y","ecole_lat":"43.2975202863","ecole_long":"5.36703973974","ecole_appellation":"Ecole \u00e9l\u00e9mentaire d'application Mont\u00e9e des Accoules","CRITERE1":"ECOLE ELEMENTAIRE D'APPLICATION","CRITERE2":"13002","CRITERE3":"4","CRITERE4":"DEFAVORABLE","CRITERE5":"100-200"... | 2,222.566038 | 115,919 | 0.745985 | 14,038 | 117,796 | 6.129149 | 0.125232 | 0.041748 | 0.051952 | 0.04814 | 0.711207 | 0.644623 | 0.587115 | 0.552492 | 0.532746 | 0.496868 | 0 | 0.197396 | 0.025052 | 117,796 | 52 | 115,920 | 2,265.307692 | 0.551796 | 0.002462 | 0 | 0 | 0 | 0.03125 | 0.988178 | 0.876586 | 0 | 0 | 0 | 0.019231 | 0 | 1 | 0 | false | 0.03125 | 0.09375 | 0 | 0.09375 | 0.09375 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
f1263952c766bff98434a515311a9bd5dd742621 | 78 | py | Python | tests/test_basic.py | aigarius/photoriver2 | 23d61bfc2e33771a8ec23c66009c957ed0038863 | [
"MIT"
] | null | null | null | tests/test_basic.py | aigarius/photoriver2 | 23d61bfc2e33771a8ec23c66009c957ed0038863 | [
"MIT"
] | null | null | null | tests/test_basic.py | aigarius/photoriver2 | 23d61bfc2e33771a8ec23c66009c957ed0038863 | [
"MIT"
] | null | null | null | """Basic test environment tests"""
def test_math():
assert 40 + 2 == 42
| 13 | 34 | 0.615385 | 11 | 78 | 4.272727 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 0.230769 | 78 | 5 | 35 | 15.6 | 0.7 | 0.358974 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
f12d63ea5ca762d7a785b0b752f5b05a53eed838 | 174 | py | Python | server/orchestrator/models/__init__.py | bsantaus/qiskit-dell-runtime | aec129a83e0a5d6ee34de01be14c91469ce74407 | [
"Apache-2.0"
] | 17 | 2021-09-27T14:46:06.000Z | 2022-02-15T12:08:48.000Z | server/orchestrator/models/__init__.py | manannarang/qiskit-dell-runtime | ef8da4fc27ccca60ef81e7391d0c2a60593170b3 | [
"Apache-2.0"
] | 4 | 2021-09-27T14:21:53.000Z | 2022-01-20T16:43:46.000Z | server/orchestrator/models/__init__.py | manannarang/qiskit-dell-runtime | ef8da4fc27ccca60ef81e7391d0c2a60593170b3 | [
"Apache-2.0"
] | 2 | 2021-10-13T03:42:31.000Z | 2022-01-16T10:12:54.000Z | from .db_service import DBService
from .runtime_program_model import RuntimeProgram
from .message_model import Message
from .job_model import Job
from .user_model import User | 34.8 | 49 | 0.862069 | 26 | 174 | 5.538462 | 0.461538 | 0.305556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109195 | 174 | 5 | 50 | 34.8 | 0.929032 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 |
f137f141651e560cfa387ec3bbebc49e5867d741 | 113 | py | Python | server/services/slack_service.py | nithinkashyapn/ooo-slack-bot | 42fe9c622b1f9ee429301ca8f1ae60e3ad9fde41 | [
"MIT"
] | null | null | null | server/services/slack_service.py | nithinkashyapn/ooo-slack-bot | 42fe9c622b1f9ee429301ca8f1ae60e3ad9fde41 | [
"MIT"
] | 7 | 2021-03-03T01:11:31.000Z | 2021-11-17T18:25:18.000Z | server/services/slack_service.py | nithinkashyapn/ooo-slack-bot | 42fe9c622b1f9ee429301ca8f1ae60e3ad9fde41 | [
"MIT"
] | 1 | 2020-12-07T07:24:13.000Z | 2020-12-07T07:24:13.000Z | from slack import WebClient
import server.config as config
slack_service = WebClient(token=config.SLACK_TOKEN)
| 18.833333 | 51 | 0.831858 | 16 | 113 | 5.75 | 0.5625 | 0.23913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115044 | 113 | 5 | 52 | 22.6 | 0.92 | 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 |
f13d35d14451bf252485023e3d12ff3efdb03477 | 92 | py | Python | src/jobs/admin.py | HitLuca/predict-python | 14f2f55cb29f817a5871d4c0b11a3758285301ca | [
"MIT"
] | 12 | 2018-06-27T08:09:18.000Z | 2021-10-10T22:19:04.000Z | src/jobs/admin.py | HitLuca/predict-python | 14f2f55cb29f817a5871d4c0b11a3758285301ca | [
"MIT"
] | 17 | 2018-06-12T17:36:11.000Z | 2020-11-16T21:23:22.000Z | src/jobs/admin.py | HitLuca/predict-python | 14f2f55cb29f817a5871d4c0b11a3758285301ca | [
"MIT"
] | 16 | 2018-08-02T14:40:17.000Z | 2021-11-12T12:28:46.000Z | from django.contrib import admin
from src.jobs.models import Job
admin.site.register(Job)
| 15.333333 | 32 | 0.804348 | 15 | 92 | 4.933333 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119565 | 92 | 5 | 33 | 18.4 | 0.91358 | 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 |
f175d58f2b2d4d3f0d53801ae5480f6f7f771bec | 1,417 | py | Python | autofit/plot/__init__.py | vishalbelsare/PyAutoFit | 04b927419fa95c302e0eebab632fc7ebcdc3f06b | [
"MIT"
] | null | null | null | autofit/plot/__init__.py | vishalbelsare/PyAutoFit | 04b927419fa95c302e0eebab632fc7ebcdc3f06b | [
"MIT"
] | null | null | null | autofit/plot/__init__.py | vishalbelsare/PyAutoFit | 04b927419fa95c302e0eebab632fc7ebcdc3f06b | [
"MIT"
] | null | null | null | from autofit.plot.mat_wrap.wrap.wrap_base import Units
from autofit.plot.mat_wrap.wrap.wrap_base import Figure
from autofit.plot.mat_wrap.wrap.wrap_base import Axis
from autofit.plot.mat_wrap.wrap.wrap_base import Cmap
from autofit.plot.mat_wrap.wrap.wrap_base import Colorbar
from autofit.plot.mat_wrap.wrap.wrap_b... | 52.481481 | 68 | 0.8518 | 223 | 1,417 | 5.233184 | 0.188341 | 0.191945 | 0.321337 | 0.293059 | 0.61868 | 0.599829 | 0.599829 | 0.479863 | 0.479863 | 0 | 0 | 0.003876 | 0.089626 | 1,417 | 27 | 69 | 52.481481 | 0.900775 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 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 |
f17b32a02ad426ad9db31048fb5d91f3e1db060b | 83 | py | Python | tests/assign.py | fangyuchen86/mini-pysonar | 541e55ebadee35afb22e17b19eed5c19ad31e21e | [
"BSD-3-Clause"
] | 22 | 2015-04-03T12:44:24.000Z | 2021-12-22T17:55:00.000Z | tests/assign.py | GaoGersy/mini-pysonar | 541e55ebadee35afb22e17b19eed5c19ad31e21e | [
"BSD-3-Clause"
] | null | null | null | tests/assign.py | GaoGersy/mini-pysonar | 541e55ebadee35afb22e17b19eed5c19ad31e21e | [
"BSD-3-Clause"
] | 43 | 2015-04-03T12:46:28.000Z | 2022-01-20T17:27:45.000Z | def f():
x = 0
def g(y):
global x
x = y
g(2)
print x
f()
| 8.3 | 13 | 0.349398 | 16 | 83 | 1.8125 | 0.5625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04878 | 0.506024 | 83 | 9 | 14 | 9.222222 | 0.658537 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.125 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
f1892a023c54f99a4011eeee8b568516286ea715 | 91 | py | Python | enthought/chaco/shell/scaly_plot.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 3 | 2016-12-09T06:05:18.000Z | 2018-03-01T13:00:29.000Z | enthought/chaco/shell/scaly_plot.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 1 | 2020-12-02T00:51:32.000Z | 2020-12-02T08:48:55.000Z | enthought/chaco/shell/scaly_plot.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | null | null | null | # proxy module
from __future__ import absolute_import
from chaco.shell.scaly_plot import *
| 22.75 | 38 | 0.835165 | 13 | 91 | 5.384615 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120879 | 91 | 3 | 39 | 30.333333 | 0.875 | 0.131868 | 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 |
74d148ee0f56f8c12453b7ba51b10fc473120284 | 276 | py | Python | home/admin.py | codejay411/Wheeling_and_dealing | 26b8133950094e7b65463c8418edd8f5cd1c544c | [
"MIT"
] | 1 | 2020-12-26T05:43:49.000Z | 2020-12-26T05:43:49.000Z | home/admin.py | codejay411/Wheeling_and_dealing | 26b8133950094e7b65463c8418edd8f5cd1c544c | [
"MIT"
] | null | null | null | home/admin.py | codejay411/Wheeling_and_dealing | 26b8133950094e7b65463c8418edd8f5cd1c544c | [
"MIT"
] | 2 | 2020-09-11T18:04:42.000Z | 2021-06-08T17:31:32.000Z | from django.contrib import admin
from .models import ngodetail, donordetail, medicine
# Register your models here.
admin.site.register(ngodetail)
admin.site.register(donordetail)
admin.site.register(medicine)
# admin.site.register(post)
# admin.site.register(postngo) | 30.666667 | 53 | 0.789855 | 35 | 276 | 6.228571 | 0.428571 | 0.206422 | 0.389908 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108696 | 276 | 9 | 54 | 30.666667 | 0.886179 | 0.293478 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
2d01a84604aa47d8f741e27a87e3545938638e3b | 31 | py | Python | test/data/generic_acceptance_poe.py | hung135/pythoscope | b4b89b77b5184b25992893e320d58de32ed987f1 | [
"MIT"
] | 78 | 2015-01-03T22:35:30.000Z | 2022-01-09T15:32:57.000Z | test/data/generic_acceptance_poe.py | hung135/pythoscope | b4b89b77b5184b25992893e320d58de32ed987f1 | [
"MIT"
] | 15 | 2015-05-26T14:29:20.000Z | 2020-12-08T11:26:44.000Z | test/data/generic_acceptance_poe.py | hung135/pythoscope | b4b89b77b5184b25992893e320d58de32ed987f1 | [
"MIT"
] | 30 | 2015-06-05T13:02:11.000Z | 2021-05-31T08:03:28.000Z | from module import main
main()
| 10.333333 | 23 | 0.774194 | 5 | 31 | 4.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 31 | 2 | 24 | 15.5 | 0.923077 | 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 |
2d3585b75534af1271e52a3a430fc0e9da77097b | 238 | py | Python | prajwal/__init__.py | Ishita-Sharma1/Prajwal | 7b46d02d0a1765ae4486ada996d772d19c8d10b9 | [
"MIT"
] | 1 | 2021-07-19T07:14:27.000Z | 2021-07-19T07:14:27.000Z | prajwal/__init__.py | Ishita-Sharma1/Prajwal | 7b46d02d0a1765ae4486ada996d772d19c8d10b9 | [
"MIT"
] | null | null | null | prajwal/__init__.py | Ishita-Sharma1/Prajwal | 7b46d02d0a1765ae4486ada996d772d19c8d10b9 | [
"MIT"
] | null | null | null | from flask import Flask
from flask import render_template
app = Flask(__name__)
# main routes
@app.route('/')
def index():
return render_template('index.html')
@app.route('/home')
def home():
return render_template('home.html') | 18.307692 | 40 | 0.714286 | 33 | 238 | 4.939394 | 0.454545 | 0.257669 | 0.184049 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 238 | 13 | 41 | 18.307692 | 0.79902 | 0.046218 | 0 | 0 | 0 | 0 | 0.110619 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.222222 | 0.222222 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
741054e5d20eb21a1773115e150c532168d43e9d | 11,400 | py | Python | home/migrations/0001_initial.py | MarkJaroski/aho-dev-dct | 75ad72d408ce60ebfdf9c02fe57cdf9edba5e4d7 | [
"MIT"
] | null | null | null | home/migrations/0001_initial.py | MarkJaroski/aho-dev-dct | 75ad72d408ce60ebfdf9c02fe57cdf9edba5e4d7 | [
"MIT"
] | null | null | null | home/migrations/0001_initial.py | MarkJaroski/aho-dev-dct | 75ad72d408ce60ebfdf9c02fe57cdf9edba5e4d7 | [
"MIT"
] | null | null | null | # Generated by Django 2.1.2 on 2020-07-23 04:37
from django.db import migrations, models
import django.db.models.deletion
import parler.fields
import parler.models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
na... | 52.293578 | 195 | 0.592456 | 1,023 | 11,400 | 6.415445 | 0.121212 | 0.078775 | 0.034283 | 0.043425 | 0.78455 | 0.720098 | 0.715526 | 0.706994 | 0.654579 | 0.654579 | 0 | 0.007782 | 0.278596 | 11,400 | 217 | 196 | 52.534562 | 0.790248 | 0.003947 | 0 | 0.595238 | 1 | 0 | 0.221351 | 0.045979 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.019048 | 0 | 0.038095 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
74155d9871da344520bcc06327d02bf14f4b3ae5 | 718 | py | Python | clipper-cli/src/test/resources/lubm-ex-20/execQuery.py | ghxiao/clipper | 23153e97c09371eea99c4941a606aa56fe5d78b7 | [
"Apache-2.0"
] | 5 | 2015-01-20T13:17:40.000Z | 2018-12-03T14:14:32.000Z | clipper-cli/src/test/resources/lubm-ex-20/execQuery.py | wish55/clipper | 23153e97c09371eea99c4941a606aa56fe5d78b7 | [
"Apache-2.0"
] | 3 | 2015-08-11T13:03:37.000Z | 2015-11-08T09:27:22.000Z | clipper-cli/src/test/resources/lubm-ex-20/execQuery.py | wish55/clipper | 23153e97c09371eea99c4941a606aa56fe5d78b7 | [
"Apache-2.0"
] | 5 | 2015-06-21T14:35:19.000Z | 2021-11-09T10:39:50.000Z | import os
univs = 100
ndeparts = 15
q = 2
shcmd = r'''
dlv -filter=ans
'''
#shcmd += "q" + q + ".dlv "
#for univ in range(univs):
shcmd += '''
q2.dlv LUBM-ex-20.owl.dl University0_0.owl.dl University0_1.owl.dl University0_2.owl.dl \
University0_3.owl.dl University0_4.owl.dl University0_5.owl.dl University0_6.owl... | 27.615385 | 90 | 0.754875 | 127 | 718 | 4.086614 | 0.314961 | 0.231214 | 0.709056 | 0.098266 | 0.439306 | 0.439306 | 0.439306 | 0.439306 | 0.439306 | 0.439306 | 0 | 0.097331 | 0.112813 | 718 | 25 | 91 | 28.72 | 0.717425 | 0.093315 | 0 | 0.3125 | 0 | 0.375 | 0.851852 | 0.226852 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.0625 | null | null | 0.0625 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 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.