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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d3c6ec47edd35024e6f10abd6994b6e8be90026c | 137 | py | Python | common/constants.py | AlexLitvino/i8080_simulator | fedd950c5e2843f53276f11be9878abbbb5d7c65 | [
"Apache-2.0"
] | null | null | null | common/constants.py | AlexLitvino/i8080_simulator | fedd950c5e2843f53276f11be9878abbbb5d7c65 | [
"Apache-2.0"
] | null | null | null | common/constants.py | AlexLitvino/i8080_simulator | fedd950c5e2843f53276f11be9878abbbb5d7c65 | [
"Apache-2.0"
] | null | null | null | MEMORY_SIZE = 64 * 1024
WORD_LENGTH = 255
_IN = "IN" # constant to specify input ports
_OUT = "OUT" # constant to specify output ports
| 27.4 | 48 | 0.715328 | 21 | 137 | 4.47619 | 0.714286 | 0.212766 | 0.361702 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082569 | 0.20438 | 137 | 4 | 49 | 34.25 | 0.779817 | 0.467153 | 0 | 0 | 0 | 0 | 0.071429 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d3fef4fdb16e89224e7c2455cd79d3da7fd5305d | 202 | py | Python | tests/app/baz.py | magnunleno/flask-stronghold | 4ec93177df8e862d16265cd1c357c63aff4f012a | [
"MIT"
] | null | null | null | tests/app/baz.py | magnunleno/flask-stronghold | 4ec93177df8e862d16265cd1c357c63aff4f012a | [
"MIT"
] | null | null | null | tests/app/baz.py | magnunleno/flask-stronghold | 4ec93177df8e862d16265cd1c357c63aff4f012a | [
"MIT"
] | null | null | null | from flask import Blueprint
bp = Blueprint('baz', __name__, url_prefix='/baz')
@bp.route('/foo')
def foo():
return 'baz.foo response'
@bp.route('/bar')
def bar():
return 'baz.bar response'
| 14.428571 | 50 | 0.648515 | 29 | 202 | 4.344828 | 0.517241 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168317 | 202 | 13 | 51 | 15.538462 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.232673 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.125 | 0.25 | 0.625 | 0.25 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
3139c073181f842763f97e981fd2e38bc3d28709 | 1,858 | py | Python | Algorithms/python/HowManyNumbersAreSmallerThanTheCurrentNumber/HowManyNumbersAreSmallerThanTheCurrentNumber.py | YoshlikMedia/LeetCode-solution | 517dc118ed6595578820f2b1088c95b14779ada7 | [
"MIT"
] | null | null | null | Algorithms/python/HowManyNumbersAreSmallerThanTheCurrentNumber/HowManyNumbersAreSmallerThanTheCurrentNumber.py | YoshlikMedia/LeetCode-solution | 517dc118ed6595578820f2b1088c95b14779ada7 | [
"MIT"
] | null | null | null | Algorithms/python/HowManyNumbersAreSmallerThanTheCurrentNumber/HowManyNumbersAreSmallerThanTheCurrentNumber.py | YoshlikMedia/LeetCode-solution | 517dc118ed6595578820f2b1088c95b14779ada7 | [
"MIT"
] | null | null | null | class Solution:
def smallerNumbersThanCurrent(self, nums: List[int]) -> List[int]:
# Solution 1:
# Time Complexity: O(n)
# Space Complexity: O(n)
# nums_sorted = sorted(nums)
# res = []
# for num in nums:
# res.append(nums_sorted.index(num))
# retu... | 27.731343 | 70 | 0.410118 | 209 | 1,858 | 3.636364 | 0.167464 | 0.173684 | 0.142105 | 0.147368 | 0.718421 | 0.718421 | 0.718421 | 0.718421 | 0.675 | 0.675 | 0 | 0.0182 | 0.467707 | 1,858 | 67 | 71 | 27.731343 | 0.750253 | 0.568353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0 | 0 | 0.3 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
3144a132e902eebe0a09864cda68db613968b3c2 | 227 | py | Python | cogs/utils/converters.py | Aliventer/horizon | db20da18ed3a8bebe52a1f1654441125de236ebf | [
"MIT"
] | null | null | null | cogs/utils/converters.py | Aliventer/horizon | db20da18ed3a8bebe52a1f1654441125de236ebf | [
"MIT"
] | null | null | null | cogs/utils/converters.py | Aliventer/horizon | db20da18ed3a8bebe52a1f1654441125de236ebf | [
"MIT"
] | null | null | null | def to_separate_args(content: str, sep='|'):
return list(map(lambda s: s.strip(), content.split(sep)))
def prepare_bot_module(name: str):
if not name.startswith('cogs.'):
name = 'cogs.' + name
return name
| 25.222222 | 61 | 0.643172 | 33 | 227 | 4.30303 | 0.666667 | 0.112676 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.193833 | 227 | 8 | 62 | 28.375 | 0.775956 | 0 | 0 | 0 | 0 | 0 | 0.048458 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.166667 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
3148e932a84fa7914d66ff130470fc6f11d08141 | 77 | py | Python | MR-OCP/MROCPdjango/computation/composite/__init__.py | justi/m2g | 09e8b889889ee8d8fb08b9b6fcd726fb3d901644 | [
"Apache-2.0"
] | 12 | 2015-03-11T22:07:17.000Z | 2016-01-29T21:24:29.000Z | MR-OCP/MROCPdjango/computation/composite/__init__.py | youngmook/m2g | 09e8b889889ee8d8fb08b9b6fcd726fb3d901644 | [
"Apache-2.0"
] | 213 | 2015-01-30T16:02:57.000Z | 2016-01-29T21:45:02.000Z | MR-OCP/MROCPdjango/computation/composite/__init__.py | youngmook/m2g | 09e8b889889ee8d8fb08b9b6fcd726fb3d901644 | [
"Apache-2.0"
] | 5 | 2015-02-04T13:58:12.000Z | 2016-01-29T21:24:46.000Z | """
Module used to compute invariants and contains example data & scripts
""" | 25.666667 | 69 | 0.753247 | 10 | 77 | 5.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155844 | 77 | 3 | 70 | 25.666667 | 0.892308 | 0.896104 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
316d9d26da84cde9d97e41ced93055cb50867fff | 291 | py | Python | site/tests/test_list.py | martinphellwig/brython_wf | e169afc1e048cba0c12118b4cd6f109df6fe67c9 | [
"BSD-3-Clause"
] | 1 | 2019-12-18T04:58:34.000Z | 2019-12-18T04:58:34.000Z | site/tests/test_list.py | martinphellwig/brython_wf | e169afc1e048cba0c12118b4cd6f109df6fe67c9 | [
"BSD-3-Clause"
] | null | null | null | site/tests/test_list.py | martinphellwig/brython_wf | e169afc1e048cba0c12118b4cd6f109df6fe67c9 | [
"BSD-3-Clause"
] | null | null | null | # list examples
a=['spam','eggs',100,1234]
print(a[:2]+['bacon',2*2])
print(3*a[:3]+['Boo!'])
print(a[:])
a[2]=a[2]+23
print(a)
a[0:2]=[1,12]
print(a)
a[0:2]=[]
print(a)
a[1:1]=['bletch','xyzzy']
print(a)
a[:0]=a
print(a)
a[:]=[]
print(a)
a.extend('ab')
print(a)
a.extend([1,2,33])
print(a)
| 13.227273 | 26 | 0.549828 | 66 | 291 | 2.424242 | 0.318182 | 0.375 | 0.35 | 0.15 | 0.1125 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11194 | 0.079038 | 291 | 21 | 27 | 13.857143 | 0.485075 | 0.044674 | 0 | 0.4 | 0 | 0 | 0.108696 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.55 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
316e5e6a27b1d92df4477451e511c4c4a65d5f8d | 150 | py | Python | test/conftest.py | audy/downloads | 0ca961d841dd7efd4c331bb028b59c9f4c406e95 | [
"MIT"
] | 2 | 2017-03-12T20:03:50.000Z | 2017-10-08T17:38:01.000Z | test/conftest.py | audy/downloads | 0ca961d841dd7efd4c331bb028b59c9f4c406e95 | [
"MIT"
] | 6 | 2017-03-13T04:44:11.000Z | 2020-09-23T02:24:05.000Z | test/conftest.py | audy/downloads | 0ca961d841dd7efd4c331bb028b59c9f4c406e95 | [
"MIT"
] | null | null | null | import pytest
import os
@pytest.fixture
def run_in_tmp_path(tmp_path):
"""Run test in a temporary directory"""
os.chdir(tmp_path)
yield
| 15 | 43 | 0.713333 | 24 | 150 | 4.25 | 0.625 | 0.205882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.193333 | 150 | 9 | 44 | 16.666667 | 0.842975 | 0.22 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
3170d4191cf8f5577474768d1510c2c26f762713 | 83 | py | Python | Labs/AdvancedLabs/Lab7/plot.py | Dinngger/AI-System | 99ce21909f101a07a541f2161b46882535477108 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | Labs/AdvancedLabs/Lab7/plot.py | Dinngger/AI-System | 99ce21909f101a07a541f2161b46882535477108 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | Labs/AdvancedLabs/Lab7/plot.py | Dinngger/AI-System | 99ce21909f101a07a541f2161b46882535477108 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | import numpy as np
import matplotlib.pyplot as plt
x = np.asarray([8, 16, 32, 64]) | 20.75 | 31 | 0.710843 | 16 | 83 | 3.6875 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101449 | 0.168675 | 83 | 4 | 32 | 20.75 | 0.753623 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
318ea3fc996cc0be4dbf0cd5d85fedc9c8f5c375 | 88 | py | Python | compare_nii_gif/__init__.py | epongpipat/compare_nii_gif | 6884e29fd491a111728d5f71f1cc6cc635122d4b | [
"MIT"
] | 1 | 2021-06-28T15:47:07.000Z | 2021-06-28T15:47:07.000Z | compare_nii_gif/__init__.py | epongpipat/compare_nii_gif | 6884e29fd491a111728d5f71f1cc6cc635122d4b | [
"MIT"
] | null | null | null | compare_nii_gif/__init__.py | epongpipat/compare_nii_gif | 6884e29fd491a111728d5f71f1cc6cc635122d4b | [
"MIT"
] | null | null | null | import pkg_resources
__version__ = pkg_resources.require("compare_nii_gif")[0].version
| 22 | 65 | 0.829545 | 12 | 88 | 5.416667 | 0.75 | 0.369231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012195 | 0.068182 | 88 | 3 | 66 | 29.333333 | 0.780488 | 0 | 0 | 0 | 0 | 0 | 0.170455 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
319e7da1ccbc36471d6d486d18dc6d6b301311f5 | 136 | py | Python | mask/eolearn/mask/__init__.py | sriprasanna/eo-learn | e6ca2ed6b82269e8efc0539a40e00a85d2586fd8 | [
"MIT"
] | null | null | null | mask/eolearn/mask/__init__.py | sriprasanna/eo-learn | e6ca2ed6b82269e8efc0539a40e00a85d2586fd8 | [
"MIT"
] | null | null | null | mask/eolearn/mask/__init__.py | sriprasanna/eo-learn | e6ca2ed6b82269e8efc0539a40e00a85d2586fd8 | [
"MIT"
] | null | null | null | from .cloud_mask import AddCloudMaskTask, get_s2_pixel_cloud_detector
from .masking import AddValidDataMaskTask
__version__ = '0.4.0'
| 22.666667 | 69 | 0.838235 | 18 | 136 | 5.833333 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032787 | 0.102941 | 136 | 5 | 70 | 27.2 | 0.827869 | 0 | 0 | 0 | 0 | 0 | 0.036765 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
31d80102df319b931d4c9547c8b713d968398d36 | 21 | py | Python | aliyun-python-sdk-qualitycheck/aliyunsdkqualitycheck/__init__.py | jia-jerry/aliyun-openapi-python-sdk | e90f3683a250cfec5b681b5f1d73a68f0dc9970d | [
"Apache-2.0"
] | 1 | 2021-03-08T02:59:17.000Z | 2021-03-08T02:59:17.000Z | aliyun-python-sdk-qualitycheck/aliyunsdkqualitycheck/__init__.py | jia-jerry/aliyun-openapi-python-sdk | e90f3683a250cfec5b681b5f1d73a68f0dc9970d | [
"Apache-2.0"
] | 1 | 2020-05-31T14:51:47.000Z | 2020-05-31T14:51:47.000Z | aliyun-python-sdk-qualitycheck/aliyunsdkqualitycheck/__init__.py | jia-jerry/aliyun-openapi-python-sdk | e90f3683a250cfec5b681b5f1d73a68f0dc9970d | [
"Apache-2.0"
] | null | null | null | __version__ = '3.0.7' | 21 | 21 | 0.666667 | 4 | 21 | 2.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 0.095238 | 21 | 1 | 21 | 21 | 0.368421 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
9ed6bcc8fc29d5c698e8998a2a481eff05079e89 | 26 | py | Python | gitlint/__init__.py | rico-chet/gitlint | 6248bd6cbc20c1be3bb6d196a5ec0425af99733b | [
"MIT"
] | null | null | null | gitlint/__init__.py | rico-chet/gitlint | 6248bd6cbc20c1be3bb6d196a5ec0425af99733b | [
"MIT"
] | null | null | null | gitlint/__init__.py | rico-chet/gitlint | 6248bd6cbc20c1be3bb6d196a5ec0425af99733b | [
"MIT"
] | null | null | null | __version__ = "0.12.0dev"
| 13 | 25 | 0.692308 | 4 | 26 | 3.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 0.115385 | 26 | 1 | 26 | 26 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0.346154 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
9ee2efb0cda70d26b4c4de6e477cc0e775a13606 | 11,404 | py | Python | qppwg/datasets/audio_feat_dataset.py | entn-at/QPPWG | fa54a75071e43f7a0233debd6057a3be65cda276 | [
"MIT"
] | null | null | null | qppwg/datasets/audio_feat_dataset.py | entn-at/QPPWG | fa54a75071e43f7a0233debd6057a3be65cda276 | [
"MIT"
] | null | null | null | qppwg/datasets/audio_feat_dataset.py | entn-at/QPPWG | fa54a75071e43f7a0233debd6057a3be65cda276 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright 2020 Yi-Chiao Wu (Nagoya University)
# based on a Parallel WaveGAN script by Tomoki Hayashi (Nagoya University)
# (https://github.com/kan-bayashi/ParallelWaveGAN)
# MIT License (https://opensource.org/licenses/MIT)
"""Dataset modules."""
import logging
import numpy as np
from mu... | 38.657627 | 106 | 0.587864 | 1,478 | 11,404 | 4.334912 | 0.135995 | 0.043546 | 0.01873 | 0.013735 | 0.761511 | 0.742625 | 0.71578 | 0.680506 | 0.665054 | 0.643203 | 0 | 0.0139 | 0.324974 | 11,404 | 294 | 107 | 38.789116 | 0.818394 | 0.31866 | 0 | 0.710692 | 0 | 0 | 0.060795 | 0 | 0 | 0 | 0 | 0 | 0.025157 | 1 | 0.037736 | false | 0 | 0.050314 | 0 | 0.138365 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
9ef9d7069732f86d27e2949ee6ee5859fa159638 | 98 | py | Python | tests/examples/load_templates_plugin/plugin_with_templates/__init__.py | misode/beet | 9f747c25e08286b32b06d1f1c1e6d52c353b1c43 | [
"MIT"
] | 46 | 2021-03-09T23:34:52.000Z | 2022-03-08T01:30:04.000Z | tests/examples/load_templates_plugin/plugin_with_templates/__init__.py | misode/beet | 9f747c25e08286b32b06d1f1c1e6d52c353b1c43 | [
"MIT"
] | 127 | 2021-02-24T00:41:44.000Z | 2022-03-31T05:14:31.000Z | tests/examples/load_templates_plugin/plugin_with_templates/__init__.py | misode/beet | 9f747c25e08286b32b06d1f1c1e6d52c353b1c43 | [
"MIT"
] | 9 | 2021-03-11T18:18:28.000Z | 2022-03-11T20:32:01.000Z | from beet import Context
def beet_default(ctx: Context):
ctx.template.add_package(__name__)
| 16.333333 | 38 | 0.77551 | 14 | 98 | 5 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 98 | 5 | 39 | 19.6 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
9efd55fc9def0f2c375154f9d58f414499cf7b8a | 136 | py | Python | src/sensor.py | Andruschenko/lora-remote-server | 3d066d1a97d1b651a4220457653aa6f1927ececc | [
"MIT"
] | 1 | 2016-09-04T10:15:19.000Z | 2016-09-04T10:15:19.000Z | src/sensor.py | Andruschenko/lora-remote-server | 3d066d1a97d1b651a4220457653aa6f1927ececc | [
"MIT"
] | null | null | null | src/sensor.py | Andruschenko/lora-remote-server | 3d066d1a97d1b651a4220457653aa6f1927ececc | [
"MIT"
] | null | null | null | from w1thermsensor import W1ThermSensor
def get_temperature_celsius():
sensor = W1ThermSensor()
return sensor.get_temperature() | 27.2 | 39 | 0.794118 | 14 | 136 | 7.5 | 0.642857 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025641 | 0.139706 | 136 | 5 | 40 | 27.2 | 0.871795 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7314fdfb3dc73976f79ab34d5743c7b3be53d6e1 | 190 | py | Python | python-intro/exercicios/problem19.py | elzasimoes/selenium-python | 50e4ad8a46864b06193eda09aa2a2a047f98974c | [
"CC0-1.0"
] | 2 | 2020-06-03T04:45:35.000Z | 2020-07-10T03:21:17.000Z | python-intro/exercicios/problem19.py | elzasimoes/selenium-python | 50e4ad8a46864b06193eda09aa2a2a047f98974c | [
"CC0-1.0"
] | null | null | null | python-intro/exercicios/problem19.py | elzasimoes/selenium-python | 50e4ad8a46864b06193eda09aa2a2a047f98974c | [
"CC0-1.0"
] | 2 | 2020-06-03T11:52:33.000Z | 2020-06-07T00:01:57.000Z | #Faça um programa, com uma função, que calcule a dispersão de uma lista
#Funções embutidas que podem te ajudar:
#● min(lista) -> retorna o menor valor
#● max(lista) -> retorna o maior valor
| 38 | 71 | 0.736842 | 33 | 190 | 4.30303 | 0.757576 | 0.169014 | 0.183099 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173684 | 190 | 4 | 72 | 47.5 | 0.89172 | 0.957895 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7327d8eb28de5e94a1a9effd245fb6446b08ddc2 | 774 | py | Python | plugin/src/test/resources/inspections/PyCompatibilityInspection/callExpression.py | consulo/consulo-python | 586c3eaee3f9c2cc87fb088dc81fb12ffa4b3a9d | [
"Apache-2.0"
] | null | null | null | plugin/src/test/resources/inspections/PyCompatibilityInspection/callExpression.py | consulo/consulo-python | 586c3eaee3f9c2cc87fb088dc81fb12ffa4b3a9d | [
"Apache-2.0"
] | 11 | 2017-02-27T22:35:32.000Z | 2021-12-24T08:07:40.000Z | plugin/src/test/resources/inspections/PyCompatibilityInspection/callExpression.py | consulo/consulo-python | 586c3eaee3f9c2cc87fb088dc81fb12ffa4b3a9d | [
"Apache-2.0"
] | null | null | null | class A(B):
def __init__(self):
<warning descr="Python version 2.4, 2.5, 2.6, 2.7 do not support this syntax. super() should have arguments in Python 2">super()</warning>
<warning descr="Python version 3.1, 3.2, 3.3 do not have method cmp">cmp()</warning>
<warning descr="Python version 3.0, 3.1, 3.2, 3.3 d... | 48.375 | 160 | 0.669251 | 144 | 774 | 3.569444 | 0.340278 | 0.140078 | 0.210117 | 0.291829 | 0.486381 | 0.422179 | 0.254864 | 0.254864 | 0.254864 | 0.254864 | 0 | 0.053354 | 0.152455 | 774 | 16 | 160 | 48.375 | 0.730183 | 0.011628 | 0 | 0 | 0 | 0.333333 | 0.551769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.083333 | 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 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7351a3d65d23f25ec5a2d38e86ba0cc29362a150 | 34 | py | Python | hello.py | wateratsea/pystudy | 47256db5e816534f30918aa6e3fe17518032e817 | [
"MIT"
] | null | null | null | hello.py | wateratsea/pystudy | 47256db5e816534f30918aa6e3fe17518032e817 | [
"MIT"
] | null | null | null | hello.py | wateratsea/pystudy | 47256db5e816534f30918aa6e3fe17518032e817 | [
"MIT"
] | null | null | null | msg = 'Hello, World!'
print (msg)
| 11.333333 | 21 | 0.617647 | 5 | 34 | 4.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 34 | 2 | 22 | 17 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.382353 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
7352338cdc4c9ab63aa735a80b9079b83cc6c892 | 242 | py | Python | Flask/06-Flask-blue-Base6/order/views.py | LiuJunb/PythonStudy | 3386b9e3ccb398bfcfcd1a3402182811f9bb37ca | [
"Apache-2.0"
] | 1 | 2021-02-08T09:34:14.000Z | 2021-02-08T09:34:14.000Z | Flask/06-Flask-blue-Base6/order/views.py | LiuJunb/PythonStudy | 3386b9e3ccb398bfcfcd1a3402182811f9bb37ca | [
"Apache-2.0"
] | 5 | 2021-03-18T21:26:07.000Z | 2022-03-11T23:33:44.000Z | Flask/06-Flask-blue-Base6/order/views.py | LiuJunb/PythonStudy | 3386b9e3ccb398bfcfcd1a3402182811f9bb37ca | [
"Apache-2.0"
] | null | null | null | # coding:utf-8
from . import app_order
from flask import render_template
# 2.给蓝图视图注册路由
@app_order.route('/get_order')
def get_order():
return 'order page'
@app_order.route('/index')
def index():
return render_template('order.html') | 18.615385 | 40 | 0.727273 | 36 | 242 | 4.694444 | 0.527778 | 0.142012 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009569 | 0.136364 | 242 | 13 | 40 | 18.615385 | 0.799043 | 0.099174 | 0 | 0 | 0 | 0 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0.25 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
7356a01d885b306b95a16986711afc5bd5089965 | 138 | py | Python | regex_field/__init__.py | wesleykendall/django-regex-field | f5e5cc9fd0afba7536199c21764bfb723d1c8bb4 | [
"MIT"
] | null | null | null | regex_field/__init__.py | wesleykendall/django-regex-field | f5e5cc9fd0afba7536199c21764bfb723d1c8bb4 | [
"MIT"
] | null | null | null | regex_field/__init__.py | wesleykendall/django-regex-field | f5e5cc9fd0afba7536199c21764bfb723d1c8bb4 | [
"MIT"
] | null | null | null | # flake8: noqa
from .version import __version__
from .fields import RegexField
default_app_config = 'regex_field.apps.RegexFieldConfig'
| 19.714286 | 56 | 0.818841 | 17 | 138 | 6.235294 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008197 | 0.115942 | 138 | 6 | 57 | 23 | 0.860656 | 0.086957 | 0 | 0 | 0 | 0 | 0.268293 | 0.268293 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
7358e0f78e6021274ef9d60a45f67875f378d070 | 87 | py | Python | trel/apps.py | alsoncahyadi/julid-be | 9bb63882cab637329b85d35da874ea1c03180cdd | [
"MIT"
] | null | null | null | trel/apps.py | alsoncahyadi/julid-be | 9bb63882cab637329b85d35da874ea1c03180cdd | [
"MIT"
] | 1 | 2021-05-23T13:02:30.000Z | 2021-05-23T13:02:30.000Z | src/trello/apps.py | kshevchuk17/TestTaskForBotConversa | f6b5a3964dc49b42571152382eb417bba1ad9708 | [
"Apache-2.0"
] | null | null | null | from django.apps import AppConfig
class TrelloConfig(AppConfig):
name = 'trello'
| 14.5 | 33 | 0.747126 | 10 | 87 | 6.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 87 | 5 | 34 | 17.4 | 0.902778 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
b4245b127c210e492f368a093dbcf4bdc445e6f6 | 216 | py | Python | neighbour_app/apps.py | otienonick/Thee_neighbourhood_Django | 0eb6d440831fb4b0d097247c18c604268b981c28 | [
"MIT"
] | 1 | 2021-11-01T09:12:55.000Z | 2021-11-01T09:12:55.000Z | neighbour_app/apps.py | otienonick/Thee_neighbourhood_Django | 0eb6d440831fb4b0d097247c18c604268b981c28 | [
"MIT"
] | null | null | null | neighbour_app/apps.py | otienonick/Thee_neighbourhood_Django | 0eb6d440831fb4b0d097247c18c604268b981c28 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class NeighbourAppConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField'
name = 'neighbour_app'
def ready(self):
import neighbour_app.signals
| 21.6 | 56 | 0.740741 | 25 | 216 | 6.24 | 0.8 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180556 | 216 | 9 | 57 | 24 | 0.881356 | 0 | 0 | 0 | 0 | 0 | 0.194444 | 0.134259 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
b42d05d02857132f732bcb8240775fc04ae07e05 | 30 | py | Python | files/test.py | Thanksbao/test007 | fe6a7ebe17e82eeaf27a56a45ccd778d4c240006 | [
"MIT"
] | null | null | null | files/test.py | Thanksbao/test007 | fe6a7ebe17e82eeaf27a56a45ccd778d4c240006 | [
"MIT"
] | null | null | null | files/test.py | Thanksbao/test007 | fe6a7ebe17e82eeaf27a56a45ccd778d4c240006 | [
"MIT"
] | null | null | null | this is a test python files.
| 10 | 28 | 0.733333 | 6 | 30 | 3.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.233333 | 30 | 2 | 29 | 15 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b430a11aa97505b4c1866cd83d170f4fd04638a4 | 25 | py | Python | __init__.py | davidorlea/homeassistant-dwd_pollen | 0b6ce15e9e0ca67f66f0e18d73a495eddf44f75e | [
"MIT"
] | null | null | null | __init__.py | davidorlea/homeassistant-dwd_pollen | 0b6ce15e9e0ca67f66f0e18d73a495eddf44f75e | [
"MIT"
] | null | null | null | __init__.py | davidorlea/homeassistant-dwd_pollen | 0b6ce15e9e0ca67f66f0e18d73a495eddf44f75e | [
"MIT"
] | null | null | null | """DWD Pollen Sensor."""
| 12.5 | 24 | 0.6 | 3 | 25 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 25 | 1 | 25 | 25 | 0.681818 | 0.72 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b434bdcce04071c09dc0cc678f4332bd2217d2a3 | 33 | py | Python | UNET_EM_DATASET/UNET_EM_DATASET_BASE/model_visualizer.py | hossein1387/U-Net-Fixed-Point-Quantization-for-Medical-Image-Segmentation | f919935b975461052d5196372a837356379f973a | [
"MIT"
] | 69 | 2019-07-28T06:53:55.000Z | 2022-03-22T01:07:28.000Z | UNET_EM_DATASET/UNET_EM_DATASET_BASE/model_visualizer.py | hossein1387/Fixed-Point-U-Net-Quantization-for-Medical-Image-Segmentation | 4835a3d08b38617b952023f19bf59679126f5f59 | [
"MIT"
] | 6 | 2019-08-02T07:47:09.000Z | 2021-06-11T14:35:53.000Z | UNET_EM_DATASET/UNET_EM_DATASET_BASE/model_visualizer.py | hossein1387/Fixed-Point-U-Net-Quantization-for-Medical-Image-Segmentation | 4835a3d08b38617b952023f19bf59679126f5f59 | [
"MIT"
] | 20 | 2019-08-10T07:08:56.000Z | 2021-10-09T17:02:30.000Z | ../../scripts/model_visualizer.py | 33 | 33 | 0.757576 | 4 | 33 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 33 | 1 | 33 | 33 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b4398a2e2e5a12ca219eeabcb0532b01e6317cdb | 17,680 | py | Python | test/Figure2.py | rcubero/MSR | fe7a3b95d5ad49bba1dd8be58110b7b4f2d308ac | [
"MIT"
] | 5 | 2018-09-23T19:56:37.000Z | 2021-05-05T08:50:33.000Z | test/Figure2.py | rcubero/MSR | fe7a3b95d5ad49bba1dd8be58110b7b4f2d308ac | [
"MIT"
] | null | null | null | test/Figure2.py | rcubero/MSR | fe7a3b95d5ad49bba1dd8be58110b7b4f2d308ac | [
"MIT"
] | 1 | 2020-11-27T01:29:22.000Z | 2020-11-27T01:29:22.000Z | '''
This code is used to replot Figure 2 of the main text.
'''
# to make things py2 and py3 compatible
from __future__ import print_function, division
# major packages needed
import numpy as np
import os, sys
# some additional packages that are needed
from scipy import io, signal
from scipy.ndimage.filters import... | 65.239852 | 294 | 0.742251 | 2,788 | 17,680 | 4.48924 | 0.142396 | 0.048338 | 0.026846 | 0.019175 | 0.771812 | 0.751039 | 0.728747 | 0.705417 | 0.688718 | 0.675136 | 0 | 0.037088 | 0.098699 | 17,680 | 270 | 295 | 65.481481 | 0.748353 | 0.055373 | 0 | 0.478873 | 0 | 0.028169 | 0.115572 | 0.038884 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.065728 | 0 | 0.065728 | 0.004695 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b43d5132e923efbe04f89e196421258a5665eb7c | 126 | py | Python | tests/plugins/package2/plugin2/__init__.py | abeyerpath/Snowfakery | 98d04862f2e7638486cf38eb9e9fdb12b38e391e | [
"BSD-3-Clause"
] | 81 | 2020-03-23T21:43:16.000Z | 2022-03-21T06:24:19.000Z | tests/plugins/package2/plugin2/__init__.py | abeyerpath/Snowfakery | 98d04862f2e7638486cf38eb9e9fdb12b38e391e | [
"BSD-3-Clause"
] | 348 | 2020-04-08T13:33:15.000Z | 2022-03-27T04:02:56.000Z | tests/plugins/package2/plugin2/__init__.py | abeyerpath/Snowfakery | 98d04862f2e7638486cf38eb9e9fdb12b38e391e | [
"BSD-3-Clause"
] | 20 | 2020-04-15T20:04:30.000Z | 2022-03-16T16:52:04.000Z | from snowfakery import SnowfakeryPlugin
class Plugin2_2(SnowfakeryPlugin):
class Functions:
hello = "Plugin2_2"
| 18 | 39 | 0.746032 | 13 | 126 | 7.076923 | 0.692308 | 0.456522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039604 | 0.198413 | 126 | 6 | 40 | 21 | 0.871287 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
b43d7e1b14f1307100cd61ce2159173a738e7aa8 | 997 | py | Python | web_server/nodes/migrations/0001_initial.py | ColeBoytinck/cmput404-group-project | 133e118fe8453b13f0d5afdf7b8d625eba9e4086 | [
"MIT"
] | null | null | null | web_server/nodes/migrations/0001_initial.py | ColeBoytinck/cmput404-group-project | 133e118fe8453b13f0d5afdf7b8d625eba9e4086 | [
"MIT"
] | null | null | null | web_server/nodes/migrations/0001_initial.py | ColeBoytinck/cmput404-group-project | 133e118fe8453b13f0d5afdf7b8d625eba9e4086 | [
"MIT"
] | null | null | null | # Generated by Django 2.2.10 on 2020-03-21 19:54
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Node',
fields=[
('foreign_server_hostname'... | 35.607143 | 126 | 0.625878 | 103 | 997 | 5.805825 | 0.475728 | 0.130435 | 0.180602 | 0.240803 | 0.464883 | 0.16388 | 0.16388 | 0.16388 | 0 | 0 | 0 | 0.043185 | 0.25677 | 997 | 27 | 127 | 36.925926 | 0.763833 | 0.046138 | 0 | 0 | 1 | 0 | 0.205479 | 0.179136 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.1 | 0.05 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
b477773ed0391d1a17c1af3312be75e2b157a8df | 18 | py | Python | tests/test_spec.py | fossabot/citric | 113c37bf9ffad4d34ebb0a535ed1d048b2e13656 | [
"MIT"
] | 12 | 2020-07-02T00:15:34.000Z | 2022-03-21T06:23:55.000Z | tests/test_spec.py | fossabot/citric | 113c37bf9ffad4d34ebb0a535ed1d048b2e13656 | [
"MIT"
] | 336 | 2020-06-06T05:05:41.000Z | 2022-03-31T19:55:34.000Z | tests/test_spec.py | fossabot/citric | 113c37bf9ffad4d34ebb0a535ed1d048b2e13656 | [
"MIT"
] | 5 | 2021-04-11T06:26:58.000Z | 2022-01-25T14:00:51.000Z | """Spec tests."""
| 9 | 17 | 0.5 | 2 | 18 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 18 | 1 | 18 | 18 | 0.5625 | 0.611111 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b47f77c5b0284c4c1b5fa50dc9bb23325706a153 | 45 | py | Python | test2.py | upecepiv/pyneta | 4178ea79ccebbf0e8415707e8c2dcc11d32e83f4 | [
"Apache-2.0"
] | null | null | null | test2.py | upecepiv/pyneta | 4178ea79ccebbf0e8415707e8c2dcc11d32e83f4 | [
"Apache-2.0"
] | null | null | null | test2.py | upecepiv/pyneta | 4178ea79ccebbf0e8415707e8c2dcc11d32e83f4 | [
"Apache-2.0"
] | null | null | null | for i in range(10):
print(i)
print("YY")
| 9 | 19 | 0.577778 | 9 | 45 | 2.888889 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057143 | 0.222222 | 45 | 4 | 20 | 11.25 | 0.685714 | 0 | 0 | 0 | 0 | 0 | 0.044444 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.666667 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
c324efa632a2445950715f69ca933cc671325f8e | 48 | py | Python | adsbibtex/__init__.py | ryanvarley/ads-bibtex-builder | bcf62d77eef5230a72ea14ea88540877d5c712d7 | [
"MIT"
] | 5 | 2016-05-11T16:43:56.000Z | 2021-09-25T13:19:10.000Z | adsbibtex/__init__.py | ryanvarley/ads-bibtex-builder | bcf62d77eef5230a72ea14ea88540877d5c712d7 | [
"MIT"
] | 9 | 2015-09-07T15:36:01.000Z | 2016-05-13T07:13:08.000Z | adsbibtex/__init__.py | ryanvarley/adsbibtex | bcf62d77eef5230a72ea14ea88540877d5c712d7 | [
"MIT"
] | null | null | null | __version__ = '1.0.9'
import bibcode_to_bibtex
| 12 | 24 | 0.770833 | 8 | 48 | 3.875 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 0.125 | 48 | 3 | 25 | 16 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0.104167 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
c32efda6857512f601df7c57273965f09f02a67e | 43 | py | Python | examples/bad-syntax.py | dokterbob/slf-programming-workshops | ea26de4c87ef6e7ffa2af3c4d06b8097944b07bd | [
"MIT"
] | 1 | 2018-01-15T09:19:57.000Z | 2018-01-15T09:19:57.000Z | examples/bad-syntax.py | dokterbob/slf-programming-workshops | ea26de4c87ef6e7ffa2af3c4d06b8097944b07bd | [
"MIT"
] | null | null | null | examples/bad-syntax.py | dokterbob/slf-programming-workshops | ea26de4c87ef6e7ffa2af3c4d06b8097944b07bd | [
"MIT"
] | null | null | null | import
def fsds
sdfsdfsd
sdfsdfsd
| 7.166667 | 12 | 0.674419 | 5 | 43 | 5.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.325581 | 43 | 5 | 13 | 8.6 | 1 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.25 | null | null | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c33b23c29274dd939e25bc6395fb858c0990ffe0 | 545 | py | Python | dict_funcs/dict_creation_demo.py | SecTraversl/Toolbox_Python_3.8 | 0ad1d92d3a12225ea60e4eef3f263aecfffd1b65 | [
"MIT"
] | null | null | null | dict_funcs/dict_creation_demo.py | SecTraversl/Toolbox_Python_3.8 | 0ad1d92d3a12225ea60e4eef3f263aecfffd1b65 | [
"MIT"
] | null | null | null | dict_funcs/dict_creation_demo.py | SecTraversl/Toolbox_Python_3.8 | 0ad1d92d3a12225ea60e4eef3f263aecfffd1b65 | [
"MIT"
] | null | null | null | # %%
#######################################
def dict_creation_demo():
print(
"We can convert a list of tuples into Dictionary Items: dict( [('key1','val1'), ('key2', 'val2')] "
)
was_tuple = dict([("key1", "val1"), ("key2", "val2")])
print(f"This was a list of Tuples: {was_tuple}\n")
print(... | 36.333333 | 107 | 0.521101 | 71 | 545 | 3.915493 | 0.352113 | 0.071942 | 0.100719 | 0.230216 | 0.76259 | 0.76259 | 0.76259 | 0.589928 | 0.589928 | 0.28777 | 0 | 0.037209 | 0.211009 | 545 | 14 | 108 | 38.928571 | 0.609302 | 0.00367 | 0 | 0.181818 | 0 | 0.181818 | 0.602794 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | false | 0 | 0 | 0 | 0.090909 | 0.363636 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c35bd42b46eb19f50a6fe7f97514fd5547576a24 | 23 | py | Python | piccolo/__init__.py | smythp/piccolo | 26d5742c5d56ef6308598eb264d53a247082bbc7 | [
"MIT"
] | null | null | null | piccolo/__init__.py | smythp/piccolo | 26d5742c5d56ef6308598eb264d53a247082bbc7 | [
"MIT"
] | null | null | null | piccolo/__init__.py | smythp/piccolo | 26d5742c5d56ef6308598eb264d53a247082bbc7 | [
"MIT"
] | null | null | null | __VERSION__ = "0.71.1"
| 11.5 | 22 | 0.652174 | 4 | 23 | 2.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0.130435 | 23 | 1 | 23 | 23 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c35c8348864750c568580a2747d095d959c0a42e | 1,375 | py | Python | python/phonenumbers/shortdata/region_CH.py | CrHD/python-phonenumbers | e30be8952b4ad9d92902c27cafd7947b93225ce4 | [
"Apache-2.0"
] | null | null | null | python/phonenumbers/shortdata/region_CH.py | CrHD/python-phonenumbers | e30be8952b4ad9d92902c27cafd7947b93225ce4 | [
"Apache-2.0"
] | null | null | null | python/phonenumbers/shortdata/region_CH.py | CrHD/python-phonenumbers | e30be8952b4ad9d92902c27cafd7947b93225ce4 | [
"Apache-2.0"
] | 1 | 2020-09-08T14:45:34.000Z | 2020-09-08T14:45:34.000Z | """Auto-generated file, do not edit by hand. CH metadata"""
from ..phonemetadata import NumberFormat, PhoneNumberDesc, PhoneMetadata
PHONE_METADATA_CH = PhoneMetadata(id='CH', country_code=None, international_prefix=None,
general_desc=PhoneNumberDesc(national_number_pattern='[1-9]\\d{2,5}', possible_length=(3, 4, ... | 98.214286 | 231 | 0.707636 | 215 | 1,375 | 4.325581 | 0.381395 | 0.197849 | 0.249462 | 0.309677 | 0.44086 | 0.324731 | 0.18172 | 0 | 0 | 0 | 0 | 0.121094 | 0.069091 | 1,375 | 13 | 232 | 105.769231 | 0.605469 | 0.038545 | 0 | 0 | 1 | 0.090909 | 0.224924 | 0.167173 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.090909 | 0 | 0.090909 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c3635e2f9aa67fa1f7db2ddab8c238cf07f89f32 | 181 | py | Python | catalyst/contrib/models/segmentation/__init__.py | stalkermustang/catalyst | 687bc6c31dfdc44ae3ff62938e11e69ce1999cd4 | [
"MIT"
] | null | null | null | catalyst/contrib/models/segmentation/__init__.py | stalkermustang/catalyst | 687bc6c31dfdc44ae3ff62938e11e69ce1999cd4 | [
"MIT"
] | null | null | null | catalyst/contrib/models/segmentation/__init__.py | stalkermustang/catalyst | 687bc6c31dfdc44ae3ff62938e11e69ce1999cd4 | [
"MIT"
] | null | null | null | from .unet import UNet
from .resnetunet import ResNetUnet
from .linknet import LinkNet
from .mobileunet import MobileUnet
__all__ = ["UNet", "ResNetUnet", "LinkNet", "MobileUnet"]
| 25.857143 | 57 | 0.773481 | 21 | 181 | 6.47619 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127072 | 181 | 6 | 58 | 30.166667 | 0.860759 | 0 | 0 | 0 | 0 | 0 | 0.171271 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
5efa1d70b9806aee6117c5c9890e2b46942734aa | 261 | py | Python | forms.py | zehengl/ez-cuisine-classifier | ba8f3f6a4bbeb738f75be400aec38ceda0c893ae | [
"MIT"
] | null | null | null | forms.py | zehengl/ez-cuisine-classifier | ba8f3f6a4bbeb738f75be400aec38ceda0c893ae | [
"MIT"
] | null | null | null | forms.py | zehengl/ez-cuisine-classifier | ba8f3f6a4bbeb738f75be400aec38ceda0c893ae | [
"MIT"
] | null | null | null | from flask_wtf import FlaskForm
from wtforms import SubmitField, TextField
from wtforms.validators import DataRequired
class IngredientForm(FlaskForm):
ingredients = TextField("Ingredients", validators=[DataRequired()])
submit = SubmitField("Submit")
| 29 | 71 | 0.796935 | 26 | 261 | 7.961538 | 0.538462 | 0.10628 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122605 | 261 | 8 | 72 | 32.625 | 0.90393 | 0 | 0 | 0 | 0 | 0 | 0.065134 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
6f046275696b0929a26b60e1dae428f2609089eb | 1,195 | py | Python | gaphas/__init__.py | AhmedMounir/gaphas | a51f0171796199332da8187411ae2d70dc883e2e | [
"Apache-2.0"
] | 1 | 2021-12-17T18:03:15.000Z | 2021-12-17T18:03:15.000Z | gaphas/__init__.py | AhmedMounir/gaphas | a51f0171796199332da8187411ae2d70dc883e2e | [
"Apache-2.0"
] | null | null | null | gaphas/__init__.py | AhmedMounir/gaphas | a51f0171796199332da8187411ae2d70dc883e2e | [
"Apache-2.0"
] | null | null | null | """
Gaphas
======
Gaphor's Canvas.
This module contains the application independent parts of Gaphor's
Canvas.
Notes
=====
In py-cairo 1.8.0 (or 1.8.1, or 1.8.2) the multiplication order has
been reverted. This causes bugs in Gaphas.
Also a new method ``multiply()`` has been introduced. This method is
used in Gapha... | 29.146341 | 72 | 0.751464 | 192 | 1,195 | 4.677083 | 0.572917 | 0.066815 | 0.028953 | 0.035635 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020916 | 0.159833 | 1,195 | 40 | 73 | 29.875 | 0.873506 | 0.897908 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
6f0aa4ffdbb37bc0b4ef8a9a3cbed82f8fc0fa47 | 467 | py | Python | mugimugi_client_api/search_item/collection.py | JeanMarc-Moly/mugimugi_client_api | d566ce5e462108858d2b4960bbd968b8e77e2540 | [
"OML"
] | null | null | null | mugimugi_client_api/search_item/collection.py | JeanMarc-Moly/mugimugi_client_api | d566ce5e462108858d2b4960bbd968b8e77e2540 | [
"OML"
] | null | null | null | mugimugi_client_api/search_item/collection.py | JeanMarc-Moly/mugimugi_client_api | d566ce5e462108858d2b4960bbd968b8e77e2540 | [
"OML"
] | null | null | null | from dataclasses import dataclass
from typing import ClassVar
from mugimugi_client_api_entity import Collection
from mugimugi_client_api_entity import SearchCollection as Root
from mugimugi_client_api_entity.enum import ElementPrefix, ItemType
from .abstract import SearchItem
@dataclass
class SearchCollection(Searc... | 29.1875 | 67 | 0.830835 | 55 | 467 | 6.890909 | 0.4 | 0.094987 | 0.14248 | 0.166227 | 0.245383 | 0.174142 | 0 | 0 | 0 | 0 | 0 | 0 | 0.124197 | 467 | 15 | 68 | 31.133333 | 0.92665 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.545455 | 0 | 0.909091 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
6f33210de7c98497678ce84a90df87206fc63da8 | 95 | py | Python | Search/__init__.py | emcknight/ChessEngineAASpr2022- | 10ddba62cc9c558facdfe3c7ba65b24cc2c6d356 | [
"MIT"
] | 2 | 2022-03-19T20:28:06.000Z | 2022-03-25T16:35:32.000Z | Search/__init__.py | emcknight/ChessEngineAASpr2022- | 10ddba62cc9c558facdfe3c7ba65b24cc2c6d356 | [
"MIT"
] | null | null | null | Search/__init__.py | emcknight/ChessEngineAASpr2022- | 10ddba62cc9c558facdfe3c7ba65b24cc2c6d356 | [
"MIT"
] | 1 | 2022-03-25T21:32:56.000Z | 2022-03-25T21:32:56.000Z | from Search.Search import minimax, minimaxAB, negamax, alphaBeta, tabular, iterativedeepening
| 47.5 | 94 | 0.831579 | 10 | 95 | 7.9 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 95 | 1 | 95 | 95 | 0.929412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
6f342b5d933eba065e7d658de234480e22449aa2 | 20,309 | py | Python | ui/apprcc_rc.py | zhl95/time-to-rest | 2c0d95e1dd4b12eb31bfff44ed929606123f9f67 | [
"Apache-2.0"
] | null | null | null | ui/apprcc_rc.py | zhl95/time-to-rest | 2c0d95e1dd4b12eb31bfff44ed929606123f9f67 | [
"Apache-2.0"
] | null | null | null | ui/apprcc_rc.py | zhl95/time-to-rest | 2c0d95e1dd4b12eb31bfff44ed929606123f9f67 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Resource object code
#
# Created by: The Resource Compiler for PyQt5 (Qt v5.11.2)
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore
qt_resource_data = b"\
\x00\x00\x11\xa1\
\xff\
\xd8\xff\xe0\x00\x10\x4a\x46\x49\x46\x00\x01\x01\x00\x00\x01\x00\
\x01\x00\x00\x... | 58.527378 | 103 | 0.726919 | 4,838 | 20,309 | 3.043613 | 0.063456 | 0.052156 | 0.058676 | 0.055416 | 0.076808 | 0.071715 | 0.06472 | 0.059015 | 0.059015 | 0.055348 | 0 | 0.321962 | 0.02137 | 20,309 | 346 | 104 | 58.696532 | 0.418918 | 0.007484 | 0 | 0.033333 | 0 | 0.884848 | 0.00005 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0.006061 | false | 0 | 0.00303 | 0 | 0.009091 | 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 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
6f7038ec94b250ab70d6e89bcef8527b464a276f | 300 | py | Python | datahub_core/generators/results_object.py | grovesy/datahub | 57bd1a837b9996c2dae5e052a94131b8fc56e3fb | [
"Apache-2.0"
] | 67 | 2020-05-15T09:37:20.000Z | 2022-03-18T04:12:08.000Z | datahub_core/generators/results_object.py | grovesy/datahub | 57bd1a837b9996c2dae5e052a94131b8fc56e3fb | [
"Apache-2.0"
] | 37 | 2020-05-15T08:03:17.000Z | 2020-10-28T12:24:30.000Z | datahub_core/generators/results_object.py | grovesy/datahub | 57bd1a837b9996c2dae5e052a94131b8fc56e3fb | [
"Apache-2.0"
] | 10 | 2020-05-16T14:11:12.000Z | 2021-10-06T19:20:47.000Z | import pandas as pd
class ResultObject:
results = []
def __init__(self, results):
self.results = results
def items(self):
return self.results
def count(self):
return len(self.results)
def to_dataframe(self):
return pd.DataFrame(self.results)
| 16.666667 | 41 | 0.626667 | 36 | 300 | 5.083333 | 0.444444 | 0.300546 | 0.153005 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.283333 | 300 | 17 | 42 | 17.647059 | 0.851163 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.363636 | false | 0 | 0.090909 | 0.272727 | 0.909091 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
4898a3529b290b88c92017d8f8c99e321db1cf20 | 237 | py | Python | eager_core/src/eager_core/engine_params.py | eager-dev/eager | f10ccbd7452acb3a29881ecd95c759f632c91da9 | [
"Apache-2.0"
] | 16 | 2021-07-02T14:48:53.000Z | 2022-02-23T02:53:01.000Z | eager_core/src/eager_core/engine_params.py | eager-dev/eager | f10ccbd7452acb3a29881ecd95c759f632c91da9 | [
"Apache-2.0"
] | 37 | 2021-06-30T12:10:29.000Z | 2022-02-02T09:46:34.000Z | eager_core/src/eager_core/engine_params.py | eager-dev/eager | f10ccbd7452acb3a29881ecd95c759f632c91da9 | [
"Apache-2.0"
] | null | null | null | class EngineParams(object):
def __init__(self, **kwargs):
# Iterates over provided arguments and sets the provided arguments as class properties
for key, value in kwargs.items():
setattr(self, key, value)
| 39.5 | 94 | 0.675105 | 29 | 237 | 5.37931 | 0.758621 | 0.217949 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.244726 | 237 | 5 | 95 | 47.4 | 0.871508 | 0.35443 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
48de5fa4626aa3a425fb0281fa232ffa828ea6ce | 88 | py | Python | basepy/exceptions.py | pyflow/insightpy | d80f11277a7903f0ca679ceae1def0037ca2d920 | [
"MIT"
] | 3 | 2020-02-01T04:27:50.000Z | 2020-04-28T13:50:10.000Z | basepy/exceptions.py | pyflow/insightpy | d80f11277a7903f0ca679ceae1def0037ca2d920 | [
"MIT"
] | null | null | null | basepy/exceptions.py | pyflow/insightpy | d80f11277a7903f0ca679ceae1def0037ca2d920 | [
"MIT"
] | 1 | 2020-03-02T03:55:05.000Z | 2020-03-02T03:55:05.000Z |
class ConnectionError(Exception):
"""Failed to connect to the broker."""
pass
| 14.666667 | 42 | 0.670455 | 10 | 88 | 5.9 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.215909 | 88 | 5 | 43 | 17.6 | 0.855072 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
d288788fafcd99b19b123a396f27c7358781183f | 99 | py | Python | productivity_ladder/repositories/apps.py | saowaluck/productivity-ladder | 7bca29386a20c181c109b075734fca7164f2f86c | [
"MIT"
] | 4 | 2017-11-28T14:52:38.000Z | 2018-01-10T13:21:02.000Z | productivity_ladder/repositories/apps.py | saowaluck/productivity-ladder | 7bca29386a20c181c109b075734fca7164f2f86c | [
"MIT"
] | 8 | 2020-02-12T03:02:23.000Z | 2022-02-26T20:34:16.000Z | backend/repositories/apps.py | alessondelmiro/github_monitor | 27447da7ddd9a3da6241da112c494f4abff57928 | [
"MIT"
] | 2 | 2018-10-03T00:59:41.000Z | 2018-10-14T08:31:34.000Z | from django.apps import AppConfig
class RepositoriesConfig(AppConfig):
name = 'repositories'
| 16.5 | 36 | 0.777778 | 10 | 99 | 7.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 99 | 5 | 37 | 19.8 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
d28b66f3a78d9573b8fbac7545afbd78260020a8 | 188 | py | Python | covid_tests/TestParticipant.py | vivekkhimani/LifeNest | 0ea53eb900e7b3362ae7f058525446a6bdcc413b | [
"MIT"
] | 2 | 2021-12-12T08:25:21.000Z | 2022-01-27T09:27:09.000Z | covid_tests/TestParticipant.py | vivekkhimani/LifeNest | 0ea53eb900e7b3362ae7f058525446a6bdcc413b | [
"MIT"
] | null | null | null | covid_tests/TestParticipant.py | vivekkhimani/LifeNest | 0ea53eb900e7b3362ae7f058525446a6bdcc413b | [
"MIT"
] | null | null | null | """
Name: Vivek Khimani
"""
from django.test import TestCase
from covid.models import User, Participant
class ParticipantTestCase(TestCase):
def setUp(self) -> None:
return
| 15.666667 | 42 | 0.712766 | 22 | 188 | 6.090909 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.191489 | 188 | 11 | 43 | 17.090909 | 0.881579 | 0.101064 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0.2 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
d2b5308be003c6af9e8310feb58920cb9914e539 | 537 | py | Python | tests/manualtests.py | seyhunsaral/choicepy | 6fd9f14547cddd0a48cd303d18faa40280e8b8dc | [
"MIT"
] | null | null | null | tests/manualtests.py | seyhunsaral/choicepy | 6fd9f14547cddd0a48cd303d18faa40280e8b8dc | [
"MIT"
] | 4 | 2020-08-28T13:16:27.000Z | 2020-09-02T11:01:17.000Z | tests/manualtests.py | seyhunsaral/choicepy | 6fd9f14547cddd0a48cd303d18faa40280e8b8dc | [
"MIT"
] | 3 | 2021-05-02T17:52:16.000Z | 2021-08-05T06:53:59.000Z | import choicepy
my_profile = choicepy.Profile()
my_profile.gen_mallows_voters(list("abcd"), 5, 1, 0)
print(my_profile.borda([4, 3, 2, 1]))
print(my_profile.borda(my_profile.gen_borda_rule("borda_1")))
print(my_profile.borda(my_profile.gen_borda_rule("borda_0")))
print(my_profile.borda())
print(my_profile.borda(my_prof... | 29.833333 | 79 | 0.748603 | 84 | 537 | 4.5 | 0.345238 | 0.285714 | 0.222222 | 0.251323 | 0.455026 | 0.349206 | 0.349206 | 0.349206 | 0.349206 | 0.243386 | 0 | 0.020121 | 0.074488 | 537 | 17 | 80 | 31.588235 | 0.740443 | 0 | 0 | 0 | 0 | 0 | 0.142056 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.083333 | 0 | 0.083333 | 0.5 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
d2d27b6137c5ba49ee7492446a9abef41a5190d9 | 930 | py | Python | src/pyuwds3/types/shape/shape.py | uwds3/uwds3 | 3ec70111d63db0c8d97d9f1e0110b7fe9ad56179 | [
"MIT"
] | null | null | null | src/pyuwds3/types/shape/shape.py | uwds3/uwds3 | 3ec70111d63db0c8d97d9f1e0110b7fe9ad56179 | [
"MIT"
] | null | null | null | src/pyuwds3/types/shape/shape.py | uwds3/uwds3 | 3ec70111d63db0c8d97d9f1e0110b7fe9ad56179 | [
"MIT"
] | null | null | null | import numpy as np
import uwds3_msgs.msg
from ..vector.vector6d import Vector6D
class ShapeType(object):
UNKNOWN = -1
BOX = uwds3_msgs.msg.PrimitiveShape.BOX
CYLINDER = uwds3_msgs.msg.PrimitiveShape.CYLINDER
SPHERE = uwds3_msgs.msg.PrimitiveShape.SPHERE
MESH = uwds3_msgs.msg.PrimitiveShape.MESH
... | 23.846154 | 53 | 0.65914 | 119 | 930 | 5.02521 | 0.319328 | 0.075251 | 0.100334 | 0.173913 | 0.180602 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019858 | 0.241935 | 930 | 38 | 54 | 24.473684 | 0.828369 | 0 | 0 | 0.071429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.107143 | 0.142857 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
9612c5e71849516540f34d2e00e73d381aa4f634 | 130 | py | Python | up/tasks/multitask/models/union_heads/utils.py | ModelTC/EOD | 164bff80486e9ae6a095a97667b365c46ceabd86 | [
"Apache-2.0"
] | 196 | 2021-10-30T05:15:36.000Z | 2022-03-30T18:43:40.000Z | up/tasks/multitask/models/union_heads/utils.py | ModelTC/EOD | 164bff80486e9ae6a095a97667b365c46ceabd86 | [
"Apache-2.0"
] | 12 | 2021-10-30T11:33:28.000Z | 2022-03-31T14:22:58.000Z | up/tasks/multitask/models/union_heads/utils.py | ModelTC/EOD | 164bff80486e9ae6a095a97667b365c46ceabd86 | [
"Apache-2.0"
] | 23 | 2021-11-01T07:26:17.000Z | 2022-03-27T05:55:37.000Z | def get_inplane(inplanes, idx):
if isinstance(inplanes, list):
return inplanes[idx]
else:
return inplanes
| 21.666667 | 34 | 0.646154 | 15 | 130 | 5.533333 | 0.666667 | 0.26506 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.269231 | 130 | 5 | 35 | 26 | 0.873684 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
9626941cbda7890ef1e9fae8506a6aa1791482ae | 282 | py | Python | examples/pull_sent_delivery_reports_ex.py | bahiamartins/infobip-api-python-client | 88f044901af5690d01fcb7bce90d0ed2ab1ba4d1 | [
"Apache-2.0"
] | null | null | null | examples/pull_sent_delivery_reports_ex.py | bahiamartins/infobip-api-python-client | 88f044901af5690d01fcb7bce90d0ed2ab1ba4d1 | [
"Apache-2.0"
] | null | null | null | examples/pull_sent_delivery_reports_ex.py | bahiamartins/infobip-api-python-client | 88f044901af5690d01fcb7bce90d0ed2ab1ba4d1 | [
"Apache-2.0"
] | 1 | 2020-04-08T19:03:26.000Z | 2020-04-08T19:03:26.000Z | __author__ = 'mmatosevic'
from infobip.clients import get_sent_sms_delivery_reports
from __init__ import configuration
get_delivery_reports_client = get_sent_sms_delivery_reports(configuration)
response = get_delivery_reports_client.execute({"limit": 1})
print(unicode(response))
| 31.333333 | 74 | 0.85461 | 36 | 282 | 6.083333 | 0.555556 | 0.273973 | 0.091324 | 0.164384 | 0.228311 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003831 | 0.074468 | 282 | 8 | 75 | 35.25 | 0.835249 | 0 | 0 | 0 | 0 | 0 | 0.053191 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.166667 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
82665cf3b3f2efb4c1914cb4cb5f21670bdc660a | 336 | py | Python | demon2.py | miki998/image_registration-maxwell_demons | 9305ef2c5284231c67c920c8f57e5c5a52fe73f1 | [
"MIT"
] | null | null | null | demon2.py | miki998/image_registration-maxwell_demons | 9305ef2c5284231c67c920c8f57e5c5a52fe73f1 | [
"MIT"
] | null | null | null | demon2.py | miki998/image_registration-maxwell_demons | 9305ef2c5284231c67c920c8f57e5c5a52fe73f1 | [
"MIT"
] | null | null | null | import numpy as np
import matplotlib.image as mpimg
import matplotlib.pyplot as plt
import scipy
from scipy.interpolate import griddata
from scipy.ndimage import convolve
import cv2
import matplotlib.image as mpimg
import matplotlib.pyplot as plt
import numpy as np
import matplotlib as mpl
from scipy.ndimage import... | 28 | 41 | 0.839286 | 52 | 336 | 5.403846 | 0.365385 | 0.284698 | 0.092527 | 0.106762 | 0.576512 | 0.576512 | 0.434164 | 0.434164 | 0.434164 | 0.434164 | 0 | 0.00346 | 0.139881 | 336 | 12 | 41 | 28 | 0.968858 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
82a7b92f2e70ffcf14ebf81939d910ae7e60978f | 107 | py | Python | gensim/gensim/topic_coherence/__init__.py | Abas-Khan/thesis | b733bd4382371203cc4992571890619a2e314047 | [
"MIT"
] | 4 | 2018-11-27T01:35:30.000Z | 2022-01-27T01:17:11.000Z | gensim/gensim/topic_coherence/__init__.py | Abas-Khan/thesis | b733bd4382371203cc4992571890619a2e314047 | [
"MIT"
] | 12 | 2020-07-11T01:42:51.000Z | 2020-08-12T17:17:35.000Z | gensim/gensim/topic_coherence/__init__.py | Abas-Khan/thesis | b733bd4382371203cc4992571890619a2e314047 | [
"MIT"
] | 2 | 2022-01-15T05:36:58.000Z | 2022-02-08T15:25:50.000Z | """
This package contains implementation of the individual components of
the topic coherence pipeline.
"""
| 21.4 | 68 | 0.794393 | 13 | 107 | 6.538462 | 0.846154 | 0.117647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140187 | 107 | 4 | 69 | 26.75 | 0.923913 | 0.915888 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
82c0b84737a6bd5543a3c1991644a892519f0136 | 608 | py | Python | alex/components/slu/exceptions.py | oplatek/alex | 73af644ec35c8a1cd0c37cd478c2afc1db717e0b | [
"Apache-2.0"
] | 184 | 2015-02-11T04:14:41.000Z | 2022-03-24T21:43:58.000Z | alex/components/slu/exceptions.py | oplatek/alex | 73af644ec35c8a1cd0c37cd478c2afc1db717e0b | [
"Apache-2.0"
] | 69 | 2015-01-11T04:57:22.000Z | 2019-04-24T10:25:56.000Z | alex/components/slu/exceptions.py | oplatek/alex | 73af644ec35c8a1cd0c37cd478c2afc1db717e0b | [
"Apache-2.0"
] | 61 | 2015-03-04T10:52:13.000Z | 2022-03-04T12:14:06.000Z | from alex import AlexException
from alex.ml.hypothesis import ConfusionNetworkException
class SLUException(AlexException):
pass
class SLUConfigurationException(SLUException):
pass
class DAILRException(SLUException):
pass
class CuedDialogueActError(SLUException):
pass
class DAIKernelException(S... | 15.589744 | 84 | 0.802632 | 47 | 608 | 10.382979 | 0.382979 | 0.147541 | 0.30123 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148026 | 608 | 38 | 85 | 16 | 0.942085 | 0 | 0 | 0.45 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.45 | 0.1 | 0 | 0.55 | 0 | 0 | 0 | 1 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
7dc13cd0accbfad5ef9d30dd5ef9dd9b4c25bbc9 | 81 | bzl | Python | bazel/deps.bzl | 3rdparty/stout-atomic-backoff | 02050d9ba3bb99177572ddb3a539c331130825ba | [
"Apache-2.0"
] | null | null | null | bazel/deps.bzl | 3rdparty/stout-atomic-backoff | 02050d9ba3bb99177572ddb3a539c331130825ba | [
"Apache-2.0"
] | null | null | null | bazel/deps.bzl | 3rdparty/stout-atomic-backoff | 02050d9ba3bb99177572ddb3a539c331130825ba | [
"Apache-2.0"
] | null | null | null | """Dependency specific initialization."""
def deps(repo_mapping = {}):
pass
| 16.2 | 41 | 0.679012 | 8 | 81 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160494 | 81 | 4 | 42 | 20.25 | 0.794118 | 0.432099 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
7de639a58d3b66a8d184fad8bba1fa63e0f8f7c4 | 381 | py | Python | 32.1/5-exercise.py | vinigofr/computer-science-exercises | b60ef1c5e3be09ff4c4241afc4279250c1e7129a | [
"MIT"
] | null | null | null | 32.1/5-exercise.py | vinigofr/computer-science-exercises | b60ef1c5e3be09ff4c4241afc4279250c1e7129a | [
"MIT"
] | null | null | null | 32.1/5-exercise.py | vinigofr/computer-science-exercises | b60ef1c5e3be09ff4c4241afc4279250c1e7129a | [
"MIT"
] | null | null | null | # Exercício 5: Considere que a cobertura da tinta é de 1 litro para cada 3 metros quadrados e que a tinta é vendida em latas de 18 litros, que custam R$ 80,00. Crie uma função que retorne dois valores em uma tupla contendo a quantidade de latas de tinta a serem compradas e o preço total a partir do tamanho de uma pared... | 95.25 | 329 | 0.774278 | 74 | 381 | 3.986486 | 0.716216 | 0.027119 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03268 | 0.19685 | 381 | 3 | 330 | 127 | 0.931373 | 0.984252 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7deb65338ffa3ebbe2cac4eb67cbe8ea1395d03e | 189 | py | Python | lobsterpy/__init__.py | naik-aakash/LobsterPy | 7c0423013cdd0210c0c58184df93752233f30e77 | [
"BSD-3-Clause"
] | 6 | 2022-03-01T15:58:20.000Z | 2022-03-04T11:30:18.000Z | lobsterpy/__init__.py | naik-aakash/LobsterPy | 7c0423013cdd0210c0c58184df93752233f30e77 | [
"BSD-3-Clause"
] | 5 | 2022-03-11T02:30:34.000Z | 2022-03-25T13:08:29.000Z | lobsterpy/__init__.py | naik-aakash/LobsterPy | 7c0423013cdd0210c0c58184df93752233f30e77 | [
"BSD-3-Clause"
] | 5 | 2022-03-02T07:10:56.000Z | 2022-03-22T12:30:37.000Z | # Copyright (c) lobsterpy development team
# Distributed under the terms of a BSD 3-Clause "New" or "Revised" License
"""
This package provides the modules for analyzing Lobster files
"""
| 27 | 74 | 0.756614 | 27 | 189 | 5.296296 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006329 | 0.164021 | 189 | 6 | 75 | 31.5 | 0.898734 | 0.931217 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7df18e7a4b45ab934320d89b3cca3b5a1dc914c1 | 536 | py | Python | core/migrations/0082_create_allocationsource_for_users.py | profesormig/quimica3a | a453f0d7485ebc4b2d7b06a72b44c6c179a3bbd4 | [
"BSD-3-Clause"
] | null | null | null | core/migrations/0082_create_allocationsource_for_users.py | profesormig/quimica3a | a453f0d7485ebc4b2d7b06a72b44c6c179a3bbd4 | [
"BSD-3-Clause"
] | null | null | null | core/migrations/0082_create_allocationsource_for_users.py | profesormig/quimica3a | a453f0d7485ebc4b2d7b06a72b44c6c179a3bbd4 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.9.8 on 2017-03-29 18:34
from __future__ import unicode_literals
from django.db import migrations
from django.utils import timezone
from django.conf import settings
import uuid
def run_nothing(apps,schema_editor):
pass
class Migration(migrations.Migration):
d... | 19.851852 | 58 | 0.692164 | 66 | 536 | 5.393939 | 0.727273 | 0.08427 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.050119 | 0.218284 | 536 | 26 | 59 | 20.615385 | 0.799523 | 0.125 | 0 | 0 | 1 | 0 | 0.088172 | 0.07957 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0625 | false | 0.0625 | 0.3125 | 0 | 0.5625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
814e8a77ceb26a8bc9fcea981b33890aff45619a | 369 | py | Python | src/app/views/api/repository/__init__.py | grihabor/teser | 93ecc60a6952313c6fbb10de3b1cc0647899e9e8 | [
"BSD-3-Clause"
] | null | null | null | src/app/views/api/repository/__init__.py | grihabor/teser | 93ecc60a6952313c6fbb10de3b1cc0647899e9e8 | [
"BSD-3-Clause"
] | null | null | null | src/app/views/api/repository/__init__.py | grihabor/teser | 93ecc60a6952313c6fbb10de3b1cc0647899e9e8 | [
"BSD-3-Clause"
] | null | null | null | from .activation import import_repository_activate
from .new_repo import import_repository_add
from .removal import import_repository_remove
from .repo_list import import_repository_list, user_repositories
def import_repository(app):
import_repository_add(app)
import_repository_list(app)
import_repository... | 30.75 | 64 | 0.845528 | 48 | 369 | 6.083333 | 0.3125 | 0.493151 | 0.30137 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 369 | 11 | 65 | 33.545455 | 0.890244 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 1 | 0 | 1.111111 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
8163d386ced2ee531e1accae6512fd339a127246 | 367,100 | py | Python | hata/discord/emoji/builtins.py | albertopoljak/hata | 96d0b3182eb4f5291eaf36bd23d521787c6b01f1 | [
"0BSD"
] | null | null | null | hata/discord/emoji/builtins.py | albertopoljak/hata | 96d0b3182eb4f5291eaf36bd23d521787c6b01f1 | [
"0BSD"
] | null | null | null | hata/discord/emoji/builtins.py | albertopoljak/hata | 96d0b3182eb4f5291eaf36bd23d521787c6b01f1 | [
"0BSD"
] | 1 | 2020-09-17T20:10:15.000Z | 2020-09-17T20:10:15.000Z | __all__ = ()
from scarletio import call
from .emoji import Emoji
@call
def generate_builtin_emojis():
for element in (
(b'\xf0\x9f\x8f\xbb', 'skin_tone_1', 'skin_tone_1'),
(b'\xf0\x9f\x8f\xbc', 'skin_tone_2', 'skin_tone_2'),
(b'\xf0\x9f\x8f\xbd', 'skin_tone_3', 'skin_tone_3'),
(b'... | 97.296581 | 222 | 0.662065 | 63,558 | 367,100 | 3.612732 | 0.029233 | 0.171546 | 0.104077 | 0.047714 | 0.721228 | 0.636745 | 0.60561 | 0.577668 | 0.509385 | 0.495967 | 0 | 0.142044 | 0.114609 | 367,100 | 3,772 | 223 | 97.322375 | 0.564412 | 0 | 0 | 0 | 1 | 0.353144 | 0.756584 | 0.512555 | 0 | 0 | 0 | 0 | 0 | 1 | 0.000265 | false | 0.000796 | 0.000531 | 0 | 0.000796 | 0.001061 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
818ad96ac73f09c4909582d4d8580326209cce42 | 23 | py | Python | alphapept/__init__.py | mgleeming/alphapept | 9f93ae6b69e80b9d1c85553499c5cec77d7942f5 | [
"Apache-2.0"
] | null | null | null | alphapept/__init__.py | mgleeming/alphapept | 9f93ae6b69e80b9d1c85553499c5cec77d7942f5 | [
"Apache-2.0"
] | null | null | null | alphapept/__init__.py | mgleeming/alphapept | 9f93ae6b69e80b9d1c85553499c5cec77d7942f5 | [
"Apache-2.0"
] | null | null | null | __version__ = "0.3.28"
| 11.5 | 22 | 0.652174 | 4 | 23 | 2.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0.130435 | 23 | 1 | 23 | 23 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
81c2d90529ccc6c1da0678f22c47f98a8e77d38d | 199 | py | Python | config/preconfig.py | globalvillagesoftware/infrastructure | 2e052c9da85a0d6be61795d66e0bf7b12fb62f09 | [
"Apache-2.0"
] | null | null | null | config/preconfig.py | globalvillagesoftware/infrastructure | 2e052c9da85a0d6be61795d66e0bf7b12fb62f09 | [
"Apache-2.0"
] | 20 | 2020-05-03T17:48:51.000Z | 2020-05-09T00:32:41.000Z | config/preconfig.py | globalvillagesoftware/infrastructure | 2e052c9da85a0d6be61795d66e0bf7b12fb62f09 | [
"Apache-2.0"
] | null | null | null | """
Generate a JSON file for pre-configuration
.. only:: development_administrator
Created on Jul. 6, 2020
@author: jgossage
"""
def genpre(file: str = 'preconfig.json'):
pass | 16.583333 | 42 | 0.648241 | 24 | 199 | 5.333333 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032895 | 0.236181 | 199 | 12 | 43 | 16.583333 | 0.809211 | 0.698492 | 0 | 0 | 1 | 0 | 0.264151 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.5 | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
81cf786a5ec2d9d4d316dcee0abb139b0fdd1706 | 338 | py | Python | office365/graph/directory/groupSettingTemplate.py | stardust85/Office365-REST-Python-Client | cd369c607c7d137a000734e9c5e8f03ae3e3c603 | [
"MIT"
] | null | null | null | office365/graph/directory/groupSettingTemplate.py | stardust85/Office365-REST-Python-Client | cd369c607c7d137a000734e9c5e8f03ae3e3c603 | [
"MIT"
] | null | null | null | office365/graph/directory/groupSettingTemplate.py | stardust85/Office365-REST-Python-Client | cd369c607c7d137a000734e9c5e8f03ae3e3c603 | [
"MIT"
] | null | null | null | from office365.graph.directory.directoryObject import DirectoryObject
class GroupSettingTemplate(DirectoryObject):
"""Group setting templates represent system-defined settings available to the tenant. Group settings can be
created based on the available groupSettingTemplates, and values changed from their pre... | 48.285714 | 111 | 0.822485 | 38 | 338 | 7.315789 | 0.815789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010204 | 0.130178 | 338 | 6 | 112 | 56.333333 | 0.935374 | 0.606509 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
c4a2dadc8f48b06336576a0108b353f5b3472fd8 | 127 | py | Python | apps/tasks/urls.py | CHLay/Personal-Data-Manager | a6bbca3c3c019e90219007fd80683eda0da5b624 | [
"MIT"
] | null | null | null | apps/tasks/urls.py | CHLay/Personal-Data-Manager | a6bbca3c3c019e90219007fd80683eda0da5b624 | [
"MIT"
] | 6 | 2021-04-08T21:01:38.000Z | 2021-09-22T19:42:53.000Z | apps/tasks/urls.py | cschlay/Personal-Data-Manager | a6bbca3c3c019e90219007fd80683eda0da5b624 | [
"MIT"
] | null | null | null | from django.urls import path
from . import views
app_name = 'tasks'
urlpatterns = [
path('', views.index, name='tasks')
] | 15.875 | 39 | 0.677165 | 17 | 127 | 5 | 0.647059 | 0.211765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181102 | 127 | 8 | 40 | 15.875 | 0.817308 | 0 | 0 | 0 | 0 | 0 | 0.078125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
c4a89f41a016c5b5f083c4a642443a57c3a5f164 | 238 | py | Python | code/chapter-2/exercise2_13.py | Kevin-Oudai/python-solutions | d67f6b14723b000fec0011c3e8156b805eb288f7 | [
"MIT"
] | null | null | null | code/chapter-2/exercise2_13.py | Kevin-Oudai/python-solutions | d67f6b14723b000fec0011c3e8156b805eb288f7 | [
"MIT"
] | null | null | null | code/chapter-2/exercise2_13.py | Kevin-Oudai/python-solutions | d67f6b14723b000fec0011c3e8156b805eb288f7 | [
"MIT"
] | null | null | null | number = eval(input("Enter an integer: "))
print("{}".format(number // 1000))
number = number % 1000
print("{}".format(number // 100))
number = number % 100
print("{}".format(number // 10))
number = number % 10
print("{}".format(number))
| 26.444444 | 42 | 0.634454 | 30 | 238 | 5.033333 | 0.366667 | 0.291391 | 0.450331 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 0.130252 | 238 | 8 | 43 | 29.75 | 0.642512 | 0 | 0 | 0 | 0 | 0 | 0.109244 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
c4b9ad77609baf47e28cce8ba874c0d4dd233013 | 34 | py | Python | tests/__init__.py | SerhatTeker/twpy | adc30d19a84d40bc205e752b602f180f432b6edd | [
"BSD-3-Clause"
] | null | null | null | tests/__init__.py | SerhatTeker/twpy | adc30d19a84d40bc205e752b602f180f432b6edd | [
"BSD-3-Clause"
] | null | null | null | tests/__init__.py | SerhatTeker/twpy | adc30d19a84d40bc205e752b602f180f432b6edd | [
"BSD-3-Clause"
] | null | null | null | """Unit test package for twpy."""
| 17 | 33 | 0.647059 | 5 | 34 | 4.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 34 | 1 | 34 | 34 | 0.758621 | 0.794118 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c4ea033e42e3b83b021f949d91a3ed9aacb17b0a | 162 | py | Python | src/gl_hsc_scantling/__init__.py | ruy-sevalho/german_lloyds_hsc_rules | ac65158ddfeca0b96487c4959476256e83981d3f | [
"MIT"
] | null | null | null | src/gl_hsc_scantling/__init__.py | ruy-sevalho/german_lloyds_hsc_rules | ac65158ddfeca0b96487c4959476256e83981d3f | [
"MIT"
] | null | null | null | src/gl_hsc_scantling/__init__.py | ruy-sevalho/german_lloyds_hsc_rules | ac65158ddfeca0b96487c4959476256e83981d3f | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Thu Aug 6 10:26:35 2020
@author: ruy
Automation of German Lloyd 2012 High Speed Craft strucutural rules calculation
"""
| 18 | 78 | 0.697531 | 25 | 162 | 4.52 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 0.185185 | 162 | 8 | 79 | 20.25 | 0.734848 | 0.938272 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f20d5e0161ed9bbc9f50b31f85eb284c75b36954 | 539 | py | Python | dashboard/dashboard/api/describe.py | bopopescu/chromium72-third-party-catapult | 774e1355b871e13bb858147a136e9cb476f55030 | [
"BSD-3-Clause"
] | 1 | 2019-01-04T10:08:58.000Z | 2019-01-04T10:08:58.000Z | dashboard/dashboard/api/describe.py | kind-john/catapult | 29635376119833f172a58a48a3282d353ce55d2b | [
"BSD-3-Clause"
] | null | null | null | dashboard/dashboard/api/describe.py | kind-john/catapult | 29635376119833f172a58a48a3282d353ce55d2b | [
"BSD-3-Clause"
] | 1 | 2019-04-21T23:48:15.000Z | 2019-04-21T23:48:15.000Z | # Copyright 2018 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
from dashboard import update_test_suite_descriptors
from dashboard.api import api_request_handler
class DescribeHandler(api_request_handler.ApiRequestHandl... | 29.944444 | 72 | 0.786642 | 72 | 539 | 5.722222 | 0.694444 | 0.065534 | 0.072816 | 0.126214 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008734 | 0.150278 | 539 | 17 | 73 | 31.705882 | 0.89083 | 0.363636 | 0 | 0 | 0 | 0 | 0.029851 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.125 | 0.25 | 0.125 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
480bf2665001b4c764aa4e27f7c5c0d383d83cf2 | 87 | py | Python | tests/data/stubs/stub-lxc-info.py | msaladna/mitogen | c6824b68181729cb16c090e72f4d35d6c4d95523 | [
"BSD-3-Clause"
] | 1,526 | 2017-09-15T18:49:40.000Z | 2021-01-17T16:04:12.000Z | tests/data/stubs/stub-lxc-info.py | msaladna/mitogen | c6824b68181729cb16c090e72f4d35d6c4d95523 | [
"BSD-3-Clause"
] | 682 | 2017-09-11T17:43:12.000Z | 2021-01-17T05:26:26.000Z | tests/data/stubs/stub-lxc-info.py | msaladna/mitogen | c6824b68181729cb16c090e72f4d35d6c4d95523 | [
"BSD-3-Clause"
] | 111 | 2017-09-15T23:21:37.000Z | 2021-01-01T14:45:35.000Z | #!/usr/bin/env python
# Mainly for use in stubconnections/kubectl.yml
print('PID: 1')
| 17.4 | 47 | 0.724138 | 14 | 87 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013158 | 0.126437 | 87 | 4 | 48 | 21.75 | 0.815789 | 0.758621 | 0 | 0 | 0 | 0 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
480cc2ce11616971af57ec79155fb43709c5fee9 | 142 | py | Python | get_urls.py | sstilz/data-collection-and-prep | d5ca0e1e3079d8decd25011dda88e8a338fc301e | [
"Apache-2.0"
] | null | null | null | get_urls.py | sstilz/data-collection-and-prep | d5ca0e1e3079d8decd25011dda88e8a338fc301e | [
"Apache-2.0"
] | null | null | null | get_urls.py | sstilz/data-collection-and-prep | d5ca0e1e3079d8decd25011dda88e8a338fc301e | [
"Apache-2.0"
] | null | null | null | import pandas as pd
def get_urls(input_csv_filename):
df = pd.read_csv(input_csv_filename)
urls = df['URL'].tolist()
return urls | 20.285714 | 40 | 0.704225 | 23 | 142 | 4.086957 | 0.652174 | 0.170213 | 0.340426 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190141 | 142 | 7 | 41 | 20.285714 | 0.817391 | 0 | 0 | 0 | 0 | 0 | 0.020979 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
48497bd1aafa596189cae91bbd364f208fdc7be1 | 75 | py | Python | fep40.py | Lakshmikanthaks/Python-Literate | c62c7d6ae9672c817126862e6107fd76c570917e | [
"Apache-2.0"
] | 1 | 2016-05-29T01:49:27.000Z | 2016-05-29T01:49:27.000Z | fep40.py | Lakshmikanthaks/Python-Literate | c62c7d6ae9672c817126862e6107fd76c570917e | [
"Apache-2.0"
] | null | null | null | fep40.py | Lakshmikanthaks/Python-Literate | c62c7d6ae9672c817126862e6107fd76c570917e | [
"Apache-2.0"
] | null | null | null | def f():
print x
def g():
print x
x = 1
x = 3
f()
x = 3
g()
| 6.25 | 11 | 0.373333 | 16 | 75 | 1.75 | 0.4375 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073171 | 0.453333 | 75 | 11 | 12 | 6.818182 | 0.609756 | 0 | 0 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.222222 | 1 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
484d14573d2b9186a3bb38f67b2a2b39625cda40 | 271 | py | Python | Fase 4 - Temas avanzados/Tema 11 - Modulos/Apuntes/Leccion 02 (Apuntes) - Paquetes/paquete/adios/despedidas.py | Vichentito/python | f4139b59897c49afa14446602b70f0aa332cfad1 | [
"MIT"
] | 105 | 2016-07-08T19:43:03.000Z | 2018-10-20T14:00:14.000Z | Fase 4 - Temas avanzados/Tema 11 - Modulos/Apuntes/Leccion 02 (Apuntes) - Paquetes/paquete/adios/despedidas.py | Vichentito/python | f4139b59897c49afa14446602b70f0aa332cfad1 | [
"MIT"
] | null | null | null | Fase 4 - Temas avanzados/Tema 11 - Modulos/Apuntes/Leccion 02 (Apuntes) - Paquetes/paquete/adios/despedidas.py | Vichentito/python | f4139b59897c49afa14446602b70f0aa332cfad1 | [
"MIT"
] | 145 | 2016-09-26T14:02:55.000Z | 2018-10-27T06:49:28.000Z | # Este es un módulo con funciones que saludan
def despedir():
print("Adiós, me estoy despidiendo desde la función despedir() del módulo despedidas")
class Despedida():
def __init__(self):
print("Adiós, me estoy despidiendo desde el __init__ de la clase Despedida") | 30.111111 | 87 | 0.760148 | 39 | 271 | 5.076923 | 0.692308 | 0.10101 | 0.121212 | 0.171717 | 0.333333 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0.158672 | 271 | 9 | 88 | 30.111111 | 0.868421 | 0.158672 | 0 | 0 | 0 | 0 | 0.634361 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0 | 0.6 | 0.4 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4851cecf75ee44de7d29fd06256ce62bb3ddb301 | 2,183 | py | Python | tweetnacl/core.py | secworks/tweetnacl | f60a7582cdd58c44e8ae92a00c340fa5a369a760 | [
"BSD-2-Clause"
] | 2 | 2018-01-15T16:45:12.000Z | 2018-10-15T02:15:10.000Z | tweetnacl/core.py | secworks/tweetnacl | f60a7582cdd58c44e8ae92a00c340fa5a369a760 | [
"BSD-2-Clause"
] | null | null | null | tweetnacl/core.py | secworks/tweetnacl | f60a7582cdd58c44e8ae92a00c340fa5a369a760 | [
"BSD-2-Clause"
] | 1 | 2020-03-21T21:15:02.000Z | 2020-03-21T21:15:02.000Z | #define crypto_core_PRIMITIVE "salsa20"
#define crypto_core crypto_core_salsa20
#define crypto_core_OUTPUTBYTES crypto_core_salsa20_OUTPUTBYTES
#define crypto_core_INPUTBYTES crypto_core_salsa20_INPUTBYTES
#define crypto_core_KEYBYTES crypto_core_salsa20_KEYBYTES
#define crypto_core_CONSTBYTES crypto_core_salsa20_CONST... | 60.638889 | 121 | 0.91159 | 295 | 2,183 | 6.172881 | 0.071186 | 0.302032 | 0.281164 | 0.157057 | 0.638111 | 0.355299 | 0.232839 | 0.191104 | 0.191104 | 0.074684 | 0 | 0.054422 | 0.057261 | 2,183 | 35 | 122 | 62.371429 | 0.830418 | 0.85891 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
6f88d3eb29a0ab7da0aa4466bc14d274f635c2ea | 301 | py | Python | labs/01_keras/solutions/grey_levels.py | soufiomario/labs-Deep-learning | 0ae8be9afb69a4761a4901f694480bb16947d52a | [
"MIT"
] | 1,398 | 2017-02-24T07:34:02.000Z | 2022-03-29T01:59:50.000Z | labs/01_keras/solutions/grey_levels.py | soufiomario/labs-Deep-learning | 0ae8be9afb69a4761a4901f694480bb16947d52a | [
"MIT"
] | 12 | 2017-03-28T19:51:12.000Z | 2022-03-10T21:36:35.000Z | labs/01_keras/solutions/grey_levels.py | soufiomario/labs-Deep-learning | 0ae8be9afb69a4761a4901f694480bb16947d52a | [
"MIT"
] | 637 | 2017-02-24T09:40:33.000Z | 2022-03-29T01:59:51.000Z | grey_image = np.mean(image, axis=-1)
print("Shape: {}".format(grey_image.shape))
print("Type: {}".format(grey_image.dtype))
print("image size: {:0.3} MB".format(grey_image.nbytes / 1e6))
print("Min: {}; Max: {}".format(grey_image.min(), grey_image.max()))
plt.imshow(grey_image, cmap=plt.cm.Greys_r)
| 37.625 | 68 | 0.69103 | 49 | 301 | 4.081633 | 0.510204 | 0.315 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017921 | 0.07309 | 301 | 7 | 69 | 43 | 0.698925 | 0 | 0 | 0 | 0 | 0 | 0.179402 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.666667 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
6f8b89cb4199cc6bfdccd519458c2e087ef723b0 | 414 | py | Python | eth.generateaddress.hardcoded.py | juanmanavella/blocksmith | a68e485605e7e838998bad39b18c0e8198416c67 | [
"Apache-2.0"
] | null | null | null | eth.generateaddress.hardcoded.py | juanmanavella/blocksmith | a68e485605e7e838998bad39b18c0e8198416c67 | [
"Apache-2.0"
] | null | null | null | eth.generateaddress.hardcoded.py | juanmanavella/blocksmith | a68e485605e7e838998bad39b18c0e8198416c67 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python3
import blocksmith
#key = '0000000000000000000000000000000000000000000000000000000000000000'
#key = '0000000000000000000000000000000000000000000000000000000000000001'
key = '7077da4a47f6c85a21fe6c6cf1285c0fa06915871744ab1e5a5b741027884d00'
address = blocksmith.EthereumWallet.generate_address(key)
c... | 34.5 | 73 | 0.879227 | 27 | 414 | 13.333333 | 0.518519 | 0.125 | 0.172222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.441327 | 0.05314 | 414 | 11 | 74 | 37.636364 | 0.477041 | 0.388889 | 0 | 0 | 0 | 0 | 0.256 | 0.256 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0.2 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
6f8c396ff36a271baef2d792f32de3da1fbe516c | 88 | py | Python | app/distribution/forms/__init__.py | RinKiruko/MatHelp | 5178f83fdf46c92be1014e18e63d64f36e80082e | [
"MIT"
] | null | null | null | app/distribution/forms/__init__.py | RinKiruko/MatHelp | 5178f83fdf46c92be1014e18e63d64f36e80082e | [
"MIT"
] | null | null | null | app/distribution/forms/__init__.py | RinKiruko/MatHelp | 5178f83fdf46c92be1014e18e63d64f36e80082e | [
"MIT"
] | null | null | null | from .settings import settings_form_factory
__all__ = [
'settings_form_factory',
]
| 14.666667 | 43 | 0.761364 | 10 | 88 | 5.9 | 0.6 | 0.40678 | 0.644068 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159091 | 88 | 5 | 44 | 17.6 | 0.797297 | 0 | 0 | 0 | 0 | 0 | 0.238636 | 0.238636 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
6f94546bada37851ca00d484a19245a319ba01f8 | 252 | py | Python | __init__.py | spacecoffin/GravelKicker | cf1af998e6fb2050ad7403fadc3347dc9be4665d | [
"Apache-2.0"
] | null | null | null | __init__.py | spacecoffin/GravelKicker | cf1af998e6fb2050ad7403fadc3347dc9be4665d | [
"Apache-2.0"
] | 3 | 2020-03-24T17:29:51.000Z | 2021-06-02T00:17:24.000Z | __init__.py | spacecoffin/GravelKicker | cf1af998e6fb2050ad7403fadc3347dc9be4665d | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Top-level module for GravelKicker"""
from GravelKicker import feature_extraction
from GravelKicker import generator
from GravelKicker import util
__all__ = ['feature_extraction', 'generator', 'util']
| 22.909091 | 53 | 0.75 | 30 | 252 | 6.1 | 0.633333 | 0.262295 | 0.360656 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004525 | 0.123016 | 252 | 10 | 54 | 25.2 | 0.823529 | 0.301587 | 0 | 0 | 0 | 0 | 0.183432 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
6fa09875af8436d2cb4de283c9b5f8b65300e823 | 47 | py | Python | python/goals-api-sfdc/src/asana_goals/asana/__init__.py | Asana/DevRel-Examples | 6ac7bcedd3843cfa7ac00bb7df28b886b61e3a6c | [
"MIT"
] | 2 | 2018-07-06T20:34:29.000Z | 2018-07-13T04:05:18.000Z | python/goals-api-sfdc/src/asana_goals/asana/__init__.py | Asana/DevRel-Examples | 6ac7bcedd3843cfa7ac00bb7df28b886b61e3a6c | [
"MIT"
] | 2 | 2018-07-30T23:32:42.000Z | 2018-08-01T05:59:29.000Z | python/goals-api-sfdc/src/asana_goals/asana/__init__.py | Asana/DevRel-Examples | 6ac7bcedd3843cfa7ac00bb7df28b886b61e3a6c | [
"MIT"
] | 1 | 2018-07-03T03:30:25.000Z | 2018-07-03T03:30:25.000Z | from .client import Asana
__all__ = ["Asana"]
| 11.75 | 25 | 0.702128 | 6 | 47 | 4.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170213 | 47 | 3 | 26 | 15.666667 | 0.74359 | 0 | 0 | 0 | 0 | 0 | 0.106383 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
6fb0c8f1bd773f917170d173ba45149e9fc55d6b | 223 | py | Python | HoverServer/Hotspot.py | LokiLokus/Hovercraft | caa9528b262310253872a0ce5ea91df8a74db8b3 | [
"MIT"
] | 5 | 2017-09-19T21:26:36.000Z | 2017-09-26T14:18:34.000Z | HoverServer/Hotspot.py | LokiLokus/Hovercraft | caa9528b262310253872a0ce5ea91df8a74db8b3 | [
"MIT"
] | null | null | null | HoverServer/Hotspot.py | LokiLokus/Hovercraft | caa9528b262310253872a0ce5ea91df8a74db8b3 | [
"MIT"
] | null | null | null |
def start_HotSpot(ssid="Hovercraft",encrypted=False,passd="1234",iface="wlan0"):
print("HotSpot %s encrypt %s with Pass %s on Interface %s",ssid,encrypted,passd,iface)
def stop_HotSpot():
print("HotSpot stopped")
| 31.857143 | 90 | 0.726457 | 32 | 223 | 5 | 0.625 | 0.15 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025381 | 0.116592 | 223 | 6 | 91 | 37.166667 | 0.786802 | 0 | 0 | 0 | 0 | 0 | 0.378378 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.5 | 0 | 0 | 0.5 | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 4 |
6fbb6e6a9beabb5b280a35d12769498c67a2e68b | 174 | py | Python | python_mmdt/__init__.py | qiyeboy/python_mmdt | c4e6f49e20842e5ddb0bab6d7112e290097e0179 | [
"MIT"
] | 5 | 2021-02-01T07:23:15.000Z | 2022-02-21T11:05:50.000Z | python_mmdt/__init__.py | qiyeboy/python_mmdt | c4e6f49e20842e5ddb0bab6d7112e290097e0179 | [
"MIT"
] | null | null | null | python_mmdt/__init__.py | qiyeboy/python_mmdt | c4e6f49e20842e5ddb0bab6d7112e290097e0179 | [
"MIT"
] | 1 | 2021-02-01T07:23:17.000Z | 2021-02-01T07:23:17.000Z | # -*- coding: utf-8 -*-
# @Time : 2021/01/06 00:02:08
# @Author : ddvv
# @Site : https://ddvvmmzz.github.io
# @File : __init__.py
# @Software: Visual Studio Code
| 24.857143 | 39 | 0.58046 | 24 | 174 | 4.041667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0.224138 | 174 | 6 | 40 | 29 | 0.607407 | 0.925287 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
6fde7b079aa24ac77566f111de7a25edbc5d7d3e | 26,735 | py | Python | OAP_EL_Early_Prediction/Corticalmaturation_Geometric_owl.py | jiaolang771/aicad | f683fb7c3adeecebff3d36b660fe180a8f8b8c1d | [
"MIT"
] | null | null | null | OAP_EL_Early_Prediction/Corticalmaturation_Geometric_owl.py | jiaolang771/aicad | f683fb7c3adeecebff3d36b660fe180a8f8b8c1d | [
"MIT"
] | null | null | null | OAP_EL_Early_Prediction/Corticalmaturation_Geometric_owl.py | jiaolang771/aicad | f683fb7c3adeecebff3d36b660fe180a8f8b8c1d | [
"MIT"
] | null | null | null | import os
from owlready import *
# define a owl object
onto = Ontology("http://test.org/CorticalMaturation.owl")
onto_path.append("C:/Users/liz27/OneDrive/Documents/CCHMC/Early prediction/Cincinnati EPS/Data")
# main class
class CorticalMaturation(Thing):
ontology = onto
class Volume(CorticalMaturat... | 31.087209 | 104 | 0.83041 | 2,054 | 26,735 | 10.45813 | 0.1037 | 0.14287 | 0.281551 | 0.15935 | 0.397002 | 0.118104 | 0.02458 | 0 | 0 | 0 | 0 | 0.000301 | 0.129568 | 26,735 | 860 | 105 | 31.087209 | 0.922779 | 0.00187 | 0 | 0.496403 | 0 | 0 | 0.004415 | 0.002556 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.493525 | 0.002878 | 0 | 0.502158 | 0 | 0 | 0 | 1 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
6fe729a42ce6db754ad7f4ca1f12992918d63091 | 46 | py | Python | Bronze/Bronze_V/17295.py | masterTyper/baekjoon_solved_ac | b9ce14d9bdaa5b5b06735ad075fb827de9f44b9c | [
"MIT"
] | null | null | null | Bronze/Bronze_V/17295.py | masterTyper/baekjoon_solved_ac | b9ce14d9bdaa5b5b06735ad075fb827de9f44b9c | [
"MIT"
] | null | null | null | Bronze/Bronze_V/17295.py | masterTyper/baekjoon_solved_ac | b9ce14d9bdaa5b5b06735ad075fb827de9f44b9c | [
"MIT"
] | null | null | null | contents = input()
print("Avengers: Endgame") | 15.333333 | 26 | 0.717391 | 5 | 46 | 6.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108696 | 46 | 3 | 26 | 15.333333 | 0.804878 | 0 | 0 | 0 | 0 | 0 | 0.361702 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
6ffb73d726e8be8ded0452418cbe95d98da901da | 966 | py | Python | leetcode/p59.py | mythnc/lab | 9f69482a063e3cfce2ce8832c2ef1425658c31b9 | [
"MIT"
] | null | null | null | leetcode/p59.py | mythnc/lab | 9f69482a063e3cfce2ce8832c2ef1425658c31b9 | [
"MIT"
] | null | null | null | leetcode/p59.py | mythnc/lab | 9f69482a063e3cfce2ce8832c2ef1425658c31b9 | [
"MIT"
] | null | null | null | from typing import List
class Solution:
def generateMatrix(self, n: int) -> List[List[int]]:
r = 0
c = 0
next_direction = ((0, 1), (1, 0), (0, -1), (-1, 0))
next_direction_index = 0
result = [[0] * n for _ in range(n)]
for ele in range(1, n**2+1):
result... | 33.310345 | 89 | 0.578675 | 137 | 966 | 3.861314 | 0.233577 | 0.294896 | 0.238185 | 0.196597 | 0.287335 | 0.287335 | 0.287335 | 0.287335 | 0.287335 | 0.287335 | 0 | 0.04209 | 0.286749 | 966 | 28 | 90 | 34.5 | 0.725689 | 0 | 0 | 0.181818 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.045455 | false | 0 | 0.045455 | 0 | 0.181818 | 0.181818 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b5078a4bc7b710d5c2c97e8871a34c7773021818 | 4,747 | py | Python | templates/os/vfs/actions.py | Jumpscale/ays9 | 63bd414ff06372ba885c55eec528f427e63bcbe1 | [
"Apache-2.0"
] | 4 | 2017-06-07T08:10:06.000Z | 2017-11-10T02:20:38.000Z | templates/os/vfs/actions.py | Jumpscale/ays9 | 63bd414ff06372ba885c55eec528f427e63bcbe1 | [
"Apache-2.0"
] | 242 | 2017-05-18T10:51:48.000Z | 2019-09-18T15:09:47.000Z | templates/os/vfs/actions.py | Jumpscale/ays9 | 63bd414ff06372ba885c55eec528f427e63bcbe1 | [
"Apache-2.0"
] | 5 | 2017-06-16T15:43:25.000Z | 2017-09-29T12:48:06.000Z | def install(job):
prefab = job.service.executor.prefab
# For now we download FS from there. when we have proper VM image it will be installed already
if not prefab.core.command_check('fs'):
prefab.core.dir_ensure('$BINDIR')
prefab.core.file_download('https://stor.jumpscale.org/public/fs', '... | 31.646667 | 98 | 0.616389 | 593 | 4,747 | 4.799325 | 0.197302 | 0.077301 | 0.039353 | 0.044273 | 0.770907 | 0.744202 | 0.721012 | 0.674631 | 0.650035 | 0.650035 | 0 | 0.00442 | 0.237413 | 4,747 | 149 | 99 | 31.85906 | 0.781768 | 0.019381 | 0 | 0.701754 | 0 | 0 | 0.367935 | 0.05072 | 0 | 0 | 0 | 0 | 0 | 1 | 0.052632 | false | 0 | 0 | 0 | 0.052632 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d2083651a9a5a77a63ea644225068cb7751350c4 | 160 | py | Python | amazonPriceTracker/app/forms.py | younesaitmha/amazon-price-tracker | 7f039018675c2d60a0efc487d15b3148850ca4ce | [
"MIT"
] | 12 | 2021-02-07T15:35:22.000Z | 2022-03-28T15:24:57.000Z | amazonPriceTracker/app/forms.py | younesaitmha/amazon-price-tracker | 7f039018675c2d60a0efc487d15b3148850ca4ce | [
"MIT"
] | null | null | null | amazonPriceTracker/app/forms.py | younesaitmha/amazon-price-tracker | 7f039018675c2d60a0efc487d15b3148850ca4ce | [
"MIT"
] | 3 | 2021-07-02T13:47:20.000Z | 2021-10-31T02:32:55.000Z | from django import forms
from .models import Product
class AddProductForm(forms.ModelForm):
class Meta:
model = Product
fields = ('url', )
| 20 | 38 | 0.66875 | 18 | 160 | 5.944444 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 160 | 7 | 39 | 22.857143 | 0.891667 | 0 | 0 | 0 | 0 | 0 | 0.01875 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
d21cba577d07f7bd35a0a4596a81156b9a454be7 | 163 | py | Python | pyvis_network/__about__.py | daniel-yj-yang/pyvis-network | 90db3fd2f70a21a95a448820a8a4de723dad513a | [
"BSD-3-Clause"
] | 2 | 2021-12-10T06:35:56.000Z | 2022-01-02T01:47:58.000Z | pyvis_network/__about__.py | daniel-yj-yang/pyvis-network | 90db3fd2f70a21a95a448820a8a4de723dad513a | [
"BSD-3-Clause"
] | null | null | null | pyvis_network/__about__.py | daniel-yj-yang/pyvis-network | 90db3fd2f70a21a95a448820a8a4de723dad513a | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
# Author: Daniel Yang <daniel.yj.yang@gmail.com>
#
# License: BSD-3-Clause
__version__ = "0.0.6"
__license__ = "BSD-3-Clause License"
| 14.818182 | 48 | 0.644172 | 24 | 163 | 4.041667 | 0.666667 | 0.206186 | 0.226804 | 0.350515 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043796 | 0.159509 | 163 | 10 | 49 | 16.3 | 0.664234 | 0.552147 | 0 | 0 | 0 | 0 | 0.367647 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d220b3401d791d99ec685580698e1ecef3a4e538 | 136 | py | Python | app/models.py | zaki-yama/gae-django-starter | f8da546ec0bbf620922517bbca9242e9a7d22cc7 | [
"MIT"
] | null | null | null | app/models.py | zaki-yama/gae-django-starter | f8da546ec0bbf620922517bbca9242e9a7d22cc7 | [
"MIT"
] | 1 | 2015-10-09T06:54:43.000Z | 2015-10-09T06:55:39.000Z | app/models.py | zaki-yama/gae-django-starter | f8da546ec0bbf620922517bbca9242e9a7d22cc7 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from google.appengine.ext import ndb
class MyModel(ndb.Model):
author = ndb.UserProperty() # dummy property
| 19.428571 | 46 | 0.698529 | 18 | 136 | 5.277778 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008696 | 0.154412 | 136 | 6 | 47 | 22.666667 | 0.817391 | 0.264706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
d22870e3b3b49d2be628830638fb856026750052 | 19 | py | Python | rio_tiler/io/__init__.py | mvmendes/rio-tiler | f9d96736832b9c8005aaf9cb0eee3c8e475a32d6 | [
"BSD-3-Clause"
] | null | null | null | rio_tiler/io/__init__.py | mvmendes/rio-tiler | f9d96736832b9c8005aaf9cb0eee3c8e475a32d6 | [
"BSD-3-Clause"
] | null | null | null | rio_tiler/io/__init__.py | mvmendes/rio-tiler | f9d96736832b9c8005aaf9cb0eee3c8e475a32d6 | [
"BSD-3-Clause"
] | null | null | null | """rio-tiler.io"""
| 9.5 | 18 | 0.526316 | 3 | 19 | 3.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 19 | 1 | 19 | 19 | 0.555556 | 0.631579 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d246ac0d79e4e11236e3008633265de1ad4640af | 375 | py | Python | generators/intg.py | kenetec/dlish | b37e87f431edf98dbd3f2500dc843a22bc9d71f1 | [
"MIT"
] | 2 | 2019-11-18T04:47:29.000Z | 2020-11-06T04:11:26.000Z | generators/intg.py | kenetec/dlish | b37e87f431edf98dbd3f2500dc843a22bc9d71f1 | [
"MIT"
] | null | null | null | generators/intg.py | kenetec/dlish | b37e87f431edf98dbd3f2500dc843a22bc9d71f1 | [
"MIT"
] | 1 | 2020-11-06T04:11:32.000Z | 2020-11-06T04:11:32.000Z | from .geng import Generator
import random
class FromRange(Generator):
"""Generates numbers based off of nmin and nmax.\n
*behaves same as random.randrange*
"""
def __init__(self, nmin, nmax=0):
self.nmin = nmin
self.nmax = nmax >= nmin and nmax or nmin
def gen(self):... | 28.846154 | 55 | 0.629333 | 50 | 375 | 4.64 | 0.54 | 0.103448 | 0.094828 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003676 | 0.274667 | 375 | 13 | 56 | 28.846154 | 0.849265 | 0.216 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.125 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
d26baa810b62030623bef5d310787461745b70ee | 909 | py | Python | fdk_client/application/models/LeadValidator.py | kavish-d/fdk-client-python | a1023eb530473322cb52e095fc4ceb226c1e6037 | [
"MIT"
] | null | null | null | fdk_client/application/models/LeadValidator.py | kavish-d/fdk-client-python | a1023eb530473322cb52e095fc4ceb226c1e6037 | [
"MIT"
] | null | null | null | fdk_client/application/models/LeadValidator.py | kavish-d/fdk-client-python | a1023eb530473322cb52e095fc4ceb226c1e6037 | [
"MIT"
] | null | null | null | """Class Validators."""
from marshmallow import fields, Schema
from marshmallow.validate import OneOf
from ..enums import *
from ..models.BaseSchema import BaseSchema
class LeadValidator:
class getTicket(BaseSchema):
id = fields.Str(required=False)
class createHistory(Base... | 21.139535 | 53 | 0.592959 | 76 | 909 | 7.065789 | 0.368421 | 0.100559 | 0.189944 | 0.24581 | 0.463687 | 0.454376 | 0.454376 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 909 | 43 | 54 | 21.139535 | 0.886139 | 0.018702 | 0 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.052632 | 0.210526 | 0 | 0.631579 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
964fafef3a2472c977b089fcb1ed37c102cd4f0d | 50 | py | Python | gutter/django/__init__.py | graingert/gutter-django | 2b03867940d8506ba5978bd5a6328f3239d81814 | [
"Apache-2.0"
] | 23 | 2015-02-18T08:55:45.000Z | 2022-03-10T05:46:53.000Z | gutter/django/__init__.py | graingert/gutter-django | 2b03867940d8506ba5978bd5a6328f3239d81814 | [
"Apache-2.0"
] | 5 | 2015-02-09T07:30:41.000Z | 2018-08-18T19:08:51.000Z | gutter/django/__init__.py | graingert/gutter-django | 2b03867940d8506ba5978bd5a6328f3239d81814 | [
"Apache-2.0"
] | 3 | 2016-01-28T16:06:29.000Z | 2017-04-09T00:12:32.000Z | from autodiscovery import discover as autodiscover | 50 | 50 | 0.9 | 6 | 50 | 7.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 50 | 1 | 50 | 50 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
9667c412d9da223ea7d539ecc3a306e6985ccda3 | 413 | py | Python | solutions/python/2018/create2DArray.py | lucifer1198/Codesignal | 07d6d6457b8b3a9f1c51118b0e8e44cce66ee039 | [
"MIT"
] | 2 | 2020-12-21T22:09:26.000Z | 2021-01-01T15:40:01.000Z | solutions/python/2018/create2DArray.py | nsu1210/Codesignal | 07d6d6457b8b3a9f1c51118b0e8e44cce66ee039 | [
"MIT"
] | null | null | null | solutions/python/2018/create2DArray.py | nsu1210/Codesignal | 07d6d6457b8b3a9f1c51118b0e8e44cce66ee039 | [
"MIT"
] | 1 | 2021-01-28T18:15:02.000Z | 2021-01-28T18:15:02.000Z | """
Given array of integers lengths, create an array of arrays output such that output[i] consists of lengths[i] elements and output[i][j] = j.
Example
For lengths = [1, 2, 0, 4], the output should be
create2DArray(lengths) = [[0],
[0, 1],
[],
... | 22.944444 | 139 | 0.532688 | 55 | 413 | 4 | 0.563636 | 0.063636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04797 | 0.343826 | 413 | 17 | 140 | 24.294118 | 0.763838 | 0.808717 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
967152a84febce022e9df5726e34de15fc2a8479 | 168 | py | Python | Examples/AppKit/CocoaBindings/TemperatureTransformer/Transformer.py | Khan/pyobjc-framework-Cocoa | f8b015ea2a72d8d78be6084fb12925c4785b8f1f | [
"MIT"
] | 132 | 2015-01-01T10:02:42.000Z | 2022-03-09T12:51:01.000Z | mac/pyobjc-framework-Cocoa/Examples/AppKit/CocoaBindings/TemperatureTransformer/Transformer.py | mba811/music-player | 7998986b34cfda2244ef622adefb839331b81a81 | [
"BSD-2-Clause"
] | 6 | 2015-01-06T08:23:19.000Z | 2019-03-14T12:22:06.000Z | mac/pyobjc-framework-Cocoa/Examples/AppKit/CocoaBindings/TemperatureTransformer/Transformer.py | mba811/music-player | 7998986b34cfda2244ef622adefb839331b81a81 | [
"BSD-2-Clause"
] | 27 | 2015-02-23T11:51:43.000Z | 2022-03-07T02:34:18.000Z | from PyObjCTools import AppHelper
# import classes required to start application
import TransformerAppDelegate
if __name__ == '__main__':
AppHelper.runEventLoop()
| 24 | 46 | 0.809524 | 17 | 168 | 7.529412 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136905 | 168 | 6 | 47 | 28 | 0.882759 | 0.261905 | 0 | 0 | 0 | 0 | 0.065574 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
9686aa19db24e308407e9a7d709d13b0dc76b360 | 38 | py | Python | yt/frontends/gamer/__init__.py | tukss/yt | 8bf6fce609cad3d4b291ebd94667019ab2e18377 | [
"BSD-3-Clause-Clear"
] | 1 | 2021-09-15T08:17:43.000Z | 2021-09-15T08:17:43.000Z | yt/frontends/gamer/__init__.py | tukss/yt | 8bf6fce609cad3d4b291ebd94667019ab2e18377 | [
"BSD-3-Clause-Clear"
] | 8 | 2020-04-02T16:51:49.000Z | 2022-01-11T14:12:44.000Z | yt/frontends/gamer/__init__.py | stonnes/yt | aad3cfa3b4ebab7838352ab467275a27c26ff363 | [
"BSD-3-Clause-Clear"
] | 2 | 2020-08-12T15:46:11.000Z | 2021-02-09T13:09:17.000Z | """
API for yt.frontends.gamer
"""
| 5.428571 | 26 | 0.578947 | 5 | 38 | 4.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 38 | 6 | 27 | 6.333333 | 0.733333 | 0.684211 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
96890a6db7ca70c90c10fd01aa7e1d1d17862534 | 197 | py | Python | tests/list/rom07.py | ktok07b6/polyphony | 657c5c7440520db6b4985970bd50547407693ac4 | [
"MIT"
] | 83 | 2015-11-30T09:59:13.000Z | 2021-08-03T09:12:28.000Z | tests/list/rom07.py | jesseclin/polyphony | 657c5c7440520db6b4985970bd50547407693ac4 | [
"MIT"
] | 4 | 2017-02-10T01:43:11.000Z | 2020-07-14T03:52:25.000Z | tests/list/rom07.py | jesseclin/polyphony | 657c5c7440520db6b4985970bd50547407693ac4 | [
"MIT"
] | 11 | 2016-11-18T14:39:15.000Z | 2021-02-23T10:05:20.000Z | from polyphony import testbench
def rom07(data):
return data[0]
@testbench
def test():
assert 1 == rom07([1] * 8)
assert 2 == rom07([2] * 8)
assert 3 == rom07([3] * 8)
test()
| 12.3125 | 31 | 0.573604 | 29 | 197 | 3.896552 | 0.517241 | 0.212389 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.124138 | 0.263959 | 197 | 15 | 32 | 13.133333 | 0.655172 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.222222 | false | 0 | 0.111111 | 0.111111 | 0.444444 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
96980153af54fcda8c3c36fd8c0e4d2f3580f2dc | 98 | py | Python | config/gunicorn.config.py | deNBI/newsservice | 3aea322caee22ffa5bdc8e7c740e8899ad105422 | [
"Apache-2.0"
] | null | null | null | config/gunicorn.config.py | deNBI/newsservice | 3aea322caee22ffa5bdc8e7c740e8899ad105422 | [
"Apache-2.0"
] | 13 | 2019-10-17T15:49:30.000Z | 2020-03-13T10:41:08.000Z | config/gunicorn.config.py | deNBI/newsservice | 3aea322caee22ffa5bdc8e7c740e8899ad105422 | [
"Apache-2.0"
] | null | null | null | accesslog = 'logs/gunicorn.access.log'
errorlog = 'logs/gunicorn.error.log'
capture_output = True
| 24.5 | 38 | 0.77551 | 13 | 98 | 5.769231 | 0.769231 | 0.32 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091837 | 98 | 3 | 39 | 32.666667 | 0.842697 | 0 | 0 | 0 | 0 | 0 | 0.479592 | 0.479592 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
969e49930607a9bb5ff8828daf96de25135e6017 | 379 | py | Python | itertools.py | ericpearl/python-skeletons | 95ad24b666e475998e5d1cc02ed53a2188036167 | [
"Apache-2.0"
] | 93 | 2015-01-20T06:36:59.000Z | 2021-11-08T09:49:59.000Z | itertools.py | ericpearl/python-skeletons | 95ad24b666e475998e5d1cc02ed53a2188036167 | [
"Apache-2.0"
] | 14 | 2015-05-23T23:19:41.000Z | 2021-12-01T01:02:36.000Z | itertools.py | ericpearl/python-skeletons | 95ad24b666e475998e5d1cc02ed53a2188036167 | [
"Apache-2.0"
] | 62 | 2015-01-30T13:13:39.000Z | 2022-03-19T08:26:45.000Z | """Skeleton for 'itertools' stdlib module."""
class islice(object):
def __init__(self, iterable, start, stop=None, step=None):
"""
:type iterable: collections.Iterable[T]
:type start: numbers.Integral
:type stop: numbers.Integral | None
:type step: numbers.Integral | None
... | 29.153846 | 62 | 0.601583 | 41 | 379 | 5.463415 | 0.560976 | 0.200893 | 0.169643 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.271768 | 379 | 12 | 63 | 31.583333 | 0.811594 | 0.551451 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
96c1ac6c66c64bf027d177ab64c7c1b0a90f78e1 | 185 | py | Python | env/lib/python3.8/site-packages/fastavro/repository/base.py | paulowe/apache-beam-redocumentation | d1b0f345d8e46f9893f56c2bb890edc07be09f2a | [
"MIT"
] | null | null | null | env/lib/python3.8/site-packages/fastavro/repository/base.py | paulowe/apache-beam-redocumentation | d1b0f345d8e46f9893f56c2bb890edc07be09f2a | [
"MIT"
] | null | null | null | env/lib/python3.8/site-packages/fastavro/repository/base.py | paulowe/apache-beam-redocumentation | d1b0f345d8e46f9893f56c2bb890edc07be09f2a | [
"MIT"
] | null | null | null | from abc import ABC, abstractmethod
class SchemaRepositoryError(Exception):
pass
class AbstractSchemaRepository(ABC):
@abstractmethod
def load(self, name):
pass
| 15.416667 | 39 | 0.724324 | 18 | 185 | 7.444444 | 0.722222 | 0.253731 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210811 | 185 | 11 | 40 | 16.818182 | 0.917808 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0.285714 | 0.142857 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
737d749faa515e38f19a002b3f46dfd632f56bdf | 1,324 | py | Python | libs/sdc_etl_libs/test/sdc_database_helpers/snowflake_database_test.py | darknegma/docker-airflow | 44e3d02d7ac43c8876145ae47acfbbbde67230df | [
"Apache-2.0"
] | null | null | null | libs/sdc_etl_libs/test/sdc_database_helpers/snowflake_database_test.py | darknegma/docker-airflow | 44e3d02d7ac43c8876145ae47acfbbbde67230df | [
"Apache-2.0"
] | 3 | 2021-03-31T19:26:57.000Z | 2021-12-13T20:33:01.000Z | libs/sdc_etl_libs/test/sdc_database_helpers/snowflake_database_test.py | darknegma/docker-airflow | 44e3d02d7ac43c8876145ae47acfbbbde67230df | [
"Apache-2.0"
] | null | null | null | import sys
import os
sys.path.append(os.path.dirname(os.path.abspath(__file__)) + "/../../../")
from sdc_etl_libs.database_helpers.SnowflakeDatabase import SnowflakeDatabase
import pytest
def test_clean_column_names():
# All characters to uppercase
assert SnowflakeDatabase.clean_column_name("total_sales") ==... | 47.285714 | 117 | 0.759063 | 156 | 1,324 | 5.987179 | 0.384615 | 0.105996 | 0.239829 | 0.291221 | 0.593148 | 0.471092 | 0.417559 | 0.299786 | 0.299786 | 0 | 0 | 0.001775 | 0.148792 | 1,324 | 27 | 118 | 49.037037 | 0.826974 | 0.142749 | 0 | 0 | 0 | 0 | 0.352263 | 0.103815 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.0625 | true | 0 | 0.25 | 0 | 0.3125 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
737dbd13f0288f16383f44c4a0c33ef7b19c1098 | 282 | py | Python | libs/generate_passwd.py | xujpxm/v_charge | abb1237eeca066cec435680e38ab6878a8d4ac27 | [
"MIT"
] | 3 | 2017-08-18T07:52:32.000Z | 2019-08-31T12:47:10.000Z | libs/generate_passwd.py | xujpxm/v_charge | abb1237eeca066cec435680e38ab6878a8d4ac27 | [
"MIT"
] | null | null | null | libs/generate_passwd.py | xujpxm/v_charge | abb1237eeca066cec435680e38ab6878a8d4ac27 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
import pwgen
def generate_pwd(number=8):
"""
Generate radom secure password
:return: random string for pasword
"""
generater = pwgen.pwgen
password = generater(number)
return password
| 20.142857 | 39 | 0.673759 | 32 | 282 | 5.75 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009259 | 0.234043 | 282 | 13 | 40 | 21.692308 | 0.842593 | 0.312057 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
738ed7d9f1d53ca4f46e314f5cbdcb5c4418cfdd | 127 | py | Python | templates/python-flask/runserver.py | alice1017/setup-project-2 | 86707fa01ebaf28b9ecd24b31682e16a6b24784a | [
"MIT"
] | null | null | null | templates/python-flask/runserver.py | alice1017/setup-project-2 | 86707fa01ebaf28b9ecd24b31682e16a6b24784a | [
"MIT"
] | 1 | 2017-03-21T07:27:58.000Z | 2017-03-22T14:25:50.000Z | templates/python-flask/runserver.py | alice1017/setup-project-2 | 86707fa01ebaf28b9ecd24b31682e16a6b24784a | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# coding: utf-8
from app import app
if __name__ == "__main__":
app.run(host="0.0.0.0", port=8080)
| 14.111111 | 38 | 0.637795 | 23 | 127 | 3.173913 | 0.782609 | 0.082192 | 0.082192 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 0.173228 | 127 | 8 | 39 | 15.875 | 0.609524 | 0.267717 | 0 | 0 | 0 | 0 | 0.164835 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.