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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d671e43d668464a09b7704aa5ba06a0ebf10176b | 8,241 | py | Python | core/evaluator/interpreter.py | kant/kg-goal-oriented-dialog | 84fe6008036e34032c1c04dbca36c89809003276 | [
"Apache-2.0"
] | null | null | null | core/evaluator/interpreter.py | kant/kg-goal-oriented-dialog | 84fe6008036e34032c1c04dbca36c89809003276 | [
"Apache-2.0"
] | null | null | null | core/evaluator/interpreter.py | kant/kg-goal-oriented-dialog | 84fe6008036e34032c1c04dbca36c89809003276 | [
"Apache-2.0"
] | null | null | null | from __future__ import print_function, division
import numpy as np
import torch
from ..advisor.utils import to_var
class Interpreter(object):
""" Class to interpret models with given datasets.
Args:
batch_size (int, optional): batch size for interpreter (default: 64)
"""
def __init__(self,... | 60.153285 | 156 | 0.584759 | 1,156 | 8,241 | 3.944637 | 0.118512 | 0.039912 | 0.057895 | 0.078947 | 0.781579 | 0.772588 | 0.744518 | 0.741447 | 0.708991 | 0.708991 | 0 | 0.009292 | 0.268657 | 8,241 | 137 | 157 | 60.153285 | 0.747304 | 0.436719 | 0 | 0 | 0 | 0 | 0.076736 | 0 | 0.142857 | 0 | 0 | 0 | 0 | 1 | 0.035714 | false | 0 | 0.071429 | 0 | 0.125 | 0.017857 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
d6768072eee96b46aa42f7fdfb26cf802b7fe8b4 | 42,638 | py | Python | nlde/query/parsetab.py | Lars-H/federated_crop | 8e936926462aa5df5a9b8e6b42b061a3623fddf4 | [
"MIT"
] | 3 | 2020-10-30T20:52:31.000Z | 2021-09-15T07:33:09.000Z | nlde/query/parsetab.py | Lars-H/crop | 094af1639df8a3214cbfd9e50cca1841db9ddd9e | [
"MIT"
] | null | null | null | nlde/query/parsetab.py | Lars-H/crop | 094af1639df8a3214cbfd9e50cca1841db9ddd9e | [
"MIT"
] | null | null | null |
# parsetab.py
# This file is automatically generated. Do not edit.
# pylint: disable=W,C,R
_tabversion = '3.10'
_lr_method = 'LALR'
_lr_signature = 'ALL AND ASC BOOLEAN BOUND BY BYTE COLON COMA CONSTANT CONTAINS DATATYPE DATETIME DECIMAL DESC DISTINCT DIV DOUBLE EQUALS FILTER FLOAT GREATER GREATEREQ ID INT INTEGER I... | 264.832298 | 22,379 | 0.657981 | 9,166 | 42,638 | 2.957561 | 0.056295 | 0.057545 | 0.067136 | 0.018592 | 0.562728 | 0.496735 | 0.43587 | 0.409901 | 0.390645 | 0.344867 | 0 | 0.400025 | 0.058586 | 42,638 | 160 | 22,380 | 266.4875 | 0.275336 | 0.00197 | 0 | 0.013333 | 1 | 0.006667 | 0.34029 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
d692ec46ce91d5f7e05948f9679eed68063ca653 | 157 | py | Python | python/leap/year.py | Coding-Koans/Exercisms | 5edddebdb3086800c020717d0c2b0b17bc63f62f | [
"MIT"
] | null | null | null | python/leap/year.py | Coding-Koans/Exercisms | 5edddebdb3086800c020717d0c2b0b17bc63f62f | [
"MIT"
] | null | null | null | python/leap/year.py | Coding-Koans/Exercisms | 5edddebdb3086800c020717d0c2b0b17bc63f62f | [
"MIT"
] | null | null | null | def is_leap_year(year):
leap = False
if(year % 4 == 0):
leap = True
if(year % 100 == 0):
leap = False
if(year % 400 == 0):
leap = True
return leap | 17.444444 | 23 | 0.579618 | 27 | 157 | 3.296296 | 0.444444 | 0.202247 | 0.247191 | 0.337079 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086207 | 0.261147 | 157 | 9 | 24 | 17.444444 | 0.681034 | 0 | 0 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0 | 0 | 0.222222 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
d6c7b42184b6d2b828eb7bcba87c7b187dd025fe | 132 | py | Python | contextmonkey/feedlayer/emulators/gennymotion/__init__.py | manojrege/contextmonkey | 9974889a726d7f60c6da0d6ccab97113ce635a14 | [
"BSD-3-Clause"
] | 4 | 2017-03-17T02:28:12.000Z | 2019-04-18T11:25:44.000Z | contextmonkey/feedlayer/emulators/gennymotion/__init__.py | manojrege/contextmonkey | 9974889a726d7f60c6da0d6ccab97113ce635a14 | [
"BSD-3-Clause"
] | null | null | null | contextmonkey/feedlayer/emulators/gennymotion/__init__.py | manojrege/contextmonkey | 9974889a726d7f60c6da0d6ccab97113ce635a14 | [
"BSD-3-Clause"
] | null | null | null | """Module for Genymotion emulator connection."""
import sys
import os
sys.path.append(os.path.dirname(__file__) + '/../../../../')
| 22 | 60 | 0.666667 | 16 | 132 | 5.25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098485 | 132 | 5 | 61 | 26.4 | 0.705882 | 0.318182 | 0 | 0 | 0 | 0 | 0.154762 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
d6d1b65834495061e29fb6eb21a5794df3dd7c8e | 170 | py | Python | Hub/ecointeraction/CairnFORM/admin.py | maximedaniel/ITAME | ca820337911695fa3625b32dcad5d87ff0b192d0 | [
"MIT"
] | null | null | null | Hub/ecointeraction/CairnFORM/admin.py | maximedaniel/ITAME | ca820337911695fa3625b32dcad5d87ff0b192d0 | [
"MIT"
] | 1 | 2021-06-10T23:19:09.000Z | 2021-06-10T23:19:09.000Z | Hub/ecointeraction/CairnFORM/admin.py | maximedaniel/ITAME | ca820337911695fa3625b32dcad5d87ff0b192d0 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import EnergyUsage, Event, Laptop
admin.site.register(EnergyUsage)
admin.site.register(Event)
admin.site.register(Laptop) | 21.25 | 46 | 0.817647 | 23 | 170 | 6.043478 | 0.478261 | 0.194245 | 0.366906 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 170 | 8 | 47 | 21.25 | 0.896774 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
d6d2b45e9c3ba77937237f0b7ba6edae78343e48 | 134 | py | Python | pyvino_utils/tests/input_handler/test_input_feeder.py | venky4121994/openvinoface | a620138b94f865fb19e6165abde2237c85ca8764 | [
"MIT"
] | 4 | 2020-08-31T17:19:57.000Z | 2020-10-03T13:59:10.000Z | pyvino_utils/tests/input_handler/test_input_feeder.py | B0N0AI/pyvino_utils | 0d42741eb446b038eae2917b621d9c1ffbc42452 | [
"MIT"
] | 2 | 2020-09-13T08:04:36.000Z | 2020-09-13T08:04:58.000Z | pyvino_utils/tests/input_handler/test_input_feeder.py | mmphego/pyvino_utils | 0d42741eb446b038eae2917b621d9c1ffbc42452 | [
"MIT"
] | null | null | null | import unittest
from pyvino_utils import InputFeeder
class test_input_feeder(unittest.TestCase):
def setUp(self):
pass
| 14.888889 | 43 | 0.753731 | 17 | 134 | 5.764706 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19403 | 134 | 8 | 44 | 16.75 | 0.907407 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.2 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
d6de939b6763fe8990f593dabd786515865a9885 | 96 | py | Python | venv/lib/python3.8/site-packages/poetry/exceptions.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/poetry/exceptions.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/poetry/exceptions.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/ac/29/3d/802ae278ce380d903c7f3ff4a5da11e80505f905ece7eeeb06e30a89c8 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.385417 | 0 | 96 | 1 | 96 | 96 | 0.510417 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
d6fb51859d45e0fea440b55765532e911350ae1e | 192 | py | Python | 1. Primitive Types/03escapeSequences.py | ahmadsohail404/helloPython | 7fa0c1c4ae7badecc6adc6e9ce35cce14e86766f | [
"MIT"
] | null | null | null | 1. Primitive Types/03escapeSequences.py | ahmadsohail404/helloPython | 7fa0c1c4ae7badecc6adc6e9ce35cce14e86766f | [
"MIT"
] | null | null | null | 1. Primitive Types/03escapeSequences.py | ahmadsohail404/helloPython | 7fa0c1c4ae7badecc6adc6e9ce35cce14e86766f | [
"MIT"
] | null | null | null | course = 'Python "Programming"'
print(course)
course = "Python \"Programming\"" # use this to be maintain consistency
course = "Python \\Programming\"" # Python \Programming"
print(course)
| 27.428571 | 72 | 0.71875 | 21 | 192 | 6.571429 | 0.47619 | 0.492754 | 0.5 | 0.405797 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140625 | 192 | 6 | 73 | 32 | 0.836364 | 0.291667 | 0 | 0.4 | 0 | 0 | 0.368421 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.4 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
ba80d4909320b4c57f776f9c6494da3d30273a43 | 44 | py | Python | pyphlow/app/__init__.py | failipp/pyphlow | 82875ca593a971a8683ab052c005ca90df2404f3 | [
"MIT"
] | null | null | null | pyphlow/app/__init__.py | failipp/pyphlow | 82875ca593a971a8683ab052c005ca90df2404f3 | [
"MIT"
] | null | null | null | pyphlow/app/__init__.py | failipp/pyphlow | 82875ca593a971a8683ab052c005ca90df2404f3 | [
"MIT"
] | null | null | null | from pyphlow.app.app import main as run_app
| 22 | 43 | 0.818182 | 9 | 44 | 3.888889 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 44 | 1 | 44 | 44 | 0.921053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
ba8430c0e58ec2335ca7bbd823a6aa65ff00546f | 47,117 | py | Python | dnacentersdk/api/v2_2_1/wireless.py | oboehmer/dnacentersdk | 25c4e99900640deee91a56aa886874d9cb0ca960 | [
"MIT"
] | 32 | 2019-09-05T05:16:56.000Z | 2022-03-22T09:50:38.000Z | dnacentersdk/api/v2_2_1/wireless.py | oboehmer/dnacentersdk | 25c4e99900640deee91a56aa886874d9cb0ca960 | [
"MIT"
] | 35 | 2019-09-07T18:58:54.000Z | 2022-03-24T19:29:36.000Z | dnacentersdk/api/v2_2_1/wireless.py | oboehmer/dnacentersdk | 25c4e99900640deee91a56aa886874d9cb0ca960 | [
"MIT"
] | 18 | 2019-09-09T11:07:21.000Z | 2022-03-25T08:49:59.000Z | # -*- coding: utf-8 -*-
"""Cisco DNA Center Wireless API wrapper.
Copyright (c) 2019-2021 Cisco Systems.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without lim... | 39.929661 | 121 | 0.57631 | 4,764 | 47,117 | 5.45445 | 0.075357 | 0.04187 | 0.031403 | 0.023398 | 0.766173 | 0.756821 | 0.751087 | 0.726573 | 0.721724 | 0.721724 | 0 | 0.018468 | 0.35987 | 47,117 | 1,179 | 122 | 39.963528 | 0.843075 | 0.321179 | 0 | 0.697504 | 0 | 0.001468 | 0.091664 | 0.055968 | 0 | 0 | 0 | 0 | 0 | 1 | 0.024963 | false | 0.004405 | 0.008811 | 0 | 0.058737 | 0.001468 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
badbf4f3c67e7f8d21e8a1b5ee4d5f3b1ec1aaf7 | 214 | py | Python | attributes/translation.py | pmaigutyak/mp-shop | 14ea67f71fd91a282d2070414924708214fc6464 | [
"0BSD"
] | 2 | 2018-03-14T11:32:36.000Z | 2021-09-25T14:31:36.000Z | attributes/translation.py | pmaigutyak/mp-attributes | 03aefcbc644beac605ab4c467997215dd550a5b2 | [
"0BSD"
] | 1 | 2018-08-10T08:30:47.000Z | 2019-05-14T17:21:21.000Z | attributes/translation.py | pmaigutyak/mp-shop-attrs | 4912de8d07e1083f86d468e3c869a46460c41915 | [
"0BSD"
] | null | null | null |
from modeltranslation.translator import translator
from attributes.models import Attribute, AttributeOption
translator.register(Attribute, fields=['name'])
translator.register(AttributeOption, fields=['name'])
| 23.777778 | 56 | 0.82243 | 21 | 214 | 8.380952 | 0.52381 | 0.204545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079439 | 214 | 8 | 57 | 26.75 | 0.893401 | 0 | 0 | 0 | 0 | 0 | 0.037559 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
242f4b4a5cad2e4e01aa5e34d53fd037cca8f666 | 32 | py | Python | team/stats/__init__.py | ReubenJ/ulti_stats | cba7ab6a0e708bf809cfca8e18b48a44e4f9e54c | [
"MIT"
] | null | null | null | team/stats/__init__.py | ReubenJ/ulti_stats | cba7ab6a0e708bf809cfca8e18b48a44e4f9e54c | [
"MIT"
] | 6 | 2019-07-09T16:11:52.000Z | 2019-07-12T17:16:48.000Z | team/stats/__init__.py | ReubenJ/ulti_stats | cba7ab6a0e708bf809cfca8e18b48a44e4f9e54c | [
"MIT"
] | 2 | 2019-07-12T17:31:48.000Z | 2019-07-12T22:33:22.000Z | from .ind_stats import IndStats
| 16 | 31 | 0.84375 | 5 | 32 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
246343f6bf2ef70e591d3e81be825b949300574c | 55 | py | Python | rest_typed/serializers/__init__.py | rsinger86/drf-typed | 9eafb052786d64e386c9191998b8a8dd59cb1f27 | [
"MIT"
] | 26 | 2021-10-18T08:02:16.000Z | 2022-03-28T06:12:09.000Z | rest_typed/serializers/__init__.py | rsinger86/drf-typed | 9eafb052786d64e386c9191998b8a8dd59cb1f27 | [
"MIT"
] | 1 | 2021-12-20T21:51:46.000Z | 2022-01-13T18:51:30.000Z | rest_typed/serializers/__init__.py | rsinger86/drf-typed | 9eafb052786d64e386c9191998b8a8dd59cb1f27 | [
"MIT"
] | 3 | 2021-10-30T11:42:05.000Z | 2022-01-26T15:22:18.000Z | from .serializers import TModelSerializer, TSerializer
| 27.5 | 54 | 0.872727 | 5 | 55 | 9.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 55 | 1 | 55 | 55 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
03413bef372ec2904763e898ae8ab5b195dd764e | 226 | py | Python | ircbot/ircbotfactory.py | cyberworm/ircbot | 898b26bd44754fb1a97edd8afcb388b7849d08d2 | [
"MIT"
] | null | null | null | ircbot/ircbotfactory.py | cyberworm/ircbot | 898b26bd44754fb1a97edd8afcb388b7849d08d2 | [
"MIT"
] | null | null | null | ircbot/ircbotfactory.py | cyberworm/ircbot | 898b26bd44754fb1a97edd8afcb388b7849d08d2 | [
"MIT"
] | null | null | null | import socket
from ircbot import IrcBot
from irccommands import IrcCommands
from ircsocket import IrcSocket
class IrcBotFactory(object):
def create(self):
return IrcBot(IrcSocket(socket.socket()), IrcCommands())
| 22.6 | 64 | 0.774336 | 26 | 226 | 6.730769 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154867 | 226 | 9 | 65 | 25.111111 | 0.91623 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.571429 | 0.142857 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
302f042e339b9c039d352534741411b7aebcaf0c | 86 | py | Python | exceptions.py | magnuswenzer/mini_inventory | 823a34673995375d2eee06774ab16b6b6aa01a1c | [
"MIT"
] | null | null | null | exceptions.py | magnuswenzer/mini_inventory | 823a34673995375d2eee06774ab16b6b6aa01a1c | [
"MIT"
] | null | null | null | exceptions.py | magnuswenzer/mini_inventory | 823a34673995375d2eee06774ab16b6b6aa01a1c | [
"MIT"
] | null | null | null |
class AlreadyInDatabase(Exception):
pass
class MissingUnit(Exception):
pass | 12.285714 | 35 | 0.744186 | 8 | 86 | 8 | 0.625 | 0.40625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186047 | 86 | 7 | 36 | 12.285714 | 0.914286 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
30407ea42de84f62b82a62d8e827b644a76cdff2 | 101 | py | Python | examples/reminder_bot/database.py | chrisdewa/disbots | b4e2f31513665f2f66e2efc5fd6c9221e3eb5e21 | [
"MIT"
] | 12 | 2021-06-09T16:37:59.000Z | 2022-03-14T01:41:24.000Z | examples/reminder_bot/database.py | chrisdewa/disbots | b4e2f31513665f2f66e2efc5fd6c9221e3eb5e21 | [
"MIT"
] | null | null | null | examples/reminder_bot/database.py | chrisdewa/disbots | b4e2f31513665f2f66e2efc5fd6c9221e3eb5e21 | [
"MIT"
] | 6 | 2021-10-04T23:23:26.000Z | 2022-03-23T11:12:03.000Z | import motor.motor_asyncio
client = motor.motor_asyncio.AsyncIOMotorClient()
db = client.reminders
| 16.833333 | 49 | 0.821782 | 12 | 101 | 6.75 | 0.583333 | 0.246914 | 0.419753 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09901 | 101 | 5 | 50 | 20.2 | 0.89011 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
06390e6be91a19412e2814a904b89f469e710932 | 4,195 | py | Python | bertsumm/evaluate.py | monkeyhjy/aspect_summarization | 3018815cd0aeccb752e9f51a4d49453c4f441650 | [
"MIT"
] | null | null | null | bertsumm/evaluate.py | monkeyhjy/aspect_summarization | 3018815cd0aeccb752e9f51a4d49453c4f441650 | [
"MIT"
] | null | null | null | bertsumm/evaluate.py | monkeyhjy/aspect_summarization | 3018815cd0aeccb752e9f51a4d49453c4f441650 | [
"MIT"
] | null | null | null | # coding:utf8
from rouge import Rouge
tool_names = [
'Jenkins'
]
aspect_names = [
'compatibility', 'documentation', 'functional', 'performance', 'reliability', 'usability', 'other'
]
rouge_methods = [
"rouge-1",
"rouge-2",
"rouge-l"
]
def mean(arr):
sum = 0
for i in ... | 29.335664 | 103 | 0.533492 | 529 | 4,195 | 4.018904 | 0.149338 | 0.059266 | 0.052681 | 0.022578 | 0.730009 | 0.713076 | 0.70461 | 0.70461 | 0.700847 | 0.693321 | 0 | 0.025372 | 0.295352 | 4,195 | 143 | 104 | 29.335664 | 0.693843 | 0.010012 | 0 | 0.516949 | 0 | 0 | 0.115826 | 0.005242 | 0 | 0 | 0 | 0 | 0 | 1 | 0.025424 | false | 0 | 0.008475 | 0 | 0.059322 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
06675ae6611b8201063a4b19dc6fc660b9cfbce0 | 39,646 | py | Python | opencdms/models/djangodemo/migrations/0001_initial.py | faysal-ishtiaq/pyopencdms | 9872a9058af440f0e043c79ef75026a711877ac7 | [
"MIT"
] | 3 | 2021-08-03T16:34:03.000Z | 2021-09-09T21:38:58.000Z | opencdms/models/djangodemo/migrations/0001_initial.py | faysal-ishtiaq/pyopencdms | 9872a9058af440f0e043c79ef75026a711877ac7 | [
"MIT"
] | 41 | 2020-10-22T07:59:41.000Z | 2022-03-22T16:54:44.000Z | opencdms/models/djangodemo/migrations/0001_initial.py | faysal-ishtiaq/pyopencdms | 9872a9058af440f0e043c79ef75026a711877ac7 | [
"MIT"
] | 5 | 2020-10-30T10:55:10.000Z | 2022-01-16T11:16:47.000Z | # Generated by Django 3.2.7 on 2021-09-09 00:36
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
]
ope... | 94.171021 | 190 | 0.553473 | 4,765 | 39,646 | 4.475761 | 0.073452 | 0.13504 | 0.285085 | 0.342102 | 0.848267 | 0.779716 | 0.635767 | 0.550898 | 0.546303 | 0.35795 | 0 | 0.048592 | 0.218786 | 39,646 | 420 | 191 | 94.395238 | 0.639997 | 0.001135 | 0 | 0.169492 | 1 | 0 | 0.125458 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.007264 | 0 | 0.016949 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
0691cf277d9827e4f324ab7ebed86ddc7b211261 | 75 | py | Python | NHLArenaAdjuster/__init__.py | delara38/NHLArenaAdjuster | ed823c61c1004ccae077d5913705e235708f7a17 | [
"MIT"
] | 1 | 2021-09-09T23:25:20.000Z | 2021-09-09T23:25:20.000Z | NHLArenaAdjuster/__init__.py | delara38/NHLArenaAdjuster | ed823c61c1004ccae077d5913705e235708f7a17 | [
"MIT"
] | null | null | null | NHLArenaAdjuster/__init__.py | delara38/NHLArenaAdjuster | ed823c61c1004ccae077d5913705e235708f7a17 | [
"MIT"
] | null | null | null |
from CoordinateAdjuster import CoordinateAdjuster
from Venue import Venue
| 18.75 | 49 | 0.88 | 8 | 75 | 8.25 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 75 | 3 | 50 | 25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
06a8086a98fd831a0b92463b569729c8f0cddb24 | 102 | py | Python | Robot101/0400_XML_RPC/xRpcFaker.py | Python3-Training/Robot-Framework | 788b250029c822c2fdce768e110660b12e2b8b36 | [
"MIT"
] | null | null | null | Robot101/0400_XML_RPC/xRpcFaker.py | Python3-Training/Robot-Framework | 788b250029c822c2fdce768e110660b12e2b8b36 | [
"MIT"
] | null | null | null | Robot101/0400_XML_RPC/xRpcFaker.py | Python3-Training/Robot-Framework | 788b250029c822c2fdce768e110660b12e2b8b36 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# File: xRpcFaker.py
def SayHello(token):
return f"Hello {token}!"
| 14.571429 | 29 | 0.627451 | 14 | 102 | 4.571429 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0125 | 0.215686 | 102 | 6 | 30 | 17 | 0.7875 | 0.392157 | 0 | 0 | 0 | 0 | 0.264151 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
ebec4739f31346abf0fbfb388e9089eb8ee606db | 117 | py | Python | modules/sleep24h.py | ElijahBeach/C2-Server-Project | 89e6d418790493aa222cca5b6ea7f3f519e4e478 | [
"MIT"
] | 3 | 2022-01-14T01:55:25.000Z | 2022-03-30T01:08:16.000Z | modules/sleep24h.py | ElijahBeach/C2-Server-Project | 89e6d418790493aa222cca5b6ea7f3f519e4e478 | [
"MIT"
] | null | null | null | modules/sleep24h.py | ElijahBeach/C2-Server-Project | 89e6d418790493aa222cca5b6ea7f3f519e4e478 | [
"MIT"
] | 2 | 2022-01-15T14:30:55.000Z | 2022-01-15T16:04:15.000Z | import time
import random
def run(**args):
print('[!] Sleep for a day')
time.sleep(random.randint(86000,86800))
| 16.714286 | 41 | 0.692308 | 18 | 117 | 4.5 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 0.145299 | 117 | 6 | 42 | 19.5 | 0.71 | 0 | 0 | 0 | 0 | 0 | 0.162393 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0 | 0.6 | 0.2 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
231ca053abaab7cac982bdbfaf3e436d30c9ed7f | 81 | py | Python | decomon/backward_layers/__init__.py | airbus/decomon | f3668fbd8edd0def4e23aa0634eebfec58349c35 | [
"MIT"
] | 11 | 2021-11-03T12:09:50.000Z | 2022-02-20T21:42:13.000Z | decomon/backward_layers/__init__.py | airbus/decomon | f3668fbd8edd0def4e23aa0634eebfec58349c35 | [
"MIT"
] | 1 | 2022-02-18T13:40:46.000Z | 2022-02-18T13:40:46.000Z | decomon/backward_layers/__init__.py | airbus/decomon | f3668fbd8edd0def4e23aa0634eebfec58349c35 | [
"MIT"
] | null | null | null | from __future__ import absolute_import
from .backward_layers import get_backward
| 27 | 41 | 0.888889 | 11 | 81 | 5.909091 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098765 | 81 | 2 | 42 | 40.5 | 0.890411 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
2372d4f3a61fa6fc827dcbf21da9c854bb7b92ac | 507 | py | Python | utils/test_images_generator/generator_utils.py | pgolab/mosaic-maker-opencv-python | 348597747dba7133abe3836d79cf062be6d34646 | [
"MIT"
] | 2 | 2021-03-23T16:14:03.000Z | 2021-04-03T19:21:26.000Z | utils/test_images_generator/generator_utils.py | pgolab/mosaic-maker-opencv-python | 348597747dba7133abe3836d79cf062be6d34646 | [
"MIT"
] | null | null | null | utils/test_images_generator/generator_utils.py | pgolab/mosaic-maker-opencv-python | 348597747dba7133abe3836d79cf062be6d34646 | [
"MIT"
] | 4 | 2018-04-10T12:30:51.000Z | 2021-04-13T12:48:43.000Z | import numpy as np
from utils.test_images_generator.generator_config import AVAILABLE_COLORS_DICT
def generate_random_color():
# ToDo choose random color from AVAILABLE_COLORS_DICT
# https://numpy.org/doc/1.18/reference/random/generated/numpy.random.choice.html
return (0, 0, 0)
def generate_random_image... | 31.6875 | 84 | 0.755424 | 76 | 507 | 4.881579 | 0.526316 | 0.080863 | 0.102426 | 0.086253 | 0.140162 | 0.140162 | 0 | 0 | 0 | 0 | 0 | 0.022779 | 0.134122 | 507 | 15 | 85 | 33.8 | 0.822323 | 0.25641 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.125 | 0.75 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
88c7be3de844c4dbb73f16b6395507f2599cd6c9 | 183 | py | Python | rules_default/castervoice/lib/control.py | MLH-Fellowship/LarynxCode | 840fee18c689a357052825607c27fc8e3e56571c | [
"MIT"
] | 1 | 2021-09-17T06:11:02.000Z | 2021-09-17T06:11:02.000Z | rules_default/castervoice/lib/control.py | soma2000-lang/LarynxCode | 840fee18c689a357052825607c27fc8e3e56571c | [
"MIT"
] | 5 | 2021-02-03T05:29:41.000Z | 2021-02-08T01:14:11.000Z | rules_default/castervoice/lib/control.py | soma2000-lang/LarynxCode | 840fee18c689a357052825607c27fc8e3e56571c | [
"MIT"
] | 4 | 2021-02-03T05:05:00.000Z | 2021-07-14T06:21:10.000Z | _NEXUS = None
def init_nexus(content_loader):
global _NEXUS
from castervoice.lib.ctrl.nexus import Nexus
_NEXUS = Nexus(content_loader)
def nexus():
return _NEXUS
| 15.25 | 48 | 0.721311 | 24 | 183 | 5.208333 | 0.541667 | 0.192 | 0.288 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.20765 | 183 | 11 | 49 | 16.636364 | 0.862069 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.142857 | 0.571429 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
88d18a55f52233bd60f29d6bd3acd4c9453c69dd | 367 | py | Python | querido_diario_toolbox/etl/text_extractor.py | campagnucci/querido-diario-toolbox | 3ec99564ae92f1b5456f351f34e7745b4385c79e | [
"MIT"
] | 20 | 2020-10-30T19:52:12.000Z | 2021-11-12T12:51:58.000Z | querido_diario_toolbox/etl/text_extractor.py | campagnucci/querido-diario-toolbox | 3ec99564ae92f1b5456f351f34e7745b4385c79e | [
"MIT"
] | 26 | 2020-10-30T19:58:44.000Z | 2022-03-31T01:41:55.000Z | querido_diario_toolbox/etl/text_extractor.py | campagnucci/querido-diario-toolbox | 3ec99564ae92f1b5456f351f34e7745b4385c79e | [
"MIT"
] | 9 | 2020-10-30T20:15:33.000Z | 2022-02-18T16:44:15.000Z | from querido_diario_toolbox.etl.apache_tika_text_extractor import ApacheTikaExtractor
from querido_diario_toolbox.etl.text_extractor_interface import TextExtractor
def create_text_extractor(config) -> TextExtractor:
"""
Instantiates a text extractor object based on the given configuration.
"""
return ... | 36.7 | 85 | 0.820163 | 43 | 367 | 6.697674 | 0.604651 | 0.180556 | 0.118056 | 0.166667 | 0.1875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119891 | 367 | 9 | 86 | 40.777778 | 0.891641 | 0.190736 | 0 | 0 | 0 | 0 | 0.053381 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
88ea594db33a7ccd66b5bcf0dd79f26ef76e4bb8 | 118 | py | Python | examples/daw/drivers/drivers.py | Breq16/vibrance_ctrl | 93247f686b4e5e42d5f36b9d592fe9cd8322069e | [
"MIT"
] | null | null | null | examples/daw/drivers/drivers.py | Breq16/vibrance_ctrl | 93247f686b4e5e42d5f36b9d592fe9cd8322069e | [
"MIT"
] | null | null | null | examples/daw/drivers/drivers.py | Breq16/vibrance_ctrl | 93247f686b4e5e42d5f36b9d592fe9cd8322069e | [
"MIT"
] | null | null | null | import vibrance.driver.midi
drivers = []
drivers.append(vibrance.driver.midi.MidiDriver("Ableton MIDI", "vibrance"))
| 23.6 | 75 | 0.771186 | 14 | 118 | 6.5 | 0.571429 | 0.307692 | 0.395604 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076271 | 118 | 4 | 76 | 29.5 | 0.834862 | 0 | 0 | 0 | 0 | 0 | 0.169492 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
88efe8574b9f901784ecc69d847136ea787dbca0 | 70 | py | Python | _main_decision/_plotting/__init__.py | oxquantum/CVAE | 0352ddc51fbfd8d57b155e6de66b4c34e010beac | [
"MIT"
] | null | null | null | _main_decision/_plotting/__init__.py | oxquantum/CVAE | 0352ddc51fbfd8d57b155e6de66b4c34e010beac | [
"MIT"
] | null | null | null | _main_decision/_plotting/__init__.py | oxquantum/CVAE | 0352ddc51fbfd8d57b155e6de66b4c34e010beac | [
"MIT"
] | null | null | null | from .plotting import plot_100_recon, plot_with_mask, plot_every_step
| 35 | 69 | 0.871429 | 12 | 70 | 4.583333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046875 | 0.085714 | 70 | 1 | 70 | 70 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
00112fe329813106776d055f56a9afea56e9b449 | 292 | py | Python | python/test/__init__.py | mtreinish/tweedledum | f9c3b9edcb0958c49a341a4d59eceef09faa3fea | [
"MIT"
] | null | null | null | python/test/__init__.py | mtreinish/tweedledum | f9c3b9edcb0958c49a341a4d59eceef09faa3fea | [
"MIT"
] | null | null | null | python/test/__init__.py | mtreinish/tweedledum | f9c3b9edcb0958c49a341a4d59eceef09faa3fea | [
"MIT"
] | null | null | null | #-------------------------------------------------------------------------------
# Part of tweedledum. This file is distributed under the MIT License.
# See accompanying file /LICENSE for details.
#-------------------------------------------------------------------------------
"""Tests."""
| 48.666667 | 80 | 0.328767 | 18 | 292 | 5.333333 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078767 | 292 | 5 | 81 | 58.4 | 0.356877 | 0.952055 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
00439fdc8b5de68a86add3b67056f48239d9e0c5 | 12 | py | Python | hello.py | kzlknight/test001 | ce47b390540c7ca0e85825a638e8cbeb68c69057 | [
"MIT"
] | null | null | null | hello.py | kzlknight/test001 | ce47b390540c7ca0e85825a638e8cbeb68c69057 | [
"MIT"
] | 5 | 2020-09-26T00:47:08.000Z | 2022-02-10T00:41:35.000Z | src/test.py | khi265/SynchronizeFacialExpressionPython | 7e77ee6fe97145e72cfc2153c78a8d7da2f1d1b8 | [
"MIT"
] | null | null | null | print('aaa') | 12 | 12 | 0.666667 | 2 | 12 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 12 | 1 | 12 | 12 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
cc4e23fbb0adb7f99525103d8a0870d59e9f8b83 | 197 | py | Python | test_template.py | qbicsoftware/template_qbicportlet | 9efc7443c8dcef8c86e2c2c741825de69ccea06f | [
"MIT"
] | 1 | 2017-05-24T18:49:09.000Z | 2017-05-24T18:49:09.000Z | test_template.py | qbicsoftware/template_qbicportlet | 9efc7443c8dcef8c86e2c2c741825de69ccea06f | [
"MIT"
] | 22 | 2017-05-23T13:26:08.000Z | 2018-04-25T17:30:12.000Z | test_template.py | qbicsoftware/template_qbicportlet | 9efc7443c8dcef8c86e2c2c741825de69ccea06f | [
"MIT"
] | 1 | 2017-09-07T16:03:42.000Z | 2017-09-07T16:03:42.000Z | import os
FOLDER_NAME = 'template-test'
def test_portlet_folder_was_created():
assert(os.path.exists(FOLDER_NAME))
def test_portlet_folder_is_folder():
assert(os.path.isdir(FOLDER_NAME)) | 21.888889 | 39 | 0.781726 | 30 | 197 | 4.766667 | 0.5 | 0.20979 | 0.195804 | 0.27972 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106599 | 197 | 9 | 40 | 21.888889 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0.065657 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | false | 0 | 0.166667 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
cc8bcd9597344d45aa75e0b945912ab0d9740b3a | 9,234 | py | Python | qcodes_contrib_drivers/tests/QDevil/test_sim_qdac2_sine.py | janekfleper/Qcodes_contrib_drivers | d8eab2c9c90da272d3f0cdcb3ed0bcc08052f342 | [
"MIT"
] | null | null | null | qcodes_contrib_drivers/tests/QDevil/test_sim_qdac2_sine.py | janekfleper/Qcodes_contrib_drivers | d8eab2c9c90da272d3f0cdcb3ed0bcc08052f342 | [
"MIT"
] | null | null | null | qcodes_contrib_drivers/tests/QDevil/test_sim_qdac2_sine.py | janekfleper/Qcodes_contrib_drivers | d8eab2c9c90da272d3f0cdcb3ed0bcc08052f342 | [
"MIT"
] | null | null | null | import pytest
from .sim_qdac2_fixtures import qdac # noqa
from qcodes_contrib_drivers.drivers.QDevil.QDAC2 import ExternalInput
def test_sine_ambiguous(qdac): # noqa
# -----------------------------------------------------------------------
with pytest.raises(ValueError) as error:
qdac.ch01.sine_wave... | 36.498024 | 77 | 0.464696 | 882 | 9,234 | 4.582766 | 0.123583 | 0.095002 | 0.048986 | 0.067293 | 0.830282 | 0.810737 | 0.782781 | 0.741217 | 0.654379 | 0.646462 | 0 | 0.024762 | 0.169049 | 9,234 | 252 | 78 | 36.642857 | 0.50202 | 0.295105 | 0 | 0.575419 | 0 | 0 | 0.182579 | 0 | 0 | 0 | 0 | 0 | 0.122905 | 1 | 0.100559 | false | 0 | 0.01676 | 0 | 0.117318 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
aef24633ee8ee9b2a64203f7a8f9bd17e909a9b8 | 69 | py | Python | python/testData/copyPaste/WholeIndentedLineSelectedWithIndentAndReplacedWithWord.dst.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/copyPaste/WholeIndentedLineSelectedWithIndentAndReplacedWithWord.dst.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/copyPaste/WholeIndentedLineSelectedWithIndentAndReplacedWithWord.dst.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | if True:
if True:
pass
<selection> foo = 2</selection> | 17.25 | 34 | 0.550725 | 9 | 69 | 4.222222 | 0.666667 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021739 | 0.333333 | 69 | 4 | 34 | 17.25 | 0.804348 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.25 | 0 | null | null | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
aefabb37aeabcb8bf0dce5f86c7170c8f2b98734 | 41 | py | Python | run.py | MePsyDuck/amfr | 691d9270dece8846a5bbb64ba4f2bdea95ee05e5 | [
"MIT"
] | null | null | null | run.py | MePsyDuck/amfr | 691d9270dece8846a5bbb64ba4f2bdea95ee05e5 | [
"MIT"
] | null | null | null | run.py | MePsyDuck/amfr | 691d9270dece8846a5bbb64ba4f2bdea95ee05e5 | [
"MIT"
] | null | null | null | from app_ui import root
root.mainloop()
| 10.25 | 23 | 0.780488 | 7 | 41 | 4.428571 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146341 | 41 | 3 | 24 | 13.666667 | 0.885714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
aeff7c07fce8051f7098ca15947beb1edd8a6f1f | 36 | py | Python | laticore/task/__init__.py | danehrlich1/laticore | 71567f4a188211638fdacdd8ea0acefd9c212c88 | [
"Apache-2.0"
] | null | null | null | laticore/task/__init__.py | danehrlich1/laticore | 71567f4a188211638fdacdd8ea0acefd9c212c88 | [
"Apache-2.0"
] | 1 | 2022-02-10T03:47:51.000Z | 2022-02-10T03:47:51.000Z | laticore/task/__init__.py | danehrlich1/laticore | 71567f4a188211638fdacdd8ea0acefd9c212c88 | [
"Apache-2.0"
] | null | null | null | from laticore.task.task import Task
| 18 | 35 | 0.833333 | 6 | 36 | 5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
4e24782ef1e17435f2e92ca4647db801e44ab80c | 194 | py | Python | ddf_utils/factory/__init__.py | semio/ddf_utils | e10c4cb6dc7722415a5863579a552cc7b7e3668d | [
"MIT"
] | 2 | 2016-11-23T12:28:15.000Z | 2019-03-04T16:06:25.000Z | ddf_utils/factory/__init__.py | semio/ddf_utils | e10c4cb6dc7722415a5863579a552cc7b7e3668d | [
"MIT"
] | 124 | 2016-07-14T13:39:41.000Z | 2021-12-24T01:45:23.000Z | ddf_utils/factory/__init__.py | semio/ddf_utils | e10c4cb6dc7722415a5863579a552cc7b7e3668d | [
"MIT"
] | 1 | 2016-11-30T23:42:56.000Z | 2016-11-30T23:42:56.000Z | # -*- coding: utf-8 -*-
from . clio_infra import ClioInfraLoader
from . ihme import IHMELoader
from . ilo import ILOLoader
from . oecd import OECDLoader
from . worldbank import WorldBankLoader
| 24.25 | 40 | 0.768041 | 24 | 194 | 6.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006135 | 0.159794 | 194 | 7 | 41 | 27.714286 | 0.90184 | 0.108247 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
9d750a09225872db892fb359be4bf2b53c7b8dfd | 19,041 | py | Python | Graded/G2/tests/test_eskf.py | chrstrom/TTK4250 | f453c3a59597d3fe6cff7d35b790689919798b94 | [
"Unlicense"
] | null | null | null | Graded/G2/tests/test_eskf.py | chrstrom/TTK4250 | f453c3a59597d3fe6cff7d35b790689919798b94 | [
"Unlicense"
] | null | null | null | Graded/G2/tests/test_eskf.py | chrstrom/TTK4250 | f453c3a59597d3fe6cff7d35b790689919798b94 | [
"Unlicense"
] | null | null | null | import pickle
from numpy.core.numeric import isscalar
import pytest
from copy import deepcopy
import sys
from pathlib import Path
import numpy as np
import os
from dataclasses import is_dataclass, astuple
from collections.abc import Iterable
assignment_name = "eskf"
this_file = Path(__file__)
tests_folder = this_file... | 37.630435 | 141 | 0.656531 | 3,013 | 19,041 | 3.803518 | 0.045802 | 0.030716 | 0.069634 | 0.021204 | 0.904101 | 0.882024 | 0.85 | 0.778621 | 0.69363 | 0.649389 | 0 | 0.023271 | 0.264272 | 19,041 | 505 | 142 | 37.704951 | 0.794775 | 0.172155 | 0 | 0.382576 | 0 | 0 | 0.112299 | 0.081601 | 0 | 0 | 0 | 0 | 0.261364 | 1 | 0.098485 | false | 0 | 0.045455 | 0 | 0.212121 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
9ddfd98f29c83cea7348ff1488253dcfec84cd52 | 11,052 | py | Python | tests/configuration/configuration/test_configuration_build_commands_map.py | EddLabs/eddington-static | cdd1d9514c4eea1bd06c24894b3922e6cc3fb1f5 | [
"Apache-2.0"
] | null | null | null | tests/configuration/configuration/test_configuration_build_commands_map.py | EddLabs/eddington-static | cdd1d9514c4eea1bd06c24894b3922e6cc3fb1f5 | [
"Apache-2.0"
] | null | null | null | tests/configuration/configuration/test_configuration_build_commands_map.py | EddLabs/eddington-static | cdd1d9514c4eea1bd06c24894b3922e6cc3fb1f5 | [
"Apache-2.0"
] | null | null | null | from pathlib import Path
from unittest.mock import Mock, call
import mock
import pytest
from statue.commands_filter import CommandsFilter
from statue.commands_map import CommandsMap
from statue.config.configuration import Configuration
from statue.context import Context
from tests.constants import (
COMMAND1,
... | 38.110345 | 88 | 0.704397 | 1,124 | 11,052 | 6.624555 | 0.077402 | 0.096025 | 0.063927 | 0.073059 | 0.836959 | 0.823529 | 0.79855 | 0.717835 | 0.692184 | 0.653102 | 0 | 0.020312 | 0.193721 | 11,052 | 289 | 89 | 38.242215 | 0.815284 | 0 | 0 | 0.513514 | 0 | 0 | 0.013934 | 0 | 0 | 0 | 0 | 0 | 0.177606 | 1 | 0.050193 | false | 0 | 0.03861 | 0.003861 | 0.092664 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
d1a663027a0c932acc4c679366149fa51c589f34 | 94 | py | Python | tests/admin_scripts/complex_app/admin/foo.py | Yoann-Vie/esgi-hearthstone | 115d03426c7e8e80d89883b78ac72114c29bed12 | [
"PSF-2.0",
"BSD-3-Clause"
] | null | null | null | tests/admin_scripts/complex_app/admin/foo.py | Yoann-Vie/esgi-hearthstone | 115d03426c7e8e80d89883b78ac72114c29bed12 | [
"PSF-2.0",
"BSD-3-Clause"
] | null | null | null | tests/admin_scripts/complex_app/admin/foo.py | Yoann-Vie/esgi-hearthstone | 115d03426c7e8e80d89883b78ac72114c29bed12 | [
"PSF-2.0",
"BSD-3-Clause"
] | null | null | null | from django.contrib import admin
from ..models.foo import Foo
admin.site.register(Foo)
| 15.666667 | 33 | 0.744681 | 14 | 94 | 5 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170213 | 94 | 5 | 34 | 18.8 | 0.897436 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
d1afd052a63ce53baf8ceb561b35ec3538c1bab9 | 137 | py | Python | reinvent_chemistry/library_design/reaction_definitions/leaving_groups_dto.py | MolecularAI/reinvent-chemistry | bf0235bc2b1168b1db54c1e04bdba04b166ab7bf | [
"MIT"
] | null | null | null | reinvent_chemistry/library_design/reaction_definitions/leaving_groups_dto.py | MolecularAI/reinvent-chemistry | bf0235bc2b1168b1db54c1e04bdba04b166ab7bf | [
"MIT"
] | null | null | null | reinvent_chemistry/library_design/reaction_definitions/leaving_groups_dto.py | MolecularAI/reinvent-chemistry | bf0235bc2b1168b1db54c1e04bdba04b166ab7bf | [
"MIT"
] | 1 | 2022-03-22T15:24:13.000Z | 2022-03-22T15:24:13.000Z | from dataclasses import dataclass
@dataclass
class LeavingGroupsDTO:
leaving_group_scaffold: str
leaving_group_decoration: str
| 17.125 | 33 | 0.817518 | 15 | 137 | 7.2 | 0.733333 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153285 | 137 | 7 | 34 | 19.571429 | 0.931034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.8 | 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 | 1 | 0 | 0 | 5 |
d1b4794249828a55394a9ceaa026477144c0b648 | 4,201 | py | Python | scripts/1_get_osm_data.py | JohnnyRyan1/parks-and-golf | 3f9f5d73e6ea6226a6214d72c18d39d4452f9c28 | [
"MIT"
] | null | null | null | scripts/1_get_osm_data.py | JohnnyRyan1/parks-and-golf | 3f9f5d73e6ea6226a6214d72c18d39d4452f9c28 | [
"MIT"
] | null | null | null | scripts/1_get_osm_data.py | JohnnyRyan1/parks-and-golf | 3f9f5d73e6ea6226a6214d72c18d39d4452f9c28 | [
"MIT"
] | 1 | 2022-02-03T00:18:44.000Z | 2022-02-03T00:18:44.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Get parks and golf courses for each state from OSM.
"""
# Import modules
import osmnx as ox
import geopandas as gpd
import os
# Define filepath
path = '/home/johnny/Documents/Teaching/490_Geospatial_Data_Science_Applications/Applications/OSM_Parks_and_Golf/data/'
... | 36.530435 | 143 | 0.634849 | 520 | 4,201 | 4.876923 | 0.209615 | 0.099763 | 0.07571 | 0.044164 | 0.749606 | 0.749606 | 0.742902 | 0.742902 | 0.742902 | 0.713722 | 0 | 0.010338 | 0.14806 | 4,201 | 114 | 144 | 36.850877 | 0.69824 | 0.156867 | 0 | 0.613636 | 0 | 0 | 0.26336 | 0.04384 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.068182 | 0 | 0.068182 | 0.045455 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
d1eee506feaad0b8a17c2693404f85665b50cc08 | 1,404 | py | Python | inlineplz/parsers/__init__.py | kyleburton/inline-plz | 701b13e17ea0c3849b96c4746d7c0d2672fc78e4 | [
"ISC"
] | null | null | null | inlineplz/parsers/__init__.py | kyleburton/inline-plz | 701b13e17ea0c3849b96c4746d7c0d2672fc78e4 | [
"ISC"
] | null | null | null | inlineplz/parsers/__init__.py | kyleburton/inline-plz | 701b13e17ea0c3849b96c4746d7c0d2672fc78e4 | [
"ISC"
] | null | null | null | # -*- coding: utf-8 -*-
# flake8: noqa
from __future__ import absolute_import
from __future__ import unicode_literals
from inlineplz.parsers.ansiblelint import AnsibleLintParser
from inlineplz.parsers.bandit import BanditParser
from inlineplz.parsers.codenarc import CodenarcParser
from inlineplz.parsers.detectsecrets... | 46.8 | 65 | 0.881054 | 153 | 1,404 | 8.019608 | 0.385621 | 0.243684 | 0.374898 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001546 | 0.078348 | 1,404 | 29 | 66 | 48.413793 | 0.946677 | 0.024217 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
ae27876329b6fc4d22c863c5584ad4eccf820e7c | 12,960 | py | Python | machlearn/kNN/_kNN.py | daniel-yj-yang/pyml | 2328ae1d73eab39f2774331fcfaa10e8fa2fc0de | [
"BSD-3-Clause"
] | 2 | 2020-11-18T13:25:25.000Z | 2020-11-18T13:25:27.000Z | machlearn/kNN/_kNN.py | daniel-yj-yang/pyml | 2328ae1d73eab39f2774331fcfaa10e8fa2fc0de | [
"BSD-3-Clause"
] | null | null | null | machlearn/kNN/_kNN.py | daniel-yj-yang/pyml | 2328ae1d73eab39f2774331fcfaa10e8fa2fc0de | [
"BSD-3-Clause"
] | 2 | 2020-11-18T04:46:07.000Z | 2020-11-25T16:19:39.000Z | # -*- coding: utf-8 -*-
# Author: Daniel Yang <daniel.yj.yang@gmail.com>
#
# License: BSD 3 clause
from sklearn.neighbors import KNeighborsClassifier
from ..math_and_stats import distance
import numpy as np
import pandas as pd
from ..DSA import the_most_frequent_item_in_a_list
from ..base import classifier
from ... | 47.822878 | 262 | 0.673534 | 1,828 | 12,960 | 4.464989 | 0.144967 | 0.023279 | 0.026464 | 0.035285 | 0.801029 | 0.736217 | 0.715756 | 0.700319 | 0.678265 | 0.652781 | 0 | 0.014297 | 0.201235 | 12,960 | 270 | 263 | 48 | 0.77415 | 0.120833 | 0 | 0.521978 | 0 | 0.043956 | 0.266513 | 0.096383 | 0 | 0 | 0 | 0 | 0.010989 | 1 | 0.054945 | false | 0 | 0.115385 | 0 | 0.197802 | 0.027473 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
ae2ec3dc9d9e28438fb5fc79ae0e7c82ceb3c25c | 118 | py | Python | geostream/__init__.py | karimbahgat/GeoStream | ca067c3b2ba12983089a5562869a7732a3d7aa6b | [
"MIT"
] | null | null | null | geostream/__init__.py | karimbahgat/GeoStream | ca067c3b2ba12983089a5562869a7732a3d7aa6b | [
"MIT"
] | null | null | null | geostream/__init__.py | karimbahgat/GeoStream | ca067c3b2ba12983089a5562869a7732a3d7aa6b | [
"MIT"
] | null | null | null |
from . import *
from . import vector
from . import raster
from .workspace import Workspace
from .table import Table
| 14.75 | 32 | 0.762712 | 16 | 118 | 5.625 | 0.375 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186441 | 118 | 7 | 33 | 16.857143 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
ae397d994fa003f39a7f51462e08436a1a9d2c6e | 363 | py | Python | tests/common.py | EricDalrymple91/basic-pytest-framework | d65bacdb8c33a798e0edc52e900d990ff5e1adb5 | [
"MIT"
] | null | null | null | tests/common.py | EricDalrymple91/basic-pytest-framework | d65bacdb8c33a798e0edc52e900d990ff5e1adb5 | [
"MIT"
] | null | null | null | tests/common.py | EricDalrymple91/basic-pytest-framework | d65bacdb8c33a798e0edc52e900d990ff5e1adb5 | [
"MIT"
] | null | null | null | """
"""
import pytest
class TestCommon(object):
storage = {}
@pytest.fixture()
def number(self, pytestconfig):
return int(pytestconfig.getoption('n'))
@pytest.fixture()
def text(self, pytestconfig):
return pytestconfig.getoption('t')
@pytest.fixture()
def number_double... | 16.5 | 47 | 0.62259 | 37 | 363 | 6.081081 | 0.513514 | 0.173333 | 0.213333 | 0.195556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003636 | 0.242424 | 363 | 21 | 48 | 17.285714 | 0.814545 | 0 | 0 | 0.25 | 0 | 0 | 0.005634 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.083333 | 0.25 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
ae41000111d1096337fe0b3b97a89b7b955514b5 | 203 | py | Python | compiler/exceptions.py | hanks/another-super-tiny-compiler | 46907beb6de96e8c09c1ec433a9469cb5b74ba78 | [
"MIT"
] | 1 | 2021-10-13T10:09:01.000Z | 2021-10-13T10:09:01.000Z | compiler/exceptions.py | hanks/another-super-tiny-compiler | 46907beb6de96e8c09c1ec433a9469cb5b74ba78 | [
"MIT"
] | null | null | null | compiler/exceptions.py | hanks/another-super-tiny-compiler | 46907beb6de96e8c09c1ec433a9469cb5b74ba78 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
class InvalidTokenTypeError(Exception):
pass
class InvalidNodeTypeError(Exception):
pass
class InvalidTargetNodeTypeError(Exception):
pass
| 13.533333 | 44 | 0.719212 | 19 | 203 | 7.684211 | 0.684211 | 0.267123 | 0.246575 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005917 | 0.167488 | 203 | 14 | 45 | 14.5 | 0.857988 | 0.206897 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 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 | 5 |
ae5db44f07b2507186df047ec62c23f3362e4e3a | 278 | py | Python | Traidoo/warmup.py | stanwood/traidoo-api | 83e8599f2eb54352988bac27e2d4acd30734816d | [
"MIT"
] | 3 | 2020-05-05T12:12:09.000Z | 2020-05-08T08:48:16.000Z | Traidoo/warmup.py | stanwood/traidoo-api | 83e8599f2eb54352988bac27e2d4acd30734816d | [
"MIT"
] | 160 | 2020-05-19T13:03:43.000Z | 2022-03-12T00:35:28.000Z | Traidoo/warmup.py | stanwood/traidoo-api | 83e8599f2eb54352988bac27e2d4acd30734816d | [
"MIT"
] | null | null | null | from rest_framework.decorators import api_view, permission_classes
from rest_framework.permissions import AllowAny
from rest_framework.response import Response
@api_view(["GET"])
@permission_classes((AllowAny,))
def warmup(request):
return Response({"message": "Ready!"})
| 27.8 | 66 | 0.798561 | 34 | 278 | 6.323529 | 0.558824 | 0.111628 | 0.237209 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093525 | 278 | 9 | 67 | 30.888889 | 0.853175 | 0 | 0 | 0 | 0 | 0 | 0.057554 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.428571 | 0.142857 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
ae7d14e62f899e6aeb25827b997931203b2b734c | 175 | py | Python | apps/users/tasks.py | Jaylen0829/tornado-RESTfulAPI | f1d216e400dcbcd5d62d31ff83cdbd180eebf1a3 | [
"MIT"
] | null | null | null | apps/users/tasks.py | Jaylen0829/tornado-RESTfulAPI | f1d216e400dcbcd5d62d31ff83cdbd180eebf1a3 | [
"MIT"
] | null | null | null | apps/users/tasks.py | Jaylen0829/tornado-RESTfulAPI | f1d216e400dcbcd5d62d31ff83cdbd180eebf1a3 | [
"MIT"
] | 1 | 2022-03-29T02:54:33.000Z | 2022-03-29T02:54:33.000Z | from __future__ import absolute_import, unicode_literals
from celery_app.celery import app
import time
@app.task
def user_handle():
time.sleep(2)
return True | 19.444444 | 57 | 0.748571 | 25 | 175 | 4.92 | 0.68 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007092 | 0.194286 | 175 | 9 | 58 | 19.444444 | 0.865248 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | true | 0 | 0.428571 | 0 | 0.714286 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
887a3b68d260664bd8dd73dc021beadc434e1b28 | 759 | py | Python | zk.py | AndrewCopeland/zk-ui | a6bc1c0b7ed48bea0d6cce8dc404c13ad728da2f | [
"Apache-2.0"
] | 1 | 2021-04-25T15:17:05.000Z | 2021-04-25T15:17:05.000Z | zk.py | AndrewCopeland/zk-ui | a6bc1c0b7ed48bea0d6cce8dc404c13ad728da2f | [
"Apache-2.0"
] | null | null | null | zk.py | AndrewCopeland/zk-ui | a6bc1c0b7ed48bea0d6cce8dc404c13ad728da2f | [
"Apache-2.0"
] | null | null | null | import subprocess
def _subprocess(command):
return subprocess.check_output(command).decode('utf-8')
def _str_to_list(input):
return input.split("\n")[:-1]
def list():
return _str_to_list(_subprocess(['zk', 'list']))
def cat(title):
return _subprocess(['zk', 'cat', title])
def open_browser(title):
... | 23.71875 | 62 | 0.675889 | 101 | 759 | 4.841584 | 0.267327 | 0.196319 | 0.257669 | 0.282209 | 0.284254 | 0.110429 | 0 | 0 | 0 | 0 | 0 | 0.003077 | 0.14361 | 759 | 31 | 63 | 24.483871 | 0.749231 | 0 | 0 | 0 | 0 | 0 | 0.098814 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.47619 | false | 0 | 0.047619 | 0.47619 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
88b34b92edbdeae5fe79171744cfcc3903aa4bcd | 18 | py | Python | tests/minimal.suite.py | GillesArcas/cws | 8a060529f9baa29b979089fe15b2199f65ef2ded | [
"MIT"
] | 13 | 2018-10-27T23:59:50.000Z | 2020-10-07T04:48:17.000Z | tests/minimal.suite.py | GillesArcas/cws | 8a060529f9baa29b979089fe15b2199f65ef2ded | [
"MIT"
] | null | null | null | tests/minimal.suite.py | GillesArcas/cws | 8a060529f9baa29b979089fe15b2199f65ef2ded | [
"MIT"
] | 2 | 2018-03-20T22:57:10.000Z | 2018-10-28T17:00:08.000Z | # pass
pass
# ---
| 4.5 | 6 | 0.444444 | 2 | 18 | 4 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.277778 | 18 | 3 | 7 | 6 | 0.615385 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 1 | 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 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
88b631f0911a242bc25e207c3ce77113ba16232d | 74 | py | Python | appannie/store/__init__.py | Julian-O/appannie | b5e053c43a9fbabda2d84a8992c2efb2e76c8aef | [
"MIT"
] | null | null | null | appannie/store/__init__.py | Julian-O/appannie | b5e053c43a9fbabda2d84a8992c2efb2e76c8aef | [
"MIT"
] | null | null | null | appannie/store/__init__.py | Julian-O/appannie | b5e053c43a9fbabda2d84a8992c2efb2e76c8aef | [
"MIT"
] | null | null | null | from .app import App
from .keyword import Keyword
from .store import Store | 24.666667 | 28 | 0.810811 | 12 | 74 | 5 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148649 | 74 | 3 | 29 | 24.666667 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
31f714d39d6559be8864d06c73014e8d277dfb57 | 10,043 | py | Python | test/test-tool/openmldb-case-gen/auto_gen_case/hybridsql_case.py | jasleon/OpenMLDB | 2f85d12cd8dadd3a1ec822e1f591632341f3b23f | [
"Apache-2.0"
] | 2,659 | 2021-06-07T12:59:15.000Z | 2022-03-30T15:29:37.000Z | test/test-tool/openmldb-case-gen/auto_gen_case/hybridsql_case.py | jasleon/OpenMLDB | 2f85d12cd8dadd3a1ec822e1f591632341f3b23f | [
"Apache-2.0"
] | 1,396 | 2021-05-28T09:50:13.000Z | 2022-03-31T16:37:49.000Z | test/test-tool/openmldb-case-gen/auto_gen_case/hybridsql_case.py | jasleon/OpenMLDB | 2f85d12cd8dadd3a1ec822e1f591632341f3b23f | [
"Apache-2.0"
] | 499 | 2021-05-31T07:36:48.000Z | 2022-03-31T15:10:12.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Copyright 2021 4Paradigm
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required ... | 38.041667 | 77 | 0.617047 | 1,264 | 10,043 | 4.60443 | 0.130538 | 0.041753 | 0.03866 | 0.051375 | 0.765464 | 0.755498 | 0.709107 | 0.709107 | 0.692612 | 0.684364 | 0 | 0.005534 | 0.280295 | 10,043 | 263 | 78 | 38.186312 | 0.799668 | 0.207508 | 0 | 0.742268 | 0 | 0 | 0.05834 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.020619 | false | 0 | 0.046392 | 0 | 0.087629 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
31fdf50a42e930f75ad1b12a10594898c81a53a7 | 458 | py | Python | src/Role/InterfaceAdapters/IRoleRepository.py | DigiChanges/python-experience | 3332d2c4d922a5eb302fa151582a4f63c668a570 | [
"MIT"
] | null | null | null | src/Role/InterfaceAdapters/IRoleRepository.py | DigiChanges/python-experience | 3332d2c4d922a5eb302fa151582a4f63c668a570 | [
"MIT"
] | null | null | null | src/Role/InterfaceAdapters/IRoleRepository.py | DigiChanges/python-experience | 3332d2c4d922a5eb302fa151582a4f63c668a570 | [
"MIT"
] | null | null | null | from abc import ABC, abstractmethod
from src.Role.Domain.Entities.Role import Role
from src.Shared.InterfaceAdapters.ICriteria import ICriteria
class IRoleRepository(ABC):
@abstractmethod
def save(self, element) -> Role:
pass
@abstractmethod
def getOne(self, id: str) -> Role:
pass
... | 19.913043 | 60 | 0.672489 | 52 | 458 | 5.923077 | 0.461538 | 0.220779 | 0.204545 | 0.162338 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.244541 | 458 | 22 | 61 | 20.818182 | 0.890173 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0.1875 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
ee3cf3178d0cc09beb1d5bc8c9c32f919b014134 | 225 | py | Python | Chapter17/read_csv_dataframe.py | add54/ADMIN_SYS_PYTHON | 5a6d9705537c8663c8f7b0f45d29ccc87b6096e7 | [
"MIT"
] | 116 | 2018-12-21T01:05:47.000Z | 2022-03-23T21:41:41.000Z | Chapter17/read_csv_dataframe.py | add54/ADMIN_SYS_PYTHON | 5a6d9705537c8663c8f7b0f45d29ccc87b6096e7 | [
"MIT"
] | 2 | 2021-03-31T19:36:19.000Z | 2021-06-10T22:29:26.000Z | Chapter17/read_csv_dataframe.py | add54/ADMIN_SYS_PYTHON | 5a6d9705537c8663c8f7b0f45d29ccc87b6096e7 | [
"MIT"
] | 147 | 2018-12-19T14:10:32.000Z | 2022-03-20T11:03:20.000Z | import pandas as pd
file_name = 'employee.csv'
df = pd.read_csv(file_name)
print(df)
print('-----------------------------------------')
print(df.head(3))
print('-----------------------------------------')
print(df.tail(1))
| 20.454545 | 50 | 0.435556 | 26 | 225 | 3.653846 | 0.576923 | 0.221053 | 0.252632 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009615 | 0.075556 | 225 | 10 | 51 | 22.5 | 0.447115 | 0 | 0 | 0.25 | 0 | 0 | 0.417778 | 0.364444 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 0.125 | 0.625 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
ee6670035e48dcef8176b38aa2fbfbc7f48a3f3d | 26 | py | Python | slayer/io/__init__.py | ajduberstein/slayer | e4f2b6e0277ac38fe71ec99eaf3ee4769057b0ea | [
"MIT"
] | 2 | 2019-02-26T23:55:06.000Z | 2019-02-26T23:56:09.000Z | slayer/io/__init__.py | ajduberstein/slayer | e4f2b6e0277ac38fe71ec99eaf3ee4769057b0ea | [
"MIT"
] | 1 | 2019-02-10T07:00:39.000Z | 2019-02-10T07:00:39.000Z | slayer/io/__init__.py | ajduberstein/slayer | e4f2b6e0277ac38fe71ec99eaf3ee4769057b0ea | [
"MIT"
] | null | null | null | from .io import * # noqa
| 13 | 25 | 0.615385 | 4 | 26 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.269231 | 26 | 1 | 26 | 26 | 0.842105 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
ee762b94df4666adedc668fedab318330a2ae4f9 | 277 | py | Python | Hello_Python/practice 3-4.py | JaydenYL/Projects | b51c0476f7be80f0b0d6aa84592966ecb4343d76 | [
"MIT"
] | 5 | 2021-09-06T04:27:56.000Z | 2021-12-14T14:50:27.000Z | Hello_Python/practice 3-4.py | JaydenYL/Projects | b51c0476f7be80f0b0d6aa84592966ecb4343d76 | [
"MIT"
] | null | null | null | Hello_Python/practice 3-4.py | JaydenYL/Projects | b51c0476f7be80f0b0d6aa84592966ecb4343d76 | [
"MIT"
] | null | null | null | honored_guest = ['YULIU', 'Jim', 'Shi']
print(honored_guest[0] + ' and ' + honored_guest[1] + ' and ' + honored_guest[2] + ' ' + "eat dinner")
print("Shi cannot come here to eat dinner")
honored_guest.sort()
print(honored_guest)
honored_guest.remove('Shi')
print(honored_guest) | 39.571429 | 102 | 0.700361 | 40 | 277 | 4.65 | 0.45 | 0.516129 | 0.274194 | 0.215054 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012346 | 0.122744 | 277 | 7 | 103 | 39.571429 | 0.753086 | 0 | 0 | 0.285714 | 0 | 0 | 0.248201 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.571429 | 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 | 1 | 0 | 5 |
ee88db3fbd566a251d942c86db27dd0da28e16c0 | 214 | py | Python | src/cv_datalib/export.py | kubic71/cv-datalib | a598d4a3e617640a41fb0fac446ac9af5b2b014b | [
"MIT"
] | null | null | null | src/cv_datalib/export.py | kubic71/cv-datalib | a598d4a3e617640a41fb0fac446ac9af5b2b014b | [
"MIT"
] | null | null | null | src/cv_datalib/export.py | kubic71/cv-datalib | a598d4a3e617640a41fb0fac446ac9af5b2b014b | [
"MIT"
] | null | null | null | from .dataset import Dataset
class Exporter:
def __init__(self) -> None:
pass
def export(self, dataset: Dataset) -> None:
print(f"Exporting {dataset}")
print("Not implemented yet") | 23.777778 | 47 | 0.630841 | 25 | 214 | 5.24 | 0.68 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.257009 | 214 | 9 | 48 | 23.777778 | 0.823899 | 0 | 0 | 0 | 0 | 0 | 0.176744 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0.142857 | 0.142857 | 0 | 0.571429 | 0.285714 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
c9c99451b5404ba62f48528191a8cb997fb83242 | 265 | py | Python | fThrowLastError.py | SkyLined/mWindowsAPI | d64d57bbf87d2a7b33cf7de89263553793484a84 | [
"CC-BY-4.0"
] | 7 | 2017-10-09T14:32:22.000Z | 2021-01-30T07:25:50.000Z | fThrowLastError.py | SkyLined/mWindowsAPI | d64d57bbf87d2a7b33cf7de89263553793484a84 | [
"CC-BY-4.0"
] | 2 | 2017-12-12T02:53:18.000Z | 2019-02-19T09:23:18.000Z | fThrowLastError.py | SkyLined/mWindowsAPI | d64d57bbf87d2a7b33cf7de89263553793484a84 | [
"CC-BY-4.0"
] | 1 | 2017-12-12T02:42:18.000Z | 2017-12-12T02:42:18.000Z | from mWindowsSDK import *;
from .fThrowWin32Error import fThrowWin32Error;
def fThrowLastError(sFailedOperation):
oKernel32 = foLoadKernel32DLL();
odwLastError = oKernel32.GetLastError();
return fThrowWin32Error(sFailedOperation, odwLastError.fuGetValue());
| 33.125 | 71 | 0.815094 | 20 | 265 | 10.8 | 0.65 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.050209 | 0.098113 | 265 | 7 | 72 | 37.857143 | 0.853556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
a00dc3a4ffa03cc85e22569490e6ba82a0457eb7 | 46 | py | Python | simopt/test/__init__.py | simopt-admin/simopt | 5119c605305699dce9e0c44e0b8b68e23e77c02f | [
"MIT"
] | 24 | 2020-01-06T17:21:10.000Z | 2022-03-08T16:36:29.000Z | simopt/test/__init__.py | simopt-admin/simopt | 5119c605305699dce9e0c44e0b8b68e23e77c02f | [
"MIT"
] | 4 | 2020-02-20T18:59:41.000Z | 2020-10-18T22:28:29.000Z | simopt/test/__init__.py | simopt-admin/simopt | 5119c605305699dce9e0c44e0b8b68e23e77c02f | [
"MIT"
] | 8 | 2020-02-13T18:37:48.000Z | 2021-12-15T08:27:33.000Z | # from . import test_matmodops, test_mrg32k3a
| 23 | 45 | 0.804348 | 6 | 46 | 5.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 0.130435 | 46 | 1 | 46 | 46 | 0.8 | 0.934783 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
a015c06baa00919e4d9222d4750ce36fd9eaeab0 | 27 | py | Python | JDjango/frames/sqliteFrame/__init__.py | JIYANG-PLUS/JDjango | 57cbb13b2b4c07f34d546c0c637c22f60c1e692a | [
"MIT"
] | 3 | 2020-12-28T05:09:02.000Z | 2021-06-23T10:02:03.000Z | JDjango/frames/sqliteFrame/__init__.py | JIYANG-PLUS/JDjango | 57cbb13b2b4c07f34d546c0c637c22f60c1e692a | [
"MIT"
] | null | null | null | JDjango/frames/sqliteFrame/__init__.py | JIYANG-PLUS/JDjango | 57cbb13b2b4c07f34d546c0c637c22f60c1e692a | [
"MIT"
] | null | null | null | from .sqliteFrame import *
| 13.5 | 26 | 0.777778 | 3 | 27 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
a0204b300ecf9aae30bccdf6ffc012340facda5c | 30 | py | Python | checker/sloc/__init__.py | fausecteam/faustctf-2019-sloc | 184201db8fbc8959dd2069fc4fbdacf144ac3826 | [
"0BSD"
] | null | null | null | checker/sloc/__init__.py | fausecteam/faustctf-2019-sloc | 184201db8fbc8959dd2069fc4fbdacf144ac3826 | [
"0BSD"
] | null | null | null | checker/sloc/__init__.py | fausecteam/faustctf-2019-sloc | 184201db8fbc8959dd2069fc4fbdacf144ac3826 | [
"0BSD"
] | null | null | null | from .sloc import SlocChecker
| 15 | 29 | 0.833333 | 4 | 30 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.961538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
4e4ec812ebc198748739698e309e0b76ccb22091 | 4,227 | py | Python | utils/tests/test_builder.py | LaudateCorpus1/redis-benchmarks-specification | 71a7e28cd130499f02dacc00bdeca2eadfa62619 | [
"Apache-2.0"
] | 4 | 2022-01-24T10:15:55.000Z | 2022-03-15T09:40:16.000Z | utils/tests/test_builder.py | LaudateCorpus1/redis-benchmarks-specification | 71a7e28cd130499f02dacc00bdeca2eadfa62619 | [
"Apache-2.0"
] | 27 | 2021-08-13T14:20:36.000Z | 2021-09-21T16:49:40.000Z | utils/tests/test_builder.py | LaudateCorpus1/redis-benchmarks-specification | 71a7e28cd130499f02dacc00bdeca2eadfa62619 | [
"Apache-2.0"
] | 1 | 2022-02-02T14:07:55.000Z | 2022-02-02T14:07:55.000Z | # Apache License Version 2.0
#
# Copyright (c) 2021., Redis Labs
# All rights reserved.
#
import os
from redis_benchmarks_specification.__common__.builder_schema import (
commit_schema_to_stream,
)
import redis
from redis_benchmarks_specification.__builder__.builder import (
builder_consumer_group_create,
... | 35.822034 | 81 | 0.627632 | 468 | 4,227 | 5.264957 | 0.224359 | 0.05276 | 0.042614 | 0.059659 | 0.814935 | 0.729708 | 0.720779 | 0.720779 | 0.691558 | 0.691558 | 0 | 0.035834 | 0.293589 | 4,227 | 117 | 82 | 36.128205 | 0.78935 | 0.019163 | 0 | 0.64 | 0 | 0 | 0.114037 | 0.083837 | 0 | 0 | 0 | 0 | 0.19 | 1 | 0.03 | false | 0.02 | 0.05 | 0 | 0.08 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
4e67025d7089003fd1b678524b17393b4641bc25 | 217 | py | Python | datasets/hscic/__init__.py | nhsengland/publish-o-matic | dc8f16cb83a2360989afa44d887e63b5cde6af29 | [
"MIT"
] | null | null | null | datasets/hscic/__init__.py | nhsengland/publish-o-matic | dc8f16cb83a2360989afa44d887e63b5cde6af29 | [
"MIT"
] | 11 | 2015-03-02T16:30:20.000Z | 2016-11-29T12:16:15.000Z | datasets/hscic/__init__.py | nhsengland/publish-o-matic | dc8f16cb83a2360989afa44d887e63b5cde6af29 | [
"MIT"
] | 2 | 2020-12-25T20:38:31.000Z | 2021-04-11T07:35:01.000Z |
from load import load
from transform import transform
from scrape import main as main_scrape
def entrypoints():
return {
'scrape': main_scrape,
'transform': transform,
'load': load
} | 18.083333 | 38 | 0.654378 | 25 | 217 | 5.6 | 0.4 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.271889 | 217 | 12 | 39 | 18.083333 | 0.886076 | 0 | 0 | 0 | 0 | 0 | 0.087963 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | true | 0 | 0.333333 | 0.111111 | 0.555556 | 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 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
4e67b0d937ef3baa4dbf5ff770068bc0d6f669e8 | 62 | py | Python | kipoi/data_utils.py | bfclarke/kipoi | 992b41eee8e35b39ae61262d988db974d8583759 | [
"MIT"
] | 213 | 2018-03-13T17:25:32.000Z | 2022-03-07T15:29:29.000Z | kipoi/data_utils.py | bfclarke/kipoi | 992b41eee8e35b39ae61262d988db974d8583759 | [
"MIT"
] | 317 | 2018-03-14T11:03:57.000Z | 2022-03-31T17:48:54.000Z | kipoi/data_utils.py | bfclarke/kipoi | 992b41eee8e35b39ae61262d988db974d8583759 | [
"MIT"
] | 44 | 2018-03-13T17:44:34.000Z | 2022-01-10T08:14:49.000Z | from kipoi_utils.data_utils import * # backward compatibility | 62 | 62 | 0.83871 | 8 | 62 | 6.25 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112903 | 62 | 1 | 62 | 62 | 0.909091 | 0.354839 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
4e9f7230f39a7d870b44ea0e4f5ad2c8b7369bbe | 155 | py | Python | events/admin.py | ayushganguli1769/DevelopmentRobotix | 1692c104a6f220aa1238840b791aa857a6cc7765 | [
"Apache-2.0"
] | null | null | null | events/admin.py | ayushganguli1769/DevelopmentRobotix | 1692c104a6f220aa1238840b791aa857a6cc7765 | [
"Apache-2.0"
] | 7 | 2020-02-12T02:54:35.000Z | 2022-03-12T00:06:26.000Z | events/admin.py | ayushganguli1769/DevelopmentRobotix | 1692c104a6f220aa1238840b791aa857a6cc7765 | [
"Apache-2.0"
] | 6 | 2020-02-10T16:37:38.000Z | 2021-01-28T13:39:46.000Z | from django.contrib import admin
from . models import Event,Workshop
# Register your models here.
admin.site.register(Event)
admin.site.register(Workshop)
| 25.833333 | 35 | 0.812903 | 22 | 155 | 5.727273 | 0.545455 | 0.142857 | 0.269841 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103226 | 155 | 5 | 36 | 31 | 0.906475 | 0.167742 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
4ebad0591fbf97ef366b7e30c3366b3d961fc5cf | 374 | py | Python | test/helpers/test_Logger.py | anoburn/mspypeline | b815ea7ebe4c99696a5867f6fad7ae189fcca20d | [
"MIT"
] | 3 | 2021-07-17T21:54:22.000Z | 2021-11-07T09:56:19.000Z | test/helpers/test_Logger.py | anoburn/mspypeline | b815ea7ebe4c99696a5867f6fad7ae189fcca20d | [
"MIT"
] | 7 | 2020-06-05T14:50:09.000Z | 2021-08-19T08:54:40.000Z | test/helpers/test_Logger.py | anoburn/mspypeline | b815ea7ebe4c99696a5867f6fad7ae189fcca20d | [
"MIT"
] | 6 | 2020-08-13T14:22:43.000Z | 2022-02-11T10:34:03.000Z | def test_logger():
import pytest
from mspypeline.helpers import get_logger
from logging import Logger
assert isinstance(get_logger("test", "warning"), Logger)
assert isinstance(get_logger(loglevel=10), Logger)
with pytest.warns(RuntimeWarning) as record:
assert isinstance(get_logger(log... | 34 | 61 | 0.713904 | 46 | 374 | 5.695652 | 0.5 | 0.137405 | 0.217557 | 0.28626 | 0.39313 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009901 | 0.18984 | 374 | 10 | 62 | 37.4 | 0.854785 | 0 | 0 | 0 | 0 | 0 | 0.037433 | 0 | 0 | 0 | 0 | 0 | 0.444444 | 1 | 0.111111 | true | 0 | 0.333333 | 0 | 0.444444 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
4ecff7689835b27f683088c0e5329c2f94f778fa | 122 | py | Python | iktomi/forms/__init__.py | boltnev/iktomi | bc92006c026f9b42e56f1af5ced2fe577673a486 | [
"MIT"
] | 14 | 2015-02-15T05:24:22.000Z | 2020-03-19T10:07:28.000Z | iktomi/forms/__init__.py | boltnev/iktomi | bc92006c026f9b42e56f1af5ced2fe577673a486 | [
"MIT"
] | 10 | 2015-04-04T10:10:41.000Z | 2016-06-01T13:17:58.000Z | iktomi/forms/__init__.py | boltnev/iktomi | bc92006c026f9b42e56f1af5ced2fe577673a486 | [
"MIT"
] | 5 | 2015-02-20T11:18:58.000Z | 2016-10-18T15:30:13.000Z | from . import convs, widgets
from .fields import Field, FieldSet, FieldList, FileField, FieldBlock
from .form import Form
| 30.5 | 69 | 0.795082 | 16 | 122 | 6.0625 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139344 | 122 | 3 | 70 | 40.666667 | 0.92381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
14e4070263f0b2e9bb55faf43274b357da871584 | 144 | py | Python | test/jobs/cancel/cancel.py | dsi-icl/eae-compute | 78ffa23b59ec77fb249f5deb465a6f735b4e5a4b | [
"MIT"
] | 1 | 2017-09-06T15:32:53.000Z | 2017-09-06T15:32:53.000Z | packages/eae-compute/test/jobs/cancel/cancel.py | dsi-icl/eae | fdc69b8ef0238f2d5275833a8d09cc89f396f2e4 | [
"MIT"
] | 170 | 2019-05-09T07:53:15.000Z | 2021-09-03T08:30:45.000Z | test/jobs/cancel/cancel.py | dsi-icl/eae-compute | 78ffa23b59ec77fb249f5deb465a6f735b4e5a4b | [
"MIT"
] | 5 | 2017-11-14T14:53:22.000Z | 2019-03-12T16:22:55.000Z | #!python
import time
print('Sleeping for 60 seconds')
time.sleep(60)
print('Timeout, this job should have been cancelled within 60 seconds !')
| 20.571429 | 73 | 0.756944 | 22 | 144 | 4.954545 | 0.772727 | 0.165138 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.048387 | 0.138889 | 144 | 6 | 74 | 24 | 0.830645 | 0.048611 | 0 | 0 | 0 | 0 | 0.639706 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
091685a22e2a6e66aaf796fa89eeded278fc96fc | 125 | py | Python | den/parser/den_ast/node.py | MonliH/Den | 9c2e69744dcf26ae01154eac32aa4ea8ff2adee3 | [
"MIT"
] | null | null | null | den/parser/den_ast/node.py | MonliH/Den | 9c2e69744dcf26ae01154eac32aa4ea8ff2adee3 | [
"MIT"
] | null | null | null | den/parser/den_ast/node.py | MonliH/Den | 9c2e69744dcf26ae01154eac32aa4ea8ff2adee3 | [
"MIT"
] | null | null | null | # Base node class
class Node:
"""Master node class."""
def __str__(self):
return f"{type(self).__name__}"
| 13.888889 | 39 | 0.592 | 16 | 125 | 4.125 | 0.6875 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.256 | 125 | 8 | 40 | 15.625 | 0.709677 | 0.28 | 0 | 0 | 0 | 0 | 0.25 | 0.25 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
09330a67f2bed7c5d937bc72b5d3dcd422870df4 | 18,426 | py | Python | load.py | ZTiKnl/IDA-BGS | f1fdd73601b6ff1159d9b5f9d7cf3f7e916ab4fe | [
"MIT"
] | 1 | 2020-02-06T05:15:03.000Z | 2020-02-06T05:15:03.000Z | load.py | ZTiKnl/IDA-BGS | f1fdd73601b6ff1159d9b5f9d7cf3f7e916ab4fe | [
"MIT"
] | null | null | null | load.py | ZTiKnl/IDA-BGS | f1fdd73601b6ff1159d9b5f9d7cf3f7e916ab4fe | [
"MIT"
] | 1 | 2020-06-27T20:36:53.000Z | 2020-06-27T20:36:53.000Z | import sys
import json
import requests
import threading
try:
import Tkinter as tk # this is for python2
except:
import tkinter as tk # this is for python3
from ttkHyperlinkLabel import HyperlinkLabel
import myNotebook as nb
from config import config
this = sys.modules[__name__]
def plugin_start3(plugin_dir):
... | 44.723301 | 190 | 0.52757 | 2,182 | 18,426 | 4.412007 | 0.12099 | 0.044666 | 0.061078 | 0.06648 | 0.783318 | 0.767529 | 0.733873 | 0.711748 | 0.702192 | 0.702192 | 0 | 0.02625 | 0.323944 | 18,426 | 412 | 191 | 44.723301 | 0.746568 | 0.026701 | 0 | 0.693009 | 0 | 0.00304 | 0.179254 | 0.001346 | 0 | 0 | 0 | 0 | 0 | 1 | 0.024316 | false | 0 | 0.027356 | 0.00304 | 0.06383 | 0.006079 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
09479a79f91378a20e09ef428d9e5f7ed89cff27 | 60,646 | py | Python | fusion_tcv/references.py | mkuiper/deepmind-research | 1642ae3499c8d1135ec6fe620a68911091dd25ef | [
"Apache-2.0"
] | 2 | 2022-03-14T18:36:23.000Z | 2022-03-14T22:35:20.000Z | fusion_tcv/references.py | sunjinhao123/deepmind-research | 1642ae3499c8d1135ec6fe620a68911091dd25ef | [
"Apache-2.0"
] | null | null | null | fusion_tcv/references.py | sunjinhao123/deepmind-research | 1642ae3499c8d1135ec6fe620a68911091dd25ef | [
"Apache-2.0"
] | null | null | null | # Copyright 2021 DeepMind Technologies Limited.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ag... | 38.142138 | 86 | 0.421545 | 6,521 | 60,646 | 3.888514 | 0.128815 | 0.274875 | 0.237291 | 0.040226 | 0.854044 | 0.626296 | 0.615254 | 0.594826 | 0.560516 | 0.554758 | 0 | 0.265138 | 0.45073 | 60,646 | 1,589 | 87 | 38.166142 | 0.496082 | 0.028988 | 0 | 0.66061 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.003894 | false | 0 | 0.002596 | 0.003245 | 0.010383 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
0953a0e4c5dcf1e63656bff574508a715d768c3d | 106 | py | Python | tests/test_autoDiff.py | cs207-group33/cs207-FinalProject | 6e0fbe7ef2aa126782b5e354e1ee13c464297e27 | [
"MIT"
] | null | null | null | tests/test_autoDiff.py | cs207-group33/cs207-FinalProject | 6e0fbe7ef2aa126782b5e354e1ee13c464297e27 | [
"MIT"
] | 2 | 2019-11-20T03:18:12.000Z | 2019-11-20T03:29:26.000Z | tests/test_autoDiff.py | cs207-group33/cs207-FinalProject | 6e0fbe7ef2aa126782b5e354e1ee13c464297e27 | [
"MIT"
] | 1 | 2019-11-20T23:21:49.000Z | 2019-11-20T23:21:49.000Z | import numpy as np
import sys
sys.path.append('..')
from autoDiff.autoDiff import *
# ELEMENTARY FUNCTIONS | 21.2 | 31 | 0.773585 | 15 | 106 | 5.466667 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122642 | 106 | 5 | 32 | 21.2 | 0.88172 | 0.188679 | 0 | 0 | 0 | 0 | 0.023529 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
0956ba3d1fbf72fa577f4c2c48a3fe82c97d021f | 169 | py | Python | src/service_framework/__init__.py | ZacharyATanenbaum/service_framework | b5dde4407998350d1b7ad09284110b986fd4e12a | [
"MIT"
] | 1 | 2020-03-20T21:33:56.000Z | 2020-03-20T21:33:56.000Z | src/service_framework/__init__.py | ZacharyATanenbaum/service_framework | b5dde4407998350d1b7ad09284110b986fd4e12a | [
"MIT"
] | 1 | 2020-03-22T03:48:45.000Z | 2020-03-22T03:48:45.000Z | src/service_framework/__init__.py | ZacharyATanenbaum/service_framework | b5dde4407998350d1b7ad09284110b986fd4e12a | [
"MIT"
] | null | null | null | """ Init file to make this doc discoverable... """
from .service import Service
from .inline_services import InlineServices
from .utils.logging_utils import get_logger
| 28.166667 | 50 | 0.792899 | 23 | 169 | 5.695652 | 0.73913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130178 | 169 | 5 | 51 | 33.8 | 0.891156 | 0.248521 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
0957282ac84a1f85985c422303b795647f11e37e | 136 | py | Python | data/__init__.py | noahcao/icebeem | 202b0cae8d98d45428c1a08d14c07a67184e3ca6 | [
"MIT"
] | null | null | null | data/__init__.py | noahcao/icebeem | 202b0cae8d98d45428c1a08d14c07a67184e3ca6 | [
"MIT"
] | null | null | null | data/__init__.py | noahcao/icebeem | 202b0cae8d98d45428c1a08d14c07a67184e3ca6 | [
"MIT"
] | null | null | null | from .imca import generate_synthetic_data
from .utils import to_one_hot
from .dataset import return_dataset
__all__ = ["imca", "utils"] | 27.2 | 41 | 0.801471 | 20 | 136 | 5 | 0.65 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 136 | 5 | 42 | 27.2 | 0.833333 | 0 | 0 | 0 | 1 | 0 | 0.065693 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
0958f47555989811ff537687493eb519445028ea | 734 | py | Python | mainpage/views.py | yhk24356/Open_Source_Programming | d63b6d0393e6615b1d070dbcc49fe542052aa89f | [
"Unlicense",
"MIT"
] | null | null | null | mainpage/views.py | yhk24356/Open_Source_Programming | d63b6d0393e6615b1d070dbcc49fe542052aa89f | [
"Unlicense",
"MIT"
] | null | null | null | mainpage/views.py | yhk24356/Open_Source_Programming | d63b6d0393e6615b1d070dbcc49fe542052aa89f | [
"Unlicense",
"MIT"
] | null | null | null | from django.shortcuts import render
from django.http import HttpResponse
def main(request):
return render(request, 'main.html')
def cold_medicine(request):
return render(request, 'cold_medicine.html')
def back_pain_medicine(request):
return render(request, 'back_pain_medicine.html')
def headache_medicin... | 27.185185 | 55 | 0.779292 | 91 | 734 | 6.098901 | 0.230769 | 0.187387 | 0.273874 | 0.374775 | 0.52973 | 0.345946 | 0.209009 | 0.209009 | 0.209009 | 0 | 0 | 0 | 0.119891 | 734 | 26 | 56 | 28.230769 | 0.859133 | 0 | 0 | 0.111111 | 0 | 0 | 0.213896 | 0.160763 | 0 | 0 | 0 | 0 | 0 | 1 | 0.444444 | false | 0 | 0.111111 | 0.444444 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
11a5b4598aa0df5666b10a534a25b7228849d20e | 478 | py | Python | test.py | Gadgetoid/wipy-WS2812 | 4288b4b782040053fcfec86fa7644dbec3ceab76 | [
"MIT"
] | null | null | null | test.py | Gadgetoid/wipy-WS2812 | 4288b4b782040053fcfec86fa7644dbec3ceab76 | [
"MIT"
] | 1 | 2021-10-02T08:14:53.000Z | 2021-10-02T08:14:53.000Z | test.py | Gadgetoid/wipy-WS2812 | 4288b4b782040053fcfec86fa7644dbec3ceab76 | [
"MIT"
] | 2 | 2017-10-24T15:06:38.000Z | 2017-12-29T14:58:57.000Z | from ws2812 import WS2812
from utime import sleep_ms
chain = WS2812( ledNumber=16, brightness=100, dataPin='P22' ) # dataPin is for LoPy board only
data = [(255, 102, 0), (127, 21, 0), (63, 10, 0), (31, 5, 0),
(15, 2, 0), (7, 1, 0), (0, 0, 0), (0,0,0),
(0, 0, 0), (0, 0, 0), (0, 0, 0), (0,0,0),
... | 28.117647 | 94 | 0.5 | 89 | 478 | 2.662921 | 0.404494 | 0.253165 | 0.367089 | 0.472574 | 0.130802 | 0.130802 | 0.130802 | 0.130802 | 0.130802 | 0.130802 | 0 | 0.240688 | 0.269874 | 478 | 16 | 95 | 29.875 | 0.438395 | 0.062762 | 0 | 0.153846 | 0 | 0 | 0.006726 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.153846 | 0 | 0.153846 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
11ac65b61b99703d7974f2b042a857ebbefe5338 | 41 | py | Python | scripts/neareast-neighbor-distance/__init__.py | fang-ren/segmentation_CoFeZr | 072b5fdde332ba0211189723494d172c36999e93 | [
"BSD-3-Clause-LBNL"
] | null | null | null | scripts/neareast-neighbor-distance/__init__.py | fang-ren/segmentation_CoFeZr | 072b5fdde332ba0211189723494d172c36999e93 | [
"BSD-3-Clause-LBNL"
] | null | null | null | scripts/neareast-neighbor-distance/__init__.py | fang-ren/segmentation_CoFeZr | 072b5fdde332ba0211189723494d172c36999e93 | [
"BSD-3-Clause-LBNL"
] | null | null | null | """
author: Fang Ren (SSRL)
5/1/2017
""" | 8.2 | 23 | 0.560976 | 7 | 41 | 3.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 0.170732 | 41 | 5 | 24 | 8.2 | 0.5 | 0.804878 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
11c396daf05b1d6b609871677b0301cdb0442250 | 12,181 | py | Python | tests/components/cloud/test_cloud_api.py | mikehorton77/SmartHome-485 | 1afdde61e88080d3b6b9df0d54fb0ecf00141db6 | [
"Apache-2.0"
] | null | null | null | tests/components/cloud/test_cloud_api.py | mikehorton77/SmartHome-485 | 1afdde61e88080d3b6b9df0d54fb0ecf00141db6 | [
"Apache-2.0"
] | null | null | null | tests/components/cloud/test_cloud_api.py | mikehorton77/SmartHome-485 | 1afdde61e88080d3b6b9df0d54fb0ecf00141db6 | [
"Apache-2.0"
] | null | null | null | """Tests for the tools to communicate with the cloud."""
import asyncio
from datetime import timedelta
from unittest.mock import patch
from urllib.parse import urljoin
import aiohttp
import pytest
from homeassistant.components.cloud import DOMAIN, cloud_api, const
import homeassistant.util.dt as dt_util
from tests.c... | 34.507082 | 77 | 0.701995 | 1,609 | 12,181 | 5.034183 | 0.101305 | 0.053333 | 0.051605 | 0.062469 | 0.815556 | 0.799012 | 0.772469 | 0.724938 | 0.642963 | 0.613827 | 0 | 0.014977 | 0.194237 | 12,181 | 352 | 78 | 34.605114 | 0.81029 | 0.097939 | 0 | 0.644898 | 0 | 0 | 0.096893 | 0.029132 | 0 | 0 | 0 | 0 | 0.195918 | 1 | 0.110204 | false | 0.016327 | 0.036735 | 0 | 0.155102 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
11dfd6c4e563696537656f87b6ff9a4ace4bd8fc | 74 | py | Python | multitaper/__init__.py | gaprieto/multitaper | 5e621ac51eaeb50615d37f28e66812930ac35775 | [
"MIT"
] | 26 | 2022-02-09T06:33:11.000Z | 2022-03-31T17:17:10.000Z | multitaper/__init__.py | gaprieto/multitaper | 5e621ac51eaeb50615d37f28e66812930ac35775 | [
"MIT"
] | 1 | 2022-03-01T14:40:50.000Z | 2022-03-01T14:40:50.000Z | multitaper/__init__.py | gaprieto/multitaper | 5e621ac51eaeb50615d37f28e66812930ac35775 | [
"MIT"
] | 2 | 2022-02-28T19:10:58.000Z | 2022-03-31T13:50:53.000Z | from .mtspec import MTSpec, MTSine
from .mtcross import MTCross, SineCross | 37 | 39 | 0.824324 | 10 | 74 | 6.1 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121622 | 74 | 2 | 39 | 37 | 0.938462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
11eff17c7dbaf1a6f1772e0dad83d8eb3f1e7e03 | 94 | wsgi | Python | src/rpki-read.wsgi | smlng/lbv | b8a584eac413ac85bd363154c69036cddc328477 | [
"MIT"
] | 1 | 2016-03-09T14:40:40.000Z | 2016-03-09T14:40:40.000Z | src/rpki-read.wsgi | smlng/lbv | b8a584eac413ac85bd363154c69036cddc328477 | [
"MIT"
] | 2 | 2016-03-23T07:46:03.000Z | 2016-04-19T15:05:55.000Z | src/rpki-read.wsgi | smlng/lbv | b8a584eac413ac85bd363154c69036cddc328477 | [
"MIT"
] | null | null | null | import sys
sys.path.insert(0, "</path/to/rpki-read>/src")
from app import app as application
| 18.8 | 46 | 0.734043 | 17 | 94 | 4.058824 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012048 | 0.117021 | 94 | 4 | 47 | 23.5 | 0.819277 | 0 | 0 | 0 | 0 | 0 | 0.255319 | 0.255319 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
eea020d6087f09f1adb6173d0585f609c01368a2 | 88 | py | Python | tests/test.py | jeff-hykin/pip-inport | 7fcfe6cda24f1806a94a5dd5a7678f697cc976b2 | [
"MIT"
] | null | null | null | tests/test.py | jeff-hykin/pip-inport | 7fcfe6cda24f1806a94a5dd5a7678f697cc976b2 | [
"MIT"
] | null | null | null | tests/test.py | jeff-hykin/pip-inport | 7fcfe6cda24f1806a94a5dd5a7678f697cc976b2 | [
"MIT"
] | null | null | null | import python_include
python_include.file("./nested/include_me.py", globals())
hello() | 17.6 | 56 | 0.772727 | 12 | 88 | 5.416667 | 0.75 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068182 | 88 | 5 | 57 | 17.6 | 0.792683 | 0 | 0 | 0 | 0 | 0 | 0.247191 | 0.247191 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
eeb3fe9c450dc6fa2e31de1ecda745fe27bd8bcd | 115 | py | Python | xxpystuff/pyside6/__init__.py | xavierxeon/PythonPackage | c4216dc3a1019d18216d0d2f9645b4b96f699ecc | [
"MIT"
] | null | null | null | xxpystuff/pyside6/__init__.py | xavierxeon/PythonPackage | c4216dc3a1019d18216d0d2f9645b4b96f699ecc | [
"MIT"
] | null | null | null | xxpystuff/pyside6/__init__.py | xavierxeon/PythonPackage | c4216dc3a1019d18216d0d2f9645b4b96f699ecc | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
from .logwidget import LogWidget
from .resource import Resource
from .uifile import UiFile
| 19.166667 | 32 | 0.8 | 16 | 115 | 5.75 | 0.5625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01 | 0.130435 | 115 | 5 | 33 | 23 | 0.91 | 0.182609 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
eeebc835aead98a83b50a0a1363f543eb167fc9b | 170 | py | Python | voteapp/admin.py | dmm34/voteapp | cfa4ba31ff491bffbdf119746a7aa6a7e6a575f0 | [
"MIT"
] | null | null | null | voteapp/admin.py | dmm34/voteapp | cfa4ba31ff491bffbdf119746a7aa6a7e6a575f0 | [
"MIT"
] | null | null | null | voteapp/admin.py | dmm34/voteapp | cfa4ba31ff491bffbdf119746a7aa6a7e6a575f0 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import *
# Register your models here.
admin.site.register(Election)
admin.site.register(Ballot)
admin.site.register(Option)
| 24.285714 | 32 | 0.805882 | 24 | 170 | 5.708333 | 0.541667 | 0.19708 | 0.372263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094118 | 170 | 6 | 33 | 28.333333 | 0.88961 | 0.152941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
e1153fd07b49d6ca0dddfa16ffdfc99bfff85c18 | 175 | py | Python | MyApp/MyPlugins/plugin1.py | muayyad-alsadi/uPyApp | e81fb9d336a843d068ae93c866cf503989ef6a60 | [
"Apache-2.0"
] | null | null | null | MyApp/MyPlugins/plugin1.py | muayyad-alsadi/uPyApp | e81fb9d336a843d068ae93c866cf503989ef6a60 | [
"Apache-2.0"
] | null | null | null | MyApp/MyPlugins/plugin1.py | muayyad-alsadi/uPyApp | e81fb9d336a843d068ae93c866cf503989ef6a60 | [
"Apache-2.0"
] | 1 | 2020-03-18T07:27:27.000Z | 2020-03-18T07:27:27.000Z | class Plugin(object):
def __init__(self, myarg):
self.myarg = myarg
def do_it(self):
print("doing it with myarg={} inside plugin1".format(self.myarg))
| 29.166667 | 73 | 0.64 | 24 | 175 | 4.458333 | 0.625 | 0.252336 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007407 | 0.228571 | 175 | 5 | 74 | 35 | 0.785185 | 0 | 0 | 0 | 0 | 0 | 0.211429 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0 | 0.6 | 0.2 | 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 | 1 | 0 | 0 | 5 |
0115df594bde8e07bd8ff31371121948b8ede960 | 92 | py | Python | BlogCart/shop/admin.py | xxEasterGrymm/Ecommerce-Website | 712715851fec3b8b9b8a0e6e8cc31b1afc7309b7 | [
"MIT"
] | 1 | 2021-08-29T14:01:45.000Z | 2021-08-29T14:01:45.000Z | BlogCart/shop/admin.py | xxEasterGrymm/Ecommerce-Website | 712715851fec3b8b9b8a0e6e8cc31b1afc7309b7 | [
"MIT"
] | null | null | null | BlogCart/shop/admin.py | xxEasterGrymm/Ecommerce-Website | 712715851fec3b8b9b8a0e6e8cc31b1afc7309b7 | [
"MIT"
] | null | null | null | from django.contrib import admin
from . models import Product
admin.site.register(Product) | 18.4 | 32 | 0.815217 | 13 | 92 | 5.769231 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119565 | 92 | 5 | 33 | 18.4 | 0.925926 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
0154806b496fd2348f27a2a4e1d7eb0446b19072 | 19 | py | Python | example_project/some_modules/third_modules/a2.py | Yuriy-Leonov/cython_imports_limit_issue | 2f9e7c02798fb52185dabfe6ce3811c439ca2839 | [
"MIT"
] | null | null | null | example_project/some_modules/third_modules/a2.py | Yuriy-Leonov/cython_imports_limit_issue | 2f9e7c02798fb52185dabfe6ce3811c439ca2839 | [
"MIT"
] | null | null | null | example_project/some_modules/third_modules/a2.py | Yuriy-Leonov/cython_imports_limit_issue | 2f9e7c02798fb52185dabfe6ce3811c439ca2839 | [
"MIT"
] | null | null | null | class A2:
pass
| 6.333333 | 9 | 0.578947 | 3 | 19 | 3.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 0.368421 | 19 | 2 | 10 | 9.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
018dec78d611f3b24dabf34c6a8c3ecf825a7581 | 204 | py | Python | src/yellowdog_client/object_store/upload/abstracts/__init__.py | yellowdog/yellowdog-sdk-python-public | da69a7d6e45c92933e34fefcaef8b5d98dcd6036 | [
"Apache-2.0"
] | null | null | null | src/yellowdog_client/object_store/upload/abstracts/__init__.py | yellowdog/yellowdog-sdk-python-public | da69a7d6e45c92933e34fefcaef8b5d98dcd6036 | [
"Apache-2.0"
] | null | null | null | src/yellowdog_client/object_store/upload/abstracts/__init__.py | yellowdog/yellowdog-sdk-python-public | da69a7d6e45c92933e34fefcaef8b5d98dcd6036 | [
"Apache-2.0"
] | null | null | null | from .abstract_upload_batch_builder import AbstractUploadBatchBuilder
from .abstract_upload_engine import AbstractUploadEngine
__all__ = [
"AbstractUploadBatchBuilder",
"AbstractUploadEngine"
]
| 22.666667 | 69 | 0.833333 | 16 | 204 | 10.0625 | 0.625 | 0.149068 | 0.223602 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 204 | 8 | 70 | 25.5 | 0.894444 | 0 | 0 | 0 | 0 | 0 | 0.22549 | 0.127451 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 1 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
6da6edd5e4c25b644cf34b53e5bd55376b087ac9 | 2,539 | py | Python | tests/constants.py | ankitchiplunkar/tbtc.py | 76be1c6439aaf61fb83dab1a6a237bea72625d53 | [
"MIT"
] | null | null | null | tests/constants.py | ankitchiplunkar/tbtc.py | 76be1c6439aaf61fb83dab1a6a237bea72625d53 | [
"MIT"
] | null | null | null | tests/constants.py | ankitchiplunkar/tbtc.py | 76be1c6439aaf61fb83dab1a6a237bea72625d53 | [
"MIT"
] | null | null | null | txhash = "0xb538eabb6cea1fc3af58f1474c2b8f1adbf36a209ec8dc5534618b1f2d860c8e"
version = "1.1.0"
network = "ropsten"
address = 'bc1qzse3hm25w3nx70e8nlss6nlfusj7wd4q3m8gax'
transaction_data = {
'txid': '6cc808a28150482f783fdff7c99a6245a59437f55bb85575aa31c99ab2b0898b',
'hash': '6cc808a28150482f783fdff7c99a6245... | 50.78 | 459 | 0.736904 | 94 | 2,539 | 19.829787 | 0.691489 | 0.016094 | 0.012876 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.483173 | 0.18078 | 2,539 | 49 | 460 | 51.816327 | 0.412981 | 0 | 0 | 0.130435 | 0 | 0 | 0.697794 | 0.58353 | 0 | 0 | 0.026005 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6da755e83a5b8024a88b07d1e018e393bc1cff0f | 68 | py | Python | scanpy_recipes/versions.py | TheJacksonLaboratory/scanpy_recipes | 09715f66fca0ca8101757fbcd9d3244603e4dd3a | [
"BSD-3-Clause"
] | 5 | 2018-12-18T18:46:57.000Z | 2022-03-22T09:42:25.000Z | scanpy_recipes/versions.py | TheJacksonLaboratory/scanpy_recipes | 09715f66fca0ca8101757fbcd9d3244603e4dd3a | [
"BSD-3-Clause"
] | 42 | 2018-12-19T20:38:26.000Z | 2020-02-24T14:32:34.000Z | scanpy_recipes/versions.py | TheJacksonLaboratory/scanpy_recipes | 09715f66fca0ca8101757fbcd9d3244603e4dd3a | [
"BSD-3-Clause"
] | null | null | null | ANALYSIS_PIPELINE_VERSION = "0.9.0"
REPORT_SCHEMA_VERSION = "0.9.0"
| 22.666667 | 35 | 0.764706 | 12 | 68 | 4 | 0.583333 | 0.333333 | 0.375 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 0.088235 | 68 | 2 | 36 | 34 | 0.677419 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6db1db1c98b17e0c8bdad7e041122de5239ecffc | 148 | py | Python | classifier/classes/data/groupers/CognitiveAbilitiesGroupingPolicy.py | canary-for-cognition/multimodal-dl-framework | 54ebd3c6dcdfc48ed619316321d9f0e7a5f0fc9c | [
"MIT"
] | 2 | 2021-08-31T08:58:30.000Z | 2021-09-02T14:32:30.000Z | classifier/classes/data/groupers/CognitiveAbilitiesGroupingPolicy.py | canary-for-cognition/multimodal-nn-framework | 7733376b05840e2b3dead438dd3981db9694b6ae | [
"MIT"
] | 5 | 2020-09-22T04:29:25.000Z | 2020-12-20T16:16:47.000Z | classifier/classes/data/groupers/CognitiveAbilitiesGroupingPolicy.py | canary-for-cognition/multimodal-nn-framework | 7733376b05840e2b3dead438dd3981db9694b6ae | [
"MIT"
] | 1 | 2021-02-09T18:40:55.000Z | 2021-02-09T18:40:55.000Z | class CognitiveAbilitiesGroupingPolicy:
@staticmethod
def group(filename: str) -> str:
return filename.split(".")[0].split("-")[0]
| 24.666667 | 51 | 0.655405 | 14 | 148 | 6.928571 | 0.714286 | 0.123711 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016529 | 0.182432 | 148 | 5 | 52 | 29.6 | 0.785124 | 0 | 0 | 0 | 0 | 0 | 0.013514 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.25 | 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 | 1 | 1 | 0 | 0 | 5 |
096dcd2b9604a1328646dbe45091dd4828794c6d | 67 | py | Python | src/spyd/utils/groupby_utils.py | DanSeraf/spyd | af893b7f9c67785613b25754eb2cf150523a9fe4 | [
"Zlib"
] | 1 | 2020-03-23T20:28:06.000Z | 2020-03-23T20:28:06.000Z | src/spyd/utils/groupby_utils.py | DanSeraf/spyd | af893b7f9c67785613b25754eb2cf150523a9fe4 | [
"Zlib"
] | 1 | 2022-02-05T16:59:53.000Z | 2022-02-08T17:30:55.000Z | src/spyd/utils/groupby_utils.py | DanSeraf/spyd | af893b7f9c67785613b25754eb2cf150523a9fe4 | [
"Zlib"
] | null | null | null | def unroll_group(kv):
by, group = kv
return by, list(group) | 22.333333 | 26 | 0.641791 | 11 | 67 | 3.818182 | 0.636364 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.238806 | 67 | 3 | 26 | 22.333333 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
096de39240a3379ca4a20f0bc4cf54e4bda33d57 | 216 | py | Python | blog_app/admin.py | Rxavio/django-blog | 573ff668537465112d355490f19fa8bb8864fde8 | [
"MIT"
] | null | null | null | blog_app/admin.py | Rxavio/django-blog | 573ff668537465112d355490f19fa8bb8864fde8 | [
"MIT"
] | null | null | null | blog_app/admin.py | Rxavio/django-blog | 573ff668537465112d355490f19fa8bb8864fde8 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import *
from embed_video.admin import AdminVideoMixin
admin.site.register(Post)
admin.site.register(Comment)
admin.site.register(Video)
admin.site.register(FileAdmin)
| 21.6 | 45 | 0.824074 | 30 | 216 | 5.9 | 0.466667 | 0.20339 | 0.384181 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 216 | 9 | 46 | 24 | 0.893939 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
0976ead2c6d98e1dbfb5768d8bef8c3b6618366d | 34 | py | Python | Restoration/ellipsoid_kernel.py | Joevaen/Scikit-image_On_CT | e3bf0eeadc50691041b4b7c44a19d07546a85001 | [
"Apache-2.0"
] | null | null | null | Restoration/ellipsoid_kernel.py | Joevaen/Scikit-image_On_CT | e3bf0eeadc50691041b4b7c44a19d07546a85001 | [
"Apache-2.0"
] | null | null | null | Restoration/ellipsoid_kernel.py | Joevaen/Scikit-image_On_CT | e3bf0eeadc50691041b4b7c44a19d07546a85001 | [
"Apache-2.0"
] | null | null | null | # 为recovery.rolling_ball创建一个椭圆形内核。 | 34 | 34 | 0.882353 | 3 | 34 | 9.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029412 | 34 | 1 | 34 | 34 | 0.878788 | 0.941176 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
0996f7ffe724f99c3031b3e1837aeaa668818902 | 197 | py | Python | pyvo/vomas/xml_interpreter/exceptions.py | lmichel/pyvo | 8296bee2e799843909805fb6ae528a9b23776e8d | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | pyvo/vomas/xml_interpreter/exceptions.py | lmichel/pyvo | 8296bee2e799843909805fb6ae528a9b23776e8d | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | pyvo/vomas/xml_interpreter/exceptions.py | lmichel/pyvo | 8296bee2e799843909805fb6ae528a9b23776e8d | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | '''
Created on 11 Dec 2021
@author: laurentmichel
'''
class MappingException(Exception):
pass
class ParsingException(Exception):
pass
class NotImplementedException(Exception):
pass
| 13.133333 | 41 | 0.741117 | 19 | 197 | 7.684211 | 0.684211 | 0.267123 | 0.246575 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03681 | 0.172589 | 197 | 14 | 42 | 14.071429 | 0.858896 | 0.233503 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 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 | 5 |
099c94398e4c876e35030a7ccb2e067e299da6b5 | 177 | py | Python | configs/dla_lane/dla34up_lane_12e.py | XDong18/mmsegmentation | 9a14288a654b66babfdfe4f6fa77edc4cd127d41 | [
"Apache-2.0"
] | null | null | null | configs/dla_lane/dla34up_lane_12e.py | XDong18/mmsegmentation | 9a14288a654b66babfdfe4f6fa77edc4cd127d41 | [
"Apache-2.0"
] | null | null | null | configs/dla_lane/dla34up_lane_12e.py | XDong18/mmsegmentation | 9a14288a654b66babfdfe4f6fa77edc4cd127d41 | [
"Apache-2.0"
] | null | null | null | _base_ = [
'../_base_/models/dla34up_lane.py',
'../_base_/datasets/bdd100k_lane.py',
'../_base_/schedules/bdd100k_lane_12e.py',
'../_base_/default_runtime.py'
]
| 25.285714 | 46 | 0.655367 | 21 | 177 | 4.809524 | 0.52381 | 0.178218 | 0.19802 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065359 | 0.135593 | 177 | 6 | 47 | 29.5 | 0.594771 | 0 | 0 | 0 | 0 | 0 | 0.751412 | 0.751412 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
09be992ba5e582316fddf7bcb1972183bfeb517e | 31 | py | Python | tests/highlevel/add-compiled-language.py | sjdv1982/seamless | 1b814341e74a56333c163f10e6f6ceab508b7df9 | [
"MIT"
] | 15 | 2017-06-07T12:49:12.000Z | 2020-07-25T18:06:04.000Z | tests/highlevel/add-compiled-language.py | sjdv1982/seamless | 1b814341e74a56333c163f10e6f6ceab508b7df9 | [
"MIT"
] | 110 | 2016-06-21T23:20:44.000Z | 2022-02-24T16:15:22.000Z | tests/highlevel/add-compiled-language.py | sjdv1982/seamless | 1b814341e74a56333c163f10e6f6ceab508b7df9 | [
"MIT"
] | 6 | 2016-06-21T11:19:22.000Z | 2019-01-21T13:45:39.000Z | #g++ -x c++ blah.cfront -o blah | 31 | 31 | 0.580645 | 7 | 31 | 2.571429 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 31 | 1 | 31 | 31 | 0.692308 | 0.967742 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
09d275a5fddb4a24580878c80a68376497ba9220 | 152 | py | Python | src/0412_fizzbuzz.py | soamsy/leetcode | 091f3b33e44613fac130ff1018c8b63493798f09 | [
"MIT"
] | null | null | null | src/0412_fizzbuzz.py | soamsy/leetcode | 091f3b33e44613fac130ff1018c8b63493798f09 | [
"MIT"
] | null | null | null | src/0412_fizzbuzz.py | soamsy/leetcode | 091f3b33e44613fac130ff1018c8b63493798f09 | [
"MIT"
] | null | null | null | def fizzBuzz(self, n: int) -> list[str]:
return [f"{'Fizz' if i % 3 == 0 else ''}{'Buzz' if i % 5 == 0 else ''}" or str(i) for i in range(1, n + 1)] | 76 | 111 | 0.519737 | 31 | 152 | 2.548387 | 0.709677 | 0.075949 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051724 | 0.236842 | 152 | 2 | 111 | 76 | 0.62931 | 0 | 0 | 0 | 0 | 0.5 | 0.392157 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
09d8043c1ab08a693cc010a7c044b2a2bec689a8 | 136 | py | Python | moto/cognitoidp/__init__.py | symroe/moto | 4e106995af6f2820273528fca8a4e9ee288690a5 | [
"Apache-2.0"
] | null | null | null | moto/cognitoidp/__init__.py | symroe/moto | 4e106995af6f2820273528fca8a4e9ee288690a5 | [
"Apache-2.0"
] | 1 | 2022-02-19T02:10:45.000Z | 2022-02-19T02:15:52.000Z | moto/cognitoidp/__init__.py | symroe/moto | 4e106995af6f2820273528fca8a4e9ee288690a5 | [
"Apache-2.0"
] | null | null | null | from .models import cognitoidp_backends
from ..core.models import base_decorator
mock_cognitoidp = base_decorator(cognitoidp_backends)
| 27.2 | 53 | 0.860294 | 17 | 136 | 6.588235 | 0.529412 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 136 | 4 | 54 | 34 | 0.903226 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
09e172d6d5464372b7e547d8726a40a170d01bba | 44 | py | Python | djangocms_relations/__init__.py | philippze/djangocms-relations | e4ff406700598fe20592ad46cde025de51fc0368 | [
"MIT"
] | null | null | null | djangocms_relations/__init__.py | philippze/djangocms-relations | e4ff406700598fe20592ad46cde025de51fc0368 | [
"MIT"
] | null | null | null | djangocms_relations/__init__.py | philippze/djangocms-relations | e4ff406700598fe20592ad46cde025de51fc0368 | [
"MIT"
] | 1 | 2019-07-23T02:11:07.000Z | 2019-07-23T02:11:07.000Z | #from .mixins import AutocopyRelationsMixin
| 22 | 43 | 0.863636 | 4 | 44 | 9.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 44 | 1 | 44 | 44 | 0.95 | 0.954545 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
09e1b612bebede48bfc39d460e9e2db38b8ff751 | 132 | py | Python | mastermind.py | gap892003/mastermind | c59437d1b50d54149ea56e099b65721d1969e606 | [
"MIT"
] | 389 | 2016-01-26T10:26:08.000Z | 2022-03-24T12:18:15.000Z | mastermind.py | rasata/mastermind | dc6166666e0321bdf3f528eb7bb601c6aa4fd4f1 | [
"MIT"
] | 46 | 2016-01-18T10:13:04.000Z | 2018-02-08T12:42:28.000Z | mastermind.py | rasata/mastermind | dc6166666e0321bdf3f528eb7bb601c6aa4fd4f1 | [
"MIT"
] | 64 | 2016-02-19T05:10:19.000Z | 2022-02-17T02:06:41.000Z | #!/usr/bin/env python
from __future__ import (absolute_import, print_function, division)
from mastermind import main
main.main()
| 16.5 | 66 | 0.787879 | 18 | 132 | 5.444444 | 0.722222 | 0.163265 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 132 | 7 | 67 | 18.857143 | 0.844828 | 0.151515 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
09e4cfaba36950f2598585e7dbb3e91b003e2c6e | 77 | py | Python | tests/__init__.py | ka3bhy/wexpect | 14a4279579a740ce15743db44228f3b0cf4ee8f4 | [
"MIT"
] | 52 | 2019-04-24T14:38:43.000Z | 2022-03-08T22:03:11.000Z | tests/__init__.py | ka3bhy/wexpect | 14a4279579a740ce15743db44228f3b0cf4ee8f4 | [
"MIT"
] | 51 | 2019-05-13T12:15:09.000Z | 2021-12-15T14:00:15.000Z | tests/__init__.py | ka3bhy/wexpect | 14a4279579a740ce15743db44228f3b0cf4ee8f4 | [
"MIT"
] | 20 | 2019-07-15T15:48:31.000Z | 2022-03-27T08:55:17.000Z | # __init__.py
# The mere presence of this file makes the dir a package.
pass
| 19.25 | 57 | 0.753247 | 14 | 77 | 3.857143 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.194805 | 77 | 3 | 58 | 25.666667 | 0.870968 | 0.87013 | 0 | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.