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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f5eb484e6ca96bda90cc1532c82396be0a56ffae | 571 | py | Python | src/ahjo/operations/tsql/__init__.py | olasirtep/ahjo | 7475feaf72c65d424d018082960ffbac6e59bab8 | [
"Apache-2.0"
] | null | null | null | src/ahjo/operations/tsql/__init__.py | olasirtep/ahjo | 7475feaf72c65d424d018082960ffbac6e59bab8 | [
"Apache-2.0"
] | null | null | null | src/ahjo/operations/tsql/__init__.py | olasirtep/ahjo | 7475feaf72c65d424d018082960ffbac6e59bab8 | [
"Apache-2.0"
] | 1 | 2021-08-31T07:26:46.000Z | 2021-08-31T07:26:46.000Z | # Ahjo - Database deployment framework
#
# Copyright 2019, 2020, 2021 ALM Partners Oy
# SPDX-License-Identifier: Apache-2.0
"""Module for operations requiring SQLServer backend."""
from ahjo.operations.tsql.create_db import create_db
from ahjo.operations.tsql.create_db_login import create_db_login
from ahjo.operation... | 40.785714 | 76 | 0.844133 | 81 | 571 | 5.679012 | 0.432099 | 0.13913 | 0.195652 | 0.23913 | 0.26087 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0.026975 | 0.091068 | 571 | 13 | 77 | 43.923077 | 0.859345 | 0.292469 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.833333 | 0 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
de99c9c59aa10096f7801c5898ffa75df1f810d7 | 189 | py | Python | shopkit/core/config.py | sakkada/django-shopkit | 35e6f8ac73bf6aa40887aa9b1b860d27db8b2975 | [
"BSD-3-Clause"
] | null | null | null | shopkit/core/config.py | sakkada/django-shopkit | 35e6f8ac73bf6aa40887aa9b1b860d27db8b2975 | [
"BSD-3-Clause"
] | null | null | null | shopkit/core/config.py | sakkada/django-shopkit | 35e6f8ac73bf6aa40887aa9b1b860d27db8b2975 | [
"BSD-3-Clause"
] | null | null | null | from django.apps import AppConfig
class CoreConfig(AppConfig):
label = u'shopkit.core'
name = u'shopkit.core'
verbose_name = u'Shopkit Core'
def ready(self):
pass
| 17.181818 | 34 | 0.666667 | 25 | 189 | 5 | 0.68 | 0.192 | 0.288 | 0.256 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.238095 | 189 | 10 | 35 | 18.9 | 0.868056 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0.142857 | 0.142857 | 0 | 0.857143 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
deaa9ece9a76ba886443a8f83cbcfb764c38f376 | 60 | py | Python | tests/roots/test-advanced/apidoc_dummy_package/apidoc_dummy_submodule_b.py | dhellmann/apidoc | 7fc95da3f1e5912bd6e98aa71b57535257788916 | [
"BSD-2-Clause"
] | null | null | null | tests/roots/test-advanced/apidoc_dummy_package/apidoc_dummy_submodule_b.py | dhellmann/apidoc | 7fc95da3f1e5912bd6e98aa71b57535257788916 | [
"BSD-2-Clause"
] | null | null | null | tests/roots/test-advanced/apidoc_dummy_package/apidoc_dummy_submodule_b.py | dhellmann/apidoc | 7fc95da3f1e5912bd6e98aa71b57535257788916 | [
"BSD-2-Clause"
] | null | null | null | class Baz(object):
def inga(self):
return 1 + 3
| 15 | 20 | 0.55 | 9 | 60 | 3.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05 | 0.333333 | 60 | 3 | 21 | 20 | 0.775 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
dec32c33ee9f4261c5e65f6f1a41f9fa302dcf9b | 449 | py | Python | flask-api/app/models.py | burwinliu/FamilyTree | 7009e9b07c312b808c9c01dc515b9237225682d8 | [
"Apache-2.0"
] | null | null | null | flask-api/app/models.py | burwinliu/FamilyTree | 7009e9b07c312b808c9c01dc515b9237225682d8 | [
"Apache-2.0"
] | null | null | null | flask-api/app/models.py | burwinliu/FamilyTree | 7009e9b07c312b808c9c01dc515b9237225682d8 | [
"Apache-2.0"
] | null | null | null | # /app/models.py
class Family:
def __init__(self):
pass
def get_tree(self):
"""
Return tree of all family members
"""
pass
def jsonify(self):
pass
class Person:
def __init__(self):
pass
def get_profile(self):
"""
... | 14.483871 | 45 | 0.494432 | 48 | 449 | 4.416667 | 0.520833 | 0.150943 | 0.103774 | 0.141509 | 0.40566 | 0.198113 | 0 | 0 | 0 | 0 | 0 | 0 | 0.42539 | 449 | 31 | 46 | 14.483871 | 0.821705 | 0.233853 | 0 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032258 | 0 | 1 | 0.428571 | false | 0.428571 | 0 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
def74f4f9d57f0851babbaace26ba9b9708b4a4a | 30 | py | Python | tools/dataset/models_aoda/__init__.py | arkel23/mmgeneration | 41a30e2972f2037f6aac60ed761bed3fe47bfe4d | [
"Apache-2.0"
] | null | null | null | tools/dataset/models_aoda/__init__.py | arkel23/mmgeneration | 41a30e2972f2037f6aac60ed761bed3fe47bfe4d | [
"Apache-2.0"
] | null | null | null | tools/dataset/models_aoda/__init__.py | arkel23/mmgeneration | 41a30e2972f2037f6aac60ed761bed3fe47bfe4d | [
"Apache-2.0"
] | null | null | null | from .aoda import create_aoda
| 15 | 29 | 0.833333 | 5 | 30 | 4.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
defc04664ecce10bb9f6f24e1da51c8eff683ab4 | 212 | py | Python | gans/building_blocks/__init__.py | christophstach/research-project-gan | 1619565e30163a77d4777c5e9738d2393bac59af | [
"Apache-2.0"
] | 1 | 2021-02-13T10:50:28.000Z | 2021-02-13T10:50:28.000Z | gans/building_blocks/__init__.py | christophstach/research-project-gan | 1619565e30163a77d4777c5e9738d2393bac59af | [
"Apache-2.0"
] | null | null | null | gans/building_blocks/__init__.py | christophstach/research-project-gan | 1619565e30163a77d4777c5e9738d2393bac59af | [
"Apache-2.0"
] | null | null | null | from .attention import SelfAttention2d
from .minibatch_std_dev import MinibatchStdDev
from .pixel_norm import PixelNorm
from .convolution import Conv2d, ConvTranspose2d, SubPixelConv2d, _ConvTranspose2d, _Conv2d
| 42.4 | 91 | 0.867925 | 23 | 212 | 7.782609 | 0.652174 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03125 | 0.09434 | 212 | 4 | 92 | 53 | 0.901042 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
defe6358d0c047bed7536b6bc93a2ca4496fc049 | 16,352 | py | Python | modelzoo/mclstm.py | ml-jku/mc-lstm | 8bbaece3ecb4187a76c6318d4c6e40c1dcc71303 | [
"MIT"
] | 18 | 2021-03-27T06:31:59.000Z | 2022-02-24T09:48:57.000Z | modelzoo/mclstm.py | ml-jku/mc-lstm | 8bbaece3ecb4187a76c6318d4c6e40c1dcc71303 | [
"MIT"
] | null | null | null | modelzoo/mclstm.py | ml-jku/mc-lstm | 8bbaece3ecb4187a76c6318d4c6e40c1dcc71303 | [
"MIT"
] | 7 | 2021-03-27T21:01:23.000Z | 2021-09-21T14:27:59.000Z | import torch
import torch.nn as nn
from modelzoo.normalisers import NormalisedSigmoid
from modelzoo.redistributions import Gate
from modelzoo.redistributions import get_redistribution
class MCModel(nn.Module):
def __init__(self, cfg: dict):
super().__init__()
self.mclstm = MCLSTMv2(cfg['mass_inp... | 39.59322 | 117 | 0.559014 | 1,932 | 16,352 | 4.46118 | 0.094721 | 0.05952 | 0.037707 | 0.023669 | 0.806358 | 0.768303 | 0.747999 | 0.711335 | 0.695208 | 0.682446 | 0 | 0.006882 | 0.342466 | 16,352 | 412 | 118 | 39.68932 | 0.794736 | 0.117967 | 0 | 0.660714 | 0 | 0 | 0.032641 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0.017857 | 0.003571 | 0.192857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
72139aa9913e35d32438a70c5545d98cab647917 | 197 | py | Python | arch_nemesis/sources/__init__.py | trickeydan/arch-nemesis | 7582bd2ec76b5605b8ae1cf0ec1b4e2555044ddd | [
"MIT"
] | null | null | null | arch_nemesis/sources/__init__.py | trickeydan/arch-nemesis | 7582bd2ec76b5605b8ae1cf0ec1b4e2555044ddd | [
"MIT"
] | null | null | null | arch_nemesis/sources/__init__.py | trickeydan/arch-nemesis | 7582bd2ec76b5605b8ae1cf0ec1b4e2555044ddd | [
"MIT"
] | null | null | null | """Possible package sources."""
from .github_asset import GitHubAssetSource, GitHubTarSource
from .source import PackageSource
__all__ = ['GitHubAssetSource', 'GitHubTarSource', 'PackageSource']
| 28.142857 | 67 | 0.796954 | 17 | 197 | 8.941176 | 0.705882 | 0.421053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096447 | 197 | 6 | 68 | 32.833333 | 0.853933 | 0.126904 | 0 | 0 | 0 | 0 | 0.271084 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
722e1a1897276005e187111db0994a82026c8300 | 180 | py | Python | taps/db/__init__.py | schinavro/taps | c03b4e23ed299824c1b062225b837a0b7cfff216 | [
"MIT"
] | null | null | null | taps/db/__init__.py | schinavro/taps | c03b4e23ed299824c1b062225b837a0b7cfff216 | [
"MIT"
] | null | null | null | taps/db/__init__.py | schinavro/taps | c03b4e23ed299824c1b062225b837a0b7cfff216 | [
"MIT"
] | null | null | null | from taps.db.database import Database
from taps.db.imagedb import ImageDatabase
from taps.db.pathsdb import PathsDatabase
__all__ = ['Database', 'ImageDatabase', 'PathsDatabase']
| 30 | 56 | 0.805556 | 22 | 180 | 6.409091 | 0.454545 | 0.170213 | 0.212766 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 180 | 5 | 57 | 36 | 0.87037 | 0 | 0 | 0 | 0 | 0 | 0.188889 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
723da38ece213f3afd16426d8b380b49b947e3da | 4,184 | py | Python | decibinary.py | baduy9x/AlgorithmPractice | 9fb956aedf67c0515b66f2af93d8383dba697fec | [
"Apache-2.0"
] | null | null | null | decibinary.py | baduy9x/AlgorithmPractice | 9fb956aedf67c0515b66f2af93d8383dba697fec | [
"Apache-2.0"
] | null | null | null | decibinary.py | baduy9x/AlgorithmPractice | 9fb956aedf67c0515b66f2af93d8383dba697fec | [
"Apache-2.0"
] | null | null | null | import pandas as pd
df = pd.DataFrame({'grade': {0: 10,1: 12,2: 10,3: 9,4: 10,5: 12,6: 10,7: 11,8: 11,9: 12,10: 12,11: 9,12: 12,13: 12,14: 10,15: 11,16: 11,17: 11,18: 10,19: 12,20: 11,21: 10,22: 10,23: 10,24: 11,25: 9,26: 10,27: 9,28: 10,29: 11,30: 12,31: 11,32: 12,33: 12,34: 12,35: 9,36: 11,37: 10,38: 11,39: 10,40: 12... | 139.466667 | 1,485 | 0.58413 | 983 | 4,184 | 2.4588 | 0.254324 | 0.018618 | 0.026479 | 0.021514 | 0.04758 | 0.036409 | 0 | 0 | 0 | 0 | 0 | 0.509632 | 0.15631 | 4,184 | 30 | 1,486 | 139.466667 | 0.175071 | 0.032027 | 0 | 0 | 0 | 0 | 0.0383 | 0 | 0 | 0 | 0 | 0.033333 | 0 | 1 | 0.045455 | false | 0 | 0.045455 | 0 | 0.136364 | 0.090909 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
a0ffe6ae46d3999e6004a742a253e846b24dbae4 | 63 | py | Python | yolact/__init__.py | ar90n/yolact | 86040800a40ffdfa8873961dcbdd05bf34896b9d | [
"MIT"
] | 6 | 2020-01-14T11:13:13.000Z | 2021-09-01T02:15:07.000Z | __init__.py | Chirag-v09/yolact | 47f5a98f38a06daba17d2ee4f61e676537d609db | [
"MIT"
] | null | null | null | __init__.py | Chirag-v09/yolact | 47f5a98f38a06daba17d2ee4f61e676537d609db | [
"MIT"
] | 8 | 2019-08-02T17:17:11.000Z | 2021-10-10T03:24:31.000Z | from . import backbone, data, layers, utils, web, yolact, eval
| 31.5 | 62 | 0.730159 | 9 | 63 | 5.111111 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15873 | 63 | 1 | 63 | 63 | 0.867925 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
9d0ebf2da8d7df30217e102ed79be190b035ffa6 | 76 | py | Python | simuvex/simuvex/s_pcap.py | Ruide/angr-dev | 964dc80c758e25c698c2cbcc454ef5954c5fa0a0 | [
"BSD-2-Clause"
] | 86 | 2015-08-06T23:25:07.000Z | 2022-02-17T14:58:22.000Z | simuvex/simuvex/s_pcap.py | Ruide/angr-dev | 964dc80c758e25c698c2cbcc454ef5954c5fa0a0 | [
"BSD-2-Clause"
] | 132 | 2015-09-10T19:06:59.000Z | 2018-10-04T20:36:45.000Z | simuvex/simuvex/s_pcap.py | Ruide/angr-dev | 964dc80c758e25c698c2cbcc454ef5954c5fa0a0 | [
"BSD-2-Clause"
] | 80 | 2015-08-07T10:30:20.000Z | 2020-03-21T14:45:28.000Z | print '... Importing simuvex/s_pcap.py ...'
from angr.storage.pcap import *
| 25.333333 | 43 | 0.710526 | 11 | 76 | 4.818182 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118421 | 76 | 2 | 44 | 38 | 0.791045 | 0 | 0 | 0 | 0 | 0 | 0.460526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 1 | null | null | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
9d19af6109cffb87cec15491b31bdb0197d6f0bf | 33 | py | Python | Lib/test/badsyntax_async5.py | Hadron/python | 73137f499ed658169f49273eee46845e3b53e800 | [
"PSF-2.0"
] | 486 | 2016-05-28T18:51:54.000Z | 2022-03-20T17:30:31.000Z | Lib/test/badsyntax_async5.py | Hadron/python | 73137f499ed658169f49273eee46845e3b53e800 | [
"PSF-2.0"
] | 70 | 2017-02-02T21:20:07.000Z | 2022-02-04T15:32:45.000Z | Lib/test/badsyntax_async5.py | Hadron/python | 73137f499ed658169f49273eee46845e3b53e800 | [
"PSF-2.0"
] | 74 | 2015-05-29T17:18:53.000Z | 2022-01-15T14:06:44.000Z | def foo():
await something()
| 11 | 21 | 0.606061 | 4 | 33 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.242424 | 33 | 2 | 22 | 16.5 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
9d39aa791487f41b6802da3285cf75edee94438e | 12,148 | py | Python | shtk/test/Shell/Shell.py | jroose/shtk | caba1babe49399f34a7be8ab820a380e346d1515 | [
"BSD-3-Clause"
] | 24 | 2021-02-02T09:22:53.000Z | 2021-09-13T00:12:13.000Z | shtk/test/Shell/Shell.py | jroose/shtk | caba1babe49399f34a7be8ab820a380e346d1515 | [
"BSD-3-Clause"
] | 15 | 2021-02-02T03:00:35.000Z | 2022-02-20T22:48:30.000Z | shtk/test/Shell/Shell.py | jroose/shtk | caba1babe49399f34a7be8ab820a380e346d1515 | [
"BSD-3-Clause"
] | 1 | 2021-02-02T11:49:53.000Z | 2021-02-02T11:49:53.000Z | import asyncio
import grp
import importlib.resources
import os
import pathlib
import pwd
import sys
import unittest
from ...Shell import Shell
from ...util import which, export
from ..test_util import register, TmpDirMixin
__all__ = []
async def build_and_wait(factory, *args, **kwargs):
obj = await factory.buil... | 28.317016 | 88 | 0.572028 | 1,410 | 12,148 | 4.843972 | 0.117731 | 0.057101 | 0.047291 | 0.037335 | 0.768228 | 0.73631 | 0.733529 | 0.726354 | 0.677306 | 0.653148 | 0 | 0.005099 | 0.305812 | 12,148 | 428 | 89 | 28.383178 | 0.804814 | 0 | 0 | 0.76 | 0 | 0 | 0.064784 | 0 | 0 | 0 | 0 | 0 | 0.107692 | 1 | 0.076923 | false | 0 | 0.043077 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
19bf1e1efbb245188e8cdb9050060a92c71d703c | 180 | py | Python | sessao03/30_87-CriandoModulos/aplicativo.py | Ruteski/CursoPythonOM | afe5ad5e50f903dab370be2b76966a81f07e51dd | [
"MIT"
] | null | null | null | sessao03/30_87-CriandoModulos/aplicativo.py | Ruteski/CursoPythonOM | afe5ad5e50f903dab370be2b76966a81f07e51dd | [
"MIT"
] | null | null | null | sessao03/30_87-CriandoModulos/aplicativo.py | Ruteski/CursoPythonOM | afe5ad5e50f903dab370be2b76966a81f07e51dd | [
"MIT"
] | null | null | null | # import aula87 as calculos
#
# print(calculos.PI)
#
# lista = [2,4]
# print(calculos.multiplica(lista))
from aula87 import dobra_lista, PI, multiplica
print(multiplica([2,4])) | 15 | 46 | 0.711111 | 25 | 180 | 5.08 | 0.48 | 0.204724 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051613 | 0.138889 | 180 | 12 | 47 | 15 | 0.767742 | 0.511111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
19d5bcfdc7b9d4f6bade73ca112ca8f3cc783b0d | 57 | py | Python | profanity-detector/test.py | dibyadhar/Python-MVP | a0004bc72330cefea8a707c4342eb666d0404e02 | [
"MIT"
] | null | null | null | profanity-detector/test.py | dibyadhar/Python-MVP | a0004bc72330cefea8a707c4342eb666d0404e02 | [
"MIT"
] | null | null | null | profanity-detector/test.py | dibyadhar/Python-MVP | a0004bc72330cefea8a707c4342eb666d0404e02 | [
"MIT"
] | null | null | null | from profanity import read_text
read_text("quotes.txt")
| 14.25 | 31 | 0.807018 | 9 | 57 | 4.888889 | 0.777778 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 57 | 3 | 32 | 19 | 0.862745 | 0 | 0 | 0 | 0 | 0 | 0.175439 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
c22d2240528e7a8615f9e3cb7d824a5dc6832bbf | 202 | py | Python | relm/code_relm/relm/codebase/__init__.py | jkapila/paper-codebase | 35198a924b66299cab0bf405d4f5ab54ca504be9 | [
"BSD-3-Clause"
] | null | null | null | relm/code_relm/relm/codebase/__init__.py | jkapila/paper-codebase | 35198a924b66299cab0bf405d4f5ab54ca504be9 | [
"BSD-3-Clause"
] | null | null | null | relm/code_relm/relm/codebase/__init__.py | jkapila/paper-codebase | 35198a924b66299cab0bf405d4f5ab54ca504be9 | [
"BSD-3-Clause"
] | null | null | null | from .environment import TheEnvironment,RELMEvaluator
from .utils import plot_learning,plot_ROC,plot_pair
from .model_population import ModelParam,Model,ModelPopulation
from .relm_agent import RELMAgent | 50.5 | 62 | 0.881188 | 26 | 202 | 6.653846 | 0.653846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074257 | 202 | 4 | 63 | 50.5 | 0.925134 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
c2398bca1acd60aab111c98c2cf48daeb936900c | 176 | py | Python | auth_service/adapters/db/__init__.py | rahungria/clean_arquitecture_auth | 1d0276c2fd5b83705805dfe33f6781dde3bc064a | [
"MIT"
] | 1 | 2022-03-11T21:33:36.000Z | 2022-03-11T21:33:36.000Z | auth_service/adapters/db/__init__.py | rahungria/clean_arquitecture_auth | 1d0276c2fd5b83705805dfe33f6781dde3bc064a | [
"MIT"
] | null | null | null | auth_service/adapters/db/__init__.py | rahungria/clean_arquitecture_auth | 1d0276c2fd5b83705805dfe33f6781dde3bc064a | [
"MIT"
] | null | null | null | from auth_service.adapters.db.user_psql_adapter import UserDBAdapter
from auth_service.main.db import psql_connection_manager
user_db = UserDBAdapter(psql_connection_manager)
| 35.2 | 68 | 0.886364 | 25 | 176 | 5.88 | 0.52 | 0.108844 | 0.204082 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068182 | 176 | 4 | 69 | 44 | 0.896341 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
dfe51ee5522865053b504473f31973f59560a60f | 11,247 | py | Python | advancepayment/reference.py | Ridhosribumi/advancepayment | 2973d5bc294a2c8eb903facc13528edce39193b2 | [
"MIT"
] | null | null | null | advancepayment/reference.py | Ridhosribumi/advancepayment | 2973d5bc294a2c8eb903facc13528edce39193b2 | [
"MIT"
] | null | null | null | advancepayment/reference.py | Ridhosribumi/advancepayment | 2973d5bc294a2c8eb903facc13528edce39193b2 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright (c) 2019, Ridhosribumi and contributors
# For license information, please see license.txt
# Ridhosribumi August 2019
from __future__ import unicode_literals
import frappe, json
from frappe.utils import nowdate, cstr, flt, now, getdate, add_months
from frappe import msgprint, _
from ... | 48.9 | 293 | 0.631368 | 1,543 | 11,247 | 4.359041 | 0.106286 | 0.04163 | 0.031073 | 0.048023 | 0.789771 | 0.763307 | 0.749926 | 0.717365 | 0.709188 | 0.690752 | 0 | 0.009008 | 0.230106 | 11,247 | 229 | 294 | 49.113537 | 0.767756 | 0.012803 | 0 | 0.699531 | 0 | 0.046948 | 0.327897 | 0.021806 | 0 | 0 | 0 | 0 | 0 | 1 | 0.046948 | false | 0 | 0.028169 | 0 | 0.122066 | 0.004695 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
5f1a0d727f8daaa4af8929d10ccc5142e354a1db | 156 | py | Python | tests/language-service/snippet_cases/functions.py | jaydeetay/pxt | aad1beaf15edc46e1327806367298cbc942dcbc1 | [
"MIT"
] | 977 | 2019-05-06T23:12:55.000Z | 2022-03-29T19:11:44.000Z | tests/language-service/snippet_cases/functions.py | jaydeetay/pxt | aad1beaf15edc46e1327806367298cbc942dcbc1 | [
"MIT"
] | 3,980 | 2019-05-09T20:48:14.000Z | 2022-03-28T20:33:07.000Z | tests/language-service/snippet_cases/functions.py | jaydeetay/pxt | aad1beaf15edc46e1327806367298cbc942dcbc1 | [
"MIT"
] | 306 | 2016-04-09T05:28:07.000Z | 2019-05-02T14:23:29.000Z | # testNamespace.someFunction
testNamespace.some_function("", 0, False)
# testNamespace.someFunctionWithDefl
testNamespace.some_function_with_defl(5, True)
| 26 | 46 | 0.839744 | 16 | 156 | 7.9375 | 0.6875 | 0.267717 | 0.393701 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013699 | 0.064103 | 156 | 5 | 47 | 31.2 | 0.856164 | 0.391026 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 5 |
5f392c3816d967aa6e79b5bc45489cf24e57e292 | 61 | py | Python | src/core/__init__.py | Bobholamovic/CDLab-PP | 1fe4262353caf42a08ef1d9c601c9794f430e30c | [
"Unlicense"
] | 12 | 2021-12-28T00:48:24.000Z | 2022-02-20T09:45:02.000Z | src/core/__init__.py | Bobholamovic/CDLab-PP | 1fe4262353caf42a08ef1d9c601c9794f430e30c | [
"Unlicense"
] | null | null | null | src/core/__init__.py | Bobholamovic/CDLab-PP | 1fe4262353caf42a08ef1d9c601c9794f430e30c | [
"Unlicense"
] | 2 | 2021-12-28T07:08:33.000Z | 2022-03-28T04:10:53.000Z | # Initialize all
from .misc import *
from .builders import * | 15.25 | 23 | 0.737705 | 8 | 61 | 5.625 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180328 | 61 | 4 | 23 | 15.25 | 0.9 | 0.229508 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
a026bdd9941b84522367588763c531890aed9531 | 1,949 | py | Python | src/TMscore_test.py | h3nnn4n/TMscore.py | ed15ca060a4bc69f1e307d27637f56307aa89367 | [
"MIT"
] | 2 | 2020-12-30T03:19:51.000Z | 2022-01-22T00:06:43.000Z | src/TMscore_test.py | h3nnn4n/TMscore.py | ed15ca060a4bc69f1e307d27637f56307aa89367 | [
"MIT"
] | null | null | null | src/TMscore_test.py | h3nnn4n/TMscore.py | ed15ca060a4bc69f1e307d27637f56307aa89367 | [
"MIT"
] | 2 | 2017-12-18T01:55:51.000Z | 2022-02-16T00:01:04.000Z | import pytest
from TMscore import TMscore
def test_init():
tmscore = TMscore("./TMscore")
assert tmscore is not None
def test_init_no_args():
tmscore = TMscore()
assert tmscore is not None
def test_init_wrong_path():
with pytest.raises(FileNotFoundError):
TMscore('this path is bananas'... | 24.670886 | 82 | 0.639302 | 274 | 1,949 | 4.375912 | 0.175182 | 0.315263 | 0.297748 | 0.186822 | 0.745621 | 0.69558 | 0.665555 | 0.665555 | 0.665555 | 0.665555 | 0 | 0.090235 | 0.169831 | 1,949 | 78 | 83 | 24.987179 | 0.650803 | 0 | 0 | 0.395833 | 0 | 0 | 0.231401 | 0 | 0 | 0 | 0 | 0 | 0.291667 | 1 | 0.229167 | false | 0 | 0.041667 | 0 | 0.270833 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
a0c4c7786c3dd2c6397b897815561afeaed4b1bb | 120 | py | Python | src/iotc/test/__init__.py | jimbobbennett/iotc-python-client | 1f357353d5c370da6d2721c994a2555894c9a142 | [
"MIT"
] | 3 | 2020-06-30T05:26:54.000Z | 2021-03-27T07:05:58.000Z | src/iotc/test/__init__.py | jimbobbennett/iotc-python-client | 1f357353d5c370da6d2721c994a2555894c9a142 | [
"MIT"
] | 3 | 2020-06-30T05:46:14.000Z | 2021-07-05T09:33:02.000Z | src/iotc/test/__init__.py | jimbobbennett/iotc-python-client | 1f357353d5c370da6d2721c994a2555894c9a142 | [
"MIT"
] | 1 | 2021-08-17T22:38:33.000Z | 2021-08-17T22:38:33.000Z | class dummy_storage:
def retrieve(self):
return {}
def persist(self, credentials):
return None
| 17.142857 | 35 | 0.616667 | 13 | 120 | 5.615385 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.3 | 120 | 6 | 36 | 20 | 0.869048 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.4 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
26092612300787e4b2bba54774cd934b438b92bc | 360 | py | Python | tests/conftest.py | FawziAS/secret-santa | 64adedbe1fc2d6f76d38d1e5e6ce0b53159ed002 | [
"Unlicense"
] | 2 | 2021-12-24T09:01:16.000Z | 2022-03-01T22:43:08.000Z | tests/conftest.py | FawziAS/secret-santa | 64adedbe1fc2d6f76d38d1e5e6ce0b53159ed002 | [
"Unlicense"
] | null | null | null | tests/conftest.py | FawziAS/secret-santa | 64adedbe1fc2d6f76d38d1e5e6ce0b53159ed002 | [
"Unlicense"
] | null | null | null | from pathlib import Path
import pytest
@pytest.fixture(autouse=True)
def tests_directory() -> Path:
return Path(__file__).parent
@pytest.fixture(autouse=True)
def project_root_directory() -> Path:
return Path(__file__).parent.parent
@pytest.fixture(autouse=True)
def test_root_directory(request) -> Path:
... | 18.947368 | 41 | 0.758333 | 47 | 360 | 5.531915 | 0.425532 | 0.15 | 0.230769 | 0.276923 | 0.588462 | 0.484615 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127778 | 360 | 18 | 42 | 20 | 0.828025 | 0 | 0 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0.181818 | 0.272727 | 0.727273 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
2622fc234fba7a3873ecfc0b115338ac22d2517e | 174 | py | Python | bajes/obs/utils/__init__.py | jacopok/bajes | caa89ce49d29bc6e67ba8b96831fb7ebbcf3e7de | [
"MIT"
] | 17 | 2021-02-02T02:43:22.000Z | 2022-01-02T20:25:51.000Z | bajes/obs/utils/__init__.py | jacopok/bajes | caa89ce49d29bc6e67ba8b96831fb7ebbcf3e7de | [
"MIT"
] | 1 | 2021-02-11T11:25:29.000Z | 2021-02-22T16:07:31.000Z | bajes/obs/utils/__init__.py | jacopok/bajes | caa89ce49d29bc6e67ba8b96831fb7ebbcf3e7de | [
"MIT"
] | 3 | 2021-02-03T20:02:33.000Z | 2021-09-07T23:50:50.000Z | #!/usr/bin/env python
from __future__ import absolute_import
__import__("pkg_resources").declare_namespace(__name__)
from .cosmo import Cosmology
from .tov import TOVSolver
| 24.857143 | 55 | 0.827586 | 23 | 174 | 5.608696 | 0.73913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091954 | 174 | 6 | 56 | 29 | 0.816456 | 0.114943 | 0 | 0 | 0 | 0 | 0.084967 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
262a34fee222e63c79de65d40b58d09932e0139e | 64 | py | Python | bomdia.py | felipaoasmoura/estudos_python | cabeb0f9d2c391aaf619db7cb0b1556107741c4b | [
"MIT"
] | null | null | null | bomdia.py | felipaoasmoura/estudos_python | cabeb0f9d2c391aaf619db7cb0b1556107741c4b | [
"MIT"
] | null | null | null | bomdia.py | felipaoasmoura/estudos_python | cabeb0f9d2c391aaf619db7cb0b1556107741c4b | [
"MIT"
] | null | null | null | #!/usr/bin/python
import sys
print('Bom dia, ' + sys.argv[1]) | 10.666667 | 32 | 0.625 | 11 | 64 | 3.636364 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018519 | 0.15625 | 64 | 6 | 32 | 10.666667 | 0.722222 | 0.25 | 0 | 0 | 0 | 0 | 0.1875 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
2634882e67392cc9d7a7ba94a4cbb1debca6fa01 | 252 | py | Python | test/solution_tests/HLO/test_hello.py | DPNT-Sourcecode/CHK-jkez01 | 5f4eeec8b12704bb25b2d4468e296415100f027d | [
"Apache-2.0"
] | null | null | null | test/solution_tests/HLO/test_hello.py | DPNT-Sourcecode/CHK-jkez01 | 5f4eeec8b12704bb25b2d4468e296415100f027d | [
"Apache-2.0"
] | null | null | null | test/solution_tests/HLO/test_hello.py | DPNT-Sourcecode/CHK-jkez01 | 5f4eeec8b12704bb25b2d4468e296415100f027d | [
"Apache-2.0"
] | null | null | null | from solutions.HLO import hello_solution
import pytest
class TestHello():
def test_one(self):
assert hello_solution.hello("World") == "Hello, World!"
def test_two(self):
assert hello_solution.hello("John") == "Hello, John!"
| 21 | 63 | 0.674603 | 32 | 252 | 5.15625 | 0.53125 | 0.236364 | 0.181818 | 0.278788 | 0.339394 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.198413 | 252 | 11 | 64 | 22.909091 | 0.816832 | 0 | 0 | 0 | 0 | 0 | 0.135458 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 1 | 0.285714 | false | 0 | 0.285714 | 0 | 0.714286 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
263d8f4eac9efe42d320b957c983e26edbbecec1 | 300 | py | Python | ares/inference/__init__.py | astrojhgu/ares | 42008c8e4bf79f0b000cc833e02a86510bce7611 | [
"MIT"
] | 1 | 2019-01-04T15:13:18.000Z | 2019-01-04T15:13:18.000Z | ares/inference/__init__.py | astrojhgu/ares | 42008c8e4bf79f0b000cc833e02a86510bce7611 | [
"MIT"
] | null | null | null | ares/inference/__init__.py | astrojhgu/ares | 42008c8e4bf79f0b000cc833e02a86510bce7611 | [
"MIT"
] | null | null | null | from .PriorSet import PriorSet
from .ModelGrid import ModelGrid
from .ModelSample import ModelSample
from .FitGlobal21cm import FitGlobal21cm
#from .AbundanceMatching import AbundanceMatching
from .OptimizeSpectrum import SpectrumOptimization
from .FitLuminosityFunction import FitLuminosityFunction
| 37.5 | 56 | 0.88 | 28 | 300 | 9.428571 | 0.357143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014706 | 0.093333 | 300 | 7 | 57 | 42.857143 | 0.955882 | 0.16 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
265fed90f702f7ee6dcfb3ea3e3d593b07a306d9 | 36,720 | py | Python | fricas_kernel.py | scios/fricas_kernel | 1520c9b1fb864ac75b251cad2e11cf666797616e | [
"BSD-2-Clause"
] | 2 | 2016-07-18T23:58:23.000Z | 2016-08-21T03:40:06.000Z | fricas_kernel.py | scios/fricas_kernel | 1520c9b1fb864ac75b251cad2e11cf666797616e | [
"BSD-2-Clause"
] | null | null | null | fricas_kernel.py | scios/fricas_kernel | 1520c9b1fb864ac75b251cad2e11cf666797616e | [
"BSD-2-Clause"
] | null | null | null | #!/usr/bin/env python
# -*- coding: UTF-8 -*-
__author__ = "Kurt Pagani <nilqed@gmail.com>"
__svn_id__ = "$Id: theKernel.py 3 2015-08-18 03:28:01Z pagani $"
from IPython.kernel.zmq.kernelbase import Kernel
import re, os, tempfile
if os.name == 'nt':
import winpexpect as xp
spawn = xp.winspawn
else:
imp... | 66.763636 | 20,877 | 0.774346 | 2,488 | 36,720 | 11.342846 | 0.432878 | 0.005209 | 0.003473 | 0.006697 | 0.053152 | 0.048404 | 0.044541 | 0.043478 | 0.036746 | 0.034265 | 0 | 0.107809 | 0.144172 | 36,720 | 549 | 20,878 | 66.885246 | 0.790206 | 0.087037 | 0 | 0.272109 | 0 | 0.010204 | 0.681894 | 0.639375 | 0 | 1 | 0 | 0 | 0 | 1 | 0.085034 | false | 0 | 0.027211 | 0 | 0.285714 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
cd0460a6321b6491b0c98643c51a6b60dc943fa4 | 121 | py | Python | offer/admin.py | divyesh1099/badboystyle | f4fec0858b43e14f0e1f173261f363d4262c28ea | [
"MIT"
] | null | null | null | offer/admin.py | divyesh1099/badboystyle | f4fec0858b43e14f0e1f173261f363d4262c28ea | [
"MIT"
] | null | null | null | offer/admin.py | divyesh1099/badboystyle | f4fec0858b43e14f0e1f173261f363d4262c28ea | [
"MIT"
] | null | null | null | from django.contrib import admin
from offer.models import Offer
# Register your models here.
admin.site.register(Offer) | 20.166667 | 32 | 0.809917 | 18 | 121 | 5.444444 | 0.611111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123967 | 121 | 6 | 33 | 20.166667 | 0.924528 | 0.214876 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
cd068519ad066e19b201690189aff6a0d901e84e | 287 | py | Python | scripts/serializers.py | akxen/nemde-worker | 1a6e4f654ce7378b9a56f8985b916f1e8cbe8098 | [
"Apache-2.0"
] | null | null | null | scripts/serializers.py | akxen/nemde-worker | 1a6e4f654ce7378b9a56f8985b916f1e8cbe8098 | [
"Apache-2.0"
] | null | null | null | scripts/serializers.py | akxen/nemde-worker | 1a6e4f654ce7378b9a56f8985b916f1e8cbe8098 | [
"Apache-2.0"
] | null | null | null | """Custom serializers"""
import json
class JSONSerializer:
@staticmethod
def dumps(*args, **kwargs):
return json.dumps(*args, **kwargs).encode('utf-8')
@staticmethod
def loads(s, *args, **kwargs):
return json.loads(s.decode('utf-8'), *args, **kwargs)
| 20.5 | 61 | 0.620209 | 34 | 287 | 5.235294 | 0.529412 | 0.224719 | 0.168539 | 0.224719 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008734 | 0.202091 | 287 | 13 | 62 | 22.076923 | 0.768559 | 0.062718 | 0 | 0.25 | 0 | 0 | 0.038023 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.125 | 0.25 | 0.75 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
cd113f44e83c038cd0630a686e5d6557ceb54c81 | 49 | py | Python | ox_profile/ui/__init__.py | SergeyPiskunov/ox_profile | 6959c1e96fb24b2996f8b31e0167ff6f16d4aabd | [
"MIT"
] | 17 | 2019-04-25T00:30:20.000Z | 2020-08-28T21:09:28.000Z | ox_profile/ui/__init__.py | SergeyPiskunov/ox_profile | 6959c1e96fb24b2996f8b31e0167ff6f16d4aabd | [
"MIT"
] | 2 | 2019-09-22T15:14:53.000Z | 2019-10-05T22:29:01.000Z | ox_profile/ui/__init__.py | SergeyPiskunov/ox_profile | 6959c1e96fb24b2996f8b31e0167ff6f16d4aabd | [
"MIT"
] | 2 | 2019-07-07T11:42:04.000Z | 2019-08-10T09:51:14.000Z | """Package for user interfaces to ox_profile.
""" | 24.5 | 45 | 0.734694 | 7 | 49 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122449 | 49 | 2 | 46 | 24.5 | 0.813953 | 0.857143 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
cd382c20e15e7dc9daa9c798a75938e1294c230d | 125 | py | Python | src/camera.py | thebruce87/Photobooth | 43ba9e9537bd51040c2cb2ffb809d7a8ca0633ef | [
"MIT"
] | null | null | null | src/camera.py | thebruce87/Photobooth | 43ba9e9537bd51040c2cb2ffb809d7a8ca0633ef | [
"MIT"
] | null | null | null | src/camera.py | thebruce87/Photobooth | 43ba9e9537bd51040c2cb2ffb809d7a8ca0633ef | [
"MIT"
] | null | null | null | import subprocess
class Camera():
def __init__(self):
pass
def captureAndDownload(filename = 'capture.jpg'):
pass
| 12.5 | 50 | 0.712 | 14 | 125 | 6.071429 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184 | 125 | 9 | 51 | 13.888889 | 0.833333 | 0 | 0 | 0.333333 | 0 | 0 | 0.088 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0.166667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
cd41a7363e39ec5857330fc09a68e1c3ca0162f1 | 133 | py | Python | pypci/__init__.py | AEW2015/pypci | 317e1ad1fe1fddf937fe19d7dead37b8533953d7 | [
"MIT"
] | 2 | 2020-04-20T15:12:06.000Z | 2020-06-04T08:04:39.000Z | pypci/__init__.py | AEW2015/pypci | 317e1ad1fe1fddf937fe19d7dead37b8533953d7 | [
"MIT"
] | null | null | null | pypci/__init__.py | AEW2015/pypci | 317e1ad1fe1fddf937fe19d7dead37b8533953d7 | [
"MIT"
] | 2 | 2020-07-08T10:05:27.000Z | 2021-02-27T14:59:11.000Z |
__version__ = '0.1.3'
try:
from .pypci import lspci
from .pypci import read
from .pypci import write
except:
pass
| 12.090909 | 28 | 0.646617 | 19 | 133 | 4.315789 | 0.684211 | 0.329268 | 0.54878 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03125 | 0.278195 | 133 | 10 | 29 | 13.3 | 0.822917 | 0 | 0 | 0 | 0 | 0 | 0.037879 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.142857 | 0.428571 | 0 | 0.428571 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 5 |
cd5690ce108881d5ac087cc2e5f6834083ecdec1 | 8,544 | py | Python | tests/test_conversion.py | zapatacomputing/z-quantum-qubo | eda4db91c696f3252dcb0cb69938845c6856e099 | [
"Apache-2.0"
] | 2 | 2021-01-22T18:38:47.000Z | 2021-11-17T11:36:54.000Z | tests/test_conversion.py | zapatacomputing/z-quantum-qubo | eda4db91c696f3252dcb0cb69938845c6856e099 | [
"Apache-2.0"
] | 15 | 2021-01-29T20:22:46.000Z | 2022-03-30T21:40:45.000Z | tests/test_conversion.py | zapatacomputing/z-quantum-qubo | eda4db91c696f3252dcb0cb69938845c6856e099 | [
"Apache-2.0"
] | 1 | 2021-01-22T18:40:03.000Z | 2021-01-22T18:40:03.000Z | from openfermion.ops.operators.ising_operator import IsingOperator
import pytest
import numpy as np
import dimod
from zquantum.qubo.conversions import (
convert_qubo_to_openfermion_ising,
convert_openfermion_ising_to_qubo,
convert_sampleset_to_measurements,
convert_measurements_to_sampleset,
)
from zqu... | 29.666667 | 87 | 0.610253 | 1,087 | 8,544 | 4.562098 | 0.097516 | 0.028232 | 0.019964 | 0.016939 | 0.845735 | 0.812664 | 0.779794 | 0.726356 | 0.698125 | 0.671708 | 0 | 0.061972 | 0.265332 | 8,544 | 287 | 88 | 29.770035 | 0.728055 | 0.015332 | 0 | 0.668033 | 0 | 0.004098 | 0.007372 | 0 | 0 | 0 | 0 | 0 | 0.065574 | 1 | 0.04918 | false | 0 | 0.02459 | 0 | 0.07377 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
2699bec2267d932c578d74f4c73047cde31f4273 | 98 | py | Python | backend/core/views/errors.py | block-id/wallet | b5479df7df0e5b5733f0ae262ffc17f9b923347d | [
"Apache-2.0"
] | null | null | null | backend/core/views/errors.py | block-id/wallet | b5479df7df0e5b5733f0ae262ffc17f9b923347d | [
"Apache-2.0"
] | null | null | null | backend/core/views/errors.py | block-id/wallet | b5479df7df0e5b5733f0ae262ffc17f9b923347d | [
"Apache-2.0"
] | 1 | 2021-12-31T17:27:44.000Z | 2021-12-31T17:27:44.000Z | from django.http.response import Http404
def http_404(request):
raise Http404("Not found.")
| 16.333333 | 40 | 0.744898 | 14 | 98 | 5.142857 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108434 | 0.153061 | 98 | 5 | 41 | 19.6 | 0.759036 | 0 | 0 | 0 | 0 | 0 | 0.102041 | 0 | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
26b162ac1fc0730e085c5db5e49eb77197bd6607 | 132 | py | Python | Ene-Jun-2019/Ejemplos/Code Golf/albertos-solution.py | Arbupa/DAS_Sistemas | 52263ab91436b2e5a24ce6f8493aaa2e2fe92fb1 | [
"MIT"
] | 41 | 2017-09-26T09:36:32.000Z | 2022-03-19T18:05:25.000Z | Ene-Jun-2019/Ejemplos/Code Golf/albertos-solution.py | Arbupa/DAS_Sistemas | 52263ab91436b2e5a24ce6f8493aaa2e2fe92fb1 | [
"MIT"
] | 67 | 2017-09-11T05:06:12.000Z | 2022-02-14T04:44:04.000Z | Ene-Jun-2019/Ejemplos/Code Golf/albertos-solution.py | Arbupa/DAS_Sistemas | 52263ab91436b2e5a24ce6f8493aaa2e2fe92fb1 | [
"MIT"
] | 210 | 2017-09-01T00:10:08.000Z | 2022-03-19T18:05:12.000Z | for j in [6,11,4,19,61,100,1001,5001,55556,777778]:
print(' '.join([str(i) for i in range(1,j)]),end='' if j==777778 else '\n')
| 44 | 79 | 0.598485 | 29 | 132 | 2.724138 | 0.793103 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.324561 | 0.136364 | 132 | 2 | 80 | 66 | 0.368421 | 0 | 0 | 0 | 0 | 0 | 0.022727 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
26f27d246b84c463c6fe5304aa037e7f4d523d15 | 200 | py | Python | tests/test_testTime.py | aaronaddleman/python-experiments | ab79790bbb604e54f7c4fd64ee905a313b6ad913 | [
"MIT"
] | null | null | null | tests/test_testTime.py | aaronaddleman/python-experiments | ab79790bbb604e54f7c4fd64ee905a313b6ad913 | [
"MIT"
] | null | null | null | tests/test_testTime.py | aaronaddleman/python-experiments | ab79790bbb604e54f7c4fd64ee905a313b6ad913 | [
"MIT"
] | null | null | null | import pytest
from testTime import EpochTime
def test_EpochTime():
newtime = EpochTime(t=1605679892756, unit='milliseconds_since_epoch', divide_by=1000)
assert isinstance(newtime, EpochTime)
| 28.571429 | 89 | 0.795 | 24 | 200 | 6.458333 | 0.791667 | 0.206452 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097143 | 0.125 | 200 | 6 | 90 | 33.333333 | 0.788571 | 0 | 0 | 0 | 0 | 0 | 0.12 | 0.12 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | false | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
f82830bf1853f6e34aad287960a585b412b624aa | 150 | py | Python | toolbox/scraper/admin.py | akshedu/toolbox | 7c647433b68f1098ee4c8623f836f74785dc970c | [
"MIT"
] | null | null | null | toolbox/scraper/admin.py | akshedu/toolbox | 7c647433b68f1098ee4c8623f836f74785dc970c | [
"MIT"
] | null | null | null | toolbox/scraper/admin.py | akshedu/toolbox | 7c647433b68f1098ee4c8623f836f74785dc970c | [
"MIT"
] | null | null | null | from django.contrib import admin
# Register your models here.
from toolbox.scraper.models import TrackedChannel
admin.site.register(TrackedChannel)
| 21.428571 | 49 | 0.833333 | 19 | 150 | 6.578947 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106667 | 150 | 6 | 50 | 25 | 0.932836 | 0.173333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
f859690dd0d990d0138623d909668f78cc8aadce | 162 | py | Python | locker/admin.py | alexhong121/ai_cupboard | 50baa791c969b951de5b47d980e19c0df3c04e7f | [
"MIT"
] | null | null | null | locker/admin.py | alexhong121/ai_cupboard | 50baa791c969b951de5b47d980e19c0df3c04e7f | [
"MIT"
] | null | null | null | locker/admin.py | alexhong121/ai_cupboard | 50baa791c969b951de5b47d980e19c0df3c04e7f | [
"MIT"
] | null | null | null | from django.contrib import admin
from locker.models import Cabinet,Lockers
# Register your models here.
admin.site.register(Cabinet)
admin.site.register(Lockers) | 27 | 41 | 0.82716 | 23 | 162 | 5.826087 | 0.565217 | 0.134328 | 0.253731 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092593 | 162 | 6 | 42 | 27 | 0.911565 | 0.160494 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
f88d9e3c04a2015ae56977d7b88c77b5c30b9596 | 1,347 | py | Python | rvpvp/isa/rvv/vwxxx_wx.py | ultrafive/riscv-pvp | 843e38422c3d545352b955764927d5e7847e5453 | [
"Unlicense"
] | 5 | 2021-05-10T09:57:00.000Z | 2021-10-05T14:39:20.000Z | rvpvp/isa/rvv/vwxxx_wx.py | ultrafive/riscv-pvp | 843e38422c3d545352b955764927d5e7847e5453 | [
"Unlicense"
] | null | null | null | rvpvp/isa/rvv/vwxxx_wx.py | ultrafive/riscv-pvp | 843e38422c3d545352b955764927d5e7847e5453 | [
"Unlicense"
] | 1 | 2021-05-14T20:24:11.000Z | 2021-05-14T20:24:11.000Z | from ...isa.inst import *
import numpy as np
class Vwadd_wx(Inst):
name = 'vwadd.wx'
# vwadd.wx vd, vs2, rs1, vm
def golden(self):
if self['vl']==0:
return self['ori']
result = self['ori'].copy()
maskflag = 1 if 'mask' in self else 0
vstart = self['vsta... | 32.853659 | 106 | 0.533036 | 185 | 1,347 | 3.848649 | 0.248649 | 0.042135 | 0.05618 | 0.061798 | 0.738764 | 0.738764 | 0.738764 | 0.738764 | 0.738764 | 0.738764 | 0 | 0.021299 | 0.302895 | 1,347 | 40 | 107 | 33.675 | 0.736954 | 0.039347 | 0 | 0.5625 | 0 | 0 | 0.107143 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0625 | false | 0 | 0.0625 | 0 | 0.5 | 0.0625 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
f8a2c00a26b699a980abe9f34df4fe3f40d2731a | 143 | py | Python | example1/hello.py | dddiaz/cg-python-demo | f83658b2d4b5419c3f07555aa91688c0608a1f03 | [
"MIT"
] | null | null | null | example1/hello.py | dddiaz/cg-python-demo | f83658b2d4b5419c3f07555aa91688c0608a1f03 | [
"MIT"
] | null | null | null | example1/hello.py | dddiaz/cg-python-demo | f83658b2d4b5419c3f07555aa91688c0608a1f03 | [
"MIT"
] | null | null | null | def hello():
# Hey i'm a comment
# I am a helpful note for humans, and will not be ran
pass
if __name__ == '__main__':
hello() | 20.428571 | 57 | 0.608392 | 24 | 143 | 3.291667 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.293706 | 143 | 7 | 58 | 20.428571 | 0.782178 | 0.482517 | 0 | 0 | 0 | 0 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0.25 | 0 | 0 | 0.25 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
f8a5760be5357464fc406cd7681052085a0bcf64 | 114 | py | Python | dlpfs/__init__.py | IBM/data-leakage-prevention-filesystem | 9b3c0fb2692512dbc0066825162aa0852d7ae883 | [
"Apache-2.0"
] | 10 | 2022-03-04T08:46:42.000Z | 2022-03-22T15:28:25.000Z | dlpfs/__init__.py | IBM/data-leakage-prevention-filesystem | 9b3c0fb2692512dbc0066825162aa0852d7ae883 | [
"Apache-2.0"
] | null | null | null | dlpfs/__init__.py | IBM/data-leakage-prevention-filesystem | 9b3c0fb2692512dbc0066825162aa0852d7ae883 | [
"Apache-2.0"
] | 1 | 2022-03-04T09:25:55.000Z | 2022-03-04T09:25:55.000Z | from .loopback import Loopback # noqa
from .dataleakageprevention import DataLeakagePreventionFileSystem # noqa
| 38 | 74 | 0.842105 | 10 | 114 | 9.6 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122807 | 114 | 2 | 75 | 57 | 0.96 | 0.078947 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
f8d32a91b7dcf899716319e527aacb82f85b491d | 96 | py | Python | venv/lib/python3.8/site-packages/cachy/serializers/json_serializer.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/cachy/serializers/json_serializer.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/cachy/serializers/json_serializer.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/50/d8/d2/31ad1ab81f5c548f91bba341e5db6f5caa9243535eeba7e594e2f0c53d | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.375 | 0 | 96 | 1 | 96 | 96 | 0.520833 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6ef1845a3f1c476968e48ff0506631fb5e48d96b | 142 | py | Python | domain/updatable.py | JJimenez-1/ollivanders_wands_shop | 7adefd58b24853db518cf5b5d0b5efe0826eee4c | [
"MIT"
] | null | null | null | domain/updatable.py | JJimenez-1/ollivanders_wands_shop | 7adefd58b24853db518cf5b5d0b5efe0826eee4c | [
"MIT"
] | null | null | null | domain/updatable.py | JJimenez-1/ollivanders_wands_shop | 7adefd58b24853db518cf5b5d0b5efe0826eee4c | [
"MIT"
] | 1 | 2020-02-27T12:42:51.000Z | 2020-02-27T12:42:51.000Z | from abc import ABCMeta, abstractmethod
class Updatable(metaclass=ABCMeta):
@abstractmethod
def update_quality(self):
pass
| 15.777778 | 39 | 0.725352 | 15 | 142 | 6.8 | 0.866667 | 0.411765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.211268 | 142 | 8 | 40 | 17.75 | 0.910714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.2 | 0.2 | 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 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
3e0ee4a148a0080b57f49e891ac2ca627aaf5bca | 1,050 | py | Python | personal_portfolio/Home/migrations/0010_auto_20200627_1510.py | zahrakoohestani/personalPortfolio | 922b4c5bf1006f68e9203b2ac99cc1671a20796a | [
"MIT"
] | 1 | 2020-08-30T12:27:12.000Z | 2020-08-30T12:27:12.000Z | personal_portfolio/Home/migrations/0010_auto_20200627_1510.py | zahrakoohestani/personalPortfolio | 922b4c5bf1006f68e9203b2ac99cc1671a20796a | [
"MIT"
] | null | null | null | personal_portfolio/Home/migrations/0010_auto_20200627_1510.py | zahrakoohestani/personalPortfolio | 922b4c5bf1006f68e9203b2ac99cc1671a20796a | [
"MIT"
] | null | null | null | # Generated by Django 3.0.7 on 2020-06-27 10:40
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('Home', '0009_auto_20200627_1504'),
]
operations = [
migrations.AddField(
model_name='about_me',
name='li_1',
... | 26.923077 | 63 | 0.542857 | 109 | 1,050 | 5.018349 | 0.385321 | 0.164534 | 0.210238 | 0.246801 | 0.722121 | 0.722121 | 0.722121 | 0.650823 | 0.577697 | 0.577697 | 0 | 0.072238 | 0.327619 | 1,050 | 38 | 64 | 27.631579 | 0.70255 | 0.042857 | 0 | 0.625 | 1 | 0 | 0.08674 | 0.022931 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.03125 | 0 | 0.125 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
3e0fea84af8b156ec4acbadc4f1851ebb835e7df | 92 | py | Python | xently/core/exceptions.py | ajharry69/django-xently | f6dd273ea6c3a4c01f46b440c4a0d0e1edb24f8b | [
"BSD-2-Clause"
] | 2 | 2021-06-20T20:28:30.000Z | 2021-08-02T15:08:03.000Z | realzhub/core/exceptions.py | andy1729/RealzHub | 8e476d972d1b8f47442744c935ada570edbb9e1e | [
"MIT"
] | 1 | 2021-08-02T21:09:22.000Z | 2021-08-02T21:09:22.000Z | xently/core/exceptions.py | ajharry69/django-xently | f6dd273ea6c3a4c01f46b440c4a0d0e1edb24f8b | [
"BSD-2-Clause"
] | null | null | null | class AppNotFoundError(Exception):
pass
class ClassNotFoundError(Exception):
pass
| 13.142857 | 36 | 0.76087 | 8 | 92 | 8.75 | 0.625 | 0.371429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 92 | 6 | 37 | 15.333333 | 0.921053 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
3e13b693e936f9a773ca42ada244d82a866e297b | 291 | py | Python | medical_prescription/landing/views.py | ristovao/2017.2-Receituario-Medico | 5387eb80dfb354e948abe64f7d8bbe087fc4f136 | [
"MIT"
] | 11 | 2017-09-19T00:29:40.000Z | 2018-04-05T23:52:39.000Z | medical_prescription/landing/views.py | ristovao/2017.2-Receituario-Medico | 5387eb80dfb354e948abe64f7d8bbe087fc4f136 | [
"MIT"
] | 271 | 2017-09-09T00:07:28.000Z | 2017-12-07T05:00:45.000Z | medical_prescription/landing/views.py | ristovao/2017.2-Receituario-Medico | 5387eb80dfb354e948abe64f7d8bbe087fc4f136 | [
"MIT"
] | 26 | 2017-08-31T20:48:49.000Z | 2018-03-21T15:11:27.000Z | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.shortcuts import render
from user.decorators import user_is_logged
@user_is_logged
def home(request):
return render(request, 'landing.html')
def team_page(request):
return render(request, 'team.html')
| 18.1875 | 42 | 0.752577 | 40 | 291 | 5.225 | 0.575 | 0.057416 | 0.114833 | 0.248804 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004016 | 0.14433 | 291 | 15 | 43 | 19.4 | 0.835341 | 0.072165 | 0 | 0 | 0 | 0 | 0.078358 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.375 | 0.25 | 0.875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
3e3ea7f40a61fff6fae1134879087a10f6d9d0ec | 307 | py | Python | src/pyjion/wsgi.py | psydox/Pyjion | ddf69db27b356710ff7db3c4ba9c3e0b55de1039 | [
"MIT"
] | 1,137 | 2020-10-14T10:24:18.000Z | 2022-03-31T09:37:03.000Z | src/pyjion/wsgi.py | psydox/Pyjion | ddf69db27b356710ff7db3c4ba9c3e0b55de1039 | [
"MIT"
] | 310 | 2016-05-21T05:30:23.000Z | 2022-03-21T00:59:57.000Z | src/pyjion/wsgi.py | psydox/Pyjion | ddf69db27b356710ff7db3c4ba9c3e0b55de1039 | [
"MIT"
] | 55 | 2016-05-20T06:11:28.000Z | 2022-03-15T12:48:00.000Z | import pyjion
class PyjionWsgiMiddleware:
"""Enables the Pyjion JIT for all WSGI requests."""
def __init__(self, application):
pyjion.enable()
self.application = application
def __call__(self, environ, start_response):
return self.application(environ, start_response)
| 25.583333 | 56 | 0.703583 | 33 | 307 | 6.242424 | 0.636364 | 0.218447 | 0.194175 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.211726 | 307 | 11 | 57 | 27.909091 | 0.85124 | 0.14658 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.142857 | 0.714286 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
3e487d48290f1bfe2bc704ee538cb9cf841f4ab2 | 37 | py | Python | ostools/exceptions.py | bluepython508/filepath | 692cc61e86c6a0ed9c347cce7f7c04036a82b894 | [
"MIT"
] | null | null | null | ostools/exceptions.py | bluepython508/filepath | 692cc61e86c6a0ed9c347cce7f7c04036a82b894 | [
"MIT"
] | null | null | null | ostools/exceptions.py | bluepython508/filepath | 692cc61e86c6a0ed9c347cce7f7c04036a82b894 | [
"MIT"
] | null | null | null | class PathError(Exception):
pass
| 12.333333 | 27 | 0.72973 | 4 | 37 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189189 | 37 | 2 | 28 | 18.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
e42a9ba4d35682373cb617507767952ce5fee3f4 | 85 | py | Python | apc_pdu_controller/__init__.py | ahribeng/apc_pdu_controller | 9576c7023ada282b51dbe0a1d0e88b2b84dcc498 | [
"MIT"
] | null | null | null | apc_pdu_controller/__init__.py | ahribeng/apc_pdu_controller | 9576c7023ada282b51dbe0a1d0e88b2b84dcc498 | [
"MIT"
] | null | null | null | apc_pdu_controller/__init__.py | ahribeng/apc_pdu_controller | 9576c7023ada282b51dbe0a1d0e88b2b84dcc498 | [
"MIT"
] | null | null | null | from apc_pdu_controller.apc_pdu_controller import APCController, APCBase, Connection
| 42.5 | 84 | 0.894118 | 11 | 85 | 6.545455 | 0.727273 | 0.166667 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070588 | 85 | 1 | 85 | 85 | 0.911392 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
e42c453d4bb1512b96a298bd2205f9f81ecd197b | 156 | py | Python | src/py220_supplemental/lessons/lesson06/class_content/ProfilingPerformance/source/solutions/cython/great_circle_setup_v2.py | UWPCE-Python-Course-2-Materials/supplementary_files | d3155b09a92d9660099da0f331663f472a9289eb | [
"MIT"
] | 10 | 2020-06-28T05:38:32.000Z | 2022-01-27T13:48:51.000Z | src/py220_supplemental/lessons/lesson06/class_content/ProfilingPerformance/source/solutions/cython/great_circle_setup_v2.py | UWPCE-Python-Course-2-Materials/supplementary_files | d3155b09a92d9660099da0f331663f472a9289eb | [
"MIT"
] | null | null | null | src/py220_supplemental/lessons/lesson06/class_content/ProfilingPerformance/source/solutions/cython/great_circle_setup_v2.py | UWPCE-Python-Course-2-Materials/supplementary_files | d3155b09a92d9660099da0f331663f472a9289eb | [
"MIT"
] | 5 | 2020-09-24T20:14:36.000Z | 2021-11-07T22:47:23.000Z | from distutils.core import setup
from Cython.Build import cythonize
setup(
name='Great Circle v2',
ext_modules=cythonize("great_circle_v2.pyx"),
)
| 19.5 | 49 | 0.75641 | 22 | 156 | 5.227273 | 0.681818 | 0.191304 | 0.226087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015038 | 0.147436 | 156 | 7 | 50 | 22.285714 | 0.849624 | 0 | 0 | 0 | 0 | 0 | 0.217949 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
e430609bb248b986d386b211e70cbe21749f113a | 124 | py | Python | katas/kyu_6/find_the_divisors.py | the-zebulan/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | 40 | 2016-03-09T12:26:20.000Z | 2022-03-23T08:44:51.000Z | katas/kyu_6/find_the_divisors.py | akalynych/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | null | null | null | katas/kyu_6/find_the_divisors.py | akalynych/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | 36 | 2016-11-07T19:59:58.000Z | 2022-03-31T11:18:27.000Z | def divisors(num):
return [a for a in xrange(2, num / 2 + 1) if num % a == 0] or \
'{} is prime'.format(num)
| 31 | 67 | 0.516129 | 22 | 124 | 2.909091 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047059 | 0.314516 | 124 | 3 | 68 | 41.333333 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0.08871 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
e445511a262cada2700d933e63ff9f1b826ec493 | 106 | py | Python | sample/api.py | DewMaple/falcon_router | 70f0ed4afdeb9e30a73a5e4713267eab1dfec3fa | [
"BSD-3-Clause"
] | 1 | 2021-06-29T05:29:29.000Z | 2021-06-29T05:29:29.000Z | sample/api.py | DewMaple/falcon_router | 70f0ed4afdeb9e30a73a5e4713267eab1dfec3fa | [
"BSD-3-Clause"
] | null | null | null | sample/api.py | DewMaple/falcon_router | 70f0ed4afdeb9e30a73a5e4713267eab1dfec3fa | [
"BSD-3-Clause"
] | null | null | null | from ..router import route
@route("/hello", method="GET")
def hello(org_id: int):
return "Hello"
| 17.666667 | 30 | 0.641509 | 15 | 106 | 4.466667 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188679 | 106 | 6 | 31 | 17.666667 | 0.77907 | 0 | 0 | 0 | 0 | 0 | 0.130841 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
e45a9f79e2ebf673c543917fb694a518142429a8 | 58 | py | Python | ratelimit/__init__.py | devkral/django-fast-ratelimit | 576729bbf52721ac2849c79c2ff8e075ecdc02b2 | [
"MIT"
] | 1 | 2021-05-18T00:03:11.000Z | 2021-05-18T00:03:11.000Z | ratelimit/__init__.py | devkral/django-fast-ratelimit | 576729bbf52721ac2849c79c2ff8e075ecdc02b2 | [
"MIT"
] | 1 | 2019-10-28T11:40:04.000Z | 2019-11-09T23:35:24.000Z | ratelimit/__init__.py | devkral/django-fast-ratelimit | 576729bbf52721ac2849c79c2ff8e075ecdc02b2 | [
"MIT"
] | 1 | 2019-11-10T10:05:15.000Z | 2019-11-10T10:05:15.000Z |
from ._core import * # noqa
from .misc import * # noqa
| 14.5 | 28 | 0.637931 | 8 | 58 | 4.5 | 0.625 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.258621 | 58 | 3 | 29 | 19.333333 | 0.837209 | 0.155172 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
e45ff497fcbbbcaa22d84438124b45972555347f | 2,621 | py | Python | app/shoppinglist.py | prcleary/shoppinglist | e9559f387a85dec8ee1f5ee8c1857da55c8cb88a | [
"MIT"
] | null | null | null | app/shoppinglist.py | prcleary/shoppinglist | e9559f387a85dec8ee1f5ee8c1857da55c8cb88a | [
"MIT"
] | 1 | 2021-02-19T19:35:38.000Z | 2021-02-19T19:36:08.000Z | app/shoppinglist.py | prcleary/shoppinglist | e9559f387a85dec8ee1f5ee8c1857da55c8cb88a | [
"MIT"
] | null | null | null | from flask import Flask, render_template, request
def get_listitems():
listitems = { "Miscellaneous" : ["Antihistamines", "Cards", "Newspaper", "Wrapping paper"], "Fruit and vegetables" : ["Apples", "Avocadoes", "Bananas", "Berries", "Broccoli", "Cabbage", "Carrots", "Cauliflower", "Celery", "Cherries", "Chillis"... | 124.809524 | 2,225 | 0.648989 | 289 | 2,621 | 5.823529 | 0.757785 | 0.024955 | 0.023767 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001744 | 0.124762 | 2,621 | 20 | 2,226 | 131.05 | 0.731909 | 0 | 0 | 0 | 0 | 0 | 0.600763 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0 | 0.071429 | 0.142857 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
e47abcc11dcfdc18dc94a903136e68e6476cbde9 | 99 | py | Python | collective/ckeditor/tests/__init__.py | vindula/collective.ckeditor | 43129d98c77fa567fca4ffc0ce4a911f47b721d0 | [
"ZPL-1.1"
] | null | null | null | collective/ckeditor/tests/__init__.py | vindula/collective.ckeditor | 43129d98c77fa567fca4ffc0ce4a911f47b721d0 | [
"ZPL-1.1"
] | null | null | null | collective/ckeditor/tests/__init__.py | vindula/collective.ckeditor | 43129d98c77fa567fca4ffc0ce4a911f47b721d0 | [
"ZPL-1.1"
] | null | null | null | # Other packages may find this useful
from collective.ckeditor.tests.base import CKEditorTestCase
| 24.75 | 59 | 0.838384 | 13 | 99 | 6.384615 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 99 | 3 | 60 | 33 | 0.954023 | 0.353535 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
e4e28805217ee2804848faf1fb0e0d61e4eddfac | 64 | py | Python | pyviz3d/color.py | butala/pyviz3d | 275ae6596de61a767ce7b7f3470c391596150421 | [
"MIT"
] | null | null | null | pyviz3d/color.py | butala/pyviz3d | 275ae6596de61a767ce7b7f3470c391596150421 | [
"MIT"
] | null | null | null | pyviz3d/color.py | butala/pyviz3d | 275ae6596de61a767ce7b7f3470c391596150421 | [
"MIT"
] | null | null | null | YELLOW = (255, 255, 0)
CYAN = (0, 255, 255)
RED = (255, 0, 0)
| 10.666667 | 22 | 0.5 | 12 | 64 | 2.666667 | 0.416667 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.404255 | 0.265625 | 64 | 5 | 23 | 12.8 | 0.276596 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
9011617987e2f0d8476d7468acbd67bd671458a1 | 185 | py | Python | flytekit/core/with_metadata.py | latchbio/flaightkit | 365e339cea21965680a9252b91085f6a5c3207d5 | [
"Apache-2.0"
] | null | null | null | flytekit/core/with_metadata.py | latchbio/flaightkit | 365e339cea21965680a9252b91085f6a5c3207d5 | [
"Apache-2.0"
] | null | null | null | flytekit/core/with_metadata.py | latchbio/flaightkit | 365e339cea21965680a9252b91085f6a5c3207d5 | [
"Apache-2.0"
] | null | null | null | from typing import Any, Dict
class FlyteMetadata:
def __init__(self, data: Dict[str, Any]):
self._data = data
@property
def data(self):
return self._data
| 16.818182 | 45 | 0.632432 | 24 | 185 | 4.625 | 0.583333 | 0.216216 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.275676 | 185 | 10 | 46 | 18.5 | 0.828358 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.142857 | 0.714286 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
9047897866bf1d2f814b3477d2ba5a8c0e793d11 | 104 | py | Python | run.py | jod35/Fast-Food-Fast | 7dbe2ea8b602460f917bc0dc76ad65f3ae09b829 | [
"Apache-2.0"
] | null | null | null | run.py | jod35/Fast-Food-Fast | 7dbe2ea8b602460f917bc0dc76ad65f3ae09b829 | [
"Apache-2.0"
] | null | null | null | run.py | jod35/Fast-Food-Fast | 7dbe2ea8b602460f917bc0dc76ad65f3ae09b829 | [
"Apache-2.0"
] | null | null | null | from app import create_app
from app.config import DevConfig
if __name__ == "__main__":
create_app() | 20.8 | 32 | 0.759615 | 15 | 104 | 4.6 | 0.6 | 0.202899 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163462 | 104 | 5 | 33 | 20.8 | 0.793103 | 0 | 0 | 0 | 0 | 0 | 0.07619 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
5f409e22915bb10fe39fd3cb7bddaf5c33ca505e | 373 | py | Python | raopy/rtsp/__init__.py | Schlaubischlump/raopy_old | 2f969f4392208bd6440cd86d9e3f332961f80b3e | [
"MIT"
] | null | null | null | raopy/rtsp/__init__.py | Schlaubischlump/raopy_old | 2f969f4392208bd6440cd86d9e3f332961f80b3e | [
"MIT"
] | null | null | null | raopy/rtsp/__init__.py | Schlaubischlump/raopy_old | 2f969f4392208bd6440cd86d9e3f332961f80b3e | [
"MIT"
] | null | null | null | """
Classes in this package are used to create an RSTP connection to the AirTunesDevice and perform the initial
authentication and the handshake.
"""
from .rtspclient import RTSPClient, RAOPCrypto, RAOPCodec, RTSPReason, RTSPStatus
from .dmap import DmapList, DmapItem
__all__ = ["RTSPClient", "RAOPCrypto", "RAOPCodec"... | 46.625 | 107 | 0.77748 | 43 | 373 | 6.651163 | 0.674419 | 0.13986 | 0.202797 | 0.272727 | 0.342657 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123324 | 373 | 8 | 108 | 46.625 | 0.874618 | 0.378016 | 0 | 0 | 0 | 0 | 0.288889 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
5f5344cf29c4fdb63ca909ca6ba3ea9cd0476925 | 90 | py | Python | pyqmri/_helper_fun/__init__.py | agahkarakuzu/PyQMRI | 30871de4cc15dee573f9fa71990b1a4331a690f2 | [
"Apache-2.0"
] | 18 | 2019-08-09T18:42:33.000Z | 2022-03-22T07:56:48.000Z | pyqmri/_helper_fun/__init__.py | agahkarakuzu/PyQMRI | 30871de4cc15dee573f9fa71990b1a4331a690f2 | [
"Apache-2.0"
] | 4 | 2020-10-05T15:56:58.000Z | 2021-08-19T11:51:54.000Z | pyqmri/_helper_fun/__init__.py | agahkarakuzu/PyQMRI | 30871de4cc15dee573f9fa71990b1a4331a690f2 | [
"Apache-2.0"
] | 5 | 2020-04-21T17:28:58.000Z | 2020-12-05T21:44:50.000Z | """Utility functions for Fitting and Reconstruction."""
from ._clprogram import CLProgram
| 30 | 55 | 0.8 | 10 | 90 | 7.1 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 90 | 2 | 56 | 45 | 0.8875 | 0.544444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
5f62bb8164539fec803814680b81617b2c4c4356 | 42 | py | Python | www/speed/benchmarks/big_integers.py | sejalseth/brython | 0b59368eac40a3b1eef7b13f2102b18cb5629687 | [
"BSD-3-Clause"
] | 5,926 | 2015-01-01T07:45:08.000Z | 2022-03-31T12:34:38.000Z | www/speed/benchmarks/big_integers.py | sejalseth/brython | 0b59368eac40a3b1eef7b13f2102b18cb5629687 | [
"BSD-3-Clause"
] | 1,728 | 2015-01-01T01:09:12.000Z | 2022-03-30T23:25:22.000Z | www/speed/benchmarks/big_integers.py | sejalseth/brython | 0b59368eac40a3b1eef7b13f2102b18cb5629687 | [
"BSD-3-Clause"
] | 574 | 2015-01-02T01:36:10.000Z | 2022-03-26T10:18:48.000Z | n = 60
for i in range(10000):
2 ** n
| 8.4 | 22 | 0.5 | 9 | 42 | 2.333333 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.296296 | 0.357143 | 42 | 4 | 23 | 10.5 | 0.481481 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
5f93b32b217c95e10aaf40d51be82c1b75a955f0 | 1,259 | py | Python | py/levels/bombs.py | triffid/kiki | b64b8524063c149a5cc9118f48d80afec1d8a942 | [
"Unlicense"
] | 2 | 2020-01-04T23:44:10.000Z | 2020-07-12T17:10:09.000Z | py/levels/bombs.py | triffid/kiki | b64b8524063c149a5cc9118f48d80afec1d8a942 | [
"Unlicense"
] | null | null | null | py/levels/bombs.py | triffid/kiki | b64b8524063c149a5cc9118f48d80afec1d8a942 | [
"Unlicense"
] | 1 | 2022-03-16T05:43:33.000Z | 2022-03-16T05:43:33.000Z | # .................................................................................................................
level_dict["bombs"] = {
"scheme": "red_scheme",
"size": (9,9,9),
"intro": "bombs",
"help": ... | 50.36 | 115 | 0.230342 | 70 | 1,259 | 4.114286 | 0.485714 | 0.020833 | 0.28125 | 0.333333 | 0.4375 | 0.4375 | 0.4375 | 0.4375 | 0.4375 | 0.4375 | 0 | 0.038532 | 0.567117 | 1,259 | 25 | 116 | 50.36 | 0.489908 | 0.089754 | 0 | 0 | 0 | 0 | 0.167883 | 0.025026 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
5f97987fe4efb5e8219a5bdd0dc5a3ec959421d9 | 250 | py | Python | src/pages/__init__.py | byran/ScreenPlayExample | 1108a8567aacc8ddc8e460a42f54409ad7dc0f23 | [
"MIT"
] | null | null | null | src/pages/__init__.py | byran/ScreenPlayExample | 1108a8567aacc8ddc8e460a42f54409ad7dc0f23 | [
"MIT"
] | null | null | null | src/pages/__init__.py | byran/ScreenPlayExample | 1108a8567aacc8ddc8e460a42f54409ad7dc0f23 | [
"MIT"
] | null | null | null | from .duckduckgo_homepage import duckduckgo_homepage
from .duckduckgo_search_results import duckduckgo_search_results
__all__ = [
'duckduckgo_homepage', # duckduckgo_homepage.py
'duckduckgo_search_results' # duckduckgo_search_results.py
]
| 31.25 | 64 | 0.828 | 27 | 250 | 7.074074 | 0.296296 | 0.376963 | 0.481675 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116 | 250 | 7 | 65 | 35.714286 | 0.864253 | 0.204 | 0 | 0 | 0 | 0 | 0.22449 | 0.127551 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
5fa4427dbca823e25fc451d65cd5edf9faae16fb | 90 | py | Python | jax_bayes/variational/__init__.py | jamesvuc/jax-bayes | b91432cbf39dc0faebd1879a021fb2939d6072da | [
"MIT"
] | 9 | 2020-08-14T14:25:54.000Z | 2022-03-17T13:28:32.000Z | jax_bayes/variational/__init__.py | jamesvuc/jax-bayes | b91432cbf39dc0faebd1879a021fb2939d6072da | [
"MIT"
] | null | null | null | jax_bayes/variational/__init__.py | jamesvuc/jax-bayes | b91432cbf39dc0faebd1879a021fb2939d6072da | [
"MIT"
] | null | null | null | from .families import diagonal_mvn_fns
from .variational_family import variational_family | 30 | 50 | 0.888889 | 12 | 90 | 6.333333 | 0.666667 | 0.447368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 90 | 3 | 50 | 30 | 0.926829 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
5fce37d22cba2d6199fbb902be5345d6850179c6 | 1,685 | py | Python | app/__init__.py | fractus-io/fidelio-api | d08048ab5d57d8b616f2da3a40f9f123863aecb6 | [
"MIT"
] | null | null | null | app/__init__.py | fractus-io/fidelio-api | d08048ab5d57d8b616f2da3a40f9f123863aecb6 | [
"MIT"
] | null | null | null | app/__init__.py | fractus-io/fidelio-api | d08048ab5d57d8b616f2da3a40f9f123863aecb6 | [
"MIT"
] | null | null | null | import os
from flask import Flask
from flask_profiler import Profiler
from flask_sqlalchemy import SQLAlchemy
from flask_marshmallow import Marshmallow
from app.config import TestingConfig, DevelopmentConfig, ProductionConfig
app = Flask(__name__)
app.config.from_object(DevelopmentConfig)
db = SQLAlchemy()
profiler ... | 31.203704 | 73 | 0.782789 | 230 | 1,685 | 5.534783 | 0.186957 | 0.103692 | 0.188531 | 0.023566 | 0.710134 | 0.710134 | 0.710134 | 0.710134 | 0.634721 | 0.545169 | 0 | 0 | 0.123442 | 1,685 | 53 | 74 | 31.792453 | 0.861882 | 0 | 0 | 0.536585 | 0 | 0 | 0.045104 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.02439 | false | 0 | 0.390244 | 0 | 0.439024 | 0.341463 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
397cf01a005b89afc96e3869078734e3ebb23018 | 55 | py | Python | FSWDF-Project/main.py | chrischism8063/Mongo-py | c531f93cd37cd9d9420e39811a37c8bcfc1e5d1c | [
"MIT"
] | null | null | null | FSWDF-Project/main.py | chrischism8063/Mongo-py | c531f93cd37cd9d9420e39811a37c8bcfc1e5d1c | [
"MIT"
] | null | null | null | FSWDF-Project/main.py | chrischism8063/Mongo-py | c531f93cd37cd9d9420e39811a37c8bcfc1e5d1c | [
"MIT"
] | null | null | null | # main entry to the system
from application import app
| 18.333333 | 27 | 0.8 | 9 | 55 | 4.888889 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 55 | 2 | 28 | 27.5 | 0.977778 | 0.436364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
39846f3b40fcabb6a4e744e29f4109c0d5676031 | 208 | py | Python | tests/test_preprocess.py | caoyulong/CDRTR | f61cf84c096a124066af90f6536d85be630ecdff | [
"BSD-2-Clause"
] | 9 | 2019-07-05T14:49:25.000Z | 2021-05-12T13:37:19.000Z | tests/test_preprocess.py | caoyulong/CDRTR | f61cf84c096a124066af90f6536d85be630ecdff | [
"BSD-2-Clause"
] | null | null | null | tests/test_preprocess.py | caoyulong/CDRTR | f61cf84c096a124066af90f6536d85be630ecdff | [
"BSD-2-Clause"
] | 1 | 2021-02-13T14:00:26.000Z | 2021-02-13T14:00:26.000Z | # coding=utf-8
from .context import CDRTR
import unittest
class PreprocessTestSuite(unittest.TestCase):
'''Preprocess test cases'''
pass
# def test_readjson(self):
# self.assertIsNone(
| 17.333333 | 45 | 0.697115 | 23 | 208 | 6.26087 | 0.826087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006024 | 0.201923 | 208 | 11 | 46 | 18.909091 | 0.861446 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
39bdbb21ec86654f8627dfd2f7bc75676d5fb1fd | 76 | py | Python | quantum_systems/time_evolution_operators/__init__.py | haakoek/quantum-systems | 1d3421f15e8ba3ec203cbdda538e033bf9987682 | [
"MIT"
] | null | null | null | quantum_systems/time_evolution_operators/__init__.py | haakoek/quantum-systems | 1d3421f15e8ba3ec203cbdda538e033bf9987682 | [
"MIT"
] | null | null | null | quantum_systems/time_evolution_operators/__init__.py | haakoek/quantum-systems | 1d3421f15e8ba3ec203cbdda538e033bf9987682 | [
"MIT"
] | null | null | null | from .operator import TimeEvolutionOperator, LaserField, AdiabaticSwitching
| 38 | 75 | 0.881579 | 6 | 76 | 11.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 76 | 1 | 76 | 76 | 0.957143 | 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 | 0 | 0 | 0 | 5 |
39ebc29620aa91916e2c8fe4bd3efe5711445d1d | 239 | py | Python | fairing/builders/container_image_builder.py | wbuchwalter/fairing-1 | e6d459dc8413ffd3e8c4b0771a2ec79c74c383ab | [
"Apache-2.0"
] | 21 | 2018-08-09T19:13:47.000Z | 2020-07-22T05:21:11.000Z | fairing/builders/container_image_builder.py | wbuchwalter/fairing-1 | e6d459dc8413ffd3e8c4b0771a2ec79c74c383ab | [
"Apache-2.0"
] | 14 | 2018-08-02T18:44:09.000Z | 2018-11-08T15:32:55.000Z | fairing/builders/container_image_builder.py | wbuchwalter/fairing-1 | e6d459dc8413ffd3e8c4b0771a2ec79c74c383ab | [
"Apache-2.0"
] | 4 | 2018-08-09T19:13:59.000Z | 2018-10-08T05:44:31.000Z | from abc import ABCMeta, abstractmethod
class ContainerImageBuilder(object):
__metaclass__ = metacclass=ABCMeta
@abstractmethod
def execute(self, repository, image_name, image_tag, base_image, dockerfile, publish, env): pass | 29.875 | 100 | 0.782427 | 26 | 239 | 6.923077 | 0.846154 | 0.233333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146444 | 239 | 8 | 100 | 29.875 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.2 | 0.2 | 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 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
f2d8e21dba29d4ac9597e43628a7f26de624c72e | 81 | py | Python | drive/straight_fw.py | marco-a-wagner/robo | 16bddfb06dadbf735be02e8115d1934887d612c8 | [
"MIT"
] | null | null | null | drive/straight_fw.py | marco-a-wagner/robo | 16bddfb06dadbf735be02e8115d1934887d612c8 | [
"MIT"
] | null | null | null | drive/straight_fw.py | marco-a-wagner/robo | 16bddfb06dadbf735be02e8115d1934887d612c8 | [
"MIT"
] | null | null | null | #!/usr/bin/python
import time
import basic_moves as move
move.straight_fw(300)
| 11.571429 | 26 | 0.777778 | 14 | 81 | 4.357143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042254 | 0.123457 | 81 | 6 | 27 | 13.5 | 0.816901 | 0.197531 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
f2d9826a7f19e9c1b42305f94bd791c08fbf4d2e | 99 | py | Python | Leetcode/1000-2000/1227. Airplane Seat Assignment Probability/1227.py | Next-Gen-UI/Code-Dynamics | a9b9d5e3f27e870b3e030c75a1060d88292de01c | [
"MIT"
] | null | null | null | Leetcode/1000-2000/1227. Airplane Seat Assignment Probability/1227.py | Next-Gen-UI/Code-Dynamics | a9b9d5e3f27e870b3e030c75a1060d88292de01c | [
"MIT"
] | null | null | null | Leetcode/1000-2000/1227. Airplane Seat Assignment Probability/1227.py | Next-Gen-UI/Code-Dynamics | a9b9d5e3f27e870b3e030c75a1060d88292de01c | [
"MIT"
] | null | null | null | class Solution:
def nthPersonGetsNthSeat(self, n: int) -> float:
return 1 if n == 1 else 0.5
| 24.75 | 50 | 0.666667 | 16 | 99 | 4.125 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051948 | 0.222222 | 99 | 3 | 51 | 33 | 0.805195 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
f2dfda9b6e579a218b2633b3dc93f25dea4f5bb7 | 244 | py | Python | orbitkit/file_extractor/exception.py | clown-0726/orbitkit | 233c4a8a7b4fda3bbdb1631de4fd4fbdf79c7b6f | [
"MIT"
] | 3 | 2021-07-27T10:39:56.000Z | 2021-07-28T00:09:03.000Z | orbitkit/file_extractor/exception.py | clown-0726/orbitkit | 233c4a8a7b4fda3bbdb1631de4fd4fbdf79c7b6f | [
"MIT"
] | null | null | null | orbitkit/file_extractor/exception.py | clown-0726/orbitkit | 233c4a8a7b4fda3bbdb1631de4fd4fbdf79c7b6f | [
"MIT"
] | null | null | null | class FileExtractorTimeoutException(Exception):
pass
class ParamsInvalidException(Exception):
pass
class NoProperExtractorFindException(Exception):
def __init__(self):
super().__init__('NoProperExtractorFind Exception')
| 20.333333 | 59 | 0.77459 | 18 | 244 | 10.055556 | 0.611111 | 0.143646 | 0.198895 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147541 | 244 | 11 | 60 | 22.181818 | 0.870192 | 0 | 0 | 0.285714 | 0 | 0 | 0.127049 | 0.086066 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0.285714 | 0 | 0 | 0.571429 | 0 | 1 | 0 | 1 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
8421ec82785b6bb8f2ba72fb30eb39e6d58bc4ee | 102 | py | Python | tests/__init__.py | KarstenSchulz/twodolib | b9b2f0f23e5aeaf5edf5f5591319b6b3aea824d8 | [
"ISC"
] | 10 | 2015-09-24T02:23:24.000Z | 2020-03-08T09:21:20.000Z | tests/__init__.py | KarstenSchulz/twodolib | b9b2f0f23e5aeaf5edf5f5591319b6b3aea824d8 | [
"ISC"
] | 7 | 2015-09-15T15:45:00.000Z | 2020-08-21T07:04:44.000Z | tests/__init__.py | KarstenSchulz/twodolib | b9b2f0f23e5aeaf5edf5f5591319b6b3aea824d8 | [
"ISC"
] | 2 | 2017-07-03T14:15:50.000Z | 2019-08-30T13:58:39.000Z | # -*- coding: utf-8 -*-
"""Test package for `twodolib` module."""
from . import test_twodolib # noqa
| 25.5 | 41 | 0.637255 | 13 | 102 | 4.923077 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011765 | 0.166667 | 102 | 3 | 42 | 34 | 0.741176 | 0.617647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
8424817d83c79185e0cce3f09ca09e8cf2122975 | 16,465 | py | Python | tests/test_logger.py | uk-gov-mirror/ukgovdatascience.github-organisation-administration | f2bf83d2abd507d2e5b70732a57c6ef984e426a2 | [
"MIT"
] | null | null | null | tests/test_logger.py | uk-gov-mirror/ukgovdatascience.github-organisation-administration | f2bf83d2abd507d2e5b70732a57c6ef984e426a2 | [
"MIT"
] | 3 | 2021-02-17T10:21:56.000Z | 2021-04-15T09:04:26.000Z | tests/test_logger.py | ukgovdatascience/github_organisation_administration | f2bf83d2abd507d2e5b70732a57c6ef984e426a2 | [
"MIT"
] | 1 | 2021-04-11T08:55:29.000Z | 2021-04-11T08:55:29.000Z | from py.path import local
from src.utils.logger import Log, create_logger
from typing import Dict, Union
from unittest.mock import MagicMock
import logging
import os
import pytest
import re
# Define the expected logging format for the `create_logger` function
EXPECTED_LOG_FORMAT = "%(asctime)s - %(name)s - %(levelname... | 52.269841 | 120 | 0.687337 | 2,117 | 16,465 | 5.003307 | 0.085971 | 0.077323 | 0.107251 | 0.058535 | 0.802965 | 0.761046 | 0.731495 | 0.731495 | 0.696752 | 0.682685 | 0 | 0.001283 | 0.242697 | 16,465 | 314 | 121 | 52.436306 | 0.848184 | 0.248527 | 0 | 0.616667 | 0 | 0.005556 | 0.044533 | 0.014136 | 0 | 0 | 0 | 0 | 0.111111 | 1 | 0.088889 | false | 0.005556 | 0.044444 | 0 | 0.144444 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
ffbc93d26b1d97aab9e19c960435098fdde4851f | 85 | py | Python | consumer/exceptions.py | svorcan/aws-prod-con | 5adb89dc4e7f535624dcbcff833f8da1ab4e0930 | [
"MIT"
] | null | null | null | consumer/exceptions.py | svorcan/aws-prod-con | 5adb89dc4e7f535624dcbcff833f8da1ab4e0930 | [
"MIT"
] | 8 | 2021-02-02T22:07:43.000Z | 2022-03-11T23:42:53.000Z | consumer/exceptions.py | stalker92/aws-prod-con | 5adb89dc4e7f535624dcbcff833f8da1ab4e0930 | [
"MIT"
] | null | null | null | class AdapterError(Exception):
pass
class ServiceAPIError(Exception):
pass
| 12.142857 | 33 | 0.741176 | 8 | 85 | 7.875 | 0.625 | 0.412698 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188235 | 85 | 6 | 34 | 14.166667 | 0.913043 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
fff192dde7d2ffe576888d2a8a1f0ed626ffe06e | 50 | py | Python | src/amuse/community/mpiamrvac/__init__.py | sibonyves/amuse | 5557bf88d14df1aa02133a199b6d60c0c57dcab7 | [
"Apache-2.0"
] | null | null | null | src/amuse/community/mpiamrvac/__init__.py | sibonyves/amuse | 5557bf88d14df1aa02133a199b6d60c0c57dcab7 | [
"Apache-2.0"
] | 12 | 2021-11-15T09:13:03.000Z | 2022-02-02T14:53:04.000Z | src/amuse/community/mpiamrvac/__init__.py | sibonyves/amuse | 5557bf88d14df1aa02133a199b6d60c0c57dcab7 | [
"Apache-2.0"
] | null | null | null | # generated file
from .interface import Mpiamrvac
| 16.666667 | 32 | 0.82 | 6 | 50 | 6.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14 | 50 | 2 | 33 | 25 | 0.953488 | 0.28 | 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 | 0 | 0 | 0 | 5 |
0803487d716b875cec0618a123e13681d925bd0e | 3,388 | py | Python | test/test_conversiondynamic.py | sdickler/FINE | 3114fd009e80a7eadacffe26bf5ff8e6a126ac61 | [
"MIT"
] | 34 | 2018-07-02T16:20:39.000Z | 2022-03-30T09:46:44.000Z | test/test_conversiondynamic.py | sdickler/FINE | 3114fd009e80a7eadacffe26bf5ff8e6a126ac61 | [
"MIT"
] | 19 | 2018-11-09T07:56:20.000Z | 2022-02-15T10:54:21.000Z | test/test_conversiondynamic.py | sdickler/FINE | 3114fd009e80a7eadacffe26bf5ff8e6a126ac61 | [
"MIT"
] | 42 | 2018-09-24T15:07:20.000Z | 2022-02-25T18:41:52.000Z | #!/usr/bin/env python
# coding: utf-8
# # Workflow for a multi-regional energy system
#
import FINE as fn
import pandas as pd
import pytest
def test_ConversionDynamicNeedsCapacity():
esM = fn.EnergySystemModel(locations={'example_region1', },
commodities={'electricity','methane'... | 47.71831 | 113 | 0.594451 | 287 | 3,388 | 6.933798 | 0.28223 | 0.013568 | 0.015075 | 0.046734 | 0.754774 | 0.754774 | 0.722613 | 0.722613 | 0.722613 | 0.722613 | 0 | 0.042127 | 0.278335 | 3,388 | 71 | 114 | 47.71831 | 0.771779 | 0.023318 | 0 | 0.617021 | 0 | 0 | 0.124357 | 0.006959 | 0 | 0 | 0 | 0 | 0 | 1 | 0.06383 | false | 0 | 0.06383 | 0 | 0.12766 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
0822e4df5726b226d8e3c74d19a9529645f9ebac | 229 | py | Python | conftest.py | opennode/waldur-ansible | c81c5f0491be02fa9a55a6d5bf9d845750fd1ba9 | [
"MIT"
] | 1 | 2017-09-05T08:09:47.000Z | 2017-09-05T08:09:47.000Z | conftest.py | opennode/waldur-ansible | c81c5f0491be02fa9a55a6d5bf9d845750fd1ba9 | [
"MIT"
] | null | null | null | conftest.py | opennode/waldur-ansible | c81c5f0491be02fa9a55a6d5bf9d845750fd1ba9 | [
"MIT"
] | 3 | 2017-09-24T03:13:19.000Z | 2018-08-12T07:44:38.000Z | from waldur_ansible.common.tests.integration import integration_tests_config
def pytest_addoption(parser):
parser.addoption(integration_tests_config.TEST_TAG_FLAG, action="append", help="specify what type of tests to run")
| 38.166667 | 119 | 0.829694 | 32 | 229 | 5.6875 | 0.75 | 0.175824 | 0.241758 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091703 | 229 | 5 | 120 | 45.8 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0.170306 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
082338bdd074b0d4491db9f49fd6e4d68e7406ed | 542 | py | Python | holobot/extensions/moderation/repositories/__init__.py | rexor12/holobot | 89b7b416403d13ccfeee117ef942426b08d3651d | [
"MIT"
] | 1 | 2021-05-24T00:17:46.000Z | 2021-05-24T00:17:46.000Z | holobot/extensions/moderation/repositories/__init__.py | rexor12/holobot | 89b7b416403d13ccfeee117ef942426b08d3651d | [
"MIT"
] | 41 | 2021-03-24T22:50:09.000Z | 2021-12-17T12:15:13.000Z | holobot/extensions/moderation/repositories/__init__.py | rexor12/holobot | 89b7b416403d13ccfeee117ef942426b08d3651d | [
"MIT"
] | null | null | null | from .ilog_settings_repository import ILogSettingsRepository
from .imutes_repository import IMutesRepository
from .ipermission_repository import IPermissionRepository
from .iwarn_repository import IWarnRepository
from .iwarn_settings_repository import IWarnSettingsRepository
from .log_settings_repository import LogSett... | 49.272727 | 62 | 0.907749 | 54 | 542 | 8.851852 | 0.407407 | 0.334728 | 0.200837 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073801 | 542 | 10 | 63 | 54.2 | 0.952191 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
f256b8358018bd2e5f93be406fde605a776092d8 | 107 | py | Python | _solutions/basics/types/type_int_d.py | sages-pl/2022-01-pythonsqlalchemy-aptiv | 1d6d856608e9dbe25b139e8968c48b7f46753b84 | [
"MIT"
] | null | null | null | _solutions/basics/types/type_int_d.py | sages-pl/2022-01-pythonsqlalchemy-aptiv | 1d6d856608e9dbe25b139e8968c48b7f46753b84 | [
"MIT"
] | null | null | null | _solutions/basics/types/type_int_d.py | sages-pl/2022-01-pythonsqlalchemy-aptiv | 1d6d856608e9dbe25b139e8968c48b7f46753b84 | [
"MIT"
] | null | null | null |
karman_line_earth = 100_000*m // km
karman_line_mars = 80_000*m // km
karman_line_venus = 250_000*m // km
| 21.4 | 35 | 0.738318 | 21 | 107 | 3.333333 | 0.52381 | 0.428571 | 0.257143 | 0.342857 | 0.457143 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186813 | 0.149533 | 107 | 4 | 36 | 26.75 | 0.582418 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
f2771c82e7f449cf41de2abfd813eea9fc733da0 | 440 | py | Python | tests/test_newlinecharacterconv.py | qinxian1989/newlinecharacterconv | 69675e96641337aeba95f5a6cd8c71a00f04a030 | [
"MIT"
] | null | null | null | tests/test_newlinecharacterconv.py | qinxian1989/newlinecharacterconv | 69675e96641337aeba95f5a6cd8c71a00f04a030 | [
"MIT"
] | null | null | null | tests/test_newlinecharacterconv.py | qinxian1989/newlinecharacterconv | 69675e96641337aeba95f5a6cd8c71a00f04a030 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
"""Tests for `newlinecharacterconv` package."""
import unittest
from newlinecharacterconv import lineconv
class TestNewlinecharacterconv(unittest.TestCase):
"""Tests for `newlinecharacterconv` package."""
def setUp(self):
"""Set up test fixtures, if any."""
def tearDown... | 20 | 51 | 0.668182 | 47 | 440 | 6.212766 | 0.617021 | 0.054795 | 0.191781 | 0.239726 | 0.136986 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008499 | 0.197727 | 440 | 21 | 52 | 20.952381 | 0.818697 | 0.415909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0.333333 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
f27869b790bf79d7618356d8aaf86a093af1c5b7 | 27 | py | Python | derivative/__version__.py | andgoldschmidt/derivative | 2c67d1348d6ed8d769c1e07b54c94b2e4c58f2f0 | [
"MIT"
] | 18 | 2020-07-21T08:34:13.000Z | 2022-02-11T09:24:40.000Z | venv/Lib/site-packages/derivative/__version__.py | ayandeephazra/Chemical_Origins_Of_Life | 5858b51063c53b2db00529fe79a67d321193171e | [
"MIT"
] | 7 | 2020-07-28T16:11:52.000Z | 2022-01-21T23:01:04.000Z | venv/Lib/site-packages/derivative/__version__.py | ayandeephazra/Chemical_Origins_Of_Life | 5858b51063c53b2db00529fe79a67d321193171e | [
"MIT"
] | 3 | 2021-07-21T03:59:04.000Z | 2021-12-29T22:45:43.000Z | __version__: str = '0.3.1'
| 13.5 | 26 | 0.62963 | 5 | 27 | 2.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 0.148148 | 27 | 1 | 27 | 27 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0.185185 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
f29b638b06c21e5d174f850e4fe8515d95c3a425 | 56 | py | Python | __main__.py | mblanchard23/brefcrawler | 5960d9d08ec8fddd822adf77292a2d3f21e80225 | [
"MIT"
] | null | null | null | __main__.py | mblanchard23/brefcrawler | 5960d9d08ec8fddd822adf77292a2d3f21e80225 | [
"MIT"
] | null | null | null | __main__.py | mblanchard23/brefcrawler | 5960d9d08ec8fddd822adf77292a2d3f21e80225 | [
"MIT"
] | null | null | null | from db_tables import insert_players, Players, session
| 18.666667 | 54 | 0.839286 | 8 | 56 | 5.625 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 56 | 2 | 55 | 28 | 0.918367 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
4b4b7fc131ddf658f5043d431cbbcbca24833b07 | 81 | py | Python | src/pins.py | CurlyTaleGamesLLC/PyKiln | 6dfda8ec2d485bdf283b7ef7ef45d0848b8d5c99 | [
"MIT"
] | 17 | 2021-01-01T12:27:40.000Z | 2022-01-27T19:45:47.000Z | src/pins.py | CurlyTaleGamesLLC/PyKiln | 6dfda8ec2d485bdf283b7ef7ef45d0848b8d5c99 | [
"MIT"
] | 3 | 2021-06-02T03:36:57.000Z | 2021-12-10T11:13:34.000Z | src/pins.py | CurlyTaleGamesLLC/PyKiln | 6dfda8ec2d485bdf283b7ef7ef45d0848b8d5c99 | [
"MIT"
] | 1 | 2020-10-09T18:32:38.000Z | 2020-10-09T18:32:38.000Z | import device
class pins:
"""
Defines the pins used in PyKiln
"""
| 9 | 35 | 0.580247 | 10 | 81 | 4.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 81 | 8 | 36 | 10.125 | 0.87037 | 0.382716 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
4b689780250789a4d6274fa15a4852dc375c8aeb | 55 | py | Python | deephsb/engine/solver/__init__.py | zudi-lin/human_behavior_prediction | 557639fb30691e20959c277f82436a1a085eb0aa | [
"MIT"
] | 1 | 2020-12-25T14:51:17.000Z | 2020-12-25T14:51:17.000Z | deephsb/engine/solver/__init__.py | zudi-lin/human_behavior_prediction | 557639fb30691e20959c277f82436a1a085eb0aa | [
"MIT"
] | null | null | null | deephsb/engine/solver/__init__.py | zudi-lin/human_behavior_prediction | 557639fb30691e20959c277f82436a1a085eb0aa | [
"MIT"
] | null | null | null | from .build import build_optimizer, build_lr_scheduler
| 27.5 | 54 | 0.872727 | 8 | 55 | 5.625 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 55 | 1 | 55 | 55 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
4b873858bbc096906c6e474cb8e1ada9588836d0 | 66 | py | Python | librespot/player/playback/__init__.py | JeffmeisterJ/librespot-python | 0e0e1db65aa40262bd13479b97f81ae8c29ae049 | [
"Apache-2.0"
] | 1 | 2021-12-15T22:44:46.000Z | 2021-12-15T22:44:46.000Z | librespot/player/playback/__init__.py | JeffmeisterJ/librespot-python | 0e0e1db65aa40262bd13479b97f81ae8c29ae049 | [
"Apache-2.0"
] | 12 | 2021-10-06T02:18:44.000Z | 2022-02-07T02:16:47.000Z | librespot/player/playback/__init__.py | JeffmeisterJ/librespot-python | 0e0e1db65aa40262bd13479b97f81ae8c29ae049 | [
"Apache-2.0"
] | null | null | null | from librespot.player.playback.PlayerSession import PlayerSession
| 33 | 65 | 0.893939 | 7 | 66 | 8.428571 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060606 | 66 | 1 | 66 | 66 | 0.951613 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
298ac22fba8478d0c2178c9e806662e291a5a021 | 164 | py | Python | thinc/shims/__init__.py | justindujardin/thinc | b3d641c4d42e430fe9917ded7cb2892256f9b7e1 | [
"MIT"
] | null | null | null | thinc/shims/__init__.py | justindujardin/thinc | b3d641c4d42e430fe9917ded7cb2892256f9b7e1 | [
"MIT"
] | null | null | null | thinc/shims/__init__.py | justindujardin/thinc | b3d641c4d42e430fe9917ded7cb2892256f9b7e1 | [
"MIT"
] | null | null | null | from .shim import Shim
from .pytorch import PyTorchShim
from .tensorflow import keras_model_fns, TensorFlowShim, maybe_handshake_model
from .mxnet import MXNetShim
| 32.8 | 78 | 0.853659 | 22 | 164 | 6.181818 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109756 | 164 | 4 | 79 | 41 | 0.931507 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
29a70ae50998c8da42e66d47d7b96e0f92514b60 | 62 | py | Python | __init__.py | haisenzhao/CarpentryCompiler | c9714310b7ce7523a25becd397265bfaa3ab7ea3 | [
"FSFAP"
] | 21 | 2019-12-06T09:57:10.000Z | 2021-09-22T12:58:09.000Z | __init__.py | haisenzhao/CarpentryCompiler | c9714310b7ce7523a25becd397265bfaa3ab7ea3 | [
"FSFAP"
] | null | null | null | __init__.py | haisenzhao/CarpentryCompiler | c9714310b7ce7523a25becd397265bfaa3ab7ea3 | [
"FSFAP"
] | 5 | 2020-11-18T00:09:30.000Z | 2021-01-13T04:40:47.000Z | import _PartDesign
makeFilletArc = _PartDesign.makeFilletArc
| 15.5 | 41 | 0.870968 | 5 | 62 | 10.4 | 0.6 | 0.884615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 62 | 3 | 42 | 20.666667 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
29ed02c9a6fa7f5a3f7c5b7c9ac7a825bd6b0a8c | 86 | py | Python | mundo-1/pythonteste/aula08a.py | fln99/curso-python | 23176a65cec6d2e1e114ac7ff500d6b0dac95630 | [
"MIT"
] | null | null | null | mundo-1/pythonteste/aula08a.py | fln99/curso-python | 23176a65cec6d2e1e114ac7ff500d6b0dac95630 | [
"MIT"
] | null | null | null | mundo-1/pythonteste/aula08a.py | fln99/curso-python | 23176a65cec6d2e1e114ac7ff500d6b0dac95630 | [
"MIT"
] | null | null | null | import emoji
print(emoji.emojize('Python é foda! :earth_americas:', use_aliases=True)) | 43 | 73 | 0.790698 | 13 | 86 | 5.076923 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069767 | 86 | 2 | 73 | 43 | 0.825 | 0 | 0 | 0 | 0 | 0 | 0.356322 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
d99ab22ca86f57258edfaaa5a380ca150b082274 | 6,384 | py | Python | tests/st/ops/cpu/test_minimum_op.py | PowerOlive/mindspore | bda20724a94113cedd12c3ed9083141012da1f15 | [
"Apache-2.0"
] | 3,200 | 2020-02-17T12:45:41.000Z | 2022-03-31T20:21:16.000Z | tests/st/ops/cpu/test_minimum_op.py | zimo-geek/mindspore | 665ec683d4af85c71b2a1f0d6829356f2bc0e1ff | [
"Apache-2.0"
] | 176 | 2020-02-12T02:52:11.000Z | 2022-03-28T22:15:55.000Z | tests/st/ops/cpu/test_minimum_op.py | zimo-geek/mindspore | 665ec683d4af85c71b2a1f0d6829356f2bc0e1ff | [
"Apache-2.0"
] | 621 | 2020-03-09T01:31:41.000Z | 2022-03-30T03:43:19.000Z | # Copyright 2020 Huawei Technologies Co., Ltd
#
# 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... | 34.322581 | 78 | 0.693296 | 965 | 6,384 | 4.445596 | 0.148187 | 0.062937 | 0.042424 | 0.045688 | 0.775991 | 0.757343 | 0.738228 | 0.738228 | 0.72331 | 0.715851 | 0 | 0.041907 | 0.158991 | 6,384 | 185 | 79 | 34.508108 | 0.757124 | 0.099937 | 0 | 0.676471 | 0 | 0 | 0.004711 | 0 | 0 | 0 | 0 | 0 | 0.095588 | 1 | 0.095588 | false | 0 | 0.044118 | 0.014706 | 0.169118 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
d9a46adbff47f565dbfd0838296c6ec269fc07ab | 210 | py | Python | Day28/Newproject/app/views/ajaxTest.py | DreamLose/python- | 865249d7dba1fb1452189bde59c378aab8c99c9b | [
"MIT"
] | 1 | 2020-11-12T01:37:20.000Z | 2020-11-12T01:37:20.000Z | Day28/Newproject/app/views/ajaxTest.py | DreamLose/python- | 865249d7dba1fb1452189bde59c378aab8c99c9b | [
"MIT"
] | null | null | null | Day28/Newproject/app/views/ajaxTest.py | DreamLose/python- | 865249d7dba1fb1452189bde59c378aab8c99c9b | [
"MIT"
] | null | null | null | from django.shortcuts import render,HttpResponse
def ajaxtest(request):
return render(request,'ajax.html')
def ajax2(request):
# list = request.GE
print(request.GET)
return HttpResponse('成功!') | 23.333333 | 48 | 0.719048 | 26 | 210 | 5.807692 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005682 | 0.161905 | 210 | 9 | 49 | 23.333333 | 0.852273 | 0.080952 | 0 | 0 | 0 | 0 | 0.0625 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.166667 | 0.833333 | 0.166667 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
d9d9db7ff4aad98dbf8f6cf5c1b2fdf697985a17 | 1,486 | py | Python | setup.py | liangxin1300/clusterTestTool | 5652b20f406a2536905583053cee263797fb829c | [
"BSD-3-Clause"
] | 2 | 2018-12-19T08:43:42.000Z | 2019-06-04T08:18:58.000Z | setup.py | liangxin1300/clusterTestTool | 5652b20f406a2536905583053cee263797fb829c | [
"BSD-3-Clause"
] | 10 | 2019-08-05T09:45:56.000Z | 2019-10-15T01:35:27.000Z | setup.py | liangxin1300/cluster_preflight_check | 5652b20f406a2536905583053cee263797fb829c | [
"BSD-3-Clause"
] | 1 | 2019-08-06T07:47:57.000Z | 2019-08-06T07:47:57.000Z | import setuptools
setuptools.setup(
name="cluster_preflight_check",
version="0.0.34",
author="Xin Liang",
author_email="XLiang@suse.com",
url="https://github.com/liangxin1300/cluster_preflight_check.git",
license="BSD",
packages=setuptools.find_packages(exclude=["tests"]),
description="... | 40.162162 | 92 | 0.599596 | 143 | 1,486 | 6.160839 | 0.503497 | 0.23723 | 0.312145 | 0.206583 | 0.061294 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024545 | 0.259758 | 1,486 | 36 | 93 | 41.277778 | 0.776364 | 0 | 0 | 0 | 0 | 0 | 0.635935 | 0.055855 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.028571 | 0 | 0.028571 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
8a197f384072aca6a516dd9bbbabae9f3ad20e10 | 10,404 | py | Python | tip.py | ilmango-ChikaP/Tip-Sugar | f6f478d7b7b8a7ccc88d2dbed2d82b7c6cd65372 | [
"MIT"
] | 8 | 2019-04-05T13:12:44.000Z | 2020-11-17T14:53:24.000Z | tip.py | ilmango-ChikaP/Tip-Sugar | f6f478d7b7b8a7ccc88d2dbed2d82b7c6cd65372 | [
"MIT"
] | 6 | 2019-09-17T21:47:11.000Z | 2021-02-09T19:31:20.000Z | tip.py | sugarchain-project/Tip-Sugar | 8052e83a57d3b52a94953f61de1799177e3a6d66 | [
"MIT"
] | 8 | 2019-09-17T20:27:28.000Z | 2021-05-20T09:42:58.000Z | from bitcoinrpc.authproxy import AuthServiceProxy, JSONRPCException
from decimal import Decimal
import discord
from discord.ext import commands
import user_db
import config
# connect to coind
rpc_connection = 'http://{0}:{1}@{2}:{3}'.format(config.rpc_user, config.rpc_password, config.ip, config.rpc_port)
def str_is... | 55.340426 | 142 | 0.476836 | 1,086 | 10,404 | 4.42081 | 0.140884 | 0.039367 | 0.052697 | 0.081441 | 0.741512 | 0.741512 | 0.714018 | 0.714018 | 0.714018 | 0.714018 | 0 | 0.031972 | 0.413783 | 10,404 | 187 | 143 | 55.636364 | 0.755206 | 0.010957 | 0 | 0.654545 | 0 | 0 | 0.09265 | 0 | 0 | 0 | 0.008555 | 0 | 0 | 1 | 0.018182 | false | 0.018182 | 0.036364 | 0 | 0.072727 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
8a50a269607259e4143c2b8b2a0650c7eb564d6e | 811 | py | Python | atom/electron/python/test/test_ach_api.py | AbhiGupta03/SDK | f3a61aae7a847f07f0c22a154ca88dc378e9d25e | [
"Apache-2.0"
] | null | null | null | atom/electron/python/test/test_ach_api.py | AbhiGupta03/SDK | f3a61aae7a847f07f0c22a154ca88dc378e9d25e | [
"Apache-2.0"
] | null | null | null | atom/electron/python/test/test_ach_api.py | AbhiGupta03/SDK | f3a61aae7a847f07f0c22a154ca88dc378e9d25e | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
"""
Hydrogen Electron API
The Hydrogen Electron API # noqa: E501
OpenAPI spec version: 1.3.1
Contact: info@hydrogenplatform.com
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import unittest
import electron_api
from... | 19.309524 | 68 | 0.678175 | 107 | 811 | 4.897196 | 0.504673 | 0.125954 | 0.072519 | 0.064886 | 0.076336 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025559 | 0.228113 | 811 | 41 | 69 | 19.780488 | 0.811502 | 0.383477 | 0 | 0.142857 | 1 | 0 | 0.018059 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0.142857 | 0.357143 | 0 | 0.642857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
8aa6a5e43f6aa8cb421b08971f3adda913894e0a | 102 | py | Python | enthought/physical_quantities/units.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 3 | 2016-12-09T06:05:18.000Z | 2018-03-01T13:00:29.000Z | enthought/physical_quantities/units.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 1 | 2020-12-02T00:51:32.000Z | 2020-12-02T08:48:55.000Z | enthought/physical_quantities/units.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | null | null | null | # proxy module
from __future__ import absolute_import
from scimath.physical_quantities.units import *
| 25.5 | 47 | 0.852941 | 13 | 102 | 6.230769 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107843 | 102 | 3 | 48 | 34 | 0.89011 | 0.117647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
76edd5aad68774bd2fdc2bce4d25a3d6255e9d09 | 104 | py | Python | generate_report/apps.py | amandabezerra/2018.1-Cardinals | cedaf7c9771eda6b25c35fdf722fa25e5c832114 | [
"MIT"
] | 5 | 2018-03-26T15:27:01.000Z | 2018-06-21T21:28:09.000Z | generate_report/apps.py | fga-eps-mds/2018.1-Cardinals | cedaf7c9771eda6b25c35fdf722fa25e5c832114 | [
"MIT"
] | 135 | 2018-03-22T16:22:29.000Z | 2018-06-29T20:55:28.000Z | generate_report/apps.py | amandabezerra/2018.1-Cardinals | cedaf7c9771eda6b25c35fdf722fa25e5c832114 | [
"MIT"
] | 11 | 2018-03-23T23:56:49.000Z | 2018-07-03T15:12:04.000Z | from django.apps import AppConfig
class GenerateReportConfig(AppConfig):
name = 'generate_report'
| 17.333333 | 38 | 0.788462 | 11 | 104 | 7.363636 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144231 | 104 | 5 | 39 | 20.8 | 0.910112 | 0 | 0 | 0 | 1 | 0 | 0.144231 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
76f0cdc37785f23ecac523d1ef450b1142edea2a | 233 | py | Python | chorogrid/__init__.py | jeffschecter/chorogrid | 9d375848b2c051ff239d7d3fc0d94b8611a7c399 | [
"MIT"
] | null | null | null | chorogrid/__init__.py | jeffschecter/chorogrid | 9d375848b2c051ff239d7d3fc0d94b8611a7c399 | [
"MIT"
] | null | null | null | chorogrid/__init__.py | jeffschecter/chorogrid | 9d375848b2c051ff239d7d3fc0d94b8611a7c399 | [
"MIT"
] | null | null | null | #!/usr/bin/python
# Filename: __init__.py
# Author: David Taylor (@Prooffreader)
from chorogrid.Colorbin import Colorbin
from chorogrid.Chorogrid import Chorogrid
from chorogrid.plotting import plot
from zipcodes_df import zipcodes | 25.888889 | 41 | 0.819742 | 30 | 233 | 6.2 | 0.6 | 0.209677 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111588 | 233 | 9 | 42 | 25.888889 | 0.898551 | 0.321888 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 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 | 5 |
0a164f7932c390bb2d2b94cafd5dcc2e9c94773b | 88,167 | py | Python | sdk/python/pulumi_kubernetes/apiextensions/v1beta1/outputs.py | polivbr/pulumi-kubernetes | 36a5fb34240a38a60b52a5f4e55e66e248d9305f | [
"Apache-2.0"
] | 277 | 2018-06-18T14:57:09.000Z | 2022-03-29T04:05:06.000Z | sdk/python/pulumi_kubernetes/apiextensions/v1beta1/outputs.py | polivbr/pulumi-kubernetes | 36a5fb34240a38a60b52a5f4e55e66e248d9305f | [
"Apache-2.0"
] | 1,447 | 2018-06-20T00:58:34.000Z | 2022-03-31T21:28:43.000Z | sdk/python/pulumi_kubernetes/apiextensions/v1beta1/outputs.py | polivbr/pulumi-kubernetes | 36a5fb34240a38a60b52a5f4e55e66e248d9305f | [
"Apache-2.0"
] | 95 | 2018-06-30T03:30:05.000Z | 2022-03-29T04:05:09.000Z | # coding=utf-8
# *** WARNING: this file was generated by pulumigen. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from ... import _utilities
from . import outp... | 54.45769 | 2,114 | 0.676228 | 11,093 | 88,167 | 5.260525 | 0.072749 | 0.013915 | 0.023169 | 0.033862 | 0.788279 | 0.757502 | 0.72328 | 0.675572 | 0.645634 | 0.617531 | 0 | 0.010423 | 0.233954 | 88,167 | 1,618 | 2,115 | 54.491347 | 0.853583 | 0.48745 | 0 | 0.417683 | 1 | 0.012195 | 0.170082 | 0.076477 | 0 | 0 | 0 | 0 | 0 | 1 | 0.15752 | false | 0 | 0.007114 | 0.038618 | 0.309959 | 0.012195 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.