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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
68b58237ea36db794b699f57c65a8ae384c67d91 | 16,511 | py | Python | hazm/WordTokenizer.py | lingwndr/hazm | 2af5665dfb19225c9433b955b6a3a7d370b96c13 | [
"MIT"
] | null | null | null | hazm/WordTokenizer.py | lingwndr/hazm | 2af5665dfb19225c9433b955b6a3a7d370b96c13 | [
"MIT"
] | null | null | null | hazm/WordTokenizer.py | lingwndr/hazm | 2af5665dfb19225c9433b955b6a3a7d370b96c13 | [
"MIT"
] | null | null | null | # coding: utf-8
from __future__ import unicode_literals
import re, codecs
from .utils import words_list, default_words, default_verbs
from nltk.tokenize.api import TokenizerI
import string
class WordTokenizer(TokenizerI):
"""
>>> tokenizer = WordTokenizer()
>>> tokenizer.tokenize('این جمله (خیلی) پیچیده نیست!!!')
... | 117.099291 | 10,028 | 0.793471 | 2,017 | 16,511 | 6.423401 | 0.638076 | 0.010497 | 0.017058 | 0.010497 | 0.069003 | 0.039673 | 0.027864 | 0.004014 | 0.004014 | 0.004014 | 0 | 0.401893 | 0.052995 | 16,511 | 140 | 10,029 | 117.935714 | 0.423766 | 0.107504 | 0 | 0.025316 | 0 | 0.037975 | 0.758555 | 0.69591 | 0 | 0 | 0 | 0.007143 | 0 | 1 | 0.037975 | false | 0 | 0.063291 | 0 | 0.139241 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d7acf5b5786e5c233aebfbfa7c30d5010a468d91 | 379 | py | Python | pybrain/structure/connections/__init__.py | sveilleux1/pybrain | 1e1de73142c290edb84e29ca7850835f3e7bca8b | [
"BSD-3-Clause"
] | 2,208 | 2015-01-02T02:14:41.000Z | 2022-03-31T04:45:46.000Z | pybrain/structure/connections/__init__.py | sveilleux1/pybrain | 1e1de73142c290edb84e29ca7850835f3e7bca8b | [
"BSD-3-Clause"
] | 91 | 2015-01-08T16:42:16.000Z | 2021-12-11T19:16:35.000Z | pybrain/structure/connections/__init__.py | sveilleux1/pybrain | 1e1de73142c290edb84e29ca7850835f3e7bca8b | [
"BSD-3-Clause"
] | 786 | 2015-01-02T15:18:20.000Z | 2022-02-23T23:42:40.000Z | from pybrain.structure.connections.full import FullConnection
from pybrain.structure.connections.identity import IdentityConnection
from pybrain.structure.connections.shared import SharedFullConnection, MotherConnection, SharedConnection
from pybrain.structure.connections.linear import LinearConnection
from pybrain.str... | 75.8 | 105 | 0.899736 | 37 | 379 | 9.216216 | 0.459459 | 0.16129 | 0.293255 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055409 | 379 | 5 | 106 | 75.8 | 0.952514 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cc2acf30832ff2f621fe8ccce390cbd59bba315f | 122 | py | Python | eex/translators/__init__.py | dgasmith/EEX | 7608c9ef25931040524c75d227f0bee18de9ddc1 | [
"BSD-3-Clause"
] | 7 | 2018-04-03T18:12:04.000Z | 2020-03-27T07:52:49.000Z | eex/translators/__init__.py | dgasmith/EEX | 7608c9ef25931040524c75d227f0bee18de9ddc1 | [
"BSD-3-Clause"
] | 43 | 2018-04-03T20:18:23.000Z | 2018-10-16T02:28:34.000Z | eex/translators/__init__.py | dgasmith/EEX | 7608c9ef25931040524c75d227f0bee18de9ddc1 | [
"BSD-3-Clause"
] | 3 | 2018-04-06T15:51:37.000Z | 2018-07-31T18:53:06.000Z | """
A file that aggregates the EEX translator classes
"""
from . import lammps
from . import amber
from . import gromacs
| 15.25 | 49 | 0.737705 | 17 | 122 | 5.294118 | 0.764706 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188525 | 122 | 7 | 50 | 17.428571 | 0.909091 | 0.401639 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
042d63a5e2a64df002084e2cef91f945df84c992 | 128 | py | Python | bootcamp/contacts/admin.py | nandkumar1996/sharebox-portal | 1b4fb60c776d42271a03997ab47f4da67463ad91 | [
"MIT"
] | null | null | null | bootcamp/contacts/admin.py | nandkumar1996/sharebox-portal | 1b4fb60c776d42271a03997ab47f4da67463ad91 | [
"MIT"
] | null | null | null | bootcamp/contacts/admin.py | nandkumar1996/sharebox-portal | 1b4fb60c776d42271a03997ab47f4da67463ad91 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Contact_form
# Register your models here.
admin.site.register(Contact_form) | 32 | 33 | 0.835938 | 19 | 128 | 5.526316 | 0.631579 | 0.209524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101563 | 128 | 4 | 33 | 32 | 0.913043 | 0.203125 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
044645b7e77ca2e08c89225fceefd08f4eef8777 | 284 | py | Python | main/repository/CarRepository.py | KesharaWaidyarathna/Lambo_ChatBot_AI | 2ef599d0c5a5a9730e218d62f869e01188c60e43 | [
"BSD-3-Clause"
] | null | null | null | main/repository/CarRepository.py | KesharaWaidyarathna/Lambo_ChatBot_AI | 2ef599d0c5a5a9730e218d62f869e01188c60e43 | [
"BSD-3-Clause"
] | null | null | null | main/repository/CarRepository.py | KesharaWaidyarathna/Lambo_ChatBot_AI | 2ef599d0c5a5a9730e218d62f869e01188c60e43 | [
"BSD-3-Clause"
] | null | null | null | from abc import ABC, abstractmethod
class CarRepository(ABC):
@abstractmethod
def get_all(self): pass
@abstractmethod
def find_by_brand(self, brand): pass
@abstractmethod
def get_min_price(self): pass
@abstractmethod
def get_max_price(self): pass
| 17.75 | 40 | 0.711268 | 36 | 284 | 5.416667 | 0.472222 | 0.348718 | 0.307692 | 0.25641 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214789 | 284 | 15 | 41 | 18.933333 | 0.874439 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.4 | 0.1 | 0 | 0.6 | 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 | 1 | 0 | 0 | 6 |
045bf821e75c89b1e5315c011c76569b1b106544 | 96 | py | Python | venv/lib/python3.8/site-packages/chardet/langhungarianmodel.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | null | null | null | venv/lib/python3.8/site-packages/chardet/langhungarianmodel.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | null | null | null | venv/lib/python3.8/site-packages/chardet/langhungarianmodel.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/38/30/22/b2fa827deb3c07815ec8cfcf83d1d8dd90e7132682893e01c72ce873ac | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.416667 | 0 | 96 | 1 | 96 | 96 | 0.479167 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f0b6bbb2efadbb4feb5814f2eddfd4f6e4d1c9bb | 24 | py | Python | src/graph_db/console/__init__.py | ilya16/graph-db | 6b35130c3fb540f030e65cdf309419f75f94cedf | [
"MIT"
] | 9 | 2018-04-27T07:49:08.000Z | 2021-03-15T12:06:23.000Z | src/graph_db/console/__init__.py | ilya16/graph-db | 6b35130c3fb540f030e65cdf309419f75f94cedf | [
"MIT"
] | 14 | 2018-04-10T13:09:34.000Z | 2018-05-07T21:40:01.000Z | src/graph_db/console/__init__.py | ilya16/graph-db | 6b35130c3fb540f030e65cdf309419f75f94cedf | [
"MIT"
] | null | null | null | from .console import run | 24 | 24 | 0.833333 | 4 | 24 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 24 | 1 | 24 | 24 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f0cc5954fc7814ac16604a70969becddba54d0eb | 21 | py | Python | libs/file/nxpy/core/file/__init__.py | nmusatti/nxpy | 68568e71ee3c3ecb0b467cb8d25d76eb03c81205 | [
"BSL-1.0"
] | 5 | 2019-08-16T09:48:35.000Z | 2021-03-23T09:56:44.000Z | libs/file/nxpy/core/file/__init__.py | nmusatti/nxpy | 68568e71ee3c3ecb0b467cb8d25d76eb03c81205 | [
"BSL-1.0"
] | 1 | 2019-01-17T14:11:56.000Z | 2019-01-18T17:56:35.000Z | libs/file/nxpy/core/file/__init__.py | nmusatti/nxpy | 68568e71ee3c3ecb0b467cb8d25d76eb03c81205 | [
"BSL-1.0"
] | 2 | 2019-02-09T17:57:00.000Z | 2019-08-30T08:06:01.000Z | from .file import *
| 10.5 | 20 | 0.666667 | 3 | 21 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.238095 | 21 | 1 | 21 | 21 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f0f1c48f08d7847d3b8f1dd3cfe2b3f53ced9bab | 113 | py | Python | dagology/__init__.py | JamesClough/dagology | 5421fd0ad439e70a61d0408eb1cacebaa403f671 | [
"MIT"
] | 5 | 2017-02-16T21:35:28.000Z | 2020-08-09T07:33:30.000Z | dagology/__init__.py | JamesClough/dagology | 5421fd0ad439e70a61d0408eb1cacebaa403f671 | [
"MIT"
] | null | null | null | dagology/__init__.py | JamesClough/dagology | 5421fd0ad439e70a61d0408eb1cacebaa403f671 | [
"MIT"
] | 3 | 2018-04-20T08:58:24.000Z | 2020-04-11T02:25:56.000Z | from algorithms import *
from generators import *
from utils import *
from metrics import *
from matrix import *
| 18.833333 | 24 | 0.778761 | 15 | 113 | 5.866667 | 0.466667 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176991 | 113 | 5 | 25 | 22.6 | 0.946237 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f0fcd45d67fbe901875224b7c9d4a7946df088f7 | 10,865 | py | Python | tests/test_pdp_isolate.py | antwhite/PDPbox | b022a0aabcc6dbe2440244bf48d08fbb6ecdaf2d | [
"MIT"
] | 675 | 2017-08-08T03:37:46.000Z | 2022-03-31T20:14:02.000Z | tests/test_pdp_isolate.py | antwhite/PDPbox | b022a0aabcc6dbe2440244bf48d08fbb6ecdaf2d | [
"MIT"
] | 60 | 2017-08-02T15:59:02.000Z | 2022-03-29T03:57:22.000Z | tests/test_pdp_isolate.py | antwhite/PDPbox | b022a0aabcc6dbe2440244bf48d08fbb6ecdaf2d | [
"MIT"
] | 121 | 2017-08-08T03:37:50.000Z | 2022-03-29T10:06:11.000Z | import pytest
import numpy as np
from numpy.testing import assert_array_equal, assert_array_almost_equal
from pandas.testing import assert_frame_equal
import pandas as pd
import matplotlib
from pdpbox.pdp import pdp_isolate, pdp_plot
class TestPDPIsolateBinary(object):
def test_pdp_isolate_binary_feature(
... | 34.166667 | 88 | 0.601565 | 1,287 | 10,865 | 4.700855 | 0.109557 | 0.11405 | 0.111736 | 0.12876 | 0.876694 | 0.813058 | 0.787934 | 0.744628 | 0.744628 | 0.713554 | 0 | 0.018905 | 0.30382 | 10,865 | 317 | 89 | 34.274448 | 0.780936 | 0.025495 | 0 | 0.65704 | 0 | 0 | 0.068646 | 0 | 0 | 0 | 0 | 0 | 0.241877 | 1 | 0.054152 | false | 0 | 0.025271 | 0 | 0.101083 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0b164bd29023088ac7ad9fd2c87b337e6be29aa7 | 13,591 | py | Python | checkerpy/tests/validators/one/test_justcall.py | yedivanseven/CheckerPy | 04612086d25fecdd0b20ca0a050db8620c437b0e | [
"MIT"
] | 1 | 2018-01-12T19:20:51.000Z | 2018-01-12T19:20:51.000Z | checkerpy/tests/validators/one/test_justcall.py | yedivanseven/CheckerPy | 04612086d25fecdd0b20ca0a050db8620c437b0e | [
"MIT"
] | null | null | null | checkerpy/tests/validators/one/test_justcall.py | yedivanseven/CheckerPy | 04612086d25fecdd0b20ca0a050db8620c437b0e | [
"MIT"
] | null | null | null | import logging
import unittest as ut
from collections import defaultdict, deque, OrderedDict
from ....validators.one import JustCall
from ....exceptions import CallableError
from ....functional import CompositionOf
class TestJustCall(ut.TestCase):
def test_works_with_sane_callable(self):
inp = lambda x: ... | 45.152824 | 79 | 0.619454 | 1,738 | 13,591 | 4.66916 | 0.058113 | 0.036969 | 0.076895 | 0.101664 | 0.911892 | 0.911892 | 0.907702 | 0.898583 | 0.868022 | 0.815527 | 0 | 0.008092 | 0.263483 | 13,591 | 300 | 80 | 45.303333 | 0.802597 | 0 | 0 | 0.592453 | 0 | 0 | 0.207785 | 0 | 0 | 0 | 0 | 0 | 0.384906 | 1 | 0.113208 | false | 0.007547 | 0.022642 | 0.003774 | 0.154717 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9bd33d4beb645fb3312356c3aa75e829aace2e80 | 220 | py | Python | rasa/nlu/featurizers/sparse_featurizer/sparse_featurizer.py | fintzd/rasa | 6359be5509c7d87cd29c2ab5149bc45e843fea85 | [
"Apache-2.0"
] | 9,701 | 2019-04-16T15:46:27.000Z | 2022-03-31T11:52:18.000Z | rasa/nlu/featurizers/sparse_featurizer/sparse_featurizer.py | fintzd/rasa | 6359be5509c7d87cd29c2ab5149bc45e843fea85 | [
"Apache-2.0"
] | 6,420 | 2019-04-16T15:58:22.000Z | 2022-03-31T17:54:35.000Z | rasa/nlu/featurizers/sparse_featurizer/sparse_featurizer.py | fintzd/rasa | 6359be5509c7d87cd29c2ab5149bc45e843fea85 | [
"Apache-2.0"
] | 3,063 | 2019-04-16T15:23:52.000Z | 2022-03-31T00:01:12.000Z | from abc import ABC
import scipy.sparse
from rasa.nlu.featurizers.featurizer import Featurizer
class SparseFeaturizer(Featurizer[scipy.sparse.spmatrix], ABC):
"""Base class for all sparse featurizers."""
pass
| 22 | 63 | 0.772727 | 28 | 220 | 6.071429 | 0.571429 | 0.105882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140909 | 220 | 9 | 64 | 24.444444 | 0.899471 | 0.172727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.6 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
9bd8ba5ddf85211654f2727017b412f1c8ecf824 | 33 | py | Python | python/djwechatlogin/wechat/qyweixin/__init__.py | yc19890920/Learn | 3990e75b469225ba7b430539ef9a16abe89eb863 | [
"Apache-2.0"
] | 1 | 2021-01-11T06:30:44.000Z | 2021-01-11T06:30:44.000Z | python/djwechatlogin/wechat/qyweixin/__init__.py | yc19890920/Learn | 3990e75b469225ba7b430539ef9a16abe89eb863 | [
"Apache-2.0"
] | 23 | 2020-02-12T02:35:49.000Z | 2022-02-11T03:45:40.000Z | python/djwechatlogin/wechat/qyweixin/__init__.py | yc19890920/Learn | 3990e75b469225ba7b430539ef9a16abe89eb863 | [
"Apache-2.0"
] | 2 | 2020-04-08T15:39:46.000Z | 2020-10-10T10:13:09.000Z | from .client import QiyeWeixinAPI | 33 | 33 | 0.878788 | 4 | 33 | 7.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 33 | 1 | 33 | 33 | 0.966667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9be86853e0eec6e76b1ece7b5f5e0defe317e984 | 76 | py | Python | vit/formatter/status_long.py | kinifwyne/vit | e2cbafce922b1e09c4a66e7dc9592c51fe628e9d | [
"MIT"
] | 179 | 2020-07-28T08:21:51.000Z | 2022-03-30T21:39:37.000Z | vit/formatter/status_long.py | kinifwyne/vit | e2cbafce922b1e09c4a66e7dc9592c51fe628e9d | [
"MIT"
] | 255 | 2017-02-01T11:49:12.000Z | 2020-07-26T22:31:25.000Z | vit/formatter/status_long.py | kinifwyne/vit | e2cbafce922b1e09c4a66e7dc9592c51fe628e9d | [
"MIT"
] | 26 | 2017-01-17T20:31:13.000Z | 2020-06-17T13:09:01.000Z | from vit.formatter.status import Status
class StatusLong(Status):
pass
| 15.2 | 39 | 0.776316 | 10 | 76 | 5.9 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 76 | 4 | 40 | 19 | 0.921875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
9bef662a796e6f0f5600bc58f73ccd7326b47d8a | 3,202 | py | Python | tests/python/java_help_test.py | karpierz/jtypes.py4j | 1bf48c022357c558da4d0df45fe4a0100df99a99 | [
"BSD-3-Clause"
] | null | null | null | tests/python/java_help_test.py | karpierz/jtypes.py4j | 1bf48c022357c558da4d0df45fe4a0100df99a99 | [
"BSD-3-Clause"
] | null | null | null | tests/python/java_help_test.py | karpierz/jtypes.py4j | 1bf48c022357c558da4d0df45fe4a0100df99a99 | [
"BSD-3-Clause"
] | null | null | null | from __future__ import unicode_literals, absolute_import
from .java_gateway_test import gateway, example_app_process # <AK> was: from py4j.tests.
def test_help_object():
with example_app_process():
with gateway() as g:
ex = g.getNewExample()
doc = g.help(ex, display=False)
... | 32.343434 | 89 | 0.592442 | 392 | 3,202 | 4.686224 | 0.158163 | 0.065324 | 0.095808 | 0.102885 | 0.843223 | 0.839412 | 0.826892 | 0.825259 | 0.801306 | 0.772999 | 0 | 0.016256 | 0.327608 | 3,202 | 98 | 90 | 32.673469 | 0.836972 | 0.05965 | 0 | 0.666667 | 0 | 0 | 0.166001 | 0 | 0 | 0 | 0 | 0 | 0.346667 | 1 | 0.12 | false | 0 | 0.026667 | 0 | 0.146667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
501030c89c274cdac1a18e143ff1720918d5006b | 116 | py | Python | opracowanie_pytan/questions/admin.py | EricFelixLuther/quiz_app | 0063ab129432678d7d9a3fa463b3657f71101fe1 | [
"MIT"
] | null | null | null | opracowanie_pytan/questions/admin.py | EricFelixLuther/quiz_app | 0063ab129432678d7d9a3fa463b3657f71101fe1 | [
"MIT"
] | null | null | null | opracowanie_pytan/questions/admin.py | EricFelixLuther/quiz_app | 0063ab129432678d7d9a3fa463b3657f71101fe1 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Quiz_Set, Question
admin.site.register([Quiz_Set, Question])
| 19.333333 | 41 | 0.801724 | 17 | 116 | 5.352941 | 0.647059 | 0.153846 | 0.32967 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112069 | 116 | 5 | 42 | 23.2 | 0.883495 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
50308051bf5908b6032dbd89c3f9583e9bcc986f | 147 | py | Python | src/pyotelem/plots/__init__.py | ryanjdillon/pyotelem | 3c92a368c53631046ed74d073b0af498226567ad | [
"MIT"
] | null | null | null | src/pyotelem/plots/__init__.py | ryanjdillon/pyotelem | 3c92a368c53631046ed74d073b0af498226567ad | [
"MIT"
] | null | null | null | src/pyotelem/plots/__init__.py | ryanjdillon/pyotelem | 3c92a368c53631046ed74d073b0af498226567ad | [
"MIT"
] | null | null | null | from . import plotconfig
from . import plotglides
from . import plotdives
from . import plotdynamics
from . import plotdsp
from . import plotutils
| 21 | 26 | 0.795918 | 18 | 147 | 6.5 | 0.444444 | 0.512821 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163265 | 147 | 6 | 27 | 24.5 | 0.95122 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
505014d01b1044b1523c49d4603cce0fb5d27e1d | 42 | py | Python | falco/__init__.py | leonidprinceton/falco-python | 21e84bf8052faca73cb703fa4d8682c35630ee4e | [
"Apache-2.0"
] | null | null | null | falco/__init__.py | leonidprinceton/falco-python | 21e84bf8052faca73cb703fa4d8682c35630ee4e | [
"Apache-2.0"
] | null | null | null | falco/__init__.py | leonidprinceton/falco-python | 21e84bf8052faca73cb703fa4d8682c35630ee4e | [
"Apache-2.0"
] | null | null | null | from .falco import *
from .utils import *
| 14 | 20 | 0.714286 | 6 | 42 | 5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 42 | 2 | 21 | 21 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
acb28fb23262d0998acc75728289c9c9de01bf93 | 102 | py | Python | cls/p7.py | sanchez0623/zsq.LearningPython | 419df031a2a905fe7d7c2dfe14aa2f8729989a9a | [
"Apache-2.0"
] | null | null | null | cls/p7.py | sanchez0623/zsq.LearningPython | 419df031a2a905fe7d7c2dfe14aa2f8729989a9a | [
"Apache-2.0"
] | null | null | null | cls/p7.py | sanchez0623/zsq.LearningPython | 419df031a2a905fe7d7c2dfe14aa2f8729989a9a | [
"Apache-2.0"
] | null | null | null | # 可用来判断该文件是否为入口文件,并做一些逻辑
if __name__ == '__main__':
print('this is app')
print('this is module')
| 17 | 26 | 0.686275 | 13 | 102 | 4.769231 | 0.769231 | 0.290323 | 0.354839 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 102 | 5 | 27 | 20.4 | 0.729412 | 0.215686 | 0 | 0 | 0 | 0 | 0.423077 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
acbbe6f47814bc2d3c6890dde8a7d1503844ddbb | 34,894 | py | Python | exportmodul.py | MaliziaGrimm/Lohnvorerfassung-50a-fuer-DATEV | 41b99deacc5bfee6562907de109a8ad5af917d01 | [
"MIT"
] | null | null | null | exportmodul.py | MaliziaGrimm/Lohnvorerfassung-50a-fuer-DATEV | 41b99deacc5bfee6562907de109a8ad5af917d01 | [
"MIT"
] | null | null | null | exportmodul.py | MaliziaGrimm/Lohnvorerfassung-50a-fuer-DATEV | 41b99deacc5bfee6562907de109a8ad5af917d01 | [
"MIT"
] | null | null | null | from flask import Flask
from flask import request, render_template
import os, time, csv
from flask_sqlalchemy import SQLAlchemy
from sqlalchemy import create_engine
from sqlalchemy import Column, Integer, Text, MetaData, Table, DATE
from sqlalchemy.sql import select, update
import datenbank_obj, funktionen, ... | 70.635628 | 316 | 0.681865 | 3,853 | 34,894 | 6.021023 | 0.105892 | 0.053407 | 0.030001 | 0.037502 | 0.876546 | 0.855425 | 0.844088 | 0.828398 | 0.740032 | 0.728092 | 0 | 0.040863 | 0.187167 | 34,894 | 494 | 317 | 70.635628 | 0.777069 | 0.155671 | 0 | 0.451429 | 0 | 0.028571 | 0.360318 | 0.198617 | 0 | 0 | 0 | 0 | 0 | 1 | 0.017143 | false | 0.014286 | 0.028571 | 0.005714 | 0.065714 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
accb96f14eb03fa437b6008fa217177f8b6d2a1b | 12,768 | py | Python | tests/test_misc.py | oolorg/opencenter | 689805f663ce9332b2502f98c384a7b4d9d46ce4 | [
"Apache-2.0"
] | null | null | null | tests/test_misc.py | oolorg/opencenter | 689805f663ce9332b2502f98c384a7b4d9d46ce4 | [
"Apache-2.0"
] | null | null | null | tests/test_misc.py | oolorg/opencenter | 689805f663ce9332b2502f98c384a7b4d9d46ce4 | [
"Apache-2.0"
] | null | null | null | # vim: tabstop=4 shiftwidth=4 softtabstop=4
# OpenCenter(TM) is Copyright 2013 by Rackspace US, Inc.
##############################################################################
#
# OpenCenter is licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compli... | 47.641791 | 79 | 0.560229 | 1,345 | 12,768 | 5.09368 | 0.142007 | 0.090644 | 0.151073 | 0.131368 | 0.772442 | 0.755364 | 0.748066 | 0.727047 | 0.703985 | 0.680922 | 0 | 0.01762 | 0.297697 | 12,768 | 267 | 80 | 47.820225 | 0.746403 | 0.108004 | 0 | 0.779904 | 0 | 0 | 0.129787 | 0 | 0 | 0 | 0 | 0 | 0.062201 | 1 | 0.07177 | false | 0.019139 | 0.019139 | 0 | 0.100478 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
acf19a94af3403cf983799b3db1b3c3003808497 | 8,026 | py | Python | tests/test_schema_editor_partitioning.py | adamchainz/django-postgres-extra | c11dbb5b75e16f7bd8fd336cc051806cf587269f | [
"MIT"
] | 529 | 2017-03-20T08:16:30.000Z | 2022-03-31T13:23:09.000Z | tests/test_schema_editor_partitioning.py | adamchainz/django-postgres-extra | c11dbb5b75e16f7bd8fd336cc051806cf587269f | [
"MIT"
] | 137 | 2017-06-08T07:59:22.000Z | 2022-02-07T08:34:38.000Z | tests/test_schema_editor_partitioning.py | adamchainz/django-postgres-extra | c11dbb5b75e16f7bd8fd336cc051806cf587269f | [
"MIT"
] | 67 | 2017-06-21T10:01:13.000Z | 2022-02-24T21:23:24.000Z | import pytest
from django.core.exceptions import ImproperlyConfigured
from django.db import connection, models
from psqlextra.backend.schema import PostgresSchemaEditor
from psqlextra.types import PostgresPartitioningMethod
from . import db_introspection
from .fake_model import define_fake_partitioned_model
def te... | 33.722689 | 79 | 0.72614 | 931 | 8,026 | 5.988185 | 0.103115 | 0.077489 | 0.049327 | 0.071749 | 0.824395 | 0.800538 | 0.784395 | 0.770045 | 0.761614 | 0.736323 | 0 | 0.008246 | 0.168951 | 8,026 | 237 | 80 | 33.864979 | 0.827586 | 0.104909 | 0 | 0.621795 | 0 | 0 | 0.072886 | 0.014352 | 0 | 0 | 0 | 0 | 0.224359 | 1 | 0.051282 | false | 0 | 0.044872 | 0 | 0.096154 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c59836a2ffdf0622a76e8b5a84d3bca8344c4304 | 9,434 | py | Python | tests/contracts/KT1G393LjojNshvMdf68XQD24Hwjn7xarzNe/test_michelson_coding_KT1G39.py | juztin/pytezos-1 | 7e608ff599d934bdcf129e47db43dbdb8fef9027 | [
"MIT"
] | 1 | 2021-05-20T16:52:08.000Z | 2021-05-20T16:52:08.000Z | tests/contracts/KT1G393LjojNshvMdf68XQD24Hwjn7xarzNe/test_michelson_coding_KT1G39.py | juztin/pytezos-1 | 7e608ff599d934bdcf129e47db43dbdb8fef9027 | [
"MIT"
] | 1 | 2020-12-30T16:44:56.000Z | 2020-12-30T16:44:56.000Z | tests/contracts/KT1G393LjojNshvMdf68XQD24Hwjn7xarzNe/test_michelson_coding_KT1G39.py | juztin/pytezos-1 | 7e608ff599d934bdcf129e47db43dbdb8fef9027 | [
"MIT"
] | 1 | 2022-03-20T19:01:00.000Z | 2022-03-20T19:01:00.000Z | from unittest import TestCase
from tests import get_data
from pytezos.michelson.micheline import michelson_to_micheline
from pytezos.michelson.formatter import micheline_to_michelson
class MichelsonCodingTestKT1G39(TestCase):
def setUp(self):
self.maxDiff = None
def test_michelson_parse_code_KT... | 46.935323 | 89 | 0.734683 | 880 | 9,434 | 7.563636 | 0.05 | 0.048377 | 0.074369 | 0.135216 | 0.963341 | 0.963341 | 0.963341 | 0.963341 | 0.947416 | 0.947416 | 0 | 0.063908 | 0.190587 | 9,434 | 200 | 90 | 47.17 | 0.807753 | 0 | 0 | 0.639053 | 0 | 0 | 0.316833 | 0.316833 | 0 | 0 | 0 | 0 | 0.159763 | 1 | 0.16568 | false | 0 | 0.023669 | 0 | 0.195266 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c5a74bb24e4878f4ed607358e360e12802ff3da1 | 126 | py | Python | one_utils/__init__.py | rentainhe/OneUtils | f7c4e28dd04958c51f08073946d35748aa9c1b4d | [
"MIT"
] | null | null | null | one_utils/__init__.py | rentainhe/OneUtils | f7c4e28dd04958c51f08073946d35748aa9c1b4d | [
"MIT"
] | null | null | null | one_utils/__init__.py | rentainhe/OneUtils | f7c4e28dd04958c51f08073946d35748aa9c1b4d | [
"MIT"
] | null | null | null | from .weight_transfer import convert_torch_to_flow
from .torch_eval import eval_torch_acc
from .flow_eval import eval_flow_acc | 42 | 50 | 0.888889 | 22 | 126 | 4.636364 | 0.454545 | 0.196078 | 0.27451 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087302 | 126 | 3 | 51 | 42 | 0.886957 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
68134d07aebd4fa7f58e6936211ee2f23674c91c | 91 | py | Python | app/mentors/__init__.py | hack4impact/ican | 0bf7697476a5fe88a2274e3524a7d6455957fe28 | [
"MIT"
] | 13 | 2015-03-13T21:39:00.000Z | 2017-02-01T01:45:41.000Z | app/mentors/__init__.py | hack4impact/ican | 0bf7697476a5fe88a2274e3524a7d6455957fe28 | [
"MIT"
] | 1 | 2016-01-22T20:08:13.000Z | 2016-01-22T20:08:13.000Z | app/mentors/__init__.py | hack4impact/ican | 0bf7697476a5fe88a2274e3524a7d6455957fe28 | [
"MIT"
] | 2 | 2015-08-26T00:56:17.000Z | 2018-10-19T12:12:35.000Z | from flask import Blueprint
mentors = Blueprint('mentors', __name__)
from . import views
| 15.166667 | 40 | 0.769231 | 11 | 91 | 6 | 0.636364 | 0.484848 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 91 | 5 | 41 | 18.2 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 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 | 1 | 1 | 0 | 6 |
a870bed10551d9c31763faf54c019eb9cf1a96f3 | 14,746 | py | Python | src/NISysServer.py | HymanMurphy/meta-labview | 95f01bf65853028d83b0874eaf82e77b02558745 | [
"MIT"
] | null | null | null | src/NISysServer.py | HymanMurphy/meta-labview | 95f01bf65853028d83b0874eaf82e77b02558745 | [
"MIT"
] | null | null | null | src/NISysServer.py | HymanMurphy/meta-labview | 95f01bf65853028d83b0874eaf82e77b02558745 | [
"MIT"
] | null | null | null | #! /usr/bin/python
# Copyright 2016 National Instruments
# This server emulates the NI Service Locator and the NI System Web Server
# Primarily the purpose of this emaulator is to publish a web service to
# reboot the target from the LabVIEW project.
import BaseHTTPServer
from SocketServer import ThreadingMixIn
impor... | 104.58156 | 8,135 | 0.728401 | 2,147 | 14,746 | 4.974849 | 0.210992 | 0.164779 | 0.268608 | 0.084262 | 0.555191 | 0.499485 | 0.430952 | 0.417658 | 0.412883 | 0.412883 | 0 | 0.131476 | 0.077241 | 14,746 | 140 | 8,136 | 105.328571 | 0.653487 | 0.0984 | 0 | 0.255102 | 0 | 0.030612 | 0.812391 | 0.564264 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.020408 | 0.071429 | null | null | 0.05102 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a888291e96acc1d22e969452666d06adf0abe928 | 17,070 | py | Python | nexxT/tests/core/test_FilterExceptions.py | pfrydlewicz/nexxT | 33616dbeee448c59201aa3009d637fe6b8d2b39c | [
"Apache-2.0"
] | 5 | 2020-05-03T10:52:14.000Z | 2022-03-02T10:32:33.000Z | nexxT/tests/core/test_FilterExceptions.py | pfrydlewicz/nexxT | 33616dbeee448c59201aa3009d637fe6b8d2b39c | [
"Apache-2.0"
] | 32 | 2020-05-18T15:49:00.000Z | 2022-02-22T20:10:56.000Z | nexxT/tests/core/test_FilterExceptions.py | pfrydlewicz/nexxT | 33616dbeee448c59201aa3009d637fe6b8d2b39c | [
"Apache-2.0"
] | 2 | 2020-03-21T15:04:46.000Z | 2021-03-01T15:42:49.000Z | # SPDX-License-Identifier: Apache-2.0
# Copyright (C) 2020 ifm electronic gmbh
#
# THE PROGRAM IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND.
#
import json
import logging
from pathlib import Path
import pytest
import pytestqt
from PySide2.QtCore import QCoreApplication, QTimer
from nexxT.interface import FilterStat... | 40.450237 | 137 | 0.680668 | 2,295 | 17,070 | 4.90719 | 0.083224 | 0.048837 | 0.039425 | 0.045995 | 0.840881 | 0.775706 | 0.732019 | 0.725981 | 0.725981 | 0.725981 | 0 | 0.008441 | 0.201875 | 17,070 | 422 | 138 | 40.450237 | 0.818188 | 0.03017 | 0 | 0.56686 | 0 | 0 | 0.182033 | 0.010284 | 0 | 0 | 0 | 0 | 0.19186 | 1 | 0.127907 | false | 0 | 0.034884 | 0 | 0.168605 | 0.005814 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7666b804a192f3e0e222333d8e9adf5cc845e304 | 40 | py | Python | autovirt/equipment/interface/__init__.py | xlam/autovirt | a19f9237c8b1123ce4f4b8b396dc88122019d4f8 | [
"MIT"
] | null | null | null | autovirt/equipment/interface/__init__.py | xlam/autovirt | a19f9237c8b1123ce4f4b8b396dc88122019d4f8 | [
"MIT"
] | null | null | null | autovirt/equipment/interface/__init__.py | xlam/autovirt | a19f9237c8b1123ce4f4b8b396dc88122019d4f8 | [
"MIT"
] | null | null | null | from .equipment import EquipmentGateway
| 20 | 39 | 0.875 | 4 | 40 | 8.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 1 | 40 | 40 | 0.972222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
76a04a572cbe5aca4df86af3511450fb71cac79d | 61 | py | Python | gbp/factors/__init__.py | joeaortiz/gbp | 5670a498950bfa948da502b2381899ab46f61021 | [
"MIT"
] | 50 | 2020-03-10T08:49:45.000Z | 2022-03-24T01:50:24.000Z | gbp/factors/__init__.py | joeaortiz/gbp | 5670a498950bfa948da502b2381899ab46f61021 | [
"MIT"
] | 1 | 2022-03-21T02:36:36.000Z | 2022-03-21T03:03:38.000Z | gbp/factors/__init__.py | joeaortiz/gbp | 5670a498950bfa948da502b2381899ab46f61021 | [
"MIT"
] | 11 | 2020-04-24T16:29:48.000Z | 2022-03-09T07:39:30.000Z | from . import reprojection
from . import linear_displacement
| 20.333333 | 33 | 0.836066 | 7 | 61 | 7.142857 | 0.714286 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131148 | 61 | 2 | 34 | 30.5 | 0.943396 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4f23c2c570563ceee52ae6d6ee808ff4e355098f | 1,520 | py | Python | mrp_system/migrations/0017_auto_20181206_1348.py | mgeorge8/django_time | f75a442941b0ebbb6cc46a6d18e42b91695b7e57 | [
"MIT"
] | 1 | 2018-11-09T02:09:14.000Z | 2018-11-09T02:09:14.000Z | mrp_system/migrations/0017_auto_20181206_1348.py | mgeorge8/django_time | f75a442941b0ebbb6cc46a6d18e42b91695b7e57 | [
"MIT"
] | null | null | null | mrp_system/migrations/0017_auto_20181206_1348.py | mgeorge8/django_time | f75a442941b0ebbb6cc46a6d18e42b91695b7e57 | [
"MIT"
] | null | null | null | # Generated by Django 2.1.2 on 2018-12-06 20:48
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('mrp_system', '0016_auto_20181206_1258'),
]
operations = [
migrations.AddField(
model_name='part',
name='char3',
... | 28.148148 | 62 | 0.536842 | 150 | 1,520 | 5.306667 | 0.306667 | 0.090452 | 0.130653 | 0.170854 | 0.758794 | 0.758794 | 0.714824 | 0.714824 | 0.664573 | 0.664573 | 0 | 0.05489 | 0.340789 | 1,520 | 53 | 63 | 28.679245 | 0.739521 | 0.029605 | 0 | 0.680851 | 1 | 0 | 0.071283 | 0.015614 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.021277 | 0 | 0.085106 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4f4f31924f56be00269c564b63d2ad09b40bbc17 | 110 | py | Python | trading_bots/contrib/exchanges/__init__.py | budacom/trading-bots | 9ac362cc21ce185e7b974bf9bcc7480ff9c6b2aa | [
"MIT"
] | 21 | 2018-08-10T16:45:21.000Z | 2022-01-25T13:04:07.000Z | trading_bots/contrib/clients/__init__.py | rob-Hitchens/trading-bots | 16d53be0c32b45bee0520d8192629ade09727e24 | [
"MIT"
] | 6 | 2018-07-18T15:34:32.000Z | 2021-02-02T21:59:04.000Z | trading_bots/contrib/clients/__init__.py | rob-Hitchens/trading-bots | 16d53be0c32b45bee0520d8192629ade09727e24 | [
"MIT"
] | 10 | 2018-10-24T22:14:10.000Z | 2022-02-08T17:21:47.000Z | from .base import *
from .bitfinex import *
from .bitstamp import *
from .buda import *
from .kraken import *
| 18.333333 | 23 | 0.727273 | 15 | 110 | 5.333333 | 0.466667 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 110 | 5 | 24 | 22 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8c4780d9b158823d7c627047195e010e48dcedae | 150 | py | Python | ambra_sdk/service/entrypoints/dictionary.py | dyens/sdk-python | 24bf05268af2832c70120b84fd53bf44862cffec | [
"Apache-2.0"
] | null | null | null | ambra_sdk/service/entrypoints/dictionary.py | dyens/sdk-python | 24bf05268af2832c70120b84fd53bf44862cffec | [
"Apache-2.0"
] | null | null | null | ambra_sdk/service/entrypoints/dictionary.py | dyens/sdk-python | 24bf05268af2832c70120b84fd53bf44862cffec | [
"Apache-2.0"
] | null | null | null | from ambra_sdk.service.entrypoints.generated.dictionary import \
Dictionary as GDictionary
class Dictionary(GDictionary):
"""Dictionary."""
| 21.428571 | 64 | 0.766667 | 15 | 150 | 7.6 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 150 | 6 | 65 | 25 | 0.876923 | 0.073333 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8c5347793e9338547be2cf79e7330e0c8ee8d564 | 32 | py | Python | bundle/__init__.py | davidbrochart/bundle | 9e6a14fa48e4d22a2cbc8239b13e600a86c5e5b0 | [
"MIT"
] | 4 | 2018-09-15T08:30:14.000Z | 2019-03-11T20:56:25.000Z | bundle/__init__.py | davidbrochart/bundle | 9e6a14fa48e4d22a2cbc8239b13e600a86c5e5b0 | [
"MIT"
] | null | null | null | bundle/__init__.py | davidbrochart/bundle | 9e6a14fa48e4d22a2cbc8239b13e600a86c5e5b0 | [
"MIT"
] | 1 | 2022-03-14T02:01:16.000Z | 2022-03-14T02:01:16.000Z | from .scheduler import evaluate
| 16 | 31 | 0.84375 | 4 | 32 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.964286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4fdd63c3f67079f0814eff038b93bf1473f4163e | 144 | py | Python | 04 Print and Input Functions/printCalculation.py | Himanshu44626748/Learn-Python | f3a4d997f2d29b146e5f7434f4801ae94bc3483f | [
"MIT"
] | 2 | 2020-03-16T14:57:44.000Z | 2020-11-29T07:45:54.000Z | 04 Print and Input Functions/printCalculation.py | Himanshu44626748/Learn-Python | f3a4d997f2d29b146e5f7434f4801ae94bc3483f | [
"MIT"
] | null | null | null | 04 Print and Input Functions/printCalculation.py | Himanshu44626748/Learn-Python | f3a4d997f2d29b146e5f7434f4801ae94bc3483f | [
"MIT"
] | 1 | 2020-08-13T07:59:02.000Z | 2020-08-13T07:59:02.000Z | a,b = 10,20
print(a+b) #Output: 30
print(a*b) #Output: 200
print(b/a) #Output: 2.0
print(b%a) #Output: 0 | 16 | 32 | 0.458333 | 25 | 144 | 2.64 | 0.4 | 0.090909 | 0.212121 | 0.393939 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 0.375 | 144 | 9 | 33 | 16 | 0.6 | 0.284722 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.8 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
8b36f0623512d4378bba3cf002df40184df3e5ac | 70 | py | Python | hrl/goal_hrl/common/vec_env/__init__.py | guojm14/HRL | b011fa65a82a861a89979257ed63ed3341b01b24 | [
"MIT"
] | 5 | 2021-07-23T09:50:35.000Z | 2022-01-03T07:44:43.000Z | hrl/goal_hrl/common/vec_env/__init__.py | guojm14/HRL | b011fa65a82a861a89979257ed63ed3341b01b24 | [
"MIT"
] | null | null | null | hrl/goal_hrl/common/vec_env/__init__.py | guojm14/HRL | b011fa65a82a861a89979257ed63ed3341b01b24 | [
"MIT"
] | null | null | null | from hrl.goal_hrl.common.vec_env.subproc_vec_env import SubprocVecEnv
| 35 | 69 | 0.885714 | 12 | 70 | 4.833333 | 0.75 | 0.206897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057143 | 70 | 1 | 70 | 70 | 0.878788 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8c6f0d36df5bf5ad459a164ef0e969fc7a63885a | 43 | py | Python | tfbox/metrics/__init__.py | brookisme/tfbox | 4d4883e5a998367504db72c95ca14488cee9dd6e | [
"MIT"
] | null | null | null | tfbox/metrics/__init__.py | brookisme/tfbox | 4d4883e5a998367504db72c95ca14488cee9dd6e | [
"MIT"
] | null | null | null | tfbox/metrics/__init__.py | brookisme/tfbox | 4d4883e5a998367504db72c95ca14488cee9dd6e | [
"MIT"
] | null | null | null | from .weighted import get, weighted, subset | 43 | 43 | 0.813953 | 6 | 43 | 5.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116279 | 43 | 1 | 43 | 43 | 0.921053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
508c9db5c5845f54f992bce891f3e16b2041e0a6 | 68 | py | Python | scripts/train.py | sytelus/axformer | 2492582f0e37a1edaa21f3c9f88ce1bbee91c90f | [
"MIT"
] | null | null | null | scripts/train.py | sytelus/axformer | 2492582f0e37a1edaa21f3c9f88ce1bbee91c90f | [
"MIT"
] | null | null | null | scripts/train.py | sytelus/axformer | 2492582f0e37a1edaa21f3c9f88ce1bbee91c90f | [
"MIT"
] | null | null | null |
from axformer import trainer
def main():
trainer.train() | 11.333333 | 29 | 0.647059 | 8 | 68 | 5.5 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.264706 | 68 | 6 | 30 | 11.333333 | 0.88 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
50cad6e323d0cb8dbdb52bf37a7b5552a0b0dd61 | 7,220 | py | Python | tests/contrib/tornado/test_executor_decorator.py | lucien2k/dd-trace-py | bb2f5a260ed2fc63e8e4120e2294428f3ec2cf1d | [
"BSD-3-Clause"
] | null | null | null | tests/contrib/tornado/test_executor_decorator.py | lucien2k/dd-trace-py | bb2f5a260ed2fc63e8e4120e2294428f3ec2cf1d | [
"BSD-3-Clause"
] | null | null | null | tests/contrib/tornado/test_executor_decorator.py | lucien2k/dd-trace-py | bb2f5a260ed2fc63e8e4120e2294428f3ec2cf1d | [
"BSD-3-Clause"
] | 1 | 2021-01-24T13:44:57.000Z | 2021-01-24T13:44:57.000Z | import time
import unittest
from nose.tools import eq_, ok_
from tornado import version_info
from .utils import TornadoTestCase
class TestTornadoExecutor(TornadoTestCase):
"""
Ensure that Tornado web handlers are properly traced even if
``@run_on_executor`` decorator is used.
"""
def test_on_ex... | 41.257143 | 93 | 0.652355 | 973 | 7,220 | 4.568345 | 0.139774 | 0.136108 | 0.047244 | 0.072666 | 0.820247 | 0.792576 | 0.792576 | 0.767154 | 0.765579 | 0.749831 | 0 | 0.020324 | 0.22313 | 7,220 | 174 | 94 | 41.494253 | 0.772152 | 0.13795 | 0 | 0.690476 | 0 | 0 | 0.198836 | 0.081313 | 0 | 0 | 0 | 0 | 0 | 1 | 0.039683 | false | 0 | 0.039683 | 0 | 0.087302 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
50d008ee22dcc9887e25b13da82f5dfaff8a91d9 | 26 | py | Python | mpids/MPIcollections/__init__.py | edgargabriel/mpids | 170f402ecea5af0db4eee39e8d426884dce12ad6 | [
"BSD-2-Clause"
] | 1 | 2020-01-22T03:27:31.000Z | 2020-01-22T03:27:31.000Z | mpids/MPIcollections/__init__.py | jrodgers01d/mpids | f771b1d25eba5f5dc8e30e5d86ee0251775b9da1 | [
"BSD-2-Clause"
] | 1 | 2020-05-04T20:25:55.000Z | 2020-05-04T20:25:55.000Z | mpids/MPIcollections/__init__.py | jrodgers01d/mpids | f771b1d25eba5f5dc8e30e5d86ee0251775b9da1 | [
"BSD-2-Clause"
] | 2 | 2019-04-08T03:01:31.000Z | 2020-04-27T15:56:28.000Z | from .MPICounter import *
| 13 | 25 | 0.769231 | 3 | 26 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e85c6043c07f057ceb5ca9f161f3b5ca0838a4cd | 417 | py | Python | pyquil/quantum_processor/transformers/__init__.py | stjordanis/pyquil | 36987ecb78d5dc85d299dd62395b7669a1cedd5a | [
"Apache-2.0"
] | 677 | 2017-01-09T23:20:22.000Z | 2018-11-26T10:57:49.000Z | pyquil/quantum_processor/transformers/__init__.py | stjordanis/pyquil | 36987ecb78d5dc85d299dd62395b7669a1cedd5a | [
"Apache-2.0"
] | 574 | 2018-11-28T05:38:40.000Z | 2022-03-23T20:38:28.000Z | pyquil/quantum_processor/transformers/__init__.py | stjordanis/pyquil | 36987ecb78d5dc85d299dd62395b7669a1cedd5a | [
"Apache-2.0"
] | 202 | 2018-11-30T06:36:28.000Z | 2022-03-29T15:38:18.000Z | from pyquil.quantum_processor.transformers.qcs_isa_to_compiler_isa import (
qcs_isa_to_compiler_isa,
QCSISAParseError,
)
from pyquil.quantum_processor.transformers.qcs_isa_to_graph import qcs_isa_to_graph
from pyquil.quantum_processor.transformers.compiler_isa_to_graph import compiler_isa_to_graph
from pyquil.q... | 52.125 | 109 | 0.892086 | 60 | 417 | 5.7 | 0.216667 | 0.087719 | 0.19883 | 0.304094 | 0.637427 | 0.549708 | 0.549708 | 0.549708 | 0 | 0 | 0 | 0 | 0.067146 | 417 | 7 | 110 | 59.571429 | 0.879177 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.571429 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e88a035f2403f13e0046bcaed45885b7525143eb | 25 | py | Python | philander/__init__.py | pfirsich/philander | 35ff4fa750739d270554328f81185e3ece023a98 | [
"MIT"
] | 1 | 2018-12-18T17:41:21.000Z | 2018-12-18T17:41:21.000Z | philander/__init__.py | pfirsich/philander | 35ff4fa750739d270554328f81185e3ece023a98 | [
"MIT"
] | 6 | 2018-07-04T20:38:32.000Z | 2018-07-10T19:21:17.000Z | philander/__init__.py | pfirsich/philander | 35ff4fa750739d270554328f81185e3ece023a98 | [
"MIT"
] | 1 | 2018-07-01T15:45:14.000Z | 2018-07-01T15:45:14.000Z | from .philander import *
| 12.5 | 24 | 0.76 | 3 | 25 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e8b3ecc850245cc0b4ac7d4e4d0ca6ab4e186a83 | 198 | py | Python | workshop_schedules/tools.py | WWU-AMM/workshop_schedules | 696545c42956154bf7c14fafeb8d5860725c22d4 | [
"BSD-3-Clause"
] | null | null | null | workshop_schedules/tools.py | WWU-AMM/workshop_schedules | 696545c42956154bf7c14fafeb8d5860725c22d4 | [
"BSD-3-Clause"
] | 4 | 2022-03-11T14:23:31.000Z | 2022-03-15T10:30:22.000Z | workshop_schedules/tools.py | WWU-AMM/workshop_schedules | 696545c42956154bf7c14fafeb8d5860725c22d4 | [
"BSD-3-Clause"
] | null | null | null | import humanfriendly
import datetime
def duration_to_date(duration: str) -> datetime.timedelta:
seconds = humanfriendly.parse_timespan(duration)
return datetime.timedelta(seconds=seconds)
| 24.75 | 58 | 0.80303 | 22 | 198 | 7.090909 | 0.590909 | 0.217949 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 198 | 7 | 59 | 28.285714 | 0.896552 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e8d729e714a67703db457b772ce2b1d27a6e0ab5 | 18,184 | py | Python | api/vm/backup/views.py | erigones/esdc-ce | 2e39211a8f5132d66e574d3a657906c7d3c406fe | [
"Apache-2.0"
] | 97 | 2016-11-15T14:44:23.000Z | 2022-03-13T18:09:15.000Z | api/vm/backup/views.py | erigones/esdc-ce | 2e39211a8f5132d66e574d3a657906c7d3c406fe | [
"Apache-2.0"
] | 334 | 2016-11-17T19:56:57.000Z | 2022-03-18T10:45:53.000Z | api/vm/backup/views.py | erigones/esdc-ce | 2e39211a8f5132d66e574d3a657906c7d3c406fe | [
"Apache-2.0"
] | 33 | 2017-01-02T16:04:13.000Z | 2022-02-07T19:20:24.000Z | from vms.models import BackupDefine
from api.decorators import api_view, request_data, setting_required
from api.permissions import IsAdminOrReadOnly
from api.utils.db import get_object
from api.vm.utils import get_vm, get_vms
from api.vm.snapshot.utils import get_disk_id, filter_disk_id
from api.vm.backup.utils impor... | 41.047404 | 120 | 0.629015 | 2,256 | 18,184 | 4.926418 | 0.104167 | 0.062984 | 0.088177 | 0.033111 | 0.812939 | 0.783876 | 0.759672 | 0.745366 | 0.709735 | 0.6912 | 0 | 0.018624 | 0.255884 | 18,184 | 442 | 121 | 41.140271 | 0.802749 | 0.735757 | 0 | 0.446429 | 0 | 0 | 0.119565 | 0.062071 | 0 | 0 | 0 | 0.004525 | 0 | 1 | 0.089286 | false | 0 | 0.178571 | 0 | 0.357143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2cd9f25cb8ff7e2c71115be3b3ab7878bac0bbd0 | 258 | py | Python | ca_ab_strathcona_county/people.py | dcycle/scrapers-ca | 4c7a6cd01d603221b5b3b7a400d2e5ca0c6e916f | [
"MIT"
] | null | null | null | ca_ab_strathcona_county/people.py | dcycle/scrapers-ca | 4c7a6cd01d603221b5b3b7a400d2e5ca0c6e916f | [
"MIT"
] | null | null | null | ca_ab_strathcona_county/people.py | dcycle/scrapers-ca | 4c7a6cd01d603221b5b3b7a400d2e5ca0c6e916f | [
"MIT"
] | null | null | null | from utils import CSVScraper
class StrathconaCountyPersonScraper(CSVScraper):
# https://data.strathcona.ca/County-Government/County-Council-2013-2017/suw8-zxcy
csv_url = 'https://data.strathcona.ca/api/views/suw8-zxcy/rows.csv?accessType=DOWNLOAD'
| 36.857143 | 91 | 0.790698 | 33 | 258 | 6.151515 | 0.727273 | 0.08867 | 0.187192 | 0.206897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042194 | 0.081395 | 258 | 6 | 92 | 43 | 0.814346 | 0.306202 | 0 | 0 | 0 | 0.333333 | 0.423729 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2cfa27a05981b7c009928431c6a875a2341d7f53 | 11,694 | py | Python | spair/visualizer.py | 51616/split | 58b6efa8ab2c24e85c0a14922ee6a2a83aaa7e19 | [
"MIT"
] | 18 | 2020-01-19T10:21:16.000Z | 2022-03-13T04:58:39.000Z | spair/visualizer.py | 51616/split | 58b6efa8ab2c24e85c0a14922ee6a2a83aaa7e19 | [
"MIT"
] | 2 | 2020-01-29T05:58:30.000Z | 2020-11-13T17:41:29.000Z | spair/visualizer.py | 51616/split | 58b6efa8ab2c24e85c0a14922ee6a2a83aaa7e19 | [
"MIT"
] | 6 | 2020-02-21T09:45:03.000Z | 2021-11-25T12:29:21.000Z | import matplotlib.pyplot as plt
import matplotlib as mpl
import numpy as np
import tensorflow as tf
import warnings
# plt.tick_params(top=False, bottom=False, left=False, right=False, labelleft=False, labelbottom=False)
mpl.use('agg')
mpl.rcParams['figure.dpi'] = 300
mpl.rcParams['savefig.dpi'] = 300
warnings.filterw... | 40.888112 | 171 | 0.71712 | 2,062 | 11,694 | 3.821532 | 0.07323 | 0.06599 | 0.020558 | 0.007614 | 0.893528 | 0.883629 | 0.859264 | 0.830203 | 0.80533 | 0.747462 | 0 | 0.020161 | 0.109287 | 11,694 | 285 | 172 | 41.031579 | 0.736367 | 0.07243 | 0 | 0.61194 | 0 | 0 | 0.049261 | 0.014695 | 0 | 0 | 0 | 0 | 0 | 1 | 0.024876 | false | 0 | 0.024876 | 0 | 0.074627 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fa2b5cb5ed4980f194e240be2b75a587b0badc44 | 283 | py | Python | python/graphscope/nx/tests/algorithms/forward/traversal/test_bfs.py | LI-Mingyu/GraphScope-MY | 942060983d3f7f8d3a3377467386e27aba285b33 | [
"Apache-2.0"
] | 1,521 | 2020-10-28T03:20:24.000Z | 2022-03-31T12:42:51.000Z | python/graphscope/nx/tests/algorithms/forward/traversal/test_bfs.py | LI-Mingyu/GraphScope-MY | 942060983d3f7f8d3a3377467386e27aba285b33 | [
"Apache-2.0"
] | 850 | 2020-12-15T03:17:32.000Z | 2022-03-31T11:40:13.000Z | python/graphscope/nx/tests/algorithms/forward/traversal/test_bfs.py | LI-Mingyu/GraphScope-MY | 942060983d3f7f8d3a3377467386e27aba285b33 | [
"Apache-2.0"
] | 180 | 2020-11-10T03:43:21.000Z | 2022-03-28T11:13:31.000Z | import networkx.algorithms.traversal.tests.test_bfs
import pytest
from graphscope.nx.utils.compat import import_as_graphscope_nx
import_as_graphscope_nx(networkx.algorithms.traversal.tests.test_bfs,
decorators=pytest.mark.usefixtures("graphscope_session"))
| 35.375 | 81 | 0.798587 | 35 | 283 | 6.2 | 0.514286 | 0.165899 | 0.248848 | 0.294931 | 0.359447 | 0.359447 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127208 | 283 | 7 | 82 | 40.428571 | 0.878543 | 0 | 0 | 0 | 0 | 0 | 0.063604 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.8 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fa2ca703fbc1609eec9fc81c111d891211d5bb82 | 1,889 | py | Python | hypha/public/partner/admin_view.py | maxpearl/hypha | e181ebadfb744aab34617bb766e746368d6f2de0 | [
"BSD-3-Clause"
] | 20 | 2021-04-08T16:38:49.000Z | 2022-02-09T20:05:57.000Z | hypha/public/partner/admin_view.py | maxpearl/hypha | e181ebadfb744aab34617bb766e746368d6f2de0 | [
"BSD-3-Clause"
] | 1,098 | 2017-12-15T11:23:03.000Z | 2020-01-24T07:58:07.000Z | hypha/public/partner/admin_view.py | maxpearl/hypha | e181ebadfb744aab34617bb766e746368d6f2de0 | [
"BSD-3-Clause"
] | 17 | 2020-02-07T14:55:54.000Z | 2021-04-04T19:32:38.000Z | from wagtail.admin.edit_handlers import FieldPanel
from wagtail.contrib.modeladmin.views import CreateView, EditView
from .models import InvestmentCategorySettings
class CreateInvestmentView(CreateView):
def get_form_kwargs(self):
kwargs = super(CreateInvestmentView, self).get_form_kwargs()
kwarg... | 38.55102 | 70 | 0.649021 | 189 | 1,889 | 6.291005 | 0.238095 | 0.055509 | 0.090833 | 0.026913 | 0.760303 | 0.760303 | 0.760303 | 0.708158 | 0.708158 | 0.708158 | 0 | 0 | 0.253044 | 1,889 | 48 | 71 | 39.354167 | 0.842665 | 0 | 0 | 0.731707 | 0 | 0 | 0.051879 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.097561 | false | 0 | 0.073171 | 0 | 0.317073 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fa3b6f0ab4dcefd81c358fdcd55e34ceaf514f49 | 162 | py | Python | pilot/views.py | MbuguaM/RideAlong | 730ee29aebdd8ab9b2d4639ec6ba5dcccb03ee28 | [
"MIT"
] | null | null | null | pilot/views.py | MbuguaM/RideAlong | 730ee29aebdd8ab9b2d4639ec6ba5dcccb03ee28 | [
"MIT"
] | null | null | null | pilot/views.py | MbuguaM/RideAlong | 730ee29aebdd8ab9b2d4639ec6ba5dcccb03ee28 | [
"MIT"
] | null | null | null | from django.shortcuts import render
from . import views
# Create your views here.
def landing(request):
return render(request,'main_templates/landing.html') | 23.142857 | 56 | 0.777778 | 22 | 162 | 5.681818 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135802 | 162 | 7 | 56 | 23.142857 | 0.892857 | 0.141975 | 0 | 0 | 0 | 0 | 0.195652 | 0.195652 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
fa5a33d45536a357637fce4cce7a1621253fea29 | 18 | py | Python | godaddypy/utils/__init__.py | avitko001c/godaddypy | c5bd91e414cb4831e57fa3bf310d639df29ed4e7 | [
"BSD-3-Clause"
] | null | null | null | godaddypy/utils/__init__.py | avitko001c/godaddypy | c5bd91e414cb4831e57fa3bf310d639df29ed4e7 | [
"BSD-3-Clause"
] | null | null | null | godaddypy/utils/__init__.py | avitko001c/godaddypy | c5bd91e414cb4831e57fa3bf310d639df29ed4e7 | [
"BSD-3-Clause"
] | null | null | null | from . import six
| 9 | 17 | 0.722222 | 3 | 18 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 18 | 1 | 18 | 18 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d71838ac9b546defde18727cfc9154d2fb062abe | 180 | py | Python | modelator_py/apalache/__init__.py | informalsystems/modelator-py | d66464096c022799e680e6201590a2ead69be32d | [
"Apache-2.0"
] | null | null | null | modelator_py/apalache/__init__.py | informalsystems/modelator-py | d66464096c022799e680e6201590a2ead69be32d | [
"Apache-2.0"
] | 3 | 2022-03-30T16:01:49.000Z | 2022-03-31T13:40:03.000Z | modelator_py/apalache/__init__.py | informalsystems/modelator-py | d66464096c022799e680e6201590a2ead69be32d | [
"Apache-2.0"
] | null | null | null | from .args import ApalacheArgs
from .pure import PureCmd as ApalachePureCmd
from .pure import apalache_pure
from .raw import RawCmd as ApalacheRawCmd
from .raw import apalache_raw
| 30 | 44 | 0.838889 | 26 | 180 | 5.730769 | 0.461538 | 0.107383 | 0.187919 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 180 | 5 | 45 | 36 | 0.955128 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d72f7b18ff94314420fae214f2f7eb843142fb79 | 28,238 | py | Python | linebot/connect_data_to_db.py | ThebiggunSeeoil/VIS-MASTER | a54a5f321cfe8b258bacc25458490c5b154edf19 | [
"MIT"
] | null | null | null | linebot/connect_data_to_db.py | ThebiggunSeeoil/VIS-MASTER | a54a5f321cfe8b258bacc25458490c5b154edf19 | [
"MIT"
] | null | null | null | linebot/connect_data_to_db.py | ThebiggunSeeoil/VIS-MASTER | a54a5f321cfe8b258bacc25458490c5b154edf19 | [
"MIT"
] | null | null | null | from django.core import serializers
from django.contrib.auth.decorators import login_required
from django.shortcuts import render, get_object_or_404, redirect
from django.template import loader
from django.http import HttpResponse
from django.http import JsonResponse
from django import template
import json
import datet... | 88.520376 | 373 | 0.673206 | 3,772 | 28,238 | 4.698568 | 0.08245 | 0.035378 | 0.043164 | 0.047396 | 0.808554 | 0.788354 | 0.762794 | 0.760537 | 0.753089 | 0.750324 | 0 | 0.002168 | 0.216092 | 28,238 | 319 | 374 | 88.520376 | 0.789167 | 0.11141 | 0 | 0.569853 | 0 | 0 | 0.164869 | 0.039629 | 0 | 0 | 0 | 0 | 0 | 1 | 0.033088 | false | 0 | 0.051471 | 0 | 0.147059 | 0.003676 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d74863532d38a1e387a56975c7d04bb6c95af90e | 42 | py | Python | backend/addons/sale_invoice_line_note/tests/__init__.py | maherjaballi/odoo-react-cicd | e99f0e3216094818d94e99df19da9626afe7f9d8 | [
"MIT"
] | null | null | null | backend/addons/sale_invoice_line_note/tests/__init__.py | maherjaballi/odoo-react-cicd | e99f0e3216094818d94e99df19da9626afe7f9d8 | [
"MIT"
] | null | null | null | backend/addons/sale_invoice_line_note/tests/__init__.py | maherjaballi/odoo-react-cicd | e99f0e3216094818d94e99df19da9626afe7f9d8 | [
"MIT"
] | null | null | null | from . import test_sale_invoice_line_note
| 21 | 41 | 0.880952 | 7 | 42 | 4.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 42 | 1 | 42 | 42 | 0.868421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d77b31bfb7cead15620838ff992e0c280e6b43f5 | 1,174 | py | Python | users/migrations/0012_auto_20201111_2258.py | linikerunk/tcc-people-analytics | fdda975682d5299c8384e31ebb974dc085330875 | [
"MIT"
] | null | null | null | users/migrations/0012_auto_20201111_2258.py | linikerunk/tcc-people-analytics | fdda975682d5299c8384e31ebb974dc085330875 | [
"MIT"
] | 1 | 2020-10-11T10:09:39.000Z | 2020-10-11T10:09:39.000Z | users/migrations/0012_auto_20201111_2258.py | linikerunk/TCC_PeopleAnalytics | fdda975682d5299c8384e31ebb974dc085330875 | [
"MIT"
] | null | null | null | # Generated by Django 2.2.5 on 2020-11-12 01:58
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('users', '0011_auto_20201024_1533'),
]
operations = [
migrations.RemoveField(
model_name='costcenter',
name='active',
... | 23.48 | 47 | 0.504259 | 91 | 1,174 | 6.373626 | 0.362637 | 0.325862 | 0.403448 | 0.465517 | 0.741379 | 0.741379 | 0 | 0 | 0 | 0 | 0 | 0.042759 | 0.382453 | 1,174 | 49 | 48 | 23.959184 | 0.757241 | 0.03833 | 0 | 0.837209 | 1 | 0 | 0.14197 | 0.020408 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.023256 | 0 | 0.093023 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d79431e424f8b8617e779e1b152bc295a29010bc | 91 | py | Python | TornadoAPI/models/customers.py | darkwind/WebTemplate | 7ed4f32393eb2df4a7b7fc0034c0dcebb9cc5173 | [
"MIT"
] | null | null | null | TornadoAPI/models/customers.py | darkwind/WebTemplate | 7ed4f32393eb2df4a7b7fc0034c0dcebb9cc5173 | [
"MIT"
] | null | null | null | TornadoAPI/models/customers.py | darkwind/WebTemplate | 7ed4f32393eb2df4a7b7fc0034c0dcebb9cc5173 | [
"MIT"
] | null | null | null | from sqlalchemy import Column, BigInteger, String
from tornado_sqlalchemy import SQLAlchemy | 45.5 | 49 | 0.879121 | 11 | 91 | 7.181818 | 0.636364 | 0.405063 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098901 | 91 | 2 | 50 | 45.5 | 0.963415 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ad4fb54bf50fc4ad6a5dd39c22fd69d632b8b7af | 48,730 | py | Python | solvers.py | acer8/Navier_Stokes_2D | 2884ee81239a9b43d422b78fc1cc9bf24cae89f7 | [
"MIT"
] | 3 | 2018-03-06T11:50:34.000Z | 2022-03-16T00:14:45.000Z | solvers.py | acer8/Navier_Stokes_2D | 2884ee81239a9b43d422b78fc1cc9bf24cae89f7 | [
"MIT"
] | null | null | null | solvers.py | acer8/Navier_Stokes_2D | 2884ee81239a9b43d422b78fc1cc9bf24cae89f7 | [
"MIT"
] | 4 | 2015-09-03T02:12:31.000Z | 2018-11-30T11:43:36.000Z | # -*- coding: utf-8 -*-
"""
This file contains the iterative numerical solvers which uses Projection methods
"""
from __future__ import division
import numpy as np
import matplotlib.pyplot as plt
from scipy.sparse.linalg import LinearOperator
import scipy.sparse
import scipy.sparse.linalg as slg
from pyamg import smoo... | 40.507066 | 213 | 0.566099 | 6,959 | 48,730 | 3.787182 | 0.065814 | 0.024284 | 0.029141 | 0.020641 | 0.767558 | 0.736672 | 0.71569 | 0.703775 | 0.697856 | 0.694897 | 0 | 0.031814 | 0.293679 | 48,730 | 1,202 | 214 | 40.540765 | 0.733897 | 0.134435 | 0 | 0.741203 | 0 | 0 | 0.025346 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.013621 | null | null | 0.021566 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ad7238a181b0b4c915c6513ec5fcbec043d0a020 | 4,318 | py | Python | test/test_budget_update_run.py | usmanwardag/dollar_bot | 75b02701932b932ae447edf3495acc6dbb886b2b | [
"MIT"
] | null | null | null | test/test_budget_update_run.py | usmanwardag/dollar_bot | 75b02701932b932ae447edf3495acc6dbb886b2b | [
"MIT"
] | 40 | 2021-11-20T01:28:17.000Z | 2021-12-05T20:52:32.000Z | test/test_budget_update_run.py | usmanwardag/dollar_bot | 75b02701932b932ae447edf3495acc6dbb886b2b | [
"MIT"
] | null | null | null | from code import budget_update
import mock
from mock import ANY
from mock.mock import patch
from telebot import types
@patch("telebot.telebot")
def test_run_overall_budget_overall_case(mock_telebot, mocker):
mc = mock_telebot.return_value
mocker.patch.object(budget_update, "helper")
budget_update.helper.... | 34 | 83 | 0.774896 | 552 | 4,318 | 5.742754 | 0.11413 | 0.143849 | 0.090852 | 0.055521 | 0.852366 | 0.828391 | 0.827129 | 0.827129 | 0.790221 | 0.769401 | 0 | 0.000803 | 0.134785 | 4,318 | 126 | 84 | 34.269841 | 0.847698 | 0.015285 | 0 | 0.588889 | 0 | 0 | 0.097647 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 1 | 0.1 | false | 0 | 0.055556 | 0 | 0.166667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ad78968dd7b42c2c7d9ef0ec372c00b1a0311894 | 186 | py | Python | python/launch_agent.py | architsakhadeo/Offline-Hyperparameter-Tuning-for-RL | 94b8f205b12f0cc59ae8e19b2e6099f34be929d6 | [
"MIT"
] | null | null | null | python/launch_agent.py | architsakhadeo/Offline-Hyperparameter-Tuning-for-RL | 94b8f205b12f0cc59ae8e19b2e6099f34be929d6 | [
"MIT"
] | null | null | null | python/launch_agent.py | architsakhadeo/Offline-Hyperparameter-Tuning-for-RL | 94b8f205b12f0cc59ae8e19b2e6099f34be929d6 | [
"MIT"
] | 2 | 2021-09-21T21:19:11.000Z | 2021-09-24T23:11:35.000Z | import logging
from Remote.agent import serve
from Agents.ExpectedSarsaLambda import ExpectedSarsaTileCodingContinuing
logging.basicConfig()
serve(ExpectedSarsaTileCodingContinuing())
| 23.25 | 72 | 0.876344 | 16 | 186 | 10.1875 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075269 | 186 | 7 | 73 | 26.571429 | 0.947674 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d109ef06e4f5740b721feae97143276a6f96ad28 | 117 | py | Python | myenv/lib/python2.7/site-packages/materializecssform/config.py | dkumarlinux/saleor | e3a852fed7da38e4141b0755bd282012f508c7b9 | [
"BSD-3-Clause"
] | null | null | null | myenv/lib/python2.7/site-packages/materializecssform/config.py | dkumarlinux/saleor | e3a852fed7da38e4141b0755bd282012f508c7b9 | [
"BSD-3-Clause"
] | 2 | 2022-02-10T16:51:56.000Z | 2022-02-10T18:23:52.000Z | myenv/lib/python2.7/site-packages/materializecssform/config.py | dkumarlinux/saleor | e3a852fed7da38e4141b0755bd282012f508c7b9 | [
"BSD-3-Clause"
] | null | null | null | from django.conf import settings
MATERIALIZECSS_COLUMN_COUNT = getattr(settings, 'MATERIALIZECSS_COLUMN_COUNT', 12)
| 29.25 | 82 | 0.846154 | 14 | 117 | 6.785714 | 0.714286 | 0.463158 | 0.589474 | 0.694737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018692 | 0.08547 | 117 | 3 | 83 | 39 | 0.869159 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
d16c317cb76a761f635d7d8c0b45d64b498b5053 | 605 | py | Python | examples/simple/ajax.py | peiwei/django-dajaxice | bf41c7623804856326b09f0724b4cb7d14440d7e | [
"BSD-3-Clause"
] | 60 | 2015-01-09T23:02:52.000Z | 2021-03-27T13:46:55.000Z | examples/simple/ajax.py | peiwei/django-dajaxice | bf41c7623804856326b09f0724b4cb7d14440d7e | [
"BSD-3-Clause"
] | 15 | 2015-02-19T15:06:15.000Z | 2017-10-27T15:06:47.000Z | examples/simple/ajax.py | peiwei/django-dajaxice | bf41c7623804856326b09f0724b4cb7d14440d7e | [
"BSD-3-Clause"
] | 55 | 2015-01-02T22:27:13.000Z | 2021-04-27T19:34:15.000Z | import json
from dajaxice.decorators import dajaxice_register
@dajaxice_register(method='GET')
@dajaxice_register(method='POST', name='other_post')
def hello(request):
return json.dumps({'message': 'hello'})
@dajaxice_register(method='GET')
@dajaxice_register(method='POST', name="more.complex.bye")
def bye(req... | 22.407407 | 61 | 0.715702 | 78 | 605 | 5.435897 | 0.346154 | 0.264151 | 0.259434 | 0.207547 | 0.471698 | 0.259434 | 0.259434 | 0.259434 | 0.259434 | 0 | 0 | 0 | 0.117355 | 605 | 26 | 62 | 23.269231 | 0.794007 | 0 | 0 | 0.176471 | 0 | 0 | 0.173554 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.235294 | false | 0 | 0.117647 | 0.176471 | 0.588235 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
0f13cceace5f4dbb6077b315c5d629cb4c51fe6f | 21 | py | Python | test/login.py | longkangzhi/test008 | a2914fabd6d36bbad6599824a28b5d36f6589a12 | [
"MIT"
] | null | null | null | test/login.py | longkangzhi/test008 | a2914fabd6d36bbad6599824a28b5d36f6589a12 | [
"MIT"
] | null | null | null | test/login.py | longkangzhi/test008 | a2914fabd6d36bbad6599824a28b5d36f6589a12 | [
"MIT"
] | null | null | null | a = 10
b = 20
c = 30
| 5.25 | 6 | 0.428571 | 6 | 21 | 1.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 0.428571 | 21 | 3 | 7 | 7 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 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 | 6 |
0f1e9f0d12d86230a7b95ac7c1308310168bfd95 | 7,135 | py | Python | tests/test_integration/test_pre_commit_hooks.py | mondeja/md2po | 063ed45c613c98d82f7955fe9c7e2deabe109c2e | [
"BSD-3-Clause"
] | null | null | null | tests/test_integration/test_pre_commit_hooks.py | mondeja/md2po | 063ed45c613c98d82f7955fe9c7e2deabe109c2e | [
"BSD-3-Clause"
] | 17 | 2020-08-19T11:34:56.000Z | 2020-09-19T14:25:29.000Z | tests/test_integration/test_pre_commit_hooks.py | mondeja/md2po | 063ed45c613c98d82f7955fe9c7e2deabe109c2e | [
"BSD-3-Clause"
] | null | null | null | import os
import subprocess
def pre_commit_run_all_files(cwd=os.getcwd()):
return subprocess.run(
['pre-commit', 'run', '--all-files'],
cwd=cwd,
stdout=subprocess.PIPE,
stderr=subprocess.PIPE,
)
def test_md2po_pre_commit_hook(tmp_dir, git_init, git_add_commit):
with tmp_d... | 26.722846 | 79 | 0.565102 | 922 | 7,135 | 4.181128 | 0.118221 | 0.062776 | 0.040467 | 0.070817 | 0.814527 | 0.774578 | 0.749157 | 0.719326 | 0.71284 | 0.702464 | 0 | 0.010059 | 0.289418 | 7,135 | 266 | 80 | 26.823308 | 0.750296 | 0.037281 | 0 | 0.642512 | 0 | 0 | 0.293046 | 0.013413 | 0 | 0 | 0 | 0 | 0.15942 | 1 | 0.024155 | false | 0.019324 | 0.009662 | 0.004831 | 0.038647 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0f427ef393aecfeca9a37b787d450fb8edf406bf | 28 | py | Python | testpackage/setup.py | HENRYMARTIN5/SolutionPackages | 74fef25b1e3615792adc8e8bae22d709ae013b0d | [
"MIT"
] | 1 | 2022-01-02T13:47:33.000Z | 2022-01-02T13:47:33.000Z | testpackage/setup.py | HENRYMARTIN5/SolutionPackages | 74fef25b1e3615792adc8e8bae22d709ae013b0d | [
"MIT"
] | null | null | null | testpackage/setup.py | HENRYMARTIN5/SolutionPackages | 74fef25b1e3615792adc8e8bae22d709ae013b0d | [
"MIT"
] | null | null | null | print("I'm the setup file!") | 28 | 28 | 0.678571 | 6 | 28 | 3.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 28 | 1 | 28 | 28 | 0.76 | 0 | 0 | 0 | 0 | 0 | 0.655172 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
0f66a6d414ef7a347febfcd491ff160392917216 | 19,928 | py | Python | analysis/encoding.py | BZSROCKETS/cemrl | 499939535794ee027f08b8a4133eefd0bb7abe14 | [
"MIT"
] | null | null | null | analysis/encoding.py | BZSROCKETS/cemrl | 499939535794ee027f08b8a4133eefd0bb7abe14 | [
"MIT"
] | null | null | null | analysis/encoding.py | BZSROCKETS/cemrl | 499939535794ee027f08b8a4133eefd0bb7abe14 | [
"MIT"
] | null | null | null | import os
import pickle
import matplotlib.pyplot as plt
from matplotlib.patches import Ellipse
import numpy as np
import colorsys
plt.rc('text', usetex=True)
plt.rc('font', family='serif')
number2name_ml10 = {
0: 'reach-v1',
1: 'push-v1',
2: 'pick-place-v1',
3: 'door-open-v1',
4: 'drawer-close-v1'... | 54.898072 | 275 | 0.616519 | 2,767 | 19,928 | 4.266715 | 0.096856 | 0.068609 | 0.102998 | 0.072082 | 0.858631 | 0.842114 | 0.817127 | 0.789175 | 0.777655 | 0.763934 | 0 | 0.024059 | 0.209504 | 19,928 | 363 | 276 | 54.898072 | 0.725386 | 0.151696 | 0 | 0.661922 | 0 | 0 | 0.086247 | 0.001365 | 0.010676 | 0 | 0 | 0 | 0 | 1 | 0.017794 | false | 0.003559 | 0.021352 | 0 | 0.039146 | 0.017794 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7e274ec4396cf4dd7ed91c1ed6dba12f09f63f2f | 174 | py | Python | sql_connectors/__init__.py | andmatt/sql_connectors | f2680ae7e847fc94064d506bf8da9a3b1ef68f43 | [
"MIT"
] | 8 | 2018-03-29T17:20:17.000Z | 2020-10-24T21:12:10.000Z | sql_connectors/__init__.py | andmatt/sql_connectors | f2680ae7e847fc94064d506bf8da9a3b1ef68f43 | [
"MIT"
] | 3 | 2018-10-17T19:59:23.000Z | 2019-01-14T18:41:01.000Z | sql_connectors/__init__.py | andmatt/sql_connectors | f2680ae7e847fc94064d506bf8da9a3b1ef68f43 | [
"MIT"
] | 5 | 2018-10-15T20:07:59.000Z | 2019-10-10T14:12:21.000Z | # -*- coding: utf-8 -*-
from ._version import __version__, __version_info__
from .storage import LocalStorage
__all__ = ["__version__", "__version_info__", "LocalStorage"]
| 24.857143 | 61 | 0.747126 | 18 | 174 | 5.944444 | 0.555556 | 0.261682 | 0.336449 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006536 | 0.12069 | 174 | 6 | 62 | 29 | 0.69281 | 0.12069 | 0 | 0 | 0 | 0 | 0.258278 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7e2c6268f71a969ef5c7bbf91fba49d974fd0f66 | 34 | py | Python | python-analysers/src/test/resources/org/jetbrains/research/lupa/pythonAnalysis/imports/analysis/psi/fromImportStatementsData/in_13_absolute_from_import.py | JetBrains-Research/Lupa | c105487621564c60cae17395bf32eb40868ceb89 | [
"Apache-2.0"
] | 16 | 2022-01-11T00:32:20.000Z | 2022-03-25T21:40:52.000Z | python-analysers/src/test/resources/org/jetbrains/research/lupa/pythonAnalysis/imports/analysis/psi/fromImportStatementsData/in_13_absolute_from_import.py | nbirillo/Kotlin-Analysis | 73c3b8a59bf40ed932bb512f30b0ff31f251af40 | [
"Apache-2.0"
] | 12 | 2021-07-05T11:42:01.000Z | 2021-12-23T07:57:54.000Z | python-analysers/src/test/resources/org/jetbrains/research/lupa/pythonAnalysis/imports/analysis/psi/fromImportStatementsData/in_13_absolute_from_import.py | nbirillo/Kotlin-Analysis | 73c3b8a59bf40ed932bb512f30b0ff31f251af40 | [
"Apache-2.0"
] | 3 | 2021-09-10T13:21:54.000Z | 2021-11-23T11:37:55.000Z | from src.tasks.task1 import utils
| 17 | 33 | 0.823529 | 6 | 34 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033333 | 0.117647 | 34 | 1 | 34 | 34 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7e67f73b709257d530869cc72715eb7c4be3f518 | 200 | py | Python | lldb/packages/Python/lldbsuite/test/lang/cpp/class-template-parameter-pack/TestClassTemplateParameterPack.py | medismailben/llvm-project | e334a839032fe500c3bba22bf976ab7af13ce1c1 | [
"Apache-2.0"
] | 765 | 2015-12-03T16:44:59.000Z | 2022-03-07T12:41:10.000Z | packages/Python/lldbsuite/test/lang/cpp/class-template-parameter-pack/TestClassTemplateParameterPack.py | DalavanCloud/lldb | e913eaf2468290fb94c767d474d611b41a84dd69 | [
"Apache-2.0"
] | 1,815 | 2015-12-11T23:56:05.000Z | 2020-01-10T19:28:43.000Z | packages/Python/lldbsuite/test/lang/cpp/class-template-parameter-pack/TestClassTemplateParameterPack.py | DalavanCloud/lldb | e913eaf2468290fb94c767d474d611b41a84dd69 | [
"Apache-2.0"
] | 284 | 2015-12-03T16:47:25.000Z | 2022-03-12T05:39:48.000Z | from lldbsuite.test import lldbinline
from lldbsuite.test import decorators
lldbinline.MakeInlineTest(
__file__, globals(), [
decorators.expectedFailureAll(
compiler="gcc")])
| 25 | 38 | 0.72 | 18 | 200 | 7.777778 | 0.666667 | 0.185714 | 0.242857 | 0.328571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195 | 200 | 7 | 39 | 28.571429 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0.015 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
7e7d7b00a4dfbc24dac95b85c60686ccdb54f2a9 | 33 | py | Python | dateparse/__init__.py | tobiasli/dateparse | 7ba61ea6a1ac0c98c7b7c69bd50c889fd33a6d29 | [
"MIT"
] | null | null | null | dateparse/__init__.py | tobiasli/dateparse | 7ba61ea6a1ac0c98c7b7c69bd50c889fd33a6d29 | [
"MIT"
] | 2 | 2015-11-15T21:09:30.000Z | 2019-10-26T21:06:45.000Z | dateparse/__init__.py | tobiasli/dateparse | 7ba61ea6a1ac0c98c7b7c69bd50c889fd33a6d29 | [
"MIT"
] | null | null | null | from dateparse.dateparse import * | 33 | 33 | 0.848485 | 4 | 33 | 7 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 33 | 1 | 33 | 33 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7eae4b6e82a862485ccc6089efc8ef1a41a449ab | 21,921 | py | Python | pkgs/conf-pkg/src/genie/libs/conf/l2vpn/iosxr/vfi.py | kecorbin/genielibs | 5d3951b8911013691822e73e9c3d0f557ca10f43 | [
"Apache-2.0"
] | null | null | null | pkgs/conf-pkg/src/genie/libs/conf/l2vpn/iosxr/vfi.py | kecorbin/genielibs | 5d3951b8911013691822e73e9c3d0f557ca10f43 | [
"Apache-2.0"
] | null | null | null | pkgs/conf-pkg/src/genie/libs/conf/l2vpn/iosxr/vfi.py | kecorbin/genielibs | 5d3951b8911013691822e73e9c3d0f557ca10f43 | [
"Apache-2.0"
] | null | null | null |
from abc import ABC
import warnings
import contextlib
from genie.conf.base.attributes import UnsupportedAttributeWarning,\
AttributesHelper
from genie.conf.base.cli import CliConfigBuilder
from genie.conf.base.config import CliConfig
from genie.libs.conf.l2vpn.pseudowire import PseudowireNeighbor,\
Pseudowir... | 62.991379 | 189 | 0.62748 | 2,304 | 21,921 | 5.90625 | 0.072049 | 0.042622 | 0.068195 | 0.089506 | 0.838257 | 0.80754 | 0.786008 | 0.76749 | 0.76749 | 0.76749 | 0 | 0.026655 | 0.291456 | 21,921 | 347 | 190 | 63.172911 | 0.849472 | 0.377355 | 0 | 0.619048 | 0 | 0 | 0.074652 | 0.009939 | 0 | 0 | 0 | 0 | 0.090476 | 1 | 0.07619 | false | 0.009524 | 0.057143 | 0.038095 | 0.247619 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0e1803846cc2a25ea7d3543b56fc66b7cd327f16 | 2,091 | py | Python | diceThing.py | HappyNapalm/dungeon_crawl_python | d53a0936292b40bf098076f4fe27bcfaeb713591 | [
"Unlicense"
] | null | null | null | diceThing.py | HappyNapalm/dungeon_crawl_python | d53a0936292b40bf098076f4fe27bcfaeb713591 | [
"Unlicense"
] | null | null | null | diceThing.py | HappyNapalm/dungeon_crawl_python | d53a0936292b40bf098076f4fe27bcfaeb713591 | [
"Unlicense"
] | null | null | null | from random import randint
while(True):
stats=[0,1,2,3,4,5]
i=0
while(i<6):
a=1
j=0
while(j<4):
a = a+randint(1,6)
if(a>8&a<18):
j=j+1
a = a-3
stats[i] = a
i=i+1
print("\nWhat is your race A... | 28.643836 | 47 | 0.436633 | 273 | 2,091 | 3.318681 | 0.175824 | 0.092715 | 0.100442 | 0.108168 | 0.756071 | 0.756071 | 0.756071 | 0.756071 | 0.756071 | 0.700883 | 0 | 0.05244 | 0.343376 | 2,091 | 72 | 48 | 29.041667 | 0.607429 | 0 | 0 | 0.558824 | 0 | 0 | 0.150074 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.014706 | 0 | 0.014706 | 0.647059 | 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 | 1 | 0 | 6 |
0e31435f187ca1450633d3c8e3ea5d1d2e5a66be | 43 | py | Python | signalr/transports/__init__.py | talboren/signalr-client-py | bc41ab6602348258140372a5d78dc0e4f8f6205d | [
"Apache-2.0"
] | 58 | 2015-08-28T18:45:54.000Z | 2022-01-21T17:53:43.000Z | signalr/transports/__init__.py | talboren/signalr-client-py | bc41ab6602348258140372a5d78dc0e4f8f6205d | [
"Apache-2.0"
] | 48 | 2015-08-29T18:19:59.000Z | 2021-07-13T07:32:40.000Z | signalr/transports/__init__.py | talboren/signalr-client-py | bc41ab6602348258140372a5d78dc0e4f8f6205d | [
"Apache-2.0"
] | 67 | 2015-08-28T22:44:47.000Z | 2022-03-03T12:37:14.000Z | from ._auto_transport import AutoTransport
| 21.5 | 42 | 0.883721 | 5 | 43 | 7.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 43 | 1 | 43 | 43 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0e34295d5e20de58ffba5123aa3b88f9ea34f5d2 | 68,075 | py | Python | tests/001_theoretical/test_011_list_blueprint.py | vitlabuda/datalidator | 539063a98990c6be165baeff6c2a74ac2fd7a130 | [
"BSD-3-Clause"
] | null | null | null | tests/001_theoretical/test_011_list_blueprint.py | vitlabuda/datalidator | 539063a98990c6be165baeff6c2a74ac2fd7a130 | [
"BSD-3-Clause"
] | null | null | null | tests/001_theoretical/test_011_list_blueprint.py | vitlabuda/datalidator | 539063a98990c6be165baeff6c2a74ac2fd7a130 | [
"BSD-3-Clause"
] | null | null | null | #!/bin/false
# Copyright (c) 2022 Vít Labuda. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
# following conditions are met:
# 1. Redistributions of source code must retain the above copyright notice, this list of conditions an... | 65.205939 | 380 | 0.625075 | 7,291 | 68,075 | 5.735976 | 0.058565 | 0.06743 | 0.100811 | 0.008226 | 0.822673 | 0.801463 | 0.788814 | 0.771646 | 0.756701 | 0.750747 | 0 | 0.095392 | 0.187073 | 68,075 | 1,043 | 381 | 65.268456 | 0.660318 | 0.068483 | 0 | 0.663918 | 0 | 0 | 0.082907 | 0.004009 | 0 | 0 | 0 | 0 | 0.010309 | 1 | 0.024742 | false | 0 | 0.031959 | 0.004124 | 0.065979 | 0.045361 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0e59f7b6bc63b08ce066e99e011691eb71388805 | 25 | py | Python | notest.py | jainankit/public-test | fc29a02b03187c107c816f70ed1802d008cb538a | [
"MIT"
] | null | null | null | notest.py | jainankit/public-test | fc29a02b03187c107c816f70ed1802d008cb538a | [
"MIT"
] | null | null | null | notest.py | jainankit/public-test | fc29a02b03187c107c816f70ed1802d008cb538a | [
"MIT"
] | null | null | null | print("no")
assert False
| 8.333333 | 12 | 0.72 | 4 | 25 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 25 | 2 | 13 | 12.5 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0.08 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
adc524cc2436d88f40e4aab609c1cb7bb8e25273 | 114 | py | Python | amfe/linalg/__init__.py | ma-kast/AMfe | 99686cc313fb8904a093fb42e6cf0b38f8cfd791 | [
"BSD-3-Clause"
] | null | null | null | amfe/linalg/__init__.py | ma-kast/AMfe | 99686cc313fb8904a093fb42e6cf0b38f8cfd791 | [
"BSD-3-Clause"
] | null | null | null | amfe/linalg/__init__.py | ma-kast/AMfe | 99686cc313fb8904a093fb42e6cf0b38f8cfd791 | [
"BSD-3-Clause"
] | null | null | null | from .linearsolvers import *
from .eigen import *
from .norms import *
from .orth import *
from .MKLutils import * | 22.8 | 28 | 0.745614 | 15 | 114 | 5.666667 | 0.466667 | 0.470588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 114 | 5 | 29 | 22.8 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bc2ce608f338e5a06805c76fbadf9c5c9c60296d | 5,442 | py | Python | sources/nitram_micro_mono.py | nitram509/nitram-micro-font | 03f2e78373de790a89f2b364da2b53837ad45c4c | [
"MIT"
] | 10 | 2017-04-16T18:26:26.000Z | 2022-03-08T18:05:39.000Z | sources/nitram_micro_mono.py | nitram509/nitram-micro-font | 03f2e78373de790a89f2b364da2b53837ad45c4c | [
"MIT"
] | null | null | null | sources/nitram_micro_mono.py | nitram509/nitram-micro-font | 03f2e78373de790a89f2b364da2b53837ad45c4c | [
"MIT"
] | 1 | 2019-03-23T16:15:06.000Z | 2019-03-23T16:15:06.000Z | #!/usr/bin/python
# -*- coding: utf-8 -*-
nitram_micro_mono_CP437 = [
0, 0, 0, 0, 0,
10, 0, 4, 17, 14,
10, 0, 0, 14, 17,
27, 31, 31, 14, 4,
0, 0, 0, 0, 0,
0, 4, 10, 4, 14,
4, 14, 14, 4, 14,
0, 14, 14, 14, 0,
0, 0, 0, 0, 0,
0, 4, 10, 4, 0,
0, 0, 0, 0, 0,
30, 28, 31, 21, 7... | 20.850575 | 27 | 0.336641 | 1,290 | 5,442 | 1.417829 | 0.031783 | 0.311646 | 0.367414 | 0.398032 | 0.609623 | 0.498633 | 0.463641 | 0.43357 | 0.393658 | 0.364133 | 0 | 0.57257 | 0.425211 | 5,442 | 261 | 28 | 20.850575 | 0.012148 | 0.006983 | 0 | 0.46124 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
cb25f140aac484165158e63270c573c7a5cdc0a9 | 1,293 | py | Python | tests/test_build_url.py | shubham-surya/core-lib | 543db80706746a937e5ed16bd50f2de8d58b32e4 | [
"MIT"
] | null | null | null | tests/test_build_url.py | shubham-surya/core-lib | 543db80706746a937e5ed16bd50f2de8d58b32e4 | [
"MIT"
] | 9 | 2021-03-11T02:29:17.000Z | 2022-03-22T19:01:18.000Z | tests/test_build_url.py | shubham-surya/core-lib | 543db80706746a937e5ed16bd50f2de8d58b32e4 | [
"MIT"
] | 2 | 2022-01-27T11:19:00.000Z | 2022-02-11T11:33:09.000Z | import unittest
from core_lib.data_layers.data.data_helpers import build_url
class TestBuildUrl(unittest.TestCase):
def test_build_url(self):
self.assertEqual(build_url(host="some_domain.com"), "some_domain.com")
self.assertEqual(build_url(protocol="http", host="some_domain.com"), "http://some_d... | 47.888889 | 178 | 0.640371 | 174 | 1,293 | 4.603448 | 0.206897 | 0.174782 | 0.227216 | 0.200999 | 0.724095 | 0.724095 | 0.709114 | 0.675406 | 0.675406 | 0.675406 | 0 | 0.011215 | 0.172467 | 1,293 | 26 | 179 | 49.730769 | 0.737383 | 0 | 0 | 0 | 0 | 0.05 | 0.344934 | 0 | 0 | 0 | 0 | 0 | 0.35 | 1 | 0.05 | false | 0.25 | 0.1 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
cb2fc7da7e1ba7a4229cfe15412a78f918bd9743 | 36 | py | Python | Minimal-For-Cpanel/passenger_wsgi.py | DhirajBajracharya/minimal-django | 2e3ede1dcff96b7188021fa0aab69f5ba8ee65ab | [
"MIT"
] | null | null | null | Minimal-For-Cpanel/passenger_wsgi.py | DhirajBajracharya/minimal-django | 2e3ede1dcff96b7188021fa0aab69f5ba8ee65ab | [
"MIT"
] | null | null | null | Minimal-For-Cpanel/passenger_wsgi.py | DhirajBajracharya/minimal-django | 2e3ede1dcff96b7188021fa0aab69f5ba8ee65ab | [
"MIT"
] | null | null | null | from minimal.wsgi import application | 36 | 36 | 0.888889 | 5 | 36 | 6.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 36 | 1 | 36 | 36 | 0.969697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cb64c743f614117d6bf9f0ddf779af40fc03cbaa | 275 | py | Python | Test.py | gemirson/DevOps | b4270c34d7923b2e7c2cf60288f9a133143a9e3a | [
"Apache-2.0"
] | null | null | null | Test.py | gemirson/DevOps | b4270c34d7923b2e7c2cf60288f9a133143a9e3a | [
"Apache-2.0"
] | 7 | 2019-07-31T22:52:14.000Z | 2019-08-01T01:03:49.000Z | Test.py | gemirson/DevOps | b4270c34d7923b2e7c2cf60288f9a133143a9e3a | [
"Apache-2.0"
] | null | null | null | import pytest
from DevOps import Sum
from DevOps import Sub
from DevOps import Mul
from DevOps import Div
def test_somar():
assert Sum(2,4)==6
def test_sub():
assert Sub(2,4)==-2
def test_mul():
assert Mul(2,4)==8
def test_div():
assert Div(2,4)==0.5 | 19.642857 | 29 | 0.665455 | 51 | 275 | 3.509804 | 0.352941 | 0.223464 | 0.357542 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059908 | 0.210909 | 275 | 14 | 29 | 19.642857 | 0.764977 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.307692 | 1 | 0.307692 | true | 0 | 0.384615 | 0 | 0.692308 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cbba487b4dbc6b551001a062edb021a86097ca46 | 68 | py | Python | Chapter 01/Chap01_Example1.1.py | Anancha/Programming-Techniques-using-Python | e80c329d2a27383909d358741a5cab03cb22fd8b | [
"MIT"
] | null | null | null | Chapter 01/Chap01_Example1.1.py | Anancha/Programming-Techniques-using-Python | e80c329d2a27383909d358741a5cab03cb22fd8b | [
"MIT"
] | null | null | null | Chapter 01/Chap01_Example1.1.py | Anancha/Programming-Techniques-using-Python | e80c329d2a27383909d358741a5cab03cb22fd8b | [
"MIT"
] | null | null | null | a=10
print(type(a))
a='Python'
print(type(a))
a=False
print(type(a)) | 11.333333 | 14 | 0.676471 | 15 | 68 | 3.066667 | 0.4 | 0.586957 | 0.652174 | 0.478261 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031746 | 0.073529 | 68 | 6 | 15 | 11.333333 | 0.698413 | 0 | 0 | 0.5 | 0 | 0 | 0.086957 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
cbda601f4da1ace2e8493ec89d4493fb32518836 | 68 | py | Python | py/is_prime.py | iaueos/lang | 038278a02ae48f283ebb392828b94aab4e49104d | [
"MIT"
] | null | null | null | py/is_prime.py | iaueos/lang | 038278a02ae48f283ebb392828b94aab4e49104d | [
"MIT"
] | null | null | null | py/is_prime.py | iaueos/lang | 038278a02ae48f283ebb392828b94aab4e49104d | [
"MIT"
] | null | null | null | def is_prime(n):
return not re.match(r'^.?$|^(..+?)\1+$', '1'*n) | 34 | 51 | 0.470588 | 12 | 68 | 2.583333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033898 | 0.132353 | 68 | 2 | 51 | 34 | 0.491525 | 0 | 0 | 0 | 0 | 0 | 0.246377 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
1dc6d8b8f4296951f195a745633f6e0071c92803 | 22,522 | py | Python | pyspatialopt/analysis/pyqgis_analysis.py | giserh/pyspatialopt | 86fed48b8fa258be05b008538289577dbcc5e9f1 | [
"MIT"
] | 55 | 2016-07-18T20:09:43.000Z | 2022-01-26T19:33:09.000Z | pyspatialopt/analysis/pyqgis_analysis.py | giserh/pyspatialopt | 86fed48b8fa258be05b008538289577dbcc5e9f1 | [
"MIT"
] | 6 | 2016-11-07T03:42:46.000Z | 2019-08-15T18:48:47.000Z | pyspatialopt/analysis/pyqgis_analysis.py | giserh/pyspatialopt | 86fed48b8fa258be05b008538289577dbcc5e9f1 | [
"MIT"
] | 18 | 2016-09-01T22:18:56.000Z | 2022-01-27T18:15:50.000Z | # -*- coding: UTF-8 -*-
import logging
import math
import os
import qgis
import qgis.core
import qgis.utils
from pyspatialopt import version
def generate_query(unique_ids, unique_field_name, wrap_values_in_quotes=False):
"""
Generates a select or definition query that can applied to the input layers
:para... | 50.611236 | 181 | 0.658423 | 2,816 | 22,522 | 5.088778 | 0.083807 | 0.032729 | 0.025122 | 0.023726 | 0.800768 | 0.781577 | 0.756664 | 0.727495 | 0.688207 | 0.664131 | 0 | 0.003426 | 0.23537 | 22,522 | 444 | 182 | 50.725225 | 0.828698 | 0.21943 | 0 | 0.644776 | 1 | 0 | 0.171008 | 0.006368 | 0 | 0 | 0 | 0 | 0 | 1 | 0.020896 | false | 0 | 0.020896 | 0 | 0.059701 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1dd3e9ff2d5ee7ec519703b04b09b9da47b11501 | 106 | py | Python | pypeloton/__init__.py | raman325/pypeloton | b653bd6ae1d28ad2dde420a9f369467c2aabe6a2 | [
"MIT"
] | 2 | 2021-03-13T21:14:27.000Z | 2022-01-03T01:43:06.000Z | pypeloton/__init__.py | raman325/pypeloton | b653bd6ae1d28ad2dde420a9f369467c2aabe6a2 | [
"MIT"
] | null | null | null | pypeloton/__init__.py | raman325/pypeloton | b653bd6ae1d28ad2dde420a9f369467c2aabe6a2 | [
"MIT"
] | null | null | null | from .pypeloton import Peloton, PelotonAsync # noqa: F401
from .version import __version__ # noqa: F401
| 35.333333 | 58 | 0.773585 | 13 | 106 | 6 | 0.615385 | 0.205128 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067416 | 0.160377 | 106 | 2 | 59 | 53 | 0.808989 | 0.198113 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
380b1f5ee0c93c1b372642b2b6e290154ac067f2 | 313 | py | Python | distributed/diagnostics/__init__.py | met-office-lab/distributed | 46e31cadd55456bbd0b85a01f040d1eb33ee587f | [
"BSD-3-Clause"
] | 1 | 2019-01-02T20:00:52.000Z | 2019-01-02T20:00:52.000Z | distributed/diagnostics/__init__.py | met-office-lab/distributed | 46e31cadd55456bbd0b85a01f040d1eb33ee587f | [
"BSD-3-Clause"
] | null | null | null | distributed/diagnostics/__init__.py | met-office-lab/distributed | 46e31cadd55456bbd0b85a01f040d1eb33ee587f | [
"BSD-3-Clause"
] | 1 | 2021-10-11T13:46:48.000Z | 2021-10-11T13:46:48.000Z | from __future__ import print_function, division, absolute_import
from ..utils import ignoring
with ignoring(ImportError):
from .progressbar import progress
with ignoring(ImportError):
from .resource_monitor import Occupancy
with ignoring(ImportError):
from .scheduler_widgets import scheduler_status
| 31.3 | 64 | 0.817891 | 36 | 313 | 6.861111 | 0.527778 | 0.145749 | 0.279352 | 0.327935 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13099 | 313 | 9 | 65 | 34.777778 | 0.908088 | 0 | 0 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.125 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
381557ea05a9ac279507edff1e74462a50219760 | 125 | py | Python | wechat/basic/singals.py | yasongxu/wechat | 99cc499a045a3705711740882cdc38d55416fbb5 | [
"MIT"
] | 45 | 2017-06-21T10:35:53.000Z | 2022-03-30T09:43:09.000Z | wechat/basic/singals.py | yasongxu/wechat | 99cc499a045a3705711740882cdc38d55416fbb5 | [
"MIT"
] | 3 | 2017-11-12T13:07:08.000Z | 2021-06-10T18:39:25.000Z | wechat/basic/singals.py | yasongxu/wechat | 99cc499a045a3705711740882cdc38d55416fbb5 | [
"MIT"
] | 15 | 2017-06-22T00:45:09.000Z | 2021-03-19T07:02:58.000Z | from django.dispatch import Signal
handler_add = Signal(providing_args=["user"])
view_init = Signal(providing_args=["user"]) | 31.25 | 45 | 0.784 | 17 | 125 | 5.529412 | 0.705882 | 0.319149 | 0.404255 | 0.489362 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 125 | 4 | 46 | 31.25 | 0.817391 | 0 | 0 | 0 | 0 | 0 | 0.063492 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
69a9f64da81d628b0661b842afcf27d30953cab1 | 148 | py | Python | tests/unit/exceptions/test_rpgtk_base_exception.py | is-gabs/rpgtk | 11f657ed52374b0d9a106f5e0f9b433441141f6d | [
"MIT"
] | 2 | 2022-02-18T01:22:11.000Z | 2022-03-02T02:32:19.000Z | tests/unit/exceptions/test_rpgtk_base_exception.py | is-gabs/rpgtk | 11f657ed52374b0d9a106f5e0f9b433441141f6d | [
"MIT"
] | null | null | null | tests/unit/exceptions/test_rpgtk_base_exception.py | is-gabs/rpgtk | 11f657ed52374b0d9a106f5e0f9b433441141f6d | [
"MIT"
] | null | null | null | from rpgtk.exceptions import RPGTKBaseException
def test_should_extends_exception():
assert issubclass(RPGTKBaseException, Exception) is True
| 24.666667 | 60 | 0.837838 | 16 | 148 | 7.5625 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114865 | 148 | 5 | 61 | 29.6 | 0.923664 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
69bdf9f9e7abd700a603f084e58be842b02d91b1 | 128 | py | Python | core/Lib/re.py | dillionhacker/python222 | 205414c33fba8166167fd8a6a03eda1a68f16316 | [
"Apache-2.0"
] | 1 | 2022-03-17T13:55:02.000Z | 2022-03-17T13:55:02.000Z | core/Lib/re.py | tuankien2601/python222 | 205414c33fba8166167fd8a6a03eda1a68f16316 | [
"Apache-2.0"
] | null | null | null | core/Lib/re.py | tuankien2601/python222 | 205414c33fba8166167fd8a6a03eda1a68f16316 | [
"Apache-2.0"
] | null | null | null | # Portions Copyright (c) 2005 Nokia Corporation
#Minimal "re" compatibility wrapper
from sre import *
from sre import __all__
| 21.333333 | 48 | 0.78125 | 17 | 128 | 5.647059 | 0.823529 | 0.145833 | 0.270833 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037383 | 0.164063 | 128 | 5 | 49 | 25.6 | 0.859813 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
69c7143aad57f1f67447043e4808dc60fce50dae | 106 | py | Python | dataflowfx/processing/__init__.py | nullptrninja/py-data-workflow | bba717f1c891e87561df5018333a261c5b72cdb5 | [
"MIT"
] | 1 | 2021-05-09T02:17:43.000Z | 2021-05-09T02:17:43.000Z | dataflowfx/processing/__init__.py | nullptrninja/py-data-workflow | bba717f1c891e87561df5018333a261c5b72cdb5 | [
"MIT"
] | null | null | null | dataflowfx/processing/__init__.py | nullptrninja/py-data-workflow | bba717f1c891e87561df5018333a261c5b72cdb5 | [
"MIT"
] | null | null | null | from dataflowfx.processing.dataProcessor import *
from dataflowfx.processing.dataProcessingGroup import *
| 35.333333 | 55 | 0.867925 | 10 | 106 | 9.2 | 0.6 | 0.304348 | 0.521739 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075472 | 106 | 2 | 56 | 53 | 0.938776 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
69f6b0c0b7f4e2f931d1123531021cc73a05382e | 77 | py | Python | Maya/cicd/python/libMayaExtended/libMayaExtended/mayaSceneApi.py | Mu-L/Exporters | 235ad02230791351d7a0440d9568641d28e2e77e | [
"Apache-2.0"
] | 445 | 2017-10-18T01:54:00.000Z | 2022-03-31T16:27:54.000Z | Maya/cicd/python/libMayaExtended/libMayaExtended/mayaSceneApi.py | Mu-L/Exporters | 235ad02230791351d7a0440d9568641d28e2e77e | [
"Apache-2.0"
] | 646 | 2017-10-16T00:46:17.000Z | 2022-03-31T17:40:36.000Z | Maya/cicd/python/libMayaExtended/libMayaExtended/mayaSceneApi.py | Mu-L/Exporters | 235ad02230791351d7a0440d9568641d28e2e77e | [
"Apache-2.0"
] | 313 | 2017-10-15T09:20:45.000Z | 2022-03-31T09:11:34.000Z | import maya.OpenMaya as OpenMaya
import maya.OpenMayaRender as OpenMayaRender | 38.5 | 44 | 0.883117 | 10 | 77 | 6.8 | 0.5 | 0.294118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 77 | 2 | 44 | 38.5 | 0.971429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
384d7e0e7e24ecb0b97965b628833d405e541a33 | 28,503 | py | Python | nflwin/tests/test_preprocessing.py | ryanfox/NFLWin | 25967e7c11f7283289851912c5cc97a3a48394ab | [
"MIT"
] | 15 | 2016-09-12T16:16:54.000Z | 2021-12-28T03:28:50.000Z | nflwin/tests/test_preprocessing.py | ryanfox/NFLWin | 25967e7c11f7283289851912c5cc97a3a48394ab | [
"MIT"
] | 12 | 2016-06-10T01:52:49.000Z | 2019-10-18T00:51:12.000Z | nflwin/tests/test_preprocessing.py | ryanfox/NFLWin | 25967e7c11f7283289851912c5cc97a3a48394ab | [
"MIT"
] | 8 | 2017-05-21T17:04:01.000Z | 2021-12-28T03:27:34.000Z | from __future__ import print_function, division
import numpy as np
import pandas as pd
import pytest
from sklearn.utils.validation import NotFittedError
from sklearn.pipeline import Pipeline
from nflwin import preprocessing
class TestPipelines(object):
"""Testing if pipelining cleaning steps works."""
def te... | 49.83042 | 121 | 0.486861 | 2,916 | 28,503 | 4.526749 | 0.075446 | 0.03447 | 0.031515 | 0.029697 | 0.804318 | 0.772424 | 0.742045 | 0.730909 | 0.709167 | 0.704167 | 0 | 0.041517 | 0.383118 | 28,503 | 571 | 122 | 49.917688 | 0.709208 | 0.016279 | 0 | 0.647436 | 0 | 0 | 0.096029 | 0 | 0 | 0 | 0 | 0 | 0.066239 | 1 | 0.094017 | false | 0.004274 | 0.014957 | 0 | 0.123932 | 0.00641 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
38817cda082f7a2430e3d6ecaa0bd99892992d00 | 94 | py | Python | week1/increment.py | rghvat/Competitive-Programmer-Core-Skills | 5e6a834d5a283855f788627d96647786d39108d0 | [
"Apache-2.0"
] | null | null | null | week1/increment.py | rghvat/Competitive-Programmer-Core-Skills | 5e6a834d5a283855f788627d96647786d39108d0 | [
"Apache-2.0"
] | null | null | null | week1/increment.py | rghvat/Competitive-Programmer-Core-Skills | 5e6a834d5a283855f788627d96647786d39108d0 | [
"Apache-2.0"
] | null | null | null | from math import log, floor
def no_decimal_digit(num):
return floor(log(num+1, 10)) + 1
| 15.666667 | 36 | 0.691489 | 17 | 94 | 3.705882 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0.191489 | 94 | 5 | 37 | 18.8 | 0.776316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
38aae2b9900549f32ff47692dd888719d1c2b6a1 | 115 | py | Python | src/app/utils.py | jmfer1/flagsmith-api | e7de1b5ebbcb58197e9545dc760c4b80c86a6836 | [
"BSD-3-Clause"
] | 1 | 2021-01-06T17:32:26.000Z | 2021-01-06T17:32:26.000Z | src/app/utils.py | agiannelli/flagsmith-api | e7de1b5ebbcb58197e9545dc760c4b80c86a6836 | [
"BSD-3-Clause"
] | null | null | null | src/app/utils.py | agiannelli/flagsmith-api | e7de1b5ebbcb58197e9545dc760c4b80c86a6836 | [
"BSD-3-Clause"
] | null | null | null | import shortuuid
def create_hash():
"""Helper function to create a short hash"""
return shortuuid.uuid()
| 16.428571 | 48 | 0.695652 | 15 | 115 | 5.266667 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 115 | 6 | 49 | 19.166667 | 0.858696 | 0.330435 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
38c56a18363635e0785391215c9ad6872be28e88 | 71 | py | Python | extensions/config_extension.py | chonhan/flask_restapi_clean_architecture | 7cc460386d1f70e88234ab31f291131290485e05 | [
"MIT"
] | 29 | 2020-06-11T10:15:12.000Z | 2022-03-26T06:49:48.000Z | {{cookiecutter.project_name}}/extensions/config_extension.py | sarimurrab/cookiecutter-space | 4ba9da5c0c16c902dc737951bc84c21671a24091 | [
"MIT"
] | 2 | 2021-03-20T04:01:53.000Z | 2021-03-20T04:02:06.000Z | {{cookiecutter.project_name}}/extensions/config_extension.py | sarimurrab/cookiecutter-space | 4ba9da5c0c16c902dc737951bc84c21671a24091 | [
"MIT"
] | 13 | 2020-12-24T14:33:05.000Z | 2022-03-26T13:26:51.000Z | from config import configurations
def register_config(app):
pass
| 11.833333 | 33 | 0.774648 | 9 | 71 | 6 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183099 | 71 | 5 | 34 | 14.2 | 0.931034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
38e18301ce69520be06208111547c3e763e0f68d | 187,275 | py | Python | Library/dformpy/dformpy.py | MostaphaG/Summer_project-df | fec6d2335928fc5ccb833eabb4962e45566681fd | [
"MIT"
] | 1 | 2022-02-14T07:42:58.000Z | 2022-02-14T07:42:58.000Z | Library/dformpy/dformpy.py | MostaphaG/Summer_project-df | fec6d2335928fc5ccb833eabb4962e45566681fd | [
"MIT"
] | null | null | null | Library/dformpy/dformpy.py | MostaphaG/Summer_project-df | fec6d2335928fc5ccb833eabb4962e45566681fd | [
"MIT"
] | null | null | null | # Differential form python module attempt - 1
# import needed modules
import numpy as np
import matplotlib.pyplot as plt
from matplotlib.lines import Line2D
from sympy import diff, simplify
from sympy.parsing.sympy_parser import parse_expr
from math import isnan
from matplotlib import patches as patch
from matplotlib ... | 44.83481 | 189 | 0.522499 | 25,569 | 187,275 | 3.6784 | 0.039227 | 0.012376 | 0.00672 | 0.009399 | 0.812223 | 0.788056 | 0.762751 | 0.741263 | 0.723879 | 0.701849 | 0 | 0.022455 | 0.37863 | 187,275 | 4,176 | 190 | 44.845546 | 0.78579 | 0.367294 | 0 | 0.680682 | 0 | 0.003409 | 0.093544 | 0.01378 | 0 | 0 | 0 | 0 | 0 | 1 | 0.042614 | false | 0.011364 | 0.005682 | 0 | 0.077273 | 0.015341 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
38e8f66a1fc1b29210c87a2a1d25cbc48f598413 | 213 | py | Python | seahub/share/settings.py | evrimguner/seahub | 65d5d4fd78fee3cca9fe86b4fe3c9b0240d2e1e8 | [
"Apache-2.0"
] | 1 | 2019-06-25T06:52:58.000Z | 2019-06-25T06:52:58.000Z | seahub/share/settings.py | vigossjjj/seahub | 9960918b7689c9011129a57436400aed4f545546 | [
"Apache-2.0"
] | null | null | null | seahub/share/settings.py | vigossjjj/seahub | 9960918b7689c9011129a57436400aed4f545546 | [
"Apache-2.0"
] | null | null | null | from django.conf import settings
ANONYMOUS_SHARE_COOKIE_TIMEOUT = getattr(settings, 'ANONYMOUS_SHARE_COOKIE_TIMEOUT', 24*60*60)
ANONYMOUS_SHARE_LINK_TIMEOUT = getattr(settings, 'ANONYMOUS_SHARE_LINK_TIMEOUT', 2)
| 42.6 | 94 | 0.849765 | 29 | 213 | 5.827586 | 0.482759 | 0.331361 | 0.390533 | 0.331361 | 0.668639 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035354 | 0.070423 | 213 | 4 | 95 | 53.25 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0.2723 | 0.2723 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
2a3609dc2e61df5b5400711506d7fbe384658f44 | 1,116 | py | Python | backend/Backendapi/douban/models.py | f0rdream/SkyRead | 798b4dd35b7e6be41e5fed4537d3f6034d20494e | [
"MIT"
] | null | null | null | backend/Backendapi/douban/models.py | f0rdream/SkyRead | 798b4dd35b7e6be41e5fed4537d3f6034d20494e | [
"MIT"
] | null | null | null | backend/Backendapi/douban/models.py | f0rdream/SkyRead | 798b4dd35b7e6be41e5fed4537d3f6034d20494e | [
"MIT"
] | null | null | null | # coding:utf-8
from django.db import models
# isbn13:9787111013853
class Comment(models.Model):
"""
评论模型
"""
isbn13 = models.CharField(max_length=200,default=None)
author = models.CharField(max_length=200,null=True,blank=True,default=None)
time = models.CharField(max_length=200,null=True,blan... | 26.571429 | 79 | 0.692652 | 138 | 1,116 | 5.471014 | 0.289855 | 0.189404 | 0.143046 | 0.190728 | 0.72053 | 0.72053 | 0.72053 | 0.72053 | 0.662252 | 0.662252 | 0 | 0.046154 | 0.184588 | 1,116 | 41 | 80 | 27.219512 | 0.783516 | 0.043907 | 0 | 0.521739 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.130435 | false | 0 | 0.043478 | 0.130435 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 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 | 1 | 0 | 0 | 0 | 6 |
aa666c11ebc99dc4d53c1def96bb77a4dbcac853 | 26 | py | Python | autodiff/__init__.py | zhuzilin/autodiff | 56e167eabf3e870d1a4c9b6ee6583720c2626e3a | [
"MIT"
] | 25 | 2020-12-17T12:50:04.000Z | 2021-02-23T03:03:39.000Z | autodiff/__init__.py | zhuzilin/autodiff | 56e167eabf3e870d1a4c9b6ee6583720c2626e3a | [
"MIT"
] | 5 | 2021-02-02T22:47:50.000Z | 2022-03-12T00:34:44.000Z | autodiff/__init__.py | zhuzilin/autodiff | 56e167eabf3e870d1a4c9b6ee6583720c2626e3a | [
"MIT"
] | 30 | 2020-12-31T13:31:56.000Z | 2021-01-31T07:12:24.000Z | from .tensor import Tensor | 26 | 26 | 0.846154 | 4 | 26 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 1 | 26 | 26 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2afd5ab82731221d92339edf6fde3ff0042c7012 | 86 | py | Python | pytgcalls/types/list.py | fadhil-riyanto/radiovc | fe02a01ce10b93775fce8c569f6062d71b07b4d4 | [
"MIT"
] | null | null | null | pytgcalls/types/list.py | fadhil-riyanto/radiovc | fe02a01ce10b93775fce8c569f6062d71b07b4d4 | [
"MIT"
] | null | null | null | pytgcalls/types/list.py | fadhil-riyanto/radiovc | fe02a01ce10b93775fce8c569f6062d71b07b4d4 | [
"MIT"
] | null | null | null | from pytgcalls.types.py_object import PyObject
class List(list, PyObject):
pass
| 14.333333 | 46 | 0.767442 | 12 | 86 | 5.416667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162791 | 86 | 5 | 47 | 17.2 | 0.902778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
6318dba21bac96bc536640404505201535501232 | 103 | py | Python | chronon/core/__init__.py | McLarenAppliedTechnologies/chronon | f38307c4341f61c4896fb778692a0916876b998b | [
"MIT"
] | 2 | 2020-12-14T11:58:24.000Z | 2021-08-09T22:33:26.000Z | chronon/core/__init__.py | McLarenAppliedTechnologies/chronon | f38307c4341f61c4896fb778692a0916876b998b | [
"MIT"
] | 1 | 2021-02-03T15:41:27.000Z | 2021-02-03T15:41:27.000Z | chronon/core/__init__.py | McLarenAppliedTechnologies/chronon | f38307c4341f61c4896fb778692a0916876b998b | [
"MIT"
] | null | null | null | # flake8: noqa
from .event import *
from .process import *
from .resource import *
from .user import *
| 17.166667 | 23 | 0.718447 | 14 | 103 | 5.285714 | 0.571429 | 0.405405 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011905 | 0.184466 | 103 | 5 | 24 | 20.6 | 0.869048 | 0.116505 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
63288f0a4de57c3c22459a686b55b3f613827cf3 | 57 | py | Python | examples/pkg1/test_mod2.py | altendky/pytest-monitor | 0cf89d0093e6b01788067e146c5b4b9c72d34e0c | [
"MIT"
] | 136 | 2020-02-13T09:47:49.000Z | 2022-03-29T10:36:18.000Z | examples/pkg1/test_mod2.py | altendky/pytest-monitor | 0cf89d0093e6b01788067e146c5b4b9c72d34e0c | [
"MIT"
] | 42 | 2020-03-07T14:24:13.000Z | 2022-03-18T13:59:38.000Z | examples/pkg1/test_mod2.py | altendky/pytest-monitor | 0cf89d0093e6b01788067e146c5b4b9c72d34e0c | [
"MIT"
] | 29 | 2020-02-25T19:09:23.000Z | 2022-03-21T12:26:22.000Z | import time
def test_sleep_400ms():
time.sleep(0.4)
| 11.4 | 23 | 0.701754 | 10 | 57 | 3.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106383 | 0.175439 | 57 | 4 | 24 | 14.25 | 0.702128 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2d607a044b164e1e96c79932eb74219cdf781c9f | 24 | py | Python | src/commit/__init__.py | easygittool/EasyGitTool | 55ce8aaa6756715e864afdfb3b420d62eef84437 | [
"Apache-2.0"
] | 1 | 2019-02-09T11:18:29.000Z | 2019-02-09T11:18:29.000Z | src/commit/__init__.py | easygittool/EasyGitTool | 55ce8aaa6756715e864afdfb3b420d62eef84437 | [
"Apache-2.0"
] | null | null | null | src/commit/__init__.py | easygittool/EasyGitTool | 55ce8aaa6756715e864afdfb3b420d62eef84437 | [
"Apache-2.0"
] | null | null | null | from src.commit import * | 24 | 24 | 0.791667 | 4 | 24 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 24 | 1 | 24 | 24 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2da212e68ea17ed3faba3550b1d035e2ad8e8130 | 28 | py | Python | Python/BackgroundApp/BackgroundApp/PythonHome/WinRTExtension.zip/WinRT/ApplicationModel/AppService/__init__.py | Carlosgm02/UWP-Languages | b5653c8f452b204645e3b6276caa95de2432f77e | [
"MIT"
] | 6 | 2019-10-30T08:41:15.000Z | 2021-02-24T09:20:46.000Z | Python/BackgroundApp/BackgroundApp/PythonHome/WinRTExtension.zip/WinRT/ApplicationModel/AppService/__init__.py | carlosgm02/uwp-languages | b5653c8f452b204645e3b6276caa95de2432f77e | [
"MIT"
] | null | null | null | Python/BackgroundApp/BackgroundApp/PythonHome/WinRTExtension.zip/WinRT/ApplicationModel/AppService/__init__.py | carlosgm02/uwp-languages | b5653c8f452b204645e3b6276caa95de2432f77e | [
"MIT"
] | null | null | null | from _app_service import *
| 14 | 27 | 0.785714 | 4 | 28 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 28 | 1 | 28 | 28 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.