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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
edf14d2a03d990185ba5001e02c7bfcb38e6d92d | 2,627 | py | Python | test/generate/crf_mix.py | feiranwang/dimmwitted | bd1b593bfc0f7f76f13a71423740c1f5e77e3336 | [
"Apache-2.0"
] | null | null | null | test/generate/crf_mix.py | feiranwang/dimmwitted | bd1b593bfc0f7f76f13a71423740c1f5e77e3336 | [
"Apache-2.0"
] | null | null | null | test/generate/crf_mix.py | feiranwang/dimmwitted | bd1b593bfc0f7f76f13a71423740c1f5e77e3336 | [
"Apache-2.0"
] | null | null | null |
import struct
import factor_graph_pb2
import random
NVAR = 1000000
NQVAR = 1000000
fo = open("crf_mix/graph.variables.pb", "wb")
for i in range(0,NVAR):
v = factor_graph_pb2.Variable()
v.id = i
v.initialValue = 0
if random.random() < 0.8:
v.initialValue = 1
v.dataType = 0
v.isEvidence = True
v.cardinality ... | 23.455357 | 51 | 0.690141 | 448 | 2,627 | 3.973214 | 0.131696 | 0.086517 | 0.094382 | 0.105056 | 0.86236 | 0.829213 | 0.814045 | 0.73427 | 0.655056 | 0.655056 | 0 | 0.029996 | 0.137038 | 2,627 | 111 | 52 | 23.666667 | 0.755183 | 0.001903 | 0 | 0.732673 | 0 | 0 | 0.04391 | 0.036655 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.029703 | 0 | 0.029703 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
61133af03e37b2ab7b16c210b9208ccc1f07e48e | 383 | py | Python | pySDC/tests/test_projects/test_parallelSDC/test_fisher.py | brownbaerchen/pySDC | 31293859d731646aa09cef4345669eac65501550 | [
"BSD-2-Clause"
] | 20 | 2015-03-21T09:02:55.000Z | 2022-02-26T20:22:21.000Z | pySDC/tests/test_projects/test_parallelSDC/test_fisher.py | brownbaerchen/pySDC | 31293859d731646aa09cef4345669eac65501550 | [
"BSD-2-Clause"
] | 61 | 2015-03-02T09:35:55.000Z | 2022-03-17T12:42:48.000Z | pySDC/tests/test_projects/test_parallelSDC/test_fisher.py | brownbaerchen/pySDC | 31293859d731646aa09cef4345669eac65501550 | [
"BSD-2-Clause"
] | 19 | 2015-02-20T11:52:33.000Z | 2022-02-02T10:46:27.000Z | from pySDC.projects.parallelSDC.newton_vs_sdc import main as main_newton_vs_sdc
from pySDC.projects.parallelSDC.newton_vs_sdc import plot_graphs as plot_graphs_newton_vs_sdc
from pySDC.projects.parallelSDC.nonlinear_playground import main, plot_graphs
def test_main():
main()
plot_graphs()
def test_newton_vs_... | 31.916667 | 93 | 0.825065 | 60 | 383 | 4.833333 | 0.266667 | 0.193103 | 0.265517 | 0.289655 | 0.734483 | 0.482759 | 0.482759 | 0.310345 | 0 | 0 | 0 | 0 | 0.112272 | 383 | 12 | 94 | 31.916667 | 0.852941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | true | 0 | 0.333333 | 0 | 0.555556 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b620f86a0f88908ffdfda4f0cd9cf88aa1d03733 | 262 | py | Python | socialnews/news/static.py | agiliq/django-socialnews | aa4a1a4a0e3279e6c7999071648ba37c71df9d15 | [
"BSD-3-Clause"
] | 30 | 2015-01-18T16:34:03.000Z | 2021-05-23T20:05:54.000Z | socialnews/news/static.py | agiliq/django-socialnews | aa4a1a4a0e3279e6c7999071648ba37c71df9d15 | [
"BSD-3-Clause"
] | null | null | null | socialnews/news/static.py | agiliq/django-socialnews | aa4a1a4a0e3279e6c7999071648ba37c71df9d15 | [
"BSD-3-Clause"
] | 11 | 2015-02-21T10:45:41.000Z | 2021-01-24T21:08:20.000Z | from helpers import render
def aboutus(request):
return render(request, {}, 'news/aboutus.html')
def help(request):
return render(request, {}, 'news/help.html')
def buttons(request):
return render(request, {}, 'news/buttons.html')
| 18.714286 | 52 | 0.648855 | 31 | 262 | 5.483871 | 0.387097 | 0.229412 | 0.335294 | 0.458824 | 0.529412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.20229 | 262 | 13 | 53 | 20.153846 | 0.813397 | 0 | 0 | 0 | 0 | 0 | 0.193548 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0.142857 | 0.428571 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
b689e578de63126eebf7670d2b37352859fa3279 | 389 | py | Python | smaug/__init__.py | xyzsam/smaug | 899d84a53561d66f40648a0910da5d3d9af792ab | [
"BSD-3-Clause"
] | null | null | null | smaug/__init__.py | xyzsam/smaug | 899d84a53561d66f40648a0910da5d3d9af792ab | [
"BSD-3-Clause"
] | null | null | null | smaug/__init__.py | xyzsam/smaug | 899d84a53561d66f40648a0910da5d3d9af792ab | [
"BSD-3-Clause"
] | null | null | null | from smaug.core.types_pb2 import *
from smaug.python.ops import math_ops as math
from smaug.python.ops import array_ops as tensor
from smaug.python.ops import nn
from smaug.python.ops.control_flow_ops import merge, switch, cond
from smaug.python.ops.data_op import input_data
from smaug.python.graph import Graph
from ... | 32.416667 | 65 | 0.827763 | 68 | 389 | 4.632353 | 0.338235 | 0.257143 | 0.380952 | 0.285714 | 0.228571 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002899 | 0.113111 | 389 | 11 | 66 | 35.363636 | 0.910145 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fccc34cc439d38eeab72433c518086b7b0c84e47 | 25 | py | Python | Chapter 01/Chap01_Example1.140.py | Anancha/Programming-Techniques-using-Python | e80c329d2a27383909d358741a5cab03cb22fd8b | [
"MIT"
] | null | null | null | Chapter 01/Chap01_Example1.140.py | Anancha/Programming-Techniques-using-Python | e80c329d2a27383909d358741a5cab03cb22fd8b | [
"MIT"
] | null | null | null | Chapter 01/Chap01_Example1.140.py | Anancha/Programming-Techniques-using-Python | e80c329d2a27383909d358741a5cab03cb22fd8b | [
"MIT"
] | null | null | null | t1 = (5,6,2,1)
t1[0] = 4
| 8.333333 | 14 | 0.4 | 8 | 25 | 1.25 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.421053 | 0.24 | 25 | 2 | 15 | 12.5 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 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 | 6 |
1e125c7b1e76d71e286e07cfb46ee380014d59a8 | 87 | py | Python | tests/test_dummy.py | lazyoracle/crude-codecov | 5b55a9c8e9c3affa1eafcf74c51774e09d9c6b3a | [
"MIT"
] | null | null | null | tests/test_dummy.py | lazyoracle/crude-codecov | 5b55a9c8e9c3affa1eafcf74c51774e09d9c6b3a | [
"MIT"
] | 4 | 2021-08-30T22:36:23.000Z | 2021-08-31T18:58:02.000Z | tests/test_dummy.py | lazyoracle/crude-codecov | 5b55a9c8e9c3affa1eafcf74c51774e09d9c6b3a | [
"MIT"
] | null | null | null | import crude_codecov
def test_dummy():
assert crude_codecov.__version__ == "0.0.1" | 21.75 | 47 | 0.747126 | 13 | 87 | 4.461538 | 0.769231 | 0.413793 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 0.137931 | 87 | 4 | 47 | 21.75 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0.056818 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 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 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
1e97034e41e60d8c0437c5c5299dd3ad9e698cc5 | 42 | py | Python | pirl/__init__.py | HumanCompatibleAI/population-irl | c0881829adb750a9e43e90ce632851eed3e3a5e5 | [
"MIT"
] | 18 | 2018-07-26T05:36:24.000Z | 2022-02-25T11:45:31.000Z | pirl/__init__.py | HumanCompatibleAI/population-irl | c0881829adb750a9e43e90ce632851eed3e3a5e5 | [
"MIT"
] | 9 | 2018-04-22T22:05:22.000Z | 2022-01-17T02:39:35.000Z | pirl/__init__.py | HumanCompatibleAI/population-irl | c0881829adb750a9e43e90ce632851eed3e3a5e5 | [
"MIT"
] | 2 | 2019-04-20T01:09:41.000Z | 2020-04-01T09:39:04.000Z | from pirl import agents, envs, experiments | 42 | 42 | 0.833333 | 6 | 42 | 5.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119048 | 42 | 1 | 42 | 42 | 0.945946 | 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 | 1 | 0 | 0 | 6 |
1ea193886dbde1ae847205688a6660e83c3a296f | 118 | py | Python | exercises/practice/armstrong-numbers/.meta/example.py | tamireinhorn/python | 027e94759dd3281b0633c82171e377a28dc5a92e | [
"MIT"
] | 1,177 | 2017-06-21T20:24:06.000Z | 2022-03-29T02:30:55.000Z | exercises/practice/armstrong-numbers/.meta/example.py | tamireinhorn/python | 027e94759dd3281b0633c82171e377a28dc5a92e | [
"MIT"
] | 1,890 | 2017-06-18T20:06:10.000Z | 2022-03-31T18:35:51.000Z | exercises/practice/armstrong-numbers/.meta/example.py | stigjb-forks/exercism-python | cfb620d1603eb9b08511f96f00f872c67cac0d05 | [
"MIT"
] | 1,095 | 2017-06-26T23:06:19.000Z | 2022-03-29T03:25:38.000Z | def is_armstrong_number(number):
return sum(pow(int(digit), len(str(number))) for digit in str(number)) == number
| 39.333333 | 84 | 0.720339 | 19 | 118 | 4.368421 | 0.684211 | 0.289157 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127119 | 118 | 2 | 85 | 59 | 0.805825 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
949b32ab20611380a25c5fe37ef151f3b6be25c0 | 43 | py | Python | weather/commands/__init__.py | aziezahmed/openweathermap-cli | 510f9a61b67b36b1a659a777165ca0411abc4da0 | [
"MIT"
] | 7 | 2017-04-29T09:44:47.000Z | 2020-07-16T22:01:03.000Z | weather/commands/__init__.py | aziezahmed/openweathermap-cli | 510f9a61b67b36b1a659a777165ca0411abc4da0 | [
"MIT"
] | 1 | 2019-10-20T22:16:16.000Z | 2019-10-20T22:16:16.000Z | weather/commands/__init__.py | aziezahmed/openweathermap-cli | 510f9a61b67b36b1a659a777165ca0411abc4da0 | [
"MIT"
] | null | null | null | from .today import *
from .week import *
| 8.6 | 20 | 0.674419 | 6 | 43 | 4.833333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.232558 | 43 | 4 | 21 | 10.75 | 0.878788 | 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 | 1 | 0 | 0 | 6 |
94e9443efd65946de1392a95a28ea037fcc3a503 | 131 | py | Python | examples/good/black/noqa/test_cmd.py | jamescooke/flake8-aaa | 9df248e10538946531b67da4564bb229a91baece | [
"MIT"
] | 44 | 2018-04-08T21:25:43.000Z | 2022-01-20T14:28:16.000Z | examples/good/black/noqa/test_cmd.py | jamescooke/flake8-aaa | 9df248e10538946531b67da4564bb229a91baece | [
"MIT"
] | 72 | 2018-03-30T14:30:48.000Z | 2022-03-31T16:18:16.000Z | examples/good/black/noqa/test_cmd.py | jamescooke/flake8-aaa | 9df248e10538946531b67da4564bb229a91baece | [
"MIT"
] | 1 | 2018-10-17T18:49:25.000Z | 2018-10-17T18:49:25.000Z | def test(): # noqa
assert 1 + 1 == 2
def test_multi_line_args(math_fixture, *args, **kwargs): # noqa
assert 1 + 1 == 2
| 18.714286 | 64 | 0.59542 | 21 | 131 | 3.52381 | 0.571429 | 0.189189 | 0.297297 | 0.324324 | 0.351351 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061856 | 0.259542 | 131 | 6 | 65 | 21.833333 | 0.701031 | 0.068702 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.5 | false | 0 | 0 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
94fac0ceee0860975ae39ce3a9cabd7806b370b0 | 181 | py | Python | IMLearn/desent_methods/__init__.py | LidarAb/IML.HUJI | 798c99f9b1c29a701c1e06e923a429cae639937f | [
"MIT"
] | 2 | 2022-03-06T11:29:52.000Z | 2022-03-13T13:51:37.000Z | IMLearn/desent_methods/__init__.py | LidarAb/IML.HUJI | 798c99f9b1c29a701c1e06e923a429cae639937f | [
"MIT"
] | null | null | null | IMLearn/desent_methods/__init__.py | LidarAb/IML.HUJI | 798c99f9b1c29a701c1e06e923a429cae639937f | [
"MIT"
] | null | null | null | from .gradient_descent import GradientDescent
from .learning_rate import FixedLR, ExponentialLR, AdaptiveLR
__all__ = ["GradientDescent", "FixedLR", "ExponentialLR", "AdaptiveLR"]
| 36.2 | 71 | 0.80663 | 17 | 181 | 8.235294 | 0.647059 | 0.285714 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093923 | 181 | 4 | 72 | 45.25 | 0.853659 | 0 | 0 | 0 | 0 | 0 | 0.248619 | 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 | 1 | 0 | 0 | 6 |
a215c3fefd2654150b7c1a73073ef1062d780c5c | 63 | py | Python | dataset/__init__.py | kekayan/TabFormer | 96f9f219d06750e5df4f431b4bc3c19590a9b9c6 | [
"Apache-2.0"
] | 158 | 2020-11-04T03:21:37.000Z | 2022-03-31T17:43:37.000Z | dataset/__init__.py | kekayan/TabFormer | 96f9f219d06750e5df4f431b4bc3c19590a9b9c6 | [
"Apache-2.0"
] | 27 | 2020-12-03T16:35:52.000Z | 2022-03-01T02:02:15.000Z | dataset/__init__.py | kekayan/TabFormer | 96f9f219d06750e5df4f431b4bc3c19590a9b9c6 | [
"Apache-2.0"
] | 32 | 2020-12-16T02:12:27.000Z | 2022-03-21T18:40:30.000Z | from .datacollator import TransDataCollatorForLanguageModeling
| 31.5 | 62 | 0.920635 | 4 | 63 | 14.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063492 | 63 | 1 | 63 | 63 | 0.983051 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bfbafa8665ef4dc30c7971e239c1ddb47f231e6c | 110 | py | Python | flask_app/redis.py | vmalloc/logpile | 466a7404e17878ac688542a4e048eaf1a414c007 | [
"BSD-3-Clause"
] | 1 | 2016-12-28T07:41:09.000Z | 2016-12-28T07:41:09.000Z | flask_app/redis.py | vmalloc/logpile | 466a7404e17878ac688542a4e048eaf1a414c007 | [
"BSD-3-Clause"
] | null | null | null | flask_app/redis.py | vmalloc/logpile | 466a7404e17878ac688542a4e048eaf1a414c007 | [
"BSD-3-Clause"
] | null | null | null | from __future__ import absolute_import
import redis
def get_connection(db=0):
return redis.StrictRedis()
| 18.333333 | 38 | 0.8 | 15 | 110 | 5.466667 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010526 | 0.136364 | 110 | 5 | 39 | 22 | 0.852632 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 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 | 1 | 0 | 0 | 6 |
bfcfeed32dffdd80b2305bd1b0d8484738f0cbb4 | 105 | py | Python | custom/icds_reports/data_pull/exceptions.py | scottwedge/commcare-hq | 900ccf81c9f23fb3b435962f065648669817f37a | [
"BSD-3-Clause"
] | null | null | null | custom/icds_reports/data_pull/exceptions.py | scottwedge/commcare-hq | 900ccf81c9f23fb3b435962f065648669817f37a | [
"BSD-3-Clause"
] | null | null | null | custom/icds_reports/data_pull/exceptions.py | scottwedge/commcare-hq | 900ccf81c9f23fb3b435962f065648669817f37a | [
"BSD-3-Clause"
] | null | null | null | class UnboundDataPullException(Exception):
pass
class DataPullInProgressError(Exception):
pass
| 15 | 42 | 0.790476 | 8 | 105 | 10.375 | 0.625 | 0.313253 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152381 | 105 | 6 | 43 | 17.5 | 0.932584 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
44bdb901c583b52d752ede0fb3d2ad24edfa7ead | 4,260 | py | Python | adminRole/views.py | YashashwiniDixit/EDEZE | 79f264fd0def7062e57de8306dee7b16f349e73a | [
"MIT"
] | null | null | null | adminRole/views.py | YashashwiniDixit/EDEZE | 79f264fd0def7062e57de8306dee7b16f349e73a | [
"MIT"
] | null | null | null | adminRole/views.py | YashashwiniDixit/EDEZE | 79f264fd0def7062e57de8306dee7b16f349e73a | [
"MIT"
] | null | null | null | from django.shortcuts import render
from utility_functions.date_functions import *
from utility_functions.db_functions import *
def adminIndex(request):
return render(request,'adminIndex.html')
def addTeacher(request):
if request.session.has_key('user_id') and not request.session.has_key('teacher_id') and n... | 49.534884 | 145 | 0.58615 | 479 | 4,260 | 5.079332 | 0.156576 | 0.072339 | 0.092067 | 0.065762 | 0.780929 | 0.768598 | 0.757501 | 0.70859 | 0.70859 | 0.641184 | 0 | 0 | 0.290141 | 4,260 | 86 | 146 | 49.534884 | 0.804563 | 0 | 0 | 0.6625 | 0 | 0.025 | 0.213565 | 0.054447 | 0 | 0 | 0 | 0 | 0 | 1 | 0.05 | false | 0.1125 | 0.0375 | 0.0125 | 0.25 | 0.0125 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
44db578da92603ec7ba1c45af150b53499ae5509 | 30 | py | Python | firebasescrypt/__init__.py | 6degrees/firebase-scrypt-python | 6bde9476643abb149a104e921847be99c97728a0 | [
"MIT"
] | 4 | 2021-02-04T04:13:39.000Z | 2022-03-30T15:22:55.000Z | firebasescrypt/__init__.py | 6degrees/firebase-scrypt-python | 6bde9476643abb149a104e921847be99c97728a0 | [
"MIT"
] | 3 | 2021-02-15T00:56:56.000Z | 2022-02-21T13:52:45.000Z | firebasescrypt/__init__.py | 6degrees/firebase-scrypt-python | 6bde9476643abb149a104e921847be99c97728a0 | [
"MIT"
] | 2 | 2022-02-17T16:53:56.000Z | 2022-03-30T16:17:46.000Z | from .firebasescrypt import *
| 15 | 29 | 0.8 | 3 | 30 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.923077 | 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 | 1 | 0 | 0 | 6 |
44ea598d1d89c8d431f77985d18643ca5e7d04e9 | 198 | py | Python | src/python/zensols/deeplearn/__init__.py | plandes/deeplearn | 925f02200c62a7dc798e474ed94a86e009fd1ebf | [
"MIT"
] | 2 | 2021-04-30T17:19:14.000Z | 2021-05-04T03:48:59.000Z | src/python/zensols/deeplearn/__init__.py | plandes/deeplearn | 925f02200c62a7dc798e474ed94a86e009fd1ebf | [
"MIT"
] | null | null | null | src/python/zensols/deeplearn/__init__.py | plandes/deeplearn | 925f02200c62a7dc798e474ed94a86e009fd1ebf | [
"MIT"
] | null | null | null | """A deep learning framework to make training, validating and testing models
with PyTorch easier.
"""
from .torchtype import *
from .torchconfig import *
from .domain import *
from .plot import *
| 19.8 | 76 | 0.752525 | 26 | 198 | 5.730769 | 0.769231 | 0.201342 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 198 | 9 | 77 | 22 | 0.90303 | 0.474747 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
78384cc5b43052a6842dcecb2c6c7c07487d4e9a | 74 | py | Python | CNN_Model/__init__.py | AFahri/ANBU | d14fe39d6bd37a01add4a3369b479c6474537305 | [
"MIT"
] | 1 | 2019-11-01T14:36:41.000Z | 2019-11-01T14:36:41.000Z | CNN_Model/__init__.py | AFahri/ANBU | d14fe39d6bd37a01add4a3369b479c6474537305 | [
"MIT"
] | 5 | 2020-09-26T00:18:38.000Z | 2021-08-25T15:49:37.000Z | CNN_Model/__init__.py | AFahri/ANBU | d14fe39d6bd37a01add4a3369b479c6474537305 | [
"MIT"
] | null | null | null | from . import PREDICT
from . import train_classifier
from . import UTILS
| 14.8 | 30 | 0.783784 | 10 | 74 | 5.7 | 0.6 | 0.526316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175676 | 74 | 4 | 31 | 18.5 | 0.934426 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 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 | 1 | 0 | 0 | 6 |
785bdcf84872bf8e8d72655a3e4d406e0e7fd8cf | 3,835 | py | Python | test/test_rtrie.py | ncloudioj/hustle | 890793b996d5ba0660f4f16dd71c88abc86ae5b5 | [
"MIT"
] | 88 | 2015-01-07T16:57:29.000Z | 2021-05-31T15:11:45.000Z | test/test_rtrie.py | ncloudioj/hustle | 890793b996d5ba0660f4f16dd71c88abc86ae5b5 | [
"MIT"
] | 3 | 2015-08-17T09:42:20.000Z | 2018-01-12T18:31:12.000Z | test/test_rtrie.py | ncloudioj/hustle | 890793b996d5ba0660f4f16dd71c88abc86ae5b5 | [
"MIT"
] | 10 | 2015-04-05T14:41:32.000Z | 2018-12-02T20:46:57.000Z | # -*- coding: utf-8 -*-
import unittest
import rtrie
import mdb
from wtrie import Trie
class TestRTrie(unittest.TestCase):
def test_rtrie_in_memory(self):
s = unicode(u'séllsink').encode('utf-8')
#print "HELLSINK: %s" % s
t = Trie()
self.assertEqual(t.add('hello'), 1)
self... | 40.797872 | 104 | 0.597392 | 504 | 3,835 | 4.392857 | 0.178571 | 0.203252 | 0.094399 | 0.137308 | 0.78636 | 0.768293 | 0.752936 | 0.752936 | 0.376694 | 0.350497 | 0 | 0.011486 | 0.250847 | 3,835 | 93 | 105 | 41.236559 | 0.759137 | 0.011734 | 0 | 0.435897 | 0 | 0 | 0.087427 | 0 | 0 | 0 | 0 | 0 | 0.461538 | 0 | null | null | 0 | 0.064103 | null | null | 0.038462 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7866c2304834046c91a1c1aaf6a8606f8efc1840 | 138 | py | Python | tests/test_form_builder_routes.py | aryan040501/wikilabels | ea110da2b969cc978a0f288c4da6250dc9d67e72 | [
"MIT"
] | 15 | 2015-07-16T17:56:43.000Z | 2018-08-20T14:59:16.000Z | tests/test_form_builder_routes.py | aryan040501/wikilabels | ea110da2b969cc978a0f288c4da6250dc9d67e72 | [
"MIT"
] | 122 | 2015-06-10T15:58:11.000Z | 2018-08-16T14:56:23.000Z | tests/test_form_builder_routes.py | aryan040501/wikilabels | ea110da2b969cc978a0f288c4da6250dc9d67e72 | [
"MIT"
] | 27 | 2015-07-15T22:12:35.000Z | 2018-08-06T23:10:28.000Z | from .routes_test_fixture import app # noqa
def test_form_builder(client):
assert client.get("/form_builder/")._status_code == 200
| 23 | 59 | 0.753623 | 20 | 138 | 4.85 | 0.8 | 0.226804 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02521 | 0.137681 | 138 | 5 | 60 | 27.6 | 0.789916 | 0.028986 | 0 | 0 | 0 | 0 | 0.106061 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7876baf44727b21ba7c4931a06b6f997a31b0a13 | 63 | py | Python | python_packages_static/pyemu/pyemu_warnings.py | usgs/neversink_workflow | acd61435b8553e38d4a903c8cd7a3afc612446f9 | [
"CC0-1.0"
] | null | null | null | python_packages_static/pyemu/pyemu_warnings.py | usgs/neversink_workflow | acd61435b8553e38d4a903c8cd7a3afc612446f9 | [
"CC0-1.0"
] | null | null | null | python_packages_static/pyemu/pyemu_warnings.py | usgs/neversink_workflow | acd61435b8553e38d4a903c8cd7a3afc612446f9 | [
"CC0-1.0"
] | null | null | null | import warnings
class PyemuWarning(RuntimeWarning):
pass
| 10.5 | 35 | 0.777778 | 6 | 63 | 8.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174603 | 63 | 5 | 36 | 12.6 | 0.942308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
78b06dd8cab70752b356b191a9940d6db31b4227 | 24 | py | Python | src/models/__init__.py | shirley-wu/text_to_table | 44cb100b8ff2543b5b4efe1461502c00c34ef846 | [
"MIT"
] | 3 | 2022-03-17T05:55:23.000Z | 2022-03-30T08:34:14.000Z | src/models/__init__.py | shirley-wu/text_to_table | 44cb100b8ff2543b5b4efe1461502c00c34ef846 | [
"MIT"
] | 1 | 2022-03-30T09:04:54.000Z | 2022-03-30T09:04:54.000Z | src/models/__init__.py | shirley-wu/text_to_table | 44cb100b8ff2543b5b4efe1461502c00c34ef846 | [
"MIT"
] | null | null | null | from . import bart_ours
| 12 | 23 | 0.791667 | 4 | 24 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 0.9 | 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 | 1 | 0 | 0 | 6 |
78bdd21c27bad04113312d94ba53668ff41d19c7 | 27 | py | Python | tenark/models/__init__.py | knowark/tenark | 27d51972ff32c47ba8da423752fa7c32bd0ea6df | [
"MIT"
] | 1 | 2019-05-16T04:05:21.000Z | 2019-05-16T04:05:21.000Z | tenark/models/__init__.py | knowark/tenark | 27d51972ff32c47ba8da423752fa7c32bd0ea6df | [
"MIT"
] | 1 | 2020-06-13T20:29:14.000Z | 2020-06-13T20:29:14.000Z | tenark/models/__init__.py | knowark/tenark | 27d51972ff32c47ba8da423752fa7c32bd0ea6df | [
"MIT"
] | null | null | null | from .tenant import Tenant
| 13.5 | 26 | 0.814815 | 4 | 27 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.956522 | 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 | 1 | 0 | 0 | 6 |
151ea8b46aa415d082d28820af146e120e228a8e | 1,199 | py | Python | src/python/hello_world/messages/animals.py | jaximan/pexample | 8820e82b01b4ef84746351ddf2e1c8af1ff6b0a1 | [
"Apache-2.0"
] | null | null | null | src/python/hello_world/messages/animals.py | jaximan/pexample | 8820e82b01b4ef84746351ddf2e1c8af1ff6b0a1 | [
"Apache-2.0"
] | null | null | null | src/python/hello_world/messages/animals.py | jaximan/pexample | 8820e82b01b4ef84746351ddf2e1c8af1ff6b0a1 | [
"Apache-2.0"
] | null | null | null | from textwrap import dedent
def cow(message):
return dedent("""
________________
< {} >
----------------
\\ ^__^
\\ (oo)\\_______
(__)\\ )\\/
||----w |
|| ||
""").format... | 27.25 | 52 | 0.141785 | 28 | 1,199 | 4.107143 | 0.571429 | 0.226087 | 0.330435 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012531 | 0.667223 | 1,199 | 43 | 53 | 27.883721 | 0.275689 | 0 | 0 | 0.210526 | 0 | 0 | 0.869892 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.052632 | false | 0 | 0.026316 | 0.052632 | 0.131579 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
153a15bee5776e41afcddb375f3002f88c90686d | 146 | py | Python | app/profile/__init__.py | natacha-beck/conp-portal | 28950b4cd957b157260b288cfea2488658ac2d53 | [
"MIT"
] | 10 | 2019-02-27T22:55:28.000Z | 2021-06-15T12:55:10.000Z | app/profile/__init__.py | natacha-beck/conp-portal | 28950b4cd957b157260b288cfea2488658ac2d53 | [
"MIT"
] | 325 | 2019-02-27T22:58:32.000Z | 2022-03-17T15:48:54.000Z | app/profile/__init__.py | natacha-beck/conp-portal | 28950b4cd957b157260b288cfea2488658ac2d53 | [
"MIT"
] | 31 | 2019-03-05T16:04:01.000Z | 2021-12-22T15:25:15.000Z | # -*- coding: utf-8 -*-
from flask import Blueprint
profile_bp = Blueprint('profile', __name__)
from app.profile import routes # noqa: E402,F401
| 29.2 | 49 | 0.726027 | 20 | 146 | 5.05 | 0.75 | 0.316832 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056 | 0.143836 | 146 | 4 | 50 | 36.5 | 0.752 | 0.253425 | 0 | 0 | 0 | 0 | 0.066038 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 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 | 1 | 0 | 6 |
155c1a98a441f82486cd2ddeae5ca2947ac9a586 | 81 | py | Python | src/views.py | hey-mako/heroku-botops | d9d8795eddbbb69ef5acddd584fcb108a0c8e794 | [
"MIT"
] | null | null | null | src/views.py | hey-mako/heroku-botops | d9d8795eddbbb69ef5acddd584fcb108a0c8e794 | [
"MIT"
] | null | null | null | src/views.py | hey-mako/heroku-botops | d9d8795eddbbb69ef5acddd584fcb108a0c8e794 | [
"MIT"
] | null | null | null | from . import application
@application.route('/')
def index():
return '', 200
| 11.571429 | 25 | 0.666667 | 9 | 81 | 6 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044118 | 0.160494 | 81 | 6 | 26 | 13.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.012346 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
156d396d9f1ca32dba075ec687c077308bf4d0f8 | 4,362 | py | Python | unit-test/test_nvme_scan.py | dedwards-micron/nvme-scan | 2d41b42a178cd4fcc694c104ec53253affa8809b | [
"BSD-3-Clause"
] | null | null | null | unit-test/test_nvme_scan.py | dedwards-micron/nvme-scan | 2d41b42a178cd4fcc694c104ec53253affa8809b | [
"BSD-3-Clause"
] | null | null | null | unit-test/test_nvme_scan.py | dedwards-micron/nvme-scan | 2d41b42a178cd4fcc694c104ec53253affa8809b | [
"BSD-3-Clause"
] | null | null | null | import unittest
import json
from nvme_scan import get_args, NvmeDeviceCollector
class NvmeScanTestCase(unittest.TestCase):
def test_01_linux_scan_all(self):
test_args = []
args = get_args(test_args)
self.assertFalse(args.use_spdk)
self.assertIsNone(args.spdk_path)
self.ass... | 34.078125 | 72 | 0.624943 | 556 | 4,362 | 4.600719 | 0.133094 | 0.096951 | 0.163409 | 0.052776 | 0.795934 | 0.795934 | 0.771306 | 0.749023 | 0.749023 | 0.749023 | 0 | 0.016631 | 0.255617 | 4,362 | 127 | 73 | 34.346457 | 0.771173 | 0 | 0 | 0.675439 | 0 | 0 | 0.077258 | 0.029574 | 0 | 0 | 0 | 0 | 0.473684 | 1 | 0.087719 | false | 0 | 0.026316 | 0 | 0.122807 | 0.008772 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ec7b4b5eee2e7175f6ffd40bc3aac24579e12026 | 181 | py | Python | deepaccess/interpret/__init__.py | jhammelman/DeepAccessTransfer | 8ca978873e2fcb1b95d90902e3fb38e710027776 | [
"MIT"
] | 2 | 2021-08-16T18:34:59.000Z | 2022-02-19T16:05:21.000Z | deepaccess/interpret/__init__.py | jhammelman/DeepAccessTransfer | 8ca978873e2fcb1b95d90902e3fb38e710027776 | [
"MIT"
] | null | null | null | deepaccess/interpret/__init__.py | jhammelman/DeepAccessTransfer | 8ca978873e2fcb1b95d90902e3fb38e710027776 | [
"MIT"
] | 1 | 2021-05-26T21:54:53.000Z | 2021-05-26T21:54:53.000Z | from deepaccess.ensemble_utils import *
from deepaccess.train.DeepAccessModel import *
from .ExpectedPatternEffect import *
from .interpret import *
from .importance_utils import *
| 30.166667 | 46 | 0.828729 | 20 | 181 | 7.4 | 0.5 | 0.27027 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.110497 | 181 | 5 | 47 | 36.2 | 0.919255 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
eca10353a2a9c8e710ebaea002e54b8057f4e3cf | 20,661 | py | Python | tests/test_nn.py | KaiyuYue/torchshard | 89e21def180bf6063ceb2e312a61631173abc7e7 | [
"Apache-2.0"
] | 265 | 2021-04-27T12:06:45.000Z | 2022-03-17T11:13:17.000Z | tests/test_nn.py | poodarchu/torchshard | 667cfce9ed3e2170c7768d910a71aa07897857e7 | [
"Apache-2.0"
] | 7 | 2021-05-24T06:54:44.000Z | 2022-01-01T18:47:38.000Z | tests/test_nn.py | KaiyuYue/torchshard | 89e21def180bf6063ceb2e312a61631173abc7e7 | [
"Apache-2.0"
] | 11 | 2021-04-28T04:15:44.000Z | 2022-01-26T04:29:30.000Z | import unittest
import copy
from typing import Optional, List, Callable, Tuple
import torch
import torch.nn as nn
import torch.distributed as dist
import torch.multiprocessing as mp
import torch.nn.parallel as parallel
from torch import Tensor
import torchshard as ts
from testing import dist_worker, assertEqual, set... | 36.311072 | 137 | 0.654325 | 2,619 | 20,661 | 4.921726 | 0.066819 | 0.071683 | 0.041272 | 0.027929 | 0.899379 | 0.869279 | 0.841971 | 0.776338 | 0.752754 | 0.716912 | 0 | 0.013259 | 0.244373 | 20,661 | 568 | 138 | 36.375 | 0.812388 | 0.038139 | 0 | 0.605911 | 0 | 0 | 0.013412 | 0 | 0 | 0 | 0 | 0 | 0.093596 | 1 | 0.039409 | false | 0 | 0.03202 | 0 | 0.078818 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
eca2972394b0f57d3cd9a6ab8060fbb3a83bdf0f | 5,830 | py | Python | maps.py | IlmastroStefanuzzo/py_cli_snake | c23ffc604f6d9dfbafd598ce6f12fba1d79fef21 | [
"MIT"
] | 1 | 2021-07-08T21:59:37.000Z | 2021-07-08T21:59:37.000Z | maps.py | IlmastroStefanuzzo/py_cli_snake | c23ffc604f6d9dfbafd598ce6f12fba1d79fef21 | [
"MIT"
] | null | null | null | maps.py | IlmastroStefanuzzo/py_cli_snake | c23ffc604f6d9dfbafd598ce6f12fba1d79fef21 | [
"MIT"
] | null | null | null | # README! #
# You can add your own maps, just follow the format:
# mapX = ("Name shown to the user", PUT THE THREE QUOTATION MARKS (""") HERE
# MAP GOES HERE, you can use any characters, but you can only define the map's borders
# PUT THREE QUOTATION MARKS (""") HERE
# #################################### #
# You MUS... | 40.769231 | 125 | 0.100515 | 175 | 5,830 | 3.348571 | 0.388571 | 0.215017 | 0.317406 | 0.416382 | 0.204778 | 0.204778 | 0.109215 | 0.109215 | 0.109215 | 0.109215 | 0 | 0.013239 | 0.80566 | 5,830 | 142 | 126 | 41.056338 | 0.503972 | 0.077873 | 0 | 0.968504 | 0 | 0.007874 | 0.981412 | 0.061209 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
eca36f427e7efeaee8af237fe78f2460dfaad9e1 | 175 | py | Python | openslides/motions/exceptions.py | rolandgeider/OpenSlides | 331141c17cb23da26e377d4285efdb4a50753a59 | [
"MIT"
] | null | null | null | openslides/motions/exceptions.py | rolandgeider/OpenSlides | 331141c17cb23da26e377d4285efdb4a50753a59 | [
"MIT"
] | null | null | null | openslides/motions/exceptions.py | rolandgeider/OpenSlides | 331141c17cb23da26e377d4285efdb4a50753a59 | [
"MIT"
] | null | null | null | from openslides.utils.exceptions import OpenSlidesError
class WorkflowError(OpenSlidesError):
"""Exception raised when errors in a workflow or state accure."""
pass
| 25 | 69 | 0.777143 | 20 | 175 | 6.8 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154286 | 175 | 6 | 70 | 29.166667 | 0.918919 | 0.337143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
ecab6477f5c4879a394ee88389e6f54eb5099f04 | 422 | py | Python | September 2020/07-Modules/04/mathematical_module/math_module.py | eclipse-ib/Software-University-Professional-Advanced-Module | 636385f9e5521840f680644824d725d074b93c9a | [
"MIT"
] | null | null | null | September 2020/07-Modules/04/mathematical_module/math_module.py | eclipse-ib/Software-University-Professional-Advanced-Module | 636385f9e5521840f680644824d725d074b93c9a | [
"MIT"
] | null | null | null | September 2020/07-Modules/04/mathematical_module/math_module.py | eclipse-ib/Software-University-Professional-Advanced-Module | 636385f9e5521840f680644824d725d074b93c9a | [
"MIT"
] | null | null | null | import parser
def exec(op, n1, n2):
return op(n1, n2)
# # Moe:
# def mathematical_op(n1, sign, n2):
# result = 0
# if sign == "/":
# result = n1 / n2
#
# elif sign == "*":
# result = n1 * n2
#
# elif sign == "-":
# result = n1 - n2
#
# elif sign == "+":
# ... | 13.612903 | 36 | 0.417062 | 49 | 422 | 3.571429 | 0.346939 | 0.16 | 0.342857 | 0.4 | 0.491429 | 0.491429 | 0.491429 | 0.491429 | 0.491429 | 0.491429 | 0 | 0.069767 | 0.388626 | 422 | 30 | 37 | 14.066667 | 0.608527 | 0.746446 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
ecb168a45086bd341b7fd10b8637a2c14462cea3 | 129 | py | Python | nf_common_source/code/services/dataframe_service/dataframe_helpers/dataframe_split_constants.py | boro-alpha/nf_common | 66d6844d9ae9a86a3e5b461f92e1ba0ec15e85ef | [
"MIT"
] | null | null | null | nf_common_source/code/services/dataframe_service/dataframe_helpers/dataframe_split_constants.py | boro-alpha/nf_common | 66d6844d9ae9a86a3e5b461f92e1ba0ec15e85ef | [
"MIT"
] | null | null | null | nf_common_source/code/services/dataframe_service/dataframe_helpers/dataframe_split_constants.py | boro-alpha/nf_common | 66d6844d9ae9a86a3e5b461f92e1ba0ec15e85ef | [
"MIT"
] | null | null | null | EQUAL_ROWS_DATAFRAME_NAME = \
'dataframe_of_equal_rows'
NON_EQUAL_ROWS_DATAFRAME_NAME = \
'dataframe_of_non_equal_rows'
| 21.5 | 33 | 0.806202 | 18 | 129 | 5 | 0.333333 | 0.4 | 0.4 | 0.488889 | 0.733333 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131783 | 129 | 5 | 34 | 25.8 | 0.803571 | 0 | 0 | 0 | 0 | 0 | 0.387597 | 0.387597 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 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 | 6 |
ecbfdebf55eb3fa6ec715c1e978208dad94d160c | 7,912 | py | Python | cnn/dna_nn/dataset.py | solislemuslab/dna-nn-theory | 9e996d5f453e1d620dadca0c276cb4a68e2b68e5 | [
"MIT"
] | 1 | 2021-06-02T22:27:46.000Z | 2021-06-02T22:27:46.000Z | cnn/dna_nn/dataset.py | solislemuslab/dna-nn-theory | 9e996d5f453e1d620dadca0c276cb4a68e2b68e5 | [
"MIT"
] | null | null | null | cnn/dna_nn/dataset.py | solislemuslab/dna-nn-theory | 9e996d5f453e1d620dadca0c276cb4a68e2b68e5 | [
"MIT"
] | 1 | 2020-07-08T19:53:30.000Z | 2020-07-08T19:53:30.000Z | from itertools import product
import numpy as np
import pandas as pd
from sklearn.model_selection import train_test_split
import tensorflow as tf
from tensorflow import keras
from tensorflow.data import Dataset
from dna_nn.load import encode, encoded_shape, gen_from_arrays, gen_from_fasta, read_fasta
vocab = [' '.jo... | 38.784314 | 111 | 0.697801 | 1,233 | 7,912 | 4.145174 | 0.117599 | 0.018783 | 0.021522 | 0.03874 | 0.852671 | 0.839366 | 0.816474 | 0.791235 | 0.778713 | 0.729994 | 0 | 0.018117 | 0.183771 | 7,912 | 204 | 112 | 38.784314 | 0.773304 | 0.026416 | 0 | 0.633333 | 0 | 0 | 0.023392 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.046667 | false | 0 | 0.053333 | 0 | 0.146667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
ecd9b4c406020b1ced95ab768eb059219714b2cd | 40 | py | Python | tellurium/optimization/__init__.py | stanleygu/tellurium | bfa6898eb4b632b31c4d12c0b0c78ce704a1d898 | [
"Apache-2.0"
] | null | null | null | tellurium/optimization/__init__.py | stanleygu/tellurium | bfa6898eb4b632b31c4d12c0b0c78ce704a1d898 | [
"Apache-2.0"
] | null | null | null | tellurium/optimization/__init__.py | stanleygu/tellurium | bfa6898eb4b632b31c4d12c0b0c78ce704a1d898 | [
"Apache-2.0"
] | null | null | null | from DiffEvolution import DiffEvolution
| 20 | 39 | 0.9 | 4 | 40 | 9 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 1 | 40 | 40 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ece8e6053b1add7a33ef7953723ea3434ef154ae | 3,602 | py | Python | test_balanced_parentheses.py | rikhallar/AlgorithmsStudy | 703ab2e4e120c9a56c26970807d61ce7976c6886 | [
"MIT"
] | null | null | null | test_balanced_parentheses.py | rikhallar/AlgorithmsStudy | 703ab2e4e120c9a56c26970807d61ce7976c6886 | [
"MIT"
] | null | null | null | test_balanced_parentheses.py | rikhallar/AlgorithmsStudy | 703ab2e4e120c9a56c26970807d61ce7976c6886 | [
"MIT"
] | null | null | null | import balanced_parentheses
import unittest
class TestBalancedParentheses(unittest.TestCase):
def test_returns_false_when_unbalanced_mixed_group_three_types(self):
line = "[{{)(}}]"
algorithm = balanced_parentheses.BalancedParentheses()
result = algorithm.answer(line)
self.assertE... | 36.02 | 76 | 0.692115 | 362 | 3,602 | 6.522099 | 0.116022 | 0.128759 | 0.088945 | 0.158831 | 0.933503 | 0.933503 | 0.933503 | 0.933503 | 0.891148 | 0.885218 | 0 | 0 | 0.213493 | 3,602 | 99 | 77 | 36.383838 | 0.833392 | 0 | 0 | 0.5625 | 0 | 0 | 0.018323 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 1 | 0.1875 | false | 0 | 0.025 | 0 | 0.225 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
01f28c6fc266be29c3850ae3c0a6a3a13a019088 | 8,627 | py | Python | tspec_cmd_impl/lmt_xml_config.py | jeremyko/let-me-test | c227d8522c25108eb0b21f8aa36798ac0611eaaf | [
"MIT"
] | null | null | null | tspec_cmd_impl/lmt_xml_config.py | jeremyko/let-me-test | c227d8522c25108eb0b21f8aa36798ac0611eaaf | [
"MIT"
] | null | null | null | tspec_cmd_impl/lmt_xml_config.py | jeremyko/let-me-test | c227d8522c25108eb0b21f8aa36798ac0611eaaf | [
"MIT"
] | null | null | null | #-*- coding: utf-8 -*-
"""
xml config handling
"""
#202007 kojh create
try:
import xml.etree.cElementTree as ET
except ImportError:
print ("ImportError")
import xml.etree.ElementTree as ET
import os
from pexpect import pxssh
from module_core import lmt_exception
from module_core import lmt_util
from tsp... | 42.497537 | 138 | 0.61493 | 1,128 | 8,627 | 4.351064 | 0.118794 | 0.172372 | 0.079462 | 0.077017 | 0.852078 | 0.825387 | 0.779747 | 0.746536 | 0.717604 | 0.687857 | 0 | 0.002004 | 0.190101 | 8,627 | 202 | 139 | 42.707921 | 0.700444 | 0.191608 | 0 | 0.630769 | 0 | 0 | 0.082635 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.046154 | false | 0.030769 | 0.069231 | 0 | 0.184615 | 0.007692 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
171a74a0ae2ed1b2c6a7c96ffb7835f7de0c7190 | 110 | py | Python | gluoncvth/models/__init__.py | cclauss/gluoncv-torch | 937b40d8ea297f52f4b65e0ac3a6922768d788a9 | [
"MIT"
] | 495 | 2018-10-12T23:23:28.000Z | 2020-05-06T05:48:57.000Z | gluoncvth/models/__init__.py | cclauss/gluoncv-torch | 937b40d8ea297f52f4b65e0ac3a6922768d788a9 | [
"MIT"
] | 19 | 2018-10-15T17:37:51.000Z | 2019-10-14T10:57:31.000Z | gluoncvth/models/__init__.py | cclauss/gluoncv-torch | 937b40d8ea297f52f4b65e0ac3a6922768d788a9 | [
"MIT"
] | 47 | 2018-10-14T13:01:56.000Z | 2020-05-03T15:22:15.000Z | from . import model_zoo
from .resnet import *
from .fcn import *
from .pspnet import *
from .deeplab import *
| 18.333333 | 23 | 0.736364 | 16 | 110 | 5 | 0.5 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 110 | 5 | 24 | 22 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
17340576521957378be05ae8f6f2195901a5b466 | 11,761 | py | Python | UnityEngine/Canvas/__init__.py | Grim-es/udon-pie-auto-completion | c2cd86554ed615cdbbb01e19fa40665eafdfaedc | [
"MIT"
] | null | null | null | UnityEngine/Canvas/__init__.py | Grim-es/udon-pie-auto-completion | c2cd86554ed615cdbbb01e19fa40665eafdfaedc | [
"MIT"
] | null | null | null | UnityEngine/Canvas/__init__.py | Grim-es/udon-pie-auto-completion | c2cd86554ed615cdbbb01e19fa40665eafdfaedc | [
"MIT"
] | null | null | null | from typing import overload
from UdonPie import System
from UdonPie import UnityEngine
from UdonPie.Undefined import *
class Canvas:
def __new__(cls, arg1=None):
'''
:returns: Canvas
:rtype: UnityEngine.Canvas
'''
pass
@staticmethod
def op_Implicit(arg1):
... | 20.207904 | 77 | 0.531672 | 947 | 11,761 | 6.558606 | 0.087645 | 0.172597 | 0.159073 | 0.070842 | 0.795041 | 0.775237 | 0.744969 | 0.741266 | 0.633875 | 0.470939 | 0 | 0.023139 | 0.375308 | 11,761 | 581 | 78 | 20.242685 | 0.82224 | 0.352606 | 0 | 0.717489 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.304933 | false | 0.304933 | 0.017937 | 0 | 0.327354 | 0 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
17466a1af3ff665782a6663acc291ee96d5bc0ec | 243 | py | Python | src/control/__init__.py | alfredo-milani/ParseScript | 58847537b53bfb7b88710761963dc94b06041195 | [
"MIT"
] | null | null | null | src/control/__init__.py | alfredo-milani/ParseScript | 58847537b53bfb7b88710761963dc94b06041195 | [
"MIT"
] | null | null | null | src/control/__init__.py | alfredo-milani/ParseScript | 58847537b53bfb7b88710761963dc94b06041195 | [
"MIT"
] | null | null | null | # DataRetrievalController must be the first import
from DataRetrievalController import DataRetrievalController
from DataRetrievalCLIController import DataRetrievalCLIController
from DataRetrievalGUIController import DataRetrievalGUIController
| 48.6 | 65 | 0.917695 | 18 | 243 | 12.388889 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078189 | 243 | 4 | 66 | 60.75 | 0.995536 | 0.197531 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1748ef075259057561d15b693fbe73121deb991d | 3,768 | py | Python | dizoo/minigrid/envs/test_minigrid_env.py | LuciusMos/DI-engine | b040b1c36afce038effec9eb483f625131573824 | [
"Apache-2.0"
] | 464 | 2021-07-08T07:26:33.000Z | 2022-03-31T12:35:16.000Z | dizoo/minigrid/envs/test_minigrid_env.py | LuciusMos/DI-engine | b040b1c36afce038effec9eb483f625131573824 | [
"Apache-2.0"
] | 177 | 2021-07-09T08:22:55.000Z | 2022-03-31T07:35:22.000Z | dizoo/minigrid/envs/test_minigrid_env.py | LuciusMos/DI-engine | b040b1c36afce038effec9eb483f625131573824 | [
"Apache-2.0"
] | 92 | 2021-07-08T12:16:37.000Z | 2022-03-31T09:24:41.000Z | import pytest
import os
import numpy as np
from dizoo.minigrid.envs import MiniGridEnv
from easydict import EasyDict
import copy
# The following two cfg can be tested through TestMiniGridAKTDTnv
config = dict(
env_id='MiniGrid-AKTDT-13x13-v0',
flat_obs=True,
)
cfg = EasyDict(copy.deepcopy(config))
cfg.cfg_type... | 34.254545 | 75 | 0.589172 | 468 | 3,768 | 4.608974 | 0.198718 | 0.038943 | 0.083449 | 0.03338 | 0.770978 | 0.75058 | 0.75058 | 0.75058 | 0.75058 | 0.75058 | 0 | 0.020097 | 0.28689 | 3,768 | 109 | 76 | 34.568807 | 0.782657 | 0.01672 | 0 | 0.75 | 0 | 0 | 0.035917 | 0.012422 | 0 | 0 | 0 | 0 | 0.21 | 1 | 0.03 | false | 0 | 0.06 | 0 | 0.11 | 0.09 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 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 | 6 |
1761238101f1087ea5f33452535edd0dcf2f12c9 | 52 | py | Python | app/app_cli.py | Cyber-Mint/py_app_package | a582de288479559780ef82f8f2c25d73272e8d5e | [
"MIT"
] | null | null | null | app/app_cli.py | Cyber-Mint/py_app_package | a582de288479559780ef82f8f2c25d73272e8d5e | [
"MIT"
] | null | null | null | app/app_cli.py | Cyber-Mint/py_app_package | a582de288479559780ef82f8f2c25d73272e8d5e | [
"MIT"
] | null | null | null | import app
def main():
print(app.say_hello())
| 8.666667 | 26 | 0.634615 | 8 | 52 | 4 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.211538 | 52 | 5 | 27 | 10.4 | 0.780488 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
178a627285a70dde0cb98a7771b27a35cc8995b9 | 34 | py | Python | minitf/vjps/__init__.py | guocuimi/minitf | f272a6b1546b82aaec41ec7d2c2d34fa40a40385 | [
"MIT"
] | 7 | 2020-02-10T08:16:30.000Z | 2021-01-31T14:08:02.000Z | minitf/vjps/__init__.py | guocuimi/minitf | f272a6b1546b82aaec41ec7d2c2d34fa40a40385 | [
"MIT"
] | 1 | 2020-02-29T01:57:54.000Z | 2020-02-29T01:57:54.000Z | minitf/vjps/__init__.py | guocuimi/minitf | f272a6b1546b82aaec41ec7d2c2d34fa40a40385 | [
"MIT"
] | null | null | null | import minitf.vjps.primitive_vjps
| 17 | 33 | 0.882353 | 5 | 34 | 5.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 34 | 1 | 34 | 34 | 0.90625 | 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 | 1 | 0 | 0 | 6 |
179c6369fdcb2244ac7a1bb6a34b94ab2b0bdc42 | 199 | py | Python | aser/server/cli.py | HKUST-KnowComp/CSKB-Population | 7b1b2d25fbd0095b0cf009b933cfd5a62feadd58 | [
"MIT"
] | 13 | 2021-09-10T03:41:02.000Z | 2022-03-30T09:53:12.000Z | aser/server/cli.py | HKUST-KnowComp/CSKB-Population | 7b1b2d25fbd0095b0cf009b933cfd5a62feadd58 | [
"MIT"
] | 1 | 2022-02-09T23:08:33.000Z | 2022-03-22T22:28:37.000Z | aser/server/cli.py | HKUST-KnowComp/CSKB-Population | 7b1b2d25fbd0095b0cf009b933cfd5a62feadd58 | [
"MIT"
] | 2 | 2021-10-12T13:15:35.000Z | 2021-11-17T08:46:46.000Z | def main():
from aser.server import ASERServer
from aser.utils.config import get_server_args_parser
parser = get_server_args_parser()
args = parser.parse_args()
ASERServer(args)
| 24.875 | 56 | 0.733668 | 27 | 199 | 5.148148 | 0.481481 | 0.215827 | 0.18705 | 0.273381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190955 | 199 | 7 | 57 | 28.428571 | 0.863354 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.5 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 6 |
bd6d661b3d1ff2b3691f9758688d58eb076d1aae | 143 | py | Python | day11/test_lib.py | heijp06/AoC-2016 | 684e483e2dfddd4de592f13d1e843d031060ef26 | [
"MIT"
] | null | null | null | day11/test_lib.py | heijp06/AoC-2016 | 684e483e2dfddd4de592f13d1e843d031060ef26 | [
"MIT"
] | null | null | null | day11/test_lib.py | heijp06/AoC-2016 | 684e483e2dfddd4de592f13d1e843d031060ef26 | [
"MIT"
] | null | null | null | from data_for_testing import data
from lib import part1, part2
def test_part1():
assert part1(data) == 11
def test_part2():
pass
| 11 | 33 | 0.699301 | 22 | 143 | 4.363636 | 0.590909 | 0.145833 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063063 | 0.223776 | 143 | 12 | 34 | 11.916667 | 0.801802 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.333333 | true | 0.166667 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
bd889fed7cd54768154a3afda21818eeb1287dcb | 20,683 | py | Python | tests/test_dataflow/test_dataset/test_pattern.py | alexandreMayerowitz/playground-plums | a6be79e4c30c7abcbade5581f052a4e8035a2057 | [
"MIT"
] | null | null | null | tests/test_dataflow/test_dataset/test_pattern.py | alexandreMayerowitz/playground-plums | a6be79e4c30c7abcbade5581f052a4e8035a2057 | [
"MIT"
] | null | null | null | tests/test_dataflow/test_dataset/test_pattern.py | alexandreMayerowitz/playground-plums | a6be79e4c30c7abcbade5581f052a4e8035a2057 | [
"MIT"
] | 2 | 2021-02-03T12:37:53.000Z | 2022-03-09T03:48:12.000Z | import pathlib
import pytest
import numpy as np
from plums.commons.data import TileWrapper, Record, RecordCollection, DataPoint
from plums.dataflow.dataset import PatternDataset
def _dummy_tile_driver(paths, **matches):
paths = sorted(paths, key=str, reverse=True)
print(paths)
print(matches)
retur... | 54.572559 | 112 | 0.563555 | 2,188 | 20,683 | 5.039305 | 0.058501 | 0.033376 | 0.040903 | 0.063668 | 0.901324 | 0.875385 | 0.841284 | 0.841103 | 0.817885 | 0.771721 | 0 | 0.024348 | 0.295073 | 20,683 | 378 | 113 | 54.716931 | 0.731893 | 0 | 0 | 0.607843 | 0 | 0 | 0.241358 | 0.123725 | 0 | 0 | 0 | 0 | 0.189542 | 1 | 0.114379 | false | 0 | 0.01634 | 0 | 0.173203 | 0.071895 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
bdb1072f6721289fe90380ba674416faf59de888 | 152 | py | Python | crankycoin/test/test_transaction.py | Dysproh/martian-sporks | c8580817759303fe4560a4fa4664222193bbc298 | [
"MIT"
] | null | null | null | crankycoin/test/test_transaction.py | Dysproh/martian-sporks | c8580817759303fe4560a4fa4664222193bbc298 | [
"MIT"
] | null | null | null | crankycoin/test/test_transaction.py | Dysproh/martian-sporks | c8580817759303fe4560a4fa4664222193bbc298 | [
"MIT"
] | null | null | null | import unittest
from mock import patch, Mock, MagicMock, call
from crankycoin.transaction import *
class TestTransaction(unittest.TestCase):
pass
| 19 | 45 | 0.796053 | 18 | 152 | 6.722222 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144737 | 152 | 7 | 46 | 21.714286 | 0.930769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.6 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
da3835a334a56b499f1b5514a6f98c4bb1c425e4 | 13,173 | py | Python | sdk/python/pulumi_gitlab/group_label.py | pulumi/pulumi-gitlab | 5627240bf718fc765d3a2068acd20621383514c8 | [
"ECL-2.0",
"Apache-2.0"
] | 11 | 2019-09-17T20:41:23.000Z | 2021-12-02T20:39:23.000Z | sdk/python/pulumi_gitlab/group_label.py | pulumi/pulumi-gitlab | 5627240bf718fc765d3a2068acd20621383514c8 | [
"ECL-2.0",
"Apache-2.0"
] | 67 | 2019-06-21T18:30:30.000Z | 2022-03-31T21:27:20.000Z | sdk/python/pulumi_gitlab/group_label.py | pulumi/pulumi-gitlab | 5627240bf718fc765d3a2068acd20621383514c8 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2019-10-05T10:36:36.000Z | 2021-05-13T18:14:59.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from . import ... | 38.858407 | 239 | 0.617247 | 1,604 | 13,173 | 4.902743 | 0.113466 | 0.078332 | 0.096134 | 0.083927 | 0.793616 | 0.769456 | 0.746185 | 0.723169 | 0.694812 | 0.692777 | 0 | 0.002297 | 0.272831 | 13,173 | 338 | 240 | 38.973373 | 0.818666 | 0.370227 | 0 | 0.657143 | 1 | 0 | 0.069458 | 0.004577 | 0 | 0 | 0 | 0.011834 | 0 | 1 | 0.154286 | false | 0.005714 | 0.028571 | 0 | 0.274286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
da7578156cf111ab80ce38dad6b975ba02cfa587 | 85 | py | Python | epippy/geographics/__init__.py | montefesp/EPIPPy | 7de873cf70d06986e83a434b6ab4b8997694a269 | [
"MIT"
] | null | null | null | epippy/geographics/__init__.py | montefesp/EPIPPy | 7de873cf70d06986e83a434b6ab4b8997694a269 | [
"MIT"
] | null | null | null | epippy/geographics/__init__.py | montefesp/EPIPPy | 7de873cf70d06986e83a434b6ab4b8997694a269 | [
"MIT"
] | null | null | null | from .shapes import *
from .points import *
from .codes import *
from .areas import * | 21.25 | 21 | 0.729412 | 12 | 85 | 5.166667 | 0.5 | 0.483871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 85 | 4 | 22 | 21.25 | 0.885714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
da7f5beea65c19fb6c99b57cc32c52257357d50e | 71 | py | Python | tests/test_example/test_hello.py | jb-delafosse/dbt-subdocs | a7b2b09bc3131015b2540cb2f3dcb4cd99dbb12e | [
"MIT"
] | 12 | 2022-01-19T14:15:44.000Z | 2022-02-24T14:53:50.000Z | tests/test_example/test_hello.py | jb-delafosse/dbt-subdocs | a7b2b09bc3131015b2540cb2f3dcb4cd99dbb12e | [
"MIT"
] | 51 | 2022-01-19T12:16:07.000Z | 2022-03-31T14:31:24.000Z | tests/test_example/test_hello.py | jb-delafosse/dbt-subdocs | a7b2b09bc3131015b2540cb2f3dcb4cd99dbb12e | [
"MIT"
] | null | null | null | """Tests example."""
import pytest
def test_dummy():
assert True
| 10.142857 | 20 | 0.661972 | 9 | 71 | 5.111111 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.197183 | 71 | 6 | 21 | 11.833333 | 0.807018 | 0.197183 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
da8b99d2e7602017fe382598beb9de7cffc38c57 | 153 | py | Python | bno055_usb_stick_py/__init__.py | selyunin/bno055_usb_stick_linux_driver | ed698e4917f4c52c34d0127b55e4a618627aa8b3 | [
"MIT"
] | 10 | 2018-12-29T18:39:25.000Z | 2021-12-16T07:41:57.000Z | bno055_usb_stick_py/__init__.py | selyunin/bno055_usb_stick_linux_driver | ed698e4917f4c52c34d0127b55e4a618627aa8b3 | [
"MIT"
] | 5 | 2018-12-29T00:46:05.000Z | 2020-12-19T21:03:59.000Z | bno055_usb_stick_py/__init__.py | selyunin/bno055_usb_stick_linux_driver | ed698e4917f4c52c34d0127b55e4a618627aa8b3 | [
"MIT"
] | 1 | 2020-02-17T06:53:11.000Z | 2020-02-17T06:53:11.000Z | name = "bno055_usb_stick_py"
version = "0.9.5"
from bno055_usb_stick_py.bno055_usb_stick import BnoUsbStick
from bno055_usb_stick_py.bno055 import BNO055 | 38.25 | 60 | 0.849673 | 27 | 153 | 4.407407 | 0.444444 | 0.302521 | 0.470588 | 0.403361 | 0.436975 | 0.436975 | 0 | 0 | 0 | 0 | 0 | 0.15 | 0.084967 | 153 | 4 | 61 | 38.25 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0.155844 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 6 |
da8e0fa56f141f447b58256eb277233f0202cca8 | 26 | py | Python | zetta/db/influx/__init__.py | irfan-nst/zetta | 13ca51604bdf418b31f20db6aaf95c428fc306d1 | [
"MIT"
] | null | null | null | zetta/db/influx/__init__.py | irfan-nst/zetta | 13ca51604bdf418b31f20db6aaf95c428fc306d1 | [
"MIT"
] | null | null | null | zetta/db/influx/__init__.py | irfan-nst/zetta | 13ca51604bdf418b31f20db6aaf95c428fc306d1 | [
"MIT"
] | null | null | null | from .main import InfluxDB | 26 | 26 | 0.846154 | 4 | 26 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 1 | 26 | 26 | 0.956522 | 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 | 1 | 0 | 0 | 6 |
16f2d0f5eb8eb8120406d06ac4ef4feb8efb8879 | 13,019 | py | Python | sdk/python/pulumi_google_native/pubsub/v1beta1a/subscription.py | AaronFriel/pulumi-google-native | 75d1cda425e33d4610348972cd70bddf35f1770d | [
"Apache-2.0"
] | 44 | 2021-04-18T23:00:48.000Z | 2022-02-14T17:43:15.000Z | sdk/python/pulumi_google_native/pubsub/v1beta1a/subscription.py | AaronFriel/pulumi-google-native | 75d1cda425e33d4610348972cd70bddf35f1770d | [
"Apache-2.0"
] | 354 | 2021-04-16T16:48:39.000Z | 2022-03-31T17:16:39.000Z | sdk/python/pulumi_google_native/pubsub/v1beta1a/subscription.py | AaronFriel/pulumi-google-native | 75d1cda425e33d4610348972cd70bddf35f1770d | [
"Apache-2.0"
] | 8 | 2021-04-24T17:46:51.000Z | 2022-01-05T10:40:21.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi SDK Generator. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from ... import _utilities
fro... | 61.701422 | 1,065 | 0.697365 | 1,754 | 13,019 | 5.018814 | 0.120296 | 0.038737 | 0.043167 | 0.020448 | 0.788481 | 0.753834 | 0.719868 | 0.704305 | 0.682835 | 0.64603 | 0 | 0.000299 | 0.229434 | 13,019 | 210 | 1,066 | 61.995238 | 0.877193 | 0.511099 | 0 | 0.382813 | 1 | 0 | 0.106068 | 0.01143 | 0 | 0 | 0 | 0 | 0 | 1 | 0.140625 | false | 0.007813 | 0.054688 | 0 | 0.28125 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
16ff532cbef4b2524787321b2546b76716178dd1 | 39 | py | Python | tests/test_0000_test_suite.py | korantu/lona | 5039fa59f37cc32b9c789753af2ed8a8670ab611 | [
"MIT"
] | 230 | 2021-08-15T20:46:24.000Z | 2022-03-30T10:17:43.000Z | tests/test_0000_test_suite.py | korantu/lona | 5039fa59f37cc32b9c789753af2ed8a8670ab611 | [
"MIT"
] | 176 | 2021-08-18T08:19:37.000Z | 2022-03-29T16:45:06.000Z | tests/test_0000_test_suite.py | korantu/lona | 5039fa59f37cc32b9c789753af2ed8a8670ab611 | [
"MIT"
] | 13 | 2021-08-20T10:35:04.000Z | 2022-01-17T15:49:40.000Z | def test_test_suite():
assert True
| 13 | 22 | 0.717949 | 6 | 39 | 4.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205128 | 39 | 2 | 23 | 19.5 | 0.83871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.5 | true | 0 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e50960698d51602fd4c68a2c3eb9703556125a00 | 34 | py | Python | python-checker/Examples/FULL/cob_command_gui/src/command_gui_buttons/__init__.py | andersfischernielsen/ROS-dependency-checker | 50ed13b23fe47a5e124875d4dd99482bef033c1b | [
"MIT"
] | null | null | null | python-checker/Examples/FULL/cob_command_gui/src/command_gui_buttons/__init__.py | andersfischernielsen/ROS-dependency-checker | 50ed13b23fe47a5e124875d4dd99482bef033c1b | [
"MIT"
] | 1 | 2020-03-05T12:39:21.000Z | 2020-03-09T12:01:27.000Z | python-checker/Examples/FULL/cob_command_gui/src/command_gui_buttons/__init__.py | andersfischernielsen/ROS-dependency-checker | 50ed13b23fe47a5e124875d4dd99482bef033c1b | [
"MIT"
] | 2 | 2019-10-04T12:46:09.000Z | 2020-01-27T15:25:09.000Z | from command_gui_buttons import *
| 17 | 33 | 0.852941 | 5 | 34 | 5.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.9 | 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 | 1 | 0 | 0 | 6 |
e540a8fbeca0ec33a2dcd501943b0809910daa85 | 336 | py | Python | pyzmq/run_test.py | nikicc/anaconda-recipes | 9c611a5854bf41bbc5e7ed9853dc71c0851a62ef | [
"BSD-3-Clause"
] | 130 | 2015-07-28T03:41:21.000Z | 2022-03-16T03:07:41.000Z | pyzmq/run_test.py | nikicc/anaconda-recipes | 9c611a5854bf41bbc5e7ed9853dc71c0851a62ef | [
"BSD-3-Clause"
] | 119 | 2015-08-01T00:54:06.000Z | 2021-01-05T13:00:46.000Z | pyzmq/run_test.py | nikicc/anaconda-recipes | 9c611a5854bf41bbc5e7ed9853dc71c0851a62ef | [
"BSD-3-Clause"
] | 72 | 2015-07-29T02:35:56.000Z | 2022-02-26T14:31:15.000Z | import zmq.backend.cython._device
import zmq.backend.cython._poll
import zmq.backend.cython._version
import zmq.backend.cython.constants
import zmq.backend.cython.context
import zmq.backend.cython.error
import zmq.backend.cython.message
import zmq.backend.cython.socket
import zmq.backend.cython.utils
import zmq.devices... | 30.545455 | 35 | 0.854167 | 49 | 336 | 5.795918 | 0.306122 | 0.316901 | 0.507042 | 0.697183 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059524 | 336 | 10 | 36 | 33.6 | 0.898734 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e552e7153359c62ed08145355367e17c59582140 | 359 | py | Python | apps/utils/errors.py | osw4l/villas-de-san-pablo | 89f00dfbbfbfee5111bd9852ddfbdb8727d10ed2 | [
"MIT"
] | null | null | null | apps/utils/errors.py | osw4l/villas-de-san-pablo | 89f00dfbbfbfee5111bd9852ddfbdb8727d10ed2 | [
"MIT"
] | null | null | null | apps/utils/errors.py | osw4l/villas-de-san-pablo | 89f00dfbbfbfee5111bd9852ddfbdb8727d10ed2 | [
"MIT"
] | null | null | null | __author__ = 'osw4l'
from django.shortcuts import render
def error400(request):
return render(request, '400.html', status=400)
def error403(request):
return render(request, '403.html', status=403)
def error404(request):
return render(request, '404.html', status=404)
def error500(request):
return ... | 21.117647 | 50 | 0.718663 | 47 | 359 | 5.404255 | 0.425532 | 0.204724 | 0.299213 | 0.409449 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120915 | 0.147632 | 359 | 17 | 51 | 21.117647 | 0.70915 | 0 | 0 | 0 | 0 | 0 | 0.102778 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.1 | 0.4 | 0.9 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
e56fd9b29de971668a90c6df02dad73905330fe9 | 641 | py | Python | sdk/python/pulumi_oci/email/__init__.py | EladGabay/pulumi-oci | 6841e27d4a1a7e15c672306b769912efbfd3ba99 | [
"ECL-2.0",
"Apache-2.0"
] | 5 | 2021-08-17T11:14:46.000Z | 2021-12-31T02:07:03.000Z | sdk/python/pulumi_oci/email/__init__.py | pulumi-oci/pulumi-oci | 6841e27d4a1a7e15c672306b769912efbfd3ba99 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2021-09-06T11:21:29.000Z | 2021-09-06T11:21:29.000Z | sdk/python/pulumi_oci/email/__init__.py | pulumi-oci/pulumi-oci | 6841e27d4a1a7e15c672306b769912efbfd3ba99 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2021-08-24T23:31:30.000Z | 2022-01-02T19:26:54.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
from .. import _utilities
import typing
# Export this package's modules as members:
from .dkim import *
from .email_domain import *
fro... | 29.136364 | 87 | 0.75195 | 95 | 641 | 4.936842 | 0.515789 | 0.277186 | 0.221748 | 0.089552 | 0.102345 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001862 | 0.162246 | 641 | 21 | 88 | 30.52381 | 0.871508 | 0.341654 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e57b7d1c0f719230b127692ca3f4b8905350f853 | 230 | py | Python | claripy/frontends/__init__.py | embg/claripy | 1a5e0ca61d3f480e541226f103900e983f025e4a | [
"BSD-2-Clause"
] | 211 | 2015-08-06T23:25:01.000Z | 2022-03-26T19:34:49.000Z | claripy/frontends/__init__.py | embg/claripy | 1a5e0ca61d3f480e541226f103900e983f025e4a | [
"BSD-2-Clause"
] | 175 | 2015-09-03T11:09:18.000Z | 2022-03-09T20:24:33.000Z | claripy/frontends/__init__.py | embg/claripy | 1a5e0ca61d3f480e541226f103900e983f025e4a | [
"BSD-2-Clause"
] | 99 | 2015-08-07T10:30:08.000Z | 2022-03-26T10:32:09.000Z | from .light_frontend import LightFrontend
from .full_frontend import FullFrontend
from .hybrid_frontend import HybridFrontend
from .composite_frontend import CompositeFrontend
from .replacement_frontend import ReplacementFrontend
| 38.333333 | 53 | 0.891304 | 25 | 230 | 8 | 0.52 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 230 | 5 | 54 | 46 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e5939eb0603b78e2ad8f082adab31466f9d066c8 | 1,128 | py | Python | bank_bot/banking_system/exceptions.py | Tengro/larp_bankbot | 22d5ea49d5f507da74fb3b1f106c24ad52cb9e68 | [
"MIT"
] | 3 | 2019-07-27T15:20:49.000Z | 2019-10-14T13:10:55.000Z | bank_bot/banking_system/exceptions.py | Tengro/larp_bankbot | 22d5ea49d5f507da74fb3b1f106c24ad52cb9e68 | [
"MIT"
] | 1 | 2021-06-01T23:55:12.000Z | 2021-06-01T23:55:12.000Z | bank_bot/banking_system/exceptions.py | Tengro/larp_bankbot | 22d5ea49d5f507da74fb3b1f106c24ad52cb9e68 | [
"MIT"
] | null | null | null | class TransactionError(Exception):
def __init__(self, message):
self.message = message
# Call the base class constructor with the parameters it needs
super().__init__(message)
class UserError(Exception):
def __init__(self, message):
self.message = message
# Call the base... | 35.25 | 70 | 0.68883 | 134 | 1,128 | 5.432836 | 0.201493 | 0.151099 | 0.10989 | 0.137363 | 0.771978 | 0.73489 | 0.73489 | 0.73489 | 0.73489 | 0.73489 | 0 | 0 | 0.237589 | 1,128 | 31 | 71 | 36.387097 | 0.846512 | 0.269504 | 0 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.227273 | false | 0 | 0 | 0 | 0.454545 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e59b28398c507c22236bce92cccdca7d89f8094e | 46 | py | Python | test.py | nate-hunter/xml-csv-api | 68d2ad840ea5a4955bcfd6d67d48fe9a750474cd | [
"MIT"
] | null | null | null | test.py | nate-hunter/xml-csv-api | 68d2ad840ea5a4955bcfd6d67d48fe9a750474cd | [
"MIT"
] | 6 | 2021-03-30T13:54:54.000Z | 2021-09-22T19:23:45.000Z | test.py | nate-hunter/xml-csv-api | 68d2ad840ea5a4955bcfd6d67d48fe9a750474cd | [
"MIT"
] | null | null | null | print('...Test Python file in Vagrant Box...') | 46 | 46 | 0.673913 | 7 | 46 | 4.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108696 | 46 | 1 | 46 | 46 | 0.756098 | 0 | 0 | 0 | 0 | 0 | 0.787234 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
e5c108a2f45f841e8343197173d7732a4abe2f0a | 16,136 | py | Python | geofence_monitor_test.py | x2y/monitors | 103bda6ffff7b9d22931b0fdb26a997332a913ec | [
"MIT"
] | null | null | null | geofence_monitor_test.py | x2y/monitors | 103bda6ffff7b9d22931b0fdb26a997332a913ec | [
"MIT"
] | null | null | null | geofence_monitor_test.py | x2y/monitors | 103bda6ffff7b9d22931b0fdb26a997332a913ec | [
"MIT"
] | null | null | null | import geofence_monitor
import io
import mock
import mocks
import monitor
import re
import requests
import time
import unittest
CAR_NEGATIVE_1_404_RESPONSE = requests.Response()
CAR_NEGATIVE_1_404_RESPONSE.status_code = 404
CAR_0_NO_COORDINATES_RESPONSE = requests.Response()
CAR_0_NO_COORDINATES_RESPONSE.status_code... | 34.552463 | 102 | 0.588622 | 2,054 | 16,136 | 4.330088 | 0.089581 | 0.044974 | 0.061839 | 0.080953 | 0.867888 | 0.816506 | 0.784461 | 0.755116 | 0.742411 | 0.742411 | 0 | 0.054502 | 0.251797 | 16,136 | 467 | 103 | 34.552463 | 0.682183 | 0.002603 | 0 | 0.694581 | 0 | 0.007389 | 0.381222 | 0.038899 | 0 | 0 | 0 | 0 | 0.093596 | 1 | 0.05665 | false | 0 | 0.022167 | 0.007389 | 0.093596 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
e5fae66cec05256fc40aa3b06fae7ab4da2d8c3a | 26 | py | Python | pyvision/gans/wasserstein_gan/__init__.py | indiradutta/PyVision | cf74da32a3469ddcce9917ac1f2fcaaeefdeacdf | [
"BSD-3-Clause"
] | 31 | 2020-05-03T07:03:01.000Z | 2022-01-29T15:29:22.000Z | pyvision/gans/wasserstein_gan/__init__.py | indiradutta/PyVision | cf74da32a3469ddcce9917ac1f2fcaaeefdeacdf | [
"BSD-3-Clause"
] | 13 | 2020-05-25T14:23:46.000Z | 2021-08-04T10:38:02.000Z | pyvision/gans/wasserstein_gan/__init__.py | indiradutta/PyVision | cf74da32a3469ddcce9917ac1f2fcaaeefdeacdf | [
"BSD-3-Clause"
] | 12 | 2020-05-24T22:26:59.000Z | 2021-08-03T18:30:51.000Z | from .model import WassGAN | 26 | 26 | 0.846154 | 4 | 26 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 1 | 26 | 26 | 0.956522 | 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 | 1 | 0 | 0 | 6 |
0093878d04965d4a664d586ef86a54d374b8e646 | 431 | py | Python | PYTHON/Operators/assignments.py | YakazaSTG/Python-Basics | 35cbc9a7b30dd985922bb288d67a1cf10d4da40c | [
"MIT"
] | null | null | null | PYTHON/Operators/assignments.py | YakazaSTG/Python-Basics | 35cbc9a7b30dd985922bb288d67a1cf10d4da40c | [
"MIT"
] | null | null | null | PYTHON/Operators/assignments.py | YakazaSTG/Python-Basics | 35cbc9a7b30dd985922bb288d67a1cf10d4da40c | [
"MIT"
] | null | null | null | # x = 5
# y = 10
# z = 20
# x, y, z = 5, 16, 20
# x, y = y, x
# x += 5 #x = x + 5
# x -= 5 #x = x - 5
# x *= 5 #x = x * 5
# x /= 5 #x = x / 5
# x %= 5 #x = x % 5
# y //= 5 #y = y // 5
# y **= z #y = y ** z
values ... | 15.962963 | 34 | 0.273782 | 75 | 431 | 1.573333 | 0.186667 | 0.186441 | 0.228814 | 0.169492 | 0.211864 | 0.211864 | 0.211864 | 0.211864 | 0.211864 | 0.211864 | 0 | 0.136585 | 0.524362 | 431 | 27 | 35 | 15.962963 | 0.439024 | 0.596288 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.666667 | 0 | 0 | 1 | null | 0 | 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 | 1 | 0 | 6 |
00e3eb0d436953a3bfa91a7e2a369c88e208e027 | 5,822 | py | Python | src/attention.py | RobinQrtz/egglayingwoolmilksow | fea7d6a58f9387c4139c4cc2c96b353c9dcd0fca | [
"MIT"
] | null | null | null | src/attention.py | RobinQrtz/egglayingwoolmilksow | fea7d6a58f9387c4139c4cc2c96b353c9dcd0fca | [
"MIT"
] | null | null | null | src/attention.py | RobinQrtz/egglayingwoolmilksow | fea7d6a58f9387c4139c4cc2c96b353c9dcd0fca | [
"MIT"
] | null | null | null | import torch
import torch.nn.functional as F
from utils import batched_concat_per_row, create_parameter
class Attention:
@staticmethod
def edge_factory(dim, attention_type):
if attention_type == "bilinear":
return BilinearEdgeAttention(dim)
elif attention_type == "biaffine":
... | 32.892655 | 100 | 0.622638 | 813 | 5,822 | 4.246002 | 0.114391 | 0.05562 | 0.032445 | 0.034762 | 0.812572 | 0.781866 | 0.766222 | 0.737254 | 0.705098 | 0.705098 | 0 | 0.015877 | 0.264342 | 5,822 | 176 | 101 | 33.079545 | 0.7901 | 0.171075 | 0 | 0.666667 | 0 | 0 | 0.041267 | 0 | 0 | 0 | 0 | 0.005682 | 0 | 1 | 0.176471 | false | 0 | 0.029412 | 0.019608 | 0.411765 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
da9def58cdcc6a2b60f4591db5bc4085cea327c1 | 107 | py | Python | pybns/__init__.py | datadesk/py-bns | 0754bc3e839b1e8b2a3dea74e151e0b7e146ffbd | [
"MIT"
] | 3 | 2018-10-29T10:09:56.000Z | 2021-03-07T19:21:02.000Z | pybns/__init__.py | datadesk/pyBNS | 0754bc3e839b1e8b2a3dea74e151e0b7e146ffbd | [
"MIT"
] | 4 | 2018-04-30T19:29:57.000Z | 2018-04-30T19:31:34.000Z | pybns/__init__.py | datadesk/py-bns | 0754bc3e839b1e8b2a3dea74e151e0b7e146ffbd | [
"MIT"
] | null | null | null | from __future__ import (absolute_import, division, print_function, unicode_literals)
from builtins import * | 53.5 | 84 | 0.850467 | 13 | 107 | 6.461538 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093458 | 107 | 2 | 85 | 53.5 | 0.865979 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 | 1 | 1 | 0 | 6 |
97b06a5a304ed3edceb84deed17fa403883798ac | 20 | py | Python | kubam/app/aci/__init__.py | cmconner156/KUBaM | d4cd132374c69b91dd7df0e099c9ec3b44a0b3ec | [
"Apache-2.0"
] | 14 | 2017-07-21T18:10:18.000Z | 2021-11-10T21:12:01.000Z | kubam/app/aci/__init__.py | cmconner156/KUBaM | d4cd132374c69b91dd7df0e099c9ec3b44a0b3ec | [
"Apache-2.0"
] | 23 | 2017-08-28T19:43:19.000Z | 2022-03-15T00:49:16.000Z | kubam/app/aci/__init__.py | CiscoUcs/KUBaM | 0718a8245d56be060838e41f44765c746fbcdc4c | [
"Apache-2.0"
] | 19 | 2017-09-19T19:18:56.000Z | 2021-09-13T01:21:26.000Z | from aci import aci
| 10 | 19 | 0.8 | 4 | 20 | 4 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 20 | 1 | 20 | 20 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
97c801478e1c01fbc15205221d8ed0b87e2b5bb1 | 8,246 | py | Python | jpake/parameters.py | bwhmather/python-jpake | 7c9f3ebf2e5458f5721984b7295c59dc8390d4be | [
"BSD-3-Clause"
] | 1 | 2016-10-10T21:36:22.000Z | 2016-10-10T21:36:22.000Z | jpake/parameters.py | bwhmather/python-jpake | 7c9f3ebf2e5458f5721984b7295c59dc8390d4be | [
"BSD-3-Clause"
] | 3 | 2017-09-07T19:24:17.000Z | 2017-09-07T19:42:26.000Z | jpake/parameters.py | bwhmather/python-jpake | 7c9f3ebf2e5458f5721984b7295c59dc8390d4be | [
"BSD-3-Clause"
] | 2 | 2020-05-13T02:06:38.000Z | 2020-05-13T20:05:22.000Z | class Parameters(object):
def __init__(self, *, p, q, g):
if isinstance(p, bytes):
p = int.from_bytes(p, 'big')
self.p = p
if isinstance(q, bytes):
q = int.from_bytes(q, 'big')
self.q = q
if isinstance(g, bytes):
g = int.from_bytes(g, 'bi... | 56.479452 | 75 | 0.62782 | 1,784 | 8,246 | 2.8963 | 0.154148 | 0.003097 | 0.006967 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.279752 | 0.139947 | 8,246 | 145 | 76 | 56.868966 | 0.448816 | 0 | 0 | 0.131387 | 0 | 0.737226 | 0.784987 | 0.781955 | 0 | 1 | 0 | 0 | 0 | 1 | 0.007299 | false | 0 | 0 | 0 | 0.014599 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c104adfbd5de2599d82f6d9ab507bf60b410239f | 26 | py | Python | modules/tests/asset/__init__.py | andygimma/eden | 716d5e11ec0030493b582fa67d6f1c35de0af50d | [
"MIT"
] | 1 | 2019-08-20T16:32:33.000Z | 2019-08-20T16:32:33.000Z | modules/tests/asset/__init__.py | andygimma/eden | 716d5e11ec0030493b582fa67d6f1c35de0af50d | [
"MIT"
] | null | null | null | modules/tests/asset/__init__.py | andygimma/eden | 716d5e11ec0030493b582fa67d6f1c35de0af50d | [
"MIT"
] | null | null | null | from create_asset import * | 26 | 26 | 0.846154 | 4 | 26 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 1 | 26 | 26 | 0.913043 | 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 | 1 | 0 | 0 | 6 |
c119faacd6c334952a693360789b0f7ab17fc630 | 52 | py | Python | catwatch/blueprints/stream/__init__.py | Pythonian/catwatch | 25730faa9d8ec6564b075de78bbbf4ff125ada97 | [
"MIT"
] | null | null | null | catwatch/blueprints/stream/__init__.py | Pythonian/catwatch | 25730faa9d8ec6564b075de78bbbf4ff125ada97 | [
"MIT"
] | null | null | null | catwatch/blueprints/stream/__init__.py | Pythonian/catwatch | 25730faa9d8ec6564b075de78bbbf4ff125ada97 | [
"MIT"
] | 2 | 2018-08-04T16:46:55.000Z | 2019-07-02T19:30:24.000Z | from catwatch.blueprints.stream.views import stream
| 26 | 51 | 0.865385 | 7 | 52 | 6.428571 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 52 | 1 | 52 | 52 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
c146074d79cc5fe42bb7a094b7e410c627d8cd36 | 30,685 | py | Python | python/manipulator_x_demo/manipulatorx_6dof.py | ROBOTIS-Leon/ManipulatorXdemo | c491a15211bdbe64cd89149b6e3a96f2744b0b93 | [
"BSD-3-Clause"
] | null | null | null | python/manipulator_x_demo/manipulatorx_6dof.py | ROBOTIS-Leon/ManipulatorXdemo | c491a15211bdbe64cd89149b6e3a96f2744b0b93 | [
"BSD-3-Clause"
] | 1 | 2016-07-11T08:51:30.000Z | 2016-07-11T08:51:30.000Z | python/manipulator_x_demo/manipulatorx_6dof.py | ROBOTIS-Leon/ManipulatorXdemo | c491a15211bdbe64cd89149b6e3a96f2744b0b93 | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# sync_read_write.py
#
# Created on: 2016. 6. 16.
# Author: Ryu Woon Jung (Leon)
#
#
# ********* Sync Read and Sync Write Example *********
#
#
# Available Dynamixel model on this example : All models using Protocol 2.0
# This example is designed for usin... | 55.089767 | 512 | 0.755027 | 3,714 | 30,685 | 5.935649 | 0.081583 | 0.126559 | 0.094579 | 0.138716 | 0.852665 | 0.839601 | 0.793423 | 0.775822 | 0.747834 | 0.729508 | 0 | 0.04433 | 0.164869 | 30,685 | 556 | 513 | 55.188849 | 0.815929 | 0.147075 | 0 | 0.445748 | 0 | 0.002933 | 0.063586 | 0.006282 | 0 | 0 | 0.000154 | 0 | 0 | 1 | 0.005865 | false | 0 | 0.01173 | 0.002933 | 0.02346 | 0.234604 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
c1ab18bf2beb0d647cb319a0d633196bb02ce0d4 | 44 | py | Python | hello-world.py | MellowDesert/astr-119 | f90a7008046ab1bf78a5bdebf451ce468cdd3c42 | [
"MIT"
] | null | null | null | hello-world.py | MellowDesert/astr-119 | f90a7008046ab1bf78a5bdebf451ce468cdd3c42 | [
"MIT"
] | 9 | 2021-09-23T22:41:24.000Z | 2021-11-17T18:29:15.000Z | hello-world.py | MellowDesert/astr-119 | f90a7008046ab1bf78a5bdebf451ce468cdd3c42 | [
"MIT"
] | null | null | null | print("Hello World") #printing Hello World
| 22 | 43 | 0.75 | 6 | 44 | 5.5 | 0.666667 | 0.606061 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 44 | 1 | 44 | 44 | 0.868421 | 0.454545 | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
de152b1876677377626258f749524ce63a69cd57 | 16,817 | py | Python | venv/lib/python3.6/site-packages/ansible_collections/dellemc/openmanage/tests/unit/plugins/modules/test_dellemc_configure_idrac_eventing.py | usegalaxy-no/usegalaxy | 75dad095769fe918eb39677f2c887e681a747f3a | [
"MIT"
] | 1 | 2020-01-22T13:11:23.000Z | 2020-01-22T13:11:23.000Z | venv/lib/python3.6/site-packages/ansible_collections/dellemc/openmanage/tests/unit/plugins/modules/test_dellemc_configure_idrac_eventing.py | usegalaxy-no/usegalaxy | 75dad095769fe918eb39677f2c887e681a747f3a | [
"MIT"
] | 12 | 2020-02-21T07:24:52.000Z | 2020-04-14T09:54:32.000Z | venv/lib/python3.6/site-packages/ansible_collections/dellemc/openmanage/tests/unit/plugins/modules/test_dellemc_configure_idrac_eventing.py | usegalaxy-no/usegalaxy | 75dad095769fe918eb39677f2c887e681a747f3a | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
#
# Dell EMC OpenManage Ansible Modules
# Version 3.0.0
# Copyright (C) 2020-2021 Dell Inc. or its subsidiaries. All Rights Reserved.
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
#
from __future__ import (absolute_import, division, print_functio... | 72.175966 | 125 | 0.632693 | 1,770 | 16,817 | 5.614689 | 0.109605 | 0.057959 | 0.073959 | 0.096599 | 0.811733 | 0.773294 | 0.753773 | 0.709801 | 0.684745 | 0.677098 | 0 | 0.014576 | 0.265684 | 16,817 | 232 | 126 | 72.487069 | 0.790185 | 0.014152 | 0 | 0.53202 | 0 | 0 | 0.255145 | 0.032165 | 0 | 0 | 0 | 0 | 0.054187 | 1 | 0.068966 | false | 0.08867 | 0.044335 | 0 | 0.142857 | 0.004926 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
a9a9239f86846bcd866237495963b98c25fcbf9f | 25,431 | py | Python | spark_fhir_schemas/stu3/complex_types/guidanceresponse.py | icanbwell/SparkFhirSchemas | 8c828313c39850b65f8676e67f526ee92b7d624e | [
"Apache-2.0"
] | 2 | 2020-10-31T23:25:01.000Z | 2021-06-09T14:12:42.000Z | spark_fhir_schemas/stu3/complex_types/guidanceresponse.py | icanbwell/SparkFhirSchemas | 8c828313c39850b65f8676e67f526ee92b7d624e | [
"Apache-2.0"
] | null | null | null | spark_fhir_schemas/stu3/complex_types/guidanceresponse.py | icanbwell/SparkFhirSchemas | 8c828313c39850b65f8676e67f526ee92b7d624e | [
"Apache-2.0"
] | null | null | null | from typing import Union, List, Optional
from pyspark.sql.types import (
StructType,
StructField,
StringType,
ArrayType,
DataType,
TimestampType,
)
# This file is auto-generated by generate_schema so do not edit manually
# noinspection PyPep8Naming
class GuidanceResponseSchema:
"""
A ... | 52.871102 | 108 | 0.574496 | 2,528 | 25,431 | 5.606013 | 0.12856 | 0.058425 | 0.037045 | 0.054191 | 0.841942 | 0.832275 | 0.832275 | 0.806379 | 0.800593 | 0.789303 | 0 | 0.002689 | 0.385828 | 25,431 | 480 | 109 | 52.98125 | 0.904667 | 0.380756 | 0 | 0.667752 | 0 | 0 | 0.028203 | 0.00139 | 0 | 0 | 0 | 0 | 0 | 1 | 0.003257 | false | 0 | 0.035831 | 0 | 0.04886 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
a9ee9589873f013b2bd559695924c9a0bde5ba87 | 1,851 | py | Python | tests/test_polygon.py | timskovjacobsen/computational-geometry | ffce747dc2112426bdc6f4e76c6164e4d812fa93 | [
"MIT"
] | 1 | 2021-08-30T22:05:20.000Z | 2021-08-30T22:05:20.000Z | tests/test_polygon.py | timskovjacobsen/computational-geometry | ffce747dc2112426bdc6f4e76c6164e4d812fa93 | [
"MIT"
] | null | null | null | tests/test_polygon.py | timskovjacobsen/computational-geometry | ffce747dc2112426bdc6f4e76c6164e4d812fa93 | [
"MIT"
] | null | null | null | from numpy.testing import assert_almost_equal
from computational_geometry.polygon import polygon_area
def test_polygon_with_counterclockwise_rectangle():
# ----- Setup -----
# Define the vertices of a rectangle (B x H = 10 x 10)
x = [0, 10, 10, 0]
y = [0, 0, 10, 10]
# ----- Exercise -----
#... | 27.626866 | 66 | 0.635332 | 268 | 1,851 | 4.216418 | 0.197761 | 0.035398 | 0.10531 | 0.069027 | 0.834513 | 0.790265 | 0.768142 | 0.768142 | 0.768142 | 0.768142 | 0 | 0.072433 | 0.231767 | 1,851 | 66 | 67 | 28.045455 | 0.722222 | 0.3047 | 0 | 0.482759 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.241379 | 1 | 0.103448 | false | 0 | 0.068966 | 0 | 0.172414 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
e75367f70688e3f747086ccaf048e9e5fa422cde | 63 | py | Python | cuesdk/__init__.py | thops/cue-sdk-python | ee14846958163b1c18268e44d0bf0a852514e564 | [
"MIT"
] | 34 | 2020-03-25T08:57:23.000Z | 2022-03-26T16:30:06.000Z | cuesdk/__init__.py | thops/cue-sdk-python | ee14846958163b1c18268e44d0bf0a852514e564 | [
"MIT"
] | 12 | 2020-03-25T08:56:28.000Z | 2022-02-18T15:20:51.000Z | cuesdk/__init__.py | thops/cue-sdk-python | ee14846958163b1c18268e44d0bf0a852514e564 | [
"MIT"
] | 17 | 2020-07-24T13:29:06.000Z | 2022-02-02T22:13:43.000Z | from .enums import *
from .structs import *
from .api import *
| 15.75 | 22 | 0.714286 | 9 | 63 | 5 | 0.555556 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 63 | 3 | 23 | 21 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e7acc997f285ea7a39e003af771e930a1f11775e | 30 | py | Python | swami-control/usr/lib/python2.7/dist-packages/swami_wallpaper/__init__.py | Feneric/bodhi3packages | f325307ffa53a91c060c20e1da1793b26122ca1b | [
"BSD-3-Clause"
] | 2 | 2016-04-10T14:38:52.000Z | 2018-08-31T21:41:37.000Z | swami-control/usr/lib/python2.7/dist-packages/swami_wallpaper/__init__.py | Feneric/bodhi3packages | f325307ffa53a91c060c20e1da1793b26122ca1b | [
"BSD-3-Clause"
] | 5 | 2015-10-23T06:49:33.000Z | 2018-10-20T00:46:58.000Z | swami-control/usr/lib/python2.7/dist-packages/swami_wallpaper/__init__.py | Feneric/bodhi3packages | f325307ffa53a91c060c20e1da1793b26122ca1b | [
"BSD-3-Clause"
] | 5 | 2017-05-20T14:44:54.000Z | 2019-10-05T15:59:33.000Z | from swami_wallpaper import *
| 15 | 29 | 0.833333 | 4 | 30 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.923077 | 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 | 1 | 0 | 0 | 6 |
99c2e2576fd5b890c04f444b61a62ed629e2fdcd | 101 | py | Python | template/__init__.py | khanhcsc/tts-bot | d29d6297eec4cec338f1944384d4ef08bb11c48a | [
"MIT"
] | null | null | null | template/__init__.py | khanhcsc/tts-bot | d29d6297eec4cec338f1944384d4ef08bb11c48a | [
"MIT"
] | null | null | null | template/__init__.py | khanhcsc/tts-bot | d29d6297eec4cec338f1944384d4ef08bb11c48a | [
"MIT"
] | 1 | 2021-06-14T11:43:00.000Z | 2021-06-14T11:43:00.000Z | from template.bot import Bot
from template.context import Context
from template.handle import handle
| 25.25 | 36 | 0.851485 | 15 | 101 | 5.733333 | 0.4 | 0.418605 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118812 | 101 | 3 | 37 | 33.666667 | 0.966292 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
99f0e4956fba01448ac2830edda3c70ef8ca8219 | 18 | py | Python | scanner/__init__.py | xavierskip/LANinfo | 53c14731a665436ea5fd956b2353672b1a15f92c | [
"MIT"
] | null | null | null | scanner/__init__.py | xavierskip/LANinfo | 53c14731a665436ea5fd956b2353672b1a15f92c | [
"MIT"
] | null | null | null | scanner/__init__.py | xavierskip/LANinfo | 53c14731a665436ea5fd956b2353672b1a15f92c | [
"MIT"
] | null | null | null | from scan import * | 18 | 18 | 0.777778 | 3 | 18 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 18 | 1 | 18 | 18 | 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 | 1 | 0 | 0 | 6 |
8216621cf819730d305afdda72e9c16adee6758f | 177 | py | Python | Source/Services/RPSLS.PythonPlayer.Api/app/pick/rpsls_dto.py | geverghe/RockPaperScissorsLizardSpock | 1b13088032e413bcd1e79e32274b54396f89c79f | [
"MIT"
] | 572 | 2019-11-05T15:26:43.000Z | 2022-03-21T19:01:58.000Z | Source/Services/RPSLS.PythonPlayer.Api/app/pick/rpsls_dto.py | geverghe/RockPaperScissorsLizardSpock | 1b13088032e413bcd1e79e32274b54396f89c79f | [
"MIT"
] | 21 | 2019-11-07T15:47:10.000Z | 2022-02-13T00:03:22.000Z | Source/Services/RPSLS.PythonPlayer.Api/app/pick/rpsls_dto.py | geverghe/RockPaperScissorsLizardSpock | 1b13088032e413bcd1e79e32274b54396f89c79f | [
"MIT"
] | 258 | 2019-11-05T16:10:44.000Z | 2022-03-24T23:43:52.000Z | import socket
from flask import jsonify
def get_rpsls_dto_json(pick):
return jsonify(text = pick.name, value = pick.value, player=socket.gethostname(), playerType="python") | 35.4 | 106 | 0.774011 | 25 | 177 | 5.36 | 0.76 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118644 | 177 | 5 | 106 | 35.4 | 0.858974 | 0 | 0 | 0 | 0 | 0 | 0.033708 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 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 | 1 | 0 | 0 | 6 |
8233865fec5325b1f427958bb50e12b73b46ce49 | 10,638 | py | Python | sdk/python/pulumi_aws/outputs.py | rapzo/pulumi-aws | 390a098221315d98a54ba97d1559e750dc3053b7 | [
"ECL-2.0",
"Apache-2.0"
] | 260 | 2018-06-18T14:57:00.000Z | 2022-03-29T11:41:03.000Z | sdk/python/pulumi_aws/outputs.py | rapzo/pulumi-aws | 390a098221315d98a54ba97d1559e750dc3053b7 | [
"ECL-2.0",
"Apache-2.0"
] | 1,154 | 2018-06-19T20:38:20.000Z | 2022-03-31T19:48:16.000Z | sdk/python/pulumi_aws/outputs.py | rapzo/pulumi-aws | 390a098221315d98a54ba97d1559e750dc3053b7 | [
"ECL-2.0",
"Apache-2.0"
] | 115 | 2018-06-28T03:20:27.000Z | 2022-03-29T11:41:06.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from . import ... | 35.108911 | 291 | 0.637432 | 1,263 | 10,638 | 5.18369 | 0.126683 | 0.029326 | 0.043684 | 0.063846 | 0.754544 | 0.737284 | 0.729342 | 0.718039 | 0.706736 | 0.69971 | 0 | 0.002145 | 0.255123 | 10,638 | 302 | 292 | 35.225166 | 0.824079 | 0.380147 | 0 | 0.683333 | 1 | 0 | 0.10118 | 0.039874 | 0 | 0 | 0 | 0 | 0 | 1 | 0.177778 | false | 0 | 0.033333 | 0.038889 | 0.388889 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
413c645c0502c638a805eb95f1600299b5cd8316 | 46,901 | py | Python | unittests/test_models.py | YangyangFu/MPCPy | c9980cbfe7b5ea21b003c2c0bab800099dccf3f1 | [
"BSD-3-Clause-LBNL"
] | null | null | null | unittests/test_models.py | YangyangFu/MPCPy | c9980cbfe7b5ea21b003c2c0bab800099dccf3f1 | [
"BSD-3-Clause-LBNL"
] | null | null | null | unittests/test_models.py | YangyangFu/MPCPy | c9980cbfe7b5ea21b003c2c0bab800099dccf3f1 | [
"BSD-3-Clause-LBNL"
] | 1 | 2021-11-20T03:23:13.000Z | 2021-11-20T03:23:13.000Z | # -*- coding: utf-8 -*-
"""
This module contains the classes for testing the model module of mpcpy.
"""
import unittest
from mpcpy import models
from mpcpy import exodata
from mpcpy import utility
from mpcpy import systems
from mpcpy import units
from mpcpy import variables
from testing import TestCaseMPCPy
import pan... | 53.847302 | 166 | 0.596107 | 5,065 | 46,901 | 5.300099 | 0.070286 | 0.023803 | 0.02954 | 0.019296 | 0.832334 | 0.798286 | 0.766325 | 0.723859 | 0.707879 | 0.70244 | 0 | 0.012749 | 0.289205 | 46,901 | 870 | 167 | 53.909195 | 0.792513 | 0.116053 | 0 | 0.687601 | 0 | 0 | 0.11548 | 0.016584 | 0 | 0 | 0 | 0 | 0.011272 | 1 | 0.056361 | false | 0.003221 | 0.020934 | 0 | 0.085346 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
414686fe483b31fbdec4638fec6bb79af5c8e9c6 | 2,050 | py | Python | epytope/Data/pssms/smmpmbec/mat/B_45_01_8.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 7 | 2021-02-01T18:11:28.000Z | 2022-01-31T19:14:07.000Z | epytope/Data/pssms/smmpmbec/mat/B_45_01_8.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 22 | 2021-01-02T15:25:23.000Z | 2022-03-14T11:32:53.000Z | epytope/Data/pssms/smmpmbec/mat/B_45_01_8.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 4 | 2021-05-28T08:50:38.000Z | 2022-03-14T11:45:32.000Z | B_45_01_8 = {0: {'A': -0.439, 'C': -0.065, 'E': -0.014, 'D': 0.021, 'G': -0.043, 'F': -0.078, 'I': -0.046, 'H': 0.125, 'K': 0.102, 'M': 0.047, 'L': 0.036, 'N': 0.101, 'Q': 0.113, 'P': -0.068, 'S': 0.031, 'R': 0.132, 'T': 0.046, 'W': 0.029, 'V': -0.05, 'Y': 0.019}, 1: {'A': 0.201, 'C': -0.049, 'E': -0.422, 'D': -0.182, ... | 2,050 | 2,050 | 0.394634 | 496 | 2,050 | 1.625 | 0.288306 | 0.019851 | 0.012407 | 0.014888 | 0.034739 | 0 | 0 | 0 | 0 | 0 | 0 | 0.37369 | 0.161951 | 2,050 | 1 | 2,050 | 2,050 | 0.09546 | 0 | 0 | 0 | 0 | 0 | 0.079473 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4173b4f344ed9e126bdab074dbf27d9591abe674 | 254 | py | Python | tools/get_resolution.py | 2flps/python-autodrawer | 6ee06e8fbb78a4f9f7946e95a40b1c563a6f18c0 | [
"MIT"
] | 1 | 2021-12-23T02:39:53.000Z | 2021-12-23T02:39:53.000Z | tools/get_resolution.py | FelipeFlohr/python-autodrawer | 6ee06e8fbb78a4f9f7946e95a40b1c563a6f18c0 | [
"MIT"
] | null | null | null | tools/get_resolution.py | FelipeFlohr/python-autodrawer | 6ee06e8fbb78a4f9f7946e95a40b1c563a6f18c0 | [
"MIT"
] | null | null | null | import pyautogui
print("EN: Monitor's X size | PT-BR: Tamanho X do monitor: {}\nEN: Monitor's Y size | PT-BR: Tamanho Y do monitor: {}\n".format(pyautogui.size()[0], pyautogui.size()[1]))
input("EN: Press enter to exit | PT-BR: Aperte enter para sair ") | 63.5 | 170 | 0.685039 | 45 | 254 | 3.866667 | 0.577778 | 0.068966 | 0.091954 | 0.172414 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009174 | 0.141732 | 254 | 4 | 171 | 63.5 | 0.788991 | 0 | 0 | 0 | 0 | 0.333333 | 0.658824 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
418e2ac8656a23792d5262c1faf2985c89870af5 | 27,635 | py | Python | commands/nellie.py | MuffinAmor/nellie | eace65ac7d7d1730c131345e6e5e5b7d39b078ef | [
"MIT"
] | 1 | 2022-03-12T17:34:05.000Z | 2022-03-12T17:34:05.000Z | commands/nellie.py | MuffinAmor/nellie | eace65ac7d7d1730c131345e6e5e5b7d39b078ef | [
"MIT"
] | null | null | null | commands/nellie.py | MuffinAmor/nellie | eace65ac7d7d1730c131345e6e5e5b7d39b078ef | [
"MIT"
] | null | null | null | from datetime import datetime
import discord
from discord.ext import commands
from lib.general import prefix
bot = commands.Bot(command_prefix='nl!')
botcolor = 0x00ff06
bot.remove_command('help')
Nellie = "[Nellie](https://discordapp.com/oauth2/authorize?" \
"client_id=631149405965385759&p... | 71.041131 | 318 | 0.498788 | 2,791 | 27,635 | 4.822286 | 0.084916 | 0.050524 | 0.082101 | 0.107363 | 0.801397 | 0.785274 | 0.776209 | 0.77346 | 0.755703 | 0.654878 | 0 | 0.017575 | 0.367903 | 27,635 | 388 | 319 | 71.224227 | 0.75292 | 0 | 0 | 0.618644 | 0 | 0.09322 | 0.352066 | 0.032646 | 0 | 0 | 0.000304 | 0 | 0 | 1 | 0.008475 | false | 0 | 0.011299 | 0 | 0.025424 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
418f71a356a465739726e562a662134f75238225 | 136 | py | Python | ubicacion/views/__init__.py | jlopez0591/SIGIA | e857e2273daa43ab64fa78df254275af2dbcc2a5 | [
"MIT"
] | null | null | null | ubicacion/views/__init__.py | jlopez0591/SIGIA | e857e2273daa43ab64fa78df254275af2dbcc2a5 | [
"MIT"
] | 7 | 2020-02-12T00:42:15.000Z | 2022-03-11T23:23:48.000Z | ubicacion/views/__init__.py | jlopez0591/SIGIA | e857e2273daa43ab64fa78df254275af2dbcc2a5 | [
"MIT"
] | null | null | null | from .api import *
# from .main import *
from .main_v2 import *
from .graph import *
from .autocomplete import *
from .reportes import * | 22.666667 | 27 | 0.727941 | 19 | 136 | 5.157895 | 0.421053 | 0.510204 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008929 | 0.176471 | 136 | 6 | 28 | 22.666667 | 0.866071 | 0.139706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
41a57d0de2f917b4e84a7842bc42a34cf914970c | 63 | py | Python | nicpolpy/__init__.py | ysBach/NICpolpy | 62def479b954a782ee50997a1437da30e0e9dae1 | [
"MIT"
] | null | null | null | nicpolpy/__init__.py | ysBach/NICpolpy | 62def479b954a782ee50997a1437da30e0e9dae1 | [
"MIT"
] | null | null | null | nicpolpy/__init__.py | ysBach/NICpolpy | 62def479b954a782ee50997a1437da30e0e9dae1 | [
"MIT"
] | null | null | null | from .util import *
from .preproc import *
from .phot import *
| 15.75 | 22 | 0.714286 | 9 | 63 | 5 | 0.555556 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 63 | 3 | 23 | 21 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
41c13f72eb5b6a61879d3be0b4b992003af13536 | 3,777 | py | Python | nebula/tests/test_event_default.py | threathunterX/nebula_web | 2e32e6e7b225e0bd87ee8c847c22862f12c51bb1 | [
"Apache-2.0"
] | 2 | 2019-05-01T09:42:32.000Z | 2019-05-31T01:08:37.000Z | nebula/tests/test_event_default.py | threathunterX/nebula_web | 2e32e6e7b225e0bd87ee8c847c22862f12c51bb1 | [
"Apache-2.0"
] | 1 | 2021-06-01T23:30:04.000Z | 2021-06-01T23:30:04.000Z | nebula/tests/test_event_default.py | threathunterX/nebula_web | 2e32e6e7b225e0bd87ee8c847c22862f12c51bb1 | [
"Apache-2.0"
] | 5 | 2019-05-14T09:30:12.000Z | 2020-09-29T04:57:26.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import json
from sqlalchemy.orm import sessionmaker
from nebula.views import event_default
from nebula.dao.eventmeta_dao import EventMetaDefaultDao
from nebula.models import EventMeta
from base import WebTestCase, wsgi_safe, Auth_Code
with open('nebula/tests/data/event.js... | 33.723214 | 86 | 0.63516 | 465 | 3,777 | 5.04086 | 0.189247 | 0.115188 | 0.09215 | 0.051195 | 0.763652 | 0.736348 | 0.736348 | 0.702218 | 0.702218 | 0.702218 | 0 | 0.006752 | 0.21578 | 3,777 | 111 | 87 | 34.027027 | 0.784605 | 0.025947 | 0 | 0.717647 | 0 | 0 | 0.099837 | 0.063384 | 0 | 0 | 0 | 0 | 0.211765 | 1 | 0.141176 | false | 0 | 0.070588 | 0.023529 | 0.258824 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 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 | 6 |
ec1702fdea2ca90bd3c369766f374a4b12f2bbdc | 2,140 | py | Python | dispatch/tests/test_state.py | pyronicide/dispatch | d10fa3e7bf5a711415c3fb9dafea331ac5273bf5 | [
"Apache-2.0"
] | null | null | null | dispatch/tests/test_state.py | pyronicide/dispatch | d10fa3e7bf5a711415c3fb9dafea331ac5273bf5 | [
"Apache-2.0"
] | null | null | null | dispatch/tests/test_state.py | pyronicide/dispatch | d10fa3e7bf5a711415c3fb9dafea331ac5273bf5 | [
"Apache-2.0"
] | null | null | null | from mock import patch, mock_open
import dispatch.state as state
class TestState(object):
@patch('dispatch.state.open', create=True)
@patch('os.path.exists', new=lambda x: True)
@patch('dispatch.state.ARGS', create=True)
def test_persisted_queue_two(self, mock_args, mock_open_queue):
file_data ... | 43.673469 | 70 | 0.61215 | 275 | 2,140 | 4.581818 | 0.192727 | 0.063492 | 0.1 | 0.053968 | 0.888889 | 0.888889 | 0.888889 | 0.86746 | 0.806349 | 0.750794 | 0 | 0.008886 | 0.211215 | 2,140 | 48 | 71 | 44.583333 | 0.737559 | 0 | 0 | 0.604651 | 0 | 0 | 0.276636 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 1 | 0.093023 | false | 0 | 0.046512 | 0 | 0.162791 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
ec3907343bb7146a933d648ace011599185b6269 | 22 | py | Python | inspectio/__init__.py | nicholasmalaya/paleologos | 11959056caa80d3c910759b714a0f8e42f986f0f | [
"MIT"
] | 1 | 2021-11-04T17:49:42.000Z | 2021-11-04T17:49:42.000Z | inspectio/__init__.py | nicholasmalaya/paleologos | 11959056caa80d3c910759b714a0f8e42f986f0f | [
"MIT"
] | null | null | null | inspectio/__init__.py | nicholasmalaya/paleologos | 11959056caa80d3c910759b714a0f8e42f986f0f | [
"MIT"
] | 2 | 2019-01-04T16:08:18.000Z | 2019-12-16T19:34:24.000Z | #
# nick
# 4/20/14
#
| 4.4 | 9 | 0.409091 | 4 | 22 | 2.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0.318182 | 22 | 4 | 10 | 5.5 | 0.266667 | 0.590909 | 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 | 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 | 6 |
ec5861b58ea09313d6128451d9519b45fb543959 | 6,956 | py | Python | tests/test_16_cc_oauth2_service.py | AntonLazovsky/JWTConnect-Python-OidcRP | 8a0447287b428d40ad8189baf117951a4901e9c0 | [
"Apache-2.0"
] | 49 | 2020-01-31T01:05:09.000Z | 2022-02-14T11:56:33.000Z | tests/test_16_cc_oauth2_service.py | AntonLazovsky/JWTConnect-Python-OidcRP | 8a0447287b428d40ad8189baf117951a4901e9c0 | [
"Apache-2.0"
] | 25 | 2020-02-11T09:53:49.000Z | 2022-03-05T14:35:25.000Z | tests/test_16_cc_oauth2_service.py | IdentityPython/oidcrp | cef27f13eeebcedf67651632615c8055d038cd7d | [
"Apache-2.0"
] | 16 | 2018-06-22T07:07:27.000Z | 2019-11-09T01:42:59.000Z | from oidcmsg.oauth2 import AccessTokenResponse
import pytest
from oidcrp.entity import Entity
from oidcrp.util import rndstr
KEYDEF = [{"type": "EC", "crv": "P-256", "use": ["sig"]}]
class TestRP():
@pytest.fixture(autouse=True)
def create_service(self):
client_config = {
'client_id': 'c... | 42.414634 | 109 | 0.644336 | 711 | 6,956 | 5.919831 | 0.142053 | 0.051319 | 0.057021 | 0.045141 | 0.83464 | 0.81492 | 0.80613 | 0.758613 | 0.748871 | 0.714897 | 0 | 0.018305 | 0.238212 | 6,956 | 163 | 110 | 42.674847 | 0.775995 | 0.034934 | 0 | 0.674242 | 0 | 0 | 0.288952 | 0.09259 | 0 | 0 | 0 | 0 | 0.106061 | 1 | 0.045455 | false | 0.007576 | 0.030303 | 0 | 0.083333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
6b526c354305d746aaf6019030eeebcae125fc4e | 37 | py | Python | mapper/__init__.py | widal001/ejscreen-demo | e6f93b6d44730b3f0cb9a6bc18c1b679b293cffe | [
"MIT"
] | 2 | 2021-03-22T19:29:33.000Z | 2021-03-27T20:40:01.000Z | mapper/__init__.py | widal001/ejscreen-demo | e6f93b6d44730b3f0cb9a6bc18c1b679b293cffe | [
"MIT"
] | 6 | 2021-03-08T01:54:37.000Z | 2021-04-08T14:42:00.000Z | mapper/__init__.py | widal001/ejscreen-demo | e6f93b6d44730b3f0cb9a6bc18c1b679b293cffe | [
"MIT"
] | null | null | null | from mapper.server import create_app
| 18.5 | 36 | 0.864865 | 6 | 37 | 5.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.939394 | 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 | 1 | 0 | 0 | 6 |
6b6ee9628ea3b3af8688389479d2871d15480f58 | 68 | py | Python | ARC051/ARC051a.py | VolgaKurvar/AtCoder | 21acb489f1594bbb1cdc64fbf8421d876b5b476d | [
"Unlicense"
] | null | null | null | ARC051/ARC051a.py | VolgaKurvar/AtCoder | 21acb489f1594bbb1cdc64fbf8421d876b5b476d | [
"Unlicense"
] | null | null | null | ARC051/ARC051a.py | VolgaKurvar/AtCoder | 21acb489f1594bbb1cdc64fbf8421d876b5b476d | [
"Unlicense"
] | null | null | null | x,y,r=map(int,input().split())
x2,y2,x3,y3=map(int,input().split())
| 22.666667 | 36 | 0.632353 | 15 | 68 | 2.866667 | 0.733333 | 0.27907 | 0.511628 | 0.744186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060606 | 0.029412 | 68 | 2 | 37 | 34 | 0.590909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 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 | 0 | 0 | 6 |
6bbcc8feef69eed38602e62f6b9e1c874bb07bde | 32 | py | Python | tests/conftest.py | vuonojenmustaturska/FanFicFare | 0234c161175a10bb3420e446e76cbdc9f9a3cf8a | [
"Apache-2.0"
] | null | null | null | tests/conftest.py | vuonojenmustaturska/FanFicFare | 0234c161175a10bb3420e446e76cbdc9f9a3cf8a | [
"Apache-2.0"
] | null | null | null | tests/conftest.py | vuonojenmustaturska/FanFicFare | 0234c161175a10bb3420e446e76cbdc9f9a3cf8a | [
"Apache-2.0"
] | null | null | null | from fixtures_chireads import *
| 16 | 31 | 0.84375 | 4 | 32 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.928571 | 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 | 1 | 0 | 0 | 6 |
6bce30e26502d803690a4f59ad3ee6fde6f73924 | 101 | py | Python | api/models/__init__.py | shaldengeki/mc-manager | dfb0920261e79c35c26e1b6bdf0d9d80a768a7a1 | [
"MIT"
] | null | null | null | api/models/__init__.py | shaldengeki/mc-manager | dfb0920261e79c35c26e1b6bdf0d9d80a768a7a1 | [
"MIT"
] | 10 | 2020-12-21T01:59:16.000Z | 2021-08-02T04:07:38.000Z | api/models/__init__.py | shaldengeki/mc-manager | dfb0920261e79c35c26e1b6bdf0d9d80a768a7a1 | [
"MIT"
] | null | null | null | from .server import Server
from .server_log import ServerLog
from .server_backup import ServerBackup
| 25.25 | 39 | 0.851485 | 14 | 101 | 6 | 0.5 | 0.357143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118812 | 101 | 3 | 40 | 33.666667 | 0.94382 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6bdb0b7d2abe14af30669696c8b4b8265d48b86a | 17,690 | py | Python | tests/unit/test_albums.py | movermeyer/openphoto-python | 209a1da27c8d8c88dbcf4ea6c6f57031ea1bc44b | [
"Apache-2.0"
] | 3 | 2015-02-11T10:48:28.000Z | 2015-11-05T18:50:53.000Z | tests/unit/test_albums.py | movermeyer/openphoto-python | 209a1da27c8d8c88dbcf4ea6c6f57031ea1bc44b | [
"Apache-2.0"
] | null | null | null | tests/unit/test_albums.py | movermeyer/openphoto-python | 209a1da27c8d8c88dbcf4ea6c6f57031ea1bc44b | [
"Apache-2.0"
] | 5 | 2015-02-09T22:01:30.000Z | 2018-03-04T21:53:28.000Z | from __future__ import unicode_literals
import mock
try:
import unittest2 as unittest # Python2.6
except ImportError:
import unittest
import trovebox
class TestAlbums(unittest.TestCase):
test_host = "test.example.com"
test_photos_dict = [{"id": "1a", "tags": ["tag1", "tag2"]},
... | 48.201635 | 86 | 0.622442 | 2,277 | 17,690 | 4.655687 | 0.055775 | 0.100462 | 0.067352 | 0.062919 | 0.877181 | 0.861145 | 0.834544 | 0.822847 | 0.802471 | 0.796906 | 0 | 0.015435 | 0.241888 | 17,690 | 366 | 87 | 48.333333 | 0.775035 | 0.098756 | 0 | 0.59507 | 0 | 0 | 0.080363 | 0.018107 | 0 | 0 | 0 | 0 | 0.352113 | 1 | 0.112676 | false | 0 | 0.021127 | 0.003521 | 0.183099 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
d41b3c9ca4833210b57d92c40bf9da6b7a300732 | 36 | py | Python | example/mongo/__init__.py | estudio89/maestro-python | 331079cb3f0c10de2e19210cbade793544510f33 | [
"BSD-3-Clause"
] | null | null | null | example/mongo/__init__.py | estudio89/maestro-python | 331079cb3f0c10de2e19210cbade793544510f33 | [
"BSD-3-Clause"
] | null | null | null | example/mongo/__init__.py | estudio89/maestro-python | 331079cb3f0c10de2e19210cbade793544510f33 | [
"BSD-3-Clause"
] | null | null | null | from .factory import create_provider | 36 | 36 | 0.888889 | 5 | 36 | 6.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 36 | 1 | 36 | 36 | 0.939394 | 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 | 1 | 0 | 0 | 6 |
d41f8a1db37dfdc8f0e21ec73d5c258264a9b5c0 | 14,135 | py | Python | wall/views.py | viral85/test_wall_app | 5487297e3dcd5971c4f8778fe0bc49e35efad587 | [
"MIT"
] | null | null | null | wall/views.py | viral85/test_wall_app | 5487297e3dcd5971c4f8778fe0bc49e35efad587 | [
"MIT"
] | null | null | null | wall/views.py | viral85/test_wall_app | 5487297e3dcd5971c4f8778fe0bc49e35efad587 | [
"MIT"
] | null | null | null | import logging
from django.core.paginator import Paginator
from rest_framework.views import APIView
from rest_framework import status
from rest_framework.permissions import IsAuthenticated
from drf_yasg.utils import swagger_auto_schema
import constants
from response_utils import ApiResponse, get_error_message
from wa... | 45.744337 | 118 | 0.618182 | 1,565 | 14,135 | 5.398722 | 0.105431 | 0.059889 | 0.059889 | 0.076222 | 0.842822 | 0.826725 | 0.798201 | 0.77666 | 0.750148 | 0.736655 | 0 | 0.011212 | 0.305907 | 14,135 | 308 | 119 | 45.892857 | 0.849964 | 0.145738 | 0 | 0.61809 | 0 | 0 | 0.056843 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.055276 | false | 0 | 0.055276 | 0 | 0.286432 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
d45b6363615e81f747b23fd0553b74bf97e36247 | 1,002 | py | Python | sdk/python/kubeflow/tfjob/__init__.py | kuikuikuizzZ/tf-operator | 6c58dcbb0fb5d2806058d71594422c8d52a38709 | [
"Apache-2.0"
] | 2 | 2020-03-16T15:57:47.000Z | 2020-09-27T09:39:20.000Z | sdk/python/kubeflow/tfjob/__init__.py | kuikuikuizzZ/tf-operator | 6c58dcbb0fb5d2806058d71594422c8d52a38709 | [
"Apache-2.0"
] | 195 | 2021-01-25T10:23:13.000Z | 2022-03-25T15:07:01.000Z | sdk/python/kubeflow/tfjob/__init__.py | kuikuikuizzZ/tf-operator | 6c58dcbb0fb5d2806058d71594422c8d52a38709 | [
"Apache-2.0"
] | 3 | 2021-02-01T08:18:47.000Z | 2021-11-08T07:30:54.000Z | # coding: utf-8
# flake8: noqa
"""
tfjob
Python SDK for TF-Operator # noqa: E501
OpenAPI spec version: v0.1
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
# import utils and constants
from kubeflow.tfjob.utils import utils
from kubefl... | 28.628571 | 68 | 0.823353 | 143 | 1,002 | 5.601399 | 0.377622 | 0.179775 | 0.254682 | 0.200999 | 0.342072 | 0.262172 | 0.11236 | 0 | 0 | 0 | 0 | 0.023702 | 0.115768 | 1,002 | 34 | 69 | 29.470588 | 0.880361 | 0.243513 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d4856f76dd135ab2e972d2c7e43de17e7a879b79 | 30,355 | py | Python | src/models/ConvRNN.py | PatBall1/DeepForestcast | f9444490d71b89aa7823e830cf7fbe6752c74d9a | [
"MIT"
] | null | null | null | src/models/ConvRNN.py | PatBall1/DeepForestcast | f9444490d71b89aa7823e830cf7fbe6752c74d9a | [
"MIT"
] | 1 | 2022-02-05T10:35:48.000Z | 2022-02-05T10:35:48.000Z | src/models/ConvRNN.py | PatBall1/DeepForestcast | f9444490d71b89aa7823e830cf7fbe6752c74d9a | [
"MIT"
] | null | null | null | import torch
from spp_layer import *
device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu")
import torch.nn as nn
# Initially from https://github.com/ndrplz/ConvLSTM_pytorch/blob/master/convlstm.py
# Updated at https://github.com/TUM-LMF/MTLCC-pytorch/blob/master/src/models/convlstm/convlstm.py
class... | 33.878348 | 126 | 0.528546 | 3,881 | 30,355 | 3.939706 | 0.065189 | 0.138914 | 0.058862 | 0.049182 | 0.788489 | 0.766579 | 0.736494 | 0.728712 | 0.720209 | 0.710661 | 0 | 0.038535 | 0.342579 | 30,355 | 895 | 127 | 33.916201 | 0.727651 | 0.205172 | 0 | 0.733441 | 0 | 0 | 0.006011 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.03231 | false | 0 | 0.004847 | 0.001616 | 0.067851 | 0.008078 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 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 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.