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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b4196bcb9af6834c35e84a31001f90f511ca18a4 | 208 | py | Python | channel-api/src/processors/__init__.py | xcantera/demo-provide-baseline | 985f391973fa6ca0761104b55077fded28f152fc | [
"CC0-1.0"
] | 3 | 2020-11-17T23:19:20.000Z | 2021-03-29T15:08:56.000Z | channel-api/src/processors/__init__.py | xcantera/demo-provide-baseline | 985f391973fa6ca0761104b55077fded28f152fc | [
"CC0-1.0"
] | null | null | null | channel-api/src/processors/__init__.py | xcantera/demo-provide-baseline | 985f391973fa6ca0761104b55077fded28f152fc | [
"CC0-1.0"
] | 1 | 2020-12-11T00:26:33.000Z | 2020-12-11T00:26:33.000Z | import time
from libtrustbridge.websub.processors import Processor
class SelfIteratingProcessor(Processor):
def start(self): # pragma: no cover
for iteration in self:
time.sleep(1)
| 23.111111 | 54 | 0.711538 | 24 | 208 | 6.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006173 | 0.221154 | 208 | 8 | 55 | 26 | 0.907407 | 0.076923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
b4394d30d105445c714cb6e631cb1399b0e245c8 | 575 | py | Python | test_longest_consecutive_sequence.py | jaebradley/leetcode.py | 64634cc7d0e975ddd163f35acb18cc92960b8eb5 | [
"MIT"
] | null | null | null | test_longest_consecutive_sequence.py | jaebradley/leetcode.py | 64634cc7d0e975ddd163f35acb18cc92960b8eb5 | [
"MIT"
] | 2 | 2019-11-13T19:55:49.000Z | 2019-11-13T19:55:57.000Z | test_longest_consecutive_sequence.py | jaebradley/leetcode.py | 64634cc7d0e975ddd163f35acb18cc92960b8eb5 | [
"MIT"
] | null | null | null | from unittest import TestCase
from longest_consecutive_sequence import Solution
class TestLongestConsecutiveSequence(TestCase):
def test_out_of_order(self):
self.assertEqual(4, Solution().longestConsecutive([100, 4, 200, 1, 3, 2]))
def test_in_order(self):
self.assertEqual(4, Solution().long... | 31.944444 | 82 | 0.706087 | 75 | 575 | 5.24 | 0.386667 | 0.071247 | 0.193384 | 0.183206 | 0.389313 | 0.389313 | 0.389313 | 0 | 0 | 0 | 0 | 0.05625 | 0.165217 | 575 | 17 | 83 | 33.823529 | 0.7625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.363636 | 1 | 0.363636 | false | 0 | 0.181818 | 0 | 0.636364 | 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 | 0 | 1 | 0 | 0 | 4 |
b47451b3330893b9b77fc770a3005589df38ee55 | 23 | py | Python | portia2code/__init__.py | kirinse/portia2code | 8e7cdd26c6a8b20fb293a5099e554d6fdd778e48 | [
"BSD-3-Clause"
] | 142 | 2021-03-11T03:52:09.000Z | 2022-03-26T21:23:18.000Z | portia2code/__init__.py | strategist922/portia2code | 0b740a435a81e1c8b1a461cfdc8e41f750f3690b | [
"BSD-3-Clause"
] | 38 | 2020-07-13T06:22:35.000Z | 2022-03-31T20:16:28.000Z | portia2code/__init__.py | strategist922/portia2code | 0b740a435a81e1c8b1a461cfdc8e41f750f3690b | [
"BSD-3-Clause"
] | 23 | 2016-07-07T18:40:34.000Z | 2020-09-04T23:47:15.000Z | __version__ = '0.0.17'
| 11.5 | 22 | 0.652174 | 4 | 23 | 2.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0.130435 | 23 | 1 | 23 | 23 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c32200c712ce609326ed4b8f323fe569bef549dc | 127 | py | Python | cpg-core/src/test/resources/python/simple_class.py | peterkong1024/cpg | 0014dbf37c1b699b71d1ce2777e5017d5b61f619 | [
"Apache-2.0"
] | 96 | 2019-12-06T19:05:41.000Z | 2022-03-29T16:35:06.000Z | cpg-core/src/test/resources/python/simple_class.py | peterkong1024/cpg | 0014dbf37c1b699b71d1ce2777e5017d5b61f619 | [
"Apache-2.0"
] | 660 | 2019-12-11T13:33:43.000Z | 2022-03-31T07:06:10.000Z | cpg-core/src/test/resources/python/simple_class.py | peterkong1024/cpg | 0014dbf37c1b699b71d1ce2777e5017d5b61f619 | [
"Apache-2.0"
] | 34 | 2019-12-12T14:34:05.000Z | 2022-03-24T12:46:47.000Z | class SomeClass:
def someFunc(self):
pass
def foo():
c1 = SomeClass()
#c2 = SomeClass()
c1.someFunc()
| 14.111111 | 23 | 0.559055 | 14 | 127 | 5.071429 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034091 | 0.307087 | 127 | 8 | 24 | 15.875 | 0.772727 | 0.125984 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.166667 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
c32d13b90c189277baec4240d004d5a6a3945676 | 1,073 | py | Python | swissparlpy/__init__.py | DemoSquare/swissparlpy | 393576b9918105ed79beeeefd2896dafb459a479 | [
"MIT"
] | null | null | null | swissparlpy/__init__.py | DemoSquare/swissparlpy | 393576b9918105ed79beeeefd2896dafb459a479 | [
"MIT"
] | null | null | null | swissparlpy/__init__.py | DemoSquare/swissparlpy | 393576b9918105ed79beeeefd2896dafb459a479 | [
"MIT"
] | null | null | null | """Client for Swiss parliament API"""
__version__ = "0.2.1"
__all__ = ["client", "errors"]
from .errors import SwissParlError # noqa
from .client import SwissParlClient
from pyodata.v2.service import GetEntitySetFilter as filter # noqa
def get_tables():
client = SwissParlClient()
return client.get_tables(... | 24.386364 | 77 | 0.718546 | 131 | 1,073 | 5.687023 | 0.305344 | 0.056376 | 0.253691 | 0.310067 | 0.487248 | 0.236242 | 0.236242 | 0.236242 | 0.163758 | 0.163758 | 0 | 0.011173 | 0.16589 | 1,073 | 43 | 78 | 24.953488 | 0.821229 | 0.053122 | 0 | 0.269231 | 0 | 0 | 0.016899 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.269231 | false | 0 | 0.115385 | 0 | 0.653846 | 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 | 0 | 1 | 0 | 0 | 4 |
c3334e843c3415573fe3328b867f8bbc374e19bf | 298 | py | Python | cirtorch/__init__.py | QLSong/cnnimageretrieval-pytorch | 6ee16c04025510e6ad9a2d987b32c58b599715a0 | [
"MIT"
] | null | null | null | cirtorch/__init__.py | QLSong/cnnimageretrieval-pytorch | 6ee16c04025510e6ad9a2d987b32c58b599715a0 | [
"MIT"
] | null | null | null | cirtorch/__init__.py | QLSong/cnnimageretrieval-pytorch | 6ee16c04025510e6ad9a2d987b32c58b599715a0 | [
"MIT"
] | null | null | null | from . import datasets, examples, layers, networks, utils
from .datasets import datahelpers, genericdataset, testdataset, traindataset
from .layers import functional, loss, normalization, pooling
from .networks import imageretrievalnet, model
from .utils import general, download, evaluate, whiten | 49.666667 | 76 | 0.822148 | 33 | 298 | 7.424242 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114094 | 298 | 6 | 77 | 49.666667 | 0.92803 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
5ee0527f7c1f92a5fe8131d64fc40c2e035a662c | 125 | py | Python | src/utils/colorpalette.py | Caojerem/Caojerem | 06c6fd56b1022c9f24fe4b3a1189b970be622959 | [
"BSD-3-Clause"
] | null | null | null | src/utils/colorpalette.py | Caojerem/Caojerem | 06c6fd56b1022c9f24fe4b3a1189b970be622959 | [
"BSD-3-Clause"
] | null | null | null | src/utils/colorpalette.py | Caojerem/Caojerem | 06c6fd56b1022c9f24fe4b3a1189b970be622959 | [
"BSD-3-Clause"
] | null | null | null | black='#000000'
red='#f44336'
blue='#2986cc'
green='#8fce00'
yellow='#ffe400'
pink='#ff00ff'
brown='#744700'
violet='#6a329f' | 15.625 | 16 | 0.688 | 16 | 125 | 5.375 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.279661 | 0.056 | 125 | 8 | 17 | 15.625 | 0.449153 | 0 | 0 | 0 | 0 | 0 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 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 | 4 |
5efa5d0dde9971a5da18d67ac4a9b2296e97ed15 | 2,624 | py | Python | test/handbook_rules/test_add_case_rules/test_invalid_request_content_type.py | rmkeezer/service-validator | e84ae785300bcce49f8c066b57dfec54133749c9 | [
"Apache-2.0"
] | null | null | null | test/handbook_rules/test_add_case_rules/test_invalid_request_content_type.py | rmkeezer/service-validator | e84ae785300bcce49f8c066b57dfec54133749c9 | [
"Apache-2.0"
] | null | null | null | test/handbook_rules/test_add_case_rules/test_invalid_request_content_type.py | rmkeezer/service-validator | e84ae785300bcce49f8c066b57dfec54133749c9 | [
"Apache-2.0"
] | null | null | null | import pytest
from schemathesis.hooks import HookContext
from src.ibm_service_validator.handbook_rules.add_case_rules import (
invalid_request_content_type as hooks,
)
def test_add_invalid_request_content_type(mock_case, mock_response):
mock_response.status_code = 200
new_case = hooks.add_invalid_reques... | 32 | 70 | 0.759146 | 344 | 2,624 | 5.383721 | 0.171512 | 0.154428 | 0.170086 | 0.202484 | 0.787797 | 0.75378 | 0.718143 | 0.674406 | 0.653888 | 0.62689 | 0 | 0.011277 | 0.155107 | 2,624 | 81 | 71 | 32.395062 | 0.824087 | 0.033537 | 0 | 0.534483 | 0 | 0 | 0.094392 | 0 | 0 | 0 | 0 | 0 | 0.086207 | 1 | 0.137931 | false | 0 | 0.051724 | 0.017241 | 0.206897 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
6f0e7998f63b876e84a2842e2e7834f550a90fe8 | 107 | py | Python | expose/instruments/__init__.py | jtmendel/expose | 19e643ebd4a849cea42aaf38178a99f855f6997c | [
"MIT"
] | null | null | null | expose/instruments/__init__.py | jtmendel/expose | 19e643ebd4a849cea42aaf38178a99f855f6997c | [
"MIT"
] | null | null | null | expose/instruments/__init__.py | jtmendel/expose | 19e643ebd4a849cea42aaf38178a99f855f6997c | [
"MIT"
] | null | null | null | from .ifs import *
from .imager import *
__all__ = ["MUSE", "MAVIS_IFS", "MAVIS_Imager", "DREAMS_Imager"]
| 21.4 | 64 | 0.691589 | 14 | 107 | 4.785714 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140187 | 107 | 4 | 65 | 26.75 | 0.728261 | 0 | 0 | 0 | 0 | 0 | 0.35514 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
6f36e75a2a3fb8c0c2259d910d69c964db25e906 | 110 | py | Python | run_app.py | utep-cs-systems-courses/project1-shell-mirodriguez9 | bd2a761b9c48ad56ad4f622cd7548db69bd3f766 | [
"BSD-3-Clause"
] | null | null | null | run_app.py | utep-cs-systems-courses/project1-shell-mirodriguez9 | bd2a761b9c48ad56ad4f622cd7548db69bd3f766 | [
"BSD-3-Clause"
] | null | null | null | run_app.py | utep-cs-systems-courses/project1-shell-mirodriguez9 | bd2a761b9c48ad56ad4f622cd7548db69bd3f766 | [
"BSD-3-Clause"
] | null | null | null | """Runs the app inside App module."""
from App import shell
# Runs main function on main_app.py
shell.main()
| 18.333333 | 37 | 0.727273 | 19 | 110 | 4.157895 | 0.631579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163636 | 110 | 5 | 38 | 22 | 0.858696 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
6f3768e0c5ad305ccbcea2af9d9fd946a26417b4 | 66,684 | py | Python | dapy/models/base.py | hassaniqbal209/data-assimilation | ec52d655395dbed547edf4b4f3df29f017633f1b | [
"MIT"
] | 11 | 2020-07-29T07:46:39.000Z | 2022-03-17T01:28:07.000Z | dapy/models/base.py | hassaniqbal209/data-assimilation | ec52d655395dbed547edf4b4f3df29f017633f1b | [
"MIT"
] | 1 | 2020-07-14T11:49:17.000Z | 2020-07-29T07:43:22.000Z | dapy/models/base.py | hassaniqbal209/data-assimilation | ec52d655395dbed547edf4b4f3df29f017633f1b | [
"MIT"
] | 10 | 2020-07-14T11:34:24.000Z | 2022-03-07T09:08:12.000Z | """Abstract base classes for state-space models."""
import abc
from typing import Optional, Union, Sequence
from numbers import Number
import numpy as np
import numpy.linalg as nla
import scipy.linalg as sla
from numpy.random import Generator
from dapy.utils.progressbar import ProgressBar
class DensityNotDefinedErro... | 43.189119 | 88 | 0.634605 | 8,036 | 66,684 | 5.052514 | 0.045918 | 0.031698 | 0.012561 | 0.015886 | 0.823974 | 0.779814 | 0.738338 | 0.695458 | 0.655731 | 0.636471 | 0 | 0.004075 | 0.300777 | 66,684 | 1,543 | 89 | 43.21711 | 0.866708 | 0.552186 | 0 | 0.592845 | 0 | 0 | 0.016532 | 0.007062 | 0 | 0 | 0 | 0 | 0.003407 | 1 | 0.102215 | false | 0 | 0.013629 | 0.013629 | 0.241908 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
6f4bf1f1e9d473a62f40642580599f2e1743caf3 | 253 | py | Python | src/gocept/pytestlayer/tests/fixture/no_setup_or_teardown/test_core.py | gotcha/gocept.pytestlayer | 789baef647fe4b9cceed16c08fb3fdb7bbeb8d72 | [
"ZPL-2.1"
] | 1 | 2021-12-13T13:19:26.000Z | 2021-12-13T13:19:26.000Z | src/gocept/pytestlayer/tests/fixture/no_setup_or_teardown/test_core.py | gotcha/gocept.pytestlayer | 789baef647fe4b9cceed16c08fb3fdb7bbeb8d72 | [
"ZPL-2.1"
] | 9 | 2019-11-25T17:17:13.000Z | 2021-12-13T13:18:45.000Z | src/gocept/pytestlayer/tests/fixture/no_setup_or_teardown/test_core.py | gotcha/gocept.pytestlayer | 789baef647fe4b9cceed16c08fb3fdb7bbeb8d72 | [
"ZPL-2.1"
] | 2 | 2021-03-31T08:59:06.000Z | 2021-12-01T13:57:45.000Z | import unittest
class FooLayer(object):
pass
class FooTest(unittest.TestCase):
layer = FooLayer
def test_dummy(self):
self.assertFalse(hasattr(self.layer, 'layer_foo'))
self.assertFalse(hasattr(self.layer, 'test_foo'))
| 16.866667 | 58 | 0.687747 | 30 | 253 | 5.7 | 0.533333 | 0.175439 | 0.25731 | 0.304094 | 0.362573 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.197628 | 253 | 14 | 59 | 18.071429 | 0.842365 | 0 | 0 | 0 | 0 | 0 | 0.067194 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.125 | false | 0.125 | 0.125 | 0 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
6f51592f651ae2ea62d9f08fb027f3ec5e117dad | 123 | py | Python | nerves_hub_client/__init__.py | sparkmeter/py-nerves-hub-client | 5aacf22738969d78f85331bca68bca1cd63568c7 | [
"MIT"
] | 1 | 2022-02-03T19:29:52.000Z | 2022-02-03T19:29:52.000Z | nerves_hub_client/__init__.py | sparkmeter/py-nerves-hub-client | 5aacf22738969d78f85331bca68bca1cd63568c7 | [
"MIT"
] | 2 | 2022-02-22T23:31:26.000Z | 2022-03-14T23:19:39.000Z | nerves_hub_client/__init__.py | sparkmeter/py-nerves-hub-client | 5aacf22738969d78f85331bca68bca1cd63568c7 | [
"MIT"
] | null | null | null | """NervesHub client."""
__version__ = "0.4.0"
from .client import NervesHubAPI
from .exceptions import NervesHubAPIError
| 17.571429 | 41 | 0.764228 | 14 | 123 | 6.428571 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027778 | 0.121951 | 123 | 6 | 42 | 20.5 | 0.805556 | 0.138211 | 0 | 0 | 0 | 0 | 0.05 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
6f51a8e78b090f1d507cab2fc41cbb22bc3a7810 | 324 | py | Python | opwen_email_server/utils/unique.py | kulado/mailserver | d05c0b2e8d8c97b7b7a08028a9eacd4427a59c4b | [
"Apache-2.0"
] | null | null | null | opwen_email_server/utils/unique.py | kulado/mailserver | d05c0b2e8d8c97b7b7a08028a9eacd4427a59c4b | [
"Apache-2.0"
] | null | null | null | opwen_email_server/utils/unique.py | kulado/mailserver | d05c0b2e8d8c97b7b7a08028a9eacd4427a59c4b | [
"Apache-2.0"
] | null | null | null | from hashlib import sha256
from uuid import uuid4
from opwen_email_server.utils.serialization import to_msgpack_bytes
def new_email_id(email: dict) -> str:
return sha256(to_msgpack_bytes(email)).hexdigest()
def new_client_id() -> str:
return str(uuid4())
def new_resource_id() -> str:
return str(uuid4... | 19.058824 | 67 | 0.743827 | 48 | 324 | 4.770833 | 0.479167 | 0.078603 | 0.122271 | 0.122271 | 0.165939 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032847 | 0.154321 | 324 | 16 | 68 | 20.25 | 0.80292 | 0 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
4897629b6112f01f675c57ef0073c9d5cd948963 | 7,788 | py | Python | tests/pytests/unit/states/zabbix/test_valuemap.py | babs/salt | c536ea716d5308880b244e7980f4b659d86fc104 | [
"Apache-2.0"
] | 2 | 2015-08-21T01:05:03.000Z | 2015-09-02T07:30:45.000Z | tests/pytests/unit/states/zabbix/test_valuemap.py | babs/salt | c536ea716d5308880b244e7980f4b659d86fc104 | [
"Apache-2.0"
] | 9 | 2021-03-31T20:25:25.000Z | 2021-07-04T05:33:46.000Z | tests/pytests/unit/states/zabbix/test_valuemap.py | babs/salt | c536ea716d5308880b244e7980f4b659d86fc104 | [
"Apache-2.0"
] | 1 | 2020-06-02T14:15:24.000Z | 2020-06-02T14:15:24.000Z | """
:codeauthor: :email:`Jakub Sliva <jakub.sliva@ultimum.io>`
"""
import pytest
import salt.states.zabbix_valuemap as zabbix_valuemap
from tests.support.mock import MagicMock, patch
@pytest.fixture
def input_params():
return {
"mappings": [
{"newvalue": "OK", "value": "0h"},
... | 33.424893 | 95 | 0.51451 | 748 | 7,788 | 5.131016 | 0.160428 | 0.076602 | 0.051068 | 0.059406 | 0.819698 | 0.793121 | 0.751433 | 0.741793 | 0.684732 | 0.575039 | 0 | 0.004918 | 0.347329 | 7,788 | 232 | 96 | 33.568966 | 0.750148 | 0.065485 | 0 | 0.624309 | 0 | 0 | 0.241008 | 0.042827 | 0 | 0 | 0 | 0 | 0.033149 | 1 | 0.066298 | false | 0 | 0.016575 | 0.027624 | 0.132597 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
489f31c423e8b69600881d3aecfd4b37ca53ca6e | 264 | py | Python | tests/__init__.py | lawRossi/Broca | 7dcb4e1cb7087c4bd38ad01e73eb1fdab4c6d13d | [
"MIT"
] | 3 | 2021-05-10T06:36:21.000Z | 2021-05-10T06:47:31.000Z | tests/__init__.py | lawRossi/Broca | 7dcb4e1cb7087c4bd38ad01e73eb1fdab4c6d13d | [
"MIT"
] | null | null | null | tests/__init__.py | lawRossi/Broca | 7dcb4e1cb7087c4bd38ad01e73eb1fdab4c6d13d | [
"MIT"
] | null | null | null | import importlib
def find_class(class_path):
module = class_path[:class_path.rfind(".")]
class_name = class_path[class_path.rfind(".")+1:]
ip_module = importlib.import_module(".", module)
class_ = getattr(ip_module, class_name)
return class_
| 26.4 | 53 | 0.704545 | 35 | 264 | 4.942857 | 0.371429 | 0.260116 | 0.16185 | 0.208092 | 0.265896 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004505 | 0.159091 | 264 | 9 | 54 | 29.333333 | 0.774775 | 0 | 0 | 0 | 0 | 0 | 0.011364 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.285714 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
48b5590adbff7331567e81f4d10b9f97fcc85e85 | 241 | py | Python | iCTRL/var/mobile/pentest/exploits/iCTRL/IOSPLOIT/modules/commands/iOS/ios_isplaying.py | CydiaRepoArchiver/noahlittle.github.io | 3ff35ad0d49ccdd9c3691beb43c393e06d1e309a | [
"Apache-2.0"
] | null | null | null | iCTRL/var/mobile/pentest/exploits/iCTRL/IOSPLOIT/modules/commands/iOS/ios_isplaying.py | CydiaRepoArchiver/noahlittle.github.io | 3ff35ad0d49ccdd9c3691beb43c393e06d1e309a | [
"Apache-2.0"
] | null | null | null | iCTRL/var/mobile/pentest/exploits/iCTRL/IOSPLOIT/modules/commands/iOS/ios_isplaying.py | CydiaRepoArchiver/noahlittle.github.io | 3ff35ad0d49ccdd9c3691beb43c393e06d1e309a | [
"Apache-2.0"
] | 1 | 2021-01-29T21:46:40.000Z | 2021-01-29T21:46:40.000Z | class payload:
def __init__(self):
self.name = "isplaying"
self.description = "view mediaplayer info"
self.type = "native"
self.id = 108
def run(self,session,server,command):
return self.name
| 24.1 | 50 | 0.60166 | 28 | 241 | 5.035714 | 0.714286 | 0.113475 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017647 | 0.294606 | 241 | 9 | 51 | 26.777778 | 0.811765 | 0 | 0 | 0 | 0 | 0 | 0.149378 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.125 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
48c78d5004a4a6843521298de94d5c7517226234 | 159 | py | Python | tests/test_terraingen.py | jackromo/RandTerrainPy | 4446627848dd1f7d80e613f4557c0eed68efe8cf | [
"MIT"
] | 7 | 2017-04-17T19:34:52.000Z | 2022-01-18T23:37:31.000Z | tests/test_terraingen.py | jackromo/RandTerrainPy | 4446627848dd1f7d80e613f4557c0eed68efe8cf | [
"MIT"
] | null | null | null | tests/test_terraingen.py | jackromo/RandTerrainPy | 4446627848dd1f7d80e613f4557c0eed68efe8cf | [
"MIT"
] | 5 | 2017-11-08T11:22:37.000Z | 2021-08-07T18:26:54.000Z | import unittest
from randterrainpy import *
class DiamondSquareGeneratorTester(unittest.TestCase):
pass
if __name__ == "__main__":
unittest.main()
| 14.454545 | 54 | 0.754717 | 15 | 159 | 7.466667 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163522 | 159 | 10 | 55 | 15.9 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0.050314 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.166667 | 0.333333 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 4 |
48d9ceb12a5b87f58bb42efcf2fe39c5bb16d007 | 76 | py | Python | rbc/wall/door/__init__.py | rebuildingcode/hardware | df38d4b955047fdea69dda6b662c56ac301799a2 | [
"BSD-3-Clause"
] | null | null | null | rbc/wall/door/__init__.py | rebuildingcode/hardware | df38d4b955047fdea69dda6b662c56ac301799a2 | [
"BSD-3-Clause"
] | 27 | 2019-09-04T06:29:34.000Z | 2020-04-19T19:41:44.000Z | rbc/wall/door/__init__.py | rebuildingcode/hardware | df38d4b955047fdea69dda6b662c56ac301799a2 | [
"BSD-3-Clause"
] | 2 | 2020-02-28T02:56:31.000Z | 2020-02-28T03:12:07.000Z | from .door import Door, DoorInstalled
__all__ = ['Door', 'DoorInstalled']
| 15.2 | 37 | 0.723684 | 8 | 76 | 6.375 | 0.625 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144737 | 76 | 4 | 38 | 19 | 0.784615 | 0 | 0 | 0 | 0 | 0 | 0.223684 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
48e18b78f01360c9b7ba13de7c2768f8c0ca09d5 | 104 | py | Python | examples/docker/myweb/blog/config.py | cllen/flask-wechat-utils | 471a0b5eec924bb251e069bdc7c3c3b4a94441f5 | [
"MIT"
] | 4 | 2020-07-24T03:36:40.000Z | 2021-12-29T03:25:27.000Z | examples/docker/myweb/blog/config.py | cllen/flask-wechat-utils | 471a0b5eec924bb251e069bdc7c3c3b4a94441f5 | [
"MIT"
] | null | null | null | examples/docker/myweb/blog/config.py | cllen/flask-wechat-utils | 471a0b5eec924bb251e069bdc7c3c3b4a94441f5 | [
"MIT"
] | 1 | 2022-01-01T03:12:31.000Z | 2022-01-01T03:12:31.000Z | #coding:utf8
APPLICATION_NAME = 'blog'
APPLICATION_DESCRIPTION = 'this is blog application description' | 26 | 64 | 0.817308 | 12 | 104 | 6.916667 | 0.666667 | 0.361446 | 0.626506 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010753 | 0.105769 | 104 | 4 | 64 | 26 | 0.88172 | 0.105769 | 0 | 0 | 0 | 0 | 0.430108 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
48e207a56219e6c3638cf5572c7f68fd195b9108 | 202 | py | Python | matplotlibhelper/__init__.py | kiwi0fruit/matplotlibhelper | 11c4d9d1a90c987c45529c80242f63e64558531e | [
"MIT"
] | 3 | 2018-12-14T08:39:12.000Z | 2020-10-12T14:29:07.000Z | matplotlibhelper/__init__.py | kiwi0fruit/matplotlibhelper | 11c4d9d1a90c987c45529c80242f63e64558531e | [
"MIT"
] | 4 | 2019-05-27T07:46:55.000Z | 2020-09-28T10:33:23.000Z | matplotlibhelper/__init__.py | kiwi0fruit/matplotlibhelper | 11c4d9d1a90c987c45529c80242f63e64558531e | [
"MIT"
] | null | null | null | from ._version import get_versions
__version__ = get_versions()['version']
del get_versions
from .matplotlib_helper import (
ready, img, img_path,
dump2D, stex,
GR, inch, cm, mm, figsize
)
| 20.2 | 39 | 0.717822 | 27 | 202 | 5 | 0.666667 | 0.244444 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006061 | 0.183168 | 202 | 9 | 40 | 22.444444 | 0.812121 | 0 | 0 | 0 | 0 | 0 | 0.034653 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
48e4d0bf648678525a6212506fc5d8474fa62686 | 162 | py | Python | aldryn_redirects/apps.py | compoundpartners/aldryn-redirects | ed1b1e90a7774a4bead771e158e30d5846e64e60 | [
"BSD-3-Clause"
] | 1 | 2020-05-14T06:41:50.000Z | 2020-05-14T06:41:50.000Z | aldryn_redirects/apps.py | compoundpartners/aldryn-redirects | ed1b1e90a7774a4bead771e158e30d5846e64e60 | [
"BSD-3-Clause"
] | 11 | 2016-01-11T11:42:58.000Z | 2018-11-05T16:13:27.000Z | aldryn_redirects/apps.py | compoundpartners/aldryn-redirects | ed1b1e90a7774a4bead771e158e30d5846e64e60 | [
"BSD-3-Clause"
] | 6 | 2016-11-22T04:53:37.000Z | 2018-11-15T13:56:39.000Z | # -*- coding: utf-8 -*-
from django.apps import AppConfig
class AldrynRedirects(AppConfig):
name = 'aldryn_redirects'
verbose_name = 'Aldryn Redirects'
| 20.25 | 37 | 0.709877 | 18 | 162 | 6.277778 | 0.777778 | 0.176991 | 0.336283 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007463 | 0.17284 | 162 | 7 | 38 | 23.142857 | 0.835821 | 0.12963 | 0 | 0 | 0 | 0 | 0.230216 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
5b1a59da485f6d89a2f65fd6b0cebf0530fb92e3 | 39 | py | Python | exercicios-turtle/.history/firstinterface_20210627211242.py | Aleff13/poo-ufsc | bc1574df26f840a3c0fd5b1e0c72e5d69f61493d | [
"MIT"
] | 1 | 2021-11-28T18:49:21.000Z | 2021-11-28T18:49:21.000Z | exercicios-turtle/.history/firstinterface_20210627211242.py | Aleff13/poo-ufsc | bc1574df26f840a3c0fd5b1e0c72e5d69f61493d | [
"MIT"
] | null | null | null | exercicios-turtle/.history/firstinterface_20210627211242.py | Aleff13/poo-ufsc | bc1574df26f840a3c0fd5b1e0c72e5d69f61493d | [
"MIT"
] | null | null | null | import tkinter
#main frame
root = tkin | 9.75 | 14 | 0.769231 | 6 | 39 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179487 | 39 | 4 | 15 | 9.75 | 0.9375 | 0.25641 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
d2a815bf58e14b0bbdf71fb9d1af084daa6d6600 | 342 | py | Python | openpathsampling/numerics/__init__.py | bolhuis/openpathsampling | 4a12af0ee1143cdbc272b10a8c7cbea735566ce1 | [
"MIT"
] | 64 | 2016-07-06T13:38:51.000Z | 2022-03-30T15:58:01.000Z | openpathsampling/numerics/__init__.py | bolhuis/openpathsampling | 4a12af0ee1143cdbc272b10a8c7cbea735566ce1 | [
"MIT"
] | 601 | 2016-06-13T10:22:01.000Z | 2022-03-25T00:10:40.000Z | openpathsampling/numerics/__init__.py | hejung/openpathsampling | e8b091c92916561954542d40d17d7241b203d1ad | [
"MIT"
] | 45 | 2016-11-10T11:17:53.000Z | 2022-02-13T11:50:26.000Z | from .histogram import (
Histogram, SparseHistogram, HistogramPlotter2D,
histograms_to_pandas_dataframe, Histogrammer
)
from .wham import WHAM
from .lookup_function import (LookupFunction, LookupFunctionGroup,
VoxelLookupFunction)
from .resampling_statistics import ResamplingStatis... | 34.2 | 72 | 0.77193 | 28 | 342 | 9.25 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003584 | 0.184211 | 342 | 9 | 73 | 38 | 0.924731 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
d2e0a5f4f0d6976ef6412a58ee2f5408bcd8f414 | 416 | py | Python | mountaintools/vdomr/__init__.py | mhhennig/spikeforest | 5b4507ead724af3de0be5d48a3b23aaedb0be170 | [
"Apache-2.0"
] | 2 | 2019-11-07T14:09:02.000Z | 2021-09-23T01:09:04.000Z | mountaintools/vdomr/__init__.py | mhhennig/spikeforest | 5b4507ead724af3de0be5d48a3b23aaedb0be170 | [
"Apache-2.0"
] | 13 | 2019-05-04T09:34:53.000Z | 2019-06-23T07:05:58.000Z | mountaintools/vdomr/__init__.py | mhhennig/spikeforest | 5b4507ead724af3de0be5d48a3b23aaedb0be170 | [
"Apache-2.0"
] | 1 | 2021-09-23T01:07:21.000Z | 2021-09-23T01:07:21.000Z | from .helpers import *
from .component import Component
from . import devel
from . import components
from .vdomr import register_callback, create_callback, invoke_callback, exec_javascript, set_timeout, _take_javascript_to_execute, _set_server_session
from .vdomr import config_jupyter, config_colab, config_server, conf... | 41.6 | 150 | 0.846154 | 56 | 416 | 5.964286 | 0.5 | 0.080838 | 0.134731 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005376 | 0.105769 | 416 | 9 | 151 | 46.222222 | 0.892473 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
96092762835b8c441e2479839fab673e313c0b02 | 725 | py | Python | hw_asr/base/base_text_encoder.py | WhiteTeaDragon/hw-asr | 78a767ab00a743b8d28d1fdad795f066fc0795da | [
"MIT"
] | null | null | null | hw_asr/base/base_text_encoder.py | WhiteTeaDragon/hw-asr | 78a767ab00a743b8d28d1fdad795f066fc0795da | [
"MIT"
] | null | null | null | hw_asr/base/base_text_encoder.py | WhiteTeaDragon/hw-asr | 78a767ab00a743b8d28d1fdad795f066fc0795da | [
"MIT"
] | null | null | null | import re
from typing import List, Union
import numpy as np
from torch import Tensor
class BaseTextEncoder:
def encode(self, text) -> Tensor:
raise NotImplementedError
def decode(self, vector: Union[Tensor, np.ndarray, List[int]]):
raise NotImplementedError
def __len__(self):
ra... | 22.65625 | 67 | 0.627586 | 86 | 725 | 5.162791 | 0.44186 | 0.216216 | 0.182432 | 0.067568 | 0.153153 | 0.153153 | 0.153153 | 0.153153 | 0.153153 | 0.153153 | 0 | 0 | 0.267586 | 725 | 31 | 68 | 23.387097 | 0.836158 | 0 | 0 | 0.434783 | 0 | 0 | 0.02069 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.26087 | false | 0 | 0.173913 | 0 | 0.565217 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
96106e08c907c51e5a531ace0e7f8f36067c1718 | 116 | py | Python | clarisse/var/lib/linux/menus/main_menu/edit/revert_overrides.py | GuillaumeVFX/pipel | a1bd726239e6887745396723c3aad5d61e88ce44 | [
"MIT"
] | 2 | 2020-05-12T11:38:44.000Z | 2022-03-07T04:13:50.000Z | clarisse/var/lib/linux/menus/main_menu/edit/revert_overrides.py | GuillaumeVFX/pipel | a1bd726239e6887745396723c3aad5d61e88ce44 | [
"MIT"
] | null | null | null | clarisse/var/lib/linux/menus/main_menu/edit/revert_overrides.py | GuillaumeVFX/pipel | a1bd726239e6887745396723c3aad5d61e88ce44 | [
"MIT"
] | null | null | null | ix.enable_command_history()
ix.api.SdkHelpers.revert_items_overrides(ix.application)
ix.disable_command_history()
| 19.333333 | 56 | 0.853448 | 16 | 116 | 5.8125 | 0.6875 | 0.301075 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043103 | 116 | 5 | 57 | 23.2 | 0.837838 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
824bd39aa821e0c10c11dbd937e53c3aa5b08ea4 | 456 | py | Python | diary/migrations/__init__.py | bbengfort/memorandi | 4591d26c097513d67e11916583ed043e78e87816 | [
"MIT"
] | null | null | null | diary/migrations/__init__.py | bbengfort/memorandi | 4591d26c097513d67e11916583ed043e78e87816 | [
"MIT"
] | 18 | 2020-12-02T16:37:21.000Z | 2021-09-22T19:40:37.000Z | diary/migrations/__init__.py | bbengfort/memorandi | 4591d26c097513d67e11916583ed043e78e87816 | [
"MIT"
] | null | null | null | # diary.migrations
# Database migrations.
#
# Author: Benjamin Bengfort <benjamin@bengfort.com>
# Created: Wed Dec 02 13:14:57 2020 -0500
#
# Copyright (C) 2020 Bengfort.com
# For license information, see LICENSE
#
# ID: __init__.py [] benjamin@bengfort.com $
"""
Database migrations.
"""
##########################... | 22.8 | 74 | 0.471491 | 38 | 456 | 5.552632 | 0.684211 | 0.227488 | 0.180095 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.049505 | 0.114035 | 456 | 19 | 75 | 24 | 0.472772 | 0.596491 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 4 |
826414374ffef80a3d2ae2eb80d5ee848f34c879 | 1,371 | py | Python | ufo/handlers/routes.py | UWNetworksLab/ufo-management-server-flask | a9efb83cfa3a5aa26bf3c4012ca0ef99b6e67829 | [
"Apache-2.0"
] | null | null | null | ufo/handlers/routes.py | UWNetworksLab/ufo-management-server-flask | a9efb83cfa3a5aa26bf3c4012ca0ef99b6e67829 | [
"Apache-2.0"
] | null | null | null | ufo/handlers/routes.py | UWNetworksLab/ufo-management-server-flask | a9efb83cfa3a5aa26bf3c4012ca0ef99b6e67829 | [
"Apache-2.0"
] | null | null | null | import json
import flask
import ufo
from ufo.handlers import auth
from ufo.handlers import chrome_policy
from ufo.handlers import proxy_server
from ufo.handlers import user
@ufo.app.route('/')
@ufo.setup_required
@auth.login_required
def landing():
oauth_resources_dict = ufo.make_oauth_configration_resources_dict... | 30.466667 | 79 | 0.79504 | 206 | 1,371 | 5.174757 | 0.456311 | 0.072233 | 0.154784 | 0.216698 | 0.254221 | 0.227017 | 0.161351 | 0.161351 | 0.161351 | 0.161351 | 0 | 0.003356 | 0.130562 | 1,371 | 44 | 80 | 31.159091 | 0.89094 | 0.386579 | 0 | 0 | 0 | 0 | 0.10241 | 0.026506 | 0 | 0 | 0 | 0.022727 | 0 | 1 | 0.12 | false | 0 | 0.44 | 0.08 | 0.68 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
8295e91cacd870452e260239810ef2e53ced7f8c | 32 | py | Python | operators/search/__init__.py | chennanlei/EvolutionaryAlgorithmTemplates | 117762761bdcfde838f3f29221b64ebd4395ed64 | [
"Apache-2.0"
] | null | null | null | operators/search/__init__.py | chennanlei/EvolutionaryAlgorithmTemplates | 117762761bdcfde838f3f29221b64ebd4395ed64 | [
"Apache-2.0"
] | null | null | null | operators/search/__init__.py | chennanlei/EvolutionaryAlgorithmTemplates | 117762761bdcfde838f3f29221b64ebd4395ed64 | [
"Apache-2.0"
] | null | null | null | """
search
"""
__all__ = []
| 6.4 | 13 | 0.40625 | 2 | 32 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.3125 | 32 | 4 | 14 | 8 | 0.409091 | 0.1875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
829627a1c6945ac0db2f20a9afb4d601bf561d67 | 33 | py | Python | Session-1/VarandDataType/S1Q1.py | saianuragpeddu/python-assignemts | a6bb192f2c0ef8ea86531c1a98f1b76150fa474b | [
"MIT"
] | null | null | null | Session-1/VarandDataType/S1Q1.py | saianuragpeddu/python-assignemts | a6bb192f2c0ef8ea86531c1a98f1b76150fa474b | [
"MIT"
] | null | null | null | Session-1/VarandDataType/S1Q1.py | saianuragpeddu/python-assignemts | a6bb192f2c0ef8ea86531c1a98f1b76150fa474b | [
"MIT"
] | 1 | 2019-07-06T02:37:58.000Z | 2019-07-06T02:37:58.000Z | a = 5
b = 6
c = a + b
print(c)
| 4.714286 | 9 | 0.393939 | 9 | 33 | 1.444444 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 0.424242 | 33 | 6 | 10 | 5.5 | 0.578947 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.25 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8297d3537e43a1c85595cb7ff253d0bd33e2e112 | 358 | py | Python | BeautyForMe/beautyforme/cosmetic/admin.py | YooInKeun/CAU_CSE_Capstone_3 | 51405c4bed2b55661aa0708c8acea17fe72aa701 | [
"MIT"
] | 6 | 2019-12-07T07:30:34.000Z | 2022-01-20T14:26:44.000Z | BeautyForMe/beautyforme/cosmetic/admin.py | YooInKeun/CAU_CSE_Capstone_3 | 51405c4bed2b55661aa0708c8acea17fe72aa701 | [
"MIT"
] | 9 | 2019-12-28T06:18:53.000Z | 2022-01-13T01:54:21.000Z | BeautyForMe/beautyforme/cosmetic/admin.py | YooInKeun/CAU_CSE_Capstone_3 | 51405c4bed2b55661aa0708c8acea17fe72aa701 | [
"MIT"
] | 1 | 2020-05-21T15:55:45.000Z | 2020-05-21T15:55:45.000Z | from django.contrib import admin
from .models import *
admin.site.register(Brand)
admin.site.register(Big_Category)
admin.site.register(Small_Category)
admin.site.register(Tag)
admin.site.register(Product)
admin.site.register(Cosmetic)
admin.site.register(User_Cosmetic)
admin.site.register(User_Interested_Cosmetic)
ad... | 29.833333 | 45 | 0.843575 | 50 | 358 | 5.92 | 0.36 | 0.273649 | 0.516892 | 0.253378 | 0.195946 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047486 | 358 | 12 | 46 | 29.833333 | 0.868035 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.272727 | 0 | 0.272727 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
829aa60346a4ae634cdf70924745b413f6267d6d | 397 | py | Python | tests/test_escapes.py | ankurRakuten/WebHelper | 5e36d75161588260371978b8a42f4adf1f0ec252 | [
"BSD-3-Clause"
] | null | null | null | tests/test_escapes.py | ankurRakuten/WebHelper | 5e36d75161588260371978b8a42f4adf1f0ec252 | [
"BSD-3-Clause"
] | null | null | null | tests/test_escapes.py | ankurRakuten/WebHelper | 5e36d75161588260371978b8a42f4adf1f0ec252 | [
"BSD-3-Clause"
] | 1 | 2019-07-31T11:00:05.000Z | 2019-07-31T11:00:05.000Z | from webhelpers.util import *
def test_html_escape():
assert html_escape('foo') == 'foo'
assert html_escape('<this"that>') == '<this"that>'
assert html_escape('\u1000') == 'က'
class X:
def __unicode__(self):
return '<\u1000>'
assert html_escape(X()) == '<(... | 30.538462 | 65 | 0.589421 | 51 | 397 | 4.352941 | 0.470588 | 0.315315 | 0.432432 | 0.162162 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057692 | 0.214106 | 397 | 12 | 66 | 33.083333 | 0.653846 | 0 | 0 | 0 | 0 | 0 | 0.191436 | 0.055416 | 0 | 0 | 0 | 0 | 0.545455 | 1 | 0.181818 | false | 0 | 0.090909 | 0.090909 | 0.454545 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
82b47c974570ac36d5ef8fc5143c65c31174819f | 728 | py | Python | tests/urionlinejudge/test_uri_1252_sort_sort_and_sort.py | hiroshisiq/AEDlogis2021 | 0e153bd52f2b6cff465d4ffab31bfc28d003b24f | [
"MIT"
] | 1 | 2021-06-03T22:46:10.000Z | 2021-06-03T22:46:10.000Z | tests/urionlinejudge/test_uri_1252_sort_sort_and_sort.py | hiroshisiq/AEDlogis2021 | 0e153bd52f2b6cff465d4ffab31bfc28d003b24f | [
"MIT"
] | 8 | 2021-05-02T00:47:32.000Z | 2021-05-15T23:51:44.000Z | tests/urionlinejudge/test_uri_1252_sort_sort_and_sort.py | hiroshisiq/problem_solving | 0e153bd52f2b6cff465d4ffab31bfc28d003b24f | [
"MIT"
] | null | null | null | import pytest
from tests.run_script import run_script, read_text
RESOURCES_PATH = './tests/urionlinejudge/resources/1252/'
EXECUTABLE_PATH = './problems/urionlinejudge/uri_1252_sort_sort_and_sort.py'
@pytest.mark.parametrize(
'input_path, output_path',
[(f'{RESOURCES_PATH}/case_1.in', f'{RESOURCES_PATH}/cas... | 34.666667 | 76 | 0.740385 | 111 | 728 | 4.495496 | 0.324324 | 0.234469 | 0.224449 | 0.288577 | 0.41483 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030912 | 0.111264 | 728 | 20 | 77 | 36.4 | 0.74034 | 0 | 0 | 0 | 0 | 0 | 0.451923 | 0.42033 | 0 | 0 | 0 | 0 | 0.066667 | 1 | 0.066667 | false | 0 | 0.133333 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7d8d5eff1fbf237f53cb4f0f4788b5809ac577da | 35,778 | py | Python | chalicelib/__init__.py | vinodronold/fivefrets-ace-api | 4eed26f5a689ca41aa3f1e0dc25f33937507eb36 | [
"MIT"
] | null | null | null | chalicelib/__init__.py | vinodronold/fivefrets-ace-api | 4eed26f5a689ca41aa3f1e0dc25f33937507eb36 | [
"MIT"
] | null | null | null | chalicelib/__init__.py | vinodronold/fivefrets-ace-api | 4eed26f5a689ca41aa3f1e0dc25f33937507eb36 | [
"MIT"
] | null | null | null | SONGS = {
"PiL5UTTTrxk": {
"youtube_id": "PiL5UTTTrxk",
"title": "Thalli Pogathey - Video Song | Achcham Yenbadhu Madamaiyada | A R Rahman | STR | Gautham",
"imgUrlDefault": "https://i.ytimg.com/vi/PiL5UTTTrxk/default.jpg",
"imgUrlMedium": "https://i.ytimg.com/vi/PiL5UTTTrxk/mqdefaul... | 894.45 | 7,808 | 0.480211 | 7,878 | 35,778 | 2.180249 | 0.049505 | 0.003726 | 0.006404 | 0.008151 | 0.031148 | 0.025792 | 0.013158 | 0.011062 | 0 | 0 | 0 | 0.535664 | 0.153195 | 35,778 | 40 | 7,809 | 894.45 | 0.031257 | 0 | 0 | 0 | 0 | 0 | 0.429777 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7dba9eb817eff916ec2b189994c587d014fbc3c8 | 137 | py | Python | basic-challenges/secondPy.py | shravan20/mycaptain-ai-certification | d8a700d3bb2059fc7e359e8e1ff23ed0c154299e | [
"MIT"
] | null | null | null | basic-challenges/secondPy.py | shravan20/mycaptain-ai-certification | d8a700d3bb2059fc7e359e8e1ff23ed0c154299e | [
"MIT"
] | null | null | null | basic-challenges/secondPy.py | shravan20/mycaptain-ai-certification | d8a700d3bb2059fc7e359e8e1ff23ed0c154299e | [
"MIT"
] | null | null | null | def changeLetterCase(str):
return str.swapcase();
print changeLetterCase('Python 2.0')
print changeLetterCase('PyThOnIsTa')
| 12.454545 | 36 | 0.722628 | 14 | 137 | 7.071429 | 0.714286 | 0.424242 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017391 | 0.160584 | 137 | 10 | 37 | 13.7 | 0.843478 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
7dbefc5e0ce31d4c67b96374929bd7246bdac077 | 256 | py | Python | app/rms_core/admin.py | marcefanitoli/recipe_manager | 1932824eb5d971cf9177293a08970a800c28e5f8 | [
"MIT"
] | null | null | null | app/rms_core/admin.py | marcefanitoli/recipe_manager | 1932824eb5d971cf9177293a08970a800c28e5f8 | [
"MIT"
] | null | null | null | app/rms_core/admin.py | marcefanitoli/recipe_manager | 1932824eb5d971cf9177293a08970a800c28e5f8 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Ingredient, Supply, Pantry, Recipe, RecipeInstance
admin.site.register(Ingredient)
admin.site.register(Supply)
admin.site.register(Pantry)
admin.site.register(Recipe)
admin.site.register(RecipeInstance) | 32 | 70 | 0.832031 | 33 | 256 | 6.454545 | 0.393939 | 0.211268 | 0.399061 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066406 | 256 | 8 | 71 | 32 | 0.891213 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.285714 | 0 | 0.285714 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7dce8cf6fc9fcb64a47178d8e906188fcf6b9cc4 | 94 | py | Python | LeetCode/Easy/Python/removeElement.py | KHJcode/Algorithm-study | fa08d3c752fcb3557fd45fb394157926afc0de4a | [
"MIT"
] | 2 | 2020-05-23T01:55:38.000Z | 2020-07-07T15:59:00.000Z | LeetCode/Easy/Python/removeElement.py | KHJcode/Algorithm-study | fa08d3c752fcb3557fd45fb394157926afc0de4a | [
"MIT"
] | null | null | null | LeetCode/Easy/Python/removeElement.py | KHJcode/Algorithm-study | fa08d3c752fcb3557fd45fb394157926afc0de4a | [
"MIT"
] | null | null | null | def removeElement(self, nums, val):
while val in nums: nums.remove(val)
return len(nums)
| 23.5 | 38 | 0.712766 | 15 | 94 | 4.466667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170213 | 94 | 3 | 39 | 31.333333 | 0.858974 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
7dda50571c6aedee9a347bfee551b3294ece60f2 | 132 | py | Python | app/core/apps.py | tirth1/recipe-app-api | 71f89cce478ba7b1d3abc983551f0d08c8ab82a2 | [
"MIT"
] | null | null | null | app/core/apps.py | tirth1/recipe-app-api | 71f89cce478ba7b1d3abc983551f0d08c8ab82a2 | [
"MIT"
] | null | null | null | app/core/apps.py | tirth1/recipe-app-api | 71f89cce478ba7b1d3abc983551f0d08c8ab82a2 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
# This is the corresponding application core
class BooktestConfig(AppConfig):
name = 'core'
| 18.857143 | 44 | 0.772727 | 16 | 132 | 6.375 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 132 | 6 | 45 | 22 | 0.927273 | 0.318182 | 0 | 0 | 0 | 0 | 0.045455 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
814d38099814db8a1059246fe57ad001497bbc39 | 102 | py | Python | src/services/a-rex/lrms/arc/__init__.py | davidgcameron/arc | 9813ef5f45e5089507953239de8fa2248f5ad32c | [
"Apache-2.0"
] | null | null | null | src/services/a-rex/lrms/arc/__init__.py | davidgcameron/arc | 9813ef5f45e5089507953239de8fa2248f5ad32c | [
"Apache-2.0"
] | null | null | null | src/services/a-rex/lrms/arc/__init__.py | davidgcameron/arc | 9813ef5f45e5089507953239de8fa2248f5ad32c | [
"Apache-2.0"
] | null | null | null | """
The ``arc`` package contains extra ARC modules, currently only LRMS specific ones (arc.lrms).
"""
| 25.5 | 93 | 0.705882 | 14 | 102 | 5.142857 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 102 | 3 | 94 | 34 | 0.827586 | 0.911765 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
817b3390f192f60fa31e19627ab792a001a21e02 | 159 | py | Python | conftest.py | Chise1/ToDoList | 22e5f371a2c84e3d38ba555940cb04beb30edb02 | [
"Apache-2.0"
] | null | null | null | conftest.py | Chise1/ToDoList | 22e5f371a2c84e3d38ba555940cb04beb30edb02 | [
"Apache-2.0"
] | null | null | null | conftest.py | Chise1/ToDoList | 22e5f371a2c84e3d38ba555940cb04beb30edb02 | [
"Apache-2.0"
] | null | null | null | # -*- encoding: utf-8 -*-
"""
@File : conftest.py
@Time : 2021/2/28 8:39
@Author : chise
@Email : chise123@live.com
@Software: PyCharm
@info :
"""
| 15.9 | 28 | 0.566038 | 21 | 159 | 4.285714 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113821 | 0.226415 | 159 | 9 | 29 | 17.666667 | 0.617886 | 0.937107 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
817b79818cc45f79b788f7bb541f3567a9184abe | 2,435 | py | Python | Aula_10_Status_Bar.py | DiegoGomesFerreira/Aulas-Tkinter | 3b977b61aaa973c2bea1f6e74f564d2e6c9c3873 | [
"MIT"
] | null | null | null | Aula_10_Status_Bar.py | DiegoGomesFerreira/Aulas-Tkinter | 3b977b61aaa973c2bea1f6e74f564d2e6c9c3873 | [
"MIT"
] | null | null | null | Aula_10_Status_Bar.py | DiegoGomesFerreira/Aulas-Tkinter | 3b977b61aaa973c2bea1f6e74f564d2e6c9c3873 | [
"MIT"
] | null | null | null | from tkinter import *
from PIL import ImageTk,Image
def direita(numero_imagem):
global lbl
global btnEsquerdo
global btnDireta
lbl.grid_forget()
lbl = Label(image=imagem_lista[numero_imagem+1])
btnDireta = Button(root, text="Direita", command=lambda: direita(numero_imagem+1))
btnEsquerdo ... | 32.466667 | 126 | 0.696509 | 350 | 2,435 | 4.785714 | 0.194286 | 0.054328 | 0.075224 | 0.058507 | 0.779701 | 0.732537 | 0.702687 | 0.687164 | 0.637612 | 0.607164 | 0 | 0.026634 | 0.151951 | 2,435 | 75 | 127 | 32.466667 | 0.784504 | 0 | 0 | 0.481481 | 0 | 0 | 0.06486 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037037 | false | 0.074074 | 0.037037 | 0 | 0.074074 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
818af2e7f487c838db777ecfc46135d32fda80e0 | 51 | py | Python | task/pretrained/transformer/tagger.py | ssunqf/nlp-exp | f4ebc77d2f7b85b95a12d2cb47196a950c8a1a1f | [
"Apache-2.0"
] | 4 | 2019-11-07T12:13:53.000Z | 2019-12-16T17:43:57.000Z | task/pretrained/transformer/tagger.py | ssunqf/nlp-exp | f4ebc77d2f7b85b95a12d2cb47196a950c8a1a1f | [
"Apache-2.0"
] | null | null | null | task/pretrained/transformer/tagger.py | ssunqf/nlp-exp | f4ebc77d2f7b85b95a12d2cb47196a950c8a1a1f | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3.6
# -*- coding: utf-8 -*-
| 10.2 | 24 | 0.529412 | 8 | 51 | 3.375 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 0.176471 | 51 | 4 | 25 | 12.75 | 0.571429 | 0.882353 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
81978e5b962878040bfec60044508d73c6f20fe1 | 218 | py | Python | main/Validation/PDESuiteTests/PDETestFlatEndFE/Simulation/PDETestFlatEndFE.py | JulianoGianlupi/nh-cc3d-4x-base-tool | c0f4aceebd4c5bf3ec39e831ef851e419b161259 | [
"CC0-1.0"
] | null | null | null | main/Validation/PDESuiteTests/PDETestFlatEndFE/Simulation/PDETestFlatEndFE.py | JulianoGianlupi/nh-cc3d-4x-base-tool | c0f4aceebd4c5bf3ec39e831ef851e419b161259 | [
"CC0-1.0"
] | null | null | null | main/Validation/PDESuiteTests/PDETestFlatEndFE/Simulation/PDETestFlatEndFE.py | JulianoGianlupi/nh-cc3d-4x-base-tool | c0f4aceebd4c5bf3ec39e831ef851e419b161259 | [
"CC0-1.0"
] | 1 | 2021-02-26T21:50:29.000Z | 2021-02-26T21:50:29.000Z |
from cc3d import CompuCellSetup
from PDETestFlatEndFESteppables import PDETestFlatEndFESteppable
CompuCellSetup.register_steppable(steppable=PDETestFlatEndFESteppable(frequency=100))
CompuCellSetup.run()
| 19.818182 | 85 | 0.844037 | 17 | 218 | 10.764706 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020619 | 0.110092 | 218 | 10 | 86 | 21.8 | 0.92268 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
819e0584384e97247e0998276c4742fa0904c24c | 21 | py | Python | tagging/__init__.py | danielzhangau/bdd100k-models | 10311ad98a111b7a34fbfc84f58776175b251ef0 | [
"Apache-2.0"
] | null | null | null | tagging/__init__.py | danielzhangau/bdd100k-models | 10311ad98a111b7a34fbfc84f58776175b251ef0 | [
"Apache-2.0"
] | null | null | null | tagging/__init__.py | danielzhangau/bdd100k-models | 10311ad98a111b7a34fbfc84f58776175b251ef0 | [
"Apache-2.0"
] | null | null | null | """Image Tagging."""
| 10.5 | 20 | 0.571429 | 2 | 21 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 21 | 1 | 21 | 21 | 0.631579 | 0.666667 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
81bd41b3e4643da5bbf49d8d038c52c5cfac2002 | 6,285 | py | Python | modules/devnet_0_ssh_config.py | snowtrain/network-ops | fc439c0531258be545f31964e195cadde479734e | [
"MIT"
] | 1 | 2020-04-03T07:34:47.000Z | 2020-04-03T07:34:47.000Z | modules/devnet_0_ssh_config.py | snowtrain/network-ops | fc439c0531258be545f31964e195cadde479734e | [
"MIT"
] | null | null | null | modules/devnet_0_ssh_config.py | snowtrain/network-ops | fc439c0531258be545f31964e195cadde479734e | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
from datetime import datetime
import hashlib
import re
import netmiko
import sys
# 在crontab环境下可能会无法找到PYTHONPATH,PYTHONPATH决定python查找lib的路径
sys.path.append('/home/ljtc/dev')
import django
import os
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'devnet.settings')
django.setup()
from devnet2019.... | 35.508475 | 184 | 0.592204 | 688 | 6,285 | 5.202035 | 0.226744 | 0.070411 | 0.054484 | 0.036882 | 0.721989 | 0.714445 | 0.714445 | 0.714445 | 0.689858 | 0.689858 | 0 | 0.012706 | 0.286237 | 6,285 | 176 | 185 | 35.710227 | 0.785109 | 0.137311 | 0 | 0.675676 | 0 | 0 | 0.118644 | 0.004098 | 0 | 0 | 0 | 0 | 0 | 1 | 0.018018 | false | 0.036036 | 0.081081 | 0 | 0.099099 | 0.108108 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
81d40dba313cbe1f2fbea34ccbd21c6de87b35e6 | 1,775 | py | Python | SourceCode/Python/Lists/List.py | ChalmersGU-data-structure-courses/OpenDSA | abfc48391336cb6d118a065550816c0bb8665767 | [
"MIT"
] | null | null | null | SourceCode/Python/Lists/List.py | ChalmersGU-data-structure-courses/OpenDSA | abfc48391336cb6d118a065550816c0bb8665767 | [
"MIT"
] | 1 | 2021-11-09T10:15:47.000Z | 2021-11-10T12:21:45.000Z | SourceCode/Python/Lists/List.py | ChalmersGU-data-structure-courses/OpenDSA | abfc48391336cb6d118a065550816c0bb8665767 | [
"MIT"
] | null | null | null |
#/* *** ODSATag: ListADT *** */
# List class ADT.
class List:
def clear(self):
"""Remove all contents from the list, so it is once again empty."""
raise NotImplementedError
def insert(self, it):
"""Insert "it" at the current location."""
# The client must ensure that the list's capacity is not exc... | 28.174603 | 85 | 0.677746 | 227 | 1,775 | 5.299559 | 0.312775 | 0.279302 | 0.291771 | 0.103076 | 0.541978 | 0.45054 | 0.38404 | 0.131338 | 0.131338 | 0.131338 | 0 | 0 | 0.218028 | 1,775 | 62 | 86 | 28.629032 | 0.866715 | 0.489577 | 0 | 0.482759 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.482759 | false | 0 | 0 | 0 | 0.517241 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
c49b86668c57b1f8be301a2b104049454cd27190 | 278 | py | Python | searches/models.py | bflashcp3f/SynKB | a9b3fa706e5774608ed093b74e0c6cc649c0c65a | [
"MIT"
] | 1 | 2022-03-11T16:20:58.000Z | 2022-03-11T16:20:58.000Z | searches/models.py | bflashcp3f/SynKB | a9b3fa706e5774608ed093b74e0c6cc649c0c65a | [
"MIT"
] | null | null | null | searches/models.py | bflashcp3f/SynKB | a9b3fa706e5774608ed093b74e0c6cc649c0c65a | [
"MIT"
] | null | null | null | from django.db import models
# Create your models here.
class Search(models.Model):
name = models.CharField(max_length=255)
state = models.CharField(max_length=255)
class Meta:
verbose_name_plural = "searches"
def __str__(self):
return self.name | 23.166667 | 44 | 0.701439 | 37 | 278 | 5.054054 | 0.675676 | 0.160428 | 0.192513 | 0.256684 | 0.28877 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027273 | 0.208633 | 278 | 12 | 45 | 23.166667 | 0.822727 | 0.086331 | 0 | 0 | 0 | 0 | 0.031621 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.125 | 0.125 | 0.875 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
c4cb2fac87b13a71bd3b97752efc2646c0044703 | 264 | py | Python | tests/text_loader/full_doc_iterator.py | ECS-251-W2020/final-project-TorchFly | 69f60b337c5dec0b1cd8315c194bc7891ba98d3a | [
"MIT"
] | null | null | null | tests/text_loader/full_doc_iterator.py | ECS-251-W2020/final-project-TorchFly | 69f60b337c5dec0b1cd8315c194bc7891ba98d3a | [
"MIT"
] | 3 | 2021-06-08T21:07:12.000Z | 2021-12-13T20:41:53.000Z | tests/text_loader/full_doc_iterator.py | ECS-251-W2020/final-project-TorchFly | 69f60b337c5dec0b1cd8315c194bc7891ba98d3a | [
"MIT"
] | 1 | 2020-02-19T00:53:21.000Z | 2020-02-19T00:53:21.000Z | import os
import ray
import json
import tqdm
import torch
import logging
from typing import List
logger = logging.getLogger(__name__)
class FullDocIterator:
def __init__(self):
pass
class FullDocBatchIterator:
def __init__(self):
pass
| 13.894737 | 36 | 0.734848 | 32 | 264 | 5.6875 | 0.625 | 0.076923 | 0.120879 | 0.164835 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.219697 | 264 | 18 | 37 | 14.666667 | 0.883495 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0.142857 | 0.5 | 0 | 0.785714 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
c4d1199569673c4234467d8739c4020d5a38640c | 165 | py | Python | django_cprofile_middleware/utils.py | Tesorio/django-cprofile-middleware | 0951cda778482dc30fecab0c8cad23909f97ce09 | [
"MIT"
] | null | null | null | django_cprofile_middleware/utils.py | Tesorio/django-cprofile-middleware | 0951cda778482dc30fecab0c8cad23909f97ce09 | [
"MIT"
] | null | null | null | django_cprofile_middleware/utils.py | Tesorio/django-cprofile-middleware | 0951cda778482dc30fecab0c8cad23909f97ce09 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""This module contain utils class"""
class MiddlewareMixin(object):
"""A dummy class to support older version of django."""
pass
| 18.333333 | 59 | 0.648485 | 21 | 165 | 5.095238 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007576 | 0.2 | 165 | 8 | 60 | 20.625 | 0.80303 | 0.630303 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
c4f4248f89ce6fe1330f37567a422627062922dd | 64 | py | Python | Part-03-Understanding-Software-Crafting-Your-Own-Tools/models/edx-platform/common/djangoapps/third_party_auth/management/commands/tests/__init__.py | osoco/better-ways-of-thinking-about-software | 83e70d23c873509e22362a09a10d3510e10f6992 | [
"MIT"
] | 3 | 2021-12-15T04:58:18.000Z | 2022-02-06T12:15:37.000Z | Part-03-Understanding-Software-Crafting-Your-Own-Tools/models/edx-platform/common/djangoapps/third_party_auth/management/commands/tests/__init__.py | osoco/better-ways-of-thinking-about-software | 83e70d23c873509e22362a09a10d3510e10f6992 | [
"MIT"
] | null | null | null | Part-03-Understanding-Software-Crafting-Your-Own-Tools/models/edx-platform/common/djangoapps/third_party_auth/management/commands/tests/__init__.py | osoco/better-ways-of-thinking-about-software | 83e70d23c873509e22362a09a10d3510e10f6992 | [
"MIT"
] | 1 | 2019-01-02T14:38:50.000Z | 2019-01-02T14:38:50.000Z | """
This directory contains tests for third_party_auth app.
"""
| 16 | 55 | 0.75 | 9 | 64 | 5.111111 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140625 | 64 | 3 | 56 | 21.333333 | 0.836364 | 0.859375 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c4fd550e5a2a20475092c5828dc6064bb064270e | 183 | py | Python | config.py | VenerableVulpine/flask-wtf-save-1 | b2a63e28b6716c7514f9e312b676fd8471be7711 | [
"MIT"
] | null | null | null | config.py | VenerableVulpine/flask-wtf-save-1 | b2a63e28b6716c7514f9e312b676fd8471be7711 | [
"MIT"
] | null | null | null | config.py | VenerableVulpine/flask-wtf-save-1 | b2a63e28b6716c7514f9e312b676fd8471be7711 | [
"MIT"
] | null | null | null | import os
class Config():
SECRET_KEY = os.environ.get('SECRET_KEY') or 'my_secret_key'
SQLALCHEMY_DATABASE_URI = 'sqlite:///test.db'
SQLALCHEMY_TRACK_MODIFICATIONS = False | 36.6 | 64 | 0.743169 | 25 | 183 | 5.12 | 0.76 | 0.210938 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142077 | 183 | 5 | 65 | 36.6 | 0.815287 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
f21e7e6a6fd8351e43ffb5667d6af319aa5c21ca | 25 | py | Python | tests/__init__.py | dmondo/MarkovAPI | 75f725245ba21721b0fbd75e25571ef2572044c8 | [
"MIT"
] | null | null | null | tests/__init__.py | dmondo/MarkovAPI | 75f725245ba21721b0fbd75e25571ef2572044c8 | [
"MIT"
] | null | null | null | tests/__init__.py | dmondo/MarkovAPI | 75f725245ba21721b0fbd75e25571ef2572044c8 | [
"MIT"
] | null | null | null | """Pytest test files."""
| 12.5 | 24 | 0.6 | 3 | 25 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 25 | 1 | 25 | 25 | 0.681818 | 0.72 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1ee65563f2d9fe0bc0d7547660ed825e2678bcea | 134 | py | Python | ex025.py | PedroHPAlmeida/exercicios-Python-CEV | 81b0eeba1e2916f42821e738def1f25bced66fd9 | [
"MIT"
] | null | null | null | ex025.py | PedroHPAlmeida/exercicios-Python-CEV | 81b0eeba1e2916f42821e738def1f25bced66fd9 | [
"MIT"
] | null | null | null | ex025.py | PedroHPAlmeida/exercicios-Python-CEV | 81b0eeba1e2916f42821e738def1f25bced66fd9 | [
"MIT"
] | null | null | null | #entrada
nome = str(input('Digite seu nome completo: ')).strip()
#saida
print(f'Seu nome possui "Silva": {"silva" in nome.lower()}')
| 22.333333 | 60 | 0.671642 | 20 | 134 | 4.5 | 0.75 | 0.155556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126866 | 134 | 5 | 61 | 26.8 | 0.769231 | 0.089552 | 0 | 0 | 0 | 0 | 0.633333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
1ef486efd1f5e1a8df96917a9ca7fd455d1d2008 | 86 | py | Python | problem/10000~19999/15979/15979.py3.py | njw1204/BOJ-AC | 1de41685725ae4657a7ff94e413febd97a888567 | [
"MIT"
] | 1 | 2019-04-19T16:37:44.000Z | 2019-04-19T16:37:44.000Z | problem/10000~19999/15979/15979.py3.py | njw1204/BOJ-AC | 1de41685725ae4657a7ff94e413febd97a888567 | [
"MIT"
] | 1 | 2019-04-20T11:42:44.000Z | 2019-04-20T11:42:44.000Z | problem/10000~19999/15979/15979.py3.py | njw1204/BOJ-AC | 1de41685725ae4657a7ff94e413febd97a888567 | [
"MIT"
] | 3 | 2019-04-19T16:37:47.000Z | 2021-10-25T00:45:00.000Z | a,b=map(int,input().split())
if abs(a)==1: print(1)
elif a==0: print(0)
else: print(2) | 21.5 | 28 | 0.616279 | 20 | 86 | 2.65 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064103 | 0.093023 | 86 | 4 | 29 | 21.5 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.75 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
48236c314985a7595491828095bf2ef418d0e878 | 89 | py | Python | src/drctest/apps.py | appstore-zencore/django-redis-counter | 9f9d35293e7fde8429ea6f431b76976be78be6e3 | [
"MIT"
] | 4 | 2018-03-15T12:47:15.000Z | 2019-09-04T08:36:40.000Z | src/drctest/apps.py | appstore-zencore/django-redis-counter | 9f9d35293e7fde8429ea6f431b76976be78be6e3 | [
"MIT"
] | 1 | 2018-03-21T01:12:39.000Z | 2018-03-21T01:12:39.000Z | src/drctest/apps.py | appstore-zencore/django-redis-counter | 9f9d35293e7fde8429ea6f431b76976be78be6e3 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class DrctestConfig(AppConfig):
name = 'drctest'
| 14.833333 | 33 | 0.752809 | 10 | 89 | 6.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168539 | 89 | 5 | 34 | 17.8 | 0.905405 | 0 | 0 | 0 | 0 | 0 | 0.078652 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
482f69f5a43a90a80af856b214b930c527dbfad7 | 1,856 | py | Python | tests/cli/test_create.py | daryllstrauss/prefect | 2dd308ec39dc189a85defa216ef15ebec78855f5 | [
"Apache-2.0"
] | 1 | 2020-08-01T15:44:32.000Z | 2020-08-01T15:44:32.000Z | tests/cli/test_create.py | daryllstrauss/prefect | 2dd308ec39dc189a85defa216ef15ebec78855f5 | [
"Apache-2.0"
] | null | null | null | tests/cli/test_create.py | daryllstrauss/prefect | 2dd308ec39dc189a85defa216ef15ebec78855f5 | [
"Apache-2.0"
] | 1 | 2020-05-04T13:22:11.000Z | 2020-05-04T13:22:11.000Z | from click.testing import CliRunner
from prefect.cli.create import create
from prefect.utilities.configuration import set_temporary_config
def test_create_init():
runner = CliRunner()
result = runner.invoke(create)
assert result.exit_code == 0
assert (
"Create commands that refer to mutations... | 30.42623 | 84 | 0.662177 | 230 | 1,856 | 5.173913 | 0.243478 | 0.087395 | 0.054622 | 0.113445 | 0.822689 | 0.804202 | 0.738655 | 0.687395 | 0.687395 | 0.687395 | 0 | 0.003418 | 0.211746 | 1,856 | 60 | 85 | 30.933333 | 0.809979 | 0 | 0 | 0.673913 | 0 | 0 | 0.222522 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 1 | 0.108696 | false | 0 | 0.065217 | 0 | 0.173913 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
483e23d2cece261b7224d86e7bdf0ca254d68ae1 | 266 | py | Python | app/crud/count.py | wuwe1/gamer_news | 58ac3ed9f0e74ead7b5aaa12dc57f7b48b7c81fc | [
"MIT"
] | null | null | null | app/crud/count.py | wuwe1/gamer_news | 58ac3ed9f0e74ead7b5aaa12dc57f7b48b7c81fc | [
"MIT"
] | null | null | null | app/crud/count.py | wuwe1/gamer_news | 58ac3ed9f0e74ead7b5aaa12dc57f7b48b7c81fc | [
"MIT"
] | 1 | 2020-12-29T19:26:56.000Z | 2020-12-29T19:26:56.000Z | from ..db.mongodb import AsyncIOMotorClient
from ..core.config import database_name, news_collection_name
async def fetch_news_count(conn: AsyncIOMotorClient) -> int:
count = await conn[database_name][news_collection_name].count_documents({})
return count
| 33.25 | 79 | 0.796992 | 34 | 266 | 5.970588 | 0.588235 | 0.118227 | 0.157635 | 0.256158 | 0.295567 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116541 | 266 | 7 | 80 | 38 | 0.86383 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
48496d8da9a141747df5901b456a0b9022a628fd | 192 | py | Python | bunshi/__init__.py | hvrc/bunshi | 1cf78365ad1f7f160abf1a6f625fa18383ec39f6 | [
"MIT"
] | 41 | 2019-01-01T04:36:56.000Z | 2020-05-03T23:59:44.000Z | bunshi/__init__.py | hvrc/bunshi | 1cf78365ad1f7f160abf1a6f625fa18383ec39f6 | [
"MIT"
] | 2 | 2019-01-14T18:06:55.000Z | 2019-01-25T10:50:13.000Z | bunshi/__init__.py | hvrc/bunshi | 1cf78365ad1f7f160abf1a6f625fa18383ec39f6 | [
"MIT"
] | 5 | 2019-04-15T02:39:48.000Z | 2019-06-13T22:43:36.000Z | from flask import Flask
from config import Config
# Create and configure an instance of the Flask application
app = Flask(__name__)
app.config.from_object(Config)
from . import home
| 21.333333 | 60 | 0.765625 | 28 | 192 | 5.071429 | 0.571429 | 0.140845 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 192 | 8 | 61 | 24 | 0.910256 | 0.296875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
486548b4cdfa844bab68fd0d0d0e8e46d223d357 | 89 | py | Python | cronjob/apps.py | Quanscendence/braynai | ab828ca95571c6dffef2b2392522e6a4160a2304 | [
"MIT"
] | null | null | null | cronjob/apps.py | Quanscendence/braynai | ab828ca95571c6dffef2b2392522e6a4160a2304 | [
"MIT"
] | null | null | null | cronjob/apps.py | Quanscendence/braynai | ab828ca95571c6dffef2b2392522e6a4160a2304 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class CronjobConfig(AppConfig):
name = 'cronjob'
| 14.833333 | 33 | 0.752809 | 10 | 89 | 6.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168539 | 89 | 5 | 34 | 17.8 | 0.905405 | 0 | 0 | 0 | 0 | 0 | 0.078652 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
4873d6671ab1d0dbddcafdb05ac0fa0304d45e55 | 77 | py | Python | tests/__init__.py | blokeley/dfb | 5f83311249f92dd108bed013048e98f765d6f87c | [
"Apache-2.0"
] | null | null | null | tests/__init__.py | blokeley/dfb | 5f83311249f92dd108bed013048e98f765d6f87c | [
"Apache-2.0"
] | 2 | 2015-06-29T14:31:50.000Z | 2015-09-15T16:46:53.000Z | tests/__init__.py | blokeley/dfb | 5f83311249f92dd108bed013048e98f765d6f87c | [
"Apache-2.0"
] | null | null | null | """__init__.py required to make `tests` into a package
for test discovery"""
| 25.666667 | 54 | 0.74026 | 12 | 77 | 4.416667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 77 | 2 | 55 | 38.5 | 0.80303 | 0.909091 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4876cb4408e81ca3b68bc668f36f6adc1c3735ad | 4,127 | py | Python | clpy/creation/from_data.py | fixstars/clpy | 693485f85397cc110fa45803c36c30c24c297df0 | [
"BSD-3-Clause"
] | 142 | 2018-06-07T07:43:10.000Z | 2021-10-30T21:06:32.000Z | clpy/creation/from_data.py | fixstars/clpy | 693485f85397cc110fa45803c36c30c24c297df0 | [
"BSD-3-Clause"
] | 282 | 2018-06-07T08:35:03.000Z | 2021-03-31T03:14:32.000Z | clpy/creation/from_data.py | fixstars/clpy | 693485f85397cc110fa45803c36c30c24c297df0 | [
"BSD-3-Clause"
] | 19 | 2018-06-19T11:07:53.000Z | 2021-05-13T20:57:04.000Z | from clpy import core
def array(obj, dtype=None, copy=True, order='K', subok=False, ndmin=0):
"""Creates an array on the current device.
This function currently does not support the ``order`` and ``subok``
options.
Args:
obj: :class:`clpy.ndarray` object or any other object that can be
... | 29.06338 | 79 | 0.626121 | 570 | 4,127 | 4.533333 | 0.245614 | 0.017415 | 0.049536 | 0.048762 | 0.326625 | 0.286378 | 0.263932 | 0.21904 | 0.185759 | 0.152477 | 0 | 0.000329 | 0.262903 | 4,127 | 141 | 80 | 29.269504 | 0.849112 | 0.803974 | 0 | 0.181818 | 0 | 0 | 0.004 | 0 | 0 | 0 | 0 | 0.014184 | 0 | 1 | 0.454545 | false | 0 | 0.090909 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
4883cfbcc7419e8ac01e9bbae670102cf74e6d5a | 80 | py | Python | src/application/adapters/iadapter.py | nedagarmo/Libraries | 7618bd329593684d475a9e64a38409ffb30697df | [
"Apache-2.0"
] | null | null | null | src/application/adapters/iadapter.py | nedagarmo/Libraries | 7618bd329593684d475a9e64a38409ffb30697df | [
"Apache-2.0"
] | null | null | null | src/application/adapters/iadapter.py | nedagarmo/Libraries | 7618bd329593684d475a9e64a38409ffb30697df | [
"Apache-2.0"
] | null | null | null | from abc import ABC
class IAdapter(ABC):
async def do(self):
pass
| 11.428571 | 23 | 0.625 | 12 | 80 | 4.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.3 | 80 | 6 | 24 | 13.333333 | 0.892857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
6f8509fb2e1392df0c6776232fd5838b7dc3d9b0 | 93 | py | Python | music/class_/time/_test/test_beat.py | jedhsu/music | dea68c4a82296cd4910e786f533b2cbf861377c3 | [
"MIT"
] | null | null | null | music/class_/time/_test/test_beat.py | jedhsu/music | dea68c4a82296cd4910e786f533b2cbf861377c3 | [
"MIT"
] | null | null | null | music/class_/time/_test/test_beat.py | jedhsu/music | dea68c4a82296cd4910e786f533b2cbf861377c3 | [
"MIT"
] | null | null | null | """
*Beat, [Unit Tests]*
"""
class TestBeat:
def test_init(self):
pass
| 8.454545 | 26 | 0.494624 | 10 | 93 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.344086 | 93 | 10 | 27 | 9.3 | 0.737705 | 0.236559 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
6f85e656079e14727c9c442e15d29bf8461576db | 179 | py | Python | share/search/index_setup/__init__.py | CenterForOpenScience/SHARE | c7715af2881f6fa23197d4e7c381d90169a90ed1 | [
"Apache-2.0"
] | 87 | 2015-01-06T18:24:45.000Z | 2021-08-08T07:59:40.000Z | share/search/index_setup/__init__.py | fortress-biotech/SHARE | 9c5a05dd831447949fa6253afec5225ff8ab5d4f | [
"Apache-2.0"
] | 442 | 2015-01-01T19:16:01.000Z | 2022-03-30T21:10:26.000Z | share/search/index_setup/__init__.py | fortress-biotech/SHARE | 9c5a05dd831447949fa6253afec5225ff8ab5d4f | [
"Apache-2.0"
] | 67 | 2015-03-10T16:32:58.000Z | 2021-11-12T16:33:41.000Z | from .postrend_backcompat import PostRendBackcompatIndexSetup
from .trove_v0 import TroveV0IndexSetup
__all__ = (
'PostRendBackcompatIndexSetup',
'TroveV0IndexSetup',
)
| 19.888889 | 61 | 0.804469 | 13 | 179 | 10.615385 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019355 | 0.134078 | 179 | 8 | 62 | 22.375 | 0.870968 | 0 | 0 | 0 | 0 | 0 | 0.251397 | 0.156425 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
6fa27c5cc022c1a93d6950805e0a7bcd447f305d | 35,272 | py | Python | code/plot-exp3.py | skrtbhtngr/presto | 21392e80b3a1ffce5fd3ce206025962e9dfa00c6 | [
"Apache-2.0"
] | null | null | null | code/plot-exp3.py | skrtbhtngr/presto | 21392e80b3a1ffce5fd3ce206025962e9dfa00c6 | [
"Apache-2.0"
] | null | null | null | code/plot-exp3.py | skrtbhtngr/presto | 21392e80b3a1ffce5fd3ce206025962e9dfa00c6 | [
"Apache-2.0"
] | null | null | null | import matplotlib.pyplot as plt
import matplotlib
import csv
import numpy as np
import os
import threading
RUNTIME_SEC = 14400
def main(wload, target_cache_size, vmig):
plt.rcParams.update({'font.size': 14})
plt.rcParams.update({'mathtext.default': 'regular'})
heuristics = ['K_RECN_MEM']
hname = ['k... | 50.460658 | 119 | 0.48143 | 4,408 | 35,272 | 3.624093 | 0.076225 | 0.018779 | 0.022723 | 0.030986 | 0.811643 | 0.780908 | 0.719124 | 0.688764 | 0.642692 | 0.61302 | 0 | 0.04873 | 0.36176 | 35,272 | 698 | 120 | 50.532951 | 0.660803 | 0.228567 | 0 | 0.587413 | 0 | 0.002331 | 0.059528 | 0.003396 | 0 | 0 | 0 | 0 | 0 | 1 | 0.002331 | false | 0 | 0.013986 | 0 | 0.016317 | 0.011655 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
6faa0ea41708a8aa6d990a4b6974edce9950e48f | 27,681 | py | Python | directord/tests/test_components.py | kajinamit/directord | a87d22fd7afb2d6f0c1897055bb54cbbab3e6b04 | [
"Apache-2.0"
] | null | null | null | directord/tests/test_components.py | kajinamit/directord | a87d22fd7afb2d6f0c1897055bb54cbbab3e6b04 | [
"Apache-2.0"
] | null | null | null | directord/tests/test_components.py | kajinamit/directord | a87d22fd7afb2d6f0c1897055bb54cbbab3e6b04 | [
"Apache-2.0"
] | null | null | null | # Copyright Peznauts <kevin@cloudnull.com>. 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 requ... | 37.406757 | 77 | 0.605469 | 3,061 | 27,681 | 5.22215 | 0.098661 | 0.045668 | 0.039412 | 0.033281 | 0.786487 | 0.756209 | 0.735252 | 0.718424 | 0.698467 | 0.677886 | 0 | 0.012685 | 0.276652 | 27,681 | 739 | 78 | 37.457375 | 0.785647 | 0.021748 | 0 | 0.557895 | 0 | 0 | 0.140191 | 0.033847 | 0 | 0 | 0 | 0 | 0.132331 | 1 | 0.07218 | false | 0 | 0.022556 | 0 | 0.096241 | 0.025564 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
6faa7092af14d5638b47d3dcbae399240eac525b | 175 | py | Python | 021120.py | Aijana-github/Aijana_new_github | d7eb06b7c5374d2a59484fe9e78f60eb2645ab7e | [
"MIT"
] | null | null | null | 021120.py | Aijana-github/Aijana_new_github | d7eb06b7c5374d2a59484fe9e78f60eb2645ab7e | [
"MIT"
] | null | null | null | 021120.py | Aijana-github/Aijana_new_github | d7eb06b7c5374d2a59484fe9e78f60eb2645ab7e | [
"MIT"
] | null | null | null | def is_curzon(number):
result = 2 ** number + 1
result = 2 * number + 1
if result % result2 == 0:
return True
else:
return False
print(is_curzon(5)) | 19.444444 | 28 | 0.582857 | 25 | 175 | 4 | 0.64 | 0.16 | 0.26 | 0.28 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057851 | 0.308571 | 175 | 9 | 29 | 19.444444 | 0.768595 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0 | 0 | 0.375 | 0.125 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
6ff13e2fd6e50645db5369084f120cda97e2dce9 | 223 | py | Python | test_pack/__init__.py | yuxy000/PythonSyntax | efbfddbd62d88fa6768035d0155c9e8d17cb5670 | [
"MIT"
] | null | null | null | test_pack/__init__.py | yuxy000/PythonSyntax | efbfddbd62d88fa6768035d0155c9e8d17cb5670 | [
"MIT"
] | null | null | null | test_pack/__init__.py | yuxy000/PythonSyntax | efbfddbd62d88fa6768035d0155c9e8d17cb5670 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# _*_ coding: utf-8 _*_
"""
---------------------------------
@Time : 2017/12/8 10:26
@Author : yuxy
@File : __init__.py.py
@Project : PythonSyntax
----------------------------------
"""
| 17.153846 | 34 | 0.403587 | 21 | 223 | 3.904762 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069892 | 0.165919 | 223 | 12 | 35 | 18.583333 | 0.370968 | 0.93722 | 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 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b5105ccd190274417dfaad786d896045dc5eaee1 | 76 | py | Python | mod_upload/__init__.py | aadibajpai/sample-platform | 783a1506122c2819f1b95ee3ff1827d6aae37dfa | [
"ISC"
] | 28 | 2017-11-04T16:15:04.000Z | 2022-02-23T15:25:05.000Z | mod_upload/__init__.py | aadibajpai/sample-platform | 783a1506122c2819f1b95ee3ff1827d6aae37dfa | [
"ISC"
] | 503 | 2017-09-30T17:05:15.000Z | 2022-03-31T17:07:43.000Z | mod_upload/__init__.py | aadibajpai/sample-platform | 783a1506122c2819f1b95ee3ff1827d6aae37dfa | [
"ISC"
] | 89 | 2017-09-24T11:27:27.000Z | 2022-03-09T18:43:57.000Z | """Maintain logic, models and forms related to upload and it's progress."""
| 38 | 75 | 0.736842 | 12 | 76 | 4.666667 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144737 | 76 | 1 | 76 | 76 | 0.861538 | 0.907895 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b51555cdfa256acc9b5020f7e78b7342492e49ef | 523 | py | Python | games/pirates/__init__.py | amaag/mmai-pirates | a2e66d58ffa48c73222f2648e3db3068d2918454 | [
"MIT"
] | null | null | null | games/pirates/__init__.py | amaag/mmai-pirates | a2e66d58ffa48c73222f2648e3db3068d2918454 | [
"MIT"
] | null | null | null | games/pirates/__init__.py | amaag/mmai-pirates | a2e66d58ffa48c73222f2648e3db3068d2918454 | [
"MIT"
] | null | null | null | # DO NOT MODIFY THESE IMPORTS
from games.pirates.ai import AI
from games.pirates.game import Game
from games.pirates.game_object import GameObject
from games.pirates.player import Player
from games.pirates.port import Port
from games.pirates.tile import Tile
from games.pirates.unit import Unit
# <<-- Creer-Merge: init... | 40.230769 | 126 | 0.774379 | 84 | 523 | 4.809524 | 0.52381 | 0.155941 | 0.277228 | 0.09901 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145315 | 523 | 12 | 127 | 43.583333 | 0.903803 | 0.474187 | 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 | 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 | 4 |
82f8fc106ca0291885be8dfdc0e4ceb713546e75 | 645 | py | Python | Model/Classification.py | luzejunior/Blind-Dictionary | 128715854437291acf52c8da552599b508cc3d64 | [
"MIT"
] | null | null | null | Model/Classification.py | luzejunior/Blind-Dictionary | 128715854437291acf52c8da552599b508cc3d64 | [
"MIT"
] | null | null | null | Model/Classification.py | luzejunior/Blind-Dictionary | 128715854437291acf52c8da552599b508cc3d64 | [
"MIT"
] | null | null | null | class Classification:
def __init__(self, lexical_category, features):
self._lexical_category = lexical_category
self._features = features
self._length_features = len(features)
def get_lexical_category(self):
return self._lexical_category
def get_feature(self, key_feature):... | 25.8 | 51 | 0.685271 | 76 | 645 | 5.421053 | 0.289474 | 0.182039 | 0.135922 | 0.160194 | 0.145631 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.244961 | 645 | 25 | 52 | 25.8 | 0.845996 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.352941 | false | 0 | 0 | 0.235294 | 0.764706 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
d20e3ebf057f2062d920f91a8aec12aa7f47fbc6 | 142 | py | Python | first_code.py | Danielsilverio81/first_code_in_python | 70184d1fb95c7c646e244180a66045575ce6ab52 | [
"MIT"
] | null | null | null | first_code.py | Danielsilverio81/first_code_in_python | 70184d1fb95c7c646e244180a66045575ce6ab52 | [
"MIT"
] | null | null | null | first_code.py | Danielsilverio81/first_code_in_python | 70184d1fb95c7c646e244180a66045575ce6ab52 | [
"MIT"
] | null | null | null | nome = input("Digite um nome: ")
#f-string
print(f"Ola {nome}, bem vindo a disciplina de programação. parabens pelo seu primeiro Hello World") | 47.333333 | 99 | 0.746479 | 23 | 142 | 4.608696 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140845 | 142 | 3 | 99 | 47.333333 | 0.868852 | 0.056338 | 0 | 0 | 0 | 0 | 0.783582 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
d21eb7d2ddb34e3a425a85a2ede5c7caabff805c | 169 | py | Python | src/surveys/apps.py | founders4schools/django-surveys | 95872b4f1cd4163ee44e20d6ef3bc335a2452a9f | [
"MIT"
] | 8 | 2017-01-21T00:27:30.000Z | 2022-02-02T10:26:11.000Z | src/surveys/apps.py | founders4schools/django-surveys | 95872b4f1cd4163ee44e20d6ef3bc335a2452a9f | [
"MIT"
] | 17 | 2016-12-22T12:01:48.000Z | 2018-06-01T16:38:41.000Z | src/surveys/apps.py | founders4schools/django-surveys | 95872b4f1cd4163ee44e20d6ef3bc335a2452a9f | [
"MIT"
] | 4 | 2018-06-26T13:48:20.000Z | 2022-03-10T08:06:04.000Z | # -*- coding: utf-8
from django.apps import AppConfig
class SurveysConfig(AppConfig):
name = 'surveys'
def ready(self):
from . import signals # noqa
| 16.9 | 37 | 0.650888 | 20 | 169 | 5.5 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007813 | 0.242604 | 169 | 9 | 38 | 18.777778 | 0.851563 | 0.130178 | 0 | 0 | 0 | 0 | 0.048611 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
d23e6dd60fa3e6fe67daa7b5860f86070e21258f | 737 | bzl | Python | third_party/javax_annotation.bzl | wix/exodus | dfb0c9713b07a8b6a49b548b7b543021e748d80b | [
"MIT"
] | 186 | 2019-06-05T01:02:53.000Z | 2022-03-31T10:44:19.000Z | third_party/javax_annotation.bzl | wix/exodus | dfb0c9713b07a8b6a49b548b7b543021e748d80b | [
"MIT"
] | 25 | 2019-06-04T23:18:55.000Z | 2021-09-22T03:44:25.000Z | third_party/javax_annotation.bzl | wix/exodus | dfb0c9713b07a8b6a49b548b7b543021e748d80b | [
"MIT"
] | 17 | 2019-06-04T18:45:19.000Z | 2022-01-20T09:40:04.000Z | load("//:import_external.bzl", import_external = "safe_wix_scala_maven_import_external")
def dependencies():
import_external(
name = "javax_annotation_javax_annotation_api",
artifact = "javax.annotation:javax.annotation-api:1.2",
artifact_sha256 = "5909b396ca3a2be10d0eea32c74ef78d816e1b4ead21de1d7... | 35.095238 | 91 | 0.785617 | 56 | 737 | 9.982143 | 0.446429 | 0.161002 | 0.064401 | 0.08229 | 0.209302 | 0 | 0 | 0 | 0 | 0 | 0 | 0.282371 | 0.130258 | 737 | 20 | 92 | 36.85 | 0.589704 | 0 | 0 | 0.142857 | 0 | 0 | 0.610583 | 0.610583 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071429 | true | 0 | 0.214286 | 0 | 0.285714 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d2532aac4f847dcf088786016d31f08a7de7e198 | 101 | py | Python | giantstar/loader/__init__.py | DaoSen-v/gaintstar | 5ecae8652c9f71aaa78cc0fd181d431cb130cab1 | [
"MIT"
] | 1 | 2021-08-06T08:32:15.000Z | 2021-08-06T08:32:15.000Z | giantstar/loader/__init__.py | DaoSen-v/gaintstar | 5ecae8652c9f71aaa78cc0fd181d431cb130cab1 | [
"MIT"
] | null | null | null | giantstar/loader/__init__.py | DaoSen-v/gaintstar | 5ecae8652c9f71aaa78cc0fd181d431cb130cab1 | [
"MIT"
] | null | null | null | # _*_encoding=utf8_*_
# @Time : 2021/4/29 14:15
# @Author : xuyong
# @Email: yong1.xu@casstime.com | 16.833333 | 31 | 0.653465 | 15 | 101 | 4.133333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152941 | 0.158416 | 101 | 6 | 31 | 16.833333 | 0.576471 | 0.90099 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d26ed1f6c74235fbd7fb5cd9349e7a1aa46002d9 | 114 | py | Python | brocoli/__main__.py | mesocentre-mcia/brocoli | 95ba415791d9fafe9cef7124562bec5e2b6f2672 | [
"BSD-3-Clause"
] | 4 | 2018-06-28T09:50:40.000Z | 2021-11-29T09:35:30.000Z | brocoli/__main__.py | mesocentre-mcia/brocoli | 95ba415791d9fafe9cef7124562bec5e2b6f2672 | [
"BSD-3-Clause"
] | 11 | 2018-01-19T10:11:39.000Z | 2021-12-14T11:57:26.000Z | brocoli/__main__.py | mesocentre-mcia/brocoli | 95ba415791d9fafe9cef7124562bec5e2b6f2672 | [
"BSD-3-Clause"
] | 2 | 2017-12-17T21:59:46.000Z | 2019-09-23T11:38:18.000Z | """brocoli.__main__: executed when brocoli directory is called as script."""
from .bootstrap import main
main()
| 19 | 76 | 0.754386 | 15 | 114 | 5.466667 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140351 | 114 | 5 | 77 | 22.8 | 0.836735 | 0.614035 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
962fede10ac778e6918fce267be9108ab5e0d8d5 | 86 | py | Python | book/apps.py | ffkirill/library | 43249b71df5d8633a5202f4cbb53b25e4a2aa08a | [
"BSD-2-Clause"
] | null | null | null | book/apps.py | ffkirill/library | 43249b71df5d8633a5202f4cbb53b25e4a2aa08a | [
"BSD-2-Clause"
] | null | null | null | book/apps.py | ffkirill/library | 43249b71df5d8633a5202f4cbb53b25e4a2aa08a | [
"BSD-2-Clause"
] | null | null | null | from django.apps import AppConfig
class LibraryConfig(AppConfig):
name = 'book'
| 14.333333 | 33 | 0.744186 | 10 | 86 | 6.4 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174419 | 86 | 5 | 34 | 17.2 | 0.901408 | 0 | 0 | 0 | 0 | 0 | 0.046512 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
964189a538ac2891b62a36dcb7cf30ffd10da26a | 242 | py | Python | tests/conftest.py | jrhunter3/Basic_Dockerized_PoW | af0f80f7373ed0a3878aadcb79ff54c37dbf3fa6 | [
"MIT"
] | 24 | 2015-08-06T07:32:00.000Z | 2022-03-24T22:05:01.000Z | tests/conftest.py | jrhunter3/Basic_Dockerized_PoW | af0f80f7373ed0a3878aadcb79ff54c37dbf3fa6 | [
"MIT"
] | 37 | 2017-04-14T19:16:40.000Z | 2021-08-17T21:05:51.000Z | tests/conftest.py | jrhunter3/Basic_Dockerized_PoW | af0f80f7373ed0a3878aadcb79ff54c37dbf3fa6 | [
"MIT"
] | 2 | 2016-05-25T08:29:32.000Z | 2020-11-21T10:44:31.000Z | #
# define fixtures available for all testfiles here
# these can also rely on Databases
#
import pytest
# sample, see: https://www.tutorialspoint.com/pytest/pytest_conftest_py.htm
@pytest.fixture
def modelname():
return "pow_test_model" | 22 | 75 | 0.772727 | 34 | 242 | 5.382353 | 0.911765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 242 | 11 | 76 | 22 | 0.875598 | 0.644628 | 0 | 0 | 0 | 0 | 0.17284 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0.25 | 0.75 | 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 | 0 | 1 | 1 | 0 | 0 | 4 |
964bb88a09b21ad25cf7d87e090cb06b48c5893e | 130 | py | Python | test/test_endpoint.py | jihyungSong/spacectl | 29bfcb9a1c2b30de696b9ef21b0a4abe7e575e83 | [
"Apache-2.0"
] | 8 | 2020-06-22T02:08:02.000Z | 2022-02-14T08:09:16.000Z | test/test_endpoint.py | jihyungSong/spacectl | 29bfcb9a1c2b30de696b9ef21b0a4abe7e575e83 | [
"Apache-2.0"
] | 4 | 2020-08-06T15:31:00.000Z | 2022-03-29T08:22:11.000Z | test/test_endpoint.py | jihyungSong/spacectl | 29bfcb9a1c2b30de696b9ef21b0a4abe7e575e83 | [
"Apache-2.0"
] | 11 | 2020-06-22T02:08:05.000Z | 2022-03-22T00:18:48.000Z | import unittest
from lib.utils import aa
class TestEndpoint(unittest.TestCase):
def test_endpoint_list(self):
aa()
| 14.444444 | 38 | 0.723077 | 17 | 130 | 5.411765 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 130 | 8 | 39 | 16.25 | 0.884615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
967566f1bac9d3c621b9d02b10acaa1fb4812b28 | 41 | py | Python | compiler/sema/instantiation.py | Youngestdev/viper | 7855dd0f87f54c926caf04b0e21742b1a2646751 | [
"Apache-2.0"
] | 25 | 2019-06-23T15:17:06.000Z | 2020-06-05T22:41:21.000Z | compiler/sema/instantiation.py | Youngestdev/viper | 7855dd0f87f54c926caf04b0e21742b1a2646751 | [
"Apache-2.0"
] | null | null | null | compiler/sema/instantiation.py | Youngestdev/viper | 7855dd0f87f54c926caf04b0e21742b1a2646751 | [
"Apache-2.0"
] | 3 | 2019-07-29T16:03:30.000Z | 2019-10-04T15:00:32.000Z | """
Type and function instantiations
"""
| 10.25 | 32 | 0.707317 | 4 | 41 | 7.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146341 | 41 | 3 | 33 | 13.666667 | 0.828571 | 0.780488 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
736d3ba97e735d9c13dc523af17b2acdb934eb17 | 126 | py | Python | django_q/tests/urls.py | aken830806/django-q | 981ba0c80ce696ce28827736bb397ad7eb60c88d | [
"MIT"
] | 1 | 2022-03-29T20:27:34.000Z | 2022-03-29T20:27:34.000Z | django_q/tests/urls.py | aken830806/django-q | 981ba0c80ce696ce28827736bb397ad7eb60c88d | [
"MIT"
] | null | null | null | django_q/tests/urls.py | aken830806/django-q | 981ba0c80ce696ce28827736bb397ad7eb60c88d | [
"MIT"
] | null | null | null | from django.urls import re_path
from django.contrib import admin
urlpatterns = [
re_path(r'^admin/', admin.site.urls),
]
| 18 | 41 | 0.730159 | 19 | 126 | 4.736842 | 0.578947 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150794 | 126 | 6 | 42 | 21 | 0.841122 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
73c8102176679a7aa3e473d3d3f206d65f6a8a72 | 111 | py | Python | yoloface_gpu.py | Sanjay126/yolo | fe059ac5b0566aa1724fd1b81115773a8b08d224 | [
"MIT"
] | null | null | null | yoloface_gpu.py | Sanjay126/yolo | fe059ac5b0566aa1724fd1b81115773a8b08d224 | [
"MIT"
] | null | null | null | yoloface_gpu.py | Sanjay126/yolo | fe059ac5b0566aa1724fd1b81115773a8b08d224 | [
"MIT"
] | null | null | null |
from yolo.yolo import YOLO, detect_img
def _main(img):
boxes=detect_img(YOLO(),img)
return boxes
| 10.090909 | 38 | 0.684685 | 17 | 111 | 4.294118 | 0.529412 | 0.246575 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.216216 | 111 | 10 | 39 | 11.1 | 0.83908 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 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 | 0 | 1 | 0 | 0 | 4 |
fbbdba788615deb2e51359ac48a6176e3469e4bb | 104 | py | Python | time_trial_gui/lib/base.py | dmayer/time_trial | c9f896f8788bb4ae3b8bd526a325542c610d0573 | [
"MIT"
] | 56 | 2015-01-23T13:06:14.000Z | 2022-01-07T17:06:37.000Z | time_trial_gui/lib/base.py | channgo2203/time_trial | c9f896f8788bb4ae3b8bd526a325542c610d0573 | [
"MIT"
] | 2 | 2015-10-30T18:04:38.000Z | 2016-05-01T16:11:56.000Z | time_trial_gui/lib/base.py | channgo2203/time_trial | c9f896f8788bb4ae3b8bd526a325542c610d0573 | [
"MIT"
] | 13 | 2015-06-28T17:29:30.000Z | 2021-11-17T18:48:22.000Z | __author__ = 'daniel'
from sqlalchemy.ext.declarative import declarative_base
Base = declarative_base()
| 26 | 55 | 0.826923 | 12 | 104 | 6.666667 | 0.666667 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096154 | 104 | 3 | 56 | 34.666667 | 0.851064 | 0 | 0 | 0 | 0 | 0 | 0.057692 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
fbd83371312fe056553dbd48e0fa429d83776192 | 49 | py | Python | apiKey.py | Yasir323/Bitcoin-price-alert | 6b84a02baa75d250da581be759e42bec4593b9bf | [
"MIT"
] | null | null | null | apiKey.py | Yasir323/Bitcoin-price-alert | 6b84a02baa75d250da581be759e42bec4593b9bf | [
"MIT"
] | null | null | null | apiKey.py | Yasir323/Bitcoin-price-alert | 6b84a02baa75d250da581be759e42bec4593b9bf | [
"MIT"
] | null | null | null | COINMARKETCAP_API_KEY = 'ENTER_YOUR_KEY_HERE!!!'
| 24.5 | 48 | 0.816327 | 7 | 49 | 5 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061224 | 49 | 1 | 49 | 49 | 0.76087 | 0 | 0 | 0 | 0 | 0 | 0.44898 | 0.44898 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8381a650f091d0033482ad886bbeb2ac002a034b | 205 | py | Python | pyden/errors.py | bachya/pyden | 57b7cbebfead83f21af4812787bcbdb3f3cd5a7d | [
"MIT"
] | null | null | null | pyden/errors.py | bachya/pyden | 57b7cbebfead83f21af4812787bcbdb3f3cd5a7d | [
"MIT"
] | 1 | 2021-11-24T00:21:20.000Z | 2021-11-24T00:21:20.000Z | pyden/errors.py | bachya/pyden | 57b7cbebfead83f21af4812787bcbdb3f3cd5a7d | [
"MIT"
] | 1 | 2018-03-03T00:45:46.000Z | 2018-03-03T00:45:46.000Z | """Define various exception types."""
class PydenError(Exception):
"""Define a generic pyden error."""
pass
class RequestError(PydenError):
"""Define a generic request error."""
pass
| 14.642857 | 41 | 0.663415 | 22 | 205 | 6.181818 | 0.590909 | 0.102941 | 0.205882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.204878 | 205 | 13 | 42 | 15.769231 | 0.834356 | 0.453659 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
83983ba7fdc2eaab9a073afe9de368c595706e6c | 210 | py | Python | backend-project/small_eod/notes/serializers.py | WlodzimierzKorza/small_eod | 027022bd71122a949a2787d0fb86518df80e48cd | [
"MIT"
] | 64 | 2019-12-30T11:24:03.000Z | 2021-06-24T01:04:56.000Z | backend-project/small_eod/notes/serializers.py | WlodzimierzKorza/small_eod | 027022bd71122a949a2787d0fb86518df80e48cd | [
"MIT"
] | 465 | 2018-06-13T21:43:43.000Z | 2022-01-04T23:33:56.000Z | backend-project/small_eod/notes/serializers.py | WlodzimierzKorza/small_eod | 027022bd71122a949a2787d0fb86518df80e48cd | [
"MIT"
] | 72 | 2018-12-02T19:47:03.000Z | 2022-01-04T22:54:49.000Z | from ..generic.serializers import UserLogModelSerializer
from .models import Note
class NoteSerializer(UserLogModelSerializer):
class Meta:
model = Note
fields = ["id", "case", "comment"]
| 23.333333 | 56 | 0.704762 | 20 | 210 | 7.4 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 210 | 8 | 57 | 26.25 | 0.880952 | 0 | 0 | 0 | 0 | 0 | 0.061905 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
83a42e6ed4ce5c943a4054449e63343a941e309a | 103 | py | Python | test/data/valid/tuple_repeat.py | KOLANICH/read_version | 601a036d115dd831319ed3c4700168e5c7e03228 | [
"MIT"
] | null | null | null | test/data/valid/tuple_repeat.py | KOLANICH/read_version | 601a036d115dd831319ed3c4700168e5c7e03228 | [
"MIT"
] | null | null | null | test/data/valid/tuple_repeat.py | KOLANICH/read_version | 601a036d115dd831319ed3c4700168e5c7e03228 | [
"MIT"
] | null | null | null | (__version__, a, __version__) = ('3.4.5', 42, '1.2.3')
(__custom__, b, __custom__) = (23, '1.2.3', 42)
| 34.333333 | 54 | 0.572816 | 18 | 103 | 2.388889 | 0.611111 | 0.093023 | 0.139535 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168539 | 0.135922 | 103 | 2 | 55 | 51.5 | 0.314607 | 0 | 0 | 0 | 0 | 0 | 0.145631 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
83c2ba190169cd8d9b8cf8a4e041ed261b813567 | 843 | py | Python | netcal/presentation/__init__.py | by-liu/calibration-framework | f1995512fea511572171974913fe5b569cac0cd0 | [
"Apache-2.0"
] | 148 | 2019-10-29T03:23:04.000Z | 2022-03-30T12:36:20.000Z | netcal/presentation/__init__.py | EFS-OpenSource/calibration-framework | 7b306e4bbe6361d411b209759b7ba3d016bd0d17 | [
"Apache-2.0"
] | 19 | 2020-02-05T06:00:07.000Z | 2022-03-17T06:37:19.000Z | netcal/presentation/__init__.py | EFS-OpenSource/calibration-framework | 7b306e4bbe6361d411b209759b7ba3d016bd0d17 | [
"Apache-2.0"
] | 25 | 2019-11-30T23:03:01.000Z | 2022-02-16T20:40:29.000Z | # Copyright (C) 2019-2021 Ruhr West University of Applied Sciences, Bottrop, Germany
# AND Elektronische Fahrwerksysteme GmbH, Gaimersheim Germany
#
# This Source Code Form is subject to the terms of the Apache License 2.0
# If a copy of the APL2 was not distributed with this
# file, You can obtain one at https://www.a... | 32.423077 | 103 | 0.772242 | 118 | 843 | 5.491525 | 0.754237 | 0.015432 | 0.027778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018258 | 0.155397 | 843 | 25 | 104 | 33.72 | 0.891854 | 0.911032 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
83c3f6939dbe28595d6c3bdce9b6b31145d0c9a8 | 144 | py | Python | OOP/instance_methods.py | DumiTech/Python-Projects | 8a6a507865999847e8ca4f1633dcc0b35673630c | [
"MIT"
] | null | null | null | OOP/instance_methods.py | DumiTech/Python-Projects | 8a6a507865999847e8ca4f1633dcc0b35673630c | [
"MIT"
] | null | null | null | OOP/instance_methods.py | DumiTech/Python-Projects | 8a6a507865999847e8ca4f1633dcc0b35673630c | [
"MIT"
] | null | null | null | class Vehicle:
def type(self):
# print(self)
print("Mercedes")
print("Audi")
car = Vehicle()
print(car)
car.type()
| 14.4 | 25 | 0.548611 | 17 | 144 | 4.647059 | 0.529412 | 0.227848 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.291667 | 144 | 9 | 26 | 16 | 0.77451 | 0.076389 | 0 | 0 | 0 | 0 | 0.091603 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0 | 0 | 0.285714 | 0.428571 | 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 | 0 | 0 | 0 | 1 | 0 | 4 |
83c53e1351c52b79ebe8498dbc7d7d8a0ef05e97 | 97 | py | Python | weekplanner/apps.py | egillian1/MealPlanner | 102fe09830c818ab8c98fd53de8aa1bb3e53b774 | [
"MIT"
] | null | null | null | weekplanner/apps.py | egillian1/MealPlanner | 102fe09830c818ab8c98fd53de8aa1bb3e53b774 | [
"MIT"
] | null | null | null | weekplanner/apps.py | egillian1/MealPlanner | 102fe09830c818ab8c98fd53de8aa1bb3e53b774 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class WeekplannerConfig(AppConfig):
name = 'weekplanner'
| 16.166667 | 35 | 0.773196 | 10 | 97 | 7.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154639 | 97 | 5 | 36 | 19.4 | 0.914634 | 0 | 0 | 0 | 0 | 0 | 0.113402 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
83c693a47cbcf0863a2f9d818116f719ed1a1c10 | 181 | py | Python | bitmovin/resources/enums/playready_method.py | camberbridge/bitmovin-python | 3af4c6e79b0291fda05fd1ceeb5bed1bba9f3c95 | [
"Unlicense"
] | 44 | 2016-12-12T17:37:23.000Z | 2021-03-03T09:48:48.000Z | bitmovin/resources/enums/playready_method.py | camberbridge/bitmovin-python | 3af4c6e79b0291fda05fd1ceeb5bed1bba9f3c95 | [
"Unlicense"
] | 38 | 2017-01-09T14:45:45.000Z | 2022-02-27T18:04:33.000Z | bitmovin/resources/enums/playready_method.py | camberbridge/bitmovin-python | 3af4c6e79b0291fda05fd1ceeb5bed1bba9f3c95 | [
"Unlicense"
] | 27 | 2017-02-02T22:49:31.000Z | 2019-11-21T07:04:57.000Z | import enum
class PlayReadyMethod(enum.Enum):
MPEG_CENC = 'MPEG_CENC'
PIFF_CTR = 'PIFF_CTR'
@staticmethod
def default():
return PlayReadyMethod.MPEG_CENC
| 16.454545 | 40 | 0.685083 | 21 | 181 | 5.666667 | 0.571429 | 0.201681 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.232044 | 181 | 10 | 41 | 18.1 | 0.856115 | 0 | 0 | 0 | 0 | 0 | 0.093923 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.142857 | 0.142857 | 0.857143 | 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 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
83c69bf38f9b0af6d670fc0eabb874a819a774ea | 145 | py | Python | Segmentation/inverse_gaussian_gradient.py | Joevaen/Scikit-image_On_CT | e3bf0eeadc50691041b4b7c44a19d07546a85001 | [
"Apache-2.0"
] | null | null | null | Segmentation/inverse_gaussian_gradient.py | Joevaen/Scikit-image_On_CT | e3bf0eeadc50691041b4b7c44a19d07546a85001 | [
"Apache-2.0"
] | null | null | null | Segmentation/inverse_gaussian_gradient.py | Joevaen/Scikit-image_On_CT | e3bf0eeadc50691041b4b7c44a19d07546a85001 | [
"Apache-2.0"
] | null | null | null | # 梯度幅度的倒数。
# 计算图像中梯度的大小,然后将结果取反[0,1]。 向平坦区域分配接近1的值,而向边界靠近区域分配接近0的值。
#
# 在调用morphological_geodesic_active_contour之前,应将此功能或用户定义的类似功能作为预处理步骤应用到图像上。
| 29 | 74 | 0.848276 | 12 | 145 | 10 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029197 | 0.055172 | 145 | 4 | 75 | 36.25 | 0.846715 | 0.937931 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
83d5fae5fe00abe0a301a7674625cf82539414d5 | 26 | py | Python | pwnlib/version.py | No1zy/ponpontools | 11ef8e8001c1d4b12d001ede08b1de05ae861cf8 | [
"MIT"
] | 7 | 2017-07-11T01:12:02.000Z | 2017-09-21T23:39:54.000Z | pwnlib/version.py | No1zy/ponpontools | 11ef8e8001c1d4b12d001ede08b1de05ae861cf8 | [
"MIT"
] | null | null | null | pwnlib/version.py | No1zy/ponpontools | 11ef8e8001c1d4b12d001ede08b1de05ae861cf8 | [
"MIT"
] | null | null | null | __version__ = '3.11.0dev'
| 13 | 25 | 0.692308 | 4 | 26 | 3.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 0.115385 | 26 | 1 | 26 | 26 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0.346154 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
83ddad4221da89cc509ccb9f7ca0694cb1d8a82c | 396 | py | Python | tests/test_CodonUsageTable.py | siddiquims/charm | 6fbd76b7d997cd936ff6b5454fe9e07afd0471d9 | [
"MIT"
] | null | null | null | tests/test_CodonUsageTable.py | siddiquims/charm | 6fbd76b7d997cd936ff6b5454fe9e07afd0471d9 | [
"MIT"
] | 1 | 2018-11-07T08:49:53.000Z | 2018-11-07T08:49:53.000Z | tests/test_CodonUsageTable.py | siddiquims/charm | 6fbd76b7d997cd936ff6b5454fe9e07afd0471d9 | [
"MIT"
] | 1 | 2018-11-07T10:34:42.000Z | 2018-11-07T10:34:42.000Z | from LibCharm.CodonUsageTable import CodonUsageTable
def test_codonusagetable_fraction():
assert CodonUsageTable('http://www.kazusa.or.jp/codon/cgi-bin/showcodon.cgi?species=83333&aa=1&style=N')
def test_codonusagetable_frequency():
assert CodonUsageTable('http://www.kazusa.or.jp/codon/cgi-bin/showcodon.cgi... | 39.6 | 108 | 0.742424 | 52 | 396 | 5.557692 | 0.5 | 0.048443 | 0.152249 | 0.193772 | 0.567474 | 0.567474 | 0.567474 | 0.567474 | 0.567474 | 0.567474 | 0 | 0.034783 | 0.128788 | 396 | 10 | 109 | 39.6 | 0.802899 | 0 | 0 | 0 | 0 | 0.333333 | 0.392947 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.166667 | 0 | 0.5 | 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 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
83e53ca022a6d03b629618cd0388da57cec6d13f | 642 | py | Python | lib/db_adapters/interface.py | physcocode/Chaos | bccb9a3793ab8b2232e2b275de3bc6defd744c4d | [
"MIT"
] | 1 | 2021-09-10T06:10:01.000Z | 2021-09-10T06:10:01.000Z | lib/db_adapters/interface.py | physcocode/Chaos | bccb9a3793ab8b2232e2b275de3bc6defd744c4d | [
"MIT"
] | null | null | null | lib/db_adapters/interface.py | physcocode/Chaos | bccb9a3793ab8b2232e2b275de3bc6defd744c4d | [
"MIT"
] | 1 | 2021-09-10T06:10:03.000Z | 2021-09-10T06:10:03.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import abc
class AbstractAdapter(object, metaclass=abc.ABCMeta):
def __init__(self, config):
self.config = config
@abc.abstractmethod
def connect(self):
raise NotImplementedError()
@abc.abstractmethod
def disconnect(self):
ra... | 21.4 | 53 | 0.649533 | 63 | 642 | 6.555556 | 0.428571 | 0.205811 | 0.242131 | 0.397094 | 0.612591 | 0.51816 | 0.285714 | 0.285714 | 0 | 0 | 0 | 0.002028 | 0.232087 | 642 | 29 | 54 | 22.137931 | 0.8357 | 0.065421 | 0 | 0.526316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.315789 | false | 0 | 0.052632 | 0 | 0.421053 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
83ea3c7aef4110766e5b347124579ce1ffe807f0 | 1,258 | py | Python | pyoutline/outline/__init__.py | splhack/OpenCue | 068d0e304fd3d3c5b3f1da9d2588da20c6fdf330 | [
"Apache-2.0"
] | null | null | null | pyoutline/outline/__init__.py | splhack/OpenCue | 068d0e304fd3d3c5b3f1da9d2588da20c6fdf330 | [
"Apache-2.0"
] | 1 | 2020-09-09T20:39:24.000Z | 2020-09-09T20:39:24.000Z | pyoutline/outline/__init__.py | splhack/OpenCue | 068d0e304fd3d3c5b3f1da9d2588da20c6fdf330 | [
"Apache-2.0"
] | null | null | null | # Copyright Contributors to the OpenCue Project
#
# 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... | 31.45 | 84 | 0.769475 | 187 | 1,258 | 5.101604 | 0.609626 | 0.062893 | 0.050314 | 0.033543 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00675 | 0.175676 | 1,258 | 39 | 85 | 32.25641 | 0.913211 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025641 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.083333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
f7da2c3017f12a22e24332ac105b3dbcb9526664 | 95 | py | Python | authtools/__init__.py | ParadoxAi/django-authtools | e0d39c84b3597066d68cdcb5755f3b2b2fcfa4fa | [
"BSD-2-Clause"
] | 288 | 2015-01-11T14:24:03.000Z | 2022-03-25T16:11:32.000Z | authtools/__init__.py | ParadoxAi/django-authtools | e0d39c84b3597066d68cdcb5755f3b2b2fcfa4fa | [
"BSD-2-Clause"
] | 86 | 2015-02-23T21:08:45.000Z | 2021-10-17T18:51:02.000Z | authtools/__init__.py | ParadoxAi/django-authtools | e0d39c84b3597066d68cdcb5755f3b2b2fcfa4fa | [
"BSD-2-Clause"
] | 113 | 2015-01-08T03:54:41.000Z | 2022-03-08T18:37:12.000Z | import pkg_resources
__version__ = pkg_resources.get_distribution('django-authtools').version
| 23.75 | 72 | 0.852632 | 11 | 95 | 6.727273 | 0.727273 | 0.324324 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063158 | 95 | 3 | 73 | 31.666667 | 0.831461 | 0 | 0 | 0 | 0 | 0 | 0.168421 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
790de0eafb238d094bd686b29f075e37c87c9f95 | 3,638 | py | Python | tests/test_buffer.py | xcgx/streamlink | b635e0d9d0fe9363817a96ec7d31faefed95cb57 | [
"BSD-2-Clause"
] | 10 | 2017-04-10T18:25:41.000Z | 2021-09-15T20:14:58.000Z | tests/test_buffer.py | xcgx/streamlink | b635e0d9d0fe9363817a96ec7d31faefed95cb57 | [
"BSD-2-Clause"
] | 9 | 2020-04-04T09:49:52.000Z | 2020-04-21T01:52:02.000Z | tests/test_buffer.py | xcgx/streamlink | b635e0d9d0fe9363817a96ec7d31faefed95cb57 | [
"BSD-2-Clause"
] | 12 | 2022-01-30T23:34:18.000Z | 2022-03-26T17:09:43.000Z | import unittest
from streamlink.buffers import Buffer, RingBuffer
class TestBuffer(unittest.TestCase):
def setUp(self):
self.buffer = Buffer()
def test_write(self):
self.buffer.write(b"1" * 8192)
self.buffer.write(b"2" * 4096)
self.assertEqual(self.buffer.length, 8192 + 4096... | 33.072727 | 71 | 0.628642 | 473 | 3,638 | 4.775899 | 0.12685 | 0.270031 | 0.269146 | 0.354139 | 0.722001 | 0.660912 | 0.657813 | 0.605578 | 0.542275 | 0.498893 | 0 | 0.079541 | 0.23282 | 3,638 | 109 | 72 | 33.376147 | 0.729846 | 0.010995 | 0 | 0.52439 | 0 | 0 | 0.011136 | 0 | 0 | 0 | 0 | 0 | 0.426829 | 1 | 0.170732 | false | 0 | 0.02439 | 0 | 0.231707 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f753998aa3158a241a0ceec23d78f154db2b082b | 89 | py | Python | cwKen/soloApp/apps.py | cs-fullstack-2019-spring/django-intro1-cw-rsalcido | e212a5a6504169e38beb8b6b082fc1f9080c587b | [
"Apache-2.0"
] | null | null | null | cwKen/soloApp/apps.py | cs-fullstack-2019-spring/django-intro1-cw-rsalcido | e212a5a6504169e38beb8b6b082fc1f9080c587b | [
"Apache-2.0"
] | null | null | null | cwKen/soloApp/apps.py | cs-fullstack-2019-spring/django-intro1-cw-rsalcido | e212a5a6504169e38beb8b6b082fc1f9080c587b | [
"Apache-2.0"
] | null | null | null | from django.apps import AppConfig
class SoloappConfig(AppConfig):
name = 'soloApp'
| 14.833333 | 33 | 0.752809 | 10 | 89 | 6.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168539 | 89 | 5 | 34 | 17.8 | 0.905405 | 0 | 0 | 0 | 0 | 0 | 0.078652 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.