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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8081a8adbc8a8264677bb5fb2bf732ec9778aac6 | 154 | py | Python | orb_simulator/orbsim_language/logger.py | dmguezjaviersnet/IA-Sim-Comp-Project | 8165b9546efc45f98091a3774e2dae4f45942048 | [
"MIT"
] | 1 | 2022-01-19T22:49:09.000Z | 2022-01-19T22:49:09.000Z | orb_simulator/orbsim_language/logger.py | dmguezjaviersnet/IA-Sim-Comp-Project | 8165b9546efc45f98091a3774e2dae4f45942048 | [
"MIT"
] | 15 | 2021-11-10T14:25:02.000Z | 2022-02-12T19:17:11.000Z | orb_simulator/orbsim_language/logger.py | dmguezjaviersnet/IA-Sim-Comp-Project | 8165b9546efc45f98091a3774e2dae4f45942048 | [
"MIT"
] | null | null | null | class Logger:
def __init__(self):
self.errors_list = []
def add_error(self, error_name: str):
self.errors_list.append(error_name) | 25.666667 | 43 | 0.655844 | 21 | 154 | 4.380952 | 0.571429 | 0.217391 | 0.304348 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.233766 | 154 | 6 | 43 | 25.666667 | 0.779661 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0 | 0.6 | 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 |
809f699450695e54e4b0d32368ba3baae6a7043c | 33 | py | Python | geolearn/test/__init__.py | Guoyinzh/geolearn | 564a103246c1fd326f8b2b7d8d8c88ab391e2450 | [
"Apache-2.0"
] | 1 | 2020-07-06T17:32:44.000Z | 2020-07-06T17:32:44.000Z | geolearn/test/__init__.py | Guoyinzh/geolearn | 564a103246c1fd326f8b2b7d8d8c88ab391e2450 | [
"Apache-2.0"
] | null | null | null | geolearn/test/__init__.py | Guoyinzh/geolearn | 564a103246c1fd326f8b2b7d8d8c88ab391e2450 | [
"Apache-2.0"
] | null | null | null | from .hello import helloworld
| 8.25 | 30 | 0.757576 | 4 | 33 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212121 | 33 | 3 | 31 | 11 | 0.961538 | 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 |
80c7c4f93371cbf7f927339e0eeb38e82e49ba6e | 17,962 | py | Python | Packs/PhishLabs/Integrations/PhishLabsIOC_DRP/PhishLabsIOC_DRP_test.py | diCagri/content | c532c50b213e6dddb8ae6a378d6d09198e08fc9f | [
"MIT"
] | 799 | 2016-08-02T06:43:14.000Z | 2022-03-31T11:10:11.000Z | Packs/PhishLabs/Integrations/PhishLabsIOC_DRP/PhishLabsIOC_DRP_test.py | diCagri/content | c532c50b213e6dddb8ae6a378d6d09198e08fc9f | [
"MIT"
] | 9,317 | 2016-08-07T19:00:51.000Z | 2022-03-31T21:56:04.000Z | Packs/PhishLabs/Integrations/PhishLabsIOC_DRP/PhishLabsIOC_DRP_test.py | diCagri/content | c532c50b213e6dddb8ae6a378d6d09198e08fc9f | [
"MIT"
] | 1,297 | 2016-08-04T13:59:00.000Z | 2022-03-31T23:43:06.000Z | import json
import pytest
from freezegun import freeze_time
"""Helper functions and fixrtures"""
def load_params_from_json(json_path, type=''):
with open(json_path) as f:
file = json.load(f)
if type == "incidents":
for incident in file:
incident['rawJSON'] = json.dumps(incident.ge... | 70.164063 | 125 | 0.655829 | 2,317 | 17,962 | 4.795425 | 0.060855 | 0.060481 | 0.060481 | 0.077761 | 0.932589 | 0.919449 | 0.912339 | 0.879309 | 0.863559 | 0.843938 | 0 | 0.034368 | 0.249972 | 17,962 | 255 | 126 | 70.439216 | 0.79038 | 0.066696 | 0 | 0.49763 | 0 | 0.137441 | 0.355979 | 0.119758 | 0 | 0 | 0 | 0 | 0.090047 | 1 | 0.085308 | false | 0 | 0.037915 | 0 | 0.146919 | 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 |
80e5d541b46c1220261ce02fe4980b3cc09a0360 | 6,490 | py | Python | tests/test_backend.py | 6851-2017/timetree | 80bd70014ccfb89f694f96e0f7401bddbdee19fa | [
"MIT"
] | 7 | 2019-05-29T21:20:00.000Z | 2020-07-30T06:59:20.000Z | tests/test_backend.py | 6851-2021/timetree | 80bd70014ccfb89f694f96e0f7401bddbdee19fa | [
"MIT"
] | null | null | null | tests/test_backend.py | 6851-2021/timetree | 80bd70014ccfb89f694f96e0f7401bddbdee19fa | [
"MIT"
] | 2 | 2020-05-03T22:31:46.000Z | 2021-02-26T00:58:42.000Z | import pytest
@pytest.mark.persistence_none
def test_any_backend(backend):
head = backend.branch()
vnode = head.new_node()
vnode.set('f', 5)
assert vnode.get('f') == 5
vnode2 = head.new_node()
vnode.set('ptr', vnode2)
vnode2.set('ptr', vnode)
assert vnode.get('ptr') == vnode2
asser... | 30.327103 | 80 | 0.584129 | 982 | 6,490 | 3.660896 | 0.0611 | 0.053408 | 0.077886 | 0.057858 | 0.822531 | 0.776912 | 0.776912 | 0.769124 | 0.68178 | 0.68178 | 0 | 0.017487 | 0.242219 | 6,490 | 213 | 81 | 30.469484 | 0.713501 | 0.01094 | 0 | 0.8 | 0 | 0 | 0.031659 | 0 | 0 | 0 | 0 | 0 | 0.238889 | 1 | 0.044444 | false | 0 | 0.005556 | 0 | 0.05 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
039083944030bd2fcca91c536efd17a64f473312 | 191 | py | Python | stylegan/__init__.py | bitzl/aoc2019 | 475f126ed0b148fe1ff0e8f1fef8644f624bc1c7 | [
"MIT"
] | null | null | null | stylegan/__init__.py | bitzl/aoc2019 | 475f126ed0b148fe1ff0e8f1fef8644f624bc1c7 | [
"MIT"
] | null | null | null | stylegan/__init__.py | bitzl/aoc2019 | 475f126ed0b148fe1ff0e8f1fef8644f624bc1c7 | [
"MIT"
] | null | null | null | from pathlib import Path
from stylegan.config import Config
def init(target: Path, config: Config = None):
pass
def train(target: Path):
pass
def resume(target: Path):
pass
| 12.733333 | 46 | 0.696335 | 27 | 191 | 4.925926 | 0.481481 | 0.225564 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.219895 | 191 | 14 | 47 | 13.642857 | 0.892617 | 0 | 0 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0.375 | 0.25 | 0 | 0.625 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
03d639169df2586044aa0af1457c5d80dce1675e | 7,594 | py | Python | flask_secure_headers/tests/headers_test.py | marwahaha/flask-secure-headers | 3eca972b369608a7669b67cbe66679570a6505ce | [
"MIT"
] | 21 | 2015-05-08T22:40:13.000Z | 2021-06-18T19:37:25.000Z | flask_secure_headers/tests/headers_test.py | marwahaha/flask-secure-headers | 3eca972b369608a7669b67cbe66679570a6505ce | [
"MIT"
] | 7 | 2015-05-20T23:29:01.000Z | 2020-10-14T09:41:42.000Z | flask_secure_headers/tests/headers_test.py | marwahaha/flask-secure-headers | 3eca972b369608a7669b67cbe66679570a6505ce | [
"MIT"
] | 13 | 2015-05-15T19:34:24.000Z | 2019-11-12T23:01:35.000Z | import unittest
from flask import Flask
from flask_secure_headers.headers import *
class TestPolicyCreation(unittest.TestCase):
""" Test policy creation """
def test_X_Frame_Options_pass(self):
""" test valid X_Frame_Options"""
h = X_Frame_Options({'value':'allow-from example.com'})
r = h.create_header()
se... | 40.609626 | 107 | 0.716092 | 1,103 | 7,594 | 4.668178 | 0.087035 | 0.013206 | 0.052826 | 0.092445 | 0.844242 | 0.812391 | 0.763838 | 0.704214 | 0.587493 | 0.514663 | 0 | 0.014519 | 0.120226 | 7,594 | 186 | 108 | 40.827957 | 0.756174 | 0.178299 | 0 | 0.404255 | 0 | 0 | 0.200166 | 0.026015 | 0 | 0 | 0 | 0 | 0.241135 | 1 | 0.234043 | false | 0.113475 | 0.021277 | 0 | 0.262411 | 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 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
03ebc1eba36c68ac2fb2dd2b261391061be39cfe | 82 | py | Python | ginger/scripts/templates/app_templates/app_name/forms.py | vivsh/django-ginger | d293109becc72845a23f2aeb732ed808a7a67d69 | [
"MIT"
] | null | null | null | ginger/scripts/templates/app_templates/app_name/forms.py | vivsh/django-ginger | d293109becc72845a23f2aeb732ed808a7a67d69 | [
"MIT"
] | null | null | null | ginger/scripts/templates/app_templates/app_name/forms.py | vivsh/django-ginger | d293109becc72845a23f2aeb732ed808a7a67d69 | [
"MIT"
] | null | null | null |
from django import forms
from ginger import forms as gforms
from . import models
| 16.4 | 34 | 0.804878 | 13 | 82 | 5.076923 | 0.615385 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.182927 | 82 | 4 | 35 | 20.5 | 0.985075 | 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 |
03feb0689642ad928f5ce3c75c1a78ed34a0a3d8 | 60,360 | py | Python | tests/test_resource.py | AyanSinhaMahapatra/commoncode | 0b9e76284fd66bd58a724acc3a1fef22d79f7d2c | [
"Apache-2.0"
] | 2 | 2020-09-28T10:12:28.000Z | 2021-01-15T11:16:44.000Z | tests/test_resource.py | AyanSinhaMahapatra/commoncode | 0b9e76284fd66bd58a724acc3a1fef22d79f7d2c | [
"Apache-2.0"
] | 28 | 2020-11-13T01:39:37.000Z | 2022-03-28T20:14:50.000Z | tests/test_resource.py | AyanSinhaMahapatra/commoncode | 0b9e76284fd66bd58a724acc3a1fef22d79f7d2c | [
"Apache-2.0"
] | 6 | 2020-11-18T00:16:18.000Z | 2021-09-01T09:01:11.000Z | #
# Copyright (c) nexB Inc. and others. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
# See http://www.apache.org/licenses/LICENSE-2.0 for the license text.
# See https://github.com/nexB/commoncode for support or download.
# See https://aboutcode.org for more information about nexB OSS projects.
#
import ... | 43.455724 | 129 | 0.626276 | 7,230 | 60,360 | 4.953804 | 0.05408 | 0.092975 | 0.031634 | 0.040261 | 0.848699 | 0.810476 | 0.787553 | 0.752569 | 0.725988 | 0.711135 | 0 | 0.013482 | 0.262707 | 60,360 | 1,388 | 130 | 43.487032 | 0.791317 | 0.013171 | 0 | 0.652789 | 0 | 0.001665 | 0.162426 | 0.087259 | 0 | 0 | 0 | 0 | 0.15154 | 1 | 0.089925 | false | 0 | 0.010824 | 0.000833 | 0.113239 | 0.004996 | 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 |
20a12d635722a5793a66d9562305e3db0f1d8198 | 128 | py | Python | multimedia/admin.py | feav/bootcamp | 4b9b3398dacf60e82e88f63499b4e5824fa1ce2e | [
"MIT"
] | null | null | null | multimedia/admin.py | feav/bootcamp | 4b9b3398dacf60e82e88f63499b4e5824fa1ce2e | [
"MIT"
] | null | null | null | multimedia/admin.py | feav/bootcamp | 4b9b3398dacf60e82e88f63499b4e5824fa1ce2e | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import *
admin.site.register(CategorieMedia)
admin.site.register(Multimedia)
| 12.8 | 35 | 0.796875 | 16 | 128 | 6.375 | 0.625 | 0.215686 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117188 | 128 | 9 | 36 | 14.222222 | 0.902655 | 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 |
20a61f21f746552723b12a601d4e3b46e01df14c | 36,445 | py | Python | asn1PERser/test/per/encoder/test_per_encode_integer.py | erupikus/asn1PERser | 11dc2985107a9fbba00bea83c1021d2665e8f193 | [
"MIT"
] | 3 | 2021-06-14T03:29:37.000Z | 2021-11-15T09:45:11.000Z | asn1PERser/test/per/encoder/test_per_encode_integer.py | erupikus/asn1PERser | 11dc2985107a9fbba00bea83c1021d2665e8f193 | [
"MIT"
] | null | null | null | asn1PERser/test/per/encoder/test_per_encode_integer.py | erupikus/asn1PERser | 11dc2985107a9fbba00bea83c1021d2665e8f193 | [
"MIT"
] | null | null | null | import pytest
from asn1PERser.codec.per.encoder import encode as per_encoder
from asn1PERser.classes.data.builtin.IntegerType import IntegerType
from asn1PERser.classes.types.constraint import ValueRange, MIN, MAX
def SCHEMA_not_contrained_integer(value):
class MyInt(IntegerType):
pass
return MyInt(va... | 79.228261 | 133 | 0.790424 | 4,143 | 36,445 | 6.584842 | 0.091721 | 0.215095 | 0.275356 | 0.213482 | 0.880613 | 0.817785 | 0.7146 | 0.674755 | 0.671823 | 0.358858 | 0 | 0.123188 | 0.08388 | 36,445 | 459 | 134 | 79.400871 | 0.693902 | 0 | 0 | 0.144893 | 0 | 0 | 0.04039 | 0 | 0 | 0 | 0 | 0 | 0.04038 | 1 | 0.045131 | false | 0.002375 | 0.009501 | 0 | 0.066508 | 0 | 0 | 0 | 0 | null | 1 | 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 | 0 | 0 | 0 | 6 |
20bd18e6bf7d49df0e50f43bb1a3e52ff8c3ac2a | 35 | py | Python | conf/script/src/error/utils/__init__.py | benoit-dubreuil/template-repo-cpp-full-ecosystem | f506dd5e2a61cdd311b6a6a4be4abc59567b4b20 | [
"MIT"
] | null | null | null | conf/script/src/error/utils/__init__.py | benoit-dubreuil/template-repo-cpp-full-ecosystem | f506dd5e2a61cdd311b6a6a4be4abc59567b4b20 | [
"MIT"
] | 113 | 2021-02-15T19:22:36.000Z | 2021-05-07T15:17:42.000Z | conf/script/src/error/utils/__init__.py | benoit-dubreuil/template-repo-cpp-full-ecosystem | f506dd5e2a61cdd311b6a6a4be4abc59567b4b20 | [
"MIT"
] | null | null | null | from .try_external_errors import *
| 17.5 | 34 | 0.828571 | 5 | 35 | 5.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.870968 | 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 |
20c85228f52d8e6181d21a79fa7d0dcc6db7acc3 | 9,470 | py | Python | tests/settings.py | Yuessiah/Othello-Minimax | e7fb043189ef108b639697ae74fd92c0695caac1 | [
"MIT"
] | null | null | null | tests/settings.py | Yuessiah/Othello-Minimax | e7fb043189ef108b639697ae74fd92c0695caac1 | [
"MIT"
] | null | null | null | tests/settings.py | Yuessiah/Othello-Minimax | e7fb043189ef108b639697ae74fd92c0695caac1 | [
"MIT"
] | 1 | 2021-05-05T01:20:40.000Z | 2021-05-05T01:20:40.000Z | from unittest import TestCase
from game.board import Board
from game.settings import *
__author__ = 'bengt'
class TestSettings(TestCase):
def test_outside_top_left(self):
self.assertEqual(outside_board(0, NORTH), True)
self.assertEqual(outside_board(0, NORTHEAST), True)
self.assertEqual(o... | 50.37234 | 61 | 0.697571 | 1,131 | 9,470 | 5.683466 | 0.044209 | 0.354698 | 0.520224 | 0.638457 | 0.977131 | 0.945551 | 0 | 0 | 0 | 0 | 0 | 0.034259 | 0.186272 | 9,470 | 187 | 62 | 50.641711 | 0.799896 | 0 | 0 | 0 | 0 | 0 | 0.000528 | 0 | 0 | 0 | 0 | 0 | 0.915663 | 1 | 0.054217 | false | 0 | 0.018072 | 0 | 0.078313 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
454633e8dce3e1e8b4f2ee4341802f9c2c5969bf | 1,833 | py | Python | simple/naming.py | mahesh152/google-deployment-manager-couchbase | 4462b56f93fe7a07ee14d86b133a16c5b7c09e58 | [
"Apache-2.0"
] | 11 | 2018-03-16T20:05:29.000Z | 2020-11-20T14:21:14.000Z | simple/naming.py | mahesh152/google-deployment-manager-couchbase | 4462b56f93fe7a07ee14d86b133a16c5b7c09e58 | [
"Apache-2.0"
] | 36 | 2017-04-26T23:32:50.000Z | 2019-03-05T11:36:01.000Z | simple/naming.py | mahesh152/google-deployment-manager-couchbase | 4462b56f93fe7a07ee14d86b133a16c5b7c09e58 | [
"Apache-2.0"
] | 9 | 2017-07-20T10:39:40.000Z | 2021-06-23T22:05:23.000Z | import re
def _SanitizeDeploymentName(deploymentName):
sanitizedName = '-'.join(deploymentName.split("-")[-2:])[-20:]
if re.match('[0-9-].*', sanitizedName):
sanitizedName = 'cb-' + sanitizedName[-17:]
return sanitizedName
def BaseDeploymentName(context):
return _SanitizeDeploymentName(context... | 36.66 | 77 | 0.713039 | 168 | 1,833 | 7.767857 | 0.261905 | 0.22069 | 0.289655 | 0.177011 | 0.450575 | 0.200766 | 0.200766 | 0.062835 | 0.062835 | 0 | 0 | 0.004484 | 0.148391 | 1,833 | 49 | 78 | 37.408163 | 0.831518 | 0 | 0 | 0.166667 | 0 | 0 | 0.092744 | 0.012002 | 0 | 0 | 0 | 0 | 0 | 1 | 0.361111 | false | 0 | 0.027778 | 0.333333 | 0.75 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
4575a3fe0c1775df954c15080dc950cceafddb30 | 15 | py | Python | python/testData/inspections/PyStringFormatInspection/OneElementDict.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/inspections/PyStringFormatInspection/OneElementDict.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/inspections/PyStringFormatInspection/OneElementDict.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | "%s" % {"a": 1} | 15 | 15 | 0.2 | 3 | 15 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 0.2 | 15 | 1 | 15 | 15 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
45b15d0c14cc5e30bc6b436204e67a4a1beabe53 | 164 | py | Python | src/svg/path/__init__.py | Harry-Chen/svg.path | 0b2b999cb9a655434bab3f181fd112c7fbe13578 | [
"MIT"
] | 158 | 2015-02-03T23:02:59.000Z | 2022-03-31T03:43:21.000Z | src/svg/path/__init__.py | Harry-Chen/svg.path | 0b2b999cb9a655434bab3f181fd112c7fbe13578 | [
"MIT"
] | 52 | 2015-01-13T22:52:54.000Z | 2022-03-29T08:04:05.000Z | src/svg/path/__init__.py | Harry-Chen/svg.path | 0b2b999cb9a655434bab3f181fd112c7fbe13578 | [
"MIT"
] | 42 | 2015-03-31T21:15:44.000Z | 2022-03-21T11:28:16.000Z | from .path import Path, Move, Line, Arc, Close # noqa: 401
from .path import CubicBezier, QuadraticBezier # noqa: 401
from .parser import parse_path # noqa: 401
| 41 | 59 | 0.737805 | 24 | 164 | 5 | 0.541667 | 0.175 | 0.233333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 0.176829 | 164 | 3 | 60 | 54.666667 | 0.822222 | 0.176829 | 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 |
45b938c9cf21fd6c83efc6aca6b65a37927314b8 | 89 | py | Python | code/message/remove_person_message.py | ITE-5th/skill-socket | 3255a07369568283be844ca1551975b1e73a23ce | [
"MIT"
] | 1 | 2019-07-08T09:45:02.000Z | 2019-07-08T09:45:02.000Z | code/message/remove_person_message.py | ITE-5th/skill-image-caption | 1a77d27b4fbadd89a6390e8707d4a7975b1edb8d | [
"MIT"
] | null | null | null | code/message/remove_person_message.py | ITE-5th/skill-image-caption | 1a77d27b4fbadd89a6390e8707d4a7975b1edb8d | [
"MIT"
] | null | null | null | from .name_message import NameMessage
class RemovePersonMessage(NameMessage):
pass
| 14.833333 | 39 | 0.808989 | 9 | 89 | 7.888889 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146067 | 89 | 5 | 40 | 17.8 | 0.934211 | 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 |
45be71eb4e54da91cc0e044ec38a3a21b8a3756e | 27 | py | Python | marccd/__init__.py | Hekstra-Lab/marccd | 2e47e436f8cc51334568b47ab4f364ca53b366d4 | [
"MIT"
] | null | null | null | marccd/__init__.py | Hekstra-Lab/marccd | 2e47e436f8cc51334568b47ab4f364ca53b366d4 | [
"MIT"
] | null | null | null | marccd/__init__.py | Hekstra-Lab/marccd | 2e47e436f8cc51334568b47ab4f364ca53b366d4 | [
"MIT"
] | null | null | null | from .marccd import MarCCD
| 13.5 | 26 | 0.814815 | 4 | 27 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
45c5b7eeda25e733bb51db3c33067ca642080557 | 43 | py | Python | src/output/__init__.py | iagerogiannis/wind-turbine-aeroacoustics-analysis | e8cd4f44bab17601e10bf843a48010472300d2b1 | [
"MIT"
] | null | null | null | src/output/__init__.py | iagerogiannis/wind-turbine-aeroacoustics-analysis | e8cd4f44bab17601e10bf843a48010472300d2b1 | [
"MIT"
] | null | null | null | src/output/__init__.py | iagerogiannis/wind-turbine-aeroacoustics-analysis | e8cd4f44bab17601e10bf843a48010472300d2b1 | [
"MIT"
] | null | null | null | from .plot import *
from .console import *
| 14.333333 | 22 | 0.72093 | 6 | 43 | 5.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186047 | 43 | 2 | 23 | 21.5 | 0.885714 | 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 |
aff716df6d0044f3e12b95ddcaca8c25eebc539b | 525 | py | Python | HIDEEP.py | MijinKwon/HIDEEP-Hormone-Drug-Interactions | 52763da1ca012d3b29970053cb35c848e97c9959 | [
"MIT"
] | null | null | null | HIDEEP.py | MijinKwon/HIDEEP-Hormone-Drug-Interactions | 52763da1ca012d3b29970053cb35c848e97c9959 | [
"MIT"
] | null | null | null | HIDEEP.py | MijinKwon/HIDEEP-Hormone-Drug-Interactions | 52763da1ca012d3b29970053cb35c848e97c9959 | [
"MIT"
] | null | null | null | '''
Created on 2017. 11. 7.
@author: mjkwon
'''
import os
if __name__ == '__main__':
print ("Start of S1_Generate_Dataset.py")
os.system("python S1_Generate_Dataset.py")
print ("End of S1_Generate_Dataset.py")
print ("Start of S2_Analyze_DEP_And_HEP.py")
os.system("python S2_Analyze_DEP_And_HEP.... | 26.25 | 52 | 0.72 | 84 | 525 | 4.083333 | 0.369048 | 0.102041 | 0.104956 | 0.166181 | 0.644315 | 0.367347 | 0.215743 | 0 | 0 | 0 | 0 | 0.036199 | 0.158095 | 525 | 20 | 53 | 26.25 | 0.739819 | 0.07619 | 0 | 0 | 1 | 0 | 0.631799 | 0.470711 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.090909 | 0 | 0.090909 | 0.545455 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
b33f1ae2fce02d3ad8be65ea0c2799684afcc73e | 3,014 | py | Python | engine/blender/scripts/Knees.py | divinedragon/dumb-charades-ai | f187580d7f68c4d5a8b2378f211d286fc5bb1fe6 | [
"Apache-2.0"
] | null | null | null | engine/blender/scripts/Knees.py | divinedragon/dumb-charades-ai | f187580d7f68c4d5a8b2378f211d286fc5bb1fe6 | [
"Apache-2.0"
] | null | null | null | engine/blender/scripts/Knees.py | divinedragon/dumb-charades-ai | f187580d7f68c4d5a8b2378f211d286fc5bb1fe6 | [
"Apache-2.0"
] | null | null | null | ##################################################################################################
# SCRIPT TO ANIMATE Knees - LEFT AND RIGHT
# Created, Invented and Made Alive By : Deepak Shakya
# Date : 08-April-2008
##################################################################################################
#... | 40.186667 | 100 | 0.631055 | 440 | 3,014 | 4.275 | 0.256818 | 0.038278 | 0.035088 | 0.029771 | 0.790005 | 0.781499 | 0.761297 | 0.761297 | 0.761297 | 0.699628 | 0 | 0.03864 | 0.14134 | 3,014 | 75 | 101 | 40.186667 | 0.688176 | 0.420372 | 0 | 0.705882 | 0 | 0 | 0.058603 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.058824 | false | 0 | 0.058824 | 0 | 0.176471 | 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 |
b3417488c1774c41e93d26ad3211c2f02c6872a3 | 26 | py | Python | src/__init__.py | mstyushin/bitmap | 519dc8fae97aabcc35b591184b0f17c1f9463dcc | [
"MIT"
] | null | null | null | src/__init__.py | mstyushin/bitmap | 519dc8fae97aabcc35b591184b0f17c1f9463dcc | [
"MIT"
] | null | null | null | src/__init__.py | mstyushin/bitmap | 519dc8fae97aabcc35b591184b0f17c1f9463dcc | [
"MIT"
] | null | null | null | from bitmap import BitMap
| 13 | 25 | 0.846154 | 4 | 26 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 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 |
b3418c1fc6c16e3d230acd6c237b3569ba3d8ab0 | 46 | py | Python | pyxb/bundles/opengis/csw_dc.py | eLBati/pyxb | 14737c23a125fd12c954823ad64fc4497816fae3 | [
"Apache-2.0"
] | 123 | 2015-01-12T06:43:22.000Z | 2022-03-20T18:06:46.000Z | pyxb/bundles/opengis/csw_dc.py | eLBati/pyxb | 14737c23a125fd12c954823ad64fc4497816fae3 | [
"Apache-2.0"
] | 103 | 2015-01-08T18:35:57.000Z | 2022-01-18T01:44:14.000Z | pyxb/bundles/opengis/csw_dc.py | eLBati/pyxb | 14737c23a125fd12c954823ad64fc4497816fae3 | [
"Apache-2.0"
] | 54 | 2015-02-15T17:12:00.000Z | 2022-03-07T23:02:32.000Z | from pyxb.bundles.opengis.raw.csw_dc import *
| 23 | 45 | 0.804348 | 8 | 46 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 46 | 1 | 46 | 46 | 0.857143 | 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 |
b369c78b10f5b7609cbcee2fc753ffd88393493c | 1,803 | py | Python | test/lmp/util/dset/test_tensor_dset.py | ProFatXuanAll/char-RNN | 531f101b3d1ba20bafd28ca060aafe6f583d1efb | [
"Beerware"
] | null | null | null | test/lmp/util/dset/test_tensor_dset.py | ProFatXuanAll/char-RNN | 531f101b3d1ba20bafd28ca060aafe6f583d1efb | [
"Beerware"
] | null | null | null | test/lmp/util/dset/test_tensor_dset.py | ProFatXuanAll/char-RNN | 531f101b3d1ba20bafd28ca060aafe6f583d1efb | [
"Beerware"
] | null | null | null | """Test creation of tensor datasets.
Test target:
- :py:meth:`lmp.util.dset.FastTensorDset`.
- :py:meth:`lmp.util.dset.SlowTensorDset`.
"""
import torch
import lmp.util.dset
from lmp.dset import WikiText2Dset
from lmp.tknzr import WsTknzr
def test_fast_tensor_dset(max_seq_len: int) -> None:
"""Load dataset in me... | 38.361702 | 112 | 0.724903 | 274 | 1,803 | 4.572993 | 0.262774 | 0.038308 | 0.057462 | 0.0415 | 0.822027 | 0.7502 | 0.7502 | 0.7502 | 0.7502 | 0.691141 | 0 | 0.005773 | 0.13533 | 1,803 | 46 | 113 | 39.195652 | 0.797947 | 0.125347 | 0 | 0.615385 | 0 | 0 | 0.197436 | 0 | 0 | 0 | 0 | 0 | 0.384615 | 1 | 0.076923 | false | 0 | 0.153846 | 0 | 0.230769 | 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 |
2fa1ba52a685acf1e4f874a19c45ee795ea9f96e | 21 | py | Python | paranuara/foods/serializers/__init__.py | SPLAYER-HD/Paranuara | 5a42f23d761e16e3b486ba04d9185551614f06a5 | [
"MIT"
] | null | null | null | paranuara/foods/serializers/__init__.py | SPLAYER-HD/Paranuara | 5a42f23d761e16e3b486ba04d9185551614f06a5 | [
"MIT"
] | 4 | 2021-06-08T20:53:43.000Z | 2022-03-12T00:13:51.000Z | paranuara/foods/serializers/__init__.py | SPLAYER-HD/RestServiceDjango | 5a42f23d761e16e3b486ba04d9185551614f06a5 | [
"MIT"
] | null | null | null | from .foods import *
| 10.5 | 20 | 0.714286 | 3 | 21 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 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 |
2fabd223b7e9919cfce5608040808409bbe7ec56 | 22 | py | Python | ml/__init__.py | p1gm1/Sky-eye_desktop | 3309fd05a2566b7bf40339da47de09d80de2959d | [
"MIT"
] | 2 | 2020-11-27T18:04:11.000Z | 2021-05-01T14:30:57.000Z | ml/__init__.py | p1gm1/Sky-eye_desktop | 3309fd05a2566b7bf40339da47de09d80de2959d | [
"MIT"
] | null | null | null | ml/__init__.py | p1gm1/Sky-eye_desktop | 3309fd05a2566b7bf40339da47de09d80de2959d | [
"MIT"
] | null | null | null | from .img_set import * | 22 | 22 | 0.772727 | 4 | 22 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 22 | 1 | 22 | 22 | 0.842105 | 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 |
2fd2f4e5dbc8dd03e6edaeb14c53575719e2df08 | 16,860 | py | Python | tests/test_RHVAE.py | clementchadebec/pyraug | d1b36c060fe56427ed158ecb38cdbc6cc3bc0f74 | [
"Apache-2.0"
] | 53 | 2021-09-05T09:04:38.000Z | 2022-03-22T05:34:23.000Z | tests/test_RHVAE.py | clementchadebec/pyraug | d1b36c060fe56427ed158ecb38cdbc6cc3bc0f74 | [
"Apache-2.0"
] | 2 | 2021-09-28T08:10:37.000Z | 2021-12-13T10:32:54.000Z | tests/test_RHVAE.py | clementchadebec/pyraug | d1b36c060fe56427ed158ecb38cdbc6cc3bc0f74 | [
"Apache-2.0"
] | 6 | 2021-09-05T01:03:48.000Z | 2021-10-13T01:03:08.000Z | import os
from copy import deepcopy
import dill
import pytest
import torch
from pyraug.config import BaseConfig
from pyraug.customexception import BadInheritanceError
from pyraug.models import RHVAE
from pyraug.models.nn.default_architectures import Decoder_MLP, Encoder_MLP, Metric_MLP
from pyraug.models.rhvae.rhvae_... | 30.488246 | 100 | 0.611447 | 2,030 | 16,860 | 4.735961 | 0.081773 | 0.04223 | 0.053048 | 0.07073 | 0.841273 | 0.82151 | 0.790514 | 0.765446 | 0.756397 | 0.741939 | 0 | 0.0044 | 0.285587 | 16,860 | 552 | 101 | 30.543478 | 0.793773 | 0.267853 | 0 | 0.550336 | 0 | 0 | 0.05469 | 0.014349 | 0 | 0 | 0 | 0 | 0.157718 | 1 | 0.067114 | false | 0 | 0.036913 | 0.020134 | 0.14094 | 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 |
ff3321a137d353b8b45ddd62563c04116645f984 | 2,760 | py | Python | Algo and DSA/LeetCode-Solutions-master/Python/stone-game-v.py | Sourav692/FAANG-Interview-Preparation | f523e5c94d582328b3edc449ea16ac6ab28cdc81 | [
"Unlicense"
] | 3,269 | 2018-10-12T01:29:40.000Z | 2022-03-31T17:58:41.000Z | Algo and DSA/LeetCode-Solutions-master/Python/stone-game-v.py | Sourav692/FAANG-Interview-Preparation | f523e5c94d582328b3edc449ea16ac6ab28cdc81 | [
"Unlicense"
] | 53 | 2018-12-16T22:54:20.000Z | 2022-02-25T08:31:20.000Z | Algo and DSA/LeetCode-Solutions-master/Python/stone-game-v.py | Sourav692/FAANG-Interview-Preparation | f523e5c94d582328b3edc449ea16ac6ab28cdc81 | [
"Unlicense"
] | 1,236 | 2018-10-12T02:51:40.000Z | 2022-03-30T13:30:37.000Z | # Time: O(n^2)
# Space: O(n^2)
class Solution(object):
def stoneGameV(self, stoneValue):
"""
:type stoneValue: List[int]
:rtype: int
"""
n = len(stoneValue)
prefix = [0]
for v in stoneValue:
prefix.append(prefix[-1] + v)
mid = range(n)
... | 32.857143 | 81 | 0.408696 | 407 | 2,760 | 2.714988 | 0.100737 | 0.137557 | 0.072398 | 0.101357 | 0.824434 | 0.824434 | 0.780091 | 0.752941 | 0.749321 | 0.686878 | 0 | 0.034177 | 0.427536 | 2,760 | 83 | 82 | 33.253012 | 0.66519 | 0.065217 | 0 | 0.532258 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.032258 | false | 0 | 0 | 0 | 0.096774 | 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 |
ff351f21299c9d174fa71e5b345ccb46011d6484 | 71,132 | py | Python | tests/test_inflection_it.py | tatuylonen/wiktextract | f1192243fdd2b69c3e4424027531757cff82e40f | [
"MIT"
] | 336 | 2018-11-28T08:17:19.000Z | 2022-03-30T08:00:13.000Z | tests/test_inflection_it.py | tatuylonen/wiktextract | f1192243fdd2b69c3e4424027531757cff82e40f | [
"MIT"
] | 116 | 2019-02-22T16:47:36.000Z | 2022-03-22T17:29:15.000Z | tests/test_inflection_it.py | tatuylonen/wiktextract | f1192243fdd2b69c3e4424027531757cff82e40f | [
"MIT"
] | 55 | 2018-12-28T09:54:26.000Z | 2022-03-30T10:57:25.000Z | # -*- fundamental -*-
#
# Tests for parsing inflection tables
#
# Copyright (c) 2021 Tatu Ylonen. See file LICENSE and https://ylonen.org
import unittest
import json
from wikitextprocessor import Wtp
from wiktextract import WiktionaryConfig
from wiktextract.inflection import parse_inflection_section
class InflTests(... | 30.051542 | 1,387 | 0.408649 | 5,189 | 71,132 | 5.599345 | 0.058585 | 0.087661 | 0.097539 | 0.074307 | 0.870556 | 0.849492 | 0.791327 | 0.767888 | 0.7344 | 0.578902 | 0 | 0.019827 | 0.434896 | 71,132 | 2,367 | 1,388 | 30.051542 | 0.702988 | 0.002755 | 0 | 0.643232 | 0 | 0.040399 | 0.508904 | 0.252485 | 0 | 0 | 0 | 0 | 0.001049 | 1 | 0.002099 | false | 0.002099 | 0.002623 | 0 | 0.005771 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ff4832fa42e49ffd5c141fa614e172a491ecf173 | 39 | py | Python | objects/__init__.py | FellowsDevel/learning_python | c56fc3a222d44c3770cf39bea493af372b09f135 | [
"MIT"
] | null | null | null | objects/__init__.py | FellowsDevel/learning_python | c56fc3a222d44c3770cf39bea493af372b09f135 | [
"MIT"
] | null | null | null | objects/__init__.py | FellowsDevel/learning_python | c56fc3a222d44c3770cf39bea493af372b09f135 | [
"MIT"
] | null | null | null | from .pessoaFisica import PessoaFisica
| 19.5 | 38 | 0.871795 | 4 | 39 | 8.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 0.971429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ff5683a4b6f648fc1725cb31fcf996c96eb19fd4 | 10,217 | py | Python | gspan_mining/tests.py | NaazS03/gSpan | 45a500c3ff50385ef227956166a765e372574141 | [
"MIT"
] | null | null | null | gspan_mining/tests.py | NaazS03/gSpan | 45a500c3ff50385ef227956166a765e372574141 | [
"MIT"
] | null | null | null | gspan_mining/tests.py | NaazS03/gSpan | 45a500c3ff50385ef227956166a765e372574141 | [
"MIT"
] | null | null | null | import itertools
import unittest
from gspan import gSpan
class SimpleCloseGraphTests(unittest.TestCase):
@classmethod
def setUpClass(self) -> None:
self.f = open("unittestNaiveOutput.txt", "w")
@classmethod
def tearDownClass(self) -> None:
self.f.close()
def get_info(self,max_subg... | 35.475694 | 138 | 0.623079 | 1,521 | 10,217 | 3.941486 | 0.080868 | 0.086072 | 0.065054 | 0.010676 | 0.842869 | 0.821852 | 0.821184 | 0.817014 | 0.816514 | 0.816514 | 0 | 0.050221 | 0.290594 | 10,217 | 287 | 139 | 35.599303 | 0.776904 | 0.028971 | 0 | 0.635135 | 0 | 0.067568 | 0.134933 | 0.040238 | 0 | 0 | 0 | 0 | 0.054054 | 1 | 0.081081 | false | 0 | 0.013514 | 0 | 0.112613 | 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 |
44290f09824931be63b0fd254ad8788140341e5a | 13,387 | py | Python | raspberry-script/multilineMAX7219_demo.py | 6desislava6/PyDay | e43d05ac83297a16c12fef6b55c00df2571e3e81 | [
"MIT"
] | 2 | 2016-07-09T08:23:51.000Z | 2016-07-14T14:50:42.000Z | raspberry-script/multilineMAX7219_demo.py | 6desislava6/PyDay | e43d05ac83297a16c12fef6b55c00df2571e3e81 | [
"MIT"
] | null | null | null | raspberry-script/multilineMAX7219_demo.py | 6desislava6/PyDay | e43d05ac83297a16c12fef6b55c00df2571e3e81 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# ---------------------------------------------------------
# Filename: multilineMAX7219_demo.py
# ---------------------------------------------------------
# Demonstration of the features in the multilineMAX7219 library
#
# v1.0
# F.Stern 2014
# ---------------------------------------------------... | 58.714912 | 1,214 | 0.609547 | 3,683 | 13,387 | 2.165626 | 0.069509 | 0.319458 | 0.38666 | 0.440822 | 0.591775 | 0.525451 | 0.475802 | 0.462262 | 0.439819 | 0.436184 | 0 | 0.227806 | 0.088743 | 13,387 | 227 | 1,215 | 58.973568 | 0.426019 | 0.152835 | 0 | 0.393548 | 0 | 0 | 0.0395 | 0 | 0 | 0 | 0.000443 | 0 | 0 | 1 | 0 | false | 0 | 0.051613 | 0 | 0.051613 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
443593550022887bc010c621ef3982c54b2e04c2 | 2,036 | py | Python | test/test_dependency_metadata.py | lichenbo/colcon-ros | 10af168e4707c2decb93aab2bd3ea12be9ddf7ab | [
"Apache-2.0"
] | 14 | 2018-02-17T04:03:37.000Z | 2022-03-16T21:08:54.000Z | test/test_dependency_metadata.py | lichenbo/colcon-ros | 10af168e4707c2decb93aab2bd3ea12be9ddf7ab | [
"Apache-2.0"
] | 86 | 2018-04-18T22:14:27.000Z | 2022-03-15T22:56:05.000Z | test/test_dependency_metadata.py | lichenbo/colcon-ros | 10af168e4707c2decb93aab2bd3ea12be9ddf7ab | [
"Apache-2.0"
] | 24 | 2018-07-18T08:55:16.000Z | 2021-11-12T17:19:34.000Z | # Copyright 2016-2018 Dirk Thomas
# Licensed under the Apache License, Version 2.0
from unittest.mock import Mock
from colcon_ros.package_identification.ros import _create_metadata
def test_version_contraint_eq():
mock = Mock()
mock.version_gt = None
mock.version_lt = None
mock.version_lte = None
... | 23.136364 | 66 | 0.66945 | 288 | 2,036 | 4.493056 | 0.142361 | 0.255023 | 0.278207 | 0.088099 | 0.758887 | 0.716383 | 0.716383 | 0.702473 | 0.649923 | 0.649923 | 0 | 0.032561 | 0.215619 | 2,036 | 87 | 67 | 23.402299 | 0.777708 | 0.03831 | 0 | 0.688525 | 0 | 0 | 0.055243 | 0 | 0 | 0 | 0 | 0 | 0.180328 | 1 | 0.098361 | false | 0 | 0.032787 | 0 | 0.131148 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
446100daa6ebd308421496807c4f4249237b9e92 | 206 | py | Python | tests/mod_name/test_mod_name.py | bnestere/python_blank | 76122c49fd4e7000570d6421a9ec12daa5536ba6 | [
"Apache-2.0"
] | null | null | null | tests/mod_name/test_mod_name.py | bnestere/python_blank | 76122c49fd4e7000570d6421a9ec12daa5536ba6 | [
"Apache-2.0"
] | null | null | null | tests/mod_name/test_mod_name.py | bnestere/python_blank | 76122c49fd4e7000570d6421a9ec12daa5536ba6 | [
"Apache-2.0"
] | null | null | null | import mod_name
def test_version():
"""
Placeholder test to make sure modules are linked together and setup is correct
"""
assert mod_name.__version__ == '0.0.1a0', 'version is incorrect'
| 25.75 | 83 | 0.694175 | 29 | 206 | 4.689655 | 0.758621 | 0.102941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024691 | 0.213592 | 206 | 7 | 84 | 29.428571 | 0.814815 | 0.378641 | 0 | 0 | 0 | 0 | 0.243243 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
92305c6794a740e53289d7666cbadd8b1bc363ff | 785 | py | Python | Scoresheet.py | rtclay/Pravda | eeaa4c7aaa6341f7ebbacfd626c7c58d377582a3 | [
"MIT"
] | null | null | null | Scoresheet.py | rtclay/Pravda | eeaa4c7aaa6341f7ebbacfd626c7c58d377582a3 | [
"MIT"
] | null | null | null | Scoresheet.py | rtclay/Pravda | eeaa4c7aaa6341f7ebbacfd626c7c58d377582a3 | [
"MIT"
] | null | null | null | '''
Created on Oct 8, 2018
@author: cat_t
'''
class Scoresheet(object):
'''
used for evaluating and scoring worldstates by various metrics
'''
def __init__(self, worldstate):
'''
Constructor
'''
self.world = worldstate
def count_civil_deaths(self... | 18.690476 | 66 | 0.575796 | 89 | 785 | 4.831461 | 0.505618 | 0.204651 | 0.255814 | 0.334884 | 0.102326 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009709 | 0.343949 | 785 | 42 | 67 | 18.690476 | 0.825243 | 0.143949 | 0 | 0.44 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.48 | false | 0.44 | 0 | 0 | 0.52 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
928d88d3da5585ea9cc452778daca277fb40546d | 35 | py | Python | playlist_manager/spotify/__init__.py | jkleve/auto-playlist | 40982d428405b92cd68664d295c2b443bc0f9db0 | [
"MIT"
] | null | null | null | playlist_manager/spotify/__init__.py | jkleve/auto-playlist | 40982d428405b92cd68664d295c2b443bc0f9db0 | [
"MIT"
] | null | null | null | playlist_manager/spotify/__init__.py | jkleve/auto-playlist | 40982d428405b92cd68664d295c2b443bc0f9db0 | [
"MIT"
] | null | null | null | from .spotify import SpotifyHandler | 35 | 35 | 0.885714 | 4 | 35 | 7.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 35 | 1 | 35 | 35 | 0.96875 | 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 |
a60d98b1a136641cf4a5383f805858b4cc953bff | 88 | py | Python | window/__init__.py | TaplierShiru/PyOpenGL_train_data_NeuralTexture | d34eba865fed68d7ded3629e93f9537be089b91a | [
"MIT"
] | null | null | null | window/__init__.py | TaplierShiru/PyOpenGL_train_data_NeuralTexture | d34eba865fed68d7ded3629e93f9537be089b91a | [
"MIT"
] | null | null | null | window/__init__.py | TaplierShiru/PyOpenGL_train_data_NeuralTexture | d34eba865fed68d7ded3629e93f9537be089b91a | [
"MIT"
] | null | null | null | from __future__ import absolute_import
from .window import Window
del absolute_import
| 14.666667 | 38 | 0.852273 | 12 | 88 | 5.75 | 0.5 | 0.405797 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 88 | 5 | 39 | 17.6 | 0.907895 | 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 |
a629d9a1e34fcd5e01ae344c7973835b9bf300b0 | 176 | py | Python | parse_id/admin.py | wkpalan/interpro_rest | a603d91734d9319e69c9a79a9eb5e34e216d913f | [
"MIT"
] | null | null | null | parse_id/admin.py | wkpalan/interpro_rest | a603d91734d9319e69c9a79a9eb5e34e216d913f | [
"MIT"
] | null | null | null | parse_id/admin.py | wkpalan/interpro_rest | a603d91734d9319e69c9a79a9eb5e34e216d913f | [
"MIT"
] | null | null | null | from django.contrib import admin
# Register your models here.
from .models import id_desc
from .models import upload
admin.site.register(id_desc)
admin.site.register(upload)
| 19.555556 | 32 | 0.806818 | 27 | 176 | 5.185185 | 0.481481 | 0.142857 | 0.228571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119318 | 176 | 8 | 33 | 22 | 0.903226 | 0.147727 | 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 |
a62a3132265c9daffb6ba0c2102053bf177609fb | 11,898 | py | Python | BPt/dataset/tests/test_filtering.py | sahahn/ABCD_ML | a8b1c48c33f3fdc046c8922964f1c456273238da | [
"MIT"
] | 1 | 2019-09-25T23:23:49.000Z | 2019-09-25T23:23:49.000Z | BPt/dataset/tests/test_filtering.py | sahahn/ABCD_ML | a8b1c48c33f3fdc046c8922964f1c456273238da | [
"MIT"
] | 1 | 2020-04-20T20:53:27.000Z | 2020-04-20T20:53:27.000Z | BPt/dataset/tests/test_filtering.py | sahahn/ABCD_ML | a8b1c48c33f3fdc046c8922964f1c456273238da | [
"MIT"
] | 1 | 2019-06-21T14:44:40.000Z | 2019-06-21T14:44:40.000Z |
from ..dataset import Dataset
import pandas as pd
from .datasets import (get_fake_dataset, get_fake_dataset2, get_fake_dataset3,
get_fake_dataset4, get_fake_dataset6,
get_nans_dataset, get_fake_multi_index_dataset)
def test_filter_outliers():
df = get_fake_dataset()... | 28.600962 | 78 | 0.617919 | 1,808 | 11,898 | 3.827987 | 0.054204 | 0.046236 | 0.058518 | 0.045514 | 0.915908 | 0.873429 | 0.823291 | 0.789626 | 0.767375 | 0.730819 | 0 | 0.037242 | 0.239452 | 11,898 | 415 | 79 | 28.66988 | 0.727594 | 0.02782 | 0 | 0.682759 | 0 | 0 | 0.024323 | 0 | 0 | 0 | 0 | 0 | 0.389655 | 1 | 0.075862 | false | 0 | 0.010345 | 0 | 0.086207 | 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 |
a6594a4241c89a2dd3252c82d49a07de410c2d52 | 30 | py | Python | template/src/d_modeling/__init__.py | watilde/kaggle-workspace | da1e327e13a78b48191edfd591241cc1e013b3f2 | [
"MIT"
] | 1 | 2021-01-03T07:38:13.000Z | 2021-01-03T07:38:13.000Z | template/src/d_modeling/__init__.py | watilde/kaggle-workspace | da1e327e13a78b48191edfd591241cc1e013b3f2 | [
"MIT"
] | null | null | null | template/src/d_modeling/__init__.py | watilde/kaggle-workspace | da1e327e13a78b48191edfd591241cc1e013b3f2 | [
"MIT"
] | 1 | 2021-05-01T06:56:29.000Z | 2021-05-01T06:56:29.000Z | from d_modeling.main import *
| 15 | 29 | 0.8 | 5 | 30 | 4.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.884615 | 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 |
a65b64621bebc0e8722554525a273f0b2d39cd27 | 75 | py | Python | stdlib/datetime/unixtime.py | janbodnar/Python-Course | 51705ab5a2adef52bcdb99a800e94c0d67144a38 | [
"BSD-2-Clause"
] | 13 | 2017-08-22T12:26:07.000Z | 2021-07-29T16:13:50.000Z | stdlib/datetime/unixtime.py | janbodnar/Python-Course | 51705ab5a2adef52bcdb99a800e94c0d67144a38 | [
"BSD-2-Clause"
] | 1 | 2021-02-08T10:24:33.000Z | 2021-02-08T10:24:33.000Z | stdlib/datetime/unixtime.py | janbodnar/Python-Course | 51705ab5a2adef52bcdb99a800e94c0d67144a38 | [
"BSD-2-Clause"
] | 17 | 2018-08-13T11:10:33.000Z | 2021-07-29T16:14:02.000Z | #!/usr/bin/python
import time
print(int(time.time()))
print(time.time())
| 10.714286 | 23 | 0.68 | 12 | 75 | 4.25 | 0.583333 | 0.352941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093333 | 75 | 6 | 24 | 12.5 | 0.75 | 0.213333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
a66471983ecebd6954d9117bdc0ae4f1dc24fb97 | 103 | py | Python | demo/lib/python2.7/site-packages/compose/__init__.py | bappadityasamanta/Dockerdemo | b69f3510c3c89c17b050a950795215a07097e418 | [
"Apache-2.0"
] | null | null | null | demo/lib/python2.7/site-packages/compose/__init__.py | bappadityasamanta/Dockerdemo | b69f3510c3c89c17b050a950795215a07097e418 | [
"Apache-2.0"
] | null | null | null | demo/lib/python2.7/site-packages/compose/__init__.py | bappadityasamanta/Dockerdemo | b69f3510c3c89c17b050a950795215a07097e418 | [
"Apache-2.0"
] | null | null | null | from __future__ import absolute_import
from __future__ import unicode_literals
__version__ = '1.11.2'
| 20.6 | 39 | 0.834951 | 14 | 103 | 5.142857 | 0.714286 | 0.277778 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043956 | 0.116505 | 103 | 4 | 40 | 25.75 | 0.747253 | 0 | 0 | 0 | 0 | 0 | 0.058252 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a681c47a7aff7640ecdc75264e7c24e43a33cd6d | 17 | py | Python | cv2wrap/test.py | iolucas/cv2wrap | 0cd749e484d79640e8f2a7dfe55531abb4fc2af5 | [
"MIT"
] | null | null | null | cv2wrap/test.py | iolucas/cv2wrap | 0cd749e484d79640e8f2a7dfe55531abb4fc2af5 | [
"MIT"
] | null | null | null | cv2wrap/test.py | iolucas/cv2wrap | 0cd749e484d79640e8f2a7dfe55531abb4fc2af5 | [
"MIT"
] | null | null | null | from cv2 import * | 17 | 17 | 0.764706 | 3 | 17 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 0.176471 | 17 | 1 | 17 | 17 | 0.857143 | 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 |
a69fd52e793c96cc029b676a91c756b9257d13f7 | 28 | py | Python | include/__init__.py | yasutomo57jp/roskeigan_motor_usb | 2d44f54ef366e6d474885c2b4e98d458fb73a63d | [
"MIT"
] | 5 | 2019-02-04T13:16:56.000Z | 2021-06-23T00:47:35.000Z | include/__init__.py | yasutomo57jp/roskeigan_motor_usb | 2d44f54ef366e6d474885c2b4e98d458fb73a63d | [
"MIT"
] | 1 | 2021-06-22T09:29:47.000Z | 2021-06-22T13:23:23.000Z | include/__init__.py | yasutomo57jp/roskeigan_motor_usb | 2d44f54ef366e6d474885c2b4e98d458fb73a63d | [
"MIT"
] | 1 | 2021-06-11T09:09:53.000Z | 2021-06-11T09:09:53.000Z | from . import KMControllers
| 14 | 27 | 0.821429 | 3 | 28 | 7.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.958333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
470ed07e7c15a05b75226921c4f3b682050b0216 | 99 | py | Python | celery_service/tasks.py | sdj-git/celery_test | 7db459a991fabca23031cf5df252a6b8a177f392 | [
"MIT"
] | null | null | null | celery_service/tasks.py | sdj-git/celery_test | 7db459a991fabca23031cf5df252a6b8a177f392 | [
"MIT"
] | null | null | null | celery_service/tasks.py | sdj-git/celery_test | 7db459a991fabca23031cf5df252a6b8a177f392 | [
"MIT"
] | null | null | null | from celery_service.celery_app import celery_app
@celery_app.task
def add(x, y):
return x+y
| 12.375 | 48 | 0.747475 | 18 | 99 | 3.888889 | 0.611111 | 0.385714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171717 | 99 | 7 | 49 | 14.142857 | 0.853659 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
4714ca67fda3a7da77459ca64e2ec830f22f4c2d | 26 | py | Python | I was here.py | supperman2108/facebook | ed63ded56b9088b523fb2b57c99b7a11c06c64be | [
"MIT"
] | null | null | null | I was here.py | supperman2108/facebook | ed63ded56b9088b523fb2b57c99b7a11c06c64be | [
"MIT"
] | null | null | null | I was here.py | supperman2108/facebook | ed63ded56b9088b523fb2b57c99b7a11c06c64be | [
"MIT"
] | null | null | null | print("Oh! Hello There!")
| 13 | 25 | 0.653846 | 4 | 26 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 1 | 26 | 26 | 0.73913 | 0 | 0 | 0 | 0 | 0 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
47319316948eb34967e3daf332e5261b40c2b1ef | 22 | py | Python | pywick/models/segmentation/mnas_linknets/__init__.py | achaiah/pywick | 9d663faf0c1660a9b8359a6472c164f658dfc8cb | [
"MIT"
] | 408 | 2019-05-16T16:12:41.000Z | 2022-03-26T17:27:12.000Z | pywick/models/segmentation/mnas_linknets/__init__.py | ashishpatel26/pywick | 1afffd1c21c2b188836d3599e802146182757bb5 | [
"MIT"
] | 13 | 2019-05-17T05:47:06.000Z | 2021-06-21T19:02:30.000Z | pywick/models/segmentation/mnas_linknets/__init__.py | ashishpatel26/pywick | 1afffd1c21c2b188836d3599e802146182757bb5 | [
"MIT"
] | 42 | 2019-05-16T19:57:12.000Z | 2022-03-06T15:23:18.000Z | from .linknet import * | 22 | 22 | 0.772727 | 3 | 22 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 22 | 1 | 22 | 22 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5b25f8f173c4754b047bf6703f0f15f16ed4c81b | 49 | py | Python | main.py | labbsr0x/githunter-analyser | 45bb6c862ae8c1f2d288ee8d0be57d76c5882b75 | [
"MIT"
] | null | null | null | main.py | labbsr0x/githunter-analyser | 45bb6c862ae8c1f2d288ee8d0be57d76c5882b75 | [
"MIT"
] | null | null | null | main.py | labbsr0x/githunter-analyser | 45bb6c862ae8c1f2d288ee8d0be57d76c5882b75 | [
"MIT"
] | null | null | null | import pyload.load_data as data
print(data.data) | 16.333333 | 31 | 0.816327 | 9 | 49 | 4.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102041 | 49 | 3 | 32 | 16.333333 | 0.886364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
5b2deaca0afc3f32ac763609c73ce4d834d2a20f | 12,573 | py | Python | venv/lib/python3.6/site-packages/ansible_collections/frr/frr/tests/unit/modules/network/frr/test_frr_bgp.py | usegalaxy-no/usegalaxy | 75dad095769fe918eb39677f2c887e681a747f3a | [
"MIT"
] | 1 | 2020-01-22T13:11:23.000Z | 2020-01-22T13:11:23.000Z | venv/lib/python3.6/site-packages/ansible_collections/frr/frr/tests/unit/modules/network/frr/test_frr_bgp.py | usegalaxy-no/usegalaxy | 75dad095769fe918eb39677f2c887e681a747f3a | [
"MIT"
] | 12 | 2020-02-21T07:24:52.000Z | 2020-04-14T09:54:32.000Z | venv/lib/python3.6/site-packages/ansible_collections/frr/frr/tests/unit/modules/network/frr/test_frr_bgp.py | usegalaxy-no/usegalaxy | 75dad095769fe918eb39677f2c887e681a747f3a | [
"MIT"
] | null | null | null | #
# (c) 2019, Ansible by Red Hat, inc
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
#
from __future__ import absolute_import, division, print_function
__metaclass__ = type
from ansible_collections.frr.frr.plugins.module_utils.network.frr.providers.cli.config.bgp.process... | 32.657143 | 107 | 0.516106 | 1,364 | 12,573 | 4.57478 | 0.10044 | 0.075 | 0.039583 | 0.048718 | 0.85 | 0.816186 | 0.78734 | 0.753045 | 0.724199 | 0.664904 | 0 | 0.081006 | 0.367693 | 12,573 | 384 | 108 | 32.742188 | 0.703899 | 0.009862 | 0 | 0.603659 | 0 | 0 | 0.151077 | 0.005304 | 0 | 0 | 0 | 0 | 0.04878 | 1 | 0.051829 | false | 0 | 0.012195 | 0 | 0.070122 | 0.003049 | 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 |
5b80d96d4bfe705c9063ba4c8dd35931f1958d70 | 13,701 | py | Python | ocean/v1alpha/wallet_pb2_grpc.py | vulpemventures/gdk-ocean | 5691e61f1cee99ae23203d069ac6043f1a18f96a | [
"MIT"
] | null | null | null | ocean/v1alpha/wallet_pb2_grpc.py | vulpemventures/gdk-ocean | 5691e61f1cee99ae23203d069ac6043f1a18f96a | [
"MIT"
] | null | null | null | ocean/v1alpha/wallet_pb2_grpc.py | vulpemventures/gdk-ocean | 5691e61f1cee99ae23203d069ac6043f1a18f96a | [
"MIT"
] | 1 | 2022-02-07T08:45:27.000Z | 2022-02-07T08:45:27.000Z | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
"""Client and server classes corresponding to protobuf-defined services."""
import grpc
from ocean.v1alpha import wallet_pb2 as ocean_dot_v1alpha_dot_wallet__pb2
class WalletServiceStub(object):
"""WalletService is used to create, or restore a... | 46.602041 | 115 | 0.678491 | 1,348 | 13,701 | 6.586053 | 0.114243 | 0.044605 | 0.072652 | 0.087182 | 0.825073 | 0.825073 | 0.78351 | 0.727078 | 0.539311 | 0.445483 | 0 | 0.010094 | 0.255237 | 13,701 | 293 | 116 | 46.761092 | 0.859957 | 0.132399 | 0 | 0.504505 | 1 | 0 | 0.081496 | 0.048297 | 0 | 0 | 0 | 0 | 0 | 1 | 0.072072 | false | 0.058559 | 0.009009 | 0.031532 | 0.126126 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
5b8ba9f4bc4c1268e118bc320eb34a81cb63a0f6 | 2,195 | py | Python | master/views_export_instansi.py | HilmiZul/epkl3 | 63df215eb1676cf5ab2f36f2f20436b19b540b9a | [
"MIT"
] | 6 | 2019-02-15T07:15:33.000Z | 2021-01-05T12:18:21.000Z | master/views_export_instansi.py | HilmiZul/epkl3 | 63df215eb1676cf5ab2f36f2f20436b19b540b9a | [
"MIT"
] | 6 | 2019-09-14T14:47:48.000Z | 2022-03-12T00:56:51.000Z | master/views_export_instansi.py | HilmiZul/epkl3 | 63df215eb1676cf5ab2f36f2f20436b19b540b9a | [
"MIT"
] | null | null | null | import xlwt
from django.http import HttpResponse
from .models import Instansi
from .resources import InstansiResource
def export_instansi(request):
instansi = InstansiResource()
dataset = instansi.export()
response = HttpResponse(dataset.xls, content_type='application/vnd.ms-excel')
response['Content-Dispositi... | 30.486111 | 114 | 0.707973 | 304 | 2,195 | 4.967105 | 0.243421 | 0.047682 | 0.034437 | 0.05298 | 0.82053 | 0.788742 | 0.788742 | 0.754967 | 0.754967 | 0.754967 | 0 | 0.005365 | 0.150797 | 2,195 | 72 | 115 | 30.486111 | 0.804721 | 0.046014 | 0 | 0.645833 | 0 | 0 | 0.214354 | 0.060766 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0625 | false | 0 | 0.083333 | 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 |
5b9f24833460ee8607ea8f300bdfd84349b5db6e | 42 | py | Python | my_hello/__init__.py | Samuelgranato/HelloWorld | 9cfa220e431d07d54399df9fdcf9de702340bbd6 | [
"MIT"
] | null | null | null | my_hello/__init__.py | Samuelgranato/HelloWorld | 9cfa220e431d07d54399df9fdcf9de702340bbd6 | [
"MIT"
] | null | null | null | my_hello/__init__.py | Samuelgranato/HelloWorld | 9cfa220e431d07d54399df9fdcf9de702340bbd6 | [
"MIT"
] | null | null | null | # __init__.py
from .my_hello import world | 14 | 27 | 0.785714 | 7 | 42 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 42 | 3 | 27 | 14 | 0.777778 | 0.261905 | 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 |
5bfef8906a13d02ba79a0053f4faac5a2b3a5e2f | 89 | py | Python | Chapter11/client.py | PacktPublishing/Modernizing-Oracle-Tuxedo-Applications-with-Python | 32bf39da8c0b8351123701c307447aa18142cc1e | [
"MIT"
] | 2 | 2021-06-26T17:43:06.000Z | 2022-02-21T10:12:42.000Z | Chapter11/client.py | PacktPublishing/Modernizing-Oracle-Tuxedo-Applications-with-Python | 32bf39da8c0b8351123701c307447aa18142cc1e | [
"MIT"
] | null | null | null | Chapter11/client.py | PacktPublishing/Modernizing-Oracle-Tuxedo-Applications-with-Python | 32bf39da8c0b8351123701c307447aa18142cc1e | [
"MIT"
] | null | null | null | import tuxedo as t
print(t.tpcall("GETRATES", {}).data)
t.tpcall("GETRATES_ASYNC", {})
| 14.833333 | 36 | 0.674157 | 13 | 89 | 4.538462 | 0.692308 | 0.237288 | 0.508475 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11236 | 89 | 5 | 37 | 17.8 | 0.746835 | 0 | 0 | 0 | 0 | 0 | 0.247191 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 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 |
75192f54efbe65a43d8da09825511ee1a9fb311e | 30 | py | Python | tests/app_tests/__init__.py | mzaglia/flask-snippets | e54c9ad15cc287b68eef89502fde861bf164f167 | [
"Unlicense"
] | null | null | null | tests/app_tests/__init__.py | mzaglia/flask-snippets | e54c9ad15cc287b68eef89502fde861bf164f167 | [
"Unlicense"
] | null | null | null | tests/app_tests/__init__.py | mzaglia/flask-snippets | e54c9ad15cc287b68eef89502fde861bf164f167 | [
"Unlicense"
] | null | null | null | from .test_app import TestApp
| 15 | 29 | 0.833333 | 5 | 30 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
75294654b2ddae41b4b00f92084cd803c8b10045 | 238 | py | Python | src/real_time/__init__.py | fronovics/AI_playground | ac302c0694fa2182af343c257b28a033bc4cf5b9 | [
"Apache-2.0"
] | null | null | null | src/real_time/__init__.py | fronovics/AI_playground | ac302c0694fa2182af343c257b28a033bc4cf5b9 | [
"Apache-2.0"
] | null | null | null | src/real_time/__init__.py | fronovics/AI_playground | ac302c0694fa2182af343c257b28a033bc4cf5b9 | [
"Apache-2.0"
] | null | null | null | # Refactored architecture
from src.real_time.frontend_opencv import OpenCVFrontendController
from src.real_time.frontend_matplotlib import MatplotlibFrontendController
# Text loop
from src.real_time.text_input_backend import TextInputLoop | 47.6 | 74 | 0.894958 | 29 | 238 | 7.103448 | 0.586207 | 0.101942 | 0.160194 | 0.218447 | 0.223301 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 238 | 5 | 75 | 47.6 | 0.932127 | 0.138655 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f3287981c16c1b095146fbbceb91b890bb52906d | 5,675 | py | Python | tests/test_utils.py | charlestudor/PokerNowLogConverter | f888a26d805546b2e470c1066552da4dfe9caf58 | [
"MIT"
] | 1 | 2022-01-18T18:14:41.000Z | 2022-01-18T18:14:41.000Z | tests/test_utils.py | charlestudor/PokerNowLogConverter | f888a26d805546b2e470c1066552da4dfe9caf58 | [
"MIT"
] | 4 | 2022-01-19T10:48:49.000Z | 2022-01-26T21:55:08.000Z | tests/test_utils.py | charlestudor/PokerNowLogConverter | f888a26d805546b2e470c1066552da4dfe9caf58 | [
"MIT"
] | null | null | null | from card import Card
from utils import eval_final_hand, PokerHand
def test_hand_eval_high_card():
community_board = [Card('s3'), Card('s7'), Card('hJ'), Card('cA'), Card('h2')]
hole_cards = [Card('h9'), Card('h4')]
all_cards = community_board + hole_cards
best_hand = eval_final_hand(all_cards)
... | 31.703911 | 82 | 0.661498 | 855 | 5,675 | 4.088889 | 0.090058 | 0.10984 | 0.128146 | 0.06865 | 0.881579 | 0.812929 | 0.7746 | 0.711098 | 0.711098 | 0.664474 | 0 | 0.021943 | 0.172863 | 5,675 | 178 | 83 | 31.882022 | 0.722838 | 0 | 0 | 0.473684 | 0 | 0 | 0.101498 | 0 | 0 | 0 | 0 | 0 | 0.280702 | 1 | 0.140351 | false | 0 | 0.017544 | 0 | 0.157895 | 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 |
f3671fbcb41f340b6025d2da80065913cc82ebcf | 294 | py | Python | viperlib/tests/test_viperlib_vtime.py | vipervit/viperlib | 6d7ecb0785fb3be0575af8c96e08b8fbbb669f2e | [
"Apache-2.0"
] | null | null | null | viperlib/tests/test_viperlib_vtime.py | vipervit/viperlib | 6d7ecb0785fb3be0575af8c96e08b8fbbb669f2e | [
"Apache-2.0"
] | null | null | null | viperlib/tests/test_viperlib_vtime.py | vipervit/viperlib | 6d7ecb0785fb3be0575af8c96e08b8fbbb669f2e | [
"Apache-2.0"
] | null | null | null | from viperlib.src.vtime import *
def test_secs2time():
assert secs2time(0) == '00:00:00'
assert secs2time(1) == '00:00:01'
assert secs2time(100) == '00:01:40'
assert secs2time(1000) == '00:16:40'
assert secs2time(999) == '00:16:39'
assert secs2time(3600) == '01:00:00'
| 29.4 | 40 | 0.629252 | 44 | 294 | 4.181818 | 0.454545 | 0.48913 | 0.184783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.246862 | 0.187075 | 294 | 9 | 41 | 32.666667 | 0.523013 | 0 | 0 | 0 | 0 | 0 | 0.163265 | 0 | 0 | 0 | 0 | 0 | 0.75 | 1 | 0.125 | true | 0 | 0.125 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
45ff189209d030ac45c59d75944176f20bd77852 | 36,877 | py | Python | tests/test_dynamics_client.py | MrThearMan/dynamics-client | af225bbb54569b86c013461d5184623d94302473 | [
"MIT"
] | 1 | 2021-05-29T06:18:27.000Z | 2021-05-29T06:18:27.000Z | tests/test_dynamics_client.py | MrThearMan/dynamics-client | af225bbb54569b86c013461d5184623d94302473 | [
"MIT"
] | null | null | null | tests/test_dynamics_client.py | MrThearMan/dynamics-client | af225bbb54569b86c013461d5184623d94302473 | [
"MIT"
] | null | null | null | import os
from unittest import mock
import pytest
from dynamics.client import DynamicsClient
from dynamics.exceptions import (
APILimitsExceeded,
AuthenticationFailed,
DuplicateRecordError,
DynamicsException,
MethodNotAllowed,
NotFound,
OperationNotImplemented,
ParseError,
PayloadT... | 33.132974 | 114 | 0.583941 | 3,407 | 36,877 | 6.054006 | 0.068389 | 0.17987 | 0.099825 | 0.093183 | 0.873364 | 0.829972 | 0.784156 | 0.739697 | 0.653011 | 0.624891 | 0 | 0.012394 | 0.295469 | 36,877 | 1,112 | 115 | 33.16277 | 0.781494 | 0.001952 | 0 | 0.705763 | 0 | 0 | 0.148482 | 0.01799 | 0 | 0 | 0 | 0 | 0.086957 | 1 | 0.046512 | false | 0 | 0.007078 | 0 | 0.054601 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
342e069c136888836e1861ef747c48cc3a02448d | 13,427 | py | Python | src/tests/test_pagure_flask_ui_plugins_pagure_hook.py | yifengyou/learn-pagure | e54ba955368918c92ad2be6347b53bb2c24a228c | [
"Unlicense"
] | null | null | null | src/tests/test_pagure_flask_ui_plugins_pagure_hook.py | yifengyou/learn-pagure | e54ba955368918c92ad2be6347b53bb2c24a228c | [
"Unlicense"
] | null | null | null | src/tests/test_pagure_flask_ui_plugins_pagure_hook.py | yifengyou/learn-pagure | e54ba955368918c92ad2be6347b53bb2c24a228c | [
"Unlicense"
] | null | null | null | # -*- coding: utf-8 -*-
"""
(c) 2015-2018 - Copyright Red Hat Inc
Authors:
Pierre-Yves Chibon <pingou@pingoured.fr>
"""
from __future__ import unicode_literals, absolute_import
import unittest
import sys
import os
from mock import patch
sys.path.insert(
0, os.path.join(os.path.dirname(os.path.abspath(__... | 33.821159 | 89 | 0.476577 | 1,290 | 13,427 | 4.832558 | 0.114729 | 0.040423 | 0.036894 | 0.049406 | 0.882259 | 0.870067 | 0.859641 | 0.852262 | 0.852262 | 0.845364 | 0 | 0.006968 | 0.412155 | 13,427 | 396 | 90 | 33.906566 | 0.782846 | 0.067327 | 0 | 0.656051 | 0 | 0.015924 | 0.170608 | 0.027923 | 0 | 0 | 0 | 0 | 0.146497 | 1 | 0.028662 | false | 0 | 0.022293 | 0 | 0.05414 | 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 |
3434d6fc64a7c8c3bd8ac0e86866e0fc6b06b145 | 393 | py | Python | tests/fixtures/api.py | lycantropos/asynctmdb | 623dcfe0f4f599104d16d920d9a1f35dd82eac90 | [
"MIT"
] | null | null | null | tests/fixtures/api.py | lycantropos/asynctmdb | 623dcfe0f4f599104d16d920d9a1f35dd82eac90 | [
"MIT"
] | null | null | null | tests/fixtures/api.py | lycantropos/asynctmdb | 623dcfe0f4f599104d16d920d9a1f35dd82eac90 | [
"MIT"
] | 2 | 2020-11-04T02:56:38.000Z | 2020-11-05T08:12:04.000Z | import pytest
from tests import strategies
from tests.utils import example
@pytest.fixture(scope='session')
def api_key() -> str:
return example(strategies.api_keys)
@pytest.fixture(scope='session')
def invalid_api_key() -> str:
return example(strategies.invalid_api_keys)
@pytest.fixture(scope='session')... | 19.65 | 47 | 0.755725 | 54 | 393 | 5.314815 | 0.37037 | 0.135889 | 0.188153 | 0.261324 | 0.675958 | 0.574913 | 0.243902 | 0 | 0 | 0 | 0 | 0 | 0.127226 | 393 | 19 | 48 | 20.684211 | 0.836735 | 0 | 0 | 0.25 | 0 | 0 | 0.053435 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0.25 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
caa6a1d4e6fbddeb9c159aef203b7ef7eac8a188 | 186 | py | Python | Programs/order.py | aposum23/laborathory10 | fafeffa82e27594fec0ad24a05a3f9a07ebbc43f | [
"MIT"
] | null | null | null | Programs/order.py | aposum23/laborathory10 | fafeffa82e27594fec0ad24a05a3f9a07ebbc43f | [
"MIT"
] | null | null | null | Programs/order.py | aposum23/laborathory10 | fafeffa82e27594fec0ad24a05a3f9a07ebbc43f | [
"MIT"
] | null | null | null | a = {0, 1, 12, 'b', 'ab', 3, 2, 'a'}
print(a)
#{0, 1, 'b', 3, 12, 'ab', 'a'}
a = {0, 1, 12, 3, 2}
print(a)
#{0, 1, 2, 3, 12}
a = {0, 1, 12, 3, 2}
b = list(a)
print(b)
#[0, 1, 2, 3, 12] | 15.5 | 36 | 0.376344 | 47 | 186 | 1.489362 | 0.212766 | 0.171429 | 0.214286 | 0.214286 | 0.371429 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0.253623 | 0.258065 | 186 | 12 | 37 | 15.5 | 0.253623 | 0.327957 | 0 | 0.571429 | 0 | 0 | 0.03252 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.428571 | 0 | 0 | 1 | null | 0 | 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 | 1 | 0 | 6 |
cad3b62401d15c6901fca920f939e1e7e1475ce5 | 50 | py | Python | server_parse/__init__.py | MrFlynn/mc-playerstat-webhook | ffacae4eeeb5baafc21d2bf9076c1472fd3fb06b | [
"MIT"
] | null | null | null | server_parse/__init__.py | MrFlynn/mc-playerstat-webhook | ffacae4eeeb5baafc21d2bf9076c1472fd3fb06b | [
"MIT"
] | null | null | null | server_parse/__init__.py | MrFlynn/mc-playerstat-webhook | ffacae4eeeb5baafc21d2bf9076c1472fd3fb06b | [
"MIT"
] | null | null | null | from server_parse.server_parse import ServerParse
| 25 | 49 | 0.9 | 7 | 50 | 6.142857 | 0.714286 | 0.511628 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 50 | 1 | 50 | 50 | 0.934783 | 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 |
cad8c4e87f6317b35ab4e2013152f1acc49cdc88 | 100 | py | Python | pavlov/util/__init__.py | ntaylorwss/pavlov | c10dff9e32934fb0bba0531c041251f4c61366ac | [
"MIT"
] | 2 | 2018-07-04T03:34:48.000Z | 2018-07-04T06:57:11.000Z | pavlov/util/__init__.py | ntaylorwss/kerasgym | c10dff9e32934fb0bba0531c041251f4c61366ac | [
"MIT"
] | 53 | 2018-06-26T01:11:43.000Z | 2018-07-04T00:56:43.000Z | pavlov/util/__init__.py | ntaylorwss/pavlov | c10dff9e32934fb0bba0531c041251f4c61366ac | [
"MIT"
] | null | null | null | from . import exceptions
from . import interrupt
from .exceptions import *
from .interrupt import *
| 20 | 25 | 0.78 | 12 | 100 | 6.5 | 0.333333 | 0.25641 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 100 | 4 | 26 | 25 | 0.928571 | 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 |
1b0a8b6901937bdd43e4bfcc5e3e35932e06dd9e | 29 | py | Python | twitter/__init__.py | gretchi/twim | 20a4bf459182a01d535cfb948d8b30de087585f1 | [
"MIT"
] | null | null | null | twitter/__init__.py | gretchi/twim | 20a4bf459182a01d535cfb948d8b30de087585f1 | [
"MIT"
] | null | null | null | twitter/__init__.py | gretchi/twim | 20a4bf459182a01d535cfb948d8b30de087585f1 | [
"MIT"
] | null | null | null | from .twitter import Twitter
| 14.5 | 28 | 0.827586 | 4 | 29 | 6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 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 |
1b5fadedefb9798636b37918f72b2821e2e07d08 | 244 | py | Python | neuralnetwork/layers.py | MuhammedAshraf2020/CNN_from_scratch | b2aca625a75d3c8cd0983254a7ee0608ce536b2e | [
"MIT"
] | 2 | 2020-10-19T15:00:53.000Z | 2021-08-03T13:33:59.000Z | neuralnetwork/layers.py | MuhammedAshraf2020/CNN_from_scratch | b2aca625a75d3c8cd0983254a7ee0608ce536b2e | [
"MIT"
] | null | null | null | neuralnetwork/layers.py | MuhammedAshraf2020/CNN_from_scratch | b2aca625a75d3c8cd0983254a7ee0608ce536b2e | [
"MIT"
] | null | null | null | from neuralnetwork._layers.Conv import Conv2D
from neuralnetwork._layers.Dense import Dense
from neuralnetwork._layers.Flatten import Flatten
from neuralnetwork._layers.Input import Input2D
from neuralnetwork._layers.Pooling import MaxPooling2D | 48.8 | 54 | 0.881148 | 30 | 244 | 7 | 0.4 | 0.404762 | 0.547619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013333 | 0.077869 | 244 | 5 | 54 | 48.8 | 0.92 | 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 | 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 |
940300e126d372a2c36fe575eedd58a9c5b5680d | 101 | py | Python | app/imagemp/__init__.py | willwile4/masterpeace_api | a8fed8a8c55643e7d98c3b53d3048b2b840552c9 | [
"MIT"
] | 2 | 2018-01-30T15:11:17.000Z | 2018-02-02T00:10:56.000Z | app/imagemp/__init__.py | willwile4/masterpeace_api | a8fed8a8c55643e7d98c3b53d3048b2b840552c9 | [
"MIT"
] | null | null | null | app/imagemp/__init__.py | willwile4/masterpeace_api | a8fed8a8c55643e7d98c3b53d3048b2b840552c9 | [
"MIT"
] | null | null | null | from flask import Blueprint
imagemp_blueprint = Blueprint('imagemp', __name__)
from . import views | 16.833333 | 50 | 0.792079 | 12 | 101 | 6.25 | 0.583333 | 0.426667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138614 | 101 | 6 | 51 | 16.833333 | 0.862069 | 0 | 0 | 0 | 0 | 0 | 0.068627 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
9437128a7fc134fdd336e7833b9f280f9e0e6495 | 45 | py | Python | demo.py | culiutudousi/kim-voice-assistant | b3e01fa8235094fbddb5041ff6d717ee00b555bc | [
"MIT"
] | 75 | 2018-02-26T10:26:59.000Z | 2022-03-24T15:15:40.000Z | demo.py | tenstone/xiaoyun-smart-speaker | 2f93db2a408efe84a3a894fb877b40da073073a7 | [
"MIT"
] | 2 | 2018-06-26T01:34:58.000Z | 2019-05-15T01:59:55.000Z | demo.py | tenstone/xiaoyun-smart-speaker | 2f93db2a408efe84a3a894fb877b40da073073a7 | [
"MIT"
] | 17 | 2018-02-26T10:27:01.000Z | 2021-11-29T06:07:03.000Z | import os
print(os.path.expanduser('~/.kim')) | 22.5 | 35 | 0.711111 | 7 | 45 | 4.571429 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044444 | 45 | 2 | 35 | 22.5 | 0.744186 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
94434e4305bb904a94c62120c5e4c6cee57ea37e | 120 | py | Python | examples/urllib2_Request.py | lyvd/bandit4mal | b1ca9eb773ebed84d04cfeb589d028af532d1d11 | [
"Apache-2.0"
] | null | null | null | examples/urllib2_Request.py | lyvd/bandit4mal | b1ca9eb773ebed84d04cfeb589d028af532d1d11 | [
"Apache-2.0"
] | null | null | null | examples/urllib2_Request.py | lyvd/bandit4mal | b1ca9eb773ebed84d04cfeb589d028af532d1d11 | [
"Apache-2.0"
] | null | null | null | from urllib2 import Request
headers = {}
req = Request(headers=headers)
from urllib2 import *
Request(headers=headers)
| 17.142857 | 30 | 0.775 | 15 | 120 | 6.2 | 0.4 | 0.451613 | 0.365591 | 0.516129 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019231 | 0.133333 | 120 | 6 | 31 | 20 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 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 |
946217ad39ed11ae98be565cd408e973dae2b263 | 21 | py | Python | src/fffs/sas/bilayer/__init__.py | awacha/fffs | 6a3ce47c5381ae33fe02909754750ff7f0cf2b8c | [
"BSD-3-Clause"
] | null | null | null | src/fffs/sas/bilayer/__init__.py | awacha/fffs | 6a3ce47c5381ae33fe02909754750ff7f0cf2b8c | [
"BSD-3-Clause"
] | null | null | null | src/fffs/sas/bilayer/__init__.py | awacha/fffs | 6a3ce47c5381ae33fe02909754750ff7f0cf2b8c | [
"BSD-3-Clause"
] | null | null | null | from . import bilayer | 21 | 21 | 0.809524 | 3 | 21 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 21 | 1 | 21 | 21 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
94895d3d41e4f4238b9feccf7422bd728f3f5e61 | 32 | py | Python | lib/model/reID/__init__.py | VIP-Lab-UNIST/CUCPS_public | d6f1cf2d727300f655bbb871e6c45f5eaf4e45fb | [
"MIT"
] | null | null | null | lib/model/reID/__init__.py | VIP-Lab-UNIST/CUCPS_public | d6f1cf2d727300f655bbb871e6c45f5eaf4e45fb | [
"MIT"
] | null | null | null | lib/model/reID/__init__.py | VIP-Lab-UNIST/CUCPS_public | d6f1cf2d727300f655bbb871e6c45f5eaf4e45fb | [
"MIT"
] | null | null | null | from .regressor import Regressor | 32 | 32 | 0.875 | 4 | 32 | 7 | 0.75 | 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 |
848b9d6ca3ad4eec7eb2d4a6902b9d3074265832 | 15,271 | py | Python | flight/tests/test_flight_api.py | andela-Taiwo/Flight-Booking-Application | 5c5312a28b52aa5738f107761e990327cb87dfbe | [
"MIT"
] | null | null | null | flight/tests/test_flight_api.py | andela-Taiwo/Flight-Booking-Application | 5c5312a28b52aa5738f107761e990327cb87dfbe | [
"MIT"
] | null | null | null | flight/tests/test_flight_api.py | andela-Taiwo/Flight-Booking-Application | 5c5312a28b52aa5738f107761e990327cb87dfbe | [
"MIT"
] | null | null | null | import pytz
from datetime import datetime
from django.urls.exceptions import NoReverseMatch
from django.contrib.auth.models import User
from rest_framework.reverse import reverse
from rest_framework.test import APITestCase
from user.models import Profile
from flight.models import Flight, Passenger
from user.tests impor... | 37.428922 | 122 | 0.562439 | 1,536 | 15,271 | 5.366536 | 0.109375 | 0.083707 | 0.1144 | 0.088439 | 0.798617 | 0.766226 | 0.748757 | 0.721218 | 0.71127 | 0.705083 | 0 | 0.058068 | 0.301945 | 15,271 | 407 | 123 | 37.520885 | 0.715197 | 0.035754 | 0 | 0.623932 | 0 | 0 | 0.228389 | 0.075087 | 0 | 0 | 0 | 0 | 0.116809 | 1 | 0.042735 | false | 0.054131 | 0.037037 | 0 | 0.091168 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
84922894ef442367c5b23c8eeb318e63d0c5ff0f | 154 | py | Python | code/__init__.py | axhue/minecraftRL | 9899449ed2fccdaba08e7f3fc8bf0c33186f5318 | [
"MIT"
] | null | null | null | code/__init__.py | axhue/minecraftRL | 9899449ed2fccdaba08e7f3fc8bf0c33186f5318 | [
"MIT"
] | null | null | null | code/__init__.py | axhue/minecraftRL | 9899449ed2fccdaba08e7f3fc8bf0c33186f5318 | [
"MIT"
] | null | null | null | from . import agent
from . import loss
from . import memory
from . import networks
from . import preprocessors
from . import utils
from . import policies
| 19.25 | 27 | 0.772727 | 21 | 154 | 5.666667 | 0.428571 | 0.588235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 154 | 7 | 28 | 22 | 0.944444 | 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 |
849c49032e27409032f51356b6d2da5b5c10030c | 63 | py | Python | code/abc078_a_01.py | KoyanagiHitoshi/AtCoder | 731892543769b5df15254e1f32b756190378d292 | [
"MIT"
] | 3 | 2019-08-16T16:55:48.000Z | 2021-04-11T10:21:40.000Z | code/abc078_a_01.py | KoyanagiHitoshi/AtCoder | 731892543769b5df15254e1f32b756190378d292 | [
"MIT"
] | null | null | null | code/abc078_a_01.py | KoyanagiHitoshi/AtCoder | 731892543769b5df15254e1f32b756190378d292 | [
"MIT"
] | null | null | null | x,y=input().split()
print("<" if x<y else "=" if x==y else ">") | 31.5 | 43 | 0.52381 | 13 | 63 | 2.538462 | 0.538462 | 0.181818 | 0.242424 | 0.484848 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 63 | 2 | 43 | 31.5 | 0.611111 | 0 | 0 | 0 | 0 | 0 | 0.046875 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.5 | 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 | 0 | 0 | 0 | 1 | 0 | 6 |
84b281edc3a7a71368efcb6f1d5d461f85359cbb | 33 | py | Python | forge/blade/io/action/__init__.py | yutiansut/neural-mmo | bb320c1d3f7abe8c3a06ede4efb1b22a4173b58f | [
"MIT"
] | 1 | 2019-08-11T03:14:56.000Z | 2019-08-11T03:14:56.000Z | forge/blade/io/action/__init__.py | shouhu666/neural-mmo | f02dc86f63489dc80c8ce70eefc6fa94ac1f1dc0 | [
"MIT"
] | null | null | null | forge/blade/io/action/__init__.py | shouhu666/neural-mmo | f02dc86f63489dc80c8ce70eefc6fa94ac1f1dc0 | [
"MIT"
] | null | null | null | from .node import NodeType, Node
| 16.5 | 32 | 0.787879 | 5 | 33 | 5.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 33 | 1 | 33 | 33 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
84db050390b63741d2af23cf8bf689b6b1c61075 | 204 | py | Python | Pytest/test/test_setup_teardown.py | koichi210/Python | 9bc0be009bec15499540c1bf9ae802ffe1acfe10 | [
"MIT"
] | null | null | null | Pytest/test/test_setup_teardown.py | koichi210/Python | 9bc0be009bec15499540c1bf9ae802ffe1acfe10 | [
"MIT"
] | null | null | null | Pytest/test/test_setup_teardown.py | koichi210/Python | 9bc0be009bec15499540c1bf9ae802ffe1acfe10 | [
"MIT"
] | null | null | null | from main.greeting import English,Spanish
import pytest
def test_English_greeting1():
assert English().greeting1() == 'Hello'
def test_English_greeting2():
assert English().greeting2() == 'Bye'
| 22.666667 | 43 | 0.735294 | 24 | 204 | 6.083333 | 0.583333 | 0.09589 | 0.191781 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022727 | 0.137255 | 204 | 8 | 44 | 25.5 | 0.806818 | 0 | 0 | 0 | 0 | 0 | 0.039216 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 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 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
84f6bcc000292dac55df7142d45384504b965a47 | 29 | py | Python | faa_xml_tools/src/faa_xml_tools/__init__.py | njmei/fly-alcohol-assay | a3efc40e5ed5d48ed3a80e4b162e13736b0e04cc | [
"BSD-3-Clause"
] | null | null | null | faa_xml_tools/src/faa_xml_tools/__init__.py | njmei/fly-alcohol-assay | a3efc40e5ed5d48ed3a80e4b162e13736b0e04cc | [
"BSD-3-Clause"
] | null | null | null | faa_xml_tools/src/faa_xml_tools/__init__.py | njmei/fly-alcohol-assay | a3efc40e5ed5d48ed3a80e4b162e13736b0e04cc | [
"BSD-3-Clause"
] | null | null | null | import machine
import launch
| 9.666667 | 14 | 0.862069 | 4 | 29 | 6.25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 2 | 15 | 14.5 | 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 |
ca61447eaa49e98918394cbac0cc8626d018636a | 11,067 | py | Python | tests/test_generate.py | arthus-leroy/novelai-api | 1a2b2bf74ef75544f8cf6e1d49220229ede6ff59 | [
"MIT"
] | 6 | 2021-08-21T18:22:27.000Z | 2022-02-09T12:18:50.000Z | tests/test_generate.py | arthus-leroy/novelai-api | 1a2b2bf74ef75544f8cf6e1d49220229ede6ff59 | [
"MIT"
] | 4 | 2021-08-23T09:47:55.000Z | 2022-03-28T21:43:44.000Z | tests/test_generate.py | arthus-leroy/novelai-api | 1a2b2bf74ef75544f8cf6e1d49220229ede6ff59 | [
"MIT"
] | 1 | 2022-01-08T23:22:08.000Z | 2022-01-08T23:22:08.000Z | from sys import path
from os import environ as env
from os.path import join, abspath, dirname
path.insert(0, abspath(join(dirname(__file__), '..')))
from novelai_api import NovelAI_API
from novelai_api.Preset import Preset, Model
from novelai_api.GlobalSettings import GlobalSettings
from novelai_api.BanList import Ba... | 42.079848 | 711 | 0.71799 | 1,470 | 11,067 | 5.22381 | 0.146259 | 0.091679 | 0.085428 | 0.04649 | 0.748405 | 0.743456 | 0.731996 | 0.717151 | 0.71077 | 0.71077 | 0 | 0.004567 | 0.168971 | 11,067 | 263 | 712 | 42.079848 | 0.830379 | 0.027379 | 0 | 0.588889 | 0 | 0.005556 | 0.151405 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.005556 | false | 0.055556 | 0.077778 | 0 | 0.088889 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
047de84f09f0dcd4a5b5a7719982acdc89fcbb09 | 967 | py | Python | GEOS_Util/coupled_diagnostics/g5lib/src/show_colormaps.py | GEOS-ESM/GMAO_Shared | 022af23abbc7883891006b57379be96d9a50df23 | [
"NASA-1.3",
"ECL-2.0",
"Apache-2.0"
] | 1 | 2020-02-01T17:36:53.000Z | 2020-02-01T17:36:53.000Z | GEOS_Util/coupled_diagnostics/g5lib/src/show_colormaps.py | GEOS-ESM/GMAO_Shared | 022af23abbc7883891006b57379be96d9a50df23 | [
"NASA-1.3",
"ECL-2.0",
"Apache-2.0"
] | 105 | 2019-07-08T19:27:23.000Z | 2022-03-22T02:12:16.000Z | GEOS_Util/coupled_diagnostics/g5lib/src/show_colormaps.py | GEOS-ESM/GMAO_Shared | 022af23abbc7883891006b57379be96d9a50df23 | [
"NASA-1.3",
"ECL-2.0",
"Apache-2.0"
] | 10 | 2019-07-05T18:00:44.000Z | 2022-03-11T16:26:29.000Z | import numpy as np
import matplotlib.pyplot as plt
from matplotlib import cm
from mpl_toolkits.basemap import cm as cmb
a=np.outer(np.arange(0,1,0.01),np.ones(10))
plt.figure(figsize=(10,7))
plt.subplots_adjust(top=0.8,bottom=0.05,left=0.01,right=0.99)
maps=[m for m in cm.datad.keys() if not m.endswith("_r")]
maps.sort... | 29.30303 | 76 | 0.69183 | 193 | 967 | 3.398964 | 0.336788 | 0.02439 | 0.036585 | 0.054878 | 0.789634 | 0.789634 | 0.789634 | 0.789634 | 0.789634 | 0.789634 | 0 | 0.059233 | 0.109617 | 967 | 32 | 77 | 30.21875 | 0.702671 | 0 | 0 | 0.709677 | 0 | 0 | 0.051706 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.129032 | 0 | 0.129032 | 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 |
04c10eca9f9bf03136e1c83e71792f90ebbadbc6 | 44 | py | Python | dev_aberto/__init__.py | SabrinaMB/pacote_python | 0c3823d4ec23c8253dcf6319c5fefccb7f4364a2 | [
"MIT"
] | null | null | null | dev_aberto/__init__.py | SabrinaMB/pacote_python | 0c3823d4ec23c8253dcf6319c5fefccb7f4364a2 | [
"MIT"
] | null | null | null | dev_aberto/__init__.py | SabrinaMB/pacote_python | 0c3823d4ec23c8253dcf6319c5fefccb7f4364a2 | [
"MIT"
] | null | null | null | # __init__.py
from .dev_aberto import hello
| 14.666667 | 29 | 0.795455 | 7 | 44 | 4.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 44 | 2 | 30 | 22 | 0.789474 | 0.25 | 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 |
04ce30f7334456a6f7f9e1c7593a04c114754702 | 101 | py | Python | bundles/finance/commands/group.py | briancappello/flask-techan-unchained | a26a900bb47e40e5db67e78822dc6af59d1abc31 | [
"Apache-2.0"
] | null | null | null | bundles/finance/commands/group.py | briancappello/flask-techan-unchained | a26a900bb47e40e5db67e78822dc6af59d1abc31 | [
"Apache-2.0"
] | 18 | 2019-12-10T22:11:27.000Z | 2021-12-13T20:42:58.000Z | bundles/finance/commands/group.py | briancappello/flask-techan-unchained | a26a900bb47e40e5db67e78822dc6af59d1abc31 | [
"Apache-2.0"
] | 1 | 2021-07-26T08:20:28.000Z | 2021-07-26T08:20:28.000Z | from flask_unchained.cli import cli
@cli.group()
def finance():
"""Finance bundle commands."""
| 14.428571 | 35 | 0.693069 | 13 | 101 | 5.307692 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.158416 | 101 | 6 | 36 | 16.833333 | 0.811765 | 0.237624 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b6c1a933077f4c0676992c6ddbe3abeb04f62458 | 135 | py | Python | nextcode/services/queryserver/__init__.py | Haffi/nextcode-python-sdk | b70baa848cb6326fb0e7ee0e4167c41dcc45e085 | [
"MIT"
] | 7 | 2019-10-23T17:22:50.000Z | 2021-04-17T21:44:28.000Z | nextcode/services/queryserver/__init__.py | Haffi/nextcode-python-sdk | b70baa848cb6326fb0e7ee0e4167c41dcc45e085 | [
"MIT"
] | 8 | 2019-11-07T16:41:01.000Z | 2021-09-13T14:33:28.000Z | nextcode/services/queryserver/__init__.py | Haffi/nextcode-python-sdk | b70baa848cb6326fb0e7ee0e4167c41dcc45e085 | [
"MIT"
] | 4 | 2019-11-08T13:59:55.000Z | 2021-11-07T13:49:21.000Z | """
Query-Server Service
------------------
Service object for interfacing with the GOR Query Server
"""
from .service import Service
| 16.875 | 56 | 0.666667 | 16 | 135 | 5.625 | 0.6875 | 0.244444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140741 | 135 | 7 | 57 | 19.285714 | 0.775862 | 0.711111 | 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 |
b6fee39af6add8c2a242446f13c639d8807c1833 | 78 | py | Python | nbviewer/providers/local/__init__.py | AI-Collaboratory/nbviewer | 1a40e04cc8aad67aa96bb840603f8f568c08d44d | [
"BSD-3-Clause-Clear"
] | 1,840 | 2015-01-01T13:25:44.000Z | 2022-03-17T08:33:01.000Z | nbviewer/providers/local/__init__.py | AI-Collaboratory/nbviewer | 1a40e04cc8aad67aa96bb840603f8f568c08d44d | [
"BSD-3-Clause-Clear"
] | 605 | 2015-01-01T16:45:01.000Z | 2022-03-14T15:25:25.000Z | nbviewer/providers/local/__init__.py | AI-Collaboratory/nbviewer | 1a40e04cc8aad67aa96bb840603f8f568c08d44d | [
"BSD-3-Clause-Clear"
] | 513 | 2015-01-07T20:54:49.000Z | 2022-02-17T16:04:30.000Z | from .handlers import default_handlers
from .handlers import LocalFileHandler
| 26 | 38 | 0.871795 | 9 | 78 | 7.444444 | 0.555556 | 0.358209 | 0.537313 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 78 | 2 | 39 | 39 | 0.957143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
8e21a3b88adbe0acbd2b3369bca15e1bdf1f0541 | 231 | py | Python | yfantasy_api/api/__init__.py | frugardc/yfantasy-api | 9736a0680460ee99411ef040a130e505fe4d229b | [
"MIT"
] | 3 | 2021-03-13T02:15:21.000Z | 2021-07-07T02:20:50.000Z | yfantasy_api/api/__init__.py | frugardc/yfantasy-api | 9736a0680460ee99411ef040a130e505fe4d229b | [
"MIT"
] | 5 | 2021-04-10T04:58:47.000Z | 2021-11-01T13:55:45.000Z | yfantasy_api/api/__init__.py | frugardc/yfantasy-api | 9736a0680460ee99411ef040a130e505fe4d229b | [
"MIT"
] | 1 | 2021-09-13T12:02:17.000Z | 2021-09-13T12:02:17.000Z | from yfantasy_api.api.api import YahooFantasyApi
from yfantasy_api.api.game import GameApi, GamesApi
from yfantasy_api.api.league import LeagueApi
from yfantasy_api.api.team import TeamApi
from yfantasy_api.api.user import UserApi
| 38.5 | 51 | 0.861472 | 36 | 231 | 5.388889 | 0.388889 | 0.185567 | 0.386598 | 0.463918 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 231 | 5 | 52 | 46.2 | 0.92381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8e29bcdfc776aceb333a6d9f475ddc5f4eab848c | 125 | py | Python | args/13.py | janusnic/py-21v | 6c90bf2f144e4903cb2fa97b3b80c4b39852b93b | [
"MIT"
] | null | null | null | args/13.py | janusnic/py-21v | 6c90bf2f144e4903cb2fa97b3b80c4b39852b93b | [
"MIT"
] | null | null | null | args/13.py | janusnic/py-21v | 6c90bf2f144e4903cb2fa97b3b80c4b39852b93b | [
"MIT"
] | null | null | null | # -*- coding:utf-8 -*-
def func(**kwargs):
return kwargs
print func(a=1, b=2, c=3)
print func()
print func(a='python')
| 12.5 | 25 | 0.6 | 22 | 125 | 3.409091 | 0.681818 | 0.36 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038835 | 0.176 | 125 | 9 | 26 | 13.888889 | 0.68932 | 0.16 | 0 | 0 | 0 | 0 | 0.058252 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.6 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
8e50e4fc1b0f27ea1d0b4e70b9ce3535f7b35bcf | 5,427 | py | Python | CCBC_Library/ccbclib/forms.py | comsaint/ccbc | 594838d6356a7aaeea1cda759781716c58c18824 | [
"MIT"
] | null | null | null | CCBC_Library/ccbclib/forms.py | comsaint/ccbc | 594838d6356a7aaeea1cda759781716c58c18824 | [
"MIT"
] | null | null | null | CCBC_Library/ccbclib/forms.py | comsaint/ccbc | 594838d6356a7aaeea1cda759781716c58c18824 | [
"MIT"
] | null | null | null | from django import forms
from django.forms.extras.widgets import SelectDateWidget
from django.core.exceptions import ValidationError
from ccbclib.models import Book,Borrower,Transaction
import datetime
import autocomplete_light
from autocomplete_light.widgets import TextWidget
#import registration
#from django.contrib... | 55.377551 | 213 | 0.729316 | 615 | 5,427 | 6.235772 | 0.139837 | 0.035463 | 0.120991 | 0.046936 | 0.779922 | 0.779922 | 0.749935 | 0.724902 | 0.700913 | 0.633898 | 0 | 0.000425 | 0.133407 | 5,427 | 98 | 214 | 55.377551 | 0.815012 | 0.203427 | 0 | 0.508197 | 0 | 0 | 0.094447 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.081967 | false | 0 | 0.114754 | 0 | 0.557377 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
f3f22956ccbe5dbc2d9a14cd19795ebc05fdee48 | 4,411 | py | Python | corpus/master_corpus_location.py | project-anuvaad/OpenNMT-py | 267d097b9e90d59709fe1c26ea8b8e2c43c755c9 | [
"MIT"
] | null | null | null | corpus/master_corpus_location.py | project-anuvaad/OpenNMT-py | 267d097b9e90d59709fe1c26ea8b8e2c43c755c9 | [
"MIT"
] | 29 | 2019-07-18T10:21:57.000Z | 2019-10-24T11:41:59.000Z | corpus/master_corpus_location.py | project-anuvaad/OpenNMT-py | 267d097b9e90d59709fe1c26ea8b8e2c43c755c9 | [
"MIT"
] | null | null | null | english_hindi = {
"ENGLISH_TRAIN_FILE": 'corpus/master_corpus/english_hindi/eng_train_corpus_final.txt',
"HINDI_TRAIN_FILE": 'corpus/master_corpus/english_hindi/hindi_train_corpus_final.txt',
"DEV_ENGLISH": "corpus/master_corpus/english_hindi/english_dev_final.txt",
"DEV_HINDI": "corpus/master_corpus/en... | 58.813333 | 102 | 0.808433 | 601 | 4,411 | 5.437604 | 0.034942 | 0.179927 | 0.26989 | 0.374847 | 0.916157 | 0.766218 | 0.647185 | 0.26377 | 0.26377 | 0.148715 | 0 | 0 | 0.076173 | 4,411 | 75 | 103 | 58.813333 | 0.801963 | 0 | 0 | 0 | 0 | 0 | 0.822983 | 0.669311 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6d03042afacf485eb88392597f72f06f2805699e | 49 | py | Python | VLLV/Deprecated/__init__.py | rzumer/VideoLowLevelVision | 1c15dbe74f0b33d2e74d0a717a22ccbd67cdf269 | [
"MIT"
] | 3 | 2019-04-15T10:00:39.000Z | 2019-04-26T07:51:27.000Z | VLLV/Deprecated/__init__.py | rzumer/VideoLowLevelVision | 1c15dbe74f0b33d2e74d0a717a22ccbd67cdf269 | [
"MIT"
] | 1 | 2018-11-16T07:59:50.000Z | 2018-11-16T07:59:50.000Z | VLLV/Deprecated/__init__.py | rzumer/VideoLowLevelVision | 1c15dbe74f0b33d2e74d0a717a22ccbd67cdf269 | [
"MIT"
] | null | null | null | print('You are using deprecated modules of VSR')
| 24.5 | 48 | 0.77551 | 8 | 49 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 49 | 1 | 49 | 49 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0.795918 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
6d08de9997d6f3828a3eaed9d2368c5e6e51837d | 152 | py | Python | VideoGame/VideoGameApp/models.py | cs-fullstack-fall-2018/django-form-post1-myiahm | 82be24ac4263b5f647483a5a947d80cc1e1f2f50 | [
"Apache-2.0"
] | null | null | null | VideoGame/VideoGameApp/models.py | cs-fullstack-fall-2018/django-form-post1-myiahm | 82be24ac4263b5f647483a5a947d80cc1e1f2f50 | [
"Apache-2.0"
] | null | null | null | VideoGame/VideoGameApp/models.py | cs-fullstack-fall-2018/django-form-post1-myiahm | 82be24ac4263b5f647483a5a947d80cc1e1f2f50 | [
"Apache-2.0"
] | null | null | null | from django.db import models
class VideoGame(models.Model):
name = models.CharField(max_length=200)
genre = models.CharField(max_length=200)
| 19 | 44 | 0.75 | 21 | 152 | 5.333333 | 0.666667 | 0.267857 | 0.321429 | 0.428571 | 0.482143 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046512 | 0.151316 | 152 | 7 | 45 | 21.714286 | 0.821705 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
6d288819d8dcc6cb91e79d2769c97a833e6b7daf | 189 | py | Python | nmigen_boards/resources/__init__.py | lethalbit/nmigen-boards | aaf18252e457ff95257137da2a629820c0ff2bfa | [
"BSD-2-Clause"
] | 11 | 2021-12-10T12:23:29.000Z | 2022-03-13T08:40:20.000Z | nmigen_boards/resources/__init__.py | lethalbit/nmigen-boards | aaf18252e457ff95257137da2a629820c0ff2bfa | [
"BSD-2-Clause"
] | 12 | 2021-12-11T18:51:29.000Z | 2022-03-12T05:08:52.000Z | nmigen_boards/resources/__init__.py | lethalbit/nmigen-boards | aaf18252e457ff95257137da2a629820c0ff2bfa | [
"BSD-2-Clause"
] | 7 | 2021-12-12T07:20:21.000Z | 2022-03-06T06:20:55.000Z | from amaranth_boards.resources import *
import warnings
warnings.warn("instead of nmigen_boards.resources, use amaranth_boards.resources",
DeprecationWarning, stacklevel=2)
| 27 | 82 | 0.777778 | 21 | 189 | 6.857143 | 0.666667 | 0.3125 | 0.319444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00625 | 0.153439 | 189 | 6 | 83 | 31.5 | 0.89375 | 0 | 0 | 0 | 0 | 0 | 0.343915 | 0.259259 | 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 |
6d28f52fccad75a8ac6b7ba2ec756ce4a4c2b3eb | 40 | py | Python | scripts/dhp19/generate_DHP19/aedat/__init__.py | gaurvigoyal/lifting_events_to_3d_hpe | 66d27eb7534f81a95d9f68e17cc534ef2a2c9b1c | [
"Apache-2.0"
] | 19 | 2021-04-16T11:43:34.000Z | 2022-01-07T10:21:42.000Z | scripts/dhp19/generate_DHP19/aedat/__init__.py | gaurvigoyal/lifting_events_to_3d_hpe | 66d27eb7534f81a95d9f68e17cc534ef2a2c9b1c | [
"Apache-2.0"
] | 4 | 2021-04-16T14:07:38.000Z | 2022-02-12T16:35:22.000Z | scripts/dhp19/generate_DHP19/aedat/__init__.py | gianscarpe/event-camera | 8bb60a281adb9e2c961b5e12c24c9bbbba1876d5 | [
"Apache-2.0"
] | 5 | 2021-04-23T16:30:37.000Z | 2022-02-12T01:42:14.000Z | from .ImportAedat import import_aedawwt
| 20 | 39 | 0.875 | 5 | 40 | 6.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 1 | 40 | 40 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ede26b3bfdf932bd3634d90d9776817b2d972cf1 | 355 | py | Python | cmws/examples/__init__.py | tuananhle7/hmws | 175f77a2b386ce5a9598b61c982e053e7ecff8a2 | [
"MIT"
] | null | null | null | cmws/examples/__init__.py | tuananhle7/hmws | 175f77a2b386ce5a9598b61c982e053e7ecff8a2 | [
"MIT"
] | null | null | null | cmws/examples/__init__.py | tuananhle7/hmws | 175f77a2b386ce5a9598b61c982e053e7ecff8a2 | [
"MIT"
] | null | null | null | # Import common subpackages
from cmws.examples.stacking import data, util, run
from cmws.examples.stacking_3d import data, util, run
from cmws.examples.csg import data, util, run
from cmws.examples.timeseries_real import data, util, run
from cmws.examples.scene_understanding import data, util, run
from cmws.examples.sw... | 44.375 | 61 | 0.816901 | 55 | 355 | 5.2 | 0.327273 | 0.167832 | 0.335664 | 0.356643 | 0.576923 | 0.576923 | 0.576923 | 0 | 0 | 0 | 0 | 0.003175 | 0.112676 | 355 | 7 | 62 | 50.714286 | 0.904762 | 0.070423 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b64327261746d9f35a35565a49e886088f298bc3 | 89 | py | Python | example.py | MorbidPsychosis/rockstar | 2b889b81e78f1b12a0ea4ff6efd7d6a47c4d7a55 | [
"MIT"
] | null | null | null | example.py | MorbidPsychosis/rockstar | 2b889b81e78f1b12a0ea4ff6efd7d6a47c4d7a55 | [
"MIT"
] | null | null | null | example.py | MorbidPsychosis/rockstar | 2b889b81e78f1b12a0ea4ff6efd7d6a47c4d7a55 | [
"MIT"
] | null | null | null | from RockStar import RockStar
rock_it_bro = RockStar()
rock_it_bro.make_me_a_rockstar()
| 17.8 | 32 | 0.831461 | 15 | 89 | 4.466667 | 0.6 | 0.358209 | 0.41791 | 0.507463 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101124 | 89 | 4 | 33 | 22.25 | 0.8375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 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 |
b6698340a56707ebb509c8cf9763de32494f1494 | 214 | py | Python | users/admin.py | HotStew/digihel | 3a53f6542b41c64c818fa34cc0709cdbfb8055db | [
"MIT"
] | 21 | 2016-08-22T10:15:24.000Z | 2022-03-23T08:10:48.000Z | users/admin.py | HotStew/digihel | 3a53f6542b41c64c818fa34cc0709cdbfb8055db | [
"MIT"
] | 101 | 2016-08-08T07:52:44.000Z | 2021-06-17T20:18:59.000Z | users/admin.py | HotStew/digihel | 3a53f6542b41c64c818fa34cc0709cdbfb8055db | [
"MIT"
] | 16 | 2016-08-02T11:45:26.000Z | 2021-02-18T11:27:34.000Z | from django.contrib import admin
from django.contrib.auth.admin import UserAdmin as DjangoUserAdmin
from users.models import User
class UserAdmin(DjangoUserAdmin):
pass
admin.site.register(User, UserAdmin)
| 19.454545 | 66 | 0.813084 | 28 | 214 | 6.214286 | 0.571429 | 0.114943 | 0.195402 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126168 | 214 | 10 | 67 | 21.4 | 0.930481 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.166667 | 0.5 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
b6969f214148e863b81a0c3e3fcc7b6b06a4fa37 | 1,409 | py | Python | 2021/day_06.py | romeech/advent_of_code | eec6423c88bed02195ec2fb8e680cbab168661db | [
"MIT"
] | 1 | 2021-12-03T21:32:31.000Z | 2021-12-03T21:32:31.000Z | 2021/day_06.py | romeech/advent_of_code | eec6423c88bed02195ec2fb8e680cbab168661db | [
"MIT"
] | null | null | null | 2021/day_06.py | romeech/advent_of_code | eec6423c88bed02195ec2fb8e680cbab168661db | [
"MIT"
] | null | null | null | def emulate_latterfish_growth(fish_set, days):
prev_fishes = fish_set
for day in range(days):
new_fishes = [0] * len(prev_fishes)
for i, fish in enumerate(prev_fishes):
if fish == 0:
new_fishes[i] = 6
new_fishes.append(8)
else:
... | 42.69697 | 99 | 0.387509 | 361 | 1,409 | 1.473684 | 0.083102 | 0.593985 | 0.642857 | 0.62406 | 0.539474 | 0.490602 | 0.43609 | 0.336466 | 0.296992 | 0.24812 | 0 | 0.347924 | 0.367637 | 1,409 | 32 | 100 | 44.03125 | 0.249158 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.033333 | false | 0 | 0 | 0 | 0.066667 | 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 |
b6a15699901d6219639b81c53b90a14f907c414d | 177 | py | Python | leetcode.py/AddBinary.py | pikeszfish/LeetCode | 40f4b58c60530d73b28e39323a17ed400f0d91cd | [
"MIT"
] | null | null | null | leetcode.py/AddBinary.py | pikeszfish/LeetCode | 40f4b58c60530d73b28e39323a17ed400f0d91cd | [
"MIT"
] | null | null | null | leetcode.py/AddBinary.py | pikeszfish/LeetCode | 40f4b58c60530d73b28e39323a17ed400f0d91cd | [
"MIT"
] | null | null | null | class Solution:
# @param a, a string
# @param b, a string
# @return a string
def addBinary(self, a, b):
return '{0:b}'.format(int(a, 2) + int(b, 2)) | 29.5 | 52 | 0.531073 | 28 | 177 | 3.357143 | 0.5 | 0.223404 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02439 | 0.305085 | 177 | 6 | 52 | 29.5 | 0.739837 | 0.305085 | 0 | 0 | 0 | 0 | 0.043478 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
b6a16c5fec2a494c24dce61fac05a520b2fb177e | 3,249 | py | Python | meetings/tests/test_calc.py | isw4/Proj10-when2meet | 93a1efa412f4cb0b1c1be338b2facfed1827f58b | [
"Artistic-2.0"
] | null | null | null | meetings/tests/test_calc.py | isw4/Proj10-when2meet | 93a1efa412f4cb0b1c1be338b2facfed1827f58b | [
"Artistic-2.0"
] | 2 | 2021-02-08T20:20:12.000Z | 2021-06-01T21:59:16.000Z | meetings/tests/test_calc.py | isw4/Proj10-when2meet | 93a1efa412f4cb0b1c1be338b2facfed1827f58b | [
"Artistic-2.0"
] | null | null | null | from calc import init_frees_by_date, merge_single_list, intersect_two_lists
from random import shuffle
from timeslot import TimeSlot
import timeslot
def test_init():
begin_datetime = '2017-04-10T08:00:00-05:00'
end_datetime = '2017-04-15T19:00:00-05:00'
init = init_frees_by_date(begin_datetime, end_dateti... | 41.126582 | 78 | 0.662358 | 622 | 3,249 | 3.400322 | 0.11254 | 0.279905 | 0.238298 | 0.128605 | 0.713475 | 0.712057 | 0.651064 | 0.55792 | 0.535697 | 0.535697 | 0 | 0.398688 | 0.108341 | 3,249 | 79 | 79 | 41.126582 | 0.331377 | 0 | 0 | 0.246377 | 0 | 0 | 0.504414 | 0.504414 | 0 | 0 | 0 | 0 | 0.086957 | 1 | 0.043478 | false | 0 | 0.057971 | 0 | 0.101449 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b6a218bcd1b87f7aaf79e835466cf04e40f3a713 | 6,366 | py | Python | dbdaora/boolean/_tests/datastore/test_integration_service_boolean_aioredis_datastore_get_many.py | dutradda/sqldataclass | 5c87a3818e9d736bbf5e1438edc5929a2f5acd3f | [
"MIT"
] | 21 | 2019-10-14T14:33:33.000Z | 2022-02-11T04:43:07.000Z | dbdaora/boolean/_tests/datastore/test_integration_service_boolean_aioredis_datastore_get_many.py | dutradda/sqldataclass | 5c87a3818e9d736bbf5e1438edc5929a2f5acd3f | [
"MIT"
] | null | null | null | dbdaora/boolean/_tests/datastore/test_integration_service_boolean_aioredis_datastore_get_many.py | dutradda/sqldataclass | 5c87a3818e9d736bbf5e1438edc5929a2f5acd3f | [
"MIT"
] | 1 | 2019-09-29T23:51:44.000Z | 2019-09-29T23:51:44.000Z | import asynctest
import pytest
from aioredis import RedisError
@pytest.mark.asyncio
async def test_should_get_many(
fake_service,
serialized_fake_entity,
fake_entity,
serialized_fake_entity2,
fake_entity2,
):
await fake_service.repository.memory_data_source.set(
'fake:other_fake:fake',... | 28.168142 | 78 | 0.662582 | 799 | 6,366 | 4.941176 | 0.08761 | 0.153242 | 0.113475 | 0.118541 | 0.891844 | 0.87234 | 0.845491 | 0.820922 | 0.820922 | 0.749747 | 0 | 0.010292 | 0.236883 | 6,366 | 225 | 79 | 28.293333 | 0.802388 | 0 | 0 | 0.545918 | 0 | 0 | 0.115771 | 0.039742 | 0 | 0 | 0 | 0 | 0.086735 | 1 | 0 | false | 0 | 0.015306 | 0 | 0.015306 | 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 |
b6a2df81ed2b1219bf2c06d1493628612960c73a | 124 | py | Python | calculator/logic.py | JonasJurczok/calculator_example | b3769d6b76b24bb6ce32a19fd1b92a824de7ec28 | [
"MIT"
] | null | null | null | calculator/logic.py | JonasJurczok/calculator_example | b3769d6b76b24bb6ce32a19fd1b92a824de7ec28 | [
"MIT"
] | null | null | null | calculator/logic.py | JonasJurczok/calculator_example | b3769d6b76b24bb6ce32a19fd1b92a824de7ec28 | [
"MIT"
] | null | null | null | def add(a, b):
return
def substract(a, b):
return
def multiply(a, b):
return
def divide(a, b):
return
| 8.266667 | 20 | 0.564516 | 20 | 124 | 3.5 | 0.4 | 0.114286 | 0.457143 | 0.471429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.306452 | 124 | 14 | 21 | 8.857143 | 0.813953 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
fcf8fcdecb634ecbf9fb929b8c1a6c8d97c55aea | 34 | py | Python | views/__init__.py | sepydev/django-user | 1a67caa197f9bb72ec41491cac1ae0a94385da87 | [
"MIT"
] | 1 | 2022-02-05T18:26:02.000Z | 2022-02-05T18:26:02.000Z | views/__init__.py | mrprocs/django-user | 1a67caa197f9bb72ec41491cac1ae0a94385da87 | [
"MIT"
] | null | null | null | views/__init__.py | mrprocs/django-user | 1a67caa197f9bb72ec41491cac1ae0a94385da87 | [
"MIT"
] | null | null | null | from .user_views import * # noqa
| 17 | 33 | 0.705882 | 5 | 34 | 4.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205882 | 34 | 1 | 34 | 34 | 0.851852 | 0.117647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fcfc9cbba8551ec42e275d7e031397d5e021595b | 229 | py | Python | sqlalchemy_dict/tests/db.py | meyt/sqlalchemy-dict | 52b6e2eca5684cc6fb813f0245ddcd6e4d56e116 | [
"MIT"
] | 9 | 2017-09-25T21:01:32.000Z | 2021-11-14T13:54:35.000Z | sqlalchemy_dict/tests/db.py | meyt/sqlalchemy-dict | 52b6e2eca5684cc6fb813f0245ddcd6e4d56e116 | [
"MIT"
] | 10 | 2017-09-26T10:01:49.000Z | 2020-03-12T19:21:54.000Z | sqlalchemy_dict/tests/db.py | meyt/sqlalchemy-dict | 52b6e2eca5684cc6fb813f0245ddcd6e4d56e116 | [
"MIT"
] | 1 | 2017-09-25T21:47:23.000Z | 2017-09-25T21:47:23.000Z | from sqlalchemy.sql.schema import MetaData
from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy_dict import BaseModel
metadata = MetaData()
DeclarativeBase = declarative_base(cls=BaseModel, metadata=metadata)
| 32.714286 | 68 | 0.855895 | 27 | 229 | 7.148148 | 0.481481 | 0.217617 | 0.259067 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087336 | 229 | 6 | 69 | 38.166667 | 0.923445 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1e58b49e1d83da47be2956586c447dedc54c9337 | 32 | py | Python | messageBoomer/test.py | RebelBIrd/Python | 8a507d07c394b0f6fe38ce0b00f91345c74a4d9e | [
"MIT"
] | null | null | null | messageBoomer/test.py | RebelBIrd/Python | 8a507d07c394b0f6fe38ce0b00f91345c74a4d9e | [
"MIT"
] | null | null | null | messageBoomer/test.py | RebelBIrd/Python | 8a507d07c394b0f6fe38ce0b00f91345c74a4d9e | [
"MIT"
] | null | null | null | def gaogao():
print('yigebing') | 16 | 18 | 0.6875 | 4 | 32 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 32 | 2 | 18 | 16 | 0.758621 | 0 | 0 | 0 | 0 | 0 | 0.242424 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.