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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0a4eaa20b8724137b33df7ea7e19e47477d20fa5 | 100 | py | Python | tests/test_util.py | tianhonglouis/sample-pyspark-application | bf15d55cd8f02b27de0635f07b51879f9d532966 | [
"ECL-2.0",
"Apache-2.0"
] | 64 | 2017-10-24T15:53:22.000Z | 2022-03-13T00:05:49.000Z | tests/test_util.py | tianhonglouis/sample-pyspark-application | bf15d55cd8f02b27de0635f07b51879f9d532966 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | tests/test_util.py | tianhonglouis/sample-pyspark-application | bf15d55cd8f02b27de0635f07b51879f9d532966 | [
"ECL-2.0",
"Apache-2.0"
] | 25 | 2018-01-21T13:19:39.000Z | 2022-03-28T13:58:04.000Z | from application.util import metaphone
def test_metaphone():
assert metaphone('Nick') == 'NK'
| 16.666667 | 38 | 0.72 | 12 | 100 | 5.916667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 100 | 5 | 39 | 20 | 0.845238 | 0 | 0 | 0 | 0 | 0 | 0.06 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
6a65e911e305825d7647d55a5f6936c278a7672a | 2,009 | py | Python | regina_normalizer/ordinal_thousands_tuples.py | grammatek/regina_normalizer | 61ffeafcf1b967b44a3a9f99727013779bfeba13 | [
"Apache-2.0"
] | null | null | null | regina_normalizer/ordinal_thousands_tuples.py | grammatek/regina_normalizer | 61ffeafcf1b967b44a3a9f99727013779bfeba13 | [
"Apache-2.0"
] | null | null | null | regina_normalizer/ordinal_thousands_tuples.py | grammatek/regina_normalizer | 61ffeafcf1b967b44a3a9f99727013779bfeba13 | [
"Apache-2.0"
] | null | null | null | # ORDINAL
from . import number_patterns as npa
from . import tuple_rules as tp
ordinal_thousands_tuples = []
for rule, letter in tp.dozens_ordinal_letters:
ordinal_thousands_tuples.append((npa.hndrds_ptrn_def + "1([01][1-9]|10)\.$", rule, 'hundreds', ' eitt hundrað' + letter + ' og'))
ordinal_thousands_tuple... | 77.269231 | 150 | 0.638128 | 254 | 2,009 | 4.84252 | 0.169291 | 0.195122 | 0.268293 | 0.318699 | 0.847967 | 0.794309 | 0.755285 | 0.617073 | 0.509756 | 0.404878 | 0 | 0.047142 | 0.155301 | 2,009 | 25 | 151 | 80.36 | 0.677666 | 0.003484 | 0 | 0 | 0 | 0 | 0.228114 | 0.032016 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.1 | 0 | 0.1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6a7495d16153d26cff89454b6bd3c855b2064db0 | 1,531 | py | Python | Python/快速排序_递归.py | 1050669722/LeetCode-Answers | c8f4d1ccaac09cda63b60d75144335347b06dc81 | [
"MIT"
] | null | null | null | Python/快速排序_递归.py | 1050669722/LeetCode-Answers | c8f4d1ccaac09cda63b60d75144335347b06dc81 | [
"MIT"
] | null | null | null | Python/快速排序_递归.py | 1050669722/LeetCode-Answers | c8f4d1ccaac09cda63b60d75144335347b06dc81 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Tue Jun 4 18:58:22 2019
@author: Administrator
"""
class Solution:
def sortArray(self, nums: list) -> list:
# return self.quick_sort(nums, 0, len(nums)-1)
self.quick_sort(nums, 0, len(nums)-1)
return nums
# def quick_sort(self, nums, left, rig... | 24.301587 | 55 | 0.480732 | 185 | 1,531 | 3.935135 | 0.221622 | 0.153846 | 0.107143 | 0.14011 | 0.793956 | 0.793956 | 0.793956 | 0.793956 | 0.722527 | 0.722527 | 0 | 0.032362 | 0.394513 | 1,531 | 63 | 56 | 24.301587 | 0.752967 | 0.440888 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.086957 | false | 0 | 0 | 0 | 0.217391 | 0.043478 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6a820a3c30e575cc37efead59b81e1aa647ff3b5 | 176 | py | Python | schools3/config/ml/experiments/hp_tuning_experiment_config.py | dssg/mlpolicylab_fall20_schools3_public | f8eff4c56e9bada1eb81ddaca03686d7ef53c2c4 | [
"MIT"
] | null | null | null | schools3/config/ml/experiments/hp_tuning_experiment_config.py | dssg/mlpolicylab_fall20_schools3_public | f8eff4c56e9bada1eb81ddaca03686d7ef53c2c4 | [
"MIT"
] | null | null | null | schools3/config/ml/experiments/hp_tuning_experiment_config.py | dssg/mlpolicylab_fall20_schools3_public | f8eff4c56e9bada1eb81ddaca03686d7ef53c2c4 | [
"MIT"
] | null | null | null | import sys
from schools3.config import base_config
config = base_config.Config()
config.out_csv = 'tuning.csv'
config.out_img = 'tuning.html'
sys.modules[__name__] = config
| 17.6 | 39 | 0.772727 | 26 | 176 | 4.923077 | 0.5 | 0.28125 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006452 | 0.119318 | 176 | 9 | 40 | 19.555556 | 0.819355 | 0 | 0 | 0 | 0 | 0 | 0.119318 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
6a8866a0b68d1471ba36b0f49dbcde6583b88972 | 64 | py | Python | jinahub/encoders/text/TransformerTFTextEncoder/__init__.py | sauravgarg540/executors | c06a16633767346eee96ec019ae6a171f125f6cb | [
"Apache-2.0"
] | null | null | null | jinahub/encoders/text/TransformerTFTextEncoder/__init__.py | sauravgarg540/executors | c06a16633767346eee96ec019ae6a171f125f6cb | [
"Apache-2.0"
] | null | null | null | jinahub/encoders/text/TransformerTFTextEncoder/__init__.py | sauravgarg540/executors | c06a16633767346eee96ec019ae6a171f125f6cb | [
"Apache-2.0"
] | null | null | null | from .transformer_tf_text_encode import TransformerTFTextEncoder | 64 | 64 | 0.9375 | 7 | 64 | 8.142857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046875 | 64 | 1 | 64 | 64 | 0.934426 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
6a99672016d7f9e9f7de1927e028495a84011556 | 1,831 | py | Python | eqb/scripts/bytearray_to_hexstring.py | cryptotechguru/tesseract | 9b64c61483710c94390404c3d920c1059cbfcda7 | [
"MIT"
] | null | null | null | eqb/scripts/bytearray_to_hexstring.py | cryptotechguru/tesseract | 9b64c61483710c94390404c3d920c1059cbfcda7 | [
"MIT"
] | 45 | 2019-02-05T17:17:18.000Z | 2019-07-20T17:21:02.000Z | eqb/scripts/bytearray_to_hexstring.py | cryptotechguru/tesseract | 9b64c61483710c94390404c3d920c1059cbfcda7 | [
"MIT"
] | 6 | 2019-02-01T12:30:48.000Z | 2019-03-01T20:33:14.000Z | # this script converts a hex byte array to hex string
input = ([0x01, 0x00, 0x00, 0x00, 0x01, 0x6b, 0xff, 0x7f, 0xcd, 0x4f, 0x85, 0x65, 0xef, 0x40, 0x6d, 0xd5, 0xd6, 0x3d, 0x4f, 0xf9, 0x4f, 0x31, 0x8f, 0xe8, 0x20, 0x27, 0xfd, 0x4d, 0xc4, 0x51, 0xb0, 0x44, 0x74, 0x01, 0x9f, 0x74, 0xb4, 0x00, 0x00, 0x00, 0x00, 0x8c, 0x4... | 140.846154 | 1,582 | 0.666303 | 297 | 1,831 | 4.107744 | 0.572391 | 0.111475 | 0.118033 | 0.091803 | 0.07541 | 0.07541 | 0.052459 | 0.052459 | 0 | 0 | 0 | 0.400922 | 0.170399 | 1,831 | 13 | 1,583 | 140.846154 | 0.402238 | 0.0639 | 0 | 0 | 0 | 0 | 0.001753 | 0 | 0 | 0 | 0.612507 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.285714 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6aa08d0c23c9d38d25e68c5d9cbc80baffb05e0d | 569 | py | Python | routes/__init__.py | Officeyutong/HelloJudge2 | e88c0a1198f8531ee0c1121dccfedb51f3f0aa0e | [
"MIT"
] | 21 | 2020-02-24T07:56:55.000Z | 2022-01-22T11:32:28.000Z | routes/__init__.py | Officeyutong/HelloJudge2 | e88c0a1198f8531ee0c1121dccfedb51f3f0aa0e | [
"MIT"
] | 1 | 2021-02-07T13:08:47.000Z | 2021-02-09T04:50:49.000Z | routes/__init__.py | Officeyutong/HelloJudge2 | e88c0a1198f8531ee0c1121dccfedb51f3f0aa0e | [
"MIT"
] | 3 | 2020-06-04T07:56:20.000Z | 2021-06-21T04:04:15.000Z | # from . import vi
from .view import *
from .api_problem import *
from .api_user import *
from .api_judge import *
from .api_submission import *
from .api_utils import *
from .api_discussion import *
from .api_team import *
# from .api_contest import *
from .api_admin import *
from .api_ide import *
from .api_ranklist ... | 25.863636 | 29 | 0.764499 | 85 | 569 | 4.894118 | 0.294118 | 0.480769 | 0.59375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156415 | 569 | 22 | 30 | 25.863636 | 0.866667 | 0.075571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
6aa84a51fe810740f67cd714e851abb32e9e2105 | 102 | py | Python | enthought/blocks/compiler_unparse.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 3 | 2016-12-09T06:05:18.000Z | 2018-03-01T13:00:29.000Z | enthought/blocks/compiler_unparse.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 1 | 2020-12-02T00:51:32.000Z | 2020-12-02T08:48:55.000Z | enthought/blocks/compiler_unparse.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | null | null | null | # proxy module
from __future__ import absolute_import
from codetools.blocks.compiler_unparse import *
| 25.5 | 47 | 0.852941 | 13 | 102 | 6.230769 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107843 | 102 | 3 | 48 | 34 | 0.89011 | 0.117647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
6ab22b091d1c43c644ca776f2c556f870934e56f | 154 | py | Python | catbird/core/__init__.py | AfonsoSalgadoSousa/catbird | e285613f6e101115cccc1f88bbcf0cd435fbd4e9 | [
"MIT"
] | 5 | 2021-12-25T23:26:00.000Z | 2022-03-26T09:13:41.000Z | catbird/core/__init__.py | AfonsoSalgadoSousa/catbird | e285613f6e101115cccc1f88bbcf0cd435fbd4e9 | [
"MIT"
] | null | null | null | catbird/core/__init__.py | AfonsoSalgadoSousa/catbird | e285613f6e101115cccc1f88bbcf0cd435fbd4e9 | [
"MIT"
] | null | null | null | """Import facility for 'core' classes and functions."""
from .evaluation import *
from .optimizer import *
from .scheduler import *
from .utils import *
| 22 | 55 | 0.733766 | 19 | 154 | 5.947368 | 0.631579 | 0.265487 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155844 | 154 | 6 | 56 | 25.666667 | 0.869231 | 0.318182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
0aba320e9a7ac22fc7e35993ead5aad393645181 | 85 | py | Python | boa3_test/test_sc/arithmetic_test/AdditionLiteral.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 25 | 2020-07-22T19:37:43.000Z | 2022-03-08T03:23:55.000Z | boa3_test/test_sc/arithmetic_test/AdditionLiteral.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 419 | 2020-04-23T17:48:14.000Z | 2022-03-31T13:17:45.000Z | boa3_test/test_sc/arithmetic_test/AdditionLiteral.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 15 | 2020-05-21T21:54:24.000Z | 2021-11-18T06:17:24.000Z | from boa3.builtin import public
@public
def add_one_two() -> int:
return 1 + 2
| 12.142857 | 31 | 0.682353 | 14 | 85 | 4 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 0.223529 | 85 | 6 | 32 | 14.166667 | 0.80303 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
0af90f906e0c13288871f90fdb68ad08096cc043 | 82 | py | Python | mysite/storehouse/models/__init__.py | othmankurdi/storehouse | c702abac6ad7bceef59913485ae7ead4f0f884d7 | [
"MIT"
] | null | null | null | mysite/storehouse/models/__init__.py | othmankurdi/storehouse | c702abac6ad7bceef59913485ae7ead4f0f884d7 | [
"MIT"
] | 3 | 2021-11-28T10:18:00.000Z | 2021-11-28T10:39:55.000Z | mysite/storehouse/models/__init__.py | othmankurdi/storehouse | c702abac6ad7bceef59913485ae7ead4f0f884d7 | [
"MIT"
] | null | null | null | from .user import User
from .category import Category
from .product import Product | 27.333333 | 30 | 0.829268 | 12 | 82 | 5.666667 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134146 | 82 | 3 | 31 | 27.333333 | 0.957746 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
7c1724435686cdad0ae25b2f830cffbc158d3c77 | 51 | py | Python | python3.py | AliMD/happy-new-year | c90dede80cbcbff0c7559442b2f65dfbcb786e3d | [
"MIT"
] | 2 | 2017-03-20T07:28:54.000Z | 2019-12-18T18:57:38.000Z | python3.py | AliMD/happy-new-year | c90dede80cbcbff0c7559442b2f65dfbcb786e3d | [
"MIT"
] | null | null | null | python3.py | AliMD/happy-new-year | c90dede80cbcbff0c7559442b2f65dfbcb786e3d | [
"MIT"
] | null | null | null | #!/usr/bin/env python
print("Happy New Year 1396")
| 17 | 28 | 0.705882 | 9 | 51 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 0.117647 | 51 | 2 | 29 | 25.5 | 0.711111 | 0.392157 | 0 | 0 | 0 | 0 | 0.633333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
7c289f94fc9a3ec582cc328321599e89f887a5aa | 8,497 | py | Python | api-inference-community/tests/test_routes.py | mlonaws/huggingface_hub | 588f74b98fbcab2cd7e61a74cc6d9649a92e0ef2 | [
"Apache-2.0"
] | 1 | 2022-02-28T07:46:39.000Z | 2022-02-28T07:46:39.000Z | api-inference-community/tests/test_routes.py | mlonaws/huggingface_hub | 588f74b98fbcab2cd7e61a74cc6d9649a92e0ef2 | [
"Apache-2.0"
] | 1 | 2021-12-14T20:18:54.000Z | 2021-12-14T20:18:54.000Z | api-inference-community/tests/test_routes.py | mlonaws/huggingface_hub | 588f74b98fbcab2cd7e61a74cc6d9649a92e0ef2 | [
"Apache-2.0"
] | 1 | 2022-02-25T01:17:27.000Z | 2022-02-25T01:17:27.000Z | import io
import json
import logging
import os
from unittest import TestCase
import numpy as np
from api_inference_community.routes import pipeline_route, status_ok
from PIL import Image
from starlette.applications import Starlette
from starlette.routing import Route
from starlette.testclient import TestClient
class... | 31.124542 | 91 | 0.557373 | 842 | 8,497 | 5.476247 | 0.157957 | 0.042941 | 0.044242 | 0.022121 | 0.78226 | 0.749512 | 0.727608 | 0.705487 | 0.705487 | 0.689655 | 0 | 0.008666 | 0.320937 | 8,497 | 272 | 92 | 31.238971 | 0.790468 | 0.041544 | 0 | 0.652174 | 0 | 0 | 0.129778 | 0.003072 | 0 | 0 | 0 | 0 | 0.077295 | 1 | 0.111111 | false | 0.019324 | 0.05314 | 0.043478 | 0.246377 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
7c30718c858fcb30b20e4000b1f031b41f541be4 | 137 | py | Python | arrested/__init__.py | haskiindahouse/promosales-and-prizes-flask | 5b9ae3e0506d847463e367180f4e784fe835c393 | [
"MIT"
] | 46 | 2016-06-28T10:25:07.000Z | 2019-12-10T20:53:47.000Z | arrested/__init__.py | haskiindahouse/promosales-and-prizes-flask | 5b9ae3e0506d847463e367180f4e784fe835c393 | [
"MIT"
] | 4 | 2018-02-10T10:53:08.000Z | 2018-11-07T08:11:06.000Z | arrested/__init__.py | haskiindahouse/promosales-and-prizes-flask | 5b9ae3e0506d847463e367180f4e784fe835c393 | [
"MIT"
] | 9 | 2016-07-20T17:05:46.000Z | 2022-02-15T18:40:17.000Z |
__version__ = '0.1.3'
from .api import *
from .endpoint import *
from .resource import *
from .mixins import *
from .handlers import *
| 15.222222 | 23 | 0.708029 | 19 | 137 | 4.894737 | 0.578947 | 0.430108 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026786 | 0.182482 | 137 | 8 | 24 | 17.125 | 0.803571 | 0 | 0 | 0 | 0 | 0 | 0.036765 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.833333 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
7c74e5ddafca5cdacb4c8305ede29507931c5857 | 1,137 | py | Python | apps/accounts/migrations/0005_auto_20180526_0649.py | drinks5/airdrops | d5c6686f2bbbd92e45059735294e310da49dec81 | [
"MIT"
] | 1 | 2018-05-27T05:59:41.000Z | 2018-05-27T05:59:41.000Z | apps/accounts/migrations/0005_auto_20180526_0649.py | drinksober/telegram_cloud | d5c6686f2bbbd92e45059735294e310da49dec81 | [
"MIT"
] | 1 | 2021-01-29T10:26:14.000Z | 2021-01-29T10:26:14.000Z | apps/accounts/migrations/0005_auto_20180526_0649.py | drinks5/airdrops | d5c6686f2bbbd92e45059735294e310da49dec81 | [
"MIT"
] | 1 | 2018-05-30T08:56:20.000Z | 2018-05-30T08:56:20.000Z | # Generated by Django 2.0.5 on 2018-05-26 06:49
from django.db import migrations, models
import django.utils.timezone
class Migration(migrations.Migration):
dependencies = [
('accounts', '0004_account_remark'),
]
operations = [
migrations.AddField(
model_name='airdrop',
... | 30.72973 | 114 | 0.60774 | 116 | 1,137 | 5.784483 | 0.396552 | 0.107303 | 0.137109 | 0.160954 | 0.742176 | 0.742176 | 0.614009 | 0.614009 | 0.614009 | 0.614009 | 0 | 0.023143 | 0.277924 | 1,137 | 36 | 115 | 31.583333 | 0.794153 | 0.039578 | 0 | 0.733333 | 1 | 0 | 0.105505 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.066667 | 0 | 0.166667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
7c76815fbfe7675660b47db6ea2fc71136873d1b | 940 | py | Python | swagger_client/models/__init__.py | atlanticwave-sdx/sdx-lc-client | a442eb3efc327cd39b0d227329cef207ab1505e3 | [
"Apache-2.0"
] | null | null | null | swagger_client/models/__init__.py | atlanticwave-sdx/sdx-lc-client | a442eb3efc327cd39b0d227329cef207ab1505e3 | [
"Apache-2.0"
] | null | null | null | swagger_client/models/__init__.py | atlanticwave-sdx/sdx-lc-client | a442eb3efc327cd39b0d227329cef207ab1505e3 | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
# flake8: noqa
"""
SDX LC
You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). # noqa: E501
OpenAPI spec version: 1.0.0
Contact: yxin@renci.org
Generated by: https://github.com/swagger-api/swagg... | 34.814815 | 156 | 0.798936 | 136 | 940 | 5.389706 | 0.455882 | 0.150068 | 0.231924 | 0.313779 | 0.07367 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009662 | 0.119149 | 940 | 26 | 157 | 36.153846 | 0.875604 | 0.360638 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
7ca5d239c5de4062718965c714916132bc321b37 | 152 | py | Python | Examples/AppKit/CocoaBindings/ManualBindings/ManualBindings.py | Khan/pyobjc-framework-Cocoa | f8b015ea2a72d8d78be6084fb12925c4785b8f1f | [
"MIT"
] | 132 | 2015-01-01T10:02:42.000Z | 2022-03-09T12:51:01.000Z | mac/pyobjc-framework-Cocoa/Examples/AppKit/CocoaBindings/ManualBindings/ManualBindings.py | mba811/music-player | 7998986b34cfda2244ef622adefb839331b81a81 | [
"BSD-2-Clause"
] | 6 | 2015-01-06T08:23:19.000Z | 2019-03-14T12:22:06.000Z | mac/pyobjc-framework-Cocoa/Examples/AppKit/CocoaBindings/ManualBindings/ManualBindings.py | mba811/music-player | 7998986b34cfda2244ef622adefb839331b81a81 | [
"BSD-2-Clause"
] | 27 | 2015-02-23T11:51:43.000Z | 2022-03-07T02:34:18.000Z | from PyObjCTools import AppHelper
# import classes required to start application
import AppController
# start the event loop
AppHelper.runEventLoop()
| 19 | 46 | 0.828947 | 18 | 152 | 7 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138158 | 152 | 7 | 47 | 21.714286 | 0.961832 | 0.427632 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
7cb866ba7635f02e77c312ecf7ecfa0a9d4771f1 | 458 | py | Python | usaspending_api/etl/management/commands/update_description_fields.py | truthiswill/usaspending-api | bd7d915442e2ec94cc830c480ceeffd4479be6c0 | [
"CC0-1.0"
] | null | null | null | usaspending_api/etl/management/commands/update_description_fields.py | truthiswill/usaspending-api | bd7d915442e2ec94cc830c480ceeffd4479be6c0 | [
"CC0-1.0"
] | 3 | 2020-02-12T01:16:46.000Z | 2021-06-10T20:36:57.000Z | usaspending_api/etl/management/commands/update_description_fields.py | truthiswill/usaspending-api | bd7d915442e2ec94cc830c480ceeffd4479be6c0 | [
"CC0-1.0"
] | null | null | null | from django.core.management.base import BaseCommand
from usaspending_api.etl.helpers import update_model_description_fields
class Command(BaseCommand):
"""
This command will generate SQL using sqlsequencereset for each app, so that
one can repair the primary key sequences of the listed models
"""
... | 32.714286 | 79 | 0.755459 | 60 | 458 | 5.65 | 0.783333 | 0.097345 | 0.19469 | 0.247788 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183406 | 458 | 13 | 80 | 35.230769 | 0.906417 | 0.299127 | 0 | 0 | 1 | 0 | 0.149502 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.833333 | 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 | 1 | 0 | 0 | 5 |
7ce8738538890f4da91164313a72b91c115f238b | 316 | py | Python | src/rreil/comparator.py | tizmd/python-gdsl | d5782490a9a8b67b7e5667fafb51409c3693b010 | [
"MIT"
] | null | null | null | src/rreil/comparator.py | tizmd/python-gdsl | d5782490a9a8b67b7e5667fafb51409c3693b010 | [
"MIT"
] | null | null | null | src/rreil/comparator.py | tizmd/python-gdsl | d5782490a9a8b67b7e5667fafb51409c3693b010 | [
"MIT"
] | null | null | null |
from .arity import Infix
class Comparator(Infix):
pass
class Eq(Comparator):
op_str = "=="
class Neq(Comparator):
op_str = "!="
class LeS(Comparator):
op_str = "<=s"
class LeU(Comparator):
op_str = "<=u"
class LtS(Comparator):
op_str = "<s"
class LtU(Comparator):
op_str = "<u"
| 12.153846 | 24 | 0.60443 | 42 | 316 | 4.404762 | 0.404762 | 0.389189 | 0.486486 | 0.216216 | 0.227027 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.237342 | 316 | 25 | 25 | 12.64 | 0.767635 | 0 | 0 | 0 | 0 | 0 | 0.044728 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.066667 | 0.066667 | 0 | 0.933333 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
6b12a69b60c82e97bf4052e53ac65f121b0edbf4 | 73 | py | Python | launchkey/transports/__init__.py | bgroveben/launchkey-python | c102d76040221059e7b87d96496edb1be3824d3b | [
"MIT"
] | 1 | 2018-12-06T04:42:35.000Z | 2018-12-06T04:42:35.000Z | launchkey/transports/__init__.py | bgroveben/launchkey-python | c102d76040221059e7b87d96496edb1be3824d3b | [
"MIT"
] | 1 | 2018-12-11T22:31:03.000Z | 2018-12-11T22:31:03.000Z | launchkey/transports/__init__.py | bgroveben/launchkey-python | c102d76040221059e7b87d96496edb1be3824d3b | [
"MIT"
] | null | null | null | from .jose_auth import JOSETransport
from .http import RequestsTransport
| 24.333333 | 36 | 0.863014 | 9 | 73 | 6.888889 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109589 | 73 | 2 | 37 | 36.5 | 0.953846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
862758a424b11a9a912018cfa818f08abf546bc1 | 53 | py | Python | dizoo/gfootball/policy/__init__.py | uuid0000/DI-engine | cc2713fa01e5288bae21cfeb595729d665e092d1 | [
"Apache-2.0"
] | 1 | 2021-07-13T02:56:34.000Z | 2021-07-13T02:56:34.000Z | dizoo/gfootball/policy/__init__.py | uuid0000/DI-engine | cc2713fa01e5288bae21cfeb595729d665e092d1 | [
"Apache-2.0"
] | null | null | null | dizoo/gfootball/policy/__init__.py | uuid0000/DI-engine | cc2713fa01e5288bae21cfeb595729d665e092d1 | [
"Apache-2.0"
] | null | null | null | from .ppo_lstm import PPOPolicy, PPOCommandModePolicy | 53 | 53 | 0.886792 | 6 | 53 | 7.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075472 | 53 | 1 | 53 | 53 | 0.938776 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
8635363fd8e7dbb3c411b4ef92b5aa2505a821ca | 243 | py | Python | nezukari/core/config.py | 1olipop/nezuko | e98d044b6ebd83a073cabb17ac19e6b5a6d491d4 | [
"MIT"
] | 3 | 2021-09-26T12:08:59.000Z | 2021-09-27T02:11:10.000Z | nezukari/core/config.py | 1olipop/nezuko | e98d044b6ebd83a073cabb17ac19e6b5a6d491d4 | [
"MIT"
] | 1 | 2021-09-27T00:34:13.000Z | 2021-09-27T00:34:13.000Z | nezukari/core/config.py | 1olipop/nezuko | e98d044b6ebd83a073cabb17ac19e6b5a6d491d4 | [
"MIT"
] | 1 | 2021-09-26T18:39:12.000Z | 2021-09-26T18:39:12.000Z | import os
import dotenv
from typing import Final
dotenv.load_dotenv()
class Config:
token: Final[str] = os.getenv("BOT_TOKEN")
host: Final[str] = os.getenv("LAVALINK_HOST")
password: Final[str] = os.getenv("LAVALINK_PASSWORD")
| 18.692308 | 57 | 0.711934 | 34 | 243 | 4.970588 | 0.470588 | 0.142012 | 0.177515 | 0.284024 | 0.284024 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160494 | 243 | 12 | 58 | 20.25 | 0.828431 | 0 | 0 | 0 | 0 | 0 | 0.160494 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.125 | 0.375 | 0 | 0.875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
86511d2df48b2c9326d63774bf1e733c8ce8761e | 125 | py | Python | venv/Lib/site-packages/stroke/__init__.py | jedeland/jedel_name_generator | 8d220c7e6a13e013d9664402cb0262f323a4056d | [
"MIT"
] | null | null | null | venv/Lib/site-packages/stroke/__init__.py | jedeland/jedel_name_generator | 8d220c7e6a13e013d9664402cb0262f323a4056d | [
"MIT"
] | null | null | null | venv/Lib/site-packages/stroke/__init__.py | jedeland/jedel_name_generator | 8d220c7e6a13e013d9664402cb0262f323a4056d | [
"MIT"
] | null | null | null |
from .line import *
from .parse import *
from .search import *
__all__ = (*line.__all__, *parse.__all__, *search.__all__)
| 15.625 | 58 | 0.704 | 16 | 125 | 4.5 | 0.375 | 0.277778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 125 | 7 | 59 | 17.857143 | 0.685714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
8665b7c5200bacebb3457982389adc53465fb672 | 37 | py | Python | pyleft/__main__.py | NathanVaughn/pyleft | 3e2c0bbf84416afa4ed653a65f3fd37e589c7efa | [
"MIT"
] | null | null | null | pyleft/__main__.py | NathanVaughn/pyleft | 3e2c0bbf84416afa4ed653a65f3fd37e589c7efa | [
"MIT"
] | 2 | 2021-12-09T00:20:21.000Z | 2022-01-01T23:26:17.000Z | pyleft/__main__.py | NathanVaughn/pyleft | 3e2c0bbf84416afa4ed653a65f3fd37e589c7efa | [
"MIT"
] | null | null | null | from . import console
console.run()
| 9.25 | 21 | 0.72973 | 5 | 37 | 5.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162162 | 37 | 3 | 22 | 12.333333 | 0.870968 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
86aa9d6c3cea48d68269661e644edfc2c6f5029a | 95 | py | Python | decaylanguage/decay/__init__.py | chrisburr/decaylanguage | 12aaaf10cc4e8e9aad8667a1acec5a7f7d0bbeb1 | [
"BSD-3-Clause"
] | null | null | null | decaylanguage/decay/__init__.py | chrisburr/decaylanguage | 12aaaf10cc4e8e9aad8667a1acec5a7f7d0bbeb1 | [
"BSD-3-Clause"
] | null | null | null | decaylanguage/decay/__init__.py | chrisburr/decaylanguage | 12aaaf10cc4e8e9aad8667a1acec5a7f7d0bbeb1 | [
"BSD-3-Clause"
] | null | null | null |
from .decay import DaughtersDict, DecayMode, DecayChain
from .viewer import DecayChainViewer
| 19 | 55 | 0.831579 | 10 | 95 | 7.9 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126316 | 95 | 4 | 56 | 23.75 | 0.951807 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
86c90766cc99be52453de1a0a87e736e27a0fbed | 219 | py | Python | src/lto/accounts/ed25519/__init__.py | mustafa-travisci/lto-api.python | 0493a46b69575e94d09a038dadf472b46f88d036 | [
"MIT"
] | null | null | null | src/lto/accounts/ed25519/__init__.py | mustafa-travisci/lto-api.python | 0493a46b69575e94d09a038dadf472b46f88d036 | [
"MIT"
] | null | null | null | src/lto/accounts/ed25519/__init__.py | mustafa-travisci/lto-api.python | 0493a46b69575e94d09a038dadf472b46f88d036 | [
"MIT"
] | null | null | null | from lto.accounts.ed25519.account_ed25519 import AccountED25519 as Account
from lto.accounts.ed25519.account_factory_ed25519 import AccountFactoryED25519 as AccountFactory
from nacl.signing import SigningKey, VerifyKey
| 54.75 | 96 | 0.885845 | 27 | 219 | 7.074074 | 0.555556 | 0.073298 | 0.157068 | 0.230366 | 0.303665 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148515 | 0.077626 | 219 | 3 | 97 | 73 | 0.79703 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
810063485740a4e573d6d20bb9d95f519f7b452f | 167,375 | py | Python | Astronomy Astrophysics Astrometry Astrodynamics AAAA/Seeing Stars/seeing-stars.py | errir503/ADDVulcan | df5d818cb9eb7b4165d1d21533c689bedc5941ff | [
"Apache-2.0"
] | 34 | 2020-06-14T20:39:57.000Z | 2022-02-15T14:55:13.000Z | Astronomy Astrophysics Astrometry Astrodynamics AAAA/Seeing Stars/seeing-stars.py | ADDVulcan/ADDVulcan | df5d818cb9eb7b4165d1d21533c689bedc5941ff | [
"Apache-2.0"
] | null | null | null | Astronomy Astrophysics Astrometry Astrodynamics AAAA/Seeing Stars/seeing-stars.py | ADDVulcan/ADDVulcan | df5d818cb9eb7b4165d1d21533c689bedc5941ff | [
"Apache-2.0"
] | 8 | 2020-06-15T03:25:50.000Z | 2022-01-13T23:42:26.000Z | #!/usr/bin/env python3
from PIL import Image
data1 = [
[1,5,9,3,2,4,6,9,1,3,7,5,6,6,2,7,1,8,2,2,1,8,8,2,5,7,2,6,9,5,8,3,1,2,8,8,8,7,1,1,0,6,8,1,5,2,7,4,5,1,9,1,5,6,3,6,1,5,0,5,0,1,4,0,9,2,8,3,6,3,1,0,9,5,6,7,7,8,4,1,9,7,2,5,4,4,4,6,9,3,7,8,5,2,6,6,4,4,6,5,1,0,8,2,2,4,4,8,4,8,8,2,5,3,0,9,5,4,7,1,1,9,2,1,5,8,1,8],
[3,1,... | 247.962963 | 272 | 0.497458 | 82,048 | 167,375 | 1.014796 | 0.00234 | 0.021138 | 0.004035 | 0.000961 | 0.953676 | 0.351229 | 0.049206 | 0.00442 | 0 | 0 | 0 | 0.496642 | 0.004589 | 167,375 | 674 | 273 | 248.330861 | 0.003109 | 0.000125 | 0 | 0 | 0 | 0 | 0.000418 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.001502 | 0 | 0.001502 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
810a3de8a5559a8ba1a7659e41abaed841d43e57 | 52 | py | Python | haystack/nodes/connector/__init__.py | mapapa/haystack | 79fdda8a7cf393d774803608a4874f2a6e63cf6f | [
"Apache-2.0"
] | 7 | 2022-01-22T18:58:54.000Z | 2022-03-18T17:06:35.000Z | haystack/nodes/connector/__init__.py | mapapa/haystack | 79fdda8a7cf393d774803608a4874f2a6e63cf6f | [
"Apache-2.0"
] | 17 | 2021-12-08T18:00:58.000Z | 2021-12-28T14:03:27.000Z | haystack/nodes/connector/__init__.py | mapapa/haystack | 79fdda8a7cf393d774803608a4874f2a6e63cf6f | [
"Apache-2.0"
] | 1 | 2022-01-21T02:05:15.000Z | 2022-01-21T02:05:15.000Z | from haystack.nodes.connector.crawler import Crawler | 52 | 52 | 0.884615 | 7 | 52 | 6.571429 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057692 | 52 | 1 | 52 | 52 | 0.938776 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
813697f1ae9a398c69dc8d986d8a922c9f52ca82 | 99 | py | Python | lib/abridger/extraction_model/__init__.py | willangenent/abridger | 6daa80f7360339376b38544ce60694c5addaa30f | [
"MIT"
] | 8 | 2016-10-19T14:15:34.000Z | 2020-06-23T09:37:02.000Z | lib/abridger/extraction_model/__init__.py | freewilll/abridger | 6daa80f7360339376b38544ce60694c5addaa30f | [
"MIT"
] | null | null | null | lib/abridger/extraction_model/__init__.py | freewilll/abridger | 6daa80f7360339376b38544ce60694c5addaa30f | [
"MIT"
] | null | null | null | from .model import ExtractionModel # noqa
from .relation import Relation, merge_relations # noqa
| 33 | 55 | 0.79798 | 12 | 99 | 6.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 99 | 2 | 56 | 49.5 | 0.928571 | 0.090909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
813b31d72f775a8410a8c1f349a83a61233abb0c | 111 | py | Python | application.py | uk-gov-mirror/alphagov.digitalmarketplace-briefs-frontend | 2325f01b1bdb13fb5b0afe7fe110c0be0c031da6 | [
"MIT"
] | 7 | 2015-11-21T20:43:37.000Z | 2020-07-22T13:20:18.000Z | application.py | uk-gov-mirror/alphagov.digitalmarketplace-briefs-frontend | 2325f01b1bdb13fb5b0afe7fe110c0be0c031da6 | [
"MIT"
] | 783 | 2015-04-07T16:34:57.000Z | 2021-07-27T12:13:02.000Z | application.py | uk-gov-mirror/alphagov.digitalmarketplace-briefs-frontend | 2325f01b1bdb13fb5b0afe7fe110c0be0c031da6 | [
"MIT"
] | 20 | 2015-06-13T15:37:23.000Z | 2021-04-10T18:02:09.000Z | import os
from app import create_app
application = create_app(os.getenv("DM_ENVIRONMENT") or "development")
| 15.857143 | 70 | 0.783784 | 16 | 111 | 5.25 | 0.6875 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126126 | 111 | 6 | 71 | 18.5 | 0.865979 | 0 | 0 | 0 | 0 | 0 | 0.225225 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
d4a904b406a45da5b380d4f8440ef23610e6d43f | 49 | py | Python | unifier/__init__.py | jtorreshnl/unifier | dba0de9af7ec0f749b1be67cea200622f66beadc | [
"MIT"
] | null | null | null | unifier/__init__.py | jtorreshnl/unifier | dba0de9af7ec0f749b1be67cea200622f66beadc | [
"MIT"
] | null | null | null | unifier/__init__.py | jtorreshnl/unifier | dba0de9af7ec0f749b1be67cea200622f66beadc | [
"MIT"
] | null | null | null | from unifier.ureqs import (
UnifierRequest
)
| 12.25 | 27 | 0.734694 | 5 | 49 | 7.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.204082 | 49 | 3 | 28 | 16.333333 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
0780346b6c1affa0fc4616f7415db1aecb309ab9 | 873 | py | Python | tests/test_version.py | ctrlaltdel/imapclient | c90e4521672f0a7246aee9bc5dc49c2899c666d3 | [
"BSD-3-Clause"
] | 10 | 2015-07-24T07:33:13.000Z | 2021-06-15T15:05:06.000Z | tests/test_version.py | ctrlaltdel/imapclient | c90e4521672f0a7246aee9bc5dc49c2899c666d3 | [
"BSD-3-Clause"
] | 1 | 2016-08-08T19:13:40.000Z | 2016-08-08T19:13:40.000Z | tests/test_version.py | ctrlaltdel/imapclient | c90e4521672f0a7246aee9bc5dc49c2899c666d3 | [
"BSD-3-Clause"
] | 11 | 2015-05-06T08:46:09.000Z | 2019-05-08T09:41:36.000Z | # Copyright (c) 2015, Menno Smits
# Released subject to the New BSD License
# Please see http://en.wikipedia.org/wiki/BSD_licenses
from __future__ import unicode_literals
from imapclient.version import _imapclient_version_string
from .util import unittest
class TestVersionString(unittest.TestCase):
def test_do... | 32.333333 | 87 | 0.705613 | 126 | 873 | 4.634921 | 0.388889 | 0.203767 | 0.236301 | 0.248288 | 0.376712 | 0.376712 | 0.376712 | 0.229452 | 0.15411 | 0 | 0 | 0.046133 | 0.155785 | 873 | 26 | 88 | 33.576923 | 0.746269 | 0.142039 | 0 | 0 | 0 | 0 | 0.080537 | 0 | 0 | 0 | 0 | 0 | 0.357143 | 1 | 0.357143 | false | 0 | 0.214286 | 0 | 0.642857 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
0783b122526862e543ebf8cac6291e818f8d062b | 126 | py | Python | homework_day_3/9.py | wxz896446511/Manyu | 5974ba3a3f27fbaf53bf9f876150ff764a70ac46 | [
"Apache-2.0"
] | 4 | 2018-09-26T00:48:02.000Z | 2020-08-21T02:06:59.000Z | homework_day_3/9.py | wxz896446511/Manyu | 5974ba3a3f27fbaf53bf9f876150ff764a70ac46 | [
"Apache-2.0"
] | null | null | null | homework_day_3/9.py | wxz896446511/Manyu | 5974ba3a3f27fbaf53bf9f876150ff764a70ac46 | [
"Apache-2.0"
] | 1 | 2020-08-21T02:07:04.000Z | 2020-08-21T02:07:04.000Z | for i in range (1,10000):
s=0
for k in range(1,i):
if i%k==0:
s=s+k
if i==s:
print(i)
| 15.75 | 25 | 0.396825 | 26 | 126 | 1.923077 | 0.423077 | 0.28 | 0.32 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128571 | 0.444444 | 126 | 7 | 26 | 18 | 0.585714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.142857 | 1 | 0 | 1 | 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 | 5 |
07912b9f3d7c5687a899c02eb6c10ddd70213159 | 148 | py | Python | debug.py | technerdmike/supportCentreQueue | e6c26400ba57efd0227150843262382fa581c564 | [
"Apache-2.0"
] | null | null | null | debug.py | technerdmike/supportCentreQueue | e6c26400ba57efd0227150843262382fa581c564 | [
"Apache-2.0"
] | null | null | null | debug.py | technerdmike/supportCentreQueue | e6c26400ba57efd0227150843262382fa581c564 | [
"Apache-2.0"
] | null | null | null | """
title: debug program
"""
from app import app
if __name__ == '__main__':
app.run(host='0.0.0.0', debug=True)
# app.run(host='0.0.0.0')
| 14.8 | 39 | 0.594595 | 26 | 148 | 3.076923 | 0.5 | 0.15 | 0.15 | 0.275 | 0.35 | 0.35 | 0.35 | 0 | 0 | 0 | 0 | 0.066116 | 0.182432 | 148 | 9 | 40 | 16.444444 | 0.595041 | 0.304054 | 0 | 0 | 0 | 0 | 0.157895 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
0796ab7ceb38a2d7b41d14af7d486d877afc99e5 | 175 | py | Python | utils.py | GBLin5566/toward-controlled-generation-of-text-pytorch | dfb95ccb6833321930cc08004eeffbeaf71082ed | [
"MIT"
] | 109 | 2017-10-11T13:53:02.000Z | 2022-01-16T19:37:39.000Z | utils.py | GBLin5566/toward-controlled-generation-of-text-pytorch | dfb95ccb6833321930cc08004eeffbeaf71082ed | [
"MIT"
] | 8 | 2017-10-10T04:32:06.000Z | 2018-09-18T15:50:19.000Z | utils.py | GBLin5566/toward-controlled-generation-of-text-pytorch | dfb95ccb6833321930cc08004eeffbeaf71082ed | [
"MIT"
] | 28 | 2017-11-12T09:26:12.000Z | 2021-11-04T12:30:56.000Z | from torch import cuda
def check_cuda(torch_var, use_cuda=False):
if use_cuda and cuda.is_available():
return torch_var.cuda()
else:
return torch_var
| 21.875 | 42 | 0.691429 | 27 | 175 | 4.222222 | 0.555556 | 0.210526 | 0.245614 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.234286 | 175 | 7 | 43 | 25 | 0.850746 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.166667 | 0 | 0.666667 | 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 | 1 | 0 | 0 | 5 |
079d6bb34ea9df49e0b0d10f3b736c630ea949ac | 182 | py | Python | Group/forms.py | Micha546/TasKing | 2a2d56a6081568d0300635fecfff8aae1fdcce29 | [
"MIT"
] | null | null | null | Group/forms.py | Micha546/TasKing | 2a2d56a6081568d0300635fecfff8aae1fdcce29 | [
"MIT"
] | null | null | null | Group/forms.py | Micha546/TasKing | 2a2d56a6081568d0300635fecfff8aae1fdcce29 | [
"MIT"
] | null | null | null | from .models import Group
from django.forms import ModelForm
class GroupCreationForm(ModelForm):
class Meta:
model = Group
fields = ['name', 'prize', 'about']
| 18.2 | 43 | 0.664835 | 20 | 182 | 6.05 | 0.75 | 0.231405 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.236264 | 182 | 9 | 44 | 20.222222 | 0.870504 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
079df3910b12272a73a698a97136f89cfed08244 | 5,083 | py | Python | ckanext/datastore/tests/test_configure.py | code4sac/ckan | 5354769c480f4ad115bf53ca7450d3f49c837edb | [
"Apache-2.0"
] | 1 | 2017-01-07T09:42:46.000Z | 2017-01-07T09:42:46.000Z | ckanext/datastore/tests/test_configure.py | code4sac/ckan | 5354769c480f4ad115bf53ca7450d3f49c837edb | [
"Apache-2.0"
] | null | null | null | ckanext/datastore/tests/test_configure.py | code4sac/ckan | 5354769c480f4ad115bf53ca7450d3f49c837edb | [
"Apache-2.0"
] | null | null | null | import unittest
import nose.tools
import pyutilib.component.core
import ckan.plugins
import ckanext.datastore.plugin as plugin
class TestConfiguration(unittest.TestCase):
def setUp(self):
self._original_plugin = ckan.plugins.unload('datastore')
pyutilib.component.core.PluginGlobals.singleton_serv... | 42.714286 | 132 | 0.745032 | 688 | 5,083 | 5.034884 | 0.136628 | 0.069284 | 0.083141 | 0.159353 | 0.777425 | 0.773961 | 0.732102 | 0.702656 | 0.627598 | 0.614319 | 0 | 0.000477 | 0.17588 | 5,083 | 118 | 133 | 43.076271 | 0.82645 | 0.020264 | 0 | 0.454545 | 0 | 0 | 0.068598 | 0.057936 | 0 | 0 | 0 | 0 | 0.125 | 1 | 0.159091 | false | 0.113636 | 0.056818 | 0 | 0.238636 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
07d31135e8f7b0129594df0ae1831ccf21601d99 | 428 | py | Python | boatsandjoy_api/bookings/exceptions.py | bertini36/boatsandjoy-api | b22d82eb02947218d924b381160d622ded9e1d98 | [
"MIT"
] | null | null | null | boatsandjoy_api/bookings/exceptions.py | bertini36/boatsandjoy-api | b22d82eb02947218d924b381160d622ded9e1d98 | [
"MIT"
] | 12 | 2021-04-08T21:18:37.000Z | 2022-03-12T00:39:39.000Z | boatsandjoy_api/bookings/exceptions.py | bertini36/boatsandjoy-api | b22d82eb02947218d924b381160d622ded9e1d98 | [
"MIT"
] | null | null | null | from boatsandjoy_api.core.exceptions import BoatsAndJoyException
class BookingsApiException(BoatsAndJoyException):
pass
class BookingInvalidDataError(BookingsApiException):
pass
class NoSlotsSelected(BookingsApiException):
pass
class BookingNotFound(BookingsApiException):
pass
class BookingAlr... | 16.461538 | 64 | 0.817757 | 31 | 428 | 11.258065 | 0.483871 | 0.12894 | 0.332378 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135514 | 428 | 25 | 65 | 17.12 | 0.943243 | 0 | 0 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.461538 | 0.076923 | 0 | 0.538462 | 0 | 0 | 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 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
07d4c9f69214a850d1846da274b8dae05b23a662 | 19,671 | py | Python | tweetf0rm/twitterapi/twitter_api.py | amaurywalbert/mytweetf0rm | 2272b53214b3669eb104762f5b5b38ff4adda435 | [
"MIT"
] | null | null | null | tweetf0rm/twitterapi/twitter_api.py | amaurywalbert/mytweetf0rm | 2272b53214b3669eb104762f5b5b38ff4adda435 | [
"MIT"
] | null | null | null | tweetf0rm/twitterapi/twitter_api.py | amaurywalbert/mytweetf0rm | 2272b53214b3669eb104762f5b5b38ff4adda435 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
'''
Users.py: all user related farming; friends, followers, user objects; etc.
You can use this raw class, but normally you will use a script in the scripts folder
'''
import logging
logger = logging.getLogger(__name__)
import twython
import json, os, time
from tweetf0rm... | 32.839733 | 170 | 0.656652 | 2,824 | 19,671 | 4.348088 | 0.081799 | 0.044385 | 0.065478 | 0.042186 | 0.751527 | 0.748269 | 0.73532 | 0.709423 | 0.703315 | 0.694601 | 0 | 0.012775 | 0.172284 | 19,671 | 599 | 171 | 32.839733 | 0.741371 | 0.096792 | 0 | 0.638404 | 0 | 0 | 0.125951 | 0.006828 | 0 | 0 | 0 | 0 | 0 | 1 | 0.034913 | false | 0 | 0.014963 | 0 | 0.057357 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
ed07f30d7be849a2150e77b0f2a17de61475528d | 8,502 | py | Python | scale/ingest/test/triggers/configuration/test_ingest_trigger_rule.py | stevevarner/scale | 9623b261db4ddcf770f00df16afc91176142bb7c | [
"Apache-2.0"
] | null | null | null | scale/ingest/test/triggers/configuration/test_ingest_trigger_rule.py | stevevarner/scale | 9623b261db4ddcf770f00df16afc91176142bb7c | [
"Apache-2.0"
] | null | null | null | scale/ingest/test/triggers/configuration/test_ingest_trigger_rule.py | stevevarner/scale | 9623b261db4ddcf770f00df16afc91176142bb7c | [
"Apache-2.0"
] | null | null | null | from __future__ import unicode_literals
import json
import django
from django.test import TestCase
from ingest.triggers.configuration.ingest_trigger_rule import IngestTriggerRuleConfiguration
from ingest.triggers.ingest_trigger_handler import INGEST_TYPE
from job.configuration.data.exceptions import InvalidConnectio... | 58.232877 | 276 | 0.705834 | 970 | 8,502 | 5.893814 | 0.093814 | 0.04163 | 0.029736 | 0.036733 | 0.79972 | 0.782228 | 0.774707 | 0.774707 | 0.714536 | 0.706315 | 0 | 0.004364 | 0.137615 | 8,502 | 145 | 277 | 58.634483 | 0.775368 | 0.120207 | 0 | 0.554217 | 0 | 0.192771 | 0.402344 | 0.024246 | 0 | 0 | 0 | 0 | 0.108434 | 1 | 0.180723 | false | 0 | 0.144578 | 0 | 0.373494 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
ed404915ea1acc4c300e9c25e734ee794ad553f9 | 93 | py | Python | services/email/app/schemas.py | Counter0021/Anti-Freelancer-microservices-back-end | e55481e0a4353107036cd5ba664fee57e29c7597 | [
"MIT"
] | null | null | null | services/email/app/schemas.py | Counter0021/Anti-Freelancer-microservices-back-end | e55481e0a4353107036cd5ba664fee57e29c7597 | [
"MIT"
] | null | null | null | services/email/app/schemas.py | Counter0021/Anti-Freelancer-microservices-back-end | e55481e0a4353107036cd5ba664fee57e29c7597 | [
"MIT"
] | null | null | null | from pydantic import BaseModel
class Message(BaseModel):
""" Message """
msg: str
| 11.625 | 30 | 0.655914 | 10 | 93 | 6.1 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.236559 | 93 | 7 | 31 | 13.285714 | 0.859155 | 0.075269 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
ed45a05b083f7c430cc602d0e5fdd38463628a28 | 36 | py | Python | helloworld/__init__.py | Julian-Nash/python-package-guide | 3869691dca0ea66bedf7bb4eaae32e7be00cfa1a | [
"MIT"
] | null | null | null | helloworld/__init__.py | Julian-Nash/python-package-guide | 3869691dca0ea66bedf7bb4eaae32e7be00cfa1a | [
"MIT"
] | null | null | null | helloworld/__init__.py | Julian-Nash/python-package-guide | 3869691dca0ea66bedf7bb4eaae32e7be00cfa1a | [
"MIT"
] | null | null | null | from .hello_world import HelloWorld
| 18 | 35 | 0.861111 | 5 | 36 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
ed4e3f3c0970c0e6f18ca6ee633b5bd0fc0a19a8 | 20,072 | py | Python | tests/users/test_challenges.py | 99Kies/CTFd_python3 | c5fb601d5c7b8347224d5c9e4f7b05cf8852ae57 | [
"Apache-2.0"
] | null | null | null | tests/users/test_challenges.py | 99Kies/CTFd_python3 | c5fb601d5c7b8347224d5c9e4f7b05cf8852ae57 | [
"Apache-2.0"
] | null | null | null | tests/users/test_challenges.py | 99Kies/CTFd_python3 | c5fb601d5c7b8347224d5c9e4f7b05cf8852ae57 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from CTFd.models import Solves, Fails, Challenges
from CTFd.utils import set_config, text_type
from tests.helpers import (
create_ctfd,
destroy_ctfd,
register_user,
login_as_user,
gen_challenge,
gen_flag,
gen_hint,
)
from freezegun import freeze... | 33.122112 | 118 | 0.590175 | 2,604 | 20,072 | 4.381336 | 0.090246 | 0.036199 | 0.056534 | 0.059602 | 0.801297 | 0.766412 | 0.727846 | 0.686476 | 0.659392 | 0.641599 | 0 | 0.026968 | 0.27212 | 20,072 | 605 | 119 | 33.17686 | 0.753867 | 0.164757 | 0 | 0.736973 | 0 | 0 | 0.154231 | 0.041438 | 0 | 0 | 0 | 0 | 0.258065 | 1 | 0.047146 | false | 0 | 0.009926 | 0 | 0.057072 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
ed733ef30f613fe2b2c7dea92f826be87c1458de | 296 | py | Python | dss/util/version.py | HumanCellAtlas/data-store | 6b27d0f7e0110c62b3079151708689ab5145f15b | [
"MIT"
] | 46 | 2017-03-24T15:56:09.000Z | 2021-03-15T19:49:07.000Z | dss/util/version.py | HumanCellAtlas/DCC | 6b27d0f7e0110c62b3079151708689ab5145f15b | [
"MIT"
] | 1,799 | 2017-04-04T17:54:28.000Z | 2020-11-19T12:30:13.000Z | dss/util/version.py | HumanCellAtlas/DCC | 6b27d0f7e0110c62b3079151708689ab5145f15b | [
"MIT"
] | 13 | 2017-03-27T23:49:35.000Z | 2021-01-18T07:39:49.000Z | import datetime
_datetime_format = "%Y-%m-%dT%H%M%S.%fZ"
def datetime_to_version_format(timestamp: datetime.datetime) -> str:
return timestamp.strftime(_datetime_format)
def datetime_from_timestamp(ts: str) -> datetime.datetime:
return datetime.datetime.strptime(ts, _datetime_format)
| 29.6 | 68 | 0.777027 | 40 | 296 | 5.475 | 0.475 | 0.292237 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10473 | 296 | 9 | 69 | 32.888889 | 0.826415 | 0 | 0 | 0 | 0 | 0 | 0.064189 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.333333 | 0.833333 | 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 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
ed82d41f2633d9c614b99beec1853987e3533c07 | 43 | py | Python | src/ipaparser/features.py | danmysak/ipa-parser | bb4f5fc1a8f95ef87793d2ffd79430a9a0ffbeaf | [
"MIT"
] | null | null | null | src/ipaparser/features.py | danmysak/ipa-parser | bb4f5fc1a8f95ef87793d2ffd79430a9a0ffbeaf | [
"MIT"
] | null | null | null | src/ipaparser/features.py | danmysak/ipa-parser | bb4f5fc1a8f95ef87793d2ffd79430a9a0ffbeaf | [
"MIT"
] | null | null | null | from ._code.features import * # noqa:F401
| 21.5 | 42 | 0.72093 | 6 | 43 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 0.162791 | 43 | 1 | 43 | 43 | 0.75 | 0.209302 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
ed8881089d81eeb508355b6eebd5dcf59bb76192 | 56 | py | Python | encoding/dilated/__init__.py | youansheng/PyTorch-Encoding | dc501d28d478dbf668186f721c8600387c32859c | [
"MIT"
] | 51 | 2019-11-14T01:48:24.000Z | 2021-11-09T02:42:22.000Z | encoding/dilated/__init__.py | youansheng/PyTorch-Encoding | dc501d28d478dbf668186f721c8600387c32859c | [
"MIT"
] | 4 | 2019-11-15T10:14:10.000Z | 2020-03-17T12:14:50.000Z | encoding/dilated/__init__.py | youansheng/PyTorch-Encoding | dc501d28d478dbf668186f721c8600387c32859c | [
"MIT"
] | 9 | 2019-11-14T12:39:03.000Z | 2020-03-03T08:27:19.000Z | """Dilated ResNet and DenseNet"""
from .resnet import *
| 18.666667 | 33 | 0.714286 | 7 | 56 | 5.714286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 56 | 2 | 34 | 28 | 0.833333 | 0.482143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
ed89a4ccf434d556dbe21e7f660ca735bce37d24 | 6,173 | py | Python | HW 2/Solution/Bonus.py | HasanIjaz-HB/CS411-Cryptography | 360625c9c6fc894fe6cb4633cb6839abb87507dc | [
"MIT"
] | null | null | null | HW 2/Solution/Bonus.py | HasanIjaz-HB/CS411-Cryptography | 360625c9c6fc894fe6cb4633cb6839abb87507dc | [
"MIT"
] | null | null | null | HW 2/Solution/Bonus.py | HasanIjaz-HB/CS411-Cryptography | 360625c9c6fc894fe6cb4633cb6839abb87507dc | [
"MIT"
] | null | null | null | import binascii
import random
import lfsr
# Takes a text and converts it to binary using ASCII encoding
def ASCII2bin(msg):
M_i = []
Mlen = len(msg)
for i in range(0,Mlen):
ascii_no = ord(msg[i])
ascii_bin = bin(ascii_no)
char_len = len(ascii_bin)
if(char_len<9):
... | 38.823899 | 2,864 | 0.394622 | 1,516 | 6,173 | 1.596966 | 0.063325 | 0.224701 | 0.169765 | 0.118959 | 0.54936 | 0.48575 | 0.464684 | 0.464684 | 0.451879 | 0.451466 | 0 | 0.276825 | 0.367406 | 6,173 | 158 | 2,865 | 39.06962 | 0.34315 | 0.024461 | 0 | 0.174242 | 0 | 0 | 0.001995 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.075758 | false | 0 | 0.030303 | 0.007576 | 0.181818 | 0.037879 | 0 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
71ef46ae4132f9e5b56ce127af6f59762d724a62 | 5,503 | py | Python | thirdpart/weworkapi/CorpApi.py | gzy403999903/seahub | 992e5852579a6d9e0cfdaf18c77ce0191cb64449 | [
"Apache-2.0"
] | null | null | null | thirdpart/weworkapi/CorpApi.py | gzy403999903/seahub | 992e5852579a6d9e0cfdaf18c77ce0191cb64449 | [
"Apache-2.0"
] | 6 | 2019-12-13T09:55:45.000Z | 2022-03-11T23:47:29.000Z | thirdpart/weworkapi/CorpApi.py | gzy403999903/seahub | 992e5852579a6d9e0cfdaf18c77ce0191cb64449 | [
"Apache-2.0"
] | 1 | 2019-05-16T06:58:16.000Z | 2019-05-16T06:58:16.000Z | #!/usr/bin/env python
# -*- coding:utf-8 -*-
##
# Copyright (C) 2018 All rights reserved.
#
# @File CorpApi.py
# @Brief
# @Author abelzhu, abelzhu@tencent.com
# @Version 1.0
# @Date 2018-02-24
#
#
from .AbstractApi import *
CORP_API_TYPE = {
'GET_ACCESS_TOKEN' : ['/cgi-bin/gettoken', 'GET'],
... | 52.409524 | 117 | 0.644739 | 675 | 5,503 | 4.96 | 0.173333 | 0.338411 | 0.243728 | 0.315412 | 0.53853 | 0.496416 | 0.150836 | 0.050777 | 0 | 0 | 0 | 0.003567 | 0.184808 | 5,503 | 104 | 118 | 52.913462 | 0.742755 | 0.032891 | 0 | 0 | 0 | 0 | 0.638522 | 0.483415 | 0 | 0 | 0 | 0.009615 | 0 | 1 | 0.041667 | false | 0 | 0.013889 | 0 | 0.083333 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
71f9f3634ab6431ff2ea9be16dc1fcf8e0b0de3e | 57 | py | Python | cpgames/modules/core/greedysnake/__init__.py | Wasabii88/Games | 33262ca1958207a24e57e3532feded7e275b1dd1 | [
"MIT"
] | 1 | 2022-02-27T10:33:41.000Z | 2022-02-27T10:33:41.000Z | cpgames/modules/core/greedysnake/__init__.py | beiwei365/Games | f6499f378802d3212a08aeca761191b58714b7f0 | [
"MIT"
] | null | null | null | cpgames/modules/core/greedysnake/__init__.py | beiwei365/Games | f6499f378802d3212a08aeca761191b58714b7f0 | [
"MIT"
] | null | null | null | '''initialize'''
from .greedysnake import GreedySnakeGame | 28.5 | 40 | 0.807018 | 5 | 57 | 9.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070175 | 57 | 2 | 40 | 28.5 | 0.867925 | 0.175439 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
9c692280fb20f129e2b3f94689222dcd635e3c15 | 44 | py | Python | forms-flow-data-analysis-api/tests/unit/services/__init__.py | sreehari-aot/forms-flow-ai | 11e2fdd6da792aaa9dd46c0cec38564fe5916b58 | [
"Apache-2.0"
] | null | null | null | forms-flow-data-analysis-api/tests/unit/services/__init__.py | sreehari-aot/forms-flow-ai | 11e2fdd6da792aaa9dd46c0cec38564fe5916b58 | [
"Apache-2.0"
] | null | null | null | forms-flow-data-analysis-api/tests/unit/services/__init__.py | sreehari-aot/forms-flow-ai | 11e2fdd6da792aaa9dd46c0cec38564fe5916b58 | [
"Apache-2.0"
] | null | null | null | """Test-Suite for all the Service Layer."""
| 22 | 43 | 0.681818 | 7 | 44 | 4.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 44 | 1 | 44 | 44 | 0.789474 | 0.840909 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
9c6c035319592383044ef9ac442980a86276cd97 | 190 | py | Python | imgtotext.py | ankit0305/imgtotext | fa109638bb8d1ce2bf7500d9f64aeba5d635ff80 | [
"MIT"
] | null | null | null | imgtotext.py | ankit0305/imgtotext | fa109638bb8d1ce2bf7500d9f64aeba5d635ff80 | [
"MIT"
] | null | null | null | imgtotext.py | ankit0305/imgtotext | fa109638bb8d1ce2bf7500d9f64aeba5d635ff80 | [
"MIT"
] | null | null | null | import pytesseract
pytesseract.pytesseract.tesseract_cmd = r'C:\Program Files\Tesseract-OCR\tesseract'
print(pytesseract.image_to_string(r'C:\Users\jaisw\Downloads\Life-Quotes-Dolly.jpg'))
| 38 | 85 | 0.826316 | 27 | 190 | 5.703704 | 0.740741 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042105 | 190 | 4 | 86 | 47.5 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0.455026 | 0.396825 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
9c7ea36f7b0789693ce651c93eb8c2aa040b5f38 | 715 | py | Python | loader/__init__.py | MikeLagunes/Supervised-Triplet-Network | 575bcaf8f17affb0ff0e93212dde0f3f634c196f | [
"MIT"
] | 6 | 2019-07-07T08:48:03.000Z | 2021-07-29T06:32:01.000Z | loader/__init__.py | MikeLagunes/Supervised-Triplet-Network | 575bcaf8f17affb0ff0e93212dde0f3f634c196f | [
"MIT"
] | 1 | 2019-03-11T03:28:36.000Z | 2019-03-13T12:45:59.000Z | loader/__init__.py | MikeLagunes/Supervised-Triplet-Network | 575bcaf8f17affb0ff0e93212dde0f3f634c196f | [
"MIT"
] | 1 | 2022-02-09T12:48:09.000Z | 2022-02-09T12:48:09.000Z | import json
from loader.cnn_core50 import cnn_core50
from loader.triplet_resnet_core50 import triplet_resnet_core50
from loader.triplet_resnet_core50_softmax import triplet_resnet_core50_softmax
def get_loader(name):
"""get_loader
:param name:
"""
return {
'cnn_core50':cnn_core50,
... | 22.34375 | 78 | 0.718881 | 94 | 715 | 5.074468 | 0.212766 | 0.218029 | 0.318658 | 0.218029 | 0.438155 | 0.438155 | 0.291405 | 0.159329 | 0.159329 | 0 | 0 | 0.040956 | 0.18042 | 715 | 31 | 79 | 23.064516 | 0.773038 | 0.177622 | 0 | 0 | 0 | 0 | 0.144144 | 0.09009 | 0 | 0 | 0 | 0 | 0 | 1 | 0.153846 | false | 0 | 0.307692 | 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 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
92f963de627e8c9b11ebad52ab7eb9f4681ac04b | 312 | py | Python | paths.py | tahirs95/pepys-import | 05f070e97dd2f3f84b71faa3578e03398e28ca15 | [
"Apache-2.0"
] | null | null | null | paths.py | tahirs95/pepys-import | 05f070e97dd2f3f84b71faa3578e03398e28ca15 | [
"Apache-2.0"
] | null | null | null | paths.py | tahirs95/pepys-import | 05f070e97dd2f3f84b71faa3578e03398e28ca15 | [
"Apache-2.0"
] | null | null | null | import os
ROOT_DIRECTORY = os.path.dirname(__file__)
IMPORTERS_DIRECTORY = os.path.join(ROOT_DIRECTORY, "importers")
PEPYS_ADMIN_DIRECTORY = os.path.join(ROOT_DIRECTORY, "pepys_admin")
PEPYS_IMPORT_DIRECTORY = os.path.join(ROOT_DIRECTORY, "pepys_import")
TESTS_DIRECTORY = os.path.join(ROOT_DIRECTORY, "tests")
| 39 | 69 | 0.810897 | 44 | 312 | 5.363636 | 0.272727 | 0.275424 | 0.317797 | 0.322034 | 0.584746 | 0.584746 | 0.313559 | 0 | 0 | 0 | 0 | 0 | 0.070513 | 312 | 7 | 70 | 44.571429 | 0.813793 | 0 | 0 | 0 | 0 | 0 | 0.11859 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
92fa792b5312bfaa2a55bb4aaa9651c7e6d82b3c | 4,428 | py | Python | petalisp/ndarray.py | marcoheisig/petalisp-for-python | 6e388d8bbd3dd2b22650a232064b0783bc6048e7 | [
"MIT"
] | 7 | 2019-12-21T07:26:47.000Z | 2021-09-28T19:11:23.000Z | petalisp/ndarray.py | marcoheisig/petalisp-for-python | 6e388d8bbd3dd2b22650a232064b0783bc6048e7 | [
"MIT"
] | null | null | null | petalisp/ndarray.py | marcoheisig/petalisp-for-python | 6e388d8bbd3dd2b22650a232064b0783bc6048e7 | [
"MIT"
] | null | null | null | import numpy
import cl4py
lisp = cl4py.Lisp(quicklisp=True)
cl = lisp.function('find-package')('CL')
ql = cl.find_package('QL')
ql.quickload('PETALISP')
petalisp = cl.find_package('PETALISP')
class ndarray (cl4py.data.LispWrapper):
@property
def shape(self):
expr = ('cl:mapcar', ('cl:function', 'petal... | 24.876404 | 113 | 0.63121 | 577 | 4,428 | 4.528596 | 0.218371 | 0.203215 | 0.179104 | 0.267891 | 0.466896 | 0.363567 | 0.11328 | 0.091848 | 0.05664 | 0 | 0 | 0.00238 | 0.240967 | 4,428 | 177 | 114 | 25.016949 | 0.775067 | 0.020099 | 0 | 0.058824 | 0 | 0 | 0.046136 | 0.009689 | 0 | 0 | 0 | 0.00565 | 0 | 1 | 0.428571 | false | 0 | 0.016807 | 0.361345 | 0.865546 | 0.008403 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
132720a2118c060b97280b6542a50325804cdaf1 | 2,895 | py | Python | care/facility/models/summary.py | gigincg/care | 07be6a7982b5c46a854e3435a52662f32800c8ae | [
"MIT"
] | 189 | 2020-03-17T17:18:58.000Z | 2022-02-22T09:49:45.000Z | care/facility/models/summary.py | gigincg/care | 07be6a7982b5c46a854e3435a52662f32800c8ae | [
"MIT"
] | 598 | 2020-03-19T21:22:09.000Z | 2022-03-30T05:08:37.000Z | care/facility/models/summary.py | gigincg/care | 07be6a7982b5c46a854e3435a52662f32800c8ae | [
"MIT"
] | 159 | 2020-03-19T18:45:56.000Z | 2022-03-17T13:23:12.000Z | from uuid import uuid4
from django.contrib.postgres.fields import JSONField
from django.db import models
from care.facility.models.facility import Facility
from care.users.models import District, LocalBody
SUMMARY_CHOICES = (
("FacilityCapacity", "FacilityCapacity"),
("PatientSummary", "PatientSummary"),
... | 38.092105 | 87 | 0.689119 | 337 | 2,895 | 5.756677 | 0.175074 | 0.061856 | 0.080412 | 0.105155 | 0.752062 | 0.703608 | 0.703608 | 0.703608 | 0.703608 | 0.703608 | 0 | 0.005448 | 0.17582 | 2,895 | 75 | 88 | 38.6 | 0.807628 | 0 | 0 | 0.508475 | 0 | 0 | 0.110535 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.084746 | 0 | 0.491525 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
1329731d9b38f2fe53b6d5eebecad119c18c1f75 | 1,357 | py | Python | packages/legacycomponents/mcstas2/tests/mcstas2/components/sources/Source_simple_TestCase.py | mcvine/mcvine | 42232534b0c6af729628009bed165cd7d833789d | [
"BSD-3-Clause"
] | 5 | 2017-01-16T03:59:47.000Z | 2020-06-23T02:54:19.000Z | packages/legacycomponents/mcstas2/tests/mcstas2/components/sources/Source_simple_TestCase.py | mcvine/mcvine | 42232534b0c6af729628009bed165cd7d833789d | [
"BSD-3-Clause"
] | 293 | 2015-10-29T17:45:52.000Z | 2022-01-07T16:31:09.000Z | packages/legacycomponents/mcstas2/tests/mcstas2/components/sources/Source_simple_TestCase.py | mcvine/mcvine | 42232534b0c6af729628009bed165cd7d833789d | [
"BSD-3-Clause"
] | 1 | 2019-05-25T00:53:31.000Z | 2019-05-25T00:53:31.000Z | #!/usr/bin/env python
#
# Jiao Lin <jiao.lin@gmail.com>
#
import numpy as np, unittest
from mcni.utils import conversion
componentname = 'Source_simple'
category = 'sources'
class TestCase(unittest.TestCase):
def test(self):
"wrap Source_simple"
from mcstas2 import componentfactory
fact... | 26.607843 | 61 | 0.613854 | 156 | 1,357 | 5.25641 | 0.416667 | 0.053659 | 0.034146 | 0.04878 | 0.726829 | 0.726829 | 0.726829 | 0.726829 | 0.726829 | 0.726829 | 0 | 0.033195 | 0.289609 | 1,357 | 50 | 62 | 27.14 | 0.817427 | 0.085483 | 0 | 0.685714 | 0 | 0 | 0.064465 | 0 | 0 | 0 | 0 | 0 | 0.057143 | 1 | 0.057143 | false | 0.028571 | 0.171429 | 0 | 0.314286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
13582ad5c961c78d59f1cc8ba8ba3e4f08bb09c7 | 64 | py | Python | contents/tts/content/TensorflowTTS/tensorflow_tts/processor/__init__.py | PIN-devel/inside-kids | 554e4a0a5654c9a0f5237b904bb2ca6db88a55cb | [
"MIT"
] | 2 | 2020-06-01T07:39:25.000Z | 2021-11-08T09:31:33.000Z | contents/tts/content/TensorflowTTS/tensorflow_tts/processor/__init__.py | PIN-devel/inside-kids | 554e4a0a5654c9a0f5237b904bb2ca6db88a55cb | [
"MIT"
] | 1 | 2021-02-26T04:10:19.000Z | 2021-02-26T04:10:19.000Z | contents/tts/content/TensorflowTTS/tensorflow_tts/processor/__init__.py | PIN-devel/inside-kids | 554e4a0a5654c9a0f5237b904bb2ca6db88a55cb | [
"MIT"
] | 4 | 2021-04-14T03:06:58.000Z | 2022-03-07T05:45:01.000Z | from tensorflow_tts.processor.ljspeech import LJSpeechProcessor
| 32 | 63 | 0.90625 | 7 | 64 | 8.142857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 64 | 1 | 64 | 64 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
135a4d7b84f051f6e4bed428fc339745a50d1df6 | 710 | py | Python | src/compas/datastructures/network/__init__.py | funkchaser/compas | b58de8771484aa0c6068d43df78b1679503215de | [
"MIT"
] | 235 | 2017-11-07T07:33:22.000Z | 2022-03-25T16:20:00.000Z | src/compas/datastructures/network/__init__.py | funkchaser/compas | b58de8771484aa0c6068d43df78b1679503215de | [
"MIT"
] | 770 | 2017-09-22T13:42:06.000Z | 2022-03-31T21:26:45.000Z | src/compas/datastructures/network/__init__.py | funkchaser/compas | b58de8771484aa0c6068d43df78b1679503215de | [
"MIT"
] | 99 | 2017-11-06T23:15:28.000Z | 2022-03-25T16:05:36.000Z | from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import compas
from .operations import * # noqa: F401 F403
if not compas.IPY:
from .matrices import * # noqa: F401 F403
from .network import * # noqa: F401 F403
from .combinatorics import * # noqa: F... | 28.4 | 62 | 0.728169 | 96 | 710 | 5.1875 | 0.322917 | 0.220884 | 0.309237 | 0.39759 | 0.39759 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115183 | 0.192958 | 710 | 24 | 63 | 29.583333 | 0.753927 | 0.246479 | 0 | 0 | 0 | 0 | 0.001912 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.882353 | 0 | 0.882353 | 0.058824 | 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 | 1 | 0 | 0 | 5 |
135e0f4c3445eed86e69f6d867d96e64d30149f5 | 361 | py | Python | src/lib/pythonds3/basic/__init__.py | bjones1/skulpt | 4ebbc47ab9a787c167ce8fadc457609ec9041788 | [
"MIT"
] | 6 | 2017-03-15T07:30:56.000Z | 2020-09-12T03:27:15.000Z | src/lib/pythonds3/basic/__init__.py | bjones1/skulpt | 4ebbc47ab9a787c167ce8fadc457609ec9041788 | [
"MIT"
] | 2 | 2017-08-18T15:31:18.000Z | 2021-07-30T20:49:12.000Z | src/lib/pythonds3/basic/__init__.py | bjones1/skulpt | 4ebbc47ab9a787c167ce8fadc457609ec9041788 | [
"MIT"
] | 13 | 2017-07-02T03:16:46.000Z | 2021-07-05T14:53:56.000Z | #!/usr/bin/env python3
"""
pythonds3.basic import statement
"""
from pythonds3.basic.stack import Stack
from pythonds3.basic.queue import Queue
from pythonds3.basic.deque import Deque
from pythonds3.basic.linked_list import OrderedList
from pythonds3.basic.linked_list import UnorderedList
__all__ = ["Stack", "Queue", ... | 30.083333 | 69 | 0.795014 | 46 | 361 | 6.108696 | 0.369565 | 0.298932 | 0.320285 | 0.170819 | 0.241993 | 0.241993 | 0 | 0 | 0 | 0 | 0 | 0.021472 | 0.096953 | 361 | 11 | 70 | 32.818182 | 0.840491 | 0.149584 | 0 | 0 | 0 | 0 | 0.130435 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.833333 | 0 | 0.833333 | 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 | 1 | 0 | 0 | 5 |
13808be9dd3ae7b01772538e168c82f96b7cb62c | 27 | py | Python | python/testData/codeInsight/liveTemplates/context/inParameterList.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2018-12-29T09:53:39.000Z | 2018-12-29T09:53:42.000Z | python/testData/codeInsight/liveTemplates/context/inParameterList.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/codeInsight/liveTemplates/context/inParameterList.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | def foo(a, <caret>):
pass | 13.5 | 20 | 0.592593 | 5 | 27 | 3.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185185 | 27 | 2 | 21 | 13.5 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.5 | 0 | null | null | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
1399afe8ebcdf4a7c845737765566f408e182cad | 8,866 | py | Python | test/test_config.py | jwodder/daemail | 5e6c68742e08180255c60fa7fbe5e88ccaa55d9a | [
"MIT"
] | 2 | 2016-04-30T02:32:12.000Z | 2020-09-10T10:54:55.000Z | test/test_config.py | jwodder/daemail | 5e6c68742e08180255c60fa7fbe5e88ccaa55d9a | [
"MIT"
] | null | null | null | test/test_config.py | jwodder/daemail | 5e6c68742e08180255c60fa7fbe5e88ccaa55d9a | [
"MIT"
] | 1 | 2017-06-11T16:55:41.000Z | 2017-06-11T16:55:41.000Z | import locale
from pathlib import Path
from unittest.mock import MagicMock
from click.testing import CliRunner
from outgoing import get_default_configpath
import pytest
from pytest_mock import MockerFixture
from daemail.__main__ import main
@pytest.fixture
def capture_cfg(mocker: MockerFixture) -> MagicMock:
retu... | 26.230769 | 80 | 0.551771 | 968 | 8,866 | 4.858471 | 0.128099 | 0.082926 | 0.059536 | 0.068042 | 0.781629 | 0.775462 | 0.747821 | 0.742717 | 0.736976 | 0.714012 | 0 | 0.010157 | 0.311527 | 8,866 | 337 | 81 | 26.308605 | 0.760321 | 0 | 0 | 0.654485 | 0 | 0 | 0.162193 | 0.018159 | 0 | 0 | 0 | 0 | 0.189369 | 1 | 0.059801 | false | 0 | 0.026578 | 0.003322 | 0.089701 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
13b7d58bf8841c630461c13cceb3f4139a5a7462 | 15,582 | py | Python | ironic/tests/unit/drivers/modules/oneview/test_power.py | naototty/ironic-vagrant-wk | f5605d13e67c71c46538bafa5f7ddc18fb7427a6 | [
"Apache-2.0"
] | null | null | null | ironic/tests/unit/drivers/modules/oneview/test_power.py | naototty/ironic-vagrant-wk | f5605d13e67c71c46538bafa5f7ddc18fb7427a6 | [
"Apache-2.0"
] | null | null | null | ironic/tests/unit/drivers/modules/oneview/test_power.py | naototty/ironic-vagrant-wk | f5605d13e67c71c46538bafa5f7ddc18fb7427a6 | [
"Apache-2.0"
] | null | null | null | # Copyright (2015-2017) Hewlett Packard Enterprise Development LP
# Copyright (2015-2017) Universidade Federal de Campina Grande
#
# 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
#
# ... | 49.154574 | 79 | 0.684764 | 1,942 | 15,582 | 5.170958 | 0.098352 | 0.086437 | 0.051783 | 0.044812 | 0.797949 | 0.77385 | 0.750448 | 0.738897 | 0.732723 | 0.716391 | 0 | 0.003576 | 0.228276 | 15,582 | 316 | 80 | 49.310127 | 0.831518 | 0.043255 | 0 | 0.669118 | 0 | 0 | 0.066474 | 0.005372 | 0 | 0 | 0 | 0 | 0.125 | 1 | 0.084559 | false | 0.003676 | 0.058824 | 0 | 0.147059 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
13b80ffc7478bba3dbd40dc063c4dcbc49517d84 | 102 | py | Python | Assignments/Functions/Alphabetically first/code.py | Axelm-HR/HR | 01e17d0f1164719efdceef4cfb9d7c00b94c151a | [
"MIT"
] | null | null | null | Assignments/Functions/Alphabetically first/code.py | Axelm-HR/HR | 01e17d0f1164719efdceef4cfb9d7c00b94c151a | [
"MIT"
] | null | null | null | Assignments/Functions/Alphabetically first/code.py | Axelm-HR/HR | 01e17d0f1164719efdceef4cfb9d7c00b94c151a | [
"MIT"
] | null | null | null | def alphabetically_first(s1, s2):
sorted_list = sorted(list([s1, s2]))
return sorted_list[0]
| 20.4 | 40 | 0.686275 | 15 | 102 | 4.466667 | 0.6 | 0.447761 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059524 | 0.176471 | 102 | 4 | 41 | 25.5 | 0.738095 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
13d2d1a8baefe580878726d0349f39cf1c82f3ac | 232 | py | Python | chap09/list0918.py | ytianjin/GitTest | a657f46098728ad90f7140fadad356e8561c9a7a | [
"MIT"
] | null | null | null | chap09/list0918.py | ytianjin/GitTest | a657f46098728ad90f7140fadad356e8561c9a7a | [
"MIT"
] | null | null | null | chap09/list0918.py | ytianjin/GitTest | a657f46098728ad90f7140fadad356e8561c9a7a | [
"MIT"
] | null | null | null | # 打印输出可变参数的信息
def print_args(*args):
"""打印输出接收可变参数的args的信息"""
print('type(args) = ', type(args))
print('len(args) = ', len(args))
print('args = ', args)
print_args()
print()
print_args(1, 2, 3)
| 19.333333 | 39 | 0.547414 | 27 | 232 | 4.592593 | 0.37037 | 0.290323 | 0.209677 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017442 | 0.258621 | 232 | 11 | 40 | 21.090909 | 0.703488 | 0.133621 | 0 | 0 | 0 | 0 | 0.211957 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | true | 0 | 0 | 0 | 0.142857 | 1 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
13d4dcd7f90491238154c65aee118986d061e08c | 102 | py | Python | repo2docker/buildpacks/julia/__init__.py | davidjsherman/repo2docker | 4da2e1e71565b26a4bf1d0f0d26ae7c2373a1fd7 | [
"BSD-3-Clause"
] | 1,047 | 2017-05-25T03:37:21.000Z | 2020-08-09T19:36:56.000Z | repo2docker/buildpacks/julia/__init__.py | davidjsherman/repo2docker | 4da2e1e71565b26a4bf1d0f0d26ae7c2373a1fd7 | [
"BSD-3-Clause"
] | 810 | 2017-05-24T20:50:49.000Z | 2020-08-05T15:56:38.000Z | repo2docker/buildpacks/julia/__init__.py | davidjsherman/repo2docker | 4da2e1e71565b26a4bf1d0f0d26ae7c2373a1fd7 | [
"BSD-3-Clause"
] | 253 | 2017-06-02T20:23:05.000Z | 2020-08-04T17:23:22.000Z | from .julia_project import JuliaProjectTomlBuildPack
from .julia_require import JuliaRequireBuildPack
| 34 | 52 | 0.901961 | 10 | 102 | 9 | 0.7 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078431 | 102 | 2 | 53 | 51 | 0.957447 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
b9b2b33b3fe9b5b1afa43dbd9c26a101366a1e79 | 41 | py | Python | monk/gluon/optimizers/imports.py | take2rohit/monk_v1 | 9c567bf2c8b571021b120d879ba9edf7751b9f92 | [
"Apache-2.0"
] | 542 | 2019-11-10T12:09:31.000Z | 2022-03-28T11:39:07.000Z | monk/gluon/optimizers/imports.py | take2rohit/monk_v1 | 9c567bf2c8b571021b120d879ba9edf7751b9f92 | [
"Apache-2.0"
] | 117 | 2019-11-12T09:39:24.000Z | 2022-03-12T00:20:41.000Z | monk/gluon/optimizers/imports.py | take2rohit/monk_v1 | 9c567bf2c8b571021b120d879ba9edf7751b9f92 | [
"Apache-2.0"
] | 246 | 2019-11-09T21:53:24.000Z | 2022-03-29T00:57:07.000Z | import os
import sys
import mxnet as mx
| 8.2 | 18 | 0.780488 | 8 | 41 | 4 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.219512 | 41 | 4 | 19 | 10.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
b9beaf4c00555b60109ab553c53eae32a3cfbeb9 | 205 | py | Python | dni/monoids/__init__.py | ixaxaar/pytorch-dni | dbc20de6ca1440630f74ed0de29c28cea05d949d | [
"MIT"
] | 9 | 2018-02-04T21:15:41.000Z | 2021-04-26T18:59:25.000Z | dni/monoids/__init__.py | ixaxaar/pytorch-dni | dbc20de6ca1440630f74ed0de29c28cea05d949d | [
"MIT"
] | 9 | 2018-01-19T19:49:08.000Z | 2020-06-08T18:47:56.000Z | dni/monoids/__init__.py | ixaxaar/pytorch-dni | dbc20de6ca1440630f74ed0de29c28cea05d949d | [
"MIT"
] | 3 | 2018-04-23T13:42:12.000Z | 2019-01-24T03:47:51.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
from .monoid import Monoid
from .monoid import sumM
from .monoid import subM
from .monoid import prodM
from .monoid import divM
from .monoid import matmulM
| 18.636364 | 27 | 0.741463 | 31 | 205 | 4.903226 | 0.483871 | 0.394737 | 0.631579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011628 | 0.160976 | 205 | 10 | 28 | 20.5 | 0.872093 | 0.209756 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
b9c5da8079b7c2df9c10afd47ff2aba11956199c | 8,862 | py | Python | lightkurve/tests/test_synthetic_data.py | mariomorvan/lightkurve | e045c1f24befdff9588605a352843d132d23220f | [
"MIT"
] | 9 | 2019-05-29T00:20:26.000Z | 2021-11-16T21:54:36.000Z | lightkurve/tests/test_synthetic_data.py | mariomorvan/lightkurve | e045c1f24befdff9588605a352843d132d23220f | [
"MIT"
] | 1 | 2020-01-29T20:28:02.000Z | 2020-01-29T22:41:45.000Z | lightkurve/tests/test_synthetic_data.py | mariomorvan/lightkurve | e045c1f24befdff9588605a352843d132d23220f | [
"MIT"
] | 2 | 2019-11-04T01:47:35.000Z | 2019-11-12T19:56:58.000Z | """Use synthetic data to verify lightkurve detrending and signal recovery.
"""
from __future__ import division, print_function
from astropy.utils.data import get_pkg_data_filename
import numpy as np
import pytest
from scipy import stats
from ..targetpixelfile import KeplerTargetPixelFile
from ..correctors import SFFC... | 42.401914 | 105 | 0.686301 | 1,281 | 8,862 | 4.530055 | 0.184231 | 0.025849 | 0.018611 | 0.023264 | 0.769774 | 0.760469 | 0.74427 | 0.733758 | 0.69757 | 0.69757 | 0 | 0.023553 | 0.204694 | 8,862 | 208 | 106 | 42.605769 | 0.799801 | 0.177951 | 0 | 0.708955 | 0 | 0 | 0.042642 | 0.019521 | 0 | 0 | 0 | 0 | 0.11194 | 1 | 0.044776 | false | 0 | 0.067164 | 0 | 0.11194 | 0.007463 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6a0ad2a4189f1c2ec1657a271b6dec794a309fa8 | 835 | py | Python | tests/syntax/conftest.py | viabzalov/graph-database | 91b13f653b18170ad5fc563660361f8c41ed6a58 | [
"MIT"
] | null | null | null | tests/syntax/conftest.py | viabzalov/graph-database | 91b13f653b18170ad5fc563660361f8c41ed6a58 | [
"MIT"
] | 2 | 2020-10-04T14:18:11.000Z | 2020-11-27T09:18:50.000Z | tests/syntax/conftest.py | viabzalov/graph-database | 91b13f653b18170ad5fc563660361f8c41ed6a58 | [
"MIT"
] | null | null | null | import pytest
examples = [
"connect to database db_1;"
, "select pairs from g1;"
, "select count from g2 where (((a|b)|(c*))*);"
, "select pairs from intersection of g1 and g2 where ((a*)|(b*));"
, "\
connect to database resources/database_1;\
select pairs from g1;\
select count from g2... | 27.833333 | 70 | 0.617964 | 113 | 835 | 4.504425 | 0.283186 | 0.129666 | 0.176817 | 0.10609 | 0.781925 | 0.781925 | 0.781925 | 0.781925 | 0.781925 | 0.781925 | 0 | 0.029503 | 0.228743 | 835 | 29 | 71 | 28.793103 | 0.76087 | 0 | 0 | 0.5 | 0 | 0 | 0.189222 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038462 | false | 0 | 0.038462 | 0.038462 | 0.115385 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
dbdf3952b562a9463248f2bf0ab78234a5a93db3 | 382 | py | Python | linguistics/similarity/levenshtein.py | idin/mercurius | 48a4ed7843fb5d1946ef8051f23da7b32ab52ca3 | [
"MIT"
] | 7 | 2019-02-24T16:56:46.000Z | 2022-01-30T03:26:49.000Z | linguistics/similarity/levenshtein.py | idin/mercurius | 48a4ed7843fb5d1946ef8051f23da7b32ab52ca3 | [
"MIT"
] | 1 | 2020-07-14T21:00:57.000Z | 2021-02-25T07:12:11.000Z | linguistics/similarity/levenshtein.py | idin/linguistics | ab9568d81b225928beab353174fd97ccb0fe369c | [
"MIT"
] | null | null | null | from editdistance import eval as _get_levenshtein_distance
def get_levenshtein_distance(s1, s2, case_sensitive=True):
if not case_sensitive:
s1 = s1.lower()
s2 = s2.lower()
return _get_levenshtein_distance(s1, s2)
def get_levenshtein_similarity(s1, s2, case_sensitive=True):
return 1-get_levenshtein_distance(... | 27.285714 | 95 | 0.787958 | 58 | 382 | 4.896552 | 0.37931 | 0.246479 | 0.309859 | 0.253521 | 0.454225 | 0.274648 | 0.274648 | 0 | 0 | 0 | 0 | 0.044248 | 0.112565 | 382 | 13 | 96 | 29.384615 | 0.79351 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.125 | 0.125 | 0.625 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
dbed93025f33de2d401795f829e875bb4973755c | 15,869 | py | Python | dymos/transcriptions/pseudospectral/components/test/test_collocation_defect_solver.py | dpsanders/dymos | ccd0c010537a621def7f46cb7f0dc5a2fd79e372 | [
"Apache-2.0"
] | null | null | null | dymos/transcriptions/pseudospectral/components/test/test_collocation_defect_solver.py | dpsanders/dymos | ccd0c010537a621def7f46cb7f0dc5a2fd79e372 | [
"Apache-2.0"
] | null | null | null | dymos/transcriptions/pseudospectral/components/test/test_collocation_defect_solver.py | dpsanders/dymos | ccd0c010537a621def7f46cb7f0dc5a2fd79e372 | [
"Apache-2.0"
] | null | null | null | import unittest
import numpy as np
from numpy.testing import assert_almost_equal
import openmdao.api as om
from openmdao.utils.testing_utils import use_tempdirs
from dymos.transcriptions.grid_data import GridData
from dymos.transcriptions.pseudospectral.components.state_independents import StateIndependentsComp
# M... | 42.544236 | 114 | 0.590396 | 2,040 | 15,869 | 4.419608 | 0.115686 | 0.043922 | 0.059894 | 0.055901 | 0.766859 | 0.758429 | 0.747671 | 0.736247 | 0.735914 | 0.708962 | 0 | 0.034986 | 0.283131 | 15,869 | 372 | 115 | 42.658602 | 0.75756 | 0.266242 | 0 | 0.449102 | 0 | 0 | 0.089272 | 0.032108 | 0 | 0 | 0 | 0 | 0.191617 | 1 | 0.125749 | false | 0 | 0.05988 | 0 | 0.203593 | 0.005988 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
dbf8420d177705591f31cc675539c9159ca6dca3 | 398 | py | Python | code_video/__init__.py | mrdon/code-video-generator | dde5bd9860b4944fa297b3083585c0036df17a0a | [
"Apache-2.0"
] | 196 | 2020-11-02T00:30:44.000Z | 2022-03-19T09:45:32.000Z | code_video/__init__.py | mrdon/code-video-generator | dde5bd9860b4944fa297b3083585c0036df17a0a | [
"Apache-2.0"
] | 5 | 2020-11-18T21:43:40.000Z | 2021-12-23T08:54:56.000Z | code_video/__init__.py | mrdon/code-video-generator | dde5bd9860b4944fa297b3083585c0036df17a0a | [
"Apache-2.0"
] | 10 | 2020-11-03T08:46:56.000Z | 2021-09-14T12:31:24.000Z | from .autoscale import AutoScaled # noqa
from .code_walkthrough import * # noqa
from .layout import ColumnLayout # noqa
from .scene import CodeScene # noqa
from .sequence import Actor # noqa
from .sequence import Interaction # noqa
from .sequence import SequenceDiagram # noqa
from .widgets import Connection # n... | 36.181818 | 45 | 0.771357 | 50 | 398 | 6.12 | 0.38 | 0.235294 | 0.156863 | 0.215686 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175879 | 398 | 10 | 46 | 39.8 | 0.932927 | 0.123116 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
e00bb50818db66b623ca0e75c03a662fd4f9e29f | 67 | py | Python | workjets/__init__.py | geekac/workjets | 0e4bca01e0579aade353aeaeb8e087bb8da2037b | [
"MIT"
] | null | null | null | workjets/__init__.py | geekac/workjets | 0e4bca01e0579aade353aeaeb8e087bb8da2037b | [
"MIT"
] | null | null | null | workjets/__init__.py | geekac/workjets | 0e4bca01e0579aade353aeaeb8e087bb8da2037b | [
"MIT"
] | null | null | null | """
pass
"""
def sayhi():
print('hello world!')
| 3.941176 | 25 | 0.402985 | 6 | 67 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.38806 | 67 | 16 | 26 | 4.1875 | 0.658537 | 0.059701 | 0 | 0 | 0 | 0 | 0.285714 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
e00c2e16ac18a152bff1685ff50dd2c007481e0c | 8,963 | py | Python | tests/unit_tests/bittensor_tests/test_forward_backward.py | chaosxcode/bittensor | 9c2f513cc7fb03844952ae3755162ed914b11cba | [
"MIT"
] | null | null | null | tests/unit_tests/bittensor_tests/test_forward_backward.py | chaosxcode/bittensor | 9c2f513cc7fb03844952ae3755162ed914b11cba | [
"MIT"
] | null | null | null | tests/unit_tests/bittensor_tests/test_forward_backward.py | chaosxcode/bittensor | 9c2f513cc7fb03844952ae3755162ed914b11cba | [
"MIT"
] | null | null | null | from sys import version
from bittensor._endpoint import endpoint
import bittensor
import torch
import pytest
from unittest.mock import MagicMock
from torch.autograd import Variable
import multiprocessing
import time
dendrite = bittensor.dendrite()
dendrite.receptor_pool.forward = MagicMock(return_value = [torch.tensor... | 46.682292 | 126 | 0.681022 | 1,198 | 8,963 | 4.852254 | 0.101836 | 0.077069 | 0.091519 | 0.043351 | 0.813177 | 0.771375 | 0.749183 | 0.706348 | 0.66919 | 0.630139 | 0 | 0.033262 | 0.168136 | 8,963 | 191 | 127 | 46.926702 | 0.746379 | 0.003347 | 0 | 0.464286 | 0 | 0 | 0.005822 | 0 | 0 | 0 | 0 | 0 | 0.22619 | 1 | 0.089286 | false | 0.029762 | 0.053571 | 0 | 0.14881 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e043b273f9d868a19d0d142e3eba0acd172c4081 | 29 | py | Python | pyscriptman/__init__.py | reap2sow1/pyscriptman | 2020111097e846c3fb6c4669d67de05ee3ef979a | [
"MIT"
] | null | null | null | pyscriptman/__init__.py | reap2sow1/pyscriptman | 2020111097e846c3fb6c4669d67de05ee3ef979a | [
"MIT"
] | null | null | null | pyscriptman/__init__.py | reap2sow1/pyscriptman | 2020111097e846c3fb6c4669d67de05ee3ef979a | [
"MIT"
] | null | null | null | from pyscriptman import main
| 14.5 | 28 | 0.862069 | 4 | 29 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
e06d3d1f84ceca89889cebc7f8423fac41667755 | 130 | py | Python | Ex7.py | LuizHps18/Exercicios_LP_1B | 00901fe5493ceabba922a1626451117196417da6 | [
"MIT"
] | null | null | null | Ex7.py | LuizHps18/Exercicios_LP_1B | 00901fe5493ceabba922a1626451117196417da6 | [
"MIT"
] | null | null | null | Ex7.py | LuizHps18/Exercicios_LP_1B | 00901fe5493ceabba922a1626451117196417da6 | [
"MIT"
] | null | null | null | n1 = float(input ("Digite a primeira nota :"))
n2 = float(input ("Digite a segunta nota :"))
print("Sua media é de :", (n1+n2)/2) | 32.5 | 46 | 0.630769 | 22 | 130 | 3.727273 | 0.681818 | 0.243902 | 0.390244 | 0.414634 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046296 | 0.169231 | 130 | 4 | 47 | 32.5 | 0.712963 | 0 | 0 | 0 | 0 | 0 | 0.480916 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
160fff87f18fb5da5fe47334494c62ef25a163bb | 214 | py | Python | gamenet/generate/snap_obj.py | DanielRabl/libtw2 | ebcc833aa418e0ee25ff1da2881f7102dc7efa5d | [
"Apache-2.0",
"MIT"
] | 30 | 2017-07-21T19:05:07.000Z | 2022-01-14T16:24:53.000Z | gamenet/generate/snap_obj.py | DanielRabl/libtw2 | ebcc833aa418e0ee25ff1da2881f7102dc7efa5d | [
"Apache-2.0",
"MIT"
] | 50 | 2017-11-20T16:43:05.000Z | 2022-03-02T21:37:45.000Z | gamenet/generate/snap_obj.py | DanielRabl/libtw2 | ebcc833aa418e0ee25ff1da2881f7102dc7efa5d | [
"Apache-2.0",
"MIT"
] | 12 | 2017-07-21T19:05:10.000Z | 2021-04-09T20:22:58.000Z | import network
import fix_network
import datatypes
emit = datatypes.Emit()
with emit:
datatypes.emit_header_snap_obj()
datatypes.emit_enum_obj_module("SnapObj", network.Objects, network.Flags)
emit.dump()
| 21.4 | 77 | 0.78972 | 29 | 214 | 5.586207 | 0.517241 | 0.320988 | 0.209877 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116822 | 214 | 9 | 78 | 23.777778 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0.03271 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.375 | 0 | 0.375 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
1622056151431680bf6a74d97d3d0f6ff45c9f5d | 87 | py | Python | relevanceai/operations_new/vectorize/models/text/tfhub/__init__.py | RelevanceAI/RelevanceAI | a0542f35153d9c842f3d2cd0955d6b07f6dfc07b | [
"Apache-2.0"
] | 21 | 2021-11-23T13:01:36.000Z | 2022-03-23T03:45:30.000Z | relevanceai/operations_new/vectorize/models/text/tfhub/__init__.py | RelevanceAI/RelevanceAI | a0542f35153d9c842f3d2cd0955d6b07f6dfc07b | [
"Apache-2.0"
] | 217 | 2021-11-23T00:11:01.000Z | 2022-03-30T08:11:49.000Z | relevanceai/operations_new/vectorize/models/text/tfhub/__init__.py | RelevanceAI/RelevanceAI | a0542f35153d9c842f3d2cd0955d6b07f6dfc07b | [
"Apache-2.0"
] | 4 | 2022-01-04T01:48:30.000Z | 2022-02-11T03:19:32.000Z | from relevanceai.operations_new.vectorize.models.text.tfhub.model import TFHubText2Vec
| 43.5 | 86 | 0.885057 | 11 | 87 | 6.909091 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012048 | 0.045977 | 87 | 1 | 87 | 87 | 0.903614 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
165a6563aad6155e9655c3b73c0383ecc117cf62 | 744 | py | Python | tests/test_utils.py | jamezpolley/begins | 7dfac6f7c9f5cb04ee1f44993709895a4ea60d31 | [
"Apache-2.0"
] | 120 | 2015-03-11T19:36:57.000Z | 2021-03-28T05:02:34.000Z | tests/test_utils.py | jamezpolley/begins | 7dfac6f7c9f5cb04ee1f44993709895a4ea60d31 | [
"Apache-2.0"
] | 22 | 2015-02-24T22:41:18.000Z | 2020-06-10T06:27:49.000Z | tests/test_utils.py | jamezpolley/begins | 7dfac6f7c9f5cb04ee1f44993709895a4ea60d31 | [
"Apache-2.0"
] | 23 | 2015-05-22T12:56:24.000Z | 2020-05-29T01:34:03.000Z | from __future__ import absolute_import, division, print_function
import mock
import sys
try:
import unittest2 as unittest
except ImportError:
import unittest
from begin import utils
class TestToList(unittest.TestCase):
def test_empty_list(self):
self.assertEqual(utils.tolist(''), [])
def t... | 24.8 | 73 | 0.66129 | 93 | 744 | 5.107527 | 0.397849 | 0.138947 | 0.210526 | 0.273684 | 0.345263 | 0.282105 | 0.202105 | 0.126316 | 0 | 0 | 0 | 0.001653 | 0.186828 | 744 | 29 | 74 | 25.655172 | 0.783471 | 0 | 0 | 0.1 | 0 | 0 | 0.022849 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | false | 0 | 0.35 | 0 | 0.65 | 0.05 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
168431e9595056d08dad0ed4b3b408941976a064 | 122 | py | Python | enthought/envisage/ui/single_project/action/save_project_action.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 3 | 2016-12-09T06:05:18.000Z | 2018-03-01T13:00:29.000Z | enthought/envisage/ui/single_project/action/save_project_action.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 1 | 2020-12-02T00:51:32.000Z | 2020-12-02T08:48:55.000Z | enthought/envisage/ui/single_project/action/save_project_action.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | null | null | null | # proxy module
from __future__ import absolute_import
from envisage.ui.single_project.action.save_project_action import *
| 30.5 | 67 | 0.860656 | 17 | 122 | 5.705882 | 0.705882 | 0.268041 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090164 | 122 | 3 | 68 | 40.666667 | 0.873874 | 0.098361 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
169459c067b00dbe8d0a4b1e28059012f986f9d3 | 13 | py | Python | src/python-import-from-url/tests/fixture/agent/__init__.py | ivangeorgiev/gems | 823076051695029b4d699744dc76c959a8476230 | [
"CC0-1.0"
] | 10 | 2020-11-12T23:45:31.000Z | 2022-03-25T07:29:42.000Z | src/python-import-from-url/tests/fixture/agent/__init__.py | ivangeorgiev/gems | 823076051695029b4d699744dc76c959a8476230 | [
"CC0-1.0"
] | null | null | null | src/python-import-from-url/tests/fixture/agent/__init__.py | ivangeorgiev/gems | 823076051695029b4d699744dc76c959a8476230 | [
"CC0-1.0"
] | 7 | 2020-12-15T20:40:00.000Z | 2022-03-18T01:41:48.000Z | name = '007'
| 6.5 | 12 | 0.538462 | 2 | 13 | 3.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.3 | 0.230769 | 13 | 1 | 13 | 13 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
16a41e2a4c1ce176c0f11380a3312a0b62b9aadf | 4,693 | py | Python | mlir/test/python/dialects/pdl_types.py | LaudateCorpus1/llvm-project | ff2e0f0c1112558b3f30d8afec7c9882c33c79e3 | [
"Apache-2.0"
] | null | null | null | mlir/test/python/dialects/pdl_types.py | LaudateCorpus1/llvm-project | ff2e0f0c1112558b3f30d8afec7c9882c33c79e3 | [
"Apache-2.0"
] | null | null | null | mlir/test/python/dialects/pdl_types.py | LaudateCorpus1/llvm-project | ff2e0f0c1112558b3f30d8afec7c9882c33c79e3 | [
"Apache-2.0"
] | null | null | null | # RUN: %PYTHON %s | FileCheck %s
from mlir.ir import *
from mlir.dialects import pdl
def run(f):
print("\nTEST:", f.__name__)
f()
return f
# CHECK-LABEL: TEST: test_attribute_type
@run
def test_attribute_type():
with Context():
parsedType = Type.parse("!pdl.attribute")
constructedType = pdl.Attribu... | 31.07947 | 60 | 0.753676 | 510 | 4,693 | 6.886275 | 0.078431 | 0.102506 | 0.136674 | 0.165148 | 0.791572 | 0.759396 | 0.726936 | 0.684795 | 0.669419 | 0.647779 | 0 | 0 | 0.15342 | 4,693 | 150 | 61 | 31.286667 | 0.883967 | 0.092691 | 0 | 0.65 | 0 | 0 | 0.018632 | 0 | 0 | 0 | 0 | 0 | 0.56 | 1 | 0.06 | false | 0 | 0.02 | 0 | 0.09 | 0.12 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
bc7a43928785c6ae26851d2973e0aa6709b6cf81 | 39 | py | Python | custom_components/falcon_pi_player/__init__.py | koolsb/ha-fpp | cf8d8154668e864ebfe095b674a99180b7bd34bd | [
"Apache-2.0"
] | null | null | null | custom_components/falcon_pi_player/__init__.py | koolsb/ha-fpp | cf8d8154668e864ebfe095b674a99180b7bd34bd | [
"Apache-2.0"
] | null | null | null | custom_components/falcon_pi_player/__init__.py | koolsb/ha-fpp | cf8d8154668e864ebfe095b674a99180b7bd34bd | [
"Apache-2.0"
] | null | null | null | """The Falcon Pi Player Integration.""" | 39 | 39 | 0.717949 | 5 | 39 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 0.8 | 0.846154 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
bc8b5b5b1827616f225eef5c29417f52ba13accb | 147 | py | Python | hackerrank/TreeHeightOfABinaryTree.py | 0x8b/HackerRank | 45e1a0e2be68950505c0a75218715bd3132a428b | [
"MIT"
] | 3 | 2019-12-04T01:22:34.000Z | 2020-12-10T15:31:00.000Z | hackerrank/TreeHeightOfABinaryTree.py | 0x8b/HackerRank | 45e1a0e2be68950505c0a75218715bd3132a428b | [
"MIT"
] | null | null | null | hackerrank/TreeHeightOfABinaryTree.py | 0x8b/HackerRank | 45e1a0e2be68950505c0a75218715bd3132a428b | [
"MIT"
] | 1 | 2019-12-04T01:24:01.000Z | 2019-12-04T01:24:01.000Z | def height(root):
l = 1 + height(root.left) if root.left else 0
r = 1 + height(root.right) if root.right else 0
return max(l, r)
| 24.5 | 52 | 0.598639 | 27 | 147 | 3.259259 | 0.481481 | 0.340909 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037736 | 0.278912 | 147 | 5 | 53 | 29.4 | 0.792453 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
bca7c05e4533d9a95d504416f7524eb337cde399 | 249 | py | Python | src/commands/jsdoc/__init__.py | PranjalPansuriya/JavaScriptEnhancements | 14af4162e86585153cbd4614ad96dff64a0d3192 | [
"MIT"
] | 690 | 2017-04-11T06:45:01.000Z | 2022-03-21T23:20:29.000Z | src/commands/jsdoc/__init__.py | PranjalPansuriya/JavaScriptEnhancements | 14af4162e86585153cbd4614ad96dff64a0d3192 | [
"MIT"
] | 74 | 2017-11-22T18:05:26.000Z | 2021-05-05T16:25:31.000Z | src/commands/jsdoc/__init__.py | PranjalPansuriya/JavaScriptEnhancements | 14af4162e86585153cbd4614ad96dff64a0d3192 | [
"MIT"
] | 42 | 2017-04-13T10:22:40.000Z | 2021-05-27T19:19:04.000Z | from .add_jsdoc_conf import JavascriptEnhancementsAddJsdocConfCommand
from .generate_jsdoc import JavascriptEnhancementsGenerateJsdocCommand
__all__ = [
"JavascriptEnhancementsAddJsdocConfCommand",
"JavascriptEnhancementsGenerateJsdocCommand"
] | 35.571429 | 70 | 0.88755 | 14 | 249 | 15.285714 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072289 | 249 | 7 | 71 | 35.571429 | 0.926407 | 0 | 0 | 0 | 1 | 0 | 0.332 | 0.332 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
bcbd46c34a4497cc01198775ea9baf9aa8369971 | 1,456 | py | Python | catkin_ws/build/navigation_msgs/map_msgs/cmake/map_msgs-genmsg-context.py | lies98/ROS_chasing_ball | 6e1f08ed51a5b5f0c7b0bdebfb1bef2d3fe61949 | [
"MIT"
] | null | null | null | catkin_ws/build/navigation_msgs/map_msgs/cmake/map_msgs-genmsg-context.py | lies98/ROS_chasing_ball | 6e1f08ed51a5b5f0c7b0bdebfb1bef2d3fe61949 | [
"MIT"
] | null | null | null | catkin_ws/build/navigation_msgs/map_msgs/cmake/map_msgs-genmsg-context.py | lies98/ROS_chasing_ball | 6e1f08ed51a5b5f0c7b0bdebfb1bef2d3fe61949 | [
"MIT"
] | null | null | null | # generated from genmsg/cmake/pkg-genmsg.context.in
messages_str = "/root/catkin_ws/src/navigation_msgs/map_msgs/msg/OccupancyGridUpdate.msg;/root/catkin_ws/src/navigation_msgs/map_msgs/msg/PointCloud2Update.msg;/root/catkin_ws/src/navigation_msgs/map_msgs/msg/ProjectedMapInfo.msg;/root/catkin_ws/src/navigation_msgs/m... | 121.333333 | 415 | 0.825549 | 231 | 1,456 | 4.926407 | 0.277056 | 0.079965 | 0.115993 | 0.144991 | 0.5 | 0.403339 | 0.403339 | 0.403339 | 0.403339 | 0.295255 | 0 | 0.001406 | 0.023352 | 1,456 | 11 | 416 | 132.363636 | 0.798875 | 0.033654 | 0 | 0 | 1 | 0.333333 | 0.855516 | 0.835587 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
4c0c3ab1529882000854074c5520d4b13bf0df83 | 25,974 | py | Python | assets/migrations/0005_auto__del_field_asset_current_place__chg_field_place_asset_reason_of_d.py | Ishayahu/MJCC-tasks | 68ea00dab543e6e4e0f6cf6b6683f3719bb6f3c0 | [
"MIT"
] | 1 | 2017-09-25T09:36:46.000Z | 2017-09-25T09:36:46.000Z | assets/migrations/0005_auto__del_field_asset_current_place__chg_field_place_asset_reason_of_d.py | Ishayahu/MJCC-tasks | 68ea00dab543e6e4e0f6cf6b6683f3719bb6f3c0 | [
"MIT"
] | 40 | 2015-05-29T11:25:15.000Z | 2015-08-13T10:28:17.000Z | assets/migrations/0005_auto__del_field_asset_current_place__chg_field_place_asset_reason_of_d.py | Ishayahu/MJCC-tasks | 68ea00dab543e6e4e0f6cf6b6683f3719bb6f3c0 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Deleting field 'Asset.current_place'
db.delete_column('assets_asset', 'current_place_id')
# Chan... | 70.2 | 142 | 0.552245 | 2,587 | 25,974 | 5.410901 | 0.09857 | 0.141735 | 0.247035 | 0.352908 | 0.844335 | 0.791827 | 0.744892 | 0.630662 | 0.522003 | 0.411916 | 0 | 0.010071 | 0.208632 | 25,974 | 370 | 143 | 70.2 | 0.670932 | 0.015169 | 0 | 0.267806 | 0 | 0 | 0.582724 | 0.358972 | 0 | 0 | 0 | 0 | 0 | 1 | 0.005698 | false | 0 | 0.011396 | 0 | 0.025641 | 0.017094 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
4c495e45878461225179c66c4fbc76929a25587d | 77 | py | Python | aio_daemon/__init__.py | Trogious/aio-daemon | 417d4c34adb06aeb43b070ded5f04615d9b7a6da | [
"MIT"
] | 1 | 2022-01-14T06:20:58.000Z | 2022-01-14T06:20:58.000Z | aio_daemon/__init__.py | Trogious/aio-daemon | 417d4c34adb06aeb43b070ded5f04615d9b7a6da | [
"MIT"
] | null | null | null | aio_daemon/__init__.py | Trogious/aio-daemon | 417d4c34adb06aeb43b070ded5f04615d9b7a6da | [
"MIT"
] | null | null | null | from .daemon import Daemon
from .json import jl
from .env import getenv_path
| 19.25 | 28 | 0.805195 | 13 | 77 | 4.692308 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155844 | 77 | 3 | 29 | 25.666667 | 0.938462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
4c6ae925dbe86c357fc2770ebcc78f5c97bc9aea | 7,233 | py | Python | tests/test_models/test_backbones/test_timm_backbone.py | YuxinZou/mmclassification | 2037260ea6c98a3b115e97727e1151a1c2c32f7a | [
"Apache-2.0"
] | 1 | 2022-03-15T07:36:04.000Z | 2022-03-15T07:36:04.000Z | tests/test_models/test_backbones/test_timm_backbone.py | YuxinZou/mmclassification | 2037260ea6c98a3b115e97727e1151a1c2c32f7a | [
"Apache-2.0"
] | null | null | null | tests/test_models/test_backbones/test_timm_backbone.py | YuxinZou/mmclassification | 2037260ea6c98a3b115e97727e1151a1c2c32f7a | [
"Apache-2.0"
] | 1 | 2022-03-25T08:40:07.000Z | 2022-03-25T08:40:07.000Z | # Copyright (c) OpenMMLab. All rights reserved.
import pytest
import torch
from torch import nn
from torch.nn.modules.batchnorm import _BatchNorm
from mmcls.models.backbones import TIMMBackbone
def check_norm_state(modules, train_state):
"""Check if norm layer is in correct train state."""
for mod in modules... | 35.455882 | 76 | 0.630444 | 1,032 | 7,233 | 4.322674 | 0.117248 | 0.091908 | 0.128671 | 0.137861 | 0.811477 | 0.783232 | 0.764403 | 0.713965 | 0.681462 | 0.63618 | 0 | 0.091638 | 0.224526 | 7,233 | 203 | 77 | 35.630542 | 0.703691 | 0.129683 | 0 | 0.672956 | 0 | 0 | 0.030018 | 0 | 0 | 0 | 0 | 0 | 0.371069 | 1 | 0.018868 | false | 0 | 0.031447 | 0 | 0.062893 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
d5d6784b9385a401169131d189f5a1605273986c | 9,256 | py | Python | projects/rf/test_rf.py | dashbrookhart/msds621 | dbb65f36ba9303d82139469437cf42b8ccb69374 | [
"MIT"
] | 1 | 2021-02-02T21:00:31.000Z | 2021-02-02T21:00:31.000Z | projects/rf/test_rf.py | dashbrookhart/msds621 | dbb65f36ba9303d82139469437cf42b8ccb69374 | [
"MIT"
] | null | null | null | projects/rf/test_rf.py | dashbrookhart/msds621 | dbb65f36ba9303d82139469437cf42b8ccb69374 | [
"MIT"
] | null | null | null | import numpy as np
from sklearn.datasets import \
load_boston, load_iris, load_diabetes, load_wine, \
load_breast_cancer, fetch_california_housing
from sklearn.ensemble import RandomForestRegressor, RandomForestClassifier
from sklearn.model_selection import train_test_split
import inspect
from rf import Random... | 41.693694 | 147 | 0.708838 | 1,497 | 9,256 | 4.062792 | 0.072144 | 0.026965 | 0.027622 | 0.051299 | 0.842157 | 0.810917 | 0.744328 | 0.700263 | 0.691056 | 0.691056 | 0 | 0.031898 | 0.166811 | 9,256 | 221 | 148 | 41.882353 | 0.756743 | 0 | 0 | 0.54023 | 0 | 0.068966 | 0.154927 | 0.078328 | 0 | 0 | 0 | 0 | 0.034483 | 1 | 0.16092 | false | 0 | 0.034483 | 0 | 0.195402 | 0.057471 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
d5f55fa17633ef09483046d4d1260870f604df60 | 98 | py | Python | helloworld.py | 90rupesh/python-programming | 83548c616b876d8249ae825f6e73bca8c7de7618 | [
"Apache-2.0"
] | null | null | null | helloworld.py | 90rupesh/python-programming | 83548c616b876d8249ae825f6e73bca8c7de7618 | [
"Apache-2.0"
] | null | null | null | helloworld.py | 90rupesh/python-programming | 83548c616b876d8249ae825f6e73bca8c7de7618 | [
"Apache-2.0"
] | null | null | null | """
write your first program in python3
python3 helloworld.py
"""
print("HelloWorld in python!!")
| 16.333333 | 35 | 0.734694 | 13 | 98 | 5.538462 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023529 | 0.132653 | 98 | 5 | 36 | 19.6 | 0.823529 | 0.581633 | 0 | 0 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
d5fca00de630dfd001e4a1b79ebcd4d5d50f5925 | 148 | py | Python | verbarius/__init__.py | k4m454k/VerbariusRus | 54bb20570d3013a93340df3be5592a20c5576322 | [
"MIT"
] | 2 | 2020-11-15T19:41:20.000Z | 2020-11-15T21:22:05.000Z | verbarius/__init__.py | k4m454k/VerbariusRus | 54bb20570d3013a93340df3be5592a20c5576322 | [
"MIT"
] | null | null | null | verbarius/__init__.py | k4m454k/VerbariusRus | 54bb20570d3013a93340df3be5592a20c5576322 | [
"MIT"
] | 1 | 2020-12-20T13:35:19.000Z | 2020-12-20T13:35:19.000Z | from verbarius.verbarius import Verbarius
from verbarius.languages import BaseLanguage, ru, ua
__all__ = ["Verbarius", "BaseLanguage", "ru", "ua"]
| 29.6 | 52 | 0.763514 | 17 | 148 | 6.411765 | 0.470588 | 0.238532 | 0.293578 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114865 | 148 | 4 | 53 | 37 | 0.832061 | 0 | 0 | 0 | 0 | 0 | 0.168919 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
91423d96086f52548dcc8444e5d4e3400a12091c | 44 | py | Python | backend/AXIOME3_app/extensions.py | neufeld/AXIOME3-GUI | 80b87753b47fab116324b4f0e4151c21ab3b1725 | [
"BSD-3-Clause"
] | 2 | 2021-02-25T16:59:12.000Z | 2021-02-25T20:06:15.000Z | backend/AXIOME3_app/extensions.py | neufeld/AXIOME3-GUI | 80b87753b47fab116324b4f0e4151c21ab3b1725 | [
"BSD-3-Clause"
] | 7 | 2020-11-18T08:05:52.000Z | 2022-02-17T20:45:10.000Z | backend/AXIOME3_app/extensions.py | neufeld/AXIOME3-GUI | 80b87753b47fab116324b4f0e4151c21ab3b1725 | [
"BSD-3-Clause"
] | null | null | null | from celery import Celery
celery = Celery() | 14.666667 | 25 | 0.772727 | 6 | 44 | 5.666667 | 0.5 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159091 | 44 | 3 | 26 | 14.666667 | 0.918919 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
e678c7fc9f5c30827d1327855977d2afdec79a7c | 276 | py | Python | verbcalc/__init__.py | nandinimaheshwari7107/VerbCalc | 7a1459466aa16ea81d88e2b1e454587c0fc01d07 | [
"BSD-3-Clause"
] | null | null | null | verbcalc/__init__.py | nandinimaheshwari7107/VerbCalc | 7a1459466aa16ea81d88e2b1e454587c0fc01d07 | [
"BSD-3-Clause"
] | 35 | 2021-10-30T14:04:05.000Z | 2022-03-31T08:33:25.000Z | verbcalc/__init__.py | LucaMellini/VerbCalc | fc87ae5d9dbc420fe644703febdbcb15a2da6e03 | [
"BSD-3-Clause"
] | 4 | 2021-11-07T12:36:53.000Z | 2021-11-24T17:43:11.000Z | """
Python library for making calculations from natural language.
"""
from verbcalc.core.calculate import calculate
from verbcalc.core.translator.symbols import Symbols
from verbcalc.core.translator.translator import translate
__all__ = ['translate', 'calculate', 'Symbols']
| 30.666667 | 61 | 0.804348 | 32 | 276 | 6.8125 | 0.5 | 0.165138 | 0.220183 | 0.238532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101449 | 276 | 8 | 62 | 34.5 | 0.879032 | 0.221014 | 0 | 0 | 0 | 0 | 0.120773 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
e6794ecc2af3d4d0cb646b6e160675d6cec0377c | 184 | py | Python | example/books/models.py | nyradr/django-unicorn | 48a112ee1187715c4dbb54b24cb7b4688a24ac4b | [
"MIT"
] | 1 | 2021-02-11T13:26:06.000Z | 2021-02-11T13:26:06.000Z | example/books/models.py | nyradr/django-unicorn | 48a112ee1187715c4dbb54b24cb7b4688a24ac4b | [
"MIT"
] | null | null | null | example/books/models.py | nyradr/django-unicorn | 48a112ee1187715c4dbb54b24cb7b4688a24ac4b | [
"MIT"
] | null | null | null | from django.db.models import Model
from django.db.models.fields import CharField, DateField
class Book(Model):
title = CharField(max_length=255)
date_published = DateField()
| 23 | 56 | 0.766304 | 25 | 184 | 5.56 | 0.68 | 0.143885 | 0.172662 | 0.258993 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019108 | 0.146739 | 184 | 7 | 57 | 26.285714 | 0.866242 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
e67eac1c74955c8dd38abd0365d92a26c836c56f | 172 | py | Python | vspreview/widgets/custom/__init__.py | wwww-wwww/vs-preview | 3aaad4f2242ca1d490dccb895efe27e823162d2a | [
"Apache-2.0"
] | null | null | null | vspreview/widgets/custom/__init__.py | wwww-wwww/vs-preview | 3aaad4f2242ca1d490dccb895efe27e823162d2a | [
"Apache-2.0"
] | null | null | null | vspreview/widgets/custom/__init__.py | wwww-wwww/vs-preview | 3aaad4f2242ca1d490dccb895efe27e823162d2a | [
"Apache-2.0"
] | null | null | null | # flake8: noqa
from .misc import StatusBar
from .combobox import ComboBox
from .edits import FrameEdit, TimeEdit
from .graphicsview import GraphicsImageItem, GraphicsView
| 24.571429 | 57 | 0.825581 | 20 | 172 | 7.1 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006667 | 0.127907 | 172 | 6 | 58 | 28.666667 | 0.94 | 0.069767 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
e682d98f48e998981b24ed57dea6d6c31585df90 | 58 | py | Python | enthought/traits/ui/editors/time_editor.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 3 | 2016-12-09T06:05:18.000Z | 2018-03-01T13:00:29.000Z | enthought/traits/ui/editors/time_editor.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 1 | 2020-12-02T00:51:32.000Z | 2020-12-02T08:48:55.000Z | enthought/traits/ui/editors/time_editor.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | null | null | null | # proxy module
from traitsui.editors.time_editor import *
| 19.333333 | 42 | 0.810345 | 8 | 58 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12069 | 58 | 2 | 43 | 29 | 0.901961 | 0.206897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
e6835a08b5f357e743e3de8cc6f4930764638336 | 3,831 | py | Python | app/publico/views.py | brunosilva5/PT-NEWS_EXTRACTOR | 2b8e892b466ac13992dd555a326111d727e03f10 | [
"BSD-3-Clause"
] | null | null | null | app/publico/views.py | brunosilva5/PT-NEWS_EXTRACTOR | 2b8e892b466ac13992dd555a326111d727e03f10 | [
"BSD-3-Clause"
] | 2 | 2021-12-13T20:51:44.000Z | 2022-02-14T02:45:58.000Z | app/publico/views.py | brunosilva5/PT-NEWS_EXTRACTOR | 2b8e892b466ac13992dd555a326111d727e03f10 | [
"BSD-3-Clause"
] | null | null | null | """
Contains the Publico's API Endpoints (Views)
"""
import django_rq
from rest_framework.views import APIView
from rest_framework import status
from rest_framework.response import Response
from .models import PublicoNewsFactory
from core.serializers import (
TagSearchSerializer,
JobSerializer,
URLSearchSe... | 30.648 | 63 | 0.564082 | 354 | 3,831 | 5.926554 | 0.175141 | 0.111535 | 0.048618 | 0.077216 | 0.751192 | 0.718303 | 0.718303 | 0.718303 | 0.718303 | 0.718303 | 0 | 0.00729 | 0.355521 | 3,831 | 124 | 64 | 30.895161 | 0.842446 | 0.120856 | 0 | 0.619048 | 0 | 0 | 0.031174 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035714 | false | 0 | 0.071429 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e68449d626adfc6d1276a8e57025afbeae9ff913 | 4,577 | py | Python | models/fusion_network.py | ID56/Multimodal-Fusion-CRNN | 1775ec0cb9d0878c2635860c291b343130296797 | [
"MIT"
] | null | null | null | models/fusion_network.py | ID56/Multimodal-Fusion-CRNN | 1775ec0cb9d0878c2635860c291b343130296797 | [
"MIT"
] | null | null | null | models/fusion_network.py | ID56/Multimodal-Fusion-CRNN | 1775ec0cb9d0878c2635860c291b343130296797 | [
"MIT"
] | null | null | null | import torch
from torch import nn
from models.blocks import ConvBlock, MLP
from einops import rearrange
from typing import Tuple
class FeatureFusionNet(nn.Module):
def __init__(self, conv_blocks: list = [8, 16, 32], res_in : Tuple[int, int] = (50, 50), T : int = 32, D : int = 2, num_classes : int = 14,
dr... | 46.232323 | 165 | 0.633821 | 751 | 4,577 | 3.585885 | 0.147803 | 0.035648 | 0.01671 | 0.011883 | 0.753806 | 0.753806 | 0.733012 | 0.733012 | 0.733012 | 0.722986 | 0 | 0.036093 | 0.237273 | 4,577 | 99 | 166 | 46.232323 | 0.735319 | 0.015949 | 0 | 0.53125 | 0 | 0 | 0.06892 | 0.009782 | 0 | 0 | 0 | 0 | 0.015625 | 1 | 0.078125 | false | 0 | 0.078125 | 0 | 0.234375 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e6d5da0340bdde36070bde85a0873354c2cf6e3a | 96 | py | Python | mono/core/__init__.py | ArminMasoumian/GCNDepth | 9fa77812fa944c2701a45f09acf988815ca50aee | [
"MIT"
] | 32 | 2021-09-20T13:59:26.000Z | 2022-03-17T08:28:04.000Z | mono/core/__init__.py | ArminMasoumian/GCNDepth | 9fa77812fa944c2701a45f09acf988815ca50aee | [
"MIT"
] | 4 | 2021-12-16T05:49:13.000Z | 2022-03-31T16:38:37.000Z | mono/core/__init__.py | ArminMasoumian/GCNDepth | 9fa77812fa944c2701a45f09acf988815ca50aee | [
"MIT"
] | 2 | 2021-12-31T02:38:42.000Z | 2022-01-10T13:34:52.000Z |
from .evaluation import NonDistEvalHook, DistEvalMonoHook
from .utils import DistOptimizerHook
| 24 | 57 | 0.864583 | 9 | 96 | 9.222222 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104167 | 96 | 3 | 58 | 32 | 0.965116 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.