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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
629948bb773b70bd81d3960b7abe271a35d06fc4 | 7,528 | py | Python | patterns.py | sidchilling/zerodha_TA | b1c67cfdc16e8ef569f13c8529621322d0eadb27 | [
"Apache-2.0"
] | 13 | 2018-04-12T06:03:44.000Z | 2021-05-22T22:42:53.000Z | patterns.py | sidchilling/zerodha_TA | b1c67cfdc16e8ef569f13c8529621322d0eadb27 | [
"Apache-2.0"
] | null | null | null | patterns.py | sidchilling/zerodha_TA | b1c67cfdc16e8ef569f13c8529621322d0eadb27 | [
"Apache-2.0"
] | 15 | 2018-12-28T21:34:46.000Z | 2022-01-16T14:54:05.000Z | # This file has functions to return candlestick patterns found in data
from datetime import datetime
from dateutil.relativedelta import relativedelta
def _is_datapoint_ok(d):
if d.get('open', None) and d.get('high', None) and d.get('low', None) and d.get('close', None) and d.get('volume', None):
return True
re... | 50.864865 | 152 | 0.681987 | 1,209 | 7,528 | 3.956162 | 0.075269 | 0.087811 | 0.071921 | 0.052687 | 0.825842 | 0.819569 | 0.784654 | 0.761238 | 0.743885 | 0.722768 | 0 | 0.01652 | 0.171759 | 7,528 | 148 | 153 | 50.864865 | 0.750601 | 0.021121 | 0 | 0.686131 | 0 | 0 | 0.065046 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.058394 | false | 0 | 0.014599 | 0 | 0.138686 | 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 |
1a111bd73f9ff395ef999143e8785558c2dc8380 | 4,532 | py | Python | src/preprocessing/tests/test_preprocessing.py | pradeep90/reddit-post-classifier | 081fd1cda50a0938d1b7f32c3919defbf27bea68 | [
"Apache-2.0"
] | null | null | null | src/preprocessing/tests/test_preprocessing.py | pradeep90/reddit-post-classifier | 081fd1cda50a0938d1b7f32c3919defbf27bea68 | [
"Apache-2.0"
] | null | null | null | src/preprocessing/tests/test_preprocessing.py | pradeep90/reddit-post-classifier | 081fd1cda50a0938d1b7f32c3919defbf27bea68 | [
"Apache-2.0"
] | null | null | null | import os, sys
import unittest
sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
import pandas as pd
import preprocessing
class TestPreprocessing(unittest.TestCase):
post_to_test = 'Hi there, <lb>The usual. Long time lerker, first time poster, be kind etc. Sorry if this isn\'t the righ... | 76.813559 | 1,020 | 0.755075 | 788 | 4,532 | 4.290609 | 0.243655 | 0.010648 | 0.014197 | 0.018929 | 0.752144 | 0.732919 | 0.703934 | 0.638273 | 0.570837 | 0.533274 | 0 | 0.004267 | 0.172551 | 4,532 | 58 | 1,021 | 78.137931 | 0.897333 | 0 | 0 | 0 | 0 | 0.277778 | 0.54321 | 0.04172 | 0 | 0 | 0 | 0 | 0.055556 | 1 | 0.055556 | false | 0 | 0.333333 | 0 | 0.611111 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a7e03277b438c7c266f05f8a7a33ea8094a2144e | 1,071 | py | Python | 07-AdventOfCode2021/02/day-02.py | StrangeGirlMurph/CodingProjects | 8400a610c0a54a2721a73824df7aab4e92ec891d | [
"MIT"
] | null | null | null | 07-AdventOfCode2021/02/day-02.py | StrangeGirlMurph/CodingProjects | 8400a610c0a54a2721a73824df7aab4e92ec891d | [
"MIT"
] | null | null | null | 07-AdventOfCode2021/02/day-02.py | StrangeGirlMurph/CodingProjects | 8400a610c0a54a2721a73824df7aab4e92ec891d | [
"MIT"
] | null | null | null | lines = open("input.txt", "r").readlines()
# part 1
start = [0, 0] # horizontal pos, depth
for line in lines:
line = line[:-1].split()
if line[0] == "up":
start[1] -= int(line[1])
elif line[0] == "down":
start[1] += int(line[1])
elif line[0] == "forward":
start[0] += int(line[1... | 32.454545 | 111 | 0.589169 | 168 | 1,071 | 3.755952 | 0.214286 | 0.071315 | 0.088748 | 0.07607 | 0.885895 | 0.812995 | 0.812995 | 0.812995 | 0.724247 | 0.724247 | 0 | 0.046429 | 0.215686 | 1,071 | 32 | 112 | 33.46875 | 0.704762 | 0.05789 | 0 | 0.666667 | 0 | 0 | 0.291833 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.259259 | 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 |
c532406e04472764d89493e1cacf0c9fb9c26b02 | 1,602 | py | Python | tests/unit/c4gh_data.py | EGA-archive/LocalEGA | 9f3142589844e3e5354e1925322d0f6473c63c9c | [
"Apache-2.0"
] | 5 | 2019-11-01T13:37:41.000Z | 2021-11-29T14:27:20.000Z | tests/unit/c4gh_data.py | EGA-archive/LocalEGA | 9f3142589844e3e5354e1925322d0f6473c63c9c | [
"Apache-2.0"
] | 79 | 2018-11-26T11:10:13.000Z | 2022-03-31T12:44:04.000Z | tests/unit/c4gh_data.py | EGA-archive/LocalEGA | 9f3142589844e3e5354e1925322d0f6473c63c9c | [
"Apache-2.0"
] | 13 | 2018-11-26T06:54:15.000Z | 2022-03-14T12:09:25.000Z | # flake8: noqa
EGA_PUBKEY = '''\
-----BEGIN CRYPT4GH PUBLIC KEY-----
ZvRPJ+C6vVkB6b0ckMffFkd+9fv8YrlVDUnqszoimEE=
-----END CRYPT4GH PUBLIC KEY-----'''
EGA_SECKEY = '''\
-----BEGIN CRYPT4GH PRIVATE KEY-----
YzRnaC12MQAGc2NyeXB0ABQAAAAA+IeN2dFsXnC3sFnhYauMLwARY2hhY2hhMjBfcG9seTEzMDUAPLkTtxw+NZymgqcWYtx76ipbCExYazD2hIEc... | 44.5 | 343 | 0.858926 | 74 | 1,602 | 18.472973 | 0.513514 | 0.03804 | 0.049744 | 0.036576 | 0.083394 | 0 | 0 | 0 | 0 | 0 | 0 | 0.318003 | 0.049938 | 1,602 | 35 | 344 | 45.771429 | 0.580158 | 0.01186 | 0 | 0.363636 | 0 | 0 | 0.875316 | 0.675949 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0.090909 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
c54159acf11f6f77d4e579b11b5fba5148d2004f | 4,264 | py | Python | test/unit/coverview/test_statistics.py | RahmanTeamDevelopment/CoverView | ece798725ac9ff7dfd74fcf1daee62fb6aca0f69 | [
"MIT"
] | 2 | 2018-04-10T07:57:09.000Z | 2018-04-23T09:11:39.000Z | test/unit/coverview/test_statistics.py | RahmanTeamDevelopment/CoverView | ece798725ac9ff7dfd74fcf1daee62fb6aca0f69 | [
"MIT"
] | 22 | 2017-05-12T15:02:04.000Z | 2020-06-17T09:14:28.000Z | test/unit/coverview/test_statistics.py | RahmanTeamDevelopment/CoverView | ece798725ac9ff7dfd74fcf1daee62fb6aca0f69 | [
"MIT"
] | null | null | null | import coverview_.statistics
import math
import unittest
class TestSimpleMedianCalculation(unittest.TestCase):
def test_empty_list_has_median_of_nan(selfs):
x = []
assert math.isnan(coverview_.statistics.median(x))
def test_median_of_single_value_is_that_value(self):
x = [5]
... | 34.95082 | 89 | 0.707083 | 557 | 4,264 | 4.983842 | 0.136445 | 0.143732 | 0.075288 | 0.070245 | 0.824928 | 0.727305 | 0.727305 | 0.727305 | 0.669308 | 0.646614 | 0 | 0.038188 | 0.207786 | 4,264 | 121 | 90 | 35.239669 | 0.7836 | 0 | 0 | 0.55914 | 0 | 0 | 0.001876 | 0 | 0 | 0 | 0 | 0 | 0.215054 | 1 | 0.215054 | false | 0 | 0.032258 | 0 | 0.27957 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c5534b56dc3afda39bc9cf947ca79b9b2d9a3f2d | 73 | py | Python | systeminfo/systeminfo/__init__.py | sar2901/Comp30670Assignment2 | e00335988264c628a27f3c8c9e8d58c21b4e7226 | [
"MIT"
] | null | null | null | systeminfo/systeminfo/__init__.py | sar2901/Comp30670Assignment2 | e00335988264c628a27f3c8c9e8d58c21b4e7226 | [
"MIT"
] | null | null | null | systeminfo/systeminfo/__init__.py | sar2901/Comp30670Assignment2 | e00335988264c628a27f3c8c9e8d58c21b4e7226 | [
"MIT"
] | null | null | null | import platform
def get_platform_info():
return platform.platform()
| 9.125 | 27 | 0.767123 | 9 | 73 | 6 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150685 | 73 | 7 | 28 | 10.428571 | 0.870968 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 6 |
3d7bc05847ed33ef1460b365fdf7d2ce9e1063c5 | 6,940 | py | Python | tests/test_management_commands.py | adam-murray/djangocms-moderation | 1fd928e806a3dd0bef62c0652408e8526838db9e | [
"BSD-3-Clause"
] | 2 | 2019-12-17T16:20:58.000Z | 2020-05-12T02:34:55.000Z | tests/test_management_commands.py | adam-murray/djangocms-moderation | 1fd928e806a3dd0bef62c0652408e8526838db9e | [
"BSD-3-Clause"
] | 15 | 2019-05-10T15:34:04.000Z | 2020-04-06T06:44:42.000Z | tests/test_management_commands.py | adam-murray/djangocms-moderation | 1fd928e806a3dd0bef62c0652408e8526838db9e | [
"BSD-3-Clause"
] | 5 | 2019-06-26T19:22:50.000Z | 2020-10-09T16:18:36.000Z | from io import StringIO
from django.core.management import call_command
from cms.test_utils.testcases import CMSTestCase
from djangocms_moderation import constants
from djangocms_moderation.models import Role
from .utils import factories
class FixStatesTestCase(CMSTestCase):
def setUp(self):
self.user... | 49.928058 | 116 | 0.739481 | 759 | 6,940 | 6.577075 | 0.15942 | 0.066106 | 0.07512 | 0.066106 | 0.824119 | 0.795473 | 0.748998 | 0.73137 | 0.725761 | 0.720954 | 0 | 0.014196 | 0.17781 | 6,940 | 138 | 117 | 50.289855 | 0.860673 | 0.090922 | 0 | 0.505495 | 0 | 0 | 0.153076 | 0.033381 | 0 | 0 | 0 | 0 | 0.208791 | 1 | 0.054945 | false | 0 | 0.065934 | 0 | 0.131868 | 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 |
3db39be5fdf417a7706a097011e3a52c3c9232c5 | 4,552 | py | Python | textelixir/taggers.py | JavaScriptorian/textelixir | 516bbf58dab98fdd8a66680db7ae8777059a390e | [
"MIT"
] | null | null | null | textelixir/taggers.py | JavaScriptorian/textelixir | 516bbf58dab98fdd8a66680db7ae8777059a390e | [
"MIT"
] | null | null | null | textelixir/taggers.py | JavaScriptorian/textelixir | 516bbf58dab98fdd8a66680db7ae8777059a390e | [
"MIT"
] | null | null | null | import re
import stanza
def stanza_tagger(tagger, line, line_index, sentence_index, tagger_option='stanza:pos', **kwargs):
# Parse kwargs
line_data = []
start_chars= []
current_read_index = 0
for j, sent in enumerate(tagger(line).sentences):
sentence_index += 1
word_index = 1
... | 38.576271 | 103 | 0.529877 | 540 | 4,552 | 4.233333 | 0.17037 | 0.070866 | 0.035433 | 0.057743 | 0.807087 | 0.807087 | 0.781715 | 0.781715 | 0.781715 | 0.705599 | 0 | 0.010616 | 0.358524 | 4,552 | 118 | 104 | 38.576271 | 0.77226 | 0.12478 | 0 | 0.697917 | 0 | 0 | 0.087088 | 0.008809 | 0 | 0 | 0 | 0 | 0 | 1 | 0.020833 | false | 0 | 0.020833 | 0 | 0.0625 | 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 |
3db468538fb593ef1a88dc648973ecac905d3873 | 139 | py | Python | rideshare/admin.py | ardyflora/DjangoCarPool | 704b0b3db4553aae47f03a39bf7734a16d142f76 | [
"MIT"
] | null | null | null | rideshare/admin.py | ardyflora/DjangoCarPool | 704b0b3db4553aae47f03a39bf7734a16d142f76 | [
"MIT"
] | null | null | null | rideshare/admin.py | ardyflora/DjangoCarPool | 704b0b3db4553aae47f03a39bf7734a16d142f76 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Driver
from .models import Kid
admin.site.register(Driver)
admin.site.register(Kid)
| 17.375 | 32 | 0.805755 | 21 | 139 | 5.333333 | 0.47619 | 0.178571 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115108 | 139 | 7 | 33 | 19.857143 | 0.910569 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9a877aab798340606f6a34c30e6f0292abc25f1e | 23,559 | py | Python | aerospike_helpers/operations/bitwise_operations.py | himali27/aerospike-client-python | 88e1e8f64e7e20b2702fb21cbb1ca8891db33174 | [
"Apache-2.0"
] | null | null | null | aerospike_helpers/operations/bitwise_operations.py | himali27/aerospike-client-python | 88e1e8f64e7e20b2702fb21cbb1ca8891db33174 | [
"Apache-2.0"
] | null | null | null | aerospike_helpers/operations/bitwise_operations.py | himali27/aerospike-client-python | 88e1e8f64e7e20b2702fb21cbb1ca8891db33174 | [
"Apache-2.0"
] | 1 | 2021-08-02T22:30:21.000Z | 2021-08-02T22:30:21.000Z | '''
Helper functions to create bit operation dictionary arguments for
the :mod:`aerospike.Client.operate` and :mod:`aerospike.Client.operate_ordered` methods of the aerospike client.
.. note:: Bitwise operations require server version >= 4.6.0
Bit offsets are oriented left to right. Negative offsets are supported... | 37.159306 | 154 | 0.669129 | 3,422 | 23,559 | 4.411163 | 0.078901 | 0.044121 | 0.036038 | 0.051805 | 0.845446 | 0.81941 | 0.800331 | 0.774561 | 0.742365 | 0.718582 | 0 | 0.010934 | 0.250732 | 23,559 | 634 | 155 | 37.159306 | 0.84421 | 0.736449 | 0 | 0.583333 | 0 | 0 | 0.020972 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.10119 | false | 0 | 0.005952 | 0 | 0.208333 | 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 |
9abcf0149fca51ef8a2905c36c61e822d9576525 | 12,091 | py | Python | app/tests/client_tests/test_handle_application.py | AirWalk-Digital/airview-api | 1c4ce3569a5e3834d53f937a35ec5d8b0e991cdb | [
"Apache-2.0"
] | 2 | 2021-11-29T13:28:42.000Z | 2021-12-21T14:37:58.000Z | app/tests/client_tests/test_handle_application.py | AirWalk-Digital/airview-api | 1c4ce3569a5e3834d53f937a35ec5d8b0e991cdb | [
"Apache-2.0"
] | 2 | 2021-11-04T10:24:10.000Z | 2021-11-12T15:16:20.000Z | app/tests/client_tests/test_handle_application.py | AirWalk-Digital/airview-api | 1c4ce3569a5e3834d53f937a35ec5d8b0e991cdb | [
"Apache-2.0"
] | null | null | null | from tests.client_tests.common import *
from airview_api import app
from airview_api.database import db
from tests.common import client, instance
from tests.factories import *
import requests_mock
from requests_flask_adapter import Session
import pytest
from airview_api import models as api_models
from client.airviewc... | 31.405195 | 86 | 0.68307 | 1,507 | 12,091 | 5.341075 | 0.096881 | 0.053423 | 0.046962 | 0.030687 | 0.847186 | 0.812772 | 0.805939 | 0.78693 | 0.761213 | 0.729159 | 0 | 0.02082 | 0.213465 | 12,091 | 384 | 87 | 31.486979 | 0.825552 | 0.16839 | 0 | 0.642857 | 0 | 0 | 0.108584 | 0.041993 | 0 | 0 | 0 | 0 | 0.379464 | 1 | 0.0625 | false | 0 | 0.044643 | 0 | 0.107143 | 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 |
9afe39cbd3cf3d7e6a0a8823fa00d4f0f7878cc5 | 206 | py | Python | molml/Representations/__init__.py | derekvantilborg/molml_tools | 5a5baaa21a4b3b91e59c1a350d04db3fd5102e4e | [
"MIT"
] | null | null | null | molml/Representations/__init__.py | derekvantilborg/molml_tools | 5a5baaa21a4b3b91e59c1a350d04db3fd5102e4e | [
"MIT"
] | null | null | null | molml/Representations/__init__.py | derekvantilborg/molml_tools | 5a5baaa21a4b3b91e59c1a350d04db3fd5102e4e | [
"MIT"
] | null | null | null | from molml.Representations.descriptors import atom_pair, drug_like_descriptor, ecfp, maccs, rdkit, smarts, \
topological_torsion, whim_descriptor
from molml.Representations.strings import smiles_one_hot | 68.666667 | 108 | 0.849515 | 26 | 206 | 6.461538 | 0.807692 | 0.107143 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092233 | 206 | 3 | 109 | 68.666667 | 0.898396 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 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 |
b189d74756a479e59f9477c51d549575265ef115 | 28 | py | Python | bootstrap/views/__init__.py | cdancette/bootstrap.pytorch | d231a86b455d888cc0d76af7ee39589baba39ff9 | [
"BSD-3-Clause"
] | 9 | 2021-11-14T13:12:51.000Z | 2022-01-16T16:02:47.000Z | bootstrap/views/__init__.py | durandtibo/bootstrap.pytorch | d6cb7b846397f472570531c6292581f6e8ff5d99 | [
"BSD-3-Clause"
] | 3 | 2021-12-03T06:42:57.000Z | 2022-02-23T16:53:11.000Z | cfvqa/cfvqa/engines/__init__.py | yuleiniu/introd | a40407c7efee9c34e3d4270d7947f5be2f926413 | [
"Apache-2.0"
] | null | null | null | from .factory import factory | 28 | 28 | 0.857143 | 4 | 28 | 6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 28 | 1 | 28 | 28 | 0.96 | 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 |
b19110492dc4f24d05c11b9d66a68927b6051698 | 121 | py | Python | conftest.py | open-contracting/extension-explorer | bd96c66d616c717fb6dee151548e14ba4c7bf8e2 | [
"BSD-3-Clause"
] | 1 | 2019-04-11T10:17:48.000Z | 2019-04-11T10:17:48.000Z | conftest.py | open-contracting/extension-explorer | bd96c66d616c717fb6dee151548e14ba4c7bf8e2 | [
"BSD-3-Clause"
] | 55 | 2018-07-11T13:52:22.000Z | 2021-11-11T14:49:40.000Z | conftest.py | open-contracting/extension-explorer | bd96c66d616c717fb6dee151548e14ba4c7bf8e2 | [
"BSD-3-Clause"
] | null | null | null | import pytest
from extension_explorer.views import app as flask_app
@pytest.fixture()
def app():
return flask_app
| 13.444444 | 53 | 0.768595 | 18 | 121 | 5 | 0.666667 | 0.177778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165289 | 121 | 8 | 54 | 15.125 | 0.891089 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
b194b02b38d4bb167b0b80c1d35531482f3a1d6d | 47 | py | Python | 8_kyu/What_is_between?.py | JoaoVitorLeite/CodeWars | 156feda7273b37fdc90d007e1f638cf0dc73959f | [
"MIT"
] | null | null | null | 8_kyu/What_is_between?.py | JoaoVitorLeite/CodeWars | 156feda7273b37fdc90d007e1f638cf0dc73959f | [
"MIT"
] | null | null | null | 8_kyu/What_is_between?.py | JoaoVitorLeite/CodeWars | 156feda7273b37fdc90d007e1f638cf0dc73959f | [
"MIT"
] | null | null | null | def between(a,b):
return list(range(a,b+1)) | 23.5 | 29 | 0.638298 | 10 | 47 | 3 | 0.8 | 0.133333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025 | 0.148936 | 47 | 2 | 29 | 23.5 | 0.725 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
b1a076367d30825a707e5d1ba7a93cec28f2fa5a | 102 | py | Python | httpvec/samples/null.py | haboustak/httpvec | 47dbd56cbb3eee309953ffba3287cec403802944 | [
"MIT"
] | null | null | null | httpvec/samples/null.py | haboustak/httpvec | 47dbd56cbb3eee309953ffba3287cec403802944 | [
"MIT"
] | null | null | null | httpvec/samples/null.py | haboustak/httpvec | 47dbd56cbb3eee309953ffba3287cec403802944 | [
"MIT"
] | null | null | null | """
Null inspector sample
"""
def select(*_):
"""
Always return None
"""
return None
| 10.2 | 22 | 0.539216 | 10 | 102 | 5.4 | 0.8 | 0.37037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.303922 | 102 | 9 | 23 | 11.333333 | 0.760563 | 0.392157 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 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 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
b1a4df8d044aaabb5a89148d7adfdeee885e8440 | 32,651 | py | Python | src/text_utils_tests/pronunciation/test_ipa2symb.py | stefantaubert/text-utils | 8fc52df37b6cbc5409695f16b7295be61107052c | [
"MIT"
] | null | null | null | src/text_utils_tests/pronunciation/test_ipa2symb.py | stefantaubert/text-utils | 8fc52df37b6cbc5409695f16b7295be61107052c | [
"MIT"
] | 22 | 2020-12-19T18:54:03.000Z | 2021-11-08T15:24:39.000Z | src/text_utils_tests/pronunciation/test_ipa2symb.py | stefantaubert/text-utils | 8fc52df37b6cbc5409695f16b7295be61107052c | [
"MIT"
] | null | null | null | import pytest
from text_utils.language import Language
from text_utils.pronunciation.ipa2symb import (
add_n_thongs, break_n_thongs, get_all_next_consecutive_merge_symbols,
get_longest_possible_length, get_longest_template_with_ignore,
get_next_consecutive_fusion_symbols_and_index,
get_next_fused_symbol... | 28.945922 | 199 | 0.711556 | 4,669 | 32,651 | 4.427715 | 0.053116 | 0.082426 | 0.047889 | 0.055628 | 0.886083 | 0.860059 | 0.835002 | 0.78692 | 0.762008 | 0.736323 | 0 | 0.007616 | 0.143487 | 32,651 | 1,127 | 200 | 28.971606 | 0.729958 | 0.168969 | 0 | 0.569536 | 0 | 0 | 0.041917 | 0 | 0 | 0 | 0 | 0 | 0.210265 | 1 | 0.165563 | false | 0 | 0.004967 | 0 | 0.17053 | 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 |
492dd70efc251e9d63c95012812e73c65258076c | 32 | py | Python | rascil/workflows/serial/pipelines/__init__.py | SKA-ScienceDataProcessor/rascil | bd3b47f779e18e184781e2928ad1539d1fdc1c9b | [
"Apache-2.0"
] | 7 | 2019-12-14T13:42:33.000Z | 2022-01-28T03:31:45.000Z | rascil/workflows/serial/pipelines/__init__.py | SKA-ScienceDataProcessor/rascil | bd3b47f779e18e184781e2928ad1539d1fdc1c9b | [
"Apache-2.0"
] | 6 | 2020-01-08T09:40:08.000Z | 2020-06-11T14:56:13.000Z | rascil/workflows/serial/pipelines/__init__.py | SKA-ScienceDataProcessor/rascil | bd3b47f779e18e184781e2928ad1539d1fdc1c9b | [
"Apache-2.0"
] | 3 | 2020-01-14T11:14:16.000Z | 2020-09-15T05:21:06.000Z |
from .pipeline_serial import *
| 10.666667 | 30 | 0.78125 | 4 | 32 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 32 | 2 | 31 | 16 | 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 |
49372bbbe98e75ba2049f85180c55e93dd103833 | 221 | py | Python | butter_exercise/users/choices.py | tadeoos/butter_exercise | 3b5a9601bc527214dfd115773ce5cbdd5899f742 | [
"MIT"
] | null | null | null | butter_exercise/users/choices.py | tadeoos/butter_exercise | 3b5a9601bc527214dfd115773ce5cbdd5899f742 | [
"MIT"
] | null | null | null | butter_exercise/users/choices.py | tadeoos/butter_exercise | 3b5a9601bc527214dfd115773ce5cbdd5899f742 | [
"MIT"
] | null | null | null | from django.utils.translation import gettext_lazy as _
from butter_exercise.utils.enums import TextChoices
class AgreementCategories(TextChoices):
TERMS_AND_SERVICES = 'terms_and_services', _('Terms and Services')
| 27.625 | 70 | 0.819005 | 27 | 221 | 6.407407 | 0.62963 | 0.138728 | 0.277457 | 0.242775 | 0.277457 | 0.277457 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113122 | 221 | 7 | 71 | 31.571429 | 0.882653 | 0 | 0 | 0 | 0 | 0 | 0.162896 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
49423f486ace1efd7b1960548ca9d02144ba9ded | 2,873 | py | Python | encryptlib/diffie_ephemeral_to_k1_k2.py | mdcovarr/encrypt-server | 335f6417396418c73d19c9d8c804ae98cfab9fed | [
"MIT"
] | 1 | 2020-06-08T20:02:27.000Z | 2020-06-08T20:02:27.000Z | encryptlib/diffie_ephemeral_to_k1_k2.py | mdcovarr/encrypt-server | 335f6417396418c73d19c9d8c804ae98cfab9fed | [
"MIT"
] | null | null | null | encryptlib/diffie_ephemeral_to_k1_k2.py | mdcovarr/encrypt-server | 335f6417396418c73d19c9d8c804ae98cfab9fed | [
"MIT"
] | null | null | null | import hashlib
generator = 96771781527642433565859795562642245899441917449796990733715767388612365663820546922607619786124954900448084138704336019707101781113070799068574451455859506894172506795255600623786239106415964719354253032925933344248517569394184268471200764624242292650800040330266907897167093458948676163784692... | 179.5625 | 1,215 | 0.959276 | 75 | 2,873 | 36.506667 | 0.626667 | 0.013148 | 0.010957 | 0.013148 | 0.027027 | 0.027027 | 0.027027 | 0.027027 | 0 | 0 | 0 | 0.866192 | 0.021928 | 2,873 | 15 | 1,216 | 191.533333 | 0.108185 | 0.045249 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.111111 | 0 | 0.333333 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b8c6cf00b51f1610a2e39707e284a50196c7d288 | 102 | py | Python | tests/exog/random/random_exog_150_10.py | shaido987/pyaf | b9afd089557bed6b90b246d3712c481ae26a1957 | [
"BSD-3-Clause"
] | 377 | 2016-10-13T20:52:44.000Z | 2022-03-29T18:04:14.000Z | tests/exog/random/random_exog_150_10.py | ysdede/pyaf | b5541b8249d5a1cfdc01f27fdfd99b6580ed680b | [
"BSD-3-Clause"
] | 160 | 2016-10-13T16:11:53.000Z | 2022-03-28T04:21:34.000Z | tests/exog/random/random_exog_150_10.py | ysdede/pyaf | b5541b8249d5a1cfdc01f27fdfd99b6580ed680b | [
"BSD-3-Clause"
] | 63 | 2017-03-09T14:51:18.000Z | 2022-03-27T20:52:57.000Z | import tests.exog.test_random_exogenous as testrandexog
testrandexog.test_random_exogenous( 150,10); | 25.5 | 55 | 0.862745 | 14 | 102 | 6 | 0.714286 | 0.238095 | 0.452381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0.068627 | 102 | 4 | 56 | 25.5 | 0.831579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 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 |
b8cc7318bc5530329354c5241248093937b86838 | 214 | py | Python | tests/helpers/__init__.py | mjwestcott/fennel | f196ca8c43a1c6e319b413627d9771b957638e01 | [
"MIT"
] | 29 | 2019-10-03T20:04:08.000Z | 2022-01-13T09:34:45.000Z | tests/helpers/__init__.py | mjwestcott/fennel | f196ca8c43a1c6e319b413627d9771b957638e01 | [
"MIT"
] | 10 | 2020-07-29T09:45:18.000Z | 2021-06-02T00:29:52.000Z | tests/helpers/__init__.py | mjwestcott/fennel | f196ca8c43a1c6e319b413627d9771b957638e01 | [
"MIT"
] | 2 | 2019-12-17T14:18:59.000Z | 2020-04-28T19:35:41.000Z | # flake8: noqa
from tests.helpers.job import random_job
from tests.helpers.mocking import AsyncMock
from tests.helpers.results import all_results
from tests.helpers.worker import executor, wait_for_results, worker
| 35.666667 | 67 | 0.845794 | 32 | 214 | 5.53125 | 0.5 | 0.20339 | 0.361582 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005181 | 0.098131 | 214 | 5 | 68 | 42.8 | 0.911917 | 0.056075 | 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 |
b8eb3a31b3d7fe4796cf4b79ef8a8fbf8e9b2dec | 15,599 | py | Python | tests/open_alchemy/schemas/validation/property_/relationship/full/test_x_to_one.py | MihailMiller/OpenAlchemy | 55b751c58ca50706ebc46262f50addb7dec34278 | [
"Apache-2.0"
] | 40 | 2019-11-05T06:50:35.000Z | 2022-03-09T01:34:57.000Z | tests/open_alchemy/schemas/validation/property_/relationship/full/test_x_to_one.py | MihailMiller/OpenAlchemy | 55b751c58ca50706ebc46262f50addb7dec34278 | [
"Apache-2.0"
] | 178 | 2019-11-03T04:10:38.000Z | 2022-03-31T00:07:17.000Z | tests/open_alchemy/schemas/validation/property_/relationship/full/test_x_to_one.py | MihailMiller/OpenAlchemy | 55b751c58ca50706ebc46262f50addb7dec34278 | [
"Apache-2.0"
] | 17 | 2019-11-04T07:22:46.000Z | 2022-03-23T05:29:49.000Z | """Tests for full relationship schema checking."""
import pytest
from open_alchemy.schemas.validation.property_.relationship import full
TESTS = [
pytest.param(
{},
"ref_schema",
{"$ref": "#/components/schemas/RefSchema"},
{"RefSchema": {"type": "object"}},
(False, "foreig... | 30.23062 | 88 | 0.418809 | 1,226 | 15,599 | 5.225938 | 0.083197 | 0.113782 | 0.056657 | 0.085844 | 0.8742 | 0.855315 | 0.830186 | 0.802091 | 0.764632 | 0.702201 | 0 | 0.001889 | 0.423168 | 15,599 | 515 | 89 | 30.28932 | 0.710158 | 0.014168 | 0 | 0.580517 | 0 | 0 | 0.400873 | 0.057463 | 0 | 0 | 0 | 0 | 0.001988 | 1 | 0.001988 | false | 0 | 0.003976 | 0 | 0.005964 | 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 |
77219d116e63352771a131d1afb161a22b689003 | 44 | py | Python | Python/Beautiful Soup WebCrawler/beautifulsoup.py | gaurgs/Coursera-Python | 0ed61a505d85c46d98a60ade71fc11b17a03e9ac | [
"MIT"
] | null | null | null | Python/Beautiful Soup WebCrawler/beautifulsoup.py | gaurgs/Coursera-Python | 0ed61a505d85c46d98a60ade71fc11b17a03e9ac | [
"MIT"
] | null | null | null | Python/Beautiful Soup WebCrawler/beautifulsoup.py | gaurgs/Coursera-Python | 0ed61a505d85c46d98a60ade71fc11b17a03e9ac | [
"MIT"
] | null | null | null | import urllib
from bs4 import BeautifulSoup
| 14.666667 | 29 | 0.863636 | 6 | 44 | 6.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026316 | 0.136364 | 44 | 2 | 30 | 22 | 0.973684 | 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 |
62562fb2aff3ac9751f0faeab84007bd238f172b | 44 | py | Python | roc_comparison/__init__.py | davidov312/stats_for_ML | 31d4b3cfc1b13a7be1fdcaec2538a4e77333bf23 | [
"MIT"
] | null | null | null | roc_comparison/__init__.py | davidov312/stats_for_ML | 31d4b3cfc1b13a7be1fdcaec2538a4e77333bf23 | [
"MIT"
] | null | null | null | roc_comparison/__init__.py | davidov312/stats_for_ML | 31d4b3cfc1b13a7be1fdcaec2538a4e77333bf23 | [
"MIT"
] | null | null | null | """
Author: davidov312
Data: 02/11/2021
"""
| 8.8 | 18 | 0.636364 | 6 | 44 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.289474 | 0.136364 | 44 | 4 | 19 | 11 | 0.447368 | 0.795455 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
62682dc903c5686911e32ed02e1f05b1a1304d74 | 56 | py | Python | pycsmaca/analytic/__init__.py | larioandr/pycsmaca | 3788c4f5d1f7adace3ceedbd707a14226a1e8713 | [
"MIT"
] | 1 | 2021-01-17T15:49:03.000Z | 2021-01-17T15:49:03.000Z | src/pycsmaca/pycsmaca/analytic/__init__.py | larioandr/thesis-models | ecbc8c01aaeaa69034d6fe1d8577ab655968ea5f | [
"MIT"
] | null | null | null | src/pycsmaca/pycsmaca/analytic/__init__.py | larioandr/thesis-models | ecbc8c01aaeaa69034d6fe1d8577ab655968ea5f | [
"MIT"
] | 1 | 2021-03-07T15:31:06.000Z | 2021-03-07T15:31:06.000Z | from . import bianchi
from .bianchi import bianchi_time
| 18.666667 | 33 | 0.821429 | 8 | 56 | 5.625 | 0.5 | 0.577778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 56 | 2 | 34 | 28 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 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 |
627fad61d50d72d39b18d818dbbd82495c6510cc | 37 | py | Python | exams/exam2/roundf.py | NoHomey/monte-carlo-methods | d1e055c713a96990d532b3ed7ff7b67bd65d39fe | [
"MIT"
] | null | null | null | exams/exam2/roundf.py | NoHomey/monte-carlo-methods | d1e055c713a96990d532b3ed7ff7b67bd65d39fe | [
"MIT"
] | null | null | null | exams/exam2/roundf.py | NoHomey/monte-carlo-methods | d1e055c713a96990d532b3ed7ff7b67bd65d39fe | [
"MIT"
] | null | null | null | def roundf(x):
return round(x, 3) | 18.5 | 22 | 0.621622 | 7 | 37 | 3.285714 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034483 | 0.216216 | 37 | 2 | 22 | 18.5 | 0.758621 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
628674cd9bf1f9b834f6ccb57e84af7dae10c0ee | 31 | py | Python | code_icc/scripts/semisup/__init__.py | ThmCuong/IIC-Python3 | 5a02b40ffa07b159fa7e89cf5b4ed781f4798ff1 | [
"MIT"
] | null | null | null | code_icc/scripts/semisup/__init__.py | ThmCuong/IIC-Python3 | 5a02b40ffa07b159fa7e89cf5b4ed781f4798ff1 | [
"MIT"
] | null | null | null | code_icc/scripts/semisup/__init__.py | ThmCuong/IIC-Python3 | 5a02b40ffa07b159fa7e89cf5b4ed781f4798ff1 | [
"MIT"
] | null | null | null | from . import IID_semisup_STL10 | 31 | 31 | 0.870968 | 5 | 31 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 0.096774 | 31 | 1 | 31 | 31 | 0.821429 | 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 |
6289b9ffae8fb64178f232db93cda0a487bc4d2a | 5,059 | py | Python | aws_pricing/tests/test_aws_pricing.py | FlorianVeaux/integrations-extras | 87133d9cf2085e650b981c991a392f0bdb5ed8d0 | [
"BSD-3-Clause"
] | null | null | null | aws_pricing/tests/test_aws_pricing.py | FlorianVeaux/integrations-extras | 87133d9cf2085e650b981c991a392f0bdb5ed8d0 | [
"BSD-3-Clause"
] | 3 | 2020-03-30T12:26:28.000Z | 2021-08-25T11:58:47.000Z | aws_pricing/tests/test_aws_pricing.py | FlorianVeaux/integrations-extras | 87133d9cf2085e650b981c991a392f0bdb5ed8d0 | [
"BSD-3-Clause"
] | 1 | 2021-05-24T10:16:48.000Z | 2021-05-24T10:16:48.000Z | import pytest
from mock import Mock, patch
from datadog_checks.aws_pricing import AwsPricingCheck
from datadog_checks.errors import CheckException
def test_check_ok(aggregator, pricing_client_stubber):
# Mock client responses
pricing_client_stubber.stub_describe_services_response(['AmazonEC2'])
pricing_c... | 43.991304 | 111 | 0.73473 | 562 | 5,059 | 6.33274 | 0.154804 | 0.084012 | 0.12925 | 0.053948 | 0.818488 | 0.792076 | 0.76426 | 0.76426 | 0.711155 | 0.692329 | 0 | 0.029467 | 0.161494 | 5,059 | 114 | 112 | 44.377193 | 0.809524 | 0.074916 | 0 | 0.463768 | 0 | 0 | 0.275536 | 0.086695 | 0 | 0 | 0 | 0 | 0.173913 | 1 | 0.072464 | false | 0 | 0.057971 | 0 | 0.130435 | 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 |
628fab15cfef9c686ddf0118ad2fd86623af8a57 | 72 | py | Python | tacotron2/__init__.py | kidconan/fast_speech_trans | 4d1d8fe0a871e37165e2a6333a11751ce2a017c0 | [
"MIT"
] | null | null | null | tacotron2/__init__.py | kidconan/fast_speech_trans | 4d1d8fe0a871e37165e2a6333a11751ce2a017c0 | [
"MIT"
] | null | null | null | tacotron2/__init__.py | kidconan/fast_speech_trans | 4d1d8fe0a871e37165e2a6333a11751ce2a017c0 | [
"MIT"
] | null | null | null | import tacotron2.hparams
import tacotron2.model
import tacotron2.layers
| 18 | 24 | 0.875 | 9 | 72 | 7 | 0.555556 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 0.083333 | 72 | 3 | 25 | 24 | 0.909091 | 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 |
65a9d993320dd53cf9150afd716fc6e1ceec8de6 | 261,033 | py | Python | instances/passenger_demand/pas-20210422-1717-int16e/88.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210422-1717-int16e/88.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210422-1717-int16e/88.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PASSENGERS
"""
numPassengers = 30840
passenger_arriving = (
(10, 9, 8, 8, 7, 2, 8, 3, 2, 0, 2, 0, 0, 9, 10, 4, 7, 4, 5, 3, 2, 1, 4, 1, 1, 0), # 0
(10, 8, 3, 14, 4, 2, 2, 4, 7, 1, 2, 1, 0, 10, 6, 9, 7, 9, 6, 6, 1, 4, 3, 1, 1, 0), # 1
(16, 3, 6, 6, 6, 4, 5, 5, 5, 2, 1, 1, 0, 11, 5, 7, 8, 8, 4, 4, 1, 6, 2, 0, ... | 279.179679 | 491 | 0.771968 | 32,987 | 261,033 | 6.108406 | 0.231455 | 0.35375 | 0.339457 | 0.643183 | 0.365661 | 0.360172 | 0.359339 | 0.3592 | 0.3592 | 0.3592 | 0 | 0.851544 | 0.094754 | 261,033 | 934 | 492 | 279.478587 | 0.001181 | 0.015366 | 0 | 0.200873 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.005459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
65b21e84af2c51d74860515139348783c2a44c3f | 79 | py | Python | tasks/processing/tweets/__init__.py | getdumont/dumont | 3d3be9463c45378bf872ebb9ab9f2e267ee9a65c | [
"MIT"
] | 1 | 2018-09-13T23:39:38.000Z | 2018-09-13T23:39:38.000Z | tasks/processing/tweets/__init__.py | getdumont/dumont | 3d3be9463c45378bf872ebb9ab9f2e267ee9a65c | [
"MIT"
] | null | null | null | tasks/processing/tweets/__init__.py | getdumont/dumont | 3d3be9463c45378bf872ebb9ab9f2e267ee9a65c | [
"MIT"
] | null | null | null | from .stage_1 import stage_1 as tweet_1
from .stage_2 import stage_2 as tweet_2 | 39.5 | 39 | 0.835443 | 18 | 79 | 3.333333 | 0.388889 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 0.139241 | 79 | 2 | 40 | 39.5 | 0.794118 | 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 |
65e3e049d8e336dccaab48be309e86b25c28050e | 81,584 | py | Python | tests/test_signal_processor.py | ricosjp/femio | f43991132e530c97477374f4bba25a250a6acae8 | [
"Apache-2.0"
] | 21 | 2020-12-27T11:05:35.000Z | 2022-03-02T15:37:18.000Z | tests/test_signal_processor.py | ricosjp/femio | f43991132e530c97477374f4bba25a250a6acae8 | [
"Apache-2.0"
] | null | null | null | tests/test_signal_processor.py | ricosjp/femio | f43991132e530c97477374f4bba25a250a6acae8 | [
"Apache-2.0"
] | 2 | 2021-04-28T09:41:09.000Z | 2021-07-01T21:18:45.000Z | import os
from pathlib import Path
import shutil
import unittest
import numpy as np
import pandas as pd
import scipy.sparse as sp
from femio.fem_attribute import FEMAttribute
from femio.fem_data import FEMData
RUN_FISTR = True
FISTR_MSH_FILE = 'tests/data/fistr/thermal/hex.msh'
FISTR_RES_FILE = 'tests/data/fistr/... | 41.245703 | 79 | 0.545695 | 10,723 | 81,584 | 3.878299 | 0.040007 | 0.053358 | 0.050136 | 0.065646 | 0.886118 | 0.852286 | 0.829033 | 0.789069 | 0.764037 | 0.725491 | 0 | 0.072405 | 0.312353 | 81,584 | 1,977 | 80 | 41.266566 | 0.668883 | 0.027101 | 0 | 0.689498 | 0 | 0 | 0.061218 | 0.033068 | 0 | 0 | 0 | 0 | 0.080479 | 1 | 0.039954 | false | 0 | 0.005137 | 0 | 0.046804 | 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 |
65e961f1d338c104db2f6373697134a6d3e3e98e | 118,320 | py | Python | src/drivewpact/drive.py | WISDEM/DriveWPACT | d872163b9929ce54d7cec3814c3101809d2201b4 | [
"Apache-2.0"
] | 1 | 2015-01-16T20:34:11.000Z | 2015-01-16T20:34:11.000Z | src/drivewpact/drive.py | WISDEM/DriveWPACT | d872163b9929ce54d7cec3814c3101809d2201b4 | [
"Apache-2.0"
] | null | null | null | src/drivewpact/drive.py | WISDEM/DriveWPACT | d872163b9929ce54d7cec3814c3101809d2201b4 | [
"Apache-2.0"
] | 3 | 2015-01-16T20:34:14.000Z | 2021-04-19T18:40:16.000Z | """
nacelleSE.py
Created by Katherine Dykes 2012.
Copyright (c) NREL. All rights reserved.
"""
from openmdao.main.api import Assembly, Component
from openmdao.main.datatypes.api import Float, Bool, Int, Str, Array, Enum
from math import pi, log10, log
import numpy as np
import algopy
from fusedwind.interface import ... | 66.809712 | 364 | 0.601699 | 17,418 | 118,320 | 3.831381 | 0.038581 | 0.026912 | 0.031153 | 0.034585 | 0.800405 | 0.780715 | 0.750985 | 0.705252 | 0.66809 | 0.637866 | 0 | 0.043158 | 0.25879 | 118,320 | 1,770 | 365 | 66.847458 | 0.717788 | 0.091126 | 0 | 0.382787 | 0 | 0.013115 | 0.110133 | 0.01838 | 0 | 0 | 0 | 0.00339 | 0 | 0 | null | null | 0 | 0.004918 | null | null | 0.02377 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
02e8bb6952c95906a818d718c5e59b3c602fa00c | 21 | py | Python | nflapi/__init__.py | inspectorfletch/nflapi | ee041bac3e7098b4dd36ccc896bb754df6514be6 | [
"MIT"
] | 3 | 2018-08-22T18:02:31.000Z | 2020-09-11T23:40:21.000Z | nflapi/__init__.py | inspectorfletch/nflapi | ee041bac3e7098b4dd36ccc896bb754df6514be6 | [
"MIT"
] | 1 | 2020-08-30T23:52:14.000Z | 2020-09-11T03:02:55.000Z | nflapi/__init__.py | inspectorfletch/nflapi | ee041bac3e7098b4dd36ccc896bb754df6514be6 | [
"MIT"
] | 2 | 2020-09-27T18:30:08.000Z | 2021-08-19T17:49:12.000Z | from .nfl import NFL
| 10.5 | 20 | 0.761905 | 4 | 21 | 4 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 0.941176 | 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 |
02f1b7d1c2bb046e6ff56b1a168ccf184cd9f77b | 121 | py | Python | demangler/main.py | teambi0s/rust_demangler | 1368321d558bf5b39500efa8116af60b2505ce7e | [
"MIT"
] | 14 | 2021-02-13T16:01:30.000Z | 2022-02-23T03:10:55.000Z | demangler/main.py | teambi0s/rust_demangler | 1368321d558bf5b39500efa8116af60b2505ce7e | [
"MIT"
] | null | null | null | demangler/main.py | teambi0s/rust_demangler | 1368321d558bf5b39500efa8116af60b2505ce7e | [
"MIT"
] | 2 | 2021-08-21T14:26:30.000Z | 2021-09-27T23:18:26.000Z | from rust import RustDemangler
def demangle(inp_str: str):
robj = RustDemangler()
return robj.demangle(inp_str)
| 20.166667 | 33 | 0.743802 | 16 | 121 | 5.5 | 0.625 | 0.25 | 0.318182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173554 | 121 | 5 | 34 | 24.2 | 0.88 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
b8278d7d8a5397fa0673735ac620c1c6130f5580 | 3,070 | py | Python | cities/migrations/0011_auto_20180108_0706.py | mazurbeam/django-cities | b7ad78434b4f54cda4c170322c368bc6d02a10ec | [
"MIT"
] | 530 | 2015-01-01T03:40:18.000Z | 2022-03-05T09:20:01.000Z | cities/migrations/0011_auto_20180108_0706.py | miklobit/django-cities | bc46168acb6183fb3dc2d1254449d203581928e7 | [
"MIT"
] | 141 | 2015-02-09T10:29:54.000Z | 2022-03-04T17:38:39.000Z | cities/migrations/0011_auto_20180108_0706.py | miklobit/django-cities | bc46168acb6183fb3dc2d1254449d203581928e7 | [
"MIT"
] | 211 | 2015-01-05T07:52:31.000Z | 2022-03-28T20:39:18.000Z | # Generated by Django 2.0 on 2018-01-08 07:06
import cities.models
from django.conf import settings
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('cities', '0010_adjust_unique_attributes'),
]
operations = [
migrations.AlterField(
... | 43.239437 | 164 | 0.646906 | 340 | 3,070 | 5.597059 | 0.158824 | 0.07567 | 0.144509 | 0.16763 | 0.813978 | 0.784551 | 0.737257 | 0.660536 | 0.660536 | 0.601682 | 0 | 0.007666 | 0.235179 | 3,070 | 70 | 165 | 43.857143 | 0.802811 | 0.014007 | 0 | 0.59375 | 1 | 0 | 0.125289 | 0.009587 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.046875 | 0 | 0.09375 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b884759b73890755f33e04a9fb4f4274a26a36ca | 3,926 | py | Python | mapzen/whosonfirst/placetypes/spec.py | mapzen/py-mapzen-whosonfirst-placetypes | 876add4175ca8d7d426cd1c8341b6e218fcf0f22 | [
"BSD-3-Clause"
] | 3 | 2015-10-02T21:39:23.000Z | 2019-08-18T16:06:56.000Z | mapzen/whosonfirst/placetypes/spec.py | mapzen/py-mapzen-whosonfirst-placetypes | 876add4175ca8d7d426cd1c8341b6e218fcf0f22 | [
"BSD-3-Clause"
] | 4 | 2016-08-11T01:15:54.000Z | 2020-09-11T16:15:02.000Z | mapzen/whosonfirst/placetypes/spec.py | mapzen/py-mapzen-whosonfirst-placetypes | 876add4175ca8d7d426cd1c8341b6e218fcf0f22 | [
"BSD-3-Clause"
] | 5 | 2015-08-25T10:15:29.000Z | 2020-09-09T16:16:55.000Z | # https://raw.githubusercontent.com/whosonfirst/whosonfirst-placetypes/master/data/placetypes-spec-latest.json
# This file was generated by robots (utils/mk-spec.py) at 2018-10-29T18:23:53.527922
__SPEC__ = {"102312321": {"role": "optional", "name": "microhood", "parent": [102312319], "names": {}}, "1159268867": {"rol... | 785.2 | 3,728 | 0.640601 | 363 | 3,926 | 6.870523 | 0.280992 | 0.134723 | 0.115477 | 0.141139 | 0.088212 | 0.040898 | 0 | 0 | 0 | 0 | 0 | 0.299916 | 0.09297 | 3,926 | 4 | 3,729 | 981.5 | 0.400449 | 0.04865 | 0 | 0 | 1 | 0 | 0.430332 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b22151e48d95bbe25e75fb4746da9a3659dfa0d7 | 86 | py | Python | Python/easy/e319.py | tlgs/dailyprogrammer | 6e7d3352616fa54a8e9caf8564a9cfb951eb0af9 | [
"Unlicense"
] | 4 | 2017-10-18T02:17:02.000Z | 2022-02-02T01:19:02.000Z | Python/easy/e319.py | tlseabra/dailyprogrammer | 6e7d3352616fa54a8e9caf8564a9cfb951eb0af9 | [
"Unlicense"
] | 4 | 2016-01-24T20:30:02.000Z | 2017-01-18T16:01:23.000Z | Python/easy/e319.py | tlgs/dailyprogrammer | 6e7d3352616fa54a8e9caf8564a9cfb951eb0af9 | [
"Unlicense"
] | null | null | null | # 15/06/2017
import re
def condense(str):
return re.sub(r"(\w+)\s\1", r"\1", str) | 17.2 | 43 | 0.581395 | 18 | 86 | 2.777778 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138889 | 0.162791 | 86 | 5 | 43 | 17.2 | 0.555556 | 0.116279 | 0 | 0 | 0 | 0 | 0.146667 | 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 |
b2a7e76eb71d3c02a64fbfc3bf37d5deb49490c5 | 2,390 | py | Python | python/examples/wildcard_subscribe.py | Dareen/pubnub-python | 713e98b53f6623a8abca2cee8a47fd92ceb7a75b | [
"MIT"
] | null | null | null | python/examples/wildcard_subscribe.py | Dareen/pubnub-python | 713e98b53f6623a8abca2cee8a47fd92ceb7a75b | [
"MIT"
] | null | null | null | python/examples/wildcard_subscribe.py | Dareen/pubnub-python | 713e98b53f6623a8abca2cee8a47fd92ceb7a75b | [
"MIT"
] | 1 | 2019-09-10T04:07:35.000Z | 2019-09-10T04:07:35.000Z |
from gevent import monkey; monkey.patch_all()
from pubnub import Pubnub
pubnub = Pubnub(publish_key="ds", subscribe_key="ds",
secret_key="ds", ssl_on=False)
# Wildcard Subscribe without presence
def a():
channel_wc = "a.*"
channel = "a.b"
def callback(message1, channel1, real_channel=None):
print(... | 25.157895 | 81 | 0.702929 | 288 | 2,390 | 5.767361 | 0.145833 | 0.070439 | 0.092113 | 0.065021 | 0.798314 | 0.798314 | 0.774834 | 0.774834 | 0.774834 | 0.774834 | 0 | 0.017301 | 0.153556 | 2,390 | 95 | 82 | 25.157895 | 0.803757 | 0.043096 | 0 | 0.610169 | 0 | 0 | 0.084976 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.033898 | null | null | 0.338983 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a23dbba7898a728e433a5631177b778aacb5f12a | 40,530 | py | Python | geomdl/visualization/VisMPL.py | Mawel123/NURBS-Python | 48092978a102dfb0ff470225ca8bd2771fbb93d2 | [
"MIT"
] | 382 | 2016-09-22T16:21:47.000Z | 2022-03-27T18:23:16.000Z | geomdl/visualization/VisMPL.py | Mawel123/NURBS-Python | 48092978a102dfb0ff470225ca8bd2771fbb93d2 | [
"MIT"
] | 143 | 2017-02-10T03:45:09.000Z | 2022-03-31T05:24:05.000Z | geomdl/visualization/VisMPL.py | Mawel123/NURBS-Python | 48092978a102dfb0ff470225ca8bd2771fbb93d2 | [
"MIT"
] | 123 | 2016-06-10T14:11:37.000Z | 2022-03-28T11:39:00.000Z | """
.. module:: VisMPL
:platform: Unix, Windows
:synopsis: Matplotlib visualization component for NURBS-Python
.. moduleauthor:: Onur Rauf Bingol <orbingol@gmail.com>
"""
from geomdl import vis
import numpy as np
import matplotlib as mpl
import matplotlib.tri as mpltri
import matplotlib.pyplot as plt
from mp... | 42.979852 | 119 | 0.569677 | 4,833 | 40,530 | 4.652804 | 0.086489 | 0.055232 | 0.037355 | 0.011029 | 0.776849 | 0.763552 | 0.753102 | 0.747543 | 0.7306 | 0.724552 | 0 | 0.015054 | 0.305058 | 40,530 | 942 | 120 | 43.025478 | 0.78332 | 0.211917 | 0 | 0.773481 | 0 | 0 | 0.051878 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.034991 | false | 0 | 0.014733 | 0 | 0.066298 | 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 |
a25ece9c9df55470ae9cf50426af4b72dc4e4d0f | 43,536 | py | Python | tests/unit/utils_test/test_docval.py | satra/hdmf | fab5660b1e009151980939e266e63a6c408064aa | [
"BSD-3-Clause-LBNL"
] | null | null | null | tests/unit/utils_test/test_docval.py | satra/hdmf | fab5660b1e009151980939e266e63a6c408064aa | [
"BSD-3-Clause-LBNL"
] | null | null | null | tests/unit/utils_test/test_docval.py | satra/hdmf | fab5660b1e009151980939e266e63a6c408064aa | [
"BSD-3-Clause-LBNL"
] | null | null | null | import numpy as np
from hdmf.utils import (docval, fmt_docval_args, get_docval, getargs, popargs, AllowPositional, get_docval_macro,
docval_macro)
from hdmf.testing import TestCase
class MyTestClass(object):
@docval({'name': 'arg1', 'type': str, 'doc': 'argument1 is a str'})
def basi... | 43.8429 | 119 | 0.609082 | 5,576 | 43,536 | 4.628945 | 0.060079 | 0.034094 | 0.03115 | 0.027895 | 0.821975 | 0.763977 | 0.723955 | 0.70191 | 0.662353 | 0.629848 | 0 | 0.033481 | 0.259073 | 43,536 | 992 | 120 | 43.887097 | 0.766686 | 0.182562 | 0 | 0.452978 | 0 | 0.012539 | 0.199971 | 0.027759 | 0 | 0 | 0 | 0 | 0.239812 | 1 | 0.210031 | false | 0.017241 | 0.004702 | 0.032915 | 0.275862 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a292f2ad3d06f87c076913eae5afb171712d73bd | 96 | py | Python | venv/lib/python3.8/site-packages/setuptools/_imp.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/setuptools/_imp.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/setuptools/_imp.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/1e/61/7d/d486e2b517ec0f9cfe838ff099cb87f916a1c8838d6cf82208e160b730 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.427083 | 0 | 96 | 1 | 96 | 96 | 0.46875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a2ee75b57e5edd83d768c1238719982d03795d92 | 28 | py | Python | src/infstat/__init__.py | BALAJI24092001/vizinfstat | ba6f7c1278c5e82e300329a212594f0a72354c29 | [
"BSD-3-Clause"
] | null | null | null | src/infstat/__init__.py | BALAJI24092001/vizinfstat | ba6f7c1278c5e82e300329a212594f0a72354c29 | [
"BSD-3-Clause"
] | null | null | null | src/infstat/__init__.py | BALAJI24092001/vizinfstat | ba6f7c1278c5e82e300329a212594f0a72354c29 | [
"BSD-3-Clause"
] | null | null | null | import sstest
import nonpar
| 9.333333 | 13 | 0.857143 | 4 | 28 | 6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 2 | 14 | 14 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0c0441a7fb3ad9b055cdc06e6119d85318a2af10 | 8,368 | py | Python | test/test_resource.py | stuartcarnie/qless-core | f2b5c7d400c561f045d56cb554110d7b2e04731c | [
"MIT"
] | null | null | null | test/test_resource.py | stuartcarnie/qless-core | f2b5c7d400c561f045d56cb554110d7b2e04731c | [
"MIT"
] | null | null | null | test/test_resource.py | stuartcarnie/qless-core | f2b5c7d400c561f045d56cb554110d7b2e04731c | [
"MIT"
] | null | null | null | """Test the queue functionality"""
from common import TestQless
class TestResources(TestQless):
"""We should be able to access resources"""
def test_malformed(self):
self.assertMalformed(self.lua, [
('resource.set', 0),
('resource.set', 0, 'test'),
('resource.set',... | 36.863436 | 88 | 0.487333 | 1,072 | 8,368 | 3.772388 | 0.078358 | 0.129822 | 0.133531 | 0.098665 | 0.809594 | 0.792779 | 0.77003 | 0.743323 | 0.703264 | 0.686696 | 0 | 0.043941 | 0.282027 | 8,368 | 226 | 89 | 37.026549 | 0.629161 | 0.035731 | 0 | 0.679775 | 0 | 0 | 0.243122 | 0 | 0 | 0 | 0 | 0 | 0.241573 | 1 | 0.061798 | false | 0 | 0.005618 | 0 | 0.073034 | 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 |
a75dc846493d57852c112fb22775330dc3ba89b4 | 2,494 | py | Python | exec/passwd.py | SpaceChuck/SnakeOS | 4bab90a42dcf04c4294d6077a98e6fbba7635919 | [
"MIT"
] | null | null | null | exec/passwd.py | SpaceChuck/SnakeOS | 4bab90a42dcf04c4294d6077a98e6fbba7635919 | [
"MIT"
] | null | null | null | exec/passwd.py | SpaceChuck/SnakeOS | 4bab90a42dcf04c4294d6077a98e6fbba7635919 | [
"MIT"
] | null | null | null | import os
argsfile = open(os.path.join("exec", "args.txt"), "r")
argsTemp = argsfile.readlines()
args = []
for i in argsTemp:
if i == argsTemp[len(argsTemp)-1]:
args.append(i)
else:
args.append(i[0:-1])
infofile = open(os.path.join("exec", "info.txt"), "r")
infoTemp = infofile.readlines()
info ... | 36.676471 | 78 | 0.579391 | 299 | 2,494 | 4.832776 | 0.230769 | 0.024913 | 0.041522 | 0.058131 | 0.777163 | 0.739792 | 0.739792 | 0.739792 | 0.739792 | 0.739792 | 0 | 0.006121 | 0.279471 | 2,494 | 68 | 79 | 36.676471 | 0.797997 | 0.004411 | 0 | 0.651515 | 0 | 0 | 0.221506 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.318182 | 0.015152 | 0 | 0.015152 | 0.090909 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
a7987fade24990e047ec0e56090dd26d8003cea3 | 16,363 | py | Python | awp5/api/archiveentry.py | ThomasWaldinger/py_awp5 | 10077ab81eab506bea58a67242c2d550988ec18c | [
"Apache-2.0"
] | 2 | 2019-04-10T16:46:19.000Z | 2020-08-18T21:57:59.000Z | awp5/api/archiveentry.py | ThomasWaldinger/py_awp5 | 10077ab81eab506bea58a67242c2d550988ec18c | [
"Apache-2.0"
] | null | null | null | awp5/api/archiveentry.py | ThomasWaldinger/py_awp5 | 10077ab81eab506bea58a67242c2d550988ec18c | [
"Apache-2.0"
] | null | null | null | # -------------------------------------------------------------------------
# Copyright (c) Thomas Waldinger. All rights reserved.
# Licensed under the Apache License, Version 2.0. See
# License.txt in the project root for license
# information.
# ---------------
"""
ArchiveEntry
The archive entry represents one archi... | 43.174142 | 79 | 0.647986 | 2,115 | 16,363 | 4.937589 | 0.122459 | 0.038303 | 0.045964 | 0.040218 | 0.891985 | 0.886431 | 0.883367 | 0.880303 | 0.86728 | 0.852437 | 0 | 0.004362 | 0.285461 | 16,363 | 378 | 80 | 43.28836 | 0.888471 | 0.602212 | 0 | 0.590909 | 0 | 0 | 0.025223 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.036364 | 0.009091 | 0.454545 | 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 |
a7ba73beda9710ac7bbb144085b7bada62644ead | 16,088 | py | Python | _unittests/ut_onnxrt/test_onnxrt_python_runtime_ml_text.py | xadupre/mlprodict | f82c8a26a60104948c67849b1c4af95ca812c153 | [
"MIT"
] | 1 | 2020-12-18T03:49:53.000Z | 2020-12-18T03:49:53.000Z | _unittests/ut_onnxrt/test_onnxrt_python_runtime_ml_text.py | xadupre/mlprodict | f82c8a26a60104948c67849b1c4af95ca812c153 | [
"MIT"
] | null | null | null | _unittests/ut_onnxrt/test_onnxrt_python_runtime_ml_text.py | xadupre/mlprodict | f82c8a26a60104948c67849b1c4af95ca812c153 | [
"MIT"
] | null | null | null | # coding: utf-8
"""
@brief test log(time=2s)
"""
import unittest
from logging import getLogger
import numpy
from sklearn.feature_extraction.text import CountVectorizer
from pyquickhelper.pycode import ExtTestCase, ignore_warnings
from skl2onnx.common.data_types import (
StringTensorType, FloatTensorType, Int64... | 43.481081 | 85 | 0.549167 | 1,849 | 16,088 | 4.603029 | 0.095187 | 0.050523 | 0.008812 | 0.044413 | 0.87146 | 0.845612 | 0.82411 | 0.81988 | 0.819645 | 0.819528 | 0 | 0.029338 | 0.281763 | 16,088 | 369 | 86 | 43.598916 | 0.707226 | 0.009386 | 0 | 0.670846 | 0 | 0 | 0.092977 | 0 | 0 | 0 | 0 | 0 | 0.081505 | 1 | 0.053292 | false | 0 | 0.034483 | 0 | 0.090909 | 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 |
ac13d037d5c0578f4e2ee16330b827e011874cdf | 223 | py | Python | builder/lib/schema/view.py | mcptr/pjxxs | b95de3d13e05cd9a68e16015a39c29edf8e5bd59 | [
"MIT"
] | null | null | null | builder/lib/schema/view.py | mcptr/pjxxs | b95de3d13e05cd9a68e16015a39c29edf8e5bd59 | [
"MIT"
] | null | null | null | builder/lib/schema/view.py | mcptr/pjxxs | b95de3d13e05cd9a68e16015a39c29edf8e5bd59 | [
"MIT"
] | null | null | null | from lib.pg.view import View
from . table import SchemaTable
class SchemaView(View, SchemaTable):
def __init__(self, *args, **kwargs):
View.__init__(self, *args, **kwargs)
SchemaTable.__init__(self, *args, **kwargs)
| 24.777778 | 45 | 0.730942 | 29 | 223 | 5.206897 | 0.482759 | 0.15894 | 0.238411 | 0.357616 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130045 | 223 | 8 | 46 | 27.875 | 0.778351 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 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 |
ac63fa646c7650616b83a0652449e825f220690c | 116 | py | Python | src/subscription/exceptions.py | nffdiogosilva/django-subscription | abd2949a65995043666caa28b952a7f0f744c4a1 | [
"MIT"
] | null | null | null | src/subscription/exceptions.py | nffdiogosilva/django-subscription | abd2949a65995043666caa28b952a7f0f744c4a1 | [
"MIT"
] | 5 | 2020-06-05T22:50:46.000Z | 2022-02-10T08:56:10.000Z | src/subscription/exceptions.py | nffdiogosilva/django-subcription | abd2949a65995043666caa28b952a7f0f744c4a1 | [
"MIT"
] | null | null | null | from django.core import exceptions
class CustomerAddWebsitePermissionDenied(exceptions.PermissionDenied):
pass
| 23.2 | 70 | 0.853448 | 10 | 116 | 9.9 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 116 | 4 | 71 | 29 | 0.951923 | 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 |
3ba32135c1d87d0df089d05fefabf2f76a5495ff | 318 | py | Python | release/scripts/presets/render/HDV_1080p.py | rbabari/blender | 6daa85f14b2974abfc3d0f654c5547f487bb3b74 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 365 | 2015-02-10T15:10:55.000Z | 2022-03-03T15:50:51.000Z | release/scripts/presets/render/HDV_1080p.py | rbabari/blender | 6daa85f14b2974abfc3d0f654c5547f487bb3b74 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 45 | 2015-01-09T15:34:20.000Z | 2021-10-05T14:44:23.000Z | release/scripts/presets/render/HDV_1080p.py | rbabari/blender | 6daa85f14b2974abfc3d0f654c5547f487bb3b74 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 172 | 2015-01-25T15:16:53.000Z | 2022-01-31T08:25:36.000Z | import bpy
bpy.context.scene.render.resolution_x = 1440
bpy.context.scene.render.resolution_y = 1080
bpy.context.scene.render.resolution_percentage = 100
bpy.context.scene.render.pixel_aspect_x = 4
bpy.context.scene.render.pixel_aspect_y = 3
bpy.context.scene.render.fps = 24
bpy.context.scene.render.fps_base = 1.001
| 35.333333 | 52 | 0.814465 | 53 | 318 | 4.735849 | 0.396226 | 0.278884 | 0.418327 | 0.585657 | 0.816733 | 0.25498 | 0 | 0 | 0 | 0 | 0 | 0.064407 | 0.072327 | 318 | 8 | 53 | 39.75 | 0.786441 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.125 | 0 | 0.125 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3bbe7cf004380d5c71b443239adde82dd65f5857 | 43 | py | Python | dev/Tools/Python/2.7.13/mac/Python.framework/Versions/2.7/lib/python2.7/site-packages/pyxb/bundles/wssplat/wsp.py | jeikabu/lumberyard | 07228c605ce16cbf5aaa209a94a3cb9d6c1a4115 | [
"AML"
] | 123 | 2015-01-12T06:43:22.000Z | 2022-03-20T18:06:46.000Z | dev/Tools/Python/2.7.13/mac/Python.framework/Versions/2.7/lib/python2.7/site-packages/pyxb/bundles/wssplat/wsp.py | jeikabu/lumberyard | 07228c605ce16cbf5aaa209a94a3cb9d6c1a4115 | [
"AML"
] | 103 | 2015-01-08T18:35:57.000Z | 2022-01-18T01:44:14.000Z | dev/Tools/Python/2.7.13/mac/Python.framework/Versions/2.7/lib/python2.7/site-packages/pyxb/bundles/wssplat/wsp.py | jeikabu/lumberyard | 07228c605ce16cbf5aaa209a94a3cb9d6c1a4115 | [
"AML"
] | 54 | 2015-02-15T17:12:00.000Z | 2022-03-07T23:02:32.000Z | from pyxb.bundles.wssplat.raw.wsp import *
| 21.5 | 42 | 0.790698 | 7 | 43 | 4.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 43 | 1 | 43 | 43 | 0.871795 | 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 |
3be87f05193b7a110f172f5303e21dbb96c5c7cc | 13,774 | py | Python | osamp/border_conditions.py | pathfinder14/OpenSAPM | ee11baecaff7b75a88dc08329ba63bd9d2af7d41 | [
"MIT"
] | 7 | 2017-04-22T12:25:22.000Z | 2022-03-20T08:32:47.000Z | osamp/border_conditions.py | pathfinder14/OpenSAPM | ee11baecaff7b75a88dc08329ba63bd9d2af7d41 | [
"MIT"
] | 11 | 2017-05-29T10:21:13.000Z | 2018-05-11T14:45:36.000Z | osamp/border_conditions.py | pathfinder14/OpenSAPM | ee11baecaff7b75a88dc08329ba63bd9d2af7d41 | [
"MIT"
] | 10 | 2017-04-22T12:25:12.000Z | 2021-08-05T02:40:33.000Z | import numpy as np
class ConditionNames:
def __init__(self):
pass
REFLECTION_CONDITION = 'reflection'
CYCLE_CONDITION = 'cycle'
ABSORBING_CONDITION = 'absorb'
APPLIED_FORCE_CONDITION = 'applied_force'
class ProblemTypes:
def __init__(self):
pass
ACOUSTIC = 'acoustic'
... | 42.909657 | 166 | 0.609336 | 1,978 | 13,774 | 4.025278 | 0.070779 | 0.067822 | 0.056267 | 0.084401 | 0.822281 | 0.805702 | 0.789375 | 0.777568 | 0.775559 | 0.75898 | 0 | 0.032016 | 0.256207 | 13,774 | 320 | 167 | 43.04375 | 0.745144 | 0.159503 | 0 | 0.599034 | 0 | 0 | 0.008978 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.057971 | false | 0.019324 | 0.004831 | 0.014493 | 0.207729 | 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 |
3bff6d70a42737d322a26d8601e3d3ba2cd0e789 | 19,092 | py | Python | reshade/utils/validate.py | jamesjiang52/Reshade | ddc87424c50030b4606c4eb5ec61b4be1d4cad98 | [
"MIT"
] | null | null | null | reshade/utils/validate.py | jamesjiang52/Reshade | ddc87424c50030b4606c4eb5ec61b4be1d4cad98 | [
"MIT"
] | null | null | null | reshade/utils/validate.py | jamesjiang52/Reshade | ddc87424c50030b4606c4eb5ec61b4be1d4cad98 | [
"MIT"
] | null | null | null | """
The following functions are defined:
validate_dimensions_image
validate_dimensions_layer
validate_same_dimensions_spectrum
validate_same_dimensions_image
validate_same_dimensions_layer
validate_same_dimensions_zeropad
validate_same_dimensions_flatten
validate_receptive_parameters_ima... | 36.296578 | 79 | 0.589776 | 2,296 | 19,092 | 4.842334 | 0.047909 | 0.049379 | 0.027883 | 0.038856 | 0.924537 | 0.896384 | 0.874258 | 0.860407 | 0.846825 | 0.819662 | 0 | 0.010261 | 0.336424 | 19,092 | 525 | 80 | 36.365714 | 0.867314 | 0.422009 | 0 | 0.631579 | 0 | 0 | 0.248616 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035088 | false | 0 | 0 | 0 | 0.035088 | 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 |
0200e9cda1daa1574db3314dfb9d5d1bc7a23491 | 3,785 | py | Python | ccnpy/flic/tests/test_GroupData.py | mmosko/ccnpy | 20d982e2e3845818fde7f3facdc8cbcdff323dbb | [
"Apache-2.0"
] | 1 | 2020-12-23T14:17:25.000Z | 2020-12-23T14:17:25.000Z | ccnpy/flic/tests/test_GroupData.py | mmosko/ccnpy | 20d982e2e3845818fde7f3facdc8cbcdff323dbb | [
"Apache-2.0"
] | 1 | 2019-07-01T18:19:05.000Z | 2019-07-02T05:35:52.000Z | ccnpy/flic/tests/test_GroupData.py | mmosko/ccnpy | 20d982e2e3845818fde7f3facdc8cbcdff323dbb | [
"Apache-2.0"
] | null | null | null | # Copyright 2019 Marc Mosko
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writ... | 46.158537 | 100 | 0.52391 | 492 | 3,785 | 4 | 0.247967 | 0.022358 | 0.021341 | 0.012195 | 0.846545 | 0.846545 | 0.846545 | 0.846545 | 0.846545 | 0.846545 | 0 | 0.088629 | 0.368032 | 3,785 | 81 | 101 | 46.728395 | 0.734114 | 0.293527 | 0 | 0.681818 | 0 | 0 | 0.013611 | 0 | 0 | 0 | 0.004537 | 0 | 0.045455 | 1 | 0.045455 | false | 0 | 0.090909 | 0 | 0.159091 | 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 |
026580cabd564f4eadba7be36e4dfb2b80ae2e19 | 8,017 | py | Python | pyhmy/staking.py | metronotes-testing/pyhmy | 274db56b1bfc85b1590c8b9f9fb1bb92bbc818a1 | [
"MIT"
] | 1 | 2021-03-25T08:56:29.000Z | 2021-03-25T08:56:29.000Z | pyhmy/staking.py | baby636/pyhmy | 7690a1ed62762b13c7d44aefae387d4d8c47639a | [
"MIT"
] | null | null | null | pyhmy/staking.py | baby636/pyhmy | 7690a1ed62762b13c7d44aefae387d4d8c47639a | [
"MIT"
] | null | null | null | from .rpc.request import (
rpc_request
)
_default_endpoint = 'http://localhost:9500'
_default_timeout = 30
##################
# Validator RPCs #
##################
def get_all_validator_addresses(endpoint=_default_endpoint, timeout=_default_timeout) -> list:
"""
Get list of all created validator addresse... | 27.836806 | 131 | 0.653985 | 871 | 8,017 | 5.857635 | 0.107922 | 0.070561 | 0.038416 | 0.070561 | 0.809094 | 0.786554 | 0.753038 | 0.709526 | 0.637397 | 0.584477 | 0 | 0.001625 | 0.232256 | 8,017 | 287 | 132 | 27.933798 | 0.827295 | 0.490208 | 0 | 0.226415 | 0 | 0 | 0.1445 | 0.1156 | 0 | 0 | 0 | 0.038328 | 0 | 1 | 0.226415 | false | 0 | 0.018868 | 0 | 0.471698 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
02728a511a26e1749d07f1ef10c3f6fed86266eb | 46 | py | Python | src/DeploymentDirector/actions/__init__.py | ushahidi/deployment-director | 1a3c4b05d1ffb8b19efad0563df4fa9a9732853e | [
"MIT"
] | null | null | null | src/DeploymentDirector/actions/__init__.py | ushahidi/deployment-director | 1a3c4b05d1ffb8b19efad0563df4fa9a9732853e | [
"MIT"
] | 1 | 2017-10-18T10:11:36.000Z | 2017-10-20T16:51:25.000Z | src/DeploymentDirector/actions/__init__.py | ushahidi/deployment-director | 1a3c4b05d1ffb8b19efad0563df4fa9a9732853e | [
"MIT"
] | null | null | null | #!/usr/bin/env python
from .command import *
| 11.5 | 22 | 0.695652 | 7 | 46 | 4.571429 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152174 | 46 | 3 | 23 | 15.333333 | 0.820513 | 0.434783 | 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 |
0287e04713acd396ab3c3b5ceef6a9ac1d57593b | 301 | py | Python | config/color_config.py | lepisma/AirJam | a1679b14b356e151644b39a270aefb61d9718768 | [
"MIT"
] | 2 | 2015-05-23T05:01:09.000Z | 2015-05-23T05:06:09.000Z | config/color_config.py | lepisma/AirJam | a1679b14b356e151644b39a270aefb61d9718768 | [
"MIT"
] | null | null | null | config/color_config.py | lepisma/AirJam | a1679b14b356e151644b39a270aefb61d9718768 | [
"MIT"
] | null | null | null | # Storing color ranges in HSV
MIN_H = {"red" : 0, "green" : 0, "blue" : 0}
MIN_S = {"red" : 0, "green" : 0, "blue" : 0}
MIN_V = {"red" : 0, "green" : 0, "blue" : 0}
MAX_H = {"red" : 0, "green" : 0, "blue" : 0}
MAX_S = {"red" : 0, "green" : 0, "blue" : 0}
MAX_V = {"red" : 0, "green" : 0, "blue" : 0} | 33.444444 | 44 | 0.475083 | 53 | 301 | 2.584906 | 0.264151 | 0.175182 | 0.394161 | 0.437956 | 0.810219 | 0.810219 | 0.810219 | 0 | 0 | 0 | 0 | 0.078947 | 0.242525 | 301 | 9 | 45 | 33.444444 | 0.52193 | 0.089701 | 0 | 0 | 0 | 0 | 0.263736 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5a4183058fb0940d4c6e552839609cab366cf717 | 66 | py | Python | zadacha26.py | makkksimka/cocacola | f75f1cb9bd784eba2d37d0753938c0bd2b35327a | [
"MIT"
] | null | null | null | zadacha26.py | makkksimka/cocacola | f75f1cb9bd784eba2d37d0753938c0bd2b35327a | [
"MIT"
] | null | null | null | zadacha26.py | makkksimka/cocacola | f75f1cb9bd784eba2d37d0753938c0bd2b35327a | [
"MIT"
] | null | null | null | f = 5
g = 21 - f
t = g // 3
f = (2 * f) % t
g = g + f + t
print(g) | 11 | 15 | 0.348485 | 18 | 66 | 1.277778 | 0.444444 | 0.26087 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 0.409091 | 66 | 6 | 16 | 11 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0 | 1 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5a6f7bc1e5175fe11368adf3a3aff9f057eaaad5 | 48 | py | Python | src/experiment/__init__.py | ricoms/ml-training-template | 348d3876d2b485f90b9cda80872ff587f5881fa9 | [
"MIT"
] | 5 | 2021-04-29T22:20:08.000Z | 2021-05-21T03:29:52.000Z | src/experiment/__init__.py | ricoms/ml-training-template | 348d3876d2b485f90b9cda80872ff587f5881fa9 | [
"MIT"
] | 5 | 2020-02-17T21:59:49.000Z | 2022-03-12T00:47:31.000Z | src/experiment/__init__.py | ricoms/ml-training-template | 348d3876d2b485f90b9cda80872ff587f5881fa9 | [
"MIT"
] | 3 | 2021-04-29T22:41:59.000Z | 2021-10-03T20:06:05.000Z | from .model import MLModel, ProjectModel # noqa
| 24 | 47 | 0.791667 | 6 | 48 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145833 | 48 | 1 | 48 | 48 | 0.926829 | 0.083333 | 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 |
ce691ef07b8ec87c4580f7a67554002944b29dc8 | 139 | py | Python | cloud_sptheme/run_test.py | Cadair/conda-recipes | 0227a81ed80e24eefffe091836dead93f8312ffe | [
"BSD-3-Clause"
] | 302 | 2015-01-04T18:21:56.000Z | 2021-11-16T12:14:37.000Z | cloud_sptheme/run_test.py | Cadair/conda-recipes | 0227a81ed80e24eefffe091836dead93f8312ffe | [
"BSD-3-Clause"
] | 393 | 2015-01-03T14:35:48.000Z | 2019-12-09T15:09:07.000Z | cloud_sptheme/run_test.py | Cadair/conda-recipes | 0227a81ed80e24eefffe091836dead93f8312ffe | [
"BSD-3-Clause"
] | 325 | 2015-01-04T17:26:39.000Z | 2021-11-04T16:25:54.000Z | import cloud_sptheme.ext
import os
assert os.path.exists(os.path.join(os.path.split(cloud_sptheme.ext.__file__)[0], 'table_styling.css'))
| 27.8 | 102 | 0.791367 | 24 | 139 | 4.291667 | 0.625 | 0.174757 | 0.291262 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007634 | 0.057554 | 139 | 4 | 103 | 34.75 | 0.778626 | 0 | 0 | 0 | 0 | 0 | 0.122302 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ce6a1d7bbb1a57c633e299388e6f049bf521b2c2 | 22 | py | Python | src/event_emitter/__init__.py | thiagodk/python-event-emitter | 3767f852a8151a918a44572af679dfc00d3bff5c | [
"MIT"
] | null | null | null | src/event_emitter/__init__.py | thiagodk/python-event-emitter | 3767f852a8151a918a44572af679dfc00d3bff5c | [
"MIT"
] | null | null | null | src/event_emitter/__init__.py | thiagodk/python-event-emitter | 3767f852a8151a918a44572af679dfc00d3bff5c | [
"MIT"
] | null | null | null |
from .event import *
| 7.333333 | 20 | 0.681818 | 3 | 22 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 22 | 2 | 21 | 11 | 0.882353 | 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 |
ce7e197492bbd3b447f730325d6d80cc92ff3b75 | 47,878 | py | Python | ADCP/Predictor/Power.py | ricorx7/rti-python | 1316323b782ddb8df357e55404f507a9573e172c | [
"BSD-3-Clause"
] | 1 | 2017-06-10T13:27:44.000Z | 2017-06-10T13:27:44.000Z | ADCP/Predictor/Power.py | ricorx7/rti-python | 1316323b782ddb8df357e55404f507a9573e172c | [
"BSD-3-Clause"
] | 10 | 2019-12-28T18:06:18.000Z | 2022-03-25T18:48:20.000Z | ADCP/Predictor/Power.py | ricorx7/rti_python | 1316323b782ddb8df357e55404f507a9573e172c | [
"BSD-3-Clause"
] | null | null | null | import math
import json
import os
import pytest
import rti_python.ADCP.AdcpCommands
import rti_python.ADCP.Predictor.Range
def calculate_power(**kwargs):
"""
:param CEI=: Time between ensembles in seconds.
:param DeploymentDuration=: Deployment length in days.
:param Beams=: Number of beams for this c... | 51.592672 | 155 | 0.553386 | 4,963 | 47,878 | 5.052791 | 0.075156 | 0.068429 | 0.046058 | 0.061411 | 0.803445 | 0.769988 | 0.749731 | 0.729194 | 0.704789 | 0.692547 | 0 | 0.049248 | 0.357053 | 47,878 | 927 | 156 | 51.648328 | 0.76539 | 0.252204 | 0 | 0.638938 | 0 | 0 | 0.101482 | 0 | 0 | 0 | 0 | 0 | 0.017699 | 1 | 0.019469 | false | 0 | 0.010619 | 0 | 0.047788 | 0.00708 | 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 |
ce8f6aef16d0b4850d4b4752eb4b3712ebfcdea2 | 709 | py | Python | compound_poisson/__init__.py | shermanlo77/cptimeseries | 2a847ac15f7ea4925896c2a7baec78e8717e63f4 | [
"MIT"
] | 3 | 2021-02-24T10:16:37.000Z | 2021-05-26T13:42:58.000Z | compound_poisson/__init__.py | shermanlo77/cptimeseries | 2a847ac15f7ea4925896c2a7baec78e8717e63f4 | [
"MIT"
] | null | null | null | compound_poisson/__init__.py | shermanlo77/cptimeseries | 2a847ac15f7ea4925896c2a7baec78e8717e63f4 | [
"MIT"
] | 1 | 2021-02-25T06:53:14.000Z | 2021-02-25T06:53:14.000Z | from compound_poisson import downscale
from compound_poisson import era5
from compound_poisson.downscale import Downscale
from compound_poisson.downscale import DownscaleDeepGp
from compound_poisson.multiseries import MultiSeries
from compound_poisson.time_series import TimeSeries
from compound_poisson.time_series_grad... | 47.266667 | 66 | 0.908322 | 90 | 709 | 6.877778 | 0.233333 | 0.271405 | 0.429725 | 0.22294 | 0.55412 | 0.327948 | 0.327948 | 0 | 0 | 0 | 0 | 0.001531 | 0.078984 | 709 | 14 | 67 | 50.642857 | 0.946401 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ce9f19aedcf7a96bb822a9211c0842e0ac72fec9 | 31 | py | Python | flask_mongomyadmin/__init__.py | poundifdef/Flask-MongoMyAdmin | 00a21651ad272c007ec083acb2d88accf0837a40 | [
"Apache-2.0"
] | 7 | 2015-03-16T09:37:25.000Z | 2020-04-27T04:50:55.000Z | flask_mongomyadmin/__init__.py | poundifdef/Flask-MongoMyAdmin | 00a21651ad272c007ec083acb2d88accf0837a40 | [
"Apache-2.0"
] | null | null | null | flask_mongomyadmin/__init__.py | poundifdef/Flask-MongoMyAdmin | 00a21651ad272c007ec083acb2d88accf0837a40 | [
"Apache-2.0"
] | null | null | null | from admin import MongoMyAdmin
| 15.5 | 30 | 0.870968 | 4 | 31 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cea313b4debbc27587bbeff6a5b71fe9a3dfc7c3 | 1,187 | py | Python | antspyt1w/__init__.py | stnava/ANTsPyT1w | 55802af39aba927d609ad46ef8c72ec6b0d24e17 | [
"Apache-2.0"
] | 2 | 2021-06-17T22:19:08.000Z | 2021-06-28T14:21:44.000Z | antspyt1w/__init__.py | stnava/ANTsPyT1w | 55802af39aba927d609ad46ef8c72ec6b0d24e17 | [
"Apache-2.0"
] | 1 | 2021-11-05T20:15:48.000Z | 2021-11-07T10:15:23.000Z | antspyt1w/__init__.py | stnava/ANTsPyT1w | 55802af39aba927d609ad46ef8c72ec6b0d24e17 | [
"Apache-2.0"
] | 1 | 2021-07-20T14:28:42.000Z | 2021-07-20T14:28:42.000Z |
try:
from .version import __version__
except:
pass
from .get_data import get_data
from .get_data import map_segmentation_to_dataframe
from .get_data import random_basis_projection
from .get_data import hierarchical
from .get_data import deep_brain_parcellation
from .get_data import deep_tissue_segmentation
fr... | 33.914286 | 60 | 0.865206 | 190 | 1,187 | 5.010526 | 0.294737 | 0.213235 | 0.323529 | 0.5 | 0.407563 | 0.058824 | 0 | 0 | 0 | 0 | 0 | 0.004726 | 0.108677 | 1,187 | 34 | 61 | 34.911765 | 0.895085 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.03125 | 0.90625 | 0 | 0.90625 | 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 |
cebf7b826d5312bb6a90e346ba862bf23f9df482 | 38 | py | Python | src/hub/dataload/sources/wikipedia/__init__.py | mlebeur/mygene.info | e71ca89c2b1c546c260101286ad5419503fd6653 | [
"Apache-2.0"
] | 78 | 2017-05-26T08:38:25.000Z | 2022-02-25T08:55:31.000Z | src/hub/dataload/sources/wikipedia/__init__.py | mlebeur/mygene.info | e71ca89c2b1c546c260101286ad5419503fd6653 | [
"Apache-2.0"
] | 105 | 2017-05-18T21:57:13.000Z | 2022-03-18T21:41:47.000Z | src/hub/dataload/sources/wikipedia/__init__.py | mlebeur/mygene.info | e71ca89c2b1c546c260101286ad5419503fd6653 | [
"Apache-2.0"
] | 19 | 2017-06-12T18:31:54.000Z | 2021-11-10T00:04:43.000Z | from .upload import WikipediaUploader
| 19 | 37 | 0.868421 | 4 | 38 | 8.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 0.970588 | 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 |
0c71eca85182f9b49d3d3f63e5a7fafcfebf3dc9 | 21 | py | Python | cerver/types/__init__.py | Djcharles26/py-cerver | b43ecae44e975eb51dad6a80c50a8b6e50aa125a | [
"MIT"
] | 5 | 2021-03-25T20:33:55.000Z | 2021-12-21T05:03:23.000Z | cerver/types/__init__.py | Djcharles26/py-cerver | b43ecae44e975eb51dad6a80c50a8b6e50aa125a | [
"MIT"
] | 5 | 2021-03-31T05:54:07.000Z | 2021-07-01T01:21:39.000Z | cerver/types/__init__.py | Djcharles26/py-cerver | b43ecae44e975eb51dad6a80c50a8b6e50aa125a | [
"MIT"
] | 7 | 2021-03-25T20:33:58.000Z | 2021-12-29T05:28:56.000Z | from .string import * | 21 | 21 | 0.761905 | 3 | 21 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 21 | 1 | 21 | 21 | 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 |
0c990729945afc17b02b9e25ceb003bbac4a86ef | 11,348 | py | Python | python/tests/test_op_benchmark.py | Aurelius84/CINN | 2de029387f7526f0a46d5bed9060d7e8f7a70767 | [
"Apache-2.0"
] | null | null | null | python/tests/test_op_benchmark.py | Aurelius84/CINN | 2de029387f7526f0a46d5bed9060d7e8f7a70767 | [
"Apache-2.0"
] | null | null | null | python/tests/test_op_benchmark.py | Aurelius84/CINN | 2de029387f7526f0a46d5bed9060d7e8f7a70767 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
from cinn.frontend import *
from cinn import Target
from cinn.framework import *
import unittest
import cinn
from cinn import runtime
from cinn import ir
from cinn import lang
from cinn.common import *
import numpy as np
import sys
assert len(sys.argv) == 2
enable_gpu = sys.argv.pop()
class Te... | 38.598639 | 318 | 0.547233 | 1,522 | 11,348 | 3.921813 | 0.095269 | 0.039873 | 0.068353 | 0.079745 | 0.814207 | 0.795443 | 0.7807 | 0.753728 | 0.729268 | 0.670799 | 0 | 0.096236 | 0.276613 | 11,348 | 293 | 319 | 38.730375 | 0.630893 | 0.003525 | 0 | 0.455939 | 0 | 0.007663 | 0.216179 | 0.013347 | 0 | 0 | 0 | 0 | 0.011494 | 1 | 0.061303 | false | 0 | 0.042146 | 0 | 0.10728 | 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 |
0cdcd8ecb86b3dfe881ee3684098bec441ab3b24 | 48 | py | Python | terrascript/arukas/d.py | vutsalsinghal/python-terrascript | 3b9fb5ad77453d330fb0cd03524154a342c5d5dc | [
"BSD-2-Clause"
] | null | null | null | terrascript/arukas/d.py | vutsalsinghal/python-terrascript | 3b9fb5ad77453d330fb0cd03524154a342c5d5dc | [
"BSD-2-Clause"
] | null | null | null | terrascript/arukas/d.py | vutsalsinghal/python-terrascript | 3b9fb5ad77453d330fb0cd03524154a342c5d5dc | [
"BSD-2-Clause"
] | null | null | null | # terrascript/arukas/d.py
import terrascript
| 9.6 | 26 | 0.770833 | 6 | 48 | 6.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145833 | 48 | 4 | 27 | 12 | 0.902439 | 0.479167 | 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 |
0b2184aef0dff479faabacd10f843ac9fe8fecc0 | 224 | py | Python | gammagl/loader/__init__.py | BUPT-GAMMA/GammaGL | 2b9f32e1ac3533cb75a063243e8a2fa654466d18 | [
"Apache-2.0"
] | null | null | null | gammagl/loader/__init__.py | BUPT-GAMMA/GammaGL | 2b9f32e1ac3533cb75a063243e8a2fa654466d18 | [
"Apache-2.0"
] | null | null | null | gammagl/loader/__init__.py | BUPT-GAMMA/GammaGL | 2b9f32e1ac3533cb75a063243e8a2fa654466d18 | [
"Apache-2.0"
] | null | null | null | from .dataloader import DataLoader
from .Neighbour_sampler import Neighbor_Sampler
from .Neighbour_sampler import Neighbor_Sampler_python
__all__ = [
'DataLoader',
'Neighbor_Sampler',
'Neighbor_Sampler_python'
] | 24.888889 | 54 | 0.799107 | 24 | 224 | 6.958333 | 0.333333 | 0.359281 | 0.239521 | 0.311377 | 0.491018 | 0.491018 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138393 | 224 | 9 | 55 | 24.888889 | 0.865285 | 0 | 0 | 0 | 0 | 0 | 0.217778 | 0.102222 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.375 | 0 | 0.375 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
0b2429096a2e8028668179bfed51d99bae005182 | 25 | py | Python | dxx/__init__.py | tetsuzawa/dxx-py | 8c63327b8814bdd3499c1696b5a5f0eb9fe7fc76 | [
"MIT"
] | null | null | null | dxx/__init__.py | tetsuzawa/dxx-py | 8c63327b8814bdd3499c1696b5a5f0eb9fe7fc76 | [
"MIT"
] | null | null | null | dxx/__init__.py | tetsuzawa/dxx-py | 8c63327b8814bdd3499c1696b5a5f0eb9fe7fc76 | [
"MIT"
] | null | null | null | from dxx.filelib import * | 25 | 25 | 0.8 | 4 | 25 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 25 | 1 | 25 | 25 | 0.909091 | 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 |
f01790fb89027a14ea72b0827696f96079fcbde1 | 47 | py | Python | classes/__init__.py | pxosys/meraki-exchangehub-switchports-status | 02c41d1968e97bbedf82bcc13c64ed04bd34ae44 | [
"MIT"
] | null | null | null | classes/__init__.py | pxosys/meraki-exchangehub-switchports-status | 02c41d1968e97bbedf82bcc13c64ed04bd34ae44 | [
"MIT"
] | null | null | null | classes/__init__.py | pxosys/meraki-exchangehub-switchports-status | 02c41d1968e97bbedf82bcc13c64ed04bd34ae44 | [
"MIT"
] | null | null | null | from .meraki import Meraki
from .api import Api | 23.5 | 26 | 0.808511 | 8 | 47 | 4.75 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148936 | 47 | 2 | 27 | 23.5 | 0.95 | 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 |
b2f26bceecb3dd33bbbf165f9fce216a4757501e | 18,291 | py | Python | pybind/slxos/v16r_1_00b/openflow_state/meter_id/meterband_info_list/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v16r_1_00b/openflow_state/meter_id/meterband_info_list/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v16r_1_00b/openflow_state/meter_id/meterband_info_list/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | 1 | 2021-11-05T22:15:42.000Z | 2021-11-05T22:15:42.000Z |
from operator import attrgetter
import pyangbind.lib.xpathhelper as xpathhelper
from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType
from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType
from pyangbind.lib.base import PybindBase
from d... | 63.072414 | 473 | 0.742824 | 2,492 | 18,291 | 5.162119 | 0.073034 | 0.040578 | 0.047886 | 0.038324 | 0.830457 | 0.799129 | 0.77371 | 0.760494 | 0.753032 | 0.745569 | 0 | 0.021816 | 0.132907 | 18,291 | 289 | 474 | 63.290657 | 0.789281 | 0.167733 | 0 | 0.447674 | 0 | 0.02907 | 0.342532 | 0.175821 | 0 | 0 | 0 | 0 | 0 | 1 | 0.104651 | false | 0 | 0.046512 | 0 | 0.273256 | 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 |
b2fe87ecaa7e906dc5c8c6fcb36cd64ac94d0af1 | 947 | py | Python | Model/Schema.py | adikurniawanid/api-unsribot | 5bf6f8328710d16f96f6df93abc0368862dd4017 | [
"MIT"
] | 1 | 2022-01-26T03:52:38.000Z | 2022-01-26T03:52:38.000Z | Model/Schema.py | adikurniawanid/api-unsribot | 5bf6f8328710d16f96f6df93abc0368862dd4017 | [
"MIT"
] | 3 | 2022-01-31T09:23:01.000Z | 2022-02-14T07:15:33.000Z | Model/Schema.py | adikurniawanid/api-unsribot | 5bf6f8328710d16f96f6df93abc0368862dd4017 | [
"MIT"
] | null | null | null | # import mysql.connector
from numpy import hstack
from Model.Connection import querySQL
from Config.Settings import DATABASE_NAME
def getDaftarTabel():
return hstack(querySQL(f"SELECT TABLE_NAME FROM information_schema.`TABLES` WHERE TABLE_TYPE LIKE 'VIEW' AND TABLE_SCHEMA LIKE '{DATABASE_NAME}'"))
def getDaft... | 47.35 | 305 | 0.789863 | 129 | 947 | 5.550388 | 0.348837 | 0.107542 | 0.062849 | 0.104749 | 0.162011 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111932 | 947 | 19 | 306 | 49.842105 | 0.851367 | 0.023231 | 0 | 0 | 0 | 0.181818 | 0.687974 | 0.419285 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | true | 0 | 0.272727 | 0.272727 | 0.818182 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
3361cb42ebae896f13c00321b566a109634e84c7 | 367 | py | Python | amounts.py | mchlebosz/AiSDProject_1 | ed70faac79a3ad58efea7bc50e819fa598a5179e | [
"MIT"
] | null | null | null | amounts.py | mchlebosz/AiSDProject_1 | ed70faac79a3ad58efea7bc50e819fa598a5179e | [
"MIT"
] | null | null | null | amounts.py | mchlebosz/AiSDProject_1 | ed70faac79a3ad58efea7bc50e819fa598a5179e | [
"MIT"
] | 1 | 2022-03-09T21:27:58.000Z | 2022-03-09T21:27:58.000Z | from math import factorial
def generate2(start, end, step):
outArray = []
while start < end:
outArray.append(start)
start += step
step += step
return outArray
def generate1(start, end, step):
return list(range(start, end, step))
def generate3(start, end, step):
return [... | 19.315789 | 58 | 0.632153 | 48 | 367 | 4.833333 | 0.416667 | 0.206897 | 0.258621 | 0.155172 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010989 | 0.256131 | 367 | 18 | 59 | 20.388889 | 0.838828 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.083333 | 0.166667 | 0.583333 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
681f9350a17f654528a43b7d6facc2acae5fa95e | 48 | py | Python | src/django_csv_utils/exceptions.py | ionata/django-csv-utils | fcdc5951b1b63457f62deded551d4eb82a471cf8 | [
"BSD-3-Clause"
] | null | null | null | src/django_csv_utils/exceptions.py | ionata/django-csv-utils | fcdc5951b1b63457f62deded551d4eb82a471cf8 | [
"BSD-3-Clause"
] | 1 | 2017-11-21T22:10:55.000Z | 2017-11-22T00:35:54.000Z | src/django_csv_utils/exceptions.py | ionata/django-csv-utils | fcdc5951b1b63457f62deded551d4eb82a471cf8 | [
"BSD-3-Clause"
] | null | null | null |
class CSVImportException(Exception):
pass
| 9.6 | 36 | 0.75 | 4 | 48 | 9 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 48 | 4 | 37 | 12 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0.5 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
682f76dccf1deac2668dbc0ca82bbd409da29e16 | 110 | py | Python | venv/Lib/site-packages/bilibili_api/__init__.py | Lparksi/bot | 8a38953d09436b60e8edff4ebe86bf19fe3b7046 | [
"MIT"
] | 3 | 2020-03-31T10:36:31.000Z | 2020-04-23T12:01:10.000Z | venv/Lib/site-packages/bilibili_api/__init__.py | Lparksi/bot | 8a38953d09436b60e8edff4ebe86bf19fe3b7046 | [
"MIT"
] | 1 | 2020-07-16T14:51:26.000Z | 2020-07-30T12:46:55.000Z | venv/Lib/site-packages/bilibili_api/__init__.py | Lparksi/bot | 8a38953d09436b60e8edff4ebe86bf19fe3b7046 | [
"MIT"
] | null | null | null | from . import dynamic, user, video,bangumi
from .src.utils import Verify, nyanpass
from .src import exception
| 27.5 | 42 | 0.790909 | 16 | 110 | 5.4375 | 0.6875 | 0.16092 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 110 | 3 | 43 | 36.666667 | 0.915789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
684e6a3b4c45c6df0824408bfc21332ad8cb8e5c | 20 | py | Python | yaml/__init__.py | thomasmeeus/yamljson | 288e4857c1a589ee9bc163741428790f038246db | [
"MIT"
] | null | null | null | yaml/__init__.py | thomasmeeus/yamljson | 288e4857c1a589ee9bc163741428790f038246db | [
"MIT"
] | null | null | null | yaml/__init__.py | thomasmeeus/yamljson | 288e4857c1a589ee9bc163741428790f038246db | [
"MIT"
] | null | null | null | from .yaml3 import * | 20 | 20 | 0.75 | 3 | 20 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0.15 | 20 | 1 | 20 | 20 | 0.823529 | 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 |
6896f0669f8da6ada51947d47efd8c7c09127421 | 81,048 | py | Python | transformers/src/transformers/data/datasets/language_modeling.py | zwcolin/robust_domain_shift | 8246cef51c357c6ad28c7d83f2260bd278c91766 | [
"MIT"
] | null | null | null | transformers/src/transformers/data/datasets/language_modeling.py | zwcolin/robust_domain_shift | 8246cef51c357c6ad28c7d83f2260bd278c91766 | [
"MIT"
] | null | null | null | transformers/src/transformers/data/datasets/language_modeling.py | zwcolin/robust_domain_shift | 8246cef51c357c6ad28c7d83f2260bd278c91766 | [
"MIT"
] | null | null | null | import os
import pickle
import random
import time
import copy
import json
from typing import Dict, List, Optional
import ast
import torch
from torch.utils.data.dataset import Dataset
from filelock import FileLock
from ...tokenization_utils import PreTrainedTokenizer
from ...utils import logging
from ...modeling_bert ... | 41.224822 | 133 | 0.578201 | 9,932 | 81,048 | 4.499195 | 0.056484 | 0.024706 | 0.022557 | 0.020476 | 0.781565 | 0.764221 | 0.749586 | 0.74191 | 0.734525 | 0.726827 | 0 | 0.008699 | 0.31353 | 81,048 | 1,965 | 134 | 41.245802 | 0.794471 | 0.153465 | 0 | 0.71417 | 0 | 0 | 0.055848 | 0.000957 | 0 | 0 | 0 | 0.001018 | 0.038057 | 1 | 0.059109 | false | 0 | 0.013765 | 0.034818 | 0.133603 | 0.091498 | 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 |
d7d21e52c3c15cb9b24acb98d34e86c646f102ab | 116 | py | Python | freenom_dns_updater/exception/update_error.py | anhdhbn/Freenom-dns-updater | ec928755d7e18efa00bcc9aed20ad0b3eb093239 | [
"MIT"
] | 160 | 2016-02-27T15:20:24.000Z | 2022-03-13T17:27:49.000Z | freenom_dns_updater/exception/update_error.py | anhdhbn/Freenom-dns-updater | ec928755d7e18efa00bcc9aed20ad0b3eb093239 | [
"MIT"
] | 31 | 2016-02-12T21:25:35.000Z | 2022-03-03T19:24:59.000Z | freenom_dns_updater/exception/update_error.py | anhdhbn/Freenom-dns-updater | ec928755d7e18efa00bcc9aed20ad0b3eb093239 | [
"MIT"
] | 56 | 2016-03-05T14:39:21.000Z | 2022-02-11T01:21:15.000Z | from .dns_record_base_exception import DnsRecordBaseException
class UpdateError(DnsRecordBaseException):
pass
| 19.333333 | 61 | 0.853448 | 11 | 116 | 8.727273 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112069 | 116 | 5 | 62 | 23.2 | 0.932039 | 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 |
cc06a94f1fd95eb76fbaea9e06cc4196e68ebf0d | 38 | py | Python | ocr/__init__.py | RobinKa/Chinese-Overlay | 042506d643ac6b15ba2ddad3553c02618633eed9 | [
"MIT"
] | 6 | 2020-04-24T17:22:48.000Z | 2021-12-10T17:51:33.000Z | ocr/__init__.py | RobinKa/Chinese-Overlay | 042506d643ac6b15ba2ddad3553c02618633eed9 | [
"MIT"
] | 4 | 2020-04-26T15:08:56.000Z | 2022-03-12T00:25:51.000Z | ocr/__init__.py | RobinKa/Chinese-Overlay | 042506d643ac6b15ba2ddad3553c02618633eed9 | [
"MIT"
] | 1 | 2020-11-14T12:44:27.000Z | 2020-11-14T12:44:27.000Z | from .ocr import OCR, make_default_ocr | 38 | 38 | 0.842105 | 7 | 38 | 4.285714 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 0.882353 | 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 |
cc1f0e83b669566cd76d4bfd1e5b6a6edfb5a8f3 | 246 | py | Python | pycc/rt/__init__.py | RitvikPrabhu/pycc | 3ec3a0545296e44cd8dfbb4ad3e92553f3b8a9a8 | [
"BSD-3-Clause"
] | null | null | null | pycc/rt/__init__.py | RitvikPrabhu/pycc | 3ec3a0545296e44cd8dfbb4ad3e92553f3b8a9a8 | [
"BSD-3-Clause"
] | null | null | null | pycc/rt/__init__.py | RitvikPrabhu/pycc | 3ec3a0545296e44cd8dfbb4ad3e92553f3b8a9a8 | [
"BSD-3-Clause"
] | null | null | null | """
RT: a subpackage handing real-time coupled cluster routines.
============================================================
"""
# Add imports here
from .rtcc import rtcc
from .lasers import gaussian_laser
from .lasers import sine_square_laser
| 24.6 | 60 | 0.589431 | 27 | 246 | 5.259259 | 0.740741 | 0.140845 | 0.225352 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113821 | 246 | 9 | 61 | 27.333333 | 0.651376 | 0.565041 | 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 |
0bc3230f748e3d94ccbae05b2cb54c5bb852fde0 | 44 | py | Python | shop/shop/__init__.py | yushenglin01/shop | 3c86e8c02669b1ed3c19c78847ebae892375189e | [
"MIT"
] | null | null | null | shop/shop/__init__.py | yushenglin01/shop | 3c86e8c02669b1ed3c19c78847ebae892375189e | [
"MIT"
] | null | null | null | shop/shop/__init__.py | yushenglin01/shop | 3c86e8c02669b1ed3c19c78847ebae892375189e | [
"MIT"
] | null | null | null | from lib.orm import path_model
path_model() | 14.666667 | 30 | 0.818182 | 8 | 44 | 4.25 | 0.75 | 0.529412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113636 | 44 | 3 | 31 | 14.666667 | 0.871795 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
0bcf787c221cbd6aeac9f45023736bebb915bd5f | 11,465 | py | Python | export_readiness/tests/factories.py | kaedroho/dit-directory-cms | 67c15eeed19e7b3583f1fce1969230ddf83b6813 | [
"MIT"
] | null | null | null | export_readiness/tests/factories.py | kaedroho/dit-directory-cms | 67c15eeed19e7b3583f1fce1969230ddf83b6813 | [
"MIT"
] | null | null | null | export_readiness/tests/factories.py | kaedroho/dit-directory-cms | 67c15eeed19e7b3583f1fce1969230ddf83b6813 | [
"MIT"
] | null | null | null | import factory
import factory.fuzzy
import wagtail_factories
from django.utils import timezone
from export_readiness import models
class PerformanceDashboardPageFactory(wagtail_factories.PageFactory):
class Meta:
model = models.PerformanceDashboardPage
heading = factory.fuzzy.FuzzyText(length=10)
... | 37.963576 | 75 | 0.759355 | 1,447 | 11,465 | 5.778853 | 0.091914 | 0.159292 | 0.27625 | 0.355178 | 0.865224 | 0.858527 | 0.790002 | 0.63956 | 0.427649 | 0.19481 | 0 | 0.045524 | 0.141649 | 11,465 | 301 | 76 | 38.089701 | 0.804187 | 0.001483 | 0 | 0.310502 | 0 | 0 | 0.020797 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.022831 | 0 | 0.881279 | 0.054795 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
043ad2b332e410a9b8dfe6ad3192b6e497fe0606 | 175 | py | Python | staff/admin.py | Boydlloyd/empmgt | de2af88e5f26f4c998fde991e5379a44333f0121 | [
"MIT"
] | null | null | null | staff/admin.py | Boydlloyd/empmgt | de2af88e5f26f4c998fde991e5379a44333f0121 | [
"MIT"
] | null | null | null | staff/admin.py | Boydlloyd/empmgt | de2af88e5f26f4c998fde991e5379a44333f0121 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import *
@admin.register(Provincialstaff,Districtstaff,Staff,Title,Position,Userlevel)
class ViewAdmin(admin.ModelAdmin):
pass
| 25 | 77 | 0.828571 | 21 | 175 | 6.904762 | 0.809524 | 0.151724 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 175 | 6 | 78 | 29.166667 | 0.900621 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
0451a29a154dbd274f68abae6283c8ecb803840b | 180 | py | Python | polling_people/polls/admin.py | Uforick/API-polling-people | 8d96d106a3e36c592cc7554c8302043622455e5c | [
"BSD-3-Clause"
] | null | null | null | polling_people/polls/admin.py | Uforick/API-polling-people | 8d96d106a3e36c592cc7554c8302043622455e5c | [
"BSD-3-Clause"
] | null | null | null | polling_people/polls/admin.py | Uforick/API-polling-people | 8d96d106a3e36c592cc7554c8302043622455e5c | [
"BSD-3-Clause"
] | null | null | null | from django.contrib import admin
from .models import AnswerForChoice, Poll, Question
admin.site.register(Poll)
admin.site.register(Question)
admin.site.register(AnswerForChoice)
| 22.5 | 51 | 0.827778 | 23 | 180 | 6.478261 | 0.478261 | 0.181208 | 0.342282 | 0.33557 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 180 | 7 | 52 | 25.714286 | 0.90303 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 1 | 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 |
f0ac3fd5bcd23883f686222cd928d844894f0d4e | 11,060 | py | Python | Validators/test/image_validators.py | mrvafa/blog-api | cef0773b3199bfb785126ce82567fd7fc78e6c89 | [
"MIT"
] | null | null | null | Validators/test/image_validators.py | mrvafa/blog-api | cef0773b3199bfb785126ce82567fd7fc78e6c89 | [
"MIT"
] | null | null | null | Validators/test/image_validators.py | mrvafa/blog-api | cef0773b3199bfb785126ce82567fd7fc78e6c89 | [
"MIT"
] | null | null | null | from io import BytesIO
import requests
from PIL import Image
from django.conf import settings
from django.core.exceptions import ValidationError
from django.core.files.uploadedfile import SimpleUploadedFile
from django.test import TestCase
from Validators.image_validators import _is_image_width_less_than_or_equal, _i... | 42.538462 | 119 | 0.66528 | 1,284 | 11,060 | 5.34891 | 0.061526 | 0.122306 | 0.060571 | 0.090856 | 0.90463 | 0.879878 | 0.879004 | 0.861823 | 0.813483 | 0.804455 | 0 | 0.013661 | 0.238879 | 11,060 | 259 | 120 | 42.702703 | 0.80221 | 0.004973 | 0 | 0.598214 | 0 | 0 | 0.181636 | 0.023636 | 0 | 0 | 0 | 0 | 0.116071 | 1 | 0.116071 | false | 0 | 0.035714 | 0 | 0.165179 | 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 |
9bc5c85c0379377a8d5169dd1fd00ebe69d5d833 | 22 | py | Python | pylogenetics/__init__.py | DominicWhite/pylogenetics | 534441d8306e6177e52a7381c0cbe0f0e02b301c | [
"MIT"
] | 2 | 2016-03-31T02:54:56.000Z | 2019-02-18T23:18:17.000Z | pylogenetics/__init__.py | dominicwhite/pylogenetics | 534441d8306e6177e52a7381c0cbe0f0e02b301c | [
"MIT"
] | null | null | null | pylogenetics/__init__.py | dominicwhite/pylogenetics | 534441d8306e6177e52a7381c0cbe0f0e02b301c | [
"MIT"
] | null | null | null | from Tree import Tree
| 11 | 21 | 0.818182 | 4 | 22 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9bedfc63973f15d137e34bf1f45aeee6f8998187 | 25 | py | Python | python-client/onesaitplatform/mqttclient/__init__.py | esanfrutosminsait/onesait-cloud-platform-clientlibraries | 31012e1eaa7da54fd08f9a63713043113969f1c9 | [
"Apache-2.0"
] | 14 | 2019-05-14T13:23:35.000Z | 2019-12-24T14:49:02.000Z | python-client/onesaitplatform/mqttclient/__init__.py | esanfrutosminsait/onesait-cloud-platform-clientlibraries | 31012e1eaa7da54fd08f9a63713043113969f1c9 | [
"Apache-2.0"
] | 7 | 2019-11-13T09:38:03.000Z | 2021-04-07T16:24:14.000Z | python-client/onesaitplatform/mqttclient/__init__.py | esanfrutosminsait/onesait-cloud-platform-clientlibraries | 31012e1eaa7da54fd08f9a63713043113969f1c9 | [
"Apache-2.0"
] | 9 | 2019-04-09T15:38:28.000Z | 2021-03-24T13:10:14.000Z | from .core import Client
| 12.5 | 24 | 0.8 | 4 | 25 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.952381 | 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 |
5003c5e47e9a8bfc439a54637e6f31944187a39b | 12,926 | py | Python | jupyterlab_bigquery/jupyterlab_bigquery/tests/pagedAPI_handler/pagedQuery_handler_test.py | l1ghtspeed/jupyter-extensions | e1719b3d3c9adadb721626fd964a49c0fa5a6c83 | [
"Apache-2.0"
] | 1 | 2020-06-17T14:04:10.000Z | 2020-06-17T14:04:10.000Z | jupyterlab_bigquery/jupyterlab_bigquery/tests/pagedAPI_handler/pagedQuery_handler_test.py | l1ghtspeed/jupyter-extensions | e1719b3d3c9adadb721626fd964a49c0fa5a6c83 | [
"Apache-2.0"
] | 25 | 2020-06-17T17:58:59.000Z | 2020-08-11T14:53:58.000Z | jupyterlab_bigquery/jupyterlab_bigquery/tests/pagedAPI_handler/pagedQuery_handler_test.py | mwiewior/jupyter-extensions | b928265ee22246ac2761a5439b8363e98ec735e6 | [
"Apache-2.0"
] | null | null | null | import unittest
from unittest.mock import MagicMock, patch
import json
from google.cloud import bigquery
import google.cloud.bigquery.dbapi._helpers
from jupyterlab_bigquery.pagedAPI_handler.pagedQuery_handler import PagedQueryHandler
def multiple_return_helper(return_values):
def inner():
return return_values... | 30.630332 | 85 | 0.720641 | 1,608 | 12,926 | 5.38806 | 0.087687 | 0.029086 | 0.040512 | 0.039243 | 0.851685 | 0.831602 | 0.824446 | 0.794552 | 0.794552 | 0.780586 | 0 | 0.006462 | 0.185904 | 12,926 | 421 | 86 | 30.703088 | 0.816877 | 0 | 0 | 0.69279 | 0 | 0 | 0.170354 | 0.128733 | 0 | 0 | 0 | 0 | 0.103448 | 1 | 0.053292 | false | 0 | 0.018809 | 0.003135 | 0.090909 | 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 |
5013e7c729e54a792dd6fedefae37bc8c48b6945 | 115 | py | Python | otk/sdb/numba/__init__.py | draustin/otk | c6e91423ec79b85b380ee9385f6d27c91f92503d | [
"MIT"
] | 7 | 2020-05-17T14:26:42.000Z | 2022-02-14T04:52:54.000Z | otk/sdb/numba/__init__.py | uamhforever/otk | c6e91423ec79b85b380ee9385f6d27c91f92503d | [
"MIT"
] | 17 | 2020-04-10T22:50:00.000Z | 2020-06-18T04:54:19.000Z | otk/sdb/numba/__init__.py | uamhforever/otk | c6e91423ec79b85b380ee9385f6d27c91f92503d | [
"MIT"
] | 1 | 2022-02-14T04:52:45.000Z | 2022-02-14T04:52:45.000Z | """Numba backend for 3D geometry calculations."""
from .base import *
from .primitives import *
from .sags import * | 28.75 | 49 | 0.73913 | 15 | 115 | 5.666667 | 0.733333 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010204 | 0.147826 | 115 | 4 | 50 | 28.75 | 0.857143 | 0.373913 | 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 |
5024b2234a09b781d58c0505035a8bce8881e57b | 174 | py | Python | questiondb/questions/admin.py | shmish/question-bank | f5e7e578632148bb564a7fef044cc2e79b4b8f4e | [
"MIT"
] | null | null | null | questiondb/questions/admin.py | shmish/question-bank | f5e7e578632148bb564a7fef044cc2e79b4b8f4e | [
"MIT"
] | 5 | 2020-06-06T00:23:39.000Z | 2021-06-09T18:52:49.000Z | questiondb/questions/admin.py | shmish/question-bank | f5e7e578632148bb564a7fef044cc2e79b4b8f4e | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Course, Question, Lobjective
admin.site.register(Course)
admin.site.register(Lobjective)
admin.site.register(Question)
| 21.75 | 48 | 0.821839 | 23 | 174 | 6.217391 | 0.478261 | 0.188811 | 0.356643 | 0.377622 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086207 | 174 | 7 | 49 | 24.857143 | 0.899371 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 1 | 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 |
5034671a879b99afb62d9ed49f1e17485a8d9c7c | 241 | py | Python | src/tmplot/__init__.py | maximtrp/tmplot | c744de345a097b4ab924b5876c381f0f8b8eb2e2 | [
"MIT"
] | 6 | 2021-09-02T20:42:48.000Z | 2022-02-11T05:42:33.000Z | src/tmplot/__init__.py | maximtrp/tmplot | c744de345a097b4ab924b5876c381f0f8b8eb2e2 | [
"MIT"
] | 3 | 2021-08-28T15:18:33.000Z | 2022-01-26T20:04:24.000Z | src/tmplot/__init__.py | maximtrp/tmplot | c744de345a097b4ab924b5876c381f0f8b8eb2e2 | [
"MIT"
] | null | null | null | from ._helpers import * # noqa: F401, F403
from ._distance import * # noqa: F401, F403
from ._report import * # noqa: F401, F403
from ._stability import * # noqa: F401, F403
from ._vis import * # noqa: F401, F403
__version__ = '0.0.6'
| 30.125 | 45 | 0.672199 | 34 | 241 | 4.5 | 0.382353 | 0.326797 | 0.457516 | 0.588235 | 0.575163 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171875 | 0.20332 | 241 | 7 | 46 | 34.428571 | 0.625 | 0.348548 | 0 | 0 | 0 | 0 | 0.033113 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.833333 | 0 | 0.833333 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5038b91985b45230ae18f67eb6940e5b35972523 | 28 | py | Python | qmlbot/__init__.py | jgirardet/qmlbot | 37eb46b3c5c6b0886b2b64a00b71ecd609bd896b | [
"MIT"
] | null | null | null | qmlbot/__init__.py | jgirardet/qmlbot | 37eb46b3c5c6b0886b2b64a00b71ecd609bd896b | [
"MIT"
] | null | null | null | qmlbot/__init__.py | jgirardet/qmlbot | 37eb46b3c5c6b0886b2b64a00b71ecd609bd896b | [
"MIT"
] | null | null | null | from .qmlbot import QMLBot
| 9.333333 | 26 | 0.785714 | 4 | 28 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 28 | 2 | 27 | 14 | 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 |
5039f5b6b9efc2ec9d386a36b1a98fbf300647d2 | 32 | py | Python | testing_pubsub/__init__.py | peachfinance/testing-pubsub | 1ba049ca1efd603782d30afd488df213d87cadef | [
"Apache-2.0"
] | null | null | null | testing_pubsub/__init__.py | peachfinance/testing-pubsub | 1ba049ca1efd603782d30afd488df213d87cadef | [
"Apache-2.0"
] | 1 | 2021-02-16T17:52:23.000Z | 2021-02-16T17:52:23.000Z | testing_pubsub/__init__.py | peachfinance/testing_pubsub | 1ba049ca1efd603782d30afd488df213d87cadef | [
"Apache-2.0"
] | null | null | null | from .pubsub import PubSubRunner | 32 | 32 | 0.875 | 4 | 32 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 32 | 1 | 32 | 32 | 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 |
5044ab937689c837788377aa61fb046cf8a4b2f4 | 94 | py | Python | oscar/lib/python2.7/site-packages/faker/providers/currency/en_US/__init__.py | sainjusajan/django-oscar | 466e8edc807be689b0a28c9e525c8323cc48b8e1 | [
"BSD-3-Clause"
] | null | null | null | oscar/lib/python2.7/site-packages/faker/providers/currency/en_US/__init__.py | sainjusajan/django-oscar | 466e8edc807be689b0a28c9e525c8323cc48b8e1 | [
"BSD-3-Clause"
] | null | null | null | oscar/lib/python2.7/site-packages/faker/providers/currency/en_US/__init__.py | sainjusajan/django-oscar | 466e8edc807be689b0a28c9e525c8323cc48b8e1 | [
"BSD-3-Clause"
] | null | null | null | from .. import Provider as CurrencyProvider
class Provider(CurrencyProvider):
pass
| 15.666667 | 44 | 0.734043 | 9 | 94 | 7.666667 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212766 | 94 | 5 | 45 | 18.8 | 0.932432 | 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 |
504e5758ba7657aa7e588481461510e6be813ca9 | 46,468 | py | Python | pyfacebook/api/instagram.py | Socian-Ltd/python-facebook-1 | e9a4f626b37541103c9534a29342ef6033c09c06 | [
"Apache-2.0"
] | null | null | null | pyfacebook/api/instagram.py | Socian-Ltd/python-facebook-1 | e9a4f626b37541103c9534a29342ef6033c09c06 | [
"Apache-2.0"
] | null | null | null | pyfacebook/api/instagram.py | Socian-Ltd/python-facebook-1 | e9a4f626b37541103c9534a29342ef6033c09c06 | [
"Apache-2.0"
] | 1 | 2021-08-25T05:34:14.000Z | 2021-08-25T05:34:14.000Z | """
Instagram Professional Api impl
"""
import datetime
from typing import List, Optional, Set, Tuple, Union
from six import iteritems
from pyfacebook.error import PyFacebookException, ErrorCode, ErrorMessage
from pyfacebook.models import (
IgProMedia, IgProUser, IgProComment, IgProReply, IgProInsight, IgProHa... | 39.513605 | 120 | 0.53058 | 5,231 | 46,468 | 4.585548 | 0.056203 | 0.036687 | 0.022012 | 0.015592 | 0.808396 | 0.779422 | 0.759078 | 0.746571 | 0.729687 | 0.708801 | 0 | 0.004454 | 0.391172 | 46,468 | 1,175 | 121 | 39.547234 | 0.843413 | 0.355664 | 0 | 0.689076 | 0 | 0 | 0.054809 | 0.010526 | 0 | 0 | 0 | 0 | 0 | 1 | 0.033613 | false | 0 | 0.011204 | 0 | 0.09944 | 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 |
ac9de229bfe9ff8faf334f2b68a33285e3b5f29d | 523 | py | Python | 2020/13/input.py | sishtiaq/aoc | 1c200ebed048bbd8ad6a684aaef8921d826f3d1b | [
"Apache-2.0"
] | null | null | null | 2020/13/input.py | sishtiaq/aoc | 1c200ebed048bbd8ad6a684aaef8921d826f3d1b | [
"Apache-2.0"
] | null | null | null | 2020/13/input.py | sishtiaq/aoc | 1c200ebed048bbd8ad6a684aaef8921d826f3d1b | [
"Apache-2.0"
] | null | null | null |
t0 = (939,
#7,13,x,x,59,x,31,19
[7,13,-42,-42,59,-42,31,19])
t1 = (1000391,
#19,x,x,x,x,x,x,x,x,x,x,x,x,37,x,x,x,x,x,383,x,x,x,x,x,x,x,23,x,x,x,x,13,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,29,x,457,x,x,x,x,x,x,x,x,x,41,x,x,x,x,x,x,17
[19,-42,-42,-42,-42,-42,-42,-42,-42,-42,-42,-42,-42,37,-42,-42,-42,-... | 43.583333 | 273 | 0.493308 | 156 | 523 | 1.653846 | 0.115385 | 0.403101 | 0.511628 | 0.573643 | 0.627907 | 0.569767 | 0.5 | 0.418605 | 0.418605 | 0.313953 | 0 | 0.40249 | 0.078394 | 523 | 11 | 274 | 47.545455 | 0.13278 | 0.315488 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 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 |
4a0ad4321adc708ec43c7990890f4582ca186cf4 | 9,587 | py | Python | model/model.py | frank-xwang/RIDE-LongTailRecognition | 5396100d33b75992e0a72dd01819513c10088611 | [
"MIT"
] | 175 | 2020-12-04T19:23:32.000Z | 2022-03-30T06:22:32.000Z | model/model.py | frank-xwang/RIDE-LongTailRecognition | 5396100d33b75992e0a72dd01819513c10088611 | [
"MIT"
] | 25 | 2020-12-10T13:37:38.000Z | 2021-12-09T17:34:18.000Z | model/model.py | frank-xwang/RIDE-LongTailRecognition | 5396100d33b75992e0a72dd01819513c10088611 | [
"MIT"
] | 23 | 2020-12-21T09:51:07.000Z | 2022-03-31T12:54:00.000Z | import torch.nn as nn
import torch.nn.functional as F
from base import BaseModel
from .fb_resnets import ResNet
from .fb_resnets import ResNeXt
from .fb_resnets import RIDEResNet
from .fb_resnets import RIDEResNeXt
from .fb_resnets import EAResNet
from .fb_resnets import EAResNeXt
from .ldam_drw_resnets import resnet_c... | 71.014815 | 298 | 0.765099 | 1,354 | 9,587 | 5.001477 | 0.072378 | 0.1329 | 0.11075 | 0.099232 | 0.901802 | 0.888807 | 0.88733 | 0.868724 | 0.845393 | 0.845393 | 0 | 0.029561 | 0.135496 | 9,587 | 134 | 299 | 71.544776 | 0.787524 | 0.011891 | 0 | 0.490909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054545 | 1 | 0.163636 | false | 0 | 0.109091 | 0 | 0.445455 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.