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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
98b2322f409cabff5a6f9e3bdd26864e30bcd813 | 170 | py | Python | pacote/modulo.py | benamoreira/PythonBirds | b0a8809288dcc32892760e6080c9b0e73a8273c9 | [
"MIT"
] | null | null | null | pacote/modulo.py | benamoreira/PythonBirds | b0a8809288dcc32892760e6080c9b0e73a8273c9 | [
"MIT"
] | null | null | null | pacote/modulo.py | benamoreira/PythonBirds | b0a8809288dcc32892760e6080c9b0e73a8273c9 | [
"MIT"
] | null | null | null | def soma(*args):
total = 0
for n in args:
total += n
return total
print(__name__)
print(soma())
print(soma(1))
print(soma(1, 2))
print(soma(1, 2, 5)) | 15.454545 | 20 | 0.582353 | 29 | 170 | 3.275862 | 0.482759 | 0.378947 | 0.315789 | 0.231579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054688 | 0.247059 | 170 | 11 | 20 | 15.454545 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0 | 0 | 0.2 | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
98b31c5b00e8df145236b72d1e7474e7b6782951 | 33 | py | Python | exercises/isogram/isogram.py | kishankj/python | 82042de746128127502e109111e6c4e8ab002af6 | [
"MIT"
] | 1,177 | 2017-06-21T20:24:06.000Z | 2022-03-29T02:30:55.000Z | exercises/isogram/isogram.py | kishankj/python | 82042de746128127502e109111e6c4e8ab002af6 | [
"MIT"
] | 1,890 | 2017-06-18T20:06:10.000Z | 2022-03-31T18:35:51.000Z | exercises/isogram/isogram.py | kishankj/python | 82042de746128127502e109111e6c4e8ab002af6 | [
"MIT"
] | 1,095 | 2017-06-26T23:06:19.000Z | 2022-03-29T03:25:38.000Z | def is_isogram(string):
pass
| 11 | 23 | 0.69697 | 5 | 33 | 4.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212121 | 33 | 2 | 24 | 16.5 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
7f394efd9df34f4c8ef16a5411df483068515ada | 273 | py | Python | cardea/primitives/processing/__init__.py | sarahmish/Cardea | 85c4246c12178e6d1b9cc12eb39c264f3c20f3e9 | [
"MIT"
] | 69 | 2021-01-28T22:25:10.000Z | 2022-03-15T00:23:33.000Z | cardea/primitives/processing/__init__.py | sarahmish/Cardea | 85c4246c12178e6d1b9cc12eb39c264f3c20f3e9 | [
"MIT"
] | 30 | 2018-08-29T12:45:23.000Z | 2019-12-24T11:08:12.000Z | cardea/primitives/processing/__init__.py | sarahmish/Cardea | 85c4246c12178e6d1b9cc12eb39c264f3c20f3e9 | [
"MIT"
] | 14 | 2021-03-24T01:21:25.000Z | 2022-03-12T11:53:40.000Z | # -*- coding: utf-8 -*-
from cardea.primitives.processing.categorizer import Categorizer
from cardea.primitives.processing.imputer import Imputer
from cardea.primitives.processing.one_hot_encoder import OneHotEncoder
from cardea.primitives.processing.pruner import Pruner
| 39 | 70 | 0.842491 | 33 | 273 | 6.909091 | 0.454545 | 0.175439 | 0.350877 | 0.526316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003984 | 0.080586 | 273 | 6 | 71 | 45.5 | 0.904382 | 0.076923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
7f51e0bf6593f295c02ac2f78601e7a30902d309 | 65 | py | Python | pegasusio/commands/__init__.py | hoondy/pegasusio | a98d252607df83ef471486005ee688cb281ca1d1 | [
"BSD-3-Clause"
] | 8 | 2020-05-01T17:27:46.000Z | 2022-01-25T04:54:35.000Z | pegasusio/commands/__init__.py | hoondy/pegasusio | a98d252607df83ef471486005ee688cb281ca1d1 | [
"BSD-3-Clause"
] | 5 | 2020-07-14T02:35:46.000Z | 2022-02-11T04:01:56.000Z | pegasusio/commands/__init__.py | hoondy/pegasusio | a98d252607df83ef471486005ee688cb281ca1d1 | [
"BSD-3-Clause"
] | 3 | 2020-07-12T15:10:48.000Z | 2022-01-25T16:58:22.000Z | from .AggregateMatrix import AggregateMatrix as aggregate_matrix
| 32.5 | 64 | 0.892308 | 7 | 65 | 8.142857 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092308 | 65 | 1 | 65 | 65 | 0.966102 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
7f7d90adb2efbe639efd77c3895641a21b188d4c | 1,588 | py | Python | zabby/items/net/interface.py | blin/zabby | 0f9358ca435ea7368202a6d0fc20cea749f896e1 | [
"MIT"
] | 4 | 2016-04-23T13:26:43.000Z | 2017-11-19T14:07:36.000Z | zabby/items/net/interface.py | blin/zabby | 0f9358ca435ea7368202a6d0fc20cea749f896e1 | [
"MIT"
] | null | null | null | zabby/items/net/interface.py | blin/zabby | 0f9358ca435ea7368202a6d0fc20cea749f896e1 | [
"MIT"
] | 4 | 2015-09-07T05:55:57.000Z | 2022-02-14T13:54:14.000Z | from zabby.core.utils import validate_mode
from zabby.hostos import detect_host_os
__all__ = ['incoming', 'outgoing', ]
NET_MODES = ['bytes', 'packets', 'errors', 'dropped', ]
def incoming(interface_name, mode="bytes", host_os=detect_host_os()):
"""
Returns amount of received bytes or packets, dropped incom... | 31.137255 | 76 | 0.72733 | 209 | 1,588 | 5.239234 | 0.248804 | 0.071233 | 0.065753 | 0.131507 | 0.759817 | 0.759817 | 0.759817 | 0.759817 | 0.759817 | 0.759817 | 0 | 0 | 0.175063 | 1,588 | 50 | 77 | 31.76 | 0.835878 | 0.379093 | 0 | 0.5 | 0 | 0 | 0.100546 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0.1 | 0 | 0.3 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
f69c549b02c4217f3bc790f5daea908b61b8fef0 | 29 | py | Python | templates/base/models/my_models.py | timojl/tralo | 90b928c0cb38dbc2a324d8761bce1b2a422f5e31 | [
"MIT"
] | null | null | null | templates/base/models/my_models.py | timojl/tralo | 90b928c0cb38dbc2a324d8761bce1b2a422f5e31 | [
"MIT"
] | null | null | null | templates/base/models/my_models.py | timojl/tralo | 90b928c0cb38dbc2a324d8761bce1b2a422f5e31 | [
"MIT"
] | null | null | null | # put your custom models here | 29 | 29 | 0.793103 | 5 | 29 | 4.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 29 | 1 | 29 | 29 | 0.958333 | 0.931034 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
f6b3cd32b6274da1d052f8e608dac24857ddb939 | 230 | py | Python | tests/test_libs_json_utils.py | fyntex/lib-cl-sii-python | b6ffb72be1f173a1d2e44b17ae5c08caf96ebf34 | [
"MIT"
] | 8 | 2020-03-07T19:58:40.000Z | 2021-12-15T13:47:40.000Z | tests/test_libs_json_utils.py | fyntex/lib-cl-sii-python | b6ffb72be1f173a1d2e44b17ae5c08caf96ebf34 | [
"MIT"
] | 141 | 2020-01-17T22:47:35.000Z | 2022-03-31T18:29:47.000Z | tests/test_libs_json_utils.py | fyntex/lib-cl-sii-python | b6ffb72be1f173a1d2e44b17ae5c08caf96ebf34 | [
"MIT"
] | 3 | 2020-03-07T20:30:02.000Z | 2021-03-22T03:14:26.000Z | import unittest
from cl_sii.libs.json_utils import read_json_schema # noqa: F401
from .utils import read_test_file_json_dict # noqa: F401
class FunctionReadJsonSchemaTest(unittest.TestCase):
# TODO: implement
pass
| 17.692308 | 65 | 0.778261 | 31 | 230 | 5.516129 | 0.677419 | 0.128655 | 0.175439 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03125 | 0.165217 | 230 | 12 | 66 | 19.166667 | 0.859375 | 0.16087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 0 | 1 | 0 | true | 0.2 | 0.6 | 0 | 0.8 | 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 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
f6e1638c8daa68a27bf2f02768cf84b05bd7e455 | 361 | py | Python | graficar.py | TmsRC/Final_Punto15 | 3009162bf84680bf73df1f8ef3df5b9d7c75ddf0 | [
"MIT"
] | null | null | null | graficar.py | TmsRC/Final_Punto15 | 3009162bf84680bf73df1f8ef3df5b9d7c75ddf0 | [
"MIT"
] | null | null | null | graficar.py | TmsRC/Final_Punto15 | 3009162bf84680bf73df1f8ef3df5b9d7c75ddf0 | [
"MIT"
] | null | null | null | import numpy as np
import matplotlib.pyplot as plt
datos = np.loadtxt("datos.dat").T
plt.figure()
plt.plot(datos[1],datos[2])
plt.title("Trayectoria")
plt.ylabel("Y")
plt.xlabel("X")
plt.savefig("RubioTomas_final_15.pdf")
plt.figure()
plt.plot(datos[1],datos[2])
plt.title("Trayectoria")
plt.ylabel("Y")
plt.xlabel("X... | 20.055556 | 38 | 0.728532 | 61 | 361 | 4.245902 | 0.442623 | 0.069498 | 0.092664 | 0.123552 | 0.725869 | 0.725869 | 0.725869 | 0.725869 | 0.725869 | 0.725869 | 0 | 0.02381 | 0.069252 | 361 | 18 | 39 | 20.055556 | 0.747024 | 0 | 0 | 0.666667 | 0 | 0 | 0.223757 | 0.127072 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.133333 | 0 | 0.133333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
100660cf47aa30faf164dc251974237d0ad26da4 | 79 | py | Python | snarl/__init__.py | JoshKarpel/snarl | 73b56a5a4f5c1126bc424e82cded01e2aadf8666 | [
"MIT"
] | 5 | 2019-08-29T13:42:55.000Z | 2021-11-11T00:45:38.000Z | snarl/__init__.py | JoshKarpel/snarl | 73b56a5a4f5c1126bc424e82cded01e2aadf8666 | [
"MIT"
] | null | null | null | snarl/__init__.py | JoshKarpel/snarl | 73b56a5a4f5c1126bc424e82cded01e2aadf8666 | [
"MIT"
] | null | null | null | from .snarl import Snarl
from .snarled import snarled
from . import exceptions
| 19.75 | 28 | 0.810127 | 11 | 79 | 5.818182 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151899 | 79 | 3 | 29 | 26.333333 | 0.955224 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
101175b56760fd79303547b6e7a1575ac33fd7ab | 34 | py | Python | app/services/__init__.py | hatamiarash7/Prometheus-Telegram | 2ef9d158d2b53b9ffad0c80abfe7daa18075156d | [
"MIT"
] | null | null | null | app/services/__init__.py | hatamiarash7/Prometheus-Telegram | 2ef9d158d2b53b9ffad0c80abfe7daa18075156d | [
"MIT"
] | 2 | 2022-03-09T17:33:26.000Z | 2022-03-11T09:43:14.000Z | app/services/__init__.py | hatamiarash7/Prometheus-Telegram | 2ef9d158d2b53b9ffad0c80abfe7daa18075156d | [
"MIT"
] | null | null | null | from .message import send_message
| 17 | 33 | 0.852941 | 5 | 34 | 5.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
1012a5bee8c15af1f7a1e372958c0e48ac6e537b | 33,161 | py | Python | algorithms/neural_networks_historic.py | sugarbrain/bank-marketing | 1fd7687a44e5b834a8c10203970caf4bc21845a8 | [
"MIT"
] | null | null | null | algorithms/neural_networks_historic.py | sugarbrain/bank-marketing | 1fd7687a44e5b834a8c10203970caf4bc21845a8 | [
"MIT"
] | null | null | null | algorithms/neural_networks_historic.py | sugarbrain/bank-marketing | 1fd7687a44e5b834a8c10203970caf4bc21845a8 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import pandas
import numpy as np
from sklearn import preprocessing
from sklearn import neighbors
from sklearn.model_selection import StratifiedKFold, cross_val_score
import matplotlib.pyplot as plt
from sklearn.model_selection import train_test_split
from sklearn.neural_network import MLPClassi... | 231.895105 | 29,571 | 0.641718 | 4,676 | 33,161 | 4.274594 | 0.09645 | 0.169502 | 0.246548 | 0.101061 | 0.622023 | 0.603712 | 0.408745 | 0.038123 | 0.038123 | 0.005403 | 0 | 0.230108 | 0.108591 | 33,161 | 143 | 29,572 | 231.895105 | 0.446076 | 0.012635 | 0 | 0.046512 | 0 | 0 | 0.417723 | 0.002108 | 0 | 0 | 0 | 0 | 0 | 1 | 0.069767 | false | 0 | 0.093023 | 0 | 0.209302 | 0.093023 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
63d8fe51705207425ae49fc5d200f3bbc54e07e0 | 2,977 | py | Python | python/test/test_pcb_api.py | thracesystems/powermeter-api | 7bdab034ff916ee49e986de88f157bd044e981c1 | [
"Apache-2.0"
] | null | null | null | python/test/test_pcb_api.py | thracesystems/powermeter-api | 7bdab034ff916ee49e986de88f157bd044e981c1 | [
"Apache-2.0"
] | null | null | null | python/test/test_pcb_api.py | thracesystems/powermeter-api | 7bdab034ff916ee49e986de88f157bd044e981c1 | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
"""
PowerMeter API
API # noqa: E501
The version of the OpenAPI document: 2021.4.1
Generated by: https://openapi-generator.tech
"""
from __future__ import absolute_import
import unittest
import powermeter_api
from powermeter_api.api.pcb_api import PcbApi # noqa: E501
from powerme... | 17.933735 | 68 | 0.590863 | 365 | 2,977 | 4.465753 | 0.153425 | 0.094479 | 0.148466 | 0.188957 | 0.746012 | 0.6 | 0.119018 | 0 | 0 | 0 | 0 | 0.00794 | 0.323144 | 2,977 | 165 | 69 | 18.042424 | 0.800993 | 0.372187 | 0 | 0.410714 | 1 | 0 | 0.00463 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0.410714 | 0.089286 | 0 | 0.535714 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
1244b95452209a7f8a6d0f009884cb2359ecd6f5 | 119 | py | Python | python_projects/pc_shutdown.py | vijay0707/PYTHON-PROJECTS | 3f5bf995b431e5c83c601200b08a7eae536e3571 | [
"MIT"
] | null | null | null | python_projects/pc_shutdown.py | vijay0707/PYTHON-PROJECTS | 3f5bf995b431e5c83c601200b08a7eae536e3571 | [
"MIT"
] | null | null | null | python_projects/pc_shutdown.py | vijay0707/PYTHON-PROJECTS | 3f5bf995b431e5c83c601200b08a7eae536e3571 | [
"MIT"
] | null | null | null | # Shutdown Computer using Python
import os
def pc_shutdown():
os.system("shutdown /s /t 1")
pc_shutdown() | 14.875 | 34 | 0.663866 | 17 | 119 | 4.529412 | 0.705882 | 0.25974 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01087 | 0.226891 | 119 | 8 | 35 | 14.875 | 0.826087 | 0.252101 | 0 | 0 | 0 | 0 | 0.197531 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
12497934137e96806cb206fd1a36b24806a3546b | 19 | py | Python | lib/python3.7/site-packages/braintree/version.py | edbolivar/perfectpair-django | 798a88d16c6689bad2248add0e4e4958bda64545 | [
"MIT"
] | null | null | null | lib/python3.7/site-packages/braintree/version.py | edbolivar/perfectpair-django | 798a88d16c6689bad2248add0e4e4958bda64545 | [
"MIT"
] | 9 | 2019-12-04T23:15:54.000Z | 2022-02-10T11:05:43.000Z | lib/python3.7/site-packages/braintree/version.py | edbolivar/perfectpair | c165cff40353c602fe0dc418375b90e9b25de674 | [
"MIT"
] | null | null | null | Version = "3.53.0"
| 9.5 | 18 | 0.578947 | 4 | 19 | 2.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0.157895 | 19 | 1 | 19 | 19 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
125f68a4685966ea0cb2f8a96ae574c06c5c5236 | 72 | py | Python | TorrentBOX/test.py | herokukuki/pp | 8ea412b85bbe55b33afc09461b7d194ce5a733ab | [
"BSD-3-Clause"
] | 62 | 2015-07-30T17:51:53.000Z | 2021-05-10T03:43:18.000Z | TorrentBOX/test.py | herokukuki/pp | 8ea412b85bbe55b33afc09461b7d194ce5a733ab | [
"BSD-3-Clause"
] | 11 | 2015-08-05T04:57:51.000Z | 2018-10-05T10:40:34.000Z | TorrentBOX/test.py | herokukuki/pp | 8ea412b85bbe55b33afc09461b7d194ce5a733ab | [
"BSD-3-Clause"
] | 28 | 2015-07-30T18:03:01.000Z | 2020-12-11T00:38:23.000Z | from pathlib import Path
print(Path(__file__).resolve().parent.parent)
| 18 | 45 | 0.791667 | 10 | 72 | 5.3 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 72 | 3 | 46 | 24 | 0.80303 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
89e1372201764f23c20c90cc2bc66538086e2020 | 47 | py | Python | code/abc069_a_01.py | KoyanagiHitoshi/AtCoder | 731892543769b5df15254e1f32b756190378d292 | [
"MIT"
] | 3 | 2019-08-16T16:55:48.000Z | 2021-04-11T10:21:40.000Z | code/abc069_a_01.py | KoyanagiHitoshi/AtCoder | 731892543769b5df15254e1f32b756190378d292 | [
"MIT"
] | null | null | null | code/abc069_a_01.py | KoyanagiHitoshi/AtCoder | 731892543769b5df15254e1f32b756190378d292 | [
"MIT"
] | null | null | null | n,m=map(int,input().split())
print((n-1)*(m-1)) | 23.5 | 28 | 0.574468 | 11 | 47 | 2.454545 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 0.021277 | 47 | 2 | 29 | 23.5 | 0.543478 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
d6048798efe8366547773de6adaf83fafd33a305 | 32 | py | Python | xueshanlinghu/__init__.py | xueshanlinghu/xueshanlinghu-package | fc1f75a30fc1dfd83eeb0bcd6876021239c0af69 | [
"MIT"
] | 1 | 2017-03-20T12:35:21.000Z | 2017-03-20T12:35:21.000Z | xueshanlinghu/__init__.py | xueshanlinghu/xueshanlinghu-package | fc1f75a30fc1dfd83eeb0bcd6876021239c0af69 | [
"MIT"
] | null | null | null | xueshanlinghu/__init__.py | xueshanlinghu/xueshanlinghu-package | fc1f75a30fc1dfd83eeb0bcd6876021239c0af69 | [
"MIT"
] | null | null | null | from xueshanlinghu.math import * | 32 | 32 | 0.84375 | 4 | 32 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 32 | 1 | 32 | 32 | 0.931034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
c3fc5e4997f7f0a56044f8e6473ce8d6cd80f367 | 15,031 | py | Python | simple_tensor/tensor_operations.py | fatchur/simple_tensor | ebc66d46d54fcfb65ef104978a6feca0a156b9b3 | [
"MIT"
] | 21 | 2019-03-08T16:02:46.000Z | 2022-02-09T03:31:26.000Z | simple_tensor/tensor_operations.py | fatchur/simple_tensor | ebc66d46d54fcfb65ef104978a6feca0a156b9b3 | [
"MIT"
] | 3 | 2020-02-04T08:43:20.000Z | 2020-10-20T13:52:16.000Z | simple_tensor/tensor_operations.py | fatchur/simple_tensor | ebc66d46d54fcfb65ef104978a6feca0a156b9b3 | [
"MIT"
] | 5 | 2019-11-30T03:40:04.000Z | 2021-12-26T07:01:53.000Z | '''
File name: test.py
Author: [Mochammad F Rahman]
Date created: / /2019
Date last modified: 17/07/2019
Python Version: >= 3.5
Simple-tensor version: v0.6.2
License: MIT License
Maintainer: [Mochammad F Rahman]
'''
import tensorflow as tf
from tensorflow.python import control_flow_ops
... | 36.840686 | 136 | 0.546138 | 1,626 | 15,031 | 4.919434 | 0.116851 | 0.101263 | 0.042755 | 0.052507 | 0.738967 | 0.727716 | 0.721215 | 0.703463 | 0.697337 | 0.665208 | 0 | 0.015358 | 0.319872 | 15,031 | 407 | 137 | 36.931204 | 0.767094 | 0.321535 | 0 | 0.748768 | 0 | 0 | 0.066922 | 0.002406 | 0 | 0 | 0 | 0 | 0 | 1 | 0.044335 | false | 0 | 0.009852 | 0 | 0.098522 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
7f1b7c585e3c56a28986d9dd8cfa1ca575c77962 | 151 | py | Python | manim_express/backend/manimgl/__init__.py | beidongjiedeguang/manim-express | e9c89b74da3692db3ea9b568727e78d5cbcef503 | [
"MIT"
] | 12 | 2021-06-14T07:28:29.000Z | 2022-02-25T02:49:49.000Z | manim_express/backend/manimgl/__init__.py | beidongjiedeguang/manim-kunyuan | e9c89b74da3692db3ea9b568727e78d5cbcef503 | [
"MIT"
] | 1 | 2022-02-01T12:30:14.000Z | 2022-02-01T12:30:14.000Z | manim_express/backend/manimgl/__init__.py | beidongjiedeguang/manim-express | e9c89b74da3692db3ea9b568727e78d5cbcef503 | [
"MIT"
] | 2 | 2021-05-13T13:24:15.000Z | 2021-05-18T02:56:22.000Z | from .utils import *
from .mobject.geometry import *
from .scene import SceneGL
from manim_express.backend.manimgl.express.eager import EagerModeScene
| 30.2 | 70 | 0.827815 | 20 | 151 | 6.2 | 0.65 | 0.16129 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10596 | 151 | 4 | 71 | 37.75 | 0.918519 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
61542aff6a4815b5538c9d4168bb2b6ee2f0e84b | 225 | py | Python | ifpd2/scripts/db/__init__.py | ggirelli/ifpd2 | b480240433898dd678fb4c9650dd6aee23348bf8 | [
"MIT"
] | 1 | 2021-03-03T09:19:21.000Z | 2021-03-03T09:19:21.000Z | ifpd2/scripts/db/__init__.py | ggirelli/ifpd2 | b480240433898dd678fb4c9650dd6aee23348bf8 | [
"MIT"
] | 85 | 2021-02-26T08:51:02.000Z | 2022-03-09T09:26:04.000Z | ifpd2/scripts/db/__init__.py | ggirelli/ifpd2 | b480240433898dd678fb4c9650dd6aee23348bf8 | [
"MIT"
] | 1 | 2022-03-08T09:35:41.000Z | 2022-03-08T09:35:41.000Z | """
@author: Gabriele Girelli
@contact: gigi.ga90@gmail.com
"""
from ifpd2.scripts.db import check, dump, info, make
from ifpd2.scripts.db import run, settings
__all__ = ["check", "dump", "info", "make", "run", "settings"]
| 22.5 | 62 | 0.688889 | 31 | 225 | 4.870968 | 0.645161 | 0.119205 | 0.211921 | 0.238411 | 0.317881 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020408 | 0.128889 | 225 | 9 | 63 | 25 | 0.75 | 0.244444 | 0 | 0 | 0 | 0 | 0.17284 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
61c564395a6f15cc4928dc69b57c2fd5a90af1f8 | 73 | py | Python | teachnlp/__init__.py | abhinavdayal/TeachNLP | 57bc2b0d003aa3291c67de244c32d262fadacf21 | [
"MIT"
] | null | null | null | teachnlp/__init__.py | abhinavdayal/TeachNLP | 57bc2b0d003aa3291c67de244c32d262fadacf21 | [
"MIT"
] | null | null | null | teachnlp/__init__.py | abhinavdayal/TeachNLP | 57bc2b0d003aa3291c67de244c32d262fadacf21 | [
"MIT"
] | null | null | null | from .languagemodels import ngram
from .classification import naive_bayes | 36.5 | 39 | 0.876712 | 9 | 73 | 7 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09589 | 73 | 2 | 39 | 36.5 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
f63fd49bf51a5606d86ce5a700901200bb46e47b | 3,537 | py | Python | tests/test_statevalue.py | kentokura/GobbletGobblers_py | 90ad6722370f82780ee62510dfef4d7a1056178c | [
"MIT"
] | 1 | 2020-10-14T20:31:03.000Z | 2020-10-14T20:31:03.000Z | tests/test_statevalue.py | kentokura/GobbletGobblers_py | 90ad6722370f82780ee62510dfef4d7a1056178c | [
"MIT"
] | null | null | null | tests/test_statevalue.py | kentokura/GobbletGobblers_py | 90ad6722370f82780ee62510dfef4d7a1056178c | [
"MIT"
] | null | null | null | # coding=utf-8
import unittest
import gobbletgobblers as game
import statevalue as value
class TestMiniMax(unittest.TestCase):
# 価値計算のテスト
# 以下の条件で正しく価値を計算する(先手目線、後手には-1をかけて適用する)
# - 勝ち盤面
# - 負け盤面
# - 引き分け盤面
# - 手数がかかる盤面
# - 自分のコマを置いて勝ち
# - 相手がどこに置いても、次に自分がコマを置いて勝ち
# - 自分がどこに置... | 26.795455 | 104 | 0.284705 | 383 | 3,537 | 2.584856 | 0.159269 | 0.286869 | 0.351515 | 0.416162 | 0.379798 | 0.378788 | 0.378788 | 0.378788 | 0.378788 | 0.375758 | 0 | 0.145887 | 0.560079 | 3,537 | 132 | 105 | 26.795455 | 0.486504 | 0.216568 | 0 | 0.12 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 1 | 0.04 | false | 0 | 0.12 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
f674d1953c19ce52a1e918299cfbee353d110061 | 20,336 | py | Python | python-2-apps/fn_fortinet_nac/fn_fortinet_nac/util/customize.py | JayDi11a/Geralds-IBM-SOAR-Integrations | 0e0eb18adbaf3a266e1dc5a316df7cd5a93f88d0 | [
"MIT"
] | null | null | null | python-2-apps/fn_fortinet_nac/fn_fortinet_nac/util/customize.py | JayDi11a/Geralds-IBM-SOAR-Integrations | 0e0eb18adbaf3a266e1dc5a316df7cd5a93f88d0 | [
"MIT"
] | 1 | 2022-03-06T00:10:13.000Z | 2022-03-06T00:10:13.000Z | python-2-apps/fn_fortinet_nac/fn_fortinet_nac/util/customize.py | JayDi11a/Geralds-IBM-SOAR-Integrations | 0e0eb18adbaf3a266e1dc5a316df7cd5a93f88d0 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""Generate the Resilient customizations required for fn_fortinet_nac"""
from __future__ import print_function
from resilient_circuits.util import *
def customization_data(client=None):
"""Produce any customization definitions (types, fields, message destinations, etc)
that should... | 70.366782 | 87 | 0.972315 | 350 | 20,336 | 56.44 | 0.942857 | 0.001671 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117534 | 0.023505 | 20,336 | 288 | 88 | 70.611111 | 0.877228 | 0.024882 | 0 | 0 | 1 | 0 | 0.987469 | 0.974584 | 0 | 1 | 0 | 0 | 0 | 1 | 0.003846 | false | 0 | 0.011538 | 0 | 0.015385 | 0.003846 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
f677f7d9f598122efd60b483f44ed1ed16c2ecae | 117 | py | Python | ezusbfifo/__init__.py | jix/ezusbfifo | a6deff0bf76c3418de915e09e0d70fd5f3a5a214 | [
"BSD-2-Clause"
] | 1 | 2016-07-26T04:46:59.000Z | 2016-07-26T04:46:59.000Z | ezusbfifo/__init__.py | jix/ezusbfifo | a6deff0bf76c3418de915e09e0d70fd5f3a5a214 | [
"BSD-2-Clause"
] | null | null | null | ezusbfifo/__init__.py | jix/ezusbfifo | a6deff0bf76c3418de915e09e0d70fd5f3a5a214 | [
"BSD-2-Clause"
] | null | null | null | from ezusbfifo.actor import USBActor
from ezusbfifo.async import AsyncUSBActor
from ezusbfifo.sim import SimUSBActor
| 29.25 | 41 | 0.871795 | 15 | 117 | 6.8 | 0.6 | 0.382353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 117 | 3 | 42 | 39 | 0.971429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 1 | null | null | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
9c8eab0bb09347eee6dc1b748164f40377af4f0f | 194 | py | Python | server/src/factory/i_controller_factory.py | konrad2508/picgal | 7f7822a02145fd2efa697e1c7750af9af680a3da | [
"MIT"
] | 4 | 2021-12-31T10:06:34.000Z | 2022-01-16T16:34:50.000Z | server/src/factory/i_controller_factory.py | konrad2508/picgal | 7f7822a02145fd2efa697e1c7750af9af680a3da | [
"MIT"
] | null | null | null | server/src/factory/i_controller_factory.py | konrad2508/picgal | 7f7822a02145fd2efa697e1c7750af9af680a3da | [
"MIT"
] | null | null | null | from abc import ABC, abstractmethod
from controller.i_controller import IController
class IControllerFactory(ABC):
@abstractmethod
def get_controllers(self) -> list[IController]: ...
| 21.555556 | 55 | 0.773196 | 21 | 194 | 7.047619 | 0.666667 | 0.22973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14433 | 194 | 8 | 56 | 24.25 | 0.891566 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
9c9b5671046cc8a038b40030402f9a2a5fcb0b35 | 126 | py | Python | elpa/elpy-20161229.1103/elpy/tests/__init__.py | fengxia41103/emacs.d | 5f776ff18de0ea6dedf3671843bd69c571e76c39 | [
"BSD-2-Clause-FreeBSD"
] | 11 | 2018-01-12T02:13:04.000Z | 2021-05-14T20:47:47.000Z | elpa/elpy-20180916.839/elpy/tests/__init__.py | jueqingsizhe66/ranEmacs.d | d1d2684857feeaf505a3cddcf044f7a60d10d1a4 | [
"Unlicense"
] | 1 | 2020-03-24T12:50:29.000Z | 2020-03-24T12:51:11.000Z | elpa/elpy-20180916.839/elpy/tests/__init__.py | jueqingsizhe66/ranEmacs.d | d1d2684857feeaf505a3cddcf044f7a60d10d1a4 | [
"Unlicense"
] | 1 | 2020-11-04T05:05:12.000Z | 2020-11-04T05:05:12.000Z | """Unit tests for elpy."""
try:
import unittest2
import sys
sys.modules['unittest'] = unittest2
except:
pass
| 14 | 39 | 0.634921 | 15 | 126 | 5.333333 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021053 | 0.246032 | 126 | 8 | 40 | 15.75 | 0.821053 | 0.15873 | 0 | 0 | 0 | 0 | 0.08 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 5 |
9ccb9881e77ea01a70b2e7ac954801d289e8a993 | 132 | py | Python | exercicios/ex003.py | oGuilhermeViana/python | 69c03ea77d367769d68664368c51e9203606e42b | [
"MIT"
] | null | null | null | exercicios/ex003.py | oGuilhermeViana/python | 69c03ea77d367769d68664368c51e9203606e42b | [
"MIT"
] | null | null | null | exercicios/ex003.py | oGuilhermeViana/python | 69c03ea77d367769d68664368c51e9203606e42b | [
"MIT"
] | null | null | null | n1 = int(input('Digite o 1° número: '))
n2 = int(input('Digite o 2° número: '))
s = n1 + n2
print('{} + {} = {}'.format(n1, n2, s))
| 26.4 | 39 | 0.522727 | 24 | 132 | 2.958333 | 0.541667 | 0.225352 | 0.394366 | 0.422535 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075472 | 0.19697 | 132 | 4 | 40 | 33 | 0.575472 | 0 | 0 | 0 | 0 | 0 | 0.393939 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.25 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
9ccc4455d5e4a81dc41a34017c39a02d0489fd3c | 161 | py | Python | capture/lib/exceptions.py | SirLez/capture.py | 9f97f78d90ccba520908a2af1acbab26c366bb84 | [
"Apache-2.0"
] | 1 | 2022-03-27T09:48:19.000Z | 2022-03-27T09:48:19.000Z | capture/lib/exceptions.py | SirLez/capture.py | 9f97f78d90ccba520908a2af1acbab26c366bb84 | [
"Apache-2.0"
] | null | null | null | capture/lib/exceptions.py | SirLez/capture.py | 9f97f78d90ccba520908a2af1acbab26c366bb84 | [
"Apache-2.0"
] | null | null | null | class Except(Exception):
def __init__(*args, **kwargs):
Exception.__init__(*args, **kwargs)
def CheckExceptions(data):
raise Except(data)
| 23 | 44 | 0.652174 | 17 | 161 | 5.705882 | 0.588235 | 0.164948 | 0.28866 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.21118 | 161 | 6 | 45 | 26.833333 | 0.76378 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
140134243b138e2c3a5c8effb9c54a70769dd3c6 | 2,988 | py | Python | tests/gamification/test_rule_models.py | mrgambal/ner_trainer | 4ea617bb9a1c4778ce6dfa084c53e2667d037f67 | [
"BSD-3-Clause"
] | 33 | 2015-01-20T12:12:40.000Z | 2020-02-23T14:21:24.000Z | tests/gamification/test_rule_models.py | mrgambal/vulyk | 4ea617bb9a1c4778ce6dfa084c53e2667d037f67 | [
"BSD-3-Clause"
] | 48 | 2015-01-13T16:29:44.000Z | 2020-10-21T13:09:23.000Z | tests/gamification/test_rule_models.py | mrgambal/ner_trainer | 4ea617bb9a1c4778ce6dfa084c53e2667d037f67 | [
"BSD-3-Clause"
] | 9 | 2015-04-01T15:19:13.000Z | 2021-06-21T15:44:28.000Z | # -*- coding: utf-8 -*-
"""
test_rule_models
"""
from vulyk.blueprints.gamification.core.rules import Rule, ProjectRule
from ..base import BaseTest
class TestRuleModels(BaseTest):
BADGE_IMAGE = 'data:image/png;base64,'
RULE_ID = 100
RULE_NAME = 'name'
RULE_DESCRIPTION = 'description'
TASKS_NUMBER... | 30.804124 | 70 | 0.568942 | 334 | 2,988 | 4.778443 | 0.146707 | 0.105263 | 0.037594 | 0.071429 | 0.801378 | 0.7901 | 0.766917 | 0.73183 | 0.676692 | 0.676692 | 0 | 0.0095 | 0.330656 | 2,988 | 96 | 71 | 31.125 | 0.7885 | 0.013052 | 0 | 0.674699 | 0 | 0 | 0.093846 | 0.00748 | 0 | 0 | 0 | 0 | 0.036145 | 1 | 0.036145 | false | 0 | 0.024096 | 0 | 0.180723 | 0.012048 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
141aae554698825a14bb6b15c459828b7f427d8f | 266 | py | Python | inat_creds.py | Afrisnake/iNaturalist-Scraper-and-Data-Pipeline | e209f0470103ec2a374663ace1260a27b826b65c | [
"MIT"
] | 1 | 2021-11-11T01:34:54.000Z | 2021-11-11T01:34:54.000Z | inat_creds.py | Afrisnake/iNaturalist-Scraper-and-Data-Pipeline | e209f0470103ec2a374663ace1260a27b826b65c | [
"MIT"
] | null | null | null | inat_creds.py | Afrisnake/iNaturalist-Scraper-and-Data-Pipeline | e209f0470103ec2a374663ace1260a27b826b65c | [
"MIT"
] | null | null | null | '''
Specifies the username and password required to log into the iNaturalist website.
These variables are imported into the 'inaturalist_scraper.py' script
'''
username = 'your_iNaturalist_username_here'
password = 'your_iNaturalist_password_here' | 29.555556 | 86 | 0.766917 | 32 | 266 | 6.15625 | 0.625 | 0.071066 | 0.182741 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172932 | 266 | 9 | 87 | 29.555556 | 0.895455 | 0.571429 | 0 | 0 | 0 | 0 | 0.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.5 | 0 | 0 | 0 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
14395ab290a11d20d7720998151df0772ee04295 | 5,132 | py | Python | tikz2graphml/grammar/TikzListener.py | ysahil97/tikz-to-yed-graphml | de3cc51675b9d09c68445ac7f40cccd64a28e448 | [
"Apache-2.0"
] | null | null | null | tikz2graphml/grammar/TikzListener.py | ysahil97/tikz-to-yed-graphml | de3cc51675b9d09c68445ac7f40cccd64a28e448 | [
"Apache-2.0"
] | 3 | 2019-05-03T04:46:19.000Z | 2019-05-03T04:47:01.000Z | tikz2graphml/grammar/TikzListener.py | ysahil97/tikz-to-yed-graphml | de3cc51675b9d09c68445ac7f40cccd64a28e448 | [
"Apache-2.0"
] | null | null | null | # Generated from tikz2graphml/grammar/Tikz.g4 by ANTLR 4.7.2
from antlr4 import *
if __name__ is not None and "." in __name__:
from .TikzParser import TikzParser
else:
from TikzParser import TikzParser
# This class defines a complete listener for a parse tree produced by TikzParser.
class TikzListener(ParseTre... | 31.292683 | 84 | 0.730709 | 557 | 5,132 | 6.718133 | 0.193896 | 0.05612 | 0.093533 | 0.168359 | 0.800909 | 0.482897 | 0.47488 | 0.473544 | 0 | 0 | 0 | 0.001473 | 0.206157 | 5,132 | 163 | 85 | 31.484663 | 0.917035 | 0.380553 | 0 | 0.459459 | 1 | 0 | 0.000322 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.459459 | false | 0.459459 | 0.040541 | 0 | 0.513514 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
14762532b0b2c9e0dc177730a543ef1db73e4310 | 77 | py | Python | pyinformix/requirements.py | homedepot/pyinformix | 06a037510f79d12557a0dc0b795e2a92eb79ecb3 | [
"Apache-2.0"
] | null | null | null | pyinformix/requirements.py | homedepot/pyinformix | 06a037510f79d12557a0dc0b795e2a92eb79ecb3 | [
"Apache-2.0"
] | null | null | null | pyinformix/requirements.py | homedepot/pyinformix | 06a037510f79d12557a0dc0b795e2a92eb79ecb3 | [
"Apache-2.0"
] | null | null | null | from ibm_db_sa import requirements
Requirements = requirements.Requirements
| 19.25 | 40 | 0.87013 | 9 | 77 | 7.222222 | 0.666667 | 1.107692 | 1.107692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103896 | 77 | 3 | 41 | 25.666667 | 0.942029 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
14816114c6f7af25067aa2b008e30452096dc622 | 63 | py | Python | imapfw/conf/__init__.py | paralax/imapfw | 740a4fed1a1de28e4134a115a1dd9c6e90e29ec1 | [
"MIT"
] | 492 | 2015-10-12T18:18:48.000Z | 2022-02-14T11:46:46.000Z | imapfw/conf/__init__.py | paralax/imapfw | 740a4fed1a1de28e4134a115a1dd9c6e90e29ec1 | [
"MIT"
] | 21 | 2015-11-10T00:49:07.000Z | 2021-12-30T07:51:25.000Z | imapfw/conf/__init__.py | paralax/imapfw | 740a4fed1a1de28e4134a115a1dd9c6e90e29ec1 | [
"MIT"
] | 40 | 2015-10-15T13:27:31.000Z | 2021-12-30T07:52:24.000Z |
from .conf import ImapfwConfig
from .clioptions import Parser
| 15.75 | 30 | 0.825397 | 8 | 63 | 6.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 63 | 3 | 31 | 21 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
148ecc0ecfb7d7517fa392b5820b6f90d8523146 | 65 | py | Python | nst/datamodules/__init__.py | Gradient-PG/live-nst | 02244172646375ff4a4a417bc8220064fadae5a9 | [
"MIT"
] | 5 | 2022-02-09T19:31:06.000Z | 2022-02-25T18:38:18.000Z | nst/datamodules/__init__.py | Gradient-PG/live-nst | 02244172646375ff4a4a417bc8220064fadae5a9 | [
"MIT"
] | 3 | 2022-02-25T22:26:42.000Z | 2022-03-19T11:21:46.000Z | nst/datamodules/__init__.py | Gradient-PG/live-nst | 02244172646375ff4a4a417bc8220064fadae5a9 | [
"MIT"
] | null | null | null | from nst.datamodules.coco128_datamodule import COCO128DataModule
| 32.5 | 64 | 0.907692 | 7 | 65 | 8.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098361 | 0.061538 | 65 | 1 | 65 | 65 | 0.852459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
1490c04b5d587c6d0515353e99919cb56a6bf15f | 96 | py | Python | funk_svd/__init__.py | sicotfre/funk-svd | 2f2297130242cf7efd07872e880d4060f7b3ca68 | [
"MIT"
] | null | null | null | funk_svd/__init__.py | sicotfre/funk-svd | 2f2297130242cf7efd07872e880d4060f7b3ca68 | [
"MIT"
] | null | null | null | funk_svd/__init__.py | sicotfre/funk-svd | 2f2297130242cf7efd07872e880d4060f7b3ca68 | [
"MIT"
] | null | null | null | from . import dataset
from .svd import SVD
from . import utils
__version__ = '0.0.1.dev2'
| 16 | 27 | 0.6875 | 15 | 96 | 4.133333 | 0.6 | 0.322581 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053333 | 0.21875 | 96 | 5 | 28 | 19.2 | 0.773333 | 0 | 0 | 0 | 0 | 0 | 0.10989 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
213c6c52eb636ee7df71ebabf3bf6ffa2c9f2483 | 52,994 | py | Python | python_pb2/go/chromium/org/luci/swarming/proto/api/plugin_prpc_pb2.py | xswz8015/infra | f956b78ce4c39cc76acdda47601b86794ae0c1ba | [
"BSD-3-Clause"
] | null | null | null | python_pb2/go/chromium/org/luci/swarming/proto/api/plugin_prpc_pb2.py | xswz8015/infra | f956b78ce4c39cc76acdda47601b86794ae0c1ba | [
"BSD-3-Clause"
] | 7 | 2022-02-15T01:11:37.000Z | 2022-03-02T12:46:13.000Z | python_pb2/go/chromium/org/luci/swarming/proto/api/plugin_prpc_pb2.py | NDevTK/chromium-infra | d38e088e158d81f7f2065a38aa1ea1894f735ec4 | [
"BSD-3-Clause"
] | null | null | null | # Generated by the pRPC protocol buffer compiler plugin. DO NOT EDIT!
# source: go.chromium.org/luci/swarming/proto/api/plugin.proto
import base64
import zlib
from google.protobuf import descriptor_pb2
# Includes description of the go.chromium.org/luci/swarming/proto/api/plugin.proto and all of its transitive
# dep... | 79.095522 | 122 | 0.881987 | 2,209 | 52,994 | 21.1512 | 0.937076 | 0.001798 | 0.001819 | 0.001455 | 0.005265 | 0.004452 | 0.004452 | 0.004452 | 0.004452 | 0.002568 | 0 | 0.152349 | 0.062743 | 52,994 | 669 | 123 | 79.213752 | 0.788339 | 0.005227 | 0 | 0 | 1 | 0 | 0.905999 | 0.904007 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.004545 | 0 | 0.004545 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
b4bb195eec2b20471c77fe032401472ffb653406 | 348 | py | Python | adder_python/adder.py | ToolPilotNeural/new_repo | 6ced9dc22e3751c08662ff9c3ef54e97e1bf92df | [
"MIT"
] | null | null | null | adder_python/adder.py | ToolPilotNeural/new_repo | 6ced9dc22e3751c08662ff9c3ef54e97e1bf92df | [
"MIT"
] | 3 | 2021-12-13T18:03:14.000Z | 2022-01-19T19:07:42.000Z | adder_python/adder.py | ToolPilotNeural/test_python | 6ced9dc22e3751c08662ff9c3ef54e97e1bf92df | [
"MIT"
] | null | null | null | import math
def add_two_numbers(a, b) -> int:
return a + b
def subtract_two_numbers(a, b) -> int:
return a - b
def multiply_two_numbers(a, b) -> int:
return a * b
def divide_two_numbers(a, b) -> int:
try:
return a/b
except ZeroDivisionError:
print('You cannot divide a number by... | 17.4 | 51 | 0.62069 | 55 | 348 | 3.781818 | 0.418182 | 0.076923 | 0.211538 | 0.230769 | 0.447115 | 0.375 | 0.375 | 0.375 | 0.375 | 0 | 0 | 0 | 0.281609 | 348 | 19 | 52 | 18.315789 | 0.832 | 0 | 0 | 0 | 0 | 0 | 0.097701 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.307692 | false | 0 | 0.076923 | 0.230769 | 0.769231 | 0.076923 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
b4c3ffd1d3bd630c2530efd64dbb9472b608ec40 | 121 | py | Python | Python-Web-Basics-Softuni/recipes/app/admin.py | borisboychev/SoftUni | 22062312f08e29a1d85377a6d41ef74966d37e99 | [
"MIT"
] | 1 | 2020-12-14T23:25:19.000Z | 2020-12-14T23:25:19.000Z | Python-Web-Basics-Softuni/recipes/app/admin.py | borisboychev/SoftUni | 22062312f08e29a1d85377a6d41ef74966d37e99 | [
"MIT"
] | null | null | null | Python-Web-Basics-Softuni/recipes/app/admin.py | borisboychev/SoftUni | 22062312f08e29a1d85377a6d41ef74966d37e99 | [
"MIT"
] | null | null | null | from django.contrib import admin
# Register your models here.
from app.models import Recipe
admin.site.register(Recipe) | 20.166667 | 32 | 0.809917 | 18 | 121 | 5.444444 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123967 | 121 | 6 | 33 | 20.166667 | 0.924528 | 0.214876 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
b4f147e40e2d8510ec00177ad9ec5fe15dd62d06 | 88 | py | Python | Python/100Excersises/1 to 25/22/22.py | magusikrak/NAMI-TERM-I-GroupWork | f0a9a5f219ccbec024eb5316361db3fca46e171c | [
"MIT"
] | null | null | null | Python/100Excersises/1 to 25/22/22.py | magusikrak/NAMI-TERM-I-GroupWork | f0a9a5f219ccbec024eb5316361db3fca46e171c | [
"MIT"
] | 1 | 2021-07-24T03:18:30.000Z | 2021-07-24T12:45:07.000Z | Python/100Excersises/1 to 25/22/22.py | magusikrak/NAMI-TERM-I-GroupWork | f0a9a5f219ccbec024eb5316361db3fca46e171c | [
"MIT"
] | null | null | null |
d = {"a":list(range(1, 11)), "b":list(range(11, 21)), "c":list(range(21, 31))}
print(d) | 29.333333 | 78 | 0.545455 | 18 | 88 | 2.666667 | 0.611111 | 0.5625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139241 | 0.102273 | 88 | 3 | 79 | 29.333333 | 0.468354 | 0 | 0 | 0 | 0 | 0 | 0.034091 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
372fa41edbba2761d124aa1014161e6a16bae0f4 | 39 | py | Python | constants.py | navyad/chatty | 4f7a09aa4138bc6e192b03864409304c182d955f | [
"Apache-2.0"
] | 2 | 2022-02-01T07:32:08.000Z | 2022-02-01T07:32:19.000Z | constants.py | navyad/chatty | 4f7a09aa4138bc6e192b03864409304c182d955f | [
"Apache-2.0"
] | null | null | null | constants.py | navyad/chatty | 4f7a09aa4138bc6e192b03864409304c182d955f | [
"Apache-2.0"
] | null | null | null | SERVER_HOST_PORT = ("127.0.0.1", 1234)
| 19.5 | 38 | 0.666667 | 8 | 39 | 3 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 0.102564 | 39 | 1 | 39 | 39 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
2ede6cc4d387af5578fadfc946cb91916cd256e0 | 351 | py | Python | Ekeopara_Praise/Phase 2/LIST/Day40 Tasks/Task9.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 6 | 2020-05-23T19:53:25.000Z | 2021-05-08T20:21:30.000Z | Ekeopara_Praise/Phase 2/LIST/Day40 Tasks/Task9.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 8 | 2020-05-14T18:53:12.000Z | 2020-07-03T00:06:20.000Z | Ekeopara_Praise/Phase 2/LIST/Day40 Tasks/Task9.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 39 | 2020-05-10T20:55:02.000Z | 2020-09-12T17:40:59.000Z | '''9. Write a Python program to get the difference between the two lists. '''
def difference_twoLists(lst1, lst2):
lst1 = set(lst1)
lst2 = set(lst2)
return list(lst1 - lst2)
print(difference_twoLists([1, 2, 3, 4], [4, 5, 6, 7]))
print(difference_twoLists([1, 2, 3, 4], [0, 5, 6, 7]))
print(difference_twoLis... | 39 | 77 | 0.632479 | 61 | 351 | 3.57377 | 0.459016 | 0.330275 | 0.316514 | 0.330275 | 0.399083 | 0.399083 | 0.399083 | 0.275229 | 0.275229 | 0.275229 | 0 | 0.114583 | 0.179487 | 351 | 9 | 78 | 39 | 0.642361 | 0.19943 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0 | 0 | 0.285714 | 0.428571 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
258a7c3baf93ec0002ce14952944a78a429cccac | 93 | py | Python | texion/utils/preprocess.py | AnjanaRita/texion | edb2eb581600af7507f7315dfc0ee92e567c6b47 | [
"MIT"
] | 1 | 2022-02-08T23:06:28.000Z | 2022-02-08T23:06:28.000Z | texion/utils/preprocess.py | AnjanaRita/texion | edb2eb581600af7507f7315dfc0ee92e567c6b47 | [
"MIT"
] | null | null | null | texion/utils/preprocess.py | AnjanaRita/texion | edb2eb581600af7507f7315dfc0ee92e567c6b47 | [
"MIT"
] | null | null | null | """text preprocessing utility functions"""
from textacy import preprocess, preprocess_text
| 18.6 | 47 | 0.806452 | 10 | 93 | 7.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11828 | 93 | 4 | 48 | 23.25 | 0.902439 | 0.387097 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
25c249aab71e7dd04bf396079882afff615eeadf | 105 | py | Python | libs/uix/baseclass/home_screen.py | RanulfoSoares/adminfuneraria | c4b602d984b465d819dc050813f8994d585dafdf | [
"MIT"
] | 51 | 2020-12-15T21:29:25.000Z | 2022-03-31T11:41:38.000Z | libs/uix/baseclass/home_screen.py | RanulfoSoares/adminfuneraria | c4b602d984b465d819dc050813f8994d585dafdf | [
"MIT"
] | 8 | 2020-12-23T21:40:12.000Z | 2021-10-04T11:57:16.000Z | libs/applibs/templates/base/libs/uix/baseclass/home_screen.py | Kulothungan16/KivyMD_Project_Creator | f96f1128800b19de4ad5941270fc2cfdbbbcf331 | [
"MIT"
] | 14 | 2021-01-02T04:08:53.000Z | 2022-02-15T19:36:59.000Z | from kivymd.uix.screen import MDScreen
class HomeScreen(MDScreen):
"""
Example Screen.
"""
| 13.125 | 38 | 0.657143 | 11 | 105 | 6.272727 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.228571 | 105 | 7 | 39 | 15 | 0.851852 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
25d8997b6f0f1e9af0a329c18c99e3387778ca10 | 106 | py | Python | CodeWars/7 Kyu/Filter unused digits.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | CodeWars/7 Kyu/Filter unused digits.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | CodeWars/7 Kyu/Filter unused digits.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | def unused_digits(*args):
return "".join(number for number in "0123456789" if number not in str(args)) | 53 | 80 | 0.726415 | 17 | 106 | 4.470588 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0.150943 | 106 | 2 | 80 | 53 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0.093458 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
25e2eaa429d5ea5a32f08ee7c6f1090c648e5767 | 84 | py | Python | forty/torch_utils.py | philippeller/IceNet | 56294ad9ce1bce59212bea14c53f53c6ccdf3ea2 | [
"Apache-2.0"
] | null | null | null | forty/torch_utils.py | philippeller/IceNet | 56294ad9ce1bce59212bea14c53f53c6ccdf3ea2 | [
"Apache-2.0"
] | null | null | null | forty/torch_utils.py | philippeller/IceNet | 56294ad9ce1bce59212bea14c53f53c6ccdf3ea2 | [
"Apache-2.0"
] | null | null | null | import numpy as np
def torch_to_numpy(x):
return np.asarray(x.cpu().detach())
| 14 | 39 | 0.690476 | 15 | 84 | 3.733333 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 84 | 5 | 40 | 16.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 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 | 1 | 0 | 0 | 0 | 5 |
25f106996bf0f40a07910c15ee0ebdb383f2a837 | 33 | py | Python | mathTools/normals.py | brenttyler/piTrace | 802d3ddb8df7a55795b5eb6cbd763572cc735b9c | [
"Apache-2.0"
] | null | null | null | mathTools/normals.py | brenttyler/piTrace | 802d3ddb8df7a55795b5eb6cbd763572cc735b9c | [
"Apache-2.0"
] | null | null | null | mathTools/normals.py | brenttyler/piTrace | 802d3ddb8df7a55795b5eb6cbd763572cc735b9c | [
"Apache-2.0"
] | null | null | null |
class Normal3(object):
pass | 8.25 | 22 | 0.666667 | 4 | 33 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 0.242424 | 33 | 4 | 23 | 8.25 | 0.84 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
d32d4780c46e5de092f552c25b87a8477337f7dd | 505 | py | Python | tests/better_sqrt_test.py | GigaSer/beatiful-py-sqrt | a216ecb16ad31ab30533843dcc7d5d35a816a945 | [
"Apache-2.0"
] | null | null | null | tests/better_sqrt_test.py | GigaSer/beatiful-py-sqrt | a216ecb16ad31ab30533843dcc7d5d35a816a945 | [
"Apache-2.0"
] | null | null | null | tests/better_sqrt_test.py | GigaSer/beatiful-py-sqrt | a216ecb16ad31ab30533843dcc7d5d35a816a945 | [
"Apache-2.0"
] | null | null | null | from src.bsqrt import *
def test_better_sqrt():
assert better_sqrt(-180) == (-6, 5)
assert better_sqrt(-100) == (-10, 1)
assert better_sqrt(-70) == (-1, 70)
assert better_sqrt(-16) == (-4, 1)
assert better_sqrt(-1) == (-1, 1)
assert better_sqrt(0) == (0, 0)
assert better_sqrt(1) == (1, 1)
... | 29.705882 | 40 | 0.574257 | 80 | 505 | 3.45 | 0.325 | 0.471014 | 0.695652 | 0.307971 | 0.398551 | 0.398551 | 0.398551 | 0.398551 | 0.398551 | 0 | 0 | 0.125964 | 0.229703 | 505 | 16 | 41 | 31.5625 | 0.583548 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.857143 | 1 | 0.071429 | true | 0 | 0.071429 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
d36abe6f988882c72521db054be1f0bc5d216b69 | 142 | pyde | Python | Talk 1/c_three_three_three/c_three_three_three.pyde | purrcat259/introduction-to-artistic-programming | 6694c9c8c8c4ff321e6ec8b6917cc0d6c3c95e20 | [
"MIT"
] | 1 | 2018-12-05T20:04:48.000Z | 2018-12-05T20:04:48.000Z | Talk 1/c_three_three_three/c_three_three_three.pyde | purrcat259/introduction-to-artistic-programming | 6694c9c8c8c4ff321e6ec8b6917cc0d6c3c95e20 | [
"MIT"
] | null | null | null | Talk 1/c_three_three_three/c_three_three_three.pyde | purrcat259/introduction-to-artistic-programming | 6694c9c8c8c4ff321e6ec8b6917cc0d6c3c95e20 | [
"MIT"
] | null | null | null | size(800, 600)
background(255)
triangle(20, 20, 20, 50, 50, 20)
triangle(200, 100, 200, 150, 300, 320)
triangle(700, 500, 800, 550, 600, 600) | 23.666667 | 38 | 0.669014 | 26 | 142 | 3.653846 | 0.615385 | 0.084211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.471074 | 0.147887 | 142 | 6 | 39 | 23.666667 | 0.31405 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
d370fc7ca9fbadb0547a9aa5f039080bf93158a5 | 163 | py | Python | app/production/__init__.py | PadamSethia/noice | 2915407b53420a36ec4a4fe84ff7c39780cf2805 | [
"MIT"
] | 2 | 2019-12-04T07:21:28.000Z | 2020-04-09T03:03:15.000Z | app/production/__init__.py | PadamSethia/noice | 2915407b53420a36ec4a4fe84ff7c39780cf2805 | [
"MIT"
] | 2 | 2019-12-04T07:11:36.000Z | 2019-12-16T09:56:33.000Z | app/production/__init__.py | highoncarbs/noice | 2915407b53420a36ec4a4fe84ff7c39780cf2805 | [
"MIT"
] | null | null | null | from flask import Blueprint
bp = Blueprint('production' , __name__ )
from app.production import routes , prod_activity_add , prod_basic_add , prod_materials_add | 32.6 | 91 | 0.803681 | 22 | 163 | 5.5 | 0.636364 | 0.115702 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134969 | 163 | 5 | 91 | 32.6 | 0.858156 | 0 | 0 | 0 | 0 | 0 | 0.060976 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 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 | 1 | 0 | 5 |
d39e07c91739bf8fbdcac88055c6ffc3d370201b | 25 | py | Python | catalyst/__version__.py | stalkermustang/catalyst | 687bc6c31dfdc44ae3ff62938e11e69ce1999cd4 | [
"MIT"
] | null | null | null | catalyst/__version__.py | stalkermustang/catalyst | 687bc6c31dfdc44ae3ff62938e11e69ce1999cd4 | [
"MIT"
] | null | null | null | catalyst/__version__.py | stalkermustang/catalyst | 687bc6c31dfdc44ae3ff62938e11e69ce1999cd4 | [
"MIT"
] | null | null | null | __version__ = '19.06rc1'
| 12.5 | 24 | 0.72 | 3 | 25 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 0.12 | 25 | 1 | 25 | 25 | 0.409091 | 0 | 0 | 0 | 0 | 0 | 0.32 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
d3a734900ab1751df30a4b99993c76fe17a2cff1 | 5,351 | py | Python | smda/intel/definitions.py | mewbak/smda | a8f7e706b53d2492ad3934ba1c2ed82f9ae84ff1 | [
"BSD-2-Clause"
] | null | null | null | smda/intel/definitions.py | mewbak/smda | a8f7e706b53d2492ad3934ba1c2ed82f9ae84ff1 | [
"BSD-2-Clause"
] | null | null | null | smda/intel/definitions.py | mewbak/smda | a8f7e706b53d2492ad3934ba1c2ed82f9ae84ff1 | [
"BSD-2-Clause"
] | null | null | null |
# some mnemonics as specific to capstone
CJMP_INS = ["je", "jne", "js", "jns", "jp", "jnp", "jo", "jno", "jl", "jle", "jg", "jge", "jb", "jbe", "ja", "jae", "jcxz", "jecxz", "jrcxz"]
LOOP_INS = ["loop", "loopne", "loope"]
JMP_INS = ["jmp", "ljmp"]
CALL_INS = ["call", "lcall"]
RET_INS = ["ret", "retn", "retf", "iret"]
... | 31.662722 | 141 | 0.468884 | 812 | 5,351 | 3.046798 | 0.267241 | 0.208569 | 0.210994 | 0.164915 | 0.515764 | 0.454729 | 0.375505 | 0.296281 | 0.193614 | 0.161681 | 0 | 0.201335 | 0.327976 | 5,351 | 168 | 142 | 31.85119 | 0.486652 | 0.259951 | 0 | 0.14557 | 0 | 0.063291 | 0.395033 | 0.228367 | 0 | 0 | 0 | 0.005952 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6c9b774543e0497ae8d1de5c53929564e64220f3 | 169 | py | Python | source/specs/admin.py | rubiorubio/online-shop | 75b15cc9834a3548fe4beb67a34aca33d2df9b3d | [
"Apache-2.0"
] | null | null | null | source/specs/admin.py | rubiorubio/online-shop | 75b15cc9834a3548fe4beb67a34aca33d2df9b3d | [
"Apache-2.0"
] | null | null | null | source/specs/admin.py | rubiorubio/online-shop | 75b15cc9834a3548fe4beb67a34aca33d2df9b3d | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
from .models import *
admin.site.register(ProductFeatures)
admin.site.register(FeatureValidator)
admin.site.register(CategoryFeature)
| 21.125 | 37 | 0.83432 | 20 | 169 | 7.05 | 0.55 | 0.191489 | 0.361702 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 169 | 7 | 38 | 24.142857 | 0.903846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
6cb2243c8fbf990487c3caa4e999a053cc62ff2e | 245 | py | Python | mrpeace/commands/checkauth.py | claudiolau/mrpeace | bb5d729ed8c4060b25ff42c612240503eda93d2c | [
"Apache-2.0"
] | null | null | null | mrpeace/commands/checkauth.py | claudiolau/mrpeace | bb5d729ed8c4060b25ff42c612240503eda93d2c | [
"Apache-2.0"
] | 1 | 2021-05-15T19:14:40.000Z | 2021-05-15T19:14:40.000Z | mrpeace/commands/checkauth.py | claudiolau/mrpeace | bb5d729ed8c4060b25ff42c612240503eda93d2c | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
import requests
class CheckAuth:
def __init__(self, http_link) -> None:
self.http_link = http_link
self.request = requests.get(self.http_link)
def json(self):
return self.request.json()
| 18.846154 | 51 | 0.657143 | 33 | 245 | 4.636364 | 0.545455 | 0.20915 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005319 | 0.232653 | 245 | 12 | 52 | 20.416667 | 0.808511 | 0.085714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.142857 | 0.714286 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
6cbf18ca0122d21e019a4325dff7e8a667cd5697 | 188 | py | Python | Tech_Problems/technical_problems/apps.py | PEI-I1/Nos_Tech_Problems | cf8b0b51285a912988a96cc96438f81c75fa45b7 | [
"MIT"
] | null | null | null | Tech_Problems/technical_problems/apps.py | PEI-I1/Nos_Tech_Problems | cf8b0b51285a912988a96cc96438f81c75fa45b7 | [
"MIT"
] | 14 | 2020-06-05T20:19:18.000Z | 2021-09-22T18:18:23.000Z | Tech_Problems/technical_problems/apps.py | PEI-I1/Nos_Tech_Problems | cf8b0b51285a912988a96cc96438f81c75fa45b7 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class TechnicalProblemsConfig(AppConfig):
name = 'technical_problems'
def ready(self):
# TODO: load problem solving model
pass
| 18.8 | 42 | 0.696809 | 20 | 188 | 6.5 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.239362 | 188 | 9 | 43 | 20.888889 | 0.909091 | 0.170213 | 0 | 0 | 0 | 0 | 0.116883 | 0 | 0 | 0 | 0 | 0.111111 | 0 | 1 | 0.2 | false | 0.2 | 0.2 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
9f2bf6686fbeb52982f8615e3de6ae4b130398b6 | 168 | py | Python | view_page/forms.py | ParkJonghyeon/tor_hs_archive_web | b9afab04e98740ffd0049cd92f1e29dd85415000 | [
"Apache-2.0"
] | null | null | null | view_page/forms.py | ParkJonghyeon/tor_hs_archive_web | b9afab04e98740ffd0049cd92f1e29dd85415000 | [
"Apache-2.0"
] | null | null | null | view_page/forms.py | ParkJonghyeon/tor_hs_archive_web | b9afab04e98740ffd0049cd92f1e29dd85415000 | [
"Apache-2.0"
] | null | null | null | from django.forms import ModelForm
from .models import Date_info
class Date_info_form(ModelForm):
class Meta:
model = Date_info
fields = ['date']
| 21 | 34 | 0.690476 | 22 | 168 | 5.090909 | 0.590909 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.238095 | 168 | 7 | 35 | 24 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0.02381 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
9f3bdfa21bdb2e5d30cdca2028fd998284850f16 | 43 | py | Python | docx2python/__init__.py | usr3/docx2python | 3d0cdd6b94388e7dd2318cb61c9bb99da8853b77 | [
"MIT"
] | null | null | null | docx2python/__init__.py | usr3/docx2python | 3d0cdd6b94388e7dd2318cb61c9bb99da8853b77 | [
"MIT"
] | null | null | null | docx2python/__init__.py | usr3/docx2python | 3d0cdd6b94388e7dd2318cb61c9bb99da8853b77 | [
"MIT"
] | null | null | null | from .main import docx2python # noqa: 401
| 21.5 | 42 | 0.744186 | 6 | 43 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 0.186047 | 43 | 1 | 43 | 43 | 0.8 | 0.209302 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
9f4c946319e9ddd030adf7853eba98c92ff7aac6 | 110 | py | Python | apps/python/RaceDash/lib/__init__.py | newman-simracing/RaceDash | 57282d3968d46c048275861ce5bd7feb4f7904c9 | [
"MIT"
] | 1 | 2019-05-21T09:56:03.000Z | 2019-05-21T09:56:03.000Z | apps/python/RaceDash/lib/__init__.py | newman-simracing/RaceDash | 57282d3968d46c048275861ce5bd7feb4f7904c9 | [
"MIT"
] | null | null | null | apps/python/RaceDash/lib/__init__.py | newman-simracing/RaceDash | 57282d3968d46c048275861ce5bd7feb4f7904c9 | [
"MIT"
] | null | null | null | from .RaceDash import RaceDash
from .Data import Data
from .Display import Display
from .Module import Module
| 22 | 30 | 0.818182 | 16 | 110 | 5.625 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145455 | 110 | 4 | 31 | 27.5 | 0.957447 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
9fc0afa5c360cf7d2488fa10fb3cc453524a1d3e | 153 | py | Python | Problems/lcof-020/solve.py | luanshiyinyang/LCNotes | 093b109aefd65c2263f59472f7118059d7eeb256 | [
"MIT"
] | 3 | 2021-09-04T05:24:20.000Z | 2022-02-19T08:31:28.000Z | Problems/lcof-020/solve.py | luanshiyinyang/LCNotes | 093b109aefd65c2263f59472f7118059d7eeb256 | [
"MIT"
] | null | null | null | Problems/lcof-020/solve.py | luanshiyinyang/LCNotes | 093b109aefd65c2263f59472f7118059d7eeb256 | [
"MIT"
] | null | null | null | class Solution:
def isNumber(self, s: str) -> bool:
return re.compile('^[+-]?(\.\d+|\d+\.?\d*)([eE][+-]?\d+)?$').match(s.strip()) is not None | 51 | 97 | 0.503268 | 22 | 153 | 3.5 | 0.818182 | 0.051948 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156863 | 153 | 3 | 97 | 51 | 0.596899 | 0 | 0 | 0 | 0 | 0 | 0.253247 | 0.253247 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
4ccbc5aaacb0ba2fa2ecf0a040d1f5cce6ee7c76 | 179 | py | Python | smartdc/__init__.py | yetu/py-smartdc | 8cfbb0dd542fdce8f24863082a28b196af173d3f | [
"MIT"
] | null | null | null | smartdc/__init__.py | yetu/py-smartdc | 8cfbb0dd542fdce8f24863082a28b196af173d3f | [
"MIT"
] | null | null | null | smartdc/__init__.py | yetu/py-smartdc | 8cfbb0dd542fdce8f24863082a28b196af173d3f | [
"MIT"
] | null | null | null | from .datacenter import *
from .machine import *
from .legacy import LegacyDataCenter
from ._version import get_versions
__version__ = get_versions()['version']
del get_versions
| 22.375 | 39 | 0.804469 | 22 | 179 | 6.181818 | 0.454545 | 0.242647 | 0.264706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122905 | 179 | 7 | 40 | 25.571429 | 0.866242 | 0 | 0 | 0 | 0 | 0 | 0.039106 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
4ce9d1cafedf43309903919ebefbab3c45c20af8 | 58 | py | Python | openslides/projector/exceptions.py | DebVortex/OpenSlides | f17f1a723a034dd7ebe80cd4ff4385d97d020c5f | [
"MIT"
] | null | null | null | openslides/projector/exceptions.py | DebVortex/OpenSlides | f17f1a723a034dd7ebe80cd4ff4385d97d020c5f | [
"MIT"
] | null | null | null | openslides/projector/exceptions.py | DebVortex/OpenSlides | f17f1a723a034dd7ebe80cd4ff4385d97d020c5f | [
"MIT"
] | null | null | null | class ProjectorExceptionWarning(RuntimeWarning):
pass
| 19.333333 | 48 | 0.827586 | 4 | 58 | 12 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12069 | 58 | 2 | 49 | 29 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
4cfe8bbbe9eb31f6952077c794db51e74832b5b7 | 13,506 | py | Python | promapi/prometheus.py | manojrege/python-prometheus-api | 8c6f3402ce0fc8efc39f30fa3f7733b88bcae900 | [
"BSD-3-Clause"
] | null | null | null | promapi/prometheus.py | manojrege/python-prometheus-api | 8c6f3402ce0fc8efc39f30fa3f7733b88bcae900 | [
"BSD-3-Clause"
] | 1 | 2021-06-01T23:54:19.000Z | 2021-06-01T23:54:19.000Z | venv/lib/python3.6/site-packages/python_prometheus_api-0.1.3-py3.6.egg/promapi/prometheus.py | ahiresantosh/prom_python_flask_api | b48d48f0e86d80da96ef7cb7156ca97f9f7ec15b | [
"MIT"
] | 1 | 2022-02-14T05:43:34.000Z | 2022-02-14T05:43:34.000Z | import yaml
import requests
from requests.exceptions import HTTPError
import traceback
from promapi.__init__ import get_data
config = yaml.safe_load(open(get_data("config.yml")))
def set_endpoint(url, port):
"""
Sets the prometheus endpoint base url
:param hostname: Prometheus endpoint
:param port: ... | 33.348148 | 145 | 0.591293 | 1,411 | 13,506 | 5.537916 | 0.121899 | 0.096238 | 0.076785 | 0.092142 | 0.742769 | 0.726005 | 0.726005 | 0.703865 | 0.680445 | 0.680445 | 0 | 0.000621 | 0.28454 | 13,506 | 404 | 146 | 33.430693 | 0.808031 | 0.179994 | 0 | 0.829861 | 0 | 0 | 0.148532 | 0.00888 | 0 | 0 | 0 | 0 | 0 | 1 | 0.055556 | false | 0 | 0.017361 | 0 | 0.177083 | 0.15625 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e225124a028db7513df11d88c0b02be5b1224b73 | 546 | py | Python | tools/pylint.py | SamBajanik/sb_daipe_test | 4da6b3c5233e12131b0d3fc8bbfa975ccf841693 | [
"MIT"
] | null | null | null | tools/pylint.py | SamBajanik/sb_daipe_test | 4da6b3c5233e12131b0d3fc8bbfa975ccf841693 | [
"MIT"
] | null | null | null | tools/pylint.py | SamBajanik/sb_daipe_test | 4da6b3c5233e12131b0d3fc8bbfa975ccf841693 | [
"MIT"
] | null | null | null | # Databricks notebook source
# MAGIC %run ../bootstrap/install_benvy
# COMMAND ----------
from benvy.databricks.repos import bootstrap
from benvy.databricks.detector import is_databricks_repo
if is_databricks_repo():
bootstrap.install_dev()
# COMMAND ----------
from benvy.databricks.repos import bootstrap
from... | 20.222222 | 56 | 0.728938 | 65 | 546 | 5.938462 | 0.353846 | 0.194301 | 0.196891 | 0.134715 | 0.632124 | 0.632124 | 0.632124 | 0.632124 | 0.632124 | 0.632124 | 0 | 0 | 0.124542 | 546 | 26 | 57 | 21 | 0.807531 | 0.386447 | 0 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
e242c2592f3cd024258ff312cfc9117cfa04f3c6 | 473 | py | Python | tests/test10.py | pombreda/pygir-ctypes | 8ea2ad6f6cc792a3edb6ced9c0027a3ac2c52ecb | [
"BSD-3-Clause"
] | null | null | null | tests/test10.py | pombreda/pygir-ctypes | 8ea2ad6f6cc792a3edb6ced9c0027a3ac2c52ecb | [
"BSD-3-Clause"
] | null | null | null | tests/test10.py | pombreda/pygir-ctypes | 8ea2ad6f6cc792a3edb6ced9c0027a3ac2c52ecb | [
"BSD-3-Clause"
] | null | null | null |
class instancemethod(object):
def __init__(self, func):
self._func = func
def __get__(self, obj, type_=None):
return lambda *args, **kwargs: self._func(obj, *args, **kwargs)
class Func(object):
def __init__(self):
pass
def __call__(self, *args, **kwargs):
return self, args, kwargs
class A(object):
... | 17.518519 | 65 | 0.659619 | 71 | 473 | 4.070423 | 0.338028 | 0.138408 | 0.134948 | 0.176471 | 0.228374 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043257 | 0.169133 | 473 | 26 | 66 | 18.192308 | 0.692112 | 0 | 0 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.263158 | false | 0.105263 | 0 | 0.105263 | 0.631579 | 0.157895 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 5 |
e24f9bbf52d945113f5f998eea1d14d15ee6b667 | 62 | py | Python | tests/test_lib.py | LegitStack/knot | 4661eb53c3ca7aacbad33b17b4a92a156db5b6dc | [
"MIT"
] | null | null | null | tests/test_lib.py | LegitStack/knot | 4661eb53c3ca7aacbad33b17b4a92a156db5b6dc | [
"MIT"
] | null | null | null | tests/test_lib.py | LegitStack/knot | 4661eb53c3ca7aacbad33b17b4a92a156db5b6dc | [
"MIT"
] | null | null | null | '''knot> pytest tests '''
def test_noting():
assert True
| 12.4 | 25 | 0.629032 | 8 | 62 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.209677 | 62 | 4 | 26 | 15.5 | 0.77551 | 0.290323 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.5 | true | 0 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e26fa4524a8d12d068cf421ab2eb7016cde26bc7 | 1,020 | py | Python | sdi_pipeline/subtract.py | andrewhstewart/SDI | 19d52bd5e13c2128c083776712672becf8b6ab45 | [
"MIT"
] | null | null | null | sdi_pipeline/subtract.py | andrewhstewart/SDI | 19d52bd5e13c2128c083776712672becf8b6ab45 | [
"MIT"
] | null | null | null | sdi_pipeline/subtract.py | andrewhstewart/SDI | 19d52bd5e13c2128c083776712672becf8b6ab45 | [
"MIT"
] | null | null | null | from initialize import loc
from master_residual import MR
import subtract_hotpants
import subtract_ais
def SUBTRACT():
path = input("\n-> Enter path to exposure time directory: ")
method = input("\n-> Choose subtraction method: hotpants or AIS: ")
if method == 'hotpants':
# align_skimage.skimage_tem... | 31.875 | 71 | 0.634314 | 123 | 1,020 | 5.081301 | 0.308943 | 0.0384 | 0.064 | 0.1008 | 0.7904 | 0.7776 | 0.7776 | 0.7776 | 0.7776 | 0.7776 | 0 | 0.007782 | 0.244118 | 1,020 | 32 | 72 | 31.875 | 0.802853 | 0.19902 | 0 | 0.545455 | 0 | 0 | 0.334165 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.045455 | false | 0 | 0.181818 | 0 | 0.227273 | 0.090909 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e28840215788c0f41b1225e67322851b834d1188 | 2,498 | py | Python | tests/uuid_str/test_uuid_str_substitutor.py | nikitanovosibirsk/district42-exp-types | e36e43da62f32d58d4b14c65afa16856dc8849e1 | [
"Apache-2.0"
] | null | null | null | tests/uuid_str/test_uuid_str_substitutor.py | nikitanovosibirsk/district42-exp-types | e36e43da62f32d58d4b14c65afa16856dc8849e1 | [
"Apache-2.0"
] | 2 | 2021-08-01T05:02:21.000Z | 2021-08-01T10:06:28.000Z | tests/uuid_str/test_uuid_str_substitutor.py | nikitanovosibirsk/district42-exp-types | e36e43da62f32d58d4b14c65afa16856dc8849e1 | [
"Apache-2.0"
] | null | null | null | from uuid import uuid4
from baby_steps import given, then, when
from pytest import raises
from revolt import substitute
from revolt.errors import SubstitutionError
from district42_exp_types.uuid_str import schema_uuid_str
def test_uuid_str_substitution():
with given:
value = str(uuid4())
sch = s... | 22.917431 | 57 | 0.658127 | 307 | 2,498 | 5.136808 | 0.130293 | 0.097654 | 0.107166 | 0.071021 | 0.850983 | 0.816107 | 0.77806 | 0.688015 | 0.688015 | 0.688015 | 0 | 0.006997 | 0.256205 | 2,498 | 108 | 58 | 23.12963 | 0.841765 | 0 | 0 | 0.72973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162162 | 1 | 0.108108 | false | 0 | 0.081081 | 0 | 0.189189 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e292c477f8ff0b3b52de47ccd885f8471d0aeda4 | 43 | py | Python | CodeUp/6008.py | chae-heechan/Algorithm_Study | 183a77e2cfe352cd82fb5e988b493082529a73dd | [
"MIT"
] | null | null | null | CodeUp/6008.py | chae-heechan/Algorithm_Study | 183a77e2cfe352cd82fb5e988b493082529a73dd | [
"MIT"
] | null | null | null | CodeUp/6008.py | chae-heechan/Algorithm_Study | 183a77e2cfe352cd82fb5e988b493082529a73dd | [
"MIT"
] | null | null | null | # 출력하기 08
print("print(\"Hello\\nWorld\")") | 21.5 | 33 | 0.627907 | 6 | 43 | 4.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05 | 0.069767 | 43 | 2 | 33 | 21.5 | 0.625 | 0.162791 | 0 | 0 | 0 | 0 | 0.228571 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 5 |
e2b73e3d615e2cf061e4f9fcf6321a8a7ae8d472 | 179 | py | Python | Lotayou_unit_test.py | Lotayou/BasicSR | 6cf9a706dd680d54f7dc26e87318ff79f76c0dbf | [
"Apache-2.0",
"MIT"
] | null | null | null | Lotayou_unit_test.py | Lotayou/BasicSR | 6cf9a706dd680d54f7dc26e87318ff79f76c0dbf | [
"Apache-2.0",
"MIT"
] | null | null | null | Lotayou_unit_test.py | Lotayou/BasicSR | 6cf9a706dd680d54f7dc26e87318ff79f76c0dbf | [
"Apache-2.0",
"MIT"
] | null | null | null | from basicsr.models.archs.hifacegan_arch import HiFaceGAN
from basicsr.models.archs.hifacegan_options import test_options
opt = test_options()
model = HiFaceGAN(opt)
print(model)
| 29.833333 | 63 | 0.837989 | 25 | 179 | 5.84 | 0.48 | 0.150685 | 0.232877 | 0.30137 | 0.424658 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083799 | 179 | 5 | 64 | 35.8 | 0.890244 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0.2 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
2c4c892e78b842b467b7643360fde751aeda3fba | 399 | py | Python | small_text/integrations/transformers/__init__.py | chschroeder/small-text | ef28e91ba0c94fe938dde4f16253aa8695ea13b7 | [
"MIT"
] | 218 | 2021-05-26T16:38:53.000Z | 2022-03-30T09:48:54.000Z | small_text/integrations/transformers/__init__.py | chschroeder/small-text | ef28e91ba0c94fe938dde4f16253aa8695ea13b7 | [
"MIT"
] | 9 | 2021-10-16T23:23:02.000Z | 2022-02-22T15:23:11.000Z | small_text/integrations/transformers/__init__.py | chschroeder/small-text | ef28e91ba0c94fe938dde4f16253aa8695ea13b7 | [
"MIT"
] | 21 | 2021-06-24T11:19:44.000Z | 2022-03-12T16:29:53.000Z | from small_text.integrations.pytorch.exceptions import PytorchNotFoundError
try:
from small_text.integrations.transformers.datasets import TransformersDataset
from small_text.integrations.transformers.classifiers.classification import (
TransformerModelArguments,
TransformerBasedClassification,... | 36.272727 | 81 | 0.819549 | 31 | 399 | 10.451613 | 0.612903 | 0.083333 | 0.12037 | 0.231481 | 0.228395 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140351 | 399 | 10 | 82 | 39.9 | 0.944606 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.111111 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 1 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 5 |
2c6546a9855eb903db2de6b9f51172ce636ee60b | 287 | py | Python | mmdet/datasets/samplers/__init__.py | ljpadam/CGPS | cec60a06d66738283bc3bd466190696275762d77 | [
"Apache-2.0"
] | 9 | 2021-06-23T05:07:43.000Z | 2022-01-04T14:25:15.000Z | mmdet/datasets/samplers/__init__.py | ljpadam/CGPS | cec60a06d66738283bc3bd466190696275762d77 | [
"Apache-2.0"
] | 4 | 2021-07-29T10:52:12.000Z | 2022-02-17T06:05:00.000Z | mmdet/datasets/samplers/__init__.py | ljpadam/CGPS | cec60a06d66738283bc3bd466190696275762d77 | [
"Apache-2.0"
] | 3 | 2021-07-07T08:39:12.000Z | 2021-09-08T18:18:29.000Z | from .distributed_sampler import DistributedSampler
from .group_sampler import DistributedGroupSampler, GroupSampler
from .constrastive_batch_sampler import ConstrastiveBatchSampler
__all__ = ['DistributedSampler', 'DistributedGroupSampler', 'GroupSampler', 'ConstrastiveBatchSampler']
| 47.833333 | 103 | 0.867596 | 22 | 287 | 10.954545 | 0.545455 | 0.161826 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069686 | 287 | 5 | 104 | 57.4 | 0.902622 | 0 | 0 | 0 | 0 | 0 | 0.268293 | 0.163763 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
2c67de645f682090bf7e08f11cac9744fa38f321 | 1,301 | py | Python | riberry/policy/helpers.py | srafehi/riberry | 2ffa48945264177c6cef88512c1bc80ca4bf1d5e | [
"MIT"
] | 2 | 2019-12-09T10:24:36.000Z | 2019-12-09T10:26:56.000Z | riberry/policy/helpers.py | srafehi/riberry | 2ffa48945264177c6cef88512c1bc80ca4bf1d5e | [
"MIT"
] | 2 | 2018-06-11T11:34:28.000Z | 2018-08-22T12:00:19.000Z | riberry/policy/helpers.py | srafehi/riberry | 2ffa48945264177c6cef88512c1bc80ca4bf1d5e | [
"MIT"
] | null | null | null | from .engine import Rule, AttributeContext, Policy
class ShorthandRule(Rule):
def __init__(self, func):
self.func = func
def target_clause(self, context: AttributeContext) -> bool:
return True
def condition(self, context: AttributeContext) -> bool:
return self.func(context)
cl... | 22.050847 | 63 | 0.680246 | 136 | 1,301 | 6.330882 | 0.183824 | 0.083624 | 0.188153 | 0.216028 | 0.666667 | 0.59698 | 0.59698 | 0.513357 | 0.513357 | 0.513357 | 0 | 0 | 0.222905 | 1,301 | 59 | 64 | 22.050847 | 0.851632 | 0 | 0 | 0.617647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.411765 | false | 0 | 0.029412 | 0.264706 | 0.852941 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
2c7611a596e0b889df119a6ddcb1a76d6422ef28 | 123 | py | Python | server/api/v1/user/__init__.py | TeamDDH/bbk-server | 3fdd201e8b7854759b6f5113790d90adb9879b88 | [
"MIT"
] | 3 | 2018-08-20T04:57:57.000Z | 2021-11-01T01:27:34.000Z | server/api/v1/user/__init__.py | TeamDDH/bbk-server | 3fdd201e8b7854759b6f5113790d90adb9879b88 | [
"MIT"
] | null | null | null | server/api/v1/user/__init__.py | TeamDDH/bbk-server | 3fdd201e8b7854759b6f5113790d90adb9879b88 | [
"MIT"
] | 2 | 2019-06-18T09:00:46.000Z | 2020-04-09T20:32:45.000Z | """
bbk-server api v1: user
~~~~~~~~~~
:author: Wendell Hu <wendzhue@gmail.com>
"""
from main import UserApi
| 13.666667 | 44 | 0.569106 | 15 | 123 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010638 | 0.235772 | 123 | 8 | 45 | 15.375 | 0.734043 | 0.617886 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
2c91395c0be9a22dd852941f54b1ae21bf80dc14 | 181 | py | Python | patrols/forms.py | sinkva/pktroop | 72a8f22f0b0f7c994d6ba2239b2ea17a46b6e133 | [
"MIT"
] | null | null | null | patrols/forms.py | sinkva/pktroop | 72a8f22f0b0f7c994d6ba2239b2ea17a46b6e133 | [
"MIT"
] | null | null | null | patrols/forms.py | sinkva/pktroop | 72a8f22f0b0f7c994d6ba2239b2ea17a46b6e133 | [
"MIT"
] | null | null | null | from django.forms import ModelForm
from django.forms.models import modelform_factory
class PatrolForm(ModelForm):
class Meta:
model = Patrol
fields = '__all__'
| 22.625 | 49 | 0.723757 | 21 | 181 | 6 | 0.666667 | 0.15873 | 0.238095 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.21547 | 181 | 7 | 50 | 25.857143 | 0.887324 | 0 | 0 | 0 | 0 | 0 | 0.038674 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.666667 | 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 | 1 | 0 | 0 | 5 |
2cbbd5aff2f06a0fbc0b71489b8ec9b443421e1d | 89 | py | Python | l3ns/swarm/__init__.py | OlegJakushkin/l3ns | 320184cb03837b9d6d13cb6ff006263ad1a99544 | [
"MIT"
] | 3 | 2021-04-02T11:05:54.000Z | 2021-12-17T17:46:02.000Z | l3ns/swarm/__init__.py | OlegJakushkin/l3ns | 320184cb03837b9d6d13cb6ff006263ad1a99544 | [
"MIT"
] | 1 | 2020-10-31T08:36:11.000Z | 2020-10-31T08:36:11.000Z | l3ns/swarm/__init__.py | OlegJakushkin/l3ns | 320184cb03837b9d6d13cb6ff006263ad1a99544 | [
"MIT"
] | 1 | 2020-06-08T03:48:58.000Z | 2020-06-08T03:48:58.000Z | from .node import SwarmNode
from .subnet import SwarmSubnet
from .utils import SwarmHost
| 22.25 | 31 | 0.831461 | 12 | 89 | 6.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134831 | 89 | 3 | 32 | 29.666667 | 0.961039 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
2cccf3ccc062fbd79d885fe9b3f6469acfead951 | 85 | py | Python | jsonrpc/proxy.py | SureshMatsui/SaveCoin | 706cd53e2bcec1fac16a3f1347a9143bc48101df | [
"MIT"
] | null | null | null | jsonrpc/proxy.py | SureshMatsui/SaveCoin | 706cd53e2bcec1fac16a3f1347a9143bc48101df | [
"MIT"
] | 1 | 2016-08-17T02:12:08.000Z | 2016-08-17T02:12:08.000Z | jsonrpc/proxy.py | SureshMatsui/SaveCoin | 706cd53e2bcec1fac16a3f1347a9143bc48101df | [
"MIT"
] | 1 | 2021-09-26T01:58:02.000Z | 2021-09-26T01:58:02.000Z | from SaveCoinrpc.authproxy import AuthServiceProxy as ServiceProxy, JSONRPCException
| 42.5 | 84 | 0.894118 | 8 | 85 | 9.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082353 | 85 | 1 | 85 | 85 | 0.974359 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
e2eded38d24c25e331fbffb0cebc5294830b6c6b | 56 | py | Python | eating_timer_runner.py | szaster/100daysOfPython | 10c15d0f815fe40a9cf56cf50f05813d256fadf4 | [
"MIT"
] | null | null | null | eating_timer_runner.py | szaster/100daysOfPython | 10c15d0f815fe40a9cf56cf50f05813d256fadf4 | [
"MIT"
] | 2 | 2019-11-20T22:44:28.000Z | 2019-11-21T03:41:23.000Z | eating_timer_runner.py | szaster/100daysOfPython | 10c15d0f815fe40a9cf56cf50f05813d256fadf4 | [
"MIT"
] | null | null | null | from time_exercise import eating_timer
eating_timer()
| 11.2 | 38 | 0.839286 | 8 | 56 | 5.5 | 0.75 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 56 | 4 | 39 | 14 | 0.897959 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
39014ed3ce60eb679f3ffb93c6cc66b695c9ded1 | 89 | py | Python | 25/02/getattr.py | pylangstudy/201707 | c1cc72667f1e0b6e8eef4ee85067d7fa4ca500b6 | [
"CC0-1.0"
] | null | null | null | 25/02/getattr.py | pylangstudy/201707 | c1cc72667f1e0b6e8eef4ee85067d7fa4ca500b6 | [
"CC0-1.0"
] | 46 | 2017-06-30T22:19:07.000Z | 2017-07-31T22:51:31.000Z | 25/02/getattr.py | pylangstudy/201707 | c1cc72667f1e0b6e8eef4ee85067d7fa4ca500b6 | [
"CC0-1.0"
] | null | null | null | # getattr(object, name[, default])
class C:
def A(self): pass
print(getattr(C, 'A'))
| 17.8 | 34 | 0.629213 | 14 | 89 | 4 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168539 | 89 | 4 | 35 | 22.25 | 0.756757 | 0.359551 | 0 | 0 | 0 | 0 | 0.018182 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0 | 0 | 0.666667 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
3912313ac7efde96701cf33f3abf886e363a2085 | 234 | py | Python | libra/cli/dev_commands.py | devos50/libra-client | 7d1558848ff45ca8f42d756ef11e04846154e3cf | [
"MIT"
] | null | null | null | libra/cli/dev_commands.py | devos50/libra-client | 7d1558848ff45ca8f42d756ef11e04846154e3cf | [
"MIT"
] | null | null | null | libra/cli/dev_commands.py | devos50/libra-client | 7d1558848ff45ca8f42d756ef11e04846154e3cf | [
"MIT"
] | null | null | null | from command import *
class DevCommand(Command):
def get_aliases(self):
return ["dev"]
def get_description(self):
return "Local move development"
def execute(self, client, params):
pass | 21.272727 | 40 | 0.615385 | 26 | 234 | 5.461538 | 0.730769 | 0.084507 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.294872 | 234 | 11 | 41 | 21.272727 | 0.860606 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0.125 | 0.125 | 0.25 | 0.875 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 5 |
39352297d3fbabd8674f167f1bbd01929520d368 | 181 | py | Python | test_project/test_app/tests/__init__.py | tickettext/django-test-utils | 4bf1d7f53df0f901ddb58eb9063f479dd6a49020 | [
"MIT"
] | 54 | 2015-02-25T01:12:00.000Z | 2022-02-06T16:27:42.000Z | test_project/test_app/tests/__init__.py | justquick/django-test-utils | 01ee9a47a80e389dd946085fafa5fb192e87c467 | [
"MIT"
] | 10 | 2015-04-25T13:50:23.000Z | 2021-02-08T09:42:29.000Z | test_project/test_app/tests/__init__.py | justquick/django-test-utils | 01ee9a47a80e389dd946085fafa5fb192e87c467 | [
"MIT"
] | 23 | 2015-07-21T09:13:04.000Z | 2022-01-13T13:18:11.000Z | from assertions_tests import *
from templatetags_tests import *
from testmaker_tests import *
from crawler_tests import *
import twill_tests
__test__ = {
'TWILL': twill_tests,
}
| 16.454545 | 32 | 0.790055 | 23 | 181 | 5.782609 | 0.391304 | 0.330827 | 0.338346 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149171 | 181 | 10 | 33 | 18.1 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0.027624 | 0 | 0 | 0 | 0 | 0 | 0.125 | 1 | 0 | false | 0 | 0.625 | 0 | 0.625 | 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 | 1 | 0 | 0 | 5 |
3945ff48a79af25e809d6265d6ca7023276fe286 | 74 | py | Python | src/Parser/LR1/__init__.py | ChalkCode/cool-compiler-2021 | 9bab662676c3281b496aad63228583db4a7244db | [
"MIT"
] | null | null | null | src/Parser/LR1/__init__.py | ChalkCode/cool-compiler-2021 | 9bab662676c3281b496aad63228583db4a7244db | [
"MIT"
] | null | null | null | src/Parser/LR1/__init__.py | ChalkCode/cool-compiler-2021 | 9bab662676c3281b496aad63228583db4a7244db | [
"MIT"
] | 1 | 2022-02-24T17:16:42.000Z | 2022-02-24T17:16:42.000Z | from ..shift_reduce import ShiftReduceParser
from .parser import LR1Parser | 37 | 44 | 0.864865 | 9 | 74 | 7 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014925 | 0.094595 | 74 | 2 | 45 | 37 | 0.925373 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
1a41a3e6af15333f1423e2c636fdb69a410d3e77 | 234 | py | Python | Python/BACKUP/YOUTUBE/Operadores/UDMY2 - Operadores.py | ccpn1988/Python | 94c84aa6f3ef9d05d64c3d87212dfd67694f4544 | [
"MIT"
] | null | null | null | Python/BACKUP/YOUTUBE/Operadores/UDMY2 - Operadores.py | ccpn1988/Python | 94c84aa6f3ef9d05d64c3d87212dfd67694f4544 | [
"MIT"
] | null | null | null | Python/BACKUP/YOUTUBE/Operadores/UDMY2 - Operadores.py | ccpn1988/Python | 94c84aa6f3ef9d05d64c3d87212dfd67694f4544 | [
"MIT"
] | null | null | null | print('Adição + ',10 + 10 )
print('Subtração - ', 10 - 10 )
print('Multiplicação * ', 10 * 10 )
print('Divisão / ', 10 / 10 )
print('Potencia ** ', 10 ** 10 )
print('Divisão Inteiro // ', 10 // 3 )
print('Resto Divisão % ', 10 % 3 )
| 29.25 | 38 | 0.555556 | 30 | 234 | 4.333333 | 0.333333 | 0.153846 | 0.346154 | 0.246154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142077 | 0.217949 | 234 | 7 | 39 | 33.428571 | 0.568306 | 0 | 0 | 0 | 0 | 0 | 0.405983 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
1ac9596d88ac26d2915b62ed8d578cef1375d09b | 202 | py | Python | tests/test_helpers_python.py | nikolasj/crosspm | cddf2dc0ec6150acf0fdaa3640834e5c7c29b351 | [
"MIT"
] | 32 | 2015-07-22T13:46:40.000Z | 2020-11-23T12:42:02.000Z | tests/test_helpers_python.py | nikolasj/crosspm | cddf2dc0ec6150acf0fdaa3640834e5c7c29b351 | [
"MIT"
] | 46 | 2016-04-01T13:04:33.000Z | 2020-06-03T04:16:59.000Z | tests/test_helpers_python.py | nikolasj/crosspm | cddf2dc0ec6150acf0fdaa3640834e5c7c29b351 | [
"MIT"
] | 15 | 2016-04-20T08:26:48.000Z | 2020-05-24T12:30:22.000Z | # -*- coding: utf-8 -*-
import os
from crosspm.helpers.python import get_object_from_string
def test_get_object_from_string():
obj_ = get_object_from_string('os.path')
assert os.path is obj_
| 20.2 | 57 | 0.742574 | 32 | 202 | 4.3125 | 0.5625 | 0.195652 | 0.282609 | 0.413043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005848 | 0.153465 | 202 | 9 | 58 | 22.444444 | 0.80117 | 0.10396 | 0 | 0 | 0 | 0 | 0.039106 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
1acfc677b1f71665d6d13b1cbe32f8aefb16e291 | 114 | py | Python | run.py | zl1704/gemFI | 13bd47b147592dbba6e3b4520cd33515488cf205 | [
"BSD-3-Clause"
] | null | null | null | run.py | zl1704/gemFI | 13bd47b147592dbba6e3b4520cd33515488cf205 | [
"BSD-3-Clause"
] | null | null | null | run.py | zl1704/gemFI | 13bd47b147592dbba6e3b4520cd33515488cf205 | [
"BSD-3-Clause"
] | null | null | null | import os
res = os.popen("build/ARM/gem5.opt configs/example/se.py -c configs/fi/qs-arm").read()
#print(res)
| 16.285714 | 88 | 0.684211 | 21 | 114 | 3.714286 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01 | 0.122807 | 114 | 6 | 89 | 19 | 0.77 | 0.087719 | 0 | 0 | 0 | 0.5 | 0.61165 | 0.203884 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
20166dff6b10b36f23bf6275623fcc30a520ef4e | 244 | py | Python | Python-programming-3/ascii.py | sanxy/hacktoberfest-1 | 913582b310688d496602e8b1bc9166cb64866e38 | [
"MIT"
] | null | null | null | Python-programming-3/ascii.py | sanxy/hacktoberfest-1 | 913582b310688d496602e8b1bc9166cb64866e38 | [
"MIT"
] | 1 | 2020-10-24T18:08:27.000Z | 2020-10-24T18:10:52.000Z | Python-programming-3/ascii.py | sanxy/hacktoberfest-1 | 913582b310688d496602e8b1bc9166cb64866e38 | [
"MIT"
] | 4 | 2020-10-24T14:01:29.000Z | 2020-10-25T09:21:07.000Z | # Python program to print
# ASCII Value of Character
# In c we can assign different
# characters of which we want ASCII value
c = 'g'
# print the ASCII value of assigned character in c
print("The ASCII value of '" + c + "' is", ord(c))
| 24.4 | 51 | 0.680328 | 41 | 244 | 4.04878 | 0.536585 | 0.240964 | 0.216867 | 0.216867 | 0.240964 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.233607 | 244 | 9 | 52 | 27.111111 | 0.887701 | 0.696721 | 0 | 0 | 0 | 0 | 0.373134 | 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 | 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 | 5 |
20323e24a6f18986f213c4cb1c06251c7ee55723 | 140 | py | Python | tests/endtoend/queue_functions/put_queue_return_multiple/main.py | yojagad/azure-functions-python-worker | d5a1587a4ccf56af64f211a64f0b7a3d6cf976c9 | [
"MIT"
] | null | null | null | tests/endtoend/queue_functions/put_queue_return_multiple/main.py | yojagad/azure-functions-python-worker | d5a1587a4ccf56af64f211a64f0b7a3d6cf976c9 | [
"MIT"
] | null | null | null | tests/endtoend/queue_functions/put_queue_return_multiple/main.py | yojagad/azure-functions-python-worker | d5a1587a4ccf56af64f211a64f0b7a3d6cf976c9 | [
"MIT"
] | null | null | null | import typing
import azure.functions as azf
def main(req: azf.HttpRequest, msgs: azf.Out[typing.List[str]]):
msgs.set(['one', 'two'])
| 20 | 64 | 0.692857 | 22 | 140 | 4.409091 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135714 | 140 | 6 | 65 | 23.333333 | 0.801653 | 0 | 0 | 0 | 0 | 0 | 0.042857 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
203845014d8f976cd98ce07bf36e44879ce9e95e | 164 | py | Python | Exercicios/Todos/ex112/text.py | Edson921/exerciciosResolvidos | 72a3089f4848650c62ac0dd876abf5695a64525a | [
"MIT"
] | null | null | null | Exercicios/Todos/ex112/text.py | Edson921/exerciciosResolvidos | 72a3089f4848650c62ac0dd876abf5695a64525a | [
"MIT"
] | null | null | null | Exercicios/Todos/ex112/text.py | Edson921/exerciciosResolvidos | 72a3089f4848650c62ac0dd876abf5695a64525a | [
"MIT"
] | null | null | null | from exerci.ex112.utilitarioscev import moeda
from exerci.ex112.utilitarioscev import dados
preço = dados.leidinheiro('Qual é o preço: ')
moeda.resumo(preço, 15, 8) | 41 | 45 | 0.79878 | 24 | 164 | 5.458333 | 0.625 | 0.152672 | 0.229008 | 0.442748 | 0.534351 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061224 | 0.103659 | 164 | 4 | 46 | 41 | 0.829932 | 0 | 0 | 0 | 0 | 0 | 0.09697 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
6472b843129753c41a2659fd57be1824591f94ae | 40 | py | Python | vvvvid_downloader/__init__.py | Barbait/vvvvid-downloader-1 | 3437c60e8f6c78a09d72b0d376c50e795e369744 | [
"MIT"
] | 1 | 2020-12-14T14:43:19.000Z | 2020-12-14T14:43:19.000Z | vvvvid_downloader/__init__.py | Barbait/vvvvid-downloader-1 | 3437c60e8f6c78a09d72b0d376c50e795e369744 | [
"MIT"
] | null | null | null | vvvvid_downloader/__init__.py | Barbait/vvvvid-downloader-1 | 3437c60e8f6c78a09d72b0d376c50e795e369744 | [
"MIT"
] | null | null | null | from vvvvid_downloader.vvvvid import ds
| 20 | 39 | 0.875 | 6 | 40 | 5.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 1 | 40 | 40 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
648b61667af6116f5330e078987cb5660787aac0 | 1,030 | py | Python | QUIC/rsa/rsaGen.py | prchander/boringssl | 0993d04161159acb7f95012b794746491f5cd53c | [
"MIT"
] | 1 | 2021-07-19T23:46:39.000Z | 2021-07-19T23:46:39.000Z | QUIC/rsa/rsaGen.py | prchander/boringssl | 0993d04161159acb7f95012b794746491f5cd53c | [
"MIT"
] | null | null | null | QUIC/rsa/rsaGen.py | prchander/boringssl | 0993d04161159acb7f95012b794746491f5cd53c | [
"MIT"
] | 1 | 2021-10-12T05:30:12.000Z | 2021-10-12T05:30:12.000Z | import os
openssl_dir = os.path.expanduser('~/openssl')
myCmd = f'{openssl_dir}/apps/openssl req -x509 -new -newkey rsa:3072 -keyout /home/pi/openssl/lsquic/rsa/key_CA.key -out /home/pi/openssl/lsquic/rsa/key_CA.pem -pkeyopt rsa_keygen_bits:3072 -nodes -subj "/CN=oqstest CA" -days 365 -config {openssl_dir}/apps/openss... | 60.588235 | 269 | 0.764078 | 180 | 1,030 | 4.25 | 0.244444 | 0.070588 | 0.152941 | 0.223529 | 0.739869 | 0.708497 | 0.645752 | 0.562092 | 0.235294 | 0.183007 | 0 | 0.029474 | 0.07767 | 1,030 | 16 | 270 | 64.375 | 0.775789 | 0 | 0 | 0.4 | 0 | 0.4 | 0.819512 | 0.498537 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.1 | 0 | 0.1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
64a7f4b3100a6222be3d504457bb37f164dac826 | 155 | py | Python | banknet/libraries/Matrix.py | epolish/BankNet | 815c566ba6e3514c51634e50b492a3748f81c03a | [
"MIT"
] | null | null | null | banknet/libraries/Matrix.py | epolish/BankNet | 815c566ba6e3514c51634e50b492a3748f81c03a | [
"MIT"
] | 4 | 2020-06-05T19:45:16.000Z | 2021-06-10T21:07:53.000Z | banknet/libraries/Matrix.py | epolish/BankNet | 815c566ba6e3514c51634e50b492a3748f81c03a | [
"MIT"
] | null | null | null | class Matrix:
def transpose(self, matrix):
return list(zip(*matrix))
def column(self, matrix, i):
return [row[i] for row in matrix] | 31 | 41 | 0.619355 | 22 | 155 | 4.363636 | 0.590909 | 0.1875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.258065 | 155 | 5 | 41 | 31 | 0.834783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.4 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
64ab7c2bca7d993697f450aab6dd71fc231de39b | 20,175 | py | Python | gan.py | statsu1990/gan_simple_2d_problem | 5b62e79fcab5a66d49536f43863169a001e3089b | [
"MIT"
] | 2 | 2019-09-09T08:02:36.000Z | 2020-07-30T13:20:55.000Z | gan.py | statsu1990/gan_simple_2d_problem | 5b62e79fcab5a66d49536f43863169a001e3089b | [
"MIT"
] | 1 | 2019-07-14T10:27:43.000Z | 2019-07-14T10:27:43.000Z | gan.py | statsu1990/gan_simple_2d_problem | 5b62e79fcab5a66d49536f43863169a001e3089b | [
"MIT"
] | null | null | null | import numpy as np
import keras
from keras.models import Model
from keras.layers import Input, Dense, Activation, Dropout, BatchNormalization, LeakyReLU
from keras.optimizers import Adam
from keras import backend as K
# 今更きけないGAN
# https://qiita.com/triwave33/items/1890ccc71fab6cbca87e
# https://qiita.com/p... | 36.026786 | 163 | 0.530607 | 2,413 | 20,175 | 4.173228 | 0.084956 | 0.0429 | 0.025819 | 0.022344 | 0.796127 | 0.760973 | 0.729295 | 0.70715 | 0.701291 | 0.658888 | 0 | 0.019796 | 0.348996 | 20,175 | 559 | 164 | 36.091234 | 0.746916 | 0.198216 | 0 | 0.637131 | 0 | 0.021097 | 0.032427 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.075949 | false | 0 | 0.025316 | 0 | 0.185654 | 0.113924 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
64cd126116ea3adaccee2c56284dbb41ba028650 | 152 | py | Python | pdfmajor/interpreter/commands/state/PDFItem/__init__.py | asosnovsky/pdfmajor | 7e24c64b5b4fdc84c12b2f78dcaab0e1aa07f4ad | [
"MIT"
] | 23 | 2019-01-13T23:32:24.000Z | 2021-07-08T04:29:15.000Z | pdfmajor/interpreter/commands/state/PDFItem/__init__.py | asosnovsky/pdfmajor | 7e24c64b5b4fdc84c12b2f78dcaab0e1aa07f4ad | [
"MIT"
] | 3 | 2019-08-09T18:42:01.000Z | 2019-12-13T15:43:24.000Z | pdfmajor/interpreter/commands/state/PDFItem/__init__.py | asosnovsky/pdfmajor | 7e24c64b5b4fdc84c12b2f78dcaab0e1aa07f4ad | [
"MIT"
] | 2 | 2020-01-09T11:18:20.000Z | 2020-03-24T06:02:30.000Z | from ._base import PDFItem
from .PDFShape import PDFShape
from .PDFImage import PDFImage
from .PDFText import PDFText
from .PDFXObject import PDFXObject | 30.4 | 34 | 0.842105 | 20 | 152 | 6.35 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 152 | 5 | 34 | 30.4 | 0.954887 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
b379b5df8f0f3b496f8f1bc1357527dc0e841f1d | 23,928 | py | Python | decisiorama/pda_gpu/aggregate.py | j-chacon/Hartmann_contaminants | 316d543efcdc0bcc4442c56fda6748b405ca2e22 | [
"MIT"
] | null | null | null | decisiorama/pda_gpu/aggregate.py | j-chacon/Hartmann_contaminants | 316d543efcdc0bcc4442c56fda6748b405ca2e22 | [
"MIT"
] | null | null | null | decisiorama/pda_gpu/aggregate.py | j-chacon/Hartmann_contaminants | 316d543efcdc0bcc4442c56fda6748b405ca2e22 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
""" Aggregate Module
This module contains a collection of functions for utility aggregation.
"""
__author__ = "Juan Carlos Chacon-Hurtado"
__credits__ = ["Juan Carlos Chacon-Hurtado", "Lisa Scholten"]
__license__ = "MIT"
__version__ = "0.1.0"
__maintainer__ = "Juan Carlos Chacon-Hurtado"
__ema... | 29.395577 | 79 | 0.508484 | 3,426 | 23,928 | 3.4892 | 0.07122 | 0.019408 | 0.018571 | 0.017735 | 0.789025 | 0.765351 | 0.746696 | 0.716748 | 0.707546 | 0.707546 | 0 | 0.062548 | 0.35122 | 23,928 | 813 | 80 | 29.431734 | 0.707485 | 0.630809 | 0 | 0.457447 | 0 | 0 | 0.096871 | 0.003715 | 0 | 0 | 0 | 0 | 0 | 1 | 0.106383 | false | 0 | 0.010638 | 0 | 0.18617 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
b39291b802734719808e4b175e2d9eb68d3772e8 | 1,467 | py | Python | module1/part1.py | Strugglingrookie/oldboy2 | 8ed6723cab1f54f2ff8ea0947c6f982aef7e1b47 | [
"Apache-2.0"
] | 1 | 2021-06-15T07:01:23.000Z | 2021-06-15T07:01:23.000Z | module1/part1.py | Strugglingrookie/oldboy2 | 8ed6723cab1f54f2ff8ea0947c6f982aef7e1b47 | [
"Apache-2.0"
] | 3 | 2020-02-13T14:35:36.000Z | 2021-06-10T21:27:14.000Z | module1/part1.py | Strugglingrookie/oldboy2 | 8ed6723cab1f54f2ff8ea0947c6f982aef7e1b47 | [
"Apache-2.0"
] | 1 | 2020-04-09T02:13:12.000Z | 2020-04-09T02:13:12.000Z | # -*- coding: utf-8 -*-
# @Time : 2018/11/21 16:31
# @Author : Xiao
# 基础需求:
# 让用户输入用户名密码
# 认证成功后显示欢迎信息
# 输错三次后退出程序
users = {"alex":123456,'Miller':654321,"Xiaogang":"123654"}
count = 3
while count > 0:
user = input("Your name :\n").strip()
pwd = input("Password :\n").strip()
if user in users and pwd ==... | 29.938776 | 65 | 0.532379 | 184 | 1,467 | 4.233696 | 0.407609 | 0.071887 | 0.038511 | 0.053915 | 0.703466 | 0.703466 | 0.703466 | 0.703466 | 0.61104 | 0.490372 | 0 | 0.072573 | 0.276755 | 1,467 | 49 | 66 | 29.938776 | 0.66164 | 0.130198 | 0 | 0.864865 | 0 | 0 | 0.175355 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.054054 | 0 | 0 | 0 | 0.189189 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
b3c40859f1d14b30c32d50b8d95d8dfd64948dc8 | 291 | py | Python | django_backend/administration/backends.py | holg/django_backend | 6cef76a378664e6621619862e6db476788a58992 | [
"BSD-3-Clause"
] | 3 | 2015-09-10T07:10:49.000Z | 2021-03-16T07:17:58.000Z | django_backend/administration/backends.py | holg/django_backend | 6cef76a378664e6621619862e6db476788a58992 | [
"BSD-3-Clause"
] | 10 | 2015-09-09T13:40:24.000Z | 2021-02-27T09:12:23.000Z | django_backend/administration/backends.py | holg/django_backend | 6cef76a378664e6621619862e6db476788a58992 | [
"BSD-3-Clause"
] | 5 | 2016-06-12T08:20:38.000Z | 2021-02-27T09:02:30.000Z | from django_viewset import URLView
from ..backend import BaseBackend
from .views import AdministrationView, PasswordChangeView
class AdministrationBackend(BaseBackend):
index = URLView(r'^$', AdministrationView)
password_change = URLView(r'^password_change/$', PasswordChangeView)
| 32.333333 | 72 | 0.804124 | 28 | 291 | 8.25 | 0.571429 | 0.069264 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113402 | 291 | 8 | 73 | 36.375 | 0.895349 | 0 | 0 | 0 | 0 | 0 | 0.068729 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.333333 | 0.5 | 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 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
b607669027db90c74e35c5ce4c13d0d3aabeecfb | 140 | py | Python | test/sync_tests/services/scan_package/service2.py | livioribeiro/dependency-injector | ab76415233d7e6f82ff13479d10c2aa0f100c173 | [
"Unlicense"
] | 1 | 2021-08-13T20:23:56.000Z | 2021-08-13T20:23:56.000Z | test/sync_tests/services/scan_package/service2.py | livioribeiro/dependency-injector | ab76415233d7e6f82ff13479d10c2aa0f100c173 | [
"Unlicense"
] | null | null | null | test/sync_tests/services/scan_package/service2.py | livioribeiro/dependency-injector | ab76415233d7e6f82ff13479d10c2aa0f100c173 | [
"Unlicense"
] | null | null | null | from dependency_injector import singleton
class Service2:
pass
@singleton
def service2_factory() -> Service2:
return Service2()
| 12.727273 | 41 | 0.75 | 15 | 140 | 6.866667 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035088 | 0.185714 | 140 | 10 | 42 | 14 | 0.868421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0.166667 | 0.166667 | 0.166667 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 5 |
3758b3f237477aa9fc7f64de025b0dfed0a7e064 | 22,535 | py | Python | schemas/validators_test.py | Bee-lee/insights-data-schemas | 693e4040dbd4f25ea7a451ffc33b7e3f19869752 | [
"Apache-2.0"
] | null | null | null | schemas/validators_test.py | Bee-lee/insights-data-schemas | 693e4040dbd4f25ea7a451ffc33b7e3f19869752 | [
"Apache-2.0"
] | null | null | null | schemas/validators_test.py | Bee-lee/insights-data-schemas | 693e4040dbd4f25ea7a451ffc33b7e3f19869752 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
# vim: set fileencoding=utf-8
# Copyright © 2020, 2011 Pavel Tisnovsky
#
# 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-... | 35.376766 | 100 | 0.753583 | 2,667 | 22,535 | 6.173228 | 0.073116 | 0.031584 | 0.072704 | 0.088435 | 0.822157 | 0.766825 | 0.714954 | 0.660107 | 0.632957 | 0.604045 | 0 | 0.042321 | 0.15487 | 22,535 | 636 | 101 | 35.43239 | 0.822106 | 0.305392 | 0 | 0.46875 | 0 | 0 | 0.082714 | 0.044842 | 0 | 0 | 0 | 0 | 0 | 1 | 0.225694 | false | 0 | 0.010417 | 0 | 0.236111 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
3765ce8cd1f60d3055422275882cbfe67f68b23c | 309 | py | Python | app/admin/views.py | AdminWhaleFall/Flask-CheckStudent | 67810f5b1f939a44ea19e89350565354d04f245c | [
"Apache-2.0"
] | 1 | 2022-01-06T10:52:06.000Z | 2022-01-06T10:52:06.000Z | app/admin/views.py | AdminWhaleFall/Flask-CheckStudent | 67810f5b1f939a44ea19e89350565354d04f245c | [
"Apache-2.0"
] | null | null | null | app/admin/views.py | AdminWhaleFall/Flask-CheckStudent | 67810f5b1f939a44ea19e89350565354d04f245c | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# @Time : 2022/1/8 16:45
# @Author : WhaleFall
# @Site :
# @File : view.py
# @Software: PyCharm
# 系统后台 视图
from . import admin
# from app import models # 导入模块
from flask import render_template
@admin.route('/admin/')
def admin_index():
return render_template('admin/login.html')
| 20.6 | 46 | 0.666667 | 44 | 309 | 4.613636 | 0.75 | 0.137931 | 0.187192 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043137 | 0.174757 | 309 | 14 | 47 | 22.071429 | 0.752941 | 0.472492 | 0 | 0 | 0 | 0 | 0.150327 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0.2 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
8067a0c5a780acdbe7fc84fd152e417b5ab77bbd | 183 | py | Python | unix/__main__.py | tabboud/mpkernel | fa2ba20dea4864b5d5658bfbd43c6d7963056654 | [
"MIT"
] | 2 | 2020-05-11T17:17:58.000Z | 2020-07-08T06:26:49.000Z | unix/__main__.py | tabboud/mpkernel | fa2ba20dea4864b5d5658bfbd43c6d7963056654 | [
"MIT"
] | null | null | null | unix/__main__.py | tabboud/mpkernel | fa2ba20dea4864b5d5658bfbd43c6d7963056654 | [
"MIT"
] | null | null | null | """ Launch MPKernelUnix """
from ipykernel.kernelapp import IPKernelApp
from .unix import MPKernelUnix
# Launch the unix port
IPKernelApp.launch_instance(kernel_class=MPKernelUnix)
| 22.875 | 54 | 0.819672 | 21 | 183 | 7.047619 | 0.619048 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10929 | 183 | 7 | 55 | 26.142857 | 0.907975 | 0.229508 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
80ac5a168bf65c3fed963bb141c8083c0168965f | 3,347 | py | Python | notebook/numpy_fancy_indexing.py | vhn0912/python-snippets | 80b2e1d6b2b8f12ae30d6dbe86d25bb2b3a02038 | [
"MIT"
] | 174 | 2018-05-30T21:14:50.000Z | 2022-03-25T07:59:37.000Z | notebook/numpy_fancy_indexing.py | vhn0912/python-snippets | 80b2e1d6b2b8f12ae30d6dbe86d25bb2b3a02038 | [
"MIT"
] | 5 | 2019-08-10T03:22:02.000Z | 2021-07-12T20:31:17.000Z | notebook/numpy_fancy_indexing.py | vhn0912/python-snippets | 80b2e1d6b2b8f12ae30d6dbe86d25bb2b3a02038 | [
"MIT"
] | 53 | 2018-04-27T05:26:35.000Z | 2022-03-25T07:59:37.000Z | import numpy as np
a = np.arange(10) * 10
print(a)
# [ 0 10 20 30 40 50 60 70 80 90]
print(a[5])
# 50
print(a[8])
# 80
print(a[[5, 8]])
# [50 80]
print(a[[5, 4, 8, 0]])
# [50 40 80 0]
print(a[[5, 5, 5, 5]])
# [50 50 50 50]
idx = np.array([[5, 4], [8, 0]])
print(idx)
# [[5 4]
# [8 0]]
print(a[idx])
# [[50 40]
... | 15.008969 | 100 | 0.432029 | 701 | 3,347 | 1.982882 | 0.091298 | 0.097122 | 0.189928 | 0.116547 | 0.659712 | 0.597842 | 0.539568 | 0.471223 | 0.389209 | 0.358273 | 0 | 0.288526 | 0.286525 | 3,347 | 222 | 101 | 15.076577 | 0.293551 | 0.461309 | 0 | 0.323077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.015385 | 0 | 0.015385 | 0.738462 | 0 | 0 | 1 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
80c6061ade4caa0af383ea75ecad239c88589f55 | 99 | py | Python | src/petpeeve/pip_internal/locations.py | uranusjr/petpeeve | 66cbec32ffd9b8bd81cf0992a3021931d88df825 | [
"ISC"
] | null | null | null | src/petpeeve/pip_internal/locations.py | uranusjr/petpeeve | 66cbec32ffd9b8bd81cf0992a3021931d88df825 | [
"ISC"
] | null | null | null | src/petpeeve/pip_internal/locations.py | uranusjr/petpeeve | 66cbec32ffd9b8bd81cf0992a3021931d88df825 | [
"ISC"
] | 1 | 2019-01-21T12:39:38.000Z | 2019-01-21T12:39:38.000Z | from ._not import from_pip_import
USER_CACHE_DIR = from_pip_import('locations', 'USER_CACHE_DIR')
| 24.75 | 63 | 0.818182 | 16 | 99 | 4.5 | 0.5 | 0.194444 | 0.361111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 99 | 3 | 64 | 33 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.232323 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.