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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d515bd7cdbb78dc5bf33dbd7026357b29d36f6cc | 12,932 | py | Python | openstackclient/tests/identity/v2_0/test_role.py | larsks/python-openstackclient | 9062811d10f2ab660ce38f9bd20be9c52daa9479 | [
"Apache-2.0"
] | null | null | null | openstackclient/tests/identity/v2_0/test_role.py | larsks/python-openstackclient | 9062811d10f2ab660ce38f9bd20be9c52daa9479 | [
"Apache-2.0"
] | null | null | null | openstackclient/tests/identity/v2_0/test_role.py | larsks/python-openstackclient | 9062811d10f2ab660ce38f9bd20be9c52daa9479 | [
"Apache-2.0"
] | null | null | null | # Copyright 2013 Nebula Inc.
#
# 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... | 30.285714 | 77 | 0.611584 | 1,411 | 12,932 | 5.372077 | 0.115521 | 0.125198 | 0.078496 | 0.049868 | 0.834565 | 0.798945 | 0.75752 | 0.749868 | 0.741953 | 0.729947 | 0 | 0.002308 | 0.296551 | 12,932 | 426 | 78 | 30.356808 | 0.830933 | 0.1221 | 0 | 0.656766 | 0 | 0 | 0.016708 | 0 | 0 | 0 | 0 | 0 | 0.072607 | 1 | 0.059406 | false | 0 | 0.019802 | 0 | 0.105611 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1d142731b6388edb2a0b90ba5ff25bfcb57cb817 | 9,448 | py | Python | lib/regression_and_p_chart.py | richardgorham1/ds-prep-capstone | 69f87cb3312d160ea577b191b659c056414e837b | [
"MIT"
] | null | null | null | lib/regression_and_p_chart.py | richardgorham1/ds-prep-capstone | 69f87cb3312d160ea577b191b659c056414e837b | [
"MIT"
] | null | null | null | lib/regression_and_p_chart.py | richardgorham1/ds-prep-capstone | 69f87cb3312d160ea577b191b659c056414e837b | [
"MIT"
] | null | null | null | import math
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
import scipy.stats as stats
from scipy.stats import t
from scipy.stats import norm
import lib.p_chart as pc
import lib.least_squares as ls
def regression_and_p_chart(x, y_0, y_1, y_2, suptitle = None,
subtitle_0 =... | 32.027119 | 79 | 0.532388 | 1,404 | 9,448 | 3.430199 | 0.10114 | 0.012874 | 0.078488 | 0.084095 | 0.843231 | 0.843231 | 0.840739 | 0.835548 | 0.832849 | 0.812292 | 0 | 0.040323 | 0.291279 | 9,448 | 294 | 80 | 32.136054 | 0.678913 | 0.030588 | 0 | 0.650206 | 0 | 0 | 0.08783 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.004115 | false | 0 | 0.037037 | 0 | 0.041152 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1d31d31e2ac944084a7d60490414d9da8d257a18 | 12,794 | py | Python | mayan/apps/document_signatures/tests/test_views.py | prezi/mayan-edms | e9bc10a056c3379b57115c6e83022f48c6298e1d | [
"Apache-2.0"
] | 4 | 2019-02-17T08:35:42.000Z | 2019-03-28T06:02:11.000Z | mayan/apps/document_signatures/tests/test_views.py | zhoubear/mayan-edms | e9bc10a056c3379b57115c6e83022f48c6298e1d | [
"Apache-2.0"
] | 1 | 2018-10-11T13:01:34.000Z | 2018-10-11T13:01:34.000Z | mayan/apps/document_signatures/tests/test_views.py | prezi/mayan-edms | e9bc10a056c3379b57115c6e83022f48c6298e1d | [
"Apache-2.0"
] | 3 | 2019-01-29T13:21:57.000Z | 2019-10-27T03:20:15.000Z | from __future__ import absolute_import, unicode_literals
import logging
from django.core.files import File
from django_downloadview.test import assert_download_response
from django_gpg.models import Key
from documents.models import DocumentVersion
from documents.tests import (
GenericDocumentViewTestCase, TEST_... | 33.492147 | 78 | 0.646788 | 1,350 | 12,794 | 5.762963 | 0.082222 | 0.097686 | 0.047815 | 0.053985 | 0.898201 | 0.831362 | 0.823779 | 0.823779 | 0.811954 | 0.801928 | 0 | 0.004441 | 0.278334 | 12,794 | 381 | 79 | 33.580052 | 0.838189 | 0.003986 | 0 | 0.657439 | 0 | 0 | 0.056907 | 0.044192 | 0 | 0 | 0 | 0 | 0.076125 | 1 | 0.041522 | false | 0 | 0.034602 | 0 | 0.079585 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1d3e4bf23bc3868180d94f20d2e290be0d9ca621 | 235 | py | Python | users/tests.py | RavidYael/lets-meet | 38c409dc3ae79e9683b2e22b0e3a51298aea606c | [
"MIT"
] | null | null | null | users/tests.py | RavidYael/lets-meet | 38c409dc3ae79e9683b2e22b0e3a51298aea606c | [
"MIT"
] | 21 | 2022-03-09T08:39:42.000Z | 2022-03-31T21:11:47.000Z | users/tests.py | RavidYael/lets-meet | 38c409dc3ae79e9683b2e22b0e3a51298aea606c | [
"MIT"
] | 5 | 2022-02-28T13:45:11.000Z | 2022-03-06T15:26:54.000Z | from .class_tests.users_tests import * # noqa: F403 F401
from .class_tests.sign_up_tests import * # noqa: F403 F401
from .class_tests.login_tests import * # noqa: F403 F401
from .class_tests.logout_tests import * # noqa: F403 F401
| 47 | 59 | 0.761702 | 37 | 235 | 4.594595 | 0.324324 | 0.211765 | 0.329412 | 0.447059 | 0.788235 | 0.652941 | 0.652941 | 0.652941 | 0 | 0 | 0 | 0.120603 | 0.153191 | 235 | 4 | 60 | 58.75 | 0.733668 | 0.268085 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
1d4e9d29898602d77cbc96df50817ff99717c60b | 22 | py | Python | TurboStock/app/views.py | CLacaile/TurboStock | abc3a8e6260cecaa1e9bb93c682e6cb1de8b628d | [
"MIT"
] | null | null | null | TurboStock/app/views.py | CLacaile/TurboStock | abc3a8e6260cecaa1e9bb93c682e6cb1de8b628d | [
"MIT"
] | 3 | 2020-01-10T15:20:49.000Z | 2021-03-18T22:34:33.000Z | TurboStock/app/views.py | CLacaile/TurboStock | abc3a8e6260cecaa1e9bb93c682e6cb1de8b628d | [
"MIT"
] | null | null | null | from .views import *
| 7.333333 | 20 | 0.681818 | 3 | 22 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 22 | 2 | 21 | 11 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1d8f40e4546baf7cda589c624e0aec1a8fa5d838 | 33 | py | Python | hello.py | dk975024/test1 | 025e782b0c2a4fcd41f6ea6a0783d97da96eeeda | [
"BSD-3-Clause"
] | null | null | null | hello.py | dk975024/test1 | 025e782b0c2a4fcd41f6ea6a0783d97da96eeeda | [
"BSD-3-Clause"
] | null | null | null | hello.py | dk975024/test1 | 025e782b0c2a4fcd41f6ea6a0783d97da96eeeda | [
"BSD-3-Clause"
] | null | null | null | print("Hello, here is Jia WANG")
| 16.5 | 32 | 0.69697 | 6 | 33 | 3.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 33 | 1 | 33 | 33 | 0.821429 | 0 | 0 | 0 | 0 | 0 | 0.69697 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
d52ad2aa536abbaec796b27cf944314dcc364bcb | 3,959 | py | Python | circular_economy/migrations/0001_circular_economy.py | CzechInvest/ciis | c6102598f564a717472e5e31e7eb894bba2c8104 | [
"MIT"
] | 1 | 2019-05-26T22:24:01.000Z | 2019-05-26T22:24:01.000Z | circular_economy/migrations/0001_circular_economy.py | CzechInvest/ciis | c6102598f564a717472e5e31e7eb894bba2c8104 | [
"MIT"
] | 6 | 2019-01-22T14:53:43.000Z | 2020-09-22T16:20:28.000Z | circular_economy/migrations/0001_circular_economy.py | CzechInvest/ciis | c6102598f564a717472e5e31e7eb894bba2c8104 | [
"MIT"
] | null | null | null | # Generated by Django 2.2.3 on 2019-10-29 09:13
from django.db import migrations, models
import django.db.models.deletion
import uuid
class Migration(migrations.Migration):
initial = True
dependencies = [
('addresses', '0001_initial'),
]
operations = [
migrations.CreateModel(
... | 48.280488 | 136 | 0.577166 | 375 | 3,959 | 5.962667 | 0.234667 | 0.035778 | 0.067979 | 0.08229 | 0.765653 | 0.745081 | 0.745081 | 0.72093 | 0.72093 | 0.72093 | 0 | 0.016696 | 0.273807 | 3,959 | 81 | 137 | 48.876543 | 0.761043 | 0.011367 | 0 | 0.675676 | 1 | 0 | 0.165644 | 0.035276 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.040541 | 0 | 0.094595 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d53ae7d0de8a5729f1cd65448f37f028171a7fad | 28,855 | py | Python | pybind/nos/v7_1_0/cee_map/priority_table/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null | pybind/nos/v7_1_0/cee_map/priority_table/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null | pybind/nos/v7_1_0/cee_map/priority_table/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | 1 | 2021-11-05T22:15:42.000Z | 2021-11-05T22:15:42.000Z |
from operator import attrgetter
import pyangbind.lib.xpathhelper as xpathhelper
from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType
from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType
from pyangbind.lib.base import PybindBase
from d... | 77.986486 | 542 | 0.723999 | 4,302 | 28,855 | 4.596002 | 0.042073 | 0.025491 | 0.048149 | 0.031712 | 0.896874 | 0.870473 | 0.851558 | 0.848928 | 0.839318 | 0.826168 | 0 | 0.020369 | 0.118662 | 28,855 | 369 | 543 | 78.197832 | 0.757107 | 0.134465 | 0 | 0.482456 | 0 | 0.035088 | 0.383339 | 0.168077 | 0 | 0 | 0 | 0 | 0 | 1 | 0.118421 | false | 0 | 0.035088 | 0 | 0.27193 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d55533fd1aa913fe8b626d3ec75baa384b75645e | 78 | py | Python | preprocessor/all.py | sneha1234/Power-Log-Analysis-Using-Hadoop | bbbe91067fc3acbbfffef539b3e6c14583cedef4 | [
"Apache-2.0"
] | null | null | null | preprocessor/all.py | sneha1234/Power-Log-Analysis-Using-Hadoop | bbbe91067fc3acbbfffef539b3e6c14583cedef4 | [
"Apache-2.0"
] | null | null | null | preprocessor/all.py | sneha1234/Power-Log-Analysis-Using-Hadoop | bbbe91067fc3acbbfffef539b3e6c14583cedef4 | [
"Apache-2.0"
] | null | null | null | import os
os.system("python preprocess.py")
os.system("python hivercode.py")
| 15.6 | 33 | 0.75641 | 12 | 78 | 4.916667 | 0.583333 | 0.271186 | 0.474576 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089744 | 78 | 4 | 34 | 19.5 | 0.830986 | 0 | 0 | 0 | 0 | 0 | 0.506494 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
633b9fd7c0690d8b45d1c6cd5c230c3ebac2ab36 | 138 | py | Python | pyDiamondsBackground/__init__.py | muma7490/PyDIAMONDS-Background | 769a8ad57003a7d342d5e21c0f6fa74fb74821c1 | [
"MIT"
] | null | null | null | pyDiamondsBackground/__init__.py | muma7490/PyDIAMONDS-Background | 769a8ad57003a7d342d5e21c0f6fa74fb74821c1 | [
"MIT"
] | 10 | 2017-09-28T13:45:11.000Z | 2017-10-11T12:32:58.000Z | pyDiamondsBackground/__init__.py | muma7490/PyDIAMONDS-Background | 769a8ad57003a7d342d5e21c0f6fa74fb74821c1 | [
"MIT"
] | null | null | null | from pyDiamondsBackground.Background import Background
from pyDiamondsBackground import models
from pyDiamondsBackground.strings import *
| 34.5 | 54 | 0.891304 | 13 | 138 | 9.461538 | 0.461538 | 0.585366 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 138 | 3 | 55 | 46 | 0.97619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6346ea05ec301510c8eca9c60c3718fcb05a4be2 | 373 | py | Python | nlstruct/dataloaders/__init__.py | YoannT/nlstruct | 9f5df13d89fc2c3070ba696bdf4f02539716a361 | [
"BSD-3-Clause"
] | null | null | null | nlstruct/dataloaders/__init__.py | YoannT/nlstruct | 9f5df13d89fc2c3070ba696bdf4f02539716a361 | [
"BSD-3-Clause"
] | null | null | null | nlstruct/dataloaders/__init__.py | YoannT/nlstruct | 9f5df13d89fc2c3070ba696bdf4f02539716a361 | [
"BSD-3-Clause"
] | null | null | null | from nlstruct.dataloaders.brat import load_from_brat
from nlstruct.dataloaders.ncbi_disease import load_ncbi_disease
from nlstruct.dataloaders.medic import load_medic_synonyms, load_alt_medic_mapping
from nlstruct.dataloaders.bc5cdr import load_bc5cdr
from nlstruct.dataloaders.quaero import load_quaero
from nlstruct.da... | 62.166667 | 82 | 0.900804 | 54 | 373 | 5.907407 | 0.314815 | 0.225705 | 0.432602 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045845 | 0.064343 | 373 | 6 | 83 | 62.166667 | 0.868195 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
89587d789a0b48f663a49ef0e15edff5a121cbe1 | 11,361 | py | Python | test/charm_test.py | exceptorr/charm-k8s-prometheus | aa07d479c289a93dd51cfe1d767273ec4ff60ab6 | [
"Apache-2.0"
] | 3 | 2020-03-16T12:19:40.000Z | 2020-06-05T05:22:19.000Z | test/charm_test.py | exceptorr/charm-k8s-prometheus | aa07d479c289a93dd51cfe1d767273ec4ff60ab6 | [
"Apache-2.0"
] | 11 | 2020-02-14T06:04:42.000Z | 2020-06-01T13:47:32.000Z | test/charm_test.py | exceptorr/charm-k8s-prometheus | aa07d479c289a93dd51cfe1d767273ec4ff60ab6 | [
"Apache-2.0"
] | 2 | 2020-05-12T12:40:47.000Z | 2020-06-05T05:22:24.000Z | import json
import sys
import unittest
from unittest.mock import (
call,
create_autospec,
patch
)
from uuid import uuid4
sys.path.append('lib')
from ops.framework import (
EventBase,
)
from ops.model import (
ActiveStatus,
MaintenanceStatus,
)
sys.path.append('src')
from adapters import (
f... | 34.956923 | 79 | 0.643605 | 1,363 | 11,361 | 4.927366 | 0.123258 | 0.038416 | 0.042585 | 0.039607 | 0.819387 | 0.803157 | 0.783353 | 0.764443 | 0.74196 | 0.723496 | 0 | 0.005208 | 0.273215 | 11,361 | 324 | 80 | 35.064815 | 0.808163 | 0.197694 | 0 | 0.5 | 0 | 0 | 0.059169 | 0.020277 | 0 | 0 | 0 | 0 | 0.136364 | 1 | 0.040404 | false | 0 | 0.050505 | 0 | 0.116162 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8989c3f62acf917b7545fe6e324a351f41309076 | 37 | py | Python | src/las_to_cesium/__init__.py | jurajpalenik/las-to-cesium | 52b2bab3fc96318ba20be651597986579e80ec9f | [
"MIT"
] | null | null | null | src/las_to_cesium/__init__.py | jurajpalenik/las-to-cesium | 52b2bab3fc96318ba20be651597986579e80ec9f | [
"MIT"
] | null | null | null | src/las_to_cesium/__init__.py | jurajpalenik/las-to-cesium | 52b2bab3fc96318ba20be651597986579e80ec9f | [
"MIT"
] | null | null | null |
from las_to_cesium.main import main | 12.333333 | 35 | 0.837838 | 7 | 37 | 4.142857 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135135 | 37 | 3 | 35 | 12.333333 | 0.90625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
89a9dc113edb369c6f6a3a00f9297bf22ab4ed80 | 2,893 | py | Python | squandered/transaction/models.py | kzborisov/squandered | df46d54d5388f9f30c89cfa912b034c1b1c93219 | [
"MIT"
] | null | null | null | squandered/transaction/models.py | kzborisov/squandered | df46d54d5388f9f30c89cfa912b034c1b1c93219 | [
"MIT"
] | null | null | null | squandered/transaction/models.py | kzborisov/squandered | df46d54d5388f9f30c89cfa912b034c1b1c93219 | [
"MIT"
] | null | null | null | from django.contrib.auth import get_user_model
from django.db import models
from django.utils.timezone import localtime
from squandered.account.models import Profile, CustomUser
UserModel = get_user_model()
class ExpenseCategory(models.Model):
NAME_MAX_LENGTH = 256
name = models.CharField(
max_lengt... | 22.426357 | 59 | 0.62945 | 312 | 2,893 | 5.567308 | 0.224359 | 0.062176 | 0.059873 | 0.072539 | 0.831318 | 0.794473 | 0.794473 | 0.794473 | 0.794473 | 0.794473 | 0 | 0.009583 | 0.278604 | 2,893 | 128 | 60 | 22.601563 | 0.822712 | 0.006568 | 0 | 0.685185 | 0 | 0 | 0.05954 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037037 | false | 0 | 0.037037 | 0.037037 | 0.444444 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
89b1bb2cfa6ef397725cbb5b56c28d4a0c3292e0 | 232 | py | Python | blades_helper/__init__.py | eriksalt/blades_helper_proj | 96e9d856b0e7f7a9cfc26c9f1bdc89c574eebdbc | [
"MIT"
] | null | null | null | blades_helper/__init__.py | eriksalt/blades_helper_proj | 96e9d856b0e7f7a9cfc26c9f1bdc89c574eebdbc | [
"MIT"
] | null | null | null | blades_helper/__init__.py | eriksalt/blades_helper_proj | 96e9d856b0e7f7a9cfc26c9f1bdc89c574eebdbc | [
"MIT"
] | null | null | null | from .mission_generator_constants import MissionGeneratorConstants
from .mission import Mission
from .mission_generator import generate_missions, _initialize_mission, _configure_mission_by_type
from .data_gateway import DataGateway
| 46.4 | 97 | 0.896552 | 27 | 232 | 7.296296 | 0.555556 | 0.167513 | 0.203046 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077586 | 232 | 4 | 98 | 58 | 0.920561 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
89b657e9e9a5179b016740f66f735c08a89eae4c | 96 | py | Python | venv/lib/python3.8/site-packages/pyparsing/testing.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/pyparsing/testing.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/pyparsing/testing.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/b3/3b/3c/00a6511193212f4cb4bec31f6935409e9a8f1deb60e9528904d99ce106 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.447917 | 0 | 96 | 1 | 96 | 96 | 0.447917 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9841e330b8ff86994c26d11e0ddd74cdcc987c32 | 51,309 | py | Python | cottonformation/res/groundstation.py | MacHu-GWU/cottonformation-project | 23e28c08cfb5a7cc0db6dbfdb1d7e1585c773f3b | [
"BSD-2-Clause"
] | 5 | 2021-07-22T03:45:59.000Z | 2021-12-17T21:07:14.000Z | cottonformation/res/groundstation.py | MacHu-GWU/cottonformation-project | 23e28c08cfb5a7cc0db6dbfdb1d7e1585c773f3b | [
"BSD-2-Clause"
] | 1 | 2021-06-25T18:01:31.000Z | 2021-06-25T18:01:31.000Z | cottonformation/res/groundstation.py | MacHu-GWU/cottonformation-project | 23e28c08cfb5a7cc0db6dbfdb1d7e1585c773f3b | [
"BSD-2-Clause"
] | 2 | 2021-06-27T03:08:21.000Z | 2021-06-28T22:15:51.000Z | # -*- coding: utf-8 -*-
"""
This module
"""
import attr
import typing
from ..core.model import (
Property, Resource, Tag, GetAtt, TypeHint, TypeCheck,
)
from ..core.constant import AttrMeta
#--- Property declaration ---
@attr.s
class PropConfigS3RecordingConfig(Property):
"""
AWS Object Type = "AWS::Gr... | 63.737888 | 244 | 0.778908 | 5,123 | 51,309 | 7.718524 | 0.027913 | 0.098983 | 0.04145 | 0.064058 | 0.8865 | 0.885464 | 0.864524 | 0.805801 | 0.805726 | 0.803551 | 0 | 0.000541 | 0.099144 | 51,309 | 804 | 245 | 63.817164 | 0.854939 | 0.358085 | 0 | 0.46778 | 0 | 0 | 0.114229 | 0.085221 | 0 | 0 | 0 | 0 | 0 | 1 | 0.019093 | false | 0.009547 | 0.009547 | 0 | 0.298329 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7f2ba64c9ab9651acf1caf7619ae77a3c3e13afc | 31 | py | Python | livemark/plugins/blog/__init__.py | AyrtonB/livemark | f8c49d449ea6242c674cf345823468aaabea6e6b | [
"MIT"
] | 73 | 2021-06-07T13:28:36.000Z | 2022-03-26T05:37:59.000Z | livemark/plugins/blog/__init__.py | AyrtonB/livemark | f8c49d449ea6242c674cf345823468aaabea6e6b | [
"MIT"
] | 120 | 2021-06-04T12:51:01.000Z | 2022-03-21T11:11:36.000Z | livemark/plugins/blog/__init__.py | AyrtonB/livemark | f8c49d449ea6242c674cf345823468aaabea6e6b | [
"MIT"
] | 7 | 2021-09-22T11:38:26.000Z | 2022-03-26T05:35:58.000Z | from .plugin import BlogPlugin
| 15.5 | 30 | 0.83871 | 4 | 31 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7f4481341f42853f354216de7d09f8b31f721cff | 10,579 | py | Python | hallo/test/modules/convert/test_convert_unit_remove_name.py | SpangleLabs/Hallo | 17145d8f76552ecd4cbc5caef8924bd2cf0cbf24 | [
"MIT"
] | 1 | 2022-01-27T13:25:01.000Z | 2022-01-27T13:25:01.000Z | hallo/test/modules/convert/test_convert_unit_remove_name.py | joshcoales/Hallo | 17145d8f76552ecd4cbc5caef8924bd2cf0cbf24 | [
"MIT"
] | 75 | 2015-09-26T18:07:18.000Z | 2022-01-04T07:15:11.000Z | hallo/test/modules/convert/test_convert_unit_remove_name.py | SpangleLabs/Hallo | 17145d8f76552ecd4cbc5caef8924bd2cf0cbf24 | [
"MIT"
] | 1 | 2021-04-10T12:02:47.000Z | 2021-04-10T12:02:47.000Z | import unittest
from hallo.events import EventMessage
from hallo.test.modules.convert.convert_function_test_base import ConvertFunctionTestBase
class ConvertUnitRemoveNameTest(ConvertFunctionTestBase, unittest.TestCase):
def test_invalid_type_specified(self):
names1a = len(self.test_unit1a.name_list)
... | 41.980159 | 89 | 0.620096 | 1,316 | 10,579 | 4.733283 | 0.06459 | 0.101461 | 0.063574 | 0.042382 | 0.935624 | 0.935624 | 0.935303 | 0.931129 | 0.908974 | 0.908974 | 0 | 0.021606 | 0.291237 | 10,579 | 251 | 90 | 42.14741 | 0.809149 | 0 | 0 | 0.678112 | 0 | 0 | 0.150109 | 0 | 0 | 0 | 0 | 0 | 0.188841 | 1 | 0.06867 | false | 0 | 0.012876 | 0 | 0.085837 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7f8593e8e7b82f163c7b8036ced45a7e0b451eb8 | 69 | py | Python | src/commercetools/importapi/__init__.py | lime-green/commercetools-python-sdk | 63b77f6e5abe43e2b3ebbf3cdbbe00c7cf80dca6 | [
"MIT"
] | 1 | 2021-04-07T20:01:30.000Z | 2021-04-07T20:01:30.000Z | src/commercetools/platform/__init__.py | lime-green/commercetools-python-sdk | 63b77f6e5abe43e2b3ebbf3cdbbe00c7cf80dca6 | [
"MIT"
] | null | null | null | src/commercetools/platform/__init__.py | lime-green/commercetools-python-sdk | 63b77f6e5abe43e2b3ebbf3cdbbe00c7cf80dca6 | [
"MIT"
] | null | null | null | # Generated file, please do not change!!!
from .client import Client
| 23 | 41 | 0.753623 | 10 | 69 | 5.2 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15942 | 69 | 2 | 42 | 34.5 | 0.896552 | 0.565217 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7f8d92a7557b5c60c61137a3f8300aee22ab0f91 | 1,625 | py | Python | Pardee_Theme/build/lib/Pardee_Package/style_dictionaries.py | PardeeNerdy/Pardee_Visualization_Package | 5dfa1a56adc45ef7c33e23ffeb8c9dec6b9a44ca | [
"MIT"
] | 2 | 2020-07-09T14:02:27.000Z | 2020-07-20T15:29:19.000Z | Pardee_Package/style_dictionaries.py | Coryv221/Pardee_Theme | 32ebf18a3a5f0e7d37ac7bf773bc26efb807a5b3 | [
"MIT"
] | null | null | null | Pardee_Package/style_dictionaries.py | Coryv221/Pardee_Theme | 32ebf18a3a5f0e7d37ac7bf773bc26efb807a5b3 | [
"MIT"
] | null | null | null | from Pardee_Package import color_palletes as pardee_colors
standard_style = {
'axes.facecolor': pardee_colors.off_white(),
'axes.edgecolor': '.8',
'axes.grid': True,
'axes.axisbelow': True,
'axes.labelcolor': '.15',
'figure.facecolor': 'white',
'grid.color': '.8',
'grid.linestyle': '-',
'text.color... | 26.209677 | 59 | 0.616 | 198 | 1,625 | 5 | 0.267677 | 0.080808 | 0.084848 | 0.038384 | 0.79596 | 0.79596 | 0.79596 | 0.79596 | 0.79596 | 0.79596 | 0 | 0.014609 | 0.157538 | 1,625 | 61 | 60 | 26.639344 | 0.708546 | 0 | 0 | 0.779661 | 0 | 0 | 0.565857 | 0.026854 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.016949 | 0 | 0.016949 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f6c5978aade9368dd85c8bdc559e0884425c1182 | 44 | py | Python | menu/menu.py | cr33dog/pyxfce | ce3fa5e8c556e14a8127d67192484fe2f59b5595 | [
"BSD-3-Clause"
] | 4 | 2017-08-23T06:32:19.000Z | 2019-11-05T09:59:24.000Z | menu/menu.py | cr33dog/pyxfce | ce3fa5e8c556e14a8127d67192484fe2f59b5595 | [
"BSD-3-Clause"
] | null | null | null | menu/menu.py | cr33dog/pyxfce | ce3fa5e8c556e14a8127d67192484fe2f59b5595 | [
"BSD-3-Clause"
] | 2 | 2017-09-03T17:32:12.000Z | 2021-02-27T20:12:34.000Z | #!/usr/bin/env python
from _menu import *
| 8.8 | 21 | 0.681818 | 7 | 44 | 4.142857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 44 | 4 | 22 | 11 | 0.805556 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f6c781ad361787ef2ab3d5226e8437261d1b71de | 34 | py | Python | discord/types/guild.py | Harukomaze/disnake | 541f5c9623a02be894cd1015dbb344070700cb87 | [
"MIT"
] | null | null | null | discord/types/guild.py | Harukomaze/disnake | 541f5c9623a02be894cd1015dbb344070700cb87 | [
"MIT"
] | null | null | null | discord/types/guild.py | Harukomaze/disnake | 541f5c9623a02be894cd1015dbb344070700cb87 | [
"MIT"
] | null | null | null | from disnake.types.guild import *
| 17 | 33 | 0.794118 | 5 | 34 | 5.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f6c7cec1c8cacd806a59f473fdb3f8f816a8543b | 8,334 | py | Python | imageatm/client/client.py | vishalbelsare/imageatm | 2da9d1902d375338e4363ebf95bcb8ac2bb47ac7 | [
"Apache-2.0"
] | 215 | 2019-03-18T10:51:53.000Z | 2022-01-28T20:04:32.000Z | imageatm/client/client.py | vishalbelsare/imageatm | 2da9d1902d375338e4363ebf95bcb8ac2bb47ac7 | [
"Apache-2.0"
] | 21 | 2019-03-19T09:13:20.000Z | 2020-05-02T10:18:02.000Z | imageatm/client/client.py | vishalbelsare/imageatm | 2da9d1902d375338e4363ebf95bcb8ac2bb47ac7 | [
"Apache-2.0"
] | 54 | 2019-03-18T16:39:37.000Z | 2022-03-31T10:16:48.000Z | import click
from imageatm.client import commands
from imageatm.client.config import Config
# creates config object that will be passed from cli to subcommands
pass_config = click.make_pass_decorator(Config, ensure=True)
# cli is the group parent, it gets run before any of the subcommands are run
@click.group()
@pa... | 37.881818 | 116 | 0.699424 | 1,139 | 8,334 | 5.074627 | 0.14223 | 0.123702 | 0.050865 | 0.044118 | 0.76955 | 0.756228 | 0.756228 | 0.750346 | 0.750346 | 0.750346 | 0 | 0 | 0.135349 | 8,334 | 219 | 117 | 38.054795 | 0.802109 | 0.157907 | 0 | 0.698113 | 0 | 0 | 0.430501 | 0.0061 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037736 | false | 0.050314 | 0.018868 | 0 | 0.056604 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
f6fc7a9842d38033883cba9e68743d74fa9d6c95 | 27 | py | Python | src/euler_python_package/euler_python/medium/p163.py | wilsonify/euler | 5214b776175e6d76a7c6d8915d0e062d189d9b79 | [
"MIT"
] | null | null | null | src/euler_python_package/euler_python/medium/p163.py | wilsonify/euler | 5214b776175e6d76a7c6d8915d0e062d189d9b79 | [
"MIT"
] | null | null | null | src/euler_python_package/euler_python/medium/p163.py | wilsonify/euler | 5214b776175e6d76a7c6d8915d0e062d189d9b79 | [
"MIT"
] | null | null | null | def problem163():
pass
| 9 | 17 | 0.62963 | 3 | 27 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 0.259259 | 27 | 2 | 18 | 13.5 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | 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 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
1018d3e975f2c34ac98a81ddcbf5eebaf5f70c11 | 363 | py | Python | tests/support/constants.py | calvdee/weather-network-7-day-forecast-scraper | 805afa99fe0c42d3b45c7f059033921371e15808 | [
"Unlicense",
"MIT"
] | null | null | null | tests/support/constants.py | calvdee/weather-network-7-day-forecast-scraper | 805afa99fe0c42d3b45c7f059033921371e15808 | [
"Unlicense",
"MIT"
] | null | null | null | tests/support/constants.py | calvdee/weather-network-7-day-forecast-scraper | 805afa99fe0c42d3b45c7f059033921371e15808 | [
"Unlicense",
"MIT"
] | null | null | null | IMAGE_PATH = '/Users/calvindelima/code/weekly-rain-day-predictions/weather-network-7-day-forecast-scraper/tests/screenshot.png'
WN_FORECAST_DATA_PATH = '/Users/calvindelima/code/weekly-rain-day-predictions/weather-network-7-day-forecast-scraper/tests/wn_forecast_data.csv'
FORECAST_URL = 'https://www.theweathernetwork.c... | 90.75 | 144 | 0.829201 | 53 | 363 | 5.54717 | 0.566038 | 0.061224 | 0.142857 | 0.170068 | 0.591837 | 0.591837 | 0.591837 | 0.591837 | 0.591837 | 0.591837 | 0 | 0.011299 | 0.024793 | 363 | 3 | 145 | 121 | 0.819209 | 0 | 0 | 0 | 0 | 1 | 0.831956 | 0.633609 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
63fa17771b6a68f644eea5a44617c0cd958bcecc | 92 | py | Python | pynobody/propagator.py | ookuyan/pynobody | 70b784b4cbd7f967c58bb0e11f299ef30344006d | [
"Apache-2.0"
] | 3 | 2020-06-23T20:10:08.000Z | 2021-07-07T17:10:27.000Z | pynobody/propagator.py | ookuyan/pynobody | 70b784b4cbd7f967c58bb0e11f299ef30344006d | [
"Apache-2.0"
] | null | null | null | pynobody/propagator.py | ookuyan/pynobody | 70b784b4cbd7f967c58bb0e11f299ef30344006d | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
import numpy as np
def forward_euler(position, velocity):
pass
| 11.5 | 38 | 0.717391 | 14 | 92 | 4.642857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184783 | 92 | 7 | 39 | 13.142857 | 0.866667 | 0.217391 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
121db7107bbc1124dfa64d08bcf7cc3058bba5ca | 23,783 | py | Python | graphpype/utils_stats.py | EtienneCmb/graphpype | f19fdcd8e98660625a53c733ff8e44d60c31bd68 | [
"BSD-3-Clause"
] | null | null | null | graphpype/utils_stats.py | EtienneCmb/graphpype | f19fdcd8e98660625a53c733ff8e44d60c31bd68 | [
"BSD-3-Clause"
] | null | null | null | graphpype/utils_stats.py | EtienneCmb/graphpype | f19fdcd8e98660625a53c733ff8e44d60c31bd68 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
import scipy.stats as stat
import numpy as np
import itertools as it
def info_CI(X,Y):
""" Compute binomial comparaison
"""
nX = len(X) * 1.
nY = len(Y) * 1.
pX = np.sum(X == 1)/nX
pY = np.sum(Y == 1)/nY
#print pX,pY,np.absolute(pX-pY)
SE = np.sqrt(pX * (1-... | 31.753004 | 222 | 0.551108 | 3,671 | 23,783 | 3.287932 | 0.052302 | 0.105385 | 0.096935 | 0.066529 | 0.81657 | 0.776802 | 0.761972 | 0.743662 | 0.71309 | 0.705137 | 0 | 0.028099 | 0.275743 | 23,783 | 749 | 223 | 31.753004 | 0.672627 | 0.119918 | 0 | 0.64918 | 0 | 0 | 0.034402 | 0 | 0 | 0 | 0 | 0 | 0.036066 | 1 | 0.039344 | false | 0 | 0.02623 | 0 | 0.104918 | 0.186885 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
12704f813166d4e41a218cad1e8026eac08d092e | 100,968 | py | Python | sqlitely/grammar/SQLiteLexer.py | suurjaak/SQLitely | 3be9611385d58fbe2548dda6f27c7380b50297ce | [
"MIT"
] | 2 | 2020-08-29T01:31:12.000Z | 2021-07-17T03:07:36.000Z | sqlitely/grammar/SQLiteLexer.py | suurjaak/SQLitely | 3be9611385d58fbe2548dda6f27c7380b50297ce | [
"MIT"
] | 1 | 2020-11-25T05:49:11.000Z | 2020-11-25T10:40:20.000Z | sqlitely/grammar/SQLiteLexer.py | suurjaak/SQLitely | 3be9611385d58fbe2548dda6f27c7380b50297ce | [
"MIT"
] | 1 | 2022-02-16T13:12:14.000Z | 2022-02-16T13:12:14.000Z | # Generated from SQLite.g4 by ANTLR 4.8
# encoding: utf-8
from __future__ import print_function
from antlr4 import *
from io import StringIO
import sys
def serializedATN():
with StringIO() as buf:
buf.write(u"\3\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786\u5964\2")
buf.write(u"\u00a0\u05c1\b\1\4\2\... | 69.825726 | 103 | 0.624891 | 21,793 | 100,968 | 2.873996 | 0.143854 | 0.045822 | 0.168984 | 0.035125 | 0.44435 | 0.416777 | 0.380375 | 0.263966 | 0.223013 | 0.215573 | 0 | 0.36815 | 0.132666 | 100,968 | 1,445 | 104 | 69.874048 | 0.347059 | 0.000525 | 0 | 0.021038 | 1 | 0.415849 | 0.665712 | 0.639411 | 0 | 0 | 0 | 0 | 0 | 1 | 0.001403 | false | 0 | 0.002805 | 0 | 0.12202 | 0.000701 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d61ef78f600952878c9ce823c51e213141e691e4 | 31 | py | Python | dst/utils/metrics/__init__.py | gooppe/deep-summarization-toolkit | e249b7c31c817fedbc3133a3799c23a0115091bd | [
"MIT"
] | 7 | 2019-05-30T18:19:42.000Z | 2020-03-25T06:52:40.000Z | dst/utils/metrics/__init__.py | gooppe/deep-summarization-toolkit | e249b7c31c817fedbc3133a3799c23a0115091bd | [
"MIT"
] | null | null | null | dst/utils/metrics/__init__.py | gooppe/deep-summarization-toolkit | e249b7c31c817fedbc3133a3799c23a0115091bd | [
"MIT"
] | 3 | 2019-05-26T18:45:15.000Z | 2020-03-24T20:20:46.000Z | from .rouge import RougeMetric
| 15.5 | 30 | 0.83871 | 4 | 31 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c3a8a2e3c65130151fcc01becc1fbb89d961a4d1 | 27 | py | Python | achilles/terminal/pull/__init__.py | np-core/druid | ae483db67eeace4dabdb15e1401e9fc01e2c7d07 | [
"MIT"
] | 5 | 2019-09-04T21:02:36.000Z | 2021-11-05T01:14:56.000Z | achilles/terminal/pull/__init__.py | np-core/druid | ae483db67eeace4dabdb15e1401e9fc01e2c7d07 | [
"MIT"
] | 7 | 2019-03-14T05:42:11.000Z | 2019-03-15T01:49:20.000Z | achilles/terminal/pull/__init__.py | np-core/druid | ae483db67eeace4dabdb15e1401e9fc01e2c7d07 | [
"MIT"
] | 2 | 2021-03-01T06:53:35.000Z | 2021-11-05T01:18:43.000Z | from .commands import pull
| 13.5 | 26 | 0.814815 | 4 | 27 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c3ccf96301b413812915c06bd005907b84920d6a | 124 | py | Python | admin.py | jbmyre/ip | 99178b3e25b91cdabdbb1e453ad753dd775f773a | [
"MIT"
] | 1 | 2016-11-02T20:32:34.000Z | 2016-11-02T20:32:34.000Z | admin.py | jbmyre/ip_manager | 99178b3e25b91cdabdbb1e453ad753dd775f773a | [
"MIT"
] | null | null | null | admin.py | jbmyre/ip_manager | 99178b3e25b91cdabdbb1e453ad753dd775f773a | [
"MIT"
] | null | null | null | from django.contrib import admin
from . import models
admin.site.register(models.Subnet)
admin.site.register(models.Host)
| 17.714286 | 34 | 0.806452 | 18 | 124 | 5.555556 | 0.555556 | 0.18 | 0.34 | 0.46 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 124 | 6 | 35 | 20.666667 | 0.892857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
c3f25885627db5633d8d5b89111721a4902a8b07 | 275 | py | Python | src/day05_golf.py | guibou/AdventOfCode2020 | bfdfb0fb4c3198b7019b88f77e762a82665a024d | [
"BSD-3-Clause"
] | 1 | 2020-12-02T03:24:59.000Z | 2020-12-02T03:24:59.000Z | src/day05_golf.py | guibou/AdventOfCode2020 | bfdfb0fb4c3198b7019b88f77e762a82665a024d | [
"BSD-3-Clause"
] | null | null | null | src/day05_golf.py | guibou/AdventOfCode2020 | bfdfb0fb4c3198b7019b88f77e762a82665a024d | [
"BSD-3-Clause"
] | null | null | null | r=str.replace;print(max(map(lambda x:int(r(r(r(r(x,'F','0'),'B','1'),'R','1'),'L','0'),2),open("../content/day05"))))
s=set(map(lambda x:int(r(r(r(r(x,'F','0'),'B','1'),'R','1'),'L','0'),2),open("../content/day05")));print([i for i in s if (i+1) not in s and (i+2) in s][0])
| 91.666667 | 156 | 0.512727 | 67 | 275 | 2.104478 | 0.38806 | 0.085106 | 0.085106 | 0.184397 | 0.609929 | 0.609929 | 0.609929 | 0.609929 | 0.609929 | 0.609929 | 0 | 0.065891 | 0.061818 | 275 | 2 | 157 | 137.5 | 0.48062 | 0 | 0 | 0 | 0 | 0 | 0.174545 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
7f163c52275d5e9e70e4e21bd9ec594990d25fc6 | 13,878 | py | Python | tests/barriers/test_change_status.py | felix781/market-access-python-frontend | 3b0e49feb4fdf0224816326938a46002aa4a2b1c | [
"MIT"
] | 1 | 2021-12-15T04:14:03.000Z | 2021-12-15T04:14:03.000Z | tests/barriers/test_change_status.py | felix781/market-access-python-frontend | 3b0e49feb4fdf0224816326938a46002aa4a2b1c | [
"MIT"
] | 19 | 2019-12-11T11:32:47.000Z | 2022-03-29T15:40:57.000Z | tests/barriers/test_change_status.py | felix781/market-access-python-frontend | 3b0e49feb4fdf0224816326938a46002aa4a2b1c | [
"MIT"
] | 2 | 2021-02-09T09:38:45.000Z | 2021-03-29T19:07:09.000Z | from http import HTTPStatus
from django.urls import reverse
from mock import patch
from core.tests import MarketAccessTestCase
class ChangeStatusTestCase(MarketAccessTestCase):
def test_existing_status_not_in_choices(self):
response = self.client.get(
reverse("barriers:change_status", kwargs... | 38.765363 | 88 | 0.590215 | 1,535 | 13,878 | 5.117264 | 0.056678 | 0.058434 | 0.05627 | 0.071038 | 0.918905 | 0.918523 | 0.91394 | 0.900828 | 0.898536 | 0.892043 | 0 | 0.009667 | 0.299323 | 13,878 | 357 | 89 | 38.87395 | 0.798128 | 0 | 0 | 0.699405 | 0 | 0 | 0.21127 | 0.09497 | 0 | 0 | 0 | 0 | 0.300595 | 1 | 0.053571 | false | 0 | 0.011905 | 0 | 0.068452 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
615891cbdbc3bc29c3c6913eb2224bf665c2bac0 | 79 | py | Python | anime_downloader/commands/gui.py | Alsira/anime-downloader | d82b4cfd5c7c6c358d0d8ffd36ce2d5c4a285595 | [
"Unlicense"
] | 1,077 | 2020-10-17T15:43:17.000Z | 2022-03-31T15:24:29.000Z | anime_downloader/commands/gui.py | Alsira/anime-downloader | d82b4cfd5c7c6c358d0d8ffd36ce2d5c4a285595 | [
"Unlicense"
] | 509 | 2018-06-01T13:07:56.000Z | 2020-10-17T13:34:39.000Z | anime_downloader/commands/gui.py | Alsira/anime-downloader | d82b4cfd5c7c6c358d0d8ffd36ce2d5c4a285595 | [
"Unlicense"
] | 255 | 2018-05-27T03:52:11.000Z | 2020-10-12T17:27:38.000Z | import click
@click.command()
def command():
import anime_downloader.gui
| 11.285714 | 31 | 0.734177 | 10 | 79 | 5.7 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164557 | 79 | 6 | 32 | 13.166667 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4ee2b453cc785d9da3542780330214449bc46fe1 | 38 | py | Python | modules/tests/core/__init__.py | unimauro/eden | b739d334e6828d0db14b3790f2f5e2666fc83576 | [
"MIT"
] | null | null | null | modules/tests/core/__init__.py | unimauro/eden | b739d334e6828d0db14b3790f2f5e2666fc83576 | [
"MIT"
] | null | null | null | modules/tests/core/__init__.py | unimauro/eden | b739d334e6828d0db14b3790f2f5e2666fc83576 | [
"MIT"
] | null | null | null | from auth import *
from utils import * | 19 | 19 | 0.763158 | 6 | 38 | 4.833333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184211 | 38 | 2 | 19 | 19 | 0.935484 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f637c017ebd1f1c720a68bfffd5e21742871e100 | 11,008 | py | Python | tests/test_feed_manager.py | exxamalte/python-aio-georss-client | 045a8ad0b5f8969c5634b18bbb3360e085089432 | [
"Apache-2.0"
] | null | null | null | tests/test_feed_manager.py | exxamalte/python-aio-georss-client | 045a8ad0b5f8969c5634b18bbb3360e085089432 | [
"Apache-2.0"
] | 4 | 2020-12-30T10:54:30.000Z | 2022-03-05T09:54:45.000Z | tests/test_feed_manager.py | exxamalte/python-aio-georss-client | 045a8ad0b5f8969c5634b18bbb3360e085089432 | [
"Apache-2.0"
] | 1 | 2021-06-05T12:47:30.000Z | 2021-06-05T12:47:30.000Z | """Test for the generic georss feed manager."""
import datetime
import aiohttp
import pytest
from asynctest import CoroutineMock, patch
from aio_georss_client.consts import UPDATE_OK_NO_DATA
from aio_georss_client.feed_manager import FeedManagerBase
from aio_georss_client.status_update import StatusUpdate
from tests ... | 35.282051 | 87 | 0.637536 | 1,283 | 11,008 | 5.176929 | 0.10756 | 0.126468 | 0.122855 | 0.062632 | 0.827612 | 0.768293 | 0.75685 | 0.744806 | 0.713189 | 0.695875 | 0 | 0.027101 | 0.265898 | 11,008 | 311 | 88 | 35.395498 | 0.794827 | 0.03343 | 0 | 0.625 | 0 | 0 | 0.082856 | 0.019501 | 0 | 0 | 0 | 0 | 0.288793 | 1 | 0 | false | 0 | 0.038793 | 0 | 0.038793 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f645b35a3f598d1f22f2b643f487c8efb6595b82 | 108 | py | Python | psam/src/login.py | snwdaaa/PSAchivementManager | 403b9de5a25ca0a8c07ccd552b27157d53843def | [
"MIT"
] | null | null | null | psam/src/login.py | snwdaaa/PSAchivementManager | 403b9de5a25ca0a8c07ccd552b27157d53843def | [
"MIT"
] | null | null | null | psam/src/login.py | snwdaaa/PSAchivementManager | 403b9de5a25ca0a8c07ccd552b27157d53843def | [
"MIT"
] | null | null | null | # 유저 정보
onlineID = "kkj48188"
npssoCode = '4SDFJNJ6twByuLa3Bd7fPSqi4A7L1xxKaxhRP5tRnjvYEVDNhYxM4XxwaRej6BHi' | 36 | 78 | 0.861111 | 6 | 108 | 15.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 0.074074 | 108 | 3 | 78 | 36 | 0.78 | 0.046296 | 0 | 0 | 0 | 0 | 0.705882 | 0.627451 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f64a0d8fe742ec413571e090fda572c44f5ee5f4 | 92 | py | Python | mxdc/com/ca.py | michel4j/mxdc | 844f0854cc696553c8a51f8e9b5b06a8e4345261 | [
"BSD-3-Clause"
] | 2 | 2018-10-23T19:05:40.000Z | 2021-03-18T20:06:32.000Z | mxdc/com/ca.py | michel4j/mxdc | 844f0854cc696553c8a51f8e9b5b06a8e4345261 | [
"BSD-3-Clause"
] | null | null | null | mxdc/com/ca.py | michel4j/mxdc | 844f0854cc696553c8a51f8e9b5b06a8e4345261 | [
"BSD-3-Clause"
] | null | null | null | from gepics import * # Use pyepics
#from .oepics import * # use built-in epics interface | 46 | 55 | 0.717391 | 13 | 92 | 5.076923 | 0.769231 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206522 | 92 | 2 | 55 | 46 | 0.90411 | 0.695652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f65afb7425d58fcccea48f5d1a5dd2fb53425e5e | 168 | py | Python | cityyouthmatrix/apps/api/models.py | johnathaningle/CityYouthMatrix | b4ad244d92c97f3e20a923e18babf1ed1d278a87 | [
"MIT"
] | 1 | 2020-06-13T11:26:31.000Z | 2020-06-13T11:26:31.000Z | cityyouthmatrix/apps/api/models.py | jingle1000/CityYouthMatrix | b4ad244d92c97f3e20a923e18babf1ed1d278a87 | [
"MIT"
] | 2 | 2021-03-30T13:37:26.000Z | 2021-04-08T21:01:26.000Z | cityyouthmatrix/apps/api/models.py | johnathaningle/CityYouthMatrix | b4ad244d92c97f3e20a923e18babf1ed1d278a87 | [
"MIT"
] | null | null | null | from django.contrib.auth.models import AbstractUser
from django.utils.translation import gettext_lazy as _
from django.db import models
from django.db.models import Q
| 28 | 54 | 0.839286 | 26 | 168 | 5.346154 | 0.538462 | 0.28777 | 0.172662 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113095 | 168 | 5 | 55 | 33.6 | 0.932886 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
14461bbda815ddf288c90e8650a293f9db927857 | 196 | py | Python | ker/api/__init__.py | csvwolf/ker.py | ac86e1f01cdef0f3ae8b45022df20e8f4fcc9a76 | [
"MIT"
] | 5 | 2019-09-30T08:40:53.000Z | 2019-10-14T10:22:06.000Z | ker/api/__init__.py | csvwolf/ker.py | ac86e1f01cdef0f3ae8b45022df20e8f4fcc9a76 | [
"MIT"
] | null | null | null | ker/api/__init__.py | csvwolf/ker.py | ac86e1f01cdef0f3ae8b45022df20e8f4fcc9a76 | [
"MIT"
] | null | null | null | """
export apis to root
"""
from ker.api.list import *
from ker.api.account import *
from ker.api.dns import *
from ker.api.monitor import *
from ker.api.server import *
from ker.api.ssh import *
| 19.6 | 29 | 0.72449 | 34 | 196 | 4.176471 | 0.411765 | 0.295775 | 0.422535 | 0.56338 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153061 | 196 | 9 | 30 | 21.777778 | 0.855422 | 0.096939 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
144cd6b86121304aeccdfbcbfd145d4319dedbf7 | 66 | py | Python | gputools/separable/__init__.py | gmazzamuto/gputools | 73a4dee76a119f94d8163781a85b691fd080d506 | [
"BSD-3-Clause"
] | 89 | 2015-08-28T14:17:33.000Z | 2022-01-20T16:19:34.000Z | gputools/separable/__init__.py | gmazzamuto/gputools | 73a4dee76a119f94d8163781a85b691fd080d506 | [
"BSD-3-Clause"
] | 24 | 2015-08-28T19:06:22.000Z | 2022-02-21T21:10:13.000Z | gputools/separable/__init__.py | gmazzamuto/gputools | 73a4dee76a119f94d8163781a85b691fd080d506 | [
"BSD-3-Clause"
] | 17 | 2015-08-28T18:56:43.000Z | 2021-09-15T23:15:36.000Z |
from .separable_approx import separable_approx, separable_series | 22 | 64 | 0.878788 | 8 | 66 | 6.875 | 0.625 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 66 | 3 | 64 | 22 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
21152fc28a6ca5d535b00e0f61e26e6bb25fcdca | 111 | py | Python | linkify_it/__init__.py | tsutsu3/linkify-it-py | d7e3b77bbac4b4a9d61dcd7a9c47d74acc927831 | [
"MIT"
] | 7 | 2020-12-13T19:42:39.000Z | 2021-12-31T17:35:26.000Z | linkify_it/__init__.py | tsutsu3/linkify-it-py | d7e3b77bbac4b4a9d61dcd7a9c47d74acc927831 | [
"MIT"
] | 23 | 2020-11-10T13:40:12.000Z | 2021-12-21T09:13:13.000Z | linkify_it/__init__.py | tsutsu3/linkify-it-py | d7e3b77bbac4b4a9d61dcd7a9c47d74acc927831 | [
"MIT"
] | 2 | 2021-11-14T20:35:11.000Z | 2021-12-13T13:39:07.000Z | from .main import LinkifyIt # noqa: F401p
from .main import SchemaError # noqa: F401p
__version__ = "1.0.2"
| 22.2 | 44 | 0.720721 | 16 | 111 | 4.75 | 0.6875 | 0.210526 | 0.368421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098901 | 0.18018 | 111 | 4 | 45 | 27.75 | 0.736264 | 0.207207 | 0 | 0 | 0 | 0 | 0.058824 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
21236b97bbfc3c05665a0b5d9998b2d8d125d063 | 16,676 | py | Python | velkozz_web_api/apps/finance_api/model_views_seralizers/market_index/market_indicies_views.py | velkoz-data-ingestion/velkozz_web_api | 519a6a90e5fdf5bab8ba2daf637768c5fd424a12 | [
"MIT"
] | null | null | null | velkozz_web_api/apps/finance_api/model_views_seralizers/market_index/market_indicies_views.py | velkoz-data-ingestion/velkozz_web_api | 519a6a90e5fdf5bab8ba2daf637768c5fd424a12 | [
"MIT"
] | null | null | null | velkozz_web_api/apps/finance_api/model_views_seralizers/market_index/market_indicies_views.py | velkoz-data-ingestion/velkozz_web_api | 519a6a90e5fdf5bab8ba2daf637768c5fd424a12 | [
"MIT"
] | null | null | null | # Importing Django Methods:
from django.shortcuts import render
from rest_framework import viewsets
from rest_framework.decorators import api_view
from rest_framework.response import Response
from rest_framework.permissions import IsAuthenticated
from django.contrib.auth.models import Permission
# Importing Data Mana... | 36.893805 | 94 | 0.579815 | 1,543 | 16,676 | 6.214517 | 0.10499 | 0.04672 | 0.050057 | 0.043383 | 0.787986 | 0.747315 | 0.735426 | 0.73188 | 0.73188 | 0.72312 | 0 | 0.003289 | 0.343548 | 16,676 | 451 | 95 | 36.97561 | 0.872659 | 0.263792 | 0 | 0.702586 | 0 | 0 | 0.072328 | 0.001787 | 0 | 0 | 0 | 0 | 0 | 1 | 0.068966 | false | 0 | 0.043103 | 0 | 0.284483 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
216a46c38b5c8a45caaede810cec43986028719f | 5,568 | py | Python | tests/test_plotting.py | harrisong/lifetimes | 12708827fdeb777bce8149ccee41ba19c5ab009b | [
"MIT"
] | 2 | 2017-10-19T10:28:20.000Z | 2019-12-17T03:23:45.000Z | tests/test_plotting.py | harrisong/lifetimes | 12708827fdeb777bce8149ccee41ba19c5ab009b | [
"MIT"
] | 1 | 2021-09-08T11:04:27.000Z | 2021-09-08T11:04:27.000Z | tests/test_plotting.py | isabella232/lifetimes | afb8456df7e9b5df0ea2312c718ae82afcb2f0f8 | [
"MIT"
] | 2 | 2019-12-17T03:23:47.000Z | 2021-09-08T09:32:44.000Z | import pytest
import matplotlib
matplotlib.use('AGG') # use a non-interactive backend
from matplotlib import pyplot as plt
from lifetimes import plotting
from lifetimes import BetaGeoFitter, ParetoNBDFitter, ModifiedBetaGeoFitter
from lifetimes.datasets import load_cdnow_summary, load_transaction_data
from lifetimes ... | 38.136986 | 112 | 0.724138 | 719 | 5,568 | 5.262865 | 0.146036 | 0.050211 | 0.061839 | 0.085624 | 0.802061 | 0.793076 | 0.793076 | 0.789905 | 0.754228 | 0.706395 | 0 | 0.022256 | 0.176904 | 5,568 | 145 | 113 | 38.4 | 0.803404 | 0.018139 | 0 | 0.521368 | 0 | 0 | 0.037701 | 0.004392 | 0 | 0 | 0 | 0 | 0 | 1 | 0.153846 | false | 0 | 0.059829 | 0 | 0.376068 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
dcbea5908540d97be2f03cafd3338e4c50df7af0 | 16,147 | py | Python | agents/college_admission_jury_test.py | jackblandin/ml-fairness-gym | dce1feaacf2588e0a2d6187e896796241a25ed81 | [
"Apache-2.0"
] | null | null | null | agents/college_admission_jury_test.py | jackblandin/ml-fairness-gym | dce1feaacf2588e0a2d6187e896796241a25ed81 | [
"Apache-2.0"
] | null | null | null | agents/college_admission_jury_test.py | jackblandin/ml-fairness-gym | dce1feaacf2588e0a2d6187e896796241a25ed81 | [
"Apache-2.0"
] | null | null | null | # coding=utf-8
# Copyright 2022 The ML Fairness Gym Authors.
#
# 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 applicab... | 37.903756 | 80 | 0.663095 | 2,033 | 16,147 | 4.979833 | 0.123955 | 0.072699 | 0.045437 | 0.084749 | 0.776669 | 0.76452 | 0.756618 | 0.73706 | 0.71207 | 0.702588 | 0 | 0.03217 | 0.22803 | 16,147 | 425 | 81 | 37.992941 | 0.780024 | 0.058339 | 0 | 0.706199 | 0 | 0 | 0.054152 | 0.008311 | 0 | 0 | 0 | 0 | 0.06469 | 1 | 0.059299 | false | 0 | 0.026954 | 0 | 0.09434 | 0.002695 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
dcdc0a77ab20b81e39002d23af0fcfb71c9814be | 47 | py | Python | scripts/portal/crane_MR.py | G00dBye/YYMS | 1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb | [
"MIT"
] | 54 | 2019-04-16T23:24:48.000Z | 2021-12-18T11:41:50.000Z | scripts/portal/crane_MR.py | G00dBye/YYMS | 1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb | [
"MIT"
] | 3 | 2019-05-19T15:19:41.000Z | 2020-04-27T16:29:16.000Z | scripts/portal/crane_MR.py | G00dBye/YYMS | 1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb | [
"MIT"
] | 49 | 2020-11-25T23:29:16.000Z | 2022-03-26T16:20:24.000Z | # 200090300
sm.warp(250000100, 0)
sm.dispose()
| 11.75 | 21 | 0.723404 | 7 | 47 | 4.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.452381 | 0.106383 | 47 | 3 | 22 | 15.666667 | 0.357143 | 0.191489 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0d007138410a42aab2fd7c09366a75ebcb5eaacf | 10,779 | py | Python | congregation/dag/nodes/internal/unary.py | CCD-HRI/congregation | a552856b03a64a4295792184107c4e529ca3f4ae | [
"MIT"
] | 3 | 2020-10-05T16:30:15.000Z | 2021-01-22T13:38:02.000Z | congregation/dag/nodes/internal/unary.py | CCD-HRI/congregation | a552856b03a64a4295792184107c4e529ca3f4ae | [
"MIT"
] | null | null | null | congregation/dag/nodes/internal/unary.py | CCD-HRI/congregation | a552856b03a64a4295792184107c4e529ca3f4ae | [
"MIT"
] | 1 | 2021-02-19T12:40:57.000Z | 2021-02-19T12:40:57.000Z | from congregation.dag.nodes import UnaryOpNode
from congregation.dag.nodes.node import OpNode
from congregation.dag.nodes import *
from congregation.datasets import Relation
from congregation.datasets import Column
from congregation.utils import *
class Store(UnaryOpNode):
def __init__(self, out_rel: Relation, pa... | 32.762918 | 109 | 0.670656 | 1,426 | 10,779 | 4.704769 | 0.09467 | 0.074229 | 0.047697 | 0.045908 | 0.778954 | 0.750484 | 0.739753 | 0.721121 | 0.715159 | 0.708004 | 0 | 0.000847 | 0.232953 | 10,779 | 328 | 110 | 32.862805 | 0.810595 | 0.042212 | 0 | 0.633188 | 0 | 0 | 0.053637 | 0.031814 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222707 | false | 0 | 0.026201 | 0.078603 | 0.432314 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0d3edd2f2ceebf72da29c04d2d7f35342a496940 | 103 | py | Python | src/langs/python/wheel-part.py | boyanio/wasm-wheel | a35d8f3b6f9af607e210f3d2f8f8150f9c1796e8 | [
"MIT"
] | 40 | 2017-11-30T11:12:21.000Z | 2021-02-09T23:56:40.000Z | src/langs/python/wheel-part.py | boyanio/wasm-wheel | a35d8f3b6f9af607e210f3d2f8f8150f9c1796e8 | [
"MIT"
] | 16 | 2017-12-11T13:59:54.000Z | 2022-02-11T12:09:39.000Z | src/langs/python/wheel-part.py | boyanio/wasm-wheel | a35d8f3b6f9af607e210f3d2f8f8150f9c1796e8 | [
"MIT"
] | 7 | 2018-01-19T08:14:15.000Z | 2021-02-03T20:33:04.000Z | import random
def name():
return "Python"
def feelingLucky():
return random.randrange(1, 101, 1)
| 12.875 | 36 | 0.699029 | 14 | 103 | 5.142857 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0.174757 | 103 | 7 | 37 | 14.714286 | 0.788235 | 0 | 0 | 0 | 0 | 0 | 0.058252 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | true | 0 | 0.2 | 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 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
0d4cf4e1f3c86d2ee02fa7339cc1c69429a22a9f | 43 | py | Python | my_classes/.history/ModulesPackages_PackageNamespaces/example3b/module2_20210726190952.py | minefarmer/deep-Dive-1 | b0675b853180c5b5781888266ea63a3793b8d855 | [
"Unlicense"
] | null | null | null | my_classes/.history/ModulesPackages_PackageNamespaces/example3b/module2_20210726190952.py | minefarmer/deep-Dive-1 | b0675b853180c5b5781888266ea63a3793b8d855 | [
"Unlicense"
] | null | null | null | my_classes/.history/ModulesPackages_PackageNamespaces/example3b/module2_20210726190952.py | minefarmer/deep-Dive-1 | b0675b853180c5b5781888266ea63a3793b8d855 | [
"Unlicense"
] | null | null | null | import module1
print('Running moudle2.py') | 14.333333 | 27 | 0.790698 | 6 | 43 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051282 | 0.093023 | 43 | 3 | 27 | 14.333333 | 0.820513 | 0 | 0 | 0 | 0 | 0 | 0.409091 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
b4983b88d28bcc71493b83503f227cf45dc33360 | 152 | py | Python | cbprocharts/procharter.py | ricCap/coinbasepro-charts | e1c0c561a37ce0cdf2a1efabb2eb625e7766b38d | [
"MIT"
] | null | null | null | cbprocharts/procharter.py | ricCap/coinbasepro-charts | e1c0c561a37ce0cdf2a1efabb2eb625e7766b38d | [
"MIT"
] | 2 | 2021-02-25T20:15:28.000Z | 2021-02-25T20:17:37.000Z | cbprocharts/procharter.py | ricCap/coinbasepro-charts | e1c0c561a37ce0cdf2a1efabb2eb625e7766b38d | [
"MIT"
] | null | null | null | import cbpro
class ProCharter(cbpro.AuthenticatedClient):
""" A wrapper around cbpro AuthenticatedClient that adds charting capabilities.
"""
| 21.714286 | 83 | 0.763158 | 15 | 152 | 7.733333 | 0.8 | 0.413793 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164474 | 152 | 6 | 84 | 25.333333 | 0.913386 | 0.493421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b4c1e92077a9b0f3b0f4867058d0d79e75757db5 | 379 | py | Python | src/mlte/report/__init__.py | turingcompl33t/mlte | 2a0b299502dd9ea2830f5082e492bb000ceffc3d | [
"MIT"
] | 2 | 2022-03-09T15:44:32.000Z | 2022-03-18T16:00:56.000Z | src/mlte/report/__init__.py | turingcompl33t/mlte | 2a0b299502dd9ea2830f5082e492bb000ceffc3d | [
"MIT"
] | 6 | 2022-03-12T11:24:00.000Z | 2022-03-18T17:58:38.000Z | src/mlte/report/__init__.py | turingcompl33t/mlte | 2a0b299502dd9ea2830f5082e492bb000ceffc3d | [
"MIT"
] | null | null | null | from .report import (
Dataset,
User,
UseCase,
Limitation,
Metadata,
ModelDetails,
ModelSpecification,
Considerations,
Report,
)
from .render import render
__all__ = [
"Dataset",
"User",
"UseCase",
"Limitation",
"Metadata",
"ModelDetails",
"ModelSpecifica... | 14.037037 | 26 | 0.588391 | 27 | 379 | 8.111111 | 0.481481 | 0.100457 | 0.164384 | 0.255708 | 0.785388 | 0.785388 | 0.785388 | 0.785388 | 0.785388 | 0 | 0 | 0 | 0.290237 | 379 | 26 | 27 | 14.576923 | 0.814126 | 0 | 0 | 0 | 0 | 0 | 0.242744 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.083333 | 0 | 0.083333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b4e474bc7391df733af773175255ec7ebf5c5870 | 142 | py | Python | python/pyramid-array/solution.py | hiljusti/codewars-solutions | 1a423e8cb0fbcac94738f6e51dc333f057b0a731 | [
"WTFPL"
] | 2 | 2020-02-22T08:47:51.000Z | 2021-05-21T22:21:55.000Z | python/pyramid-array/solution.py | hiljusti/codewars-solutions | 1a423e8cb0fbcac94738f6e51dc333f057b0a731 | [
"WTFPL"
] | null | null | null | python/pyramid-array/solution.py | hiljusti/codewars-solutions | 1a423e8cb0fbcac94738f6e51dc333f057b0a731 | [
"WTFPL"
] | 1 | 2021-11-09T17:22:10.000Z | 2021-11-09T17:22:10.000Z | # https://www.codewars.com/kata/515f51d438015969f7000013
def pyramid(n): return [] if n <= 0 else [[1]] + [[1] + a for a in pyramid(n - 1)]
| 28.4 | 82 | 0.633803 | 23 | 142 | 3.913043 | 0.73913 | 0.177778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.211864 | 0.169014 | 142 | 4 | 83 | 35.5 | 0.550847 | 0.380282 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | false | 0 | 0 | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
2edfa4c07ced1131df6dcfb93cbe1d89e1e69ce8 | 8,501 | py | Python | lib/pyDHE/DHE_groups.py | ahmedyasserays/pyDHE | bf3b643e43538eca52ffb84f44d63d58245aced7 | [
"BSD-2-Clause"
] | 62 | 2017-08-11T01:38:46.000Z | 2022-01-28T02:22:56.000Z | lib/pyDHE/DHE_groups.py | ahmedyasserays/pyDHE | bf3b643e43538eca52ffb84f44d63d58245aced7 | [
"BSD-2-Clause"
] | 6 | 2017-09-18T19:51:55.000Z | 2018-06-08T08:13:58.000Z | lib/pyDHE/DHE_groups.py | ahmedyasserays/pyDHE | bf3b643e43538eca52ffb84f44d63d58245aced7 | [
"BSD-2-Clause"
] | 13 | 2017-09-18T13:26:59.000Z | 2021-11-25T15:13:58.000Z | # -*- coding: utf-8 -*-
# ===================================================================
#
# Copyright (c) 2017, DeadPix3l <skylerr.curtis@gmail.com>
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# ... | 126.880597 | 2,063 | 0.910363 | 382 | 8,501 | 20.259162 | 0.544503 | 0.004652 | 0.004393 | 0.005944 | 0.023776 | 0.017573 | 0.017573 | 0.017573 | 0.017573 | 0.017573 | 0 | 0.452206 | 0.053641 | 8,501 | 66 | 2,064 | 128.80303 | 0.509758 | 0.28679 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.979409 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2c014674fbeb4ba62fbdfafe529ea4958b105359 | 783 | py | Python | main.py | FlexLV/Projekts-Lidma-nas- | ace380d17407e88baa62595d591669945933dac6 | [
"MIT"
] | null | null | null | main.py | FlexLV/Projekts-Lidma-nas- | ace380d17407e88baa62595d591669945933dac6 | [
"MIT"
] | null | null | null | main.py | FlexLV/Projekts-Lidma-nas- | ace380d17407e88baa62595d591669945933dac6 | [
"MIT"
] | 1 | 2021-05-21T15:55:04.000Z | 2021-05-21T15:55:04.000Z | from flask import Flask, render_template
app = Flask('app')
@app.route('/')
def main():
return render_template("Main.html")
@app.route('/Covid_19')
def Covid_19():
return render_template("Covid_19.html")
@app.route('/ParLidmasinam')
def Par_lidmasinu():
return render_template("ParLidmasinu.html")
@app.route... | 20.605263 | 45 | 0.724138 | 101 | 783 | 5.485149 | 0.267327 | 0.227437 | 0.288809 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019886 | 0.100894 | 783 | 38 | 46 | 20.605263 | 0.767045 | 0 | 0 | 0 | 0 | 0 | 0.251276 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.296296 | false | 0.111111 | 0.037037 | 0.296296 | 0.62963 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
2c1c23835283e7f4645ee2d0e9eb6e85897eb0c9 | 99 | py | Python | Python/CursoEmVideo/Mundo 2/Desafios/Desafio47.py | carlos09v/Mini-Projects_Exercises | 0d457b5c5c83811fdefa1dd8f80ce436f8dac744 | [
"MIT"
] | 1 | 2021-08-23T13:04:55.000Z | 2021-08-23T13:04:55.000Z | Python/CursoEmVideo/Mundo 2/Desafios/Desafio47.py | carlos09v/Mini-Projects_Exercises | 0d457b5c5c83811fdefa1dd8f80ce436f8dac744 | [
"MIT"
] | null | null | null | Python/CursoEmVideo/Mundo 2/Desafios/Desafio47.py | carlos09v/Mini-Projects_Exercises | 0d457b5c5c83811fdefa1dd8f80ce436f8dac744 | [
"MIT"
] | null | null | null | print('Todos os \033[35mPARES\33[m de \033[33m0 a 50!\033[m')
for c in range(2,51,2):
print(c)
| 24.75 | 61 | 0.636364 | 23 | 99 | 2.73913 | 0.73913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.26506 | 0.161616 | 99 | 3 | 62 | 33 | 0.493976 | 0 | 0 | 0 | 0 | 0.333333 | 0.525253 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.666667 | 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 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
2588fa58d573597dc86061dd36cee20baafc0a67 | 258 | py | Python | pytest_testbook/hooks.py | ldiary/pytest-testbook | b47a86784588bb6fb28cf5b8e034f833f2e393b1 | [
"MIT"
] | 3 | 2016-05-28T20:30:46.000Z | 2017-01-06T15:19:46.000Z | pytest_testbook/hooks.py | ldiary/pytest-testbook | b47a86784588bb6fb28cf5b8e034f833f2e393b1 | [
"MIT"
] | null | null | null | pytest_testbook/hooks.py | ldiary/pytest-testbook | b47a86784588bb6fb28cf5b8e034f833f2e393b1 | [
"MIT"
] | 1 | 2019-01-06T18:38:48.000Z | 2019-01-06T18:38:48.000Z | """Pytest-Testbook pytest hooks."""
def pytest_testbook_kernel_setup(scenario):
"""Will be called after the Jupyter kernel is started."""
def pytest_testbook_kernel_teardown(scenario):
"""Will be called before the Jupyter kernel is shut down."""
| 25.8 | 64 | 0.744186 | 35 | 258 | 5.314286 | 0.542857 | 0.225806 | 0.182796 | 0.247312 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147287 | 258 | 9 | 65 | 28.666667 | 0.845455 | 0.527132 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | false | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
25a7de77c1ebe1a661f53add042f84c0e14081d0 | 59 | py | Python | lib/ua/agents/msie.py | hdknr/ua | bc41f5b46fb99d0d576c7542c2184b39679f4ebf | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | lib/ua/agents/msie.py | hdknr/ua | bc41f5b46fb99d0d576c7542c2184b39679f4ebf | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | lib/ua/agents/msie.py | hdknr/ua | bc41f5b46fb99d0d576c7542c2184b39679f4ebf | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | from . import BaseAgent
class Agent(BaseAgent):
pass
| 9.833333 | 23 | 0.711864 | 7 | 59 | 6 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.220339 | 59 | 5 | 24 | 11.8 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
25a94418c5bb9fda7b2eebb9a9eb8da506847ea6 | 170 | py | Python | Chapter08/07_dc_motor_on.py | PacktPublishing/MicroPython-Cookbook | ffd6aa15c303459570a89ba31b5bc734f05cb387 | [
"MIT"
] | 16 | 2019-07-01T16:24:22.000Z | 2022-03-03T06:54:57.000Z | Chapter08/07_dc_motor_on.py | ccwu0918/MicroPython-Cookbook | ffd6aa15c303459570a89ba31b5bc734f05cb387 | [
"MIT"
] | null | null | null | Chapter08/07_dc_motor_on.py | ccwu0918/MicroPython-Cookbook | ffd6aa15c303459570a89ba31b5bc734f05cb387 | [
"MIT"
] | 19 | 2019-04-17T08:30:12.000Z | 2022-01-14T03:05:37.000Z | from adafruit_crickit import crickit
import time
while True:
crickit.dc_motor_1.throttle = 1
time.sleep(1)
crickit.dc_motor_1.throttle = 0
time.sleep(1)
| 18.888889 | 36 | 0.729412 | 27 | 170 | 4.407407 | 0.481481 | 0.218487 | 0.235294 | 0.252101 | 0.386555 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043796 | 0.194118 | 170 | 8 | 37 | 21.25 | 0.824818 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.285714 | 0 | 0.285714 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
25b083a470f3795fafa74c75418d4c776575a35c | 42 | py | Python | databird/blueprints/driver/databird-driver-+package.driver_name+/tests/test_tests.py | jonas-hagen/databird | cfb358e74da62bb9d7ea0e6c7ac984671472120b | [
"MIT"
] | 1 | 2021-11-05T00:12:00.000Z | 2021-11-05T00:12:00.000Z | databird/blueprints/driver/databird-driver-+package.driver_name+/tests/test_tests.py | jonas-hagen/databird | cfb358e74da62bb9d7ea0e6c7ac984671472120b | [
"MIT"
] | null | null | null | databird/blueprints/driver/databird-driver-+package.driver_name+/tests/test_tests.py | jonas-hagen/databird | cfb358e74da62bb9d7ea0e6c7ac984671472120b | [
"MIT"
] | null | null | null | def test_tests_are_run():
assert True
| 14 | 25 | 0.738095 | 7 | 42 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 42 | 2 | 26 | 21 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
25e7d67e2f3e4ece7a46177fca8b3e52a01e44a1 | 139 | py | Python | jpkgchanger/__init__.py | intermedia-net/jpkgchanger | 0e64a34253a02214cdc99b24bf93ec791fa70498 | [
"MIT"
] | 5 | 2021-08-20T10:47:45.000Z | 2021-08-20T10:51:01.000Z | jpkgchanger/__init__.py | intermedia-net/jpkgchanger | 0e64a34253a02214cdc99b24bf93ec791fa70498 | [
"MIT"
] | null | null | null | jpkgchanger/__init__.py | intermedia-net/jpkgchanger | 0e64a34253a02214cdc99b24bf93ec791fa70498 | [
"MIT"
] | null | null | null | """Change java project package name!"""
__version__ = "0.0.1"
from .jpkgchanger import main
from .jpkgchanger import change_package_name
| 19.857143 | 44 | 0.769784 | 19 | 139 | 5.315789 | 0.631579 | 0.217822 | 0.415842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024793 | 0.129496 | 139 | 6 | 45 | 23.166667 | 0.809917 | 0.23741 | 0 | 0 | 0 | 0 | 0.05 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
25ee8fb224714dc5d66ee6e6d1e97b76c862d8bd | 8,523 | py | Python | python/dazl/_gen/com/daml/ledger/api/v1/command_completion_service_pb2_grpc.py | digital-asset/dazl-client | 5d54edaea26d7704cc8d73e5945b37ed2806265b | [
"Apache-2.0"
] | 8 | 2019-09-08T09:41:03.000Z | 2022-02-19T12:54:30.000Z | python/dazl/_gen/com/daml/ledger/api/v1/command_completion_service_pb2_grpc.py | digital-asset/dazl-client | 5d54edaea26d7704cc8d73e5945b37ed2806265b | [
"Apache-2.0"
] | 55 | 2019-05-30T23:00:31.000Z | 2022-01-24T01:51:32.000Z | python/dazl/_gen/com/daml/ledger/api/v1/command_completion_service_pb2_grpc.py | digital-asset/dazl-client | 5d54edaea26d7704cc8d73e5945b37ed2806265b | [
"Apache-2.0"
] | 9 | 2019-06-30T18:15:27.000Z | 2021-12-03T10:15:27.000Z | # Copyright (c) 2017-2021 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
# fmt: off
# isort: skip_file
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
"""Client and server classes corresponding to protobuf-defined services."""
imp... | 53.943038 | 160 | 0.743283 | 1,015 | 8,523 | 5.967488 | 0.209852 | 0.0421 | 0.055473 | 0.062407 | 0.792141 | 0.792141 | 0.785207 | 0.761763 | 0.743602 | 0.743602 | 0 | 0.007512 | 0.203449 | 8,523 | 157 | 161 | 54.286624 | 0.884666 | 0.431069 | 0 | 0.444444 | 1 | 0 | 0.092503 | 0.06598 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | false | 0 | 0.027778 | 0.027778 | 0.180556 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
25f5763ac09ea42797d19f67c25db6d9e824c901 | 129 | py | Python | python-sdk/nuscenes/eval/tracking/render.py | tanjiangyuan/Classification_nuScence | b94c4b0b6257fc1c048a676e3fd9e71183108d53 | [
"Apache-2.0"
] | null | null | null | python-sdk/nuscenes/eval/tracking/render.py | tanjiangyuan/Classification_nuScence | b94c4b0b6257fc1c048a676e3fd9e71183108d53 | [
"Apache-2.0"
] | null | null | null | python-sdk/nuscenes/eval/tracking/render.py | tanjiangyuan/Classification_nuScence | b94c4b0b6257fc1c048a676e3fd9e71183108d53 | [
"Apache-2.0"
] | null | null | null | version https://git-lfs.github.com/spec/v1
oid sha256:ed79645690789316884aed85663afe72461467846ba7eca6822bd4843888a140
size 6528
| 32.25 | 75 | 0.883721 | 13 | 129 | 8.769231 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.455285 | 0.046512 | 129 | 3 | 76 | 43 | 0.471545 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
25fdd1af5870b3528a30f737fb8936138f7f2942 | 110 | py | Python | way/python/first_steps/pcc/hello_pcc_world.py | only-romano/junkyard | b60a25b2643f429cdafee438d20f9966178d6f36 | [
"MIT"
] | null | null | null | way/python/first_steps/pcc/hello_pcc_world.py | only-romano/junkyard | b60a25b2643f429cdafee438d20f9966178d6f36 | [
"MIT"
] | null | null | null | way/python/first_steps/pcc/hello_pcc_world.py | only-romano/junkyard | b60a25b2643f429cdafee438d20f9966178d6f36 | [
"MIT"
] | null | null | null | #! Hello python crash course world programm
message = "Hello Python Crash Course World !"
print(message)
| 22 | 46 | 0.736364 | 14 | 110 | 5.785714 | 0.571429 | 0.271605 | 0.395062 | 0.54321 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190909 | 110 | 4 | 47 | 27.5 | 0.910112 | 0.381818 | 0 | 0 | 0 | 0 | 0.52381 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
d32d3eea70a664a9392d1574c40e3e7c239f6301 | 9,897 | py | Python | tests/core/networking/test_networking_actions.py | LaudateCorpus1/chaostoolkit-oci | 36da01a47dd1b0881ec21cb70775fde5011b38ed | [
"Apache-2.0"
] | 15 | 2018-11-20T15:36:52.000Z | 2021-12-16T21:46:56.000Z | tests/core/networking/test_networking_actions.py | LaudateCorpus1/chaostoolkit-oci | 36da01a47dd1b0881ec21cb70775fde5011b38ed | [
"Apache-2.0"
] | 21 | 2018-11-26T19:11:52.000Z | 2021-12-15T19:38:37.000Z | tests/core/networking/test_networking_actions.py | LaudateCorpus1/chaostoolkit-oci | 36da01a47dd1b0881ec21cb70775fde5011b38ed | [
"Apache-2.0"
] | 8 | 2018-11-20T15:37:09.000Z | 2021-07-28T20:27:19.000Z | # coding: utf-8
# Copyright 2020, Oracle Corporation and/or its affiliates.
import pytest
from unittest.mock import MagicMock, patch
from chaoslib.exceptions import ActivityFailed
from chaosoci.core.networking.actions import (delete_route_table_by_id, delete_route_table_by_filters,
... | 46.464789 | 112 | 0.636152 | 1,209 | 9,897 | 4.894127 | 0.08354 | 0.042589 | 0.066926 | 0.083319 | 0.897076 | 0.857698 | 0.800575 | 0.793983 | 0.727058 | 0.648978 | 0 | 0.013701 | 0.284632 | 9,897 | 212 | 113 | 46.683962 | 0.822034 | 0.015055 | 0 | 0.686486 | 0 | 0 | 0.194581 | 0.150246 | 0 | 0 | 0 | 0 | 0.108108 | 1 | 0.043243 | false | 0 | 0.032432 | 0 | 0.075676 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d378ef154b09b7a7451e091caa233a2e12958e7f | 32 | py | Python | __init__.py | wrow/PushbulletLogging | 34229ca79e6b94607368be639e8167a4b4ee673a | [
"MIT"
] | 1 | 2017-12-06T18:30:37.000Z | 2017-12-06T18:30:37.000Z | __init__.py | wrow/PushbulletLogging | 34229ca79e6b94607368be639e8167a4b4ee673a | [
"MIT"
] | null | null | null | __init__.py | wrow/PushbulletLogging | 34229ca79e6b94607368be639e8167a4b4ee673a | [
"MIT"
] | null | null | null | from PushbulletLogging import *
| 16 | 31 | 0.84375 | 3 | 32 | 9 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.964286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d38ae365b90d064a19cacc4b94d6bc341bad54db | 72 | py | Python | adlib/tests/__init__.py | xyvivian/adlib | 79a93baa8aa542080bbf55734168eb89317df83c | [
"MIT"
] | null | null | null | adlib/tests/__init__.py | xyvivian/adlib | 79a93baa8aa542080bbf55734168eb89317df83c | [
"MIT"
] | null | null | null | adlib/tests/__init__.py | xyvivian/adlib | 79a93baa8aa542080bbf55734168eb89317df83c | [
"MIT"
] | null | null | null | from . import adversaries
from . import datasets
from . import learners
| 18 | 25 | 0.791667 | 9 | 72 | 6.333333 | 0.555556 | 0.526316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 72 | 3 | 26 | 24 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6c937143cbf5dd8ef9e55846778fc7317263dd04 | 36 | py | Python | solcast/utils/__init__.py | jmccorkindale/solcast-py | 0b572b2878a6045b05cf05709d6655697d95ba91 | [
"MIT"
] | 1 | 2021-03-06T13:53:35.000Z | 2021-03-06T13:53:35.000Z | solcast/utils/__init__.py | jmccorkindale/solcast-py | 0b572b2878a6045b05cf05709d6655697d95ba91 | [
"MIT"
] | null | null | null | solcast/utils/__init__.py | jmccorkindale/solcast-py | 0b572b2878a6045b05cf05709d6655697d95ba91 | [
"MIT"
] | 1 | 2021-03-06T13:54:59.000Z | 2021-03-06T13:54:59.000Z | from .dict_no_none import DictNoNone | 36 | 36 | 0.888889 | 6 | 36 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 36 | 1 | 36 | 36 | 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 | 1 | 0 | 0 | 6 |
6cadbba2b6a70753d3c40670e512dd7c4779feb1 | 1,937 | py | Python | culebratester_client/models/__init__.py | dtmilano/CulebraTester2-client | 21979a851943c9a30c3b5f31eed21c1b1d4894dd | [
"Apache-2.0"
] | 7 | 2020-02-07T14:37:09.000Z | 2022-03-11T09:54:47.000Z | culebratester_client/models/__init__.py | dtmilano/CulebraTester2-client | 21979a851943c9a30c3b5f31eed21c1b1d4894dd | [
"Apache-2.0"
] | null | null | null | culebratester_client/models/__init__.py | dtmilano/CulebraTester2-client | 21979a851943c9a30c3b5f31eed21c1b1d4894dd | [
"Apache-2.0"
] | 1 | 2021-09-11T03:18:37.000Z | 2021-09-11T03:18:37.000Z | # coding: utf-8
# flake8: noqa
"""
CulebraTester
## Snaky Android Test --- If you want to be able to try out the API using the **Execute** or **TRY** button from this page - an android device should be connected using `adb` - the server should have been started using `./culebratester2 start-server` then you ... | 52.351351 | 333 | 0.852865 | 250 | 1,937 | 6.42 | 0.448 | 0.211838 | 0.286604 | 0.361371 | 0.199377 | 0.109657 | 0 | 0 | 0 | 0 | 0 | 0.009185 | 0.100671 | 1,937 | 36 | 334 | 53.805556 | 0.91217 | 0.258647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6ce13764fdf18cf1d416d94d71e7ec832c6888a3 | 35 | py | Python | walmart_api_client/__init__.py | EitherSoft/python-walmart-api-client | 70b169977130c49f52b958e90c13007f365c9eed | [
"MIT"
] | 5 | 2016-12-09T11:32:16.000Z | 2017-07-15T17:22:42.000Z | walmart_api_client/__init__.py | kronas/python-walmart-api-client | 70b169977130c49f52b958e90c13007f365c9eed | [
"MIT"
] | null | null | null | walmart_api_client/__init__.py | kronas/python-walmart-api-client | 70b169977130c49f52b958e90c13007f365c9eed | [
"MIT"
] | 1 | 2017-07-06T06:30:35.000Z | 2017-07-06T06:30:35.000Z | from .core import WalmartApiClient
| 17.5 | 34 | 0.857143 | 4 | 35 | 7.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.967742 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6ce5962772a5bc615a0abf3ee8b9784fd860fe86 | 58 | py | Python | classifier_keras/transformer/__init__.py | leefsir/Text_Classification | 1d7ccd483374fd5a19b064433cb6e5d51e2039dc | [
"Apache-2.0"
] | null | null | null | classifier_keras/transformer/__init__.py | leefsir/Text_Classification | 1d7ccd483374fd5a19b064433cb6e5d51e2039dc | [
"Apache-2.0"
] | null | null | null | classifier_keras/transformer/__init__.py | leefsir/Text_Classification | 1d7ccd483374fd5a19b064433cb6e5d51e2039dc | [
"Apache-2.0"
] | null | null | null | # _*_coding:utf-8_*_
# author leewfeng
# 2020/12/5 15:41 | 19.333333 | 20 | 0.672414 | 10 | 58 | 3.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.244898 | 0.155172 | 58 | 3 | 21 | 19.333333 | 0.469388 | 0.862069 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9f5788861adf8607e29e610f994e80d33529686e | 371 | py | Python | src/dist.py | papaljuka/Barnes-Hut | 7fb52a7962d37676c70881657eb09db5497e2c9e | [
"MIT"
] | null | null | null | src/dist.py | papaljuka/Barnes-Hut | 7fb52a7962d37676c70881657eb09db5497e2c9e | [
"MIT"
] | null | null | null | src/dist.py | papaljuka/Barnes-Hut | 7fb52a7962d37676c70881657eb09db5497e2c9e | [
"MIT"
] | null | null | null | import numpy as np
class Point():
def __init__(self, x, y, z):
self.x = x
self.y = y
def distx(self, other):
return np.abs(self.x - other.x)
def disty(self, other):
return np.abs(self.y - other.y)
def dist(self, other):
x = distx(self, other)
y = dist... | 19.526316 | 39 | 0.525606 | 59 | 371 | 3.237288 | 0.338983 | 0.235602 | 0.235602 | 0.267016 | 0.39267 | 0.251309 | 0 | 0 | 0 | 0 | 0 | 0.008065 | 0.331536 | 371 | 18 | 40 | 20.611111 | 0.762097 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.307692 | false | 0 | 0.076923 | 0.153846 | 0.692308 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
9f7b53959c61f30eb4a6a9df0180ce70e6648231 | 157 | py | Python | tiktalik/loadbalancer/__init__.py | tiktalik-cloud/tiktalik-python | 7bbaf394a2259b1427f63f03da7d164305c1af16 | [
"MIT"
] | 1 | 2017-02-01T19:26:34.000Z | 2017-02-01T19:26:34.000Z | tiktalik/loadbalancer/__init__.py | tiktalik-cloud/tiktalik-python | 7bbaf394a2259b1427f63f03da7d164305c1af16 | [
"MIT"
] | 2 | 2016-10-07T16:06:34.000Z | 2021-01-15T20:06:06.000Z | tiktalik/loadbalancer/__init__.py | tiktalik-cloud/tiktalik-python | 7bbaf394a2259b1427f63f03da7d164305c1af16 | [
"MIT"
] | 6 | 2016-07-01T16:06:31.000Z | 2020-01-03T13:33:13.000Z | """Module tiktalik.loadbalancer"""
from .connection import LoadBalancerConnection
from .objects import LoadBalancer, LoadBalancerBackend, LoadBalancerAction
| 39.25 | 74 | 0.853503 | 13 | 157 | 10.307692 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076433 | 157 | 3 | 75 | 52.333333 | 0.924138 | 0.178344 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9f9153213e967995a31e769229f6ee525e24f49a | 6,957 | py | Python | bender_service/bender/tests/helpers.py | Dreem-Organization/bender-api | 9ddc817f130b853127a1925b2a9dced2662f66fc | [
"MIT"
] | null | null | null | bender_service/bender/tests/helpers.py | Dreem-Organization/bender-api | 9ddc817f130b853127a1925b2a9dced2662f66fc | [
"MIT"
] | 2 | 2021-03-19T22:20:06.000Z | 2021-06-10T21:17:12.000Z | bender_service/bender/tests/helpers.py | Dreem-Organization/bender-api | 9ddc817f130b853127a1925b2a9dced2662f66fc | [
"MIT"
] | null | null | null | from rest_framework.test import APITestCase
from django.contrib.auth import get_user_model
from bender.models import Experiment, Algo, Trial, Parameter
from django.db import transaction
import random
import uuid
User = get_user_model()
class BenderTestCase(APITestCase):
@transaction.atomic
def setUp(self):
... | 37.005319 | 86 | 0.424752 | 558 | 6,957 | 5.231183 | 0.148746 | 0.115793 | 0.087359 | 0.106886 | 0.811237 | 0.772867 | 0.772867 | 0.768071 | 0.768071 | 0.743405 | 0 | 0.020446 | 0.458675 | 6,957 | 187 | 87 | 37.203209 | 0.754647 | 0 | 0 | 0.7 | 0 | 0 | 0.075607 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.005556 | false | 0.016667 | 0.033333 | 0 | 0.044444 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4ca9d627692efc733f8f99902fdc2154c9bb51c2 | 188 | py | Python | top/__init__.py | cloudorz/top | 847f784d47a746106ec937edfa1d23d509c533a2 | [
"BSD-3-Clause"
] | 2 | 2017-02-05T16:32:14.000Z | 2017-03-01T07:23:14.000Z | top/__init__.py | cloudorz/top | 847f784d47a746106ec937edfa1d23d509c533a2 | [
"BSD-3-Clause"
] | null | null | null | top/__init__.py | cloudorz/top | 847f784d47a746106ec937edfa1d23d509c533a2 | [
"BSD-3-Clause"
] | null | null | null | # coding: utf-8
from .topclient import TopClient
from .request import Request
from .user import *
from .appstore import *
from .shipping import *
from .item import *
from .trade import *
| 18.8 | 32 | 0.75 | 26 | 188 | 5.423077 | 0.461538 | 0.283688 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00641 | 0.170213 | 188 | 9 | 33 | 20.888889 | 0.897436 | 0.069149 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4cb8fb60a1383132dd90fafad3eed4ee5680be97 | 34 | py | Python | NimSum/__init__.py | jkcw/nim-sum | 0d221035697faa5fd9a54e360680949fcaa19c8e | [
"MIT"
] | 4 | 2021-11-28T09:44:33.000Z | 2021-12-09T17:40:36.000Z | NimSum/__init__.py | jkcw/nim-sum-calculator | 0d221035697faa5fd9a54e360680949fcaa19c8e | [
"MIT"
] | null | null | null | NimSum/__init__.py | jkcw/nim-sum-calculator | 0d221035697faa5fd9a54e360680949fcaa19c8e | [
"MIT"
] | null | null | null | from NimSum.NimSum import NimSum
| 17 | 33 | 0.823529 | 5 | 34 | 5.6 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 34 | 1 | 34 | 34 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4cc46e7300b7f29187a8d60903bdb40d7e0f13d4 | 164 | py | Python | jiamtrader/gateway/binance/__init__.py | zxc1342802/leijmtrader | f24d5593d8708e48f2a9180d9469a6c2af93a08d | [
"MIT"
] | null | null | null | jiamtrader/gateway/binance/__init__.py | zxc1342802/leijmtrader | f24d5593d8708e48f2a9180d9469a6c2af93a08d | [
"MIT"
] | null | null | null | jiamtrader/gateway/binance/__init__.py | zxc1342802/leijmtrader | f24d5593d8708e48f2a9180d9469a6c2af93a08d | [
"MIT"
] | null | null | null | from .binance_usdt_gateway import BinanceUsdtGateway
from .binance_spot_gateway import BinanceSpotGateway
from .binance_inverse_gateway import BinanceInverseGateway | 54.666667 | 58 | 0.914634 | 18 | 164 | 8 | 0.555556 | 0.229167 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067073 | 164 | 3 | 58 | 54.666667 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4cc9646efce101372d1c3b114bb1bc9f8b2f77f1 | 217 | py | Python | zvt/domain/fundamental/__init__.py | Evergreen2020/zvt | 446a2512d716a38a12164b6d4468a6c9de01b986 | [
"MIT"
] | 2 | 2020-09-04T03:24:03.000Z | 2020-11-27T20:57:55.000Z | zvt/domain/fundamental/__init__.py | Evergreen2020/zvt | 446a2512d716a38a12164b6d4468a6c9de01b986 | [
"MIT"
] | 2 | 2019-12-20T13:12:30.000Z | 2020-01-03T06:24:30.000Z | zvt/domain/fundamental/__init__.py | Evergreen2020/zvt | 446a2512d716a38a12164b6d4468a6c9de01b986 | [
"MIT"
] | 1 | 2021-01-24T15:44:53.000Z | 2021-01-24T15:44:53.000Z | # -*- coding: utf-8 -*-
from zvt.domain.fundamental.dividend_financing import *
from zvt.domain.fundamental.finance import *
from zvt.domain.fundamental.trading import *
from zvt.domain.fundamental.valuation import *
| 36.166667 | 55 | 0.788018 | 28 | 217 | 6.071429 | 0.464286 | 0.164706 | 0.305882 | 0.564706 | 0.529412 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005102 | 0.096774 | 217 | 5 | 56 | 43.4 | 0.862245 | 0.096774 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
e21f8b80d1373cae40e35deb14b757b3d23ae7cd | 85 | py | Python | studentManagementSystem/studentManagementSystem/__init__.py | fanlianguo/systemStudent | 9e5d7c2f1084208cb73d6f9481a37e7a0950e710 | [
"MIT"
] | null | null | null | studentManagementSystem/studentManagementSystem/__init__.py | fanlianguo/systemStudent | 9e5d7c2f1084208cb73d6f9481a37e7a0950e710 | [
"MIT"
] | null | null | null | studentManagementSystem/studentManagementSystem/__init__.py | fanlianguo/systemStudent | 9e5d7c2f1084208cb73d6f9481a37e7a0950e710 | [
"MIT"
] | null | null | null | # install database driver
from pymysql import install_as_MySQLdb
install_as_MySQLdb() | 28.333333 | 38 | 0.870588 | 12 | 85 | 5.833333 | 0.666667 | 0.257143 | 0.457143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094118 | 85 | 3 | 39 | 28.333333 | 0.909091 | 0.270588 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
e23a2e5d8e2418b644c1c700360b854404808508 | 52 | py | Python | jarviscli/packages/clear.py | lakshay3697/Pydex | 348add631838280f904ddb6869d511216b165dc4 | [
"MIT"
] | 1 | 2018-02-24T12:41:24.000Z | 2018-02-24T12:41:24.000Z | jarviscli/packages/clear.py | lakshay3697/Pydex | 348add631838280f904ddb6869d511216b165dc4 | [
"MIT"
] | 21 | 2018-02-24T13:39:05.000Z | 2018-02-27T20:03:12.000Z | jarviscli/packages/clear.py | remnestal/Jarvis | cd26682e8f2c89585a04566a60abaa88aa20b8f6 | [
"MIT"
] | null | null | null | import os
def clear_scr():
os.system("clear")
| 8.666667 | 22 | 0.634615 | 8 | 52 | 4 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.211538 | 52 | 5 | 23 | 10.4 | 0.780488 | 0 | 0 | 0 | 0 | 0 | 0.096154 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e26f48cda1881f4384a779356f34ebab671ec965 | 546 | py | Python | mindhome_alpha/erpnext/patches/v5_0/rename_taxes_and_charges_master.py | Mindhome/field_service | 3aea428815147903eb9af1d0c1b4b9fc7faed057 | [
"MIT"
] | 1 | 2021-04-29T14:55:29.000Z | 2021-04-29T14:55:29.000Z | mindhome_alpha/erpnext/patches/v5_0/rename_taxes_and_charges_master.py | Mindhome/field_service | 3aea428815147903eb9af1d0c1b4b9fc7faed057 | [
"MIT"
] | null | null | null | mindhome_alpha/erpnext/patches/v5_0/rename_taxes_and_charges_master.py | Mindhome/field_service | 3aea428815147903eb9af1d0c1b4b9fc7faed057 | [
"MIT"
] | 1 | 2021-04-29T14:39:01.000Z | 2021-04-29T14:39:01.000Z | from __future__ import unicode_literals
import frappe
def execute():
if frappe.db.table_exists("Sales Taxes and Charges Master"):
frappe.rename_doc("DocType", "Sales Taxes and Charges Master",
"Sales Taxes and Charges Template")
frappe.delete_doc("DocType", "Sales Taxes and Charges Master")
if frappe.db.tab... | 36.4 | 67 | 0.765568 | 75 | 546 | 5.426667 | 0.306667 | 0.157248 | 0.29484 | 0.309582 | 0.837838 | 0.702703 | 0.702703 | 0.432432 | 0 | 0 | 0 | 0 | 0.1337 | 546 | 14 | 68 | 39 | 0.860465 | 0 | 0 | 0 | 0 | 0 | 0.520147 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | true | 0 | 0.181818 | 0 | 0.272727 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e275a66c04c34cfbb4a7774d16836e3c136dc34e | 249 | py | Python | backend/app/core/auth.py | hollyfoxx/ace2-gui | e0f72cafdd524e0cd66549a9315697aa21ae46fa | [
"Apache-2.0"
] | 1 | 2021-07-16T10:34:22.000Z | 2021-07-16T10:34:22.000Z | backend/app/core/auth.py | hollyfoxx/ace2-gui | e0f72cafdd524e0cd66549a9315697aa21ae46fa | [
"Apache-2.0"
] | null | null | null | backend/app/core/auth.py | hollyfoxx/ace2-gui | e0f72cafdd524e0cd66549a9315697aa21ae46fa | [
"Apache-2.0"
] | null | null | null | from passlib.hash import bcrypt_sha256
def hash_password(password: str) -> str:
return bcrypt_sha256.hash(password)
def verify_password(password: str, hashed_password: str) -> bool:
return bcrypt_sha256.verify(password, hashed_password)
| 24.9 | 65 | 0.779116 | 33 | 249 | 5.666667 | 0.393939 | 0.192513 | 0.203209 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041667 | 0.13253 | 249 | 9 | 66 | 27.666667 | 0.824074 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 1 | 0.2 | 0.4 | 1 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
e2c9d72243fc2f421522a2ced477efe81afadda2 | 183 | py | Python | CA117/Lab_6/main_words_41.py | PRITI1999/OneLineWonders | 91a7368e0796e5a3b5839c9165f9fbe5460879f5 | [
"MIT"
] | 6 | 2016-02-04T00:15:20.000Z | 2019-10-13T13:53:16.000Z | CA117/Lab_6/main_words_41.py | PRITI1999/OneLineWonders | 91a7368e0796e5a3b5839c9165f9fbe5460879f5 | [
"MIT"
] | 2 | 2016-03-14T04:01:36.000Z | 2019-10-16T12:45:34.000Z | CA117/Lab_6/main_words_41.py | PRITI1999/OneLineWonders | 91a7368e0796e5a3b5839c9165f9fbe5460879f5 | [
"MIT"
] | 10 | 2016-02-09T14:38:32.000Z | 2021-05-25T08:16:26.000Z | (lambda W:[print("%s : %d"%(w,W.count(w)))for w in sorted(set(W))if len(w)>3 and W.count(w)>=3])([w.strip("!&'(),-.:;?_").lower()for l in __import__('sys').stdin for w in l.split()])
| 91.5 | 182 | 0.568306 | 38 | 183 | 2.605263 | 0.552632 | 0.121212 | 0.141414 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012048 | 0.092896 | 183 | 1 | 183 | 183 | 0.584337 | 0 | 0 | 0 | 0 | 0 | 0.120219 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
391d337bd332b98cfbe53455750fe4b0cd76180d | 42 | py | Python | pybble/pebblejs/clock.py | clach04/pybble | 736614664d50c07855160730e9b0479b8cc89527 | [
"Apache-2.0"
] | 72 | 2016-08-21T00:59:47.000Z | 2021-07-17T17:49:05.000Z | pybble/pebblejs/clock.py | clach04/pybble | 736614664d50c07855160730e9b0479b8cc89527 | [
"Apache-2.0"
] | 2 | 2016-08-21T15:39:28.000Z | 2016-08-24T00:09:07.000Z | pybble/pebblejs/clock.py | clach04/pybble | 736614664d50c07855160730e9b0479b8cc89527 | [
"Apache-2.0"
] | 7 | 2016-08-21T05:47:05.000Z | 2019-08-21T17:02:17.000Z | def Clock():
return require('clock')
| 10.5 | 27 | 0.619048 | 5 | 42 | 5.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 42 | 3 | 28 | 14 | 0.787879 | 0 | 0 | 0 | 0 | 0 | 0.121951 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
394c2521227c426544bbd51cb106c5397ebe4e0f | 6,679 | py | Python | RTND/py/myplot.py | hkujy/BTNDP | 06a1555c4a32b91d315649a0abf7378a86aa59f8 | [
"MIT"
] | null | null | null | RTND/py/myplot.py | hkujy/BTNDP | 06a1555c4a32b91d315649a0abf7378a86aa59f8 | [
"MIT"
] | 7 | 2019-12-09T18:51:54.000Z | 2020-07-08T20:34:12.000Z | RTND/py/myplot.py | hkujy/BTNDP | 06a1555c4a32b91d315649a0abf7378a86aa59f8 | [
"MIT"
] | null | null | null | """
plot graphs
"""
import pandas as pd
import mypara
import matplotlib.pyplot as plt
import global_para_class as gpc
def count_changes(vals):
"""
input a list of values and check the trend
"""
counter = 0
num = len(vals)
for i in range(1, num-1):
if (vals[i]-vals[i-1])*(vals[... | 38.831395 | 118 | 0.585866 | 913 | 6,679 | 4.155531 | 0.142388 | 0.065894 | 0.118608 | 0.151555 | 0.82815 | 0.81708 | 0.81708 | 0.787032 | 0.787032 | 0.787032 | 0 | 0.02149 | 0.268453 | 6,679 | 172 | 119 | 38.831395 | 0.755014 | 0.010181 | 0 | 0.668966 | 0 | 0 | 0.109862 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.02069 | false | 0.006897 | 0.027586 | 0 | 0.055172 | 0.027586 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1a3e542396420699fc7d93bfb3e45abd36276781 | 28 | py | Python | directory/hello/world.py | jacksorjacksor/introduction-to-html-and-css | b60e381ee3670f83118c80496e1fd9b4341042d3 | [
"MIT"
] | null | null | null | directory/hello/world.py | jacksorjacksor/introduction-to-html-and-css | b60e381ee3670f83118c80496e1fd9b4341042d3 | [
"MIT"
] | null | null | null | directory/hello/world.py | jacksorjacksor/introduction-to-html-and-css | b60e381ee3670f83118c80496e1fd9b4341042d3 | [
"MIT"
] | null | null | null | print("HELLO EVERYONE!!!!")
| 14 | 27 | 0.642857 | 3 | 28 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 28 | 1 | 28 | 28 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
1aa5ac109a883369207a81588fbd3ab44f3252da | 42 | py | Python | analyser_sourcecode/lang_python/src/test/resources/py/class.py | archguard/archguard | 181fbc09411b80bd5ed1d205d57ddb66ecd7e676 | [
"MIT"
] | 6 | 2022-03-31T01:16:03.000Z | 2022-03-31T06:08:07.000Z | analyser_sourcecode/lang_python/src/test/resources/py/class.py | archguard/scanner | c7723b67ef980af88c078da28c9d2927147daf7a | [
"MIT"
] | null | null | null | analyser_sourcecode/lang_python/src/test/resources/py/class.py | archguard/scanner | c7723b67ef980af88c078da28c9d2927147daf7a | [
"MIT"
] | null | null | null | class foo: pass
class baz(foo):
pass
| 8.4 | 15 | 0.642857 | 7 | 42 | 3.857143 | 0.571429 | 0.518519 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.261905 | 42 | 4 | 16 | 10.5 | 0.870968 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.666667 | 0 | 0 | 0.666667 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
1aac8b0efdc579dfb41d0d0b57a3f3b080db1347 | 142 | py | Python | linora/param_search/XGBClassifier/__init__.py | Hourout/linora | 4269516c9227a18bd1a65e1c6a59e73c74e874d0 | [
"Apache-2.0"
] | 10 | 2018-11-22T03:30:39.000Z | 2020-08-20T04:39:35.000Z | linora/param_search/XGBClassifier/__init__.py | Hourout/linora | 4269516c9227a18bd1a65e1c6a59e73c74e874d0 | [
"Apache-2.0"
] | null | null | null | linora/param_search/XGBClassifier/__init__.py | Hourout/linora | 4269516c9227a18bd1a65e1c6a59e73c74e874d0 | [
"Apache-2.0"
] | 3 | 2019-04-09T12:17:34.000Z | 2020-08-20T04:33:31.000Z | from linora.param_search.XGBClassifier._RandomSearch import RandomSearch
from linora.param_search.XGBClassifier._GridSearch import GridSearch
| 47.333333 | 72 | 0.901408 | 16 | 142 | 7.75 | 0.5 | 0.16129 | 0.241935 | 0.33871 | 0.548387 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056338 | 142 | 2 | 73 | 71 | 0.925373 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
1ab9363c029472c53b118c43166896e326d38782 | 37 | py | Python | main.py | junhuanchen/BPI-Bit-Python | c03ed50f47210288a14c05c66ace0686374110b3 | [
"MIT"
] | 28 | 2019-06-01T12:23:09.000Z | 2022-01-30T15:27:51.000Z | main.py | BPI-STEAM/micropython-samples | c03ed50f47210288a14c05c66ace0686374110b3 | [
"MIT"
] | 2 | 2019-07-29T12:54:58.000Z | 2021-11-27T08:44:57.000Z | main.py | BPI-STEAM/micropython-samples | c03ed50f47210288a14c05c66ace0686374110b3 | [
"MIT"
] | 15 | 2019-09-13T12:22:39.000Z | 2022-01-05T08:08:45.000Z | import microbit
print(dir(microbit)) | 12.333333 | 20 | 0.810811 | 5 | 37 | 6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 37 | 3 | 20 | 12.333333 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
46d68a31ed0c93465cd4560a8a0fd746d6aeff81 | 15,149 | py | Python | tests/renderers/httpdomain/test_render_parameters.py | nayarsystems/openapi | 2294de30c37f0876a11d13d003c19a67910af1e0 | [
"BSD-2-Clause"
] | 1 | 2020-07-15T15:00:38.000Z | 2020-07-15T15:00:38.000Z | tests/renderers/httpdomain/test_render_parameters.py | dpgaspar/openapi | 227ef532eef5e8d21003ce0a77afc687c92944c3 | [
"BSD-2-Clause"
] | null | null | null | tests/renderers/httpdomain/test_render_parameters.py | dpgaspar/openapi | 227ef532eef5e8d21003ce0a77afc687c92944c3 | [
"BSD-2-Clause"
] | null | null | null | """OpenAPI spec renderer: render_parameters."""
import itertools
import textwrap
import pytest
from sphinxcontrib.openapi import renderers
def textify(generator):
return "\n".join(generator)
def test_render_parameters_no_items(testrenderer):
"""No parameter definitions are rendered."""
markup = text... | 34.042697 | 87 | 0.462539 | 1,169 | 15,149 | 5.952951 | 0.103507 | 0.044547 | 0.034488 | 0.050295 | 0.911482 | 0.90056 | 0.891939 | 0.870815 | 0.86363 | 0.849978 | 0 | 0.000802 | 0.423856 | 15,149 | 444 | 88 | 34.119369 | 0.796517 | 0.042313 | 0 | 0.577181 | 0 | 0 | 0.279405 | 0.00678 | 0 | 0 | 0 | 0 | 0.026846 | 1 | 0.030201 | false | 0 | 0.013423 | 0.003356 | 0.04698 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
20194f53cc9d746bc3c43a949e6149571eebfac9 | 5,385 | py | Python | bq_loader/__main__.py | naustica/bq_loader | 370c0f721d22bae485d626bc14cbc5162d86f2db | [
"MIT"
] | null | null | null | bq_loader/__main__.py | naustica/bq_loader | 370c0f721d22bae485d626bc14cbc5162d86f2db | [
"MIT"
] | null | null | null | bq_loader/__main__.py | naustica/bq_loader | 370c0f721d22bae485d626bc14cbc5162d86f2db | [
"MIT"
] | null | null | null | from PyInquirer import prompt
from bq_loader import create_table_from_local, create_table_from_bucket, upload_files_to_bucket
introduction_question = [
{
'type': 'list',
'name': 'method',
'message': 'Please choose a method',
'choices': ['create_table_from_local',
... | 31.491228 | 103 | 0.52572 | 515 | 5,385 | 5.207767 | 0.143689 | 0.096943 | 0.072707 | 0.09918 | 0.827368 | 0.764728 | 0.726324 | 0.713274 | 0.713274 | 0.713274 | 0 | 0 | 0.340204 | 5,385 | 170 | 104 | 31.676471 | 0.754855 | 0 | 0 | 0.493671 | 0 | 0 | 0.373259 | 0.041226 | 0 | 0 | 0 | 0 | 0 | 1 | 0.006329 | false | 0 | 0.012658 | 0 | 0.018987 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2022aecc2d61794eec27e4fc0401a51eda13e91b | 10,544 | py | Python | tensorflow/utils/layers.py | cadurosar/GAT | 2b674568a19403143543ab938c84aeba0a5d16e9 | [
"MIT"
] | null | null | null | tensorflow/utils/layers.py | cadurosar/GAT | 2b674568a19403143543ab938c84aeba0a5d16e9 | [
"MIT"
] | null | null | null | tensorflow/utils/layers.py | cadurosar/GAT | 2b674568a19403143543ab938c84aeba0a5d16e9 | [
"MIT"
] | 1 | 2018-12-11T16:35:55.000Z | 2018-12-11T16:35:55.000Z | import numpy as np
import tensorflow as tf
conv1d = tf.layers.conv1d
# attention (Velickovic et al.)
def attn_head(seq, out_sz, bias_mat, activation, in_drop=0.0, coef_drop=0.0, residual=False, use_bias=True):
with tf.name_scope('my_attn'):
if in_drop != 0.0:
seq = tf.nn.dropout(seq, 1.0 - in_... | 37.257951 | 121 | 0.579097 | 1,497 | 10,544 | 3.867067 | 0.111556 | 0.054932 | 0.030057 | 0.019347 | 0.753153 | 0.727587 | 0.72085 | 0.709794 | 0.70323 | 0.70323 | 0 | 0.026086 | 0.316483 | 10,544 | 282 | 122 | 37.390071 | 0.777161 | 0.10698 | 0 | 0.737113 | 0 | 0 | 0.005975 | 0 | 0 | 0 | 0 | 0 | 0.005155 | 1 | 0.030928 | false | 0 | 0.010309 | 0 | 0.072165 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b37b8a17ac980bb70d3d8c8d6efaf79ebc7a3e6e | 6,524 | py | Python | MacGybot/commands/usercalendar.py | MathieuBrillard/le_tavernier | 45f27bb20b47478f5d2ea92c2433cfffb32ddbb8 | [
"MIT"
] | null | null | null | MacGybot/commands/usercalendar.py | MathieuBrillard/le_tavernier | 45f27bb20b47478f5d2ea92c2433cfffb32ddbb8 | [
"MIT"
] | null | null | null | MacGybot/commands/usercalendar.py | MathieuBrillard/le_tavernier | 45f27bb20b47478f5d2ea92c2433cfffb32ddbb8 | [
"MIT"
] | null | null | null | # date time and background tasks
import asyncio
import datetime as dt
# manage generated files
import os
# errors and calendar generation
from commands.calendrier.gen_cal import gen_cal
from commands.calendrier.errors import IncorrectFormat
# discord libs
import hikari
import lightbulb
from lightbulb import commands
... | 38.152047 | 113 | 0.633507 | 778 | 6,524 | 5.12982 | 0.22108 | 0.047607 | 0.031571 | 0.034578 | 0.735405 | 0.722876 | 0.706339 | 0.705838 | 0.705838 | 0.704335 | 0 | 0.006757 | 0.25138 | 6,524 | 170 | 114 | 38.376471 | 0.810401 | 0.089362 | 0 | 0.640845 | 1 | 0 | 0.108374 | 0.042806 | 0 | 0 | 0.002718 | 0.005882 | 0 | 1 | 0.014085 | false | 0 | 0.056338 | 0 | 0.077465 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b3af5a30a7309c2237293b079594ba01ad993b36 | 162 | py | Python | memberportal/api_member_tools/serializers.py | kodaxx/MemberMatters | 880655bb3201441985a88a2f7750ad65cc781052 | [
"MIT"
] | 18 | 2020-02-03T12:38:53.000Z | 2022-02-08T00:44:35.000Z | memberportal/api_member_tools/serializers.py | kodaxx/MemberMatters | 880655bb3201441985a88a2f7750ad65cc781052 | [
"MIT"
] | 111 | 2020-02-02T05:02:01.000Z | 2022-03-28T04:46:27.000Z | memberportal/api_member_tools/serializers.py | kodaxx/MemberMatters | 880655bb3201441985a88a2f7750ad65cc781052 | [
"MIT"
] | 15 | 2020-02-03T11:03:30.000Z | 2021-12-05T00:33:02.000Z | from rest_framework_simplejwt.serializers import TokenObtainPairSerializer
from rest_framework import serializers
from access.models import DoorLog, InterlockLog
| 40.5 | 74 | 0.901235 | 18 | 162 | 7.944444 | 0.611111 | 0.111888 | 0.237762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080247 | 162 | 3 | 75 | 54 | 0.959732 | 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 | 1 | 0 | 0 | 6 |
b613de79bf21442175f48e8d6ec8b83b4cd95c66 | 1,454 | py | Python | designpdfviwer.py | xi6th/Python_Algorithm | 05852b6fe133df2d83ae464b779b0818b173919d | [
"MIT"
] | null | null | null | designpdfviwer.py | xi6th/Python_Algorithm | 05852b6fe133df2d83ae464b779b0818b173919d | [
"MIT"
] | null | null | null | designpdfviwer.py | xi6th/Python_Algorithm | 05852b6fe133df2d83ae464b779b0818b173919d | [
"MIT"
] | null | null | null | #!/bin/python3
import math
import os
import random
import re
import sys
import string
#
# Complete the 'designerPdfViewer' function below.
#
# The function is expected to return an INTEGER.
# The function accepts following parameters:
# 1. INTEGER_ARRAY h
# 2. STRING word
#
# def designerPdfViewer(h, word):
# l... | 23.079365 | 59 | 0.640303 | 224 | 1,454 | 4.035714 | 0.272321 | 0.066372 | 0.09292 | 0.115044 | 0.710177 | 0.710177 | 0.710177 | 0.710177 | 0.710177 | 0.710177 | 0 | 0.050622 | 0.225585 | 1,454 | 63 | 60 | 23.079365 | 0.75222 | 0.529574 | 0 | 0 | 0 | 0 | 0.006098 | 0 | 0 | 0 | 0 | 0.015873 | 0 | 1 | 0.043478 | false | 0 | 0.26087 | 0 | 0.304348 | 0.043478 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
373a3c867afe3f8541cd9909489c2577dc8458fd | 211 | py | Python | torchtoolbox/nn/__init__.py | daBawse167/torch-toolbox | a1c0440127bca00201dfa0d0e0dcbafb65628632 | [
"BSD-3-Clause"
] | 1 | 2021-01-06T08:17:28.000Z | 2021-01-06T08:17:28.000Z | torchtoolbox/nn/__init__.py | daBawse167/torch-toolbox | a1c0440127bca00201dfa0d0e0dcbafb65628632 | [
"BSD-3-Clause"
] | null | null | null | torchtoolbox/nn/__init__.py | daBawse167/torch-toolbox | a1c0440127bca00201dfa0d0e0dcbafb65628632 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
# Author: pistonyang@gmail.com
from .loss import *
from .sequential import *
from .norm import *
from .activation import *
try:
from .parallel import *
except ImportError:
pass
| 16.230769 | 30 | 0.682464 | 26 | 211 | 5.538462 | 0.692308 | 0.208333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005917 | 0.199052 | 211 | 12 | 31 | 17.583333 | 0.846154 | 0.236967 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.125 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
3754988848428c18a8256ac75618b1ea8b805280 | 3,073 | py | Python | tests/test_experiment/test_core_metrics/test_classification.py | mv1388/AIToolbox | c64ac4810a02d230ce471d86b758e82ea232a7e7 | [
"MIT"
] | 3 | 2019-10-12T12:24:09.000Z | 2020-08-02T02:42:43.000Z | tests/test_experiment/test_core_metrics/test_classification.py | mv1388/aitoolbox | 1060435e6cbdfd19abcb726c4080b663536b7467 | [
"MIT"
] | 3 | 2020-04-10T14:07:07.000Z | 2020-04-22T19:04:38.000Z | tests/test_experiment/test_core_metrics/test_classification.py | mv1388/aitoolbox | 1060435e6cbdfd19abcb726c4080b663536b7467 | [
"MIT"
] | null | null | null | import unittest
import numpy as np
from aitoolbox.experiment.core_metrics.classification import AccuracyMetric
class TestAccuracyMetric(unittest.TestCase):
def test_basic(self):
acc_1 = AccuracyMetric([1.] * 100, [1.] * 100)
self.assertEqual(acc_1.get_metric(), 1.)
self.assertEqual(acc_1.... | 44.536232 | 75 | 0.609177 | 485 | 3,073 | 3.626804 | 0.101031 | 0.204662 | 0.245594 | 0.143263 | 0.843093 | 0.833997 | 0.770893 | 0.6805 | 0.636157 | 0.58954 | 0 | 0.083368 | 0.207615 | 3,073 | 68 | 76 | 45.191176 | 0.639014 | 0 | 0 | 0.296296 | 0 | 0 | 0.03124 | 0 | 0 | 0 | 0 | 0 | 0.444444 | 1 | 0.074074 | false | 0 | 0.055556 | 0 | 0.148148 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
375d692c957f2227130f642171b1b780714fc429 | 103 | py | Python | celery_janitor/exceptions.py | comandrei/celery-janitor | 5f1ad663958e24ccb3abceaa227a12da495b6ecb | [
"MIT"
] | null | null | null | celery_janitor/exceptions.py | comandrei/celery-janitor | 5f1ad663958e24ccb3abceaa227a12da495b6ecb | [
"MIT"
] | null | null | null | celery_janitor/exceptions.py | comandrei/celery-janitor | 5f1ad663958e24ccb3abceaa227a12da495b6ecb | [
"MIT"
] | null | null | null | class MissingDependency(Exception):
pass
class BackendNotSupportedException(Exception):
pass
| 14.714286 | 46 | 0.786408 | 8 | 103 | 10.125 | 0.625 | 0.320988 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15534 | 103 | 6 | 47 | 17.166667 | 0.931034 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
376e394b98cba728d8f623c912b62ef75cc0cb66 | 1,831 | py | Python | backend/test/queries/test_flagged_committee_contributions.py | Healthcare-NOW/poppwatch | b8545f40699ef521f4df2a2f2f4edcf3c5b1cc04 | [
"MIT"
] | 1 | 2020-09-09T23:06:36.000Z | 2020-09-09T23:06:36.000Z | backend/test/queries/test_flagged_committee_contributions.py | Healthcare-NOW/fec-watch | b8545f40699ef521f4df2a2f2f4edcf3c5b1cc04 | [
"MIT"
] | 9 | 2020-07-18T15:09:59.000Z | 2022-02-27T00:53:47.000Z | backend/test/queries/test_flagged_committee_contributions.py | Healthcare-NOW/pop-donation-tracker | b8545f40699ef521f4df2a2f2f4edcf3c5b1cc04 | [
"MIT"
] | null | null | null | from app.queries import fetch_flagged_committee_contributions
from test.factories import CommitteeContributionFactory
def test_no_flagged_contributions(candidate_setup):
result = fetch_flagged_committee_contributions(candidate_setup.candidate)
assert len(result) == 0
def test_contributions_below_200_ignored... | 34.54717 | 77 | 0.766248 | 193 | 1,831 | 6.88601 | 0.207254 | 0.210685 | 0.173062 | 0.117381 | 0.7231 | 0.701279 | 0.701279 | 0.701279 | 0.701279 | 0.645598 | 0 | 0.024342 | 0.169853 | 1,831 | 52 | 78 | 35.211538 | 0.85 | 0 | 0 | 0.522727 | 0 | 0 | 0.001638 | 0 | 0 | 0 | 0 | 0 | 0.159091 | 1 | 0.090909 | false | 0 | 0.045455 | 0 | 0.136364 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
80aa30f94a0cd56e4a72079efcfc1eadff751e48 | 165 | py | Python | tests/test_utils.py | HealthByRo/fdadb | e020a902ca20cebd5999bc2dbc530375ab0922fb | [
"MIT"
] | 1 | 2020-06-11T04:44:22.000Z | 2020-06-11T04:44:22.000Z | tests/test_utils.py | HealthByRo/fdadb | e020a902ca20cebd5999bc2dbc530375ab0922fb | [
"MIT"
] | 8 | 2018-11-26T09:22:14.000Z | 2019-10-23T13:17:44.000Z | tests/test_utils.py | HealthByRo/fdadb | e020a902ca20cebd5999bc2dbc530375ab0922fb | [
"MIT"
] | null | null | null | from django.contrib.auth import get_user_model
from rest_framework.test import APITestCase
UserModel = get_user_model()
class BaseTestCase(APITestCase):
pass
| 18.333333 | 46 | 0.818182 | 22 | 165 | 5.909091 | 0.727273 | 0.107692 | 0.184615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127273 | 165 | 8 | 47 | 20.625 | 0.902778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.2 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.