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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ecc7151974f8720ff9a35b6b957a0d3f6214946c | 801 | py | Python | kite-go/lang/python/pythoncomplete/corpustest/corpus/misc.py | kiteco/kiteco-public | 74aaf5b9b0592153b92f7ed982d65e15eea885e3 | [
"BSD-3-Clause"
] | 17 | 2022-01-10T11:01:50.000Z | 2022-03-25T03:21:08.000Z | kite-go/lang/python/pythoncomplete/corpustest/corpus/misc.py | kiteco/kiteco-public | 74aaf5b9b0592153b92f7ed982d65e15eea885e3 | [
"BSD-3-Clause"
] | 1 | 2022-01-13T14:28:47.000Z | 2022-01-13T14:28:47.000Z | kite-go/lang/python/pythoncomplete/corpustest/corpus/misc.py | kiteco/kiteco-public | 74aaf5b9b0592153b92f7ed982d65e15eea885e3 | [
"BSD-3-Clause"
] | 7 | 2022-01-07T03:58:10.000Z | 2022-03-24T07:38:20.000Z | def test_import_dots():
'''TEST
import numpy as n$
@0 ... np
status: ok
'''
def test_import_alias():
# This test also tests having multiple back-quoted blocks in one expected completion
'''TEST
import num$
@0 `numpy as np` `numpy as np`
@! numpy
status: ok
'''
def test_... | 17.413043 | 88 | 0.549313 | 100 | 801 | 4.36 | 0.42 | 0.080275 | 0.100917 | 0.137615 | 0.302752 | 0.211009 | 0.211009 | 0 | 0 | 0 | 0 | 0.007273 | 0.313358 | 801 | 45 | 89 | 17.8 | 0.774545 | 0.244694 | 0 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.545455 | false | 0.090909 | 0.363636 | 0 | 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 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
019eff9e7bcbb12550dd1b94393e52b05b3abb95 | 1,054 | py | Python | resolvers/mutations.py | CesarMarcanoQuijada/DogeNotes | 3d3857eb958cf667c7fbf4ab784b34b8dc960e68 | [
"MIT"
] | 1 | 2021-11-03T19:39:12.000Z | 2021-11-03T19:39:12.000Z | resolvers/mutations.py | CesarMarcanoQuijada/DogeNotes | 3d3857eb958cf667c7fbf4ab784b34b8dc960e68 | [
"MIT"
] | null | null | null | resolvers/mutations.py | CesarMarcanoQuijada/DogeNotes | 3d3857eb958cf667c7fbf4ab784b34b8dc960e68 | [
"MIT"
] | null | null | null | from ariadne import MutationType
from controllers.register import register
from controllers.createTask import createTask
from controllers.deleteTask import deleteTask
from controllers.editTask import editTask
from controllers.login import login
mutation = MutationType()
def setMutations(mongo):
@mutation.field("reg... | 32.9375 | 80 | 0.747628 | 111 | 1,054 | 6.927928 | 0.297297 | 0.097529 | 0.117035 | 0.06762 | 0.080624 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149905 | 1,054 | 32 | 81 | 32.9375 | 0.858259 | 0 | 0 | 0 | 0 | 0 | 0.042654 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.24 | false | 0.16 | 0.24 | 0.16 | 0.72 | 0.04 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
17136e1ed8daeb1351e30bb6b828925d96e535fe | 16,311 | py | Python | test/test_grammar_parsing.py | warrenspe/Tokex | 2d05dee1c4fe02b55be6c91013db71078396255c | [
"MIT"
] | 1 | 2019-04-05T09:43:04.000Z | 2019-04-05T09:43:04.000Z | test/test_grammar_parsing.py | warrenspe/SParse | 2d05dee1c4fe02b55be6c91013db71078396255c | [
"MIT"
] | 11 | 2020-09-10T03:37:24.000Z | 2020-09-19T04:57:13.000Z | test/test_grammar_parsing.py | warrenspe/SParse | 2d05dee1c4fe02b55be6c91013db71078396255c | [
"MIT"
] | null | null | null | import tokex
import _test_case
class TestGrammarParsing(_test_case.TokexTestCase):
def test_parse_tokens(self):
grammar = """
'a' "b" s'c'
"""
token_grammar = tokex.compile(grammar)
self.assertIsNotNone(token_grammar.match('a b c'))
self.assertIsN... | 35.077419 | 121 | 0.400221 | 1,672 | 16,311 | 3.718301 | 0.049641 | 0.181438 | 0.102461 | 0.110021 | 0.915232 | 0.885958 | 0.859579 | 0.730899 | 0.626991 | 0.582918 | 0 | 0.011579 | 0.391086 | 16,311 | 464 | 122 | 35.153017 | 0.614378 | 0.000797 | 0 | 0.390306 | 0 | 0.002551 | 0.307984 | 0 | 0 | 0 | 0 | 0 | 0.255102 | 1 | 0.017857 | false | 0 | 0.005102 | 0 | 0.02551 | 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 |
1722e02ab5874d8a6d229436b45ea3f53bc68445 | 1,295 | py | Python | src/genie/libs/parser/iosxe/tests/ShowSdwanSystemOnDemand/cli/equal/golden_output_rem_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | null | null | null | src/genie/libs/parser/iosxe/tests/ShowSdwanSystemOnDemand/cli/equal/golden_output_rem_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | null | null | null | src/genie/libs/parser/iosxe/tests/ShowSdwanSystemOnDemand/cli/equal/golden_output_rem_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | null | null | null | expected_output = {
"on_demand_tunnel":{
"20":{
"system-ip":"20.0.0.20",
"on-demand":"no"
},
"21":{
"system-ip":"21.0.0.21",
"on-demand":"yes",
"status":"inactive"
},
"22":{
"system-ip":"22.0.0.22",
... | 22.719298 | 38 | 0.313514 | 133 | 1,295 | 3.030075 | 0.18797 | 0.258065 | 0.198511 | 0.168734 | 0.248139 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141227 | 0.458687 | 1,295 | 56 | 39 | 23.125 | 0.433666 | 0 | 0 | 0.285714 | 0 | 0 | 0.348263 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
17326f407fb78c7434a184254d000165f91b5b05 | 65 | py | Python | pyxb/bundles/__init__.py | eLBati/pyxb | 14737c23a125fd12c954823ad64fc4497816fae3 | [
"Apache-2.0"
] | 123 | 2015-01-12T06:43:22.000Z | 2022-03-20T18:06:46.000Z | pyxb/bundles/__init__.py | eLBati/pyxb | 14737c23a125fd12c954823ad64fc4497816fae3 | [
"Apache-2.0"
] | 103 | 2015-01-08T18:35:57.000Z | 2022-01-18T01:44:14.000Z | pyxb/bundles/__init__.py | eLBati/pyxb | 14737c23a125fd12c954823ad64fc4497816fae3 | [
"Apache-2.0"
] | 54 | 2015-02-15T17:12:00.000Z | 2022-03-07T23:02:32.000Z | """Core binding modules for commonly referenced namespaces.
"""
| 16.25 | 59 | 0.753846 | 7 | 65 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138462 | 65 | 3 | 60 | 21.666667 | 0.875 | 0.861538 | 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 |
173fa28bc911d904ea1d743578daf1d01a757bab | 19 | py | Python | example_snippets/multimenus_snippets/Snippets/SciPy/Special functions/Statistical Functions (see also scipy.stats)/pdtrc Poisson survival function.py | kuanpern/jupyterlab-snippets-multimenus | 477f51cfdbad7409eab45abe53cf774cd70f380c | [
"BSD-3-Clause"
] | null | null | null | example_snippets/multimenus_snippets/Snippets/SciPy/Special functions/Statistical Functions (see also scipy.stats)/pdtrc Poisson survival function.py | kuanpern/jupyterlab-snippets-multimenus | 477f51cfdbad7409eab45abe53cf774cd70f380c | [
"BSD-3-Clause"
] | null | null | null | example_snippets/multimenus_snippets/Snippets/SciPy/Special functions/Statistical Functions (see also scipy.stats)/pdtrc Poisson survival function.py | kuanpern/jupyterlab-snippets-multimenus | 477f51cfdbad7409eab45abe53cf774cd70f380c | [
"BSD-3-Clause"
] | 1 | 2021-02-04T04:51:48.000Z | 2021-02-04T04:51:48.000Z | special.pdtrc(k, m) | 19 | 19 | 0.736842 | 4 | 19 | 3.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 19 | 1 | 19 | 19 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
bd5d2c1446d4b28ed8c246a42faddc8b0a84a791 | 47 | py | Python | joint_train/data/constants.py | ml4ai/mliis | f40352e734f77609bcd5c4ad330ea73a897a217d | [
"MIT"
] | 23 | 2020-06-01T09:21:58.000Z | 2022-03-01T07:36:25.000Z | joint_train/data/constants.py | ml4ai/mliis | f40352e734f77609bcd5c4ad330ea73a897a217d | [
"MIT"
] | 6 | 2020-05-20T05:57:06.000Z | 2022-03-14T09:44:35.000Z | joint_train/data/constants.py | ml4ai/mliis | f40352e734f77609bcd5c4ad330ea73a897a217d | [
"MIT"
] | 5 | 2020-05-07T23:34:25.000Z | 2022-03-11T11:10:30.000Z | import numpy as np
SERIALIZED_DTYPE = np.uint8 | 15.666667 | 27 | 0.808511 | 8 | 47 | 4.625 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025 | 0.148936 | 47 | 3 | 27 | 15.666667 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 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 |
bd68590c001faa5de3a669bd5cf2ef3e22f7c3b3 | 180 | py | Python | lang/py/cookbook/v2/source/cb2_2_9_sol_1.py | ch1huizong/learning | 632267634a9fd84a5f5116de09ff1e2681a6cc85 | [
"MIT"
] | null | null | null | lang/py/cookbook/v2/source/cb2_2_9_sol_1.py | ch1huizong/learning | 632267634a9fd84a5f5116de09ff1e2681a6cc85 | [
"MIT"
] | null | null | null | lang/py/cookbook/v2/source/cb2_2_9_sol_1.py | ch1huizong/learning | 632267634a9fd84a5f5116de09ff1e2681a6cc85 | [
"MIT"
] | null | null | null | import zipfile
z = zipfile.ZipFile("zipfile.zip", "r")
for filename in z.namelist():
print 'File:', filename,
bytes = z.read(filename)
print 'has', len(bytes), 'bytes'
| 25.714286 | 39 | 0.65 | 25 | 180 | 4.68 | 0.6 | 0.239316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177778 | 180 | 6 | 40 | 30 | 0.790541 | 0 | 0 | 0 | 0 | 0 | 0.138889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.166667 | null | null | 0.333333 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
bdb761ff7784faeedee8e85a20aa42aea7dc03e4 | 390 | py | Python | tests/test_ShakenOL_Floquet.py | gsinuco/FloquetEffectiveHamiltonian | 3f77f1388bd45cd8f42339a85a85ea29f004d7dc | [
"MIT"
] | 2 | 2021-05-01T12:42:26.000Z | 2021-10-12T16:02:15.000Z | tests/test_ShakenOL_Floquet.py | gsinuco/FloquetEffectiveHamiltonian | 3f77f1388bd45cd8f42339a85a85ea29f004d7dc | [
"MIT"
] | null | null | null | tests/test_ShakenOL_Floquet.py | gsinuco/FloquetEffectiveHamiltonian | 3f77f1388bd45cd8f42339a85a85ea29f004d7dc | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
test_ShakenOL_Floquet
----------------------------------
Tests for `ShakenOL_Floquet` module.
"""
import unittest
import ShakenOL_Floquet
class TestShakenol_floquet(unittest.TestCase):
def setUp(self):
pass
def test_something(self):
asser... | 15 | 46 | 0.620513 | 41 | 390 | 5.634146 | 0.634146 | 0.25974 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003175 | 0.192308 | 390 | 25 | 47 | 15.6 | 0.730159 | 0.351282 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 1 | 0.333333 | false | 0.222222 | 0.222222 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
da45689a8b6aec8a1edb0a78ec0faabcd9e3f62e | 1,445 | py | Python | T1B_adversarial-search/players/player_minimax.py | allanmoreira/inteligencia_artificial | ee29a881be7fdb9dd150d08dbf9bb9e49f09cb71 | [
"Apache-2.0"
] | null | null | null | T1B_adversarial-search/players/player_minimax.py | allanmoreira/inteligencia_artificial | ee29a881be7fdb9dd150d08dbf9bb9e49f09cb71 | [
"Apache-2.0"
] | 1 | 2017-08-03T15:53:01.000Z | 2017-08-03T15:55:02.000Z | T1B_adversarial-search/players/player_minimax.py | allanmoreira/inteligencia_artificial | ee29a881be7fdb9dd150d08dbf9bb9e49f09cb71 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# Four spaces as indentation [no tabs]
from player import Player
from util import *
# ==========================================
# Player Minimax
# ==========================================
class MinimaxPlayer(Player):
# ------------------------------------------
# Initialize
# --... | 32.840909 | 78 | 0.519723 | 150 | 1,445 | 4.913333 | 0.586667 | 0.054274 | 0.061058 | 0.056988 | 0.062415 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.251903 | 1,445 | 44 | 79 | 32.840909 | 0.681776 | 0.703114 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022727 | 0 | 1 | 0.285714 | false | 0 | 0.285714 | 0.142857 | 0.857143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
da5d795fc7cc4b5165ff735bf4a248f0923a4dc2 | 199 | py | Python | col/tests/__init__.py | iehoshia/discipulado | dade1f7ceca4ff07f7e09529605bfac385e22f9e | [
"Apache-2.0"
] | null | null | null | col/tests/__init__.py | iehoshia/discipulado | dade1f7ceca4ff07f7e09529605bfac385e22f9e | [
"Apache-2.0"
] | null | null | null | col/tests/__init__.py | iehoshia/discipulado | dade1f7ceca4ff07f7e09529605bfac385e22f9e | [
"Apache-2.0"
] | null | null | null | # For copyright and license terms, see COPYRIGHT.rst (top level of repository)
# Repository: https://github.com/C3S/collecting_society
from .test_collecting_society import suite
__all__ = ['suite']
| 33.166667 | 78 | 0.788945 | 27 | 199 | 5.555556 | 0.814815 | 0.226667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005682 | 0.115578 | 199 | 5 | 79 | 39.8 | 0.846591 | 0.653266 | 0 | 0 | 0 | 0 | 0.075758 | 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 |
da67ac731c613bfc84a1294e828d8f32c9dc20e0 | 87 | py | Python | setup.py | semantic-agency/secret | e2d2a4084bbe3af78d1d7f097102b91f23b6febe | [
"MIT"
] | null | null | null | setup.py | semantic-agency/secret | e2d2a4084bbe3af78d1d7f097102b91f23b6febe | [
"MIT"
] | null | null | null | setup.py | semantic-agency/secret | e2d2a4084bbe3af78d1d7f097102b91f23b6febe | [
"MIT"
] | null | null | null | from setuptools import setup
setup(name="secret", version="0.1", packages=["secret"])
| 21.75 | 56 | 0.724138 | 12 | 87 | 5.25 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025316 | 0.091954 | 87 | 3 | 57 | 29 | 0.772152 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 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 |
da81f263f1ee4e627d2db00c974f2ae9e8e949e4 | 454 | py | Python | Code/TDATA2RDFANDV/converter/Functions/helpCSV.py | oeg-upm/bimerr-epw | 32f706378fc1953d74e820df498506dab92bbcd7 | [
"Apache-2.0"
] | null | null | null | Code/TDATA2RDFANDV/converter/Functions/helpCSV.py | oeg-upm/bimerr-epw | 32f706378fc1953d74e820df498506dab92bbcd7 | [
"Apache-2.0"
] | null | null | null | Code/TDATA2RDFANDV/converter/Functions/helpCSV.py | oeg-upm/bimerr-epw | 32f706378fc1953d74e820df498506dab92bbcd7 | [
"Apache-2.0"
] | null | null | null | import os
def removeFile(document):
if os.path.exists("converter/DataStorage/" + document):
os.remove("converter/DataStorage/" + document)
return
else:
return
def createFile(document):
documentCTD=open("converter/DataStorage/" + document, "a+")
return documentCTD # Document Cr... | 25.222222 | 63 | 0.69163 | 46 | 454 | 6.826087 | 0.478261 | 0.254777 | 0.356688 | 0.203822 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19163 | 454 | 18 | 64 | 25.222222 | 0.855586 | 0.070485 | 0 | 0.153846 | 0 | 0 | 0.216667 | 0.209524 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.076923 | 0 | 0.615385 | 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 |
da87e41fab5f77497c33f4885bb08ed67d1ca5e4 | 143 | py | Python | backend/users/urls.py | xelam11/TaskPlanner | c1e940d2a9babba7721c0f2d261e1c7df9c48581 | [
"BSD-3-Clause"
] | null | null | null | backend/users/urls.py | xelam11/TaskPlanner | c1e940d2a9babba7721c0f2d261e1c7df9c48581 | [
"BSD-3-Clause"
] | null | null | null | backend/users/urls.py | xelam11/TaskPlanner | c1e940d2a9babba7721c0f2d261e1c7df9c48581 | [
"BSD-3-Clause"
] | null | null | null | from django.urls import include, path
urlpatterns = [
path('', include('djoser.urls')),
path('auth/', include('djoser.urls.jwt')),
]
| 17.875 | 46 | 0.636364 | 17 | 143 | 5.352941 | 0.588235 | 0.285714 | 0.373626 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160839 | 143 | 7 | 47 | 20.428571 | 0.758333 | 0 | 0 | 0 | 0 | 0 | 0.216783 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 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 |
da8b8e4158c81c9449054f0ca13c5b40235cccdd | 924 | py | Python | tests/test_ratelimit.py | fredstro/mrq | eec5dfb425c765afa1ab5b41ca1e6f76869a6726 | [
"MIT"
] | 745 | 2015-01-02T06:54:37.000Z | 2022-03-27T13:23:33.000Z | tests/test_ratelimit.py | fredstro/mrq | eec5dfb425c765afa1ab5b41ca1e6f76869a6726 | [
"MIT"
] | 175 | 2015-01-01T20:46:08.000Z | 2022-01-24T09:40:55.000Z | tests/test_ratelimit.py | fredstro/mrq | eec5dfb425c765afa1ab5b41ca1e6f76869a6726 | [
"MIT"
] | 143 | 2015-01-06T06:55:26.000Z | 2021-09-13T19:47:12.000Z | from builtins import range
from mrq.helpers import ratelimit
import time
def test_helpers_ratelimit(worker):
worker.start_deps()
assert ratelimit("k3", 1, per=1) == 1
assert ratelimit("k3", 1, per=1) == 0
assert ratelimit("k3", 1, per=1) == 0
for i in range(0, 10):
r = ratelimit("k", 10... | 24.972973 | 78 | 0.595238 | 150 | 924 | 3.64 | 0.386667 | 0.274725 | 0.153846 | 0.192308 | 0.481685 | 0.380952 | 0.168498 | 0 | 0 | 0 | 0 | 0.083212 | 0.258658 | 924 | 36 | 79 | 25.666667 | 0.713869 | 0.179654 | 0 | 0.190476 | 0 | 0 | 0.01992 | 0 | 0 | 0 | 0 | 0.027778 | 0.52381 | 1 | 0.047619 | false | 0 | 0.142857 | 0 | 0.190476 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
16fc0e0510046711ce3cc6290cdfafe5987686d7 | 84 | py | Python | buzzard/utils/__init__.py | ashnair1/buzzard | f9a9c2ac2929d997b1643f4730c67e3db45e181e | [
"Apache-2.0"
] | 30 | 2019-12-07T21:16:41.000Z | 2022-03-07T15:12:25.000Z | buzzard/utils/__init__.py | ashnair1/buzzard | f9a9c2ac2929d997b1643f4730c67e3db45e181e | [
"Apache-2.0"
] | 42 | 2018-01-31T20:03:55.000Z | 2019-11-12T19:42:13.000Z | buzzard/utils/__init__.py | ashnair1/buzzard | f9a9c2ac2929d997b1643f4730c67e3db45e181e | [
"Apache-2.0"
] | 15 | 2018-01-31T19:47:22.000Z | 2019-11-26T10:27:50.000Z | """Utility code for buzzard's users"""
from ._merge_functions import concat_arrays
| 21 | 43 | 0.785714 | 12 | 84 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119048 | 84 | 3 | 44 | 28 | 0.851351 | 0.380952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
e507109273f1abbf088fc63e273b11b491a561e2 | 6,458 | py | Python | data_import.py | Vignesh-Sairaj/cm-229 | 63ae1b8f3529e602352bc3eb92066c9520dfa805 | [
"MIT"
] | null | null | null | data_import.py | Vignesh-Sairaj/cm-229 | 63ae1b8f3529e602352bc3eb92066c9520dfa805 | [
"MIT"
] | null | null | null | data_import.py | Vignesh-Sairaj/cm-229 | 63ae1b8f3529e602352bc3eb92066c9520dfa805 | [
"MIT"
] | null | null | null | import sys
import os
import pandas as pd
import numpy as np
"""
IMPORT DATA FOR THE MODEL
RETURN: GENOTYPE_DF, PHENOTYPE_DF
"""
def import_data_islets():
input_dir = "./DO_Islets/"
# import genotype
input_geno_file = "%s/Attie-232_Attie_DO_Islets-GigaMUGA_geno.csv" % (input_dir)
input_geno_df = pd.read_csv(i... | 30.319249 | 103 | 0.795293 | 925 | 6,458 | 5.218378 | 0.121081 | 0.07458 | 0.029832 | 0.042884 | 0.747877 | 0.743319 | 0.723016 | 0.710793 | 0.697742 | 0.697742 | 0 | 0.006034 | 0.127439 | 6,458 | 213 | 104 | 30.319249 | 0.850577 | 0.206256 | 0 | 0.591837 | 0 | 0 | 0.074701 | 0.035857 | 0 | 0 | 0 | 0 | 0 | 1 | 0.061224 | false | 0 | 0.061224 | 0 | 0.183673 | 0.204082 | 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 |
e5142a0e36d44a3a8be2040c78cdb8e9a8871ffa | 475 | py | Python | blog/sitemap.py | xXcoronaXx/Dblog | 56ee1b8f6f74fabbe0e081921e6cff092661e8df | [
"MIT"
] | null | null | null | blog/sitemap.py | xXcoronaXx/Dblog | 56ee1b8f6f74fabbe0e081921e6cff092661e8df | [
"MIT"
] | null | null | null | blog/sitemap.py | xXcoronaXx/Dblog | 56ee1b8f6f74fabbe0e081921e6cff092661e8df | [
"MIT"
] | null | null | null | from django.contrib.sitemaps import Sitemap
from posts.models import Post
from statics_pages.models import Page
class BlogSitemap(Sitemap):
changefreq = "monthly"
priority = 0.5
def items(self):
return Post.objects.filter(visible=True)[:100]
def lastmod(self, obj):
return obj.created
class StaticSitemap(Sit... | 20.652174 | 48 | 0.755789 | 66 | 475 | 5.424242 | 0.484848 | 0.067039 | 0.134078 | 0.178771 | 0.47486 | 0.47486 | 0.47486 | 0.290503 | 0.290503 | 0.290503 | 0 | 0.017157 | 0.141053 | 475 | 23 | 49 | 20.652174 | 0.860294 | 0 | 0 | 0.588235 | 0 | 0 | 0.029412 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.235294 | false | 0 | 0.176471 | 0.235294 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
e52d18476a1be2f8cd3d3feb7f9e8c9fab094667 | 118 | py | Python | healthz/apps.py | rehive/django-healthz | 87abae2d1bd2a045f4bd45bcb4baddf6d67ff329 | [
"MIT"
] | 8 | 2019-07-03T09:33:42.000Z | 2021-07-23T18:23:10.000Z | healthz/apps.py | rehive/django-healthz | 87abae2d1bd2a045f4bd45bcb4baddf6d67ff329 | [
"MIT"
] | 3 | 2019-06-30T16:52:57.000Z | 2020-02-12T13:46:06.000Z | healthz/apps.py | rehive/django-healthz | 87abae2d1bd2a045f4bd45bcb4baddf6d67ff329 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class HealthzConfig(AppConfig):
name = 'healthz'
verbose_name = "Healthz"
| 16.857143 | 33 | 0.728814 | 13 | 118 | 6.538462 | 0.769231 | 0.258824 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186441 | 118 | 6 | 34 | 19.666667 | 0.885417 | 0 | 0 | 0 | 0 | 0 | 0.118644 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
e54929042b67cf0fc3a9f36f90124a4a8f989cca | 1,420 | py | Python | telestream_cloud_notifications_sdk/test/test_notifications_api.py | pandastream/telestream-cloud-python-sdk | ce0ad503299661a0f622661359367173c06889fc | [
"MIT"
] | null | null | null | telestream_cloud_notifications_sdk/test/test_notifications_api.py | pandastream/telestream-cloud-python-sdk | ce0ad503299661a0f622661359367173c06889fc | [
"MIT"
] | 2 | 2016-07-06T14:13:31.000Z | 2018-03-07T12:54:58.000Z | telestream_cloud_notifications_sdk/test/test_notifications_api.py | Telestream/telestream-cloud-python-sdk | ce0ad503299661a0f622661359367173c06889fc | [
"MIT"
] | null | null | null | # coding: utf-8
"""
Notifications API
Notifications # noqa: E501
The version of the OpenAPI document: 2.1.0
Contact: cloudsupport@telestream.net
Generated by: https://openapi-generator.tech
"""
from __future__ import absolute_import
import unittest
import telestream_cloud_notifications
from ... | 21.19403 | 104 | 0.674648 | 152 | 1,420 | 6.052632 | 0.381579 | 0.086957 | 0.059783 | 0.081522 | 0.219565 | 0.102174 | 0 | 0 | 0 | 0 | 0 | 0.01779 | 0.247887 | 1,420 | 66 | 105 | 21.515152 | 0.843633 | 0.361972 | 0 | 0.272727 | 1 | 0 | 0.009852 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.318182 | false | 0.272727 | 0.227273 | 0 | 0.590909 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
e5553d71a0501bf4a90b87a9bd8b041a091556cc | 30 | py | Python | ox_log/core/__init__.py | emin63/ox_log | 88a9363ed864ece741e3f2b4b1191efc87010af8 | [
"MIT"
] | 1 | 2021-01-15T12:46:28.000Z | 2021-01-15T12:46:28.000Z | ox_log/core/__init__.py | emin63/ox_log | 88a9363ed864ece741e3f2b4b1191efc87010af8 | [
"MIT"
] | null | null | null | ox_log/core/__init__.py | emin63/ox_log | 88a9363ed864ece741e3f2b4b1191efc87010af8 | [
"MIT"
] | null | null | null | """Core tools for ox_log.
"""
| 10 | 25 | 0.6 | 5 | 30 | 3.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 30 | 2 | 26 | 15 | 0.68 | 0.733333 | 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 |
e56c14cedb48c6b3c8e15728db24ff24737078b6 | 76 | py | Python | buatan Wimbuh/python/modules/tumbal.py | wimbuhTri/Komuni_Remote_Distribution | 7eb4734a727354cbc786c1b3181f136b1f573f52 | [
"MIT"
] | null | null | null | buatan Wimbuh/python/modules/tumbal.py | wimbuhTri/Komuni_Remote_Distribution | 7eb4734a727354cbc786c1b3181f136b1f573f52 | [
"MIT"
] | null | null | null | buatan Wimbuh/python/modules/tumbal.py | wimbuhTri/Komuni_Remote_Distribution | 7eb4734a727354cbc786c1b3181f136b1f573f52 | [
"MIT"
] | null | null | null | class Base():
def __init__(self, **kwargs):
super(Base).__init__()
pass | 19 | 30 | 0.671053 | 10 | 76 | 4.3 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144737 | 76 | 4 | 31 | 19 | 0.661538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 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 |
e58122a165113051933437a926cc0a963696b0e7 | 38 | py | Python | 01 Fundamental/Session 01/homework/for-ex.py | culee/c4e | 775c53fa92a31696431760f58a79a52889bfb46f | [
"MIT"
] | null | null | null | 01 Fundamental/Session 01/homework/for-ex.py | culee/c4e | 775c53fa92a31696431760f58a79a52889bfb46f | [
"MIT"
] | null | null | null | 01 Fundamental/Session 01/homework/for-ex.py | culee/c4e | 775c53fa92a31696431760f58a79a52889bfb46f | [
"MIT"
] | null | null | null | for i in range(0,100,2):
print(i)
| 12.666667 | 24 | 0.578947 | 9 | 38 | 2.444444 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 0.236842 | 38 | 2 | 25 | 19 | 0.586207 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
e589b3c4fab6d76c4d4fb4b40f634afa3cd73174 | 381 | py | Python | grid_help/views.py | topd333/Xlab | 28d89b3b18717957229ca52cb2cbbbc20bd31eae | [
"Unlicense"
] | null | null | null | grid_help/views.py | topd333/Xlab | 28d89b3b18717957229ca52cb2cbbbc20bd31eae | [
"Unlicense"
] | null | null | null | grid_help/views.py | topd333/Xlab | 28d89b3b18717957229ca52cb2cbbbc20bd31eae | [
"Unlicense"
] | null | null | null | from django.shortcuts import render_to_response, render
from django.http import HttpResponse
import sys, os
def Help(request):
# This will come from search
return HttpResponse('Help is on the way')
def About(request):
# This will come from search
return HttpResponse('Xlab is brought to you by Linkedinyou ... | 22.411765 | 120 | 0.774278 | 55 | 381 | 5.327273 | 0.654545 | 0.068259 | 0.102389 | 0.129693 | 0.320819 | 0.320819 | 0.320819 | 0.320819 | 0 | 0 | 0 | 0 | 0.167979 | 381 | 16 | 121 | 23.8125 | 0.92429 | 0.139108 | 0 | 0 | 0 | 0 | 0.348765 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.428571 | 0.285714 | 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 |
e5f24ca92a0f7304258f20349b69acb42af71188 | 71 | py | Python | src/explorepy_test/__init__.py | bmeatayi/explorepy-test | 9af4195f3d79a00dd9c9f777b882aeda0fbf0536 | [
"MIT"
] | null | null | null | src/explorepy_test/__init__.py | bmeatayi/explorepy-test | 9af4195f3d79a00dd9c9f777b882aeda0fbf0536 | [
"MIT"
] | null | null | null | src/explorepy_test/__init__.py | bmeatayi/explorepy-test | 9af4195f3d79a00dd9c9f777b882aeda0fbf0536 | [
"MIT"
] | null | null | null | from .explore import Explore
from . import tools
__version__ = '0.1.0'
| 17.75 | 28 | 0.746479 | 11 | 71 | 4.454545 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05 | 0.15493 | 71 | 3 | 29 | 23.666667 | 0.766667 | 0 | 0 | 0 | 0 | 0 | 0.070423 | 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 |
e5ff8c102f09d54289603db003113bc71045d08e | 347 | py | Python | PYTHON-CURSO EM VIDEO/Desafio 006.py | JaumVitor/HOMEWORK-PYTHON | aff564ac61802c7417d7280a73c1ed4a98978ed3 | [
"Apache-2.0"
] | null | null | null | PYTHON-CURSO EM VIDEO/Desafio 006.py | JaumVitor/HOMEWORK-PYTHON | aff564ac61802c7417d7280a73c1ed4a98978ed3 | [
"Apache-2.0"
] | null | null | null | PYTHON-CURSO EM VIDEO/Desafio 006.py | JaumVitor/HOMEWORK-PYTHON | aff564ac61802c7417d7280a73c1ed4a98978ed3 | [
"Apache-2.0"
] | null | null | null | print ('='*50)
n = float ( input ('Digite o número: '))
print ('='*50)
##########################################################
print ('O dobro do número digitado é >>> {}'.format (n * 2))
print ('O tripo do número digitado é >>> {}'.format (n * 3))
print ('A raiz quadrada do número digitado é >>> {:.2f}'.format (pow... | 38.555556 | 79 | 0.478386 | 46 | 347 | 3.608696 | 0.478261 | 0.126506 | 0.289157 | 0.307229 | 0.289157 | 0.289157 | 0 | 0 | 0 | 0 | 0 | 0.037415 | 0.152738 | 347 | 8 | 80 | 43.375 | 0.527211 | 0 | 0 | 0.285714 | 0 | 0 | 0.474048 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.857143 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
f90ef51d3cfe50676094cc93bcfb54ef225030d2 | 145 | py | Python | light_famd/__init__.py | marlon27/Light_FAMD | fe4328f15f6145798869908fa126eabe75e85391 | [
"BSD-2-Clause"
] | 11 | 2019-11-13T21:46:32.000Z | 2021-08-02T13:41:31.000Z | light_famd/__init__.py | marlon27/Light_FAMD | fe4328f15f6145798869908fa126eabe75e85391 | [
"BSD-2-Clause"
] | 5 | 2019-11-28T10:07:04.000Z | 2021-03-11T17:21:43.000Z | light_famd/__init__.py | marlon27/Light_FAMD | fe4328f15f6145798869908fa126eabe75e85391 | [
"BSD-2-Clause"
] | 2 | 2021-01-29T02:57:26.000Z | 2021-06-03T14:20:26.000Z | from .ca import CA
from .famd import FAMD
from .mca import MCA
from .mfa import MFA
from .pca import PCA
__all__=['CA','FAMD','MCA','PCA','MFA'] | 20.714286 | 39 | 0.703448 | 26 | 145 | 3.769231 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144828 | 145 | 7 | 39 | 20.714286 | 0.790323 | 0 | 0 | 0 | 0 | 0 | 0.10274 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.833333 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
00e595f8fd278233c16d0b0c3f286f1bfd8b64b3 | 47 | py | Python | python/exercicios mundo 1/ex004/hgfsshn.py | LEXW3B/PYTHON | 1ae54ea709c008bd7fab7602e034773610e7985e | [
"MIT"
] | 1 | 2022-01-05T08:51:16.000Z | 2022-01-05T08:51:16.000Z | python/exercicios mundo 1/ex004/hgfsshn.py | LEXW3B/PYTHON | 1ae54ea709c008bd7fab7602e034773610e7985e | [
"MIT"
] | null | null | null | python/exercicios mundo 1/ex004/hgfsshn.py | LEXW3B/PYTHON | 1ae54ea709c008bd7fab7602e034773610e7985e | [
"MIT"
] | null | null | null | n = str(input('fdsagd: '))
print(n.__len__())
| 15.666667 | 26 | 0.595745 | 7 | 47 | 3.428571 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12766 | 47 | 2 | 27 | 23.5 | 0.585366 | 0 | 0 | 0 | 0 | 0 | 0.170213 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
dad816cd271485dab9fb66381d159577e0b58a38 | 403 | py | Python | Core/Rcon_Plugins/Rcon_ListPlayers.py | ChenjianS47/SquadPy | 80b1f1129efa33c15ebdad9ce822a5dfc940b28c | [
"MIT"
] | 1 | 2021-09-27T07:32:32.000Z | 2021-09-27T07:32:32.000Z | Core/Rcon_Plugins/Rcon_ListPlayers.py | ChenjianS47/SquadPy | 80b1f1129efa33c15ebdad9ce822a5dfc940b28c | [
"MIT"
] | null | null | null | Core/Rcon_Plugins/Rcon_ListPlayers.py | ChenjianS47/SquadPy | 80b1f1129efa33c15ebdad9ce822a5dfc940b28c | [
"MIT"
] | 1 | 2021-09-27T07:33:07.000Z | 2021-09-27T07:33:07.000Z | import Core.Base.Pyscrds_modified as rcon
def Rcon_ListPlayers(server_rcon_info, server_name):
conn = rcon.RconConnection(server=server_rcon_info[server_name]['Server_IP'],
port=server_rcon_info[server_name]['RCON_Port'],
password=server_rcon_info[serv... | 40.3 | 83 | 0.672457 | 49 | 403 | 5.163265 | 0.428571 | 0.158103 | 0.221344 | 0.316206 | 0.426877 | 0.237154 | 0 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 403 | 9 | 84 | 44.777778 | 0.816129 | 0 | 0 | 0 | 0 | 0 | 0.094293 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0.142857 | 0.142857 | 0 | 0.428571 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
dada676c066bd1d7ac3665a786406963932a6063 | 57 | py | Python | tests/unit/libraries/tornado_/__init__.py | hackerrdave/signalfx-python-tracing | 55f50c7b71cea642bb18733e452988a32f899fbb | [
"Apache-2.0"
] | 9 | 2019-07-17T12:57:32.000Z | 2021-11-11T13:31:40.000Z | tests/unit/libraries/tornado_/__init__.py | hackerrdave/signalfx-python-tracing | 55f50c7b71cea642bb18733e452988a32f899fbb | [
"Apache-2.0"
] | 5 | 2019-10-04T05:56:32.000Z | 2021-01-26T14:06:57.000Z | tests/unit/libraries/tornado_/__init__.py | hackerrdave/signalfx-python-tracing | 55f50c7b71cea642bb18733e452988a32f899fbb | [
"Apache-2.0"
] | 8 | 2019-02-23T20:07:59.000Z | 2021-06-30T08:12:55.000Z | # Copyright (C) 2018 SignalFx, Inc. All rights reserved.
| 28.5 | 56 | 0.736842 | 8 | 57 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 0.157895 | 57 | 1 | 57 | 57 | 0.791667 | 0.947368 | 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 |
daedf639bf41b06a9af9d3e8ab26850b8366dff4 | 11,092 | py | Python | fromHTMLtoVagrant/OldScripts/VagrantScriptCreatorInTextFormat.py | SuperboGiuseppe/dncs_lab2 | c340169f3133c4fa1574f5be82268e2958e57975 | [
"MIT"
] | 2 | 2021-01-24T11:19:04.000Z | 2021-01-24T16:36:41.000Z | fromHTMLtoVagrant/OldScripts/VagrantScriptCreatorInTextFormat.py | SuperboGiuseppe/dncs_lab2 | c340169f3133c4fa1574f5be82268e2958e57975 | [
"MIT"
] | null | null | null | fromHTMLtoVagrant/OldScripts/VagrantScriptCreatorInTextFormat.py | SuperboGiuseppe/dncs_lab2 | c340169f3133c4fa1574f5be82268e2958e57975 | [
"MIT"
] | 3 | 2021-01-24T11:16:51.000Z | 2021-03-20T10:18:00.000Z | #!/usr/bin/env python
# coding: utf-8
# In[1]:
import os
# In[24]:
## Our motive is to generate only one single vagrant file.##
## we will try to make a generic file as much as possible. since it's a test-based project/not a production based##
## we will allow our user's limited choices to selects the combinatio... | 52.075117 | 235 | 0.682113 | 2,057 | 11,092 | 3.648031 | 0.125425 | 0.13193 | 0.146455 | 0.068897 | 0.803705 | 0.759462 | 0.722815 | 0.683102 | 0.644456 | 0.588353 | 0 | 0.082717 | 0.09863 | 11,092 | 212 | 236 | 52.320755 | 0.667834 | 0.100433 | 0 | 0.301775 | 1 | 0.136095 | 0.560337 | 0.022531 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.005917 | 0 | 0.005917 | 0.005917 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
daf4c79285b691b8fb94ea059ce7622787ef2ca7 | 131 | py | Python | apps/static_pages/views.py | ilyukevich/tasks | ba0c8202cfe61d26975c35f388155d36e1c2b856 | [
"MIT"
] | null | null | null | apps/static_pages/views.py | ilyukevich/tasks | ba0c8202cfe61d26975c35f388155d36e1c2b856 | [
"MIT"
] | null | null | null | apps/static_pages/views.py | ilyukevich/tasks | ba0c8202cfe61d26975c35f388155d36e1c2b856 | [
"MIT"
] | null | null | null | from django.views.generic.base import TemplateView
class About(TemplateView):
template_name = 'static_pages/about.html'
| 21.833333 | 51 | 0.763359 | 16 | 131 | 6.125 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152672 | 131 | 5 | 52 | 26.2 | 0.882883 | 0 | 0 | 0 | 0 | 0 | 0.18254 | 0.18254 | 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 |
971319498ded4f40de1a0e3b806adb4d1c6cdd9d | 740 | py | Python | luncho_python/luncho_python/__init__.py | HIRANO-Satoshi/luncho | caf41fc68e8c95130dcda386ebd0e61e4af3e698 | [
"MIT"
] | 1 | 2021-05-21T09:42:57.000Z | 2021-05-21T09:42:57.000Z | luncho_python/luncho_python/__init__.py | HIRANO-Satoshi/luncho | caf41fc68e8c95130dcda386ebd0e61e4af3e698 | [
"MIT"
] | 25 | 2021-05-21T23:07:39.000Z | 2022-03-02T11:19:15.000Z | luncho_python/luncho_python/__init__.py | HIRANO-Satoshi/luncho | caf41fc68e8c95130dcda386ebd0e61e4af3e698 | [
"MIT"
] | null | null | null | # flake8: noqa
"""
Client library for Luncho API.
Use luncho.ts and luncho.py rather than LunchoAPI.ts and others. # noqa: E501
The version of the OpenAPI document: 0.0.1
Generated by: https://openapi-generator.tech
"""
__version__ = "1.0.0"
# import ApiClient
from luncho_python.api_client impor... | 26.428571 | 82 | 0.808108 | 95 | 740 | 6.157895 | 0.421053 | 0.136752 | 0.218803 | 0.266667 | 0.328205 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015674 | 0.137838 | 740 | 27 | 83 | 27.407407 | 0.901254 | 0.364865 | 0 | 0 | 1 | 0 | 0.011287 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.888889 | 0 | 0.888889 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
971907168748707d15e195714e6bebc48b3486e9 | 107 | py | Python | models/iot_device.py | peacemaker07/iot_making_for_sls | 91e3a2831fff9be6e7c02abdde28bb749168079a | [
"MIT"
] | 1 | 2019-12-24T00:27:33.000Z | 2019-12-24T00:27:33.000Z | models/iot_device.py | peacemaker07/iot_making_for_sls | 91e3a2831fff9be6e7c02abdde28bb749168079a | [
"MIT"
] | 1 | 2021-02-02T11:47:23.000Z | 2021-02-02T11:47:52.000Z | models/iot_device.py | peacemaker07/iot_making_for_sls | 91e3a2831fff9be6e7c02abdde28bb749168079a | [
"MIT"
] | null | null | null | from models.dynamo import BaseDynamo
class IoTDeviceDynamoDB(BaseDynamo):
table_name = 'iot-device'
| 15.285714 | 36 | 0.775701 | 12 | 107 | 6.833333 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149533 | 107 | 6 | 37 | 17.833333 | 0.901099 | 0 | 0 | 0 | 0 | 0 | 0.093458 | 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 |
97689f576c2c5bee2648ca8720a449189f2a4269 | 4,814 | py | Python | core/tests/test_nation_state.py | johnpooch/diplomacy | 567db5c5cfefa99f176bacbfe469977474aa8a86 | [
"MIT"
] | 1 | 2020-07-21T18:10:29.000Z | 2020-07-21T18:10:29.000Z | core/tests/test_nation_state.py | johnpooch/diplomacy | 567db5c5cfefa99f176bacbfe469977474aa8a86 | [
"MIT"
] | 142 | 2020-04-07T17:36:34.000Z | 2021-06-07T00:20:47.000Z | core/tests/test_nation_state.py | johnpooch/diplomacy | 567db5c5cfefa99f176bacbfe469977474aa8a86 | [
"MIT"
] | 3 | 2018-08-30T08:58:27.000Z | 2021-02-28T03:34:26.000Z | from django.test import TestCase
from core import models
from core.models.base import Season
from core.tests import DiplomacyTestCaseMixin
class TestNationState(TestCase, DiplomacyTestCaseMixin):
def setUp(self):
self.variant = self.create_test_variant()
self.game = self.create_test_game(variant... | 36.195489 | 84 | 0.649979 | 560 | 4,814 | 5.292857 | 0.101786 | 0.178138 | 0.094467 | 0.087719 | 0.793185 | 0.762483 | 0.745951 | 0.704791 | 0.66498 | 0.646424 | 0 | 0.00255 | 0.266722 | 4,814 | 132 | 85 | 36.469697 | 0.83711 | 0 | 0 | 0.591667 | 0 | 0 | 0.0027 | 0 | 0 | 0 | 0 | 0 | 0.15 | 1 | 0.075 | false | 0 | 0.033333 | 0 | 0.116667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
977992510128224202050ba8281e7baa6082952d | 98 | py | Python | django_forum_engine/forum_engine/apps.py | MohanSai1997/django-forum-engine | dc4c1e938f66eb05cb88763c607e6fad95167643 | [
"MIT"
] | null | null | null | django_forum_engine/forum_engine/apps.py | MohanSai1997/django-forum-engine | dc4c1e938f66eb05cb88763c607e6fad95167643 | [
"MIT"
] | null | null | null | django_forum_engine/forum_engine/apps.py | MohanSai1997/django-forum-engine | dc4c1e938f66eb05cb88763c607e6fad95167643 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class ForumEngineConfig(AppConfig):
name = 'forum_engine'
| 16.333333 | 35 | 0.77551 | 11 | 98 | 6.818182 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153061 | 98 | 5 | 36 | 19.6 | 0.903614 | 0 | 0 | 0 | 0 | 0 | 0.122449 | 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 |
9785a5e8911822a6de1b71139f10ff182907bcd4 | 212 | py | Python | application/wsgi.py | Marcelotsvaz/vaz-projects | 8ccc0bf8d25f9276714e1e5ecb0a4e80f07442b4 | [
"Unlicense"
] | null | null | null | application/wsgi.py | Marcelotsvaz/vaz-projects | 8ccc0bf8d25f9276714e1e5ecb0a4e80f07442b4 | [
"Unlicense"
] | null | null | null | application/wsgi.py | Marcelotsvaz/vaz-projects | 8ccc0bf8d25f9276714e1e5ecb0a4e80f07442b4 | [
"Unlicense"
] | null | null | null | #
# VAZ Projects
#
#
# Author: Marcelo Tellier Sartori Vaz <marcelotsvaz@gmail.com>
from django.core.wsgi import get_wsgi_application
from django.conf import settings
application = get_wsgi_application() | 15.142857 | 62 | 0.773585 | 27 | 212 | 5.925926 | 0.666667 | 0.125 | 0.225 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150943 | 212 | 14 | 63 | 15.142857 | 0.888889 | 0.353774 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
978d40a8f530d67d421237110986d829d457a931 | 42 | py | Python | sasstastic/version.py | mateuszz0000/sasstastic | 562b41c201c4d02bbc403044b1f946f4ab46f9ab | [
"MIT"
] | null | null | null | sasstastic/version.py | mateuszz0000/sasstastic | 562b41c201c4d02bbc403044b1f946f4ab46f9ab | [
"MIT"
] | null | null | null | sasstastic/version.py | mateuszz0000/sasstastic | 562b41c201c4d02bbc403044b1f946f4ab46f9ab | [
"MIT"
] | null | null | null | __all__ = ('VERSION',)
VERSION = '0.0.1'
| 10.5 | 22 | 0.571429 | 6 | 42 | 3.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 0.166667 | 42 | 3 | 23 | 14 | 0.485714 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 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 |
979e9407221c95d45a3c9bd89de097c649dd4b1c | 76 | py | Python | Sketche/nature_of_code/chapter_1/random2d_test.py | kantel/p5 | 2ef14191c35fdb056b44624c6ff0ff764c88cc30 | [
"MIT"
] | null | null | null | Sketche/nature_of_code/chapter_1/random2d_test.py | kantel/p5 | 2ef14191c35fdb056b44624c6ff0ff764c88cc30 | [
"MIT"
] | null | null | null | Sketche/nature_of_code/chapter_1/random2d_test.py | kantel/p5 | 2ef14191c35fdb056b44624c6ff0ff764c88cc30 | [
"MIT"
] | null | null | null | from pvector import PVector
v = PVector.random2D()
print(v)
print(v.mag())
| 12.666667 | 27 | 0.723684 | 12 | 76 | 4.583333 | 0.583333 | 0.218182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015152 | 0.131579 | 76 | 5 | 28 | 15.2 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
97ac84a1d2466d78a67dd86ab6bd85002eed9141 | 94 | py | Python | ml_service/app/fl_app.py | AsAsgard/trading_pr | d4290cf256504ffc3f15ede353e9e7dd19e1099f | [
"Apache-2.0"
] | 2 | 2019-05-04T08:23:28.000Z | 2019-07-03T21:53:13.000Z | ml_service/app/fl_app.py | AsAsgard/trading_pr | d4290cf256504ffc3f15ede353e9e7dd19e1099f | [
"Apache-2.0"
] | 7 | 2019-05-01T12:28:17.000Z | 2019-05-26T14:51:42.000Z | ml_service/app/fl_app.py | AsAsgard/trading_pr | d4290cf256504ffc3f15ede353e9e7dd19e1099f | [
"Apache-2.0"
] | 3 | 2019-05-01T14:01:36.000Z | 2020-10-13T05:07:25.000Z | #!/usr/bin/env python
# coding: utf-8
from app import create_app
application = create_app()
| 13.428571 | 26 | 0.734043 | 15 | 94 | 4.466667 | 0.8 | 0.268657 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0125 | 0.148936 | 94 | 6 | 27 | 15.666667 | 0.825 | 0.361702 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 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 |
97b8feb63a0b3f33f673c45c3c3b445bc8bd99a3 | 188 | py | Python | books/api/serializers.py | brumattih/djangolibrary | fed0642f59205f45a7b921bb8f531576e4238bb8 | [
"MIT"
] | null | null | null | books/api/serializers.py | brumattih/djangolibrary | fed0642f59205f45a7b921bb8f531576e4238bb8 | [
"MIT"
] | null | null | null | books/api/serializers.py | brumattih/djangolibrary | fed0642f59205f45a7b921bb8f531576e4238bb8 | [
"MIT"
] | null | null | null | from rest_framework import serializers
from books.models import Books
class BooksSerializer(serializers.ModelSerializer):
class Meta:
model = Books
fields = "__all__" | 23.5 | 51 | 0.739362 | 20 | 188 | 6.7 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.207447 | 188 | 8 | 52 | 23.5 | 0.899329 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 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 |
97c60b547c4a88e3109ad8f27280c8abeaba9aa6 | 257 | py | Python | hl7/xml/__init__.py | weynelucas/python-xml-hl7 | 136553fb891ecd29dec887ad765ef87395c3c9ec | [
"MIT"
] | 3 | 2018-08-09T12:39:56.000Z | 2019-02-08T18:10:00.000Z | hl7/xml/__init__.py | weynelucas/python-xml-hl7 | 136553fb891ecd29dec887ad765ef87395c3c9ec | [
"MIT"
] | 4 | 2020-01-28T16:26:03.000Z | 2020-01-28T17:00:20.000Z | hl7/xml/__init__.py | weynelucas/python-xml-hl7 | 136553fb891ecd29dec887ad765ef87395c3c9ec | [
"MIT"
] | 4 | 2019-06-03T16:40:02.000Z | 2022-03-28T08:31:26.000Z | # Parser
from .parser import parse
from .containers import (
Container,
Message, Segment, Field,
MSH, PID, PV1, OBR, OBX,
)
__all__ = [
'parse',
'Container',
'Message', 'Segment', 'Field',
'MSH', 'PID', 'PV1', 'OBR', 'OBX',
] | 17.133333 | 38 | 0.564202 | 28 | 257 | 5.035714 | 0.535714 | 0.22695 | 0.326241 | 0.397163 | 0.609929 | 0.609929 | 0.609929 | 0.609929 | 0.609929 | 0 | 0 | 0.010417 | 0.252918 | 257 | 15 | 39 | 17.133333 | 0.723958 | 0.023346 | 0 | 0 | 0 | 0 | 0.192 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
97cae5956b875b6a2edd3c50137ad5705478da54 | 269 | py | Python | Daratos_API/dto/db_entities.py | LostLaser/Fulcrum | 8fcdaa38a0bc3347a4e5fc8a9928c3f74b3c85d4 | [
"MIT"
] | 1 | 2020-01-23T01:12:36.000Z | 2020-01-23T01:12:36.000Z | Daratos_API/dto/db_entities.py | LostLaser/Daratos | 8fcdaa38a0bc3347a4e5fc8a9928c3f74b3c85d4 | [
"MIT"
] | 15 | 2019-09-12T01:26:04.000Z | 2022-03-12T00:52:49.000Z | Daratos_API/dto/db_entities.py | LostLaser/Fulcrum | 8fcdaa38a0bc3347a4e5fc8a9928c3f74b3c85d4 | [
"MIT"
] | 1 | 2021-07-14T01:55:45.000Z | 2021-07-14T01:55:45.000Z | class PredictedEntry:
content_hash = ""
web_address = ""
bias_value = 0.0
def __init__(self, content_hash, web_address, bias_value):
self.content_hash = content_hash
self.web_address = web_address
self.bias_value = bias_value | 29.888889 | 62 | 0.669145 | 34 | 269 | 4.823529 | 0.352941 | 0.268293 | 0.170732 | 0.256098 | 0.365854 | 0.365854 | 0 | 0 | 0 | 0 | 0 | 0.00995 | 0.252788 | 269 | 9 | 63 | 29.888889 | 0.80597 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0 | 0 | 0.625 | 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 |
8ad78b26d6afea821f0af3bd53aeb1bf6a6bb920 | 299 | py | Python | jetbot/__init__.py | glendaleonard/jetbot | 520979ae894d065ab614d234de8cbeaa2fd937fe | [
"MIT"
] | null | null | null | jetbot/__init__.py | glendaleonard/jetbot | 520979ae894d065ab614d234de8cbeaa2fd937fe | [
"MIT"
] | null | null | null | jetbot/__init__.py | glendaleonard/jetbot | 520979ae894d065ab614d234de8cbeaa2fd937fe | [
"MIT"
] | null | null | null | from .camera import Camera
from .heartbeat import Heartbeat
from .motor import Motor
from .robot import Robot
from .image import bgr8_to_jpeg
from .object_detection import ObjectDetector
from .a_star import AStar
from .robot_astar import RobotAStar, RobotAStarWithTrait
print('running __init__.py')
| 29.9 | 56 | 0.83612 | 42 | 299 | 5.738095 | 0.52381 | 0.074689 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003788 | 0.117057 | 299 | 9 | 57 | 33.222222 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0.063545 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.888889 | 0 | 0.888889 | 0.111111 | 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 |
8ae1602e8eab88fd55a46a1528caafe05ea312b9 | 345 | py | Python | mahotas/tests/test_segmentation.py | langner/mahotas | 1840b629fab325e7fb700f90cf2b662ff35e4205 | [
"BSL-1.0"
] | 541 | 2015-01-06T02:21:22.000Z | 2022-03-23T20:22:17.000Z | mahotas/tests/test_segmentation.py | langner/mahotas | 1840b629fab325e7fb700f90cf2b662ff35e4205 | [
"BSL-1.0"
] | 72 | 2015-01-23T08:49:45.000Z | 2021-12-07T00:42:54.000Z | mahotas/tests/test_segmentation.py | langner/mahotas | 1840b629fab325e7fb700f90cf2b662ff35e4205 | [
"BSL-1.0"
] | 155 | 2015-01-07T14:34:29.000Z | 2022-03-28T08:37:59.000Z | import mahotas.segmentation
import numpy as np
import mahotas
from .utils import luispedro_jpg
def test_slic():
f = luispedro_jpg()
segmented, n = mahotas.segmentation.slic(f)
assert segmented.shape == (f.shape[0], f.shape[1])
assert segmented.max() == n
segmented2, n2 = mahotas.segmentation.slic(f... | 26.538462 | 54 | 0.701449 | 49 | 345 | 4.877551 | 0.489796 | 0.238494 | 0.192469 | 0.200837 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02847 | 0.185507 | 345 | 12 | 55 | 28.75 | 0.822064 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.272727 | 1 | 0.090909 | false | 0 | 0.363636 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
8ae7faa12a017dc1255a61c1ed4d245b2c3571e9 | 207 | py | Python | examples/pytorch/vision/Face_Detection/layers/functions/__init__.py | cw18-coder/EdgeML | 557e8a5e76411255b4aa2f90b6e64f9be90822c0 | [
"MIT"
] | 719 | 2019-05-10T00:31:30.000Z | 2022-03-30T23:04:23.000Z | examples/pytorch/vision/Face_Detection/layers/functions/__init__.py | cw18-coder/EdgeML | 557e8a5e76411255b4aa2f90b6e64f9be90822c0 | [
"MIT"
] | 119 | 2019-05-14T10:50:15.000Z | 2022-03-01T22:01:09.000Z | examples/pytorch/vision/Face_Detection/layers/functions/__init__.py | cw18-coder/EdgeML | 557e8a5e76411255b4aa2f90b6e64f9be90822c0 | [
"MIT"
] | 235 | 2019-05-07T13:55:37.000Z | 2022-03-20T04:07:38.000Z | # Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT license.
from .prior_box import PriorBox
from .detection import detect_function
__all__=['detect_function','PriorBox']
| 23 | 59 | 0.792271 | 26 | 207 | 6.038462 | 0.769231 | 0.178344 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125604 | 207 | 8 | 60 | 25.875 | 0.867403 | 0.429952 | 0 | 0 | 0 | 0 | 0.201754 | 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 |
c1100b97aa30dbda45bede5d5a2a92f3bdfb8045 | 186 | py | Python | natsort.py | vtlim/GLIC | 90e00e7030748c70ad284cda8785745b6c16ecbb | [
"MIT"
] | 1 | 2019-08-22T06:43:23.000Z | 2019-08-22T06:43:23.000Z | natsort.py | vtlim/GLIC | 90e00e7030748c70ad284cda8785745b6c16ecbb | [
"MIT"
] | null | null | null | natsort.py | vtlim/GLIC | 90e00e7030748c70ad284cda8785745b6c16ecbb | [
"MIT"
] | null | null | null | import re
# https://tinyurl.com/y6ccw7wk
def atoi(text):
return int(text) if text.isdigit() else text
def natural_keys(text):
return [ atoi(c) for c in re.split('(\d+)',text) ]
| 23.25 | 54 | 0.666667 | 31 | 186 | 3.967742 | 0.677419 | 0.162602 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012903 | 0.166667 | 186 | 7 | 55 | 26.571429 | 0.780645 | 0.150538 | 0 | 0 | 0 | 0 | 0.032051 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.4 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
c116d6ab606560baf071189ed045dcbeea39478c | 77 | py | Python | tests/conftest.py | ihabbou/ml-algos | 4a12e64b6d18e88dbb068df2b1aa523522bbc8d7 | [
"MIT"
] | null | null | null | tests/conftest.py | ihabbou/ml-algos | 4a12e64b6d18e88dbb068df2b1aa523522bbc8d7 | [
"MIT"
] | null | null | null | tests/conftest.py | ihabbou/ml-algos | 4a12e64b6d18e88dbb068df2b1aa523522bbc8d7 | [
"MIT"
] | null | null | null | import pytest
@pytest.fixture
def nothing():
"nothing"
return None
| 9.625 | 15 | 0.675325 | 9 | 77 | 5.777778 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.233766 | 77 | 7 | 16 | 11 | 0.881356 | 0.090909 | 0 | 0 | 0 | 0 | 0.090909 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
c16476603bbf267ffb197bb9d6e506c8abebf54e | 91 | py | Python | trainers/apps.py | lflimeira/django-api-pokemon | e44bc6d586f9040de95a0317061080ec8c11a430 | [
"MIT"
] | 1 | 2020-04-23T15:43:45.000Z | 2020-04-23T15:43:45.000Z | trainers/apps.py | abahernest/The-Pit | b3509946bb9d7d06ff202b5b6861b66376344d29 | [
"Apache-2.0"
] | 6 | 2021-04-08T20:29:48.000Z | 2022-01-13T02:38:43.000Z | trainers/apps.py | abahernest/The-Pit | b3509946bb9d7d06ff202b5b6861b66376344d29 | [
"Apache-2.0"
] | null | null | null | from django.apps import AppConfig
class TrainersConfig(AppConfig):
name = 'trainers'
| 15.166667 | 33 | 0.758242 | 10 | 91 | 6.9 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164835 | 91 | 5 | 34 | 18.2 | 0.907895 | 0 | 0 | 0 | 0 | 0 | 0.087912 | 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 |
c174c384007d3cd2d5daf32ab55ddd15fe4359db | 300 | py | Python | scheduler/lr_scheduler.py | valterlej/CustomMDVC | ff62378966db9b6e6d7303b8ef0ffae8488c160f | [
"MIT"
] | 49 | 2020-06-17T13:18:17.000Z | 2022-03-04T12:12:33.000Z | iPerceiveDVC/scheduler/lr_scheduler.py | multimodal-machine-learning/iPerceive | d5c0a5129d6979607643f2a60aee8845f09ed222 | [
"MIT"
] | 12 | 2020-07-15T02:40:34.000Z | 2022-02-20T10:46:13.000Z | iPerceiveDVC/scheduler/lr_scheduler.py | multimodal-machine-learning/iPerceive | d5c0a5129d6979607643f2a60aee8845f09ed222 | [
"MIT"
] | 15 | 2020-11-12T14:53:20.000Z | 2022-03-30T00:38:33.000Z | class SimpleScheduler(object):
def __init__(self, optimizer, lr):
self.optimizer = optimizer
self.lr = lr
def step(self):
self.optimizer.param_groups[0]['lr'] = self.get_lr()
self.optimizer.step()
def get_lr(self):
return self.lr | 25 | 60 | 0.576667 | 36 | 300 | 4.611111 | 0.388889 | 0.313253 | 0.180723 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004808 | 0.306667 | 300 | 12 | 61 | 25 | 0.793269 | 0 | 0 | 0 | 0 | 0 | 0.006645 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.111111 | 0.555556 | 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 | 1 | 0 | 0 | 0 | 4 |
c17a95650cc415a3f67542d7dfb178c4e47601d0 | 125 | py | Python | 025_CPP_call_Python/my_self_1/main.py | DreamWaterFound/Codes | e7d80eb8bfd7d6f104abd18724cb4bface419233 | [
"WTFPL"
] | 13 | 2019-02-28T14:28:23.000Z | 2021-12-04T04:55:19.000Z | 025_CPP_call_Python/my_self_1/main.py | DreamWaterFound/Codes | e7d80eb8bfd7d6f104abd18724cb4bface419233 | [
"WTFPL"
] | 1 | 2019-09-07T09:00:50.000Z | 2019-12-04T02:13:25.000Z | 025_CPP_call_Python/my_self_1/main.py | DreamWaterFound/Codes | e7d80eb8bfd7d6f104abd18724cb4bface419233 | [
"WTFPL"
] | 1 | 2020-03-11T16:47:31.000Z | 2020-03-11T16:47:31.000Z | #!/usr/bin/python3
#!-*-coding:UTF8-*-
# 一个单独的无参数函数
def say_hello():
"""无参数的函数"""
print("Python: Hello world!")
| 10.416667 | 33 | 0.576 | 14 | 125 | 5.071429 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019608 | 0.184 | 125 | 11 | 34 | 11.363636 | 0.676471 | 0.424 | 0 | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
c17bdf749ba82ef77508d9107e00476ce37c4625 | 241 | py | Python | kafkaconnect_utils/config.py | miguel-angel-monjas/kafkaconnect-utils | c0489d41b77132f7bf408b2abad7936247c8a458 | [
"Apache-2.0"
] | null | null | null | kafkaconnect_utils/config.py | miguel-angel-monjas/kafkaconnect-utils | c0489d41b77132f7bf408b2abad7936247c8a458 | [
"Apache-2.0"
] | null | null | null | kafkaconnect_utils/config.py | miguel-angel-monjas/kafkaconnect-utils | c0489d41b77132f7bf408b2abad7936247c8a458 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# -*- mode:python; coding:utf-8 -*-
Config = {
'connect_default_host': "localhost",
'connect_default_port': "8083",
'schema_registry_default_host': "localhost",
'schema_registry_default_port': "8081",
} | 26.777778 | 48 | 0.676349 | 28 | 241 | 5.464286 | 0.642857 | 0.183007 | 0.261438 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043689 | 0.145228 | 241 | 9 | 49 | 26.777778 | 0.699029 | 0.224066 | 0 | 0 | 0 | 0 | 0.655914 | 0.301075 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c197b2a7d9cec5d1a33c171e8fa4dec2517dc7af | 202 | py | Python | src/tfc/__init__.py | leakec/tfc | f814be4643270498a68bb0859720191ff7216012 | [
"MIT"
] | 15 | 2021-01-04T16:30:59.000Z | 2022-03-26T22:12:45.000Z | src/tfc/__init__.py | leakec/tfc | f814be4643270498a68bb0859720191ff7216012 | [
"MIT"
] | 3 | 2021-12-10T23:17:56.000Z | 2022-03-12T18:39:18.000Z | src/tfc/__init__.py | leakec/tfc | f814be4643270498a68bb0859720191ff7216012 | [
"MIT"
] | 2 | 2021-04-27T10:34:20.000Z | 2022-02-25T13:02:49.000Z | from . import utils
from .utfc import utfc
from .utfc import HybridUtfc
from .mtfc import mtfc
__all__ = ["utfc", "mtfc", "utils", "HybridUtfc"]
# import sys
# sys.ps1 = "TFC > "
# sys.ps2 = "..... "
| 18.363636 | 49 | 0.638614 | 27 | 202 | 4.62963 | 0.407407 | 0.128 | 0.224 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012195 | 0.188119 | 202 | 10 | 50 | 20.2 | 0.75 | 0.237624 | 0 | 0 | 0 | 0 | 0.153333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
c1dd23225be9cbdbfb02e3c46f4946f556ba958c | 66 | py | Python | quantum_simulator/circuit/circuit_dag.py | jkruse27/QuantumSimulator | b044d3a511735ccb7edc2c65016f8776c2b49dbd | [
"MIT"
] | null | null | null | quantum_simulator/circuit/circuit_dag.py | jkruse27/QuantumSimulator | b044d3a511735ccb7edc2c65016f8776c2b49dbd | [
"MIT"
] | null | null | null | quantum_simulator/circuit/circuit_dag.py | jkruse27/QuantumSimulator | b044d3a511735ccb7edc2c65016f8776c2b49dbd | [
"MIT"
] | null | null | null | """
Quantum Circuit Direct Acyclic Graph (DAG) Representation
"""
| 16.5 | 57 | 0.742424 | 7 | 66 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 66 | 3 | 58 | 22 | 0.859649 | 0.863636 | 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 |
c1e5e13d63be60ebf638081a3d36d055c380fdb9 | 96 | py | Python | gb_chat/common/types.py | Cerzon/gb_chat | b4f8a6bf62b0971a135fbb2083456193f7a816cb | [
"Apache-2.0"
] | null | null | null | gb_chat/common/types.py | Cerzon/gb_chat | b4f8a6bf62b0971a135fbb2083456193f7a816cb | [
"Apache-2.0"
] | null | null | null | gb_chat/common/types.py | Cerzon/gb_chat | b4f8a6bf62b0971a135fbb2083456193f7a816cb | [
"Apache-2.0"
] | null | null | null | from datetime import datetime
from typing import Callable
TimeFactory = Callable[[], datetime]
| 19.2 | 36 | 0.802083 | 11 | 96 | 7 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135417 | 96 | 4 | 37 | 24 | 0.927711 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 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 |
c1e61c19d90524096bbe17ab0e07005a7998efe2 | 371 | py | Python | standards/models/__init__.py | GROCCAD/groccad | 1d461043030bebe277d74b1c9df9877436baa270 | [
"MIT"
] | 1 | 2022-03-05T03:11:51.000Z | 2022-03-05T03:11:51.000Z | standards/models/__init__.py | rocdata/rocserver | 1d461043030bebe277d74b1c9df9877436baa270 | [
"MIT"
] | null | null | null | standards/models/__init__.py | rocdata/rocserver | 1d461043030bebe277d74b1c9df9877436baa270 | [
"MIT"
] | null | null | null |
from .jurisdictions import Jurisdiction, UserProfile
from .terms import ControlledVocabulary, Term, TermRelation
from .standards import StandardsDocument, StandardNode
from .standards import StandardsCrosswalk, StandardNodeRelation
from .content import ContentCollection, ContentNode, ContentNodeRelation
from .content ... | 46.375 | 72 | 0.873315 | 32 | 371 | 10.125 | 0.625 | 0.080247 | 0.117284 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088949 | 371 | 7 | 73 | 53 | 0.95858 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
c1f134243775a65f08fcb449473fa74123f1fc0d | 240 | py | Python | UnityEngine/AudioRolloffMode/__init__.py | Grim-es/udon-pie-auto-completion | c2cd86554ed615cdbbb01e19fa40665eafdfaedc | [
"MIT"
] | null | null | null | UnityEngine/AudioRolloffMode/__init__.py | Grim-es/udon-pie-auto-completion | c2cd86554ed615cdbbb01e19fa40665eafdfaedc | [
"MIT"
] | null | null | null | UnityEngine/AudioRolloffMode/__init__.py | Grim-es/udon-pie-auto-completion | c2cd86554ed615cdbbb01e19fa40665eafdfaedc | [
"MIT"
] | null | null | null | from UdonPie import UnityEngine
from UdonPie.Undefined import *
class AudioRolloffMode:
def __new__(cls, arg1=None):
'''
:returns: AudioRolloffMode
:rtype: UnityEngine.AudioRolloffMode
'''
pass
| 20 | 44 | 0.645833 | 21 | 240 | 7.190476 | 0.714286 | 0.145695 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005747 | 0.275 | 240 | 11 | 45 | 21.818182 | 0.862069 | 0.2625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.2 | 0.4 | 0 | 0.8 | 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 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
a9a69c5aa2e9fad0de3e08e1f1d0c9d96531dcdf | 179 | py | Python | Beginner/1096.py | pedrodanieljardim/DesafiosURI-feitos-em-JAVA | 4e727e1b08e01f527d0b7b884c268643f1472ded | [
"MIT"
] | 1 | 2022-03-19T18:06:25.000Z | 2022-03-19T18:06:25.000Z | Beginner/1096.py | pedrodanieljardim/beecrowd | 4e727e1b08e01f527d0b7b884c268643f1472ded | [
"MIT"
] | null | null | null | Beginner/1096.py | pedrodanieljardim/beecrowd | 4e727e1b08e01f527d0b7b884c268643f1472ded | [
"MIT"
] | null | null | null |
i = 1
j = 7
while i <= 9 and j != 5:
print('I = {} J = {}'.format(i, j))
j -= 1
if j == 5:
print('I = {} J = {}'.format(i, j))
i += 2
j = 7
| 13.769231 | 43 | 0.312849 | 31 | 179 | 1.806452 | 0.387097 | 0.142857 | 0.25 | 0.285714 | 0.607143 | 0.607143 | 0.607143 | 0.607143 | 0 | 0 | 0 | 0.080808 | 0.446927 | 179 | 12 | 44 | 14.916667 | 0.484848 | 0 | 0 | 0.444444 | 0 | 0 | 0.146893 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.222222 | 0 | 0 | 1 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a9ab706b95130649afb175b16d932a60197c8817 | 217 | py | Python | mundo 1/des027.py | Pedroluis1/python | d949fa2646c049aa51a41a32dc62de7b14eae90f | [
"MIT"
] | null | null | null | mundo 1/des027.py | Pedroluis1/python | d949fa2646c049aa51a41a32dc62de7b14eae90f | [
"MIT"
] | null | null | null | mundo 1/des027.py | Pedroluis1/python | d949fa2646c049aa51a41a32dc62de7b14eae90f | [
"MIT"
] | null | null | null | pr = str(input('\033[32;1mEscreva seu nome completo\033[m: ')).strip()
print(f'\033[32;1mSeu primeiro nome é\033[m {pr.title().split()[0]}')
print(f'\033[32;1mSeu último nome é\033[m {pr.split()[len(pr.split())-1]}')
| 54.25 | 75 | 0.658986 | 42 | 217 | 3.404762 | 0.52381 | 0.104895 | 0.125874 | 0.153846 | 0.377622 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145 | 0.078341 | 217 | 3 | 76 | 72.333333 | 0.57 | 0 | 0 | 0 | 0 | 0.666667 | 0.769585 | 0.248848 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.666667 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
a9bf3590a4264512ad0e0a3617ea0b16339da237 | 449 | py | Python | group_defender/__init__.py | zeshuaro/telegram_group_guardian | 6edb315e36ffd7bbf5865b99c99e1a4b925c1704 | [
"MIT"
] | 3 | 2019-09-08T09:27:46.000Z | 2019-09-20T22:15:30.000Z | group_defender/__init__.py | zeshuaro/telegram_group_guardian | 6edb315e36ffd7bbf5865b99c99e1a4b925c1704 | [
"MIT"
] | 1 | 2019-09-20T22:15:22.000Z | 2019-09-29T23:49:27.000Z | group_defender/__init__.py | zeshuaro/telegram-group-defender | 6edb315e36ffd7bbf5865b99c99e1a4b925c1704 | [
"MIT"
] | null | null | null | from group_defender.constants import *
from group_defender.feedback import feedback_cov_handler
from group_defender.payment import (
send_payment_options,
send_payment_invoice,
payment_cov_handler,
precheckout_check,
successful_payment,
)
from group_defender.defend import *
from group_defender.store... | 32.071429 | 64 | 0.839644 | 60 | 449 | 5.916667 | 0.416667 | 0.177465 | 0.335211 | 0.129577 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122494 | 449 | 13 | 65 | 34.538462 | 0.901015 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.538462 | 0 | 0.538462 | 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 |
a9d301fe4f38b61a5c12e56c5fd7a2ecd1174ea9 | 39,989 | py | Python | test/test_wallet.py | nrempel/von_anchor | db6ae077e7161d7e333371583c26615a7d47fbe5 | [
"Apache-2.0"
] | null | null | null | test/test_wallet.py | nrempel/von_anchor | db6ae077e7161d7e333371583c26615a7d47fbe5 | [
"Apache-2.0"
] | null | null | null | test/test_wallet.py | nrempel/von_anchor | db6ae077e7161d7e333371583c26615a7d47fbe5 | [
"Apache-2.0"
] | null | null | null | """
Copyright 2017-2019 Government of Canada - Public Services and Procurement Canada - buyandsell.gc.ca
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
... | 41.439378 | 119 | 0.549676 | 5,014 | 39,989 | 4.294376 | 0.075987 | 0.038687 | 0.068363 | 0.088752 | 0.795932 | 0.761239 | 0.726221 | 0.710199 | 0.691064 | 0.665707 | 0 | 0.032471 | 0.306884 | 39,989 | 964 | 120 | 41.482365 | 0.744381 | 0.076996 | 0 | 0.637516 | 0 | 0.015209 | 0.179042 | 0.011022 | 0 | 0 | 0 | 0 | 0.143219 | 1 | 0 | false | 0.043093 | 0.011407 | 0 | 0.012674 | 0.08365 | 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 |
a9e0c267e6c65c0daf911c1360eed1e0aff28c32 | 52 | py | Python | setup.py | alcibiadeseth/cashews | a31c009455dec31393a299d883a90d1c567395d3 | [
"MIT"
] | null | null | null | setup.py | alcibiadeseth/cashews | a31c009455dec31393a299d883a90d1c567395d3 | [
"MIT"
] | null | null | null | setup.py | alcibiadeseth/cashews | a31c009455dec31393a299d883a90d1c567395d3 | [
"MIT"
] | null | null | null | from setuptools import setup
setup(name="cashews")
| 13 | 28 | 0.788462 | 7 | 52 | 5.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 52 | 3 | 29 | 17.333333 | 0.891304 | 0 | 0 | 0 | 0 | 0 | 0.134615 | 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 |
a9f6a275775c7b9b938502923ccad76953a6ea0b | 831 | py | Python | test.py | litex-hub/pythondata-misc-opentitan | 8ba3c9f564461240f7feecb5eb7065091951cd9c | [
"Apache-2.0"
] | 1 | 2021-05-12T21:57:30.000Z | 2021-05-12T21:57:30.000Z | test.py | litex-hub/pythondata-misc-opentitan | 8ba3c9f564461240f7feecb5eb7065091951cd9c | [
"Apache-2.0"
] | null | null | null | test.py | litex-hub/pythondata-misc-opentitan | 8ba3c9f564461240f7feecb5eb7065091951cd9c | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
from __future__ import print_function
import os
import pythondata_misc_opentitan
print("Found opentitan @ version", pythondata_misc_opentitan.version_str, "(with data", pythondata_misc_opentitan.data_version_str, ")")
print()
print("Data is in", pythondata_misc_opentitan.data_location)
assert... | 34.625 | 136 | 0.783394 | 117 | 831 | 5.239316 | 0.34188 | 0.228385 | 0.375204 | 0.352365 | 0.463295 | 0.251223 | 0 | 0 | 0 | 0 | 0 | 0.006693 | 0.101083 | 831 | 23 | 137 | 36.130435 | 0.813922 | 0.025271 | 0 | 0.222222 | 0 | 0 | 0.095179 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0.611111 | 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 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
a9fe557dce809f2fff954250bb95cf289e56eb13 | 144 | py | Python | server/app/data_service/__init__.py | oliverepper/logbuch | 3542e8e84b5544d7a1da35411750434b373d2f6c | [
"MIT"
] | null | null | null | server/app/data_service/__init__.py | oliverepper/logbuch | 3542e8e84b5544d7a1da35411750434b373d2f6c | [
"MIT"
] | 1 | 2021-03-09T23:49:32.000Z | 2021-03-09T23:49:32.000Z | server/app/data_service/__init__.py | oliverepper/logbuch | 3542e8e84b5544d7a1da35411750434b373d2f6c | [
"MIT"
] | null | null | null | class DataServiceException(Exception):
def __init__(self, message, status=400):
self.message = message
self.status = status
| 28.8 | 44 | 0.6875 | 15 | 144 | 6.333333 | 0.6 | 0.231579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026786 | 0.222222 | 144 | 4 | 45 | 36 | 0.821429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e723359df161f0606656e3ab656185dae0dfddb3 | 208 | py | Python | tests/parsers/test_go_cover.py | relekang/frigg-coverage | ae7d29a8d94f3fe5405d5882cd4c4726ed638e97 | [
"MIT"
] | 3 | 2015-01-30T10:53:47.000Z | 2015-04-13T16:55:30.000Z | tests/parsers/test_go_cover.py | relekang/frigg-coverage | ae7d29a8d94f3fe5405d5882cd4c4726ed638e97 | [
"MIT"
] | 4 | 2015-02-21T20:12:37.000Z | 2015-11-24T18:06:49.000Z | tests/parsers/test_go_cover.py | relekang/frigg-coverage | ae7d29a8d94f3fe5405d5882cd4c4726ed638e97 | [
"MIT"
] | 2 | 2015-11-21T22:53:23.000Z | 2018-03-05T17:38:43.000Z | # -*- coding: utf-8 -*-
from frigg_coverage import parse_coverage
def test_parse_coverage_report():
with open('fixtures/go_cover.out') as f:
assert parse_coverage(f.read(), 'go-cover') == 52.73
| 26 | 60 | 0.6875 | 31 | 208 | 4.387097 | 0.741935 | 0.286765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028736 | 0.163462 | 208 | 7 | 61 | 29.714286 | 0.752874 | 0.100962 | 0 | 0 | 0 | 0 | 0.156757 | 0.113514 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | true | 0 | 0.25 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e7312cb45101bdea660266bc436f87dc4c9460df | 219 | py | Python | {{cookiecutter.github_project_name}}/{{cookiecutter.python_package_name}}/__init__.py | stonebig/matplotlib-extension-cookiecutter | 573afb7420e7d426361dd1b9edf0c68f61d575c1 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | {{cookiecutter.github_project_name}}/{{cookiecutter.python_package_name}}/__init__.py | stonebig/matplotlib-extension-cookiecutter | 573afb7420e7d426361dd1b9edf0c68f61d575c1 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 3 | 2021-02-17T01:16:40.000Z | 2021-02-17T01:18:16.000Z | {{cookiecutter.github_project_name}}/{{cookiecutter.python_package_name}}/__init__.py | ianhi/matplotlib-extension-cookiecutter | 29b9b3f62bfc1b24a27711e5b956a389c5933cbc | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python
# coding: utf-8
# Copyright (c) {{ cookiecutter.author_name }}.
# Distributed under the terms of the Modified BSD License.
from .example import example_function
from ._version import __version__
| 24.333333 | 58 | 0.762557 | 30 | 219 | 5.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005319 | 0.141553 | 219 | 8 | 59 | 27.375 | 0.845745 | 0.625571 | 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 |
e732a56cb7d32dcc6fc0a682f16dfda8174b40a7 | 78 | py | Python | engine/feature2.py | Vibhu-Agarwal/gui-app-electronjs-python | 6a705592e113c2244dbf29cb03061d00ece60a95 | [
"MIT"
] | null | null | null | engine/feature2.py | Vibhu-Agarwal/gui-app-electronjs-python | 6a705592e113c2244dbf29cb03061d00ece60a95 | [
"MIT"
] | 1 | 2021-02-20T05:54:44.000Z | 2021-02-20T05:54:44.000Z | engine/feature2.py | Vibhu-Agarwal/gui-app-electronjs-python | 6a705592e113c2244dbf29cb03061d00ece60a95 | [
"MIT"
] | 1 | 2019-06-24T10:54:36.000Z | 2019-06-24T10:54:36.000Z | import sys
from openpyxl import Workbook
print("Hello bro")
sys.stdout.flush() | 19.5 | 29 | 0.794872 | 12 | 78 | 5.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 78 | 4 | 30 | 19.5 | 0.885714 | 0 | 0 | 0 | 0 | 0 | 0.113924 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.25 | 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 |
e74ff2f34be1080aaee82359515fb59852efde4a | 264 | py | Python | filter/plugins/filter/hello_world.py | SBU-BMI/quip_quality | e1c9af82eef820b3a86f2495812fd66ac117ff58 | [
"BSD-3-Clause"
] | null | null | null | filter/plugins/filter/hello_world.py | SBU-BMI/quip_quality | e1c9af82eef820b3a86f2495812fd66ac117ff58 | [
"BSD-3-Clause"
] | null | null | null | filter/plugins/filter/hello_world.py | SBU-BMI/quip_quality | e1c9af82eef820b3a86f2495812fd66ac117ff58 | [
"BSD-3-Clause"
] | null | null | null |
class filterplugin:
def __init__(self):
pass
print "plugin class instance created"
def init(self):
print "Hello World init()"
def filter(self, frame):
print "Hello World filter()"
def finalize(self):
print "Hello World finalize()"
| 16.5 | 41 | 0.659091 | 33 | 264 | 5.151515 | 0.454545 | 0.176471 | 0.264706 | 0.223529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.234848 | 264 | 15 | 42 | 17.6 | 0.841584 | 0 | 0 | 0 | 0 | 0 | 0.339695 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.1 | 0 | null | null | 0.4 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
e785f1b4ffd5032936b302150bbff94abf063d55 | 115 | py | Python | papi/db/db_init.py | process-project/UC5-API | 4befa6cf6854c6698e6ce10bad11334ffc893564 | [
"MIT"
] | null | null | null | papi/db/db_init.py | process-project/UC5-API | 4befa6cf6854c6698e6ce10bad11334ffc893564 | [
"MIT"
] | 1 | 2020-11-02T17:58:45.000Z | 2020-11-02T17:58:45.000Z | papi/db/db_init.py | process-project/UC5-API | 4befa6cf6854c6698e6ce10bad11334ffc893564 | [
"MIT"
] | null | null | null | """Declarative Base decorator"""
from sqlalchemy.ext.declarative import declarative_base
Base = declarative_base()
| 28.75 | 55 | 0.817391 | 13 | 115 | 7.076923 | 0.538462 | 0.48913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 115 | 3 | 56 | 38.333333 | 0.87619 | 0.226087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 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 |
e7979d461f7b462ae566ec080e7e883d1e581ac7 | 93 | py | Python | project/users/schemas.py | sanggusti/fs-fastapi-celery | 4f2a44c6026ba089e795552c95afc8fab229d63b | [
"MIT"
] | 3 | 2021-11-30T11:20:54.000Z | 2022-01-07T12:14:42.000Z | project/users/schemas.py | sanggusti/fs-fastapi-celery | 4f2a44c6026ba089e795552c95afc8fab229d63b | [
"MIT"
] | 2 | 2021-11-02T12:29:52.000Z | 2022-01-02T02:29:47.000Z | project/users/schemas.py | sanggusti/fs-fastapi-celery | 4f2a44c6026ba089e795552c95afc8fab229d63b | [
"MIT"
] | null | null | null | from pydantic import BaseModel
class UserBody(BaseModel):
username: str
email: str
| 13.285714 | 30 | 0.731183 | 11 | 93 | 6.181818 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.215054 | 93 | 6 | 31 | 15.5 | 0.931507 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
e7a353c6e318e4e3cbb09b78bb3678ddcac2af46 | 199 | py | Python | mitosis/basics/__init__.py | sbtinstruments/mitosis | 3a0eb96bdfd51c65b78afcbdcbb2bd770a88f6f5 | [
"MIT"
] | 4 | 2021-07-22T08:20:36.000Z | 2021-08-10T19:59:52.000Z | mitosis/basics/__init__.py | sbtinstruments/mitosis | 3a0eb96bdfd51c65b78afcbdcbb2bd770a88f6f5 | [
"MIT"
] | null | null | null | mitosis/basics/__init__.py | sbtinstruments/mitosis | 3a0eb96bdfd51c65b78afcbdcbb2bd770a88f6f5 | [
"MIT"
] | null | null | null | from .exceptions import (
AppException,
FlowIntegrationException,
FlowValidationException,
KeyNotUniqueException,
KeyNotPresentException,
PersistentCellValidationException,
)
| 22.111111 | 38 | 0.778894 | 9 | 199 | 17.222222 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175879 | 199 | 8 | 39 | 24.875 | 0.945122 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.125 | 0 | 0.125 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e7b0166d9d4d2ed5f386e3f57ff6ec01822ea86f | 446 | py | Python | coveo-stew/coveo_stew/exceptions.py | coveooss/coveo-python-oss | 08f5048e12449392f3acaeff85e075711543daab | [
"Apache-2.0"
] | 7 | 2021-03-02T19:30:30.000Z | 2022-03-08T12:24:50.000Z | coveo-stew/coveo_stew/exceptions.py | coveooss/coveo-python-oss | 08f5048e12449392f3acaeff85e075711543daab | [
"Apache-2.0"
] | 29 | 2021-01-21T16:45:33.000Z | 2021-12-10T12:09:26.000Z | coveo-stew/coveo_stew/exceptions.py | coveooss/coveo-python-oss | 08f5048e12449392f3acaeff85e075711543daab | [
"Apache-2.0"
] | null | null | null | """Exceptions thrown by the stew scripts."""
class PythonProjectException(Exception):
...
class CannotLoadProject(PythonProjectException):
...
class NotAPoetryProject(PythonProjectException):
...
class RequirementsOutdated(PythonProjectException):
...
class PythonProjectNotFound(PythonProjectE... | 14.866667 | 52 | 0.735426 | 27 | 446 | 12.148148 | 0.555556 | 0.411585 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154709 | 446 | 29 | 53 | 15.37931 | 0.870027 | 0.085202 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e7e1385e1c560a30a9db70a66b2c14304700be83 | 231 | py | Python | gtm_gear/__init__.py | etolk/gtm-gear | fcaf9cf0a3e0e6bb5c86c0ed68353beca020b561 | [
"MIT"
] | 2 | 2021-09-22T08:22:29.000Z | 2021-12-05T13:14:57.000Z | gtm_gear/__init__.py | etolk/gtm-gear | fcaf9cf0a3e0e6bb5c86c0ed68353beca020b561 | [
"MIT"
] | null | null | null | gtm_gear/__init__.py | etolk/gtm-gear | fcaf9cf0a3e0e6bb5c86c0ed68353beca020b561 | [
"MIT"
] | 1 | 2021-11-22T16:45:20.000Z | 2021-11-22T16:45:20.000Z | from .service import Service
from .container import Container
from .workspace import Workspace
from .version import Version
from .tag import Tag
from .trigger import Trigger
from .variable import Variable
from .folder import Folder | 28.875 | 32 | 0.831169 | 32 | 231 | 6 | 0.3125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134199 | 231 | 8 | 33 | 28.875 | 0.96 | 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 |
99aec13a798215a0754256fde2c91da51f485d15 | 134 | py | Python | python/strings/whats-your-name.py | LuisUrrutia/hackerrank | 36203a8dfb15b12ba4a7f85783f4ea317c4b41f6 | [
"MIT"
] | null | null | null | python/strings/whats-your-name.py | LuisUrrutia/hackerrank | 36203a8dfb15b12ba4a7f85783f4ea317c4b41f6 | [
"MIT"
] | null | null | null | python/strings/whats-your-name.py | LuisUrrutia/hackerrank | 36203a8dfb15b12ba4a7f85783f4ea317c4b41f6 | [
"MIT"
] | null | null | null | def print_full_name(a, b):
print "Hello {first_name} {last_name}! You just delved into python.".format(first_name=a, last_name=b)
| 44.666667 | 106 | 0.738806 | 24 | 134 | 3.875 | 0.625 | 0.107527 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126866 | 134 | 2 | 107 | 67 | 0.794872 | 0 | 0 | 0 | 0 | 0 | 0.447761 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
99e66988eb28e759a2a00bbda17a454e49b4e847 | 69 | py | Python | python-virtmanclient/vmthunderclient/openstack/common/__init__.py | vmthunder/packages | e530e243007a0f403cad1b67a490ffb9687969c3 | [
"Apache-2.0"
] | 2 | 2015-03-15T11:12:53.000Z | 2018-10-12T03:05:52.000Z | python-virtmanclient/vmthunderclient/openstack/common/__init__.py | vmthunder/packages | e530e243007a0f403cad1b67a490ffb9687969c3 | [
"Apache-2.0"
] | null | null | null | python-virtmanclient/vmthunderclient/openstack/common/__init__.py | vmthunder/packages | e530e243007a0f403cad1b67a490ffb9687969c3 | [
"Apache-2.0"
] | null | null | null | import six
six.add_move(six.MovedModule('mox', 'mox', 'mox3.mox'))
| 23 | 56 | 0.681159 | 11 | 69 | 4.181818 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016129 | 0.101449 | 69 | 2 | 57 | 34.5 | 0.725806 | 0 | 0 | 0 | 0 | 0 | 0.208955 | 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 |
99f6041442c422fa3a007ab995846cda5f0bcf0c | 421 | py | Python | tests/builtins/test_round.py | BellaTrix25336/voc | 7e244c29eef3daa2169ec01af29bedcf206f5f13 | [
"BSD-3-Clause"
] | 850 | 2015-08-17T16:45:22.000Z | 2019-03-24T07:50:15.000Z | tests/builtins/test_round.py | BellaTrix25336/voc | 7e244c29eef3daa2169ec01af29bedcf206f5f13 | [
"BSD-3-Clause"
] | 506 | 2015-09-26T18:20:00.000Z | 2019-03-19T18:16:18.000Z | tests/builtins/test_round.py | BellaTrix25336/voc | 7e244c29eef3daa2169ec01af29bedcf206f5f13 | [
"BSD-3-Clause"
] | 670 | 2015-09-12T21:57:44.000Z | 2019-03-19T13:15:33.000Z | from .. utils import TranspileTestCase, BuiltinFunctionTestCase, BuiltinTwoargFunctionTestCase
class RoundTests(TranspileTestCase):
pass
class BuiltinRoundFunctionTests(BuiltinFunctionTestCase, TranspileTestCase):
functions = ["round"]
class BuiltinRoundTwoargFunctionTests(BuiltinTwoargFunctionTestCase, T... | 23.388889 | 94 | 0.781473 | 27 | 421 | 12.074074 | 0.62963 | 0.159509 | 0.190184 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147268 | 421 | 17 | 95 | 24.764706 | 0.908078 | 0 | 0 | 0.2 | 0 | 0 | 0.057007 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.1 | 0.1 | 0 | 0.7 | 0 | 1 | 0 | 1 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
8204c912635842ff01c2462dd3494472648c921b | 530 | py | Python | scratchnet/activations.py | AlbertDeFusco/ScratchNet | 54f0200fc17e114e89aae2fe3bbdbedd23c5deca | [
"MIT"
] | 1 | 2020-06-03T09:59:44.000Z | 2020-06-03T09:59:44.000Z | scratchnet/activations.py | AlbertDeFusco/ScratchNet | 54f0200fc17e114e89aae2fe3bbdbedd23c5deca | [
"MIT"
] | 4 | 2018-08-02T02:24:53.000Z | 2018-09-27T18:10:36.000Z | scratchnet/activations.py | AlbertDeFusco/ScratchNet | 54f0200fc17e114e89aae2fe3bbdbedd23c5deca | [
"MIT"
] | 3 | 2018-08-03T16:51:58.000Z | 2020-08-09T03:12:26.000Z | import numpy as np
class Relu(object):
def __call__(self, a):
return np.maximum(0, a)
def gradient(self, a):
return np.heaviside(a, 0)
class Tanh(object):
def __call__(self,x):
return np.tanh(x)
def gradient(self, x):
return 1.0 - np.tanh(x)**2
class Sigmoid(object):... | 19.62963 | 38 | 0.560377 | 76 | 530 | 3.736842 | 0.328947 | 0.09507 | 0.137324 | 0.179577 | 0.126761 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021858 | 0.309434 | 530 | 26 | 39 | 20.384615 | 0.754098 | 0 | 0 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.315789 | false | 0 | 0.052632 | 0.210526 | 0.842105 | 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 |
415fd673c05f3b5db530fcd806de0eaa48e919a6 | 244 | py | Python | pysensors/utils/__init__.py | Jimmy-INL/pysensors | 62b79a233a551ae01125e20e06fde0c96b4dffd2 | [
"MIT"
] | 43 | 2020-10-26T14:43:56.000Z | 2022-03-03T16:03:15.000Z | pysensors/utils/__init__.py | Jimmy-INL/pysensors | 62b79a233a551ae01125e20e06fde0c96b4dffd2 | [
"MIT"
] | 4 | 2020-11-10T11:15:15.000Z | 2022-01-07T16:05:11.000Z | pysensors/utils/__init__.py | Jimmy-INL/pysensors | 62b79a233a551ae01125e20e06fde0c96b4dffd2 | [
"MIT"
] | 13 | 2020-10-14T10:38:38.000Z | 2022-01-03T09:05:15.000Z | from ._base import validate_input
from ._optimizers import constrained_binary_solve
from ._optimizers import constrained_multiclass_solve
__all__ = [
"constrained_binary_solve",
"constrained_multiclass_solve",
"validate_input",
]
| 22.181818 | 53 | 0.803279 | 26 | 244 | 6.884615 | 0.423077 | 0.145251 | 0.223464 | 0.346369 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135246 | 244 | 10 | 54 | 24.4 | 0.848341 | 0 | 0 | 0 | 0 | 0 | 0.270492 | 0.213115 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.375 | 0 | 0.375 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
417334a0fb7b0ce052ca6e98aa7c9d379cd3d8f6 | 89 | py | Python | spinner/apps.py | AhmadTariqAlflahat/name_spinner | 704c4a620b7fe815ac5d47ea9be722513ea42af4 | [
"MIT"
] | null | null | null | spinner/apps.py | AhmadTariqAlflahat/name_spinner | 704c4a620b7fe815ac5d47ea9be722513ea42af4 | [
"MIT"
] | null | null | null | spinner/apps.py | AhmadTariqAlflahat/name_spinner | 704c4a620b7fe815ac5d47ea9be722513ea42af4 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class SpinnerConfig(AppConfig):
name = 'spinner'
| 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 |
4186409ce888c178d75d7d7386bd5ee95ffdc7d1 | 3,739 | py | Python | codewof/tests/style/views/test_check_code.py | uccser-admin/programming-practice-prototype | 3af4c7d85308ac5bb35bb13be3ec18cac4eb8308 | [
"MIT"
] | 3 | 2019-08-29T04:11:22.000Z | 2021-06-22T16:05:51.000Z | codewof/tests/style/views/test_check_code.py | uccser-admin/programming-practice-prototype | 3af4c7d85308ac5bb35bb13be3ec18cac4eb8308 | [
"MIT"
] | 265 | 2019-05-30T03:51:46.000Z | 2022-03-31T01:05:12.000Z | codewof/tests/style/views/test_check_code.py | samuelsandri/codewof | c9b8b378c06b15a0c42ae863b8f46581de04fdfc | [
"MIT"
] | 7 | 2019-06-29T12:13:37.000Z | 2021-09-06T06:49:14.000Z | import json
from http import HTTPStatus
from django.test import TestCase, override_settings
from django.urls import reverse
SAMPLE_PROGRAM_1 = "print('Hello world!')"
class CheckCodeViewTest(TestCase):
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
self.language = 'en'
... | 31.957265 | 61 | 0.587055 | 382 | 3,739 | 5.468586 | 0.193717 | 0.051699 | 0.034466 | 0.045955 | 0.792245 | 0.756821 | 0.727142 | 0.710388 | 0.690282 | 0.690282 | 0 | 0.006506 | 0.30115 | 3,739 | 116 | 62 | 32.232759 | 0.792958 | 0 | 0 | 0.622642 | 0 | 0 | 0.123295 | 0 | 0 | 0 | 0 | 0 | 0.113208 | 1 | 0.066038 | false | 0 | 0.037736 | 0 | 0.113208 | 0.009434 | 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 |
418dc091d77f03d87977d6beffc33e044e9c969d | 251 | py | Python | students/k3340/practical_works/Nurdinov_Rostislav/Pr1/project_first_app/admin.py | TonikX/ITMO_ICT_-WebProgramming_2020 | ba566c1b3ab04585665c69860b713741906935a0 | [
"MIT"
] | 10 | 2020-03-20T09:06:12.000Z | 2021-07-27T13:06:02.000Z | students/k3340/practical_works/Nurdinov_Rostislav/Pr1/project_first_app/admin.py | TonikX/ITMO_ICT_-WebProgramming_2020 | ba566c1b3ab04585665c69860b713741906935a0 | [
"MIT"
] | 134 | 2020-03-23T09:47:48.000Z | 2022-03-12T01:05:19.000Z | students/k3340/practical_works/Nurdinov_Rostislav/Pr1/project_first_app/admin.py | TonikX/ITMO_ICT_-WebProgramming_2020 | ba566c1b3ab04585665c69860b713741906935a0 | [
"MIT"
] | 71 | 2020-03-20T12:45:56.000Z | 2021-10-31T19:22:25.000Z | from django.contrib import admin
from .models import Auto, Owner, Ownership, License, AdditionalData
admin.site.register(Auto)
admin.site.register(Ownership)
admin.site.register(Owner)
admin.site.register(License)
admin.site.register(AdditionalData)
| 27.888889 | 67 | 0.824701 | 33 | 251 | 6.272727 | 0.393939 | 0.217391 | 0.410628 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071713 | 251 | 8 | 68 | 31.375 | 0.888412 | 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 |
41a9ab73bc7cb6d75beeecd2e41823b4e5f257ff | 57 | py | Python | PIP/Class Program/ClassQuestion20.py | ankitrajbiswal/SEM_5 | db716e242e77149a4091e0e564356ddc724aeff0 | [
"Apache-2.0"
] | 10 | 2021-04-24T11:46:48.000Z | 2022-01-17T05:14:37.000Z | PIP/Class Program/ClassQuestion20.py | ankitrajbiswal/SEM_5 | db716e242e77149a4091e0e564356ddc724aeff0 | [
"Apache-2.0"
] | 2 | 2021-06-28T11:51:50.000Z | 2021-11-01T08:21:53.000Z | PIP/Class Program/ClassQuestion20.py | ankitrajbiswal/SEM_5 | db716e242e77149a4091e0e564356ddc724aeff0 | [
"Apache-2.0"
] | 16 | 2021-04-24T11:46:58.000Z | 2022-03-02T05:08:19.000Z | for i in range(1,11):
print(19," X ",i, " = ", 19*i) | 28.5 | 34 | 0.45614 | 12 | 57 | 2.166667 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0.263158 | 57 | 2 | 34 | 28.5 | 0.452381 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
68fb427d89cfb045461fa8fe166fd6d3133062a8 | 60 | py | Python | slacky/rest/__init__.py | nabetama/slacky | e71ed746ad8e7adca800d3c6082ff5c1c287c6b7 | [
"MIT"
] | 3 | 2015-01-12T08:50:55.000Z | 2019-02-04T14:46:10.000Z | slacky/rest/__init__.py | nabetama/slacky | e71ed746ad8e7adca800d3c6082ff5c1c287c6b7 | [
"MIT"
] | 1 | 2015-02-09T11:26:15.000Z | 2015-04-04T07:26:58.000Z | slacky/rest/__init__.py | nabetama/slacky | e71ed746ad8e7adca800d3c6082ff5c1c287c6b7 | [
"MIT"
] | null | null | null | from __future__ import absolute_import
from .rest import *
| 15 | 38 | 0.816667 | 8 | 60 | 5.5 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 60 | 3 | 39 | 20 | 0.862745 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
ec3e4d634a7dcf758c6e342974c86a7c4ddcf7f7 | 1,221 | py | Python | setup.py | nextories/django-embed-template | 5524668cff6c2ff3831ec72ee2e3c25b45455dfd | [
"CC0-1.0",
"BSD-3-Clause"
] | 15 | 2016-07-30T14:47:32.000Z | 2021-04-25T17:15:03.000Z | setup.py | nextories/django-embed-template | 5524668cff6c2ff3831ec72ee2e3c25b45455dfd | [
"CC0-1.0",
"BSD-3-Clause"
] | 10 | 2016-07-30T14:44:16.000Z | 2020-06-28T10:37:01.000Z | setup.py | nextories/django-embed-template | 5524668cff6c2ff3831ec72ee2e3c25b45455dfd | [
"CC0-1.0",
"BSD-3-Clause"
] | 4 | 2016-08-18T12:33:58.000Z | 2021-07-27T10:08:20.000Z | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='django-embed-template',
version='0.2.0',
description='Override blocks in included templates',
long_description="\n".join([open('README.rst').read(),
open('CHANGES.rst').read()]),
url='htt... | 37 | 74 | 0.608518 | 130 | 1,221 | 5.676923 | 0.553846 | 0.205962 | 0.271003 | 0.211382 | 0.073171 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028939 | 0.235872 | 1,221 | 32 | 75 | 38.15625 | 0.762058 | 0.01638 | 0 | 0 | 0 | 0 | 0.571667 | 0.036667 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.034483 | 0 | 0.034483 | 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 |
6b67175ceeac99c51d043826a9eeb40b7cd0c5b6 | 457 | py | Python | watchDog.py | zeniian/SDL_Pi_SkyWeather2 | 61c46a8e67436695917ef88e1762e49c81680085 | [
"Apache-2.0"
] | null | null | null | watchDog.py | zeniian/SDL_Pi_SkyWeather2 | 61c46a8e67436695917ef88e1762e49c81680085 | [
"Apache-2.0"
] | null | null | null | watchDog.py | zeniian/SDL_Pi_SkyWeather2 | 61c46a8e67436695917ef88e1762e49c81680085 | [
"Apache-2.0"
] | null | null | null | from __future__ import print_function
import time
import RPi.GPIO as GPIO
import config
# WatchDog Programs
GPIO.setwarnings(False)
def patTheDog():
# pat the dog
if (config.SWDEBUG):
print("------Patting The Dog------- ")
GPIO.setup(config.WATCHDOGTRIGGER, GPIO.OUT)
GPIO.output(config.W... | 19.041667 | 48 | 0.700219 | 57 | 457 | 5.526316 | 0.54386 | 0.266667 | 0.095238 | 0.190476 | 0.215873 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005319 | 0.177243 | 457 | 23 | 49 | 19.869565 | 0.832447 | 0.063457 | 0 | 0 | 0 | 0 | 0.068235 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | true | 0 | 0.307692 | 0 | 0.384615 | 0.153846 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
6b94371b9779f9ec18fedd4c130b86cbb76fe952 | 158 | py | Python | examples/get_user_mention.py | DataJunkie/twython | c62c41a45ee4b8c09ac882490df75a1872f5ffbd | [
"MIT"
] | 1 | 2022-03-07T01:21:34.000Z | 2022-03-07T01:21:34.000Z | examples/get_user_mention.py | DataJunkie/twython | c62c41a45ee4b8c09ac882490df75a1872f5ffbd | [
"MIT"
] | null | null | null | examples/get_user_mention.py | DataJunkie/twython | c62c41a45ee4b8c09ac882490df75a1872f5ffbd | [
"MIT"
] | null | null | null | import tango
twitter = tango.setup(authtype="Basic", username="example", password="example")
mentions = twitter.getUserMentions(count="150")
print mentions
| 22.571429 | 79 | 0.772152 | 18 | 158 | 6.777778 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020833 | 0.088608 | 158 | 6 | 80 | 26.333333 | 0.826389 | 0 | 0 | 0 | 0 | 0 | 0.139241 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.25 | 0.25 | null | null | 0.25 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
d404ef52dc435e212384e981ee55c693ad2535bf | 259 | py | Python | test/test_del_group.py | AlexEkitin/Yuri_Python_2 | 6aa8376da4abd4df2f5243c3ab252122e4635c76 | [
"Apache-2.0"
] | null | null | null | test/test_del_group.py | AlexEkitin/Yuri_Python_2 | 6aa8376da4abd4df2f5243c3ab252122e4635c76 | [
"Apache-2.0"
] | null | null | null | test/test_del_group.py | AlexEkitin/Yuri_Python_2 | 6aa8376da4abd4df2f5243c3ab252122e4635c76 | [
"Apache-2.0"
] | null | null | null | def test_delete_first_group(app): # parametr "app" zapuskaet fixturu
app.session.login(username="admin", password="secret")
# sozdaem obekt tipa Group i peredaem perametri v ego konstruktor
app.group.delete_first_group()
app.session.logout()
| 43.166667 | 69 | 0.749035 | 35 | 259 | 5.4 | 0.714286 | 0.116402 | 0.169312 | 0.201058 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150579 | 259 | 5 | 70 | 51.8 | 0.859091 | 0.370656 | 0 | 0 | 0 | 0 | 0.06875 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0 | 0 | 0.25 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
d4050fe21976689256ee595169c19959acb0033e | 28 | py | Python | code/abc011_1_02.py | KoyanagiHitoshi/AtCoder | 731892543769b5df15254e1f32b756190378d292 | [
"MIT"
] | 3 | 2019-08-16T16:55:48.000Z | 2021-04-11T10:21:40.000Z | code/abc011_1_02.py | KoyanagiHitoshi/AtCoder | 731892543769b5df15254e1f32b756190378d292 | [
"MIT"
] | null | null | null | code/abc011_1_02.py | KoyanagiHitoshi/AtCoder | 731892543769b5df15254e1f32b756190378d292 | [
"MIT"
] | null | null | null | n=int(input())
print(n%12+1) | 14 | 14 | 0.642857 | 7 | 28 | 2.571429 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0.035714 | 28 | 2 | 15 | 14 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
d407c084317531dd71e3c3b4ee1cafbe40021c95 | 244 | py | Python | 2022/practice.py | prashantsingh2408/Google-Kick-Start | 23d614b28dff5b320494aca297c3dbc0d180fbcb | [
"MIT"
] | null | null | null | 2022/practice.py | prashantsingh2408/Google-Kick-Start | 23d614b28dff5b320494aca297c3dbc0d180fbcb | [
"MIT"
] | null | null | null | 2022/practice.py | prashantsingh2408/Google-Kick-Start | 23d614b28dff5b320494aca297c3dbc0d180fbcb | [
"MIT"
] | null | null | null | # T = int(input())
# for i in range(T):
# N, M = map(int,input().split(' '))
# # create a list of N size
# C = [n for n in range(N)]
# print(C)
C, M = map(int,input().split(' '))
# C, M = map(int,input().split(' '))
print(C)
print(M)
| 22.181818 | 38 | 0.512295 | 45 | 244 | 2.777778 | 0.4 | 0.256 | 0.168 | 0.288 | 0.424 | 0.288 | 0 | 0 | 0 | 0 | 0 | 0 | 0.229508 | 244 | 10 | 39 | 24.4 | 0.664894 | 0.709016 | 0 | 0 | 0 | 0 | 0.016129 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.666667 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
d45739ef2d673d9a3bf3e7a1f72641a16660b088 | 26 | py | Python | homeassistant/components/nilu/__init__.py | domwillcode/home-assistant | f170c80bea70c939c098b5c88320a1c789858958 | [
"Apache-2.0"
] | 30,023 | 2016-04-13T10:17:53.000Z | 2020-03-02T12:56:31.000Z | homeassistant/components/nilu/__init__.py | jagadeeshvenkatesh/core | 1bd982668449815fee2105478569f8e4b5670add | [
"Apache-2.0"
] | 31,101 | 2020-03-02T13:00:16.000Z | 2022-03-31T23:57:36.000Z | homeassistant/components/nilu/__init__.py | jagadeeshvenkatesh/core | 1bd982668449815fee2105478569f8e4b5670add | [
"Apache-2.0"
] | 11,956 | 2016-04-13T18:42:31.000Z | 2020-03-02T09:32:12.000Z | """The nilu component."""
| 13 | 25 | 0.615385 | 3 | 26 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 1 | 26 | 26 | 0.695652 | 0.730769 | 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 |
00f99598c0d62824efec13eb0ba44192940b4c3c | 456 | py | Python | Locators/finish_locators.py | tienn321/saucedemo | ecf9bed84311eeca2010b7040ac0c041dd5ca555 | [
"MIT"
] | null | null | null | Locators/finish_locators.py | tienn321/saucedemo | ecf9bed84311eeca2010b7040ac0c041dd5ca555 | [
"MIT"
] | null | null | null | Locators/finish_locators.py | tienn321/saucedemo | ecf9bed84311eeca2010b7040ac0c041dd5ca555 | [
"MIT"
] | null | null | null | from selenium.webdriver.common.by import By
class FinishLocators(object):
HEADER_TITLE = (By.XPATH,'//*[@id="contents_wrapper"]/div[@class="subheader"]')
COMPLETE_TITLE = (By.XPATH,'//*[@id="checkout_complete_container"]/h2[@class="complete-header"]')
COMPLETE_MESSAGE = (By.XPATH,'//*[@id="checkout_complete_con... | 45.6 | 100 | 0.717105 | 56 | 456 | 5.625 | 0.464286 | 0.088889 | 0.114286 | 0.161905 | 0.32381 | 0.32381 | 0 | 0 | 0 | 0 | 0 | 0.002342 | 0.063596 | 456 | 9 | 101 | 50.666667 | 0.735363 | 0 | 0 | 0 | 0 | 0 | 0.546053 | 0.546053 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
2e39be252c0c3fbb386cc57a5120f9150fd611d2 | 490 | py | Python | constants.py | anchalghale/auto_disenchanter | 4edab1b72538b15bf8d665629f951db1612fa825 | [
"Apache-2.0"
] | 7 | 2021-04-07T17:44:42.000Z | 2022-02-13T05:47:11.000Z | constants.py | anchalghale/auto_disenchanter | 4edab1b72538b15bf8d665629f951db1612fa825 | [
"Apache-2.0"
] | 1 | 2021-08-20T09:11:38.000Z | 2022-02-11T12:54:38.000Z | constants.py | anchalghale/auto_disenchanter | 4edab1b72538b15bf8d665629f951db1612fa825 | [
"Apache-2.0"
] | 3 | 2019-11-22T06:21:17.000Z | 2020-06-16T07:25:23.000Z | ''' Module that stores the constants for the program '''
NPE_REWARDS = {
'npe_rewards_login_v1_step1': {'database_name': 'day_1_status'},
'npe_rewards_login_v1_step2': {'database_name': 'day_2_status'},
'npe_rewards_login_v1_step3': {'database_name': 'day_3_status'},
'npe_rewards_login_v1_step4': {'dat... | 44.545455 | 68 | 0.730612 | 70 | 490 | 4.5 | 0.385714 | 0.222222 | 0.285714 | 0.32381 | 0.365079 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04157 | 0.116327 | 490 | 10 | 69 | 49 | 0.685912 | 0.097959 | 0 | 0 | 0 | 0 | 0.705069 | 0.359447 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
2e4b29da2ad002555d522ebea10a5af29df7b74a | 30 | py | Python | fspatch/_version.py | PyFilesystem/fspatch | 72971ddc14a76c4c54a639618fa4f5415f1b5382 | [
"MIT"
] | 2 | 2019-07-22T18:56:22.000Z | 2021-04-10T08:45:05.000Z | fspatch/_version.py | PyFilesystem/fspatch | 72971ddc14a76c4c54a639618fa4f5415f1b5382 | [
"MIT"
] | null | null | null | fspatch/_version.py | PyFilesystem/fspatch | 72971ddc14a76c4c54a639618fa4f5415f1b5382 | [
"MIT"
] | null | null | null | __version__ = "0.1.0-alpha-0"
| 15 | 29 | 0.666667 | 6 | 30 | 2.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 0.1 | 30 | 1 | 30 | 30 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0.433333 | 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 |
2e741c6a612407505454ac1aa7903c149d5b519b | 152 | py | Python | labels/settings.py | pmaigutyak/mp-shop | 14ea67f71fd91a282d2070414924708214fc6464 | [
"0BSD"
] | 2 | 2018-03-14T11:32:36.000Z | 2021-09-25T14:31:36.000Z | labels/settings.py | pmaigutyak/mp-shop | 14ea67f71fd91a282d2070414924708214fc6464 | [
"0BSD"
] | null | null | null | labels/settings.py | pmaigutyak/mp-shop | 14ea67f71fd91a282d2070414924708214fc6464 | [
"0BSD"
] | null | null | null |
class LabelSettings(object):
@property
def INSTALLED_APPS(self):
return super().INSTALLED_APPS + ['labels']
default = LabelSettings
| 15.2 | 50 | 0.684211 | 15 | 152 | 6.8 | 0.8 | 0.254902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 152 | 9 | 51 | 16.888889 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0.039735 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0.2 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
5cf4475ed8fbc96519dfe9f8f96ec4726f96ebc4 | 578 | py | Python | app/helpers/macros/__init__.py | Axtell-io/Axtell | 2f660450ca2eb70cc0520ad970c9aabdc65a3bb7 | [
"MIT"
] | 15 | 2018-04-20T14:56:59.000Z | 2021-03-31T20:16:29.000Z | app/helpers/macros/__init__.py | Axtell/Axtell | 2f660450ca2eb70cc0520ad970c9aabdc65a3bb7 | [
"MIT"
] | 148 | 2018-04-17T01:47:44.000Z | 2020-05-14T13:24:03.000Z | app/helpers/macros/__init__.py | Axtell-io/Axtell | 2f660450ca2eb70cc0520ad970c9aabdc65a3bb7 | [
"MIT"
] | 7 | 2018-06-01T11:15:18.000Z | 2020-08-14T04:24:50.000Z | from subprocess import check_output
# This contains the macros to pass to a rendering instance
from app.helpers.macros.pagination import *
from app.helpers.macros.gravatar import *
from app.helpers.macros.encode import *
from app.helpers.macros.render import *
from app.helpers.macros.uuid import *
from app.helpers.mac... | 24.083333 | 83 | 0.749135 | 85 | 578 | 4.976471 | 0.458824 | 0.115839 | 0.231678 | 0.283688 | 0.307329 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002045 | 0.153979 | 578 | 23 | 84 | 25.130435 | 0.862986 | 0.096886 | 0 | 0 | 0 | 0 | 0.032755 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071429 | false | 0 | 0.571429 | 0 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
5cfec19b2bd86c8a01316367155ddf5c949c6321 | 54 | py | Python | src/__init__.py | HawtLava/Charizard | 11564e1696279f22beb4539760c87ec2c336a207 | [
"MIT"
] | 3 | 2015-09-29T01:49:20.000Z | 2015-09-30T02:13:39.000Z | src/__init__.py | HawtLava/Charizard | 11564e1696279f22beb4539760c87ec2c336a207 | [
"MIT"
] | 22 | 2015-09-29T00:36:54.000Z | 2015-10-24T17:05:45.000Z | src/__init__.py | HawtLava/Charizard | 11564e1696279f22beb4539760c87ec2c336a207 | [
"MIT"
] | 2 | 2015-09-30T20:12:47.000Z | 2015-09-30T20:21:13.000Z | """Source Files, and a location for Global Imports"""
| 27 | 53 | 0.722222 | 8 | 54 | 4.875 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 54 | 1 | 54 | 54 | 0.847826 | 0.87037 | 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 |
cf0dc8b0cbb47cd06d526025a9c511661f2877de | 4,025 | py | Python | opendriveparser/elements/roadLateralProfile.py | wenlong-dev/opendrive2lanelets-converter | 8f547c35cf6d2abf74ecd9818cf52527dede91cc | [
"MIT"
] | 5 | 2020-12-02T04:51:06.000Z | 2021-10-17T10:46:54.000Z | opendriveparser/elements/roadLateralProfile.py | MonkeyJohn/opendrive2lanelets-converter | 8f547c35cf6d2abf74ecd9818cf52527dede91cc | [
"MIT"
] | null | null | null | opendriveparser/elements/roadLateralProfile.py | MonkeyJohn/opendrive2lanelets-converter | 8f547c35cf6d2abf74ecd9818cf52527dede91cc | [
"MIT"
] | 2 | 2021-01-26T14:44:43.000Z | 2021-02-09T06:07:35.000Z |
class LateralProfile(object):
def __init__(self):
self._superelevations = []
self._crossfalls = []
self._shapes = []
@property
def superelevations(self):
return self._superelevations
@superelevations.setter
def superelevations(self, value):
if not isinstan... | 18.985849 | 96 | 0.559255 | 510 | 4,025 | 4.264706 | 0.094118 | 0.101149 | 0.128736 | 0.125517 | 0.716322 | 0.685517 | 0.685517 | 0.685517 | 0.662529 | 0.645977 | 0 | 0 | 0.334658 | 4,025 | 211 | 97 | 19.075829 | 0.812173 | 0 | 0 | 0.730769 | 0 | 0 | 0.049453 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.282051 | false | 0 | 0 | 0.128205 | 0.435897 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
cf304095e6420d3b3b4315b818935ee5f3d4e037 | 872 | py | Python | tests/allTests.py | fknight3/AndroidViewClient | 2bb7d970153ef5b3c97a11cd13695bce473b0053 | [
"Apache-2.0"
] | 3 | 2018-07-14T09:17:44.000Z | 2019-05-20T09:30:18.000Z | tests/allTests.py | fknight3/AndroidViewClient | 2bb7d970153ef5b3c97a11cd13695bce473b0053 | [
"Apache-2.0"
] | 1 | 2018-10-18T12:05:13.000Z | 2019-12-28T23:09:25.000Z | tests/allTests.py | fknight3/AndroidViewClient | 2bb7d970153ef5b3c97a11cd13695bce473b0053 | [
"Apache-2.0"
] | 1 | 2018-10-04T17:17:26.000Z | 2018-10-04T17:17:26.000Z | #! /usr/bin/env python
'''
Copyright (C) 2012 Diego Torres Milano
Created on Feb 5, 2012
@author: diego
'''
import unittest
from com.dtmilano.android.adb.adbclienttests import AdbClientTest
from com.dtmilano.android.viewclienttests import ViewTest, ViewClientTest
if __name__ == "__main__":
# sys.argv = ['', 'Vi... | 872 | 872 | 0.762615 | 82 | 872 | 8.012195 | 0.585366 | 0.082192 | 0.178082 | 0.066971 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013123 | 0.126147 | 872 | 1 | 872 | 872 | 0.849081 | 1.086009 | 0 | 0 | 0 | 0 | 0.012289 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.076923 | 0.230769 | 0 | 0.230769 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
cf3cfdc379388c1392dbf7b12038d5bcec15ebd2 | 96 | py | Python | scripts/qgis_fixes/fix_future_standard_library_urllib.py | dyna-mis/Hilabeling | cb7d5d4be29624a20c8a367162dbc6fd779b2b52 | [
"MIT"
] | null | null | null | scripts/qgis_fixes/fix_future_standard_library_urllib.py | dyna-mis/Hilabeling | cb7d5d4be29624a20c8a367162dbc6fd779b2b52 | [
"MIT"
] | null | null | null | scripts/qgis_fixes/fix_future_standard_library_urllib.py | dyna-mis/Hilabeling | cb7d5d4be29624a20c8a367162dbc6fd779b2b52 | [
"MIT"
] | 1 | 2021-12-25T08:40:30.000Z | 2021-12-25T08:40:30.000Z | from libfuturize.fixes.fix_future_standard_library_urllib import FixFutureStandardLibraryUrllib
| 48 | 95 | 0.9375 | 10 | 96 | 8.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041667 | 96 | 1 | 96 | 96 | 0.934783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
cf570b24b21702114374cbae2e6744af4b961685 | 145 | py | Python | chapter 4 - quicksort/count-items.py | kingisaac95/grokking-algorithms | 32cca84f8b6577deb83fa77e1d9dec754b59b776 | [
"Apache-2.0"
] | null | null | null | chapter 4 - quicksort/count-items.py | kingisaac95/grokking-algorithms | 32cca84f8b6577deb83fa77e1d9dec754b59b776 | [
"Apache-2.0"
] | null | null | null | chapter 4 - quicksort/count-items.py | kingisaac95/grokking-algorithms | 32cca84f8b6577deb83fa77e1d9dec754b59b776 | [
"Apache-2.0"
] | null | null | null | def count_items(list):
if len(list) < 2:
return 1
else:
return 1 + count_items(list[1:])
print(count_items([2, 4, 6]))
| 16.111111 | 40 | 0.558621 | 23 | 145 | 3.391304 | 0.565217 | 0.384615 | 0.358974 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067961 | 0.289655 | 145 | 8 | 41 | 18.125 | 0.68932 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0 | 0 | 0.5 | 0.166667 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.