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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8e2469477e62481030a99518adb64b34a3daef77 | 164 | py | Python | agent/__init__.py | johnnylord/trytry-segmentation | a88d75571ddba92bd10ac2d7303bee9426188b62 | [
"MIT"
] | null | null | null | agent/__init__.py | johnnylord/trytry-segmentation | a88d75571ddba92bd10ac2d7303bee9426188b62 | [
"MIT"
] | null | null | null | agent/__init__.py | johnnylord/trytry-segmentation | a88d75571ddba92bd10ac2d7303bee9426188b62 | [
"MIT"
] | null | null | null | import sys
from .classification import ClassAgent
from .segmentation import SegmentAgent
def get_agent_cls(name):
return getattr(sys.modules[__name__], name)
| 20.5 | 47 | 0.804878 | 21 | 164 | 6 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128049 | 164 | 7 | 48 | 23.428571 | 0.881119 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.6 | 0.2 | 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 | 1 | 1 | 0 | 0 | 5 |
8e3d7ab03a2cb9fe47a807c5fe66844b9c84895c | 203 | py | Python | easy_equities_client/utils/dataclasses.py | Cipher099/easy-equities-client | 89786584a5e6fecd08d5dfce518197ac9c3a20ef | [
"MIT"
] | 7 | 2021-07-26T09:51:42.000Z | 2022-03-17T08:34:47.000Z | easy_equities_client/utils/dataclasses.py | Cipher099/easy-equities-client | 89786584a5e6fecd08d5dfce518197ac9c3a20ef | [
"MIT"
] | 1 | 2021-08-08T21:45:25.000Z | 2021-08-17T07:41:16.000Z | easy_equities_client/utils/dataclasses.py | Cipher099/easy-equities-client | 89786584a5e6fecd08d5dfce518197ac9c3a20ef | [
"MIT"
] | 4 | 2021-08-07T14:21:35.000Z | 2022-02-21T18:51:03.000Z | from dataclasses import asdict
from typing import Iterable, List, TypeVar
_T = TypeVar("_T")
def list_of_dataclasses_to_dicts(values: Iterable[_T]) -> List[dict]:
return list(map(asdict, values))
| 22.555556 | 69 | 0.753695 | 29 | 203 | 5.034483 | 0.586207 | 0.109589 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 203 | 8 | 70 | 25.375 | 0.834286 | 0 | 0 | 0 | 0 | 0 | 0.009852 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
8e45528a3fd3143885db559e49dc6cfce5c21457 | 27 | py | Python | hello_everybody.py | athosmartins/python_course | 267b745bedd56f89b18cbfae3b4efe71bb969525 | [
"CC0-1.0"
] | null | null | null | hello_everybody.py | athosmartins/python_course | 267b745bedd56f89b18cbfae3b4efe71bb969525 | [
"CC0-1.0"
] | null | null | null | hello_everybody.py | athosmartins/python_course | 267b745bedd56f89b18cbfae3b4efe71bb969525 | [
"CC0-1.0"
] | null | null | null | print('hello everybody')
| 13.5 | 26 | 0.703704 | 3 | 27 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.826087 | 0 | 0 | 0 | 0 | 0 | 0.576923 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
f3f7b58b0ab562caa741b4775e70d574d9fb0aa9 | 9,443 | py | Python | ecnet/datasets/load_data.py | ECRL/ECNet | 85bd81862e705440bd8dc5fa843465bfd4101048 | [
"MIT"
] | 5 | 2020-05-13T02:03:11.000Z | 2021-02-05T19:01:48.000Z | ecnet/datasets/load_data.py | ecrl/ecnet | 85bd81862e705440bd8dc5fa843465bfd4101048 | [
"MIT"
] | 5 | 2019-02-06T22:59:50.000Z | 2021-04-27T01:55:07.000Z | ecnet/datasets/load_data.py | TJKessler/ECNet | e7fe3e1674a3dd66f46f61337374ca8778031e34 | [
"MIT"
] | 2 | 2017-09-13T20:57:55.000Z | 2017-09-21T01:05:25.000Z | r"""Pre-bundled data interface"""
from typing import List, Tuple, Union
from os import path
from .structs import QSPRDatasetFromFile
_DATA_PATH = path.join(
path.dirname(path.abspath(__file__)),
'data'
)
def _open_smiles_file(smiles_fn: str) -> List[str]:
"""
Args:
smiles_fn (str): filename/... | 32.788194 | 97 | 0.637297 | 1,173 | 9,443 | 4.999147 | 0.104007 | 0.046044 | 0.053206 | 0.062756 | 0.761255 | 0.739256 | 0.717087 | 0.70515 | 0.694236 | 0.694236 | 0 | 0.000837 | 0.240813 | 9,443 | 287 | 98 | 32.902439 | 0.817129 | 0.536906 | 0 | 0.261905 | 0 | 0 | 0.033175 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.178571 | false | 0 | 0.035714 | 0 | 0.511905 | 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 | 1 | 0 | 0 | 5 |
6d0f1a1e2699254c830411fa60cb5b5ca1a88e0d | 128 | py | Python | python/pandemic_simulator/environment/pandemic_testing_strategies/__init__.py | stacyvjong/PandemicSimulator | eca906f5dc8135d7c90a1582b96621235f745c17 | [
"Apache-2.0"
] | null | null | null | python/pandemic_simulator/environment/pandemic_testing_strategies/__init__.py | stacyvjong/PandemicSimulator | eca906f5dc8135d7c90a1582b96621235f745c17 | [
"Apache-2.0"
] | null | null | null | python/pandemic_simulator/environment/pandemic_testing_strategies/__init__.py | stacyvjong/PandemicSimulator | eca906f5dc8135d7c90a1582b96621235f745c17 | [
"Apache-2.0"
] | null | null | null | # Confidential, Copyright 2020, Sony Corporation of America, All rights reserved.
# flake8: noqa
from .random_testing import *
| 25.6 | 81 | 0.78125 | 16 | 128 | 6.1875 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045872 | 0.148438 | 128 | 4 | 82 | 32 | 0.862385 | 0.71875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
6d11436e5588fcc9c520b1697a0e7d2bbbdf96dc | 157 | py | Python | UBM/__init__.py | inkenbrandt/UBM | f3b22058305761d63654a8caa671ec3b75d6209c | [
"MIT"
] | 1 | 2019-09-07T17:26:59.000Z | 2019-09-07T17:26:59.000Z | UBM/__init__.py | inkenbrandt/UBM | f3b22058305761d63654a8caa671ec3b75d6209c | [
"MIT"
] | null | null | null | UBM/__init__.py | inkenbrandt/UBM | f3b22058305761d63654a8caa671ec3b75d6209c | [
"MIT"
] | 1 | 2020-04-07T19:27:05.000Z | 2020-04-07T19:27:05.000Z | __version__ = '0.0.7'
__author__ = 'Paul Inkenbrandt'
__name__ = 'UBM'
import UBM
from UBM.calcs import *
from UBM.getdata import *
from UBM.zonal import *
| 17.444444 | 31 | 0.732484 | 23 | 157 | 4.478261 | 0.565217 | 0.203884 | 0.252427 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022727 | 0.159236 | 157 | 8 | 32 | 19.625 | 0.757576 | 0 | 0 | 0 | 0 | 0 | 0.152866 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.571429 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
6d1dab31d6742d3d9a9102656c9cff651bbf13cf | 84 | py | Python | mfr/extensions/jsc3d/__init__.py | yacchin1205/RDM-modular-file-renderer | 5bd18175a681d21e7be7fe0238132335a1cd8ded | [
"Apache-2.0"
] | 36 | 2015-08-31T20:24:22.000Z | 2021-12-17T17:02:44.000Z | mfr/extensions/jsc3d/__init__.py | yacchin1205/RDM-modular-file-renderer | 5bd18175a681d21e7be7fe0238132335a1cd8ded | [
"Apache-2.0"
] | 190 | 2015-01-02T06:22:01.000Z | 2022-01-19T11:27:03.000Z | mfr/extensions/jsc3d/__init__.py | yacchin1205/RDM-modular-file-renderer | 5bd18175a681d21e7be7fe0238132335a1cd8ded | [
"Apache-2.0"
] | 47 | 2015-01-27T15:45:22.000Z | 2021-01-27T22:43:03.000Z | from .render import JSC3DRenderer # noqa
from .export import JSC3DExporter # noqa
| 28 | 41 | 0.785714 | 10 | 84 | 6.6 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028571 | 0.166667 | 84 | 2 | 42 | 42 | 0.914286 | 0.107143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
6d44b36342e73bb5b2f36448bdbd37bce3c0f015 | 78 | py | Python | app/models/posts.py | domanisamuel/uliza-api | 5b4844671902aeca9243f60f86abaa5bcb3547e5 | [
"MIT"
] | 1 | 2019-09-14T19:44:24.000Z | 2019-09-14T19:44:24.000Z | app/models/posts.py | domanisamuel/uliza-api | 5b4844671902aeca9243f60f86abaa5bcb3547e5 | [
"MIT"
] | null | null | null | app/models/posts.py | domanisamuel/uliza-api | 5b4844671902aeca9243f60f86abaa5bcb3547e5 | [
"MIT"
] | 1 | 2019-10-30T08:41:57.000Z | 2019-10-30T08:41:57.000Z | # posts model
# create an empty list
posts=[]
def posts_db():
return posts | 15.6 | 22 | 0.692308 | 12 | 78 | 4.416667 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205128 | 78 | 5 | 23 | 15.6 | 0.854839 | 0.410256 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
edc45524c146ef744d65f9b9718efb2d1671e7a8 | 40 | py | Python | test_enumerate.py | sbyount/pynet_test | a82e73cdac57f263361b287b543543ace4c7984c | [
"Apache-2.0"
] | null | null | null | test_enumerate.py | sbyount/pynet_test | a82e73cdac57f263361b287b543543ace4c7984c | [
"Apache-2.0"
] | null | null | null | test_enumerate.py | sbyount/pynet_test | a82e73cdac57f263361b287b543543ace4c7984c | [
"Apache-2.0"
] | null | null | null | nums = range(10)
print nums
# comment
| 6.666667 | 16 | 0.675 | 6 | 40 | 4.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064516 | 0.225 | 40 | 5 | 17 | 8 | 0.806452 | 0.175 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
edcf872a37333f7ff80ecd959d65419ccc53c6e9 | 357 | py | Python | tests/test_util/test_first_and_only.py | u8sand/FAIRshake | 8f6f3dde42de29b88e9a43bdd43f848382e3bad7 | [
"Apache-2.0"
] | null | null | null | tests/test_util/test_first_and_only.py | u8sand/FAIRshake | 8f6f3dde42de29b88e9a43bdd43f848382e3bad7 | [
"Apache-2.0"
] | 8 | 2018-06-05T17:01:43.000Z | 2018-06-22T01:19:39.000Z | tests/test_util/test_first_and_only.py | u8sand/FAIRshake | 8f6f3dde42de29b88e9a43bdd43f848382e3bad7 | [
"Apache-2.0"
] | 1 | 2018-06-06T17:22:28.000Z | 2018-06-06T17:22:28.000Z | from app.util.first_and_only import first, first_and_only
def test_first():
assert first([1, 2]) == 1
def test_first_and_only():
assert first_and_only([1]) == 1
try:
first_and_only([])
assert "Doesn't raise when empty."
except:
pass
try:
first_and_only([1, 2])
assert "Doesn't raise whe... | 17.85 | 57 | 0.658263 | 58 | 357 | 3.810345 | 0.396552 | 0.217195 | 0.325792 | 0.162896 | 0.190045 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02518 | 0.221289 | 357 | 19 | 58 | 18.789474 | 0.769784 | 0 | 0 | 0.4 | 0 | 0 | 0.162465 | 0 | 0 | 0 | 0 | 0 | 0.266667 | 1 | 0.133333 | true | 0.133333 | 0.066667 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
ede594daf6f76c803cffaf03481e14fe0b86ee81 | 293 | py | Python | park/api/loader.py | galperins4/ARK-Python | 3a9bddfd605a6d4675cc1de00ab46c6304a7cf49 | [
"MIT"
] | 3 | 2017-12-22T06:27:57.000Z | 2018-01-09T18:18:35.000Z | park/api/loader.py | faustbrian/ARK-Python-Client | 3a9bddfd605a6d4675cc1de00ab46c6304a7cf49 | [
"MIT"
] | 2 | 2018-03-22T04:37:19.000Z | 2018-05-04T03:16:47.000Z | park/api/loader.py | faustbrian/ARK-Python-Client | 3a9bddfd605a6d4675cc1de00ab46c6304a7cf49 | [
"MIT"
] | 3 | 2017-12-22T19:13:49.000Z | 2018-01-20T20:28:14.000Z | #!/usr/bin/env python
from park.api.api import API
class Loader(API):
def status(self):
return self.get('api/loader/status')
def sync(self):
return self.get('api/loader/status/sync')
def autoconfigure(self):
return self.get('api/loader/autoconfigure')
| 19.533333 | 51 | 0.651877 | 41 | 293 | 4.658537 | 0.414634 | 0.157068 | 0.219895 | 0.267016 | 0.471204 | 0.471204 | 0.335079 | 0 | 0 | 0 | 0 | 0 | 0.208191 | 293 | 14 | 52 | 20.928571 | 0.823276 | 0.068259 | 0 | 0 | 0 | 0 | 0.231618 | 0.169118 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0.125 | 0.375 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
610c6d386558cc3ef93e10342bb3e92024584984 | 33 | py | Python | DoraemonPocket/src/multiprocessor/__init__.py | lizhihao6/DoraemonPocket | 4f1407efa8e2099bf80de9bbed324bf68d2f3640 | [
"MIT"
] | null | null | null | DoraemonPocket/src/multiprocessor/__init__.py | lizhihao6/DoraemonPocket | 4f1407efa8e2099bf80de9bbed324bf68d2f3640 | [
"MIT"
] | null | null | null | DoraemonPocket/src/multiprocessor/__init__.py | lizhihao6/DoraemonPocket | 4f1407efa8e2099bf80de9bbed324bf68d2f3640 | [
"MIT"
] | null | null | null | from .main import multiprocessing | 33 | 33 | 0.878788 | 4 | 33 | 7.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 33 | 1 | 33 | 33 | 0.966667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
611a237aabd4c4c9c19a9162a40fb720a8684efb | 141 | py | Python | backend/apps/likes/admin.py | MgArreaza13/wonderhumans | 865b65e4afa1ac32976a8c53959a7c58543dbe60 | [
"MIT"
] | null | null | null | backend/apps/likes/admin.py | MgArreaza13/wonderhumans | 865b65e4afa1ac32976a8c53959a7c58543dbe60 | [
"MIT"
] | null | null | null | backend/apps/likes/admin.py | MgArreaza13/wonderhumans | 865b65e4afa1ac32976a8c53959a7c58543dbe60 | [
"MIT"
] | null | null | null | # From Django
from django.contrib import admin
# My models
from .models import *
# Register your models here.
admin.site.register(LikeFeed) | 17.625 | 32 | 0.77305 | 20 | 141 | 5.45 | 0.6 | 0.183486 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148936 | 141 | 8 | 33 | 17.625 | 0.908333 | 0.340426 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
b62693bc86433a7725ceb446bff1a7c5ea0f2562 | 129 | py | Python | intents/data/spider_eval/preprocess/get_tables.py | chhavip/debaised-analysis | 3597d35ce74f8d20384d57f12f7eb65020f9370b | [
"Apache-2.0"
] | 1 | 2020-06-24T20:57:02.000Z | 2020-06-24T20:57:02.000Z | intents/data/spider_eval/preprocess/get_tables.py | chhavip/debaised-analysis | 3597d35ce74f8d20384d57f12f7eb65020f9370b | [
"Apache-2.0"
] | 30 | 2020-06-01T13:42:25.000Z | 2022-03-31T03:58:55.000Z | intents/data/spider_eval/preprocess/get_tables.py | chhavip/debaised-analysis | 3597d35ce74f8d20384d57f12f7eb65020f9370b | [
"Apache-2.0"
] | 10 | 2020-06-10T05:43:59.000Z | 2020-08-20T10:32:24.000Z | version https://git-lfs.github.com/spec/v1
oid sha256:df305b7beb6ed92a2118aa747c60c9bc6b9fb07302365d63d9bd51e602ef1305
size 5440
| 32.25 | 75 | 0.883721 | 13 | 129 | 8.769231 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.382114 | 0.046512 | 129 | 3 | 76 | 43 | 0.544715 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
b63a83c7e92408720915aadb0bc88b9d1b47b708 | 512 | py | Python | LerpColors.py | Wally869/GradientsLibrary | cff88e7d3eb189623d3ab484af59ca7b8226746a | [
"CC0-1.0"
] | null | null | null | LerpColors.py | Wally869/GradientsLibrary | cff88e7d3eb189623d3ab484af59ca7b8226746a | [
"CC0-1.0"
] | null | null | null | LerpColors.py | Wally869/GradientsLibrary | cff88e7d3eb189623d3ab484af59ca7b8226746a | [
"CC0-1.0"
] | 1 | 2022-03-20T21:07:16.000Z | 2022-03-20T21:07:16.000Z | from __future__ import annotations
from typing import List, Dict
def LerpColor(initialColor: List[float], targetColor: List[float], lerping_factor: float) -> List[float]:
return [initialColor[i] + (targetColor[i] - initialColor[i]) * lerping_factor for i in range(len(initialColor))]
def LerpColorMultipleSteps(ini... | 46.545455 | 120 | 0.759766 | 65 | 512 | 5.846154 | 0.384615 | 0.142105 | 0.110526 | 0.168421 | 0.215789 | 0.215789 | 0 | 0 | 0 | 0 | 0 | 0.002217 | 0.119141 | 512 | 10 | 121 | 51.2 | 0.840355 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 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 | 1 | 1 | 1 | 0 | 0 | 5 |
b66a8b6ed4e47540699c603a98ec5fbb0f940124 | 81 | py | Python | cajitos_site/bar/__init__.py | OlgaKuratkina/cajitos | 0bc13f71281a1a67c8bcd1a3ae343ad0b14d9bad | [
"MIT"
] | null | null | null | cajitos_site/bar/__init__.py | OlgaKuratkina/cajitos | 0bc13f71281a1a67c8bcd1a3ae343ad0b14d9bad | [
"MIT"
] | 7 | 2020-05-08T19:51:22.000Z | 2022-03-11T23:37:57.000Z | cajitos_site/bar/__init__.py | OlgaKuratkina/cajitos | 0bc13f71281a1a67c8bcd1a3ae343ad0b14d9bad | [
"MIT"
] | null | null | null | from flask import Blueprint
bar = Blueprint('bar', __name__, url_prefix='/bar')
| 20.25 | 51 | 0.740741 | 11 | 81 | 5 | 0.727273 | 0.436364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123457 | 81 | 3 | 52 | 27 | 0.774648 | 0 | 0 | 0 | 0 | 0 | 0.08642 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 1 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
b684806df970cfaabc50fbb0819ea2373b2cd81c | 41 | py | Python | application/guard.py | pachecobruno/python-ddd | 81812848a567d4605df346ef3630718d320706cc | [
"MIT"
] | null | null | null | application/guard.py | pachecobruno/python-ddd | 81812848a567d4605df346ef3630718d320706cc | [
"MIT"
] | null | null | null | application/guard.py | pachecobruno/python-ddd | 81812848a567d4605df346ef3630718d320706cc | [
"MIT"
] | null | null | null | # def goard_not_empty(value):
# pass
| 13.666667 | 29 | 0.658537 | 6 | 41 | 4.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.219512 | 41 | 2 | 30 | 20.5 | 0.78125 | 0.878049 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
fce3ab80290f5f348b05012f3e73d05212394d40 | 72 | py | Python | seffaflik/elektrik/__init__.py | tgbaozkn/seffaflik | b16bae9bf882ee81511c7f69428e58d22ec25600 | [
"MIT"
] | 10 | 2020-06-20T10:56:04.000Z | 2022-02-03T18:23:59.000Z | seffaflik/elektrik/__init__.py | tgbaozkn/seffaflik | b16bae9bf882ee81511c7f69428e58d22ec25600 | [
"MIT"
] | 1 | 2022-02-01T11:31:33.000Z | 2022-02-03T20:30:01.000Z | seffaflik/elektrik/__init__.py | tgbaozkn/seffaflik | b16bae9bf882ee81511c7f69428e58d22ec25600 | [
"MIT"
] | 6 | 2020-12-09T14:55:46.000Z | 2022-03-31T11:50:36.000Z | from seffaflik.elektrik import (piyasalar, santraller, tuketim, uretim)
| 36 | 71 | 0.819444 | 8 | 72 | 7.375 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097222 | 72 | 1 | 72 | 72 | 0.907692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
fcf351e70693983cbd311144fed5ea836d9968c3 | 257 | py | Python | venv/lib/python3.7/site-packages/serial/abc/__init__.py | FilipKatulski/Data_logger | ba2671c310cd0529e30ef73c99963564953beb64 | [
"MIT"
] | 16 | 2020-09-20T22:32:54.000Z | 2021-04-02T17:14:25.000Z | Venv-IDE/Lib/site-packages/serial/abc/__init__.py | myhumankit/Blind_IDE | 5262a5dd106f3f52a374a6c1ef68ff53d8847001 | [
"MIT"
] | 9 | 2022-02-21T11:44:01.000Z | 2022-03-14T15:36:08.000Z | Venv-IDE/Lib/site-packages/serial/abc/__init__.py | myhumankit/Blind_IDE | 5262a5dd106f3f52a374a6c1ef68ff53d8847001 | [
"MIT"
] | 1 | 2022-02-21T03:09:29.000Z | 2022-02-21T03:09:29.000Z | # region Backwards Compatibility
from __future__ import nested_scopes, generators, division, absolute_import, with_statement, \
print_function, unicode_literals
from ..utilities.compatibility import backport
backport()
from . import model, properties
| 25.7 | 94 | 0.821012 | 28 | 257 | 7.214286 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120623 | 257 | 9 | 95 | 28.555556 | 0.893805 | 0.116732 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0.2 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
fcfc758b97a83a004832b278144fd3b49754537b | 8,810 | py | Python | scikits/odes/tests/test_user_return_vals_cvode.py | cklb/odes | 945a461754c8155bca88aa83d725f77720a40539 | [
"BSD-3-Clause"
] | 95 | 2015-02-12T15:33:24.000Z | 2022-03-07T12:57:46.000Z | scikits/odes/tests/test_user_return_vals_cvode.py | cklb/odes | 945a461754c8155bca88aa83d725f77720a40539 | [
"BSD-3-Clause"
] | 89 | 2015-01-22T12:42:26.000Z | 2022-01-09T17:02:49.000Z | scikits/odes/tests/test_user_return_vals_cvode.py | cklb/odes | 945a461754c8155bca88aa83d725f77720a40539 | [
"BSD-3-Clause"
] | 29 | 2015-01-30T09:20:56.000Z | 2022-02-23T03:50:15.000Z |
from numpy.testing import TestCase, run_module_suite
from .. import ode
from ..sundials.cvode import StatusEnum
def normal_rhs(t, y, ydot):
ydot[0] = t
def complex_rhs(t, y, ydot):
ydot[0] = t - y
def rhs_with_return(t, y, ydot):
ydot[0] = t
return 0
def rhs_problem_late(t, y, ydot):
ydot[0] =... | 27.107692 | 122 | 0.583314 | 1,164 | 8,810 | 4.176117 | 0.071306 | 0.011932 | 0.064184 | 0.083933 | 0.872043 | 0.851471 | 0.80683 | 0.715696 | 0.685044 | 0.645958 | 0 | 0.023305 | 0.303519 | 8,810 | 324 | 123 | 27.191358 | 0.768905 | 0 | 0 | 0.550562 | 0 | 0 | 0.004995 | 0 | 0 | 0 | 0 | 0 | 0.089888 | 1 | 0.191011 | false | 0 | 0.011236 | 0.026217 | 0.277154 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
1e16f3d1c89d886ad2d4899dde50c3f5661ca496 | 42 | py | Python | sappy/tests/__init__.py | jacebrowning/sappy | ab5da21f36385a3b3d34f1a6c1f60686f4522499 | [
"MIT"
] | 8 | 2016-06-10T14:21:42.000Z | 2018-07-10T20:36:21.000Z | sappy/tests/__init__.py | jacebrowning/sappy | ab5da21f36385a3b3d34f1a6c1f60686f4522499 | [
"MIT"
] | 8 | 2016-06-10T22:10:02.000Z | 2021-03-31T20:20:21.000Z | sappy/tests/__init__.py | jacebrowning/sappy | ab5da21f36385a3b3d34f1a6c1f60686f4522499 | [
"MIT"
] | 2 | 2016-06-10T21:34:47.000Z | 2016-06-15T18:35:53.000Z | """Unit tests for the `sappy` package."""
| 21 | 41 | 0.642857 | 6 | 42 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 42 | 1 | 42 | 42 | 0.75 | 0.833333 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
1e6f828c44a9c149140baa0a2810e2171491c950 | 374 | py | Python | stores/services.py | WorqHat/contact-tracing | 77adfdeb009ef0a4900a36d8756526cbdf3f60d2 | [
"MIT"
] | null | null | null | stores/services.py | WorqHat/contact-tracing | 77adfdeb009ef0a4900a36d8756526cbdf3f60d2 | [
"MIT"
] | null | null | null | stores/services.py | WorqHat/contact-tracing | 77adfdeb009ef0a4900a36d8756526cbdf3f60d2 | [
"MIT"
] | null | null | null | from django.contrib.gis.geos import Point
from django.contrib.gis.db.models.functions import Distance
from django.contrib.gis.measure import D
from django.contrib.gis.geos import GEOSGeometry
# import your models here
def get_nearby_stores_within(latitude: float, longitude: float, km: int=10, limit: int=None, srid: i... | 31.166667 | 109 | 0.780749 | 58 | 374 | 4.982759 | 0.586207 | 0.138408 | 0.235294 | 0.276817 | 0.207612 | 0.207612 | 0 | 0 | 0 | 0 | 0 | 0.018519 | 0.13369 | 374 | 11 | 110 | 34 | 0.873457 | 0.117647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.666667 | 0.166667 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
949c0d9cddfd7fb0e501b0de642b35b222a10d8d | 213 | py | Python | nimfa/utils/__init__.py | askerdb/nimfa | 3e3353e60d53fd409b53c46fde23f4f6fef64aaf | [
"BSD-3-Clause"
] | 325 | 2015-04-05T01:37:17.000Z | 2020-02-01T08:06:02.000Z | nimfa/utils/__init__.py | askerdb/nimfa | 3e3353e60d53fd409b53c46fde23f4f6fef64aaf | [
"BSD-3-Clause"
] | 32 | 2015-03-30T12:55:47.000Z | 2020-01-17T10:53:54.000Z | nimfa/utils/__init__.py | askerdb/nimfa | 3e3353e60d53fd409b53c46fde23f4f6fef64aaf | [
"BSD-3-Clause"
] | 104 | 2015-03-25T22:42:47.000Z | 2020-01-30T23:06:36.000Z |
"""
This package contains implementations of linear algebra operations for sparse and dense matrices and
utils for convenient operation of nimfa library.
"""
from . import linalg
from . import utils
| 23.666667 | 104 | 0.746479 | 27 | 213 | 5.888889 | 0.777778 | 0.125786 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.211268 | 213 | 8 | 105 | 26.625 | 0.946429 | 0.699531 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
94b2ca1387d03070aee2e234f8a5114c59e7f0e1 | 386 | py | Python | pages/themes/beginners/sequenceDataTypes/examples/list_of_tuples.py | ProgressBG-Python-Course/ProgressBG-VC2-Python | 03b892a42ee1fad3d4f97e328e06a4b1573fd356 | [
"MIT"
] | null | null | null | pages/themes/beginners/sequenceDataTypes/examples/list_of_tuples.py | ProgressBG-Python-Course/ProgressBG-VC2-Python | 03b892a42ee1fad3d4f97e328e06a4b1573fd356 | [
"MIT"
] | null | null | null | pages/themes/beginners/sequenceDataTypes/examples/list_of_tuples.py | ProgressBG-Python-Course/ProgressBG-VC2-Python | 03b892a42ee1fad3d4f97e328e06a4b1573fd356 | [
"MIT"
] | null | null | null | ### create list_of_tuples:
points = [
(1,2),
(3,4),
(5,6)
]
### retrieve the first element from the first tuple:
print(points[0][0])
# 1
### retrieve the last element from the first tuple:
print(points[0][-1])
# 2
### retrieve the first element from the last tuple:
print(points[-1][0])
# 5
### retrieve ... | 15.44 | 52 | 0.632124 | 63 | 386 | 3.84127 | 0.31746 | 0.181818 | 0.231405 | 0.190083 | 0.842975 | 0.842975 | 0.586777 | 0.586777 | 0 | 0 | 0 | 0.058065 | 0.196891 | 386 | 24 | 53 | 16.083333 | 0.722581 | 0.57513 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.444444 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
94dafd270099e8ff2bfddd997ed67d6afc111ffa | 75 | py | Python | higgins/__init__.py | bfortuner/higgins | c8ab098c1496ee9b45efc3fc667d894d86031f67 | [
"MIT"
] | null | null | null | higgins/__init__.py | bfortuner/higgins | c8ab098c1496ee9b45efc3fc667d894d86031f67 | [
"MIT"
] | null | null | null | higgins/__init__.py | bfortuner/higgins | c8ab098c1496ee9b45efc3fc667d894d86031f67 | [
"MIT"
] | null | null | null | from dotenv import dotenv_values, load_dotenv
load_dotenv(".env.secret")
| 15 | 45 | 0.8 | 11 | 75 | 5.181818 | 0.636364 | 0.350877 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106667 | 75 | 4 | 46 | 18.75 | 0.850746 | 0 | 0 | 0 | 0 | 0 | 0.146667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
bfab9ffb141f68395208dd47218c008366b1fdb8 | 41 | py | Python | src/tweet_extraction/test1.py | Swadesh13/twitter-data-collection | b72c1d94b36c3a981f68ddc01b950fd36b3d19e1 | [
"MIT"
] | null | null | null | src/tweet_extraction/test1.py | Swadesh13/twitter-data-collection | b72c1d94b36c3a981f68ddc01b950fd36b3d19e1 | [
"MIT"
] | null | null | null | src/tweet_extraction/test1.py | Swadesh13/twitter-data-collection | b72c1d94b36c3a981f68ddc01b950fd36b3d19e1 | [
"MIT"
] | 1 | 2021-04-26T04:57:26.000Z | 2021-04-26T04:57:26.000Z | def f(t):
t.append(1)
t.append(2) | 13.666667 | 15 | 0.512195 | 9 | 41 | 2.333333 | 0.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 0.268293 | 41 | 3 | 16 | 13.666667 | 0.633333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.333333 | 0 | 1 | 1 | 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 | 5 |
bfc967eb646999613b6d9cedbba5a89d5752dfd0 | 26,800 | py | Python | tests/test_album.py | spankders/pyspotify | b18ac0c72771e6c3418f0d57b775ae5c6e1ab44e | [
"Apache-2.0"
] | 1 | 2019-07-20T08:31:49.000Z | 2019-07-20T08:31:49.000Z | tests/test_album.py | spankders/pyspotify | b18ac0c72771e6c3418f0d57b775ae5c6e1ab44e | [
"Apache-2.0"
] | null | null | null | tests/test_album.py | spankders/pyspotify | b18ac0c72771e6c3418f0d57b775ae5c6e1ab44e | [
"Apache-2.0"
] | null | null | null | from __future__ import unicode_literals
import unittest
import spotify
from spotify import compat
import tests
from tests import mock
@mock.patch('spotify.album.lib', spec=spotify.lib)
class AlbumTest(unittest.TestCase):
def setUp(self):
self.session = tests.create_session_mock()
def test_create_... | 39.411765 | 79 | 0.696828 | 3,547 | 26,800 | 4.922188 | 0.051875 | 0.139241 | 0.064952 | 0.077897 | 0.847643 | 0.795635 | 0.769517 | 0.726044 | 0.694942 | 0.654276 | 0 | 0.011256 | 0.207687 | 26,800 | 679 | 80 | 39.469809 | 0.810964 | 0.01097 | 0 | 0.650794 | 0 | 0 | 0.048421 | 0 | 0 | 0 | 0 | 0 | 0.232143 | 1 | 0.115079 | false | 0 | 0.011905 | 0 | 0.132937 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
bfd34bc56d52821f908b1af998aa8de5581aabe0 | 347 | py | Python | Darlington/phase1/python Basic 2/day 26 solution/qtn5.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 6 | 2020-05-23T19:53:25.000Z | 2021-05-08T20:21:30.000Z | Darlington/phase1/python Basic 2/day 26 solution/qtn5.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 8 | 2020-05-14T18:53:12.000Z | 2020-07-03T00:06:20.000Z | Darlington/phase1/python Basic 2/day 26 solution/qtn5.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 39 | 2020-05-10T20:55:02.000Z | 2020-09-12T17:40:59.000Z | #program to check whether every even index contains an even number
# and every odd index contains odd number of a given list.
def odd_even_position(nums):
return all(nums[i]%2==i%2 for i in range(len(nums)))
print(odd_even_position([2, 1, 4, 3, 6, 7, 6, 3]))
print(odd_even_position([2, 1, 4, 3, 6, 7, 6, 4]))
print(od... | 49.571429 | 66 | 0.70317 | 71 | 347 | 3.323944 | 0.464789 | 0.118644 | 0.254237 | 0.254237 | 0.228814 | 0.228814 | 0.228814 | 0.228814 | 0.228814 | 0.228814 | 0 | 0.070946 | 0.146974 | 347 | 7 | 67 | 49.571429 | 0.726351 | 0.354467 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0.2 | 0.4 | 0.6 | 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 | 1 | 0 | 1 | 0 | 5 |
44d75cb245c611754dd7b4e77f25c2a7f6054a2a | 34 | py | Python | version.py | Vodzilla/OoT-Randomizer | 9b327f5508777b455884497084408c7b4f152a0f | [
"MIT"
] | null | null | null | version.py | Vodzilla/OoT-Randomizer | 9b327f5508777b455884497084408c7b4f152a0f | [
"MIT"
] | null | null | null | version.py | Vodzilla/OoT-Randomizer | 9b327f5508777b455884497084408c7b4f152a0f | [
"MIT"
] | null | null | null | __version__ = '6.2.76 rreal-2.2.3' | 34 | 34 | 0.676471 | 8 | 34 | 2.375 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.225806 | 0.088235 | 34 | 1 | 34 | 34 | 0.387097 | 0 | 0 | 0 | 0 | 0 | 0.514286 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
44def8689134f67aa1b860487f12be6e042857cf | 2,930 | py | Python | tests/test_binaryTree.py | maxotar/datastructures | ba6c499e0bd894ff9b01557048e7a93d91774d39 | [
"MIT"
] | null | null | null | tests/test_binaryTree.py | maxotar/datastructures | ba6c499e0bd894ff9b01557048e7a93d91774d39 | [
"MIT"
] | null | null | null | tests/test_binaryTree.py | maxotar/datastructures | ba6c499e0bd894ff9b01557048e7a93d91774d39 | [
"MIT"
] | null | null | null | from datastructures.binaryTree import BinaryTree
def test_creation():
root = BinaryTree(7)
assert root.data == 7
assert root.left is None
assert root.right is None
def test_insertion():
root = BinaryTree(0)
root.insertRight(2)
root.insertRight(1)
assert root.right.data == 1
asser... | 26.636364 | 71 | 0.630375 | 411 | 2,930 | 4.447689 | 0.082725 | 0.122538 | 0.073851 | 0.093545 | 0.765864 | 0.765864 | 0.765864 | 0.765864 | 0.765864 | 0.739059 | 0 | 0.050196 | 0.218089 | 2,930 | 109 | 72 | 26.880734 | 0.747708 | 0.110922 | 0 | 0.641026 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.128205 | false | 0 | 0.012821 | 0 | 0.141026 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
44ef5ab6401a4468d39f7f1e5a712810a50d5f98 | 2,091 | py | Python | populous/advertising/urls.py | caiges/populous | d07094f9d6b2528d282ed99af0063002480bc00b | [
"BSD-3-Clause"
] | 2 | 2016-05-09T01:17:08.000Z | 2017-07-18T23:35:01.000Z | populous/advertising/urls.py | caiges/populous | d07094f9d6b2528d282ed99af0063002480bc00b | [
"BSD-3-Clause"
] | null | null | null | populous/advertising/urls.py | caiges/populous | d07094f9d6b2528d282ed99af0063002480bc00b | [
"BSD-3-Clause"
] | null | null | null | from django.conf.urls.defaults import *
urlpatterns = patterns('',
(r'^/?$', 'populous.advertising.views.index'),
(r'^classifieds/?$', 'populous.advertising.views.classifieds_index'),
(r'^classifieds/list/?$', 'django.views.generic.simple.direct_to_template', {'template': 'advertising/classifieds/list.html... | 80.423077 | 144 | 0.678623 | 230 | 2,091 | 6.047826 | 0.173913 | 0.273185 | 0.345075 | 0.176132 | 0.562904 | 0.457944 | 0.363048 | 0.173976 | 0.173976 | 0.173976 | 0 | 0 | 0.068867 | 2,091 | 26 | 145 | 80.423077 | 0.714432 | 0.824008 | 0 | 0 | 0 | 0 | 0.583815 | 0.447977 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
78053eb08569a40eed5acef650446a7b6574c433 | 9,235 | py | Python | alaska2/models/hpf_net.py | simphide/Kaggle-2020-Alaska2 | 3c1f5e8e564c9f04423beef69244fc74168f88ca | [
"MIT"
] | 21 | 2020-08-09T11:30:16.000Z | 2021-06-28T14:15:08.000Z | alaska2/models/hpf_net.py | simphide/Kaggle-2020-Alaska2 | 3c1f5e8e564c9f04423beef69244fc74168f88ca | [
"MIT"
] | 11 | 2020-08-09T15:30:54.000Z | 2022-02-10T07:34:39.000Z | alaska2/models/hpf_net.py | simphide/Kaggle-2020-Alaska2 | 3c1f5e8e564c9f04423beef69244fc74168f88ca | [
"MIT"
] | 3 | 2020-08-09T14:29:03.000Z | 2021-05-27T13:07:12.000Z | import numpy as np
import torch
from pytorch_toolbelt.modules import Normalize, GlobalAvgPool2d
from torch import nn
from alaska2.dataset import INPUT_IMAGE_KEY, OUTPUT_PRED_MODIFICATION_FLAG, OUTPUT_PRED_MODIFICATION_TYPE
from alaska2.models.modules import TLU, SqrtmLayer, CovpoolLayer, TriuvecLayer
from alaska2.mode... | 32.748227 | 108 | 0.632918 | 1,219 | 9,235 | 4.567678 | 0.123872 | 0.037716 | 0.039691 | 0.042026 | 0.769576 | 0.7412 | 0.720905 | 0.710129 | 0.702227 | 0.695402 | 0 | 0.053497 | 0.249053 | 9,235 | 281 | 109 | 32.864769 | 0.749387 | 0.015485 | 0 | 0.628713 | 0 | 0 | 0.012108 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.089109 | false | 0 | 0.049505 | 0.024752 | 0.227723 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
780dde820e3f5d180e77698081bd07936c27a4ea | 130 | py | Python | engine/src/juliabox/plugins/parallel/__init__.py | shashi/JuliaBox | 10f65b3ed1b5b2ca703a4ff2c79940cc10c66c61 | [
"MIT"
] | 50 | 2016-09-09T02:17:09.000Z | 2022-03-15T17:16:20.000Z | engine/src/juliabox/plugins/parallel/__init__.py | wsshin/JuliaBox | 395df7654834f9671ab132cd29c02fb05ce42c27 | [
"MIT"
] | 58 | 2016-08-29T19:19:28.000Z | 2018-11-14T01:49:16.000Z | engine/src/juliabox/plugins/parallel/__init__.py | wsshin/JuliaBox | 395df7654834f9671ab132cd29c02fb05ce42c27 | [
"MIT"
] | 24 | 2016-09-27T18:20:54.000Z | 2022-01-02T09:37:44.000Z | __author__ = 'tan'
from parallel_handler import ParallelHandler, ParallelUIModule
from parallel_housekeep import ParallelHousekeep | 43.333333 | 62 | 0.884615 | 13 | 130 | 8.384615 | 0.769231 | 0.220183 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084615 | 130 | 3 | 63 | 43.333333 | 0.915966 | 0 | 0 | 0 | 0 | 0 | 0.022901 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
78222ea098cdb2faa83489e96534d7ffb7a593df | 9,138 | py | Python | dbas_export_mockup.py | hhucn/dabasco | 847cf550b4f55baf21446564c908e992a69366f0 | [
"MIT"
] | 5 | 2017-08-02T16:55:10.000Z | 2019-05-15T21:05:10.000Z | dbas_export_mockup.py | hhucn/dabasco | 847cf550b4f55baf21446564c908e992a69366f0 | [
"MIT"
] | null | null | null | dbas_export_mockup.py | hhucn/dabasco | 847cf550b4f55baf21446564c908e992a69366f0 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
from flask import Flask, jsonify
from flask_cors import CORS
app = Flask(__name__)
CORS(app) # Set security headers for Web requests
@app.route('/export/doj/<int:discussion>')
def export_dummy_discussion(discussion):
"""
Return a json string with dbas export style data of an example ... | 35.976378 | 84 | 0.496389 | 852 | 9,138 | 5.08216 | 0.107981 | 0.162125 | 0.22448 | 0.162125 | 0.842956 | 0.790993 | 0.750346 | 0.659815 | 0.568822 | 0.527483 | 0 | 0.060567 | 0.401948 | 9,138 | 253 | 85 | 36.118577 | 0.731747 | 0.118407 | 0 | 0.623116 | 0 | 0 | 0.106884 | 0.01627 | 0 | 0 | 0 | 0 | 0 | 1 | 0.01005 | false | 0 | 0.01005 | 0 | 0.030151 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 5 |
78565da6d625c61f6fe3867f98d424696bca30d8 | 183 | py | Python | lil_url/helpers/redis_helper.py | omprakash1989/LilUrl | c230a8aaa985ea1d9d446634237a05002a3616c4 | [
"MIT"
] | null | null | null | lil_url/helpers/redis_helper.py | omprakash1989/LilUrl | c230a8aaa985ea1d9d446634237a05002a3616c4 | [
"MIT"
] | null | null | null | lil_url/helpers/redis_helper.py | omprakash1989/LilUrl | c230a8aaa985ea1d9d446634237a05002a3616c4 | [
"MIT"
] | null | null | null | import redis
# Get redis connection.
def get_redis(host='localhost', port='6379'):
return redis.StrictRedis(host=host, port=port, db=2, charset="utf-8", decode_responses=True)
| 22.875 | 96 | 0.73224 | 27 | 183 | 4.888889 | 0.703704 | 0.121212 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037267 | 0.120219 | 183 | 7 | 97 | 26.142857 | 0.782609 | 0.114754 | 0 | 0 | 0 | 0 | 0.1125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 5 |
785c4d15bcba68a7629cd4680f994189a1293991 | 106 | py | Python | vim.py | RJ722/Repo-with-spaces | 7efd9dcb35a760d7fd02ef88f9bdde3b26a846bb | [
"MIT"
] | null | null | null | vim.py | RJ722/Repo-with-spaces | 7efd9dcb35a760d7fd02ef88f9bdde3b26a846bb | [
"MIT"
] | null | null | null | vim.py | RJ722/Repo-with-spaces | 7efd9dcb35a760d7fd02ef88f9bdde3b26a846bb | [
"MIT"
] | null | null | null | # Vim has the best keybindings ever
class Vim:
@property
def __best__(self):
return True
| 15.142857 | 35 | 0.650943 | 14 | 106 | 4.642857 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.292453 | 106 | 6 | 36 | 17.666667 | 0.866667 | 0.311321 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
7875f4086bb8b7197a2b65d49fba7f41337c60d8 | 19,453 | py | Python | tests/program_analysis/GCC2GrFN/test_gcc_plugin_c.py | ml4ai/automates | 3bb996be27e9ee9f99e931b885707dae2c2ac567 | [
"Apache-2.0"
] | 17 | 2018-12-19T16:32:38.000Z | 2021-10-05T07:58:15.000Z | tests/program_analysis/GCC2GrFN/test_gcc_plugin_c.py | ml4ai/automates | 3bb996be27e9ee9f99e931b885707dae2c2ac567 | [
"Apache-2.0"
] | 183 | 2018-12-20T17:03:01.000Z | 2022-02-23T22:21:42.000Z | tests/program_analysis/GCC2GrFN/test_gcc_plugin_c.py | ml4ai/automates | 3bb996be27e9ee9f99e931b885707dae2c2ac567 | [
"Apache-2.0"
] | 5 | 2019-01-04T22:37:49.000Z | 2022-01-19T17:34:16.000Z | import pytest
import subprocess
import os
import random
import json
import numpy as np
from sys import platform
# import automates.model_assembly.networks as networks
import automates.utils.misc as misc
from automates.program_analysis.CAST2GrFN.cast import CAST
from automates.model_assembly.networks import GroundedFun... | 28.734121 | 102 | 0.687812 | 2,766 | 19,453 | 4.505785 | 0.106291 | 0.063548 | 0.027602 | 0.041403 | 0.765867 | 0.74332 | 0.719329 | 0.708016 | 0.698147 | 0.653936 | 0 | 0.006534 | 0.173906 | 19,453 | 676 | 103 | 28.776627 | 0.769011 | 0.05228 | 0 | 0.606593 | 0 | 0 | 0.236436 | 0.171469 | 0 | 0 | 0 | 0.001479 | 0.107692 | 1 | 0.101099 | false | 0.059341 | 0.024176 | 0 | 0.125275 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
152790b0bd9662df8a8696f7020617e7b6a9230b | 265,491 | py | Python | Tests/IndicesTest.py | Xen0byte/ironpython3 | 2e5bb6025d01ab52ea4bfbaf6fd7e0fec8ec0194 | [
"Apache-2.0"
] | null | null | null | Tests/IndicesTest.py | Xen0byte/ironpython3 | 2e5bb6025d01ab52ea4bfbaf6fd7e0fec8ec0194 | [
"Apache-2.0"
] | null | null | null | Tests/IndicesTest.py | Xen0byte/ironpython3 | 2e5bb6025d01ab52ea4bfbaf6fd7e0fec8ec0194 | [
"Apache-2.0"
] | null | null | null | # Licensed to the .NET Foundation under one or more agreements.
# The .NET Foundation licenses this file to you under the Apache 2.0 License.
# See the LICENSE file in the project root for more information.
# generated by generate_indicestest.py
def test_indices(self):
def t(i, j, k, l, r):
rr = slice(i, ... | 51.904399 | 154 | 0.571341 | 40,907 | 265,491 | 3.708021 | 0.001613 | 0.022428 | 0.009612 | 0.006883 | 0.936282 | 0.877561 | 0.822025 | 0.148025 | 0.147445 | 0.10717 | 0 | 0.666533 | 0.21177 | 265,491 | 5,114 | 155 | 51.914548 | 0.058298 | 0.000893 | 0 | 0 | 0 | 0.000196 | 0.000173 | 0 | 0 | 0 | 0 | 0 | 0.000196 | 1 | 0.000392 | false | 0 | 0 | 0 | 0.000392 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
152e97d1307d074dead11680c6d7467fec700b22 | 44 | py | Python | tests/__init__.py | abdulfahad66/result-service-gui | 214342dd6d00f1173bfe90f8429c7d6c9947783b | [
"Apache-2.0"
] | 1 | 2021-02-08T09:36:08.000Z | 2021-02-08T09:36:08.000Z | tests/__init__.py | abdulfahad66/result-service-gui | 214342dd6d00f1173bfe90f8429c7d6c9947783b | [
"Apache-2.0"
] | 76 | 2021-07-28T22:36:16.000Z | 2022-03-23T22:52:54.000Z | tests/__init__.py | langrenn-sprint/sprint-webserver | 065a96d102a6658e5422ea6a0be5abde4b6558e1 | [
"Apache-2.0"
] | null | null | null | """Test package.
Modules:
conftest
"""
| 7.333333 | 16 | 0.590909 | 4 | 44 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 44 | 5 | 17 | 8.8 | 0.764706 | 0.818182 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
155add187b27cdb39c94840f79b7256e718f024d | 290 | py | Python | tests/test_stack_trace_c.py | jamespic/profil-o-matic | 9474c6bfaadd081c367ec774a9a3948baf5fa5f4 | [
"MIT"
] | null | null | null | tests/test_stack_trace_c.py | jamespic/profil-o-matic | 9474c6bfaadd081c367ec774a9a3948baf5fa5f4 | [
"MIT"
] | null | null | null | tests/test_stack_trace_c.py | jamespic/profil-o-matic | 9474c6bfaadd081c367ec774a9a3948baf5fa5f4 | [
"MIT"
] | null | null | null | import unittest
from .base_stack_trace_test import BaseStackTraceTest
try:
from profilomatic._stack_trace import generate_stack_trace
class CStackTraceTest(BaseStackTraceTest, unittest.TestCase):
stack_trace_fn = generate_stack_trace.__call__
except ImportError:
pass
| 26.363636 | 65 | 0.817241 | 33 | 290 | 6.727273 | 0.575758 | 0.225225 | 0.162162 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144828 | 290 | 10 | 66 | 29 | 0.895161 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.125 | 0.5 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
1571da32dbdbe9ca7b65a67af3df29e2267a3d1b | 50 | py | Python | src/StatusIndia/__init__.py | sudharshanakshay/CovidStatusIndia | 86e7a85c445caa00937e9f923b48d07d3c8cf529 | [
"MIT"
] | null | null | null | src/StatusIndia/__init__.py | sudharshanakshay/CovidStatusIndia | 86e7a85c445caa00937e9f923b48d07d3c8cf529 | [
"MIT"
] | null | null | null | src/StatusIndia/__init__.py | sudharshanakshay/CovidStatusIndia | 86e7a85c445caa00937e9f923b48d07d3c8cf529 | [
"MIT"
] | null | null | null | from src.StatusIndia.main import IndiaWebScrapper
| 25 | 49 | 0.88 | 6 | 50 | 7.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 50 | 1 | 50 | 50 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
ec7cd1b9556121004a0227a69cd3f1e70df3e2b6 | 111 | py | Python | datatype12.py | praveenpmin/Python | 513fcde7430b03a187e2c7e58302b88645388eed | [
"MIT"
] | null | null | null | datatype12.py | praveenpmin/Python | 513fcde7430b03a187e2c7e58302b88645388eed | [
"MIT"
] | null | null | null | datatype12.py | praveenpmin/Python | 513fcde7430b03a187e2c7e58302b88645388eed | [
"MIT"
] | null | null | null | # Declaring a list
L = [1, "a" , "string" , 1+2]
print (L)
L.append(6)
print (L)
L.pop()
print (L)
print (L[1]) | 13.875 | 29 | 0.558559 | 23 | 111 | 2.695652 | 0.478261 | 0.387097 | 0.225806 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 0.189189 | 111 | 8 | 30 | 13.875 | 0.633333 | 0.144144 | 0 | 0.428571 | 0 | 0 | 0.074468 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.571429 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
ec91ded76df9d568ea1b7532fe448ad3f77879f1 | 65 | py | Python | lieu_de_travail/views.py | ghassen3699/Site_web_Projet | 20eca8ded72f4e798862dd5440000afe04892092 | [
"Apache-2.0"
] | null | null | null | lieu_de_travail/views.py | ghassen3699/Site_web_Projet | 20eca8ded72f4e798862dd5440000afe04892092 | [
"Apache-2.0"
] | null | null | null | lieu_de_travail/views.py | ghassen3699/Site_web_Projet | 20eca8ded72f4e798862dd5440000afe04892092 | [
"Apache-2.0"
] | null | null | null | from django.shortcuts import render
from . import forms, models
| 16.25 | 35 | 0.8 | 9 | 65 | 5.777778 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 65 | 3 | 36 | 21.666667 | 0.945455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
ecbe30d2df03649b92d43e6e53516540265923cd | 19,792 | py | Python | src/modules/capsule.py | zhengzx-nlp/dynamic-nmt | 65b321898c5020942d76b85701123fd272e3ae9e | [
"MIT"
] | 7 | 2019-08-29T01:49:49.000Z | 2022-02-25T05:53:13.000Z | src/modules/capsule.py | zhengzx-nlp/dynamic-nmt | 65b321898c5020942d76b85701123fd272e3ae9e | [
"MIT"
] | 1 | 2019-11-07T03:14:18.000Z | 2019-11-07T03:27:08.000Z | src/modules/capsule.py | zhengzx-nlp/dynamic-nmt | 65b321898c5020942d76b85701123fd272e3ae9e | [
"MIT"
] | null | null | null | # -*- coding: UTF-8 -*-
# Copyright 2018, Natural Language Processing Group, Nanjing University,
#
# Author: Zheng Zaixiang
# Contact: zhengzx@nlp.nju.edu.cn
# or zhengzx.142857@gmail.com
#
from __future__ import absolute_import
from __future__ import division
from __future__ import print_fun... | 40.72428 | 119 | 0.622474 | 2,819 | 19,792 | 3.942888 | 0.070947 | 0.093837 | 0.080072 | 0.062978 | 0.79982 | 0.773189 | 0.748178 | 0.732614 | 0.704903 | 0.674224 | 0 | 0.012373 | 0.269048 | 19,792 | 485 | 120 | 40.808247 | 0.755927 | 0.292896 | 0 | 0.4875 | 0 | 0 | 0.015014 | 0 | 0 | 0 | 0 | 0 | 0.008333 | 1 | 0.079167 | false | 0 | 0.033333 | 0.008333 | 0.183333 | 0.004167 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
ece58d7abdd9805c6dc4ca3d07d6388273c83b1b | 70 | py | Python | src/hub/dataload/sources/reactome/__init__.py | mlebeur/mygene.info | e71ca89c2b1c546c260101286ad5419503fd6653 | [
"Apache-2.0"
] | 78 | 2017-05-26T08:38:25.000Z | 2022-02-25T08:55:31.000Z | src/hub/dataload/sources/reactome/__init__.py | mlebeur/mygene.info | e71ca89c2b1c546c260101286ad5419503fd6653 | [
"Apache-2.0"
] | 105 | 2017-05-18T21:57:13.000Z | 2022-03-18T21:41:47.000Z | src/hub/dataload/sources/reactome/__init__.py | mlebeur/mygene.info | e71ca89c2b1c546c260101286ad5419503fd6653 | [
"Apache-2.0"
] | 19 | 2017-06-12T18:31:54.000Z | 2021-11-10T00:04:43.000Z | from .dump import ReactomeDumper
from .upload import ReactomeUploader
| 23.333333 | 36 | 0.857143 | 8 | 70 | 7.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 70 | 2 | 37 | 35 | 0.967742 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
01ca817d0411485377d1fce11f06b109032977e1 | 654 | py | Python | serverctl_deployd/dependencies.py | delta/serverctl_daemon | 3999539da01715affc8a3471d860294184756e6f | [
"MIT"
] | 2 | 2021-09-18T15:30:33.000Z | 2021-12-23T01:50:19.000Z | serverctl_deployd/dependencies.py | delta/serverctl_daemon | 3999539da01715affc8a3471d860294184756e6f | [
"MIT"
] | 54 | 2021-09-18T12:22:38.000Z | 2022-03-30T13:25:17.000Z | serverctl_deployd/dependencies.py | delta/serverctl_deployd | 3999539da01715affc8a3471d860294184756e6f | [
"MIT"
] | null | null | null | """
Miscellaneous dependencies for the API.
"""
from functools import lru_cache
import docker
from docker.client import DockerClient
from serverctl_deployd.config import Settings
async def check_authentication() -> None:
"""
TODO: To be implemented
"""
pass # pylint: disable=unnecessary-pass
as... | 18.685714 | 62 | 0.683486 | 82 | 654 | 5.353659 | 0.609756 | 0.082005 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.224771 | 654 | 34 | 63 | 19.235294 | 0.865878 | 0.295107 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029412 | 0 | 1 | 0.090909 | true | 0.090909 | 0.363636 | 0 | 0.636364 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
17148dab62a3243caffade138c3aa6f2be47fcbb | 26,338 | py | Python | validation/Correlation_Analysis.py | sdomanskyi/decneo | c3b78d7cb24fbecde317850ea5068394029a7d03 | [
"MIT"
] | null | null | null | validation/Correlation_Analysis.py | sdomanskyi/decneo | c3b78d7cb24fbecde317850ea5068394029a7d03 | [
"MIT"
] | null | null | null | validation/Correlation_Analysis.py | sdomanskyi/decneo | c3b78d7cb24fbecde317850ea5068394029a7d03 | [
"MIT"
] | null | null | null | import sys
sys.path.append(".")
sys.path.append("../scRegulation/")
sys.path.append("/mnt/home/paterno1/anaconda3/lib/python3.7/site-packages/")
#sys.path.append("/mnt/home/paterno1/anaconda3/lib/python3.7/site-packages/tables")
#sys.path.append("../bin")
import pandas as pd
import os
import numpy as np
import... | 36.991573 | 166 | 0.519516 | 3,223 | 26,338 | 4.026683 | 0.076326 | 0.054477 | 0.024657 | 0.017799 | 0.827015 | 0.786562 | 0.747958 | 0.726306 | 0.68516 | 0.656804 | 0 | 0.009386 | 0.368973 | 26,338 | 711 | 167 | 37.043601 | 0.77148 | 0.122257 | 0 | 0.687042 | 0 | 0 | 0.072618 | 0.003865 | 0 | 0 | 0 | 0 | 0 | 1 | 0.026895 | false | 0 | 0.026895 | 0 | 0.066015 | 0.026895 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
17182c0441523bbbb20f1c52dcf2ffe6d34d6e1b | 9,855 | py | Python | openGaussBase/testcase/SQL/DDL/schema/Opengauss_Function_DDL_Schema_Case0005.py | opengauss-mirror/Yat | aef107a8304b94e5d99b4f1f36eb46755eb8919e | [
"MulanPSL-1.0"
] | null | null | null | openGaussBase/testcase/SQL/DDL/schema/Opengauss_Function_DDL_Schema_Case0005.py | opengauss-mirror/Yat | aef107a8304b94e5d99b4f1f36eb46755eb8919e | [
"MulanPSL-1.0"
] | null | null | null | openGaussBase/testcase/SQL/DDL/schema/Opengauss_Function_DDL_Schema_Case0005.py | opengauss-mirror/Yat | aef107a8304b94e5d99b4f1f36eb46755eb8919e | [
"MulanPSL-1.0"
] | null | null | null | """
Copyright (c) 2022 Huawei Technologies Co.,Ltd.
openGauss is licensed under Mulan PSL v2.
You can use this software according to the terms and conditions of the Mulan PSL v2.
You may obtain a copy of Mulan PSL v2 at:
http://license.coscl.org.cn/MulanPSL2
THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, W... | 43.995536 | 84 | 0.653983 | 1,285 | 9,855 | 4.881712 | 0.127626 | 0.094054 | 0.071895 | 0.098996 | 0.74733 | 0.735374 | 0.728997 | 0.703491 | 0.688347 | 0.634943 | 0 | 0.013858 | 0.21654 | 9,855 | 223 | 85 | 44.192825 | 0.798601 | 0.051547 | 0 | 0.664516 | 0 | 0 | 0.357468 | 0.083265 | 0 | 0 | 0 | 0 | 0.141935 | 1 | 0.019355 | false | 0.116129 | 0.03871 | 0 | 0.070968 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
177885bb0bda013aef7da7a412d27b88604719a6 | 204 | py | Python | tests/gui_tests.py | jaredsampson/pymolprobity | 879ebd4c0e64e05a0cd91da8c545023f958cb634 | [
"MIT"
] | 9 | 2016-08-29T17:39:57.000Z | 2022-03-29T09:26:59.000Z | tests/gui_tests.py | jaredsampson/pymolprobity | 879ebd4c0e64e05a0cd91da8c545023f958cb634 | [
"MIT"
] | 8 | 2016-11-03T19:17:47.000Z | 2019-08-13T15:58:00.000Z | tests/gui_tests.py | jaredsampson/pymolprobity | 879ebd4c0e64e05a0cd91da8c545023f958cb634 | [
"MIT"
] | 2 | 2017-01-19T10:36:04.000Z | 2018-05-10T13:42:53.000Z | '''GUI tests for PyMOLProbity plugin.'''
import mock
import unittest
from .context import pymolprobity
import pymolprobity.gui as gui
if __name__ == '__main__':
unittest.main()
| 6.580645 | 40 | 0.676471 | 23 | 204 | 5.652174 | 0.608696 | 0.276923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.240196 | 204 | 30 | 41 | 6.8 | 0.83871 | 0.166667 | 0 | 0 | 0 | 0 | 0.04878 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
1796c5d34f0b21ff6eb23b7ce9ac26a2f3bfe049 | 30 | py | Python | share.py | Architkawale18/Society-Visitor-Registration | d7838e1376225e28222cfedc0bacb4d1009d42d6 | [
"Apache-2.0"
] | 2 | 2020-03-31T12:22:41.000Z | 2020-04-26T07:29:01.000Z | share.py | Architkawale18/Society-Visitor-Registration | d7838e1376225e28222cfedc0bacb4d1009d42d6 | [
"Apache-2.0"
] | null | null | null | share.py | Architkawale18/Society-Visitor-Registration | d7838e1376225e28222cfedc0bacb4d1009d42d6 | [
"Apache-2.0"
] | null | null | null | class SharedClass:
pass
| 10 | 19 | 0.666667 | 3 | 30 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.3 | 30 | 2 | 20 | 15 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
17a3a1740cfa7f75b0f03a17620a762ead100a8c | 23 | py | Python | shopping_list_colleague.py | fangqiangchen/git_practice | acdcdc8b3fd66ebd5b3910a8ec01988bb4e2b9d4 | [
"Apache-2.0"
] | null | null | null | shopping_list_colleague.py | fangqiangchen/git_practice | acdcdc8b3fd66ebd5b3910a8ec01988bb4e2b9d4 | [
"Apache-2.0"
] | null | null | null | shopping_list_colleague.py | fangqiangchen/git_practice | acdcdc8b3fd66ebd5b3910a8ec01988bb4e2b9d4 | [
"Apache-2.0"
] | null | null | null | #woman dress
#add test | 7.666667 | 12 | 0.73913 | 4 | 23 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 3 | 13 | 7.666667 | 0.894737 | 0.826087 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
bd5e42ce8af85d2db6f69d7050e300c60cd3ce8c | 189 | py | Python | dace/transformation/__init__.py | Walon1998/dace | 95ddfd3e9a5c654f0f0d66d026e0b64ec0f028a0 | [
"BSD-3-Clause"
] | 1 | 2022-03-11T13:36:34.000Z | 2022-03-11T13:36:34.000Z | dace/transformation/__init__.py | Walon1998/dace | 95ddfd3e9a5c654f0f0d66d026e0b64ec0f028a0 | [
"BSD-3-Clause"
] | null | null | null | dace/transformation/__init__.py | Walon1998/dace | 95ddfd3e9a5c654f0f0d66d026e0b64ec0f028a0 | [
"BSD-3-Clause"
] | null | null | null | from .transformation import (simplification_transformations, SingleStateTransformation, MultiStateTransformation,
SubgraphTransformation, ExpandTransformation)
| 63 | 113 | 0.767196 | 9 | 189 | 16 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195767 | 189 | 2 | 114 | 94.5 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
bd9f5279f0473f499783dfd2df32f1a074721394 | 210 | py | Python | nengo_spinnaker/operators/__init__.py | SpiNNakerManchester/nengo_spinnaker | 147e2b3d6c0965259d6897f177f23e5c99b184f9 | [
"MIT"
] | 13 | 2015-06-10T08:58:05.000Z | 2022-03-29T08:20:14.000Z | nengo_spinnaker/operators/__init__.py | SpiNNakerManchester/nengo_spinnaker | 147e2b3d6c0965259d6897f177f23e5c99b184f9 | [
"MIT"
] | 131 | 2015-04-16T15:17:12.000Z | 2020-06-19T05:38:56.000Z | nengo_spinnaker/operators/__init__.py | SpiNNakerManchester/nengo_spinnaker | 147e2b3d6c0965259d6897f177f23e5c99b184f9 | [
"MIT"
] | 7 | 2015-07-01T00:01:50.000Z | 2018-06-28T10:12:18.000Z | from .filter import Filter
from .lif import EnsembleLIF
from .sdp_receiver import SDPReceiver
from .sdp_transmitter import SDPTransmitter
from .value_sink import ValueSink
from .value_source import ValueSource
| 30 | 43 | 0.857143 | 28 | 210 | 6.285714 | 0.535714 | 0.079545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 210 | 6 | 44 | 35 | 0.946237 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
bd9fa48fa6ba35b4e2e69d57c75c540355458e0f | 47 | py | Python | fluiddb/util/__init__.py | fluidinfo/fluiddb | b5a8c8349f3eaf3364cc4efba4736c3e33b30d96 | [
"Apache-2.0"
] | 3 | 2021-05-10T14:41:30.000Z | 2021-12-16T05:53:30.000Z | fluiddb/util/__init__.py | fluidinfo/fluiddb | b5a8c8349f3eaf3364cc4efba4736c3e33b30d96 | [
"Apache-2.0"
] | null | null | null | fluiddb/util/__init__.py | fluidinfo/fluiddb | b5a8c8349f3eaf3364cc4efba4736c3e33b30d96 | [
"Apache-2.0"
] | 2 | 2018-01-24T09:03:21.000Z | 2021-06-25T08:34:54.000Z | """Logic for utilities needed by Fluidinfo."""
| 23.5 | 46 | 0.723404 | 6 | 47 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12766 | 47 | 1 | 47 | 47 | 0.829268 | 0.851064 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
bdc46ece3b3237860e9d62cf8e192515e2818382 | 177 | py | Python | p2/components/quota/exceptions.py | BeryJu/p2 | 80b5c6a821f90cef73d6e8cd3c6cdb05ffa86b27 | [
"MIT"
] | null | null | null | p2/components/quota/exceptions.py | BeryJu/p2 | 80b5c6a821f90cef73d6e8cd3c6cdb05ffa86b27 | [
"MIT"
] | null | null | null | p2/components/quota/exceptions.py | BeryJu/p2 | 80b5c6a821f90cef73d6e8cd3c6cdb05ffa86b27 | [
"MIT"
] | null | null | null | """p2 quota exceptions"""
from p2.core.exceptions import BlobException
class QuotaExceededException(BlobException):
"""Exception raised when ACTION_BLOCK is selected."""
| 22.125 | 57 | 0.774011 | 19 | 177 | 7.157895 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012903 | 0.124294 | 177 | 7 | 58 | 25.285714 | 0.864516 | 0.378531 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
bdf7e62b1eaba6dcb40b240842930efbb85e3a07 | 268 | py | Python | smqtk_dataprovider/__init__.py | joshanderson-kw/SMQTK-Dataprovider | 1ae285e65b2ae21914b0efdf90a4c9981c59853e | [
"BSD-3-Clause"
] | 1 | 2021-03-16T15:02:12.000Z | 2021-03-16T15:02:12.000Z | smqtk_dataprovider/__init__.py | joshanderson-kw/SMQTK-Dataprovider | 1ae285e65b2ae21914b0efdf90a4c9981c59853e | [
"BSD-3-Clause"
] | 5 | 2021-03-10T13:58:13.000Z | 2022-02-10T15:18:28.000Z | smqtk_dataprovider/__init__.py | joshanderson-kw/SMQTK-Dataprovider | 1ae285e65b2ae21914b0efdf90a4c9981c59853e | [
"BSD-3-Clause"
] | 2 | 2021-03-18T15:29:27.000Z | 2021-03-29T18:43:14.000Z | from .interfaces.data_element import DataElement, from_uri # noqa: F401
from .interfaces.data_set import DataSet # noqa: F401
from .interfaces.key_value_store import KeyValueStore # noqa: F401
from .content_type_validator import ContentTypeValidator # noqa: F401
| 44.666667 | 72 | 0.813433 | 35 | 268 | 6.028571 | 0.542857 | 0.151659 | 0.170616 | 0.208531 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051282 | 0.126866 | 268 | 5 | 73 | 53.6 | 0.850427 | 0.160448 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
da1dde3bb8c263bda1405c177f7d53380cd1b9b4 | 173 | py | Python | storage/schema/query.py | trunkboy/django-multi-storage | f1627f5bb01eaae06a178c323190d2ccf6fba44f | [
"Apache-2.0"
] | null | null | null | storage/schema/query.py | trunkboy/django-multi-storage | f1627f5bb01eaae06a178c323190d2ccf6fba44f | [
"Apache-2.0"
] | 4 | 2020-10-18T15:26:48.000Z | 2020-10-20T15:57:03.000Z | storage/schema/query.py | trunkboy/django-multi-storage | f1627f5bb01eaae06a178c323190d2ccf6fba44f | [
"Apache-2.0"
] | 2 | 2020-10-17T17:09:32.000Z | 2020-10-20T13:51:39.000Z | import graphene
from graphene_django.filter import DjangoFilterConnectionField
from storage.schema.node import (
ImageNode
)
class Query(graphene.ObjectType):
pass | 19.222222 | 62 | 0.809249 | 19 | 173 | 7.315789 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138728 | 173 | 9 | 63 | 19.222222 | 0.932886 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.142857 | 0.428571 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 5 |
e53a8627afd6a15d2ffc8c7097681c4f6d12114f | 324 | py | Python | portfolioplanner/Utils/__init__.py | wonkothesaint/profileplaner | 98d6caf4b7205a267fb109259a7b3762b28b7c59 | [
"MIT"
] | null | null | null | portfolioplanner/Utils/__init__.py | wonkothesaint/profileplaner | 98d6caf4b7205a267fb109259a7b3762b28b7c59 | [
"MIT"
] | null | null | null | portfolioplanner/Utils/__init__.py | wonkothesaint/profileplaner | 98d6caf4b7205a267fb109259a7b3762b28b7c59 | [
"MIT"
] | null | null | null | def percents_yearly_to_monthly(yearly_percent):
return ((1 + yearly_percent) ** (1 / 12)) - 1
def currency_str(number, currency="ILS"):
if currency == "ILS":
return "₪{:,.2f}".format(number)
if currency == "USD":
return "${:,.2f}".format(number)
return "{:,.2f} ".format(number) + curre... | 29.454545 | 49 | 0.598765 | 40 | 324 | 4.725 | 0.45 | 0.126984 | 0.222222 | 0.21164 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031008 | 0.203704 | 324 | 10 | 50 | 32.4 | 0.697674 | 0 | 0 | 0 | 0 | 0 | 0.101852 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.125 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
e56d7e67e39b652adca8c61169e307c22fc5f577 | 20,233 | py | Python | tests/unittests/test_collect.py | sean-hayes/zoom | eda69c64ceb69dd87d2f7a5dfdaeea52ef65c581 | [
"MIT"
] | 1 | 2017-05-11T17:24:49.000Z | 2017-05-11T17:24:49.000Z | tests/unittests/test_collect.py | sean-hayes/zoom | eda69c64ceb69dd87d2f7a5dfdaeea52ef65c581 | [
"MIT"
] | null | null | null | tests/unittests/test_collect.py | sean-hayes/zoom | eda69c64ceb69dd87d2f7a5dfdaeea52ef65c581 | [
"MIT"
] | 1 | 2020-07-20T00:33:27.000Z | 2020-07-20T00:33:27.000Z | """
Test the collect module
"""
import logging
import os
import sys
import unittest
import difflib
from decimal import Decimal
from datetime import date, time, datetime
import zoom
# from zoom import (Entity, Fields, TextField, required,
# DecimalField, url_for_page)
from zoom.browse import bro... | 30.37988 | 92 | 0.546731 | 2,239 | 20,233 | 4.831175 | 0.098258 | 0.113895 | 0.058242 | 0.044652 | 0.749191 | 0.74161 | 0.727189 | 0.724785 | 0.709346 | 0.708977 | 0 | 0.018636 | 0.297188 | 20,233 | 665 | 93 | 30.425564 | 0.742053 | 0.558395 | 0 | 0.508333 | 0 | 0.016667 | 0.297275 | 0.046629 | 0 | 0 | 0 | 0 | 0.045833 | 1 | 0.05 | false | 0.004167 | 0.070833 | 0.008333 | 0.1625 | 0.004167 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e5d8dd753cf3ec42f424fbf2d2622715344b5504 | 52 | py | Python | randomness_beacon/__init__.py | produit/randomness_beacon | 0882772fe9b4b80b1a5b0dda19f887f5d87fb2b8 | [
"BSD-2-Clause"
] | 17 | 2015-01-18T00:46:16.000Z | 2021-12-24T02:36:27.000Z | randomness_beacon/__init__.py | produit/randomness_beacon | 0882772fe9b4b80b1a5b0dda19f887f5d87fb2b8 | [
"BSD-2-Clause"
] | null | null | null | randomness_beacon/__init__.py | produit/randomness_beacon | 0882772fe9b4b80b1a5b0dda19f887f5d87fb2b8 | [
"BSD-2-Clause"
] | 5 | 2015-09-10T01:37:15.000Z | 2019-06-10T17:59:13.000Z | from beacon import Beacon, BeaconError, random_nums
| 26 | 51 | 0.846154 | 7 | 52 | 6.142857 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 52 | 1 | 52 | 52 | 0.934783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
e5f9f12898e992a2d676c925cd7ce7bb5b45277f | 5,769 | py | Python | multivar/gradient.py | HamzaBamohammed/hambam-unconstraint-optimization | f710f31883ec60d231ec6e8bf168805f7d455a98 | [
"MIT"
] | 4 | 2022-02-19T03:54:23.000Z | 2022-02-25T00:03:14.000Z | multivar/gradient.py | HamzaBamohammed/hambam-unconstraint-optimization | f710f31883ec60d231ec6e8bf168805f7d455a98 | [
"MIT"
] | null | null | null | multivar/gradient.py | HamzaBamohammed/hambam-unconstraint-optimization | f710f31883ec60d231ec6e8bf168805f7d455a98 | [
"MIT"
] | null | null | null | import numpy as np
import scipy.optimize as op
import scipy.linalg as la
import numdifftools as nd
from matplotlib import pyplot as plt
from mpl_toolkits import mplot3d
from time import perf_counter
#returns the minimum of a multivariable function using gradient descent
def gradient_descent(f, xk, delta = ... | 38.718121 | 152 | 0.543248 | 906 | 5,769 | 3.42936 | 0.16777 | 0.015449 | 0.00869 | 0.024783 | 0.760219 | 0.704538 | 0.704538 | 0.704538 | 0.656582 | 0.630834 | 0 | 0.026323 | 0.32172 | 5,769 | 148 | 153 | 38.97973 | 0.767697 | 0 | 0 | 0.625 | 0 | 0 | 0.04641 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.0625 | null | null | 0.026786 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e5fc6569d6941db8d29c4c65f01b5e4a1ff9b327 | 11,140 | py | Python | grpc/rbindings/node/port/available_core/occupied_frequency_slot/nominal_central_frequency/__init__.py | lrodrin/netopeer | 4d9831c3a5481d99cb26b41d02577f53ed93cee1 | [
"MIT"
] | 1 | 2018-05-09T09:56:00.000Z | 2018-05-09T09:56:00.000Z | grpc/rbindings/node/port/available_core/occupied_frequency_slot/nominal_central_frequency/__init__.py | lrodrin/netopeer2 | 4d9831c3a5481d99cb26b41d02577f53ed93cee1 | [
"MIT"
] | null | null | null | grpc/rbindings/node/port/available_core/occupied_frequency_slot/nominal_central_frequency/__init__.py | lrodrin/netopeer2 | 4d9831c3a5481d99cb26b41d02577f53ed93cee1 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from collections import OrderedDict
import six
from pyangbind.lib.base import PybindBase
from pyangbind.lib.yangtypes import YANGDynClass
# PY3 support of some PY2 keywords (needs improved)
if six.PY3:
import builtins as __builtin__
long = int
elif six.PY2:
import __builtin__
cl... | 55.979899 | 317 | 0.613824 | 1,226 | 11,140 | 5.279772 | 0.133768 | 0.040167 | 0.054071 | 0.027808 | 0.725784 | 0.718987 | 0.710644 | 0.701375 | 0.701375 | 0.686544 | 0 | 0.001396 | 0.292729 | 11,140 | 198 | 318 | 56.262626 | 0.820155 | 0.185099 | 0 | 0.507463 | 0 | 0.022388 | 0.219512 | 0.084742 | 0 | 0 | 0 | 0 | 0 | 1 | 0.08209 | false | 0 | 0.044776 | 0 | 0.223881 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
f924d4d9604750ab6ae81231d93dd53e871895fa | 179 | py | Python | src/clickgen/writer/__init__.py | KaizIqbal/clickgen | cab0d0c005c7714cb0271809745a2dae321aa7eb | [
"MIT"
] | 2 | 2020-06-06T03:34:29.000Z | 2020-07-29T06:47:23.000Z | src/clickgen/writer/__init__.py | KaizIqbal/clickgen | cab0d0c005c7714cb0271809745a2dae321aa7eb | [
"MIT"
] | null | null | null | src/clickgen/writer/__init__.py | KaizIqbal/clickgen | cab0d0c005c7714cb0271809745a2dae321aa7eb | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from clickgen.writer.windows import to_cur, to_win
from clickgen.writer.x11 import to_x11
__all__ = ["to_x11", "to_cur", "to_win"]
| 22.375 | 50 | 0.703911 | 30 | 179 | 3.866667 | 0.566667 | 0.206897 | 0.310345 | 0.172414 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044872 | 0.128492 | 179 | 7 | 51 | 25.571429 | 0.698718 | 0.234637 | 0 | 0 | 0 | 0 | 0.133333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
0058ba3732b314524e80c12acdab15d79eb5da43 | 216 | py | Python | tests/test_scrot.py | jonringer/pyscreenshot | 44cefded198b26fd162ab12c9e947704ec9dced0 | [
"BSD-2-Clause"
] | 416 | 2015-01-01T00:41:31.000Z | 2022-03-31T10:15:53.000Z | tests/test_scrot.py | jonringer/pyscreenshot | 44cefded198b26fd162ab12c9e947704ec9dced0 | [
"BSD-2-Clause"
] | 72 | 2015-02-23T20:12:17.000Z | 2022-03-02T21:23:17.000Z | tests/test_scrot.py | jonringer/pyscreenshot | 44cefded198b26fd162ab12c9e947704ec9dced0 | [
"BSD-2-Clause"
] | 88 | 2015-03-04T03:29:43.000Z | 2021-10-04T06:37:00.000Z | from bt import backend_to_check, prog_check
from pyscreenshot.util import use_x_display
if use_x_display():
if prog_check(["scrot", "-version"]):
def test_scrot():
backend_to_check("scrot")
| 24 | 43 | 0.694444 | 31 | 216 | 4.483871 | 0.548387 | 0.129496 | 0.201439 | 0.18705 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.199074 | 216 | 8 | 44 | 27 | 0.803468 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.333333 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
006ba0ac5d7fc4e1b99efdd8945123d71ef7be94 | 51 | py | Python | torchero/models/vision/nn/__init__.py | juancruzsosa/torchero | d1440b7a9c3ab2c1d3abbb282abb9ee1ea240797 | [
"MIT"
] | 10 | 2020-07-06T13:35:26.000Z | 2021-08-10T09:46:53.000Z | torchero/models/vision/nn/__init__.py | juancruzsosa/torchero | d1440b7a9c3ab2c1d3abbb282abb9ee1ea240797 | [
"MIT"
] | 6 | 2020-07-07T20:52:16.000Z | 2020-07-14T04:05:02.000Z | torchero/models/vision/nn/__init__.py | juancruzsosa/torchero | d1440b7a9c3ab2c1d3abbb282abb9ee1ea240797 | [
"MIT"
] | 1 | 2021-06-28T17:56:11.000Z | 2021-06-28T17:56:11.000Z | from torchero.models.vision.nn.torchvision import * | 51 | 51 | 0.843137 | 7 | 51 | 6.142857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 51 | 1 | 51 | 51 | 0.895833 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
00768a9c0a660ba7c4312c9fc74d0210b27f6886 | 110 | py | Python | lanepathy/__init__.py | rqelibari/lanepathgenerator | 49f03810f3b52fd5c71ac9f292dbef064536c8d7 | [
"Apache-2.0"
] | null | null | null | lanepathy/__init__.py | rqelibari/lanepathgenerator | 49f03810f3b52fd5c71ac9f292dbef064536c8d7 | [
"Apache-2.0"
] | null | null | null | lanepathy/__init__.py | rqelibari/lanepathgenerator | 49f03810f3b52fd5c71ac9f292dbef064536c8d7 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import logging.config
logging.config.fileConfig('logging.conf')
| 22 | 41 | 0.709091 | 15 | 110 | 5.2 | 0.8 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01 | 0.090909 | 110 | 4 | 42 | 27.5 | 0.77 | 0.381818 | 0 | 0 | 0 | 0 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
007ef3fcf681e8f77e96e5a41e89d325c3231085 | 1,745 | py | Python | Python/ProjectEuler_08.py | DaanishKS/Project-Euler-Solutions | 6150a3e0327bcb15bb7b9fd808c62cf13a35f7d1 | [
"MIT"
] | null | null | null | Python/ProjectEuler_08.py | DaanishKS/Project-Euler-Solutions | 6150a3e0327bcb15bb7b9fd808c62cf13a35f7d1 | [
"MIT"
] | null | null | null | Python/ProjectEuler_08.py | DaanishKS/Project-Euler-Solutions | 6150a3e0327bcb15bb7b9fd808c62cf13a35f7d1 | [
"MIT"
] | null | null | null | # Largest Product In A Series -- Solved
# Solution = 23514624000
from Timer import Timer
Stopwatch = Timer()
Number = list('73167176531330624919225119674426574742355349194934'
'96983520312774506326239578318016984801869478851843'
'85861560789112949495459501737958331952853208805511'
... | 43.625 | 81 | 0.711748 | 78 | 1,745 | 15.923077 | 0.679487 | 0.022544 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.768707 | 0.241834 | 1,745 | 39 | 82 | 44.74359 | 0.170068 | 0.034384 | 0 | 0 | 0 | 0 | 0.631391 | 0.59453 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.032258 | 0 | 0.032258 | 0.032258 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
9727861837d977667b242a70b609cf093b9cc21e | 26 | py | Python | test2.py | takumi-lax/HiUbuntu | b930152dc09601c8094612f6996e2bccce287287 | [
"MIT"
] | null | null | null | test2.py | takumi-lax/HiUbuntu | b930152dc09601c8094612f6996e2bccce287287 | [
"MIT"
] | null | null | null | test2.py | takumi-lax/HiUbuntu | b930152dc09601c8094612f6996e2bccce287287 | [
"MIT"
] | null | null | null | print("test")
print("aaa") | 13 | 13 | 0.653846 | 4 | 26 | 4.25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038462 | 26 | 2 | 14 | 13 | 0.68 | 0 | 0 | 0 | 0 | 0 | 0.259259 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
974105f13c93f30566d6fbf00a7bd474b1d6cdfe | 97 | py | Python | app/contact/__init__.py | zSelimReborn/TopFlix | 236e113dd1edac2ece914cb6622562c3fafa3376 | [
"Apache-2.0"
] | null | null | null | app/contact/__init__.py | zSelimReborn/TopFlix | 236e113dd1edac2ece914cb6622562c3fafa3376 | [
"Apache-2.0"
] | 3 | 2020-05-18T16:34:44.000Z | 2020-05-18T16:34:45.000Z | app/contact/__init__.py | zSelimReborn/TopFlix | 236e113dd1edac2ece914cb6622562c3fafa3376 | [
"Apache-2.0"
] | null | null | null | from flask import Blueprint
bp = Blueprint('contact', __name__)
from app.contact import routes
| 16.166667 | 35 | 0.783505 | 13 | 97 | 5.538462 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14433 | 97 | 5 | 36 | 19.4 | 0.86747 | 0 | 0 | 0 | 0 | 0 | 0.072165 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 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 | 1 | 0 | 5 |
974fa56e4a0f717c66feb8f72ed181de1a4cb98c | 1,094 | py | Python | oauth_provider/responses.py | TimSC/django-oauth10a-mod | 3b9786b33cbd3d2ab6de7a667f9737167b349db0 | [
"BSD-3-Clause"
] | null | null | null | oauth_provider/responses.py | TimSC/django-oauth10a-mod | 3b9786b33cbd3d2ab6de7a667f9737167b349db0 | [
"BSD-3-Clause"
] | null | null | null | oauth_provider/responses.py | TimSC/django-oauth10a-mod | 3b9786b33cbd3d2ab6de7a667f9737167b349db0 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from __future__ import print_function
from django.utils.translation import ugettext as _
from django.http import HttpResponseBadRequest
import oauth10a as oauth
from oauth_provider.utils import send_oauth_error
#INVALID_PARAMS_RESPONSE = send_oauth_err... | 42.076923 | 110 | 0.817185 | 132 | 1,094 | 6.44697 | 0.340909 | 0.152761 | 0.115159 | 0.13396 | 0.451234 | 0.420682 | 0.371328 | 0.371328 | 0.258519 | 0.258519 | 0 | 0.003009 | 0.088665 | 1,094 | 25 | 111 | 43.76 | 0.850552 | 0.36106 | 0 | 0 | 0 | 0 | 0.171965 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | true | 0 | 0.428571 | 0.285714 | 1 | 0.071429 | 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 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
977f9a92282438a5acde7b1cbd75029b9343d9d6 | 250 | py | Python | tests/Unit/PointwiseFunctions/GeneralRelativity/RicciScalar.py | nilsvu/spectre | 1455b9a8d7e92db8ad600c66f54795c29c3052ee | [
"MIT"
] | 1 | 2022-01-11T00:17:33.000Z | 2022-01-11T00:17:33.000Z | tests/Unit/PointwiseFunctions/GeneralRelativity/RicciScalar.py | nilsvu/spectre | 1455b9a8d7e92db8ad600c66f54795c29c3052ee | [
"MIT"
] | null | null | null | tests/Unit/PointwiseFunctions/GeneralRelativity/RicciScalar.py | nilsvu/spectre | 1455b9a8d7e92db8ad600c66f54795c29c3052ee | [
"MIT"
] | null | null | null | # Distributed under the MIT License.
# See LICENSE.txt for details.
import numpy as np
def ricci_scalar(ricci_tensor, inverse_metric):
ricci_up_down = (np.einsum("cb,ac", ricci_tensor, inverse_metric))
return np.einsum("aa", ricci_up_down)
| 27.777778 | 70 | 0.752 | 39 | 250 | 4.589744 | 0.666667 | 0.122905 | 0.201117 | 0.268156 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144 | 250 | 8 | 71 | 31.25 | 0.836449 | 0.252 | 0 | 0 | 0 | 0 | 0.038043 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
9784a0db74e372677c3fda94745f6519e96e7736 | 35 | py | Python | test_irsensor.py | tomekceszke/irsensor | c8ae7803af8e2ad6f6fdb6f5565ff839952731b7 | [
"Apache-2.0"
] | null | null | null | test_irsensor.py | tomekceszke/irsensor | c8ae7803af8e2ad6f6fdb6f5565ff839952731b7 | [
"Apache-2.0"
] | null | null | null | test_irsensor.py | tomekceszke/irsensor | c8ae7803af8e2ad6f6fdb6f5565ff839952731b7 | [
"Apache-2.0"
] | null | null | null | import notifier
notifier.notify()
| 8.75 | 17 | 0.8 | 4 | 35 | 7 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 3 | 18 | 11.666667 | 0.903226 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
97b766ec2f1f366b18d7eaeb3c08370145f33984 | 167 | py | Python | Toca/utils/log.py | olivetree123/Toca | a4b0198046dfbf928e51db3a811bd56aa34b662d | [
"MIT"
] | null | null | null | Toca/utils/log.py | olivetree123/Toca | a4b0198046dfbf928e51db3a811bd56aa34b662d | [
"MIT"
] | null | null | null | Toca/utils/log.py | olivetree123/Toca | a4b0198046dfbf928e51db3a811bd56aa34b662d | [
"MIT"
] | null | null | null | from raven.contrib.flask import Sentry
sentry = Sentry()
def loginfo(msg, extra=""):
# sentry.captureMessage(msg, extra=extra)
print(msg, "extra = ", extra)
| 20.875 | 45 | 0.682635 | 21 | 167 | 5.428571 | 0.571429 | 0.210526 | 0.22807 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.167665 | 167 | 7 | 46 | 23.857143 | 0.820144 | 0.233533 | 0 | 0 | 0 | 0 | 0.063492 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.5 | 0.25 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
97bd41f82718848b6ce120362399a86729013fb5 | 164 | py | Python | ac/accounts/admin.py | vietmx/Simple-HR-System | 0873fa45d3caef7a8dcee3f2f94de0cd4071c729 | [
"MIT"
] | null | null | null | ac/accounts/admin.py | vietmx/Simple-HR-System | 0873fa45d3caef7a8dcee3f2f94de0cd4071c729 | [
"MIT"
] | null | null | null | ac/accounts/admin.py | vietmx/Simple-HR-System | 0873fa45d3caef7a8dcee3f2f94de0cd4071c729 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Employee, Department
# Register your models here.
admin.site.register(Employee)
admin.site.register(Department) | 32.8 | 40 | 0.829268 | 22 | 164 | 6.181818 | 0.545455 | 0.132353 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091463 | 164 | 5 | 41 | 32.8 | 0.912752 | 0.158537 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
c11870fac8e15a48256cd22373b015ee3a7d1a8f | 7,182 | py | Python | tests/test_main.py | dekoza/poetry-version-plugin | 89f9aaf02cbdc6a2a5972c07b167e78314ad153b | [
"MIT"
] | 176 | 2021-05-27T10:18:14.000Z | 2022-03-25T04:44:10.000Z | tests/test_main.py | dekoza/poetry-version-plugin | 89f9aaf02cbdc6a2a5972c07b167e78314ad153b | [
"MIT"
] | 19 | 2021-05-27T10:37:53.000Z | 2022-03-25T19:21:01.000Z | tests/test_main.py | Anselmoo/poetry-version-plugin | 89f9aaf02cbdc6a2a5972c07b167e78314ad153b | [
"MIT"
] | 18 | 2021-05-28T07:07:45.000Z | 2022-02-21T08:02:31.000Z | import shutil
import subprocess
from pathlib import Path
import pkginfo
testing_assets = Path(__file__).parent / "assets"
plugin_source_dir = Path(__file__).parent.parent / "poetry_version_plugin"
def copy_assets(source_name: str, testing_dir: Path):
package_path = testing_assets / source_name
shutil.copytr... | 33.71831 | 88 | 0.664439 | 926 | 7,182 | 4.87365 | 0.113391 | 0.117439 | 0.04343 | 0.061157 | 0.791491 | 0.785287 | 0.780191 | 0.774208 | 0.764458 | 0.748504 | 0 | 0.014566 | 0.225703 | 7,182 | 212 | 89 | 33.877358 | 0.796979 | 0 | 0 | 0.486631 | 0 | 0 | 0.278892 | 0.104845 | 0 | 0 | 0 | 0 | 0.176471 | 1 | 0.058824 | false | 0 | 0.02139 | 0 | 0.085562 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c15a791ef4f30a27822389e5ec7e4741d22a3560 | 304 | py | Python | src/explore.py | Promeos/LADOT-Street-Sweeping-Transition-Pan | eb0d224a7ba910c4bf1db78b9fdb1365de0e6945 | [
"MIT"
] | 1 | 2021-02-05T16:05:02.000Z | 2021-02-05T16:05:02.000Z | src/explore.py | Promeos/LADOT-Street-Sweeping-Transition-Plan | eb0d224a7ba910c4bf1db78b9fdb1365de0e6945 | [
"MIT"
] | null | null | null | src/explore.py | Promeos/LADOT-Street-Sweeping-Transition-Plan | eb0d224a7ba910c4bf1db78b9fdb1365de0e6945 | [
"MIT"
] | null | null | null | # Import libraries
import numpy as np
import pandas as pd
import plotly.express as px
import plotly.graph_objects as go
############################### Global Variables #########################################
############################### Visualizations ########################################### | 30.4 | 90 | 0.417763 | 24 | 304 | 5.25 | 0.666667 | 0.190476 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092105 | 304 | 10 | 91 | 30.4 | 0.456522 | 0.161184 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
c1a7bcbb73a8d9fe223dbe46f1b93e9339624488 | 29 | py | Python | model.py | arun14anand/practical-coding | 676e8d61c0bc437895b0767529d57f1acf8ed14c | [
"MIT"
] | null | null | null | model.py | arun14anand/practical-coding | 676e8d61c0bc437895b0767529d57f1acf8ed14c | [
"MIT"
] | null | null | null | model.py | arun14anand/practical-coding | 676e8d61c0bc437895b0767529d57f1acf8ed14c | [
"MIT"
] | 1 | 2021-08-07T18:36:42.000Z | 2021-08-07T18:36:42.000Z | # model file for you to edit
| 14.5 | 28 | 0.724138 | 6 | 29 | 3.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.241379 | 29 | 1 | 29 | 29 | 0.954545 | 0.896552 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c1b1d02de8d4130edb191088fbcf394f90565160 | 127 | py | Python | modules/liteflownet/__init__.py | adnortje/deepvideo | 76d09ee8696355bc29ee57c1ef2ff61474c5ed41 | [
"CC0-1.0"
] | 37 | 2019-11-23T06:42:12.000Z | 2022-01-25T16:08:28.000Z | modules/liteflownet/__init__.py | sangramch/deepvideo | 16e622434b9843238b8092f94da2c58a4346788d | [
"CC0-1.0"
] | 4 | 2020-04-11T12:36:27.000Z | 2021-07-26T10:12:53.000Z | modules/liteflownet/__init__.py | sangramch/deepvideo | 16e622434b9843238b8092f94da2c58a4346788d | [
"CC0-1.0"
] | 9 | 2019-12-13T07:30:58.000Z | 2020-07-15T05:32:17.000Z | # import FlowNet Loss
from .eval_flow import EvalFlow
from .dense_flow import DenseFlow
from .flow_loss import LiteFlowNetLoss
| 25.4 | 38 | 0.84252 | 18 | 127 | 5.777778 | 0.555556 | 0.192308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125984 | 127 | 4 | 39 | 31.75 | 0.936937 | 0.149606 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
c1fe30a46a91a6973ce1caa5224e75111b905e2b | 52 | py | Python | geographical_module/models/__init__.py | CardoAI/django-geographical-module | 596bbfd187022416d82bb129672afc172cf634fb | [
"MIT"
] | 2 | 2022-02-21T11:12:11.000Z | 2022-03-01T08:50:52.000Z | geographical_module/models/__init__.py | CardoAI/django-geographical-module | 596bbfd187022416d82bb129672afc172cf634fb | [
"MIT"
] | null | null | null | geographical_module/models/__init__.py | CardoAI/django-geographical-module | 596bbfd187022416d82bb129672afc172cf634fb | [
"MIT"
] | null | null | null | from .geography import Geography, GeographyPostcode
| 26 | 51 | 0.865385 | 5 | 52 | 9 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096154 | 52 | 1 | 52 | 52 | 0.957447 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
de08f4525a57bc89d7337861c551c24c409f0be6 | 246 | py | Python | torchflare/utils/__init__.py | Atharva-Phatak/torchflare | 945f4bee73a855edd8cb19cd646731155499a27f | [
"Apache-2.0"
] | 86 | 2021-04-23T04:55:43.000Z | 2022-03-08T05:25:27.000Z | torchflare/utils/__init__.py | Neklaustares-tPtwP/torchflare | 7af6b01ef7c26f0277a041619081f6df4eb1e42c | [
"Apache-2.0"
] | 252 | 2021-04-20T21:48:10.000Z | 2022-03-31T21:12:05.000Z | torchflare/utils/__init__.py | Atharva-Phatak/torchflare | 945f4bee73a855edd8cb19cd646731155499a27f | [
"Apache-2.0"
] | 8 | 2021-04-28T19:57:49.000Z | 2021-08-09T02:31:35.000Z | """Imports for utils."""
from torchflare.utils.average_meter import AverageMeter
from torchflare.utils.imports_check import module_available
from torchflare.utils.seeder import seed_all
__all__ = ["AverageMeter", "seed_all", "module_available"]
| 35.142857 | 59 | 0.817073 | 31 | 246 | 6.16129 | 0.483871 | 0.219895 | 0.298429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085366 | 246 | 6 | 60 | 41 | 0.848889 | 0.073171 | 0 | 0 | 0 | 0 | 0.162162 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
e749de1249e6f0bb0e8175a0bbd8848f930de18c | 265 | py | Python | dphsir/denoisers/__init__.py | Zeqiang-Lai/DPHSIR | aef3bdabeed7b900b63a2b9f0a5222458b38554a | [
"MIT"
] | 3 | 2022-02-06T02:44:46.000Z | 2022-03-09T01:37:01.000Z | dphsir/denoisers/__init__.py | Zeqiang-Lai/DPHSIR | aef3bdabeed7b900b63a2b9f0a5222458b38554a | [
"MIT"
] | null | null | null | dphsir/denoisers/__init__.py | Zeqiang-Lai/DPHSIR | aef3bdabeed7b900b63a2b9f0a5222458b38554a | [
"MIT"
] | null | null | null | from .wrapper import (TVDenoiser,
FFDNet3DDenoiser, FFDNetDenoiser,
IRCNNDenoiser, DRUNetDenoiser,
QRNN3DDenoiser, GRUNetDenoiser, GRUNetTVDenoiser)
from .composite import Augment, DeepTVDenoiser | 44.166667 | 71 | 0.633962 | 16 | 265 | 10.5 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011111 | 0.320755 | 265 | 6 | 72 | 44.166667 | 0.922222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
e75e2dd4efef9998dac51d7a51b1dc5a1554cf4a | 130 | py | Python | fresh_slack/main.py | ops-utils/fresh-slack | 4befa9b4f9e02877470ae61cebd7a0cc7a9c9cd4 | [
"MIT"
] | 1 | 2020-08-06T01:54:33.000Z | 2020-08-06T01:54:33.000Z | fresh_slack/main.py | ops-utils/fresh-slack | 4befa9b4f9e02877470ae61cebd7a0cc7a9c9cd4 | [
"MIT"
] | null | null | null | fresh_slack/main.py | ops-utils/fresh-slack | 4befa9b4f9e02877470ae61cebd7a0cc7a9c9cd4 | [
"MIT"
] | 1 | 2020-07-06T03:56:38.000Z | 2020-07-06T03:56:38.000Z | from typing import Any
def main():
raise Exception
def lambda_handler(event: Any, context: Any) -> str:
raise Exception
| 16.25 | 52 | 0.707692 | 18 | 130 | 5.055556 | 0.722222 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.207692 | 130 | 7 | 53 | 18.571429 | 0.883495 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
e7e1d5f6e1b1a2478c7b1c02bf55b441a519fcf6 | 139 | py | Python | Branching_Programs/gamble.py | saratkumar17mss040/Python-lab-programs | a2faa190acaaa30d92d4c801fd53fdc668c3c394 | [
"MIT"
] | 3 | 2020-08-26T15:29:18.000Z | 2020-09-03T13:49:13.000Z | Branching_Programs/gamble.py | saratkumar17mss040/Python-lab-programs | a2faa190acaaa30d92d4c801fd53fdc668c3c394 | [
"MIT"
] | null | null | null | Branching_Programs/gamble.py | saratkumar17mss040/Python-lab-programs | a2faa190acaaa30d92d4c801fd53fdc668c3c394 | [
"MIT"
] | null | null | null | def profitable_gamble(prob, prize, pay):
if prob * prize > pay:
return True
return False
print(profitable_gamble(4,8,12)) | 19.857143 | 40 | 0.669065 | 20 | 139 | 4.55 | 0.7 | 0.351648 | 0.263736 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037383 | 0.230216 | 139 | 7 | 41 | 19.857143 | 0.813084 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.6 | 0.2 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
99b1e991ff06eb9d450d0cbc4b519773218a019b | 19 | py | Python | ecs_deploy/__init__.py | nahum-litvin-hs/ecs-deploy | 76f9cf08aeee447871e078f4606c012a877b7baf | [
"BSD-3-Clause"
] | null | null | null | ecs_deploy/__init__.py | nahum-litvin-hs/ecs-deploy | 76f9cf08aeee447871e078f4606c012a877b7baf | [
"BSD-3-Clause"
] | 1 | 2021-04-14T07:46:13.000Z | 2021-04-14T07:46:13.000Z | ecs_deploy/__init__.py | hazelops/ecs-deploy | 403f215901e5cb8915b22d127089fbded0e32509 | [
"BSD-3-Clause"
] | 1 | 2021-07-29T19:11:47.000Z | 2021-07-29T19:11:47.000Z | VERSION = '1.11.3'
| 9.5 | 18 | 0.578947 | 4 | 19 | 2.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0.157895 | 19 | 1 | 19 | 19 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
99f50437912bdf18ad33a8578d8673e0be01f998 | 141 | py | Python | gpflow/utilities/__init__.py | francescodonato/GPFlow_Keras | 896f2edb7a41b77f9cf4e14b040911e82d67b732 | [
"Apache-2.0"
] | null | null | null | gpflow/utilities/__init__.py | francescodonato/GPFlow_Keras | 896f2edb7a41b77f9cf4e14b040911e82d67b732 | [
"Apache-2.0"
] | null | null | null | gpflow/utilities/__init__.py | francescodonato/GPFlow_Keras | 896f2edb7a41b77f9cf4e14b040911e82d67b732 | [
"Apache-2.0"
] | null | null | null | from .bijectors import *
from .misc import *
from .multipledispatch import Dispatcher
from .traversal import *
# from .ops import pca_reduce
| 23.5 | 40 | 0.787234 | 18 | 141 | 6.111111 | 0.555556 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148936 | 141 | 5 | 41 | 28.2 | 0.916667 | 0.191489 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
820a8f0cc2147c9588ecef48df18872e91e2f2fb | 149 | py | Python | src/parser/AST/block.py | ARtoriouSs/sanya-script | bb421ce0f32f99eb4f157ca91809eab37ced1630 | [
"WTFPL"
] | 1 | 2020-09-23T21:20:47.000Z | 2020-09-23T21:20:47.000Z | src/parser/AST/block.py | ARtoriouSs/sanya-script | bb421ce0f32f99eb4f157ca91809eab37ced1630 | [
"WTFPL"
] | null | null | null | src/parser/AST/block.py | ARtoriouSs/sanya-script | bb421ce0f32f99eb4f157ca91809eab37ced1630 | [
"WTFPL"
] | null | null | null | class Block:
def __init__(self):
self.statements = []
def add_statement(self, statement):
self.statements.append(statement)
| 21.285714 | 41 | 0.651007 | 16 | 149 | 5.75 | 0.5625 | 0.304348 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.241611 | 149 | 6 | 42 | 24.833333 | 0.814159 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
8215fcc8b189222347fe258beaecf49093ae86eb | 577 | py | Python | ghost_jukebox/__init__.py | digitaltembo/ghost-jukebox | ab39c4be5ebed1c745ae43922cdc24eae6dedd9c | [
"MIT"
] | null | null | null | ghost_jukebox/__init__.py | digitaltembo/ghost-jukebox | ab39c4be5ebed1c745ae43922cdc24eae6dedd9c | [
"MIT"
] | 25 | 2019-03-18T03:13:08.000Z | 2022-03-11T23:42:08.000Z | ghost_jukebox/__init__.py | digitaltembo/ghost-jukebox | ab39c4be5ebed1c745ae43922cdc24eae6dedd9c | [
"MIT"
] | null | null | null | from flask import Flask
from ghost_jukebox import conf, security
# initialize Flask app
app = Flask(__name__)
# Initialize Authorization
basic_auth = security.basic_auth
home_auth = security.home_auth
# Just going to do a one user system for now, with username and password configured in environment variables
users... | 25.086957 | 108 | 0.82149 | 84 | 577 | 5.440476 | 0.5 | 0.157549 | 0.196937 | 0.251641 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117851 | 577 | 22 | 109 | 26.227273 | 0.897839 | 0.263432 | 0 | 0 | 0 | 0 | 0.030879 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.083333 | 0.583333 | 0 | 0.583333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
82255785594eff45b4dcf646a727367644bf6298 | 202 | py | Python | BullColors.py | ajmal017/bull_bot | d0b47619d841e97d68c5e25b96deb9a30db422b6 | [
"MIT"
] | 1 | 2020-11-26T00:49:30.000Z | 2020-11-26T00:49:30.000Z | BullColors.py | ajmal017/bull_bot | d0b47619d841e97d68c5e25b96deb9a30db422b6 | [
"MIT"
] | null | null | null | BullColors.py | ajmal017/bull_bot | d0b47619d841e97d68c5e25b96deb9a30db422b6 | [
"MIT"
] | null | null | null | # TODO: Just change this to CSS
colors = {
"text" : "#aaaaaa",
"background" : "#222221",
"plot_background" : "#222221",
"plot_gridlines" : "#777776",
"page_background" : "#222221"
} | 22.444444 | 34 | 0.579208 | 20 | 202 | 5.7 | 0.75 | 0.421053 | 0.350877 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 0.227723 | 202 | 9 | 35 | 22.444444 | 0.576923 | 0.143564 | 0 | 0 | 0 | 0 | 0.540698 | 0 | 0 | 0 | 0 | 0.111111 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
822712af2f45f754f3c144e4d7e3861f13c64241 | 365 | bzl | Python | clang/clang.bzl | quantapix/semtools | dce8840adc86e6a9672447aace969d37e236f922 | [
"MIT"
] | null | null | null | clang/clang.bzl | quantapix/semtools | dce8840adc86e6a9672447aace969d37e236f922 | [
"MIT"
] | null | null | null | clang/clang.bzl | quantapix/semtools | dce8840adc86e6a9672447aace969d37e236f922 | [
"MIT"
] | null | null | null | clang_env = {
"ASAN_SYMBOLIZER_PATH": "/usr/local/bin/llvm-symbolizer",
"CC": "/usr/local/bin/clang",
"GCOV": "/dev/null",
"LD_LIBRARY_PATH": "/usr/local/lib",
"MSAN_SYMBOLIZER_PATH": "/usr/local/bin/llvm-symbolizer",
"TSAN_SYMBOLIZER_PATH": "/usr/local/bin/llvm-symbolizer",
"UBSAN_SYMBOLIZE... | 36.5 | 62 | 0.671233 | 48 | 365 | 4.875 | 0.395833 | 0.205128 | 0.25641 | 0.376068 | 0.666667 | 0.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0.126027 | 365 | 9 | 63 | 40.555556 | 0.733542 | 0 | 0 | 0 | 0 | 0 | 0.726027 | 0.386301 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
41707b856d588bc870e01cd123b2de955c976644 | 33 | py | Python | test/test_util/__init__.py | SirWindfield/better-exceptions | a2b920c2d48592150329b816274208cb6c8ff2c0 | [
"MIT"
] | 4,410 | 2017-03-12T11:27:56.000Z | 2022-03-31T17:39:51.000Z | test/test_util/__init__.py | pralhad88/ng_exception | 5d362bccf94b75d748a156e60e0ededb9dd29cbd | [
"MIT"
] | 104 | 2017-03-22T09:29:12.000Z | 2022-03-22T01:51:27.000Z | test/test_util/__init__.py | pralhad88/ng_exception | 5d362bccf94b75d748a156e60e0ededb9dd29cbd | [
"MIT"
] | 243 | 2017-03-22T09:10:42.000Z | 2022-01-11T18:42:46.000Z | # DO NOT ADD AS setup.py MODULE!
| 16.5 | 32 | 0.69697 | 7 | 33 | 3.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212121 | 33 | 1 | 33 | 33 | 0.884615 | 0.909091 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
41ce1831ce9a24b4ee26f91caf9518d6e4dcb822 | 8,212 | py | Python | metaapi/views.py | mark-barrett/RESTBroker | d9b0a3574d2970443fdf40c70ab9ceb8d72614f4 | [
"MIT"
] | null | null | null | metaapi/views.py | mark-barrett/RESTBroker | d9b0a3574d2970443fdf40c70ab9ceb8d72614f4 | [
"MIT"
] | null | null | null | metaapi/views.py | mark-barrett/RESTBroker | d9b0a3574d2970443fdf40c70ab9ceb8d72614f4 | [
"MIT"
] | null | null | null | import json
import random
import string
import MySQLdb
from django.http import HttpResponse
from django.shortcuts import render, redirect
from django.views import View
import MySQLdb as db
from api.models import APIKey
class Profiles(View):
def get(self, request):
conn = db.connect(host='35.241.219.62'... | 31.829457 | 120 | 0.500974 | 819 | 8,212 | 4.907204 | 0.175824 | 0.055238 | 0.076636 | 0.094053 | 0.796716 | 0.771585 | 0.763872 | 0.749191 | 0.749191 | 0.737995 | 0 | 0.020179 | 0.414637 | 8,212 | 257 | 121 | 31.953307 | 0.815893 | 0.048587 | 0 | 0.631902 | 0 | 0 | 0.132838 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04908 | false | 0.018405 | 0.055215 | 0.01227 | 0.239264 | 0.018405 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
ec0ad2fcaf36cca8f8272726b06de417ea8389e0 | 112 | py | Python | jsonWebToken/__init__.py | No9005/jwt | 411e27819bb3603e3dca021775286f573562964d | [
"MIT"
] | null | null | null | jsonWebToken/__init__.py | No9005/jwt | 411e27819bb3603e3dca021775286f573562964d | [
"MIT"
] | null | null | null | jsonWebToken/__init__.py | No9005/jwt | 411e27819bb3603e3dca021775286f573562964d | [
"MIT"
] | null | null | null | """
Package to handle the creation of signed
Json web tokens
"""
from .algorithmn import with_rsa, with_secret | 16 | 45 | 0.767857 | 17 | 112 | 4.941176 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160714 | 112 | 7 | 45 | 16 | 0.893617 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
ec1b641e45e460febe2ddbf469c129d449b9044e | 167 | py | Python | DesignPatterns/FactoryPattern/SimpleFactory/autos/kia.py | Py-Himanshu-Patel/Learn-Python | 47a50a934cabcce3b1cbdd4c88141a51f21d3a05 | [
"MIT"
] | null | null | null | DesignPatterns/FactoryPattern/SimpleFactory/autos/kia.py | Py-Himanshu-Patel/Learn-Python | 47a50a934cabcce3b1cbdd4c88141a51f21d3a05 | [
"MIT"
] | null | null | null | DesignPatterns/FactoryPattern/SimpleFactory/autos/kia.py | Py-Himanshu-Patel/Learn-Python | 47a50a934cabcce3b1cbdd4c88141a51f21d3a05 | [
"MIT"
] | null | null | null | from .abstract_auto import AbstractAuto
class Kia(AbstractAuto):
def start(self):
print("Kia started")
def stop(self):
print("Kia stopped")
| 16.7 | 39 | 0.646707 | 20 | 167 | 5.35 | 0.7 | 0.168224 | 0.224299 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.245509 | 167 | 9 | 40 | 18.555556 | 0.849206 | 0 | 0 | 0 | 0 | 0 | 0.131737 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0 | 0.666667 | 0.333333 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
ec57570758437ef5800c0019f0ad56a75857a8c0 | 56 | py | Python | causallib/contrib/adversarial_balancing/__init__.py | liranszlak/causallib | 2636149f6b1e307672aff638a53f8eaf2be56bc9 | [
"Apache-2.0"
] | 350 | 2019-06-19T15:56:19.000Z | 2022-03-28T23:47:46.000Z | causallib/contrib/adversarial_balancing/__init__.py | daveh19/causallib | af4bd82be0a65b457bea435da70a10bb0013d4bf | [
"Apache-2.0"
] | 13 | 2019-08-14T22:04:21.000Z | 2022-03-14T07:44:12.000Z | causallib/contrib/adversarial_balancing/__init__.py | daveh19/causallib | af4bd82be0a65b457bea435da70a10bb0013d4bf | [
"Apache-2.0"
] | 48 | 2019-11-02T16:40:56.000Z | 2022-02-09T12:55:12.000Z | from .adversarial_balancing import AdversarialBalancing
| 28 | 55 | 0.910714 | 5 | 56 | 10 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 56 | 1 | 56 | 56 | 0.961538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
6b944265f80cc4266e27df00e25b0060e67fc0d4 | 42 | py | Python | yard/skills/66-python/cookbook/yvhai/demo/std/ds/deque.py | paser4se/bbxyard | d09bc6efb75618b2cef047bad9c8b835043446cb | [
"Apache-2.0"
] | 1 | 2016-03-29T02:01:58.000Z | 2016-03-29T02:01:58.000Z | yard/skills/66-python/cookbook/yvhai/demo/std/ds/deque.py | paser4se/bbxyard | d09bc6efb75618b2cef047bad9c8b835043446cb | [
"Apache-2.0"
] | 18 | 2019-02-13T09:15:25.000Z | 2021-12-09T21:32:13.000Z | yard/skills/66-python/cookbook/yvhai/demo/std/ds/deque.py | paser4se/bbxyard | d09bc6efb75618b2cef047bad9c8b835043446cb | [
"Apache-2.0"
] | 2 | 2020-07-05T01:01:30.000Z | 2020-07-08T22:33:06.000Z | from ..collections.deque import DequeDemo
| 21 | 41 | 0.833333 | 5 | 42 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 42 | 1 | 42 | 42 | 0.921053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
6bb34a6cb8d092b3904b3135ab1a8eaefcae0dab | 171 | py | Python | lairgpt/__init__.py | lightonai/lairgpt | 7580e1339a39662b2ff636d158c36195eb7fe3fb | [
"MIT"
] | 19 | 2021-05-04T13:54:45.000Z | 2022-01-05T15:45:12.000Z | lairgpt/__init__.py | lightonai/lairgpt | 7580e1339a39662b2ff636d158c36195eb7fe3fb | [
"MIT"
] | null | null | null | lairgpt/__init__.py | lightonai/lairgpt | 7580e1339a39662b2ff636d158c36195eb7fe3fb | [
"MIT"
] | 1 | 2021-05-28T15:25:12.000Z | 2021-05-28T15:25:12.000Z | from lairgpt.gpt_model import LairGPT
from lairgpt.text_generator import TextGenerator
from lairgpt.models import PAGnol
lairgpt = ["LairGPT", "TextGenerator", "PAGnol"]
| 28.5 | 48 | 0.812865 | 21 | 171 | 6.52381 | 0.47619 | 0.240876 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 171 | 5 | 49 | 34.2 | 0.895425 | 0 | 0 | 0 | 0 | 0 | 0.152047 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
6bb4b0da36388d2953013d21efd89b5fdd126248 | 51 | py | Python | blobcity/main/__init__.py | sreyan-ghosh/autoai | 8351788adf3e2a126500d03a07f69525936299ac | [
"Apache-2.0"
] | 1 | 2021-10-06T05:26:14.000Z | 2021-10-06T05:26:14.000Z | blobcity/main/__init__.py | sreyan-ghosh/autoai | 8351788adf3e2a126500d03a07f69525936299ac | [
"Apache-2.0"
] | null | null | null | blobcity/main/__init__.py | sreyan-ghosh/autoai | 8351788adf3e2a126500d03a07f69525936299ac | [
"Apache-2.0"
] | null | null | null | from .driver import *
from .modelSelection import * | 25.5 | 29 | 0.784314 | 6 | 51 | 6.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137255 | 51 | 2 | 29 | 25.5 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
6bc0337e95ba3ae7e285197fa8865e87d07c0248 | 245 | py | Python | myproject/boards/pyimports.py | scaraclette/WebBoard | e35cec96589063e75fcba52898fadfa4e3f961fd | [
"MIT"
] | 1 | 2019-12-14T20:32:17.000Z | 2019-12-14T20:32:17.000Z | myproject/boards/pyimports.py | scaraclette/WebBoard | e35cec96589063e75fcba52898fadfa4e3f961fd | [
"MIT"
] | 5 | 2021-03-19T08:34:20.000Z | 2022-02-10T10:15:32.000Z | myproject/boards/pyimports.py | scaraclette/WebBoard | e35cec96589063e75fcba52898fadfa4e3f961fd | [
"MIT"
] | null | null | null | from django.urls import reverse,resolve
from django.test import TestCase
from .views import home, board_topics, new_topic
from .models import Board, Topic, Post
from django.test import Client, TestCase
from django.contrib.auth.models import User | 40.833333 | 48 | 0.828571 | 38 | 245 | 5.289474 | 0.526316 | 0.199005 | 0.139303 | 0.199005 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 245 | 6 | 49 | 40.833333 | 0.926267 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
6bcabb66a13dc3d0049c0395fbdecbad1990bad8 | 30 | py | Python | gui/views/drawables/__init__.py | frlnx/melee | db2670453771c6d3635e97e28bb8667b14643b05 | [
"CC0-1.0"
] | null | null | null | gui/views/drawables/__init__.py | frlnx/melee | db2670453771c6d3635e97e28bb8667b14643b05 | [
"CC0-1.0"
] | null | null | null | gui/views/drawables/__init__.py | frlnx/melee | db2670453771c6d3635e97e28bb8667b14643b05 | [
"CC0-1.0"
] | null | null | null | from .drawable import Drawable | 30 | 30 | 0.866667 | 4 | 30 | 6.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 1 | 30 | 30 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
6bf610a25444be6b6b8fce8862dd00faeefb8726 | 407 | py | Python | hubspot/crm/objects/feedback_submissions/api/__init__.py | cclauss/hubspot-api-python | 7c60c0f572b98c73e1f1816bf5981396a42735f6 | [
"Apache-2.0"
] | 117 | 2020-04-06T08:22:53.000Z | 2022-03-18T03:41:29.000Z | hubspot/crm/objects/feedback_submissions/api/__init__.py | cclauss/hubspot-api-python | 7c60c0f572b98c73e1f1816bf5981396a42735f6 | [
"Apache-2.0"
] | 62 | 2020-04-06T16:21:06.000Z | 2022-03-17T16:50:44.000Z | hubspot/crm/objects/feedback_submissions/api/__init__.py | cclauss/hubspot-api-python | 7c60c0f572b98c73e1f1816bf5981396a42735f6 | [
"Apache-2.0"
] | 45 | 2020-04-06T16:13:52.000Z | 2022-03-30T21:33:17.000Z | from __future__ import absolute_import
# flake8: noqa
# import apis into api package
from hubspot.crm.objects.feedback_submissions.api.associations_api import AssociationsApi
from hubspot.crm.objects.feedback_submissions.api.basic_api import BasicApi
from hubspot.crm.objects.feedback_submissions.api.batch_api import ... | 40.7 | 89 | 0.867322 | 56 | 407 | 6.071429 | 0.410714 | 0.129412 | 0.164706 | 0.247059 | 0.505882 | 0.505882 | 0.505882 | 0 | 0 | 0 | 0 | 0.00266 | 0.076167 | 407 | 9 | 90 | 45.222222 | 0.901596 | 0.100737 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.