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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2a4581690bd155c49ec23693fb406bfe8ed55903 | 246 | py | Python | config.py | LawrenceDuan/Important-Twitter | 57cfb8a4015163b81a8fac2fcb9d827a9869bd00 | [
"MIT"
] | null | null | null | config.py | LawrenceDuan/Important-Twitter | 57cfb8a4015163b81a8fac2fcb9d827a9869bd00 | [
"MIT"
] | null | null | null | config.py | LawrenceDuan/Important-Twitter | 57cfb8a4015163b81a8fac2fcb9d827a9869bd00 | [
"MIT"
] | null | null | null | consumer_key = 'NYICJJWGEHWjLzf16L4bdOmBp'
consumer_secret = 'AT8vDFvB6IkjLM5Ckz9DC5yQ0nsqut8vwGYOpnXPMFIESsHKG5'
access_token = '2909697444-NNDWfyczj7Asgv7t5YvysLcnnEj3CcoC12AB46R'
access_secret = 'kRaSQf3FEEz3X7TSH1o0EisdweIGoxm9Af6E0WceFzeEp'
| 49.2 | 70 | 0.898374 | 13 | 246 | 16.692308 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15812 | 0.04878 | 246 | 4 | 71 | 61.5 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0.691057 | 0.691057 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
2a52a65a28bda99e3a31aa505073796839575b8f | 179 | py | Python | simulation/topology_converter/__init__.py | jubetz/hackathon-sim | 84a9853d92c210f38570c3654be6f1706efffdb4 | [
"Apache-2.0"
] | null | null | null | simulation/topology_converter/__init__.py | jubetz/hackathon-sim | 84a9853d92c210f38570c3654be6f1706efffdb4 | [
"Apache-2.0"
] | null | null | null | simulation/topology_converter/__init__.py | jubetz/hackathon-sim | 84a9853d92c210f38570c3654be6f1706efffdb4 | [
"Apache-2.0"
] | null | null | null | """
Exports lib modules
"""
from . import parse_topology
from . import renderer
from . import styles
from . import tc_config
from . import tc_error
from . import warning_messages
| 17.9 | 30 | 0.77095 | 25 | 179 | 5.36 | 0.56 | 0.447761 | 0.179104 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162011 | 179 | 9 | 31 | 19.888889 | 0.893333 | 0.106145 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
2a8838edea3753e0dcc862c7a747aadec524284f | 78 | py | Python | tests/test_hans_sarpei.py | j7nn7k/designernews_api | 441d3863970bba439716c2d5de9a64b6f3445410 | [
"MIT"
] | null | null | null | tests/test_hans_sarpei.py | j7nn7k/designernews_api | 441d3863970bba439716c2d5de9a64b6f3445410 | [
"MIT"
] | null | null | null | tests/test_hans_sarpei.py | j7nn7k/designernews_api | 441d3863970bba439716c2d5de9a64b6f3445410 | [
"MIT"
] | null | null | null | from nose.tools import eq_
def test_if_he_exists():
eq_('hans', 'hans')
| 13 | 26 | 0.679487 | 13 | 78 | 3.692308 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179487 | 78 | 5 | 27 | 15.6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
2a8e8bf4129193838b23b9f57b413bcf11b34f1e | 4,688 | py | Python | inselect/tests/gui/test_action_state.py | NaturalHistoryMuseum/inselect | 196a3ae2a0ed4e2c7cb667aaba9a6be1bcd90ca6 | [
"BSD-3-Clause"
] | 128 | 2015-03-06T00:17:51.000Z | 2021-09-15T07:59:01.000Z | inselect/tests/gui/test_action_state.py | NaturalHistoryMuseum/inselect | 196a3ae2a0ed4e2c7cb667aaba9a6be1bcd90ca6 | [
"BSD-3-Clause"
] | 346 | 2015-01-22T10:07:52.000Z | 2020-02-25T21:24:56.000Z | inselect/tests/gui/test_action_state.py | NaturalHistoryMuseum/inselect | 196a3ae2a0ed4e2c7cb667aaba9a6be1bcd90ca6 | [
"BSD-3-Clause"
] | 15 | 2015-02-26T21:31:18.000Z | 2020-12-29T17:18:47.000Z | import unittest
from pathlib import Path
from .gui_test import GUITest
TESTDATA = Path(__file__).parent.parent / 'test_data'
class TestActionState(GUITest):
"""Test the state of UI actions
"""
def _test_no_document(self):
"Enabled state for actions when no document is open"
w = self.win... | 37.206349 | 71 | 0.694539 | 570 | 4,688 | 5.44386 | 0.164912 | 0.212697 | 0.232678 | 0.183693 | 0.787947 | 0.718659 | 0.473091 | 0.393812 | 0.367386 | 0.356429 | 0 | 0.001064 | 0.197739 | 4,688 | 125 | 72 | 37.504 | 0.823983 | 0.084044 | 0 | 0.363636 | 0 | 0 | 0.069987 | 0 | 0 | 0 | 0 | 0 | 0.613636 | 1 | 0.056818 | false | 0 | 0.034091 | 0 | 0.102273 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
aa49f622465eaf4e7b9c1b3219f67224f092c0fa | 9,126 | py | Python | src/animal_avatar/shapes/accessories.py | sprotg/animal-avatar-generator | c458686c7814f6681372007cae647298096c1166 | [
"MIT"
] | null | null | null | src/animal_avatar/shapes/accessories.py | sprotg/animal-avatar-generator | c458686c7814f6681372007cae647298096c1166 | [
"MIT"
] | null | null | null | src/animal_avatar/shapes/accessories.py | sprotg/animal-avatar-generator | c458686c7814f6681372007cae647298096c1166 | [
"MIT"
] | 1 | 2022-03-10T08:36:32.000Z | 2022-03-10T08:36:32.000Z | from animal_avatar.utils.colors import darken
#translate(0 -1020.36)
ACCESSORIES = (
lambda color:'''<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 1200 1200" style="enable-background:new 0 0 448 448;" xml:space="preser... | 85.28972 | 289 | 0.678611 | 2,321 | 9,126 | 2.665661 | 0.311073 | 0.007758 | 0.011637 | 0.015516 | 0.442702 | 0.425731 | 0.372232 | 0.354776 | 0.347664 | 0.331502 | 0 | 0.556839 | 0.061144 | 9,126 | 106 | 290 | 86.09434 | 0.165266 | 0.002301 | 0 | 0.19802 | 0 | 0.683168 | 0.983084 | 0.689587 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.009901 | 0 | 0.009901 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
aa69d99baaf48bea4a8b137510118d42fe985028 | 10,327 | py | Python | atomize/general_modules/csv_opener_saver_tk_kinter.py | Anatoly1010/Atomize | c1d4b508ff00b441ae73805e3e50494e9a6149f8 | [
"MIT"
] | 5 | 2020-12-31T17:39:51.000Z | 2022-03-31T13:02:49.000Z | atomize/general_modules/csv_opener_saver_tk_kinter.py | Anatoly1010/Atomize | c1d4b508ff00b441ae73805e3e50494e9a6149f8 | [
"MIT"
] | null | null | null | atomize/general_modules/csv_opener_saver_tk_kinter.py | Anatoly1010/Atomize | c1d4b508ff00b441ae73805e3e50494e9a6149f8 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
import os
import sys
import configparser
import numpy as np
from tkinter import filedialog
import tkinter
class Saver_Opener:
def __init__(self):
# Test run parameters
if len(sys.argv) > 1:
self.test_flag = sys.argv[1]
else:
... | 39.872587 | 121 | 0.534715 | 1,208 | 10,327 | 4.334437 | 0.110927 | 0.074866 | 0.061879 | 0.076394 | 0.786478 | 0.757257 | 0.743125 | 0.731856 | 0.723835 | 0.717341 | 0 | 0.006851 | 0.335722 | 10,327 | 259 | 122 | 39.872587 | 0.756414 | 0.036119 | 0 | 0.651741 | 0 | 0 | 0.043142 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.074627 | false | 0.014925 | 0.029851 | 0 | 0.19403 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
aa9affca3fc3368d88b48bcde9e6f965440ec338 | 78 | py | Python | app/modules/services/__init__.py | hbui-self-hub/emr-deploy-template | 909e827d50810209d2808428b08378dc8c0bfec7 | [
"Apache-2.0"
] | null | null | null | app/modules/services/__init__.py | hbui-self-hub/emr-deploy-template | 909e827d50810209d2808428b08378dc8c0bfec7 | [
"Apache-2.0"
] | null | null | null | app/modules/services/__init__.py | hbui-self-hub/emr-deploy-template | 909e827d50810209d2808428b08378dc8c0bfec7 | [
"Apache-2.0"
] | null | null | null | from .first_service import FirstService
from .base_service import BaseService
| 26 | 39 | 0.871795 | 10 | 78 | 6.6 | 0.7 | 0.393939 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 78 | 2 | 40 | 39 | 0.942857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
2a9af50ee2de128f662f2962096078ba09f768ba | 1,372 | py | Python | demos/template/src/membership/repository/caching.py | akornatskyy/wheezy.web | 417834db697cf1f78f3a60cc880b9fd25d40c6de | [
"MIT"
] | 17 | 2020-08-29T18:45:51.000Z | 2022-03-02T19:37:13.000Z | demos/template/src/membership/repository/caching.py | akornatskyy/wheezy.web | 417834db697cf1f78f3a60cc880b9fd25d40c6de | [
"MIT"
] | 29 | 2020-07-18T04:34:03.000Z | 2021-07-06T09:42:36.000Z | demos/template/src/membership/repository/caching.py | akornatskyy/wheezy.web | 417834db697cf1f78f3a60cc880b9fd25d40c6de | [
"MIT"
] | 1 | 2022-03-14T08:41:42.000Z | 2022-03-14T08:41:42.000Z | """
"""
from config import cache
from membership.repository import keys
from wheezy.caching.patterns import Cached, key_builder
kb = key_builder(key_prefix="mbr")
cached = Cached(cache, kb, time=3600 * 24, namespace="membership")
cached_long = Cached(cache, kb, time=3600, namespace="membership")
class MembershipRep... | 30.488889 | 74 | 0.667638 | 161 | 1,372 | 5.534161 | 0.329193 | 0.080808 | 0.06734 | 0.038159 | 0.107744 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013258 | 0.230321 | 1,372 | 44 | 75 | 31.181818 | 0.830492 | 0.172741 | 0 | 0 | 0 | 0 | 0.020572 | 0 | 0 | 0 | 0 | 0.022727 | 0 | 1 | 0.25 | false | 0.083333 | 0.125 | 0.166667 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 5 |
2aa030d14426059ac489653543d0764ec5b44433 | 625 | py | Python | demos/python/sdk_wireless_camera_control/tests/unit/test_bleak_wrapper.py | JKlingPhotos/OpenGoPro | 6f01e0d2212e840af3650cbdbf8a648467eed89a | [
"MIT"
] | null | null | null | demos/python/sdk_wireless_camera_control/tests/unit/test_bleak_wrapper.py | JKlingPhotos/OpenGoPro | 6f01e0d2212e840af3650cbdbf8a648467eed89a | [
"MIT"
] | null | null | null | demos/python/sdk_wireless_camera_control/tests/unit/test_bleak_wrapper.py | JKlingPhotos/OpenGoPro | 6f01e0d2212e840af3650cbdbf8a648467eed89a | [
"MIT"
] | null | null | null | # test_bleak_wrapper.py/Open GoPro, Version 2.0 (C) Copyright 2021 GoPro, Inc. (http://gopro.com/OpenGoPro).
# This copyright was auto-generated on Tue Sep 7 21:35:52 UTC 2021
"""Unit testing of bleak controller"""
import pytest
from open_gopro.ble.adapters.bleak_wrapper import BleakWrapperController
def test_sin... | 32.894737 | 108 | 0.8016 | 86 | 625 | 5.569767 | 0.581395 | 0.22547 | 0.212944 | 0.167015 | 0.217119 | 0.217119 | 0 | 0 | 0 | 0 | 0 | 0.030909 | 0.12 | 625 | 18 | 109 | 34.722222 | 0.84 | 0.3296 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.375 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
2aa722347729a46012d3ffdbf7d20de10e477a07 | 210 | py | Python | src/FFEAT/ffeat/pso/update/__init__.py | PatrikValkovic/MasterThesis | 6e9f3b186541db6c8395ebc96ace7289d01c805b | [
"MIT"
] | null | null | null | src/FFEAT/ffeat/pso/update/__init__.py | PatrikValkovic/MasterThesis | 6e9f3b186541db6c8395ebc96ace7289d01c805b | [
"MIT"
] | null | null | null | src/FFEAT/ffeat/pso/update/__init__.py | PatrikValkovic/MasterThesis | 6e9f3b186541db6c8395ebc96ace7289d01c805b | [
"MIT"
] | null | null | null | ###############################
#
# Created by Patrik Valkovic
# 3/18/2021
#
###############################
"""
Module with PSO update algorithms.
"""
from .PSO2006 import PSO2006
from .PSO2011 import PSO2011
| 17.5 | 34 | 0.509524 | 20 | 210 | 5.35 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 0.12381 | 210 | 11 | 35 | 19.090909 | 0.456522 | 0.342857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
2adb826d37063acb0a33508bd8e368f901d0b8f1 | 153 | py | Python | src/autoclassifier/__init__.py | ashwin2rai/autoclassifier | a55cd768468a1727d09aeb9479f6465b4ec5463e | [
"MIT"
] | 1 | 2020-02-26T15:53:56.000Z | 2020-02-26T15:53:56.000Z | src/autoclassifier/__init__.py | ashwin2rai/autoclassifier | a55cd768468a1727d09aeb9479f6465b4ec5463e | [
"MIT"
] | null | null | null | src/autoclassifier/__init__.py | ashwin2rai/autoclassifier | a55cd768468a1727d09aeb9479f6465b4ec5463e | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
## ------ Initialize the autoclassifier package -----#
from .utils import write_tocsv
from .autoclassifier import AutoClassifier | 30.6 | 54 | 0.705882 | 16 | 153 | 6.6875 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007519 | 0.130719 | 153 | 5 | 55 | 30.6 | 0.796992 | 0.470588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
2ae5f46a43767c6b822cad5a9e79f7d489fb9915 | 187 | py | Python | tcvx21/observable_c/__init__.py | dsoliveir/TCV-X21 | 784c55adb33417e21a6736e2504a3895a9348dbe | [
"CC-BY-4.0"
] | 1 | 2021-12-13T11:52:39.000Z | 2021-12-13T11:52:39.000Z | tcvx21/observable_c/__init__.py | dsoliveir/TCV-X21 | 784c55adb33417e21a6736e2504a3895a9348dbe | [
"CC-BY-4.0"
] | 2 | 2021-12-18T17:18:52.000Z | 2022-01-26T09:23:23.000Z | tcvx21/observable_c/__init__.py | dsoliveir/TCV-X21 | 784c55adb33417e21a6736e2504a3895a9348dbe | [
"CC-BY-4.0"
] | 2 | 2021-12-13T12:56:09.000Z | 2022-01-25T20:30:28.000Z | from .observable_m import Observable, MissingDataError
from .observable_empty_m import EmptyObservable
from .observable_1d_m import Observable1D
from .observable_2d_m import Observable2D
| 37.4 | 54 | 0.882353 | 24 | 187 | 6.583333 | 0.458333 | 0.35443 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023529 | 0.090909 | 187 | 4 | 55 | 46.75 | 0.905882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
6307957a68b917f9cd37f28d292439d1a25a1bfe | 186 | py | Python | src/utils/__init__.py | Jasonsey/BlurredImageDetection | df89079813fe8e2b66075f366d89b141af9f2501 | [
"MIT"
] | 5 | 2019-05-20T11:18:24.000Z | 2020-04-09T13:27:02.000Z | src/utils/__init__.py | Jasonsey/BlurredImageDetection | df89079813fe8e2b66075f366d89b141af9f2501 | [
"MIT"
] | null | null | null | src/utils/__init__.py | Jasonsey/BlurredImageDetection | df89079813fe8e2b66075f366d89b141af9f2501 | [
"MIT"
] | 2 | 2019-10-27T15:44:57.000Z | 2021-09-26T06:10:37.000Z | # Bluerred Image Detection
#
# Author: Jasonsey
# Email: 2627866800@qq.com
#
# =============================================================================
"""the common tools api"""
| 23.25 | 79 | 0.392473 | 13 | 186 | 5.615385 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060241 | 0.107527 | 186 | 7 | 80 | 26.571429 | 0.379518 | 0.903226 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
632ddde3239aa08f1bf7e1296570836342fe9b6c | 88 | py | Python | Image to ascii art.py | Chirag-Nahata/Image-to-ASCII-Text-Converter | c967086e062b9fc1bb931095fe3e8ef67f73b97a | [
"MIT"
] | null | null | null | Image to ascii art.py | Chirag-Nahata/Image-to-ASCII-Text-Converter | c967086e062b9fc1bb931095fe3e8ef67f73b97a | [
"MIT"
] | null | null | null | Image to ascii art.py | Chirag-Nahata/Image-to-ASCII-Text-Converter | c967086e062b9fc1bb931095fe3e8ef67f73b97a | [
"MIT"
] | null | null | null | import pywhatkit
pywhatkit.image_to_ascii_art('Chirag_Nahata.jpg', 'Chirag_Nahata.txt') | 44 | 70 | 0.840909 | 13 | 88 | 5.307692 | 0.769231 | 0.347826 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 88 | 2 | 70 | 44 | 0.821429 | 0 | 0 | 0 | 0 | 0 | 0.386364 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
2d543efe13c008453ef8b2e9ac96891394c92067 | 27,003 | py | Python | pysnmp-with-texts/BLADESPPALT-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 8 | 2019-05-09T17:04:00.000Z | 2021-06-09T06:50:51.000Z | pysnmp-with-texts/BLADESPPALT-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 4 | 2019-05-31T16:42:59.000Z | 2020-01-31T21:57:17.000Z | pysnmp-with-texts/BLADESPPALT-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 10 | 2019-04-30T05:51:36.000Z | 2022-02-16T03:33:41.000Z | #
# PySNMP MIB module BLADESPPALT-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/BLADESPPALT-MIB
# Produced by pysmi-0.3.4 at Wed May 1 11:39:07 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (default, Mar 27... | 228.838983 | 1,357 | 0.736622 | 2,652 | 27,003 | 7.500377 | 0.098793 | 0.267458 | 0.058066 | 0.009653 | 0.749434 | 0.702227 | 0.672364 | 0.672364 | 0.671359 | 0.670303 | 0 | 0.031305 | 0.071362 | 27,003 | 117 | 1,358 | 230.794872 | 0.761924 | 0.011999 | 0 | 0 | 0 | 0.009091 | 0.501912 | 0.002587 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.054545 | 0 | 0.054545 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
2d7f06b03465afe5839578d0ddd6978b258be30a | 22 | py | Python | tccli/services/habo/v20181203/__init__.py | tarnover/tencentcloud-cli | 5b0537913a33884a20d7663405a8aa1c2276b41a | [
"Apache-2.0"
] | null | null | null | tccli/services/habo/v20181203/__init__.py | tarnover/tencentcloud-cli | 5b0537913a33884a20d7663405a8aa1c2276b41a | [
"Apache-2.0"
] | null | null | null | tccli/services/habo/v20181203/__init__.py | tarnover/tencentcloud-cli | 5b0537913a33884a20d7663405a8aa1c2276b41a | [
"Apache-2.0"
] | null | null | null | version = "2018-12-03" | 22 | 22 | 0.681818 | 4 | 22 | 3.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.4 | 0.090909 | 22 | 1 | 22 | 22 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
2d81e825508a3dd31bc16a44c934bc19ef7e84f3 | 100 | py | Python | backend/api/mentor/admin.py | jacorea/ismp | 81cf55559005753f3055165689889b18aec958ac | [
"CC0-1.0"
] | 3 | 2020-05-08T03:51:43.000Z | 2020-06-13T23:12:26.000Z | backend/api/mentor/admin.py | jacorea/ismp | 81cf55559005753f3055165689889b18aec958ac | [
"CC0-1.0"
] | 15 | 2020-05-04T05:49:17.000Z | 2020-06-01T21:31:03.000Z | backend/api/mentor/admin.py | jacorea/ismp | 81cf55559005753f3055165689889b18aec958ac | [
"CC0-1.0"
] | 11 | 2020-05-01T04:35:24.000Z | 2020-05-28T17:17:21.000Z | from django.contrib import admin
from api.mentor.models import Mentor
admin.site.register(Mentor)
| 16.666667 | 36 | 0.82 | 15 | 100 | 5.466667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11 | 100 | 5 | 37 | 20 | 0.921348 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
93070f08110bb65b0ea03f28475d1550a037d7f9 | 1,435 | py | Python | common/buttons.py | whyh/FavourDemo | 1b19882fb2e79dee9c3332594bf45c91e7476eaa | [
"Unlicense"
] | 1 | 2020-09-14T12:10:22.000Z | 2020-09-14T12:10:22.000Z | common/buttons.py | whyh/FavourDemo | 1b19882fb2e79dee9c3332594bf45c91e7476eaa | [
"Unlicense"
] | 4 | 2021-04-30T20:54:31.000Z | 2021-06-02T00:28:04.000Z | common/buttons.py | whyh/FavourDemo | 1b19882fb2e79dee9c3332594bf45c91e7476eaa | [
"Unlicense"
] | null | null | null | from typing import Dict, Any
from aiogram.types import InlineKeyboardButton
from . import emoji as emj, sed, telegram as tg, phrases as phr
def send(lang: str, grade: int, data: Dict[str, Any]) -> InlineKeyboardButton:
return InlineKeyboardButton(phr.SEND(lang), callback_data=sed.encode(**data, **{sed.kv.SEND: ... | 42.205882 | 136 | 0.731707 | 200 | 1,435 | 5.17 | 0.225 | 0.062863 | 0.311412 | 0.236944 | 0.7147 | 0.645068 | 0.552224 | 0.523211 | 0.499033 | 0.303675 | 0 | 0.001569 | 0.111498 | 1,435 | 33 | 137 | 43.484848 | 0.809412 | 0 | 0 | 0 | 0 | 0 | 0.032753 | 0.019512 | 0 | 0 | 0 | 0 | 0 | 1 | 0.411765 | false | 0 | 0.176471 | 0.411765 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
931f36d5290aa4b8b14f4b09c4345cadc44cf6fb | 43 | py | Python | lightargs/wrong_parameters.py | vincentberenz/lightargs | 53bf6d98b746c751a647581c7f140b2c4716a626 | [
"MIT"
] | null | null | null | lightargs/wrong_parameters.py | vincentberenz/lightargs | 53bf6d98b746c751a647581c7f140b2c4716a626 | [
"MIT"
] | 1 | 2020-11-10T18:29:38.000Z | 2020-11-10T18:29:38.000Z | lightargs/wrong_parameters.py | vincentberenz/lightargs | 53bf6d98b746c751a647581c7f140b2c4716a626 | [
"MIT"
] | null | null | null | class WrongParameters(Exception):
pass
| 14.333333 | 33 | 0.767442 | 4 | 43 | 8.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162791 | 43 | 2 | 34 | 21.5 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
9329ed99ce0b809a6aaf58787641652435664f1d | 120 | py | Python | servers/python/coweb/cowebpyoe/OperationEngineException.py | opencoweb/coweb | 7b3a87ee9eda735a859447d404ee16edde1c5671 | [
"AFL-2.1"
] | 83 | 2015-01-05T19:02:57.000Z | 2021-11-19T02:48:09.000Z | servers/python/coweb/cowebpyoe/OperationEngineException.py | xuelingxiao/coweb | 7b3a87ee9eda735a859447d404ee16edde1c5671 | [
"AFL-2.1"
] | 3 | 2015-12-16T13:49:33.000Z | 2019-06-17T13:38:50.000Z | servers/python/coweb/cowebpyoe/OperationEngineException.py | xuelingxiao/coweb | 7b3a87ee9eda735a859447d404ee16edde1c5671 | [
"AFL-2.1"
] | 14 | 2015-04-29T22:36:53.000Z | 2021-11-18T03:24:29.000Z |
class OperationEngineException(Exception):
def __init__(self, message):
Exception.__init__(self, message)
| 20 | 42 | 0.733333 | 11 | 120 | 7.272727 | 0.636364 | 0.2 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175 | 120 | 5 | 43 | 24 | 0.808081 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
9369050be7faa24e3285f8359e9d15b77fd8acea | 312 | py | Python | python_package_template/python_package_template.py | sabard/python_package_template | 9698ddebef6fcae308e34f2baadf20f9191d434d | [
"MIT"
] | 1 | 2020-03-03T00:33:37.000Z | 2020-03-03T00:33:37.000Z | python_package_template/python_package_template.py | sabard/python_package_template | 9698ddebef6fcae308e34f2baadf20f9191d434d | [
"MIT"
] | 1 | 2021-12-27T19:54:26.000Z | 2021-12-27T19:54:26.000Z | python_package_template/python_package_template.py | sabard/python_package_template | 9698ddebef6fcae308e34f2baadf20f9191d434d | [
"MIT"
] | null | null | null | """ PythonPackageTemplate Class """
class PythonPackageTemplate:
""" PythonPackageTemplate class """
def __init__(self):
""" Initialize PythonPackageTemplate. """
pass
def __repr__(self):
""" Return PythonPackageTemplate name. """
return self.__class__.__name__
| 20.8 | 50 | 0.644231 | 22 | 312 | 8.409091 | 0.454545 | 0.281081 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.24359 | 312 | 14 | 51 | 22.285714 | 0.783898 | 0.410256 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.2 | 0 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
fa75b7473b90d561bd2889f962b02cf904c0cbb9 | 1,650 | py | Python | python/import_data.py | kkozarev/amaterasu | b5b22dd0e29c3194eacba0e40364ab0dd5357c06 | [
"Apache-2.0"
] | null | null | null | python/import_data.py | kkozarev/amaterasu | b5b22dd0e29c3194eacba0e40364ab0dd5357c06 | [
"Apache-2.0"
] | null | null | null | python/import_data.py | kkozarev/amaterasu | b5b22dd0e29c3194eacba0e40364ab0dd5357c06 | [
"Apache-2.0"
] | null | null | null | from __future__ import division
import numpy
import matplotlib.pyplot as plt
ace = numpy.genfromtxt('../data/data.csv', dtype=None,names = ['year', 'day', 'hr', 'min', 'sec', 'fp_year', 'fp_day', 'ACEepoch', 'proton_density', 'proton_temp', 'He4toprotons', 'proton_speed', 'x_dot_RTN', 'y_dot_RTN', 'z_dot_RTN', 'x_dot_... | 235.714286 | 1,570 | 0.598788 | 276 | 1,650 | 3.206522 | 0.423913 | 0.013559 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075881 | 0.105455 | 1,650 | 6 | 1,571 | 275 | 0.523713 | 0 | 0 | 0 | 0 | 0 | 0.542753 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
fa7fee52b3d745d9faf4fc6771c032e651bd0133 | 91 | py | Python | diagan-pkg/setup.py | lee-jinhee/self-diagnosing-gan | da87dd1ef10f2d630d6904ced63ae8805b5db356 | [
"Apache-2.0"
] | 16 | 2021-02-25T06:48:51.000Z | 2022-03-04T13:08:12.000Z | diagan-pkg/setup.py | lee-jinhee/self-diagnosing-gan | da87dd1ef10f2d630d6904ced63ae8805b5db356 | [
"Apache-2.0"
] | null | null | null | diagan-pkg/setup.py | lee-jinhee/self-diagnosing-gan | da87dd1ef10f2d630d6904ced63ae8805b5db356 | [
"Apache-2.0"
] | 4 | 2021-03-02T02:03:17.000Z | 2022-03-24T03:31:12.000Z | from setuptools import setup, find_packages
setup(name="diagan", packages=find_packages())
| 30.333333 | 46 | 0.813187 | 12 | 91 | 6 | 0.666667 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 91 | 2 | 47 | 45.5 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0.065934 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
fae89ec7be6f848e8ea7f4506c8439099946f1b0 | 289 | py | Python | django_mock_rest/urls.py | mverleg/django_mock_rest | dd6468c1d966353dc2a2fed77b299261ceb76a14 | [
"BSD-3-Clause"
] | 1 | 2018-09-26T19:33:36.000Z | 2018-09-26T19:33:36.000Z | django_mock_rest/urls.py | mverleg/django_mock_rest | dd6468c1d966353dc2a2fed77b299261ceb76a14 | [
"BSD-3-Clause"
] | 12 | 2018-09-25T19:38:37.000Z | 2018-09-26T19:29:48.000Z | django_mock_rest/urls.py | mverleg/django_mock_rest | dd6468c1d966353dc2a2fed77b299261ceb76a14 | [
"BSD-3-Clause"
] | null | null | null | from django.conf.urls import url
from django_mock_rest.views import django_mock_rest_api, django_mock_rest_api_index
urlpatterns = [
url(r'^~$', django_mock_rest_api_index, name='django_mock_rest_index'),
url(r'^(?P<path>[\w\-+/]*)$', django_mock_rest_api, name='django_mock_rest'),
]
| 32.111111 | 83 | 0.764706 | 47 | 289 | 4.255319 | 0.361702 | 0.35 | 0.49 | 0.34 | 0.22 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079585 | 289 | 8 | 84 | 36.125 | 0.75188 | 0 | 0 | 0 | 0 | 0 | 0.214533 | 0.148789 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
faea23373ea3694c01063f14b7d24cabbede633f | 164 | py | Python | sciibo/graphics/timeline/show.py | fdev/sciibo | 984ec1945cd0f371bce148c1eb1e811befadb478 | [
"MIT"
] | 14 | 2017-06-16T14:16:57.000Z | 2021-02-26T13:53:56.000Z | sciibo/graphics/timeline/show.py | fdev/sciibo | 984ec1945cd0f371bce148c1eb1e811befadb478 | [
"MIT"
] | 1 | 2018-06-27T16:11:48.000Z | 2019-01-23T12:02:17.000Z | sciibo/graphics/timeline/show.py | fdev/sciibo | 984ec1945cd0f371bce148c1eb1e811befadb478 | [
"MIT"
] | null | null | null | class Show(object):
def __init__(self, drawable):
self.drawable = drawable
def next_frame(self):
self.drawable.show()
return False
| 20.5 | 33 | 0.621951 | 19 | 164 | 5.105263 | 0.578947 | 0.371134 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.280488 | 164 | 7 | 34 | 23.428571 | 0.822034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
87960b004d255159902bb8ac41dbb071adabf75f | 174 | py | Python | functions/Cythonize.py | mmfink/raster-functions | 55a33bdd2ac4f3333eca6ccd49de6f3d5d21f7ba | [
"Apache-2.0"
] | 173 | 2015-01-21T03:10:13.000Z | 2022-02-16T17:16:45.000Z | functions/Cythonize.py | mmfink/raster-functions | 55a33bdd2ac4f3333eca6ccd49de6f3d5d21f7ba | [
"Apache-2.0"
] | 34 | 2015-02-18T10:58:31.000Z | 2021-09-20T17:24:34.000Z | functions/Cythonize.py | mmfink/raster-functions | 55a33bdd2ac4f3333eca6ccd49de6f3d5d21f7ba | [
"Apache-2.0"
] | 78 | 2015-01-30T16:26:31.000Z | 2022-03-22T10:59:13.000Z | """
Cythonize.py build_ext --inplace
Cythonize.py clean
"""
from distutils.core import setup
from Cython.Build import cythonize
setup(ext_modules = cythonize("*.py"))
| 15.818182 | 38 | 0.735632 | 23 | 174 | 5.478261 | 0.565217 | 0.261905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.143678 | 174 | 10 | 39 | 17.4 | 0.845638 | 0.293103 | 0 | 0 | 0 | 0 | 0.036364 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
879edbf1220ef967cd39d8f1aea89911dcb2bc75 | 16 | py | Python | openml_data_integration/protobuf_generator/openml_40649/myconstants.py | tuix/tutorials | 733d35a8a39df079e8c2432c441b70785ab08440 | [
"Apache-2.0"
] | 8 | 2020-04-21T13:29:04.000Z | 2021-12-13T08:59:09.000Z | openml_data_integration/protobuf_generator/openml_40649/myconstants.py | tuix/tutorials | 733d35a8a39df079e8c2432c441b70785ab08440 | [
"Apache-2.0"
] | 3 | 2021-04-27T11:03:04.000Z | 2021-05-24T18:22:57.000Z | openml_data_integration/protobuf_generator/openml_40649/myconstants.py | tuix/tutorials | 733d35a8a39df079e8c2432c441b70785ab08440 | [
"Apache-2.0"
] | 6 | 2020-07-06T08:23:25.000Z | 2021-11-24T10:39:34.000Z | DATA_ID = 40649
| 8 | 15 | 0.75 | 3 | 16 | 3.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.384615 | 0.1875 | 16 | 1 | 16 | 16 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
87a2f4a5fc2296adfc5038453979089932c12eb1 | 142 | py | Python | classes/Resource.py | Jollyfant/EPOS-TURTLE | 8848a83e513b0bc9aacd96e290fc9f235bed687a | [
"MIT"
] | 1 | 2020-10-06T13:28:54.000Z | 2020-10-06T13:28:54.000Z | classes/Resource.py | Jollyfant/EPOS-TURTLE | 8848a83e513b0bc9aacd96e290fc9f235bed687a | [
"MIT"
] | null | null | null | classes/Resource.py | Jollyfant/EPOS-TURTLE | 8848a83e513b0bc9aacd96e290fc9f235bed687a | [
"MIT"
] | null | null | null | from EPOS import Node
class Resource(Node):
def __init__(self, *args):
self.type = self.rdfs.Resource
Node.__init__(self, args)
| 17.75 | 34 | 0.690141 | 20 | 142 | 4.5 | 0.6 | 0.266667 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.197183 | 142 | 7 | 35 | 20.285714 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 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 | 0 | 0 | 1 | 0 | 0 | 5 |
87d14a1058618c8ea9d0e9f2c3122652f90737c4 | 114 | py | Python | n3-torch/ffi/python/n3/std/builtins/assert_shape.py | kerryeon/n3-rs | e3c7325a89ec3eaffae356d2e4dcc4c63ba8caa1 | [
"MIT"
] | 1 | 2022-01-18T13:18:58.000Z | 2022-01-18T13:18:58.000Z | n3-torch/ffi/python/n3/std/builtins/assert_shape.py | kerryeon/n3-rs | e3c7325a89ec3eaffae356d2e4dcc4c63ba8caa1 | [
"MIT"
] | null | null | null | n3-torch/ffi/python/n3/std/builtins/assert_shape.py | kerryeon/n3-rs | e3c7325a89ec3eaffae356d2e4dcc4c63ba8caa1 | [
"MIT"
] | null | null | null | from n3 import ExternNode
class AssertShape(ExternNode):
def forward(self, **kwargs):
return kwargs
| 16.285714 | 32 | 0.701754 | 13 | 114 | 6.153846 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011236 | 0.219298 | 114 | 6 | 33 | 19 | 0.88764 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
87fb9a198f01cc3ef27c960be78d98985904ca7d | 4,692 | py | Python | Assignment3/src/main/bkool/checker/StaticCheck.py | ntnguyen648936/PPL-BKOOOL | 458f54683da01d2105cf3cffc8ecbc2aeb796df8 | [
"Apache-2.0"
] | null | null | null | Assignment3/src/main/bkool/checker/StaticCheck.py | ntnguyen648936/PPL-BKOOOL | 458f54683da01d2105cf3cffc8ecbc2aeb796df8 | [
"Apache-2.0"
] | null | null | null | Assignment3/src/main/bkool/checker/StaticCheck.py | ntnguyen648936/PPL-BKOOOL | 458f54683da01d2105cf3cffc8ecbc2aeb796df8 | [
"Apache-2.0"
] | 1 | 2022-01-27T15:38:22.000Z | 2022-01-27T15:38:22.000Z |
"""
* @author nhphung
* @extended by: ngthquocminh
"""
from types import FunctionType
from AST import *
from Visitor import *
from Utils import Utils
from StaticError import *
class MType:
def __init__(self,partype:List[Type],rettype:Type):
self.partype = partype
self.rettype = rettype
class S... | 25.78022 | 88 | 0.600597 | 519 | 4,692 | 5.38343 | 0.22158 | 0.10272 | 0.187903 | 0.219041 | 0.365068 | 0.286328 | 0 | 0 | 0 | 0 | 0 | 0 | 0.275362 | 4,692 | 181 | 89 | 25.922652 | 0.821765 | 0.009804 | 0 | 0.28125 | 0 | 0 | 0.024822 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.34375 | false | 0 | 0.039063 | 0.289063 | 0.734375 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
3561fd5f2b0c5ee7700e8697087c7b066ad7dca3 | 173 | py | Python | jmm/utilities/translator/__init__.py | zqmillet/japanese_media_manager | 7f7c9ba9f48e67c5f68f80b6fe09675aded05858 | [
"MIT"
] | null | null | null | jmm/utilities/translator/__init__.py | zqmillet/japanese_media_manager | 7f7c9ba9f48e67c5f68f80b6fe09675aded05858 | [
"MIT"
] | null | null | null | jmm/utilities/translator/__init__.py | zqmillet/japanese_media_manager | 7f7c9ba9f48e67c5f68f80b6fe09675aded05858 | [
"MIT"
] | null | null | null | """
由于很多网站都是日语的元数据, 因此需要翻译模块对元数据进行翻译.
"""
from .translator import Translator
from .exceptions import TranslationException
__all__ = ['Translator', 'TranslationException']
| 19.222222 | 48 | 0.791908 | 13 | 173 | 10.230769 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104046 | 173 | 8 | 49 | 21.625 | 0.858065 | 0.190751 | 0 | 0 | 0 | 0 | 0.227273 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
35838075ab98de5650e17335cb4a03147d5a496c | 56 | py | Python | devel/lib/python2.7/dist-packages/wheeled_robot_kinematics/srv/__init__.py | anurag-b/project_2_cmsc498F | 736626e0144cf45ebeddd341cfcb4fcdac679c3f | [
"MIT"
] | null | null | null | devel/lib/python2.7/dist-packages/wheeled_robot_kinematics/srv/__init__.py | anurag-b/project_2_cmsc498F | 736626e0144cf45ebeddd341cfcb4fcdac679c3f | [
"MIT"
] | null | null | null | devel/lib/python2.7/dist-packages/wheeled_robot_kinematics/srv/__init__.py | anurag-b/project_2_cmsc498F | 736626e0144cf45ebeddd341cfcb4fcdac679c3f | [
"MIT"
] | null | null | null | from ._DiffDriveFK import *
from ._DiffDriveIK import *
| 18.666667 | 27 | 0.785714 | 6 | 56 | 7 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 56 | 2 | 28 | 28 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
3588a01d5392a5154683fac612d53d16e1108ef2 | 223 | py | Python | mastering/log/exceptions.py | julian-medve/Audio-Mastering | 5c79118902db5d2f2053f0d1f3b740fc4cf708b6 | [
"Apache-2.0"
] | null | null | null | mastering/log/exceptions.py | julian-medve/Audio-Mastering | 5c79118902db5d2f2053f0d1f3b740fc4cf708b6 | [
"Apache-2.0"
] | null | null | null | mastering/log/exceptions.py | julian-medve/Audio-Mastering | 5c79118902db5d2f2053f0d1f3b740fc4cf708b6 | [
"Apache-2.0"
] | null | null | null | from .explanations import get_explanation_handler
from .codes import Code
class ModuleError(Exception):
def __init__(self, code: Code):
Exception.__init__(self, get_explanation_handler(show_codes=True)(code))
| 27.875 | 80 | 0.780269 | 28 | 223 | 5.75 | 0.571429 | 0.173913 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134529 | 223 | 7 | 81 | 31.857143 | 0.834197 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
359cdacdb0a0d6c1ffe68633b782e177a11405dd | 3,588 | py | Python | Day_3_Crossed_Wires/code_part1.py | csyhping/Advent-of-Code-2019 | 86ea7fc4340619ddd732c070c4ad518133960fed | [
"MIT"
] | null | null | null | Day_3_Crossed_Wires/code_part1.py | csyhping/Advent-of-Code-2019 | 86ea7fc4340619ddd732c070c4ad518133960fed | [
"MIT"
] | null | null | null | Day_3_Crossed_Wires/code_part1.py | csyhping/Advent-of-Code-2019 | 86ea7fc4340619ddd732c070c4ad518133960fed | [
"MIT"
] | null | null | null | import numpy as np
#------part 1------#
wires = np.loadtxt('input.txt', dtype = str)
wire1 = wires[0].split(',')
wire2 = wires[1].split(',')
w, wmax, wmin, h, hmax, hmin = 0, 0, 0, 0, 0, 0
for order in wire1:
if order[0] == 'R':
# print('R-', order)
w += int(order[1:])
wmax = max(w, wmax)
# print... | 28.704 | 65 | 0.535396 | 660 | 3,588 | 2.724242 | 0.077273 | 0.082314 | 0.047275 | 0.057842 | 0.803115 | 0.777531 | 0.759733 | 0.730812 | 0.675195 | 0.646274 | 0 | 0.030574 | 0.252508 | 3,588 | 125 | 66 | 28.704 | 0.639821 | 0.125418 | 0 | 0.654206 | 0 | 0 | 0.054388 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.009346 | 0 | 0.009346 | 0.158879 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
35b093d47144adeba6920184bd78a98850f6976f | 109 | py | Python | app/documentation/__init__.py | ThembiNsele/ClimateMind-Backend | 0e418000b2a0141a1e4a7c11dbe3564082a3f4bb | [
"MIT"
] | 6 | 2020-08-20T10:49:59.000Z | 2022-01-24T16:49:46.000Z | app/documentation/__init__.py | ThembiNsele/ClimateMind-Backend | 0e418000b2a0141a1e4a7c11dbe3564082a3f4bb | [
"MIT"
] | 95 | 2020-07-24T22:32:34.000Z | 2022-03-05T15:01:16.000Z | app/documentation/__init__.py | ThembiNsele/ClimateMind-Backend | 0e418000b2a0141a1e4a7c11dbe3564082a3f4bb | [
"MIT"
] | 5 | 2020-07-30T17:29:09.000Z | 2021-01-10T19:46:15.000Z | from flask import Blueprint
bp = Blueprint("documentation", __name__)
from app.documentation import routes
| 18.166667 | 41 | 0.807339 | 13 | 109 | 6.461538 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12844 | 109 | 5 | 42 | 21.8 | 0.884211 | 0 | 0 | 0 | 0 | 0 | 0.119266 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 5 |
35deae4bfcc77fed02ff6080bf4a9730daa61ed1 | 54 | py | Python | molly/apps/service_status/providers/__init__.py | mollyproject/mollyproject | 3247c6bac3f39ce8d275d19aa410b30c6284b8a7 | [
"Apache-2.0"
] | 7 | 2015-05-16T13:27:21.000Z | 2019-08-06T11:09:24.000Z | molly/apps/service_status/providers/__init__.py | mollyproject/mollyproject | 3247c6bac3f39ce8d275d19aa410b30c6284b8a7 | [
"Apache-2.0"
] | null | null | null | molly/apps/service_status/providers/__init__.py | mollyproject/mollyproject | 3247c6bac3f39ce8d275d19aa410b30c6284b8a7 | [
"Apache-2.0"
] | 4 | 2015-11-27T13:36:36.000Z | 2021-03-09T17:55:53.000Z | from rss_module import RSSModuleServiceStatusProvider
| 27 | 53 | 0.925926 | 5 | 54 | 9.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 54 | 1 | 54 | 54 | 0.98 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
35dfe15cb311743d2d1b181d46ebcf11239e7c6f | 142 | py | Python | faster_particles/data/__init__.py | Temigo/faster-particles | ba4655cf48525de1f326f037b1e54b6f28551cdf | [
"MIT"
] | 2 | 2018-08-02T10:48:44.000Z | 2018-11-11T01:16:57.000Z | faster_particles/data/__init__.py | Temigo/faster-particles | ba4655cf48525de1f326f037b1e54b6f28551cdf | [
"MIT"
] | null | null | null | faster_particles/data/__init__.py | Temigo/faster-particles | ba4655cf48525de1f326f037b1e54b6f28551cdf | [
"MIT"
] | 2 | 2018-08-02T10:49:06.000Z | 2020-06-10T02:20:30.000Z | from hdf5data import HDF5Generator
from larcvdata import LarcvGenerator
from toydata import ToydataGenerator
from csvdata import CSVGenerator
| 28.4 | 36 | 0.887324 | 16 | 142 | 7.875 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015873 | 0.112676 | 142 | 4 | 37 | 35.5 | 0.984127 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
ea090b3299d2457adc78928bda8ecd92d1d377ee | 175 | py | Python | argumentation/__init__.py | christian-5-28/aimlx-demos | ba63edb80f37b1a8ced70d5e29038eafa3b48b91 | [
"MIT"
] | 6 | 2017-06-28T10:50:21.000Z | 2022-01-05T18:28:39.000Z | argumentation/__init__.py | christian-5-28/aimlx-demos | ba63edb80f37b1a8ced70d5e29038eafa3b48b91 | [
"MIT"
] | 3 | 2017-12-07T16:02:13.000Z | 2018-09-06T11:39:36.000Z | argumentation/__init__.py | christian-5-28/aimlx-demos | ba63edb80f37b1a8ced70d5e29038eafa3b48b91 | [
"MIT"
] | 23 | 2017-08-08T09:31:16.000Z | 2018-10-24T14:31:36.000Z | from flask import Blueprint
argumentation = Blueprint('argumentation', __name__, template_folder='templates', static_folder='static')
from . import argumentation_controller
| 29.166667 | 105 | 0.822857 | 18 | 175 | 7.611111 | 0.611111 | 0.321168 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091429 | 175 | 5 | 106 | 35 | 0.861635 | 0 | 0 | 0 | 0 | 0 | 0.16 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
ea091565213151ae3ae43da4a0279066955f3483 | 50 | py | Python | cyder/api/v1/endpoints/dhcp/range/__init__.py | drkitty/cyder | 1babc443cc03aa51fa3c1015bcd22f0ea2e5f0f8 | [
"BSD-3-Clause"
] | 6 | 2015-04-16T23:18:22.000Z | 2020-08-25T22:50:13.000Z | cyder/api/v1/endpoints/dhcp/range/__init__.py | drkitty/cyder | 1babc443cc03aa51fa3c1015bcd22f0ea2e5f0f8 | [
"BSD-3-Clause"
] | 267 | 2015-01-01T00:18:57.000Z | 2015-10-14T00:01:13.000Z | cyder/api/v1/endpoints/dhcp/range/__init__.py | drkitty/cyder | 1babc443cc03aa51fa3c1015bcd22f0ea2e5f0f8 | [
"BSD-3-Clause"
] | 5 | 2015-03-23T00:57:09.000Z | 2019-09-09T22:42:37.000Z | from cyder.api.v1.endpoints.dhcp.range import api
| 25 | 49 | 0.82 | 9 | 50 | 4.555556 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021739 | 0.08 | 50 | 1 | 50 | 50 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
ea57eab88a2891017e26df43dd2c7ffa5f37b66d | 3,596 | py | Python | test/automation/test/test_cards.py | agupta54/ulca | c1f570ac254ce2ac73f40c49716458f4f7cbaee2 | [
"MIT"
] | 3 | 2022-01-12T06:51:51.000Z | 2022-02-23T18:54:33.000Z | test/automation/test/test_cards.py | agupta54/ulca | c1f570ac254ce2ac73f40c49716458f4f7cbaee2 | [
"MIT"
] | 6 | 2021-08-31T19:21:26.000Z | 2022-01-03T05:53:42.000Z | test/automation/test/test_cards.py | agupta54/ulca | c1f570ac254ce2ac73f40c49716458f4f7cbaee2 | [
"MIT"
] | 8 | 2021-08-12T08:07:49.000Z | 2022-01-25T04:40:51.000Z | from .loader import ULCA_MDL_EXPLR_URL,perform_webpage_function,print_task,print_output,ULCA_MDL_BMARK_DS_URL
from .loader import get_url
from .loader import load_yaml_data
from .loader import elements_mdl_explr as ele
task_tab_dict={
'translation':ele.MDL_EXPLR_TRANSTAB_BTN,
'tts':ele.MDL_EXPLR_TTSTAB_BTN,
... | 36.693878 | 109 | 0.597052 | 506 | 3,596 | 3.950593 | 0.1917 | 0.024012 | 0.04002 | 0.028014 | 0.796398 | 0.745373 | 0.721361 | 0.721361 | 0.721361 | 0.685343 | 0 | 0.012057 | 0.261958 | 3,596 | 97 | 110 | 37.072165 | 0.741145 | 0 | 0 | 0.677419 | 0 | 0 | 0.143771 | 0.006674 | 0 | 0 | 0 | 0 | 0 | 1 | 0.032258 | false | 0 | 0.043011 | 0 | 0.107527 | 0.053763 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
578df22a27049d1bdccb7a7a85ab1885825814dc | 565 | py | Python | wyggles/beacon.py | kfields/wyggles-arcade | f9cfafa15247e09f21aa06c2fe2f2ca1347b672a | [
"MIT"
] | 1 | 2020-03-15T23:10:12.000Z | 2020-03-15T23:10:12.000Z | wyggles/beacon.py | kfields/wyggles-arcade | f9cfafa15247e09f21aa06c2fe2f2ca1347b672a | [
"MIT"
] | null | null | null | wyggles/beacon.py | kfields/wyggles-arcade | f9cfafa15247e09f21aa06c2fe2f2ca1347b672a | [
"MIT"
] | null | null | null | class Beacon():
def __init__(self, sprite, type):
self.sprite = sprite
self.type = type
'''
self.x = 0
self.y = 0
def set_pos(self, x, y):
self.x = x
self.y = y
'''
@property
def position(self):
return self.sprite.posit... | 20.925926 | 39 | 0.506195 | 67 | 565 | 4.19403 | 0.268657 | 0.213523 | 0.256228 | 0.213523 | 0.298932 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011494 | 0.384071 | 565 | 26 | 40 | 21.730769 | 0.795977 | 0 | 0 | 0.1875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3125 | false | 0 | 0 | 0.1875 | 0.5625 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
57a9e6945d61f591d3d62f6d51687b1f115def7c | 66 | py | Python | Lib/test/test_import/data/circular_imports/rebinding2.py | shawwn/cpython | 0ff8a3b374286d2218fc18f47556a5ace202dad3 | [
"0BSD"
] | 52,316 | 2015-01-01T15:56:25.000Z | 2022-03-31T23:19:01.000Z | Lib/test/test_import/data/circular_imports/rebinding2.py | shawwn/cpython | 0ff8a3b374286d2218fc18f47556a5ace202dad3 | [
"0BSD"
] | 25,286 | 2015-03-03T23:18:02.000Z | 2022-03-31T23:17:27.000Z | Lib/test/test_import/data/circular_imports/rebinding2.py | shawwn/cpython | 0ff8a3b374286d2218fc18f47556a5ace202dad3 | [
"0BSD"
] | 31,623 | 2015-01-01T13:29:37.000Z | 2022-03-31T19:55:06.000Z | from .subpkg import util
from . import rebinding
util = util.util
| 16.5 | 24 | 0.772727 | 10 | 66 | 5.1 | 0.5 | 0.313725 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 66 | 3 | 25 | 22 | 0.927273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
17aae90b7a7b1a5f6b03eb59b72009e737f1afa0 | 107 | py | Python | src/python/module/z5py/__init__.py | isuruf/z5 | 2283297d25672d8cf1dc7ca9d809136dbe6b048c | [
"MIT"
] | null | null | null | src/python/module/z5py/__init__.py | isuruf/z5 | 2283297d25672d8cf1dc7ca9d809136dbe6b048c | [
"MIT"
] | null | null | null | src/python/module/z5py/__init__.py | isuruf/z5 | 2283297d25672d8cf1dc7ca9d809136dbe6b048c | [
"MIT"
] | null | null | null | from .file import File, N5File, ZarrFile
from .attribute_manager import set_json_encoder, set_json_decoder
| 35.666667 | 65 | 0.850467 | 16 | 107 | 5.375 | 0.6875 | 0.162791 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010417 | 0.102804 | 107 | 2 | 66 | 53.5 | 0.885417 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
17dead90138e414c58a2838e71294de71080de33 | 161 | py | Python | backend/api/ulca-ums-service/user-management/models/__init__.py | agupta54/ulca | c1f570ac254ce2ac73f40c49716458f4f7cbaee2 | [
"MIT"
] | 3 | 2022-01-12T06:51:51.000Z | 2022-02-23T18:54:33.000Z | backend/api/ulca-ums-service/user-management/models/__init__.py | agupta54/ulca | c1f570ac254ce2ac73f40c49716458f4f7cbaee2 | [
"MIT"
] | 6 | 2021-08-31T19:21:26.000Z | 2022-01-03T05:53:42.000Z | backend/api/ulca-ums-service/user-management/models/__init__.py | agupta54/ulca | c1f570ac254ce2ac73f40c49716458f4f7cbaee2 | [
"MIT"
] | 8 | 2021-08-12T08:07:49.000Z | 2022-01-25T04:40:51.000Z | from .users import UserManagementModel
from .user_auth import UserAuthenticationModel
from .response import CustomResponse, post_error
from .status import Status | 40.25 | 48 | 0.869565 | 19 | 161 | 7.263158 | 0.631579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099379 | 161 | 4 | 49 | 40.25 | 0.951724 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
aa2b03e1abc7694074a6cf14cd6865dfabf4caa0 | 10,470 | py | Python | vitis_quantizer/common/vitis_quantizers.py | CruxML/vitis-quantizer | 52bb2f8acc7b02ca57d1e282c49b9a61780c5592 | [
"Apache-2.0"
] | null | null | null | vitis_quantizer/common/vitis_quantizers.py | CruxML/vitis-quantizer | 52bb2f8acc7b02ca57d1e282c49b9a61780c5592 | [
"Apache-2.0"
] | null | null | null | vitis_quantizer/common/vitis_quantizers.py | CruxML/vitis-quantizer | 52bb2f8acc7b02ca57d1e282c49b9a61780c5592 | [
"Apache-2.0"
] | null | null | null | # Copyright 2019 Xilinx 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 writing, ... | 32.616822 | 88 | 0.618338 | 1,205 | 10,470 | 5.146888 | 0.151867 | 0.044985 | 0.029023 | 0.021928 | 0.782006 | 0.775234 | 0.765398 | 0.751854 | 0.751854 | 0.751854 | 0 | 0.004311 | 0.291022 | 10,470 | 320 | 89 | 32.71875 | 0.8312 | 0.266285 | 0 | 0.696809 | 0 | 0 | 0.054573 | 0.020171 | 0 | 0 | 0 | 0 | 0 | 1 | 0.132979 | false | 0 | 0.042553 | 0.037234 | 0.308511 | 0.005319 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
a4aadb9249315ac81d9c2f17e75904e84d7a2dc2 | 111 | py | Python | dtree/__init__.py | zhaoyan1117/DecisionTree | f1db94197abf0e4c2d6da8c547109a24ee89907a | [
"BSD-2-Clause"
] | null | null | null | dtree/__init__.py | zhaoyan1117/DecisionTree | f1db94197abf0e4c2d6da8c547109a24ee89907a | [
"BSD-2-Clause"
] | null | null | null | dtree/__init__.py | zhaoyan1117/DecisionTree | f1db94197abf0e4c2d6da8c547109a24ee89907a | [
"BSD-2-Clause"
] | null | null | null | from .decision_tree import DecisionTree
from .random_forest import RandomForest
from .adaboost import AdaBoost
| 27.75 | 39 | 0.864865 | 14 | 111 | 6.714286 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 111 | 3 | 40 | 37 | 0.949495 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
a4cfcd2d3bdc5ad18df055de23a1f9ad673c0ab8 | 158 | py | Python | clipass/flags.py | itay-bardugo/clipass | 0ed9d21d9941539988ed59b0011bfc4448386a85 | [
"MIT"
] | null | null | null | clipass/flags.py | itay-bardugo/clipass | 0ed9d21d9941539988ed59b0011bfc4448386a85 | [
"MIT"
] | null | null | null | clipass/flags.py | itay-bardugo/clipass | 0ed9d21d9941539988ed59b0011bfc4448386a85 | [
"MIT"
] | null | null | null | import optparse
import clipass.constants
parser = optparse.OptionParser(usage="usage: %prog [options] ", version="%prog 1.0")
# import flags models here
| 15.8 | 84 | 0.740506 | 20 | 158 | 5.85 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014706 | 0.139241 | 158 | 9 | 85 | 17.555556 | 0.845588 | 0.151899 | 0 | 0 | 0 | 0 | 0.246154 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.333333 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
a4d771b1cb54e05a07e2fc3955dffbd1719b4018 | 168 | py | Python | tests/rand/test_sampler.py | ocraft/rl-sandbox | fba6571545cf040829998ba4cd9009a15ac1bbdd | [
"MIT"
] | 2 | 2019-03-23T17:52:39.000Z | 2019-03-29T17:29:52.000Z | tests/rand/test_sampler.py | ocraft/rl-sandbox | fba6571545cf040829998ba4cd9009a15ac1bbdd | [
"MIT"
] | null | null | null | tests/rand/test_sampler.py | ocraft/rl-sandbox | fba6571545cf040829998ba4cd9009a15ac1bbdd | [
"MIT"
] | 2 | 2020-05-19T21:32:52.000Z | 2020-09-30T09:28:45.000Z | from rlbox.rand import Sampler
def test_uses_buffer_of_precomputed_values():
assert len(Sampler.standard_normal(10)) == 10
assert Sampler.randn() is not None
| 24 | 49 | 0.767857 | 25 | 168 | 4.92 | 0.84 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027972 | 0.14881 | 168 | 6 | 50 | 28 | 0.832168 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.25 | true | 0 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
35218caf0609e44fa03d3369bf9e4ffbf9228419 | 66 | py | Python | keys/secret_key.py | MartinMa28/demo_label | 8335f28ebc642d31b0f9f12f5b04e670fc9c819d | [
"MIT"
] | 1 | 2019-10-14T05:43:37.000Z | 2019-10-14T05:43:37.000Z | keys/secret_key.py | MartinMa28/demo_label | 8335f28ebc642d31b0f9f12f5b04e670fc9c819d | [
"MIT"
] | 1 | 2019-07-03T05:16:45.000Z | 2019-07-05T04:37:42.000Z | keys/secret_key.py | MartinMa28/demo_label | 8335f28ebc642d31b0f9f12f5b04e670fc9c819d | [
"MIT"
] | null | null | null | SECRET_KEY = '(1&=nvme)9fn&3-%5+fhyq+a8*ih9v4c2z$k1+j-e4$h2fkc_q'
| 33 | 65 | 0.69697 | 15 | 66 | 2.933333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174603 | 0.045455 | 66 | 1 | 66 | 66 | 0.52381 | 0 | 0 | 0 | 0 | 1 | 0.757576 | 0.757576 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
3527dc5d554a7f3fb664c6c7457952fcc9f88af8 | 67 | py | Python | 6 kyu/Pizza pieces.py | mwk0408/codewars_solutions | 9b4f502b5f159e68024d494e19a96a226acad5e5 | [
"MIT"
] | 6 | 2020-09-03T09:32:25.000Z | 2020-12-07T04:10:01.000Z | 6 kyu/Pizza pieces.py | mwk0408/codewars_solutions | 9b4f502b5f159e68024d494e19a96a226acad5e5 | [
"MIT"
] | 1 | 2021-12-13T15:30:21.000Z | 2021-12-13T15:30:21.000Z | 6 kyu/Pizza pieces.py | mwk0408/codewars_solutions | 9b4f502b5f159e68024d494e19a96a226acad5e5 | [
"MIT"
] | null | null | null | def max_pizza( cut ):
return cut*(cut+1)//2+1 if cut>=0 else -1 | 33.5 | 45 | 0.61194 | 15 | 67 | 2.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092593 | 0.19403 | 67 | 2 | 45 | 33.5 | 0.648148 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
1020195557c216483bc2f566d6088a9671d4813a | 167 | py | Python | mnn_core/nn/ensemble_modules/__init__.py | Acturos/moment_neural_network | c5074b14970f16a007ba5091b07127c4645cd50e | [
"MIT"
] | 1 | 2021-03-02T07:39:53.000Z | 2021-03-02T07:39:53.000Z | mnn_core/nn/ensemble_modules/__init__.py | Acturos/moment_neural_network | c5074b14970f16a007ba5091b07127c4645cd50e | [
"MIT"
] | null | null | null | mnn_core/nn/ensemble_modules/__init__.py | Acturos/moment_neural_network | c5074b14970f16a007ba5091b07127c4645cd50e | [
"MIT"
] | 2 | 2021-03-02T07:40:01.000Z | 2021-03-02T09:14:51.000Z | from .decouple_linear import EnsembleDecoupleLinear
from .ensemble import EnsembleLinearNoRho, EnsembleLinearDuo, ReducedEnsembleLinearDuo, ReducedEnsembleLinearNoRho
| 55.666667 | 114 | 0.904192 | 12 | 167 | 12.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065868 | 167 | 2 | 115 | 83.5 | 0.961538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
1058eb71ed12236b99bb79056e56df236d1cb1cc | 247 | py | Python | app/grandchallenge/participants/apps.py | njmhendrix/grand-challenge.org | 9bc36f5e26561a78bd405e8ea5e4c0f86c95f011 | [
"Apache-2.0"
] | 101 | 2018-04-11T14:48:04.000Z | 2022-03-28T00:29:48.000Z | app/grandchallenge/participants/apps.py | njmhendrix/grand-challenge.org | 9bc36f5e26561a78bd405e8ea5e4c0f86c95f011 | [
"Apache-2.0"
] | 1,733 | 2018-03-21T11:56:16.000Z | 2022-03-31T14:58:30.000Z | app/grandchallenge/participants/apps.py | njmhendrix/grand-challenge.org | 9bc36f5e26561a78bd405e8ea5e4c0f86c95f011 | [
"Apache-2.0"
] | 42 | 2018-06-08T05:49:07.000Z | 2022-03-29T08:43:01.000Z | from django.apps import AppConfig
class ParticipantsConfig(AppConfig):
name = "grandchallenge.participants"
def ready(self):
# noinspection PyUnresolvedReferences
import grandchallenge.participants.signals # noqa: F401
| 24.7 | 64 | 0.744939 | 22 | 247 | 8.363636 | 0.818182 | 0.282609 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015 | 0.190283 | 247 | 9 | 65 | 27.444444 | 0.905 | 0.186235 | 0 | 0 | 0 | 0 | 0.136364 | 0.136364 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
105a931d7a29d349deef86fd5903f5ffacc3a2d7 | 52 | py | Python | src/datetime_experimentation.py | Miktoms/First-Assignment | d6dba9e4554d2ac842b9e290f0623bbb13ce2ef8 | [
"MIT"
] | null | null | null | src/datetime_experimentation.py | Miktoms/First-Assignment | d6dba9e4554d2ac842b9e290f0623bbb13ce2ef8 | [
"MIT"
] | null | null | null | src/datetime_experimentation.py | Miktoms/First-Assignment | d6dba9e4554d2ac842b9e290f0623bbb13ce2ef8 | [
"MIT"
] | null | null | null | import datetime
print(datetime.datetime.now().year) | 26 | 35 | 0.807692 | 7 | 52 | 6 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057692 | 52 | 2 | 35 | 26 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
1069a49b34017643ab454833c84600841311d4d8 | 166 | py | Python | sipam/views/__init__.py | Selfnet/sipam | 32d7fde288cf7200cde170eadbd6b3541fa730fe | [
"Apache-2.0"
] | 2 | 2020-04-19T20:00:32.000Z | 2022-01-01T21:00:06.000Z | sipam/views/__init__.py | Selfnet/sipam | 32d7fde288cf7200cde170eadbd6b3541fa730fe | [
"Apache-2.0"
] | 7 | 2020-06-05T22:41:24.000Z | 2022-02-28T01:42:45.000Z | sipam/views/__init__.py | Selfnet/sipam | 32d7fde288cf7200cde170eadbd6b3541fa730fe | [
"Apache-2.0"
] | null | null | null | from .cidr import CIDRViewSet
from .label import LabelViewSet
from .pool import PoolViewSet
from .token import SIPAMRefreshView, SIPAMTokenVerifyView, SIPAMTokenView
| 33.2 | 73 | 0.855422 | 18 | 166 | 7.888889 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108434 | 166 | 4 | 74 | 41.5 | 0.959459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
52e755eb9daffbea3e509cd5f71112eab90769ef | 122 | py | Python | mjmpc/control/regression.py | mohakbhardwaj/mjmpc | 097e8d9bdaf0b3a15afa39030b2f53b00dfa25de | [
"Apache-2.0"
] | 2 | 2021-08-15T22:23:50.000Z | 2021-12-03T13:09:13.000Z | mjmpc/control/regression.py | mohakbhardwaj/mjmpc | 097e8d9bdaf0b3a15afa39030b2f53b00dfa25de | [
"Apache-2.0"
] | null | null | null | mjmpc/control/regression.py | mohakbhardwaj/mjmpc | 097e8d9bdaf0b3a15afa39030b2f53b00dfa25de | [
"Apache-2.0"
] | 1 | 2022-02-18T10:22:49.000Z | 2022-02-18T10:22:49.000Z | """
Regression utils
"""
class Regressor(object):
def __init__(self):
pass
def fit(self):
pass
| 10.166667 | 24 | 0.557377 | 13 | 122 | 4.923077 | 0.769231 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.319672 | 122 | 11 | 25 | 11.090909 | 0.771084 | 0.131148 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.4 | 0 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
5e0ed8aa7ca32f9d9d7f6fa00264ea69ccd93b2a | 159 | py | Python | package-name/__init__.py | Khhs167/python-package | 3c017b3531b77f66341645e56ff867ffba0b5b86 | [
"MIT"
] | null | null | null | package-name/__init__.py | Khhs167/python-package | 3c017b3531b77f66341645e56ff867ffba0b5b86 | [
"MIT"
] | null | null | null | package-name/__init__.py | Khhs167/python-package | 3c017b3531b77f66341645e56ff867ffba0b5b86 | [
"MIT"
] | null | null | null | #This is only an example init file
import main #Change main to the main file name, exclude .py
import deps #Just the same as above, repeat for any other files
| 39.75 | 63 | 0.773585 | 30 | 159 | 4.1 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188679 | 159 | 3 | 64 | 53 | 0.953488 | 0.811321 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
eaa4229d02198d7631d1e632786a49f261463135 | 158 | py | Python | atl_cache_warmer/tests/test_ConfluenceSite.py | np-at/atl_cache_warmer | 2b56288a26c7e62c97eea0072f0ac0dfcf7379fb | [
"MIT"
] | null | null | null | atl_cache_warmer/tests/test_ConfluenceSite.py | np-at/atl_cache_warmer | 2b56288a26c7e62c97eea0072f0ac0dfcf7379fb | [
"MIT"
] | 1 | 2021-09-20T21:11:26.000Z | 2021-09-20T21:11:26.000Z | atl_cache_warmer/tests/test_ConfluenceSite.py | np-at/atl_cache_warmer | 2b56288a26c7e62c97eea0072f0ac0dfcf7379fb | [
"MIT"
] | null | null | null | from unittest import TestCase
# TODO: Implement Testing
class TestConfluenceSite(TestCase):
def test_run(self):
self.assertTrue(True) # I Suck
| 19.75 | 39 | 0.727848 | 19 | 158 | 6 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.196203 | 158 | 7 | 40 | 22.571429 | 0.897638 | 0.189873 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0.25 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
eac52709d317df81b9a0a0172b02d4cbc309ef50 | 104 | py | Python | python_api/exceptions.py | sven9/python-api | 3396c3f829ced3a0a98591cb0ebf12c37fba710b | [
"MIT"
] | 1 | 2021-04-16T20:39:04.000Z | 2021-04-16T20:39:04.000Z | python_api/exceptions.py | sven9/python-api | 3396c3f829ced3a0a98591cb0ebf12c37fba710b | [
"MIT"
] | null | null | null | python_api/exceptions.py | sven9/python-api | 3396c3f829ced3a0a98591cb0ebf12c37fba710b | [
"MIT"
] | null | null | null | class PythonApiException(Exception):
pass
class RepositoryException(PythonApiException):
pass
| 14.857143 | 46 | 0.788462 | 8 | 104 | 10.25 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 104 | 6 | 47 | 17.333333 | 0.931818 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
eace735b2760e2b3bb9ce44eed5c1284c44562a9 | 2,002 | py | Python | saucisson/cutter.py | gronteix/saucisson | e484014ec306235132cd78fc3dda4c0b7952fc9b | [
"MIT"
] | 1 | 2021-05-30T15:53:13.000Z | 2021-05-30T15:53:13.000Z | saucisson/cutter.py | gronteix/saucisson | e484014ec306235132cd78fc3dda4c0b7952fc9b | [
"MIT"
] | null | null | null | saucisson/cutter.py | gronteix/saucisson | e484014ec306235132cd78fc3dda4c0b7952fc9b | [
"MIT"
] | null | null | null | import math
import numpy as np
import os
def image_cutter(
original_image,
max_image_size = 300,
cut_in_z_direction = False):
multi_matrix = []
codex = []
if not cut_in_z_direction:
for n_x in range(math.ceil(original_image.shape[1]/max_image_size)):
... | 31.777778 | 184 | 0.629371 | 315 | 2,002 | 3.593651 | 0.133333 | 0.190813 | 0.286219 | 0.183746 | 0.831272 | 0.741166 | 0.739399 | 0.674912 | 0.59894 | 0.59894 | 0 | 0.012346 | 0.271728 | 2,002 | 63 | 185 | 31.777778 | 0.76406 | 0 | 0 | 0.421053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.052632 | false | 0 | 0.078947 | 0 | 0.210526 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
eade9a9b89754bc2e457488c6b84b8d4a0f0b60f | 104 | py | Python | test.py | Lioncat2002/KittyScript | abf3eff7aefe8bd20b1d6d9dc2c40968be7f43fd | [
"MIT"
] | 2 | 2021-11-01T10:26:05.000Z | 2021-11-04T06:25:24.000Z | test.py | Lioncat2002/KittyScript | abf3eff7aefe8bd20b1d6d9dc2c40968be7f43fd | [
"MIT"
] | 1 | 2021-11-04T10:31:07.000Z | 2021-11-04T10:31:07.000Z | test.py | Lioncat2002/KittyScript | abf3eff7aefe8bd20b1d6d9dc2c40968be7f43fd | [
"MIT"
] | null | null | null | s=0
for i in range(0,3):
for j in range(0,3):
for k in range(0,3):
s+=1
print(s) | 17.333333 | 28 | 0.471154 | 24 | 104 | 2.041667 | 0.458333 | 0.428571 | 0.489796 | 0.55102 | 0.489796 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 0.365385 | 104 | 6 | 29 | 17.333333 | 0.621212 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
eafe0ee821f2776cab1952dbe8f13a1e0981a8be | 174 | py | Python | aiida_gaussian/tests/__init__.py | eimrek/aiida-gaussian | 9fd5b934ee00eaf029f102acfe6b28a21c0c9f2f | [
"MIT"
] | 3 | 2020-07-09T19:18:12.000Z | 2021-02-08T06:51:02.000Z | aiida_gaussian/tests/__init__.py | eimrek/aiida-gaussian | 9fd5b934ee00eaf029f102acfe6b28a21c0c9f2f | [
"MIT"
] | 3 | 2020-07-17T11:52:34.000Z | 2022-02-15T07:39:25.000Z | aiida_gaussian/tests/__init__.py | eimrek/aiida-gaussian | 9fd5b934ee00eaf029f102acfe6b28a21c0c9f2f | [
"MIT"
] | 1 | 2020-07-16T06:20:22.000Z | 2020-07-16T06:20:22.000Z | """ Tests for the plugin.
"""
from __future__ import absolute_import
from __future__ import print_function
import os
TEST_DIR = os.path.dirname(os.path.realpath(__file__))
| 19.333333 | 54 | 0.787356 | 25 | 174 | 4.88 | 0.68 | 0.163934 | 0.262295 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12069 | 174 | 8 | 55 | 21.75 | 0.797386 | 0.12069 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
d80b1d28892ad450773d63a156e9acf7463ba7e0 | 161 | py | Python | Python/Algorithm/SumDigits.py | piovezan/SOpt | a5ec90796b7bdf98f0675457fc4bb99c8695bc40 | [
"MIT"
] | 148 | 2017-08-03T01:49:27.000Z | 2022-03-26T10:39:30.000Z | Python/Algorithm/SumDigits.py | piovezan/SOpt | a5ec90796b7bdf98f0675457fc4bb99c8695bc40 | [
"MIT"
] | 3 | 2017-11-23T19:52:05.000Z | 2020-04-01T00:44:40.000Z | Python/Algorithm/SumDigits.py | piovezan/SOpt | a5ec90796b7bdf98f0675457fc4bb99c8695bc40 | [
"MIT"
] | 59 | 2017-08-03T01:49:19.000Z | 2022-03-31T23:24:38.000Z | def sum_digits(digit):
return sum(int(x) for x in digit if x.isdigit())
print(sum_digits('texto123numero456x7'))
#https://pt.stackoverflow.com/q/42280/101
| 23 | 52 | 0.732919 | 26 | 161 | 4.461538 | 0.769231 | 0.155172 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104895 | 0.111801 | 161 | 6 | 53 | 26.833333 | 0.706294 | 0.248447 | 0 | 0 | 0 | 0 | 0.158333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 0.666667 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
dc38a4cf3e1c7cad1f260902548bb13ddb04fce6 | 278 | py | Python | WizardVsWorld/classes/phase.py | lukeherczeg/WizardvsWorld | 6ad71512fa9718a6904e273506b953f5c1ebae8a | [
"MIT"
] | 3 | 2020-10-14T13:57:26.000Z | 2021-02-06T20:12:28.000Z | WizardVsWorld/classes/phase.py | lukeherczeg/WizardvsWorld | 6ad71512fa9718a6904e273506b953f5c1ebae8a | [
"MIT"
] | 1 | 2020-11-27T01:51:24.000Z | 2020-11-27T01:51:24.000Z | WizardVsWorld/classes/phase.py | lukeherczeg/WizardvsWorld | 6ad71512fa9718a6904e273506b953f5c1ebae8a | [
"MIT"
] | null | null | null | import abc
class Phase(metaclass=abc.ABCMeta):
"""Represents a in-game phase"""
@abc.abstractmethod
def enter(self):
pass
@abc.abstractmethod
def update(self):
pass
@abc.abstractmethod
def exit(self):
pass
| 16.352941 | 37 | 0.571942 | 30 | 278 | 5.3 | 0.566667 | 0.320755 | 0.377358 | 0.314465 | 0.352201 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.330935 | 278 | 16 | 38 | 17.375 | 0.854839 | 0.093525 | 0 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0.272727 | 0.090909 | 0 | 0.454545 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
f4975675f4233afd6ebaff3e3ce662ffce6f8571 | 95 | py | Python | sommelier/logging/__init__.py | Cobalt0s/sommelier | d64943a5d7be4ecdf08aa18e9f184b757e408425 | [
"MIT"
] | null | null | null | sommelier/logging/__init__.py | Cobalt0s/sommelier | d64943a5d7be4ecdf08aa18e9f184b757e408425 | [
"MIT"
] | null | null | null | sommelier/logging/__init__.py | Cobalt0s/sommelier | d64943a5d7be4ecdf08aa18e9f184b757e408425 | [
"MIT"
] | null | null | null | from sommelier.logging.logger import Judge, pretty, log_info, log_error, log_fatal, find_alias
| 47.5 | 94 | 0.831579 | 15 | 95 | 5 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094737 | 95 | 1 | 95 | 95 | 0.872093 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
f49937fb8f3e42ec157a46f137ada495979a1d61 | 434 | py | Python | timelineApp/api/__init__.py | Chuckle-Doodle/Chuckle-Doodle.github.io | 13d54dcdf11b7f5a3cfd4c28a88f58cd3a5d4c57 | [
"Apache-2.0"
] | null | null | null | timelineApp/api/__init__.py | Chuckle-Doodle/Chuckle-Doodle.github.io | 13d54dcdf11b7f5a3cfd4c28a88f58cd3a5d4c57 | [
"Apache-2.0"
] | 2 | 2021-03-10T14:29:12.000Z | 2021-05-11T10:26:33.000Z | timelineApp/api/__init__.py | Chuckle-Doodle/Chuckle-Doodle.github.io | 13d54dcdf11b7f5a3cfd4c28a88f58cd3a5d4c57 | [
"Apache-2.0"
] | null | null | null | """timelineApp REST API."""
from timelineApp.api.index import get_root
from timelineApp.api.stories import get_stories
from timelineApp.api.stories import get_story
from timelineApp.api.stories import add_story
from timelineApp.api.stories import delete_story
from timelineApp.api.stories import add_question_to_story
f... | 39.454545 | 62 | 0.864055 | 64 | 434 | 5.65625 | 0.25 | 0.331492 | 0.39779 | 0.414365 | 0.635359 | 0.635359 | 0.447514 | 0 | 0 | 0 | 0 | 0 | 0.082949 | 434 | 10 | 63 | 43.4 | 0.909548 | 0.048387 | 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 | 0 | 0 | 0 | 5 |
f49c4f78ab3d094502685297a44717c61ff58bc4 | 188 | py | Python | src/pyquickhelper/jenkinshelper/__init__.py | janjagusch/pyquickhelper | d42e1579ea20f5add9a9cd2b6d2d0a3533aee40b | [
"MIT"
] | 18 | 2015-11-10T08:09:23.000Z | 2022-02-16T11:46:45.000Z | src/pyquickhelper/jenkinshelper/__init__.py | janjagusch/pyquickhelper | d42e1579ea20f5add9a9cd2b6d2d0a3533aee40b | [
"MIT"
] | 321 | 2015-06-14T21:34:28.000Z | 2021-11-28T17:10:03.000Z | src/pyquickhelper/jenkinshelper/__init__.py | janjagusch/pyquickhelper | d42e1579ea20f5add9a9cd2b6d2d0a3533aee40b | [
"MIT"
] | 10 | 2015-06-20T01:35:00.000Z | 2022-01-19T15:54:32.000Z | """
shortcuts to jenkinshelper
"""
from .jenkins_server import JenkinsExt, JenkinsExtException
from .jenkins_helper import default_engines, default_jenkins_jobs, setup_jenkins_server_yml
| 26.857143 | 91 | 0.851064 | 22 | 188 | 6.909091 | 0.681818 | 0.144737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090426 | 188 | 6 | 92 | 31.333333 | 0.888889 | 0.138298 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
f4cd95437a9ad92503a8a9df223c22352d6da3f5 | 89 | py | Python | docktors/__init__.py | Patouche/pydocktors | f0d6bbe70eecdb3cf4f30596205f9c8b3ca11366 | [
"MIT"
] | 4 | 2017-06-25T10:25:48.000Z | 2020-07-19T16:01:41.000Z | docktors/__init__.py | Patouche/pydocktors | f0d6bbe70eecdb3cf4f30596205f9c8b3ca11366 | [
"MIT"
] | null | null | null | docktors/__init__.py | Patouche/pydocktors | f0d6bbe70eecdb3cf4f30596205f9c8b3ca11366 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Docktors modules.
"""
from .decorators import docker # NOQA
| 14.833333 | 38 | 0.617978 | 10 | 89 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013699 | 0.179775 | 89 | 5 | 39 | 17.8 | 0.739726 | 0.505618 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
f4e5d0034ce3df96951e47456fc5ece440c45246 | 415 | py | Python | utils/__init__.py | kpchamp/multiscale_discovery | 428e77925d3f4b0ce9e5c70d87f359f964af9057 | [
"MIT"
] | 18 | 2018-05-26T14:57:37.000Z | 2021-12-28T06:47:17.000Z | utils/__init__.py | Jimmy-INL/MultiscaleDiscovery | 428e77925d3f4b0ce9e5c70d87f359f964af9057 | [
"MIT"
] | null | null | null | utils/__init__.py | Jimmy-INL/MultiscaleDiscovery | 428e77925d3f4b0ce9e5c70d87f359f964af9057 | [
"MIT"
] | 17 | 2018-05-26T14:57:44.000Z | 2021-09-13T07:03:33.000Z | from utils.simulations import simulate_lorenz
from utils.simulations import simulate_rossler
from utils.simulations import simulate_vanderpol_oscillator
from utils.simulations import simulate_duffing_oscillator
from utils.simulations import simulate_coupled_vdp
from utils.simulations import simulate_coupled_vdp_lorenz
... | 37.727273 | 59 | 0.889157 | 57 | 415 | 6.263158 | 0.280702 | 0.226891 | 0.336134 | 0.436975 | 0.683473 | 0.397759 | 0.246499 | 0 | 0 | 0 | 0 | 0 | 0.089157 | 415 | 10 | 60 | 41.5 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
f4f437dbd82cb97caeda91571c1e161bf5c2dcaf | 1,345 | py | Python | node_10_payload/input_converter.py | cmdIrelia/dij-exp-router | f1b0e6a01928ca2422ed9c230a535a69e6408180 | [
"MIT"
] | null | null | null | node_10_payload/input_converter.py | cmdIrelia/dij-exp-router | f1b0e6a01928ca2422ed9c230a535a69e6408180 | [
"MIT"
] | null | null | null | node_10_payload/input_converter.py | cmdIrelia/dij-exp-router | f1b0e6a01928ca2422ed9c230a535a69e6408180 | [
"MIT"
] | null | null | null | s=input().split()
graph_path = list()
graph_path.append(s)
for i in range(len(s)-1):
graph_path.append(input().split())
print('path input done.')
#print(graph_path)
s=input().split()
weight_path = list()
weight_path.append(s)
for i in range(len(s)-1):
weight_path.append(input().split())
print('weight input don... | 35.394737 | 59 | 0.327881 | 242 | 1,345 | 1.780992 | 0.095041 | 0.264501 | 0.257541 | 0.25058 | 0.693736 | 0.415313 | 0.394432 | 0.338747 | 0.241299 | 0.215777 | 0 | 0.16946 | 0.201487 | 1,345 | 38 | 60 | 35.394737 | 0.231844 | 0.737546 | 0 | 0.333333 | 0 | 0 | 0.102719 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.166667 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
f4f49b144fe2237c7596988759b4046a3d1ac81e | 106 | py | Python | models/__init__.py | bykof/weser | 48916232d7beb4d89f5c0826c296023eed2a77df | [
"MIT"
] | 1 | 2020-04-10T04:07:30.000Z | 2020-04-10T04:07:30.000Z | models/__init__.py | bykof/weser | 48916232d7beb4d89f5c0826c296023eed2a77df | [
"MIT"
] | null | null | null | models/__init__.py | bykof/weser | 48916232d7beb4d89f5c0826c296023eed2a77df | [
"MIT"
] | null | null | null | from .humidity import Humidity
from .temperature import Temperature
from .air_pressure import AirPressure
| 26.5 | 37 | 0.858491 | 13 | 106 | 6.923077 | 0.538462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113208 | 106 | 3 | 38 | 35.333333 | 0.957447 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
f4f971fbbbb6df95e057c1ad24300667acacf41f | 176 | py | Python | mplleaflet/mplexporter/__init__.py | KarcyLee/mplleaflet | 0e9c27532eb5cc69ccabd4b2cc3bd2e8b11f151b | [
"BSD-3-Clause"
] | null | null | null | mplleaflet/mplexporter/__init__.py | KarcyLee/mplleaflet | 0e9c27532eb5cc69ccabd4b2cc3bd2e8b11f151b | [
"BSD-3-Clause"
] | null | null | null | mplleaflet/mplexporter/__init__.py | KarcyLee/mplleaflet | 0e9c27532eb5cc69ccabd4b2cc3bd2e8b11f151b | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import (absolute_import, division, print_function)
from .renderers import Renderer
from .exporter import Exporter
| 29.333333 | 66 | 0.767045 | 23 | 176 | 5.608696 | 0.73913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006452 | 0.119318 | 176 | 5 | 67 | 35.2 | 0.825806 | 0.238636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
522f30230c7f6a596aebea293935fd7bf90621ae | 137 | py | Python | pentabarf/Person.py | niranjan94/python-pentabarf-xml | 6222ce6fa2562e3f92e3a207ae7beb1fc5b31b2b | [
"MIT"
] | 3 | 2017-05-14T02:25:42.000Z | 2022-02-03T10:53:42.000Z | pentabarf/Person.py | niranjan94/python-pentabarf-xml | 6222ce6fa2562e3f92e3a207ae7beb1fc5b31b2b | [
"MIT"
] | 5 | 2017-01-10T14:11:14.000Z | 2022-02-03T10:53:09.000Z | pentabarf/Person.py | niranjan94/python-pentabarf-xml | 6222ce6fa2562e3f92e3a207ae7beb1fc5b31b2b | [
"MIT"
] | 4 | 2017-01-10T14:29:40.000Z | 2018-02-03T12:00:55.000Z |
class Person:
id = None
name = None
def __init__(self, id=None, name=None):
self.id = id
self.name = name
| 13.7 | 43 | 0.540146 | 19 | 137 | 3.684211 | 0.421053 | 0.171429 | 0.285714 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.357664 | 137 | 9 | 44 | 15.222222 | 0.795455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
524c5383504113a333c35e4b1792b7be2ae93928 | 48 | py | Python | cvppyez/rest/__init__.py | jeremyschulman/cvp-pyez | 48a2f9e769d7883a04c719c8bdee4ca3d16dc626 | [
"Apache-2.0"
] | 4 | 2019-12-13T22:27:33.000Z | 2020-08-19T21:34:18.000Z | cvppyez/rest/__init__.py | jeremyschulman/cvp-pyez | 48a2f9e769d7883a04c719c8bdee4ca3d16dc626 | [
"Apache-2.0"
] | null | null | null | cvppyez/rest/__init__.py | jeremyschulman/cvp-pyez | 48a2f9e769d7883a04c719c8bdee4ca3d16dc626 | [
"Apache-2.0"
] | null | null | null |
from cvppyez.rest.client import CVPRestClient
| 12 | 45 | 0.833333 | 6 | 48 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 48 | 3 | 46 | 16 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
5251fdbd6e2a972f19869bb270d4d33e939669a3 | 30,584 | py | Python | scripts/Helper.py | GPUPeople/GPUMemManSurvey | 35f933be92a0ef3811a584629c44a782bb3843f5 | [
"MIT"
] | 13 | 2021-02-26T15:15:29.000Z | 2021-09-22T19:06:27.000Z | scripts/Helper.py | GPUPeople/GPUMemManSurvey | 35f933be92a0ef3811a584629c44a782bb3843f5 | [
"MIT"
] | null | null | null | scripts/Helper.py | GPUPeople/GPUMemManSurvey | 35f933be92a0ef3811a584629c44a782bb3843f5 | [
"MIT"
] | 1 | 2021-09-29T21:24:15.000Z | 2021-09-29T21:24:15.000Z | import time
import os
from datetime import datetime
import csv
import math
# import numpy as np
# import matplotlib.pyplot as plt
colours = {
'ActualSize' : 'black',
'BaseLine' : 'black',
'Halloc' : 'orange' ,
'XMalloc' : 'silver',
'Ouroboros-P-VA' : 'lightcoral' , 'Ouroboros-P-VL' : 'darkred' , 'Ouroboros-P-... | 38.762991 | 199 | 0.635823 | 4,067 | 30,584 | 4.635112 | 0.069584 | 0.033102 | 0.019522 | 0.029707 | 0.816455 | 0.774336 | 0.758368 | 0.725214 | 0.672803 | 0.647552 | 0 | 0.016481 | 0.156847 | 30,584 | 788 | 200 | 38.812183 | 0.714546 | 0.321998 | 0 | 0.573395 | 0 | 0 | 0.121692 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.018349 | false | 0 | 0.011468 | 0 | 0.029817 | 0.094037 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
5265f4203176ce9c9629b352659f1b6c81cbce2e | 202 | py | Python | src/prefect/tasks/files/__init__.py | suryatmodulus/prefect | e4ac9f6aa831140c7fba0397f3e5e0884b1b9e42 | [
"Apache-2.0"
] | 3 | 2021-11-09T10:46:58.000Z | 2022-03-11T04:22:35.000Z | src/prefect/tasks/files/__init__.py | suryatmodulus/prefect | e4ac9f6aa831140c7fba0397f3e5e0884b1b9e42 | [
"Apache-2.0"
] | 8 | 2021-10-11T16:42:59.000Z | 2022-03-31T08:42:24.000Z | src/prefect/tasks/files/__init__.py | suryatmodulus/prefect | e4ac9f6aa831140c7fba0397f3e5e0884b1b9e42 | [
"Apache-2.0"
] | 1 | 2022-03-11T04:22:40.000Z | 2022-03-11T04:22:40.000Z | """
Tasks for working with files and filesystems.
"""
from .compression import Unzip, Zip
from .operations import Copy, Glob, Move, Remove
__all__ = ["Copy", "Glob", "Move", "Remove", "Unzip", "Zip"]
| 22.444444 | 60 | 0.683168 | 26 | 202 | 5.153846 | 0.692308 | 0.119403 | 0.179104 | 0.268657 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153465 | 202 | 8 | 61 | 25.25 | 0.783626 | 0.222772 | 0 | 0 | 0 | 0 | 0.174497 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
527698707ef367015c334b25ce6fd173ab820da1 | 2,292 | py | Python | abaqusMacros.py | ruiyan-tud/Casimir-programming | 6709870b9a02adf34e24960e33a10b84290fe5f3 | [
"MIT"
] | null | null | null | abaqusMacros.py | ruiyan-tud/Casimir-programming | 6709870b9a02adf34e24960e33a10b84290fe5f3 | [
"MIT"
] | null | null | null | abaqusMacros.py | ruiyan-tud/Casimir-programming | 6709870b9a02adf34e24960e33a10b84290fe5f3 | [
"MIT"
] | null | null | null | # -*- coding: mbcs -*-
# Do not delete the following import lines
from abaqus import *
from abaqusConstants import *
import __main__
def ww():
import section
import regionToolset
import displayGroupMdbToolset as dgm
import part
import material
import assembly
import step
import interact... | 27.614458 | 98 | 0.691972 | 275 | 2,292 | 5.749091 | 0.261818 | 0.075901 | 0.083491 | 0.142315 | 0.783681 | 0.783681 | 0.750791 | 0.750791 | 0.523719 | 0.523719 | 0 | 0.022071 | 0.229058 | 2,292 | 82 | 99 | 27.95122 | 0.872666 | 0.026614 | 0 | 0.69863 | 0 | 0.027397 | 0.162174 | 0.014825 | 0 | 0 | 0 | 0 | 0 | 1 | 0.041096 | false | 0 | 0.739726 | 0 | 0.780822 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
52821224e8db5bc05abed12756dcccd217bcd05d | 122 | py | Python | TargetCalibSB/stats/__init__.py | sstcam/TargetCalibSB | f327b3e7ed63609c82264962863fc1e686c58858 | [
"BSD-3-Clause"
] | null | null | null | TargetCalibSB/stats/__init__.py | sstcam/TargetCalibSB | f327b3e7ed63609c82264962863fc1e686c58858 | [
"BSD-3-Clause"
] | null | null | null | TargetCalibSB/stats/__init__.py | sstcam/TargetCalibSB | f327b3e7ed63609c82264962863fc1e686c58858 | [
"BSD-3-Clause"
] | null | null | null | from .welfords import welfords_online_algorithm
from .pixel import PixelStats
from .scalar import OnlineStats, OnlineHist
| 30.5 | 47 | 0.860656 | 15 | 122 | 6.866667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106557 | 122 | 3 | 48 | 40.666667 | 0.944954 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
871344dc763213a4c04329485b653919a8d35294 | 72 | py | Python | hihobot_synthesis/__init__.py | Hiroshiba/hihobot-synthesis | 93c149885ec1be5ee9bcfcb8ad99785cb1eb6731 | [
"MIT"
] | 14 | 2018-11-15T02:37:10.000Z | 2022-03-21T09:46:54.000Z | hihobot_synthesis/__init__.py | Hiroshiba/hihobot-synthesis | 93c149885ec1be5ee9bcfcb8ad99785cb1eb6731 | [
"MIT"
] | 2 | 2021-01-21T06:49:51.000Z | 2021-01-25T04:03:52.000Z | hihobot_synthesis/__init__.py | Hiroshiba/hihobot-synthesis | 93c149885ec1be5ee9bcfcb8ad99785cb1eb6731 | [
"MIT"
] | 2 | 2019-04-21T09:15:39.000Z | 2019-11-10T11:12:05.000Z | from .config import load_from_json
from .synthesizer import Synthesizer
| 24 | 36 | 0.861111 | 10 | 72 | 6 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 72 | 2 | 37 | 36 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
8753ad66740eeded7a27f24c8fce0a439e389ca9 | 125 | py | Python | lesson11_1.py | bc1109/ubuntu | 71b3a1bd0b5d027016b5868da9ab442c8e4f49d2 | [
"Apache-2.0"
] | null | null | null | lesson11_1.py | bc1109/ubuntu | 71b3a1bd0b5d027016b5868da9ab442c8e4f49d2 | [
"Apache-2.0"
] | null | null | null | lesson11_1.py | bc1109/ubuntu | 71b3a1bd0b5d027016b5868da9ab442c8e4f49d2 | [
"Apache-2.0"
] | null | null | null | def div42by(divideBy):
return 42 / divideBy
print (div42by(2))
print (div42by(12))
print (div42by(0))
print (div42by(1)) | 17.857143 | 24 | 0.696 | 18 | 125 | 4.833333 | 0.555556 | 0.551724 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.158879 | 0.144 | 125 | 7 | 25 | 17.857143 | 0.654206 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0 | 0.166667 | 0.333333 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 5 |
5e703da781296f1758bba1a6eb7f5f80159e30a4 | 146 | py | Python | starter_code/api_keys.py | Saka3344/python-api-challenge | 4c5e18ddb941fb41da2b1eb5091cc3e86e6ec255 | [
"ADSL"
] | null | null | null | starter_code/api_keys.py | Saka3344/python-api-challenge | 4c5e18ddb941fb41da2b1eb5091cc3e86e6ec255 | [
"ADSL"
] | null | null | null | starter_code/api_keys.py | Saka3344/python-api-challenge | 4c5e18ddb941fb41da2b1eb5091cc3e86e6ec255 | [
"ADSL"
] | null | null | null | # OpenWeatherMap API Key
weather_api_key = "6006d361789a66a63d965d32098db97e"
# Google API Key
g_key = "AIzaSyBkES3rvs8W2Uv7OJXtnd7i86WvOSEJp7A"
| 24.333333 | 52 | 0.842466 | 13 | 146 | 9.230769 | 0.615385 | 0.15 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.244275 | 0.10274 | 146 | 5 | 53 | 29.2 | 0.671756 | 0.253425 | 0 | 0 | 0 | 0 | 0.669811 | 0.669811 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
5e97ceb33d8023f92010d94754eee39895041848 | 57 | py | Python | TutorML/mixture/bayesian_mixture.py | PanJianning/TutorML | f87cbcf4cdfc490338a995dce78a9fc6f5d518ae | [
"BSD-3-Clause"
] | 1 | 2018-08-14T06:55:40.000Z | 2018-08-14T06:55:40.000Z | TutorML/mixture/bayesian_mixture.py | PanJianning/TutorML | f87cbcf4cdfc490338a995dce78a9fc6f5d518ae | [
"BSD-3-Clause"
] | null | null | null | TutorML/mixture/bayesian_mixture.py | PanJianning/TutorML | f87cbcf4cdfc490338a995dce78a9fc6f5d518ae | [
"BSD-3-Clause"
] | null | null | null |
class BayesianGaussianMixture(BaseMixture):
pass | 14.25 | 44 | 0.754386 | 4 | 57 | 10.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192982 | 57 | 4 | 45 | 14.25 | 0.934783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
5e98a125203672c2dc4c55df8811b15aa507354d | 87 | py | Python | ontology/logistic_regression/sherlock/listify_circuits_k08_forward.py | ehbeam/neuro-knowledge-engine | 9dc56ade0bbbd8d14f0660774f787c3f46d7e632 | [
"MIT"
] | 15 | 2020-07-17T07:10:26.000Z | 2022-02-18T05:51:45.000Z | ontology/neural_network/sherlock/listify_circuits_k08_forward.py | YifeiCAO/neuro-knowledge-engine | 9dc56ade0bbbd8d14f0660774f787c3f46d7e632 | [
"MIT"
] | 2 | 2022-01-14T09:10:12.000Z | 2022-01-28T17:32:42.000Z | ontology/neural_network/sherlock/listify_circuits_k08_forward.py | YifeiCAO/neuro-knowledge-engine | 9dc56ade0bbbd8d14f0660774f787c3f46d7e632 | [
"MIT"
] | 4 | 2021-12-22T13:27:32.000Z | 2022-02-18T05:51:47.000Z | #!/bin/python
import listify_circuits
listify_circuits.optimize_circuits(8, 'forward') | 21.75 | 48 | 0.827586 | 11 | 87 | 6.272727 | 0.727273 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012195 | 0.057471 | 87 | 4 | 48 | 21.75 | 0.829268 | 0.137931 | 0 | 0 | 0 | 0 | 0.093333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
0d6671e981c76a7a28915fd3a20c259de06c87c0 | 2,916 | py | Python | public/test/selenium/testcases_tracks.py | AustralianDisabilityLimited/popcorn.webmaker.org | 078d5cef16122f53e064a742e585bb0e76f3df84 | [
"MIT"
] | 75 | 2015-01-16T19:07:49.000Z | 2021-11-27T20:12:56.000Z | public/test/selenium/testcases_tracks.py | AustralianDisabilityLimited/popcorn.webmaker.org | 078d5cef16122f53e064a742e585bb0e76f3df84 | [
"MIT"
] | 49 | 2015-01-20T17:48:19.000Z | 2016-01-07T18:46:03.000Z | public/test/selenium/testcases_tracks.py | kaltura/popcorn.webmaker.org | 9fd7b0ca287484ad3641370f96dd5feacbcbdf29 | [
"MIT"
] | 74 | 2015-01-08T11:34:17.000Z | 2022-01-18T02:39:45.000Z | from selenium import selenium
import unittest, time, re, sys
sys.path.append( "../../../../content/" );
import testvars
global btv
btv = testvars.ButterTestVariables
class testcase_TrackDrop(unittest.TestCase):
def setUp( self ):
self.verificationErrors = []
self.selenium = selenium( btv["Host"],
... | 36.911392 | 73 | 0.581962 | 331 | 2,916 | 4.969789 | 0.247734 | 0.036474 | 0.087538 | 0.138602 | 0.877204 | 0.789666 | 0.774468 | 0.745289 | 0.682675 | 0.628571 | 0 | 0.028257 | 0.283951 | 2,916 | 78 | 74 | 37.384615 | 0.759579 | 0.014403 | 0 | 0.676471 | 0 | 0 | 0.159819 | 0.038301 | 0 | 0 | 0 | 0 | 0.029412 | 1 | 0.088235 | false | 0.029412 | 0.044118 | 0 | 0.161765 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
0d7fa0fec495e512904fa7eca202def77ef926e2 | 65 | py | Python | app/controllers/__init__.py | shanesaravia/blackcart-api | de4a0ea8cef0a602f4c00a933ac791fa688a0f71 | [
"MIT"
] | null | null | null | app/controllers/__init__.py | shanesaravia/blackcart-api | de4a0ea8cef0a602f4c00a933ac791fa688a0f71 | [
"MIT"
] | null | null | null | app/controllers/__init__.py | shanesaravia/blackcart-api | de4a0ea8cef0a602f4c00a933ac791fa688a0f71 | [
"MIT"
] | null | null | null | from .Shopify import Shopify
from .Woocommerce import Woocommerce | 32.5 | 36 | 0.861538 | 8 | 65 | 7 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107692 | 65 | 2 | 36 | 32.5 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
0d92e66b81dc20382d816f1ee6276ec214f8b6d1 | 236 | py | Python | src/hub/dataload/sources/ensembl_fungi/__init__.py | mlebeur/mygene.info | e71ca89c2b1c546c260101286ad5419503fd6653 | [
"Apache-2.0"
] | 78 | 2017-05-26T08:38:25.000Z | 2022-02-25T08:55:31.000Z | src/hub/dataload/sources/ensembl_fungi/__init__.py | mlebeur/mygene.info | e71ca89c2b1c546c260101286ad5419503fd6653 | [
"Apache-2.0"
] | 105 | 2017-05-18T21:57:13.000Z | 2022-03-18T21:41:47.000Z | src/hub/dataload/sources/ensembl_fungi/__init__.py | mlebeur/mygene.info | e71ca89c2b1c546c260101286ad5419503fd6653 | [
"Apache-2.0"
] | 19 | 2017-06-12T18:31:54.000Z | 2021-11-10T00:04:43.000Z | from .dump import EnsemblFungiBioMart
from .upload import (EnsemblFungiPrositeUploader, EnsemblFungiPfamUploader,
EnsemblFungiInterproUploader, EnsemblFungiGenomicPosUploader,
EnsemblFungiGeneUploader, EnsemblFungiAccUploader)
| 47.2 | 76 | 0.868644 | 13 | 236 | 15.769231 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09322 | 236 | 4 | 77 | 59 | 0.957944 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
0dd75a2f45e8c6c150cca3c5e728be06c3f3e8fa | 653,754 | py | Python | Lib/site-packages/uflash.py | KarmaScripter/PiggyPy | 25ba1d0c8933a0cb655f09db6c228f74f4d52894 | [
"MIT"
] | null | null | null | Lib/site-packages/uflash.py | KarmaScripter/PiggyPy | 25ba1d0c8933a0cb655f09db6c228f74f4d52894 | [
"MIT"
] | null | null | null | Lib/site-packages/uflash.py | KarmaScripter/PiggyPy | 25ba1d0c8933a0cb655f09db6c228f74f4d52894 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
This module contains functions for turning a Python script into a .hex file
and flashing it onto a BBC micro:bit.
Copyright (c) 2015-2018 Nicholas H.Tollervey and others.
See the LICENSE file for more information, or visit:
https://opensource.org/licenses/MIT
"""
from __future__ import p... | 43.741068 | 79 | 0.946344 | 16,709 | 653,754 | 37.01191 | 0.895865 | 0.000427 | 0.000103 | 0.000149 | 0.002086 | 0.001488 | 0.000944 | 0.00055 | 0.000505 | 0.000505 | 0 | 0.750581 | 0.029135 | 653,754 | 14,945 | 80 | 43.743995 | 0.223777 | 0.008258 | 0 | 0.002442 | 0 | 0 | 0.985794 | 0.960956 | 0 | 0 | 0.000045 | 0 | 0 | 1 | 0.00095 | false | 0.000068 | 0.000746 | 0 | 0.002782 | 0.000475 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
0df89efd3b47376194817eeabb07098f53f8477a | 632 | py | Python | cog/views/__init__.py | William-Hill/COG | 4f87fa7cb19d67ee27bae3b991be73427ee449bf | [
"BSD-3-Clause"
] | null | null | null | cog/views/__init__.py | William-Hill/COG | 4f87fa7cb19d67ee27bae3b991be73427ee449bf | [
"BSD-3-Clause"
] | 1 | 2020-03-23T10:19:33.000Z | 2020-03-23T10:19:33.000Z | cog/views/__init__.py | cedadev/COG | 6167f9114c7cf0422b34fb9f5f3f07f9657a7dbe | [
"BSD-3-Clause"
] | null | null | null | from cog.views.constants import *
from views_templated import *
from views_bookmarks import *
from views_account import *
from views_datacart import *
from views_doc import *
from views_external_urls import *
from views_account import *
from views_governance import *
from views_admin import *
from views_membership impo... | 30.095238 | 44 | 0.81962 | 94 | 632 | 5.287234 | 0.276596 | 0.402414 | 0.482897 | 0.144869 | 0.287726 | 0.148893 | 0.148893 | 0 | 0 | 0 | 0 | 0 | 0.131329 | 632 | 21 | 45 | 30.095238 | 0.905282 | 0 | 0 | 0.095238 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
2190e7e5eb76f3f65b9d1e96d1617c3a1251f19c | 88 | py | Python | enthought/mayavi/filters/tube.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 3 | 2016-12-09T06:05:18.000Z | 2018-03-01T13:00:29.000Z | enthought/mayavi/filters/tube.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 1 | 2020-12-02T00:51:32.000Z | 2020-12-02T08:48:55.000Z | enthought/mayavi/filters/tube.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | null | null | null | # proxy module
from __future__ import absolute_import
from mayavi.filters.tube import *
| 22 | 38 | 0.829545 | 12 | 88 | 5.666667 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 88 | 3 | 39 | 29.333333 | 0.883117 | 0.136364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
21b38bbf53317ebecef879265791e1e3379c91ee | 91 | py | Python | powerrelay/controllers/__init__.py | hundeboll/labgrid-powerrelay | bf5d2e11e0f594757d3d97a6a9f38480713aaace | [
"MIT"
] | 2 | 2019-01-02T16:33:34.000Z | 2020-05-25T15:38:06.000Z | powerrelay/controllers/__init__.py | hundeboll/labgrid-powerrelay | bf5d2e11e0f594757d3d97a6a9f38480713aaace | [
"MIT"
] | 2 | 2018-12-18T15:55:43.000Z | 2021-11-15T17:47:59.000Z | powerrelay/controllers/__init__.py | hundeboll/labgrid-powerrelay | bf5d2e11e0f594757d3d97a6a9f38480713aaace | [
"MIT"
] | 3 | 2018-11-27T07:37:11.000Z | 2019-01-09T13:49:35.000Z | # -*- coding: utf-8 -*-
"""
Library package for controllers.
"""
from .relay import *
| 13 | 36 | 0.582418 | 10 | 91 | 5.3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014085 | 0.21978 | 91 | 6 | 37 | 15.166667 | 0.732394 | 0.604396 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
21e7e6c89ae18f4d0d91e5f33d029112ab693cde | 75 | py | Python | cysecuretools/targets/cyb06xxa/__init__.py | cypresssemiconductorco/cysecuretools | f27b6a7a5d5829427d746bac046c496bfe2b5898 | [
"Apache-2.0"
] | 9 | 2019-09-16T19:33:20.000Z | 2020-11-05T00:56:20.000Z | cysecuretools/targets/cyb06xxa/__init__.py | Infineon/cysecuretools | f27b6a7a5d5829427d746bac046c496bfe2b5898 | [
"Apache-2.0"
] | 1 | 2021-04-16T08:17:16.000Z | 2021-05-21T05:55:58.000Z | cysecuretools/targets/cyb06xxa/__init__.py | Infineon/cysecuretools | f27b6a7a5d5829427d746bac046c496bfe2b5898 | [
"Apache-2.0"
] | 1 | 2019-10-03T17:24:24.000Z | 2019-10-03T17:24:24.000Z | from cysecuretools.targets.cyb06xxa.target_builder import CYB06xxA_Builder
| 37.5 | 74 | 0.906667 | 9 | 75 | 7.333333 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056338 | 0.053333 | 75 | 1 | 75 | 75 | 0.873239 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
1d02d176d140037324eb0c2f01d3364d514e4259 | 396 | py | Python | mpire/dashboard/__init__.py | synapticarbors/mpire | 058c32cb046ca7e31b73a1d847d698fc38e14b8a | [
"MIT"
] | 505 | 2020-09-03T17:31:16.000Z | 2022-03-31T14:09:40.000Z | mpire/dashboard/__init__.py | synapticarbors/mpire | 058c32cb046ca7e31b73a1d847d698fc38e14b8a | [
"MIT"
] | 20 | 2021-08-29T06:00:54.000Z | 2022-03-31T14:58:02.000Z | mpire/dashboard/__init__.py | synapticarbors/mpire | 058c32cb046ca7e31b73a1d847d698fc38e14b8a | [
"MIT"
] | 19 | 2020-09-04T13:52:52.000Z | 2022-02-21T20:53:59.000Z | try:
from mpire.dashboard.dashboard import connect_to_dashboard, start_dashboard
except (ImportError, ModuleNotFoundError):
def connect_to_dashboard(*_, **__):
raise NotImplementedError("Install the dashboard dependencies to enable the dashboard")
def start_dashboard(*_, **__):
raise NotImp... | 44 | 95 | 0.767677 | 41 | 396 | 7.121951 | 0.439024 | 0.164384 | 0.123288 | 0.273973 | 0.575342 | 0.575342 | 0.575342 | 0.575342 | 0.575342 | 0.575342 | 0 | 0 | 0.156566 | 396 | 8 | 96 | 49.5 | 0.874252 | 0 | 0 | 0.285714 | 0 | 0 | 0.292929 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | true | 0 | 0.285714 | 0 | 0.571429 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
1d058a9ab1bd26ecbafa89fd5a665a14d69e1994 | 121 | py | Python | tools/DiversityTools/distributions/setup.py | klocey/simplex | 69fdb4951f5bd3181e3403ae91253f096e8ba7f3 | [
"MIT"
] | 4 | 2017-07-27T08:49:17.000Z | 2021-09-10T18:32:52.000Z | tools/DiversityTools/distributions/setup.py | klocey/simplex | 69fdb4951f5bd3181e3403ae91253f096e8ba7f3 | [
"MIT"
] | null | null | null | tools/DiversityTools/distributions/setup.py | klocey/simplex | 69fdb4951f5bd3181e3403ae91253f096e8ba7f3 | [
"MIT"
] | 5 | 2017-09-24T18:57:39.000Z | 2021-09-10T18:32:59.000Z | from distutils.core import setup
from Cython.Build import cythonize
setup(ext_modules = cythonize("distributions.pyx"))
| 24.2 | 51 | 0.818182 | 16 | 121 | 6.125 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099174 | 121 | 4 | 52 | 30.25 | 0.899083 | 0 | 0 | 0 | 0 | 0 | 0.140496 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
df02e9a225e3f0e7ee94ba8f8f69b428815fe17f | 17 | py | Python | lstchain/calib/camera/__init__.py | sn621/cta-lstchain | d846d3b761d265e800026df4096d77eb4e5be8c3 | [
"BSD-3-Clause"
] | null | null | null | lstchain/calib/camera/__init__.py | sn621/cta-lstchain | d846d3b761d265e800026df4096d77eb4e5be8c3 | [
"BSD-3-Clause"
] | null | null | null | lstchain/calib/camera/__init__.py | sn621/cta-lstchain | d846d3b761d265e800026df4096d77eb4e5be8c3 | [
"BSD-3-Clause"
] | null | null | null | from .r0 import * | 17 | 17 | 0.705882 | 3 | 17 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 0.176471 | 17 | 1 | 17 | 17 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
df21789043df3d6b7b5054a68c98ee0abc4d3123 | 7,136 | py | Python | cogs/Simulator.py | Trademarked1/Mecha-Karen-Source-Code | e366d9ee0a61af886f8937129e7caaa7eeee2d13 | [
"Apache-2.0"
] | null | null | null | cogs/Simulator.py | Trademarked1/Mecha-Karen-Source-Code | e366d9ee0a61af886f8937129e7caaa7eeee2d13 | [
"Apache-2.0"
] | null | null | null | cogs/Simulator.py | Trademarked1/Mecha-Karen-Source-Code | e366d9ee0a61af886f8937129e7caaa7eeee2d13 | [
"Apache-2.0"
] | null | null | null | import discord
from discord.ext import commands
from PIL import Image
import random
class Simulate(commands.Cog):
def __init__(self, bot):
self.bot = bot
@commands.Cog.listener()
async def on_ready(self):
print('Simulate Cog is ready')
@commands.command()
async def S... | 33.980952 | 89 | 0.52116 | 831 | 7,136 | 4.316486 | 0.146811 | 0.066908 | 0.055199 | 0.085308 | 0.764985 | 0.764985 | 0.764985 | 0.764985 | 0.764985 | 0.764985 | 0 | 0.027778 | 0.35426 | 7,136 | 209 | 90 | 34.143541 | 0.750651 | 0 | 0 | 0.688312 | 0 | 0 | 0.143352 | 0.064386 | 0 | 0 | 0 | 0 | 0 | 1 | 0.012987 | false | 0.006494 | 0.025974 | 0 | 0.045455 | 0.006494 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
df32bd147d333775f5eeb2b0053bbd0f58dc993a | 2,326 | py | Python | django_eveonline_connector/tests/utilities.py | KryptedGaming/django-eveonline-connector | 95fa146f4fcdf6bce84548b5cac1e5bf09cd72a0 | [
"MIT"
] | 3 | 2020-03-07T13:58:45.000Z | 2021-02-06T20:16:50.000Z | django_eveonline_connector/tests/utilities.py | KryptedGaming/django-eveonline-connector | 95fa146f4fcdf6bce84548b5cac1e5bf09cd72a0 | [
"MIT"
] | 66 | 2019-12-17T20:54:22.000Z | 2021-06-10T20:39:04.000Z | django_eveonline_connector/tests/utilities.py | KryptedGaming/django-eveonline-connector | 95fa146f4fcdf6bce84548b5cac1e5bf09cd72a0 | [
"MIT"
] | 2 | 2020-01-17T20:04:52.000Z | 2021-07-11T22:11:42.000Z | import uuid
import datetime
from django_eveonline_connector.models import EveToken, EveScope, EveCharacter, EveCorporation, EveAlliance
from unittest.mock import patch
def mock_raise_exception(*args, **kwargs):
raise Exception('test')
def random_external_id():
return uuid.uuid4().int & (1 << 32)-1
def cle... | 28.365854 | 107 | 0.681857 | 268 | 2,326 | 5.746269 | 0.223881 | 0.075974 | 0.038961 | 0.042208 | 0.750649 | 0.750649 | 0.74026 | 0.74026 | 0.74026 | 0.74026 | 0 | 0.018667 | 0.193895 | 2,326 | 81 | 108 | 28.716049 | 0.802667 | 0 | 0 | 0.634921 | 0 | 0 | 0.090284 | 0.052451 | 0 | 0 | 0 | 0 | 0 | 1 | 0.079365 | false | 0 | 0.063492 | 0.015873 | 0.190476 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
df5d949676db95a75952d8b194e0681253dfe8e1 | 103 | py | Python | plasmapy/plasma/sources/__init__.py | kjmontes/PlasmaPy | 9e8377b211fc0ab07d417df1e50eccec66ab159b | [
"MIT",
"BSD-2-Clause-Patent",
"BSD-2-Clause",
"BSD-3-Clause"
] | 1 | 2021-04-20T00:07:30.000Z | 2021-04-20T00:07:30.000Z | plasmapy/plasma/sources/__init__.py | kjmontes/PlasmaPy | 9e8377b211fc0ab07d417df1e50eccec66ab159b | [
"MIT",
"BSD-2-Clause-Patent",
"BSD-2-Clause",
"BSD-3-Clause"
] | 18 | 2018-04-08T08:27:35.000Z | 2022-03-18T17:34:34.000Z | plasmapy/plasma/sources/__init__.py | kjmontes/PlasmaPy | 9e8377b211fc0ab07d417df1e50eccec66ab159b | [
"MIT",
"BSD-2-Clause-Patent",
"BSD-2-Clause",
"BSD-3-Clause"
] | 3 | 2017-07-19T07:28:21.000Z | 2020-06-24T18:34:07.000Z | from .openpmd_hdf5 import HDF5Reader
from .plasma3d import Plasma3D
from .plasmablob import PlasmaBlob
| 25.75 | 36 | 0.854369 | 13 | 103 | 6.692308 | 0.538462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043956 | 0.116505 | 103 | 3 | 37 | 34.333333 | 0.912088 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
df76c5c69a1cd9cbbd640c1b06fa55f77f5b90e6 | 119 | py | Python | Solutions/6kyu/6kyu_valid_phone_number.py | citrok25/Codewars-1 | dc641c5079e2e8b5955eb027fd15427e5bdb2e26 | [
"MIT"
] | 46 | 2017-08-24T09:27:57.000Z | 2022-02-25T02:24:33.000Z | Solutions/6kyu/6kyu_valid_phone_number.py | abbhishek971/Codewars | 9e761811db724da1e8aae44594df42b4ee879a16 | [
"MIT"
] | null | null | null | Solutions/6kyu/6kyu_valid_phone_number.py | abbhishek971/Codewars | 9e761811db724da1e8aae44594df42b4ee879a16 | [
"MIT"
] | 35 | 2017-08-01T22:09:48.000Z | 2022-02-18T17:21:37.000Z | def validPhoneNumber(phoneNumber):
return bool(__import__('re').fullmatch('\(\d{3}\)\s\d{3}\-\d{4}', phoneNumber))
| 39.666667 | 83 | 0.663866 | 16 | 119 | 4.6875 | 0.75 | 0.053333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027273 | 0.07563 | 119 | 2 | 84 | 59.5 | 0.654545 | 0 | 0 | 0 | 0 | 0 | 0.210084 | 0.193277 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0.5 | 0.5 | 1.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 5 |
10c6825167e91195d0ae867521c5e34993385228 | 13 | py | Python | Task/Add-a-variable-to-a-class-instance-at-runtime/Python/add-a-variable-to-a-class-instance-at-runtime-2.py | LaudateCorpus1/RosettaCodeData | 9ad63ea473a958506c041077f1d810c0c7c8c18d | [
"Info-ZIP"
] | 1 | 2018-11-09T22:08:38.000Z | 2018-11-09T22:08:38.000Z | Task/Add-a-variable-to-a-class-instance-at-runtime/Python/add-a-variable-to-a-class-instance-at-runtime-2.py | seanwallawalla-forks/RosettaCodeData | 9ad63ea473a958506c041077f1d810c0c7c8c18d | [
"Info-ZIP"
] | null | null | null | Task/Add-a-variable-to-a-class-instance-at-runtime/Python/add-a-variable-to-a-class-instance-at-runtime-2.py | seanwallawalla-forks/RosettaCodeData | 9ad63ea473a958506c041077f1d810c0c7c8c18d | [
"Info-ZIP"
] | 1 | 2018-11-09T22:08:40.000Z | 2018-11-09T22:08:40.000Z | e.foo = 1
| 6.5 | 12 | 0.384615 | 3 | 13 | 1.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0.461538 | 13 | 1 | 13 | 13 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
10cc1e60ac581ad79b0e0a5bebfdd96b037b5220 | 841 | py | Python | terrascript/vault/d.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 507 | 2017-07-26T02:58:38.000Z | 2022-01-21T12:35:13.000Z | terrascript/vault/d.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 135 | 2017-07-20T12:01:59.000Z | 2021-10-04T22:25:40.000Z | terrascript/vault/d.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 81 | 2018-02-20T17:55:28.000Z | 2022-01-31T07:08:40.000Z | # terrascript/vault/d.py
# Automatically generated by tools/makecode.py ()
import warnings
warnings.warn(
"using the 'legacy layout' is deprecated", DeprecationWarning, stacklevel=2
)
import terrascript
class vault_approle_auth_backend_role_id(terrascript.Data):
pass
class vault_auth_backend(terrascript.D... | 16.82 | 79 | 0.789536 | 104 | 841 | 6.105769 | 0.403846 | 0.15748 | 0.299213 | 0.340157 | 0.555906 | 0.418898 | 0.302362 | 0.15748 | 0 | 0 | 0 | 0.001383 | 0.140309 | 841 | 49 | 80 | 17.163265 | 0.876902 | 0.083234 | 0 | 0.4 | 1 | 0 | 0.050781 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.4 | 0.08 | 0 | 0.48 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
10d1485ac3d02acac0026ebe6be3f205c754c000 | 351 | py | Python | tests_integration/create_test_data.py | MacHu-GWU/s3splitmerge-project | 873892158f4a2d0ee20f291e5d3b2a80f0bae1ba | [
"MIT"
] | null | null | null | tests_integration/create_test_data.py | MacHu-GWU/s3splitmerge-project | 873892158f4a2d0ee20f291e5d3b2a80f0bae1ba | [
"MIT"
] | null | null | null | tests_integration/create_test_data.py | MacHu-GWU/s3splitmerge-project | 873892158f4a2d0ee20f291e5d3b2a80f0bae1ba | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from s3splitmerge.tests import data
if __name__ == "__main__":
data.create_csv_1MB(overwrite=True)
data.create_csv_1GB(overwrite=False)
data.create_json_1MB(overwrite=True)
data.create_json_1GB(overwrite=False)
data.create_parquet_1MB(overwrite=True)
data.create_parquet... | 27 | 44 | 0.746439 | 48 | 351 | 5.041667 | 0.4375 | 0.247934 | 0.198347 | 0.247934 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026578 | 0.14245 | 351 | 12 | 45 | 29.25 | 0.777409 | 0.059829 | 0 | 0 | 0 | 0 | 0.02439 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.111111 | 0.111111 | 0 | 0.111111 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.