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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
23310685a20423fa17f7771c3c1a7cfb711420d5 | 102 | py | Python | organise_files/constants.py | Raamyy/Automatic-Files-Organizer | c280af5faf69284345d08d075da343ba1548948b | [
"MIT"
] | 5 | 2020-12-09T22:47:20.000Z | 2021-09-02T10:56:36.000Z | organise_files/constants.py | Raamyy/Automatic-Files-Organizer | c280af5faf69284345d08d075da343ba1548948b | [
"MIT"
] | null | null | null | organise_files/constants.py | Raamyy/Automatic-Files-Organizer | c280af5faf69284345d08d075da343ba1548948b | [
"MIT"
] | null | null | null | import os
EXTENSIONS_PICKLE_FILE_NAME = f"{os.path.dirname(os.path.abspath(__file__))}/extensions.pkl" | 51 | 92 | 0.813725 | 16 | 102 | 4.75 | 0.6875 | 0.157895 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039216 | 102 | 2 | 92 | 51 | 0.77551 | 0 | 0 | 0 | 0 | 0 | 0.572816 | 0.572816 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
234a2257c5f3234ab1a721cab853e30e4c4c549c | 483 | py | Python | tests/passes/search/generators/test_seed.py | jkalloor3/bqskit | ad34a6eae3c0e62d2bd960cd4cd841ba8e845811 | [
"BSD-3-Clause-LBNL"
] | 13 | 2021-05-26T21:32:26.000Z | 2022-03-15T17:48:10.000Z | tests/passes/search/generators/test_seed.py | jkalloor3/bqskit | ad34a6eae3c0e62d2bd960cd4cd841ba8e845811 | [
"BSD-3-Clause-LBNL"
] | 20 | 2021-05-26T20:17:15.000Z | 2022-02-27T20:04:10.000Z | tests/passes/search/generators/test_seed.py | jkalloor3/bqskit | ad34a6eae3c0e62d2bd960cd4cd841ba8e845811 | [
"BSD-3-Clause-LBNL"
] | 2 | 2021-10-05T16:00:47.000Z | 2021-10-08T01:30:06.000Z | from __future__ import annotations
from hypothesis import given
from bqskit.ir import Circuit
from bqskit.ir.gates import HGate
from bqskit.passes.search.generators import SeedLayerGenerator
from bqskit.utils.test.strategies import circuits
@given(circuits(2))
def test_seed_hash(circuit: Circuit) -> None:
hash1... | 28.411765 | 62 | 0.797101 | 61 | 483 | 6.163934 | 0.508197 | 0.106383 | 0.06383 | 0.202128 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014252 | 0.128364 | 483 | 16 | 63 | 30.1875 | 0.87886 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 1 | 0.083333 | false | 0.083333 | 0.5 | 0 | 0.583333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
23532268d6dc9a976cc5d2daba8a4928aab7c6d1 | 541 | py | Python | tests/test_const_utils.py | cnt-dev/cnt.ruleseg | 04008770a278df8a69fccf7d4f5b74e2aa16e80e | [
"MIT"
] | 5 | 2018-10-31T14:17:23.000Z | 2019-07-24T05:40:12.000Z | tests/test_const_utils.py | cnt-dev/cnt.ruleseg | 04008770a278df8a69fccf7d4f5b74e2aa16e80e | [
"MIT"
] | 11 | 2018-09-06T15:59:37.000Z | 2018-12-03T18:17:30.000Z | tests/test_const_utils.py | cnt-dev/cnt.ruleseg | 04008770a278df8a69fccf7d4f5b74e2aa16e80e | [
"MIT"
] | null | null | null | from cnt.rulebase.const import utils
def test_normalize_cjk_fullwidth_ascii():
assert '123' == utils.normalize_cjk_fullwidth_ascii('123')
assert '123' == utils.normalize_cjk_fullwidth_ascii('123')
assert '()' == utils.normalize_cjk_fullwidth_ascii('()')
def test_normalize_cjk_compatibility_ideographs()... | 30.055556 | 77 | 0.746765 | 69 | 541 | 5.434783 | 0.289855 | 0.224 | 0.226667 | 0.277333 | 0.677333 | 0.474667 | 0.245333 | 0.245333 | 0.245333 | 0 | 0 | 0.025806 | 0.140481 | 541 | 17 | 78 | 31.823529 | 0.780645 | 0 | 0 | 0 | 0 | 0 | 0.040665 | 0 | 0 | 0 | 0 | 0 | 0.545455 | 1 | 0.181818 | false | 0 | 0.090909 | 0 | 0.272727 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
235f4aaf7042a65af1fc08cee9ce536a903e2f46 | 287 | py | Python | diana/daemons/obs_dcm_dir.py | derekmerck/diana3 | 81b169fec8bdb4aa6ca8955f6381404c3e0abe99 | [
"MIT"
] | 1 | 2021-03-15T21:02:25.000Z | 2021-03-15T21:02:25.000Z | diana/daemons/obs_dcm_dir.py | derekmerck/diana3 | 81b169fec8bdb4aa6ca8955f6381404c3e0abe99 | [
"MIT"
] | null | null | null | diana/daemons/obs_dcm_dir.py | derekmerck/diana3 | 81b169fec8bdb4aa6ca8955f6381404c3e0abe99 | [
"MIT"
] | null | null | null | import attr
from libsvc.endpoint import Serializable
from libsvc.daemon import ObservableDirectory
from diana.services import DicomDirectory
@attr.s(hash=False)
class ObservableDicomDir(DicomDirectory, ObservableDirectory):
pass
Serializable.Factory.register(ObservableDicomDir)
| 22.076923 | 62 | 0.84669 | 30 | 287 | 8.1 | 0.633333 | 0.082305 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 287 | 12 | 63 | 23.916667 | 0.938224 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.125 | 0.5 | 0 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
237b3e2eb5f147025f6c44b84dd0e60c63fc0c6c | 167 | py | Python | transcription_compare/tokenizer/word_tokenizer.py | HannaHUp/transcription-compare | e25d9651e604a854acba9659602ae1ea5497169e | [
"MIT"
] | 2 | 2019-09-03T13:26:55.000Z | 2020-08-04T20:32:35.000Z | transcription_compare/tokenizer/word_tokenizer.py | HannaHUp/transcription-compare | e25d9651e604a854acba9659602ae1ea5497169e | [
"MIT"
] | null | null | null | transcription_compare/tokenizer/word_tokenizer.py | HannaHUp/transcription-compare | e25d9651e604a854acba9659602ae1ea5497169e | [
"MIT"
] | null | null | null | from .abstract_tokenizer import AbstractTokenizer
class WordTokenizer(AbstractTokenizer):
def tokenize(self, token_string):
return token_string.split()
| 20.875 | 49 | 0.778443 | 17 | 167 | 7.470588 | 0.823529 | 0.173228 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155689 | 167 | 7 | 50 | 23.857143 | 0.900709 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 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 | 0 | 1 | 0 | 0 | 0 | 4 |
88d30d7ac2c56b27a9bdf39eb7bcfc1bad5de9cf | 338 | py | Python | MatchMe-New/server/server/app/tests/combined_utils.py | joonyoungleeduke/MatchMe | 8ff6aeff06e5b8d6a83c531e9992a7b14f6fc074 | [
"MIT"
] | null | null | null | MatchMe-New/server/server/app/tests/combined_utils.py | joonyoungleeduke/MatchMe | 8ff6aeff06e5b8d6a83c531e9992a7b14f6fc074 | [
"MIT"
] | null | null | null | MatchMe-New/server/server/app/tests/combined_utils.py | joonyoungleeduke/MatchMe | 8ff6aeff06e5b8d6a83c531e9992a7b14f6fc074 | [
"MIT"
] | null | null | null | from server.app.tests import login, registration
class CombinedUtilsTestMixin(registration.RegistrationTestMixin, login.LoginTestMixin):
def register_and_login(test_client_instance, user_info):
self.register_and_verify_user(test_client_instance, user_info)
return self.login_verify_and_get_info(test_client_in... | 56.333333 | 87 | 0.860947 | 44 | 338 | 6.204545 | 0.522727 | 0.10989 | 0.197802 | 0.241758 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 338 | 6 | 88 | 56.333333 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
001ef182614c618a4af5ad7117dab3bacb5ff320 | 2,392 | py | Python | Projects/Scripts/islandTresure.py | rebcost/pythonbasico | ad3977d2915f55ad02c30ae34cfa42813b8927cf | [
"MIT"
] | null | null | null | Projects/Scripts/islandTresure.py | rebcost/pythonbasico | ad3977d2915f55ad02c30ae34cfa42813b8927cf | [
"MIT"
] | null | null | null | Projects/Scripts/islandTresure.py | rebcost/pythonbasico | ad3977d2915f55ad02c30ae34cfa42813b8927cf | [
"MIT"
] | null | null | null | print('''
*******************************************************************************
| | | |
_________|________________.=""_;=.______________|_____________________|_______
| | ,-"_,="" `"=.| |
|_______________... | 46.901961 | 155 | 0.48286 | 147 | 2,392 | 3.55102 | 0.435374 | 0.088123 | 0.126437 | 0.16092 | 0.045977 | 0.045977 | 0.045977 | 0.045977 | 0.045977 | 0.045977 | 0 | 0 | 0.259615 | 2,392 | 50 | 156 | 47.84 | 0.294749 | 0 | 0 | 0.121951 | 0 | 0.219512 | 0.828308 | 0.389866 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.219512 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
001f760701183ad86b7cc0ec6e10fec356d6ebcb | 45 | py | Python | osxphotos/_version.py | hyfen/osxphotos | e7bd80e05f94238fd41e478e32c1709b442eb361 | [
"MIT"
] | null | null | null | osxphotos/_version.py | hyfen/osxphotos | e7bd80e05f94238fd41e478e32c1709b442eb361 | [
"MIT"
] | null | null | null | osxphotos/_version.py | hyfen/osxphotos | e7bd80e05f94238fd41e478e32c1709b442eb361 | [
"MIT"
] | null | null | null | """ version info """
__version__ = "0.43.6"
| 11.25 | 22 | 0.577778 | 6 | 45 | 3.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 0.177778 | 45 | 3 | 23 | 15 | 0.486486 | 0.266667 | 0 | 0 | 0 | 0 | 0.24 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
00348c481c6efb1829fc870faf67f425efa58652 | 52 | py | Python | example/store/__init__.py | LUKKIEN/django-cms-2.0 | 0600cc1a3f3636a867faf0afe3719539fee36d69 | [
"BSD-3-Clause"
] | 1 | 2015-09-28T10:08:14.000Z | 2015-09-28T10:08:14.000Z | example/store/__init__.py | LUKKIEN/django-cms-2.0 | 0600cc1a3f3636a867faf0afe3719539fee36d69 | [
"BSD-3-Clause"
] | 1 | 2019-11-08T02:38:49.000Z | 2019-11-08T02:38:49.000Z | example/store/__init__.py | LUKKIEN/django-cms-2.0 | 0600cc1a3f3636a867faf0afe3719539fee36d69 | [
"BSD-3-Clause"
] | null | null | null | """Sample application for testing admin inlines.
""" | 26 | 48 | 0.75 | 6 | 52 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 52 | 2 | 49 | 26 | 0.847826 | 0.865385 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
003516566cd0c886cff10308ec21b44209fe7d67 | 270 | py | Python | qwikstart/repository/__init__.py | tonysyu/qwikstart | d942c486a7d4362354e95a11e3797c42a982c891 | [
"BSD-3-Clause"
] | 1 | 2020-04-10T01:55:51.000Z | 2020-04-10T01:55:51.000Z | qwikstart/repository/__init__.py | tonysyu/qwikstart | d942c486a7d4362354e95a11e3797c42a982c891 | [
"BSD-3-Clause"
] | 112 | 2019-12-24T20:04:05.000Z | 2022-01-25T19:05:20.000Z | qwikstart/repository/__init__.py | tonysyu/qwikstart | d942c486a7d4362354e95a11e3797c42a982c891 | [
"BSD-3-Clause"
] | null | null | null | from .core import OperationsList, OperationSpec
from .loaders import BaseRepoLoader, GitRepoLoader, RepoLoader, get_repo_loader
__all__ = [
"BaseRepoLoader",
"GitRepoLoader",
"OperationSpec",
"OperationsList",
"RepoLoader",
"get_repo_loader",
]
| 22.5 | 79 | 0.725926 | 23 | 270 | 8.173913 | 0.565217 | 0.287234 | 0.180851 | 0.244681 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174074 | 270 | 11 | 80 | 24.545455 | 0.843049 | 0 | 0 | 0 | 0 | 0 | 0.292593 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0051dc81d1f2a0b507156c9b388e410022d2f0cb | 295 | py | Python | anuvaad-etl/anuvaad-extractor/file-converter/src/routes/file_converter_routes.py | srihari-nagaraj/anuvaad | b09b01a033a033e97db6e404c088e0e6332053e4 | [
"MIT"
] | null | null | null | anuvaad-etl/anuvaad-extractor/file-converter/src/routes/file_converter_routes.py | srihari-nagaraj/anuvaad | b09b01a033a033e97db6e404c088e0e6332053e4 | [
"MIT"
] | null | null | null | anuvaad-etl/anuvaad-extractor/file-converter/src/routes/file_converter_routes.py | srihari-nagaraj/anuvaad | b09b01a033a033e97db6e404c088e0e6332053e4 | [
"MIT"
] | null | null | null | from flask import Blueprint
from flask_restful import Api
from resources.file_converter import FileConverter
# end-point for independent service
FILE_CONVERTER_BLUEPRINT = Blueprint("file_converter", __name__)
api = Api(FILE_CONVERTER_BLUEPRINT)
api.add_resource(FileConverter, "/convert-pdf")
| 32.777778 | 64 | 0.840678 | 38 | 295 | 6.210526 | 0.526316 | 0.220339 | 0.186441 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091525 | 295 | 8 | 65 | 36.875 | 0.880597 | 0.111864 | 0 | 0 | 0 | 0 | 0.1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0.333333 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
cc47a68551d9904b49ea91ae485838c88259008a | 102 | py | Python | djangoq_demo/order_reminder/apps.py | forance/django-q | 2b42fb173ab374760260692eda5b5445c7121e90 | [
"MIT"
] | null | null | null | djangoq_demo/order_reminder/apps.py | forance/django-q | 2b42fb173ab374760260692eda5b5445c7121e90 | [
"MIT"
] | null | null | null | djangoq_demo/order_reminder/apps.py | forance/django-q | 2b42fb173ab374760260692eda5b5445c7121e90 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class OrderReminderConfig(AppConfig):
name = 'order_reminder'
| 17 | 37 | 0.784314 | 11 | 102 | 7.181818 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 102 | 5 | 38 | 20.4 | 0.908046 | 0 | 0 | 0 | 0 | 0 | 0.137255 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
cc53b99a873542d76da847aa8225b1e455e726da | 274 | py | Python | perception/sub8_perception/sub8_vision_tools/__init__.py | ericgorday/SubjuGator | f45ac790f06eb97efc0b0810a7b43d0a6e2facee | [
"MIT"
] | 27 | 2020-02-17T21:54:09.000Z | 2022-03-18T17:49:23.000Z | perception/sub8_perception/sub8_vision_tools/__init__.py | ericgorday/SubjuGator | f45ac790f06eb97efc0b0810a7b43d0a6e2facee | [
"MIT"
] | 325 | 2019-09-11T14:13:56.000Z | 2022-03-31T00:38:30.000Z | perception/sub8_perception/sub8_vision_tools/__init__.py | ericgorday/SubjuGator | f45ac790f06eb97efc0b0810a7b43d0a6e2facee | [
"MIT"
] | 24 | 2019-09-16T00:29:45.000Z | 2022-03-06T10:56:38.000Z | # flake8: noqa
#import visual_threshold_tools #Currently broken on 16.04
import threshold_tools
from estimation import ProjectionParticleFilter
from multi_observation import MultiObservation
from marker_occ_grid import MarkerOccGrid
import machine_learning
import labelling
| 30.444444 | 57 | 0.883212 | 34 | 274 | 6.911765 | 0.705882 | 0.119149 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020243 | 0.09854 | 274 | 8 | 58 | 34.25 | 0.931174 | 0.244526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 4 |
cc91b0546382aa29e9e066db9cee89ff0f6f0e19 | 88 | py | Python | main_43/apps.py | Virtuozo123/main_43 | 66908172f9fd67c701ac3ab74e5e727fc9c6d030 | [
"Apache-2.0"
] | null | null | null | main_43/apps.py | Virtuozo123/main_43 | 66908172f9fd67c701ac3ab74e5e727fc9c6d030 | [
"Apache-2.0"
] | null | null | null | main_43/apps.py | Virtuozo123/main_43 | 66908172f9fd67c701ac3ab74e5e727fc9c6d030 | [
"Apache-2.0"
] | null | null | null | from django.apps import AppConfig
class Main43Config(AppConfig):
name = 'main_43'
| 14.666667 | 33 | 0.75 | 11 | 88 | 5.909091 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054795 | 0.170455 | 88 | 5 | 34 | 17.6 | 0.835616 | 0 | 0 | 0 | 0 | 0 | 0.079545 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
ccce59e754c87bca2370b61ad3a565b76db9e241 | 8,144 | py | Python | tests/components/test_ffmpeg.py | lupin-de-mid/home-assistant | 35f6dbc9dc0fb12d1d04837acbf09dabb325f4fe | [
"Apache-2.0"
] | 1 | 2021-01-02T14:13:46.000Z | 2021-01-02T14:13:46.000Z | tests/components/test_ffmpeg.py | lupin-de-mid/home-assistant | 35f6dbc9dc0fb12d1d04837acbf09dabb325f4fe | [
"Apache-2.0"
] | null | null | null | tests/components/test_ffmpeg.py | lupin-de-mid/home-assistant | 35f6dbc9dc0fb12d1d04837acbf09dabb325f4fe | [
"Apache-2.0"
] | null | null | null | """The tests for Home Assistant ffmpeg."""
import asyncio
from unittest.mock import patch, MagicMock
import homeassistant.components.ffmpeg as ffmpeg
from homeassistant.bootstrap import setup_component
from homeassistant.util.async import (
run_callback_threadsafe, run_coroutine_threadsafe)
from tests.common impo... | 35.719298 | 79 | 0.673379 | 978 | 8,144 | 5.333333 | 0.101227 | 0.078221 | 0.051764 | 0.044287 | 0.796204 | 0.767063 | 0.711848 | 0.688842 | 0.665261 | 0.665261 | 0 | 0.004111 | 0.223355 | 8,144 | 227 | 80 | 35.876652 | 0.820553 | 0 | 0 | 0.61745 | 0 | 0 | 0.029531 | 0.00596 | 0 | 0 | 0 | 0 | 0.33557 | 0 | null | null | 0 | 0.040268 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
aea23f3b4eac78703335c1c00f01345957ff0366 | 185 | py | Python | backend/views/help.py | y-a-r-g/idea-color-themes | c770dd14ee6cca58a5078c8885a7d8adac34965b | [
"MIT"
] | 19 | 2015-04-29T16:16:07.000Z | 2018-08-21T18:18:18.000Z | backend/views/help.py | sdvoynikov/idea-color-themes | c770dd14ee6cca58a5078c8885a7d8adac34965b | [
"MIT"
] | 2 | 2015-08-14T20:20:12.000Z | 2015-10-21T17:15:28.000Z | backend/views/help.py | sdvoynikov/idea-color-themes | c770dd14ee6cca58a5078c8885a7d8adac34965b | [
"MIT"
] | 5 | 2015-07-04T02:29:05.000Z | 2018-02-21T06:28:35.000Z | from django.shortcuts import render
from backend.views import view
__author__ = 'sdvoynikov'
@view(path=r'^help/?$')
def index(request):
return render(request, 'help/index.html') | 20.555556 | 45 | 0.740541 | 25 | 185 | 5.32 | 0.72 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.124324 | 185 | 9 | 45 | 20.555556 | 0.820988 | 0 | 0 | 0 | 0 | 0 | 0.177419 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.166667 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 4 |
aea6d245b7813eae9187c22df528848930e4c3f7 | 83 | py | Python | clifford/pga.py | rotu/clifford | 7a0a0e83be9e2b67da2681d66e8cb4ede912fa51 | [
"BSD-3-Clause"
] | null | null | null | clifford/pga.py | rotu/clifford | 7a0a0e83be9e2b67da2681d66e8cb4ede912fa51 | [
"BSD-3-Clause"
] | null | null | null | clifford/pga.py | rotu/clifford | 7a0a0e83be9e2b67da2681d66e8cb4ede912fa51 | [
"BSD-3-Clause"
] | null | null | null | from . import Cl
layout, blades = Cl(3, 0, 1,firstIdx=0)
locals().update(blades)
| 13.833333 | 39 | 0.674699 | 14 | 83 | 4 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057143 | 0.156627 | 83 | 5 | 40 | 16.6 | 0.742857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
aee1dfae6e17f73d438af17b670556176402deac | 217 | py | Python | SmartThings-Raspberry-Presence_integration-master/python_code/conf.py | DiegoAntonino/SmartThings | aad77c3db932ab21f3393830712afafac96acc85 | [
"Apache-2.0"
] | null | null | null | SmartThings-Raspberry-Presence_integration-master/python_code/conf.py | DiegoAntonino/SmartThings | aad77c3db932ab21f3393830712afafac96acc85 | [
"Apache-2.0"
] | null | null | null | SmartThings-Raspberry-Presence_integration-master/python_code/conf.py | DiegoAntonino/SmartThings | aad77c3db932ab21f3393830712afafac96acc85 | [
"Apache-2.0"
] | 1 | 2020-07-11T23:24:15.000Z | 2020-07-11T23:24:15.000Z | configuration = {
'SLEEP_TIME': 600,
'ST_IP': 'IP',
'PHONES': {
'{NAME1}': {'uuid': '{UUID}', 'status': None, 'count': 0},
'{NAME2}': {'uuid': '{UUID}', 'status': None, 'count': 0}
}
}
| 24.111111 | 66 | 0.447005 | 22 | 217 | 4.318182 | 0.636364 | 0.168421 | 0.294737 | 0.378947 | 0.505263 | 0.505263 | 0 | 0 | 0 | 0 | 0 | 0.04375 | 0.262673 | 217 | 8 | 67 | 27.125 | 0.55 | 0 | 0 | 0 | 0 | 0 | 0.364055 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 4 |
aeffe5180461b405bb425e41a08c52cbb59508d4 | 131 | py | Python | reachy_sdk/__init__.py | Pandinosaurus/reachy-sdk | c155bc8f56488de305e6fe5bacdb77aad0383295 | [
"Apache-2.0"
] | 21 | 2021-04-20T15:37:32.000Z | 2022-01-06T15:23:11.000Z | reachy_sdk/__init__.py | Pandinosaurus/reachy-sdk | c155bc8f56488de305e6fe5bacdb77aad0383295 | [
"Apache-2.0"
] | 13 | 2021-03-24T13:29:08.000Z | 2022-02-04T11:54:40.000Z | reachy_sdk/__init__.py | Pandinosaurus/reachy-sdk | c155bc8f56488de305e6fe5bacdb77aad0383295 | [
"Apache-2.0"
] | 4 | 2021-06-23T07:44:55.000Z | 2021-12-07T16:15:05.000Z | """Reachy SDK package.
Provides remote access (via socket) to a Reachy robot.
"""
from .reachy_sdk import ReachySDK # noqa: F401
| 21.833333 | 54 | 0.732824 | 19 | 131 | 5 | 0.842105 | 0.189474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027523 | 0.167939 | 131 | 5 | 55 | 26.2 | 0.844037 | 0.664122 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
4e054ff1fd10c564c04cf10fd3cad55eed7e8d76 | 80 | py | Python | merge-sort/__init__.py | 9andresc/dena | 9315905c7e597344fa2c33773bf875cdaf38021f | [
"MIT"
] | null | null | null | merge-sort/__init__.py | 9andresc/dena | 9315905c7e597344fa2c33773bf875cdaf38021f | [
"MIT"
] | 18 | 2019-01-24T21:19:11.000Z | 2019-02-08T19:25:49.000Z | merge-sort/__init__.py | 9andresc/dsna | 9315905c7e597344fa2c33773bf875cdaf38021f | [
"MIT"
] | null | null | null | from .iterative import msi as iterative
from .recursive import msr as recursive
| 26.666667 | 39 | 0.825 | 12 | 80 | 5.5 | 0.583333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 80 | 2 | 40 | 40 | 0.970588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
9d685e7e407ad456aaff63841ccc08d1a64a8f31 | 9,664 | py | Python | apps/auction/tests/test_views.py | caallondono/auction-facturedo | a9f0d55adc2a6db0165537a047b13c4d41252990 | [
"MIT"
] | null | null | null | apps/auction/tests/test_views.py | caallondono/auction-facturedo | a9f0d55adc2a6db0165537a047b13c4d41252990 | [
"MIT"
] | null | null | null | apps/auction/tests/test_views.py | caallondono/auction-facturedo | a9f0d55adc2a6db0165537a047b13c4d41252990 | [
"MIT"
] | null | null | null | from django.contrib.auth.models import User
from django.test import TestCase
from mock import patch, MagicMock
from rest_framework import status
from rest_framework.test import APIClient
from apps.auction.models import Auction, Bid
class FakeBid:
winner = False
amount = 0.0
def __init__(self, winner, a... | 41.476395 | 120 | 0.683671 | 1,233 | 9,664 | 5.17356 | 0.132198 | 0.058787 | 0.079323 | 0.066625 | 0.784135 | 0.759367 | 0.743533 | 0.702931 | 0.685687 | 0.677379 | 0 | 0.020565 | 0.204988 | 9,664 | 232 | 121 | 41.655172 | 0.80971 | 0.148903 | 0 | 0.563758 | 0 | 0 | 0.097462 | 0.024396 | 0 | 0 | 0 | 0 | 0.187919 | 1 | 0.154362 | false | 0.006711 | 0.040268 | 0.006711 | 0.261745 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
9d7230e58a10ef0a07ebd4c842c697aa588df7eb | 251 | py | Python | continuous_delivery_scripts/__init__.py | ARMmbed/continuous-delivery-scripts | 3df724ae5705c675261349ecd3ac38b0781c1d65 | [
"Apache-2.0"
] | 2 | 2021-09-10T14:01:24.000Z | 2022-02-08T10:21:27.000Z | continuous_delivery_scripts/__init__.py | acabarbaye/continuous-delivery-scripts-1 | 3df724ae5705c675261349ecd3ac38b0781c1d65 | [
"Apache-2.0"
] | 29 | 2020-11-30T10:02:57.000Z | 2022-03-29T06:14:54.000Z | continuous_delivery_scripts/__init__.py | acabarbaye/continuous-delivery-scripts-1 | 3df724ae5705c675261349ecd3ac38b0781c1d65 | [
"Apache-2.0"
] | 1 | 2021-09-10T14:01:38.000Z | 2021-09-10T14:01:38.000Z | #
# Copyright (C) 2020-2021 Arm Limited or its affiliates and Contributors. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
"""Scripts and utilities used by the CI pipeline."""
from continuous_delivery_scripts._version import __version__
| 35.857143 | 94 | 0.788845 | 35 | 251 | 5.457143 | 0.914286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 0.123506 | 251 | 6 | 95 | 41.833333 | 0.822727 | 0.701195 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 4 |
9d84bcec9c5ba79f6277bc32dabce094fdb30473 | 228 | py | Python | LPC/Django/noticias/app_noticias/admin.py | JottaF/ProjetosFacul | d9538e811fc5915692152af34c6939275f4abc27 | [
"MIT"
] | null | null | null | LPC/Django/noticias/app_noticias/admin.py | JottaF/ProjetosFacul | d9538e811fc5915692152af34c6939275f4abc27 | [
"MIT"
] | null | null | null | LPC/Django/noticias/app_noticias/admin.py | JottaF/ProjetosFacul | d9538e811fc5915692152af34c6939275f4abc27 | [
"MIT"
] | null | null | null | from django.contrib import admin
from app_noticias.models import Noticia, Pessoa, Tag, MensagemDeContato
admin.site.register(Noticia)
admin.site.register(Pessoa)
admin.site.register(Tag)
admin.site.register(MensagemDeContato)
| 25.333333 | 71 | 0.833333 | 30 | 228 | 6.3 | 0.466667 | 0.190476 | 0.359788 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074561 | 228 | 8 | 72 | 28.5 | 0.895735 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
9d9fb94af9c8223d68109c4cd7e033d1f32ac124 | 11,762 | py | Python | unbounceapi/accounts.py | YoshioHasegawa/unbounce-api | 71d360f8fc6960fcce9a0301b732e06851ba7709 | [
"MIT"
] | null | null | null | unbounceapi/accounts.py | YoshioHasegawa/unbounce-api | 71d360f8fc6960fcce9a0301b732e06851ba7709 | [
"MIT"
] | null | null | null | unbounceapi/accounts.py | YoshioHasegawa/unbounce-api | 71d360f8fc6960fcce9a0301b732e06851ba7709 | [
"MIT"
] | null | null | null | # unbounceapi/accounts.py
#*************************************************************************************
# Programmer: Yoshio Hasegawa
# Class Name: Account
# Super Class: client (unbounceapi/client.py)
#
# Revision Date Release Comment
# -------- ---------- ------------------------... | 44.218045 | 99 | 0.418466 | 983 | 11,762 | 4.933876 | 0.171923 | 0.025979 | 0.028041 | 0.03134 | 0.735258 | 0.729691 | 0.729691 | 0.711134 | 0.693402 | 0.685773 | 0 | 0.015698 | 0.306751 | 11,762 | 265 | 100 | 44.384906 | 0.579102 | 0.783455 | 0 | 0.516129 | 0 | 0 | 0.048218 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.129032 | false | 0 | 0.032258 | 0 | 0.354839 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
9dd05ad2de976c9297d043fdc346cb94921ebea2 | 168 | py | Python | Login/urls.py | Sahil1515/VeriListo | 7488df770196dc416bf5a5ef0ff29055d0154f74 | [
"MIT"
] | null | null | null | Login/urls.py | Sahil1515/VeriListo | 7488df770196dc416bf5a5ef0ff29055d0154f74 | [
"MIT"
] | null | null | null | Login/urls.py | Sahil1515/VeriListo | 7488df770196dc416bf5a5ef0ff29055d0154f74 | [
"MIT"
] | null | null | null |
from django.urls import path
from . import views
urlpatterns = [
path("",views.login, name='login'),
path("login_api",views.login_api, name='login_api'),
]
| 16.8 | 56 | 0.672619 | 23 | 168 | 4.782609 | 0.434783 | 0.218182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 168 | 9 | 57 | 18.666667 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0.137725 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
9dd0e09354784ee8a7210f33714d5102cd980ff0 | 166 | py | Python | wepay/__init__.py | wepay/signer-python | 557737fd62cfb9382dc5496aa585ff6bac5660f3 | [
"Apache-2.0"
] | null | null | null | wepay/__init__.py | wepay/signer-python | 557737fd62cfb9382dc5496aa585ff6bac5660f3 | [
"Apache-2.0"
] | 3 | 2016-08-14T04:34:42.000Z | 2017-01-05T02:39:02.000Z | wepay/__init__.py | wepay/signer-python | 557737fd62cfb9382dc5496aa585ff6bac5660f3 | [
"Apache-2.0"
] | 3 | 2016-12-27T09:13:07.000Z | 2020-12-30T10:26:32.000Z | # -*- coding: utf-8 -*-
"""
Parent namespace for WePay modules.
Copyright (c) 2015-2016 [WePay](https://wepay.com).
<http://opensource.org/licenses/Apache2.0>
"""
| 16.6 | 51 | 0.656627 | 22 | 166 | 4.954545 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075342 | 0.120482 | 166 | 9 | 52 | 18.444444 | 0.671233 | 0.933735 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d1d5617693d2e46037b1d2bd4d7d31d2cecb54c9 | 178 | py | Python | src/infras/crontab.py | antiline/video-handler | 13173025d0ae8367d7f9d66588bc40fb7dcf796a | [
"MIT"
] | null | null | null | src/infras/crontab.py | antiline/video-handler | 13173025d0ae8367d7f9d66588bc40fb7dcf796a | [
"MIT"
] | 7 | 2020-06-06T00:35:42.000Z | 2022-02-10T13:38:30.000Z | src/infras/crontab.py | antiline/video-manager | 13173025d0ae8367d7f9d66588bc40fb7dcf796a | [
"MIT"
] | null | null | null | from django.core.management import call_command
from uwsgidecorators import cron
@cron(0, -1, -1, -1, -1)
def convert_subtitle_encoding(signum: int):
call_command('check')
| 22.25 | 47 | 0.752809 | 26 | 178 | 5 | 0.692308 | 0.046154 | 0.046154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032258 | 0.129213 | 178 | 7 | 48 | 25.428571 | 0.806452 | 0 | 0 | 0 | 0 | 0 | 0.02809 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
d1ea10856c88462756f239691636299152a0e81a | 676 | py | Python | tests/sample/normalize_query_data_test.py | justjasongreen/predictive_punter | 746e13befcd950228e3807d16e5971324dbd6ca2 | [
"MIT"
] | 6 | 2018-08-28T16:26:44.000Z | 2021-04-20T17:33:44.000Z | tests/sample/normalize_query_data_test.py | predictive-punter/predictive_punter | 746e13befcd950228e3807d16e5971324dbd6ca2 | [
"MIT"
] | 39 | 2016-07-22T08:14:33.000Z | 2016-08-01T14:13:26.000Z | tests/sample/normalize_query_data_test.py | predictive-punter/predictive_punter | 746e13befcd950228e3807d16e5971324dbd6ca2 | [
"MIT"
] | 2 | 2016-12-15T06:03:57.000Z | 2020-01-13T14:25:11.000Z | def test_len(sample):
"""The normalized_query_data property should return a list of the same length as raw_query_data"""
assert len(sample.normalized_query_data) == len(sample['raw_query_data'])
def test_none_values(sample):
"""The normalized_query_data property should return a list that does not contain... | 35.578947 | 103 | 0.755917 | 101 | 676 | 4.841584 | 0.376238 | 0.165644 | 0.233129 | 0.204499 | 0.404908 | 0.294479 | 0.294479 | 0.294479 | 0.216769 | 0.216769 | 0 | 0.00177 | 0.164201 | 676 | 18 | 104 | 37.555556 | 0.863717 | 0.37426 | 0 | 0 | 0 | 0 | 0.034398 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.375 | false | 0 | 0 | 0 | 0.375 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
06153a0f71184c2f7d8bc54706beee9d0e6d1573 | 293 | py | Python | easy_select2/__init__.py | ms-boom/django-easy-select2 | b9f0d0f141725f59cf2ad1364e5e18281fef055b | [
"MIT"
] | 186 | 2015-01-01T19:12:26.000Z | 2022-03-26T16:30:50.000Z | easy_select2/__init__.py | ms-boom/django-easy-select2 | b9f0d0f141725f59cf2ad1364e5e18281fef055b | [
"MIT"
] | 83 | 2015-01-23T16:19:18.000Z | 2022-02-13T16:18:46.000Z | easy_select2/__init__.py | mikekeda/django-easy-select2 | 2f79e2e012cb0c0323dddf40d0f1431917cc4592 | [
"MIT"
] | 37 | 2015-02-17T04:58:40.000Z | 2021-12-18T08:41:57.000Z | from easy_select2.utils import apply_select2, select2_modelform, select2_modelform_meta
from easy_select2.widgets import Select2, Select2Mixin, Select2Multiple
__all__ = ['Select2', 'Select2Mixin', 'Select2Multiple', 'apply_select2',
'select2_modelform', 'select2_modelform_meta']
| 48.833333 | 87 | 0.802048 | 31 | 293 | 7.129032 | 0.387097 | 0.289593 | 0.135747 | 0.253394 | 0.434389 | 0.434389 | 0.434389 | 0 | 0 | 0 | 0 | 0.05364 | 0.109215 | 293 | 5 | 88 | 58.6 | 0.793103 | 0 | 0 | 0 | 0 | 0 | 0.293515 | 0.075085 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
ae21b9fcff91efc50fd46855146e651b38859ed0 | 70 | py | Python | tests/package-templates/python_source/MOCKNAME/core.py | immersionroom/vee | 2c6f781dc96e9028f2446777b906ca37dc2f4299 | [
"BSD-3-Clause"
] | 6 | 2017-11-05T02:44:10.000Z | 2021-07-14T19:10:56.000Z | tests/package-templates/python_source/MOCKNAME/core.py | immersionroom/vee | 2c6f781dc96e9028f2446777b906ca37dc2f4299 | [
"BSD-3-Clause"
] | null | null | null | tests/package-templates/python_source/MOCKNAME/core.py | immersionroom/vee | 2c6f781dc96e9028f2446777b906ca37dc2f4299 | [
"BSD-3-Clause"
] | 1 | 2017-01-31T23:10:09.000Z | 2017-01-31T23:10:09.000Z |
def echo():
print('MOCKNAME:MOCKREVNO')
def main():
echo()
| 8.75 | 31 | 0.571429 | 8 | 70 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.242857 | 70 | 7 | 32 | 10 | 0.754717 | 0 | 0 | 0 | 0 | 0 | 0.264706 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.25 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ae79f917b0bee4692b0c67399105dff47db9b1fb | 419 | py | Python | pinky/node/client.py | dr4ke616/pinky | 35c165f5a1d410be467621f3152df1dbf458622a | [
"MIT"
] | 1 | 2016-04-01T16:24:09.000Z | 2016-04-01T16:24:09.000Z | pinky/node/client.py | dr4ke616/pinky | 35c165f5a1d410be467621f3152df1dbf458622a | [
"MIT"
] | 1 | 2021-04-30T20:32:48.000Z | 2021-04-30T20:32:48.000Z | pinky/node/client.py | dr4ke616/pinky | 35c165f5a1d410be467621f3152df1dbf458622a | [
"MIT"
] | null | null | null | from zope.interface import implementer
from pinky.core.base import BaseClient
from pinky.core.interfaces import IStorage
@implementer(IStorage)
class NodeClient(BaseClient):
def ping(self, timeout):
return self.send_message('ping', timeout=timeout)
def sync(self, data):
return self.send_mes... | 23.277778 | 57 | 0.73031 | 53 | 419 | 5.679245 | 0.45283 | 0.099668 | 0.139535 | 0.209302 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174224 | 419 | 17 | 58 | 24.647059 | 0.869942 | 0 | 0 | 0 | 0 | 0 | 0.050119 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0.272727 | 0.272727 | 0.909091 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
8834b8119d175b4b094b976304b5b9c980f4b0f3 | 920 | py | Python | services/traction/acapy_wrapper/models/mediation_grant.py | Open-Earth-Foundation/traction | 908b555a7f408a88541b7692d3730e37a297c919 | [
"Apache-2.0"
] | 12 | 2022-01-29T20:30:03.000Z | 2022-03-29T11:46:14.000Z | services/traction/acapy_wrapper/models/mediation_grant.py | Open-Earth-Foundation/traction | 908b555a7f408a88541b7692d3730e37a297c919 | [
"Apache-2.0"
] | 38 | 2021-11-22T17:52:50.000Z | 2022-03-31T17:52:00.000Z | services/traction/acapy_wrapper/models/mediation_grant.py | Open-Earth-Foundation/traction | 908b555a7f408a88541b7692d3730e37a297c919 | [
"Apache-2.0"
] | 9 | 2021-11-22T18:05:48.000Z | 2022-03-29T11:25:08.000Z | # coding: utf-8
from __future__ import annotations
from datetime import date, datetime # noqa: F401
import re # noqa: F401
from typing import Any, Dict, List, Optional # noqa: F401
from pydantic import AnyUrl, BaseModel, EmailStr, validator # noqa: F401
class MediationGrant(BaseModel):
"""NOTE: This class ... | 28.75 | 96 | 0.711957 | 116 | 920 | 5.568966 | 0.465517 | 0.049536 | 0.123839 | 0.173375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017808 | 0.206522 | 920 | 31 | 97 | 29.677419 | 0.867123 | 0.503261 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.454545 | 0 | 0.909091 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
886d74e3afacbb2cb241b6f3259b1d285c81b440 | 86 | py | Python | tools/ffmpeg/mp.py | AnantTiwari-Naman/pyglet | 4774f2889057da95a78785a69372112931e6a620 | [
"BSD-3-Clause"
] | 1,160 | 2019-06-13T11:51:40.000Z | 2022-03-31T01:55:32.000Z | tools/ffmpeg/mp.py | AnantTiwari-Naman/pyglet | 4774f2889057da95a78785a69372112931e6a620 | [
"BSD-3-Clause"
] | 491 | 2019-07-14T16:13:11.000Z | 2022-03-31T08:04:32.000Z | tools/ffmpeg/mp.py | AnantTiwari-Naman/pyglet | 4774f2889057da95a78785a69372112931e6a620 | [
"BSD-3-Clause"
] | 316 | 2019-06-14T13:56:48.000Z | 2022-03-30T19:26:58.000Z | """alias for configure.py"""
import configure
configure.dispatch_subcommand("mp.py")
| 17.2 | 38 | 0.767442 | 11 | 86 | 5.909091 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081395 | 86 | 4 | 39 | 21.5 | 0.822785 | 0.255814 | 0 | 0 | 0 | 0 | 0.086207 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
88783acb1caeac7acd19d97a53ab67ce6ec7430b | 82 | py | Python | seq2sql_prototype/seq2sql_prototype/__init__.py | akanimax/NLP2SQL | 3a136f75621cc94076b981a50f18d5a459185271 | [
"MIT"
] | 11 | 2017-09-07T15:35:26.000Z | 2021-08-16T03:49:00.000Z | seq2sql_prototype/seq2sql_prototype/__init__.py | akanimax/NLP2SQL | 3a136f75621cc94076b981a50f18d5a459185271 | [
"MIT"
] | 1 | 2017-12-19T09:39:16.000Z | 2018-07-18T07:03:06.000Z | seq2sql_prototype/seq2sql_prototype/__init__.py | akanimax/NLP2SQL | 3a136f75621cc94076b981a50f18d5a459185271 | [
"MIT"
] | 5 | 2017-10-23T05:48:16.000Z | 2020-06-05T10:41:00.000Z | # coding: utf-8
"""
Init for Seq2Sql_prototype quepy.
"""
from primary import *
| 10.25 | 33 | 0.682927 | 11 | 82 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029851 | 0.182927 | 82 | 7 | 34 | 11.714286 | 0.791045 | 0.585366 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
887e5871234b3d8af5efa6476035c1172166192d | 54 | py | Python | hacks/1.py | shilpasayura/python | 8f3b2432f972c9aeb4b04e2141ea4abf2437762c | [
"MIT"
] | 1 | 2021-10-07T15:15:01.000Z | 2021-10-07T15:15:01.000Z | hacks/1.py | shilpasayura/python | 8f3b2432f972c9aeb4b04e2141ea4abf2437762c | [
"MIT"
] | null | null | null | hacks/1.py | shilpasayura/python | 8f3b2432f972c9aeb4b04e2141ea4abf2437762c | [
"MIT"
] | null | null | null | #command used to print something
print("Hello world")
| 18 | 32 | 0.777778 | 8 | 54 | 5.25 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12963 | 54 | 2 | 33 | 27 | 0.893617 | 0.574074 | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
8887f718cb111587d61420c108374244a4b0309d | 145 | py | Python | ch01/15-frequent-long-words.py | prinsmike/nltk_book | 6badfa2e82cba7fc4f869a6c2c4922737ace8543 | [
"Apache-2.0"
] | 2 | 2015-01-06T11:37:18.000Z | 2015-11-07T11:14:02.000Z | ch01/15-frequent-long-words.py | prinsmike/nltk_book | 6badfa2e82cba7fc4f869a6c2c4922737ace8543 | [
"Apache-2.0"
] | null | null | null | ch01/15-frequent-long-words.py | prinsmike/nltk_book | 6badfa2e82cba7fc4f869a6c2c4922737ace8543 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python2.7
from nltk.book import *
fdist5 = FreqDist(text5)
print sorted([w for w in set(text5) if len(w) > 7 and fdist5[w] > 7]) | 24.166667 | 69 | 0.675862 | 28 | 145 | 3.5 | 0.75 | 0.040816 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066116 | 0.165517 | 145 | 6 | 69 | 24.166667 | 0.743802 | 0.158621 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.333333 | null | null | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
ee50a51b317a6e2f63a9ee6799f91f499beecf73 | 96 | py | Python | boringproxy_api/__init__.py | OPHoperHPO/boringproxy_api | 91dfdc7e0c01dba50f6ee51d4a9aced4bfbce58c | [
"MIT"
] | null | null | null | boringproxy_api/__init__.py | OPHoperHPO/boringproxy_api | 91dfdc7e0c01dba50f6ee51d4a9aced4bfbce58c | [
"MIT"
] | null | null | null | boringproxy_api/__init__.py | OPHoperHPO/boringproxy_api | 91dfdc7e0c01dba50f6ee51d4a9aced4bfbce58c | [
"MIT"
] | null | null | null | from .client import Client, ClientConfig
from .api import WebAPI
from .ssh_tunnel import Tunnel
| 24 | 40 | 0.822917 | 14 | 96 | 5.571429 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135417 | 96 | 3 | 41 | 32 | 0.939759 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
ee82975a9fe719484c45f8241c067849bba6bfd8 | 87 | py | Python | escala/apps.py | renannoronha/iasd | 2fd94af8c08cf16ae028f587e35431b99a64ec57 | [
"MIT"
] | null | null | null | escala/apps.py | renannoronha/iasd | 2fd94af8c08cf16ae028f587e35431b99a64ec57 | [
"MIT"
] | null | null | null | escala/apps.py | renannoronha/iasd | 2fd94af8c08cf16ae028f587e35431b99a64ec57 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class EscalaConfig(AppConfig):
name = 'escala'
| 14.5 | 33 | 0.747126 | 10 | 87 | 6.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 87 | 5 | 34 | 17.4 | 0.902778 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
c99b6693d4e515eef22c15cfd343677d0aea26f9 | 211 | py | Python | tests/urls.py | KaczuH/django-getpaid-dotpay | 69acb7398b88f3908be55a9eb59afa832ddb5062 | [
"MIT"
] | 3 | 2019-09-01T21:39:55.000Z | 2019-09-28T17:24:24.000Z | tests/urls.py | KaczuH/django-getpaid-dotpay | 69acb7398b88f3908be55a9eb59afa832ddb5062 | [
"MIT"
] | 1 | 2019-12-23T12:19:14.000Z | 2019-12-23T12:19:14.000Z | tests/urls.py | KaczuH/django-getpaid-dotpay | 69acb7398b88f3908be55a9eb59afa832ddb5062 | [
"MIT"
] | 2 | 2019-12-23T12:19:31.000Z | 2020-11-19T10:21:18.000Z | # -*- coding: utf-8 -*-
from __future__ import absolute_import, unicode_literals
from django.conf.urls import include, url
urlpatterns = [url(r"^", include("getpaid_dotpay.urls", namespace="getpaid_dotpay"))]
| 30.142857 | 85 | 0.748815 | 27 | 211 | 5.555556 | 0.703704 | 0.173333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005291 | 0.104265 | 211 | 6 | 86 | 35.166667 | 0.78836 | 0.099526 | 0 | 0 | 0 | 0 | 0.180851 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
c9a78cc85e53181527ac967e531a68925628dedf | 173 | py | Python | snipping/utils/strutil.py | yittg/Snipping | 99962214e81ed4a0a02b9cc01f7faa5cb702e39b | [
"MIT"
] | 4 | 2016-02-16T10:25:35.000Z | 2016-11-30T06:11:05.000Z | snipping/utils/strutil.py | yittg/Snipping | 99962214e81ed4a0a02b9cc01f7faa5cb702e39b | [
"MIT"
] | 2 | 2016-02-16T10:23:52.000Z | 2016-02-16T15:42:32.000Z | snipping/utils/strutil.py | yittg/Snipping | 99962214e81ed4a0a02b9cc01f7faa5cb702e39b | [
"MIT"
] | null | null | null | """String util
"""
import six
def ensure_text(s):
if isinstance(s, six.string_types) and not isinstance(s, six.text_type):
s = s.decode('utf-8')
return s
| 15.727273 | 76 | 0.635838 | 28 | 173 | 3.821429 | 0.642857 | 0.205607 | 0.261682 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007407 | 0.219653 | 173 | 10 | 77 | 17.3 | 0.785185 | 0.063584 | 0 | 0 | 0 | 0 | 0.032258 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
c9afd784b8a5d249dfe990b80346ec2170a0ff59 | 99 | py | Python | python/testData/refactoring/extractmethod/DuplicateSingleLine.after.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/refactoring/extractmethod/DuplicateSingleLine.after.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/refactoring/extractmethod/DuplicateSingleLine.after.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | def bar():
a = foo()
print a
a = foo()
print a
def foo():
a = 1
return a
| 9 | 13 | 0.414141 | 16 | 99 | 2.5625 | 0.4375 | 0.195122 | 0.439024 | 0.487805 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018519 | 0.454545 | 99 | 10 | 14 | 9.9 | 0.740741 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.25 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c9b8db8d760c79713908a0c6a9a92ab3732a9c0f | 2,421 | py | Python | linuxClient/demo1/contentprovider1.py | HsingPeng/ExtendBinderExperiment | 10a8d15e1640396dd7f351a9d146f182432955fb | [
"MIT"
] | null | null | null | linuxClient/demo1/contentprovider1.py | HsingPeng/ExtendBinderExperiment | 10a8d15e1640396dd7f351a9d146f182432955fb | [
"MIT"
] | null | null | null | linuxClient/demo1/contentprovider1.py | HsingPeng/ExtendBinderExperiment | 10a8d15e1640396dd7f351a9d146f182432955fb | [
"MIT"
] | null | null | null | import logging
import extend.binder as binder
import extend.android_componment as android
class ContentProvider1(android.ContentProvider):
def __init__(self, looper):
android.ContentProvider.__init__(self, '/contentprovider1', looper)
def onCreate(self):
pass
def delete(self, uri, selecti... | 19.214286 | 75 | 0.619992 | 252 | 2,421 | 5.888889 | 0.289683 | 0.09434 | 0.078841 | 0.080189 | 0.032345 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005893 | 0.29905 | 2,421 | 125 | 76 | 19.368 | 0.868592 | 0 | 0 | 0.383721 | 0 | 0 | 0.022305 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.453488 | false | 0.139535 | 0.034884 | 0.255814 | 0.802326 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
c9bdb337bd8c75d1575e5fda72eef3e649e21e4d | 326 | py | Python | chinamacroItem.py | smile-day-net/ChinaMacroLeverageRatio | 105d72f839cd2a36f33acd348967e0cda95fa933 | [
"Apache-2.0"
] | null | null | null | chinamacroItem.py | smile-day-net/ChinaMacroLeverageRatio | 105d72f839cd2a36f33acd348967e0cda95fa933 | [
"Apache-2.0"
] | null | null | null | chinamacroItem.py | smile-day-net/ChinaMacroLeverageRatio | 105d72f839cd2a36f33acd348967e0cda95fa933 | [
"Apache-2.0"
] | null | null | null | # -*- coding:utf-8 -*-
class ChinaMacroItem(object):
def __init__(self, site_name, site_sort, content):
self.site_name = site_name
self.site_sort = site_sort
self.content = content
def __str__(self):
return f"sitename:{self.site_name},sitesort:{self.site_sort},content:{self.cont... | 32.6 | 92 | 0.668712 | 43 | 326 | 4.697674 | 0.418605 | 0.19802 | 0.178218 | 0.158416 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003831 | 0.199387 | 326 | 9 | 93 | 36.222222 | 0.770115 | 0.06135 | 0 | 0 | 0 | 0 | 0.243421 | 0.243421 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.142857 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 4 |
c9eca1f3fe904c8f44add822ae0d8c35ecbdcdae | 154 | py | Python | ciman/cli/main.py | joaompinto/ciman | ff52be0fe6509208e720c51d9416641153a0a4dc | [
"MIT"
] | null | null | null | ciman/cli/main.py | joaompinto/ciman | ff52be0fe6509208e720c51d9416641153a0a4dc | [
"MIT"
] | null | null | null | ciman/cli/main.py | joaompinto/ciman | ff52be0fe6509208e720c51d9416641153a0a4dc | [
"MIT"
] | null | null | null | state = {"verbose": False}
def main(verbose: bool = False):
"""
Manage container images
"""
if verbose:
state["verbose"] = True
| 15.4 | 32 | 0.558442 | 16 | 154 | 5.375 | 0.6875 | 0.27907 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.292208 | 154 | 9 | 33 | 17.111111 | 0.788991 | 0.149351 | 0 | 0 | 0 | 0 | 0.121739 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c9f29a0b4a85ba6a5a69abd2b65e6731c084c7c2 | 196 | py | Python | yt-banner.py | Loli1337/yt-banner | f62438e693a1851e96d0197bf11ada7351f5efa3 | [
"MIT"
] | null | null | null | yt-banner.py | Loli1337/yt-banner | f62438e693a1851e96d0197bf11ada7351f5efa3 | [
"MIT"
] | null | null | null | yt-banner.py | Loli1337/yt-banner | f62438e693a1851e96d0197bf11ada7351f5efa3 | [
"MIT"
] | 1 | 2021-08-30T23:58:58.000Z | 2021-08-30T23:58:58.000Z | from requests import get
from re import search
from sys import argv
open('channels4_banner.png', 'wb').write(get(search('https://yt3.ggpht.com/[^=]+=w2560', get(argv[1]).text).group()).content) | 49 | 125 | 0.714286 | 31 | 196 | 4.483871 | 0.741935 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039106 | 0.086735 | 196 | 4 | 125 | 49 | 0.73743 | 0 | 0 | 0 | 0 | 0 | 0.283505 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
a01cf4e98f591feacb9da658c5b8eaf4cdfffc00 | 269 | py | Python | tap/api_resources/charge.py | obytes/tap-python | bc119cb785dc353f0c67241a64d9fcb30f21fbf7 | [
"MIT"
] | 3 | 2019-05-28T16:19:57.000Z | 2022-03-05T13:16:43.000Z | tap/api_resources/charge.py | obytes/tap-python | bc119cb785dc353f0c67241a64d9fcb30f21fbf7 | [
"MIT"
] | 2 | 2019-07-02T21:45:09.000Z | 2019-07-03T13:55:54.000Z | tap/api_resources/charge.py | obytes/tap-python | bc119cb785dc353f0c67241a64d9fcb30f21fbf7 | [
"MIT"
] | null | null | null | from .abstract import ListeableAPIResource
from .abstract import UpdateableAPIResource
from .abstract import CreateableAPIResource
class Charge(CreateableAPIResource,
UpdateableAPIResource,
ListeableAPIResource):
OBJECT_NAME = 'charge'
| 24.454545 | 43 | 0.765799 | 20 | 269 | 10.25 | 0.5 | 0.17561 | 0.263415 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.193309 | 269 | 10 | 44 | 26.9 | 0.9447 | 0 | 0 | 0 | 0 | 0 | 0.022305 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.428571 | 0 | 0.714286 | 0 | 1 | 0 | 1 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
4e5f68e2f5f39e41e80e86a86b7619397d7e54c5 | 321 | py | Python | tests/unit/mocks/fake_logger.py | fgsalomon/petisco | 1aa53c67a43b80dca18000fd843380904c25edbb | [
"MIT"
] | null | null | null | tests/unit/mocks/fake_logger.py | fgsalomon/petisco | 1aa53c67a43b80dca18000fd843380904c25edbb | [
"MIT"
] | null | null | null | tests/unit/mocks/fake_logger.py | fgsalomon/petisco | 1aa53c67a43b80dca18000fd843380904c25edbb | [
"MIT"
] | null | null | null | from petisco.logger.interface_logger import ILogger
class FakeLogger(ILogger):
def __init__(self):
self.logging_messages = []
def log(self, logging_level, message):
self.logging_messages.append((logging_level, message))
def get_logging_messages(self):
return self.logging_messages... | 24.692308 | 62 | 0.722741 | 38 | 321 | 5.789474 | 0.5 | 0.2 | 0.259091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190031 | 321 | 12 | 63 | 26.75 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0.125 | 0.125 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
4e6f94597ffece5193ebbd2d67ead9740e248477 | 64,809 | py | Python | src/dovado_rtl/antlr/old_generated/Verilog2001/Verilog2001Visitor.py | DavideConficconi/dovado | 60abf088d301cbb96660238a4f39ea2fe5cbbb18 | [
"MIT"
] | 12 | 2020-08-18T16:00:04.000Z | 2022-02-23T00:05:53.000Z | src/dovado_rtl/antlr/old_generated/Verilog2001/Verilog2001Visitor.py | DavideConficconi/dovado | 60abf088d301cbb96660238a4f39ea2fe5cbbb18 | [
"MIT"
] | 1 | 2022-02-28T12:57:18.000Z | 2022-02-28T14:04:49.000Z | src/dovado_rtl/antlr/old_generated/Verilog2001/Verilog2001Visitor.py | DavideConficconi/dovado | 60abf088d301cbb96660238a4f39ea2fe5cbbb18 | [
"MIT"
] | 2 | 2021-09-24T11:47:36.000Z | 2021-12-17T07:58:34.000Z | # Generated from Verilog2001.g4 by ANTLR 4.8
from antlr4 import *
if __name__ is not None and "." in __name__:
from .Verilog2001Parser import Verilog2001Parser
else:
from Verilog2001Parser import Verilog2001Parser
# This class defines a complete generic visitor for a parse tree produced by Verilog2001Parser.
... | 41.597561 | 131 | 0.79384 | 7,156 | 64,809 | 6.971632 | 0.060229 | 0.037283 | 0.062138 | 0.111848 | 0.706789 | 0.61723 | 0.574034 | 0.566257 | 0.565295 | 0.565295 | 0 | 0.046329 | 0.148714 | 64,809 | 1,558 | 132 | 41.597561 | 0.857933 | 0.333441 | 0 | 0.4944 | 1 | 0 | 0.000023 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4944 | false | 0.0064 | 0.0048 | 0.4944 | 0.9952 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
4ea102e84142f8c8f1b327e5b1b3d88795306499 | 3,941 | py | Python | numpy/f2py/tests/test_parameter.py | aktech/numpy | 7ca1d1ad0dc86f0d20414c946eb2b6e8dc19c367 | [
"BSD-3-Clause"
] | 1 | 2021-10-15T15:45:30.000Z | 2021-10-15T15:45:30.000Z | numpy/f2py/tests/test_parameter.py | aktech/numpy | 7ca1d1ad0dc86f0d20414c946eb2b6e8dc19c367 | [
"BSD-3-Clause"
] | 30 | 2021-06-14T20:12:17.000Z | 2021-11-08T00:35:29.000Z | numpy/f2py/tests/test_parameter.py | asmeurer/numpy | 7ca1d1ad0dc86f0d20414c946eb2b6e8dc19c367 | [
"BSD-3-Clause"
] | null | null | null | import os
import pytest
import numpy as np
from numpy.testing import assert_raises, assert_equal
from . import util
class TestParameters(util.F2PyTest):
# Check that intent(in out) translates as intent(inout)
sources = [
util.getpath("tests", "src", "parameter", "constant_real.f90"),
util.ge... | 34.570175 | 79 | 0.610759 | 571 | 3,941 | 4.094571 | 0.119089 | 0.021814 | 0.065441 | 0.065441 | 0.865697 | 0.836612 | 0.8071 | 0.687767 | 0.661249 | 0.636441 | 0 | 0.048238 | 0.25831 | 3,941 | 113 | 80 | 34.876106 | 0.751625 | 0.156813 | 0 | 0.378378 | 0 | 0 | 0.055993 | 0.013923 | 0 | 0 | 0 | 0 | 0.243243 | 1 | 0.121622 | false | 0 | 0.067568 | 0 | 0.216216 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4ed63240f45a34cd5cfa0dd5d00c74ef854b0637 | 285 | py | Python | decorators4DS/__init__.py | urigoren/decorators4DS | 4ef0441234bc3ccc165b5f006bc986a516c457fd | [
"MIT"
] | 18 | 2018-05-29T08:11:22.000Z | 2022-02-21T08:33:43.000Z | decorators4DS/__init__.py | urigoren/pycon2017IL | 4ef0441234bc3ccc165b5f006bc986a516c457fd | [
"MIT"
] | null | null | null | decorators4DS/__init__.py | urigoren/pycon2017IL | 4ef0441234bc3ccc165b5f006bc986a516c457fd | [
"MIT"
] | 3 | 2017-06-12T17:41:32.000Z | 2017-07-20T18:10:41.000Z | from .errors import log_error, slack_error
from .ssh import ssh_connect
from .pyspark_udf import udf as pyspark_udf
from .fs_cache import s3_cache, json_file, pickle_file
from .timeout import time_limit
from .regres_test import regress
from .sklearn_dec import SKTransform, SKClassify
| 35.625 | 54 | 0.842105 | 46 | 285 | 4.956522 | 0.586957 | 0.087719 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003984 | 0.119298 | 285 | 7 | 55 | 40.714286 | 0.904382 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 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 | 4 |
14cbbbe153ede03c5fe6955158717dceab02567a | 63 | py | Python | example1/01/main.py | SasuraiNoHoge/Kivy_practice | c046660cb3f3b9180dec9d65e2cd74347c6636c9 | [
"MIT"
] | 4 | 2017-09-23T15:03:17.000Z | 2020-12-05T22:06:20.000Z | example1/01/main.py | SasuraiNoHoge/Kivy_practice | c046660cb3f3b9180dec9d65e2cd74347c6636c9 | [
"MIT"
] | 1 | 2020-03-10T21:54:25.000Z | 2020-03-10T21:54:25.000Z | example1/01/main.py | SasuraiNoHoge/Kivy_practice | c046660cb3f3b9180dec9d65e2cd74347c6636c9 | [
"MIT"
] | 7 | 2017-11-17T02:38:18.000Z | 2021-09-26T14:23:58.000Z | #-*- coding: utf-8 -*-
from kivy.app import App
App().run()
| 9 | 24 | 0.571429 | 10 | 63 | 3.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019608 | 0.190476 | 63 | 6 | 25 | 10.5 | 0.686275 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
14e465cf8237d92ad917054695b6550b1baf01b6 | 275 | py | Python | inspyre_toolbox/clipman/gui/windows/__init__.py | tayjaybabee/Inspyre-Toolbox.clipman | 329538e34d284191a565a06f91a7345892ee0aa7 | [
"MIT"
] | null | null | null | inspyre_toolbox/clipman/gui/windows/__init__.py | tayjaybabee/Inspyre-Toolbox.clipman | 329538e34d284191a565a06f91a7345892ee0aa7 | [
"MIT"
] | 3 | 2021-11-06T09:16:46.000Z | 2021-11-15T17:54:03.000Z | inspyre_toolbox/clipman/gui/windows/__init__.py | Inspyre-Softworks/Inspyre-Toolbox.clipman | 329538e34d284191a565a06f91a7345892ee0aa7 | [
"MIT"
] | null | null | null | # Copyright (c) 2021. __init__.py is a part of the ''inspyre-toolbox.clipman' project by Inspyre Softworks D.O. and is licensed under the MIT License. Feel free to copy, share, distribute any code from this project as you please. If you do; please share where you got it.
| 91.666667 | 273 | 0.756364 | 49 | 275 | 4.163265 | 0.836735 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017699 | 0.178182 | 275 | 2 | 274 | 137.5 | 0.884956 | 0.981818 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
14eb3d631fa6222908d8f17f1b1f7b50415a816a | 310 | py | Python | mycarehub/common/forms/__init__.py | savannahghi/mycarehub-backend | 035471bf463d99ae7247cc25adc7062de681d9ea | [
"MIT"
] | 1 | 2022-01-06T12:20:15.000Z | 2022-01-06T12:20:15.000Z | mycarehub/common/forms/__init__.py | savannahghi/mycarehub-backend | 035471bf463d99ae7247cc25adc7062de681d9ea | [
"MIT"
] | 5 | 2021-11-07T11:01:13.000Z | 2022-03-29T08:33:28.000Z | mycarehub/common/forms/__init__.py | savannahghi/mycarehub-backend | 035471bf463d99ae7247cc25adc7062de681d9ea | [
"MIT"
] | 1 | 2022-01-17T10:56:42.000Z | 2022-01-17T10:56:42.000Z | from .base_forms import BaseModelForm
from .common_forms import (
FacilityAttachmentForm,
FacilityForm,
OrganisationForm,
UserFacilityAllotmentForm,
)
__all__ = [
"BaseModelForm",
"FacilityAttachmentForm",
"FacilityForm",
"OrganisationForm",
"UserFacilityAllotmentForm",
]
| 19.375 | 37 | 0.725806 | 19 | 310 | 11.526316 | 0.578947 | 0.100457 | 0.456621 | 0.684932 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190323 | 310 | 15 | 38 | 20.666667 | 0.87251 | 0 | 0 | 0 | 0 | 0 | 0.283871 | 0.151613 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 0 | 1 | 0 | 1 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
09323ad2b7a61b2277abd0ffa9bffa9c3393b712 | 1,106 | py | Python | Codeforces/B_Build_the_Permutation.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | Codeforces/B_Build_the_Permutation.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | Codeforces/B_Build_the_Permutation.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | for _ in range(int(input())):
n,a,b=map(int,input().split())
l,r=1,n
ans=[]
if a+b>n-2 or abs(a-b)>1:
print(-1)
else:
if a==b:
h,v=0,0
ans.append(l)
l+=1
while h<a:
ans.append(r)
r-=1
ans.... | 22.12 | 34 | 0.275769 | 139 | 1,106 | 2.18705 | 0.194245 | 0.355263 | 0.230263 | 0.180921 | 0.588816 | 0.549342 | 0.463816 | 0.463816 | 0.463816 | 0.332237 | 0 | 0.056948 | 0.603074 | 1,106 | 50 | 35 | 22.12 | 0.635535 | 0 | 0 | 0.586957 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.043478 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
095ec2ae46034fd86edb2966c616317d2c2afdc4 | 73 | py | Python | hodolbot/functions/__init__.py | solar0037/hodolbot | f758375efce2dede58d920d41cab4a8ad38d1d58 | [
"MIT"
] | null | null | null | hodolbot/functions/__init__.py | solar0037/hodolbot | f758375efce2dede58d920d41cab4a8ad38d1d58 | [
"MIT"
] | 3 | 2021-08-02T01:59:04.000Z | 2021-08-02T01:59:15.000Z | hodolbot/functions/__init__.py | solar0037/hodolbot | f758375efce2dede58d920d41cab4a8ad38d1d58 | [
"MIT"
] | null | null | null | from hodolbot.functions.functions import greetings_fn, views_fn, info_fn
| 36.5 | 72 | 0.863014 | 11 | 73 | 5.454545 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082192 | 73 | 1 | 73 | 73 | 0.895522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
0960e64cf0ab8f525f471c8664cd9d356ce48f8d | 207 | py | Python | test.py | WinstonChenn/dl_utils | c3a3fc9aa7019ec14d4a593c900de23d28ae6d2b | [
"MIT"
] | 2 | 2021-07-28T06:52:10.000Z | 2021-12-21T07:53:45.000Z | test.py | WinstonChenn/dl_utils | c3a3fc9aa7019ec14d4a593c900de23d28ae6d2b | [
"MIT"
] | null | null | null | test.py | WinstonChenn/dl_utils | c3a3fc9aa7019ec14d4a593c900de23d28ae6d2b | [
"MIT"
] | null | null | null | from data_utils import *
def main():
fine_labels, coarse_labels = get_cifar100_labels()
print_random_cifar100_test(fine_labels, coarse_labels)
plt.show()
if __name__ == "__main__":
main()
| 18.818182 | 58 | 0.719807 | 27 | 207 | 4.851852 | 0.666667 | 0.152672 | 0.244275 | 0.335878 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035294 | 0.178744 | 207 | 10 | 59 | 20.7 | 0.735294 | 0 | 0 | 0 | 0 | 0 | 0.038647 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | true | 0 | 0.142857 | 0 | 0.285714 | 0.142857 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1184421262b91f5719ae54d5eb39eccdf9bb7dc9 | 6,930 | py | Python | tests/packagedcode/test_cargo.py | sthagen/nexB-scancode-toolkit | 12cc1286df78af898fae76fa339da2bb50ad51b9 | [
"Apache-2.0",
"CC-BY-4.0"
] | null | null | null | tests/packagedcode/test_cargo.py | sthagen/nexB-scancode-toolkit | 12cc1286df78af898fae76fa339da2bb50ad51b9 | [
"Apache-2.0",
"CC-BY-4.0"
] | null | null | null | tests/packagedcode/test_cargo.py | sthagen/nexB-scancode-toolkit | 12cc1286df78af898fae76fa339da2bb50ad51b9 | [
"Apache-2.0",
"CC-BY-4.0"
] | null | null | null |
# Copyright (c) nexB Inc. and others. All rights reserved.
# ScanCode is a trademark of nexB Inc.
# SPDX-License-Identifier: Apache-2.0
# See http://www.apache.org/licenses/LICENSE-2.0 for the license text.
# See https://github.com/nexB/scancode-toolkit for support or download.
# See https://aboutcode.org for more inf... | 49.148936 | 93 | 0.746609 | 954 | 6,930 | 5.075472 | 0.133124 | 0.055762 | 0.059067 | 0.075176 | 0.799463 | 0.792028 | 0.75919 | 0.714168 | 0.679471 | 0.613176 | 0 | 0.00339 | 0.148629 | 6,930 | 140 | 94 | 49.5 | 0.817288 | 0.049062 | 0 | 0.342857 | 0 | 0 | 0.199514 | 0.158639 | 0 | 0 | 0 | 0 | 0.066667 | 1 | 0.161905 | false | 0 | 0.066667 | 0 | 0.257143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
11a98a16e83f4cbe1096d9e37d7c670a042ed65f | 92 | py | Python | stations/admin.py | shirakia/indegother | bcbef3f0c9d09d89b3048e76b78dfdaebd1b5ae4 | [
"MIT"
] | 1 | 2020-02-08T11:04:07.000Z | 2020-02-08T11:04:07.000Z | telostats/stations/admin.py | idan/telostats | ed2adeb6e90490033a49a7853f225e175f5236cd | [
"BSD-3-Clause"
] | 10 | 2021-06-25T14:30:22.000Z | 2021-09-22T18:52:40.000Z | api/admin.py | narula2000/BTS-MRT-Transportation-API | 66bc0ac2456fe76f4e897741411e7a700a585aa2 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Station
admin.site.register(Station)
| 15.333333 | 32 | 0.815217 | 13 | 92 | 5.769231 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119565 | 92 | 5 | 33 | 18.4 | 0.925926 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
11cb278374844d28665df029636818d149290888 | 42,796 | py | Python | pysnmp_mibs/INTERFACETOPN-MIB.py | jackjack821/pysnmp-mibs | 9835ea0bb2420715caf4ee9aaa07d59bb263acd6 | [
"BSD-2-Clause"
] | 6 | 2017-04-21T13:48:08.000Z | 2022-01-06T19:42:52.000Z | pysnmp_mibs/INTERFACETOPN-MIB.py | jackjack821/pysnmp-mibs | 9835ea0bb2420715caf4ee9aaa07d59bb263acd6 | [
"BSD-2-Clause"
] | 1 | 2020-05-05T16:42:25.000Z | 2020-05-05T16:42:25.000Z | pysnmp_mibs/INTERFACETOPN-MIB.py | jackjack821/pysnmp-mibs | 9835ea0bb2420715caf4ee9aaa07d59bb263acd6 | [
"BSD-2-Clause"
] | 6 | 2020-02-08T20:28:49.000Z | 2021-09-14T13:36:46.000Z | #
# PySNMP MIB module INTERFACETOPN-MIB (http://pysnmp.sf.net)
# ASN.1 source http://mibs.snmplabs.com:80/asn1/INTERFACETOPN-MIB
# Produced by pysmi-0.0.7 at Sun Feb 14 00:17:25 2016
# On host bldfarm platform Linux version 4.1.13-100.fc21.x86_64 by user goose
# Using Python version 3.5.0 (default, Jan 5 2016, 17:11:5... | 563.105263 | 15,891 | 0.681793 | 5,131 | 42,796 | 5.686026 | 0.116352 | 0.007061 | 0.016658 | 0.019195 | 0.519554 | 0.482262 | 0.468518 | 0.399726 | 0.391945 | 0.381045 | 0 | 0.045493 | 0.233153 | 42,796 | 75 | 15,892 | 570.613333 | 0.843501 | 0.007244 | 0 | 0 | 0 | 0.279412 | 0.763637 | 0.115616 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.132353 | 0 | 0.132353 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
11ed6dd66e789c0b8e2e610e45bc5d8362a93e6f | 488 | py | Python | examples/Boards/ESP8266/Basic/timerBlink.py | myhumankit/ESP32_IDE_accessible | 5262a5dd106f3f52a374a6c1ef68ff53d8847001 | [
"MIT"
] | 1 | 2020-07-27T19:32:56.000Z | 2020-07-27T19:32:56.000Z | examples/Boards/ESP8266/Basic/timerBlink.py | myhumankit/Blind_IDE | 5262a5dd106f3f52a374a6c1ef68ff53d8847001 | [
"MIT"
] | null | null | null | examples/Boards/ESP8266/Basic/timerBlink.py | myhumankit/Blind_IDE | 5262a5dd106f3f52a374a6c1ef68ff53d8847001 | [
"MIT"
] | null | null | null | #hardware platform: FireBeetle-ESP8266
from machine import Pin,Timer
led=Pin(2,Pin.OUT) #create LED object
tim = Timer(1) #create tim object
def blink(t):
led.value(not led.value()) #the value of led is opposite of the previous
tim.init(period=1000,mode=Timer.PERIODIC, callback=bl... | 488 | 488 | 0.696721 | 72 | 488 | 4.722222 | 0.666667 | 0.047059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02584 | 0.206967 | 488 | 1 | 488 | 488 | 0.852713 | 0.987705 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | false | 0.090909 | 0.090909 | 0 | 0.181818 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
11f2ae426a91994081c91767a6c8cc77a9f08160 | 2,329 | py | Python | feshttp/err.py | tinybees/feshttp | 794406a7f63fe985613a893ad243b92f5a6fd53e | [
"MIT"
] | 1 | 2020-02-29T15:53:00.000Z | 2020-02-29T15:53:00.000Z | feshttp/err.py | tinybees/feshttp | 794406a7f63fe985613a893ad243b92f5a6fd53e | [
"MIT"
] | null | null | null | feshttp/err.py | tinybees/feshttp | 794406a7f63fe985613a893ad243b92f5a6fd53e | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# coding=utf-8
"""
@author: guoyanfeng
@software: PyCharm
@time: 18-12-25 下午2:08
"""
__all__ = ("Error", "HttpError", "ClientError", "ClientResponseError", "ClientConnectionError", "FuncArgsError",
"JsonRPCError")
class Error(Exception):
"""
异常基类
"""
def __init__(s... | 22.61165 | 112 | 0.601546 | 248 | 2,329 | 5.237903 | 0.221774 | 0.127021 | 0.075443 | 0.076982 | 0.398768 | 0.332564 | 0.267898 | 0.232487 | 0.232487 | 0.161663 | 0 | 0.006159 | 0.233147 | 2,329 | 102 | 113 | 22.833333 | 0.721165 | 0.076428 | 0 | 0.413043 | 0 | 0 | 0.123107 | 0.010259 | 0 | 0 | 0 | 0 | 0 | 1 | 0.26087 | false | 0.065217 | 0 | 0.173913 | 0.586957 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
11fe8825b427ad471bda128c221b1c2d09b0688a | 201 | py | Python | cli/decorators/template.py | oleoneto/django-clite | 6df3051fe42af6e9385a11df1b20ebd46be69dd9 | [
"BSD-3-Clause"
] | 22 | 2019-08-18T21:22:41.000Z | 2022-01-18T03:51:34.000Z | cli/decorators/template.py | oleoneto/django-clite | 6df3051fe42af6e9385a11df1b20ebd46be69dd9 | [
"BSD-3-Clause"
] | 30 | 2019-11-11T12:54:35.000Z | 2022-01-18T01:07:21.000Z | cli/decorators/template.py | oleoneto/django-clite | 6df3051fe42af6e9385a11df1b20ebd46be69dd9 | [
"BSD-3-Clause"
] | null | null | null | import os
def watch_templates(directory):
def wrapper(f):
f.TEMPLATES_DIRECTORY = directory
f.TEMPLATE_FILES = [f for f in os.listdir(directory) if f.endswith('tpl')]
return f
return wrapper
| 20.1 | 76 | 0.741294 | 31 | 201 | 4.709677 | 0.548387 | 0.246575 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159204 | 201 | 9 | 77 | 22.333333 | 0.863905 | 0 | 0 | 0 | 0 | 0 | 0.014925 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0 | 0.714286 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
f50742d2e587201aea1465153e67eb9f5dacce42 | 106 | py | Python | SampleDensity/src/setup.py | TACC/ParaviewCustomModules | aa2134fecf4bff9efb80fcfc1cd1360781fbceb0 | [
"Apache-2.0"
] | 1 | 2020-03-13T09:26:17.000Z | 2020-03-13T09:26:17.000Z | SampleDensity/src/setup.py | TACC/ParaviewCustomModules | aa2134fecf4bff9efb80fcfc1cd1360781fbceb0 | [
"Apache-2.0"
] | null | null | null | SampleDensity/src/setup.py | TACC/ParaviewCustomModules | aa2134fecf4bff9efb80fcfc1cd1360781fbceb0 | [
"Apache-2.0"
] | 1 | 2019-06-04T09:22:07.000Z | 2019-06-04T09:22:07.000Z | from setuptools import setup, Extension
setup(ext_modules=[Extension('Sample', ['SampleDensity.c'],),],)
| 26.5 | 64 | 0.745283 | 12 | 106 | 6.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075472 | 106 | 3 | 65 | 35.333333 | 0.795918 | 0 | 0 | 0 | 0 | 0 | 0.198113 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
eec17a97ac04065b5fc2ce7816fcdca2977a3ad4 | 136 | py | Python | pastas/stats/__init__.py | pgraafstra/pastas | c065059e1df5b6c8e4afeb5278de2ef70fdf726c | [
"MIT"
] | null | null | null | pastas/stats/__init__.py | pgraafstra/pastas | c065059e1df5b6c8e4afeb5278de2ef70fdf726c | [
"MIT"
] | null | null | null | pastas/stats/__init__.py | pgraafstra/pastas | c065059e1df5b6c8e4afeb5278de2ef70fdf726c | [
"MIT"
] | null | null | null | from .core import ccf, acf
from .dutch import q_ghg, q_glg, q_gvg, ghg, glg, gvg
from .tests import runs_test, ljung_box, durbin_watson
| 34 | 54 | 0.772059 | 26 | 136 | 3.807692 | 0.653846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 136 | 3 | 55 | 45.333333 | 0.853448 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
eece3c74ea4157b332387c4976ff15ce24713b4b | 312 | py | Python | tests/users/test_fake.py | ReeceHoffmann/virtool | f9befad060fe16fa29fb80124e674ac5a9c4f538 | [
"MIT"
] | 39 | 2016-10-31T23:28:59.000Z | 2022-01-15T00:00:42.000Z | tests/users/test_fake.py | ReeceHoffmann/virtool | f9befad060fe16fa29fb80124e674ac5a9c4f538 | [
"MIT"
] | 1,690 | 2017-02-07T23:39:48.000Z | 2022-03-31T22:30:44.000Z | tests/users/test_fake.py | ReeceHoffmann/virtool | f9befad060fe16fa29fb80124e674ac5a9c4f538 | [
"MIT"
] | 25 | 2017-02-08T18:25:31.000Z | 2021-09-20T22:55:25.000Z | from virtool.users.fake import create_fake_bob_user
async def test_create_fake_bob_user(snapshot, app, dbi, static_time, mocker):
mocker.patch("virtool.db.utils.get_new_id", return_value="abc123")
await create_fake_bob_user(app)
assert await dbi.users.find_one({}, {"password": False}) == snapshot
| 39 | 77 | 0.766026 | 48 | 312 | 4.666667 | 0.666667 | 0.133929 | 0.174107 | 0.227679 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01087 | 0.115385 | 312 | 7 | 78 | 44.571429 | 0.800725 | 0 | 0 | 0 | 0 | 0 | 0.13141 | 0.086538 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0 | true | 0.2 | 0.2 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
eefd15b02a527516f51b476ba6b9d40476f80b3e | 30 | py | Python | src/fonduer/utils/__init__.py | annelhote/fonduer | bd5b1feebfb2860286ae8b5a520b24baa023b445 | [
"MIT"
] | 379 | 2018-03-29T10:06:02.000Z | 2022-03-30T22:51:43.000Z | src/fonduer/utils/__init__.py | annelhote/fonduer | bd5b1feebfb2860286ae8b5a520b24baa023b445 | [
"MIT"
] | 328 | 2018-03-29T03:34:46.000Z | 2021-09-02T21:24:41.000Z | src/fonduer/utils/__init__.py | annelhote/fonduer | bd5b1feebfb2860286ae8b5a520b24baa023b445 | [
"MIT"
] | 86 | 2018-03-30T12:56:33.000Z | 2022-01-12T09:10:48.000Z | """Fonduer's utils module."""
| 15 | 29 | 0.633333 | 4 | 30 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 1 | 30 | 30 | 0.703704 | 0.766667 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
eeffbb33e43acbbf7b029a6b20b57277a7602c54 | 317 | py | Python | superset/migrations/versions/de021a1ca60d_.py | ghsalem/incubator-superset | fff3d594ca3d6f66014fb17c07e24cb3c447f1ea | [
"Apache-2.0"
] | 1 | 2019-01-15T03:54:58.000Z | 2019-01-15T03:54:58.000Z | superset/migrations/versions/de021a1ca60d_.py | sleepyhton/incubator-superset | 3c17dac35a169afafe0ae3fbfd74618eacb4e642 | [
"Apache-2.0"
] | 6 | 2020-03-24T16:34:26.000Z | 2022-02-01T00:53:43.000Z | superset/migrations/versions/de021a1ca60d_.py | sleepyhton/incubator-superset | 3c17dac35a169afafe0ae3fbfd74618eacb4e642 | [
"Apache-2.0"
] | 1 | 2019-01-15T15:56:55.000Z | 2019-01-15T15:56:55.000Z | """empty message
Revision ID: de021a1ca60d
Revises: ('0b1f1ab473c0', 'cefabc8f7d38')
Create Date: 2018-12-18 22:45:55.783083
"""
# revision identifiers, used by Alembic.
revision = 'de021a1ca60d'
down_revision = ('0b1f1ab473c0', 'cefabc8f7d38', '3e1b21cd94a4')
def upgrade():
pass
def downgrade():
pass
| 16.684211 | 64 | 0.712934 | 35 | 317 | 6.428571 | 0.771429 | 0.213333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.225926 | 0.148265 | 317 | 18 | 65 | 17.611111 | 0.607407 | 0.511041 | 0 | 0.333333 | 0 | 0 | 0.326531 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
0102945de6a6c5bd3f67b804d7d34c575ffb1618 | 87 | py | Python | download.py | abiro/minerl-agent | c33361c4a5ad0d5fe903f211665ff4da16439b69 | [
"MIT"
] | null | null | null | download.py | abiro/minerl-agent | c33361c4a5ad0d5fe903f211665ff4da16439b69 | [
"MIT"
] | null | null | null | download.py | abiro/minerl-agent | c33361c4a5ad0d5fe903f211665ff4da16439b69 | [
"MIT"
] | null | null | null | import minerl
minerl.data.download('./data', experiment='MineRLObtainDiamondDense-v0')
| 29 | 72 | 0.804598 | 9 | 87 | 7.777778 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012048 | 0.045977 | 87 | 2 | 73 | 43.5 | 0.831325 | 0 | 0 | 0 | 0 | 0 | 0.37931 | 0.310345 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
01303a6a687022db11acb33588aadd5d0eb2608e | 161 | py | Python | chapter12/exiftags/get_exif_tags.py | abbbhucho/Mastering-Python-for-Networking-and-Security | f4fb1131253e9daad8da501c297758fdcedfbac3 | [
"MIT"
] | 98 | 2018-05-13T20:41:43.000Z | 2022-03-31T00:24:01.000Z | chapter12/exiftags/get_exif_tags.py | Cyb3rid10ts/Mastering-Python-for-Networking-and-Security | 4cf04d1758f17ae378b5e3422404e5b7a174a243 | [
"MIT"
] | 1 | 2021-06-04T06:08:21.000Z | 2021-06-04T06:08:21.000Z | chapter12/exiftags/get_exif_tags.py | Cyb3rid10ts/Mastering-Python-for-Networking-and-Security | 4cf04d1758f17ae378b5e3422404e5b7a174a243 | [
"MIT"
] | 62 | 2018-06-19T13:46:34.000Z | 2022-02-11T05:47:24.000Z | from PIL import Image
from PIL.ExifTags import TAGS
for (i,j) in Image.open('images/image.jpg')._getexif().items():
print('%s = %s' % (TAGS.get(i), j))
| 26.833333 | 63 | 0.63354 | 27 | 161 | 3.740741 | 0.666667 | 0.138614 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.167702 | 161 | 5 | 64 | 32.2 | 0.753731 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.25 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
015c5607922f55c1d04217260a23b2aa8ebdfec0 | 6,443 | py | Python | app/school/views.py | bondeveloper/maischool | 16bf2afe99d26caa067b7912e88839639cf2191e | [
"MIT"
] | null | null | null | app/school/views.py | bondeveloper/maischool | 16bf2afe99d26caa067b7912e88839639cf2191e | [
"MIT"
] | null | null | null | app/school/views.py | bondeveloper/maischool | 16bf2afe99d26caa067b7912e88839639cf2191e | [
"MIT"
] | null | null | null | from rest_framework import generics
from rest_framework.permissions import AllowAny
import school.serializers as CustomSerializers
from core.models import Category, School, Subject, Level, Lesson, Session, \
Attachment, Moderation
class CategoryCreateAPIView(generics.CreateAPIView):
seria... | 30.535545 | 76 | 0.811578 | 509 | 6,443 | 10.180747 | 0.165029 | 0.121575 | 0.259359 | 0.164029 | 0.640486 | 0.528174 | 0.528174 | 0.528174 | 0.512736 | 0 | 0 | 0 | 0.119354 | 6,443 | 210 | 77 | 30.680952 | 0.913289 | 0 | 0 | 0.611111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.031746 | 0 | 0.992063 | 0 | 0 | 0 | 1 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
018ef0fb01803e816e56bc00ce1c714506687bd7 | 709 | py | Python | python/anyascii/_data/_24e.py | casept/anyascii | d4f426b91751254b68eaa84c6cd23099edd668e6 | [
"ISC"
] | null | null | null | python/anyascii/_data/_24e.py | casept/anyascii | d4f426b91751254b68eaa84c6cd23099edd668e6 | [
"ISC"
] | null | null | null | python/anyascii/_data/_24e.py | casept/anyascii | d4f426b91751254b68eaa84c6cd23099edd668e6 | [
"ISC"
] | null | null | null | b='Xu Hui Min Wei You Tui Dai Ke Na Fu Yu Zhi Han Ai Fu Yang Shi Chan Hoen Xiu Chi Yun Shuai Ro Su Sang E Zheng Ai Suo Bu Qun Yi Yan Na Wu Li Li Xi Jue Shi Ya Lit Rom Khu Quan Bang Uon Hen Ong Nhoc Choc Nhuc Chen Ying Bi Che Zha Tuo Hu Teng Ying Bi Ning Lian Xin Yu Bei Mo... | 709 | 709 | 0.636107 | 149 | 709 | 3.026846 | 0.791946 | 0.026608 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.359662 | 709 | 1 | 709 | 709 | 0.993392 | 0 | 0 | 0 | 0 | 1 | 0.992958 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
6d86ff4315675745f7a0676f014720b7abeaf587 | 375 | py | Python | trains/backend_api/services/__init__.py | eyalto/trains | 161d086d678f9276d46837d48c92657f960a4d75 | [
"Apache-2.0"
] | 2 | 2021-07-30T13:42:46.000Z | 2021-11-17T11:01:45.000Z | trains/backend_api/services/__init__.py | capt-pyro/trains | 45c2c612b0d6801db558b69b039ac79c4694a619 | [
"Apache-2.0"
] | null | null | null | trains/backend_api/services/__init__.py | capt-pyro/trains | 45c2c612b0d6801db558b69b039ac79c4694a619 | [
"Apache-2.0"
] | null | null | null | from .v2_1 import async_request
from .v2_1 import auth
from .v2_1 import debug
from .v2_1 import events
from .v2_1 import models
from .v2_1 import news
from .v2_1 import projects
from .v2_1 import storage
from .v2_1 import tasks
__all__ = [
'async_request',
'auth',
'debug',
'events',
'models',
... | 16.304348 | 31 | 0.664 | 57 | 375 | 4.105263 | 0.263158 | 0.230769 | 0.269231 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 0.232 | 375 | 22 | 32 | 17.045455 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.154667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.45 | 0 | 0.45 | 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 | 0 | 0 | 0 | 0 | 4 |
09876fd3976dafcb0eed90613540e61cc5de0673 | 90 | py | Python | tests/fake_app/apps.py | sanjioh/django-header-filter | d348449619c71bdd6a2c957ee47c1c67a57bdec2 | [
"MIT"
] | 11 | 2016-12-03T21:45:30.000Z | 2022-01-11T08:57:55.000Z | tests/fake_app/apps.py | sanjioh/django-header-filter | d348449619c71bdd6a2c957ee47c1c67a57bdec2 | [
"MIT"
] | 17 | 2019-07-12T20:36:40.000Z | 2020-01-09T15:03:40.000Z | tests/fake_app/apps.py | sanjioh/django-header-filter | d348449619c71bdd6a2c957ee47c1c67a57bdec2 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class FakeAppConfig(AppConfig):
name = 'fake_app'
| 15 | 33 | 0.755556 | 11 | 90 | 6.090909 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 90 | 5 | 34 | 18 | 0.893333 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
09b25203e04a48a192c6c4066a6c1ce7c6583814 | 7,239 | py | Python | python/paddle/fluid/tests/unittests/autograd/test_vhp.py | zmxdream/Paddle | 04f042a5d507ad98f7f2cfc3cbc44b06d7a7f45c | [
"Apache-2.0"
] | 17,085 | 2016-11-18T06:40:52.000Z | 2022-03-31T22:52:32.000Z | python/paddle/fluid/tests/unittests/autograd/test_vhp.py | zmxdream/Paddle | 04f042a5d507ad98f7f2cfc3cbc44b06d7a7f45c | [
"Apache-2.0"
] | 29,769 | 2016-11-18T06:35:22.000Z | 2022-03-31T16:46:15.000Z | python/paddle/fluid/tests/unittests/autograd/test_vhp.py | zmxdream/Paddle | 04f042a5d507ad98f7f2cfc3cbc44b06d7a7f45c | [
"Apache-2.0"
] | 4,641 | 2016-11-18T07:43:33.000Z | 2022-03-31T15:15:02.000Z | # Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by ap... | 39.557377 | 78 | 0.584887 | 939 | 7,239 | 4.362087 | 0.159744 | 0.036621 | 0.041748 | 0.050781 | 0.727295 | 0.71167 | 0.707764 | 0.704834 | 0.697266 | 0.697266 | 0 | 0.009379 | 0.307777 | 7,239 | 182 | 79 | 39.774725 | 0.808022 | 0.08095 | 0 | 0.647887 | 0 | 0 | 0.007381 | 0 | 0 | 0 | 0 | 0 | 0.126761 | 1 | 0.112676 | false | 0 | 0.042254 | 0.049296 | 0.21831 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
09c120af22174d31f30ecd0cf5883afc41562e7a | 166 | py | Python | LEARNSTRING.py | mostafazaghlol/Python-UriOnline | 85aa2ebc4483d94a0757d4b9c6ea95517413f686 | [
"Unlicense"
] | null | null | null | LEARNSTRING.py | mostafazaghlol/Python-UriOnline | 85aa2ebc4483d94a0757d4b9c6ea95517413f686 | [
"Unlicense"
] | null | null | null | LEARNSTRING.py | mostafazaghlol/Python-UriOnline | 85aa2ebc4483d94a0757d4b9c6ea95517413f686 | [
"Unlicense"
] | null | null | null | """MY nak"""
#masdasdasd
spam="my name is mostafa \\ i am 21 years old \n i am an engineering \n i work for more than 3 years on my slef"
print(spam.endswith("f")) | 41.5 | 113 | 0.680723 | 33 | 166 | 3.424242 | 0.757576 | 0.053097 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022388 | 0.192771 | 166 | 4 | 114 | 41.5 | 0.820896 | 0.10241 | 0 | 0 | 0 | 0.5 | 0.751773 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
09cf22cc2d73217fe20a8dd8c1df4c29d842e1c0 | 73 | py | Python | binder/__init__.py | choleraehyq/yuujins | dff6f7def0081f24afac30a7c1e3ca6755a5ea3f | [
"MIT"
] | null | null | null | binder/__init__.py | choleraehyq/yuujins | dff6f7def0081f24afac30a7c1e3ca6755a5ea3f | [
"MIT"
] | null | null | null | binder/__init__.py | choleraehyq/yuujins | dff6f7def0081f24afac30a7c1e3ca6755a5ea3f | [
"MIT"
] | null | null | null | from binder.binder import define, assign
__all__ = ['define', 'assign']
| 18.25 | 40 | 0.726027 | 9 | 73 | 5.444444 | 0.666667 | 0.489796 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136986 | 73 | 3 | 41 | 24.333333 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0.164384 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
09cfd1f050ea4a7d2bb828fc3895ca69dd304637 | 97 | py | Python | hail/python/hailtop/batch_client/__init__.py | tdeboer-ilmn/hail | 98fffc9b4e13cd5d5ced8322112894361d0b7052 | [
"MIT"
] | 789 | 2016-09-05T04:14:25.000Z | 2022-03-30T09:51:54.000Z | hail/python/hailtop/batch_client/__init__.py | tdeboer-ilmn/hail | 98fffc9b4e13cd5d5ced8322112894361d0b7052 | [
"MIT"
] | 5,724 | 2016-08-29T18:58:40.000Z | 2022-03-31T23:49:42.000Z | hail/python/hailtop/batch_client/__init__.py | tdeboer-ilmn/hail | 98fffc9b4e13cd5d5ced8322112894361d0b7052 | [
"MIT"
] | 233 | 2016-08-31T20:42:38.000Z | 2022-02-17T16:42:39.000Z | from . import client, aioclient, parse
__all__ = [
'client',
'aioclient',
'parse'
]
| 12.125 | 38 | 0.587629 | 9 | 97 | 5.888889 | 0.666667 | 0.566038 | 0.754717 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.268041 | 97 | 7 | 39 | 13.857143 | 0.746479 | 0 | 0 | 0 | 0 | 0 | 0.206186 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
09f04602bb2381ccf3d98560e71bf4564f934ba7 | 379 | py | Python | dkf/utils.py | kokikwbt/deep-kalman-filter | 5ffbbe1c5cccc1c92d538af38dfb9cecd88afbc6 | [
"MIT"
] | null | null | null | dkf/utils.py | kokikwbt/deep-kalman-filter | 5ffbbe1c5cccc1c92d538af38dfb9cecd88afbc6 | [
"MIT"
] | null | null | null | dkf/utils.py | kokikwbt/deep-kalman-filter | 5ffbbe1c5cccc1c92d538af38dfb9cecd88afbc6 | [
"MIT"
] | null | null | null | import matplotlib.pyplot as plt
import numpy as np
def generate_synthetic(seqlen=500):
""" Synthetic 4-dimensional data """
wave1 = 2*np.sin(np.linspace(0, 20*np.pi, seqlen))
wave2 = 2*np.sin(np.linspace(0, 2*np.pi, seqlen))
data = np.vstack([wave1, wave1*1.2, wave2, wave2*0.85]).T
return data + n... | 27.071429 | 61 | 0.670185 | 63 | 379 | 4 | 0.52381 | 0.035714 | 0.047619 | 0.063492 | 0.134921 | 0.134921 | 0 | 0 | 0 | 0 | 0 | 0.070064 | 0.171504 | 379 | 14 | 62 | 27.071429 | 0.732484 | 0.073879 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.222222 | 0.111111 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
09fb4ef8e91a947f04aa89c1c89d54fa836a8a17 | 315 | py | Python | lesivka/_encode/rule_3_1.py | lesivka/python-lesivka | bf3dad95b22fb29eea3ecb84a5706dd3c17606e0 | [
"CC0-1.0"
] | null | null | null | lesivka/_encode/rule_3_1.py | lesivka/python-lesivka | bf3dad95b22fb29eea3ecb84a5706dd3c17606e0 | [
"CC0-1.0"
] | 1 | 2019-05-18T06:55:19.000Z | 2019-05-18T08:23:56.000Z | lesivka/_encode/rule_3_1.py | lesivka/python-lesivka | bf3dad95b22fb29eea3ecb84a5706dd3c17606e0 | [
"CC0-1.0"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
import re
from ..diacritics import APOSTROPHES
def get_convert():
pattern = re.compile(r'(\w)[%s](\w)' % APOSTROPHES, re.UNICODE)
def _(text):
return ''.join(t for t in pattern.split(text))
return _
convert = get_convert()
| 16.578947 | 67 | 0.650794 | 42 | 315 | 4.666667 | 0.619048 | 0.102041 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003984 | 0.203175 | 315 | 18 | 68 | 17.5 | 0.776892 | 0.066667 | 0 | 0 | 0 | 0 | 0.041096 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.333333 | 0.111111 | 0.777778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
61ccf43dcc69bcfd57cb837a7a1fd3f072d64db6 | 331 | py | Python | tests/manage.py | iamprathamjain/django-save-the-change | 8e65892c8162418ce6afa79c3b77c6843f2ecdff | [
"Apache-2.0"
] | 53 | 2015-01-25T14:31:51.000Z | 2021-11-27T06:21:03.000Z | tests/manage.py | jonashaag/django-save-the-change | 8e65892c8162418ce6afa79c3b77c6843f2ecdff | [
"Apache-2.0"
] | 32 | 2015-01-04T15:05:24.000Z | 2022-03-11T23:16:45.000Z | tests/manage.py | jonashaag/django-save-the-change | 8e65892c8162418ce6afa79c3b77c6843f2ecdff | [
"Apache-2.0"
] | 27 | 2015-02-02T09:35:28.000Z | 2020-09-30T16:21:37.000Z | # -*- coding: utf-8 -*-
from __future__ import division, absolute_import, print_function, unicode_literals
import os
import sys
if __name__ == "__main__":
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'testproject.settings')
from django.core.management import execute_from_command_line
execute_from_command_line... | 25.461538 | 82 | 0.800604 | 43 | 331 | 5.627907 | 0.674419 | 0.090909 | 0.14876 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003367 | 0.102719 | 331 | 12 | 83 | 27.583333 | 0.811448 | 0.063444 | 0 | 0 | 0 | 0 | 0.162338 | 0.071429 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.571429 | 0 | 0.571429 | 0.142857 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
61d48f1a06bc72c8c59a620dd693ea81cf20fd9c | 348 | py | Python | pal/writer/comment/none.py | jasa/pal | 2a5b0b3ed4698a077d9c707a1e6c692eebfb362a | [
"MIT"
] | 26 | 2020-01-06T23:53:17.000Z | 2022-02-01T08:58:21.000Z | pal/writer/comment/none.py | jasa/pal | 2a5b0b3ed4698a077d9c707a1e6c692eebfb362a | [
"MIT"
] | 30 | 2019-11-13T00:55:22.000Z | 2022-01-06T08:09:35.000Z | pal/writer/comment/none.py | jasa/pal | 2a5b0b3ed4698a077d9c707a1e6c692eebfb362a | [
"MIT"
] | 14 | 2019-11-15T16:56:22.000Z | 2021-12-22T10:14:17.000Z | from pal.writer.comment.comment import CommentWriter
class NoneCommentWriter(CommentWriter):
def declare_comment(self, outfile, comment, wrap):
pass
def declare_file_documentation(self, outfile, summary, wrap, details=""):
pass
def declare_item_documentation(self, outfile, summary, wrap... | 24.857143 | 77 | 0.715517 | 38 | 348 | 6.421053 | 0.5 | 0.122951 | 0.114754 | 0.254098 | 0.377049 | 0.377049 | 0.377049 | 0 | 0 | 0 | 0 | 0 | 0.192529 | 348 | 13 | 78 | 26.769231 | 0.868327 | 0 | 0 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0.375 | 0.125 | 0 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
61f6c12ca46613d73115b3bc502b0d10ecdc2982 | 405 | py | Python | languages/python/exercises/concept/list_methods/list_methods.py | AlexLeSang/v3 | 3d35961a961b5a2129b1d42f1d118972d9665357 | [
"MIT"
] | null | null | null | languages/python/exercises/concept/list_methods/list_methods.py | AlexLeSang/v3 | 3d35961a961b5a2129b1d42f1d118972d9665357 | [
"MIT"
] | 45 | 2020-01-24T17:04:52.000Z | 2020-11-24T17:50:18.000Z | languages/python/exercises/concept/list_methods/list_methods.py | AlexLeSang/v3 | 3d35961a961b5a2129b1d42f1d118972d9665357 | [
"MIT"
] | null | null | null | def add_me_to_the_queue(express_queue, normal_queue, ticket_type, person_name):
pass
def find_his_friend(queue, friend_name):
pass
def add_person_with_his_friends(queue, index, person_name):
pass
def remove_the_mean_person(queue, person_name):
pass
def how_many_dopplegangers(queue, person_name):
... | 20.25 | 79 | 0.775309 | 63 | 405 | 4.555556 | 0.428571 | 0.146341 | 0.191638 | 0.236934 | 0.275261 | 0.181185 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153086 | 405 | 20 | 80 | 20.25 | 0.836735 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.5 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
114043d790fd12aa088f4654ed14d0c0f1d0d994 | 96 | py | Python | cognitive_complexity/common_types.py | Melevir/cognitive_complexity | 1df07df7adf88bc2c002e4bf85da28c18bfbd086 | [
"MIT"
] | 25 | 2019-10-31T13:52:02.000Z | 2022-03-10T18:16:43.000Z | cognitive_complexity/common_types.py | fhightower/cognitive_complexity | 9c82d04b5ddaf60f738fa3193cb6590d2f369a7a | [
"MIT"
] | 17 | 2019-11-06T08:25:50.000Z | 2021-07-22T05:35:22.000Z | cognitive_complexity/common_types.py | fhightower/cognitive_complexity | 9c82d04b5ddaf60f738fa3193cb6590d2f369a7a | [
"MIT"
] | 5 | 2020-05-02T15:14:30.000Z | 2021-11-23T12:50:46.000Z | import ast
from typing import Union
AnyFuncdef = Union[ast.FunctionDef, ast.AsyncFunctionDef]
| 16 | 57 | 0.8125 | 12 | 96 | 6.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 96 | 5 | 58 | 19.2 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
1149695c221b6049da91e90a0e2df97738d5eee6 | 21 | py | Python | btt/tests/__init__.py | vietdung126/bank-transaction-tracker | cb4bc94ee3d56136ddf4c1c886cd8db47d35f12a | [
"MIT"
] | 11 | 2019-10-27T02:53:46.000Z | 2022-03-10T19:49:48.000Z | btt/tests/__init__.py | vietdung126/bank-transaction-tracker | cb4bc94ee3d56136ddf4c1c886cd8db47d35f12a | [
"MIT"
] | 23 | 2021-11-17T17:55:22.000Z | 2022-03-29T19:15:20.000Z | btt/tests/__init__.py | vietdung126/BankClassify | a33fe87172d02c0ec39bff2b3f87d94052e2c947 | [
"MIT"
] | 3 | 2020-09-02T12:35:57.000Z | 2021-05-02T03:14:49.000Z | """tests package."""
| 10.5 | 20 | 0.571429 | 2 | 21 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 21 | 1 | 21 | 21 | 0.631579 | 0.666667 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1159103c722cfb3358cfbcdcbd8c7612c09bcce2 | 466 | py | Python | leetCodeSolutionsPython/tests/test_pathSum.py | hpnog/computingProblems | 3047e54db83a4c8d3cbcdc46496230f950a5d0b7 | [
"MIT"
] | null | null | null | leetCodeSolutionsPython/tests/test_pathSum.py | hpnog/computingProblems | 3047e54db83a4c8d3cbcdc46496230f950a5d0b7 | [
"MIT"
] | 7 | 2019-12-19T16:04:18.000Z | 2020-01-02T20:03:58.000Z | leetCodeSolutionsPython/tests/test_pathSum.py | hpnog/computingProblems | 3047e54db83a4c8d3cbcdc46496230f950a5d0b7 | [
"MIT"
] | null | null | null | import pathSum
from Utils.TreeNode import TreeNode
from Utils.TreeNode import stringToTreeNode
import unittest
class ThreeSumCase(unittest.TestCase):
def setUp(self):
pass
def tearDown(self):
pass
def test_twoSum_convert(self):
s = pathSum.Solution()
for root, target, sol... | 25.888889 | 112 | 0.67382 | 63 | 466 | 4.952381 | 0.603175 | 0.057692 | 0.108974 | 0.147436 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03523 | 0.208155 | 466 | 17 | 113 | 27.411765 | 0.810298 | 0 | 0 | 0.153846 | 0 | 0.076923 | 0.087983 | 0.087983 | 0 | 0 | 0 | 0 | 0.076923 | 1 | 0.230769 | false | 0.153846 | 0.307692 | 0 | 0.615385 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
fef9831e8d0b301c245232f7bb9cb00aa22c0142 | 216 | py | Python | backend/services/entity_extraction/api/decorators/request_logger.py | R-aryan/Entity-Extraction-Bert | e08c556a6f8b817f060400b2cd0d9e77610c5358 | [
"MIT"
] | null | null | null | backend/services/entity_extraction/api/decorators/request_logger.py | R-aryan/Entity-Extraction-Bert | e08c556a6f8b817f060400b2cd0d9e77610c5358 | [
"MIT"
] | 1 | 2021-07-08T14:57:25.000Z | 2021-07-08T14:57:25.000Z | backend/services/toxic_comment_jigsaw/api/decorators/request_logger.py | R-aryan/Jigsaw-Toxic-Comment-Classification | e5e4da7df379ac1b315f2bde655386180f39c517 | [
"MIT"
] | null | null | null | from flask import request
from injector import inject
from backend.common.logging.logger import Logger
@inject
def log_request(logger: Logger):
logger.info(request.method + ' request received:' + request.url)
| 21.6 | 68 | 0.777778 | 29 | 216 | 5.758621 | 0.551724 | 0.143713 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138889 | 216 | 9 | 69 | 24 | 0.897849 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.5 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
3a02ca6e47c1bc6207885b67260ec9c0be3337af | 96 | py | Python | full_async_web_app_example/main.py | beetleman/full_async_web_app_example | 8f49505f3ab709eed8e091a5ff3b0552a04f1559 | [
"MIT"
] | 1 | 2019-08-05T12:44:14.000Z | 2019-08-05T12:44:14.000Z | full_async_web_app_example/main.py | beetleman/full_async_web_app_example | 8f49505f3ab709eed8e091a5ff3b0552a04f1559 | [
"MIT"
] | null | null | null | full_async_web_app_example/main.py | beetleman/full_async_web_app_example | 8f49505f3ab709eed8e091a5ff3b0552a04f1559 | [
"MIT"
] | null | null | null | import asyncio
from .app import create
loop = asyncio.get_event_loop()
app = create(loop=loop)
| 16 | 31 | 0.770833 | 15 | 96 | 4.8 | 0.533333 | 0.277778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135417 | 96 | 5 | 32 | 19.2 | 0.86747 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
3a3756c9779122a55c78fba16679841a8206445b | 307 | py | Python | lib/scene_parser/rcnn/modeling/relation_heads/reldn/visual.py | nekithockey75/graph-rcnn.pytorch | 776e01764fec8fbf1eb3c8c1ee2636e326402792 | [
"MIT"
] | null | null | null | lib/scene_parser/rcnn/modeling/relation_heads/reldn/visual.py | nekithockey75/graph-rcnn.pytorch | 776e01764fec8fbf1eb3c8c1ee2636e326402792 | [
"MIT"
] | null | null | null | lib/scene_parser/rcnn/modeling/relation_heads/reldn/visual.py | nekithockey75/graph-rcnn.pytorch | 776e01764fec8fbf1eb3c8c1ee2636e326402792 | [
"MIT"
] | null | null | null | import torch
import torch.nn as nn
class VisualFeature(nn.Module):
def __init__(self, dim):
self.subj_branch = nn.Sequential(nn.Linear())
def forward(self, subj_feat, obj_feat, rel_feat):
pass
def build_visual_feature(cfg, in_channels):
return VisualFeature(cfg, in_channels)
| 23.615385 | 53 | 0.716612 | 44 | 307 | 4.727273 | 0.613636 | 0.105769 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185668 | 307 | 12 | 54 | 25.583333 | 0.832 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.111111 | 0.222222 | 0.111111 | 0.777778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
3a3bb6c506c0faa546bcbe7fd8405a30b78f682f | 367 | py | Python | test/test_helper.py | rg314/autoballs | 21fab5c810f18c0d50c23051928d3bb86fbc6941 | [
"MIT"
] | 1 | 2021-03-07T15:33:39.000Z | 2021-03-07T15:33:39.000Z | test/test_helper.py | rg314/autoballs | 21fab5c810f18c0d50c23051928d3bb86fbc6941 | [
"MIT"
] | 8 | 2021-03-07T10:28:59.000Z | 2021-03-18T23:28:31.000Z | test/test_helper.py | rg314/autoballs | 21fab5c810f18c0d50c23051928d3bb86fbc6941 | [
"MIT"
] | null | null | null | import autoballs.helper as helper
def test_fft():
pass
# helper.fft()
def test_fft_reconstruction():
pass
# helper.fft_reconstruction()
def test_bandpass_filter():
pass
# helper.bandpass_filter()
def test_is_integer():
pass
# helper.is_integer()
def test_adjust_i... | 16.681818 | 34 | 0.640327 | 43 | 367 | 5.162791 | 0.348837 | 0.157658 | 0.09009 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.26158 | 367 | 22 | 35 | 16.681818 | 0.819188 | 0.291553 | 0 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.454545 | true | 0.545455 | 0.090909 | 0 | 0.545455 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
3a425fd4cdd527565a512e04413ac1b09108d029 | 718 | py | Python | Curve3DDoorway/commands/Export3DCurvesCore.py | kantoku-code/Fusion360_Curve3D_Doorway | 3777c9f1ea530ff736c9aae1aa82cee791fe6f61 | [
"MIT"
] | null | null | null | Curve3DDoorway/commands/Export3DCurvesCore.py | kantoku-code/Fusion360_Curve3D_Doorway | 3777c9f1ea530ff736c9aae1aa82cee791fe6f61 | [
"MIT"
] | null | null | null | Curve3DDoorway/commands/Export3DCurvesCore.py | kantoku-code/Fusion360_Curve3D_Doorway | 3777c9f1ea530ff736c9aae1aa82cee791fe6f61 | [
"MIT"
] | null | null | null | # Author-kantoku
# Description-Export 3D Curves
# Fusion360API Python Addins
import adsk.core
import adsk.fusion
import platform
from ..apper import apper
from .. import config
from .Export3DCurvesFactry import Export3DCurvesFactry
class Export3DCurves(apper.Fusion360CommandBase):
def on_preview(s... | 25.642857 | 78 | 0.708914 | 82 | 718 | 6.073171 | 0.439024 | 0.050201 | 0.170683 | 0.108434 | 0.226908 | 0.128514 | 0 | 0 | 0 | 0 | 0 | 0.019608 | 0.218663 | 718 | 28 | 79 | 25.642857 | 0.868093 | 0.097493 | 0 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.294118 | false | 0.235294 | 0.352941 | 0 | 0.705882 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
3a4b7bee338c66bc844e99c3158ae02635a4f391 | 346 | py | Python | src/masoniteorm/scopes/__init__.py | resmo/orm | 4e10708409e9c95a793b0a8b585095c679a56053 | [
"MIT"
] | 94 | 2020-02-08T21:08:56.000Z | 2022-03-28T15:24:52.000Z | src/masoniteorm/scopes/__init__.py | resmo/orm | 4e10708409e9c95a793b0a8b585095c679a56053 | [
"MIT"
] | 441 | 2020-02-09T06:17:44.000Z | 2022-03-30T07:27:39.000Z | src/masoniteorm/scopes/__init__.py | resmo/orm | 4e10708409e9c95a793b0a8b585095c679a56053 | [
"MIT"
] | 28 | 2020-02-26T10:29:05.000Z | 2022-03-30T19:08:28.000Z | from .scope import scope
from .BaseScope import BaseScope
from .SoftDeletesMixin import SoftDeletesMixin
from .SoftDeleteScope import SoftDeleteScope
from .TimeStampsMixin import TimeStampsMixin
from .TimeStampsScope import TimeStampsScope
from .UUIDPrimaryKeyScope import UUIDPrimaryKeyScope
from .UUIDPrimaryKeyMixin i... | 38.444444 | 52 | 0.884393 | 32 | 346 | 9.5625 | 0.3125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092486 | 346 | 8 | 53 | 43.25 | 0.974522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 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 | 4 |
28b7cd485cea388b177d0421b3140cf4e26a56c5 | 38 | py | Python | ctrl-hyper/ctrl-a.py | MTfirst/cmd-ctrl_onLinux | 38a6db67796bdc8d438ca63171d9fea03e84f5f7 | [
"MIT"
] | 1 | 2020-05-02T03:46:10.000Z | 2020-05-02T03:46:10.000Z | ctrl-hyper/ctrl-a.py | MTfirst/cmd-ctrl_onLinux | 38a6db67796bdc8d438ca63171d9fea03e84f5f7 | [
"MIT"
] | null | null | null | ctrl-hyper/ctrl-a.py | MTfirst/cmd-ctrl_onLinux | 38a6db67796bdc8d438ca63171d9fea03e84f5f7 | [
"MIT"
] | null | null | null | keyboard.send_keys("<ctrl>+<shift>+a") | 38 | 38 | 0.710526 | 6 | 38 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 38 | 1 | 38 | 38 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0.410256 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
28bc737f00ca7677bd31481002081f33a7ee1750 | 148 | py | Python | python_project/test_case/__init__.py | zhangyongke/workplace-Git | 5d58e366c7d2319322da626664481a7b59f4dda9 | [
"Apache-2.0"
] | null | null | null | python_project/test_case/__init__.py | zhangyongke/workplace-Git | 5d58e366c7d2319322da626664481a7b59f4dda9 | [
"Apache-2.0"
] | null | null | null | python_project/test_case/__init__.py | zhangyongke/workplace-Git | 5d58e366c7d2319322da626664481a7b59f4dda9 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# @Time : 2020/12/22 13:58
# @Author : zyk
# @Email : zhangyongke1105@163.com
# @File : __init__.py.py
# @Software: PyCharm
| 21.142857 | 34 | 0.621622 | 21 | 148 | 4.190476 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162602 | 0.168919 | 148 | 6 | 35 | 24.666667 | 0.552846 | 0.912162 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e905e617f828773bd6748c5597c6857bb989d8d8 | 523 | py | Python | db/db_helpers/peopleCredentialSelection.py | akarapun/elearning | fe116d5815925269819061ea183cbfdb773844cf | [
"MIT"
] | 1 | 2020-03-14T11:00:14.000Z | 2020-03-14T11:00:14.000Z | db/db_helpers/peopleCredentialSelection.py | akarapun/elearning | fe116d5815925269819061ea183cbfdb773844cf | [
"MIT"
] | null | null | null | db/db_helpers/peopleCredentialSelection.py | akarapun/elearning | fe116d5815925269819061ea183cbfdb773844cf | [
"MIT"
] | null | null | null | from db_models import PeopleCredentialDBModel
from schema_models import PeopleCredentialSchemaModel
def selectPeopleCredentialByPeople(peopleCode, ctx):
query = PeopleCredentialSchemaModel.get_query(ctx)
peopleCredential = query.filter(PeopleCredentialDBModel.peopleCode == peopleCode).first()
return peopl... | 40.230769 | 93 | 0.8413 | 41 | 523 | 10.658537 | 0.487805 | 0.089245 | 0.196796 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105163 | 523 | 12 | 94 | 43.583333 | 0.933761 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.222222 | 0 | 0.666667 | 0 | 0 | 0 | 1 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
e90819a61a0ba173dee17eff5726ab172451cd93 | 316 | py | Python | mqtt_publish_demo.py | asobey/AutomateAllTheThings | 2eeab324a6011b08830a01cff0536789effa2543 | [
"MIT"
] | null | null | null | mqtt_publish_demo.py | asobey/AutomateAllTheThings | 2eeab324a6011b08830a01cff0536789effa2543 | [
"MIT"
] | null | null | null | mqtt_publish_demo.py | asobey/AutomateAllTheThings | 2eeab324a6011b08830a01cff0536789effa2543 | [
"MIT"
] | null | null | null | #!python3
# MQTT Publish Demo
# Publish two messages, to two differnt topics
import paho.mqtt.publish as publish
import time
publish.single('CoreElectronics/test', 'Hello', hostname='test.mosquitto.org')
time.sleep(4)
publish.single('CoreElectronics/topic', 'World!', hostname='test.mosquitto.org')
print('Done')
| 24.307692 | 80 | 0.762658 | 42 | 316 | 5.738095 | 0.619048 | 0.091286 | 0.232365 | 0.19917 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006993 | 0.094937 | 316 | 12 | 81 | 26.333333 | 0.835664 | 0.224684 | 0 | 0 | 0 | 0 | 0.380165 | 0.086777 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.166667 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
e92de0ea153c5debe63785c29cc73a4d5eed8d1f | 57 | py | Python | app/design/__init__.py | admariner/social-media-profiler | 2001167201fc9602fef3070ee9d31f005978bfe8 | [
"MIT"
] | 34 | 2020-12-14T15:48:26.000Z | 2022-02-27T14:24:29.000Z | app/design/__init__.py | pandrey2003/social-media-profiler | 4160e318997d161d63b8233511a65669542da026 | [
"MIT"
] | 1 | 2021-12-15T02:37:32.000Z | 2021-12-15T02:37:32.000Z | app/design/__init__.py | admariner/social-media-profiler | 2001167201fc9602fef3070ee9d31f005978bfe8 | [
"MIT"
] | 6 | 2021-02-11T16:29:04.000Z | 2022-03-23T11:42:32.000Z | # -*- coding: utf-8 -*-
"""The design of the project."""
| 19 | 32 | 0.54386 | 8 | 57 | 3.875 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021277 | 0.175439 | 57 | 2 | 33 | 28.5 | 0.638298 | 0.859649 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e94600f06a111baacf2875d2fe3c8240c58b33a4 | 160 | py | Python | timesheet/ext/site/__init__.py | uesleicarvalhoo/TimeSheet | 84094b5e33e3900be91951aeac9358971a048cae | [
"MIT"
] | null | null | null | timesheet/ext/site/__init__.py | uesleicarvalhoo/TimeSheet | 84094b5e33e3900be91951aeac9358971a048cae | [
"MIT"
] | null | null | null | timesheet/ext/site/__init__.py | uesleicarvalhoo/TimeSheet | 84094b5e33e3900be91951aeac9358971a048cae | [
"MIT"
] | null | null | null | from flask import Flask
from . import main, point
def init_app(app: Flask) -> None:
app.register_blueprint(main.bp)
app.register_blueprint(point.bp)
| 17.777778 | 36 | 0.73125 | 24 | 160 | 4.75 | 0.5 | 0.192982 | 0.350877 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16875 | 160 | 8 | 37 | 20 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.6 | 0.4 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
3a5e2c6bd0678e0c87ce746cfb5e0176bcadf7aa | 355 | py | Python | aiotlz/__init__.py | eabrouwer3/aiotoolz | 10790c9c5a8413502d8f35ce157966290492dbab | [
"BSD-3-Clause"
] | null | null | null | aiotlz/__init__.py | eabrouwer3/aiotoolz | 10790c9c5a8413502d8f35ce157966290492dbab | [
"BSD-3-Clause"
] | null | null | null | aiotlz/__init__.py | eabrouwer3/aiotoolz | 10790c9c5a8413502d8f35ce157966290492dbab | [
"BSD-3-Clause"
] | null | null | null | """``aiotlz`` mirrors the ``aiotoolz`` API and uses ``cytoolz`` if possible.
The ``aiotlz`` package is installed when ``aiotoolz`` is installed.
It provides a convenient way to use functions from ``cytoolz``--a faster
Cython implementation of ``aiotoolz``--if it is installed, otherwise it uses
functions from ``aiotool... | 35.5 | 76 | 0.726761 | 49 | 355 | 5.22449 | 0.632653 | 0.128906 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140845 | 355 | 9 | 77 | 39.444444 | 0.839344 | 0.904225 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
3a9f83c2e4ad396c97a3c2f8f70d8fd348e36285 | 105 | py | Python | tests/client/test_client.py | Global19-atlassian-net/python2 | 35e998bdf4a2a9f9852d5fcc841ff29218aea3cf | [
"MIT"
] | 1 | 2017-02-13T18:26:24.000Z | 2017-02-13T18:26:24.000Z | tests/client/test_client.py | Global19-atlassian-net/python2 | 35e998bdf4a2a9f9852d5fcc841ff29218aea3cf | [
"MIT"
] | null | null | null | tests/client/test_client.py | Global19-atlassian-net/python2 | 35e998bdf4a2a9f9852d5fcc841ff29218aea3cf | [
"MIT"
] | 2 | 2020-07-31T16:36:25.000Z | 2020-07-31T16:36:32.000Z | # Currently there are no client unit tests
# See tests/integration/ for client-server integration tests.
| 35 | 61 | 0.8 | 15 | 105 | 5.6 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 105 | 2 | 62 | 52.5 | 0.933333 | 0.952381 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
3aad2a7e0883a0f046ab890b92c84e86205fc4d1 | 148 | py | Python | src/tests/__init__.py | Kidron-Hou/category_division | e8163f16964d103c6fb932ca9caa30c04da89992 | [
"BSD-3-Clause"
] | null | null | null | src/tests/__init__.py | Kidron-Hou/category_division | e8163f16964d103c6fb932ca9caa30c04da89992 | [
"BSD-3-Clause"
] | null | null | null | src/tests/__init__.py | Kidron-Hou/category_division | e8163f16964d103c6fb932ca9caa30c04da89992 | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# @File : __init__.py.py
# @Description:
# @Time : 2020-6-1 上午 10:19
# @Author : Hou
| 18.5 | 33 | 0.52027 | 21 | 148 | 3.47619 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101852 | 0.27027 | 148 | 7 | 34 | 21.142857 | 0.574074 | 0.912162 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.