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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
24783a2e37df647e06f273eb81d5911d00ebd364 | 396 | py | Python | Ar_Script/ar_096_魔法方法_统计属性个数.py | archerckk/PyTest | 610dd89df8d70c096f4670ca11ed2f0ca3196ca5 | [
"MIT"
] | null | null | null | Ar_Script/ar_096_魔法方法_统计属性个数.py | archerckk/PyTest | 610dd89df8d70c096f4670ca11ed2f0ca3196ca5 | [
"MIT"
] | 1 | 2020-01-19T01:19:57.000Z | 2020-01-19T01:19:57.000Z | Ar_Script/ar_096_魔法方法_统计属性个数.py | archerckk/PyTest | 610dd89df8d70c096f4670ca11ed2f0ca3196ca5 | [
"MIT"
] | null | null | null | class Counter:
def __init__(self):
'添加一个初始化couner属性,并且初始值为0'
super().__setattr__('counter', 0)
def __setattr__(self, name, value):
'计算初始值+1'
super().__setattr__('counter', self.counter + 1)
super().__setattr__(name, value)
def __delattr__(self, name):
super(... | 30.461538 | 56 | 0.613636 | 41 | 396 | 5.146341 | 0.365854 | 0.227488 | 0.270142 | 0.218009 | 0.341232 | 0.341232 | 0.341232 | 0 | 0 | 0 | 0 | 0.016611 | 0.239899 | 396 | 13 | 57 | 30.461538 | 0.684385 | 0.078283 | 0 | 0 | 0 | 0 | 0.128463 | 0.057935 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0 | 0 | 0.363636 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
247e4733ede0e5e7addb8ec3d84e83ee6ffd8fb0 | 1,228 | py | Python | utilities/bounce.py | leviathanindustries/noddy | d6c5b130b558ecdcd50e9d5b59e66e5d25e693a2 | [
"MIT"
] | 2 | 2019-07-30T14:16:45.000Z | 2020-09-16T10:44:14.000Z | utilities/bounce.py | leviathanindustries/noddy | d6c5b130b558ecdcd50e9d5b59e66e5d25e693a2 | [
"MIT"
] | null | null | null | utilities/bounce.py | leviathanindustries/noddy | d6c5b130b558ecdcd50e9d5b59e66e5d25e693a2 | [
"MIT"
] | null | null | null |
import json, requests, os
# available on the main machine, set up an nginx pass to the script
# check status endpoint - if all fine, do nothing
# check if local machine has any running instances of the meteor app
# if it does, what screen names are they running in?
# (start instances in named screens to make this mo... | 36.117647 | 109 | 0.753257 | 222 | 1,228 | 4.166667 | 0.518018 | 0.035676 | 0.034595 | 0.041081 | 0.043243 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.207655 | 1,228 | 33 | 110 | 37.212121 | 0.950668 | 0.936482 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
24a5e1f2a81ce68aadb58c41bdc1f6e01173d134 | 300 | py | Python | src/cmp/cool_lang/ast/block_node.py | codestrange/cool-compiler-2020 | 30508965d75a1a1d1362d0b51bef8da3978fd0c2 | [
"MIT"
] | 3 | 2020-01-14T04:47:32.000Z | 2020-09-10T17:57:20.000Z | src/cmp/cool_lang/ast/block_node.py | codestrange/cool-compiler-2020 | 30508965d75a1a1d1362d0b51bef8da3978fd0c2 | [
"MIT"
] | 5 | 2020-01-14T06:06:35.000Z | 2020-02-19T01:01:33.000Z | src/cmp/cool_lang/ast/block_node.py | codestrange/cool-compiler-2020 | 30508965d75a1a1d1362d0b51bef8da3978fd0c2 | [
"MIT"
] | 3 | 2020-01-14T04:58:24.000Z | 2020-01-14T16:23:41.000Z | from typing import List
from .expresion_node import ExpressionNode
class BlockNode(ExpressionNode):
def __init__(self, expressions: List[ExpressionNode], line: int, column: int):
super(BlockNode, self).__init__(line, column)
self.expressions: List[ExpressionNode] = expressions
| 33.333333 | 82 | 0.753333 | 33 | 300 | 6.575758 | 0.515152 | 0.138249 | 0.175115 | 0.304147 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156667 | 300 | 8 | 83 | 37.5 | 0.857708 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
24b1e8c66fd9b9e43b76ae93dab8160071dfb488 | 89 | py | Python | vessels/apps.py | ksamuel/smit | a7cf54f2953678804f69182951bbe98214d5c9f6 | [
"MIT"
] | null | null | null | vessels/apps.py | ksamuel/smit | a7cf54f2953678804f69182951bbe98214d5c9f6 | [
"MIT"
] | null | null | null | vessels/apps.py | ksamuel/smit | a7cf54f2953678804f69182951bbe98214d5c9f6 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class VesselsConfig(AppConfig):
name = 'vessels'
| 14.833333 | 33 | 0.752809 | 10 | 89 | 6.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168539 | 89 | 5 | 34 | 17.8 | 0.905405 | 0 | 0 | 0 | 0 | 0 | 0.078652 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
24d8d9e23d71faf27c17dacc8af62e0cc1f22776 | 122 | py | Python | setup.py | bergercookie/colcon-cargo | bd2ad8cf2928205a834c537030bb05caf6d6d986 | [
"Apache-2.0"
] | 20 | 2019-03-06T01:44:32.000Z | 2022-03-24T06:20:32.000Z | setup.py | bergercookie/colcon-cargo | bd2ad8cf2928205a834c537030bb05caf6d6d986 | [
"Apache-2.0"
] | 15 | 2018-09-12T01:26:46.000Z | 2022-03-30T11:12:02.000Z | setup.py | bergercookie/colcon-cargo | bd2ad8cf2928205a834c537030bb05caf6d6d986 | [
"Apache-2.0"
] | 13 | 2018-09-01T15:59:43.000Z | 2022-03-26T18:54:04.000Z | # Copyright 2018 Easymov Robotics
# Licensed under the Apache License, Version 2.0
from setuptools import setup
setup()
| 17.428571 | 48 | 0.786885 | 17 | 122 | 5.647059 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0.163934 | 122 | 6 | 49 | 20.333333 | 0.882353 | 0.639344 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
70496df660a2fd1a6d5cff63ceb84a73d961d7fa | 188 | py | Python | kickstart_template.py | yonghuatang/python | 6d53bf2f1e75ac03b07eb56ff83e26d8b5155bb1 | [
"MIT"
] | null | null | null | kickstart_template.py | yonghuatang/python | 6d53bf2f1e75ac03b07eb56ff83e26d8b5155bb1 | [
"MIT"
] | null | null | null | kickstart_template.py | yonghuatang/python | 6d53bf2f1e75ac03b07eb56ff83e26d8b5155bb1 | [
"MIT"
] | null | null | null | t = int(input())
for tc in range(1, t+1):
# for multiple input in single line
# x, y = map(int, input().split())
# arr = list(map(int, input().split()))
print(f"Case #{tc}: {ans}")
| 18.8 | 39 | 0.574468 | 33 | 188 | 3.272727 | 0.636364 | 0.222222 | 0.203704 | 0.296296 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013158 | 0.191489 | 188 | 9 | 40 | 20.888889 | 0.697368 | 0.553191 | 0 | 0 | 0 | 0 | 0.2125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
70634b91cd5df53417182e8b144c61257fe08153 | 207 | py | Python | gtam_tools/__init__.py | sap-toronto/gtam-tools | 9f36e0afdc25e84862804e2b633f4996c2d97d02 | [
"MIT"
] | null | null | null | gtam_tools/__init__.py | sap-toronto/gtam-tools | 9f36e0afdc25e84862804e2b633f4996c2d97d02 | [
"MIT"
] | null | null | null | gtam_tools/__init__.py | sap-toronto/gtam-tools | 9f36e0afdc25e84862804e2b633f4996c2d97d02 | [
"MIT"
] | null | null | null | from .microsim_data import MicrosimData
from ._version import get_versions
__version__ = get_versions()['version']
del get_versions
from balsa.logging import init_root
init_root('gtam_tools')
del init_root
| 23 | 39 | 0.830918 | 30 | 207 | 5.3 | 0.5 | 0.207547 | 0.226415 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101449 | 207 | 8 | 40 | 25.875 | 0.854839 | 0 | 0 | 0 | 0 | 0 | 0.082126 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.428571 | 0 | 0.428571 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
7076a8d4359e393b6133a1ed083fc8f6174286b0 | 204 | py | Python | api/config/base.py | phamtanvinh/victor-backend | edb52903a9db6b549fc412ff11570bc54deedba2 | [
"MIT"
] | null | null | null | api/config/base.py | phamtanvinh/victor-backend | edb52903a9db6b549fc412ff11570bc54deedba2 | [
"MIT"
] | 1 | 2019-09-15T17:31:01.000Z | 2019-09-15T17:31:01.000Z | api/config/base.py | phamtanvinh/victor-backend | edb52903a9db6b549fc412ff11570bc54deedba2 | [
"MIT"
] | 1 | 2019-10-28T10:23:14.000Z | 2019-10-28T10:23:14.000Z | import os
from . import POSTGRES_DATABASE_URI
class Config(object):
DEBUG = False
TESTING = False
SQLALCHEMY_DATABASE_URI = POSTGRES_DATABASE_URI
SQLALCHEMY_TRACK_MODIFICATIONS = False
| 18.545455 | 51 | 0.769608 | 24 | 204 | 6.208333 | 0.625 | 0.221477 | 0.255034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.191176 | 204 | 10 | 52 | 20.4 | 0.90303 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.285714 | 0 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
70a6fb14e5fe125662f0d48981cc54e7b17cdb96 | 131 | py | Python | jumpgate/compute/drivers/sl/extra_specs.py | Neetuj/jumpgate | 509c1d43a5f4b91c7f3ad5c0cd34abf61bb0a3ee | [
"MIT"
] | null | null | null | jumpgate/compute/drivers/sl/extra_specs.py | Neetuj/jumpgate | 509c1d43a5f4b91c7f3ad5c0cd34abf61bb0a3ee | [
"MIT"
] | null | null | null | jumpgate/compute/drivers/sl/extra_specs.py | Neetuj/jumpgate | 509c1d43a5f4b91c7f3ad5c0cd34abf61bb0a3ee | [
"MIT"
] | null | null | null |
class ExtraSpecsFlavorV2(object):
def on_get(self, req, resp, tenant_id, flavor_id):
resp.body = {'extra_specs': ''}
| 21.833333 | 54 | 0.656489 | 17 | 131 | 4.823529 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009524 | 0.198473 | 131 | 5 | 55 | 26.2 | 0.771429 | 0 | 0 | 0 | 0 | 0 | 0.085271 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
561ce5bb626219a9fb08565750f3ac3909b1e89a | 61 | py | Python | api/chalicelib/singletons.py | joseph-behrens/vaccine-availability-notifications | aa8c0be201899c4b789d6599af83959a01c92ad9 | [
"MIT"
] | 9 | 2021-03-31T16:10:19.000Z | 2022-01-20T22:31:30.000Z | api/chalicelib/singletons.py | joseph-behrens/vaccine-availability-notifications | aa8c0be201899c4b789d6599af83959a01c92ad9 | [
"MIT"
] | 6 | 2021-04-17T02:20:46.000Z | 2021-05-11T03:19:55.000Z | api/chalicelib/singletons.py | joseph-behrens/vaccine-availability-notifications | aa8c0be201899c4b789d6599af83959a01c92ad9 | [
"MIT"
] | 1 | 2021-04-18T00:23:12.000Z | 2021-04-18T00:23:12.000Z | from typing import Any, Optional
app: Optional[Any] = None
| 12.2 | 32 | 0.737705 | 9 | 61 | 5 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180328 | 61 | 4 | 33 | 15.25 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
565b8a9c386a5dc584dc3bfd9995a392837e5d69 | 271 | py | Python | packages/jsii-pacmak/test/expected.jsii-calc/python/src/jsii_calc/_jsii/__init__.py | ddinu/jsii | 7b3b059ff4cf1e7f02ddb4234ec8185967df207d | [
"Apache-2.0"
] | null | null | null | packages/jsii-pacmak/test/expected.jsii-calc/python/src/jsii_calc/_jsii/__init__.py | ddinu/jsii | 7b3b059ff4cf1e7f02ddb4234ec8185967df207d | [
"Apache-2.0"
] | 1 | 2019-10-01T06:22:28.000Z | 2019-10-01T06:22:28.000Z | packages/jsii-pacmak/test/expected.jsii-calc/python/src/jsii_calc/_jsii/__init__.py | ddinu/jsii | 7b3b059ff4cf1e7f02ddb4234ec8185967df207d | [
"Apache-2.0"
] | null | null | null | import abc
import datetime
import enum
import typing
import jsii
import jsii.compat
import publication
from jsii.python import classproperty
import scope.jsii_calc_base
import scope.jsii_calc_base_of_base
import scope.jsii_calc_lib
__all__ = []
publication.publish()
| 15.055556 | 37 | 0.841328 | 40 | 271 | 5.4 | 0.45 | 0.152778 | 0.208333 | 0.263889 | 0.319444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118081 | 271 | 17 | 38 | 15.941176 | 0.903766 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.846154 | 0 | 0.846154 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
567eedc8919d8ab7720d60174383fcac92b506f8 | 13,115 | py | Python | code/libs/algos_vec.py | mfzimmer/Neograd | ade7583fff00a56ad7768c114e0a2945faa4babc | [
"MIT"
] | 10 | 2020-10-16T13:42:55.000Z | 2021-06-23T09:30:40.000Z | code/libs/algos_vec.py | mfzimmer/Neograd | ade7583fff00a56ad7768c114e0a2945faa4babc | [
"MIT"
] | null | null | null | code/libs/algos_vec.py | mfzimmer/Neograd | ade7583fff00a56ad7768c114e0a2945faa4babc | [
"MIT"
] | null | null | null |
import numpy as np
import costgrad_vec as cg
import common as co
import params as pm
import common_vec as cv
# ====================================================================
def get_dp_momentum( beta, grad, v, i, alpha ):
v = beta * v + (1-beta) * grad
v_est = v / (1 - np.power(beta, i+1))
dp ... | 39.384384 | 196 | 0.498361 | 1,840 | 13,115 | 3.288587 | 0.106522 | 0.03173 | 0.015865 | 0.016361 | 0.775409 | 0.747149 | 0.725169 | 0.721699 | 0.683028 | 0.667493 | 0 | 0.013001 | 0.272741 | 13,115 | 332 | 197 | 39.503012 | 0.621409 | 0.254594 | 0 | 0.665 | 0 | 0 | 0.062171 | 0.00763 | 0 | 0 | 0 | 0 | 0 | 1 | 0.045 | false | 0 | 0.025 | 0 | 0.07 | 0.09 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
3b385665b420942e0e572d50604f509b29d2b818 | 583 | py | Python | condiment/tests/test_bounds.py | WeilerWebServices/Kivy | 54e3438156eb0c853790fd3cecc593f09123f892 | [
"MIT"
] | 3 | 2015-01-02T16:18:28.000Z | 2018-12-12T16:16:16.000Z | condiment/tests/test_bounds.py | WeilerWebServices/Kivy | 54e3438156eb0c853790fd3cecc593f09123f892 | [
"MIT"
] | 2 | 2018-03-16T22:01:12.000Z | 2020-01-13T10:33:22.000Z | condiment/tests/test_bounds.py | WeilerWebServices/Kivy | 54e3438156eb0c853790fd3cecc593f09123f892 | [
"MIT"
] | 2 | 2015-04-26T15:31:40.000Z | 2017-09-12T12:36:14.000Z | #exclude
import condiment; condiment.install()
#endexclude
def hello():
if WITH_TIMEBOMB:
print 'timebomb feature is activated'
if WITH_INAPP_PURCHASE:
print 'this would be activated only if timebomb + inapp purchase'
if WITH_TIMEBOMB and not WITH_INAPP_PURCHASE:
print 'only... | 36.4375 | 77 | 0.727273 | 77 | 583 | 5.324675 | 0.363636 | 0.221951 | 0.165854 | 0.214634 | 0.253659 | 0.180488 | 0.180488 | 0 | 0 | 0 | 0 | 0 | 0.226415 | 583 | 15 | 78 | 38.866667 | 0.909091 | 0.02916 | 0 | 0 | 0 | 0 | 0.391844 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.083333 | null | null | 0.416667 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
3b4c882c251b3babe4b819fa5e7f0ff43b061f11 | 372 | py | Python | code/src/evaluate_rules/fidelity.py | ZohrehShams/IntegrativeRuleExtractionMethodology | fd7b569d11de540ffe94e0cc588e78305e45689e | [
"MIT"
] | 1 | 2022-03-20T12:33:16.000Z | 2022-03-20T12:33:16.000Z | code/src/evaluate_rules/fidelity.py | ZohrehShams/IntegrativeRuleExtractionMethodology | fd7b569d11de540ffe94e0cc588e78305e45689e | [
"MIT"
] | null | null | null | code/src/evaluate_rules/fidelity.py | ZohrehShams/IntegrativeRuleExtractionMethodology | fd7b569d11de540ffe94e0cc588e78305e45689e | [
"MIT"
] | 1 | 2022-03-20T12:33:58.000Z | 2022-03-20T12:33:58.000Z | """
Evaluate fidelity of rules generated i.e. how well do they mimic the performance of the Neural Network
"""
import pandas as pd
def fidelity(predicted_labels, network_labels):
assert (len(predicted_labels) == len(network_labels)), "Error: number of labels inconsistent !"
fid = sum(predicted_labels == netw... | 28.615385 | 102 | 0.747312 | 51 | 372 | 5.313725 | 0.607843 | 0.221402 | 0.162362 | 0.206642 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163978 | 372 | 12 | 103 | 31 | 0.871383 | 0.274194 | 0 | 0 | 1 | 0 | 0.145038 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
3b825c4d702c8c5c43b6c4a4ac550d1ec446e9be | 10,768 | py | Python | bayespy/inference/vmp/nodes/tests/test_gate.py | dungvtdev/upsbayescpm | f6ee877c689046d3c57a2ac06742cfe4a0b6550e | [
"MIT"
] | 5 | 2015-04-16T11:50:18.000Z | 2020-11-04T20:18:12.000Z | bayespy/inference/vmp/nodes/tests/test_gate.py | dungvtdev/upsbayescpm | f6ee877c689046d3c57a2ac06742cfe4a0b6550e | [
"MIT"
] | null | null | null | bayespy/inference/vmp/nodes/tests/test_gate.py | dungvtdev/upsbayescpm | f6ee877c689046d3c57a2ac06742cfe4a0b6550e | [
"MIT"
] | 3 | 2015-04-16T11:50:19.000Z | 2021-12-14T08:39:24.000Z | ################################################################################
# Copyright (C) 2014 Jaakko Luttinen
#
# This file is licensed under the MIT License.
################################################################################
"""
Unit tests for `gate` module.
"""
import numpy as np
from bayesp... | 32.239521 | 80 | 0.465175 | 1,548 | 10,768 | 3.176357 | 0.071059 | 0.020744 | 0.034167 | 0.040268 | 0.830995 | 0.771609 | 0.723409 | 0.689852 | 0.656905 | 0.63616 | 0 | 0.097068 | 0.347511 | 10,768 | 333 | 81 | 32.336336 | 0.602761 | 0.082467 | 0 | 0.682403 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.287554 | 1 | 0.017167 | false | 0.017167 | 0.025751 | 0 | 0.04721 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
3b93b37b1d3af11e900399b40fbbcb4506593f26 | 2,098 | py | Python | scripts/test.dlint2.py | thannd/jalangi | d8607e55d73c717f3a6eb27fd6a57b586d73298f | [
"Apache-2.0"
] | 86 | 2020-08-05T21:04:32.000Z | 2022-02-08T08:55:41.000Z | scripts/test.dlint2.py | thannd/jalangi | d8607e55d73c717f3a6eb27fd6a57b586d73298f | [
"Apache-2.0"
] | 7 | 2015-01-07T02:00:48.000Z | 2017-09-29T12:43:34.000Z | scripts/test.dlint2.py | thannd/jalangi | d8607e55d73c717f3a6eb27fd6a57b586d73298f | [
"Apache-2.0"
] | 24 | 2015-01-26T07:57:27.000Z | 2021-08-08T17:20:34.000Z | import sj
import sys
analyses = ['../src/js/analyses2/ChainedAnalyses2.js',
'../src/js/analyses2/dlint/Utils.js',
'../src/js/analyses2/dlint/FunCalledWithMoreArguments.js',
'../src/js/analyses2/dlint/CompareFunctionWithPrimitives.js',
'../src/js/analyses2/dlint/UndefinedOffset.js',
'../src/js/analyses2/dlint/Chec... | 39.584906 | 134 | 0.718303 | 309 | 2,098 | 4.838188 | 0.294498 | 0.073579 | 0.066221 | 0.108361 | 0.521739 | 0.412709 | 0.412709 | 0.341806 | 0.341806 | 0.313043 | 0 | 0.027748 | 0.106768 | 2,098 | 52 | 135 | 40.346154 | 0.770011 | 0 | 0 | 0.121951 | 0 | 0.219512 | 0.70734 | 0.412774 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.02439 | 0.04878 | null | null | 0.097561 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8e5b6ec44797822e05037d4b5c952ba9977676e5 | 225 | py | Python | topCoder/srms/400s/srm431/div2/mega_cool_numbers.py | ferhatelmas/algo | a7149c7a605708bc01a5cd30bf5455644cefd04d | [
"WTFPL"
] | 25 | 2015-01-21T16:39:18.000Z | 2021-05-24T07:01:24.000Z | topCoder/srms/400s/srm431/div2/mega_cool_numbers.py | ferhatelmas/algo | a7149c7a605708bc01a5cd30bf5455644cefd04d | [
"WTFPL"
] | 2 | 2020-09-30T19:39:36.000Z | 2020-10-01T17:15:16.000Z | topCoder/srms/400s/srm431/div2/mega_cool_numbers.py | ferhatelmas/algo | a7149c7a605708bc01a5cd30bf5455644cefd04d | [
"WTFPL"
] | 15 | 2015-01-21T16:39:27.000Z | 2020-10-01T17:00:22.000Z | class MegaCoolNumbersEasy:
def count(self, N):
def is_mega(s):
return len(set(ord(s[i]) - ord(s[i - 1]) for i in range(1, len(s)))) < 2
return sum([is_mega(str(e)) for e in xrange(1, N + 1)])
| 32.142857 | 84 | 0.546667 | 41 | 225 | 2.95122 | 0.560976 | 0.099174 | 0.082645 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030675 | 0.275556 | 225 | 6 | 85 | 37.5 | 0.711656 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.2 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
8e97e30fadd961bb4546dce7a3710341dcc1a9db | 272 | py | Python | efficient/display.py | antonydeepak/Efficient | ef12058a0d880ebdcf063ad2300ce6b9cd8ebb20 | [
"MIT"
] | null | null | null | efficient/display.py | antonydeepak/Efficient | ef12058a0d880ebdcf063ad2300ce6b9cd8ebb20 | [
"MIT"
] | 2 | 2018-11-27T07:00:06.000Z | 2019-02-15T06:12:51.000Z | efficient/display.py | antonydeepak/Efficient | ef12058a0d880ebdcf063ad2300ce6b9cd8ebb20 | [
"MIT"
] | null | null | null | from abc import ABC
from abc import abstractmethod
class Display(ABC):
@abstractmethod
def write(self, message, color):
raise NotImplementedError('abstract type')
@abstractmethod
def clear(self):
raise NotImplementedError('abstract type') | 24.727273 | 50 | 0.713235 | 29 | 272 | 6.689655 | 0.551724 | 0.072165 | 0.134021 | 0.371134 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.209559 | 272 | 11 | 51 | 24.727273 | 0.902326 | 0 | 0 | 0.444444 | 0 | 0 | 0.095238 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.222222 | 0 | 0.555556 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
8ed15dff4fd01ba1eacf7b3e54cecc2743631352 | 227 | py | Python | examples/helpers/post/upload_image_to_feed.py | javad94/instauto | 8d4d068863176b0a1df13e5be3d5e32388036921 | [
"MIT"
] | 79 | 2020-08-24T23:32:57.000Z | 2022-02-20T19:03:17.000Z | examples/helpers/post/upload_image_to_feed.py | klaytonpaiva/instauto | 7f8c26b22f84d3d966625c7fa656e91cc623bb2e | [
"MIT"
] | 146 | 2020-07-25T16:27:48.000Z | 2021-10-02T09:03:50.000Z | examples/helpers/post/upload_image_to_feed.py | klaytonpaiva/instauto | 7f8c26b22f84d3d966625c7fa656e91cc623bb2e | [
"MIT"
] | 41 | 2020-09-07T14:19:04.000Z | 2022-02-07T23:08:10.000Z | from instauto.api.client import ApiClient
from instauto.helpers.post import upload_image_to_feed
client = ApiClient.initiate_from_file('.instauto.save')
upload_image_to_feed(client, "./test-feed.jpg", "Hello from instauto!")
| 32.428571 | 71 | 0.810573 | 33 | 227 | 5.333333 | 0.545455 | 0.204545 | 0.147727 | 0.193182 | 0.261364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079295 | 227 | 6 | 72 | 37.833333 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0.216814 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
d916cfaf064231858e711c92613a053f86382e83 | 65 | py | Python | hdlConvertorAst/to/hwt/__init__.py | mewais/hdlConvertorAst | 64c8c1deee923ffae17e70e0fb1ad763cb69608c | [
"MIT"
] | null | null | null | hdlConvertorAst/to/hwt/__init__.py | mewais/hdlConvertorAst | 64c8c1deee923ffae17e70e0fb1ad763cb69608c | [
"MIT"
] | null | null | null | hdlConvertorAst/to/hwt/__init__.py | mewais/hdlConvertorAst | 64c8c1deee923ffae17e70e0fb1ad763cb69608c | [
"MIT"
] | null | null | null | """
Convert HdlConvertor AST to a HWT component declarations
"""
| 16.25 | 56 | 0.753846 | 8 | 65 | 6.125 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 65 | 3 | 57 | 21.666667 | 0.890909 | 0.861538 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
794f87bedecad232fbf4083f635b29ec07adc499 | 23 | py | Python | APIs/Oauth/venv/lib/python3.8/site-packages/sanic/__version__.py | clarencejlee/jdp | d3d31db0138ff06f2f5ec592d85317941af4f280 | [
"MIT"
] | null | null | null | APIs/Oauth/venv/lib/python3.8/site-packages/sanic/__version__.py | clarencejlee/jdp | d3d31db0138ff06f2f5ec592d85317941af4f280 | [
"MIT"
] | null | null | null | APIs/Oauth/venv/lib/python3.8/site-packages/sanic/__version__.py | clarencejlee/jdp | d3d31db0138ff06f2f5ec592d85317941af4f280 | [
"MIT"
] | null | null | null | __version__ = "21.3.4"
| 11.5 | 22 | 0.652174 | 4 | 23 | 2.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0.130435 | 23 | 1 | 23 | 23 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7961311657f99e1842f7c425c65ae79dbdc8de30 | 127 | py | Python | src/carica/models/__init__.py | Trimatix/carica | 074be16bdf50541eb3ba92ca42d0ad901cc51bd0 | [
"Apache-2.0"
] | 5 | 2021-09-08T07:29:23.000Z | 2021-11-24T00:18:22.000Z | src/carica/models/__init__.py | Trimatix/Carica | 074be16bdf50541eb3ba92ca42d0ad901cc51bd0 | [
"Apache-2.0"
] | 42 | 2021-09-08T07:31:25.000Z | 2022-01-16T17:39:34.000Z | src/carica/models/__init__.py | Trimatix/carica | 074be16bdf50541eb3ba92ca42d0ad901cc51bd0 | [
"Apache-2.0"
] | null | null | null | from .dataclasses import SerializableDataClass
from .path import SerializablePath
from .timedelta import SerializableTimedelta
| 31.75 | 46 | 0.88189 | 12 | 127 | 9.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094488 | 127 | 3 | 47 | 42.333333 | 0.973913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
79860d69bbe78c6aa79323ed7829a087b8de514f | 41 | py | Python | smktest/__init__.py | cecilio-cannav/smktest | 4839fcf2cb127fea56a62591833500540b49b9bc | [
"MIT"
] | null | null | null | smktest/__init__.py | cecilio-cannav/smktest | 4839fcf2cb127fea56a62591833500540b49b9bc | [
"MIT"
] | null | null | null | smktest/__init__.py | cecilio-cannav/smktest | 4839fcf2cb127fea56a62591833500540b49b9bc | [
"MIT"
] | null | null | null | import smktest.check
__all__=["smktest"] | 13.666667 | 20 | 0.780488 | 5 | 41 | 5.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073171 | 41 | 3 | 21 | 13.666667 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
799e255b698199ea6080f765b0fc94ea17776024 | 497 | py | Python | my.py | pscly/shua_shouji | 1c03056c8f5db4a3a1222b2d31fdf44c3ab07cf6 | [
"MulanPSL-1.0"
] | null | null | null | my.py | pscly/shua_shouji | 1c03056c8f5db4a3a1222b2d31fdf44c3ab07cf6 | [
"MulanPSL-1.0"
] | null | null | null | my.py | pscly/shua_shouji | 1c03056c8f5db4a3a1222b2d31fdf44c3ab07cf6 | [
"MulanPSL-1.0"
] | null | null | null |
class Dy:
def __init__(self):
pass
def qidongdouyin(self):
# [{'result': (911, 749), 'rectangle': ((853, 680), (853, 818), (970, 818), (970, 680)), 'confidence': 0.9559186100959778}]
# a1 = find_all(Template(r"tpl1607562338061.png", rgb=True, record_pos=(0.343, -0.39), resolutio... | 26.157895 | 131 | 0.547284 | 61 | 497 | 4.344262 | 0.786885 | 0.045283 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217631 | 0.269618 | 497 | 18 | 132 | 27.611111 | 0.512397 | 0.60161 | 0 | 0 | 0 | 0 | 0.154255 | 0.154255 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.2 | 0 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
79a1e8be94723bd1ce7fced553ae78a86acea660 | 192 | py | Python | e2db/views.py | ron-wolf/e2db | 768732f8660d6012161754659947d3c794710d36 | [
"MIT"
] | 1 | 2019-01-12T17:08:16.000Z | 2019-01-12T17:08:16.000Z | e2db/views.py | ron-wolf/e2db | 768732f8660d6012161754659947d3c794710d36 | [
"MIT"
] | null | null | null | e2db/views.py | ron-wolf/e2db | 768732f8660d6012161754659947d3c794710d36 | [
"MIT"
] | null | null | null | from django.http import HttpResponse
def qr(request):
from e2db.utils import qr_page
param = request.GET.get('q', '')
result = qr_page(param)
return HttpResponse(result)
| 21.333333 | 36 | 0.682292 | 26 | 192 | 4.961538 | 0.615385 | 0.093023 | 0.170543 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006623 | 0.213542 | 192 | 8 | 37 | 24 | 0.847682 | 0 | 0 | 0 | 0 | 0 | 0.005208 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
79be94b583d882563047cb02f461bca6e9ebf5cb | 910 | py | Python | managerapi/EmpApi/models.py | anushiv25/Assignment | 8eefb9a038019c1a126b0b3040107e87e0964998 | [
"MIT"
] | null | null | null | managerapi/EmpApi/models.py | anushiv25/Assignment | 8eefb9a038019c1a126b0b3040107e87e0964998 | [
"MIT"
] | null | null | null | managerapi/EmpApi/models.py | anushiv25/Assignment | 8eefb9a038019c1a126b0b3040107e87e0964998 | [
"MIT"
] | null | null | null | from django.db import models
from django.conf import settings
from authentication.models import User
from django.core.validators import RegexValidator
#Employee Table
class Employee(models.Model):
emp_id = models.CharField(max_length=15, unique=True)
email = models.EmailField(max_length=255, unique=True)
f... | 39.565217 | 98 | 0.745055 | 122 | 910 | 5.409836 | 0.47541 | 0.122727 | 0.218182 | 0.290909 | 0.283333 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035019 | 0.152747 | 910 | 23 | 99 | 39.565217 | 0.821012 | 0.072527 | 0 | 0 | 0 | 0 | 0.032028 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.052632 | false | 0.052632 | 0.210526 | 0.052632 | 0.947368 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
79ca5eda919f60a8180fa12a3829c66eded13a27 | 3,369 | py | Python | JOI2013-D/test_pasted_from_page.py | staguchi0703/ant_book_dp | 7609579696eb34ee1f0d95cc0c68d3ad28c19261 | [
"MIT"
] | null | null | null | JOI2013-D/test_pasted_from_page.py | staguchi0703/ant_book_dp | 7609579696eb34ee1f0d95cc0c68d3ad28c19261 | [
"MIT"
] | null | null | null | JOI2013-D/test_pasted_from_page.py | staguchi0703/ant_book_dp | 7609579696eb34ee1f0d95cc0c68d3ad28c19261 | [
"MIT"
] | null | null | null | #
from resolve import resolve
####################################
####################################
# 以下にプラグインの内容をペーストする
#
import sys
from io import StringIO
import unittest
class TestClass(unittest.TestCase):
def assertIO(self, input, output):
stdout, stdin = sys.stdout, sys.stdin
sys.stdou... | 7.437086 | 59 | 0.609083 | 927 | 3,369 | 2.19849 | 0.137001 | 0.02208 | 0.017664 | 0.025025 | 0.051521 | 0.032385 | 0.032385 | 0 | 0 | 0 | 0 | 0.684072 | 0.323538 | 3,369 | 452 | 60 | 7.45354 | 0.21018 | 0.005343 | 0 | 0.387244 | 0 | 0 | 0.736553 | 0 | 0 | 1 | 0 | 0 | 0.01139 | 1 | 0.009112 | false | 0 | 0.009112 | 0 | 0.020501 | 0.006834 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
79cd980a9b8d8a38ea7c7fe000439f6d598e65ce | 80 | py | Python | simulador/__init__.py | dantebarba/disk-scheduling-simulator | 566a07f1f23bc0a74bbbb51607de98b247ad563f | [
"MIT"
] | null | null | null | simulador/__init__.py | dantebarba/disk-scheduling-simulator | 566a07f1f23bc0a74bbbb51607de98b247ad563f | [
"MIT"
] | null | null | null | simulador/__init__.py | dantebarba/disk-scheduling-simulator | 566a07f1f23bc0a74bbbb51607de98b247ad563f | [
"MIT"
] | null | null | null |
import interface
import data
data.Config.load_config()
interface.main()
| 11.428571 | 26 | 0.7375 | 10 | 80 | 5.8 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175 | 80 | 6 | 27 | 13.333333 | 0.878788 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
8db738dd401da79056f53bf3711bb9a840f4e685 | 60 | py | Python | code/abc086_b_03.py | KoyanagiHitoshi/AtCoder | 731892543769b5df15254e1f32b756190378d292 | [
"MIT"
] | 3 | 2019-08-16T16:55:48.000Z | 2021-04-11T10:21:40.000Z | code/abc086_b_03.py | KoyanagiHitoshi/AtCoder | 731892543769b5df15254e1f32b756190378d292 | [
"MIT"
] | null | null | null | code/abc086_b_03.py | KoyanagiHitoshi/AtCoder | 731892543769b5df15254e1f32b756190378d292 | [
"MIT"
] | null | null | null | print("No" if int(input().replace(" ",""))**.5%1 else "Yes") | 60 | 60 | 0.55 | 10 | 60 | 3.3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036364 | 0.083333 | 60 | 1 | 60 | 60 | 0.563636 | 0 | 0 | 0 | 0 | 0 | 0.098361 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
8dc27663d2afbe05e8159277edb60fd629fee7e6 | 239 | py | Python | idseq_pipeline/commands/host_indexing.py | cdebourcy/idseq-pipeline | 0f3d58ab36896bb01ab3929d8386c0e2774765f4 | [
"MIT"
] | null | null | null | idseq_pipeline/commands/host_indexing.py | cdebourcy/idseq-pipeline | 0f3d58ab36896bb01ab3929d8386c0e2774765f4 | [
"MIT"
] | 159 | 2018-01-11T01:54:12.000Z | 2021-01-13T23:11:48.000Z | idseq_pipeline/commands/host_indexing.py | cdebourcy/idseq-pipeline | 0f3d58ab36896bb01ab3929d8386c0e2774765f4 | [
"MIT"
] | 2 | 2019-04-17T18:10:36.000Z | 2020-03-11T08:30:54.000Z | """The host-indexing command."""
from .base import Base
class Host_indexing(Base):
"""Perform indexing"""
def run(self):
from .host_indexing_functions import *
set_up_stdout()
make_indexes(self.version)
| 18.384615 | 46 | 0.65272 | 29 | 239 | 5.172414 | 0.655172 | 0.24 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.230126 | 239 | 12 | 47 | 19.916667 | 0.815217 | 0.179916 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
8dcb690687eb2616d65ca467e668274b285ee6f2 | 32 | py | Python | tests/__init__.py | kleekaai/cc | 5f4302b3c5018c60589949a29fdd4027ae20f2ba | [
"MIT"
] | null | null | null | tests/__init__.py | kleekaai/cc | 5f4302b3c5018c60589949a29fdd4027ae20f2ba | [
"MIT"
] | null | null | null | tests/__init__.py | kleekaai/cc | 5f4302b3c5018c60589949a29fdd4027ae20f2ba | [
"MIT"
] | null | null | null | """Unit test package for cc."""
| 16 | 31 | 0.625 | 5 | 32 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 32 | 1 | 32 | 32 | 0.740741 | 0.78125 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8dfb017506cac21c3aa9d0296b68f9536981ceaa | 692 | py | Python | api/app/models/time.py | HotMaps/Toolbox | ba1e287dbc63e34bf9feb80b65b02c1db93ce91c | [
"Apache-2.0"
] | 4 | 2020-10-01T10:38:06.000Z | 2021-12-28T03:11:18.000Z | api/app/models/time.py | HotMaps/Toolbox | ba1e287dbc63e34bf9feb80b65b02c1db93ce91c | [
"Apache-2.0"
] | 9 | 2017-11-08T17:29:10.000Z | 2020-08-31T15:28:31.000Z | api/app/models/time.py | HotMaps/Toolbox | ba1e287dbc63e34bf9feb80b65b02c1db93ce91c | [
"Apache-2.0"
] | 4 | 2019-03-25T13:24:14.000Z | 2021-07-16T20:52:51.000Z | from app import dbGIS as db
class Time(db.Model):
__tablename__ = 'time'
__table_args__ = (
{"schema": 'stat'}
)
id = db.Column(db.Integer, primary_key=True)
granularity = db.Column(db.String(14))
date = db.Column(db.Date)
hour_of_year = db.Column(db.BigInteger)
hour_of_day = ... | 28.833333 | 73 | 0.641618 | 97 | 692 | 4.391753 | 0.484536 | 0.206573 | 0.258216 | 0.206573 | 0.244131 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01083 | 0.199422 | 692 | 23 | 74 | 30.086957 | 0.758123 | 0 | 0 | 0 | 0 | 0 | 0.054913 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.052632 | false | 0 | 0.052632 | 0.052632 | 0.894737 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
5c120ed90337e22bd4658b43ccf13c8f26e78395 | 181 | py | Python | content/notebooks/demo.py | ueapy/ueapy.github.io | 920f25f4189512a77aa6b79eae133db0f14e514a | [
"MIT"
] | 2 | 2016-02-02T06:15:38.000Z | 2016-11-28T10:31:43.000Z | content/notebooks/demo.py | ueapy/ueapy.github.io | 920f25f4189512a77aa6b79eae133db0f14e514a | [
"MIT"
] | null | null | null | content/notebooks/demo.py | ueapy/ueapy.github.io | 920f25f4189512a77aa6b79eae133db0f14e514a | [
"MIT"
] | 3 | 2016-01-22T11:27:08.000Z | 2018-02-09T16:20:57.000Z | # A demo module
def show_me_a():
"""Prints a."""
print('a')
def show_me_b():
"""Prints b."""
print('b')
c = 2
d = 2
if __name__ == '__main__':
show_me_a()
| 10.055556 | 26 | 0.508287 | 29 | 181 | 2.689655 | 0.517241 | 0.230769 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015385 | 0.281768 | 181 | 17 | 27 | 10.647059 | 0.584615 | 0.187845 | 0 | 0 | 0 | 0 | 0.073529 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.25 | 0.25 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5c24430d8a1848d22bf829b5101632598a9406f3 | 149 | py | Python | png.py | apricis/rel_import | f8bf38ca9aee2798221a8d29e5c05a3fe1e0eea8 | [
"MIT"
] | null | null | null | png.py | apricis/rel_import | f8bf38ca9aee2798221a8d29e5c05a3fe1e0eea8 | [
"MIT"
] | null | null | null | png.py | apricis/rel_import | f8bf38ca9aee2798221a8d29e5c05a3fe1e0eea8 | [
"MIT"
] | 1 | 2020-01-21T02:51:42.000Z | 2020-01-21T02:51:42.000Z | import gif
class Png:
pass
if __name__ == "__main__":
# will print that if this file is iterpreted
print "Gif imported successfully"
| 13.545455 | 48 | 0.684564 | 20 | 149 | 4.7 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.255034 | 149 | 10 | 49 | 14.9 | 0.846847 | 0.281879 | 0 | 0 | 0 | 0 | 0.314286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.2 | 0.4 | null | null | 0.2 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 4 |
5c3ebfd52c4c6e44b245810f5397bfc8542b0504 | 343 | py | Python | mpunet/evaluate/__init__.py | alexsosn/MultiPlanarUNet | 2d1cecdee391be8e9f72da95e33077ed82a2183a | [
"MIT"
] | 156 | 2018-12-19T19:21:30.000Z | 2022-03-10T13:14:52.000Z | mpunet/evaluate/__init__.py | alexsosn/MultiPlanarUNet | 2d1cecdee391be8e9f72da95e33077ed82a2183a | [
"MIT"
] | 25 | 2019-07-30T07:45:26.000Z | 2022-02-10T00:38:31.000Z | mpunet/evaluate/__init__.py | alexsosn/MultiPlanarUNet | 2d1cecdee391be8e9f72da95e33077ed82a2183a | [
"MIT"
] | 33 | 2019-01-26T16:34:50.000Z | 2022-02-20T13:48:44.000Z | from .metrics import dice_all
from .loss_functions import (SparseExponentialLogarithmicLoss,
SparseDiceLoss,
SparseExpLogDice,
SparseFocalLoss,
SparseGeneralizedDiceLoss,
Spar... | 42.875 | 62 | 0.51312 | 15 | 343 | 11.6 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.460641 | 343 | 7 | 63 | 49 | 0.940541 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.285714 | 0 | 0.285714 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5c43191601dfbaef10bb38220167bfa11e4bedcc | 57 | py | Python | atcoder/abc/a107.py | tomato-300yen/coding | db6f440a96d8c83f486005c650461a69f27e3926 | [
"MIT"
] | null | null | null | atcoder/abc/a107.py | tomato-300yen/coding | db6f440a96d8c83f486005c650461a69f27e3926 | [
"MIT"
] | null | null | null | atcoder/abc/a107.py | tomato-300yen/coding | db6f440a96d8c83f486005c650461a69f27e3926 | [
"MIT"
] | null | null | null | N, i = tuple(map(int, input().split()))
print(N - i + 1)
| 19 | 39 | 0.54386 | 11 | 57 | 2.818182 | 0.818182 | 0.129032 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021277 | 0.175439 | 57 | 2 | 40 | 28.5 | 0.638298 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
3091139069dd0c5c1ef63027068ea7997d94533c | 33,748 | py | Python | src/members/views.py | GMNaim/Online-Project-Tracking-System | d727c6033c4abbacb5288179ee6ae5889a7a83a9 | [
"MIT"
] | null | null | null | src/members/views.py | GMNaim/Online-Project-Tracking-System | d727c6033c4abbacb5288179ee6ae5889a7a83a9 | [
"MIT"
] | null | null | null | src/members/views.py | GMNaim/Online-Project-Tracking-System | d727c6033c4abbacb5288179ee6ae5889a7a83a9 | [
"MIT"
] | null | null | null | # members/views.py
from datetime import datetime
from accounts.decorators import has_access, has_access_to_assigned_task
from accounts.models import User
from django.contrib import messages
from django.contrib.auth.decorators import login_required
from django.contrib.auth.models import Group
from django.forms import m... | 33,748 | 33,748 | 0.611325 | 3,859 | 33,748 | 5.019435 | 0.066079 | 0.021941 | 0.017192 | 0.024781 | 0.695922 | 0.621683 | 0.568973 | 0.535209 | 0.50382 | 0.45142 | 0 | 0.006777 | 0.304848 | 33,748 | 1 | 33,748 | 33,748 | 0.818883 | 0.992681 | 0 | 0.350453 | 0 | 0 | 0.088242 | 0.037811 | 0 | 0 | 0 | 0 | 0 | 1 | 0.039275 | false | 0.009063 | 0.02719 | 0 | 0.135952 | 0.006042 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
30aabb6e715d7a5d13208feab88d6580cccb8208 | 109 | py | Python | icon_picker_widget/apps.py | mik0w/django-material-icon-widget | da5e584fabe52585bc564b1680163a9f9a53d271 | [
"MIT"
] | null | null | null | icon_picker_widget/apps.py | mik0w/django-material-icon-widget | da5e584fabe52585bc564b1680163a9f9a53d271 | [
"MIT"
] | null | null | null | icon_picker_widget/apps.py | mik0w/django-material-icon-widget | da5e584fabe52585bc564b1680163a9f9a53d271 | [
"MIT"
] | 1 | 2021-12-11T02:03:42.000Z | 2021-12-11T02:03:42.000Z | from django.apps import AppConfig
class IconPickerWidgetConfig(AppConfig):
name = 'icon_picker_widget'
| 18.166667 | 40 | 0.798165 | 12 | 109 | 7.083333 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137615 | 109 | 5 | 41 | 21.8 | 0.904255 | 0 | 0 | 0 | 0 | 0 | 0.165138 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
30b7d79508a571d5e51377188c43de83a624e2c1 | 204 | py | Python | aiida_basis/groups/set/__init__.py | zooks97/aiida-basis | cfc3f57c9e33eebacf3fe11922fc8851df1c3c47 | [
"MIT"
] | null | null | null | aiida_basis/groups/set/__init__.py | zooks97/aiida-basis | cfc3f57c9e33eebacf3fe11922fc8851df1c3c47 | [
"MIT"
] | 2 | 2021-09-21T11:28:55.000Z | 2021-09-21T12:13:48.000Z | aiida_basis/groups/set/__init__.py | zooks97/aiida-basis | cfc3f57c9e33eebacf3fe11922fc8851df1c3c47 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# pylint: disable=undefined-variable
"""Module with group plugins to represent basis sets."""
from .basis import *
from .openmx import *
__all__ = (basis.__all__, openmx.__all__)
| 25.5 | 56 | 0.710784 | 26 | 204 | 5.115385 | 0.730769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005714 | 0.142157 | 204 | 7 | 57 | 29.142857 | 0.754286 | 0.529412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
30c77f9a07ab066631ee29ec3aa43383a8f5d36b | 89 | py | Python | QAQ/webansi/apps.py | Brave01/ang | 767d964505297d41edb464020781ed312ffbd862 | [
"MIT"
] | 1 | 2019-09-19T04:53:22.000Z | 2019-09-19T04:53:22.000Z | QAQ/webansi/apps.py | Brave01/ang | 767d964505297d41edb464020781ed312ffbd862 | [
"MIT"
] | null | null | null | QAQ/webansi/apps.py | Brave01/ang | 767d964505297d41edb464020781ed312ffbd862 | [
"MIT"
] | 1 | 2021-12-28T04:26:02.000Z | 2021-12-28T04:26:02.000Z | from django.apps import AppConfig
class WebansiConfig(AppConfig):
name = 'webansi'
| 14.833333 | 33 | 0.752809 | 10 | 89 | 6.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168539 | 89 | 5 | 34 | 17.8 | 0.905405 | 0 | 0 | 0 | 0 | 0 | 0.078652 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
30dcf763fa923776ad4733238959db1f1ff8a769 | 137 | py | Python | Exareme-Docker/src/exareme/exareme-tools/madis/src/lib/colorama/__init__.py | tchamabe1979/exareme | 462983e4feec7808e1fd447d02901502588a8879 | [
"MIT"
] | null | null | null | Exareme-Docker/src/exareme/exareme-tools/madis/src/lib/colorama/__init__.py | tchamabe1979/exareme | 462983e4feec7808e1fd447d02901502588a8879 | [
"MIT"
] | null | null | null | Exareme-Docker/src/exareme/exareme-tools/madis/src/lib/colorama/__init__.py | tchamabe1979/exareme | 462983e4feec7808e1fd447d02901502588a8879 | [
"MIT"
] | null | null | null | from .ansi import Fore, Back, Style
from .ansitowin32 import AnsiToWin32
from .initialise import init, deinit, reinit
VERSION = '0.2.4'
| 22.833333 | 44 | 0.766423 | 20 | 137 | 5.25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059829 | 0.145985 | 137 | 5 | 45 | 27.4 | 0.837607 | 0 | 0 | 0 | 0 | 0 | 0.036496 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
30e5f86fbd1df731385cdfeb3fab535be78c23a3 | 129 | py | Python | configs/__init__.py | RichardoMrMu/repvgg-xgaze | c32e6bb3b9a53848cd407ce54f8b685390f293d9 | [
"MIT"
] | null | null | null | configs/__init__.py | RichardoMrMu/repvgg-xgaze | c32e6bb3b9a53848cd407ce54f8b685390f293d9 | [
"MIT"
] | null | null | null | configs/__init__.py | RichardoMrMu/repvgg-xgaze | c32e6bb3b9a53848cd407ce54f8b685390f293d9 | [
"MIT"
] | 1 | 2021-08-13T05:04:43.000Z | 2021-08-13T05:04:43.000Z | # -*- coding: utf-8 -*-
# @Time : 2021/4/27 10:21
# @Author : RichardoMu
# @File : __init__.py.py
# @Software: PyCharm | 25.8 | 29 | 0.55814 | 17 | 129 | 4 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122449 | 0.24031 | 129 | 5 | 30 | 25.8 | 0.571429 | 0.891473 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a505cebfb43cdebd7bfb087686052267236e0a23 | 104 | py | Python | event/Event.py | nicoale777/IdentificacionDeOrdenes | ea3eec1062168436fe06cfb4900c7fa4fdb7fe59 | [
"Apache-2.0"
] | 1 | 2020-10-15T15:40:40.000Z | 2020-10-15T15:40:40.000Z | event/Event.py | nicoale777/IdentificacionDeOrdenes | ea3eec1062168436fe06cfb4900c7fa4fdb7fe59 | [
"Apache-2.0"
] | null | null | null | event/Event.py | nicoale777/IdentificacionDeOrdenes | ea3eec1062168436fe06cfb4900c7fa4fdb7fe59 | [
"Apache-2.0"
] | 1 | 2020-10-15T15:35:31.000Z | 2020-10-15T15:35:31.000Z | class Event:
def __init__ (self, name:str, time:int):
self.name=name
self.time=time
| 20.8 | 44 | 0.605769 | 15 | 104 | 3.933333 | 0.6 | 0.271186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.278846 | 104 | 4 | 45 | 26 | 0.786667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a505f7d9ace464adabd091f0f5d0a9440dc1890b | 152 | py | Python | python_program.py | akatsukioshiro/Modularized_Automations | c79320fba183a38879e1bde84a9a92b36b34b852 | [
"MIT"
] | null | null | null | python_program.py | akatsukioshiro/Modularized_Automations | c79320fba183a38879e1bde84a9a92b36b34b852 | [
"MIT"
] | null | null | null | python_program.py | akatsukioshiro/Modularized_Automations | c79320fba183a38879e1bde84a9a92b36b34b852 | [
"MIT"
] | null | null | null | #!"D:\STORE\0-Admin\Desktop\Chatbot-Osiris bkp\python.exe"
import sys
import subprocess
subprocess.call("start cmd /k echo "+sys.argv[1], shell=True) | 38 | 61 | 0.743421 | 25 | 152 | 4.52 | 0.88 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014493 | 0.092105 | 152 | 4 | 61 | 38 | 0.804348 | 0.375 | 0 | 0 | 0 | 0 | 0.195652 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
a50641a4cfc1c95b426a9a1fa73b163c9a89b45a | 1,253 | py | Python | Examples/test.py | DavidNaizheZhou/RFEM_Python_Client | a5f7790b67de3423907ce10c0aa513c0a1aca47b | [
"MIT"
] | null | null | null | Examples/test.py | DavidNaizheZhou/RFEM_Python_Client | a5f7790b67de3423907ce10c0aa513c0a1aca47b | [
"MIT"
] | null | null | null | Examples/test.py | DavidNaizheZhou/RFEM_Python_Client | a5f7790b67de3423907ce10c0aa513c0a1aca47b | [
"MIT"
] | null | null | null | import sys
sys.path.append(".")
sys.path.append("../RFEM")
sys.path.append("../UnitTests")
#print(sys.path)
from RFEM.enums import *
from RFEM.window import *
from RFEM.dataTypes import *
from RFEM.initModel import *
from RFEM.BasicObjects.material import *
from RFEM.BasicObjects.section import *
from RFEM.BasicObject... | 30.560976 | 66 | 0.815642 | 159 | 1,253 | 6.345912 | 0.289308 | 0.190287 | 0.319128 | 0.334985 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093376 | 1,253 | 41 | 67 | 30.560976 | 0.888204 | 0.084597 | 0 | 0 | 0 | 0 | 0.023601 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.83871 | 0 | 0.83871 | 0.032258 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
a5170809844296d4c2110a0a46e42fde5ad1fd27 | 76 | py | Python | evaluator/RealTime/__init__.py | CryptoRichy/OctoBot | 1ca5bd2ba4b8fc09859518fcb2a62f74a1435019 | [
"Apache-2.0"
] | 1 | 2018-11-26T16:43:36.000Z | 2018-11-26T16:43:36.000Z | evaluator/RealTime/__init__.py | CryptoRichy/OctoBot | 1ca5bd2ba4b8fc09859518fcb2a62f74a1435019 | [
"Apache-2.0"
] | null | null | null | evaluator/RealTime/__init__.py | CryptoRichy/OctoBot | 1ca5bd2ba4b8fc09859518fcb2a62f74a1435019 | [
"Apache-2.0"
] | null | null | null | from .realtime_evaluator import *
from tentacles.Evaluator.RealTime import * | 38 | 42 | 0.842105 | 9 | 76 | 7 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092105 | 76 | 2 | 42 | 38 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
eb6ebb076c0bd52dbd86e7455c9e74e3fa6af5bf | 61 | py | Python | test_votesmart.py | AliaElKattan/python-votesmart | bb9f47563195eaab04a91a4dded00c2a8f418f2c | [
"BSD-3-Clause"
] | 50 | 2015-07-06T10:17:51.000Z | 2021-06-25T16:53:01.000Z | test_votesmart.py | AliaElKattan/python-votesmart | bb9f47563195eaab04a91a4dded00c2a8f418f2c | [
"BSD-3-Clause"
] | 6 | 2015-05-05T21:38:05.000Z | 2018-05-29T14:02:38.000Z | test_votesmart.py | AliaElKattan/python-votesmart | bb9f47563195eaab04a91a4dded00c2a8f418f2c | [
"BSD-3-Clause"
] | 26 | 2015-07-16T09:31:16.000Z | 2022-01-10T07:04:47.000Z | import doctest
doctest.testfile('README.rst', verbose=False)
| 20.333333 | 45 | 0.803279 | 8 | 61 | 6.125 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065574 | 61 | 2 | 46 | 30.5 | 0.859649 | 0 | 0 | 0 | 0 | 0 | 0.163934 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
eb6fce4b1485538e38a0ec7ca12736d096728bb9 | 4,528 | py | Python | gen_ips.py | 62726164/netscan | 5124457b3dbeb77a909716726f9c3c8005e3ae89 | [
"0BSD"
] | 27 | 2020-01-13T07:16:35.000Z | 2022-02-10T03:37:51.000Z | gen_ips.py | 62726164/netscan | 5124457b3dbeb77a909716726f9c3c8005e3ae89 | [
"0BSD"
] | null | null | null | gen_ips.py | 62726164/netscan | 5124457b3dbeb77a909716726f9c3c8005e3ae89 | [
"0BSD"
] | 4 | 2019-12-20T07:41:08.000Z | 2021-08-17T12:02:56.000Z | """ gen_ips.py - Generate a list of IPs for a few common IPv4 CIDR prefixes.
There are no range or sanity checks here. I assume the
user understands what an octet is and what the limits are.
This is very basic. There are much better programs for this. """
import sys
... | 35.100775 | 102 | 0.546599 | 610 | 4,528 | 4.014754 | 0.172131 | 0.068599 | 0.111474 | 0.137199 | 0.739077 | 0.739077 | 0.634545 | 0.634545 | 0.634545 | 0.634545 | 0 | 0.078554 | 0.291519 | 4,528 | 128 | 103 | 35.375 | 0.68485 | 0.000883 | 0 | 0.565217 | 1 | 0.01087 | 0.177677 | 0.006074 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.021739 | null | null | 0.152174 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
eb8504d523743d7728a8907cebcf87d23468590a | 366 | py | Python | src/include/falconn/ffht/ffht/__init__.py | 1flei/FALCONN | abe6996fa7f7c2debbd04e41e2acb564f71f370f | [
"MIT"
] | 1,068 | 2015-12-10T18:03:11.000Z | 2022-03-29T09:05:38.000Z | src/include/falconn/ffht/ffht/__init__.py | 1flei/FALCONN | abe6996fa7f7c2debbd04e41e2acb564f71f370f | [
"MIT"
] | 108 | 2015-12-10T21:14:41.000Z | 2022-03-15T17:51:17.000Z | src/include/falconn/ffht/ffht/__init__.py | 1flei/FALCONN | abe6996fa7f7c2debbd04e41e2acb564f71f370f | [
"MIT"
] | 224 | 2015-12-17T02:35:21.000Z | 2022-03-29T09:05:40.000Z | """Python wrapper for FFHT.
This is a Python wrapper for [FFHT](https://github.com/FALCONN-LIB/FFHT).
It exposes one function, `fht`, which performs the Fast Hadamard
Transform on a given one-dimensional NumPy array.
To the best of our knowledge, FFHT is currently the fastest open-source
implementation of *any* Fouri... | 30.5 | 73 | 0.770492 | 58 | 366 | 4.844828 | 0.741379 | 0.092527 | 0.113879 | 0.142349 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144809 | 366 | 11 | 74 | 33.272727 | 0.897764 | 0.915301 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
eb876842bfc4be6b3a38b2520a644e3f5baf5ecc | 46 | py | Python | res/public/explorer.py | ccebrecos/py-telegram-bot | b8f47da07e706fad189baaf059e9889ff932e9da | [
"Apache-2.0"
] | 2 | 2018-03-31T11:43:57.000Z | 2021-03-11T19:07:27.000Z | res/public/explorer.py | ccebrecos/py-telegram-bot | b8f47da07e706fad189baaf059e9889ff932e9da | [
"Apache-2.0"
] | null | null | null | res/public/explorer.py | ccebrecos/py-telegram-bot | b8f47da07e706fad189baaf059e9889ff932e9da | [
"Apache-2.0"
] | 1 | 2021-03-27T19:31:39.000Z | 2021-03-27T19:31:39.000Z | EXPLORER = "https://testnet.smartbit.com.au/"
| 23 | 45 | 0.717391 | 6 | 46 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065217 | 46 | 1 | 46 | 46 | 0.767442 | 0 | 0 | 0 | 0 | 0 | 0.695652 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
eb945d88c57ecac4798ddd5df64a2a174f7aeaf3 | 34,205 | py | Python | scripts/iclr_2018/generate_plots.py | alcinos/dps | 5467db1216e9f9089376d2c71f524ced2382e4f6 | [
"Apache-2.0"
] | null | null | null | scripts/iclr_2018/generate_plots.py | alcinos/dps | 5467db1216e9f9089376d2c71f524ced2382e4f6 | [
"Apache-2.0"
] | null | null | null | scripts/iclr_2018/generate_plots.py | alcinos/dps | 5467db1216e9f9089376d2c71f524ced2382e4f6 | [
"Apache-2.0"
] | null | null | null | from cycler import cycler
import os
import argparse
import numpy as np
import matplotlib.pyplot as plt
from dps.hyper import extract_data_from_job
from dps.utils import (
process_path, Config, sha_cache, set_clear_cache,
confidence_interval, standard_error
)
cache_dir = process_path('/home/eric/.cache/dps_pl... | 40.383707 | 135 | 0.673995 | 5,293 | 34,205 | 4.074438 | 0.054978 | 0.011314 | 0.033386 | 0.033386 | 0.867106 | 0.819021 | 0.764954 | 0.726607 | 0.620746 | 0.595243 | 0 | 0.029386 | 0.161321 | 34,205 | 846 | 136 | 40.431442 | 0.722383 | 0.033212 | 0 | 0.528642 | 0 | 0 | 0.258708 | 0.157361 | 0 | 0 | 0 | 0 | 0 | 1 | 0.021277 | false | 0 | 0.011457 | 0.001637 | 0.055646 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ccdccac561d82e48af3b228ad740d0bc33b81dba | 248 | py | Python | services/__init__.py | ongzhixian/python-apps | 11a0d0ce656a7e9d7bdff18dd29feaa2bb436ae6 | [
"MIT"
] | null | null | null | services/__init__.py | ongzhixian/python-apps | 11a0d0ce656a7e9d7bdff18dd29feaa2bb436ae6 | [
"MIT"
] | null | null | null | services/__init__.py | ongzhixian/python-apps | 11a0d0ce656a7e9d7bdff18dd29feaa2bb436ae6 | [
"MIT"
] | null | null | null | ################################################################################
# Define package composition
################################################################################
#__all__ = ["site", "url_dump", "palindrome", "phaser"]
| 41.333333 | 80 | 0.237903 | 9 | 248 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052419 | 248 | 5 | 81 | 49.6 | 0.229787 | 0.322581 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ccf2668370707c69d2224a2635f28aed842bd9be | 260 | py | Python | language/python/modules/inspect/inspect_module.py | bigfoolliu/liu_aistuff | aa661d37c05c257ee293285dd0868fb7e8227628 | [
"MIT"
] | 1 | 2019-11-25T07:23:42.000Z | 2019-11-25T07:23:42.000Z | language/python/modules/inspect/inspect_module.py | bigfoolliu/liu_aistuff | aa661d37c05c257ee293285dd0868fb7e8227628 | [
"MIT"
] | 13 | 2020-01-07T16:09:47.000Z | 2022-03-02T12:51:44.000Z | language/python/modules/inspect/inspect_module.py | bigfoolliu/liu_aistuff | aa661d37c05c257ee293285dd0868fb7e8227628 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding:utf-8 -*-
# author: bigfoolliu
"""
inspect模块
用于收集python对象的信息,可以获取类或函数的参数的信息,源码,解析堆栈,对对象进行类型检查等等
https://www.cnblogs.com/yaohong/p/8874154.html
主要作用:
1.对是否是模块、框架、函数进行类型检查
2.获取源码
3.获取类或者函数的参数信息
4.解析堆栈
"""
import inspect
| 12.380952 | 50 | 0.734615 | 36 | 260 | 5.305556 | 0.972222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055794 | 0.103846 | 260 | 20 | 51 | 13 | 0.763949 | 0.873077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
ccf89bb038f7544a20d01045c91c8cb4d8dbee96 | 13,370 | py | Python | tests/test.py | OpenITI/oimdp | 9cb0dfb298b90d85f08e248633369c0c3c494c65 | [
"MIT"
] | 1 | 2022-02-21T11:55:39.000Z | 2022-02-21T11:55:39.000Z | tests/test.py | OpenITI/oimdp | 9cb0dfb298b90d85f08e248633369c0c3c494c65 | [
"MIT"
] | 7 | 2022-02-05T09:04:20.000Z | 2022-02-06T15:31:28.000Z | tests/test.py | OpenITI/oimdp | 9cb0dfb298b90d85f08e248633369c0c3c494c65 | [
"MIT"
] | 1 | 2021-07-09T06:23:26.000Z | 2021-07-09T06:23:26.000Z | import sys
import os
sys.path.append(
os.path.abspath(os.path.join(os.path.dirname(__file__), os.path.pardir)))
import unittest
import oimdp
from oimdp.structures import Age, BioOrEvent, Date, DictionaryUnit, Document, DoxographicalItem, Editorial, Hemistich, Hukm, Isnad, Line, Matn, Milestone, MorphologicalPatter... | 50.643939 | 328 | 0.667838 | 1,719 | 13,370 | 5.150087 | 0.164631 | 0.149102 | 0.243872 | 0.175082 | 0.767311 | 0.764825 | 0.689823 | 0.537219 | 0.259008 | 0.180165 | 0 | 0.040084 | 0.178983 | 13,370 | 263 | 329 | 50.836502 | 0.766056 | 0.003889 | 0 | 0.052632 | 0 | 0 | 0.091483 | 0 | 0 | 0 | 0 | 0.003802 | 0.631579 | 1 | 0.114833 | false | 0 | 0.023923 | 0 | 0.143541 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 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 | 4 |
692e40a83ff38cf27e376a103fbca00be8f8d0df | 76 | py | Python | seasonedParser/exceptions.py | KevinMidboe/seasonMover | 380c4a02f48679c0204ecf1a5807718b93f2ff19 | [
"MIT"
] | null | null | null | seasonedParser/exceptions.py | KevinMidboe/seasonMover | 380c4a02f48679c0204ecf1a5807718b93f2ff19 | [
"MIT"
] | 9 | 2017-09-29T11:35:37.000Z | 2020-02-19T09:34:15.000Z | seasonedParser/exceptions.py | KevinMidboe/seasonedParser | 380c4a02f48679c0204ecf1a5807718b93f2ff19 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3.6
class InsufficientNameError(Exception):
pass
| 12.666667 | 39 | 0.736842 | 9 | 76 | 6.222222 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030769 | 0.144737 | 76 | 5 | 40 | 15.2 | 0.830769 | 0.302632 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
694d0580c884b425cc7776054d3543b1c96ba389 | 1,367 | py | Python | src/sima/workflow/blueprints/workflowrouting.py | SINTEF/simapy | 650b8c2f15503dad98e2bfc0d0788509593822c7 | [
"MIT"
] | null | null | null | src/sima/workflow/blueprints/workflowrouting.py | SINTEF/simapy | 650b8c2f15503dad98e2bfc0d0788509593822c7 | [
"MIT"
] | null | null | null | src/sima/workflow/blueprints/workflowrouting.py | SINTEF/simapy | 650b8c2f15503dad98e2bfc0d0788509593822c7 | [
"MIT"
] | null | null | null | #
# Generated with WorkflowRoutingBlueprint
from dmt.blueprint import Blueprint
from dmt.dimension import Dimension
from dmt.attribute import Attribute
from dmt.enum_attribute import EnumAttribute
from dmt.blueprint_attribute import BlueprintAttribute
from sima.sima.blueprints.moao import MOAOBlueprint
class Workflow... | 62.136364 | 143 | 0.752012 | 127 | 1,367 | 7.992126 | 0.330709 | 0.110345 | 0.157635 | 0.187192 | 0.384236 | 0.283744 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093636 | 1,367 | 22 | 144 | 62.136364 | 0.819209 | 0.02853 | 0 | 0 | 1 | 0 | 0.22138 | 0.134193 | 0 | 0 | 0 | 0 | 0 | 1 | 0.058824 | false | 0 | 0.352941 | 0 | 0.470588 | 0.529412 | 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 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 4 |
c632525ae113464408e447d8f5b00eef62e1b0cb | 91 | py | Python | backend/teaching/apps.py | cesko-digital/zacni-uc | 281c56aec5509d5dd8bbbd60f054ffcd9156609e | [
"MIT"
] | 4 | 2021-02-26T09:28:14.000Z | 2021-07-08T19:21:57.000Z | backend/teaching/apps.py | cesko-digital/zacni-uc | 281c56aec5509d5dd8bbbd60f054ffcd9156609e | [
"MIT"
] | 35 | 2021-01-27T08:38:59.000Z | 2021-12-13T19:42:38.000Z | backend/teaching/apps.py | cesko-digital/zacni-uc | 281c56aec5509d5dd8bbbd60f054ffcd9156609e | [
"MIT"
] | 5 | 2021-01-21T21:35:42.000Z | 2022-01-06T10:07:58.000Z | from django.apps import AppConfig
class TeachingConfig(AppConfig):
name = "teaching"
| 15.166667 | 33 | 0.758242 | 10 | 91 | 6.9 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164835 | 91 | 5 | 34 | 18.2 | 0.907895 | 0 | 0 | 0 | 0 | 0 | 0.087912 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
c641ff7d61a3df9db62deda7543004d7e7b824f2 | 42 | py | Python | macihara/__init__.py | harasimowiczmaciek/test | 0b6899f8944acdee3bdf45448847bde328a9a95f | [
"MIT"
] | null | null | null | macihara/__init__.py | harasimowiczmaciek/test | 0b6899f8944acdee3bdf45448847bde328a9a95f | [
"MIT"
] | null | null | null | macihara/__init__.py | harasimowiczmaciek/test | 0b6899f8944acdee3bdf45448847bde328a9a95f | [
"MIT"
] | null | null | null | from dodaj import dodaj
name = "macihara"
| 14 | 23 | 0.761905 | 6 | 42 | 5.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 42 | 2 | 24 | 21 | 0.914286 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
d67bad03c4372e1679128c5595a0c2419571273a | 31 | py | Python | software_testing/__init__.py | rafaelleinio/software-testing | 0cb9e95b65675121360a0e47ad127666c6c5ae7d | [
"MIT"
] | 1 | 2021-02-28T02:12:35.000Z | 2021-02-28T02:12:35.000Z | software_testing/__init__.py | rafaelleinio/software-testing | 0cb9e95b65675121360a0e47ad127666c6c5ae7d | [
"MIT"
] | null | null | null | software_testing/__init__.py | rafaelleinio/software-testing | 0cb9e95b65675121360a0e47ad127666c6c5ae7d | [
"MIT"
] | null | null | null | """Software testing module."""
| 15.5 | 30 | 0.677419 | 3 | 31 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 31 | 1 | 31 | 31 | 0.75 | 0.774194 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d69d3736a48dc1da2286126c41b8262985f53416 | 284 | py | Python | declare_qtquick/typehint/prop_hint.py | likianta/declare-qtquick | 93c2ce49d841ccdeb0272085c5f731139927f0d7 | [
"MIT"
] | 3 | 2021-11-02T03:45:27.000Z | 2022-03-27T05:33:36.000Z | declare_qtquick/typehint/prop_hint.py | likianta/declare-qtquick | 93c2ce49d841ccdeb0272085c5f731139927f0d7 | [
"MIT"
] | null | null | null | declare_qtquick/typehint/prop_hint.py | likianta/declare-qtquick | 93c2ce49d841ccdeb0272085c5f731139927f0d7 | [
"MIT"
] | null | null | null | try:
from typing import *
if __name__ == '__main__':
from declare_qtquick.properties.basic_properties import *
from declare_qtquick.properties.group_properties import *
from declare_qtquick.widgets.api import *
except Exception as e:
raise e
| 25.818182 | 65 | 0.697183 | 33 | 284 | 5.606061 | 0.575758 | 0.178378 | 0.291892 | 0.302703 | 0.367568 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.242958 | 284 | 10 | 66 | 28.4 | 0.860465 | 0 | 0 | 0 | 0 | 0 | 0.028169 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
d6a0b9394a9599ee65ea6f46e4b0027bfe0269e2 | 100 | py | Python | telemetry/clients/__init__.py | trevorgrayson/telemetry | efeca1b2062f40a2557f2c030dc687f546f3c60b | [
"MIT"
] | 3 | 2020-03-20T20:04:37.000Z | 2021-08-23T20:11:10.000Z | telemetry/clients/__init__.py | trevorgrayson/telemetry | efeca1b2062f40a2557f2c030dc687f546f3c60b | [
"MIT"
] | 2 | 2019-06-10T08:02:05.000Z | 2019-06-10T08:02:22.000Z | telemetry/clients/__init__.py | trevorgrayson/telemetry | efeca1b2062f40a2557f2c030dc687f546f3c60b | [
"MIT"
] | null | null | null | from .default import Default
from .slack import SlackTelemeter
from .statsd_ import StatsdTelemeter
| 25 | 36 | 0.85 | 12 | 100 | 7 | 0.583333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 100 | 3 | 37 | 33.333333 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
d6bfdc10088c83f5f3776dca641e9cb46c672b8f | 779 | py | Python | verify/__init__.py | drsteve/PyForecastTools | b4179931945547a218555fc0e84e4142fa614059 | [
"BSD-3-Clause"
] | 27 | 2018-07-05T16:36:35.000Z | 2022-03-12T09:14:52.000Z | verify/__init__.py | drsteve/PyForecastTools | b4179931945547a218555fc0e84e4142fa614059 | [
"BSD-3-Clause"
] | 12 | 2018-09-27T00:50:44.000Z | 2021-09-16T00:15:41.000Z | verify/__init__.py | drsteve/PyForecastTools | b4179931945547a218555fc0e84e4142fa614059 | [
"BSD-3-Clause"
] | 9 | 2018-09-24T14:13:18.000Z | 2022-03-12T09:14:55.000Z | """Module containing verification and performance metrics
With the exception of the ContingencyNxN and Contingency2x2 classes,
the inputs for all metrics are assumed to be array-like and 1D. Bad
values are assumed to be stored as NaN and these are excluded in
metric calculations.
With the exception of the Contingency... | 32.458333 | 68 | 0.804878 | 118 | 779 | 5.313559 | 0.474576 | 0.063796 | 0.076555 | 0.089314 | 0.580542 | 0.580542 | 0.580542 | 0.580542 | 0.580542 | 0.580542 | 0 | 0.015244 | 0.157895 | 779 | 23 | 69 | 33.869565 | 0.940549 | 0.901155 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
d6ece4575cd8e67c2e39bfddb2190ecea876d0a7 | 179 | py | Python | bot/database/connection.py | TupaBan-Dev/jdan734-bot | 891238591477e81ab8bda3f29bb4bc10424f1588 | [
"MIT"
] | null | null | null | bot/database/connection.py | TupaBan-Dev/jdan734-bot | 891238591477e81ab8bda3f29bb4bc10424f1588 | [
"MIT"
] | null | null | null | bot/database/connection.py | TupaBan-Dev/jdan734-bot | 891238591477e81ab8bda3f29bb4bc10424f1588 | [
"MIT"
] | null | null | null | from peewee_async import Manager
from ..config import DB_PATH
from .lib.async_sqlite import SqliteDatabase, onefor, get_count
db = SqliteDatabase(DB_PATH)
manager = Manager(db) | 22.375 | 63 | 0.810056 | 26 | 179 | 5.384615 | 0.538462 | 0.085714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122905 | 179 | 8 | 64 | 22.375 | 0.89172 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
d6f763692b1fc19299d6aa76bdb399e3495058e3 | 65 | py | Python | examples/Hello.py | dgisolfi/pycal | 038d00439f1fa2b42c6476915b0a38ce41e5d25f | [
"MIT"
] | null | null | null | examples/Hello.py | dgisolfi/pycal | 038d00439f1fa2b42c6476915b0a38ce41e5d25f | [
"MIT"
] | null | null | null | examples/Hello.py | dgisolfi/pycal | 038d00439f1fa2b42c6476915b0a38ce41e5d25f | [
"MIT"
] | null | null | null | #!/usr/bin/env python
Program := HelloWorld
print('Hello World!') | 21.666667 | 21 | 0.723077 | 9 | 65 | 5.222222 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092308 | 65 | 3 | 22 | 21.666667 | 0.79661 | 0.307692 | 0 | 0 | 0 | 0 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
ba3491df0b256f2bc2b0b8c7eb4e4a9ca0e7369f | 2,503 | py | Python | testsuite/filterwidth-reg/run.py | LongerVision/OpenShadingLanguage | 30d2a4a089c5c9d521b27519329c205763dfe483 | [
"BSD-3-Clause"
] | 1,105 | 2015-01-02T20:47:19.000Z | 2021-01-25T13:20:56.000Z | testsuite/filterwidth-reg/run.py | LongerVision/OpenShadingLanguage | 30d2a4a089c5c9d521b27519329c205763dfe483 | [
"BSD-3-Clause"
] | 696 | 2015-01-07T23:42:08.000Z | 2021-01-25T03:55:08.000Z | testsuite/filterwidth-reg/run.py | LongerVision/OpenShadingLanguage | 30d2a4a089c5c9d521b27519329c205763dfe483 | [
"BSD-3-Clause"
] | 248 | 2015-01-05T13:41:28.000Z | 2021-01-24T23:29:55.000Z | #!/usr/bin/env python
# Copyright Contributors to the Open Shading Language project.
# SPDX-License-Identifier: BSD-3-Clause
# https://github.com/AcademySoftwareFoundation/OpenShadingLanguage
command += testshade("--vary_udxdy --vary_vdxdy --vary_pdxdy -g 32 32 test_filterwidth_u_float -od uint8 -o op fw_u_float.tif ... | 49.078431 | 132 | 0.718738 | 425 | 2,503 | 3.875294 | 0.155294 | 0.054645 | 0.184578 | 0.094718 | 0.857316 | 0.731633 | 0.547662 | 0.343048 | 0.343048 | 0.343048 | 0 | 0.021822 | 0.157811 | 2,503 | 50 | 133 | 50.06 | 0.759488 | 0.083899 | 0 | 0 | 0 | 0 | 0.639703 | 0.122868 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ba7d6d87f70c0be3463e4fa9012b0b95a2fc5797 | 647 | py | Python | src/hed_utils/support/os_type.py | Hrissimir/hed_utils | 22e340f2f0637b999a67cf8ff201c044c93597a1 | [
"MIT"
] | null | null | null | src/hed_utils/support/os_type.py | Hrissimir/hed_utils | 22e340f2f0637b999a67cf8ff201c044c93597a1 | [
"MIT"
] | 1 | 2021-07-26T04:16:58.000Z | 2021-07-26T04:16:58.000Z | src/hed_utils/support/os_type.py | Hrissimir/hed_utils | 22e340f2f0637b999a67cf8ff201c044c93597a1 | [
"MIT"
] | null | null | null | import platform
WINDOWS = "Windows"
LINUX = "Linux"
MAC_OS = "MacOS"
UNKNOWN = "Unknown"
def is_64bit() -> bool:
return ("64bit" in platform.architecture()) or ("64" in platform.uname().machine)
def is_linux() -> bool:
return "linux" in platform.uname().system.lower()
def is_mac() -> bool:
return pla... | 19.029412 | 85 | 0.630603 | 83 | 647 | 4.795181 | 0.337349 | 0.050251 | 0.113065 | 0.180905 | 0.145729 | 0.145729 | 0 | 0 | 0 | 0 | 0 | 0.011928 | 0.222566 | 647 | 33 | 86 | 19.606061 | 0.779324 | 0 | 0 | 0 | 0 | 0 | 0.092736 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.227273 | false | 0 | 0.045455 | 0.181818 | 0.636364 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
ba9ee23615d667e6404868cd063640abffac57cc | 452 | py | Python | Learning/CodeWars/Python/7kyu_Birthday_I-Cake.py | aliasfoxkde/snippets | bb6dcc6597316ef9c88611f526935059451c3b5a | [
"MIT"
] | null | null | null | Learning/CodeWars/Python/7kyu_Birthday_I-Cake.py | aliasfoxkde/snippets | bb6dcc6597316ef9c88611f526935059451c3b5a | [
"MIT"
] | null | null | null | Learning/CodeWars/Python/7kyu_Birthday_I-Cake.py | aliasfoxkde/snippets | bb6dcc6597316ef9c88611f526935059451c3b5a | [
"MIT"
] | null | null | null | # See: https://www.codewars.com/kata/5805ed25c2799821cb000005
'''
# Long version:
def cake(candles,debris):
y = 0
for i, c in enumerate(debris):
if i % 2 == 1:
y += ord(c)-ord('a')+1
else:
y += ord(c)
if y > 0.7 * candles:
return "Fire!"
return "That was... | 23.789474 | 70 | 0.54646 | 62 | 452 | 3.983871 | 0.564516 | 0.080972 | 0.11336 | 0.17004 | 0.218623 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0.280973 | 452 | 19 | 70 | 23.789474 | 0.683077 | 0.75885 | 0 | 0 | 0 | 0 | 0.196078 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
bac7b1973436eb367f30e6be9f61e7c0dfb10d18 | 113,265 | py | Python | adsk/cam.py | DannoPeters/adsk | 3b328ebbc8ea0292ccfa33327f93c978e10cf88d | [
"MIT"
] | 1 | 2022-03-16T01:01:57.000Z | 2022-03-16T01:01:57.000Z | adsk/cam.py | DannoPeters/adsk | 3b328ebbc8ea0292ccfa33327f93c978e10cf88d | [
"MIT"
] | null | null | null | adsk/cam.py | DannoPeters/adsk | 3b328ebbc8ea0292ccfa33327f93c978e10cf88d | [
"MIT"
] | null | null | null | # This file is automatically generated for code intellisense only.
# It does not reflect the actual implementation.
from __future__ import annotations
from . import core
from . import fusion
class InspectionPointState():
"""
Summarize state of measured inspection point.
Compares the deviation from the no... | 34.979926 | 191 | 0.637637 | 12,802 | 113,265 | 5.615841 | 0.085299 | 0.028918 | 0.012393 | 0.0169 | 0.600732 | 0.562578 | 0.532812 | 0.505327 | 0.478121 | 0.453112 | 0 | 0.00321 | 0.293074 | 113,265 | 3,237 | 192 | 34.990732 | 0.89468 | 0.482735 | 0 | 0.617787 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.32926 | false | 0.106585 | 0.002037 | 0.047522 | 0.665988 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
baca6e003cff493aabead3bb6fe20157f71121aa | 629 | py | Python | stable_baselines3/common/envs/__init__.py | martinwimpff/stable-baselines3-hmlf | 6ffa947760f8c42a09f9ae42aa7485c608efc42d | [
"MIT"
] | null | null | null | stable_baselines3/common/envs/__init__.py | martinwimpff/stable-baselines3-hmlf | 6ffa947760f8c42a09f9ae42aa7485c608efc42d | [
"MIT"
] | null | null | null | stable_baselines3/common/envs/__init__.py | martinwimpff/stable-baselines3-hmlf | 6ffa947760f8c42a09f9ae42aa7485c608efc42d | [
"MIT"
] | null | null | null | from stable_baselines3.common.envs.bit_flipping_env import BitFlippingEnv
from stable_baselines3.common.envs.dummy_env import DummyEnv
from stable_baselines3.common.envs.dummy_hybrid import DummyHybrid
from stable_baselines3.common.envs.identity_env import (
FakeImageEnv,
IdentityEnv,
IdentityEnvBox,
Id... | 44.928571 | 101 | 0.863275 | 71 | 629 | 7.422535 | 0.408451 | 0.132827 | 0.265655 | 0.345351 | 0.417457 | 0.132827 | 0 | 0 | 0 | 0 | 0 | 0.012216 | 0.08903 | 629 | 13 | 102 | 48.384615 | 0.907504 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.538462 | 0 | 0.538462 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
240d9e58c18ab9952a7c1601d98f9d97c0eebdd4 | 124 | py | Python | savu/plugins/driver/cpu_plugin_tools.py | elainehoml/Savu | e4772704606f71d6803d832084e10faa585e7358 | [
"Apache-2.0"
] | 39 | 2015-03-30T14:03:42.000Z | 2022-03-16T16:50:33.000Z | savu/plugins/driver/cpu_plugin_tools.py | elainehoml/Savu | e4772704606f71d6803d832084e10faa585e7358 | [
"Apache-2.0"
] | 670 | 2015-02-11T11:08:09.000Z | 2022-03-21T09:27:57.000Z | savu/plugins/driver/cpu_plugin_tools.py | elainehoml/Savu | e4772704606f71d6803d832084e10faa585e7358 | [
"Apache-2.0"
] | 54 | 2015-02-13T14:09:52.000Z | 2022-01-24T13:57:09.000Z | from savu.plugins.plugin_tools import PluginTools
class CpuPluginTools(PluginTools):
"""The driver for Cpu plugins."""
| 24.8 | 49 | 0.774194 | 15 | 124 | 6.333333 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 124 | 4 | 50 | 31 | 0.87963 | 0.217742 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
240e921bed934739b7633a27bda7278bcbbdb8eb | 693 | py | Python | work_calendar_ru/data/holidays.py | SLRover/work-calendar-ru | 623b03713c4fed20790cecfe7cc1e09ab7e313ca | [
"MIT"
] | 3 | 2019-10-22T11:33:54.000Z | 2021-08-19T07:45:58.000Z | work_calendar_ru/data/holidays.py | SLRover/work-calendar-ru | 623b03713c4fed20790cecfe7cc1e09ab7e313ca | [
"MIT"
] | 4 | 2019-10-25T14:25:40.000Z | 2019-11-07T20:44:39.000Z | work_calendar_ru/data/holidays.py | SLRover/work-calendar-ru | 623b03713c4fed20790cecfe7cc1e09ab7e313ca | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import datetime
holidays = [
datetime.date(2020, 1, 1), datetime.date(2020, 1, 2), datetime.date(2020, 1, 3), datetime.date(2020, 1, 4),
datetime.date(2020, 1, 5), datetime.date(2020, 1, 6), datetime.date(2020, 1, 7), datetime.date(2020, 1, 8),
datetime.date(2020, 2, 24), datetime.... | 38.5 | 114 | 0.637807 | 115 | 693 | 3.826087 | 0.217391 | 0.572727 | 0.763636 | 0.309091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.232877 | 0.157287 | 693 | 17 | 115 | 40.764706 | 0.520548 | 0.030303 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.083333 | 0 | 0.083333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
032cf2eac3d111c1d25491470d096d0f3396d7aa | 198 | py | Python | app/meetings/api/serializers.py | kaizumaki/owaranai-meter | aa4703f84116c9d6bac558f301de2389c9175fdf | [
"MIT"
] | 5 | 2021-02-04T14:16:12.000Z | 2021-02-19T12:36:50.000Z | app/meetings/api/serializers.py | kaizumaki/owaranai-meter | aa4703f84116c9d6bac558f301de2389c9175fdf | [
"MIT"
] | 27 | 2021-02-11T04:49:39.000Z | 2021-08-22T07:34:39.000Z | app/meetings/api/serializers.py | kaizumaki/owaranai-meter | aa4703f84116c9d6bac558f301de2389c9175fdf | [
"MIT"
] | 6 | 2021-02-04T14:16:28.000Z | 2021-02-27T07:14:38.000Z | from rest_framework import serializers
from meetings.models import Meeting
class MeetingSerializer(serializers.ModelSerializer):
class Meta:
model = Meeting
fields = "__all__"
| 22 | 53 | 0.747475 | 20 | 198 | 7.15 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.20202 | 198 | 8 | 54 | 24.75 | 0.905063 | 0 | 0 | 0 | 0 | 0 | 0.035354 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
032d82918fc429670cd57eb1409ac1a5ba94da1f | 893 | py | Python | samples.py | AIshutin/magic-rpg | 140f4d313ea316e033c09aa9b11394a64aea9555 | [
"Apache-2.0"
] | null | null | null | samples.py | AIshutin/magic-rpg | 140f4d313ea316e033c09aa9b11394a64aea9555 | [
"Apache-2.0"
] | null | null | null | samples.py | AIshutin/magic-rpg | 140f4d313ea316e033c09aa9b11394a64aea9555 | [
"Apache-2.0"
] | null | null | null | from techs import Technologie as Tech
biodescr = "Often child is like his parents. At least child's appearence is similiar to his ancestors. It's working with all around: plants, animals and races. You can track down ancestors of the creature to predict it's properties. You can breed creatures for creating new that yo... | 111.625 | 648 | 0.786114 | 152 | 893 | 4.618421 | 0.638158 | 0.021368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001335 | 0.161254 | 893 | 8 | 649 | 111.625 | 0.935915 | 0 | 0 | 0 | 0 | 0.2 | 0.828859 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0.2 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
034036b58991f8e9d78576ffa8134722eb90902c | 4,440 | py | Python | graphs_trees/bst/bst_solution.py | stephank007/python_challenges | dfd8d18c03a06735f6e4e02b0660007fe2d02f07 | [
"Apache-2.0"
] | null | null | null | graphs_trees/bst/bst_solution.py | stephank007/python_challenges | dfd8d18c03a06735f6e4e02b0660007fe2d02f07 | [
"Apache-2.0"
] | null | null | null | graphs_trees/bst/bst_solution.py | stephank007/python_challenges | dfd8d18c03a06735f6e4e02b0660007fe2d02f07 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# coding: utf-8
# This notebook was prepared by [Donne Martin](https://github.com/donnemartin). Source and license info is on [GitHub](https://github.com/donnemartin/interactive-coding-challenges).
# # Solution Notebook
# ## Problem: Implement a binary search tree with an insert method.
#
# * ... | 43.529412 | 1,262 | 0.60045 | 700 | 4,440 | 3.708571 | 0.242857 | 0.010015 | 0.038521 | 0.026194 | 0.359399 | 0.276579 | 0.163328 | 0.102465 | 0.102465 | 0.102465 | 0 | 0.014432 | 0.250901 | 4,440 | 101 | 1,263 | 43.960396 | 0.766085 | 0.393694 | 0 | 0 | 0 | 0.333333 | 0.875433 | 0.183775 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0 | true | 0 | 0.166667 | 0 | 0.166667 | 0.166667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
036df1466e36ebb6d8218aab2d10c0618e39a382 | 92,360 | py | Python | freee/freee.py | datagrid-okada/python-freee-api | d023267a5442cf0e8f30f7ceab076d74c65cf5ce | [
"MIT"
] | 2 | 2021-02-22T17:06:01.000Z | 2022-03-18T07:05:24.000Z | freee/freee.py | datagrid-okada/python-freee-api | d023267a5442cf0e8f30f7ceab076d74c65cf5ce | [
"MIT"
] | null | null | null | freee/freee.py | datagrid-okada/python-freee-api | d023267a5442cf0e8f30f7ceab076d74c65cf5ce | [
"MIT"
] | null | null | null | import requests
import json
import urllib.parse
import time
class Freee():
def __init__(self, client_id, client_secret, company_id, token_filename):
self.client_id = client_id
self.client_secret = client_secret
self.token_filename = token_filename
self.redirect_uri = 'urn:ietf:wg:o... | 36.049961 | 328 | 0.456063 | 7,682 | 92,360 | 5.230409 | 0.114293 | 0.025734 | 0.016725 | 0.024042 | 0.76884 | 0.741264 | 0.726605 | 0.713091 | 0.696989 | 0.680762 | 0 | 0.034861 | 0.415483 | 92,360 | 2,561 | 329 | 36.064037 | 0.708776 | 0.665829 | 0 | 0.468401 | 0 | 0 | 0.11345 | 0.028998 | 0 | 0 | 0 | 0 | 0 | 1 | 0.185874 | false | 0 | 0.01487 | 0.003717 | 0.379182 | 0.007435 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0370175c9a05ccfcc6d32c5c429c7ad04293878f | 170 | py | Python | setup.py | alexmagwe/Nia_IoT | 7120db494a17d0c11cb6e0a95113819d9a0f0665 | [
"Apache-2.0"
] | null | null | null | setup.py | alexmagwe/Nia_IoT | 7120db494a17d0c11cb6e0a95113819d9a0f0665 | [
"Apache-2.0"
] | null | null | null | setup.py | alexmagwe/Nia_IoT | 7120db494a17d0c11cb6e0a95113819d9a0f0665 | [
"Apache-2.0"
] | null | null | null | from nia import create_app
app = create_app()
if __name__=='__main__':
app.run(debug=True, host="192.68.1.104", port = 8090)
#app.run(debug=True, port = 5000)
| 18.888889 | 57 | 0.664706 | 28 | 170 | 3.678571 | 0.678571 | 0.174757 | 0.213592 | 0.291262 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120567 | 0.170588 | 170 | 8 | 58 | 21.25 | 0.609929 | 0.188235 | 0 | 0 | 0 | 0 | 0.145985 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ceecf7db7cb872f030b9df6b31173e298b681a3f | 700 | py | Python | decorated_example.py | linrong/flask-server | 5f0896c6ccedb6b172b9af7e1018600e38a2df43 | [
"MIT"
] | null | null | null | decorated_example.py | linrong/flask-server | 5f0896c6ccedb6b172b9af7e1018600e38a2df43 | [
"MIT"
] | 1 | 2019-09-06T10:06:47.000Z | 2019-09-10T07:18:47.000Z | decorated_example.py | linrong/flask-server | 5f0896c6ccedb6b172b9af7e1018600e38a2df43 | [
"MIT"
] | null | null | null | print('装饰器')
class C():
get_password_callback = None
def get_password(self, f):
print('1')
self.get_password_callback = f
return f
def prints(self):
if self.get_password_callback:
self.get_password_callback()
else:
print(0)
c = C()
c.prints()... | 13.461538 | 58 | 0.551429 | 113 | 700 | 3.327434 | 0.327434 | 0.175532 | 0.202128 | 0.183511 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046559 | 0.294286 | 700 | 52 | 58 | 13.461538 | 0.714575 | 0.195714 | 0 | 0.235294 | 0 | 0 | 0.020036 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.205882 | false | 0.176471 | 0 | 0 | 0.382353 | 0.352941 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
3000bad65263a7207d59af90982469aeb53e09fd | 153 | py | Python | src/__init__.py | JoyXujingyan0830/A-unified-model-for-zero-shot-musical-source-separation-transcription-and-synthesis | a99c3e2eb7ca0a56b3545307aa0f6b51685ed4e6 | [
"MIT"
] | 15 | 2021-08-13T08:46:36.000Z | 2022-03-26T15:18:08.000Z | src/__init__.py | JoyXujingyan0830/A-unified-model-for-zero-shot-musical-source-separation-transcription-and-synthesis | a99c3e2eb7ca0a56b3545307aa0f6b51685ed4e6 | [
"MIT"
] | 4 | 2021-09-09T08:03:17.000Z | 2022-01-13T05:21:41.000Z | src/__init__.py | JoyXujingyan0830/A-unified-model-for-zero-shot-musical-source-separation-transcription-and-synthesis | a99c3e2eb7ca0a56b3545307aa0f6b51685ed4e6 | [
"MIT"
] | 5 | 2021-08-13T15:17:19.000Z | 2022-03-18T08:56:21.000Z | import sys
import os
pkg_path = os.path.dirname(os.path.abspath(__file__))
sys.path.append(pkg_path)
import conf, utils, dataset, models, inference
| 15.3 | 53 | 0.764706 | 24 | 153 | 4.625 | 0.583333 | 0.126126 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.124183 | 153 | 9 | 54 | 17 | 0.828358 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
301cfd420f974d547948e95e08537ddd6957c48f | 129 | py | Python | Mundo 1/ex021 Tocando musica.py | AbelRapha/Python-Exercicios-CeV | 17e7055c982c8a1224992602ece50bae8eeee365 | [
"MIT"
] | null | null | null | Mundo 1/ex021 Tocando musica.py | AbelRapha/Python-Exercicios-CeV | 17e7055c982c8a1224992602ece50bae8eeee365 | [
"MIT"
] | null | null | null | Mundo 1/ex021 Tocando musica.py | AbelRapha/Python-Exercicios-CeV | 17e7055c982c8a1224992602ece50bae8eeee365 | [
"MIT"
] | null | null | null | from pygame import mixer
mixer.init()
mixer.music.load('ex021.mp3')
mixer.music.play()
input('CURTE O SOM!')
mixer.music.pause()
| 18.428571 | 29 | 0.736434 | 21 | 129 | 4.52381 | 0.714286 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033898 | 0.085271 | 129 | 6 | 30 | 21.5 | 0.771186 | 0 | 0 | 0 | 0 | 0 | 0.162791 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.166667 | 0 | 0.166667 | 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 | 0 | 0 | 0 | 0 | 0 | 4 |
302c04fb72edfa1bfad6cb70cc4c36aa3c833e95 | 185 | py | Python | src/winnow/models/manufacturing_spec.py | opendesk/schema | 9c6d8483abbfeb5e3bd225b2916c212e2c21872b | [
"Unlicense"
] | 3 | 2016-04-05T16:51:27.000Z | 2016-08-30T20:56:25.000Z | src/winnow/models/manufacturing_spec.py | opendesk/schema | 9c6d8483abbfeb5e3bd225b2916c212e2c21872b | [
"Unlicense"
] | null | null | null | src/winnow/models/manufacturing_spec.py | opendesk/schema | 9c6d8483abbfeb5e3bd225b2916c212e2c21872b | [
"Unlicense"
] | 1 | 2019-08-14T16:51:56.000Z | 2019-08-14T16:51:56.000Z | import winnow
from winnow.models.base import WinnowVersion
class WinnowManufacturingSpecfifcation(WinnowVersion):
@property
def id(self):
return self.kwargs[u"uuid"] | 18.5 | 54 | 0.751351 | 20 | 185 | 6.95 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172973 | 185 | 10 | 55 | 18.5 | 0.908497 | 0 | 0 | 0 | 0 | 0 | 0.021505 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.166667 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
3042a34ae0d343e1586063fc3ae0b2e967962e80 | 167 | py | Python | backend/database/models/multimedia.py | AlexanderBerardino/police-data-trust | 587fe2bc1e7f048e2308d89803abb20f4e619aab | [
"MIT"
] | 16 | 2021-03-02T21:32:52.000Z | 2022-03-15T23:13:06.000Z | backend/database/models/multimedia.py | AlexanderBerardino/police-data-trust | 587fe2bc1e7f048e2308d89803abb20f4e619aab | [
"MIT"
] | 173 | 2021-03-03T01:35:36.000Z | 2022-03-30T03:17:58.000Z | backend/database/models/multimedia.py | AlexanderBerardino/police-data-trust | 587fe2bc1e7f048e2308d89803abb20f4e619aab | [
"MIT"
] | 36 | 2021-03-03T00:27:20.000Z | 2022-03-29T23:07:57.000Z | from .. import db
class Multimedia(db.Model):
id = db.Column(db.Integer, primary_key=True)
incident_id = db.Column(db.Integer, db.ForeignKey("incident.id"))
| 23.857143 | 69 | 0.706587 | 25 | 167 | 4.64 | 0.56 | 0.068966 | 0.172414 | 0.206897 | 0.327586 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.143713 | 167 | 6 | 70 | 27.833333 | 0.811189 | 0 | 0 | 0 | 0 | 0 | 0.065868 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
3046f2fef99b36b5a184497321ae300310ef2275 | 142 | py | Python | gupiao/get_data.py | zhangyage/Python-oldboy | a95c1b465929e2be641e425fcb5e15b366800831 | [
"Apache-2.0"
] | 1 | 2020-06-04T08:44:09.000Z | 2020-06-04T08:44:09.000Z | gupiao/get_data.py | zhangyage/Python-oldboy | a95c1b465929e2be641e425fcb5e15b366800831 | [
"Apache-2.0"
] | null | null | null | gupiao/get_data.py | zhangyage/Python-oldboy | a95c1b465929e2be641e425fcb5e15b366800831 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# -*- coding:utf-8 -*-
from models.model import Gu_info
gupiao = Gu_info()
print gupiao.Selectdate(gname='振华股份') | 20.285714 | 37 | 0.676056 | 21 | 142 | 4.47619 | 0.857143 | 0.12766 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008333 | 0.15493 | 142 | 7 | 37 | 20.285714 | 0.775 | 0.288732 | 0 | 0 | 0 | 0 | 0.042553 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.333333 | null | null | 0.333333 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
06294771e65359eba5598c6ca296372323cded5c | 1,024 | py | Python | tests/example.py | PixelwarStudio/PyPlant | 95c8ed1fd382fad9164edea4204a62648eeb0d65 | [
"MIT"
] | null | null | null | tests/example.py | PixelwarStudio/PyPlant | 95c8ed1fd382fad9164edea4204a62648eeb0d65 | [
"MIT"
] | null | null | null | tests/example.py | PixelwarStudio/PyPlant | 95c8ed1fd382fad9164edea4204a62648eeb0d65 | [
"MIT"
] | null | null | null | from plant.lsystem import LSystem, Var, Const
# Variables
# Algae
class A(Var):
def replace(self):
return (A(), B())
class B(Var):
def replace(self):
return (A(),)
# Fractal binary tree
class Zero(Var):
def replace(self):
return (One(), SqrBracketOpen(), Zero(), SqrBracketClose(),... | 19.320755 | 75 | 0.585938 | 122 | 1,024 | 4.696721 | 0.278689 | 0.191972 | 0.104712 | 0.167539 | 0.387435 | 0.310646 | 0 | 0 | 0 | 0 | 0 | 0.003891 | 0.24707 | 1,024 | 53 | 76 | 19.320755 | 0.7393 | 0.067383 | 0 | 0.314286 | 0 | 0 | 0.006322 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.314286 | false | 0 | 0.028571 | 0.314286 | 0.914286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
0633de797cf5fe879781520885e8f87b766fc674 | 96 | py | Python | e2e/test-helpers/clear-password-file.py | Mattlk13/go-strong-auth-plugin | dec7800c0a84771080a712194eb615c571385449 | [
"Apache-2.0"
] | 5 | 2016-03-11T14:43:08.000Z | 2017-08-02T13:49:19.000Z | e2e/test-helpers/clear-password-file.py | Mattlk13/go-strong-auth-plugin | dec7800c0a84771080a712194eb615c571385449 | [
"Apache-2.0"
] | 3 | 2016-10-12T03:34:17.000Z | 2017-06-27T15:47:14.000Z | e2e/test-helpers/clear-password-file.py | Mattlk13/go-strong-auth-plugin | dec7800c0a84771080a712194eb615c571385449 | [
"Apache-2.0"
] | 1 | 2017-02-28T00:56:04.000Z | 2017-02-28T00:56:04.000Z | #!/usr/bin/python3
with open("/etc/go/passwd", "w") as passwordFile:
passwordFile.write('') | 24 | 49 | 0.666667 | 13 | 96 | 4.923077 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011765 | 0.114583 | 96 | 4 | 50 | 24 | 0.741176 | 0.177083 | 0 | 0 | 0 | 0 | 0.189873 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
0641b6a99dbff532a1700abcb472d179cf6f6b64 | 384 | py | Python | tests/test_ringbuf.py | kevinkk525/micropython_wlan_link | 0d7d9a6716a90ef4dbf4199985be79e9715f990f | [
"MIT"
] | 1 | 2021-03-24T16:45:29.000Z | 2021-03-24T16:45:29.000Z | tests/test_ringbuf.py | kevinkk525/micropython_wlan_link | 0d7d9a6716a90ef4dbf4199985be79e9715f990f | [
"MIT"
] | null | null | null | tests/test_ringbuf.py | kevinkk525/micropython_wlan_link | 0d7d9a6716a90ef4dbf4199985be79e9715f990f | [
"MIT"
] | null | null | null | # Author: Kevin Köck
# Copyright Kevin Köck 2021 Released under the MIT license
# Created on 2021-03-14
__updated__ = "2021-03-14"
__version__ = "0.1"
from wlan_link_libs.ringbuf import Ringbuf
r = Ringbuf(15)
print(r._free())
m = b"0123456789"
print(r.append(m))
print(r.append(m))
print(r._buf)
print(r.get(5))
pri... | 18.285714 | 58 | 0.713542 | 69 | 384 | 3.782609 | 0.507246 | 0.206897 | 0.183908 | 0.199234 | 0.314176 | 0.314176 | 0.214559 | 0.214559 | 0.214559 | 0 | 0 | 0.103858 | 0.122396 | 384 | 20 | 59 | 19.2 | 0.670623 | 0.252604 | 0 | 0.428571 | 0 | 0 | 0.08156 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.071429 | 0 | 0.071429 | 0.642857 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
06495ccbead0c98e9f3ad8021e77e4e00ba42a24 | 208 | py | Python | notifications_delivery/clients/__init__.py | quis/notifications-delivery | be4c8dae870757d24edddf8253b6c2cbf2791bdc | [
"MIT"
] | 1 | 2016-01-11T20:16:44.000Z | 2016-01-11T20:16:44.000Z | notifications_delivery/clients/__init__.py | quis/notifications-delivery | be4c8dae870757d24edddf8253b6c2cbf2791bdc | [
"MIT"
] | 2 | 2016-02-09T10:44:28.000Z | 2016-02-10T16:38:11.000Z | notifications_delivery/clients/__init__.py | quis/notifications-delivery | be4c8dae870757d24edddf8253b6c2cbf2791bdc | [
"MIT"
] | 3 | 2016-07-14T10:15:28.000Z | 2021-04-10T20:03:22.000Z |
class ClientException(Exception):
'''
Base Exceptions for sending notifications that fail
'''
pass
class Client(object):
'''
Base client for sending notifications.
'''
pass
| 14.857143 | 55 | 0.634615 | 20 | 208 | 6.6 | 0.65 | 0.151515 | 0.348485 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.274038 | 208 | 13 | 56 | 16 | 0.874172 | 0.432692 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
064affb599571d4f9ec8f7d66969e733da78f9fc | 47 | py | Python | AWS_Test/src/__init__.py | tuggegese/CodingWDB | 429532ca91854535b3dc867f4a7f8cb685ada342 | [
"MIT"
] | 1 | 2021-11-10T02:18:20.000Z | 2021-11-10T02:18:20.000Z | AWS_Test/src/__init__.py | tuggegese/CodingWDB | 429532ca91854535b3dc867f4a7f8cb685ada342 | [
"MIT"
] | 2 | 2021-11-10T02:25:05.000Z | 2022-02-07T14:35:35.000Z | AWS_Test/src/__init__.py | tuggegese/CodingWDB | 429532ca91854535b3dc867f4a7f8cb685ada342 | [
"MIT"
] | 1 | 2021-11-10T02:31:49.000Z | 2021-11-10T02:31:49.000Z | from flask import Flask
api = Flask(__name__)
| 11.75 | 23 | 0.765957 | 7 | 47 | 4.571429 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170213 | 47 | 3 | 24 | 15.666667 | 0.820513 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
06573be104f45d1fa937a966d69ff356434946d2 | 133,206 | py | Python | cogs/utility.py | bubby932/RecNetBotV2 | ed846791584ed344d55357e0989eb241ee6f13b0 | [
"MIT"
] | 5 | 2021-07-16T21:12:14.000Z | 2022-03-12T18:59:47.000Z | cogs/utility.py | bubby932/RecNetBotV2 | ed846791584ed344d55357e0989eb241ee6f13b0 | [
"MIT"
] | 1 | 2021-12-02T06:43:55.000Z | 2021-12-02T06:43:55.000Z | cogs/utility.py | bubby932/RecNetBotV2 | ed846791584ed344d55357e0989eb241ee6f13b0 | [
"MIT"
] | 8 | 2021-08-08T21:35:42.000Z | 2022-02-18T20:21:48.000Z | import functions
import httpx
import requests
import discord
import operator
import random
import asyncio
from datetime import date
from discord.ext import owoify
from discord.ext import commands
from discord.ext import menus
from discord_components import DiscordComponents, Button, ButtonStyle, InteractionType
def c... | 42.368321 | 386 | 0.562445 | 14,672 | 133,206 | 4.991276 | 0.044166 | 0.024579 | 0.029004 | 0.036446 | 0.795308 | 0.770688 | 0.74903 | 0.704596 | 0.675251 | 0.638642 | 0 | 0.011181 | 0.313815 | 133,206 | 3,143 | 387 | 42.381801 | 0.789145 | 0.025825 | 0 | 0.656832 | 0 | 0.013975 | 0.198347 | 0.047096 | 0 | 0 | 0 | 0 | 0 | 1 | 0.006211 | false | 0.009317 | 0.004658 | 0.004658 | 0.046972 | 0.017469 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0673a92d95ea2282616aadf5305567396ddcb0cb | 187 | py | Python | Project-Directory/app1/models.py | RonBulaon/AlumniChecker | e18ec1e6458fbff6c272e7c7fe11e6d36564f1ae | [
"Apache-2.0"
] | null | null | null | Project-Directory/app1/models.py | RonBulaon/AlumniChecker | e18ec1e6458fbff6c272e7c7fe11e6d36564f1ae | [
"Apache-2.0"
] | null | null | null | Project-Directory/app1/models.py | RonBulaon/AlumniChecker | e18ec1e6458fbff6c272e7c7fe11e6d36564f1ae | [
"Apache-2.0"
] | null | null | null | from django.db import models
class SiteWide(models.Model):
sitename = models.CharField(max_length=255, default='ChangeMe')
def __str__(self):
return self.sitename
| 18.7 | 67 | 0.700535 | 23 | 187 | 5.478261 | 0.826087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020134 | 0.203209 | 187 | 9 | 68 | 20.777778 | 0.825503 | 0 | 0 | 0 | 0 | 0 | 0.043243 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
06b32dc987541cf3d24b54ec981bec5268b4d104 | 31 | py | Python | manage/__init__.py | everyvoter/everyvoter | 65d9b8bdf9b5c64057135c279f6e03b6c207e0fa | [
"MIT"
] | 5 | 2019-07-01T17:50:44.000Z | 2022-02-20T02:44:42.000Z | manage/__init__.py | everyvoter/everyvoter | 65d9b8bdf9b5c64057135c279f6e03b6c207e0fa | [
"MIT"
] | 3 | 2020-06-05T21:44:33.000Z | 2021-06-10T21:39:26.000Z | manage/__init__.py | everyvoter/everyvoter | 65d9b8bdf9b5c64057135c279f6e03b6c207e0fa | [
"MIT"
] | 1 | 2021-12-09T06:32:40.000Z | 2021-12-09T06:32:40.000Z | """Admin app for EveryVoter"""
| 15.5 | 30 | 0.677419 | 4 | 31 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.777778 | 0.774194 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ebf8736b62ff9788469fa7d06d59eef34d849b6a | 248 | py | Python | src/resources/entities/colorchanger.py | n0remac/Acute-Alligators-2021-Summer-Code-Jam | addedb95daec0224631c6a62e07718c9c4afd2b6 | [
"MIT"
] | null | null | null | src/resources/entities/colorchanger.py | n0remac/Acute-Alligators-2021-Summer-Code-Jam | addedb95daec0224631c6a62e07718c9c4afd2b6 | [
"MIT"
] | 36 | 2021-07-11T20:14:29.000Z | 2021-07-17T14:04:40.000Z | src/resources/entities/colorchanger.py | n0remac/Acute-Alligators-2021-Summer-Code-Jam | addedb95daec0224631c6a62e07718c9c4afd2b6 | [
"MIT"
] | 1 | 2021-07-17T17:08:24.000Z | 2021-07-17T17:08:24.000Z | from .abstractdungeonentity import AbstractDungeonEntity
class ColorChanger(AbstractDungeonEntity):
"""Dungeon Items that change players color if captured"""
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
| 27.555556 | 61 | 0.733871 | 24 | 248 | 7.25 | 0.791667 | 0.114943 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157258 | 248 | 8 | 62 | 31 | 0.832536 | 0.205645 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
23193b52f8ac6394560b3a00e5242fc9f127ffd5 | 177 | py | Python | CONFIG.py | BRadTone/tf-conv-net | 252d2397401533d7cee5dffa8ee6acf5c1f20372 | [
"MIT"
] | null | null | null | CONFIG.py | BRadTone/tf-conv-net | 252d2397401533d7cee5dffa8ee6acf5c1f20372 | [
"MIT"
] | null | null | null | CONFIG.py | BRadTone/tf-conv-net | 252d2397401533d7cee5dffa8ee6acf5c1f20372 | [
"MIT"
] | null | null | null | class CONFIG:
DATAST_DIR_PATH = './dataset/'
DOWNLOADED_FILE_NAME= 'cifar-10-batches.tar.gz'
DATASET_URL = 'https://www.cs.toronto.edu/~kriz/cifar-10-python.tar.gz'
| 35.4 | 75 | 0.706215 | 27 | 177 | 4.444444 | 0.814815 | 0.116667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025806 | 0.124294 | 177 | 4 | 76 | 44.25 | 0.748387 | 0 | 0 | 0 | 0 | 0.25 | 0.497175 | 0.129944 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
233baeb4e4d42e6947dbd72972041b0b8fa7d793 | 164 | py | Python | test/sort/test_merge.py | dmvieira/algs | bf88d026ecf7210f0a1d601b36d7fc82364bd46f | [
"Apache-2.0"
] | null | null | null | test/sort/test_merge.py | dmvieira/algs | bf88d026ecf7210f0a1d601b36d7fc82364bd46f | [
"Apache-2.0"
] | null | null | null | test/sort/test_merge.py | dmvieira/algs | bf88d026ecf7210f0a1d601b36d7fc82364bd46f | [
"Apache-2.0"
] | null | null | null | import unittest
from test.sort import CommonSort
from src.sort.merge import MergeSort
class TestMergeSort(unittest.TestCase, CommonSort):
sort_alg = MergeSort | 23.428571 | 51 | 0.817073 | 21 | 164 | 6.333333 | 0.619048 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128049 | 164 | 7 | 52 | 23.428571 | 0.93007 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
234bc4ae26e8cc810af1697ab377fce9d2825af9 | 179 | py | Python | make_hash.py | fostroll/modelsrv0 | 0debc1d64734aafd5d4286397f9db530c7dd8719 | [
"CC0-1.0"
] | null | null | null | make_hash.py | fostroll/modelsrv0 | 0debc1d64734aafd5d4286397f9db530c7dd8719 | [
"CC0-1.0"
] | null | null | null | make_hash.py | fostroll/modelsrv0 | 0debc1d64734aafd5d4286397f9db530c7dd8719 | [
"CC0-1.0"
] | null | null | null | #!/usr/bin/python
from passlib.context import CryptContext
import sys
pwd_context = CryptContext(schemes='sha512_crypt', deprecated='auto')
print(pwd_context.hash(sys.argv[1]))
| 22.375 | 69 | 0.787709 | 25 | 179 | 5.52 | 0.76 | 0.144928 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024242 | 0.078212 | 179 | 7 | 70 | 25.571429 | 0.812121 | 0.089385 | 0 | 0 | 0 | 0 | 0.098765 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.25 | 0.5 | 0 | 0.5 | 0.25 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 4 |
88d3eff9343b9e6714223023cfaecdf8ed8afe98 | 120 | py | Python | src/fewie/evaluation/classifiers/__init__.py | DFKI-NLP/fewie | a47d2a02bc51cf951fc294de43bdb7557bc574b4 | [
"MIT"
] | null | null | null | src/fewie/evaluation/classifiers/__init__.py | DFKI-NLP/fewie | a47d2a02bc51cf951fc294de43bdb7557bc574b4 | [
"MIT"
] | null | null | null | src/fewie/evaluation/classifiers/__init__.py | DFKI-NLP/fewie | a47d2a02bc51cf951fc294de43bdb7557bc574b4 | [
"MIT"
] | null | null | null | from .logistic_regression import LogisticRegression
CLASSIFIER_NAME_MAP = {"logistic_regression": LogisticRegression}
| 24 | 65 | 0.858333 | 11 | 120 | 9 | 0.727273 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 120 | 4 | 66 | 30 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0.158333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
88e8392d0e1d4691c7435f0d1e7f9e58efc847f6 | 2,273 | py | Python | tests/test_elm_codeshift.py | PChambino/elm-doc | 08cce96e9c36db208a4ba9eb08a9faf9f3acba19 | [
"BSD-3-Clause"
] | 29 | 2017-02-01T11:58:44.000Z | 2021-05-21T15:18:33.000Z | tests/test_elm_codeshift.py | PChambino/elm-doc | 08cce96e9c36db208a4ba9eb08a9faf9f3acba19 | [
"BSD-3-Clause"
] | 143 | 2017-07-26T17:34:44.000Z | 2022-03-01T18:01:43.000Z | tests/test_elm_codeshift.py | PChambino/elm-doc | 08cce96e9c36db208a4ba9eb08a9faf9f3acba19 | [
"BSD-3-Clause"
] | 7 | 2018-03-09T10:04:45.000Z | 2021-10-19T19:17:40.000Z | from elm_doc import elm_codeshift
def test_elm_codeshift_strips_ports_from_single_line_port_module_declaration():
source = 'port module Main exposing (main)'
actual = elm_codeshift.strip_ports_from_string(source)
expected = 'module Main exposing (main)'
assert actual == expected
def test_elm_codeshi... | 19.10084 | 81 | 0.66476 | 289 | 2,273 | 5.034602 | 0.186851 | 0.074227 | 0.049485 | 0.053608 | 0.761512 | 0.742955 | 0.718213 | 0.690722 | 0.650859 | 0.50378 | 0 | 0.005621 | 0.217334 | 2,273 | 118 | 82 | 19.262712 | 0.812254 | 0 | 0 | 0.74 | 0 | 0 | 0.615486 | 0 | 0 | 0 | 0 | 0 | 0.04 | 1 | 0.04 | false | 0 | 0.01 | 0 | 0.05 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
88e9c7c4071183c4b46c454ff9a36b007223affd | 24 | py | Python | lib/__init__.py | facelessuser/ThemeTweaker | 3f01e6bd3229ef4aeaeed3aafb9ee2628070364b | [
"MIT"
] | 18 | 2015-02-13T21:13:22.000Z | 2020-09-28T19:37:48.000Z | lib/__init__.py | facelessuser/ThemeTweaker | 3f01e6bd3229ef4aeaeed3aafb9ee2628070364b | [
"MIT"
] | 8 | 2015-07-08T18:45:45.000Z | 2021-09-05T22:57:57.000Z | lib/__init__.py | facelessuser/ThemeTweaker | 3f01e6bd3229ef4aeaeed3aafb9ee2628070364b | [
"MIT"
] | 5 | 2017-02-10T04:18:32.000Z | 2017-11-20T04:54:06.000Z | """ThemeTweaker lib."""
| 12 | 23 | 0.625 | 2 | 24 | 7.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 24 | 1 | 24 | 24 | 0.681818 | 0.708333 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
88eaec2505f8aca328dfee9872a07518b623439d | 25 | py | Python | templates/function.py | Tsitko/drawyourbot | 87ce611a6aaba0dbcd02332edecf1dfe79dcae03 | [
"MIT"
] | 22 | 2021-04-22T08:00:08.000Z | 2021-08-11T00:30:30.000Z | templates/function.py | Tsitko/drawyourbot | 87ce611a6aaba0dbcd02332edecf1dfe79dcae03 | [
"MIT"
] | null | null | null | templates/function.py | Tsitko/drawyourbot | 87ce611a6aaba0dbcd02332edecf1dfe79dcae03 | [
"MIT"
] | 4 | 2021-08-10T08:36:12.000Z | 2022-03-27T15:21:30.000Z | %block_name%(bot, update) | 25 | 25 | 0.76 | 4 | 25 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 25 | 1 | 25 | 25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
88ef8e40685d9b2058020a689ca9f40439d5d37e | 194 | py | Python | backend/backend/permissions/__init__.py | ProjetoALES/ales-website | 9dc5b460f5e780a1221d0ed5071043f088082395 | [
"MIT"
] | null | null | null | backend/backend/permissions/__init__.py | ProjetoALES/ales-website | 9dc5b460f5e780a1221d0ed5071043f088082395 | [
"MIT"
] | 19 | 2020-02-25T05:29:39.000Z | 2021-09-22T18:38:26.000Z | backend/backend/permissions/__init__.py | ProjetoALES/ales-website | 9dc5b460f5e780a1221d0ed5071043f088082395 | [
"MIT"
] | null | null | null | from .token import HasValidToken
from .http import (
IsGetRequest,
IsPostRequest,
IsPutPatchRequest,
IsReadyOnlyRequest,
IsDeleteRequest,
)
from .ownership import OwnsObject
| 19.4 | 33 | 0.752577 | 16 | 194 | 9.125 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195876 | 194 | 9 | 34 | 21.555556 | 0.935897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
88f8c179b37b4eeec9bc125f331709eb2d0236e3 | 52 | py | Python | xbee/helpers/dispatch/__init__.py | harp00/python-xbee | 2de03ae5a4de19e3654b15772b2af46866abcb40 | [
"MIT"
] | 65 | 2015-12-06T02:38:28.000Z | 2017-09-05T16:46:07.000Z | xbee/helpers/dispatch/__init__.py | harp00/python-xbee | 2de03ae5a4de19e3654b15772b2af46866abcb40 | [
"MIT"
] | 44 | 2015-10-23T15:33:54.000Z | 2017-09-01T06:39:50.000Z | xbee/helpers/dispatch/__init__.py | harp00/python-xbee | 2de03ae5a4de19e3654b15772b2af46866abcb40 | [
"MIT"
] | 43 | 2015-12-15T02:52:21.000Z | 2017-06-24T17:14:53.000Z | from xbee.helpers.dispatch.dispatch import Dispatch
| 26 | 51 | 0.865385 | 7 | 52 | 6.428571 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 52 | 1 | 52 | 52 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.