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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
9bee3a9f162a2d7f5f31dde5176e04edbaf46018 | 224 | py | Python | src/apps/streaming_plots/tests.py | MarcSkovMadsen/awesome-panel-starter | b76854882a041c7b955a59785d08e167ffef07af | [
"Apache-2.0"
] | 5 | 2021-01-04T16:39:09.000Z | 2021-08-03T15:26:49.000Z | src/apps/streaming_plots/tests.py | MarcSkovMadsen/awesome-panel-starter | b76854882a041c7b955a59785d08e167ffef07af | [
"Apache-2.0"
] | 6 | 2020-12-28T03:28:25.000Z | 2021-09-11T13:07:51.000Z | src/apps/streaming_plots/tests.py | MarcSkovMadsen/awesome-panel-starter | b76854882a041c7b955a59785d08e167ffef07af | [
"Apache-2.0"
] | 1 | 2021-09-15T20:08:44.000Z | 2021-09-15T20:08:44.000Z | """Test of the App"""
# pylint: disable=redefined-outer-name,protected-access
# pylint: disable=missing-function-docstring,missing-module-docstring,missing-class-docstring
from .app import view
def test_view():
view()
| 24.888889 | 93 | 0.763393 | 30 | 224 | 5.666667 | 0.666667 | 0.152941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102679 | 224 | 8 | 94 | 28 | 0.845771 | 0.723214 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
9bf895c7e61e393fefcc70bdafeeeeeea43e1b77 | 38 | py | Python | json2oraparser/MetadataController/__init__.py | ntpythondev/json2oraparser | d03e31a13dbafb8650ebeec0fc1560ead488193c | [
"MIT"
] | 1 | 2019-10-23T11:12:13.000Z | 2019-10-23T11:12:13.000Z | json2oraparser/MetadataController/__init__.py | ntpythondev/testpypi2019 | e9b767d4353e09861a6f7408613bb18bdbd4df04 | [
"MIT"
] | null | null | null | json2oraparser/MetadataController/__init__.py | ntpythondev/testpypi2019 | e9b767d4353e09861a6f7408613bb18bdbd4df04 | [
"MIT"
] | null | null | null | from MetadataList import MetadataList
| 19 | 37 | 0.894737 | 4 | 38 | 8.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
5020c49a6228a0c024e59e76628f82f6e0a56327 | 200 | py | Python | object_detection2/modeling/semantic_heads/build.py | vghost2008/wml | d0c5a1da6c228e321ae59a563e9ac84aa66266ff | [
"MIT"
] | 6 | 2019-12-10T17:18:56.000Z | 2022-03-01T01:00:35.000Z | object_detection2/modeling/semantic_heads/build.py | vghost2008/wml | d0c5a1da6c228e321ae59a563e9ac84aa66266ff | [
"MIT"
] | 2 | 2021-08-25T16:16:01.000Z | 2022-02-10T05:21:19.000Z | object_detection2/modeling/semantic_heads/build.py | vghost2008/wml | d0c5a1da6c228e321ae59a563e9ac84aa66266ff | [
"MIT"
] | 2 | 2019-12-07T09:57:35.000Z | 2021-09-06T04:58:10.000Z | from thirdparty.registry import Registry
SEMANTIC_HEAD = Registry("SEMANTIC_HEAD")
def build_semantic_head(name, *args, **kwargs):
head = SEMANTIC_HEAD.get(name)(*args, **kwargs)
return head | 28.571429 | 51 | 0.75 | 26 | 200 | 5.576923 | 0.5 | 0.331034 | 0.275862 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13 | 200 | 7 | 52 | 28.571429 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.064677 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
505bd841d2e43ba264420c986298e2a2ce68b49e | 127 | py | Python | ffmpeg_db/all.py | audo-ai/ffmpeg-db | 1f82aaf366950a9d5f9b086503ce1976a47456c4 | [
"MIT"
] | null | null | null | ffmpeg_db/all.py | audo-ai/ffmpeg-db | 1f82aaf366950a9d5f9b086503ce1976a47456c4 | [
"MIT"
] | null | null | null | ffmpeg_db/all.py | audo-ai/ffmpeg-db | 1f82aaf366950a9d5f9b086503ce1976a47456c4 | [
"MIT"
] | null | null | null | from ffmpeg_db import ext_to_codecs_json, codec_info_json
ext_to_codecs = ext_to_codecs_json()
codec_info = codec_info_json()
| 25.4 | 57 | 0.850394 | 23 | 127 | 4.086957 | 0.434783 | 0.159574 | 0.351064 | 0.319149 | 0.510638 | 0.510638 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094488 | 127 | 4 | 58 | 31.75 | 0.817391 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
aca5b9b4c5b6609d4273b8f280502b447ceff4be | 645 | py | Python | pyplumio/helpers/product_info.py | denpamusic/PyPlumIO | 16e8049977cbfbb1bd6c830beb751e65ee270295 | [
"MIT"
] | 1 | 2022-03-24T21:44:59.000Z | 2022-03-24T21:44:59.000Z | pyplumio/helpers/product_info.py | denpamusic/PyPlumIO | 16e8049977cbfbb1bd6c830beb751e65ee270295 | [
"MIT"
] | null | null | null | pyplumio/helpers/product_info.py | denpamusic/PyPlumIO | 16e8049977cbfbb1bd6c830beb751e65ee270295 | [
"MIT"
] | null | null | null | """Contains product info representation."""
from dataclasses import dataclass
from typing import Optional
@dataclass
class ProductInfo:
"""Represents product info provided by UID response."""
type: int = 0
product: int = 0
uid: Optional[str] = None
logo: int = 0
image: int = 0
model: Opt... | 22.241379 | 59 | 0.682171 | 79 | 645 | 5.493671 | 0.443038 | 0.202765 | 0.276498 | 0.241935 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007921 | 0.217054 | 645 | 28 | 60 | 23.035714 | 0.851485 | 0.187597 | 0 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.111111 | 0 | 0.888889 | 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 | 1 | 0 | 0 | 5 |
acaf28016be03c5e7ffa364036452c6688cdf3c2 | 109 | py | Python | supermoto/helpers.py | vivainio/supermoto | 7cc4c15df960dcc4182295c7407428a67e8c0dff | [
"MIT"
] | 1 | 2021-04-21T12:36:24.000Z | 2021-04-21T12:36:24.000Z | supermoto/helpers.py | vivainio/supermoto | 7cc4c15df960dcc4182295c7407428a67e8c0dff | [
"MIT"
] | null | null | null | supermoto/helpers.py | vivainio/supermoto | 7cc4c15df960dcc4182295c7407428a67e8c0dff | [
"MIT"
] | null | null | null | def generate_instance_identity_document(instance):
return {
"instanceId": instance.id,
}
| 21.8 | 51 | 0.66055 | 10 | 109 | 6.9 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.247706 | 109 | 4 | 52 | 27.25 | 0.841463 | 0 | 0 | 0 | 1 | 0 | 0.095238 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.25 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
acbf70c418a55d1dc799f1c9e90ddd65d1ea35e6 | 980 | py | Python | fbgemm_gpu/fbgemm_gpu/split_embedding_codegen_lookup_invokers.py | garroud/FBGEMM | a0c9ea3bbcbd8516ff6a9124d11c47267c714abc | [
"BSD-3-Clause"
] | 792 | 2018-10-30T22:04:06.000Z | 2022-03-31T10:56:18.000Z | fbgemm_gpu/fbgemm_gpu/split_embedding_codegen_lookup_invokers.py | garroud/FBGEMM | a0c9ea3bbcbd8516ff6a9124d11c47267c714abc | [
"BSD-3-Clause"
] | 922 | 2018-11-05T07:03:04.000Z | 2022-03-31T20:02:30.000Z | fbgemm_gpu/fbgemm_gpu/split_embedding_codegen_lookup_invokers.py | garroud/FBGEMM | a0c9ea3bbcbd8516ff6a9124d11c47267c714abc | [
"BSD-3-Clause"
] | 255 | 2018-10-30T22:04:24.000Z | 2022-03-31T17:42:28.000Z | #!/usr/bin/env python3
# Copyright (c) Facebook, Inc. and its affiliates.
# All rights reserved.
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.
import python.lookup_adagrad as lookup_adagrad # noqa: F401
import python.lookup_adam as l... | 51.578947 | 90 | 0.818367 | 154 | 980 | 4.948052 | 0.298701 | 0.173228 | 0.259843 | 0.262467 | 0.468504 | 0.434383 | 0.209974 | 0 | 0 | 0 | 0 | 0.039906 | 0.130612 | 980 | 18 | 91 | 54.444444 | 0.85446 | 0.344898 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
acf5c268298d28cf3e7bda6752a5c789b04aadc1 | 130 | py | Python | nso_jsonrpc_requester/__init__.py | btr1975/nso_jsonrpc_requester | 63362045b998e1b7a2235804c55da151b781c0bd | [
"MIT"
] | null | null | null | nso_jsonrpc_requester/__init__.py | btr1975/nso_jsonrpc_requester | 63362045b998e1b7a2235804c55da151b781c0bd | [
"MIT"
] | null | null | null | nso_jsonrpc_requester/__init__.py | btr1975/nso_jsonrpc_requester | 63362045b998e1b7a2235804c55da151b781c0bd | [
"MIT"
] | null | null | null | """
This exports the main Classes to use NSO JSON-RPC
"""
from .config import NsoJsonRpcConfig
from .comet import NsoJsonRpcComet
| 21.666667 | 49 | 0.784615 | 18 | 130 | 5.666667 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146154 | 130 | 5 | 50 | 26 | 0.918919 | 0.376923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
4a12d152b952cca441858cf920ad0cddd658aee5 | 75 | py | Python | ultimatetictactoe/game/__init__.py | stoimenoff/ultimate-tic-tac-tie | 1d6980dcf51c020edef5edd2a1772cd96c003fd0 | [
"MIT"
] | 4 | 2016-11-02T19:00:29.000Z | 2019-12-05T10:38:20.000Z | ultimatetictactoe/game/__init__.py | stoimenoff/ultimate-tic-tac-tie | 1d6980dcf51c020edef5edd2a1772cd96c003fd0 | [
"MIT"
] | null | null | null | ultimatetictactoe/game/__init__.py | stoimenoff/ultimate-tic-tac-tie | 1d6980dcf51c020edef5edd2a1772cd96c003fd0 | [
"MIT"
] | 3 | 2016-05-26T17:38:57.000Z | 2019-05-05T17:29:29.000Z | from . import boards
from . import players
__all__ = ['boards', 'players']
| 18.75 | 31 | 0.706667 | 9 | 75 | 5.444444 | 0.555556 | 0.408163 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 75 | 3 | 32 | 25 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0.173333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
4a17b4e4e3feecbed6ebdd61d39feab3bfc5a0dc | 233 | py | Python | Python/code case/code case 220.py | amazing-2020/pdf | 8cd3f5f510a1c1ed89b51b1354f4f8c000c5b24d | [
"Apache-2.0"
] | 3 | 2021-01-01T13:08:24.000Z | 2021-02-03T09:27:56.000Z | Python/code case/code case 220.py | amazing-2020/pdf | 8cd3f5f510a1c1ed89b51b1354f4f8c000c5b24d | [
"Apache-2.0"
] | null | null | null | Python/code case/code case 220.py | amazing-2020/pdf | 8cd3f5f510a1c1ed89b51b1354f4f8c000c5b24d | [
"Apache-2.0"
] | null | null | null | for i in range(1, 5):
print(" "*(4-i), end="")
for j in range(1, 2*i):
print("*", end="")
print()
for i in range(1, 4):
print(" "*(i), end="")
for j in range(7-2*i):
print("*", end="")
print()
| 21.181818 | 28 | 0.424893 | 39 | 233 | 2.538462 | 0.307692 | 0.282828 | 0.242424 | 0.222222 | 0.848485 | 0.30303 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 0.304721 | 233 | 10 | 29 | 23.3 | 0.555556 | 0 | 0 | 0.4 | 0 | 0 | 0.017167 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.6 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 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 | 0 | 0 | 0 | 1 | 0 | 5 |
4a181452ac41a30ad622005bf73d418e82777492 | 56 | py | Python | pyit/lint.py | ysv/pyit | 681535dd162613ee4ab8bb55216f0770e596f82e | [
"MIT"
] | null | null | null | pyit/lint.py | ysv/pyit | 681535dd162613ee4ab8bb55216f0770e596f82e | [
"MIT"
] | null | null | null | pyit/lint.py | ysv/pyit | 681535dd162613ee4ab8bb55216f0770e596f82e | [
"MIT"
] | null | null | null | class Lint:
def __init__(self, file):
pass
| 11.2 | 29 | 0.571429 | 7 | 56 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.339286 | 56 | 4 | 30 | 14 | 0.756757 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
c59f089bbe50da5ddddb4edf7c3fa0b371866c21 | 485 | py | Python | hocort/pipelines/__init__.py | ignasrum/hocort | 5bf137ecaf8816cc8d951bb5168588eb87811097 | [
"MIT"
] | null | null | null | hocort/pipelines/__init__.py | ignasrum/hocort | 5bf137ecaf8816cc8d951bb5168588eb87811097 | [
"MIT"
] | null | null | null | hocort/pipelines/__init__.py | ignasrum/hocort | 5bf137ecaf8816cc8d951bb5168588eb87811097 | [
"MIT"
] | null | null | null | from hocort.pipelines.bowtie2 import Bowtie2
from hocort.pipelines.bowtie2_hisat2 import Bowtie2HISAT2
from hocort.pipelines.bowtie2_bowtie2 import Bowtie2Bowtie2
from hocort.pipelines.bwa_mem2 import BWA_MEM2
from hocort.pipelines.hisat2 import HISAT2
from hocort.pipelines.minimap2 import Minimap2
from hocort.pipeline... | 44.090909 | 59 | 0.876289 | 65 | 485 | 6.461538 | 0.230769 | 0.238095 | 0.452381 | 0.185714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.049438 | 0.082474 | 485 | 10 | 60 | 48.5 | 0.894382 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
a860e4256354323882c2f18267d7068e9cf50126 | 3,844 | py | Python | tank/lod.py | woailuoli993/ksxingtest | 09d861d076a1ff03152e27f5fb29e5c90144d0d1 | [
"WTFPL"
] | null | null | null | tank/lod.py | woailuoli993/ksxingtest | 09d861d076a1ff03152e27f5fb29e5c90144d0d1 | [
"WTFPL"
] | 2 | 2021-03-31T18:39:09.000Z | 2021-12-13T19:44:48.000Z | tank/lod.py | woailuoli993/ksxingtest | 09d861d076a1ff03152e27f5fb29e5c90144d0d1 | [
"WTFPL"
] | null | null | null | # -*- coding: utf-8 -*-
from copy import deepcopy
directions = {
0: (1, 0),
1: (-1, 0),
2: (0, 1),
3: (0, -1)
}
OBSTACLE = '1'
game_map = [["1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1"], ["1", "2", "2", "2", "0", "0", "0", "0", "0", "0", "0", "0", "0"... | 45.223529 | 1,854 | 0.365765 | 651 | 3,844 | 2.050691 | 0.096774 | 0.221723 | 0.260674 | 0.257678 | 0.33633 | 0.33633 | 0.33633 | 0.331835 | 0.331835 | 0.330337 | 0 | 0.145878 | 0.274194 | 3,844 | 84 | 1,855 | 45.761905 | 0.332616 | 0.005463 | 0 | 0.129032 | 0 | 0 | 0.097931 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.064516 | false | 0 | 0.016129 | 0.032258 | 0.16129 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
a883eeace941bee2dafdf97296d509d2d2904de1 | 131 | py | Python | autox/__init__.py | OneToolsCollection/4paradigm-AutoX | f8e838021354de17f5bb9bc44e9d68d12dda6427 | [
"Apache-2.0"
] | null | null | null | autox/__init__.py | OneToolsCollection/4paradigm-AutoX | f8e838021354de17f5bb9bc44e9d68d12dda6427 | [
"Apache-2.0"
] | null | null | null | autox/__init__.py | OneToolsCollection/4paradigm-AutoX | f8e838021354de17f5bb9bc44e9d68d12dda6427 | [
"Apache-2.0"
] | null | null | null | from .autox import AutoX
from .autots import AutoTS
from .autoxserver import AutoXServer
from .autoxrecommend import AutoXRecommend | 32.75 | 42 | 0.854962 | 16 | 131 | 7 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114504 | 131 | 4 | 42 | 32.75 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
a8840f6f56ecaa2fb24725f1ebcf4f57895fb9a9 | 56 | py | Python | DataLoader/__init__.py | Rawan19/HMNet | 2aa8de20558412c1adb15fac69f18f50d6f59227 | [
"MIT"
] | 49 | 2021-01-04T22:39:19.000Z | 2022-03-19T13:08:30.000Z | DataLoader/__init__.py | Rawan19/HMNet | 2aa8de20558412c1adb15fac69f18f50d6f59227 | [
"MIT"
] | 7 | 2021-03-02T18:25:11.000Z | 2022-02-01T16:27:36.000Z | DataLoader/__init__.py | Rawan19/HMNet | 2aa8de20558412c1adb15fac69f18f50d6f59227 | [
"MIT"
] | 19 | 2021-03-07T17:28:19.000Z | 2021-12-16T02:14:41.000Z | from .infinibatch.infinibatch import datasets, iterators | 56 | 56 | 0.875 | 6 | 56 | 8.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 56 | 1 | 56 | 56 | 0.942308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
a898144f284de14d0f4f6ce9285e7d86235966c2 | 12,828 | py | Python | esper/controllers/pipeline/pipeline.py | pallavigopi/esper-cli | 83c3536088031fd6a9e5e6e7ae8f18e3e82eeb78 | [
"Apache-2.0"
] | 7 | 2019-05-17T06:56:37.000Z | 2022-03-18T16:54:48.000Z | esper/controllers/pipeline/pipeline.py | pallavigopi/esper-cli | 83c3536088031fd6a9e5e6e7ae8f18e3e82eeb78 | [
"Apache-2.0"
] | 5 | 2019-07-29T17:55:33.000Z | 2022-01-19T02:01:45.000Z | esper/controllers/pipeline/pipeline.py | pallavigopi/esper-cli | 83c3536088031fd6a9e5e6e7ae8f18e3e82eeb78 | [
"Apache-2.0"
] | 9 | 2019-08-22T06:15:39.000Z | 2021-10-04T09:08:50.000Z | from enum import Enum
from cement import Controller, ex
from clint.textui import prompt
from esper.controllers.enums import OutputFormat
from esper.ext.db_wrapper import DBWrapper
from esper.ext.pipeline_api import get_pipeline_url, create_pipeline, edit_pipeline, list_pipelines, fetch_pipelines, \
APIException, ... | 37.290698 | 119 | 0.558154 | 1,382 | 12,828 | 5.044863 | 0.130246 | 0.054217 | 0.038726 | 0.03012 | 0.759036 | 0.742111 | 0.742111 | 0.742111 | 0.733505 | 0.733505 | 0 | 0.004263 | 0.323355 | 12,828 | 343 | 120 | 37.399417 | 0.798963 | 0.02666 | 0 | 0.684783 | 0 | 0 | 0.232724 | 0.018599 | 0 | 0 | 0 | 0 | 0 | 1 | 0.014493 | false | 0 | 0.025362 | 0 | 0.097826 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
76cd33be6c5289cc2fbdf6a08e5b4c8248721d92 | 82 | py | Python | catalyst/dl/runner/__init__.py | balakhonoff/catalyst | 82d904aee97045efbaef3963e36c2ce5173ddac4 | [
"Apache-2.0"
] | null | null | null | catalyst/dl/runner/__init__.py | balakhonoff/catalyst | 82d904aee97045efbaef3963e36c2ce5173ddac4 | [
"Apache-2.0"
] | null | null | null | catalyst/dl/runner/__init__.py | balakhonoff/catalyst | 82d904aee97045efbaef3963e36c2ce5173ddac4 | [
"Apache-2.0"
] | null | null | null | # flake8: noqa
from .core import Runner
from .supervised import SupervisedRunner
| 16.4 | 40 | 0.804878 | 10 | 82 | 6.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014286 | 0.146341 | 82 | 4 | 41 | 20.5 | 0.928571 | 0.146341 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
4f123b04430dbf91bf451681c11ad723e6e3b437 | 155 | py | Python | utils/testoval.py | justchris1/scap-security-guide | 030097afa80041fcdffc537a49c09896efedadca | [
"BSD-3-Clause"
] | 1 | 2021-09-24T07:49:08.000Z | 2021-09-24T07:49:08.000Z | utils/testoval.py | justchris1/scap-security-guide | 030097afa80041fcdffc537a49c09896efedadca | [
"BSD-3-Clause"
] | 5 | 2019-05-30T15:47:50.000Z | 2020-09-14T11:00:22.000Z | utils/testoval.py | justchris1/scap-security-guide | 030097afa80041fcdffc537a49c09896efedadca | [
"BSD-3-Clause"
] | 1 | 2019-01-24T18:08:45.000Z | 2019-01-24T18:08:45.000Z | #!/usr/bin/env python
import sys
import os
import ssg.oval
# always use shared/testoval_module.py version
if __name__ == "__main__":
ssg.oval.main()
| 15.5 | 46 | 0.729032 | 24 | 155 | 4.333333 | 0.791667 | 0.134615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154839 | 155 | 9 | 47 | 17.222222 | 0.793893 | 0.419355 | 0 | 0 | 0 | 0 | 0.090909 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
4f21001becfd9476ad6b20a4c27f4f5c7622f70a | 92 | py | Python | src/setup.py | SandroWissmann/Bricks-Py | 640140f9fd4a947b175a090563113108cc047f89 | [
"MIT"
] | null | null | null | src/setup.py | SandroWissmann/Bricks-Py | 640140f9fd4a947b175a090563113108cc047f89 | [
"MIT"
] | null | null | null | src/setup.py | SandroWissmann/Bricks-Py | 640140f9fd4a947b175a090563113108cc047f89 | [
"MIT"
] | null | null | null | from setuptools import setup, find_packages
setup(name="bricks", packages=find_packages())
| 23 | 46 | 0.804348 | 12 | 92 | 6 | 0.666667 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 92 | 3 | 47 | 30.666667 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0.065217 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
4f38bfe2ab7f45e8e4286ad4df5e57ffefe56884 | 213 | py | Python | mnemon/services/scheduler.py | papagr/mnemon | e51787cea3d0d1a2d5e6b8b02211c2335ff73a11 | [
"BSD-3-Clause"
] | 1 | 2020-11-22T20:38:46.000Z | 2020-11-22T20:38:46.000Z | mnemon/services/scheduler.py | papagr/mnemon | e51787cea3d0d1a2d5e6b8b02211c2335ff73a11 | [
"BSD-3-Clause"
] | null | null | null | mnemon/services/scheduler.py | papagr/mnemon | e51787cea3d0d1a2d5e6b8b02211c2335ff73a11 | [
"BSD-3-Clause"
] | null | null | null | import atexit # @UnresolvedImport
from apscheduler.scheduler import Scheduler
def init_scheduler():
scheduler = Scheduler()
atexit.register(lambda: scheduler.shutdown(wait=False))
return scheduler
| 21.3 | 59 | 0.765258 | 22 | 213 | 7.363636 | 0.636364 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15493 | 213 | 9 | 60 | 23.666667 | 0.9 | 0.079812 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
4f3c4164ca14ecff093688ade0a2d250a2375849 | 92 | py | Python | enthought/mayavi/core/lut_manager.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 3 | 2016-12-09T06:05:18.000Z | 2018-03-01T13:00:29.000Z | enthought/mayavi/core/lut_manager.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 1 | 2020-12-02T00:51:32.000Z | 2020-12-02T08:48:55.000Z | enthought/mayavi/core/lut_manager.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | null | null | null | # proxy module
from __future__ import absolute_import
from mayavi.core.lut_manager import *
| 23 | 38 | 0.836957 | 13 | 92 | 5.461538 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119565 | 92 | 3 | 39 | 30.666667 | 0.876543 | 0.130435 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
4f513992950c9270a6faf28c644444263538c6d6 | 116 | py | Python | ckanpackager/lib/utils.py | NaturalHistoryMuseum/ckanpackager | 7c2172b966fd0b5e0b2933c8c7af66355472de00 | [
"CC-BY-4.0"
] | 7 | 2015-11-11T02:21:07.000Z | 2020-11-12T00:38:33.000Z | ckanpackager/lib/utils.py | NaturalHistoryMuseum/ckanpackager | 7c2172b966fd0b5e0b2933c8c7af66355472de00 | [
"CC-BY-4.0"
] | 36 | 2015-01-12T12:43:13.000Z | 2021-12-13T19:41:02.000Z | ckanpackager/lib/utils.py | NaturalHistoryMuseum/ckanpackager | 7c2172b966fd0b5e0b2933c8c7af66355472de00 | [
"CC-BY-4.0"
] | 3 | 2018-09-10T23:49:11.000Z | 2021-09-08T19:42:51.000Z | """General utilities"""
class BadRequestError(Exception):
pass
class NotAuthorizedError(Exception):
pass | 12.888889 | 36 | 0.732759 | 10 | 116 | 8.5 | 0.7 | 0.305882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163793 | 116 | 9 | 37 | 12.888889 | 0.876289 | 0.146552 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
4f8c6647fdbbbd8aaa3b35f4d168ce49af6908e4 | 44 | py | Python | elfrewriter/errors.py | enthought/elfrewriter | 7e2339fc21a045adbfd70c48900e6d29f4858062 | [
"BSD-3-Clause"
] | 1 | 2016-05-07T18:05:55.000Z | 2016-05-07T18:05:55.000Z | elfrewriter/errors.py | enthought/elfrewriter | 7e2339fc21a045adbfd70c48900e6d29f4858062 | [
"BSD-3-Clause"
] | null | null | null | elfrewriter/errors.py | enthought/elfrewriter | 7e2339fc21a045adbfd70c48900e6d29f4858062 | [
"BSD-3-Clause"
] | 1 | 2015-04-14T10:04:44.000Z | 2015-04-14T10:04:44.000Z | class ELFRewriterError(Exception):
pass
| 14.666667 | 34 | 0.772727 | 4 | 44 | 8.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159091 | 44 | 2 | 35 | 22 | 0.918919 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
96f502644d04025c059702b1cfa7363d6b4ccbce | 3,994 | py | Python | exercises/practice/dot-dsl/dot_dsl_test.py | Stigjb/python | cfb620d1603eb9b08511f96f00f872c67cac0d05 | [
"MIT"
] | 1,177 | 2017-06-21T20:24:06.000Z | 2022-03-29T02:30:55.000Z | exercises/practice/dot-dsl/dot_dsl_test.py | Stigjb/python | cfb620d1603eb9b08511f96f00f872c67cac0d05 | [
"MIT"
] | 1,890 | 2017-06-18T20:06:10.000Z | 2022-03-31T18:35:51.000Z | exercises/practice/dot-dsl/dot_dsl_test.py | Stigjb/python | cfb620d1603eb9b08511f96f00f872c67cac0d05 | [
"MIT"
] | 1,095 | 2017-06-26T23:06:19.000Z | 2022-03-29T03:25:38.000Z | import unittest
from dot_dsl import Graph, Node, Edge, NODE, EDGE, ATTR
class DotDslTest(unittest.TestCase):
def test_empty_graph(self):
g = Graph()
self.assertEqual(g.nodes, [])
self.assertEqual(g.edges, [])
self.assertEqual(g.attrs, {})
def test_graph_with_one_node(self):
... | 32.737705 | 73 | 0.544316 | 440 | 3,994 | 4.856818 | 0.134091 | 0.238652 | 0.134768 | 0.082358 | 0.820777 | 0.770239 | 0.72204 | 0.678521 | 0.489939 | 0.471221 | 0 | 0.008809 | 0.289434 | 3,994 | 121 | 74 | 33.008264 | 0.744186 | 0 | 0 | 0.431579 | 0 | 0 | 0.081873 | 0 | 0 | 0 | 0 | 0 | 0.442105 | 1 | 0.126316 | false | 0 | 0.021053 | 0 | 0.157895 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
8c04498aa5a93bda3ce01b0171cdb285f063a073 | 159 | py | Python | spambayes/scripts/sb_chkopts.py | alexeip0/spambayes | 0c7d12cf4702ef82974ab16d2a36fa9ccedf185a | [
"PSF-2.0"
] | 13 | 2015-07-03T06:53:47.000Z | 2021-02-19T13:21:56.000Z | spambayes/scripts/sb_chkopts.py | alexeip0/spambayes | 0c7d12cf4702ef82974ab16d2a36fa9ccedf185a | [
"PSF-2.0"
] | 5 | 2015-07-16T07:33:46.000Z | 2021-04-05T20:27:52.000Z | spambayes/scripts/sb_chkopts.py | alexeip0/spambayes | 0c7d12cf4702ef82974ab16d2a36fa9ccedf185a | [
"PSF-2.0"
] | 20 | 2015-05-16T22:42:14.000Z | 2021-09-18T17:46:40.000Z | #!/usr/bin/env python
"""
Trivial script to check that the user's options file doesn't contain any
old-style option names.
"""
from spambayes import Options
| 17.666667 | 72 | 0.748428 | 26 | 159 | 4.576923 | 0.961538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157233 | 159 | 8 | 73 | 19.875 | 0.88806 | 0.735849 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
8c123afd00f33c6d0adba1c564465da2226cd2e8 | 3,691 | py | Python | macholib_tests/test_framework.py | pombredanne/bitbucket.org-pombredanne-macholib | 7be0501117777714ab27464d62c580fdff06b016 | [
"MIT"
] | 3 | 2015-06-05T00:32:44.000Z | 2017-01-06T15:44:32.000Z | macholib_tests/test_framework.py | pombredanne/bitbucket.org-pombredanne-macholib | 7be0501117777714ab27464d62c580fdff06b016 | [
"MIT"
] | null | null | null | macholib_tests/test_framework.py | pombredanne/bitbucket.org-pombredanne-macholib | 7be0501117777714ab27464d62c580fdff06b016 | [
"MIT"
] | null | null | null | from macholib import framework
import sys
if sys.version_info[:2] <= (2,6):
import unittest2 as unittest
else:
import unittest
class TestFramework (unittest.TestCase):
def test_framework(self):
self.assertEqual(
framework.framework_info('Location/Name.framework/Versions/SomeVersio... | 41.47191 | 147 | 0.55405 | 350 | 3,691 | 5.725714 | 0.134286 | 0.134731 | 0.215569 | 0.296407 | 0.818363 | 0.737026 | 0.723553 | 0.614271 | 0.58982 | 0.447106 | 0 | 0.001611 | 0.327283 | 3,691 | 88 | 148 | 41.943182 | 0.805477 | 0.00867 | 0 | 0.419753 | 0 | 0 | 0.2379 | 0.175827 | 0 | 0 | 0 | 0 | 0.222222 | 1 | 0.037037 | false | 0 | 0.049383 | 0.012346 | 0.111111 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
8c2dc7ad58ccf127100980700ae8b847c5bab2d2 | 39 | py | Python | oscar/lib/python2.7/site-packages/isort/__main__.py | sainjusajan/django-oscar | 466e8edc807be689b0a28c9e525c8323cc48b8e1 | [
"BSD-3-Clause"
] | null | null | null | oscar/lib/python2.7/site-packages/isort/__main__.py | sainjusajan/django-oscar | 466e8edc807be689b0a28c9e525c8323cc48b8e1 | [
"BSD-3-Clause"
] | null | null | null | oscar/lib/python2.7/site-packages/isort/__main__.py | sainjusajan/django-oscar | 466e8edc807be689b0a28c9e525c8323cc48b8e1 | [
"BSD-3-Clause"
] | null | null | null | from isort.main import main
main()
| 9.75 | 28 | 0.692308 | 6 | 39 | 4.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 39 | 3 | 29 | 13 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
8c46355bb0a216aea63e0df7d138748af595ef6d | 254 | py | Python | sleepi/exceptions.py | brianlich/sleepi | 08ad5f9b08afa8a8c844a6b4fa3208ba766e079c | [
"MIT"
] | null | null | null | sleepi/exceptions.py | brianlich/sleepi | 08ad5f9b08afa8a8c844a6b4fa3208ba766e079c | [
"MIT"
] | null | null | null | sleepi/exceptions.py | brianlich/sleepi | 08ad5f9b08afa8a8c844a6b4fa3208ba766e079c | [
"MIT"
] | null | null | null |
"""Exceptions for Sleepi."""
class SleepiError(Exception):
"""Generic Sleepi exception."""
class SleepiConnectionError(SleepiError):
"""Sleepi connection exception."""
class SleepiGenericError(Exception):
"""Generic Sleepi exception.""" | 19.538462 | 41 | 0.716535 | 21 | 254 | 8.666667 | 0.47619 | 0.175824 | 0.241758 | 0.340659 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137795 | 254 | 13 | 42 | 19.538462 | 0.83105 | 0.405512 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
8c5dbe1007cce325bfce78bf198b272b9794be29 | 11,765 | py | Python | competitor/synth-action-seq/models/german/actions.py | ppnaumann/CSCF | ea8af1f2fdec3a90a041324a32893d5dadc7e14b | [
"MIT"
] | null | null | null | competitor/synth-action-seq/models/german/actions.py | ppnaumann/CSCF | ea8af1f2fdec3a90a041324a32893d5dadc7e14b | [
"MIT"
] | null | null | null | competitor/synth-action-seq/models/german/actions.py | ppnaumann/CSCF | ea8af1f2fdec3a90a041324a32893d5dadc7e14b | [
"MIT"
] | null | null | null | import tensorflow.compat.v1 as tf
tf.disable_v2_behavior()
import numpy as np
from actions.action import Action
import actions.condition_ops as cond
# WaitYears
class WaitYears(Action):
def __init__(self, features):
super().__init__(name='WaitYears',
description='Wait x amount of ... | 50.06383 | 100 | 0.570166 | 1,287 | 11,765 | 4.871795 | 0.090909 | 0.134928 | 0.105742 | 0.063796 | 0.830303 | 0.805423 | 0.775279 | 0.749761 | 0.667305 | 0.619139 | 0 | 0.01266 | 0.335317 | 11,765 | 234 | 101 | 50.277778 | 0.78913 | 0.005695 | 0 | 0.547368 | 0 | 0 | 0.072864 | 0.006158 | 0 | 0 | 0 | 0 | 0 | 1 | 0.157895 | false | 0 | 0.021053 | 0.047368 | 0.336842 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
4fcd93fe2858e15428cefc08dd1561a7d0968c48 | 2,114 | py | Python | src/pyrin/api/schema/manager.py | wilsonGmn/pyrin | 25dbe3ce17e80a43eee7cfc7140b4c268a6948e0 | [
"BSD-3-Clause"
] | null | null | null | src/pyrin/api/schema/manager.py | wilsonGmn/pyrin | 25dbe3ce17e80a43eee7cfc7140b4c268a6948e0 | [
"BSD-3-Clause"
] | null | null | null | src/pyrin/api/schema/manager.py | wilsonGmn/pyrin | 25dbe3ce17e80a43eee7cfc7140b4c268a6948e0 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
"""
schema manager module.
"""
import pyrin.converters.serializer.services as serializer_services
from pyrin.api.schema import SchemaPackage
from pyrin.core.structs import Manager
class SchemaManager(Manager):
"""
schema manager class.
"""
package_class = SchemaPackage
... | 31.088235 | 84 | 0.667928 | 261 | 2,114 | 5.283525 | 0.275862 | 0.139231 | 0.078318 | 0.04641 | 0.719362 | 0.719362 | 0.719362 | 0.719362 | 0.719362 | 0.719362 | 0 | 0.00064 | 0.261116 | 2,114 | 67 | 85 | 31.552239 | 0.882202 | 0.425733 | 0 | 0.608696 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.086957 | false | 0 | 0.130435 | 0 | 0.565217 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
4fe774254238dc20abba9ad9fe2e540c5e04f63b | 128 | py | Python | scriptcore/console/asciimatics/widgets/divider.py | LowieHuyghe/scriptcore | 0c9d94b353d4d149db9492eb4ae0aa87cc1e082c | [
"Apache-2.0"
] | null | null | null | scriptcore/console/asciimatics/widgets/divider.py | LowieHuyghe/scriptcore | 0c9d94b353d4d149db9492eb4ae0aa87cc1e082c | [
"Apache-2.0"
] | 6 | 2017-02-23T13:22:31.000Z | 2018-07-06T04:51:06.000Z | scriptcore/console/asciimatics/widgets/divider.py | LowieHuyghe/scriptcore | 0c9d94b353d4d149db9492eb4ae0aa87cc1e082c | [
"Apache-2.0"
] | null | null | null |
from __future__ import absolute_import
from asciimatics.widgets import Divider as ADivider
class Divider(ADivider):
pass
| 16 | 51 | 0.8125 | 16 | 128 | 6.1875 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 128 | 7 | 52 | 18.285714 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 5 |
4ff75793b340ae2ce10d1b844b88e55c50e19602 | 138 | py | Python | BitManipulation/PowerOfThree.py | PK-100/Competitive_Programming | d0863feaaa99462b2999e85dcf115f7a6c08bb8d | [
"MIT"
] | 70 | 2018-06-25T21:20:15.000Z | 2022-03-24T03:55:17.000Z | BitManipulation/PowerOfThree.py | An3sha/Competitive_Programming | ee7eadf51939a360d0b004d787ebabda583e92f0 | [
"MIT"
] | 4 | 2018-09-04T13:12:20.000Z | 2021-06-20T08:29:12.000Z | BitManipulation/PowerOfThree.py | An3sha/Competitive_Programming | ee7eadf51939a360d0b004d787ebabda583e92f0 | [
"MIT"
] | 24 | 2018-12-26T05:15:32.000Z | 2022-01-23T23:04:54.000Z | threePow19 = 1162261467 # 3**19
class Solution:
def isPowerOfThree(self, n: int) -> bool:
return n>0 and not (threePow19 % n)
| 27.6 | 45 | 0.652174 | 19 | 138 | 4.736842 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169811 | 0.231884 | 138 | 4 | 46 | 34.5 | 0.679245 | 0.036232 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.25 | 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 | 1 | 1 | 0 | 0 | 5 |
8c9017a4b03aa970db7b5209c4b8e27ba9fe065d | 20,230 | py | Python | airavata/model/application/io/ttypes.py | isururanawaka/airavata-django-portal | 5be3f3eeb6c42fabd0aca6f92821a5629ac1b3cc | [
"Apache-2.0"
] | null | null | null | airavata/model/application/io/ttypes.py | isururanawaka/airavata-django-portal | 5be3f3eeb6c42fabd0aca6f92821a5629ac1b3cc | [
"Apache-2.0"
] | null | null | null | airavata/model/application/io/ttypes.py | isururanawaka/airavata-django-portal | 5be3f3eeb6c42fabd0aca6f92821a5629ac1b3cc | [
"Apache-2.0"
] | null | null | null | #
# Autogenerated by Thrift Compiler (0.10.0)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
# options string: py
#
from thrift.Thrift import TType, TMessageType, TFrozenDict, TException, TApplicationException
from thrift.protocol.TProtocol import TProtocolException
import sys
import airavata.... | 40.541082 | 276 | 0.579881 | 2,100 | 20,230 | 5.511429 | 0.09619 | 0.031104 | 0.025661 | 0.041991 | 0.777259 | 0.711595 | 0.704942 | 0.690081 | 0.674702 | 0.674702 | 0 | 0.019958 | 0.316411 | 20,230 | 498 | 277 | 40.62249 | 0.816979 | 0.09916 | 0 | 0.710526 | 1 | 0 | 0.055983 | 0.008819 | 0 | 0 | 0 | 0 | 0 | 1 | 0.036842 | false | 0 | 0.013158 | 0.010526 | 0.118421 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
8cb39f1bba1b86c648fc1db090c2f4c4e9f06277 | 159 | py | Python | emat/model/core_files/__init__.py | tlumip/tmip-emat | 55cca13e004a2844bef1f6afd09338852c61e1f1 | [
"BSD-3-Clause"
] | null | null | null | emat/model/core_files/__init__.py | tlumip/tmip-emat | 55cca13e004a2844bef1f6afd09338852c61e1f1 | [
"BSD-3-Clause"
] | null | null | null | emat/model/core_files/__init__.py | tlumip/tmip-emat | 55cca13e004a2844bef1f6afd09338852c61e1f1 | [
"BSD-3-Clause"
] | null | null | null |
from .core_files import FilesCoreModel
from .gbnrtc_model import GBNRTCModel
from .ODOT_model import ODOTModel
from .parsers import TableParser, FileParser
| 19.875 | 44 | 0.842767 | 20 | 159 | 6.55 | 0.65 | 0.167939 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125786 | 159 | 7 | 45 | 22.714286 | 0.942446 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
8cc1700c3dac79faa754808b57c172cb16991b0d | 96 | py | Python | venv/lib/python3.8/site-packages/setuptools/_vendor/packaging/_manylinux.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/setuptools/_vendor/packaging/_manylinux.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/setuptools/_vendor/packaging/_manylinux.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/5d/c6/e2/5c1faa723bf76dca21a7a37df1332938fe3f8f79be88e03ca6d2b61966 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.385417 | 0 | 96 | 1 | 96 | 96 | 0.510417 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
8cdccb8366221aec63076adc2979425ada9d0b78 | 98 | py | Python | __init__.py | jb262/completewasteoftime | 1a4d378e5cf077e81ee5e269c451bec5c3ea4926 | [
"MIT"
] | 6 | 2019-09-10T04:30:52.000Z | 2022-01-08T18:14:32.000Z | __init__.py | jb262/completewasteoftime | 1a4d378e5cf077e81ee5e269c451bec5c3ea4926 | [
"MIT"
] | null | null | null | __init__.py | jb262/completewasteoftime | 1a4d378e5cf077e81ee5e269c451bec5c3ea4926 | [
"MIT"
] | null | null | null | from websites.gamefaqs.model import GameFAQs
from websites.gamerankings.model import Gamerankings
| 32.666667 | 52 | 0.877551 | 12 | 98 | 7.166667 | 0.5 | 0.27907 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 98 | 2 | 53 | 49 | 0.955556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
507c65f8e7d3c0a1f7b6a86dafa1678078c7f263 | 118 | py | Python | openmdao.test/src/openmdao/test/__init__.py | mjfwest/OpenMDAO-Framework | a5521f47ad7686c25b203de74e1c7dff5fd7a52b | [
"Apache-2.0"
] | 69 | 2015-01-02T19:10:08.000Z | 2021-11-14T04:42:28.000Z | openmdao.test/src/openmdao/test/__init__.py | jcchin/OpenMDAO-Framework | 038e89b06da1c74f00918f4c6fbd8bd365e25657 | [
"Apache-2.0"
] | 3 | 2015-01-15T23:08:18.000Z | 2015-03-11T16:57:35.000Z | openmdao.test/src/openmdao/test/__init__.py | jcchin/OpenMDAO-Framework | 038e89b06da1c74f00918f4c6fbd8bd365e25657 | [
"Apache-2.0"
] | 31 | 2015-09-16T00:37:35.000Z | 2022-01-10T06:27:55.000Z | """
This package contains classes and modules that are used to test openmdao.
"""
from releaseinfo import __version__
| 23.6 | 73 | 0.788136 | 16 | 118 | 5.5625 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152542 | 118 | 4 | 74 | 29.5 | 0.89 | 0.618644 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
509754ccc3a17ae7ab1d8dc021ff2f1df1c0f606 | 3,673 | py | Python | src/super_gradients/common/decorators/deci_logger.py | Deci-AI/super-gradients | 658f638389654668a085e23c3b19622241fd9267 | [
"Apache-2.0"
] | 308 | 2021-12-30T10:14:30.000Z | 2022-03-30T19:05:31.000Z | src/super_gradients/common/decorators/deci_logger.py | karndeepsingh/super-gradients | bfed440ecaf485af183570bf965eb5b74cb9f832 | [
"Apache-2.0"
] | 24 | 2022-01-10T08:05:37.000Z | 2022-03-30T18:49:06.000Z | src/super_gradients/common/decorators/deci_logger.py | karndeepsingh/super-gradients | bfed440ecaf485af183570bf965eb5b74cb9f832 | [
"Apache-2.0"
] | 26 | 2021-12-31T06:04:07.000Z | 2022-03-21T09:51:44.000Z | def deci_func_logger(_func=None, *, name: str = 'abstract_decorator'):
"""
This decorator is used to wrap our functions with logs.
It will log every enter and exit of the functon with the equivalent parameters as extras.
It will also log exceptions that raises in the function.
It will also log the e... | 41.269663 | 122 | 0.619112 | 461 | 3,673 | 4.800434 | 0.336226 | 0.018979 | 0.018979 | 0.018979 | 0.315409 | 0.2892 | 0.2892 | 0.2892 | 0.250339 | 0.250339 | 0 | 0.005076 | 0.30275 | 3,673 | 88 | 123 | 41.738636 | 0.859039 | 0.828478 | 0 | 0 | 0 | 0 | 0.037037 | 0 | 0 | 0 | 0 | 0.022727 | 0 | 1 | 0.5 | false | 0 | 0 | 0.166667 | 1 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
50acd8893553538047b26e74753839f1be2c53fb | 131 | py | Python | abacusai/__init__.py | Ankit-RealityEngines/api-python | 3627048d31df5972c5777de2a1c1211ea06a8804 | [
"MIT"
] | null | null | null | abacusai/__init__.py | Ankit-RealityEngines/api-python | 3627048d31df5972c5777de2a1c1211ea06a8804 | [
"MIT"
] | null | null | null | abacusai/__init__.py | Ankit-RealityEngines/api-python | 3627048d31df5972c5777de2a1c1211ea06a8804 | [
"MIT"
] | null | null | null | from .client import ApiClient, ApiException, ClientOptions
from .prediction_client import PredictionClient
__version__ = "0.32.4"
| 26.2 | 58 | 0.824427 | 15 | 131 | 6.866667 | 0.8 | 0.23301 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034188 | 0.10687 | 131 | 4 | 59 | 32.75 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0.045802 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
0fa2905d652a2bd480bcb6b8c90043b98870a186 | 270 | py | Python | pyxplr/__init__.py | UBC-MDS/pyxplr | 7e0d94316bce7b3ed343a6a6b5c3afce5c71afd8 | [
"MIT"
] | 1 | 2020-02-25T23:47:18.000Z | 2020-02-25T23:47:18.000Z | pyxplr/__init__.py | UBC-MDS/pyxplr | 7e0d94316bce7b3ed343a6a6b5c3afce5c71afd8 | [
"MIT"
] | 46 | 2020-02-25T23:43:52.000Z | 2020-03-27T01:24:24.000Z | pyxplr/__init__.py | UBC-MDS/pyxplr | 7e0d94316bce7b3ed343a6a6b5c3afce5c71afd8 | [
"MIT"
] | null | null | null | __version__ = '0.4.14'
from pyxplr.explore_feature_map import explore_feature_map # noqa
from pyxplr.explore_missing import explore_missing # noqa
from pyxplr.explore_summary import explore_summary # noqa
from pyxplr.explore_outliers import explore_outliers # noqa
| 38.571429 | 66 | 0.833333 | 38 | 270 | 5.552632 | 0.368421 | 0.189573 | 0.322275 | 0.298578 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016807 | 0.118519 | 270 | 6 | 67 | 45 | 0.869748 | 0.07037 | 0 | 0 | 0 | 0 | 0.02439 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
0fad4468028c1e18cdfa6ec12c739c61bccd22ad | 3,755 | py | Python | library/source1/bsp/lumps/vertex_lump.py | BlenderAddonsArchive/SourceIO | 7e29de15e7b9a3db538bcdf805547d1781fce3c9 | [
"MIT"
] | 199 | 2019-04-02T02:30:58.000Z | 2022-03-30T21:29:49.000Z | source1/bsp/lumps/vertex_lump.py | syborg64/SourceIO | e4ba86d801f518e192260af08ef533759c2e1cc3 | [
"MIT"
] | 113 | 2019-03-03T19:36:25.000Z | 2022-03-31T19:44:05.000Z | source1/bsp/lumps/vertex_lump.py | syborg64/SourceIO | e4ba86d801f518e192260af08ef533759c2e1cc3 | [
"MIT"
] | 38 | 2019-05-15T16:49:30.000Z | 2022-03-22T03:40:43.000Z | import numpy as np
from .. import Lump, lump_tag
@lump_tag(3, 'LUMP_VERTICES')
class VertexLump(Lump):
def __init__(self, bsp, lump_id):
super().__init__(bsp, lump_id)
self.vertices = np.array([])
def parse(self):
reader = self.reader
self.vertices = np.frombuffer(reader.read... | 25.896552 | 68 | 0.528628 | 444 | 3,755 | 4.204955 | 0.13964 | 0.064274 | 0.067488 | 0.102839 | 0.71398 | 0.704339 | 0.704339 | 0.704339 | 0.704339 | 0.683449 | 0 | 0.044174 | 0.300666 | 3,755 | 144 | 69 | 26.076389 | 0.666794 | 0 | 0 | 0.637931 | 0 | 0 | 0.051931 | 0.005593 | 0 | 0 | 0.006391 | 0 | 0 | 1 | 0.12069 | false | 0 | 0.017241 | 0 | 0.310345 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
0fbfa59d802bd263b050e5e86e46429a7a1996cc | 173 | py | Python | py_moysklad/entities/discounts/discount.py | upmarket-cc/py_moysklad | e026e611344c38f8a8d4f428781fcfb315aaaa60 | [
"MIT"
] | null | null | null | py_moysklad/entities/discounts/discount.py | upmarket-cc/py_moysklad | e026e611344c38f8a8d4f428781fcfb315aaaa60 | [
"MIT"
] | null | null | null | py_moysklad/entities/discounts/discount.py | upmarket-cc/py_moysklad | e026e611344c38f8a8d4f428781fcfb315aaaa60 | [
"MIT"
] | null | null | null | from typing import List
from py_moysklad.entities.meta_entity import MetaEntity
class Discount(MetaEntity):
active: bool
allAgents: bool
agentTags: List[str]
| 17.3 | 55 | 0.763006 | 22 | 173 | 5.909091 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179191 | 173 | 9 | 56 | 19.222222 | 0.915493 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
ba0a883f8c09146d1f43c4ad8326192598b99b22 | 67 | py | Python | Random-Programs/util/clear_screen.py | naumoff0/Archive | d4ad2da89abb1576dd5a7c72ded6bf9b45c3f610 | [
"MIT"
] | null | null | null | Random-Programs/util/clear_screen.py | naumoff0/Archive | d4ad2da89abb1576dd5a7c72ded6bf9b45c3f610 | [
"MIT"
] | null | null | null | Random-Programs/util/clear_screen.py | naumoff0/Archive | d4ad2da89abb1576dd5a7c72ded6bf9b45c3f610 | [
"MIT"
] | null | null | null | def clearScreen():
# emulate ctrl l
print(chr(27) + "[2J") | 22.333333 | 27 | 0.567164 | 9 | 67 | 4.222222 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06 | 0.253731 | 67 | 3 | 27 | 22.333333 | 0.7 | 0.208955 | 0 | 0 | 0 | 0 | 0.057692 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
ba1810aa58e236475f11af4d18af23439b5653cd | 19 | py | Python | cloudmesh/openapi/__version__.py | cloudmesh/cloudmesh.openapi | c866c4cbdad3adfdf3fe31591906ced8d71352ef | [
"Apache-2.0"
] | 7 | 2020-02-29T14:53:19.000Z | 2021-01-17T17:08:44.000Z | cloudmesh/openapi/__version__.py | cloudmesh/cloudmesh.openapi | c866c4cbdad3adfdf3fe31591906ced8d71352ef | [
"Apache-2.0"
] | 27 | 2020-02-29T13:38:11.000Z | 2020-09-02T20:24:59.000Z | cloudmesh/openapi/__version__.py | cloudmesh/cloudmesh.openapi | c866c4cbdad3adfdf3fe31591906ced8d71352ef | [
"Apache-2.0"
] | 6 | 2020-03-02T17:09:14.000Z | 2020-10-30T22:48:01.000Z | version = "4.0.20"
| 9.5 | 18 | 0.578947 | 4 | 19 | 2.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0.157895 | 19 | 1 | 19 | 19 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
ba1c444e0c5137f845b4ebb0795039e9e77228c2 | 3,916 | py | Python | poker/poker_env/betsizes.py | MorGriffiths/PokerAI | a68400f4918f10dde82574ad19654243c9a65024 | [
"MIT"
] | 2 | 2020-05-24T12:21:36.000Z | 2022-02-08T03:02:17.000Z | poker/poker_env/betsizes.py | MorGriffiths/PokerAI | a68400f4918f10dde82574ad19654243c9a65024 | [
"MIT"
] | 3 | 2017-04-28T00:25:18.000Z | 2018-03-18T20:51:20.000Z | poker/poker_env/betsizes.py | C5ipo7i/PokerAI | a68400f4918f10dde82574ad19654243c9a65024 | [
"MIT"
] | 2 | 2020-11-05T11:57:04.000Z | 2021-03-17T17:57:24.000Z | import poker_env.datatypes as pdt
class Betsizes():
LIMIT_MAP = {
pdt.LimitTypes.NO_LIMIT: return_nolimit_betsize,
pdt.LimitTypes.POT_LIMIT: return_potlimit_betsize,
pdt.LimitTypes.LIMIT: return_limit_betsize
}
def __init__(self,limit):
self.return_betsize = self.LIMIT_MAP[l... | 64.196721 | 169 | 0.701736 | 519 | 3,916 | 5.086705 | 0.16763 | 0.079167 | 0.107955 | 0.108333 | 0.771591 | 0.764015 | 0.764015 | 0.735227 | 0.655682 | 0.622348 | 0 | 0.004428 | 0.192543 | 3,916 | 61 | 170 | 64.196721 | 0.830487 | 0.104443 | 0 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04918 | 0 | 1 | 0.083333 | false | 0 | 0.020833 | 0 | 0.208333 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
2cef32b9bc05fe8f3cb58de2df2c323820cc2856 | 103 | py | Python | pyexplain/attach/links/admin.py | LucasMagnum/pyexplain | ca7a91df8519f576c21d5ede4b4f779fabfd5cbe | [
"MIT"
] | 6 | 2018-03-20T19:50:47.000Z | 2021-11-21T12:59:01.000Z | pyexplain/attach/links/admin.py | LucasMagnum/pyexplain | ca7a91df8519f576c21d5ede4b4f779fabfd5cbe | [
"MIT"
] | 1 | 2015-10-30T22:01:28.000Z | 2015-11-03T23:07:52.000Z | pyexplain/attach/links/admin.py | LucasMagnum/pyexplain | ca7a91df8519f576c21d5ede4b4f779fabfd5cbe | [
"MIT"
] | 1 | 2015-12-18T12:53:59.000Z | 2015-12-18T12:53:59.000Z | # coding: utf-8
from django.contrib import admin
from .models import Link
admin.site.register(Link)
| 12.875 | 32 | 0.76699 | 16 | 103 | 4.9375 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011364 | 0.145631 | 103 | 7 | 33 | 14.714286 | 0.886364 | 0.126214 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
2cf762680f07e4c1c3663e742528c1fc4c0666f3 | 195 | py | Python | study/w3resource/exercises/python-basic/001 - 030/python-basic - 024.py | gustavomarquezinho/python | e36779aa5c4bfaf88c587f05db5bd447fd41e4a2 | [
"MIT"
] | null | null | null | study/w3resource/exercises/python-basic/001 - 030/python-basic - 024.py | gustavomarquezinho/python | e36779aa5c4bfaf88c587f05db5bd447fd41e4a2 | [
"MIT"
] | null | null | null | study/w3resource/exercises/python-basic/001 - 030/python-basic - 024.py | gustavomarquezinho/python | e36779aa5c4bfaf88c587f05db5bd447fd41e4a2 | [
"MIT"
] | null | null | null | # 024 - Write a Python program to test whether a passed letter is a vowel or not.
def vowelLetter(pLetter):
return pLetter.upper() in 'AEIOU'
print(vowelLetter('A'))
print(vowelLetter('B')) | 27.857143 | 81 | 0.723077 | 30 | 195 | 4.7 | 0.766667 | 0.22695 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018293 | 0.158974 | 195 | 7 | 82 | 27.857143 | 0.841463 | 0.405128 | 0 | 0 | 0 | 0 | 0.06087 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.25 | 0.5 | 0.5 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 5 |
fa00fc7d1639244400abb47ad56b197bfeb824fa | 111 | py | Python | python-lib/config/__init__.py | dataiku/dss-plugin-nlp-analysis | ff9dce56500dc8f28f83158afbdf7db01074ee38 | [
"Apache-2.0"
] | 1 | 2021-03-12T10:45:53.000Z | 2021-03-12T10:45:53.000Z | python-lib/config/__init__.py | dataiku/dss-plugin-nlp-analysis | ff9dce56500dc8f28f83158afbdf7db01074ee38 | [
"Apache-2.0"
] | 22 | 2021-03-01T18:49:54.000Z | 2021-06-08T15:16:30.000Z | python-lib/config/__init__.py | dataiku/dss-plugin-nlp-analysis | ff9dce56500dc8f28f83158afbdf7db01074ee38 | [
"Apache-2.0"
] | 1 | 2021-02-22T15:19:43.000Z | 2021-02-22T15:19:43.000Z | from .custom_check import CustomCheck
from .dku_config import DkuConfig
from .dss_parameter import DSSParameter | 37 | 39 | 0.873874 | 15 | 111 | 6.266667 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099099 | 111 | 3 | 39 | 37 | 0.94 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
fa329c14dcf078f8e9d094af4d2d65b3ce83883e | 209 | py | Python | venv/lib/python3.7/site-packages/allauth/socialaccount/providers/vimeo_oauth2/urls.py | vikram0207/django-rest | eafec575999dce6859dc7b99177cff339b2bcbdd | [
"MIT"
] | 6,342 | 2015-01-01T07:40:30.000Z | 2022-03-31T04:18:30.000Z | venv/lib/python3.7/site-packages/allauth/socialaccount/providers/vimeo_oauth2/urls.py | vikram0207/django-rest | eafec575999dce6859dc7b99177cff339b2bcbdd | [
"MIT"
] | 2,198 | 2015-01-02T15:17:45.000Z | 2022-03-28T10:20:43.000Z | venv/lib/python3.7/site-packages/allauth/socialaccount/providers/vimeo_oauth2/urls.py | vikram0207/django-rest | eafec575999dce6859dc7b99177cff339b2bcbdd | [
"MIT"
] | 2,928 | 2015-01-01T10:44:13.000Z | 2022-03-31T03:20:16.000Z | """URLs for Patreon Provider"""
from allauth.socialaccount.providers.oauth2.urls import default_urlpatterns
from .provider import VimeoOAuth2Provider
urlpatterns = default_urlpatterns(VimeoOAuth2Provider)
| 23.222222 | 75 | 0.842105 | 21 | 209 | 8.285714 | 0.619048 | 0.206897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015789 | 0.090909 | 209 | 8 | 76 | 26.125 | 0.9 | 0.119617 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
fa6f63f59a80ec1c268d5dedb22afe0021d126ae | 83,183 | py | Python | aula05_estruturas_condicionais(Gabriel).py | Glightman/estruturas-condicionais | c90958ee04797a65af58c6dcb08cc04e25b7801d | [
"MIT"
] | null | null | null | aula05_estruturas_condicionais(Gabriel).py | Glightman/estruturas-condicionais | c90958ee04797a65af58c6dcb08cc04e25b7801d | [
"MIT"
] | null | null | null | aula05_estruturas_condicionais(Gabriel).py | Glightman/estruturas-condicionais | c90958ee04797a65af58c6dcb08cc04e25b7801d | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# coding: utf-8
# # **Estruturas de controle condicionais**
#
# > São estruturas para controlar o fluxo do programa
#
# Vamos utilizar os famosos SE e SENÃO.
#
# Em Python a estrutura é bem simples, comparado a outras linguagens, mas antes considere esse fluxograma:
#
# :
from xbout import __version__
assert __version__
| 15.6 | 33 | 0.74359 | 9 | 78 | 5.444444 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217949 | 78 | 4 | 34 | 19.5 | 0.803279 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
d7158befb6b8f0814dcdec3a0ddb26a48d1b1698 | 15 | py | Python | AHS/__init__.py | yujunjiex/AHSSpider | be233dfef5478a56652426974a8f96500542c7c0 | [
"MIT"
] | 6 | 2019-09-30T13:13:31.000Z | 2021-09-27T00:28:17.000Z | AHS/loggers/__init__.py | yujunjiex/AHSSpider | be233dfef5478a56652426974a8f96500542c7c0 | [
"MIT"
] | 2 | 2021-03-24T09:16:29.000Z | 2021-12-13T20:18:35.000Z | AHS/loggers/__init__.py | yujunjiex/AHSSpider | be233dfef5478a56652426974a8f96500542c7c0 | [
"MIT"
] | 2 | 2019-11-22T03:25:17.000Z | 2021-09-27T00:28:19.000Z | # coding: UTF-8 | 15 | 15 | 0.666667 | 3 | 15 | 3.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0.133333 | 15 | 1 | 15 | 15 | 0.692308 | 0.866667 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
d7404e0c3b2e5756d6a15d90cd99d382c9811ae8 | 24,652 | py | Python | src/transbigdata/tests/test_busdata.py | cirno1w/transport | f088b4111992dd5ec6371db71cf1d26689cf8c26 | [
"BSD-3-Clause"
] | 1 | 2022-03-06T00:15:19.000Z | 2022-03-06T00:15:19.000Z | src/transbigdata/tests/test_busdata.py | anitagraser/transbigdata | 0eb972c78f9154c0a3f780f197ef9af406b2bb71 | [
"BSD-3-Clause"
] | null | null | null | src/transbigdata/tests/test_busdata.py | anitagraser/transbigdata | 0eb972c78f9154c0a3f780f197ef9af406b2bb71 | [
"BSD-3-Clause"
] | null | null | null |
import transbigdata as tbd
import numpy as np
import pandas as pd
import geopandas as gpd
from shapely.geometry import Polygon
class TestBikedata:
def setup_method(self):
self.data = pd.DataFrame([['沪D-R7103', '2019-01-16 23:59:59', 121.3308582912764,
31.175129076427655]... | 202.065574 | 8,650 | 0.60916 | 2,739 | 24,652 | 5.479737 | 0.263965 | 0.023986 | 0.059631 | 0.043307 | 0.343194 | 0.296622 | 0.250316 | 0.20008 | 0.196482 | 0.190752 | 0 | 0.572803 | 0.194873 | 24,652 | 121 | 8,651 | 203.735537 | 0.183394 | 0 | 0 | 0.119658 | 0 | 0.017094 | 0.733479 | 0.149243 | 0 | 0 | 0 | 0 | 0.025641 | 1 | 0.017094 | false | 0 | 0.042735 | 0 | 0.068376 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
d75a2c9cec7a42cc207289931da5cd5d981ef86e | 146 | py | Python | Instructions/starter_code/api_keys.py | fmkaramloo/python-api-challenge | 900271c220de9465ebfb6981fb51c322ac1c4367 | [
"ADSL"
] | null | null | null | Instructions/starter_code/api_keys.py | fmkaramloo/python-api-challenge | 900271c220de9465ebfb6981fb51c322ac1c4367 | [
"ADSL"
] | null | null | null | Instructions/starter_code/api_keys.py | fmkaramloo/python-api-challenge | 900271c220de9465ebfb6981fb51c322ac1c4367 | [
"ADSL"
] | null | null | null | # OpenWeatherMap API Key
weather_api_key = "972fc242a771ca44611f48d634a9e967"
# Google API Key
g_key = "AIzaSyCWD-Z7WINc53d-5orJ46Zg3qVZN1UK0ho"
| 24.333333 | 52 | 0.828767 | 15 | 146 | 7.866667 | 0.666667 | 0.152542 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.244275 | 0.10274 | 146 | 5 | 53 | 29.2 | 0.656489 | 0.253425 | 0 | 0 | 0 | 0 | 0.669811 | 0.669811 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
ad1233af780254c29cdd21eef490a1f4b6a8e71e | 130 | py | Python | helpers/IndexTools.py | GigliOneiric/ElliotWave | 5d0fc166530a57132dce4e4c00ecb33cb8101aaa | [
"Apache-2.0"
] | null | null | null | helpers/IndexTools.py | GigliOneiric/ElliotWave | 5d0fc166530a57132dce4e4c00ecb33cb8101aaa | [
"Apache-2.0"
] | null | null | null | helpers/IndexTools.py | GigliOneiric/ElliotWave | 5d0fc166530a57132dce4e4c00ecb33cb8101aaa | [
"Apache-2.0"
] | null | null | null | def last_index(pattern):
wave_list = pattern.wave_list
number_of_elements = len(wave_list)
return number_of_elements
| 21.666667 | 39 | 0.761538 | 19 | 130 | 4.789474 | 0.578947 | 0.263736 | 0.32967 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176923 | 130 | 5 | 40 | 26 | 0.850467 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
ad240b5b7da24b5a7e4b11b3b6042cba0965098e | 72 | py | Python | mistos-backend/src/app/api/napari_widgets.py | Maddonix/mistos_2 | 4bd9f45ad9e49f4178c0b8bb1a177d7db5349c34 | [
"MIT"
] | 1 | 2021-03-22T10:57:01.000Z | 2021-03-22T10:57:01.000Z | mistos-backend/src/app/api/napari_widgets.py | Maddonix/mistos_2 | 4bd9f45ad9e49f4178c0b8bb1a177d7db5349c34 | [
"MIT"
] | 44 | 2021-02-17T15:07:17.000Z | 2021-04-05T07:07:09.000Z | mistos-backend/src/app/api/napari_widgets.py | Maddonix/mistos_2 | 4bd9f45ad9e49f4178c0b8bb1a177d7db5349c34 | [
"MIT"
] | null | null | null | from magicgui import magicgui
from app.api import utils_transformations
| 24 | 41 | 0.875 | 10 | 72 | 6.2 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 72 | 2 | 42 | 36 | 0.96875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
ad3535931f60c3b61c4997c6ed7e371daf06e341 | 48 | py | Python | nordlys/nordlys/logic/query/__init__.py | medtray/MultiEm-RGCN | 11c7978273d57242090fa3715207ba18732d7f38 | [
"MIT"
] | 34 | 2017-03-22T10:49:51.000Z | 2022-03-15T07:20:14.000Z | nordlys/nordlys/logic/query/__init__.py | medtray/MultiEm-RGCN | 11c7978273d57242090fa3715207ba18732d7f38 | [
"MIT"
] | 33 | 2017-11-08T11:11:34.000Z | 2021-11-15T15:39:51.000Z | nordlys/nordlys/logic/query/__init__.py | medtray/MultiEm-RGCN | 11c7978273d57242090fa3715207ba18732d7f38 | [
"MIT"
] | 19 | 2017-03-22T17:48:42.000Z | 2021-03-10T20:52:04.000Z | """
Query
=====
This is the query package.
"""
| 6.857143 | 26 | 0.541667 | 6 | 48 | 4.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208333 | 48 | 6 | 27 | 8 | 0.684211 | 0.8125 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
ad64f3dc2915f4b43a3c400c5a454bbac5e2bcb7 | 150 | py | Python | winter/drf/body_with_context.py | EvgenySmekalin/winter | 24b6a02f958478547a4a120324823743a1f7e1a1 | [
"MIT"
] | 1 | 2020-03-28T14:54:28.000Z | 2020-03-28T14:54:28.000Z | winter/drf/body_with_context.py | EvgenySmekalin/winter | 24b6a02f958478547a4a120324823743a1f7e1a1 | [
"MIT"
] | null | null | null | winter/drf/body_with_context.py | EvgenySmekalin/winter | 24b6a02f958478547a4a120324823743a1f7e1a1 | [
"MIT"
] | null | null | null | from typing import Any
from typing import Dict
from dataclasses import dataclass
@dataclass
class BodyWithContext:
body: Any
context: Dict
| 13.636364 | 33 | 0.773333 | 19 | 150 | 6.105263 | 0.578947 | 0.172414 | 0.275862 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 150 | 10 | 34 | 15 | 0.966667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.428571 | 0 | 0.857143 | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
a8ec08e8701f0032894433df382eeb2b7bc0bc67 | 130 | py | Python | ml/__init__.py | ruberVulpes/a-discord-bot | 0996a39b01917bf4f1a9b2a33ca46033ca2c9eb5 | [
"MIT"
] | null | null | null | ml/__init__.py | ruberVulpes/a-discord-bot | 0996a39b01917bf4f1a9b2a33ca46033ca2c9eb5 | [
"MIT"
] | 2 | 2021-02-22T05:08:30.000Z | 2021-04-06T20:29:39.000Z | ml/__init__.py | ruberVulpes/a-discord-bot | 0996a39b01917bf4f1a9b2a33ca46033ca2c9eb5 | [
"MIT"
] | null | null | null | cutoff = 20
decision_cutoff = .25
model_path = 'ml/overwatch_messages.model'
vectorizer_path = 'ml/overwatch_messages.vectorizer'
| 26 | 52 | 0.807692 | 17 | 130 | 5.882353 | 0.588235 | 0.12 | 0.3 | 0.46 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033898 | 0.092308 | 130 | 4 | 53 | 32.5 | 0.813559 | 0 | 0 | 0 | 0 | 0 | 0.453846 | 0.453846 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
d1132d5444be5af40ed9f2221b9471e94728b833 | 74 | py | Python | 04_exploration/solutions/titanic_missing_age_21.py | glemaitre/x_exed_10_2018 | 72289925ddcac02ca36c003faa6f9de680313227 | [
"CC0-1.0"
] | 1 | 2019-01-11T14:45:55.000Z | 2019-01-11T14:45:55.000Z | 04_exploration/solutions/titanic_missing_age_21.py | glemaitre/smob_paristech_12_2018 | b669206f204a3e57e71efb3dd22e2ffbc4e0a309 | [
"CC0-1.0"
] | 4 | 2019-02-22T21:37:20.000Z | 2019-03-12T13:20:29.000Z | 04_exploration/solutions/titanic_missing_age_21.py | glemaitre/smob_paristech_12_2018 | b669206f204a3e57e71efb3dd22e2ffbc4e0a309 | [
"CC0-1.0"
] | 1 | 2018-10-18T06:57:59.000Z | 2018-10-18T06:57:59.000Z | without_age = data[data.Age.isnull()]
with_age = data[~data.Age.isnull()]
| 24.666667 | 37 | 0.716216 | 12 | 74 | 4.25 | 0.416667 | 0.27451 | 0.431373 | 0.54902 | 0.784314 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 74 | 2 | 38 | 37 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
d12f6bc14acd8d9ae78b1f3375a7c3f727262b32 | 181 | py | Python | web/jobmatchings/admin.py | MattYu/django-docker-nginx-postgres-letsEncrypt-jobBoard | a59d4c3d8adf38eaa986eaf5efc21f774010aa2a | [
"MIT"
] | 1 | 2020-06-03T02:10:30.000Z | 2020-06-03T02:10:30.000Z | jobmatchings/admin.py | MattYu/ConcordiaAce | 35eff7614652eb548e532dcf00e3a7296855285c | [
"MIT"
] | 34 | 2020-04-05T01:14:31.000Z | 2022-03-12T00:23:02.000Z | jobmatchings/admin.py | MattYu/ConcordiaAce | 35eff7614652eb548e532dcf00e3a7296855285c | [
"MIT"
] | 1 | 2020-10-29T03:09:08.000Z | 2020-10-29T03:09:08.000Z | from django.contrib import admin
from jobmatchings.models import MatchingHistory, Match
# Register your models here.
admin.site.register(Match)
admin.site.register(MatchingHistory) | 30.166667 | 54 | 0.839779 | 23 | 181 | 6.608696 | 0.565217 | 0.118421 | 0.223684 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088398 | 181 | 6 | 55 | 30.166667 | 0.921212 | 0.143646 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
d16e81d6c4e5dc05c80f118526526d5449d81efe | 174 | py | Python | tests/test_io_spec.py | JBorrow/pageplot | 8abad574fda476d26a59fc8b7d36da2838f2c11e | [
"MIT"
] | null | null | null | tests/test_io_spec.py | JBorrow/pageplot | 8abad574fda476d26a59fc8b7d36da2838f2c11e | [
"MIT"
] | null | null | null | tests/test_io_spec.py | JBorrow/pageplot | 8abad574fda476d26a59fc8b7d36da2838f2c11e | [
"MIT"
] | null | null | null | """
Tests basic understanding of pydantic.
"""
from pageplot.io.spec import IOSpecification
def test_IOSpecification():
io_spec = IOSpecification(filename="test.csv")
| 17.4 | 50 | 0.758621 | 20 | 174 | 6.5 | 0.75 | 0.092308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132184 | 174 | 9 | 51 | 19.333333 | 0.860927 | 0.218391 | 0 | 0 | 0 | 0 | 0.0625 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
0f2e0e71d28a8e69036155605aaeb715ec760718 | 786 | py | Python | lizardanalysis/__init__.py | JojoReikun/ClimbingLizardDLCAnalysis | 6cc38090217a3ffd4860ef6d06ba7967d3c10b7c | [
"MIT"
] | 1 | 2021-03-09T19:12:44.000Z | 2021-03-09T19:12:44.000Z | lizardanalysis/__init__.py | JojoReikun/ClimbingLizardDLCAnalysis | 6cc38090217a3ffd4860ef6d06ba7967d3c10b7c | [
"MIT"
] | null | null | null | lizardanalysis/__init__.py | JojoReikun/ClimbingLizardDLCAnalysis | 6cc38090217a3ffd4860ef6d06ba7967d3c10b7c | [
"MIT"
] | null | null | null | """
LizardDLCAnalysis Toolbox
© Jojo S.
Licensed under MIT License
"""
# TODO: complete as going along
import os
DEBUG = True and 'DEBUG' in os.environ and os.environ['DEBUG']
from lizardanalysis import DEBUG
from lizardanalysis import start_new_analysis
from lizardanalysis.start_new_analysis import create_new_proje... | 34.173913 | 79 | 0.86514 | 97 | 786 | 6.804124 | 0.484536 | 0.272727 | 0.181818 | 0.087879 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094148 | 786 | 22 | 80 | 35.727273 | 0.925562 | 0.118321 | 0 | 0 | 0 | 0 | 0.014599 | 0 | 0 | 0 | 0 | 0.045455 | 0 | 1 | 0 | false | 0 | 0.916667 | 0 | 0.916667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
7e22e81524acb013749b13dcc9a75c538e4fac05 | 63 | py | Python | inference/params/190212_minnie_mip4_render.py | emitch/SEAMLeSS | cae21c67316ed36529fdc2e470a105a9f847975c | [
"MIT"
] | 4 | 2018-12-17T18:45:57.000Z | 2021-04-29T16:30:42.000Z | inference/params/190212_minnie_mip4_render.py | emitch/SEAMLeSS | cae21c67316ed36529fdc2e470a105a9f847975c | [
"MIT"
] | 19 | 2019-01-02T19:09:12.000Z | 2020-12-14T18:50:47.000Z | inference/params/190212_minnie_mip4_render.py | emitch/SEAMLeSS | cae21c67316ed36529fdc2e470a105a9f847975c | [
"MIT"
] | 2 | 2020-03-18T01:24:03.000Z | 2022-01-06T06:19:58.000Z | A11,A12,A13,A21,A22,A23,z_start,z_stop
1,0,-32,0,1,-32,1,28000
| 21 | 38 | 0.714286 | 18 | 63 | 2.388889 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.42623 | 0.031746 | 63 | 2 | 39 | 31.5 | 0.278689 | 0 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
7e47df40f2dd568f1cea6d73d309a89a05eb2224 | 354 | py | Python | nsd1802/python/day07/myclass.py | MrWangwf/nsd1806 | 069e993b0bb64cb21adc2a25aa56f6da674453bc | [
"Apache-2.0"
] | null | null | null | nsd1802/python/day07/myclass.py | MrWangwf/nsd1806 | 069e993b0bb64cb21adc2a25aa56f6da674453bc | [
"Apache-2.0"
] | null | null | null | nsd1802/python/day07/myclass.py | MrWangwf/nsd1806 | 069e993b0bb64cb21adc2a25aa56f6da674453bc | [
"Apache-2.0"
] | null | null | null | class A:
def foo(self):
print('in A foo')
def hello(self):
print('A hello')
class B:
def bar(self):
print('in B bar')
def hello(self):
print('B hello')
class C(B, A):
pass
# def hello(self):
# print('C hello')
if __name__ == '__main__':
c = C()
... | 15.391304 | 26 | 0.477401 | 52 | 354 | 3.096154 | 0.288462 | 0.279503 | 0.223602 | 0.31677 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.353107 | 354 | 22 | 27 | 16.090909 | 0.703057 | 0.10452 | 0 | 0.117647 | 0 | 0 | 0.121019 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.235294 | false | 0.058824 | 0 | 0 | 0.411765 | 0.235294 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
7e4ddaae72f374866e52dd98ada8aff03307716e | 164 | py | Python | day2/and.py | alqmy/The-Garage-Summer-Of-Code | af310d5e5194a62962db2fc1e601099468251efa | [
"MIT"
] | null | null | null | day2/and.py | alqmy/The-Garage-Summer-Of-Code | af310d5e5194a62962db2fc1e601099468251efa | [
"MIT"
] | null | null | null | day2/and.py | alqmy/The-Garage-Summer-Of-Code | af310d5e5194a62962db2fc1e601099468251efa | [
"MIT"
] | null | null | null | print(1 == 2 and 1 == 1) # False
print(1 == 1 and 2 == 2) # True
print(5 > 2 and True) # True
print(False and True)
print(False and False)
print(True and True) | 14.909091 | 32 | 0.621951 | 32 | 164 | 3.1875 | 0.21875 | 0.264706 | 0.27451 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079365 | 0.231707 | 164 | 11 | 33 | 14.909091 | 0.730159 | 0.091463 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 5 |
7e598ec383c9d2ec4538155bf748fd9583b20bc3 | 30 | py | Python | PythonCurso01/aula121_docstrings/exemplo03/main.py | AlissonAnjos21/Aprendendo | 9454d9e53ef9fb8bc61bf481b6592164f5bf8695 | [
"MIT"
] | null | null | null | PythonCurso01/aula121_docstrings/exemplo03/main.py | AlissonAnjos21/Aprendendo | 9454d9e53ef9fb8bc61bf481b6592164f5bf8695 | [
"MIT"
] | null | null | null | PythonCurso01/aula121_docstrings/exemplo03/main.py | AlissonAnjos21/Aprendendo | 9454d9e53ef9fb8bc61bf481b6592164f5bf8695 | [
"MIT"
] | null | null | null | import funcoes
help(funcoes)
| 7.5 | 14 | 0.8 | 4 | 30 | 6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 3 | 15 | 10 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
7e6e0b59caa97c2a83c5da36efccd565fae29e6c | 154 | py | Python | fizzbuzz/fizzbuzz.py | varikvalefor/Equivalent-Computer-Programs | 868c97b8305dc78e7a2eda94f4eaf4f26effe2cc | [
"BSD-3-Clause"
] | null | null | null | fizzbuzz/fizzbuzz.py | varikvalefor/Equivalent-Computer-Programs | 868c97b8305dc78e7a2eda94f4eaf4f26effe2cc | [
"BSD-3-Clause"
] | 4 | 2021-09-08T20:30:03.000Z | 2021-09-10T00:58:05.000Z | fizzbuzz/fizzbuzz.py | varikvalefor/Equivalent-Computer-Programs | 868c97b8305dc78e7a2eda94f4eaf4f26effe2cc | [
"BSD-3-Clause"
] | null | null | null | a = 0
while(1):
a = a+1
if(a%15 == 0): print("FIZZ BUZZ")
elif(a%5 == 0): print("BUZZ")
elif(a%3 == 0): print("FIZZ")
else: print(a)
| 19.25 | 36 | 0.467532 | 29 | 154 | 2.482759 | 0.448276 | 0.25 | 0.277778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09009 | 0.279221 | 154 | 7 | 37 | 22 | 0.558559 | 0 | 0 | 0 | 0 | 0 | 0.11039 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.571429 | 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 | 1 | 0 | 5 |
0e4d7a9ee0828734f7c04d5ac284e08205839e40 | 123 | py | Python | qtpynodeeditor/examples/__init__.py | tfarago/qtpynodeeditor | 513301cfdb65be14bed428be1ef6b815d5873b63 | [
"BSD-3-Clause"
] | 100 | 2019-03-23T20:32:45.000Z | 2022-03-30T17:50:23.000Z | qtpynodeeditor/examples/__init__.py | tfarago/qtpynodeeditor | 513301cfdb65be14bed428be1ef6b815d5873b63 | [
"BSD-3-Clause"
] | 30 | 2019-03-17T14:12:05.000Z | 2021-04-15T17:30:19.000Z | qtpynodeeditor/examples/__init__.py | tfarago/qtpynodeeditor | 513301cfdb65be14bed428be1ef6b815d5873b63 | [
"BSD-3-Clause"
] | 36 | 2019-05-22T06:27:00.000Z | 2022-01-11T06:53:50.000Z | from . import calculator, connection_colors, image, style
__all__ = ['calculator', 'style', 'connection_colors', 'image']
| 30.75 | 63 | 0.739837 | 13 | 123 | 6.538462 | 0.615385 | 0.376471 | 0.494118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113821 | 123 | 3 | 64 | 41 | 0.779817 | 0 | 0 | 0 | 0 | 0 | 0.300813 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
0e9640042763021ab9069eb583d7fb8d39bf7347 | 122 | py | Python | SDALib-CPP/SDALib-Python/Driver.py | red-panda-productions/SDALib | ff5505b3454374792589529de1c45308c4d119e7 | [
"MIT"
] | null | null | null | SDALib-CPP/SDALib-Python/Driver.py | red-panda-productions/SDALib | ff5505b3454374792589529de1c45308c4d119e7 | [
"MIT"
] | null | null | null | SDALib-CPP/SDALib-Python/Driver.py | red-panda-productions/SDALib | ff5505b3454374792589529de1c45308c4d119e7 | [
"MIT"
] | null | null | null |
class SDADriver:
def InitAI(self):
return
def UpdateAI(self,SDAData):
return (0.4, 0.2, 0.5, 1) | 15.25 | 33 | 0.557377 | 18 | 122 | 3.777778 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 0.311475 | 122 | 8 | 33 | 15.25 | 0.72619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.4 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
7d2075ef1b2f083294b6b85ea8bf06d0688c6a91 | 1,278 | py | Python | tests/test_execute.py | mwouts/papermill_jupytext | 133dd38e76145e77c477522114b87284ab687a21 | [
"MIT"
] | 14 | 2019-05-22T05:02:59.000Z | 2021-11-08T11:46:43.000Z | tests/test_execute.py | mwouts/papermill_jupytext | 133dd38e76145e77c477522114b87284ab687a21 | [
"MIT"
] | 1 | 2019-07-21T20:15:24.000Z | 2019-07-21T20:15:24.000Z | tests/test_execute.py | mwouts/papermill_jupytext | 133dd38e76145e77c477522114b87284ab687a21 | [
"MIT"
] | 2 | 2019-06-20T17:51:01.000Z | 2019-10-22T22:23:21.000Z | import os
import nbformat
import papermill as pm
def test_execute_markdown(tmpdir):
tmp_md = str(tmpdir.join('markdown.md'))
tmp_ipynb = str(tmpdir.join('executed.ipynb'))
with open(tmp_md, 'w') as fp:
fp.write("""```python tags=["parameters"]
# This cell defines the default value for parameters
... | 22.821429 | 69 | 0.62989 | 172 | 1,278 | 4.552326 | 0.313953 | 0.081737 | 0.066411 | 0.043423 | 0.784163 | 0.753512 | 0.753512 | 0.753512 | 0.753512 | 0.753512 | 0 | 0.007882 | 0.20579 | 1,278 | 55 | 70 | 23.236364 | 0.763547 | 0 | 0 | 0.604651 | 0 | 0 | 0.352895 | 0.034429 | 0 | 0 | 0 | 0 | 0.093023 | 1 | 0.046512 | false | 0 | 0.069767 | 0 | 0.116279 | 0.046512 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
adf1b14193567eb5f56aac6b95823392a1e10ef0 | 76 | py | Python | CodeWars/Python/5 kyu/Not very secure/main.py | opastushkov/codewars-solutions | 0132a24259a4e87f926048318332dcb4d94858ca | [
"MIT"
] | null | null | null | CodeWars/Python/5 kyu/Not very secure/main.py | opastushkov/codewars-solutions | 0132a24259a4e87f926048318332dcb4d94858ca | [
"MIT"
] | null | null | null | CodeWars/Python/5 kyu/Not very secure/main.py | opastushkov/codewars-solutions | 0132a24259a4e87f926048318332dcb4d94858ca | [
"MIT"
] | null | null | null | def alphanumeric(s):
return all([x.isalpha() or x.isdigit() for x in s]) | 38 | 55 | 0.657895 | 14 | 76 | 3.571429 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171053 | 76 | 2 | 55 | 38 | 0.793651 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
bc0c7522d70df5f3bcddc440b0d5a5080b65cea6 | 5,578 | py | Python | brawl_api/core.py | sebastianmarines/bst | 52d76e9c421b7b74dea00f5a5bee051e6b6b2ef0 | [
"MIT"
] | 1 | 2021-09-17T22:57:05.000Z | 2021-09-17T22:57:05.000Z | brawl_api/core.py | sebastianmarines/bst | 52d76e9c421b7b74dea00f5a5bee051e6b6b2ef0 | [
"MIT"
] | 2 | 2021-09-18T22:55:52.000Z | 2021-09-21T02:41:34.000Z | brawl_api/core.py | sebastianmarines/brawl_api | 52d76e9c421b7b74dea00f5a5bee051e6b6b2ef0 | [
"MIT"
] | null | null | null | from typing import Generic, Type, TypeVar
from aiohttp.client_reqrep import ClientResponse
from pydantic.main import BaseModel
import requests
import aiohttp
from requests.sessions import Session
from requests import Response
from brawl_api.utils import API, format_tag
from brawl_api.models import Battlelog, Player, ... | 31.693182 | 81 | 0.605056 | 682 | 5,578 | 4.733138 | 0.107038 | 0.078067 | 0.027261 | 0.039653 | 0.795229 | 0.78005 | 0.742255 | 0.712515 | 0.643742 | 0.643742 | 0 | 0 | 0.284511 | 5,578 | 176 | 82 | 31.693182 | 0.80882 | 0.23521 | 0 | 0.26087 | 0 | 0 | 0.081348 | 0.065078 | 0 | 0 | 0 | 0.005682 | 0 | 1 | 0.130435 | false | 0 | 0.130435 | 0.014493 | 0.521739 | 0 | 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 | 1 | 0 | 0 | 5 |
bc11a9dafce7108046bb49574b6f5d8fb928cc53 | 84 | py | Python | ec2ssh/__main__.py | akx/ec2ssh | 3709f886de74b1def88c0b7ff8d83279c1b3b7d7 | [
"MIT"
] | null | null | null | ec2ssh/__main__.py | akx/ec2ssh | 3709f886de74b1def88c0b7ff8d83279c1b3b7d7 | [
"MIT"
] | null | null | null | ec2ssh/__main__.py | akx/ec2ssh | 3709f886de74b1def88c0b7ff8d83279c1b3b7d7 | [
"MIT"
] | null | null | null | from ec2ssh.main import wrapped_main
if __name__ == '__main__':
wrapped_main()
| 16.8 | 36 | 0.738095 | 11 | 84 | 4.727273 | 0.636364 | 0.423077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014286 | 0.166667 | 84 | 4 | 37 | 21 | 0.728571 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
bc251d0a692477a7dfebe4d75fe5cadc5641db74 | 55 | py | Python | tifa/apps/user/__init__.py | twocucao/tifa | f703fd27f54000e7d51f06d2456d09cc79e0ab72 | [
"MIT"
] | 71 | 2020-04-16T04:28:45.000Z | 2022-03-31T22:45:11.000Z | tifa/apps/user/__init__.py | twocucao/tifa | f703fd27f54000e7d51f06d2456d09cc79e0ab72 | [
"MIT"
] | 6 | 2021-05-13T06:32:38.000Z | 2022-03-04T01:18:34.000Z | tifa/apps/user/__init__.py | twocucao/tifa | f703fd27f54000e7d51f06d2456d09cc79e0ab72 | [
"MIT"
] | 12 | 2021-05-01T08:43:11.000Z | 2022-03-29T00:58:54.000Z | from .router import bp
from .checkout import * # noqa
| 18.333333 | 31 | 0.727273 | 8 | 55 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 55 | 2 | 32 | 27.5 | 0.909091 | 0.072727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
cb231e80a4264acd5b77b537ee8e416a9ae73667 | 42 | py | Python | utils/__init__.py | paulo-henrique-ph/flask_restplus_tutorial | 2072be87a25605e4a5596f9bd7701142edd7ea3d | [
"MIT"
] | null | null | null | utils/__init__.py | paulo-henrique-ph/flask_restplus_tutorial | 2072be87a25605e4a5596f9bd7701142edd7ea3d | [
"MIT"
] | 1 | 2021-06-01T23:46:04.000Z | 2021-06-01T23:46:04.000Z | utils/__init__.py | paulo-henrique-ph/flask_restplus_tutorial | 2072be87a25605e4a5596f9bd7701142edd7ea3d | [
"MIT"
] | null | null | null | from .exemplo_utilitario import Utilitario | 42 | 42 | 0.904762 | 5 | 42 | 7.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 42 | 1 | 42 | 42 | 0.948718 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
cb30a205ba2f6feff5633e9ba83d4b877cfccfdc | 505 | py | Python | ProgettoLube/WebInspector/venv/Lib/site-packages/tensorflow/_api/v2/compat/v1/train/queue_runner/__init__.py | Lube-Project/ProgettoLube | cbf33971e2c2e865783ec1a2302625539186a338 | [
"MIT"
] | 2 | 2020-09-30T00:11:09.000Z | 2021-10-04T13:00:38.000Z | ProgettoLube/WebInspector/venv/Lib/site-packages/tensorflow/_api/v2/compat/v1/train/queue_runner/__init__.py | Lube-Project/ProgettoLube | cbf33971e2c2e865783ec1a2302625539186a338 | [
"MIT"
] | null | null | null | ProgettoLube/WebInspector/venv/Lib/site-packages/tensorflow/_api/v2/compat/v1/train/queue_runner/__init__.py | Lube-Project/ProgettoLube | cbf33971e2c2e865783ec1a2302625539186a338 | [
"MIT"
] | 1 | 2021-01-28T01:57:41.000Z | 2021-01-28T01:57:41.000Z | # This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator/create_python_api.py script.
"""Public API for tf.train.queue_runner namespace.
"""
from __future__ import print_function as _print_function
import sys as _sys
from tensorflow.python.training.queue_runner_impl import... | 33.666667 | 82 | 0.845545 | 74 | 505 | 5.459459 | 0.513514 | 0.136139 | 0.148515 | 0.207921 | 0.363861 | 0.363861 | 0.363861 | 0.363861 | 0 | 0 | 0 | 0 | 0.09505 | 505 | 14 | 83 | 36.071429 | 0.884026 | 0.344554 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.833333 | 0 | 0.833333 | 0.333333 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
cb3fed21221487b9f7711ffff9e9f6e7723b92d9 | 11,732 | py | Python | ProjectHelper/items/operations/models.py | MirrorChu/SUSTech-Project-Helper | 7a3dad7f9ccc92adee411384057089fe89994d0a | [
"MIT"
] | 1 | 2021-05-14T13:28:51.000Z | 2021-05-14T13:28:51.000Z | ProjectHelper/items/operations/models.py | MirrorChu/SUSTech-Project-Helper | 7a3dad7f9ccc92adee411384057089fe89994d0a | [
"MIT"
] | null | null | null | ProjectHelper/items/operations/models.py | MirrorChu/SUSTech-Project-Helper | 7a3dad7f9ccc92adee411384057089fe89994d0a | [
"MIT"
] | null | null | null | from datetime import datetime
from django.db import models
from django.contrib.auth import get_user_model
from items.users.models import BaseModel
from items.groups.models import GroupOrg
from items.courses.models import Course
from items.projects.models import Project
UserProfile = get_user_model()
class Tag(Base... | 35.659574 | 105 | 0.717354 | 1,416 | 11,732 | 5.663842 | 0.133475 | 0.212594 | 0.062843 | 0.094264 | 0.807107 | 0.788404 | 0.783666 | 0.691397 | 0.684913 | 0.650873 | 0 | 0.010028 | 0.166979 | 11,732 | 329 | 106 | 35.659574 | 0.810601 | 0.258353 | 0 | 0.554286 | 0 | 0 | 0.032486 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.097143 | false | 0 | 0.04 | 0.097143 | 0.8 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
cb6f369a891a417f3ad45d57a8600daf86e53969 | 30 | py | Python | fairways/io/asyn/__init__.py | dan-win/fairways_py | 771623c6f9ec40e8016b5cebb7951613d01e31f7 | [
"Apache-2.0"
] | null | null | null | fairways/io/asyn/__init__.py | dan-win/fairways_py | 771623c6f9ec40e8016b5cebb7951613d01e31f7 | [
"Apache-2.0"
] | null | null | null | fairways/io/asyn/__init__.py | dan-win/fairways_py | 771623c6f9ec40e8016b5cebb7951613d01e31f7 | [
"Apache-2.0"
] | null | null | null | # from ..generic.dbi import *
| 15 | 29 | 0.666667 | 4 | 30 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 30 | 1 | 30 | 30 | 0.8 | 0.9 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
cb8801e95a6a86303309f2fa07eaee12771e99f9 | 39 | py | Python | src/crud/__init__.py | superb-dev/mermaid-test | bb63a375a68923b35008d75290f55b67b529bfd5 | [
"MIT"
] | 3 | 2021-03-04T07:44:04.000Z | 2021-12-06T03:45:58.000Z | src/crud/__init__.py | superb-dev/wallet-fastapi-dynamodb | bb63a375a68923b35008d75290f55b67b529bfd5 | [
"MIT"
] | 2 | 2021-02-13T06:37:47.000Z | 2021-02-13T13:17:56.000Z | src/crud/__init__.py | superb-dev/wallet-fastapi-dynamodb | bb63a375a68923b35008d75290f55b67b529bfd5 | [
"MIT"
] | null | null | null | from crud.wallet import Wallet # noqa
| 19.5 | 38 | 0.769231 | 6 | 39 | 5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179487 | 39 | 1 | 39 | 39 | 0.9375 | 0.102564 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
cbd0c1257fac12edaf2145737b32b2625c935f41 | 102 | py | Python | Python Codewars Answers/sum of intervals.py | OreOlad/github-slideshow | 6c4ef5df6971e3dbd79c9ef7cbb141b2ff682006 | [
"MIT"
] | null | null | null | Python Codewars Answers/sum of intervals.py | OreOlad/github-slideshow | 6c4ef5df6971e3dbd79c9ef7cbb141b2ff682006 | [
"MIT"
] | 4 | 2020-05-14T15:28:52.000Z | 2021-09-28T02:43:53.000Z | Python Codewars Answers/sum of intervals.py | OreOlad/github-slideshow | 6c4ef5df6971e3dbd79c9ef7cbb141b2ff682006 | [
"MIT"
] | null | null | null | def sum_of_intervals(intervals):
return len(set(i for x in intervals for i in range(x[0], x[1])))
| 34 | 68 | 0.696078 | 21 | 102 | 3.285714 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023529 | 0.166667 | 102 | 2 | 69 | 51 | 0.788235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
cbd3641007499681a5536e76412abbc415606f22 | 236 | py | Python | state_machine.py | smirok/Deadline-helper-bot | 1dd33b234c0ad1b1955c4eefc63306c9b3fb3e49 | [
"MIT"
] | 1 | 2022-03-28T10:14:06.000Z | 2022-03-28T10:14:06.000Z | state_machine.py | smirok/Deadline-helper-bot | 1dd33b234c0ad1b1955c4eefc63306c9b3fb3e49 | [
"MIT"
] | null | null | null | state_machine.py | smirok/Deadline-helper-bot | 1dd33b234c0ad1b1955c4eefc63306c9b3fb3e49 | [
"MIT"
] | null | null | null | from aiogram.dispatcher.filters.state import State, StatesGroup
class StateMachine(StatesGroup):
waiting_for_subject = State()
waiting_for_task = State()
waiting_for_old_record = State()
waiting_for_new_date = State()
| 26.222222 | 63 | 0.762712 | 29 | 236 | 5.862069 | 0.586207 | 0.235294 | 0.264706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15678 | 236 | 8 | 64 | 29.5 | 0.854271 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
1db1c8ea059567d135db65d8ce774039bc1959d4 | 47 | py | Python | mmskeleton/__init__.py | Hunkzer/mmskeleton | 551e3b4fa01330b23caab5815a40fbd848400b15 | [
"Apache-2.0"
] | null | null | null | mmskeleton/__init__.py | Hunkzer/mmskeleton | 551e3b4fa01330b23caab5815a40fbd848400b15 | [
"Apache-2.0"
] | null | null | null | mmskeleton/__init__.py | Hunkzer/mmskeleton | 551e3b4fa01330b23caab5815a40fbd848400b15 | [
"Apache-2.0"
] | null | null | null | from .datasets.skeleton import skeleton_process | 47 | 47 | 0.893617 | 6 | 47 | 6.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06383 | 47 | 1 | 47 | 47 | 0.931818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
1db3ddfb49a2c8a0ef616f59e3fa94e6e990aab6 | 94 | py | Python | webnovel/api/__init__.py | mHaisham/webnovelscraper | c094b21014fe538a36d28722291174549de8ca54 | [
"Apache-2.0"
] | 6 | 2020-12-09T08:30:38.000Z | 2021-05-11T20:30:56.000Z | webnovel/api/__init__.py | mHaisham/webnovelscraper | c094b21014fe538a36d28722291174549de8ca54 | [
"Apache-2.0"
] | 1 | 2022-02-22T17:11:09.000Z | 2022-02-22T17:11:09.000Z | webnovel/api/__init__.py | mHaisham/webnovelscraper | c094b21014fe538a36d28722291174549de8ca54 | [
"Apache-2.0"
] | 1 | 2021-02-23T15:46:28.000Z | 2021-02-23T15:46:28.000Z | from .base import BaseApi
from .html import HtmlApi
from .parsed import UnlockType, ParsedApi
| 23.5 | 41 | 0.819149 | 13 | 94 | 5.923077 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138298 | 94 | 3 | 42 | 31.333333 | 0.950617 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
1dc1bc8a26238d0ed03f995b269f6232955a068f | 225 | py | Python | omnizart/transcribe_all.py | nicolasanjoran/omnizart | b0e74af39b2e3a312ef32dbf0837626b2e043cb6 | [
"MIT"
] | 1,145 | 2020-11-13T10:07:47.000Z | 2022-03-29T17:35:36.000Z | omnizart/transcribe_all.py | nicolasanjoran/omnizart | b0e74af39b2e3a312ef32dbf0837626b2e043cb6 | [
"MIT"
] | 44 | 2020-12-29T04:51:16.000Z | 2022-03-15T06:52:04.000Z | omnizart/transcribe_all.py | nicolasanjoran/omnizart | b0e74af39b2e3a312ef32dbf0837626b2e043cb6 | [
"MIT"
] | 61 | 2020-12-19T09:09:42.000Z | 2022-03-23T01:26:22.000Z | # import pretty_midi
# from omnizart.music import app as music_app
# from omnizart.drum import app as drum_app
# from omnizart.chord import app as chord_app
def process(input_audio, model_path=None, output="./"):
pass
| 22.5 | 55 | 0.76 | 36 | 225 | 4.583333 | 0.527778 | 0.218182 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 225 | 9 | 56 | 25 | 0.873016 | 0.657778 | 0 | 0 | 0 | 0 | 0.027778 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.5 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
1df0f076e8edaf914d87c670e4935a922c169ebf | 96 | py | Python | olive/devices/error/sensor.py | liuyenting/olive-core | b532b29e29fe9f167369f66b8d922f5f644f9309 | [
"Apache-2.0"
] | null | null | null | olive/devices/error/sensor.py | liuyenting/olive-core | b532b29e29fe9f167369f66b8d922f5f644f9309 | [
"Apache-2.0"
] | null | null | null | olive/devices/error/sensor.py | liuyenting/olive-core | b532b29e29fe9f167369f66b8d922f5f644f9309 | [
"Apache-2.0"
] | null | null | null | from .base import DeviceError
class SensorError(DeviceError):
"""Generic sensor error."""
| 16 | 31 | 0.729167 | 10 | 96 | 7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 96 | 5 | 32 | 19.2 | 0.864198 | 0.21875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
38003e6eb1c58071214754a06b1d21cb6da769d6 | 188 | py | Python | registration/urls.py | allenallen/intered-web | 1dfed88081f38df6cef2d873cd3c6f6fee31dffd | [
"MIT"
] | null | null | null | registration/urls.py | allenallen/intered-web | 1dfed88081f38df6cef2d873cd3c6f6fee31dffd | [
"MIT"
] | null | null | null | registration/urls.py | allenallen/intered-web | 1dfed88081f38df6cef2d873cd3c6f6fee31dffd | [
"MIT"
] | null | null | null | from django.conf.urls import url
from django.urls import path, include
from . import views
# urlpatterns = [
# path('register/<str:uuid>', views.registration, name='register'),
# ]
| 18.8 | 71 | 0.702128 | 24 | 188 | 5.5 | 0.625 | 0.151515 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159574 | 188 | 9 | 72 | 20.888889 | 0.835443 | 0.462766 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
380256299ca76cf835a62dcc278203f1f0d6c1d4 | 5,209 | py | Python | src/test/test_sources.py | RLReed/unotran | b317107e1a39490dda732f86a731872f5207a167 | [
"MIT"
] | null | null | null | src/test/test_sources.py | RLReed/unotran | b317107e1a39490dda732f86a731872f5207a167 | [
"MIT"
] | null | null | null | src/test/test_sources.py | RLReed/unotran | b317107e1a39490dda732f86a731872f5207a167 | [
"MIT"
] | 3 | 2019-12-02T23:01:24.000Z | 2022-01-26T04:48:41.000Z | import sys
sys.path.append('../')
import unittest
import pydgm
import numpy as np
class TestSOURCES(unittest.TestCase):
def setUp(self):
# Set the variables for the test
pydgm.control.spatial_dimension = 1
pydgm.control.fine_mesh_x = [1]
pydgm.control.coarse_mesh_x = [0.0, 1.0]
... | 34.959732 | 106 | 0.64043 | 693 | 5,209 | 4.630592 | 0.17316 | 0.254285 | 0.081022 | 0.061078 | 0.791212 | 0.724213 | 0.714553 | 0.705204 | 0.659395 | 0.659395 | 0 | 0.049847 | 0.248992 | 5,209 | 148 | 107 | 35.195946 | 0.77045 | 0.033788 | 0 | 0.612069 | 0 | 0 | 0.023677 | 0 | 0 | 0 | 0 | 0 | 0.034483 | 1 | 0.077586 | false | 0 | 0.034483 | 0 | 0.137931 | 0.034483 | 0 | 0 | 0 | null | 1 | 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 | 5 |
38286ea6443f3fb0de3e1f677a331ec145d24889 | 344 | py | Python | flask_atomic/orm/mixins/columns.py | kmjbyrne/flask-kbpc | 859ea26146ea69cfff7699c75a0612388b84c756 | [
"MIT"
] | null | null | null | flask_atomic/orm/mixins/columns.py | kmjbyrne/flask-kbpc | 859ea26146ea69cfff7699c75a0612388b84c756 | [
"MIT"
] | 3 | 2020-05-29T01:28:25.000Z | 2021-04-30T21:05:42.000Z | flask_atomic/orm/mixins/columns.py | kmjbyrne/flask-kbpc | 859ea26146ea69cfff7699c75a0612388b84c756 | [
"MIT"
] | null | null | null | from sqlalchemy import Column
from sqlalchemy import Integer
from sqlalchemy import DateTime
from sqlalchemy import func
class PrimaryKeyMixin:
id = Column(Integer, primary_key=True)
class CreationTimestampMixin:
created = Column(DateTime, default=func.now())
class UpdateMixin:
updated = Column(DateTi... | 20.235294 | 50 | 0.77907 | 40 | 344 | 6.675 | 0.475 | 0.209738 | 0.299625 | 0.187266 | 0.209738 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151163 | 344 | 16 | 51 | 21.5 | 0.914384 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
384c6a9d8631ba2c2242a8885677dca37dbff362 | 223 | py | Python | testing/slides/examples/fixtures/test_fixtures.py | ramosmaria/school2021 | 3e162a05767bbc8fa6ce3f92c858d1bd639fee16 | [
"MIT"
] | 252 | 2021-05-18T11:58:17.000Z | 2022-03-12T06:48:52.000Z | testing/slides/examples/fixtures/test_fixtures.py | ramosmaria/school2021 | 3e162a05767bbc8fa6ce3f92c858d1bd639fee16 | [
"MIT"
] | 44 | 2021-05-21T14:28:34.000Z | 2021-07-12T22:36:06.000Z | testing/slides/examples/fixtures/test_fixtures.py | ramosmaria/school2021 | 3e162a05767bbc8fa6ce3f92c858d1bd639fee16 | [
"MIT"
] | 128 | 2021-05-24T18:32:54.000Z | 2022-03-26T11:24:16.000Z | import pytest
@pytest.fixture(scope='session')
def some_data():
return [1, 2, 3]
def test_using_fixture(some_data):
assert len(some_data) == 3
def test_also_using_fixture(some_data):
assert some_data[0] == 1
| 18.583333 | 39 | 0.713004 | 36 | 223 | 4.138889 | 0.5 | 0.268456 | 0.107383 | 0.268456 | 0.348993 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032086 | 0.161435 | 223 | 11 | 40 | 20.272727 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0.03139 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.375 | false | 0 | 0.125 | 0.125 | 0.625 | 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 | 1 | 1 | 0 | 0 | 5 |
698f0d389ad7717244da51971a9ca95ac873c40f | 38 | py | Python | cupy_alias/sparse/dia.py | fixstars/clpy | 693485f85397cc110fa45803c36c30c24c297df0 | [
"BSD-3-Clause"
] | 142 | 2018-06-07T07:43:10.000Z | 2021-10-30T21:06:32.000Z | cupy_alias/sparse/dia.py | fixstars/clpy | 693485f85397cc110fa45803c36c30c24c297df0 | [
"BSD-3-Clause"
] | 282 | 2018-06-07T08:35:03.000Z | 2021-03-31T03:14:32.000Z | cupy_alias/sparse/dia.py | fixstars/clpy | 693485f85397cc110fa45803c36c30c24c297df0 | [
"BSD-3-Clause"
] | 19 | 2018-06-19T11:07:53.000Z | 2021-05-13T20:57:04.000Z | from clpy.sparse.dia import * # NOQA
| 19 | 37 | 0.710526 | 6 | 38 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184211 | 38 | 1 | 38 | 38 | 0.870968 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
69a39d45576a3fcd6c58f9b4405f784682b4edd8 | 70 | py | Python | {{cookiecutter.repo_name}}/{{cookiecutter.module_name}}/{{cookiecutter.module_name}}.py | mpgomez/python_package_cookiecutter | a6152fb0fedf8f54d2427c975cdabef9aaff27f3 | [
"Apache-2.0"
] | 1 | 2019-10-09T18:32:27.000Z | 2019-10-09T18:32:27.000Z | {{cookiecutter.repo_name}}/{{cookiecutter.module_name}}/{{cookiecutter.module_name}}.py | mpgomez/python_package_cookiecutter | a6152fb0fedf8f54d2427c975cdabef9aaff27f3 | [
"Apache-2.0"
] | 4 | 2019-10-09T18:29:50.000Z | 2020-10-12T08:25:59.000Z | {{cookiecutter.repo_name}}/{{cookiecutter.module_name}}/{{cookiecutter.module_name}}.py | mpgomez/python_package_cookiecutter | a6152fb0fedf8f54d2427c975cdabef9aaff27f3 | [
"Apache-2.0"
] | null | null | null | import sys
def main():
print("Run arguments: {}", sys.argv[1:])
| 11.666667 | 44 | 0.585714 | 10 | 70 | 4.1 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017857 | 0.2 | 70 | 5 | 45 | 14 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0.242857 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
69a6c45f193f842b8e440a9e98814d1d3f26459d | 202 | py | Python | otello/__init__.py | hysds/otello | c32cb7c3c85039bf476ff6002206764ded8e6fc7 | [
"Apache-2.0"
] | null | null | null | otello/__init__.py | hysds/otello | c32cb7c3c85039bf476ff6002206764ded8e6fc7 | [
"Apache-2.0"
] | 4 | 2021-01-27T07:48:38.000Z | 2021-09-15T17:56:31.000Z | otello/__init__.py | hysds/otello | c32cb7c3c85039bf476ff6002206764ded8e6fc7 | [
"Apache-2.0"
] | null | null | null | import urllib3
from otello.ci import CI
from otello.mozart import Mozart, Job, JobType, JobSet
from otello.client import initialize
urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
| 25.25 | 67 | 0.846535 | 26 | 202 | 6.538462 | 0.576923 | 0.176471 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016484 | 0.09901 | 202 | 7 | 68 | 28.857143 | 0.917582 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.8 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
69aaf65ec788f5b7622f0910bbde1df809481b4e | 369 | py | Python | __init__.py | Michany/pycing | 761c3cd1a887d6a168909abc107c6ea0d80992d3 | [
"MIT"
] | null | null | null | __init__.py | Michany/pycing | 761c3cd1a887d6a168909abc107c6ea0d80992d3 | [
"MIT"
] | 1 | 2020-02-12T15:12:41.000Z | 2020-02-12T15:13:34.000Z | __init__.py | Michany/pycing | 761c3cd1a887d6a168909abc107c6ea0d80992d3 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
-----------------------
@Author Michael Wang
@GitHub Michany
@Website michany.xyz
-----------------------
Created on Tue Jul 2 22:17:10 2019
"""
from .core.simulator import Simulator
from .core.derivative import Derivative
from pycing.option.european import *
from pycing.option.as... | 21.705882 | 39 | 0.636856 | 45 | 369 | 5.222222 | 0.644444 | 0.12766 | 0.204255 | 0.187234 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038095 | 0.146341 | 369 | 16 | 40 | 23.0625 | 0.707937 | 0.466125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
69d2bf80798236da705fa3d980fdb6e3b58cb177 | 95 | py | Python | jybase/__init__.py | cnds/wxdemo | a445ea19ccd0b47caf6ea94e1ddec2ce3faf7d5e | [
"MIT"
] | null | null | null | jybase/__init__.py | cnds/wxdemo | a445ea19ccd0b47caf6ea94e1ddec2ce3faf7d5e | [
"MIT"
] | null | null | null | jybase/__init__.py | cnds/wxdemo | a445ea19ccd0b47caf6ea94e1ddec2ce3faf7d5e | [
"MIT"
] | null | null | null | from .database import MongoBase, RedisBase
from .authentication_base import AuthenticationBase
| 31.666667 | 51 | 0.873684 | 10 | 95 | 8.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094737 | 95 | 2 | 52 | 47.5 | 0.953488 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
3856160d49204db6d0d2e2e73b98029625d2b4f8 | 131 | py | Python | my_module.py | njmiska/ibl_code_camp_tutorials | 7f79dd0a1a81afcaa468d6af58fa681cc510c6c3 | [
"MIT"
] | null | null | null | my_module.py | njmiska/ibl_code_camp_tutorials | 7f79dd0a1a81afcaa468d6af58fa681cc510c6c3 | [
"MIT"
] | null | null | null | my_module.py | njmiska/ibl_code_camp_tutorials | 7f79dd0a1a81afcaa468d6af58fa681cc510c6c3 | [
"MIT"
] | null | null | null | print('Hello World!')
print("Here's something interesting:\n")
# Add lines here, let's make this script do something ineterting!!
| 32.75 | 67 | 0.740458 | 20 | 131 | 4.85 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129771 | 131 | 3 | 68 | 43.666667 | 0.850877 | 0.48855 | 0 | 0 | 0 | 0 | 0.671875 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
385e1480eb436fc4af7587811d3838718171d54b | 129 | py | Python | 1024 Pair and Triples.py | ansabgillani/binarysearchcomproblems | 12fe8632f8cbb5058c91a55bae53afa813a3247e | [
"MIT"
] | 1 | 2020-12-29T21:17:26.000Z | 2020-12-29T21:17:26.000Z | 1024 Pair and Triples.py | ansabgillani/binarysearchcomproblems | 12fe8632f8cbb5058c91a55bae53afa813a3247e | [
"MIT"
] | null | null | null | 1024 Pair and Triples.py | ansabgillani/binarysearchcomproblems | 12fe8632f8cbb5058c91a55bae53afa813a3247e | [
"MIT"
] | 4 | 2021-09-09T17:42:43.000Z | 2022-03-18T04:54:03.000Z | class Solution:
def solve(self, s):
return sum(3 if count%3 == 1 else count%3 for count in Counter(s).values()) == 2
| 32.25 | 88 | 0.620155 | 23 | 129 | 3.478261 | 0.782609 | 0.15 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05102 | 0.24031 | 129 | 3 | 89 | 43 | 0.765306 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
385e7f6c5a1de0865a7ecbeaffe40bcdab410798 | 66 | py | Python | 07_moduly_i_pakiety/rocket/funkcje/stats.py | krakowiakpawel9/python_kurs | 7e532a6acb135c352834e03d34512270538ec209 | [
"MIT"
] | 17 | 2020-04-08T11:20:57.000Z | 2022-03-15T16:49:37.000Z | 07_moduly_i_pakiety/rocket/funkcje/stats.py | brownmilleryt/python_kurs | 7e532a6acb135c352834e03d34512270538ec209 | [
"MIT"
] | null | null | null | 07_moduly_i_pakiety/rocket/funkcje/stats.py | brownmilleryt/python_kurs | 7e532a6acb135c352834e03d34512270538ec209 | [
"MIT"
] | 19 | 2019-12-08T18:59:44.000Z | 2022-03-02T19:09:48.000Z | # -*- coding: utf-8 -*-
def mean(x):
return sum(x) / len(x)
| 11 | 26 | 0.484848 | 11 | 66 | 2.909091 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020408 | 0.257576 | 66 | 5 | 27 | 13.2 | 0.632653 | 0.318182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
38b50b053d432d3e2b605efbfd1d097ff2e59c7e | 138 | py | Python | mechroutines/pf/ktp/__init__.py | sjklipp/mechdriver | 17c3d9bc82116954b331955e87a60e9adc5e1de9 | [
"Apache-2.0"
] | null | null | null | mechroutines/pf/ktp/__init__.py | sjklipp/mechdriver | 17c3d9bc82116954b331955e87a60e9adc5e1de9 | [
"Apache-2.0"
] | null | null | null | mechroutines/pf/ktp/__init__.py | sjklipp/mechdriver | 17c3d9bc82116954b331955e87a60e9adc5e1de9 | [
"Apache-2.0"
] | null | null | null | """ rate stuff
"""
from mechroutines.pf.ktp import rates
from mechroutines.pf.ktp import label
__all__ = [
'rates',
'label',
]
| 11.5 | 37 | 0.652174 | 17 | 138 | 5.058824 | 0.588235 | 0.372093 | 0.418605 | 0.488372 | 0.627907 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210145 | 138 | 11 | 38 | 12.545455 | 0.788991 | 0.072464 | 0 | 0 | 0 | 0 | 0.083333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
2a0f4a5db472cfe3cb81e0ad5ba0462d95bc8a38 | 180 | py | Python | app/user/views.py | joiller/flask_blog | c7eb2846a63ede03a83b46bd59f463da4393a9f1 | [
"Apache-2.0"
] | null | null | null | app/user/views.py | joiller/flask_blog | c7eb2846a63ede03a83b46bd59f463da4393a9f1 | [
"Apache-2.0"
] | null | null | null | app/user/views.py | joiller/flask_blog | c7eb2846a63ede03a83b46bd59f463da4393a9f1 | [
"Apache-2.0"
] | null | null | null | # 针对用户业务逻辑处理的视图和路由的定义
from flask import render_template
from . import user
from .. import db
from ..models import *
@user.route('/user')
def user_index():
return '这是user的首页'
| 16.363636 | 33 | 0.733333 | 23 | 180 | 5.652174 | 0.608696 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161111 | 180 | 10 | 34 | 18 | 0.860927 | 0.105556 | 0 | 0 | 0 | 0 | 0.08805 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | true | 0 | 0.571429 | 0.142857 | 0.857143 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.