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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
620a6d133892efa5081f7434e602559453493c0e | 241 | py | Python | OpenShiftLibrary/client/authclient.py | red-hat-data-services/robotframework-openshift | 154b9176edf637fdccaa84d4318638c058a11106 | [
"MIT"
] | null | null | null | OpenShiftLibrary/client/authclient.py | red-hat-data-services/robotframework-openshift | 154b9176edf637fdccaa84d4318638c058a11106 | [
"MIT"
] | null | null | null | OpenShiftLibrary/client/authclient.py | red-hat-data-services/robotframework-openshift | 154b9176edf637fdccaa84d4318638c058a11106 | [
"MIT"
] | 2 | 2022-03-17T16:21:14.000Z | 2022-03-31T08:12:47.000Z | from abc import ABC, abstractmethod
from typing import Optional
class AuthClient(ABC):
@abstractmethod
def login(self, host: str, username: str, password: str,
ssl_ca_cert: Optional[str] = None) -> str:
pass
| 21.909091 | 60 | 0.6639 | 30 | 241 | 5.266667 | 0.666667 | 0.21519 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.248963 | 241 | 10 | 61 | 24.1 | 0.872928 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0.285714 | 0.285714 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
6225780041053cbc27074fadf75452d79f98b21a | 78 | py | Python | src/bigData/nn.py | xiaoming3526/Pytorch_learning | aa9ba3f8184cf598dddb064e5182a58dc5cf6e23 | [
"Apache-2.0"
] | 3 | 2019-05-11T16:13:17.000Z | 2019-05-31T12:24:28.000Z | src/bigData/nn.py | xiaoming3526/Pytorch_learning | aa9ba3f8184cf598dddb064e5182a58dc5cf6e23 | [
"Apache-2.0"
] | null | null | null | src/bigData/nn.py | xiaoming3526/Pytorch_learning | aa9ba3f8184cf598dddb064e5182a58dc5cf6e23 | [
"Apache-2.0"
] | null | null | null | import numpy as np
num1 = [1,2,3]
num2 = [2,5,6]
print np.sort((num1+ (num2))) | 19.5 | 29 | 0.615385 | 17 | 78 | 2.823529 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 0.153846 | 78 | 4 | 29 | 19.5 | 0.575758 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.25 | null | null | 0.25 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6279efbcd5a669657c72e2e8983c9249567b330e | 431 | py | Python | polls/migrations/0005_auto_20200617_1808.py | igsnow/sparrow | 5a77b38da2faadca83bb30279cdb96d5dbc68728 | [
"Apache-2.0"
] | null | null | null | polls/migrations/0005_auto_20200617_1808.py | igsnow/sparrow | 5a77b38da2faadca83bb30279cdb96d5dbc68728 | [
"Apache-2.0"
] | null | null | null | polls/migrations/0005_auto_20200617_1808.py | igsnow/sparrow | 5a77b38da2faadca83bb30279cdb96d5dbc68728 | [
"Apache-2.0"
] | null | null | null | # Generated by Django 3.0.7 on 2020-06-17 10:08
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('polls', '0004_auto_20200617_1751'),
]
operations = [
migrations.AlterModelTable(
name='choice',
table='choice',
),
... | 19.590909 | 47 | 0.559165 | 40 | 431 | 5.95 | 0.75 | 0.210084 | 0.243697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106897 | 0.327146 | 431 | 21 | 48 | 20.52381 | 0.713793 | 0.104408 | 0 | 0.266667 | 1 | 0 | 0.145833 | 0.059896 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.066667 | 0 | 0.266667 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
627c9ddf7484c19673b0f27c0a3c80e0e7aa69b9 | 1,374 | py | Python | e2e/cli/buckets/utils/cloud/utilities.py | msleprosy/cloud-pipeline | bccc2b196fad982380efc37a1c3785098bec6c85 | [
"Apache-2.0"
] | null | null | null | e2e/cli/buckets/utils/cloud/utilities.py | msleprosy/cloud-pipeline | bccc2b196fad982380efc37a1c3785098bec6c85 | [
"Apache-2.0"
] | 378 | 2021-03-25T20:09:54.000Z | 2021-10-01T01:02:39.000Z | e2e/cli/buckets/utils/cloud/utilities.py | msleprosy/cloud-pipeline | bccc2b196fad982380efc37a1c3785098bec6c85 | [
"Apache-2.0"
] | 2 | 2019-08-09T18:04:54.000Z | 2019-08-11T19:03:06.000Z | from buckets.utils.cloud.aws_client import S3Client
from buckets.utils.cloud.azure_client import AzureClient
from buckets.utils.cloud.google_client import GsClient
from common_utils.cmd_utils import *
_clients = {
S3Client.name: S3Client,
AzureClient.name: AzureClient,
GsClient.name: GsClient
}
def get_c... | 26.941176 | 77 | 0.768559 | 192 | 1,374 | 5.182292 | 0.302083 | 0.120603 | 0.120603 | 0.076382 | 0.499497 | 0.39598 | 0.229146 | 0.160804 | 0 | 0 | 0 | 0.00253 | 0.136827 | 1,374 | 50 | 78 | 27.48 | 0.836425 | 0 | 0 | 0 | 0 | 0 | 0.026929 | 0 | 0 | 0 | 0 | 0 | 0.064516 | 1 | 0.290323 | false | 0 | 0.129032 | 0.258065 | 0.709677 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
657af6050a52e105c07ca845bdf9e38e3c93d9a0 | 267 | py | Python | datastructures/__init__.py | quantmind/datastructures | 2543dc92e3df5836af3a797cc4949d58b392c28a | [
"BSD-3-Clause"
] | 5 | 2017-01-14T21:27:23.000Z | 2018-11-25T18:06:02.000Z | datastructures/__init__.py | quantmind/datastructures | 2543dc92e3df5836af3a797cc4949d58b392c28a | [
"BSD-3-Clause"
] | 1 | 2017-06-26T20:50:59.000Z | 2017-06-26T20:50:59.000Z | datastructures/__init__.py | quantmind/datastructures | 2543dc92e3df5836af3a797cc4949d58b392c28a | [
"BSD-3-Clause"
] | 2 | 2017-02-27T10:27:38.000Z | 2020-07-04T14:31:58.000Z | from .structures import (
Tree, Node, Skiplist, Graph, GraphSearch, factorial, permutations
)
from .helpers import loadTree
__version__ = '0.1.0'
__all__ = [
'Tree', 'Node', 'Skiplist', 'Graph', 'GraphSearch',
'factorial', 'permutations', 'loadTree'
]
| 20.538462 | 69 | 0.674157 | 27 | 267 | 6.37037 | 0.592593 | 0.093023 | 0.186047 | 0.244186 | 0.616279 | 0.616279 | 0.616279 | 0 | 0 | 0 | 0 | 0.013575 | 0.172285 | 267 | 12 | 70 | 22.25 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0.247191 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.222222 | 0 | 0.222222 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
657f90fb15bd2bbec5aea103148632eff7bec1f2 | 2,612 | py | Python | tests/test_util.py | aguilerapy/kingfisher-process | 0c588076a47ecef99b195bb546903ed8125bf06a | [
"BSD-3-Clause"
] | null | null | null | tests/test_util.py | aguilerapy/kingfisher-process | 0c588076a47ecef99b195bb546903ed8125bf06a | [
"BSD-3-Clause"
] | 1 | 2019-04-22T21:17:07.000Z | 2019-04-22T21:17:07.000Z | tests/test_util.py | aguilerapy/kingfisher-process | 0c588076a47ecef99b195bb546903ed8125bf06a | [
"BSD-3-Clause"
] | null | null | null | from ocdskingfisherprocess.util import parse_string_to_date_time, parse_string_to_boolean, FileToStore, \
control_codes_to_filter_out, control_code_to_filter_out_to_human_readable
import os
def test_parse_string_to_boolean_1():
assert True == parse_string_to_boolean("true") # noqa
def test_parse_string_to_b... | 36.788732 | 120 | 0.742343 | 423 | 2,612 | 4.167849 | 0.255319 | 0.112309 | 0.132728 | 0.147476 | 0.804311 | 0.724901 | 0.626205 | 0.535451 | 0.418037 | 0.385706 | 0 | 0.035176 | 0.161945 | 2,612 | 70 | 121 | 37.314286 | 0.770215 | 0.165008 | 0 | 0.153846 | 0 | 0 | 0.108806 | 0.029046 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.282051 | false | 0 | 0.051282 | 0 | 0.333333 | 0.025641 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
65b606291c700f963c257cc6521da8cf4f2e87d4 | 982 | py | Python | tests/unit/test_stt.py | npc-engine/npc-engine | 0047794e96369c23515f794a1e77009c516a382c | [
"MIT"
] | 12 | 2021-11-10T21:03:19.000Z | 2022-03-21T21:55:34.000Z | tests/unit/test_stt.py | npc-engine/npc-engine | 0047794e96369c23515f794a1e77009c516a382c | [
"MIT"
] | 1 | 2021-12-05T14:51:44.000Z | 2021-12-05T14:51:44.000Z | tests/unit/test_stt.py | npc-engine/npc-engine | 0047794e96369c23515f794a1e77009c516a382c | [
"MIT"
] | null | null | null | """STT test."""
import numpy as np
from npc_engine.services.stt import SpeechToTextAPI
import inspect
import os
import sys
currentdir = os.path.dirname(os.path.abspath(inspect.getfile(inspect.currentframe())))
sys.path.insert(0, currentdir)
import mocks.zmq_mocks as zmq
class MockSTTModel(SpeechToTextAPI):
def ... | 20.040816 | 87 | 0.605906 | 129 | 982 | 4.496124 | 0.472868 | 0.025862 | 0.02069 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015257 | 0.265784 | 982 | 48 | 88 | 20.458333 | 0.789182 | 0.009165 | 0 | 0 | 0 | 0 | 0.037229 | 0 | 0 | 0 | 0 | 0 | 0.030303 | 1 | 0.242424 | false | 0.030303 | 0.181818 | 0.121212 | 0.606061 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
65c9bab083f959c784a7f1c1af4f16392ccbacc4 | 4,632 | py | Python | hw_06.1/Currency.py | rchintsov/python-course-hw | f8af24e54c1bb3618a1503225d945500021c4833 | [
"Apache-2.0"
] | null | null | null | hw_06.1/Currency.py | rchintsov/python-course-hw | f8af24e54c1bb3618a1503225d945500021c4833 | [
"Apache-2.0"
] | null | null | null | hw_06.1/Currency.py | rchintsov/python-course-hw | f8af24e54c1bb3618a1503225d945500021c4833 | [
"Apache-2.0"
] | null | null | null | import abc
class MyDict(dict):
"""
For retrieving and setting arguments by calling a dict object.
"""
def __call__(self, cls, val=None):
"""
Get or set a value.
:param class cls: Currency class child.
:param (int, float) val: exchange rate.
:raises ValueError: w... | 24.125 | 72 | 0.550734 | 542 | 4,632 | 4.411439 | 0.249077 | 0.066918 | 0.050188 | 0.039732 | 0.268925 | 0.153492 | 0.118361 | 0.118361 | 0.118361 | 0.09954 | 0 | 0.011491 | 0.323618 | 4,632 | 191 | 73 | 24.251309 | 0.750399 | 0.134931 | 0 | 0.201835 | 0 | 0 | 0.098127 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.211009 | false | 0.009174 | 0.009174 | 0.119266 | 0.550459 | 0.082569 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
65df0f3b73eabd9641d2a037986ae483375ebba8 | 326 | py | Python | 11-iface-abc/drum.py | matteoshen/example-code | b54c22a1b8cee3fc53d1473cb38ca46eb179b4c3 | [
"MIT"
] | 5,651 | 2015-01-06T21:58:46.000Z | 2022-03-31T13:39:07.000Z | 13-protocol-abc/drum.py | Turall/example-code-2e | 1702717182cff9a48beb55b2a9f5618e9bd1da18 | [
"MIT"
] | 42 | 2016-12-11T19:17:11.000Z | 2021-11-23T19:41:16.000Z | 13-protocol-abc/drum.py | Turall/example-code-2e | 1702717182cff9a48beb55b2a9f5618e9bd1da18 | [
"MIT"
] | 2,394 | 2015-01-18T10:57:38.000Z | 2022-03-31T11:41:12.000Z | from random import shuffle
from tombola import Tombola
class TumblingDrum(Tombola):
def __init__(self, iterable):
self._balls = []
self.load(iterable)
def load(self, iterable):
self._balls.extend(iterable)
shuffle(self._balls)
def pick(self):
return self._balls.... | 18.111111 | 36 | 0.644172 | 38 | 326 | 5.315789 | 0.447368 | 0.178218 | 0.158416 | 0.207921 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.257669 | 326 | 17 | 37 | 19.176471 | 0.834711 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0.181818 | 0.090909 | 0.636364 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
65e0e414946a2ad2615ba6bb4ee0c0425c8ae5c4 | 359 | py | Python | amocrm_api_client/models/lead/UpdateLead.py | iqtek/amocrm_api_client | 910ea42482698f5eb47d6b6e12d52ec09af77a3e | [
"MIT"
] | null | null | null | amocrm_api_client/models/lead/UpdateLead.py | iqtek/amocrm_api_client | 910ea42482698f5eb47d6b6e12d52ec09af77a3e | [
"MIT"
] | null | null | null | amocrm_api_client/models/lead/UpdateLead.py | iqtek/amocrm_api_client | 910ea42482698f5eb47d6b6e12d52ec09af77a3e | [
"MIT"
] | null | null | null | from typing import Optional
from typing import Sequence
from pydantic import BaseModel
from pydantic import Field
from .BaseLead import BaseLead
from ..Tag import Tag
class UpdateEmbedded(BaseModel):
tags: Optional[Sequence[Tag]] = None
class UpdateLead(BaseLead):
id: int
embedded: Optional[UpdateEmbe... | 19.944444 | 71 | 0.768802 | 44 | 359 | 6.25 | 0.431818 | 0.072727 | 0.116364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.158774 | 359 | 17 | 72 | 21.117647 | 0.910596 | 0 | 0 | 0 | 0 | 0 | 0.02507 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.545455 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
02a54f8f722d4cd65967ff8934e1cff8683e9ede | 224 | py | Python | kingfisher_scrapy/spiders/europe_ted_digiwhist.py | open-contracting/kingfisher-collect | 2fbbd6361a0ec959e0603343a4b363f97fae3815 | [
"BSD-3-Clause"
] | 7 | 2020-07-24T13:15:37.000Z | 2021-12-11T22:40:07.000Z | kingfisher_scrapy/spiders/europe_ted_digiwhist.py | open-contracting/kingfisher-collect | 2fbbd6361a0ec959e0603343a4b363f97fae3815 | [
"BSD-3-Clause"
] | 418 | 2020-04-27T22:15:27.000Z | 2022-03-31T23:49:34.000Z | kingfisher_scrapy/spiders/europe_ted_digiwhist.py | open-contracting/kingfisher-collect | 2fbbd6361a0ec959e0603343a4b363f97fae3815 | [
"BSD-3-Clause"
] | 6 | 2020-05-28T16:06:53.000Z | 2021-03-16T02:54:15.000Z | from kingfisher_scrapy.spiders.digiwhist_base import DigiwhistBase
class EuropeTEDDigiwhist(DigiwhistBase):
name = 'europe_ted_digiwhist'
start_urls = ['https://opentender.eu/data/files/TED_ocds_data.json.tar.gz']
| 32 | 79 | 0.799107 | 28 | 224 | 6.142857 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098214 | 224 | 6 | 80 | 37.333333 | 0.851485 | 0 | 0 | 0 | 0 | 0 | 0.348214 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
02abada91d4870754762ffdfd20fdd3220b8f658 | 17,682 | py | Python | transfreq/functions.py | elisabettavallarino/transfreq | 7e807804cf38bbee686fdf060f1b9399c806b159 | [
"BSD-3-Clause"
] | null | null | null | transfreq/functions.py | elisabettavallarino/transfreq | 7e807804cf38bbee686fdf060f1b9399c806b159 | [
"BSD-3-Clause"
] | null | null | null | transfreq/functions.py | elisabettavallarino/transfreq | 7e807804cf38bbee686fdf060f1b9399c806b159 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Thu Jul 22 16:41:37 2021
@author: elisabetta
"""
import numpy as np
import pandas as pd
from sklearn.cluster import KMeans, MeanShift
# extended names of the clustering methods
meth_names = ['1D thresholding', '1D Mean-Shift', '2D k-means', '2D adjusted k-means']
def _comput... | 40.836028 | 151 | 0.602703 | 2,581 | 17,682 | 3.958156 | 0.092212 | 0.036218 | 0.02545 | 0.024961 | 0.784652 | 0.746966 | 0.708888 | 0.692443 | 0.665916 | 0.652604 | 0 | 0.030902 | 0.273442 | 17,682 | 432 | 152 | 40.930556 | 0.764303 | 0.271632 | 0 | 0.586957 | 0 | 0.008696 | 0.093948 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.017391 | false | 0 | 0.013043 | 0 | 0.047826 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
02b05dddd65dba70d3cd70a4b9bde1ff0a25297f | 12,532 | py | Python | kmip/tests/unit/core/primitives/test_integer.py | vbnmmnbv/PyKMIP | 4617ae528006178c466fe3945a477f568b596940 | [
"Apache-2.0"
] | 12 | 2016-09-14T21:59:10.000Z | 2020-03-11T07:37:25.000Z | kmip/tests/unit/core/primitives/test_integer.py | vbnmmnbv/PyKMIP | 4617ae528006178c466fe3945a477f568b596940 | [
"Apache-2.0"
] | null | null | null | kmip/tests/unit/core/primitives/test_integer.py | vbnmmnbv/PyKMIP | 4617ae528006178c466fe3945a477f568b596940 | [
"Apache-2.0"
] | null | null | null | # Copyright (c) 2015 The Johns Hopkins University/Applied Physics Laboratory
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICEN... | 32.806283 | 77 | 0.591366 | 1,546 | 12,532 | 4.673351 | 0.115136 | 0.05564 | 0.05481 | 0.041522 | 0.789896 | 0.774118 | 0.758201 | 0.697993 | 0.683875 | 0.672941 | 0 | 0.033757 | 0.302665 | 12,532 | 381 | 78 | 32.892388 | 0.792997 | 0.171481 | 0 | 0.620087 | 0 | 0.017467 | 0.085697 | 0.054903 | 0 | 0 | 0 | 0 | 0.253275 | 1 | 0.152838 | false | 0 | 0.017467 | 0 | 0.174672 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
02ba5aca62f94f87e0edf36b2865243f383cb182 | 329 | py | Python | c01.py | nayunhwan/SMaSH_Python | 6e80520f43f6e014be2abc40d6f51f76338e3ff8 | [
"MIT"
] | null | null | null | c01.py | nayunhwan/SMaSH_Python | 6e80520f43f6e014be2abc40d6f51f76338e3ff8 | [
"MIT"
] | null | null | null | c01.py | nayunhwan/SMaSH_Python | 6e80520f43f6e014be2abc40d6f51f76338e3ff8 | [
"MIT"
] | null | null | null | #-*- coding: utf-8 -*-
birth_year = input("태어난 연도를 입력하세요.")
age = 2014 - birth_year + 1
if age >= 60:
print "노년 입니다."
elif age >= 30 and age < 60:
print "중년 입니다."
elif age >= 20 and age < 30:
print "청년 입니다."
elif age >= 13 and age < 20:
print "청소년 입니다."
elif age >= 7 and age < 13:
print "어린이 입니다."
else:
print ... | 18.277778 | 36 | 0.589666 | 60 | 329 | 3.2 | 0.483333 | 0.145833 | 0.208333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092 | 0.240122 | 329 | 18 | 37 | 18.277778 | 0.676 | 0.06383 | 0 | 0 | 0 | 0 | 0.188312 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.428571 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
02d67bd8b56e652496c390d7ccbaf05ca58a685c | 18,403 | py | Python | cmdb_sdk/api/cmdb_object/import_object_pb2.py | easyopsapis/easyops-api-python | adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0 | [
"Apache-2.0"
] | 5 | 2019-07-31T04:11:05.000Z | 2021-01-07T03:23:20.000Z | cmdb_sdk/api/cmdb_object/import_object_pb2.py | easyopsapis/easyops-api-python | adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0 | [
"Apache-2.0"
] | null | null | null | cmdb_sdk/api/cmdb_object/import_object_pb2.py | easyopsapis/easyops-api-python | adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: import_object.proto
import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protob... | 44.559322 | 1,534 | 0.753953 | 2,278 | 18,403 | 5.789728 | 0.081212 | 0.050952 | 0.052544 | 0.043673 | 0.772765 | 0.699522 | 0.673895 | 0.644325 | 0.611798 | 0.601183 | 0 | 0.037383 | 0.122045 | 18,403 | 412 | 1,535 | 44.667476 | 0.778919 | 0.035212 | 0 | 0.688 | 1 | 0.005333 | 0.141464 | 0.097447 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.224 | 0 | 0.224 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
02d9a856a529588357095ba417e95b363aa1f9f2 | 4,685 | py | Python | pippr.py | SimonLarsen/pippr | 8741072f2ef86b9630ea158fd8a615695410a71f | [
"MIT"
] | null | null | null | pippr.py | SimonLarsen/pippr | 8741072f2ef86b9630ea158fd8a615695410a71f | [
"MIT"
] | null | null | null | pippr.py | SimonLarsen/pippr | 8741072f2ef86b9630ea158fd8a615695410a71f | [
"MIT"
] | null | null | null | import time
import pickle
"""
"pips" er en liste der skal indeholder alle pip der er blevet skrevet.
Hvert pip skal været et dictionary der indeholder følgende tre felter:
username: Brugernavnet på forfatteren af pippet. (str)
text: Selve brødteksten for pippet. (str)
time: Dato og klokkeslæt for pippet. (... | 31.870748 | 174 | 0.726788 | 667 | 4,685 | 5.085457 | 0.269865 | 0.049528 | 0.040684 | 0.045696 | 0.215802 | 0.151238 | 0.120873 | 0.093455 | 0.077535 | 0.077535 | 0 | 0.003946 | 0.188687 | 4,685 | 147 | 175 | 31.870748 | 0.88845 | 0 | 0 | 0.142857 | 0 | 0 | 0.161243 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.238095 | false | 0.119048 | 0.047619 | 0.119048 | 0.5 | 0.02381 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 3 |
02ee09150b25fcd1233d6629daf6c2360243665b | 190 | py | Python | problem0149.py | kmarcini/Project-Euler-Python | d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3 | [
"BSD-3-Clause"
] | null | null | null | problem0149.py | kmarcini/Project-Euler-Python | d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3 | [
"BSD-3-Clause"
] | null | null | null | problem0149.py | kmarcini/Project-Euler-Python | d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3 | [
"BSD-3-Clause"
] | null | null | null | ###########################
#
# #149 Searching for a maximum-sum subsequence - Project Euler
# https://projecteuler.net/problem=149
#
# Code by Kevin Marciniak
#
###########################
| 21.111111 | 62 | 0.521053 | 18 | 190 | 5.5 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035714 | 0.115789 | 190 | 8 | 63 | 23.75 | 0.553571 | 0.631579 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
02f1c882b554ca02b47d30b7f77bd2a140b1c189 | 2,057 | py | Python | cthaeh/tools/factories_ir.py | ethereum/cthaeh | faec68da2a63d14329c7499e9161350cd2382c04 | [
"MIT"
] | 2 | 2020-09-17T11:23:18.000Z | 2021-11-04T14:15:27.000Z | cthaeh/tools/factories_ir.py | ethereum/cthaeh | faec68da2a63d14329c7499e9161350cd2382c04 | [
"MIT"
] | 8 | 2020-04-28T18:23:44.000Z | 2020-05-05T00:51:09.000Z | cthaeh/tools/factories_ir.py | ethereum/cthaeh | faec68da2a63d14329c7499e9161350cd2382c04 | [
"MIT"
] | 5 | 2020-04-27T18:30:54.000Z | 2022-03-28T18:55:30.000Z | import secrets
from cthaeh.ir import Block, Header, Log, Receipt, Transaction
from .factories_common import AddressFactory, Hash32Factory
try:
import factory
except ImportError as err:
raise ImportError(
"The `factory-boy` library is required to use the `alexandria.tools.factories` module"
) from... | 23.11236 | 94 | 0.680603 | 222 | 2,057 | 6.234234 | 0.391892 | 0.192197 | 0.208092 | 0.086705 | 0.290462 | 0.197977 | 0.137283 | 0 | 0 | 0 | 0 | 0.041061 | 0.230433 | 2,057 | 88 | 95 | 23.375 | 0.833228 | 0.064657 | 0 | 0.216667 | 0 | 0 | 0.05428 | 0.014614 | 0 | 0 | 0 | 0.011364 | 0 | 1 | 0 | false | 0 | 0.1 | 0 | 0.866667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
02f6f17e074b896df3a1d692e413e71724b8512e | 94 | py | Python | python/testData/inspections/PyStringFormatInspection/NoTypeMismatchOnElementsOfTupleDeclaration.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/inspections/PyStringFormatInspection/NoTypeMismatchOnElementsOfTupleDeclaration.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/inspections/PyStringFormatInspection/NoTypeMismatchOnElementsOfTupleDeclaration.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | args = ('foo', 'bar')
s = '%d %d' % <warning descr="Unexpected type (str, str)">args</warning> | 47 | 72 | 0.595745 | 14 | 94 | 4 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138298 | 94 | 2 | 72 | 47 | 0.691358 | 0 | 0 | 0 | 0 | 0 | 0.389474 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
02f83e268e85f968e7f242e33d899b5ede5c9e20 | 783 | py | Python | inkscopeCtrl/model/S3Object.py | ghisl1/inkscope | ae3908033678eaf376d37675971c4ea4b1218204 | [
"Apache-2.0"
] | 200 | 2015-01-08T16:17:33.000Z | 2021-11-16T09:57:07.000Z | inkscopeCtrl/model/S3Object.py | ghisl1/inkscope | ae3908033678eaf376d37675971c4ea4b1218204 | [
"Apache-2.0"
] | 67 | 2015-01-08T16:46:51.000Z | 2020-04-03T09:07:56.000Z | inkscopeCtrl/model/S3Object.py | ghisl1/inkscope | ae3908033678eaf376d37675971c4ea4b1218204 | [
"Apache-2.0"
] | 76 | 2015-01-17T11:46:57.000Z | 2019-12-11T10:07:07.000Z | __author__ = 'Alexis.Koalla@orange.com'
import json
class S3Object:
def __init__(self,id, bucketName,bucketId,poolId,poolName,poolType,size,chunks=[],pgs=[], osds=[]):
self.id=id
self.bucketName=bucketName
self.bucketId=bucketId
self.poolId=poolId
self.poolName=poolName
... | 24.46875 | 103 | 0.634738 | 99 | 783 | 4.888889 | 0.393939 | 0.123967 | 0.144628 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003448 | 0.259259 | 783 | 32 | 104 | 24.46875 | 0.831034 | 0 | 0 | 0 | 0 | 0 | 0.030612 | 0.030612 | 0 | 0 | 0 | 0 | 0 | 1 | 0.269231 | false | 0 | 0.038462 | 0.230769 | 0.576923 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
02f95ffc368b28add98c62494fd3b3c139ae797b | 1,691 | py | Python | leo/plugins/leo_cloud_server.py | leonidborisenko/leo-editor | db55bd00c94fb8501795284453891ad64ce12af9 | [
"MIT"
] | 2 | 2020-01-19T18:11:05.000Z | 2020-01-19T18:12:07.000Z | leo/plugins/leo_cloud_server.py | leonidborisenko/leo-editor | db55bd00c94fb8501795284453891ad64ce12af9 | [
"MIT"
] | 1 | 2020-01-15T01:57:04.000Z | 2020-01-15T01:57:04.000Z | leo/plugins/leo_cloud_server.py | leonidborisenko/leo-editor | db55bd00c94fb8501795284453891ad64ce12af9 | [
"MIT"
] | null | null | null | """
leo_cloud.py - synchronize Leo subtrees with remote central server
Terry N. Brown, terrynbrown@gmail.com, Fri Sep 22 10:34:10 2017
(this is the server half, see also leo_cloud.py for the Leo plugin)
This file is a *stub* for a Leo aware LeoCloudIOLeoServer which allows more
granular and real-time synchronization... | 30.745455 | 79 | 0.746895 | 288 | 1,691 | 4.371528 | 0.611111 | 0.025417 | 0.023828 | 0.017474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023564 | 0.196925 | 1,691 | 54 | 80 | 31.314815 | 0.903535 | 0.988764 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0.018519 | null | 1 | null | true | 0 | 0 | null | null | null | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
02fe3aff30df10a3cd08cd1c22ff289832752d2d | 230 | py | Python | setup.py | drewsberry/diffcp | 7110c96114f22f8c3cfca3856725e3264e9981a7 | [
"MIT"
] | 1 | 2018-07-03T09:02:10.000Z | 2018-07-03T09:02:10.000Z | setup.py | drewsberry/diffcp | 7110c96114f22f8c3cfca3856725e3264e9981a7 | [
"MIT"
] | 1 | 2020-06-19T08:29:56.000Z | 2020-06-19T08:29:56.000Z | setup.py | drewsberry/diffcp | 7110c96114f22f8c3cfca3856725e3264e9981a7 | [
"MIT"
] | null | null | null | from distutils.core import setup
setup(name="diffcp",
version="1.0",
description="Copy unique files only.",
author="Drew Silcock",
author_email="drew@drewsilcock.co.uk",
packages=["diffcp"],
)
| 23 | 44 | 0.626087 | 27 | 230 | 5.296296 | 0.851852 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011236 | 0.226087 | 230 | 9 | 45 | 25.555556 | 0.792135 | 0 | 0 | 0 | 0 | 0 | 0.313043 | 0.095652 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.125 | 0 | 0.125 | 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 | 0 | 0 | 0 | 0 | 0 | 3 |
f31e9b2a16c595559e4ee8fdd690bcc5e4f17995 | 194 | py | Python | tests/__init__.py | planck-npipe/toast-npipe | ca3e92ea3a81a6146e246ec1d0c5bdcaea3b49f2 | [
"BSD-2-Clause"
] | 1 | 2021-04-20T08:09:35.000Z | 2021-04-20T08:09:35.000Z | tests/__init__.py | planck-npipe/toast-npipe | ca3e92ea3a81a6146e246ec1d0c5bdcaea3b49f2 | [
"BSD-2-Clause"
] | null | null | null | tests/__init__.py | planck-npipe/toast-npipe | ca3e92ea3a81a6146e246ec1d0c5bdcaea3b49f2 | [
"BSD-2-Clause"
] | null | null | null | # Copyright (c) 2015-2018 by the parties listed in the AUTHORS
# file. All rights reserved. Use of this source code is governed
# by a BSD-style license that can be found in the LICENSE file.
| 48.5 | 66 | 0.752577 | 35 | 194 | 4.171429 | 0.828571 | 0.068493 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051282 | 0.195876 | 194 | 3 | 67 | 64.666667 | 0.884615 | 0.963918 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b83a4f7678073fa228987ced174b3749c716bd73 | 3,834 | py | Python | usaspending_api/references/migrations/0024_refcfdaprograminfo.py | toolness/usaspending-api | ed9a396e20a52749f01f43494763903cc371f9c2 | [
"CC0-1.0"
] | 1 | 2021-06-17T05:09:00.000Z | 2021-06-17T05:09:00.000Z | usaspending_api/references/migrations/0024_refcfdaprograminfo.py | toolness/usaspending-api | ed9a396e20a52749f01f43494763903cc371f9c2 | [
"CC0-1.0"
] | null | null | null | usaspending_api/references/migrations/0024_refcfdaprograminfo.py | toolness/usaspending-api | ed9a396e20a52749f01f43494763903cc371f9c2 | [
"CC0-1.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.10.1 on 2016-10-20 19:43
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('references', '0023_auto_20161013_1423'),
]
operations = [
migrations.Create... | 58.984615 | 103 | 0.613198 | 393 | 3,834 | 5.793893 | 0.320611 | 0.137022 | 0.205534 | 0.276241 | 0.589372 | 0.563022 | 0.240668 | 0.038647 | 0 | 0 | 0 | 0.011411 | 0.245696 | 3,834 | 64 | 104 | 59.90625 | 0.775934 | 0.017736 | 0 | 0 | 1 | 0 | 0.220834 | 0.132341 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.035088 | 0 | 0.087719 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b84921da419309ee3c86e570acab683e5184b47f | 1,968 | py | Python | messaging/nutrimatic/tea_requests.py | iancooper/RpcIsEvil | aca8d506691791d7f24fcb561fcca92a54dc3058 | [
"MIT"
] | null | null | null | messaging/nutrimatic/tea_requests.py | iancooper/RpcIsEvil | aca8d506691791d7f24fcb561fcca92a54dc3058 | [
"MIT"
] | null | null | null | messaging/nutrimatic/tea_requests.py | iancooper/RpcIsEvil | aca8d506691791d7f24fcb561fcca92a54dc3058 | [
"MIT"
] | 2 | 2020-10-08T21:08:14.000Z | 2021-03-24T11:00:05.000Z | """"
File : tea_requests.py
Author : ian
Created : 11-13-2016
Last Modified By : ian
Last Modified On : 11-13-2016
***********************************************************************
The MIT License (MIT)
Copyright © 2016 Ian Cooper <ian_hammond_cooper@yahoo.co.uk>
Permission is here... | 35.781818 | 87 | 0.688008 | 275 | 1,968 | 4.807273 | 0.494545 | 0.066566 | 0.037821 | 0.02118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013759 | 0.1875 | 1,968 | 54 | 88 | 36.444444 | 0.812383 | 0.707825 | 0 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.055556 | 0.166667 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
b875dbfafed2e15bd4d66e6afc402a8cd1978ac7 | 31,492 | py | Python | tools/scripts.py | LANCEREN/simpleAICV-pytorch-ImageNet-COCO-training | 86c1b38df3cdcb195ec5b6229c343f07a52aeb7b | [
"MIT"
] | 154 | 2020-05-31T08:31:12.000Z | 2021-05-14T02:46:32.000Z | tools/scripts.py | LANCEREN/simpleAICV-pytorch-ImageNet-COCO-training | 86c1b38df3cdcb195ec5b6229c343f07a52aeb7b | [
"MIT"
] | 11 | 2021-05-20T09:02:50.000Z | 2022-01-20T09:55:47.000Z | tools/scripts.py | LANCEREN/simpleAICV-pytorch-ImageNet-COCO-training | 86c1b38df3cdcb195ec5b6229c343f07a52aeb7b | [
"MIT"
] | 37 | 2020-07-20T06:14:25.000Z | 2021-05-18T01:27:19.000Z | import collections
import numpy as np
import os
import time
from tqdm import tqdm
from apex import amp
import torch
import torch.nn.functional as F
from pycocotools.cocoeval import COCOeval
from simpleAICV.classification.common import ClassificationDataPrefetcher, AverageMeter, accuracy
from simpleAICV.detection.comm... | 35.949772 | 209 | 0.582148 | 3,967 | 31,492 | 4.388959 | 0.080161 | 0.057894 | 0.019298 | 0.006892 | 0.779048 | 0.754236 | 0.712883 | 0.689449 | 0.648096 | 0.642582 | 0 | 0.025062 | 0.303125 | 31,492 | 875 | 210 | 35.990857 | 0.768295 | 0.051854 | 0 | 0.636508 | 0 | 0.006349 | 0.076882 | 0.043284 | 0 | 0 | 0 | 0 | 0.003175 | 1 | 0.022222 | false | 0 | 0.019048 | 0 | 0.066667 | 0.009524 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b8881f48ade5c96faac6b9ca70632f135b50c804 | 202 | py | Python | nni/common/version.py | dutxubo/nni | c16f4e1c89b54b8b80661ef0072433d255ad2d24 | [
"MIT"
] | 9,680 | 2019-05-07T01:42:30.000Z | 2022-03-31T16:48:33.000Z | nni/common/version.py | dutxubo/nni | c16f4e1c89b54b8b80661ef0072433d255ad2d24 | [
"MIT"
] | 1,957 | 2019-05-06T21:44:21.000Z | 2022-03-31T09:21:53.000Z | nni/common/version.py | dutxubo/nni | c16f4e1c89b54b8b80661ef0072433d255ad2d24 | [
"MIT"
] | 1,571 | 2019-05-07T06:42:55.000Z | 2022-03-31T03:19:24.000Z | import logging
try:
import torch
TORCH_VERSION = tuple(int(x) for x in torch.__version__.split(".")[:2])
except Exception:
logging.info("PyTorch is not installed.")
TORCH_VERSION = None
| 25.25 | 75 | 0.69802 | 28 | 202 | 4.821429 | 0.714286 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006061 | 0.183168 | 202 | 7 | 76 | 28.857143 | 0.812121 | 0 | 0 | 0 | 0 | 0 | 0.128713 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.285714 | 0 | 0.285714 | 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 | 0 | 0 | 0 | 0 | 0 | 3 |
b8b94e1e8dd5a6fa3e8156a2e2c7d31c0c8a8f9a | 150 | py | Python | xml_translator/example.py | julianogouveia/xml-translator | 74166be7a7de5455bf475ccbc861b7cffc3d5f6e | [
"MIT"
] | 1 | 2019-12-06T13:31:24.000Z | 2019-12-06T13:31:24.000Z | xml_translator/example.py | julianogouveia/xml-translator | 74166be7a7de5455bf475ccbc861b7cffc3d5f6e | [
"MIT"
] | null | null | null | xml_translator/example.py | julianogouveia/xml-translator | 74166be7a7de5455bf475ccbc861b7cffc3d5f6e | [
"MIT"
] | null | null | null | from .translator import XMLTranslator
with open('example.map') as mapping, open('example.xml') as xml:
xml_translator = XMLTranslator(mapping, xml) | 30 | 64 | 0.773333 | 20 | 150 | 5.75 | 0.55 | 0.191304 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113333 | 150 | 5 | 65 | 30 | 0.864662 | 0 | 0 | 0 | 0 | 0 | 0.145695 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
b8c392328cf6141aba93ac6271aa2ecd05fb52a9 | 189 | py | Python | tests/test_console.py | sourcery-ai-bot/btrackers-postman | b14bca146b7557ec6c258865aa165a59d64aa486 | [
"Apache-2.0"
] | 15 | 2017-11-04T10:01:35.000Z | 2020-06-09T01:29:22.000Z | tests/test_console.py | sourcery-ai-bot/btrackers-postman | b14bca146b7557ec6c258865aa165a59d64aa486 | [
"Apache-2.0"
] | null | null | null | tests/test_console.py | sourcery-ai-bot/btrackers-postman | b14bca146b7557ec6c258865aa165a59d64aa486 | [
"Apache-2.0"
] | 3 | 2019-04-08T19:45:36.000Z | 2020-06-09T01:29:24.000Z | # -*- coding: utf-8 -*-
# Created by asmoekr on 04/11/2017.
from unittest import TestCase
from btp.run import main
class TestConsole(TestCase):
def test_basic(self):
main()
| 15.75 | 35 | 0.671958 | 27 | 189 | 4.666667 | 0.851852 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060403 | 0.21164 | 189 | 11 | 36 | 17.181818 | 0.785235 | 0.291005 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
b217f84a18b21e5516c5191255369cbbebed4320 | 1,351 | py | Python | substitution files/reports/__init__.py | HaotianRen12/OpenAPS-Glucosym-3.9 | 3eb577a88b8bc3d3a31e6b96ac918fa50dfd532f | [
"Unlicense",
"MIT"
] | 1 | 2022-02-09T00:15:52.000Z | 2022-02-09T00:15:52.000Z | substitution files/reports/__init__.py | HaotianRen12/OpenAPS-Glucosym-3.9 | 3eb577a88b8bc3d3a31e6b96ac918fa50dfd532f | [
"Unlicense",
"MIT"
] | null | null | null | substitution files/reports/__init__.py | HaotianRen12/OpenAPS-Glucosym-3.9 | 3eb577a88b8bc3d3a31e6b96ac918fa50dfd532f | [
"Unlicense",
"MIT"
] | 2 | 2021-09-09T15:35:43.000Z | 2021-09-09T15:58:44.000Z |
from . import add, remove, show, invoke
from openaps.cli.subcommand import Subcommand
from openaps.cli.commandmapapp import CommandMapApp
from .report import Report
def get_devices (conf):
return Report.FromConfig(conf)
def get_report_names (conf):
return [report.name for report in Report.FromConfig(conf)]
de... | 25.018519 | 60 | 0.736491 | 163 | 1,351 | 5.981595 | 0.306748 | 0.049231 | 0.061538 | 0.055385 | 0.157949 | 0.108718 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168024 | 1,351 | 53 | 61 | 25.490566 | 0.867438 | 0.028127 | 0 | 0.125 | 0 | 0 | 0.025307 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.225 | false | 0 | 0.1 | 0.175 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
b21802ae59d17adc4a6e37c4b5fef708d06c98c0 | 683 | py | Python | mmdet/core/bbox/coder/__init__.py | liuyanyi/mmdetection | d2003536af6f08cb9bd7a75e0444eef03ace4bb3 | [
"Apache-2.0"
] | null | null | null | mmdet/core/bbox/coder/__init__.py | liuyanyi/mmdetection | d2003536af6f08cb9bd7a75e0444eef03ace4bb3 | [
"Apache-2.0"
] | null | null | null | mmdet/core/bbox/coder/__init__.py | liuyanyi/mmdetection | d2003536af6f08cb9bd7a75e0444eef03ace4bb3 | [
"Apache-2.0"
] | null | null | null | from .base_bbox_coder import BaseBBoxCoder
from .bucketing_bbox_coder import BucketingBBoxCoder
from .delta_xywh_bbox_coder import DeltaXYWHBBoxCoder
from .legacy_delta_xywh_bbox_coder import LegacyDeltaXYWHBBoxCoder
from .pseudo_bbox_coder import PseudoBBoxCoder
from .tblr_bbox_coder import TBLRBBoxCoder
from .yolo_bb... | 42.6875 | 72 | 0.853587 | 70 | 683 | 7.928571 | 0.342857 | 0.145946 | 0.216216 | 0.064865 | 0.169369 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004831 | 0.090776 | 683 | 15 | 73 | 45.533333 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0.225476 | 0.065886 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.642857 | 0 | 0.642857 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
b23584dbb6aefefae1238a65d2ed52152bda0406 | 1,267 | py | Python | leetCodeSolutionsPython/tests/test_generateParenthesis.py | hpnog/computingProblems | 3047e54db83a4c8d3cbcdc46496230f950a5d0b7 | [
"MIT"
] | null | null | null | leetCodeSolutionsPython/tests/test_generateParenthesis.py | hpnog/computingProblems | 3047e54db83a4c8d3cbcdc46496230f950a5d0b7 | [
"MIT"
] | 7 | 2019-12-19T16:04:18.000Z | 2020-01-02T20:03:58.000Z | leetCodeSolutionsPython/tests/test_generateParenthesis.py | hpnog/computingProblems | 3047e54db83a4c8d3cbcdc46496230f950a5d0b7 | [
"MIT"
] | null | null | null | import generateParenthesis
import unittest
class GenerateParenthesisCase(unittest.TestCase):
def setUp(self):
pass
def tearDown(self):
pass
def test_generate_parenthesis(self):
s = generateParenthesis.Solution()
for num, sol in [
(3, ["(... | 50.68 | 621 | 0.217048 | 46 | 1,267 | 5.934783 | 0.608696 | 0.058608 | 0.080586 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004306 | 0.266772 | 1,267 | 25 | 622 | 50.68 | 0.289559 | 0 | 0 | 0.1 | 1 | 0 | 0.356467 | 0 | 0 | 0 | 0 | 0 | 0.05 | 1 | 0.15 | false | 0.1 | 0.1 | 0 | 0.3 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
b2377bb4e96c8fad9f8176924dd0728b2d600f86 | 1,608 | py | Python | python/cuml/dask/datasets/utils.py | garanews/cuml | 318f521a1d2681f4622a44921d27b5f592fe4407 | [
"Apache-2.0"
] | 2,743 | 2018-10-11T17:28:58.000Z | 2022-03-31T19:20:50.000Z | python/cuml/dask/datasets/utils.py | garanews/cuml | 318f521a1d2681f4622a44921d27b5f592fe4407 | [
"Apache-2.0"
] | 4,280 | 2018-10-11T22:29:57.000Z | 2022-03-31T22:02:44.000Z | python/cuml/dask/datasets/utils.py | garanews/cuml | 318f521a1d2681f4622a44921d27b5f592fe4407 | [
"Apache-2.0"
] | 454 | 2018-10-11T17:40:56.000Z | 2022-03-25T17:07:09.000Z | #
# Copyright (c) 2020, NVIDIA CORPORATION.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed ... | 30.923077 | 74 | 0.646144 | 234 | 1,608 | 4.358974 | 0.487179 | 0.058824 | 0.02549 | 0.031373 | 0.056863 | 0.056863 | 0 | 0 | 0 | 0 | 0 | 0.012017 | 0.275498 | 1,608 | 51 | 75 | 31.529412 | 0.863519 | 0.528607 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.235294 | false | 0 | 0.176471 | 0.117647 | 0.647059 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
b258878786b75dce8ad06a8493a4852d43439821 | 443 | py | Python | feline/jobposts/migrations/0012_auto_20211103_0559.py | LordFitoi/feline | d519c1abdce03ddb3487e479460f2f9d58d48778 | [
"MIT"
] | 6 | 2021-10-13T01:05:27.000Z | 2021-11-10T03:15:15.000Z | feline/jobposts/migrations/0012_auto_20211103_0559.py | LordFitoi/feline | d519c1abdce03ddb3487e479460f2f9d58d48778 | [
"MIT"
] | 1 | 2022-03-30T21:26:16.000Z | 2022-03-30T21:26:16.000Z | feline/jobposts/migrations/0012_auto_20211103_0559.py | LordFitoi/feline | d519c1abdce03ddb3487e479460f2f9d58d48778 | [
"MIT"
] | 1 | 2021-11-10T13:32:21.000Z | 2021-11-10T13:32:21.000Z | # Generated by Django 3.1.13 on 2021-11-03 09:59
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('jobposts', '0011_auto_20211103_0544'),
]
operations = [
migrations.RemoveField(
model_name='company',
name='view_count',
... | 20.136364 | 48 | 0.571106 | 44 | 443 | 5.590909 | 0.727273 | 0.170732 | 0.211382 | 0.243902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10596 | 0.318284 | 443 | 21 | 49 | 21.095238 | 0.708609 | 0.103837 | 0 | 0.4 | 1 | 0 | 0.164557 | 0.058228 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.066667 | 0 | 0.266667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b26f187c7f282af61499c4a6d7b1e1a7e222379d | 5,606 | py | Python | pycatia/hybrid_shape_interfaces/hybrid_shape_transfer.py | evereux/catia_python | 08948585899b12587b0415ce3c9191a408b34897 | [
"MIT"
] | 90 | 2019-02-21T10:05:28.000Z | 2022-03-19T01:53:41.000Z | pycatia/hybrid_shape_interfaces/hybrid_shape_transfer.py | Luanee/pycatia | ea5eef8178f73de12404561c00baf7a7ca30da59 | [
"MIT"
] | 99 | 2019-05-21T08:29:12.000Z | 2022-03-25T09:55:15.000Z | pycatia/hybrid_shape_interfaces/hybrid_shape_transfer.py | Luanee/pycatia | ea5eef8178f73de12404561c00baf7a7ca30da59 | [
"MIT"
] | 26 | 2019-04-04T06:31:36.000Z | 2022-03-30T07:24:47.000Z | #! usr/bin/python3.6
"""
Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-07-06 14:02:20.222384
.. warning::
The notes denoted "CAA V5 Visual Basic Help" are to be used as reference only.
They are there as a guide as to how the visual basic / catscript function... | 29.97861 | 108 | 0.545309 | 557 | 5,606 | 5.35009 | 0.231598 | 0.051678 | 0.082886 | 0.084899 | 0.546309 | 0.435235 | 0.354698 | 0.347987 | 0.329195 | 0.298322 | 0 | 0.045887 | 0.381912 | 5,606 | 186 | 109 | 30.139785 | 0.814141 | 0.521406 | 0 | 0.131579 | 1 | 0 | 0.020956 | 0.020956 | 0 | 0 | 0 | 0 | 0 | 1 | 0.315789 | false | 0 | 0.052632 | 0.026316 | 0.552632 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
b27d485d469b532a016ac931b3c92df6632581ed | 123 | py | Python | group3-module1-tobechukwu/Tasks/Python Image resize/hello.py | cornelia247/cil-internship-cohort-01 | b8184337056d378eab16d26b40b26ed58cd177bb | [
"MIT"
] | null | null | null | group3-module1-tobechukwu/Tasks/Python Image resize/hello.py | cornelia247/cil-internship-cohort-01 | b8184337056d378eab16d26b40b26ed58cd177bb | [
"MIT"
] | null | null | null | group3-module1-tobechukwu/Tasks/Python Image resize/hello.py | cornelia247/cil-internship-cohort-01 | b8184337056d378eab16d26b40b26ed58cd177bb | [
"MIT"
] | null | null | null | from PIL import Image
img = Image.open("img_resize.jpg")
re_img = img.resize((700,300))
re_img.show()
#img.show()
| 15.375 | 35 | 0.658537 | 21 | 123 | 3.714286 | 0.571429 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0.170732 | 123 | 7 | 36 | 17.571429 | 0.705882 | 0.081301 | 0 | 0 | 0 | 0 | 0.133333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 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 | 0 | 0 | 0 | 0 | 0 | 3 |
b2a6abc943e21e3869a290a4c1c124b629d82619 | 145 | py | Python | set1/p1_2_1.py | Felpezs/IPL_2021 | eaef2baec96f16c1486f4ec5af6eff097f81fcd2 | [
"MIT"
] | 1 | 2021-07-08T19:28:06.000Z | 2021-07-08T19:28:06.000Z | set1/p1_2_1.py | Felpezs/IPL_2021 | eaef2baec96f16c1486f4ec5af6eff097f81fcd2 | [
"MIT"
] | null | null | null | set1/p1_2_1.py | Felpezs/IPL_2021 | eaef2baec96f16c1486f4ec5af6eff097f81fcd2 | [
"MIT"
] | null | null | null | numbers = [5, 6, 7, 12, 29]
med = 0
out = None
if(len(numbers) != 0):
for n in numbers:
med += n
out = med/len(numbers) | 16.111111 | 28 | 0.489655 | 24 | 145 | 2.958333 | 0.625 | 0.28169 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095745 | 0.351724 | 145 | 9 | 29 | 16.111111 | 0.659574 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a23723e3cbc69256525d27c68daa0bbc2b50b37f | 1,581 | py | Python | tests/data/networks/C_CA.py | uw-ipd/privileged_residues | 78078c22ba537651a1b6bd1404c05246ab73a3e3 | [
"Apache-2.0"
] | null | null | null | tests/data/networks/C_CA.py | uw-ipd/privileged_residues | 78078c22ba537651a1b6bd1404c05246ab73a3e3 | [
"Apache-2.0"
] | 20 | 2018-08-13T22:50:46.000Z | 2018-11-03T22:29:03.000Z | tests/data/networks/C_CA.py | uw-ipd/privileged_residues | 78078c22ba537651a1b6bd1404c05246ab73a3e3 | [
"Apache-2.0"
] | 1 | 2018-08-25T06:03:43.000Z | 2018-08-25T06:03:43.000Z | from tests.util import pick_ray
from pyrosetta import Pose
from pyrosetta.rosetta.core.import_pose import pose_from_pdbstring
name = "C_CA"
contents = """
HETNAM C__ A 1 C__
HETNAM CA_ A 2 CA_
HETATM 1 CV C__ A 1 6.947 3.607 -1.526 1.00 0.00 X
HETATM 2 CD C__ A 1 ... | 29.830189 | 78 | 0.489564 | 290 | 1,581 | 2.551724 | 0.268966 | 0.040541 | 0.054054 | 0.081081 | 0.272973 | 0.177027 | 0 | 0 | 0 | 0 | 0 | 0.275565 | 0.412397 | 1,581 | 52 | 79 | 30.403846 | 0.52099 | 0 | 0 | 0.043478 | 0 | 0.217391 | 0.683112 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.065217 | 0 | 0.065217 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a239825b4714974b8121a54b504429aee8ba97c4 | 424 | py | Python | surefire/shared/linear_block.py | jasonkriss/surefire | 55365939dbb4a7e41ec28fa40471a6c1e8dd23a1 | [
"MIT"
] | null | null | null | surefire/shared/linear_block.py | jasonkriss/surefire | 55365939dbb4a7e41ec28fa40471a6c1e8dd23a1 | [
"MIT"
] | null | null | null | surefire/shared/linear_block.py | jasonkriss/surefire | 55365939dbb4a7e41ec28fa40471a6c1e8dd23a1 | [
"MIT"
] | null | null | null | from torch.nn import Module, Sequential, Dropout, ReLU, Linear
class LinearBlock(Module):
def __init__(self, in_features, out_features, dropout=None):
super().__init__()
self._sequential = Sequential(Linear(in_features, out_features), ReLU())
if dropout:
self._sequential.add_mo... | 32.615385 | 80 | 0.669811 | 49 | 424 | 5.469388 | 0.489796 | 0.156716 | 0.097015 | 0.156716 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.21934 | 424 | 12 | 81 | 35.333333 | 0.809668 | 0 | 0 | 0 | 0 | 0 | 0.016509 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0.111111 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
a252d488a916fd2d61cef4209a7e8aaf3ead6767 | 615 | py | Python | conf/settings.py | uw-it-aca/uw-restclients-django-utils | 1b2e883f422c256a5ef6e3737f4dde65cc3b1e96 | [
"Apache-2.0"
] | null | null | null | conf/settings.py | uw-it-aca/uw-restclients-django-utils | 1b2e883f422c256a5ef6e3737f4dde65cc3b1e96 | [
"Apache-2.0"
] | 119 | 2017-03-22T04:48:56.000Z | 2021-11-12T18:55:40.000Z | conf/settings.py | uw-it-aca/uw-restclients-django-utils | 1b2e883f422c256a5ef6e3737f4dde65cc3b1e96 | [
"Apache-2.0"
] | null | null | null |
INSTALLED_APPS += [
'userservice',
'rc_django'
]
MIDDLEWARE += [
'userservice.user.UserServiceMiddleware',
]
TEMPLATES = [
{
'BACKEND': 'django.template.backends.django.DjangoTemplates',
'APP_DIRS': True,
'OPTIONS': {
'debug': True,
'context_processors... | 23.653846 | 70 | 0.564228 | 46 | 615 | 7.369565 | 0.521739 | 0.250737 | 0.123894 | 0.182891 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.307317 | 615 | 25 | 71 | 24.6 | 0.795775 | 0 | 0 | 0 | 0 | 0 | 0.530945 | 0.425081 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a27ebe0276ce819ab28f6cb94c47d343d4d225a5 | 973 | py | Python | utils/audio.py | LEEYOONHYUNG/MelNet | ea899847658a2e6784f706663d130c56258839de | [
"MIT"
] | null | null | null | utils/audio.py | LEEYOONHYUNG/MelNet | ea899847658a2e6784f706663d130c56258839de | [
"MIT"
] | null | null | null | utils/audio.py | LEEYOONHYUNG/MelNet | ea899847658a2e6784f706663d130c56258839de | [
"MIT"
] | 1 | 2021-03-27T23:58:26.000Z | 2021-03-27T23:58:26.000Z | # based on https://github.com/keithito/tacotron/blob/master/util/audio.py
import librosa
import numpy as np
class MelGen():
def __init__(self, hp):
self.hp = hp
def get_normalized_mel(self, x):
x = librosa.feature.melspectrogram(
y=x,
sr=self.hp.audio.sr,
... | 28.617647 | 84 | 0.614594 | 157 | 973 | 3.624204 | 0.33121 | 0.115993 | 0.173989 | 0.063269 | 0.224956 | 0.224956 | 0.087873 | 0.087873 | 0 | 0 | 0 | 0.016552 | 0.254882 | 973 | 33 | 85 | 29.484848 | 0.768276 | 0.07297 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.083333 | 0.166667 | 0.583333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
a2874c29684f4a8177026a0412016efe6474301f | 395 | py | Python | type_annotations/example_11_function_overload.py | levs72/pyneng-examples | d6288292dcf9d1ebc5a9db4a0d620bd11b4a2df9 | [
"MIT"
] | 11 | 2021-04-05T09:30:23.000Z | 2022-03-09T13:27:56.000Z | type_annotations/example_11_function_overload.py | levs72/pyneng-examples | d6288292dcf9d1ebc5a9db4a0d620bd11b4a2df9 | [
"MIT"
] | null | null | null | type_annotations/example_11_function_overload.py | levs72/pyneng-examples | d6288292dcf9d1ebc5a9db4a0d620bd11b4a2df9 | [
"MIT"
] | 11 | 2021-04-06T03:44:35.000Z | 2022-03-04T21:20:40.000Z | # from typing import Union
#
#
# def my_summ(a: Union[str, int], b: Union[str, int]) -> Union[str, int]:
# return a + b
from typing import overload, Union, TypeVar
StrOrInt = TypeVar("StrOrInt", str, int)
@overload
def my_summ(a: str, b: str) -> str:
pass
@overload
def my_summ(a: int, b: int) -> int:
... | 15.8 | 73 | 0.63038 | 63 | 395 | 3.888889 | 0.253968 | 0.081633 | 0.146939 | 0.163265 | 0.146939 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.220253 | 395 | 24 | 74 | 16.458333 | 0.795455 | 0.283544 | 0 | 0.4 | 0 | 0 | 0.028881 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0.2 | 0.1 | 0.1 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
a2c334120e38bd68db83ff11f31f933591e7b718 | 1,848 | py | Python | demo/openmrs/openmrs/Interfaces.py | jeanqasaur/jeeves | 1b5783a98f88fa2fc9e4cae7e005d2c9242cfea4 | [
"MIT"
] | 253 | 2015-01-02T01:54:27.000Z | 2022-03-10T01:44:02.000Z | demo/openmrs/openmrs/Interfaces.py | jeanqasaur/jeeves | 1b5783a98f88fa2fc9e4cae7e005d2c9242cfea4 | [
"MIT"
] | 4 | 2015-06-09T03:36:28.000Z | 2017-08-11T15:54:24.000Z | demo/openmrs/openmrs/Interfaces.py | jeanqasaur/jeeves | 1b5783a98f88fa2fc9e4cae7e005d2c9242cfea4 | [
"MIT"
] | 29 | 2015-02-14T02:24:08.000Z | 2021-12-16T02:46:16.000Z | from OpenmrsClasses import *
class Auditable(OpenmrsObject):
__metaclass__= ABCMeta
def getCreator(self):
pass
def setCreator(self, creator):
pass
def getDateCreated(self):
pass
def setDateCreated(self, dateCreated):
pass
def getChangedBy(self):
pass... | 21.241379 | 45 | 0.614177 | 173 | 1,848 | 6.445087 | 0.364162 | 0.175785 | 0.167713 | 0.086099 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.314394 | 1,848 | 86 | 46 | 21.488372 | 0.880032 | 0 | 0 | 0.493506 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0.428571 | 0.012987 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
a2c69b56e2599f2cabb74828de2663915866edcd | 469 | py | Python | posix_checkapi/TRACES/POT/ut_lind_fs_getuid.py | JustinCappos/checkapi | 2508c414869eda3479e1384b1bea65ec1e749d3b | [
"Apache-2.0"
] | null | null | null | posix_checkapi/TRACES/POT/ut_lind_fs_getuid.py | JustinCappos/checkapi | 2508c414869eda3479e1384b1bea65ec1e749d3b | [
"Apache-2.0"
] | null | null | null | posix_checkapi/TRACES/POT/ut_lind_fs_getuid.py | JustinCappos/checkapi | 2508c414869eda3479e1384b1bea65ec1e749d3b | [
"Apache-2.0"
] | null | null | null | """
File : ut_lind_fs_getuid.py
Unit test for getuid, geteuid, getgid, getegid.
"""
import lind_test_server
SyscallError = lind_test_server.SyscallError
assert lind_test_server.getuid_syscall() == 1000, "getuid failed to return."
assert lind_test_server.geteuid_syscall() == 1000, "geteuid failed to return."
assert ... | 31.266667 | 78 | 0.780384 | 66 | 469 | 5.257576 | 0.318182 | 0.138329 | 0.242075 | 0.230548 | 0.293948 | 0.293948 | 0.293948 | 0 | 0 | 0 | 0 | 0.038462 | 0.113006 | 469 | 14 | 79 | 33.5 | 0.795673 | 0.162047 | 0 | 0 | 0 | 0 | 0.254545 | 0 | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a2d771886c588b7561e1ca062baf953f72b0d38e | 22 | py | Python | test/unit/__init__.py | TJH54/onion-py | 295649eb1771017e19c276999bbe9de03425f1de | [
"BSD-3-Clause"
] | 23 | 2015-01-12T17:36:44.000Z | 2021-12-26T12:08:56.000Z | test/unit/__init__.py | TJH54/onion-py | 295649eb1771017e19c276999bbe9de03425f1de | [
"BSD-3-Clause"
] | 9 | 2015-07-18T21:16:28.000Z | 2020-02-26T10:36:11.000Z | test/unit/__init__.py | TJH54/onion-py | 295649eb1771017e19c276999bbe9de03425f1de | [
"BSD-3-Clause"
] | 19 | 2015-01-07T02:42:45.000Z | 2021-12-26T12:09:01.000Z | __all__ = ['objects']
| 11 | 21 | 0.636364 | 2 | 22 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 22 | 1 | 22 | 22 | 0.526316 | 0 | 0 | 0 | 0 | 0 | 0.318182 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a2f28718b882ea1c4fa91a12773dbf69d4dca4ea | 2,087 | py | Python | votarkUser/migrations/0006_auto_20200511_0638.py | VotarkSocial/votarkAPI | eea10a64ac0b255c97078b90786fccb30d0a451e | [
"MIT"
] | 2 | 2020-06-14T08:25:29.000Z | 2021-09-22T07:48:11.000Z | votarkUser/migrations/0006_auto_20200511_0638.py | suulcoder/votarkAPI | eea10a64ac0b255c97078b90786fccb30d0a451e | [
"MIT"
] | 10 | 2020-06-14T08:36:42.000Z | 2022-03-12T00:30:53.000Z | votarkUser/migrations/0006_auto_20200511_0638.py | suulcoder/votarkAPI | eea10a64ac0b255c97078b90786fccb30d0a451e | [
"MIT"
] | 1 | 2021-09-22T07:48:17.000Z | 2021-09-22T07:48:17.000Z | # Generated by Django 3.0.4 on 2020-05-11 06:38
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('votarkUser', '0005_auto_20200511_0527'),
]
operations = [
migrations.AlterModelOptions(
name='votarkuser',
options={... | 27.460526 | 64 | 0.52851 | 169 | 2,087 | 6.360947 | 0.35503 | 0.182326 | 0.212093 | 0.256744 | 0.64 | 0.586977 | 0.343256 | 0.214884 | 0.214884 | 0.163721 | 0 | 0.032959 | 0.360326 | 2,087 | 75 | 65 | 27.826667 | 0.772285 | 0.021562 | 0 | 0.608696 | 1 | 0 | 0.139706 | 0.011275 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.014493 | 0.014493 | 0 | 0.057971 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a2f2fe4d7a08d5bfd9138266926baf45e5bbeee3 | 497 | py | Python | LuckBalance.py | see-why/HackerRank-and-LeetCode-Solutions | 533ed76e8e4c96c924916f56690aae103188f02d | [
"MIT"
] | 5 | 2022-02-22T08:48:52.000Z | 2022-03-03T22:31:16.000Z | LuckBalance.py | see-why/HackerRank-Solutions | 5f3ab61235dc07209664e064292754942f5d41e4 | [
"MIT"
] | null | null | null | LuckBalance.py | see-why/HackerRank-Solutions | 5f3ab61235dc07209664e064292754942f5d41e4 | [
"MIT"
] | null | null | null | # https://www.hackerrank.com/challenges/luck-balance/problem?isFullScreen=true
def luckBalance(k, contests):
# Write your code here
luck_importance_array = [item[0] for item in contests if item[1]==1]
luck_value_array = [item[0] for item in contests]
luck_sum = sum(luck_value_array)
luck_... | 29.235294 | 78 | 0.698189 | 73 | 497 | 4.520548 | 0.465753 | 0.169697 | 0.230303 | 0.078788 | 0.163636 | 0.163636 | 0.163636 | 0 | 0 | 0 | 0 | 0.012563 | 0.199195 | 497 | 16 | 79 | 31.0625 | 0.816583 | 0.195171 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 0 | 1 | 0.111111 | false | 0 | 0.444444 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
a2f6857cb847afa82bdebf60da2822e13b3fcf32 | 498 | py | Python | glink/errors.py | Cologler/glink-python | e76c673c07e1c19bb14c19f74902708cde37ffea | [
"MIT"
] | null | null | null | glink/errors.py | Cologler/glink-python | e76c673c07e1c19bb14c19f74902708cde37ffea | [
"MIT"
] | null | null | null | glink/errors.py | Cologler/glink-python | e76c673c07e1c19bb14c19f74902708cde37ffea | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
#
# Copyright (c) 2020~2999 - Cologler <skyoflw@gmail.com>
# ----------
#
# ----------
class GLinkError(Exception):
'the base error for glink'
def __init__(self, message: str) -> None:
self.message = message
class LocalFileRemovedError(GLinkError):
pass
class RemoteFil... | 14.647059 | 56 | 0.660643 | 48 | 498 | 6.770833 | 0.645833 | 0.215385 | 0.233846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0225 | 0.196787 | 498 | 33 | 57 | 15.090909 | 0.79 | 0.248996 | 0 | 0.357143 | 0 | 0 | 0.061069 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071429 | false | 0.357143 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
0c2890c9ffa1afad2cf0c353aabf3f4250f8eff7 | 531 | py | Python | plugins/Far Cry.py | Pr0Ger/SGSB | 6adf8dc7ce3bf3d4b84f46b7d97aad376440e175 | [
"MIT"
] | 2 | 2015-05-10T01:48:36.000Z | 2015-05-11T09:52:01.000Z | plugins/Far Cry.py | Pr0Ger/SGSB | 6adf8dc7ce3bf3d4b84f46b7d97aad376440e175 | [
"MIT"
] | null | null | null | plugins/Far Cry.py | Pr0Ger/SGSB | 6adf8dc7ce3bf3d4b84f46b7d97aad376440e175 | [
"MIT"
] | null | null | null | import os
from lib.base_plugin import BasePlugin
from lib.paths import SteamGamesPath
class FarCryPlugin(BasePlugin):
Name = "Far Cry"
support_os = ["Windows"]
def backup(self, _):
_.add_folder('Profiles', os.path.join(SteamGamesPath, 'farcry'), 'Profiles')
def restore(self, _):
_.re... | 26.55 | 88 | 0.6629 | 62 | 531 | 5.548387 | 0.516129 | 0.069767 | 0.087209 | 0.209302 | 0.406977 | 0.319767 | 0.319767 | 0.319767 | 0.319767 | 0 | 0 | 0 | 0.20904 | 531 | 19 | 89 | 27.947368 | 0.819048 | 0 | 0 | 0 | 0 | 0 | 0.120527 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0 | 0.214286 | 0 | 0.785714 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
0c3ac56b4321671a990cc4a704dc0dedbad20e50 | 677 | py | Python | orange3/Orange/canvas/scheme/__init__.py | rgschmitz1/BioDepot-workflow-builder | f74d904eeaf91ec52ec9b703d9fb38e9064e5a66 | [
"MIT"
] | 54 | 2017-01-08T17:21:49.000Z | 2021-11-02T08:46:07.000Z | orange3/Orange/canvas/scheme/__init__.py | Synthia-3/BioDepot-workflow-builder | 4ee93abe2d79465755e82a145af3b6a6e1e79fd4 | [
"MIT"
] | 22 | 2017-03-28T06:03:14.000Z | 2021-07-28T05:43:55.000Z | orange3/Orange/canvas/scheme/__init__.py | Synthia-3/BioDepot-workflow-builder | 4ee93abe2d79465755e82a145af3b6a6e1e79fd4 | [
"MIT"
] | 21 | 2017-01-26T21:12:09.000Z | 2022-01-31T21:34:59.000Z | """
======
Scheme
======
The scheme package implements and defines the underlying workflow model.
The :class:`.Scheme` class represents the workflow and is composed of a set
of :class:`.SchemeNode` connected with :class:`.SchemeLink`, defining an
directed acyclic graph (DAG). Additionally instances of
:class:`.Scheme... | 25.074074 | 78 | 0.766617 | 78 | 677 | 6.615385 | 0.602564 | 0.034884 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140325 | 677 | 26 | 79 | 26.038462 | 0.886598 | 0.589365 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.555556 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 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 | 0 | 1 | 0 | 0 | 3 |
0c5784b1eb28c0907202b9d25302c4d08f7df2a4 | 339 | py | Python | joalheria/tests/conftest.py | misakive/jewelry | e2501b1a4de2ff0096f798c484519d02ab727ebc | [
"MIT"
] | null | null | null | joalheria/tests/conftest.py | misakive/jewelry | e2501b1a4de2ff0096f798c484519d02ab727ebc | [
"MIT"
] | null | null | null | joalheria/tests/conftest.py | misakive/jewelry | e2501b1a4de2ff0096f798c484519d02ab727ebc | [
"MIT"
] | 1 | 2021-05-14T13:25:04.000Z | 2021-05-14T13:25:04.000Z | from joalheria.app import minimal_app
from flask_restful import Api as FlaskRestful
from pytest import fixture
@fixture(scope="module")
def app():
"""Instance of minimal flask app"""
return minimal_app()
@fixture
def flask_restful(mocker):
"""Instance mocker flask restful"""
return mocker.MagicMock(... | 21.1875 | 46 | 0.749263 | 44 | 339 | 5.681818 | 0.477273 | 0.144 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156342 | 339 | 15 | 47 | 22.6 | 0.874126 | 0.174041 | 0 | 0 | 0 | 0 | 0.022305 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.333333 | 0 | 0.777778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
0c5d7bf1de9a2fc8093852e6612c5d77b0bfa4c8 | 230 | py | Python | stdlib/type_mocks/old/pickle.py | kmod/icbd | 9636564eb3993afa07c6220d589bbd1991923d74 | [
"MIT"
] | 7 | 2015-04-06T15:17:13.000Z | 2020-10-21T04:57:00.000Z | stdlib/type_mocks/old/pickle.py | kmod/icbd | 9636564eb3993afa07c6220d589bbd1991923d74 | [
"MIT"
] | null | null | null | stdlib/type_mocks/old/pickle.py | kmod/icbd | 9636564eb3993afa07c6220d589bbd1991923d74 | [
"MIT"
] | 4 | 2016-05-16T17:53:08.000Z | 2020-11-28T17:18:50.000Z | __mixed = getattr(None, '')
__f = open('/dev/null')
def load(f):
return __mixed
load(__f)
def loads(s):
return __mixed
loads('')
def dump(o, f):
return
dump(__mixed, __f)
def dumps(o):
return ''
dumps(__mixed)
| 12.105263 | 27 | 0.621739 | 34 | 230 | 3.735294 | 0.441176 | 0.07874 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208696 | 230 | 18 | 28 | 12.777778 | 0.697802 | 0 | 0 | 0.142857 | 0 | 0 | 0.03913 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.285714 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
a761bcfec8b1e96e74fa59881aa6c7bc97ac24f6 | 401 | py | Python | m3scout/lib/email.py | t3ddftw/M3Scout | ec17fd90339d16ee790a5a5c447998dd8846f667 | [
"MIT"
] | null | null | null | m3scout/lib/email.py | t3ddftw/M3Scout | ec17fd90339d16ee790a5a5c447998dd8846f667 | [
"MIT"
] | null | null | null | m3scout/lib/email.py | t3ddftw/M3Scout | ec17fd90339d16ee790a5a5c447998dd8846f667 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
import smtplib
class Email(object):
EMAIL_ADDY = 'someone@gmail.com'
def __init__(self, ):
self.SMTP = smtplib.SMTP('smtp.gmail.com', 587)
self.SMTP.starttls()
# App specific, GLHF
self.SMTP.login(self.EMAIL_ADDY, 'somepass')
def sen... | 23.588235 | 55 | 0.605985 | 52 | 401 | 4.519231 | 0.538462 | 0.13617 | 0.110638 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010101 | 0.259352 | 401 | 16 | 56 | 25.0625 | 0.781145 | 0.097257 | 0 | 0 | 0 | 0 | 0.108333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0.111111 | 0.111111 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
a77dc11402b3d0a65a68459fbfa013e9f92a24b7 | 7,115 | py | Python | test/test_valign.py | jwodder/txtble | 682ffabf5bb11c606a457e5c18bd855cd81a5f69 | [
"MIT"
] | 3 | 2018-06-10T16:30:07.000Z | 2021-08-11T14:26:33.000Z | test/test_valign.py | jwodder/txtble | 682ffabf5bb11c606a457e5c18bd855cd81a5f69 | [
"MIT"
] | 25 | 2018-06-13T17:22:44.000Z | 2021-12-02T22:12:37.000Z | test/test_valign.py | jwodder/txtble | 682ffabf5bb11c606a457e5c18bd855cd81a5f69 | [
"MIT"
] | 1 | 2021-09-04T13:23:58.000Z | 2021-09-04T13:23:58.000Z | import pytest
from txtble import Txtble
LONG_STRING = "Lorem ipsum dolor sit amet, consectetur adipisicing elit"
def test_valign():
tbl = Txtble(
headers=["Line 1", "Line 2", "Line 3", "5 Syllables\n7 Syllables\n5 Syllables"],
data=[
[
"Haikus are easy,",
... | 32.19457 | 94 | 0.369642 | 714 | 7,115 | 3.59944 | 0.114846 | 0.071984 | 0.056031 | 0.0607 | 0.797276 | 0.758755 | 0.721012 | 0.678599 | 0.66965 | 0.615175 | 0 | 0.027155 | 0.347857 | 7,115 | 220 | 95 | 32.340909 | 0.526724 | 0.002108 | 0 | 0.531915 | 0 | 0 | 0.499718 | 0.111863 | 0 | 0 | 0 | 0 | 0.06383 | 1 | 0.074468 | false | 0 | 0.010638 | 0 | 0.085106 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a782709d47757e83c76c646ae856afafaa78faff | 4,872 | py | Python | hostmanager/tomato/api/resources.py | dswd/ToMaTo | 355fd3a8c7f95dc72c62383b3edfa8f6c0396bf4 | [
"BSD-4-Clause-UC"
] | 2 | 2016-11-10T06:12:05.000Z | 2016-11-10T06:12:10.000Z | hostmanager/tomato/api/resources.py | dswd/ToMaTo | 355fd3a8c7f95dc72c62383b3edfa8f6c0396bf4 | [
"BSD-4-Clause-UC"
] | 2 | 2015-01-19T16:00:24.000Z | 2015-01-20T11:33:56.000Z | hostmanager/tomato/api/resources.py | dswd/ToMaTo | 355fd3a8c7f95dc72c62383b3edfa8f6c0396bf4 | [
"BSD-4-Clause-UC"
] | 1 | 2016-11-10T06:12:15.000Z | 2016-11-10T06:12:15.000Z | # -*- coding: utf-8 -*-
# ToMaTo (Topology management software)
# Copyright (C) 2010 Dennis Schwerdel, University of Kaiserslautern
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either vers... | 31.230769 | 92 | 0.739327 | 723 | 4,872 | 4.944675 | 0.255878 | 0.04 | 0.023497 | 0.033566 | 0.40979 | 0.383497 | 0.332028 | 0.323636 | 0.323636 | 0.31049 | 0 | 0.001515 | 0.187192 | 4,872 | 156 | 93 | 31.230769 | 0.901263 | 0.814039 | 0 | 0.25 | 0 | 0 | 0.022785 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.083333 | 0 | 0.541667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
a7836748a266d99f4ed4a1cfa189c5ff000c460e | 376 | py | Python | home_work_1_oop/tests/test_triangle.py | nocsland/Python-QA-Engineer | 657b7c25189a3d3381e9bab0fd2f4e5d7a76b304 | [
"Apache-2.0"
] | null | null | null | home_work_1_oop/tests/test_triangle.py | nocsland/Python-QA-Engineer | 657b7c25189a3d3381e9bab0fd2f4e5d7a76b304 | [
"Apache-2.0"
] | null | null | null | home_work_1_oop/tests/test_triangle.py | nocsland/Python-QA-Engineer | 657b7c25189a3d3381e9bab0fd2f4e5d7a76b304 | [
"Apache-2.0"
] | null | null | null | """Тесты треугольника"""
def test_triangle_area(triangle):
assert triangle.get_area() == 15
def test_triangle_perimeter(triangle):
assert triangle.get_perimeter() == 11
def test_add_area_triangle(triangle, rectangle):
assert triangle.add_area(rectangle) == 50.0
def test_is_instance_not_figure(triang... | 20.888889 | 51 | 0.760638 | 50 | 376 | 5.42 | 0.4 | 0.103321 | 0.110701 | 0.184502 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021538 | 0.135638 | 376 | 17 | 52 | 22.117647 | 0.812308 | 0.047872 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.5 | false | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a7839ec261e289a3f6bb24b41126bf86034ca92c | 239 | py | Python | mmdet/models/necks/compare/__init__.py | HenryOsborne/xViewDetection | 28bbeb263b05c4c892eae87713e34c62cbe606d5 | [
"Apache-2.0"
] | null | null | null | mmdet/models/necks/compare/__init__.py | HenryOsborne/xViewDetection | 28bbeb263b05c4c892eae87713e34c62cbe606d5 | [
"Apache-2.0"
] | null | null | null | mmdet/models/necks/compare/__init__.py | HenryOsborne/xViewDetection | 28bbeb263b05c4c892eae87713e34c62cbe606d5 | [
"Apache-2.0"
] | null | null | null | from .se_neck import SENeck
from .cc_net import CCNeck
from .ca_net import CANeck
from .eca_net import ECANeck
from .panet import PANet
from .fake_fpn import FakeFPN
__all__ = ['SENeck', 'CCNeck', 'CANeck', 'ECANeck', 'PANet', 'FakeFPN']
| 26.555556 | 71 | 0.753138 | 36 | 239 | 4.75 | 0.472222 | 0.157895 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138075 | 239 | 8 | 72 | 29.875 | 0.830097 | 0 | 0 | 0 | 0 | 0 | 0.154812 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.857143 | 0 | 0.857143 | 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 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
a7a180ef7267a26960ebc4c3edb915091e925014 | 226 | py | Python | core/templatetags/helpers.py | jwestarb/bazar | 3433e6e554f8335968d3b2a4175fb2f84eee0623 | [
"MIT"
] | null | null | null | core/templatetags/helpers.py | jwestarb/bazar | 3433e6e554f8335968d3b2a4175fb2f84eee0623 | [
"MIT"
] | null | null | null | core/templatetags/helpers.py | jwestarb/bazar | 3433e6e554f8335968d3b2a4175fb2f84eee0623 | [
"MIT"
] | null | null | null | from django import template
from django.utils.safestring import mark_safe
register = template.Library()
@register.filter()
def formata_valor(value):
"""
Formata um valor em R$
"""
return "R$ {}".format(value) | 20.545455 | 45 | 0.69469 | 29 | 226 | 5.344828 | 0.689655 | 0.129032 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181416 | 226 | 11 | 46 | 20.545455 | 0.837838 | 0.097345 | 0 | 0 | 0 | 0 | 0.026455 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | 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 | 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 | 3 |
a7aa7856d708a1939c9cdec70503921d04b3591f | 26 | py | Python | config.py | pelldis/Telegrambot_check_crypto | 29dccb66abc9df3cfc4eb37756fcfde08fa6d4d5 | [
"Unlicense"
] | null | null | null | config.py | pelldis/Telegrambot_check_crypto | 29dccb66abc9df3cfc4eb37756fcfde08fa6d4d5 | [
"Unlicense"
] | null | null | null | config.py | pelldis/Telegrambot_check_crypto | 29dccb66abc9df3cfc4eb37756fcfde08fa6d4d5 | [
"Unlicense"
] | null | null | null | # bot token
token = '...'
| 8.666667 | 13 | 0.5 | 3 | 26 | 4.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 26 | 2 | 14 | 13 | 0.65 | 0.346154 | 0 | 0 | 0 | 0 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a7cf8acf7ad9b63e7106af7b4e987c9cfdfd024b | 199 | py | Python | codeforces/B/1. 126 (Div. 2) - B. Drinks.py | safiulanik/problem-solving | 116539750b901b55fe6e69447c8ede78f2e9ff16 | [
"MIT"
] | null | null | null | codeforces/B/1. 126 (Div. 2) - B. Drinks.py | safiulanik/problem-solving | 116539750b901b55fe6e69447c8ede78f2e9ff16 | [
"MIT"
] | null | null | null | codeforces/B/1. 126 (Div. 2) - B. Drinks.py | safiulanik/problem-solving | 116539750b901b55fe6e69447c8ede78f2e9ff16 | [
"MIT"
] | null | null | null | """
URL: https://codeforces.com/problemset/problem/200/B
Author: Safiul Kabir [safiulanik at gmail.com]
Tags: implementation, math, *800
"""
n = int(input())
print(sum(map(int, input().split()))/n)
| 22.111111 | 52 | 0.693467 | 29 | 199 | 4.758621 | 0.862069 | 0.115942 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03352 | 0.100503 | 199 | 8 | 53 | 24.875 | 0.73743 | 0.663317 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
a7d5f30a154b64993645dd2f4414968178b50197 | 237 | py | Python | tests/data/expected/main/main_nested_directory/definitions/drink/tea.py | adaamz/datamodel-code-generator | 3b34573f35f8d420e4668a85047c757fd1da7754 | [
"MIT"
] | 891 | 2019-07-23T04:23:32.000Z | 2022-03-31T13:36:33.000Z | tests/data/expected/main/main_nested_directory/definitions/drink/tea.py | adaamz/datamodel-code-generator | 3b34573f35f8d420e4668a85047c757fd1da7754 | [
"MIT"
] | 663 | 2019-07-23T09:50:26.000Z | 2022-03-29T01:56:55.000Z | tests/data/expected/main/main_nested_directory/definitions/drink/tea.py | adaamz/datamodel-code-generator | 3b34573f35f8d420e4668a85047c757fd1da7754 | [
"MIT"
] | 108 | 2019-07-23T08:50:37.000Z | 2022-03-09T10:50:22.000Z | # generated by datamodel-codegen:
# filename: definitions/drink/tea.json
# timestamp: 2019-07-26T00:00:00+00:00
from __future__ import annotations
from enum import Enum
class Tea(Enum):
Oolong = 'Oolong'
Green = 'Green'
| 18.230769 | 41 | 0.71308 | 32 | 237 | 5.15625 | 0.6875 | 0.072727 | 0.072727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092784 | 0.181435 | 237 | 12 | 42 | 19.75 | 0.757732 | 0.464135 | 0 | 0 | 1 | 0 | 0.089431 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
a7d6be4509fa8105514403bfb72abe302472c976 | 226 | py | Python | src/uploads/admin.py | snhasan/zia-academy | 8f650d6d225e399b981b148c615a6a9aa558e5d6 | [
"bzip2-1.0.6"
] | null | null | null | src/uploads/admin.py | snhasan/zia-academy | 8f650d6d225e399b981b148c615a6a9aa558e5d6 | [
"bzip2-1.0.6"
] | null | null | null | src/uploads/admin.py | snhasan/zia-academy | 8f650d6d225e399b981b148c615a6a9aa558e5d6 | [
"bzip2-1.0.6"
] | null | null | null | from django.contrib import admin
from .models import upload
class upload_admin(admin.ModelAdmin):
list_display = ('title','subject','curriculum', 'date')
list_filter = ('date',)
admin.site.register(upload,upload_admin)
| 20.545455 | 56 | 0.752212 | 29 | 226 | 5.724138 | 0.62069 | 0.13253 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.110619 | 226 | 10 | 57 | 22.6 | 0.825871 | 0 | 0 | 0 | 0 | 0 | 0.132743 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.833333 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
38f020cbeaa2a652e30b860a9060d809be3c752c | 176 | py | Python | bangumi/items/bangumi_anime_fail.py | DaivdYuan/bangumi-spider | de59cfe4eca7789644ce5eb591f1b57c01543aee | [
"MIT"
] | null | null | null | bangumi/items/bangumi_anime_fail.py | DaivdYuan/bangumi-spider | de59cfe4eca7789644ce5eb591f1b57c01543aee | [
"MIT"
] | null | null | null | bangumi/items/bangumi_anime_fail.py | DaivdYuan/bangumi-spider | de59cfe4eca7789644ce5eb591f1b57c01543aee | [
"MIT"
] | null | null | null | import scrapy
class BangumiAnimeFailItem(scrapy.Item):
# whatever id
id = scrapy.Field()
# type of item
type = scrapy.Field()
# error description
desc = scrapy.Field()
| 16 | 40 | 0.715909 | 22 | 176 | 5.727273 | 0.590909 | 0.261905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176136 | 176 | 10 | 41 | 17.6 | 0.868966 | 0.238636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
ac2d6eda4ce42ba2cc0bd921ac3573ba901b730b | 613 | py | Python | exe2/main.py | neitan666/algoritmos2 | c9fd141bead0cd171f6b2f5d209833da085a1992 | [
"MIT"
] | null | null | null | exe2/main.py | neitan666/algoritmos2 | c9fd141bead0cd171f6b2f5d209833da085a1992 | [
"MIT"
] | null | null | null | exe2/main.py | neitan666/algoritmos2 | c9fd141bead0cd171f6b2f5d209833da085a1992 | [
"MIT"
] | null | null | null | from Aluno import Aluno
from AlunoEnsinoMedio import AlunoEnsinoMedio
from AlunoGraduacao import AlunoGraduacao
a1 = Aluno()
print("\n\n\n\n\n\n\n\n\n\n\n")
print("-----Cadastro Aluno-------")
a1.imprimir()
print("\n\n\n")
print("-----Cadastrando Aluno do Ensino Médio-------")
a2 = AlunoEnsinoMedio()
print("\n\n\n\n... | 18.575758 | 54 | 0.631321 | 97 | 613 | 3.989691 | 0.175258 | 0.186047 | 0.232558 | 0.248062 | 0.583979 | 0.475452 | 0.475452 | 0.475452 | 0.475452 | 0.273902 | 0 | 0.010889 | 0.101142 | 613 | 32 | 55 | 19.15625 | 0.69147 | 0 | 0 | 0.3 | 0 | 0.15 | 0.454248 | 0.107843 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.15 | 0 | 0.15 | 0.55 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
ac47870e77e0b4010be607c0858e574088f1921e | 134 | py | Python | 1850.py | OmangRawat/Leetcode | 6fa696367ef9c5e6b08940b11e2202382d1afc07 | [
"MIT"
] | null | null | null | 1850.py | OmangRawat/Leetcode | 6fa696367ef9c5e6b08940b11e2202382d1afc07 | [
"MIT"
] | null | null | null | 1850.py | OmangRawat/Leetcode | 6fa696367ef9c5e6b08940b11e2202382d1afc07 | [
"MIT"
] | null | null | null | """
--> Minimum Adjacent Swaps to Reach the Kth Smallest Number
--> Medium
use Find_k_permutation_greater_number in practice
"""
| 12.181818 | 59 | 0.738806 | 18 | 134 | 5.277778 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171642 | 134 | 10 | 60 | 13.4 | 0.855856 | 0.902985 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ac54415262dd23ff15bfd2c3125af1b325e3565a | 843 | py | Python | tests/validate/test_images_check.py | kiss2u/integration | 230b7035898b5faa3b40af76261d362bc2224b77 | [
"MIT"
] | 15 | 2022-02-25T13:17:43.000Z | 2022-03-24T15:23:22.000Z | tests/validate/test_images_check.py | kiss2u/integration | 230b7035898b5faa3b40af76261d362bc2224b77 | [
"MIT"
] | 6 | 2019-03-02T10:13:15.000Z | 2019-03-02T14:00:40.000Z | tests/validate/test_images_check.py | ludeeus/harm | 55794176fccf55321780decf9ef354e91a41d1b9 | [
"MIT"
] | 1 | 2022-03-08T13:25:35.000Z | 2022-03-08T13:25:35.000Z | import pytest
from custom_components.hacs.validate.images import Validator
@pytest.mark.asyncio
async def test_repository_has_images(repository):
repository.data.has_issues = True
check = Validator(repository)
async def _async_get_info_file_contents(*_, **__):
return """
![-shielded
![valid]
"""... | 23.416667 | 75 | 0.755635 | 103 | 843 | 5.737864 | 0.330097 | 0.081218 | 0.121827 | 0.162437 | 0.818951 | 0.818951 | 0.686971 | 0.686971 | 0.544839 | 0.544839 | 0 | 0 | 0.156584 | 843 | 35 | 76 | 24.085714 | 0.831224 | 0 | 0 | 0.64 | 0 | 0 | 0.041518 | 0 | 0 | 0 | 0 | 0 | 0.08 | 1 | 0 | false | 0 | 0.08 | 0 | 0.16 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ac5b2d723ffa83975e4e14b72a248f829ac24cfb | 1,210 | py | Python | tests/utils_test.py | kirillstrelkov/easyselenium | 99af15df42d3b4fe2c83a4a8d8d73b0f468539f7 | [
"MIT"
] | 1 | 2021-06-13T10:49:01.000Z | 2021-06-13T10:49:01.000Z | tests/utils_test.py | kirillstrelkov/easelenium | 99af15df42d3b4fe2c83a4a8d8d73b0f468539f7 | [
"MIT"
] | null | null | null | tests/utils_test.py | kirillstrelkov/easelenium | 99af15df42d3b4fe2c83a4a8d8d73b0f468539f7 | [
"MIT"
] | 1 | 2019-02-24T03:06:56.000Z | 2019-02-24T03:06:56.000Z | from unittest.case import TestCase
from easelenium.utils import (
get_class_name_from_file,
get_py_file_name_from_class_name,
)
class UtilsTest(TestCase):
def test_get_class_name_from_file(self):
class_name = get_class_name_from_file("my_test.py")
assert class_name == "MyTest"
cl... | 31.842105 | 64 | 0.704132 | 184 | 1,210 | 4.086957 | 0.13587 | 0.371011 | 0.107713 | 0.155585 | 0.761968 | 0.708777 | 0.708777 | 0.485372 | 0.485372 | 0.485372 | 0 | 0.004171 | 0.207438 | 1,210 | 37 | 65 | 32.702703 | 0.779979 | 0 | 0 | 0.230769 | 0 | 0 | 0.119008 | 0 | 0 | 0 | 0 | 0 | 0.346154 | 1 | 0.076923 | false | 0 | 0.076923 | 0 | 0.192308 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 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 | 3 |
ac5f3d6b13eafe517bee06d5859e745161f5419c | 228 | py | Python | license_control/__main__.py | KivenCkl/license_control | e5ae18c85c736f0d6f9a68be54937f224ffc45a7 | [
"MIT"
] | 1 | 2021-08-29T00:27:15.000Z | 2021-08-29T00:27:15.000Z | license_control/__main__.py | KivenCkl/license_control | e5ae18c85c736f0d6f9a68be54937f224ffc45a7 | [
"MIT"
] | null | null | null | license_control/__main__.py | KivenCkl/license_control | e5ae18c85c736f0d6f9a68be54937f224ffc45a7 | [
"MIT"
] | null | null | null | """
Author : ChenKailun
Date : 2021-04-24 19:28
LastEditTime : 2021-04-27 22:19
FilePath : /license_control/__main__.py
Description :
"""
from license_control.app import LicenseControl
LicenseControl().run()
| 20.727273 | 46 | 0.697368 | 28 | 228 | 5.464286 | 0.785714 | 0.078431 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12973 | 0.188596 | 228 | 10 | 47 | 22.8 | 0.697297 | 0.649123 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 3 |
ac80e3b132e28d9ff5299cb345ba4988c68cf68f | 960 | py | Python | src/slippinj/cli/workflow_configuration.py | scm-spain/slippin-jimmy | d0e52277daff523eda63f5d3137b5a990413923d | [
"Apache-2.0"
] | 7 | 2016-03-31T06:17:23.000Z | 2018-01-25T15:25:05.000Z | src/slippinj/cli/workflow_configuration.py | scm-spain/slippin-jimmy | d0e52277daff523eda63f5d3137b5a990413923d | [
"Apache-2.0"
] | 8 | 2016-03-30T18:45:09.000Z | 2017-06-19T09:21:35.000Z | src/slippinj/cli/workflow_configuration.py | scm-spain/slippin-jimmy | d0e52277daff523eda63f5d3137b5a990413923d | [
"Apache-2.0"
] | 13 | 2017-04-21T08:17:14.000Z | 2019-07-12T04:59:24.000Z | from injector import inject
class WorkflowConfiguration(object):
"""Read the configuration for the given workflow"""
@inject(yaml_configuration='yaml_configuration')
def __init__(self, yaml_configuration):
"""
Initialize the class
:param yaml_configuration: YamlConfiguration
... | 38.4 | 124 | 0.716667 | 109 | 960 | 6 | 0.449541 | 0.207951 | 0.12844 | 0.103976 | 0.11315 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.21875 | 960 | 24 | 125 | 40 | 0.872 | 0.332292 | 0 | 0 | 0 | 0 | 0.031858 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
ac883d9200733ae47696aab1e04208b1510ea571 | 3,005 | py | Python | questionbank/users/migrations/0007_auto_20190519_1441.py | SyafiqTermizi/questionbank | 33e58db1a1610a85bd30a85d2f52e819bc27058b | [
"MIT"
] | 1 | 2018-04-17T23:58:46.000Z | 2018-04-17T23:58:46.000Z | questionbank/users/migrations/0007_auto_20190519_1441.py | SyafiqTermizi/questionbank | 33e58db1a1610a85bd30a85d2f52e819bc27058b | [
"MIT"
] | 8 | 2019-12-04T23:08:00.000Z | 2022-02-13T22:48:26.000Z | questionbank/users/migrations/0007_auto_20190519_1441.py | SyafiqTermizi/questionbank | 33e58db1a1610a85bd30a85d2f52e819bc27058b | [
"MIT"
] | null | null | null | # Generated by Django 2.2.1 on 2019-05-19 14:41
from django.db import migrations
def forward_func(apps, schema_editor=None):
Specialty = apps.get_model('users', 'Specialty')
Specialty.objects.bulk_create([
Specialty(name='Anatomy'),
Specialty(name='Physiology'),
Specialty(name='Bioche... | 41.736111 | 75 | 0.690849 | 345 | 3,005 | 5.918841 | 0.191304 | 0.188051 | 0.236533 | 0.25906 | 0.532321 | 0.532321 | 0.532321 | 0.523017 | 0.12145 | 0.073457 | 0 | 0.007367 | 0.141764 | 3,005 | 71 | 76 | 42.323944 | 0.784413 | 0.014975 | 0 | 0 | 1 | 0 | 0.173766 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.033333 | false | 0 | 0.016667 | 0 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3ba7088889163de9736a5f8ce948536190fbbf66 | 167 | py | Python | src/ImageHorizonLibrary/recognition/__init__.py | gautamilango/robotframework-imagehorizonlibrary | a3a828e79fc948768c09a84264cbfd4ee94f63af | [
"MIT"
] | null | null | null | src/ImageHorizonLibrary/recognition/__init__.py | gautamilango/robotframework-imagehorizonlibrary | a3a828e79fc948768c09a84264cbfd4ee94f63af | [
"MIT"
] | null | null | null | src/ImageHorizonLibrary/recognition/__init__.py | gautamilango/robotframework-imagehorizonlibrary | a3a828e79fc948768c09a84264cbfd4ee94f63af | [
"MIT"
] | 1 | 2021-11-30T16:25:58.000Z | 2021-11-30T16:25:58.000Z | # -*- coding: utf-8 -*-
from ._recognize_images import _RecognizeImages
from ._screenshot import _Screenshot
#
__all__ = [
'_RecognizeImages',
'_Screenshot'
]
| 18.555556 | 47 | 0.712575 | 15 | 167 | 7.2 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007194 | 0.167665 | 167 | 8 | 48 | 20.875 | 0.769784 | 0.125749 | 0 | 0 | 0 | 0 | 0.188811 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
3bb6ca68b86a2c9b3083acd2fa3876ae57116a40 | 291 | py | Python | pythondesafios/desafio023.py | matheus-rosario/curso-python | ac9ccf7fc4b3f708821e44787a1bdc231d9426ac | [
"MIT"
] | null | null | null | pythondesafios/desafio023.py | matheus-rosario/curso-python | ac9ccf7fc4b3f708821e44787a1bdc231d9426ac | [
"MIT"
] | null | null | null | pythondesafios/desafio023.py | matheus-rosario/curso-python | ac9ccf7fc4b3f708821e44787a1bdc231d9426ac | [
"MIT"
] | null | null | null | #Faça um programa que leia um número de 0 a 9999 e mostre na tela cada um dos dígitos separados.
num = int(input('Digite um número de 0 a 9999: '))
print(f'Unidade: {num // 1 % 10}')
print(f'Dezena: {num // 10 % 10}')
print(f'Centena {num // 100 % 10}:')
print(f'Milhar: {num // 1000 % 10}') | 48.5 | 96 | 0.646048 | 54 | 291 | 3.481481 | 0.592593 | 0.12766 | 0.12766 | 0.117021 | 0.170213 | 0.170213 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 0.182131 | 291 | 6 | 97 | 48.5 | 0.672269 | 0.32646 | 0 | 0 | 0 | 0 | 0.663265 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.8 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
3bb984d5cc3ac65b525f6215a201b9682548f8b6 | 26,571 | py | Python | examples/python/grpc_api/protos/model/v1/navigation_pb2.py | FormantIO/formant | 869496c753cf0be4b3a10d79016f4384132be3a8 | [
"Apache-2.0"
] | 5 | 2021-03-15T17:03:51.000Z | 2021-11-27T23:07:15.000Z | examples/python/grpc_api/protos/model/v1/navigation_pb2.py | FormantIO/formant | 869496c753cf0be4b3a10d79016f4384132be3a8 | [
"Apache-2.0"
] | 2 | 2020-10-27T23:23:57.000Z | 2022-02-07T17:54:29.000Z | examples/python/grpc_api/protos/model/v1/navigation_pb2.py | FormantIO/formant | 869496c753cf0be4b3a10d79016f4384132be3a8 | [
"Apache-2.0"
] | 2 | 2021-05-10T19:20:12.000Z | 2021-06-05T12:31:14.000Z | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: protos/model/v1/navigation.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
... | 43.34584 | 2,449 | 0.756389 | 3,526 | 26,571 | 5.352241 | 0.073171 | 0.044086 | 0.064434 | 0.06152 | 0.755405 | 0.688427 | 0.667868 | 0.659919 | 0.647467 | 0.643228 | 0 | 0.041009 | 0.115314 | 26,571 | 612 | 2,450 | 43.416667 | 0.761816 | 0.029769 | 0 | 0.618705 | 1 | 0.008993 | 0.165334 | 0.106832 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.010791 | 0 | 0.010791 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3bbc049cec0d7cee01129c5622dde9dbe6665117 | 411 | py | Python | rvlib/__init__.py | danielcsaba/winbinary | 6a1a47422cfd3e7addad581c574a1d28fdf2b680 | [
"BSD-3-Clause"
] | null | null | null | rvlib/__init__.py | danielcsaba/winbinary | 6a1a47422cfd3e7addad581c574a1d28fdf2b680 | [
"BSD-3-Clause"
] | null | null | null | rvlib/__init__.py | danielcsaba/winbinary | 6a1a47422cfd3e7addad581c574a1d28fdf2b680 | [
"BSD-3-Clause"
] | null | null | null | """
rvlib: mimics the interface of Distributions.jl
<https://github.com/JuliaStats/Distributions.jl> while at the same time
attaining similar performance exploiting numba<http://numba.pydata.org/>.
@authors : Daniel Csaba <daniel.csaba@nyu.edu>
Spencer Lyon <spencer.lyon@stern.nyu.edu>
@date : 2016-07-26
"""
__ve... | 24.176471 | 73 | 0.749392 | 58 | 411 | 5.206897 | 0.758621 | 0.099338 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027855 | 0.126521 | 411 | 16 | 74 | 25.6875 | 0.81337 | 0.805353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
3bc2e587527f4f051adc4af7723ec72ddbdf34e7 | 19,574 | py | Python | pacu/models/awsapi/codeguruprofiler.py | RyanJarv/Pacu2 | 27df4bcf296fc8f467d3dc671a47bf9519ce7a24 | [
"MIT"
] | 1 | 2022-03-09T14:51:54.000Z | 2022-03-09T14:51:54.000Z | pacu/models/awsapi/codeguruprofiler.py | RyanJarv/Pacu2 | 27df4bcf296fc8f467d3dc671a47bf9519ce7a24 | [
"MIT"
] | null | null | null | pacu/models/awsapi/codeguruprofiler.py | RyanJarv/Pacu2 | 27df4bcf296fc8f467d3dc671a47bf9519ce7a24 | [
"MIT"
] | null | null | null | # generated by datamodel-codegen:
# filename: openapi.yaml
# timestamp: 2021-12-31T02:46:33+00:00
from __future__ import annotations
from datetime import datetime
from enum import Enum
from typing import Annotated, Any, List, Optional
from pydantic import BaseModel, Extra, Field
class ServiceQuotaExceededExce... | 22.73403 | 270 | 0.736692 | 1,754 | 19,574 | 8.13455 | 0.253136 | 0.028385 | 0.067283 | 0.075694 | 0.170802 | 0.062728 | 0.0403 | 0.0403 | 0.034132 | 0.029086 | 0 | 0.007514 | 0.184122 | 19,574 | 860 | 271 | 22.760465 | 0.885911 | 0.269133 | 0 | 0.233333 | 1 | 0.008333 | 0.065509 | 0.025637 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.125 | 0.013889 | 0 | 0.825 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
3bcdec683a27c2e45a01f8c52eb3df2863102e9b | 228 | py | Python | code/python/test/imps.py | Ghost35431/Ghost35431.github.io | d189fb258a2ffd02692a475fa19d5002f52a8de2 | [
"MIT"
] | null | null | null | code/python/test/imps.py | Ghost35431/Ghost35431.github.io | d189fb258a2ffd02692a475fa19d5002f52a8de2 | [
"MIT"
] | null | null | null | code/python/test/imps.py | Ghost35431/Ghost35431.github.io | d189fb258a2ffd02692a475fa19d5002f52a8de2 | [
"MIT"
] | null | null | null | import os
import sys
import cmath
import pygame
import math
class consol:
def echo(temp):
_input = "echo" + temp
os.system(_input)
pi = math.pi
def test(argsv):
echo(args)
def main():
print("testing testing")
| 12.666667 | 26 | 0.675439 | 34 | 228 | 4.470588 | 0.588235 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214912 | 228 | 17 | 27 | 13.411765 | 0.849162 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0 | 0.357143 | 0 | 0.714286 | 0.071429 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
3bd459b825b0e43965f0af4667df7f97fcfc9df9 | 2,075 | py | Python | services/prodService/app/models.py | anaquin135/modularCPQ | af8575a407813c6ef3e3c0ca3258266f0bc6a4e7 | [
"MIT"
] | null | null | null | services/prodService/app/models.py | anaquin135/modularCPQ | af8575a407813c6ef3e3c0ca3258266f0bc6a4e7 | [
"MIT"
] | null | null | null | services/prodService/app/models.py | anaquin135/modularCPQ | af8575a407813c6ef3e3c0ca3258266f0bc6a4e7 | [
"MIT"
] | null | null | null | from datetime import datetime
from app import db
class PRODUCT(db.Model):
partNum = db.Column(db.String(120), nullable=False, primary_key=True)
description = db.Column(db.String(300), nullable=False, default='Missing Description')
isActive = db.Column(db.Boolean, nullable=False, defau... | 54.605263 | 95 | 0.663614 | 268 | 2,075 | 5.126866 | 0.201493 | 0.163028 | 0.203785 | 0.139738 | 0.748908 | 0.70524 | 0.563319 | 0.330422 | 0.19214 | 0.066958 | 0 | 0.036474 | 0.207229 | 2,075 | 37 | 96 | 56.081081 | 0.798784 | 0.024096 | 0 | 0.060606 | 0 | 0 | 0.012358 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.060606 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
3be6f57b66f0754e0aa24157756c1c99bb1fea28 | 107 | py | Python | system/enums/draw_type.py | gmattis/raspzen | 429e99fdba713f996524042a8f732b1624566c7f | [
"MIT"
] | null | null | null | system/enums/draw_type.py | gmattis/raspzen | 429e99fdba713f996524042a8f732b1624566c7f | [
"MIT"
] | null | null | null | system/enums/draw_type.py | gmattis/raspzen | 429e99fdba713f996524042a8f732b1624566c7f | [
"MIT"
] | null | null | null | from enum import Enum
class DrawType(Enum):
NOT_NEEDED = 0
PARTIAL = 1
FULL = 2
EXIT = 3
| 11.888889 | 21 | 0.598131 | 16 | 107 | 3.9375 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056338 | 0.336449 | 107 | 8 | 22 | 13.375 | 0.830986 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
ce04238a4f05dae251e053085cd77d257505d4a4 | 22 | py | Python | liquidb/consts.py | Gusakovskiy/django-liquidb | 034d427c1bf6dca0ab73c964bfced4e2a4d9c6ca | [
"BSD-3-Clause"
] | 11 | 2021-03-26T12:40:38.000Z | 2022-02-06T00:59:16.000Z | liquidb/consts.py | Gusakovskiy/django-liquidb | 034d427c1bf6dca0ab73c964bfced4e2a4d9c6ca | [
"BSD-3-Clause"
] | null | null | null | liquidb/consts.py | Gusakovskiy/django-liquidb | 034d427c1bf6dca0ab73c964bfced4e2a4d9c6ca | [
"BSD-3-Clause"
] | 1 | 2022-01-30T23:09:15.000Z | 2022-01-30T23:09:15.000Z | SELF_NAME = "liquidb"
| 11 | 21 | 0.727273 | 3 | 22 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 22 | 1 | 22 | 22 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0.318182 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ce0a63f629ee4eba89f50dc8e2e3a440aead052b | 138 | py | Python | fastapi_ext/view/decorators/types.py | dlski/fastapi-ext | 79f10872a05d473cc6b80f8e4178e553adb602d3 | [
"MIT"
] | 2 | 2021-03-22T19:18:44.000Z | 2021-03-29T21:19:29.000Z | fastapi_ext/view/decorators/types.py | dlski/fastapi-ext | 79f10872a05d473cc6b80f8e4178e553adb602d3 | [
"MIT"
] | null | null | null | fastapi_ext/view/decorators/types.py | dlski/fastapi-ext | 79f10872a05d473cc6b80f8e4178e553adb602d3 | [
"MIT"
] | null | null | null | from typing import Any, Callable, TypeVar
MemberType = Callable[..., Any]
DecoratedMember = TypeVar("DecoratedMember", bound=MemberType)
| 27.6 | 62 | 0.775362 | 14 | 138 | 7.642857 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108696 | 138 | 4 | 63 | 34.5 | 0.869919 | 0 | 0 | 0 | 0 | 0 | 0.108696 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
ce1740d82277ce9dfa08bb5099bb826339361dd0 | 834 | py | Python | app/routes/students.py | kunalbhatia-868/sih_backend22 | 7d9a15d57209715bfe8ef7c027fb6f386fe1fcfa | [
"MIT"
] | 1 | 2022-03-30T17:54:38.000Z | 2022-03-30T17:54:38.000Z | app/routes/students.py | kunalbhatia-868/sih_backend22 | 7d9a15d57209715bfe8ef7c027fb6f386fe1fcfa | [
"MIT"
] | null | null | null | app/routes/students.py | kunalbhatia-868/sih_backend22 | 7d9a15d57209715bfe8ef7c027fb6f386fe1fcfa | [
"MIT"
] | 2 | 2022-03-28T04:36:15.000Z | 2022-03-31T07:23:51.000Z | from os import name
from fastapi import APIRouter
from fastapi import APIRouter, Depends
from sqlalchemy.orm import Session
from app.schema import schema
from app.config import database
from app.repository import student_repo
from app.functions.oauth2 import get_current_user
router = APIRouter(
prefix="/student",... | 25.272727 | 83 | 0.761391 | 120 | 834 | 5.15 | 0.333333 | 0.040453 | 0.07767 | 0.092233 | 0.357605 | 0.255663 | 0.255663 | 0.255663 | 0.194175 | 0.194175 | 0 | 0.001372 | 0.125899 | 834 | 32 | 84 | 26.0625 | 0.846365 | 0 | 0 | 0.090909 | 0 | 0 | 0.039616 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.136364 | false | 0 | 0.363636 | 0.136364 | 0.636364 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 3 |
ce21d27af8e97cd023190dcbf7b8b1ffe7526e25 | 72 | py | Python | settings.py | thiNTR/morris_bot | 955688c6c0b0cae6c3d11ea49b17004477d4fd9b | [
"Apache-2.0"
] | 6 | 2018-11-05T16:19:59.000Z | 2018-11-21T15:50:14.000Z | settings.py | nogip/morris | 955688c6c0b0cae6c3d11ea49b17004477d4fd9b | [
"Apache-2.0"
] | null | null | null | settings.py | nogip/morris | 955688c6c0b0cae6c3d11ea49b17004477d4fd9b | [
"Apache-2.0"
] | null | null | null | import os
project_path = os.path.dirname(__file__)
api_version = "5.95" | 18 | 40 | 0.763889 | 12 | 72 | 4.083333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046875 | 0.111111 | 72 | 4 | 41 | 18 | 0.71875 | 0 | 0 | 0 | 0 | 0 | 0.054795 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
cbeda195374b40ebb5378092ff6879ed3183ddae | 91 | py | Python | conftest.py | pulkin/pyteleport | d0291486b82a6f21f9886f920428ccc9b0f36da4 | [
"BSD-2-Clause"
] | 9 | 2021-06-21T09:17:42.000Z | 2022-01-28T10:34:36.000Z | conftest.py | pulkin/pyteleport | d0291486b82a6f21f9886f920428ccc9b0f36da4 | [
"BSD-2-Clause"
] | null | null | null | conftest.py | pulkin/pyteleport | d0291486b82a6f21f9886f920428ccc9b0f36da4 | [
"BSD-2-Clause"
] | 1 | 2021-09-25T02:03:41.000Z | 2021-09-25T02:03:41.000Z | def pytest_addoption(parser):
parser.addoption("--inherit-path", action="store_true")
| 22.75 | 59 | 0.736264 | 11 | 91 | 5.909091 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098901 | 91 | 3 | 60 | 30.333333 | 0.792683 | 0 | 0 | 0 | 0 | 0 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
cbfa2ab0b2e5e982ab8734d191e985f404063bf5 | 866 | py | Python | dataclass/Community.py | SawDouma/CommunitiesExcelGenerator | 4842cbf1515d3cfd4f611ca761bfe798582ef9f5 | [
"MIT"
] | null | null | null | dataclass/Community.py | SawDouma/CommunitiesExcelGenerator | 4842cbf1515d3cfd4f611ca761bfe798582ef9f5 | [
"MIT"
] | null | null | null | dataclass/Community.py | SawDouma/CommunitiesExcelGenerator | 4842cbf1515d3cfd4f611ca761bfe798582ef9f5 | [
"MIT"
] | null | null | null |
class Community(object):
# def __init__(self, name, proportion, time_befor, time_after):
# self.name = name
# self.proportion = proportion
# self.time_before = time_befor
# self.time_after = time_after
@property
def name(self):
return self._name
@name.setter
... | 21.65 | 67 | 0.62933 | 102 | 866 | 5.068627 | 0.156863 | 0.139265 | 0.108317 | 0.069633 | 0.085106 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.284065 | 866 | 40 | 68 | 21.65 | 0.833871 | 0.210162 | 0 | 0.16 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.32 | false | 0 | 0 | 0.16 | 0.52 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
02183df0cc2c2ac696a9549c4bcfc88cf06e7036 | 2,000 | py | Python | ucloud/services/usms/schemas/models.py | yangyimincn/ucloud-sdk-python3 | 9732d67f32ec5f46467458ba655c44c193a6bbff | [
"Apache-2.0"
] | 1 | 2020-01-20T02:49:43.000Z | 2020-01-20T02:49:43.000Z | ucloud/services/usms/schemas/models.py | yangyimincn/ucloud-sdk-python3 | 9732d67f32ec5f46467458ba655c44c193a6bbff | [
"Apache-2.0"
] | null | null | null | ucloud/services/usms/schemas/models.py | yangyimincn/ucloud-sdk-python3 | 9732d67f32ec5f46467458ba655c44c193a6bbff | [
"Apache-2.0"
] | null | null | null | """ Code is generated by ucloud-model, DO NOT EDIT IT. """
from ucloud.core.typesystem import schema, fields
class ReceiptPerPhoneSchema(schema.ResponseSchema):
""" ReceiptPerPhone - 每个目的手机号的发送回执信息
"""
fields = {
"CostCount": fields.Int(required=True, load_from="CostCount"),
"Phone": fie... | 34.482759 | 78 | 0.6585 | 201 | 2,000 | 6.457711 | 0.268657 | 0.175655 | 0.234206 | 0.292758 | 0.464561 | 0.464561 | 0.12943 | 0.12943 | 0 | 0 | 0 | 0 | 0.189 | 2,000 | 57 | 79 | 35.087719 | 0.800247 | 0.087 | 0 | 0.228571 | 1 | 0 | 0.19175 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.028571 | 0 | 0.257143 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0223b8fcf0cab6d260c3ed7d13651b95d4056922 | 643 | py | Python | CS307/test.py | ntdgy/python_study | c3511846a89ea72418937de4cc3edf1595a46ec5 | [
"MIT"
] | null | null | null | CS307/test.py | ntdgy/python_study | c3511846a89ea72418937de4cc3edf1595a46ec5 | [
"MIT"
] | null | null | null | CS307/test.py | ntdgy/python_study | c3511846a89ea72418937de4cc3edf1595a46ec5 | [
"MIT"
] | null | null | null | import random
# Time to read file: 9.276578187942505
# pre_process time is 154.4978621006012 seconds ---
# director time is 0.6033608913421631 seconds ---
# client_enterprise time is 2.075925588607788 seconds ---
# salesman time is 14.507171392440796 seconds ---
# product time is 6.91956353187561 seconds ---
# product... | 53.583333 | 172 | 0.769829 | 79 | 643 | 6.202532 | 0.443038 | 0.097959 | 0.028571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.464286 | 0.129082 | 643 | 12 | 173 | 53.583333 | 0.410714 | 0.595645 | 0 | 0 | 0 | 0 | 0.09127 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
0238bede3eed4a0b19bb762ebe99471212219fee | 541 | py | Python | src/config/database.py | josh-lang/where-cycle | f5574040cbffa38f4ae78540712882cfdb32c036 | [
"MIT"
] | 21 | 2020-07-01T16:51:47.000Z | 2020-08-06T06:21:29.000Z | src/config/database.py | josh-lang/where-cycle | f5574040cbffa38f4ae78540712882cfdb32c036 | [
"MIT"
] | 2 | 2021-09-08T21:24:49.000Z | 2022-03-01T23:10:39.000Z | src/config/database.py | josh-lang/where-cycle | f5574040cbffa38f4ae78540712882cfdb32c036 | [
"MIT"
] | 2 | 2020-07-01T18:10:52.000Z | 2020-07-01T20:06:35.000Z | import os
import sqlalchemy as sql
jdbc_props = {
'driver': 'org.postgresql.Driver',
'user': os.environ['PSQL_USER'],
'password': os.environ['PSQL_PASSWORD']
}
jdbc_url = 'jdbc:postgresql://' + \
os.environ['PSQL_HOST'] + ':' + os.environ['PSQL_PORT'] + \
'/' + os.environ['PSQL_DATABASE']
py_eng... | 25.761905 | 67 | 0.608133 | 64 | 541 | 4.921875 | 0.328125 | 0.285714 | 0.412698 | 0.107937 | 0.349206 | 0.349206 | 0.349206 | 0.349206 | 0.349206 | 0.349206 | 0 | 0 | 0.173752 | 541 | 20 | 68 | 27.05 | 0.704698 | 0 | 0 | 0.125 | 0 | 0 | 0.336414 | 0.038817 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.125 | 0.125 | 0 | 0.125 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
023ff5b09c6d757f271155a2a08994b758a3bee8 | 170 | py | Python | delete.py | Salmandabbakuti/Python-Essentials | 1d327c16eef47abc806c67ab09004e9e3d2ab518 | [
"Apache-2.0"
] | null | null | null | delete.py | Salmandabbakuti/Python-Essentials | 1d327c16eef47abc806c67ab09004e9e3d2ab518 | [
"Apache-2.0"
] | null | null | null | delete.py | Salmandabbakuti/Python-Essentials | 1d327c16eef47abc806c67ab09004e9e3d2ab518 | [
"Apache-2.0"
] | null | null | null | import os
os.rmdir("myfolder")
if os.path.exists("demofile.txt"):
os.remove("demofile.txt")
print("file deleted.")
else:
print("The file does not exist")
| 18.888889 | 35 | 0.652941 | 25 | 170 | 4.44 | 0.72 | 0.198198 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 170 | 8 | 36 | 21.25 | 0.792857 | 0 | 0 | 0 | 0 | 0 | 0.419753 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.142857 | 0 | 0.142857 | 0.285714 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0249a2ddb91d52af0d946a4723008c97306f7080 | 1,466 | py | Python | models.py | Mintic-ProyectoAUBONPAIN/RETO_FINAL_2022_GRUPO4_AU_BON_PAIN | eb44301200dd1d0b17bf554ef5a5da8205bbbb57 | [
"MIT"
] | null | null | null | models.py | Mintic-ProyectoAUBONPAIN/RETO_FINAL_2022_GRUPO4_AU_BON_PAIN | eb44301200dd1d0b17bf554ef5a5da8205bbbb57 | [
"MIT"
] | null | null | null | models.py | Mintic-ProyectoAUBONPAIN/RETO_FINAL_2022_GRUPO4_AU_BON_PAIN | eb44301200dd1d0b17bf554ef5a5da8205bbbb57 | [
"MIT"
] | null | null | null | from datetime import datetime
from werkzeug.security import generate_password_hash, check_password_hash
from app import db, login_manager
from flask_login import UserMixin
@login_manager.user_loader
def load_user(id):
return User.query.get(int(id))
# ------- Create the User Model -------
class User(db.Model,... | 26.178571 | 85 | 0.665757 | 190 | 1,466 | 4.984211 | 0.347368 | 0.084477 | 0.105597 | 0.101373 | 0.149947 | 0.069694 | 0.069694 | 0.069694 | 0 | 0 | 0 | 0.014505 | 0.200546 | 1,466 | 55 | 86 | 26.654545 | 0.793515 | 0.075716 | 0 | 0.044444 | 1 | 0 | 0.031088 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0.133333 | 0.088889 | 0.088889 | 0.577778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
026ab1e3483b02d09afdee640ade5e3a13a6179a | 606 | py | Python | src/beanmachine/ppl/inference/proposer/base_proposer.py | horizon-blue/beanmachine-1 | b13e4e3e28ffb860947eb8046863b0cabb581222 | [
"MIT"
] | 177 | 2021-12-12T14:19:05.000Z | 2022-03-24T05:48:10.000Z | src/beanmachine/ppl/inference/proposer/base_proposer.py | horizon-blue/beanmachine-1 | b13e4e3e28ffb860947eb8046863b0cabb581222 | [
"MIT"
] | 171 | 2021-12-11T06:12:05.000Z | 2022-03-31T20:26:29.000Z | src/beanmachine/ppl/inference/proposer/base_proposer.py | horizon-blue/beanmachine-1 | b13e4e3e28ffb860947eb8046863b0cabb581222 | [
"MIT"
] | 31 | 2021-12-11T06:27:19.000Z | 2022-03-25T13:31:56.000Z | # Copyright (c) Meta Platforms, Inc. and affiliates.
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
from abc import ABCMeta, abstractmethod
from typing import Tuple
import torch
from beanmachine.ppl.world import World
class BaseProposer(... | 26.347826 | 77 | 0.716172 | 78 | 606 | 5.512821 | 0.666667 | 0.046512 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19802 | 606 | 22 | 78 | 27.545455 | 0.884774 | 0.280528 | 0 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
0273ca6f05a5df38383b3d466cc2c117f5b51dc0 | 251 | py | Python | writer/writer/flask_frontend/routes.py | ostcar/openslides-datastore-service | 5b17e162c477e3d19b59b2dcfcf307538e5ce90b | [
"MIT"
] | null | null | null | writer/writer/flask_frontend/routes.py | ostcar/openslides-datastore-service | 5b17e162c477e3d19b59b2dcfcf307538e5ce90b | [
"MIT"
] | null | null | null | writer/writer/flask_frontend/routes.py | ostcar/openslides-datastore-service | 5b17e162c477e3d19b59b2dcfcf307538e5ce90b | [
"MIT"
] | null | null | null | from shared.flask_frontend import unify_urls
URL_PREFIX = "/internal/datastore/writer/"
WRITE_URL = unify_urls(URL_PREFIX, "/write")
RESERVE_IDS_URL = unify_urls(URL_PREFIX, "/reserve_ids")
TRUNCATE_DB_URL = unify_urls(URL_PREFIX, "/truncate_db")
| 25.1 | 56 | 0.792829 | 37 | 251 | 4.945946 | 0.459459 | 0.196721 | 0.262295 | 0.393443 | 0.344262 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091633 | 251 | 9 | 57 | 27.888889 | 0.802632 | 0 | 0 | 0 | 0 | 0 | 0.227092 | 0.10757 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 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 | 0 | 0 | 0 | 0 | 0 | 3 |
5a0d72054b653e28f7071e35f400ec9cd241a693 | 531 | py | Python | main (5).py | Mrprogrammernobrainz/duplicatefunc | bb7da367d3d853840e5c5f7ad849f98106c97607 | [
"Unlicense"
] | null | null | null | main (5).py | Mrprogrammernobrainz/duplicatefunc | bb7da367d3d853840e5c5f7ad849f98106c97607 | [
"Unlicense"
] | null | null | null | main (5).py | Mrprogrammernobrainz/duplicatefunc | bb7da367d3d853840e5c5f7ad849f98106c97607 | [
"Unlicense"
] | null | null | null | def duplicate(iterat, word):
ans = ''
if iterat == 0:
return ''
for i in range(len(word)):
if word[i] != ' ' and word[i] != ',' and word[i] != '!' and word[i] != '?' and word[i] != '(' and word[i] != ')' and word[i] != ";" and word[i] != ":" and word[i] != '[' and word[i] != ']' and wor... | 40.846154 | 255 | 0.438795 | 75 | 531 | 3.106667 | 0.266667 | 0.321888 | 0.412017 | 0.618026 | 0.433476 | 0.433476 | 0.433476 | 0.433476 | 0.433476 | 0.433476 | 0 | 0.002747 | 0.314501 | 531 | 13 | 256 | 40.846154 | 0.637363 | 0 | 0 | 0 | 0 | 0 | 0.025 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0 | 0 | 0 | 0.230769 | 0.076923 | 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 | 0 | 0 | 0 | 0 | 0 | 3 |
5a1afd8c5630582cc64457b43d841f4892e391d3 | 151 | py | Python | src/alexacloud/alexa/forms.py | fausecteam/faustctf-2017-alexa | 53be850957e88642aaaaffd61360195091aaa35c | [
"0BSD"
] | null | null | null | src/alexacloud/alexa/forms.py | fausecteam/faustctf-2017-alexa | 53be850957e88642aaaaffd61360195091aaa35c | [
"0BSD"
] | null | null | null | src/alexacloud/alexa/forms.py | fausecteam/faustctf-2017-alexa | 53be850957e88642aaaaffd61360195091aaa35c | [
"0BSD"
] | null | null | null | from django import forms
class AudioQueryForm(forms.Form):
audioFile = forms.FileField()
lang = forms.CharField(required=False, initial="en-us")
| 16.777778 | 56 | 0.754967 | 19 | 151 | 6 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125828 | 151 | 8 | 57 | 18.875 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0.033557 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
5a1c16e2dd519987aabd3c702e302a16753a135a | 16 | py | Python | qdc_converter/version.py | interlark/qdc-converter | c602ee847c2b538d944df8448bc1ab415c92e6de | [
"MIT"
] | 1 | 2022-03-28T05:22:06.000Z | 2022-03-28T05:22:06.000Z | qdc_converter/version.py | interlark/qdc-converter | c602ee847c2b538d944df8448bc1ab415c92e6de | [
"MIT"
] | null | null | null | qdc_converter/version.py | interlark/qdc-converter | c602ee847c2b538d944df8448bc1ab415c92e6de | [
"MIT"
] | null | null | null | version = '2.3'
| 8 | 15 | 0.5625 | 3 | 16 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 0.1875 | 16 | 1 | 16 | 16 | 0.538462 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
5a233c04d177bb334145c98718d5afe9e388b6c9 | 285 | py | Python | musco/tf/__init__.py | benjybarnett/musco-tf | a84624fdff92abdd7a34e8374f28b23ce2d28b53 | [
"Apache-2.0"
] | null | null | null | musco/tf/__init__.py | benjybarnett/musco-tf | a84624fdff92abdd7a34e8374f28b23ce2d28b53 | [
"Apache-2.0"
] | null | null | null | musco/tf/__init__.py | benjybarnett/musco-tf | a84624fdff92abdd7a34e8374f28b23ce2d28b53 | [
"Apache-2.0"
] | null | null | null | import sys
import logging
import warnings
from muscotf.musco.tf.compressor.compress import CompressorVBMF, compress_seq, compress_noseq
from muscotf.musco.tf.optimizer.trt import Optimizer
logging.disable(logging.CRITICAL)
if not sys.warnoptions:
warnings.simplefilter("ignore")
| 25.909091 | 93 | 0.831579 | 37 | 285 | 6.351351 | 0.594595 | 0.093617 | 0.13617 | 0.153191 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094737 | 285 | 10 | 94 | 28.5 | 0.910853 | 0 | 0 | 0 | 0 | 0 | 0.021053 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.625 | 0 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
5a35694353067879b124c31abcf6a0917eeba66c | 303 | py | Python | apps/csdn/admin.py | wfyhehe/CsdnBackEnd | 51e5c58b02c9a0e553d224e45699b22d55829726 | [
"MIT"
] | 1 | 2018-04-21T14:46:37.000Z | 2018-04-21T14:46:37.000Z | apps/csdn/admin.py | wfyhehe/CsdnBackEnd | 51e5c58b02c9a0e553d224e45699b22d55829726 | [
"MIT"
] | null | null | null | apps/csdn/admin.py | wfyhehe/CsdnBackEnd | 51e5c58b02c9a0e553d224e45699b22d55829726 | [
"MIT"
] | null | null | null | from django.contrib import admin
# Register your models here.
from csdn.models import CsdnArticle, CsdnAuthor
class ArticleAdmin(admin.ModelAdmin):
fields = '__all__'
class AuthorAdmin(admin.ModelAdmin):
fields = '__all__'
admin.site.register(CsdnArticle)
admin.site.register(CsdnAuthor)
| 17.823529 | 47 | 0.775578 | 35 | 303 | 6.485714 | 0.542857 | 0.132159 | 0.185022 | 0.211454 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135314 | 303 | 16 | 48 | 18.9375 | 0.866412 | 0.085809 | 0 | 0.25 | 0 | 0 | 0.050909 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
5a6a3e7a2a872afb0d07bcdfb22e9fe0b8858ca2 | 5,775 | py | Python | rdkit/Chem/PeriodicTable.py | docking-org/rdk | 6eb710254f027b348a8e3089e6a92c3d40de0949 | [
"PostgreSQL"
] | null | null | null | rdkit/Chem/PeriodicTable.py | docking-org/rdk | 6eb710254f027b348a8e3089e6a92c3d40de0949 | [
"PostgreSQL"
] | null | null | null | rdkit/Chem/PeriodicTable.py | docking-org/rdk | 6eb710254f027b348a8e3089e6a92c3d40de0949 | [
"PostgreSQL"
] | 1 | 2022-03-30T03:22:10.000Z | 2022-03-30T03:22:10.000Z | # $Id$
#
# Copyright (C) 2001-2006 greg Landrum and Rational Discovery LLC
#
# @@ All Rights Reserved @@
# This file is part of the RDKit.
# The contents are covered by the terms of the BSD license
# which is included in the file license.txt, found at the root
# of the RDKit source tree.
#
""" periodic table data... | 34.580838 | 95 | 0.622511 | 1,557 | 5,775 | 2.308927 | 0.32948 | 0.07121 | 0.065369 | 0.008901 | 0.133241 | 0.10459 | 0.102921 | 0.057302 | 0.057302 | 0.047844 | 0 | 0.527498 | 0.244329 | 5,775 | 166 | 96 | 34.789157 | 0.296288 | 0.129524 | 0 | 0.028169 | 0 | 0 | 0.75215 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
5a7186f6ef41625099cabcbb634c73da5155b03d | 480 | py | Python | rangeesh/star_wars/migrations/0002_auto_20200907_1203.py | Rangeeshar/Django-Project | 7f229c726a22228a335c6e993e3852f16c5552b1 | [
"MIT"
] | null | null | null | rangeesh/star_wars/migrations/0002_auto_20200907_1203.py | Rangeeshar/Django-Project | 7f229c726a22228a335c6e993e3852f16c5552b1 | [
"MIT"
] | null | null | null | rangeesh/star_wars/migrations/0002_auto_20200907_1203.py | Rangeeshar/Django-Project | 7f229c726a22228a335c6e993e3852f16c5552b1 | [
"MIT"
] | null | null | null | # Generated by Django 3.0.8 on 2020-09-07 12:03
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
("star_wars", "0001_initial"),
]
operations = [
migrations.AlterModelOptions(
name="people",
options={"verbose_name_plural": "... | 21.818182 | 55 | 0.579167 | 45 | 480 | 6.044444 | 0.688889 | 0.198529 | 0.227941 | 0.176471 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05638 | 0.297917 | 480 | 21 | 56 | 22.857143 | 0.750742 | 0.09375 | 0 | 0.266667 | 1 | 0 | 0.196305 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.066667 | 0 | 0.266667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
5a8a1964373d94f1c623e4383adcb4536985c52c | 213 | py | Python | app/credenitials.py | labeveryday/acistats | 98e9952abc31e6a783bf39e5eac5759e7b8f28a4 | [
"MIT"
] | null | null | null | app/credenitials.py | labeveryday/acistats | 98e9952abc31e6a783bf39e5eac5759e7b8f28a4 | [
"MIT"
] | null | null | null | app/credenitials.py | labeveryday/acistats | 98e9952abc31e6a783bf39e5eac5759e7b8f28a4 | [
"MIT"
] | null | null | null | # Get Webex token here: https://developer.webex.com/
URL = "https://sandboxapicdc.cisco.com"
USERNAME = "admin"
PASSWORD = "ciscopsdt"
WEBEX_ROOM_NAME = " "
WEBEX_EMAIL_ADDRESS = " "
WEBEX_TEAMS_ACCESS_TOKEN = " " | 30.428571 | 52 | 0.732394 | 27 | 213 | 5.518519 | 0.740741 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122066 | 213 | 7 | 53 | 30.428571 | 0.796791 | 0.234742 | 0 | 0 | 0 | 0 | 0.296296 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.166667 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
ce57944c35e003c5b458a80835d78f5144cd0342 | 309 | py | Python | Sound.py | Bob-Z/RandoMame | 2073d0f1f3de6b7c2f7c090ee79509adb2a1d302 | [
"Apache-2.0"
] | 2 | 2021-11-13T16:28:04.000Z | 2022-02-24T16:56:15.000Z | Sound.py | FollyMaddy/RandoMame | 3c6d1defbce2aeb50b7b83419ade6f9fef280af1 | [
"Apache-2.0"
] | null | null | null | Sound.py | FollyMaddy/RandoMame | 3c6d1defbce2aeb50b7b83419ade6f9fef280af1 | [
"Apache-2.0"
] | 1 | 2021-11-13T16:26:19.000Z | 2021-11-13T16:26:19.000Z | import SoundPulseAudio
def init():
SoundPulseAudio.init()
def get_silence_duration_sec():
return SoundPulseAudio.get_silence_duration_sec()
def reset():
SoundPulseAudio.reset()
def kill():
SoundPulseAudio.kill()
def set_mute(pid, is_mute):
SoundPulseAudio.set_mute(pid, is_mute)
| 14.045455 | 53 | 0.734628 | 37 | 309 | 5.864865 | 0.405405 | 0.092166 | 0.165899 | 0.193548 | 0.147465 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161812 | 309 | 21 | 54 | 14.714286 | 0.837838 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.454545 | false | 0 | 0.090909 | 0.090909 | 0.636364 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.