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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
53023c9d299cd94c463a0b0311476646d5bba07e | 37 | py | Python | tests/components/light/__init__.py | MrDelik/core | 93a66cc357b226389967668441000498a10453bb | [
"Apache-2.0"
] | 30,023 | 2016-04-13T10:17:53.000Z | 2020-03-02T12:56:31.000Z | tests/components/light/__init__.py | jagadeeshvenkatesh/core | 1bd982668449815fee2105478569f8e4b5670add | [
"Apache-2.0"
] | 31,101 | 2020-03-02T13:00:16.000Z | 2022-03-31T23:57:36.000Z | tests/components/light/__init__.py | jagadeeshvenkatesh/core | 1bd982668449815fee2105478569f8e4b5670add | [
"Apache-2.0"
] | 11,956 | 2016-04-13T18:42:31.000Z | 2020-03-02T09:32:12.000Z | """The tests for Light platforms."""
| 18.5 | 36 | 0.675676 | 5 | 37 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135135 | 37 | 1 | 37 | 37 | 0.78125 | 0.810811 | 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 |
5312cf409352c230679292ca642b31e0d4a71e10 | 97 | py | Python | glass/__init__.py | timgates42/glass.py | 846638dcc2d596ba48d68859affc9f5e30823e50 | [
"Apache-2.0"
] | null | null | null | glass/__init__.py | timgates42/glass.py | 846638dcc2d596ba48d68859affc9f5e30823e50 | [
"Apache-2.0"
] | null | null | null | glass/__init__.py | timgates42/glass.py | 846638dcc2d596ba48d68859affc9f5e30823e50 | [
"Apache-2.0"
] | null | null | null | import exceptions
from app import Application
from user import User
from timeline import Timeline | 24.25 | 29 | 0.865979 | 14 | 97 | 6 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134021 | 97 | 4 | 29 | 24.25 | 1 | 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 |
53172c75e191312bc4a1a98bdc912d5b03b9f838 | 1,929 | py | Python | P2/assignment/testing_structures/split_list.py | Pierrefha/introduction-to-ai-practials | 55050d710398d82a5358bc04fea5a4cac6f7b74f | [
"MIT"
] | null | null | null | P2/assignment/testing_structures/split_list.py | Pierrefha/introduction-to-ai-practials | 55050d710398d82a5358bc04fea5a4cac6f7b74f | [
"MIT"
] | null | null | null | P2/assignment/testing_structures/split_list.py | Pierrefha/introduction-to-ai-practials | 55050d710398d82a5358bc04fea5a4cac6f7b74f | [
"MIT"
] | null | null | null | import random
def swap_second_half(state_one, state_two, cut_position):
"""" Cuts both states at cut position and swaps
the resulting second parts with each other.
Returns a pair of cut and swapped states.
"""
first_state_left = first_state[0:cut_position]
first_state_right = second... | 38.58 | 78 | 0.690513 | 261 | 1,929 | 4.762452 | 0.195402 | 0.152856 | 0.077233 | 0.061142 | 0.772325 | 0.772325 | 0.743363 | 0.713596 | 0.713596 | 0.653258 | 0 | 0.019346 | 0.222913 | 1,929 | 49 | 79 | 39.367347 | 0.809873 | 0.135822 | 0 | 0.30303 | 0 | 0 | 0.117391 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.060606 | false | 0 | 0.030303 | 0 | 0.151515 | 0.151515 | 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 |
5319e7a0dafedb81221d9e8a0c0742cdc32c307f | 132 | py | Python | polyaxon/polyaxon/config_settings/repos.py | vfdev-5/polyaxon | 3e1511a993dc1a03e0a0827de0357f4adcc0015f | [
"MIT"
] | null | null | null | polyaxon/polyaxon/config_settings/repos.py | vfdev-5/polyaxon | 3e1511a993dc1a03e0a0827de0357f4adcc0015f | [
"MIT"
] | null | null | null | polyaxon/polyaxon/config_settings/repos.py | vfdev-5/polyaxon | 3e1511a993dc1a03e0a0827de0357f4adcc0015f | [
"MIT"
] | null | null | null | from polyaxon.config_manager import config
REPOS_ACCESS_TOKEN = config.get_string('POLYAXON_REPOS_ACCESS_TOKEN', is_optional=True)
| 33 | 87 | 0.863636 | 19 | 132 | 5.578947 | 0.684211 | 0.207547 | 0.301887 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068182 | 132 | 3 | 88 | 44 | 0.861789 | 0 | 0 | 0 | 0 | 0 | 0.204545 | 0.204545 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
5349fb651d8f1e74a4e8361cd1de245c87ebef03 | 206 | py | Python | odapi/tests/interfaces/test_interfaces_geomatic.py | jlandercy/odapi | 781aa95ef346f8d5f1d727a19ae078687cc4cc36 | [
"BSD-3-Clause"
] | 1 | 2020-05-27T08:33:26.000Z | 2020-05-27T08:33:26.000Z | odapi/tests/interfaces/test_interfaces_geomatic.py | jlandercy/odapi | 781aa95ef346f8d5f1d727a19ae078687cc4cc36 | [
"BSD-3-Clause"
] | null | null | null | odapi/tests/interfaces/test_interfaces_geomatic.py | jlandercy/odapi | 781aa95ef346f8d5f1d727a19ae078687cc4cc36 | [
"BSD-3-Clause"
] | null | null | null | import sys
import unittest
import pandas as pd
from odapi.settings import settings
class GeomaticTest:
pass
def main():
unittest.main()
sys.exit(0)
if __name__ == "__main__":
main()
| 10.3 | 35 | 0.679612 | 27 | 206 | 4.888889 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006329 | 0.23301 | 206 | 19 | 36 | 10.842105 | 0.829114 | 0 | 0 | 0 | 0 | 0 | 0.038835 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | true | 0.090909 | 0.363636 | 0 | 0.545455 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
5356e45ffe06007fb797b012b4512c86d7e82e5e | 3,934 | py | Python | pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/pbr/configure.py | patrickboertje/genielibs | 61c37aacf3dd0f499944555e4ff940f92f53dacb | [
"Apache-2.0"
] | 1 | 2022-01-16T10:00:24.000Z | 2022-01-16T10:00:24.000Z | pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/pbr/configure.py | patrickboertje/genielibs | 61c37aacf3dd0f499944555e4ff940f92f53dacb | [
"Apache-2.0"
] | null | null | null | pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/pbr/configure.py | patrickboertje/genielibs | 61c37aacf3dd0f499944555e4ff940f92f53dacb | [
"Apache-2.0"
] | null | null | null | """Common configure functions for PBR"""
import logging
from unicon.core.errors import SubCommandFailure
log = logging.getLogger(__name__)
def configure_route_map_under_interface(device, interface, route_map):
""" Configure route-map on an interface
Args:
device (`obj`): Device object
... | 27.704225 | 106 | 0.562278 | 420 | 3,934 | 5.130952 | 0.154762 | 0.12993 | 0.044548 | 0.030162 | 0.83109 | 0.786543 | 0.777726 | 0.739211 | 0.643619 | 0.643619 | 0 | 0 | 0.344687 | 3,934 | 141 | 107 | 27.900709 | 0.835919 | 0.271225 | 0 | 0.602941 | 0 | 0.029412 | 0.202432 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.058824 | false | 0 | 0.029412 | 0 | 0.088235 | 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 |
536e626174e7353b3ab7f1669e507daa6239d787 | 69 | py | Python | src/__init__.py | FangTang999/grid2demand | 3b253643d18e773700e24a3284e365d2268c3e41 | [
"Apache-2.0"
] | 42 | 2021-01-03T17:11:28.000Z | 2022-03-28T20:27:29.000Z | src/__init__.py | FangTang999/grid2demand | 3b253643d18e773700e24a3284e365d2268c3e41 | [
"Apache-2.0"
] | 7 | 2021-01-29T06:15:14.000Z | 2022-03-11T11:02:42.000Z | src/__init__.py | FangTang999/grid2demand | 3b253643d18e773700e24a3284e365d2268c3e41 | [
"Apache-2.0"
] | 11 | 2021-01-18T02:14:59.000Z | 2021-12-07T13:07:25.000Z | from .grid2demand_0129 import *
print('grid2demand, version 0.0.1')
| 17.25 | 35 | 0.753623 | 10 | 69 | 5.1 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147541 | 0.115942 | 69 | 3 | 36 | 23 | 0.688525 | 0 | 0 | 0 | 0 | 0 | 0.376812 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
7274475763d943a6b30a47578c302239efd9b27e | 42 | py | Python | exceptions/signature_exception.py | gbanegas/KissECC | 2630998178955a6e68adec34e30802447057c58f | [
"Apache-2.0"
] | 1 | 2017-02-08T16:01:48.000Z | 2017-02-08T16:01:48.000Z | exceptions/signature_exception.py | gbanegas/ecc | 2630998178955a6e68adec34e30802447057c58f | [
"Apache-2.0"
] | null | null | null | exceptions/signature_exception.py | gbanegas/ecc | 2630998178955a6e68adec34e30802447057c58f | [
"Apache-2.0"
] | null | null | null | class SignatureError(Exception):
pass
| 14 | 32 | 0.761905 | 4 | 42 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 42 | 2 | 33 | 21 | 0.914286 | 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 |
7274c4614d0c19de6b60334a5e8ca939852c17bd | 112 | py | Python | JPS/python/caresjpsnlq/ols_docker/test.py | mdhillmancmcl/TheWorldAvatar-CMCL-Fork | 011aee78c016b76762eaf511c78fabe3f98189f4 | [
"MIT"
] | 21 | 2021-03-08T01:58:25.000Z | 2022-03-09T15:46:16.000Z | JPS/python/caresjpsnlq/ols_docker/test.py | mdhillmancmcl/TheWorldAvatar-CMCL-Fork | 011aee78c016b76762eaf511c78fabe3f98189f4 | [
"MIT"
] | 63 | 2021-05-04T15:05:30.000Z | 2022-03-23T14:32:29.000Z | JPS/python/caresjpsnlq/ols_docker/test.py | mdhillmancmcl/TheWorldAvatar-CMCL-Fork | 011aee78c016b76762eaf511c78fabe3f98189f4 | [
"MIT"
] | 15 | 2021-03-08T07:52:03.000Z | 2022-03-29T04:46:20.000Z | import urllib.request
with urllib.request.urlopen('http://www.ebi.ac.uk/efo/efo.owl') as f:
print(f.read(300))
| 28 | 69 | 0.732143 | 21 | 112 | 3.904762 | 0.809524 | 0.317073 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028846 | 0.071429 | 112 | 3 | 70 | 37.333333 | 0.759615 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 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 |
7295813d46ac823fa80fd86dbb38f0550d70f873 | 65 | py | Python | matchms/exporting/__init__.py | NLeSC/Spec2Vec | 80678fdc7325813a1e3bd3ad7e2a60cb7482026a | [
"Apache-2.0"
] | null | null | null | matchms/exporting/__init__.py | NLeSC/Spec2Vec | 80678fdc7325813a1e3bd3ad7e2a60cb7482026a | [
"Apache-2.0"
] | 23 | 2020-03-16T13:47:00.000Z | 2020-03-19T13:34:27.000Z | matchms/exporting/__init__.py | NLeSC/spec2vec | 80678fdc7325813a1e3bd3ad7e2a60cb7482026a | [
"Apache-2.0"
] | null | null | null | from .save_as_mgf import save_as_mgf
__all__ = ["save_as_mgf"]
| 13 | 36 | 0.769231 | 12 | 65 | 3.333333 | 0.5 | 0.45 | 0.675 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138462 | 65 | 4 | 37 | 16.25 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0.169231 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
72cabf7808366a50e1cc1d59929997292684a4fc | 644 | py | Python | Contributors/GabrielConlon/checkPermutation/tests_check_permutation.py | iatenine/Coders-Workshop | d93fbdd2e2cd2722f45d2a16d6ace31b62e7fc3f | [
"MIT"
] | 33 | 2019-12-02T23:29:47.000Z | 2022-03-24T02:40:36.000Z | Contributors/GabrielConlon/checkPermutation/tests_check_permutation.py | iatenine/Coders-Workshop | d93fbdd2e2cd2722f45d2a16d6ace31b62e7fc3f | [
"MIT"
] | 39 | 2020-01-15T19:28:12.000Z | 2021-11-26T05:13:29.000Z | Contributors/GabrielConlon/checkPermutation/tests_check_permutation.py | iatenine/Coders-Workshop | d93fbdd2e2cd2722f45d2a16d6ace31b62e7fc3f | [
"MIT"
] | 49 | 2019-12-02T23:29:53.000Z | 2022-03-03T01:11:37.000Z | # practicing with some unittesting
import check_permutation
import unittest
class TestMethods(unittest.TestCase):
def test_baseline(self):
self.assertTrue(check_permutation.check_permutation("god", "dog"))
def test_lengthDiff(self):
self.assertFalse(check_permutation.check_permutation("hello... | 28 | 93 | 0.743789 | 70 | 644 | 6.6 | 0.428571 | 0.311688 | 0.181818 | 0.277056 | 0.491342 | 0.491342 | 0.458874 | 0.242424 | 0 | 0 | 0 | 0 | 0.149068 | 644 | 22 | 94 | 29.272727 | 0.843066 | 0.049689 | 0 | 0 | 0 | 0 | 0.111475 | 0 | 0 | 0 | 0 | 0 | 0.307692 | 1 | 0.307692 | false | 0 | 0.153846 | 0 | 0.538462 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
f429c163ca44e2690c00d84cfca7e174852dbbcd | 119 | py | Python | TexDBook/__init__.py | kkysen/TexDBook | 61d9db5f00f04b00fd45ef50d0c8df417548d324 | [
"MIT"
] | null | null | null | TexDBook/__init__.py | kkysen/TexDBook | 61d9db5f00f04b00fd45ef50d0c8df417548d324 | [
"MIT"
] | 9 | 2018-05-18T16:19:27.000Z | 2022-02-26T03:48:31.000Z | TexDBook/__init__.py | kkysen/TexDBook | 61d9db5f00f04b00fd45ef50d0c8df417548d324 | [
"MIT"
] | 1 | 2018-06-14T04:06:14.000Z | 2018-06-14T04:06:14.000Z | from src.python.app import app_name, create_app
if __name__ == '__main__':
print(app_name)
create_app().run()
| 19.833333 | 47 | 0.705882 | 18 | 119 | 4 | 0.611111 | 0.194444 | 0.361111 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168067 | 119 | 5 | 48 | 23.8 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0.067227 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0.25 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
f4403d208c3462837a5c54441cd4467b99623f51 | 39 | py | Python | CodeUp/6003.py | chae-heechan/Algorithm_Study | 183a77e2cfe352cd82fb5e988b493082529a73dd | [
"MIT"
] | null | null | null | CodeUp/6003.py | chae-heechan/Algorithm_Study | 183a77e2cfe352cd82fb5e988b493082529a73dd | [
"MIT"
] | null | null | null | CodeUp/6003.py | chae-heechan/Algorithm_Study | 183a77e2cfe352cd82fb5e988b493082529a73dd | [
"MIT"
] | null | null | null | # 출력하기 03
print("Hello")
print("World") | 13 | 14 | 0.666667 | 6 | 39 | 4.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057143 | 0.102564 | 39 | 3 | 15 | 13 | 0.685714 | 0.179487 | 0 | 0 | 0 | 0 | 0.322581 | 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 |
f443846f7fb6cc18ee9bf9f30b853daa9e22b069 | 9,919 | py | Python | Market/views.py | Fowerus/drf-crm | be5420f1942886b685214c33537cf4b3759704a1 | [
"Apache-2.0"
] | 3 | 2021-09-20T09:21:46.000Z | 2021-09-21T08:51:14.000Z | Market/views.py | Fowerus/drf-crm | be5420f1942886b685214c33537cf4b3759704a1 | [
"Apache-2.0"
] | null | null | null | Market/views.py | Fowerus/drf-crm | be5420f1942886b685214c33537cf4b3759704a1 | [
"Apache-2.0"
] | null | null | null | from django.db import transaction
from rest_framework import status
from rest_framework import generics
from rest_framework.response import Response
from .serializers import *
from Handbook.models import *
from core.utils.customPerm import *
from core.utils.customViewMethods import *
class ProductCategoryListAPIVie... | 38.445736 | 119 | 0.79756 | 732 | 9,919 | 10.635246 | 0.181694 | 0.072062 | 0.207707 | 0.105973 | 0.784586 | 0.748234 | 0.725883 | 0.413102 | 0.403211 | 0.403211 | 0 | 0.00093 | 0.132977 | 9,919 | 257 | 120 | 38.595331 | 0.904302 | 0 | 0 | 0.647059 | 0 | 0 | 0.015929 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.010695 | false | 0 | 0.042781 | 0 | 0.909091 | 0 | 0 | 0 | 1 | null | 0 | 1 | 0 | 0 | 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 | 1 | 0 | 0 | 5 |
f4834861d4b7b643d6a06809f095bf5f0eb673c8 | 86 | py | Python | c02/p049_test_doc.py | HiAwesome/dive-into-python3-practice | e57504cb0683ebca9c80b20ff0cb3878bdcc3f87 | [
"Apache-2.0"
] | null | null | null | c02/p049_test_doc.py | HiAwesome/dive-into-python3-practice | e57504cb0683ebca9c80b20ff0cb3878bdcc3f87 | [
"Apache-2.0"
] | null | null | null | c02/p049_test_doc.py | HiAwesome/dive-into-python3-practice | e57504cb0683ebca9c80b20ff0cb3878bdcc3f87 | [
"Apache-2.0"
] | null | null | null | from p044_humansize import *
"""
测试写了 doc 代码的提示
"""
print(approximate_size(10000000))
| 14.333333 | 33 | 0.755814 | 11 | 86 | 5.727273 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144737 | 0.116279 | 86 | 5 | 34 | 17.2 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
be3f593019919495e96b0b8d2e2aba0e019c4843 | 208 | py | Python | processing/views/main_view.py | haykhman/online-newspaper | ebe38be63f3f037160532b33eb76bf9a22dbf171 | [
"MIT"
] | 1 | 2018-12-10T15:50:21.000Z | 2018-12-10T15:50:21.000Z | processing/views/main_view.py | haykhman/online-newspaper | ebe38be63f3f037160532b33eb76bf9a22dbf171 | [
"MIT"
] | null | null | null | processing/views/main_view.py | haykhman/online-newspaper | ebe38be63f3f037160532b33eb76bf9a22dbf171 | [
"MIT"
] | null | null | null | from django.shortcuts import redirect
from django.views.generic import View
class EnteryLanguageDetect(View):
def get(self, request, *args, **kwargs):
return redirect('/' + request.LANGUAGE_CODE) | 34.666667 | 52 | 0.745192 | 25 | 208 | 6.16 | 0.76 | 0.12987 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149038 | 208 | 6 | 52 | 34.666667 | 0.870057 | 0 | 0 | 0 | 0 | 0 | 0.004785 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 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 |
be3f6291be95be2878b5d8758a5802c131aae68a | 93 | py | Python | copulae/mixtures/gmc/estimators/exceptions.py | CrisDS81/copulae | 2a312c2b849f95cfb2b40b381d34bc790d9d80c5 | [
"MIT"
] | 100 | 2019-01-30T19:52:04.000Z | 2022-03-18T10:00:17.000Z | copulae/mixtures/gmc/estimators/exceptions.py | CrisDS81/copulae | 2a312c2b849f95cfb2b40b381d34bc790d9d80c5 | [
"MIT"
] | 30 | 2019-07-14T00:30:03.000Z | 2021-08-24T08:59:14.000Z | copulae/mixtures/gmc/estimators/exceptions.py | CrisDS81/copulae | 2a312c2b849f95cfb2b40b381d34bc790d9d80c5 | [
"MIT"
] | 25 | 2019-03-10T21:12:55.000Z | 2021-11-09T11:54:16.000Z | class FitException(Exception):
pass
class InvalidStoppingCriteria(Exception):
pass
| 13.285714 | 41 | 0.763441 | 8 | 93 | 8.875 | 0.625 | 0.366197 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172043 | 93 | 6 | 42 | 15.5 | 0.922078 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 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 |
be47807adb57e21af4a10f4c74555368d4f8a07f | 49 | py | Python | webimgui/exceptions.py | elnardu/webimgui | 4b5f21ed5e5ad3c0d3f567050bdaa455d0da7327 | [
"MIT"
] | 4 | 2019-11-04T07:26:48.000Z | 2020-03-09T06:50:48.000Z | webimgui/exceptions.py | elnardu/webimgui | 4b5f21ed5e5ad3c0d3f567050bdaa455d0da7327 | [
"MIT"
] | 5 | 2021-03-10T08:09:17.000Z | 2022-02-12T23:56:34.000Z | webimgui/exceptions.py | elnardu/webimgui | 4b5f21ed5e5ad3c0d3f567050bdaa455d0da7327 | [
"MIT"
] | null | null | null | class WebimguiException(BaseException):
pass
| 16.333333 | 39 | 0.795918 | 4 | 49 | 9.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 49 | 2 | 40 | 24.5 | 0.928571 | 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 |
be4aa2a46abe58d2cc2d08c11e91d67d39d1a0cf | 115 | py | Python | src/aws_maintenance_window_reporter/__init__.py | binxio/aws-maintenance-window-reporter | aeb7d3bb0068d3fd49d00aedc8e83b9e7052d76e | [
"Apache-2.0"
] | null | null | null | src/aws_maintenance_window_reporter/__init__.py | binxio/aws-maintenance-window-reporter | aeb7d3bb0068d3fd49d00aedc8e83b9e7052d76e | [
"Apache-2.0"
] | null | null | null | src/aws_maintenance_window_reporter/__init__.py | binxio/aws-maintenance-window-reporter | aeb7d3bb0068d3fd49d00aedc8e83b9e7052d76e | [
"Apache-2.0"
] | null | null | null | """
reports upcoming AWS maintenance windows
"""
from aws_maintenance_window_reporter.report import handle, report
| 23 | 65 | 0.826087 | 14 | 115 | 6.571429 | 0.785714 | 0.304348 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104348 | 115 | 4 | 66 | 28.75 | 0.893204 | 0.347826 | 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 |
be4b49aa2ec09c8806e455c101c5773df2ba1db0 | 1,118 | py | Python | sequestrum/logging.py | goteemLight/sequestrum | 32fea21e45101f11f9f45f730314b6d98f70b508 | [
"MIT"
] | null | null | null | sequestrum/logging.py | goteemLight/sequestrum | 32fea21e45101f11f9f45f730314b6d98f70b508 | [
"MIT"
] | null | null | null | sequestrum/logging.py | goteemLight/sequestrum | 32fea21e45101f11f9f45f730314b6d98f70b508 | [
"MIT"
] | null | null | null | # Logging module
import sys
import time
def delay_print(string):
for character in string:
sys.stdout.write(character)
sys.stdout.flush()
time.sleep(0.07)
print("\n", end="")
def format_output(error_type, error_message, package_name=None):
if package_name:
return("[{}:{}]... | 27.95 | 80 | 0.690519 | 153 | 1,118 | 4.810458 | 0.287582 | 0.211957 | 0.283967 | 0.34375 | 0.544837 | 0.508152 | 0.508152 | 0.415761 | 0.171196 | 0 | 0 | 0.055439 | 0.144902 | 1,118 | 39 | 81 | 28.666667 | 0.714435 | 0.012522 | 0 | 0 | 0 | 0 | 0.14882 | 0.104356 | 0 | 0 | 0 | 0 | 0 | 1 | 0.291667 | false | 0 | 0.083333 | 0 | 0.375 | 0.5 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
be6ee15e7b6047e424dc5eb86b480fdec356aa3a | 2,561 | py | Python | tests/wallet/test_simple_transfers.py | sunpuyo/merkle-bridge | 0dad3b832bf3f9f39c5e59298b69fb61d0a1144c | [
"MIT"
] | 5 | 2018-11-29T05:57:10.000Z | 2019-12-03T23:38:37.000Z | tests/wallet/test_simple_transfers.py | sunpuyo/merkle-bridge | 0dad3b832bf3f9f39c5e59298b69fb61d0a1144c | [
"MIT"
] | null | null | null | tests/wallet/test_simple_transfers.py | sunpuyo/merkle-bridge | 0dad3b832bf3f9f39c5e59298b69fb61d0a1144c | [
"MIT"
] | 3 | 2019-05-07T10:12:56.000Z | 2021-04-03T08:02:24.000Z | def _test_transfer(wallet, asset):
""" Basic token/aer transfer on it's native chain."""
to = wallet.get_wallet_address('receiver')
amount = 2
to_balance, _ = wallet.get_balance(asset, 'mainnet',
account_name='receiver')
print('receiver balance before', to_bal... | 41.306452 | 76 | 0.594299 | 261 | 2,561 | 5.509579 | 0.157088 | 0.133519 | 0.089013 | 0.116829 | 0.798331 | 0.788595 | 0.718359 | 0.718359 | 0.718359 | 0.718359 | 0 | 0.012493 | 0.312378 | 2,561 | 61 | 77 | 41.983607 | 0.804089 | 0.047247 | 0 | 0.533333 | 0 | 0 | 0.156984 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 1 | 0.066667 | false | 0 | 0 | 0.022222 | 0.088889 | 0.177778 | 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 |
beb2b1234e7ead7775b4b5250455e4d42b5e364b | 157 | py | Python | jtyoui/game/__init__.py | vanton/Jtyoui | c44d66b038ac5f4e2d75b68b3493d02f7b7b385e | [
"MIT"
] | 1 | 2019-12-24T00:57:47.000Z | 2019-12-24T00:57:47.000Z | jtyoui/game/__init__.py | liangxioa/Jtyoui | 5a584cbf12d644b6c4fb13167d8841a383afbbac | [
"MIT"
] | null | null | null | jtyoui/game/__init__.py | liangxioa/Jtyoui | 5a584cbf12d644b6c4fb13167d8841a383afbbac | [
"MIT"
] | null | null | null | #!/usr/bin/python3.7
# -*- coding: utf-8 -*-
# @Time : 2018/1/2 16:30
# @Email : jtyoui@qq.com
# @Software: PyCharm
from .tank import TankGame # 坦克小游戏
| 19.625 | 35 | 0.611465 | 24 | 157 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102362 | 0.191083 | 157 | 7 | 36 | 22.428571 | 0.653543 | 0.738854 | 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 |
fe43c34b9de0b8f4f86586438abc905c29295d1f | 271 | py | Python | python/koheron/__init__.py | Koheron/koheron-sdk | 82b732635f1adf5dd0b04b9290b589c1fc091f29 | [
"MIT"
] | 77 | 2016-09-20T18:44:14.000Z | 2022-03-30T16:04:09.000Z | python/koheron/__init__.py | rsarwar87/koheron-sdk | 02c35bf3c1c29f1029fad18b881dbd193efac5a7 | [
"MIT"
] | 101 | 2016-09-05T15:44:25.000Z | 2022-03-29T09:22:09.000Z | python/koheron/__init__.py | rsarwar87/koheron-sdk | 02c35bf3c1c29f1029fad18b881dbd193efac5a7 | [
"MIT"
] | 34 | 2016-12-12T07:21:57.000Z | 2022-01-12T21:00:52.000Z | from .version import __version__
from .koheron import KoheronClient
from .koheron import command
from .koheron import ConnectionError
from .koheron import connect
from .koheron import run_instrument
from .koheron import upload_instrument
from .alpha250 import Alpha250
| 24.636364 | 38 | 0.845018 | 34 | 271 | 6.558824 | 0.352941 | 0.295964 | 0.457399 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025316 | 0.125461 | 271 | 10 | 39 | 27.1 | 0.915612 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
22832419110abef2b272ecedcf59eb5d38c4119b | 667 | py | Python | sdk/python/pulumi_aws/securityhub/__init__.py | chivandikwa/pulumi-aws | 19c08bf9dcb90544450ffa4eec7bf6751058fde2 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_aws/securityhub/__init__.py | chivandikwa/pulumi-aws | 19c08bf9dcb90544450ffa4eec7bf6751058fde2 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_aws/securityhub/__init__.py | chivandikwa/pulumi-aws | 19c08bf9dcb90544450ffa4eec7bf6751058fde2 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
from .. import _utilities
import typing
# Export this package's modules as members:
from .account import *
from .action_target import *... | 31.761905 | 87 | 0.770615 | 90 | 667 | 5.588889 | 0.611111 | 0.238569 | 0.067594 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001764 | 0.149925 | 667 | 20 | 88 | 33.35 | 0.885362 | 0.328336 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
228bc8c5ac71d3b285315b50b44ba76226f67769 | 29 | py | Python | bal/__main__.py | jbg/bal | ea2e87d5428bb287a0b327377bc548c0bc3f2a38 | [
"BSD-2-Clause"
] | null | null | null | bal/__main__.py | jbg/bal | ea2e87d5428bb287a0b327377bc548c0bc3f2a38 | [
"BSD-2-Clause"
] | null | null | null | bal/__main__.py | jbg/bal | ea2e87d5428bb287a0b327377bc548c0bc3f2a38 | [
"BSD-2-Clause"
] | null | null | null | from .bal import main
main()
| 9.666667 | 21 | 0.724138 | 5 | 29 | 4.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 29 | 2 | 22 | 14.5 | 0.875 | 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 |
22a396b1f1e460bcb97d47b0181eced5ab5f137e | 55 | py | Python | __transform__/__init__.py | bakkerthehacker/both | 37bfdc41c97476cb74dced06570f5988356e4984 | [
"MIT"
] | 6 | 2019-06-04T04:00:45.000Z | 2021-01-23T22:36:37.000Z | __transform__/__init__.py | bakkerthehacker/both | 37bfdc41c97476cb74dced06570f5988356e4984 | [
"MIT"
] | null | null | null | __transform__/__init__.py | bakkerthehacker/both | 37bfdc41c97476cb74dced06570f5988356e4984 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import both.transforms # noqa
| 18.333333 | 30 | 0.618182 | 7 | 55 | 4.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022222 | 0.181818 | 55 | 2 | 31 | 27.5 | 0.733333 | 0.472727 | 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 |
22a7267d01098535985293eb7e3851a6c1914fba | 125 | py | Python | umdpfmt/parser/__init__.py | ScottWales/umdpfmt | 0087932fc1d4efb5687631a364ae7bac8436c6a9 | [
"Apache-2.0"
] | null | null | null | umdpfmt/parser/__init__.py | ScottWales/umdpfmt | 0087932fc1d4efb5687631a364ae7bac8436c6a9 | [
"Apache-2.0"
] | null | null | null | umdpfmt/parser/__init__.py | ScottWales/umdpfmt | 0087932fc1d4efb5687631a364ae7bac8436c6a9 | [
"Apache-2.0"
] | null | null | null | from .FortranLexer import FortranLexer
from .FortranParser import FortranParser
from .FortranListener import FortranListener
| 31.25 | 44 | 0.88 | 12 | 125 | 9.166667 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096 | 125 | 3 | 45 | 41.666667 | 0.973451 | 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 |
22e3d2bfd7aed8edcf0d759371e41fa3564a601f | 5,736 | py | Python | src/saltext/vmware/modules/license_mgr.py | jain-prerna/salt-ext-modules-vmware-1 | 0d697b1065dc78fb7c2d80b4cdd637a32a6274ef | [
"Apache-2.0"
] | 10 | 2021-11-02T20:24:44.000Z | 2022-03-11T05:54:27.000Z | src/saltext/vmware/modules/license_mgr.py | jain-prerna/salt-ext-modules-vmware-1 | 0d697b1065dc78fb7c2d80b4cdd637a32a6274ef | [
"Apache-2.0"
] | 83 | 2021-10-01T15:13:02.000Z | 2022-03-31T16:22:40.000Z | src/saltext/vmware/modules/license_mgr.py | jain-prerna/salt-ext-modules-vmware-1 | 0d697b1065dc78fb7c2d80b4cdd637a32a6274ef | [
"Apache-2.0"
] | 15 | 2021-09-30T23:17:27.000Z | 2022-03-23T06:54:22.000Z | # Copyright 2021 VMware, Inc.
# SPDX-License-Identifier: Apache-2.0
import logging
# noreorder
import salt.exceptions
import saltext.vmware.utils.common as utils_common
import saltext.vmware.utils.license_mgr as utils_license_mgr
from saltext.vmware.utils.connect import get_service_instance
log = logging.getLogger(__... | 30.83871 | 116 | 0.686715 | 721 | 5,736 | 5.248266 | 0.165049 | 0.095137 | 0.027748 | 0.031712 | 0.79334 | 0.79334 | 0.778013 | 0.731237 | 0.731237 | 0.731237 | 0 | 0.006177 | 0.237971 | 5,736 | 185 | 117 | 31.005405 | 0.859529 | 0.314331 | 0 | 0.673913 | 0 | 0 | 0.19111 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.043478 | false | 0 | 0.086957 | 0 | 0.25 | 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 |
fe1242b4c7a10132dd12f0915378f0d6ffae58e8 | 105 | py | Python | tests/validation/__init__.py | EarthObservationSimulator/orbits | b476762532f8644b9fe0723760b5202ab77a4547 | [
"Apache-2.0"
] | 4 | 2021-12-23T16:49:06.000Z | 2022-02-09T21:36:31.000Z | tests/validation/__init__.py | EarthObservationSimulator/orbits | b476762532f8644b9fe0723760b5202ab77a4547 | [
"Apache-2.0"
] | 15 | 2022-01-14T17:28:14.000Z | 2022-02-11T02:39:25.000Z | tests/validation/__init__.py | EarthObservationSimulator/orbits | b476762532f8644b9fe0723760b5202ab77a4547 | [
"Apache-2.0"
] | 1 | 2022-02-03T15:44:16.000Z | 2022-02-03T15:44:16.000Z | """Unit tests for orbitpy.preprocess module.
"""
import unittest
import json
import numpy
import sys, os | 15 | 44 | 0.771429 | 15 | 105 | 5.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 105 | 7 | 45 | 15 | 0.9 | 0.390476 | 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 |
a3bdf6098241ec8a94cd001f8b32ddad1638ef6b | 69 | py | Python | include/__init__.py | jeff-hykin/python-include | 169b54aa081ded3dd499368aa4d7f8d35dacf303 | [
"MIT"
] | null | null | null | include/__init__.py | jeff-hykin/python-include | 169b54aa081ded3dd499368aa4d7f8d35dacf303 | [
"MIT"
] | null | null | null | include/__init__.py | jeff-hykin/python-include | 169b54aa081ded3dd499368aa4d7f8d35dacf303 | [
"MIT"
] | 1 | 2021-08-06T21:53:35.000Z | 2021-08-06T21:53:35.000Z | from __future__ import absolute_import
from include.include import *
| 23 | 38 | 0.855072 | 9 | 69 | 6 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115942 | 69 | 2 | 39 | 34.5 | 0.885246 | 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 |
a3bf406950f01fb4c19f8e9bbf65a5f185a28eda | 177 | py | Python | util/__init__.py | ishine/CVC | 3fb04749367a2f9ef1451af37863b1122f92f59c | [
"MIT"
] | 41 | 2020-10-22T11:01:12.000Z | 2022-01-28T18:06:20.000Z | util/__init__.py | ishine/CVC | 3fb04749367a2f9ef1451af37863b1122f92f59c | [
"MIT"
] | 9 | 2020-11-04T18:21:19.000Z | 2021-11-02T11:21:19.000Z | util/__init__.py | ishine/CVC | 3fb04749367a2f9ef1451af37863b1122f92f59c | [
"MIT"
] | 10 | 2020-11-02T08:41:54.000Z | 2022-03-13T03:59:06.000Z | """This package includes a miscellaneous collection of useful helper functions."""
from util import *
from data import preprocess
from data.wav_folder import read_wav, write_wav | 44.25 | 82 | 0.819209 | 26 | 177 | 5.461538 | 0.730769 | 0.112676 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.124294 | 177 | 4 | 83 | 44.25 | 0.916129 | 0.429379 | 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 |
a3f005a9254d97def327d00956a91e1ce747be52 | 205 | py | Python | imageatm/scripts/__init__.py | vishalbelsare/imageatm | 2da9d1902d375338e4363ebf95bcb8ac2bb47ac7 | [
"Apache-2.0"
] | 215 | 2019-03-18T10:51:53.000Z | 2022-01-28T20:04:32.000Z | imageatm/scripts/__init__.py | JadeBlue96/imageatm | d4c099164176e6ed7bf7095a82cb29fb301df2b5 | [
"Apache-2.0"
] | 21 | 2019-03-19T09:13:20.000Z | 2020-05-02T10:18:02.000Z | imageatm/scripts/__init__.py | vishalbelsare/imageatm | 2da9d1902d375338e4363ebf95bcb8ac2bb47ac7 | [
"Apache-2.0"
] | 54 | 2019-03-18T16:39:37.000Z | 2022-03-31T10:16:48.000Z | from .run_dataprep import run_dataprep
from .run_training import run_training
from .run_training_cloud import run_training_cloud
from .run_evaluation import run_evaluation
from .run_cloud import run_cloud
| 34.166667 | 50 | 0.878049 | 32 | 205 | 5.25 | 0.21875 | 0.208333 | 0.178571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 205 | 5 | 51 | 41 | 0.908108 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 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 |
4300b5d1da022dc0970eac0feac38a9904667b58 | 1,658 | py | Python | tests/panoramic/cli/test_errors.py | kubamahnert/panoramic-cli | 036f45a05d39f5762088ce23dbe367b938192f79 | [
"MIT"
] | 5 | 2020-11-13T17:26:59.000Z | 2021-03-19T15:11:26.000Z | tests/panoramic/cli/test_errors.py | kubamahnert/panoramic-cli | 036f45a05d39f5762088ce23dbe367b938192f79 | [
"MIT"
] | 5 | 2020-10-28T10:22:35.000Z | 2021-01-27T17:33:58.000Z | tests/panoramic/cli/test_errors.py | kubamahnert/panoramic-cli | 036f45a05d39f5762088ce23dbe367b938192f79 | [
"MIT"
] | 3 | 2021-01-26T07:58:03.000Z | 2021-03-11T13:28:34.000Z | import pytest
from requests.exceptions import RequestException
from requests.models import Response
from panoramic.cli.errors import RefreshException
def test_no_response_request_exception():
with pytest.raises(
RefreshException, match='^Metadata could not be refreshed for table some_table in data connec... | 40.439024 | 135 | 0.736429 | 201 | 1,658 | 5.845771 | 0.223881 | 0.068936 | 0.042553 | 0.088511 | 0.79234 | 0.79234 | 0.79234 | 0.79234 | 0.79234 | 0.731915 | 0 | 0 | 0.17491 | 1,658 | 40 | 136 | 41.45 | 0.858918 | 0 | 0 | 0.483871 | 0 | 0 | 0.33655 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.129032 | false | 0 | 0.129032 | 0 | 0.258065 | 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 |
4307acc45db9110c51a305783fbafbad72fc7bd9 | 230 | py | Python | tellurium/teconverters/__init__.py | ShaikAsifullah/distributed-tellurium | 007e9b3842b614edd34908c001119c6da1d41897 | [
"Apache-2.0"
] | 1 | 2019-06-19T04:40:33.000Z | 2019-06-19T04:40:33.000Z | tellurium/teconverters/__init__.py | ShaikAsifullah/distributed-tellurium | 007e9b3842b614edd34908c001119c6da1d41897 | [
"Apache-2.0"
] | null | null | null | tellurium/teconverters/__init__.py | ShaikAsifullah/distributed-tellurium | 007e9b3842b614edd34908c001119c6da1d41897 | [
"Apache-2.0"
] | null | null | null | # converts Antimony to/from SBML
from .convert_antimony import antimonyConverter
from .convert_omex import inlineOmexImporter
from .convert_phrasedml import phrasedmlImporter
from .inline_omex import inlineOmex, saveInlineOMEX
| 25.555556 | 51 | 0.86087 | 26 | 230 | 7.461538 | 0.576923 | 0.170103 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108696 | 230 | 8 | 52 | 28.75 | 0.946341 | 0.130435 | 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 |
432ee0c8bf29e8e1c752e96d0cf8f72cd1f7582d | 285 | py | Python | app/models.py | anubhavp28/Shortify | 44dd6fde9b67d93efe80d990c06181edde2e841d | [
"MIT"
] | null | null | null | app/models.py | anubhavp28/Shortify | 44dd6fde9b67d93efe80d990c06181edde2e841d | [
"MIT"
] | null | null | null | app/models.py | anubhavp28/Shortify | 44dd6fde9b67d93efe80d990c06181edde2e841d | [
"MIT"
] | null | null | null | from app import sqldb
class Urls(sqldb.Model):
id = sqldb.Column(sqldb.Integer, primary_key=True)
url = sqldb.Column(sqldb.String(500), nullable=False)
created_at = sqldb.Column(sqldb.TIMESTAMP, nullable=False)
shorturl = sqldb.Column(sqldb.String(50), nullable=False) | 40.714286 | 62 | 0.740351 | 40 | 285 | 5.225 | 0.575 | 0.210526 | 0.30622 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020243 | 0.133333 | 285 | 7 | 63 | 40.714286 | 0.825911 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
432f0047a3df2254ba9fd19159a3dbfa9ccb0af7 | 116 | py | Python | mezger_farms/farm_core/admin.py | mezgerj/mezger_farms | 6abeee6e64a293fa87e8cbc54c1f8946be83faa2 | [
"MIT"
] | null | null | null | mezger_farms/farm_core/admin.py | mezgerj/mezger_farms | 6abeee6e64a293fa87e8cbc54c1f8946be83faa2 | [
"MIT"
] | null | null | null | mezger_farms/farm_core/admin.py | mezgerj/mezger_farms | 6abeee6e64a293fa87e8cbc54c1f8946be83faa2 | [
"MIT"
] | null | null | null | from django.contrib import admin
# Register your models here.
from .models import Farm
admin.site.register(Farm)
| 14.5 | 32 | 0.784483 | 17 | 116 | 5.352941 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146552 | 116 | 7 | 33 | 16.571429 | 0.919192 | 0.224138 | 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 |
4a3493188c43925c13dc1b25036e01becaa813bb | 121 | py | Python | pygcgen/pygcgen_exceptions.py | topic2k/pygcgen | 16aa7d8d11560eb5f6bb48ccfe15d7d8cf4c0f85 | [
"MIT"
] | 2 | 2018-05-02T02:49:06.000Z | 2018-12-15T08:16:15.000Z | pygcgen/pygcgen_exceptions.py | topic2k/pygcgen | 16aa7d8d11560eb5f6bb48ccfe15d7d8cf4c0f85 | [
"MIT"
] | 46 | 2016-08-11T19:17:04.000Z | 2022-02-01T19:16:10.000Z | pygcgen/pygcgen_exceptions.py | topic2k/pygcgen | 16aa7d8d11560eb5f6bb48ccfe15d7d8cf4c0f85 | [
"MIT"
] | 2 | 2016-11-16T19:26:04.000Z | 2017-04-20T08:32:58.000Z | # -*- coding: utf-8 -*-
class ChangelogGeneratorError(Exception):
pass
class GithubApiError(Exception):
pass
| 12.1 | 41 | 0.68595 | 11 | 121 | 7.545455 | 0.727273 | 0.313253 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010204 | 0.190083 | 121 | 9 | 42 | 13.444444 | 0.836735 | 0.173554 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 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 |
4a37298c7373622ec7ba8eb14beb9aa1f621b92c | 15,781 | py | Python | molscore/scaffold_memory/ScaffoldFilter.py | MorganCThomas/MolScore | b12b7b5539bb3211982fc7a1b5938c0f383a05c0 | [
"MIT"
] | 28 | 2020-12-11T22:10:16.000Z | 2022-02-25T05:00:51.000Z | molscore/scaffold_memory/ScaffoldFilter.py | MorganCThomas/MolScore | b12b7b5539bb3211982fc7a1b5938c0f383a05c0 | [
"MIT"
] | 3 | 2021-08-31T22:50:41.000Z | 2021-11-04T15:41:01.000Z | molscore/scaffold_memory/ScaffoldFilter.py | MorganCThomas/MolScore | b12b7b5539bb3211982fc7a1b5938c0f383a05c0 | [
"MIT"
] | 9 | 2021-03-03T12:10:10.000Z | 2022-02-15T06:53:11.000Z | # coding=utf-8
"""
Adapted from
https://github.com/tblaschke/reinvent-memory
"""
import abc
import json
import logging
import numpy as np
import pandas as pd
from rdkit import Chem
from rdkit import DataStructs
from rdkit.Chem import AllChem
from rdkit.Chem.AtomPairs import Pairs
from rdkit.Chem.Scaffolds import Murc... | 41.528947 | 120 | 0.598505 | 1,722 | 15,781 | 5.390244 | 0.135308 | 0.022624 | 0.014006 | 0.0181 | 0.767722 | 0.755656 | 0.738742 | 0.734755 | 0.734755 | 0.714609 | 0 | 0.009019 | 0.297383 | 15,781 | 379 | 121 | 41.638522 | 0.828102 | 0.185793 | 0 | 0.689139 | 0 | 0 | 0.027257 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.086142 | false | 0 | 0.041199 | 0 | 0.277154 | 0.074906 | 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 |
4a8d07628f93bbb159f3c2317b02aa4d791d4f72 | 179 | py | Python | pyatdllib/core/errors.py | lisagorewitdecker/immaculater | fe46d282ae1d6325d67ebcf8f2b3d3b95580d5e7 | [
"Apache-2.0"
] | null | null | null | pyatdllib/core/errors.py | lisagorewitdecker/immaculater | fe46d282ae1d6325d67ebcf8f2b3d3b95580d5e7 | [
"Apache-2.0"
] | null | null | null | pyatdllib/core/errors.py | lisagorewitdecker/immaculater | fe46d282ae1d6325d67ebcf8f2b3d3b95580d5e7 | [
"Apache-2.0"
] | null | null | null | """Defines DataError, an exception."""
class Error(Exception):
pass
class DataError(Error):
"""A cousin of ValueError -- the data passed break fundamental constraints."""
| 17.9 | 80 | 0.715084 | 21 | 179 | 6.095238 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156425 | 179 | 9 | 81 | 19.888889 | 0.847682 | 0.586592 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
4aae2caee126f31a5602eaa3a758c5da9920c512 | 169 | py | Python | reinforcement_learning/rl_network_compression_ray_custom/src/tensorflow_resnet/compressor/__init__.py | jerrypeng7773/amazon-sagemaker-examples | c5ddecce1f739a345465b9a38b064983a129141d | [
"Apache-2.0"
] | 2,610 | 2020-10-01T14:14:53.000Z | 2022-03-31T18:02:31.000Z | reinforcement_learning/rl_network_compression_ray_custom/src/tensorflow_resnet/compressor/__init__.py | jerrypeng7773/amazon-sagemaker-examples | c5ddecce1f739a345465b9a38b064983a129141d | [
"Apache-2.0"
] | 1,959 | 2020-09-30T20:22:42.000Z | 2022-03-31T23:58:37.000Z | reinforcement_learning/rl_network_compression_ray_custom/src/tensorflow_resnet/compressor/__init__.py | jerrypeng7773/amazon-sagemaker-examples | c5ddecce1f739a345465b9a38b064983a129141d | [
"Apache-2.0"
] | 2,052 | 2020-09-30T22:11:46.000Z | 2022-03-31T23:02:51.000Z | from .core import ModeKeys, Module
from .resnet import ResNet18Model
from .train import tensorflow_train
__all__ = ["Module", "ModeKeys", "ResNet", "tensorflow_train"]
| 28.166667 | 62 | 0.775148 | 20 | 169 | 6.25 | 0.5 | 0.24 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013423 | 0.118343 | 169 | 5 | 63 | 33.8 | 0.825503 | 0 | 0 | 0 | 0 | 0 | 0.213018 | 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 |
4359d9d4ed08cc70a4f53985597335e066f9151e | 154 | py | Python | faker/providers/company/tl_PH/__init__.py | jacksmith15/faker | bc5dda1983e4d055aa2698ccf0806a462cb8370e | [
"MIT"
] | 1 | 2022-02-16T23:14:19.000Z | 2022-02-16T23:14:19.000Z | faker/providers/company/tl_PH/__init__.py | jacksmith15/faker | bc5dda1983e4d055aa2698ccf0806a462cb8370e | [
"MIT"
] | 33 | 2020-12-09T16:49:15.000Z | 2022-01-04T22:03:10.000Z | faker/providers/company/tl_PH/__init__.py | jacksmith15/faker | bc5dda1983e4d055aa2698ccf0806a462cb8370e | [
"MIT"
] | 3 | 2022-02-07T18:18:54.000Z | 2022-03-11T22:09:01.000Z | from ..fil_PH import Provider as FilPhProvider
class Provider(FilPhProvider):
"""No difference from Company Provider for fil_PH locale"""
pass
| 19.25 | 63 | 0.746753 | 20 | 154 | 5.65 | 0.7 | 0.088496 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 154 | 7 | 64 | 22 | 0.896825 | 0.344156 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 5 |
435e25a969957bec4dae3e481d9f54e85d7d96f1 | 135 | py | Python | src/api/pdi/application/dashboard/GetConnectionWidget/GetConnectionWidgetRequest.py | ahmetcagriakca/pythondataintegrator | 079b968d6c893008f02c88dbe34909a228ac1c7b | [
"MIT"
] | 1 | 2020-12-18T21:37:28.000Z | 2020-12-18T21:37:28.000Z | src/api/pdi/application/dashboard/GetConnectionWidget/GetConnectionWidgetRequest.py | ahmetcagriakca/pythondataintegrator | 079b968d6c893008f02c88dbe34909a228ac1c7b | [
"MIT"
] | null | null | null | src/api/pdi/application/dashboard/GetConnectionWidget/GetConnectionWidgetRequest.py | ahmetcagriakca/pythondataintegrator | 079b968d6c893008f02c88dbe34909a228ac1c7b | [
"MIT"
] | 1 | 2020-12-18T21:37:31.000Z | 2020-12-18T21:37:31.000Z | from pdip.cqrs.decorators import requestclass
@requestclass
class GetConnectionWidgetRequest:
# TODO:Request attributes
pass
| 16.875 | 45 | 0.8 | 13 | 135 | 8.307692 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155556 | 135 | 7 | 46 | 19.285714 | 0.947368 | 0.17037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0 | 1 | 0 | true | 0.25 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
435fa4c0f1c359aa744dd7512a1f71f16d3decb1 | 39 | py | Python | web_app/vis_comm/routes/python_scripts/delete_json.py | RapidsAtHKUST/FYP16-CommunityDetectionVis | 4b7c76f6f8f94d09ae4ab98262b894dfd6af3bc0 | [
"MIT"
] | null | null | null | web_app/vis_comm/routes/python_scripts/delete_json.py | RapidsAtHKUST/FYP16-CommunityDetectionVis | 4b7c76f6f8f94d09ae4ab98262b894dfd6af3bc0 | [
"MIT"
] | null | null | null | web_app/vis_comm/routes/python_scripts/delete_json.py | RapidsAtHKUST/FYP16-CommunityDetectionVis | 4b7c76f6f8f94d09ae4ab98262b894dfd6af3bc0 | [
"MIT"
] | 1 | 2021-12-02T10:34:23.000Z | 2021-12-02T10:34:23.000Z | import os
os.system("rm result.json")
| 9.75 | 27 | 0.717949 | 7 | 39 | 4 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 39 | 3 | 28 | 13 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0.358974 | 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 |
43855e7fb0c7a9c51c0eb41182f7a76699acd8d8 | 211 | py | Python | dusty/systems/docker/common.py | gamechanger/dusty | dd9778e3a4f0c623209e53e98aa9dc1fe76fc309 | [
"MIT"
] | 421 | 2015-06-02T16:29:59.000Z | 2021-06-03T18:44:42.000Z | dusty/systems/docker/common.py | gamechanger/dusty | dd9778e3a4f0c623209e53e98aa9dc1fe76fc309 | [
"MIT"
] | 404 | 2015-06-02T20:23:42.000Z | 2019-08-21T16:59:41.000Z | dusty/systems/docker/common.py | gamechanger/dusty | dd9778e3a4f0c623209e53e98aa9dc1fe76fc309 | [
"MIT"
] | 16 | 2015-06-16T17:21:02.000Z | 2020-03-27T02:27:09.000Z | def spec_for_service(app_or_lib_name, expanded_specs):
if app_or_lib_name in expanded_specs['apps']:
return expanded_specs['apps'][app_or_lib_name]
return expanded_specs['libs'][app_or_lib_name]
| 42.2 | 54 | 0.772512 | 35 | 211 | 4.142857 | 0.428571 | 0.137931 | 0.22069 | 0.331034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127962 | 211 | 4 | 55 | 52.75 | 0.788043 | 0 | 0 | 0 | 0 | 0 | 0.056872 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 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 |
43b0c2957366beec2f5956d8a628c002ce8d6bb4 | 40 | py | Python | tests/components/tonym/__init__.py | tonymyatt/core | ba9ef1b3b97fd6519c2440b101e968f982f1ab3d | [
"Apache-2.0"
] | null | null | null | tests/components/tonym/__init__.py | tonymyatt/core | ba9ef1b3b97fd6519c2440b101e968f982f1ab3d | [
"Apache-2.0"
] | null | null | null | tests/components/tonym/__init__.py | tonymyatt/core | ba9ef1b3b97fd6519c2440b101e968f982f1ab3d | [
"Apache-2.0"
] | null | null | null | """Tests for the Tony M integration."""
| 20 | 39 | 0.675 | 6 | 40 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 40 | 1 | 40 | 40 | 0.794118 | 0.825 | 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 |
43cabc0a0fcd2422fa71a2ce65a705f9cb9bd210 | 46 | py | Python | power_perceiver/exceptions.py | openclimatefix/power_perceiver | bafcdfaf6abf42fbab09da641479f74709ddd395 | [
"MIT"
] | null | null | null | power_perceiver/exceptions.py | openclimatefix/power_perceiver | bafcdfaf6abf42fbab09da641479f74709ddd395 | [
"MIT"
] | 33 | 2022-02-16T07:51:41.000Z | 2022-03-31T11:24:11.000Z | power_perceiver/exceptions.py | openclimatefix/power_perceiver | bafcdfaf6abf42fbab09da641479f74709ddd395 | [
"MIT"
] | null | null | null | class NoPVSystemsInSlice(Exception):
pass
| 15.333333 | 36 | 0.782609 | 4 | 46 | 9 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152174 | 46 | 2 | 37 | 23 | 0.923077 | 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 |
43dd90551ffd60e9e1b29bcda483e16f53e64594 | 188 | py | Python | graphql_compiler/api/sql/postgres.py | kensho-technologies/graphql-compiler | 4318443b7b2512a059f3616112bfc40bbf8eec06 | [
"Apache-2.0"
] | 521 | 2017-07-18T23:56:25.000Z | 2022-03-25T16:39:06.000Z | graphql_compiler/api/sql/postgres.py | kensho-technologies/graphql-compiler | 4318443b7b2512a059f3616112bfc40bbf8eec06 | [
"Apache-2.0"
] | 740 | 2017-07-19T01:52:42.000Z | 2021-09-30T11:15:00.000Z | graphql_compiler/api/sql/postgres.py | kensho-technologies/graphql-compiler | 4318443b7b2512a059f3616112bfc40bbf8eec06 | [
"Apache-2.0"
] | 56 | 2017-07-18T23:56:14.000Z | 2021-10-30T08:08:56.000Z | # Copyright 2019-present Kensho Technologies, LLC.
# pylint: disable=unused-import
from ...schema.schema_info import create_postgresql_schema_info # noqa
# pylint: enable=unused-import
| 26.857143 | 71 | 0.797872 | 24 | 188 | 6.083333 | 0.708333 | 0.164384 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023952 | 0.111702 | 188 | 6 | 72 | 31.333333 | 0.850299 | 0.595745 | 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 |
78d7c3bd3f56413c693c2cc4a6500bc74a373d12 | 97 | py | Python | openpose/__init__.py | YIN95/OpenPose-PyTorch | c40f3d2767346bc96e707eb237c72a27541b89c5 | [
"MIT"
] | 1 | 2019-08-15T11:47:58.000Z | 2019-08-15T11:47:58.000Z | openpose/__init__.py | YIN95/OpenPose-PyTorch | c40f3d2767346bc96e707eb237c72a27541b89c5 | [
"MIT"
] | null | null | null | openpose/__init__.py | YIN95/OpenPose-PyTorch | c40f3d2767346bc96e707eb237c72a27541b89c5 | [
"MIT"
] | null | null | null | from . import networks
from . import estimations
from . import dataloader
__version__ = '0.0.1'
| 16.166667 | 25 | 0.752577 | 13 | 97 | 5.307692 | 0.615385 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 0.164948 | 97 | 5 | 26 | 19.4 | 0.814815 | 0 | 0 | 0 | 0 | 0 | 0.052083 | 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 |
78f65ab648fd406fc5c8051db9cbb9cba5e5f257 | 40 | py | Python | autoit/autoit_demo.py | norstc/little | 6ba936031eac825db70f4fb5c6601b4908423796 | [
"Apache-2.0"
] | null | null | null | autoit/autoit_demo.py | norstc/little | 6ba936031eac825db70f4fb5c6601b4908423796 | [
"Apache-2.0"
] | null | null | null | autoit/autoit_demo.py | norstc/little | 6ba936031eac825db70f4fb5c6601b4908423796 | [
"Apache-2.0"
] | null | null | null | import autoit
autoit.run("notepad.exe") | 13.333333 | 25 | 0.775 | 6 | 40 | 5.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 40 | 3 | 25 | 13.333333 | 0.837838 | 0 | 0 | 0 | 0 | 0 | 0.268293 | 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 |
78f90a24b5a10894f408e22307c4cf9fe635eaad | 128 | py | Python | sentry/boot.py | DeveloperMetal/frappe-sentry | 6947f2d04fd76e4afc86bc093edf9d14eb6f8f63 | [
"MIT"
] | null | null | null | sentry/boot.py | DeveloperMetal/frappe-sentry | 6947f2d04fd76e4afc86bc093edf9d14eb6f8f63 | [
"MIT"
] | null | null | null | sentry/boot.py | DeveloperMetal/frappe-sentry | 6947f2d04fd76e4afc86bc093edf9d14eb6f8f63 | [
"MIT"
] | 1 | 2020-06-07T08:35:13.000Z | 2020-06-07T08:35:13.000Z | import frappe
def boot_session(bootinfo):
bootinfo.sentry_dsn = frappe.db.get_single_value("Sentry Settings", "sentry_dsn") | 32 | 85 | 0.789063 | 18 | 128 | 5.333333 | 0.722222 | 0.1875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101563 | 128 | 4 | 85 | 32 | 0.834783 | 0 | 0 | 0 | 0 | 0 | 0.193798 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
6013d0d6694b36f3bd396a3a372a406b2617192b | 158 | py | Python | solutions/iterate_icao24_callsign.py | lbasora/back2python | 76e825049579ebf52e3b3e88003a1c2f53d2062b | [
"MIT"
] | 1 | 2018-09-02T19:33:08.000Z | 2018-09-02T19:33:08.000Z | solutions/iterate_icao24_callsign.py | lbasora/back2python | 76e825049579ebf52e3b3e88003a1c2f53d2062b | [
"MIT"
] | 1 | 2021-09-11T09:24:25.000Z | 2021-09-12T19:53:16.000Z | solutions/iterate_icao24_callsign.py | lbasora/back2python | 76e825049579ebf52e3b3e88003a1c2f53d2062b | [
"MIT"
] | 6 | 2019-08-28T09:23:01.000Z | 2020-09-14T07:34:06.000Z | def iterate_icao24_callsign(data):
for _, chunk in data.groupby(["icao24", "callsign"]):
yield chunk
sum(1 for _ in iterate_icao24_callsign(df))
| 26.333333 | 57 | 0.702532 | 22 | 158 | 4.772727 | 0.590909 | 0.4 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053846 | 0.177215 | 158 | 5 | 58 | 31.6 | 0.753846 | 0 | 0 | 0 | 0 | 0 | 0.088608 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6024283246f64bdd4ce36de0519c4fe272572f28 | 103 | py | Python | app/__init__.py | morganelle/flask-test | 16a75090f737ac7dc95a81d35a7426a483b31b1b | [
"MIT"
] | null | null | null | app/__init__.py | morganelle/flask-test | 16a75090f737ac7dc95a81d35a7426a483b31b1b | [
"MIT"
] | null | null | null | app/__init__.py | morganelle/flask-test | 16a75090f737ac7dc95a81d35a7426a483b31b1b | [
"MIT"
] | null | null | null | """Instantiates Flask app obj."""
from flask import Flask
app = Flask(__name__)
from app import views
| 17.166667 | 33 | 0.747573 | 15 | 103 | 4.866667 | 0.533333 | 0.219178 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15534 | 103 | 5 | 34 | 20.6 | 0.83908 | 0.262136 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
6036fe0923d8e97af4a35366f54889bca0ee69e4 | 88 | py | Python | musica/admin.py | LucasSantus/music | f75396c380837933e8f16167a11eb064185d1e7c | [
"MIT"
] | null | null | null | musica/admin.py | LucasSantus/music | f75396c380837933e8f16167a11eb064185d1e7c | [
"MIT"
] | null | null | null | musica/admin.py | LucasSantus/music | f75396c380837933e8f16167a11eb064185d1e7c | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Musica
admin.site.register(Musica) | 22 | 32 | 0.829545 | 13 | 88 | 5.615385 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102273 | 88 | 4 | 33 | 22 | 0.924051 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
608e8ae371acc1cf333af5cb3d71174a8e311a03 | 26,972 | py | Python | tests/plotting/testplotutils.py | lelatbones/holoviews | c94deaaf6250821ff30b764893e598ce24be98c0 | [
"BSD-3-Clause"
] | null | null | null | tests/plotting/testplotutils.py | lelatbones/holoviews | c94deaaf6250821ff30b764893e598ce24be98c0 | [
"BSD-3-Clause"
] | null | null | null | tests/plotting/testplotutils.py | lelatbones/holoviews | c94deaaf6250821ff30b764893e598ce24be98c0 | [
"BSD-3-Clause"
] | null | null | null | from __future__ import absolute_import, unicode_literals
from unittest import SkipTest
from nose.plugins.attrib import attr
import numpy as np
from holoviews import NdOverlay, Overlay, Dimension
from holoviews.core.spaces import DynamicMap, HoloMap
from holoviews.core.options import Store, Cycle
from holoviews.eleme... | 41.752322 | 111 | 0.653863 | 3,168 | 26,972 | 5.356692 | 0.088699 | 0.067177 | 0.033235 | 0.037949 | 0.824278 | 0.775722 | 0.747731 | 0.70112 | 0.681084 | 0.643665 | 0 | 0.040376 | 0.215816 | 26,972 | 645 | 112 | 41.817054 | 0.76195 | 0.004078 | 0 | 0.551724 | 0 | 0 | 0.058935 | 0.002347 | 0 | 0 | 0 | 0 | 0.350575 | 1 | 0.136015 | false | 0 | 0.030651 | 0.005747 | 0.181992 | 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 |
60ea3008a91fe44e0195e30d8aa059569d3ff7af | 209 | py | Python | wavenet/__init__.py | Luna86/tensorflow-wavenet-local-condition | 126a8e2d8973054d273db72f02c8e4074e6fefe7 | [
"MIT"
] | null | null | null | wavenet/__init__.py | Luna86/tensorflow-wavenet-local-condition | 126a8e2d8973054d273db72f02c8e4074e6fefe7 | [
"MIT"
] | null | null | null | wavenet/__init__.py | Luna86/tensorflow-wavenet-local-condition | 126a8e2d8973054d273db72f02c8e4074e6fefe7 | [
"MIT"
] | null | null | null | from .model_back import WaveNetModel
from .skeleton_reader import SkeletonReader
from .ops import (mu_law_encode, mu_law_decode, time_to_batch,
batch_to_time, causal_conv, optimizer_factory)
| 41.8 | 64 | 0.784689 | 29 | 209 | 5.241379 | 0.689655 | 0.065789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.167464 | 209 | 4 | 65 | 52.25 | 0.873563 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 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 |
880cbaa38bbbc8b8242a32654ff7fa54bedc433e | 137 | py | Python | linux_proc_extras/datadog_checks/linux_proc_extras/__init__.py | chotiwat/integrations-core | 57a4437790cafcb769e120aa64d84aaecbf6a414 | [
"BSD-3-Clause"
] | 2 | 2019-04-03T17:21:38.000Z | 2020-02-04T16:28:05.000Z | linux_proc_extras/datadog_checks/linux_proc_extras/__init__.py | chotiwat/integrations-core | 57a4437790cafcb769e120aa64d84aaecbf6a414 | [
"BSD-3-Clause"
] | 10 | 2018-02-27T19:06:07.000Z | 2021-08-30T03:23:26.000Z | linux_proc_extras/datadog_checks/linux_proc_extras/__init__.py | chotiwat/integrations-core | 57a4437790cafcb769e120aa64d84aaecbf6a414 | [
"BSD-3-Clause"
] | 6 | 2018-01-09T21:37:20.000Z | 2020-05-26T09:28:09.000Z | from . import linux_proc_extras
MoreUnixCheck = linux_proc_extras.MoreUnixCheck
__version__ = "1.0.0"
__all__ = ['linux_proc_extras']
| 17.125 | 47 | 0.788321 | 18 | 137 | 5.222222 | 0.555556 | 0.287234 | 0.478723 | 0.595745 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024793 | 0.116788 | 137 | 7 | 48 | 19.571429 | 0.752066 | 0 | 0 | 0 | 0 | 0 | 0.160584 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
7151027a9414b8df8788bbaff22a54257280b6a4 | 51,491 | py | Python | integration-test/663-combo-outdoor-landuse-pois.py | rinnyB/vector-datasource | 024909ed8245a4ad4a25c908413ba3602de6c335 | [
"MIT"
] | null | null | null | integration-test/663-combo-outdoor-landuse-pois.py | rinnyB/vector-datasource | 024909ed8245a4ad4a25c908413ba3602de6c335 | [
"MIT"
] | 2 | 2021-03-31T20:22:37.000Z | 2021-12-13T20:50:11.000Z | integration-test/663-combo-outdoor-landuse-pois.py | rinnyB/vector-datasource | 024909ed8245a4ad4a25c908413ba3602de6c335 | [
"MIT"
] | null | null | null | # -*- encoding: utf-8 -*-
from shapely.wkt import loads as wkt_loads
import dsl
from . import FixtureTest
class ComboOutdoorLandusePois(FixtureTest):
def test_water_park_way(self):
# Waterworld in Concord
self.generate_fixtures(dsl.way(3710152499, wkt_loads('POINT (-122.050548768958 37.97324451957... | 118.098624 | 6,451 | 0.737702 | 6,270 | 51,491 | 5.983413 | 0.329346 | 0.015993 | 0.020791 | 0.031986 | 0.211003 | 0.162118 | 0.123814 | 0.098438 | 0.081085 | 0.059495 | 0 | 0.562196 | 0.124604 | 51,491 | 435 | 6,452 | 118.370115 | 0.270105 | 0.035094 | 0 | 0.342007 | 0 | 0.092937 | 0.715095 | 0.00115 | 0 | 0 | 0 | 0 | 0.223048 | 1 | 0.137546 | false | 0 | 0.011152 | 0 | 0.152416 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
7163e5ebc7dcb1bfb2b86f24bb762e02088ea3d7 | 123,737 | py | Python | cctbx/geometry_restraints/tst_ext.py | rimmartin/cctbx_project | 644090f9432d9afc22cfb542fc3ab78ca8e15e5d | [
"BSD-3-Clause-LBNL"
] | null | null | null | cctbx/geometry_restraints/tst_ext.py | rimmartin/cctbx_project | 644090f9432d9afc22cfb542fc3ab78ca8e15e5d | [
"BSD-3-Clause-LBNL"
] | null | null | null | cctbx/geometry_restraints/tst_ext.py | rimmartin/cctbx_project | 644090f9432d9afc22cfb542fc3ab78ca8e15e5d | [
"BSD-3-Clause-LBNL"
] | null | null | null | from __future__ import division
from cctbx.array_family import flex
from cctbx import geometry_restraints
from cctbx import crystal
from cctbx import sgtbx
from cctbx import uctbx
from cctbx.crystal import direct_space_asu
from scitbx import matrix
from libtbx.test_utils import approx_equal, not_approx_equal, eps_eq, s... | 36.793637 | 96 | 0.672669 | 19,875 | 123,737 | 3.954264 | 0.040101 | 0.043402 | 0.07679 | 0.032752 | 0.837373 | 0.788411 | 0.735593 | 0.697739 | 0.660088 | 0.631116 | 0 | 0.09727 | 0.185935 | 123,737 | 3,362 | 97 | 36.804581 | 0.682945 | 0.014701 | 0 | 0.579013 | 0 | 0.014366 | 0.075059 | 0.00051 | 0 | 0 | 0 | 0 | 0.185509 | 0 | null | null | 0 | 0.004372 | null | null | 0.005309 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
719618aabe62add2e42d6ecb347934bf2c39871f | 114 | py | Python | tests/conftest.py | sander76/mspyteams | b8755afe8533fd1b9c059ca5d176b335f8070310 | [
"MIT"
] | null | null | null | tests/conftest.py | sander76/mspyteams | b8755afe8533fd1b9c059ca5d176b335f8070310 | [
"MIT"
] | null | null | null | tests/conftest.py | sander76/mspyteams | b8755afe8533fd1b9c059ca5d176b335f8070310 | [
"MIT"
] | null | null | null | import pytest
from mspyteams import Card
@pytest.fixture
def card():
"""Card fixture."""
return Card()
| 11.4 | 26 | 0.666667 | 14 | 114 | 5.428571 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 114 | 9 | 27 | 12.666667 | 0.844444 | 0.114035 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
71c2c4269d4d5141a41b767cc11d249efe26e935 | 156 | py | Python | GOFevaluation/__init__.py | XENONnT/GOFevaluation | ef34b2b0ee911d74cee0ba7c1fdcfc25dedb7350 | [
"BSD-3-Clause"
] | null | null | null | GOFevaluation/__init__.py | XENONnT/GOFevaluation | ef34b2b0ee911d74cee0ba7c1fdcfc25dedb7350 | [
"BSD-3-Clause"
] | 3 | 2021-10-19T13:46:42.000Z | 2021-12-28T15:06:59.000Z | GOFevaluation/__init__.py | XENONnT/GOFevaluation | ef34b2b0ee911d74cee0ba7c1fdcfc25dedb7350 | [
"BSD-3-Clause"
] | null | null | null | __version__ = '0.1.0'
from .utils import *
from .evaluator_base import *
from .evaluators_nd import *
from .evaluators_1d import *
from .gof_test import *
| 19.5 | 29 | 0.75 | 23 | 156 | 4.73913 | 0.565217 | 0.366972 | 0.366972 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030303 | 0.153846 | 156 | 7 | 30 | 22.285714 | 0.795455 | 0 | 0 | 0 | 0 | 0 | 0.032051 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.833333 | 0 | 0.833333 | 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 |
71e3e0f186abfd10e7cc8646753d5bff9a25310c | 2,493 | py | Python | roles/wagtail/wagtail_setup/files/local_encrypted.py | allthatilk/deployment | 0985547fcd4312609c908dcaf4dcb5c1a41bcdd5 | [
"MIT"
] | null | null | null | roles/wagtail/wagtail_setup/files/local_encrypted.py | allthatilk/deployment | 0985547fcd4312609c908dcaf4dcb5c1a41bcdd5 | [
"MIT"
] | null | null | null | roles/wagtail/wagtail_setup/files/local_encrypted.py | allthatilk/deployment | 0985547fcd4312609c908dcaf4dcb5c1a41bcdd5 | [
"MIT"
] | null | null | null | $ANSIBLE_VAULT;1.1;AES256
30376339613033613465376137656266636566663462633936333832343563666434313731303566
3631643935323863333763386132356465316163626239660a343530343634653034616334393231
61626566653664376165383334336131333761323563643536633465623632373032303537636631
3362336662363730660a3965303065653230653934366165666... | 75.545455 | 80 | 0.98556 | 36 | 2,493 | 68.222222 | 0.972222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.991061 | 0.012836 | 2,493 | 32 | 81 | 77.90625 | 0.006908 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 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 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e084862d4e8d2a7c044aeebe3c94fac5a80bfed6 | 99 | py | Python | app/download/__init__.py | Toxe/simple-file-upload-server | 8f0473e76d739836910e27498bc837f78801a386 | [
"MIT"
] | null | null | null | app/download/__init__.py | Toxe/simple-file-upload-server | 8f0473e76d739836910e27498bc837f78801a386 | [
"MIT"
] | null | null | null | app/download/__init__.py | Toxe/simple-file-upload-server | 8f0473e76d739836910e27498bc837f78801a386 | [
"MIT"
] | null | null | null | from flask import Blueprint
bp = Blueprint("download", __name__)
from app.download import routes
| 16.5 | 36 | 0.787879 | 13 | 99 | 5.692308 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141414 | 99 | 5 | 37 | 19.8 | 0.870588 | 0 | 0 | 0 | 0 | 0 | 0.080808 | 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 |
e08b85901d5a0ceb840d7f255ec2de39a72592c2 | 37 | py | Python | python/lander.py | xt0fer/Lander | 3827ce2c751d6643c59a4342a0669c8fdf205840 | [
"MIT"
] | null | null | null | python/lander.py | xt0fer/Lander | 3827ce2c751d6643c59a4342a0669c8fdf205840 | [
"MIT"
] | null | null | null | python/lander.py | xt0fer/Lander | 3827ce2c751d6643c59a4342a0669c8fdf205840 | [
"MIT"
] | null | null | null | # Left as an exercise for the Reader. | 37 | 37 | 0.756757 | 7 | 37 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189189 | 37 | 1 | 37 | 37 | 0.933333 | 0.945946 | 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 |
e09da393ea77de1455dc7dd6c22537cccc544419 | 104 | py | Python | vortexasdk/config.py | VorTECHsa/python-sdk | d85aabd8d9843e4d04d857360492bea002c2b24b | [
"Apache-2.0"
] | 9 | 2020-01-22T15:36:16.000Z | 2022-03-14T10:05:19.000Z | vortexasdk/config.py | VorTECHsa/python-sdk | d85aabd8d9843e4d04d857360492bea002c2b24b | [
"Apache-2.0"
] | 114 | 2020-01-08T11:08:24.000Z | 2022-03-30T16:42:23.000Z | vortexasdk/config.py | V0RT3X4/python-sdk | 4cffae83b90a58a56f1a534057fa1ca1c8671e05 | [
"Apache-2.0"
] | 6 | 2020-05-28T00:09:02.000Z | 2022-03-14T03:52:44.000Z | import os
LOG_LEVEL = os.getenv("LOG_LEVEL", "WARNING").upper()
LOG_FILE = os.getenv("LOG_FILE", None)
| 20.8 | 53 | 0.711538 | 17 | 104 | 4.117647 | 0.529412 | 0.228571 | 0.314286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105769 | 104 | 4 | 54 | 26 | 0.752688 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
e0a5893b1ec05a9b4ecf2eacc5a48d15ae37c3eb | 64 | py | Python | echoes/reservoir/__init__.py | fabridamicelli/echoes | 99fd1b1daf20b45bea21091a741ccbf711393294 | [
"MIT"
] | 11 | 2020-08-03T23:19:00.000Z | 2022-03-27T10:44:29.000Z | echoes/reservoir/__init__.py | fabridamicelli/echoes | 99fd1b1daf20b45bea21091a741ccbf711393294 | [
"MIT"
] | null | null | null | echoes/reservoir/__init__.py | fabridamicelli/echoes | 99fd1b1daf20b45bea21091a741ccbf711393294 | [
"MIT"
] | 4 | 2021-01-01T14:34:26.000Z | 2022-03-21T18:03:47.000Z | from echoes.reservoir._leaky_numba import ReservoirLeakyNeurons
| 32 | 63 | 0.90625 | 7 | 64 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 64 | 1 | 64 | 64 | 0.933333 | 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 |
e0ba8f4c1badf95f87554a881323837de381989c | 294 | py | Python | torch/distributed/fsdp/__init__.py | cdeepali/pytorch | a8e45b596910f90013637ccc735d6ca21a93d852 | [
"Intel"
] | null | null | null | torch/distributed/fsdp/__init__.py | cdeepali/pytorch | a8e45b596910f90013637ccc735d6ca21a93d852 | [
"Intel"
] | null | null | null | torch/distributed/fsdp/__init__.py | cdeepali/pytorch | a8e45b596910f90013637ccc735d6ca21a93d852 | [
"Intel"
] | null | null | null | from .flatten_params_wrapper import FlatParameter
from .fully_sharded_data_parallel import FullyShardedDataParallel
from .fully_sharded_data_parallel import CPUOffload, BackwardPrefetch, ShardingStrategy, MixedPrecision
from .fully_sharded_data_parallel import StateDictType, OptimStateKeyType
| 58.8 | 103 | 0.904762 | 31 | 294 | 8.225806 | 0.548387 | 0.105882 | 0.188235 | 0.235294 | 0.4 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068027 | 294 | 4 | 104 | 73.5 | 0.930657 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
e0c84098aea5dd01fa7df3ce3c488249570fac6b | 194 | py | Python | exception.py | cjpit/selpi | 00d5aa02f75d1862c54245136b4ab457134516d0 | [
"MIT"
] | 5 | 2020-08-08T00:13:38.000Z | 2022-03-01T23:49:45.000Z | exception.py | cjpit/selpi | 00d5aa02f75d1862c54245136b4ab457134516d0 | [
"MIT"
] | 5 | 2021-09-23T20:51:27.000Z | 2022-01-19T04:54:45.000Z | exception.py | cjpit/selpi | 00d5aa02f75d1862c54245136b4ab457134516d0 | [
"MIT"
] | 2 | 2021-04-24T12:12:31.000Z | 2021-07-17T12:56:50.000Z | class ValidationException(Exception):
pass
class OutOfBoundsException(Exception):
pass
class NotFoundException(Exception):
pass
class ConnectionLostException(Exception):
pass
| 16.166667 | 41 | 0.778351 | 16 | 194 | 9.4375 | 0.4375 | 0.344371 | 0.357616 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159794 | 194 | 11 | 42 | 17.636364 | 0.92638 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
e0ec7d4bc5313851c4741bc3fa8c77a0c2c488cf | 8,835 | py | Python | code/python/TimeSeriesAPIforDigitalPortals/v3/fds/sdk/TimeSeriesAPIforDigitalPortals/models/__init__.py | factset/enterprise-sdk | 3fd4d1360756c515c9737a0c9a992c7451d7de7e | [
"Apache-2.0"
] | 6 | 2022-02-07T16:34:18.000Z | 2022-03-30T08:04:57.000Z | code/python/TimeSeriesAPIforDigitalPortals/v3/fds/sdk/TimeSeriesAPIforDigitalPortals/models/__init__.py | factset/enterprise-sdk | 3fd4d1360756c515c9737a0c9a992c7451d7de7e | [
"Apache-2.0"
] | 2 | 2022-02-07T05:25:57.000Z | 2022-03-07T14:18:04.000Z | code/python/TimeSeriesAPIforDigitalPortals/v3/fds/sdk/TimeSeriesAPIforDigitalPortals/models/__init__.py | factset/enterprise-sdk | 3fd4d1360756c515c9737a0c9a992c7451d7de7e | [
"Apache-2.0"
] | null | null | null | # flake8: noqa
# import all models into this package
# if you have many models here with many references from one model to another this may
# raise a RecursionError
# to avoid this, import only the models that you directly need like:
# from from fds.sdk.TimeSeriesAPIforDigitalPortals.model.pet import Pet
# or import t... | 103.941176 | 183 | 0.923826 | 892 | 8,835 | 8.874439 | 0.190583 | 0.065437 | 0.093482 | 0.373926 | 0.63618 | 0.606241 | 0.522739 | 0.385927 | 0.246968 | 0.246968 | 0 | 0.032681 | 0.040634 | 8,835 | 84 | 184 | 105.178571 | 0.901251 | 0.042898 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
46091a1963c55e448ef0cb97eb8816ad636f74c1 | 24 | py | Python | desktopmagic/__init__.py | p3rd1x/Desktopmagic | 906cbe16f4e6c5fea7121c186ff8c6e7c997b2f7 | [
"MIT"
] | 49 | 2015-05-20T08:19:42.000Z | 2021-11-12T17:20:40.000Z | desktopmagic/__init__.py | p3rd1x/Desktopmagic | 906cbe16f4e6c5fea7121c186ff8c6e7c997b2f7 | [
"MIT"
] | 9 | 2015-06-17T22:47:21.000Z | 2022-03-15T09:00:28.000Z | desktopmagic/__init__.py | p3rd1x/Desktopmagic | 906cbe16f4e6c5fea7121c186ff8c6e7c997b2f7 | [
"MIT"
] | 16 | 2015-12-13T18:34:45.000Z | 2021-02-17T13:50:17.000Z | __version__ = '14.3.11'
| 12 | 23 | 0.666667 | 4 | 24 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.238095 | 0.125 | 24 | 1 | 24 | 24 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0.291667 | 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 |
460a4c59537503516d54bcd5539b59b3d16cd316 | 62 | py | Python | python/atomgen.py | tbedford/code-snippets | 9afe36c2726829f14fa5ec11acb8214bed704938 | [
"MIT"
] | null | null | null | python/atomgen.py | tbedford/code-snippets | 9afe36c2726829f14fa5ec11acb8214bed704938 | [
"MIT"
] | null | null | null | python/atomgen.py | tbedford/code-snippets | 9afe36c2726829f14fa5ec11acb8214bed704938 | [
"MIT"
] | 1 | 2018-10-09T02:03:12.000Z | 2018-10-09T02:03:12.000Z | # Code to generate Atom feed for coffeeandcode.neocities.org
| 20.666667 | 60 | 0.806452 | 9 | 62 | 5.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145161 | 62 | 2 | 61 | 31 | 0.943396 | 0.935484 | 0 | null | 1 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
460d61f266cfe9f8225f89b5e60b646b8afc9f16 | 112 | py | Python | neuralprocesses/architectures/__init__.py | tom-andersson/neuralprocesses | 7696dc1c8bbe922fb2a1ba18fe0cdda041fc9cfd | [
"MIT"
] | null | null | null | neuralprocesses/architectures/__init__.py | tom-andersson/neuralprocesses | 7696dc1c8bbe922fb2a1ba18fe0cdda041fc9cfd | [
"MIT"
] | null | null | null | neuralprocesses/architectures/__init__.py | tom-andersson/neuralprocesses | 7696dc1c8bbe922fb2a1ba18fe0cdda041fc9cfd | [
"MIT"
] | null | null | null | from .agnp import *
from .climate import *
from .convgnp import *
from .fullconvgnp import *
from .gnp import *
| 18.666667 | 26 | 0.732143 | 15 | 112 | 5.466667 | 0.466667 | 0.487805 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 112 | 5 | 27 | 22.4 | 0.891304 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
1cd1871614293d919728fa816dfbf4ad4bdff2cc | 156 | py | Python | exp.py | mahendra1904/pythod-programs | d4d75dac65e9795ea5728f75d90aa0b39296b25e | [
"bzip2-1.0.6"
] | null | null | null | exp.py | mahendra1904/pythod-programs | d4d75dac65e9795ea5728f75d90aa0b39296b25e | [
"bzip2-1.0.6"
] | null | null | null | exp.py | mahendra1904/pythod-programs | d4d75dac65e9795ea5728f75d90aa0b39296b25e | [
"bzip2-1.0.6"
] | null | null | null | x=eval(input("Enter the value of x "))
y=eval(input("Enter the value of y"))
z=eval(input("Enter the value of z "))
exp=4*x**4+3*y**3+9*z+6*3.14
print(exp)
| 26 | 38 | 0.647436 | 38 | 156 | 2.657895 | 0.421053 | 0.267327 | 0.415842 | 0.504951 | 0.712871 | 0.712871 | 0 | 0 | 0 | 0 | 0 | 0.065693 | 0.121795 | 156 | 5 | 39 | 31.2 | 0.671533 | 0 | 0 | 0 | 0 | 0 | 0.397436 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.2 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
1cfa3e5f7e38388b0bb759c26c484a06692ac1f3 | 56 | py | Python | thingsdb/util/__init__.py | thingsdb/python-thingsdb | 19938f8d42d20a0ddc22f331140aba6e42c6e0e7 | [
"MIT"
] | 4 | 2020-05-13T20:06:20.000Z | 2021-06-01T08:21:52.000Z | thingsdb/util/__init__.py | thingsdb/python-thingsdb | 19938f8d42d20a0ddc22f331140aba6e42c6e0e7 | [
"MIT"
] | 22 | 2020-05-29T13:01:01.000Z | 2022-03-02T10:08:21.000Z | thingsdb/util/__init__.py | thingsdb/python-thingsdb | 19938f8d42d20a0ddc22f331140aba6e42c6e0e7 | [
"MIT"
] | 1 | 2020-08-12T09:34:59.000Z | 2020-08-12T09:34:59.000Z | from .cnscope import cnscope
from .access import Access
| 18.666667 | 28 | 0.821429 | 8 | 56 | 5.75 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 56 | 2 | 29 | 28 | 0.958333 | 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 |
e817e29d57bbe8e3e26183237e7bc10e5375289f | 666 | py | Python | src/models/customer.py | ehizman/eden | d231f614078c7031eaba63f7864fb7996927cc6d | [
"MIT"
] | null | null | null | src/models/customer.py | ehizman/eden | d231f614078c7031eaba63f7864fb7996927cc6d | [
"MIT"
] | 1 | 2021-09-09T13:09:41.000Z | 2021-09-10T13:31:00.000Z | src/models/customer.py | ehizman/eden | d231f614078c7031eaba63f7864fb7996927cc6d | [
"MIT"
] | 2 | 2021-08-19T15:03:22.000Z | 2021-09-09T10:03:40.000Z | from models.cart import Cart
from src.models.user import User
class Customer(User):
def __init__(self, first_name, last_name, email, user_name, password):
super().__init__(first_name, last_name, email, user_name, password)
self.__cart = Cart()
self.__list_of_billing_info = []
def add_... | 28.956522 | 75 | 0.71021 | 96 | 666 | 4.375 | 0.291667 | 0.183333 | 0.12381 | 0.161905 | 0.330952 | 0.180952 | 0.180952 | 0.180952 | 0 | 0 | 0 | 0 | 0.202703 | 666 | 23 | 76 | 28.956522 | 0.79096 | 0 | 0 | 0.117647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.294118 | false | 0.117647 | 0.117647 | 0.117647 | 0.588235 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 5 |
e81d58cf59aca25d5a131acc9c29a885b423a9db | 3,253 | py | Python | InspirationHub.py | Saberlion/InspirationHub | f793ad364c4644ffc779030e4d8e840b805c9341 | [
"MIT"
] | null | null | null | InspirationHub.py | Saberlion/InspirationHub | f793ad364c4644ffc779030e4d8e840b805c9341 | [
"MIT"
] | null | null | null | InspirationHub.py | Saberlion/InspirationHub | f793ad364c4644ffc779030e4d8e840b805c9341 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Mon Jun 01 19:47:26 2015
@author: sherlockye
"""
import re
import sys
pinyin_dict = {}
def LoadPinyinDict():
global pinyin_dict
for line in open('pinyin.txt'):
line = line.replace('\n','')
line = line.split(":")
pinyin_dict[unicode(line[0],"utf-8... | 3,253 | 3,253 | 0.569935 | 375 | 3,253 | 4.877333 | 0.277333 | 0.030618 | 0.082012 | 0.120284 | 0.262438 | 0.236195 | 0.236195 | 0.200109 | 0.146528 | 0.146528 | 0 | 0.01964 | 0.248694 | 3,253 | 1 | 3,253 | 3,253 | 0.728723 | 0.998463 | 0 | 0.050633 | 0 | 0 | 0.078361 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.025316 | null | null | 0.037975 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e82bb7d531cb4c787076e7841da09b64256b2256 | 1,893 | py | Python | portalsdmz/scenarios/form.py | larc-usp/data-transfer-tester | fd94f120961d6016f58247d31b5d04b2f2b2cd07 | [
"AFL-2.1"
] | null | null | null | portalsdmz/scenarios/form.py | larc-usp/data-transfer-tester | fd94f120961d6016f58247d31b5d04b2f2b2cd07 | [
"AFL-2.1"
] | 2 | 2017-12-13T20:57:34.000Z | 2017-12-13T20:57:35.000Z | portalsdmz/scenarios/form.py | larc-usp/data-transfer-tester | fd94f120961d6016f58247d31b5d04b2f2b2cd07 | [
"AFL-2.1"
] | null | null | null | from django import forms
import datetime
SIZE_CHOICES = (
("1G", '1G '),
("10G", '10G '),
("100G", '100G ')
)
class ScenarioForm(forms.Form):
nome = forms.CharField(max_length = 120, initial='Teste', widget=forms.TextInput(attrs={'class': 'col-sm-5'}))
data = forms.Dat... | 70.111111 | 128 | 0.700475 | 236 | 1,893 | 5.572034 | 0.258475 | 0.125475 | 0.069202 | 0.079848 | 0.776426 | 0.764259 | 0.714068 | 0.714068 | 0.686692 | 0.655513 | 0 | 0.028554 | 0.111992 | 1,893 | 26 | 129 | 72.807692 | 0.753718 | 0 | 0 | 0 | 0 | 0 | 0.122029 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.086957 | 0 | 0.782609 | 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 |
1c36755e5436d63d8309c37538f048289c08c336 | 229 | py | Python | condominios/models.py | mpeyrotc/govector | 5429d538d0bcee4d95d9069dd397b3b5b35b504c | [
"MIT"
] | null | null | null | condominios/models.py | mpeyrotc/govector | 5429d538d0bcee4d95d9069dd397b3b5b35b504c | [
"MIT"
] | null | null | null | condominios/models.py | mpeyrotc/govector | 5429d538d0bcee4d95d9069dd397b3b5b35b504c | [
"MIT"
] | null | null | null | from __future__ import unicode_literals
from django.db import models
class Avisos (models.Model):
Id = models.IntegerField()
Nombre = models.CharField(max_length=50)
Descripcion = models.CharField(max_length=500)
| 20.818182 | 50 | 0.759825 | 29 | 229 | 5.758621 | 0.689655 | 0.179641 | 0.215569 | 0.287425 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025907 | 0.157205 | 229 | 10 | 51 | 22.9 | 0.839378 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
1c787777b2ae3d3014b0ec5feace971a57281961 | 1,415 | py | Python | tests/test_querystring.py | sneakypete81/pytest-httpserver | f98c5022019b8875240cbf31cfd0c85dd15007a6 | [
"MIT"
] | null | null | null | tests/test_querystring.py | sneakypete81/pytest-httpserver | f98c5022019b8875240cbf31cfd0c85dd15007a6 | [
"MIT"
] | null | null | null | tests/test_querystring.py | sneakypete81/pytest-httpserver | f98c5022019b8875240cbf31cfd0c85dd15007a6 | [
"MIT"
] | null | null | null | import requests
from pytest import approx, raises
from pytest_httpserver import HTTPServer
def test_querystring_str(httpserver: HTTPServer):
httpserver.expect_request("/foobar", query_string="foo=bar", method="GET").respond_with_data(
"example_response"
)
response = requests.get(httpserver.url_fo... | 37.236842 | 112 | 0.729329 | 170 | 1,415 | 5.847059 | 0.241176 | 0.112676 | 0.076459 | 0.1167 | 0.866197 | 0.866197 | 0.866197 | 0.82495 | 0.643863 | 0.643863 | 0 | 0.019818 | 0.14417 | 1,415 | 37 | 113 | 38.243243 | 0.800991 | 0 | 0 | 0.548387 | 0 | 0 | 0.163958 | 0 | 0 | 0 | 0 | 0 | 0.387097 | 1 | 0.096774 | false | 0 | 0.096774 | 0 | 0.193548 | 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 |
1c7e1888a0171272023e97a155919bcb2d2fd51d | 154 | py | Python | makewiki/forms.py | franklin-phan/makewikiv2 | 5bb2dce694e2a2fffcab5a30355be5fa57718c55 | [
"MIT"
] | null | null | null | makewiki/forms.py | franklin-phan/makewikiv2 | 5bb2dce694e2a2fffcab5a30355be5fa57718c55 | [
"MIT"
] | 5 | 2020-06-06T01:32:33.000Z | 2022-02-10T09:25:44.000Z | makewiki/forms.py | franklin-phan/makewikiv2 | 5bb2dce694e2a2fffcab5a30355be5fa57718c55 | [
"MIT"
] | null | null | null | from django import forms
class FriendlyForm(forms.Form):
first_name = forms.CharField(max_length=100)
last_name = forms.CharField(max_length=100) | 30.8 | 48 | 0.779221 | 22 | 154 | 5.272727 | 0.636364 | 0.155172 | 0.310345 | 0.362069 | 0.517241 | 0.517241 | 0 | 0 | 0 | 0 | 0 | 0.044776 | 0.12987 | 154 | 5 | 49 | 30.8 | 0.820896 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
c70e62e8a6bb2ea3aa56d43b8cb7b187c42702a6 | 6,580 | py | Python | spyql/nulltype.py | alin23/spyql | 41105b7c536ae21139d0d89cfb6b2a8b6deebf1e | [
"MIT"
] | 432 | 2021-08-17T16:52:36.000Z | 2022-03-30T15:33:26.000Z | spyql/nulltype.py | alin23/spyql | 41105b7c536ae21139d0d89cfb6b2a8b6deebf1e | [
"MIT"
] | 48 | 2021-07-27T17:18:05.000Z | 2022-03-15T09:33:01.000Z | spyql/nulltype.py | alin23/spyql | 41105b7c536ae21139d0d89cfb6b2a8b6deebf1e | [
"MIT"
] | 16 | 2021-11-27T15:42:42.000Z | 2022-02-16T11:36:37.000Z | # Defines the NULL datatype that mimics SQL's NULL
# Unlike None, which throws exceptions, operations with NULLs return NULL
# Allows getting items so that `a.get('b', NULL).get('c', NULL)`` returns NULL
# when `b` does not exist, and `NULL[x]` returns NULL
import spyql.log
class NullType:
def __new__(cls):
... | 20 | 130 | 0.60076 | 827 | 6,580 | 4.383313 | 0.256348 | 0.151724 | 0.190069 | 0.241103 | 0.362483 | 0.079448 | 0.079448 | 0.079448 | 0.043034 | 0.043034 | 0 | 0.004405 | 0.31003 | 6,580 | 328 | 131 | 20.060976 | 0.794053 | 0.132219 | 0 | 0.396226 | 0 | 0 | 0.013361 | 0 | 0 | 0 | 0 | 0.003049 | 0 | 1 | 0.382075 | false | 0.014151 | 0.009434 | 0.316038 | 0.820755 | 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 |
c7110728097fd3e8ab3d6085d4b8661da66309bc | 236,624 | py | Python | pyboto3/redshift.py | thecraftman/pyboto3 | 653a0db2b00b06708334431da8f169d1f7c7734f | [
"MIT"
] | null | null | null | pyboto3/redshift.py | thecraftman/pyboto3 | 653a0db2b00b06708334431da8f169d1f7c7734f | [
"MIT"
] | null | null | null | pyboto3/redshift.py | thecraftman/pyboto3 | 653a0db2b00b06708334431da8f169d1f7c7734f | [
"MIT"
] | null | null | null | '''
The MIT License (MIT)
Copyright (c) 2016 WavyCloud
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, p... | 43.449137 | 649 | 0.614168 | 23,779 | 236,624 | 6.098154 | 0.050423 | 0.020951 | 0.009613 | 0.005648 | 0.771647 | 0.724477 | 0.696424 | 0.681135 | 0.666363 | 0.644289 | 0 | 0.010229 | 0.318687 | 236,624 | 5,445 | 650 | 43.457117 | 0.889241 | 0.877324 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.522388 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
c71593ad01c2038fcf56371da542a88a2e3c94c4 | 124 | py | Python | totalupdate.py | manhof/test_isp_curl | eb5197f30cc72f0527ee66d988b49b5dba9131da | [
"MIT"
] | 1 | 2016-05-05T15:32:24.000Z | 2016-05-05T15:32:24.000Z | totalupdate.py | manhof/test_isp_curl | eb5197f30cc72f0527ee66d988b49b5dba9131da | [
"MIT"
] | null | null | null | totalupdate.py | manhof/test_isp_curl | eb5197f30cc72f0527ee66d988b49b5dba9131da | [
"MIT"
] | null | null | null | #!/usr/bin/python
import os
os.system("sudo /usr/local/bin/csv_copy.py")
os.system("/usr/local/bin/datbase_upload.py")
exit
| 20.666667 | 45 | 0.741935 | 23 | 124 | 3.913043 | 0.608696 | 0.177778 | 0.244444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056452 | 124 | 5 | 46 | 24.8 | 0.769231 | 0.129032 | 0 | 0 | 0 | 0 | 0.588785 | 0.542056 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c7328419e4affcbeb6d69f9b337e3f95f4c4f828 | 53 | py | Python | WEEKS/wk17/CodeSignal-Solutions/Core_017_-_killKthBit.py | webdevhub42/Lambda | b04b84fb5b82fe7c8b12680149e25ae0d27a0960 | [
"MIT"
] | null | null | null | WEEKS/wk17/CodeSignal-Solutions/Core_017_-_killKthBit.py | webdevhub42/Lambda | b04b84fb5b82fe7c8b12680149e25ae0d27a0960 | [
"MIT"
] | null | null | null | WEEKS/wk17/CodeSignal-Solutions/Core_017_-_killKthBit.py | webdevhub42/Lambda | b04b84fb5b82fe7c8b12680149e25ae0d27a0960 | [
"MIT"
] | null | null | null | def killKthBit(n, k):
return n & ~(2 ** (k - 1))
| 17.666667 | 30 | 0.471698 | 9 | 53 | 2.777778 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0.283019 | 53 | 2 | 31 | 26.5 | 0.605263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
c735c8e67ca6b93112def52e1d0952ffd43b82dc | 13,746 | py | Python | BNGBS_DEMO/DEMO/classification.py | LiangjunFeng/BNGBS | c7e99263b87c3d739d48f8964b26213f8a0d96bf | [
"Apache-2.0"
] | 1 | 2022-03-16T12:00:41.000Z | 2022-03-16T12:00:41.000Z | BNGBS_DEMO/DEMO/classification.py | LiangjunFeng/BNGBS | c7e99263b87c3d739d48f8964b26213f8a0d96bf | [
"Apache-2.0"
] | null | null | null | BNGBS_DEMO/DEMO/classification.py | LiangjunFeng/BNGBS | c7e99263b87c3d739d48f8964b26213f8a0d96bf | [
"Apache-2.0"
] | 1 | 2020-03-27T15:49:16.000Z | 2020-03-27T15:49:16.000Z | import numpy as np
from BNGBS_DEMO.Algorithm.BNGBS import GradientBoostingNet
import os
path = os.path.dirname(os.getcwd())
def show_accuracy(predictLabel,Label):
Label = np.ravel(Label).tolist()
predictLabel = predictLabel.tolist()
count = 0
for i in range(len(Label)):
if Label[i] == predictLa... | 40.075802 | 95 | 0.552233 | 1,432 | 13,746 | 5.207402 | 0.067737 | 0.038621 | 0.064369 | 0.090117 | 0.946225 | 0.946225 | 0.803004 | 0.634035 | 0.634035 | 0.633365 | 0 | 0.018087 | 0.292085 | 13,746 | 342 | 96 | 40.192982 | 0.748227 | 0 | 0 | 0.718033 | 0 | 0 | 0.27821 | 0.144925 | 0 | 0 | 0 | 0 | 0 | 1 | 0.003279 | false | 0 | 0.009836 | 0 | 0.016393 | 0.331148 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c74bc97690bdc6f4d7fe7ddf4c2528330a95cb5c | 27 | py | Python | propertyappraisal/appraisal/controllers.py | SriramSrinivas/Real-Estate-WebScraping | d91ca896d2c69fd6b03aed59f34a241b51cedfce | [
"MIT"
] | null | null | null | propertyappraisal/appraisal/controllers.py | SriramSrinivas/Real-Estate-WebScraping | d91ca896d2c69fd6b03aed59f34a241b51cedfce | [
"MIT"
] | null | null | null | propertyappraisal/appraisal/controllers.py | SriramSrinivas/Real-Estate-WebScraping | d91ca896d2c69fd6b03aed59f34a241b51cedfce | [
"MIT"
] | 1 | 2018-12-06T16:31:26.000Z | 2018-12-06T16:31:26.000Z | def test(request):
pass | 13.5 | 18 | 0.666667 | 4 | 27 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 27 | 2 | 19 | 13.5 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
c75819373d911e0848b81d5627011e7ac3ccdd37 | 38 | py | Python | maml_trpo/meta_learner/__init__.py | adityabingi/maml-trpo-metaworld | 9247018e72563a5cbf3df9ce7c384aef9812d18b | [
"MIT"
] | null | null | null | maml_trpo/meta_learner/__init__.py | adityabingi/maml-trpo-metaworld | 9247018e72563a5cbf3df9ce7c384aef9812d18b | [
"MIT"
] | null | null | null | maml_trpo/meta_learner/__init__.py | adityabingi/maml-trpo-metaworld | 9247018e72563a5cbf3df9ce7c384aef9812d18b | [
"MIT"
] | null | null | null | from .meta_learner import MetaLearner
| 19 | 37 | 0.868421 | 5 | 38 | 6.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 0.941176 | 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 |
c7ad7620218ba89f6ecb031c249ce0f46f03a6e4 | 31 | py | Python | loo/__main__.py | LooMan/looman-cli | 7f8d0498b2e070a8d226de421744f247e249334c | [
"MIT"
] | null | null | null | loo/__main__.py | LooMan/looman-cli | 7f8d0498b2e070a8d226de421744f247e249334c | [
"MIT"
] | null | null | null | loo/__main__.py | LooMan/looman-cli | 7f8d0498b2e070a8d226de421744f247e249334c | [
"MIT"
] | null | null | null | from loo.cli import main
main() | 15.5 | 24 | 0.774194 | 6 | 31 | 4 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 2 | 25 | 15.5 | 0.888889 | 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 |
c7ef303f44c6eea95784e590390c569419d0dc6c | 207 | py | Python | src/schemas/member.py | jabuckle26/library-api | f52970585959be202b85a26e419fc994c273f21e | [
"MIT"
] | null | null | null | src/schemas/member.py | jabuckle26/library-api | f52970585959be202b85a26e419fc994c273f21e | [
"MIT"
] | null | null | null | src/schemas/member.py | jabuckle26/library-api | f52970585959be202b85a26e419fc994c273f21e | [
"MIT"
] | null | null | null | from pydantic import BaseModel
class Member(BaseModel):
id: int
first_name: str
last_name: str
email: str
class MemberIn(BaseModel):
first_name: str
last_name: str
email: str
| 13.8 | 30 | 0.676329 | 28 | 207 | 4.857143 | 0.5 | 0.205882 | 0.176471 | 0.235294 | 0.455882 | 0.455882 | 0.455882 | 0.455882 | 0 | 0 | 0 | 0 | 0.26087 | 207 | 14 | 31 | 14.785714 | 0.888889 | 0 | 0 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
1befe08a00e6dadaad31f624b08afa21913dd20b | 4,889 | py | Python | tests/test_routes.py | Stock-Stalker/robinhood | 3861b00faad165230b68e72f9712f82714c779de | [
"MIT"
] | null | null | null | tests/test_routes.py | Stock-Stalker/robinhood | 3861b00faad165230b68e72f9712f82714c779de | [
"MIT"
] | null | null | null | tests/test_routes.py | Stock-Stalker/robinhood | 3861b00faad165230b68e72f9712f82714c779de | [
"MIT"
] | null | null | null | """Test robinhood/routes.py functions."""
import json
import unittest
from app import app
class TestRoutes(unittest.TestCase):
"""Routes test class."""
def test_search_stocks(self):
"""Test search stocks route."""
query = "AAPL"
res = app.test_client().get("/robinhood/search/{0}".for... | 31.541935 | 74 | 0.609736 | 585 | 4,889 | 4.923077 | 0.102564 | 0.058333 | 0.094444 | 0.072222 | 0.837847 | 0.818403 | 0.720486 | 0.707292 | 0.676736 | 0.6625 | 0 | 0.020098 | 0.246881 | 4,889 | 154 | 75 | 31.746753 | 0.762086 | 0.12027 | 0 | 0.632653 | 0 | 0 | 0.11716 | 0.059882 | 0 | 0 | 0 | 0 | 0.214286 | 1 | 0.132653 | false | 0 | 0.030612 | 0 | 0.173469 | 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 |
40023ba518c2613852f02235802f4a8e87b38715 | 1,565 | py | Python | cogs/other.py | hyarsan/mewtwo-bot | 26bd66d524c004e26e228e013e51092e1c0b10d3 | [
"MIT"
] | null | null | null | cogs/other.py | hyarsan/mewtwo-bot | 26bd66d524c004e26e228e013e51092e1c0b10d3 | [
"MIT"
] | null | null | null | cogs/other.py | hyarsan/mewtwo-bot | 26bd66d524c004e26e228e013e51092e1c0b10d3 | [
"MIT"
] | null | null | null | import discord
from discord.ext import commands
import mewtwo_config as config
botver = "Mewtwo v2.0"
class Other(commands.Cog):
def __init__(self, bot):
self.bot = bot
@commands.command()
@commands.cooldown(1, 60, commands.BucketType.user)
async def bug(self, ctx, *, arg):
dev = self... | 52.166667 | 213 | 0.66901 | 219 | 1,565 | 4.73516 | 0.356164 | 0.052073 | 0.044359 | 0.059788 | 0.750241 | 0.750241 | 0.750241 | 0.750241 | 0.750241 | 0.750241 | 0 | 0.025357 | 0.19361 | 1,565 | 30 | 214 | 52.166667 | 0.793185 | 0 | 0 | 0.4 | 0 | 0.08 | 0.249681 | 0 | 0 | 0 | 0.010217 | 0 | 0 | 1 | 0.08 | false | 0 | 0.12 | 0 | 0.24 | 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 |
402b90d998cab9172bd8bb62c82f53d972809363 | 37 | py | Python | tests/__init__.py | ninadpage/contact-book-python | 5247a7d13df0c952da59fb3c0875ab4002a3fc14 | [
"MIT"
] | null | null | null | tests/__init__.py | ninadpage/contact-book-python | 5247a7d13df0c952da59fb3c0875ab4002a3fc14 | [
"MIT"
] | null | null | null | tests/__init__.py | ninadpage/contact-book-python | 5247a7d13df0c952da59fb3c0875ab4002a3fc14 | [
"MIT"
] | null | null | null | # encoding=utf-8
# Author: ninadpage
| 12.333333 | 19 | 0.72973 | 5 | 37 | 5.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03125 | 0.135135 | 37 | 2 | 20 | 18.5 | 0.8125 | 0.864865 | 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 |
4038b696d9b65e9e0838cbf5a7bf7b8728f0bb62 | 166 | py | Python | pype/modules/standalonepublish/__init__.py | Yowza-Animation/pype | 0212fa8357e6ffd490230193e69e101aaf262587 | [
"MIT"
] | null | null | null | pype/modules/standalonepublish/__init__.py | Yowza-Animation/pype | 0212fa8357e6ffd490230193e69e101aaf262587 | [
"MIT"
] | null | null | null | pype/modules/standalonepublish/__init__.py | Yowza-Animation/pype | 0212fa8357e6ffd490230193e69e101aaf262587 | [
"MIT"
] | null | null | null | from .standalonepublish_module import StandAlonePublishModule
def tray_init(tray_widget, main_widget):
return StandAlonePublishModule(main_widget, tray_widget)
| 27.666667 | 61 | 0.855422 | 18 | 166 | 7.555556 | 0.611111 | 0.147059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096386 | 166 | 5 | 62 | 33.2 | 0.906667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 5 |
405b39ddf3f3e45acbd329709f2d7bcf1d564af2 | 99 | py | Python | Scripts/commons.py | Ninja91/DnCensus | 98f45d63ef739fd0d61428ed1c4581593443c6db | [
"MIT"
] | 1 | 2020-08-19T00:13:45.000Z | 2020-08-19T00:13:45.000Z | Scripts/commons.py | Ninja91/DnCensus | 98f45d63ef739fd0d61428ed1c4581593443c6db | [
"MIT"
] | 1 | 2015-10-14T02:25:37.000Z | 2015-10-14T02:25:37.000Z | Scripts/commons.py | Ninja91/DnCensus | 98f45d63ef739fd0d61428ed1c4581593443c6db | [
"MIT"
] | null | null | null | #!/usr/bin/python
__author__ = 'Nitin'
def count_iterable(i):
return sum(1 for e in i) | 14.142857 | 28 | 0.626263 | 16 | 99 | 3.5625 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013333 | 0.242424 | 99 | 7 | 28 | 14.142857 | 0.746667 | 0.161616 | 0 | 0 | 0 | 0 | 0.064935 | 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 |
4065dbfb8854cf8dfcfe92b95e9644c996956434 | 2,220 | py | Python | continuum/datasets/__init__.py | arthurdouillard/continuum | 83e7437944486cabd5e4c149d41816dbef49b7bf | [
"MIT"
] | 4 | 2020-04-15T14:31:42.000Z | 2020-04-24T17:07:34.000Z | continuum/datasets/__init__.py | arthurdouillard/continuum | 83e7437944486cabd5e4c149d41816dbef49b7bf | [
"MIT"
] | 18 | 2020-04-15T14:57:27.000Z | 2020-05-02T14:05:36.000Z | continuum/datasets/__init__.py | arthurdouillard/continuum | 83e7437944486cabd5e4c149d41816dbef49b7bf | [
"MIT"
] | 1 | 2020-04-15T15:50:28.000Z | 2020-04-15T15:50:28.000Z | # pylint: disable=C0401
# flake8: noqa
from continuum.datasets.base import (
ImageFolderDataset, InMemoryDataset, PyTorchDataset, _ContinuumDataset, H5Dataset, _AudioDataset
)
from continuum.datasets.cifar100 import CIFAR100
from continuum.datasets.core50 import (Core50, Core50v2_79, Core50v2_196, Core50v2_391)
fro... | 49.333333 | 100 | 0.862613 | 268 | 2,220 | 7.093284 | 0.328358 | 0.259863 | 0.419779 | 0.029458 | 0.13414 | 0.13414 | 0.13414 | 0.13414 | 0.13414 | 0.13414 | 0 | 0.050814 | 0.086937 | 2,220 | 44 | 101 | 50.454545 | 0.887025 | 0.015315 | 0 | 0.095238 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.904762 | 0 | 0.904762 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
dc129d0a326c32f583c5667f40185b5afb60f6b2 | 153 | py | Python | SQLiteWaterUsage/cython-setup.py | Ivanov1ch/Building-Energy-Bootcamp-2019 | 3b438b9fa4595fe437086db56987660850799916 | [
"MIT"
] | null | null | null | SQLiteWaterUsage/cython-setup.py | Ivanov1ch/Building-Energy-Bootcamp-2019 | 3b438b9fa4595fe437086db56987660850799916 | [
"MIT"
] | null | null | null | SQLiteWaterUsage/cython-setup.py | Ivanov1ch/Building-Energy-Bootcamp-2019 | 3b438b9fa4595fe437086db56987660850799916 | [
"MIT"
] | null | null | null | import os
from distutils.core import setup
from Cython.Build import cythonize
setup(ext_modules=cythonize(os.path.join('SQLiteWaterUsage', 'main.py')))
| 25.5 | 73 | 0.803922 | 22 | 153 | 5.545455 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084967 | 153 | 5 | 74 | 30.6 | 0.871429 | 0 | 0 | 0 | 0 | 0 | 0.150327 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
dc18c0c97918e212e271787e5e8ae6858b4f5ef9 | 44 | py | Python | pydomo/utilities/__init__.py | bradleyhurley/domo-python-sdk | 14a1b5367ad4ae8f2a4f05e46211ae1a665e31ef | [
"MIT"
] | 81 | 2017-04-21T20:49:01.000Z | 2022-03-29T20:38:36.000Z | pydomo/utilities/__init__.py | bradleyhurley/domo-python-sdk | 14a1b5367ad4ae8f2a4f05e46211ae1a665e31ef | [
"MIT"
] | 57 | 2017-05-11T15:55:00.000Z | 2022-02-18T00:20:45.000Z | pydomo/utilities/__init__.py | bradleyhurley/domo-python-sdk | 14a1b5367ad4ae8f2a4f05e46211ae1a665e31ef | [
"MIT"
] | 66 | 2017-05-31T14:39:48.000Z | 2022-03-25T22:06:18.000Z | from .UtilitiesClient import UtilitiesClient | 44 | 44 | 0.909091 | 4 | 44 | 10 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068182 | 44 | 1 | 44 | 44 | 0.97561 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
905656b816627a1c8f038cdf39f9d0a5cba5a720 | 23 | py | Python | hshsh.py | wang130520/Git_student | db3c4fb990a7a7e648aadfcc6e53b0a3464d54b6 | [
"MIT"
] | null | null | null | hshsh.py | wang130520/Git_student | db3c4fb990a7a7e648aadfcc6e53b0a3464d54b6 | [
"MIT"
] | null | null | null | hshsh.py | wang130520/Git_student | db3c4fb990a7a7e648aadfcc6e53b0a3464d54b6 | [
"MIT"
] | null | null | null | print("hello world1!")
| 11.5 | 22 | 0.695652 | 3 | 23 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 0.086957 | 23 | 1 | 23 | 23 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0.565217 | 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 |
907b6128771f58d50460f21f137fd871c5d2eb30 | 164 | py | Python | src/nodeconductor_paas_oracle/__init__.py | opennode/nodeconductor-paas-oracle | 799c05438265da0b328bcaa425af01e9576f57fe | [
"MIT"
] | null | null | null | src/nodeconductor_paas_oracle/__init__.py | opennode/nodeconductor-paas-oracle | 799c05438265da0b328bcaa425af01e9576f57fe | [
"MIT"
] | null | null | null | src/nodeconductor_paas_oracle/__init__.py | opennode/nodeconductor-paas-oracle | 799c05438265da0b328bcaa425af01e9576f57fe | [
"MIT"
] | null | null | null | from nodeconductor import _get_version
__version__ = _get_version('nodeconductor_paas_oracle')
default_app_config = 'nodeconductor_paas_oracle.apps.OracleConfig'
| 27.333333 | 66 | 0.865854 | 19 | 164 | 6.736842 | 0.631579 | 0.15625 | 0.359375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073171 | 164 | 5 | 67 | 32.8 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0.414634 | 0.414634 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
907dad99b045ee4bf40b3703e0aa4ce567f31bb2 | 95 | py | Python | discord_ritoman/bot/bot.py | stephend017/Discord-RitoMan | 18bea140af8a552e1cc12557977f73b2434218e4 | [
"MIT"
] | null | null | null | discord_ritoman/bot/bot.py | stephend017/Discord-RitoMan | 18bea140af8a552e1cc12557977f73b2434218e4 | [
"MIT"
] | 26 | 2020-11-18T05:09:34.000Z | 2022-01-05T19:09:30.000Z | discord_ritoman/bot/bot.py | stephend017/Discord-RitoMan | 18bea140af8a552e1cc12557977f73b2434218e4 | [
"MIT"
] | 1 | 2020-11-28T02:47:29.000Z | 2020-11-28T02:47:29.000Z | from discord.ext import commands
bot = commands.Bot(command_prefix="<@!779328785043554334> ")
| 23.75 | 60 | 0.778947 | 11 | 95 | 6.636364 | 0.818182 | 0.30137 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.209302 | 0.094737 | 95 | 3 | 61 | 31.666667 | 0.639535 | 0 | 0 | 0 | 0 | 0 | 0.242105 | 0.231579 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
9085d3940389251325ff39608d5c0fd48bf227ed | 4,200 | py | Python | tests/test_account.py | dmitriyVasilievich1986/sudoku-server | 767059998ccc2493424a7da39dfb9ac4284ae8a4 | [
"MIT"
] | null | null | null | tests/test_account.py | dmitriyVasilievich1986/sudoku-server | 767059998ccc2493424a7da39dfb9ac4284ae8a4 | [
"MIT"
] | null | null | null | tests/test_account.py | dmitriyVasilievich1986/sudoku-server | 767059998ccc2493424a7da39dfb9ac4284ae8a4 | [
"MIT"
] | null | null | null | from rest_framework.test import APIClient
from account.models import Account
from django.test import TestCase
import json
API_URL = "http://localhost/api/account/"
TEST_CREATE_USERNAME = "root"
TEST_USER_USERNAME = "test"
class AccountTestModel(TestCase):
def setUp(self):
self.client = APIClient()
... | 43.75 | 110 | 0.664286 | 511 | 4,200 | 5.258317 | 0.123288 | 0.081876 | 0.179754 | 0.172683 | 0.772609 | 0.743952 | 0.726833 | 0.698921 | 0.681057 | 0.681057 | 0 | 0.015588 | 0.205714 | 4,200 | 95 | 111 | 44.210526 | 0.789868 | 0 | 0 | 0.414634 | 0 | 0 | 0.128571 | 0.007143 | 0 | 0 | 0 | 0 | 0.256098 | 1 | 0.121951 | false | 0.073171 | 0.04878 | 0 | 0.182927 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.