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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
679b67b0ee602d91a608e0241aab09e2f0e7f118 | 91 | py | Python | tests/__init__.py | chuter/wechat-requests | 23591f8e04e795a1727e6a8029602cfb2dde90f1 | [
"MIT"
] | 3 | 2019-06-17T10:54:03.000Z | 2021-01-29T08:25:01.000Z | tests/__init__.py | chuter/wechat-requests | 23591f8e04e795a1727e6a8029602cfb2dde90f1 | [
"MIT"
] | 2 | 2020-03-24T15:46:37.000Z | 2020-03-30T20:26:19.000Z | tests/__init__.py | chuter/wechat-requests | 23591f8e04e795a1727e6a8029602cfb2dde90f1 | [
"MIT"
] | null | null | null | # -*- encoding: utf-8
import logging
logging.getLogger('wechat').setLevel(logging.DEBUG)
| 15.166667 | 51 | 0.736264 | 11 | 91 | 6.090909 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012195 | 0.098901 | 91 | 5 | 52 | 18.2 | 0.804878 | 0.208791 | 0 | 0 | 0 | 0 | 0.085714 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
67a8231004361b1647db22cca824b827a659f884 | 297 | py | Python | args/page_number.py | tdscheper/UMich-Course-Guide-Retriever | aae1f0cc241f83e8f101e11a406055ae9a04d054 | [
"MIT"
] | null | null | null | args/page_number.py | tdscheper/UMich-Course-Guide-Retriever | aae1f0cc241f83e8f101e11a406055ae9a04d054 | [
"MIT"
] | null | null | null | args/page_number.py | tdscheper/UMich-Course-Guide-Retriever | aae1f0cc241f83e8f101e11a406055ae9a04d054 | [
"MIT"
] | null | null | null | """Define class for Page Number argument."""
from args import _ArgType
from args.meta_arg import MetaArg
from args.arg import Arg
class PageNumber(Arg, metaclass=MetaArg, argtype=_ArgType._PAGE_NUMBER,
mandatory=True):
"""Page Number argument."""
pass # Nothing to do
| 24.75 | 71 | 0.707071 | 39 | 297 | 5.25641 | 0.538462 | 0.146341 | 0.17561 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.20202 | 297 | 11 | 72 | 27 | 0.864979 | 0.252525 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.166667 | 0.5 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
67b6e7a624fa17e4b16ab9da58f9cf735ba72a3c | 57 | py | Python | code/abc005_2_03.py | KoyanagiHitoshi/AtCoder | 731892543769b5df15254e1f32b756190378d292 | [
"MIT"
] | 3 | 2019-08-16T16:55:48.000Z | 2021-04-11T10:21:40.000Z | code/abc005_2_03.py | KoyanagiHitoshi/AtCoder | 731892543769b5df15254e1f32b756190378d292 | [
"MIT"
] | null | null | null | code/abc005_2_03.py | KoyanagiHitoshi/AtCoder | 731892543769b5df15254e1f32b756190378d292 | [
"MIT"
] | null | null | null | n=int(input())
print(min(int(input()) for i in range(n))) | 28.5 | 42 | 0.649123 | 12 | 57 | 3.083333 | 0.75 | 0.432432 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087719 | 57 | 2 | 42 | 28.5 | 0.711538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
db070f6800f23fdd0f44c912b88c1a894bd4eca7 | 112 | py | Python | sw_data_loader/test/test_sw_utils.py | stealthness/sklearn-examples | e755fd3804cc15dd28ff2a38e299e80c83565d0a | [
"BSD-3-Clause"
] | null | null | null | sw_data_loader/test/test_sw_utils.py | stealthness/sklearn-examples | e755fd3804cc15dd28ff2a38e299e80c83565d0a | [
"BSD-3-Clause"
] | null | null | null | sw_data_loader/test/test_sw_utils.py | stealthness/sklearn-examples | e755fd3804cc15dd28ff2a38e299e80c83565d0a | [
"BSD-3-Clause"
] | null | null | null | '''
This python file is to test sw_utils.py
'''
import sw_data_loader.sw_utils as util
util.flatten_image()
| 11.2 | 39 | 0.741071 | 20 | 112 | 3.9 | 0.8 | 0.179487 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160714 | 112 | 9 | 40 | 12.444444 | 0.829787 | 0.348214 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
db1fd36b340f727df4b4a247764da93e1230d5db | 218 | py | Python | tools/assistant/model/__init__.py | StrayDragon/OJ-Solutions | b31b11c01507544aded2302923da080b39cf2ba8 | [
"MIT"
] | 1 | 2019-05-13T10:09:55.000Z | 2019-05-13T10:09:55.000Z | tools/assistant/model/__init__.py | StrayDragon/OJ-Solutions | b31b11c01507544aded2302923da080b39cf2ba8 | [
"MIT"
] | null | null | null | tools/assistant/model/__init__.py | StrayDragon/OJ-Solutions | b31b11c01507544aded2302923da080b39cf2ba8 | [
"MIT"
] | null | null | null | from abc import abstractmethod, ABC
class Serializable(ABC):
@abstractmethod
def to_json(self) -> dict:
pass
@classmethod
@abstractmethod
def from_json(cls, json_obj: dict):
pass
| 16.769231 | 39 | 0.651376 | 25 | 218 | 5.56 | 0.6 | 0.244604 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.270642 | 218 | 12 | 40 | 18.166667 | 0.874214 | 0 | 0 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0.222222 | 0.111111 | 0 | 0.444444 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
db2ad3140e027df5d04103be29d8bbc1d498b8a2 | 3,246 | py | Python | recipipe/__init__.py | guiferviz/recipipe | 98a7845b87dba1d822ec273fed8f7a9844a27868 | [
"MIT"
] | 7 | 2020-06-12T17:44:18.000Z | 2022-01-11T22:08:30.000Z | recipipe/__init__.py | guiferviz/recipipe | 98a7845b87dba1d822ec273fed8f7a9844a27868 | [
"MIT"
] | 2 | 2020-05-29T20:44:04.000Z | 2020-05-30T11:37:14.000Z | recipipe/__init__.py | guiferviz/recipipe | 98a7845b87dba1d822ec273fed8f7a9844a27868 | [
"MIT"
] | 1 | 2020-10-16T23:21:46.000Z | 2020-10-16T23:21:46.000Z | """Improved pipelines for data science projects.
SKLearn pipelines easy to declare and Pandas-compatible.
"""
from sklearn.impute import MissingIndicator
from sklearn.impute import SimpleImputer
from sklearn.preprocessing import OneHotEncoder
from sklearn.preprocessing import MinMaxScaler
from sklearn.preprocessing i... | 35.67033 | 78 | 0.820702 | 330 | 3,246 | 7.978788 | 0.390909 | 0.118496 | 0.191417 | 0.239271 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10228 | 3,246 | 90 | 79 | 36.066667 | 0.903569 | 0.090573 | 0 | 0 | 0 | 0 | 0.048909 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.015152 | false | 0 | 0.5 | 0 | 0.515152 | 0.015152 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
db37c8522893ca377f3ee68e7d961dc6e79cbed0 | 410 | py | Python | runtime/python/Lib/site-packages/lazy_object_proxy/__init__.py | hwaipy/InteractionFreeNode | 88642b68430f57b028fd0f276a5709f89279e30d | [
"MIT"
] | 209 | 2015-01-05T22:05:19.000Z | 2022-03-04T06:59:07.000Z | runtime/python/Lib/site-packages/lazy_object_proxy/__init__.py | hwaipy/InteractionFreeNode | 88642b68430f57b028fd0f276a5709f89279e30d | [
"MIT"
] | 58 | 2015-03-10T06:28:03.000Z | 2022-03-11T06:21:13.000Z | env/lib/python3.9/site-packages/lazy_object_proxy/__init__.py | simotwo/AbileneParadox-ddd | c85961efb37aba43c0d99ed1c36d083507e2b2d3 | [
"MIT"
] | 38 | 2015-01-05T13:28:44.000Z | 2022-02-14T18:57:21.000Z | try:
import copy_reg as copyreg
except ImportError:
import copyreg
from .utils import identity
copyreg.constructor(identity)
try:
from .cext import Proxy
from .cext import identity
except ImportError:
from .slots import Proxy
else:
copyreg.constructor(identity)
try:
from ._version import... | 17.083333 | 48 | 0.731707 | 51 | 410 | 5.607843 | 0.411765 | 0.178322 | 0.181818 | 0.202797 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009174 | 0.202439 | 410 | 23 | 49 | 17.826087 | 0.865443 | 0 | 0 | 0.444444 | 0 | 0 | 0.02439 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.555556 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
db39f608374d9334dee2468eadf7761212ffe66d | 2,409 | py | Python | puzzles.py | gagandeepbhangal/sudoku | 16f7446bdf6bc99b1e38d40ed9afbcca6a5d3a63 | [
"MIT"
] | 1 | 2019-09-09T21:09:40.000Z | 2019-09-09T21:09:40.000Z | puzzles.py | gagandeepbhangal/sudoku | 16f7446bdf6bc99b1e38d40ed9afbcca6a5d3a63 | [
"MIT"
] | null | null | null | puzzles.py | gagandeepbhangal/sudoku | 16f7446bdf6bc99b1e38d40ed9afbcca6a5d3a63 | [
"MIT"
] | null | null | null | from random import randint
from random import *
def get_grid():
''' Return a random puzzle '''
x = randint(1, 3)
puzzle_1 = [1, 2, 3, 4, 5, 6, 7, 8, 9,
4, 5, 6, 7, 8, 9, 1, 2, 3,
7, 8, 9, 1, 2, 3, 4, 5, 6,
2, 3, 1, 5, 6, 4, 8, 9, 7,
... | 23.163462 | 43 | 0.344126 | 422 | 2,409 | 1.917062 | 0.092417 | 0.088999 | 0.200247 | 0.014833 | 0.138443 | 0.100124 | 0 | 0 | 0 | 0 | 0 | 0.220504 | 0.48983 | 2,409 | 103 | 44 | 23.38835 | 0.437754 | 0.009132 | 0 | 0.025974 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038961 | false | 0 | 0.025974 | 0 | 0.12987 | 0 | 0 | 0 | 1 | null | 0 | 1 | 0 | 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 | 4 |
e1f85d29d9d7ea706cebe0b37b957d38d16861d6 | 87 | py | Python | scrm/ssales/apps.py | ShuhaiCui/CRMPY | 29af0ca333465940a8e61558c68f8d19c89ccfc5 | [
"MIT"
] | null | null | null | scrm/ssales/apps.py | ShuhaiCui/CRMPY | 29af0ca333465940a8e61558c68f8d19c89ccfc5 | [
"MIT"
] | null | null | null | scrm/ssales/apps.py | ShuhaiCui/CRMPY | 29af0ca333465940a8e61558c68f8d19c89ccfc5 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class SsalesConfig(AppConfig):
name = 'ssales'
| 14.5 | 33 | 0.747126 | 10 | 87 | 6.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 87 | 5 | 34 | 17.4 | 0.902778 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
c003c58cef9c005a6ad93c0356fe697147e563a6 | 110 | py | Python | seeq/addons/azureml/__init__.py | seeq12/seeq-azureml | 6a36551a4a76f5a56bb28f4edd6dfa6ce130fb33 | [
"Apache-2.0"
] | 4 | 2021-11-05T17:20:50.000Z | 2022-02-11T03:22:47.000Z | seeq/addons/azureml/__init__.py | seeq12/seeq-azureml | 6a36551a4a76f5a56bb28f4edd6dfa6ce130fb33 | [
"Apache-2.0"
] | 10 | 2021-11-04T22:03:31.000Z | 2022-03-29T20:10:08.000Z | seeq/addons/azureml/__init__.py | seeq12/seeq-azureml | 6a36551a4a76f5a56bb28f4edd6dfa6ce130fb33 | [
"Apache-2.0"
] | null | null | null | from ._version import __version__
from ._add_on_main import MlOperate
__all__ = ['__version__', 'MlOperate']
| 22 | 38 | 0.790909 | 13 | 110 | 5.461538 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118182 | 110 | 4 | 39 | 27.5 | 0.731959 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
c030b39816e263e3393e0534576ad00306bb75ec | 1,032 | py | Python | _assignments/intermediate/math/math_algebra_a.py | sages-pl/2022-01-pythonsqlalchemy-aptiv | 1d6d856608e9dbe25b139e8968c48b7f46753b84 | [
"MIT"
] | null | null | null | _assignments/intermediate/math/math_algebra_a.py | sages-pl/2022-01-pythonsqlalchemy-aptiv | 1d6d856608e9dbe25b139e8968c48b7f46753b84 | [
"MIT"
] | null | null | null | _assignments/intermediate/math/math_algebra_a.py | sages-pl/2022-01-pythonsqlalchemy-aptiv | 1d6d856608e9dbe25b139e8968c48b7f46753b84 | [
"MIT"
] | null | null | null | """
* Assignment: Math Algebra Distance2D
* Complexity: easy
* Lines of code: 5 lines
* Time: 8 min
English:
1. Given are two points `A: tuple[int, int]` and `B: tuple[int, int]`
2. Coordinates are in cartesian system
3. Points `A` and `B` are in two dimensional space
4. Calculate distance between poin... | 21.957447 | 73 | 0.620155 | 152 | 1,032 | 4.210526 | 0.519737 | 0.01875 | 0.06875 | 0.0375 | 0.040625 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112676 | 0.243217 | 1,032 | 46 | 74 | 22.434783 | 0.706786 | 0.937985 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
c0683cdf8a411a40e627a40b04bbe6eb714dd625 | 611 | py | Python | week03_apply_to_each.py | tuheenahmmed/week03 | 87045427389f361309f9f1a3a7658400b538d434 | [
"Apache-2.0"
] | null | null | null | week03_apply_to_each.py | tuheenahmmed/week03 | 87045427389f361309f9f1a3a7658400b538d434 | [
"Apache-2.0"
] | null | null | null | week03_apply_to_each.py | tuheenahmmed/week03 | 87045427389f361309f9f1a3a7658400b538d434 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Mon Jun 4 10:56:53 2018
@author: etuhahm
"""
def applyToEach(L, f):
for i in range(len(L)):
L[i] = f(L[i])
#Assume that
testList = [1, -4, 8, -9]
'''
Exercise: apply to each 1
'''
applyToEach(testList, abs)
########... | 12.22 | 36 | 0.509002 | 78 | 611 | 3.987179 | 0.538462 | 0.125402 | 0.144695 | 0.18328 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047393 | 0.309329 | 611 | 49 | 37 | 12.469388 | 0.689573 | 0.191489 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040816 | 0 | 1 | 0.272727 | false | 0 | 0 | 0.181818 | 0.454545 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
2201e1c8b605e35a4a38be2de4e61293ba31176f | 58 | py | Python | our_churchtools_setup/tests/test_scenarios.py | wulmer/churchtools-automation | 8fa7e3d96c42a6a03ffc37a269ba3b95a856d83e | [
"MIT"
] | null | null | null | our_churchtools_setup/tests/test_scenarios.py | wulmer/churchtools-automation | 8fa7e3d96c42a6a03ffc37a269ba3b95a856d83e | [
"MIT"
] | null | null | null | our_churchtools_setup/tests/test_scenarios.py | wulmer/churchtools-automation | 8fa7e3d96c42a6a03ffc37a269ba3b95a856d83e | [
"MIT"
] | null | null | null | from pytest_bdd import scenarios
scenarios("./features")
| 14.5 | 32 | 0.793103 | 7 | 58 | 6.428571 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 58 | 3 | 33 | 19.333333 | 0.865385 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
220caa96dd5fe4d62b23f48edf6e6d2b5a300625 | 117 | py | Python | spinoff/contrib/filetransfer/__init__.py | eallik/spinoff | 06b00d6b86c7422c9cb8f9a4b2915906e92b7d52 | [
"BSD-2-Clause"
] | 6 | 2015-01-16T13:40:31.000Z | 2019-06-27T13:23:19.000Z | spinoff/contrib/filetransfer/__init__.py | erikkaplun/spinoff | 06b00d6b86c7422c9cb8f9a4b2915906e92b7d52 | [
"BSD-2-Clause"
] | null | null | null | spinoff/contrib/filetransfer/__init__.py | erikkaplun/spinoff | 06b00d6b86c7422c9cb8f9a4b2915906e92b7d52 | [
"BSD-2-Clause"
] | 3 | 2015-03-14T05:13:00.000Z | 2019-11-05T03:28:41.000Z | from spinoff.contrib.filetransfer.fileref import serve_file, TransferFailed
__all__ = [serve_file, TransferFailed]
| 23.4 | 75 | 0.837607 | 13 | 117 | 7.076923 | 0.769231 | 0.195652 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094017 | 117 | 4 | 76 | 29.25 | 0.867925 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
22293bf43ef25896f6141f296b9543eb745c14a8 | 81 | py | Python | project_euler/030.py | Tony031218/OI | 562f5f45d0448f4eab77643b99b825405a123d92 | [
"MIT"
] | 1 | 2021-02-22T03:39:24.000Z | 2021-02-22T03:39:24.000Z | project_euler/030.py | Tony031218/OI | 562f5f45d0448f4eab77643b99b825405a123d92 | [
"MIT"
] | null | null | null | project_euler/030.py | Tony031218/OI | 562f5f45d0448f4eab77643b99b825405a123d92 | [
"MIT"
] | null | null | null | print(sum(i for i in range(2, 1000000) if i == sum(int(c) ** 5 for c in str(i)))) | 81 | 81 | 0.604938 | 20 | 81 | 2.45 | 0.65 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 0.185185 | 81 | 1 | 81 | 81 | 0.606061 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 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 | 0 | 0 | 0 | 1 | 0 | 4 |
224a10d3372af844b9f1cb3c75e6aebd0f0ae291 | 233 | py | Python | cat-classifier-simple-nn/activation.py | SamKirkiles/deep-learning-demos | 127b3b5f7e6e614e6d551890b2181203c6cd8289 | [
"MIT"
] | null | null | null | cat-classifier-simple-nn/activation.py | SamKirkiles/deep-learning-demos | 127b3b5f7e6e614e6d551890b2181203c6cd8289 | [
"MIT"
] | null | null | null | cat-classifier-simple-nn/activation.py | SamKirkiles/deep-learning-demos | 127b3b5f7e6e614e6d551890b2181203c6cd8289 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import numpy as np
def sigmoid(Z):
#print(-Z)
return 1 / (1 + np.exp(-Z))
def sigmoid_back(Z):
return Z * (1-Z)
def relu(Z):
return Z * (Z > 0)
def relu_back(Z):
return np.int64(Z > 0) | 14.5625 | 31 | 0.540773 | 42 | 233 | 2.952381 | 0.428571 | 0.225806 | 0.177419 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046784 | 0.266094 | 233 | 16 | 32 | 14.5625 | 0.678363 | 0.128755 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.444444 | false | 0 | 0.111111 | 0.444444 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
225cba7cdfad2b319764b5a73cdba505bd824b50 | 23 | py | Python | exorad/__version__.py | derikk/ExoRad2-public | 034406bfd8237670f0796f9c95ab2fa5d609bc95 | [
"BSD-3-Clause"
] | null | null | null | exorad/__version__.py | derikk/ExoRad2-public | 034406bfd8237670f0796f9c95ab2fa5d609bc95 | [
"BSD-3-Clause"
] | null | null | null | exorad/__version__.py | derikk/ExoRad2-public | 034406bfd8237670f0796f9c95ab2fa5d609bc95 | [
"BSD-3-Clause"
] | null | null | null | __version__ = '2.0.41'
| 11.5 | 22 | 0.652174 | 4 | 23 | 2.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0.130435 | 23 | 1 | 23 | 23 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 4 |
97d9da062943a9101ca7ae31abc3095ff3133f9e | 285 | py | Python | Aniyom Ebenezer/Phase 2/STRINGS/Day_30_Challenge_Solution/Question 9 Solution.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 6 | 2020-05-23T19:53:25.000Z | 2021-05-08T20:21:30.000Z | Aniyom Ebenezer/Phase 2/STRINGS/Day_30_Challenge_Solution/Question 9 Solution.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 8 | 2020-05-14T18:53:12.000Z | 2020-07-03T00:06:20.000Z | Aniyom Ebenezer/Phase 2/STRINGS/Day_30_Challenge_Solution/Question 9 Solution.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 39 | 2020-05-10T20:55:02.000Z | 2020-09-12T17:40:59.000Z | """
Write a Python program to get the last part of a string before a specified character.
https://www.codedladiesinnovateyech.com/about-us
Output:
https://www.codedladiesinnovateyech.com/about
"""
str1 = "https://www.codedladiesinnovateyech.com/about-us"
print(str1.rsplit("-", 1)[0]) | 35.625 | 86 | 0.761404 | 40 | 285 | 5.425 | 0.65 | 0.110599 | 0.428571 | 0.470046 | 0.557604 | 0.37788 | 0 | 0 | 0 | 0 | 0 | 0.015444 | 0.091228 | 285 | 8 | 87 | 35.625 | 0.822394 | 0.663158 | 0 | 0 | 0 | 0 | 0.550562 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
3f010109a00448d20898aae249cb474a5a5c4b62 | 85 | py | Python | bloom/apps.py | hieudmg/django_bloom | 1c244a2f753ed6babb710c83bfd7c3610fef9bb4 | [
"MIT"
] | null | null | null | bloom/apps.py | hieudmg/django_bloom | 1c244a2f753ed6babb710c83bfd7c3610fef9bb4 | [
"MIT"
] | null | null | null | bloom/apps.py | hieudmg/django_bloom | 1c244a2f753ed6babb710c83bfd7c3610fef9bb4 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class BloomConfig(AppConfig):
name = 'bloom'
| 14.166667 | 33 | 0.741176 | 10 | 85 | 6.3 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 85 | 5 | 34 | 17 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
3f100f69bee4390b869799aaad64b7efa357b1f3 | 93 | py | Python | compete/ballsport/apps.py | SphinxNZ/game-on | da10ea9303563cd91ccab13321ba15a927e703e5 | [
"Apache-2.0"
] | null | null | null | compete/ballsport/apps.py | SphinxNZ/game-on | da10ea9303563cd91ccab13321ba15a927e703e5 | [
"Apache-2.0"
] | null | null | null | compete/ballsport/apps.py | SphinxNZ/game-on | da10ea9303563cd91ccab13321ba15a927e703e5 | [
"Apache-2.0"
] | null | null | null | from django.apps import AppConfig
class BallsportConfig(AppConfig):
name = 'ballsport'
| 15.5 | 33 | 0.763441 | 10 | 93 | 7.1 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 93 | 5 | 34 | 18.6 | 0.910256 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
3f290e2e9f40aa3a9bdc9daa92f3686656aac15e | 128 | py | Python | src/__init__.py | M9SCO/RianAlvels | f93cece326b62ab386f94832f6c807a7c7d3dfde | [
"BSD-3-Clause"
] | null | null | null | src/__init__.py | M9SCO/RianAlvels | f93cece326b62ab386f94832f6c807a7c7d3dfde | [
"BSD-3-Clause"
] | null | null | null | src/__init__.py | M9SCO/RianAlvels | f93cece326b62ab386f94832f6c807a7c7d3dfde | [
"BSD-3-Clause"
] | null | null | null | from src.modules.Dice import Dice
from src.parser import (get_result, open_lark)
__all__ = ["open_lark", "get_result", "Dice"]
| 25.6 | 46 | 0.75 | 20 | 128 | 4.4 | 0.55 | 0.159091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117188 | 128 | 4 | 47 | 32 | 0.778761 | 0 | 0 | 0 | 0 | 0 | 0.179688 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
3f6ed43eb12a2d66864e1789d543a9de72dc5a7b | 143 | py | Python | keras4torch/_torchsummary/__init__.py | keras4torch-team/keras4torch | 67c764c9983aab248e5a1ba061056e9081ae1761 | [
"MIT"
] | 24 | 2020-10-10T14:18:38.000Z | 2021-12-13T09:55:02.000Z | keras4torch/_torchsummary/__init__.py | keras4torch-team/keras4torch | 67c764c9983aab248e5a1ba061056e9081ae1761 | [
"MIT"
] | 2 | 2021-01-11T12:27:29.000Z | 2021-01-13T02:27:45.000Z | keras4torch/_torchsummary/__init__.py | keras4torch-team/keras4torch | 67c764c9983aab248e5a1ba061056e9081ae1761 | [
"MIT"
] | 3 | 2020-12-14T04:57:11.000Z | 2021-07-06T14:14:19.000Z | """ torchsummary """
from .model_statistics import ModelStatistics
from .torchsummary import summary
__all__ = ("ModelStatistics", "summary")
| 23.833333 | 45 | 0.776224 | 13 | 143 | 8.153846 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111888 | 143 | 5 | 46 | 28.6 | 0.834646 | 0.083916 | 0 | 0 | 0 | 0 | 0.178862 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
58ab985475f07ddd8d2c51853051719742f7fb84 | 763 | py | Python | Base64_examples/decode_to_file_certificate__and_open.py | DazEB2/SimplePyScripts | 1dde0a42ba93fe89609855d6db8af1c63b1ab7cc | [
"CC-BY-4.0"
] | 117 | 2015-12-18T07:18:27.000Z | 2022-03-28T00:25:54.000Z | Base64_examples/decode_to_file_certificate__and_open.py | DazEB2/SimplePyScripts | 1dde0a42ba93fe89609855d6db8af1c63b1ab7cc | [
"CC-BY-4.0"
] | 8 | 2018-10-03T09:38:46.000Z | 2021-12-13T19:51:09.000Z | Base64_examples/decode_to_file_certificate__and_open.py | DazEB2/SimplePyScripts | 1dde0a42ba93fe89609855d6db8af1c63b1ab7cc | [
"CC-BY-4.0"
] | 28 | 2016-08-02T17:43:47.000Z | 2022-03-21T08:31:12.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
__author__ = 'ipetrash'
FILE_NAME = 'cert.cer'
TEXT = """
MIIBeTCCASigAwIBAgIEBoLBizAIBgYqhQMCAgMwMTELMAkGA1UEBhMCUlUxEjAQBgNVBAoMCUNy
eXB0b1BybzEOMAwGA1UEAwwFQWxpYXMwHhcNMTcwNjA3MDk1MzM5WhcNMTgwNjA3MDk1MzM5WjAx
MQswCQYDVQQGEwJSVTESMBAGA1UECgwJQ3J5cHRvUHJvMQ4wDAYDVQQDDA... | 31.791667 | 76 | 0.895151 | 49 | 763 | 13.632653 | 0.673469 | 0.035928 | 0.041916 | 0.053892 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077562 | 0.053735 | 763 | 23 | 77 | 33.173913 | 0.847645 | 0.069463 | 0 | 0 | 0 | 0 | 0.752475 | 0.718529 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.133333 | 0 | 0.133333 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
58b347324da41f753f4adb217284679722c4d596 | 5,746 | py | Python | angr/procedures/definitions/win32_faultrep.py | r4b3rt/angr | c133cfd4f83ffea2a1d9e064241e9459eaabc55f | [
"BSD-2-Clause"
] | null | null | null | angr/procedures/definitions/win32_faultrep.py | r4b3rt/angr | c133cfd4f83ffea2a1d9e064241e9459eaabc55f | [
"BSD-2-Clause"
] | null | null | null | angr/procedures/definitions/win32_faultrep.py | r4b3rt/angr | c133cfd4f83ffea2a1d9e064241e9459eaabc55f | [
"BSD-2-Clause"
] | null | null | null | # pylint:disable=line-too-long
import logging
from ...sim_type import SimTypeFunction, SimTypeShort, SimTypeInt, SimTypeLong, SimTypeLongLong, SimTypeDouble, SimTypeFloat, SimTypePointer, SimTypeChar, SimStruct, SimTypeFixedSizeArray, SimTypeBottom, SimUnion, SimTypeBool
from ...calling... | 191.533333 | 4,393 | 0.744692 | 592 | 5,746 | 7.182432 | 0.277027 | 0.126764 | 0.184384 | 0.255174 | 0.470132 | 0.065381 | 0.047742 | 0.047742 | 0.047742 | 0.037159 | 0 | 0.043356 | 0.072746 | 5,746 | 29 | 4,394 | 198.137931 | 0.754692 | 0.004873 | 0 | 0 | 0 | 0 | 0.210757 | 0.012614 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.277778 | 0 | 0.277778 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
58b7b873f705e7f610db4ec66ae773c873a4f255 | 608 | py | Python | data/db_interface/read.py | pattpattpatt/twitter_siphon | 9affa8b9cd72521a255532ad344bc25ab8c5edc0 | [
"MIT"
] | null | null | null | data/db_interface/read.py | pattpattpatt/twitter_siphon | 9affa8b9cd72521a255532ad344bc25ab8c5edc0 | [
"MIT"
] | null | null | null | data/db_interface/read.py | pattpattpatt/twitter_siphon | 9affa8b9cd72521a255532ad344bc25ab8c5edc0 | [
"MIT"
] | null | null | null | from .database import Database
class ReadFromDatabase(Database):
def __init__(self, db_name, collection):
super().__init__(db_name)
self.db_name = db_name
self.collection = self.db[collection]
self.client.close()
def read_distinct(self, value):
return self.collection.... | 25.333333 | 63 | 0.684211 | 73 | 608 | 5.479452 | 0.356164 | 0.175 | 0.2 | 0.12 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.215461 | 608 | 23 | 64 | 26.434783 | 0.838574 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.066667 | 0.266667 | 0.733333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
58e2de35d69f2f76440a51c532693e33cbd1cef1 | 139 | py | Python | vendor/bundle/gems/bundler-audit-0.6.0/data/ruby-advisory-db/lib/cf_scrape.py | katikireddyh/job-board | 565b3c5e28a742d894f434146553053e35266649 | [
"MIT"
] | null | null | null | vendor/bundle/gems/bundler-audit-0.6.0/data/ruby-advisory-db/lib/cf_scrape.py | katikireddyh/job-board | 565b3c5e28a742d894f434146553053e35266649 | [
"MIT"
] | null | null | null | vendor/bundle/gems/bundler-audit-0.6.0/data/ruby-advisory-db/lib/cf_scrape.py | katikireddyh/job-board | 565b3c5e28a742d894f434146553053e35266649 | [
"MIT"
] | 1 | 2020-11-04T03:41:49.000Z | 2020-11-04T03:41:49.000Z | import cfscrape
import sys
scraper = cfscrape.create_scraper() # returns a requests.Session object
print scraper.get(sys.argv[1]).content
| 23.166667 | 71 | 0.798561 | 20 | 139 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008065 | 0.107914 | 139 | 5 | 72 | 27.8 | 0.879032 | 0.23741 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.5 | null | null | 0.25 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
58f0c0d19ae4b093e44a039ddb54b2ec25ffefe0 | 845 | py | Python | src/Calculator/Calculator.py | jay71294-dev/statcal | dbcdb04eeb47eb4305e77440f70da668abab5ee4 | [
"MIT"
] | null | null | null | src/Calculator/Calculator.py | jay71294-dev/statcal | dbcdb04eeb47eb4305e77440f70da668abab5ee4 | [
"MIT"
] | null | null | null | src/Calculator/Calculator.py | jay71294-dev/statcal | dbcdb04eeb47eb4305e77440f70da668abab5ee4 | [
"MIT"
] | 1 | 2019-11-10T05:13:50.000Z | 2019-11-10T05:13:50.000Z | from Calculator.addition import addition
from Calculator.subtraction import subtraction
from Calculator.multiplication import multiplication
from Calculator.division import division
from Calculator.square import square
from Calculator.sqrt import sqrt
class Calculator:
result=0
def __init__(self):
pa... | 22.837838 | 52 | 0.667456 | 112 | 845 | 5 | 0.205357 | 0.214286 | 0.171429 | 0.169643 | 0.298214 | 0.1125 | 0 | 0 | 0 | 0 | 0 | 0.00157 | 0.246154 | 845 | 37 | 53 | 22.837838 | 0.877551 | 0 | 0 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.035714 | 0.214286 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
58fbaa4b139a01828dd030e1bbe6b32967e5b0fe | 1,422 | py | Python | tests/Unit/PointwiseFunctions/Xcts/SpacetimeQuantities.py | kidder/spectre | 97ae95f72320f9f67895d3303824e64de6fd9077 | [
"MIT"
] | 117 | 2017-04-08T22:52:48.000Z | 2022-03-25T07:23:36.000Z | tests/Unit/PointwiseFunctions/Xcts/SpacetimeQuantities.py | GitHimanshuc/spectre | 4de4033ba36547113293fe4dbdd77591485a4aee | [
"MIT"
] | 3,177 | 2017-04-07T21:10:18.000Z | 2022-03-31T23:55:59.000Z | tests/Unit/PointwiseFunctions/Xcts/SpacetimeQuantities.py | geoffrey4444/spectre | 9350d61830b360e2d5b273fdd176dcc841dbefb0 | [
"MIT"
] | 85 | 2017-04-07T19:36:13.000Z | 2022-03-01T10:21:00.000Z | # Distributed under the MIT License.
# See LICENSE.txt for details.
import numpy as np
from PointwiseFunctions.GeneralRelativity.ComputeSpacetimeQuantities import (
extrinsic_curvature)
def spatial_metric(conformal_factor, conformal_metric):
return conformal_factor**4 * conformal_metric
def inv_spatial_met... | 34.682927 | 78 | 0.729958 | 165 | 1,422 | 5.872727 | 0.29697 | 0.134159 | 0.148607 | 0.173375 | 0.401445 | 0.401445 | 0.266254 | 0.266254 | 0.109391 | 0 | 0 | 0.002641 | 0.201125 | 1,422 | 40 | 79 | 35.55 | 0.850352 | 0.044304 | 0 | 0.08 | 0 | 0 | 0.024336 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.24 | false | 0 | 0.08 | 0.24 | 0.56 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
58fe764c5f34e5844b075928dfcedfa73e2e3c43 | 98 | py | Python | enthought/sweet_pickle/updater.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 3 | 2016-12-09T06:05:18.000Z | 2018-03-01T13:00:29.000Z | enthought/sweet_pickle/updater.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 1 | 2020-12-02T00:51:32.000Z | 2020-12-02T08:48:55.000Z | enthought/sweet_pickle/updater.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | null | null | null | # proxy module
from __future__ import absolute_import
from apptools.sweet_pickle.updater import *
| 24.5 | 43 | 0.846939 | 13 | 98 | 5.923077 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112245 | 98 | 3 | 44 | 32.666667 | 0.885057 | 0.122449 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
58fec277d0fdbc4893f25765fbe1580eba3306d6 | 63 | py | Python | src/mock_open/__init__.py | hairygeek/mock-open | f2fc8ca92fa167fb470b24482f49b2aef552fe81 | [
"MIT"
] | 7 | 2015-08-18T15:44:24.000Z | 2021-03-06T18:52:09.000Z | src/mock_open/__init__.py | hairygeek/mock-open | f2fc8ca92fa167fb470b24482f49b2aef552fe81 | [
"MIT"
] | 9 | 2015-08-22T17:14:25.000Z | 2020-10-10T18:54:38.000Z | src/mock_open/__init__.py | hairygeek/mock-open | f2fc8ca92fa167fb470b24482f49b2aef552fe81 | [
"MIT"
] | 5 | 2015-08-21T07:47:36.000Z | 2020-09-20T08:53:35.000Z | """A better mock for file I/O."""
from .mocks import MockOpen
| 15.75 | 33 | 0.68254 | 11 | 63 | 3.909091 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174603 | 63 | 3 | 34 | 21 | 0.826923 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
450d9ebf79a369aa73d2c2d6d5d58362d5fb48ad | 119 | py | Python | linkedin_api/settings.py | xiaoyongzhu/linkedin-api | 5dd1016f455b583ff6710f89db5f1069c219747e | [
"MIT"
] | 5 | 2019-10-14T03:52:53.000Z | 2021-12-25T23:06:16.000Z | linkedin_api/settings.py | xiaoyongzhu/linkedin-api | 5dd1016f455b583ff6710f89db5f1069c219747e | [
"MIT"
] | 1 | 2021-06-01T23:51:29.000Z | 2021-06-01T23:51:29.000Z | linkedin_api/settings.py | derekStrum/linkedin-bot | 070d25c130208018d965b1ffcf550ddf4e7ce741 | [
"MIT"
] | 3 | 2019-11-23T08:19:06.000Z | 2020-03-06T03:54:35.000Z | import os
ROOT_DIR = os.path.dirname(os.path.abspath(__file__))
COOKIE_FILE_PATH = os.path.join(ROOT_DIR, ".cookies")
| 23.8 | 53 | 0.764706 | 20 | 119 | 4.15 | 0.55 | 0.216867 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084034 | 119 | 4 | 54 | 29.75 | 0.761468 | 0 | 0 | 0 | 0 | 0 | 0.067227 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
451a688bc71efc3202d6950ed2e668b4acc7be69 | 1,860 | py | Python | tests/data-files/plugins/noop_backend.py | ValRat/raster-vision | 90f4c5d99869466c65fa972fa8f08f68c1102820 | [
"Apache-2.0"
] | 4 | 2019-03-11T12:38:15.000Z | 2021-04-06T14:57:52.000Z | tests/data-files/plugins/noop_backend.py | ValRat/raster-vision | 90f4c5d99869466c65fa972fa8f08f68c1102820 | [
"Apache-2.0"
] | null | null | null | tests/data-files/plugins/noop_backend.py | ValRat/raster-vision | 90f4c5d99869466c65fa972fa8f08f68c1102820 | [
"Apache-2.0"
] | 1 | 2021-02-25T18:23:27.000Z | 2021-02-25T18:23:27.000Z | import rastervision as rv
from rastervision.backend import (Backend, BackendConfig, BackendConfigBuilder)
from rastervision.protos.backend_pb2 import BackendConfig as BackendConfigMsg
from .noop_task import NOOP_TASK
NOOP_BACKEND = 'NOOP_BACKEND'
class NoopBackend(Backend):
def process_scene_data(self, scene, d... | 26.197183 | 79 | 0.641935 | 198 | 1,860 | 5.70202 | 0.328283 | 0.048716 | 0.044287 | 0.046058 | 0.106289 | 0.106289 | 0.06023 | 0 | 0 | 0 | 0 | 0.000752 | 0.284946 | 1,860 | 70 | 80 | 26.571429 | 0.84812 | 0 | 0 | 0.166667 | 0 | 0 | 0.006452 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.125 | 0.083333 | 0.125 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
453d17a3f29dc36535082caef1f1bde850ca2d64 | 176 | py | Python | plotly/files.py | piyush1301/plotly.py | 50cd5c4cd4732042422751c7760acbab8dd8a50d | [
"MIT"
] | 6 | 2019-05-03T02:12:04.000Z | 2020-03-01T06:33:21.000Z | plotly/files.py | piyush1301/plotly.py | 50cd5c4cd4732042422751c7760acbab8dd8a50d | [
"MIT"
] | null | null | null | plotly/files.py | piyush1301/plotly.py | 50cd5c4cd4732042422751c7760acbab8dd8a50d | [
"MIT"
] | 5 | 2019-05-18T16:50:11.000Z | 2021-07-06T21:14:36.000Z | from _plotly_utils.files import *
# Deprecations
from _plotly_future_ import _future_flags
if 'remove_deprecations' not in _future_flags:
from chart_studio.files import *
| 25.142857 | 46 | 0.818182 | 24 | 176 | 5.541667 | 0.583333 | 0.150376 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 176 | 6 | 47 | 29.333333 | 0.875 | 0.068182 | 0 | 0 | 0 | 0 | 0.117284 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
45418b7fe15853ee079895a4c5c3f037ef2fde23 | 342 | py | Python | tests/test_stats_routes.py | aryan040501/wikilabels | ea110da2b969cc978a0f288c4da6250dc9d67e72 | [
"MIT"
] | 15 | 2015-07-16T17:56:43.000Z | 2018-08-20T14:59:16.000Z | tests/test_stats_routes.py | aryan040501/wikilabels | ea110da2b969cc978a0f288c4da6250dc9d67e72 | [
"MIT"
] | 122 | 2015-06-10T15:58:11.000Z | 2018-08-16T14:56:23.000Z | tests/test_stats_routes.py | aryan040501/wikilabels | ea110da2b969cc978a0f288c4da6250dc9d67e72 | [
"MIT"
] | 27 | 2015-07-15T22:12:35.000Z | 2018-08-06T23:10:28.000Z | from .routes_test_fixture import app # noqa
def test_stats_wiki_campaign(client):
# test active campaign
assert client.get("/stats/enwiki/1")._status_code == 200
# test archived campaign
assert client.get("/stats/enwiki/7")._status_code == 200
def test_stats(client):
assert client.get("/stats/"... | 26.307692 | 60 | 0.716374 | 48 | 342 | 4.854167 | 0.458333 | 0.154506 | 0.193133 | 0.257511 | 0.291845 | 0.291845 | 0 | 0 | 0 | 0 | 0 | 0.038328 | 0.160819 | 342 | 12 | 61 | 28.5 | 0.773519 | 0.140351 | 0 | 0 | 0 | 0 | 0.127586 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.333333 | false | 0 | 0.166667 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1884990fe8cdfa7964056ae4ef2c65fbd8e3b370 | 587 | py | Python | model/utils.py | ChristopherMichael-Stokes/Transformer | ff4177cd09cecb17b55b24167f354ea97910b530 | [
"BSD-2-Clause"
] | null | null | null | model/utils.py | ChristopherMichael-Stokes/Transformer | ff4177cd09cecb17b55b24167f354ea97910b530 | [
"BSD-2-Clause"
] | null | null | null | model/utils.py | ChristopherMichael-Stokes/Transformer | ff4177cd09cecb17b55b24167f354ea97910b530 | [
"BSD-2-Clause"
] | null | null | null | import torch
import torch.nn as nn
import torch.nn.functional as F
class LayerNorm(nn.Module):
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
def forward(self, x: torch.Tensor):
pass
class ScaledDotProdAttention(nn.Module):
def __init__(self, *args, **kwargs):
... | 23.48 | 41 | 0.640545 | 73 | 587 | 4.821918 | 0.287671 | 0.170455 | 0.09375 | 0.127841 | 0.693182 | 0.693182 | 0.693182 | 0.693182 | 0.693182 | 0.693182 | 0 | 0 | 0.216354 | 587 | 25 | 42 | 23.48 | 0.765217 | 0 | 0 | 0.611111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.166667 | 0.166667 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
188b38442fa0ea0e8015a27cf8fb846f59e115cc | 94 | py | Python | shared-import-from/main.py | bmintz/python-snippets | 982861c173bf4bcd5d908514a9e8b1914a580a5d | [
"CC0-1.0"
] | 2 | 2018-11-12T10:33:13.000Z | 2019-02-24T05:01:40.000Z | shared-import-from/main.py | iomintz/python-snippets | 982861c173bf4bcd5d908514a9e8b1914a580a5d | [
"CC0-1.0"
] | null | null | null | shared-import-from/main.py | iomintz/python-snippets | 982861c173bf4bcd5d908514a9e8b1914a580a5d | [
"CC0-1.0"
] | 2 | 2018-11-24T08:16:59.000Z | 2019-02-24T04:41:30.000Z | #!/usr/bin/env python3
# encoding: utf-8
import a
from a import xs
a.xs_append(1)
print(xs)
| 10.444444 | 22 | 0.702128 | 19 | 94 | 3.421053 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037975 | 0.159574 | 94 | 8 | 23 | 11.75 | 0.78481 | 0.393617 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.25 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
189699c74312a540d922ba38f9d3ad2d66a606c3 | 34 | py | Python | data/tests/__init__.py | Vizzuality/heco-invest | 30b4d45cabbf12aa5ce72c6f2251e11aa9cb1aab | [
"MIT"
] | 3 | 2022-02-09T20:51:03.000Z | 2022-03-02T13:26:01.000Z | data/tests/__init__.py | Vizzuality/heco-invest | 30b4d45cabbf12aa5ce72c6f2251e11aa9cb1aab | [
"MIT"
] | 43 | 2022-02-10T17:05:29.000Z | 2022-03-31T12:02:57.000Z | data/tests/__init__.py | Vizzuality/heco-invest | 30b4d45cabbf12aa5ce72c6f2251e11aa9cb1aab | [
"MIT"
] | null | null | null | """Unit test package for heco."""
| 17 | 33 | 0.647059 | 5 | 34 | 4.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 34 | 1 | 34 | 34 | 0.758621 | 0.794118 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
18e5f15abecdb1028838658a9daa0157938fa1fe | 92 | py | Python | 2015/misc/test-line-1-cooper/graphic_config.py | nprapps/graphics-archive | 97b0ef326b46a959df930f5522d325e537f7a655 | [
"FSFAP"
] | 14 | 2015-05-08T13:41:51.000Z | 2021-02-24T12:34:55.000Z | 2015/misc/test-line-1/graphic_config.py | nprapps/graphics-archive | 97b0ef326b46a959df930f5522d325e537f7a655 | [
"FSFAP"
] | null | null | null | 2015/misc/test-line-1/graphic_config.py | nprapps/graphics-archive | 97b0ef326b46a959df930f5522d325e537f7a655 | [
"FSFAP"
] | 7 | 2015-04-04T04:45:54.000Z | 2021-02-18T11:12:48.000Z | #!/usr/bin/env python
COPY_GOOGLE_DOC_KEY = '1ppNXheLUyF7PJbZ-wZhiAxEoqIdH9rlx3xPtbS37JCU'
| 23 | 68 | 0.836957 | 10 | 92 | 7.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069767 | 0.065217 | 92 | 3 | 69 | 30.666667 | 0.790698 | 0.217391 | 0 | 0 | 0 | 0 | 0.619718 | 0.619718 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e18c1ace6c32c214ca5b38e79f38c2d90868c36d | 55 | py | Python | xblock_jupyter_viewer/__init__.py | titlethanason/jupyter-edx-viewer-xblock | 3c35123e72efc88c6d8524ed879ad8e86ffb68a6 | [
"BSD-3-Clause"
] | 16 | 2019-04-21T12:07:47.000Z | 2021-11-22T05:45:19.000Z | xblock_jupyter_viewer/__init__.py | titlethanason/jupyter-edx-viewer-xblock | 3c35123e72efc88c6d8524ed879ad8e86ffb68a6 | [
"BSD-3-Clause"
] | 2 | 2019-12-23T19:29:49.000Z | 2021-07-14T14:50:29.000Z | xblock_jupyter_viewer/__init__.py | titlethanason/jupyter-edx-viewer-xblock | 3c35123e72efc88c6d8524ed879ad8e86ffb68a6 | [
"BSD-3-Clause"
] | 13 | 2019-03-14T13:04:06.000Z | 2021-11-25T13:25:40.000Z | from .xblock_jupyter_viewer import JupyterViewerXBlock
| 27.5 | 54 | 0.909091 | 6 | 55 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072727 | 55 | 1 | 55 | 55 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
e18de9fe5b40a8c9eb1cb1891ed2b5f5d65eb3cc | 95 | py | Python | waterpump/pumps/apps.py | hwan27/WATERPUMP_django | dcc6bf27ae3c0e6ca851e854e51fc512f96eab56 | [
"MIT"
] | null | null | null | waterpump/pumps/apps.py | hwan27/WATERPUMP_django | dcc6bf27ae3c0e6ca851e854e51fc512f96eab56 | [
"MIT"
] | null | null | null | waterpump/pumps/apps.py | hwan27/WATERPUMP_django | dcc6bf27ae3c0e6ca851e854e51fc512f96eab56 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class PumpsConfig(AppConfig):
name = 'waterpump.pumps'
| 15.833333 | 33 | 0.757895 | 11 | 95 | 6.545455 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 95 | 5 | 34 | 19 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
e19d29e095eb66a4a78d24e73d8cbd8c808d4024 | 1,008 | py | Python | credentials.py | davidkiama/Passowrd-Locker | 791b9a64589810be143ecfe5dd82f2f6153e3989 | [
"Unlicense"
] | null | null | null | credentials.py | davidkiama/Passowrd-Locker | 791b9a64589810be143ecfe5dd82f2f6153e3989 | [
"Unlicense"
] | null | null | null | credentials.py | davidkiama/Passowrd-Locker | 791b9a64589810be143ecfe5dd82f2f6153e3989 | [
"Unlicense"
] | null | null | null | class Credentials:
credentials_list = []
def __init__(self, account, password):
"""
Initializes the user with a username and password
"""
self.account = account
self.password = password
def save_credential(self):
"""
Save the credential object to th... | 25.846154 | 77 | 0.604167 | 103 | 1,008 | 5.776699 | 0.359223 | 0.201681 | 0.131092 | 0.097479 | 0.147899 | 0.147899 | 0 | 0 | 0 | 0 | 0 | 0 | 0.323413 | 1,008 | 38 | 78 | 26.526316 | 0.872434 | 0.251984 | 0 | 0.117647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.294118 | false | 0.117647 | 0 | 0 | 0.529412 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
e1b1fa6b9491563122a8defd7a24325e4222d9a6 | 986 | py | Python | src/zsl/application/containers/core_container.py | AtteqCom/zsl | 0d418ef957c9780263b1031dbc59482cd974bc04 | [
"MIT"
] | 2 | 2017-05-17T08:08:52.000Z | 2019-03-25T00:24:51.000Z | src/zsl/application/containers/core_container.py | AtteqCom/zsl | 0d418ef957c9780263b1031dbc59482cd974bc04 | [
"MIT"
] | 100 | 2017-01-11T13:43:11.000Z | 2022-02-10T09:27:18.000Z | src/zsl/application/containers/core_container.py | AtteqCom/zsl | 0d418ef957c9780263b1031dbc59482cd974bc04 | [
"MIT"
] | 1 | 2017-05-10T10:27:01.000Z | 2017-05-10T10:27:01.000Z | """
:mod:`zsl.application.containers.core_container`
------------------------------------------------
"""
from __future__ import unicode_literals
from zsl.application.containers.container import IoCContainer
from zsl.application.modules.alchemy_module import AlchemyModule
from zsl.application.modules.cache_module impo... | 37.923077 | 75 | 0.792089 | 99 | 986 | 7.727273 | 0.353535 | 0.183007 | 0.188235 | 0.228758 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104462 | 986 | 25 | 76 | 39.44 | 0.866365 | 0.133874 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.529412 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
bed752756a61002bc1e620c0443def915566c5a7 | 98 | py | Python | gen_sidebar.py | pnijjar/google-calendar-rss | 6f4e6b9acbeffcf74112e6b33d99eaf1ea912be4 | [
"Apache-2.0"
] | 1 | 2021-06-29T04:10:48.000Z | 2021-06-29T04:10:48.000Z | gen_sidebar.py | pnijjar/google-calendar-rss | 6f4e6b9acbeffcf74112e6b33d99eaf1ea912be4 | [
"Apache-2.0"
] | 1 | 2021-06-29T05:03:36.000Z | 2021-06-29T05:03:36.000Z | gen_sidebar.py | pnijjar/google-calendar-rss | 6f4e6b9acbeffcf74112e6b33d99eaf1ea912be4 | [
"Apache-2.0"
] | 2 | 2019-08-07T15:33:25.000Z | 2021-06-29T04:37:21.000Z | #!/usr/bin/env python3
from gcal_helpers import helpers
helpers.write_transformation("sidebar")
| 16.333333 | 39 | 0.806122 | 13 | 98 | 5.923077 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011236 | 0.091837 | 98 | 5 | 40 | 19.6 | 0.853933 | 0.214286 | 0 | 0 | 0 | 0 | 0.092105 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
bee6cfb86c6a68528e4a712db062beb6c6c53d8f | 414 | py | Python | localtileserver/__init__.py | RichardScottOZ/localtileserver | a0e63d1853c8d3410ba9d4ca51c993eae15a0fe6 | [
"MIT"
] | 105 | 2021-11-25T21:10:50.000Z | 2022-03-29T22:58:59.000Z | localtileserver/__init__.py | RichardScottOZ/localtileserver | a0e63d1853c8d3410ba9d4ca51c993eae15a0fe6 | [
"MIT"
] | 61 | 2021-11-25T19:05:39.000Z | 2022-03-30T17:38:42.000Z | localtileserver/__init__.py | RichardScottOZ/localtileserver | a0e63d1853c8d3410ba9d4ca51c993eae15a0fe6 | [
"MIT"
] | 15 | 2021-11-30T20:51:43.000Z | 2022-02-08T23:55:46.000Z | # flake8: noqa: F401
from localtileserver._version import __version__
from localtileserver.client import RemoteTileClient, TileClient, get_or_create_tile_client
from localtileserver.report import Report
from localtileserver.tileserver.utilities import get_cache_dir, make_vsi, purge_cache
from localtileserver.widgets im... | 37.636364 | 90 | 0.850242 | 52 | 414 | 6.346154 | 0.538462 | 0.287879 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010811 | 0.10628 | 414 | 10 | 91 | 41.4 | 0.881081 | 0.043478 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.555556 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
834cbccddca967ff924cd0a9a807b594e98b205d | 4,184 | py | Python | twitter_crawler/got/tests/tests.py | AlexHtZhang/A-billion-dollar-deal | 573ba92026f063d90a08daca73cc61c1325eb695 | [
"Apache-2.0"
] | null | null | null | twitter_crawler/got/tests/tests.py | AlexHtZhang/A-billion-dollar-deal | 573ba92026f063d90a08daca73cc61c1325eb695 | [
"Apache-2.0"
] | null | null | null | twitter_crawler/got/tests/tests.py | AlexHtZhang/A-billion-dollar-deal | 573ba92026f063d90a08daca73cc61c1325eb695 | [
"Apache-2.0"
] | null | null | null | # from collections import Iterator, Generator
# import unittest
# from unittest.mock import MagicMock
import csv
# import unittest
# # Here's our "unit".
# def IsOdd(n):
# return n % 2 == 1
# # Here's our "unit tests".
# class IsOddTests(unittest.TestCase):
# def testOne(self):
# self.failUnless(IsO... | 48.651163 | 293 | 0.642925 | 515 | 4,184 | 5.176699 | 0.203884 | 0.110278 | 0.009002 | 0.016504 | 0.701425 | 0.701425 | 0.628657 | 0.628657 | 0.628657 | 0.605401 | 0 | 0.009632 | 0.15631 | 4,184 | 86 | 294 | 48.651163 | 0.745609 | 0.830784 | 0 | 0 | 0 | 0 | 0.131746 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.125 | null | null | 0.25 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
83599ec10493260d44020a264668d3d02cc51076 | 376,578 | py | Python | utilities/templates/res_rc.py | sayanchowdhury/KuttyPy-GUI | d80a80f50ce0940f821da2734ebdc908aa8679a8 | [
"MIT"
] | 6 | 2019-11-08T07:21:17.000Z | 2021-08-14T13:48:37.000Z | utilities/templates/res_rc.py | sayanchowdhury/KuttyPy-GUI | d80a80f50ce0940f821da2734ebdc908aa8679a8 | [
"MIT"
] | 9 | 2019-01-09T19:45:14.000Z | 2021-02-05T08:42:10.000Z | utilities/templates/res_rc.py | sayanchowdhury/KuttyPy-GUI | d80a80f50ce0940f821da2734ebdc908aa8679a8 | [
"MIT"
] | 4 | 2020-02-04T23:30:55.000Z | 2021-02-04T10:11:34.000Z | # -*- coding: utf-8 -*-
# Resource object code
#
# Created by: The Resource Compiler for PyQt5 (Qt v5.9.5)
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore
qt_resource_data = b"\
\x00\x00\x08\xbd\
\x89\
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\
\x00\x00\x30\x0... | 64.83781 | 129 | 0.726999 | 91,173 | 376,578 | 3.002358 | 0.003345 | 0.025119 | 0.025382 | 0.021656 | 0.220429 | 0.209678 | 0.204282 | 0.199942 | 0.194331 | 0.188007 | 0 | 0.336489 | 0.015644 | 376,578 | 5,807 | 130 | 64.848975 | 0.401962 | 0.000401 | 0 | 0.052668 | 0 | 0.979278 | 0.000011 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0.000345 | false | 0 | 0.000173 | 0 | 0.000518 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
55f148e129e0a8b30295776466c348839d1ae36d | 58 | py | Python | mundo-3/ex111.py | GustavoMendel/curso-python | 2270734cc159cf44cf513184f1467a9040a7bc46 | [
"MIT"
] | null | null | null | mundo-3/ex111.py | GustavoMendel/curso-python | 2270734cc159cf44cf513184f1467a9040a7bc46 | [
"MIT"
] | null | null | null | mundo-3/ex111.py | GustavoMendel/curso-python | 2270734cc159cf44cf513184f1467a9040a7bc46 | [
"MIT"
] | null | null | null | # criado o pacote utilidades e os subpacotes moeda e dado
| 29 | 57 | 0.793103 | 10 | 58 | 4.6 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189655 | 58 | 1 | 58 | 58 | 0.978723 | 0.948276 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
361326c89931ff70125479a6eb46bea8669648b2 | 1,592 | py | Python | pydron/translation/test_dewith.py | DelphianCalamity/pydron | 1518dc71b5cf64fde563b864db2a4de74e092c8e | [
"MIT"
] | 5 | 2020-04-06T15:20:56.000Z | 2022-01-05T23:11:13.000Z | pydron/translation/test_dewith.py | mahmoudimus/pydron | a7b484dec8bcc2730ba9bd76bc63bf3362c05e4d | [
"MIT"
] | null | null | null | pydron/translation/test_dewith.py | mahmoudimus/pydron | a7b484dec8bcc2730ba9bd76bc63bf3362c05e4d | [
"MIT"
] | 2 | 2020-11-27T20:21:34.000Z | 2021-02-26T23:02:11.000Z | # Copyright (C) 2014 Stefan C. Mueller
import unittest
from pydron.translation import utils, dewith
class TestDeWith(unittest.TestCase):
def test_noas(self):
src = """
def test():
with foo:
x + y
"""
expected = """
def test():
mgr__... | 26.533333 | 62 | 0.423367 | 161 | 1,592 | 3.726708 | 0.285714 | 0.1 | 0.06 | 0.073333 | 0.756667 | 0.756667 | 0.686667 | 0.686667 | 0.686667 | 0.686667 | 0 | 0.038224 | 0.490578 | 1,592 | 59 | 63 | 26.983051 | 0.701603 | 0.022613 | 0 | 0.846154 | 0 | 0 | 0.77463 | 0.069543 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038462 | false | 0 | 0.038462 | 0 | 0.096154 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
364a21bded2b480fc778dfa52149fd53b5a289bb | 102 | py | Python | src/validations.py | harlericho/api_employees_python | 36441ec46cefd2615e7a2cecc7718a54a74bf77c | [
"MIT"
] | null | null | null | src/validations.py | harlericho/api_employees_python | 36441ec46cefd2615e7a2cecc7718a54a74bf77c | [
"MIT"
] | null | null | null | src/validations.py | harlericho/api_employees_python | 36441ec46cefd2615e7a2cecc7718a54a74bf77c | [
"MIT"
] | null | null | null | def validations(names, email, age):
if names =="" or email == "" or age =="":
return True
| 25.5 | 45 | 0.54902 | 13 | 102 | 4.307692 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.27451 | 102 | 3 | 46 | 34 | 0.756757 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
365efe3c662fcc332d252a79de2651a0d28dd77b | 26 | py | Python | gitlint-core/gitlint/__init__.py | carlsmedstad/gitlint | 3c017995633f602125f7caaa91e96bb767ca5953 | [
"MIT"
] | 559 | 2015-09-09T14:45:00.000Z | 2022-03-27T21:23:18.000Z | gitlint-core/gitlint/__init__.py | carlsmedstad/gitlint | 3c017995633f602125f7caaa91e96bb767ca5953 | [
"MIT"
] | 197 | 2015-09-11T01:49:20.000Z | 2022-03-30T01:22:34.000Z | gitlint-core/gitlint/__init__.py | carlsmedstad/gitlint | 3c017995633f602125f7caaa91e96bb767ca5953 | [
"MIT"
] | 97 | 2015-09-09T15:38:09.000Z | 2022-02-20T16:55:12.000Z | __version__ = "0.18.0dev"
| 13 | 25 | 0.692308 | 4 | 26 | 3.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 0.115385 | 26 | 1 | 26 | 26 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0.346154 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 4 |
366530d60d19162df9eb25aae815eb9cd6760707 | 437 | py | Python | swagger_client/models/__init__.py | ivialex/SRE-challenge | c52cffc2ddf9dcc4917c0a277c53ea70982597bb | [
"MIT"
] | null | null | null | swagger_client/models/__init__.py | ivialex/SRE-challenge | c52cffc2ddf9dcc4917c0a277c53ea70982597bb | [
"MIT"
] | null | null | null | swagger_client/models/__init__.py | ivialex/SRE-challenge | c52cffc2ddf9dcc4917c0a277c53ea70982597bb | [
"MIT"
] | null | null | null | # coding: utf-8
# flake8: noqa
"""
Site Reliable Engineer Test
SRE Test - Loadsmart # noqa: E501
OpenAPI spec version: 1.0.0
Contact: jobs@loadsmart.com
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
# import models into model packa... | 21.85 | 68 | 0.75286 | 60 | 437 | 5.333333 | 0.7 | 0.06875 | 0.10625 | 0.14375 | 0.1875 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021978 | 0.167048 | 437 | 19 | 69 | 23 | 0.857143 | 0.562929 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
3683eb238168cec12aabe8357afb431740e46722 | 179 | py | Python | 7/7.2/car_rental.py | singi2016cn/python-scaffold | 274e508d1919da67e599aa73be139800c043bce4 | [
"MIT"
] | null | null | null | 7/7.2/car_rental.py | singi2016cn/python-scaffold | 274e508d1919da67e599aa73be139800c043bce4 | [
"MIT"
] | null | null | null | 7/7.2/car_rental.py | singi2016cn/python-scaffold | 274e508d1919da67e599aa73be139800c043bce4 | [
"MIT"
] | null | null | null | # 餐馆订位
have_dinner_number = input('请问有多少人用餐?\n')
have_dinner_number = int(have_dinner_number)
if have_dinner_number > 8:
print('非常抱歉,暂时没有空桌了')
else:
print('你好,还有空桌,这边请')
| 19.888889 | 44 | 0.726257 | 27 | 179 | 4.518519 | 0.62963 | 0.327869 | 0.52459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006452 | 0.134078 | 179 | 8 | 45 | 22.375 | 0.780645 | 0.022346 | 0 | 0 | 0 | 0 | 0.196532 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
3687ccaab0464952fdb1f760d00c8be8db86a285 | 8,562 | py | Python | plotly_visualization/vis.py | kidrabit/Data-Visualization-Lab-RND | baa19ee4e9f3422a052794e50791495632290b36 | [
"Apache-2.0"
] | 1 | 2022-01-18T01:53:34.000Z | 2022-01-18T01:53:34.000Z | plotly_visualization/vis.py | kidrabit/Data-Visualization-Lab-RND | baa19ee4e9f3422a052794e50791495632290b36 | [
"Apache-2.0"
] | null | null | null | plotly_visualization/vis.py | kidrabit/Data-Visualization-Lab-RND | baa19ee4e9f3422a052794e50791495632290b36 | [
"Apache-2.0"
] | null | null | null | # python version 3.5x
import pandas as pd
import plotly.graph_objects as go
import plotly.express as px
G_FILENAME_ARR=[]
class VisFunctions :
def vistypeDetection(self, _htmlFileName, _d,_m, _vis, _dimIdxArr, _meaIdxArr, _arrColumn, _arrData, _pdDataset):
self.funcName = "_"+str(_d)+"d"+str(_m)+"m_"+str(_vis)
s... | 33.708661 | 248 | 0.690376 | 1,141 | 8,562 | 4.856266 | 0.147239 | 0.031763 | 0.021837 | 0.027793 | 0.761234 | 0.752211 | 0.743909 | 0.701498 | 0.652951 | 0.625519 | 0 | 0.033361 | 0.14576 | 8,562 | 253 | 249 | 33.841897 | 0.724228 | 0.051273 | 0 | 0.661905 | 0 | 0 | 0.114254 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.061905 | false | 0 | 0.014286 | 0 | 0.085714 | 0.114286 | 0 | 0 | 0 | null | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 4 |
36be550f76892b6b699c02621fb921249526177e | 52 | py | Python | asr/common/__init__.py | igormq/speech2text | f3718bcb4fb0a3096e386d0d7f2b98b09ec21303 | [
"MIT"
] | 11 | 2020-06-19T15:28:55.000Z | 2022-03-23T15:37:45.000Z | asr/common/__init__.py | igormq/speech2text | f3718bcb4fb0a3096e386d0d7f2b98b09ec21303 | [
"MIT"
] | 1 | 2021-01-14T14:38:02.000Z | 2021-02-12T13:17:37.000Z | asr/common/__init__.py | igormq/speech2text | f3718bcb4fb0a3096e386d0d7f2b98b09ec21303 | [
"MIT"
] | 3 | 2021-02-12T00:41:27.000Z | 2021-04-15T08:55:10.000Z | # flake8: noqa
from asr.common.params import Params
| 17.333333 | 36 | 0.788462 | 8 | 52 | 5.125 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022222 | 0.134615 | 52 | 2 | 37 | 26 | 0.888889 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
36c253cf10a898542459148dcef5698f89b966f7 | 89 | py | Python | knowall/apps.py | audiua/shkolyar_django | a2de2dc0a42e6bdd51321f857c0aa1106c51ba80 | [
"MIT"
] | 1 | 2017-04-22T11:00:07.000Z | 2017-04-22T11:00:07.000Z | knowall/apps.py | audiua/shkolyar_django | a2de2dc0a42e6bdd51321f857c0aa1106c51ba80 | [
"MIT"
] | 6 | 2017-04-20T17:49:39.000Z | 2017-04-22T11:55:07.000Z | knowall/apps.py | audiua/shkolyar_django | a2de2dc0a42e6bdd51321f857c0aa1106c51ba80 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class KnowallConfig(AppConfig):
name = 'knowall'
| 14.833333 | 33 | 0.752809 | 10 | 89 | 6.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168539 | 89 | 5 | 34 | 17.8 | 0.905405 | 0 | 0 | 0 | 0 | 0 | 0.078652 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
36d48b1f36ca7ebb245565d2c654e0d01598826f | 22 | py | Python | aliyun-python-sdk-polardb/aliyunsdkpolardb/__init__.py | leafcoder/aliyun-openapi-python-sdk | 26b441ab37a5cda804de475fd5284bab699443f1 | [
"Apache-2.0"
] | null | null | null | aliyun-python-sdk-polardb/aliyunsdkpolardb/__init__.py | leafcoder/aliyun-openapi-python-sdk | 26b441ab37a5cda804de475fd5284bab699443f1 | [
"Apache-2.0"
] | null | null | null | aliyun-python-sdk-polardb/aliyunsdkpolardb/__init__.py | leafcoder/aliyun-openapi-python-sdk | 26b441ab37a5cda804de475fd5284bab699443f1 | [
"Apache-2.0"
] | null | null | null | __version__ = '1.8.10' | 22 | 22 | 0.681818 | 4 | 22 | 2.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0.090909 | 22 | 1 | 22 | 22 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 4 |
36e40b6542f63d91ea8383dd9a6a63c947fb247d | 154 | py | Python | test/queryservice_tests/__init__.py | acidburn0zzz/vitess | c9c1875924303c53e76a3f9bfc125831d5784402 | [
"BSD-3-Clause"
] | 1 | 2015-09-16T04:46:41.000Z | 2015-09-16T04:46:41.000Z | test/queryservice_tests/__init__.py | acidburn0zzz/vitess | c9c1875924303c53e76a3f9bfc125831d5784402 | [
"BSD-3-Clause"
] | null | null | null | test/queryservice_tests/__init__.py | acidburn0zzz/vitess | c9c1875924303c53e76a3f9bfc125831d5784402 | [
"BSD-3-Clause"
] | 1 | 2021-03-24T12:37:12.000Z | 2021-03-24T12:37:12.000Z | # Copyright 2012, Google Inc. All rights reserved.
# Use of this source code is governed by a BSD-style license that can
# be found in the LICENSE file.
| 30.8 | 69 | 0.753247 | 27 | 154 | 4.296296 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032258 | 0.194805 | 154 | 4 | 70 | 38.5 | 0.903226 | 0.948052 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
36e8e5e38f77cbe6dae3ec5b4145d75106534766 | 75 | py | Python | web/__init__.py | mingziV5/NiuB | 808c6750a59726ce96aa7d806ccf7613f9eeda00 | [
"Apache-2.0"
] | null | null | null | web/__init__.py | mingziV5/NiuB | 808c6750a59726ce96aa7d806ccf7613f9eeda00 | [
"Apache-2.0"
] | null | null | null | web/__init__.py | mingziV5/NiuB | 808c6750a59726ce96aa7d806ccf7613f9eeda00 | [
"Apache-2.0"
] | null | null | null | from flask import Flask
app = Flask(__name__)
import demo, login, public
| 12.5 | 26 | 0.76 | 11 | 75 | 4.818182 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173333 | 75 | 5 | 27 | 15 | 0.854839 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
36ee34400e387b59b9f2d3d6da0200f0d0c63d82 | 84 | py | Python | grao_table_processing/__main__.py | INDEAVRDataStrategyServices/GRAO-Tables-Processing | 42722d1efe8db9749bad6cc7ed3e31a90b0ab1ea | [
"MIT"
] | null | null | null | grao_table_processing/__main__.py | INDEAVRDataStrategyServices/GRAO-Tables-Processing | 42722d1efe8db9749bad6cc7ed3e31a90b0ab1ea | [
"MIT"
] | null | null | null | grao_table_processing/__main__.py | INDEAVRDataStrategyServices/GRAO-Tables-Processing | 42722d1efe8db9749bad6cc7ed3e31a90b0ab1ea | [
"MIT"
] | null | null | null | if __name__ == "__main__":
from grao_table_processing.grao import *
main()
| 16.8 | 44 | 0.678571 | 10 | 84 | 4.7 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 84 | 4 | 45 | 21 | 0.712121 | 0 | 0 | 0 | 0 | 0 | 0.096386 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
7fcdb16392d59ac0644bd9620b48668be377770d | 94 | py | Python | lib_import/apps.py | fannydufresne/lib_import | 7105fa5e054d4008eddc79c1b02b397e41f7a45f | [
"Apache-2.0"
] | null | null | null | lib_import/apps.py | fannydufresne/lib_import | 7105fa5e054d4008eddc79c1b02b397e41f7a45f | [
"Apache-2.0"
] | 4 | 2021-03-19T10:23:02.000Z | 2022-02-10T11:24:29.000Z | lib_import/apps.py | fannydufresne/lib_import | 7105fa5e054d4008eddc79c1b02b397e41f7a45f | [
"Apache-2.0"
] | null | null | null | from django.apps import AppConfig
class LibImportConfig(AppConfig):
name = 'lib_import'
| 15.666667 | 33 | 0.765957 | 11 | 94 | 6.454545 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159574 | 94 | 5 | 34 | 18.8 | 0.898734 | 0 | 0 | 0 | 0 | 0 | 0.106383 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 1 | 0 | 1.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
7fd1660bfc5e66eadfee9e70b81cebecb0a03803 | 343 | py | Python | main.py | we3x/SJ-farma | 14f3533a808ad0049c168722952173e056ca90ba | [
"MIT"
] | 1 | 2019-01-08T08:46:38.000Z | 2019-01-08T08:46:38.000Z | main.py | we3x/SJ-farma | 14f3533a808ad0049c168722952173e056ca90ba | [
"MIT"
] | null | null | null | main.py | we3x/SJ-farma | 14f3533a808ad0049c168722952173e056ca90ba | [
"MIT"
] | null | null | null | from mongoengine import *
from mongoengine import signals
from models.user import User
from controllers.main import MainController
def animals():
return ('pig', 'cow', 'sheep')
def init_db():
connect('_test_sj_farm')
print("init db complate")
def main():
init_db()
MainController()
if __name__ ==... | 19.055556 | 43 | 0.693878 | 43 | 343 | 5.232558 | 0.581395 | 0.08 | 0.186667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186589 | 343 | 18 | 44 | 19.055556 | 0.806452 | 0 | 0 | 0 | 0 | 0 | 0.139535 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | true | 0 | 0.285714 | 0.071429 | 0.571429 | 0.071429 | 0 | 0 | 0 | null | 0 | 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 | 0 | 0 | 1 | 0 | 0 | 4 |
3d0780a18210a2cf43c81553e42efaea948f4beb | 75 | py | Python | setup.py | Decoy7/flask-starter | fa81c3303b795c9af268a3f46b181d60b4ea06de | [
"Unlicense"
] | 3 | 2020-12-17T15:11:03.000Z | 2021-03-24T22:33:26.000Z | setup.py | Decoy7/flask-starter | fa81c3303b795c9af268a3f46b181d60b4ea06de | [
"Unlicense"
] | 2 | 2021-03-25T13:18:45.000Z | 2021-04-16T05:10:04.000Z | setup.py | Decoy7/flask-starter | fa81c3303b795c9af268a3f46b181d60b4ea06de | [
"Unlicense"
] | 1 | 2021-03-24T22:41:22.000Z | 2021-03-24T22:41:22.000Z | from setuptools import setup
setup(name="flask-starter", version="0.1.1")
| 18.75 | 44 | 0.746667 | 12 | 75 | 4.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044118 | 0.093333 | 75 | 3 | 45 | 25 | 0.779412 | 0 | 0 | 0 | 0 | 0 | 0.24 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
3d4b9f64239f6841a4d227326b64162c0e669ded | 737 | py | Python | app/routes.py | Craicerjack/socdems | c19c9812a58a01b714a475c3063fd50893fcb1e4 | [
"MIT"
] | null | null | null | app/routes.py | Craicerjack/socdems | c19c9812a58a01b714a475c3063fd50893fcb1e4 | [
"MIT"
] | null | null | null | app/routes.py | Craicerjack/socdems | c19c9812a58a01b714a475c3063fd50893fcb1e4 | [
"MIT"
] | null | null | null | from flask import Flask, render_template, session, redirect, url_for, flash
from app import app
@app.errorhandler(404)
def page_not_found(e):
return render_template('404.html'), 404
@app.errorhandler(500)
def internal_server_error(e):
return render_template('500.html'), 500
@app.route('/', methods=['GET',... | 23.774194 | 75 | 0.682497 | 102 | 737 | 4.813725 | 0.362745 | 0.199593 | 0.244399 | 0.08554 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028037 | 0.128901 | 737 | 31 | 76 | 23.774194 | 0.73676 | 0 | 0 | 0 | 0 | 0 | 0.159892 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0.090909 | 0.227273 | 0.636364 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
3d4d4680371440ff835064ae52c340f100dd62bd | 1,954 | py | Python | lib/floccus/models/iam.py | siroken3/floccus | 8ef0397841b11546353e836472f614152fa9ec66 | [
"MIT"
] | null | null | null | lib/floccus/models/iam.py | siroken3/floccus | 8ef0397841b11546353e836472f614152fa9ec66 | [
"MIT"
] | null | null | null | lib/floccus/models/iam.py | siroken3/floccus | 8ef0397841b11546353e836472f614152fa9ec66 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import urllib
import json
from floccus.models import CfnAWSResource, CfnAWSDataType, cfn_resourceref
class CfnIAMRole(CfnAWSResource):
def __init__(self, api_response):
CfnAWSResource.__init__(self, api_response, "AWS::IAM::Role")
def _cfn_id(self):
return self._get_ap... | 28.318841 | 97 | 0.685261 | 225 | 1,954 | 5.644444 | 0.262222 | 0.138583 | 0.07874 | 0.141732 | 0.673228 | 0.673228 | 0.623622 | 0.585827 | 0.405512 | 0.268504 | 0 | 0.000646 | 0.207779 | 1,954 | 68 | 98 | 28.735294 | 0.819767 | 0.064995 | 0 | 0.54 | 0 | 0 | 0.09989 | 0.026894 | 0 | 0 | 0 | 0 | 0 | 1 | 0.32 | false | 0.06 | 0.06 | 0.16 | 0.64 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
3d5b9dcddd423e8bad4818a15b06329aa8089119 | 71 | py | Python | Desafios/ex002/ex002.py | Jose-Wilson/Python | d7dc9f16b53708089c9e2659568220b7869bab99 | [
"MIT"
] | null | null | null | Desafios/ex002/ex002.py | Jose-Wilson/Python | d7dc9f16b53708089c9e2659568220b7869bab99 | [
"MIT"
] | null | null | null | Desafios/ex002/ex002.py | Jose-Wilson/Python | d7dc9f16b53708089c9e2659568220b7869bab99 | [
"MIT"
] | null | null | null | n = input('Digite seu Nome? ')
print(f'É um prazer te conhecer, {n}!')
| 23.666667 | 39 | 0.633803 | 13 | 71 | 3.461538 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169014 | 71 | 2 | 40 | 35.5 | 0.762712 | 0 | 0 | 0 | 0 | 0 | 0.647887 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
e9fa7900d90df42754e058342ab459d7822e6d64 | 25 | py | Python | homeassistant/components/myq/__init__.py | itewk/home-assistant | 769cf19052f8c9ef374d8ba8ae7705ccc7bf4cf4 | [
"Apache-2.0"
] | 23 | 2017-11-15T21:03:53.000Z | 2021-03-29T21:33:48.000Z | homeassistant/components/myq/__init__.py | itewk/home-assistant | 769cf19052f8c9ef374d8ba8ae7705ccc7bf4cf4 | [
"Apache-2.0"
] | 39 | 2016-12-16T12:40:34.000Z | 2017-02-13T17:53:42.000Z | homeassistant/components/myq/__init__.py | itewk/home-assistant | 769cf19052f8c9ef374d8ba8ae7705ccc7bf4cf4 | [
"Apache-2.0"
] | 10 | 2018-01-01T00:12:51.000Z | 2021-12-21T23:08:05.000Z | """The myq component."""
| 12.5 | 24 | 0.6 | 3 | 25 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 25 | 1 | 25 | 25 | 0.681818 | 0.72 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
180fa2ece801212b3b757058f0089e2a4bf79798 | 174 | py | Python | Arya/plugins/pkg.py | yezimai/oldboyProject | 889eebc2e6158b07ac0964b25eb01df743ad0117 | [
"Apache-2.0"
] | null | null | null | Arya/plugins/pkg.py | yezimai/oldboyProject | 889eebc2e6158b07ac0964b25eb01df743ad0117 | [
"Apache-2.0"
] | null | null | null | Arya/plugins/pkg.py | yezimai/oldboyProject | 889eebc2e6158b07ac0964b25eb01df743ad0117 | [
"Apache-2.0"
] | null | null | null | # -*- coding:utf-8 -*-
from Arya.backends.base_module import BaseSaltModule
class Pkg(BaseSaltModule):
def is_required(self, *args, **kwargs):
print(args,kwargs) | 29 | 52 | 0.701149 | 22 | 174 | 5.454545 | 0.863636 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006803 | 0.155172 | 174 | 6 | 53 | 29 | 0.809524 | 0.114943 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0.25 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
1812efd2c5c055fe9f3075b7be6055f383870f96 | 39 | py | Python | yt/frontends/artio/__init__.py | tukss/yt | 8bf6fce609cad3d4b291ebd94667019ab2e18377 | [
"BSD-3-Clause-Clear"
] | 1 | 2021-09-15T08:17:43.000Z | 2021-09-15T08:17:43.000Z | yt/frontends/artio/__init__.py | tukss/yt | 8bf6fce609cad3d4b291ebd94667019ab2e18377 | [
"BSD-3-Clause-Clear"
] | 8 | 2020-04-02T16:51:49.000Z | 2022-01-11T14:12:44.000Z | yt/frontends/artio/__init__.py | stonnes/yt | aad3cfa3b4ebab7838352ab467275a27c26ff363 | [
"BSD-3-Clause-Clear"
] | 2 | 2020-08-12T15:46:11.000Z | 2021-02-09T13:09:17.000Z | """
API for yt.frontends.artio
"""
| 4.875 | 26 | 0.564103 | 5 | 39 | 4.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 39 | 7 | 27 | 5.571429 | 0.733333 | 0.666667 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
18258e60990d3bbb854bc1ee9c9db1c3f98b6024 | 157 | py | Python | twotest/emptyurls.py | iivvoo/twotest | c13c0c1b8d11ebe95cb6a1f54293c183711c1023 | [
"BSD-2-Clause"
] | 2 | 2017-05-31T15:11:37.000Z | 2017-07-29T14:38:42.000Z | twotest/emptyurls.py | iivvoo/twotest | c13c0c1b8d11ebe95cb6a1f54293c183711c1023 | [
"BSD-2-Clause"
] | null | null | null | twotest/emptyurls.py | iivvoo/twotest | c13c0c1b8d11ebe95cb6a1f54293c183711c1023 | [
"BSD-2-Clause"
] | null | null | null | from django.conf.urls.defaults import patterns
from django.contrib.staticfiles.urls import staticfiles_urlpatterns
urlpatterns = staticfiles_urlpatterns()
| 26.166667 | 67 | 0.859873 | 18 | 157 | 7.388889 | 0.555556 | 0.150376 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082803 | 157 | 5 | 68 | 31.4 | 0.923611 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
186393b933d1abd75cf3569b2d7329e59c16132b | 162 | py | Python | main (7).py | lorenaEscobar0014/TALLER-ESTRUCTURAS | 3299d7e21982ac168645ab61039ab6790d4f6eef | [
"MIT"
] | null | null | null | main (7).py | lorenaEscobar0014/TALLER-ESTRUCTURAS | 3299d7e21982ac168645ab61039ab6790d4f6eef | [
"MIT"
] | null | null | null | main (7).py | lorenaEscobar0014/TALLER-ESTRUCTURAS | 3299d7e21982ac168645ab61039ab6790d4f6eef | [
"MIT"
] | null | null | null | h=float(input("Ingrese la medida en metros: "))
p=(h*39.27)
ps=(p/12)
print(("La medida en pulgadas es de: ")+str(p))
print(("La medida en pies es de: ")+str(ps)) | 32.4 | 47 | 0.641975 | 33 | 162 | 3.151515 | 0.575758 | 0.230769 | 0.288462 | 0.288462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042553 | 0.12963 | 162 | 5 | 48 | 32.4 | 0.695035 | 0 | 0 | 0 | 0 | 0 | 0.509202 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.4 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
186f9aa497ef51291a43ca8d790a88c2e5ebd51f | 94 | py | Python | codes_auto/801.is-graph-bipartite.py | smartmark-pro/leetcode_record | 6504b733d892a705571eb4eac836fb10e94e56db | [
"MIT"
] | null | null | null | codes_auto/801.is-graph-bipartite.py | smartmark-pro/leetcode_record | 6504b733d892a705571eb4eac836fb10e94e56db | [
"MIT"
] | null | null | null | codes_auto/801.is-graph-bipartite.py | smartmark-pro/leetcode_record | 6504b733d892a705571eb4eac836fb10e94e56db | [
"MIT"
] | null | null | null | #
# @lc app=leetcode.cn id=801 lang=python3
#
# [801] is-graph-bipartite
#
None
# @lc code=end | 13.428571 | 41 | 0.670213 | 16 | 94 | 3.9375 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0875 | 0.148936 | 94 | 7 | 42 | 13.428571 | 0.7 | 0.819149 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a10548fd86496c2f125f8dd56e5904633822a541 | 162 | py | Python | ex007-média aritimética.py | lucasalcantarap/Exercicios-de-python | f8fb4ced327785e8835c1c588db13806ebdc501c | [
"MIT"
] | null | null | null | ex007-média aritimética.py | lucasalcantarap/Exercicios-de-python | f8fb4ced327785e8835c1c588db13806ebdc501c | [
"MIT"
] | null | null | null | ex007-média aritimética.py | lucasalcantarap/Exercicios-de-python | f8fb4ced327785e8835c1c588db13806ebdc501c | [
"MIT"
] | null | null | null | nota1 = int(input('Digite a primeira nota: '))
nota2 = int(input('Digite a segundsa nota: '))
media = (nota1+nota2)/2
print('A média do aluno é {}'.format(media)) | 40.5 | 46 | 0.679012 | 26 | 162 | 4.230769 | 0.653846 | 0.145455 | 0.254545 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035714 | 0.135802 | 162 | 4 | 47 | 40.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.423313 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.25 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a13a3b51dd435e51f0b7dda98c1696141f678662 | 116 | py | Python | hnsource/story.py | lopespm/hackernews_daily | ad7d9086fd746e2c001d6b286c8b80a761a6fcfe | [
"Apache-2.0"
] | 7 | 2020-12-26T12:16:03.000Z | 2021-12-07T01:10:23.000Z | hnsource/story.py | lopespm/hackernews-daily | ad7d9086fd746e2c001d6b286c8b80a761a6fcfe | [
"Apache-2.0"
] | null | null | null | hnsource/story.py | lopespm/hackernews-daily | ad7d9086fd746e2c001d6b286c8b80a761a6fcfe | [
"Apache-2.0"
] | null | null | null | from collections import namedtuple
Story = namedtuple('Story', ('id', 'title', 'link', 'hn_link', 'top_comments'))
| 29 | 79 | 0.698276 | 14 | 116 | 5.642857 | 0.785714 | 0.379747 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112069 | 116 | 3 | 80 | 38.666667 | 0.76699 | 0 | 0 | 0 | 0 | 0 | 0.301724 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
a19328431b272593e9bca10162589d885ce3fa02 | 66 | py | Python | tests/__init__.py | Inobitec/lackey | 1ea404a3e003f0ef4dcaa8879ab02b1f568fa0a2 | [
"MIT"
] | 599 | 2016-08-15T22:51:53.000Z | 2022-03-29T16:16:34.000Z | tests/__init__.py | researchase/lackey | 2a6f313f83db30c0beef2cd8f2ccbe6250cd484d | [
"MIT"
] | 129 | 2016-08-16T11:11:52.000Z | 2021-10-20T20:55:40.000Z | tests/__init__.py | researchase/lackey | 2a6f313f83db30c0beef2cd8f2ccbe6250cd484d | [
"MIT"
] | 89 | 2016-08-16T01:33:27.000Z | 2021-12-09T15:40:58.000Z | # Makes tests runnable with `python -m unittest tests.test_cases`
| 33 | 65 | 0.787879 | 10 | 66 | 5.1 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 66 | 1 | 66 | 66 | 0.894737 | 0.954545 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a196e36d0effdf677d55e05986e4c1fd1a165ba4 | 445 | py | Python | messagepage.py | vjdw/piper | 80af3f6c54029dd0a514211a0ecd73399b503356 | [
"MIT"
] | null | null | null | messagepage.py | vjdw/piper | 80af3f6c54029dd0a514211a0ecd73399b503356 | [
"MIT"
] | null | null | null | messagepage.py | vjdw/piper | 80af3f6c54029dd0a514211a0ecd73399b503356 | [
"MIT"
] | null | null | null | from pagemanagercommand import PageManagerCommand
class MessagePage:
def __init__(self, msgs):
self.msgs = msgs
def up(self):
pass
def down(self):
pass
def select(self):
pass
def back(self):
pass
def togglepause(self):
pass
def draw_to_s... | 17.8 | 49 | 0.582022 | 53 | 445 | 4.754717 | 0.490566 | 0.15873 | 0.218254 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.330337 | 445 | 25 | 50 | 17.8 | 0.845638 | 0.031461 | 0 | 0.294118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.411765 | false | 0.294118 | 0.058824 | 0 | 0.529412 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
a1bc16303c5263b8c6daa513cc0ae8ee41f03523 | 3,236 | py | Python | netbox_secretstore/migrations/0003_modify_objectchange_records.py | Onemind-Services-LLC/netbox-secretstore | cfe8b813ed5997b0b8566d00cca90991fc87b55b | [
"Apache-2.0"
] | 30 | 2021-08-31T02:32:32.000Z | 2022-03-19T09:12:32.000Z | netbox_secretstore/migrations/0003_modify_objectchange_records.py | Onemind-Services-LLC/netbox-secretstore | cfe8b813ed5997b0b8566d00cca90991fc87b55b | [
"Apache-2.0"
] | 32 | 2021-09-02T00:20:17.000Z | 2022-02-19T23:40:20.000Z | netbox_secretstore/migrations/0003_modify_objectchange_records.py | Onemind-Services-LLC/netbox-secretstore | cfe8b813ed5997b0b8566d00cca90991fc87b55b | [
"Apache-2.0"
] | 17 | 2021-07-21T18:12:17.000Z | 2022-03-16T17:01:17.000Z | # Generated by Django 3.2.5 on 2021-07-20 17:30
from django.db import migrations
def secrets_to_nbsecrets(apps, schema_editor):
try:
ObjectChange = apps.get_model('extras', 'ObjectChange')
ContentType = apps.get_model('contenttypes', 'ContentType')
ctsecret = ContentType.objects.get(app_... | 52.193548 | 124 | 0.754944 | 367 | 3,236 | 6.411444 | 0.179837 | 0.122397 | 0.142796 | 0.163196 | 0.889078 | 0.861028 | 0.691033 | 0.691033 | 0.573736 | 0.573736 | 0 | 0.006776 | 0.133498 | 3,236 | 61 | 125 | 53.04918 | 0.832382 | 0.013906 | 0 | 0.590909 | 1 | 0 | 0.140796 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.045455 | false | 0.045455 | 0.022727 | 0 | 0.136364 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a1c2850df9dc25cd7708e1d239259c8fa4a5771f | 444 | py | Python | pyEX/refdata/symbols/__init__.py | adamklaff/pyEX | 74a4cfa5978ccff95261aeb54f526dedc579aa6b | [
"Apache-2.0"
] | 335 | 2017-11-06T00:45:41.000Z | 2022-03-14T10:17:36.000Z | pyEX/refdata/symbols/__init__.py | adamklaff/pyEX | 74a4cfa5978ccff95261aeb54f526dedc579aa6b | [
"Apache-2.0"
] | 193 | 2018-02-11T21:39:35.000Z | 2022-02-25T15:46:38.000Z | pyEX/refdata/symbols/__init__.py | adamklaff/pyEX | 74a4cfa5978ccff95261aeb54f526dedc579aa6b | [
"Apache-2.0"
] | 92 | 2017-11-10T08:09:35.000Z | 2022-02-16T19:27:46.000Z | # *****************************************************************************
#
# Copyright (c) 2021, the pyEX authors.
#
# This file is part of the pyEX library, distributed under the terms of
# the Apache License 2.0. The full license can be found in the LICENSE file.
#
from .iex import *
from .crypto import *
fro... | 27.75 | 79 | 0.59009 | 58 | 444 | 4.517241 | 0.586207 | 0.267176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016216 | 0.166667 | 444 | 15 | 80 | 29.6 | 0.691892 | 0.587838 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
a1c8f1fd6cef88255ac4674ade6a0c157a7da900 | 2,405 | py | Python | NumpyNN/Function.py | ssuurrffaaccee/ToyNeuralNetworkImplementation | ef361e260e5508d29b24d1abbcdd74069d41f983 | [
"MIT"
] | null | null | null | NumpyNN/Function.py | ssuurrffaaccee/ToyNeuralNetworkImplementation | ef361e260e5508d29b24d1abbcdd74069d41f983 | [
"MIT"
] | null | null | null | NumpyNN/Function.py | ssuurrffaaccee/ToyNeuralNetworkImplementation | ef361e260e5508d29b24d1abbcdd74069d41f983 | [
"MIT"
] | null | null | null | from Operators import OAdd,OMatMul,OMinus,OMul,ORelu,OSelect,OSum,OConcat,OTranspose,OSigmoid,ODropout,TRAIN,OSoftmaxEntropy,OSoftmaxForEval,OMaxPool,OFlatten,OSoftmax,OEntropy,OTanh
#from Tensor import IntermediateGradTensor
def Add(TensorInput1,TensorInput2,Name=""):
return OAdd(Name).RegisteForward()(TensorInput... | 44.537037 | 182 | 0.779626 | 242 | 2,405 | 7.747934 | 0.260331 | 0.2112 | 0.154667 | 0.136533 | 0.1728 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014905 | 0.079418 | 2,405 | 54 | 183 | 44.537037 | 0.831978 | 0.017048 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023256 | 1 | 0.44186 | false | 0 | 0.023256 | 0.395349 | 0.906977 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
a1ff122cdbcbcb76a71ac82843dbb0fa6c2ee9ed | 78 | py | Python | test_hello.py | pythongirl/pynet_testz | 1b479509ca760766aeeb2ed09ec980177cf5e0aa | [
"Apache-2.0"
] | null | null | null | test_hello.py | pythongirl/pynet_testz | 1b479509ca760766aeeb2ed09ec980177cf5e0aa | [
"Apache-2.0"
] | null | null | null | test_hello.py | pythongirl/pynet_testz | 1b479509ca760766aeeb2ed09ec980177cf5e0aa | [
"Apache-2.0"
] | null | null | null | print "hello world"
print "something else"
for i in range(0,10):
print i
| 13 | 22 | 0.679487 | 14 | 78 | 3.785714 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04918 | 0.217949 | 78 | 5 | 23 | 15.6 | 0.819672 | 0 | 0 | 0 | 0 | 0 | 0.320513 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.75 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
b80d8c6d2bbd4df99ab6c04600d8b091cd265eca | 177 | py | Python | backend/utils/convert_ogg_to_wav.py | zeraye/rege | aa93be8da08fb8faca916f07bb7435cf1a1ed3c3 | [
"BSD-2-Clause"
] | 2 | 2022-03-14T09:23:09.000Z | 2022-03-24T19:27:39.000Z | backend/utils/convert_ogg_to_wav.py | zeraye/rege | aa93be8da08fb8faca916f07bb7435cf1a1ed3c3 | [
"BSD-2-Clause"
] | 6 | 2022-03-08T22:04:47.000Z | 2022-03-25T06:54:48.000Z | backend/utils/convert_ogg_to_wav.py | zeraye/rege | aa93be8da08fb8faca916f07bb7435cf1a1ed3c3 | [
"BSD-2-Clause"
] | 2 | 2022-03-08T21:26:25.000Z | 2022-03-08T21:29:28.000Z | from . import pydub
def convert_ogg_to_wav(audio_path: str) -> None:
audio_file = pydub.AudioSegment.from_file(audio_path)
audio_file.export(audio_path, format="wav")
| 25.285714 | 57 | 0.757062 | 27 | 177 | 4.62963 | 0.592593 | 0.216 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135593 | 177 | 6 | 58 | 29.5 | 0.816993 | 0 | 0 | 0 | 0 | 0 | 0.016949 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
62a7660e6f13ca16489a7d366908aa30747c382f | 1,620 | py | Python | grizzly/generator.py | dbis-ilm/grizzly | 113e00b3cb980986f1f33e54fd7d84bf30763506 | [
"MIT"
] | 28 | 2019-09-25T09:33:54.000Z | 2022-03-12T23:42:57.000Z | grizzly/generator.py | dbis-ilm/grizzly | 113e00b3cb980986f1f33e54fd7d84bf30763506 | [
"MIT"
] | null | null | null | grizzly/generator.py | dbis-ilm/grizzly | 113e00b3cb980986f1f33e54fd7d84bf30763506 | [
"MIT"
] | 6 | 2020-10-01T07:04:39.000Z | 2021-12-22T16:56:18.000Z | class GrizzlyGenerator(object):
"""
A wraper for the actually used generator
"""
_backend = None
tVarCounter = 0
@staticmethod
def _incrAndGetTupleVar():
tVar = f"_t{GrizzlyGenerator.tVarCounter}"
GrizzlyGenerator.tVarCounter += 1
return tVar
@staticmethod
def generate(df):
"""
... | 24.923077 | 85 | 0.714815 | 175 | 1,620 | 6.52 | 0.342857 | 0.131464 | 0.20333 | 0.033304 | 0.122699 | 0.122699 | 0.122699 | 0.122699 | 0.122699 | 0.122699 | 0 | 0.004591 | 0.19321 | 1,620 | 64 | 86 | 25.3125 | 0.868401 | 0.223457 | 0 | 0.285714 | 0 | 0 | 0.028014 | 0.027165 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.142857 | 0.628571 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
62d15de6f8e63a8d8e92bf2fc9707f85e6e6a8b6 | 167 | py | Python | demopy/pyglet/__init__.py | jrrwll/demopy | f8ef302b85801ed63fbdda1627b97a153f28bc5c | [
"Apache-2.0"
] | null | null | null | demopy/pyglet/__init__.py | jrrwll/demopy | f8ef302b85801ed63fbdda1627b97a153f28bc5c | [
"Apache-2.0"
] | null | null | null | demopy/pyglet/__init__.py | jrrwll/demopy | f8ef302b85801ed63fbdda1627b97a153f28bc5c | [
"Apache-2.0"
] | null | null | null | import pyglet
from demopy.pyglet.prev_window import show_prev_window
def main():
show_prev_window()
pyglet.app.run()
if __name__ == '__main__':
main() | 13.916667 | 54 | 0.706587 | 23 | 167 | 4.565217 | 0.565217 | 0.285714 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185629 | 167 | 12 | 55 | 13.916667 | 0.772059 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | true | 0 | 0.285714 | 0 | 0.428571 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
62e104c6954b4630edb88f0ebee308dca5e74275 | 3,457 | py | Python | sdk/python/pulumi_azure_native/eventgrid/__init__.py | sebtelko/pulumi-azure-native | 711ec021b5c73da05611c56c8a35adb0ce3244e4 | [
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure_native/eventgrid/__init__.py | sebtelko/pulumi-azure-native | 711ec021b5c73da05611c56c8a35adb0ce3244e4 | [
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure_native/eventgrid/__init__.py | sebtelko/pulumi-azure-native | 711ec021b5c73da05611c56c8a35adb0ce3244e4 | [
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi SDK Generator. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
from .. import _utilities
import typing
# Export this package's modules as members:
from ._enums import *
from .domain import *
from .domain_topic impo... | 50.838235 | 95 | 0.834828 | 413 | 3,457 | 6.639225 | 0.193705 | 0.109409 | 0.148797 | 0.201313 | 0.661926 | 0.595186 | 0.285558 | 0.030635 | 0 | 0 | 0 | 0.124274 | 0.103847 | 3,457 | 67 | 96 | 51.597015 | 0.760813 | 0.066821 | 0 | 0 | 1 | 0 | 0.162783 | 0.162783 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.966102 | 0 | 0.966102 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
62e271414619df2d034a99789a952a062ab70017 | 1,453 | py | Python | apps/reports/custom/all/default.py | commtrack/commtrack-old-to-del | cc9c22754ac192a45483cef609bdcf09aa990340 | [
"BSD-3-Clause"
] | 1 | 2017-05-19T07:23:00.000Z | 2017-05-19T07:23:00.000Z | apps/reports/custom/all/default.py | commtrack/commtrack-old-to-del | cc9c22754ac192a45483cef609bdcf09aa990340 | [
"BSD-3-Clause"
] | null | null | null | apps/reports/custom/all/default.py | commtrack/commtrack-old-to-del | cc9c22754ac192a45483cef609bdcf09aa990340 | [
"BSD-3-Clause"
] | null | null | null | from blacklist import blacklist as inner_blacklist
from metadata import metadata as inner_metadata
from domain_summary import domain_summary as inner_domain_summary
from chw_summary import chw_summary as inner_chw_summary
"""Where to put default global reports. These behave just like custom reports
except they ar... | 39.27027 | 78 | 0.767378 | 221 | 1,453 | 4.963801 | 0.461538 | 0.094804 | 0.061987 | 0.041933 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173434 | 1,453 | 36 | 79 | 40.361111 | 0.913406 | 0.36201 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027778 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
62ee967a37478969b53b8776db7bc8bbaa999f29 | 5,300 | py | Python | Lattice Dynamics, theory & experiment/src/phonon_model/theory_freq.spectrum.py | rokala/Physics-experiments-and-projects | d134eca5df0280ac653a8964838e25f665ad7c33 | [
"MIT"
] | null | null | null | Lattice Dynamics, theory & experiment/src/phonon_model/theory_freq.spectrum.py | rokala/Physics-experiments-and-projects | d134eca5df0280ac653a8964838e25f665ad7c33 | [
"MIT"
] | null | null | null | Lattice Dynamics, theory & experiment/src/phonon_model/theory_freq.spectrum.py | rokala/Physics-experiments-and-projects | d134eca5df0280ac653a8964838e25f665ad7c33 | [
"MIT"
] | null | null | null | import numpy as np
from math import *
from pylab import *
from matplotlib import pyplot as plt
massR10=[[0.2429605759829406, 0.48568137921037358, 0.72792287355354457, 0.96944599590371627, 1.2100123920985628, 1.4493846521489737, 1.6873265445340442, 1.9236032493330626, 2.1579815899644244, 2.3902302633027643, 2.620120067... | 170.967742 | 2,191 | 0.780943 | 653 | 5,300 | 6.324655 | 0.388974 | 0.013559 | 0.012349 | 0.001937 | 0.047942 | 0.047942 | 0.045036 | 0.045036 | 0.045036 | 0.045036 | 0 | 0.739975 | 0.077736 | 5,300 | 30 | 2,192 | 176.666667 | 0.104951 | 0 | 0 | 0 | 0 | 0 | 0.022642 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.190476 | 0 | 0.190476 | 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 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1a14d78cbee2242350e32c2be6a9af42de3142eb | 119 | py | Python | M101P/week1/python_exception_handling/exception_caught.py | lambdaxymox/mongodb-university | fbab1dfa61b0c422f0d45209d0047261da3525c9 | [
"Unlicense"
] | 1 | 2020-04-08T03:03:16.000Z | 2020-04-08T03:03:16.000Z | M101P/week1/python_exception_handling/exception_caught.py | lambdaxymox/mongodb-university | fbab1dfa61b0c422f0d45209d0047261da3525c9 | [
"Unlicense"
] | null | null | null | M101P/week1/python_exception_handling/exception_caught.py | lambdaxymox/mongodb-university | fbab1dfa61b0c422f0d45209d0047261da3525c9 | [
"Unlicense"
] | 1 | 2020-04-08T03:03:18.000Z | 2020-04-08T03:03:18.000Z | import sys
try:
print 5 / 0
except Exception as e:
print "exception: ", type(e), e
print "but life goes on"
| 11.9 | 35 | 0.630252 | 20 | 119 | 3.75 | 0.75 | 0.16 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022989 | 0.268908 | 119 | 9 | 36 | 13.222222 | 0.83908 | 0 | 0 | 0 | 0 | 0 | 0.228814 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.166667 | null | null | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
1a2672f9ba030948ed946d80c4f795875f70dce5 | 116 | py | Python | src/magic_cards/apps.py | dcollinsn/django-magic-cards | 1f8adb340591f56c82debb356f6d2589f20d01bf | [
"MIT"
] | 5 | 2017-08-10T19:05:37.000Z | 2021-12-14T21:33:47.000Z | src/magic_cards/apps.py | dcollinsn/django-magic-cards | 1f8adb340591f56c82debb356f6d2589f20d01bf | [
"MIT"
] | 51 | 2019-05-13T07:14:22.000Z | 2021-06-11T05:15:32.000Z | src/magic_cards/apps.py | dcollinsn/django-magic-cards | 1f8adb340591f56c82debb356f6d2589f20d01bf | [
"MIT"
] | 3 | 2017-10-26T21:32:25.000Z | 2021-03-18T09:06:48.000Z | # -*- coding: utf-8
from django.apps import AppConfig
class MagicCardsConfig(AppConfig):
name = 'magic_cards'
| 16.571429 | 34 | 0.724138 | 14 | 116 | 5.928571 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010309 | 0.163793 | 116 | 6 | 35 | 19.333333 | 0.845361 | 0.146552 | 0 | 0 | 0 | 0 | 0.113402 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
a7df2318a2779791b897f19d4a38b4c78fe74067 | 62 | py | Python | scene/utils/__init__.py | xxbbml/VideoNet_Baseline | 55f5e3025d44a36efd23ea52d5ba487d32eba563 | [
"MIT"
] | 37 | 2019-07-05T06:51:53.000Z | 2021-12-06T07:20:15.000Z | scene/utils/__init__.py | daleharr/VideoNet_Baseline | 55f5e3025d44a36efd23ea52d5ba487d32eba563 | [
"MIT"
] | 10 | 2019-07-08T10:01:25.000Z | 2022-01-18T03:06:22.000Z | scene/utils/__init__.py | daleharr/VideoNet_Baseline | 55f5e3025d44a36efd23ea52d5ba487d32eba563 | [
"MIT"
] | 6 | 2019-07-05T06:59:58.000Z | 2020-02-11T19:04:20.000Z | from .VideoNet import VideoNet
#__all__ = ('ucf101','hmdb51') | 20.666667 | 30 | 0.725806 | 7 | 62 | 5.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 0.112903 | 62 | 3 | 31 | 20.666667 | 0.654545 | 0.467742 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
a7e0a50d96593f120b2e6d8af03ea582c5d2db4e | 418 | py | Python | contabilidad/utils/api/views.py | R3SWebDevelopment/CreaLibreCanacintraMembership | afab16195bbc7f74417a07cf475b5165eee472cb | [
"MIT"
] | null | null | null | contabilidad/utils/api/views.py | R3SWebDevelopment/CreaLibreCanacintraMembership | afab16195bbc7f74417a07cf475b5165eee472cb | [
"MIT"
] | null | null | null | contabilidad/utils/api/views.py | R3SWebDevelopment/CreaLibreCanacintraMembership | afab16195bbc7f74417a07cf475b5165eee472cb | [
"MIT"
] | null | null | null | from rest_framework.views import APIView
from rest_framework.response import Response
from rest_framework import status
from .serializers import HealthCheckSerializer
from rest_framework.permissions import AllowAny
class HealthCheckView(APIView):
permission_classes = (AllowAny,)
def get(self, request, forma... | 29.857143 | 88 | 0.811005 | 48 | 418 | 6.916667 | 0.5625 | 0.096386 | 0.204819 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008197 | 0.124402 | 418 | 13 | 89 | 32.153846 | 0.898907 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.555556 | 0.111111 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
c502b477f2e6f65ff6bbbcd2f2d7ee4a46a1f477 | 37 | py | Python | regression_tests/parsers/c_parser/stmts/__init__.py | mehrdad-shokri/retdec-regression-tests-framework | 9c3edcd0a7bc292a0d5b5cbfb4315010c78d3bc3 | [
"MIT"
] | 21 | 2017-12-12T20:38:43.000Z | 2019-04-14T12:46:10.000Z | regression_tests/parsers/c_parser/stmts/__init__.py | mehrdad-shokri/retdec-regression-tests-framework | 9c3edcd0a7bc292a0d5b5cbfb4315010c78d3bc3 | [
"MIT"
] | 6 | 2018-01-06T13:32:23.000Z | 2018-09-14T15:09:11.000Z | regression_tests/parsers/c_parser/stmts/__init__.py | mehrdad-shokri/retdec-regression-tests-framework | 9c3edcd0a7bc292a0d5b5cbfb4315010c78d3bc3 | [
"MIT"
] | 11 | 2017-12-12T20:38:46.000Z | 2018-07-19T03:12:03.000Z | """
Parsing of C statements.
"""
| 9.25 | 28 | 0.540541 | 4 | 37 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.27027 | 37 | 3 | 29 | 12.333333 | 0.740741 | 0.648649 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c54a55f542bec14ec1dc53f6bc2b1655601f21fc | 580 | py | Python | python/anyascii/_data/_243.py | casept/anyascii | d4f426b91751254b68eaa84c6cd23099edd668e6 | [
"ISC"
] | null | null | null | python/anyascii/_data/_243.py | casept/anyascii | d4f426b91751254b68eaa84c6cd23099edd668e6 | [
"ISC"
] | null | null | null | python/anyascii/_data/_243.py | casept/anyascii | d4f426b91751254b68eaa84c6cd23099edd668e6 | [
"ISC"
] | null | null | null | b='Kip Su Duo Cha Nhang Jiong Zai Hui Ying Hu Lin Weng Han Nan Wui Rat Git Xi Gan He Ji Xiang Sha Hay To Ret Ngot Nau Hei Ngun To Huc Thieng Tui Chong Zhao Shu You Jian Zao Jit Jim Kwan Zhang Heoi Loa Ruo Yan Cui Tong Quac Mo Non... | 580 | 580 | 0.555172 | 98 | 580 | 3.285714 | 0.918367 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.439655 | 580 | 1 | 580 | 580 | 0.990769 | 0 | 0 | 0 | 0 | 1 | 0.991394 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c56eabdde369c9e186da8e603a2dfc678e39e54f | 64 | py | Python | activate/usermanagement/__init__.py | akselkb/TDT4140-Programvareutvikling-Gruppe59 | 188e0c34248350eb3ec0f830d83978dc9a363219 | [
"CC-BY-4.0",
"0BSD",
"Unlicense",
"BSD-2-Clause",
"MIT"
] | null | null | null | activate/usermanagement/__init__.py | akselkb/TDT4140-Programvareutvikling-Gruppe59 | 188e0c34248350eb3ec0f830d83978dc9a363219 | [
"CC-BY-4.0",
"0BSD",
"Unlicense",
"BSD-2-Clause",
"MIT"
] | null | null | null | activate/usermanagement/__init__.py | akselkb/TDT4140-Programvareutvikling-Gruppe59 | 188e0c34248350eb3ec0f830d83978dc9a363219 | [
"CC-BY-4.0",
"0BSD",
"Unlicense",
"BSD-2-Clause",
"MIT"
] | null | null | null | default_app_config = 'usermanagement.apps.UsermanagementConfig'
| 32 | 63 | 0.875 | 6 | 64 | 9 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046875 | 64 | 1 | 64 | 64 | 0.885246 | 0 | 0 | 0 | 0 | 0 | 0.625 | 0.625 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
3d82cc3920104deb68bf0131c03629f44478762c | 159 | py | Python | groups/tests.py | ebaymademepoor/django_milestone_project_myTeam | 95d503e2c303b9525e9eaff2e08340f6e9f1987b | [
"ADSL"
] | null | null | null | groups/tests.py | ebaymademepoor/django_milestone_project_myTeam | 95d503e2c303b9525e9eaff2e08340f6e9f1987b | [
"ADSL"
] | 5 | 2020-06-05T19:45:53.000Z | 2022-03-11T23:41:23.000Z | groups/tests.py | Deirdre18/django_milestone_project_myTeam | 0555105f65076214087cfed73802470652dd1dcd | [
"ADSL"
] | 2 | 2019-04-30T11:08:14.000Z | 2019-07-24T20:04:50.000Z | from django.test import TestCase
# Create your tests here.
class TestDjango(TestCase):
def test_is_this_thing_on(self):
self.assertEqual(1,1) | 22.714286 | 36 | 0.72327 | 23 | 159 | 4.826087 | 0.826087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015625 | 0.194969 | 159 | 7 | 37 | 22.714286 | 0.851563 | 0.144654 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
3d882f48e07454e557b73c0a9468db65e9758ec1 | 115 | py | Python | memeD/banking2/transaction.py | Atxsalomon/cssi | 1d9e57035e0abda96e12fc53c4eecccbc1399894 | [
"Apache-2.0"
] | null | null | null | memeD/banking2/transaction.py | Atxsalomon/cssi | 1d9e57035e0abda96e12fc53c4eecccbc1399894 | [
"Apache-2.0"
] | null | null | null | memeD/banking2/transaction.py | Atxsalomon/cssi | 1d9e57035e0abda96e12fc53c4eecccbc1399894 | [
"Apache-2.0"
] | null | null | null | from google.appengine.ext import ndb
class Transaction(ndb.Model):
amount = ndb.IntegerProperty(required=True)
| 28.75 | 47 | 0.791304 | 15 | 115 | 6.066667 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113043 | 115 | 3 | 48 | 38.333333 | 0.892157 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
3dc6cfb14370172d2d0c4ea2f7c6f8f97e7fdfa4 | 43 | py | Python | simple/plotting/__init__.py | mcnanna/simple | 5d96abb3994d9034fff1dcec590d0fdced8ba784 | [
"MIT"
] | 3 | 2019-10-12T03:02:15.000Z | 2022-03-09T23:28:26.000Z | simple/plotting/__init__.py | mcnanna/simple | 5d96abb3994d9034fff1dcec590d0fdced8ba784 | [
"MIT"
] | 8 | 2017-12-28T07:16:44.000Z | 2019-06-10T19:36:11.000Z | simple/plotting/__init__.py | mcnanna/simple | 5d96abb3994d9034fff1dcec590d0fdced8ba784 | [
"MIT"
] | 3 | 2019-10-12T03:01:48.000Z | 2020-04-28T22:07:37.000Z | """
Simple binner plotting subpackage.
"""
| 10.75 | 34 | 0.697674 | 4 | 43 | 7.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139535 | 43 | 3 | 35 | 14.333333 | 0.810811 | 0.790698 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
3dfe5eb9042d9532c45b0f117606ed886af53203 | 204 | py | Python | hummingbot/connector/exchange/loopring/ethsnarks2/sha3.py | popnetwork/hummingbot | 19de9bdd5f0c854eeac50b4d4a5b40e490d88501 | [
"Apache-2.0"
] | 2 | 2021-04-08T19:24:52.000Z | 2021-04-09T22:47:08.000Z | hummingbot/connector/exchange/loopring/ethsnarks2/sha3.py | popnetwork/hummingbot | 19de9bdd5f0c854eeac50b4d4a5b40e490d88501 | [
"Apache-2.0"
] | 13 | 2021-02-16T01:57:23.000Z | 2021-02-16T03:50:03.000Z | hummingbot/connector/exchange/loopring/ethsnarks2/sha3.py | pulkitsharma/hummingbot | 8695f83a2ffec392083be9ba5be7f0fa5c4dade6 | [
"Apache-2.0"
] | 1 | 2020-09-08T10:48:29.000Z | 2020-09-08T10:48:29.000Z | try:
# pysha3
from sha3 import keccak_256
except ImportError:
# pycryptodome
from Crypto.Hash import keccak
keccak_256 = lambda *args: keccak.new(*args, digest_bits=256) # noqa: E731
| 25.5 | 79 | 0.70098 | 27 | 204 | 5.185185 | 0.703704 | 0.171429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08805 | 0.220588 | 204 | 7 | 80 | 29.142857 | 0.792453 | 0.147059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
9a7217be8c42553fbc88c44995f65140151b21c6 | 2,867 | py | Python | guillotina_volto/permissions.py | enfold/guillotina-volto | d38ee300470c813c99341eaeb2ba8a2b5fb7d778 | [
"BSD-2-Clause"
] | 1 | 2020-11-14T13:09:49.000Z | 2020-11-14T13:09:49.000Z | guillotina_volto/permissions.py | enfold/guillotina-volto | d38ee300470c813c99341eaeb2ba8a2b5fb7d778 | [
"BSD-2-Clause"
] | 4 | 2021-05-14T20:21:03.000Z | 2021-11-18T01:27:04.000Z | guillotina_volto/permissions.py | enfold/guillotina-volto | d38ee300470c813c99341eaeb2ba8a2b5fb7d778 | [
"BSD-2-Clause"
] | null | null | null | from guillotina import configure
configure.role("guillotina.Contributor", "Contributor", "Can add content", True)
configure.permission(
"guillotina.ManageVersioning", "Ability to modify versioning on an object"
)
configure.permission(
"guillotina.ManageConstraints", "Allow to check and change type constraints... | 42.161765 | 88 | 0.815835 | 272 | 2,867 | 8.599265 | 0.191176 | 0.282172 | 0.235998 | 0.334331 | 0.666524 | 0.666524 | 0.622061 | 0.200941 | 0.200941 | 0.200941 | 0 | 0 | 0.051971 | 2,867 | 67 | 89 | 42.791045 | 0.860559 | 0 | 0 | 0.093023 | 0 | 0 | 0.538193 | 0.344262 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.023256 | 0 | 0.023256 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
9ac022e29fbbd3bafd1d2517aefd3495a992331f | 67 | py | Python | Task/Window-creation/Python/window-creation-4.py | LaudateCorpus1/RosettaCodeData | 9ad63ea473a958506c041077f1d810c0c7c8c18d | [
"Info-ZIP"
] | 1 | 2018-11-09T22:08:38.000Z | 2018-11-09T22:08:38.000Z | Task/Window-creation/Python/window-creation-4.py | seanwallawalla-forks/RosettaCodeData | 9ad63ea473a958506c041077f1d810c0c7c8c18d | [
"Info-ZIP"
] | null | null | null | Task/Window-creation/Python/window-creation-4.py | seanwallawalla-forks/RosettaCodeData | 9ad63ea473a958506c041077f1d810c0c7c8c18d | [
"Info-ZIP"
] | 1 | 2018-11-09T22:08:40.000Z | 2018-11-09T22:08:40.000Z | import gtk
window = gtk.Window()
window.show()
gtk.main()
| 11.166667 | 23 | 0.61194 | 9 | 67 | 4.555556 | 0.555556 | 0.439024 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.238806 | 67 | 5 | 24 | 13.4 | 0.803922 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.25 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
9ae8550c40212fab6d5a9ae7ad90925af6bd07d1 | 228 | py | Python | api/views.py | david30907d/My-Django-React-Template | 5b3b3763ea0a9c548a021a9f02ae5deeecfe5308 | [
"MIT"
] | null | null | null | api/views.py | david30907d/My-Django-React-Template | 5b3b3763ea0a9c548a021a9f02ae5deeecfe5308 | [
"MIT"
] | 5 | 2020-03-06T04:35:52.000Z | 2021-05-11T05:35:17.000Z | api/views.py | david30907d/My-Django-React-Template | 5b3b3763ea0a9c548a021a9f02ae5deeecfe5308 | [
"MIT"
] | null | null | null | # Create your views here.
from typing import Dict
from django.http import JsonResponse
from django.shortcuts import render
def health_check(request) -> JsonResponse:
return JsonResponse({"status": "success"}, safe=False)
| 22.8 | 58 | 0.77193 | 29 | 228 | 6.034483 | 0.758621 | 0.114286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140351 | 228 | 9 | 59 | 25.333333 | 0.892857 | 0.100877 | 0 | 0 | 0 | 0 | 0.064039 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.6 | 0.2 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 4 |
9afdba18711a7f7596a6ff5afe272b575d7c804b | 80 | py | Python | ast-transformations-core/src/test/resources/org/jetbrains/research/ml/ast/transformations/outerNotElimination/data/in_2_complex_negation.py | JetBrains-Research/ast-transformations | 0ab408af3275b520cc87a473f418c4b4dfcb0284 | [
"MIT"
] | 8 | 2021-01-19T21:15:54.000Z | 2022-02-23T19:16:25.000Z | ast-transformations-core/src/test/resources/org/jetbrains/research/ml/ast/transformations/outerNotElimination/data/in_2_complex_negation.py | JetBrains-Research/ast-transformations | 0ab408af3275b520cc87a473f418c4b4dfcb0284 | [
"MIT"
] | 4 | 2020-11-17T14:28:25.000Z | 2022-02-24T07:54:28.000Z | ast-transformations-core/src/test/resources/org/jetbrains/research/ml/ast/transformations/outerNotElimination/data/in_2_complex_negation.py | nbirillo/ast-transformations | 717706765a2da29087a0de768fc851698886dd65 | [
"MIT"
] | 1 | 2022-02-23T19:16:30.000Z | 2022-02-23T19:16:30.000Z | a = b = c = d = e = 0
_ = not ((a or b) and b)
_ = not ((a and b) or (c or d))
| 16 | 31 | 0.4125 | 20 | 80 | 1.55 | 0.45 | 0.258065 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02 | 0.375 | 80 | 4 | 32 | 20 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.