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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
efd293b0fad7a4595a31aa160b88ccb1aa88a456 | 37 | py | Python | rses/src/flask_app/blueprints/client/__init__.py | iScrE4m/RSES | 88299f105ded8838243eab8b25ab1626c97d1179 | [
"MIT"
] | 1 | 2022-02-16T15:06:22.000Z | 2022-02-16T15:06:22.000Z | rses/src/flask_app/blueprints/client/__init__.py | djetelina/RSES | 88299f105ded8838243eab8b25ab1626c97d1179 | [
"MIT"
] | null | null | null | rses/src/flask_app/blueprints/client/__init__.py | djetelina/RSES | 88299f105ded8838243eab8b25ab1626c97d1179 | [
"MIT"
] | null | null | null | # coding=utf-8
"""Client blueprint""" | 18.5 | 22 | 0.675676 | 5 | 37 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029412 | 0.081081 | 37 | 2 | 22 | 18.5 | 0.705882 | 0.810811 | 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 |
efd85393ed4e8b07da224123311c11a7291f7173 | 190 | py | Python | openprocurement/tender/limited/__init__.py | Leits/openprocurement.tender.limited | c216e5b96dc850036d94fdf21883845afee34252 | [
"Apache-2.0"
] | null | null | null | openprocurement/tender/limited/__init__.py | Leits/openprocurement.tender.limited | c216e5b96dc850036d94fdf21883845afee34252 | [
"Apache-2.0"
] | 2 | 2021-03-26T00:30:52.000Z | 2022-03-21T22:22:09.000Z | openprocurement/tender/limited/__init__.py | Leits/openprocurement.tender.limited | c216e5b96dc850036d94fdf21883845afee34252 | [
"Apache-2.0"
] | null | null | null | from openprocurement.tender.limited.models import Tender
def includeme(config):
config.add_tender_procurementMethodType(Tender)
config.scan("openprocurement.tender.limited.views")
| 27.142857 | 56 | 0.815789 | 21 | 190 | 7.285714 | 0.619048 | 0.27451 | 0.366013 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094737 | 190 | 6 | 57 | 31.666667 | 0.889535 | 0 | 0 | 0 | 0 | 0 | 0.189474 | 0.189474 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
4bc81ada6770b9d230169abfe03aa04a2271356b | 472 | py | Python | backups_operator/servers/views.py | jetchirag/backops | 777e8d3b3b89afdc0482f71f1ecc499036c62968 | [
"MIT"
] | null | null | null | backups_operator/servers/views.py | jetchirag/backops | 777e8d3b3b89afdc0482f71f1ecc499036c62968 | [
"MIT"
] | null | null | null | backups_operator/servers/views.py | jetchirag/backops | 777e8d3b3b89afdc0482f71f1ecc499036c62968 | [
"MIT"
] | null | null | null | from django.shortcuts import render
from django.http import HttpResponse
from backups_operator.servers.models import Server
# Create your views here.
def home(request):
servers = Server.objects.all()
data = {
'servers': servers
}
return render(request, 'sources/home.html', data)
def test(req... | 21.454545 | 53 | 0.711864 | 57 | 472 | 5.877193 | 0.508772 | 0.161194 | 0.197015 | 0.173134 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.182203 | 472 | 22 | 54 | 21.454545 | 0.867876 | 0.048729 | 0 | 0.2 | 0 | 0 | 0.080357 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.266667 | false | 0 | 0.2 | 0.2 | 0.733333 | 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 |
4becdb4fe42c069830f83a3d86842e13caf2edcf | 135 | py | Python | molecool/io/__init__.py | nitrosx/molecool | 58ce78aceb707ff92b26bf6c90b3703714c09786 | [
"BSD-3-Clause"
] | null | null | null | molecool/io/__init__.py | nitrosx/molecool | 58ce78aceb707ff92b26bf6c90b3703714c09786 | [
"BSD-3-Clause"
] | null | null | null | molecool/io/__init__.py | nitrosx/molecool | 58ce78aceb707ff92b26bf6c90b3703714c09786 | [
"BSD-3-Clause"
] | null | null | null | '''
molecool.io package
configure access to subpackage functions
'''
from .pdb import open_pdb
from .xyz import open_xyz, write_xyz
| 13.5 | 40 | 0.77037 | 20 | 135 | 5.05 | 0.7 | 0.19802 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155556 | 135 | 9 | 41 | 15 | 0.885965 | 0.451852 | 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 |
3242f191734e1ec3faebeb7b0fb07f008db4254c | 108 | py | Python | auth/view/resource/create_reset_password_request.py | nicolaszein/auth | 90112f1a4d6f368714b19daad7e8a4226594b383 | [
"MIT"
] | null | null | null | auth/view/resource/create_reset_password_request.py | nicolaszein/auth | 90112f1a4d6f368714b19daad7e8a4226594b383 | [
"MIT"
] | null | null | null | auth/view/resource/create_reset_password_request.py | nicolaszein/auth | 90112f1a4d6f368714b19daad7e8a4226594b383 | [
"MIT"
] | null | null | null | from pydantic import BaseModel, EmailStr
class CreateResetPasswordRequest(BaseModel):
email: EmailStr
| 18 | 44 | 0.814815 | 10 | 108 | 8.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138889 | 108 | 5 | 45 | 21.6 | 0.946237 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 5 |
3283d11b9d4cf8bd45f4150291dcecd926809bd7 | 124 | py | Python | authentication/admin.py | jatingupta14/cruzz | 9a00f1555cdd5c76c9ef250d7037d72d725de367 | [
"MIT"
] | 7 | 2018-11-09T14:40:54.000Z | 2019-12-20T08:10:17.000Z | authentication/admin.py | jatingupta14/cruzz | 9a00f1555cdd5c76c9ef250d7037d72d725de367 | [
"MIT"
] | 25 | 2018-11-30T17:38:36.000Z | 2018-12-27T17:21:09.000Z | authentication/admin.py | jatingupta14/cruzz | 9a00f1555cdd5c76c9ef250d7037d72d725de367 | [
"MIT"
] | 6 | 2018-12-03T14:44:29.000Z | 2018-12-26T11:49:43.000Z | # Django
from django.contrib import admin
# local Django
from authentication.models import User
admin.site.register(User)
| 15.5 | 38 | 0.806452 | 17 | 124 | 5.882353 | 0.647059 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 124 | 7 | 39 | 17.714286 | 0.925926 | 0.153226 | 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 |
328414bd2a696253fdce02e567455456707be002 | 480 | py | Python | src/dlkp/datasets/__init__.py | midas-research/dlkp | 5f47a780a6b05a71f799287d8ad612542a897047 | [
"MIT"
] | 2 | 2022-03-12T15:08:55.000Z | 2022-03-14T09:11:43.000Z | src/dlkp/datasets/__init__.py | midas-research/dlkp | 5f47a780a6b05a71f799287d8ad612542a897047 | [
"MIT"
] | 14 | 2022-02-19T07:42:09.000Z | 2022-03-20T21:43:42.000Z | src/dlkp/datasets/__init__.py | midas-research/dlkp | 5f47a780a6b05a71f799287d8ad612542a897047 | [
"MIT"
] | null | null | null | class KPDatasets:
def __init__(self) -> None:
pass
def get_train_dataset(self):
if "train" not in self.datasets:
return None
return self.datasets["train"]
def get_eval_dataset(self):
if "validation" not in self.datasets:
return None
return se... | 25.263158 | 45 | 0.597917 | 58 | 480 | 4.775862 | 0.310345 | 0.259928 | 0.140794 | 0.184116 | 0.487365 | 0.487365 | 0.487365 | 0.487365 | 0.487365 | 0 | 0 | 0 | 0.314583 | 480 | 18 | 46 | 26.666667 | 0.841945 | 0 | 0 | 0.2 | 0 | 0 | 0.079167 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.266667 | false | 0.066667 | 0 | 0 | 0.733333 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
3287cec655cdef3ec14897e557822dfcd28c5019 | 84 | py | Python | nv/__init__.py | 3stack-software/nv | 7b00fb857aea238ed060a9eb017e351aac19258e | [
"Apache-2.0"
] | null | null | null | nv/__init__.py | 3stack-software/nv | 7b00fb857aea238ed060a9eb017e351aac19258e | [
"Apache-2.0"
] | 1 | 2017-06-19T00:52:37.000Z | 2017-06-19T00:52:37.000Z | nv/__init__.py | 3stack-software/nv | 7b00fb857aea238ed060a9eb017e351aac19258e | [
"Apache-2.0"
] | null | null | null | from .__version__ import __version__
from .core import create, remove, launch_shell
| 28 | 46 | 0.833333 | 11 | 84 | 5.545455 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119048 | 84 | 2 | 47 | 42 | 0.824324 | 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 |
328faff3ddad6381d560dd2330552d383362af7f | 91 | py | Python | utils.py | Spratiher9/newsnuggets | 1147e55a9a0c8a483384711840462b1526cf7681 | [
"MIT"
] | 1 | 2021-11-17T19:18:42.000Z | 2021-11-17T19:18:42.000Z | utils.py | Spratiher9/newsnuggets | 1147e55a9a0c8a483384711840462b1526cf7681 | [
"MIT"
] | null | null | null | utils.py | Spratiher9/newsnuggets | 1147e55a9a0c8a483384711840462b1526cf7681 | [
"MIT"
] | null | null | null | from gnews import GNews
def get_client():
news_client = GNews()
return news_client | 18.2 | 25 | 0.725275 | 13 | 91 | 4.846154 | 0.615385 | 0.31746 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208791 | 91 | 5 | 26 | 18.2 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
32ba91d9753d50c77b106fbc0d73eade94889fbb | 219 | py | Python | datavis/urls.py | poulomihore/iot-hackathon | 4f90c12c164f3ee09341fc1381b1f7898a5d3055 | [
"MIT"
] | null | null | null | datavis/urls.py | poulomihore/iot-hackathon | 4f90c12c164f3ee09341fc1381b1f7898a5d3055 | [
"MIT"
] | null | null | null | datavis/urls.py | poulomihore/iot-hackathon | 4f90c12c164f3ee09341fc1381b1f7898a5d3055 | [
"MIT"
] | null | null | null | from django.urls import path
from . import views
urlpatterns = [
path('', views.get_percentage, name='get_percentage'),
path('get_percentage_value', views.get_percentage_value, name='get_percentage_value'),
]
| 24.333333 | 90 | 0.748858 | 28 | 219 | 5.571429 | 0.392857 | 0.416667 | 0.346154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127854 | 219 | 8 | 91 | 27.375 | 0.816754 | 0 | 0 | 0 | 0 | 0 | 0.246575 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
0867ca55ebc85e21b29f1ca39ad6e18f1d0c662a | 99 | py | Python | pypupil/serializer.py | choisuyeon/pypupil | 3fdb1f29c6b28613b6b39094c01e61560214daff | [
"MIT"
] | 9 | 2018-08-07T11:00:54.000Z | 2021-02-13T04:36:05.000Z | pypupil/serializer.py | choisuyeon/pypupil | 3fdb1f29c6b28613b6b39094c01e61560214daff | [
"MIT"
] | null | null | null | pypupil/serializer.py | choisuyeon/pypupil | 3fdb1f29c6b28613b6b39094c01e61560214daff | [
"MIT"
] | 1 | 2020-12-03T00:44:29.000Z | 2020-12-03T00:44:29.000Z | class Serializer:
""" send data serially
"""
def __init__(self):
return
| 14.142857 | 27 | 0.525253 | 9 | 99 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.373737 | 99 | 6 | 28 | 16.5 | 0.774194 | 0.181818 | 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 |
087dd6bb53dc8a5a49168182e90d10a64dea2f64 | 159 | py | Python | bus_system/apps/bus/admin.py | pygabo/bus_system | ffb76d3414e058286799f3df1cb551b26286e7c3 | [
"MIT"
] | null | null | null | bus_system/apps/bus/admin.py | pygabo/bus_system | ffb76d3414e058286799f3df1cb551b26286e7c3 | [
"MIT"
] | null | null | null | bus_system/apps/bus/admin.py | pygabo/bus_system | ffb76d3414e058286799f3df1cb551b26286e7c3 | [
"MIT"
] | null | null | null | # Core Django imports
from django.contrib import admin
# Imports from my apps
from bus_system.apps.bus.models import BusModel
admin.site.register(BusModel)
| 19.875 | 47 | 0.805031 | 24 | 159 | 5.291667 | 0.625 | 0.173228 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132075 | 159 | 7 | 48 | 22.714286 | 0.92029 | 0.257862 | 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 |
088195a1ba4520a7f098f9cb7902e66481e7e187 | 21 | py | Python | checkov/version.py | pmalkki/checkov | b6cdf386dd976fe27c16fed6d550756a678a5d7b | [
"Apache-2.0"
] | null | null | null | checkov/version.py | pmalkki/checkov | b6cdf386dd976fe27c16fed6d550756a678a5d7b | [
"Apache-2.0"
] | null | null | null | checkov/version.py | pmalkki/checkov | b6cdf386dd976fe27c16fed6d550756a678a5d7b | [
"Apache-2.0"
] | null | null | null | version = '2.0.1048'
| 10.5 | 20 | 0.619048 | 4 | 21 | 3.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0.142857 | 21 | 1 | 21 | 21 | 0.388889 | 0 | 0 | 0 | 0 | 0 | 0.380952 | 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 |
08c9794f0bd47ea3dffb38ca1c36f7471259ea64 | 62 | py | Python | car_acc_graphs.py | EricMbuthia/car_acc | 11c1d32400279f462861793ad393f00861445b64 | [
"MIT"
] | null | null | null | car_acc_graphs.py | EricMbuthia/car_acc | 11c1d32400279f462861793ad393f00861445b64 | [
"MIT"
] | null | null | null | car_acc_graphs.py | EricMbuthia/car_acc | 11c1d32400279f462861793ad393f00861445b64 | [
"MIT"
] | null | null | null | def example_plotting_functions():
#Sort then plot
pass | 20.666667 | 33 | 0.725806 | 8 | 62 | 5.375 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.209677 | 62 | 3 | 34 | 20.666667 | 0.877551 | 0.225806 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
08da7e9d21e70b892d492b272992e48bff8c4a03 | 162 | py | Python | November/Poor Pigs.py | parikshitgupta1/leetcode | eba6c11740dc7597204af127c0f4c2163376294f | [
"MIT"
] | null | null | null | November/Poor Pigs.py | parikshitgupta1/leetcode | eba6c11740dc7597204af127c0f4c2163376294f | [
"MIT"
] | null | null | null | November/Poor Pigs.py | parikshitgupta1/leetcode | eba6c11740dc7597204af127c0f4c2163376294f | [
"MIT"
] | null | null | null | class Solution:
def poorPigs(self, buckets: int, minutesToDie: int, minutesToTest: int) -> int:
return ceil(log(buckets)/log(minutesToTest//minutesToDie + 1))
| 40.5 | 80 | 0.746914 | 20 | 162 | 6.05 | 0.65 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006993 | 0.117284 | 162 | 3 | 81 | 54 | 0.839161 | 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 |
08f958d96728940d01ac948489adc3f2710db6d4 | 114 | py | Python | unweaver/graphs/digraphgpkg/nodes/__init__.py | jsbeckwith/unweaver | a4ba9e4e288c75e93bf7f9d67bc11680f09c3da0 | [
"Apache-2.0"
] | 4 | 2019-04-24T16:38:57.000Z | 2021-12-28T20:38:08.000Z | unweaver/graphs/digraphgpkg/nodes/__init__.py | jsbeckwith/unweaver | a4ba9e4e288c75e93bf7f9d67bc11680f09c3da0 | [
"Apache-2.0"
] | 3 | 2021-06-02T04:06:33.000Z | 2021-11-02T01:47:20.000Z | unweaver/graphs/digraphgpkg/nodes/__init__.py | jsbeckwith/unweaver | a4ba9e4e288c75e93bf7f9d67bc11680f09c3da0 | [
"Apache-2.0"
] | 1 | 2020-08-13T04:42:05.000Z | 2020-08-13T04:42:05.000Z | from .node_view import NodeView
from .node import Node
from .nodes_view import NodesView
from .nodes import Nodes
| 22.8 | 33 | 0.824561 | 18 | 114 | 5.111111 | 0.388889 | 0.173913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140351 | 114 | 4 | 34 | 28.5 | 0.938776 | 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 |
3ea642dd21695e59f25c2f55930176a71d62c99c | 82 | py | Python | python-analysers/src/test/resources/org/jetbrains/research/lupa/pythonAnalysis/imports/analysis/psi/importStatementsData/in_3_several_imports.py | JetBrains-Research/Lupa | c105487621564c60cae17395bf32eb40868ceb89 | [
"Apache-2.0"
] | 16 | 2022-01-11T00:32:20.000Z | 2022-03-25T21:40:52.000Z | python-analysers/src/test/resources/org/jetbrains/research/lupa/pythonAnalysis/imports/analysis/psi/importStatementsData/in_3_several_imports.py | nbirillo/Kotlin-Analysis | 73c3b8a59bf40ed932bb512f30b0ff31f251af40 | [
"Apache-2.0"
] | 12 | 2021-07-05T11:42:01.000Z | 2021-12-23T07:57:54.000Z | python-analysers/src/test/resources/org/jetbrains/research/lupa/pythonAnalysis/imports/analysis/psi/importStatementsData/in_3_several_imports.py | nbirillo/Kotlin-Analysis | 73c3b8a59bf40ed932bb512f30b0ff31f251af40 | [
"Apache-2.0"
] | 3 | 2021-09-10T13:21:54.000Z | 2021-11-23T11:37:55.000Z | import cmath
import math
import logging
import random
import plotly
import pandas
| 11.714286 | 14 | 0.853659 | 12 | 82 | 5.833333 | 0.583333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146341 | 82 | 6 | 15 | 13.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
3eed4a648db7f6b58a8270deb65a534840398278 | 43 | py | Python | modules/pointer_network/__init__.py | matthew-z/pytorch_rnet | 670f3796cd01595903ef781ec7eb0e55c020e77b | [
"MIT"
] | 227 | 2017-09-20T08:17:07.000Z | 2022-02-16T23:48:04.000Z | modules/pointer_network/__init__.py | matthew-z/R-Net | 670f3796cd01595903ef781ec7eb0e55c020e77b | [
"MIT"
] | 18 | 2017-10-25T14:42:56.000Z | 2020-04-14T18:50:48.000Z | modules/pointer_network/__init__.py | matthew-z/R-Net | 670f3796cd01595903ef781ec7eb0e55c020e77b | [
"MIT"
] | 59 | 2017-10-02T15:25:27.000Z | 2021-05-28T07:57:39.000Z | from .pointer_network import PointerNetwork | 43 | 43 | 0.906977 | 5 | 43 | 7.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069767 | 43 | 1 | 43 | 43 | 0.95 | 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 |
f5b9906a08803c2fec8e92b95456e8a8ee69c95c | 50 | py | Python | src/runner/__init__.py | Tung-I/nips2019_template | a1fcf35b7633d192d2706a533731cb8c457ac230 | [
"MIT"
] | 11 | 2020-08-09T08:08:56.000Z | 2022-01-18T14:25:22.000Z | src/runner/__init__.py | Tung-I/nips2019_template | a1fcf35b7633d192d2706a533731cb8c457ac230 | [
"MIT"
] | 2 | 2021-09-13T09:48:41.000Z | 2021-11-08T14:20:58.000Z | src/runner/__init__.py | Tung-I/nips2019_template | a1fcf35b7633d192d2706a533731cb8c457ac230 | [
"MIT"
] | 4 | 2020-08-30T14:13:35.000Z | 2021-09-14T09:26:55.000Z | from .trainers import *
from .predictors import *
| 16.666667 | 25 | 0.76 | 6 | 50 | 6.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 50 | 2 | 26 | 25 | 0.904762 | 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 |
f5e7fdab1587e4d6e66ab3defb25c9ecd73fb773 | 20 | py | Python | hello-fortran-dependency/hello/__init__.py | Nicholaswogan/skbuild-f2py-examples | e47d0a9ce483e54b678e31789dbfcc90ff4a8e74 | [
"MIT"
] | 4 | 2021-07-28T02:16:52.000Z | 2021-12-23T00:20:21.000Z | hello-fortran-dependency/hello/__init__.py | Nicholaswogan/skbuild-f2py-examples | e47d0a9ce483e54b678e31789dbfcc90ff4a8e74 | [
"MIT"
] | 1 | 2021-09-14T21:17:49.000Z | 2021-09-14T23:17:47.000Z | hello-fortran-dependency/hello/__init__.py | Nicholaswogan/skbuild-f2py-examples | e47d0a9ce483e54b678e31789dbfcc90ff4a8e74 | [
"MIT"
] | null | null | null | from .hola import *
| 10 | 19 | 0.7 | 3 | 20 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 20 | 1 | 20 | 20 | 0.875 | 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 |
de170bec53f0702af41038f426ab0305ba516d45 | 206 | py | Python | wagtail_ab_testing/test/apps.py | alxbridge/wagtail-ab-testing | 1e959cc4ea1fa9b6d9adda2525fc3aae8e8b7807 | [
"BSD-3-Clause"
] | 14 | 2021-02-19T08:52:37.000Z | 2022-03-16T05:16:38.000Z | wagtail_ab_testing/test/apps.py | alxbridge/wagtail-ab-testing | 1e959cc4ea1fa9b6d9adda2525fc3aae8e8b7807 | [
"BSD-3-Clause"
] | 10 | 2021-04-09T16:16:17.000Z | 2022-03-31T17:30:18.000Z | wagtail_ab_testing/test/apps.py | alxbridge/wagtail-ab-testing | 1e959cc4ea1fa9b6d9adda2525fc3aae8e8b7807 | [
"BSD-3-Clause"
] | 11 | 2021-04-23T15:19:06.000Z | 2022-03-28T16:15:14.000Z | from django.apps import AppConfig
class WagtailAbTestingTestAppConfig(AppConfig):
label = "wagtail_ab_testing_test"
name = "wagtail_ab_testing.test"
verbose_name = "Wagtail A/B Testing tests"
| 25.75 | 47 | 0.771845 | 25 | 206 | 6.12 | 0.68 | 0.117647 | 0.20915 | 0.261438 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15534 | 206 | 7 | 48 | 29.428571 | 0.87931 | 0 | 0 | 0 | 0 | 0 | 0.34466 | 0.223301 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
de189e363b7152e9b3189460e86a65764a35ef55 | 65 | py | Python | minicds/setup_package.py | NESSAN-PMO/miniCDS | 82f08dfbb9259c78286679a0be875a66e2bedfe8 | [
"BSD-3-Clause"
] | null | null | null | minicds/setup_package.py | NESSAN-PMO/miniCDS | 82f08dfbb9259c78286679a0be875a66e2bedfe8 | [
"BSD-3-Clause"
] | 1 | 2020-10-29T19:56:05.000Z | 2020-10-29T19:56:05.000Z | minicds/setup_package.py | NESSAN-PMO/miniCDS | 82f08dfbb9259c78286679a0be875a66e2bedfe8 | [
"BSD-3-Clause"
] | null | null | null |
def get_package_data():
return {"minicds":['minicds.cfg']}
| 13 | 38 | 0.646154 | 8 | 65 | 5 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 65 | 4 | 39 | 16.25 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
de2bfdafb52bf7f86a472b4af4f49451d709be07 | 87 | py | Python | tests/fixtures/abcd_package/test_a.py | venmo/nose-randomly | 39db5db71a226ffdb6572d5785638e0a16379cfb | [
"BSD-3-Clause"
] | 19 | 2015-07-30T17:27:56.000Z | 2021-08-10T07:19:43.000Z | tests/fixtures/abcd_package/test_a.py | venmo/nose-randomly | 39db5db71a226ffdb6572d5785638e0a16379cfb | [
"BSD-3-Clause"
] | 11 | 2016-02-14T10:33:44.000Z | 2016-10-28T12:38:35.000Z | tests/fixtures/abcd_package/test_a.py | adamchainz/nose-randomly | 8a3fbeaf7cc5452c44da8c7e7573fe89391c8260 | [
"BSD-3-Clause"
] | 4 | 2016-06-01T06:04:46.000Z | 2016-10-26T11:41:53.000Z | from unittest import TestCase
class A(TestCase):
def test_it(self):
pass
| 12.428571 | 29 | 0.666667 | 12 | 87 | 4.75 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.264368 | 87 | 6 | 30 | 14.5 | 0.890625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
deb1c543d933d4026fb5899f87ff8c3384301fea | 174 | py | Python | hover/utils/misc.py | haochuanwei/hover | 53eb38c718e44445b18a97e391b7f90270802b04 | [
"MIT"
] | 1 | 2020-12-08T13:04:18.000Z | 2020-12-08T13:04:18.000Z | hover/utils/misc.py | MaxCodeXTC/hover | feeb0e0c59295a3c883823ccef918dfe388b603c | [
"MIT"
] | null | null | null | hover/utils/misc.py | MaxCodeXTC/hover | feeb0e0c59295a3c883823ccef918dfe388b603c | [
"MIT"
] | null | null | null | """Mini-functions that do not belong elsewhere."""
from datetime import datetime
def current_time(template="%Y%m%d %H:%M:%S"):
return datetime.now().strftime(template)
| 24.857143 | 50 | 0.718391 | 26 | 174 | 4.769231 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12069 | 174 | 6 | 51 | 29 | 0.810458 | 0.252874 | 0 | 0 | 0 | 0 | 0.120968 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 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 | 1 | 1 | 0 | 0 | 0 | 5 |
def0c98ea1f503e25e5a4f61d70a095d8ff1d77d | 141 | py | Python | app/celery_worker.py | cjarv/celery_dev | 1c0489ccf456249d5bd8d21da40ebe4572842af6 | [
"MIT"
] | null | null | null | app/celery_worker.py | cjarv/celery_dev | 1c0489ccf456249d5bd8d21da40ebe4572842af6 | [
"MIT"
] | null | null | null | app/celery_worker.py | cjarv/celery_dev | 1c0489ccf456249d5bd8d21da40ebe4572842af6 | [
"MIT"
] | null | null | null | from factories.celery import create_celery
from factories.application import create_application
celery = create_celery(create_application()) | 35.25 | 52 | 0.87234 | 17 | 141 | 7 | 0.352941 | 0.218487 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078014 | 141 | 4 | 53 | 35.25 | 0.915385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
7232736c521560e15f88e41ebeb5b1e597203059 | 114 | py | Python | ufmt/tests/__init__.py | pmeier/ufmt | 29385731d3399d065968921b7502d321acf6faef | [
"MIT"
] | null | null | null | ufmt/tests/__init__.py | pmeier/ufmt | 29385731d3399d065968921b7502d321acf6faef | [
"MIT"
] | null | null | null | ufmt/tests/__init__.py | pmeier/ufmt | 29385731d3399d065968921b7502d321acf6faef | [
"MIT"
] | null | null | null | # Copyright 2021 John Reese
# Licensed under the MIT license
from .cli import CliTest
from .core import CoreTest
| 19 | 32 | 0.789474 | 17 | 114 | 5.294118 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042553 | 0.175439 | 114 | 5 | 33 | 22.8 | 0.914894 | 0.491228 | 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 |
9d433078a8277e748b8b40142b8dbbea8d970588 | 63 | py | Python | python/testData/intentions/returnTypeInPy3AnnotationNoColon_after.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/intentions/returnTypeInPy3AnnotationNoColon_after.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/intentions/returnTypeInPy3AnnotationNoColon_after.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | def foo() -> object:
@decorator
def bar():
pass | 15.75 | 20 | 0.492063 | 7 | 63 | 4.428571 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.365079 | 63 | 4 | 21 | 15.75 | 0.775 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.25 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
19bbd9ee5d1a69e647b6029452a9fd29e645da59 | 1,345 | py | Python | test_search_in_rotated_sorted_array.py | jaebradley/leetcode.py | 64634cc7d0e975ddd163f35acb18cc92960b8eb5 | [
"MIT"
] | null | null | null | test_search_in_rotated_sorted_array.py | jaebradley/leetcode.py | 64634cc7d0e975ddd163f35acb18cc92960b8eb5 | [
"MIT"
] | 2 | 2019-11-13T19:55:49.000Z | 2019-11-13T19:55:57.000Z | test_search_in_rotated_sorted_array.py | jaebradley/leetcode.py | 64634cc7d0e975ddd163f35acb18cc92960b8eb5 | [
"MIT"
] | null | null | null | from unittest import TestCase
from search_in_rotated_sorted_array import Solution
class TestSearchInRotatedSortedArray(TestCase):
def test_0_when_first_element_is_target(self):
self.assertEqual(Solution().search([1, 2, 3, 4, 5, 6, 7], 1), 0)
def test_end_index_last_element_is_target(self):
s... | 37.361111 | 72 | 0.684758 | 208 | 1,345 | 4.149038 | 0.206731 | 0.081112 | 0.220162 | 0.312862 | 0.725377 | 0.579374 | 0.516802 | 0.491309 | 0.23175 | 0.23175 | 0 | 0.063734 | 0.171747 | 1,345 | 35 | 73 | 38.428571 | 0.710952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.434783 | 1 | 0.434783 | false | 0 | 0.086957 | 0 | 0.565217 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
19ecf7e3e7e37b889b168edf93836870ccf82afb | 55 | py | Python | social/backends/azuread.py | raccoongang/python-social-auth | 81c0a542d158772bd3486d31834c10af5d5f08b0 | [
"BSD-3-Clause"
] | 1,987 | 2015-01-01T16:12:45.000Z | 2022-03-29T14:24:25.000Z | social/backends/azuread.py | raccoongang/python-social-auth | 81c0a542d158772bd3486d31834c10af5d5f08b0 | [
"BSD-3-Clause"
] | 731 | 2015-01-01T22:55:25.000Z | 2022-03-10T15:07:51.000Z | virtual/lib/python3.6/site-packages/social/backends/azuread.py | dennismwaniki67/awards | 80ed10541f5f751aee5f8285ab1ad54cfecba95f | [
"MIT"
] | 1,082 | 2015-01-01T16:27:26.000Z | 2022-03-22T21:18:33.000Z | from social_core.backends.azuread import AzureADOAuth2
| 27.5 | 54 | 0.890909 | 7 | 55 | 6.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019608 | 0.072727 | 55 | 1 | 55 | 55 | 0.921569 | 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 |
c215424b83f6d390aecbd0efbacc856a6c8e7a5e | 38 | py | Python | sqlcouch/exceptions.py | dimagi/sqlcouch | ff264740d223185d80e0bf8ea11f6f3c8f3d7e7b | [
"BSD-3-Clause"
] | 1 | 2016-03-01T10:20:20.000Z | 2016-03-01T10:20:20.000Z | sqlcouch/exceptions.py | dimagi/sqlcouch | ff264740d223185d80e0bf8ea11f6f3c8f3d7e7b | [
"BSD-3-Clause"
] | null | null | null | sqlcouch/exceptions.py | dimagi/sqlcouch | ff264740d223185d80e0bf8ea11f6f3c8f3d7e7b | [
"BSD-3-Clause"
] | null | null | null | class NoMoreData(Exception):
pass
| 12.666667 | 28 | 0.736842 | 4 | 38 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184211 | 38 | 2 | 29 | 19 | 0.903226 | 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 |
dfa4028f5508da847e15896d92223ad5641ce047 | 87 | py | Python | sampledata/exceptions.py | jespino/sampledata | 18682f878787f296adc90eb3ab6d236a863954bf | [
"BSD-3-Clause"
] | 3 | 2015-06-19T08:50:50.000Z | 2019-05-30T07:40:59.000Z | sampledata/exceptions.py | jespino/sampledata | 18682f878787f296adc90eb3ab6d236a863954bf | [
"BSD-3-Clause"
] | 4 | 2015-06-19T09:20:09.000Z | 2017-03-10T17:15:21.000Z | sampledata/exceptions.py | jespino/sampledata | 18682f878787f296adc90eb3ab6d236a863954bf | [
"BSD-3-Clause"
] | 4 | 2015-06-19T07:25:27.000Z | 2022-02-15T10:09:12.000Z | class ParameterError(Exception):
pass
class NotChoicesFound(Exception):
pass
| 12.428571 | 33 | 0.747126 | 8 | 87 | 8.125 | 0.625 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183908 | 87 | 6 | 34 | 14.5 | 0.915493 | 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 |
dfcb6f77810c69d9413f60d8f54a4f595fd87395 | 65 | py | Python | pytreearray/multiply.py | PhilipVinc/netket_dynamics | 6e8009098c279271cb0f289ba9e85c039bb284e4 | [
"Apache-2.0"
] | 2 | 2021-10-02T20:29:44.000Z | 2021-10-02T20:38:28.000Z | pytreearray/multiply.py | PhilipVinc/netket_dynamics | 6e8009098c279271cb0f289ba9e85c039bb284e4 | [
"Apache-2.0"
] | 11 | 2021-10-01T09:15:06.000Z | 2022-03-21T09:19:23.000Z | pytreearray/multiply.py | PhilipVinc/netket_dynamics | 6e8009098c279271cb0f289ba9e85c039bb284e4 | [
"Apache-2.0"
] | null | null | null | from ._src.multiply import multiply_outer as outer # noqa: F401
| 32.5 | 64 | 0.784615 | 10 | 65 | 4.9 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054545 | 0.153846 | 65 | 1 | 65 | 65 | 0.836364 | 0.153846 | 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 |
5f203d4af3e16b58b2caf10d5df99a539d4f0417 | 41 | py | Python | user/tests/test_verifycode.py | Hrsn2861/pysat-server | 72224bb0e6af8ef825eaf3259587698b5639b8a5 | [
"MIT"
] | null | null | null | user/tests/test_verifycode.py | Hrsn2861/pysat-server | 72224bb0e6af8ef825eaf3259587698b5639b8a5 | [
"MIT"
] | 7 | 2020-06-06T01:55:39.000Z | 2022-02-10T11:46:31.000Z | user/tests/test_verifycode.py | Hrsnnnn/pysat-server | 72224bb0e6af8ef825eaf3259587698b5639b8a5 | [
"MIT"
] | null | null | null | """pytest for user.models.verifycode
"""
| 13.666667 | 36 | 0.707317 | 5 | 41 | 5.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 41 | 2 | 37 | 20.5 | 0.783784 | 0.804878 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
a03374010f5d746041d0825cf88d30f7bf187cff | 57 | py | Python | copy_topic_files.py | FoamyGuy/CircuitPython_Repo_Topics | 9a606e9549bcd663d6290c0648466022c1b964db | [
"MIT"
] | null | null | null | copy_topic_files.py | FoamyGuy/CircuitPython_Repo_Topics | 9a606e9549bcd663d6290c0648466022c1b964db | [
"MIT"
] | null | null | null | copy_topic_files.py | FoamyGuy/CircuitPython_Repo_Topics | 9a606e9549bcd663d6290c0648466022c1b964db | [
"MIT"
] | null | null | null | import os
os.system("cp -r ../../../topic_scripts/* ./") | 19 | 46 | 0.561404 | 8 | 57 | 3.875 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 57 | 3 | 46 | 19 | 0.607843 | 0 | 0 | 0 | 0 | 0 | 0.568966 | 0.413793 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
a036a26ddca3cff8f085b18091bc763c3dc73fd2 | 261 | py | Python | Fundamentos/test-constantes.py | ijchavez/python | bccd94a9bee90125e2be27b0355bdaedb0ae9d19 | [
"Unlicense"
] | null | null | null | Fundamentos/test-constantes.py | ijchavez/python | bccd94a9bee90125e2be27b0355bdaedb0ae9d19 | [
"Unlicense"
] | null | null | null | Fundamentos/test-constantes.py | ijchavez/python | bccd94a9bee90125e2be27b0355bdaedb0ae9d19 | [
"Unlicense"
] | null | null | null | # para importar todo from constantes import *
from constantes import MI_CONSTANTE
from constantes import Matematicas as Mate
print(MI_CONSTANTE)
print(Mate.PI)
MI_CONSTANTE = "nuevo valor"
Mate.PI = "3.14"
print(">>>",MI_CONSTANTE)
print(">>>",Mate.PI)
| 18.642857 | 45 | 0.735632 | 37 | 261 | 5.081081 | 0.459459 | 0.234043 | 0.319149 | 0.223404 | 0.287234 | 0.287234 | 0 | 0 | 0 | 0 | 0 | 0.013393 | 0.141762 | 261 | 13 | 46 | 20.076923 | 0.825893 | 0.164751 | 0 | 0 | 0 | 0 | 0.097674 | 0 | 0 | 0 | 0 | 0.076923 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0.5 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
a09e18ee423836b7c3ce0e61bbbd9d1885bd9f19 | 73 | py | Python | modelator_py/util/tla/__init__.py | informalsystems/modelator-py | d66464096c022799e680e6201590a2ead69be32d | [
"Apache-2.0"
] | null | null | null | modelator_py/util/tla/__init__.py | informalsystems/modelator-py | d66464096c022799e680e6201590a2ead69be32d | [
"Apache-2.0"
] | 3 | 2022-03-30T16:01:49.000Z | 2022-03-31T13:40:03.000Z | modelator_py/util/tla/__init__.py | informalsystems/modelator-py | d66464096c022799e680e6201590a2ead69be32d | [
"Apache-2.0"
] | null | null | null | """TLA+ parser and syntax tree."""
from .parser import parse, parse_expr
| 24.333333 | 37 | 0.726027 | 11 | 73 | 4.727273 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136986 | 73 | 2 | 38 | 36.5 | 0.825397 | 0.383562 | 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 |
26551b53033df1ef4c846dd69a18ee414d9ea7ce | 26 | py | Python | lib/__init__.py | mswilkhu1/ssense | 59987a3c492591c8217811e79a63f25652f0295c | [
"MIT"
] | null | null | null | lib/__init__.py | mswilkhu1/ssense | 59987a3c492591c8217811e79a63f25652f0295c | [
"MIT"
] | null | null | null | lib/__init__.py | mswilkhu1/ssense | 59987a3c492591c8217811e79a63f25652f0295c | [
"MIT"
] | null | null | null | from . import conf_reader
| 13 | 25 | 0.807692 | 4 | 26 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.909091 | 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 |
cd48bacc37dd1b8304c3c30daa2f346ee7aa4309 | 6,317 | py | Python | Survival_Pygame/data.py | Lily-Li828/effective-octo-fiesta | 4dbfeaec6158141bb03005aa25240dd337694ee3 | [
"Apache-2.0"
] | null | null | null | Survival_Pygame/data.py | Lily-Li828/effective-octo-fiesta | 4dbfeaec6158141bb03005aa25240dd337694ee3 | [
"Apache-2.0"
] | null | null | null | Survival_Pygame/data.py | Lily-Li828/effective-octo-fiesta | 4dbfeaec6158141bb03005aa25240dd337694ee3 | [
"Apache-2.0"
] | null | null | null | import pygame
from pygame.locals import*
from pygame import mixer
pygame.init()
# loading in background image
backgroundClassic_image=pygame.image.load('image/WallPaper.png')
backgroundAncient_image=pygame.image.load('image/WallPaper2.png')
# loading in player image
player_imageClassic=pygame.image.... | 54.930435 | 114 | 0.625139 | 1,949 | 6,317 | 2.012314 | 0.04823 | 0.630801 | 0.889597 | 1.139215 | 0.625956 | 0.556094 | 0.542325 | 0.539776 | 0.539776 | 0.539776 | 0 | 0.251042 | 0.05034 | 6,317 | 114 | 115 | 55.412281 | 0.402734 | 0.080735 | 0 | 0.236842 | 0 | 0 | 0.157737 | 0.011456 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.039474 | 0 | 0.039474 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
cd52a473787d5199c37a49a98543ea8b45caa074 | 90 | py | Python | LTA/museums/admin.py | valeriimartsyshyn/lviv_tourist_adviser | e8ce0c7ba97262b2d181e3373eb806f4dcc9bbf1 | [
"MIT"
] | null | null | null | LTA/museums/admin.py | valeriimartsyshyn/lviv_tourist_adviser | e8ce0c7ba97262b2d181e3373eb806f4dcc9bbf1 | [
"MIT"
] | 1 | 2021-09-27T06:33:26.000Z | 2021-09-27T06:33:26.000Z | LTA/museums/admin.py | valeriimartsyshyn/lviv_tourist_adviser | e8ce0c7ba97262b2d181e3373eb806f4dcc9bbf1 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Museums
admin.site.register(Museums) | 22.5 | 32 | 0.833333 | 13 | 90 | 5.769231 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 90 | 4 | 33 | 22.5 | 0.925926 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
cd5a2073c9ceff87b49af728a52895c0f1961f0b | 61 | py | Python | newpy/loggers/__init__.py | janithPet/newpy | feb264f4e3da371c3f2ddc7633f3fdd5a25db661 | [
"MIT"
] | null | null | null | newpy/loggers/__init__.py | janithPet/newpy | feb264f4e3da371c3f2ddc7633f3fdd5a25db661 | [
"MIT"
] | 4 | 2021-09-03T06:18:29.000Z | 2021-09-03T08:36:25.000Z | newpy/loggers/__init__.py | janithPet/newpy | feb264f4e3da371c3f2ddc7633f3fdd5a25db661 | [
"MIT"
] | null | null | null | from newpy.loggers.colored_formatter import ColoredFormatter
| 30.5 | 60 | 0.901639 | 7 | 61 | 7.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065574 | 61 | 1 | 61 | 61 | 0.947368 | 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 |
cd5d8710df3d01c40879c8b39d50c6ffb79da254 | 181 | py | Python | putao/source/__init__.py | ongyx/putao | e901402308b9b4c3c9acf8dae15eb4781ddfcede | [
"MIT"
] | 7 | 2021-06-29T00:50:46.000Z | 2021-10-14T23:31:12.000Z | putao/source/__init__.py | ongyx/putao | e901402308b9b4c3c9acf8dae15eb4781ddfcede | [
"MIT"
] | 2 | 2021-08-28T05:34:01.000Z | 2021-08-29T05:03:34.000Z | putao/source/__init__.py | ongyx/putao | e901402308b9b4c3c9acf8dae15eb4781ddfcede | [
"MIT"
] | null | null | null | # coding: utf8
"""Sources provide an abstraction between a source of music notes and putao projects."""
from . import mml # noqa
from .reg import formats, loads, register # noqa
| 30.166667 | 88 | 0.734807 | 26 | 181 | 5.115385 | 0.884615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006757 | 0.18232 | 181 | 5 | 89 | 36.2 | 0.891892 | 0.585635 | 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 |
269506ce70f1d96fec0d9578b84d16a8d1ec4d2d | 72 | py | Python | back/app/models/__init__.py | davidroeca/simple_graphql | a6b2b20b6458b6b2fa9363a542015ab42761bd98 | [
"MIT"
] | null | null | null | back/app/models/__init__.py | davidroeca/simple_graphql | a6b2b20b6458b6b2fa9363a542015ab42761bd98 | [
"MIT"
] | null | null | null | back/app/models/__init__.py | davidroeca/simple_graphql | a6b2b20b6458b6b2fa9363a542015ab42761bd98 | [
"MIT"
] | null | null | null | from .database import db
from .user import User
from .post import Post
| 14.4 | 24 | 0.777778 | 12 | 72 | 4.666667 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180556 | 72 | 4 | 25 | 18 | 0.949153 | 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 |
f82900deb38425b32b0150ae828a4448ba15499c | 24 | py | Python | src/train/__init__.py | gracengu/multinomial_classification | 2346533415aff151d1774d36405360ca236cee3f | [
"MIT"
] | 2 | 2021-11-16T12:52:58.000Z | 2021-12-13T04:00:39.000Z | src/train/__init__.py | gracengu/multinomial_classification | 2346533415aff151d1774d36405360ca236cee3f | [
"MIT"
] | null | null | null | src/train/__init__.py | gracengu/multinomial_classification | 2346533415aff151d1774d36405360ca236cee3f | [
"MIT"
] | null | null | null | from .train import Train | 24 | 24 | 0.833333 | 4 | 24 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 24 | 1 | 24 | 24 | 0.952381 | 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 |
f859b964e5f9c3a181c35199baa7176223613982 | 1,308 | py | Python | www.py | MurphyWan/Python_Flask | 7ef61c8242b4edf05a1ce8c688564e7895017a76 | [
"MIT"
] | 1 | 2019-01-05T12:35:51.000Z | 2019-01-05T12:35:51.000Z | www.py | MurphyWan/Python_Flask | 7ef61c8242b4edf05a1ce8c688564e7895017a76 | [
"MIT"
] | null | null | null | www.py | MurphyWan/Python_Flask | 7ef61c8242b4edf05a1ce8c688564e7895017a76 | [
"MIT"
] | null | null | null | # coding:utf-8
# author:MurphyWan
# 蓝图放在www.py中
""" controller.py/index.py
from flask import Blueprint
route_index = Blueprint('index_page', __name__)
@route_index.route("/")
def index():
return "Hello World"
"""
from application import app
'''
统一拦截器 , 都放在这里
'''
from web.interceptors.Authinterceptor import *
'... | 29.727273 | 65 | 0.798165 | 177 | 1,308 | 5.677966 | 0.282486 | 0.125373 | 0.143284 | 0.199005 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00084 | 0.08945 | 1,308 | 43 | 66 | 30.418605 | 0.842989 | 0.20948 | 0 | 0 | 0 | 0 | 0.047472 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.555556 | 0 | 0.555556 | 0.444444 | 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 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 5 |
6ef32ce891baec71eb1386e2c2b81b8e89a8b9a4 | 123 | py | Python | src/hcrystalball/metrics/__init__.py | betatim/hcrystalball | 693b9b406f05afa23cfc4647c43260166a7076fe | [
"MIT"
] | 1 | 2021-04-12T17:08:17.000Z | 2021-04-12T17:08:17.000Z | src/hcrystalball/metrics/__init__.py | betatim/hcrystalball | 693b9b406f05afa23cfc4647c43260166a7076fe | [
"MIT"
] | null | null | null | src/hcrystalball/metrics/__init__.py | betatim/hcrystalball | 693b9b406f05afa23cfc4647c43260166a7076fe | [
"MIT"
] | 1 | 2022-01-03T16:02:35.000Z | 2022-01-03T16:02:35.000Z | from ._scorer import make_ts_scorer
from ._scorer import get_scorer
__all__ = [
"get_scorer",
"make_ts_scorer",
]
| 15.375 | 35 | 0.723577 | 17 | 123 | 4.529412 | 0.411765 | 0.25974 | 0.415584 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186992 | 123 | 7 | 36 | 17.571429 | 0.77 | 0 | 0 | 0 | 0 | 0 | 0.195122 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
3e28aa85ecfaa56c22716b2abd9f954c4b0ab246 | 136 | py | Python | tensorflow/__init__.py | vsilyaev/tensorflow | f41959ccb2d9d4c722fe8fc3351401d53bcf4900 | [
"Apache-2.0"
] | 4 | 2015-11-10T14:11:39.000Z | 2021-11-17T11:11:25.000Z | tensorflow/__init__.py | TheRockStarDBA/tensorflow | db0b5da485e1d1f23003ee08ed2e191451ee0319 | [
"Apache-2.0"
] | null | null | null | tensorflow/__init__.py | TheRockStarDBA/tensorflow | db0b5da485e1d1f23003ee08ed2e191451ee0319 | [
"Apache-2.0"
] | 2 | 2015-11-13T21:11:49.000Z | 2015-11-29T04:13:49.000Z | # Bring in all of the public TensorFlow interface into this
# module.
# pylint: disable=wildcard-import
from tensorflow.python import *
| 27.2 | 59 | 0.786765 | 19 | 136 | 5.631579 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 136 | 4 | 60 | 34 | 0.922414 | 0.713235 | 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 |
3e49611f7036088bee4b0176d2681701d3c8a29d | 4,437 | py | Python | test/hash_url.py | neotext/neotext-django-server | 7cfe98cd541ade9b26a1877f627e45a986b011e8 | [
"MIT"
] | null | null | null | test/hash_url.py | neotext/neotext-django-server | 7cfe98cd541ade9b26a1877f627e45a986b011e8 | [
"MIT"
] | 7 | 2015-11-30T02:59:23.000Z | 2016-10-06T15:52:52.000Z | test/hash_url.py | neotext/neotext-django-server | 7cfe98cd541ade9b26a1877f627e45a986b011e8 | [
"MIT"
] | null | null | null | from neotext.lib.neotext_quote_context.quote import Quote
t0 = Quote(
citing_quote="""<p>I am sick and tired of watching folks like Boris Johnson, Marine Le Pen, Donald Trump and others appeal to the worst racial instincts of our species, only to be shushed by folks telling me that it’s not <i>really</i> rac... | 90.55102 | 1,038 | 0.771918 | 756 | 4,437 | 4.506614 | 0.376984 | 0.023481 | 0.028764 | 0.018785 | 0.540065 | 0.540065 | 0.540065 | 0.540065 | 0.514235 | 0.485471 | 0 | 0.046037 | 0.138382 | 4,437 | 48 | 1,039 | 92.4375 | 0.844625 | 0 | 0 | 0.235294 | 0 | 0.235294 | 0.883202 | 0.019391 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.058824 | 0.058824 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
3e667e1d0cd277296f1a4241baaa4af12a192a1e | 1,889 | py | Python | tests/test_monkeypatch.py | marcdemers/py_vollib_vectorized | 0c2519ff58e3caf2caee37ca37d878e6e5e1eefd | [
"MIT"
] | 40 | 2020-12-17T16:36:32.000Z | 2022-02-07T20:11:26.000Z | tests/test_monkeypatch.py | marcdemers/py_vollib_vectorized | 0c2519ff58e3caf2caee37ca37d878e6e5e1eefd | [
"MIT"
] | 8 | 2021-01-20T04:17:50.000Z | 2022-02-18T07:02:27.000Z | tests/test_monkeypatch.py | marcdemers/py_vollib_vectorized | 0c2519ff58e3caf2caee37ca37d878e6e5e1eefd | [
"MIT"
] | 13 | 2020-12-30T21:05:10.000Z | 2022-03-27T12:30:26.000Z | import unittest
from unittest import TestCase
class Test(TestCase):
def test_02_vectorized_imports(self):
print("test02")
import py_vollib.black.implied_volatility
import py_vollib.black_scholes.implied_volatility
import py_vollib.black_scholes_merton.implied_volatility
imp... | 42.931818 | 137 | 0.728957 | 210 | 1,889 | 6.033333 | 0.128571 | 0.176796 | 0.184688 | 0.189424 | 0.875296 | 0.778216 | 0.685872 | 0.504341 | 0.464878 | 0.464878 | 0 | 0.002639 | 0.197459 | 1,889 | 43 | 138 | 43.930233 | 0.833113 | 0.007941 | 0 | 0.272727 | 0 | 0 | 0.152406 | 0.149198 | 0 | 0 | 0 | 0 | 0.272727 | 1 | 0.030303 | false | 0 | 0.393939 | 0 | 0.454545 | 0.030303 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
e415ae5887fb3b1c6bbb5eae6bf773f7d423747e | 1,152 | py | Python | 8kyu/a-wolf-in-sheeps-clothing/solution.py | Morioki/Code-Katas | 65bffc0675d3c0f68c60706e95e38ab1dcfc8636 | [
"MIT"
] | null | null | null | 8kyu/a-wolf-in-sheeps-clothing/solution.py | Morioki/Code-Katas | 65bffc0675d3c0f68c60706e95e38ab1dcfc8636 | [
"MIT"
] | null | null | null | 8kyu/a-wolf-in-sheeps-clothing/solution.py | Morioki/Code-Katas | 65bffc0675d3c0f68c60706e95e38ab1dcfc8636 | [
"MIT"
] | null | null | null | import unittest
def warn_the_sheep(queue):
return 'Pls go away and stop eating my sheep' if queue[::-1].index('wolf') == 0 else f"Oi! Sheep number {queue[::-1].index('wolf')}! You are about to be eaten by a wolf!"
class TestSolution(unittest.TestCase):
def test_1(self):
self.assertEquals(warn_the_she... | 57.6 | 175 | 0.62934 | 177 | 1,152 | 4 | 0.242938 | 0.268362 | 0.254237 | 0.225989 | 0.778249 | 0.740113 | 0.680791 | 0.661017 | 0.360169 | 0.19209 | 0 | 0.013058 | 0.202257 | 1,152 | 20 | 176 | 57.6 | 0.757345 | 0 | 0 | 0 | 0 | 0.071429 | 0.448395 | 0.024284 | 0 | 0 | 0 | 0 | 0.357143 | 1 | 0.428571 | false | 0 | 0.071429 | 0.071429 | 0.642857 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e450e0a78fcbebd70da772f87d262f552594b525 | 56 | py | Python | FrontRunner.py | mmaist/FrontRunner | 05095421b69a0a5ccf4ef53ae3dc35b8e8b926b7 | [
"MIT"
] | 1 | 2021-02-18T10:41:36.000Z | 2021-02-18T10:41:36.000Z | FrontRunner.py | mmaist/FrontRunner | 05095421b69a0a5ccf4ef53ae3dc35b8e8b926b7 | [
"MIT"
] | null | null | null | FrontRunner.py | mmaist/FrontRunner | 05095421b69a0a5ccf4ef53ae3dc35b8e8b926b7 | [
"MIT"
] | null | null | null | import time
import random
import json
import requests
| 8 | 15 | 0.821429 | 8 | 56 | 5.75 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 56 | 6 | 16 | 9.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
e4832a86e7db8f21257aa59834d215a8144ccb1f | 23 | py | Python | protonets/data/__init__.py | sripathisridhar/prototypical-networks | 02a1379dceea896e23ecf21384d4a6ee2393f38c | [
"MIT"
] | 889 | 2017-11-12T22:04:25.000Z | 2022-03-31T09:42:13.000Z | protonets/data/__init__.py | Harzva/prototypical-networks | c9bb4d258267c11cb6e23f0a19242d24ca98ad8a | [
"MIT"
] | 24 | 2017-12-06T19:28:23.000Z | 2021-11-27T11:35:53.000Z | protonets/data/__init__.py | Harzva/prototypical-networks | c9bb4d258267c11cb6e23f0a19242d24ca98ad8a | [
"MIT"
] | 240 | 2017-11-12T22:04:28.000Z | 2022-03-26T09:25:42.000Z | from . import omniglot
| 11.5 | 22 | 0.782609 | 3 | 23 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.947368 | 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 |
e48a824fae829e3008efd9a9fbcb0f03d3adc45f | 90 | py | Python | tests/__init__.py | slinksoft/PathExactDelayPrototype | 633576cfe031e8ee884daaa453a3e5d206eaeaa9 | [
"MIT"
] | null | null | null | tests/__init__.py | slinksoft/PathExactDelayPrototype | 633576cfe031e8ee884daaa453a3e5d206eaeaa9 | [
"MIT"
] | null | null | null | tests/__init__.py | slinksoft/PathExactDelayPrototype | 633576cfe031e8ee884daaa453a3e5d206eaeaa9 | [
"MIT"
] | null | null | null | import os
import sys
from pathlib import Path
sys.path.insert(0, 'exactdelaypathfinder')
| 15 | 42 | 0.8 | 13 | 90 | 5.538462 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012658 | 0.122222 | 90 | 5 | 43 | 18 | 0.898734 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
e4b481ea04167900e771c376b8996b0f7e02b22f | 221 | py | Python | models/locobuyticketresponse.py | jujinesy/Empier_PythonKakaoBot | 80d2951955002b1a0b5d77b5c2830bc8def63ea3 | [
"MIT"
] | 3 | 2017-03-30T15:20:18.000Z | 2018-01-04T12:46:05.000Z | models/locobuyticketresponse.py | skdltmxn/kakaobot | e738b4a8d994fc4125bbd471bd48378a11a8d371 | [
"MIT"
] | 1 | 2020-08-06T08:13:22.000Z | 2020-08-06T08:13:22.000Z | models/locobuyticketresponse.py | skdltmxn/kakaobot | e738b4a8d994fc4125bbd471bd48378a11a8d371 | [
"MIT"
] | 5 | 2020-08-06T08:18:02.000Z | 2021-02-28T03:59:45.000Z | # -*- coding: utf-8 -*-
from locoresponse import LocoResponse
class LocoBuyTicketResponse(LocoResponse):
def host(self):
return self._data["host"]
def port(self):
return self._data["port"]
| 18.416667 | 42 | 0.642534 | 24 | 221 | 5.833333 | 0.583333 | 0.142857 | 0.2 | 0.257143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005882 | 0.230769 | 221 | 11 | 43 | 20.090909 | 0.817647 | 0.095023 | 0 | 0 | 0 | 0 | 0.040404 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
e4de17c6c2bcdd5dac773b36cd590020f73017b2 | 322 | py | Python | ntsa/models/__init__.py | d3sm0/ntsa | cf5680c20fec3316eef90af86014f642b88bfbf2 | [
"MIT"
] | 15 | 2018-11-26T14:35:29.000Z | 2021-06-07T04:48:42.000Z | ntsa/models/__init__.py | d3sm0/ntsa | cf5680c20fec3316eef90af86014f642b88bfbf2 | [
"MIT"
] | 10 | 2020-01-28T22:29:29.000Z | 2021-12-13T19:52:10.000Z | ntsa/models/__init__.py | d3sm0/ntsa | cf5680c20fec3316eef90af86014f642b88bfbf2 | [
"MIT"
] | 4 | 2020-02-14T13:01:57.000Z | 2021-01-01T19:06:38.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from .model import Base
from .model import Dense
from .model import SeriesNet
from .model import NP
from .model import CNP
from .model import RNN
from .model import Seq2Seq
from .model import DARNN
from .model import RGAN
from .model import CRGAN
from .model import CGAN... | 16.947368 | 28 | 0.748447 | 51 | 322 | 4.72549 | 0.411765 | 0.410788 | 0.684647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007519 | 0.173913 | 322 | 18 | 29 | 17.888889 | 0.898496 | 0.130435 | 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 |
900e83820d1dd64bbe34d301bee0ba27a36ecb07 | 176 | py | Python | Servers/ProbabilisticServer.py | MartinHex/master-thesis | b5077d9acce60fd42467f73df6e39c61fd3e19b2 | [
"MIT"
] | null | null | null | Servers/ProbabilisticServer.py | MartinHex/master-thesis | b5077d9acce60fd42467f73df6e39c61fd3e19b2 | [
"MIT"
] | 2 | 2022-02-22T11:48:21.000Z | 2022-02-28T15:49:47.000Z | Servers/ProbabilisticServer.py | MartinHex/master-thesis | b5077d9acce60fd42467f73df6e39c61fd3e19b2 | [
"MIT"
] | null | null | null | from abc import ABC,abstractmethod
from Servers.ABCServer import ABCServer
class ProbabilisticServer(ABCServer):
@abstractmethod
def sample_model(self):
pass
| 19.555556 | 39 | 0.767045 | 19 | 176 | 7.052632 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 176 | 8 | 40 | 22 | 0.930556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.166667 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
5fc54e77ecccf0f0df60b5cd1eae650a55b8cc8e | 3,349 | py | Python | signatureanalyzer/tests/test_mapping.py | julianhess/getzlab-SignatureAnalyzer | 7f3ce93285c2aaaca88e82fee5a24854c224b453 | [
"MIT"
] | 37 | 2020-01-16T15:00:27.000Z | 2021-08-22T11:18:56.000Z | signatureanalyzer/tests/test_mapping.py | julianhess/getzlab-SignatureAnalyzer | 7f3ce93285c2aaaca88e82fee5a24854c224b453 | [
"MIT"
] | 18 | 2020-01-27T19:04:00.000Z | 2021-09-26T14:19:39.000Z | signatureanalyzer/tests/test_mapping.py | julianhess/getzlab-SignatureAnalyzer | 7f3ce93285c2aaaca88e82fee5a24854c224b453 | [
"MIT"
] | 8 | 2020-07-07T14:05:44.000Z | 2021-07-30T00:44:36.000Z | import unittest
import pandas as pd
import numpy as np
import os
import tempfile
import shutil
from signatureanalyzer.signatureanalyzer import run_spectra
from signatureanalyzer.bnmf import ardnmf
from signatureanalyzer.utils import file_loader
SPECTRA_ARROW = "../../examples/example_luad_spectra_1.tsv"
SPECTRA_WORD ... | 39.869048 | 118 | 0.696327 | 466 | 3,349 | 4.766094 | 0.165236 | 0.05403 | 0.052679 | 0.035119 | 0.789734 | 0.789734 | 0.789734 | 0.789734 | 0.789734 | 0.789734 | 0 | 0.029028 | 0.177068 | 3,349 | 83 | 119 | 40.349398 | 0.776851 | 0.020603 | 0 | 0.661017 | 0 | 0 | 0.108033 | 0.053863 | 0 | 0 | 0 | 0 | 0.101695 | 1 | 0.050847 | false | 0 | 0.152542 | 0 | 0.220339 | 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 |
5fcc22d5ecaf0da083c5ac9d8ac997e97cc93417 | 5,896 | py | Python | news_api/endpoints/models.py | rdoume/News_API | 9c555fdc5e5b717b98bcfec27364b9612b9c4aa1 | [
"MIT"
] | 9 | 2019-07-19T13:19:55.000Z | 2021-07-08T16:25:30.000Z | news_api/endpoints/models.py | rdoume/News_API | 9c555fdc5e5b717b98bcfec27364b9612b9c4aa1 | [
"MIT"
] | null | null | null | news_api/endpoints/models.py | rdoume/News_API | 9c555fdc5e5b717b98bcfec27364b9612b9c4aa1 | [
"MIT"
] | 1 | 2021-05-12T01:50:04.000Z | 2021-05-12T01:50:04.000Z | # -*- coding: utf-8 -*-
# System imports
import json
# Third-party imports
import falcon
from news_api.endpoints.vespaSearcher import vespaSearch
from news_api.endpoints.top_entities import getTopNewEntities
from news_api.endpoints.top_clusters import getTopNewCluster
# Local imports
# from news_api import settings
... | 35.518072 | 111 | 0.518318 | 591 | 5,896 | 5.020305 | 0.179357 | 0.109201 | 0.051904 | 0.067408 | 0.768116 | 0.743512 | 0.728008 | 0.709471 | 0.709471 | 0.709471 | 0 | 0.012479 | 0.388399 | 5,896 | 165 | 112 | 35.733333 | 0.810316 | 0.156547 | 0 | 0.587719 | 0 | 0 | 0.091764 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04386 | false | 0.026316 | 0.04386 | 0 | 0.114035 | 0.008772 | 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 |
399279cf633bc710b68c85b8b7d375ff1f8fa454 | 2,626 | py | Python | path-sum-four-ways/solution.py | ALB37/project-euler-problems | c3fb4213e150805bfe45b15847bc6449eb907c7a | [
"MIT"
] | null | null | null | path-sum-four-ways/solution.py | ALB37/project-euler-problems | c3fb4213e150805bfe45b15847bc6449eb907c7a | [
"MIT"
] | null | null | null | path-sum-four-ways/solution.py | ALB37/project-euler-problems | c3fb4213e150805bfe45b15847bc6449eb907c7a | [
"MIT"
] | null | null | null | from graph import Graph
matrix = []
with open('p083_matrix.txt') as file:
for line in file.readlines():
currentline = [int(n) for n in line.split(',')]
matrix.append(currentline)
numGraph = Graph()
# add each node first
for i in range(len(matrix)):
for j in range(len(matrix[i])):
num... | 38.617647 | 75 | 0.485149 | 415 | 2,626 | 3.06747 | 0.113253 | 0.076984 | 0.30165 | 0.320503 | 0.704635 | 0.704635 | 0.704635 | 0.695994 | 0.689709 | 0.689709 | 0 | 0.039046 | 0.297791 | 2,626 | 67 | 76 | 39.19403 | 0.651302 | 0.012947 | 0 | 0.571429 | 0 | 0 | 0.00618 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.020408 | 0 | 0.020408 | 0.020408 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
39d42321cd5a87223e9348e07673ab77d3799ca1 | 105 | py | Python | serverless/aws/features/__init__.py | captain-fox/serverless-builder | d79d120578d692dd34dd2f0a3bb75cc8ec719c81 | [
"MIT"
] | 3 | 2022-03-16T14:25:03.000Z | 2022-03-24T15:04:55.000Z | serverless/aws/features/__init__.py | captain-fox/serverless-builder | d79d120578d692dd34dd2f0a3bb75cc8ec719c81 | [
"MIT"
] | 3 | 2022-01-24T20:11:15.000Z | 2022-01-26T19:33:20.000Z | serverless/aws/features/__init__.py | epsyhealth/serverless-builder | 6a1f943b5cabc4c4748234b1623a9ced6464043a | [
"MIT"
] | 1 | 2022-02-15T13:54:29.000Z | 2022-02-15T13:54:29.000Z | from .api_handler import DefaultFourHundredResponse
from .api_keys import ApiKeys
from .xray import XRay
| 26.25 | 51 | 0.857143 | 14 | 105 | 6.285714 | 0.571429 | 0.159091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 105 | 3 | 52 | 35 | 0.946237 | 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 |
39dee2f2383aa49564e67055109a18b1b7a24546 | 192 | py | Python | qr_code/urls.py | mapreri/django-qr-code | 4792dcc19f04b0915dc715ba83ae22372aa78ce9 | [
"BSD-3-Clause"
] | null | null | null | qr_code/urls.py | mapreri/django-qr-code | 4792dcc19f04b0915dc715ba83ae22372aa78ce9 | [
"BSD-3-Clause"
] | null | null | null | qr_code/urls.py | mapreri/django-qr-code | 4792dcc19f04b0915dc715ba83ae22372aa78ce9 | [
"BSD-3-Clause"
] | null | null | null | from django.urls import path
from qr_code import views
app_name = 'qr_code'
urlpatterns = [
path('images/serve-qr-code-image/', views.serve_qr_code_image, name='serve_qr_code_image')
]
| 19.2 | 94 | 0.755208 | 31 | 192 | 4.387097 | 0.451613 | 0.220588 | 0.242647 | 0.352941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130208 | 192 | 9 | 95 | 21.333333 | 0.814371 | 0 | 0 | 0 | 0 | 0 | 0.276042 | 0.140625 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
39e1251d560049f22f859dac5fed8e5ec4b4ca80 | 95 | py | Python | solutions/carrots.py | dx-dt/Kattis | 62856999ae2ac43dab81f87beeac5bf8979528f5 | [
"Unlicense"
] | null | null | null | solutions/carrots.py | dx-dt/Kattis | 62856999ae2ac43dab81f87beeac5bf8979528f5 | [
"Unlicense"
] | null | null | null | solutions/carrots.py | dx-dt/Kattis | 62856999ae2ac43dab81f87beeac5bf8979528f5 | [
"Unlicense"
] | null | null | null | # https://open.kattis.com/problems/carrots
import sys
print sys.stdin.read().split()[1]
| 15.833333 | 43 | 0.684211 | 14 | 95 | 4.642857 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012195 | 0.136842 | 95 | 5 | 44 | 19 | 0.780488 | 0.421053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.5 | 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 |
84050b8c0b169a6bad0d62fb6d1d81572077e370 | 109 | py | Python | user_agent2/__init__.py | dytttf/user_agent2 | 311bfc5c820ed8233207f57f27bfd7b789040d9d | [
"MIT"
] | null | null | null | user_agent2/__init__.py | dytttf/user_agent2 | 311bfc5c820ed8233207f57f27bfd7b789040d9d | [
"MIT"
] | 1 | 2022-02-08T11:58:15.000Z | 2022-02-08T16:59:37.000Z | user_agent2/__init__.py | dytttf/user_agent2 | 311bfc5c820ed8233207f57f27bfd7b789040d9d | [
"MIT"
] | 3 | 2021-11-21T22:47:43.000Z | 2022-02-15T00:45:40.000Z | from user_agent2.base import (
generate_user_agent,
generate_navigator,
generate_navigator_js,
)
| 18.166667 | 30 | 0.761468 | 13 | 109 | 5.923077 | 0.692308 | 0.441558 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011236 | 0.183486 | 109 | 5 | 31 | 21.8 | 0.853933 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
843650dbb739a5fa34f00adc9a2ecc5b851d5e8f | 49 | py | Python | api_version_1.py | docktermj/python-future-proofing-apis | ae8ac783a14c6f9d4050ad2545c82f96fb990a5c | [
"Apache-2.0"
] | null | null | null | api_version_1.py | docktermj/python-future-proofing-apis | ae8ac783a14c6f9d4050ad2545c82f96fb990a5c | [
"Apache-2.0"
] | null | null | null | api_version_1.py | docktermj/python-future-proofing-apis | ae8ac783a14c6f9d4050ad2545c82f96fb990a5c | [
"Apache-2.0"
] | null | null | null | def stable_api(x):
print("X: {0}".format(x))
| 16.333333 | 29 | 0.571429 | 9 | 49 | 3 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02439 | 0.163265 | 49 | 2 | 30 | 24.5 | 0.634146 | 0 | 0 | 0 | 0 | 0 | 0.122449 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
844d85dc62ed6dfb3a4f73a387bf2a08be758a8e | 53 | py | Python | 05-functions_and_modules/mods_1.py | palmieric/Tecnologie_Web-Introduzione_a_Python | b10ce49a947b239ca2af1938248f7191937b2f89 | [
"CC0-1.0"
] | 3 | 2021-05-17T14:48:42.000Z | 2021-05-24T10:12:06.000Z | 05-functions_and_modules/mods_1.py | palmieric/Tecnologie_Web-Introduzione_a_Python | b10ce49a947b239ca2af1938248f7191937b2f89 | [
"CC0-1.0"
] | null | null | null | 05-functions_and_modules/mods_1.py | palmieric/Tecnologie_Web-Introduzione_a_Python | b10ce49a947b239ca2af1938248f7191937b2f89 | [
"CC0-1.0"
] | 2 | 2021-05-17T13:52:15.000Z | 2021-05-24T10:44:54.000Z | # mods 1
import random
print(random.randint(1,10))
| 10.6 | 27 | 0.716981 | 9 | 53 | 4.222222 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 0.150943 | 53 | 4 | 28 | 13.25 | 0.755556 | 0.113208 | 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 | 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 |
08384f79281339a1e0387a70c9f20061ae7f5d42 | 64 | py | Python | tests/basic/numeric.py | MoonStarCZW/py2rb | 89b247717d33d780fbf143e1583bfe9252984da4 | [
"MIT"
] | null | null | null | tests/basic/numeric.py | MoonStarCZW/py2rb | 89b247717d33d780fbf143e1583bfe9252984da4 | [
"MIT"
] | null | null | null | tests/basic/numeric.py | MoonStarCZW/py2rb | 89b247717d33d780fbf143e1583bfe9252984da4 | [
"MIT"
] | null | null | null | print(int(2.0))
print(float(2))
print(abs(-2.0))
print(abs(-2))
| 12.8 | 16 | 0.625 | 14 | 64 | 2.857143 | 0.428571 | 0.1 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 0.0625 | 64 | 4 | 17 | 16 | 0.566667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 0 | 0 | 0 | 1 | 0 | 5 |
08483d8175b8bd82d7534d3c981f5d1467884db2 | 195 | py | Python | darzalib/Incoming/__init__.py | swrlly/Midnight | b4375002761a13a09a6c3085e9b34384b28227ba | [
"MIT"
] | 2 | 2021-11-18T13:38:52.000Z | 2021-11-19T04:15:24.000Z | darzalib/Incoming/__init__.py | swrlly/Midnight | b4375002761a13a09a6c3085e9b34384b28227ba | [
"MIT"
] | null | null | null | darzalib/Incoming/__init__.py | swrlly/Midnight | b4375002761a13a09a6c3085e9b34384b28227ba | [
"MIT"
] | null | null | null | from .BiomeDisplay import BiomeDisplay
from .Chats import Chats
from .PlayEffect import PlayEffect
from .Reconnect import Reconnect
from .SwapAck import SwapAck
from .UseItemAck import UseItemAck | 32.5 | 38 | 0.851282 | 24 | 195 | 6.916667 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117949 | 195 | 6 | 39 | 32.5 | 0.965116 | 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 |
085dd2a204aa1776b398919049eef21372b1d7e4 | 107 | py | Python | src/zojax/catalog/tests/__init__.py | Zojax/zojax.catalog | 1be9ef2cd4516d6c1dcfe7da52c4d438852e7ea6 | [
"ZPL-2.1"
] | null | null | null | src/zojax/catalog/tests/__init__.py | Zojax/zojax.catalog | 1be9ef2cd4516d6c1dcfe7da52c4d438852e7ea6 | [
"ZPL-2.1"
] | null | null | null | src/zojax/catalog/tests/__init__.py | Zojax/zojax.catalog | 1be9ef2cd4516d6c1dcfe7da52c4d438852e7ea6 | [
"ZPL-2.1"
] | null | null | null | # This file is necessary to make this directory a package.
from zojax.catalog.catalog import queryCatalog
| 26.75 | 58 | 0.813084 | 16 | 107 | 5.4375 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149533 | 107 | 3 | 59 | 35.666667 | 0.956044 | 0.523364 | 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 |
f26a6e2aee87a0b97e130dc33aaab4654d6c6049 | 69 | py | Python | microdevices/connector/__init__.py | lmokto/microdevices | 75a129d1c32f64afe9027338c4be304322ded857 | [
"MIT"
] | null | null | null | microdevices/connector/__init__.py | lmokto/microdevices | 75a129d1c32f64afe9027338c4be304322ded857 | [
"MIT"
] | 1 | 2021-06-02T00:01:14.000Z | 2021-06-02T00:01:14.000Z | microdevices/connector/__init__.py | lmokto/microdevices | 75a129d1c32f64afe9027338c4be304322ded857 | [
"MIT"
] | null | null | null | from .mqtt import MQTTClient
from .sql import *
from .redis import *
| 17.25 | 28 | 0.753623 | 10 | 69 | 5.2 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 69 | 3 | 29 | 23 | 0.912281 | 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 |
f27e8907ba835e5562beea72db0b2659774edc40 | 46 | py | Python | calandarevent/__init__.py | YHallouard/adventofcode_yann | c6afb43c2af0bce74c5dee9c31e6eda2caa081d4 | [
"MIT"
] | null | null | null | calandarevent/__init__.py | YHallouard/adventofcode_yann | c6afb43c2af0bce74c5dee9c31e6eda2caa081d4 | [
"MIT"
] | null | null | null | calandarevent/__init__.py | YHallouard/adventofcode_yann | c6afb43c2af0bce74c5dee9c31e6eda2caa081d4 | [
"MIT"
] | null | null | null | from .version import __version__
__version__
| 11.5 | 32 | 0.847826 | 5 | 46 | 6.2 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 46 | 3 | 33 | 15.333333 | 0.775 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
f2813fd14566cad91048d44239959b70b5b53e25 | 192 | py | Python | tests/__init__.py | sjspielman/hyphyhelper | 0291cd72f0ba6ccb76e97feef97431f677dde730 | [
"BSD-3-Clause"
] | 16 | 2017-12-04T14:52:36.000Z | 2021-07-21T15:15:25.000Z | tests/__init__.py | sjspielman/hyphyhelper | 0291cd72f0ba6ccb76e97feef97431f677dde730 | [
"BSD-3-Clause"
] | 11 | 2018-01-16T16:06:13.000Z | 2021-12-07T14:14:15.000Z | tests/__init__.py | sjspielman/hyphyhelper | 0291cd72f0ba6ccb76e97feef97431f677dde730 | [
"BSD-3-Clause"
] | 10 | 2017-12-03T19:54:53.000Z | 2021-07-21T15:15:30.000Z | """``phyphy`` package for automating and parsing HyPhy (>=2.3.7) standard analyses.
Written by Stephanie J. Spielman.
Test modules
----------------
* phyphy_test
"""
from phyphy import *
| 14.769231 | 83 | 0.651042 | 24 | 192 | 5.166667 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018519 | 0.15625 | 192 | 12 | 84 | 16 | 0.746914 | 0.838542 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
4b489a2a948e0d5e9116987af060d05a349b77d2 | 123 | py | Python | handlers/__init__.py | IronWolf-K/nonebot_plugin_fr24 | f3752882598de54f41cd9b27456dd3b6f88971e2 | [
"MIT"
] | null | null | null | handlers/__init__.py | IronWolf-K/nonebot_plugin_fr24 | f3752882598de54f41cd9b27456dd3b6f88971e2 | [
"MIT"
] | null | null | null | handlers/__init__.py | IronWolf-K/nonebot_plugin_fr24 | f3752882598de54f41cd9b27456dd3b6f88971e2 | [
"MIT"
] | null | null | null | from .help import help_handler
from .pre import pre_handler
from .now import now_handler
from .filter import filter_handler | 30.75 | 34 | 0.845528 | 20 | 123 | 5 | 0.35 | 0.33 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121951 | 123 | 4 | 34 | 30.75 | 0.925926 | 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 |
4b63b53c7d4c16192575ee81d07d9b767d76c245 | 239 | py | Python | etl_framework/config_mixins/AddDestinationMixin.py | pantheon-ci-bot/etl-framework | 36d4c0d5c26ddd7c0bb2d2b99e3138b50a21c46f | [
"MIT"
] | 2 | 2017-03-01T20:09:06.000Z | 2019-02-08T17:10:16.000Z | etl_framework/config_mixins/AddDestinationMixin.py | pantheon-ci-bot/etl-framework | 36d4c0d5c26ddd7c0bb2d2b99e3138b50a21c46f | [
"MIT"
] | 40 | 2015-10-10T15:02:21.000Z | 2020-03-17T22:32:04.000Z | etl_framework/config_mixins/AddDestinationMixin.py | pantheon-ci-bot/etl-framework | 36d4c0d5c26ddd7c0bb2d2b99e3138b50a21c46f | [
"MIT"
] | 2 | 2018-11-14T21:50:58.000Z | 2022-03-07T20:59:27.000Z | """mixin to add destinations to config attributes"""
class AddDestinationMixin(object):
"""stuff"""
def add_destination_chooser(self, destination_chooser_mappings):
"""adds destination_choosers to config"""
pass
| 23.9 | 68 | 0.707113 | 25 | 239 | 6.56 | 0.72 | 0.097561 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188285 | 239 | 9 | 69 | 26.555556 | 0.845361 | 0.368201 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
4b8822ba30ebfce8e71617e36c3ea7b8cc487de1 | 46 | py | Python | qarithmetic/__init__.py | daniil-lyakhov/QArithmetic | 7a5df9504e17c1979107c119bbaf0c5b2750a619 | [
"Apache-2.0"
] | null | null | null | qarithmetic/__init__.py | daniil-lyakhov/QArithmetic | 7a5df9504e17c1979107c119bbaf0c5b2750a619 | [
"Apache-2.0"
] | null | null | null | qarithmetic/__init__.py | daniil-lyakhov/QArithmetic | 7a5df9504e17c1979107c119bbaf0c5b2750a619 | [
"Apache-2.0"
] | null | null | null | from .QArithmetic import *
from .qft import *
| 15.333333 | 26 | 0.73913 | 6 | 46 | 5.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 46 | 2 | 27 | 23 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
29aa9a45456c6db0c06ce0852d48191f56cbe430 | 104 | py | Python | src/hardware/GPIO_Map.py | lbowes/ascii-pong | 00e5a5f4b33a360f14299e6fc33f862880e5fb8f | [
"MIT"
] | null | null | null | src/hardware/GPIO_Map.py | lbowes/ascii-pong | 00e5a5f4b33a360f14299e6fc33f862880e5fb8f | [
"MIT"
] | null | null | null | src/hardware/GPIO_Map.py | lbowes/ascii-pong | 00e5a5f4b33a360f14299e6fc33f862880e5fb8f | [
"MIT"
] | 1 | 2021-03-10T17:22:00.000Z | 2021-03-10T17:22:00.000Z | GPIO_CON_1_BUT_1 = 10
GPIO_CON_1_BUT_2 = 9
GPIO_CON_2_BUT_1 = 11
GPIO_CON_2_BUT_2 = 14
GPIO_BUZZER = 15
| 17.333333 | 21 | 0.807692 | 27 | 104 | 2.481481 | 0.407407 | 0.41791 | 0.238806 | 0.328358 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.191011 | 0.144231 | 104 | 5 | 22 | 20.8 | 0.561798 | 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 |
29ba20d9bd3f8cb7d67a41fe698ce4a315481ebd | 21 | py | Python | test/__init__.py | mzappitello/http_monitor | 6a20e41bdbab480090de3c8d760bc7c425b9c899 | [
"MIT"
] | null | null | null | test/__init__.py | mzappitello/http_monitor | 6a20e41bdbab480090de3c8d760bc7c425b9c899 | [
"MIT"
] | null | null | null | test/__init__.py | mzappitello/http_monitor | 6a20e41bdbab480090de3c8d760bc7c425b9c899 | [
"MIT"
] | null | null | null | # test __init__ file
| 10.5 | 20 | 0.761905 | 3 | 21 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 0.705882 | 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 |
29cc2793a730a906cbbcc655e8b03fef329faada | 227 | py | Python | rsmtpd/response/smtp_501.py | alfmel/rsmtpd | 10900876b1f83d6c141070a413f81edf3c98ac51 | [
"Apache-2.0"
] | 1 | 2017-06-12T04:10:07.000Z | 2017-06-12T04:10:07.000Z | rsmtpd/response/smtp_501.py | alfmel/rsmtpd | 10900876b1f83d6c141070a413f81edf3c98ac51 | [
"Apache-2.0"
] | null | null | null | rsmtpd/response/smtp_501.py | alfmel/rsmtpd | 10900876b1f83d6c141070a413f81edf3c98ac51 | [
"Apache-2.0"
] | null | null | null | from rsmtpd.response.action import OK
from rsmtpd.response.base_response import BaseResponse
class SmtpResponse501(BaseResponse):
_smtp_code = 501
_message = "Syntax error in parameters or arguments"
_action = OK
| 25.222222 | 56 | 0.779736 | 28 | 227 | 6.142857 | 0.714286 | 0.116279 | 0.209302 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031746 | 0.167401 | 227 | 8 | 57 | 28.375 | 0.878307 | 0 | 0 | 0 | 0 | 0 | 0.171806 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
29d92f0ff0b006c6d957ac126ab63d45f2f46f8c | 146 | py | Python | danesfield/core/admin/__init__.py | girder/Danesfield | 04b0e991cae52bda758de4ee3f7e04dab45f3ff9 | [
"Apache-2.0"
] | null | null | null | danesfield/core/admin/__init__.py | girder/Danesfield | 04b0e991cae52bda758de4ee3f7e04dab45f3ff9 | [
"Apache-2.0"
] | 24 | 2021-10-29T21:03:34.000Z | 2022-03-18T02:07:57.000Z | danesfield/core/admin/__init__.py | girder/Danesfield | 04b0e991cae52bda758de4ee3f7e04dab45f3ff9 | [
"Apache-2.0"
] | 1 | 2022-01-26T09:31:48.000Z | 2022-01-26T09:31:48.000Z | from django.contrib import admin
# general admin settings
admin.site.site_header = 'Danesfield Admin'
admin.site.site_title = 'Danesfield Admin'
| 24.333333 | 43 | 0.80137 | 20 | 146 | 5.75 | 0.55 | 0.156522 | 0.226087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116438 | 146 | 5 | 44 | 29.2 | 0.891473 | 0.150685 | 0 | 0 | 0 | 0 | 0.262295 | 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 |
29e96f72799e651c5585b837791c85848195cb09 | 55 | py | Python | Game6/modules/sprites/__init__.py | ttkaixin1998/pikachupythongames | 609a3a5a2be3f5a187c332c7980bb5bb14548f02 | [
"MIT"
] | 4,013 | 2018-06-16T08:00:02.000Z | 2022-03-30T11:48:14.000Z | Game6/modules/sprites/__init__.py | pigbearcat/Games | b8c47ef1bcce9a9db3f3730c162e6e8e08b508a2 | [
"MIT"
] | 22 | 2018-10-18T00:15:50.000Z | 2022-01-13T08:16:15.000Z | Game6/modules/sprites/__init__.py | pigbearcat/Games | b8c47ef1bcce9a9db3f3730c162e6e8e08b508a2 | [
"MIT"
] | 2,172 | 2018-07-20T04:03:14.000Z | 2022-03-31T14:18:29.000Z | '''初始化'''
from .Bird import Bird
from .Pipe import Pipe | 18.333333 | 22 | 0.709091 | 9 | 55 | 4.333333 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145455 | 55 | 3 | 23 | 18.333333 | 0.829787 | 0.054545 | 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 |
4b0d7a34a5dad916ea34157afa0ac2b56a26899d | 119 | py | Python | optimizers/__init__.py | Leo-xxx/NeuronBlocks | 4ddbdc625ccec15337df3cbf85e73ed25a117989 | [
"MIT"
] | 1,257 | 2019-05-06T21:25:16.000Z | 2022-03-19T11:06:49.000Z | optimizers/__init__.py | heavenAsk/NeuronBlocks | 9b08bb8ac7ceca874c8f2541d610bc8d3278fb22 | [
"MIT"
] | 37 | 2019-05-07T00:16:13.000Z | 2021-12-31T11:55:44.000Z | optimizers/__init__.py | heavenAsk/NeuronBlocks | 9b08bb8ac7ceca874c8f2541d610bc8d3278fb22 | [
"MIT"
] | 186 | 2019-05-07T00:36:40.000Z | 2022-02-28T20:47:19.000Z | # Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT license.
from torch.optim import * | 39.666667 | 59 | 0.781513 | 16 | 119 | 5.8125 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 119 | 3 | 60 | 39.666667 | 0.911765 | 0.747899 | 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 |
4b2885e057467c9b44c65e10af712efbc6a9cb24 | 74 | py | Python | mogpe/__init__.py | aidanscannell/mogpe | 25a9af473d73d6fa35bd060bee0eb2c372b995e5 | [
"Apache-2.0"
] | 11 | 2021-04-01T02:40:21.000Z | 2022-01-31T16:14:44.000Z | mogpe/__init__.py | aidanscannell/mogpe | 25a9af473d73d6fa35bd060bee0eb2c372b995e5 | [
"Apache-2.0"
] | null | null | null | mogpe/__init__.py | aidanscannell/mogpe | 25a9af473d73d6fa35bd060bee0eb2c372b995e5 | [
"Apache-2.0"
] | 3 | 2021-04-04T02:45:34.000Z | 2021-11-22T23:48:28.000Z | from . import experts, gating_networks, gps, mixture_of_experts, training
| 37 | 73 | 0.824324 | 10 | 74 | 5.8 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 74 | 1 | 74 | 74 | 0.878788 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.