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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
78d3c60da3c69f85e10ce022f39e62f8c884ea9f | 21,512 | py | Python | spark_fhir_schemas/r4/complex_types/dosage.py | icanbwell/SparkFhirSchemas | 8c828313c39850b65f8676e67f526ee92b7d624e | [
"Apache-2.0"
] | null | null | null | spark_fhir_schemas/r4/complex_types/dosage.py | icanbwell/SparkFhirSchemas | 8c828313c39850b65f8676e67f526ee92b7d624e | [
"Apache-2.0"
] | null | null | null | spark_fhir_schemas/r4/complex_types/dosage.py | icanbwell/SparkFhirSchemas | 8c828313c39850b65f8676e67f526ee92b7d624e | [
"Apache-2.0"
] | null | null | null | from typing import Union, List, Optional
from pyspark.sql.types import (
StructType,
StructField,
StringType,
ArrayType,
BooleanType,
DataType,
)
# This file is auto-generated by generate_schema so do not edit it manually
# noinspection PyPep8Naming
class DosageSchema:
"""
Indicates h... | 49.681293 | 109 | 0.551971 | 1,956 | 21,512 | 5.81953 | 0.128834 | 0.06009 | 0.038215 | 0.054819 | 0.805851 | 0.779935 | 0.771765 | 0.742774 | 0.738821 | 0.733111 | 0 | 0.002729 | 0.403868 | 21,512 | 432 | 110 | 49.796296 | 0.884903 | 0.26455 | 0 | 0.676282 | 0 | 0 | 0.031347 | 0.004413 | 0 | 0 | 0 | 0 | 0 | 1 | 0.003205 | false | 0 | 0.028846 | 0 | 0.041667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
15346720abea14917430cdb63a3115b4e69b19da | 4,042 | py | Python | acouchbase/tests/cases/connection_t.py | dfresh613/couchbase-python-client | c77af56490ed4c6d364fcf8fc1a374570de0239b | [
"Apache-2.0"
] | 189 | 2015-01-07T18:34:31.000Z | 2022-03-21T17:41:56.000Z | acouchbase/tests/cases/connection_t.py | dfresh613/couchbase-python-client | c77af56490ed4c6d364fcf8fc1a374570de0239b | [
"Apache-2.0"
] | 24 | 2015-05-19T14:00:16.000Z | 2022-03-16T22:01:30.000Z | acouchbase/tests/cases/connection_t.py | dfresh613/couchbase-python-client | c77af56490ed4c6d364fcf8fc1a374570de0239b | [
"Apache-2.0"
] | 60 | 2015-03-10T22:12:50.000Z | 2022-03-07T21:57:40.000Z | import unittest
import asyncio
from unittest.mock import patch
from acouchbase.cluster import Cluster, ABucket, get_event_loop, close_event_loop
from acouchbase.asyncio_iops import IOPS
from couchbase.cluster import ClusterOptions
from couchbase.auth import PasswordAuthenticator
class TestAcouchbaseConnection(unitt... | 39.627451 | 87 | 0.68951 | 448 | 4,042 | 5.935268 | 0.191964 | 0.05378 | 0.056412 | 0.042873 | 0.717563 | 0.717563 | 0.707785 | 0.707785 | 0.670929 | 0.641595 | 0 | 0.006575 | 0.209797 | 4,042 | 101 | 88 | 40.019802 | 0.825924 | 0.128897 | 0 | 0.641791 | 0 | 0 | 0.114375 | 0.031375 | 0 | 0 | 0 | 0.009901 | 0.507463 | 1 | 0.044776 | false | 0.119403 | 0.104478 | 0 | 0.164179 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
158221942c016bdb7106bc8d5b3ebb4d688fe90a | 6,470 | py | Python | well_plate_project/data_etl/well_plate_extract.py | MthBr/well-plate-light-driven-predictions | d313c5ff8f589516cb6f65f422626faed5bf6dd2 | [
"MIT"
] | null | null | null | well_plate_project/data_etl/well_plate_extract.py | MthBr/well-plate-light-driven-predictions | d313c5ff8f589516cb6f65f422626faed5bf6dd2 | [
"MIT"
] | null | null | null | well_plate_project/data_etl/well_plate_extract.py | MthBr/well-plate-light-driven-predictions | d313c5ff8f589516cb6f65f422626faed5bf6dd2 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Fri Nov 27 10:20:09 2020
@author: enzo
"""
import pandas as pd
def map_dict_worksheet(basic_structure_df, version, dict_weel_plates):
row=8
col=12
row_name=list(map(chr, range(ord('A'), ord('H')+1)))
col_name=[str(each) for each in ran... | 33.697917 | 123 | 0.654096 | 942 | 6,470 | 4.208068 | 0.171975 | 0.068113 | 0.064581 | 0.037841 | 0.841826 | 0.786327 | 0.779516 | 0.749243 | 0.739405 | 0.691726 | 0 | 0.019204 | 0.211283 | 6,470 | 191 | 124 | 33.874346 | 0.757594 | 0.052241 | 0 | 0.611111 | 0 | 0 | 0.07482 | 0 | 0.015873 | 0 | 0 | 0 | 0.015873 | 1 | 0.047619 | false | 0 | 0.063492 | 0 | 0.150794 | 0.047619 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1598e0104e455261882e7b022d2a38c5f949814b | 12,637 | py | Python | example/flare_analyze_injection.py | zhuchangzhan/TVOI | 3071a70383ce5d7770cd000a2b439f1e857d14bf | [
"MIT"
] | null | null | null | example/flare_analyze_injection.py | zhuchangzhan/TVOI | 3071a70383ce5d7770cd000a2b439f1e857d14bf | [
"MIT"
] | null | null | null | example/flare_analyze_injection.py | zhuchangzhan/TVOI | 3071a70383ce5d7770cd000a2b439f1e857d14bf | [
"MIT"
] | 1 | 2020-04-12T04:21:42.000Z | 2020-04-12T04:21:42.000Z | """
process injected flares
"""
import os,sys
import glob
import time
import pandas as pd
import matplotlib.pyplot as plt
DIR = os.path.abspath(os.path.dirname(__file__))
sys.path.insert(0, os.path.join(DIR, '../..'))
import src.main.Lightcurve_io4 as LC_io2
from src.main.General_Catcher import *
def injection_test... | 32.237245 | 106 | 0.480573 | 1,344 | 12,637 | 4.374256 | 0.130952 | 0.027216 | 0.026535 | 0.042864 | 0.785678 | 0.775642 | 0.77156 | 0.764926 | 0.740092 | 0.726484 | 0 | 0.027034 | 0.394081 | 12,637 | 391 | 107 | 32.319693 | 0.74076 | 0.093218 | 0 | 0.748768 | 0 | 0 | 0.07009 | 0.032611 | 0 | 0 | 0 | 0 | 0 | 1 | 0.024631 | false | 0 | 0.034483 | 0 | 0.064039 | 0.059113 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
15b3879ddd31f7bfe7c6c17603768f044768e247 | 119 | py | Python | rational_crowd/questionnaire/__init__.py | shirishgoyal/rational_crowd | 1d1ef7d1653a5c9db90bd930c56208d062085db8 | [
"MIT"
] | 1 | 2017-03-22T08:50:44.000Z | 2017-03-22T08:50:44.000Z | rational_crowd/questionnaire/__init__.py | shirishgoyal/rational_crowd | 1d1ef7d1653a5c9db90bd930c56208d062085db8 | [
"MIT"
] | null | null | null | rational_crowd/questionnaire/__init__.py | shirishgoyal/rational_crowd | 1d1ef7d1653a5c9db90bd930c56208d062085db8 | [
"MIT"
] | null | null | null | from django.utils.translation import ugettext_lazy as _
from django.db import models
from django.contrib import admin
| 23.8 | 55 | 0.840336 | 18 | 119 | 5.444444 | 0.666667 | 0.306122 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12605 | 119 | 4 | 56 | 29.75 | 0.942308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ec9cbec154194ed620b175ba32dfd6a3d298f9f6 | 10,766 | py | Python | pysem/startingvalues.py | planplus/pysem | 6effa2e1e468c889e89109ac4a7a486b0813f02d | [
"MIT"
] | 2 | 2021-12-10T04:20:58.000Z | 2022-01-07T06:57:17.000Z | pysem/startingvalues.py | planplus/pysem | 6effa2e1e468c889e89109ac4a7a486b0813f02d | [
"MIT"
] | null | null | null | pysem/startingvalues.py | planplus/pysem | 6effa2e1e468c889e89109ac4a7a486b0813f02d | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""This module contains functions for stating values estimation."""
from scipy.stats import linregress
import numpy as np
def start_beta(model, lval: str, rval: str):
"""
Calculate starting value for parameter in data given data in model.
Parameters in beta ... | 20.783784 | 79 | 0.560747 | 1,391 | 10,766 | 4.299784 | 0.10496 | 0.042133 | 0.036114 | 0.048152 | 0.818258 | 0.783648 | 0.777964 | 0.756897 | 0.756897 | 0.756897 | 0 | 0.008476 | 0.320546 | 10,766 | 517 | 80 | 20.823985 | 0.809159 | 0.493684 | 0 | 0.472868 | 0 | 0 | 0.023273 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.139535 | false | 0 | 0.015504 | 0 | 0.403101 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ecba870f6a60962be764d90347afe750ca5962eb | 47 | py | Python | scripts/portal/in_guild.py | G00dBye/YYMS | 1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb | [
"MIT"
] | 54 | 2019-04-16T23:24:48.000Z | 2021-12-18T11:41:50.000Z | scripts/portal/in_guild.py | G00dBye/YYMS | 1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb | [
"MIT"
] | 3 | 2019-05-19T15:19:41.000Z | 2020-04-27T16:29:16.000Z | scripts/portal/in_guild.py | G00dBye/YYMS | 1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb | [
"MIT"
] | 49 | 2020-11-25T23:29:16.000Z | 2022-03-26T16:20:24.000Z | # 200000300
sm.warp(200000301, 3)
sm.dispose()
| 11.75 | 21 | 0.723404 | 7 | 47 | 4.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.452381 | 0.106383 | 47 | 3 | 22 | 15.666667 | 0.357143 | 0.191489 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ecd7b824c91daf5695bed416d593b5814c8cbfb5 | 172 | py | Python | aldryn_accounts/monkeypatches.py | conformist-mw/aldryn-accounts | e4bd60354547945a8e80cc692c0080582dd0d846 | [
"MIT"
] | null | null | null | aldryn_accounts/monkeypatches.py | conformist-mw/aldryn-accounts | e4bd60354547945a8e80cc692c0080582dd0d846 | [
"MIT"
] | 1 | 2019-05-29T03:49:39.000Z | 2019-05-29T09:40:04.000Z | aldryn_accounts/monkeypatches.py | conformist-mw/aldryn-accounts | e4bd60354547945a8e80cc692c0080582dd0d846 | [
"MIT"
] | 6 | 2019-03-05T15:19:26.000Z | 2021-12-16T20:50:21.000Z | # -*- coding: utf-8 -*-
def patch_user_unicode():
from django.contrib.auth.models import User
from .utils import user_display
User.__unicode__ = user_display
| 21.5 | 47 | 0.709302 | 23 | 172 | 4.956522 | 0.652174 | 0.192982 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007143 | 0.186047 | 172 | 7 | 48 | 24.571429 | 0.807143 | 0.122093 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ece77bd0755236bfa86b41e2c2a4277a4516721f | 27 | py | Python | build/lib/NaMAZU/namadeco/__init__.py | NMZ0429/NaMAZU | 46ac3a5fab6fc21bbef323e16daadfd4111e2e68 | [
"Apache-2.0"
] | 5 | 2021-09-22T20:17:22.000Z | 2021-11-26T07:09:18.000Z | build/lib/NaMAZU/namadeco/__init__.py | NMZ0429/NaMAZU | 46ac3a5fab6fc21bbef323e16daadfd4111e2e68 | [
"Apache-2.0"
] | null | null | null | build/lib/NaMAZU/namadeco/__init__.py | NMZ0429/NaMAZU | 46ac3a5fab6fc21bbef323e16daadfd4111e2e68 | [
"Apache-2.0"
] | null | null | null | from .decorations 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 | 1 | 0 | 0 | 6 |
01bcb700ffb7136681b5a0ddb62bcd1d7bd4639d | 147 | py | Python | ygo_client/connection/enums/__init__.py | hinihatetsu/ygo-client-python | 5220452417878757ed712ec95c9936004fdcb003 | [
"MIT"
] | null | null | null | ygo_client/connection/enums/__init__.py | hinihatetsu/ygo-client-python | 5220452417878757ed712ec95c9936004fdcb003 | [
"MIT"
] | null | null | null | ygo_client/connection/enums/__init__.py | hinihatetsu/ygo-client-python | 5220452417878757ed712ec95c9936004fdcb003 | [
"MIT"
] | null | null | null | from .ctos_message import CtosMessage
from .stoc_message import StocMessage
from .game_message import GameMessage
from .error_type import ErrorType | 36.75 | 37 | 0.870748 | 20 | 147 | 6.2 | 0.6 | 0.314516 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102041 | 147 | 4 | 38 | 36.75 | 0.939394 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
01db75c80dafcc2118c45db0d030c9857b3bf923 | 5,810 | py | Python | mp/models.py | luozhouyang/matchpyramid | fa436460acdd4c2c8edab92de9799ffbe9811422 | [
"Apache-2.0"
] | 2 | 2019-06-30T01:29:26.000Z | 2020-12-09T06:46:17.000Z | mp/models.py | luozhouyang/matchpyramid | fa436460acdd4c2c8edab92de9799ffbe9811422 | [
"Apache-2.0"
] | 3 | 2020-11-13T18:14:57.000Z | 2022-02-10T00:23:35.000Z | mp/models.py | luozhouyang/matchpyramid | fa436460acdd4c2c8edab92de9799ffbe9811422 | [
"Apache-2.0"
] | 1 | 2019-07-22T02:48:00.000Z | 2019-07-22T02:48:00.000Z | # Copyright 2019 luozhouyang
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | 39.256757 | 112 | 0.638382 | 797 | 5,810 | 4.505646 | 0.188206 | 0.083821 | 0.112225 | 0.035088 | 0.739627 | 0.736842 | 0.725146 | 0.725146 | 0.716235 | 0.716235 | 0 | 0.014602 | 0.198451 | 5,810 | 147 | 113 | 39.52381 | 0.756496 | 0.148193 | 0 | 0.730769 | 0 | 0 | 0.152735 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.028846 | false | 0 | 0.019231 | 0 | 0.076923 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
bf0a8343f424d0166744b8b2dc5c4e4ad04a7a53 | 12,302 | py | Python | python/cv_utils.py | shamindras/bttv-aistats2020 | 7a2d5136647519d2c4cc6b0735599abec9c2997a | [
"MIT"
] | 1 | 2020-08-20T09:51:10.000Z | 2020-08-20T09:51:10.000Z | python/cv_utils.py | shamindras/bttv-aistats2020 | 7a2d5136647519d2c4cc6b0735599abec9c2997a | [
"MIT"
] | 8 | 2020-02-13T04:48:29.000Z | 2020-02-20T05:33:49.000Z | python/cv_utils.py | shamindras/bttv-aistats2020 | 7a2d5136647519d2c4cc6b0735599abec9c2997a | [
"MIT"
] | 1 | 2021-09-16T14:07:31.000Z | 2021-09-16T14:07:31.000Z | import sys
import numpy as np
import scipy as sc
import scipy.linalg as spl
import grad_utils as model
import ks_utils as ks
import simulation_utils as si
import opt_utils as op
def loocv(data, lambdas_smooth, opt_fn,
num_loocv = 200, get_estimate = True,
verbose = 'cv', out = 'terminal', **kwargs... | 40.735099 | 88 | 0.61681 | 1,761 | 12,302 | 4.115843 | 0.104486 | 0.063328 | 0.027594 | 0.030905 | 0.890591 | 0.874172 | 0.85665 | 0.828918 | 0.81388 | 0.800911 | 0 | 0.010616 | 0.264916 | 12,302 | 302 | 89 | 40.735099 | 0.790888 | 0.313608 | 0 | 0.643275 | 0 | 0 | 0.023792 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.02924 | false | 0 | 0.046784 | 0 | 0.116959 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1755cb8685d3f608ef9e6fe4b94ff2185a3bf714 | 477 | py | Python | src/GridCal/Engine/IO/__init__.py | mzy2240/GridCal | 0352f0e9ce09a9c037722bf2f2afc0a31ccd2880 | [
"BSD-3-Clause"
] | 284 | 2016-01-31T03:20:44.000Z | 2022-03-17T21:16:52.000Z | src/GridCal/Engine/IO/__init__.py | mzy2240/GridCal | 0352f0e9ce09a9c037722bf2f2afc0a31ccd2880 | [
"BSD-3-Clause"
] | 94 | 2016-01-14T13:37:40.000Z | 2022-03-28T03:13:56.000Z | src/GridCal/Engine/IO/__init__.py | mzy2240/GridCal | 0352f0e9ce09a9c037722bf2f2afc0a31ccd2880 | [
"BSD-3-Clause"
] | 84 | 2016-03-29T10:43:04.000Z | 2022-02-22T16:26:55.000Z |
from GridCal.Engine.IO.cim.cim_parser import CIMImport, CIMExport
from GridCal.Engine.IO.dgs_parser import *
from GridCal.Engine.IO.dpx_parser import *
from GridCal.Engine.IO.ipa_parser import *
from GridCal.Engine.IO.json_parser import *
from GridCal.Engine.IO.matpower.matpower_parser import parse_matpower_file
from ... | 43.363636 | 74 | 0.842767 | 73 | 477 | 5.356164 | 0.315068 | 0.253197 | 0.391304 | 0.43734 | 0.381074 | 0.317136 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081761 | 477 | 10 | 75 | 47.7 | 0.892694 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bd7a89bdfd2a3fd04c631eb098a7a6462fe218a2 | 103 | py | Python | plugin_scripts/pipeline_exceptions.py | jashparekh/bigquery-action | 2939c416d881dcf120e8f2cb35d6adc864bdbc77 | [
"MIT"
] | 8 | 2021-09-17T19:57:54.000Z | 2022-01-02T21:38:07.000Z | plugin_scripts/pipeline_exceptions.py | wayfair-incubator/bigquery-buildkite-plugin | 18bef97a3dbbb468cfa3b90b8fdda15a02388d37 | [
"MIT"
] | 95 | 2021-07-11T01:11:56.000Z | 2022-03-31T08:15:30.000Z | plugin_scripts/pipeline_exceptions.py | jashparekh/bigquery-action | 2939c416d881dcf120e8f2cb35d6adc864bdbc77 | [
"MIT"
] | null | null | null | class DatasetSchemaDirectoryNonExistent(Exception):
pass
class DeployFailed(Exception):
pass
| 14.714286 | 51 | 0.786408 | 8 | 103 | 10.125 | 0.625 | 0.320988 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15534 | 103 | 6 | 52 | 17.166667 | 0.931034 | 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 | 1 | 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 | 6 |
da0e78826aa8b5046a25f264e050ab8dd42dacba | 62 | py | Python | package/crud/celery/abc/__init__.py | derekmerck/pycrud | 065edd4f3ec1fda906772de7a20e8df16e31bfb2 | [
"MIT"
] | 15 | 2019-02-12T23:26:09.000Z | 2021-12-21T08:53:58.000Z | package/crud/celery/abc/__init__.py | derekmerck/pycrud | 065edd4f3ec1fda906772de7a20e8df16e31bfb2 | [
"MIT"
] | 2 | 2019-01-23T21:13:12.000Z | 2019-06-28T15:45:51.000Z | package/crud/celery/abc/__init__.py | derekmerck/pycrud | 065edd4f3ec1fda906772de7a20e8df16e31bfb2 | [
"MIT"
] | 6 | 2019-01-23T20:22:50.000Z | 2022-02-03T03:27:04.000Z | from .distributed import DistributedMixin, LockingGatewayMixin | 62 | 62 | 0.903226 | 5 | 62 | 11.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064516 | 62 | 1 | 62 | 62 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
da4c86202eb6297690f11159e4e604eb90cf7960 | 97 | py | Python | tests/test_loop.py | ChillyCider/swarmclientpy | 0872ba013182120aec23b46d6d3caccfa4ee6f62 | [
"Zlib"
] | 1 | 2021-09-10T21:45:44.000Z | 2021-09-10T21:45:44.000Z | tests/test_loop.py | ChillyCider/swarmclientpy | 0872ba013182120aec23b46d6d3caccfa4ee6f62 | [
"Zlib"
] | null | null | null | tests/test_loop.py | ChillyCider/swarmclientpy | 0872ba013182120aec23b46d6d3caccfa4ee6f62 | [
"Zlib"
] | null | null | null | from .context import swarmclientpy
def test_add():
assert swarmclientpy.loop.add(1, 3) == 4
| 19.4 | 44 | 0.721649 | 14 | 97 | 4.928571 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 0.164948 | 97 | 4 | 45 | 24.25 | 0.814815 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
da4f4815b376b184b345af8dfdae9831c4b1e0ad | 47 | py | Python | scripts/portal/move_elin.py | G00dBye/YYMS | 1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb | [
"MIT"
] | 54 | 2019-04-16T23:24:48.000Z | 2021-12-18T11:41:50.000Z | scripts/portal/move_elin.py | G00dBye/YYMS | 1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb | [
"MIT"
] | 3 | 2019-05-19T15:19:41.000Z | 2020-04-27T16:29:16.000Z | scripts/portal/move_elin.py | G00dBye/YYMS | 1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb | [
"MIT"
] | 49 | 2020-11-25T23:29:16.000Z | 2022-03-26T16:20:24.000Z | # 222020400
sm.warp(300000100, 1)
sm.dispose()
| 11.75 | 21 | 0.723404 | 7 | 47 | 4.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.452381 | 0.106383 | 47 | 3 | 22 | 15.666667 | 0.357143 | 0.191489 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
da8706b2443112e5cfb3fb145f0e47abdd4b8b83 | 401 | py | Python | CH7/function-module.py | yancqS/Python-tourial | 6d5e91a5fe5dc22a807e375eb444553a20837d5a | [
"MIT"
] | null | null | null | CH7/function-module.py | yancqS/Python-tourial | 6d5e91a5fe5dc22a807e375eb444553a20837d5a | [
"MIT"
] | null | null | null | CH7/function-module.py | yancqS/Python-tourial | 6d5e91a5fe5dc22a807e375eb444553a20837d5a | [
"MIT"
] | null | null | null | import pizza
pizza.make_pizza(16, 'a', 'b', 'c')
pizza.make_pizza(12, 'a', 'b')
from pizza import make_pizza
make_pizza(16, 'a', 'b', 'c')
make_pizza(12, 'a', 'b')
from pizza import make_pizza as mp
mp(16, 'a', 'b', 'c')
mp(12, 'a', 'b')
import pizza as p
p.make_pizza(16, 'a', 'b', 'c')
p.make_pizza(12, 'a', '... | 14.851852 | 35 | 0.586035 | 78 | 401 | 2.884615 | 0.153846 | 0.4 | 0.088889 | 0.111111 | 0.782222 | 0.782222 | 0.72 | 0.635556 | 0.635556 | 0.635556 | 0 | 0.059701 | 0.164589 | 401 | 26 | 36 | 15.423077 | 0.61194 | 0 | 0 | 0.266667 | 0 | 0 | 0.062344 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
16f4fe7217278987cd4e79cc92cb10723e9e337d | 12,404 | py | Python | aws-dev/awsdev8/venv/Lib/site-packages/amazondax/grammar/DynamoDbGrammarLexer.py | PacktPublishing/-AWS-Certified-Developer---Associate-Certification | 3f76e3d3df6797705b5b30ae574fe678250d5e92 | [
"MIT"
] | 13 | 2020-02-02T13:53:50.000Z | 2022-03-20T19:50:02.000Z | aws-dev/awsdev8/venv/Lib/site-packages/amazondax/grammar/DynamoDbGrammarLexer.py | PacktPublishing/-AWS-Certified-Developer---Associate-Certification | 3f76e3d3df6797705b5b30ae574fe678250d5e92 | [
"MIT"
] | 2 | 2020-03-29T19:08:04.000Z | 2021-06-02T00:57:44.000Z | aws-dev/awsdev8/venv/Lib/site-packages/amazondax/grammar/DynamoDbGrammarLexer(1).py | PacktPublishing/-AWS-Certified-Developer---Associate-Certification | 3f76e3d3df6797705b5b30ae574fe678250d5e92 | [
"MIT"
] | 10 | 2019-12-25T20:42:37.000Z | 2021-11-17T15:19:00.000Z | # Generated from grammar/DynamoDbGrammar.g4 by ANTLR 4.7
from antlr4 import *
from io import StringIO
from typing.io import TextIO
import sys
def serializedATN():
with StringIO() as buf:
buf.write("\3\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786\u5964\2 ")
buf.write("\u013e\b\1\4\2\t\2\4\3\t\3\4\4\t\... | 57.425926 | 103 | 0.547404 | 2,852 | 12,404 | 2.359748 | 0.15533 | 0.130758 | 0.081575 | 0.08737 | 0.238633 | 0.156166 | 0.07786 | 0.067162 | 0.063596 | 0.063596 | 0 | 0.329581 | 0.154869 | 12,404 | 215 | 104 | 57.693023 | 0.312411 | 0.004353 | 0 | 0 | 1 | 0.388889 | 0.602786 | 0.561153 | 0.005051 | 0 | 0 | 0 | 0 | 1 | 0.010101 | false | 0 | 0.020202 | 0 | 0.232323 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e5092b4bb251cf6eb2f3e69fd35d6cfc23fc809c | 1,040 | py | Python | temboo/core/Library/Tumblr/User/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 7 | 2016-03-07T02:07:21.000Z | 2022-01-21T02:22:41.000Z | temboo/core/Library/Tumblr/User/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | null | null | null | temboo/core/Library/Tumblr/User/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 8 | 2016-06-14T06:01:11.000Z | 2020-04-22T09:21:44.000Z | from temboo.Library.Tumblr.User.FollowUser import FollowUser, FollowUserInputSet, FollowUserResultSet, FollowUserChoreographyExecution
from temboo.Library.Tumblr.User.GetUserInformation import GetUserInformation, GetUserInformationInputSet, GetUserInformationResultSet, GetUserInformationChoreographyExecution
from tembo... | 148.571429 | 224 | 0.919231 | 66 | 1,040 | 14.484848 | 0.454545 | 0.062762 | 0.106695 | 0.144351 | 0.169456 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040385 | 1,040 | 6 | 225 | 173.333333 | 0.957916 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e50ad6f4cd7d265f5aa872acba5de4b4717c53cd | 85 | py | Python | tests/api_tests/openstack_tests/__init__.py | deti/boss | bc0cfe3067bf1cbf26789f7443a36e7cdd2ac869 | [
"Apache-2.0"
] | 7 | 2018-05-20T08:56:08.000Z | 2022-03-11T15:50:54.000Z | tests/api_tests/openstack_tests/__init__.py | deti/boss | bc0cfe3067bf1cbf26789f7443a36e7cdd2ac869 | [
"Apache-2.0"
] | 2 | 2021-06-08T21:12:51.000Z | 2022-01-13T01:25:27.000Z | tests/api_tests/openstack_tests/__init__.py | deti/boss | bc0cfe3067bf1cbf26789f7443a36e7cdd2ac869 | [
"Apache-2.0"
] | 5 | 2016-10-09T14:52:09.000Z | 2020-12-25T01:04:35.000Z | from utils.base import BaseTestCase
class OpenstackTestBase(BaseTestCase):
pass | 17 | 38 | 0.811765 | 9 | 85 | 7.666667 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141176 | 85 | 5 | 39 | 17 | 0.945205 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
e536c077f2f7a4f38be26492f050dc7bc86904f2 | 142 | py | Python | models/old/old_transformer/transformer/__init__.py | ErikHumphrey/sustain-seq2seq | c4787f0ca1047d01385e4fa4ffde59c6a8ab4cc4 | [
"Apache-2.0"
] | 4 | 2019-05-09T19:47:48.000Z | 2020-04-11T13:58:31.000Z | models/old/old_transformer/transformer/__init__.py | ErikHumphrey/sustain-seq2seq | c4787f0ca1047d01385e4fa4ffde59c6a8ab4cc4 | [
"Apache-2.0"
] | null | null | null | models/old/old_transformer/transformer/__init__.py | ErikHumphrey/sustain-seq2seq | c4787f0ca1047d01385e4fa4ffde59c6a8ab4cc4 | [
"Apache-2.0"
] | 4 | 2018-12-05T01:52:22.000Z | 2019-11-01T01:01:52.000Z | import transformer.config
import transformer.layers
import transformer.attention
import transformer.optimizers
import transformer.transformer
| 23.666667 | 30 | 0.894366 | 15 | 142 | 8.466667 | 0.4 | 0.669291 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070423 | 142 | 5 | 31 | 28.4 | 0.962121 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e541cfe6bfac7250ff7e1a9aad307d67afb88c2a | 167 | py | Python | naics/years/y2017/objects.py | dylanmoring/naics_sic | 8b51ddf0b9ab1b9d380bfd620564ac281bb7d1d2 | [
"MIT"
] | null | null | null | naics/years/y2017/objects.py | dylanmoring/naics_sic | 8b51ddf0b9ab1b9d380bfd620564ac281bb7d1d2 | [
"MIT"
] | null | null | null | naics/years/y2017/objects.py | dylanmoring/naics_sic | 8b51ddf0b9ab1b9d380bfd620564ac281bb7d1d2 | [
"MIT"
] | null | null | null | from ..make_objects import make_naics_objects
from . import NAICS2017, naics_2017_json_path
naics_2017_objects = make_naics_objects(naics_2017_json_path, NAICS2017)
| 27.833333 | 72 | 0.862275 | 25 | 167 | 5.24 | 0.36 | 0.206107 | 0.244275 | 0.259542 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131579 | 0.08982 | 167 | 5 | 73 | 33.4 | 0.730263 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
e57cd41d03c60f5e2d2d386a7f57d9648174d2c0 | 41 | py | Python | django_dynamodb_cache/encode/__init__.py | xncbf/django-dynamodb-cache | be6d1b4b8e92d581041043bcd694f2a9f00ee386 | [
"MIT"
] | 21 | 2022-02-16T10:18:24.000Z | 2022-03-31T23:40:06.000Z | django_dynamodb_cache/encode/__init__.py | xncbf/django-dynamodb-cache | be6d1b4b8e92d581041043bcd694f2a9f00ee386 | [
"MIT"
] | 9 | 2022-03-01T06:40:59.000Z | 2022-03-26T08:12:31.000Z | django_dynamodb_cache/encode/__init__.py | xncbf/django-dynamodb-cache | be6d1b4b8e92d581041043bcd694f2a9f00ee386 | [
"MIT"
] | null | null | null | from .pickle import PickleEncode # noqa
| 20.5 | 40 | 0.780488 | 5 | 41 | 6.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170732 | 41 | 1 | 41 | 41 | 0.941176 | 0.097561 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e58ba93b5b5b94534133fa32019c4327fe1a503f | 98 | py | Python | orchestrator_service/__init__.py | Shchusia/orchestrator | 993935a8e22b617d5618fc298b0f6414498c5ab1 | [
"Unlicense"
] | 1 | 2021-04-09T11:58:29.000Z | 2021-04-09T11:58:29.000Z | orchestrator_service/__init__.py | Shchusia/orchestrator | 993935a8e22b617d5618fc298b0f6414498c5ab1 | [
"Unlicense"
] | null | null | null | orchestrator_service/__init__.py | Shchusia/orchestrator | 993935a8e22b617d5618fc298b0f6414498c5ab1 | [
"Unlicense"
] | null | null | null | """
Importing
"""
from .message import *
from .orchestrator import *
from .service import *
| 14 | 28 | 0.663265 | 10 | 98 | 6.5 | 0.6 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 98 | 6 | 29 | 16.333333 | 0.844156 | 0.091837 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e5911b9d074fde48b2b14555fcfedf24a5e89063 | 27,673 | py | Python | verilog_langserver/verilog_parser/antlr_build/WorkspaceSymbolsLexer.py | eirikpre/verilog-langserver | e18545b139e40fe935bad430daf43e70553003a4 | [
"MIT"
] | 1 | 2020-09-24T02:30:10.000Z | 2020-09-24T02:30:10.000Z | verilog_langserver/verilog_parser/antlr_build/WorkspaceSymbolsLexer.py | eirikpre/verilog-langserver | e18545b139e40fe935bad430daf43e70553003a4 | [
"MIT"
] | null | null | null | verilog_langserver/verilog_parser/antlr_build/WorkspaceSymbolsLexer.py | eirikpre/verilog-langserver | e18545b139e40fe935bad430daf43e70553003a4 | [
"MIT"
] | null | null | null | # Generated from C:\Users\eirik\Desktop\verilog-langserver\verilog_langserver\verilog_parser/grammar/WorkspaceSymbols.g4 by ANTLR 4.8
from antlr4 import *
from io import StringIO
from typing.io import TextIO
import sys
def serializedATN():
with StringIO() as buf:
buf.write("\3\u608b\ua72a\u8133... | 64.807963 | 134 | 0.570159 | 5,875 | 27,673 | 2.674383 | 0.164596 | 0.120545 | 0.064537 | 0.073574 | 0.273931 | 0.183809 | 0.125446 | 0.12169 | 0.117299 | 0.11558 | 0 | 0.3411 | 0.159361 | 27,673 | 426 | 135 | 64.960094 | 0.334308 | 0.004734 | 0 | 0.009804 | 1 | 0.64951 | 0.642815 | 0.583616 | 0 | 0 | 0 | 0 | 0 | 1 | 0.004902 | false | 0 | 0.009804 | 0 | 0.183824 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e5ad5c71b88914ed73949f875033306cf44b063a | 43 | py | Python | src/__main__.py | Togohogo1/TypeRacer-Stats | b13a0c973a813a4c5f00dbbc7f98c5a13b49b25c | [
"MIT"
] | 3 | 2021-04-24T23:04:32.000Z | 2022-01-16T01:36:42.000Z | src/__main__.py | Togohogo1/TypeRacer-Stats | b13a0c973a813a4c5f00dbbc7f98c5a13b49b25c | [
"MIT"
] | 1 | 2021-05-29T17:39:05.000Z | 2021-07-12T02:26:10.000Z | src/__main__.py | Togohogo1/TypeRacer-Stats | b13a0c973a813a4c5f00dbbc7f98c5a13b49b25c | [
"MIT"
] | 1 | 2021-08-06T03:45:00.000Z | 2021-08-06T03:45:00.000Z | from .grapher import main_plot
main_plot()
| 14.333333 | 30 | 0.813953 | 7 | 43 | 4.714286 | 0.714286 | 0.484848 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116279 | 43 | 2 | 31 | 21.5 | 0.868421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
f901b8a2b200e4af23e96a952c1e5458c6685222 | 429 | py | Python | tests/test_naming.py | Cottonwood-Technology/AIOConductor | dc5f6fae48fac2b84eff26ce3aee6ca7ba581ff4 | [
"BSD-2-Clause"
] | null | null | null | tests/test_naming.py | Cottonwood-Technology/AIOConductor | dc5f6fae48fac2b84eff26ce3aee6ca7ba581ff4 | [
"BSD-2-Clause"
] | null | null | null | tests/test_naming.py | Cottonwood-Technology/AIOConductor | dc5f6fae48fac2b84eff26ce3aee6ca7ba581ff4 | [
"BSD-2-Clause"
] | null | null | null | from aioconductor.naming import camelcase_to_underscore
def test_camelcase_to_underscore() -> None:
assert camelcase_to_underscore("DB") == "db"
assert camelcase_to_underscore("HTTPClient") == "http_client"
assert camelcase_to_underscore("CoolXMLParser") == "cool_xml_parser"
assert camelcase_to_unders... | 42.9 | 72 | 0.776224 | 49 | 429 | 6.367347 | 0.530612 | 0.246795 | 0.471154 | 0.432692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015831 | 0.11655 | 429 | 9 | 73 | 47.666667 | 0.807388 | 0 | 0 | 0 | 0 | 0 | 0.237762 | 0 | 0 | 0 | 0 | 0 | 0.714286 | 1 | 0.142857 | true | 0 | 0.142857 | 0 | 0.285714 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
007859ac939f29c309be6c96966989357f7b6cc8 | 98 | py | Python | tests/bundles/security/_app/__init__.py | achiang/flask-unchained | 12788a6e618904a25ff2b571eb05ff1dc8f1840f | [
"MIT"
] | 69 | 2018-10-10T01:59:11.000Z | 2022-03-29T17:29:30.000Z | tests/bundles/security/_app/__init__.py | achiang/flask-unchained | 12788a6e618904a25ff2b571eb05ff1dc8f1840f | [
"MIT"
] | 18 | 2018-11-17T12:42:02.000Z | 2021-05-22T18:45:27.000Z | tests/bundles/security/_app/__init__.py | achiang/flask-unchained | 12788a6e618904a25ff2b571eb05ff1dc8f1840f | [
"MIT"
] | 7 | 2018-10-12T16:20:25.000Z | 2021-10-06T12:18:21.000Z | from flask_unchained import AppBundle as BaseAppBundle
class AppBundle(BaseAppBundle):
pass
| 16.333333 | 54 | 0.816327 | 11 | 98 | 7.181818 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153061 | 98 | 5 | 55 | 19.6 | 0.951807 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
0096594bf7cfb5caf791160fad1e65600db2620e | 175 | py | Python | list_methods/join_method.py | magicalcarpet/the_complete_python_course | 0ac0c5015a93607d7d29258ac0a3fc38dda81bd2 | [
"MIT"
] | null | null | null | list_methods/join_method.py | magicalcarpet/the_complete_python_course | 0ac0c5015a93607d7d29258ac0a3fc38dda81bd2 | [
"MIT"
] | null | null | null | list_methods/join_method.py | magicalcarpet/the_complete_python_course | 0ac0c5015a93607d7d29258ac0a3fc38dda81bd2 | [
"MIT"
] | null | null | null | address = ['500 Fifth Avenue', 'New York', 'NY', '10036']
print(','.join(address))
print(', '.join(address))
print(''.join(address))
print("-".join(["555", "123", "4567"])) | 21.875 | 57 | 0.582857 | 22 | 175 | 4.636364 | 0.590909 | 0.352941 | 0.470588 | 0.617647 | 0.558824 | 0.558824 | 0.558824 | 0.558824 | 0 | 0 | 0 | 0.11465 | 0.102857 | 175 | 8 | 58 | 21.875 | 0.535032 | 0 | 0 | 0.4 | 0 | 0 | 0.255682 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.8 | 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 | 1 | 0 | 6 |
daf76348fd147b6a1a7979a39d7da4d40ec1029e | 86 | py | Python | st_toolbox/spcrng/__init__.py | sekro/spatial_transcriptomics_toolbox | 57d48e7cda74c9da5381df024fd4c519f9c379f5 | [
"MIT"
] | null | null | null | st_toolbox/spcrng/__init__.py | sekro/spatial_transcriptomics_toolbox | 57d48e7cda74c9da5381df024fd4c519f9c379f5 | [
"MIT"
] | null | null | null | st_toolbox/spcrng/__init__.py | sekro/spatial_transcriptomics_toolbox | 57d48e7cda74c9da5381df024fd4c519f9c379f5 | [
"MIT"
] | null | null | null | from .spacerange_import import SpaceRangerPaths, SpaceRangerImporter, SpaceRangerSpots | 86 | 86 | 0.906977 | 7 | 86 | 11 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05814 | 86 | 1 | 86 | 86 | 0.950617 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
975627481736c4259102fd85f2277da9899adc70 | 99 | py | Python | tests/testexec.py | ateska/striga | 451b5d9421e2e5fdf49b94c8f3d76e576abc5923 | [
"MIT"
] | null | null | null | tests/testexec.py | ateska/striga | 451b5d9421e2e5fdf49b94c8f3d76e576abc5923 | [
"MIT"
] | null | null | null | tests/testexec.py | ateska/striga | 451b5d9421e2e5fdf49b94c8f3d76e576abc5923 | [
"MIT"
] | null | null | null | import logging as L
def main(ctx):
#TODO: Something to be done here ...
L.info("Go go go")
| 16.5 | 38 | 0.626263 | 18 | 99 | 3.444444 | 0.833333 | 0.129032 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.242424 | 99 | 5 | 39 | 19.8 | 0.826667 | 0.353535 | 0 | 0 | 0 | 0 | 0.137931 | 0 | 0 | 0 | 0 | 0.2 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
977cbf0db1b71d6808f47ff9d7ca4ca848712d19 | 155 | py | Python | align/pdk/finfet/__init__.py | pretl/ALIGN-public | 4b03042d9e96fa669740427842b0bf268b0c9a86 | [
"BSD-3-Clause"
] | null | null | null | align/pdk/finfet/__init__.py | pretl/ALIGN-public | 4b03042d9e96fa669740427842b0bf268b0c9a86 | [
"BSD-3-Clause"
] | null | null | null | align/pdk/finfet/__init__.py | pretl/ALIGN-public | 4b03042d9e96fa669740427842b0bf268b0c9a86 | [
"BSD-3-Clause"
] | null | null | null | from .canvas import CanvasPDK
from .transistor import MOS
from .transistor_array import MOSGenerator
from .resistor import tfr_prim
from .digital import *
| 25.833333 | 42 | 0.832258 | 21 | 155 | 6.047619 | 0.571429 | 0.220472 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 155 | 5 | 43 | 31 | 0.940741 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
97985803ff187bab9756a07fa2d20e70fdb97c00 | 18,954 | py | Python | src/layers/losses.py | malfonsoNeoris/maskrcnn_tf2 | edcd276217546b08dbc6e33bb65840432999365c | [
"MIT"
] | null | null | null | src/layers/losses.py | malfonsoNeoris/maskrcnn_tf2 | edcd276217546b08dbc6e33bb65840432999365c | [
"MIT"
] | null | null | null | src/layers/losses.py | malfonsoNeoris/maskrcnn_tf2 | edcd276217546b08dbc6e33bb65840432999365c | [
"MIT"
] | 1 | 2021-08-09T18:06:51.000Z | 2021-08-09T18:06:51.000Z | import tensorflow as tf
# Losses in subclassed API
class RPNClassLoss(tf.keras.losses.Loss):
def __init__(self, name="rpn_class_loss", **kwargs):
"""
RPN anchor classifier loss.
Args:
name: rpn_class_loss
"""
self.name = name
super(RPNClassLoss, self)._... | 42.979592 | 118 | 0.637016 | 2,736 | 18,954 | 4.202851 | 0.088085 | 0.040351 | 0.041395 | 0.023132 | 0.912166 | 0.893817 | 0.882772 | 0.857118 | 0.840595 | 0.81981 | 0 | 0.015975 | 0.260209 | 18,954 | 440 | 119 | 43.077273 | 0.804094 | 0.357444 | 0 | 0.675258 | 0 | 0 | 0.016642 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.113402 | false | 0 | 0.005155 | 0 | 0.231959 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
97a0a7690a4c7f9585f5abd616533bd4a9f83355 | 1,126 | py | Python | Source/server/db.py | SeungMinSong2929/2020-1-ESCD-SIN | 905415d40d1198b4c739b86d56d0951d3ea40f1d | [
"Apache-2.0"
] | 1 | 2020-06-01T05:43:28.000Z | 2020-06-01T05:43:28.000Z | Source/server/db.py | SeungMinSong2929/2020-1-ESCD-SIN | 905415d40d1198b4c739b86d56d0951d3ea40f1d | [
"Apache-2.0"
] | 3 | 2020-05-29T06:07:19.000Z | 2020-06-26T08:37:48.000Z | Source/server/db.py | SeungMinSong2929/2020-1-ESCD-SIN | 905415d40d1198b4c739b86d56d0951d3ea40f1d | [
"Apache-2.0"
] | 5 | 2020-05-01T07:33:02.000Z | 2020-10-26T02:39:21.000Z | import mysql.connector
def sql(querry, val):
# Open database connection
try:
mydb = mysql.connector.connect(
host="localhost",
user="root",
passwd="huong",
database="voice_db"
)
# prepare a cursor object using cursor() method
myc... | 22.52 | 55 | 0.543517 | 110 | 1,126 | 5.545455 | 0.372727 | 0.07377 | 0.042623 | 0.068852 | 0.708197 | 0.708197 | 0.708197 | 0.708197 | 0.708197 | 0.557377 | 0 | 0 | 0.363233 | 1,126 | 49 | 56 | 22.979592 | 0.850767 | 0.173179 | 0 | 0.733333 | 0 | 0 | 0.10846 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066667 | false | 0.066667 | 0.033333 | 0 | 0.133333 | 0.066667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
97cc3dbc40f57c810eda5cd4a50db30d725a927c | 204 | py | Python | main/admin.py | ssnwangfei/wfsite | 8634b0c5cebb5eef30b109d260679620f3b46fce | [
"Apache-2.0"
] | null | null | null | main/admin.py | ssnwangfei/wfsite | 8634b0c5cebb5eef30b109d260679620f3b46fce | [
"Apache-2.0"
] | null | null | null | main/admin.py | ssnwangfei/wfsite | 8634b0c5cebb5eef30b109d260679620f3b46fce | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
# Register your models here.
from .models import UserProfile
from .models import UserRelationship
admin.site.register(UserProfile)
admin.site.register(UserRelationship)
| 22.666667 | 37 | 0.833333 | 25 | 204 | 6.8 | 0.48 | 0.117647 | 0.188235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102941 | 204 | 8 | 38 | 25.5 | 0.928962 | 0.127451 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
97d222f4c287f099806bc9caf02a2c676022dda7 | 274 | py | Python | Dragon/python/dragon/vm/theano/compile/__init__.py | neopenx/Dragon | 0e639a7319035ddc81918bd3df059230436ee0a1 | [
"BSD-2-Clause"
] | 212 | 2015-07-05T07:57:17.000Z | 2022-02-27T01:55:35.000Z | Dragon/python/dragon/vm/theano/compile/__init__.py | neopenx/Dragon | 0e639a7319035ddc81918bd3df059230436ee0a1 | [
"BSD-2-Clause"
] | 6 | 2016-07-07T14:31:56.000Z | 2017-12-12T02:21:15.000Z | Dragon/python/dragon/vm/theano/compile/__init__.py | neopenx/Dragon | 0e639a7319035ddc81918bd3df059230436ee0a1 | [
"BSD-2-Clause"
] | 71 | 2016-03-24T09:02:41.000Z | 2021-06-03T01:52:41.000Z | # --------------------------------------------------------
# Theano @ Dragon
# Copyright(c) 2017 SeetaTech
# Written by Ting Pan
# --------------------------------------------------------
from .function import function
from .scan import scan
from .sharedvalue import shared | 30.444444 | 58 | 0.445255 | 22 | 274 | 5.545455 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016327 | 0.105839 | 274 | 9 | 59 | 30.444444 | 0.481633 | 0.645985 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8ad98a8ded60e4fb261521f665866a6634feb6ef | 822 | py | Python | acceptance_tests/tests/tests/test_stats_db.py | arnaud-morvan/c2cwsgiutils | aa06b77b247bd8969b88225ee3ea109886aefeac | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | acceptance_tests/tests/tests/test_stats_db.py | arnaud-morvan/c2cwsgiutils | aa06b77b247bd8969b88225ee3ea109886aefeac | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | acceptance_tests/tests/tests/test_stats_db.py | arnaud-morvan/c2cwsgiutils | aa06b77b247bd8969b88225ee3ea109886aefeac | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | import pytest
import subprocess
def test_no_extra(app_connection, composition):
composition.run('run_test', 'c2cwsgiutils_stats_db.py',
'--db', 'postgresql://www-data:www-data@db:5432/test', '--schema', 'public')
def test_with_extra(app_connection, composition):
composition.run('run_test... | 39.142857 | 100 | 0.616788 | 94 | 822 | 5.212766 | 0.297872 | 0.085714 | 0.146939 | 0.128571 | 0.738776 | 0.738776 | 0.738776 | 0.738776 | 0.738776 | 0.738776 | 0 | 0.029366 | 0.212895 | 822 | 20 | 101 | 41.1 | 0.727975 | 0 | 0 | 0.357143 | 0 | 0 | 0.396594 | 0.244526 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0 | 0.142857 | 0 | 0.357143 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c12e4bf1cfc69f0b896b7e1cd6147f9ddb5cb403 | 137 | py | Python | 33.operacoes_com_dicionarios/6.setdefault.py | robinson-1985/python-zero-dnc | df510d67e453611fcd320df1397cdb9ca47fecb8 | [
"MIT"
] | null | null | null | 33.operacoes_com_dicionarios/6.setdefault.py | robinson-1985/python-zero-dnc | df510d67e453611fcd320df1397cdb9ca47fecb8 | [
"MIT"
] | null | null | null | 33.operacoes_com_dicionarios/6.setdefault.py | robinson-1985/python-zero-dnc | df510d67e453611fcd320df1397cdb9ca47fecb8 | [
"MIT"
] | null | null | null | dicionario_3 = {'usuario':'id_3','usuario': 'id_4'}
print(dicionario_3.setdefault("id_3",333))
print(dicionario_3.setdefault("id_4",333)) | 45.666667 | 51 | 0.744526 | 22 | 137 | 4.318182 | 0.363636 | 0.347368 | 0.210526 | 0.547368 | 0.589474 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098485 | 0.036496 | 137 | 3 | 52 | 45.666667 | 0.621212 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.666667 | 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 | 1 | 0 | 6 |
c15e64be230f322a538cc6f29a0b6d932692b411 | 103 | py | Python | Chapter 11/ch11_2_4.py | bpbpublications/TEST-YOUR-SKILLS-IN-PYTHON-LANGUAGE | f6a4194684515495d00aa38347a725dd08f39a0c | [
"MIT"
] | null | null | null | Chapter 11/ch11_2_4.py | bpbpublications/TEST-YOUR-SKILLS-IN-PYTHON-LANGUAGE | f6a4194684515495d00aa38347a725dd08f39a0c | [
"MIT"
] | null | null | null | Chapter 11/ch11_2_4.py | bpbpublications/TEST-YOUR-SKILLS-IN-PYTHON-LANGUAGE | f6a4194684515495d00aa38347a725dd08f39a0c | [
"MIT"
] | null | null | null | def concat(a,b):
return tuple(str(a))*b
a=100
print(concat(a,2))
# ('1','0','0', '1','0','0') | 17.166667 | 28 | 0.485437 | 21 | 103 | 2.380952 | 0.571429 | 0.28 | 0.12 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 0.174757 | 103 | 6 | 28 | 17.166667 | 0.470588 | 0.252427 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.25 | 0.5 | 0.25 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
c1607117887ee54cdac11071ba8cd36b84d6f55c | 43 | py | Python | Hacker Rank/Python/collections.py | Ahmad-Fahad/Python | 5a5f8f3395f7085947430b8309f6af70b2e25a77 | [
"Apache-2.0"
] | null | null | null | Hacker Rank/Python/collections.py | Ahmad-Fahad/Python | 5a5f8f3395f7085947430b8309f6af70b2e25a77 | [
"Apache-2.0"
] | null | null | null | Hacker Rank/Python/collections.py | Ahmad-Fahad/Python | 5a5f8f3395f7085947430b8309f6af70b2e25a77 | [
"Apache-2.0"
] | null | null | null | import collections
print(dir(collections)) | 14.333333 | 23 | 0.837209 | 5 | 43 | 7.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069767 | 43 | 3 | 23 | 14.333333 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
c1c144f4ccaed2829146ba42e4be9669b8fb0c44 | 1,779 | py | Python | tests/parsers/transform/test_cleaning.py | motleystate/moonstone | 37c38fabf361722f7002626ef13c68c443ace4ac | [
"MIT"
] | null | null | null | tests/parsers/transform/test_cleaning.py | motleystate/moonstone | 37c38fabf361722f7002626ef13c68c443ace4ac | [
"MIT"
] | 84 | 2020-07-27T13:01:12.000Z | 2022-03-16T17:10:23.000Z | tests/parsers/transform/test_cleaning.py | motleystate/moonstone | 37c38fabf361722f7002626ef13c68c443ace4ac | [
"MIT"
] | null | null | null | from unittest import TestCase
import pandas as pd
from moonstone.parsers.transform.cleaning import StringCleaner
class TestStringCleaner(TestCase):
def test_remove_trailing_spaces(self):
df = pd.DataFrame(
[
[1, ' b'],
[4, " a "]
],
co... | 30.152542 | 74 | 0.539629 | 164 | 1,779 | 5.621951 | 0.27439 | 0.20282 | 0.056399 | 0.060738 | 0.789588 | 0.767896 | 0.759219 | 0.759219 | 0.759219 | 0.741866 | 0 | 0.008606 | 0.346824 | 1,779 | 58 | 75 | 30.672414 | 0.784854 | 0 | 0 | 0.576923 | 0 | 0 | 0.088814 | 0.012367 | 0 | 0 | 0 | 0 | 0.115385 | 1 | 0.038462 | false | 0 | 0.057692 | 0 | 0.115385 | 0 | 0 | 0 | 0 | null | 1 | 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 | 6 |
a9aabea56b89a41efc773584d4a6e41f0bd24da4 | 1,459 | py | Python | tests/test_reset.py | dmitrygx/ucx-py | b0132c5f269e4b681225f7f15969100f86ac7742 | [
"BSD-3-Clause"
] | 76 | 2019-06-08T04:03:39.000Z | 2022-01-07T20:34:23.000Z | tests/test_reset.py | dmitrygx/ucx-py | b0132c5f269e4b681225f7f15969100f86ac7742 | [
"BSD-3-Clause"
] | 644 | 2019-06-04T23:06:02.000Z | 2022-02-24T11:17:45.000Z | tests/test_reset.py | dmitrygx/ucx-py | b0132c5f269e4b681225f7f15969100f86ac7742 | [
"BSD-3-Clause"
] | 32 | 2019-08-14T09:22:02.000Z | 2022-01-21T20:17:50.000Z | import pytest
import ucp
class ResetAfterN:
"""Calls ucp.reset() after n calls"""
def __init__(self, n):
self.n = n
self.count = 0
def __call__(self):
self.count += 1
if self.count == self.n:
ucp.reset()
@pytest.mark.asyncio
async def test_reset():
rese... | 19.986301 | 88 | 0.60658 | 197 | 1,459 | 4.350254 | 0.284264 | 0.056009 | 0.052509 | 0.077013 | 0.808635 | 0.808635 | 0.808635 | 0.768961 | 0.682614 | 0.682614 | 0 | 0.004739 | 0.276902 | 1,459 | 72 | 89 | 20.263889 | 0.807583 | 0.021247 | 0 | 0.754717 | 0 | 0 | 0.099859 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.09434 | false | 0 | 0.037736 | 0 | 0.150943 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a9b872ed6d8ed89bb8bd668900d5705ad8b4360f | 40 | py | Python | lepmlutils/general/__init__.py | Lewington-pitsos/mlutils | c92322a8a2fc0b5342d44b0d92051a93c6eede44 | [
"MIT"
] | null | null | null | lepmlutils/general/__init__.py | Lewington-pitsos/mlutils | c92322a8a2fc0b5342d44b0d92051a93c6eede44 | [
"MIT"
] | null | null | null | lepmlutils/general/__init__.py | Lewington-pitsos/mlutils | c92322a8a2fc0b5342d44b0d92051a93c6eede44 | [
"MIT"
] | null | null | null | from .audio import *
from .help import * | 20 | 20 | 0.725 | 6 | 40 | 4.833333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175 | 40 | 2 | 21 | 20 | 0.878788 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a9cb38359b72eaef2008dca6b1135dd37938c1e6 | 72 | py | Python | tests/test_ReservationEnquiry.py | fraser-langton/Quandoo | 3a5e1241b645129d805213d01221ede8f2b79aa2 | [
"MIT"
] | 1 | 2019-08-08T11:05:28.000Z | 2019-08-08T11:05:28.000Z | tests/test_ReservationEnquiry.py | fraser-langton/Quandoo | 3a5e1241b645129d805213d01221ede8f2b79aa2 | [
"MIT"
] | 1 | 2021-01-31T23:16:09.000Z | 2021-03-05T01:33:49.000Z | tests/test_ReservationEnquiry.py | fraser-langton/Quandoo | 3a5e1241b645129d805213d01221ede8f2b79aa2 | [
"MIT"
] | 1 | 2020-08-19T09:06:42.000Z | 2020-08-19T09:06:42.000Z | import unittest
class ReservationEnquiry(unittest.TestCase):
pass
| 12 | 44 | 0.791667 | 7 | 72 | 8.142857 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152778 | 72 | 5 | 45 | 14.4 | 0.934426 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
e756d15612f9bfead11e9121641f624b520bb17e | 128 | py | Python | discretisedfield/tests/test_init.py | ubermag/discretisedfield | fec016c85fcc091006e678845bca999b993b987c | [
"BSD-3-Clause"
] | 9 | 2019-08-30T14:00:43.000Z | 2022-01-16T15:01:44.000Z | discretisedfield/tests/test_init.py | StephenPotato/discretisedfield | de49577b47acadd9372854252688194c348844a3 | [
"BSD-3-Clause"
] | 50 | 2019-06-13T13:41:57.000Z | 2022-03-28T09:14:33.000Z | discretisedfield/tests/test_init.py | StephenPotato/discretisedfield | de49577b47acadd9372854252688194c348844a3 | [
"BSD-3-Clause"
] | 7 | 2019-08-28T14:16:10.000Z | 2021-12-13T21:06:06.000Z | import discretisedfield as df
def test_version():
assert isinstance(df.__version__, str)
assert '.' in df.__version__
| 18.285714 | 42 | 0.734375 | 16 | 128 | 5.3125 | 0.6875 | 0.211765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179688 | 128 | 6 | 43 | 21.333333 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0.007813 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.25 | true | 0 | 0.25 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e773d66b1cb77fed04906fed9ba3fae003499161 | 32 | py | Python | pybarker/utils/otp/__init__.py | darkbarker/pybarker | 55e86a9b4b15737cfdedb36f23b37a808a44a885 | [
"MIT"
] | 2 | 2019-06-22T18:40:26.000Z | 2022-02-01T12:15:20.000Z | pybarker/utils/otp/__init__.py | darkbarker/pybarker | 55e86a9b4b15737cfdedb36f23b37a808a44a885 | [
"MIT"
] | null | null | null | pybarker/utils/otp/__init__.py | darkbarker/pybarker | 55e86a9b4b15737cfdedb36f23b37a808a44a885 | [
"MIT"
] | null | null | null | from .otp_store import OtpStore
| 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 | 1 | 0 | 0 | 6 |
e7c10e084394bd57b11f5ae3d741af9a0e18506f | 190 | py | Python | data-science/exercicios/livro-introducao-a-programacao-com-python/capitulo-2/exercicio2-2.py | joaovictor-loureiro/data-science | 21ad240e1db94d614e54fcb3fbf6ef74a78af9d8 | [
"MIT"
] | null | null | null | data-science/exercicios/livro-introducao-a-programacao-com-python/capitulo-2/exercicio2-2.py | joaovictor-loureiro/data-science | 21ad240e1db94d614e54fcb3fbf6ef74a78af9d8 | [
"MIT"
] | null | null | null | data-science/exercicios/livro-introducao-a-programacao-com-python/capitulo-2/exercicio2-2.py | joaovictor-loureiro/data-science | 21ad240e1db94d614e54fcb3fbf6ef74a78af9d8 | [
"MIT"
] | null | null | null | # Exercício 2.2 - Digite a seguinte expressão no interpretador:
# 10 % 3 * 10 ** 2 + 1 - 10 * 4 / 2
print('10 % 3 * 10 ** 2 + 1 - 10 * 4 / 2 = {}'.format(10 % 3 * 10 ** 2 + 1 - 10 * 4 / 2)) | 47.5 | 89 | 0.494737 | 35 | 190 | 2.685714 | 0.4 | 0.095745 | 0.159574 | 0.191489 | 0.351064 | 0.351064 | 0.351064 | 0.351064 | 0 | 0 | 0 | 0.263158 | 0.3 | 190 | 4 | 89 | 47.5 | 0.443609 | 0.5 | 0 | 0 | 0 | 0 | 0.408602 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
8216d7c335fbfff622c13c667740afad98f2079d | 744 | py | Python | nfv/nfv-vim/nfv_vim/api/openstack/__init__.py | SidneyAn/nfv | 5f0262a5b6ea4be59f977b9c587c483cbe0e373d | [
"Apache-2.0"
] | 2 | 2020-02-07T19:01:36.000Z | 2022-02-23T01:41:46.000Z | nfv/nfv-vim/nfv_vim/api/openstack/__init__.py | SidneyAn/nfv | 5f0262a5b6ea4be59f977b9c587c483cbe0e373d | [
"Apache-2.0"
] | 1 | 2021-01-14T12:02:25.000Z | 2021-01-14T12:02:25.000Z | nfv/nfv-vim/nfv_vim/api/openstack/__init__.py | SidneyAn/nfv | 5f0262a5b6ea4be59f977b9c587c483cbe0e373d | [
"Apache-2.0"
] | 2 | 2021-01-13T08:39:21.000Z | 2022-02-09T00:21:55.000Z | #
# Copyright (c) 2015-2018 Wind River Systems, Inc.
#
# SPDX-License-Identifier: Apache-2.0
#
from nfv_vim.api.openstack._config import CONF # noqa: F401
from nfv_vim.api.openstack._config import config_load # noqa: F401
from nfv_vim.api.openstack._openstack import get_directory # noqa: F401
from nfv_vim.api.openst... | 49.6 | 76 | 0.803763 | 114 | 744 | 5 | 0.298246 | 0.110526 | 0.157895 | 0.205263 | 0.712281 | 0.712281 | 0.712281 | 0.578947 | 0.508772 | 0.350877 | 0 | 0.056231 | 0.115591 | 744 | 14 | 77 | 53.142857 | 0.81003 | 0.245968 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
82329d285d9a3fa4b43d5f8c4989bc191fce16d8 | 196 | py | Python | codes_/0434_Number_of_Segments_in_a_String.py | SaitoTsutomu/leetcode | 4656d66ab721a5c7bc59890db9a2331c6823b2bf | [
"MIT"
] | null | null | null | codes_/0434_Number_of_Segments_in_a_String.py | SaitoTsutomu/leetcode | 4656d66ab721a5c7bc59890db9a2331c6823b2bf | [
"MIT"
] | null | null | null | codes_/0434_Number_of_Segments_in_a_String.py | SaitoTsutomu/leetcode | 4656d66ab721a5c7bc59890db9a2331c6823b2bf | [
"MIT"
] | null | null | null | # %% [434. Number of Segments in a String](https://leetcode.com/problems/number-of-segments-in-a-string/)
class Solution:
def countSegments(self, s: str) -> int:
return len(s.split())
| 39.2 | 105 | 0.673469 | 29 | 196 | 4.551724 | 0.758621 | 0.121212 | 0.242424 | 0.272727 | 0.378788 | 0.378788 | 0 | 0 | 0 | 0 | 0 | 0.018182 | 0.158163 | 196 | 4 | 106 | 49 | 0.781818 | 0.52551 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
823d80206c74739b4ae58e9e4671e30c83b3bb7c | 49 | py | Python | terrascript/icinga2/d.py | vutsalsinghal/python-terrascript | 3b9fb5ad77453d330fb0cd03524154a342c5d5dc | [
"BSD-2-Clause"
] | null | null | null | terrascript/icinga2/d.py | vutsalsinghal/python-terrascript | 3b9fb5ad77453d330fb0cd03524154a342c5d5dc | [
"BSD-2-Clause"
] | null | null | null | terrascript/icinga2/d.py | vutsalsinghal/python-terrascript | 3b9fb5ad77453d330fb0cd03524154a342c5d5dc | [
"BSD-2-Clause"
] | null | null | null | # terrascript/icinga2/d.py
import terrascript
| 9.8 | 27 | 0.77551 | 6 | 49 | 6.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02381 | 0.142857 | 49 | 4 | 28 | 12.25 | 0.880952 | 0.489796 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4189d7bce5bd8b90212bd37ee21024cac26c5064 | 837 | py | Python | news/consumers.py | soumith2105/vasv-stdin-backend | 72472af0f4a9ea5d9d51f980d148badbb9252fe6 | [
"MIT"
] | null | null | null | news/consumers.py | soumith2105/vasv-stdin-backend | 72472af0f4a9ea5d9d51f980d148badbb9252fe6 | [
"MIT"
] | 1 | 2022-02-21T15:09:06.000Z | 2022-02-21T15:09:06.000Z | news/consumers.py | soumith2105/vasv-stdin-backend | 72472af0f4a9ea5d9d51f980d148badbb9252fe6 | [
"MIT"
] | null | null | null | from channels.generic.websocket import AsyncJsonWebsocketConsumer
from news.utilities.news_helpers import fetch_news
class NewsSetupWebSocket(AsyncJsonWebsocketConsumer):
async def connect(self):
await self.accept()
await fetch_news(1, 20)
await self.send_message("success", "Done")
... | 32.192308 | 72 | 0.703704 | 98 | 837 | 5.867347 | 0.306122 | 0.125217 | 0.090435 | 0.142609 | 0.72 | 0.72 | 0.72 | 0.72 | 0.72 | 0.72 | 0 | 0.008889 | 0.193548 | 837 | 25 | 73 | 33.48 | 0.842963 | 0 | 0 | 0.666667 | 0 | 0 | 0.052569 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.111111 | 0 | 0.222222 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
68cb36ee35dc1e5246975fca4d5778e2a8ac361d | 810 | py | Python | octicons16px/eye.py | andrewp-as-is/octicons16px.py | 1272dc9f290619d83bd881e87dbd723b0c48844c | [
"Unlicense"
] | 1 | 2021-01-28T06:47:39.000Z | 2021-01-28T06:47:39.000Z | octicons16px/eye.py | andrewp-as-is/octicons16px.py | 1272dc9f290619d83bd881e87dbd723b0c48844c | [
"Unlicense"
] | null | null | null | octicons16px/eye.py | andrewp-as-is/octicons16px.py | 1272dc9f290619d83bd881e87dbd723b0c48844c | [
"Unlicense"
] | null | null | null |
OCTICON_EYE = """
<svg class="octicon octicon-eye" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M1.679 7.932c.412-.621 1.242-1.75 2.366-2.717C5.175 4.242 6.527 3.5 8 3.5c1.473 0 2.824.742 3.955 1.715 1.124.967 1.954 2.096 2.366 2.717a.119.119 0 010 .136c-.4... | 162 | 786 | 0.67037 | 226 | 810 | 2.39823 | 0.469027 | 0.02214 | 0.027675 | 0.0369 | 0.306273 | 0.306273 | 0.306273 | 0.306273 | 0.191882 | 0.125461 | 0 | 0.583799 | 0.116049 | 810 | 4 | 787 | 202.5 | 0.173184 | 0 | 0 | 0 | 0 | 0.333333 | 0.974042 | 0.097651 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
68fef071a8adc2e330997231a7f4d7a13200f324 | 150 | py | Python | qulab/server/setup.py | weiyangliu/QuLab | f3ff8ff2120be96f57c1d293d9be15df17717526 | [
"MIT"
] | null | null | null | qulab/server/setup.py | weiyangliu/QuLab | f3ff8ff2120be96f57c1d293d9be15df17717526 | [
"MIT"
] | null | null | null | qulab/server/setup.py | weiyangliu/QuLab | f3ff8ff2120be96f57c1d293d9be15df17717526 | [
"MIT"
] | null | null | null | import asyncio
from motor.motor_asyncio import AsyncIOMotorClient
from notebook.auth.security import passwd, passwd_check
def setup():
pass
| 18.75 | 55 | 0.793333 | 19 | 150 | 6.157895 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 150 | 7 | 56 | 21.428571 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0.4 | 0.6 | 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 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
6b55ac23b3a1c892a1c90b70ca4230cd14098521 | 24 | py | Python | catakin_proj/devel/lib/python2.7/dist-packages/quad_controller_rl/srv/__init__.py | amitkumar05/ReinforcementLearning-Quadcopter | b7b8985f348068af6b85c385a5fb5d8b8fff0f8f | [
"MIT"
] | 1 | 2018-10-17T14:45:33.000Z | 2018-10-17T14:45:33.000Z | catakin_proj/devel/lib/python2.7/dist-packages/quad_controller_rl/srv/__init__.py | amitkumar05/ReinforcementLearning-Quadcopter | b7b8985f348068af6b85c385a5fb5d8b8fff0f8f | [
"MIT"
] | null | null | null | catakin_proj/devel/lib/python2.7/dist-packages/quad_controller_rl/srv/__init__.py | amitkumar05/ReinforcementLearning-Quadcopter | b7b8985f348068af6b85c385a5fb5d8b8fff0f8f | [
"MIT"
] | null | null | null | from ._SetPose import *
| 12 | 23 | 0.75 | 3 | 24 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6b7c7a8fbaffca5be111e4beb4518c9da07254be | 15,927 | py | Python | spdb/spatialdb/test/test_region.py | jhuapl-boss/spdb | 44d41e2b7a7b961e55746e1a5527d5419a74c2ce | [
"Apache-2.0"
] | 5 | 2016-05-12T19:48:45.000Z | 2018-11-17T00:15:23.000Z | spdb/spatialdb/test/test_region.py | jhuapl-boss/spdb | 44d41e2b7a7b961e55746e1a5527d5419a74c2ce | [
"Apache-2.0"
] | 5 | 2018-01-15T18:14:42.000Z | 2020-07-30T21:59:16.000Z | spdb/spatialdb/test/test_region.py | jhuapl-boss/spdb | 44d41e2b7a7b961e55746e1a5527d5419a74c2ce | [
"Apache-2.0"
] | 3 | 2017-09-21T11:40:06.000Z | 2018-05-14T20:15:40.000Z | # Copyright 2016 The Johns Hopkins University Applied Physics Laboratory
#
# 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... | 35.393333 | 89 | 0.622465 | 2,083 | 15,927 | 4.492559 | 0.078733 | 0.063475 | 0.069246 | 0.050011 | 0.890468 | 0.884911 | 0.878927 | 0.868455 | 0.851785 | 0.817055 | 0 | 0.065177 | 0.286181 | 15,927 | 449 | 90 | 35.47216 | 0.757938 | 0.189929 | 0 | 0.665595 | 0 | 0 | 0.00064 | 0 | 0 | 0 | 0 | 0 | 0.096463 | 1 | 0.096463 | false | 0 | 0.006431 | 0 | 0.106109 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6baf91a7278411acaa278ed5a1849fb8da3b0a14 | 319 | py | Python | sisyphe/__init__.py | antoinediez/Sisyphe | f6bb067cd8898450174c5d97bb0f3f0cb5db8b87 | [
"MIT"
] | 8 | 2021-06-05T20:03:35.000Z | 2021-10-01T21:20:24.000Z | sisyphe/__init__.py | antoinediez/Sisyphe | f6bb067cd8898450174c5d97bb0f3f0cb5db8b87 | [
"MIT"
] | 4 | 2021-08-30T22:48:29.000Z | 2021-09-18T21:25:12.000Z | sisyphe/__init__.py | antoinediez/Sisyphe | f6bb067cd8898450174c5d97bb0f3f0cb5db8b87 | [
"MIT"
] | 3 | 2021-06-10T20:21:17.000Z | 2021-09-28T12:47:44.000Z | import os
from .test.test_script import test_sisyphe
from .test.quick_test import test_neighbours
from .test.quick_test import test_bsr
from .test.quick_test import test_vicsek
from .test.quick_test import test_vicsek_disk
from .test.quick_test import test_dorsogna
from .test.quick_test import test_volume_exclusion
| 29 | 50 | 0.855799 | 53 | 319 | 4.849057 | 0.264151 | 0.217899 | 0.303502 | 0.396887 | 0.677043 | 0.677043 | 0.256809 | 0 | 0 | 0 | 0 | 0 | 0.100313 | 319 | 10 | 51 | 31.9 | 0.89547 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6bc1b55252ab3ffa131468765e48d9ecc6226d6d | 178 | py | Python | office365/sharepoint/fields/related_field.py | vgrem/Office365-REST-Python-Client | 9975f44b3ce02dd56e321f89fdbafa14a83e532f | [
"MIT"
] | 544 | 2016-08-04T17:10:16.000Z | 2022-03-31T07:17:20.000Z | office365/sharepoint/fields/related_field.py | stefanstapinski/Office365-REST-Python-Client | e118941b9b91cf8f4bd0d9a4884de5d3f9203836 | [
"MIT"
] | 438 | 2016-10-11T12:24:22.000Z | 2022-03-31T19:30:35.000Z | office365/sharepoint/fields/related_field.py | stefanstapinski/Office365-REST-Python-Client | e118941b9b91cf8f4bd0d9a4884de5d3f9203836 | [
"MIT"
] | 202 | 2016-08-22T19:29:40.000Z | 2022-03-30T20:26:15.000Z | from office365.sharepoint.base_entity import BaseEntity
class RelatedField(BaseEntity):
"""Represents a Lookup Field that points to a given list on a Web site."""
pass
| 25.428571 | 78 | 0.758427 | 25 | 178 | 5.36 | 0.88 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020408 | 0.174157 | 178 | 6 | 79 | 29.666667 | 0.891156 | 0.382022 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
d43357a56411065c137ab46d7ea86b05c75cd202 | 544 | py | Python | narwhallet/core/kcl/bip_utils/bip39/__init__.py | Snider/narwhallet | 0d528763c735f1e68b8264e302854d41e7cf1956 | [
"MIT"
] | 3 | 2021-12-29T11:25:13.000Z | 2022-01-16T13:57:17.000Z | narwhallet/core/kcl/bip_utils/bip39/__init__.py | Snider/narwhallet | 0d528763c735f1e68b8264e302854d41e7cf1956 | [
"MIT"
] | null | null | null | narwhallet/core/kcl/bip_utils/bip39/__init__.py | Snider/narwhallet | 0d528763c735f1e68b8264e302854d41e7cf1956 | [
"MIT"
] | 1 | 2022-01-16T13:57:20.000Z | 2022-01-16T13:57:20.000Z | from narwhallet.core.kcl.bip_utils.bip39.bip39_ex import Bip39InvalidFileError, Bip39ChecksumError
from narwhallet.core.kcl.bip_utils.bip39.ibip39_seed_generator import IBip39SeedGenerator
from narwhallet.core.kcl.bip_utils.bip39.bip39_mnemonic import (
Bip39EntropyBitLen, Bip39Languages, Bip39WordsNum,
Bip39En... | 60.444444 | 98 | 0.873162 | 63 | 544 | 7.349206 | 0.380952 | 0.151188 | 0.194384 | 0.226782 | 0.410367 | 0.410367 | 0.410367 | 0.336933 | 0 | 0 | 0 | 0.082677 | 0.066176 | 544 | 8 | 99 | 68 | 0.82874 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.625 | 0 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d4770bb31034796ab690d94c1e63c8d177b7b711 | 227 | py | Python | v1/validator_confirmation_services/tests/conftest.py | DucPhamTV/Bank | 4905ec7d63ef4daafe2119bf6b32928d4db2d4f2 | [
"MIT"
] | 94 | 2020-07-12T23:08:47.000Z | 2022-03-05T14:00:01.000Z | v1/validator_confirmation_services/tests/conftest.py | DucPhamTV/Bank | 4905ec7d63ef4daafe2119bf6b32928d4db2d4f2 | [
"MIT"
] | 84 | 2020-07-13T23:30:50.000Z | 2022-03-15T15:47:46.000Z | v1/validator_confirmation_services/tests/conftest.py | DucPhamTV/Bank | 4905ec7d63ef4daafe2119bf6b32928d4db2d4f2 | [
"MIT"
] | 63 | 2020-07-13T02:46:51.000Z | 2021-11-26T09:29:29.000Z | import pytest
from ..factories.validator_confirmation_service import ValidatorConfirmationServiceFactory
@pytest.fixture
def validator_confirmation_services():
yield ValidatorConfirmationServiceFactory.create_batch(100)
| 25.222222 | 90 | 0.872247 | 20 | 227 | 9.65 | 0.75 | 0.217617 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014354 | 0.079295 | 227 | 8 | 91 | 28.375 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2e4dc1e1586da156ce4e744505e949cfd72eabe1 | 14,230 | py | Python | tests/unittests/tools/test_package.py | bossjones/scarlett-os | dc3b96604220a5848c51a14a343e97d464ad811b | [
"Apache-2.0"
] | 5 | 2016-11-08T21:01:00.000Z | 2018-05-07T11:02:43.000Z | tests/unittests/tools/test_package.py | bossjones/scarlett-os | dc3b96604220a5848c51a14a343e97d464ad811b | [
"Apache-2.0"
] | 854 | 2016-09-21T13:06:32.000Z | 2022-02-10T13:21:47.000Z | tests/unittests/tools/test_package.py | bossjones/scarlett-os | dc3b96604220a5848c51a14a343e97d464ad811b | [
"Apache-2.0"
] | 2 | 2016-12-02T15:12:41.000Z | 2017-02-25T08:21:56.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
test_package
----------------------------------
Tests for `scarlett_os` module.
"""
# import ipdb
# import mock
import builtins
import imp
import os
import signal
import sys
import unittest
import unittest.mock as mock
# import threading
import pytest
import scarl... | 38.668478 | 189 | 0.657063 | 1,815 | 14,230 | 4.871074 | 0.132231 | 0.061079 | 0.062776 | 0.100441 | 0.812238 | 0.794141 | 0.787467 | 0.770275 | 0.750368 | 0.744599 | 0 | 0.021659 | 0.234294 | 14,230 | 367 | 190 | 38.773842 | 0.789739 | 0.16416 | 0 | 0.650558 | 0 | 0.011152 | 0.285618 | 0.214675 | 0 | 0 | 0 | 0.002725 | 0.052045 | 1 | 0.063197 | false | 0 | 0.052045 | 0 | 0.118959 | 0.01487 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2e67722bfe87879e1227722dc760a1da112a6cde | 49 | py | Python | e3d/sound_management/__init__.py | jr-garcia/Engendro3D | 93a6a6c26be2b9a8c1520e9d83516c39532ab1ed | [
"MIT"
] | 8 | 2017-04-19T03:59:43.000Z | 2020-04-29T00:29:12.000Z | e3d/sound_management/__init__.py | jr-garcia/Engendro3D | 93a6a6c26be2b9a8c1520e9d83516c39532ab1ed | [
"MIT"
] | null | null | null | e3d/sound_management/__init__.py | jr-garcia/Engendro3D | 93a6a6c26be2b9a8c1520e9d83516c39532ab1ed | [
"MIT"
] | 3 | 2018-04-26T16:57:46.000Z | 2021-03-01T05:48:06.000Z | from hissing import StatesEnum as SoundStatesEnum | 49 | 49 | 0.897959 | 6 | 49 | 7.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102041 | 49 | 1 | 49 | 49 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2e8c93292ae578f031367cce4761635fa71c6925 | 34 | py | Python | sumopy/__init__.py | xavivars/sumopy | 31663a0a7ec1d60b7df920dc858db70146d077cc | [
"MIT"
] | 2 | 2019-10-22T23:33:34.000Z | 2021-05-05T14:04:14.000Z | sumopy/__init__.py | xavivars/sumopy | 31663a0a7ec1d60b7df920dc858db70146d077cc | [
"MIT"
] | 1 | 2020-05-29T10:56:45.000Z | 2020-05-29T13:00:00.000Z | sumopy/__init__.py | xavivars/sumopy | 31663a0a7ec1d60b7df920dc858db70146d077cc | [
"MIT"
] | 1 | 2020-05-29T10:54:20.000Z | 2020-05-29T10:54:20.000Z | from sumopy.handler import Handler | 34 | 34 | 0.882353 | 5 | 34 | 6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 34 | 1 | 34 | 34 | 0.967742 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2e8db8d98b064efa1e16b7fa8a427d0f1c6d6240 | 38 | py | Python | pruner/__init__.py | mattjegan/pruner | 8fb6faf0a4c111342f27120b84b50888186479cb | [
"Apache-2.0"
] | 3 | 2017-11-04T19:10:39.000Z | 2020-01-03T01:18:38.000Z | pruner/__init__.py | mattjegan/pruner | 8fb6faf0a4c111342f27120b84b50888186479cb | [
"Apache-2.0"
] | 5 | 2017-02-19T01:09:42.000Z | 2017-02-19T12:16:20.000Z | pruner/__init__.py | mattjegan/pruner | 8fb6faf0a4c111342f27120b84b50888186479cb | [
"Apache-2.0"
] | 3 | 2018-02-21T19:24:54.000Z | 2019-08-29T03:58:04.000Z | from pruner.pruner import Pruner, main | 38 | 38 | 0.842105 | 6 | 38 | 5.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cf0b147c5408e0d659daca67d578e8fb8408f7b3 | 30 | py | Python | py_weernl/__init__.py | tvdsluijs/py_weernl | 4925d71d170b34e1307ea01cf4754de6e9f82eee | [
"MIT"
] | null | null | null | py_weernl/__init__.py | tvdsluijs/py_weernl | 4925d71d170b34e1307ea01cf4754de6e9f82eee | [
"MIT"
] | null | null | null | py_weernl/__init__.py | tvdsluijs/py_weernl | 4925d71d170b34e1307ea01cf4754de6e9f82eee | [
"MIT"
] | null | null | null | from .weerlive import weerLive | 30 | 30 | 0.866667 | 4 | 30 | 6.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 1 | 30 | 30 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cf6ec31595ef8a2fa94cde136f4af150bcf9dfe0 | 183 | py | Python | fastapi_versioned/helpers.py | ccharlesgb/fastapi-versioned | 5488cda86665de5cb2d0cfce7ff5660e90c6358f | [
"MIT"
] | null | null | null | fastapi_versioned/helpers.py | ccharlesgb/fastapi-versioned | 5488cda86665de5cb2d0cfce7ff5660e90c6358f | [
"MIT"
] | null | null | null | fastapi_versioned/helpers.py | ccharlesgb/fastapi-versioned | 5488cda86665de5cb2d0cfce7ff5660e90c6358f | [
"MIT"
] | null | null | null | from starlette.requests import Request
from fastapi_versioned import FastAPIVersioned
def get_parent_app(request: Request) -> FastAPIVersioned:
return request.app.state.parent
| 22.875 | 57 | 0.825137 | 22 | 183 | 6.727273 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120219 | 183 | 7 | 58 | 26.142857 | 0.919255 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
cf826fc6634689698f29cef6e6f4a91c7e515cb9 | 22,769 | py | Python | Academia/views.py | 20carlos/AcademiaBaile | efe9834bfc485e77c8b07c875868629e1cb7744f | [
"Apache-2.0"
] | null | null | null | Academia/views.py | 20carlos/AcademiaBaile | efe9834bfc485e77c8b07c875868629e1cb7744f | [
"Apache-2.0"
] | null | null | null | Academia/views.py | 20carlos/AcademiaBaile | efe9834bfc485e77c8b07c875868629e1cb7744f | [
"Apache-2.0"
] | null | null | null | from django.shortcuts import render
from django.contrib.auth.models import User
from Academia.models import *
from django.contrib.auth import authenticate, login, logout
from django.http import HttpResponseRedirect
from django.core.exceptions import ObjectDoesNotExist
# Create your views here.
def index_view(request,... | 40.156966 | 140 | 0.624402 | 2,473 | 22,769 | 5.666397 | 0.084917 | 0.04453 | 0.050168 | 0.052023 | 0.837223 | 0.81039 | 0.796546 | 0.788339 | 0.780918 | 0.767787 | 0 | 0.002058 | 0.274452 | 22,769 | 567 | 141 | 40.156966 | 0.845944 | 0.348764 | 0 | 0.659004 | 0 | 0 | 0.104789 | 0.02031 | 0 | 0 | 0 | 0.001764 | 0 | 1 | 0.057471 | false | 0.015326 | 0.022989 | 0 | 0.226054 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
cf8875e33574551c82018d0e9e558cd5b804f0ee | 5,934 | py | Python | text_summary/tests/test_summaries.py | aevtikheev/text_summary | 422cad9155da685cfba0cd8e1aecd1068c0bfeb6 | [
"MIT"
] | null | null | null | text_summary/tests/test_summaries.py | aevtikheev/text_summary | 422cad9155da685cfba0cd8e1aecd1068c0bfeb6 | [
"MIT"
] | null | null | null | text_summary/tests/test_summaries.py | aevtikheev/text_summary | 422cad9155da685cfba0cd8e1aecd1068c0bfeb6 | [
"MIT"
] | null | null | null | """Tests for /summaries/ resource."""
import json
import pytest
SUMMARIES_ENDPOINT = 'summaries'
ID_FIELD = 'id'
URL_FIELD = 'url'
SUMMARY_FIELD = 'summary'
CREATED_AT_FIELD = 'created_at'
ERROR_DETAIL_FIELD = 'detail'
def test_create_summary(test_app_with_db, mocked_summarizer):
summary_url = 'http://example.... | 37.320755 | 100 | 0.723795 | 799 | 5,934 | 5.066333 | 0.100125 | 0.08004 | 0.054348 | 0.064229 | 0.807065 | 0.785079 | 0.781374 | 0.739872 | 0.739872 | 0.722579 | 0 | 0.015032 | 0.147961 | 5,934 | 158 | 101 | 37.556962 | 0.785601 | 0.005224 | 0 | 0.5 | 0 | 0 | 0.310327 | 0.127692 | 0 | 0 | 0 | 0 | 0.215517 | 1 | 0.086207 | false | 0 | 0.017241 | 0 | 0.103448 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d8a36dc8a94caa352f73508fe16a89b3021c8b21 | 35 | py | Python | python/my/tensorflow/__init__.py | HuiyingLi/DIIN | cbc538b348858fb6de09a27d2fb8b220efd1c3e2 | [
"Apache-2.0"
] | 262 | 2017-10-10T18:35:29.000Z | 2022-02-25T12:02:18.000Z | python/my/tensorflow/__init__.py | HuiyingLi/DIIN | cbc538b348858fb6de09a27d2fb8b220efd1c3e2 | [
"Apache-2.0"
] | 20 | 2017-11-23T01:12:03.000Z | 2022-02-09T23:30:47.000Z | python/my/tensorflow/__init__.py | HuiyingLi/DIIN | cbc538b348858fb6de09a27d2fb8b220efd1c3e2 | [
"Apache-2.0"
] | 69 | 2017-10-30T19:05:24.000Z | 2021-09-29T13:48:23.000Z | from my.tensorflow.general import * | 35 | 35 | 0.828571 | 5 | 35 | 5.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 35 | 1 | 35 | 35 | 0.90625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d8a393af96d27cc6c4f1479a51a1f801c4e2ec84 | 14,845 | py | Python | Sajeon.py | joshuachoe/KDicDisc | d1bee5ec93c5d3284117c9c69d363083b5ae7dc2 | [
"MIT"
] | null | null | null | Sajeon.py | joshuachoe/KDicDisc | d1bee5ec93c5d3284117c9c69d363083b5ae7dc2 | [
"MIT"
] | null | null | null | Sajeon.py | joshuachoe/KDicDisc | d1bee5ec93c5d3284117c9c69d363083b5ae7dc2 | [
"MIT"
] | null | null | null | #############################################################################
# Sajeon Bot created by Joshua Choe (Caesura#5738) #
# Bot 'frame' was used from the Discord Bot Tutorial from HABchy #1665 #
# #
# I made this as a fun project to do over the winter break. #
# It seemed like ther... | 42.053824 | 320 | 0.684473 | 2,323 | 14,845 | 4.20706 | 0.151528 | 0.025069 | 0.040929 | 0.044203 | 0.717487 | 0.717487 | 0.709403 | 0.701525 | 0.701525 | 0.701525 | 0 | 0.016879 | 0.173863 | 14,845 | 353 | 321 | 42.053824 | 0.780007 | 0.331964 | 0 | 0.874372 | 0 | 0.060302 | 0.209787 | 0.008672 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.050251 | 0 | 0.050251 | 0.065327 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d8ab387e8af3ab9f85a120a9a8310c1edb183399 | 29 | py | Python | src/ctc/protocols/compound_utils/__init__.py | fei-protocol/checkthechain | ec838f3d0d44af228f45394d9ba8d8eb7f677520 | [
"MIT"
] | 94 | 2022-02-15T19:34:49.000Z | 2022-03-26T19:26:22.000Z | src/ctc/protocols/compound_utils/__init__.py | fei-protocol/checkthechain | ec838f3d0d44af228f45394d9ba8d8eb7f677520 | [
"MIT"
] | 7 | 2022-03-03T02:58:47.000Z | 2022-03-11T18:41:05.000Z | src/ctc/protocols/compound_utils/__init__.py | fei-protocol/checkthechain | ec838f3d0d44af228f45394d9ba8d8eb7f677520 | [
"MIT"
] | 7 | 2022-02-15T17:53:07.000Z | 2022-03-17T19:14:17.000Z | from .compound_crud import *
| 14.5 | 28 | 0.793103 | 4 | 29 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.88 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d8f38c2af095d91b4b02dd3d1b0f7543e9b346e0 | 42 | py | Python | old/servo_motor/__init__.py | SaltyHash/BWO | 1b57569e6024fa7b7b23dce8ce7e3a408b89b792 | [
"MIT"
] | 2 | 2021-04-03T20:29:59.000Z | 2021-04-28T00:32:18.000Z | old/servo_motor/__init__.py | SaltyHash/BWO | 1b57569e6024fa7b7b23dce8ce7e3a408b89b792 | [
"MIT"
] | null | null | null | old/servo_motor/__init__.py | SaltyHash/BWO | 1b57569e6024fa7b7b23dce8ce7e3a408b89b792 | [
"MIT"
] | 1 | 2021-07-16T12:07:25.000Z | 2021-07-16T12:07:25.000Z | from . import abstract
from . import model | 21 | 22 | 0.785714 | 6 | 42 | 5.5 | 0.666667 | 0.606061 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 42 | 2 | 23 | 21 | 0.942857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
2b0efbfa7a55113382f76bc2f11cbe5b45cb2cef | 110 | py | Python | novelsave/client/cli/__init__.py | damare01/novelsave | 7896e8393c944e169e3cb52a33ab81ae396dff9f | [
"Apache-2.0"
] | 15 | 2020-11-05T10:05:01.000Z | 2021-06-28T14:43:56.000Z | novelsave/client/cli/__init__.py | damare01/novelsave | 7896e8393c944e169e3cb52a33ab81ae396dff9f | [
"Apache-2.0"
] | 21 | 2020-11-01T04:36:56.000Z | 2021-08-16T09:36:48.000Z | novelsave/cli/__init__.py | mHaisham/novelsave | 011b6c5d705591783aee64662bc88b207bdc7205 | [
"Apache-2.0"
] | 6 | 2021-10-03T11:31:08.000Z | 2022-03-29T07:28:49.000Z | from . import controllers
from . import groups
from .events import update_check_event
from .main import main
| 18.333333 | 38 | 0.809091 | 16 | 110 | 5.4375 | 0.5625 | 0.229885 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154545 | 110 | 5 | 39 | 22 | 0.935484 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2b684dacce30f42cef9504dc729555e2b8e99fc7 | 185 | py | Python | project/books/__init__.py | Miguel619/wiredin | 921ee46d3868ea6150696b57767f5d282c16209d | [
"BSD-2-Clause"
] | 1 | 2022-02-12T21:53:28.000Z | 2022-02-12T21:53:28.000Z | project/books/__init__.py | Miguel619/wiredin | 921ee46d3868ea6150696b57767f5d282c16209d | [
"BSD-2-Clause"
] | null | null | null | project/books/__init__.py | Miguel619/wiredin | 921ee46d3868ea6150696b57767f5d282c16209d | [
"BSD-2-Clause"
] | null | null | null | """
The `books` blueprint handles displaying recipes.
"""
from flask import Blueprint
books_blueprint = Blueprint('books', __name__, template_folder='templates')
from . import routes
| 20.555556 | 75 | 0.767568 | 21 | 185 | 6.47619 | 0.666667 | 0.205882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.124324 | 185 | 8 | 76 | 23.125 | 0.839506 | 0.264865 | 0 | 0 | 0 | 0 | 0.109375 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
990ffde10dbb2bd81a150ae53991c724d8b4c92c | 34 | py | Python | zunzun/LongRunningProcess/animation_tools/__init__.py | Sturtuk/Zun | 62e626b3c865d3eba83b7ee6bd896fea688f3dda | [
"BSD-2-Clause"
] | null | null | null | zunzun/LongRunningProcess/animation_tools/__init__.py | Sturtuk/Zun | 62e626b3c865d3eba83b7ee6bd896fea688f3dda | [
"BSD-2-Clause"
] | null | null | null | zunzun/LongRunningProcess/animation_tools/__init__.py | Sturtuk/Zun | 62e626b3c865d3eba83b7ee6bd896fea688f3dda | [
"BSD-2-Clause"
] | null | null | null | import Figtodat
import images2gif
| 11.333333 | 17 | 0.882353 | 4 | 34 | 7.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033333 | 0.117647 | 34 | 2 | 18 | 17 | 0.966667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
993c72ead04ce342cd34747b1ab803b8080ea905 | 90 | py | Python | SLpackage/private/thirdparty/python/python_2.7.16/site-packages/pylab.py | fanglab/6mASCOPE | 3f1fdcb7693ff152f17623ce549526ec272698b1 | [
"BSD-3-Clause"
] | 5 | 2022-02-20T07:10:02.000Z | 2022-03-18T17:47:53.000Z | SLpackage/private/thirdparty/python/python_2.7.16/site-packages/pylab.py | fanglab/6mASCOPE | 3f1fdcb7693ff152f17623ce549526ec272698b1 | [
"BSD-3-Clause"
] | null | null | null | SLpackage/private/thirdparty/python/python_2.7.16/site-packages/pylab.py | fanglab/6mASCOPE | 3f1fdcb7693ff152f17623ce549526ec272698b1 | [
"BSD-3-Clause"
] | null | null | null | from matplotlib.pylab import *
import matplotlib.pylab
__doc__ = matplotlib.pylab.__doc__
| 22.5 | 34 | 0.833333 | 11 | 90 | 6.090909 | 0.454545 | 0.671642 | 0.537313 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 90 | 3 | 35 | 30 | 0.82716 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5154d6d9318d89d960b25eb19250643be4626012 | 2,104 | py | Python | depth_and_motion/tools/channels_tools.py | Dtananaev/unsupervised_depth_and_motion | c3e1916c95991794309763836e79a20548d95bf8 | [
"MIT"
] | 2 | 2022-03-22T11:29:00.000Z | 2022-03-22T11:29:04.000Z | depth_and_motion/tools/channels_tools.py | Dtananaev/unsupervised_depth_and_motion | c3e1916c95991794309763836e79a20548d95bf8 | [
"MIT"
] | null | null | null | depth_and_motion/tools/channels_tools.py | Dtananaev/unsupervised_depth_and_motion | c3e1916c95991794309763836e79a20548d95bf8 | [
"MIT"
] | null | null | null | #
# Author: Denis Tananaev
# Date: 26.02.2021
#
import tensorflow as tf
import numpy as np
def to_channels_first_tf(tensor):
"""
The function gets tensor of [N,H,W,C] (or H,W,C) and returns tensor of [N,C,H,W] (or C,H,W).
Tensorflow function.
"""
shape_len =... | 31.878788 | 100 | 0.587452 | 355 | 2,104 | 3.402817 | 0.149296 | 0.02649 | 0.059603 | 0.082781 | 0.904801 | 0.904801 | 0.879967 | 0.879967 | 0.777318 | 0.770695 | 0 | 0.034369 | 0.280894 | 2,104 | 65 | 101 | 32.369231 | 0.764045 | 0.306559 | 0 | 0.615385 | 0 | 0 | 0.207386 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.102564 | false | 0 | 0.051282 | 0 | 0.25641 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
515a4a671ceed3ed76bdcf1424eca442af8235e4 | 34 | py | Python | Python/app/db_config.py | derekhanger/ColonyCounter-api | 1412c642891d59ca1c209f28f471daac6d1beb2c | [
"MIT"
] | null | null | null | Python/app/db_config.py | derekhanger/ColonyCounter-api | 1412c642891d59ca1c209f28f471daac6d1beb2c | [
"MIT"
] | null | null | null | Python/app/db_config.py | derekhanger/ColonyCounter-api | 1412c642891d59ca1c209f28f471daac6d1beb2c | [
"MIT"
] | null | null | null | from pymongo import MongoClient
| 8.5 | 31 | 0.823529 | 4 | 34 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 34 | 3 | 32 | 11.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5a958810e13d122bda2f004d1fc8eae939177b69 | 124 | py | Python | dist/Basilisk/fswAlgorithms/rwNullSpace/__init__.py | ian-cooke/basilisk_mag | a8b1e37c31c1287549d6fd4d71fcaa35b6fc3f14 | [
"0BSD"
] | null | null | null | dist/Basilisk/fswAlgorithms/rwNullSpace/__init__.py | ian-cooke/basilisk_mag | a8b1e37c31c1287549d6fd4d71fcaa35b6fc3f14 | [
"0BSD"
] | 1 | 2019-03-13T20:52:22.000Z | 2019-03-13T20:52:22.000Z | dist/Basilisk/fswAlgorithms/rwNullSpace/__init__.py | ian-cooke/basilisk_mag | a8b1e37c31c1287549d6fd4d71fcaa35b6fc3f14 | [
"0BSD"
] | null | null | null | # This __init__.py file for the rwNullSpace package is automatically generated by the build system
from rwNullSpace import * | 62 | 98 | 0.830645 | 18 | 124 | 5.5 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145161 | 124 | 2 | 99 | 62 | 0.933962 | 0.774194 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5abe3231d618633532c6516fdaaa8f70e87dff35 | 1,101 | py | Python | asyncowfs/mock/structs.py | smurfix/trio-owfs | 5e930b7d1b21a49b1eb16bf23340948d892c4c3b | [
"Apache-2.0",
"MIT"
] | 3 | 2018-11-04T20:28:31.000Z | 2021-06-29T04:09:43.000Z | asyncowfs/mock/structs.py | smurfix/trio-owfs | 5e930b7d1b21a49b1eb16bf23340948d892c4c3b | [
"Apache-2.0",
"MIT"
] | 1 | 2022-01-22T19:52:43.000Z | 2022-01-23T11:04:01.000Z | asyncowfs/mock/structs.py | smurfix/trio-owfs | 5e930b7d1b21a49b1eb16bf23340948d892c4c3b | [
"Apache-2.0",
"MIT"
] | 1 | 2018-09-04T13:29:39.000Z | 2018-09-04T13:29:39.000Z | """
Structure for device data. Generated by the "real" server,
but when we're testing we don't have that.
"""
# Feel free to add data from other device types as required.
structs = {
"10": {
"address": "a,000000,000001,ro,000016,f,",
"alias": "l,000000,000001,rw,000256,f,",
"crc8": "a,0000... | 33.363636 | 60 | 0.537693 | 151 | 1,101 | 3.92053 | 0.450331 | 0.283784 | 0.212838 | 0.152027 | 0.439189 | 0.368243 | 0 | 0 | 0 | 0 | 0 | 0.351609 | 0.237965 | 1,101 | 32 | 61 | 34.40625 | 0.353993 | 0.146231 | 0 | 0 | 1 | 0 | 0.598712 | 0.478541 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5aeff099108a0bb38b8f2b0ce12704b1bc06f777 | 36 | py | Python | src/python/module/affogato/interactive/imjoy/__init__.py | constantinpape/affogato | 22ea369313b01e10f5cfefa21b7db0df719f75b0 | [
"MIT"
] | 6 | 2021-04-11T00:47:37.000Z | 2021-10-03T23:41:06.000Z | src/python/module/affogato/interactive/imjoy/__init__.py | constantinpape/affogato | 22ea369313b01e10f5cfefa21b7db0df719f75b0 | [
"MIT"
] | 8 | 2019-05-28T16:12:07.000Z | 2022-01-10T18:21:03.000Z | src/python/module/affogato/interactive/imjoy/__init__.py | constantinpape/affogato | 22ea369313b01e10f5cfefa21b7db0df719f75b0 | [
"MIT"
] | 1 | 2021-06-01T12:16:23.000Z | 2021-06-01T12:16:23.000Z | from .mws_plugin import ImjoyPlugin
| 18 | 35 | 0.861111 | 5 | 36 | 6 | 1 | 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 | 1 | 0 | 0 | 6 |
8516c00ffc83939c470660da238a7ac7c13c1ffc | 422 | py | Python | src/brujeria/platform.py | bruxisma/brujeria | 66822e9190ce2ac6103f6144e145c04f4780903a | [
"MIT"
] | 19 | 2018-02-24T23:09:21.000Z | 2021-06-12T09:46:07.000Z | src/brujeria/platform.py | bruxisma/brujeria | 66822e9190ce2ac6103f6144e145c04f4780903a | [
"MIT"
] | 21 | 2019-03-22T23:59:30.000Z | 2020-12-25T13:13:53.000Z | src/brujeria/platform.py | slurps-mad-rips/brujeria | 66822e9190ce2ac6103f6144e145c04f4780903a | [
"MIT"
] | 1 | 2022-03-18T15:39:06.000Z | 2022-03-18T15:39:06.000Z | from enum import Enum
import sys
class Platform(Enum):
WINDOWS = "win32"
LINUX = "linux"
MACOS = "darwin"
def current() -> Platform:
return Platform(sys.platform)
def windows() -> bool:
return current() == Platform.WINDOWS
def linux() -> bool:
return current() == Platform.LINUX
def mac... | 14.066667 | 40 | 0.630332 | 49 | 422 | 5.428571 | 0.346939 | 0.225564 | 0.191729 | 0.281955 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006192 | 0.234597 | 422 | 29 | 41 | 14.551724 | 0.817337 | 0 | 0 | 0 | 0 | 0 | 0.038005 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3125 | false | 0 | 0.125 | 0.3125 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
8520bb738396768afcbdf04821dd55bd35c12a27 | 1,033 | py | Python | tests/test_none_group.py | artyl/regex-rename | 64e06ff62d3c210c8168d796fff94ec44ac8b094 | [
"MIT"
] | 1 | 2022-03-04T09:49:57.000Z | 2022-03-04T09:49:57.000Z | tests/test_none_group.py | artyl/regex-rename | 64e06ff62d3c210c8168d796fff94ec44ac8b094 | [
"MIT"
] | null | null | null | tests/test_none_group.py | artyl/regex-rename | 64e06ff62d3c210c8168d796fff94ec44ac8b094 | [
"MIT"
] | null | null | null | from regex_rename.bulk import match_filename
def test_file_with_none_group():
match = match_filename('1.XXX.txt', r'(\d+)(\.XXX)?.txt', '\\1\\2.txt',
full=False, padding=0, testing=False)
assert match is not None
assert match.name_to == '1.XXX.txt'
def test_file_with_none_grou... | 34.433333 | 75 | 0.596321 | 153 | 1,033 | 3.843137 | 0.202614 | 0.081633 | 0.07483 | 0.129252 | 0.930272 | 0.914966 | 0.848639 | 0.707483 | 0.707483 | 0.707483 | 0 | 0.027883 | 0.236205 | 1,033 | 29 | 76 | 35.62069 | 0.717364 | 0 | 0 | 0.571429 | 0 | 0 | 0.160697 | 0 | 0 | 0 | 0 | 0 | 0.380952 | 1 | 0.190476 | false | 0 | 0.047619 | 0 | 0.238095 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5196cddcd7905907ae4a084f8579d3bdfbf34def | 138 | py | Python | reserver_app/views.py | TensorHive/TensorHive-ResourcesReserver | bd96b82cf9af5237e9d8505d8edd5bfca008aa01 | [
"MIT"
] | null | null | null | reserver_app/views.py | TensorHive/TensorHive-ResourcesReserver | bd96b82cf9af5237e9d8505d8edd5bfca008aa01 | [
"MIT"
] | 1 | 2021-03-10T16:04:31.000Z | 2021-03-10T16:04:31.000Z | reserver_app/views.py | TensorHive/TensorHive-ResourcesReserver | bd96b82cf9af5237e9d8505d8edd5bfca008aa01 | [
"MIT"
] | 1 | 2020-01-29T22:47:36.000Z | 2020-01-29T22:47:36.000Z | from reserver_app.run import app
from flask import jsonify
@app.route('/')
def index():
return jsonify({'msg': 'Unprotected access'}) | 23 | 49 | 0.717391 | 19 | 138 | 5.157895 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137681 | 138 | 6 | 49 | 23 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0.158273 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
51cece6aa368cd17717ee3df7e6bdd1e4ed0db66 | 262 | py | Python | src/examples/d_repetition/main.py | MSGP117/acc-cosc-1336-spring-2022-MSGP117 | 46fdfa5da8f8eb887d2c79fe205b8a0064d6903d | [
"MIT"
] | null | null | null | src/examples/d_repetition/main.py | MSGP117/acc-cosc-1336-spring-2022-MSGP117 | 46fdfa5da8f8eb887d2c79fe205b8a0064d6903d | [
"MIT"
] | null | null | null | src/examples/d_repetition/main.py | MSGP117/acc-cosc-1336-spring-2022-MSGP117 | 46fdfa5da8f8eb887d2c79fe205b8a0064d6903d | [
"MIT"
] | 1 | 2022-02-12T03:50:32.000Z | 2022-02-12T03:50:32.000Z | import repetition
#repetition.display_numbers(3)
#repetition.for_intro_loop_strings()
#repetition.for_num_in_range(5)
#repetition.for_num_in_range_w_start_value(1, 5)
#repetition.for_num_range_w_step_value(0, 10, 2)
repetition.for_display_sum_of_squares(1, 11) | 29.111111 | 48 | 0.847328 | 45 | 262 | 4.444444 | 0.555556 | 0.325 | 0.24 | 0.18 | 0.23 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044177 | 0.049618 | 262 | 9 | 49 | 29.111111 | 0.759036 | 0.717557 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
51e5daffa45ee934059747d8166eb8b916da6d63 | 9,441 | py | Python | uni_ticket/views/datatables.py | mspasiano/uniTicket | 1e8e4c2274293e751deea5b8b1fb4116136c5641 | [
"Apache-2.0"
] | null | null | null | uni_ticket/views/datatables.py | mspasiano/uniTicket | 1e8e4c2274293e751deea5b8b1fb4116136c5641 | [
"Apache-2.0"
] | null | null | null | uni_ticket/views/datatables.py | mspasiano/uniTicket | 1e8e4c2274293e751deea5b8b1fb4116136c5641 | [
"Apache-2.0"
] | null | null | null | from django.contrib.auth.decorators import login_required
from django.db.models import Q
from django.http import JsonResponse
from django.utils import timezone
from django.views.decorators.csrf import csrf_exempt
from datatables_ajax.datatables import DjangoDatatablesServerProc
from organizational_area.models import (... | 35.761364 | 86 | 0.686262 | 1,039 | 9,441 | 5.975938 | 0.094321 | 0.067 | 0.036077 | 0.044452 | 0.851667 | 0.840554 | 0.827347 | 0.809631 | 0.793203 | 0.755838 | 0 | 0 | 0.237263 | 9,441 | 263 | 87 | 35.897338 | 0.862241 | 0.331109 | 0 | 0.674603 | 0 | 0 | 0.013552 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.103175 | false | 0 | 0.079365 | 0 | 0.285714 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
cfa9a816f1d402cf0114c339f378659716cb9aeb | 85 | py | Python | metaclasses/user.py | gitgik/expert_python | a5caf8e759c6ec7acaace8fc5071acb4593318c5 | [
"MIT"
] | 2 | 2017-10-20T05:48:15.000Z | 2019-07-09T18:05:37.000Z | metaclasses/user.py | gitgik/expert_python | a5caf8e759c6ec7acaace8fc5071acb4593318c5 | [
"MIT"
] | null | null | null | metaclasses/user.py | gitgik/expert_python | a5caf8e759c6ec7acaace8fc5071acb4593318c5 | [
"MIT"
] | null | null | null | from metaclass import Base
class Derived(Base):
def bar():
return 'bar'
| 14.166667 | 26 | 0.635294 | 11 | 85 | 4.909091 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.270588 | 85 | 5 | 27 | 17 | 0.870968 | 0 | 0 | 0 | 0 | 0 | 0.035294 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
32129941b20d3f27737893cc13cdb59920a99c69 | 202 | py | Python | cadquery/occ_impl/exporters/utils.py | tvtrong/cadquery | da07216688d78a596fb687c0925b14ad7d5effc4 | [
"Apache-2.0"
] | 1,423 | 2018-10-28T18:01:04.000Z | 2022-03-30T20:22:28.000Z | cadquery/occ_impl/exporters/utils.py | tvtrong/cadquery | da07216688d78a596fb687c0925b14ad7d5effc4 | [
"Apache-2.0"
] | 1,017 | 2018-11-18T20:50:34.000Z | 2022-03-31T22:56:39.000Z | cadquery/occ_impl/exporters/utils.py | tvtrong/cadquery | da07216688d78a596fb687c0925b14ad7d5effc4 | [
"Apache-2.0"
] | 175 | 2018-11-18T06:07:54.000Z | 2022-03-31T16:21:18.000Z | from ...cq import Workplane
from ..shapes import Compound, Shape
def toCompound(shape: Workplane) -> Compound:
return Compound.makeCompound(val for val in shape.vals() if isinstance(val, Shape))
| 25.25 | 87 | 0.747525 | 27 | 202 | 5.592593 | 0.62963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148515 | 202 | 7 | 88 | 28.857143 | 0.877907 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
5c7604c9fca2b99d7fddd5b5810770b4fc933405 | 204 | py | Python | lib/MetabolicModelGapfilling/core/__init__.py | ModelSEED/MetabolicModelGapfilling | d0a844a5dc8c08e532d0cc762f13810a9386e3c0 | [
"MIT"
] | null | null | null | lib/MetabolicModelGapfilling/core/__init__.py | ModelSEED/MetabolicModelGapfilling | d0a844a5dc8c08e532d0cc762f13810a9386e3c0 | [
"MIT"
] | null | null | null | lib/MetabolicModelGapfilling/core/__init__.py | ModelSEED/MetabolicModelGapfilling | d0a844a5dc8c08e532d0cc762f13810a9386e3c0 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import absolute_import
from MetabolicModelGapfilling.core.basemodule import BaseModule
from MetabolicModelGapfilling.core.gapfillingmodule import GapfillingModule | 34 | 75 | 0.848039 | 20 | 204 | 8.4 | 0.55 | 0.333333 | 0.380952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005376 | 0.088235 | 204 | 6 | 75 | 34 | 0.897849 | 0.102941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
5ca56f138dbdc03d044fa1a86aa1e476f65d2f09 | 134 | py | Python | boa3_test/test_sc/interop_test/runtime/GetNetworkTooManyArguments.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 25 | 2020-07-22T19:37:43.000Z | 2022-03-08T03:23:55.000Z | boa3_test/test_sc/interop_test/runtime/GetNetworkTooManyArguments.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 419 | 2020-04-23T17:48:14.000Z | 2022-03-31T13:17:45.000Z | boa3_test/test_sc/interop_test/runtime/GetNetworkTooManyArguments.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 15 | 2020-05-21T21:54:24.000Z | 2021-11-18T06:17:24.000Z | from typing import Any
from boa3.builtin.interop.runtime import get_network
def main(arg: Any) -> int:
return get_network(arg)
| 16.75 | 52 | 0.753731 | 21 | 134 | 4.714286 | 0.714286 | 0.20202 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008929 | 0.164179 | 134 | 7 | 53 | 19.142857 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 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 | 1 | 1 | 0 | 0 | 0 | 6 |
5ce404130805459a329ecce67eff5153b523d434 | 154 | py | Python | src/tokenizers/mitie_tokenizer.py | samhavens/rasa_nlu | 0687d1498d26ef67d7f5ddaa5c2cfce0b2331cdd | [
"Apache-2.0"
] | 1 | 2021-07-13T19:38:44.000Z | 2021-07-13T19:38:44.000Z | src/tokenizers/mitie_tokenizer.py | samhavens/rasa_nlu | 0687d1498d26ef67d7f5ddaa5c2cfce0b2331cdd | [
"Apache-2.0"
] | null | null | null | src/tokenizers/mitie_tokenizer.py | samhavens/rasa_nlu | 0687d1498d26ef67d7f5ddaa5c2cfce0b2331cdd | [
"Apache-2.0"
] | 1 | 2019-09-09T07:13:50.000Z | 2019-09-09T07:13:50.000Z | from mitie import tokenize
class MITIETokenizer(object):
def __init__(self):
pass
def tokenize(self,text):
return tokenize(text)
| 19.25 | 29 | 0.675325 | 18 | 154 | 5.555556 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.246753 | 154 | 7 | 30 | 22 | 0.862069 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.166667 | 0.166667 | 0.166667 | 0.833333 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
7a37fb64892d56a74d049da33bc2a8b3250b8c2d | 30 | py | Python | stalky/cogs/__init__.py | mlovatonv/stalky | 74cb61dba4baeaee92c44e3d1e77a8da56057d3c | [
"MIT"
] | null | null | null | stalky/cogs/__init__.py | mlovatonv/stalky | 74cb61dba4baeaee92c44e3d1e77a8da56057d3c | [
"MIT"
] | 1 | 2021-04-11T01:22:22.000Z | 2021-04-11T01:22:22.000Z | stalky/cogs/__init__.py | mlovatonv/stalky | 74cb61dba4baeaee92c44e3d1e77a8da56057d3c | [
"MIT"
] | null | null | null | from stalky.cogs import shame
| 15 | 29 | 0.833333 | 5 | 30 | 5 | 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 | 1 | 0 | 0 | 6 |
7a3cfa75c2b08c7614f55d1f4f43941bf6c3eb37 | 3,015 | py | Python | tests/test_motions_find.py | AlphaMycelium/pathfinder.vim | 4f67053cbea56a45020d004b6bd059e38934a21a | [
"MIT"
] | 228 | 2020-05-26T11:46:21.000Z | 2020-08-04T22:39:17.000Z | tests/test_motions_find.py | AlphaMycelium/pathfinder.vim | 4f67053cbea56a45020d004b6bd059e38934a21a | [
"MIT"
] | 42 | 2020-05-25T12:41:35.000Z | 2020-08-10T16:23:48.000Z | tests/test_motions_find.py | danth/pathfinder.vim | 4f67053cbea56a45020d004b6bd059e38934a21a | [
"MIT"
] | 6 | 2020-05-26T20:32:34.000Z | 2020-06-16T00:47:12.000Z | from collections import namedtuple
from unittest import mock
from pathfinder.server.motions import Motion
from pathfinder.server.motions.find import FindMotionGenerator
View = namedtuple("View", "lnum col curswant")
@mock.patch("pathfinder.server.motions.find.vim.current.buffer", ["abcdde"])
@mock.patch.object(Find... | 35.05814 | 86 | 0.630846 | 417 | 3,015 | 4.465228 | 0.131894 | 0.059076 | 0.123523 | 0.130505 | 0.874866 | 0.827605 | 0.820086 | 0.80666 | 0.80666 | 0.745435 | 0 | 0.0279 | 0.167828 | 3,015 | 85 | 87 | 35.470588 | 0.714229 | 0 | 0 | 0.41791 | 0 | 0 | 0.180763 | 0.130017 | 0 | 0 | 0 | 0 | 0.119403 | 1 | 0.119403 | false | 0 | 0.059701 | 0 | 0.179104 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7a9a45c9a8ab313dca6e3034a0d7836eab132a4c | 30 | py | Python | __init__.py | mishavetl/coordrounder | d289397960d901926c3891ba54f2343ce2be6145 | [
"MIT"
] | null | null | null | __init__.py | mishavetl/coordrounder | d289397960d901926c3891ba54f2343ce2be6145 | [
"MIT"
] | null | null | null | __init__.py | mishavetl/coordrounder | d289397960d901926c3891ba54f2343ce2be6145 | [
"MIT"
] | null | null | null | from src.coordrounder import * | 30 | 30 | 0.833333 | 4 | 30 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 1 | 30 | 30 | 0.925926 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7ac01b85b6b4793c3d443b20d46c0d5ccddad246 | 8,403 | py | Python | wiggin_mito/actions/conformations.py | golobor/wiggin_mito | 51103894a4c7eac07cbf0cd6e891856b6e6bced7 | [
"MIT"
] | null | null | null | wiggin_mito/actions/conformations.py | golobor/wiggin_mito | 51103894a4c7eac07cbf0cd6e891856b6e6bced7 | [
"MIT"
] | null | null | null | wiggin_mito/actions/conformations.py | golobor/wiggin_mito | 51103894a4c7eac07cbf0cd6e891856b6e6bced7 | [
"MIT"
] | null | null | null | from dataclasses import dataclass
import logging
from typing import Union, Tuple, Sequence, Any, Optional # noqa: F401
import numpy as np
from .. import conformations
from wiggin.core import SimAction
logging.basicConfig(level=logging.INFO)
@dataclass
class HelicalLoopBrushConformation(SimAction):
helix_radi... | 30.667883 | 94 | 0.54183 | 909 | 8,403 | 4.740374 | 0.127613 | 0.119981 | 0.039684 | 0.072407 | 0.825946 | 0.812718 | 0.796008 | 0.766999 | 0.754235 | 0.740543 | 0 | 0.012756 | 0.384268 | 8,403 | 273 | 95 | 30.78022 | 0.820062 | 0.030108 | 0 | 0.67713 | 0 | 0 | 0.08622 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.026906 | false | 0 | 0.026906 | 0 | 0.174888 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8f8750b53792328053b4b47677de7da8b95ceb7b | 3,771 | py | Python | tests/test_command_new.py | vincentywdeng/kestrel-lang | 91e61c179bef433f5dc2e9fb6edf184d38ae6173 | [
"Apache-2.0"
] | 119 | 2021-06-04T15:40:10.000Z | 2022-03-24T09:56:53.000Z | tests/test_command_new.py | raymundl/kestrel-lang | aeae52dab0560415fdb7bd076eb439041030fbc3 | [
"Apache-2.0"
] | 76 | 2021-06-04T15:06:10.000Z | 2022-03-20T21:03:13.000Z | tests/test_command_new.py | raymundl/kestrel-lang | aeae52dab0560415fdb7bd076eb439041030fbc3 | [
"Apache-2.0"
] | 28 | 2021-06-05T07:27:15.000Z | 2022-01-20T18:43:47.000Z | import pytest
from kestrel.session import Session
from kestrel.exceptions import MissingEntityType
def test_new_with_full_json():
with Session() as s:
stmt = """
newvar = NEW [ {"type": "process", "name": "cmd.exe", "pid": "123"}
, {"type": "process", "name": "explorer.exe", "pid": "99"}
... | 30.168 | 87 | 0.490321 | 477 | 3,771 | 3.775681 | 0.127883 | 0.024431 | 0.084398 | 0.062188 | 0.881177 | 0.881177 | 0.844531 | 0.791227 | 0.75347 | 0.75347 | 0 | 0.028714 | 0.307346 | 3,771 | 124 | 88 | 30.41129 | 0.660796 | 0 | 0 | 0.650943 | 0 | 0.04717 | 0.340097 | 0 | 0 | 0 | 0 | 0 | 0.264151 | 1 | 0.075472 | false | 0 | 0.028302 | 0 | 0.103774 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8fc73cf98231465e9cad6ec8294f8f68f488b01c | 250 | py | Python | snmpagent_unity/unity_impl/HostName.py | factioninc/snmp-unity-agent | 3525dc0fac60d1c784dcdd7c41693544bcbef843 | [
"Apache-2.0"
] | 2 | 2019-03-01T11:14:59.000Z | 2019-10-02T17:47:59.000Z | snmpagent_unity/unity_impl/HostName.py | factioninc/snmp-unity-agent | 3525dc0fac60d1c784dcdd7c41693544bcbef843 | [
"Apache-2.0"
] | 2 | 2019-03-01T11:26:29.000Z | 2019-10-11T18:56:54.000Z | snmpagent_unity/unity_impl/HostName.py | factioninc/snmp-unity-agent | 3525dc0fac60d1c784dcdd7c41693544bcbef843 | [
"Apache-2.0"
] | 1 | 2019-10-03T21:09:17.000Z | 2019-10-03T21:09:17.000Z | class HostName(object):
def read_get(self, name, idx_name, unity_client):
return unity_client.get_host_name(idx_name)
class HostNameColumn(object):
def get_idx(self, name, idx, unity_client):
return unity_client.get_hosts()
| 27.777778 | 53 | 0.728 | 36 | 250 | 4.75 | 0.416667 | 0.25731 | 0.128655 | 0.25731 | 0.362573 | 0.362573 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176 | 250 | 8 | 54 | 31.25 | 0.830097 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
8f0d48ffc9f20c633c0780565500b0381fdf1dd1 | 8,528 | py | Python | test/test_cli.py | art-of-dom/HashIt | 197b54c35f61e9322e60ee3957496174951285b4 | [
"MIT"
] | null | null | null | test/test_cli.py | art-of-dom/HashIt | 197b54c35f61e9322e60ee3957496174951285b4 | [
"MIT"
] | 4 | 2021-07-19T07:16:31.000Z | 2021-08-25T04:35:51.000Z | test/test_cli.py | art-of-dom/HashIt | 197b54c35f61e9322e60ee3957496174951285b4 | [
"MIT"
] | null | null | null | '''Tests for the cli interface'''
from __future__ import absolute_import
import unittest
import sys
from nose.tools import assert_equals
from hashit.cli.cli import cli_main
from hashit.cli.cli_status import CliStatus
# pylint: disable=missing-docstring
# pylint: disable=invalid-name
# pylint: disable=no-self-use
# p... | 39.119266 | 76 | 0.624765 | 1,038 | 8,528 | 4.876686 | 0.102119 | 0.161201 | 0.073489 | 0.085342 | 0.835638 | 0.810747 | 0.805808 | 0.788621 | 0.759779 | 0.747136 | 0 | 0.049517 | 0.235108 | 8,528 | 217 | 77 | 39.299539 | 0.726506 | 0.031309 | 0 | 0.575581 | 0 | 0 | 0.142736 | 0.026195 | 0 | 0 | 0 | 0 | 0.209302 | 1 | 0.174419 | false | 0.005814 | 0.034884 | 0 | 0.215116 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8f55e4bdd0e5a2bd884b15c4ec96feeff80936a6 | 40 | py | Python | Data Scientist Career Path/3. Python Fundamentals/7. Python Strings/1. Intro to String/9. iterate string.py | myarist/Codecademy | 2ba0f104bc67ab6ef0f8fb869aa12aa02f5f1efb | [
"MIT"
] | 23 | 2021-06-06T15:35:55.000Z | 2022-03-21T06:53:42.000Z | Data Scientist Career Path/3. Python Fundamentals/7. Python Strings/1. Intro to String/9. iterate string.py | shivaniverma1/Data-Scientist | f82939a411484311171465591455880c8e354750 | [
"MIT"
] | null | null | null | Data Scientist Career Path/3. Python Fundamentals/7. Python Strings/1. Intro to String/9. iterate string.py | shivaniverma1/Data-Scientist | f82939a411484311171465591455880c8e354750 | [
"MIT"
] | 9 | 2021-06-08T01:32:04.000Z | 2022-03-18T15:38:09.000Z | def get_length(text):
return len(text) | 20 | 21 | 0.75 | 7 | 40 | 4.142857 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 40 | 2 | 22 | 20 | 0.828571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
56e03707010aaf64816d2d27490100d84cf7a49d | 31,260 | py | Python | experiences/tests/unit_test_interactors.py | jordifierro/abidria-api | d7689783bf23fbe43c395b07572a1380654652cd | [
"MIT"
] | 93 | 2017-08-12T09:41:21.000Z | 2022-03-19T20:04:41.000Z | experiences/tests/unit_test_interactors.py | jordifierro/abidria-api | d7689783bf23fbe43c395b07572a1380654652cd | [
"MIT"
] | 1 | 2017-10-09T16:49:10.000Z | 2017-10-13T18:07:29.000Z | experiences/tests/unit_test_interactors.py | jordifierro/abidria-api | d7689783bf23fbe43c395b07572a1380654652cd | [
"MIT"
] | 25 | 2017-08-18T04:31:23.000Z | 2022-02-20T20:31:47.000Z | from mock import Mock
from abidria.exceptions import InvalidEntityException, EntityDoesNotExistException, NoLoggedException, \
NoPermissionException, ConflictException
from experiences.entities import Experience
from experiences.interactors import GetAllExperiencesInteractor, CreateNewExperienceInteractor, \
... | 46.379822 | 119 | 0.64936 | 3,219 | 31,260 | 5.795278 | 0.048773 | 0.063039 | 0.055052 | 0.040525 | 0.880622 | 0.85398 | 0.811632 | 0.775181 | 0.739373 | 0.685982 | 0 | 0.001487 | 0.289923 | 31,260 | 673 | 120 | 46.448737 | 0.838942 | 0 | 0 | 0.667269 | 0 | 0 | 0.011196 | 0 | 0 | 0 | 0 | 0 | 0.075949 | 1 | 0.186257 | false | 0 | 0.007233 | 0 | 0.363472 | 0.001808 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.