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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d6c440fa48e15edbd04dfdb3ee8339461498b32d | 183 | py | Python | sami/threads/events.py | sami-dca/Sami | 796f73500bb4ee36a7023653d47d300e04a10217 | [
"MIT"
] | 1 | 2020-11-14T10:52:33.000Z | 2020-11-14T10:52:33.000Z | sami/threads/events.py | sami-dca/Sami | 796f73500bb4ee36a7023653d47d300e04a10217 | [
"MIT"
] | null | null | null | sami/threads/events.py | sami-dca/Sami | 796f73500bb4ee36a7023653d47d300e04a10217 | [
"MIT"
] | null | null | null | from threading import Event
from ..design import Singleton
class GlobalStopEvent(Singleton, Event):
"""
Stop event used in the control flow of all threads.
"""
pass
| 18.3 | 55 | 0.699454 | 23 | 183 | 5.565217 | 0.782609 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.229508 | 183 | 9 | 56 | 20.333333 | 0.907801 | 0.278689 | 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 | 1 | 0 | 0 | 6 |
d6ec79934bbe6480d725ed8aa7a47fd253ba01d6 | 12,251 | py | Python | tests/test_txn.py | guolinxin/bitcoin | f76764a4c22327538c94a442a2de5fadb229a5a6 | [
"MIT"
] | 3 | 2019-11-14T03:45:39.000Z | 2021-08-02T14:24:27.000Z | tests/test_txn.py | guolinxin/bitcoin | f76764a4c22327538c94a442a2de5fadb229a5a6 | [
"MIT"
] | 1 | 2020-01-04T00:50:52.000Z | 2020-01-13T20:08:59.000Z | tests/test_txn.py | guolinxin/bitcoin | f76764a4c22327538c94a442a2de5fadb229a5a6 | [
"MIT"
] | 4 | 2020-05-07T17:45:22.000Z | 2021-12-03T05:30:52.000Z | import btc.txn
#
# Compare two strings and return the first charqcte where they
# differ or minus 1
#
def diff_strings(s1, s2):
l = min(len(s1), len(s2))
for i in range(l):
if s1[i] != s2[i]:
return i
if len(s1) != len(s2):
return l
return -1
#
# Pretty print transaction
#
... | 50.209016 | 1,048 | 0.817811 | 641 | 12,251 | 15.569423 | 0.25585 | 0.01022 | 0.007014 | 0.00982 | 0.390982 | 0.373948 | 0.371042 | 0.368337 | 0.368337 | 0.368337 | 0 | 0.464489 | 0.11044 | 12,251 | 243 | 1,049 | 50.415638 | 0.451275 | 0.056322 | 0 | 0.397661 | 0 | 0 | 0.594984 | 0.593595 | 0 | 1 | 0 | 0 | 0.251462 | 1 | 0.099415 | false | 0 | 0.005848 | 0 | 0.122807 | 0.005848 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ba3f365c8f471197ef270c561cee0cd47f0d68da | 421 | py | Python | tests/commands/test_example.py | edge-minato/openapy | c156fad5e64599e17cc1cd64e27daa824fdf98b0 | [
"MIT"
] | null | null | null | tests/commands/test_example.py | edge-minato/openapy | c156fad5e64599e17cc1cd64e27daa824fdf98b0 | [
"MIT"
] | 31 | 2021-11-18T23:22:01.000Z | 2022-03-28T23:33:59.000Z | tests/commands/test_example.py | edge-minato/openapy | c156fad5e64599e17cc1cd64e27daa824fdf98b0 | [
"MIT"
] | null | null | null | import pytest
from openapy.commands.example import show_example
def test_show_resource() -> None:
pass
def test_show_docker() -> None:
show_example(kind="docker")
def test_show_template() -> None:
show_example(kind="docker")
def test_show_mustache() -> None:
show_example(kind="docker")
def te... | 16.84 | 49 | 0.707838 | 55 | 421 | 5.145455 | 0.363636 | 0.194346 | 0.194346 | 0.201413 | 0.381625 | 0.381625 | 0.381625 | 0.381625 | 0 | 0 | 0 | 0 | 0.171021 | 421 | 24 | 50 | 17.541667 | 0.810888 | 0 | 0 | 0.230769 | 0 | 0 | 0.059382 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.384615 | true | 0.076923 | 0.153846 | 0 | 0.538462 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
ba5383e657b4f8644b583deb332a1458f3054f9d | 19 | py | Python | pkgs/conf-pkg/src/genie/libs/conf/ntp/__init__.py | miott/genielibs | 6464642cdd67aa2367bdbb12561af4bb060e5e62 | [
"Apache-2.0"
] | 94 | 2018-04-30T20:29:15.000Z | 2022-03-29T13:40:31.000Z | pkgs/conf-pkg/src/genie/libs/conf/ntp/__init__.py | miott/genielibs | 6464642cdd67aa2367bdbb12561af4bb060e5e62 | [
"Apache-2.0"
] | 67 | 2018-12-06T21:08:09.000Z | 2022-03-29T18:00:46.000Z | pkgs/conf-pkg/src/genie/libs/conf/ntp/__init__.py | miott/genielibs | 6464642cdd67aa2367bdbb12561af4bb060e5e62 | [
"Apache-2.0"
] | 49 | 2018-06-29T18:59:03.000Z | 2022-03-10T02:07:59.000Z | from .ntp import *
| 9.5 | 18 | 0.684211 | 3 | 19 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 19 | 1 | 19 | 19 | 0.866667 | 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 | 1 | 0 | 0 | 6 |
baa03c71bb5747d587b5b8b92cf73f9b93bcb26f | 26,197 | py | Python | projects/src/main/python/CodeJam/Y11R5P1/dennislissov/generated_py_bb93a4d1acf540c3b7c8dfd80359bd28.py | DynamicCodeSearch/CodeSeer | ee985ece7691691585952eb88565f0e08bdc9113 | [
"MIT"
] | 5 | 2020-04-05T18:04:13.000Z | 2021-04-13T20:34:19.000Z | projects/src/main/python/CodeJam/Y11R5P1/dennislissov/generated_py_bb93a4d1acf540c3b7c8dfd80359bd28.py | DynamicCodeSearch/CodeSeer | ee985ece7691691585952eb88565f0e08bdc9113 | [
"MIT"
] | 1 | 2020-04-29T21:42:26.000Z | 2020-05-01T23:45:45.000Z | projects/src/main/python/CodeJam/Y11R5P1/dennislissov/generated_py_bb93a4d1acf540c3b7c8dfd80359bd28.py | DynamicCodeSearch/CodeSeer | ee985ece7691691585952eb88565f0e08bdc9113 | [
"MIT"
] | 3 | 2020-01-27T16:02:14.000Z | 2021-02-08T13:25:15.000Z | import sys
sys.path.append('/home/george2/Raise/ProgramRepair/CodeSeer/projects/src/main/python')
from CodeJam.Y11R5P1.dennislissov.A import *
def func_3ba6780ca418469a885da55554034725(y, x):
area += (x - px) * (y + py) / 2
px, py = x, y
return py
def func_16bfa03b301e43139f8f644e5e7cbce6(y, x):
area... | 25.658178 | 86 | 0.429209 | 3,744 | 26,197 | 2.973291 | 0.037126 | 0.035573 | 0.035483 | 0.04258 | 0.765451 | 0.76087 | 0.76087 | 0.758803 | 0.75018 | 0.75018 | 0 | 0.118992 | 0.427377 | 26,197 | 1,020 | 87 | 25.683333 | 0.623092 | 0 | 0 | 0.910798 | 0 | 0 | 0.011146 | 0.002558 | 0 | 0 | 0 | 0 | 0 | 1 | 0.112676 | false | 0 | 0.002347 | 0 | 0.2277 | 0.012911 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 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 | 6 |
2428b1b8c1a138c7a0ff600c381bf260de1a7722 | 191 | py | Python | src/pipelinex/framework/context/context.py | MarchRaBBiT/pipelinex | ea8def32a71752b667f9f3522acba3fd79102fe1 | [
"Apache-2.0"
] | null | null | null | src/pipelinex/framework/context/context.py | MarchRaBBiT/pipelinex | ea8def32a71752b667f9f3522acba3fd79102fe1 | [
"Apache-2.0"
] | null | null | null | src/pipelinex/framework/context/context.py | MarchRaBBiT/pipelinex | ea8def32a71752b667f9f3522acba3fd79102fe1 | [
"Apache-2.0"
] | null | null | null | import kedro
try:
from kedro.framework.context import * # NOQA
except (ImportError, ModuleNotFoundError):
# if kedro.__version__ <= "0.15.9"
from kedro.context import * # NOQA
| 23.875 | 49 | 0.696335 | 23 | 191 | 5.608696 | 0.652174 | 0.139535 | 0.263566 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026144 | 0.198953 | 191 | 7 | 50 | 27.285714 | 0.816993 | 0.219895 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.8 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
79e2abaa9c02483db55552a411e4098545c04526 | 35 | py | Python | revibe/_errors/base.py | Revibe-Music/core-services | 6b11cf16ad2c35d948f3a5c0e7a161e5b7cfc1b2 | [
"MIT"
] | 2 | 2022-01-24T23:30:18.000Z | 2022-01-26T00:21:22.000Z | revibe/_errors/base.py | Revibe-Music/core-services | 6b11cf16ad2c35d948f3a5c0e7a161e5b7cfc1b2 | [
"MIT"
] | null | null | null | revibe/_errors/base.py | Revibe-Music/core-services | 6b11cf16ad2c35d948f3a5c0e7a161e5b7cfc1b2 | [
"MIT"
] | null | null | null | from revibe.exceptions.api import * | 35 | 35 | 0.828571 | 5 | 35 | 5.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 35 | 1 | 35 | 35 | 0.90625 | 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 | 1 | 0 | 0 | 6 |
79e5ab76a6ec8ad62170748f4f73a3ae9f12499f | 176 | py | Python | endpoints/team.py | FLUX-SE/Everhour_python_wrapper | cb174d642dd45427f47da8625a7bb1ce8ea23aa5 | [
"MIT"
] | null | null | null | endpoints/team.py | FLUX-SE/Everhour_python_wrapper | cb174d642dd45427f47da8625a7bb1ce8ea23aa5 | [
"MIT"
] | null | null | null | endpoints/team.py | FLUX-SE/Everhour_python_wrapper | cb174d642dd45427f47da8625a7bb1ce8ea23aa5 | [
"MIT"
] | null | null | null | from .base import Resource
class Team(Resource):
def users(self):
return self._get('/team/users')
def timers(self):
return self._get('/team/timers')
| 17.6 | 40 | 0.630682 | 23 | 176 | 4.73913 | 0.521739 | 0.183486 | 0.256881 | 0.311927 | 0.385321 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.232955 | 176 | 9 | 41 | 19.555556 | 0.807407 | 0 | 0 | 0 | 0 | 0 | 0.130682 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
032c28b4b220d09da8596ae0d2ef7852db1dde1b | 42 | py | Python | ChatRobot/Data_Collector.py | KurobaneYui/ChatRobot | 8a8c75806252c9dfc7dd30f47fd84c0c7da7641e | [
"BSD-2-Clause"
] | null | null | null | ChatRobot/Data_Collector.py | KurobaneYui/ChatRobot | 8a8c75806252c9dfc7dd30f47fd84c0c7da7641e | [
"BSD-2-Clause"
] | 6 | 2020-01-28T22:57:42.000Z | 2022-02-10T00:21:14.000Z | ChatRobot/Data_Collector.py | KurobaneYui/ChatRobot | 8a8c75806252c9dfc7dd30f47fd84c0c7da7641e | [
"BSD-2-Clause"
] | null | null | null |
import mysql
from mysql import connector
| 10.5 | 27 | 0.833333 | 6 | 42 | 5.833333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 42 | 3 | 28 | 14 | 1 | 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 | 1 | 0 | 0 | 6 |
0347528d3223be6971dcdc9458b39feac24abffd | 35,491 | py | Python | tests/bodytests.py | code-forger/PyPal | f880f2bc9a4aa01e1c9aa2cfc956202e91ab1a69 | [
"BSD-2-Clause"
] | null | null | null | tests/bodytests.py | code-forger/PyPal | f880f2bc9a4aa01e1c9aa2cfc956202e91ab1a69 | [
"BSD-2-Clause"
] | null | null | null | tests/bodytests.py | code-forger/PyPal | f880f2bc9a4aa01e1c9aa2cfc956202e91ab1a69 | [
"BSD-2-Clause"
] | null | null | null | import pypal as pal
import unittest
import weakref
# _______ ______ __ __ ________ ________ ______ ________ ______
#| \ / \ | \ | \ | \| \ / \| \ / \
#| $$$$$$$\| $$$$$$\| $$ | $$ \$$$$$$$$| $$$$$$$$| $$$$$$\\$$$$$$$$| $$$$$$\
#| $$_... | 43.019394 | 277 | 0.534417 | 4,349 | 35,491 | 4.044148 | 0.025753 | 0.057312 | 0.047419 | 0.025472 | 0.875768 | 0.831192 | 0.808449 | 0.735786 | 0.642029 | 0.612804 | 0 | 0.096147 | 0.254177 | 35,491 | 824 | 278 | 43.071602 | 0.568304 | 0.188555 | 0 | 0.395548 | 0 | 0 | 0.007275 | 0 | 0 | 0 | 0 | 0.001214 | 0.181507 | 1 | 0.27226 | false | 0 | 0.005137 | 0 | 0.287671 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
cefe4f3feff58daaa914264ab31cf05c62831297 | 211 | py | Python | gmusicapi/clients/__init__.py | maxjoehnk/gmusicapi | 94e0d898aa2b978032bb0a25e5504011424639f9 | [
"BSD-3-Clause"
] | 1,621 | 2015-06-21T15:52:54.000Z | 2022-03-21T23:09:32.000Z | gmusicapi/clients/__init__.py | maxjoehnk/gmusicapi | 94e0d898aa2b978032bb0a25e5504011424639f9 | [
"BSD-3-Clause"
] | 359 | 2015-06-21T03:17:58.000Z | 2022-01-21T16:17:49.000Z | gmusicapi/clients/__init__.py | maxjoehnk/gmusicapi | 94e0d898aa2b978032bb0a25e5504011424639f9 | [
"BSD-3-Clause"
] | 227 | 2015-06-24T02:08:44.000Z | 2022-03-05T22:34:36.000Z | from gmusicapi.clients.webclient import Webclient
from gmusicapi.clients.musicmanager import Musicmanager
from gmusicapi.clients.mobileclient import Mobileclient
(Webclient, Musicmanager, Mobileclient) # noqa
| 35.166667 | 55 | 0.85782 | 22 | 211 | 8.227273 | 0.363636 | 0.21547 | 0.331492 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090047 | 211 | 5 | 56 | 42.2 | 0.942708 | 0.018957 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
301e470e30eac2f0c0fb3db1e2c094fbf88d4884 | 116 | py | Python | polygonmeshtools/test_basic_understanding.py | fangohr/polygon-finite-difference-mesh-tools | 9fdbd42f4af15198e175e7b128889acd31c1be20 | [
"BSD-2-Clause"
] | 3 | 2015-12-24T04:53:03.000Z | 2020-07-01T15:07:56.000Z | polygonmeshtools/test_basic_understanding.py | fangohr/polygon-finite-difference-mesh-tools | 9fdbd42f4af15198e175e7b128889acd31c1be20 | [
"BSD-2-Clause"
] | null | null | null | polygonmeshtools/test_basic_understanding.py | fangohr/polygon-finite-difference-mesh-tools | 9fdbd42f4af15198e175e7b128889acd31c1be20 | [
"BSD-2-Clause"
] | null | null | null | import numpy as np
# import . as p
import matplotlib.pyplot as plt
import matplotlib.patches as patches
import math
| 19.333333 | 36 | 0.801724 | 19 | 116 | 4.894737 | 0.526316 | 0.344086 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163793 | 116 | 5 | 37 | 23.2 | 0.958763 | 0.112069 | 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 | 1 | 0 | 0 | 6 |
3051be8551a54bd2aa87fff42f16d202b1446c7a | 116 | py | Python | gharchive/exc.py | nickderobertis/py-gh-archive | b8bd6076a0ee2c8e34fb4f8ef1a08de02acdb187 | [
"MIT"
] | 3 | 2020-06-15T15:46:47.000Z | 2021-09-23T08:08:48.000Z | gharchive/exc.py | nickderobertis/py-gh-archive | b8bd6076a0ee2c8e34fb4f8ef1a08de02acdb187 | [
"MIT"
] | 4 | 2020-06-15T01:48:32.000Z | 2021-12-20T00:10:28.000Z | gharchive/exc.py | nickderobertis/py-gh-archive | b8bd6076a0ee2c8e34fb4f8ef1a08de02acdb187 | [
"MIT"
] | null | null | null |
class NoArchiveForDateException(Exception):
pass
class NoArchiveMatchingCriteraException(Exception):
pass | 16.571429 | 51 | 0.810345 | 8 | 116 | 11.75 | 0.625 | 0.276596 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 116 | 7 | 52 | 16.571429 | 0.94 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
066f45dbde2dd100a3da8461d6e9712444b3ba73 | 86 | py | Python | gis_utils/in_parsers/__init__.py | parallelo-ai/gis_utils | a3497d5e235b57fb2db3f3e780e7efa6e4b4cbad | [
"MIT"
] | 1 | 2020-12-18T06:52:32.000Z | 2020-12-18T06:52:32.000Z | gis_utils/in_parsers/__init__.py | parallelo-ai/gis_utils | a3497d5e235b57fb2db3f3e780e7efa6e4b4cbad | [
"MIT"
] | null | null | null | gis_utils/in_parsers/__init__.py | parallelo-ai/gis_utils | a3497d5e235b57fb2db3f3e780e7efa6e4b4cbad | [
"MIT"
] | null | null | null | from .geojson_to_shp import geojson_to_shp
from .shp_to_geojson import shp_to_geojson
| 28.666667 | 42 | 0.883721 | 16 | 86 | 4.25 | 0.3125 | 0.264706 | 0.352941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 86 | 2 | 43 | 43 | 0.871795 | 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 | 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 | 6 |
2305dbdcf9d6335c163c282dea71d598a8b8943d | 45 | py | Python | visualDet3D/data/synthia/___init__.py | saurav1869/saurav1869-mono3d_road | ae65b705504af0bec33cd86b7cfeef5d8605e159 | [
"Apache-2.0"
] | null | null | null | visualDet3D/data/synthia/___init__.py | saurav1869/saurav1869-mono3d_road | ae65b705504af0bec33cd86b7cfeef5d8605e159 | [
"Apache-2.0"
] | null | null | null | visualDet3D/data/synthia/___init__.py | saurav1869/saurav1869-mono3d_road | ae65b705504af0bec33cd86b7cfeef5d8605e159 | [
"Apache-2.0"
] | null | null | null | from .mono_dataset import SynthiaMonoDataset
| 22.5 | 44 | 0.888889 | 5 | 45 | 7.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 45 | 1 | 45 | 45 | 0.95122 | 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 | 1 | 0 | 0 | 6 |
2308da932c4a5f71801e36d71f2f075925e9a7ce | 401 | py | Python | everest/wordhash/exceptions.py | rsbyrne/everest | 1ec06301cdeb7c2b7d85daf6075d996c5529247e | [
"MIT"
] | 2 | 2020-12-17T02:27:28.000Z | 2020-12-17T23:50:13.000Z | everest/wordhash/exceptions.py | rsbyrne/everest | 1ec06301cdeb7c2b7d85daf6075d996c5529247e | [
"MIT"
] | 1 | 2020-12-07T10:14:45.000Z | 2020-12-07T10:14:45.000Z | everest/wordhash/exceptions.py | rsbyrne/everest | 1ec06301cdeb7c2b7d85daf6075d996c5529247e | [
"MIT"
] | 1 | 2020-10-22T11:16:50.000Z | 2020-10-22T11:16:50.000Z | ###############################################################################
''''''
###############################################################################
from ..exceptions import *
class WordhashException(Exception):
pass
###############################################################################... | 36.454545 | 79 | 0.137157 | 7 | 401 | 7.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044888 | 401 | 10 | 80 | 40.1 | 0.143603 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
23121d5d7b2d76e8a35a1b00afbad6386965f62d | 72 | py | Python | activities/views.py | CiganOliviu/MyWorkflow | 85951c2e8ebdb3e970fcc0b3e24bd319360b852a | [
"Apache-2.0"
] | null | null | null | activities/views.py | CiganOliviu/MyWorkflow | 85951c2e8ebdb3e970fcc0b3e24bd319360b852a | [
"Apache-2.0"
] | null | null | null | activities/views.py | CiganOliviu/MyWorkflow | 85951c2e8ebdb3e970fcc0b3e24bd319360b852a | [
"Apache-2.0"
] | null | null | null | from django.shortcuts import render
def activities(request):
pass
| 12 | 35 | 0.763889 | 9 | 72 | 6.111111 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180556 | 72 | 5 | 36 | 14.4 | 0.932203 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 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 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
2358c6e85f933b7d1d93bd3cfc59d7ca4577d3a6 | 6,734 | py | Python | services/event_service/comment_services.py | hnguyenworkstation/hoocons_backend | 725461812a172ca0a88181e3399e6e2294953273 | [
"MIT"
] | null | null | null | services/event_service/comment_services.py | hnguyenworkstation/hoocons_backend | 725461812a172ca0a88181e3399e6e2294953273 | [
"MIT"
] | null | null | null | services/event_service/comment_services.py | hnguyenworkstation/hoocons_backend | 725461812a172ca0a88181e3399e6e2294953273 | [
"MIT"
] | null | null | null | from datetime import *
from mongoengine import *
import operator
from flask_jwt import jwt_required, current_identity
from flask_restful import reqparse, Resource
from static import app_constant, status
from models.comment import BaseComment
from models.base_event import BaseEvent
from models.action import BaseAction
... | 39.380117 | 109 | 0.621473 | 792 | 6,734 | 5.064394 | 0.146465 | 0.069808 | 0.03291 | 0.052107 | 0.773623 | 0.768138 | 0.744453 | 0.73448 | 0.73448 | 0.73448 | 0 | 0.017395 | 0.282893 | 6,734 | 170 | 110 | 39.611765 | 0.813212 | 0.016632 | 0 | 0.719697 | 0 | 0 | 0.088546 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037879 | false | 0 | 0.068182 | 0 | 0.356061 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 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 | 6 |
237e88870a20111b3cd92aebdc91ea781901f189 | 123 | py | Python | python/sntools2_7/sncommands2_7.py | stone-info/sntools | 4329723478087082a637569935c5fef84df1cb29 | [
"MIT"
] | null | null | null | python/sntools2_7/sncommands2_7.py | stone-info/sntools | 4329723478087082a637569935c5fef84df1cb29 | [
"MIT"
] | null | null | null | python/sntools2_7/sncommands2_7.py | stone-info/sntools | 4329723478087082a637569935c5fef84df1cb29 | [
"MIT"
] | null | null | null | #!/usr/bin/evn python
# -*- coding:utf-8 -*-
from snpack2_7 import *
def cmd(c):
return commands.getstatusoutput(c)
| 13.666667 | 38 | 0.658537 | 18 | 123 | 4.444444 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029412 | 0.170732 | 123 | 8 | 39 | 15.375 | 0.754902 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
88ed4ee0fcac07eb52bd212aabc5464677dc121c | 34 | py | Python | pywick/models/segmentation/testnets/lg_kernel_exfuse/__init__.py | achaiah/pywick | 9d663faf0c1660a9b8359a6472c164f658dfc8cb | [
"MIT"
] | 408 | 2019-05-16T16:12:41.000Z | 2022-03-26T17:27:12.000Z | pywick/models/segmentation/testnets/lg_kernel_exfuse/__init__.py | ashishpatel26/pywick | 1afffd1c21c2b188836d3599e802146182757bb5 | [
"MIT"
] | 13 | 2019-05-17T05:47:06.000Z | 2021-06-21T19:02:30.000Z | pywick/models/segmentation/testnets/lg_kernel_exfuse/__init__.py | ashishpatel26/pywick | 1afffd1c21c2b188836d3599e802146182757bb5 | [
"MIT"
] | 42 | 2019-05-16T19:57:12.000Z | 2022-03-06T15:23:18.000Z | from .large_kernel_exfuse import * | 34 | 34 | 0.852941 | 5 | 34 | 5.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 34 | 1 | 34 | 34 | 0.870968 | 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 | 1 | 0 | 0 | 6 |
cc687a87983f287ad99432d099fdb7aa3ecac0b9 | 200 | py | Python | script.py | solarcreature/CMPUT_404-Lab_1 | e73d6dc8f6e38488f27765625bf637791a75cf65 | [
"Apache-2.0"
] | null | null | null | script.py | solarcreature/CMPUT_404-Lab_1 | e73d6dc8f6e38488f27765625bf637791a75cf65 | [
"Apache-2.0"
] | null | null | null | script.py | solarcreature/CMPUT_404-Lab_1 | e73d6dc8f6e38488f27765625bf637791a75cf65 | [
"Apache-2.0"
] | null | null | null | import requests;
print(requests.__version__)
print(requests.get("http://www.google.com"))
print(requests.get("https://raw.githubusercontent.com/solarcreature/CMPUT_404-Lab_1/master/script.py").text)
| 33.333333 | 108 | 0.795 | 28 | 200 | 5.464286 | 0.75 | 0.254902 | 0.20915 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020619 | 0.03 | 200 | 5 | 109 | 40 | 0.768041 | 0 | 0 | 0 | 0 | 0 | 0.505 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0.75 | 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 | 1 | 0 | 6 |
cc6f1c03bf208f86478bea11cbb5eb54df29373c | 121 | py | Python | frontpage/__init__.py | c17r/hn_frontpage | 5b50886ff7a971c4f528f941974b40ba2142ebe8 | [
"MIT"
] | 1 | 2022-01-11T06:03:51.000Z | 2022-01-11T06:03:51.000Z | frontpage/__init__.py | c17r/hn_frontpage | 5b50886ff7a971c4f528f941974b40ba2142ebe8 | [
"MIT"
] | null | null | null | frontpage/__init__.py | c17r/hn_frontpage | 5b50886ff7a971c4f528f941974b40ba2142ebe8 | [
"MIT"
] | 1 | 2022-01-11T06:03:55.000Z | 2022-01-11T06:03:55.000Z | from .frontpage import HackerNewsFrontPage, HackerNewsEmptyDataException
from .settings import DevSettings, ProdSettings
| 40.333333 | 72 | 0.884298 | 10 | 121 | 10.7 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082645 | 121 | 2 | 73 | 60.5 | 0.963964 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cc7d02309d749cb92088679cf6601216f1979004 | 84 | py | Python | tests/test_version.py | isprojects/ctrl-z | c086ebe8e2483d4ab67774fdadef8159e96098a6 | [
"MIT"
] | 4 | 2018-06-10T14:54:12.000Z | 2019-11-01T09:52:26.000Z | tests/test_version.py | isprojects/ctrl-z | c086ebe8e2483d4ab67774fdadef8159e96098a6 | [
"MIT"
] | 10 | 2018-06-27T09:15:20.000Z | 2021-05-04T09:57:09.000Z | tests/test_version.py | isprojects/ctrl-z | c086ebe8e2483d4ab67774fdadef8159e96098a6 | [
"MIT"
] | null | null | null | from ctrl_z import __version__
def test_version_exposed():
assert __version__
| 14 | 30 | 0.797619 | 11 | 84 | 5.090909 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 84 | 5 | 31 | 16.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
aeb2781f96158637ae70320f542e2ccd32ec7e70 | 216 | py | Python | pineboolib/qt3_widgets/qwidget.py | deavid/pineboo | acc96ab6d5b8bb182990af6dea4bf0986af15549 | [
"MIT"
] | 2 | 2015-09-19T16:54:49.000Z | 2016-09-12T08:06:29.000Z | pineboolib/qt3_widgets/qwidget.py | deavid/pineboo | acc96ab6d5b8bb182990af6dea4bf0986af15549 | [
"MIT"
] | 1 | 2017-08-14T17:07:14.000Z | 2017-08-15T00:22:47.000Z | pineboolib/qt3_widgets/qwidget.py | deavid/pineboo | acc96ab6d5b8bb182990af6dea4bf0986af15549 | [
"MIT"
] | 9 | 2015-01-15T18:15:42.000Z | 2019-05-05T18:53:00.000Z | # -*- coding: utf-8 -*-
from PyQt5 import QtWidgets # type: ignore
from typing import Any
class QWidget(QtWidgets.QWidget):
def child(self, name) -> Any:
return self.findChild(QtWidgets.QWidget, name)
| 24 | 54 | 0.689815 | 28 | 216 | 5.321429 | 0.678571 | 0.214765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011429 | 0.189815 | 216 | 8 | 55 | 27 | 0.84 | 0.157407 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0.2 | 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 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
aef6fc67e459c3977ea9adbe679d5947422c32eb | 66 | py | Python | pydl4j/pydl4j/__init__.py | rghwer/testdocs | 8fafa40407411ed7a3f8216e691e42e0c7d32083 | [
"Apache-2.0"
] | 2 | 2019-04-12T09:30:55.000Z | 2019-04-12T09:31:03.000Z | pydl4j/pydl4j/__init__.py | heronggen/deeplearning4j | 4670eee4f25cef84afca2ba2e2ebf46577968308 | [
"Apache-2.0"
] | 830 | 2019-11-11T19:39:32.000Z | 2021-08-03T18:35:24.000Z | pydl4j/pydl4j/__init__.py | heronggen/deeplearning4j | 4670eee4f25cef84afca2ba2e2ebf46577968308 | [
"Apache-2.0"
] | 1 | 2020-10-15T17:20:40.000Z | 2020-10-15T17:20:40.000Z | from .pydl4j import *
from .jarmgr import *
from .mvn import *
| 16.5 | 22 | 0.681818 | 9 | 66 | 5 | 0.555556 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019608 | 0.227273 | 66 | 3 | 23 | 22 | 0.862745 | 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 | 1 | 0 | 0 | 6 |
9da43c2e349c0d0c9a42b59d9f1959b49d671695 | 290 | py | Python | test/unit/conftest.py | tuneuptechnology/tuneuptechnology-python | 479bbece1722f7e233dbc0f7642205e1afa971c1 | [
"MIT"
] | null | null | null | test/unit/conftest.py | tuneuptechnology/tuneuptechnology-python | 479bbece1722f7e233dbc0f7642205e1afa971c1 | [
"MIT"
] | 2 | 2021-02-05T06:24:52.000Z | 2021-06-22T02:12:10.000Z | test/unit/conftest.py | tuneuptechnology/tuneuptechnology-python | 479bbece1722f7e233dbc0f7642205e1afa971c1 | [
"MIT"
] | 1 | 2021-06-22T02:32:23.000Z | 2021-06-22T02:32:23.000Z | import os
import pytest
@pytest.fixture
def api_email():
return os.getenv('API_EMAIL') or 'mock-email'
@pytest.fixture
def api_key():
return os.getenv('API_KEY') or 'mock-key'
@pytest.fixture
def base_url():
return os.getenv('BASE_URL') or 'http://tuneapp.localhost/api'
| 15.263158 | 66 | 0.7 | 45 | 290 | 4.377778 | 0.377778 | 0.19797 | 0.243655 | 0.192893 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151724 | 290 | 18 | 67 | 16.111111 | 0.800813 | 0 | 0 | 0.272727 | 0 | 0 | 0.241379 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | true | 0 | 0.181818 | 0.272727 | 0.727273 | 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 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
d19c2de3d5c02be35b76b0dc882fb632dc9d7160 | 108 | py | Python | self_attention_cv/axial_attention_deeplab/__init__.py | Siyuan89/self-attention-cv | b39cde2fb68e05351bf3bc8048f4af13bbab256a | [
"MIT"
] | 759 | 2021-02-11T12:49:04.000Z | 2022-03-31T20:40:54.000Z | self_attention_cv/axial_attention_deeplab/__init__.py | youtang1993/self-attention-cv | ae215541d3e33d39f26947924253a63585683226 | [
"MIT"
] | 14 | 2021-03-02T17:04:00.000Z | 2022-03-21T09:34:30.000Z | self_attention_cv/axial_attention_deeplab/__init__.py | youtang1993/self-attention-cv | ae215541d3e33d39f26947924253a63585683226 | [
"MIT"
] | 97 | 2021-02-11T23:47:23.000Z | 2022-03-29T03:51:16.000Z | from .axial_attention import AxialAttention
from .axial_attention_residual_block import AxialAttentionBlock
| 36 | 63 | 0.907407 | 12 | 108 | 7.833333 | 0.666667 | 0.191489 | 0.382979 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 108 | 2 | 64 | 54 | 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 | 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 | 1 | 0 | 0 | 6 |
d19d0b56195490080445ab787cc05f942882edfa | 111 | py | Python | ioflo/base/odicting.py | BradyHammond/ioflo | 177ac656d7c4ff801aebb0d8b401db365a5248ce | [
"ECL-2.0",
"Apache-2.0",
"MIT"
] | 128 | 2015-01-14T12:26:56.000Z | 2021-11-06T07:09:29.000Z | ioflo/base/odicting.py | BradyHammond/ioflo | 177ac656d7c4ff801aebb0d8b401db365a5248ce | [
"ECL-2.0",
"Apache-2.0",
"MIT"
] | 17 | 2015-01-28T18:26:50.000Z | 2020-11-19T22:08:06.000Z | ioflo/base/odicting.py | BradyHammond/ioflo | 177ac656d7c4ff801aebb0d8b401db365a5248ce | [
"ECL-2.0",
"Apache-2.0",
"MIT"
] | 29 | 2015-01-27T23:28:31.000Z | 2021-05-04T16:37:30.000Z | # for backwards compatibility. In future import from ..aid.odicting
from ..aid.odicting import odict, lodict
| 22.2 | 67 | 0.774775 | 15 | 111 | 5.733333 | 0.733333 | 0.162791 | 0.348837 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144144 | 111 | 4 | 68 | 27.75 | 0.905263 | 0.585586 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d1d98a7f94773cf5133397b721b8a91cdef8c1f0 | 44 | py | Python | questionb/atila_romero_version/__init__.py | atilaromero/atila_romero_test | 1676bff0e8e9704a9d42a28ebbca3179ef592fd7 | [
"MIT"
] | null | null | null | questionb/atila_romero_version/__init__.py | atilaromero/atila_romero_test | 1676bff0e8e9704a9d42a28ebbca3179ef592fd7 | [
"MIT"
] | null | null | null | questionb/atila_romero_version/__init__.py | atilaromero/atila_romero_test | 1676bff0e8e9704a9d42a28ebbca3179ef592fd7 | [
"MIT"
] | null | null | null | from .version import compare, compare_strict | 44 | 44 | 0.863636 | 6 | 44 | 6.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 44 | 1 | 44 | 44 | 0.925 | 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 | 1 | 0 | 0 | 6 |
ae3b97fc0cdfb20064ed018e2b589caedeff3b3f | 31 | py | Python | pyOpenBCI/utils/__init__.py | ikmckenz/pyOpenBCI | 2bdffe75aa18dcc2f5b2e068ca833045a8acd143 | [
"MIT"
] | 49 | 2019-06-04T08:18:27.000Z | 2020-04-01T11:27:18.000Z | pyOpenBCI/utils/__init__.py | ikmckenz/pyOpenBCI | 2bdffe75aa18dcc2f5b2e068ca833045a8acd143 | [
"MIT"
] | 10 | 2019-07-23T08:29:22.000Z | 2020-02-24T22:10:36.000Z | pyOpenBCI/utils/__init__.py | ikmckenz/pyOpenBCI | 2bdffe75aa18dcc2f5b2e068ca833045a8acd143 | [
"MIT"
] | 18 | 2019-05-26T06:02:05.000Z | 2020-03-01T19:25:32.000Z | from .ssdp import SSDPResponse
| 15.5 | 30 | 0.83871 | 4 | 31 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.962963 | 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 | 1 | 0 | 0 | 6 |
ae3c3b8f0356a120c1469fc2eaf077d64a328b77 | 130 | py | Python | main/views.py | bcollazo/django-pipenv-heroku-template | 177eb89cd62fc310ca3ac2963bb11bc529d1bb2f | [
"MIT"
] | 1 | 2019-10-15T01:13:40.000Z | 2019-10-15T01:13:40.000Z | main/views.py | bcollazo/django-pipenv-heroku-template | 177eb89cd62fc310ca3ac2963bb11bc529d1bb2f | [
"MIT"
] | 5 | 2021-03-18T21:27:59.000Z | 2022-02-10T07:18:10.000Z | main/views.py | bcollazo/django-pipenv-heroku-template | 177eb89cd62fc310ca3ac2963bb11bc529d1bb2f | [
"MIT"
] | 1 | 2019-10-15T01:13:41.000Z | 2019-10-15T01:13:41.000Z | from django.shortcuts import render
def index(request):
return render(request, 'main/index.html', {'title': 'Hello World!'}) | 26 | 72 | 0.715385 | 17 | 130 | 5.470588 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130769 | 130 | 5 | 72 | 26 | 0.823009 | 0 | 0 | 0 | 0 | 0 | 0.244275 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
ae83f4e56c9bb34dd59d753760149aa613c21f01 | 5,603 | py | Python | project/device/pipe_gen_v2.py | dezengzang/BJTU-BNN-Accelerator | d4632a947e438243cb98572a319af0f024c4bbf5 | [
"Apache-2.0"
] | 3 | 2020-11-23T12:42:00.000Z | 2020-11-25T02:46:35.000Z | project/device/pipe_gen_v2.py | dezengzang/BJTU-BNN-Accelerator | d4632a947e438243cb98572a319af0f024c4bbf5 | [
"Apache-2.0"
] | null | null | null | project/device/pipe_gen_v2.py | dezengzang/BJTU-BNN-Accelerator | d4632a947e438243cb98572a319af0f024c4bbf5 | [
"Apache-2.0"
] | null | null | null | import sys
import numpy as np
import pdb
if __name__ == '__main__':
if len(sys.argv) != 3:
print ('Usage: python [lane_num] [vec_size]')
exit(1)
lane_num = int(sys.argv[1])
vec_size = int(sys.argv[2])
code_str = '#ifndef _PIPE_H\n'+'#define _PIPE_H\n'
# channel_vec
pipe_depth = ... | 60.247312 | 147 | 0.435838 | 613 | 5,603 | 3.634584 | 0.119086 | 0.06912 | 0.075404 | 0.068223 | 0.803411 | 0.774686 | 0.755835 | 0.710054 | 0.701077 | 0.701077 | 0 | 0.014358 | 0.403355 | 5,603 | 92 | 148 | 60.902174 | 0.652109 | 0.008924 | 0 | 0.506329 | 0 | 0 | 0.469539 | 0.133021 | 0.012658 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.025316 | 0.037975 | 0 | 0.037975 | 0.012658 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
881a1e22c84d15ec806a08b550602014eb4a7070 | 52 | py | Python | test.py | jajool/pipepy | 5a3dff581b05fcdf1c158c7f5a372054e95a0e54 | [
"MIT"
] | null | null | null | test.py | jajool/pipepy | 5a3dff581b05fcdf1c158c7f5a372054e95a0e54 | [
"MIT"
] | null | null | null | test.py | jajool/pipepy | 5a3dff581b05fcdf1c158c7f5a372054e95a0e54 | [
"MIT"
] | 1 | 2018-12-01T11:18:32.000Z | 2018-12-01T11:18:32.000Z | import unittest
from test import *
unittest.main()
| 10.4 | 18 | 0.769231 | 7 | 52 | 5.714286 | 0.714286 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 52 | 4 | 19 | 13 | 0.909091 | 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 | 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 | 1 | 0 | 0 | 6 |
883917810a1e58e3ee79d8cc3c245ee9ecbe5bc3 | 96 | py | Python | venv/lib/python3.8/site-packages/numpy/distutils/command/develop.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/numpy/distutils/command/develop.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/numpy/distutils/command/develop.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/f5/26/db/9c59d56d22556714c5a15f69c2539c3350f7d069ce5a6d90a27403bc72 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.458333 | 0 | 96 | 1 | 96 | 96 | 0.4375 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8864ae14aa1398fd44c28ef0c468269fc3236a5e | 127 | py | Python | tests/conftest.py | josuebrunel/spewe | 85a5dee475c3cafe0d1c379b665838faf5636f85 | [
"MIT"
] | 5 | 2017-04-14T07:54:45.000Z | 2021-03-24T15:29:45.000Z | tests/conftest.py | josuebrunel/spewe | 85a5dee475c3cafe0d1c379b665838faf5636f85 | [
"MIT"
] | 15 | 2017-04-14T10:35:30.000Z | 2018-05-22T05:15:38.000Z | tests/conftest.py | josuebrunel/spewe | 85a5dee475c3cafe0d1c379b665838faf5636f85 | [
"MIT"
] | null | null | null | import pytest
from webtest import TestApp
from myapp import testapp
@pytest.fixture
def app():
return TestApp(testapp)
| 11.545455 | 27 | 0.76378 | 17 | 127 | 5.705882 | 0.588235 | 0.268041 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181102 | 127 | 10 | 28 | 12.7 | 0.932692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.5 | 0.166667 | 0.833333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
ee1b97b657ac609bf0b3e777080f5591f1f3a701 | 47 | py | Python | booster/training/__init__.py | vlievin/booster-pytorch | a8f447160c30224112731a25f90f6f97126a34b2 | [
"MIT"
] | 4 | 2019-12-10T06:41:29.000Z | 2021-08-06T13:34:59.000Z | booster/training/__init__.py | vlievin/booster-pytorch | a8f447160c30224112731a25f90f6f97126a34b2 | [
"MIT"
] | null | null | null | booster/training/__init__.py | vlievin/booster-pytorch | a8f447160c30224112731a25f90f6f97126a34b2 | [
"MIT"
] | 1 | 2020-08-20T16:12:53.000Z | 2020-08-20T16:12:53.000Z | from .ops import training_step, validation_step | 47 | 47 | 0.87234 | 7 | 47 | 5.571429 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 47 | 1 | 47 | 47 | 0.906977 | 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 | 1 | 0 | 0 | 6 |
c9882fbaeb11991e14d94d8bc662a423ea132ce3 | 3,306 | py | Python | google_or_tools/nonogram_pbn_karate.py | Wikunia/hakank | 030bc928d2efe8dcbc5118bda3f8ae9575d0fd13 | [
"MIT"
] | 279 | 2015-01-10T09:55:35.000Z | 2022-03-28T02:34:03.000Z | google_or_tools/nonogram_pbn_karate.py | Wikunia/hakank | 030bc928d2efe8dcbc5118bda3f8ae9575d0fd13 | [
"MIT"
] | 10 | 2017-10-05T15:48:50.000Z | 2021-09-20T12:06:52.000Z | google_or_tools/nonogram_pbn_karate.py | Wikunia/hakank | 030bc928d2efe8dcbc5118bda3f8ae9575d0fd13 | [
"MIT"
] | 83 | 2015-01-20T03:44:00.000Z | 2022-03-13T23:53:06.000Z | # webpbn.com Puzzle #6739: Pogo Karate
# Copyright 2009 by Nikos Koukos
#
rows = 40
row_rule_len = 12
row_rules = [
[0, 0, 0, 0, 0, 5, 7, 3, 5, 1, 2, 10],
[1, 2, 2, 1, 2, 1, 1, 1, 1, 2, 1, 1],
[1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1],
[0, 0, 0, 1, 1, 1, 1, 1, 1, 3, 2, 2],
[0, 0, 0, 0, 0, 5, 1, 1, 1, 2, ... | 35.548387 | 42 | 0.305505 | 907 | 3,306 | 1.106946 | 0.037486 | 0.521912 | 0.564741 | 0.501992 | 0.758964 | 0.672311 | 0.570717 | 0.460159 | 0.355578 | 0.200199 | 0 | 0.442345 | 0.375681 | 3,306 | 92 | 43 | 35.934783 | 0.044089 | 0.019964 | 0 | 0.022727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4eafe607c20525d4d60bae8f6e106ecfdd771bfd | 145 | py | Python | api/extractors/yahoo.py | DaveFerBear/bitguava | 70c706a7f6b9c37553e7b53e2fedb878d32fbeb6 | [
"Apache-2.0"
] | null | null | null | api/extractors/yahoo.py | DaveFerBear/bitguava | 70c706a7f6b9c37553e7b53e2fedb878d32fbeb6 | [
"Apache-2.0"
] | null | null | null | api/extractors/yahoo.py | DaveFerBear/bitguava | 70c706a7f6b9c37553e7b53e2fedb878d32fbeb6 | [
"Apache-2.0"
] | null | null | null | from yahoo_finance import Share
def getData(name, start_date, end_date):
share = Share(name)
return share.get_historical(start_date, end_date) | 29 | 50 | 0.806897 | 23 | 145 | 4.826087 | 0.608696 | 0.162162 | 0.216216 | 0.288288 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.110345 | 145 | 5 | 50 | 29 | 0.860465 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
4ed66d7951eb371dc8057c88e34540b152493408 | 175 | py | Python | backend/register/views.py | naritotakizawa/docker-drf-and-nuxt-template | 7d8c6a11928b61f511c483898c04781770b171b0 | [
"MIT"
] | 2 | 2021-02-05T04:16:42.000Z | 2021-02-05T12:15:51.000Z | backend/register/views.py | naritotakizawa/docker-drf-and-nuxt-template | 7d8c6a11928b61f511c483898c04781770b171b0 | [
"MIT"
] | null | null | null | backend/register/views.py | naritotakizawa/docker-drf-and-nuxt-template | 7d8c6a11928b61f511c483898c04781770b171b0 | [
"MIT"
] | null | null | null | from rest_framework.decorators import api_view
from rest_framework.response import Response
@api_view(['GET'])
def hello(request):
return Response({'message': 'hello'})
| 21.875 | 46 | 0.765714 | 23 | 175 | 5.652174 | 0.608696 | 0.123077 | 0.261538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 175 | 7 | 47 | 25 | 0.83871 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
0935ec5d4dcdd8a9220456725ee4c0b085fc9ba2 | 164 | py | Python | RESSPyLab/mpl_import.py | ioannis-vm/RESSPyLab | 306fc24d5f8ece8f2f2de274b56b80ba2019f605 | [
"MIT"
] | 7 | 2019-10-15T09:16:41.000Z | 2021-09-24T11:28:45.000Z | RESSPyLab/mpl_import.py | ioannis-vm/RESSPyLab | 306fc24d5f8ece8f2f2de274b56b80ba2019f605 | [
"MIT"
] | 3 | 2020-10-22T14:27:22.000Z | 2021-11-15T17:46:49.000Z | RESSPyLab/mpl_import.py | ioannis-vm/RESSPyLab | 306fc24d5f8ece8f2f2de274b56b80ba2019f605 | [
"MIT"
] | 6 | 2019-07-22T05:47:10.000Z | 2021-10-24T02:06:26.000Z | import matplotlib as mpl
import matplotlib.pyplot as plt
def cm2inch(value):
""" function for resizing figures to page dimensions """
return value / 2.54
| 20.5 | 60 | 0.72561 | 23 | 164 | 5.173913 | 0.826087 | 0.268908 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030534 | 0.20122 | 164 | 7 | 61 | 23.428571 | 0.877863 | 0.292683 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0956eb972b7a7e2faf58d6b994098554129d0113 | 131 | py | Python | packages/watchmen-rest-doll/src/watchmen_rest_doll/util/__init__.py | Indexical-Metrics-Measure-Advisory/watchmen | c54ec54d9f91034a38e51fd339ba66453d2c7a6d | [
"MIT"
] | null | null | null | packages/watchmen-rest-doll/src/watchmen_rest_doll/util/__init__.py | Indexical-Metrics-Measure-Advisory/watchmen | c54ec54d9f91034a38e51fd339ba66453d2c7a6d | [
"MIT"
] | null | null | null | packages/watchmen-rest-doll/src/watchmen_rest_doll/util/__init__.py | Indexical-Metrics-Measure-Advisory/watchmen | c54ec54d9f91034a38e51fd339ba66453d2c7a6d | [
"MIT"
] | null | null | null | from .crypt import crypt_password, verify_password
from .trans import trans, trans_readonly, trans_with_fail_over, trans_with_tail
| 43.666667 | 79 | 0.862595 | 20 | 131 | 5.25 | 0.55 | 0.171429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091603 | 131 | 2 | 80 | 65.5 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 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 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
1183dc39a096edb51927c9135f0c7ce78b29784f | 1,246 | py | Python | cryptos/explorers/blockdozer.py | cfd2000/pybitcointool | 96e7843226d76cfe73b2ab0660cc89add490d76a | [
"MIT"
] | 230 | 2017-12-07T07:49:39.000Z | 2022-03-27T10:08:16.000Z | cryptos/explorers/blockdozer.py | cfd2000/pybitcointool | 96e7843226d76cfe73b2ab0660cc89add490d76a | [
"MIT"
] | 26 | 2017-12-19T15:09:57.000Z | 2022-02-25T14:13:56.000Z | cryptos/explorers/blockdozer.py | cfd2000/pybitcointool | 96e7843226d76cfe73b2ab0660cc89add490d76a | [
"MIT"
] | 145 | 2017-12-20T11:45:55.000Z | 2022-03-05T08:07:32.000Z | from . import base_insight as insight
base_url = "https://%s.blockdozer.com/insight-api"
def unspent(*args, coin_symbol="bcc"):
base_url_for_coin = base_url % coin_symbol
return insight.unspent(base_url_for_coin, *args)
def pushtx(tx, coin_symbol="bcc"):
base_url_for_coin = base_url % coin_symbol
re... | 35.6 | 61 | 0.768058 | 198 | 1,246 | 4.414141 | 0.146465 | 0.200229 | 0.183066 | 0.256293 | 0.726545 | 0.726545 | 0.574371 | 0.574371 | 0.574371 | 0.574371 | 0 | 0 | 0.136437 | 1,246 | 35 | 62 | 35.6 | 0.812268 | 0 | 0 | 0.307692 | 0 | 0 | 0.048917 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.307692 | false | 0 | 0.038462 | 0 | 0.653846 | 0 | 0 | 0 | 0 | null | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
11d505461c824151424e1d8f9c55c26578dbcf25 | 21,477 | py | Python | tests/test_main.py | Bakuriu/feanor-csv | e69929ae333d118771db4f3a91067d3b5ed84bf3 | [
"Apache-2.0"
] | 1 | 2018-10-05T02:03:35.000Z | 2018-10-05T02:03:35.000Z | tests/test_main.py | Bakuriu/feanor-csv | e69929ae333d118771db4f3a91067d3b5ed84bf3 | [
"Apache-2.0"
] | 30 | 2018-07-09T20:37:53.000Z | 2018-10-05T07:04:55.000Z | tests/test_main.py | Bakuriu/feanor-csv | e69929ae333d118771db4f3a91067d3b5ed84bf3 | [
"Apache-2.0"
] | null | null | null | import io
import os
import random
import argparse
import unittest
from contextlib import redirect_stderr
from types import SimpleNamespace
from feanor.builtin import BuiltInLibrary
from feanor.library import MockLibrary
from feanor.main import (
make_schema_cmdline, get_library, _parse_global_configuration, make_s... | 48.480813 | 143 | 0.635703 | 2,283 | 21,477 | 5.724923 | 0.074901 | 0.096404 | 0.014537 | 0.044223 | 0.886151 | 0.858608 | 0.835884 | 0.796174 | 0.774063 | 0.762433 | 0 | 0.012839 | 0.242026 | 21,477 | 442 | 144 | 48.590498 | 0.790036 | 0.006379 | 0 | 0.677922 | 0 | 0 | 0.09047 | 0.017953 | 0 | 0 | 0 | 0 | 0.324675 | 1 | 0.077922 | false | 0 | 0.044156 | 0 | 0.137662 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
eee83bf77fac587b2ade3ff5c602f82ea1de4e49 | 168 | py | Python | agpy/__init__.py | TyGillespie/ag_py | 56842f94d057cb93333846133a156e4b7131e1d2 | [
"MIT"
] | null | null | null | agpy/__init__.py | TyGillespie/ag_py | 56842f94d057cb93333846133a156e4b7131e1d2 | [
"MIT"
] | null | null | null | agpy/__init__.py | TyGillespie/ag_py | 56842f94d057cb93333846133a156e4b7131e1d2 | [
"MIT"
] | 1 | 2020-11-15T07:12:25.000Z | 2020-11-15T07:12:25.000Z | from . import *
from .window import *
from .keycodes import *
from .keyboard import *
from .timer import *
from .output import *
from .ui import *
from .audio import *
| 18.666667 | 23 | 0.714286 | 23 | 168 | 5.217391 | 0.391304 | 0.583333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 168 | 8 | 24 | 21 | 0.882353 | 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 | 1 | 0 | 0 | 6 |
eefdb593051e9167e6d1134c3c899b1810e888bf | 181 | py | Python | PyCTBN/PyCTBN/utility/__init__.py | pietroepis/PyCTBN | 33e4cb5bd7dd68e3e272edfccb016806dd227deb | [
"MIT"
] | 1 | 2021-07-06T12:59:32.000Z | 2021-07-06T12:59:32.000Z | PyCTBN/PyCTBN/utility/__init__.py | pietroepis/PyCTBN | 33e4cb5bd7dd68e3e272edfccb016806dd227deb | [
"MIT"
] | 1 | 2021-07-21T06:44:33.000Z | 2021-07-21T06:44:33.000Z | PyCTBN/PyCTBN/utility/__init__.py | philipMartini/CTBN_Project | 235c85c8fad8a85f1243dac8162dda60bf45291b | [
"MIT"
] | 4 | 2021-03-10T10:16:10.000Z | 2021-05-12T12:36:27.000Z |
# License: MIT License
from .abstract_importer import AbstractImporter
from .cache import Cache
from .json_importer import JsonImporter
from .sample_importer import SampleImporter | 25.857143 | 47 | 0.850829 | 22 | 181 | 6.863636 | 0.545455 | 0.278146 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116022 | 181 | 7 | 48 | 25.857143 | 0.94375 | 0.110497 | 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 | 1 | 0 | 0 | 6 |
e106de9d54cdcd0b55556e4bcba4c7c172545296 | 220 | py | Python | microbill/resources/__init__.py | fialo4ka/MicroBills | 296f02c5817074f69d8ac31b7aec9d320b2a7d57 | [
"Apache-2.0"
] | null | null | null | microbill/resources/__init__.py | fialo4ka/MicroBills | 296f02c5817074f69d8ac31b7aec9d320b2a7d57 | [
"Apache-2.0"
] | null | null | null | microbill/resources/__init__.py | fialo4ka/MicroBills | 296f02c5817074f69d8ac31b7aec9d320b2a7d57 | [
"Apache-2.0"
] | null | null | null | from .api import api
from .category import api as category_api
from .bill import api as bill_api
from .user import api as user_api
api.add_namespace(user_api)
api.add_namespace(category_api)
api.add_namespace(bill_api) | 24.444444 | 41 | 0.822727 | 40 | 220 | 4.3 | 0.225 | 0.209302 | 0.19186 | 0.313953 | 0.255814 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118182 | 220 | 9 | 42 | 24.444444 | 0.886598 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.571429 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
0109caa44be831b5b5986ff66b32a30ee099f5d8 | 43 | py | Python | models/__init__.py | RIVeR-Lab/vast_classification | c33b08cddc5c2e9cc88356e1af70fa657cbc1018 | [
"MIT"
] | null | null | null | models/__init__.py | RIVeR-Lab/vast_classification | c33b08cddc5c2e9cc88356e1af70fa657cbc1018 | [
"MIT"
] | null | null | null | models/__init__.py | RIVeR-Lab/vast_classification | c33b08cddc5c2e9cc88356e1af70fa657cbc1018 | [
"MIT"
] | null | null | null | from .mlp import *
from .fused_net import * | 21.5 | 24 | 0.744186 | 7 | 43 | 4.428571 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162791 | 43 | 2 | 24 | 21.5 | 0.861111 | 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 | 1 | 0 | 0 | 6 |
0123b3a64fe177b8f376b48507d83219eca574b2 | 16,378 | py | Python | test/test_sfa.py | NKI-CCB/funcsfa | 336655531f08aeec0077a443eeb76b92d6677b3a | [
"Apache-2.0"
] | 1 | 2019-01-28T11:47:21.000Z | 2019-01-28T11:47:21.000Z | test/test_sfa.py | NKI-CCB/funcsfa | 336655531f08aeec0077a443eeb76b92d6677b3a | [
"Apache-2.0"
] | 1 | 2018-11-21T09:37:45.000Z | 2018-11-21T15:39:27.000Z | test/test_sfa.py | NKI-CCB/funcsfa | 336655531f08aeec0077a443eeb76b92d6677b3a | [
"Apache-2.0"
] | null | null | null | import unittest
import numpy as np
from . import plot
import funcsfa
class TestInvalidInputs(unittest.TestCase):
def setUp(self):
self.rand = np.random.RandomState(1968486074)
self.n_factors = 9
self.f = funcsfa.SFA()
self.n_samples = 221
self.n_features = 37
sel... | 44.384824 | 79 | 0.601783 | 2,306 | 16,378 | 4.08673 | 0.068951 | 0.058892 | 0.091681 | 0.060484 | 0.858977 | 0.835845 | 0.821307 | 0.782046 | 0.766766 | 0.751804 | 0 | 0.039531 | 0.270973 | 16,378 | 368 | 80 | 44.505435 | 0.749749 | 0 | 0 | 0.643533 | 0 | 0 | 0.037428 | 0.009952 | 0 | 0 | 0 | 0 | 0.170347 | 1 | 0.100946 | false | 0 | 0.012618 | 0 | 0.129338 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
013254756587d1f2b0abd2a8e10e79a93c0b211a | 45 | py | Python | pointerpos.py | SoarifyCodes/Zoom-Idle | 06535952d0f2880688604a62eb0c65bfc174ed00 | [
"Apache-2.0"
] | 1 | 2021-02-19T22:51:11.000Z | 2021-02-19T22:51:11.000Z | pointerpos.py | SoarifyCodes/Zoom-Idle | 06535952d0f2880688604a62eb0c65bfc174ed00 | [
"Apache-2.0"
] | null | null | null | pointerpos.py | SoarifyCodes/Zoom-Idle | 06535952d0f2880688604a62eb0c65bfc174ed00 | [
"Apache-2.0"
] | null | null | null | import mouse
print(mouse.get_position())
| 11.25 | 28 | 0.733333 | 6 | 45 | 5.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155556 | 45 | 3 | 29 | 15 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 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 | 1 | 0 | 6 |
0146293591d1a89433b88f2223b5372a76e4e31f | 886 | py | Python | bitex/api/REST/__init__.py | ligggooo/quant2018 | adbf68da414f422157dff8b744df214fc6631342 | [
"MIT"
] | 312 | 2018-01-06T13:51:48.000Z | 2022-03-01T21:14:21.000Z | bitex/api/REST/__init__.py | ligggooo/quant2018 | adbf68da414f422157dff8b744df214fc6631342 | [
"MIT"
] | 111 | 2016-06-14T18:44:12.000Z | 2018-01-06T00:58:31.000Z | bitex/api/REST/__init__.py | ligggooo/quant2018 | adbf68da414f422157dff8b744df214fc6631342 | [
"MIT"
] | 98 | 2018-01-06T15:24:36.000Z | 2022-01-13T03:00:05.000Z | from bitex.api.REST.bitfinex import BitfinexREST
from bitex.api.REST.bitstamp import BitstampREST
from bitex.api.REST.bittrex import BittrexREST
from bitex.api.REST.bter import BterREST
from bitex.api.REST.ccex import CCEXRest
from bitex.api.REST.coincheck import CoincheckREST
from bitex.api.REST.cryptopia import Crypt... | 42.190476 | 54 | 0.848758 | 133 | 886 | 5.654135 | 0.323308 | 0.227394 | 0.303191 | 0.404255 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086907 | 886 | 20 | 55 | 44.3 | 0.929543 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 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 | 6 |
014959e4d9f7c9d908e94b6b8868537079c42d42 | 1,975 | py | Python | twitch_project/facebook_users/tasks.py | tejesh95/livecoding | 327114d67d613ef7300528d62b5165cd215bc1b4 | [
"MIT"
] | null | null | null | twitch_project/facebook_users/tasks.py | tejesh95/livecoding | 327114d67d613ef7300528d62b5165cd215bc1b4 | [
"MIT"
] | null | null | null | twitch_project/facebook_users/tasks.py | tejesh95/livecoding | 327114d67d613ef7300528d62b5165cd215bc1b4 | [
"MIT"
] | null | null | null | import urllib2
import json
from celery.decorators import task
from celery.utils.log import get_task_logger
from .models import GroupMember
logger = get_task_logger(__name__)
@task(name='fetch_members_from_group')
def fetch_members_from_group(members, group_id):
def save_members_to_db(members):
for member... | 34.051724 | 87 | 0.590886 | 229 | 1,975 | 4.899563 | 0.279476 | 0.058824 | 0.069519 | 0.080214 | 0.743316 | 0.743316 | 0.743316 | 0.743316 | 0.743316 | 0.743316 | 0 | 0.003701 | 0.315949 | 1,975 | 57 | 88 | 34.649123 | 0.826795 | 0.164051 | 0 | 0.641026 | 0 | 0 | 0.110433 | 0.029286 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.025641 | 0.128205 | null | null | 0.102564 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0158d523b146646c03f1348500c260b16e62d28b | 219 | py | Python | data-updater/config/variable.py | odair-pedro/stay-safe-br | bb2d06281d0512bf717c5a04dd9d9fd9911a3d4f | [
"Apache-2.0"
] | 1 | 2021-04-06T14:34:21.000Z | 2021-04-06T14:34:21.000Z | data-updater/config/variable.py | odair-pedro/stay-safe-br | bb2d06281d0512bf717c5a04dd9d9fd9911a3d4f | [
"Apache-2.0"
] | null | null | null | data-updater/config/variable.py | odair-pedro/stay-safe-br | bb2d06281d0512bf717c5a04dd9d9fd9911a3d4f | [
"Apache-2.0"
] | null | null | null | import os
from config.config import config
class Env(config):
__ENV_DB_CONN_STRING = 'STAY_SAFE_DB_CONN_STRING'
def get_database_conn_string(self) -> str:
return os.getenv(self.__ENV_DB_CONN_STRING)
| 19.909091 | 53 | 0.757991 | 34 | 219 | 4.382353 | 0.529412 | 0.268456 | 0.241611 | 0.201342 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16895 | 219 | 10 | 54 | 21.9 | 0.818681 | 0 | 0 | 0 | 0 | 0 | 0.109589 | 0.109589 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.166667 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
6db81cbede541970bdaa686ed8232492168a2bfa | 41 | py | Python | architect/__init__.py | thedrow/architect | 93c58c568d71ae14bd4fe9c7b1bfed2cbf4aaf70 | [
"Apache-2.0"
] | null | null | null | architect/__init__.py | thedrow/architect | 93c58c568d71ae14bd4fe9c7b1bfed2cbf4aaf70 | [
"Apache-2.0"
] | null | null | null | architect/__init__.py | thedrow/architect | 93c58c568d71ae14bd4fe9c7b1bfed2cbf4aaf70 | [
"Apache-2.0"
] | null | null | null | from architect.version import __version__ | 41 | 41 | 0.902439 | 5 | 41 | 6.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073171 | 41 | 1 | 41 | 41 | 0.868421 | 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 | 1 | 0 | 0 | 6 |
6debd8f4ffda02a2fef35921d34283bc64d158e6 | 301 | py | Python | player_class.py | Morr231/Snake | a3e1870dff7b1a7333901330109614ab44c64f0b | [
"MIT"
] | null | null | null | player_class.py | Morr231/Snake | a3e1870dff7b1a7333901330109614ab44c64f0b | [
"MIT"
] | null | null | null | player_class.py | Morr231/Snake | a3e1870dff7b1a7333901330109614ab44c64f0b | [
"MIT"
] | null | null | null | class Player:
def __init__(self, name):
self.player_score = 0
self.player_name = name
def increase_score(self):
self.player_score += 1
def get_name(self):
return self.player_name['name_input']
def __str__(self):
return f'{self.player_score}'
| 21.5 | 45 | 0.621262 | 40 | 301 | 4.275 | 0.375 | 0.292398 | 0.263158 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009174 | 0.275748 | 301 | 13 | 46 | 23.153846 | 0.775229 | 0 | 0 | 0 | 0 | 0 | 0.096346 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.2 | 0.7 | 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 | 1 | 0 | 0 | 6 |
09859bd93b186dc46240f85fd04e5ae2867023bc | 33 | py | Python | cdfmap/__init__.py | hamsteruser/climat_changemap | 2aa71e2796279e03e37992c2be0ab75629130335 | [
"MIT"
] | null | null | null | cdfmap/__init__.py | hamsteruser/climat_changemap | 2aa71e2796279e03e37992c2be0ab75629130335 | [
"MIT"
] | null | null | null | cdfmap/__init__.py | hamsteruser/climat_changemap | 2aa71e2796279e03e37992c2be0ab75629130335 | [
"MIT"
] | null | null | null | from .merra_ma import Merra_cdf4
| 16.5 | 32 | 0.848485 | 6 | 33 | 4.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034483 | 0.121212 | 33 | 1 | 33 | 33 | 0.862069 | 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 | 1 | 0 | 0 | 6 |
0998ca4e940464684f5883f9fe24778e664ab0ca | 209 | py | Python | embedding_encoder/utils/__init__.py | r-sosa-gh/embedding-encoder | f8200124dbf2e37eec0aa35b4eaf809ee1869785 | [
"MIT"
] | 16 | 2022-03-25T15:25:34.000Z | 2022-03-31T18:17:20.000Z | embedding_encoder/utils/__init__.py | r-sosa-gh/embedding-encoder | f8200124dbf2e37eec0aa35b4eaf809ee1869785 | [
"MIT"
] | 7 | 2022-01-26T01:16:08.000Z | 2022-03-23T00:53:51.000Z | embedding_encoder/utils/__init__.py | r-sosa-gh/embedding-encoder | f8200124dbf2e37eec0aa35b4eaf809ee1869785 | [
"MIT"
] | 3 | 2022-01-12T16:01:29.000Z | 2022-01-12T17:01:12.000Z | from embedding_encoder.utils.compose import ColumnTransformerWithNames
from embedding_encoder.utils.custom_ordinal import OrdinalEncoderStart1
__all__ = ["ColumnTransformerWithNames", "OrdinalEncoderStart1"]
| 41.8 | 71 | 0.880383 | 18 | 209 | 9.833333 | 0.611111 | 0.146893 | 0.225989 | 0.282486 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010204 | 0.062201 | 209 | 4 | 72 | 52.25 | 0.892857 | 0 | 0 | 0 | 0 | 0 | 0.220096 | 0.124402 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
09cf549cd320c98672b350c552f13d9521d9205e | 88 | py | Python | run-tests.py | girlrilaz/blood-donation-prediction-3 | 065fb6936c6e930328d685b8bed1c4017bea4b60 | [
"MIT"
] | 1 | 2021-06-15T10:35:05.000Z | 2021-06-15T10:35:05.000Z | run-tests.py | girlrilaz/blood-donation-prediction-3 | 065fb6936c6e930328d685b8bed1c4017bea4b60 | [
"MIT"
] | null | null | null | run-tests.py | girlrilaz/blood-donation-prediction-3 | 065fb6936c6e930328d685b8bed1c4017bea4b60 | [
"MIT"
] | 1 | 2020-02-29T06:24:11.000Z | 2020-02-29T06:24:11.000Z | #!/usr/bin/python
import sys
import unittest
from unittests import *
unittest.main()
| 11 | 23 | 0.75 | 12 | 88 | 5.5 | 0.75 | 0.424242 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147727 | 88 | 7 | 24 | 12.571429 | 0.88 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1137fd0720da3a636c0e3cd59a9497fcce13cd11 | 277 | py | Python | snmpagent_unity/unity_impl/VolumeReadThroughput.py | factioninc/snmp-unity-agent | 3525dc0fac60d1c784dcdd7c41693544bcbef843 | [
"Apache-2.0"
] | 2 | 2019-03-01T11:14:59.000Z | 2019-10-02T17:47:59.000Z | snmpagent_unity/unity_impl/VolumeReadThroughput.py | factioninc/snmp-unity-agent | 3525dc0fac60d1c784dcdd7c41693544bcbef843 | [
"Apache-2.0"
] | 2 | 2019-03-01T11:26:29.000Z | 2019-10-11T18:56:54.000Z | snmpagent_unity/unity_impl/VolumeReadThroughput.py | factioninc/snmp-unity-agent | 3525dc0fac60d1c784dcdd7c41693544bcbef843 | [
"Apache-2.0"
] | 1 | 2019-10-03T21:09:17.000Z | 2019-10-03T21:09:17.000Z | class VolumeReadThroughput(object):
def read_get(self, name, idx_name, unity_client):
return unity_client.get_lun_read_iops(idx_name)
class VolumeReadThroughputColumn(object):
def get_idx(self, name, idx, unity_client):
return unity_client.get_luns()
| 30.777778 | 55 | 0.754513 | 37 | 277 | 5.324324 | 0.432432 | 0.22335 | 0.111675 | 0.22335 | 0.314721 | 0.314721 | 0 | 0 | 0 | 0 | 0 | 0 | 0.158845 | 277 | 8 | 56 | 34.625 | 0.845494 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 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 | 6 |
3a1ac53f9de43f351ac77f0db05aba879094aef3 | 212 | py | Python | sdk-python/swagger_client/api/__init__.py | factorialco/oas | 8a2fc3b519b7e74566c94ebd220590d7a9c38aa3 | [
"Apache-2.0"
] | 1 | 2021-11-15T21:36:01.000Z | 2021-11-15T21:36:01.000Z | sdk-python/swagger_client/api/__init__.py | factorialco/oas | 8a2fc3b519b7e74566c94ebd220590d7a9c38aa3 | [
"Apache-2.0"
] | null | null | null | sdk-python/swagger_client/api/__init__.py | factorialco/oas | 8a2fc3b519b7e74566c94ebd220590d7a9c38aa3 | [
"Apache-2.0"
] | null | null | null | from __future__ import absolute_import
# flake8: noqa
# import apis into api package
from swagger_client.api.core_employees_v2_api import CoreEmployeesV2Api
from swagger_client.api.core_me_api import CoreMeApi
| 26.5 | 71 | 0.858491 | 31 | 212 | 5.483871 | 0.580645 | 0.129412 | 0.2 | 0.235294 | 0.282353 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015873 | 0.108491 | 212 | 7 | 72 | 30.285714 | 0.883598 | 0.193396 | 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 | 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 | 6 |
3a2018c1c3d9adfb5fc775867665432dbf2e9712 | 46 | py | Python | tfim/core/__init__.py | c0de2eat/tf-img-models | c8e13cd11d2ad86acb42952751ace46419795555 | [
"MIT"
] | null | null | null | tfim/core/__init__.py | c0de2eat/tf-img-models | c8e13cd11d2ad86acb42952751ace46419795555 | [
"MIT"
] | null | null | null | tfim/core/__init__.py | c0de2eat/tf-img-models | c8e13cd11d2ad86acb42952751ace46419795555 | [
"MIT"
] | null | null | null | from .scheduler import *
from .utils import *
| 15.333333 | 24 | 0.73913 | 6 | 46 | 5.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 46 | 2 | 25 | 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 | 1 | 0 | 0 | 6 |
28ae62621ffd0a8ea0c7c1d968cdafd9a01578de | 7,649 | py | Python | Python/Strings/Merge_tools.py | vinayvinu500/Hackerrank | e185ae9d3c7dc5cd661761142e436f5df6a3f0f1 | [
"MIT"
] | null | null | null | Python/Strings/Merge_tools.py | vinayvinu500/Hackerrank | e185ae9d3c7dc5cd661761142e436f5df6a3f0f1 | [
"MIT"
] | null | null | null | Python/Strings/Merge_tools.py | vinayvinu500/Hackerrank | e185ae9d3c7dc5cd661761142e436f5df6a3f0f1 | [
"MIT"
] | null | null | null | # https://www.hackerrank.com/challenges/merge-the-tools/problem?h_r=internal-search
# string = 'AAABCADDE'
# kth = 3
string = 'AABCAAADA'
kth = 3
string = "KYQYTWXTDQXWDLKIXNWIITFBLIHRNGDZGVYCRXVWNUVSFFACUXMCSTFFBNWQVBQCWOEPNBOAVJUCOUGITSMNLSUOFRFAUXETNIKAJYCEJWIXSOHMGUBTOWKVPPXJOCEBKPDWNFCXDLWVZEJIALBOJLLYCIJQKOTXDW... | 177.883721 | 6,916 | 0.958557 | 127 | 7,649 | 57.661417 | 0.409449 | 0.005462 | 0.008876 | 0.005735 | 0.011334 | 0.009286 | 0.00437 | 0 | 0 | 0 | 0 | 0.001206 | 0.024186 | 7,649 | 43 | 6,917 | 177.883721 | 0.979904 | 0.014381 | 0 | 0 | 0 | 0 | 0.962819 | 0.961426 | 0 | 1 | 0 | 0 | 0 | 1 | 0.153846 | false | 0 | 0 | 0 | 0.153846 | 0.076923 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e91a04d8a5a510542749fd75b1e0a4ac5b2fddbf | 30 | py | Python | src/pyholebot/__init__.py | thiago-scherrer/pyhole-bot | 77e0c24f8da392ed6d5a5d881cafa769248b2142 | [
"Unlicense"
] | null | null | null | src/pyholebot/__init__.py | thiago-scherrer/pyhole-bot | 77e0c24f8da392ed6d5a5d881cafa769248b2142 | [
"Unlicense"
] | null | null | null | src/pyholebot/__init__.py | thiago-scherrer/pyhole-bot | 77e0c24f8da392ed6d5a5d881cafa769248b2142 | [
"Unlicense"
] | null | null | null | from .get_list import UrlList
| 15 | 29 | 0.833333 | 5 | 30 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.923077 | 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 | 1 | 0 | 0 | 6 |
e9366a87861630ec6849007c464bfe1d9cbdae63 | 20 | py | Python | web/api/performance/ui/gui/__init__.py | ff-mish/porsche_lemans | 26fc80b77b44d8e0ec756d67c37112e56ca60bf9 | [
"MIT"
] | null | null | null | web/api/performance/ui/gui/__init__.py | ff-mish/porsche_lemans | 26fc80b77b44d8e0ec756d67c37112e56ca60bf9 | [
"MIT"
] | null | null | null | web/api/performance/ui/gui/__init__.py | ff-mish/porsche_lemans | 26fc80b77b44d8e0ec756d67c37112e56ca60bf9 | [
"MIT"
] | null | null | null | from wx_gui import * | 20 | 20 | 0.8 | 4 | 20 | 3.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 20 | 1 | 20 | 20 | 0.882353 | 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 | 1 | 0 | 0 | 6 |
c915f04435d788e7b8c7b7b03fd7cfdd1fa80eac | 207 | py | Python | mangabat_dl/errors.py | mansuf/mangabat-dl | 545889d7e55a734ec1c49edebba967f3bf8e4058 | [
"Unlicense"
] | 2 | 2021-11-10T12:12:31.000Z | 2022-02-25T15:59:49.000Z | mangabat_dl/errors.py | mansuf/mangabat-dl | 545889d7e55a734ec1c49edebba967f3bf8e4058 | [
"Unlicense"
] | null | null | null | mangabat_dl/errors.py | mansuf/mangabat-dl | 545889d7e55a734ec1c49edebba967f3bf8e4058 | [
"Unlicense"
] | null | null | null | class MangaNotFound(Exception):
"""
Raised when searching manga is not found
"""
pass
class Mangabat404(Exception):
"""
Raised when the page looking for is not found
"""
pass | 18.818182 | 49 | 0.63285 | 24 | 207 | 5.458333 | 0.666667 | 0.229008 | 0.290076 | 0.21374 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020134 | 0.280193 | 207 | 11 | 50 | 18.818182 | 0.85906 | 0.415459 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
c94630fc2b5547e52a26becc6182ad6119f0518c | 133 | py | Python | nitro/util/__init__.py | HanseMerkur/nitro-python | d03eb11f492a35a2a8b2a140322fbce22d25a8f7 | [
"Apache-2.0"
] | 2 | 2020-08-24T18:04:22.000Z | 2020-08-24T18:04:47.000Z | nitro/util/__init__.py | HanseMerkur/nitro-python | d03eb11f492a35a2a8b2a140322fbce22d25a8f7 | [
"Apache-2.0"
] | null | null | null | nitro/util/__init__.py | HanseMerkur/nitro-python | d03eb11f492a35a2a8b2a140322fbce22d25a8f7 | [
"Apache-2.0"
] | null | null | null | from nitro.util.filtervalue import filtervalue
from nitro.util.nitro_util import nitro_util
__all__ = ['Filtervalue', 'nitro_util']
| 26.6 | 46 | 0.81203 | 18 | 133 | 5.611111 | 0.333333 | 0.445545 | 0.257426 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097744 | 133 | 4 | 47 | 33.25 | 0.841667 | 0 | 0 | 0 | 0 | 0 | 0.159091 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 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 | 1 | 0 | 0 | 6 |
c968b80cac52abbbd97ad86515d76e6e9d25ad9f | 238 | py | Python | tests/test_spider/__init__.py | devkral/spkbspider | 97e448b4da412acebd66c4469c7fcdd07bf90ed2 | [
"MIT"
] | 5 | 2019-06-24T14:15:54.000Z | 2021-05-14T23:16:31.000Z | tests/test_spider/__init__.py | devkral/spkbspider | 97e448b4da412acebd66c4469c7fcdd07bf90ed2 | [
"MIT"
] | 2 | 2018-06-19T09:56:18.000Z | 2018-11-20T12:02:44.000Z | tests/test_spider/__init__.py | devkral/spkbspider | 97e448b4da412acebd66c4469c7fcdd07bf90ed2 | [
"MIT"
] | null | null | null | from .components_contents import * # noqa: F403, F401
from .entity_deletion import * # noqa: F403, F401
from .features import * # noqa: F403, F401
from .management import * # noqa: F403, F401
from .tokens import * # noqa: F403, F401
| 39.666667 | 54 | 0.705882 | 32 | 238 | 5.1875 | 0.375 | 0.301205 | 0.421687 | 0.542169 | 0.53012 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15544 | 0.189076 | 238 | 5 | 55 | 47.6 | 0.704663 | 0.352941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
a32d7d9c88f9c51b77c94534b32aea15041841c5 | 22 | py | Python | psctb/analyse/_symca/__init__.py | exe0cdc/PyscesToolbox | 86937da2f86615589ead6967ff83aab88e1c21eb | [
"BSD-3-Clause"
] | 3 | 2017-07-24T16:29:03.000Z | 2018-10-04T13:29:24.000Z | psctb/analyse/_symca/__init__.py | PySCeS/PyscesToolbox | f1f7a8b901e3c32023079e0ad3e523dcf866a53c | [
"BSD-3-Clause"
] | 3 | 2015-11-03T09:52:30.000Z | 2020-08-21T08:45:33.000Z | psctb/analyse/_symca/__init__.py | exe0cdc/PyscesToolbox | 86937da2f86615589ead6967ff83aab88e1c21eb | [
"BSD-3-Clause"
] | 2 | 2016-12-08T07:44:17.000Z | 2017-09-19T07:32:45.000Z | from ._symca import *
| 11 | 21 | 0.727273 | 3 | 22 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 0.833333 | 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 | 1 | 0 | 0 | 6 |
a374cc9560468304fb9eb0f6fab069a9044b3a5c | 2,059 | py | Python | tests/test_schema_array.py | mylokin/schematec | b965afe44cd71d50367b7a9648aa41d6a6c31d21 | [
"MIT"
] | null | null | null | tests/test_schema_array.py | mylokin/schematec | b965afe44cd71d50367b7a9648aa41d6a6c31d21 | [
"MIT"
] | null | null | null | tests/test_schema_array.py | mylokin/schematec | b965afe44cd71d50367b7a9648aa41d6a6c31d21 | [
"MIT"
] | null | null | null | from __future__ import absolute_import
import pytest
import schematec.schema
import schematec.converters as converters
import schematec.validators as validators
import schematec.exc as exc
def test_empty_schema_with_empty_value():
schema = schematec.schema.array()
assert schema([]) == []
def test_empty_sc... | 26.74026 | 83 | 0.736765 | 254 | 2,059 | 5.704724 | 0.177165 | 0.134576 | 0.173913 | 0.215321 | 0.804693 | 0.766046 | 0.722567 | 0.704624 | 0.614217 | 0.541753 | 0 | 0.022624 | 0.141331 | 2,059 | 76 | 84 | 27.092105 | 0.796946 | 0 | 0 | 0.456522 | 0 | 0 | 0.010685 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 1 | 0.26087 | false | 0 | 0.130435 | 0 | 0.391304 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6eb8f4846e3ef87ffcc809d19173b706c29bee43 | 110 | py | Python | orb_simulator/orbsim_language/orbsim_ast/number_node.py | dmguezjaviersnet/IA-Sim-Comp-Project | 8165b9546efc45f98091a3774e2dae4f45942048 | [
"MIT"
] | 1 | 2022-01-19T22:49:09.000Z | 2022-01-19T22:49:09.000Z | orb_simulator/orbsim_language/orbsim_ast/number_node.py | dmguezjaviersnet/IA-Sim-Comp-Project | 8165b9546efc45f98091a3774e2dae4f45942048 | [
"MIT"
] | 15 | 2021-11-10T14:25:02.000Z | 2022-02-12T19:17:11.000Z | orb_simulator/orbsim_language/orbsim_ast/number_node.py | dmguezjaviersnet/IA-Sim-Comp-Project | 8165b9546efc45f98091a3774e2dae4f45942048 | [
"MIT"
] | null | null | null | from orbsim_language.orbsim_ast.atomic_node import AtomicNode
class NumberNode(AtomicNode):
pass
| 12.222222 | 61 | 0.772727 | 13 | 110 | 6.307692 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 110 | 8 | 62 | 13.75 | 0.911111 | 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 | 1 | 0 | 0 | 6 |
42dd4563aeaed5a509eac865c41849f21580fc20 | 45 | py | Python | aspire/envs/__init__.py | shakedhi/ASPIRE | 741644f65fe1b32a018b7ea4dc62e4d575da8103 | [
"MIT"
] | null | null | null | aspire/envs/__init__.py | shakedhi/ASPIRE | 741644f65fe1b32a018b7ea4dc62e4d575da8103 | [
"MIT"
] | null | null | null | aspire/envs/__init__.py | shakedhi/ASPIRE | 741644f65fe1b32a018b7ea4dc62e4d575da8103 | [
"MIT"
] | null | null | null | from aspire.envs.aspire_env import AspireEnv
| 22.5 | 44 | 0.866667 | 7 | 45 | 5.428571 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 45 | 1 | 45 | 45 | 0.926829 | 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 | 1 | 0 | 0 | 6 |
281f69bdb717c294b19d97571f962e883b2b88ff | 27 | py | Python | cycle/__init__.py | TylorS/cyclepy | 3a7af81006029761012e3ddac2f9717f6fa25b43 | [
"MIT"
] | 1 | 2018-10-22T15:34:56.000Z | 2018-10-22T15:34:56.000Z | cycle/__init__.py | TylorS/cyclepy | 3a7af81006029761012e3ddac2f9717f6fa25b43 | [
"MIT"
] | null | null | null | cycle/__init__.py | TylorS/cyclepy | 3a7af81006029761012e3ddac2f9717f6fa25b43 | [
"MIT"
] | null | null | null | from .cycle import run, Rx
| 13.5 | 26 | 0.740741 | 5 | 27 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185185 | 27 | 1 | 27 | 27 | 0.909091 | 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 | 1 | 0 | 0 | 6 |
284fc8df4782541de106e82e006de34d3a04dbc1 | 147 | py | Python | geophys_utils/netcdf_converter/__init__.py | GeoscienceAustralia/geophys_utils | e5580f582f3e42f347d71b140dd9213f784e2fde | [
"Apache-2.0"
] | 18 | 2018-05-16T04:46:56.000Z | 2021-04-02T13:12:46.000Z | geophys_utils/netcdf_converter/__init__.py | alex-ip/geophys_utils | 0681f6260f8fe7a9d5097fb8759a2b57c41fccc3 | [
"Apache-2.0"
] | 6 | 2018-08-06T00:38:36.000Z | 2021-11-01T01:28:49.000Z | geophys_utils/netcdf_converter/__init__.py | GeoscienceAustralia/geophys_utils | e5580f582f3e42f347d71b140dd9213f784e2fde | [
"Apache-2.0"
] | 9 | 2018-05-15T23:03:34.000Z | 2021-12-16T00:00:44.000Z | '''
Created on 13 Jun. 2018
@author: Alex Ip
'''
from geophys_utils.netcdf_converter._to_netcdf_converter import ToNetCDFConverter, NetCDFVariable | 24.5 | 97 | 0.816327 | 19 | 147 | 6.052632 | 0.894737 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 0.102041 | 147 | 6 | 97 | 24.5 | 0.825758 | 0.278912 | 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 | 1 | 0 | 0 | 6 |
289469f458e0c395154f140e739588b7d54d1bb8 | 39 | py | Python | src/qcar_perception/src/lanedetection/__init__.py | bchampp/scylla | 6ec27877cc03c200a874cd0eb25a36c866471250 | [
"MIT"
] | null | null | null | src/qcar_perception/src/lanedetection/__init__.py | bchampp/scylla | 6ec27877cc03c200a874cd0eb25a36c866471250 | [
"MIT"
] | null | null | null | src/qcar_perception/src/lanedetection/__init__.py | bchampp/scylla | 6ec27877cc03c200a874cd0eb25a36c866471250 | [
"MIT"
] | null | null | null | from .LaneDetection import LaneDetector | 39 | 39 | 0.897436 | 4 | 39 | 8.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 39 | 1 | 39 | 39 | 0.972222 | 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 | 1 | 0 | 0 | 6 |
9543139db5e722e066dbc6558adab9b0277d273b | 32 | py | Python | website/apps/activity/urls.py | bopopescu/drawquest-web | 8d8f9149b6efeb65202809a5f8916386f58a1b3b | [
"BSD-3-Clause"
] | 19 | 2015-11-10T17:36:20.000Z | 2021-04-12T07:36:00.000Z | website/apps/activity/urls.py | bopopescu/drawquest-web | 8d8f9149b6efeb65202809a5f8916386f58a1b3b | [
"BSD-3-Clause"
] | 1 | 2021-06-09T03:45:34.000Z | 2021-06-09T03:45:34.000Z | website/apps/activity/urls.py | bopopescu/drawquest-web | 8d8f9149b6efeb65202809a5f8916386f58a1b3b | [
"BSD-3-Clause"
] | 6 | 2015-11-11T00:38:38.000Z | 2020-07-25T20:10:08.000Z | from django.conf.urls import *
| 10.666667 | 30 | 0.75 | 5 | 32 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 32 | 2 | 31 | 16 | 0.888889 | 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 | 1 | 0 | 0 | 6 |
955026e8627fdd395386ad6a6aa0eb06273a05c9 | 5,324 | py | Python | tests/test_priors.py | TyXe-BDL/TyXe | 9b0a0aebb84ddd7eed2f26da967e61ad0cb79039 | [
"MIT"
] | 34 | 2021-09-29T16:16:34.000Z | 2022-03-13T00:34:29.000Z | tests/test_priors.py | TyXe-BDL/TyXe | 9b0a0aebb84ddd7eed2f26da967e61ad0cb79039 | [
"MIT"
] | 10 | 2021-09-20T21:49:55.000Z | 2022-03-01T06:25:50.000Z | tests/test_priors.py | TyXe-BDL/TyXe | 9b0a0aebb84ddd7eed2f26da967e61ad0cb79039 | [
"MIT"
] | 11 | 2021-06-17T13:31:55.000Z | 2022-02-17T05:22:55.000Z | import torch
import torch.nn as nn
import pyro.distributions as dist
from pyro.nn import PyroModule
import tyxe
def test_iid():
l = PyroModule[nn.Linear](3, 2, bias=False)
prior = tyxe.priors.IIDPrior(dist.Normal(0, 1))
prior.apply_(l)
p = l._pyro_samples["weight"]
assert isinstance(p, dist.Ind... | 35.493333 | 103 | 0.694027 | 849 | 5,324 | 4.141343 | 0.071849 | 0.056883 | 0.079636 | 0.096701 | 0.907565 | 0.907565 | 0.907565 | 0.893345 | 0.876564 | 0.866325 | 0 | 0.029877 | 0.157588 | 5,324 | 149 | 104 | 35.731544 | 0.754069 | 0 | 0 | 0.661017 | 0 | 0 | 0.054095 | 0 | 0 | 0 | 0 | 0 | 0.398305 | 1 | 0.118644 | false | 0 | 0.042373 | 0 | 0.161017 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
957d367519702a6d3a1ea27b81b687fdd34a7351 | 115 | py | Python | tests/requirements/egg-info/dephell/__init__.py | OliverHofkens/dephell | 6303f416018910668f1635b70cd828a2fd2b2d9e | [
"MIT"
] | 1,880 | 2019-03-21T10:08:25.000Z | 2022-03-31T12:41:55.000Z | tests/requirements/egg-info/dephell/__init__.py | rachmadaniHaryono/dephell | 0ef500c8f2d5f05244bac191b1b1383f68464cd2 | [
"MIT"
] | 356 | 2019-03-21T19:08:56.000Z | 2021-01-08T17:45:43.000Z | tests/requirements/egg-info/dephell/__init__.py | rachmadaniHaryono/dephell | 0ef500c8f2d5f05244bac191b1b1383f68464cd2 | [
"MIT"
] | 157 | 2019-04-23T01:13:37.000Z | 2022-03-24T22:41:18.000Z | # app
from .controllers import * # noQA
from .converters import * # noQA
from .models import Requirement # noQA
| 23 | 39 | 0.721739 | 14 | 115 | 5.928571 | 0.571429 | 0.240964 | 0.337349 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 115 | 4 | 40 | 28.75 | 0.902174 | 0.156522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 6 |
95ea69303cd9ffbfc938c0c89bd0a161793bc4c5 | 22 | py | Python | easygTTS/__init__.py | Gnome-py/py-easygTTS | cab3728d9af72f890c8c7a41bb247cd209b8d825 | [
"MIT"
] | 2 | 2021-01-06T17:45:46.000Z | 2021-06-02T20:34:57.000Z | easygTTS/__init__.py | Gnome-py/py-easygTTS | cab3728d9af72f890c8c7a41bb247cd209b8d825 | [
"MIT"
] | null | null | null | easygTTS/__init__.py | Gnome-py/py-easygTTS | cab3728d9af72f890c8c7a41bb247cd209b8d825 | [
"MIT"
] | 1 | 2021-06-02T20:34:59.000Z | 2021-06-02T20:34:59.000Z | from .gtts import gtts | 22 | 22 | 0.818182 | 4 | 22 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 22 | 1 | 22 | 22 | 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 | 1 | 0 | 0 | 6 |
95fe1dee40bbd97b2a44c93add704c92d6765f68 | 4,681 | py | Python | tests_2.py | hellofromtonya/udacity-dsand-project2 | 018bdc6c7a64fac45c367971eb169c5b911a6644 | [
"MIT"
] | null | null | null | tests_2.py | hellofromtonya/udacity-dsand-project2 | 018bdc6c7a64fac45c367971eb169c5b911a6644 | [
"MIT"
] | 2 | 2019-06-22T16:00:13.000Z | 2019-06-22T17:38:09.000Z | tests_2.py | hellofromtonya/udacity-dsand-project2 | 018bdc6c7a64fac45c367971eb169c5b911a6644 | [
"MIT"
] | 1 | 2020-03-16T23:00:18.000Z | 2020-03-16T23:00:18.000Z | #!/usr/bin/env python3
import unittest
from problem_2 import find_files
class Test_FindFiles(unittest.TestCase):
def test_should_return_empty_list_when_path_given(self):
"""
Test find_files() should return an empty list when no path is given.
"""
self.assertListEqual([], find_fil... | 34.932836 | 91 | 0.597522 | 525 | 4,681 | 5.102857 | 0.125714 | 0.095558 | 0.179171 | 0.206047 | 0.804405 | 0.788354 | 0.764838 | 0.731616 | 0.68981 | 0.68981 | 0 | 0.017914 | 0.260628 | 4,681 | 133 | 92 | 35.195489 | 0.75614 | 0.107456 | 0 | 0.554348 | 0 | 0 | 0.291161 | 0.234712 | 0 | 0 | 0 | 0 | 0.217391 | 1 | 0.065217 | false | 0 | 0.021739 | 0 | 0.097826 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 6 |
253cee39c67740cb244f318f76655a229afc85fb | 114 | py | Python | app/models.py | iflyings/flask-website | ce433869f9b93d59b50af152562debe86e3ad544 | [
"Apache-2.0"
] | null | null | null | app/models.py | iflyings/flask-website | ce433869f9b93d59b50af152562debe86e3ad544 | [
"Apache-2.0"
] | null | null | null | app/models.py | iflyings/flask-website | ce433869f9b93d59b50af152562debe86e3ad544 | [
"Apache-2.0"
] | null | null | null | from . import login_manager
@login_manager.user_loader
def load_user(user_id):
return User.get(user_id)
| 19 | 29 | 0.754386 | 18 | 114 | 4.444444 | 0.611111 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 114 | 5 | 30 | 22.8 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
c2ed56546012e2c725d7c20093deb4836a97e9f0 | 103 | py | Python | calculator.py | ddrexl/calculator | 553943d5c25a2529170d9c9cfcdd6d4b4f629297 | [
"MIT"
] | null | null | null | calculator.py | ddrexl/calculator | 553943d5c25a2529170d9c9cfcdd6d4b4f629297 | [
"MIT"
] | null | null | null | calculator.py | ddrexl/calculator | 553943d5c25a2529170d9c9cfcdd6d4b4f629297 | [
"MIT"
] | null | null | null | """
Basic math operations
"""
def add(a, b):
return a + b
def subtract(a, b):
return a - b
| 8.583333 | 21 | 0.543689 | 17 | 103 | 3.294118 | 0.529412 | 0.142857 | 0.285714 | 0.321429 | 0.357143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.300971 | 103 | 11 | 22 | 9.363636 | 0.777778 | 0.203884 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 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 | 6 |
c2fffe625666df0ccef6c8920cfab6e2c545f8cd | 7,129 | py | Python | extensions/.stubs/clrclasses/System/Runtime/CompilerServices/__init__.py | vicwjb/Pycad | 7391cd694b7a91ad9f9964ec95833c1081bc1f84 | [
"MIT"
] | 1 | 2020-03-25T03:27:24.000Z | 2020-03-25T03:27:24.000Z | extensions/.stubs/clrclasses/System/Runtime/CompilerServices/__init__.py | vicwjb/Pycad | 7391cd694b7a91ad9f9964ec95833c1081bc1f84 | [
"MIT"
] | null | null | null | extensions/.stubs/clrclasses/System/Runtime/CompilerServices/__init__.py | vicwjb/Pycad | 7391cd694b7a91ad9f9964ec95833c1081bc1f84 | [
"MIT"
] | null | null | null | from __clrclasses__.System.Runtime.CompilerServices import AccessedThroughPropertyAttribute
from __clrclasses__.System.Runtime.CompilerServices import AsyncStateMachineAttribute
from __clrclasses__.System.Runtime.CompilerServices import AsyncTaskMethodBuilder
from __clrclasses__.System.Runtime.CompilerServices import A... | 78.340659 | 92 | 0.911629 | 630 | 7,129 | 9.744444 | 0.152381 | 0.205245 | 0.293207 | 0.39583 | 0.718358 | 0.718358 | 0 | 0 | 0 | 0 | 0 | 0 | 0.050498 | 7,129 | 90 | 93 | 79.211111 | 0.906929 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
6c0b2caa7a60162f44ddf68ba500ef7a48a38e36 | 36 | py | Python | test-data/samples/hello.py | jag426/mypy | 62d3bdf1f5114a669c7499258d7e766c1a6fa640 | [
"PSF-2.0"
] | 12,496 | 2016-02-19T13:38:26.000Z | 2022-03-31T23:56:19.000Z | test-data/samples/hello.py | jag426/mypy | 62d3bdf1f5114a669c7499258d7e766c1a6fa640 | [
"PSF-2.0"
] | 9,429 | 2016-02-19T13:41:32.000Z | 2022-03-31T23:29:38.000Z | test-data/samples/hello.py | jag426/mypy | 62d3bdf1f5114a669c7499258d7e766c1a6fa640 | [
"PSF-2.0"
] | 2,770 | 2016-02-19T16:18:19.000Z | 2022-03-31T08:12:49.000Z | import typing
print('Hello, world')
| 12 | 21 | 0.75 | 5 | 36 | 5.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 2 | 22 | 18 | 0.84375 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 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 | 1 | 0 | 6 |
6c11957b011feecaf9bc264dead08e6f7a5f2c22 | 142 | py | Python | Regex/1-Introduction/Matching_Digits_Non-Digit_Characters/matching-digits-non-digit-character.py | christosg88/hackerrank | 21bc44aac842325ad0a48265658f7674984aeff2 | [
"MIT"
] | null | null | null | Regex/1-Introduction/Matching_Digits_Non-Digit_Characters/matching-digits-non-digit-character.py | christosg88/hackerrank | 21bc44aac842325ad0a48265658f7674984aeff2 | [
"MIT"
] | null | null | null | Regex/1-Introduction/Matching_Digits_Non-Digit_Characters/matching-digits-non-digit-character.py | christosg88/hackerrank | 21bc44aac842325ad0a48265658f7674984aeff2 | [
"MIT"
] | null | null | null | Regex_Pattern = r"\d\d\D\d\d\D\d\d\d\d" # Do not delete 'r'.
import re
print(str(bool(re.search(Regex_Pattern, raw_input()))).lower())
| 23.666667 | 64 | 0.640845 | 29 | 142 | 3.034483 | 0.551724 | 0.204545 | 0.272727 | 0.318182 | 0.113636 | 0.113636 | 0.113636 | 0.113636 | 0.113636 | 0 | 0 | 0 | 0.133803 | 142 | 5 | 65 | 28.4 | 0.715447 | 0.126761 | 0 | 0 | 0 | 0 | 0.17094 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
6c5678529a592cbc75c8142a742e04bdbd31c423 | 30 | py | Python | Hello_world_harsh.py | Harsh31099/Hello-World | deed25c31605c6c3516fc4951a7757aec39990d5 | [
"MIT"
] | null | null | null | Hello_world_harsh.py | Harsh31099/Hello-World | deed25c31605c6c3516fc4951a7757aec39990d5 | [
"MIT"
] | null | null | null | Hello_world_harsh.py | Harsh31099/Hello-World | deed25c31605c6c3516fc4951a7757aec39990d5 | [
"MIT"
] | null | null | null | print("Hello World by Harsh")
| 15 | 29 | 0.733333 | 5 | 30 | 4.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
6c6696a2ae5ec4e5e75fb5d9cd80848814fa4172 | 224 | py | Python | telemetry-library/telemetry/__init__.py | GamesCreatorsClub/GCC-Telemetry | fe09697ba269023c3d084299c184bfab538f4696 | [
"MIT"
] | null | null | null | telemetry-library/telemetry/__init__.py | GamesCreatorsClub/GCC-Telemetry | fe09697ba269023c3d084299c184bfab538f4696 | [
"MIT"
] | null | null | null | telemetry-library/telemetry/__init__.py | GamesCreatorsClub/GCC-Telemetry | fe09697ba269023c3d084299c184bfab538f4696 | [
"MIT"
] | null | null | null |
#
# Copyright 2019 Games Creators Club
#
# MIT License
#
from telemetry.telemetry_stream import *
from telemetry.telemetry_storage import *
from telemetry.telemetry_logger import *
from telemetry.telemetry_client import *
| 18.666667 | 41 | 0.808036 | 27 | 224 | 6.555556 | 0.518519 | 0.293785 | 0.497175 | 0.474576 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020619 | 0.133929 | 224 | 11 | 42 | 20.363636 | 0.891753 | 0.205357 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
66947d39e441f94dc7509c2d08cf3dbb0f7da5ec | 59 | py | Python | network/roca/modeling/roi_heads/__init__.py | cangumeli/ROCA | 44a08859c12bf4fdac1b17d0bb6d7e0e9bc99bf3 | [
"MIT"
] | 15 | 2022-03-23T20:38:09.000Z | 2022-03-30T02:18:20.000Z | network/roca/modeling/roi_heads/__init__.py | cangumeli/ROCA | 44a08859c12bf4fdac1b17d0bb6d7e0e9bc99bf3 | [
"MIT"
] | 1 | 2022-03-29T17:36:51.000Z | 2022-03-30T18:31:37.000Z | network/roca/modeling/roi_heads/__init__.py | cangumeli/ROCA | 44a08859c12bf4fdac1b17d0bb6d7e0e9bc99bf3 | [
"MIT"
] | 1 | 2022-03-29T12:58:41.000Z | 2022-03-29T12:58:41.000Z | from roca.modeling.roi_heads.roi_heads import ROCAROIHeads
| 29.5 | 58 | 0.881356 | 9 | 59 | 5.555556 | 0.777778 | 0.32 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067797 | 59 | 1 | 59 | 59 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 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 | 1 | 0 | 0 | 6 |
dd2600904dc3bebf4b6de3cbf7d4fce4bb04e11d | 137 | py | Python | icedata/datasets/coco/parser.py | ganesh3/icedata | 16c26ea3d8f96b99357683849d6bd363bf12a827 | [
"Apache-2.0"
] | null | null | null | icedata/datasets/coco/parser.py | ganesh3/icedata | 16c26ea3d8f96b99357683849d6bd363bf12a827 | [
"Apache-2.0"
] | 1 | 2021-09-04T19:05:40.000Z | 2021-09-04T19:05:40.000Z | icedata/datasets/coco/parser.py | ganesh3/icedata | 16c26ea3d8f96b99357683849d6bd363bf12a827 | [
"Apache-2.0"
] | null | null | null | __all__ = ["parser"]
from icevision.imports import *
from icevision.core import *
from icevision import parsers
parser = parsers.coco
| 15.222222 | 31 | 0.766423 | 17 | 137 | 5.941176 | 0.529412 | 0.386139 | 0.376238 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153285 | 137 | 8 | 32 | 17.125 | 0.87069 | 0 | 0 | 0 | 0 | 0 | 0.043796 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 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 | 1 | 0 | 0 | 6 |
06c45c4029d84d5f4770b36ea1176c43d31af3d1 | 41,809 | py | Python | fault_tolerant_flight_control_drl/tools/get_task.py | kdally/fault-tolerant-flight-control-drl | 800a1c9319b44ab2b1d17f6e19266c2392d6e57b | [
"MIT"
] | 8 | 2021-02-27T09:49:57.000Z | 2022-03-21T16:28:08.000Z | fault_tolerant_flight_control_drl/tools/get_task.py | kdally/fault-tolerant-flight-control-drl | 800a1c9319b44ab2b1d17f6e19266c2392d6e57b | [
"MIT"
] | null | null | null | fault_tolerant_flight_control_drl/tools/get_task.py | kdally/fault-tolerant-flight-control-drl | 800a1c9319b44ab2b1d17f6e19266c2392d6e57b | [
"MIT"
] | 2 | 2021-03-04T07:24:35.000Z | 2021-11-17T04:21:08.000Z | import numpy as np
import random
from abc import abstractmethod, ABC
from scipy import signal
class Task(ABC):
"""
Task class.
This allows to select various types of tasks while sharing the same base structure.
Author: Killian Dally
"""
def __init__(self):
self.time_v = None
s... | 60.243516 | 127 | 0.428831 | 5,393 | 41,809 | 3.143705 | 0.039125 | 0.1566 | 0.065117 | 0.106406 | 0.859915 | 0.847883 | 0.822225 | 0.806299 | 0.780406 | 0.758051 | 0 | 0.078603 | 0.41515 | 41,809 | 693 | 128 | 60.330447 | 0.614755 | 0.057595 | 0 | 0.612284 | 0 | 0 | 0.023317 | 0.009383 | 0.001919 | 0 | 0 | 0 | 0 | 1 | 0.069098 | false | 0.011516 | 0.007678 | 0 | 0.143954 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
06cc185071ea8084ae54e176f3ac51419b61eef6 | 118 | py | Python | src/regnet/tests/test_train.py | markrofail/multi-modal-deep-learning-for-vehicle-sensor-data-abstraction-and-attack-detection | 2f252c072f3091bb27506978dd90311f7f82f386 | [
"MIT"
] | null | null | null | src/regnet/tests/test_train.py | markrofail/multi-modal-deep-learning-for-vehicle-sensor-data-abstraction-and-attack-detection | 2f252c072f3091bb27506978dd90311f7f82f386 | [
"MIT"
] | 6 | 2020-09-25T22:41:00.000Z | 2021-06-08T21:50:37.000Z | src/regnet/tests/test_train.py | markrofail/multi-modal-deep-learning-for-vehicle-sensor-data-abstraction-and-attack-detection | 2f252c072f3091bb27506978dd90311f7f82f386 | [
"MIT"
] | null | null | null | # from src.regnet.models.train_model import train_with_params
# def test_train():
# train_with_params(epochs=1)
| 19.666667 | 61 | 0.762712 | 18 | 118 | 4.666667 | 0.722222 | 0.214286 | 0.357143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009804 | 0.135593 | 118 | 5 | 62 | 23.6 | 0.813725 | 0.923729 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
06f104df765ae5b57de24ee213ee157adbfea7c0 | 31 | py | Python | empty.py | hbzhinsa/RNN | 6e00ce6c8377ec37e68c95b2fab85e1f75f43562 | [
"MIT"
] | null | null | null | empty.py | hbzhinsa/RNN | 6e00ce6c8377ec37e68c95b2fab85e1f75f43562 | [
"MIT"
] | null | null | null | empty.py | hbzhinsa/RNN | 6e00ce6c8377ec37e68c95b2fab85e1f75f43562 | [
"MIT"
] | null | null | null | print('here is in main branch') | 31 | 31 | 0.741935 | 6 | 31 | 3.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.851852 | 0 | 0 | 0 | 0 | 0 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
6630173ed0e259e81406348f52afc1da39bf4860 | 120 | py | Python | cadquery/occ_impl/jupyter_tools.py | tvtrong/cadquery | da07216688d78a596fb687c0925b14ad7d5effc4 | [
"Apache-2.0"
] | null | null | null | cadquery/occ_impl/jupyter_tools.py | tvtrong/cadquery | da07216688d78a596fb687c0925b14ad7d5effc4 | [
"Apache-2.0"
] | 2 | 2019-12-10T23:14:17.000Z | 2021-02-03T22:29:27.000Z | cadquery/occ_impl/jupyter_tools.py | tvtrong/cadquery | da07216688d78a596fb687c0925b14ad7d5effc4 | [
"Apache-2.0"
] | null | null | null | from IPython.display import SVG
from .exporters.svg import getSVG
def display(shape):
return SVG(getSVG(shape))
| 13.333333 | 33 | 0.75 | 17 | 120 | 5.294118 | 0.588235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 120 | 8 | 34 | 15 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
b0ef5ef60ca939fdbfbfcc942b99179aea07efa5 | 9,829 | py | Python | functions/observatory/http-observatory/httpobs/tests/unittests/test_content.py | radon-h2020/radon-function-lib | 2737e006a194021f2c8e4f793f9b99abda966175 | [
"MIT"
] | null | null | null | functions/observatory/http-observatory/httpobs/tests/unittests/test_content.py | radon-h2020/radon-function-lib | 2737e006a194021f2c8e4f793f9b99abda966175 | [
"MIT"
] | 4 | 2021-02-12T09:50:38.000Z | 2021-06-17T10:33:09.000Z | functions/observatory/http-observatory/httpobs/tests/unittests/test_content.py | radon-h2020/radon-function-lib | 2737e006a194021f2c8e4f793f9b99abda966175 | [
"MIT"
] | 2 | 2021-02-22T09:29:28.000Z | 2021-06-12T13:54:18.000Z | from unittest import TestCase
from httpobs.scanner.analyzer.content import contribute, subresource_integrity
from httpobs.tests.utils import empty_requests
class TestContribute(TestCase):
def setUp(self):
self.reqs = empty_requests()
def tearDown(self):
self.reqs = None
def test_no_cont... | 37.515267 | 108 | 0.612982 | 1,046 | 9,829 | 5.618547 | 0.15392 | 0.062617 | 0.042879 | 0.085758 | 0.832908 | 0.816573 | 0.79122 | 0.759061 | 0.663774 | 0.633827 | 0 | 0.00576 | 0.240513 | 9,829 | 261 | 109 | 37.659004 | 0.781514 | 0.026452 | 0 | 0.616216 | 0 | 0.027027 | 0.50821 | 0.153227 | 0.005405 | 0 | 0 | 0 | 0.221622 | 1 | 0.108108 | false | 0.108108 | 0.016216 | 0 | 0.135135 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
b0f95106455613b324eed44dd95c1e8433f7d03a | 23 | py | Python | RLBotPack/DisasterBot/mechanic/flip/__init__.py | L0laapk3/RLBotPack | f54038475d2a57428f3784560755f96bfcf8015f | [
"MIT"
] | 13 | 2019-05-25T20:25:51.000Z | 2022-03-19T13:36:23.000Z | RLBotPack/DisasterBot/mechanic/flip/__init__.py | L0laapk3/RLBotPack | f54038475d2a57428f3784560755f96bfcf8015f | [
"MIT"
] | 53 | 2019-06-07T13:31:59.000Z | 2022-03-28T22:53:47.000Z | RLBotPack/DisasterBot/mechanic/flip/__init__.py | L0laapk3/RLBotPack | f54038475d2a57428f3784560755f96bfcf8015f | [
"MIT"
] | 78 | 2019-06-30T08:42:13.000Z | 2022-03-23T20:11:42.000Z | from .flip import Flip
| 11.5 | 22 | 0.782609 | 4 | 23 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 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 | 1 | 0 | 0 | 6 |
9fe1e990d9869279ab91f4defd070f322497e749 | 62,050 | py | Python | models/smpl_loss.py | zengwang430521/Deformable-DETR | 311842a97e3cc82a7674ce77c141a0618f62197f | [
"Apache-2.0"
] | null | null | null | models/smpl_loss.py | zengwang430521/Deformable-DETR | 311842a97e3cc82a7674ce77c141a0618f62197f | [
"Apache-2.0"
] | null | null | null | models/smpl_loss.py | zengwang430521/Deformable-DETR | 311842a97e3cc82a7674ce77c141a0618f62197f | [
"Apache-2.0"
] | null | null | null | import torch
import torch.nn as nn
from .utils import weighted_loss
# from ..registry import LOSSES
from .smpl_utils import batch_rodrigues, perspective_projection
# from ..utils.pose_utils import reconstruction_error
from .smpl.smpl import SMPL
import random
from sdf import SDFLoss
import neural_renderer as nr
import... | 52.49577 | 122 | 0.573409 | 7,802 | 62,050 | 4.247372 | 0.048193 | 0.024443 | 0.014515 | 0.016054 | 0.933701 | 0.923562 | 0.916712 | 0.908896 | 0.906301 | 0.90449 | 0 | 0.022608 | 0.304964 | 62,050 | 1,181 | 123 | 52.54022 | 0.745774 | 0.317019 | 0 | 0.693846 | 0 | 0 | 0.039257 | 0.005834 | 0 | 0 | 0 | 0 | 0.006154 | 1 | 0.032308 | false | 0.001538 | 0.013846 | 0 | 0.090769 | 0.009231 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
b057905510450ff5a4984509508a0757bc85f876 | 21 | py | Python | feature/__init__.py | wangyu09/asr_memo | e51b0232a4d3f79126d151edc61cdd02c8c68680 | [
"Apache-2.0"
] | 1 | 2020-10-02T11:15:28.000Z | 2020-10-02T11:15:28.000Z | feature/__init__.py | wangyu09/asr_memo | e51b0232a4d3f79126d151edc61cdd02c8c68680 | [
"Apache-2.0"
] | null | null | null | feature/__init__.py | wangyu09/asr_memo | e51b0232a4d3f79126d151edc61cdd02c8c68680 | [
"Apache-2.0"
] | null | null | null | from feature import * | 21 | 21 | 0.809524 | 3 | 21 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 21 | 1 | 21 | 21 | 0.944444 | 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 | 1 | 0 | 0 | 6 |
b06c19b7a62ce6139722556e829d50e9a411756c | 48 | py | Python | dungthu.py | trungdungtdct/test | c8f76e2a56835a060c856b0550ad110a9d1dd42d | [
"Apache-2.0"
] | null | null | null | dungthu.py | trungdungtdct/test | c8f76e2a56835a060c856b0550ad110a9d1dd42d | [
"Apache-2.0"
] | null | null | null | dungthu.py | trungdungtdct/test | c8f76e2a56835a060c856b0550ad110a9d1dd42d | [
"Apache-2.0"
] | 1 | 2022-01-22T17:06:46.000Z | 2022-01-22T17:06:46.000Z | print ('hello')
def cong(a,b):
return (a+b) | 12 | 16 | 0.5625 | 9 | 48 | 3 | 0.777778 | 0.148148 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208333 | 48 | 4 | 16 | 12 | 0.710526 | 0 | 0 | 0 | 0 | 0 | 0.102041 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 0.666667 | 0.333333 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
c6fc190aef28614e3851db312353ab51dd342029 | 25,428 | py | Python | sdk/storage/azure-storage-queue/azure/storage/queue/_generated/operations/_messages_operations.py | vincenttran-msft/azure-sdk-for-python | 348b56f9f03eeb3f7b502eed51daf494ffff874d | [
"MIT"
] | 1 | 2022-02-01T18:50:12.000Z | 2022-02-01T18:50:12.000Z | sdk/storage/azure-storage-queue/azure/storage/queue/_generated/operations/_messages_operations.py | vincenttran-msft/azure-sdk-for-python | 348b56f9f03eeb3f7b502eed51daf494ffff874d | [
"MIT"
] | null | null | null | sdk/storage/azure-storage-queue/azure/storage/queue/_generated/operations/_messages_operations.py | vincenttran-msft/azure-sdk-for-python | 348b56f9f03eeb3f7b502eed51daf494ffff874d | [
"MIT"
] | null | null | null | # pylint: disable=too-many-lines
# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# Code generated by Microsoft (R) AutoRe... | 46.232727 | 140 | 0.672959 | 3,023 | 25,428 | 5.48958 | 0.111148 | 0.028201 | 0.043387 | 0.020609 | 0.790057 | 0.780175 | 0.771015 | 0.759325 | 0.736366 | 0.719193 | 0 | 0.009305 | 0.218106 | 25,428 | 549 | 141 | 46.31694 | 0.82537 | 0.346626 | 0 | 0.739394 | 0 | 0 | 0.117348 | 0.020151 | 0 | 0 | 0 | 0 | 0 | 1 | 0.027273 | false | 0 | 0.030303 | 0 | 0.09697 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 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 | 6 |
05ab999d273875d14e11751612add279cbbaed4a | 124 | py | Python | ncssl_api_client/api/commands/reissue_command.py | antonku/ncssl_api_client | c463b000960d50368d39bde2a180499f1da3a29a | [
"MIT"
] | 8 | 2017-11-28T11:05:52.000Z | 2021-11-16T13:52:45.000Z | ncssl_api_client/api/commands/reissue_command.py | antonku/ncssl_api_client | c463b000960d50368d39bde2a180499f1da3a29a | [
"MIT"
] | 4 | 2018-12-23T14:52:11.000Z | 2019-08-09T21:01:44.000Z | ncssl_api_client/api/commands/reissue_command.py | antonku/ncssl_api_client | c463b000960d50368d39bde2a180499f1da3a29a | [
"MIT"
] | 2 | 2017-11-28T14:38:24.000Z | 2017-11-29T09:03:20.000Z | from ncssl_api_client.api.commands.activate_command import ActivateCommand
class ReissueCommand(ActivateCommand):
pass | 24.8 | 74 | 0.854839 | 14 | 124 | 7.357143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 124 | 5 | 75 | 24.8 | 0.919643 | 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 | 1 | 0 | 0 | 6 |
05d63f11c9e46af6ac8218ac6149c682f3667c7b | 3,911 | py | Python | vivino/geocoder/test_helpers.py | rosst/vivino-geocoder | b987161405ff292070b5794e9c4f9a15ae1a7d6d | [
"Apache-2.0"
] | 3 | 2018-08-04T13:39:29.000Z | 2021-10-17T13:11:29.000Z | vivino/geocoder/test_helpers.py | rosst/vivino-geocoder | b987161405ff292070b5794e9c4f9a15ae1a7d6d | [
"Apache-2.0"
] | null | null | null | vivino/geocoder/test_helpers.py | rosst/vivino-geocoder | b987161405ff292070b5794e9c4f9a15ae1a7d6d | [
"Apache-2.0"
] | null | null | null | import unittest
from unittest import TestCase, mock
from unittest.mock import MagicMock
from http.client import HTTPResponse
from vivino.geocoder.helpers import get_coordinates
class TestHelpers(TestCase):
@mock.patch('helpers.urllib.request.urlopen')
def test_get_coordinates_valid_json_response(self, mo... | 34.008696 | 120 | 0.608796 | 441 | 3,911 | 5.172336 | 0.195011 | 0.086804 | 0.035072 | 0.048224 | 0.886015 | 0.860149 | 0.838229 | 0.838229 | 0.838229 | 0.838229 | 0 | 0.097429 | 0.244183 | 3,911 | 114 | 121 | 34.307018 | 0.673207 | 0 | 0 | 0.569231 | 0 | 0.153846 | 0.363334 | 0.038353 | 0 | 0 | 0 | 0 | 0.076923 | 1 | 0.076923 | false | 0 | 0.123077 | 0 | 0.215385 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
05e21fe5402cbce917e3cba0f4f8fb68dc96e439 | 61 | py | Python | tests/test_utils.py | bibz/rudaux | 9db516811823490a49845235fe236d56638acd17 | [
"MIT"
] | 1 | 2020-09-10T20:36:56.000Z | 2020-09-10T20:36:56.000Z | tests/test_utils.py | bibz/rudaux | 9db516811823490a49845235fe236d56638acd17 | [
"MIT"
] | null | null | null | tests/test_utils.py | bibz/rudaux | 9db516811823490a49845235fe236d56638acd17 | [
"MIT"
] | null | null | null | import pytest
import utils
# test utils.generate_git_urls() | 12.2 | 32 | 0.803279 | 9 | 61 | 5.222222 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131148 | 61 | 5 | 32 | 12.2 | 0.886792 | 0.491803 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.