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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d9c7f3fdaa6dbe4abf7e68c6052896f817807b98 | 190 | py | Python | core/serializers.py | telminov/sonm-cdn-cms | e51107e3baed9e633e54db6cd7f784178f531b4a | [
"MIT"
] | 1 | 2018-08-31T17:40:14.000Z | 2018-08-31T17:40:14.000Z | core/serializers.py | telminov/sonm-cdn-cms | e51107e3baed9e633e54db6cd7f784178f531b4a | [
"MIT"
] | null | null | null | core/serializers.py | telminov/sonm-cdn-cms | e51107e3baed9e633e54db6cd7f784178f531b4a | [
"MIT"
] | null | null | null | from rest_framework import serializers
from core import models
class AssetSerializer(serializers.ModelSerializer):
class Meta:
model = models.Asset
fields = '__all__'
| 19 | 51 | 0.731579 | 20 | 190 | 6.7 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.215789 | 190 | 9 | 52 | 21.111111 | 0.899329 | 0 | 0 | 0 | 0 | 0 | 0.036842 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
d9c7f680a10afbb210d6a7c50f3b0ac7716821e0 | 190 | py | Python | tests/wasp1/AllAnswerSets/aggregates_count_boundvariables_1.test.py | bernardocuteri/wasp | 05c8f961776dbdbf7afbf905ee00fc262eba51ad | [
"Apache-2.0"
] | 19 | 2015-12-03T08:53:45.000Z | 2022-03-31T02:09:43.000Z | tests/wasp1/AllAnswerSets/aggregates_count_boundvariables_1.test.py | bernardocuteri/wasp | 05c8f961776dbdbf7afbf905ee00fc262eba51ad | [
"Apache-2.0"
] | 80 | 2017-11-25T07:57:32.000Z | 2018-06-10T19:03:30.000Z | tests/wasp1/AllAnswerSets/aggregates_count_boundvariables_1.test.py | bernardocuteri/wasp | 05c8f961776dbdbf7afbf905ee00fc262eba51ad | [
"Apache-2.0"
] | 6 | 2015-01-15T07:51:48.000Z | 2020-06-18T14:47:48.000Z | input = """
c(2).
p(1).
a(2).
d(2,2,1).
okay(X):- c(X), #count{V:a(V),d(V,X,1)} = 1.
ouch(X):- p(X), #count{V:a(V),d(V,X,1)} = 1.
"""
output = """
{a(2), c(2), d(2,2,1), okay(2), p(1)}
"""
| 14.615385 | 44 | 0.4 | 50 | 190 | 1.52 | 0.26 | 0.052632 | 0.078947 | 0.105263 | 0.605263 | 0.605263 | 0.368421 | 0.368421 | 0.368421 | 0.368421 | 0 | 0.104938 | 0.147368 | 190 | 12 | 45 | 15.833333 | 0.364198 | 0 | 0 | 0.181818 | 0 | 0.272727 | 0.831579 | 0.242105 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d9d5b48647e38ebb7586e30d71d263a91ce8bc1b | 156 | py | Python | src/zeep/wsse/__init__.py | bertonha/python-zeep | 748f4e028db2ef498bc6dd1e60d3555b7688f08c | [
"MIT"
] | null | null | null | src/zeep/wsse/__init__.py | bertonha/python-zeep | 748f4e028db2ef498bc6dd1e60d3555b7688f08c | [
"MIT"
] | null | null | null | src/zeep/wsse/__init__.py | bertonha/python-zeep | 748f4e028db2ef498bc6dd1e60d3555b7688f08c | [
"MIT"
] | null | null | null | from .compose import Compose # noqa
from .signature import BinarySignature, Signature, MemorySignature # noqa
from .username import UsernameToken # noqa
| 39 | 74 | 0.801282 | 17 | 156 | 7.352941 | 0.529412 | 0.128 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147436 | 156 | 3 | 75 | 52 | 0.93985 | 0.089744 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
8a03ced3330b9102f19e53ae0f85a628054986d1 | 36 | py | Python | tools/__init__.py | BranKein/Flask-template | 3d8f43b3c44163e855c727de2a0dfe37d3b788f9 | [
"MIT"
] | null | null | null | tools/__init__.py | BranKein/Flask-template | 3d8f43b3c44163e855c727de2a0dfe37d3b788f9 | [
"MIT"
] | null | null | null | tools/__init__.py | BranKein/Flask-template | 3d8f43b3c44163e855c727de2a0dfe37d3b788f9 | [
"MIT"
] | null | null | null | from . import ip
__all__ = ['ip']
| 7.2 | 16 | 0.583333 | 5 | 36 | 3.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 36 | 4 | 17 | 9 | 0.62963 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
8a06be2dde291c66efbc5f80746f557a0f2cecaa | 336 | py | Python | experiments/seidel-2d/tmp_files/6745.py | LoopTilingBenchmark/benchmark | 52a3d2e70216552a498fd91de02a2fa9cb62122c | [
"BSD-2-Clause"
] | null | null | null | experiments/seidel-2d/tmp_files/6745.py | LoopTilingBenchmark/benchmark | 52a3d2e70216552a498fd91de02a2fa9cb62122c | [
"BSD-2-Clause"
] | null | null | null | experiments/seidel-2d/tmp_files/6745.py | LoopTilingBenchmark/benchmark | 52a3d2e70216552a498fd91de02a2fa9cb62122c | [
"BSD-2-Clause"
] | null | null | null | from chill import *
source('/uufs/chpc.utah.edu/common/home/u1142914/lib/ytopt_vinu/polybench/polybench-code/stencils/seidel-2d/kernel.c')
destination('/uufs/chpc.utah.edu/common/home/u1142914/lib/ytopt_vinu/experiments/seidel-2d/tmp_files/6745.c')
procedure('kernel_seidel_2d')
loop(0)
known(' n > 2 ')
tile(0,2,16,2)... | 30.545455 | 118 | 0.764881 | 59 | 336 | 4.271186 | 0.59322 | 0.095238 | 0.095238 | 0.119048 | 0.357143 | 0.357143 | 0.357143 | 0.357143 | 0.357143 | 0.357143 | 0 | 0.103448 | 0.050595 | 336 | 10 | 119 | 33.6 | 0.68652 | 0 | 0 | 0 | 0 | 0.25 | 0.669643 | 0.60119 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.125 | 0 | 0.125 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8a2036147565ecfe3e374843c7669120715a456c | 93 | py | Python | run.py | pran01/AlgoVision | 40e85f3c55266f43ee103dfa0852a63af306a8d4 | [
"MIT"
] | 33 | 2020-10-05T01:04:55.000Z | 2021-06-24T01:52:31.000Z | run.py | learning-zones/AlgoVision | 9261e00ecb2540d8bb950d47d670bb6b2c69db0f | [
"MIT"
] | 14 | 2020-10-07T03:15:12.000Z | 2021-01-15T11:53:29.000Z | run.py | learning-zones/AlgoVision | 9261e00ecb2540d8bb950d47d670bb6b2c69db0f | [
"MIT"
] | 9 | 2020-10-05T07:16:45.000Z | 2021-03-01T15:44:31.000Z | from algovision import app
if(__name__=="__main__"):
app.run(debug=True,host='0.0.0.0')
| 18.6 | 38 | 0.688172 | 16 | 93 | 3.5 | 0.75 | 0.107143 | 0.107143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04878 | 0.11828 | 93 | 4 | 39 | 23.25 | 0.634146 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
8a5de963629a6bc23b3e927dcbf31f83ecc1590d | 171 | py | Python | indexof.py | gnuchev/homework | 4083d44561cc9738d3cd8da99f8ef91b69961b6c | [
"MIT"
] | null | null | null | indexof.py | gnuchev/homework | 4083d44561cc9738d3cd8da99f8ef91b69961b6c | [
"MIT"
] | null | null | null | indexof.py | gnuchev/homework | 4083d44561cc9738d3cd8da99f8ef91b69961b6c | [
"MIT"
] | null | null | null | def indexof(listofnames, value):
if value in listofnames:
value_index = listofnames.index(value)
return(listofnames, value_index)
else: return(-1)
| 28.5 | 46 | 0.684211 | 20 | 171 | 5.75 | 0.5 | 0.417391 | 0.365217 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007519 | 0.222222 | 171 | 5 | 47 | 34.2 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.2 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8a5eacf969c02364f5e4daefab7f03dd79ff6a0f | 447 | py | Python | programs/combine/jry2/treedef.py | lsrcz/SyGuS | 5aab1b2c324d8a3c20e51f8acb2866190a1431d3 | [
"MIT"
] | 1 | 2021-07-11T08:32:32.000Z | 2021-07-11T08:32:32.000Z | programs/combine/jry2/treedef.py | lsrcz/SyGuS | 5aab1b2c324d8a3c20e51f8acb2866190a1431d3 | [
"MIT"
] | null | null | null | programs/combine/jry2/treedef.py | lsrcz/SyGuS | 5aab1b2c324d8a3c20e51f8acb2866190a1431d3 | [
"MIT"
] | 1 | 2020-12-20T16:08:10.000Z | 2020-12-20T16:08:10.000Z | from jry2.semantics import Expr
class TreeNode:
pass
class TreeLeaf(TreeNode):
def __init__(self, term):
self.term = term
def getExpr(self):
return self.term
class TreeInnerNode(TreeNode):
def __init__(self, pred, left, right):
self.pred = pred
self.left = left
... | 20.318182 | 80 | 0.630872 | 56 | 447 | 4.892857 | 0.357143 | 0.087591 | 0.109489 | 0.138686 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003021 | 0.259508 | 447 | 21 | 81 | 21.285714 | 0.824773 | 0 | 0 | 0.133333 | 0 | 0 | 0.006711 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.266667 | false | 0.066667 | 0.066667 | 0.133333 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
8a6266df7a1375925ee79de0d3567238f763ecfa | 165 | py | Python | xlib/api/win32/oleaut32/oleaut32.py | jkennedyvz/DeepFaceLive | 274c20808da089eb7fc0fc0e8abe649379a29ffe | [
"MIT"
] | null | null | null | xlib/api/win32/oleaut32/oleaut32.py | jkennedyvz/DeepFaceLive | 274c20808da089eb7fc0fc0e8abe649379a29ffe | [
"MIT"
] | null | null | null | xlib/api/win32/oleaut32/oleaut32.py | jkennedyvz/DeepFaceLive | 274c20808da089eb7fc0fc0e8abe649379a29ffe | [
"MIT"
] | null | null | null | from ctypes import POINTER, Structure
from ..wintypes import VARIANT, dll_import
@dll_import('OleAut32')
def VariantInit( pvarg : POINTER(VARIANT) ) -> None: ...
| 20.625 | 56 | 0.739394 | 20 | 165 | 6 | 0.65 | 0.15 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014085 | 0.139394 | 165 | 7 | 57 | 23.571429 | 0.830986 | 0 | 0 | 0 | 0 | 0 | 0.048485 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.75 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
8a7310d8abb463c70846c800ef296e8c1423ac2b | 186 | py | Python | src/events/cell_pressed.py | ArcosJuan/Get-out-of-my-fucking-maze | ca2cfeaaeecb6c6f583ad647d020f25176170805 | [
"MIT"
] | 2 | 2021-09-09T14:03:40.000Z | 2021-11-03T03:35:55.000Z | src/events/cell_pressed.py | ArcosJuan/Get-out-of-my-fucking-maze | ca2cfeaaeecb6c6f583ad647d020f25176170805 | [
"MIT"
] | null | null | null | src/events/cell_pressed.py | ArcosJuan/Get-out-of-my-fucking-maze | ca2cfeaaeecb6c6f583ad647d020f25176170805 | [
"MIT"
] | null | null | null | from src.events import Event
class CellPressed(Event):
def __init__(self, position):
self.position = position
def get_position(self):
return self.position | 18.6 | 33 | 0.672043 | 22 | 186 | 5.454545 | 0.590909 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.252688 | 186 | 10 | 34 | 18.6 | 0.863309 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.166667 | 0.833333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
8ac046daf66291ca73b420ce81a183abc787e157 | 51 | py | Python | neptune/generated/swagger_client/path_constants.py | jiji-online/neptune-cli | 50cf680a80d141497f9331ab7cdaee49fcb90b0c | [
"Apache-2.0"
] | null | null | null | neptune/generated/swagger_client/path_constants.py | jiji-online/neptune-cli | 50cf680a80d141497f9331ab7cdaee49fcb90b0c | [
"Apache-2.0"
] | null | null | null | neptune/generated/swagger_client/path_constants.py | jiji-online/neptune-cli | 50cf680a80d141497f9331ab7cdaee49fcb90b0c | [
"Apache-2.0"
] | null | null | null | REST_PATH = u""
WS_PATH = u"/api/notifications/v1"
| 17 | 34 | 0.705882 | 9 | 51 | 3.777778 | 0.777778 | 0.294118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022222 | 0.117647 | 51 | 2 | 35 | 25.5 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0.411765 | 0.411765 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8ac2e2407dd1965a468039faf082dce81ec81f6c | 109 | py | Python | realfastapi/routes/endpoints/default.py | wborbajr/RealFastAPI | d97ca994c4c164387632cda814e80c026435a9f7 | [
"MIT"
] | null | null | null | realfastapi/routes/endpoints/default.py | wborbajr/RealFastAPI | d97ca994c4c164387632cda814e80c026435a9f7 | [
"MIT"
] | null | null | null | realfastapi/routes/endpoints/default.py | wborbajr/RealFastAPI | d97ca994c4c164387632cda814e80c026435a9f7 | [
"MIT"
] | null | null | null | from fastapi import APIRouter
router = APIRouter()
@router.get("/")
def working():
return {"Working"}
| 12.111111 | 29 | 0.669725 | 12 | 109 | 6.083333 | 0.75 | 0.410959 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174312 | 109 | 8 | 30 | 13.625 | 0.811111 | 0 | 0 | 0 | 0 | 0 | 0.073395 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
8ac9b0e158167d7f3345bc07a8dd57de92905440 | 66 | py | Python | scripts/get_file_name_as_variable.py | amin-henteti/airflow-dags | eb1e9a1a77d3c868e031cbe7420eae952ce5e767 | [
"Apache-2.0"
] | null | null | null | scripts/get_file_name_as_variable.py | amin-henteti/airflow-dags | eb1e9a1a77d3c868e031cbe7420eae952ce5e767 | [
"Apache-2.0"
] | null | null | null | scripts/get_file_name_as_variable.py | amin-henteti/airflow-dags | eb1e9a1a77d3c868e031cbe7420eae952ce5e767 | [
"Apache-2.0"
] | null | null | null | import inspect
def foo():
print(inspect.stack()[0][3])
foo() | 13.2 | 31 | 0.621212 | 10 | 66 | 4.1 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036364 | 0.166667 | 66 | 5 | 32 | 13.2 | 0.709091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0 | 0.5 | 0.25 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
76d842d33f2db656494e8fb701c74c89d920202e | 182 | py | Python | tests/test_command.py | vandana-11/cognito | 4f92229511b265578def8e34d30575292070e584 | [
"BSD-3-Clause"
] | null | null | null | tests/test_command.py | vandana-11/cognito | 4f92229511b265578def8e34d30575292070e584 | [
"BSD-3-Clause"
] | null | null | null | tests/test_command.py | vandana-11/cognito | 4f92229511b265578def8e34d30575292070e584 | [
"BSD-3-Clause"
] | null | null | null | from cognito.check import Check
from cognito.table import Table
import os
import pytest
import pandas as pd
import numpy as np
from os import path
from sklearn import preprocessing
| 20.222222 | 33 | 0.82967 | 30 | 182 | 5.033333 | 0.5 | 0.145695 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159341 | 182 | 8 | 34 | 22.75 | 0.986928 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
0a15bb92f32c4317216e7f1662783bb4852671eb | 105 | py | Python | school/admin/__init__.py | leyyin/university-SE | 7cc3625bda787d2e79ab22f30d6f6e732ca9abb3 | [
"MIT"
] | 3 | 2015-03-12T15:50:58.000Z | 2015-05-04T12:55:19.000Z | school/admin/__init__.py | leyyin/university-SE | 7cc3625bda787d2e79ab22f30d6f6e732ca9abb3 | [
"MIT"
] | 2 | 2015-05-01T18:24:04.000Z | 2015-05-15T15:58:47.000Z | school/admin/__init__.py | leyyin/university-SE | 7cc3625bda787d2e79ab22f30d6f6e732ca9abb3 | [
"MIT"
] | null | null | null | # contains any CRUD not related to strictly editing users info and courses info
from .views import admin
| 35 | 79 | 0.809524 | 17 | 105 | 5 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171429 | 105 | 2 | 80 | 52.5 | 0.977011 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
0a4c68a0832d4cee3f0250c6c84f885007935c0b | 194 | py | Python | 5kyu/(5 kyu) Count IP Addresses/(5 kyu) Count IP Addresses.py | e1r0nd/codewars | 9b05e32a26ee5f36a4b3f1e76a71e0c79b3c865b | [
"MIT"
] | 49 | 2018-04-30T06:42:45.000Z | 2021-07-22T16:39:02.000Z | 5kyu/(5 kyu) Count IP Addresses/(5 kyu) Count IP Addresses.py | nis24jit/codewars-3 | 1a0d910af12f8af6e1070c31a30ba3c785a9b857 | [
"MIT"
] | 1 | 2020-08-31T02:36:53.000Z | 2020-08-31T10:14:00.000Z | 5kyu/(5 kyu) Count IP Addresses/(5 kyu) Count IP Addresses.py | nis24jit/codewars-3 | 1a0d910af12f8af6e1070c31a30ba3c785a9b857 | [
"MIT"
] | 25 | 2018-04-02T20:57:58.000Z | 2021-05-28T15:24:51.000Z | def ips_between(start, end):
calc = lambda n, m: (int(end.split(".")[n]) - int(start.split(".")[n])) * m
return calc(0, 256 * 256 * 256) + calc(1, 256 * 256) + calc(2, 256) + calc(3, 1)
| 48.5 | 84 | 0.546392 | 34 | 194 | 3.088235 | 0.5 | 0.171429 | 0.190476 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148387 | 0.201031 | 194 | 3 | 85 | 64.666667 | 0.529032 | 0 | 0 | 0 | 0 | 0 | 0.010309 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
0a4d54d89c32a47c57e2c8a928a39b69e030c881 | 35 | py | Python | notebooks/_solutions/pandas_02_basic_operations28.py | rprops/Python_DS-WS | b2fc449a74be0c82863e5fcf1ddbe7d64976d530 | [
"BSD-3-Clause"
] | 65 | 2017-03-21T09:15:40.000Z | 2022-02-01T23:43:08.000Z | notebooks/_solutions/pandas_02_basic_operations28.py | rprops/Python_DS-WS | b2fc449a74be0c82863e5fcf1ddbe7d64976d530 | [
"BSD-3-Clause"
] | 100 | 2016-12-15T03:44:06.000Z | 2022-03-07T08:14:07.000Z | notebooks/_solutions/pandas_02_basic_operations28.py | rprops/Python_DS-WS | b2fc449a74be0c82863e5fcf1ddbe7d64976d530 | [
"BSD-3-Clause"
] | 52 | 2016-12-19T07:48:52.000Z | 2022-02-19T17:53:48.000Z | df['Age'].hist() #bins=30, log=True | 35 | 35 | 0.628571 | 7 | 35 | 3.142857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060606 | 0.057143 | 35 | 1 | 35 | 35 | 0.606061 | 0.485714 | 0 | 0 | 0 | 0 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0a616ab1db1fb980b42809561222fc9a899b77c4 | 153 | py | Python | mikan/exceptions.py | dzzhvks94vd2/mikan | 569b331cff02a089721fd6d0a430d5c2812b4934 | [
"MIT"
] | 1 | 2021-12-31T23:56:21.000Z | 2021-12-31T23:56:21.000Z | mikan/exceptions.py | dzzhvks94vd2/mikan | 569b331cff02a089721fd6d0a430d5c2812b4934 | [
"MIT"
] | null | null | null | mikan/exceptions.py | dzzhvks94vd2/mikan | 569b331cff02a089721fd6d0a430d5c2812b4934 | [
"MIT"
] | null | null | null | class MikanException(Exception):
"""Generic Mikan exception"""
class ConversionError(MikanException, ValueError):
"""Cannot convert a string"""
| 25.5 | 50 | 0.738562 | 14 | 153 | 8.071429 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137255 | 153 | 5 | 51 | 30.6 | 0.856061 | 0.30719 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
6a5b876bee110f96f947af456cbf93cb78d5e1bc | 94 | py | Python | nflfastpy/errors.py | hchaozhe/nflfastpy | 11e4894d7fee4ff8baac2c08b000a39308b41143 | [
"MIT"
] | 47 | 2020-10-24T10:10:51.000Z | 2022-03-07T19:48:05.000Z | nflfastpy/errors.py | jbf302/nflfastpy | c1e2365966e0f0f8efeb651be804d84caba57807 | [
"MIT"
] | 3 | 2021-05-03T11:58:00.000Z | 2021-11-14T16:17:30.000Z | nflfastpy/errors.py | jbf302/nflfastpy | c1e2365966e0f0f8efeb651be804d84caba57807 | [
"MIT"
] | 7 | 2020-12-14T15:03:12.000Z | 2021-11-17T23:41:37.000Z | """
Custom exceptions for nflfastpy module
"""
class SeasonNotFoundError(Exception):
pass | 15.666667 | 38 | 0.755319 | 9 | 94 | 7.888889 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148936 | 94 | 6 | 39 | 15.666667 | 0.8875 | 0.404255 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
6a7bee943837f03f68168bdd6b1277bb1e2654a4 | 268 | py | Python | db.py | RunnerPro/RunnerProApi | 2e0aba17cba2a019b6d102bc4eac2fd60f164156 | [
"MIT"
] | null | null | null | db.py | RunnerPro/RunnerProApi | 2e0aba17cba2a019b6d102bc4eac2fd60f164156 | [
"MIT"
] | null | null | null | db.py | RunnerPro/RunnerProApi | 2e0aba17cba2a019b6d102bc4eac2fd60f164156 | [
"MIT"
] | null | null | null | from sqlalchemy import create_engine
from sqlalchemy.orm import scoped_session
from sqlalchemy.orm import sessionmaker
from settings import DB_URI
Session = sessionmaker(autocommit=False, autoflush=False, bind=create_engine(DB_URI))
session = scoped_session(Session)
| 33.5 | 85 | 0.850746 | 36 | 268 | 6.166667 | 0.444444 | 0.189189 | 0.153153 | 0.207207 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093284 | 268 | 7 | 86 | 38.285714 | 0.91358 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
6a8e0d766c7cdfdc409946fd3a6196d6981baf1d | 55 | py | Python | python/testData/resolve/TryExceptElse.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/resolve/TryExceptElse.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/resolve/TryExceptElse.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | try:
name = ""
except:
pass
else:
print na<ref>me | 9.166667 | 17 | 0.6 | 9 | 55 | 3.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.254545 | 55 | 6 | 17 | 9.166667 | 0.804878 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.166667 | 0 | null | null | 0.166667 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
6a92b244776a352d3c8cb2387f8e203d0ce669c3 | 22 | py | Python | avatar/__init__.py | yogeshkheri/geonode-avatar | 293474f814117ae680278223c8cdf8d59c67862d | [
"BSD-3-Clause"
] | 3 | 2021-10-17T20:37:40.000Z | 2022-03-17T10:29:14.000Z | avatar/__init__.py | yogeshkheri/geonode-avatar | 293474f814117ae680278223c8cdf8d59c67862d | [
"BSD-3-Clause"
] | 4 | 2021-09-02T13:26:11.000Z | 2022-03-16T12:26:36.000Z | avatar/__init__.py | yogeshkheri/geonode-avatar | 293474f814117ae680278223c8cdf8d59c67862d | [
"BSD-3-Clause"
] | null | null | null | __version__ = '5.0.2'
| 11 | 21 | 0.636364 | 4 | 22 | 2.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 0.136364 | 22 | 1 | 22 | 22 | 0.368421 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
6aa2b3de5b891e225cac65fc5b3ebe31165e5ef6 | 63 | py | Python | svd/core/exc.py | epicosy/svd | baa91f57ee5bd51b0140d9d0b1b97ce39f18acc4 | [
"MIT"
] | null | null | null | svd/core/exc.py | epicosy/svd | baa91f57ee5bd51b0140d9d0b1b97ce39f18acc4 | [
"MIT"
] | null | null | null | svd/core/exc.py | epicosy/svd | baa91f57ee5bd51b0140d9d0b1b97ce39f18acc4 | [
"MIT"
] | null | null | null |
class SVDError(Exception):
"""Generic errors."""
pass
| 12.6 | 26 | 0.619048 | 6 | 63 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 63 | 4 | 27 | 15.75 | 0.795918 | 0.238095 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
6aa4b1f3d6675f767aaa7329c04a4c62bcde0e63 | 232 | py | Python | v1/status_updates/urls.py | DucPhamTV/Bank | 4905ec7d63ef4daafe2119bf6b32928d4db2d4f2 | [
"MIT"
] | 94 | 2020-07-12T23:08:47.000Z | 2022-03-05T14:00:01.000Z | v1/status_updates/urls.py | DucPhamTV/Bank | 4905ec7d63ef4daafe2119bf6b32928d4db2d4f2 | [
"MIT"
] | 84 | 2020-07-13T23:30:50.000Z | 2022-03-15T15:47:46.000Z | v1/status_updates/urls.py | DucPhamTV/Bank | 4905ec7d63ef4daafe2119bf6b32928d4db2d4f2 | [
"MIT"
] | 63 | 2020-07-13T02:46:51.000Z | 2021-11-26T09:29:29.000Z | from rest_framework.routers import SimpleRouter
from .views.upgrade_notice import UpgradeNoticeViewSet
router = SimpleRouter(trailing_slash=False)
router.register('upgrade_notice', UpgradeNoticeViewSet, basename='upgrade_notice')
| 33.142857 | 82 | 0.857759 | 25 | 232 | 7.76 | 0.64 | 0.201031 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 232 | 6 | 83 | 38.666667 | 0.898148 | 0 | 0 | 0 | 0 | 0 | 0.12069 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
6aae27568c85842fa9dbea1ace5c81d9190ab20e | 12,603 | py | Python | glance/tests/functional/test_api.py | arvindn05/glance | 055d15a6ba5d132f649156eac0fc91f4cd2813e4 | [
"Apache-2.0"
] | null | null | null | glance/tests/functional/test_api.py | arvindn05/glance | 055d15a6ba5d132f649156eac0fc91f4cd2813e4 | [
"Apache-2.0"
] | null | null | null | glance/tests/functional/test_api.py | arvindn05/glance | 055d15a6ba5d132f649156eac0fc91f4cd2813e4 | [
"Apache-2.0"
] | null | null | null | # Copyright 2012 OpenStack Foundation
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless requ... | 39.261682 | 78 | 0.614933 | 1,536 | 12,603 | 4.897786 | 0.120443 | 0.063804 | 0.014622 | 0.017546 | 0.793301 | 0.768045 | 0.721521 | 0.706367 | 0.677788 | 0.666091 | 0 | 0.027053 | 0.246211 | 12,603 | 320 | 79 | 39.384375 | 0.764842 | 0.190669 | 0 | 0.5625 | 0 | 0 | 0.124477 | 0.014488 | 0 | 0 | 0 | 0.003125 | 0.153846 | 1 | 0.105769 | false | 0 | 0.019231 | 0 | 0.149038 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0a82a3ff8df3d7d05c880b80e09b0d2ae4679de0 | 16,834 | py | Python | ruleex/hypinv/model.py | rohancode/ruleex_modified | ec974e7811fafc0c06d4d2c53b4e2898dd6b7305 | [
"Apache-2.0"
] | 18 | 2019-09-19T09:50:52.000Z | 2022-03-20T13:59:20.000Z | ruleex/hypinv/model.py | rohancode/ruleex_modified | ec974e7811fafc0c06d4d2c53b4e2898dd6b7305 | [
"Apache-2.0"
] | 3 | 2020-10-31T05:15:32.000Z | 2022-02-10T00:34:05.000Z | ruleex/hypinv/model.py | rohancode/ruleex_modified | ec974e7811fafc0c06d4d2c53b4e2898dd6b7305 | [
"Apache-2.0"
] | 7 | 2020-12-06T20:55:50.000Z | 2021-12-11T18:14:51.000Z | from gtrain import Model
import numpy as np
import tensorflow as tf
class NetForHypinv(Model):
"""
Implementaion of the crutial function for the HypINV algorithm.
Warning: Do not use this class but implement its subclass, for example see FCNetForHypinv
"""
def __init__(self, weights):
self... | 45.010695 | 159 | 0.594214 | 2,283 | 16,834 | 4.142357 | 0.096364 | 0.026647 | 0.021148 | 0.031723 | 0.769271 | 0.744528 | 0.716824 | 0.711113 | 0.69134 | 0.663424 | 0 | 0.014812 | 0.294167 | 16,834 | 373 | 160 | 45.131367 | 0.781097 | 0.13342 | 0 | 0.662116 | 0 | 0 | 0.032796 | 0.003057 | 0 | 0 | 0 | 0 | 0 | 1 | 0.109215 | false | 0.013652 | 0.010239 | 0.027304 | 0.1843 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0a9876a51a89bf0aa93f351a61986d7fa1facb0f | 211 | py | Python | tests/asp/weakConstraints/testcase13.bug.weakconstraints.gringo.test.py | bernardocuteri/wasp | 05c8f961776dbdbf7afbf905ee00fc262eba51ad | [
"Apache-2.0"
] | 19 | 2015-12-03T08:53:45.000Z | 2022-03-31T02:09:43.000Z | tests/asp/weakConstraints/testcase13.bug.weakconstraints.gringo.test.py | bernardocuteri/wasp | 05c8f961776dbdbf7afbf905ee00fc262eba51ad | [
"Apache-2.0"
] | 80 | 2017-11-25T07:57:32.000Z | 2018-06-10T19:03:30.000Z | tests/asp/weakConstraints/testcase13.bug.weakconstraints.gringo.test.py | bernardocuteri/wasp | 05c8f961776dbdbf7afbf905ee00fc262eba51ad | [
"Apache-2.0"
] | 6 | 2015-01-15T07:51:48.000Z | 2020-06-18T14:47:48.000Z | input = """
2 18 3 0 3 19 20 21
1 1 1 0 18
2 23 3 0 3 19 24 25
1 1 2 1 21 23
3 5 21 19 20 24 25 0 0
6 0 5 5 21 19 20 24 25 1 1 1 1 1
0
21 a
19 b
20 c
24 d
25 e
28 f
0
B+
0
B-
1
0
1
"""
output = """
COST 1@1
"""
| 8.115385 | 32 | 0.540284 | 75 | 211 | 1.52 | 0.306667 | 0.140351 | 0.105263 | 0.087719 | 0.192982 | 0.192982 | 0 | 0 | 0 | 0 | 0 | 0.694656 | 0.379147 | 211 | 25 | 33 | 8.44 | 0.175573 | 0 | 0 | 0.08 | 0 | 0 | 0.853081 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0ac88c66372990e2da39877dd262a4baa72b4bfd | 791 | py | Python | yxtx/myApp/migrations/0017_chat.py | wjh112233/yxtx | f118c2b9983ca48b099f2c328487e23f5430303f | [
"Apache-2.0"
] | null | null | null | yxtx/myApp/migrations/0017_chat.py | wjh112233/yxtx | f118c2b9983ca48b099f2c328487e23f5430303f | [
"Apache-2.0"
] | null | null | null | yxtx/myApp/migrations/0017_chat.py | wjh112233/yxtx | f118c2b9983ca48b099f2c328487e23f5430303f | [
"Apache-2.0"
] | null | null | null | # Generated by Django 3.0.2 on 2020-03-17 08:44
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('myApp', '0016_usergroup_buyer'),
]
operations = [
migrations.CreateModel(
name='Chat',
fields=[
('id... | 30.423077 | 91 | 0.556258 | 80 | 791 | 5.375 | 0.6 | 0.244186 | 0.293023 | 0.390698 | 0.24186 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072464 | 0.302149 | 791 | 25 | 92 | 31.64 | 0.706522 | 0.05689 | 0 | 0 | 1 | 0 | 0.087366 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.052632 | 0 | 0.210526 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e4011ff0a2fe000023c186be9341efbe90bde007 | 57 | py | Python | formfyxer/__init__.py | SuffolkLITLab/FormFyxer | 00a6a70b30f1899fc5273de1001f1f57c3728f60 | [
"MIT"
] | 1 | 2022-03-07T23:22:00.000Z | 2022-03-07T23:22:00.000Z | formfyxer/__init__.py | SuffolkLITLab/FormFyxer | 00a6a70b30f1899fc5273de1001f1f57c3728f60 | [
"MIT"
] | 32 | 2022-02-10T17:33:58.000Z | 2022-03-23T18:27:08.000Z | formfyxer/__init__.py | SuffolkLITLab/FormFyxer | 00a6a70b30f1899fc5273de1001f1f57c3728f60 | [
"MIT"
] | null | null | null | from .lit_explorer import *
from .pdf_wrangling import *
| 19 | 28 | 0.789474 | 8 | 57 | 5.375 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140351 | 57 | 2 | 29 | 28.5 | 0.877551 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
7c0e9d465eeddf2a8eeee673a92ff1e660a22216 | 57 | py | Python | plans/config.py | datopian/plans | 12bd9ff6f725703e7a73f3ad90680f5ade8cebdf | [
"MIT"
] | 3 | 2019-11-18T12:04:27.000Z | 2020-03-07T02:45:45.000Z | plans/config.py | datopian/plans | 12bd9ff6f725703e7a73f3ad90680f5ade8cebdf | [
"MIT"
] | null | null | null | plans/config.py | datopian/plans | 12bd9ff6f725703e7a73f3ad90680f5ade8cebdf | [
"MIT"
] | null | null | null | import os
database_url = os.environ.get('DATABASE_URL')
| 14.25 | 45 | 0.77193 | 9 | 57 | 4.666667 | 0.666667 | 0.52381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 57 | 3 | 46 | 19 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
7c2377aec1cdd1edd01522b34885f68b9680468a | 82 | py | Python | src/app/database/__init__.py | roch1990/aiohttp-blog | 32e7b76b5b293d4517631ea82dfa2b268a1662eb | [
"MIT"
] | 20 | 2020-02-29T19:03:31.000Z | 2022-02-18T21:13:12.000Z | src/app/database/__init__.py | roch1990/aiohttp-blog | 32e7b76b5b293d4517631ea82dfa2b268a1662eb | [
"MIT"
] | 465 | 2020-02-29T19:08:18.000Z | 2022-03-18T22:21:49.000Z | src/app/database/__init__.py | roch1990/aiohttp-blog | 32e7b76b5b293d4517631ea82dfa2b268a1662eb | [
"MIT"
] | 26 | 2020-11-26T09:00:03.000Z | 2022-02-16T04:20:53.000Z | from sqlalchemy.ext.declarative import declarative_base
Base = declarative_base() | 27.333333 | 55 | 0.853659 | 10 | 82 | 6.8 | 0.6 | 0.441176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085366 | 82 | 3 | 56 | 27.333333 | 0.906667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
7c2914b1e959a72c6f1d255196bf2c603b057db4 | 210 | py | Python | crop/source_selection/__init__.py | Lars-H/federated_crop | 8e936926462aa5df5a9b8e6b42b061a3623fddf4 | [
"MIT"
] | null | null | null | crop/source_selection/__init__.py | Lars-H/federated_crop | 8e936926462aa5df5a9b8e6b42b061a3623fddf4 | [
"MIT"
] | null | null | null | crop/source_selection/__init__.py | Lars-H/federated_crop | 8e936926462aa5df5a9b8e6b42b061a3623fddf4 | [
"MIT"
] | null | null | null | from naive import NaiveSourceSelection
from star_based import StarBasedSourceSelection
from utils import AskSourceSelector, HybridSourceSelector, StatSourceSelector
from charset_selector import CharSet_Selector | 52.5 | 77 | 0.909524 | 21 | 210 | 8.952381 | 0.619048 | 0.159574 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080952 | 210 | 4 | 78 | 52.5 | 0.974093 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
7c3807604ed0426c85cf8213a4cc8c2bb059e44c | 214 | py | Python | py/sentry_data_schemas/__init__.py | getsentry/sentry-data-schemas | 6b49188a66a24663737c4f5cf4708fe992d011c2 | [
"MIT"
] | 7 | 2020-08-07T18:26:29.000Z | 2021-08-02T18:31:53.000Z | py/sentry_data_schemas/__init__.py | getsentry/sentry-data-schemas | 6b49188a66a24663737c4f5cf4708fe992d011c2 | [
"MIT"
] | 2 | 2020-12-10T17:28:39.000Z | 2021-09-16T13:52:07.000Z | py/sentry_data_schemas/__init__.py | getsentry/sentry-data-schemas | 6b49188a66a24663737c4f5cf4708fe992d011c2 | [
"MIT"
] | 4 | 2020-09-10T18:10:06.000Z | 2021-03-02T11:07:37.000Z | from importlib.resources import path
from jsonschema_typed import JSONSchema
with path("sentry_data_schemas", "event.schema.json") as schema_path:
EventData = JSONSchema["var:sentry_data_schemas:schema_path"]
| 35.666667 | 69 | 0.817757 | 29 | 214 | 5.793103 | 0.586207 | 0.119048 | 0.202381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098131 | 214 | 5 | 70 | 42.8 | 0.870466 | 0 | 0 | 0 | 0 | 0 | 0.331776 | 0.163551 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
7c3f32514a25840c1ebcbe049a42682f11ad8a25 | 160 | py | Python | images/forms.py | mpgarate/OST-fauxra | d2aa554a082b14268c72220a0b19f2a306deb4d2 | [
"MIT"
] | 1 | 2019-11-24T09:13:00.000Z | 2019-11-24T09:13:00.000Z | images/forms.py | ikechukwuhenry/OST-fauxra | d2aa554a082b14268c72220a0b19f2a306deb4d2 | [
"MIT"
] | null | null | null | images/forms.py | ikechukwuhenry/OST-fauxra | d2aa554a082b14268c72220a0b19f2a306deb4d2 | [
"MIT"
] | 1 | 2018-08-15T16:03:29.000Z | 2018-08-15T16:03:29.000Z | from django import forms
from django.forms import ModelForm
from images.models import Image
class ImageForm(ModelForm):
class Meta:
model = Image
| 17.777778 | 34 | 0.75 | 21 | 160 | 5.714286 | 0.571429 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.20625 | 160 | 8 | 35 | 20 | 0.944882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
7c5207cb66825a5b72fe13d9cb2fcbddac1440f5 | 412,069 | py | Python | snmp/nav/smidumps/ZyXEL_GS4012F_mib.py | alexanderfefelov/nav-add-ons | c63d6942a9b8b1bf220efd7d33fb6be5f6bbb8af | [
"MIT"
] | null | null | null | snmp/nav/smidumps/ZyXEL_GS4012F_mib.py | alexanderfefelov/nav-add-ons | c63d6942a9b8b1bf220efd7d33fb6be5f6bbb8af | [
"MIT"
] | 17 | 2020-09-17T15:00:31.000Z | 2021-06-05T02:54:34.000Z | snmp/nav/smidumps/ZyXEL_GS4012F_mib.py | alexanderfefelov/nav-add-ons | c63d6942a9b8b1bf220efd7d33fb6be5f6bbb8af | [
"MIT"
] | null | null | null | # python version 1.0 DO NOT EDIT
#
# Generated by smidump version 0.4.8:
#
# smidump -f python ZYXEL-GS4012F-MIB
FILENAME = "mibs/ZyXEL/zyxel-GS4012F.mib"
MIB = {
"moduleName" : "ZYXEL-GS4012F-MIB",
"ZYXEL-GS4012F-MIB" : {
"nodetype" : "module",
"language" : "SMIv2",
"organizat... | 36.095743 | 154 | 0.372015 | 33,176 | 412,069 | 4.619906 | 0.05504 | 0.011848 | 0.083872 | 0.133588 | 0.750251 | 0.716957 | 0.701468 | 0.68592 | 0.663287 | 0.649703 | 0 | 0.093565 | 0.453744 | 412,069 | 11,415 | 155 | 36.098905 | 0.587348 | 0.013051 | 0 | 0.575068 | 1 | 0.073799 | 0.373645 | 0.089938 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.000181 | 0.000091 | 0 | 0.000091 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7c607c9719bd98d3bde94fd9eadb9fd81b05f7b7 | 116 | py | Python | service/__init__.py | 2890841438/fast-index.py | fa59f38ed009b4bdf5dbf27d8619d31f8b681118 | [
"MIT"
] | 4 | 2020-09-05T03:18:44.000Z | 2020-09-15T05:56:54.000Z | utils/__init__.py | 2890841438/fast-index.py | fa59f38ed009b4bdf5dbf27d8619d31f8b681118 | [
"MIT"
] | null | null | null | utils/__init__.py | 2890841438/fast-index.py | fa59f38ed009b4bdf5dbf27d8619d31f8b681118 | [
"MIT"
] | null | null | null | # -*- coding = utf-8 -*-
# @Time: 2020/9/4 18:52
# @Author: dimples_yj
# @File: __init__.py.py
# @Software: PyCharm
| 19.333333 | 24 | 0.612069 | 18 | 116 | 3.666667 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113402 | 0.163793 | 116 | 5 | 25 | 23.2 | 0.56701 | 0.905172 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7c7664cf829c84ce53f7c105e72a7861e60af5ad | 1,971 | py | Python | test/test_files.py | wanasit/labelling-notebook | c9e7f6895cd4672e3b5af603bdddf08246d35094 | [
"MIT"
] | null | null | null | test/test_files.py | wanasit/labelling-notebook | c9e7f6895cd4672e3b5af603bdddf08246d35094 | [
"MIT"
] | null | null | null | test/test_files.py | wanasit/labelling-notebook | c9e7f6895cd4672e3b5af603bdddf08246d35094 | [
"MIT"
] | null | null | null | def test_list_example_directory(client):
response = client.get("/api/files")
assert response.status_code == 200
file_list = response.get_json()
assert len(file_list) == 5
assert file_list[0]['key'] == 'image_annotated.jpg'
assert file_list[1]['key'] == 'image.jpg'
assert file_list[2]['key']... | 31.285714 | 70 | 0.67377 | 279 | 1,971 | 4.562724 | 0.168459 | 0.069128 | 0.157109 | 0.188531 | 0.860958 | 0.731343 | 0.606441 | 0.571877 | 0.564808 | 0.564808 | 0 | 0.033784 | 0.174023 | 1,971 | 62 | 71 | 31.790323 | 0.748157 | 0 | 0 | 0.466667 | 0 | 0 | 0.23034 | 0.139523 | 0 | 0 | 0 | 0 | 0.511111 | 1 | 0.111111 | false | 0 | 0 | 0 | 0.111111 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7c8d38953001878c9a523157e3f09b0df0983623 | 913 | py | Python | manga_py/providers/doujins_com.py | paulolimac/manga-py | 3d180846750a4e770b5024eb8cd15629362875b1 | [
"MIT"
] | 1 | 2020-11-19T00:40:49.000Z | 2020-11-19T00:40:49.000Z | manga_py/providers/doujins_com.py | paulolimac/manga-py | 3d180846750a4e770b5024eb8cd15629362875b1 | [
"MIT"
] | null | null | null | manga_py/providers/doujins_com.py | paulolimac/manga-py | 3d180846750a4e770b5024eb8cd15629362875b1 | [
"MIT"
] | null | null | null | from manga_py.provider import Provider
from .helpers.std import Std
class DoujinsCom(Provider, Std):
img_selector = '#image-container img.doujin'
def get_archive_name(self) -> str:
return 'archive'
def get_chapter_index(self) -> str:
return '0'
def get_main_content(self):
re... | 23.410256 | 73 | 0.634173 | 120 | 913 | 4.6 | 0.4 | 0.076087 | 0.094203 | 0.061594 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001435 | 0.236583 | 913 | 38 | 74 | 24.026316 | 0.790531 | 0.009858 | 0 | 0 | 0 | 0 | 0.087583 | 0 | 0 | 0 | 0 | 0.026316 | 0 | 1 | 0.375 | false | 0.041667 | 0.083333 | 0.291667 | 0.875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
7c9293b09122efb5181f7494471359a909feb339 | 201 | py | Python | 2650-construindo-muralhas.py | ErickSimoes/URI-Online-Judge | 7e6f141db2647b1d0d69951b064bd95b0ce4ba1a | [
"MIT"
] | null | null | null | 2650-construindo-muralhas.py | ErickSimoes/URI-Online-Judge | 7e6f141db2647b1d0d69951b064bd95b0ce4ba1a | [
"MIT"
] | null | null | null | 2650-construindo-muralhas.py | ErickSimoes/URI-Online-Judge | 7e6f141db2647b1d0d69951b064bd95b0ce4ba1a | [
"MIT"
] | 1 | 2019-10-29T16:51:29.000Z | 2019-10-29T16:51:29.000Z | # -*- coding: utf-8 -*-
n, w = map(int, input().split())
for _ in range(n):
entrada = input()
last_space = entrada.rfind(' ')
if int(entrada[last_space:]) > w:
print(entrada[:last_space])
| 20.1 | 36 | 0.59204 | 29 | 201 | 3.965517 | 0.62069 | 0.234783 | 0.278261 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006173 | 0.19403 | 201 | 9 | 37 | 22.333333 | 0.703704 | 0.104478 | 0 | 0 | 0 | 0 | 0.005618 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7cafa8674f41ef3d6dc02a39822b470f9b548e16 | 334 | py | Python | code/0-input/create_hdf5/check_hdf5.py | AvinWangZH/3D-convolutional-speaker-recognition | 61969eb2dba6004bdecb4f7100047015ca665348 | [
"Apache-2.0"
] | 1 | 2021-04-04T17:08:05.000Z | 2021-04-04T17:08:05.000Z | code/0-input/create_hdf5/check_hdf5.py | subvin/3D-convolutional-speaker-recognition | 61969eb2dba6004bdecb4f7100047015ca665348 | [
"Apache-2.0"
] | null | null | null | code/0-input/create_hdf5/check_hdf5.py | subvin/3D-convolutional-speaker-recognition | 61969eb2dba6004bdecb4f7100047015ca665348 | [
"Apache-2.0"
] | null | null | null | import tables
import numpy as np
import matplotlib.pyplot as plt
# Reading the file.
fileh = tables.open_file('development.hdf5', mode='r')
# Dimentionality of the data structure.
print(fileh.root.utterance_test.shape)
print(fileh.root.utterance_train.shape)
print(fileh.root.label_train.shape)
print(fileh.root.label_... | 22.266667 | 54 | 0.796407 | 51 | 334 | 5.117647 | 0.54902 | 0.153257 | 0.214559 | 0.218391 | 0.222222 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0.003311 | 0.095808 | 334 | 14 | 55 | 23.857143 | 0.860927 | 0.164671 | 0 | 0 | 0 | 0 | 0.062044 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.375 | 0 | 0.375 | 0.5 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 4 |
7cbb1dd15de4d3e88890e2caf26d07b7deb3f4b0 | 152 | py | Python | reservation/urls.py | aryamanak10/diner-restaurant-website | 6d2d9de89a73c5535ebf782c4d8bbfc6ca9489fc | [
"MIT"
] | 1 | 2020-05-07T17:18:36.000Z | 2020-05-07T17:18:36.000Z | reservation/urls.py | aryamanak10/Restaurant-Site-using-Django | 6d2d9de89a73c5535ebf782c4d8bbfc6ca9489fc | [
"MIT"
] | null | null | null | reservation/urls.py | aryamanak10/Restaurant-Site-using-Django | 6d2d9de89a73c5535ebf782c4d8bbfc6ca9489fc | [
"MIT"
] | null | null | null | from django.urls import path
from . import views
app_name = 'reservation'
urlpatterns = [
path('', views.reserve_table, name = 'reserve_table'),
] | 19 | 58 | 0.710526 | 19 | 152 | 5.526316 | 0.631579 | 0.228571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164474 | 152 | 8 | 59 | 19 | 0.826772 | 0 | 0 | 0 | 0 | 0 | 0.156863 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
7cd0a40cffa8dae1e2b1f6c63ccd1a5c2242724b | 86 | py | Python | week03/code05.py | byeongal/KMUCP | 5bafe02c40aae67fc53d9e6cdcb727929368587e | [
"MIT"
] | null | null | null | week03/code05.py | byeongal/KMUCP | 5bafe02c40aae67fc53d9e6cdcb727929368587e | [
"MIT"
] | null | null | null | week03/code05.py | byeongal/KMUCP | 5bafe02c40aae67fc53d9e6cdcb727929368587e | [
"MIT"
] | 1 | 2019-11-27T20:28:19.000Z | 2019-11-27T20:28:19.000Z | input_str = input("문자열을 입력해 주세요. >> ")
print("입력받은 문자열의 길이는", len(input_str), "입니다.")
| 28.666667 | 46 | 0.639535 | 14 | 86 | 3.785714 | 0.785714 | 0.301887 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139535 | 86 | 2 | 47 | 43 | 0.716216 | 0 | 0 | 0 | 0 | 0 | 0.395349 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
7cd9e1b23df0b17b32715fc652a510c5c85b28ff | 372 | py | Python | python/test-nose-3.py | li-ma/homework | d75b1752a02bd028af0806683abe079c7b0a9b29 | [
"Apache-2.0"
] | null | null | null | python/test-nose-3.py | li-ma/homework | d75b1752a02bd028af0806683abe079c7b0a9b29 | [
"Apache-2.0"
] | null | null | null | python/test-nose-3.py | li-ma/homework | d75b1752a02bd028af0806683abe079c7b0a9b29 | [
"Apache-2.0"
] | null | null | null | # Module Level
def setUp():
print 'test setup'
def tearDown():
print 'test teardown'
# Function Level
def func_1_setup():
print 'test_func_1 setup'
def func_1_teardown():
print 'test_func_1_teardown'
# Target Func
def test_func_1():
print 'test_func_1 run'
assert True
test_func_1.setUp = f... | 15.5 | 38 | 0.72043 | 59 | 372 | 4.186441 | 0.237288 | 0.202429 | 0.218623 | 0.17004 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033333 | 0.193548 | 372 | 23 | 39 | 16.173913 | 0.79 | 0.104839 | 0 | 0 | 0 | 0 | 0.228659 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0 | null | null | 0 | 0 | null | null | 0.384615 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7ce786042f57d81a5644876d6657fee00934ca96 | 154 | py | Python | day7/main5list.py | nikhilsamninan/python-files | 15198459081097058a939b40b5e8ef754e578fe0 | [
"Apache-2.0"
] | null | null | null | day7/main5list.py | nikhilsamninan/python-files | 15198459081097058a939b40b5e8ef754e578fe0 | [
"Apache-2.0"
] | null | null | null | day7/main5list.py | nikhilsamninan/python-files | 15198459081097058a939b40b5e8ef754e578fe0 | [
"Apache-2.0"
] | null | null | null | a="Betty Bought a butter the butter was bitter so betty bought a better butter which was not bitter"
v=[a[-1] for a in a.split() if(len(a)%2==0)]
print(v) | 51.333333 | 100 | 0.707792 | 34 | 154 | 3.205882 | 0.617647 | 0.201835 | 0.220183 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023077 | 0.155844 | 154 | 3 | 101 | 51.333333 | 0.815385 | 0 | 0 | 0 | 0 | 0 | 0.619355 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7ceacff0df961aecfe4df023a30c5731860a145d | 181 | py | Python | waio/factory/models/basic.py | dotX12/waio | 6bc41df2d650f31fdb11a1a2b67c6149afa0e11a | [
"MIT"
] | 24 | 2021-11-08T13:37:05.000Z | 2022-03-24T12:49:54.000Z | waio/factory/models/basic.py | dotX12/waio | 6bc41df2d650f31fdb11a1a2b67c6149afa0e11a | [
"MIT"
] | 1 | 2022-01-19T03:11:58.000Z | 2022-01-19T03:13:30.000Z | waio/factory/models/basic.py | dotX12/waio | 6bc41df2d650f31fdb11a1a2b67c6149afa0e11a | [
"MIT"
] | 5 | 2021-11-11T04:11:12.000Z | 2022-02-15T10:41:58.000Z | from dataclasses import dataclass
@dataclass
class PayloadSender:
phone: int
name: str
@dataclass
class PayloadBaseModel:
sender: PayloadSender
payload_id: str
| 12.066667 | 33 | 0.740331 | 19 | 181 | 7 | 0.736842 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.21547 | 181 | 14 | 34 | 12.928571 | 0.93662 | 0 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.111111 | 0 | 0.777778 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
7cfbb1bacec44e19e996fa070cd83150534767b0 | 1,000 | py | Python | src/scs_host/sys/host_gpi.py | south-coast-science/scs_host_rpi | a02afde3fd2e1f2b8c6dc08beef8c74039108a64 | [
"MIT"
] | null | null | null | src/scs_host/sys/host_gpi.py | south-coast-science/scs_host_rpi | a02afde3fd2e1f2b8c6dc08beef8c74039108a64 | [
"MIT"
] | 1 | 2020-07-13T14:54:08.000Z | 2020-11-16T10:11:04.000Z | src/scs_host/sys/host_gpi.py | south-coast-science/scs_host_rpi | a02afde3fd2e1f2b8c6dc08beef8c74039108a64 | [
"MIT"
] | 2 | 2017-11-07T16:59:02.000Z | 2019-09-29T15:39:37.000Z | """
Created on 12 May 2017
@author: Bruno Beloff (bruno.beloff@southcoastscience.com)
"""
from scs_host.sys.host_gpio import HostGPIO
# --------------------------------------------------------------------------------------------------------------------
# noinspection PyUnusedLocal,PyAbstractClass
class HostGPI(Hos... | 25 | 118 | 0.346 | 52 | 1,000 | 6.461538 | 0.692308 | 0.285714 | 0.160714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007009 | 0.144 | 1,000 | 39 | 119 | 25.641026 | 0.385514 | 0.592 | 0 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.363636 | false | 0 | 0.090909 | 0 | 0.545455 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
6b118e0b32f87f7166e7bc08391802d99b019d48 | 237 | py | Python | leetcode/1672 Richest Customer Wealth.py | jaredliw/python-question-bank | 9c8c246623d8d171f875700b57772df0afcbdcdf | [
"MIT"
] | 1 | 2021-04-08T07:49:15.000Z | 2021-04-08T07:49:15.000Z | leetcode/1672 Richest Customer Wealth.py | jaredliw/leetcode-solutions | 9c8c246623d8d171f875700b57772df0afcbdcdf | [
"MIT"
] | null | null | null | leetcode/1672 Richest Customer Wealth.py | jaredliw/leetcode-solutions | 9c8c246623d8d171f875700b57772df0afcbdcdf | [
"MIT"
] | 1 | 2022-01-23T02:12:24.000Z | 2022-01-23T02:12:24.000Z | class Solution(object):
def maximumWealth(self, accounts):
"""
:type accounts: List[List[int]]
:rtype: int
"""
# Runtime: 36 ms
# Memory: 13.5 MB
return max(map(sum, accounts))
| 23.7 | 39 | 0.518987 | 26 | 237 | 4.730769 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032468 | 0.350211 | 237 | 9 | 40 | 26.333333 | 0.766234 | 0.316456 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
6b22ef64a2b0a516b9dfe5541aa85e77c40a249c | 106 | py | Python | apps/interface/settings/config.py | rainydaygit/testtcloudserver | 8037603efe4502726a4d794fb1fc0a3f3cc80137 | [
"MIT"
] | 349 | 2020-08-04T10:21:01.000Z | 2022-03-23T08:31:29.000Z | apps/interface/settings/config.py | rainydaygit/testtcloudserver | 8037603efe4502726a4d794fb1fc0a3f3cc80137 | [
"MIT"
] | 2 | 2021-01-07T06:17:05.000Z | 2021-04-01T06:01:30.000Z | apps/interface/settings/config.py | rainydaygit/testtcloudserver | 8037603efe4502726a4d794fb1fc0a3f3cc80137 | [
"MIT"
] | 70 | 2020-08-24T06:46:14.000Z | 2022-03-25T13:23:27.000Z | try:
from public_config import *
except ImportError:
pass
PORT = 9028
SERVICE_NAME = 'interface'
| 13.25 | 31 | 0.716981 | 13 | 106 | 5.692308 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.048193 | 0.216981 | 106 | 7 | 32 | 15.142857 | 0.843373 | 0 | 0 | 0 | 0 | 0 | 0.084906 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.166667 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 4 |
6b387e13117dba7e993918eb8dcf86f67409ab84 | 1,548 | py | Python | test/test_contact_in_group.py | anastas11a/python_training | 1daceddb193d92542f7f7313026a7e67af4d89bb | [
"Apache-2.0"
] | null | null | null | test/test_contact_in_group.py | anastas11a/python_training | 1daceddb193d92542f7f7313026a7e67af4d89bb | [
"Apache-2.0"
] | null | null | null | test/test_contact_in_group.py | anastas11a/python_training | 1daceddb193d92542f7f7313026a7e67af4d89bb | [
"Apache-2.0"
] | null | null | null | from model.contact import Contact
from model.group import Group
import random
def test_add_contact_in_group(app, db):
app.open_home_page()
contact = db.get_contact_list()
if len(contact) == 0:
app.contact.create(Contact(firstname = "test firstname changed"))
group = db.get_group_list()
if l... | 29.207547 | 73 | 0.709302 | 236 | 1,548 | 4.360169 | 0.148305 | 0.06414 | 0.08552 | 0.075802 | 0.808552 | 0.750243 | 0.740525 | 0.68999 | 0.68999 | 0.612245 | 0 | 0.003934 | 0.178941 | 1,548 | 52 | 74 | 29.769231 | 0.805665 | 0 | 0 | 0.666667 | 0 | 0 | 0.033876 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 1 | 0.055556 | false | 0 | 0.083333 | 0 | 0.138889 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
860a02e12fea480e4c4b823d5c9ef02e0bf6f4a4 | 53 | py | Python | example_bots/any_to_any/__init__.py | budacom/trading-bots | 9ac362cc21ce185e7b974bf9bcc7480ff9c6b2aa | [
"MIT"
] | 21 | 2018-08-10T16:45:21.000Z | 2022-01-25T13:04:07.000Z | example_bots/any_to_any/__init__.py | rob-Hitchens/trading-bots | 16d53be0c32b45bee0520d8192629ade09727e24 | [
"MIT"
] | 6 | 2018-07-18T15:34:32.000Z | 2021-02-02T21:59:04.000Z | example_bots/any_to_any/__init__.py | rob-Hitchens/trading-bots | 16d53be0c32b45bee0520d8192629ade09727e24 | [
"MIT"
] | 10 | 2018-10-24T22:14:10.000Z | 2022-02-08T17:21:47.000Z | default_bot = 'example_bots.any_to_any.bot.AnyToAny'
| 26.5 | 52 | 0.830189 | 9 | 53 | 4.444444 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056604 | 53 | 1 | 53 | 53 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.679245 | 0.679245 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
860d477a0db1e737249b6ea5b90c2c542a001e37 | 102 | py | Python | ds.py | tobiichiorigami1/csp | e1f419869a0a1aa3e39aeb5888571267be5d80bd | [
"bzip2-1.0.6"
] | null | null | null | ds.py | tobiichiorigami1/csp | e1f419869a0a1aa3e39aeb5888571267be5d80bd | [
"bzip2-1.0.6"
] | null | null | null | ds.py | tobiichiorigami1/csp | e1f419869a0a1aa3e39aeb5888571267be5d80bd | [
"bzip2-1.0.6"
] | null | null | null | votes_t_shape = [3, 0, 1, 2]
for i in range(6 - 4):
votes_t_shape += [i + 4]
print(votes_t_shape)
| 20.4 | 28 | 0.617647 | 22 | 102 | 2.590909 | 0.636364 | 0.315789 | 0.578947 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0875 | 0.215686 | 102 | 4 | 29 | 25.5 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.25 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
862043a9de9b5c9db7b311f570877aeebbcfcd84 | 59 | py | Python | setup.py | kreyoo/csgo-inv-shuffle | 6392dd1eef1ca87ec25c9cf4845af3f8df3594a5 | [
"MIT"
] | null | null | null | setup.py | kreyoo/csgo-inv-shuffle | 6392dd1eef1ca87ec25c9cf4845af3f8df3594a5 | [
"MIT"
] | 5 | 2021-12-22T19:25:51.000Z | 2022-03-28T19:27:34.000Z | setup.py | kreyoo/csgo-inv-shuffle | 6392dd1eef1ca87ec25c9cf4845af3f8df3594a5 | [
"MIT"
] | null | null | null | from setuptools import setup
setup(name="csgoinvshuffle")
| 14.75 | 28 | 0.813559 | 7 | 59 | 6.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101695 | 59 | 3 | 29 | 19.666667 | 0.90566 | 0 | 0 | 0 | 0 | 0 | 0.237288 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
862c8c299735f25fc3f48ddc79dfdcc178dd4e54 | 606 | py | Python | api/application/__init__.py | 114000/webapp-boilerplate | 0550396694b4f009e5d862b0098bf7d1f61a4a40 | [
"MIT"
] | null | null | null | api/application/__init__.py | 114000/webapp-boilerplate | 0550396694b4f009e5d862b0098bf7d1f61a4a40 | [
"MIT"
] | null | null | null | api/application/__init__.py | 114000/webapp-boilerplate | 0550396694b4f009e5d862b0098bf7d1f61a4a40 | [
"MIT"
] | 1 | 2021-06-10T02:08:30.000Z | 2021-06-10T02:08:30.000Z | # encoding: utf-8
from flask import Flask
from flask_sqlalchemy import SQLAlchemy
from flask_cors import CORS
import logging
app = Flask(__name__)
CORS(app, resources={r"/*": {"origins": "*"}})
app.config.from_object('config.current')
db = SQLAlchemy(app)
logger = logging.getLogger(__name__)
log... | 16.833333 | 47 | 0.729373 | 73 | 606 | 5.890411 | 0.465753 | 0.237209 | 0.267442 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001976 | 0.165017 | 606 | 36 | 48 | 16.833333 | 0.847826 | 0.057756 | 0 | 0 | 0 | 0 | 0.045627 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.588235 | 0 | 0.588235 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
863032b8210dd9655600e6a9f42f0fb08b0f6d53 | 370 | py | Python | script_tests/maf_extract_ranges_indexed_tests.py | lldelisle/bx-python | 19ab41e0905221e3fcaaed4b74faf2d7cda0d15a | [
"MIT"
] | 122 | 2015-07-01T12:00:22.000Z | 2022-03-02T09:27:35.000Z | script_tests/maf_extract_ranges_indexed_tests.py | lldelisle/bx-python | 19ab41e0905221e3fcaaed4b74faf2d7cda0d15a | [
"MIT"
] | 64 | 2015-11-06T21:03:18.000Z | 2022-03-24T00:55:27.000Z | script_tests/maf_extract_ranges_indexed_tests.py | lldelisle/bx-python | 19ab41e0905221e3fcaaed4b74faf2d7cda0d15a | [
"MIT"
] | 60 | 2015-10-05T19:19:36.000Z | 2021-11-19T20:53:54.000Z | import unittest
import base
class Test(base.BaseScriptTest, unittest.TestCase):
command_line = "./scripts/maf_extract_ranges_indexed.py ./test_data/maf_tests/mm8_chr7_tiny.maf -c -m 5 -p mm8."
input_stdin = base.TestFile(filename="./test_data/maf_tests/dcking_ghp074.bed")
output_stdout = base.TestFile(fi... | 37 | 116 | 0.775676 | 55 | 370 | 4.927273 | 0.6 | 0.088561 | 0.121771 | 0.177122 | 0.354244 | 0.354244 | 0.354244 | 0.354244 | 0.354244 | 0 | 0 | 0.03003 | 0.1 | 370 | 9 | 117 | 41.111111 | 0.783784 | 0 | 0 | 0 | 0 | 0.166667 | 0.467568 | 0.421622 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
869b1718c19f9cae150c01d7070087f780577bf0 | 3,357 | py | Python | stubs/m5stack_flowui-1_4_0-beta/display.py | RonaldHiemstra/micropython-stubs | d97f879b01f6687baaebef1c7e26a80909c3cff3 | [
"MIT"
] | 38 | 2020-10-18T21:59:44.000Z | 2022-03-17T03:03:28.000Z | stubs/m5stack_flowui-1_4_0-beta/display.py | RonaldHiemstra/micropython-stubs | d97f879b01f6687baaebef1c7e26a80909c3cff3 | [
"MIT"
] | 176 | 2020-10-18T14:31:03.000Z | 2022-03-30T23:22:39.000Z | stubs/m5stack_flowui-1_4_0-beta/display.py | RonaldHiemstra/micropython-stubs | d97f879b01f6687baaebef1c7e26a80909c3cff3 | [
"MIT"
] | 6 | 2020-12-28T21:11:12.000Z | 2022-02-06T04:07:50.000Z | """
Module: 'display' on M5 FlowUI v1.4.0-beta
"""
# MCU: (sysname='esp32', nodename='esp32', release='1.11.0', version='v1.11-284-g5d8e1c867 on 2019-08-30', machine='ESP32 module with ESP32')
# Stubber: 1.3.1
class TFT:
''
BLACK = 0
BLUE = 255
BMP = 2
BOTTOM = -9004
CENTER = -9003
COLOR_BI... | 13.481928 | 141 | 0.49866 | 355 | 3,357 | 4.633803 | 0.490141 | 0.268085 | 0.036474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114446 | 0.414358 | 3,357 | 248 | 142 | 13.53629 | 0.722279 | 0.058981 | 0 | 0.359551 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.359551 | false | 0.359551 | 0 | 0 | 0.634831 | 0.011236 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
86b46d24f10eba79c88afa632d31ceb83f18b3b1 | 292 | py | Python | feemodel/app/__init__.py | bitcoinfees/feemodel | 5d582d87eca6e54eb20b81f4e21c81273a59b468 | [
"MIT"
] | 12 | 2015-08-12T03:00:59.000Z | 2017-06-08T11:01:09.000Z | feemodel/app/__init__.py | bitcoinfees/feemodel | 5d582d87eca6e54eb20b81f4e21c81273a59b468 | [
"MIT"
] | 6 | 2015-11-10T04:02:25.000Z | 2016-03-16T02:57:14.000Z | feemodel/app/__init__.py | bitcoinfees/feemodel | 5d582d87eca6e54eb20b81f4e21c81273a59b468 | [
"MIT"
] | 3 | 2016-03-10T17:08:41.000Z | 2022-02-24T18:51:21.000Z | from feemodel.app.transient import TransientOnline
from feemodel.app.pools import PoolsOnlineEstimator
from feemodel.app.predict import Prediction
from feemodel.app.simonline import SimOnline
__all__ = [
'TransientOnline',
'PoolsOnlineEstimator',
'Prediction',
'SimOnline'
]
| 24.333333 | 51 | 0.784247 | 29 | 292 | 7.758621 | 0.413793 | 0.213333 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140411 | 292 | 11 | 52 | 26.545455 | 0.896414 | 0 | 0 | 0 | 0 | 0 | 0.184932 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
86bc2f5f9e49100c67489c79936cc4b670708f66 | 72 | py | Python | HAP-NodeJS/Switch3_1.py | cbdunc2/pi-kit | bf7e9e118af7853d509e0a10c95ba5d8564bb157 | [
"MIT"
] | null | null | null | HAP-NodeJS/Switch3_1.py | cbdunc2/pi-kit | bf7e9e118af7853d509e0a10c95ba5d8564bb157 | [
"MIT"
] | null | null | null | HAP-NodeJS/Switch3_1.py | cbdunc2/pi-kit | bf7e9e118af7853d509e0a10c95ba5d8564bb157 | [
"MIT"
] | null | null | null | import subprocess
subprocess.Popen(['sh', '../Switches/Switch3_On.sh'])
| 24 | 53 | 0.736111 | 9 | 72 | 5.777778 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014706 | 0.055556 | 72 | 2 | 54 | 36 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.375 | 0.347222 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
86d782fd2d0c71e606843e5d70887529cd2c5a40 | 106 | py | Python | experiments/issue561/v2.py | nitinkaveriappa/downward | 5c9a1b5111d667bb96f94da61ca2a45b1b70bb83 | [
"MIT"
] | 4 | 2019-04-23T10:41:35.000Z | 2019-10-27T05:14:42.000Z | experiments/issue561/v2.py | nitinkaveriappa/downward | 5c9a1b5111d667bb96f94da61ca2a45b1b70bb83 | [
"MIT"
] | null | null | null | experiments/issue561/v2.py | nitinkaveriappa/downward | 5c9a1b5111d667bb96f94da61ca2a45b1b70bb83 | [
"MIT"
] | 4 | 2018-01-16T00:00:22.000Z | 2019-11-01T23:35:01.000Z | #! /usr/bin/env python
# -*- coding: utf-8 -*-
from main import main
main("issue561-v1", "issue561-v2")
| 15.142857 | 34 | 0.632075 | 16 | 106 | 4.1875 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 0.150943 | 106 | 6 | 35 | 17.666667 | 0.644444 | 0.40566 | 0 | 0 | 0 | 0 | 0.360656 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
86e65c540055ab2f761c3c998b140c5377b7f0c6 | 10,865 | py | Python | molly/apps/places/migrations/0001_initial.py | mollyproject/mollyproject | 3247c6bac3f39ce8d275d19aa410b30c6284b8a7 | [
"Apache-2.0"
] | 7 | 2015-05-16T13:27:21.000Z | 2019-08-06T11:09:24.000Z | molly/apps/places/migrations/0001_initial.py | mollyproject/mollyproject | 3247c6bac3f39ce8d275d19aa410b30c6284b8a7 | [
"Apache-2.0"
] | null | null | null | molly/apps/places/migrations/0001_initial.py | mollyproject/mollyproject | 3247c6bac3f39ce8d275d19aa410b30c6284b8a7 | [
"Apache-2.0"
] | 4 | 2015-11-27T13:36:36.000Z | 2021-03-09T17:55:53.000Z | # encoding: 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):
# Adding model 'Source'
db.create_table('places_source', (
('id', self.gf('django.db.models.fields.Aut... | 60.698324 | 211 | 0.620985 | 1,207 | 10,865 | 5.407622 | 0.094449 | 0.074766 | 0.130841 | 0.174659 | 0.83484 | 0.819672 | 0.770339 | 0.683162 | 0.622491 | 0.425004 | 0 | 0.005671 | 0.188495 | 10,865 | 178 | 212 | 61.039326 | 0.734604 | 0.07225 | 0 | 0.231343 | 0 | 0 | 0.479026 | 0.290855 | 0 | 0 | 0 | 0 | 0 | 1 | 0.014925 | false | 0 | 0.029851 | 0 | 0.067164 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
86f060997b8a24b2a713e28d30aebb3fc5274d62 | 1,385 | py | Python | course_catalog/etl/conftest.py | mitodl/open-discussions | ab6e9fac70b8a1222a84e78ba778a7a065c20541 | [
"BSD-3-Clause"
] | 12 | 2017-09-27T21:23:27.000Z | 2020-12-25T04:31:30.000Z | course_catalog/etl/conftest.py | mitodl/open-discussions | ab6e9fac70b8a1222a84e78ba778a7a065c20541 | [
"BSD-3-Clause"
] | 3,293 | 2017-06-30T18:16:01.000Z | 2022-03-31T18:01:34.000Z | course_catalog/etl/conftest.py | mitodl/open-discussions | ab6e9fac70b8a1222a84e78ba778a7a065c20541 | [
"BSD-3-Clause"
] | 1 | 2020-04-13T12:19:57.000Z | 2020-04-13T12:19:57.000Z | """Common ETL test fixtures"""
import json
import pytest
@pytest.fixture(autouse=True)
def mitx_settings(settings):
"""Test settings for MITx import"""
settings.EDX_API_CLIENT_ID = "fake-client-id"
settings.EDX_API_CLIENT_SECRET = "fake-client-secret"
settings.EDX_API_ACCESS_TOKEN_URL = "http://local... | 32.209302 | 80 | 0.716245 | 200 | 1,385 | 4.73 | 0.205 | 0.059197 | 0.135307 | 0.169133 | 0.88055 | 0.837209 | 0.837209 | 0.689218 | 0.424947 | 0.424947 | 0 | 0 | 0.140794 | 1,385 | 42 | 81 | 32.97619 | 0.794958 | 0.090975 | 0 | 0.285714 | 0 | 0 | 0.31468 | 0.056772 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.071429 | 0 | 0.285714 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8120c7633f5990d446bca4c8a9b2275a25f1de63 | 202 | py | Python | game/base/enemy.py | PythonixCoders/PyWeek29 | 5c7492466481dec40619272a3da7fa4b9a72c1d6 | [
"MIT"
] | 8 | 2020-03-15T14:58:46.000Z | 2020-04-26T13:44:10.000Z | game/base/enemy.py | flipcoder/Butterfly-Destroyers | 855b1981ea67796e0ce0d82b525a1cb75a9e358b | [
"MIT"
] | null | null | null | game/base/enemy.py | flipcoder/Butterfly-Destroyers | 855b1981ea67796e0ce0d82b525a1cb75a9e358b | [
"MIT"
] | 4 | 2020-03-23T12:38:55.000Z | 2021-12-25T16:32:54.000Z | #!/usr/bin/env python
from game.base.being import Being
class Enemy(Being):
def __init__(self, app, scene, **kwargs):
super().__init__(app, scene, **kwargs)
self.friendly = False
| 20.2 | 46 | 0.648515 | 27 | 202 | 4.555556 | 0.740741 | 0.130081 | 0.227642 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.207921 | 202 | 9 | 47 | 22.444444 | 0.76875 | 0.09901 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
d493c88653dfc14a4b19dd601e82fe9c227bb1db | 123 | py | Python | archive/data-processing/archive/features/sd1.py | FloFincke/affective-chat | 241c2b555541968f7e5e70b022fdb71102aed510 | [
"MIT"
] | null | null | null | archive/data-processing/archive/features/sd1.py | FloFincke/affective-chat | 241c2b555541968f7e5e70b022fdb71102aed510 | [
"MIT"
] | 10 | 2020-01-28T22:17:46.000Z | 2022-02-09T23:30:57.000Z | archive/data-processing/archive/features/sd1.py | FloFincke/affective-chat | 241c2b555541968f7e5e70b022fdb71102aed510 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
import math
import numpy as np
def sd1(rr):
sdnn = np.std(rr)
return math.sqrt(0.5 * sdnn * sdnn) | 15.375 | 36 | 0.674797 | 24 | 123 | 3.458333 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029703 | 0.178862 | 123 | 8 | 36 | 15.375 | 0.792079 | 0.162602 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
d4af2a44bf54fabe00a0ec0f2c572fb0bf043633 | 92 | py | Python | tutorial/test_env.py | viz4biz/PyDataNYC2015 | 066154ea9f1837c355e6108a28b85889f3020da3 | [
"Apache-2.0"
] | 11 | 2015-11-11T13:57:21.000Z | 2019-08-14T15:53:43.000Z | tutorial/test_env.py | viz4biz/PyDataNYC2015 | 066154ea9f1837c355e6108a28b85889f3020da3 | [
"Apache-2.0"
] | null | null | null | tutorial/test_env.py | viz4biz/PyDataNYC2015 | 066154ea9f1837c355e6108a28b85889f3020da3 | [
"Apache-2.0"
] | 6 | 2015-11-11T13:57:25.000Z | 2018-09-12T07:53:03.000Z | """
test local env
"""
import os
for k, v in os.environ.iteritems():
print k, '=', v
| 9.2 | 35 | 0.565217 | 15 | 92 | 3.466667 | 0.8 | 0.076923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 92 | 9 | 36 | 10.222222 | 0.753623 | 0 | 0 | 0 | 0 | 0 | 0.014493 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.333333 | null | null | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
d4c9b736f8e2520a3fae30db6df87b55b43b886b | 106 | py | Python | ARMODServers/Apps/ARExperiences/apps.py | Phantomxm2021/ARMOD-Dashboard | 383cf0a5e72dc5a2651f43e693f06773d5b88bbd | [
"Apache-2.0"
] | 1 | 2021-11-04T09:03:27.000Z | 2021-11-04T09:03:27.000Z | ARMODServers/Apps/ARExperiences/apps.py | Phantomxm2021/ARMOD-Dashboard | 383cf0a5e72dc5a2651f43e693f06773d5b88bbd | [
"Apache-2.0"
] | null | null | null | ARMODServers/Apps/ARExperiences/apps.py | Phantomxm2021/ARMOD-Dashboard | 383cf0a5e72dc5a2651f43e693f06773d5b88bbd | [
"Apache-2.0"
] | null | null | null | from django.apps import AppConfig
class ArexperiencesConfig(AppConfig):
name = 'Apps.ARExperiences'
| 17.666667 | 37 | 0.783019 | 11 | 106 | 7.545455 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141509 | 106 | 5 | 38 | 21.2 | 0.912088 | 0 | 0 | 0 | 0 | 0 | 0.169811 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
d4f945809a73eb22e79d64ed4418fcf53a6bccb9 | 73 | py | Python | test_0000.py | theo-dim/cash-gels-thesis | de8c1b20f766aa1c58d8f692373c76683d165a66 | [
"MIT"
] | null | null | null | test_0000.py | theo-dim/cash-gels-thesis | de8c1b20f766aa1c58d8f692373c76683d165a66 | [
"MIT"
] | null | null | null | test_0000.py | theo-dim/cash-gels-thesis | de8c1b20f766aa1c58d8f692373c76683d165a66 | [
"MIT"
] | null | null | null | import pyplot as plt
import numpy as np
from sklearn import linear_model
| 18.25 | 32 | 0.835616 | 13 | 73 | 4.615385 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164384 | 73 | 3 | 33 | 24.333333 | 0.983607 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
be0b585df12c7b4d77e31edbf4786b2ef1e4a31b | 69 | py | Python | tests/__init__.py | acarl005/plotille | 44089a88f20b71b3314416947ae724bebbdc7739 | [
"MIT"
] | 2 | 2020-04-08T15:31:12.000Z | 2020-07-01T11:04:47.000Z | tests/__init__.py | acarl005/plotille | 44089a88f20b71b3314416947ae724bebbdc7739 | [
"MIT"
] | 9 | 2018-09-12T09:29:43.000Z | 2020-03-15T09:11:25.000Z | tests/__init__.py | acarl005/plotille | 44089a88f20b71b3314416947ae724bebbdc7739 | [
"MIT"
] | 1 | 2019-03-29T10:59:13.000Z | 2019-03-29T10:59:13.000Z | from logging import getLogger
getLogger('flake8').propagate = False
| 17.25 | 37 | 0.797101 | 8 | 69 | 6.875 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016393 | 0.115942 | 69 | 3 | 38 | 23 | 0.885246 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
be1bdf6fe279b2f8b2c141f3279c61f47199ae18 | 898 | py | Python | digital_image_processing/algorithms/edge_detection_algorithms/threshold/adaptive_thresholding_methods/__init__.py | juansdev/digital_image_processing | a0fe429c0664d81063dc76502a3e4874eea901a7 | [
"MIT"
] | 1 | 2022-03-22T03:37:44.000Z | 2022-03-22T03:37:44.000Z | digital_image_processing/algorithms/edge_detection_algorithms/threshold/adaptive_thresholding_methods/__init__.py | juansdev/digital_image_processing | a0fe429c0664d81063dc76502a3e4874eea901a7 | [
"MIT"
] | null | null | null | digital_image_processing/algorithms/edge_detection_algorithms/threshold/adaptive_thresholding_methods/__init__.py | juansdev/digital_image_processing | a0fe429c0664d81063dc76502a3e4874eea901a7 | [
"MIT"
] | null | null | null | from .bernsen import bernsen_thresholding_method
from .bradley_roth import bradley_thresholding_method
from .contrast import contrast_thresholding_method
from .feng import feng_thresholding_method
from .gaussian import threshold_value_gaussian
from .johannsen import johannsen_thresholding_method
from .kapur import kapu... | 44.9 | 58 | 0.894209 | 121 | 898 | 6.264463 | 0.247934 | 0.403694 | 0.46438 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084633 | 898 | 19 | 59 | 47.263158 | 0.922141 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
07710c963c7c958684d4d5e192f36678ee929e23 | 231 | py | Python | oslo_devsupport/model/__init__.py | berrange/oslo.devsupport | 463c5842e95c5f8a7009ab1041f290e3a1050a06 | [
"Apache-1.1"
] | null | null | null | oslo_devsupport/model/__init__.py | berrange/oslo.devsupport | 463c5842e95c5f8a7009ab1041f290e3a1050a06 | [
"Apache-1.1"
] | null | null | null | oslo_devsupport/model/__init__.py | berrange/oslo.devsupport | 463c5842e95c5f8a7009ab1041f290e3a1050a06 | [
"Apache-1.1"
] | null | null | null |
from .command import *
from .database import *
from .entrypoint import *
from .group import *
from .http import *
from .messaging import *
from .method import *
from .operation import *
from .stack import *
from .threads import *
| 19.25 | 25 | 0.735931 | 30 | 231 | 5.666667 | 0.4 | 0.529412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177489 | 231 | 11 | 26 | 21 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
07807421fe3926d24423bc71ab071f0fe56cfec8 | 785 | py | Python | nn_benchmark/networks/__init__.py | QDucasse/nn_benchmark | 0a32db241e75853c7d78dccf6d7b6940e5a0e4d0 | [
"MIT"
] | 18 | 2020-06-10T10:30:55.000Z | 2022-02-21T08:28:00.000Z | nn_benchmark/networks/__init__.py | QDucasse/nn_benchmark | 0a32db241e75853c7d78dccf6d7b6940e5a0e4d0 | [
"MIT"
] | 29 | 2020-06-24T09:09:55.000Z | 2021-09-09T10:10:21.000Z | nn_benchmark/networks/__init__.py | QDucasse/nn_benchmark | 0a32db241e75853c7d78dccf6d7b6940e5a0e4d0 | [
"MIT"
] | 2 | 2020-10-30T23:36:42.000Z | 2021-09-07T12:58:06.000Z | # -*- coding: utf-8 -*-
# nn_benchmark
# author - Quentin Ducasse
# https://github.com/QDucasse
# quentin.ducasse@ensta-bretagne.org
from __future__ import absolute_import
__all__ = ["lenet","lenet5","quant_lenet5",
"quant_cnv", "quant_tfc",
"mobilenetv1","quant_mobilenetv1",
"vggnet... | 28.035714 | 48 | 0.614013 | 83 | 785 | 5.542169 | 0.349398 | 0.23913 | 0.195652 | 0.113043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015873 | 0.277707 | 785 | 27 | 49 | 29.074074 | 0.795414 | 0.155414 | 0 | 0 | 0 | 0 | 0.171994 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.722222 | 0 | 0.722222 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
078092a018208fa66acdafddfde2bd709ed8859d | 51 | py | Python | mmdet/ops/fcosr_tools/__init__.py | RangeKing/FCOSR | b92f0cee2e89d6a268884bacd02fb28881cd44a4 | [
"Apache-2.0"
] | 38 | 2021-11-23T02:58:47.000Z | 2022-03-21T08:16:59.000Z | mmdet/ops/fcosr_tools/__init__.py | RangeKing/FCOSR | b92f0cee2e89d6a268884bacd02fb28881cd44a4 | [
"Apache-2.0"
] | 15 | 2021-12-06T07:51:04.000Z | 2022-03-29T11:35:29.000Z | mmdet/ops/fcosr_tools/__init__.py | RangeKing/FCOSR | b92f0cee2e89d6a268884bacd02fb28881cd44a4 | [
"Apache-2.0"
] | 12 | 2021-11-23T02:58:50.000Z | 2022-03-24T01:18:23.000Z | from . import fcosr_tools
__all__ = ['fcosr_tools'] | 25.5 | 25 | 0.764706 | 7 | 51 | 4.714286 | 0.714286 | 0.606061 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 51 | 2 | 26 | 25.5 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0.211538 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
07aa6fe145a48bc2b3e22c3ee731584817a386ba | 357 | py | Python | Object Oriented Programming/Lecture 01/Intro.py | ashish-ad/Python-Projects | 7f49476b6945189165d536629109030f10603556 | [
"Unlicense"
] | 1 | 2021-10-08T06:52:12.000Z | 2021-10-08T06:52:12.000Z | Object Oriented Programming/Lecture 01/Intro.py | ashish-ad/Python-Projects | 7f49476b6945189165d536629109030f10603556 | [
"Unlicense"
] | null | null | null | Object Oriented Programming/Lecture 01/Intro.py | ashish-ad/Python-Projects | 7f49476b6945189165d536629109030f10603556 | [
"Unlicense"
] | null | null | null | item1='phone'
item1_price = 100
item1_quantity = 5
item1_price_total = item1_price * item1_quantity
print(type(item1)) # str
print(type(item1_price)) # int
print(type(item1_quantity)) # int
print(type(item1_price_total)) # int
# output:
# <class 'str'>
# <class 'int'>
# ... | 21 | 48 | 0.59944 | 44 | 357 | 4.636364 | 0.295455 | 0.245098 | 0.27451 | 0.186275 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053232 | 0.263305 | 357 | 17 | 49 | 21 | 0.722433 | 0.266106 | 0 | 0 | 0 | 0 | 0.019763 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
07ff9a1f5ea3709124ad1fb347eb63a9284a7ad2 | 195 | py | Python | env/lib/python3.7/site-packages/tinvest/typedefs.py | umchemurziev/Practics | 82b49f9d58e67f1ecff9e6303e7d914bc1905730 | [
"MIT"
] | 1 | 2021-03-29T18:47:32.000Z | 2021-03-29T18:47:32.000Z | env/lib/python3.7/site-packages/tinvest/typedefs.py | umchemurziev/Practics | 82b49f9d58e67f1ecff9e6303e7d914bc1905730 | [
"MIT"
] | null | null | null | env/lib/python3.7/site-packages/tinvest/typedefs.py | umchemurziev/Practics | 82b49f9d58e67f1ecff9e6303e7d914bc1905730 | [
"MIT"
] | null | null | null | from datetime import datetime
from typing import Any, Dict, Union
__all__ = 'AnyDict'
AnyDict = Dict[str, Any] # pragma: no mutate
datetime_or_str = Union[datetime, str] # pragma: no mutate
| 21.666667 | 59 | 0.738462 | 28 | 195 | 4.928571 | 0.5 | 0.115942 | 0.202899 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174359 | 195 | 8 | 60 | 24.375 | 0.857143 | 0.179487 | 0 | 0 | 0 | 0 | 0.044586 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
ed148a5bf47d0fb8ac1d5504a3f607cd11c82fbf | 313 | py | Python | app/endpoints/common/dtos/ingredient.py | brauls/ingredients-service | 67c1408f96f4b407d7e7b3e5e62406a6931de1c1 | [
"MIT"
] | null | null | null | app/endpoints/common/dtos/ingredient.py | brauls/ingredients-service | 67c1408f96f4b407d7e7b3e5e62406a6931de1c1 | [
"MIT"
] | 1 | 2021-06-01T23:34:40.000Z | 2021-06-01T23:34:40.000Z | app/endpoints/common/dtos/ingredient.py | brauls/ingredients-service | 67c1408f96f4b407d7e7b3e5e62406a6931de1c1 | [
"MIT"
] | null | null | null | """Ingredient dto.
"""
class Ingredient():
"""Class to represent an ingredient.
"""
def __init__(self, name, availability_per_month):
self.name = name
self.availability_per_month = availability_per_month
def __repr__(self):
return """{} is the name.""".format(self.name)
| 24.076923 | 60 | 0.642173 | 36 | 313 | 5.194444 | 0.5 | 0.128342 | 0.320856 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.223642 | 313 | 12 | 61 | 26.083333 | 0.769547 | 0.172524 | 0 | 0 | 0 | 0 | 0.060729 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.166667 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
ed2132797a348954493a3cea6dfb9bfa857770a6 | 209 | py | Python | tools/math_tools.py | oliverscheer/python-pytest-ci | d67c379440d1873a753c47e7031bb9564d96de21 | [
"MIT"
] | null | null | null | tools/math_tools.py | oliverscheer/python-pytest-ci | d67c379440d1873a753c47e7031bb9564d96de21 | [
"MIT"
] | 1 | 2021-05-26T19:58:09.000Z | 2021-05-26T19:58:09.000Z | tools/math_tools.py | oliverscheer/python-pytest-ci | d67c379440d1873a753c47e7031bb9564d96de21 | [
"MIT"
] | null | null | null | """ some math tools """
class MathTools:
""" some math tools """
def add(a, b):
""" add two values """
return a + b
def sub(a, b):
""" subtract two values """
| 17.416667 | 36 | 0.444976 | 25 | 209 | 3.72 | 0.56 | 0.064516 | 0.27957 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.392345 | 209 | 11 | 37 | 19 | 0.732283 | 0.330144 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
ed28fda11893d2529a33ba5b4cee8f469db7aad9 | 185 | py | Python | hello/forms.py | odhiambocuttice/mypersonalapp | b2fb12046302104569aa5c4e4869aeb669e51b1b | [
"MIT"
] | null | null | null | hello/forms.py | odhiambocuttice/mypersonalapp | b2fb12046302104569aa5c4e4869aeb669e51b1b | [
"MIT"
] | 10 | 2019-12-04T23:35:48.000Z | 2022-02-10T09:04:53.000Z | hello/forms.py | odhiambocuttice/app-version3 | 6b5e526a03c905cf832aae805c2a570b373aea52 | [
"MIT"
] | null | null | null | from django import forms
from .models import Project
class ProjectForm(forms.ModelForm):
class Meta:
model = Project
fields = ["title", "describe", "technology"]
| 18.5 | 52 | 0.67027 | 20 | 185 | 6.2 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.232432 | 185 | 9 | 53 | 20.555556 | 0.873239 | 0 | 0 | 0 | 0 | 0 | 0.124324 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
ed2eaa3880c0ded822c74f91d96fe10e19adfbe7 | 25 | py | Python | python-files/Analysis/plot_rber_curve.py | AdrianLundell/ldpc-investigation-master-thesis | 075f5cd10dae498e4fcda2f4aabedd0e27caf122 | [
"MIT"
] | 1 | 2022-03-07T15:52:10.000Z | 2022-03-07T15:52:10.000Z | python-files/Analysis/plot_rber_curve.py | AdrianLundell/ldpc-investigation-master-thesis | 075f5cd10dae498e4fcda2f4aabedd0e27caf122 | [
"MIT"
] | 6 | 2022-03-09T10:31:25.000Z | 2022-03-09T10:50:34.000Z | python-files/Analysis/plot_rber_curve.py | AdrianLundell/ldpc-investigation-master-thesis | 075f5cd10dae498e4fcda2f4aabedd0e27caf122 | [
"MIT"
] | null | null | null | #%%
#Calculate_capacity
| 6.25 | 19 | 0.72 | 2 | 25 | 8.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 25 | 3 | 20 | 8.333333 | 0.772727 | 0.8 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ed4253185dfabd501835c1030a3d60a0f1a59215 | 296 | py | Python | kervi/kervi/plugin/routing/kervi_io/__init__.py | wentzlau/kervi | d35a422a6bca6b0ef50a4f9e5c382dece855abdc | [
"MIT"
] | null | null | null | kervi/kervi/plugin/routing/kervi_io/__init__.py | wentzlau/kervi | d35a422a6bca6b0ef50a4f9e5c382dece855abdc | [
"MIT"
] | null | null | null | kervi/kervi/plugin/routing/kervi_io/__init__.py | wentzlau/kervi | d35a422a6bca6b0ef50a4f9e5c382dece855abdc | [
"MIT"
] | null | null | null | #Copyright 2017 Tim Wentlau.
#Distributed under the MIT License. See LICENSE in root of project.
def init_plugin(config, manager):
from kervi.plugin.routing.kervi_io.mq_router import KerviIORouterPlugin
return KerviIORouterPlugin(config, manager)
def plugin_type():
return "routing" | 32.888889 | 75 | 0.787162 | 39 | 296 | 5.871795 | 0.74359 | 0.113537 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015748 | 0.141892 | 296 | 9 | 76 | 32.888889 | 0.885827 | 0.314189 | 0 | 0 | 0 | 0 | 0.034653 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.2 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
ed689bd57d1b5e295bd3bb253d9bfc772e080d82 | 5,431 | py | Python | mortgagetvm/mortgageOptions.py | AndrewChap/mortgagetvm | 4ec39707d61bcb3224bdcddce84bf237f02352d1 | [
"MIT"
] | null | null | null | mortgagetvm/mortgageOptions.py | AndrewChap/mortgagetvm | 4ec39707d61bcb3224bdcddce84bf237f02352d1 | [
"MIT"
] | null | null | null | mortgagetvm/mortgageOptions.py | AndrewChap/mortgagetvm | 4ec39707d61bcb3224bdcddce84bf237f02352d1 | [
"MIT"
] | null | null | null | # Factory-like class for mortgage options
class MortgageOptions:
def __init__(self,kind,**inputOptions):
self.set_default_options()
self.set_kind_options(kind = kind)
self.set_input_options(**inputOptions)
def set_default_options(self):
self.optionList = dict()
self.optionList['commonDefaul... | 58.397849 | 88 | 0.606518 | 635 | 5,431 | 5.162205 | 0.195276 | 0.080537 | 0.063453 | 0.083282 | 0.787065 | 0.773642 | 0.750763 | 0.721171 | 0.690665 | 0.676022 | 0 | 0.028647 | 0.299392 | 5,431 | 92 | 89 | 59.032609 | 0.832852 | 0.384275 | 0 | 0.465909 | 0 | 0 | 0.11307 | 0.015805 | 0 | 0 | 0 | 0 | 0 | 1 | 0.045455 | false | 0.011364 | 0 | 0 | 0.056818 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ed8397333a807416a6c46033a45a38d2847fa564 | 203 | py | Python | django-system/src/tsm_api/serializers.py | Deepak-Kharah/ioe-project | 6f83ddcfced25130e0f05c3380dde97429d1f224 | [
"MIT"
] | null | null | null | django-system/src/tsm_api/serializers.py | Deepak-Kharah/ioe-project | 6f83ddcfced25130e0f05c3380dde97429d1f224 | [
"MIT"
] | null | null | null | django-system/src/tsm_api/serializers.py | Deepak-Kharah/ioe-project | 6f83ddcfced25130e0f05c3380dde97429d1f224 | [
"MIT"
] | null | null | null | from rest_framework import serializers
from .models import Measurement
class MeasurementSerializer(serializers.ModelSerializer):
class Meta:
model = Measurement
fields = '__all__'
| 20.3 | 57 | 0.748768 | 19 | 203 | 7.736842 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.20197 | 203 | 9 | 58 | 22.555556 | 0.907407 | 0 | 0 | 0 | 0 | 0 | 0.034483 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
ed84fba26398a78d3cfbc33d60c7ec3256e7da8a | 208 | py | Python | pcdet/models/backbones_2d/__init__.py | HenryLittle/OpenPCDet-HL | 7dba01750e10d170849314723ec0665782236a70 | [
"Apache-2.0"
] | null | null | null | pcdet/models/backbones_2d/__init__.py | HenryLittle/OpenPCDet-HL | 7dba01750e10d170849314723ec0665782236a70 | [
"Apache-2.0"
] | null | null | null | pcdet/models/backbones_2d/__init__.py | HenryLittle/OpenPCDet-HL | 7dba01750e10d170849314723ec0665782236a70 | [
"Apache-2.0"
] | null | null | null | from .base_bev_backbone import BaseBEVBackbone
from .decouple_bev_backbone import DecoupledBEVBackbone
__all__ = {
'BaseBEVBackbone': BaseBEVBackbone,
'DecoupledBEVBackbone': DecoupledBEVBackbone,
}
| 26 | 55 | 0.817308 | 17 | 208 | 9.529412 | 0.529412 | 0.135802 | 0.209877 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120192 | 208 | 7 | 56 | 29.714286 | 0.885246 | 0 | 0 | 0 | 0 | 0 | 0.168269 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
71f5e7d6ce9c05a9fca443446dc43b2633e1dc3d | 133 | py | Python | Python/hello_world-theopaid.py | saurabhcommand/Hello-world | 647bad9da901a52d455f05ecc37c6823c22dc77e | [
"MIT"
] | 1,428 | 2018-10-03T15:15:17.000Z | 2019-03-31T18:38:36.000Z | Python/hello_world-theopaid.py | saurabhcommand/Hello-world | 647bad9da901a52d455f05ecc37c6823c22dc77e | [
"MIT"
] | 1,162 | 2018-10-03T15:05:49.000Z | 2018-10-18T14:17:52.000Z | Python/hello_world-theopaid.py | saurabhcommand/Hello-world | 647bad9da901a52d455f05ecc37c6823c22dc77e | [
"MIT"
] | 3,909 | 2018-10-03T15:07:19.000Z | 2019-03-31T18:39:08.000Z | #Author Theodosis Paidakis
print("Hello World")
hello_list = ["Hello World"]
print(hello_list[0])
for i in hello_list:
print(i) | 16.625 | 28 | 0.721805 | 21 | 133 | 4.428571 | 0.52381 | 0.290323 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00885 | 0.150376 | 133 | 8 | 29 | 16.625 | 0.814159 | 0.18797 | 0 | 0 | 0 | 0 | 0.203704 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.6 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
71f75308f26d63f94b10ee2cdd22fde8e48a6afe | 304 | py | Python | 4day/Book04_1.py | jsjang93/joony | 62f7a325094c887212b894932263bf84500e0f03 | [
"MIT"
] | null | null | null | 4day/Book04_1.py | jsjang93/joony | 62f7a325094c887212b894932263bf84500e0f03 | [
"MIT"
] | null | null | null | 4day/Book04_1.py | jsjang93/joony | 62f7a325094c887212b894932263bf84500e0f03 | [
"MIT"
] | null | null | null | # Book04_1.py
class Book:
category = '소설' # Class 멤버
b1 = Book(); print(b1.category)
b2 = b1; print(b2.category)
print(Book.category)
Book.category = '수필'
print(b2.category); print(b1.category) ; print(Book.category)
b2.category = 'IT'
print(b2.category); print(b1.category) ; print(Book.category) | 23.384615 | 61 | 0.700658 | 46 | 304 | 4.608696 | 0.282609 | 0.283019 | 0.212264 | 0.283019 | 0.443396 | 0.443396 | 0.443396 | 0.443396 | 0.443396 | 0 | 0 | 0.049057 | 0.128289 | 304 | 13 | 62 | 23.384615 | 0.750943 | 0.065789 | 0 | 0.222222 | 0 | 0 | 0.021277 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0.222222 | 0.555556 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
71fe29113947026b758491d3c116f1982f10cf36 | 715 | py | Python | setup.py | rluzuriaga/pokedex | e5c18c410994d5fb589bc3dceaba71f85268edfb | [
"MIT"
] | 30 | 2020-08-15T01:16:17.000Z | 2022-03-12T17:51:17.000Z | setup.py | rluzuriaga/pokedex | e5c18c410994d5fb589bc3dceaba71f85268edfb | [
"MIT"
] | 86 | 2020-08-12T17:20:55.000Z | 2022-03-28T18:19:28.000Z | setup.py | rluzuriaga/pokedex | e5c18c410994d5fb589bc3dceaba71f85268edfb | [
"MIT"
] | 38 | 2020-08-18T00:09:15.000Z | 2022-03-01T07:47:41.000Z | from setuptools import setup, find_packages
setup(
name='Pokedex',
version='0.1',
zip_safe=False,
packages=find_packages(),
package_data={
'pokedex': ['data/csv/*.csv']
},
install_requires=[
'SQLAlchemy>=1.0,<2.0',
'whoosh>=2.5,<2.7',
'markdown==2.4.1',
... | 23.833333 | 54 | 0.524476 | 78 | 715 | 4.705128 | 0.5 | 0.207084 | 0.27248 | 0.212534 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053785 | 0.297902 | 715 | 29 | 55 | 24.655172 | 0.677291 | 0 | 0 | 0.071429 | 0 | 0 | 0.433566 | 0.040559 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.035714 | 0 | 0.035714 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
9c0e837a9fbf8aa155047aa8574f5db7dc5ea5ad | 248 | py | Python | postgresqleu/confreg/templatetags/miscutil.py | dlangille/pgeu-system | 3f1910010063bab118e94a55ed757b23f1d36bf5 | [
"MIT"
] | null | null | null | postgresqleu/confreg/templatetags/miscutil.py | dlangille/pgeu-system | 3f1910010063bab118e94a55ed757b23f1d36bf5 | [
"MIT"
] | null | null | null | postgresqleu/confreg/templatetags/miscutil.py | dlangille/pgeu-system | 3f1910010063bab118e94a55ed757b23f1d36bf5 | [
"MIT"
] | null | null | null | from django import template
register = template.Library()
@register.filter(name='isboolean')
def isboolean(value):
return isinstance(value, bool)
@register.filter(name='vartypename')
def vartypename(value):
return type(value).__name__
| 17.714286 | 36 | 0.754032 | 29 | 248 | 6.310345 | 0.551724 | 0.153005 | 0.196721 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 248 | 13 | 37 | 19.076923 | 0.843318 | 0 | 0 | 0 | 0 | 0 | 0.080645 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.125 | 0.25 | 0.625 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
9c24aa3c9d37482f32e1338312a0a18d1b445f4a | 66 | py | Python | tests/__init__.py | GTedHa/gblackboard | 61c13ca69113019b8fc691acaa1953751f517347 | [
"MIT"
] | null | null | null | tests/__init__.py | GTedHa/gblackboard | 61c13ca69113019b8fc691acaa1953751f517347 | [
"MIT"
] | 3 | 2019-02-02T21:17:49.000Z | 2021-11-15T17:48:12.000Z | tests/__init__.py | GTedHa/gblackboard | 61c13ca69113019b8fc691acaa1953751f517347 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""Unit test package for gblackboard."""
| 16.5 | 40 | 0.590909 | 8 | 66 | 4.875 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018182 | 0.166667 | 66 | 3 | 41 | 22 | 0.690909 | 0.863636 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
9c2cc3afd9b6c1b92e54b37f0abed285dd347905 | 288 | py | Python | src/cache/requests_cache_abstract.py | tomaszkingukrol/rest-api-cache-proxy | 50738f168f36d285b9a924d9f9d106a65b5617c8 | [
"Apache-2.0"
] | null | null | null | src/cache/requests_cache_abstract.py | tomaszkingukrol/rest-api-cache-proxy | 50738f168f36d285b9a924d9f9d106a65b5617c8 | [
"Apache-2.0"
] | null | null | null | src/cache/requests_cache_abstract.py | tomaszkingukrol/rest-api-cache-proxy | 50738f168f36d285b9a924d9f9d106a65b5617c8 | [
"Apache-2.0"
] | null | null | null | from abc import ABC, abstractclassmethod
from model.response import ResponseModel
class CacheInterface(ABC):
@abstractclassmethod
async def get(cls, url: str) -> ResponseModel: pass
@abstractclassmethod
async def set(cls, url: str, value: ResponseModel, ttl=0): pass
| 22.153846 | 67 | 0.743056 | 34 | 288 | 6.294118 | 0.588235 | 0.205607 | 0.252336 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004219 | 0.177083 | 288 | 12 | 68 | 24 | 0.898734 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.285714 | 0.285714 | 0 | 0.428571 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
9c70e9c29dfd2bb44316e8313ac9366ffff8c24e | 204 | py | Python | contacts/forms.py | pedrohd21/Agenda-Django | c48a90d76094523fd2060ff735faefbf3c2f808d | [
"MIT"
] | 1 | 2021-04-21T00:07:03.000Z | 2021-04-21T00:07:03.000Z | contacts/forms.py | pedrohd21/Agenda | c48a90d76094523fd2060ff735faefbf3c2f808d | [
"MIT"
] | null | null | null | contacts/forms.py | pedrohd21/Agenda | c48a90d76094523fd2060ff735faefbf3c2f808d | [
"MIT"
] | null | null | null | from django import forms
from .models import Contact
class ContactForm(forms.ModelForm):
class Meta:
model = Contact
fields = ('name', 'number', 'email', 'category', 'description')
| 20.4 | 71 | 0.661765 | 22 | 204 | 6.136364 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.220588 | 204 | 9 | 72 | 22.666667 | 0.849057 | 0 | 0 | 0 | 0 | 0 | 0.167488 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
9c73c8f40881c066eecdb84a89d42263b576a7ce | 110 | py | Python | note5/package_test5.py | icexmoon/python-learning-notes | 838c91d896404290b89992b6517be1b6a79df41f | [
"MIT"
] | null | null | null | note5/package_test5.py | icexmoon/python-learning-notes | 838c91d896404290b89992b6517be1b6a79df41f | [
"MIT"
] | null | null | null | note5/package_test5.py | icexmoon/python-learning-notes | 838c91d896404290b89992b6517be1b6a79df41f | [
"MIT"
] | null | null | null | #test.py
from time_tools import *
# print(compareTimestamp(111,222))
time.showNowTime()
# now time is XX:XX:XX | 22 | 34 | 0.754545 | 18 | 110 | 4.555556 | 0.777778 | 0.097561 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061224 | 0.109091 | 110 | 5 | 35 | 22 | 0.77551 | 0.554545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
9c7c76de33634fbc8775661a36b44e7120b4b1f1 | 68 | py | Python | test5.py | liubaishuo-github/peening-post-processor | 61f4c2d2385469bc1e9d1b7a692b72eb6afd7f75 | [
"MIT"
] | null | null | null | test5.py | liubaishuo-github/peening-post-processor | 61f4c2d2385469bc1e9d1b7a692b72eb6afd7f75 | [
"MIT"
] | null | null | null | test5.py | liubaishuo-github/peening-post-processor | 61f4c2d2385469bc1e9d1b7a692b72eb6afd7f75 | [
"MIT"
] | null | null | null | def HAHA():
return 1,2,3
a = HAHA()
print(a)
print(a[0])
| 9.714286 | 17 | 0.5 | 13 | 68 | 2.615385 | 0.692308 | 0.352941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 0.294118 | 68 | 6 | 18 | 11.333333 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0.2 | 0.4 | 0.4 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
92cb45afbfe997d9e2fe7ab0970f2d0910fc5659 | 148 | py | Python | Python/function.py | manishaverma1012/programs | dd77546219eab2f2ee81dd0d599b78ebd8f95957 | [
"MIT"
] | null | null | null | Python/function.py | manishaverma1012/programs | dd77546219eab2f2ee81dd0d599b78ebd8f95957 | [
"MIT"
] | null | null | null | Python/function.py | manishaverma1012/programs | dd77546219eab2f2ee81dd0d599b78ebd8f95957 | [
"MIT"
] | null | null | null | def cube(number):
return number*number*number
digit = input(" the cube of which digit do you want >")
result = cube(int(digit))
print(result)
| 18.5 | 56 | 0.702703 | 23 | 148 | 4.521739 | 0.652174 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175676 | 148 | 7 | 57 | 21.142857 | 0.852459 | 0 | 0 | 0 | 0 | 0 | 0.256757 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0.2 | 0.4 | 0.2 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
13099ef7ac061602aaff6bfaa4733bfcc5e92bd8 | 225 | py | Python | etest_test/fixtures_test/ebuilds_test/__init__.py | alunduil/etest | e5f06d7e8c83be369576976f239668545bcbfffd | [
"MIT"
] | 6 | 2015-01-08T13:56:50.000Z | 2018-01-08T00:53:08.000Z | etest_test/fixtures_test/ebuilds_test/__init__.py | alunduil/etest | e5f06d7e8c83be369576976f239668545bcbfffd | [
"MIT"
] | 64 | 2015-01-01T23:10:07.000Z | 2021-06-12T06:55:31.000Z | etest_test/fixtures_test/ebuilds_test/__init__.py | alunduil/etest | e5f06d7e8c83be369576976f239668545bcbfffd | [
"MIT"
] | 2 | 2015-05-08T01:32:48.000Z | 2015-05-30T15:38:31.000Z | """Ebuild Test Fixtures."""
import os
from typing import Any, Dict, List
from etest_test import helpers_test
EBUILDS: Dict[str, List[Dict[str, Any]]] = {}
helpers_test.import_directory(__name__, os.path.dirname(__file__))
| 22.5 | 66 | 0.755556 | 33 | 225 | 4.787879 | 0.575758 | 0.126582 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115556 | 225 | 9 | 67 | 25 | 0.79397 | 0.093333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.8 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
131271d5663df6a63ce374c8c4958678283dd5fc | 218 | py | Python | sympy/core/tests/test_cache.py | eriknw/sympy | b7544e2bb74c011f6098a7e886fd77f41776c2c4 | [
"BSD-3-Clause"
] | 7 | 2015-01-14T06:55:33.000Z | 2018-08-11T14:43:52.000Z | sympy/core/tests/test_cache.py | pbeltran/sympy-1 | 94f92b36731c2bebe6de1037c063c2a258a8a399 | [
"BSD-3-Clause"
] | 1 | 2018-02-19T04:56:04.000Z | 2018-02-19T04:56:04.000Z | sympy/core/tests/test_cache.py | pbeltran/sympy-1 | 94f92b36731c2bebe6de1037c063c2a258a8a399 | [
"BSD-3-Clause"
] | 1 | 2016-04-24T14:39:22.000Z | 2016-04-24T14:39:22.000Z | from sympy.core.cache import cacheit
def test_cacheit_doc():
@cacheit
def testfn():
"test docstring"
pass
assert testfn.__doc__ == "test docstring"
assert testfn.__name__ == "testfn"
| 18.166667 | 45 | 0.646789 | 25 | 218 | 5.24 | 0.56 | 0.152672 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.256881 | 218 | 11 | 46 | 19.818182 | 0.808642 | 0.06422 | 0 | 0 | 0 | 0 | 0.155963 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | true | 0.125 | 0.125 | 0 | 0.375 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
1329bbbf79a71f88d6626330a68385f854fb0eef | 479 | py | Python | estimators/__init__.py | j-bac/id-concentration | 372bacc846d3d5dd5f99178863fa214fb8d3b292 | [
"MIT"
] | null | null | null | estimators/__init__.py | j-bac/id-concentration | 372bacc846d3d5dd5f99178863fa214fb8d3b292 | [
"MIT"
] | null | null | null | estimators/__init__.py | j-bac/id-concentration | 372bacc846d3d5dd5f99178863fa214fb8d3b292 | [
"MIT"
] | null | null | null | from ._FisherS import randsphere, preprocessing, SeparabilityAnalysis, point_inseparability_to_pointID
from ._call_estimators import TwoNN, run_singleGMST,run_singleCorrDim,runDANCo, runDANCoStats, runDANColoop,runANOVAglobal,runANOVAlocal,radovanovic_estimators_matlab,Hidalgo
from ._DANCo import dancoDimEst as danco_p... | 59.875 | 174 | 0.868476 | 63 | 479 | 6.285714 | 0.507937 | 0.060606 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091858 | 479 | 7 | 175 | 68.428571 | 0.910345 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
13526b6d17cc702b79611d77af35c9e1a3a2bf4e | 278 | py | Python | python_work/Chapter5/exe3_alien_color.py | Elektra-2/python_crash_course_2nd | 1c8beaddfe037faa3a36e7c384a6ea2f9d560060 | [
"MIT"
] | 1 | 2020-08-25T18:42:30.000Z | 2020-08-25T18:42:30.000Z | python_work/Chapter5/exe3_alien_color.py | Elektra-2/python_crash_course_2nd | 1c8beaddfe037faa3a36e7c384a6ea2f9d560060 | [
"MIT"
] | null | null | null | python_work/Chapter5/exe3_alien_color.py | Elektra-2/python_crash_course_2nd | 1c8beaddfe037faa3a36e7c384a6ea2f9d560060 | [
"MIT"
] | null | null | null | # Creating a elif chain
alien_color = 'red'
if alien_color == 'green':
print('Congratulations! You won 5 points!')
elif alien_color == 'yellow':
print('Congratulations! You won 10 points!')
elif alien_color == 'red':
print('Congratulations! You won 15 points!')
| 25.272727 | 48 | 0.683453 | 37 | 278 | 5.027027 | 0.486486 | 0.215054 | 0.370968 | 0.419355 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022026 | 0.183453 | 278 | 10 | 49 | 27.8 | 0.797357 | 0.07554 | 0 | 0 | 0 | 0 | 0.478261 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.428571 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
138136650386e60020d1b6906281d81dfdc20779 | 443 | py | Python | IPL/app/core/views.py | mgp-git/Flask | f56be0192a3aac550a1dae46394352a68bd53d3d | [
"Apache-2.0"
] | null | null | null | IPL/app/core/views.py | mgp-git/Flask | f56be0192a3aac550a1dae46394352a68bd53d3d | [
"Apache-2.0"
] | null | null | null | IPL/app/core/views.py | mgp-git/Flask | f56be0192a3aac550a1dae46394352a68bd53d3d | [
"Apache-2.0"
] | null | null | null | from flask import render_template, request, Blueprint
core = Blueprint('core', __name__)
@core.route("/", methods=['GET', 'POST'])
def home():
return render_template('home.html')
@core.route("/about")
def about():
return render_template('about.html')
@core.route('/search', methods=['GET', 'POST'])
def se... | 22.15 | 64 | 0.693002 | 56 | 443 | 5.285714 | 0.392857 | 0.189189 | 0.202703 | 0.114865 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126411 | 443 | 19 | 65 | 23.315789 | 0.764858 | 0 | 0 | 0 | 0 | 0 | 0.167043 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.083333 | 0.166667 | 0.583333 | 0.166667 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
1395df5d636c77222d35d82dfd590f6aefe93e2b | 455 | py | Python | sarna/report_generator/scores.py | rsrdesarrollo/sarna | 0c1f44e06a932520b70e505585a5469b77f6302e | [
"MIT"
] | 25 | 2019-03-11T22:42:52.000Z | 2022-03-15T09:49:15.000Z | sarna/report_generator/scores.py | hackingmess/sarna | 0c1f44e06a932520b70e505585a5469b77f6302e | [
"MIT"
] | 14 | 2019-01-08T08:35:51.000Z | 2022-03-11T23:30:28.000Z | sarna/report_generator/scores.py | hackingmess/sarna | 0c1f44e06a932520b70e505585a5469b77f6302e | [
"MIT"
] | 12 | 2019-07-26T05:38:32.000Z | 2022-03-29T09:54:49.000Z | from sarna.model.enums import Score, Language
from sarna.report_generator import make_run
from sarna.report_generator.locale_choice import locale_choice
from sarna.report_generator.style import RenderStyle
def score_to_docx(score: Score, style: RenderStyle, lang: Language):
ret = make_run(getattr(style, score.nam... | 32.5 | 82 | 0.764835 | 63 | 455 | 5.349206 | 0.492063 | 0.106825 | 0.133531 | 0.21365 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156044 | 455 | 13 | 83 | 35 | 0.877604 | 0.032967 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0 | 1 | 0.111111 | false | 0 | 0.444444 | 0 | 0.666667 | 0.111111 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
13c9e31c590bfc0b0cb4adceaddaadb36e84b31a | 538 | py | Python | desktop_local_tests/windows/test_windows_packet_capture_disrupt_force_public_dns_servers.py | UAEKondaya1/expressvpn_leak_testing | 9e4cee899ac04f7820ac351fa55efdc0c01370ba | [
"MIT"
] | 219 | 2017-12-12T09:42:46.000Z | 2022-03-13T08:25:13.000Z | desktop_local_tests/windows/test_windows_packet_capture_disrupt_force_public_dns_servers.py | UAEKondaya1/expressvpn_leak_testing | 9e4cee899ac04f7820ac351fa55efdc0c01370ba | [
"MIT"
] | 11 | 2017-12-14T08:14:51.000Z | 2021-08-09T18:37:45.000Z | desktop_local_tests/windows/test_windows_packet_capture_disrupt_force_public_dns_servers.py | UAEKondaya1/expressvpn_leak_testing | 9e4cee899ac04f7820ac351fa55efdc0c01370ba | [
"MIT"
] | 45 | 2017-12-14T07:26:36.000Z | 2022-03-11T09:36:56.000Z | from desktop_local_tests.local_packet_capture_test_case_with_disrupter import LocalPacketCaptureTestCaseWithDisrupter
from desktop_local_tests.windows.windows_dns_force_public_dns_servers_disrupter import WindowsDNSForcePublicDNSServersDisrupter
class TestWindowsPacketCaptureDisruptForcePublicDNSServers(LocalPacketCap... | 53.8 | 127 | 0.877323 | 48 | 538 | 9.333333 | 0.645833 | 0.049107 | 0.071429 | 0.09375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083643 | 538 | 9 | 128 | 59.777778 | 0.908722 | 0.089219 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
13f387c5b382d039623c959bbf8db86a94b8f10b | 29 | py | Python | mezzanine/__init__.py | startupgrind/mezzanine | 23d24a07c69bf8f02d60148b0b8da6c76bc5061e | [
"BSD-2-Clause"
] | null | null | null | mezzanine/__init__.py | startupgrind/mezzanine | 23d24a07c69bf8f02d60148b0b8da6c76bc5061e | [
"BSD-2-Clause"
] | 3 | 2019-02-18T07:52:41.000Z | 2021-03-31T03:51:11.000Z | mezzanine/__init__.py | startupgrind/mezzanine | 23d24a07c69bf8f02d60148b0b8da6c76bc5061e | [
"BSD-2-Clause"
] | null | null | null |
__version__ = "4.3.1.post1"
| 9.666667 | 27 | 0.655172 | 5 | 29 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 0.137931 | 29 | 2 | 28 | 14.5 | 0.44 | 0 | 0 | 0 | 0 | 0 | 0.392857 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b9160a13d47cfdacbbfdb45a0590f6674809ddbe | 96 | py | Python | lib/python/test/__init__.py | woozhijun/cat | 3d523202c38e37b1a2244b26d4336ebbea5db001 | [
"Apache-2.0"
] | 17,318 | 2015-01-03T03:02:07.000Z | 2022-03-31T02:43:28.000Z | lib/python/test/__init__.py | MrCoderYu/cat | 674bd9ab70267dd6fc74879e4344af77397f4acd | [
"Apache-2.0"
] | 1,162 | 2015-01-04T08:23:49.000Z | 2022-03-31T15:38:04.000Z | lib/python/test/__init__.py | MrCoderYu/cat | 674bd9ab70267dd6fc74879e4344af77397f4acd | [
"Apache-2.0"
] | 5,520 | 2015-01-03T03:02:07.000Z | 2022-03-31T16:16:56.000Z | #!/usr/bin/env python
# encoding: utf-8
import sys
reload(sys)
sys.setdefaultencoding("utf-8") | 13.714286 | 31 | 0.729167 | 15 | 96 | 4.666667 | 0.733333 | 0.114286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023256 | 0.104167 | 96 | 7 | 31 | 13.714286 | 0.790698 | 0.375 | 0 | 0 | 0 | 0 | 0.084746 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
b92a9fd2163ca676afa6df078248d3bd1b2d8259 | 146 | py | Python | tools/scoring/dimensions/__init__.py | ahemphill/digitalbuildings | 56a03b0055f9f771c3ed0a962f6bfb2b1d968947 | [
"Apache-2.0"
] | null | null | null | tools/scoring/dimensions/__init__.py | ahemphill/digitalbuildings | 56a03b0055f9f771c3ed0a962f6bfb2b1d968947 | [
"Apache-2.0"
] | null | null | null | tools/scoring/dimensions/__init__.py | ahemphill/digitalbuildings | 56a03b0055f9f771c3ed0a962f6bfb2b1d968947 | [
"Apache-2.0"
] | null | null | null | """ Enable import """
from os import path
import sys
sys.path.append(
path.abspath(path.join('tools', 'validators', 'instance_validator')))
| 18.25 | 73 | 0.69863 | 19 | 146 | 5.315789 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136986 | 146 | 7 | 74 | 20.857143 | 0.801587 | 0.089041 | 0 | 0 | 0 | 0 | 0.264 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.