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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d4e88474ab017434713d6764dcf24407a16b343a | 89 | py | Python | tests/__init__.py | clu-ling/clu-phontools | 304510150c6f9a4b0e1372bc9275630b7f976aeb | [
"Apache-2.0"
] | null | null | null | tests/__init__.py | clu-ling/clu-phontools | 304510150c6f9a4b0e1372bc9275630b7f976aeb | [
"Apache-2.0"
] | 3 | 2021-06-15T23:32:30.000Z | 2021-09-01T18:49:20.000Z | tests/__init__.py | clu-ling/clu-phontools | 304510150c6f9a4b0e1372bc9275630b7f976aeb | [
"Apache-2.0"
] | 1 | 2021-06-18T05:48:29.000Z | 2021-06-18T05:48:29.000Z | # -*- coding: utf-8 -*-
# TODO: add phrases here for eas of use in multiple test suites
| 22.25 | 63 | 0.662921 | 15 | 89 | 3.933333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014286 | 0.213483 | 89 | 3 | 64 | 29.666667 | 0.828571 | 0.932584 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0.333333 | 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 |
be197aedf2a5e4757e87902f3ea6ae392963f8ff | 196 | py | Python | dotloop/detail.py | spentaur/dotloop-python | 5374ab5f5e16f9b826438a9c4f051a4be53d433b | [
"MIT"
] | null | null | null | dotloop/detail.py | spentaur/dotloop-python | 5374ab5f5e16f9b826438a9c4f051a4be53d433b | [
"MIT"
] | null | null | null | dotloop/detail.py | spentaur/dotloop-python | 5374ab5f5e16f9b826438a9c4f051a4be53d433b | [
"MIT"
] | 1 | 2021-07-28T14:28:17.000Z | 2021-07-28T14:28:17.000Z | from .bases import DotloopObject
class Detail(DotloopObject):
def get(self):
return self.fetch('get')
def patch(self, **kwargs):
return self.fetch('patch', json=kwargs)
| 19.6 | 47 | 0.653061 | 24 | 196 | 5.333333 | 0.583333 | 0.15625 | 0.234375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.219388 | 196 | 9 | 48 | 21.777778 | 0.836601 | 0 | 0 | 0 | 0 | 0 | 0.040816 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.333333 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
076df1c420f981336caaeec495ef473bdcab621d | 13,968 | py | Python | parsetab.py | MrSuicideParrot/pyGoCompiler | 5133a2ff5221f3b79f6a82439b1f06be30c89b52 | [
"MIT"
] | null | null | null | parsetab.py | MrSuicideParrot/pyGoCompiler | 5133a2ff5221f3b79f6a82439b1f06be30c89b52 | [
"MIT"
] | null | null | null | parsetab.py | MrSuicideParrot/pyGoCompiler | 5133a2ff5221f3b79f6a82439b1f06be30c89b52 | [
"MIT"
] | null | null | null |
# parsetab.py
# This file is automatically generated. Do not edit.
_tabversion = '3.10'
_lr_method = 'LALR'
_lr_signature = 'nonassocLESSMOREEQUALSTOMOREEQUALLESSEQUALNOTEQUALleftPLUSMINUSleftTIMESDIVIDEleftANDORrightUMINUSINT FLOAT PLUS MINUS TIMES DIVIDE EQUALS LPAREN RPAREN LCURLBRACKET RCURLBRACKET ID COMMENT ST... | 179.076923 | 5,326 | 0.659937 | 2,550 | 13,968 | 3.558039 | 0.102745 | 0.047614 | 0.016533 | 0.021162 | 0.514383 | 0.47184 | 0.443404 | 0.389948 | 0.275984 | 0.240824 | 0 | 0.262992 | 0.089419 | 13,968 | 77 | 5,327 | 181.402597 | 0.45035 | 0.004439 | 0 | 0.029412 | 1 | 0.014706 | 0.48137 | 0.013667 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.058824 | 0 | 0.058824 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
077a4f9fec09dfc396b0a5f4c0029a8eb995111d | 20 | py | Python | checkov/version.py | smrojas/checkov | d83f5024bf771fa8d795f9a303e603ed107895e1 | [
"Apache-2.0"
] | null | null | null | checkov/version.py | smrojas/checkov | d83f5024bf771fa8d795f9a303e603ed107895e1 | [
"Apache-2.0"
] | null | null | null | checkov/version.py | smrojas/checkov | d83f5024bf771fa8d795f9a303e603ed107895e1 | [
"Apache-2.0"
] | null | null | null | version = '2.0.962'
| 10 | 19 | 0.6 | 4 | 20 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.294118 | 0.15 | 20 | 1 | 20 | 20 | 0.411765 | 0 | 0 | 0 | 0 | 0 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
07b1e5140f06db85db1ad17da65d7d9126e6b75c | 164 | py | Python | tests/web_platform/CSS2/positioning/test_absolute_replaced_width.py | fletchgraham/colosseum | 77be4896ee52b8f5956a3d77b5f2ccd2c8608e8f | [
"BSD-3-Clause"
] | null | null | null | tests/web_platform/CSS2/positioning/test_absolute_replaced_width.py | fletchgraham/colosseum | 77be4896ee52b8f5956a3d77b5f2ccd2c8608e8f | [
"BSD-3-Clause"
] | null | null | null | tests/web_platform/CSS2/positioning/test_absolute_replaced_width.py | fletchgraham/colosseum | 77be4896ee52b8f5956a3d77b5f2ccd2c8608e8f | [
"BSD-3-Clause"
] | 1 | 2020-01-16T01:56:41.000Z | 2020-01-16T01:56:41.000Z | from tests.utils import W3CTestCase
class TestAbsoluteReplacedWidth(W3CTestCase):
vars().update(W3CTestCase.find_tests(__file__, 'absolute-replaced-width-'))
| 27.333333 | 79 | 0.804878 | 17 | 164 | 7.470588 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02 | 0.085366 | 164 | 5 | 80 | 32.8 | 0.826667 | 0 | 0 | 0 | 0 | 0 | 0.147239 | 0.147239 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
07b617bf989ca1e103a481abb7a84443c8a9d841 | 9,839 | py | Python | horovod/mxnet/mpi_ops.py | gate2k1/horovod | 38e91bee84efbb5b563a4928027a75dc3974633b | [
"Apache-2.0"
] | 12 | 2020-06-04T20:23:49.000Z | 2022-03-18T18:22:59.000Z | horovod/mxnet/mpi_ops.py | gate2k1/horovod | 38e91bee84efbb5b563a4928027a75dc3974633b | [
"Apache-2.0"
] | 4 | 2020-12-04T21:00:38.000Z | 2022-01-22T12:49:30.000Z | horovod/mxnet/mpi_ops.py | gate2k1/horovod | 38e91bee84efbb5b563a4928027a75dc3974633b | [
"Apache-2.0"
] | 8 | 2020-07-25T15:25:47.000Z | 2022-03-17T02:27:15.000Z | # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless require... | 40.995833 | 80 | 0.704035 | 1,414 | 9,839 | 4.747525 | 0.161952 | 0.01877 | 0.020855 | 0.027856 | 0.753017 | 0.750931 | 0.749143 | 0.733055 | 0.733055 | 0.728884 | 0 | 0.001721 | 0.232341 | 9,839 | 239 | 81 | 41.167364 | 0.887065 | 0.564387 | 0 | 0.619565 | 0 | 0 | 0.003617 | 0 | 0 | 0 | 0 | 0 | 0.01087 | 1 | 0.054348 | false | 0 | 0.097826 | 0 | 0.206522 | 0.01087 | 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 |
07bbe2b1aa9fb904fa03aafaef516ff019879db1 | 2,111 | py | Python | TUNIBrain/University_API_requests.py | woroko/TUNIBot | e53dd66b11c732e2524a5022026156990fc9702a | [
"MIT"
] | null | null | null | TUNIBrain/University_API_requests.py | woroko/TUNIBot | e53dd66b11c732e2524a5022026156990fc9702a | [
"MIT"
] | null | null | null | TUNIBrain/University_API_requests.py | woroko/TUNIBot | e53dd66b11c732e2524a5022026156990fc9702a | [
"MIT"
] | null | null | null | import requests, time
#Loads University API-data and saves it into json and xml files.
def save_API_data():
#Is there a delay between API calls or not
delay = False
#Implementation of study modules
#URL and API-key for the request
url = 'https://opendata.uta.fi:8443/apiman-gateway/UTA/opintojaksot/1.0... | 35.183333 | 78 | 0.676457 | 310 | 2,111 | 4.56129 | 0.26129 | 0.033946 | 0.028289 | 0.033946 | 0.722065 | 0.722065 | 0.722065 | 0.722065 | 0.722065 | 0.722065 | 0 | 0.020134 | 0.153008 | 2,111 | 59 | 79 | 35.779661 | 0.770694 | 0.245855 | 0 | 0.647059 | 0 | 0.117647 | 0.413181 | 0.103295 | 0 | 0 | 0 | 0 | 0 | 1 | 0.029412 | false | 0 | 0.029412 | 0 | 0.058824 | 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 |
07d8501b967166ba513130165b51a34fc3df5995 | 167 | py | Python | skhep/utils/__init__.py | scikit-hep/scikit-hep | b22d876b276ff88730b359309b64f123549c1f07 | [
"BSD-3-Clause"
] | 150 | 2016-11-14T14:09:29.000Z | 2022-03-18T16:37:03.000Z | skhep/utils/__init__.py | scikit-hep/scikit-hep | b22d876b276ff88730b359309b64f123549c1f07 | [
"BSD-3-Clause"
] | 123 | 2017-01-30T10:03:04.000Z | 2022-03-31T06:26:09.000Z | skhep/utils/__init__.py | scikit-hep/scikit-hep | b22d876b276ff88730b359309b64f123549c1f07 | [
"BSD-3-Clause"
] | 41 | 2017-01-11T11:42:56.000Z | 2021-12-06T22:38:32.000Z | # -*- coding: utf-8 -*-
# Licensed under a 3-clause BSD style license, see LICENSE.
"""
Module for miscellaneous and general utilities.
"""
from .exceptions import *
| 20.875 | 59 | 0.700599 | 22 | 167 | 5.318182 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014388 | 0.167665 | 167 | 7 | 60 | 23.857143 | 0.827338 | 0.766467 | 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 |
07e0219f4b208c5a23a96b4f1b282e05a91e80a0 | 655 | py | Python | src/prefect/environments/execution/__init__.py | tedmiston/prefect | a2cb40c28c942b1d170db42a55bab99598a4dcd6 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2020-05-10T14:32:32.000Z | 2020-05-10T14:32:32.000Z | src/prefect/environments/execution/__init__.py | tedmiston/prefect | a2cb40c28c942b1d170db42a55bab99598a4dcd6 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | src/prefect/environments/execution/__init__.py | tedmiston/prefect | a2cb40c28c942b1d170db42a55bab99598a4dcd6 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | """
Execution environments encapsulate the logic for where your Flow should execute in Prefect Cloud.
Currently, we recommend all users deploy their Flow using the `RemoteEnvironment` configured with the
appropriate choice of executor.
"""
from prefect.environments.execution.base import Environment
from prefect.enviro... | 50.384615 | 101 | 0.865649 | 74 | 655 | 7.662162 | 0.567568 | 0.116402 | 0.243386 | 0.338624 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001678 | 0.090076 | 655 | 12 | 102 | 54.583333 | 0.949664 | 0.354198 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
07f4c5293621d596f516737c6f52b2659e861b18 | 90 | py | Python | app/reports/__init__.py | pmcheng/reportdiff_flask | 5091cdf4d7c1a627ff262578440d67dcd1e47965 | [
"Apache-2.0"
] | null | null | null | app/reports/__init__.py | pmcheng/reportdiff_flask | 5091cdf4d7c1a627ff262578440d67dcd1e47965 | [
"Apache-2.0"
] | null | null | null | app/reports/__init__.py | pmcheng/reportdiff_flask | 5091cdf4d7c1a627ff262578440d67dcd1e47965 | [
"Apache-2.0"
] | null | null | null | from flask import Blueprint
reports=Blueprint('reports',__name__)
from . import routes | 22.5 | 38 | 0.788889 | 11 | 90 | 6.090909 | 0.636364 | 0.477612 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 90 | 4 | 39 | 22.5 | 0.858974 | 0 | 0 | 0 | 0 | 0 | 0.079545 | 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 |
ed0aaf2fdce40b2a4f476ea2a2aaabe6a10843af | 295 | py | Python | jwql/website/apps/jwql/monitor_pages/__init__.py | cracraft/jwql | 030c1663bc433465e01ad803e1578a2bc53035f4 | [
"BSD-3-Clause"
] | 42 | 2018-10-03T13:38:18.000Z | 2022-03-11T12:19:32.000Z | jwql/website/apps/jwql/monitor_pages/__init__.py | cracraft/jwql | 030c1663bc433465e01ad803e1578a2bc53035f4 | [
"BSD-3-Clause"
] | 723 | 2018-08-29T18:29:49.000Z | 2022-03-31T21:09:20.000Z | jwql/website/apps/jwql/monitor_pages/__init__.py | cracraft/jwql | 030c1663bc433465e01ad803e1578a2bc53035f4 | [
"BSD-3-Clause"
] | 30 | 2018-08-29T18:17:32.000Z | 2022-03-10T19:43:39.000Z | from .monitor_bad_pixel_bokeh import BadPixelMonitor
from .monitor_bias_bokeh import BiasMonitor
from .monitor_dark_bokeh import DarkMonitor
from .monitor_filesystem_bokeh import MonitorFilesystem
from .monitor_mast_bokeh import MastMonitor
from .monitor_readnoise_bokeh import ReadnoiseMonitor
| 42.142857 | 55 | 0.898305 | 37 | 295 | 6.810811 | 0.459459 | 0.261905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081356 | 295 | 6 | 56 | 49.166667 | 0.929889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
ed37e3d75025f33febb04ea7541c8c8fb224cf35 | 11,400 | py | Python | tests/integration/test_materialize_mysql_database/test.py | edani/ClickHouse | 17a8a4e9664fabed5b370b37e148139ba698acf5 | [
"Apache-2.0"
] | 2 | 2019-09-05T17:17:27.000Z | 2020-09-06T20:27:32.000Z | tests/integration/test_materialize_mysql_database/test.py | edani/ClickHouse | 17a8a4e9664fabed5b370b37e148139ba698acf5 | [
"Apache-2.0"
] | null | null | null | tests/integration/test_materialize_mysql_database/test.py | edani/ClickHouse | 17a8a4e9664fabed5b370b37e148139ba698acf5 | [
"Apache-2.0"
] | 1 | 2022-03-29T06:54:31.000Z | 2022-03-29T06:54:31.000Z | import os
import os.path as p
import subprocess
import time
import pwd
import re
import pymysql.cursors
import pytest
from helpers.cluster import ClickHouseCluster, get_docker_compose_path
import docker
from . import materialize_with_ddl
DOCKER_COMPOSE_PATH = get_docker_compose_path()
cluster = ClickHouseCluster(__f... | 50.220264 | 207 | 0.719298 | 1,463 | 11,400 | 5.094327 | 0.124402 | 0.093385 | 0.08936 | 0.125587 | 0.78143 | 0.763451 | 0.74896 | 0.716624 | 0.707098 | 0.703073 | 0 | 0.028268 | 0.199386 | 11,400 | 226 | 208 | 50.442478 | 0.78832 | 0.015175 | 0 | 0.245509 | 0 | 0.005988 | 0.092934 | 0.014613 | 0 | 0 | 0 | 0 | 0 | 1 | 0.191617 | false | 0.035928 | 0.065868 | 0 | 0.281437 | 0.023952 | 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 |
ed50d70748e98ace5f21f18ef65fcce0b964334f | 123,249 | py | Python | 2. Existing Conversion Efficiency (EC), Appendix A/DL_FP_EC.py | rioarya/Land-Conversion_Woody-Biomass-Utilization-Scenarios | 0042fd4333212e65735f3643ecb59971d1bd9466 | [
"MIT"
] | null | null | null | 2. Existing Conversion Efficiency (EC), Appendix A/DL_FP_EC.py | rioarya/Land-Conversion_Woody-Biomass-Utilization-Scenarios | 0042fd4333212e65735f3643ecb59971d1bd9466 | [
"MIT"
] | null | null | null | 2. Existing Conversion Efficiency (EC), Appendix A/DL_FP_EC.py | rioarya/Land-Conversion_Woody-Biomass-Utilization-Scenarios | 0042fd4333212e65735f3643ecb59971d1bd9466 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Fri Dec 13 15:21:55 2019
@author: raryapratama
"""
#%%
#Step (1): Import Python libraries, set land conversion scenarios general parameters
import numpy as np
import matplotlib.pyplot as plt
from scipy.integrate import quad
import seaborn as sns
import pandas ... | 34.197836 | 268 | 0.709945 | 22,152 | 123,249 | 3.569113 | 0.029704 | 0.025903 | 0.022931 | 0.006071 | 0.892529 | 0.847122 | 0.799185 | 0.732074 | 0.667898 | 0.619632 | 0 | 0.083926 | 0.167133 | 123,249 | 3,604 | 269 | 34.197836 | 0.686293 | 0.230874 | 0 | 0.318634 | 0 | 0 | 0.133735 | 0.02521 | 0 | 0 | 0 | 0 | 0 | 1 | 0.014286 | false | 0 | 0.004348 | 0.013665 | 0.032919 | 0.098758 | 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 |
ed5dc2a53343033ed8ace3353be469af11dc06bd | 7,081 | py | Python | projects/vdk-plugins/vdk-trino/tests/test_vdk_trino_lineage_utils.py | alod83/versatile-data-kit | 9ca672d3929eb3dc6fe5c677e8c8a75e2a0d2be8 | [
"Apache-2.0"
] | 100 | 2021-10-04T09:32:04.000Z | 2022-03-30T11:23:53.000Z | projects/vdk-plugins/vdk-trino/tests/test_vdk_trino_lineage_utils.py | alod83/versatile-data-kit | 9ca672d3929eb3dc6fe5c677e8c8a75e2a0d2be8 | [
"Apache-2.0"
] | 208 | 2021-10-04T16:56:40.000Z | 2022-03-31T10:41:44.000Z | projects/vdk-plugins/vdk-trino/tests/test_vdk_trino_lineage_utils.py | alod83/versatile-data-kit | 9ca672d3929eb3dc6fe5c677e8c8a75e2a0d2be8 | [
"Apache-2.0"
] | 14 | 2021-10-11T14:15:13.000Z | 2022-03-11T13:39:17.000Z | # Copyright 2021 VMware, Inc.
# SPDX-License-Identifier: Apache-2.0
import json
from vdk.plugin.trino.lineage_utils import _get_input_tables_from_explain
from vdk.plugin.trino.lineage_utils import _get_lineage_table_from_plan
from vdk.plugin.trino.lineage_utils import _lineage_table_from_name
from vdk.plugin.trino.lin... | 33.880383 | 101 | 0.677305 | 872 | 7,081 | 5.129587 | 0.09633 | 0.139504 | 0.136821 | 0.073776 | 0.839258 | 0.813324 | 0.787615 | 0.717416 | 0.682987 | 0.654594 | 0 | 0.012373 | 0.223838 | 7,081 | 208 | 102 | 34.043269 | 0.801492 | 0.008897 | 0 | 0.557471 | 0 | 0 | 0.304791 | 0.024028 | 0 | 0 | 0 | 0 | 0.362069 | 1 | 0.057471 | false | 0 | 0.034483 | 0 | 0.091954 | 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 |
ed7434d2a3bb706cb2fbdda02b7f5c9aa27cb512 | 338 | py | Python | G4 Localizer/a2_Camera/cameraModel.py | cbrahana/FRC-Localizer-Systems | 740c88ec6e0af490e703e8a5c544434c0f33ee0b | [
"MIT"
] | null | null | null | G4 Localizer/a2_Camera/cameraModel.py | cbrahana/FRC-Localizer-Systems | 740c88ec6e0af490e703e8a5c544434c0f33ee0b | [
"MIT"
] | null | null | null | G4 Localizer/a2_Camera/cameraModel.py | cbrahana/FRC-Localizer-Systems | 740c88ec6e0af490e703e8a5c544434c0f33ee0b | [
"MIT"
] | null | null | null | class Camera:
def __init__(): #Need to have all information necessary to calibrate camera input into here as arguements
#Calibrate Camera - constant
#Locate Camera Relative to Centerpoint - constant
#Define GPIO pins for synchronization - constant
#Change camera settings - tunable
... | 48.285714 | 109 | 0.704142 | 39 | 338 | 6 | 0.769231 | 0.128205 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.257396 | 338 | 7 | 110 | 48.285714 | 0.932271 | 0.718935 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0 | 0.333333 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
ed7765e2ab92212613889bc15172427bc5f6b297 | 56 | py | Python | utime/hypnogram/__init__.py | aluquecerp/U-Time | c792259825b57e49544684ce2997f3ac8db84c6e | [
"MIT"
] | 138 | 2019-11-20T02:31:17.000Z | 2022-03-23T04:31:51.000Z | utime/hypnogram/__init__.py | amiyapatanaik/U-Time | a9ed4892da77d165a71dbfef1d069d782c909757 | [
"MIT"
] | 46 | 2019-12-04T03:13:28.000Z | 2022-03-31T13:10:48.000Z | utime/hypnogram/__init__.py | amiyapatanaik/U-Time | a9ed4892da77d165a71dbfef1d069d782c909757 | [
"MIT"
] | 42 | 2019-11-26T16:02:26.000Z | 2022-01-06T11:01:32.000Z | from .hypnograms import SparseHypnogram, DenseHypnogram
| 28 | 55 | 0.875 | 5 | 56 | 9.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089286 | 56 | 1 | 56 | 56 | 0.960784 | 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 |
9c02ea62132d4663cf6b795eb9ce4bb6b4dfe5b1 | 212 | py | Python | emos/__init__.py | CubeFlix/emos | 7f84100908e78384c82777ec3bee0cc1b130cefb | [
"MIT"
] | 1 | 2021-05-26T17:41:07.000Z | 2021-05-26T17:41:07.000Z | emos/__init__.py | CubeFlix/emos | 7f84100908e78384c82777ec3bee0cc1b130cefb | [
"MIT"
] | null | null | null | emos/__init__.py | CubeFlix/emos | 7f84100908e78384c82777ec3bee0cc1b130cefb | [
"MIT"
] | null | null | null | """
- EMOS Main Source Code -
(C) Cubeflix 2021 (EMOS)
"""
# Imports
from .misc import *
from .memory import *
from .cpu import *
from .operatingsystem import *
from .computer import *
from .screen import *
| 12.470588 | 30 | 0.679245 | 27 | 212 | 5.333333 | 0.592593 | 0.347222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023669 | 0.20283 | 212 | 16 | 31 | 13.25 | 0.828402 | 0.283019 | 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 | 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 |
9c3aab888d3f65753a4185dde758c2dad29802a9 | 103 | py | Python | terrascript/spotinst/__init__.py | hugovk/python-terrascript | 08fe185904a70246822f5cfbdc9e64e9769ec494 | [
"BSD-2-Clause"
] | 507 | 2017-07-26T02:58:38.000Z | 2022-01-21T12:35:13.000Z | terrascript/spotinst/__init__.py | hugovk/python-terrascript | 08fe185904a70246822f5cfbdc9e64e9769ec494 | [
"BSD-2-Clause"
] | 135 | 2017-07-20T12:01:59.000Z | 2021-10-04T22:25:40.000Z | terrascript/spotinst/__init__.py | hugovk/python-terrascript | 08fe185904a70246822f5cfbdc9e64e9769ec494 | [
"BSD-2-Clause"
] | 81 | 2018-02-20T17:55:28.000Z | 2022-01-31T07:08:40.000Z | # terrascript/spotinst/__init__.py
import terrascript
class spotinst(terrascript.Provider):
pass
| 14.714286 | 37 | 0.796117 | 11 | 103 | 7.090909 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126214 | 103 | 6 | 38 | 17.166667 | 0.866667 | 0.31068 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 5 |
9c4506a37458e4187e29a1ff1afd9c962565ea1d | 122 | py | Python | pafd/admin.py | kavinzhao/fduhole | 508922cfa0558c58b95206dd8fbf51d10525fa1e | [
"Apache-2.0"
] | 9 | 2021-04-14T12:08:38.000Z | 2021-12-16T08:14:40.000Z | pafd/admin.py | kavinzhao/fduhole | 508922cfa0558c58b95206dd8fbf51d10525fa1e | [
"Apache-2.0"
] | 9 | 2021-04-18T09:48:25.000Z | 2021-11-26T07:43:22.000Z | pafd/admin.py | kavinzhao/fduhole | 508922cfa0558c58b95206dd8fbf51d10525fa1e | [
"Apache-2.0"
] | 4 | 2021-07-15T02:10:42.000Z | 2022-01-22T02:12:11.000Z | from django.contrib import admin
from .models import Student
# Register your models here.
# admin.site.register(Student)
| 20.333333 | 32 | 0.795082 | 17 | 122 | 5.705882 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131148 | 122 | 5 | 33 | 24.4 | 0.915094 | 0.45082 | 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 |
9c7d79b032a1a7393980f36ae8b429df16d52012 | 2,376 | py | Python | migrations/versions/0d14cc3a1cf1_add_private_key_and_csr_to_certificate_.py | cloud-gov/legacy-domain-certificate-renewer | 6b008fdc8e1277cfe4449626e6c488d11fc4857c | [
"CC0-1.0"
] | 1 | 2021-11-16T17:25:21.000Z | 2021-11-16T17:25:21.000Z | migrations/versions/0d14cc3a1cf1_add_private_key_and_csr_to_certificate_.py | cloud-gov/legacy-domain-certificate-renewer | 6b008fdc8e1277cfe4449626e6c488d11fc4857c | [
"CC0-1.0"
] | 1 | 2021-12-22T19:04:34.000Z | 2021-12-22T19:04:34.000Z | migrations/versions/0d14cc3a1cf1_add_private_key_and_csr_to_certificate_.py | cloud-gov/legacy-domain-certificate-renewer | 6b008fdc8e1277cfe4449626e6c488d11fc4857c | [
"CC0-1.0"
] | null | null | null | """add private key and csr to certificate, track certificate in operation
Revision ID: 0d14cc3a1cf1
Revises: 531893054cdf
Create Date: 2021-09-10 23:03:20.631787
"""
from alembic import op
import sqlalchemy as sa
import sqlalchemy_utils
# revision identifiers, used by Alembic.
revision = "0d14cc3a1cf1"
down_revisio... | 25.826087 | 82 | 0.651094 | 262 | 2,376 | 5.629771 | 0.259542 | 0.088136 | 0.044746 | 0.062373 | 0.710508 | 0.710508 | 0.710508 | 0.710508 | 0.710508 | 0.710508 | 0 | 0.026983 | 0.220118 | 2,376 | 91 | 83 | 26.10989 | 0.769023 | 0.083754 | 0 | 0.666667 | 0 | 0 | 0.279391 | 0.075611 | 0 | 0 | 0 | 0 | 0 | 1 | 0.086957 | false | 0 | 0.043478 | 0 | 0.130435 | 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 |
92bcda30a2c5b17469f5f875c18b381cd8272fad | 161 | py | Python | courses/backend/django-for-everybody/Web Application Technologies and Django/resources/dj4e-samples/tagme/admin.py | Nahid-Hassan/fullstack-software-development | 892ffb33e46795061ea63378279a6469de317b1a | [
"CC0-1.0"
] | 297 | 2019-01-25T08:44:08.000Z | 2022-03-29T18:46:08.000Z | courses/backend/django-for-everybody/Web Application Technologies and Django/resources/dj4e-samples/tagme/admin.py | Nahid-Hassan/fullstack-software-development | 892ffb33e46795061ea63378279a6469de317b1a | [
"CC0-1.0"
] | 22 | 2019-05-06T14:21:04.000Z | 2022-02-21T10:05:25.000Z | courses/backend/django-for-everybody/Web Application Technologies and Django/resources/dj4e-samples/tagme/admin.py | Nahid-Hassan/fullstack-software-development | 892ffb33e46795061ea63378279a6469de317b1a | [
"CC0-1.0"
] | 412 | 2019-02-12T20:44:43.000Z | 2022-03-30T04:23:25.000Z | from django.contrib import admin
# Register your models here.
from tagme.models import Forum, Comment
admin.site.register(Forum)
admin.site.register(Comment)
| 17.888889 | 39 | 0.801242 | 23 | 161 | 5.608696 | 0.565217 | 0.139535 | 0.263566 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118012 | 161 | 8 | 40 | 20.125 | 0.908451 | 0.161491 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
92c04fd9a550435a0d5f9a86e5aa73256572f8b4 | 207 | py | Python | decomp/semantics/__init__.py | esteng/decomp | a6996b379e4a5e1a70a28b2b6f86bf39160ee10b | [
"MIT"
] | 48 | 2019-10-01T13:33:24.000Z | 2022-02-14T13:58:57.000Z | decomp/semantics/__init__.py | esteng/decomp | a6996b379e4a5e1a70a28b2b6f86bf39160ee10b | [
"MIT"
] | 15 | 2019-10-01T15:01:36.000Z | 2021-05-25T17:23:22.000Z | decomp/semantics/__init__.py | esteng/decomp | a6996b379e4a5e1a70a28b2b6f86bf39160ee10b | [
"MIT"
] | 9 | 2020-03-02T17:54:17.000Z | 2021-06-17T19:53:53.000Z | """
Module for representing PredPatt and UDS graphs
This module represents PredPatt and UDS graphs using networkx. It
incorporates the dependency parse-based graphs from the syntax module
as subgraphs.
"""
| 25.875 | 69 | 0.806763 | 29 | 207 | 5.758621 | 0.724138 | 0.131737 | 0.167665 | 0.239521 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149758 | 207 | 7 | 70 | 29.571429 | 0.948864 | 0.956522 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 1 | 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 |
92c161d079c65843de6ca5fac529e3cb181171a2 | 223 | py | Python | {{cookiecutter.package_name}}/{{cookiecutter.package_name}}/__init__.py | kevinbache/python-data-project | 867cb9650d86c4049f382a54d5c02210c6901e59 | [
"MIT"
] | null | null | null | {{cookiecutter.package_name}}/{{cookiecutter.package_name}}/__init__.py | kevinbache/python-data-project | 867cb9650d86c4049f382a54d5c02210c6901e59 | [
"MIT"
] | null | null | null | {{cookiecutter.package_name}}/{{cookiecutter.package_name}}/__init__.py | kevinbache/python-data-project | 867cb9650d86c4049f382a54d5c02210c6901e59 | [
"MIT"
] | null | null | null | """{{ cookiecutter.package_name }} - {{ cookiecutter.package_description }}"""
__version__ = '{{ cookiecutter.package_version }}'
__author__ = '{{ cookiecutter.author_name }} <{{ cookiecutter.author_email }}>'
__all__ = [] | 44.6 | 79 | 0.704036 | 18 | 223 | 7.777778 | 0.444444 | 0.407143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103139 | 223 | 5 | 80 | 44.6 | 0.7 | 0.32287 | 0 | 0 | 0 | 0 | 0.671233 | 0.527397 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
92cbe41d5ffac041aa53916a162299bb2ec2306e | 1,196 | py | Python | examples/demo_gen_annular_FPM.py | kian1377/falco-python | a9666629845fc72957cd89339f924b9cfb7ce6f5 | [
"Apache-2.0"
] | 4 | 2019-05-22T22:24:01.000Z | 2021-07-21T13:32:36.000Z | examples/demo_gen_annular_FPM.py | kian1377/falco-python | a9666629845fc72957cd89339f924b9cfb7ce6f5 | [
"Apache-2.0"
] | 11 | 2018-06-22T01:05:07.000Z | 2021-11-03T13:46:25.000Z | examples/demo_gen_annular_FPM.py | kian1377/falco-python | a9666629845fc72957cd89339f924b9cfb7ce6f5 | [
"Apache-2.0"
] | 2 | 2018-06-21T23:58:06.000Z | 2021-07-13T21:25:23.000Z | import sys
sys.path.insert(0,"../")
import falco
import numpy as np
import matplotlib.pyplot as plt
inputs = {}
inputs["FPMampFac"] = 0.
inputs["pixresFPM"] = 3
inputs["rhoInner"] = 6.5
inputs["centering"] = 'pixel'
# %% With Outer Ring
inputs["rhoOuter"] = 20.0
fpm = falco.mask.falco_gen_annular_FPM(inputs)
plt.... | 30.666667 | 107 | 0.650502 | 173 | 1,196 | 4.462428 | 0.254335 | 0.069948 | 0.093264 | 0.147668 | 0.715026 | 0.715026 | 0.715026 | 0.715026 | 0.715026 | 0.715026 | 0 | 0.02729 | 0.14214 | 1,196 | 38 | 108 | 31.473684 | 0.725146 | 0.115385 | 0 | 0.538462 | 0 | 0 | 0.13632 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.153846 | 0 | 0.153846 | 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 |
92cfb8ab0843c53700a6fac8d59707f34be2d7ed | 45 | py | Python | reqsit/__init__.py | mattyWuh/reqsit | c4b6075c0f2e0e47263c5f9d5966c3b382148de1 | [
"MIT"
] | 1 | 2021-11-15T18:52:56.000Z | 2021-11-15T18:52:56.000Z | tests/__init__.py | mattyWuh/reqsit | c4b6075c0f2e0e47263c5f9d5966c3b382148de1 | [
"MIT"
] | null | null | null | tests/__init__.py | mattyWuh/reqsit | c4b6075c0f2e0e47263c5f9d5966c3b382148de1 | [
"MIT"
] | null | null | null | """Copyright matt witt 2021, MIT License."""
| 22.5 | 44 | 0.688889 | 6 | 45 | 5.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 0.133333 | 45 | 1 | 45 | 45 | 0.692308 | 0.844444 | 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 |
92fa8ba51f239bdaf98242c556145a65055f137c | 324 | py | Python | tests/linter.py | Conor-Behard333/covid_alarm_clock | a53c58164da2bc8f0fd257e4aa5a6662abab44fa | [
"MIT"
] | null | null | null | tests/linter.py | Conor-Behard333/covid_alarm_clock | a53c58164da2bc8f0fd257e4aa5a6662abab44fa | [
"MIT"
] | null | null | null | tests/linter.py | Conor-Behard333/covid_alarm_clock | a53c58164da2bc8f0fd257e4aa5a6662abab44fa | [
"MIT"
] | null | null | null | """Used to test the formatting of the code using pylint"""
import pylint.lint
pylint_opts = ['../logger_setup.py', '../main.py', '../api_handling/get_config_info.py', '../api_handling/get_covid_info.py',
'../api_handling/get_news_info.py', '../api_handling/get_weather_info.py']
pylint.lint.Run(pylint_op... | 46.285714 | 125 | 0.703704 | 49 | 324 | 4.346939 | 0.510204 | 0.093897 | 0.244131 | 0.300469 | 0.28169 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114198 | 324 | 6 | 126 | 54 | 0.74216 | 0.160494 | 0 | 0 | 0 | 0 | 0.609023 | 0.503759 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
133393bc0891217bd2d5ce2124d5af09e5ccdcbc | 212 | py | Python | first_app/admin.py | Vedant1202/Django-Demo | 6c7e21d210c9b32bcb5ecb8e7cce2a33ac5c21cc | [
"MIT"
] | null | null | null | first_app/admin.py | Vedant1202/Django-Demo | 6c7e21d210c9b32bcb5ecb8e7cce2a33ac5c21cc | [
"MIT"
] | null | null | null | first_app/admin.py | Vedant1202/Django-Demo | 6c7e21d210c9b32bcb5ecb8e7cce2a33ac5c21cc | [
"MIT"
] | null | null | null | from django.contrib import admin
from first_app.models import Topic, Webpage, AccessRecord
# Register your models here.
admin.site.register(Topic)
admin.site.register(Webpage)
admin.site.register(AccessRecord)
| 23.555556 | 57 | 0.820755 | 29 | 212 | 5.965517 | 0.517241 | 0.156069 | 0.294798 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09434 | 212 | 8 | 58 | 26.5 | 0.901042 | 0.122642 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 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 |
133807713aa0a037db3203058038d938705abaad | 6,644 | py | Python | unit_test/test_snfolds.py | melloddy/MELLODDY-TUNERv1 | 37a70402bee53fc4aa221257213e87ac4d6d750a | [
"MIT"
] | 24 | 2020-08-28T14:58:15.000Z | 2021-12-30T14:40:16.000Z | unit_test/test_snfolds.py | melloddy/MELLODDY-TUNERv1 | 37a70402bee53fc4aa221257213e87ac4d6d750a | [
"MIT"
] | null | null | null | unit_test/test_snfolds.py | melloddy/MELLODDY-TUNERv1 | 37a70402bee53fc4aa221257213e87ac4d6d750a | [
"MIT"
] | 6 | 2021-04-02T12:51:15.000Z | 2022-03-15T21:44:57.000Z | import os
import unittest
import sys
from melloddy_tuner.utils.config import ConfigDict, SecretDict
from melloddy_tuner.utils.scaffold_folding import ScaffoldFoldAssign
from melloddy_tuner.utils.df_transformer import DfTransformer
import filecmp
from pathlib import Path
curDir = os.path.dirname(os.path.abspath(__file_... | 34.604167 | 131 | 0.578868 | 703 | 6,644 | 5.241821 | 0.192034 | 0.035821 | 0.054274 | 0.065129 | 0.802985 | 0.779376 | 0.775577 | 0.735957 | 0.689281 | 0.664858 | 0 | 0.012445 | 0.286424 | 6,644 | 191 | 132 | 34.78534 | 0.764818 | 0.095575 | 0 | 0.598684 | 0 | 0.013158 | 0.201224 | 0.105371 | 0 | 0 | 0 | 0 | 0.032895 | 1 | 0.046053 | false | 0.006579 | 0.052632 | 0 | 0.105263 | 0.006579 | 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 |
133b313d7bb8e1d801570a9adbc0be20249229a6 | 59 | py | Python | state_management/__init__.py | johnurbanik/prospector | a014a5b8767320e2a3937a79db2d364f8e6da1c8 | [
"MIT"
] | null | null | null | state_management/__init__.py | johnurbanik/prospector | a014a5b8767320e2a3937a79db2d364f8e6da1c8 | [
"MIT"
] | null | null | null | state_management/__init__.py | johnurbanik/prospector | a014a5b8767320e2a3937a79db2d364f8e6da1c8 | [
"MIT"
] | null | null | null | from state_management.question_state import QuestionManager | 59 | 59 | 0.932203 | 7 | 59 | 7.571429 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.050847 | 59 | 1 | 59 | 59 | 0.946429 | 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 |
1378827a76a13a19f8d50f59bc4237102dd0f609 | 157 | py | Python | tuto/00_hello.py | gb6612/py_tuto | 37f171287c025903cc9003c266618aadcb3f0052 | [
"MIT"
] | null | null | null | tuto/00_hello.py | gb6612/py_tuto | 37f171287c025903cc9003c266618aadcb3f0052 | [
"MIT"
] | null | null | null | tuto/00_hello.py | gb6612/py_tuto | 37f171287c025903cc9003c266618aadcb3f0052 | [
"MIT"
] | null | null | null | # Print something to the terminal
print("Hey there! I'm your very first python script") # you can comment this way...
input("Press Enter to continue...") | 39.25 | 84 | 0.713376 | 25 | 157 | 4.48 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171975 | 157 | 4 | 85 | 39.25 | 0.861538 | 0.375796 | 0 | 0 | 0 | 0 | 0.752688 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
1383ca71600696d380c3a0dc6d653c7f95470b2f | 42 | py | Python | src/anu/data/pipelines/__init__.py | ankitskvmdam/anu | 699598fb60dcc23f6cccd5abb30a03b294d21598 | [
"MIT"
] | null | null | null | src/anu/data/pipelines/__init__.py | ankitskvmdam/anu | 699598fb60dcc23f6cccd5abb30a03b294d21598 | [
"MIT"
] | null | null | null | src/anu/data/pipelines/__init__.py | ankitskvmdam/anu | 699598fb60dcc23f6cccd5abb30a03b294d21598 | [
"MIT"
] | null | null | null | """Pipeline related modules stay here."""
| 21 | 41 | 0.714286 | 5 | 42 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119048 | 42 | 1 | 42 | 42 | 0.810811 | 0.833333 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
13855a0431b7e519d6002edd45076f4b8a4e3e82 | 274 | py | Python | {{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/core/serializers.py | e-dang/cookiecutter-django | 2ba986296de1d5a086e73cde746d6fc7366f149c | [
"BSD-3-Clause"
] | null | null | null | {{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/core/serializers.py | e-dang/cookiecutter-django | 2ba986296de1d5a086e73cde746d6fc7366f149c | [
"BSD-3-Clause"
] | null | null | null | {{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/core/serializers.py | e-dang/cookiecutter-django | 2ba986296de1d5a086e73cde746d6fc7366f149c | [
"BSD-3-Clause"
] | null | null | null | from rest_framework import serializers
class DetailResponseSerializer(serializers.Serializer):
detail = serializers.CharField(read_only=True)
class NonFieldErrorResponseSerializer(serializers.Serializer):
non_field_errors = serializers.CharField(read_only=True)
| 27.4 | 62 | 0.839416 | 27 | 274 | 8.333333 | 0.62963 | 0.186667 | 0.213333 | 0.248889 | 0.284444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094891 | 274 | 9 | 63 | 30.444444 | 0.907258 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
1390effde3c896a583eb3f16ff3d4d18fdbdfed3 | 36 | py | Python | ci/infra/testrunner/kubectl/__init__.py | manuelbuil/skuba | 71770c969f59275d6f7fb7a788635fcce6900bee | [
"Apache-2.0"
] | 72 | 2019-07-18T13:01:36.000Z | 2022-03-05T04:14:06.000Z | ci/infra/testrunner/kubectl/__init__.py | manuelbuil/skuba | 71770c969f59275d6f7fb7a788635fcce6900bee | [
"Apache-2.0"
] | 602 | 2019-07-18T13:48:04.000Z | 2021-09-27T14:10:30.000Z | ci/infra/testrunner/kubectl/__init__.py | manuelbuil/skuba | 71770c969f59275d6f7fb7a788635fcce6900bee | [
"Apache-2.0"
] | 90 | 2019-07-18T09:27:52.000Z | 2020-12-08T15:57:27.000Z | from kubectl.kubectl import Kubectl
| 18 | 35 | 0.861111 | 5 | 36 | 6.2 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.96875 | 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 |
13d237c5d12d316f1d6ca20a7653418084042ff1 | 56 | py | Python | experiments/performance_eval/DeepDTA/data_utils/__init_.py | giosumarin/compare_dnn_compression | 7de9760af6b2031c588dc6c09bbfc3ca33fd14da | [
"Apache-2.0"
] | 1 | 2022-03-18T11:05:15.000Z | 2022-03-18T11:05:15.000Z | experiments/performance_eval/DeepDTA/data_utils/__init_.py | giosumarin/compare_dnn_compression | 7de9760af6b2031c588dc6c09bbfc3ca33fd14da | [
"Apache-2.0"
] | null | null | null | experiments/performance_eval/DeepDTA/data_utils/__init_.py | giosumarin/compare_dnn_compression | 7de9760af6b2031c588dc6c09bbfc3ca33fd14da | [
"Apache-2.0"
] | null | null | null | from data_utils import datahelper_noflag, davis_dataset
| 28 | 55 | 0.892857 | 8 | 56 | 5.875 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089286 | 56 | 1 | 56 | 56 | 0.921569 | 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 |
13ecc0f54abe3c4aa3e598fb12acf12f6af1f400 | 96 | py | Python | venv/lib/python3.8/site-packages/pip/_vendor/chardet/euctwprober.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/pip/_vendor/chardet/euctwprober.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/pip/_vendor/chardet/euctwprober.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/d7/7a/7a/10fe3245ac6a9cfe221edc47389e91db3c47ab5fe6f214d18f3559f797 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.395833 | 0 | 96 | 1 | 96 | 96 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
b92fe2d7eaa82c839735f3a432ffead8cb48f5c4 | 435 | py | Python | gpseqc/__init__.py | ggirelli/gpseq-centrality-estimate | 9e911c360e2abddc688ea3fb4390bc0f8e2bfed3 | [
"MIT"
] | 1 | 2020-08-21T07:19:49.000Z | 2020-08-21T07:19:49.000Z | gpseqc/__init__.py | ggirelli/gpseq-centrality-estimate | 9e911c360e2abddc688ea3fb4390bc0f8e2bfed3 | [
"MIT"
] | 1 | 2019-01-29T08:21:21.000Z | 2019-01-29T08:21:21.000Z | gpseqc/__init__.py | ggirelli/gpseq-centrality-estimate | 9e911c360e2abddc688ea3fb4390bc0f8e2bfed3 | [
"MIT"
] | 2 | 2020-07-16T11:09:22.000Z | 2020-08-21T07:19:54.000Z | # -*- coding: utf-8 -*-
'''
@author: Gabriele Girelli
@email: gigi.ga90@gmail.com
@description: GPSeq Centrality Estimation package.
'''
# DEPENDENCIES =================================================================
from gpseqc import bed, centrality, cutsite_domain
# END =========================================... | 29 | 80 | 0.351724 | 25 | 435 | 6.08 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007481 | 0.078161 | 435 | 15 | 81 | 29 | 0.371571 | 0.655172 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
b93ccaf55a14de355d35bc247f3e9dc878f674d4 | 95 | py | Python | netbox_secretstore/utils/tables.py | Onemind-Services-LLC/netbox-secretstore | cfe8b813ed5997b0b8566d00cca90991fc87b55b | [
"Apache-2.0"
] | null | null | null | netbox_secretstore/utils/tables.py | Onemind-Services-LLC/netbox-secretstore | cfe8b813ed5997b0b8566d00cca90991fc87b55b | [
"Apache-2.0"
] | null | null | null | netbox_secretstore/utils/tables.py | Onemind-Services-LLC/netbox-secretstore | cfe8b813ed5997b0b8566d00cca90991fc87b55b | [
"Apache-2.0"
] | null | null | null | from netbox.tables import columns
class PluginButtonsColumn(columns.ActionsColumn):
pass
| 15.833333 | 49 | 0.810526 | 10 | 95 | 7.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136842 | 95 | 5 | 50 | 19 | 0.939024 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 5 |
b93f44ed4fed0f68ed64c8ef026f32b834f41a4c | 223 | py | Python | EJERCICIO2/animal.py | Germiprogramer/PRIMERPARCIAL | 01a2c95a4b259829ad04e5439beae53e6734b034 | [
"Apache-2.0"
] | null | null | null | EJERCICIO2/animal.py | Germiprogramer/PRIMERPARCIAL | 01a2c95a4b259829ad04e5439beae53e6734b034 | [
"Apache-2.0"
] | null | null | null | EJERCICIO2/animal.py | Germiprogramer/PRIMERPARCIAL | 01a2c95a4b259829ad04e5439beae53e6734b034 | [
"Apache-2.0"
] | null | null | null | class Animal:
def __init__(self, nombre, tamaño):
self.nombre = nombre
self.tamaño = tamaño
def get_nombre(self):
return self.nombre
def set_nombre(self, a):
self.nombre = a | 22.3 | 39 | 0.591928 | 28 | 223 | 4.5 | 0.392857 | 0.31746 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.318386 | 223 | 10 | 40 | 22.3 | 0.828947 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0 | 0.125 | 0.625 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
b95aac929561cfbf233253bbd8e7225b97cea630 | 206 | py | Python | deploy/resources/deployrpm.py | zhxiaohe/starwars_api | f1b729e819eb19e5eb59630bed56b13127eb1ef2 | [
"MIT"
] | null | null | null | deploy/resources/deployrpm.py | zhxiaohe/starwars_api | f1b729e819eb19e5eb59630bed56b13127eb1ef2 | [
"MIT"
] | null | null | null | deploy/resources/deployrpm.py | zhxiaohe/starwars_api | f1b729e819eb19e5eb59630bed56b13127eb1ef2 | [
"MIT"
] | null | null | null | from flask.ext.restful import Resource
from common.util import login_required
class DeployManager(Resource):
method_decorators = [login_required]
def get(self):
return 'Auth Token success' | 25.75 | 40 | 0.757282 | 26 | 206 | 5.884615 | 0.807692 | 0.169935 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174757 | 206 | 8 | 41 | 25.75 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.166667 | 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 |
b989c9fe75cef548c3f61dbcc278a1093416f782 | 566 | py | Python | tasks/dirs.py | andypbarrett/nsidc-seaice | 167a16309f7eaadd5c613b54a7df26eb1f48c2f3 | [
"MIT"
] | 2 | 2020-08-27T08:40:22.000Z | 2021-04-14T15:42:09.000Z | tasks/dirs.py | andypbarrett/nsidc-seaice | 167a16309f7eaadd5c613b54a7df26eb1f48c2f3 | [
"MIT"
] | null | null | null | tasks/dirs.py | andypbarrett/nsidc-seaice | 167a16309f7eaadd5c613b54a7df26eb1f48c2f3 | [
"MIT"
] | null | null | null | import os
import seaice.nasateam as nt
def this_dir():
return os.path.dirname(os.path.abspath(__file__))
def parent_dir():
return os.path.dirname(this_dir())
def default_config_dir():
return os.path.join(parent_dir(), 'seaice.tools', 'configs')
def output_image_dir():
return os.path.join(parent... | 17.6875 | 64 | 0.712014 | 84 | 566 | 4.511905 | 0.357143 | 0.110818 | 0.174142 | 0.237467 | 0.46438 | 0.348285 | 0.348285 | 0.200528 | 0.200528 | 0 | 0 | 0 | 0.146643 | 566 | 31 | 65 | 18.258065 | 0.784679 | 0 | 0 | 0 | 0 | 0 | 0.102474 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4375 | true | 0 | 0.125 | 0.4375 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
b98c77ac54f0888487feee1d4446a0c0fcee1a1e | 81 | py | Python | segmentfault/apps/circle/tasks.py | Yookyiss/segmentfault | 8fb7890c8b650ac34541a8fb14c3cd9bef98d120 | [
"MIT"
] | null | null | null | segmentfault/apps/circle/tasks.py | Yookyiss/segmentfault | 8fb7890c8b650ac34541a8fb14c3cd9bef98d120 | [
"MIT"
] | 12 | 2020-02-12T01:14:42.000Z | 2022-03-11T23:54:43.000Z | segmentfault/apps/circle/tasks.py | Yookyiss/segmentfault | 8fb7890c8b650ac34541a8fb14c3cd9bef98d120 | [
"MIT"
] | null | null | null | # -*- coding:utf-8 -*-
# @Time : 2019/7/29 11:39 PM
# @Author : __wutonghe__
| 20.25 | 31 | 0.555556 | 12 | 81 | 3.416667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 0.222222 | 81 | 3 | 32 | 27 | 0.460317 | 0.91358 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
b99ab66bd66c9cd85ce315540478197f26f753a7 | 248 | py | Python | backend/main/views.py | adityamittl/ThankHut | caf76c12f90b08c1b7d449930bf51a975cd8959f | [
"MIT"
] | null | null | null | backend/main/views.py | adityamittl/ThankHut | caf76c12f90b08c1b7d449930bf51a975cd8959f | [
"MIT"
] | null | null | null | backend/main/views.py | adityamittl/ThankHut | caf76c12f90b08c1b7d449930bf51a975cd8959f | [
"MIT"
] | null | null | null | from django.shortcuts import render
# Create your views here.
def index(request):
return render(request, 'index.html')
def note(request):
return render(request, 'note.html')
def send(request):
return render(request, 'send.html')
| 15.5 | 40 | 0.705645 | 33 | 248 | 5.30303 | 0.484848 | 0.222857 | 0.325714 | 0.445714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173387 | 248 | 15 | 41 | 16.533333 | 0.853659 | 0.092742 | 0 | 0 | 0 | 0 | 0.125561 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0.142857 | 0.428571 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
b9cde4d25a4ccb5a12098cf998eae765df2e7aed | 3,485 | py | Python | server/camphoric/migrations/0015_auto_20201128_0134.py | willfulbard/camphoric | 32e30e88b97a905dbde00229a34f01cb05316e08 | [
"MIT"
] | 2 | 2020-09-25T01:20:14.000Z | 2021-08-18T18:49:47.000Z | server/camphoric/migrations/0015_auto_20201128_0134.py | camphoric/camphoric | 31ad94d0da61cd649fe55b74adfb83196eef0011 | [
"MIT"
] | 57 | 2020-05-30T03:22:56.000Z | 2022-03-07T01:52:11.000Z | server/camphoric/migrations/0015_auto_20201128_0134.py | camphoric/camphoric | 31ad94d0da61cd649fe55b74adfb83196eef0011 | [
"MIT"
] | 1 | 2020-01-24T04:30:07.000Z | 2020-01-24T04:30:07.000Z | # Generated by Django 3.1.2 on 2020-11-28 01:34
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('camphoric', '0014_auto_20201025_0058'),
]
operations = [
migrations.AlterField(
model_name='camper',
name='attribute... | 35.20202 | 112 | 0.586227 | 320 | 3,485 | 6.228125 | 0.221875 | 0.170597 | 0.213246 | 0.247366 | 0.784747 | 0.747617 | 0.711992 | 0.69995 | 0.650778 | 0.363773 | 0 | 0.012789 | 0.304448 | 3,485 | 98 | 113 | 35.561224 | 0.809406 | 0.012912 | 0 | 0.652174 | 1 | 0 | 0.234729 | 0.069226 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.01087 | 0 | 0.043478 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
b9e19abcd38a18b4cb4b386c5ea53016f616a174 | 480 | py | Python | src/python/pants/backend/experimental/python/lint/autoflake/register.py | bastianwegge/pants | 43f0b90d41622bee0ed22249dbaffb3ff4ad2eb2 | [
"Apache-2.0"
] | null | null | null | src/python/pants/backend/experimental/python/lint/autoflake/register.py | bastianwegge/pants | 43f0b90d41622bee0ed22249dbaffb3ff4ad2eb2 | [
"Apache-2.0"
] | 22 | 2022-01-27T09:59:50.000Z | 2022-03-30T07:06:49.000Z | src/python/pants/backend/experimental/python/lint/autoflake/register.py | ryanking/pants | e45b00d2eb467b599966bca262405a5d74d27bdd | [
"Apache-2.0"
] | null | null | null | # Copyright 2021 Pants project contributors (see CONTRIBUTORS.md).
# Licensed under the Apache License, Version 2.0 (see LICENSE).
"""Autoformatter for removing unused Python imports.
See https://github.com/myint/autoflake for details.
"""
from pants.backend.python.lint.autoflake import rules as autoflake_rules
from... | 32 | 78 | 0.775 | 64 | 480 | 5.75 | 0.59375 | 0.048913 | 0.086957 | 0.119565 | 0.222826 | 0.222826 | 0.222826 | 0 | 0 | 0 | 0 | 0.014118 | 0.114583 | 480 | 14 | 79 | 34.285714 | 0.851765 | 0.479167 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0.25 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
6a130d9c4062cb3d5da7db7c6acb1a9244178580 | 140 | py | Python | while_loop/lab/sum_numbers.py | PetkoAndreev/Python-basics | a376362548380ae50c7c707551cb821547f44402 | [
"MIT"
] | null | null | null | while_loop/lab/sum_numbers.py | PetkoAndreev/Python-basics | a376362548380ae50c7c707551cb821547f44402 | [
"MIT"
] | null | null | null | while_loop/lab/sum_numbers.py | PetkoAndreev/Python-basics | a376362548380ae50c7c707551cb821547f44402 | [
"MIT"
] | null | null | null | target_num = int(input())
sum_nums = 0
while sum_nums < target_num:
input_num = int(input())
sum_nums += input_num
print(sum_nums) | 17.5 | 28 | 0.692857 | 23 | 140 | 3.869565 | 0.391304 | 0.314607 | 0.247191 | 0.314607 | 0.404494 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008772 | 0.185714 | 140 | 8 | 29 | 17.5 | 0.77193 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.166667 | 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 |
6a29d67e627d3f690a26eb927960da3aa98f0cd7 | 8,083 | py | Python | tests/test_message_handler/test_strategies/test_utils.py | Zapix/mtpylon | b268a4e2d1bc641cace1962ea68de73c1156e44c | [
"MIT"
] | 9 | 2021-11-10T08:53:51.000Z | 2021-12-15T12:03:44.000Z | tests/test_message_handler/test_strategies/test_utils.py | Zapix/mtpylon | b268a4e2d1bc641cace1962ea68de73c1156e44c | [
"MIT"
] | 123 | 2020-10-22T07:08:20.000Z | 2021-09-29T15:26:22.000Z | tests/test_message_handler/test_strategies/test_utils.py | Zapix/mtpylon | b268a4e2d1bc641cace1962ea68de73c1156e44c | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import pytest
from mtpylon import long, int128
from mtpylon.messages import UnencryptedMessage, EncryptedMessage
from mtpylon.serialization import CallableFunc
from mtpylon.message_handler.strategies.utils import (
is_unencrypted_message,
is_rpc_call_message,
is_container_message,
... | 27.493197 | 65 | 0.462328 | 633 | 8,083 | 5.703002 | 0.131122 | 0.049862 | 0.054017 | 0.128809 | 0.763989 | 0.751524 | 0.722992 | 0.722992 | 0.706925 | 0.706371 | 0 | 0.081258 | 0.453421 | 8,083 | 293 | 66 | 27.587031 | 0.735853 | 0.002598 | 0 | 0.676471 | 0 | 0 | 0.073077 | 0 | 0 | 0 | 0.044665 | 0 | 0.029412 | 1 | 0.029412 | false | 0 | 0.029412 | 0 | 0.058824 | 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 |
6a2b01f2dd148676aeb7010da99d2ca3c7268928 | 95 | py | Python | ip_rep/database_connector/views.py | logicbomb-1/ARTIF | 8f5cc38ab2e986ee39cbc0328aac0d825c1915b4 | [
"MIT"
] | 205 | 2021-06-21T13:49:14.000Z | 2022-02-17T05:10:50.000Z | ip_rep/database_connector/views.py | 0xDivyanshu/ARTIF | 946ea8ea7b60e2d81b35ae820a07241ecf25e9b0 | [
"MIT"
] | 3 | 2021-07-11T08:08:01.000Z | 2021-09-22T20:01:03.000Z | ip_rep/database_connector/views.py | 0xDivyanshu/ARTIF | 946ea8ea7b60e2d81b35ae820a07241ecf25e9b0 | [
"MIT"
] | 35 | 2021-06-21T10:35:07.000Z | 2021-10-11T07:39:12.000Z | from django.shortcuts import render
from pymongo import MongoClient
# Create your views here.
| 19 | 35 | 0.821053 | 13 | 95 | 6 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147368 | 95 | 4 | 36 | 23.75 | 0.962963 | 0.242105 | 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 |
6a37d0bd32839f17d66049b5827401a0cbb335da | 31 | py | Python | py/desispec/_version.py | echaussidon/desispec | 8a8bd59653861509dd630ffc8e1cd6c67f6cdd51 | [
"BSD-3-Clause"
] | null | null | null | py/desispec/_version.py | echaussidon/desispec | 8a8bd59653861509dd630ffc8e1cd6c67f6cdd51 | [
"BSD-3-Clause"
] | null | null | null | py/desispec/_version.py | echaussidon/desispec | 8a8bd59653861509dd630ffc8e1cd6c67f6cdd51 | [
"BSD-3-Clause"
] | null | null | null | __version__ = '0.49.1.dev6472'
| 15.5 | 30 | 0.709677 | 5 | 31 | 3.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 0.096774 | 31 | 1 | 31 | 31 | 0.357143 | 0 | 0 | 0 | 0 | 0 | 0.451613 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6a3d9d092ffdf84d2327df789bc2cdc2c5ecf639 | 439 | py | Python | tests/test_mocks_generator.py | yairhoresh/bias-detector | 0bc28f646c98aee33c93a6c0999a0b05c4882a61 | [
"MIT"
] | 50 | 2021-02-02T19:27:01.000Z | 2021-12-22T22:10:02.000Z | tests/test_mocks_generator.py | yairhoresh/bias-detector | 0bc28f646c98aee33c93a6c0999a0b05c4882a61 | [
"MIT"
] | 1 | 2022-02-24T08:03:39.000Z | 2022-02-24T08:03:39.000Z | tests/test_mocks_generator.py | LaudateCorpus1/bias-detector | c9229b8928f3bdee582039622dc142b623b37467 | [
"MIT"
] | 10 | 2021-02-04T23:33:26.000Z | 2022-02-28T17:13:30.000Z | from .mocks_generator import *
def test_generate_mocks():
first_names_mock, last_names_mock, zip_codes_mock, emails_mock, y_scores_mock, y_pred_mock, y_true_mock = generate_mocks(10)
assert len(first_names_mock) == 10
assert len(last_names_mock) == 10
assert len(zip_codes_mock) == 10
assert len(ema... | 39.909091 | 128 | 0.733485 | 72 | 439 | 4.055556 | 0.291667 | 0.191781 | 0.263699 | 0.308219 | 0.30137 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043956 | 0.170843 | 439 | 11 | 129 | 39.909091 | 0.758242 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.7 | 1 | 0.1 | true | 0 | 0.1 | 0 | 0.2 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e003c3686dbddde727f2a55cd6d3e1b10d25e58e | 201 | py | Python | src/dfd/datasets/modifications/__init__.py | cicheck/dfd | b02752f958cfea2f85222e2b4b3ba7e265a6152d | [
"MIT"
] | null | null | null | src/dfd/datasets/modifications/__init__.py | cicheck/dfd | b02752f958cfea2f85222e2b4b3ba7e265a6152d | [
"MIT"
] | 2 | 2021-12-31T17:44:20.000Z | 2021-12-31T19:51:11.000Z | src/dfd/datasets/modifications/__init__.py | cicheck/dfd | b02752f958cfea2f85222e2b4b3ba7e265a6152d | [
"MIT"
] | null | null | null | """Definitions of frame level modifications.
Each modification takes as input single frame and outputs modified frame.
"""
from dfd.datasets.modifications.definitions.clahe import CLAHEModification
| 25.125 | 74 | 0.820896 | 24 | 201 | 6.875 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119403 | 201 | 7 | 75 | 28.714286 | 0.932203 | 0.577114 | 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 |
e008ef0dfb77ddde56a895453636f91569106be5 | 170 | py | Python | comtypes/test/setup.py | phuslu/pyMSAA | 611bc4c31e0d6ba36f0f0bebdc6e6be14b994eb0 | [
"MIT"
] | 23 | 2015-05-28T15:31:35.000Z | 2022-02-16T07:51:34.000Z | comtypes/test/setup.py | kar98kar/pyMSAA | 611bc4c31e0d6ba36f0f0bebdc6e6be14b994eb0 | [
"MIT"
] | 3 | 2020-05-19T03:00:52.000Z | 2020-11-03T09:22:51.000Z | comtypes/test/setup.py | kar98kar/pyMSAA | 611bc4c31e0d6ba36f0f0bebdc6e6be14b994eb0 | [
"MIT"
] | 13 | 2016-08-26T23:00:40.000Z | 2022-03-03T09:58:36.000Z | # all the unittests can be converted to exe-files.
from distutils.core import setup
import glob
import py2exe
setup(name='test_*', console=glob.glob("test_*.py"))
| 24.285714 | 53 | 0.735294 | 26 | 170 | 4.730769 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006944 | 0.152941 | 170 | 6 | 54 | 28.333333 | 0.847222 | 0.282353 | 0 | 0 | 0 | 0 | 0.131579 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
e03bf7f0b753932fd48e0d252639cad3d22fea6d | 86 | py | Python | pyFiDEL/__init__.py | sungcheolkim78/pyFiDEL | 670067b12a2efd276e23382251ec612af678731f | [
"Apache-2.0"
] | null | null | null | pyFiDEL/__init__.py | sungcheolkim78/pyFiDEL | 670067b12a2efd276e23382251ec612af678731f | [
"Apache-2.0"
] | null | null | null | pyFiDEL/__init__.py | sungcheolkim78/pyFiDEL | 670067b12a2efd276e23382251ec612af678731f | [
"Apache-2.0"
] | null | null | null | from .simulator import SimClassifier
from .pcr import PCR
from .ensemble import FiDEL
| 21.5 | 36 | 0.825581 | 12 | 86 | 5.916667 | 0.583333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139535 | 86 | 3 | 37 | 28.666667 | 0.959459 | 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 |
e073e43fb191ceedd3b610406c7ce78e3814aeae | 27 | py | Python | msgflow/__init__.py | noriyukipy/smilechat | a9c0ef93c35b2a1f3e9d1700391ae865544adfbc | [
"MIT"
] | 2 | 2020-09-19T07:57:28.000Z | 2020-09-20T10:41:42.000Z | msgflow/__init__.py | noriyukipy/smilechat | a9c0ef93c35b2a1f3e9d1700391ae865544adfbc | [
"MIT"
] | null | null | null | msgflow/__init__.py | noriyukipy/smilechat | a9c0ef93c35b2a1f3e9d1700391ae865544adfbc | [
"MIT"
] | 2 | 2020-09-20T10:41:51.000Z | 2020-11-09T06:15:32.000Z | from .bot import Messenger
| 13.5 | 26 | 0.814815 | 4 | 27 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.956522 | 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 |
0ec07f317ec396e2b695fa4589614010547b3cb8 | 151 | py | Python | pdfplay/views.py | dbads/pdf_processing | 5ab60cf0ad8e93c8619ed3cc77ddd420f0a3abf5 | [
"MIT"
] | null | null | null | pdfplay/views.py | dbads/pdf_processing | 5ab60cf0ad8e93c8619ed3cc77ddd420f0a3abf5 | [
"MIT"
] | 9 | 2020-02-12T03:23:57.000Z | 2022-01-13T01:58:36.000Z | pdfplay/views.py | dbads/pdf_processing | 5ab60cf0ad8e93c8619ed3cc77ddd420f0a3abf5 | [
"MIT"
] | null | null | null | from django.shortcuts import render, get_object_or_404, redirect
def pdf_play(request):
return render(request, 'pdf_play.html', {
}) | 21.571429 | 64 | 0.695364 | 20 | 151 | 5 | 0.8 | 0.14 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025 | 0.205298 | 151 | 7 | 65 | 21.571429 | 0.808333 | 0 | 0 | 0 | 0 | 0 | 0.085526 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
0ef313666d9a8df945780e013fe54f9e8669cfeb | 133 | py | Python | attic/gui/accounting/__init__.py | awacha/cct | be1adbed2533df15c778051f3f4f9da0749c873a | [
"BSD-3-Clause"
] | 1 | 2015-11-04T16:37:39.000Z | 2015-11-04T16:37:39.000Z | attic/gui/accounting/__init__.py | awacha/cct | be1adbed2533df15c778051f3f4f9da0749c873a | [
"BSD-3-Clause"
] | null | null | null | attic/gui/accounting/__init__.py | awacha/cct | be1adbed2533df15c778051f3f4f9da0749c873a | [
"BSD-3-Clause"
] | 1 | 2020-03-05T02:50:43.000Z | 2020-03-05T02:50:43.000Z | from .authenticatordialog import AuthenticatorDialog
from .projectmanager import ProjectManager
from .usermanager import UserManager
| 33.25 | 52 | 0.887218 | 12 | 133 | 9.833333 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090226 | 133 | 3 | 53 | 44.333333 | 0.975207 | 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 |
1609886486077d333ed1462e0148def80f39d1ed | 207 | py | Python | read.py | pedrocaseiro/twitch-bot | 12661901a0bea463508334250c9886abc3ca776b | [
"MIT"
] | 1 | 2017-01-08T17:43:18.000Z | 2017-01-08T17:43:18.000Z | read.py | pedrocaseiro/twitch-bot | 12661901a0bea463508334250c9886abc3ca776b | [
"MIT"
] | null | null | null | read.py | pedrocaseiro/twitch-bot | 12661901a0bea463508334250c9886abc3ca776b | [
"MIT"
] | null | null | null | import string
def getUser(line):
separate = line.split(":", 2)
user = separate[1].split("!", 1)[0]
return user
def getMessage(line):
separate = line.split(":", 2)
message = separate[2]
return message | 18.818182 | 36 | 0.666667 | 29 | 207 | 4.758621 | 0.482759 | 0.173913 | 0.231884 | 0.304348 | 0.318841 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034286 | 0.154589 | 207 | 11 | 37 | 18.818182 | 0.754286 | 0 | 0 | 0.222222 | 0 | 0 | 0.014423 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0 | 0.555556 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
161cfa9f4872e789ebc8897cfa9cfb2e456af9ed | 67 | py | Python | stubs/asn1crypto/algos.py | joernheissler/chipcard | 1ec1da0a1575f8d9735ae14fb54df6a20e654fbb | [
"MIT"
] | 1 | 2020-04-23T09:13:33.000Z | 2020-04-23T09:13:33.000Z | stubs/asn1crypto/algos.py | joernheissler/chipcard | 1ec1da0a1575f8d9735ae14fb54df6a20e654fbb | [
"MIT"
] | null | null | null | stubs/asn1crypto/algos.py | joernheissler/chipcard | 1ec1da0a1575f8d9735ae14fb54df6a20e654fbb | [
"MIT"
] | null | null | null | from .core import Sequence
class DHParameters(Sequence):
...
| 11.166667 | 29 | 0.701493 | 7 | 67 | 6.714286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19403 | 67 | 5 | 30 | 13.4 | 0.87037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
161de2dc5dd7767243b2e68991638c51774852bf | 57 | py | Python | rio_viz/templates/__init__.py | dzanaga/rio-viz | 88ec2dec0d69c9d13e5485af7315cc7b56a25963 | [
"MIT"
] | null | null | null | rio_viz/templates/__init__.py | dzanaga/rio-viz | 88ec2dec0d69c9d13e5485af7315cc7b56a25963 | [
"MIT"
] | null | null | null | rio_viz/templates/__init__.py | dzanaga/rio-viz | 88ec2dec0d69c9d13e5485af7315cc7b56a25963 | [
"MIT"
] | null | null | null | """rio_viz.templates"""
from .template import * # noqa
| 14.25 | 31 | 0.666667 | 7 | 57 | 5.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 57 | 3 | 32 | 19 | 0.770833 | 0.403509 | 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 |
16574e03be20d970ce586fdad8a048a93410bda9 | 120 | py | Python | amd64-linux/lib/python/mod_pmppc_components_gcommands.py | qiyancos/Simics-3.0.31 | 9bd52d5abad023ee87a37306382a338abf7885f1 | [
"BSD-4-Clause",
"FSFAP"
] | 1 | 2020-06-15T10:41:18.000Z | 2020-06-15T10:41:18.000Z | amd64-linux/lib/python/mod_pmppc_components_gcommands.py | qiyancos/Simics-3.0.31 | 9bd52d5abad023ee87a37306382a338abf7885f1 | [
"BSD-4-Clause",
"FSFAP"
] | null | null | null | amd64-linux/lib/python/mod_pmppc_components_gcommands.py | qiyancos/Simics-3.0.31 | 9bd52d5abad023ee87a37306382a338abf7885f1 | [
"BSD-4-Clause",
"FSFAP"
] | 3 | 2020-08-10T10:25:02.000Z | 2021-09-12T01:12:09.000Z | ## Copyright 2005-2007 Virtutech AB
from components import register_components
register_components('pmppc-components')
| 30 | 42 | 0.841667 | 14 | 120 | 7.071429 | 0.714286 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073395 | 0.091667 | 120 | 3 | 43 | 40 | 0.834862 | 0.266667 | 0 | 0 | 0 | 0 | 0.190476 | 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 |
1659437885a7b7d145d957a21b895af0ef1a74c1 | 140 | py | Python | src/tutorial/todo/admin.py | okwrtdsh/django_tutorial | 3125b9a9b1d606626507d01142c4437d03909e0a | [
"MIT"
] | null | null | null | src/tutorial/todo/admin.py | okwrtdsh/django_tutorial | 3125b9a9b1d606626507d01142c4437d03909e0a | [
"MIT"
] | null | null | null | src/tutorial/todo/admin.py | okwrtdsh/django_tutorial | 3125b9a9b1d606626507d01142c4437d03909e0a | [
"MIT"
] | null | null | null | from django.contrib import admin
from tutorial.todo.models import ToDoUser, ToDo
admin.site.register(ToDoUser)
admin.site.register(ToDo)
| 17.5 | 47 | 0.814286 | 20 | 140 | 5.7 | 0.55 | 0.157895 | 0.298246 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 140 | 7 | 48 | 20 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
1661fb8cb169b10d9c0631cbd2b573355ff40f8d | 47 | py | Python | cli_toolkit/tests/__init__.py | hile/cli-toolkit | 3dbd6b97e69cc0b9a3b9facb33e0a4e6b7d1bc33 | [
"PSF-2.0"
] | null | null | null | cli_toolkit/tests/__init__.py | hile/cli-toolkit | 3dbd6b97e69cc0b9a3b9facb33e0a4e6b7d1bc33 | [
"PSF-2.0"
] | null | null | null | cli_toolkit/tests/__init__.py | hile/cli-toolkit | 3dbd6b97e69cc0b9a3b9facb33e0a4e6b7d1bc33 | [
"PSF-2.0"
] | null | null | null | """
Unit testing utilities for cli-toolkit
"""
| 11.75 | 38 | 0.702128 | 6 | 47 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148936 | 47 | 3 | 39 | 15.666667 | 0.825 | 0.808511 | 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 |
1675ea3cb14efbd54dd264b56885fd47e00fd832 | 106 | py | Python | pystac/models/__init__.py | geobeyond/py-stac | f15f3511737c35fca27da21b38a98960e21f4293 | [
"Apache-2.0"
] | null | null | null | pystac/models/__init__.py | geobeyond/py-stac | f15f3511737c35fca27da21b38a98960e21f4293 | [
"Apache-2.0"
] | null | null | null | pystac/models/__init__.py | geobeyond/py-stac | f15f3511737c35fca27da21b38a98960e21f4293 | [
"Apache-2.0"
] | null | null | null | from .asset import Asset
from .item import Item
from .link import Link
from .properties import Properties
| 21.2 | 34 | 0.811321 | 16 | 106 | 5.375 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150943 | 106 | 4 | 35 | 26.5 | 0.955556 | 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 |
16a98307cd93bbd4adf4ccec212b1f7a2f14ae74 | 40 | py | Python | flagger/exception.py | bbenabbes/flagger | d2ff30821b4fdef008f6e6ae6b4fb752e40c2d7e | [
"MIT"
] | 1 | 2019-05-15T11:07:27.000Z | 2019-05-15T11:07:27.000Z | flagger/exception.py | bbenabbes/flagger | d2ff30821b4fdef008f6e6ae6b4fb752e40c2d7e | [
"MIT"
] | null | null | null | flagger/exception.py | bbenabbes/flagger | d2ff30821b4fdef008f6e6ae6b4fb752e40c2d7e | [
"MIT"
] | 1 | 2020-01-03T10:14:56.000Z | 2020-01-03T10:14:56.000Z | class FlaggerError(Exception):
pass
| 13.333333 | 30 | 0.75 | 4 | 40 | 7.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175 | 40 | 2 | 31 | 20 | 0.909091 | 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 |
bc4cbbda9a587e154bdcd6b9d5f851ad3d51d31d | 841 | py | Python | dplex.py | Dream7-Kim/graduation_code | be1808f90589c08d7283a8e12f52e22a5749c27d | [
"MIT"
] | null | null | null | dplex.py | Dream7-Kim/graduation_code | be1808f90589c08d7283a8e12f52e22a5749c27d | [
"MIT"
] | null | null | null | dplex.py | Dream7-Kim/graduation_code | be1808f90589c08d7283a8e12f52e22a5749c27d | [
"MIT"
] | null | null | null | import jax.numpy as np
import logging
def deinsum(subscript, aa, bb):
real = np.einsum(subscript, aa[0], bb[0]) - np.einsum(subscript, aa[1], bb[1])
imag = np.einsum(subscript, aa[0], bb[1]) + np.einsum(subscript, aa[1], bb[0])
return np.stack([real, imag], axis=0)
def deinsum_ord(subscript, aa, bb):
... | 29 | 82 | 0.612366 | 149 | 841 | 3.449664 | 0.214765 | 0.171206 | 0.198444 | 0.22179 | 0.498054 | 0.437743 | 0.303502 | 0.252918 | 0 | 0 | 0 | 0.035139 | 0.187872 | 841 | 29 | 83 | 29 | 0.717423 | 0.029727 | 0 | 0.136364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.318182 | false | 0 | 0.090909 | 0.181818 | 0.727273 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
bc68ca7afbfdf0fb3c5a9889f8e42dcfb454d170 | 182 | py | Python | pyleus/__init__.py | dapuck/pyleus | f5c4a06cf8351d0c6bc28b07edbe99025455409c | [
"Apache-2.0"
] | 166 | 2015-01-14T16:06:37.000Z | 2021-11-15T12:17:11.000Z | pyleus/__init__.py | WenbinTan/pyleus | 8ab87e2d18b8b6a7e0471ceefdbb3ff23a576cce | [
"Apache-2.0"
] | 105 | 2015-01-16T19:59:06.000Z | 2016-05-13T19:40:45.000Z | pyleus/__init__.py | WenbinTan/pyleus | 8ab87e2d18b8b6a7e0471ceefdbb3ff23a576cce | [
"Apache-2.0"
] | 62 | 2015-01-19T07:42:24.000Z | 2021-06-05T21:02:09.000Z | from __future__ import absolute_import
import pkg_resources
__version__ = '0.3.0'
BASE_JAR = "pyleus-base.jar"
BASE_JAR_PATH = pkg_resources.resource_filename('pyleus', BASE_JAR)
| 20.222222 | 67 | 0.802198 | 27 | 182 | 4.814815 | 0.555556 | 0.215385 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018405 | 0.104396 | 182 | 8 | 68 | 22.75 | 0.779141 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 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 |
bcb715d3c6b6fa6d597e8d6b17001f53b6a1ae57 | 11,165 | py | Python | sdk/lusid/models/__init__.py | mneedham/lusid-sdk-python | edabec16b357ba3fc48a53f3faacb4f94b18843e | [
"MIT"
] | null | null | null | sdk/lusid/models/__init__.py | mneedham/lusid-sdk-python | edabec16b357ba3fc48a53f3faacb4f94b18843e | [
"MIT"
] | null | null | null | sdk/lusid/models/__init__.py | mneedham/lusid-sdk-python | edabec16b357ba3fc48a53f3faacb4f94b18843e | [
"MIT"
] | null | null | null | # coding: utf-8
# flake8: noqa
"""
LUSID API
FINBOURNE Technology # noqa: E501
The version of the OpenAPI document: 0.11.2808
Contact: info@finbourne.com
Generated by: https://openapi-generator.tech
"""
from __future__ import absolute_import
# import models into model package
from lusid.model... | 69.347826 | 131 | 0.915092 | 1,242 | 11,165 | 7.94525 | 0.219002 | 0.130422 | 0.217369 | 0.044285 | 0.255371 | 0.147953 | 0.081273 | 0.008715 | 0 | 0 | 0 | 0.00114 | 0.056964 | 11,165 | 160 | 132 | 69.78125 | 0.936081 | 0.020331 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
bcb7571f4904175d49f4329483b1baabf1cc4fce | 214 | py | Python | timeline/dbindexes.py | asrashley/ieee-802-11-timeline | b4375dbde023dee214642e18c09318e9383a2bcf | [
"Apache-2.0"
] | null | null | null | timeline/dbindexes.py | asrashley/ieee-802-11-timeline | b4375dbde023dee214642e18c09318e9383a2bcf | [
"Apache-2.0"
] | null | null | null | timeline/dbindexes.py | asrashley/ieee-802-11-timeline | b4375dbde023dee214642e18c09318e9383a2bcf | [
"Apache-2.0"
] | 1 | 2020-06-01T07:46:12.000Z | 2020-06-01T07:46:12.000Z | from models import DenormalizedProjectBallots
from dbindexer.lookups import StandardLookup
from dbindexer.api import register_index
#register_index(DenormalizedProjectBallots, {'project__pk': StandardLookup(),
#}) | 35.666667 | 77 | 0.85514 | 21 | 214 | 8.52381 | 0.571429 | 0.145251 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074766 | 214 | 6 | 78 | 35.666667 | 0.90404 | 0.364486 | 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 |
bcbb11d9e39ab6341c66fb1dc0f07d1556cf7992 | 8,570 | py | Python | raiden_contracts/tests/test_channel_close.py | anmolshl/raiden-contracts | fd752a1e7ef2a77ce90a1a6cf87cebcca66d5038 | [
"MIT"
] | null | null | null | raiden_contracts/tests/test_channel_close.py | anmolshl/raiden-contracts | fd752a1e7ef2a77ce90a1a6cf87cebcca66d5038 | [
"MIT"
] | null | null | null | raiden_contracts/tests/test_channel_close.py | anmolshl/raiden-contracts | fd752a1e7ef2a77ce90a1a6cf87cebcca66d5038 | [
"MIT"
] | null | null | null | import pytest
from eth_tester.exceptions import TransactionFailed
from raiden_contracts.constants import (
TEST_SETTLE_TIMEOUT_MIN,
EVENT_CHANNEL_CLOSED,
CHANNEL_STATE_NONEXISTENT,
CHANNEL_STATE_SETTLED,
CHANNEL_STATE_OPENED,
CHANNEL_STATE_CLOSED,
)
from raiden_contracts.utils.events import che... | 25.58209 | 95 | 0.639907 | 1,022 | 8,570 | 5.021526 | 0.118395 | 0.084178 | 0.094115 | 0.090023 | 0.802611 | 0.755651 | 0.712977 | 0.691738 | 0.632892 | 0.623539 | 0 | 0.019542 | 0.265578 | 8,570 | 334 | 96 | 25.658683 | 0.795837 | 0.04084 | 0 | 0.774074 | 0 | 0 | 0.007795 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 1 | 0.040741 | false | 0 | 0.018519 | 0 | 0.059259 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
4c7190701e0b1bec12530d62480fcec0b3bbdc47 | 32 | py | Python | brotab/tests/mocks.py | craigevil/brotab | 9d21332af716b73a8bc5dee90b7ea26baeb99a7c | [
"MIT"
] | 3 | 2022-03-30T01:29:07.000Z | 2022-03-30T10:41:36.000Z | brotab/tests/mocks.py | craigevil/brotab | 9d21332af716b73a8bc5dee90b7ea26baeb99a7c | [
"MIT"
] | null | null | null | brotab/tests/mocks.py | craigevil/brotab | 9d21332af716b73a8bc5dee90b7ea26baeb99a7c | [
"MIT"
] | null | null | null | class BrowserPortMock:
pass
| 10.666667 | 22 | 0.75 | 3 | 32 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.21875 | 32 | 2 | 23 | 16 | 0.96 | 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 |
4c7801deb524a1c11b2e33ff460041710f97750c | 199 | py | Python | tests/__init__.py | ekhtiar/airflow | 9410715c81a2a16dcd04e7cce56d75747bb19ff6 | [
"Apache-2.0"
] | null | null | null | tests/__init__.py | ekhtiar/airflow | 9410715c81a2a16dcd04e7cce56d75747bb19ff6 | [
"Apache-2.0"
] | null | null | null | tests/__init__.py | ekhtiar/airflow | 9410715c81a2a16dcd04e7cce56d75747bb19ff6 | [
"Apache-2.0"
] | 1 | 2019-12-12T06:44:14.000Z | 2019-12-12T06:44:14.000Z | from __future__ import absolute_import
from .configuration import *
from .core import *
from .jobs import *
from .models import *
from .operators import *
from .contrib import *
from .utils import *
| 22.111111 | 38 | 0.768844 | 26 | 199 | 5.692308 | 0.423077 | 0.472973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160804 | 199 | 8 | 39 | 24.875 | 0.886228 | 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 |
d5e4ed175f3d8cf00270349bde7092b3e63d44da | 43 | py | Python | models/cells/PC2001Miyasho/__init__.py | HarshKhilawala/cerebmodels | d2a2f2ef947ef9dc23ddce6e55159240cd3233cb | [
"BSD-3-Clause"
] | null | null | null | models/cells/PC2001Miyasho/__init__.py | HarshKhilawala/cerebmodels | d2a2f2ef947ef9dc23ddce6e55159240cd3233cb | [
"BSD-3-Clause"
] | 9 | 2020-03-24T17:09:03.000Z | 2021-05-17T16:11:17.000Z | models/cells/PC2001Miyasho/__init__.py | myHBPwork/cerebmodels | 371ea7f1bbe388f1acade17c7128b8ca6ab8fb7a | [
"BSD-3-Clause"
] | 1 | 2021-05-21T03:08:41.000Z | 2021-05-21T03:08:41.000Z | # ~/models/cells/PC2001Miyasho/__init__.py
| 21.5 | 42 | 0.790698 | 5 | 43 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 0.046512 | 43 | 1 | 43 | 43 | 0.634146 | 0.930233 | 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 |
910f33eefb3f8b53f4490be32eb382248cee0c0c | 3,913 | py | Python | ai/causalcell/models/translation_models.py | Bertinus/causal_cell_embedding | 417b55749130fc7b7832fd3ee4c49feff4a04593 | [
"MIT"
] | null | null | null | ai/causalcell/models/translation_models.py | Bertinus/causal_cell_embedding | 417b55749130fc7b7832fd3ee4c49feff4a04593 | [
"MIT"
] | null | null | null | ai/causalcell/models/translation_models.py | Bertinus/causal_cell_embedding | 417b55749130fc7b7832fd3ee4c49feff4a04593 | [
"MIT"
] | null | null | null | from ai.causalcell.models.utils import *
import ai.causalcell.utils.register as register
import torch
from ai.causalcell.models.autoencoder import VariationalAutoEncoder
import torch.nn as nn
import copy
@register.setmodelname('env_trans_VAE')
class TranslationVariationalAutoEncoder(VariationalAutoEncoder):
"""
... | 46.035294 | 117 | 0.639152 | 494 | 3,913 | 4.908907 | 0.206478 | 0.037113 | 0.039588 | 0.036289 | 0.745567 | 0.727423 | 0.727423 | 0.727423 | 0.727423 | 0.727423 | 0 | 0.008729 | 0.268081 | 3,913 | 84 | 118 | 46.583333 | 0.837989 | 0.186302 | 0 | 0.631579 | 0 | 0 | 0.057449 | 0.007141 | 0 | 0 | 0 | 0 | 0 | 1 | 0.070175 | false | 0 | 0.105263 | 0 | 0.245614 | 0.122807 | 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 |
911cb0825001751b3234282d0109171076d7c383 | 2,574 | py | Python | pytils/test/test_utils.py | yamnikov-oleg/pytils | d09ecdfca203aa67814487fb07792a000995b072 | [
"MIT"
] | null | null | null | pytils/test/test_utils.py | yamnikov-oleg/pytils | d09ecdfca203aa67814487fb07792a000995b072 | [
"MIT"
] | null | null | null | pytils/test/test_utils.py | yamnikov-oleg/pytils | d09ecdfca203aa67814487fb07792a000995b072 | [
"MIT"
] | 1 | 2022-02-19T08:36:07.000Z | 2022-02-19T08:36:07.000Z | # -*- coding: utf-8 -*-
"""
Unit-tests for pytils.utils
"""
import decimal
import unittest
import pytils
class ChecksTestCase(unittest.TestCase):
"""
Test case for check_* utils
"""
def testCheckLength(self):
"""
Unit-test for pytils.utils.check_length
"""
se... | 38.41791 | 128 | 0.651127 | 306 | 2,574 | 5.362745 | 0.179739 | 0.180987 | 0.175503 | 0.190128 | 0.801341 | 0.776356 | 0.703839 | 0.631322 | 0.287629 | 0.130408 | 0 | 0.011111 | 0.195804 | 2,574 | 66 | 129 | 39 | 0.781643 | 0.107226 | 0 | 0.090909 | 0 | 0 | 0.100321 | 0.014659 | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0.121212 | false | 0 | 0.090909 | 0 | 0.272727 | 0 | 0 | 0 | 0 | null | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
912e06e33a6a27013d2009e2907af76625e51bb0 | 28 | py | Python | src/LuauAST/types/nodes.py | Roblox-py/roblox-py | 64d6d129c5d6a8edb43410242333fe539d34a1d9 | [
"MIT"
] | 2 | 2021-01-08T20:43:36.000Z | 2021-05-24T14:31:20.000Z | src/LuauAST/types/nodes.py | Roblox-py/roblox-py | 64d6d129c5d6a8edb43410242333fe539d34a1d9 | [
"MIT"
] | null | null | null | src/LuauAST/types/nodes.py | Roblox-py/roblox-py | 64d6d129c5d6a8edb43410242333fe539d34a1d9 | [
"MIT"
] | null | null | null | import luau from 'LuauAST'
| 9.333333 | 26 | 0.75 | 4 | 28 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 28 | 2 | 27 | 14 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0.259259 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 1 | null | null | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
e66b274323ce013e38bd7639b7d4c83f71b1e91f | 120 | py | Python | bin/CoverView.py | RahmanTeamDevelopment/CoverView | ece798725ac9ff7dfd74fcf1daee62fb6aca0f69 | [
"MIT"
] | 2 | 2018-04-10T07:57:09.000Z | 2018-04-23T09:11:39.000Z | bin/CoverView.py | RahmanTeamDevelopment/CoverView | ece798725ac9ff7dfd74fcf1daee62fb6aca0f69 | [
"MIT"
] | 22 | 2017-05-12T15:02:04.000Z | 2020-06-17T09:14:28.000Z | bin/CoverView.py | RahmanTeamDevelopment/CoverView | ece798725ac9ff7dfd74fcf1daee62fb6aca0f69 | [
"MIT"
] | null | null | null | #!env/bin/python
import sys
import coverview_.main
if __name__ == "__main__":
coverview_.main.main(sys.argv[1:])
| 13.333333 | 38 | 0.708333 | 17 | 120 | 4.411765 | 0.647059 | 0.346667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009709 | 0.141667 | 120 | 8 | 39 | 15 | 0.718447 | 0.125 | 0 | 0 | 0 | 0 | 0.076923 | 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 |
e67bf8add2ad41c33a8611539dc4145ca9b9a12c | 286 | py | Python | pyvi/tests/utils.py | Julian/PyVi | 5e9e087146e0baffbe791bacccbfd4b840cdeb5f | [
"MIT"
] | 3 | 2018-07-26T09:52:31.000Z | 2019-07-02T14:29:31.000Z | pyvi/tests/utils.py | Julian/PyVi | 5e9e087146e0baffbe791bacccbfd4b840cdeb5f | [
"MIT"
] | null | null | null | pyvi/tests/utils.py | Julian/PyVi | 5e9e087146e0baffbe791bacccbfd4b840cdeb5f | [
"MIT"
] | null | null | null | class StubCursor(object):
column = 0
row = 0
def __iter__(self):
return iter([self.row, self.column])
@property
def coords(self):
return self.row, self.column
@coords.setter
def coords(self, coords):
self.row, self.column = coords
| 19.066667 | 44 | 0.601399 | 36 | 286 | 4.666667 | 0.361111 | 0.125 | 0.196429 | 0.303571 | 0.27381 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009804 | 0.286713 | 286 | 14 | 45 | 20.428571 | 0.813725 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0 | 0.181818 | 0.727273 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
e699117a41937afdb0b4f4577b801c50bd7a19ec | 11,349 | py | Python | scripts/heatmap_fig/pathdip.py | hui2000ji/scETM | 0a34c345d70b262ebc38e033bae683fa4929ed3e | [
"BSD-3-Clause"
] | 24 | 2021-07-09T12:59:31.000Z | 2022-03-04T22:31:41.000Z | scripts/heatmap_fig/pathdip.py | hui2000ji/scETM | 0a34c345d70b262ebc38e033bae683fa4929ed3e | [
"BSD-3-Clause"
] | 3 | 2021-09-07T11:14:19.000Z | 2022-02-15T01:38:09.000Z | scripts/heatmap_fig/pathdip.py | hui2000ji/scETM | 0a34c345d70b262ebc38e033bae683fa4929ed3e | [
"BSD-3-Clause"
] | 3 | 2021-12-02T23:44:37.000Z | 2022-02-11T16:46:45.000Z | # Note: Works with Python 3 and up
import urllib.request, urllib.parse
# ########################################################################################################
# class library mirDIP_Http #
# ##############################... | 40.532143 | 215 | 0.627456 | 1,215 | 11,349 | 5.835391 | 0.1893 | 0.016784 | 0.049506 | 0.062341 | 0.779972 | 0.761495 | 0.731735 | 0.721016 | 0.721016 | 0.721016 | 0 | 0.018005 | 0.22187 | 11,349 | 280 | 216 | 40.532143 | 0.784849 | 0.413164 | 0 | 0.416 | 0 | 0.056 | 0.34706 | 0.114896 | 0 | 0 | 0.001356 | 0 | 0 | 1 | 0.112 | false | 0 | 0.008 | 0.008 | 0.32 | 0.248 | 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 |
fc150a4185036a1af01114a91bef1afb12d1ddb4 | 96 | py | Python | Str_Repr/test2.py | DSNR/snippets | 12006dd083be60c6444d8b5ca48fd917005e081b | [
"MIT"
] | null | null | null | Str_Repr/test2.py | DSNR/snippets | 12006dd083be60c6444d8b5ca48fd917005e081b | [
"MIT"
] | null | null | null | Str_Repr/test2.py | DSNR/snippets | 12006dd083be60c6444d8b5ca48fd917005e081b | [
"MIT"
] | null | null | null | a = [1,2,3,4]
b = 'sample string'
print str(a)
print repr(a)
print str(b)
print repr(b) | 12 | 20 | 0.583333 | 20 | 96 | 2.8 | 0.55 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054795 | 0.239583 | 96 | 8 | 21 | 12 | 0.712329 | 0 | 0 | 0 | 0 | 0 | 0.144444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
fc9957732fd3e2ee4f929fdf84f63035260fd64c | 5,341 | py | Python | code/G2/cfg.py | HJHjiahao/FCGP | fcb511157e9014d1ead778fc402900bd101c6425 | [
"MIT"
] | null | null | null | code/G2/cfg.py | HJHjiahao/FCGP | fcb511157e9014d1ead778fc402900bd101c6425 | [
"MIT"
] | null | null | null | code/G2/cfg.py | HJHjiahao/FCGP | fcb511157e9014d1ead778fc402900bd101c6425 | [
"MIT"
] | null | null | null | '''
Function:
配置文件
'''
import os
'''字体'''
FONTPATH = os.path.join(os.getcwd(), 'G2/resources/font/font.ttf')
'''图片'''
BULLET_IMAGE_PATHS = {
'up': os.path.join(os.getcwd(), 'G2/resources/images/bullet/bullet_up.png'),
'down': os.path.join(os.getcwd(), 'G2/resources/images/bullet/bullet_down.png'),
... | 58.054348 | 95 | 0.662048 | 800 | 5,341 | 4.32 | 0.11625 | 0.104167 | 0.173611 | 0.208333 | 0.782986 | 0.782986 | 0.771412 | 0.763021 | 0.69213 | 0.536169 | 0 | 0.027148 | 0.124134 | 5,341 | 92 | 96 | 58.054348 | 0.711629 | 0.004119 | 0 | 0 | 0 | 0 | 0.473006 | 0.432089 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.012346 | 0 | 0.012346 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
5d9d2fb6d86b823a1620b3c1acd96472abd70e42 | 4,094 | py | Python | tapiriik/testing/stddevice.py | Decathlon/exercisync | e9df9d4f2210fff8cfc8b34e2e5f9d09d84bddef | [
"Apache-2.0"
] | null | null | null | tapiriik/testing/stddevice.py | Decathlon/exercisync | e9df9d4f2210fff8cfc8b34e2e5f9d09d84bddef | [
"Apache-2.0"
] | null | null | null | tapiriik/testing/stddevice.py | Decathlon/exercisync | e9df9d4f2210fff8cfc8b34e2e5f9d09d84bddef | [
"Apache-2.0"
] | null | null | null | from unittest import TestCase
from tapiriik.services.devices import Device
from tapiriik.services.Decathlon.decathlon import DecathlonService
class StdDeviceTest(TestCase):
def test_fit_manufacturer_with_no_fit_device_return_provided_manufacturer_none_product(self):
undefined_fit_device_and_decathlon_fit_... | 38.622642 | 128 | 0.648999 | 378 | 4,094 | 6.730159 | 0.187831 | 0.053066 | 0.042453 | 0.049528 | 0.775943 | 0.727987 | 0.723664 | 0.723664 | 0.723664 | 0.723664 | 0 | 0.079729 | 0.243283 | 4,094 | 106 | 129 | 38.622642 | 0.741446 | 0.010503 | 0 | 0.644737 | 0 | 0 | 0.242394 | 0.089043 | 0 | 0 | 0 | 0 | 0.210526 | 1 | 0.052632 | false | 0 | 0.039474 | 0 | 0.105263 | 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 |
5dc888ea421123a6cedbb0e30ce1181f1fb47307 | 146 | py | Python | encode/tests/__init__.py | Ircam-Web/django-encode | 2c1c9d843865ec99fb5b45631d6f08a9c7cb86ce | [
"MIT"
] | 11 | 2015-03-11T20:48:13.000Z | 2021-12-14T14:17:39.000Z | encode/tests/__init__.py | Ircam-Web/django-encode | 2c1c9d843865ec99fb5b45631d6f08a9c7cb86ce | [
"MIT"
] | 2 | 2015-11-24T22:10:06.000Z | 2017-05-26T09:27:02.000Z | encode/tests/__init__.py | Ircam-Web/django-encode | 2c1c9d843865ec99fb5b45631d6f08a9c7cb86ce | [
"MIT"
] | 2 | 2019-08-09T17:29:41.000Z | 2020-08-31T16:47:27.000Z | # Copyright Collab 2012-2016
# See LICENSE for details.
"""
Tests for the :py:mod:`encode` project.
"""
from .celery import app # flake8: noqa
| 16.222222 | 39 | 0.691781 | 21 | 146 | 4.809524 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 0.178082 | 146 | 8 | 40 | 18.25 | 0.766667 | 0.719178 | 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 |
5deda6cdf80bdf5091832ea3ef23ddc56fbe2e17 | 361 | py | Python | dev_tools/test_manager.py | SocialSisterYi/Alconna | 3e1d986ca5486dfd3c7bd80118a75364ab6831b8 | [
"MIT"
] | null | null | null | dev_tools/test_manager.py | SocialSisterYi/Alconna | 3e1d986ca5486dfd3c7bd80118a75364ab6831b8 | [
"MIT"
] | null | null | null | dev_tools/test_manager.py | SocialSisterYi/Alconna | 3e1d986ca5486dfd3c7bd80118a75364ab6831b8 | [
"MIT"
] | null | null | null | from dev_tools.test_alconna_1 import *
from dev_tools.test_alconna_2 import *
print("\n\n## ------------- Test Manager -------------## \n\n")
print(command_manager.all_command_help(max_length=6, page=3, pages="[%d/%d]"))
print("\n")
print(command_manager.broadcast("cmd.北京天气"))
print(command_manager.require("/pip"))
pr... | 40.111111 | 78 | 0.698061 | 54 | 361 | 4.407407 | 0.481481 | 0.201681 | 0.319328 | 0.134454 | 0.193277 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011765 | 0.058172 | 361 | 9 | 79 | 40.111111 | 0.688235 | 0 | 0 | 0 | 0 | 0 | 0.218232 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0.75 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
b90048453095acbe52948585025b7df36f6ee00b | 75 | py | Python | 7_kyu/sum_of_two_lowest_positive_integers.py | nik4nd/codewars | efae95f1f9fbd5f31fc62b1b4f5a7d1ee511ced0 | [
"MIT"
] | 40 | 2016-03-09T12:26:20.000Z | 2022-03-23T08:44:51.000Z | 7_kyu/sum_of_two_lowest_positive_integers.py | nik4nd/codewars | efae95f1f9fbd5f31fc62b1b4f5a7d1ee511ced0 | [
"MIT"
] | null | null | null | 7_kyu/sum_of_two_lowest_positive_integers.py | nik4nd/codewars | efae95f1f9fbd5f31fc62b1b4f5a7d1ee511ced0 | [
"MIT"
] | 36 | 2016-11-07T19:59:58.000Z | 2022-03-31T11:18:27.000Z | def sum_two_smallest_numbers(numbers):
return sum(sorted(numbers)[:2])
| 25 | 38 | 0.76 | 11 | 75 | 4.909091 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014925 | 0.106667 | 75 | 2 | 39 | 37.5 | 0.791045 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
f8db7637e59854334ce81efa34272b135f36f33f | 49,872 | py | Python | octavia/tests/unit/network/drivers/neutron/test_allowed_address_pairs.py | zjchao/octavia | e07031fa78604568c6e2112cb4cb147661bc57d7 | [
"Apache-2.0"
] | null | null | null | octavia/tests/unit/network/drivers/neutron/test_allowed_address_pairs.py | zjchao/octavia | e07031fa78604568c6e2112cb4cb147661bc57d7 | [
"Apache-2.0"
] | null | null | null | octavia/tests/unit/network/drivers/neutron/test_allowed_address_pairs.py | zjchao/octavia | e07031fa78604568c6e2112cb4cb147661bc57d7 | [
"Apache-2.0"
] | 1 | 2021-12-27T13:18:38.000Z | 2021-12-27T13:18:38.000Z | # Copyright 2015 Rackspace
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agree... | 47.497143 | 79 | 0.634424 | 6,105 | 49,872 | 4.787551 | 0.061097 | 0.054742 | 0.052929 | 0.071609 | 0.811824 | 0.770973 | 0.738299 | 0.707746 | 0.67473 | 0.660018 | 0 | 0.01238 | 0.271174 | 49,872 | 1,049 | 80 | 47.542421 | 0.791735 | 0.023159 | 0 | 0.606029 | 0 | 0 | 0.079467 | 0.011091 | 0 | 0 | 0 | 0.000953 | 0.087318 | 1 | 0.047817 | false | 0 | 0.018711 | 0 | 0.090437 | 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 |
5d0548637a72123ee6c5ee2b4ec9a20c5d0fd264 | 63 | py | Python | wpiformat/wpiformat/test/__init__.py | prateekma/styleguide | 962c6cd6e316b71156d80e5751e8a76a01b60668 | [
"BSD-3-Clause"
] | 19 | 2018-08-23T06:42:33.000Z | 2022-01-31T05:09:19.000Z | wpiformat/wpiformat/test/__init__.py | prateekma/styleguide | 962c6cd6e316b71156d80e5751e8a76a01b60668 | [
"BSD-3-Clause"
] | 34 | 2016-08-22T20:38:35.000Z | 2021-12-20T20:15:39.000Z | wpiformat/wpiformat/test/__init__.py | prateekma/styleguide | 962c6cd6e316b71156d80e5751e8a76a01b60668 | [
"BSD-3-Clause"
] | 12 | 2016-08-19T07:07:58.000Z | 2021-12-08T06:21:30.000Z | import pytest
pytest.register_assert_rewrite("test.tasktest")
| 15.75 | 47 | 0.84127 | 8 | 63 | 6.375 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063492 | 63 | 3 | 48 | 21 | 0.864407 | 0 | 0 | 0 | 0 | 0 | 0.206349 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
5d34639467c1896ea95c4a819c169800445ee5c3 | 108 | py | Python | test/test_cover.py | NicolasAbroad/wnscraper | 87d5aa8e3a26aa0846a289d378848e1eb1d13304 | [
"Apache-2.0"
] | null | null | null | test/test_cover.py | NicolasAbroad/wnscraper | 87d5aa8e3a26aa0846a289d378848e1eb1d13304 | [
"Apache-2.0"
] | null | null | null | test/test_cover.py | NicolasAbroad/wnscraper | 87d5aa8e3a26aa0846a289d378848e1eb1d13304 | [
"Apache-2.0"
] | null | null | null | from unittest import TestCase
class TestCoverGeneration(TestCase):
def test_cover(self):
pass
| 15.428571 | 36 | 0.731481 | 12 | 108 | 6.5 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212963 | 108 | 6 | 37 | 18 | 0.917647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
5d5f5dded1ca55810114fc5874e044aa5a04d3f1 | 52 | py | Python | kivymd/uix/pickers/colorpicker/__init__.py | marvelous-benji/KivyMD | 4ab8dd339902597eaa9f8a4f9a80d8a6eb7d6053 | [
"MIT"
] | 1,111 | 2015-07-15T02:31:09.000Z | 2022-03-29T17:22:02.000Z | kivymd/uix/pickers/colorpicker/__init__.py | marvelous-benji/KivyMD | 4ab8dd339902597eaa9f8a4f9a80d8a6eb7d6053 | [
"MIT"
] | 706 | 2015-06-10T22:24:13.000Z | 2022-03-31T16:22:39.000Z | kivymd/uix/pickers/colorpicker/__init__.py | marvelous-benji/KivyMD | 4ab8dd339902597eaa9f8a4f9a80d8a6eb7d6053 | [
"MIT"
] | 561 | 2015-07-15T04:57:23.000Z | 2022-03-31T17:14:31.000Z | from .colorpicker import MDColorPicker # NOQA F401
| 26 | 51 | 0.807692 | 6 | 52 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068182 | 0.153846 | 52 | 1 | 52 | 52 | 0.886364 | 0.173077 | 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 |
5d70d76958a440aaf73c049d1471abebb73bf4f7 | 9,242 | py | Python | backends/ubpf/tests/ptf/ipv4_actions_test.py | anasyrmia/p4c-1 | 2bf2f615fdaaf4efed1f2f8ab0b3f3261cface60 | [
"Apache-2.0"
] | 487 | 2016-12-22T03:33:27.000Z | 2022-03-29T06:36:45.000Z | backends/ubpf/tests/ptf/ipv4_actions_test.py | anasyrmia/p4c-1 | 2bf2f615fdaaf4efed1f2f8ab0b3f3261cface60 | [
"Apache-2.0"
] | 2,114 | 2016-12-18T11:36:27.000Z | 2022-03-31T22:33:23.000Z | backends/ubpf/tests/ptf/ipv4_actions_test.py | anasyrmia/p4c-1 | 2bf2f615fdaaf4efed1f2f8ab0b3f3261cface60 | [
"Apache-2.0"
] | 456 | 2016-12-20T14:01:11.000Z | 2022-03-30T19:26:05.000Z | #!/usr/bin/env python
# Copyright 2019 Orange
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agre... | 30.301639 | 101 | 0.623134 | 1,572 | 9,242 | 3.494275 | 0.108142 | 0.03641 | 0.038777 | 0.031313 | 0.777535 | 0.769161 | 0.765338 | 0.761697 | 0.761697 | 0.754597 | 0 | 0.114241 | 0.235663 | 9,242 | 304 | 102 | 30.401316 | 0.663364 | 0.061026 | 0 | 0.617978 | 0 | 0 | 0.140235 | 0.002886 | 0 | 0 | 0 | 0 | 0 | 1 | 0.174157 | false | 0 | 0.022472 | 0 | 0.286517 | 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 |
538411c050ddde830cdd9c0c658ed57c0d8116ee | 106 | py | Python | route/file.py | dubovinszky/route-calculator | e2da6e351a25fcf4ebf98dc05b1d651ed291b7e8 | [
"MIT"
] | null | null | null | route/file.py | dubovinszky/route-calculator | e2da6e351a25fcf4ebf98dc05b1d651ed291b7e8 | [
"MIT"
] | null | null | null | route/file.py | dubovinszky/route-calculator | e2da6e351a25fcf4ebf98dc05b1d651ed291b7e8 | [
"MIT"
] | null | null | null | def get_file_contents(file_path):
with open(file_path, 'r') as content:
return content.read()
| 26.5 | 41 | 0.688679 | 16 | 106 | 4.3125 | 0.75 | 0.231884 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.198113 | 106 | 3 | 42 | 35.333333 | 0.811765 | 0 | 0 | 0 | 0 | 0 | 0.009434 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
539ece508c5d9bf18f86fbbe46df243f8857393d | 67 | py | Python | code/__init__.py | nju-websoft/DRESSED | 52d22630213ea1389c3f3663812afde1b833c328 | [
"Apache-2.0"
] | 9 | 2019-12-06T15:05:54.000Z | 2022-03-11T06:25:54.000Z | code/__init__.py | nju-websoft/DRESSED | 52d22630213ea1389c3f3663812afde1b833c328 | [
"Apache-2.0"
] | null | null | null | code/__init__.py | nju-websoft/DRESSED | 52d22630213ea1389c3f3663812afde1b833c328 | [
"Apache-2.0"
] | 5 | 2020-03-18T15:11:09.000Z | 2022-03-11T06:25:57.000Z | '''
@file: __init__.py.py
@author: qxLiu
@time: 2020/3/14 9:37
'''
| 11.166667 | 21 | 0.61194 | 12 | 67 | 3.083333 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 0.134328 | 67 | 5 | 22 | 13.4 | 0.465517 | 0.865672 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
53b7abacea5bf83e18f9b16489c5fd5f74b2de38 | 110 | py | Python | project/cloudmesh/cluster/providers/kubernetes.py | cybertraining-dsc/fa19-516-153 | e6e3952a74f8a711221ea8e1c461567526267d51 | [
"Apache-2.0"
] | null | null | null | project/cloudmesh/cluster/providers/kubernetes.py | cybertraining-dsc/fa19-516-153 | e6e3952a74f8a711221ea8e1c461567526267d51 | [
"Apache-2.0"
] | null | null | null | project/cloudmesh/cluster/providers/kubernetes.py | cybertraining-dsc/fa19-516-153 | e6e3952a74f8a711221ea8e1c461567526267d51 | [
"Apache-2.0"
] | 1 | 2019-09-20T02:13:45.000Z | 2019-09-20T02:13:45.000Z |
from .meta_cluster import MetaCluster
class KubernetesCluster(metaclass=MetaCluster):
def add(self):
pass | 18.333333 | 47 | 0.809091 | 13 | 110 | 6.769231 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118182 | 110 | 6 | 48 | 18.333333 | 0.907216 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
53edc9b4ed1c50ded5cb107d5d5785efa2cd75be | 162 | py | Python | imagepy/core/roi/__init__.py | BioinfoTongLI/imagepy | b86f33f20e872ee8b86471a9ddfbd5ad064fd64d | [
"BSD-4-Clause"
] | 2 | 2020-04-17T12:57:55.000Z | 2020-04-17T12:57:57.000Z | imagepy/core/roi/__init__.py | BioinfoTongLI/imagepy | b86f33f20e872ee8b86471a9ddfbd5ad064fd64d | [
"BSD-4-Clause"
] | null | null | null | imagepy/core/roi/__init__.py | BioinfoTongLI/imagepy | b86f33f20e872ee8b86471a9ddfbd5ad064fd64d | [
"BSD-4-Clause"
] | null | null | null | from .lineroi import LineRoi
from .ovalroi import OvalRoi
from .pointroi import PointRoi
from .polygonroi import PolygonRoi
from .rectangleroi import RectangleRoi | 32.4 | 38 | 0.851852 | 20 | 162 | 6.9 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117284 | 162 | 5 | 38 | 32.4 | 0.965035 | 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 |
53f861359ac0ab1c41de871cc265263a28577a95 | 46 | py | Python | ML.1/src/lab3.py | jfnavarro/old_python_courses | fb500e8eeae6c5d10bf77e1ff52725627527222a | [
"MIT"
] | 1 | 2018-02-20T03:26:35.000Z | 2018-02-20T03:26:35.000Z | ML.1/src/lab3.py | jfnavarro/BioInfo_ML_courses | fb500e8eeae6c5d10bf77e1ff52725627527222a | [
"MIT"
] | null | null | null | ML.1/src/lab3.py | jfnavarro/BioInfo_ML_courses | fb500e8eeae6c5d10bf77e1ff52725627527222a | [
"MIT"
] | null | null | null | '''
Created on Oct 1, 2011
@author: jose
'''
| 7.666667 | 22 | 0.586957 | 7 | 46 | 3.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138889 | 0.217391 | 46 | 5 | 23 | 9.2 | 0.611111 | 0.804348 | 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 |
54de6899bf45aff4c7554c74bbd7016c3880c7c0 | 75 | py | Python | init_db.py | Armalon/BaseFlask | 53679da1099cc2bfc310905651fa7fa9fa77ff35 | [
"MIT"
] | null | null | null | init_db.py | Armalon/BaseFlask | 53679da1099cc2bfc310905651fa7fa9fa77ff35 | [
"MIT"
] | 2 | 2021-10-06T19:53:48.000Z | 2022-02-13T17:56:22.000Z | init_db.py | Armalon/BaseFlask | 53679da1099cc2bfc310905651fa7fa9fa77ff35 | [
"MIT"
] | null | null | null | # Init Database from chat_schema.sql
from server import init_db
init_db()
| 15 | 36 | 0.8 | 13 | 75 | 4.384615 | 0.692308 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146667 | 75 | 4 | 37 | 18.75 | 0.890625 | 0.453333 | 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 |
070d76276f82b26642f6f27d090a142d69125400 | 1,065 | py | Python | ucb_cs61A/lab/lab12/tests/smallest-int.py | tavaresdong/courses-notes | 7fb89103bca679f5ef9b14cbc777152daac1402e | [
"MIT"
] | null | null | null | ucb_cs61A/lab/lab12/tests/smallest-int.py | tavaresdong/courses-notes | 7fb89103bca679f5ef9b14cbc777152daac1402e | [
"MIT"
] | 1 | 2017-07-31T08:15:26.000Z | 2017-07-31T08:15:26.000Z | ucb_cs61A/lab/lab12/tests/smallest-int.py | tavaresdong/courses-notes | 7fb89103bca679f5ef9b14cbc777152daac1402e | [
"MIT"
] | 1 | 2019-10-06T16:52:31.000Z | 2019-10-06T16:52:31.000Z | test = {
'name': 'smallest-int',
'points': 0,
'suites': [
{
'cases': [
{
'code': r"""
sqlite> SELECT * FROM smallest_int;
11/11/2015 10:01:03|7
11/11/2015 13:53:36|7
11/11/2015 14:52:07|7
11/11/2015 15:36:00|7
11/11/2015 15:46... | 24.204545 | 45 | 0.43662 | 172 | 1,065 | 2.697674 | 0.366279 | 0.215517 | 0.327586 | 0.135776 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0.482972 | 0.393427 | 1,065 | 44 | 46 | 24.204545 | 0.235294 | 0 | 0 | 0.045455 | 0 | 0 | 0.776735 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
071b1c765565478df1dd406b50fb44be86335821 | 31 | py | Python | socfaker/__init__.py | priamai/soc-faker | 51b587f0cec52212136905280406e915006d2afc | [
"MIT"
] | 122 | 2020-02-21T16:06:54.000Z | 2022-03-21T13:53:03.000Z | socfaker/__init__.py | priamai/soc-faker | 51b587f0cec52212136905280406e915006d2afc | [
"MIT"
] | 13 | 2020-01-29T16:37:05.000Z | 2022-01-27T21:30:10.000Z | socfaker/__init__.py | priamai/soc-faker | 51b587f0cec52212136905280406e915006d2afc | [
"MIT"
] | 20 | 2020-04-10T11:59:29.000Z | 2022-02-10T09:20:26.000Z | from .socfaker import SocFaker
| 15.5 | 30 | 0.83871 | 4 | 31 | 6.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
07487c7a0365aa5c7fa0fd09d78c5b10eed24166 | 134 | py | Python | robosuite/devices/__init__.py | clj003/mod_surreal2 | 1c91ed1d85acdb8b82dae46c49153d547301d2d9 | [
"MIT"
] | null | null | null | robosuite/devices/__init__.py | clj003/mod_surreal2 | 1c91ed1d85acdb8b82dae46c49153d547301d2d9 | [
"MIT"
] | null | null | null | robosuite/devices/__init__.py | clj003/mod_surreal2 | 1c91ed1d85acdb8b82dae46c49153d547301d2d9 | [
"MIT"
] | null | null | null | # Takes away spacemouse since not a mac
from .device import Device
from .keyboard import Keyboard
#from .spacemouse import SpaceMouse
| 26.8 | 39 | 0.813433 | 19 | 134 | 5.736842 | 0.578947 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149254 | 134 | 4 | 40 | 33.5 | 0.95614 | 0.529851 | 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 |
ab2236b24a74fa00d1828dadec89603cf1ec0fc7 | 145 | py | Python | Feature/Feature.py | NunoXu/UnbabelChallenge2016 | 680131bb80e1cb0a8d52033b3e75d0ed0e0eb70a | [
"MIT"
] | null | null | null | Feature/Feature.py | NunoXu/UnbabelChallenge2016 | 680131bb80e1cb0a8d52033b3e75d0ed0e0eb70a | [
"MIT"
] | 5 | 2021-03-31T18:23:08.000Z | 2022-01-13T00:38:59.000Z | Feature/Feature.py | NunoXu/UnbabelChallenge2016 | 680131bb80e1cb0a8d52033b3e75d0ed0e0eb70a | [
"MIT"
] | null | null | null | from abc import ABCMeta, abstractmethod
class Feature(metaclass=ABCMeta):
@abstractmethod
def evaluate(self, sentence):
pass
| 14.5 | 39 | 0.710345 | 15 | 145 | 6.866667 | 0.866667 | 0.407767 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.22069 | 145 | 9 | 40 | 16.111111 | 0.911504 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.2 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
ab2fb75563fa16e8f35357f6b2a5ff4c87cfa2a9 | 83 | py | Python | src/kernel-graphql/riotapi/views.py | pseudonym117/kernel-graphql | 0c0fc05ca84c525f1515953d77d853455db14fb1 | [
"MIT"
] | 1 | 2021-03-17T16:35:09.000Z | 2021-03-17T16:35:09.000Z | src/kernel-graphql/riotapi/views.py | pseudonym117/kernel-graphql | 0c0fc05ca84c525f1515953d77d853455db14fb1 | [
"MIT"
] | 1 | 2021-06-02T00:14:18.000Z | 2021-06-02T00:14:18.000Z | src/kernel-graphql/riotapi/views.py | pseudonym117/kernel-graphql | 0c0fc05ca84c525f1515953d77d853455db14fb1 | [
"MIT"
] | null | null | null |
from . import riotapi
@riotapi.route('/')
def index():
return 'hello world!'
| 11.857143 | 25 | 0.638554 | 10 | 83 | 5.3 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192771 | 83 | 6 | 26 | 13.833333 | 0.791045 | 0 | 0 | 0 | 0 | 0 | 0.158537 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
ab33ac6effdd8027526afc44891f3d0dd3ae6976 | 713 | py | Python | test/test_model_statistics.py | entn-at/BrnoLM | 9f8c62523382098809c1c0967f62a67d151eafe0 | [
"MIT"
] | 17 | 2020-02-04T16:42:40.000Z | 2021-11-11T14:37:32.000Z | test/test_model_statistics.py | entn-at/BrnoLM | 9f8c62523382098809c1c0967f62a67d151eafe0 | [
"MIT"
] | null | null | null | test/test_model_statistics.py | entn-at/BrnoLM | 9f8c62523382098809c1c0967f62a67d151eafe0 | [
"MIT"
] | 4 | 2020-02-04T12:59:04.000Z | 2021-05-30T14:10:54.000Z | from unittest import TestCase
from brnolm.runtime.model_statistics import scaled_int_str
class ScaledIntRepreTests(TestCase):
def test_order_0(self):
self.assertEqual(scaled_int_str(0), '0')
def test_order_1(self):
self.assertEqual(scaled_int_str(10), '10')
def test_order_2(self):
... | 26.407407 | 58 | 0.695652 | 104 | 713 | 4.471154 | 0.336538 | 0.154839 | 0.206452 | 0.376344 | 0.466667 | 0.466667 | 0 | 0 | 0 | 0 | 0 | 0.089347 | 0.183731 | 713 | 26 | 59 | 27.423077 | 0.709622 | 0 | 0 | 0 | 0 | 0 | 0.035063 | 0 | 0 | 0 | 0 | 0 | 0.411765 | 1 | 0.411765 | false | 0 | 0.117647 | 0 | 0.588235 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.