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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6d29579ff748f2bee042a1e0ac8fcb8030e61445 | 6,144 | py | Python | FileManagerPro/FileManagerPro.py | arpansahu/FileManagerPro | 2e2e252aea2357af31b74470187e1578587d8c99 | [
"MIT"
] | null | null | null | FileManagerPro/FileManagerPro.py | arpansahu/FileManagerPro | 2e2e252aea2357af31b74470187e1578587d8c99 | [
"MIT"
] | null | null | null | FileManagerPro/FileManagerPro.py | arpansahu/FileManagerPro | 2e2e252aea2357af31b74470187e1578587d8c99 | [
"MIT"
] | null | null | null | import os
from shutil import copyfile
def convert_file_lines_into_array(path):
file = open(path, 'r')
lines = file.readlines()
arr = []
for i in lines:
arr.append(i.split('\n')[0])
return arr
class FileManager:
found_files = []
search_list = []
search_paths = []
copy_path... | 40.688742 | 164 | 0.599284 | 795 | 6,144 | 4.262893 | 0.079245 | 0.061965 | 0.092948 | 0.072883 | 0.89643 | 0.892594 | 0.892594 | 0.881971 | 0.879906 | 0.85571 | 0 | 0.007745 | 0.306478 | 6,144 | 150 | 165 | 40.96 | 0.787609 | 0.053874 | 0 | 0.657658 | 0 | 0 | 0.03196 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.09009 | false | 0 | 0.018018 | 0 | 0.234234 | 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 |
eda384266e16e7fe9f7aff1428c1bd7a4e57631a | 414 | py | Python | deephyper/contrib/callbacks/__init__.py | Z223I/deephyper | 4fd1054dc22f15197567bdd93c6e7a95a614b8e2 | [
"BSD-3-Clause"
] | 185 | 2018-11-06T18:49:47.000Z | 2022-03-31T22:10:41.000Z | deephyper/contrib/callbacks/__init__.py | Z223I/deephyper | 4fd1054dc22f15197567bdd93c6e7a95a614b8e2 | [
"BSD-3-Clause"
] | 108 | 2018-12-17T17:58:05.000Z | 2022-03-16T10:22:08.000Z | deephyper/contrib/callbacks/__init__.py | Z223I/deephyper | 4fd1054dc22f15197567bdd93c6e7a95a614b8e2 | [
"BSD-3-Clause"
] | 50 | 2018-12-11T20:41:41.000Z | 2022-02-25T19:50:47.000Z | from deephyper.contrib.callbacks.utils import import_callback
from deephyper.contrib.callbacks.stop_if_unfeasible import StopIfUnfeasible
from deephyper.contrib.callbacks.csv_extended_logger import CSVExtendedLogger
from deephyper.contrib.callbacks.time_stopping import TimeStopping
from deephyper.contrib.callbacks.lear... | 46 | 77 | 0.879227 | 44 | 414 | 8.090909 | 0.522727 | 0.182584 | 0.280899 | 0.407303 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074879 | 414 | 8 | 78 | 51.75 | 0.929504 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.625 | 0 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
eda431d0b8d8a37c3576d9f8b4fa209add328704 | 458 | py | Python | groupdocs_conversion_cloud/apis/__init__.py | groupdocs-conversion-cloud/groupdocs-conversion-cloud-python | 841d06ad3205e10e8f2726517779ac2d7c33a02a | [
"MIT"
] | 5 | 2019-11-21T04:58:45.000Z | 2021-02-05T05:22:37.000Z | groupdocs_conversion_cloud/apis/__init__.py | groupdocs-conversion-cloud/groupdocs-conversion-cloud-python | 841d06ad3205e10e8f2726517779ac2d7c33a02a | [
"MIT"
] | null | null | null | groupdocs_conversion_cloud/apis/__init__.py | groupdocs-conversion-cloud/groupdocs-conversion-cloud-python | 841d06ad3205e10e8f2726517779ac2d7c33a02a | [
"MIT"
] | null | null | null | from __future__ import absolute_import
# flake8: noqa
# import apis
from groupdocs_conversion_cloud.apis.convert_api import ConvertApi
from groupdocs_conversion_cloud.apis.file_api import FileApi
from groupdocs_conversion_cloud.apis.folder_api import FolderApi
from groupdocs_conversion_cloud.apis.info_api import Info... | 38.166667 | 66 | 0.888646 | 63 | 458 | 6.095238 | 0.365079 | 0.203125 | 0.359375 | 0.4375 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00237 | 0.078603 | 458 | 11 | 67 | 41.636364 | 0.907583 | 0.052402 | 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 |
eda6462fb6988883f1acb250660a89133ffad2c2 | 9,897 | py | Python | migrations/versions/cb1a5deb64ef_.py | tonyngophd/instavibes | 36476445fca23a4ff179feb48330786256756b3c | [
"MIT"
] | 15 | 2021-01-25T16:37:18.000Z | 2021-02-23T16:45:16.000Z | migrations/versions/cb1a5deb64ef_.py | suasllc/full-stack-flask-sqlalchemy-react-nodejs-app | 36476445fca23a4ff179feb48330786256756b3c | [
"MIT"
] | 1 | 2021-01-25T21:07:16.000Z | 2021-01-25T21:07:16.000Z | migrations/versions/cb1a5deb64ef_.py | suasllc/instavibes | 36476445fca23a4ff179feb48330786256756b3c | [
"MIT"
] | 3 | 2021-06-07T17:57:16.000Z | 2021-12-11T10:18:24.000Z | """empty message
Revision ID: cb1a5deb64ef
Revises:
Create Date: 2021-01-31 18:01:23.248690
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = 'cb1a5deb64ef'
down_revision = None
branch_labels = None
depends_on = None
def upgrade():
# ### commands auto gene... | 49.485 | 103 | 0.673032 | 1,186 | 9,897 | 5.562395 | 0.086847 | 0.106715 | 0.115962 | 0.159163 | 0.81916 | 0.81916 | 0.788692 | 0.788692 | 0.737911 | 0.712142 | 0 | 0.004724 | 0.122967 | 9,897 | 199 | 104 | 49.733668 | 0.7553 | 0.028595 | 0 | 0.541436 | 0 | 0 | 0.160906 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.01105 | false | 0.005525 | 0.01105 | 0 | 0.022099 | 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 |
ede12442fd4b65d4743da879fdf8aacb2600f5b2 | 76 | py | Python | tests/modules/core/test_test.py | spxtr/bumblebee-status | 45125f39af8323775aeabf809ae5ae80cfe3ccd9 | [
"MIT"
] | 1,089 | 2016-11-06T10:02:53.000Z | 2022-03-26T12:53:30.000Z | tests/modules/core/test_test.py | spxtr/bumblebee-status | 45125f39af8323775aeabf809ae5ae80cfe3ccd9 | [
"MIT"
] | 817 | 2016-11-05T05:42:39.000Z | 2022-03-25T19:43:52.000Z | tests/modules/core/test_test.py | spxtr/bumblebee-status | 45125f39af8323775aeabf809ae5ae80cfe3ccd9 | [
"MIT"
] | 317 | 2016-11-05T00:35:06.000Z | 2022-03-24T13:35:03.000Z | import pytest
def test_load_module():
__import__("modules.core.test")
| 12.666667 | 35 | 0.736842 | 10 | 76 | 5 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144737 | 76 | 5 | 36 | 15.2 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0.226667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.666667 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
edf3a3a428a57de9857f55d5a9cb57455cf91c26 | 4,954 | py | Python | migrations/versions/17ba496fb5ee_remove_starred_change_financial_id_to_.py | hamhands/pittsburgh-purchasing-suite | a79aa77c00c95da8f0b3e2f5f7f7143d5857de35 | [
"BSD-3-Clause"
] | 2 | 2016-02-05T16:32:42.000Z | 2019-07-15T18:52:29.000Z | migrations/versions/17ba496fb5ee_remove_starred_change_financial_id_to_.py | hamhands/pittsburgh-purchasing-suite | a79aa77c00c95da8f0b3e2f5f7f7143d5857de35 | [
"BSD-3-Clause"
] | 66 | 2015-12-08T13:38:30.000Z | 2017-07-19T13:27:56.000Z | migrations/versions/17ba496fb5ee_remove_starred_change_financial_id_to_.py | CityofPittsburgh/pittsburgh-purchasing-suite | d676ed9c137e5aaa100992a798acd60ac464a2c1 | [
"BSD-3-Clause"
] | null | null | null | """remove starred change financial_id to string
Revision ID: 17ba496fb5ee
Revises: 2e30804e1994
Create Date: 2015-08-19 15:32:31.587407
"""
# revision identifiers, used by Alembic.
revision = '17ba496fb5ee'
down_revision = '2e30804e1994'
from alembic import op
import sqlalchemy as sa
index_set = [
'tsv_contrac... | 38.403101 | 140 | 0.681066 | 643 | 4,954 | 4.998445 | 0.171073 | 0.037337 | 0.053205 | 0.03547 | 0.786559 | 0.786559 | 0.752334 | 0.746111 | 0.719353 | 0.719353 | 0 | 0.014297 | 0.223456 | 4,954 | 128 | 141 | 38.703125 | 0.821159 | 0.106782 | 0 | 0.651685 | 0 | 0.022472 | 0.697593 | 0.275532 | 0 | 0 | 0 | 0 | 0 | 1 | 0.022472 | false | 0 | 0.022472 | 0 | 0.044944 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
edf74d09c4a5cc19dc54e1bc34e9fdafd4800d22 | 204 | py | Python | {{cookiecutter.project_name}}/app/api/endpoints.py | schenkd/FlaskCookie | dd65548a5c7ee8ded6007af5b97f74cf2586c899 | [
"MIT"
] | 20 | 2020-10-03T13:29:47.000Z | 2021-07-22T13:24:44.000Z | {{cookiecutter.project_name}}/app/api/endpoints.py | schenkd/FlaskCookie | dd65548a5c7ee8ded6007af5b97f74cf2586c899 | [
"MIT"
] | null | null | null | {{cookiecutter.project_name}}/app/api/endpoints.py | schenkd/FlaskCookie | dd65548a5c7ee8ded6007af5b97f74cf2586c899 | [
"MIT"
] | 1 | 2020-10-04T13:34:48.000Z | 2020-10-04T13:34:48.000Z | from . import api
from flask import jsonify
@api.route('/', methods=['GET'])
def root():
return jsonify({'msg': 'Congratulations! You have successfully set up the project with cookiecutter.'}), 200
| 25.5 | 112 | 0.705882 | 27 | 204 | 5.333333 | 0.851852 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017341 | 0.151961 | 204 | 7 | 113 | 29.142857 | 0.815029 | 0 | 0 | 0 | 0 | 0 | 0.406863 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
b62acffd444db48b04cb7fdd76341672ad49a3b6 | 23 | py | Python | ETM/__init__.py | BlackmanWhite/Easy-Text-Menu-ETM | 4a07cd948cbfb96eb238427ca75b37ba32c1b4d3 | [
"MIT"
] | 2 | 2018-12-21T20:39:33.000Z | 2019-06-03T15:06:58.000Z | ETM/__init__.py | BlackmanWhite/Easy-Text-Menu-ETM | 4a07cd948cbfb96eb238427ca75b37ba32c1b4d3 | [
"MIT"
] | null | null | null | ETM/__init__.py | BlackmanWhite/Easy-Text-Menu-ETM | 4a07cd948cbfb96eb238427ca75b37ba32c1b4d3 | [
"MIT"
] | null | null | null | from ETM import ETM
| 7.666667 | 20 | 0.695652 | 4 | 23 | 4 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.304348 | 23 | 2 | 21 | 11.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b651479c81707f45e768d358691c9ed684b75dbd | 19,826 | py | Python | modules/djradicale/tests/test_serialize.py | gthreepwood/yats | d66dfc61da8d775efcf3e84aff3295b61ce9c9b2 | [
"MIT"
] | null | null | null | modules/djradicale/tests/test_serialize.py | gthreepwood/yats | d66dfc61da8d775efcf3e84aff3295b61ce9c9b2 | [
"MIT"
] | null | null | null | modules/djradicale/tests/test_serialize.py | gthreepwood/yats | d66dfc61da8d775efcf3e84aff3295b61ce9c9b2 | [
"MIT"
] | null | null | null | # Copyright (C) 2016 Okami, okami@fuzetsu.info
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 3
# of the License, or (at your option) any later version.
# This program is distr... | 21.295381 | 82 | 0.842076 | 2,450 | 19,826 | 6.807347 | 0.099184 | 0.052524 | 0.123456 | 0.148999 | 0.933205 | 0.931646 | 0.923312 | 0.923312 | 0.918755 | 0.908083 | 0 | 0.168547 | 0.065722 | 19,826 | 930 | 83 | 21.31828 | 0.731847 | 0.036417 | 0 | 0 | 0 | 0 | 0.121435 | 0.084637 | 0 | 0 | 0 | 0 | 0.12 | 1 | 0.04 | false | 0 | 0.12 | 0 | 0.36 | 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 |
1e3fb660b53626161ee231c3c4e128517d82e480 | 150 | py | Python | core/__init__.py | SiriYXR/IstaTranslator | e3339aa764990f7dbf69796feb609fff3c5f8612 | [
"Apache-2.0"
] | 6 | 2021-02-13T12:21:56.000Z | 2022-01-12T08:43:52.000Z | core/__init__.py | SiriYXR/IstaTranslator | e3339aa764990f7dbf69796feb609fff3c5f8612 | [
"Apache-2.0"
] | null | null | null | core/__init__.py | SiriYXR/IstaTranslator | e3339aa764990f7dbf69796feb609fff3c5f8612 | [
"Apache-2.0"
] | 3 | 2021-03-24T13:48:09.000Z | 2021-08-25T02:33:33.000Z | # -*- coding:utf-8 -*-
"""
@author: SiriYang
@file: __init__.py
@createTime: 2021-01-23 13:51:53
@updateTime: 2021-01-23 13:51:53
@codeLines: 0
"""
| 13.636364 | 32 | 0.64 | 24 | 150 | 3.833333 | 0.75 | 0.130435 | 0.173913 | 0.217391 | 0.304348 | 0.304348 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 0.133333 | 150 | 10 | 33 | 15 | 0.476923 | 0.92 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 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 |
1e700fb98ad6fb3bb369fae72b83604a195a5e23 | 148 | py | Python | pyuiw/__version__.py | FXTD-ODYSSEY/pyuiw | 9613d0ff3cc1187a0aa854ce17fd14245751d969 | [
"MIT"
] | null | null | null | pyuiw/__version__.py | FXTD-ODYSSEY/pyuiw | 9613d0ff3cc1187a0aa854ce17fd14245751d969 | [
"MIT"
] | null | null | null | pyuiw/__version__.py | FXTD-ODYSSEY/pyuiw | 9613d0ff3cc1187a0aa854ce17fd14245751d969 | [
"MIT"
] | null | null | null | # Import future modules
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
version = ""
| 18.5 | 38 | 0.831081 | 18 | 148 | 6.055556 | 0.5 | 0.275229 | 0.440367 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141892 | 148 | 7 | 39 | 21.142857 | 0.858268 | 0.141892 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0.25 | 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 |
1e752ac1020130496fc828fd214f4823b7fa8381 | 57 | py | Python | tests/test_db.py | blurks/clld | d9900f88af726eb6a4d2668f517d5af23bcc6f9d | [
"MIT"
] | 32 | 2015-02-22T02:09:29.000Z | 2022-02-18T14:40:16.000Z | tests/test_db.py | blurks/clld | d9900f88af726eb6a4d2668f517d5af23bcc6f9d | [
"MIT"
] | 199 | 2015-01-05T11:58:38.000Z | 2022-02-22T14:34:52.000Z | tests/test_db.py | blurks/clld | d9900f88af726eb6a4d2668f517d5af23bcc6f9d | [
"MIT"
] | 18 | 2015-01-23T13:00:47.000Z | 2022-02-21T16:32:36.000Z | from clld.db import fts
def test_fts():
assert fts
| 9.5 | 23 | 0.684211 | 10 | 57 | 3.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.245614 | 57 | 5 | 24 | 11.4 | 0.883721 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1ebdbfa80d378e10637b77b7442557f88519ccf8 | 121 | py | Python | FastDSP/__init__.py | JuanGGO/FastDSP | 652fdadbedd99b934cb6a82e3bfb07d4645425b8 | [
"BSD-3-Clause"
] | null | null | null | FastDSP/__init__.py | JuanGGO/FastDSP | 652fdadbedd99b934cb6a82e3bfb07d4645425b8 | [
"BSD-3-Clause"
] | null | null | null | FastDSP/__init__.py | JuanGGO/FastDSP | 652fdadbedd99b934cb6a82e3bfb07d4645425b8 | [
"BSD-3-Clause"
] | null | null | null | # Importing strctures
from FastDSP.structures import GPUArray
# Importing algorithms
from FastDSP.algorithms import mean | 24.2 | 39 | 0.85124 | 14 | 121 | 7.357143 | 0.642857 | 0.213592 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115702 | 121 | 5 | 40 | 24.2 | 0.962617 | 0.330579 | 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 |
1ed8eff982c052daa5c58cb8f6d3e9bd69a86774 | 40 | py | Python | samplyser/spectrum/__init__.py | uummoo/samplyser | 5fe245332b3488a9d3beac87914ef4d309ef4451 | [
"MIT"
] | null | null | null | samplyser/spectrum/__init__.py | uummoo/samplyser | 5fe245332b3488a9d3beac87914ef4d309ef4451 | [
"MIT"
] | null | null | null | samplyser/spectrum/__init__.py | uummoo/samplyser | 5fe245332b3488a9d3beac87914ef4d309ef4451 | [
"MIT"
] | null | null | null | from samplyser.spectrum import spectrum
| 20 | 39 | 0.875 | 5 | 40 | 7 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 1 | 40 | 40 | 0.972222 | 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 |
1ee48262732f7bf8e591ea02a501c4274dc80680 | 221 | py | Python | src/dictionary/models.py | chiliseed/django-starter-apps | b70480aa968f8b940309ebc23a1d66652aaf6e95 | [
"MIT"
] | 2 | 2020-05-12T20:48:35.000Z | 2020-09-14T19:04:14.000Z | src/dictionary/models.py | chiliseed/django-starter-apps | b70480aa968f8b940309ebc23a1d66652aaf6e95 | [
"MIT"
] | 3 | 2021-06-04T23:07:45.000Z | 2021-06-10T19:12:02.000Z | src/dictionary/models.py | chiliseed/django-starter-apps | b70480aa968f8b940309ebc23a1d66652aaf6e95 | [
"MIT"
] | 1 | 2020-06-25T10:55:19.000Z | 2020-06-25T10:55:19.000Z | from django.db import models
class Word(models.Model):
value = models.CharField(max_length=100)
description = models.CharField(max_length=500)
def __str__(self):
return f"#{self.id} | {self.value}"
| 22.1 | 50 | 0.687783 | 30 | 221 | 4.866667 | 0.7 | 0.205479 | 0.246575 | 0.328767 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033333 | 0.18552 | 221 | 9 | 51 | 24.555556 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0.113122 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.166667 | 0.166667 | 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 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
949a3e267ef15d99b119fc67a6bada83a656090b | 30 | py | Python | node2vec/__init__.py | ktagowski/node2vec | e3b8ee9b9d7fa92f399c4b270241b1a25260383a | [
"MIT"
] | null | null | null | node2vec/__init__.py | ktagowski/node2vec | e3b8ee9b9d7fa92f399c4b270241b1a25260383a | [
"MIT"
] | null | null | null | node2vec/__init__.py | ktagowski/node2vec | e3b8ee9b9d7fa92f399c4b270241b1a25260383a | [
"MIT"
] | null | null | null | from .node2vec import Node2Vec | 30 | 30 | 0.866667 | 4 | 30 | 6.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 0.1 | 30 | 1 | 30 | 30 | 0.888889 | 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 |
94a1812329cc5d338e26bbe0739d7a49d255b352 | 115 | py | Python | src/routes/__init__.py | Gabrielgvl/pontotel_backend | 5cc379ea636e9e9df1348f3e3b2dd38f323961e5 | [
"MIT"
] | null | null | null | src/routes/__init__.py | Gabrielgvl/pontotel_backend | 5cc379ea636e9e9df1348f3e3b2dd38f323961e5 | [
"MIT"
] | null | null | null | src/routes/__init__.py | Gabrielgvl/pontotel_backend | 5cc379ea636e9e9df1348f3e3b2dd38f323961e5 | [
"MIT"
] | null | null | null | from .user import USER_BLUEPRINT
from .quotation import QUOTATION_BLUEPRINT
from .company import COMPANY_BLUEPRINT
| 28.75 | 42 | 0.869565 | 15 | 115 | 6.466667 | 0.4 | 0.268041 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104348 | 115 | 3 | 43 | 38.333333 | 0.941748 | 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 |
94d0d55bff3748c5ebed67c3a6c0612e8296fe3b | 85 | py | Python | dgutils/__init__.py | DelMaestroGroup/dgutils | 51853d2697ebf293b25407d31555f82edf02051d | [
"MIT"
] | 1 | 2020-06-21T02:30:01.000Z | 2020-06-21T02:30:01.000Z | dgutils/__init__.py | DelMaestroGroup/dgutils | 51853d2697ebf293b25407d31555f82edf02051d | [
"MIT"
] | null | null | null | dgutils/__init__.py | DelMaestroGroup/dgutils | 51853d2697ebf293b25407d31555f82edf02051d | [
"MIT"
] | null | null | null | from . import fonts
from . import colors
from . import savehtml
from . import pypov
| 14.166667 | 22 | 0.752941 | 12 | 85 | 5.333333 | 0.5 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 85 | 5 | 23 | 17 | 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 |
94e02dfe5bc84a7a16c79205a0111166fd8c17de | 638 | py | Python | plst/Helpers/config.py | UPTechMX/UPT-Distance-Module | 5a2993c75f6e4b9f549985c186d0fa9b77e9f839 | [
"MIT"
] | null | null | null | plst/Helpers/config.py | UPTechMX/UPT-Distance-Module | 5a2993c75f6e4b9f549985c186d0fa9b77e9f839 | [
"MIT"
] | 2 | 2021-04-05T08:25:16.000Z | 2021-04-05T08:30:46.000Z | plst/Helpers/config.py | UPTechMX/UPT-Distance-Module | 5a2993c75f6e4b9f549985c186d0fa9b77e9f839 | [
"MIT"
] | 3 | 2020-04-13T16:51:32.000Z | 2020-10-23T10:44:06.000Z | # -*- coding: utf-8 -*-
import plst.Helpers.logging_config
def get_db():
from django.db import connection
return connection.cursor()
def get_uri():
from django.db import connection as db
return "postgresql://"+db.get_connection_params()['user'] +":"+ db.get_connection_params()['password'] +"@"+ db.ge... | 29 | 231 | 0.706897 | 84 | 638 | 5.142857 | 0.380952 | 0.05787 | 0.173611 | 0.243056 | 0.375 | 0.24537 | 0.24537 | 0.24537 | 0.24537 | 0 | 0 | 0.001812 | 0.134796 | 638 | 21 | 232 | 30.380952 | 0.780797 | 0.032915 | 0 | 0.153846 | 0 | 0 | 0.104065 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.307692 | true | 0.076923 | 0.384615 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
bf68ee309f96a06306bee38ed003a87616b04ea4 | 178 | py | Python | web/routes.py | franklinsijo/flask-simple-webapp | 3779832327c7ce482ee9813a38e0426ce6eeccf2 | [
"MIT"
] | null | null | null | web/routes.py | franklinsijo/flask-simple-webapp | 3779832327c7ce482ee9813a38e0426ce6eeccf2 | [
"MIT"
] | null | null | null | web/routes.py | franklinsijo/flask-simple-webapp | 3779832327c7ce482ee9813a38e0426ce6eeccf2 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
from flask import Blueprint, render_template
app = Blueprint('app', __name__)
@app.route('/')
def display_app():
return render_template('app.html')
| 17.8 | 44 | 0.719101 | 24 | 178 | 5.041667 | 0.708333 | 0.231405 | 0.280992 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006452 | 0.129213 | 178 | 9 | 45 | 19.777778 | 0.774194 | 0.117978 | 0 | 0 | 0 | 0 | 0.076923 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 0.6 | 0.4 | 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 | 0 | 1 | 1 | 0 | 0 | 6 |
bfb2b97e863dfc594e51a11d4da1dc9b3050589b | 58 | py | Python | lambda_module_test.py | mck-dpadmanabhan/python-for-cloud | 6b2118e7f501ecb529fcefa3c1cbad9e357dd331 | [
"MIT"
] | 3 | 2021-11-18T15:43:39.000Z | 2022-01-23T14:09:57.000Z | lambda_module_test.py | mck-dpadmanabhan/python-for-cloud | 6b2118e7f501ecb529fcefa3c1cbad9e357dd331 | [
"MIT"
] | null | null | null | lambda_module_test.py | mck-dpadmanabhan/python-for-cloud | 6b2118e7f501ecb529fcefa3c1cbad9e357dd331 | [
"MIT"
] | 27 | 2021-11-10T08:44:10.000Z | 2022-03-30T08:19:46.000Z | import lambda_test
lambda_test.lambda_handler(None, None) | 19.333333 | 38 | 0.862069 | 9 | 58 | 5.222222 | 0.555556 | 0.425532 | 0.680851 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 58 | 3 | 38 | 19.333333 | 0.87037 | 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 | 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 |
bfd28712c3a0dd5b702650ddd3b81bbdeb91f152 | 18,963 | py | Python | src/sensor.py | harrychowjackson/automated-radishes | acb6509506bef3c55ecbff3e5f7ea965b8460b94 | [
"Apache-2.0"
] | 2 | 2018-01-31T03:56:47.000Z | 2020-01-29T03:20:37.000Z | src/sensor.py | harrychowjackson/automated-radishes | acb6509506bef3c55ecbff3e5f7ea965b8460b94 | [
"Apache-2.0"
] | null | null | null | src/sensor.py | harrychowjackson/automated-radishes | acb6509506bef3c55ecbff3e5f7ea965b8460b94 | [
"Apache-2.0"
] | null | null | null | import os
import sys
import time
import Adafruit_ADS1x15
class Block_A_Sensors(object):
def __init__(self):
# Create an ADS1115 ADC (16-bit) instance for the I2C address.
self.sensorBlockA = Adafruit_ADS1x15.ADS1015(address=0x48, busnum=1)
# Choose a gain of 1 for reading voltages from 0 ... | 43.294521 | 85 | 0.602964 | 2,488 | 18,963 | 4.454582 | 0.067926 | 0.025264 | 0.038979 | 0.021655 | 0.908238 | 0.876658 | 0.875214 | 0.870071 | 0.839755 | 0.775512 | 0 | 0.055635 | 0.301429 | 18,963 | 437 | 86 | 43.393593 | 0.781007 | 0.292992 | 0 | 0.575646 | 0 | 0 | 0.087779 | 0 | 0 | 0 | 0.001211 | 0 | 0 | 1 | 0.132841 | false | 0.00738 | 0.01476 | 0.059041 | 0.261993 | 0.077491 | 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 |
44c060e3184e466c30a50f3bf89003d4d0868930 | 38 | py | Python | geonotebook/vis/ktile/vrt/__init__.py | irina694/earth-science-notebook | e035707a0647ca42abed95eb0e68b1fe5a7e4659 | [
"Apache-2.0"
] | 1,076 | 2016-07-28T13:05:39.000Z | 2022-03-15T13:27:43.000Z | geonotebook/vis/ktile/vrt/__init__.py | ladien/geonotebook | a20a86909677ab02dc3e59c302f056ecb906b0e4 | [
"Apache-2.0"
] | 138 | 2016-09-06T13:23:47.000Z | 2020-11-23T13:08:30.000Z | geonotebook/vis/ktile/vrt/__init__.py | ladien/geonotebook | a20a86909677ab02dc3e59c302f056ecb906b0e4 | [
"Apache-2.0"
] | 153 | 2016-10-10T19:04:09.000Z | 2022-03-19T01:55:10.000Z | from .gdalvrtbindings import * # noqa
| 19 | 37 | 0.763158 | 4 | 38 | 7.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 38 | 1 | 38 | 38 | 0.90625 | 0.105263 | 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 |
44c55bad3b4ddc33686929342aadd5f862c03fe9 | 259 | py | Python | bitcoin_client/tests/test_get_master_fingerprint_legacyapp.py | kralverde/app-bitcoin-new | 3cb732013706cf19bf9802eefc0e7fce71493ddd | [
"Apache-2.0"
] | 16 | 2021-09-25T11:46:17.000Z | 2022-03-10T15:47:14.000Z | bitcoin_client/tests/test_get_master_fingerprint_legacyapp.py | kralverde/app-bitcoin-new | 3cb732013706cf19bf9802eefc0e7fce71493ddd | [
"Apache-2.0"
] | 20 | 2021-09-24T08:51:48.000Z | 2022-03-28T20:00:00.000Z | bitcoin_client/tests/test_get_master_fingerprint_legacyapp.py | kralverde/app-bitcoin-new | 3cb732013706cf19bf9802eefc0e7fce71493ddd | [
"Apache-2.0"
] | 26 | 2021-09-21T07:03:00.000Z | 2022-03-26T04:18:49.000Z | from bitcoin_client.ledger_bitcoin import Client
from .conftest import SpeculosGlobals
def test_get_master_fingerprint(client: Client, speculos_globals: SpeculosGlobals):
assert client.get_master_fingerprint() == speculos_globals.master_key_fingerprint
| 37 | 85 | 0.857143 | 31 | 259 | 6.806452 | 0.516129 | 0.085308 | 0.189573 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088803 | 259 | 6 | 86 | 43.166667 | 0.894068 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | false | 0 | 0.5 | 0 | 0.75 | 0.5 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
44d314d7d9fd4fd339ab843637761f50885df732 | 8,607 | py | Python | scripts/filter_csv_data_var_rad.py | yeus/satsim | 22e28a19881cf2155cf247d170a1f2c007c11898 | [
"Apache-2.0"
] | 1 | 2020-06-17T15:34:13.000Z | 2020-06-17T15:34:13.000Z | scripts/filter_csv_data_var_rad.py | yeus/satsim | 22e28a19881cf2155cf247d170a1f2c007c11898 | [
"Apache-2.0"
] | null | null | null | scripts/filter_csv_data_var_rad.py | yeus/satsim | 22e28a19881cf2155cf247d170a1f2c007c11898 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Thu Mar 6 13:30:08 2014
@author: jens
"""
print("grap a coffee")
import numpy as np
from numpy.lib.recfunctions import append_fields
BBx = 3
BBy = 3
BBz = 3
component_Box=["port_b"]
component_TIM=["Conductance_"]
component_Panel=["thermal_connector_"]
component_Radiation=["facto... | 74.843478 | 229 | 0.625537 | 1,453 | 8,607 | 3.407433 | 0.08947 | 0.081196 | 0.056958 | 0.076348 | 0.853161 | 0.828116 | 0.823268 | 0.809129 | 0.786912 | 0.743284 | 0 | 0.020201 | 0.200534 | 8,607 | 114 | 230 | 75.5 | 0.699317 | 0.017892 | 0 | 0.349057 | 0 | 0 | 0.079702 | 0.029725 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.018868 | 0 | 0.018868 | 0.028302 | 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 |
44d49c48a288e2f0ac5e930d0251fd4caaee7c43 | 145 | py | Python | 8kyu/Reversed Words.py | walkgo/codewars_tasks | 4c0ab6f0e1d2181318fc15b12dd55ef565ecd223 | [
"MIT"
] | null | null | null | 8kyu/Reversed Words.py | walkgo/codewars_tasks | 4c0ab6f0e1d2181318fc15b12dd55ef565ecd223 | [
"MIT"
] | null | null | null | 8kyu/Reversed Words.py | walkgo/codewars_tasks | 4c0ab6f0e1d2181318fc15b12dd55ef565ecd223 | [
"MIT"
] | null | null | null | def reverse_words(s):
return ' '.join(s.split(' ')[::-1])
# Best Practices
def reverseWords(str):
return " ".join(str.split(" ")[::-1]) | 20.714286 | 41 | 0.57931 | 19 | 145 | 4.368421 | 0.631579 | 0.240964 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016529 | 0.165517 | 145 | 7 | 41 | 20.714286 | 0.669421 | 0.096552 | 0 | 0 | 0 | 0 | 0.030769 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
783c89ef81cf3d3357dc1fd31e6e6ca920a84d80 | 125 | py | Python | medvision/util/typeutil.py | kyle0x54/medvision | a634208fe9b2dff13e54b28fa024a31328a78431 | [
"Apache-2.0"
] | 6 | 2019-02-06T15:27:53.000Z | 2021-08-20T03:19:13.000Z | medvision/util/typeutil.py | rouroulee/medvision | dfd392afd4f90b5359d769e6fb5c04ba27b54ab6 | [
"Apache-2.0"
] | 2 | 2019-08-05T11:08:02.000Z | 2019-09-23T09:15:33.000Z | medvision/util/typeutil.py | rouroulee/medvision | dfd392afd4f90b5359d769e6fb5c04ba27b54ab6 | [
"Apache-2.0"
] | 2 | 2019-02-19T06:48:14.000Z | 2019-08-05T08:40:45.000Z | import collections
import numpy as np
def isarrayinstance(x):
return isinstance(x, (collections.Sequence, np.ndarray))
| 17.857143 | 60 | 0.768 | 16 | 125 | 6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144 | 125 | 6 | 61 | 20.833333 | 0.897196 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
78461ccdf92320b2a37d5241006fd077c31c09fd | 74 | py | Python | cedar/stores/tests/test_stores_gcs.py | ceholden/cedar-datacube | d9463a28ce52665faaed069481d34a5ebe60558e | [
"BSD-3-Clause"
] | 12 | 2019-07-19T17:35:24.000Z | 2021-12-29T20:22:12.000Z | cedar/stores/tests/test_stores_gcs.py | ceholden/cedar-datacube | d9463a28ce52665faaed069481d34a5ebe60558e | [
"BSD-3-Clause"
] | null | null | null | cedar/stores/tests/test_stores_gcs.py | ceholden/cedar-datacube | d9463a28ce52665faaed069481d34a5ebe60558e | [
"BSD-3-Clause"
] | 2 | 2019-10-06T06:36:39.000Z | 2020-06-15T04:07:07.000Z | """ Tests for :py:mod:`cedar.stores.gcs`
"""
from cedar.stores import gcs
| 18.5 | 40 | 0.689189 | 12 | 74 | 4.25 | 0.75 | 0.431373 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121622 | 74 | 3 | 41 | 24.666667 | 0.784615 | 0.486486 | 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 |
785d7511160b4e4f805d99c3c0f0969ac3259e5c | 26 | py | Python | python/testData/inspections/PyRelativeImportInspection/PlainDirectoryDottedImportFromDotTwoElementsWithAs/plainDirectory/script_after.py | Tasemo/intellij-community | 50aeaf729b7073e91c7c77487a1f155e0dfe3fcd | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/inspections/PyRelativeImportInspection/PlainDirectoryDottedImportFromDotTwoElementsWithAs/plainDirectory/script_after.py | Tasemo/intellij-community | 50aeaf729b7073e91c7c77487a1f155e0dfe3fcd | [
"Apache-2.0"
] | null | null | null | python/testData/inspections/PyRelativeImportInspection/PlainDirectoryDottedImportFromDotTwoElementsWithAs/plainDirectory/script_after.py | Tasemo/intellij-community | 50aeaf729b7073e91c7c77487a1f155e0dfe3fcd | [
"Apache-2.0"
] | null | null | null | import foo
import bar as b | 13 | 15 | 0.807692 | 6 | 26 | 3.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192308 | 26 | 2 | 15 | 13 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
78869c5003f6a24b40aa894d4b0046a7ba0ff8f1 | 38,642 | py | Python | tests/snc/agents/hedgehog/workload/test_workload.py | dmcnamee/snc | c2da8c1e9ecdc42c59b9de73224b3d50ee1c9786 | [
"Apache-2.0"
] | 5 | 2021-03-24T16:23:10.000Z | 2021-11-17T12:44:51.000Z | tests/snc/agents/hedgehog/workload/test_workload.py | dmcnamee/snc | c2da8c1e9ecdc42c59b9de73224b3d50ee1c9786 | [
"Apache-2.0"
] | 3 | 2021-03-26T01:16:08.000Z | 2021-05-08T22:06:47.000Z | tests/snc/agents/hedgehog/workload/test_workload.py | dmcnamee/snc | c2da8c1e9ecdc42c59b9de73224b3d50ee1c9786 | [
"Apache-2.0"
] | 2 | 2021-03-24T17:20:06.000Z | 2021-04-19T09:01:12.000Z | import numpy as np
import snc.environments.examples as envex
import snc.agents.hedgehog.workload.workload as wl
import snc.utils.snc_tools as snctools
import snc.utils.alt_methods_test as alt_methods_test
import snc.simulation.utils.validation_utils as validation_utils
from snc.agents.hedgehog.params import StrategicId... | 48.484316 | 100 | 0.667072 | 5,584 | 38,642 | 4.391655 | 0.075215 | 0.05293 | 0.042205 | 0.059087 | 0.808466 | 0.779432 | 0.754679 | 0.732211 | 0.714921 | 0.697264 | 0 | 0.049111 | 0.233295 | 38,642 | 796 | 101 | 48.545226 | 0.778614 | 0.263159 | 0 | 0.476378 | 0 | 0 | 0.002484 | 0 | 0 | 0 | 0 | 0 | 0.17126 | 1 | 0.059055 | false | 0 | 0.017717 | 0 | 0.080709 | 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 |
788a99d65783fa9b464319559746d3346e48ed20 | 144 | py | Python | 01. Variable/005.py | MaksonViini/Aprendendo-Python | 8d8422f793e4ea9f81fa4ed0e4101bcfc2ba3c99 | [
"MIT"
] | 1 | 2020-09-20T23:18:47.000Z | 2020-09-20T23:18:47.000Z | 01. Variable/005.py | MaksonViini/Aprendendo-Python | 8d8422f793e4ea9f81fa4ed0e4101bcfc2ba3c99 | [
"MIT"
] | null | null | null | 01. Variable/005.py | MaksonViini/Aprendendo-Python | 8d8422f793e4ea9f81fa4ed0e4101bcfc2ba3c99 | [
"MIT"
] | 1 | 2020-09-20T23:18:49.000Z | 2020-09-20T23:18:49.000Z | #Antecessor e Sucessor
num = int(input("Digite um numero: "))
print(f"Analisando o {num}, seu antecessor e {num - 1} e o sucessor e {num + 1}" ) | 48 | 82 | 0.673611 | 25 | 144 | 3.88 | 0.6 | 0.226804 | 0.103093 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016807 | 0.173611 | 144 | 3 | 82 | 48 | 0.798319 | 0.145833 | 0 | 0 | 0 | 0.5 | 0.723577 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
78aab60b3da3fdc082c25c960a7aa7dcb72f5dda | 97 | py | Python | qmla/shared_functionality/model_naming.py | Evan1415/QMLA | 4521f7c08456a4494aed7c1b78d8ded5ea40f3d8 | [
"MIT"
] | null | null | null | qmla/shared_functionality/model_naming.py | Evan1415/QMLA | 4521f7c08456a4494aed7c1b78d8ded5ea40f3d8 | [
"MIT"
] | null | null | null | qmla/shared_functionality/model_naming.py | Evan1415/QMLA | 4521f7c08456a4494aed7c1b78d8ded5ea40f3d8 | [
"MIT"
] | null | null | null | import numpy as np
import qmla.construct_models as construct_models
"""
Useful functions
"""
| 9.7 | 48 | 0.762887 | 13 | 97 | 5.538462 | 0.692308 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164948 | 97 | 9 | 49 | 10.777778 | 0.888889 | 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 |
78b078209e0e70cac5aeb13eb77dee5184ce7c92 | 210 | py | Python | v04/__init__.py | DracoY-code/Text_Analyzer | 76042611fca2a3d866f1203903f370dbecf2cef4 | [
"MIT"
] | 1 | 2020-05-25T16:33:54.000Z | 2020-05-25T16:33:54.000Z | v04/__init__.py | DracoY-code/Text_Analyzer | 76042611fca2a3d866f1203903f370dbecf2cef4 | [
"MIT"
] | null | null | null | v04/__init__.py | DracoY-code/Text_Analyzer | 76042611fca2a3d866f1203903f370dbecf2cef4 | [
"MIT"
] | null | null | null | """
Author: DracoY
# __init__.py
"""
from engine import Engine
from engine import frequency
from engine import console_flush
from engine import create
from engine import run
from main import main
| 16.153846 | 33 | 0.747619 | 29 | 210 | 5.241379 | 0.448276 | 0.328947 | 0.526316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.209524 | 210 | 12 | 34 | 17.5 | 0.915663 | 0.138095 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
ec5cce7896c0c2f062d5b80a7efa0b8a0e5c7645 | 25 | py | Python | soil/rpimodel/led/__init__.py | irahorecka/soil-moisture-display | f113658a646d86f5fbbb904f4c0bbb81e42ff337 | [
"MIT"
] | null | null | null | soil/rpimodel/led/__init__.py | irahorecka/soil-moisture-display | f113658a646d86f5fbbb904f4c0bbb81e42ff337 | [
"MIT"
] | null | null | null | soil/rpimodel/led/__init__.py | irahorecka/soil-moisture-display | f113658a646d86f5fbbb904f4c0bbb81e42ff337 | [
"MIT"
] | null | null | null | from .led import on, off
| 12.5 | 24 | 0.72 | 5 | 25 | 3.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 25 | 1 | 25 | 25 | 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 |
ec6bf26e02bf9a5b55d82d8dcf97505ddc11a7ae | 10,757 | py | Python | analysis/core_test.py | SCAII/SCAII | 7ab302f788556392850d104d3df6e0b4a556414d | [
"BSD-3-Clause"
] | 1 | 2017-11-01T20:09:32.000Z | 2017-11-01T20:09:32.000Z | analysis/core_test.py | SCAII/SCAII | 7ab302f788556392850d104d3df6e0b4a556414d | [
"BSD-3-Clause"
] | 103 | 2017-09-14T17:04:53.000Z | 2018-08-15T22:52:32.000Z | analysis/core_test.py | SCAII/SCAII | 7ab302f788556392850d104d3df6e0b4a556414d | [
"BSD-3-Clause"
] | 6 | 2018-01-31T00:05:14.000Z | 2020-01-29T07:01:29.000Z | import unittest
from flatten import get_blank_line_object
from flatten import replace_all_delimeters_with_commas
from flatten import get_key_for_line
from flatten import parse_line
import extractionMap as extractionMap
class TestCore(unittest.TestCase):
'''
fileName
date
time
1970Sec
decisionP... | 82.114504 | 497 | 0.778656 | 1,416 | 10,757 | 5.797316 | 0.209746 | 0.192472 | 0.237544 | 0.248508 | 0.463394 | 0.456085 | 0.447436 | 0.424534 | 0.335973 | 0.287489 | 0 | 0.121212 | 0.095008 | 10,757 | 130 | 498 | 82.746154 | 0.722034 | 0.218648 | 0 | 0 | 0 | 0.612245 | 0.72103 | 0.671245 | 0 | 0 | 0 | 0 | 0.693878 | 1 | 0.081633 | false | 0 | 0.122449 | 0 | 0.22449 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ecb098c65acdc94a5f1a157294f1e2006a3dac8a | 34 | py | Python | livemark/plugins/display/__init__.py | AyrtonB/livemark | f8c49d449ea6242c674cf345823468aaabea6e6b | [
"MIT"
] | 73 | 2021-06-07T13:28:36.000Z | 2022-03-26T05:37:59.000Z | livemark/plugins/display/__init__.py | AyrtonB/livemark | f8c49d449ea6242c674cf345823468aaabea6e6b | [
"MIT"
] | 120 | 2021-06-04T12:51:01.000Z | 2022-03-21T11:11:36.000Z | livemark/plugins/display/__init__.py | AyrtonB/livemark | f8c49d449ea6242c674cf345823468aaabea6e6b | [
"MIT"
] | 7 | 2021-09-22T11:38:26.000Z | 2022-03-26T05:35:58.000Z | from .plugin import DisplayPlugin
| 17 | 33 | 0.852941 | 4 | 34 | 7.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.966667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ecee3f5d05c1bfed7f060c91c2fa27db87f61c45 | 304 | py | Python | textpipes/components/demoses.py | Waino/textpipes | 6aa96b7b2f1c6917efed7eeb27a756f759c98c03 | [
"BSD-2-Clause"
] | 2 | 2018-07-13T07:01:16.000Z | 2021-03-03T16:25:00.000Z | textpipes/components/demoses.py | Waino/textpipes | 6aa96b7b2f1c6917efed7eeb27a756f759c98c03 | [
"BSD-2-Clause"
] | null | null | null | textpipes/components/demoses.py | Waino/textpipes | 6aa96b7b2f1c6917efed7eeb27a756f759c98c03 | [
"BSD-2-Clause"
] | null | null | null | from .core import RegexSubstitution
class AmpDoubleEntity(RegexSubstitution):
def __init__(self, **kwargs):
super().__init__([(r'& amp ;', '&')], **kwargs)
class ZeroWidthSpace(RegexSubstitution):
def __init__(self, **kwargs):
super().__init__([('\u200b', ' ')], **kwargs)
| 27.636364 | 59 | 0.644737 | 28 | 304 | 6.428571 | 0.535714 | 0.222222 | 0.266667 | 0.311111 | 0.477778 | 0.477778 | 0.477778 | 0 | 0 | 0 | 0 | 0.011811 | 0.164474 | 304 | 10 | 60 | 30.4 | 0.69685 | 0 | 0 | 0.285714 | 0 | 0 | 0.0625 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0 | 0.714286 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
01f01c3baa157d09508a75115f3344a69a7f1914 | 261 | py | Python | examples/brainfuck_rockstar.py | johniek/meteor-rock | 8a6eb3d0966f9a4717293d1d7ee9954aa340c304 | [
"MIT"
] | 1 | 2021-07-31T23:33:42.000Z | 2021-07-31T23:33:42.000Z | examples/brainfuck_rockstar.py | gombirot/rockstar | 3b8956bbe931a0ac12b6c435f490af524e59bcc4 | [
"MIT"
] | 1 | 2015-07-22T12:26:06.000Z | 2015-07-22T12:26:06.000Z | examples/brainfuck_rockstar.py | johniek/meteor-rock | 8a6eb3d0966f9a4717293d1d7ee9954aa340c304 | [
"MIT"
] | null | null | null | from RockStar import RockStar
bf_code = "++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>."
rock_it_bro = RockStar(days=400, file_name='helloWorld.b', code=bf_code)
rock_it_bro.make_me_a_rockstar()
| 43.5 | 123 | 0.455939 | 26 | 261 | 4.192308 | 0.653846 | 0.110092 | 0.183486 | 0.220183 | 0.275229 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012146 | 0.05364 | 261 | 5 | 124 | 52.2 | 0.42915 | 0 | 0 | 0 | 0 | 0 | 0.471264 | 0.425287 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
01f343111a2c1d0d99dd2f83fbc48932a3ab57d8 | 174 | py | Python | labellio/__init__.py | tetsunosuke/labellio_cli | 961c649473c57ba1a368a11c03897ccf565a3066 | [
"MIT"
] | null | null | null | labellio/__init__.py | tetsunosuke/labellio_cli | 961c649473c57ba1a368a11c03897ccf565a3066 | [
"MIT"
] | null | null | null | labellio/__init__.py | tetsunosuke/labellio_cli | 961c649473c57ba1a368a11c03897ccf565a3066 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from labellio.classifier import Classifier
from labellio.config import Config
from labellio.image import ImageLoader
from labellio.label import Label
| 29 | 42 | 0.804598 | 23 | 174 | 6.086957 | 0.478261 | 0.342857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006536 | 0.12069 | 174 | 5 | 43 | 34.8 | 0.908497 | 0.12069 | 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 |
bf0db7e7e399b2ec8dcfc77787bb802d1985533c | 33 | py | Python | app.py | migarabhanu/Function-Machine | a46d3883db85c6782155b12832d38f1f832f00e7 | [
"BSL-1.0"
] | null | null | null | app.py | migarabhanu/Function-Machine | a46d3883db85c6782155b12832d38f1f832f00e7 | [
"BSL-1.0"
] | null | null | null | app.py | migarabhanu/Function-Machine | a46d3883db85c6782155b12832d38f1f832f00e7 | [
"BSL-1.0"
] | null | null | null |
print(" still being developed")
| 11 | 31 | 0.727273 | 4 | 33 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 33 | 2 | 32 | 16.5 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0.6875 | 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 |
bf311c84e0b37cfa3f521d9a3402f99ea3835ebe | 3,228 | py | Python | src/serde_ext/validate.py | rossmacarthur/serde-ext | 73ed554a2f3cdb1e2e0492548beee150ba65e302 | [
"MIT"
] | 1 | 2019-01-27T07:35:05.000Z | 2019-01-27T07:35:05.000Z | src/serde_ext/validate.py | rossmacarthur/serde-ext | 73ed554a2f3cdb1e2e0492548beee150ba65e302 | [
"MIT"
] | 5 | 2019-01-27T07:44:55.000Z | 2019-07-07T15:12:50.000Z | src/serde_ext/validate.py | rossmacarthur/serde-ext | 73ed554a2f3cdb1e2e0492548beee150ba65e302 | [
"MIT"
] | null | null | null | """
Validator functions for use with `Fields <serde.fields.Field>`.
"""
import validators
from serde.exceptions import ValidationError
def domain(value):
"""
Validate whether or not the given string is a valid domain.
Args:
value (str): the value to validate.
Raises:
`~serde.excepti... | 25.824 | 80 | 0.635688 | 430 | 3,228 | 4.760465 | 0.109302 | 0.070347 | 0.046898 | 0.085979 | 0.804592 | 0.787005 | 0.739619 | 0.739619 | 0.631168 | 0.631168 | 0 | 0.005074 | 0.267348 | 3,228 | 124 | 81 | 26.032258 | 0.860465 | 0.536865 | 0 | 0 | 0 | 0 | 0.183539 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.307692 | false | 0 | 0.076923 | 0 | 0.384615 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
bf3739c6a06a260f8049966b34405476a0e1bee4 | 7,729 | py | Python | benchmarks/micro/test_date_parsing.py | zkanda/scalyr-agent-2 | 81bde110337b5e7dc5045f26097b721e1ff4ebae | [
"Apache-2.0"
] | 67 | 2015-02-03T00:35:33.000Z | 2022-03-23T10:14:26.000Z | benchmarks/micro/test_date_parsing.py | kdelph23/scalyr-agent-2 | 6b975db59367d271eeba6a614ac40c7cb4205c41 | [
"Apache-2.0"
] | 578 | 2015-04-09T08:58:56.000Z | 2022-03-30T12:13:21.000Z | benchmarks/micro/test_date_parsing.py | kdelph23/scalyr-agent-2 | 6b975db59367d271eeba6a614ac40c7cb4205c41 | [
"Apache-2.0"
] | 58 | 2015-01-15T22:00:43.000Z | 2022-02-18T15:48:31.000Z | # Copyright 2014-2020 Scalyr 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 in writin... | 36.116822 | 95 | 0.775262 | 999 | 7,729 | 5.584585 | 0.142142 | 0.110414 | 0.086037 | 0.071697 | 0.860907 | 0.840832 | 0.839219 | 0.839219 | 0.829539 | 0.829539 | 0 | 0.044468 | 0.153319 | 7,729 | 213 | 96 | 36.286385 | 0.808068 | 0.093544 | 0 | 0.697368 | 0 | 0 | 0.074026 | 0.023769 | 0 | 0 | 0 | 0 | 0.059211 | 1 | 0.105263 | false | 0 | 0.078947 | 0 | 0.236842 | 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 |
1742d6415d1ed6916fe808eaec50a9eee3beded4 | 102 | py | Python | edgePy/__init__.py | r-bioinformatics/edgePy | 298834f38565c9b0d0b476f4cd47d93522b3cfcd | [
"MIT"
] | 79 | 2018-04-16T19:25:32.000Z | 2022-03-21T13:31:21.000Z | edgePy/__init__.py | bc2zb/edgePy | ef70ec759fc99e3c3285171386a50215a2d473fe | [
"MIT"
] | 70 | 2018-05-09T05:49:24.000Z | 2018-10-25T16:28:34.000Z | edgePy/__init__.py | bc2zb/edgePy | ef70ec759fc99e3c3285171386a50215a2d473fe | [
"MIT"
] | 17 | 2018-03-11T02:07:45.000Z | 2021-05-02T01:53:18.000Z | from edgePy import data_import
from edgePy.DGEList import DGEList
from edgePy.util import getLogger
| 17 | 34 | 0.843137 | 15 | 102 | 5.666667 | 0.466667 | 0.352941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137255 | 102 | 5 | 35 | 20.4 | 0.965909 | 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 |
17905b63d870b5eaf7383d7f6a6957adb707bc15 | 17,568 | py | Python | test/stub/test_routingdriver.py | jsoref/neo4j-python-driver | 32c130c9a975dbf8c0d345b362d096b5e1dd3e5b | [
"Apache-2.0"
] | null | null | null | test/stub/test_routingdriver.py | jsoref/neo4j-python-driver | 32c130c9a975dbf8c0d345b362d096b5e1dd3e5b | [
"Apache-2.0"
] | null | null | null | test/stub/test_routingdriver.py | jsoref/neo4j-python-driver | 32c130c9a975dbf8c0d345b362d096b5e1dd3e5b | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# -*- encoding: utf-8 -*-
# Copyright (c) 2002-2018 "Neo Technology,"
# Network Engine for Objects in Lund AB [http://neotechnology.com]
#
# This file is part of Neo4j.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the Li... | 54.559006 | 117 | 0.595173 | 2,124 | 17,568 | 4.765537 | 0.118644 | 0.026082 | 0.032602 | 0.039123 | 0.802411 | 0.764276 | 0.745406 | 0.72456 | 0.711717 | 0.673385 | 0 | 0.072653 | 0.28939 | 17,568 | 321 | 118 | 54.728972 | 0.738145 | 0.073258 | 0 | 0.656 | 0 | 0.004 | 0.12876 | 0.065518 | 0 | 0 | 0 | 0 | 0.272 | 1 | 0.1 | false | 0.012 | 0.016 | 0 | 0.12 | 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 |
bddf557bd4e0b7de8f236eafd84fe877c2ba094b | 18,018 | py | Python | InclusiveVcb/inclusive_Vcb_MS.py | kolschew/InclusiveVcb | cbb2a7dcddf219a63ad74f5366c728df6691e421 | [
"MIT"
] | null | null | null | InclusiveVcb/inclusive_Vcb_MS.py | kolschew/InclusiveVcb | cbb2a7dcddf219a63ad74f5366c728df6691e421 | [
"MIT"
] | null | null | null | InclusiveVcb/inclusive_Vcb_MS.py | kolschew/InclusiveVcb | cbb2a7dcddf219a63ad74f5366c728df6691e421 | [
"MIT"
] | null | null | null | from InclusiveVcb._base import AbstractInclusiveVcb
from InclusiveVcb.moments.total_rates import total_rate_MS
from InclusiveVcb.moments.q2_moments_MS import *
from InclusiveVcb.moments.central_moments_MS import *
from InclusiveVcb._full_nlo import *
import InclusiveVcb.covariance_matrix as cm
class NormalizedMoment... | 32.939671 | 93 | 0.542291 | 2,365 | 18,018 | 4.083298 | 0.075687 | 0.066273 | 0.14083 | 0.034793 | 0.96065 | 0.95423 | 0.932691 | 0.932691 | 0.922957 | 0.922957 | 0 | 0.020032 | 0.384948 | 18,018 | 546 | 94 | 33 | 0.851381 | 0.573982 | 0 | 0.485714 | 0 | 0 | 0.000888 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.171429 | false | 0 | 0.085714 | 0 | 0.457143 | 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 |
bde0b760c1b541f92bb0e37daa2c809bb594528b | 6,288 | py | Python | tests/serve/mock/storage/test_entity.py | dfioravanti/hmt | df79404076ec7acea0cfb12b636d58e3ffc83bc5 | [
"MIT"
] | 25 | 2020-05-14T13:25:42.000Z | 2021-11-09T10:09:27.000Z | tests/serve/mock/storage/test_entity.py | dfioravanti/hmt | df79404076ec7acea0cfb12b636d58e3ffc83bc5 | [
"MIT"
] | 19 | 2020-05-05T19:47:41.000Z | 2021-02-05T17:06:53.000Z | tests/serve/mock/storage/test_entity.py | dfioravanti/hmt | df79404076ec7acea0cfb12b636d58e3ffc83bc5 | [
"MIT"
] | 6 | 2020-05-16T10:02:48.000Z | 2021-10-04T08:03:49.000Z | from http_types import RequestBuilder
from openapi_typed_2 import convert_to_OpenAPIObject
from hmt.serve.mock.storage.entity import Entity
from tests.util import add_item, spec_dict
def test_insert():
schema = {"$ref": "#/components/schemas/item"}
components = {
"schemas": {
"item": {
... | 27.220779 | 87 | 0.484733 | 606 | 6,288 | 4.940594 | 0.138614 | 0.018704 | 0.04676 | 0.052104 | 0.833667 | 0.833667 | 0.818971 | 0.791917 | 0.752839 | 0.729459 | 0 | 0.015123 | 0.326972 | 6,288 | 230 | 88 | 27.33913 | 0.692344 | 0 | 0 | 0.65445 | 0 | 0 | 0.225668 | 0.020038 | 0 | 0 | 0 | 0 | 0.057592 | 1 | 0.020942 | false | 0 | 0.020942 | 0 | 0.041885 | 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 |
bdf408aff75435021d8b469b1088353d57c84857 | 37 | py | Python | PanoramicView/__init__.py | mhu10/demo101mhu | 84d2a1e5c12f146314d2b741d0e3f0e3f63cfb2b | [
"MIT"
] | 11 | 2019-04-28T15:40:25.000Z | 2021-10-17T15:12:47.000Z | PanoramicView/__init__.py | mhu10/demo101mhu | 84d2a1e5c12f146314d2b741d0e3f0e3f63cfb2b | [
"MIT"
] | 2 | 2019-12-11T20:00:30.000Z | 2020-12-22T23:15:29.000Z | PanoramicView/__init__.py | mhu10/demo101mhu | 84d2a1e5c12f146314d2b741d0e3f0e3f63cfb2b | [
"MIT"
] | 3 | 2019-09-01T14:14:37.000Z | 2021-07-15T08:36:23.000Z | from PanoramicView import scPanoView
| 18.5 | 36 | 0.891892 | 4 | 37 | 8.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
da3201bc044349de7a30345d15e1fc71e9e36e0c | 64 | py | Python | src/cbutil/__init__.py | happyxianyu/cbutil-python | f01b7a754f907cd8555b59a72bbdc0532fda00f8 | [
"Apache-2.0"
] | null | null | null | src/cbutil/__init__.py | happyxianyu/cbutil-python | f01b7a754f907cd8555b59a72bbdc0532fda00f8 | [
"Apache-2.0"
] | null | null | null | src/cbutil/__init__.py | happyxianyu/cbutil-python | f01b7a754f907cd8555b59a72bbdc0532fda00f8 | [
"Apache-2.0"
] | null | null | null | from .util import *
from .tool import *
from .container import * | 21.333333 | 24 | 0.734375 | 9 | 64 | 5.222222 | 0.555556 | 0.425532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171875 | 64 | 3 | 24 | 21.333333 | 0.886792 | 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 |
da5289ff6d18886a5a7e1734851a9bbce532de04 | 26,357 | py | Python | rss_feed/feeds/tests/test_views.py | MahmoudFarid/rss_feed | d722b538977d419c89622c213059595ec07f5a2a | [
"MIT"
] | null | null | null | rss_feed/feeds/tests/test_views.py | MahmoudFarid/rss_feed | d722b538977d419c89622c213059595ec07f5a2a | [
"MIT"
] | null | null | null | rss_feed/feeds/tests/test_views.py | MahmoudFarid/rss_feed | d722b538977d419c89622c213059595ec07f5a2a | [
"MIT"
] | 1 | 2021-12-28T03:22:49.000Z | 2021-12-28T03:22:49.000Z | import json
from unittest import mock
from django.utils import timezone
from rest_framework.authtoken.models import Token
from rest_framework.test import APIClient, APITestCase
from rss_feed.users.tests.factories import UserFactory
from ..models import Feed, Item
from ..utils import prepare_feed_fields, prepare_fee... | 42.374598 | 116 | 0.643207 | 3,240 | 26,357 | 5.034259 | 0.07037 | 0.130587 | 0.112807 | 0.065355 | 0.855312 | 0.831218 | 0.797989 | 0.766047 | 0.742444 | 0.707314 | 0 | 0.011087 | 0.233448 | 26,357 | 621 | 117 | 42.442834 | 0.796228 | 0.022195 | 0 | 0.600372 | 0 | 0 | 0.094707 | 0.015739 | 0 | 0 | 0 | 0 | 0.304833 | 1 | 0.066915 | false | 0 | 0.018587 | 0 | 0.091078 | 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 |
e51dc76dd99703d61f24bc9edf0a708f9c6465be | 514 | py | Python | lang/Python/greatest-subsequential-sum-5.py | ethansaxenian/RosettaDecode | 8ea1a42a5f792280b50193ad47545d14ee371fb7 | [
"MIT"
] | 5 | 2021-01-29T20:08:05.000Z | 2022-03-22T06:16:05.000Z | lang/Python/greatest-subsequential-sum-5.py | ethansaxenian/RosettaDecode | 8ea1a42a5f792280b50193ad47545d14ee371fb7 | [
"MIT"
] | null | null | null | lang/Python/greatest-subsequential-sum-5.py | ethansaxenian/RosettaDecode | 8ea1a42a5f792280b50193ad47545d14ee371fb7 | [
"MIT"
] | 1 | 2018-11-09T22:08:40.000Z | 2018-11-09T22:08:40.000Z | f = maxsumit
assert f([]) == []
assert f([-1]) == []
assert f([0]) == []
assert f([1]) == [1]
assert f([1, 0]) == [1]
assert f([0, 1]) == [0, 1]
assert f([0, 1, 0]) == [0, 1]
assert f([2]) == [2]
assert f([2, -1]) == [2]
assert f([-1, 2]) == [2]
assert f([-1, 2, -1]) == [2]
assert f([2, -1,... | 28.555556 | 42 | 0.357977 | 97 | 514 | 1.896907 | 0.092784 | 0.608696 | 0.347826 | 0.195652 | 0.652174 | 0.440217 | 0.440217 | 0.440217 | 0.23913 | 0.163043 | 0 | 0.171196 | 0.284047 | 514 | 17 | 43 | 30.235294 | 0.328804 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.941176 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e52d8e7ac85f320ebf4c501ad744f1774a7e0310 | 236 | py | Python | tools/update-solutions.py | aitc-h/euler | 6fc07c741c31a632ce6f11f65c11007cd6c7eb29 | [
"MIT"
] | null | null | null | tools/update-solutions.py | aitc-h/euler | 6fc07c741c31a632ce6f11f65c11007cd6c7eb29 | [
"MIT"
] | null | null | null | tools/update-solutions.py | aitc-h/euler | 6fc07c741c31a632ce6f11f65c11007cd6c7eb29 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
from os import listdir
from os.path import isfile, join
def valid(f):
return isfile(join(path, f)) and f.name[0]!="_"
path = "../src"
onlyfiles = [f for f in listdir(path) if isfile(join(path, f))]
| 23.6 | 64 | 0.644068 | 40 | 236 | 3.775 | 0.575 | 0.198676 | 0.18543 | 0.198676 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010526 | 0.194915 | 236 | 9 | 65 | 26.222222 | 0.784211 | 0.088983 | 0 | 0 | 0 | 0 | 0.034314 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.166667 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
e5915c85789d802a24cb474c81088e41e3827187 | 134 | py | Python | coinrun/__init__.py | jakegrigsby/coinrun | b64bcfb4b952306a397beb00505b0b8ff14200e1 | [
"MIT"
] | 332 | 2018-12-06T14:51:44.000Z | 2022-03-17T04:36:34.000Z | coinrun/__init__.py | jakegrigsby/coinrun | b64bcfb4b952306a397beb00505b0b8ff14200e1 | [
"MIT"
] | 39 | 2018-12-06T19:19:35.000Z | 2021-06-30T13:25:13.000Z | coinrun/__init__.py | jakegrigsby/coinrun | b64bcfb4b952306a397beb00505b0b8ff14200e1 | [
"MIT"
] | 85 | 2018-12-06T14:52:41.000Z | 2021-12-02T11:37:49.000Z | from .coinrunenv import init_args_and_threads
from .coinrunenv import make
__all__ = [
'init_args_and_threads',
'make'
]
| 16.75 | 45 | 0.723881 | 17 | 134 | 5.117647 | 0.529412 | 0.321839 | 0.45977 | 0.413793 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.201493 | 134 | 7 | 46 | 19.142857 | 0.813084 | 0 | 0 | 0 | 0 | 0 | 0.186567 | 0.156716 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
e5992c88fff1ff582fa205e5b56f1a2bc0c0c0c6 | 5,440 | py | Python | gui/listctrl.py | DicksYang/iqiyi-parser | 147f506b11d7dfc358a2c5c408337b46bca6676d | [
"MIT"
] | 986 | 2018-09-07T04:27:39.000Z | 2022-03-29T05:27:29.000Z | gui/listctrl.py | DicksYang/iqiyi-parser | 147f506b11d7dfc358a2c5c408337b46bca6676d | [
"MIT"
] | 85 | 2018-09-07T04:29:10.000Z | 2022-03-11T23:47:19.000Z | gui/listctrl.py | DicksYang/iqiyi-parser | 147f506b11d7dfc358a2c5c408337b46bca6676d | [
"MIT"
] | 275 | 2018-09-07T03:16:41.000Z | 2022-03-31T11:55:10.000Z | # -*- coding: utf-8 -*-
import wx
ODD_BGCOLOR = wx.Colour(240, 240, 240, 255)
EVEN_BGCOLOR = wx.Colour(255, 255, 255, 255)
class ListCtrl_Parser(wx.ListCtrl):
def __init__(self, *args):
wx.ListCtrl.__init__(self, *args)
self.initColumn()
self.menu = Menu_Parser()
self.Bind(wx.EV... | 31.812865 | 99 | 0.646875 | 686 | 5,440 | 4.947522 | 0.135569 | 0.047731 | 0.060106 | 0.090159 | 0.8736 | 0.866824 | 0.850029 | 0.795816 | 0.749853 | 0.653801 | 0 | 0.019249 | 0.236029 | 5,440 | 171 | 100 | 31.812866 | 0.797401 | 0.074632 | 0 | 0.666667 | 0 | 0 | 0.010547 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.009259 | 0 | 0.222222 | 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 |
e5c10554651cc0adf2d35ab7de69a2425193b810 | 122 | py | Python | tests/ocd_backend/transformers/__init__.py | ngi-nix/poliscoops | 491d12f83a44afbb4f1ee525b29ae70dc564e0f7 | [
"CC-BY-4.0"
] | 13 | 2015-02-27T01:46:31.000Z | 2021-12-27T18:08:31.000Z | tests/ocd_backend/transformers/__init__.py | ngi-nix/poliscoops | 491d12f83a44afbb4f1ee525b29ae70dc564e0f7 | [
"CC-BY-4.0"
] | 68 | 2015-01-05T15:15:30.000Z | 2022-03-11T23:13:05.000Z | tests/ocd_backend/transformers/__init__.py | acidburn0zzz/open-cultuur-data | 59af74f2fcb97b53f250518f46882d8ec7613ec3 | [
"CC-BY-4.0"
] | 10 | 2015-01-09T14:01:07.000Z | 2018-04-13T14:27:07.000Z | from unittest import TestCase
class TransformerTestCase(TestCase):
pass
from .base import BaseTransformerTestCase
| 13.555556 | 41 | 0.811475 | 12 | 122 | 8.25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155738 | 122 | 8 | 42 | 15.25 | 0.961165 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
f927e344c5322977eca4973c1546bdf5e59ba1f7 | 62 | py | Python | test/covtests/testUnit/getStats2.py | samtaufa/pry | 155b783351cef5d8c8669bba4484f1a5f159150e | [
"MIT"
] | 1 | 2016-05-09T08:20:56.000Z | 2016-05-09T08:20:56.000Z | test/covtests/testUnit/getStats2.py | samtaufa/pry | 155b783351cef5d8c8669bba4484f1a5f159150e | [
"MIT"
] | null | null | null | test/covtests/testUnit/getStats2.py | samtaufa/pry | 155b783351cef5d8c8669bba4484f1a5f159150e | [
"MIT"
] | null | null | null | def foo():
pass
def bar():
pass
def boing():
pass
| 8.857143 | 12 | 0.516129 | 9 | 62 | 3.555556 | 0.555556 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.33871 | 62 | 6 | 13 | 10.333333 | 0.780488 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
f929467371c90c3e27ac9d0878d32dfdd4a2973a | 9,452 | py | Python | pirates/leveleditor/worldData/shipNavyWarship2.py | itsyaboyrocket/pirates | 6ca1e7d571c670b0d976f65e608235707b5737e3 | [
"BSD-3-Clause"
] | 3 | 2021-02-25T06:38:13.000Z | 2022-03-22T07:00:15.000Z | pirates/leveleditor/worldData/shipNavyWarship2.py | itsyaboyrocket/pirates | 6ca1e7d571c670b0d976f65e608235707b5737e3 | [
"BSD-3-Clause"
] | null | null | null | pirates/leveleditor/worldData/shipNavyWarship2.py | itsyaboyrocket/pirates | 6ca1e7d571c670b0d976f65e608235707b5737e3 | [
"BSD-3-Clause"
] | 1 | 2021-02-25T06:38:17.000Z | 2021-02-25T06:38:17.000Z | # uncompyle6 version 3.2.0
# Python bytecode 2.4 (62061)
# Decompiled from: Python 2.7.14 (v2.7.14:84471935ed, Sep 16 2017, 20:19:30) [MSC v.1500 32 bit (Intel)]
# Embedded file name: pirates.leveleditor.worldData.shipNavyWarship2
from pandac.PandaModules import Point3, VBase3, Vec4
objectStruct = {'Objects': {'1189042... | 1,575.333333 | 9,168 | 0.641557 | 1,321 | 9,452 | 4.588948 | 0.161998 | 0.039921 | 0.040086 | 0.039591 | 0.503299 | 0.474596 | 0.41257 | 0.41257 | 0.407291 | 0.400858 | 0 | 0.274154 | 0.083474 | 9,452 | 6 | 9,168 | 1,575.333333 | 0.425603 | 0.023487 | 0 | 0 | 0 | 0 | 0.585628 | 0.163776 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
00e6c566e347ca1e0457637d7f66994669c1ce44 | 31 | py | Python | replacer/__init__.py | ttivy/str-replacer | 1f3cc4fa9841b08d007bb4a34745c9c0c48bd457 | [
"MIT"
] | 1 | 2021-07-05T02:28:41.000Z | 2021-07-05T02:28:41.000Z | replacer/__init__.py | ttivy/str-replacer | 1f3cc4fa9841b08d007bb4a34745c9c0c48bd457 | [
"MIT"
] | null | null | null | replacer/__init__.py | ttivy/str-replacer | 1f3cc4fa9841b08d007bb4a34745c9c0c48bd457 | [
"MIT"
] | 1 | 2021-07-05T02:28:44.000Z | 2021-07-05T02:28:44.000Z | from .replacer import Replacer
| 15.5 | 30 | 0.83871 | 4 | 31 | 6.5 | 0.75 | 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 |
dabaf16b38c0c3e462901403f974527953694471 | 476 | py | Python | contextual_robustness/__init__.py | grese/contextual-robustness | 65aeb66e4c8f87cc77b8d1034afae4513f20a446 | [
"MIT"
] | 1 | 2021-09-08T17:04:28.000Z | 2021-09-08T17:04:28.000Z | contextual_robustness/__init__.py | grese/contextual-robustness | 65aeb66e4c8f87cc77b8d1034afae4513f20a446 | [
"MIT"
] | null | null | null | contextual_robustness/__init__.py | grese/contextual-robustness | 65aeb66e4c8f87cc77b8d1034afae4513f20a446 | [
"MIT"
] | 2 | 2021-03-03T01:30:11.000Z | 2022-01-12T18:46:37.000Z | # Expose primary classes & types
from contextual_robustness.test import ContextualRobustnessTest
from contextual_robustness.formal import ContextualRobustnessFormal
from contextual_robustness.reporting import ContextualRobustnessReporting
from contextual_robustness.base import ContextualRobustness, Techniques
# Expose... | 47.6 | 73 | 0.89916 | 48 | 476 | 8.75 | 0.458333 | 0.2 | 0.342857 | 0.161905 | 0.190476 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077731 | 476 | 9 | 74 | 52.888889 | 0.95672 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
daed4dbcdf0396a8e3d6e996396009389944791d | 169 | py | Python | src/media_list/data_fetchers/__init__.py | mincem/media_list | ed255c37feaf94da82851627466719a2af95635e | [
"MIT"
] | null | null | null | src/media_list/data_fetchers/__init__.py | mincem/media_list | ed255c37feaf94da82851627466719a2af95635e | [
"MIT"
] | 2 | 2020-08-02T17:25:09.000Z | 2022-03-12T00:12:46.000Z | src/media_list/data_fetchers/__init__.py | mincem/media_list | ed255c37feaf94da82851627466719a2af95635e | [
"MIT"
] | null | null | null | from .external_item_fetcher import ExternalItemFetcher
from .external_movie_fetcher import ExternalMovieFetcher
from .external_manga_fetcher import ExternalMangaFetcher
| 42.25 | 56 | 0.911243 | 18 | 169 | 8.222222 | 0.555556 | 0.243243 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071006 | 169 | 3 | 57 | 56.333333 | 0.942675 | 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 |
dafd71b0c4170d94087e4698735a6dac8e9b5a32 | 21 | py | Python | seamseg/utils/nms/__init__.py | gladcolor/seamseg | 9e6c7e2828f32b311a7b0c16b279ac194e8aaf94 | [
"BSD-3-Clause"
] | 282 | 2019-06-07T11:37:01.000Z | 2022-03-19T05:43:02.000Z | seamseg/utils/nms/__init__.py | gladcolor/seamseg | 9e6c7e2828f32b311a7b0c16b279ac194e8aaf94 | [
"BSD-3-Clause"
] | 32 | 2019-07-02T10:39:03.000Z | 2022-03-10T14:10:13.000Z | seamseg/utils/nms/__init__.py | gladcolor/seamseg | 9e6c7e2828f32b311a7b0c16b279ac194e8aaf94 | [
"BSD-3-Clause"
] | 56 | 2019-07-24T02:31:37.000Z | 2022-01-07T16:19:50.000Z | from .nms import nms
| 10.5 | 20 | 0.761905 | 4 | 21 | 4 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9711e7f63e7fc00bdf33e06f94bce1a3d7b6fa6f | 63,579 | py | Python | src/test/test_configure_layer.py | nasa-gibs/onearth | 0798cabe2920e707694b771ae222f95e92091bf0 | [
"Apache-2.0"
] | 131 | 2015-01-19T15:42:50.000Z | 2022-03-30T16:38:11.000Z | src/test/test_configure_layer.py | nasa-gibs/onearth | 0798cabe2920e707694b771ae222f95e92091bf0 | [
"Apache-2.0"
] | 59 | 2015-02-04T02:29:57.000Z | 2021-10-12T19:25:09.000Z | src/test/test_configure_layer.py | nasa-gibs/onearth | 0798cabe2920e707694b771ae222f95e92091bf0 | [
"Apache-2.0"
] | 51 | 2015-02-12T13:30:20.000Z | 2021-09-24T01:35:08.000Z | #!/usr/bin/env python3
# Copyright (c) 2002-2016, California Institute of Technology.
# All rights reserved. Based on Government Sponsored Research under contracts NAS7-1407 and/or NAS7-03001.
#
# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the followin... | 54.527444 | 318 | 0.665172 | 8,161 | 63,579 | 4.961279 | 0.08075 | 0.036133 | 0.021487 | 0.03191 | 0.827089 | 0.804712 | 0.775989 | 0.757984 | 0.740201 | 0.719455 | 0 | 0.011495 | 0.229667 | 63,579 | 1,165 | 319 | 54.574249 | 0.815199 | 0.150663 | 0 | 0.657709 | 0 | 0.042433 | 0.280924 | 0.06778 | 0 | 0 | 0 | 0 | 0.076379 | 1 | 0.029703 | false | 0.002829 | 0.019802 | 0 | 0.050919 | 0.057992 | 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 |
9717f843c568fb9aae9da572222ee3aa61ee7fa2 | 142,018 | py | Python | rubiks-cube-NxNxN-solver/rubikscubennnsolver/RubiksCube666.py | sliu54/mathworks-hackday-2020 | cc033c437e9630f3d7f848853768bd3e793b370d | [
"BSD-2-Clause"
] | null | null | null | rubiks-cube-NxNxN-solver/rubikscubennnsolver/RubiksCube666.py | sliu54/mathworks-hackday-2020 | cc033c437e9630f3d7f848853768bd3e793b370d | [
"BSD-2-Clause"
] | null | null | null | rubiks-cube-NxNxN-solver/rubikscubennnsolver/RubiksCube666.py | sliu54/mathworks-hackday-2020 | cc033c437e9630f3d7f848853768bd3e793b370d | [
"BSD-2-Clause"
] | null | null | null | from rubikscubennnsolver.RubiksCubeNNNEvenEdges import RubiksCubeNNNEvenEdges
from rubikscubennnsolver.RubiksCube444 import RubiksCube444, solved_444
from rubikscubennnsolver.RubiksCube555 import RubiksCube555, solved_555
from rubikscubennnsolver.LookupTable import (
LookupTable,
LookupTableIDAViaC,
)
from rubi... | 101.441429 | 97,587 | 0.547656 | 27,407 | 142,018 | 2.803152 | 0.027402 | 0.004426 | 0.005701 | 0.006873 | 0.872179 | 0.692109 | 0.678807 | 0.669188 | 0.657199 | 0.652605 | 0 | 0.562267 | 0.254496 | 142,018 | 1,399 | 97,588 | 101.513939 | 0.163362 | 0.053606 | 0 | 0.416922 | 0 | 0.004077 | 0.024079 | 0.007965 | 0 | 0 | 0.000023 | 0 | 0 | 1 | 0.03262 | false | 0 | 0.007136 | 0.001019 | 0.074414 | 0.011213 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
971b39d2e712988457917a5fcf147bbd270cfd10 | 255 | py | Python | splitdata/create_train_test_split.py | opennlp/Large-Scale-Text-Classification | a803c8d89357e5ec897031a41dda807d91f00431 | [
"Apache-2.0"
] | 6 | 2019-08-22T17:53:46.000Z | 2021-10-03T22:31:55.000Z | splitdata/create_train_test_split.py | opennlp/Large-Scale-Text-Classification | a803c8d89357e5ec897031a41dda807d91f00431 | [
"Apache-2.0"
] | 5 | 2020-01-28T22:46:36.000Z | 2022-02-10T00:10:46.000Z | splitdata/create_train_test_split.py | opennlp/Large-Scale-Text-Classification | a803c8d89357e5ec897031a41dda807d91f00431 | [
"Apache-2.0"
] | 1 | 2019-10-31T01:52:58.000Z | 2019-10-31T01:52:58.000Z | from sklearn.model_selection import train_test_split
from constants import commonconstants
def get_train_test_data(train_data,class_labels):
return train_test_split(train_data, class_labels, test_size=commonconstants.TEST_FRACTION, random_state=42)
| 36.428571 | 111 | 0.866667 | 37 | 255 | 5.567568 | 0.567568 | 0.131068 | 0.135922 | 0.194175 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008547 | 0.082353 | 255 | 6 | 112 | 42.5 | 0.871795 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
9761396e8f39ee0a1c82d81be16e49e31576c406 | 70 | py | Python | qakgc/__init__.py | pbmstrk/odqa | b5917237d5162eae208382e5d25b0c8c47018681 | [
"BSD-3-Clause"
] | 4 | 2020-09-04T16:58:52.000Z | 2021-06-23T03:37:18.000Z | qakgc/__init__.py | pbmstrk/QAKGC | b5917237d5162eae208382e5d25b0c8c47018681 | [
"BSD-3-Clause"
] | 3 | 2020-07-07T23:45:21.000Z | 2020-07-09T11:49:23.000Z | qakgc/__init__.py | pbmstrk/odqa | b5917237d5162eae208382e5d25b0c8c47018681 | [
"BSD-3-Clause"
] | null | null | null | from . import tokenizers
from . import reader
from . import retriever
| 17.5 | 24 | 0.785714 | 9 | 70 | 6.111111 | 0.555556 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171429 | 70 | 3 | 25 | 23.333333 | 0.948276 | 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 |
976d44ca25c2f5a6fac6baf62501166930a4b2f4 | 174 | py | Python | Utils/misc.py | w452144816/Savior | f91871b61d1dd8424af7c7e42c60c1d0b981f79e | [
"BSD-2-Clause"
] | 1 | 2021-03-19T06:13:15.000Z | 2021-03-19T06:13:15.000Z | Utils/misc.py | w452144816/Savior | f91871b61d1dd8424af7c7e42c60c1d0b981f79e | [
"BSD-2-Clause"
] | null | null | null | Utils/misc.py | w452144816/Savior | f91871b61d1dd8424af7c7e42c60c1d0b981f79e | [
"BSD-2-Clause"
] | null | null | null | import datetime
import uuid
def get_date_string():
return datetime.date.today().strftime('%Y%m%d')
def get_uuid_name():
return str(uuid.uuid4()).replace('-', '')
| 15.818182 | 51 | 0.672414 | 25 | 174 | 4.52 | 0.68 | 0.106195 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006711 | 0.143678 | 174 | 10 | 52 | 17.4 | 0.751678 | 0 | 0 | 0 | 0 | 0 | 0.04023 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
97792100279f36f5d8c4dd904cb01b146ea4f3cb | 33 | py | Python | src/gimelstudio/corenodes/input/__init__.py | jmherbst/GimelStudio | c3d6718015a25129d43efdbead1babd9eea9e2ff | [
"Apache-2.0"
] | 1 | 2021-06-15T22:30:39.000Z | 2021-06-15T22:30:39.000Z | src/gimelstudio/corenodes/input/__init__.py | yasuomaidana/GimelStudio | f6d0a03ae7bf0cb640100dd0f281d6d286e16006 | [
"Apache-2.0"
] | null | null | null | src/gimelstudio/corenodes/input/__init__.py | yasuomaidana/GimelStudio | f6d0a03ae7bf0cb640100dd0f281d6d286e16006 | [
"Apache-2.0"
] | null | null | null | from .image_node import ImageNode | 33 | 33 | 0.878788 | 5 | 33 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 33 | 1 | 33 | 33 | 0.933333 | 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 |
977c40e0deb1f4f1b6a574cc4e485d08c33f5c55 | 27 | py | Python | testsuite/modulegraph-dir/toplevel_invalid_relative_import.py | xoviat/modulegraph2 | 766d00bdb40e5b2fe206b53a87b1bce3f9dc9c2a | [
"MIT"
] | 9 | 2020-03-22T14:48:01.000Z | 2021-05-30T12:18:12.000Z | testsuite/modulegraph-dir/toplevel_invalid_relative_import.py | xoviat/modulegraph2 | 766d00bdb40e5b2fe206b53a87b1bce3f9dc9c2a | [
"MIT"
] | 15 | 2020-01-06T10:02:32.000Z | 2021-05-28T12:22:44.000Z | testsuite/modulegraph-dir/toplevel_invalid_relative_import.py | ronaldoussoren/modulegraph2 | b6ab1766b0098651b51083235ff8a18a5639128b | [
"MIT"
] | 4 | 2020-05-10T18:51:41.000Z | 2021-04-07T14:03:12.000Z | from .relative import path
| 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 |
97818721c0a514645a5fb45da452666cf5dc38e6 | 126 | py | Python | models/__init__.py | flymin/Rectified-Rejection | 58bfd0ee159cbcbebdda2da068984e6edf8b61ec | [
"Apache-2.0"
] | null | null | null | models/__init__.py | flymin/Rectified-Rejection | 58bfd0ee159cbcbebdda2da068984e6edf8b61ec | [
"Apache-2.0"
] | null | null | null | models/__init__.py | flymin/Rectified-Rejection | 58bfd0ee159cbcbebdda2da068984e6edf8b61ec | [
"Apache-2.0"
] | null | null | null | from .preactresnet import *
from .wideresnet import *
from .densenet import *
from .mnist2layer import *
from .resnet import * | 25.2 | 27 | 0.769841 | 15 | 126 | 6.466667 | 0.466667 | 0.412371 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009346 | 0.150794 | 126 | 5 | 28 | 25.2 | 0.897196 | 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 |
8ae76ee78faf2d57a23ce8855703a8b2183b7eac | 39 | py | Python | deep_utils/blocks/__init__.py | dornasabet/deep_utils | be61b36ea5b3219831e9f2a364fbd4a63858abed | [
"MIT"
] | 36 | 2021-11-10T05:17:18.000Z | 2022-03-27T18:25:10.000Z | deep_utils/blocks/__init__.py | MenuaB/deep_utils | b1b936f4780ea7dc52224f53f5116288c5b0a804 | [
"MIT"
] | 15 | 2021-07-24T06:23:04.000Z | 2021-09-18T05:30:20.000Z | deep_utils/blocks/__init__.py | MenuaB/deep_utils | b1b936f4780ea7dc52224f53f5116288c5b0a804 | [
"MIT"
] | 4 | 2021-11-28T07:39:57.000Z | 2022-03-30T05:46:10.000Z | from .torch import *
from .tf import *
| 13 | 20 | 0.692308 | 6 | 39 | 4.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205128 | 39 | 2 | 21 | 19.5 | 0.870968 | 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 |
8af869e7098e76c39e81b785a1996a8093f393e0 | 150 | py | Python | tests/test_plugin.py | guzman-raphael/djpyplugin_adapted_graph | 6853de6e90e36a8d90cedb80b00ef1a711e90ee6 | [
"MIT"
] | null | null | null | tests/test_plugin.py | guzman-raphael/djpyplugin_adapted_graph | 6853de6e90e36a8d90cedb80b00ef1a711e90ee6 | [
"MIT"
] | null | null | null | tests/test_plugin.py | guzman-raphael/djpyplugin_adapted_graph | 6853de6e90e36a8d90cedb80b00ef1a711e90ee6 | [
"MIT"
] | null | null | null | from datajoint.plugin import discovered_plugins
def test_check_plugin_status():
assert(discovered_plugins['raphael_adapted_graph']['verified'])
| 25 | 67 | 0.82 | 18 | 150 | 6.444444 | 0.833333 | 0.293103 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086667 | 150 | 5 | 68 | 30 | 0.846715 | 0 | 0 | 0 | 0 | 0 | 0.193333 | 0.14 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
c184fbcd42732ce50d99152d3388806e65661510 | 120 | py | Python | starter_code/Config.py | AR-Elbers/python-api-challenge | 42919c1f61e4ee3da342920974a630f22d7bac19 | [
"ADSL"
] | null | null | null | starter_code/Config.py | AR-Elbers/python-api-challenge | 42919c1f61e4ee3da342920974a630f22d7bac19 | [
"ADSL"
] | null | null | null | starter_code/Config.py | AR-Elbers/python-api-challenge | 42919c1f61e4ee3da342920974a630f22d7bac19 | [
"ADSL"
] | null | null | null | # OpenWeatherMap API Key
api_key_owm= "b80fd2ed7964ad60c921362b393b0613"
# Google API Key
api_key_g = "YOUR KEY HERE!"
| 20 | 47 | 0.791667 | 16 | 120 | 5.6875 | 0.5625 | 0.263736 | 0.197802 | 0.263736 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.211538 | 0.133333 | 120 | 5 | 48 | 24 | 0.663462 | 0.308333 | 0 | 0 | 0 | 0 | 0.575 | 0.4 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c1fa2f5fb72e75839d93a57f94b34f7d1eb9bd76 | 111 | py | Python | flask_sqla2api/__init__.py | fossabot/flask-sqla2api | 7f4bbac54476a21b7438dee0c7489f3dad331643 | [
"BSD-3-Clause"
] | null | null | null | flask_sqla2api/__init__.py | fossabot/flask-sqla2api | 7f4bbac54476a21b7438dee0c7489f3dad331643 | [
"BSD-3-Clause"
] | null | null | null | flask_sqla2api/__init__.py | fossabot/flask-sqla2api | 7f4bbac54476a21b7438dee0c7489f3dad331643 | [
"BSD-3-Clause"
] | null | null | null | from .sqla2api import SQLA2api, generate_blueprint
__all__ = [SQLA2api.__name__, generate_blueprint.__name__]
| 27.75 | 58 | 0.837838 | 12 | 111 | 6.583333 | 0.583333 | 0.43038 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029703 | 0.09009 | 111 | 3 | 59 | 37 | 0.752475 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 1 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
de14ca039d71e052f6d1d1ca6ae455ba94bc63a0 | 20 | py | Python | python-eggs/simpleeggs/__init__.py | diegopacheco/python-playground | 8e6ba427df6922fb578c2328babbf3466687ccbf | [
"Unlicense"
] | null | null | null | python-eggs/simpleeggs/__init__.py | diegopacheco/python-playground | 8e6ba427df6922fb578c2328babbf3466687ccbf | [
"Unlicense"
] | null | null | null | python-eggs/simpleeggs/__init__.py | diegopacheco/python-playground | 8e6ba427df6922fb578c2328babbf3466687ccbf | [
"Unlicense"
] | null | null | null | from . import emath
| 10 | 19 | 0.75 | 3 | 20 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 20 | 1 | 20 | 20 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a9dd1598e1cf591f3e72667a023d7f1079ab2d66 | 156 | py | Python | skit_pipelines/api/models/errors.py | skit-ai/skit-pipelines | d692582107aee81b1bb4aebcf169f7260ac956b5 | [
"MIT"
] | null | null | null | skit_pipelines/api/models/errors.py | skit-ai/skit-pipelines | d692582107aee81b1bb4aebcf169f7260ac956b5 | [
"MIT"
] | 4 | 2022-03-22T14:17:46.000Z | 2022-03-24T16:22:23.000Z | skit_pipelines/api/models/errors.py | skit-ai/skit-pipelines | d692582107aee81b1bb4aebcf169f7260ac956b5 | [
"MIT"
] | null | null | null | from kfp_server_api import ApiException
def kfp_api_error(reason: str, status=503) -> ApiException:
return ApiException(status=status, reason=reason)
| 26 | 59 | 0.794872 | 21 | 156 | 5.714286 | 0.619048 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021898 | 0.121795 | 156 | 5 | 60 | 31.2 | 0.854015 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
a9fd360ff13b5df83de1545e84a91cc0d9e2a0e4 | 5,842 | py | Python | endtoend_tests/forseti/explain/list_permissions_test.py | aarontp/forseti-security | 6d03c14114468ff6170846392b7d14a0619fa9f0 | [
"Apache-2.0"
] | 921 | 2017-03-09T01:01:24.000Z | 2019-04-16T11:38:25.000Z | endtoend_tests/forseti/explain/list_permissions_test.py | aarontp/forseti-security | 6d03c14114468ff6170846392b7d14a0619fa9f0 | [
"Apache-2.0"
] | 1,996 | 2017-03-03T22:07:50.000Z | 2019-04-17T00:02:28.000Z | endtoend_tests/forseti/explain/list_permissions_test.py | aarontp/forseti-security | 6d03c14114468ff6170846392b7d14a0619fa9f0 | [
"Apache-2.0"
] | 241 | 2017-03-09T01:00:04.000Z | 2019-04-15T18:53:35.000Z | # Copyright 2020 The Forseti Security Authors. All rights reserved.
#
# 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 ap... | 46.365079 | 86 | 0.678535 | 727 | 5,842 | 5.350757 | 0.188446 | 0.087918 | 0.14653 | 0.188946 | 0.760668 | 0.760668 | 0.760668 | 0.760668 | 0.751928 | 0.35964 | 0 | 0.003043 | 0.212427 | 5,842 | 125 | 87 | 46.736 | 0.842426 | 0.227662 | 0 | 0.347826 | 0 | 0 | 0.233264 | 0.152749 | 0 | 0 | 0 | 0 | 0.550725 | 1 | 0.043478 | false | 0 | 0.043478 | 0 | 0.101449 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e721d049eea5e823c33997f8bd1bd2dfbe981ab6 | 148 | py | Python | tests/test_utils.py | sloria/pypi-cli | beb007bf2bdd285209876ce2758982b5d8b54d5d | [
"MIT"
] | 78 | 2015-01-14T21:02:48.000Z | 2021-08-12T16:55:25.000Z | tests/test_utils.py | alex/pypi-cli | ec083c003b231d806c1eb4c81d117547eaee7390 | [
"MIT"
] | 8 | 2015-08-25T13:28:03.000Z | 2018-04-18T12:33:54.000Z | tests/test_utils.py | alex/pypi-cli | ec083c003b231d806c1eb4c81d117547eaee7390 | [
"MIT"
] | 16 | 2015-01-17T06:40:57.000Z | 2021-09-03T21:56:25.000Z | # -*- coding: utf-8 -*-
import pypi_cli as pypi
def test_no_division_by_zero_in_bargraph():
assert pypi.TICK not in pypi.bargraph({'foo': 0})
| 21.142857 | 53 | 0.702703 | 25 | 148 | 3.88 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016 | 0.155405 | 148 | 6 | 54 | 24.666667 | 0.76 | 0.141892 | 0 | 0 | 0 | 0 | 0.024 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e7698f807992b136758d1518ea58e8b82a0d2d55 | 152 | py | Python | Initial_Terror/views.py | nikhilgupta14/Terror | 67e9335c0a05272c2758e0807fc98301693d329b | [
"MIT"
] | 2 | 2021-01-27T07:24:37.000Z | 2021-01-27T08:35:53.000Z | Initial_Terror/views.py | nikhilgupta14/Terror | 67e9335c0a05272c2758e0807fc98301693d329b | [
"MIT"
] | null | null | null | Initial_Terror/views.py | nikhilgupta14/Terror | 67e9335c0a05272c2758e0807fc98301693d329b | [
"MIT"
] | null | null | null | from django.shortcuts import render, redirect
# Create your views here.
def home(request):
return render(request, "Initial_Terror/terror.html")
| 16.888889 | 56 | 0.756579 | 20 | 152 | 5.7 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151316 | 152 | 8 | 57 | 19 | 0.883721 | 0.151316 | 0 | 0 | 0 | 0 | 0.206349 | 0.206349 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
e779e6132d2c248a0450d85ccf69f3ea516839c0 | 7,261 | py | Python | label/tests.py | wichmannpas/todoscheduler | e78f90cf96c4080d9c9a9b52b6fe23ca680202a0 | [
"Apache-2.0"
] | 1 | 2018-10-30T09:43:47.000Z | 2018-10-30T09:43:47.000Z | label/tests.py | wichmannpas/todoscheduler | e78f90cf96c4080d9c9a9b52b6fe23ca680202a0 | [
"Apache-2.0"
] | 144 | 2017-11-11T22:04:19.000Z | 2021-05-20T19:24:18.000Z | label/tests.py | wichmannpas/todoscheduler | e78f90cf96c4080d9c9a9b52b6fe23ca680202a0 | [
"Apache-2.0"
] | 1 | 2018-01-28T14:33:13.000Z | 2018-01-28T14:33:13.000Z | from django.contrib.auth import get_user_model
from django.test import TestCase
from rest_framework import status
from base.tests import AuthenticatedApiTest
from .models import Label
class LabelTest(TestCase):
def setUp(self):
self.user1 = get_user_model().objects.create(
username='johndoe',... | 28.252918 | 71 | 0.504751 | 668 | 7,261 | 5.362275 | 0.142216 | 0.138191 | 0.117253 | 0.076773 | 0.817979 | 0.80067 | 0.759911 | 0.741485 | 0.679229 | 0.679229 | 0 | 0.026439 | 0.380113 | 7,261 | 256 | 72 | 28.363281 | 0.769385 | 0.022724 | 0 | 0.78733 | 0 | 0 | 0.143245 | 0 | 0 | 0 | 0 | 0 | 0.171946 | 1 | 0.040724 | false | 0 | 0.022624 | 0 | 0.072398 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e7952704acdf53c24f97b2f8a2634f483552835f | 26 | py | Python | build/lib/MIDASpy/__init__.py | ihameed11/MIDASpy | 7c5e6234f156b50b6043d524a393b463dd8044b8 | [
"Apache-2.0"
] | 117 | 2018-01-11T01:51:28.000Z | 2020-09-19T02:00:16.000Z | build/lib/MIDASpy/__init__.py | ihameed11/MIDASpy | 7c5e6234f156b50b6043d524a393b463dd8044b8 | [
"Apache-2.0"
] | 18 | 2020-09-29T10:58:31.000Z | 2022-03-26T13:47:50.000Z | build/lib/MIDASpy/__init__.py | ihameed11/MIDASpy | 7c5e6234f156b50b6043d524a393b463dd8044b8 | [
"Apache-2.0"
] | 31 | 2018-01-11T04:33:20.000Z | 2020-10-09T04:20:50.000Z | from .midas_base import *
| 13 | 25 | 0.769231 | 4 | 26 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.863636 | 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 |
e7ac03ee2cb21de42426cf224b8d3f077e22e433 | 88 | py | Python | fossology/__init__.py | avneetkalsi/py-fossology | 1d3df2c128e20cc3cd442ef103dedcf2e961686f | [
"MIT"
] | 5 | 2019-11-18T08:38:00.000Z | 2020-12-24T00:21:20.000Z | fossology/__init__.py | avneetkalsi/py-fossology | 1d3df2c128e20cc3cd442ef103dedcf2e961686f | [
"MIT"
] | 7 | 2019-05-05T06:57:39.000Z | 2019-10-13T17:25:40.000Z | fossology/__init__.py | kalsi-avneet/py-fossology | 1d3df2c128e20cc3cd442ef103dedcf2e961686f | [
"MIT"
] | null | null | null | from .api import Fossology
from .api import Upload
__all__ = ['uploads', 'exceptions']
| 17.6 | 35 | 0.738636 | 11 | 88 | 5.545455 | 0.727273 | 0.229508 | 0.42623 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147727 | 88 | 4 | 36 | 22 | 0.813333 | 0 | 0 | 0 | 0 | 0 | 0.193182 | 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 |
e7b71e498a79a7ec77c9c5c5ecc57a969d333e94 | 86 | py | Python | eispac/instr/__init__.py | MJWeberg/eispac | 8de2b282fc08da9ac66d48c396060aab6e17be70 | [
"MIT"
] | 11 | 2021-02-18T00:24:22.000Z | 2022-01-30T06:48:06.000Z | eispac/instr/__init__.py | MJWeberg/eispac | 8de2b282fc08da9ac66d48c396060aab6e17be70 | [
"MIT"
] | 23 | 2021-04-09T16:34:26.000Z | 2021-11-09T16:55:29.000Z | eispac/instr/__init__.py | MJWeberg/eispac | 8de2b282fc08da9ac66d48c396060aab6e17be70 | [
"MIT"
] | 5 | 2021-04-09T16:47:27.000Z | 2021-11-04T15:45:29.000Z | from .calc_read_noise import *
from .calc_velocity import *
from .ccd_offset import *
| 21.5 | 30 | 0.790698 | 13 | 86 | 4.923077 | 0.615385 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139535 | 86 | 3 | 31 | 28.666667 | 0.864865 | 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 |
821c971218427faf5d734273c52c3d91844d5392 | 93 | py | Python | src/pycpp_build/scripts/main.py | jl-wynen/pycpp_build | b434a21014faac413e4cc7cb2c5b6044ca511670 | [
"MIT"
] | null | null | null | src/pycpp_build/scripts/main.py | jl-wynen/pycpp_build | b434a21014faac413e4cc7cb2c5b6044ca511670 | [
"MIT"
] | null | null | null | src/pycpp_build/scripts/main.py | jl-wynen/pycpp_build | b434a21014faac413e4cc7cb2c5b6044ca511670 | [
"MIT"
] | null | null | null | from .. import add, say_hei
def main():
say_hei()
print(f"add(1, 2) = {add(1, 2)}")
| 15.5 | 37 | 0.537634 | 17 | 93 | 2.823529 | 0.647059 | 0.25 | 0.208333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056338 | 0.236559 | 93 | 5 | 38 | 18.6 | 0.619718 | 0 | 0 | 0 | 0 | 0 | 0.247312 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0 | 0.5 | 0.25 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
412fba7d1968a23bf64cc79efd75344f423a749e | 217 | py | Python | mongo_flask/errors/__init__.py | juanmanuel96/mongo-flask | 9b50e1f41600c59fa8e29832044ec016d00eab56 | [
"BSD-2-Clause"
] | 1 | 2020-06-08T05:27:27.000Z | 2020-06-08T05:27:27.000Z | mongo_flask/errors/__init__.py | juanmanuel96/mongo-flask | 9b50e1f41600c59fa8e29832044ec016d00eab56 | [
"BSD-2-Clause"
] | 27 | 2021-05-20T02:07:59.000Z | 2022-03-22T06:02:10.000Z | mongo_flask/errors/__init__.py | juanmanuel96/mongo-flask | 9b50e1f41600c59fa8e29832044ec016d00eab56 | [
"BSD-2-Clause"
] | null | null | null | from .exceptions import PyVersionInvalid, URIMissing, DatabaseException, CollectionException, CollectionInvalid, \
ValidationError, ValidatorsException, MissingFieldsException, InvalidClass, RegistrationException
| 72.333333 | 114 | 0.866359 | 13 | 217 | 14.461538 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082949 | 217 | 2 | 115 | 108.5 | 0.944724 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
ec066f1bba0d8d4eaf2cbe274f0aa3ef6f0ea96f | 38,783 | py | Python | intvalpy/RealInterval.py | AndrosovAS/intvalpy | 0e809d7de44b037fa6162a5bd5b1e0f984d1fc55 | [
"MIT"
] | 4 | 2021-05-31T07:45:19.000Z | 2022-01-27T08:36:22.000Z | intvalpy/RealInterval.py | AndrosovAS/intvalpy | 0e809d7de44b037fa6162a5bd5b1e0f984d1fc55 | [
"MIT"
] | 8 | 2021-08-18T14:07:42.000Z | 2022-03-23T12:12:17.000Z | intvalpy/RealInterval.py | AndrosovAS/intvalpy | 0e809d7de44b037fa6162a5bd5b1e0f984d1fc55 | [
"MIT"
] | 2 | 2021-02-12T06:02:05.000Z | 2022-01-28T17:40:26.000Z | import numbers
import numpy as np
import itertools
# from mpmath import *
from mpmath import mp, mpf, matrix
import sys
class precision:
increasedPrecisionQ = True
mp.dps = 32
def dps(_dps):
mp.dps = _dps
class BaseTools:
@property
def a(self):
"""Возвращает левый конец интерв... | 41.258511 | 187 | 0.578552 | 4,631 | 38,783 | 4.604837 | 0.06694 | 0.040563 | 0.014068 | 0.016882 | 0.832356 | 0.812708 | 0.763517 | 0.733693 | 0.702462 | 0.692474 | 0 | 0.011557 | 0.290514 | 38,783 | 939 | 188 | 41.302449 | 0.763447 | 0.046077 | 0 | 0.664306 | 0 | 0 | 0.047671 | 0 | 0.001416 | 0 | 0 | 0 | 0.001416 | 1 | 0.111898 | false | 0 | 0.007082 | 0.028329 | 0.303116 | 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 |
ec0fd4177914166b41260c7578623d00aaa19ef3 | 33 | py | Python | ctrlengine/controllers/__init__.py | 0xJeremy/ctrl.engine | 19abba70df149a05edc5722cc95ceacc538448e6 | [
"MIT"
] | 3 | 2020-04-18T19:28:15.000Z | 2021-02-25T18:48:08.000Z | ctrlengine/controllers/__init__.py | 0xJeremy/ctrl.engine | 19abba70df149a05edc5722cc95ceacc538448e6 | [
"MIT"
] | null | null | null | ctrlengine/controllers/__init__.py | 0xJeremy/ctrl.engine | 19abba70df149a05edc5722cc95ceacc538448e6 | [
"MIT"
] | null | null | null | from .pid import PID_ctrl as PID
| 16.5 | 32 | 0.787879 | 7 | 33 | 3.571429 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 33 | 1 | 33 | 33 | 0.925926 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ec12c0a6b3f280b1f860ecea2a450d9a1e02807e | 42 | py | Python | __main__.py | BuildForSDG/team-224-BE | e42927fcde9e789365ee32e9198e93bde5258c3f | [
"MIT"
] | null | null | null | __main__.py | BuildForSDG/team-224-BE | e42927fcde9e789365ee32e9198e93bde5258c3f | [
"MIT"
] | 10 | 2020-05-24T23:44:44.000Z | 2021-09-22T19:04:56.000Z | __main__.py | BuildForSDG/AgroLink-api | e42927fcde9e789365ee32e9198e93bde5258c3f | [
"MIT"
] | 1 | 2020-05-01T22:06:16.000Z | 2020-05-01T22:06:16.000Z | from src.agrolink.wsgi import application
| 21 | 41 | 0.857143 | 6 | 42 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 42 | 1 | 42 | 42 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ec337838de3192973ae27a3cd9c655839241fb63 | 237 | py | Python | agri_med_backend/http_handlers/submit_handler.py | chhsiao1981/agri_med_backend | ec667d8713a6d2de5f1e158d7eeff4d02514aba7 | [
"MIT"
] | null | null | null | agri_med_backend/http_handlers/submit_handler.py | chhsiao1981/agri_med_backend | ec667d8713a6d2de5f1e158d7eeff4d02514aba7 | [
"MIT"
] | null | null | null | agri_med_backend/http_handlers/submit_handler.py | chhsiao1981/agri_med_backend | ec667d8713a6d2de5f1e158d7eeff4d02514aba7 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import ujson as json
import pandas as pd
import numpy as np
import re
from agri_med_backend.constants import *
from agri_med_backend import cfg
from agri_med_backend import util
def submit_handler():
pass
| 15.8 | 40 | 0.763713 | 39 | 237 | 4.461538 | 0.589744 | 0.137931 | 0.189655 | 0.310345 | 0.275862 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005128 | 0.177215 | 237 | 14 | 41 | 16.928571 | 0.887179 | 0.088608 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | true | 0.111111 | 0.777778 | 0 | 0.888889 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
6b7f2edf5a5b312461066683615e6df90ec1c937 | 38 | py | Python | ClienteWSDL/Ambiente/lib/python3.6/site-packages/client.py | argotty2010/ClienteWSDL | d4fd4b46e4905c4c1406c3c0d590adf269c38ef3 | [
"RSA-MD"
] | null | null | null | ClienteWSDL/Ambiente/lib/python3.6/site-packages/client.py | argotty2010/ClienteWSDL | d4fd4b46e4905c4c1406c3c0d590adf269c38ef3 | [
"RSA-MD"
] | 1 | 2020-02-28T02:08:25.000Z | 2020-02-28T02:08:25.000Z | ClienteWSDL/Ambiente/lib/python3.6/site-packages/client.py | argotty2010/ClienteWSDL | d4fd4b46e4905c4c1406c3c0d590adf269c38ef3 | [
"RSA-MD"
] | null | null | null |
def cli():
print('Hello client')
| 9.5 | 25 | 0.578947 | 5 | 38 | 4.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.236842 | 38 | 3 | 26 | 12.666667 | 0.758621 | 0 | 0 | 0 | 0 | 0 | 0.324324 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
6b965d75345276b449328589fd7c19cd62a40cd6 | 7,800 | py | Python | app/social.py | mjogodnik22/mini-amazon | cc7caf9366b862e43271305d1b2d27bb6c08260d | [
"MIT"
] | null | null | null | app/social.py | mjogodnik22/mini-amazon | cc7caf9366b862e43271305d1b2d27bb6c08260d | [
"MIT"
] | null | null | null | app/social.py | mjogodnik22/mini-amazon | cc7caf9366b862e43271305d1b2d27bb6c08260d | [
"MIT"
] | null | null | null | from flask import render_template, redirect, url_for, flash, request
from werkzeug.urls import url_parse
from flask_login import current_user
from flask_wtf import FlaskForm
from wtforms import IntegerField, SubmitField, StringField, SelectField
from wtforms.validators import ValidationError, DataRequired
from flask_ba... | 39.19598 | 128 | 0.641923 | 936 | 7,800 | 5.179487 | 0.150641 | 0.031766 | 0.026815 | 0.028878 | 0.76547 | 0.76547 | 0.754951 | 0.743812 | 0.743812 | 0.743812 | 0 | 0.017634 | 0.251154 | 7,800 | 199 | 129 | 39.19598 | 0.812361 | 0 | 0 | 0.782609 | 0 | 0 | 0.087297 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.01087 | false | 0 | 0.092391 | 0 | 0.244565 | 0.021739 | 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 |
6baf76b94bb1ec3a0fdbb61cc925e2944b2b4da5 | 5,870 | py | Python | catalogue/models.py | lh00257/superharris | cc8794ac6a63fa157ed6d0ef75f5089253ff987d | [
"MIT"
] | null | null | null | catalogue/models.py | lh00257/superharris | cc8794ac6a63fa157ed6d0ef75f5089253ff987d | [
"MIT"
] | null | null | null | catalogue/models.py | lh00257/superharris | cc8794ac6a63fa157ed6d0ef75f5089253ff987d | [
"MIT"
] | null | null | null | #-*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models
from django.contrib.auth.models import User
# Create your models here.
UNIT_LENGTH = 32
class GlobularCluster(models.Model):
cluster_id = models.CharField(max_length=64)
def __str__(self):
return self.cluste... | 46.587302 | 96 | 0.636968 | 718 | 5,870 | 5.076602 | 0.204735 | 0.109739 | 0.167627 | 0.219204 | 0.769822 | 0.762689 | 0.762689 | 0.745405 | 0.727846 | 0.670233 | 0 | 0.005607 | 0.240375 | 5,870 | 125 | 97 | 46.96 | 0.811841 | 0.020102 | 0 | 0.40404 | 0 | 0 | 0.167102 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.040404 | false | 0 | 0.030303 | 0.010101 | 0.757576 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 |
d42a169e83b95d3f8fbdc1ce44011025ead70878 | 29 | py | Python | __init__.py | lishenluo/DTUtils | 88d5429d4d3f9e16fa122297385d27e3a5e95dc5 | [
"Apache-2.0"
] | 2 | 2019-11-20T01:06:55.000Z | 2020-04-10T01:07:55.000Z | __init__.py | lishenluo/DTUtils | 88d5429d4d3f9e16fa122297385d27e3a5e95dc5 | [
"Apache-2.0"
] | null | null | null | __init__.py | lishenluo/DTUtils | 88d5429d4d3f9e16fa122297385d27e3a5e95dc5 | [
"Apache-2.0"
] | 1 | 2021-07-28T13:38:36.000Z | 2021-07-28T13:38:36.000Z | from dtutils.dtutils import * | 29 | 29 | 0.827586 | 4 | 29 | 6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 29 | 1 | 29 | 29 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d438659982e373575341dcce2252333d227f0c52 | 5,076 | py | Python | app/swagger_server/controllers/graphql_controller.py | DrSnowbird/uco-exchange-server-docker | 240fb883ee371bb634559917147a75b23bc94cc2 | [
"Apache-2.0"
] | null | null | null | app/swagger_server/controllers/graphql_controller.py | DrSnowbird/uco-exchange-server-docker | 240fb883ee371bb634559917147a75b23bc94cc2 | [
"Apache-2.0"
] | null | null | null | app/swagger_server/controllers/graphql_controller.py | DrSnowbird/uco-exchange-server-docker | 240fb883ee371bb634559917147a75b23bc94cc2 | [
"Apache-2.0"
] | null | null | null | import connexion
import six
from swagger_server.models.access_token import AccessToken # noqa: E501
from swagger_server.models.errors import Errors # noqa: E501
from swagger_server.models.graph_list_type import GraphListType # noqa: E501
from swagger_server import util
def graphql(access_token, user_id, body=None... | 57.033708 | 420 | 0.74015 | 773 | 5,076 | 4.743855 | 0.156533 | 0.049086 | 0.02727 | 0.038178 | 0.820016 | 0.807199 | 0.779111 | 0.76793 | 0.76793 | 0.76793 | 0 | 0.019716 | 0.180654 | 5,076 | 88 | 421 | 57.681818 | 0.861986 | 0.681048 | 0 | 0.576923 | 0 | 0 | 0.029661 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.115385 | false | 0 | 0.230769 | 0 | 0.461538 | 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 |
d44c3899d38f3c8f2462f15a0b5cdcfe63d53c72 | 194 | py | Python | app/view/window/controller/__init__.py | LVGDDesman/PanasonicControll | 7bf759a075e61eba4a3337788e39be57d067dfb1 | [
"Apache-2.0"
] | 1 | 2021-10-03T21:23:08.000Z | 2021-10-03T21:23:08.000Z | app/view/window/controller/__init__.py | LVGDDesman/PanasonicControl | 7bf759a075e61eba4a3337788e39be57d067dfb1 | [
"Apache-2.0"
] | null | null | null | app/view/window/controller/__init__.py | LVGDDesman/PanasonicControl | 7bf759a075e61eba4a3337788e39be57d067dfb1 | [
"Apache-2.0"
] | null | null | null | from .Window import Window
from .MainWindow import MainWindow
from view.window.controller.Widgets.Widget import Widget
from view.window.controller.Widgets.StatusBarWidget import StatusBarWidget
| 38.8 | 74 | 0.865979 | 24 | 194 | 7 | 0.375 | 0.095238 | 0.166667 | 0.285714 | 0.369048 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082474 | 194 | 4 | 75 | 48.5 | 0.94382 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d4626fb654f21730fce2287daae9f8213b190c4c | 9,013 | py | Python | orderbook/order_book.py | jdelrue/digital_me | e5c92c405c0cea419ce18d25863f35d1bfe5a428 | [
"Apache-2.0"
] | null | null | null | orderbook/order_book.py | jdelrue/digital_me | e5c92c405c0cea419ce18d25863f35d1bfe5a428 | [
"Apache-2.0"
] | 72 | 2018-08-01T06:13:46.000Z | 2019-02-01T15:50:20.000Z | orderbook/order_book.py | jdelrue/digital_me | e5c92c405c0cea419ce18d25863f35d1bfe5a428 | [
"Apache-2.0"
] | 2 | 2018-08-05T08:09:13.000Z | 2018-11-21T13:11:28.000Z | from jumpscale import j
from orderbook.lib.orderbook import OrderBook
from orderbook.lib.matcher import Matcher
from orderbook.lib.trader import Trader
JSBASE = j.application.jsbase_get_class()
class order_book(JSBASE):
"""
This class functions are actually registered in
"""
def __init__(self):
... | 29.262987 | 177 | 0.576833 | 1,032 | 9,013 | 4.853682 | 0.101744 | 0.070074 | 0.057497 | 0.076662 | 0.817528 | 0.802156 | 0.7776 | 0.74446 | 0.669395 | 0.623877 | 0 | 0.002949 | 0.322756 | 9,013 | 307 | 178 | 29.358306 | 0.817661 | 0.368024 | 0 | 0.289474 | 0 | 0 | 0.01397 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.210526 | false | 0 | 0.052632 | 0 | 0.473684 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2e013d2c81164ca8418e3744cdfa6ebb0b0c1928 | 6,976 | gyp | Python | build/libwebp.gyp | Acidburn0zzz/mod_pagespeed | f6b35b985c3ba7b7794dd81b324585c86a231839 | [
"Apache-2.0"
] | null | null | null | build/libwebp.gyp | Acidburn0zzz/mod_pagespeed | f6b35b985c3ba7b7794dd81b324585c86a231839 | [
"Apache-2.0"
] | null | null | null | build/libwebp.gyp | Acidburn0zzz/mod_pagespeed | f6b35b985c3ba7b7794dd81b324585c86a231839 | [
"Apache-2.0"
] | null | null | null | # Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'targets': [
{
'target_name': 'libwebp_dec',
'type': 'static_library',
'dependencies' : [
'libwebp_dsp',
'libwe... | 36.52356 | 101 | 0.562213 | 806 | 6,976 | 4.66129 | 0.171216 | 0.183657 | 0.275486 | 0.404046 | 0.751397 | 0.719723 | 0.691509 | 0.41629 | 0.15012 | 0.127762 | 0 | 0.005852 | 0.240682 | 6,976 | 190 | 102 | 36.715789 | 0.703417 | 0.080849 | 0 | 0.323699 | 0 | 0 | 0.67016 | 0.518768 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2e12a63c143a6ea93e178d6f570ed76f19c32e03 | 22 | py | Python | .history/tracker/cashman-flask-project/cashman/model/transaction_20201124195948.py | KustomApe/nerdape | aef6fb2d1f8c364b26d91bf8570b4487a24de69a | [
"MIT"
] | null | null | null | .history/tracker/cashman-flask-project/cashman/model/transaction_20201124195948.py | KustomApe/nerdape | aef6fb2d1f8c364b26d91bf8570b4487a24de69a | [
"MIT"
] | null | null | null | .history/tracker/cashman-flask-project/cashman/model/transaction_20201124195948.py | KustomApe/nerdape | aef6fb2d1f8c364b26d91bf8570b4487a24de69a | [
"MIT"
] | null | null | null | import datetime as dt
| 11 | 21 | 0.818182 | 4 | 22 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2e1ae5523e1a194f06c972473a753d84dae249ff | 219 | py | Python | challenges/utils_challenge/utils/math_utils.py | RussellJQA/autobots-fastapi-class | 4ded3f401dbae00204bbd98c5f1c8b90428bf367 | [
"MIT"
] | 1 | 2021-08-06T03:12:39.000Z | 2021-08-06T03:12:39.000Z | challenges/utils_challenge/utils/math_utils.py | RussellJQA/autobots-fastapi-class | 4ded3f401dbae00204bbd98c5f1c8b90428bf367 | [
"MIT"
] | null | null | null | challenges/utils_challenge/utils/math_utils.py | RussellJQA/autobots-fastapi-class | 4ded3f401dbae00204bbd98c5f1c8b90428bf367 | [
"MIT"
] | null | null | null | def add(number_one, number_two):
return number_one + number_two
def multiply(number_one, number_two):
return number_one * number_two
if __name__ == "__main__":
print(add(3, 4))
print(multiply(5, 5))
| 18.25 | 37 | 0.694064 | 33 | 219 | 4.121212 | 0.424242 | 0.264706 | 0.441176 | 0.529412 | 0.617647 | 0.617647 | 0.617647 | 0.617647 | 0.617647 | 0 | 0 | 0.022599 | 0.191781 | 219 | 11 | 38 | 19.909091 | 0.745763 | 0 | 0 | 0 | 0 | 0 | 0.03653 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.285714 | 0.571429 | 0.285714 | 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 |
2e2795502f91349a6af15b4b9c95781458cb8ea7 | 297 | py | Python | python-client/openapi_client/api/__init__.py | andrewpsp/dfcpub | c7ea1c33845adf663cfa421bd7572afc76b48641 | [
"MIT"
] | null | null | null | python-client/openapi_client/api/__init__.py | andrewpsp/dfcpub | c7ea1c33845adf663cfa421bd7572afc76b48641 | [
"MIT"
] | null | null | null | python-client/openapi_client/api/__init__.py | andrewpsp/dfcpub | c7ea1c33845adf663cfa421bd7572afc76b48641 | [
"MIT"
] | 1 | 2020-07-03T00:35:21.000Z | 2020-07-03T00:35:21.000Z | from __future__ import absolute_import
# flake8: noqa
# import apis into api package
from openapi_client.api.bucket_api import BucketApi
from openapi_client.api.cluster_api import ClusterApi
from openapi_client.api.daemon_api import DaemonApi
from openapi_client.api.object_api import ObjectApi
| 29.7 | 53 | 0.858586 | 44 | 297 | 5.5 | 0.454545 | 0.181818 | 0.280992 | 0.330579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003759 | 0.104377 | 297 | 9 | 54 | 33 | 0.906015 | 0.138047 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2e6b69adde83f1179e2ceee06445f02451c59a31 | 27 | py | Python | __init__.py | AgentMaker/Paddle-NEAT | 27bd19717e35661ace6998a37d7b746ee73b586d | [
"MIT"
] | 17 | 2021-03-10T01:12:50.000Z | 2021-05-19T09:19:18.000Z | __init__.py | AgentMaker/Paddle-NEAT | 27bd19717e35661ace6998a37d7b746ee73b586d | [
"MIT"
] | null | null | null | __init__.py | AgentMaker/Paddle-NEAT | 27bd19717e35661ace6998a37d7b746ee73b586d | [
"MIT"
] | null | null | null | from .paddle_neat import *
| 13.5 | 26 | 0.777778 | 4 | 27 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.869565 | 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 |
cf4670beafae20e9a57e8263cafcf5e1df894429 | 605 | py | Python | MoleculeACE/benchmark/data_processing/__init__.py | molML/MoleculeACE | e831d2371a9b89f4853a03d5c04cc4bf59f64ee0 | [
"MIT"
] | 9 | 2022-03-26T17:36:03.000Z | 2022-03-29T19:50:26.000Z | MoleculeACE/benchmark/data_processing/__init__.py | molML/MoleculeACE | e831d2371a9b89f4853a03d5c04cc4bf59f64ee0 | [
"MIT"
] | null | null | null | MoleculeACE/benchmark/data_processing/__init__.py | molML/MoleculeACE | e831d2371a9b89f4853a03d5c04cc4bf59f64ee0 | [
"MIT"
] | null | null | null | from MoleculeACE.benchmark.data_processing.data import Data
from MoleculeACE.benchmark.data_processing.preprocessing import prep_data, split_data, encode_smiles, augment, drug_like_descriptor, whim_descriptor, \
smiles_to_onehot, smiles_to_morgan2, smiles_to_rdkit, \
smiles_to_atom_pair, smiles_to_topological_t... | 75.625 | 151 | 0.871074 | 85 | 605 | 5.717647 | 0.364706 | 0.18107 | 0.197531 | 0.230453 | 0.329218 | 0.17284 | 0 | 0 | 0 | 0 | 0 | 0.001792 | 0.077686 | 605 | 7 | 152 | 86.428571 | 0.869176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.571429 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.