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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2ab104de0f6c88e872bb2ebd675c39b063789739 | 128 | py | Python | build_gpcr/management/commands/build_ECD_residues.py | pszgaspar/protwis | 4989a67175ef3c95047d795c843cf6b9cf4141fa | [
"Apache-2.0"
] | 21 | 2016-01-20T09:33:14.000Z | 2021-12-20T19:19:45.000Z | build_gpcr/management/commands/build_ECD_residues.py | pszgaspar/protwis | 4989a67175ef3c95047d795c843cf6b9cf4141fa | [
"Apache-2.0"
] | 75 | 2016-02-26T16:29:58.000Z | 2022-03-21T12:35:13.000Z | build_gpcr/management/commands/build_ECD_residues.py | pszgaspar/protwis | 4989a67175ef3c95047d795c843cf6b9cf4141fa | [
"Apache-2.0"
] | 77 | 2016-01-22T08:44:26.000Z | 2022-02-01T15:54:56.000Z | from build.management.commands.build_ECD_residues import Command as BuildECDResidues
class Command(BuildECDResidues):
pass | 25.6 | 84 | 0.84375 | 15 | 128 | 7.066667 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109375 | 128 | 5 | 85 | 25.6 | 0.929825 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
633068ab670b10cff54e8307c3a84448142ba4da | 3,637 | py | Python | starfish/test/image/test_imagestack.py | joshmoore/starfish | db38168da35f01ad1541f67aebe49a083d12e224 | [
"MIT"
] | null | null | null | starfish/test/image/test_imagestack.py | joshmoore/starfish | db38168da35f01ad1541f67aebe49a083d12e224 | [
"MIT"
] | null | null | null | starfish/test/image/test_imagestack.py | joshmoore/starfish | db38168da35f01ad1541f67aebe49a083d12e224 | [
"MIT"
] | 1 | 2019-03-12T23:39:55.000Z | 2019-03-12T23:39:55.000Z | import numpy as np
from starfish.constants import Indices
from starfish.test.dataset_fixtures import synthetic_stack
def test_get_slice_simple_index():
"""
Retrieve a slice across one of the indices at the end. For instance, if the dimensions are
(P, Q0,..., Qn-1, R), slice across either P or R.
"""... | 29.096 | 98 | 0.609018 | 534 | 3,637 | 4.058052 | 0.129213 | 0.083064 | 0.141209 | 0.061375 | 0.858791 | 0.807568 | 0.774342 | 0.742963 | 0.720812 | 0.647439 | 0 | 0.008525 | 0.25818 | 3,637 | 124 | 99 | 29.330645 | 0.794663 | 0.190267 | 0 | 0.527778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 1 | 0.083333 | false | 0 | 0.041667 | 0 | 0.125 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2d84fe4a2705b8172b0b458d7dd18849cd34c8fc | 18,809 | py | Python | realestate_com_au/graphql/searchSold.py | CuestaCodes/realestate-com-au-api | 35001af4b7ff0fa1283a67dcb5b540d780f19a97 | [
"MIT"
] | 30 | 2020-01-10T16:51:44.000Z | 2022-03-27T03:31:50.000Z | realestate_com_au/graphql/searchSold.py | CuestaCodes/realestate-com-au-api | 35001af4b7ff0fa1283a67dcb5b540d780f19a97 | [
"MIT"
] | 12 | 2020-05-21T07:22:53.000Z | 2021-12-14T01:51:55.000Z | realestate_com_au/graphql/searchSold.py | CuestaCodes/realestate-com-au-api | 35001af4b7ff0fa1283a67dcb5b540d780f19a97 | [
"MIT"
] | 23 | 2020-04-15T00:50:14.000Z | 2022-01-19T21:49:55.000Z | QUERY = """
query searchByQuery($query: SearchQueryJson!, $testListings: Boolean!) @debug(testListings: $testListings) { soldSearch(query: $query) { leadGen { ...LeadGenData __typename } marketInsights { ...ResultsMarketInsightsData __typename } exclusiveShowcase { ...CommonExclusiveShowcaseData __type... | 4,702.25 | 18,792 | 0.734755 | 1,355 | 18,809 | 9.638376 | 0.154244 | 0.224196 | 0.130475 | 0.093109 | 0.41562 | 0.332466 | 0.252067 | 0.199081 | 0.132848 | 0.099617 | 0 | 0 | 0.207294 | 18,809 | 3 | 18,793 | 6,269.666667 | 0.875922 | 0 | 0 | 0 | 0 | 0.333333 | 0.999203 | 0.144984 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2dba51d1b87198bcb17ff47d11e2f5f15f514ae2 | 59,763 | py | Python | pirates/leveleditor/worldData/interior_spanish_store_jeweler.py | itsyaboyrocket/pirates | 6ca1e7d571c670b0d976f65e608235707b5737e3 | [
"BSD-3-Clause"
] | 3 | 2021-02-25T06:38:13.000Z | 2022-03-22T07:00:15.000Z | pirates/leveleditor/worldData/interior_spanish_store_jeweler.py | itsyaboyrocket/pirates | 6ca1e7d571c670b0d976f65e608235707b5737e3 | [
"BSD-3-Clause"
] | null | null | null | pirates/leveleditor/worldData/interior_spanish_store_jeweler.py | itsyaboyrocket/pirates | 6ca1e7d571c670b0d976f65e608235707b5737e3 | [
"BSD-3-Clause"
] | 1 | 2021-02-25T06:38:17.000Z | 2021-02-25T06:38:17.000Z | # uncompyle6 version 3.2.0
# Python bytecode 2.4 (62061)
# Decompiled from: Python 2.7.14 (v2.7.14:84471935ed, Sep 16 2017, 20:19:30) [MSC v.1500 32 bit (Intel)]
# Embedded file name: pirates.leveleditor.worldData.interior_spanish_store_jeweler
from pandac.PandaModules import Point3, VBase3, Vec4, Vec3
objectStruct = {... | 8,537.571429 | 59,305 | 0.671168 | 8,025 | 59,763 | 4.945794 | 0.120498 | 0.027463 | 0.026984 | 0.020761 | 0.696196 | 0.533913 | 0.520862 | 0.437365 | 0.376694 | 0.362686 | 0 | 0.275822 | 0.069642 | 59,763 | 7 | 59,306 | 8,537.571429 | 0.438014 | 0.003949 | 0 | 0 | 0 | 0 | 0.576281 | 0.291232 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
2dbba3b900e1befd09a9a564c9436daf4169e460 | 48 | py | Python | latex_param_values/__init__.py | ModelDBRepository/228604 | 8f641f73bcac2700b476663fe656fcad7d63470d | [
"BSD-3-Clause"
] | null | null | null | latex_param_values/__init__.py | ModelDBRepository/228604 | 8f641f73bcac2700b476663fe656fcad7d63470d | [
"BSD-3-Clause"
] | null | null | null | latex_param_values/__init__.py | ModelDBRepository/228604 | 8f641f73bcac2700b476663fe656fcad7d63470d | [
"BSD-3-Clause"
] | null | null | null | from latex_param_values import LatexParamValues
| 24 | 47 | 0.916667 | 6 | 48 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 48 | 1 | 48 | 48 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2dbe6ab27646d5b91c4723961b56d545d28d50f6 | 57 | py | Python | python/testData/completion/heavyStarPropagation/lib/_pkg0/_pkg0_0/_pkg0_0_1/_pkg0_0_1_1/__init__.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/completion/heavyStarPropagation/lib/_pkg0/_pkg0_0/_pkg0_0_1/_pkg0_0_1_1/__init__.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/completion/heavyStarPropagation/lib/_pkg0/_pkg0_0/_pkg0_0_1/_pkg0_0_1_1/__init__.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | from ._pkg0_0_1_1_0 import *
from ._pkg0_0_1_1_1 import * | 28.5 | 28 | 0.807018 | 14 | 57 | 2.571429 | 0.357143 | 0.166667 | 0.5 | 0.555556 | 0.611111 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0.122807 | 57 | 2 | 29 | 28.5 | 0.52 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
2dd89f4e531be238a851268e9dcae88676c38adf | 3,345 | py | Python | tests/mdx_link2md_test.py | scyu16/mdx_link2md | d47b965d22817bbe462a37c19a62aaa8214f15c2 | [
"MIT"
] | null | null | null | tests/mdx_link2md_test.py | scyu16/mdx_link2md | d47b965d22817bbe462a37c19a62aaa8214f15c2 | [
"MIT"
] | null | null | null | tests/mdx_link2md_test.py | scyu16/mdx_link2md | d47b965d22817bbe462a37c19a62aaa8214f15c2 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
import pytest
import markdown
try:
from mdx_link2md.markdownlinks import MarkdownLinkExtension
except ImportError:
import sys
import os
curr_dir_path = os.path.dirname(os.path.abspath(__file__))
sys.path.append(os.path.dirname(curr_dir_path))
try:
from mdx_link2m... | 37.166667 | 90 | 0.649925 | 464 | 3,345 | 4.512931 | 0.176724 | 0.074499 | 0.08596 | 0.08596 | 0.906877 | 0.906877 | 0.877746 | 0.877746 | 0.877746 | 0.807068 | 0 | 0.002662 | 0.213752 | 3,345 | 89 | 91 | 37.58427 | 0.793536 | 0.030493 | 0 | 0.633333 | 0 | 0.133333 | 0.214815 | 0.017901 | 0 | 0 | 0 | 0 | 0.066667 | 1 | 0.066667 | false | 0 | 0.133333 | 0 | 0.216667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9312dccb6de429ed9d02e31c5743ae23049d63d7 | 2,296 | py | Python | generators.py | Seemos/data-generator | 39d376cd509f3116dd998f90153ba5b3a5af6aa8 | [
"Apache-2.0"
] | null | null | null | generators.py | Seemos/data-generator | 39d376cd509f3116dd998f90153ba5b3a5af6aa8 | [
"Apache-2.0"
] | null | null | null | generators.py | Seemos/data-generator | 39d376cd509f3116dd998f90153ba5b3a5af6aa8 | [
"Apache-2.0"
] | null | null | null | import random
class ClusterGenerator:
def create_clusters_2D(self, num_clusters, range_x, range_y, range_points, max_distance, seed=42):
datapoints = []
random.seed(seed)
for cluster in range(num_clusters):
center_x = random.uniform(*(range_x))
center_y = random.uni... | 44.153846 | 111 | 0.62108 | 267 | 2,296 | 5.101124 | 0.127341 | 0.145374 | 0.105727 | 0.123348 | 0.820852 | 0.806902 | 0.806902 | 0.806167 | 0.762849 | 0.746696 | 0 | 0.007199 | 0.273955 | 2,296 | 52 | 112 | 44.153846 | 0.809838 | 0 | 0 | 0.695652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.086957 | false | 0 | 0.021739 | 0 | 0.23913 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
93470109749e818b7e8e7d4eefc4b4d2d5b64d3b | 199 | py | Python | src/ope/deep_gmm/__init__.py | liyuan9988/IVOPEwithACME | d77fab09b2e1cb8d3dbd8b2ab88adcce6a853558 | [
"MIT"
] | 1 | 2020-09-05T01:25:39.000Z | 2020-09-05T01:25:39.000Z | src/ope/deep_gmm/__init__.py | liyuan9988/IVOPEwithACME | d77fab09b2e1cb8d3dbd8b2ab88adcce6a853558 | [
"MIT"
] | null | null | null | src/ope/deep_gmm/__init__.py | liyuan9988/IVOPEwithACME | d77fab09b2e1cb8d3dbd8b2ab88adcce6a853558 | [
"MIT"
] | null | null | null | # pylint: disable=missing-module-docstring
from .learner import AdversarialSEMLearner
from .learner import AGMMLearner
from .learner import DeepGMMLearner
from .nn_structure import make_ope_networks
| 33.166667 | 43 | 0.859296 | 24 | 199 | 7 | 0.666667 | 0.196429 | 0.303571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095477 | 199 | 5 | 44 | 39.8 | 0.933333 | 0.201005 | 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 | 1 | 0 | 0 | 6 |
934d95c68868daf4777611e83f3717d6aab0ee4b | 36 | py | Python | models/__init__.py | ShivanganaRawat/ALPO_Segmentation | 14b75d1dce39dd1d308128d978a6c5ed0dc39442 | [
"MIT"
] | 2 | 2021-08-10T14:18:26.000Z | 2022-01-15T04:58:35.000Z | models/__init__.py | ShivanganaRawat/ALPO_Segmentation | 14b75d1dce39dd1d308128d978a6c5ed0dc39442 | [
"MIT"
] | null | null | null | models/__init__.py | ShivanganaRawat/ALPO_Segmentation | 14b75d1dce39dd1d308128d978a6c5ed0dc39442 | [
"MIT"
] | 1 | 2022-02-15T09:44:47.000Z | 2022-02-15T09:44:47.000Z | from .deeplabv3_plus import DeepLab
| 18 | 35 | 0.861111 | 5 | 36 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03125 | 0.111111 | 36 | 1 | 36 | 36 | 0.90625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
935dcc9d1cbd9c7f82a2cc32fd6e80df891eadba | 188 | py | Python | Day1.py | BeGifted/Youdao_crawler | 272a95a3df2cc2ffdad6354cf5494ea71d94c65b | [
"MIT"
] | null | null | null | Day1.py | BeGifted/Youdao_crawler | 272a95a3df2cc2ffdad6354cf5494ea71d94c65b | [
"MIT"
] | null | null | null | Day1.py | BeGifted/Youdao_crawler | 272a95a3df2cc2ffdad6354cf5494ea71d94c65b | [
"MIT"
] | null | null | null | """
hello,world!
Version: 0.1
Author: gongyuandaye
"""
print('hello,world!')
#print('hello',',','world!')
print('hello','world','haha',sep=',',end='!\n')
print('hello, world',end='!\n')
| 15.666667 | 47 | 0.595745 | 25 | 188 | 4.48 | 0.48 | 0.446429 | 0.535714 | 0.357143 | 0.401786 | 0.401786 | 0 | 0 | 0 | 0 | 0 | 0.011494 | 0.074468 | 188 | 11 | 48 | 17.090909 | 0.632184 | 0.398936 | 0 | 0 | 0 | 0 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
93847737ad8bac376e6b5bf2cbd6e0cec1db567d | 152 | py | Python | base/models/invoice.py | geek911/hospitalmanagement | 32ace7a10cfbd919a39e2101ae60bf2633224788 | [
"MIT"
] | null | null | null | base/models/invoice.py | geek911/hospitalmanagement | 32ace7a10cfbd919a39e2101ae60bf2633224788 | [
"MIT"
] | null | null | null | base/models/invoice.py | geek911/hospitalmanagement | 32ace7a10cfbd919a39e2101ae60bf2633224788 | [
"MIT"
] | null | null | null | from django.db import models
from base.models.base import BaseEntity
from base.models.inventory import Inventory
class Invocie(BaseEntity):
pass
| 16.888889 | 43 | 0.802632 | 21 | 152 | 5.809524 | 0.52381 | 0.131148 | 0.229508 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144737 | 152 | 8 | 44 | 19 | 0.938462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.6 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
fa7fca13aeb53b066926a935fcf62512a5d2807f | 1,572 | py | Python | cart/forms.py | LudwigOtto/ECommerce | 07fe32954604f9f9785e5e1b4c51c405d1d08323 | [
"MIT"
] | 1 | 2020-03-27T18:09:46.000Z | 2020-03-27T18:09:46.000Z | cart/forms.py | LudwigOtto/ECommerce | 07fe32954604f9f9785e5e1b4c51c405d1d08323 | [
"MIT"
] | null | null | null | cart/forms.py | LudwigOtto/ECommerce | 07fe32954604f9f9785e5e1b4c51c405d1d08323 | [
"MIT"
] | null | null | null | from django import forms
from .models import Item
from shop.models import Inventory
PRODUCT_QUANTITY_CHOICES = [(i, str(i)) for i in range(1, 21)]
class CartAddProductForm(forms.Form):
# def __init__(self, target_id=20):
# try:
# quantity_per = Inventory.objects.get(item_id=target_id).quantity
# print('#####... | 35.727273 | 76 | 0.630407 | 187 | 1,572 | 5.122995 | 0.256684 | 0.10334 | 0.066806 | 0.079332 | 0.837161 | 0.837161 | 0.776618 | 0.743215 | 0.743215 | 0.743215 | 0 | 0.01 | 0.173028 | 1,572 | 44 | 77 | 35.727273 | 0.726923 | 0.411578 | 0 | 0.086957 | 0 | 0 | 0.098286 | 0.072 | 0 | 0 | 0 | 0 | 0 | 1 | 0.043478 | false | 0.043478 | 0.130435 | 0 | 0.304348 | 0.217391 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fa82f96908d0016dc68345f04effdea676461773 | 297 | py | Python | src/posts/serializers/__init__.py | edgarbs1998/partesanato-server | 1b01f75f94dca85ff5b963c49c237fb758b27b43 | [
"MIT"
] | null | null | null | src/posts/serializers/__init__.py | edgarbs1998/partesanato-server | 1b01f75f94dca85ff5b963c49c237fb758b27b43 | [
"MIT"
] | 1 | 2020-06-05T22:09:06.000Z | 2020-06-05T22:09:06.000Z | src/posts/serializers/__init__.py | edgarbs1998/partesanato-server | 1b01f75f94dca85ff5b963c49c237fb758b27b43 | [
"MIT"
] | null | null | null | # posts/serializers/__init__.py
from posts.serializers.user import UserSerializer, AdminUserSerializer
from posts.serializers.comment import PostCommentSerializer
from posts.serializers.image import PostImageSerializer
from posts.serializers.post import PostSerializer, AdminPostSerializer
| 42.428571 | 71 | 0.861953 | 30 | 297 | 8.4 | 0.533333 | 0.31746 | 0.31746 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 297 | 6 | 72 | 49.5 | 0.933333 | 0.097643 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fa8b2ad6d6387aa6848ac518baf3d8bb637ac0c7 | 45 | py | Python | keyboards/__init__.py | slimsevernake/SuperCoinbot | 2f1bec609aca17f6472f9a517517a9464b6811b1 | [
"MIT"
] | null | null | null | keyboards/__init__.py | slimsevernake/SuperCoinbot | 2f1bec609aca17f6472f9a517517a9464b6811b1 | [
"MIT"
] | null | null | null | keyboards/__init__.py | slimsevernake/SuperCoinbot | 2f1bec609aca17f6472f9a517517a9464b6811b1 | [
"MIT"
] | null | null | null | from .default import *
from .inline import *
| 15 | 22 | 0.733333 | 6 | 45 | 5.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177778 | 45 | 2 | 23 | 22.5 | 0.891892 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fae2a371c3acfffbaaaa485e80456bf28d4bdf9c | 3,414 | py | Python | tests/test_blueprint.py | ONSdigital/spp-cognito-auth | 0630b4e6516db4d5715c86fef72dd2886f0b0057 | [
"MIT"
] | null | null | null | tests/test_blueprint.py | ONSdigital/spp-cognito-auth | 0630b4e6516db4d5715c86fef72dd2886f0b0057 | [
"MIT"
] | null | null | null | tests/test_blueprint.py | ONSdigital/spp-cognito-auth | 0630b4e6516db4d5715c86fef72dd2886f0b0057 | [
"MIT"
] | 1 | 2021-04-11T07:57:14.000Z | 2021-04-11T07:57:14.000Z | from unittest import mock
from spp_cognito_auth import Auth, AuthBlueprint
def test_auth_blueprint_logout(flask_app, client):
flask_app.auth._session = {"foo": "bar"}
flask_app.auth._session["state"] = "old-state"
flask_app.register_blueprint(AuthBlueprint().blueprint())
response = client.get("/auth/... | 43.769231 | 88 | 0.711775 | 438 | 3,414 | 5.3379 | 0.155251 | 0.075278 | 0.061591 | 0.089393 | 0.905902 | 0.88195 | 0.845595 | 0.828486 | 0.786997 | 0.786997 | 0 | 0.005437 | 0.137961 | 3,414 | 77 | 89 | 44.337662 | 0.788991 | 0 | 0 | 0.651515 | 0 | 0 | 0.356473 | 0.137376 | 0 | 0 | 0 | 0 | 0.257576 | 1 | 0.075758 | false | 0 | 0.030303 | 0 | 0.106061 | 0.166667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
879889f20d90f7c42d14860d44742d0c0d0ac206 | 41 | py | Python | novel/analysis/__init__.py | rrcgat/novel-info | fcda24f9f6da5a4755e942a520045b7b5a53bef4 | [
"MIT"
] | 4 | 2019-04-02T09:44:18.000Z | 2020-04-15T11:47:49.000Z | novel/analysis/__init__.py | rrcgat/novel-info | fcda24f9f6da5a4755e942a520045b7b5a53bef4 | [
"MIT"
] | 1 | 2019-03-04T17:20:39.000Z | 2019-03-04T17:48:18.000Z | novel/analysis/__init__.py | rrcgat/novel-info | fcda24f9f6da5a4755e942a520045b7b5a53bef4 | [
"MIT"
] | 1 | 2020-04-15T11:47:50.000Z | 2020-04-15T11:47:50.000Z | from .parser import Analysis, TimeParser
| 20.5 | 40 | 0.829268 | 5 | 41 | 6.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121951 | 41 | 1 | 41 | 41 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
87d0747e4a62ade5dcf48c768bb12509cf1905ce | 72 | py | Python | aspireblock/__init__.py | syd108/aspireblock | 4953e120129341a7dac18efabf4ed3e4a75d8f4f | [
"MIT"
] | null | null | null | aspireblock/__init__.py | syd108/aspireblock | 4953e120129341a7dac18efabf4ed3e4a75d8f4f | [
"MIT"
] | null | null | null | aspireblock/__init__.py | syd108/aspireblock | 4953e120129341a7dac18efabf4ed3e4a75d8f4f | [
"MIT"
] | 4 | 2021-11-30T02:27:32.000Z | 2022-02-27T01:49:24.000Z | def server_main():
from aspireblock import server
server.main()
| 18 | 34 | 0.708333 | 9 | 72 | 5.555556 | 0.666667 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208333 | 72 | 3 | 35 | 24 | 0.877193 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
358f38ef8fe60a02545604e98b844a612b972d07 | 1,034 | py | Python | Problems Archives/Problem_8.py | catarme/Projet_Euler | 7be053391200bcf4c97444851125f6337e47baad | [
"MIT"
] | 1 | 2022-03-01T16:43:09.000Z | 2022-03-01T16:43:09.000Z | Problems Archives/Problem_8.py | catarme/Projet_Euler | 7be053391200bcf4c97444851125f6337e47baad | [
"MIT"
] | null | null | null | Problems Archives/Problem_8.py | catarme/Projet_Euler | 7be053391200bcf4c97444851125f6337e47baad | [
"MIT"
] | null | null | null |
if __name__ == '__main__':
number = "73167176531330624919225119674426574742355349194934969835203127745063262395783180169848018694788518438586156078911294949545950173795833195285320880551112540698747158523863050715693290963295227443043557668966489504452445231617318564030987111217223831136222989342338030813533627661... | 86.166667 | 763 | 0.870406 | 38 | 1,034 | 23.368421 | 0.473684 | 0.045045 | 0.038288 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.809013 | 0.098646 | 1,034 | 12 | 764 | 86.166667 | 0.143777 | 0 | 0 | 0 | 0 | 0 | 0.731141 | 0.723404 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.1 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ea2557b9ecd3db55f79158d55a2ff85c42a38c01 | 33 | py | Python | mobify/sources/harp/__init__.py | macbre/mobify | 69d1d8754fc30f7cbb2626beb890261b41964852 | [
"MIT"
] | 5 | 2015-11-29T00:18:36.000Z | 2022-03-28T22:23:31.000Z | mobify/sources/harp/__init__.py | macbre/mobify | 69d1d8754fc30f7cbb2626beb890261b41964852 | [
"MIT"
] | 29 | 2015-10-09T19:07:35.000Z | 2022-01-27T13:02:53.000Z | mobify/sources/harp/__init__.py | macbre/mobify | 69d1d8754fc30f7cbb2626beb890261b41964852 | [
"MIT"
] | 1 | 2017-11-20T04:40:04.000Z | 2017-11-20T04:40:04.000Z | from .harp import HarpMainSource
| 16.5 | 32 | 0.848485 | 4 | 33 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ea28d0ceb3011e5b14104deacb57b94cc30e45c3 | 531 | py | Python | Tests/__init__.py | reqa/python-ldap | e75c24dd70dcf10c8315d6f30ecf98f2c30f08e8 | [
"MIT"
] | 299 | 2017-11-23T14:24:32.000Z | 2022-03-25T08:45:24.000Z | Tests/__init__.py | reqa/python-ldap | e75c24dd70dcf10c8315d6f30ecf98f2c30f08e8 | [
"MIT"
] | 412 | 2017-11-23T22:21:36.000Z | 2022-03-18T11:20:59.000Z | Tests/__init__.py | reqa/python-ldap | e75c24dd70dcf10c8315d6f30ecf98f2c30f08e8 | [
"MIT"
] | 114 | 2017-11-23T14:24:37.000Z | 2022-03-24T20:55:42.000Z | """
Automatic tests for python-ldap
See https://www.python-ldap.org/ for details.
"""
from . import t_bind
from . import t_cext
from . import t_cidict
from . import t_ldap_dn
from . import t_ldap_filter
from . import t_ldap_functions
from . import t_ldap_modlist
from . import t_ldap_schema_tokenizer
from . import t_... | 22.125 | 45 | 0.79661 | 89 | 531 | 4.438202 | 0.359551 | 0.405063 | 0.44557 | 0.303797 | 0.106329 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145009 | 531 | 23 | 46 | 23.086957 | 0.870044 | 0.146893 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
57873891faf56a41d440e5e5eda1fa5df86787dc | 3,857 | py | Python | tests/federation/test_interfaces.py | d-danilkin/ariadne | 62b1363752394439f21d8be1b48074b4ba280493 | [
"BSD-3-Clause"
] | 1,778 | 2018-07-09T09:54:24.000Z | 2022-03-31T18:22:56.000Z | tests/federation/test_interfaces.py | d-danilkin/ariadne | 62b1363752394439f21d8be1b48074b4ba280493 | [
"BSD-3-Clause"
] | 639 | 2018-07-12T12:39:25.000Z | 2022-03-28T04:02:52.000Z | tests/federation/test_interfaces.py | d-danilkin/ariadne | 62b1363752394439f21d8be1b48074b4ba280493 | [
"BSD-3-Clause"
] | 154 | 2018-08-10T18:50:49.000Z | 2022-03-31T17:48:14.000Z | from graphql import graphql_sync
import pytest
from ariadne.contrib.federation import (
FederatedInterfaceType,
FederatedObjectType,
make_federated_schema,
)
@pytest.fixture
def schema():
return make_federated_schema(
"""
type Query {
hello: String
}
... | 28.153285 | 80 | 0.591652 | 349 | 3,857 | 6.226361 | 0.2149 | 0.022089 | 0.044179 | 0.066268 | 0.839853 | 0.822826 | 0.774965 | 0.774965 | 0.726645 | 0.726645 | 0 | 0.001106 | 0.296604 | 3,857 | 136 | 81 | 28.360294 | 0.799853 | 0.024631 | 0 | 0.602941 | 0 | 0 | 0.093846 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 1 | 0.132353 | false | 0 | 0.044118 | 0.058824 | 0.235294 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
17bd0b6013dc4203e95aadd894a326bcce285fec | 202,595 | py | Python | Algorithms/Strings/Medium/004_Bear_and_Steady_Gene.py | o-silva-1/HackerRank | be5241c1439e7ed54fe4a1847984a9ac79c6e2a9 | [
"MIT"
] | null | null | null | Algorithms/Strings/Medium/004_Bear_and_Steady_Gene.py | o-silva-1/HackerRank | be5241c1439e7ed54fe4a1847984a9ac79c6e2a9 | [
"MIT"
] | null | null | null | Algorithms/Strings/Medium/004_Bear_and_Steady_Gene.py | o-silva-1/HackerRank | be5241c1439e7ed54fe4a1847984a9ac79c6e2a9 | [
"MIT"
] | null | null | null | def actg_numbers(sub_gene):
numbers = [0, 0, 0, 0]
for letter in sub_gene:
if letter == 'A':
numbers[0] += 1
elif letter == 'C':
numbers[1] += 1
elif letter == 'T':
numbers[2] += 1
elif letter == 'G':
numbers[3] += 1
return nu... | 1,808.883929 | 200,014 | 0.993939 | 315 | 202,595 | 639.053968 | 0.196825 | 0.000402 | 0.000397 | 0.000313 | 0.000368 | 0.000298 | 0 | 0 | 0 | 0 | 0 | 0.000312 | 0.004783 | 202,595 | 111 | 200,015 | 1,825.18018 | 0.998081 | 0.000084 | 0 | 0.183908 | 0 | 0 | 0.987526 | 0.987486 | 0 | 1 | 0 | 0 | 0 | 1 | 0.045977 | false | 0 | 0 | 0 | 0.16092 | 0.011494 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a4aa79c6a9bf4520a548aff59e7bc49d3f5abbfa | 14,246 | py | Python | canvas_sdk/methods/calendar_events.py | david-house-harvard/canvas_python_sdk | 9c2e59621a9a5667bc43c253ef801482b241a2c1 | [
"MIT"
] | 21 | 2015-06-12T13:49:04.000Z | 2021-11-08T05:37:44.000Z | canvas_sdk/methods/calendar_events.py | david-house-harvard/canvas_python_sdk | 9c2e59621a9a5667bc43c253ef801482b241a2c1 | [
"MIT"
] | 44 | 2015-02-04T15:26:52.000Z | 2021-12-03T17:47:00.000Z | canvas_sdk/methods/calendar_events.py | david-house-harvard/canvas_python_sdk | 9c2e59621a9a5667bc43c253ef801482b241a2c1 | [
"MIT"
] | 7 | 2015-07-20T23:56:03.000Z | 2021-02-23T17:13:00.000Z | from canvas_sdk import client, utils
def list_calendar_events(request_ctx, type=None, start_date=None, end_date=None, undated=None, all_events=None, context_codes=None, per_page=None, **request_kwargs):
"""
Retrieve the list of calendar events or assignments for the current user
:param request_ctx: Th... | 55.866667 | 468 | 0.735575 | 1,982 | 14,246 | 4.996468 | 0.102422 | 0.160153 | 0.054529 | 0.069676 | 0.816621 | 0.790669 | 0.786125 | 0.779259 | 0.7732 | 0.767747 | 0 | 0.001645 | 0.189386 | 14,246 | 254 | 469 | 56.086614 | 0.855906 | 0.583813 | 0 | 0.6 | 0 | 0 | 0.193146 | 0.161483 | 0 | 0 | 0 | 0 | 0 | 1 | 0.082353 | false | 0 | 0.011765 | 0 | 0.176471 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a4b4c23cacaa8e39d3172a405d2e4a5a66f4d63f | 899 | py | Python | tests/pytime/test_time_correct.py | JASTYN/pythonmaster | 46638ab09d28b65ce5431cd0759fe6df272fb85d | [
"Apache-2.0",
"MIT"
] | 3 | 2017-05-02T10:28:13.000Z | 2019-02-06T09:10:11.000Z | tests/pytime/test_time_correct.py | JASTYN/pythonmaster | 46638ab09d28b65ce5431cd0759fe6df272fb85d | [
"Apache-2.0",
"MIT"
] | 2 | 2017-06-21T20:39:14.000Z | 2020-02-25T10:28:57.000Z | tests/pytime/test_time_correct.py | JASTYN/pythonmaster | 46638ab09d28b65ce5431cd0759fe6df272fb85d | [
"Apache-2.0",
"MIT"
] | 2 | 2016-07-29T04:35:22.000Z | 2017-01-18T17:05:36.000Z | import unittest
from pytime.time_correct import time_correct
class Tests(unittest.TestCase):
def test2(self):
self.assertEqual(time_correct(None), None)
def test3(self):
self.assertEqual(time_correct(""), "")
def test4(self):
self.assertEqual(time_correct("001122"), None)
d... | 24.972222 | 62 | 0.634038 | 125 | 899 | 4.464 | 0.336 | 0.236559 | 0.340502 | 0.412186 | 0.537634 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122392 | 0.200222 | 899 | 35 | 63 | 25.685714 | 0.653686 | 0 | 0 | 0 | 0 | 0 | 0.113459 | 0 | 0 | 0 | 0 | 0 | 0.434783 | 1 | 0.434783 | false | 0 | 0.086957 | 0 | 0.565217 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
a4fdd803afd975a97513bd4ad3023f3f0724e254 | 228 | py | Python | doctor/views.py | JuliasBright/SendMoney | d13e2df81bf75a9154abfc57d897a416b4950e80 | [
"CC0-1.0"
] | 1 | 2021-01-29T16:57:42.000Z | 2021-01-29T16:57:42.000Z | doctor/views.py | JuliasBright/SendMoney | d13e2df81bf75a9154abfc57d897a416b4950e80 | [
"CC0-1.0"
] | null | null | null | doctor/views.py | JuliasBright/SendMoney | d13e2df81bf75a9154abfc57d897a416b4950e80 | [
"CC0-1.0"
] | null | null | null | from django.shortcuts import render
def index(request):
return render(request, 'index.html')
def custom_404(request):
return render(request, '404.html')
def custom_500(request):
return render(request, '404.html') | 20.727273 | 40 | 0.72807 | 31 | 228 | 5.290323 | 0.419355 | 0.237805 | 0.347561 | 0.47561 | 0.402439 | 0.402439 | 0 | 0 | 0 | 0 | 0 | 0.061856 | 0.149123 | 228 | 11 | 41 | 20.727273 | 0.783505 | 0 | 0 | 0.285714 | 0 | 0 | 0.113537 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0.142857 | 0.428571 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
350af4e791ddc0c3bd2000b538e43c61ef0a75a2 | 31 | py | Python | doipclient/__init__.py | MultiName90/python-doipclient | 1f9a249cc30fabc8a0e5c7aa13d6a6ed0d3b2c90 | [
"MIT"
] | 42 | 2020-12-30T03:30:04.000Z | 2022-03-25T06:06:33.000Z | doipclient/__init__.py | jacobschaer/python_doip | f3bab404e69bb00746cbb1427a3fc95eddda7a1e | [
"MIT"
] | 6 | 2021-01-03T04:05:24.000Z | 2022-02-22T10:16:38.000Z | doipclient/__init__.py | jacobschaer/python_doip | f3bab404e69bb00746cbb1427a3fc95eddda7a1e | [
"MIT"
] | 15 | 2021-03-25T08:01:19.000Z | 2022-02-08T12:10:03.000Z | from .client import DoIPClient
| 15.5 | 30 | 0.83871 | 4 | 31 | 6.5 | 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 | 1 | 0 | 0 | 6 |
3511f47130ddccc3b70421a59891827640a884a8 | 120 | py | Python | castanea_keras/generators/__init__.py | YusukeSuzuki/castanea_keras | dfb2694131580b5e215c3c4fbfed4250c5db0a71 | [
"MIT"
] | null | null | null | castanea_keras/generators/__init__.py | YusukeSuzuki/castanea_keras | dfb2694131580b5e215c3c4fbfed4250c5db0a71 | [
"MIT"
] | null | null | null | castanea_keras/generators/__init__.py | YusukeSuzuki/castanea_keras | dfb2694131580b5e215c3c4fbfed4250c5db0a71 | [
"MIT"
] | null | null | null | # __init__.py
from .categorical_image_generator import categorical_image_generator
from .datareader import DataReader
| 20 | 68 | 0.866667 | 14 | 120 | 6.857143 | 0.571429 | 0.333333 | 0.520833 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 120 | 5 | 69 | 24 | 0.888889 | 0.091667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
10466e3f64581f9aa48c005d72d0e063308d0eb8 | 75 | py | Python | tests/test_files/static_function.py | Procrat/typy | 668cedb7f929256a09f565af9ee43c02889bec3f | [
"MIT"
] | 3 | 2016-03-08T09:55:20.000Z | 2016-09-09T12:54:12.000Z | tests/test_files/static_function.py | Procrat/typy | 668cedb7f929256a09f565af9ee43c02889bec3f | [
"MIT"
] | null | null | null | tests/test_files/static_function.py | Procrat/typy | 668cedb7f929256a09f565af9ee43c02889bec3f | [
"MIT"
] | null | null | null | class A:
def bestaande_functie():
pass
A.bestaande_functie()
| 10.714286 | 28 | 0.64 | 9 | 75 | 5.111111 | 0.666667 | 0.695652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.266667 | 75 | 6 | 29 | 12.5 | 0.836364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0.25 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
105497bd263f5f6cb4ac5c912097c9fc4f317b99 | 87 | py | Python | py_tdlib/constructors/push_message_content_basic_group_chat_create.py | Mr-TelegramBot/python-tdlib | 2e2d21a742ebcd439971a32357f2d0abd0ce61eb | [
"MIT"
] | 24 | 2018-10-05T13:04:30.000Z | 2020-05-12T08:45:34.000Z | py_tdlib/constructors/push_message_content_basic_group_chat_create.py | MrMahdi313/python-tdlib | 2e2d21a742ebcd439971a32357f2d0abd0ce61eb | [
"MIT"
] | 3 | 2019-06-26T07:20:20.000Z | 2021-05-24T13:06:56.000Z | py_tdlib/constructors/push_message_content_basic_group_chat_create.py | MrMahdi313/python-tdlib | 2e2d21a742ebcd439971a32357f2d0abd0ce61eb | [
"MIT"
] | 5 | 2018-10-05T14:29:28.000Z | 2020-08-11T15:04:10.000Z | from ..factory import Type
class pushMessageContentBasicGroupChatCreate(Type):
pass
| 14.5 | 51 | 0.827586 | 8 | 87 | 9 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114943 | 87 | 5 | 52 | 17.4 | 0.935065 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
10628f6e8ccbb04cd106267d986b0f247c541698 | 49 | py | Python | dibs/tests/daemon/all.py | emin63/dibs | 419b2fad041aee40647429d3c1faac52c92c25a3 | [
"MIT"
] | null | null | null | dibs/tests/daemon/all.py | emin63/dibs | 419b2fad041aee40647429d3c1faac52c92c25a3 | [
"MIT"
] | null | null | null | dibs/tests/daemon/all.py | emin63/dibs | 419b2fad041aee40647429d3c1faac52c92c25a3 | [
"MIT"
] | null | null | null |
import tests.daemon
tests.daemon.DoTest('all')
| 9.8 | 26 | 0.755102 | 7 | 49 | 5.285714 | 0.714286 | 0.594595 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102041 | 49 | 4 | 27 | 12.25 | 0.840909 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
1063982b222b9ef91287403c318810f6905974f2 | 169 | py | Python | models/__init__.py | padeler/PE-former | 54fe38718275a6a91b0355bfba9ca1f5fcb6eba6 | [
"Apache-2.0"
] | 15 | 2021-12-30T05:51:28.000Z | 2022-03-06T23:59:14.000Z | models/__init__.py | padeler/potr | 54fe38718275a6a91b0355bfba9ca1f5fcb6eba6 | [
"Apache-2.0"
] | null | null | null | models/__init__.py | padeler/potr | 54fe38718275a6a91b0355bfba9ca1f5fcb6eba6 | [
"Apache-2.0"
] | 6 | 2021-12-16T01:03:21.000Z | 2022-01-28T19:54:53.000Z | # Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
# from .detr import build
from .potr import build
def build_model(args):
return build(args)
| 21.125 | 70 | 0.739645 | 25 | 169 | 4.96 | 0.76 | 0.177419 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177515 | 169 | 7 | 71 | 24.142857 | 0.892086 | 0.544379 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
106b27ea04db2842d479b73dd1f444815c5d81be | 6,094 | py | Python | miniimagenet/learner.py | IandRover/MAML_noisy_contrasive_learner | a65dc2d48179297c8c277b3df2a3c8d5c7a4d6a7 | [
"MIT"
] | null | null | null | miniimagenet/learner.py | IandRover/MAML_noisy_contrasive_learner | a65dc2d48179297c8c277b3df2a3c8d5c7a4d6a7 | [
"MIT"
] | null | null | null | miniimagenet/learner.py | IandRover/MAML_noisy_contrasive_learner | a65dc2d48179297c8c277b3df2a3c8d5c7a4d6a7 | [
"MIT"
] | 1 | 2022-03-11T10:19:58.000Z | 2022-03-11T10:19:58.000Z | import torch
from torch import nn
from torch.nn import functional as F
import numpy as np
class Learner(nn.Module):
def __init__(self, config, imgc, imgsz):
super(Learner, self).__init__()
self.config = config
self.vars = nn.ParameterList()
self.vars_bn = nn.ParameterList()... | 38.56962 | 102 | 0.489334 | 789 | 6,094 | 3.673004 | 0.150824 | 0.055901 | 0.082816 | 0.030366 | 0.792961 | 0.778468 | 0.724638 | 0.724638 | 0.724638 | 0.724638 | 0 | 0.021698 | 0.394979 | 6,094 | 158 | 103 | 38.56962 | 0.764307 | 0.060387 | 0 | 0.753846 | 0 | 0 | 0.042002 | 0 | 0 | 0 | 0 | 0 | 0.030769 | 1 | 0.038462 | false | 0 | 0.030769 | 0.007692 | 0.1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1073e5c188615ae5d9688568c93b185c87d90ce0 | 8,606 | py | Python | tests/logic/test_component_authentication.py | NicolasCARPi/sampledb | d6fd0f4d28d05010d7e0c022fbf2576e25435077 | [
"MIT"
] | null | null | null | tests/logic/test_component_authentication.py | NicolasCARPi/sampledb | d6fd0f4d28d05010d7e0c022fbf2576e25435077 | [
"MIT"
] | null | null | null | tests/logic/test_component_authentication.py | NicolasCARPi/sampledb | d6fd0f4d28d05010d7e0c022fbf2576e25435077 | [
"MIT"
] | null | null | null | # coding: utf-8
"""
"""
import secrets
import pytest
from sampledb import logic
from sampledb.logic.authentication import _validate_password_hash
from sampledb.logic.component_authentication import add_own_token_authentication, add_token_authentication, \
get_own_authentication, remove_own_component_authenticatio... | 36.159664 | 132 | 0.768766 | 967 | 8,606 | 6.620476 | 0.086867 | 0.058419 | 0.085911 | 0.053108 | 0.833333 | 0.795376 | 0.737582 | 0.718994 | 0.644486 | 0.644486 | 0 | 0.02164 | 0.135487 | 8,606 | 237 | 133 | 36.312236 | 0.838844 | 0.001511 | 0 | 0.732484 | 0 | 0 | 0.05942 | 0.008389 | 0 | 0 | 0 | 0 | 0.305732 | 1 | 0.089172 | false | 0.012739 | 0.050955 | 0 | 0.152866 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
108cf62b59fba602d7de9f909d23cee4ed8c4214 | 244 | py | Python | src/lander/ext/theme/__init__.py | lsst-sqre/lander | 1e8a3e29869cffc451c5fcef874cdbf663bd7965 | [
"MIT"
] | 2 | 2019-05-10T16:56:30.000Z | 2021-12-13T20:28:59.000Z | src/lander/ext/theme/__init__.py | lsst-sqre/lander | 1e8a3e29869cffc451c5fcef874cdbf663bd7965 | [
"MIT"
] | 4 | 2019-07-16T14:41:53.000Z | 2021-02-08T00:59:45.000Z | src/lander/ext/theme/__init__.py | lsst-sqre/lander | 1e8a3e29869cffc451c5fcef874cdbf663bd7965 | [
"MIT"
] | null | null | null | __all__ = ["ThemePluginDirectory", "ThemePlugin", "ThemeTemplateLoader"]
from lander.ext.theme._base import ThemePlugin
from lander.ext.theme._discovery import ThemePluginDirectory
from lander.ext.theme._jinjaloader import ThemeTemplateLoader
| 40.666667 | 72 | 0.844262 | 25 | 244 | 7.96 | 0.48 | 0.150754 | 0.19598 | 0.271357 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07377 | 244 | 5 | 73 | 48.8 | 0.880531 | 0 | 0 | 0 | 0 | 0 | 0.204918 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5e0cb91c1722adfa2b4de080a8e88d25f0628f91 | 70 | py | Python | audtorch/metrics/__init__.py | hagenw/audtorch | d82ae7f7f8c7edb7b7180b83442224e9a68483bd | [
"MIT"
] | 81 | 2019-05-22T16:39:46.000Z | 2022-03-01T04:11:38.000Z | audtorch/metrics/__init__.py | hagenw/audtorch | d82ae7f7f8c7edb7b7180b83442224e9a68483bd | [
"MIT"
] | 33 | 2019-05-24T09:04:06.000Z | 2021-12-06T12:11:56.000Z | audtorch/metrics/__init__.py | hagenw/audtorch | d82ae7f7f8c7edb7b7180b83442224e9a68483bd | [
"MIT"
] | 12 | 2019-05-23T09:48:15.000Z | 2021-04-02T16:12:47.000Z | from .losses import *
from .metrics import *
from . import functional
| 17.5 | 24 | 0.757143 | 9 | 70 | 5.888889 | 0.555556 | 0.377358 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171429 | 70 | 3 | 25 | 23.333333 | 0.913793 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5e19eb43a3376794d10afc59a14eac8b143610ef | 275 | py | Python | tests/builtin/callable.py | Slater-Victoroff/pyjaco | 89c4e3c46399c5023b0e160005d855a01241c58a | [
"MIT"
] | 38 | 2015-01-01T18:08:59.000Z | 2022-02-18T08:57:27.000Z | tests/builtin/callable.py | dusty-phillips/pyjaco | 066895ae38d1828498e529c1875cb88df6cbc54d | [
"MIT"
] | 1 | 2020-01-08T04:32:52.000Z | 2020-01-08T04:32:52.000Z | tests/builtin/callable.py | Slater-Victoroff/pyjaco | 89c4e3c46399c5023b0e160005d855a01241c58a | [
"MIT"
] | 12 | 2016-03-07T09:30:49.000Z | 2021-09-05T20:38:47.000Z | print callable(2)
print callable(lambda x: x)
def foo(self):
return 42
print callable(foo)
class Foo(object):
pass
class Bar(object):
def __call__(self):
return 42
print callable(Foo)
print callable(Bar)
print callable(Foo())
print callable(Bar())
| 12.5 | 27 | 0.683636 | 40 | 275 | 4.6 | 0.375 | 0.494565 | 0.26087 | 0.184783 | 0.565217 | 0.565217 | 0 | 0 | 0 | 0 | 0 | 0.022831 | 0.203636 | 275 | 21 | 28 | 13.095238 | 0.817352 | 0 | 0 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.071429 | 0 | null | null | 0.5 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 6 |
5e1a6af6533a67a85143403a7ccc1aaad7360fdc | 21,783 | py | Python | tests/test_netstat.py | listuser/jc | 3ac8d0362b4fb9999fc55a60a9cb20ac80d114f7 | [
"MIT"
] | null | null | null | tests/test_netstat.py | listuser/jc | 3ac8d0362b4fb9999fc55a60a9cb20ac80d114f7 | [
"MIT"
] | null | null | null | tests/test_netstat.py | listuser/jc | 3ac8d0362b4fb9999fc55a60a9cb20ac80d114f7 | [
"MIT"
] | null | null | null | import os
import json
import unittest
import jc.parsers.netstat
THIS_DIR = os.path.dirname(os.path.abspath(__file__))
class MyTests(unittest.TestCase):
def setUp(self):
#
# input
#
# netstat
with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/centos-7.7/netstat.o... | 47.874725 | 139 | 0.657439 | 3,436 | 21,783 | 3.94092 | 0.024447 | 0.031903 | 0.042537 | 0.072373 | 0.947714 | 0.908131 | 0.860867 | 0.783694 | 0.768702 | 0.76405 | 0 | 0.044101 | 0.192214 | 21,783 | 454 | 140 | 47.980176 | 0.725449 | 0.058394 | 0 | 0 | 0 | 0 | 0.168421 | 0.146663 | 0 | 0 | 0 | 0 | 0.162896 | 1 | 0.167421 | false | 0 | 0.0181 | 0 | 0.190045 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5e1b6d00439fe4d6451699825409eac0ee0eff5b | 31,626 | py | Python | scikit_fuzzy_fcl/py2_parser/FclLexer.py | arruda/scikit_fuzzy_fcl | 1a6aa948bf73ab1bcff3bf5e615fafd8dc61e6d3 | [
"MIT"
] | 1 | 2017-05-22T21:49:25.000Z | 2017-05-22T21:49:25.000Z | scikit_fuzzy_fcl/py2_parser/FclLexer.py | arruda/scikit_fuzzy_fcl | 1a6aa948bf73ab1bcff3bf5e615fafd8dc61e6d3 | [
"MIT"
] | 4 | 2017-05-22T00:06:36.000Z | 2017-06-05T23:04:02.000Z | scikit_fuzzy_fcl/py2_parser/FclLexer.py | arruda/scikit_fuzzy_fcl | 1a6aa948bf73ab1bcff3bf5e615fafd8dc61e6d3 | [
"MIT"
] | 1 | 2021-11-03T21:22:16.000Z | 2021-11-03T21:22:16.000Z | # Generated from tools/antlr/Fcl.g4 by ANTLR 4.5.3
# encoding: utf-8
from __future__ import print_function
from antlr4 import *
from io import StringIO
def serializedATN():
with StringIO() as buf:
buf.write(u"\3\u0430\ud6d1\u8206\uad2d\u4417\uaef1\u8d80\uaadd\2")
buf.write(u"_\u0306\b\1\4\2\t\2\4\... | 61.409709 | 103 | 0.571903 | 7,650 | 31,626 | 2.353856 | 0.147582 | 0.125951 | 0.065308 | 0.066863 | 0.296885 | 0.244738 | 0.233465 | 0.140668 | 0.119953 | 0.113789 | 0 | 0.330779 | 0.150003 | 31,626 | 514 | 104 | 61.529183 | 0.339074 | 0.002024 | 0 | 0.008065 | 1 | 0.393145 | 0.624457 | 0.583325 | 0 | 0 | 0 | 0 | 0 | 1 | 0.004032 | false | 0 | 0.006048 | 0 | 0.215726 | 0.002016 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5e31325e7f53296075a9c44b385439b51244c19f | 26 | py | Python | src/server/analytic/fetching/__init__.py | vakhokoto/GithubExstension | fc1920f56ea7614b6cf174b543961f2b8245ff97 | [
"MIT"
] | 1 | 2020-07-26T16:31:21.000Z | 2020-07-26T16:31:21.000Z | src/server/analytic/fetching/__init__.py | vakhokoto/GithubExstension | fc1920f56ea7614b6cf174b543961f2b8245ff97 | [
"MIT"
] | 23 | 2020-07-21T08:49:46.000Z | 2022-02-19T05:40:38.000Z | src/server/analytic/fetching/__init__.py | vakhokoto/GithubExstension | fc1920f56ea7614b6cf174b543961f2b8245ff97 | [
"MIT"
] | 5 | 2020-07-26T15:41:08.000Z | 2020-07-26T17:47:24.000Z | from .fetch import Fetcher | 26 | 26 | 0.846154 | 4 | 26 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 1 | 26 | 26 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
eaba6aecc7c068a710dd3d86c1d73df0cf361016 | 44 | py | Python | py2df/codeblocks/humanized_target/__init__.py | PgBiel/Py2DF | cbce77763e90b63e6824b4d3f506236fb9925a5c | [
"MIT"
] | 1 | 2021-06-02T00:07:28.000Z | 2021-06-02T00:07:28.000Z | py2df/codeblocks/humanized_target/__init__.py | jmyrick02/Py2DF | cbce77763e90b63e6824b4d3f506236fb9925a5c | [
"MIT"
] | null | null | null | py2df/codeblocks/humanized_target/__init__.py | jmyrick02/Py2DF | cbce77763e90b63e6824b4d3f506236fb9925a5c | [
"MIT"
] | null | null | null | from .player import *
from .entity import *
| 14.666667 | 21 | 0.727273 | 6 | 44 | 5.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 44 | 2 | 22 | 22 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
eacde0040a9eec185dbce537854cd22189ab3ba6 | 119 | py | Python | netbox/utilities/forms/fields/__init__.py | cybarox/netbox | ea197eff5f4fe925bb354d1375912decd81752bd | [
"Apache-2.0"
] | null | null | null | netbox/utilities/forms/fields/__init__.py | cybarox/netbox | ea197eff5f4fe925bb354d1375912decd81752bd | [
"Apache-2.0"
] | null | null | null | netbox/utilities/forms/fields/__init__.py | cybarox/netbox | ea197eff5f4fe925bb354d1375912decd81752bd | [
"Apache-2.0"
] | null | null | null | from .content_types import *
from .csv import *
from .dynamic import *
from .expandable import *
from .fields import *
| 19.833333 | 28 | 0.747899 | 16 | 119 | 5.5 | 0.5 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168067 | 119 | 5 | 29 | 23.8 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
eada04fb3563074413d0995510c3cd17344ae300 | 49 | py | Python | sparv/modules/csv_export/__init__.py | heatherleaf/sparv-pipeline | 0fe5f27d0d82548ecc6cb21a69289668aac54cf1 | [
"MIT"
] | 17 | 2018-09-21T07:01:45.000Z | 2022-02-24T23:26:49.000Z | sparv/modules/csv_export/__init__.py | heatherleaf/sparv-pipeline | 0fe5f27d0d82548ecc6cb21a69289668aac54cf1 | [
"MIT"
] | 146 | 2018-11-13T19:13:25.000Z | 2022-03-31T09:57:56.000Z | sparv/modules/csv_export/__init__.py | heatherleaf/sparv-pipeline | 0fe5f27d0d82548ecc6cb21a69289668aac54cf1 | [
"MIT"
] | 5 | 2019-02-14T00:50:38.000Z | 2021-03-29T15:37:41.000Z | """CSV file export."""
from . import csv_export
| 12.25 | 24 | 0.673469 | 7 | 49 | 4.571429 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163265 | 49 | 3 | 25 | 16.333333 | 0.780488 | 0.326531 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
eae47d456250abb677840c3cdf9f2187a7994fb7 | 101 | py | Python | uncalled/__init__.py | skovaka/nanopore_aligner | 0ebd606d941db0bb82f14c17b453f27269a38716 | [
"MIT"
] | 489 | 2018-11-02T14:04:10.000Z | 2022-03-25T07:31:59.000Z | uncalled/__init__.py | skovaka/nanopore_aligner | 0ebd606d941db0bb82f14c17b453f27269a38716 | [
"MIT"
] | 39 | 2019-11-11T00:49:51.000Z | 2022-03-22T18:04:01.000Z | uncalled/__init__.py | skovaka/nanopore_aligner | 0ebd606d941db0bb82f14c17b453f27269a38716 | [
"MIT"
] | 45 | 2018-11-08T20:41:21.000Z | 2022-03-15T00:53:28.000Z | from _uncalled import *
from uncalled import index, pafstats, sim_utils, args, debug, minknow_client
| 33.666667 | 76 | 0.811881 | 14 | 101 | 5.642857 | 0.785714 | 0.303797 | 0.455696 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128713 | 101 | 2 | 77 | 50.5 | 0.897727 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
dc29f8a9dd7f59386337f6d3ea9092fa21ee2df5 | 7,708 | py | Python | torchgan/losses/auxclassifier.py | shubhsherl/torchgan | 3dd3757dfed7c1f95aa71a7cd71f199390eb5d6d | [
"MIT"
] | null | null | null | torchgan/losses/auxclassifier.py | shubhsherl/torchgan | 3dd3757dfed7c1f95aa71a7cd71f199390eb5d6d | [
"MIT"
] | null | null | null | torchgan/losses/auxclassifier.py | shubhsherl/torchgan | 3dd3757dfed7c1f95aa71a7cd71f199390eb5d6d | [
"MIT"
] | null | null | null | import torch
from .loss import GeneratorLoss, DiscriminatorLoss
from .functional import auxiliary_classification_loss
__all__ = ['AuxiliaryClassifierGeneratorLoss', 'AuxiliaryClassifierDiscriminatorLoss']
class AuxiliaryClassifierGeneratorLoss(GeneratorLoss):
r"""Auxiliary Classifier GAN (ACGAN) loss based on a f... | 54.666667 | 117 | 0.660223 | 925 | 7,708 | 5.384865 | 0.179459 | 0.022485 | 0.032524 | 0.028107 | 0.879141 | 0.866493 | 0.860871 | 0.858061 | 0.834371 | 0.834371 | 0 | 0.007091 | 0.24987 | 7,708 | 140 | 118 | 55.057143 | 0.854376 | 0.505708 | 0 | 0.507937 | 0 | 0 | 0.108896 | 0.020232 | 0 | 0 | 0 | 0 | 0 | 1 | 0.063492 | false | 0 | 0.047619 | 0.031746 | 0.238095 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
dc3504fa8a5e6adf03c0eee8432e3dbbfb353d4c | 118 | py | Python | src/AppPlugins/P4Houdini/python2.7libs/perforce/AppInterop/HoudiniInterop/__init__.py | TomMinor/P4VFX | b9a8100423fa4cc0c5bb700f0a2656868bc0a86e | [
"MIT"
] | 41 | 2017-05-26T01:46:04.000Z | 2022-03-20T06:59:18.000Z | src/AppPlugins/P4Houdini/python2.7libs/perforce/AppInterop/HoudiniInterop/__init__.py | TomMinor/P4VFX | b9a8100423fa4cc0c5bb700f0a2656868bc0a86e | [
"MIT"
] | 3 | 2017-05-26T02:31:17.000Z | 2019-04-22T15:47:27.000Z | src/AppPlugins/P4Houdini/python2.7libs/perforce/AppInterop/HoudiniInterop/__init__.py | TomMinor/P4VFX | b9a8100423fa4cc0c5bb700f0a2656868bc0a86e | [
"MIT"
] | 11 | 2017-09-18T05:36:19.000Z | 2022-02-24T21:52:27.000Z | def validate():
try:
import hou
except ImportError as e:
return False
return True
def setup():
import interop | 13.111111 | 25 | 0.720339 | 17 | 118 | 5 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.211864 | 118 | 9 | 26 | 13.111111 | 0.913978 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.375 | 0 | 0.875 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
dc5b4b06ed0bf4c0266b7382630181ba235f1470 | 7,347 | py | Python | hydra/hydra.py | sourcery-ai-bot/factom-core | 186dca550d98d758e9f8dab878e6382153efeaf3 | [
"MIT"
] | null | null | null | hydra/hydra.py | sourcery-ai-bot/factom-core | 186dca550d98d758e9f8dab878e6382153efeaf3 | [
"MIT"
] | null | null | null | hydra/hydra.py | sourcery-ai-bot/factom-core | 186dca550d98d758e9f8dab878e6382153efeaf3 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3.7
import click
import json
import requests
import factom_core.db
import state_manager
from rpc import server as api_server
HYDRA_HEADER = "\n".join(
(
"\n",
r" _ _ ",
r" | |__ _ _ __| |_ __ __ _ ",
r" | '_ \| | | |/ _` | '__... | 32.50885 | 90 | 0.642167 | 988 | 7,347 | 4.511134 | 0.090081 | 0.103657 | 0.032309 | 0.059233 | 0.857976 | 0.849226 | 0.849226 | 0.849226 | 0.849226 | 0.849226 | 0 | 0.009217 | 0.202532 | 7,347 | 225 | 91 | 32.653333 | 0.751493 | 0.015789 | 0 | 0.559783 | 0 | 0 | 0.190806 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.070652 | false | 0.005435 | 0.032609 | 0 | 0.163043 | 0.125 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
dc6cf05aa4514f3a0a4a7fff83caecaf8964bebe | 28 | py | Python | hub/db/__init__.py | lbryio/scribe | 709ea1ebcb37de13e531182d0d5ea7b5ac3ebd47 | [
"MIT"
] | 2 | 2022-03-08T18:38:55.000Z | 2022-03-18T15:30:24.000Z | hub/db/__init__.py | lbryio/scribe | 709ea1ebcb37de13e531182d0d5ea7b5ac3ebd47 | [
"MIT"
] | 10 | 2022-03-21T14:42:35.000Z | 2022-03-31T20:31:23.000Z | hub/db/__init__.py | lbryio/scribe | 709ea1ebcb37de13e531182d0d5ea7b5ac3ebd47 | [
"MIT"
] | null | null | null | from .db import SecondaryDB
| 14 | 27 | 0.821429 | 4 | 28 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.958333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
dc803e3c484b17f6fc395a359881467419f2c089 | 8,821 | py | Python | Image/process.py | davesarmoury/SithLego | e72bf1506e3e38bbb74250496324295c277acdb7 | [
"CC-BY-3.0"
] | 3 | 2020-10-15T06:18:11.000Z | 2021-04-27T12:12:19.000Z | Image/process.py | davesarmoury/SithLego | e72bf1506e3e38bbb74250496324295c277acdb7 | [
"CC-BY-3.0"
] | null | null | null | Image/process.py | davesarmoury/SithLego | e72bf1506e3e38bbb74250496324295c277acdb7 | [
"CC-BY-3.0"
] | null | null | null | instructions = [
[[6, 6, 6, 6, 1, 1, 1, 1, 1, 6, 6, 6, 2, 2, 2, 2],
[6, 6, 6, 6, 1, 1, 1, 1, 1, 1, 6, 6, 2, 2, 2, 2],
[6, 6, 6, 6, 1, 1, 1, 1, 1, 1, 1, 6, 6, 2, 2, 2],
[6, 6, 6, 6, 1, 1, 1, 1, 1, 1, 1, 1, 6, 6, 6, 2],
[6, 6, 6, 6, 6, 1, 1, 1, 1, 1, 1, 1, 6, 6, 6, 2],
[6, 6, 6, 6, 6, 1, 1, 1, 1, 1, 1, 1, 1, 6, 6, 6],
[6... | 45.235897 | 62 | 0.389865 | 2,440 | 8,821 | 1.408197 | 0.021311 | 0.263679 | 0.292491 | 0.291036 | 0.729336 | 0.639406 | 0.580035 | 0.498254 | 0.434517 | 0.333236 | 0 | 0.451608 | 0.294865 | 8,821 | 194 | 63 | 45.469072 | 0.100804 | 0 | 0 | 0.088398 | 0 | 0 | 0.010656 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.044199 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
dc930446dfd557b9808fbd539e13aa5009cfc87e | 47 | py | Python | src/kedro_accelerator/io/__init__.py | aagaard/kedro-accelerator | d8261dde14b83f1556b6ff7e74734ccaafe595b3 | [
"MIT"
] | 25 | 2020-09-15T13:24:39.000Z | 2022-01-24T23:45:40.000Z | src/kedro_accelerator/io/__init__.py | deepyaman/hookshot | 96560522c561edd3227c0e602c034edfba449922 | [
"MIT"
] | 1 | 2021-04-05T12:09:04.000Z | 2021-04-08T10:09:48.000Z | src/kedro_accelerator/io/__init__.py | deepyaman/hookshot | 96560522c561edd3227c0e602c034edfba449922 | [
"MIT"
] | 1 | 2021-12-09T08:43:48.000Z | 2021-12-09T08:43:48.000Z | from .slow_data_set import SlowDataSet # NOQA
| 23.5 | 46 | 0.808511 | 7 | 47 | 5.142857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148936 | 47 | 1 | 47 | 47 | 0.9 | 0.085106 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f49e5f4658c51720e60e9c540b521395609817b7 | 839 | py | Python | npdb/creation/basic.py | ryanwallace96/npdb | bcc34455d013a3cd11adddd5aa596364f70c2264 | [
"MIT"
] | null | null | null | npdb/creation/basic.py | ryanwallace96/npdb | bcc34455d013a3cd11adddd5aa596364f70c2264 | [
"MIT"
] | null | null | null | npdb/creation/basic.py | ryanwallace96/npdb | bcc34455d013a3cd11adddd5aa596364f70c2264 | [
"MIT"
] | null | null | null | """
dbarray creators for simple, commonly-used contents.
"""
import npdb
# db = npdb.dbarray((3,3,3), float)
# bounds = db[0:3]
# print "bounds", bounds
# db = npdb.dbarray((10,), float)
# bounds = db[2:5]
# print "bounds", bounds
# bounds = db[:-7]
# print "bounds", bounds
# bounds = db[1:7:2]
# print "bounds", ... | 17.479167 | 67 | 0.573302 | 149 | 839 | 3.228188 | 0.268456 | 0.224532 | 0.212058 | 0.143451 | 0.259875 | 0.108108 | 0 | 0 | 0 | 0 | 0 | 0.077586 | 0.170441 | 839 | 47 | 68 | 17.851064 | 0.613506 | 0.891538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f4e1e6fe92e42f7e9338744d24f8b3807062e152 | 169 | py | Python | my_first_scrapy/my_first_scrapy/entrypoint.py | dilboy/crawler | 53a61de0d617c37fe891923793021e7a42e3bae1 | [
"Apache-2.0"
] | null | null | null | my_first_scrapy/my_first_scrapy/entrypoint.py | dilboy/crawler | 53a61de0d617c37fe891923793021e7a42e3bae1 | [
"Apache-2.0"
] | null | null | null | my_first_scrapy/my_first_scrapy/entrypoint.py | dilboy/crawler | 53a61de0d617c37fe891923793021e7a42e3bae1 | [
"Apache-2.0"
] | 1 | 2021-07-05T15:22:36.000Z | 2021-07-05T15:22:36.000Z | from scrapy.cmdline import execute
# execute(['scrapy', 'crawl', 'doubanTop250', '-o douban.csv'])
execute(['scrapy', 'crawl', 'doubanBookTop250', '-o douban_book.csv']) | 56.333333 | 70 | 0.704142 | 20 | 169 | 5.9 | 0.6 | 0.220339 | 0.305085 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03871 | 0.08284 | 169 | 3 | 70 | 56.333333 | 0.722581 | 0.360947 | 0 | 0 | 0 | 0 | 0.420561 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
f4e8661c778f2a3fb853e3e57e9058a2cdc88241 | 43 | py | Python | remove_actions_opennebula/__init__.py | bioinfocz/remove-actions-opennebula | bfb2b5b9c4600135288fe202d48f8992bb0d4f2e | [
"MIT"
] | null | null | null | remove_actions_opennebula/__init__.py | bioinfocz/remove-actions-opennebula | bfb2b5b9c4600135288fe202d48f8992bb0d4f2e | [
"MIT"
] | null | null | null | remove_actions_opennebula/__init__.py | bioinfocz/remove-actions-opennebula | bfb2b5b9c4600135288fe202d48f8992bb0d4f2e | [
"MIT"
] | null | null | null | from .remove_actions_opennebula import cli
| 21.5 | 42 | 0.883721 | 6 | 43 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 43 | 1 | 43 | 43 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5223d354c466205e4f11c9515ffa80b64ef0176b | 256 | py | Python | Dorta/accounting_pdf_reports/reports/__init__.py | aaparicio87/Odoo12 | 25cfc349b2e85fa1b5f5846ffe693029f77b3b7d | [
"MIT"
] | 1 | 2021-09-09T14:58:36.000Z | 2021-09-09T14:58:36.000Z | Dorta/accounting_pdf_reports/reports/__init__.py | aaparicio87/Odoo12 | 25cfc349b2e85fa1b5f5846ffe693029f77b3b7d | [
"MIT"
] | null | null | null | Dorta/accounting_pdf_reports/reports/__init__.py | aaparicio87/Odoo12 | 25cfc349b2e85fa1b5f5846ffe693029f77b3b7d | [
"MIT"
] | 1 | 2021-09-09T14:58:39.000Z | 2021-09-09T14:58:39.000Z | # -*- coding: utf-8 -*-
from . import report_partner_ledger
from . import report_general_ledger
from . import report_trial_balance
from . import report_tax
from . import report_aged_partner
from . import report_journal
from . import report_financial
| 17.066667 | 35 | 0.785156 | 35 | 256 | 5.428571 | 0.428571 | 0.368421 | 0.589474 | 0.231579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004608 | 0.152344 | 256 | 14 | 36 | 18.285714 | 0.870968 | 0.082031 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
522cc4b623cbf1d6f9f1fd7584d1af2cfb84ee30 | 730,339 | py | Python | stock.py | elkanazoungrana/Restaurant-Management | 9f383f5f10fb04a11260de837e7021bfd59e4e66 | [
"MIT"
] | null | null | null | stock.py | elkanazoungrana/Restaurant-Management | 9f383f5f10fb04a11260de837e7021bfd59e4e66 | [
"MIT"
] | null | null | null | stock.py | elkanazoungrana/Restaurant-Management | 9f383f5f10fb04a11260de837e7021bfd59e4e66 | [
"MIT"
] | null | null | null | #####################################
# IZI TOC V1.0 by Edan_Zoung
#####################################
from PyQt5.QtWidgets import *
from PyQt5.QtCore import *
from PyQt5.QtGui import *
import os
import sys
import sqlite3
import uuid
from config_app import name_app
#import warnings
#warnings.filte... | 63.074445 | 174 | 0.55291 | 95,449 | 730,339 | 4.095004 | 0.008392 | 0.12434 | 0.049153 | 0.063613 | 0.971049 | 0.934719 | 0.924836 | 0.91878 | 0.879848 | 0.813557 | 0 | 0.066397 | 0.285988 | 730,339 | 11,578 | 175 | 63.079893 | 0.683144 | 0.014313 | 0 | 0.633865 | 0 | 0.02254 | 0.1861 | 0.09512 | 0 | 0 | 0 | 0 | 0 | 1 | 0.036925 | false | 0.001008 | 0.000916 | 0 | 0.037933 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5248fe42c128f91f3cb980f1c0f1ecd24a540bb9 | 108 | py | Python | dependencies/georeference maps/pythongis/raster/__init__.py | karimbahgat/AutoMap | eae52f16b7ce71cb2b4b7ae67cf6e4680ea2194f | [
"MIT"
] | 4 | 2015-12-05T14:31:55.000Z | 2018-02-09T05:54:36.000Z | dependencies/georeference maps/pythongis/raster/__init__.py | karimbahgat/AutoMap | eae52f16b7ce71cb2b4b7ae67cf6e4680ea2194f | [
"MIT"
] | 1 | 2022-01-13T02:52:09.000Z | 2022-01-13T02:52:09.000Z | dependencies/georeference maps/pythongis/raster/__init__.py | karimbahgat/AutoMap | eae52f16b7ce71cb2b4b7ae67cf6e4680ea2194f | [
"MIT"
] | 1 | 2018-10-24T01:08:11.000Z | 2018-10-24T01:08:11.000Z |
from . import data
from . import loader
from . import saver
from . import manager
from . import analyzer
| 12 | 22 | 0.740741 | 15 | 108 | 5.333333 | 0.466667 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212963 | 108 | 8 | 23 | 13.5 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
526c241c212fbd1a98634826c6fe57c10816acbb | 5,507 | py | Python | tests/py_grpc_prometheus/test_grpc_server_handled_latency_seconds.py | RyanSiu1995/py-grpc-prometheus | eb9dee1f0a4e57cef220193ee48021dc9a9f3d82 | [
"Apache-2.0"
] | 40 | 2018-12-05T15:35:52.000Z | 2022-01-31T09:02:12.000Z | tests/py_grpc_prometheus/test_grpc_server_handled_latency_seconds.py | RyanSiu1995/py-grpc-prometheus | eb9dee1f0a4e57cef220193ee48021dc9a9f3d82 | [
"Apache-2.0"
] | 12 | 2019-08-06T12:14:20.000Z | 2021-08-09T14:53:37.000Z | tests/py_grpc_prometheus/test_grpc_server_handled_latency_seconds.py | RyanSiu1995/py-grpc-prometheus | eb9dee1f0a4e57cef220193ee48021dc9a9f3d82 | [
"Apache-2.0"
] | 9 | 2019-12-18T08:49:37.000Z | 2022-03-30T17:08:15.000Z | from functools import reduce
import pytest
from tests.py_grpc_prometheus.utils import get_server_metric
from tests.integration.hello_world import hello_world_pb2
@pytest.mark.parametrize("target_count", [1, 10, 100])
def test_grpc_server_handled_latency_seconds_with_normal(
target_count, grpc_server, grpc_stub
... | 32.779762 | 89 | 0.706374 | 707 | 5,507 | 5.096181 | 0.104668 | 0.077713 | 0.113239 | 0.159867 | 0.961976 | 0.960311 | 0.960311 | 0.960311 | 0.958646 | 0.955315 | 0 | 0.01807 | 0.206101 | 5,507 | 167 | 90 | 32.976048 | 0.806038 | 0.068822 | 0 | 0.689189 | 0 | 0 | 0.134454 | 0.102404 | 0 | 0 | 0 | 0 | 0.081081 | 1 | 0.054054 | false | 0 | 0.027027 | 0 | 0.081081 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
527a349286763e609782e8cac2af4efa2f747f7a | 48 | py | Python | py_scripts/main.py | OpenSourceOrganisation/linux-auto-updater | 86a658802dc59d26f8f3b8625827019b14e1b46c | [
"MIT"
] | null | null | null | py_scripts/main.py | OpenSourceOrganisation/linux-auto-updater | 86a658802dc59d26f8f3b8625827019b14e1b46c | [
"MIT"
] | null | null | null | py_scripts/main.py | OpenSourceOrganisation/linux-auto-updater | 86a658802dc59d26f8f3b8625827019b14e1b46c | [
"MIT"
] | 2 | 2016-10-30T05:22:35.000Z | 2016-10-30T06:26:15.000Z | #!/usr/bin/env python
from notifier import *
| 8 | 22 | 0.6875 | 7 | 48 | 4.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 48 | 5 | 23 | 9.6 | 0.846154 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
87154f815cbc8e3ac389521973e7b8503fc265d0 | 11,470 | py | Python | tests/test_nn/test_loss.py | shizuku/dpln | d6f62e97073313a92ba492bbf1b9cd57842a8369 | [
"MIT"
] | 3 | 2021-10-16T11:43:16.000Z | 2021-10-31T13:32:04.000Z | tests/test_nn/test_loss.py | shizuku/dpln | d6f62e97073313a92ba492bbf1b9cd57842a8369 | [
"MIT"
] | null | null | null | tests/test_nn/test_loss.py | shizuku/dpln | d6f62e97073313a92ba492bbf1b9cd57842a8369 | [
"MIT"
] | 1 | 2021-10-14T04:06:40.000Z | 2021-10-14T04:06:40.000Z | import os
import sys
import unittest
import numpy as np
import torch
from torch.nn import functional as torch_F
from src.dpln.nn import functional as dpln_F
from src import dpln
from ..utils import np_feq
class TestMSELoss(unittest.TestCase):
def test_mse_0(self):
for _ in range(100):
x = ... | 43.44697 | 91 | 0.561552 | 1,723 | 11,470 | 3.506674 | 0.049913 | 0.105594 | 0.105925 | 0.103774 | 0.936279 | 0.920225 | 0.911122 | 0.884475 | 0.884475 | 0.879841 | 0 | 0.03466 | 0.288143 | 11,470 | 263 | 92 | 43.612167 | 0.705328 | 0.115432 | 0 | 0.697115 | 0 | 0 | 0.010084 | 0 | 0 | 0 | 0 | 0 | 0.139423 | 1 | 0.0625 | false | 0 | 0.043269 | 0 | 0.125 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5e64a1c9a1424d17ca7f245191cced443b62564b | 66 | py | Python | tests/test_adventuregame.py | jczimmerman/adventuregame | cb72d5c025e47aac62cfa1d4e5648a2a84bfb2eb | [
"MIT"
] | null | null | null | tests/test_adventuregame.py | jczimmerman/adventuregame | cb72d5c025e47aac62cfa1d4e5648a2a84bfb2eb | [
"MIT"
] | null | null | null | tests/test_adventuregame.py | jczimmerman/adventuregame | cb72d5c025e47aac62cfa1d4e5648a2a84bfb2eb | [
"MIT"
] | null | null | null | import adventuregame
def test_import():
assert adventuregame
| 13.2 | 24 | 0.787879 | 7 | 66 | 7.285714 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 66 | 4 | 25 | 16.5 | 0.927273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.666667 | 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 | 1 | 0 | 1 | 0 | 0 | 6 |
0d918b9248de12bc6ed0e6ea89cb7f2c4605ca1c | 352 | py | Python | connexion/security/__init__.py | hmenager/connexion | d1978c35febe51bcaddea3b41bac48039b85d4b8 | [
"Apache-2.0"
] | null | null | null | connexion/security/__init__.py | hmenager/connexion | d1978c35febe51bcaddea3b41bac48039b85d4b8 | [
"Apache-2.0"
] | 1 | 2020-08-06T11:15:40.000Z | 2020-08-06T11:15:40.000Z | connexion/security/__init__.py | hmenager/connexion | d1978c35febe51bcaddea3b41bac48039b85d4b8 | [
"Apache-2.0"
] | 1 | 2021-06-06T19:55:30.000Z | 2021-06-06T19:55:30.000Z | # abstract
from .security_handler_factory import AbstractSecurityHandlerFactory # NOQA
from .async_security_handler_factory import AbstractAsyncSecurityHandlerFactory # NOQA
# concrete
from .flask_security_handler_factory import FlaskSecurityHandlerFactory # NOQA
from .aiohttp_security_handler_factory import AioHtt... | 44 | 87 | 0.877841 | 33 | 352 | 9.030303 | 0.454545 | 0.201342 | 0.295302 | 0.375839 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 352 | 7 | 88 | 50.285714 | 0.934169 | 0.105114 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
0dd2902a18f4f0e51becddaeea0b93c738ab7404 | 174 | py | Python | SequenceModel/settings.py | BhaveshJP25/RSNA | 48d85faf82651b1ae4fdcd829ce2d4978a858d3f | [
"MIT"
] | null | null | null | SequenceModel/settings.py | BhaveshJP25/RSNA | 48d85faf82651b1ae4fdcd829ce2d4978a858d3f | [
"MIT"
] | null | null | null | SequenceModel/settings.py | BhaveshJP25/RSNA | 48d85faf82651b1ae4fdcd829ce2d4978a858d3f | [
"MIT"
] | null | null | null | csv_root = r'/home/sean/Projects/RSNA_data/csv'
feature_path = r'/home/sean/Projects/RSNA_data/features'
final_output_path = r'/home/sean/Projects/RSNA_data/FinalSubmission'
| 43.5 | 68 | 0.810345 | 28 | 174 | 4.785714 | 0.5 | 0.11194 | 0.201493 | 0.380597 | 0.619403 | 0.619403 | 0.432836 | 0 | 0 | 0 | 0 | 0 | 0.051724 | 174 | 3 | 69 | 58 | 0.812121 | 0 | 0 | 0 | 0 | 0 | 0.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
218e27fb7d177160a5b6359313fe1bf54fd84797 | 177 | py | Python | python/anyascii/_data/_119.py | casept/anyascii | d4f426b91751254b68eaa84c6cd23099edd668e6 | [
"ISC"
] | null | null | null | python/anyascii/_data/_119.py | casept/anyascii | d4f426b91751254b68eaa84c6cd23099edd668e6 | [
"ISC"
] | null | null | null | python/anyascii/_data/_119.py | casept/anyascii | d4f426b91751254b68eaa84c6cd23099edd668e6 | [
"ISC"
] | null | null | null | b="a aa i ii u uu e o k kh g gh n c ch j n t d dh n t th d dh n p ph b bh m ' y r l v s s s h l z aa i ii u uu e ai o m m n y r r . - * 0 1 2 3 4 5 6 7 8 9" | 177 | 177 | 0.457627 | 66 | 177 | 1.227273 | 0.651515 | 0.074074 | 0.123457 | 0.148148 | 0.222222 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0.113636 | 0.502825 | 177 | 1 | 177 | 177 | 0.806818 | 0 | 0 | 0 | 0 | 1 | 0.97191 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
21bfb6f6433090e28a95613f4bec8af6e598b884 | 150 | py | Python | novel_tools/framework/reader.py | ALMSIVI/novel_tools | d1511607c5055ab293ce6b1294810c127ab9c01d | [
"WTFPL"
] | 1 | 2020-08-03T02:29:20.000Z | 2020-08-03T02:29:20.000Z | novel_tools/framework/reader.py | ALMSIVI/novel_tools | d1511607c5055ab293ce6b1294810c127ab9c01d | [
"WTFPL"
] | null | null | null | novel_tools/framework/reader.py | ALMSIVI/novel_tools | d1511607c5055ab293ce6b1294810c127ab9c01d | [
"WTFPL"
] | null | null | null | from abc import ABC, abstractmethod
from typing import Iterator
class Reader(ABC):
@abstractmethod
def read(self) -> Iterator:
pass
| 16.666667 | 35 | 0.7 | 18 | 150 | 5.833333 | 0.666667 | 0.32381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.233333 | 150 | 8 | 36 | 18.75 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.166667 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
21d373ca60f47116d6d6d3ade24c3cd9195ebb42 | 23,570 | py | Python | hfutils/pipe/t5.py | drunkcoding/huggingface-utils | 4baad306857c357d94607076c6ab0cb5d6350cbe | [
"MIT"
] | 1 | 2022-01-14T16:09:05.000Z | 2022-01-14T16:09:05.000Z | hfutils/pipe/t5.py | drunkcoding/huggingface-utils | 4baad306857c357d94607076c6ab0cb5d6350cbe | [
"MIT"
] | null | null | null | hfutils/pipe/t5.py | drunkcoding/huggingface-utils | 4baad306857c357d94607076c6ab0cb5d6350cbe | [
"MIT"
] | null | null | null | import copy
from functools import partial
import gc
from typing import Tuple
import numpy as np
from torch import nn
import torch
from deepspeed.pipe import PipelineModule, LayerSpec
from transformers import T5ForConditionalGeneration
from transformers.models.t5.configuration_t5 import T5Config
from transformers.model... | 36.317411 | 207 | 0.620195 | 2,452 | 23,570 | 5.512643 | 0.064437 | 0.095879 | 0.087002 | 0.053858 | 0.848561 | 0.817785 | 0.785973 | 0.757786 | 0.738773 | 0.721314 | 0 | 0.007286 | 0.301273 | 23,570 | 649 | 208 | 36.317411 | 0.813468 | 0.209419 | 0 | 0.658824 | 0 | 0 | 0.060226 | 0.056874 | 0 | 0 | 0 | 0 | 0 | 1 | 0.044706 | false | 0 | 0.028235 | 0 | 0.129412 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
df0430e95c5b6557047c01cc9fc0fc1694d09aa5 | 292 | py | Python | Lab02.py | Jack-Shields/csws-week1 | 33fcc81579cdcfcf1ed63b4118e0519d3a5a976c | [
"Apache-2.0"
] | null | null | null | Lab02.py | Jack-Shields/csws-week1 | 33fcc81579cdcfcf1ed63b4118e0519d3a5a976c | [
"Apache-2.0"
] | null | null | null | Lab02.py | Jack-Shields/csws-week1 | 33fcc81579cdcfcf1ed63b4118e0519d3a5a976c | [
"Apache-2.0"
] | null | null | null | Names = ["Jack", "Cian", "Leah", "Elliot", "Cai", "Eben"]
print("Hello how are you " + Names[0])
print("Hello how are you " + Names[1])
print("Hello how are you " + Names[2])
print("Hello how are you " + Names[3])
print("Hello how are you " + Names[4])
print("Hello how are you " + Names[5])
| 36.5 | 57 | 0.616438 | 49 | 292 | 3.673469 | 0.367347 | 0.333333 | 0.433333 | 0.533333 | 0.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.024793 | 0.171233 | 292 | 7 | 58 | 41.714286 | 0.719008 | 0 | 0 | 0 | 0 | 0 | 0.455479 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.857143 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
df2004787d10632a57c48376237a29c8b8983f8a | 1,206 | py | Python | alpyro_msgs/tf2_msgs/lookuptransformresult.py | rho2/alpyro_msgs | b5a680976c40c83df70d61bb2db1de32a1cde8d3 | [
"MIT"
] | 1 | 2020-12-13T13:07:10.000Z | 2020-12-13T13:07:10.000Z | alpyro_msgs/tf2_msgs/lookuptransformresult.py | rho2/alpyro_msgs | b5a680976c40c83df70d61bb2db1de32a1cde8d3 | [
"MIT"
] | null | null | null | alpyro_msgs/tf2_msgs/lookuptransformresult.py | rho2/alpyro_msgs | b5a680976c40c83df70d61bb2db1de32a1cde8d3 | [
"MIT"
] | null | null | null | from typing import Final
from alpyro_msgs import RosMessage
from alpyro_msgs.geometry_msgs.transformstamped import TransformStamped
from alpyro_msgs.tf2_msgs.tf2error import TF2Error
class LookupTransformResult(RosMessage):
__msg_typ__ = "tf2_msgs/LookupTransformResult"
__msg_def__ = "Z2VvbWV0cnlfbXNncy9UcmFuc2Zv... | 86.142857 | 830 | 0.947761 | 43 | 1,206 | 26.093023 | 0.511628 | 0.026738 | 0.037433 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116179 | 0.036484 | 1,206 | 13 | 831 | 92.769231 | 0.849398 | 0 | 0 | 0 | 0 | 0 | 0.72471 | 0.72471 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 1 | 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 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
df54260873e6731d62e72d43ce5f41d44421b1a8 | 80 | py | Python | varz/__init__.py | willtebbutt/varz | 519e14d202cafb32a0bdf2799bcbde0b5baa1d6f | [
"MIT"
] | null | null | null | varz/__init__.py | willtebbutt/varz | 519e14d202cafb32a0bdf2799bcbde0b5baa1d6f | [
"MIT"
] | null | null | null | varz/__init__.py | willtebbutt/varz | 519e14d202cafb32a0bdf2799bcbde0b5baa1d6f | [
"MIT"
] | null | null | null | from .adam import *
from .spec import *
from .util import *
from .vars import *
| 16 | 19 | 0.7 | 12 | 80 | 4.666667 | 0.5 | 0.535714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 80 | 4 | 20 | 20 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
df59795d8e64f13d3e4e1e8cc703b030c7c9580a | 52 | py | Python | pixell/tests/__init__.py | amaurea/pixell | d3ac217d94615596905df6bef4028b3d2a603eb5 | [
"BSD-3-Clause"
] | 24 | 2018-10-16T18:11:57.000Z | 2022-03-16T23:21:29.000Z | pixell/tests/__init__.py | amaurea/pixell | d3ac217d94615596905df6bef4028b3d2a603eb5 | [
"BSD-3-Clause"
] | 118 | 2018-10-09T22:13:48.000Z | 2022-03-21T15:23:25.000Z | pixell/tests/__init__.py | amaurea/pixell | d3ac217d94615596905df6bef4028b3d2a603eb5 | [
"BSD-3-Clause"
] | 19 | 2018-10-22T16:13:20.000Z | 2021-12-16T17:34:01.000Z | from .test_geom import *
from .test_pixell import *
| 17.333333 | 26 | 0.769231 | 8 | 52 | 4.75 | 0.625 | 0.421053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 52 | 2 | 27 | 26 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
df745877e4926244f6ffe55a0d8db1930273951f | 270 | py | Python | ros2_draw_squares/launch/move_robot_in_square_service_server.launch.py | samialperen/ros2_move_robot | b80693589632a37b20a3cac26004a4a546f1717f | [
"MIT"
] | null | null | null | ros2_draw_squares/launch/move_robot_in_square_service_server.launch.py | samialperen/ros2_move_robot | b80693589632a37b20a3cac26004a4a546f1717f | [
"MIT"
] | 3 | 2022-03-30T15:22:36.000Z | 2022-03-30T18:23:13.000Z | ros2_draw_squares/launch/move_robot_in_square_service_server.launch.py | samialperen/ros2_move_robot | b80693589632a37b20a3cac26004a4a546f1717f | [
"MIT"
] | null | null | null | from launch import LaunchDescription
import launch_ros.actions
def generate_launch_description():
return LaunchDescription([
launch_ros.actions.Node(
package='ros2_draw_squares', executable='move_robot_service_server', output='screen'),
])
| 27 | 98 | 0.744444 | 29 | 270 | 6.62069 | 0.758621 | 0.09375 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004444 | 0.166667 | 270 | 9 | 99 | 30 | 0.848889 | 0 | 0 | 0 | 1 | 0 | 0.177778 | 0.092593 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | true | 0 | 0.285714 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
10c3ea658c653507194952a8530cdb643e28c059 | 290 | py | Python | src/bin/Updater/__init__.py | rCorvidae/OrionPI | 1ef5d786d7ae55bf92a8da62d8da28af706f4713 | [
"MIT"
] | null | null | null | src/bin/Updater/__init__.py | rCorvidae/OrionPI | 1ef5d786d7ae55bf92a8da62d8da28af706f4713 | [
"MIT"
] | null | null | null | src/bin/Updater/__init__.py | rCorvidae/OrionPI | 1ef5d786d7ae55bf92a8da62d8da28af706f4713 | [
"MIT"
] | null | null | null | from .UpdaterTransmissionNegotiation import NegotiationResultInterface, TransmissionNegotiationInterface
from .Updater import UpdaterInterface, UpdaterAlgorithmInterface
from .UpdaterDataProcessor import UpdaterDataProcessorInterface
from .UpdaterDataAssembly import DataAssemblyInterface
| 48.333333 | 104 | 0.913793 | 18 | 290 | 14.722222 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065517 | 290 | 5 | 105 | 58 | 0.97786 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
10c86c78fe8b34d1e864d6ac44155fa61a02af35 | 30 | py | Python | task02.py | AlexValder/laughing-chainsaw | 3f6fce02d695a0d606f3343854584c8f346e72b2 | [
"MIT"
] | null | null | null | task02.py | AlexValder/laughing-chainsaw | 3f6fce02d695a0d606f3343854584c8f346e72b2 | [
"MIT"
] | null | null | null | task02.py | AlexValder/laughing-chainsaw | 3f6fce02d695a0d606f3343854584c8f346e72b2 | [
"MIT"
] | null | null | null |
def main() -> None:
pass
| 7.5 | 19 | 0.5 | 4 | 30 | 3.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 30 | 3 | 20 | 10 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
10cd0824717b69897f174fed9565f00444f20364 | 747 | py | Python | Lib/site-packages/urllib3/contrib/_appengine_environ.py | ldepaula3/TextAnalyticsApp | cd87f2017cf301266a82355d4c781de67b9c6ac9 | [
"bzip2-1.0.6"
] | 7 | 2019-12-21T00:14:14.000Z | 2021-03-11T14:51:37.000Z | Lib/site-packages/urllib3/contrib/_appengine_environ.py | ldepaula3/TextAnalyticsApp | cd87f2017cf301266a82355d4c781de67b9c6ac9 | [
"bzip2-1.0.6"
] | 29 | 2019-10-09T11:16:21.000Z | 2020-06-23T09:32:09.000Z | Lib/site-packages/urllib3/contrib/_appengine_environ.py | ldepaula3/TextAnalyticsApp | cd87f2017cf301266a82355d4c781de67b9c6ac9 | [
"bzip2-1.0.6"
] | 1 | 2021-05-07T10:13:31.000Z | 2021-05-07T10:13:31.000Z | """
This module provides means to detect the App Engine environment.
"""
import os
def is_appengine():
return (is_local_appengine() or
is_prod_appengine() or
is_prod_appengine_mvms())
def is_appengine_sandbox():
return is_appengine() and not is_prod_appengine_mvms()
... | 24.096774 | 70 | 0.658635 | 96 | 747 | 4.822917 | 0.364583 | 0.077754 | 0.194384 | 0.164147 | 0.544276 | 0.37581 | 0.323974 | 0.323974 | 0 | 0 | 0 | 0 | 0.243641 | 747 | 30 | 71 | 24.9 | 0.819469 | 0.085676 | 0 | 0.125 | 0 | 0 | 0.16124 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3125 | true | 0 | 0.0625 | 0.3125 | 0.6875 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
8038b12e370cc03750e65654b6fc4aed9b30a9c1 | 81,631 | py | Python | gr37/hf/X310/x310_cpol_simple_hf.py | zleffke/flowgraph_sandbox | 6bcad45fd4585e917678b843be323278ebf06323 | [
"MIT"
] | null | null | null | gr37/hf/X310/x310_cpol_simple_hf.py | zleffke/flowgraph_sandbox | 6bcad45fd4585e917678b843be323278ebf06323 | [
"MIT"
] | null | null | null | gr37/hf/X310/x310_cpol_simple_hf.py | zleffke/flowgraph_sandbox | 6bcad45fd4585e917678b843be323278ebf06323 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# SPDX-License-Identifier: GPL-3.0
#
# GNU Radio Python Flow Graph
# Title: Dual Polarization Phase Correlation, Start Time [UTC]: 2020-09-08T04:06:16.766349Z
# GNU Radio version: 3.8.2.0
from distutils.version import StrictVersion
if __name__ == '__main__':
impor... | 50.018995 | 179 | 0.653355 | 13,644 | 81,631 | 3.475594 | 0.031589 | 0.019401 | 0.037705 | 0.018304 | 0.912781 | 0.874823 | 0.835874 | 0.805192 | 0.772316 | 0.741697 | 0 | 0.060617 | 0.224768 | 81,631 | 1,631 | 180 | 50.049663 | 0.688732 | 0.009592 | 0 | 0.423239 | 0 | 0.001408 | 0.028551 | 0.000932 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037324 | false | 0.038732 | 0.014789 | 0.016197 | 0.069718 | 0.000704 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
33d615b5b585d60432f0c8910ed2b6c13561a335 | 162 | py | Python | utils/face_analyzer.py | glup-ai/gods-eye | 2a2a80a748237b0477b87dff875916b3baa1fb61 | [
"MIT"
] | null | null | null | utils/face_analyzer.py | glup-ai/gods-eye | 2a2a80a748237b0477b87dff875916b3baa1fb61 | [
"MIT"
] | null | null | null | utils/face_analyzer.py | glup-ai/gods-eye | 2a2a80a748237b0477b87dff875916b3baa1fb61 | [
"MIT"
] | null | null | null | from deepface.DeepFace import analyze
def analyze_face(image):
return analyze(image, actions=['age', 'gender', 'emotion', 'race'], enforce_detection=False) | 27 | 96 | 0.740741 | 20 | 162 | 5.9 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117284 | 162 | 6 | 96 | 27 | 0.825175 | 0 | 0 | 0 | 0 | 0 | 0.122699 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
1d18b594758cd83442d15d9cf46fd93f4ea3f897 | 2,121 | py | Python | sdk/python/pulumi_google_native/apigee/v1/__init__.py | AaronFriel/pulumi-google-native | 75d1cda425e33d4610348972cd70bddf35f1770d | [
"Apache-2.0"
] | 44 | 2021-04-18T23:00:48.000Z | 2022-02-14T17:43:15.000Z | sdk/python/pulumi_google_native/apigee/v1/__init__.py | AaronFriel/pulumi-google-native | 75d1cda425e33d4610348972cd70bddf35f1770d | [
"Apache-2.0"
] | 354 | 2021-04-16T16:48:39.000Z | 2022-03-31T17:16:39.000Z | sdk/python/pulumi_google_native/apigee/v1/__init__.py | AaronFriel/pulumi-google-native | 75d1cda425e33d4610348972cd70bddf35f1770d | [
"Apache-2.0"
] | 8 | 2021-04-24T17:46:51.000Z | 2022-01-05T10:40:21.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi SDK Generator. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
from ... import _utilities
import typing
# Export this package's modules as members:
from ._enums import *
from .alias import *
from .api import *
from... | 29.054795 | 80 | 0.782178 | 295 | 2,121 | 5.410169 | 0.261017 | 0.401003 | 0.260652 | 0.025063 | 0.052632 | 0.052632 | 0 | 0 | 0 | 0 | 0 | 0.000551 | 0.144272 | 2,121 | 72 | 81 | 29.458333 | 0.878788 | 0.09571 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1d35a20ca377876e4c44d323585e0dc24935c4ba | 4,532 | py | Python | src/mannkendall/mk_hardcoded.py | mannkendall/Python | 10d704ccfd941d30ee6b313a02596384c2214a44 | [
"BSD-3-Clause"
] | 1 | 2021-12-09T07:27:22.000Z | 2021-12-09T07:27:22.000Z | src/mannkendall/mk_hardcoded.py | mannkendall/Python | 10d704ccfd941d30ee6b313a02596384c2214a44 | [
"BSD-3-Clause"
] | 3 | 2020-10-26T13:40:19.000Z | 2021-02-01T13:01:22.000Z | src/mannkendall/mk_hardcoded.py | mannkendall/Python | 10d704ccfd941d30ee6b313a02596384c2214a44 | [
"BSD-3-Clause"
] | 1 | 2021-05-04T13:13:57.000Z | 2021-05-04T13:13:57.000Z | # -*- coding: utf-8 -*-
"""
Copyright (c) 2020 MeteoSwiss, contributors of the original matlab version of the code listed in
ORIGINAL_AUTHORS.
Copyright (c) 2020 MeteoSwiss, contributors of the Python version of the code listed in AUTHORS.
Distributed under the terms of the BSD 3-Clause License.
SPDX-License-Identifi... | 67.641791 | 96 | 0.599515 | 1,017 | 4,532 | 2.6647 | 0.13471 | 0.690037 | 0.813653 | 1.162362 | 0.791144 | 0.738376 | 0.70369 | 0.648708 | 0.64059 | 0.632841 | 0 | 0.102422 | 0.161959 | 4,532 | 66 | 97 | 68.666667 | 0.611111 | 0.108341 | 0 | 0.081633 | 0 | 0 | 0.005954 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.020408 | 0 | 0.020408 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1d77f203ec4473853ac3218a4103d4b6432a7972 | 1,559 | py | Python | nr_pypackage/templates/package_blueprints/PACKAGE_NAME_SAFE/service/BP_DATABASE/TABLE_NAME/TABLE_NAME_api.py | nitred/nr-pypackage | 426fa4ffca5a69ca4ed6f70cdf9d9d6be76e4e45 | [
"MIT"
] | 1 | 2019-07-10T07:00:24.000Z | 2019-07-10T07:00:24.000Z | nr_pypackage/templates/package_blueprints/PACKAGE_NAME_SAFE/service/BP_DATABASE/TABLE_NAME/TABLE_NAME_api.py | nitred/nr-pypackage | 426fa4ffca5a69ca4ed6f70cdf9d9d6be76e4e45 | [
"MIT"
] | 9 | 2018-09-27T10:33:58.000Z | 2018-10-26T12:47:57.000Z | nr_pypackage/templates/package_blueprints/PACKAGE_NAME_SAFE/service/BP_DATABASE/TABLE_NAME/TABLE_NAME_api.py | nitred/nr-pypackage | 426fa4ffca5a69ca4ed6f70cdf9d9d6be76e4e45 | [
"MIT"
] | null | null | null | """Module dedicated to high level database api for the table which takes care of session management."""
from . import {{ current_table_name_lower }}_ops
from .. import ManagedSession
def get_{{ current_table_name_lower }}s(**kwargs):
"""Get multiple {{ current_table_name_lower }}s."""
with ManagedSession() as... | 42.135135 | 114 | 0.70109 | 193 | 1,559 | 5.253886 | 0.222798 | 0.260355 | 0.34714 | 0.455621 | 0.804734 | 0.723866 | 0.635108 | 0.63215 | 0.538462 | 0.353057 | 0 | 0 | 0.168698 | 1,559 | 36 | 115 | 43.305556 | 0.782407 | 0 | 0 | 0.409091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.090909 | null | null | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d54b79006ac63f85c8c24a6d22dd2bfa5ffc50fc | 19,090 | py | Python | dnanexus/overlap_peaks/src/overlap_peaks.py | strattan/test-merge2 | 2bc5a7c94fb06cff163ab3674dbb319e45976d17 | [
"MIT"
] | 108 | 2015-06-30T19:38:12.000Z | 2022-03-09T06:50:59.000Z | dnanexus/overlap_peaks/src/overlap_peaks.py | strattan/test-merge2 | 2bc5a7c94fb06cff163ab3674dbb319e45976d17 | [
"MIT"
] | 7 | 2017-06-28T06:43:41.000Z | 2021-09-07T05:33:04.000Z | dnanexus/overlap_peaks/src/overlap_peaks.py | strattan/test-merge2 | 2bc5a7c94fb06cff163ab3674dbb319e45976d17 | [
"MIT"
] | 59 | 2015-08-29T10:26:24.000Z | 2021-06-25T02:27:20.000Z | #!/usr/bin/env python
# overlap_peaks 0.0.1
import re
import dxpy
import common
import logging
import subprocess
logger = logging.getLogger(__name__)
logger.addHandler(dxpy.DXLogHandler())
logger.propagate = False
logger.setLevel(logging.INFO)
def xcor_only(tags, paired_end, spp_version=None, name='xcor_only'):
... | 41.681223 | 164 | 0.654217 | 2,585 | 19,090 | 4.488201 | 0.111412 | 0.040424 | 0.031029 | 0.027581 | 0.784434 | 0.762886 | 0.740993 | 0.734615 | 0.724703 | 0.713411 | 0 | 0.021181 | 0.240754 | 19,090 | 457 | 165 | 41.772429 | 0.779288 | 0.120272 | 0 | 0.708934 | 0 | 0.017291 | 0.155289 | 0.019949 | 0 | 0 | 0 | 0 | 0.005764 | 1 | 0.011527 | false | 0 | 0.014409 | 0 | 0.037464 | 0.037464 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6341994e9d913ea25a9058db9355ce7afd1a9c8f | 24 | py | Python | modules/__init__.py | yassirf/surrogate-active-learning | 6c9e7baf03857b7c8097e5ea909b354a62a4f0a0 | [
"MIT"
] | null | null | null | modules/__init__.py | yassirf/surrogate-active-learning | 6c9e7baf03857b7c8097e5ea909b354a62a4f0a0 | [
"MIT"
] | null | null | null | modules/__init__.py | yassirf/surrogate-active-learning | 6c9e7baf03857b7c8097e5ea909b354a62a4f0a0 | [
"MIT"
] | null | null | null |
from .dropout import *
| 8 | 22 | 0.708333 | 3 | 24 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208333 | 24 | 2 | 23 | 12 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6379cf30f18109a3b79e6f8872c4780b167b7f8d | 85 | py | Python | services/account/src/account/__main__.py | tomdewildt/ada | f9800c023ac8b70584b0d2a27a6b4f3b09acc3d9 | [
"MIT"
] | null | null | null | services/account/src/account/__main__.py | tomdewildt/ada | f9800c023ac8b70584b0d2a27a6b4f3b09acc3d9 | [
"MIT"
] | 2 | 2022-03-19T20:42:43.000Z | 2022-03-19T20:57:41.000Z | services/account/src/account/__main__.py | tomdewildt/ada | f9800c023ac8b70584b0d2a27a6b4f3b09acc3d9 | [
"MIT"
] | 1 | 2022-03-23T21:18:58.000Z | 2022-03-23T21:18:58.000Z | # pylint: disable=unused-import
from account.app import app
import account.resources
| 21.25 | 31 | 0.823529 | 12 | 85 | 5.833333 | 0.666667 | 0.257143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105882 | 85 | 3 | 32 | 28.333333 | 0.921053 | 0.341176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
63859f7b380ff3085cf073a77d4fa0ae382f8c94 | 43 | py | Python | tests/test_knots.py | henk789/uf3 | 60ad0de74417fa0b1406c261330dfec6b7d57cdb | [
"Apache-2.0"
] | 17 | 2021-10-01T14:52:16.000Z | 2022-02-11T13:10:03.000Z | tests/test_knots.py | henk789/uf3 | 60ad0de74417fa0b1406c261330dfec6b7d57cdb | [
"Apache-2.0"
] | 3 | 2021-10-06T13:39:28.000Z | 2021-12-03T16:39:03.000Z | tests/test_knots.py | henk789/uf3 | 60ad0de74417fa0b1406c261330dfec6b7d57cdb | [
"Apache-2.0"
] | 4 | 2022-01-27T08:49:00.000Z | 2022-03-22T11:55:35.000Z | from uf3.representation.bspline import *
| 10.75 | 40 | 0.790698 | 5 | 43 | 6.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027027 | 0.139535 | 43 | 3 | 41 | 14.333333 | 0.891892 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
63870f494202c862e63ba6c4240f22bd96e07f06 | 34 | py | Python | django-rgd-imagery/rgd_imagery/stac/__init__.py | Kitware/ResonantGeoData | 6d111cbe1d57df2cd230edcf4724f6e33471f5ff | [
"Apache-2.0"
] | 3 | 2020-03-10T14:47:07.000Z | 2020-05-05T16:55:27.000Z | django-rgd-imagery/rgd_imagery/stac/__init__.py | Kitware/ResonantGeoData | 6d111cbe1d57df2cd230edcf4724f6e33471f5ff | [
"Apache-2.0"
] | 13 | 2020-04-14T14:36:06.000Z | 2020-05-07T15:03:42.000Z | django-rgd-imagery/rgd_imagery/stac/__init__.py | Kitware/ResonantGeoData | 6d111cbe1d57df2cd230edcf4724f6e33471f5ff | [
"Apache-2.0"
] | 1 | 2020-03-03T15:47:52.000Z | 2020-03-03T15:47:52.000Z | from . import serializers # noqa
| 17 | 33 | 0.735294 | 4 | 34 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205882 | 34 | 1 | 34 | 34 | 0.925926 | 0.117647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
63a14906ea43280120a53d1098e156eda52964e0 | 117 | py | Python | info/modules/profile/__init__.py | gxz987/Dynamic_movie | ceb266dcb123cc2e51bda29a1da436e58b220be4 | [
"MIT"
] | null | null | null | info/modules/profile/__init__.py | gxz987/Dynamic_movie | ceb266dcb123cc2e51bda29a1da436e58b220be4 | [
"MIT"
] | 6 | 2021-03-19T01:24:17.000Z | 2022-03-11T23:50:23.000Z | info/modules/profile/__init__.py | bzg287288182/my-News | 01e581ec53e44a9ed7ab8be1bcd9ddf84795acff | [
"MIT"
] | null | null | null | from flask import Blueprint
profile_blu = Blueprint("profile", __name__, url_prefix="/user")
from .views import * | 16.714286 | 64 | 0.752137 | 15 | 117 | 5.466667 | 0.733333 | 0.390244 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136752 | 117 | 7 | 65 | 16.714286 | 0.811881 | 0 | 0 | 0 | 0 | 0 | 0.101695 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
63a324965b307ff5b01028584f48603247c59357 | 127 | py | Python | torchdataset/__init__.py | popura/torchdataset | 89bfa5ee612c6bc5cf05839aa5b5ddf044969d99 | [
"MIT"
] | null | null | null | torchdataset/__init__.py | popura/torchdataset | 89bfa5ee612c6bc5cf05839aa5b5ddf044969d99 | [
"MIT"
] | null | null | null | torchdataset/__init__.py | popura/torchdataset | 89bfa5ee612c6bc5cf05839aa5b5ddf044969d99 | [
"MIT"
] | null | null | null | import torchdataset.dataset
import torchdataset.transform
#import torchdataset.audiodataset
#import torchdataset.visiondataset
| 25.4 | 34 | 0.889764 | 12 | 127 | 9.416667 | 0.5 | 0.637168 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.062992 | 127 | 4 | 35 | 31.75 | 0.94958 | 0.511811 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
896162d1b4c836ec0a73531540d6ab7f6d81734f | 44 | py | Python | algopy/tracer/__init__.py | arthus701/algopy | 1e2430f803289bbaed6bbdff6c28f98d7767835c | [
"Unlicense"
] | 54 | 2015-03-05T13:38:08.000Z | 2021-11-29T11:54:48.000Z | algopy/tracer/__init__.py | arthus701/algopy | 1e2430f803289bbaed6bbdff6c28f98d7767835c | [
"Unlicense"
] | 7 | 2016-04-06T11:25:00.000Z | 2020-11-09T13:53:20.000Z | algopy/tracer/__init__.py | arthus701/algopy | 1e2430f803289bbaed6bbdff6c28f98d7767835c | [
"Unlicense"
] | 13 | 2015-01-17T17:05:56.000Z | 2021-08-05T01:13:16.000Z | from . import tracer
from .tracer import *
| 11 | 21 | 0.727273 | 6 | 44 | 5.333333 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.204545 | 44 | 3 | 22 | 14.666667 | 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 | 1 | 0 | 0 | 6 |
8986d4f379ef710f1f7298a05fd485f2b0d05d06 | 8,928 | py | Python | tests/test.py | HARPLab/inquire | fa74eb10e5391a0f226753668a31527c68fc6962 | [
"BSD-3-Clause"
] | null | null | null | tests/test.py | HARPLab/inquire | fa74eb10e5391a0f226753668a31527c68fc6962 | [
"BSD-3-Clause"
] | null | null | null | tests/test.py | HARPLab/inquire | fa74eb10e5391a0f226753668a31527c68fc6962 | [
"BSD-3-Clause"
] | null | null | null | import pdb
from inquire.interactions.preference import Pref
from demonstration import Demo
from correction import Correction
from train import Session, GridTestSet
import matplotlib.pyplot as plt
import numpy as np
def plot_results(results, idx, labels):
colors = ['r','b','g','c','m','y','k']
for i in range(le... | 46.259067 | 206 | 0.640569 | 1,223 | 8,928 | 4.463614 | 0.104661 | 0.069243 | 0.048727 | 0.07309 | 0.837882 | 0.832753 | 0.832753 | 0.82799 | 0.82799 | 0.809123 | 0 | 0.012887 | 0.226478 | 8,928 | 192 | 207 | 46.5 | 0.777585 | 0.13172 | 0 | 0.306818 | 0 | 0 | 0.083102 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.011364 | false | 0 | 0.079545 | 0 | 0.090909 | 0.079545 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
89b16e07baf11f4897fc0beab14ab2cdff39be28 | 3,066 | py | Python | tests/ui_tests/test_profile.py | JamesNolan17/SUTDHousingPortal | 12aeefd27a917c32ce961cafb82bbe28630901a1 | [
"MIT"
] | 1 | 2021-04-09T11:29:40.000Z | 2021-04-09T11:29:40.000Z | tests/ui_tests/test_profile.py | JamesNolan17/SUTDHousingPortal | 12aeefd27a917c32ce961cafb82bbe28630901a1 | [
"MIT"
] | 4 | 2021-03-22T16:33:20.000Z | 2021-06-19T05:06:57.000Z | tests/ui_tests/test_profile.py | JamesNolan17/SUTDHousingPortal | 12aeefd27a917c32ce961cafb82bbe28630901a1 | [
"MIT"
] | 1 | 2021-05-14T06:00:04.000Z | 2021-05-14T06:00:04.000Z | import unittest
from .common import *
class ProfileTest(unittest.TestCase):
def test_edit_profile_all(self):
driver.get(url)
input_text(driver, "text", student_username)
input_text(driver, "password", student_password)
click_btn(driver, "loginbtn")
time.sleep(1)
dr... | 35.651163 | 78 | 0.608611 | 365 | 3,066 | 4.865753 | 0.210959 | 0.101351 | 0.126689 | 0.076577 | 0.849099 | 0.801802 | 0.796171 | 0.655405 | 0.601351 | 0.601351 | 0 | 0.03541 | 0.272342 | 3,066 | 85 | 79 | 36.070588 | 0.760645 | 0.031963 | 0 | 0.702703 | 0 | 0 | 0.149173 | 0.071212 | 0 | 0 | 0 | 0 | 0.040541 | 1 | 0.027027 | false | 0.054054 | 0.027027 | 0 | 0.067568 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
89b7fdfc9cae8c8ddd67e830ff17ac42db7c3abf | 23,243 | py | Python | MAEnv/env_Warehouse/env_Warehouse.py | Abluceli/Multi-agent-Reinforcement-Learning-Algorithms | 15810a559e2f2cf9e5fcb158c083f9e9dd6012fc | [
"MIT"
] | 5 | 2020-05-25T03:08:09.000Z | 2022-02-27T05:57:28.000Z | MAEnv/env_Warehouse/env_Warehouse.py | Abluceli/Multi-agent-Reinforcement-Learning-Algorithms | 15810a559e2f2cf9e5fcb158c083f9e9dd6012fc | [
"MIT"
] | 1 | 2020-12-22T01:35:36.000Z | 2022-01-28T01:51:06.000Z | MAEnv/env_Warehouse/env_Warehouse.py | Abluceli/Multi-agent-Reinforcement-Learning-Algorithms | 15810a559e2f2cf9e5fcb158c083f9e9dd6012fc | [
"MIT"
] | 1 | 2020-05-06T01:56:55.000Z | 2020-05-06T01:56:55.000Z | import numpy as np
import random
import matplotlib.pyplot as plt
from matplotlib.gridspec import GridSpec
import cv2
class Box(object):
def __init__(self, pos, size, id):
self.id = id
self.pos = pos
self.size = size # 0, large, 1, small
class Agent(object):
def __init__(self, pos, i... | 53.06621 | 261 | 0.52618 | 3,690 | 23,243 | 3.120325 | 0.038482 | 0.108824 | 0.168143 | 0.11777 | 0.866771 | 0.817092 | 0.797725 | 0.773667 | 0.756905 | 0.728939 | 0 | 0.053753 | 0.319666 | 23,243 | 437 | 262 | 53.187643 | 0.674382 | 0.047842 | 0 | 0.492997 | 0 | 0 | 0.000686 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.047619 | false | 0 | 0.014006 | 0 | 0.10084 | 0.002801 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
98273631982eea0a5054ed7c921fa1e62f986eb5 | 200 | py | Python | api-inference-community/docker_images/fairseq/app/pipelines/__init__.py | mlonaws/huggingface_hub | 588f74b98fbcab2cd7e61a74cc6d9649a92e0ef2 | [
"Apache-2.0"
] | 2 | 2022-03-24T19:41:23.000Z | 2022-03-25T10:41:26.000Z | api-inference-community/docker_images/fairseq/app/pipelines/__init__.py | mlonaws/huggingface_hub | 588f74b98fbcab2cd7e61a74cc6d9649a92e0ef2 | [
"Apache-2.0"
] | 6 | 2022-03-16T12:51:45.000Z | 2022-03-17T08:40:35.000Z | api-inference-community/docker_images/fairseq/app/pipelines/__init__.py | mlonaws/huggingface_hub | 588f74b98fbcab2cd7e61a74cc6d9649a92e0ef2 | [
"Apache-2.0"
] | 1 | 2022-02-25T01:17:27.000Z | 2022-02-25T01:17:27.000Z | from app.pipelines.base import Pipeline, PipelineException # isort:skip
from app.pipelines.audio_to_audio import SpeechToSpeechPipeline
from app.pipelines.text_to_speech import TextToSpeechPipeline
| 40 | 72 | 0.87 | 25 | 200 | 6.8 | 0.6 | 0.123529 | 0.282353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085 | 200 | 4 | 73 | 50 | 0.928962 | 0.05 | 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 | 1 | 0 | 0 | 6 |
98311f181e64ef77ca97a0ce6791af4c4aab28dd | 4,071 | py | Python | tests/test_app.py | SeattleDSA/parler-data-searcher | 654b1df053058cdfd58a62b302110d321eb6adcc | [
"MIT"
] | 1 | 2021-09-30T20:28:17.000Z | 2021-09-30T20:28:17.000Z | tests/test_app.py | OrcaCollective/parler-data-searcher | 654b1df053058cdfd58a62b302110d321eb6adcc | [
"MIT"
] | 13 | 2021-06-29T02:58:03.000Z | 2021-07-17T01:49:04.000Z | tests/test_app.py | SeattleDSA/parler-data-searcher | 654b1df053058cdfd58a62b302110d321eb6adcc | [
"MIT"
] | null | null | null | from unittest.mock import patch
import pytest
from tests.utils.posts import make_post
from tests.utils.users import make_user
@pytest.mark.asyncio
async def test_index_route(app):
client = app.test_client()
response = await client.get("/")
assert response.status_code == 200
@pytest.mark.asyncio
async ... | 31.55814 | 117 | 0.674773 | 571 | 4,071 | 4.619965 | 0.119089 | 0.045489 | 0.057998 | 0.064822 | 0.862017 | 0.843063 | 0.824867 | 0.824867 | 0.814632 | 0.785823 | 0 | 0.015017 | 0.198477 | 4,071 | 128 | 118 | 31.804688 | 0.793442 | 0 | 0 | 0.62963 | 0 | 0.009259 | 0.2169 | 0.077377 | 0 | 0 | 0 | 0 | 0.194444 | 1 | 0 | false | 0 | 0.037037 | 0 | 0.037037 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
984adaede67874a62504cdda5bac3a6fa742dbdb | 156 | py | Python | lookbook/api/views.py | bdizon/instagram-lookbook | 659e378c513dfc070085c7543532f345076097d0 | [
"MIT"
] | null | null | null | lookbook/api/views.py | bdizon/instagram-lookbook | 659e378c513dfc070085c7543532f345076097d0 | [
"MIT"
] | null | null | null | lookbook/api/views.py | bdizon/instagram-lookbook | 659e378c513dfc070085c7543532f345076097d0 | [
"MIT"
] | null | null | null | from django.shortcuts import render
from django.http import HttpResponse
# Create your views here.
def main(request):
return HttpResponse("Hello") | 26 | 37 | 0.762821 | 20 | 156 | 5.95 | 0.8 | 0.168067 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 156 | 6 | 38 | 26 | 0.915385 | 0.147436 | 0 | 0 | 0 | 0 | 0.03937 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
98a7949a8e970bb5035ea972b1c499c27509a334 | 33 | py | Python | gym_sted/agents/__init__.py | FLClab/gym-sted | 82d8eb41aeaae85aef8d036cd4f0cc4686f58711 | [
"MIT"
] | null | null | null | gym_sted/agents/__init__.py | FLClab/gym-sted | 82d8eb41aeaae85aef8d036cd4f0cc4686f58711 | [
"MIT"
] | null | null | null | gym_sted/agents/__init__.py | FLClab/gym-sted | 82d8eb41aeaae85aef8d036cd4f0cc4686f58711 | [
"MIT"
] | null | null | null |
from .agents import RandomAgent
| 11 | 31 | 0.818182 | 4 | 33 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 33 | 2 | 32 | 16.5 | 0.964286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7f854a98429306f295294f11e12fed53c53b769b | 674 | py | Python | tests/data/pop_jmp.py | HildeTeamTNT/pyarmor | a699f43baa766d8826f801021f1f483d19fdcb87 | [
"OLDAP-2.5",
"Python-2.0"
] | 1,463 | 2017-09-30T02:46:56.000Z | 2022-03-30T15:11:05.000Z | tests/data/pop_jmp.py | HildeTeamTNT/pyarmor | a699f43baa766d8826f801021f1f483d19fdcb87 | [
"OLDAP-2.5",
"Python-2.0"
] | 702 | 2016-12-02T23:47:21.000Z | 2022-03-31T08:14:00.000Z | tests/data/pop_jmp.py | HildeTeamTNT/pyarmor | a699f43baa766d8826f801021f1f483d19fdcb87 | [
"OLDAP-2.5",
"Python-2.0"
] | 208 | 2018-01-17T05:55:55.000Z | 2022-03-29T18:27:47.000Z | def jmp_simple(n):
return 3 if n == 0 else 5
def jmp_short(n):
if n == 0:
n += 1
n += 1
n += 1
n += 1
n += 1
n += 1
n += 1
n += 1
n += 1
n += 1
n += 1
n += 1
n += 1
n += 1
n += 1
n +... | 15.674419 | 49 | 0.290801 | 99 | 674 | 1.838384 | 0.161616 | 0.32967 | 0.478022 | 0.637363 | 0.32967 | 0.32967 | 0.32967 | 0.32967 | 0.32967 | 0.32967 | 0 | 0.125 | 0.5727 | 674 | 42 | 50 | 16.047619 | 0.506944 | 0 | 0 | 0.789474 | 0 | 0 | 0.069733 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.052632 | false | 0 | 0 | 0.026316 | 0.105263 | 0.052632 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7f9d89b664cf5b8e607d936f7a462bbb9da2b6a2 | 139 | py | Python | backend/infotainment/views.py | drillby/automatization_of_pc | d0d9a9c42a9facf528d80f4f4f0d840d89f61686 | [
"MIT"
] | 1 | 2021-11-22T08:30:21.000Z | 2021-11-22T08:30:21.000Z | backend/infotainment/views.py | drillby/automatization_of_pc | d0d9a9c42a9facf528d80f4f4f0d840d89f61686 | [
"MIT"
] | 1 | 2021-11-24T20:06:05.000Z | 2021-11-24T20:10:34.000Z | backend/infotainment/views.py | drillby/Automatization-of-PC | 7b044b22966e00688dba4f0061c6efea5ad61ba8 | [
"MIT"
] | null | null | null | from django.shortcuts import render
# Create your views here.
def index(request):
return render(request, 'infotainment/index.html')
| 17.375 | 53 | 0.755396 | 18 | 139 | 5.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151079 | 139 | 7 | 54 | 19.857143 | 0.889831 | 0.165468 | 0 | 0 | 0 | 0 | 0.201754 | 0.201754 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
7fa4aff75980f66b1c02e6725d821bc2e14592cf | 19 | py | Python | __init__.py | hjabird/XFEM_Boundary_Cooling_Solver | 0f1ef11509012800232d1070f1cb6a4e693cc752 | [
"MIT"
] | null | null | null | __init__.py | hjabird/XFEM_Boundary_Cooling_Solver | 0f1ef11509012800232d1070f1cb6a4e693cc752 | [
"MIT"
] | null | null | null | __init__.py | hjabird/XFEM_Boundary_Cooling_Solver | 0f1ef11509012800232d1070f1cb6a4e693cc752 | [
"MIT"
] | null | null | null | from .Accl import * | 19 | 19 | 0.736842 | 3 | 19 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 19 | 1 | 19 | 19 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f6984f60994fe60c7f3a4e62326f8b389623344a | 31 | py | Python | src/classes/progress_viewer/__init__.py | matsuo7y/trade_centre | e2a4d8191963dd71a1c6aa9cfe19097b4f196e1a | [
"MIT"
] | null | null | null | src/classes/progress_viewer/__init__.py | matsuo7y/trade_centre | e2a4d8191963dd71a1c6aa9cfe19097b4f196e1a | [
"MIT"
] | null | null | null | src/classes/progress_viewer/__init__.py | matsuo7y/trade_centre | e2a4d8191963dd71a1c6aa9cfe19097b4f196e1a | [
"MIT"
] | null | null | null | from .app import progress_view
| 15.5 | 30 | 0.83871 | 5 | 31 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.925926 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f6c49991e42e81db24d2667a0c9471b07d4656de | 80 | py | Python | src/money_lover/__init__.py | villoro/airflow_tasks | 81bd892744a9bbbf6e01903649b6c3786a955a5a | [
"MIT"
] | null | null | null | src/money_lover/__init__.py | villoro/airflow_tasks | 81bd892744a9bbbf6e01903649b6c3786a955a5a | [
"MIT"
] | 4 | 2020-10-09T15:59:09.000Z | 2020-11-18T08:34:44.000Z | src/money_lover/__init__.py | villoro/airflow_tasks | 81bd892744a9bbbf6e01903649b6c3786a955a5a | [
"MIT"
] | null | null | null | from . import constants
from . import process
from .process import money_lover
| 16 | 32 | 0.8 | 11 | 80 | 5.727273 | 0.545455 | 0.31746 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1625 | 80 | 4 | 33 | 20 | 0.940299 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f6e1f97d0948812727405fcfb69088d542dd1542 | 77 | py | Python | datashape/run_test.py | nikicc/anaconda-recipes | 9c611a5854bf41bbc5e7ed9853dc71c0851a62ef | [
"BSD-3-Clause"
] | 130 | 2015-07-28T03:41:21.000Z | 2022-03-16T03:07:41.000Z | datashape/run_test.py | nikicc/anaconda-recipes | 9c611a5854bf41bbc5e7ed9853dc71c0851a62ef | [
"BSD-3-Clause"
] | 119 | 2015-08-01T00:54:06.000Z | 2021-01-05T13:00:46.000Z | datashape/run_test.py | nikicc/anaconda-recipes | 9c611a5854bf41bbc5e7ed9853dc71c0851a62ef | [
"BSD-3-Clause"
] | 72 | 2015-07-29T02:35:56.000Z | 2022-02-26T14:31:15.000Z | import datashape
print('datashape.__version__: %s' % datashape.__version__)
| 19.25 | 58 | 0.792208 | 8 | 77 | 6.625 | 0.625 | 0.603774 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 77 | 3 | 59 | 25.666667 | 0.757143 | 0 | 0 | 0 | 0 | 0 | 0.324675 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
f6e27b5fdf50dd4929de07c4aa2186306557c46c | 28 | py | Python | deepv2d/__init__.py | TWJianNuo/Deepv2d | e8d9658d974fac9734ebb0a9b9ad56dbfad5c8ee | [
"BSD-3-Clause"
] | 1 | 2022-01-29T03:28:57.000Z | 2022-01-29T03:28:57.000Z | deepv2d/__init__.py | TWJianNuo/Deepv2d | e8d9658d974fac9734ebb0a9b9ad56dbfad5c8ee | [
"BSD-3-Clause"
] | null | null | null | deepv2d/__init__.py | TWJianNuo/Deepv2d | e8d9658d974fac9734ebb0a9b9ad56dbfad5c8ee | [
"BSD-3-Clause"
] | null | null | null | from .deepv2d import DeepV2D | 28 | 28 | 0.857143 | 4 | 28 | 6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 0.107143 | 28 | 1 | 28 | 28 | 0.88 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.