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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
eebba2a69a46887f14eab916fbeb93540243cd82 | 1,246 | py | Python | server/grips/middleware/auth.py | yizhang7210/Syllable | 0536763a21db9532fc73cd32d03a7732d73f4ab8 | [
"MIT"
] | null | null | null | server/grips/middleware/auth.py | yizhang7210/Syllable | 0536763a21db9532fc73cd32d03a7732d73f4ab8 | [
"MIT"
] | 13 | 2018-09-29T21:34:25.000Z | 2018-12-15T18:54:52.000Z | server/grips/middleware/auth.py | yizhang7210/Syllable | 0536763a21db9532fc73cd32d03a7732d73f4ab8 | [
"MIT"
] | null | null | null | from rest_framework import authentication
from rest_framework import exceptions
from users.middleware.auth import ApiUserAuth
from grips.services import grips as grips_service
class ApiGripWriteAuth(authentication.BaseAuthentication):
api_auth = ApiUserAuth()
def authenticate(self, request):
user, _ =... | 31.948718 | 72 | 0.702247 | 143 | 1,246 | 5.951049 | 0.314685 | 0.070505 | 0.164512 | 0.054054 | 0.749706 | 0.749706 | 0.749706 | 0.749706 | 0.749706 | 0.749706 | 0 | 0.002037 | 0.211878 | 1,246 | 38 | 73 | 32.789474 | 0.864562 | 0 | 0 | 0.615385 | 0 | 0 | 0.0626 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0 | 0.153846 | 0 | 0.461538 | 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 |
eec2600d4b15ed51fd928b1856849d33bb95ba46 | 2,204 | py | Python | Pcolors/_functions/preview.py | rafalou38/Pcolors | a4dc57c57d6a142a23a8ce8bc422581028fc8abd | [
"MIT"
] | 1 | 2020-08-31T09:45:28.000Z | 2020-08-31T09:45:28.000Z | Pcolors/_functions/preview.py | rafalou38/Pcolors | a4dc57c57d6a142a23a8ce8bc422581028fc8abd | [
"MIT"
] | null | null | null | Pcolors/_functions/preview.py | rafalou38/Pcolors | a4dc57c57d6a142a23a8ce8bc422581028fc8abd | [
"MIT"
] | null | null | null | import colorama
colorama.init()
def preview():
print("""
Test of the colors:
foreground:
light:
\033[90m black\033[0m \033[94m blue \033[0m
\033[91m red\033[0m \033[95m magenta\033[0m
\033[92m green\033[0m \033[96m cyan\033[0m
\033[93m yellow\033[0m \033[97m white\033[0m
dark:
\033[30... | 40.814815 | 197 | 0.647005 | 379 | 2,204 | 3.757256 | 0.350923 | 0.196629 | 0.275281 | 0.02809 | 0.146067 | 0.025281 | 0 | 0 | 0 | 0 | 0 | 0.352234 | 0.207804 | 2,204 | 53 | 198 | 41.584906 | 0.462772 | 0 | 0 | 0.088889 | 0 | 0.111111 | 0.970962 | 0.098004 | 0 | 0 | 0 | 0 | 0 | 1 | 0.022222 | true | 0 | 0.022222 | 0 | 0.044444 | 0.022222 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
010807a21e4f84a4045d136e0affddd3af910d02 | 6,621 | py | Python | skill_sdk/requests.py | stranac/voice-skill-sdk | 8bfbbedf36ed4e4b2ff865deffe4dee804d57031 | [
"MIT"
] | 18 | 2020-11-25T12:58:36.000Z | 2022-01-06T21:13:52.000Z | skill_sdk/requests.py | stranac/voice-skill-sdk | 8bfbbedf36ed4e4b2ff865deffe4dee804d57031 | [
"MIT"
] | 28 | 2020-11-27T08:45:57.000Z | 2022-03-31T09:01:48.000Z | skill_sdk/requests.py | stranac/voice-skill-sdk | 8bfbbedf36ed4e4b2ff865deffe4dee804d57031 | [
"MIT"
] | 15 | 2020-11-30T08:19:44.000Z | 2022-03-10T13:07:05.000Z | #
# voice-skill-sdk
#
# (C) 2021, Deutsche Telekom AG
#
# This file is distributed under the terms of the MIT license.
# For details see the file LICENSE in the top directory.
#
"""HTTP sync/async clients with circuit breaker"""
from typing import Callable, Iterable, List, Union
import logging
from warnings import wa... | 31.679426 | 112 | 0.590998 | 728 | 6,621 | 5.247253 | 0.221154 | 0.076963 | 0.015707 | 0.014921 | 0.756545 | 0.756545 | 0.756545 | 0.756545 | 0.756545 | 0.738743 | 0 | 0.001113 | 0.321251 | 6,621 | 208 | 113 | 31.831731 | 0.84891 | 0.285153 | 0 | 0.696721 | 0 | 0.008197 | 0.10076 | 0.007149 | 0 | 0 | 0 | 0 | 0 | 1 | 0.040984 | false | 0 | 0.065574 | 0 | 0.163934 | 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 |
01430d49710534c231499dbb63a50fd9e7bed5b4 | 62 | py | Python | sabueso/_private_tools/molecular_system/__init__.py | dprada/sabueso | 14843cf3522b5b89db5b61c1541a7015f114dd53 | [
"MIT"
] | null | null | null | sabueso/_private_tools/molecular_system/__init__.py | dprada/sabueso | 14843cf3522b5b89db5b61c1541a7015f114dd53 | [
"MIT"
] | 2 | 2022-01-31T21:22:17.000Z | 2022-02-04T20:20:12.000Z | sabueso/_private_tools/molecular_system/__init__.py | dprada/sabueso | 14843cf3522b5b89db5b61c1541a7015f114dd53 | [
"MIT"
] | 1 | 2021-07-20T15:01:14.000Z | 2021-07-20T15:01:14.000Z | from .is_file import is_file
from .is_string import is_string
| 20.666667 | 32 | 0.83871 | 12 | 62 | 4 | 0.416667 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 62 | 2 | 33 | 31 | 0.888889 | 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 |
0154b2e083a1a027e45489bd851f11bc1fea0b69 | 139 | py | Python | lbc/models/__init__.py | cgeller/WorldOnRails | d8aa9f7ae67a6b7b71a2fc5ba86bb2a44f221bef | [
"MIT"
] | 108 | 2021-05-04T02:13:04.000Z | 2022-03-24T02:11:55.000Z | lbc/models/__init__.py | cgeller/WorldOnRails | d8aa9f7ae67a6b7b71a2fc5ba86bb2a44f221bef | [
"MIT"
] | 45 | 2021-05-10T13:32:51.000Z | 2022-03-23T07:23:19.000Z | lbc/models/__init__.py | cgeller/WorldOnRails | d8aa9f7ae67a6b7b71a2fc5ba86bb2a44f221bef | [
"MIT"
] | 22 | 2021-05-04T16:38:17.000Z | 2022-03-25T16:40:00.000Z | from .point_model import PointModel, RGBPointModel
from .converter import Converter
__all__ = ['PointModel', 'RGBPointModel', 'Converter'] | 34.75 | 54 | 0.798561 | 14 | 139 | 7.571429 | 0.571429 | 0.433962 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.100719 | 139 | 4 | 54 | 34.75 | 0.848 | 0 | 0 | 0 | 0 | 0 | 0.228571 | 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 |
01690dcdce2a3606e89e463e21f9223568a9106f | 60 | py | Python | src/oscar/utils/deprecation.py | QueoLda/django-oscar | 8dd992d82e31d26c929b3caa0e08b57e9701d097 | [
"BSD-3-Clause"
] | 4,639 | 2015-01-01T00:42:33.000Z | 2022-03-29T18:32:12.000Z | src/oscar/utils/deprecation.py | QueoLda/django-oscar | 8dd992d82e31d26c929b3caa0e08b57e9701d097 | [
"BSD-3-Clause"
] | 2,215 | 2015-01-02T22:32:51.000Z | 2022-03-29T12:16:23.000Z | src/oscar/utils/deprecation.py | QueoLda/django-oscar | 8dd992d82e31d26c929b3caa0e08b57e9701d097 | [
"BSD-3-Clause"
] | 2,187 | 2015-01-02T06:33:31.000Z | 2022-03-31T15:32:36.000Z | class RemovedInOscar32Warning(DeprecationWarning):
pass
| 20 | 50 | 0.833333 | 4 | 60 | 12.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037736 | 0.116667 | 60 | 2 | 51 | 30 | 0.90566 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
0174d5ba014bd7a65927edb82b986392fc21807f | 86 | py | Python | filters/__init__.py | Ramesh-X/Image-Enhancer | 4eb98c4652f99ecc49f966c1c0d7cb133b6f76a4 | [
"MIT"
] | 4 | 2018-12-24T17:12:37.000Z | 2019-07-29T09:21:22.000Z | filters/__init__.py | Ramesh-X/Image-Enhancer | 4eb98c4652f99ecc49f966c1c0d7cb133b6f76a4 | [
"MIT"
] | null | null | null | filters/__init__.py | Ramesh-X/Image-Enhancer | 4eb98c4652f99ecc49f966c1c0d7cb133b6f76a4 | [
"MIT"
] | 1 | 2022-03-08T07:44:56.000Z | 2022-03-08T07:44:56.000Z | from .abstract_filter import AbstractFilter
from .filter_wrapper import FilterWrapper
| 28.666667 | 43 | 0.883721 | 10 | 86 | 7.4 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 86 | 2 | 44 | 43 | 0.948718 | 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 |
0174e13ecb4205f5048510c266504c68edf36aa4 | 72 | py | Python | src/apification/utils/http.py | Quantify-world/Apification | 5fc0bd056d0bf430645a2e2c5d7d9435328b9a4a | [
"MIT"
] | 5 | 2016-10-29T14:23:22.000Z | 2017-07-15T08:39:58.000Z | src/apification/utils/http.py | Quantify-world/Apification | 5fc0bd056d0bf430645a2e2c5d7d9435328b9a4a | [
"MIT"
] | 32 | 2016-10-23T19:18:26.000Z | 2017-02-27T18:33:36.000Z | src/apification/utils/http.py | Quantify-world/apification | 5fc0bd056d0bf430645a2e2c5d7d9435328b9a4a | [
"MIT"
] | null | null | null | def parse_http_accept(header):
# TODO
return 'application/json'
| 18 | 30 | 0.708333 | 9 | 72 | 5.444444 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.194444 | 72 | 3 | 31 | 24 | 0.844828 | 0.055556 | 0 | 0 | 0 | 0 | 0.242424 | 0 | 0 | 0 | 0 | 0.333333 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
6d66da06ec832978f610137ebaa8912de21fb60c | 11,840 | py | Python | tests/testTrajectoriesSaveLoad.py | ningtangla/trainCentrolControl | 66874876a035ad1814b472f03aa9e701f3bdcab7 | [
"MIT"
] | null | null | null | tests/testTrajectoriesSaveLoad.py | ningtangla/trainCentrolControl | 66874876a035ad1814b472f03aa9e701f3bdcab7 | [
"MIT"
] | null | null | null | tests/testTrajectoriesSaveLoad.py | ningtangla/trainCentrolControl | 66874876a035ad1814b472f03aa9e701f3bdcab7 | [
"MIT"
] | null | null | null | import sys
import os
DIRNAME = os.path.dirname(__file__)
sys.path.append(os.path.join(DIRNAME, '..'))
import unittest
from ddt import ddt, data, unpack
import numpy as np
import pandas as pd
from exec.trajectoriesSaveLoad import ConvertTrajectoryToStateDf, GetAgentCoordinateFromTrajectoryAndStateDf, \
conditi... | 57.475728 | 168 | 0.664189 | 1,000 | 11,840 | 7.809 | 0.14 | 0.006147 | 0.00461 | 0.006147 | 0.739915 | 0.73633 | 0.729159 | 0.726085 | 0.724036 | 0.724036 | 0 | 0.036769 | 0.19603 | 11,840 | 205 | 169 | 57.756098 | 0.783591 | 0.374409 | 0 | 0.309278 | 0 | 0.030928 | 0.167372 | 0.074676 | 0 | 0 | 0 | 0 | 0.072165 | 1 | 0.082474 | false | 0 | 0.072165 | 0 | 0.164948 | 0.010309 | 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 |
6d9371936b74432fdad9489c745f4c11d19e0015 | 45 | py | Python | sqlsite/__init__.py | j4mie/sqlsite | f2dadb8db5ed7880f8872b6591d8cb1487f777ea | [
"Unlicense"
] | 192 | 2020-01-13T17:12:07.000Z | 2021-08-13T21:44:38.000Z | sqlsite/__init__.py | j4mie/sqlsite | f2dadb8db5ed7880f8872b6591d8cb1487f777ea | [
"Unlicense"
] | 6 | 2020-01-12T15:55:32.000Z | 2020-02-08T03:29:26.000Z | sqlsite/__init__.py | j4mie/sqlsite | f2dadb8db5ed7880f8872b6591d8cb1487f777ea | [
"Unlicense"
] | 3 | 2020-01-16T18:42:33.000Z | 2022-02-06T23:21:38.000Z | from .wsgi import make_app
app = make_app()
| 11.25 | 26 | 0.733333 | 8 | 45 | 3.875 | 0.625 | 0.451613 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177778 | 45 | 3 | 27 | 15 | 0.837838 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
6da4fe2b828fc3a75f9e667ad0f5818530be86cc | 356 | py | Python | CodingInterviews/Q1-30/Q1.py | BennyJane/algorithm_mad | 4173a4cc60d0f4f87b0cb7f6bc87d1eefbaff937 | [
"Apache-2.0"
] | null | null | null | CodingInterviews/Q1-30/Q1.py | BennyJane/algorithm_mad | 4173a4cc60d0f4f87b0cb7f6bc87d1eefbaff937 | [
"Apache-2.0"
] | null | null | null | CodingInterviews/Q1-30/Q1.py | BennyJane/algorithm_mad | 4173a4cc60d0f4f87b0cb7f6bc87d1eefbaff937 | [
"Apache-2.0"
] | null | null | null | # !/usr/bin/env python
# -*-coding:utf-8 -*-
# Warning :The Hard Way Is Easier
"""
================================================================================================
两个等长整数列表a,b无序,允许交换a,b列表中的数据位置,使得a列表中数值的和与b列表中数据和的差最小
===================================================================================... | 25.428571 | 96 | 0.289326 | 20 | 356 | 5.15 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009119 | 0.075843 | 356 | 14 | 97 | 25.428571 | 0.303951 | 0.907303 | 0 | null | 0 | null | 0 | 0 | null | 1 | 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 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6db9f4b35b3bb41c3743bef2b9015510a4de0c14 | 21 | py | Python | Howdy.py | llabuschagne/cruft-simple-2 | 5a78ae8509d6e5633012f5ef2f178f3e007ba2ce | [
"MIT"
] | null | null | null | Howdy.py | llabuschagne/cruft-simple-2 | 5a78ae8509d6e5633012f5ef2f178f3e007ba2ce | [
"MIT"
] | null | null | null | Howdy.py | llabuschagne/cruft-simple-2 | 5a78ae8509d6e5633012f5ef2f178f3e007ba2ce | [
"MIT"
] | null | null | null | print("Hello, Jane!") | 21 | 21 | 0.666667 | 3 | 21 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 21 | 1 | 21 | 21 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0.545455 | 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 |
6dc7e94bc1e3434137d21f288865a18b796f5bf6 | 37 | py | Python | ansible/env/vagrant/vagrant.py | domdom82/docker-autoscaler | b6a9ce7895ae96eeffbd52f13cebb02d1944f511 | [
"Apache-2.0"
] | null | null | null | ansible/env/vagrant/vagrant.py | domdom82/docker-autoscaler | b6a9ce7895ae96eeffbd52f13cebb02d1944f511 | [
"Apache-2.0"
] | null | null | null | ansible/env/vagrant/vagrant.py | domdom82/docker-autoscaler | b6a9ce7895ae96eeffbd52f13cebb02d1944f511 | [
"Apache-2.0"
] | null | null | null | # tbd script that queries vagrant vms | 37 | 37 | 0.810811 | 6 | 37 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162162 | 37 | 1 | 37 | 37 | 0.967742 | 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 |
6ddcaa6d93fd9a23c89df7ea3469210b6d4b4add | 153 | py | Python | control/__init__.py | audriusb/midiangel | c786b5d222c845222729f4d9ff9202c75c575354 | [
"Apache-2.0"
] | null | null | null | control/__init__.py | audriusb/midiangel | c786b5d222c845222729f4d9ff9202c75c575354 | [
"Apache-2.0"
] | null | null | null | control/__init__.py | audriusb/midiangel | c786b5d222c845222729f4d9ff9202c75c575354 | [
"Apache-2.0"
] | null | null | null | from .midi_control import MIDIControl
from .sdrangel_api import SDRAngelAPI
from .sdr_control import SDRController
from .midi_parse import midi_translate | 38.25 | 38 | 0.875817 | 21 | 153 | 6.142857 | 0.571429 | 0.124031 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098039 | 153 | 4 | 39 | 38.25 | 0.934783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
6df55c2d29586ca71feacba5c24a0d362647310e | 61 | py | Python | gym_multiagent/envs/__init__.py | helgehatt/gym-multiagent | 4d4438d93dc6d947ad1b12bfb28606cd658afc07 | [
"MIT"
] | 1 | 2021-03-17T13:17:48.000Z | 2021-03-17T13:17:48.000Z | gym_multiagent/envs/__init__.py | helgehatt/gym-multiagent | 4d4438d93dc6d947ad1b12bfb28606cd658afc07 | [
"MIT"
] | null | null | null | gym_multiagent/envs/__init__.py | helgehatt/gym-multiagent | 4d4438d93dc6d947ad1b12bfb28606cd658afc07 | [
"MIT"
] | null | null | null | from gym_multiagent.envs.multiagent_env import MultiAgentEnv
| 30.5 | 60 | 0.901639 | 8 | 61 | 6.625 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065574 | 61 | 1 | 61 | 61 | 0.929825 | 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 |
6df7639ed66021aeaf17e351a9380f8921f28825 | 219 | py | Python | src/dbxdeploy/string/RandomStringGenerator.py | DataSentics/dbx-deploy | c019d80a2b947b4f180071e97c3981daa3a2214a | [
"MIT"
] | null | null | null | src/dbxdeploy/string/RandomStringGenerator.py | DataSentics/dbx-deploy | c019d80a2b947b4f180071e97c3981daa3a2214a | [
"MIT"
] | null | null | null | src/dbxdeploy/string/RandomStringGenerator.py | DataSentics/dbx-deploy | c019d80a2b947b4f180071e97c3981daa3a2214a | [
"MIT"
] | null | null | null | import random
import string
class RandomStringGenerator:
def generate(self, stringLength: int):
letters = string.ascii_lowercase
return ''.join(random.choice(letters) for i in range(stringLength))
| 24.333333 | 75 | 0.730594 | 25 | 219 | 6.36 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.187215 | 219 | 8 | 76 | 27.375 | 0.893258 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
0968216e59bd1827e3be5d7257b77d68ed95754a | 4,785 | py | Python | tests/integrationv2/test_compatibility_with_oqs_openssl.py | glaubitz/s2n | d0b2c5ef9b5909cf078cb5a3e8acc156aee8cb4f | [
"Apache-2.0"
] | 4 | 2020-10-01T21:55:38.000Z | 2021-02-05T09:47:03.000Z | tests/integrationv2/test_compatibility_with_oqs_openssl.py | glaubitz/s2n | d0b2c5ef9b5909cf078cb5a3e8acc156aee8cb4f | [
"Apache-2.0"
] | null | null | null | tests/integrationv2/test_compatibility_with_oqs_openssl.py | glaubitz/s2n | d0b2c5ef9b5909cf078cb5a3e8acc156aee8cb4f | [
"Apache-2.0"
] | 3 | 2020-06-24T18:36:11.000Z | 2021-12-09T18:20:37.000Z | import copy
import pytest
import subprocess, os
from common import Certificates, Ciphers, Curves, Protocols, AvailablePorts
from configuration import available_ports, PROVIDERS, PROTOCOLS
from common import Ciphers, ProviderOptions, Protocols, data_bytes
from fixtures import managed_process
from providers import Provi... | 38.58871 | 190 | 0.713271 | 615 | 4,785 | 5.310569 | 0.209756 | 0.03368 | 0.032149 | 0.031231 | 0.819963 | 0.794856 | 0.766687 | 0.703001 | 0.687079 | 0.660747 | 0 | 0.028268 | 0.194148 | 4,785 | 123 | 191 | 38.902439 | 0.818724 | 0.102612 | 0 | 0.639535 | 0 | 0 | 0.118608 | 0.019379 | 0 | 0 | 0 | 0 | 0.162791 | 1 | 0.034884 | false | 0 | 0.116279 | 0 | 0.162791 | 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 |
098ef6b1f3c27a11d65baa5d5a3426a65d3b0a21 | 1,093 | py | Python | test/units/misc/test_datefix.py | bronxc/refinery | 9448facf48a0008f27861dd1a5ee8f5218e6bb86 | [
"BSD-3-Clause"
] | 1 | 2022-02-13T20:57:15.000Z | 2022-02-13T20:57:15.000Z | test/units/misc/test_datefix.py | bronxc/refinery | 9448facf48a0008f27861dd1a5ee8f5218e6bb86 | [
"BSD-3-Clause"
] | null | null | null | test/units/misc/test_datefix.py | bronxc/refinery | 9448facf48a0008f27861dd1a5ee8f5218e6bb86 | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
from .. import TestUnitBase
class TestDateFix(TestUnitBase):
def test_dates(self):
unit = self.load()
self.assertEqual(b'2016-03-15 04:35:35', unit(b'1458016535'))
self.assertEqual(b'2016-03-15 04:35:35', unit(b'1458016535000'))
self.... | 45.541667 | 98 | 0.641354 | 192 | 1,093 | 3.635417 | 0.348958 | 0.23639 | 0.252149 | 0.051576 | 0.459885 | 0.41404 | 0.41404 | 0.402579 | 0.402579 | 0.402579 | 0 | 0.341731 | 0.164684 | 1,093 | 23 | 99 | 47.521739 | 0.422782 | 0.039341 | 0 | 0 | 0 | 0 | 0.39313 | 0.024809 | 0 | 0 | 0 | 0 | 0.647059 | 1 | 0.117647 | false | 0 | 0.058824 | 0 | 0.235294 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
0992e062a7fc736b95e8faa5a469e71d8a4909d4 | 7,296 | py | Python | pyaz/keyvault/secret/__init__.py | py-az-cli/py-az-cli | 9a7dc44e360c096a5a2f15595353e9dad88a9792 | [
"MIT"
] | null | null | null | pyaz/keyvault/secret/__init__.py | py-az-cli/py-az-cli | 9a7dc44e360c096a5a2f15595353e9dad88a9792 | [
"MIT"
] | null | null | null | pyaz/keyvault/secret/__init__.py | py-az-cli/py-az-cli | 9a7dc44e360c096a5a2f15595353e9dad88a9792 | [
"MIT"
] | 1 | 2022-02-03T09:12:01.000Z | 2022-02-03T09:12:01.000Z | '''
Manage secrets.
'''
from ... pyaz_utils import _call_az
def list(id=None, include_managed=None, maxresults=None, vault_name=None):
'''
Optional Parameters:
- id -- Full URI of the Vault or HSM. If specified all other 'Id' arguments should be omitted.
- include_managed -- Include managed secre... | 38.4 | 169 | 0.671053 | 1,054 | 7,296 | 4.577799 | 0.13093 | 0.038342 | 0.047668 | 0.061969 | 0.755233 | 0.747565 | 0.736995 | 0.713368 | 0.676062 | 0.623212 | 0 | 0.001229 | 0.219572 | 7,296 | 189 | 170 | 38.603175 | 0.846154 | 0.667489 | 0 | 0 | 0 | 0 | 0.184127 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.481481 | false | 0 | 0.037037 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
09b70a8daa547b7bb9b9a2bf0f98ef47deb6783e | 584 | py | Python | roboticstoolbox/backends/Swift/__init__.py | looch-huang/robotics-toolbox-python | 38d58a16dc1131c4d30c129b0e9a640ed3c4d3cf | [
"MIT"
] | 1 | 2021-07-02T09:08:06.000Z | 2021-07-02T09:08:06.000Z | roboticstoolbox/backends/Swift/__init__.py | looch-huang/robotics-toolbox-python | 38d58a16dc1131c4d30c129b0e9a640ed3c4d3cf | [
"MIT"
] | null | null | null | roboticstoolbox/backends/Swift/__init__.py | looch-huang/robotics-toolbox-python | 38d58a16dc1131c4d30c129b0e9a640ed3c4d3cf | [
"MIT"
] | 1 | 2021-07-02T09:08:04.000Z | 2021-07-02T09:08:04.000Z | from roboticstoolbox.backends.Swift.Swift import Swift
from roboticstoolbox.backends.Swift.Swift import Slider
from roboticstoolbox.backends.Swift.Swift import SwiftElement
from roboticstoolbox.backends.Swift.Swift import Label
from roboticstoolbox.backends.Swift.Swift import Select
from roboticstoolbox.backends.Swift.... | 29.2 | 61 | 0.782534 | 65 | 584 | 6.969231 | 0.2 | 0.335541 | 0.476821 | 0.565121 | 0.759382 | 0.759382 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131849 | 584 | 19 | 62 | 30.736842 | 0.893491 | 0 | 0 | 0 | 0 | 0 | 0.090753 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.444444 | 0 | 0.444444 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
09bb0d2da6fc62e8700c66817701712fc6f876a9 | 105 | py | Python | draw_image_lidar_fusion.py | JHZ-2326/3d_detection_kit | 25a0d7db1441862bc7d7b6b8616562d0b8cd6247 | [
"MIT"
] | 23 | 2019-03-26T14:26:05.000Z | 2022-03-25T03:57:41.000Z | draw_image_lidar_fusion.py | JHZ-2326/3d_detection_kit | 25a0d7db1441862bc7d7b6b8616562d0b8cd6247 | [
"MIT"
] | 1 | 2021-11-21T03:03:18.000Z | 2021-11-21T03:03:18.000Z | draw_image_lidar_fusion.py | JHZ-2326/3d_detection_kit | 25a0d7db1441862bc7d7b6b8616562d0b8cd6247 | [
"MIT"
] | 6 | 2019-10-28T12:09:22.000Z | 2021-07-08T16:53:02.000Z | """
this file shows drawing 3D bouding box on lidar point cloud
using calibration file
"""
import cv2
| 11.666667 | 59 | 0.742857 | 16 | 105 | 4.875 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02381 | 0.2 | 105 | 8 | 60 | 13.125 | 0.904762 | 0.780952 | 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 |
09dc90247adfd10d93375175dffd0c0082a4350d | 6,575 | py | Python | tests/tests_f12020/test_telemetry.py | f1laps/f1laps-telemetry | 0c264f9300d58397fe2f8b3018cd2e9151e28d08 | [
"MIT"
] | 3 | 2021-02-23T22:06:13.000Z | 2022-02-06T15:05:56.000Z | tests/tests_f12020/test_telemetry.py | f1laps/f1laps-telemetry | 0c264f9300d58397fe2f8b3018cd2e9151e28d08 | [
"MIT"
] | null | null | null | tests/tests_f12020/test_telemetry.py | f1laps/f1laps-telemetry | 0c264f9300d58397fe2f8b3018cd2e9151e28d08 | [
"MIT"
] | null | null | null | from unittest import TestCase
from receiver.f12020.telemetry import Telemetry
from receiver.telemetry_base import KEY_INDEX_MAP
class TelemetryTests(TestCase):
def test_start_telemetry(self):
# initialize
telemetry = Telemetry()
self.assertEqual(telemetry.current_lap, None)
self.... | 45.659722 | 94 | 0.64289 | 861 | 6,575 | 4.744483 | 0.109175 | 0.164504 | 0.185067 | 0.164504 | 0.819829 | 0.78776 | 0.740759 | 0.64798 | 0.562791 | 0.548348 | 0 | 0.099165 | 0.234677 | 6,575 | 143 | 95 | 45.979021 | 0.712639 | 0.030418 | 0 | 0.52459 | 0 | 0 | 0.0055 | 0 | 0 | 0 | 0 | 0 | 0.311475 | 1 | 0.04918 | false | 0 | 0.02459 | 0 | 0.090164 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
09f345446615b556df7c18aeae31c4f6afe8ee07 | 78 | py | Python | custom/openlmis/models.py | dslowikowski/commcare-hq | ad8885cf8dab69dc85cb64f37aeaf06106124797 | [
"BSD-3-Clause"
] | 1 | 2015-02-10T23:26:39.000Z | 2015-02-10T23:26:39.000Z | custom/openlmis/models.py | SEL-Columbia/commcare-hq | 992ee34a679c37f063f86200e6df5a197d5e3ff6 | [
"BSD-3-Clause"
] | 1 | 2022-03-12T01:03:25.000Z | 2022-03-12T01:03:25.000Z | custom/openlmis/models.py | johan--/commcare-hq | 86ee99c54f55ee94e4c8f2f6f30fc44e10e69ebd | [
"BSD-3-Clause"
] | null | null | null | # ensure our signals get loaded at django bootstrap time
from . import signals | 39 | 56 | 0.807692 | 12 | 78 | 5.25 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 78 | 2 | 57 | 39 | 0.969231 | 0.692308 | 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 |
61e1edc232bf558d2e4ab2bfb63ab8b2179d582d | 24,975 | py | Python | cross_loss_influence/data/scripts/mat2vec_tokenize_test.py | CORE-Robotics-Lab/Cross_Loss_Influence_Functions | 6f0fa45f8896cd6c238c143eca6ddebef97b642c | [
"MIT"
] | 1 | 2022-03-08T05:59:17.000Z | 2022-03-08T05:59:17.000Z | cross_loss_influence/data/scripts/mat2vec_tokenize_test.py | CORE-Robotics-Lab/Cross_Loss_Influence_Functions | 6f0fa45f8896cd6c238c143eca6ddebef97b642c | [
"MIT"
] | null | null | null | cross_loss_influence/data/scripts/mat2vec_tokenize_test.py | CORE-Robotics-Lab/Cross_Loss_Influence_Functions | 6f0fa45f8896cd6c238c143eca6ddebef97b642c | [
"MIT"
] | null | null | null | import pandas as pd
import regex
from cross_loss_influence.config import PROJECT_HOME, DATA_DIR
import logging
import string
import unidecode
from chemdataextractor.doc import Paragraph
from gensim.models.phrases import Phraser
import copy
import os
logger = logging.getLogger(__name__)
"""
Modified version of the Mate... | 42.838765 | 144 | 0.530851 | 2,923 | 24,975 | 4.457065 | 0.169689 | 0.01658 | 0.010746 | 0.011821 | 0.784464 | 0.771185 | 0.766733 | 0.761667 | 0.753761 | 0.750691 | 0 | 0.012811 | 0.340541 | 24,975 | 582 | 145 | 42.912371 | 0.775653 | 0.31952 | 0 | 0.694611 | 0 | 0.056886 | 0.081841 | 0.006522 | 0 | 0 | 0 | 0 | 0 | 1 | 0.05988 | false | 0.011976 | 0.02994 | 0 | 0.173653 | 0.032934 | 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 |
111fc5e446ee2b247f4b6a8816b7d08a63261700 | 2,995 | py | Python | ranks.py | jcorvino/wows-ranked | 7bb4d95b9df1e3d4199ac4eaaa0a4ab76bee10e1 | [
"MIT"
] | 1 | 2020-07-19T13:42:15.000Z | 2020-07-19T13:42:15.000Z | ranks.py | jcorvino/wows-ranked | 7bb4d95b9df1e3d4199ac4eaaa0a4ab76bee10e1 | [
"MIT"
] | 3 | 2020-07-19T13:39:26.000Z | 2020-07-27T00:36:02.000Z | ranks.py | jcorvino/wows-ranked | 7bb4d95b9df1e3d4199ac4eaaa0a4ab76bee10e1 | [
"MIT"
] | null | null | null | # Season 16 rank information
# Assumes rank 18-11 give a free star same as season 15 https://worldofwarships.com/en/news/general-news/ranked-15/
# TODO: Fix rank 17 logic since stars can't be lost (see https://worldofwarships.com/en/news/general-news/ranked-15/).
regular_ranks = {
18: {
'stars': 1,
... | 19.834437 | 118 | 0.433389 | 291 | 2,995 | 4.453608 | 0.182131 | 0.179012 | 0.157407 | 0.296296 | 0.85108 | 0.849537 | 0.849537 | 0.166667 | 0.114198 | 0 | 0 | 0.045632 | 0.4 | 2,995 | 150 | 119 | 19.966667 | 0.67557 | 0.120534 | 0 | 0.722222 | 0 | 0 | 0.266362 | 0 | 0 | 0 | 0 | 0.006667 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.006944 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
1160dee8d431e6c562a350794b047cae125212d9 | 63 | py | Python | invtorch/nn/__init__.py | xmodar/invtorch | 74b80be3b4126925e583282b6f78171b99788b37 | [
"Apache-2.0"
] | 14 | 2021-11-18T11:26:11.000Z | 2022-01-20T13:29:52.000Z | invtorch/nn/__init__.py | xmodar/invtorch | 74b80be3b4126925e583282b6f78171b99788b37 | [
"Apache-2.0"
] | null | null | null | invtorch/nn/__init__.py | xmodar/invtorch | 74b80be3b4126925e583282b6f78171b99788b37 | [
"Apache-2.0"
] | null | null | null | """Invertible Neural Network Modules"""
from .modules import *
| 21 | 39 | 0.746032 | 7 | 63 | 6.714286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126984 | 63 | 2 | 40 | 31.5 | 0.854545 | 0.52381 | 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 |
116979a115da92cf6bb0813ff555c4c6fa55743c | 47 | py | Python | python/testData/mover/oneStatementInFunction_afterUp.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2018-12-29T09:53:39.000Z | 2018-12-29T09:53:42.000Z | python/testData/mover/oneStatementInFunction_afterUp.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/mover/oneStatementInFunction_afterUp.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | test2()
test()
def foo():
pass
test1()
| 7.833333 | 11 | 0.510638 | 6 | 47 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060606 | 0.297872 | 47 | 5 | 12 | 9.4 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0.2 | 0 | 0 | 0.2 | 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 |
fed111cbb709ab27bfdb7f2ef11f7cf199d1112a | 216 | py | Python | dyftc/feedings/tests/test_models.py | sokotim/dyftc | 55749a80a579a70c248521b1112a0136fb35b639 | [
"MIT"
] | 2 | 2020-04-02T14:40:49.000Z | 2020-04-02T14:42:50.000Z | dyftc/feedings/tests/test_models.py | sokotim/dyftc | 55749a80a579a70c248521b1112a0136fb35b639 | [
"MIT"
] | null | null | null | dyftc/feedings/tests/test_models.py | sokotim/dyftc | 55749a80a579a70c248521b1112a0136fb35b639 | [
"MIT"
] | null | null | null | import pytest
from dyftc.feedings.models import Feeding
pytestmark = pytest.mark.django_db
def test_feeding_get_absolute_url(feeding: Feeding):
assert feeding.get_absolute_url() == f"/feedings/{feeding.pk}/"
| 21.6 | 67 | 0.787037 | 30 | 216 | 5.433333 | 0.633333 | 0.122699 | 0.220859 | 0.257669 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 216 | 9 | 68 | 24 | 0.848958 | 0 | 0 | 0 | 0 | 0 | 0.106481 | 0.106481 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
fee8d7e15858d7d90fca1c58c3453628b54d5c5d | 89 | py | Python | silkyy/__init__.py | kevenli/silkyy | 105069e26a1ac04f170e55d732e030e68a4fdb86 | [
"Apache-2.0"
] | null | null | null | silkyy/__init__.py | kevenli/silkyy | 105069e26a1ac04f170e55d732e030e68a4fdb86 | [
"Apache-2.0"
] | null | null | null | silkyy/__init__.py | kevenli/silkyy | 105069e26a1ac04f170e55d732e030e68a4fdb86 | [
"Apache-2.0"
] | 1 | 2021-05-07T01:28:49.000Z | 2021-05-07T01:28:49.000Z | import os
from pkgutil import get_data
__version__ = get_data(__package__, 'VERSION') | 22.25 | 46 | 0.786517 | 12 | 89 | 5 | 0.666667 | 0.233333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146067 | 89 | 4 | 46 | 22.25 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0.08046 | 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 |
3a07a4cc1bd59435a95e1f034c157246e9984ff2 | 760 | py | Python | old_version/chess_helper.py | tanishbafna/wizard-chess | eee5f0c8412d134c431c867b23c5de06ed44efc8 | [
"MIT"
] | null | null | null | old_version/chess_helper.py | tanishbafna/wizard-chess | eee5f0c8412d134c431c867b23c5de06ed44efc8 | [
"MIT"
] | null | null | null | old_version/chess_helper.py | tanishbafna/wizard-chess | eee5f0c8412d134c431c867b23c5de06ed44efc8 | [
"MIT"
] | null | null | null | import re
#---------------------
def getFirstMove(file_name):
moveRegex = re.compile(r'[a-h][1-8][a-h][1-8]')
with open(file_name, 'r') as f:
moves_in = f.read().strip().lower()
while not (len(moves_in) == 4 and re.match(moveRegex, moves_in)):
with open(file_name, 'r') as f:
... | 23.75 | 99 | 0.530263 | 112 | 760 | 3.455357 | 0.285714 | 0.198966 | 0.031008 | 0.041344 | 0.739018 | 0.739018 | 0.739018 | 0.739018 | 0.739018 | 0.739018 | 0 | 0.017007 | 0.226316 | 760 | 31 | 100 | 24.516129 | 0.641156 | 0.082895 | 0 | 0.625 | 0 | 0 | 0.06196 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.0625 | 0 | 0.3125 | 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 |
3a48600ae0f4b9713cd0099ba175645d79bb662a | 2,023 | py | Python | tests/unit/commands/logs/test_command.py | torresxb1/aws-sam-cli | d307f2eb6e1a91a476a5e2ca6070f974b0c913f1 | [
"BSD-2-Clause",
"Apache-2.0"
] | 1 | 2021-07-10T14:19:00.000Z | 2021-07-10T14:19:00.000Z | tests/unit/commands/logs/test_command.py | torresxb1/aws-sam-cli | d307f2eb6e1a91a476a5e2ca6070f974b0c913f1 | [
"BSD-2-Clause",
"Apache-2.0"
] | 1 | 2021-07-29T20:56:48.000Z | 2021-07-29T20:56:48.000Z | tests/unit/commands/logs/test_command.py | torresxb1/aws-sam-cli | d307f2eb6e1a91a476a5e2ca6070f974b0c913f1 | [
"BSD-2-Clause",
"Apache-2.0"
] | 1 | 2021-11-26T13:12:50.000Z | 2021-11-26T13:12:50.000Z | from unittest import TestCase
from unittest.mock import Mock, patch
from samcli.commands.logs.command import do_cli
class TestLogsCliCommand(TestCase):
def setUp(self):
self.function_name = "name"
self.stack_name = "stack name"
self.filter_pattern = "filter"
self.start_time = "st... | 34.288136 | 113 | 0.694019 | 251 | 2,023 | 5.183267 | 0.167331 | 0.143736 | 0.083013 | 0.10146 | 0.780938 | 0.760953 | 0.710223 | 0.710223 | 0.710223 | 0.619523 | 0 | 0 | 0.229362 | 2,023 | 58 | 114 | 34.87931 | 0.834509 | 0 | 0 | 0.454545 | 0 | 0 | 0.06525 | 0.051409 | 0 | 0 | 0 | 0 | 0.090909 | 1 | 0.068182 | false | 0 | 0.068182 | 0 | 0.159091 | 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 |
28b0e61e69c28f39518a59e96af11f6d788d7b9b | 166 | py | Python | nomo/apps.py | guettli/nomo | f1ea89fa404ae13f74975e8ac018c2f0af17c4e1 | [
"Apache-2.0"
] | 1 | 2020-10-28T16:49:36.000Z | 2020-10-28T16:49:36.000Z | nomo/apps.py | guettli/nomo | f1ea89fa404ae13f74975e8ac018c2f0af17c4e1 | [
"Apache-2.0"
] | null | null | null | nomo/apps.py | guettli/nomo | f1ea89fa404ae13f74975e8ac018c2f0af17c4e1 | [
"Apache-2.0"
] | null | null | null | from django.apps import AppConfig
from django.db.models.signals import post_migrate
from django.urls import reverse
class NoMoConfig(AppConfig):
name = 'nomo'
| 18.444444 | 49 | 0.789157 | 23 | 166 | 5.652174 | 0.695652 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144578 | 166 | 8 | 50 | 20.75 | 0.915493 | 0 | 0 | 0 | 0 | 0 | 0.024242 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
28cf1c49eb624cc07fa193b92dd0befd5b59be92 | 138 | py | Python | display4D/fieldsGUI/__init__.py | seVenVo1d/General-Relativity-Tensorial-Calculations | 6c07823f74840352253c235af2e4dbe60044941a | [
"MIT"
] | 1 | 2021-06-16T07:29:30.000Z | 2021-06-16T07:29:30.000Z | display4D/fieldsGUI/__init__.py | seVenVo1d/General-Relativity-Tensorial-Calculations | 6c07823f74840352253c235af2e4dbe60044941a | [
"MIT"
] | null | null | null | display4D/fieldsGUI/__init__.py | seVenVo1d/General-Relativity-Tensorial-Calculations | 6c07823f74840352253c235af2e4dbe60044941a | [
"MIT"
] | 1 | 2021-12-02T15:11:06.000Z | 2021-12-02T15:11:06.000Z | from .scalarfieldGUI import scalarfield_gui4d
from .vectorfieldGUI import vectorfield_gui4d
from .tensorfieldGUI import tensorfield_gui4d
| 34.5 | 45 | 0.891304 | 15 | 138 | 8 | 0.6 | 0.15 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02381 | 0.086957 | 138 | 3 | 46 | 46 | 0.928571 | 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 |
28f4c047d92354ea0d049625ee69addad01cc0f4 | 43 | py | Python | haiku_trainer/__init__.py | NTT123/haiku_trainer | b065249faf0dd4b1808a662f1c75d4e1fe35d76f | [
"MIT"
] | null | null | null | haiku_trainer/__init__.py | NTT123/haiku_trainer | b065249faf0dd4b1808a662f1c75d4e1fe35d76f | [
"MIT"
] | null | null | null | haiku_trainer/__init__.py | NTT123/haiku_trainer | b065249faf0dd4b1808a662f1c75d4e1fe35d76f | [
"MIT"
] | null | null | null | from .trainer import Trainer, TrainerState
| 21.5 | 42 | 0.837209 | 5 | 43 | 7.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116279 | 43 | 1 | 43 | 43 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
e929bf304de6b18e0fbaf2653938e78ec43fb12a | 155 | py | Python | whyis/blueprint/sparql/__init__.py | tolulomo/whyis | eb50ab3301eb7efd27a1a3f6fb2305dedd910397 | [
"Apache-2.0"
] | 31 | 2018-05-30T02:41:23.000Z | 2021-10-17T01:25:20.000Z | whyis/blueprint/sparql/__init__.py | tolulomo/whyis | eb50ab3301eb7efd27a1a3f6fb2305dedd910397 | [
"Apache-2.0"
] | 115 | 2018-04-07T00:59:11.000Z | 2022-03-02T03:06:45.000Z | whyis/blueprint/sparql/__init__.py | tolulomo/whyis | eb50ab3301eb7efd27a1a3f6fb2305dedd910397 | [
"Apache-2.0"
] | 25 | 2018-04-07T00:49:55.000Z | 2021-09-28T14:29:18.000Z | from .sparql_blueprint import sparql_blueprint
from .sparql_form import sparql_form as __sparql_form
from .sparql_view import sparql_view as __sparql_view
| 38.75 | 53 | 0.877419 | 24 | 155 | 5.166667 | 0.291667 | 0.241935 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103226 | 155 | 3 | 54 | 51.666667 | 0.892086 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 |
e93c8185a5a900a7fdca427b6da07e97dc098008 | 165 | py | Python | Task00/hello.py | apilatau/pythonSandBox | cb7a78dbf383190bcb08788685ea8d468f13742b | [
"MIT"
] | null | null | null | Task00/hello.py | apilatau/pythonSandBox | cb7a78dbf383190bcb08788685ea8d468f13742b | [
"MIT"
] | 1 | 2021-10-01T11:50:40.000Z | 2021-10-01T11:50:40.000Z | Task00/hello.py | apilatau/pythonSandBox | cb7a78dbf383190bcb08788685ea8d468f13742b | [
"MIT"
] | null | null | null | import os,sys
sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
def main():
print("Hello world")
if __name__=="__main__":
main() | 20.625 | 76 | 0.69697 | 25 | 165 | 4.12 | 0.6 | 0.174757 | 0.252427 | 0.291262 | 0.31068 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115152 | 165 | 8 | 77 | 20.625 | 0.705479 | 0 | 0 | 0 | 0 | 0 | 0.114458 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.166667 | 0 | 0.333333 | 0.166667 | 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 |
3a6f991d2aee352ff15d2b5873a65967c1048365 | 177 | py | Python | Beecrowd/Python/1097 - Sequence IJ 3.py | nazmul629/OJ-Problem_Solution | cf5e01ab8cf062441bfe901e12d98cbaa1d727f9 | [
"MIT"
] | null | null | null | Beecrowd/Python/1097 - Sequence IJ 3.py | nazmul629/OJ-Problem_Solution | cf5e01ab8cf062441bfe901e12d98cbaa1d727f9 | [
"MIT"
] | null | null | null | Beecrowd/Python/1097 - Sequence IJ 3.py | nazmul629/OJ-Problem_Solution | cf5e01ab8cf062441bfe901e12d98cbaa1d727f9 | [
"MIT"
] | null | null | null | j= 7
for i in range(9+1):
if i%2 ==1:
print(f"I={i} J={j}")
print(f"I={i} J={j-1}")
print(f"I={i} J={j-2}")
j =j+2
| 16.090909 | 31 | 0.310734 | 35 | 177 | 1.571429 | 0.342857 | 0.145455 | 0.381818 | 0.436364 | 0.581818 | 0.581818 | 0.4 | 0 | 0 | 0 | 0 | 0.081633 | 0.446328 | 177 | 11 | 32 | 16.090909 | 0.479592 | 0 | 0 | 0 | 0 | 0 | 0.207865 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.428571 | 0 | 0 | 1 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
3a87c63ee57a93781ff4ef532719ad7d4bcf84e6 | 62 | py | Python | enthought/pyface/ui/qt4/action/action_item.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 3 | 2016-12-09T06:05:18.000Z | 2018-03-01T13:00:29.000Z | enthought/pyface/ui/qt4/action/action_item.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 1 | 2020-12-02T00:51:32.000Z | 2020-12-02T08:48:55.000Z | enthought/pyface/ui/qt4/action/action_item.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | null | null | null | # proxy module
from pyface.ui.qt4.action.action_item import *
| 20.666667 | 46 | 0.790323 | 10 | 62 | 4.8 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018182 | 0.112903 | 62 | 2 | 47 | 31 | 0.854545 | 0.193548 | 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 |
3aa3173d8d2299381880afe37010325c7bc9fd95 | 91 | py | Python | tests/data-files/plugins/noop_utils.py | carderne/raster-vision | 915fbcd3263d8f2193e65c2cd0eb53e050a47a01 | [
"Apache-2.0"
] | 4 | 2019-03-11T12:38:15.000Z | 2021-04-06T14:57:52.000Z | tests/data-files/plugins/noop_utils.py | carderne/raster-vision | 915fbcd3263d8f2193e65c2cd0eb53e050a47a01 | [
"Apache-2.0"
] | null | null | null | tests/data-files/plugins/noop_utils.py | carderne/raster-vision | 915fbcd3263d8f2193e65c2cd0eb53e050a47a01 | [
"Apache-2.0"
] | 1 | 2021-02-25T18:23:27.000Z | 2021-02-25T18:23:27.000Z | # Used to test import statements for the NoopAugmentor plugin.
def noop(x):
return x
| 15.166667 | 62 | 0.725275 | 14 | 91 | 4.714286 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.21978 | 91 | 5 | 63 | 18.2 | 0.929577 | 0.659341 | 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 |
3ac0fca8c6c1d1c78bc7aa2775006d8a06e9dde9 | 187 | py | Python | nosql_schema/db/__init__.py | steven266/nosql_schema | a00e5049cadf1f4c83c7e151677e680c36383b6e | [
"MIT"
] | null | null | null | nosql_schema/db/__init__.py | steven266/nosql_schema | a00e5049cadf1f4c83c7e151677e680c36383b6e | [
"MIT"
] | 2 | 2017-03-30T16:40:32.000Z | 2018-01-09T11:24:36.000Z | nosql_schema/db/__init__.py | steven266/nosql_schema | a00e5049cadf1f4c83c7e151677e680c36383b6e | [
"MIT"
] | null | null | null | from .abstract_collection_handler import AbstractCollectionHandler
from .abstract_database_handler import AbstractDatabaseHandler
from .database import create_handler, get_default_handler | 62.333333 | 66 | 0.914439 | 20 | 187 | 8.2 | 0.55 | 0.146341 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064171 | 187 | 3 | 67 | 62.333333 | 0.937143 | 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 |
aaf1a7c562f43ebdb9336decabf1fffca19f3678 | 149 | py | Python | explainn/jaspar/__init__.py | oriolfornes/JASPAR-motif-discovery | 4c3fe91e9345df0aa06a52e94a9bb02ff2748965 | [
"MIT"
] | null | null | null | explainn/jaspar/__init__.py | oriolfornes/JASPAR-motif-discovery | 4c3fe91e9345df0aa06a52e94a9bb02ff2748965 | [
"MIT"
] | null | null | null | explainn/jaspar/__init__.py | oriolfornes/JASPAR-motif-discovery | 4c3fe91e9345df0aa06a52e94a9bb02ff2748965 | [
"MIT"
] | null | null | null | from .jaspar2logo import get_figure, _get_figure
from .jaspar2others import reformat_motif
__all__ = ["get_figure", "reformat_motif", "_get_figure"] | 37.25 | 57 | 0.812081 | 19 | 149 | 5.736842 | 0.473684 | 0.330275 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014815 | 0.09396 | 149 | 4 | 57 | 37.25 | 0.792593 | 0 | 0 | 0 | 0 | 0 | 0.233333 | 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 |
c94644fbd1f1f0f0e01c4abe7b0819f3fd606b25 | 98 | py | Python | tilenol/gadgets/__init__.py | paulie-g/tilenol | 6e52c558d1c698ef8320e6ef32771af2864c1c49 | [
"MIT"
] | 42 | 2015-01-19T15:43:16.000Z | 2021-09-19T15:20:58.000Z | tilenol/gadgets/__init__.py | paulie-g/tilenol | 6e52c558d1c698ef8320e6ef32771af2864c1c49 | [
"MIT"
] | 2 | 2015-05-30T03:15:17.000Z | 2019-02-28T16:37:02.000Z | tilenol/gadgets/__init__.py | tailhook/tilenol | 3b71f6600d437a4e5f167315683e7f0137cd3788 | [
"MIT"
] | 11 | 2015-10-04T06:01:02.000Z | 2022-03-26T18:46:46.000Z | from .menu import SelectExecutable, SelectLayout, FindWindow, RenameWindow
from .tabs import Tabs
| 32.666667 | 74 | 0.836735 | 11 | 98 | 7.454545 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112245 | 98 | 2 | 75 | 49 | 0.942529 | 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 |
a3602e4a3313cb0727e95c3f3e7617e7ca4cacb1 | 194 | py | Python | phantom/predicates/base.py | sobolevn/phantom-types | f9a5fe6ad2cb340a812d644f1c0eb8953deb7bce | [
"MIT"
] | null | null | null | phantom/predicates/base.py | sobolevn/phantom-types | f9a5fe6ad2cb340a812d644f1c0eb8953deb7bce | [
"MIT"
] | null | null | null | phantom/predicates/base.py | sobolevn/phantom-types | f9a5fe6ad2cb340a812d644f1c0eb8953deb7bce | [
"MIT"
] | null | null | null | from typing import Protocol
from typing import TypeVar
T = TypeVar("T", bound=object, contravariant=True)
class Predicate(Protocol[T]):
def __call__(self, arg: T, /) -> bool:
...
| 19.4 | 50 | 0.670103 | 25 | 194 | 5.04 | 0.68 | 0.15873 | 0.253968 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195876 | 194 | 9 | 51 | 21.555556 | 0.807692 | 0 | 0 | 0 | 0 | 0 | 0.005155 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
a36090c3faeceff694283fa09952f8ba4eba08ca | 112 | py | Python | newsltd_etl/projects/tribune/datasets/date_dim/__init__.py | telia-oss/birgitta-example-etl | 8bb32aac94486b4edc1fee3964cf7d2dcf095020 | [
"MIT"
] | 8 | 2019-11-25T16:39:33.000Z | 2022-03-31T12:48:54.000Z | newsltd_etl/projects/tribune/datasets/date_dim/__init__.py | telia-oss/birgitta-example-etl | 8bb32aac94486b4edc1fee3964cf7d2dcf095020 | [
"MIT"
] | 218 | 2019-09-09T11:11:59.000Z | 2022-03-08T05:16:40.000Z | newsltd_etl/projects/tribune/datasets/date_dim/__init__.py | telia-oss/birgitta-example-etl | 8bb32aac94486b4edc1fee3964cf7d2dcf095020 | [
"MIT"
] | 4 | 2020-07-21T15:33:40.000Z | 2021-12-22T11:32:45.000Z | from birgitta.dataset.dataset import Dataset
from .schema import schema
dataset = Dataset("date_dim", schema)
| 18.666667 | 44 | 0.794643 | 15 | 112 | 5.866667 | 0.466667 | 0.318182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 112 | 5 | 45 | 22.4 | 0.897959 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 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 |
6e6cad59faeaa5656162b1788675128391265252 | 147 | py | Python | cpcctool/__init__.py | l2m2/cpcc-tool | 48404e1c228f06edfde697069641d722823955f3 | [
"MIT"
] | 1 | 2021-06-15T10:16:01.000Z | 2021-06-15T10:16:01.000Z | cpcctool/__init__.py | l2m2/cpcc-tool | 48404e1c228f06edfde697069641d722823955f3 | [
"MIT"
] | null | null | null | cpcctool/__init__.py | l2m2/cpcc-tool | 48404e1c228f06edfde697069641d722823955f3 | [
"MIT"
] | null | null | null | from .cpcc_code_docx import gen_code_docx, docx_first_n_pages, docx_last_n_pages, docx_sandwich
from .cpcc_count_code_lines import count_code_lines | 73.5 | 95 | 0.897959 | 27 | 147 | 4.296296 | 0.481481 | 0.137931 | 0.172414 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068027 | 147 | 2 | 96 | 73.5 | 0.846715 | 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 |
6e89e186781b9364c1c92ad2edd34e16dcb3ad96 | 135 | py | Python | ginjinn/test_pytest.py | AGOberprieler/GinJinn_development | e2424ccad4a1ab05f9c21c26cd177aaa8d69b2c7 | [
"Apache-2.0"
] | 17 | 2021-07-24T20:55:58.000Z | 2022-02-09T05:15:04.000Z | ginjinn/test_pytest.py | AGOberprieler/GinJinn_development | e2424ccad4a1ab05f9c21c26cd177aaa8d69b2c7 | [
"Apache-2.0"
] | 1 | 2021-12-21T06:33:56.000Z | 2022-02-05T13:57:53.000Z | ginjinn/test_pytest.py | AGOberprieler/GinJinn2 | 527feac125f476165e332277823c11016565f99d | [
"Apache-2.0"
] | null | null | null | ''' A simple test
'''
def test_pytest():
'''test_pytest
Summary
-------
Dummy test function.
'''
assert True
| 11.25 | 24 | 0.518519 | 14 | 135 | 4.857143 | 0.714286 | 0.294118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.311111 | 135 | 11 | 25 | 12.272727 | 0.731183 | 0.466667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6e91ebf8d5c3c61871a37cb00f10482f74464930 | 261 | py | Python | salesforce/exceptions.py | lycanthropystudios/salesforce-python | f3cc49cd08380536aa45f46ae8536e5f36780476 | [
"MIT"
] | 5 | 2018-03-16T19:59:31.000Z | 2020-04-28T13:47:34.000Z | salesforce/exceptions.py | lycanthropystudios/salesforce-python | f3cc49cd08380536aa45f46ae8536e5f36780476 | [
"MIT"
] | null | null | null | salesforce/exceptions.py | lycanthropystudios/salesforce-python | f3cc49cd08380536aa45f46ae8536e5f36780476 | [
"MIT"
] | 3 | 2020-03-31T20:11:49.000Z | 2022-02-25T14:26:22.000Z | class BaseError(Exception):
pass
class UnknownError(BaseError):
pass
class AccessTokenRequired(BaseError):
pass
class BadOAuthTokenError(BaseError):
pass
class BadRequestError(BaseError):
pass
class TokenError(BaseError):
pass
| 11.347826 | 37 | 0.731801 | 24 | 261 | 7.958333 | 0.375 | 0.235602 | 0.376963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.199234 | 261 | 22 | 38 | 11.863636 | 0.913876 | 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 |
6ec48974a2ec9dbc59f22ac4822bb757a1da3a40 | 22,205 | py | Python | weight.py | ggoh29/Checkers-AI | b3543a8464aff983c6cecb442fe8bab036426579 | [
"MIT"
] | 1 | 2021-03-20T15:09:08.000Z | 2021-03-20T15:09:08.000Z | weight.py | ggoh29/Checkers-AI | b3543a8464aff983c6cecb442fe8bab036426579 | [
"MIT"
] | null | null | null | weight.py | ggoh29/Checkers-AI | b3543a8464aff983c6cecb442fe8bab036426579 | [
"MIT"
] | null | null | null | weights = [[[-233.10916985130171, -132.02809178499916, -133.97809820826203, -6.439078484448004, 91.78401106281984, 203.35283098941278, 221.1208647487615, 186.57900165803895, 142.15480658486774, 94.13831558666118, 76.33931569006049, 65.23096543325813, 56.55695882555967, 20.29009953465111, 14.078977818934154, 3.170488773... | 7,401.666667 | 13,234 | 0.817699 | 2,203 | 22,205 | 8.241943 | 0.548343 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.86023 | 0.049809 | 22,205 | 3 | 13,235 | 7,401.666667 | 0.000332 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6ec9ef49ca3ed6c0ee3215a82bab7fbf67cab6e0 | 3,258 | py | Python | user_activities/serializers.py | chopdgd/django-user-activities | fbd950e3d72675f5bedf26a95541907f89c6759a | [
"MIT"
] | 1 | 2018-03-07T09:35:47.000Z | 2018-03-07T09:35:47.000Z | user_activities/serializers.py | chopdgd/django-user-activities | fbd950e3d72675f5bedf26a95541907f89c6759a | [
"MIT"
] | 200 | 2017-12-29T15:02:16.000Z | 2022-03-28T14:48:19.000Z | user_activities/serializers.py | chopdgd/django-user-activities | fbd950e3d72675f5bedf26a95541907f89c6759a | [
"MIT"
] | 1 | 2021-05-26T12:00:13.000Z | 2021-05-26T12:00:13.000Z | # -*- coding: utf-8 -*-
from django.contrib.auth import get_user_model
from django.contrib.contenttypes.models import ContentType
from genomix.fields import ContentRelatedField, DisplayChoiceField, UserRelatedField
from rest_framework import serializers
from . import choices, fields, models
class ActivitySerializer... | 32.58 | 84 | 0.66237 | 312 | 3,258 | 6.820513 | 0.208333 | 0.051692 | 0.039474 | 0.109962 | 0.794643 | 0.768327 | 0.768327 | 0.768327 | 0.74765 | 0.68609 | 0 | 0.000392 | 0.217925 | 3,258 | 99 | 85 | 32.909091 | 0.834772 | 0.116943 | 0 | 0.681818 | 0 | 0 | 0.100843 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.075758 | 0 | 0.484848 | 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 |
6edcf3dd7b103431b5d15e5f8f8593ad9853f95b | 155 | py | Python | src/kgmk/ds/gen/models/base.py | kagemeka/python | 486ce39d97360b61029527bacf00a87fdbcf552c | [
"MIT"
] | null | null | null | src/kgmk/ds/gen/models/base.py | kagemeka/python | 486ce39d97360b61029527bacf00a87fdbcf552c | [
"MIT"
] | null | null | null | src/kgmk/ds/gen/models/base.py | kagemeka/python | 486ce39d97360b61029527bacf00a87fdbcf552c | [
"MIT"
] | null | null | null | from abc import ABCMeta, abstractmethod
import dataclasses
@dataclasses.dataclass
class Base(metaclass=ABCMeta):
...
# print(BaseModel.__name__)
| 15.5 | 39 | 0.76129 | 16 | 155 | 7.125 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148387 | 155 | 9 | 40 | 17.222222 | 0.863636 | 0.16129 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
6eec89724f3254cfc4cfbaa7d7e5dde541687a24 | 34 | py | Python | jupyterlabpymolpysnips/Selection/selectName.py | MooersLab/pymolpysnips | 50a89c85adf8006d85c1d6cd3f8aad7e440a0b92 | [
"MIT"
] | null | null | null | jupyterlabpymolpysnips/Selection/selectName.py | MooersLab/pymolpysnips | 50a89c85adf8006d85c1d6cd3f8aad7e440a0b92 | [
"MIT"
] | null | null | null | jupyterlabpymolpysnips/Selection/selectName.py | MooersLab/pymolpysnips | 50a89c85adf8006d85c1d6cd3f8aad7e440a0b92 | [
"MIT"
] | null | null | null | cmd.do('select oxygen2, name O2')
| 17 | 33 | 0.705882 | 6 | 34 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 0.117647 | 34 | 1 | 34 | 34 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0.676471 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6eee451f586b7af3cbe1368c6ae1d0e74e19842f | 87 | py | Python | pytorch/projects/datasets/__init__.py | enpelonio/O-CNN | eb3484d2d708c5111c67cfe9d5759db0b95c4eb7 | [
"MIT"
] | 299 | 2019-05-27T02:18:56.000Z | 2022-03-31T15:29:20.000Z | pytorch/projects/datasets/__init__.py | enpelonio/O-CNN | eb3484d2d708c5111c67cfe9d5759db0b95c4eb7 | [
"MIT"
] | 100 | 2019-05-07T03:17:01.000Z | 2022-03-30T09:02:04.000Z | pytorch/projects/datasets/__init__.py | enpelonio/O-CNN | eb3484d2d708c5111c67cfe9d5759db0b95c4eb7 | [
"MIT"
] | 84 | 2019-05-17T17:44:06.000Z | 2022-02-14T04:32:02.000Z | from .scannet import get_scannet_dataset
from .completion import get_completion_dataset | 43.5 | 46 | 0.896552 | 12 | 87 | 6.166667 | 0.5 | 0.243243 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08046 | 87 | 2 | 46 | 43.5 | 0.925 | 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 |
42d309ecb8fd3b57548ba98df10afffa4299f639 | 384 | py | Python | tests/test_builder.py | cyraxjoe/pypfop | 7cb716f33a591878825ab8f2757f3bebd24ebc08 | [
"Apache-2.0"
] | 9 | 2015-03-11T07:42:50.000Z | 2021-12-08T12:32:39.000Z | tests/test_builder.py | cyraxjoe/pypfop | 7cb716f33a591878825ab8f2757f3bebd24ebc08 | [
"Apache-2.0"
] | null | null | null | tests/test_builder.py | cyraxjoe/pypfop | 7cb716f33a591878825ab8f2757f3bebd24ebc08 | [
"Apache-2.0"
] | 5 | 2019-06-05T17:22:28.000Z | 2021-11-12T01:45:19.000Z | import unittest
class TestBaseBuilder(unittest.TestCase):
def test_get_timefile(self):
pass
def test_not_implemented_call(self):
pass
class TestSubProcessBuilder(unittest.TestCase):
def test_call(self):
pass
class TestFopsBuilder(unittest.TestCase):
def test_no_auth_call(... | 16 | 47 | 0.690104 | 45 | 384 | 5.644444 | 0.4 | 0.137795 | 0.188976 | 0.271654 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.239583 | 384 | 23 | 48 | 16.695652 | 0.869863 | 0 | 0 | 0.357143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.357143 | false | 0.357143 | 0.071429 | 0 | 0.642857 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
42e49748c4eb13021958218609f5a83326dfb773 | 5,342 | py | Python | azblobexplorer/base.py | akshaybabloo/azure-blob-explorer-python | ef28e8ac44984629276001803b763855ffd9209e | [
"MIT"
] | null | null | null | azblobexplorer/base.py | akshaybabloo/azure-blob-explorer-python | ef28e8ac44984629276001803b763855ffd9209e | [
"MIT"
] | 23 | 2019-05-06T07:10:27.000Z | 2021-06-25T15:19:06.000Z | azblobexplorer/base.py | akshaybabloo/azure-blob-explorer-python | ef28e8ac44984629276001803b763855ffd9209e | [
"MIT"
] | 1 | 2019-06-10T23:56:47.000Z | 2019-06-10T23:56:47.000Z | from datetime import timedelta, datetime
from azure.storage.blob import BlobServiceClient, BlobSasPermissions, generate_blob_sas
class BlobBase:
"""
.. versionadded:: 2.0
"""
def __init__(self, account_name: str, account_key: str, container_name: str):
"""
:param str account_name:
... | 36.340136 | 180 | 0.606702 | 624 | 5,342 | 5.065705 | 0.190705 | 0.037963 | 0.048719 | 0.063271 | 0.712749 | 0.712749 | 0.712749 | 0.712749 | 0.696299 | 0.637457 | 0 | 0.022228 | 0.292587 | 5,342 | 146 | 181 | 36.589041 | 0.814237 | 0.471172 | 0 | 0.511628 | 1 | 0.023256 | 0.054264 | 0.053402 | 0 | 0 | 0 | 0 | 0 | 1 | 0.069767 | false | 0 | 0.046512 | 0 | 0.232558 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
42fe723f0c87e0f37d604eb8a80f15671c29d4fc | 179 | py | Python | www/landing/views.py | mattvenn/cursivedata | 43e43263bef6f01698166d87bcff00b246957277 | [
"CC-BY-4.0"
] | 1 | 2015-12-31T01:46:09.000Z | 2015-12-31T01:46:09.000Z | www/landing/views.py | mattvenn/cursivedata | 43e43263bef6f01698166d87bcff00b246957277 | [
"CC-BY-4.0"
] | 5 | 2015-04-06T19:15:15.000Z | 2015-07-25T21:45:16.000Z | www/landing/views.py | mattvenn/cursivedata | 43e43263bef6f01698166d87bcff00b246957277 | [
"CC-BY-4.0"
] | null | null | null |
from django.contrib.auth.decorators import login_required
from django.shortcuts import redirect
@login_required
def landing(requests):
return redirect('cursivedata:index')
| 19.888889 | 57 | 0.815642 | 22 | 179 | 6.545455 | 0.727273 | 0.138889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111732 | 179 | 8 | 58 | 22.375 | 0.90566 | 0 | 0 | 0 | 0 | 0 | 0.095506 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
6e0697bfcd6b6e12f244a2dc31b34b81d44a95c9 | 99 | py | Python | hyp3lib/util.py | lidar-nevermore/hyp3-lib | bfb2487b6cbc0029eb689bc059890e71b7f60d3c | [
"BSD-3-Clause"
] | 4 | 2020-07-16T18:29:57.000Z | 2021-11-23T00:35:50.000Z | hyp3lib/util.py | lidar-nevermore/hyp3-lib | bfb2487b6cbc0029eb689bc059890e71b7f60d3c | [
"BSD-3-Clause"
] | 16 | 2020-07-13T23:55:09.000Z | 2022-03-23T08:05:10.000Z | hyp3lib/util.py | lidar-nevermore/hyp3-lib | bfb2487b6cbc0029eb689bc059890e71b7f60d3c | [
"BSD-3-Clause"
] | 7 | 2020-07-13T23:28:43.000Z | 2022-03-19T13:39:14.000Z | """Small utility functions"""
def string_is_true(s: str) -> bool:
return s.lower() == 'true'
| 16.5 | 35 | 0.626263 | 14 | 99 | 4.285714 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 99 | 5 | 36 | 19.8 | 0.740741 | 0.232323 | 0 | 0 | 0 | 0 | 0.057143 | 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 |
6e0bebb54e4327e9e6434bf685f59bb33749f95e | 688 | py | Python | utils/errors.py | YangWanjun/areaparking | b08bc9b8f8d5f602d823115263b9d040edb9f245 | [
"Apache-2.0"
] | 1 | 2018-08-02T04:00:44.000Z | 2018-08-02T04:00:44.000Z | utils/errors.py | YangWanjun/areaparking | b08bc9b8f8d5f602d823115263b9d040edb9f245 | [
"Apache-2.0"
] | null | null | null | utils/errors.py | YangWanjun/areaparking | b08bc9b8f8d5f602d823115263b9d040edb9f245 | [
"Apache-2.0"
] | null | null | null | # coding: UTF-8
class MyBaseException(Exception):
def __init__(self, message):
self.message = message
class FileNotExistException(MyBaseException):
def __init__(self, message=""):
MyBaseException.__init__(self, message)
class SettingException(MyBaseException):
"""
設定はしてない場合、または設定間違... | 21.5 | 50 | 0.707849 | 59 | 688 | 7.644068 | 0.271186 | 0.243902 | 0.299335 | 0.199557 | 0.558758 | 0.558758 | 0.558758 | 0.558758 | 0.558758 | 0.301552 | 0 | 0.001779 | 0.18314 | 688 | 31 | 51 | 22.193548 | 0.800712 | 0.061047 | 0 | 0.533333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 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 |
6e14545eefdd4041a01a56f9630738dc4622e845 | 40 | py | Python | astoria/managers/__init__.py | sedders123/astoria | d1e9603b10d765aed4c1237e79b5ab48a9af1d83 | [
"MIT"
] | 1 | 2021-02-03T02:54:54.000Z | 2021-02-03T02:54:54.000Z | astoria/managers/__init__.py | sedders123/astoria | d1e9603b10d765aed4c1237e79b5ab48a9af1d83 | [
"MIT"
] | 72 | 2020-12-15T18:29:18.000Z | 2022-03-08T09:42:53.000Z | astoria/managers/__init__.py | sedders123/astoria | d1e9603b10d765aed4c1237e79b5ab48a9af1d83 | [
"MIT"
] | 2 | 2022-02-05T23:00:51.000Z | 2022-03-09T21:40:49.000Z | """Executable components of Astoria."""
| 20 | 39 | 0.725 | 4 | 40 | 7.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 1 | 40 | 40 | 0.805556 | 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 |
6e360284353bd2a6d21e27991043a052889b2ae7 | 97 | py | Python | app/auth/__init__.py | NarayanAdithya/Portfolio2.0 | 691acbac1ad4220cb67c5e07a80bd401421f00d3 | [
"MIT"
] | null | null | null | app/auth/__init__.py | NarayanAdithya/Portfolio2.0 | 691acbac1ad4220cb67c5e07a80bd401421f00d3 | [
"MIT"
] | null | null | null | app/auth/__init__.py | NarayanAdithya/Portfolio2.0 | 691acbac1ad4220cb67c5e07a80bd401421f00d3 | [
"MIT"
] | null | null | null | from flask import Blueprint
auth = Blueprint('auth', __name__)
from . import routes, models
| 12.125 | 34 | 0.731959 | 12 | 97 | 5.583333 | 0.666667 | 0.38806 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185567 | 97 | 7 | 35 | 13.857143 | 0.848101 | 0 | 0 | 0 | 0 | 0 | 0.042105 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
28103959ca12a6b1be45c0272c4bb6596d0e6bdd | 439 | py | Python | openpecha/core/ids.py | ta4tsering/openpecha-toolkit | ff24b4813fb8146a4327e746e4024890b6807bea | [
"Apache-2.0"
] | 1 | 2021-12-08T04:47:40.000Z | 2021-12-08T04:47:40.000Z | openpecha/core/ids.py | ta4tsering/openpecha-toolkit | ff24b4813fb8146a4327e746e4024890b6807bea | [
"Apache-2.0"
] | 38 | 2019-11-12T10:49:25.000Z | 2021-04-07T12:10:24.000Z | openpecha/core/ids.py | ta4tsering/openpecha-toolkit | ff24b4813fb8146a4327e746e4024890b6807bea | [
"Apache-2.0"
] | 6 | 2019-11-14T12:30:35.000Z | 2020-05-12T01:50:13.000Z | import random
from uuid import uuid4
def get_uuid():
return uuid4().hex
def get_id(prefix, length):
return prefix + "".join(random.choices(uuid4().hex, k=length)).upper()
def get_pecha_id():
return get_id(prefix="P", length=8)
def get_work_id():
return get_id(prefix="W", length=8)
def get_alig... | 16.259259 | 74 | 0.678815 | 71 | 439 | 4 | 0.352113 | 0.126761 | 0.193662 | 0.183099 | 0.267606 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019178 | 0.168565 | 439 | 26 | 75 | 16.884615 | 0.758904 | 0 | 0 | 0 | 0 | 0 | 0.009112 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0.142857 | 0.428571 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
2815f413e2c49f703e6d4bc1cbc80f06f3f4c9e9 | 7,488 | py | Python | savings_rules.py | davidjohnoliver/IncomeForecast | f638a16a3bccb576f7977f9ea3fc08047c96ecce | [
"MIT"
] | null | null | null | savings_rules.py | davidjohnoliver/IncomeForecast | f638a16a3bccb576f7977f9ea3fc08047c96ecce | [
"MIT"
] | null | null | null | savings_rules.py | davidjohnoliver/IncomeForecast | f638a16a3bccb576f7977f9ea3fc08047c96ecce | [
"MIT"
] | null | null | null | import model
from typing import Callable
def get_simple_linear(initial_rrsp: float, final_rrsp: float, initial_year: int, career_length_yrs: int):
"""
Sets the split between RRSP and TFSA as a linear function of time.
s[y] = a + b*(y - y_0), where s = RRSP allotment (normalized), a = initial_rrsp (normali... | 54.26087 | 198 | 0.713942 | 1,027 | 7,488 | 4.963973 | 0.148004 | 0.043154 | 0.023539 | 0.034523 | 0.781483 | 0.776775 | 0.770498 | 0.743821 | 0.714594 | 0.694978 | 0 | 0.005785 | 0.215144 | 7,488 | 137 | 199 | 54.656934 | 0.861664 | 0.301816 | 0 | 0.479452 | 0 | 0.041096 | 0.140873 | 0.047153 | 0 | 0 | 0 | 0 | 0.013699 | 1 | 0.123288 | false | 0 | 0.027397 | 0 | 0.273973 | 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 |
2825fd3e57f5c2a7e5902ace5215131e649760b5 | 129 | py | Python | AutoWatch/home/forms.py | openInfra-project/AutoWatch-Manage-Server | b33af2edb673e3607a57209211e910a1055c21fb | [
"MIT"
] | null | null | null | AutoWatch/home/forms.py | openInfra-project/AutoWatch-Manage-Server | b33af2edb673e3607a57209211e910a1055c21fb | [
"MIT"
] | 2 | 2021-07-05T13:10:26.000Z | 2021-07-05T13:46:43.000Z | AutoWatch/home/forms.py | openInfra-project/AutoWatch-Mange-Server | b33af2edb673e3607a57209211e910a1055c21fb | [
"MIT"
] | null | null | null | from django import forms
class Login(forms.Form):
username = forms.CharField(max_length=32)
password = forms.CharField() | 25.8 | 45 | 0.744186 | 17 | 129 | 5.588235 | 0.764706 | 0.294737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018349 | 0.155039 | 129 | 5 | 46 | 25.8 | 0.853211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.25 | 0.25 | 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 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
28990948c87d032adcfe09cf8753b67bbc36ab1f | 179 | py | Python | indextest.py | title848/ALPR | 001d13ce552b4bdaf7773a2948bba91b05d9cd71 | [
"Unlicense"
] | 1 | 2022-02-03T16:29:16.000Z | 2022-02-03T16:29:16.000Z | indextest.py | title848/ALPR | 001d13ce552b4bdaf7773a2948bba91b05d9cd71 | [
"Unlicense"
] | null | null | null | indextest.py | title848/ALPR | 001d13ce552b4bdaf7773a2948bba91b05d9cd71 | [
"Unlicense"
] | null | null | null | a = [100,2,1,3,5,200,300,400,2,3,0,1,23,24,56,30,500,20,1000,3000]
#print(a.index(max(a)))
b = []
for i in range(0,9):
b.append(a.index(max(a)))
a[a.index(max(a))] = 0
print(b) | 25.571429 | 66 | 0.592179 | 47 | 179 | 2.255319 | 0.595745 | 0.169811 | 0.254717 | 0.283019 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.273292 | 0.100559 | 179 | 7 | 67 | 25.571429 | 0.385093 | 0.122905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.166667 | 0 | 0 | 0 | null | 0 | 1 | 1 | 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 |
958411bf1e36a57f4010dd6f5504ebf12ee2f498 | 79 | py | Python | aiortp/__init__.py | vodik/aiortp | 7dcce55dfe2d86735a46d071e2059483957a85cc | [
"Apache-2.0"
] | 6 | 2018-06-13T14:32:25.000Z | 2021-07-08T22:46:39.000Z | aiortp/__init__.py | vodik/aiortp | 7dcce55dfe2d86735a46d071e2059483957a85cc | [
"Apache-2.0"
] | 3 | 2017-08-25T19:41:27.000Z | 2019-11-20T22:31:54.000Z | aiortp/__init__.py | vodik/aiortp | 7dcce55dfe2d86735a46d071e2059483957a85cc | [
"Apache-2.0"
] | 5 | 2017-08-25T19:32:13.000Z | 2020-09-04T10:33:44.000Z | from .scheduler import RTPScheduler
from .sources import AudioFile, DTMF, Tone
| 26.333333 | 42 | 0.822785 | 10 | 79 | 6.5 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126582 | 79 | 2 | 43 | 39.5 | 0.942029 | 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 |
9586931d00c7587a10771baa1f1242158fe50406 | 52 | py | Python | CondCore/ESSources/python/CondDBESSource_condDBv2_cfi.py | gputtley/cmssw | c1ef8454804e4ebea8b65f59c4a952a6c94fde3b | [
"Apache-2.0"
] | 6 | 2017-09-08T14:12:56.000Z | 2022-03-09T23:57:01.000Z | CondCore/ESSources/python/CondDBESSource_condDBv2_cfi.py | gputtley/cmssw | c1ef8454804e4ebea8b65f59c4a952a6c94fde3b | [
"Apache-2.0"
] | 545 | 2017-09-19T17:10:19.000Z | 2022-03-07T16:55:27.000Z | CondCore/ESSources/python/CondDBESSource_condDBv2_cfi.py | gputtley/cmssw | c1ef8454804e4ebea8b65f59c4a952a6c94fde3b | [
"Apache-2.0"
] | 14 | 2017-10-04T09:47:21.000Z | 2019-10-23T18:04:45.000Z | from CondCore.ESSources.CondDBESSource_cfi import *
| 26 | 51 | 0.865385 | 6 | 52 | 7.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 52 | 1 | 52 | 52 | 0.916667 | 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 |
9592f49a86b27d73ffe468d2c60aba1409816a3c | 203 | py | Python | API/apis/institutions.py | CASDON-MYSTERY/studentapp | 0fd942e963a10a02a6c9f358dd362cfd646eecc3 | [
"MIT"
] | null | null | null | API/apis/institutions.py | CASDON-MYSTERY/studentapp | 0fd942e963a10a02a6c9f358dd362cfd646eecc3 | [
"MIT"
] | null | null | null | API/apis/institutions.py | CASDON-MYSTERY/studentapp | 0fd942e963a10a02a6c9f358dd362cfd646eecc3 | [
"MIT"
] | null | null | null | from institutions.serializers import Institution_Serializer
from institutions.models import Institution
from rest_framework import permissions,generics,status
from rest_framework.response import Response | 50.75 | 59 | 0.901478 | 24 | 203 | 7.5 | 0.541667 | 0.177778 | 0.188889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073892 | 203 | 4 | 60 | 50.75 | 0.957447 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
9599c4f2f00b812c99c43f927279898069757c15 | 2,328 | py | Python | redes/views.py | arthurcordeiro/redes-sociais-cd | 1764fb34a71ef25b8c4d0859ec9208e7ab07a6ff | [
"MIT"
] | null | null | null | redes/views.py | arthurcordeiro/redes-sociais-cd | 1764fb34a71ef25b8c4d0859ec9208e7ab07a6ff | [
"MIT"
] | null | null | null | redes/views.py | arthurcordeiro/redes-sociais-cd | 1764fb34a71ef25b8c4d0859ec9208e7ab07a6ff | [
"MIT"
] | null | null | null | from django.shortcuts import render
from django.http import HttpResponse,JsonResponse
import csv
import json
from django.views.generic import TemplateView
class TwitterView(TemplateView):
template_name = "pages/twitter.html"
def get_context_data(self, **kwargs):
final_array = []
with open(... | 45.647059 | 104 | 0.478522 | 199 | 2,328 | 5.517588 | 0.301508 | 0.076503 | 0.054645 | 0.076503 | 0.781421 | 0.781421 | 0.781421 | 0.781421 | 0.781421 | 0.781421 | 0 | 0 | 0.3939 | 2,328 | 51 | 105 | 45.647059 | 0.778172 | 0 | 0 | 0.666667 | 0 | 0 | 0.242593 | 0.036926 | 0 | 0 | 0 | 0 | 0 | 1 | 0.044444 | false | 0 | 0.111111 | 0 | 0.288889 | 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 |
95f916a0d2f23768a5613ddf564dc02ba2c599ac | 478 | py | Python | ggit_platform/admin.py | girlsgoit/GirlsGoIT | 447cd15c44ebee4af9e942a079d681be8683239f | [
"MIT"
] | 1 | 2019-02-27T21:20:54.000Z | 2019-02-27T21:20:54.000Z | ggit_platform/admin.py | girlsgoit/GirlsGoIT | 447cd15c44ebee4af9e942a079d681be8683239f | [
"MIT"
] | null | null | null | ggit_platform/admin.py | girlsgoit/GirlsGoIT | 447cd15c44ebee4af9e942a079d681be8683239f | [
"MIT"
] | null | null | null | from django.contrib import admin
from markdownx.admin import MarkdownxModelAdmin
from .models import Event
from .models import Member
from .models import MemberRole
from .models import Region
from .models import Story
from .models import Track
admin.site.register(Track, MarkdownxModelAdmin)
admin.site.register(Region... | 28.117647 | 47 | 0.83682 | 61 | 478 | 6.557377 | 0.262295 | 0.15 | 0.24 | 0.18 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089958 | 478 | 16 | 48 | 29.875 | 0.91954 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.571429 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
250ea4e03b8b1268b9a90d4402788970e95adcac | 92 | py | Python | models/segmentation/unet_pre_trained_contrastive/__init__.py | neurips2021vat/Variance-Aware-Training | 2dcd017ef06e81e299448bdd9da65fa682835127 | [
"BSD-2-Clause"
] | null | null | null | models/segmentation/unet_pre_trained_contrastive/__init__.py | neurips2021vat/Variance-Aware-Training | 2dcd017ef06e81e299448bdd9da65fa682835127 | [
"BSD-2-Clause"
] | null | null | null | models/segmentation/unet_pre_trained_contrastive/__init__.py | neurips2021vat/Variance-Aware-Training | 2dcd017ef06e81e299448bdd9da65fa682835127 | [
"BSD-2-Clause"
] | null | null | null | from models.segmentation.unet_pre_trained_contrastive.model import Model # pyflakes.ignore
| 46 | 91 | 0.869565 | 12 | 92 | 6.416667 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076087 | 92 | 1 | 92 | 92 | 0.905882 | 0.163043 | 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 |
25124e86c291383341b9cd07b20408f005edb9b6 | 35,719 | py | Python | tests/test_op_env.py | apiology/op-env | 8707f26c65e98c1739a97a0e358574d77144594a | [
"MIT"
] | 11 | 2021-02-03T14:50:47.000Z | 2021-11-09T15:23:40.000Z | tests/test_op_env.py | apiology/op-env | 8707f26c65e98c1739a97a0e358574d77144594a | [
"MIT"
] | 2 | 2021-12-14T19:06:56.000Z | 2022-01-15T16:35:30.000Z | tests/test_op_env.py | apiology/op_env | 84269db5ca58801bff3ea4f0ab56b6ac74132806 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
"""Tests for `op_env` package."""
import argparse
import io
import json
import os
import subprocess
import sys
import tempfile
from typing import Dict
from unittest.mock import ANY, call, patch
import pytest
import yaml
import op_env
from op_env._cli import Arguments, main, parse_argv, proces... | 37.207292 | 116 | 0.60906 | 4,338 | 35,719 | 4.685108 | 0.073306 | 0.030506 | 0.025487 | 0.04015 | 0.81298 | 0.795808 | 0.771797 | 0.711917 | 0.672407 | 0.644361 | 0 | 0.008277 | 0.252443 | 35,719 | 959 | 117 | 37.24609 | 0.752865 | 0.010191 | 0 | 0.512821 | 0 | 0.030769 | 0.250672 | 0.021109 | 0 | 0 | 0 | 0 | 0.103846 | 1 | 0.094872 | false | 0.034615 | 0.017949 | 0.001282 | 0.114103 | 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 |
2524be1909041d3ceab5fccae4740147d447c279 | 897 | py | Python | yqml/query.py | maztohir/YQML | 6e5eb06f2869a7309614120cc56ac04f5a689c9f | [
"MIT"
] | 2 | 2021-03-11T16:44:02.000Z | 2021-04-17T17:57:38.000Z | yqml/query.py | maztohir/yqml | 6e5eb06f2869a7309614120cc56ac04f5a689c9f | [
"MIT"
] | null | null | null | yqml/query.py | maztohir/yqml | 6e5eb06f2869a7309614120cc56ac04f5a689c9f | [
"MIT"
] | null | null | null | from .keys import Keys
from .select import Select
# from .cte import Cte
class Query:
def is_key_exist(self, key):
return self._content.get(key) != None
def is_key_not_exist(self, key):
return self._content.get(key) == None
def __init__(self, dict):
self._content = dict
def ... | 20.386364 | 81 | 0.60981 | 127 | 897 | 4.031496 | 0.259843 | 0.087891 | 0.085938 | 0.101563 | 0.291016 | 0.164063 | 0.164063 | 0.164063 | 0.164063 | 0.164063 | 0 | 0 | 0.292085 | 897 | 44 | 82 | 20.386364 | 0.806299 | 0.081382 | 0 | 0.192308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022727 | 0 | 1 | 0.423077 | false | 0.192308 | 0.076923 | 0.153846 | 0.730769 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 5 |
255ea5e43e5739e9c05b188a138f55d580b44bf6 | 159 | py | Python | pubclouds/boxdotnet/__init__.py | mk-fg/tahoe-lafs-public-clouds | 84e61e1742db08f1868e09a6ec77b762d41f85c2 | [
"WTFPL"
] | 21 | 2015-01-23T04:39:54.000Z | 2020-04-07T17:39:55.000Z | pubclouds/boxdotnet/__init__.py | mk-fg/tahoe-lafs-public-clouds | 84e61e1742db08f1868e09a6ec77b762d41f85c2 | [
"WTFPL"
] | null | null | null | pubclouds/boxdotnet/__init__.py | mk-fg/tahoe-lafs-public-clouds | 84e61e1742db08f1868e09a6ec77b762d41f85c2 | [
"WTFPL"
] | 2 | 2020-06-29T15:56:51.000Z | 2021-08-21T07:28:37.000Z |
from allmydata.storage.backends.cloud.boxdotnet.boxdotnet_container import configure_boxdotnet_container
configure_container = configure_boxdotnet_container
| 31.8 | 104 | 0.90566 | 17 | 159 | 8.117647 | 0.529412 | 0.391304 | 0.391304 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056604 | 159 | 4 | 105 | 39.75 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 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 |
25701013945952de391bb3dfde43c5dc5c3eb57d | 16 | py | Python | yusheng_project/hongpeng.py | YoungRainy/HY_coorprate | 89661ad737863fd2b65cb8731f5c613e0ed13b99 | [
"MIT"
] | null | null | null | yusheng_project/hongpeng.py | YoungRainy/HY_coorprate | 89661ad737863fd2b65cb8731f5c613e0ed13b99 | [
"MIT"
] | null | null | null | yusheng_project/hongpeng.py | YoungRainy/HY_coorprate | 89661ad737863fd2b65cb8731f5c613e0ed13b99 | [
"MIT"
] | null | null | null | print('change')
| 8 | 15 | 0.6875 | 2 | 16 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 16 | 1 | 16 | 16 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0.375 | 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 |
c280616465d95168642cbfd7c62f5977ca85e5ca | 139 | py | Python | Chapter 01/args1_3_4.py | bpbpublications/Advance-Core-Python-Programming | 8902ceb270f55c04c12e818032f90d641c14d7b1 | [
"MIT"
] | null | null | null | Chapter 01/args1_3_4.py | bpbpublications/Advance-Core-Python-Programming | 8902ceb270f55c04c12e818032f90d641c14d7b1 | [
"MIT"
] | null | null | null | Chapter 01/args1_3_4.py | bpbpublications/Advance-Core-Python-Programming | 8902ceb270f55c04c12e818032f90d641c14d7b1 | [
"MIT"
] | null | null | null | def sum_func(a, *args):
s = a+sum(args)
print(s)
sum_func(10)
sum_func(10,20)
sum_func(10,20,30)
sum_func(10, 20, 30, 40)
| 15.444444 | 25 | 0.597122 | 29 | 139 | 2.689655 | 0.37931 | 0.448718 | 0.461538 | 0.423077 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185185 | 0.223022 | 139 | 8 | 26 | 17.375 | 0.537037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0 | 0 | 0.142857 | 0.142857 | 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 |
c2a7b17ddb340f97a6871c4b2be062094d2f54ea | 87 | py | Python | sms_verification_android/__init__.py | atbaker/sms-verification-android-python | a88212611b6c2956a6869b7b1152813e2c5c0eca | [
"MIT"
] | 2 | 2019-02-04T05:01:37.000Z | 2019-12-04T11:36:44.000Z | sms_verification_android/__init__.py | atbaker/sms-verification-android-python | a88212611b6c2956a6869b7b1152813e2c5c0eca | [
"MIT"
] | 67 | 2019-08-22T07:37:48.000Z | 2021-12-31T18:30:10.000Z | sms_verification_android/__init__.py | atbaker/sms-verification-android-python | a88212611b6c2956a6869b7b1152813e2c5c0eca | [
"MIT"
] | null | null | null | from .sms_verification_android import app, setup_app
from .sms_verify import SMSVerify
| 29 | 52 | 0.862069 | 13 | 87 | 5.461538 | 0.692308 | 0.197183 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 87 | 2 | 53 | 43.5 | 0.910256 | 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 |
c2c932aff6edc3d0ed6f69b6736cca7e2f4cd32c | 46 | py | Python | app/load_report_service/load_report_exception.py | harvard-lts/drs-translation-service | 8b448422c460c735860d3a64cf2ddc01f6e16eb3 | [
"Apache-2.0"
] | null | null | null | app/load_report_service/load_report_exception.py | harvard-lts/drs-translation-service | 8b448422c460c735860d3a64cf2ddc01f6e16eb3 | [
"Apache-2.0"
] | 3 | 2022-03-21T23:40:33.000Z | 2022-03-28T01:35:01.000Z | app/load_report_service/load_report_exception.py | harvard-lts/drs-translation-service | 8b448422c460c735860d3a64cf2ddc01f6e16eb3 | [
"Apache-2.0"
] | null | null | null | class LoadReportException(Exception):
pass | 23 | 37 | 0.804348 | 4 | 46 | 9.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 46 | 2 | 38 | 23 | 0.925 | 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 |
6c4ec598bc27b4ba8689ce406bd6e1dadb1cb380 | 111 | py | Python | myproject/__init__.py | charleyjoo/myproject | e0b04156e0148cf8c86768c73f66fa6b5795c0d4 | [
"BSD-2-Clause"
] | null | null | null | myproject/__init__.py | charleyjoo/myproject | e0b04156e0148cf8c86768c73f66fa6b5795c0d4 | [
"BSD-2-Clause"
] | null | null | null | myproject/__init__.py | charleyjoo/myproject | e0b04156e0148cf8c86768c73f66fa6b5795c0d4 | [
"BSD-2-Clause"
] | null | null | null | print("Hello from __init__.py")
from . import pronto_utils
from . import basic_utils
from .constant import pi
| 18.5 | 31 | 0.783784 | 17 | 111 | 4.764706 | 0.647059 | 0.246914 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144144 | 111 | 5 | 32 | 22.2 | 0.852632 | 0 | 0 | 0 | 0 | 0 | 0.198198 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0.25 | 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 |
6682a3366c2e60c1b79a821bbc17b957edb533cb | 3,102 | py | Python | tests/unit/crs/test_cr_wait_container_build.py | guvenbz/amazon-s3-find-and-forget | 398f7d86d38068c8a9d77ddc9183758946c9dbe4 | [
"Apache-2.0"
] | 165 | 2020-05-29T08:12:17.000Z | 2022-03-30T22:35:57.000Z | tests/unit/crs/test_cr_wait_container_build.py | guvenbz/amazon-s3-find-and-forget | 398f7d86d38068c8a9d77ddc9183758946c9dbe4 | [
"Apache-2.0"
] | 101 | 2020-06-24T12:59:49.000Z | 2022-03-28T13:32:15.000Z | tests/unit/crs/test_cr_wait_container_build.py | guvenbz/amazon-s3-find-and-forget | 398f7d86d38068c8a9d77ddc9183758946c9dbe4 | [
"Apache-2.0"
] | 23 | 2020-06-18T10:53:49.000Z | 2022-03-29T03:38:04.000Z | from datetime import datetime, timezone
import boto3
import pytest
from mock import patch, MagicMock, Mock
from backend.lambdas.custom_resources.wait_container_build import create, poll, handler
pytestmark = [pytest.mark.unit, pytest.mark.task]
@patch("backend.lambdas.custom_resources.wait_container_build.s3_client... | 33 | 87 | 0.704707 | 372 | 3,102 | 5.572581 | 0.244624 | 0.043415 | 0.077183 | 0.111915 | 0.76604 | 0.75205 | 0.75205 | 0.729378 | 0.729378 | 0.729378 | 0 | 0.030399 | 0.18343 | 3,102 | 93 | 88 | 33.354839 | 0.787998 | 0 | 0 | 0.541667 | 0 | 0 | 0.266925 | 0.171502 | 0 | 0 | 0 | 0 | 0.069444 | 1 | 0.069444 | false | 0 | 0.069444 | 0 | 0.138889 | 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 |
66956591f8800d8835ff18b4715a29cc8392c9ca | 52 | py | Python | tracker/models/recipient/__init__.py | jneuendorf/price_tracker | 9cb6878613e7af52f049ddd80a7a5ae2ae21028b | [
"MIT"
] | null | null | null | tracker/models/recipient/__init__.py | jneuendorf/price_tracker | 9cb6878613e7af52f049ddd80a7a5ae2ae21028b | [
"MIT"
] | null | null | null | tracker/models/recipient/__init__.py | jneuendorf/price_tracker | 9cb6878613e7af52f049ddd80a7a5ae2ae21028b | [
"MIT"
] | null | null | null | from .call_me_bot import CallMeBotRecipient # NOQA
| 26 | 51 | 0.826923 | 7 | 52 | 5.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134615 | 52 | 1 | 52 | 52 | 0.911111 | 0.076923 | 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 |
669f35783bb32849e8cd2d980f4a041da007c9a4 | 7,123 | py | Python | py_libgit/tests/unit/test_index.py | tony-yang/e-libgit | 589e08717ef58317b044852185b4f0748b600d96 | [
"Apache-2.0"
] | null | null | null | py_libgit/tests/unit/test_index.py | tony-yang/e-libgit | 589e08717ef58317b044852185b4f0748b600d96 | [
"Apache-2.0"
] | null | null | null | py_libgit/tests/unit/test_index.py | tony-yang/e-libgit | 589e08717ef58317b044852185b4f0748b600d96 | [
"Apache-2.0"
] | null | null | null | import unittest
from unittest.mock import MagicMock
import os, shutil
from py_libgit.core.index import Index
from py_libgit.core.index_entry import IndexEntry
from py_libgit.core.repo import Repo
import py_libgit.settings_tests
class TestIndex(unittest.TestCase):
def setUp(self):
self.repo_name = 'repote... | 48.455782 | 166 | 0.706865 | 931 | 7,123 | 5.104189 | 0.131042 | 0.045665 | 0.037037 | 0.035354 | 0.791667 | 0.738847 | 0.734428 | 0.734428 | 0.719697 | 0.699705 | 0 | 0.040717 | 0.193177 | 7,123 | 146 | 167 | 48.787671 | 0.786149 | 0 | 0 | 0.517241 | 0 | 0 | 0.154991 | 0.007581 | 0 | 0 | 0 | 0 | 0.112069 | 1 | 0.112069 | false | 0 | 0.060345 | 0 | 0.181034 | 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 |
66cde30b39505ab4b029d63a010f61217ad4b68c | 61 | py | Python | src/python/zquantum/core/wip/circuit/conversions2/pyquil_conversions.py | kottmanj/z-quantum-core | 21752e92e79aafedbfeb6e7ae196bdc2fd5803e4 | [
"Apache-2.0"
] | null | null | null | src/python/zquantum/core/wip/circuit/conversions2/pyquil_conversions.py | kottmanj/z-quantum-core | 21752e92e79aafedbfeb6e7ae196bdc2fd5803e4 | [
"Apache-2.0"
] | null | null | null | src/python/zquantum/core/wip/circuit/conversions2/pyquil_conversions.py | kottmanj/z-quantum-core | 21752e92e79aafedbfeb6e7ae196bdc2fd5803e4 | [
"Apache-2.0"
] | null | null | null | # TODO: implement zquantum<->pyquil circuit conversions here
| 30.5 | 60 | 0.803279 | 7 | 61 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114754 | 61 | 1 | 61 | 61 | 0.907407 | 0.95082 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 1 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
66d191301df195d6cfbd9af36834ee23a7cc3b94 | 81 | py | Python | lighttext/__init__.py | smilelight/lightTEXT | b015d0e3524722fb5a8ee5ea83b7fbbd7408f797 | [
"Apache-2.0"
] | 12 | 2020-01-26T09:16:21.000Z | 2021-12-06T06:44:37.000Z | lighttext/__init__.py | smilelight/lightTEXT | b015d0e3524722fb5a8ee5ea83b7fbbd7408f797 | [
"Apache-2.0"
] | null | null | null | lighttext/__init__.py | smilelight/lightTEXT | b015d0e3524722fb5a8ee5ea83b7fbbd7408f797 | [
"Apache-2.0"
] | 7 | 2020-04-30T00:37:32.000Z | 2021-07-07T06:32:40.000Z | from .component import *
from .text_mining import *
from .string_search import *
| 20.25 | 28 | 0.777778 | 11 | 81 | 5.545455 | 0.636364 | 0.327869 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 81 | 3 | 29 | 27 | 0.884058 | 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 |
dd73c5c77e1b70c89971edb931c187169b864e39 | 36 | py | Python | app/__init__.py | Raman325/broadlink-rm-rest-server | daca67d0eab9171f2e4b60b017f12d902e942389 | [
"MIT"
] | 9 | 2018-12-06T09:15:49.000Z | 2021-04-02T08:35:17.000Z | app/__init__.py | Raman325/broadlink-rm-rest-server | daca67d0eab9171f2e4b60b017f12d902e942389 | [
"MIT"
] | 6 | 2020-09-18T18:07:45.000Z | 2021-10-18T23:18:04.000Z | app/__init__.py | Raman325/broadlink-rm-rest-server | daca67d0eab9171f2e4b60b017f12d902e942389 | [
"MIT"
] | 6 | 2019-02-10T11:15:52.000Z | 2021-06-16T05:16:24.000Z | """Broadlink RM REST Server app."""
| 18 | 35 | 0.666667 | 5 | 36 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138889 | 36 | 1 | 36 | 36 | 0.774194 | 0.805556 | 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 |
06c38a770028e34cda5ce1ce4344d52aaa732b99 | 126 | py | Python | hiduu/_init_.py | patrickgagnon/HIDUU | 601669207fe4da62e0ddbffb5799197d8296267c | [
"MIT"
] | 1 | 2020-04-28T19:42:13.000Z | 2020-04-28T19:42:13.000Z | hiduu/_init_.py | patrickgagnon/HIDUU | 601669207fe4da62e0ddbffb5799197d8296267c | [
"MIT"
] | null | null | null | hiduu/_init_.py | patrickgagnon/HIDUU | 601669207fe4da62e0ddbffb5799197d8296267c | [
"MIT"
] | null | null | null | """This package is a wrapper for HealtheIntent Data Upload Utlity"""
from .hiduu import(
hiduu_upload, hiduu_upload_win
) | 25.2 | 68 | 0.761905 | 18 | 126 | 5.166667 | 0.777778 | 0.236559 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15873 | 126 | 5 | 69 | 25.2 | 0.877358 | 0.492063 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 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 |
66098498b514a881b3efeef76b2012d7f0bb8e51 | 200 | py | Python | takeyourmeds/settings/__init__.py | takeyourmeds/takeyourmeds-web | edf24188f26948902cfb69793b4d5aa3cf8b6dea | [
"MIT"
] | 11 | 2015-06-01T16:31:42.000Z | 2022-03-01T01:20:58.000Z | takeyourmeds/settings/__init__.py | takeyourmeds/takeyourmeds-web | edf24188f26948902cfb69793b4d5aa3cf8b6dea | [
"MIT"
] | 111 | 2015-07-20T13:23:16.000Z | 2017-09-08T08:17:10.000Z | takeyourmeds/settings/__init__.py | takeyourmeds/takeyourmeds-web | edf24188f26948902cfb69793b4d5aa3cf8b6dea | [
"MIT"
] | 6 | 2015-07-15T08:08:12.000Z | 2018-06-23T00:13:13.000Z | import sys
from defaults import *
if sys.argv[1:2] == ['test']:
from roles.test import *
else:
from role import *
try:
from custom import *
except ImportError:
pass
| 14.285714 | 29 | 0.595 | 26 | 200 | 4.576923 | 0.653846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014493 | 0.31 | 200 | 13 | 30 | 15.384615 | 0.847826 | 0 | 0 | 0 | 0 | 0 | 0.02 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.1 | 0.6 | 0 | 0.6 | 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 |
b09b116a64df70a6261ccdbe23b5b76f42534c3d | 23 | py | Python | vuejspython/static/__init__.py | twitwi/vuejs-python | 18ae4a8583748cbaf39e63aa5e7d97c9904257d5 | [
"MIT"
] | 18 | 2019-02-14T16:17:38.000Z | 2022-03-07T21:02:53.000Z | vuejspython/static/__init__.py | louispuyo/vuejs-python | 193672ef38dc243a8f755b123e1af0e087ae8af4 | [
"MIT"
] | null | null | null | vuejspython/static/__init__.py | louispuyo/vuejs-python | 193672ef38dc243a8f755b123e1af0e087ae8af4 | [
"MIT"
] | 4 | 2019-12-16T11:12:29.000Z | 2022-01-19T10:55:57.000Z | # to help the packager
| 11.5 | 22 | 0.73913 | 4 | 23 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 23 | 1 | 23 | 23 | 0.944444 | 0.869565 | 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 |
b0e5f7e71a2d9bf6b125e45af168757f8e4818f3 | 607 | py | Python | magpie/randoms/__init__.py | knaidoo29/magpie | efab3c2666aab2c928ca12a631758bc1b43c149c | [
"MIT"
] | null | null | null | magpie/randoms/__init__.py | knaidoo29/magpie | efab3c2666aab2c928ca12a631758bc1b43c149c | [
"MIT"
] | null | null | null | magpie/randoms/__init__.py | knaidoo29/magpie | efab3c2666aab2c928ca12a631758bc1b43c149c | [
"MIT"
] | null | null | null |
from .cart import randoms_1d
from .cart import randoms_2d
from .cart import randoms_3d
from .pdf import pdf2cdf
from .pdf import randoms_cdf
from .pdf import randoms_pdf
from .polar import randoms_polar
from .sphere import randoms_sphere_r
from .sphere import randoms_sphere
from .subsample import shuffle
from .sub... | 25.291667 | 49 | 0.850082 | 89 | 607 | 5.550562 | 0.292135 | 0.289474 | 0.192308 | 0.12753 | 0.242915 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007505 | 0.121911 | 607 | 23 | 50 | 26.391304 | 0.919325 | 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 |
9fd357ba5c6697a5f4058050966abfa847bceb3a | 256 | py | Python | motzkin/__init__.py | PermutaTriangle/motzkin | 43e01cd09cd476ffd2c87ba649cb2a27fe66772e | [
"BSD-3-Clause"
] | 1 | 2021-09-24T21:51:04.000Z | 2021-09-24T21:51:04.000Z | motzkin/__init__.py | PermutaTriangle/motzkin | 43e01cd09cd476ffd2c87ba649cb2a27fe66772e | [
"BSD-3-Clause"
] | null | null | null | motzkin/__init__.py | PermutaTriangle/motzkin | 43e01cd09cd476ffd2c87ba649cb2a27fe66772e | [
"BSD-3-Clause"
] | null | null | null | from .motzkinpaths import (
MotzkinPaths,
MotzkinPathsStartingWithH,
MotzkinPathsStartingWithU,
)
from .motzkinpatterns import CrossingPattern, MotzkinPath
from .motzkinspec import MotzkinSpecificationFinder
from .strategies import MotzkinPack
| 28.444444 | 57 | 0.832031 | 19 | 256 | 11.210526 | 0.631579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128906 | 256 | 8 | 58 | 32 | 0.955157 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
c6647028cdd98bab07d061ddea2886f804081d17 | 18,672 | py | Python | binance.py | lampshade9909/BinanceAPI | 8080203573232ffbaf9cbeeefa63ddedce093222 | [
"MIT"
] | 3 | 2018-01-04T06:11:43.000Z | 2018-04-10T13:06:51.000Z | binance.py | lampshade9909/BinanceAPI | 8080203573232ffbaf9cbeeefa63ddedce093222 | [
"MIT"
] | null | null | null | binance.py | lampshade9909/BinanceAPI | 8080203573232ffbaf9cbeeefa63ddedce093222 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
__author__ = "Joey Zacherl"
__license__ = "MIT"
__version__ = "1.0.0"
__description__ = "Binance API integration"
__email__ = "Joey.Zacherl@gmail.com"
from loggingConfig import InitLogging, PrintAndLogError, PrintAndLog
import requests
import sys, traceback
import json
import hmac
import hashlib... | 34.135283 | 209 | 0.677324 | 1,983 | 18,672 | 6.253656 | 0.1059 | 0.01645 | 0.040642 | 0.038707 | 0.759697 | 0.750746 | 0.735666 | 0.717684 | 0.701879 | 0.701879 | 0 | 0.009694 | 0.20994 | 18,672 | 546 | 210 | 34.197802 | 0.830938 | 0.191463 | 0 | 0.636086 | 0 | 0 | 0.123213 | 0.0258 | 0 | 0 | 0 | 0 | 0 | 1 | 0.097859 | false | 0 | 0.021407 | 0.012232 | 0.214067 | 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 |
c664813d57327b21a2bc101b3d73b202cd8e5783 | 74 | py | Python | cmdline/createservice.py | Esri/arcpy-server-util-rest | 198c9526f41ab742da36d0eff467475bca7da2fe | [
"Apache-2.0"
] | 10 | 2015-04-24T15:34:39.000Z | 2021-11-28T21:22:58.000Z | cmdline/createservice.py | Esri/arcpy-server-util-rest | 198c9526f41ab742da36d0eff467475bca7da2fe | [
"Apache-2.0"
] | 1 | 2016-09-08T09:02:07.000Z | 2016-09-08T17:17:41.000Z | cmdline/createservice.py | Esri/arcpy-server-util-rest | 198c9526f41ab742da36d0eff467475bca7da2fe | [
"Apache-2.0"
] | 5 | 2017-11-03T21:00:48.000Z | 2022-01-06T10:10:04.000Z | #! python
import arcrest.admin
arcrest.admin.cmdline.createservice()
| 14.8 | 38 | 0.756757 | 8 | 74 | 7 | 0.75 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135135 | 74 | 4 | 39 | 18.5 | 0.875 | 0.108108 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 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 |
c68e5d86540c5fc1f4c0a82a2c423121aed26117 | 41 | py | Python | macro/__init__.py | KyleADOlson/advanced-microkeys | d5aa2f7acffd872893c859a49e1a43ea53974b12 | [
"MIT"
] | null | null | null | macro/__init__.py | KyleADOlson/advanced-microkeys | d5aa2f7acffd872893c859a49e1a43ea53974b12 | [
"MIT"
] | null | null | null | macro/__init__.py | KyleADOlson/advanced-microkeys | d5aa2f7acffd872893c859a49e1a43ea53974b12 | [
"MIT"
] | 1 | 2022-02-25T20:14:19.000Z | 2022-02-25T20:14:19.000Z | """MicroKeys Python macro extensions"""
| 20.5 | 40 | 0.731707 | 4 | 41 | 7.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121951 | 41 | 1 | 41 | 41 | 0.833333 | 0.804878 | 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 |
c6c2674b458cc4049596f362efc8be0bf8893719 | 197 | py | Python | Reader/reader/compressed/__init__.py | sarvex/DjangoKoans | a4ba1e787dc508d1706897f26d3e91219ad5d982 | [
"0BSD"
] | null | null | null | Reader/reader/compressed/__init__.py | sarvex/DjangoKoans | a4ba1e787dc508d1706897f26d3e91219ad5d982 | [
"0BSD"
] | null | null | null | Reader/reader/compressed/__init__.py | sarvex/DjangoKoans | a4ba1e787dc508d1706897f26d3e91219ad5d982 | [
"0BSD"
] | null | null | null | __author__ = 'Sarvex'
from reader.reader.compressed.bzipped import opener as bz2_opener
from reader.reader.compressed.gzipped import opener as gzip_opener
__all__ = ['bz2_opener', 'gzip_opener']
| 28.142857 | 66 | 0.807107 | 27 | 197 | 5.444444 | 0.481481 | 0.136054 | 0.217687 | 0.353742 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011364 | 0.106599 | 197 | 6 | 67 | 32.833333 | 0.823864 | 0 | 0 | 0 | 0 | 0 | 0.137056 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
c6e458612c3780e17e64daea67f57c5eb8fd108e | 133 | py | Python | prawdziweZadania/cw3.py | Wiktor-Wewe/zadaniaDoKolosaWewe | 69519edae6b582bd81b5011871ce38f1e6a2447f | [
"MIT"
] | null | null | null | prawdziweZadania/cw3.py | Wiktor-Wewe/zadaniaDoKolosaWewe | 69519edae6b582bd81b5011871ce38f1e6a2447f | [
"MIT"
] | null | null | null | prawdziweZadania/cw3.py | Wiktor-Wewe/zadaniaDoKolosaWewe | 69519edae6b582bd81b5011871ce38f1e6a2447f | [
"MIT"
] | null | null | null | """
znajdz największy palindrom utworzony poprzez przemnożenie przez siebie dwóch liczby 3-cyfrowych
odp:906609
"""
print("906609")
| 19 | 96 | 0.789474 | 16 | 133 | 6.5625 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0.120301 | 133 | 6 | 97 | 22.166667 | 0.786325 | 0.804511 | 0 | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
059df84000bd2b57d655aa086d0db34e145f5ae9 | 116 | py | Python | lenders_sentry_utils/__init__.py | Lenders-Cooperative/sentry-utils | 20932cd767ccb52747ba6be9465fedc002991e75 | [
"BSD-3-Clause"
] | null | null | null | lenders_sentry_utils/__init__.py | Lenders-Cooperative/sentry-utils | 20932cd767ccb52747ba6be9465fedc002991e75 | [
"BSD-3-Clause"
] | null | null | null | lenders_sentry_utils/__init__.py | Lenders-Cooperative/sentry-utils | 20932cd767ccb52747ba6be9465fedc002991e75 | [
"BSD-3-Clause"
] | null | null | null | from .utils import sentry_init, protect_body, capture_exception
from .transport import TrafficSplittingHttpTransport | 58 | 63 | 0.887931 | 13 | 116 | 7.692308 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077586 | 116 | 2 | 64 | 58 | 0.934579 | 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 |
05b062e984797af5f4bafa56f8247c3385377b79 | 99 | py | Python | 20. comprension de listas.py | JSNavas/CursoPython2.7 | d1f9170dbf897b6eb729f9696a208880e33c550b | [
"MIT"
] | null | null | null | 20. comprension de listas.py | JSNavas/CursoPython2.7 | d1f9170dbf897b6eb729f9696a208880e33c550b | [
"MIT"
] | null | null | null | 20. comprension de listas.py | JSNavas/CursoPython2.7 | d1f9170dbf897b6eb729f9696a208880e33c550b | [
"MIT"
] | null | null | null | lista = [1,2,3,4,5]
lista2 = [i * 2 for i in lista]
print "Lista: ", lista
print "Lista2:",lista2 | 16.5 | 31 | 0.616162 | 19 | 99 | 3.210526 | 0.578947 | 0.327869 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1125 | 0.191919 | 99 | 6 | 32 | 16.5 | 0.65 | 0 | 0 | 0 | 0 | 0 | 0.14 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.5 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
af1bb53d43ed273b710eaec8c230a47424c252a2 | 507 | py | Python | ns-allinone-3.27/pybindgen-0.17.0.post58+ngcf00cc0/pybindgen/__init__.py | zack-braun/4607_NS | 43c8fb772e5552fb44bd7cd34173e73e3fb66537 | [
"MIT"
] | 93 | 2019-04-21T08:22:26.000Z | 2022-03-30T04:26:29.000Z | ns-allinone-3.27/pybindgen-0.17.0.post58+ngcf00cc0/pybindgen/__init__.py | zack-braun/4607_NS | 43c8fb772e5552fb44bd7cd34173e73e3fb66537 | [
"MIT"
] | 12 | 2019-04-19T16:39:58.000Z | 2021-06-22T13:18:32.000Z | ns-allinone-3.27/pybindgen-0.17.0.post58+ngcf00cc0/pybindgen/__init__.py | zack-braun/4607_NS | 43c8fb772e5552fb44bd7cd34173e73e3fb66537 | [
"MIT"
] | 21 | 2019-05-27T19:36:12.000Z | 2021-07-26T02:37:41.000Z | from pybindgen.typehandlers.base import ReturnValue, Parameter
from pybindgen.module import Module
from pybindgen.function import Function
from pybindgen.typehandlers.codesink import CodeSink, FileCodeSink
from pybindgen.cppclass import CppMethod, CppClass, CppConstructor
from pybindgen.enum import Enum
from pybindgen.... | 42.25 | 72 | 0.838264 | 65 | 507 | 6.461538 | 0.538462 | 0.247619 | 0.119048 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122288 | 507 | 11 | 73 | 46.090909 | 0.94382 | 0.098619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.090909 | 0.818182 | 0 | 0.818182 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
af2379585c35d46e0b6d395c4dc3f1197a156038 | 245 | py | Python | server/apps/api/auth.py | IvanDubrowin/simple-shop | 7eb3b3a82863ee382692498812954a2f4530dafe | [
"MIT"
] | null | null | null | server/apps/api/auth.py | IvanDubrowin/simple-shop | 7eb3b3a82863ee382692498812954a2f4530dafe | [
"MIT"
] | 8 | 2021-03-30T13:03:15.000Z | 2022-03-12T00:22:52.000Z | server/apps/api/auth.py | IvanDubrowin/simple-shop | 7eb3b3a82863ee382692498812954a2f4530dafe | [
"MIT"
] | null | null | null | from rest_framework.authentication import SessionAuthentication
from rest_framework.request import Request
class CsrfExemptSessionAuthentication(SessionAuthentication):
def enforce_csrf(self, request: Request) -> None:
return None
| 30.625 | 63 | 0.820408 | 24 | 245 | 8.25 | 0.625 | 0.080808 | 0.171717 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130612 | 245 | 7 | 64 | 35 | 0.929577 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0.2 | 1 | 0 | 1 | 0 | 0 | null | 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 |
af301c4130c4cb8e6e324343719ad2657e733882 | 263 | py | Python | tests/unittests/api/basic_app_with_cqrs/application/CreateUser/CreateUserCommand.py | ahmetcagriakca/pdip | c4c16d5666a740154cabdc6762cd44d98b7bdde8 | [
"MIT"
] | 2 | 2021-12-09T21:07:46.000Z | 2021-12-11T22:18:01.000Z | tests/unittests/api/basic_app_with_cqrs/application/CreateUser/CreateUserCommand.py | fmuyilmaz/pdip | f7e30b0c04d9e85ef46b0b7094fafd3ce18bccab | [
"MIT"
] | null | null | null | tests/unittests/api/basic_app_with_cqrs/application/CreateUser/CreateUserCommand.py | fmuyilmaz/pdip | f7e30b0c04d9e85ef46b0b7094fafd3ce18bccab | [
"MIT"
] | 3 | 2021-11-15T00:47:00.000Z | 2021-12-17T11:35:45.000Z | from dataclasses import dataclass
from pdip.cqrs import ICommand
from tests.unittests.api.basic_app_with_cqrs.application.CreateUser.CreateUserRequest import CreateUserRequest
@dataclass
class CreateUserCommand(ICommand):
request: CreateUserRequest = None
| 26.3 | 110 | 0.851711 | 29 | 263 | 7.62069 | 0.689655 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098859 | 263 | 9 | 111 | 29.222222 | 0.932489 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
af3cb2d5142527b78f20912a2291c5cc1d42d545 | 220 | py | Python | GNetLMM/pycore/mtSet/gp/__init__.py | PMBio/GNetLMM | 103d6433ff6d4a13b5787c116032fda268dc4302 | [
"Apache-2.0"
] | 4 | 2016-02-25T18:40:36.000Z | 2019-05-06T06:15:47.000Z | GNetLMM/pycore/mtSet/gp/__init__.py | PMBio/GNetLMM | 103d6433ff6d4a13b5787c116032fda268dc4302 | [
"Apache-2.0"
] | 6 | 2016-03-29T02:55:17.000Z | 2017-11-27T19:30:04.000Z | GNetLMM/pycore/mtSet/gp/__init__.py | PMBio/GNetLMM | 103d6433ff6d4a13b5787c116032fda268dc4302 | [
"Apache-2.0"
] | 2 | 2017-05-09T05:23:50.000Z | 2019-07-27T13:19:22.000Z | import sys
sys.path.append('./..')
from gp2kronSum import gp2kronSum
#from gp2kronSumSvd import gp2kronSumSvd
from gp3kronSum import gp3kronSum
from gp3kronSumLR import gp3kronSumLR
from gp2kronSumLR import gp2kronSumLR
| 27.5 | 40 | 0.845455 | 25 | 220 | 7.44 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.050761 | 0.104545 | 220 | 7 | 41 | 31.428571 | 0.893401 | 0.177273 | 0 | 0 | 0 | 0 | 0.022222 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.833333 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
afcbff96ad8c4fb92abaae854c9b35f8ff2afb4e | 202 | py | Python | home/views.py | BrenoFroes/ProjetoFinal-Django | 724f7bb2935661a2858e11cf7a666901f92f7a94 | [
"MIT"
] | null | null | null | home/views.py | BrenoFroes/ProjetoFinal-Django | 724f7bb2935661a2858e11cf7a666901f92f7a94 | [
"MIT"
] | null | null | null | home/views.py | BrenoFroes/ProjetoFinal-Django | 724f7bb2935661a2858e11cf7a666901f92f7a94 | [
"MIT"
] | null | null | null | from django.shortcuts import render, redirect, get_object_or_404
def home(request):
return render(request, 'home.html')
def my_logout(request):
my_logout(request)
return redirect('home')
| 20.2 | 64 | 0.742574 | 28 | 202 | 5.178571 | 0.607143 | 0.17931 | 0.206897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017544 | 0.153465 | 202 | 9 | 65 | 22.444444 | 0.830409 | 0 | 0 | 0 | 0 | 0 | 0.064677 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.166667 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.