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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
e16abf2f174dcb31bde820b1e7cb182b8654ae93 | 260 | py | Python | tests/conftest.py | Pike/sphinxcontrib-elements | fe810b6f92a44b0d7ec582e72a1d60289a8c2604 | [
"BSD-2-Clause"
] | null | null | null | tests/conftest.py | Pike/sphinxcontrib-elements | fe810b6f92a44b0d7ec582e72a1d60289a8c2604 | [
"BSD-2-Clause"
] | null | null | null | tests/conftest.py | Pike/sphinxcontrib-elements | fe810b6f92a44b0d7ec582e72a1d60289a8c2604 | [
"BSD-2-Clause"
] | null | null | null | """
pytest config for sphinxcontrib/elements/tests
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:copyright: Copyright 2017 by Axel Hecht <axel@pike.org>
:license: BSD, see LICENSE for details.
"""
pytest_plugins = 'sphinx.testing.fixtures'
| 26 | 60 | 0.576923 | 26 | 260 | 5.730769 | 0.807692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018265 | 0.157692 | 260 | 9 | 61 | 28.888889 | 0.6621 | 0.734615 | 0 | 0 | 0 | 0 | 0.511111 | 0.511111 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
e16e5c2823f8734e61ac657075cdf1d01e6d2598 | 190 | py | Python | models/admin.py | KingFarGrace/chat_board | 9e8de73c9b22f6c163ae1576ed3885c005ca1eca | [
"MIT"
] | null | null | null | models/admin.py | KingFarGrace/chat_board | 9e8de73c9b22f6c163ae1576ed3885c005ca1eca | [
"MIT"
] | null | null | null | models/admin.py | KingFarGrace/chat_board | 9e8de73c9b22f6c163ae1576ed3885c005ca1eca | [
"MIT"
] | null | null | null | #!/usr/bin/python3
# -*- encoding: utf-8 -*-
from exts import db
class Admin(db.Model):
__tablenname__ = 'admin'
uid = db.Column(db.Integer, primary_key=True, autoincrement=True)
| 19 | 69 | 0.678947 | 26 | 190 | 4.769231 | 0.807692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012579 | 0.163158 | 190 | 9 | 70 | 21.111111 | 0.767296 | 0.215789 | 0 | 0 | 0 | 0 | 0.034014 | 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 |
e176e32d50b5b6d2bc933892dd14e220027e486d | 7,936 | py | Python | tests/jupyter/widget_core_test.py | skywalk163/vaex | f5e38f1fa448ef78936e2cb6b3d026fda1f2a1c5 | [
"MIT"
] | 2 | 2020-12-01T09:41:54.000Z | 2020-12-13T14:10:19.000Z | tests/jupyter/widget_core_test.py | skywalk163/vaex | f5e38f1fa448ef78936e2cb6b3d026fda1f2a1c5 | [
"MIT"
] | null | null | null | tests/jupyter/widget_core_test.py | skywalk163/vaex | f5e38f1fa448ef78936e2cb6b3d026fda1f2a1c5 | [
"MIT"
] | null | null | null | import pytest
import vaex
import numpy as np
import vaex.jupyter.state
import vaex.jupyter.viz
import vaex.jupyter.create
import vaex.jupyter.grid
@pytest.fixture()
def ds():
x = np.array([0, 1, 2, 3, 4, 5])
y = x ** 2
g1 = np.array([0, 1, 1, 2, 2, 2])
g2 = np.array([0, 0, 1, 1, 2, 3])
ds = vaex.... | 37.084112 | 114 | 0.648942 | 1,162 | 7,936 | 4.322719 | 0.094664 | 0.085407 | 0.011945 | 0.03046 | 0.812264 | 0.765081 | 0.694207 | 0.632291 | 0.568585 | 0.538722 | 0 | 0.047903 | 0.197707 | 7,936 | 213 | 115 | 37.258216 | 0.741008 | 0.174899 | 0 | 0.425806 | 0 | 0 | 0.025468 | 0 | 0 | 0 | 0 | 0 | 0.483871 | 1 | 0.051613 | false | 0 | 0.045161 | 0 | 0.103226 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
e17ab7d51fc97e89ca1b259759d6ac375477b8a4 | 579 | py | Python | scoper/scoper_lib/db/models.py | fakeNetflix/uber-repo-focuson | 6035be631853df16f434372194f5619c9c4e5322 | [
"MIT"
] | 260 | 2017-04-20T16:59:02.000Z | 2021-02-21T22:46:46.000Z | scoper/scoper_lib/db/models.py | chubbymaggie/focuson | 6035be631853df16f434372194f5619c9c4e5322 | [
"MIT"
] | null | null | null | scoper/scoper_lib/db/models.py | chubbymaggie/focuson | 6035be631853df16f434372194f5619c9c4e5322 | [
"MIT"
] | 30 | 2017-04-20T18:22:23.000Z | 2021-02-10T18:17:04.000Z | import datetime as dt
from sqlalchemy import (
Column,
DateTime,
Integer,
String,
)
from sqlalchemy.ext.declarative import declarative_base
Base = declarative_base()
class Route(Base):
__tablename__ = 'routes'
id = Column(Integer, primary_key=True)
auth_type = Column(String, nullable=Fal... | 26.318182 | 95 | 0.728843 | 70 | 579 | 5.857143 | 0.471429 | 0.158537 | 0.195122 | 0.243902 | 0.219512 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170984 | 579 | 21 | 96 | 27.571429 | 0.854167 | 0 | 0 | 0 | 0 | 0 | 0.010363 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.176471 | 0 | 0.647059 | 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 |
e17e49b147fd241ff6214b9080741c7afd6ba92a | 23 | py | Python | __init__.py | kwanhur/leetcode | 62c297ce16c3c622d4d3740906362deda54abe0c | [
"MIT"
] | null | null | null | __init__.py | kwanhur/leetcode | 62c297ce16c3c622d4d3740906362deda54abe0c | [
"MIT"
] | null | null | null | __init__.py | kwanhur/leetcode | 62c297ce16c3c622d4d3740906362deda54abe0c | [
"MIT"
] | null | null | null | __author__ = 'kwanhur'
| 11.5 | 22 | 0.73913 | 2 | 23 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 23 | 1 | 23 | 23 | 0.65 | 0 | 0 | 0 | 0 | 0 | 0.304348 | 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 |
e17fe36360e344cfbc62e74e7601a919f5f4c143 | 388 | py | Python | autoio-interfaces/mess_io/reader/__init__.py | lpratalimaffei/autoio | 57be6e4882af1841153c19e7353e2531e64ce47f | [
"Apache-2.0"
] | null | null | null | autoio-interfaces/mess_io/reader/__init__.py | lpratalimaffei/autoio | 57be6e4882af1841153c19e7353e2531e64ce47f | [
"Apache-2.0"
] | 1 | 2022-02-15T19:35:14.000Z | 2022-02-15T19:35:14.000Z | autoio-interfaces/mess_io/reader/__init__.py | lpratalimaffei/autoio | 57be6e4882af1841153c19e7353e2531e64ce47f | [
"Apache-2.0"
] | 13 | 2020-06-24T05:21:11.000Z | 2021-05-05T19:58:30.000Z | """
Parses the output of various MESS calculations to obtain
various kinetic and thermochemical parameters of interest
"""
from mess_io.reader import pfs
from mess_io.reader import rates
from mess_io.reader import tors
from mess_io.reader._pes import pes
from mess_io.reader._lump import merged_wells
__all__ = [
... | 19.4 | 59 | 0.731959 | 56 | 388 | 4.839286 | 0.464286 | 0.147601 | 0.184502 | 0.295203 | 0.243542 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190722 | 388 | 19 | 60 | 20.421053 | 0.863057 | 0.293814 | 0 | 0 | 0 | 0 | 0.103053 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.416667 | 0 | 0.416667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
e1abc51fe02d1bda51e516cb2310507eb2adfce9 | 8,581 | py | Python | ansible_filter/tests/test_change_set.py | nl2go/ansible-filter-hetzner | 9984bc83d96acb06cdb6443b3ae1d13671510b36 | [
"MIT"
] | 2 | 2020-01-28T12:13:09.000Z | 2020-02-12T01:38:44.000Z | ansible_filter/tests/test_change_set.py | nl2go/ansible-filter-hetzner | 9984bc83d96acb06cdb6443b3ae1d13671510b36 | [
"MIT"
] | 1 | 2020-01-31T14:25:21.000Z | 2020-01-31T14:25:21.000Z | ansible_filter/tests/test_change_set.py | nl2go/ansible-filter | 9984bc83d96acb06cdb6443b3ae1d13671510b36 | [
"MIT"
] | null | null | null | import sys
import unittest
import copy
from ansible_filter.change_set import (
ACTION_CREATE,
ACTION_UPDATE,
ACTION_DELETE,
ACTION_NOOP,
change_set,
is_all_list,
is_equal_list,
is_equal_bool,
dict_to_array,
str2bool
)
class ChangeSetTest(unittest.TestCase):
default_change... | 30.866906 | 90 | 0.580585 | 986 | 8,581 | 4.71501 | 0.100406 | 0.183911 | 0.138955 | 0.123683 | 0.796515 | 0.734136 | 0.718649 | 0.66638 | 0.627447 | 0.603571 | 0 | 0.008454 | 0.269432 | 8,581 | 278 | 91 | 30.866906 | 0.733131 | 0 | 0 | 0.441748 | 0 | 0 | 0.098928 | 0 | 0 | 0 | 0 | 0 | 0.116505 | 1 | 0.11165 | false | 0 | 0.019417 | 0 | 0.140777 | 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 |
e1ac817b6e8ac549ce79f56ebd86aff6108f675f | 274 | py | Python | python/Core/Base/BaseValidation.py | toilatester/sample-automation-frameworks-across-languages | 4c1ceb3f8fff14ed838f94c92be7d92013c95d4a | [
"Apache-2.0"
] | 8 | 2020-12-11T06:57:12.000Z | 2021-10-11T12:53:49.000Z | python/Core/Base/BaseValidation.py | toilatester/sample-automation-frameworks-across-languages | 4c1ceb3f8fff14ed838f94c92be7d92013c95d4a | [
"Apache-2.0"
] | null | null | null | python/Core/Base/BaseValidation.py | toilatester/sample-automation-frameworks-across-languages | 4c1ceb3f8fff14ed838f94c92be7d92013c95d4a | [
"Apache-2.0"
] | 2 | 2021-04-06T08:14:35.000Z | 2021-08-05T01:43:54.000Z | from Core.Assertions.Assertion import Assert, APIAssert
class BaseValidation(object):
def __init__(self):
self.assertion = Assert()
self.api_assertion = APIAssert()
self.assertion.log = self.__log
def __log(self, msg, level):
pass
| 22.833333 | 55 | 0.664234 | 31 | 274 | 5.580645 | 0.580645 | 0.150289 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.240876 | 274 | 11 | 56 | 24.909091 | 0.831731 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.25 | false | 0.125 | 0.125 | 0 | 0.5 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
e1ae934b498e36344a4bef5532230e5d3f5d7d33 | 3,435 | py | Python | test_manage_sg.py | porthunt/manage-sg | 9650d74400ca5fda71dd9cbd6e4754e9d16fd023 | [
"Unlicense"
] | null | null | null | test_manage_sg.py | porthunt/manage-sg | 9650d74400ca5fda71dd9cbd6e4754e9d16fd023 | [
"Unlicense"
] | null | null | null | test_manage_sg.py | porthunt/manage-sg | 9650d74400ca5fda71dd9cbd6e4754e9d16fd023 | [
"Unlicense"
] | null | null | null | import pytest
import boto3
from botocore.exceptions import ClientError
from moto import mock_ec2
import manage_sg
def create_sg(client):
response = client.create_security_group(
Description="Barbaz",
GroupName="Foobar",
)
return response["GroupId"]
def describe_sg(client, sg_id: str):
... | 34.35 | 82 | 0.650364 | 462 | 3,435 | 4.636364 | 0.155844 | 0.033613 | 0.037815 | 0.033613 | 0.781046 | 0.730626 | 0.710551 | 0.686275 | 0.656863 | 0.656863 | 0 | 0.044203 | 0.196507 | 3,435 | 99 | 83 | 34.69697 | 0.731884 | 0 | 0 | 0.482353 | 0 | 0 | 0.183697 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.082353 | false | 0 | 0.058824 | 0 | 0.164706 | 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 |
e1ca1fc9f59c205cd3eb48205a839e7e9ca8a6c2 | 1,257 | py | Python | res/Ui/UiPose.py | gr4ph0s/PoseMaster | a817a72af44be931080f270c88910320d4a8a423 | [
"Apache-2.0"
] | 1 | 2018-08-03T16:40:16.000Z | 2018-08-03T16:40:16.000Z | res/Ui/UiPose.py | gr4ph0s/PoseMaster | a817a72af44be931080f270c88910320d4a8a423 | [
"Apache-2.0"
] | null | null | null | res/Ui/UiPose.py | gr4ph0s/PoseMaster | a817a72af44be931080f270c88910320d4a8a423 | [
"Apache-2.0"
] | 1 | 2020-01-28T15:36:28.000Z | 2020-01-28T15:36:28.000Z | class UiPose(object):
"""
This class represents a pose in the GeUserArea.
.. attribute:: id
The id of the pose in the DB
.. attribute:: bmp
c4d.bitmaps.BaseBitmap of the pose
.. attribute:: name
The name of the pose. Can be shrinked in the display function according the si... | 21.305085 | 103 | 0.58393 | 162 | 1,257 | 4.425926 | 0.333333 | 0.041841 | 0.078103 | 0.055788 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001167 | 0.318218 | 1,257 | 59 | 104 | 21.305085 | 0.835473 | 0.289578 | 0 | 0.266667 | 0 | 0 | 0.020118 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.166667 | 0.633333 | 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 |
beca1af822e1c7dc1f3c361e38c35ff77d5c6ec7 | 174 | py | Python | train.py | danebell/gap-minder | 72e9896e549065d6d881d08203ea4622a1a03919 | [
"MIT"
] | null | null | null | train.py | danebell/gap-minder | 72e9896e549065d6d881d08203ea4622a1a03919 | [
"MIT"
] | null | null | null | train.py | danebell/gap-minder | 72e9896e549065d6d881d08203ea4622a1a03919 | [
"MIT"
] | null | null | null | import configparser
import torch
config = configparser.ConfigParser()
config.read('./config.ini')
deff = config['DEFAULT']['def_loc']
vecf = config['DEFAULT']['vec_loc']
| 15.818182 | 36 | 0.724138 | 21 | 174 | 5.904762 | 0.571429 | 0.209677 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 174 | 10 | 37 | 17.4 | 0.794872 | 0 | 0 | 0 | 0 | 0 | 0.232558 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
becc6351f8e89ca1d73d2382255e9e9a1f4ee53c | 12,297 | py | Python | natsbench_sss_pred.py | debadeepta/zero-cost-nas | e14ee81078ed1a2f0e11d4db6e12bddf4b309776 | [
"Apache-2.0"
] | null | null | null | natsbench_sss_pred.py | debadeepta/zero-cost-nas | e14ee81078ed1a2f0e11d4db6e12bddf4b309776 | [
"Apache-2.0"
] | null | null | null | natsbench_sss_pred.py | debadeepta/zero-cost-nas | e14ee81078ed1a2f0e11d4db6e12bddf4b309776 | [
"Apache-2.0"
] | null | null | null | # Copyright 2021 Samsung Electronics Co., Ltd.
#
# 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... | 81.98 | 6,292 | 0.663333 | 1,812 | 12,297 | 4.435982 | 0.701987 | 0.016795 | 0.031724 | 0.005598 | 0.06631 | 0.041055 | 0.034586 | 0.025131 | 0.025131 | 0.017168 | 0 | 0.437519 | 0.193706 | 12,297 | 149 | 6,293 | 82.530201 | 0.373172 | 0.078556 | 0 | 0.065934 | 0 | 0 | 0.099832 | 0.01459 | 0 | 0 | 0 | 0.006711 | 0.010989 | 1 | 0.021978 | false | 0 | 0.120879 | 0.010989 | 0.164835 | 0.010989 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
83108fbd155964b239d8197403402c6827828d9d | 50 | py | Python | pyle38/__init__.py | iwpnd/pyle38 | d2d6fa4e11b7444ed97df9152ee8e0a9dd0952d7 | [
"MIT"
] | 44 | 2021-04-08T07:06:19.000Z | 2022-02-16T15:06:05.000Z | pyle38/__init__.py | iwpnd/pyle38 | d2d6fa4e11b7444ed97df9152ee8e0a9dd0952d7 | [
"MIT"
] | 50 | 2021-04-19T10:03:12.000Z | 2022-03-03T16:13:50.000Z | pyle38/__init__.py | iwpnd/pyle38 | d2d6fa4e11b7444ed97df9152ee8e0a9dd0952d7 | [
"MIT"
] | 4 | 2021-04-29T08:20:21.000Z | 2022-03-12T07:28:19.000Z | __version__ = "0.6.0"
from .tile38 import Tile38
| 12.5 | 26 | 0.72 | 8 | 50 | 4 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0.16 | 50 | 3 | 27 | 16.666667 | 0.595238 | 0 | 0 | 0 | 0 | 0 | 0.1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
83192b407365f41c3c8f320743e138765b573d1c | 111 | py | Python | tower/tower/__init__.py | Teetertater/MARLAnts | a175cfc96688e265049c963934f73fc2a7ee8c63 | [
"Apache-2.0"
] | 2 | 2019-11-20T14:18:55.000Z | 2019-12-23T02:31:48.000Z | tower/tower/__init__.py | Teetertater/MARLAnts | a175cfc96688e265049c963934f73fc2a7ee8c63 | [
"Apache-2.0"
] | null | null | null | tower/tower/__init__.py | Teetertater/MARLAnts | a175cfc96688e265049c963934f73fc2a7ee8c63 | [
"Apache-2.0"
] | null | null | null | from gym.envs.registration import register
register(id='Tower-v0',
entry_point='tower.envs:TowerEnv',
) | 22.2 | 42 | 0.738739 | 15 | 111 | 5.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010309 | 0.126126 | 111 | 5 | 43 | 22.2 | 0.824742 | 0 | 0 | 0 | 0 | 0 | 0.241071 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 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 |
831db8112660a6994654c496c955351b0a20809e | 1,139 | py | Python | parse-with-neuralcoref-and-bist-smoketest.py | joshweir/ch-spacy | bf7a580ec1a38a74197e6384edf2a4bb4bdc3f36 | [
"CC0-1.0"
] | null | null | null | parse-with-neuralcoref-and-bist-smoketest.py | joshweir/ch-spacy | bf7a580ec1a38a74197e6384edf2a4bb4bdc3f36 | [
"CC0-1.0"
] | null | null | null | parse-with-neuralcoref-and-bist-smoketest.py | joshweir/ch-spacy | bf7a580ec1a38a74197e6384edf2a4bb4bdc3f36 | [
"CC0-1.0"
] | null | null | null | import spacy
import datetime
import logging
logging.basicConfig(level=logging.INFO)
import neuralcoref
from nlp_architect.pipelines.spacy_bist import SpacyBISTParser
nlp = spacy.load('en_core_web_sm')
nlp.replace_pipe("parser", SpacyBISTParser())
neuralcoref.add_to_pipe(nlp)
print('processing', datetime.datetime.utcn... | 59.947368 | 722 | 0.823529 | 167 | 1,139 | 5.550898 | 0.401198 | 0.029126 | 0.048544 | 0.064725 | 0.650485 | 0.650485 | 0.650485 | 0.650485 | 0.650485 | 0.650485 | 0 | 0 | 0.125549 | 1,139 | 18 | 723 | 63.277778 | 0.930723 | 0 | 0 | 0 | 0 | 0.0625 | 0.658472 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.3125 | 0 | 0.3125 | 0.125 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
8328e893759a68e7dd098c947cffbe7e0158f8de | 84,111 | py | Python | pysnmp-with-texts/Nortel-MsCarrier-MscPassport-FrTraceRcvrMIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 8 | 2019-05-09T17:04:00.000Z | 2021-06-09T06:50:51.000Z | pysnmp-with-texts/Nortel-MsCarrier-MscPassport-FrTraceRcvrMIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 4 | 2019-05-31T16:42:59.000Z | 2020-01-31T21:57:17.000Z | pysnmp-with-texts/Nortel-MsCarrier-MscPassport-FrTraceRcvrMIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 10 | 2019-04-30T05:51:36.000Z | 2022-02-16T03:33:41.000Z | #
# PySNMP MIB module Nortel-MsCarrier-MscPassport-FrTraceRcvrMIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/Nortel-MsCarrier-MscPassport-FrTraceRcvrMIB
# Produced by pysmi-0.3.4 at Wed May 1 14:30:03 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by use... | 201.222488 | 9,138 | 0.805257 | 9,444 | 84,111 | 7.171855 | 0.092016 | 0.045356 | 0.079373 | 0.008445 | 0.510062 | 0.39366 | 0.378542 | 0.365372 | 0.345366 | 0.331488 | 0 | 0.053052 | 0.089917 | 84,111 | 417 | 9,139 | 201.705036 | 0.831766 | 0.004518 | 0 | 0 | 0 | 0.158537 | 0.346886 | 0.047037 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.05122 | 0.02439 | 0 | 0.02439 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
8330f2645a6fd4052e7348e26c16b3d9527973f2 | 14,493 | py | Python | robofin/robots.py | fishbotics/robofin | 5d63207ed419bb33b764b56188744dab760c9667 | [
"MIT"
] | null | null | null | robofin/robots.py | fishbotics/robofin | 5d63207ed419bb33b764b56188744dab760c9667 | [
"MIT"
] | null | null | null | robofin/robots.py | fishbotics/robofin | 5d63207ed419bb33b764b56188744dab760c9667 | [
"MIT"
] | null | null | null | from pathlib import Path
from geometrout.transform import SE3, SO3
from ikfast_franka_panda import get_fk, get_ik
import numpy as np
class FrankaRobot:
# TODO remove this after making this more general
JOINT_LIMITS = np.array(
[
(-2.8973, 2.8973),
(-1.7628, 1.7628),
... | 34.672249 | 115 | 0.478576 | 1,707 | 14,493 | 3.938489 | 0.143527 | 0.044623 | 0.040161 | 0.025584 | 0.763945 | 0.743418 | 0.704447 | 0.652834 | 0.611185 | 0.602558 | 0 | 0.123179 | 0.388877 | 14,493 | 417 | 116 | 34.755396 | 0.635881 | 0.085283 | 0 | 0.423497 | 0 | 0 | 0.116398 | 0.004735 | 0 | 0 | 0 | 0.002398 | 0.021858 | 1 | 0.040984 | false | 0 | 0.010929 | 0.005464 | 0.161202 | 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 |
8331d0b89e96a09363f63e6c68d3f165ff908c8c | 1,096 | py | Python | scriptlib/scriptjson.py | Orbtial/scriptlib | 9c3d1754da1eb875ecd89a6b6213457b9aa221d6 | [
"MIT"
] | null | null | null | scriptlib/scriptjson.py | Orbtial/scriptlib | 9c3d1754da1eb875ecd89a6b6213457b9aa221d6 | [
"MIT"
] | null | null | null | scriptlib/scriptjson.py | Orbtial/scriptlib | 9c3d1754da1eb875ecd89a6b6213457b9aa221d6 | [
"MIT"
] | null | null | null | '''
ScriptJSON
Json Manager for the scriptlib package
Developed by Orbtial
'''
#Custom Imports
from . import scriptfile
#Standard Imports
import json
def loadJson(ptpdir, path, filename):
"""
Returns a dictionary based on data from the specified .json file
:param ptpdir: String generated from initPTPDIR().
:pa... | 32.235294 | 97 | 0.771898 | 144 | 1,096 | 5.875 | 0.395833 | 0.056738 | 0.085106 | 0.061466 | 0.375887 | 0.375887 | 0.375887 | 0.375887 | 0.375887 | 0.375887 | 0 | 0 | 0.149635 | 1,096 | 33 | 98 | 33.212121 | 0.907725 | 0.713504 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.833333 | 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 |
83324827e867b834d1a4caba637390ad5386b95d | 116 | py | Python | Python/fizzbuzz_golf_59_bytes.py | RDxR10/Hacktoberfest-2020-FizzBuzz | c9a8e3a0ac1ff9886c013a6b5628b7f64eb0d342 | [
"Unlicense"
] | 80 | 2020-10-01T00:32:34.000Z | 2021-01-08T21:56:09.000Z | Python/fizzbuzz_golf_59_bytes.py | RDxR10/Hacktoberfest-2020-FizzBuzz | c9a8e3a0ac1ff9886c013a6b5628b7f64eb0d342 | [
"Unlicense"
] | 672 | 2020-09-30T22:53:47.000Z | 2020-11-01T12:39:59.000Z | Python/fizzbuzz_golf_59_bytes.py | RDxR10/Hacktoberfest-2020-FizzBuzz | c9a8e3a0ac1ff9886c013a6b5628b7f64eb0d342 | [
"Unlicense"
] | 618 | 2020-09-30T22:21:12.000Z | 2020-10-31T21:28:06.000Z | # Fizzbuzz code golf 59 bytes version 1
# Author: @ntsd
i=1
while i<101:print('FizzBuzz'[i%-3&4:12&8-i%5]or i);i+=1
| 23.2 | 55 | 0.672414 | 27 | 116 | 2.888889 | 0.703704 | 0.051282 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138614 | 0.12931 | 116 | 4 | 56 | 29 | 0.633663 | 0.439655 | 0 | 0 | 0 | 0 | 0.129032 | 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 |
833de1c0a0e9161e00ec297cd4debc2088bd2d9e | 224 | py | Python | 03-Coroutines/27-Gevent.py | ericson14/Small_project | dd88b9a5619d38fb8d236c932ffa8429d24b28ae | [
"MIT"
] | null | null | null | 03-Coroutines/27-Gevent.py | ericson14/Small_project | dd88b9a5619d38fb8d236c932ffa8429d24b28ae | [
"MIT"
] | null | null | null | 03-Coroutines/27-Gevent.py | ericson14/Small_project | dd88b9a5619d38fb8d236c932ffa8429d24b28ae | [
"MIT"
] | null | null | null | import gevent
def foo(n):
for i in range(n):
print(gevent.getcurrent(), i)
gevent.sleep(.1)
g1 = gevent.spawn(foo, 5)
g2 = gevent.spawn(foo, 5)
g3 = gevent.spawn(foo, 5)
g1.join()
g2.join()
g3.join()
| 14 | 37 | 0.598214 | 38 | 224 | 3.526316 | 0.5 | 0.246269 | 0.313433 | 0.335821 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057471 | 0.223214 | 224 | 15 | 38 | 14.933333 | 0.712644 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | false | 0 | 0.090909 | 0 | 0.181818 | 0.090909 | 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 |
833de4f808a76b0ee61c3193f19cbe6be7d09a74 | 323 | py | Python | kubernetes_typed/client/models/v1_bound_object_reference.py | nikhiljha/kubernetes-typed | 4f4b969aa400c88306f92560e56bda6d19b2a895 | [
"Apache-2.0"
] | 22 | 2020-12-10T13:06:02.000Z | 2022-02-13T21:58:15.000Z | kubernetes_typed/client/models/v1_bound_object_reference.py | nikhiljha/kubernetes-typed | 4f4b969aa400c88306f92560e56bda6d19b2a895 | [
"Apache-2.0"
] | 4 | 2021-03-08T07:06:12.000Z | 2022-03-29T23:41:45.000Z | kubernetes_typed/client/models/v1_bound_object_reference.py | nikhiljha/kubernetes-typed | 4f4b969aa400c88306f92560e56bda6d19b2a895 | [
"Apache-2.0"
] | 2 | 2021-09-05T19:18:28.000Z | 2022-03-14T02:56:17.000Z | # Code generated by `typeddictgen`. DO NOT EDIT.
"""V1BoundObjectReferenceDict generated type."""
from typing import TypedDict
V1BoundObjectReferenceDict = TypedDict(
"V1BoundObjectReferenceDict",
{
"apiVersion": str,
"kind": str,
"name": str,
"uid": str,
},
total=False,... | 21.533333 | 48 | 0.631579 | 27 | 323 | 7.555556 | 0.740741 | 0.343137 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012346 | 0.247678 | 323 | 14 | 49 | 23.071429 | 0.82716 | 0.278638 | 0 | 0 | 1 | 0 | 0.207048 | 0.114537 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.090909 | 0 | 0.090909 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8342cf70c1615e806d1645a6c5851a83161fb139 | 126 | py | Python | dtf/apps.py | civviGH/django-testing-framework | b699f7c4cf58dcc39b398b182b89c3232b5a6d7f | [
"MIT"
] | 1 | 2020-11-17T14:38:29.000Z | 2020-11-17T14:38:29.000Z | dtf/apps.py | civviGH/django-testing-framework | b699f7c4cf58dcc39b398b182b89c3232b5a6d7f | [
"MIT"
] | 31 | 2020-11-17T14:03:14.000Z | 2021-02-22T14:50:29.000Z | dtf/apps.py | civviGH/django-testing-framework | b699f7c4cf58dcc39b398b182b89c3232b5a6d7f | [
"MIT"
] | 1 | 2020-11-25T07:32:42.000Z | 2020-11-25T07:32:42.000Z | from django.apps import AppConfig
class DtfConfig(AppConfig):
name = 'dtf'
verbose_name = 'Django Testing Framework' | 21 | 45 | 0.738095 | 15 | 126 | 6.133333 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.18254 | 126 | 6 | 45 | 21 | 0.893204 | 0 | 0 | 0 | 0 | 0 | 0.212598 | 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 |
8353991c8acda65eaef6ae4570257dbffb2e82ea | 55 | py | Python | test_file.py | iguanaus/FPG_Website_Backtest | d597dcd291344d7edf97c2db6fdc535d623d47fc | [
"Apache-2.0"
] | null | null | null | test_file.py | iguanaus/FPG_Website_Backtest | d597dcd291344d7edf97c2db6fdc535d623d47fc | [
"Apache-2.0"
] | 1 | 2019-01-05T14:32:40.000Z | 2019-01-05T14:32:40.000Z | test_file.py | iguanaus/FPG_Website_Backtest | d597dcd291344d7edf97c2db6fdc535d623d47fc | [
"Apache-2.0"
] | null | null | null | import time
while True:
time.sleep(1)
print("hello") | 11 | 15 | 0.709091 | 9 | 55 | 4.333333 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021277 | 0.145455 | 55 | 5 | 15 | 11 | 0.808511 | 0 | 0 | 0 | 0 | 0 | 0.089286 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0.25 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
55cef9788724a8b660ced8dc97e9e9a76e8c52ac | 467 | py | Python | enaml/qt/QtOpenGL.py | pberkes/enaml | cbcbee929e3117dfe56c0b06dc2385acc832b0e8 | [
"BSD-3-Clause-Clear"
] | 26 | 2016-04-01T18:49:31.000Z | 2020-07-21T22:19:46.000Z | enaml/qt/QtOpenGL.py | pberkes/enaml | cbcbee929e3117dfe56c0b06dc2385acc832b0e8 | [
"BSD-3-Clause-Clear"
] | 29 | 2016-02-22T17:40:55.000Z | 2018-08-21T18:18:36.000Z | enaml/qt/QtOpenGL.py | pberkes/enaml | cbcbee929e3117dfe56c0b06dc2385acc832b0e8 | [
"BSD-3-Clause-Clear"
] | 4 | 2015-01-27T01:56:14.000Z | 2021-02-23T07:21:20.000Z | #------------------------------------------------------------------------------
# Copyright (c) 2013, Nucleic Development Team.
#
# Distributed under the terms of the Modified BSD License.
#
# The full license is in the file COPYING.txt, distributed with this software.
#-------------------------------------------------... | 31.133333 | 79 | 0.479657 | 45 | 467 | 4.933333 | 0.733333 | 0.045045 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012315 | 0.130621 | 467 | 14 | 80 | 33.357143 | 0.534483 | 0.719486 | 0 | 0 | 0 | 0 | 0.032258 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 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 |
55d16a679812f4413c85a10c32f5469fafa24560 | 68 | py | Python | python/SystemModules/random_test.py | davidgjy/arch-lib | b4402b96d2540995a848e6c5f600b2d99847ded6 | [
"Apache-2.0"
] | null | null | null | python/SystemModules/random_test.py | davidgjy/arch-lib | b4402b96d2540995a848e6c5f600b2d99847ded6 | [
"Apache-2.0"
] | null | null | null | python/SystemModules/random_test.py | davidgjy/arch-lib | b4402b96d2540995a848e6c5f600b2d99847ded6 | [
"Apache-2.0"
] | null | null | null | import random
for i in range(5):
print(random.randint(1, 10))
| 13.6 | 30 | 0.661765 | 12 | 68 | 3.75 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 0.205882 | 68 | 4 | 31 | 17 | 0.759259 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
55d8e43c13fb68a065d6063a882e196cd67caf40 | 307 | py | Python | Core/Defaults.py | kyelbek/TibiaAuto12 | bf3c123684a94a6a8ad6f9f8592e98bb04170018 | [
"MIT"
] | 87 | 2020-03-26T04:08:55.000Z | 2022-03-15T17:47:24.000Z | Core/Defaults.py | kyelbek/TibiaAuto12 | bf3c123684a94a6a8ad6f9f8592e98bb04170018 | [
"MIT"
] | 71 | 2020-03-29T17:48:23.000Z | 2022-03-27T21:58:26.000Z | Core/Defaults.py | kyelbek/TibiaAuto12 | bf3c123684a94a6a8ad6f9f8592e98bb04170018 | [
"MIT"
] | 44 | 2020-04-26T21:01:52.000Z | 2022-03-12T01:26:16.000Z | import pyautogui
def rgb(rgb): # Function to translate color to RGB
return "#%02x%02x%02x" % rgb
def combine_funcs(*funcs):
def combined_func(*args, **kwargs):
for f in funcs:
f(*args, **kwargs)
return combined_func
def GetPosition():
return pyautogui.position()
| 17.055556 | 51 | 0.638436 | 40 | 307 | 4.825 | 0.525 | 0.062176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025974 | 0.247557 | 307 | 17 | 52 | 18.058824 | 0.809524 | 0.110749 | 0 | 0 | 0 | 0 | 0.04797 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.1 | 0.2 | 0.8 | 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 |
55def300ac9f705047733a087055b9c910633921 | 119 | py | Python | app/plugins/view_upbconcordia/__init__.py | BencePaul/chronosaurus | 2f8b5d00a66c36ac276c92141dfdb4500a918f3d | [
"MIT"
] | 1 | 2022-02-22T10:46:22.000Z | 2022-02-22T10:46:22.000Z | app/plugins/view_upbconcordia/__init__.py | BencePaul/chronosaurus | 2f8b5d00a66c36ac276c92141dfdb4500a918f3d | [
"MIT"
] | null | null | null | app/plugins/view_upbconcordia/__init__.py | BencePaul/chronosaurus | 2f8b5d00a66c36ac276c92141dfdb4500a918f3d | [
"MIT"
] | 1 | 2022-02-22T11:10:08.000Z | 2022-02-22T11:10:08.000Z | from .concordia import UPbConcordia
action_name = 'U-Pb concordia'
view_name = action_name
create_view = UPbConcordia
| 19.833333 | 35 | 0.815126 | 16 | 119 | 5.8125 | 0.625 | 0.215054 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12605 | 119 | 5 | 36 | 23.8 | 0.894231 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 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 |
55ec408a31d928c4d4661c223a9ca7301f6c3edd | 67 | py | Python | codes/day01/12.py | Youngfellows/HPyBaseCode | 94d11872795d85b8c4387b650e82edcd20da0667 | [
"Apache-2.0"
] | null | null | null | codes/day01/12.py | Youngfellows/HPyBaseCode | 94d11872795d85b8c4387b650e82edcd20da0667 | [
"Apache-2.0"
] | null | null | null | codes/day01/12.py | Youngfellows/HPyBaseCode | 94d11872795d85b8c4387b650e82edcd20da0667 | [
"Apache-2.0"
] | null | null | null | a = 19
if a>10:
print("a大于10")
if a>15:
print("a大于15")
| 6.7 | 18 | 0.492537 | 12 | 67 | 2.75 | 0.666667 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 0.313433 | 67 | 9 | 19 | 7.444444 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0.149254 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.4 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
55f426689801c50fcf29b8042d42452fd3d13036 | 143 | py | Python | archivos/prueba_persona.py | lecovi/reveal.js | 60bfdea623d326bcd9b52fe82135667a704c79f5 | [
"MIT"
] | null | null | null | archivos/prueba_persona.py | lecovi/reveal.js | 60bfdea623d326bcd9b52fe82135667a704c79f5 | [
"MIT"
] | null | null | null | archivos/prueba_persona.py | lecovi/reveal.js | 60bfdea623d326bcd9b52fe82135667a704c79f5 | [
"MIT"
] | 1 | 2021-03-03T12:22:04.000Z | 2021-03-03T12:22:04.000Z | #!/usr/bin/env python
import persona
sujeto1 = persona.Persona("Juan")
sujeto2 = persona.Persona("Pedro")
sujeto1.avanzar()
sujeto2.avanzar() | 17.875 | 34 | 0.748252 | 18 | 143 | 5.944444 | 0.611111 | 0.261682 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030769 | 0.090909 | 143 | 8 | 35 | 17.875 | 0.792308 | 0.13986 | 0 | 0 | 0 | 0 | 0.073171 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 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 |
3606d4c5ca373c52a4f6d4558a0c3d438a120bfa | 755 | py | Python | pystitchr/base/tests/test_df_schema.py | nhachem/pystitchr | 217e0661aa8d56441f43761f626b011a6246fe6e | [
"Apache-2.0"
] | 1 | 2021-09-14T23:57:25.000Z | 2021-09-14T23:57:25.000Z | pystitchr/base/tests/test_df_schema.py | nhachem/pystitchr | 217e0661aa8d56441f43761f626b011a6246fe6e | [
"Apache-2.0"
] | 21 | 2021-09-17T00:04:26.000Z | 2022-03-18T13:03:25.000Z | pystitchr/base/tests/test_df_schema.py | nhachem/stitchr-python | 217e0661aa8d56441f43761f626b011a6246fe6e | [
"Apache-2.0"
] | null | null | null | """
stitchr_extensions tests
"""
import unittest
from resources import data
from pyspark.sql.functions import when
from pystitchr.base.df_columns import *
class TestSchemaMethods(unittest.TestCase):
"""
def test_get_valid_numeric(self):
test_df: DataFrame = data.test_df_float
df, cnt, _ = ge... | 26.034483 | 106 | 0.658278 | 93 | 755 | 5.032258 | 0.580645 | 0.076923 | 0.064103 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005236 | 0.24106 | 755 | 28 | 107 | 26.964286 | 0.811518 | 0.627815 | 0 | 0 | 0 | 0 | 0.035714 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.571429 | 0 | 0.714286 | 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 |
3629fc23eb51460319c25a72e91bf3370f2e534a | 737 | py | Python | mccolors/translucentcolors.py | wangtt03/raspberryjammod | d828d1b225c0dfc25d91f4e3569ce620fa231e14 | [
"MIT"
] | 338 | 2015-01-20T15:07:48.000Z | 2022-02-25T17:31:06.000Z | mccolors/translucentcolors.py | wangtt03/raspberryjammod | d828d1b225c0dfc25d91f4e3569ce620fa231e14 | [
"MIT"
] | 58 | 2015-03-26T12:21:41.000Z | 2022-02-20T21:01:33.000Z | mccolors/translucentcolors.py | wangtt03/raspberryjammod | d828d1b225c0dfc25d91f4e3569ce620fa231e14 | [
"MIT"
] | 112 | 2015-08-10T19:20:44.000Z | 2022-02-23T08:58:52.000Z | from blocks import *
palette=(
(GLASS, (60, 67, 68)),
(STAINED_GLASS_BLACK, (25, 25, 25)),
(STAINED_GLASS_BLUE, (51, 76, 178)),
(STAINED_GLASS_BROWN, (102, 76, 51)),
(STAINED_GLASS_CYAN, (76, 127, 153)),
(STAINED_GLASS_GRAY, (76, 76, 76)),
(STAINED_GLASS_GREEN, (102, 127, 51)),
(STAINED_GLASS... | 33.5 | 47 | 0.63365 | 105 | 737 | 4.133333 | 0.371429 | 0.442396 | 0.129032 | 0.078341 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.215815 | 0.176391 | 737 | 21 | 48 | 35.095238 | 0.499176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.05 | 0 | 0.05 | 0 | 0 | 0 | 0 | null | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 3 |
364341b5c9b986c532b8c874871b7afcf6d01336 | 893 | py | Python | modules/helpers.py | austinhrin/jarvis | a53313d7d373ef89fa883c4dc6d5cb898c90409f | [
"Apache-2.0"
] | null | null | null | modules/helpers.py | austinhrin/jarvis | a53313d7d373ef89fa883c4dc6d5cb898c90409f | [
"Apache-2.0"
] | null | null | null | modules/helpers.py | austinhrin/jarvis | a53313d7d373ef89fa883c4dc6d5cb898c90409f | [
"Apache-2.0"
] | null | null | null | def string_after(input_string, by):
# split string into parts
head, sep, tail = input_string.partition(by)
output_string = tail
# remove space before string
if tail[0] == ' ':
output_string = output_string[1:]
# remove space after string
if tail[len(tail) - 1] == ' ':
output_... | 31.892857 | 48 | 0.656215 | 116 | 893 | 4.836207 | 0.198276 | 0.342246 | 0.160428 | 0.171123 | 0.713012 | 0.623886 | 0.623886 | 0.623886 | 0.623886 | 0.623886 | 0 | 0.011747 | 0.237402 | 893 | 28 | 49 | 31.892857 | 0.812041 | 0.171333 | 0 | 0.45 | 0 | 0 | 0.006812 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.15 | false | 0 | 0 | 0 | 0.3 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
365e5a15782df8f29ae08ff8d4c16ac3467276ae | 288 | py | Python | sympy/series/series.py | sn6uv/sympy | 5b149c2f72847e4785c65358b09d99b29f101dd5 | [
"BSD-3-Clause"
] | 2 | 2015-11-13T16:40:57.000Z | 2017-09-15T15:37:19.000Z | sympy_old/series/series.py | curzel-it/KiPyCalc | 909c783d5e6967ea58ca93f875106d8a8e3ca5db | [
"MIT"
] | 1 | 2016-06-13T01:29:51.000Z | 2016-06-14T00:38:27.000Z | sympy_old/series/series.py | curzel-it/KiPyCalc | 909c783d5e6967ea58ca93f875106d8a8e3ca5db | [
"MIT"
] | 1 | 2022-03-21T09:07:27.000Z | 2022-03-21T09:07:27.000Z | from sympy.core.sympify import sympify
def series(expr, x=None, x0=0, n=6, dir="+"):
"""Series expansion of expr around point `x = x0`.
See the doctring of Expr.series() for complete details of this wrapper.
"""
expr = sympify(expr)
return expr.series(x, x0, n, dir)
| 32 | 75 | 0.65625 | 46 | 288 | 4.108696 | 0.608696 | 0.063492 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02193 | 0.208333 | 288 | 8 | 76 | 36 | 0.807018 | 0.416667 | 0 | 0 | 0 | 0 | 0.006536 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
368cd08114d9c3623ac4f5c0992b444dc6e9c7cb | 110 | py | Python | {{cookiecutter.project_name}}/{{cookiecutter.app_name}}/models/__init__.py | swordfly/cookiecutter-flask-restful | 1416bbef15b27e9c3249cf3415e96b4fb39893eb | [
"MIT"
] | 1 | 2019-12-06T03:52:09.000Z | 2019-12-06T03:52:09.000Z | {{cookiecutter.project_name}}/{{cookiecutter.app_name}}/models/__init__.py | swordfly/cookiecutter-flask-restful | 1416bbef15b27e9c3249cf3415e96b4fb39893eb | [
"MIT"
] | 1 | 2019-03-09T00:17:04.000Z | 2019-03-09T00:17:04.000Z | {{cookiecutter.project_name}}/{{cookiecutter.app_name}}/models/__init__.py | swordfly/cookiecutter-flask-restful | 1416bbef15b27e9c3249cf3415e96b4fb39893eb | [
"MIT"
] | 1 | 2022-02-19T23:01:49.000Z | 2022-02-19T23:01:49.000Z | from .user import User
from .blacklist import TokenBlacklist
__all__ = [
'User',
'TokenBlacklist'
]
| 12.222222 | 37 | 0.690909 | 11 | 110 | 6.545455 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.218182 | 110 | 8 | 38 | 13.75 | 0.837209 | 0 | 0 | 0 | 0 | 0 | 0.163636 | 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 |
36bd80101ec985b1dc1579e632d4eccf14a0ad30 | 279 | py | Python | inheritance/Child.py | debjava/py-arrays-oops | 579fc90c57c2b8bd461b904bce64c63dc73a4572 | [
"MIT"
] | null | null | null | inheritance/Child.py | debjava/py-arrays-oops | 579fc90c57c2b8bd461b904bce64c63dc73a4572 | [
"MIT"
] | null | null | null | inheritance/Child.py | debjava/py-arrays-oops | 579fc90c57c2b8bd461b904bce64c63dc73a4572 | [
"MIT"
] | null | null | null | from inheritance.Parent import Parent
class Child(Parent):
def __init__(self, firstName, lastName , age):
Parent.__init__(self,firstName,lastName)
self.age = age
def showChildDetails(self):
print("Child toString : ", self.__dict__)
| 23.25 | 51 | 0.65233 | 30 | 279 | 5.666667 | 0.533333 | 0.094118 | 0.2 | 0.294118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.250896 | 279 | 11 | 52 | 25.363636 | 0.813397 | 0 | 0 | 0 | 0 | 0 | 0.06367 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0 | 0.571429 | 0.142857 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
36c52a73aa90f2a4a1ea5a582fe2e174cfc3c11f | 105 | py | Python | submissions/abc092/a.py | m-star18/atcoder | 08e475810516602fa088f87daf1eba590b4e07cc | [
"Unlicense"
] | 1 | 2021-05-10T01:16:28.000Z | 2021-05-10T01:16:28.000Z | submissions/abc092/a.py | m-star18/atcoder | 08e475810516602fa088f87daf1eba590b4e07cc | [
"Unlicense"
] | 3 | 2021-05-11T06:14:15.000Z | 2021-06-19T08:18:36.000Z | submissions/abc092/a.py | m-star18/atcoder | 08e475810516602fa088f87daf1eba590b4e07cc | [
"Unlicense"
] | null | null | null | a = int(input())
b = int(input())
c = int(input())
d = int(input())
ans = min(a, b)+min(c, d)
print(ans)
| 15 | 25 | 0.542857 | 21 | 105 | 2.714286 | 0.428571 | 0.561404 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171429 | 105 | 6 | 26 | 17.5 | 0.655172 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0 | 0 | null | 1 | 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 |
36cd3a86e4e2e128574bceffa9e2df805e329678 | 2,664 | py | Python | src/synthingie/ops.py | scaramagus/synthingie | efbc11e199e9489f3c8d979b576ef9415cf70a1c | [
"BSD-3-Clause"
] | null | null | null | src/synthingie/ops.py | scaramagus/synthingie | efbc11e199e9489f3c8d979b576ef9415cf70a1c | [
"BSD-3-Clause"
] | null | null | null | src/synthingie/ops.py | scaramagus/synthingie | efbc11e199e9489f3c8d979b576ef9415cf70a1c | [
"BSD-3-Clause"
] | null | null | null | import numpy as np
from .core import Signal, SignalTypes, register
class Plus(Signal):
"""Add a signal and a signal or value.
>>> one = module.value(1)
>>> two = module.value(2)
>>> result = 3 + one + two + 3
>>> module.render_frames()
>>> assert np.all(result.output == 9.0)
"""
def... | 24.666667 | 59 | 0.614865 | 350 | 2,664 | 4.514286 | 0.157143 | 0.044304 | 0.04557 | 0.075949 | 0.757595 | 0.718354 | 0.718354 | 0.668987 | 0.575316 | 0.433544 | 0 | 0.011679 | 0.228604 | 2,664 | 107 | 60 | 24.897196 | 0.757178 | 0.345721 | 0 | 0.512821 | 0 | 0 | 0.032602 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25641 | false | 0 | 0.051282 | 0 | 0.435897 | 0 | 0 | 0 | 0 | null | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
36f896108abe80bc1d9d2d46f0f52aa41d51199d | 432 | py | Python | tests/test_shownote.py | FikaNote/FikaNote | a042077f3755a527fe7e366efc360e13cc82e945 | [
"MIT"
] | 2 | 2018-05-17T06:44:13.000Z | 2018-07-20T04:45:31.000Z | tests/test_shownote.py | FikaNote/FikaNote | a042077f3755a527fe7e366efc360e13cc82e945 | [
"MIT"
] | 20 | 2016-11-01T08:33:28.000Z | 2021-09-22T17:37:00.000Z | tests/test_shownote.py | FikaNote/FikaNote | a042077f3755a527fe7e366efc360e13cc82e945 | [
"MIT"
] | null | null | null | import unittest
from django.test.client import Client
from django.db import models
class ShownoteTest(unittest.TestCase):
def setUp(self):
# unittest requires to create Client everytime
self.client = Client()
def test_get_shownote(self):
# GET request
response = self.c... | 27 | 54 | 0.668981 | 52 | 432 | 5.5 | 0.557692 | 0.06993 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018576 | 0.252315 | 432 | 15 | 55 | 28.8 | 0.866873 | 0.1875 | 0 | 0 | 0 | 0 | 0.028986 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 1 | 0.222222 | 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 |
36fbd215577313d53f0674bd152f0807ea2d6019 | 1,119 | py | Python | kit_django/kit_django/wsgi.py | safakoner/kit | aec36a70137febfb5f3e3a9205ea58879736eea4 | [
"MIT"
] | 6 | 2020-06-29T20:36:15.000Z | 2021-09-08T23:34:01.000Z | kit_django/kit_django/wsgi.py | safakoner/kit | aec36a70137febfb5f3e3a9205ea58879736eea4 | [
"MIT"
] | 9 | 2021-03-30T13:46:29.000Z | 2022-03-12T00:38:27.000Z | kit_django/kit_django/wsgi.py | safakoner/kit | aec36a70137febfb5f3e3a9205ea58879736eea4 | [
"MIT"
] | 1 | 2020-07-20T18:40:24.000Z | 2020-07-20T18:40:24.000Z | #
# ----------------------------------------------------------------------------------------------------
# DESCRIPTION
# ----------------------------------------------------------------------------------------------------
'''
WSGI config for kit_django project.
It exposes the WSGI callable as a module-level variable n... | 33.909091 | 102 | 0.338695 | 68 | 1,119 | 5.455882 | 0.676471 | 0.048518 | 0.097035 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001919 | 0.068811 | 1,119 | 32 | 103 | 34.96875 | 0.354127 | 0.809651 | 0 | 0 | 0 | 0 | 0.21466 | 0.115183 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
7fcb2361b6dfa24743900bf5ecfdc68922c1bdac | 189 | py | Python | kmc_paper_data/simulation_data/07_12_20/change_to_500000_steps.py | j-m-dean/Overscreening_and_Underscreening | c6a54744cfa67ce910076cb783307f1c6cc96b0d | [
"CC-BY-4.0"
] | 1 | 2022-02-05T03:54:40.000Z | 2022-02-05T03:54:40.000Z | kmc_paper_data/simulation_data/07_12_20/change_to_500000_steps.py | j-m-dean/Overscreening_and_Underscreening | c6a54744cfa67ce910076cb783307f1c6cc96b0d | [
"CC-BY-4.0"
] | 1 | 2022-02-05T03:54:07.000Z | 2022-02-05T11:24:05.000Z | kmc_paper_data/simulation_data/07_12_20/change_to_500000_steps.py | j-m-dean/Overscreening_and_Underscreening | c6a54744cfa67ce910076cb783307f1c6cc96b0d | [
"CC-BY-4.0"
] | 1 | 2022-02-05T11:16:29.000Z | 2022-02-05T11:16:29.000Z | import json
with open('input.json') as json_file:
data = json.load(json_file)
data["number_of_kmc_steps"] = 500000
with open('input.json', 'w') as outfile:
json.dump(data, outfile)
| 27 | 40 | 0.708995 | 31 | 189 | 4.16129 | 0.548387 | 0.124031 | 0.20155 | 0.263566 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 0.142857 | 189 | 6 | 41 | 31.5 | 0.759259 | 0 | 0 | 0 | 0 | 0 | 0.21164 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 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 |
7fcdcb47f0686bcb6936b8bedc84f3a0c912fa73 | 529 | py | Python | pypy/jit/codegen/demo/autorun.py | camillobruni/pygirl | ddbd442d53061d6ff4af831c1eab153bcc771b5a | [
"MIT"
] | 12 | 2016-01-06T07:10:28.000Z | 2021-05-13T23:02:02.000Z | pypy/jit/codegen/demo/autorun.py | camillobruni/pygirl | ddbd442d53061d6ff4af831c1eab153bcc771b5a | [
"MIT"
] | null | null | null | pypy/jit/codegen/demo/autorun.py | camillobruni/pygirl | ddbd442d53061d6ff4af831c1eab153bcc771b5a | [
"MIT"
] | 2 | 2016-07-29T07:09:50.000Z | 2016-10-16T08:50:26.000Z | import random
from pypy.jit.codegen.demo import test_random
from pypy.jit.codegen.demo import conftest as demo_conftest
# each iteration of test_many_times leaks memory, so we can't run
# it forever. If you want that result, use a bash command like:
#
# while py.test autorun.py --pdb; do echo "again"; done
def... | 27.842105 | 65 | 0.744802 | 87 | 529 | 4.367816 | 0.655172 | 0.078947 | 0.073684 | 0.089474 | 0.178947 | 0.178947 | 0.178947 | 0 | 0 | 0 | 0 | 0.020595 | 0.173913 | 529 | 18 | 66 | 29.388889 | 0.84897 | 0.347826 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.333333 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
7fdc4922f1122fd5d257dbad8910e79ab3640f5b | 154 | py | Python | Dataset/Leetcode/valid/58/416.py | kkcookies99/UAST | fff81885aa07901786141a71e5600a08d7cb4868 | [
"MIT"
] | null | null | null | Dataset/Leetcode/valid/58/416.py | kkcookies99/UAST | fff81885aa07901786141a71e5600a08d7cb4868 | [
"MIT"
] | null | null | null | Dataset/Leetcode/valid/58/416.py | kkcookies99/UAST | fff81885aa07901786141a71e5600a08d7cb4868 | [
"MIT"
] | null | null | null | class Solution:
def XXX(self, s: str) -> int:
result = s.split(' ')
result = [x for x in result if x]
return len(result[-1])
| 22 | 41 | 0.519481 | 23 | 154 | 3.478261 | 0.73913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009804 | 0.337662 | 154 | 6 | 42 | 25.666667 | 0.77451 | 0 | 0 | 0 | 0 | 0 | 0.006536 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
7fe3f4d3facf84b4c0c5a13eba4a83a6fc90de85 | 65 | py | Python | utils/spreadsheet.py | neelr/Youtube-Auto-Uploader | 3f9fab0cfe8cbae6b08eee0411e71b860eb6c1fc | [
"MIT"
] | 1 | 2020-12-30T09:47:43.000Z | 2020-12-30T09:47:43.000Z | utils/spreadsheet.py | neelr/Youtube-Auto-Uploader | 3f9fab0cfe8cbae6b08eee0411e71b860eb6c1fc | [
"MIT"
] | null | null | null | utils/spreadsheet.py | neelr/Youtube-Auto-Uploader | 3f9fab0cfe8cbae6b08eee0411e71b860eb6c1fc | [
"MIT"
] | 2 | 2020-09-20T07:25:49.000Z | 2021-01-05T16:47:37.000Z | class Spreadsheet:
def __init__(self):
print("start") | 21.666667 | 23 | 0.630769 | 7 | 65 | 5.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.246154 | 65 | 3 | 24 | 21.666667 | 0.755102 | 0 | 0 | 0 | 0 | 0 | 0.075758 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7ff8410fb1ec3128de95962d2566ea8f0544adc4 | 88 | py | Python | regularexpressions.py | Nagaa27/Applied-Data-Science | 6836e3a6d075f02e7d28ff36fcc540a16c8a4a4d | [
"MIT"
] | null | null | null | regularexpressions.py | Nagaa27/Applied-Data-Science | 6836e3a6d075f02e7d28ff36fcc540a16c8a4a4d | [
"MIT"
] | null | null | null | regularexpressions.py | Nagaa27/Applied-Data-Science | 6836e3a6d075f02e7d28ff36fcc540a16c8a4a4d | [
"MIT"
] | null | null | null | import re
myString = "<Nama saya Matius Celcius Sinaga>"
re.findall(r"[a-zA-Z0-9]+", s)
| 22 | 46 | 0.681818 | 16 | 88 | 3.75 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025974 | 0.125 | 88 | 3 | 47 | 29.333333 | 0.753247 | 0 | 0 | 0 | 0 | 0 | 0.511364 | 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 |
7ffbf8f80742f7490abcf0d8203791295bd906ca | 174 | py | Python | Curso Python/Mundo 1/Modulo2/Desafios/Desafios 1/des003.py | catabimbas/Curso-Python | 72549952db77fa9b0ea3746b83f94592e3fdeb30 | [
"MIT"
] | null | null | null | Curso Python/Mundo 1/Modulo2/Desafios/Desafios 1/des003.py | catabimbas/Curso-Python | 72549952db77fa9b0ea3746b83f94592e3fdeb30 | [
"MIT"
] | null | null | null | Curso Python/Mundo 1/Modulo2/Desafios/Desafios 1/des003.py | catabimbas/Curso-Python | 72549952db77fa9b0ea3746b83f94592e3fdeb30 | [
"MIT"
] | null | null | null | numb1 = int(input('Digite um número: '))
numb2 = int(input('Digite outro número: '))
res = numb1 + numb2
print('A soma entre {} e {} é igual a {}'.format(numb1, numb2, res))
| 34.8 | 68 | 0.643678 | 27 | 174 | 4.148148 | 0.62963 | 0.142857 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041379 | 0.166667 | 174 | 4 | 69 | 43.5 | 0.731034 | 0 | 0 | 0 | 0 | 0 | 0.413793 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.25 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3d07a53ebc16a887343d4231f2fe6e22c9eaba70 | 310 | py | Python | jetengine/query/not_operator.py | kpdemetriou/jetengine | 1b931efb4a4b0ad7a473773aa6fcf0677c71f122 | [
"BSD-3-Clause"
] | 5 | 2019-06-24T08:57:42.000Z | 2021-12-17T22:58:08.000Z | jetengine/query/not_operator.py | kpdemetriou/jetengine | 1b931efb4a4b0ad7a473773aa6fcf0677c71f122 | [
"BSD-3-Clause"
] | 1 | 2020-02-24T15:04:13.000Z | 2020-07-31T11:47:44.000Z | jetengine/query/not_operator.py | kpdemetriou/jetengine | 1b931efb4a4b0ad7a473773aa6fcf0677c71f122 | [
"BSD-3-Clause"
] | 3 | 2019-11-07T13:57:40.000Z | 2021-12-17T22:58:00.000Z | from jetengine.query.base import QueryOperator
class NotOperator(QueryOperator):
def to_query(self, field_name, operator, value):
result = operator.to_query(field_name, value)
return {field_name: {"$not": result[field_name]}}
def get_value(self, field, value):
return value
| 25.833333 | 57 | 0.7 | 39 | 310 | 5.384615 | 0.487179 | 0.171429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.196774 | 310 | 11 | 58 | 28.181818 | 0.843373 | 0 | 0 | 0 | 0 | 0 | 0.012903 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.142857 | 0.857143 | 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 |
3d0a75e3af00a5d0a1f5b30dc033e6227aa0be78 | 1,499 | py | Python | futoin/cid/coloring.py | futoin/citool | 872ecca94fb637fa4e5e79cb62c240e774e3cd83 | [
"Apache-2.0"
] | 13 | 2017-04-05T22:19:15.000Z | 2017-11-23T21:02:26.000Z | futoin/cid/coloring.py | futoin/cid-tool | 872ecca94fb637fa4e5e79cb62c240e774e3cd83 | [
"Apache-2.0"
] | 77 | 2017-04-01T07:47:15.000Z | 2019-06-04T14:23:16.000Z | futoin/cid/coloring.py | futoin/citool | 872ecca94fb637fa4e5e79cb62c240e774e3cd83 | [
"Apache-2.0"
] | 3 | 2017-05-13T09:28:50.000Z | 2017-11-17T06:42:49.000Z | #
# Copyright 2015-2020 Andrey Galkin <andrey@futoin.org>
#
# 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 ... | 24.57377 | 74 | 0.626418 | 200 | 1,499 | 4.66 | 0.52 | 0.10515 | 0.069742 | 0.091202 | 0.113734 | 0.113734 | 0.087983 | 0 | 0 | 0 | 0 | 0.023919 | 0.27485 | 1,499 | 60 | 75 | 24.983333 | 0.833487 | 0.435624 | 0 | 0.241379 | 0 | 0 | 0.031515 | 0 | 0 | 0 | 0.004848 | 0 | 0 | 1 | 0.241379 | false | 0 | 0.034483 | 0.172414 | 0.62069 | 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 |
3d12a238901f0d313bd18d6831ec1b8099fe69d6 | 225 | py | Python | examples/hiv/make_graph.py | ericmjl/protein-interaction-network | eba38bc2054b1017500525f78ed0564cce145285 | [
"MIT"
] | 35 | 2016-03-11T17:07:07.000Z | 2022-02-10T06:53:52.000Z | examples/hiv/make_graph.py | TopBang/protein-interaction-network | e4920351fced4acec18867f61b8f53b5ef5fb65a | [
"MIT"
] | 179 | 2018-09-26T04:58:52.000Z | 2022-03-14T15:45:29.000Z | examples/hiv/make_graph.py | TopBang/protein-interaction-network | e4920351fced4acec18867f61b8f53b5ef5fb65a | [
"MIT"
] | 19 | 2017-10-22T01:56:44.000Z | 2021-11-01T05:19:46.000Z | """Make a graph out of a PDB file and saves the graph as a NetworkX pickle."""
import networkx as nx
from proteingraph import read_pdb
p = read_pdb("hiv1_homology_model.pdb")
nx.write_gpickle(p, "hiv1_homology_model.pkl")
| 25 | 78 | 0.768889 | 40 | 225 | 4.15 | 0.625 | 0.084337 | 0.204819 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010363 | 0.142222 | 225 | 8 | 79 | 28.125 | 0.849741 | 0.32 | 0 | 0 | 0 | 0 | 0.312925 | 0.312925 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
3d1887c122bcc120021ae487cea71d90e02996a9 | 74 | py | Python | methods/impact_analysis/__init__.py | bibsAPB/pathways-analysis | b3a094b98e3022b7a7d959f93e62101483117372 | [
"MIT"
] | null | null | null | methods/impact_analysis/__init__.py | bibsAPB/pathways-analysis | b3a094b98e3022b7a7d959f93e62101483117372 | [
"MIT"
] | null | null | null | methods/impact_analysis/__init__.py | bibsAPB/pathways-analysis | b3a094b98e3022b7a7d959f93e62101483117372 | [
"MIT"
] | 3 | 2018-04-24T14:28:43.000Z | 2018-05-11T12:18:10.000Z | from .impact_analysis import ImpactAnalysis
__all__ = ["ImpactAnalysis"]
| 18.5 | 43 | 0.810811 | 7 | 74 | 7.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 74 | 3 | 44 | 24.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.189189 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
3d39e831b771dc18f3038f8b9921f73d70cd8b00 | 50 | py | Python | app/src/main/python/namespace/mod1.py | Tanita2529/chaquopy | 24b8fbcdceb8070ab31205e67d87ead02124c794 | [
"MIT"
] | 336 | 2017-07-28T11:20:19.000Z | 2022-03-28T16:00:17.000Z | app/src/main/python/namespace/mod1.py | Tanita2529/chaquopy | 24b8fbcdceb8070ab31205e67d87ead02124c794 | [
"MIT"
] | 592 | 2017-10-08T12:08:07.000Z | 2022-03-30T12:28:15.000Z | app/src/main/python/namespace/mod1.py | Tanita2529/chaquopy | 24b8fbcdceb8070ab31205e67d87ead02124c794 | [
"MIT"
] | 69 | 2017-12-29T18:57:48.000Z | 2022-03-15T08:41:09.000Z | x = "Module within an implicit namespace package"
| 25 | 49 | 0.78 | 7 | 50 | 5.571429 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 50 | 1 | 50 | 50 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0.86 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3d637bced7b1e5e9a59b83f2e04795777d44be0c | 3,489 | py | Python | demo/mnist.py | LanceNorskog/keras-pruno | dfdf997b934e7a211d5aef67355ad7ea9e9fe4ef | [
"MIT"
] | null | null | null | demo/mnist.py | LanceNorskog/keras-pruno | dfdf997b934e7a211d5aef67355ad7ea9e9fe4ef | [
"MIT"
] | null | null | null | demo/mnist.py | LanceNorskog/keras-pruno | dfdf997b934e7a211d5aef67355ad7ea9e9fe4ef | [
"MIT"
] | null | null | null | import tensorflow.keras
import tensorflow.keras.backend as K
import numpy as np
from tensorflow.keras.datasets import fashion_mnist
from keras_pruno import Pruno2D
(x_train, y_train), (x_test, y_test) = fashion_mnist.load_data()
x_train = np.expand_dims(x_train.astype(K.floatx()) / 255, axis=-1)
x_test = np.expand_d... | 40.103448 | 111 | 0.706506 | 529 | 3,489 | 4.499055 | 0.177694 | 0.07395 | 0.103782 | 0.151681 | 0.762185 | 0.72605 | 0.708403 | 0.67563 | 0.659664 | 0.659664 | 0 | 0.033236 | 0.120378 | 3,489 | 86 | 112 | 40.569767 | 0.742261 | 0 | 0 | 0.547945 | 0 | 0 | 0.113786 | 0.01777 | 0 | 0 | 0 | 0 | 0 | 1 | 0.027397 | false | 0 | 0.068493 | 0 | 0.123288 | 0.041096 | 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 |
181a4d7c8b72a18830eaf0cb05e1d87939e0ef6a | 754 | py | Python | src/seedlink/templates/sadc/setup.py | damb/seiscomp3 | 560a8f7ae43737ae7826fb1ffca76a9f601cf9dc | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 94 | 2015-02-04T13:57:34.000Z | 2021-11-01T15:10:06.000Z | src/seedlink/templates/sadc/setup.py | damb/seiscomp3 | 560a8f7ae43737ae7826fb1ffca76a9f601cf9dc | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 233 | 2015-01-28T15:16:46.000Z | 2021-08-23T11:31:37.000Z | src/seedlink/templates/sadc/setup.py | damb/seiscomp3 | 560a8f7ae43737ae7826fb1ffca76a9f601cf9dc | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 95 | 2015-02-13T15:53:30.000Z | 2021-11-02T14:54:54.000Z | import os
'''
Plugin handler for the SADC10/18/20/30 plugin.
'''
class SeedlinkPluginHandler:
# Create defaults
def __init__(self): pass
def push(self, seedlink):
# Check and set defaults
try: seedlink.param('sources.sadc.comport')
except: seedlink.setParam('sources.sadc.comport', '/dev/data')
... | 25.133333 | 66 | 0.702918 | 95 | 754 | 5.526316 | 0.442105 | 0.188571 | 0.190476 | 0.228571 | 0.529524 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02673 | 0.156499 | 754 | 29 | 67 | 26 | 0.798742 | 0.075597 | 0 | 0 | 0 | 0 | 0.298905 | 0.065728 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.133333 | 0.066667 | 0 | 0.4 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
1823704fa867a39823aab543e3125de30b368b79 | 120 | py | Python | code10-02.py | rcm2000/learn_algorithm | 0134176df8e5f5f46c67642212de8def58f4bef9 | [
"Apache-2.0"
] | null | null | null | code10-02.py | rcm2000/learn_algorithm | 0134176df8e5f5f46c67642212de8def58f4bef9 | [
"Apache-2.0"
] | null | null | null | code10-02.py | rcm2000/learn_algorithm | 0134176df8e5f5f46c67642212de8def58f4bef9 | [
"Apache-2.0"
] | null | null | null | def countDown(n):
if n == 0:
print('발사~!!')
else:
print(n)
countDown(n-1)
countDown(10) | 15 | 22 | 0.466667 | 16 | 120 | 3.5 | 0.625 | 0.357143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051948 | 0.358333 | 120 | 8 | 23 | 15 | 0.675325 | 0 | 0 | 0 | 0 | 0 | 0.041322 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0 | 0 | 0.142857 | 0.285714 | 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 |
186c0c685e6eabff91d8f10cca605e641290130b | 311 | py | Python | tests/mypy/type_formats/type_formats.py | voneiden/bravado-types | 4976f03e3dd9c8293398dc05263bc7467718b29b | [
"MIT"
] | 6 | 2019-11-06T12:34:48.000Z | 2022-01-31T06:05:25.000Z | tests/mypy/type_formats/type_formats.py | voneiden/bravado-types | 4976f03e3dd9c8293398dc05263bc7467718b29b | [
"MIT"
] | 1 | 2022-02-17T14:59:21.000Z | 2022-02-22T18:35:52.000Z | tests/mypy/type_formats/type_formats.py | voneiden/bravado-types | 4976f03e3dd9c8293398dc05263bc7467718b29b | [
"MIT"
] | 1 | 2022-02-17T15:03:57.000Z | 2022-02-17T15:03:57.000Z | from example import XExampleC
client: XExampleC
reveal_type(client.resource) # note: Revealed type is 'example.XresourceR'
reveal_type(client.resource.operation) # note: Revealed type is 'example.XoperationO'
model = client.get_model('Model')()
reveal_type(model) # note: Revealed type is 'example.XModelM'
| 38.875 | 86 | 0.784566 | 41 | 311 | 5.853659 | 0.414634 | 0.125 | 0.2 | 0.225 | 0.3125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109325 | 311 | 7 | 87 | 44.428571 | 0.866426 | 0.414791 | 0 | 0 | 0 | 0 | 0.02809 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 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 |
186fb81a296ac195a75ddd498dd4903b76f0c8ea | 214 | py | Python | todo/models.py | monilshah98/ToDoApp | d11d8ffc3f2b136b3bf244203f3c4710383de11a | [
"MIT"
] | null | null | null | todo/models.py | monilshah98/ToDoApp | d11d8ffc3f2b136b3bf244203f3c4710383de11a | [
"MIT"
] | null | null | null | todo/models.py | monilshah98/ToDoApp | d11d8ffc3f2b136b3bf244203f3c4710383de11a | [
"MIT"
] | null | null | null | from django.db import models
class Todo(models.Model):
text = models.CharField(max_length=80)
complete = models.BooleanField(default = False)
def __str__(self):
return self.text
| 17.833333 | 52 | 0.658879 | 26 | 214 | 5.230769 | 0.807692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0125 | 0.252336 | 214 | 11 | 53 | 19.454545 | 0.8375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.166667 | 0.166667 | 1 | 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 | 0 | 1 | 1 | 0 | 0 | 3 |
43e9bba977eec206b60f5ae2909ee81005afd705 | 127 | py | Python | python/testData/override/returnValue.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/override/returnValue.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/override/returnValue.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | class A:
def doStuff(self, foo=True): return True
class B(A):
def otherMethod(self, foo, bar):
print foo, bar
| 18.142857 | 44 | 0.622047 | 20 | 127 | 3.95 | 0.6 | 0.101266 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.259843 | 127 | 6 | 45 | 21.166667 | 0.840426 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.2 | 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 |
43f5a1a76cb49bb3d55e95b810b5dd510810b560 | 484 | py | Python | Chapter 1: Get Python.py | jacobmetcalfe/Python_Crash_Course | 529e9b0478fa10959492b4bd0b931cc8fd2b9f90 | [
"Python-2.0",
"OLDAP-2.7"
] | null | null | null | Chapter 1: Get Python.py | jacobmetcalfe/Python_Crash_Course | 529e9b0478fa10959492b4bd0b931cc8fd2b9f90 | [
"Python-2.0",
"OLDAP-2.7"
] | null | null | null | Chapter 1: Get Python.py | jacobmetcalfe/Python_Crash_Course | 529e9b0478fa10959492b4bd0b931cc8fd2b9f90 | [
"Python-2.0",
"OLDAP-2.7"
] | null | null | null | # Information from 'Python Crash Course, A Hands-on, Project - Based Introduction to programming
# By Eric Matthes
# Chapter 1, Intro just contained how to set python up
# You really just go on the Python website, download the latest version
# I would recommend an IDE rather than terminal, or even just an online ... | 48.4 | 97 | 0.758264 | 75 | 484 | 4.893333 | 0.76 | 0.032698 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002506 | 0.17562 | 484 | 9 | 98 | 53.777778 | 0.917293 | 0.944215 | 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 |
43fa6727f542ec4087e25ea9c1b10b3d206cc4eb | 823 | py | Python | rets/exceptions.py | bazeli/rets | 3498de3e242b31faf39403061da1aea28b5b9a04 | [
"MIT"
] | 10 | 2019-07-19T23:39:40.000Z | 2022-01-07T00:37:06.000Z | rets/exceptions.py | bazeli/rets | 3498de3e242b31faf39403061da1aea28b5b9a04 | [
"MIT"
] | 4 | 2020-02-12T02:52:20.000Z | 2022-02-05T15:52:34.000Z | rets/exceptions.py | bazeli/rets | 3498de3e242b31faf39403061da1aea28b5b9a04 | [
"MIT"
] | 4 | 2019-10-29T14:21:42.000Z | 2022-02-05T15:36:56.000Z | class RETSException(Exception):
"""The RETS Server Returned an Issue"""
def __init__(self, reply_text=None, reply_code=None):
self.reply_code = reply_code
self.reply_text = reply_text
def __repr__(self):
return self.reply_text
def __str__(self):
return self.reply_text
... | 22.243243 | 65 | 0.692588 | 98 | 823 | 5.540816 | 0.438776 | 0.082873 | 0.095764 | 0.069982 | 0.084715 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.215067 | 823 | 36 | 66 | 22.861111 | 0.840557 | 0.256379 | 0 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.210526 | false | 0.210526 | 0 | 0.105263 | 0.631579 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 3 |
a11376b22e1451f1eaa8ededb29e5218ea6f8b96 | 159 | py | Python | Python OOP/Exams/15 Aug 2021/1, 2/project/baked_food/bread.py | a-shiro/SoftUni-Courses | 7d0ca6401017a28b5ff7e7fa3e5df8bba8ddbe77 | [
"MIT"
] | null | null | null | Python OOP/Exams/15 Aug 2021/1, 2/project/baked_food/bread.py | a-shiro/SoftUni-Courses | 7d0ca6401017a28b5ff7e7fa3e5df8bba8ddbe77 | [
"MIT"
] | null | null | null | Python OOP/Exams/15 Aug 2021/1, 2/project/baked_food/bread.py | a-shiro/SoftUni-Courses | 7d0ca6401017a28b5ff7e7fa3e5df8bba8ddbe77 | [
"MIT"
] | null | null | null | from project.baked_food.baked_food import BakedFood
class Bread(BakedFood):
def __init__(self, name, price):
super().__init__(name, 200, price)
| 19.875 | 51 | 0.716981 | 21 | 159 | 4.952381 | 0.714286 | 0.173077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022901 | 0.176101 | 159 | 7 | 52 | 22.714286 | 0.770992 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a115048ae60c2477f3a3824094fbc6437dd9bb3e | 706 | py | Python | backend/src/models/model.py | myslak71/wonderful_myslak_world | b0508149fa0769f3b6e7e3d5dc9eef33339d158b | [
"MIT"
] | 1 | 2019-04-12T13:51:48.000Z | 2019-04-12T13:51:48.000Z | backend/src/models/model.py | myslak71/wonderful_myslak_world | b0508149fa0769f3b6e7e3d5dc9eef33339d158b | [
"MIT"
] | null | null | null | backend/src/models/model.py | myslak71/wonderful_myslak_world | b0508149fa0769f3b6e7e3d5dc9eef33339d158b | [
"MIT"
] | null | null | null | from sqlalchemy import create_engine, Column, Integer
from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy.orm import sessionmaker
from base64 import b64encode
from backend.config import IMG_PATH, DB_NAME, DB_PASSWORD, DB_URL, DB_USER
engine = create_engine(f'postgresql://{DB_USER}:{DB_PASSWORD}@{D... | 29.416667 | 82 | 0.740793 | 94 | 706 | 5.361702 | 0.510638 | 0.083333 | 0.047619 | 0.059524 | 0.06746 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013491 | 0.160057 | 706 | 23 | 83 | 30.695652 | 0.836425 | 0 | 0 | 0 | 0 | 0 | 0.123229 | 0.120397 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0625 | false | 0.125 | 0.3125 | 0 | 0.5625 | 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 | 1 | 1 | 0 | 1 | 0 | 0 | 3 |
a11bcf6be64a75d1078c5188d45d5f4e0281f40b | 2,440 | py | Python | applications/charge_list/serializers.py | awwong1/apollo | 5571b5f222265bec3eed45b21e862636ccdc9a97 | [
"MIT"
] | null | null | null | applications/charge_list/serializers.py | awwong1/apollo | 5571b5f222265bec3eed45b21e862636ccdc9a97 | [
"MIT"
] | null | null | null | applications/charge_list/serializers.py | awwong1/apollo | 5571b5f222265bec3eed45b21e862636ccdc9a97 | [
"MIT"
] | null | null | null | from applications.charge_list.models import ChargeList, ActivityCharge, TimeCharge, UnitCharge, \
ActivityChargeActivityCount
from rest_framework import relations
from rest_framework.serializers import HyperlinkedModelSerializer
class ChargeListSerializer(HyperlinkedModelSerializer):
url = relations.Hyperlink... | 46.923077 | 116 | 0.804918 | 247 | 2,440 | 7.765182 | 0.17004 | 0.070907 | 0.225235 | 0.250261 | 0.723149 | 0.648071 | 0.538582 | 0.505214 | 0.420751 | 0.319082 | 0 | 0 | 0.107377 | 2,440 | 51 | 117 | 47.843137 | 0.880624 | 0 | 0 | 0.305556 | 0 | 0 | 0.143443 | 0.068033 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.083333 | 0 | 0.833333 | 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 |
a1292f0b3cdc3c2d83f5700207df045c0fc86884 | 305 | py | Python | src/modes/__init__.py | LightStage-Aber/LightStage-Repo | 92f21b1b8a9f701cac3976a8db7034ecfefc58c7 | [
"Apache-2.0"
] | 10 | 2015-10-06T00:14:17.000Z | 2022-02-04T14:03:30.000Z | src/modes/__init__.py | LightStage-Aber/LightStage-Repo | 92f21b1b8a9f701cac3976a8db7034ecfefc58c7 | [
"Apache-2.0"
] | 10 | 2017-05-05T11:10:19.000Z | 2019-06-04T15:30:24.000Z | src/modes/__init__.py | LightStage-Aber/LightStage-Repo | 92f21b1b8a9f701cac3976a8db7034ecfefc58c7 | [
"Apache-2.0"
] | 2 | 2016-04-16T13:47:54.000Z | 2019-10-09T20:16:41.000Z | #from evaluations import *
from brightness_control_tuning import *
from camera_layout import *
from distance_measures import *
from illuminance import *
from manipulate_results_data import *
from modes.luminance.luminance import *
from visualisations import *
from updateable_line import Updateable_Line
| 27.727273 | 43 | 0.842623 | 38 | 305 | 6.552632 | 0.5 | 0.321285 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121311 | 305 | 10 | 44 | 30.5 | 0.929104 | 0.081967 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
a12f6dba215468f84ce9837c3e59a43dedfac728 | 310 | py | Python | tests/bllb/test_df.py | brl0/bripy | 3754b5db651180d58645bd7d32c3d5d12528ebde | [
"MIT"
] | null | null | null | tests/bllb/test_df.py | brl0/bripy | 3754b5db651180d58645bd7d32c3d5d12528ebde | [
"MIT"
] | null | null | null | tests/bllb/test_df.py | brl0/bripy | 3754b5db651180d58645bd7d32c3d5d12528ebde | [
"MIT"
] | null | null | null | """Test bllb df module."""
import pandas as pd
from bripy.bllb.df import pdhtml, pdinfo
def test_pdhtml(RANGES):
"""Simply execute function."""
pdhtml(pd.DataFrame(RANGES))
assert True
def test_pdinfo(RANGES):
"""Simply execute function."""
pdinfo(pd.DataFrame(RANGES))
assert True
| 19.375 | 40 | 0.687097 | 41 | 310 | 5.146341 | 0.487805 | 0.056872 | 0.180095 | 0.255924 | 0.255924 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183871 | 310 | 15 | 41 | 20.666667 | 0.833992 | 0.225806 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a143c4f7acf1ecf64216ae249127b48a5af42812 | 319 | py | Python | ContextualBehavioural/rf_merging/Expression.py | cybersoton/ml-ac | 0b5e65fc875287ac4e8502dd0b0690d8572ea1b3 | [
"MIT"
] | null | null | null | ContextualBehavioural/rf_merging/Expression.py | cybersoton/ml-ac | 0b5e65fc875287ac4e8502dd0b0690d8572ea1b3 | [
"MIT"
] | 1 | 2019-06-27T11:06:13.000Z | 2019-06-27T11:06:13.000Z | ContextualBehavioural/rf_merging/Expression.py | cybersoton/ml-ac | 0b5e65fc875287ac4e8502dd0b0690d8572ea1b3 | [
"MIT"
] | null | null | null | class Expression:
def __init__(self, f, o, v):
self.f = f # feature
self.o = o # operand
self.v = v # value (threshold)
def __str__(self):
return str(self.f) + " " + str(self.o) + " " + str(self.v)
def __eq__(self, other):
return self.__dict__ == other.__dict__
| 26.583333 | 66 | 0.539185 | 43 | 319 | 3.534884 | 0.395349 | 0.184211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.316614 | 319 | 11 | 67 | 29 | 0.697248 | 0.103448 | 0 | 0 | 0 | 0 | 0.007092 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.222222 | 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 |
a15769f28af29bb29c47949f32dd564e153419db | 3,615 | py | Python | tests/test_instructiontype.py | bednie/mango-explorer | 4575395488e97a1f8cb52cc567e3307f11a28932 | [
"MIT"
] | 131 | 2021-08-12T00:25:38.000Z | 2022-03-30T21:22:00.000Z | tests/test_instructiontype.py | bednie/mango-explorer | 4575395488e97a1f8cb52cc567e3307f11a28932 | [
"MIT"
] | 42 | 2021-08-10T16:28:20.000Z | 2022-03-25T01:52:07.000Z | tests/test_instructiontype.py | bednie/mango-explorer | 4575395488e97a1f8cb52cc567e3307f11a28932 | [
"MIT"
] | 83 | 2021-08-24T10:27:03.000Z | 2022-03-29T07:27:44.000Z | from .context import mango
def test_instruction_type_init_mango_group() -> None:
actual = mango.InstructionType(0)
assert actual == mango.InstructionType.InitMangoGroup
def test_instruction_type_init_margin_account() -> None:
actual = mango.InstructionType(1)
assert actual == mango.InstructionType.I... | 29.631148 | 68 | 0.772891 | 402 | 3,615 | 6.676617 | 0.226368 | 0.196721 | 0.464978 | 0.196721 | 0.33383 | 0.102459 | 0.027571 | 0 | 0 | 0 | 0 | 0.01223 | 0.140526 | 3,615 | 121 | 69 | 29.876033 | 0.851625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.328767 | 1 | 0.328767 | false | 0 | 0.013699 | 0 | 0.342466 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a16d5fd596150764a507808fc995cf8f8b7c670f | 144 | py | Python | evening_program/apps.py | n2o/dpb | 9e44ef91dc25782a12150e1001983aeee62bc566 | [
"MIT"
] | 3 | 2020-11-05T10:09:04.000Z | 2021-03-13T11:27:05.000Z | evening_program/apps.py | n2o/dpb | 9e44ef91dc25782a12150e1001983aeee62bc566 | [
"MIT"
] | 31 | 2015-07-26T13:53:26.000Z | 2020-09-28T06:08:03.000Z | evening_program/apps.py | n2o/dpb | 9e44ef91dc25782a12150e1001983aeee62bc566 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class EveningProgramConfig(AppConfig):
name = 'evening_program'
verbose_name = "Heimabendprogramme"
| 20.571429 | 39 | 0.777778 | 14 | 144 | 7.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152778 | 144 | 6 | 40 | 24 | 0.901639 | 0 | 0 | 0 | 0 | 0 | 0.229167 | 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 |
a1846486a3776815a54bef34c1703029edf7ca7a | 305 | py | Python | 2parser/msg.py | formalabstracts/CNL-CIC | c857ee0d52b4ba91dd06a51c8f9f3ec2749ca0eb | [
"MIT"
] | 14 | 2019-06-27T16:34:39.000Z | 2021-01-07T18:13:04.000Z | 2parser/msg.py | formalabstracts/CNL-CIC | c857ee0d52b4ba91dd06a51c8f9f3ec2749ca0eb | [
"MIT"
] | 8 | 2019-10-17T06:09:51.000Z | 2020-03-25T15:51:32.000Z | 2parser/msg.py | formalabstracts/CNL-CIC | c857ee0d52b4ba91dd06a51c8f9f3ec2749ca0eb | [
"MIT"
] | 17 | 2019-06-27T16:34:53.000Z | 2020-08-15T01:30:32.000Z | def error(s):
print('Error:'+s)
def setdefault(s,default):
"""
>>> setdefault('message','default')
'message'
>>> setdefault('','default')
'default'
>>> setdefault(None,'default')
'default'
"""
if s:
return s
else:
return default
| 16.052632 | 39 | 0.495082 | 28 | 305 | 5.392857 | 0.392857 | 0.07947 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.32459 | 305 | 18 | 40 | 16.944444 | 0.73301 | 0.416393 | 0 | 0 | 0 | 0 | 0.045113 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0 | 0.571429 | 0.142857 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
a19c3ad9d923c205c8c0e744a4e4f4a94379d2e2 | 1,347 | py | Python | modules/auto_runner/runner/caffe_runner.py | sophon-ai-algo/sophon-inference | f923413b76615e265af28fd1dd2b43e5eb303dcd | [
"Apache-2.0"
] | 18 | 2020-02-21T03:06:33.000Z | 2022-03-21T03:41:56.000Z | modules/auto_runner/runner/caffe_runner.py | sophon-ai-algo/sophon-inference | f923413b76615e265af28fd1dd2b43e5eb303dcd | [
"Apache-2.0"
] | null | null | null | modules/auto_runner/runner/caffe_runner.py | sophon-ai-algo/sophon-inference | f923413b76615e265af28fd1dd2b43e5eb303dcd | [
"Apache-2.0"
] | 6 | 2020-07-10T08:55:38.000Z | 2021-12-28T01:36:04.000Z | """ Copyright 2016-2022 by Bitmain Technologies Inc. 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/LICENSE-2.0
Unless required by applica... | 29.933333 | 84 | 0.775056 | 191 | 1,347 | 5.324607 | 0.554974 | 0.058997 | 0.132743 | 0.031465 | 0.248771 | 0.190757 | 0.112094 | 0.112094 | 0 | 0 | 0 | 0.010667 | 0.164811 | 1,347 | 44 | 85 | 30.613636 | 0.893333 | 0.469933 | 0 | 0.277778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.388889 | false | 0 | 0.166667 | 0.111111 | 0.722222 | 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 |
a1c38fef187969197d3aaf1e5c2eee0d42b09194 | 2,150 | py | Python | tests/project/main/test_interfaces_solc.py | drLis/brownie | bf1e1056df70b7696e298ce695b18291fb5f9b2f | [
"MIT"
] | 1 | 2021-07-07T12:27:19.000Z | 2021-07-07T12:27:19.000Z | tests/project/main/test_interfaces_solc.py | dmuhs/brownie | e245ca1854e32cd8c9678f7ebc7a4ec63dde0074 | [
"MIT"
] | 156 | 2020-07-20T21:23:47.000Z | 2021-07-27T21:21:46.000Z | tests/project/main/test_interfaces_solc.py | dmuhs/brownie | e245ca1854e32cd8c9678f7ebc7a4ec63dde0074 | [
"MIT"
] | 1 | 2020-06-28T22:02:33.000Z | 2020-06-28T22:02:33.000Z | import pytest
INTERFACE = """
pragma solidity ^0.5.0;
{} Foo {{
function baz() external returns (bool);
}}
"""
CONTRACT = """
pragma solidity ^0.5.0;
import "{}interfaces/Foo.sol";
contract Bar is Foo {{
function baz() external returns (bool) {{
return true;
}}
}}
"""
@pytest.mark.parametrize... | 34.677419 | 99 | 0.701395 | 269 | 2,150 | 5.479554 | 0.185874 | 0.09498 | 0.149254 | 0.123474 | 0.818182 | 0.750339 | 0.705563 | 0.686567 | 0.630936 | 0.592266 | 0 | 0.004847 | 0.136279 | 2,150 | 61 | 100 | 35.245902 | 0.788907 | 0 | 0 | 0.5625 | 0 | 0.020833 | 0.299535 | 0.044186 | 0 | 0 | 0 | 0 | 0.125 | 1 | 0.083333 | false | 0 | 0.104167 | 0 | 0.208333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a1e7ff2dd4ccffb70e83467dd1d86caf38ebbeba | 1,089 | py | Python | bitmovin/services/manifests/hls_manifest_service.py | camberbridge/bitmovin-python | 3af4c6e79b0291fda05fd1ceeb5bed1bba9f3c95 | [
"Unlicense"
] | 44 | 2016-12-12T17:37:23.000Z | 2021-03-03T09:48:48.000Z | bitmovin/services/manifests/hls_manifest_service.py | camberbridge/bitmovin-python | 3af4c6e79b0291fda05fd1ceeb5bed1bba9f3c95 | [
"Unlicense"
] | 38 | 2017-01-09T14:45:45.000Z | 2022-02-27T18:04:33.000Z | bitmovin/services/manifests/hls_manifest_service.py | camberbridge/bitmovin-python | 3af4c6e79b0291fda05fd1ceeb5bed1bba9f3c95 | [
"Unlicense"
] | 27 | 2017-02-02T22:49:31.000Z | 2019-11-21T07:04:57.000Z | from bitmovin.resources import HlsManifest
from bitmovin.services.manifests.generic_manifest_service import GenericManifestService
from .manifest_control_service import ManifestControlService
from .video_media_service import Video
from .audio_media_service import Audio
from .subtitles_media_service import Subtitles
f... | 41.884615 | 111 | 0.817264 | 125 | 1,089 | 6.768 | 0.32 | 0.177305 | 0.115839 | 0.165485 | 0.141844 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.124885 | 1,089 | 25 | 112 | 43.56 | 0.887723 | 0 | 0 | 0 | 0 | 0 | 0.002755 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.052632 | false | 0 | 0.473684 | 0 | 0.631579 | 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 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
a1ec9c3a3b3f4ab4244323e07315a15f36bffc95 | 141 | py | Python | setup.py | ianhi/pymmcore-remote | 54f93985ab73898b0cfc484e5ca43bf16d35c522 | [
"BSD-3-Clause"
] | 8 | 2021-07-15T10:35:08.000Z | 2022-03-02T23:36:34.000Z | setup.py | fdrgsp/pymmcore-remote | 929f62cca703a8a6437240d0c46446c0a524ed9a | [
"BSD-3-Clause"
] | 99 | 2021-07-03T02:16:14.000Z | 2022-03-29T16:11:59.000Z | setup.py | fdrgsp/pymmcore-remote | 929f62cca703a8a6437240d0c46446c0a524ed9a | [
"BSD-3-Clause"
] | 2 | 2021-05-19T19:59:27.000Z | 2021-07-01T19:08:35.000Z | import setuptools
setuptools.setup(
use_scm_version={"write_to": "pymmcore_plus/_version.py"},
setup_requires=["setuptools_scm"],
)
| 20.142857 | 62 | 0.744681 | 17 | 141 | 5.764706 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113475 | 141 | 6 | 63 | 23.5 | 0.784 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0.177305 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 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 |
a1efcb38ee179b27b5ee353bd5a4e783ed303164 | 91 | py | Python | lonestar/apps.py | youaredev123/Django_Lonestarrelay | f59ace091687027d1e675300dbcab2447f040e8f | [
"Apache-2.0"
] | null | null | null | lonestar/apps.py | youaredev123/Django_Lonestarrelay | f59ace091687027d1e675300dbcab2447f040e8f | [
"Apache-2.0"
] | null | null | null | lonestar/apps.py | youaredev123/Django_Lonestarrelay | f59ace091687027d1e675300dbcab2447f040e8f | [
"Apache-2.0"
] | null | null | null | from django.apps import AppConfig
class LonestarConfig(AppConfig):
name = 'lonestar'
| 15.166667 | 33 | 0.758242 | 10 | 91 | 6.9 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164835 | 91 | 5 | 34 | 18.2 | 0.907895 | 0 | 0 | 0 | 0 | 0 | 0.087912 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
b80f1f42851211271d447cb128424b34874a9425 | 9,853 | py | Python | src/main/resources/cdk_custom_resources/create_deployment_group.py | aws-samples/amazon-ecs-cicd-cdk | efa1b44b455617a60f1d89a6edda029eb8428e53 | [
"MIT-0"
] | null | null | null | src/main/resources/cdk_custom_resources/create_deployment_group.py | aws-samples/amazon-ecs-cicd-cdk | efa1b44b455617a60f1d89a6edda029eb8428e53 | [
"MIT-0"
] | null | null | null | src/main/resources/cdk_custom_resources/create_deployment_group.py | aws-samples/amazon-ecs-cicd-cdk | efa1b44b455617a60f1d89a6edda029eb8428e53 | [
"MIT-0"
] | null | null | null | import json
import logging
import urllib.request
import boto3
SUCCESS = "SUCCESS"
FAILED = "FAILED"
# Configure logging
LOGGER = logging.getLogger(__name__)
LOGGER.setLevel(logging.DEBUG)
client = boto3.client('codedeploy')
# Lambda Handler
def handler(event, context):
LOGGER.info("Received event: " + json.du... | 36.357934 | 107 | 0.5442 | 677 | 9,853 | 7.546529 | 0.228951 | 0.076336 | 0.063222 | 0.031709 | 0.749853 | 0.720102 | 0.713838 | 0.68898 | 0.68898 | 0.660207 | 0 | 0.000645 | 0.370243 | 9,853 | 270 | 108 | 36.492593 | 0.822724 | 0.003248 | 0 | 0.557851 | 0 | 0 | 0.215319 | 0.035343 | 0 | 0 | 0 | 0 | 0 | 1 | 0.020661 | false | 0 | 0.016529 | 0 | 0.03719 | 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 |
62996e2c3d3676213fc202245d1d2191e06f19e8 | 241 | py | Python | tests/factories.py | Stormheg/wagtail-live | a5eb79024d44c060079ae7d4707d6220ea66ff5b | [
"BSD-3-Clause"
] | 22 | 2021-06-07T20:36:18.000Z | 2022-03-29T01:48:58.000Z | tests/factories.py | Stormheg/wagtail-live | a5eb79024d44c060079ae7d4707d6220ea66ff5b | [
"BSD-3-Clause"
] | 73 | 2021-05-21T16:08:44.000Z | 2022-03-20T23:59:59.000Z | tests/factories.py | Stormheg/wagtail-live | a5eb79024d44c060079ae7d4707d6220ea66ff5b | [
"BSD-3-Clause"
] | 11 | 2021-06-10T10:05:13.000Z | 2022-02-12T13:31:34.000Z | import factory
import wagtail_factories
from tests.testapp.models import BlogPage
class BlogPageFactory(wagtail_factories.PageFactory):
title = factory.Sequence(lambda n: "Page {}".format(n))
class Meta:
model = BlogPage
| 20.083333 | 59 | 0.746888 | 28 | 241 | 6.357143 | 0.714286 | 0.179775 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170124 | 241 | 11 | 60 | 21.909091 | 0.89 | 0 | 0 | 0 | 0 | 0 | 0.029046 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.428571 | 0 | 0.857143 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
62a5297fba0b2bebdacdc9e5951b6e35eca29e88 | 1,967 | py | Python | MOOSE_api/model/oss.py | XYChang-cxy/MOOSE | 6cca5a1ed34451e6c525ca480b59ce504bba3f49 | [
"Apache-2.0"
] | 1 | 2021-09-02T09:32:41.000Z | 2021-09-02T09:32:41.000Z | MOOSE_api/model/oss.py | XYChang-cxy/MOOSE | 6cca5a1ed34451e6c525ca480b59ce504bba3f49 | [
"Apache-2.0"
] | null | null | null | MOOSE_api/model/oss.py | XYChang-cxy/MOOSE | 6cca5a1ed34451e6c525ca480b59ce504bba3f49 | [
"Apache-2.0"
] | 3 | 2021-08-30T08:34:51.000Z | 2021-09-30T13:14:31.000Z | from django.db import models
class MOOSEMeta(models.Model):
oss_id = models.BigIntegerField(unique=True)
oss_from = models.IntegerField()
oss_name = models.CharField(max_length=50)
oss_fullname = models.CharField(max_length=100, unique=True)
oss_create_time = models.CharField(max_length=50)
os... | 39.34 | 64 | 0.732588 | 249 | 1,967 | 5.493976 | 0.305221 | 0.186404 | 0.223684 | 0.298246 | 0.437866 | 0.388889 | 0.298246 | 0.201754 | 0.201754 | 0.201754 | 0 | 0.030525 | 0.16726 | 1,967 | 50 | 65 | 39.34 | 0.80464 | 0 | 0 | 0.085106 | 0 | 0 | 0.007114 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.021277 | false | 0 | 0.021277 | 0.021277 | 0.978723 | 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 |
62a7ad5993573bc7a4bd629873e983879ae9847e | 52 | py | Python | organize/__init__.py | vanessa/djangogirls | e56423ceda172858147dfa7006353f23264d4c67 | [
"BSD-3-Clause"
] | 1 | 2018-12-17T02:12:31.000Z | 2018-12-17T02:12:31.000Z | organize/__init__.py | vanessa/djangogirls | e56423ceda172858147dfa7006353f23264d4c67 | [
"BSD-3-Clause"
] | 6 | 2020-06-06T01:38:47.000Z | 2021-12-13T20:36:27.000Z | organize/__init__.py | vanessa/djangogirls | e56423ceda172858147dfa7006353f23264d4c67 | [
"BSD-3-Clause"
] | null | null | null | default_app_config = 'organize.apps.OrganizeConfig'
| 26 | 51 | 0.846154 | 6 | 52 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057692 | 52 | 1 | 52 | 52 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0.538462 | 0.538462 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
62a8a06ed0580f91e52e9de849831f4748772e47 | 11,419 | py | Python | gamestonk_terminal/cryptocurrency/due_diligence/binance_view.py | clairvoyant/GamestonkTerminal | 7b40cfe61b32782e36f5de8a08d075532a08c294 | [
"MIT"
] | null | null | null | gamestonk_terminal/cryptocurrency/due_diligence/binance_view.py | clairvoyant/GamestonkTerminal | 7b40cfe61b32782e36f5de8a08d075532a08c294 | [
"MIT"
] | null | null | null | gamestonk_terminal/cryptocurrency/due_diligence/binance_view.py | clairvoyant/GamestonkTerminal | 7b40cfe61b32782e36f5de8a08d075532a08c294 | [
"MIT"
] | null | null | null | """Binance view"""
__docformat__ = "numpy"
import argparse
from typing import List, Tuple, Union
from binance.client import Client
from tabulate import tabulate
import numpy as np
import pandas as pd
from gamestonk_terminal.helper_funcs import check_positive, parse_known_args_and_warn
from gamestonk_terminal.cryptocu... | 27.252983 | 89 | 0.579998 | 1,311 | 11,419 | 4.842105 | 0.170862 | 0.051985 | 0.089792 | 0.025205 | 0.726686 | 0.717706 | 0.703214 | 0.678324 | 0.631853 | 0.631853 | 0 | 0.016099 | 0.303704 | 11,419 | 418 | 90 | 27.318182 | 0.782292 | 0.088449 | 0 | 0.679443 | 0 | 0.003484 | 0.112522 | 0.012109 | 0 | 0 | 0 | 0 | 0 | 1 | 0.017422 | false | 0 | 0.031359 | 0 | 0.101045 | 0.045296 | 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 |
62a9cc6f9e26ce4e9cf32acd83f228e670649f48 | 430 | py | Python | ex018.py | EIleven/modulo1-python-exercicios | f4dfb01147635d3d5179763026ec149830ca758f | [
"MIT"
] | null | null | null | ex018.py | EIleven/modulo1-python-exercicios | f4dfb01147635d3d5179763026ec149830ca758f | [
"MIT"
] | null | null | null | ex018.py | EIleven/modulo1-python-exercicios | f4dfb01147635d3d5179763026ec149830ca758f | [
"MIT"
] | null | null | null | from math import sin, cos, tan, radians
print('BEM VINDO AO PROGRAMA CÁLCULO DE SENO COSSENO E TANGENTE DE QUALQUER ÂNGULO, FEITO POR BRENO CÉSAR')
angulo = float(input('Digite o ângulo para saber seu seno, cosseno e tangente: '))
print(f'O SENO do ângulo de {angulo} graus é igual a {sin(radians(angulo)):.2f}')
print(f... | 61.428571 | 107 | 0.732558 | 76 | 430 | 4.144737 | 0.526316 | 0.057143 | 0.066667 | 0.126984 | 0.133333 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008108 | 0.139535 | 430 | 6 | 108 | 71.666667 | 0.843243 | 0 | 0 | 0 | 0 | 0.166667 | 0.746512 | 0.181395 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0.666667 | 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 |
62bc40dcd2e20ad501fc5af0245bcc053957156d | 90 | py | Python | workbench/core/__init__.py | khorolets/workbench | 0cf850e98fadd5ef043d23c379c95fe2f3b482e1 | [
"MIT"
] | 1 | 2017-03-01T19:27:15.000Z | 2017-03-01T19:27:15.000Z | workbench/core/__init__.py | khorolets/workbench | 0cf850e98fadd5ef043d23c379c95fe2f3b482e1 | [
"MIT"
] | null | null | null | workbench/core/__init__.py | khorolets/workbench | 0cf850e98fadd5ef043d23c379c95fe2f3b482e1 | [
"MIT"
] | null | null | null | from .helpers import (
default_config,
render,
render_dist,
)
| 15 | 23 | 0.533333 | 8 | 90 | 5.75 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.4 | 90 | 5 | 24 | 18 | 0.851852 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 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 |
62c7376d9316fa5ae6bbe2991de83510730446bb | 5,030 | py | Python | tron/command_context.py | analogue/Tron | 9e09f8e76ab9f9aea61501c4d20bccef37d5bf0b | [
"Apache-2.0"
] | null | null | null | tron/command_context.py | analogue/Tron | 9e09f8e76ab9f9aea61501c4d20bccef37d5bf0b | [
"Apache-2.0"
] | 14 | 2021-05-14T22:49:22.000Z | 2022-03-29T22:14:44.000Z | tron/command_context.py | analogue/Tron | 9e09f8e76ab9f9aea61501c4d20bccef37d5bf0b | [
"Apache-2.0"
] | null | null | null | """Command Context is how we construct the command line for a command which may
have variables that need to be rendered.
"""
from __future__ import absolute_import
from __future__ import unicode_literals
import operator
from functools import reduce
from tron.utils import timeutils
def build_context(object, parent):... | 26.898396 | 80 | 0.633201 | 621 | 5,030 | 4.900161 | 0.289855 | 0.027604 | 0.032205 | 0.01676 | 0.093329 | 0.040092 | 0.025633 | 0.025633 | 0 | 0 | 0 | 0.000837 | 0.287475 | 5,030 | 186 | 81 | 27.043011 | 0.848214 | 0.252883 | 0 | 0.216981 | 0 | 0 | 0.011715 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.245283 | false | 0.009434 | 0.04717 | 0.132075 | 0.59434 | 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 |
62e92e3cd8333feda3b20b51f0937876c723807d | 163 | py | Python | orange3/Orange/canvas/gui/__init__.py | rgschmitz1/BioDepot-workflow-builder | f74d904eeaf91ec52ec9b703d9fb38e9064e5a66 | [
"MIT"
] | 54 | 2017-01-08T17:21:49.000Z | 2021-11-02T08:46:07.000Z | orange3/Orange/canvas/gui/__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/gui/__init__.py | Synthia-3/BioDepot-workflow-builder | 4ee93abe2d79465755e82a145af3b6a6e1e79fd4 | [
"MIT"
] | 21 | 2017-01-26T21:12:09.000Z | 2022-01-31T21:34:59.000Z | """
===========
GUI toolkit
===========
A GUI toolkit with widgets used by other parts of Orange Canvas.
Extends basic Qt classes with extra functionality.
"""
| 14.818182 | 64 | 0.644172 | 21 | 163 | 5 | 0.857143 | 0.190476 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171779 | 163 | 10 | 65 | 16.3 | 0.777778 | 0.93865 | 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 |
62f9e830d6684e01d5518a73080eb3b64e9230a8 | 802 | py | Python | 6kyu/first character that repeats/first character that repeats.py | cruisediary/Codewars | 6ae8c6f7549beb5dacd973bead885af9bf00481a | [
"MIT"
] | 6 | 2020-03-19T14:26:26.000Z | 2022-02-10T10:07:48.000Z | 6kyu/first character that repeats/first character that repeats.py | cruisediary/Codewars | 6ae8c6f7549beb5dacd973bead885af9bf00481a | [
"MIT"
] | null | null | null | 6kyu/first character that repeats/first character that repeats.py | cruisediary/Codewars | 6ae8c6f7549beb5dacd973bead885af9bf00481a | [
"MIT"
] | 3 | 2022-02-09T05:57:28.000Z | 2022-03-28T12:39:18.000Z | /*
https://www.codewars.com/kata/54f9f4d7c41722304e000bbb/train/python
first character that repeats
Find the first character that repeats in a String and return that character.
first_dup('tweet') => 't'
first_dup('like') => None
This is not the same as finding the character that repeats first. In that case, an input... | 24.30303 | 116 | 0.688279 | 124 | 802 | 4.314516 | 0.451613 | 0.149533 | 0.209346 | 0.274766 | 0.343925 | 0.119626 | 0.119626 | 0.119626 | 0 | 0 | 0 | 0.041176 | 0.15212 | 802 | 32 | 117 | 25.0625 | 0.745588 | 0 | 0 | 0.173913 | 0 | 0 | 0.089776 | 0 | 0 | 0 | 0 | 0 | 0.304348 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
62fb2eecf9f0ce9dfcf9c73d82893f37be148951 | 2,207 | py | Python | deepposekit/io/ImageGenerator.py | morbitech1/DeepPoseKit | 0501847f61c8f49d2af973f5fe3895aa22895334 | [
"Apache-2.0"
] | 287 | 2019-09-23T17:11:32.000Z | 2022-03-31T23:19:04.000Z | deepposekit/io/ImageGenerator.py | morbitech1/DeepPoseKit | 0501847f61c8f49d2af973f5fe3895aa22895334 | [
"Apache-2.0"
] | 85 | 2019-09-17T12:10:16.000Z | 2022-03-30T06:08:27.000Z | deepposekit/io/ImageGenerator.py | morbitech1/DeepPoseKit | 0501847f61c8f49d2af973f5fe3895aa22895334 | [
"Apache-2.0"
] | 83 | 2019-09-26T16:51:45.000Z | 2022-03-17T03:56:42.000Z | # -*- coding: utf-8 -*-
# Copyright 2018-2019 Jacob M. Graving <jgraving@gmail.com>
#
# 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 ... | 35.596774 | 79 | 0.706842 | 286 | 2,207 | 5.293706 | 0.43007 | 0.085865 | 0.051519 | 0.021136 | 0.036988 | 0.036988 | 0.036988 | 0.036988 | 0 | 0 | 0 | 0.008528 | 0.20299 | 2,207 | 61 | 80 | 36.180328 | 0.852189 | 0.494789 | 0 | 0 | 0 | 0 | 0.01327 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.26087 | false | 0 | 0.043478 | 0.173913 | 0.565217 | 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 |
a7f8dc5ef1c365d8bad683e2807a97235f80b829 | 528 | py | Python | data.py | clintonjwang/cbct-recon | 75d5458188d3e1f663b22f64d6aa1306e5da6d11 | [
"MIT"
] | 4 | 2020-03-20T14:55:00.000Z | 2021-12-28T03:23:28.000Z | data.py | clintonjwang/cbct-recon | 75d5458188d3e1f663b22f64d6aa1306e5da6d11 | [
"MIT"
] | null | null | null | data.py | clintonjwang/cbct-recon | 75d5458188d3e1f663b22f64d6aa1306e5da6d11 | [
"MIT"
] | 1 | 2020-03-20T14:56:42.000Z | 2020-03-20T14:56:42.000Z | import numpy as np
from tensorflow.examples.tutorials.mnist import input_data
mnist = input_data.read_data_sets('mnist')
class DataSampler(object):
def __init__(self):
self.shape = [28, 28, 1]
def __call__(self, batch_size):
return mnist.train.next_batch(batch_size)[0]
def data2img(self,... | 26.4 | 64 | 0.689394 | 78 | 528 | 4.371795 | 0.461538 | 0.105572 | 0.064516 | 0.093842 | 0.117302 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027907 | 0.185606 | 528 | 19 | 65 | 27.789474 | 0.765116 | 0 | 0 | 0 | 0 | 0 | 0.009488 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.307692 | false | 0 | 0.153846 | 0.230769 | 0.846154 | 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 |
c52b2948f6cbf681f78fe8d38c22ad892f1dfa75 | 478 | py | Python | falcon_unzip_evaluation/resources/home/dnanexus/remove_x_specific.py | Arkarachai/falcon_unzip_assessment | 83ad79c73e08a8f9f22cfd426314041274fdf1f4 | [
"MIT"
] | null | null | null | falcon_unzip_evaluation/resources/home/dnanexus/remove_x_specific.py | Arkarachai/falcon_unzip_assessment | 83ad79c73e08a8f9f22cfd426314041274fdf1f4 | [
"MIT"
] | 1 | 2018-10-14T14:35:35.000Z | 2018-10-24T06:04:49.000Z | falcon_unzip_evaluation/resources/home/dnanexus/remove_x_specific.py | Arkarachai/falcon_unzip_assessment | 83ad79c73e08a8f9f22cfd426314041274fdf1f4 | [
"MIT"
] | null | null | null | import sys
filename = sys.argv[1]
pseudo_autosomal = [(10001, 2781479), (155701383, 156030895)]
fd = open(filename)
lines = fd.readlines()
for line in lines:
temp = line.strip().split()
if temp[11] != 'chrX':
print line.strip()
else:
if (int(temp[1]) > pseudo_autosomal[0][0] and int(temp[1]... | 34.142857 | 97 | 0.608787 | 69 | 478 | 4.144928 | 0.434783 | 0.122378 | 0.27972 | 0.195804 | 0.363636 | 0.363636 | 0.188811 | 0 | 0 | 0 | 0 | 0.119681 | 0.213389 | 478 | 14 | 98 | 34.142857 | 0.640957 | 0 | 0 | 0.153846 | 0 | 0 | 0.008351 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.076923 | null | null | 0.153846 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c53079b47a38b90267d4baa1fbd6e85a23ccdda1 | 40,833 | py | Python | wepppy/_scripts/lt_calib_runs_md_1.py | hwbeeson/wepppy | 6358552df99853c75be8911e7ef943108ae6923e | [
"BSD-3-Clause"
] | null | null | null | wepppy/_scripts/lt_calib_runs_md_1.py | hwbeeson/wepppy | 6358552df99853c75be8911e7ef943108ae6923e | [
"BSD-3-Clause"
] | null | null | null | wepppy/_scripts/lt_calib_runs_md_1.py | hwbeeson/wepppy | 6358552df99853c75be8911e7ef943108ae6923e | [
"BSD-3-Clause"
] | null | null | null | import os
import sys
from copy import deepcopy
import shutil
from os.path import exists as _exists
from pprint import pprint
from time import time
from time import sleep
from datetime import datetime
import wepppy
from wepppy.nodb import (
Ron, Topaz, Watershed, Landuse, Soils, Climate, Wepp, SoilsMode, ClimateM... | 51.950382 | 113 | 0.611834 | 4,884 | 40,833 | 4.938165 | 0.11855 | 0.025126 | 0.028568 | 0.039556 | 0.702504 | 0.695663 | 0.693922 | 0.682727 | 0.6814 | 0.668961 | 0 | 0.322976 | 0.269341 | 40,833 | 785 | 114 | 52.016561 | 0.485403 | 0.033159 | 0 | 0.606602 | 0 | 0 | 0.063521 | 0.025596 | 0 | 0 | 0 | 0 | 0.001376 | 1 | 0.001376 | false | 0 | 0.023384 | 0 | 0.024759 | 0.030261 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c53241b9d9e3d6ee01c3d4a5079b9bb260be40a0 | 1,465 | py | Python | eHealth_Version1.0_01_13_2022_12_47_pm_Release/BUS/BUS_Employee.py | kyvipro113/Graduation_Thesis | 71e9e3aa2adf64cff7319d056592f8b6ef1fd5ec | [
"MIT"
] | null | null | null | eHealth_Version1.0_01_13_2022_12_47_pm_Release/BUS/BUS_Employee.py | kyvipro113/Graduation_Thesis | 71e9e3aa2adf64cff7319d056592f8b6ef1fd5ec | [
"MIT"
] | null | null | null | eHealth_Version1.0_01_13_2022_12_47_pm_Release/BUS/BUS_Employee.py | kyvipro113/Graduation_Thesis | 71e9e3aa2adf64cff7319d056592f8b6ef1fd5ec | [
"MIT"
] | null | null | null | from DAL.DAL_Employee import DAL_Employee
class BUS_Employee():
def __init__(self):
self.dalEmployee = DAL_Employee()
def loadData(self):
return self.dalEmployee.selectAllEmployee()
def addNewEmployee(self, dtoEmployee):
try:
self.dalEmployee.addEmployee(dtoEmployee=dt... | 28.72549 | 72 | 0.675085 | 133 | 1,465 | 7.37594 | 0.300752 | 0.183486 | 0.171254 | 0.076453 | 0.182467 | 0.115189 | 0.091743 | 0.091743 | 0 | 0 | 0 | 0.00546 | 0.249829 | 1,465 | 51 | 73 | 28.72549 | 0.88717 | 0 | 0 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.315789 | false | 0 | 0.026316 | 0.210526 | 0.736842 | 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 |
c54ff5263e10c3918b4728a073a494bab1be2996 | 4,422 | py | Python | modernrpc/tests/conftest.py | dansan/django-modern-rpc | cf69cae06d3d7f0e8a46dfa8923ca2009c5c42a9 | [
"MIT"
] | null | null | null | modernrpc/tests/conftest.py | dansan/django-modern-rpc | cf69cae06d3d7f0e8a46dfa8923ca2009c5c42a9 | [
"MIT"
] | null | null | null | modernrpc/tests/conftest.py | dansan/django-modern-rpc | cf69cae06d3d7f0e8a46dfa8923ca2009c5c42a9 | [
"MIT"
] | null | null | null | # coding: utf-8
import pytest
from django.contrib.auth.models import Permission, Group, AnonymousUser
import modernrpc.core
from . import xmlrpclib, jsonrpclib
@pytest.fixture(scope='function')
def rpc_registry():
# With Python 3.5+, we could use _dump = {**orig_dict} to easily perform a shallow copy
# Unfor... | 31.361702 | 112 | 0.741746 | 619 | 4,422 | 5.088853 | 0.208401 | 0.08254 | 0.037143 | 0.063492 | 0.668571 | 0.563175 | 0.446667 | 0.387619 | 0.360317 | 0.334921 | 0 | 0.009686 | 0.136137 | 4,422 | 140 | 113 | 31.585714 | 0.814921 | 0.281095 | 0 | 0.391892 | 0 | 0 | 0.068742 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.283784 | false | 0.054054 | 0.054054 | 0.027027 | 0.608108 | 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 |
c56497ec254b531a35cf704d572ea0435729c481 | 2,065 | py | Python | flypy/runtime/obj/complexobject.py | filmackay/flypy | d64e70959c5c8af9e914dcc3ce1068fb99859c3a | [
"BSD-2-Clause"
] | null | null | null | flypy/runtime/obj/complexobject.py | filmackay/flypy | d64e70959c5c8af9e914dcc3ce1068fb99859c3a | [
"BSD-2-Clause"
] | null | null | null | flypy/runtime/obj/complexobject.py | filmackay/flypy | d64e70959c5c8af9e914dcc3ce1068fb99859c3a | [
"BSD-2-Clause"
] | 1 | 2020-01-01T00:43:24.000Z | 2020-01-01T00:43:24.000Z | # -*- coding: utf-8 -*-
"""
Complex object implementation.
"""
from __future__ import print_function, division, absolute_import
try:
import __builtin__ as builtins
except ImportError:
import builtins
import flypy.types
from flypy import jit, sjit, typeof, overlay
#===---------------------------------------... | 25.8125 | 73 | 0.567554 | 238 | 2,065 | 4.386555 | 0.256303 | 0.017241 | 0.099617 | 0.081418 | 0.448276 | 0.407088 | 0.337165 | 0.337165 | 0.337165 | 0.337165 | 0 | 0.00187 | 0.223245 | 2,065 | 79 | 74 | 26.139241 | 0.649002 | 0.138499 | 0 | 0.285714 | 0 | 0 | 0.06342 | 0 | 0 | 0 | 0 | 0.012658 | 0 | 1 | 0.22449 | false | 0 | 0.122449 | 0.183673 | 0.653061 | 0.020408 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
c577e85ed570971b8c430701baf895322406ef3b | 247 | py | Python | extras/python/iotsaControl/consts.py | cwi-dis/iotsa | 1639f9e0f482932a594d71f76463d2960243fff7 | [
"MIT"
] | 18 | 2017-05-19T17:46:17.000Z | 2021-11-24T10:38:25.000Z | extras/python/iotsaControl/consts.py | cwi-dis/iotsa | 1639f9e0f482932a594d71f76463d2960243fff7 | [
"MIT"
] | 52 | 2017-09-04T10:17:25.000Z | 2021-08-25T10:16:41.000Z | extras/python/iotsaControl/consts.py | cwi-dis/iotsa | 1639f9e0f482932a594d71f76463d2960243fff7 | [
"MIT"
] | 6 | 2017-09-03T00:18:38.000Z | 2020-11-21T07:39:09.000Z | from __future__ import print_function
from __future__ import unicode_literals
from builtins import object
VERBOSE=[]
class UserIntervention(Exception):
pass
class IotsaError(RuntimeError):
pass
class CoapError(Exception):
pass
| 16.466667 | 39 | 0.781377 | 27 | 247 | 6.777778 | 0.62963 | 0.10929 | 0.174863 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17004 | 247 | 14 | 40 | 17.642857 | 0.892683 | 0 | 0 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.3 | 0.3 | 0 | 0.6 | 0.1 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
3d7ee317f6fe6545eca4968639311f6ace6516bf | 714 | py | Python | Python/django/1-exercises/class_based_views/cbvs_app/models.py | Kenneth-Macharia/Code-practise | 3c94f1df1e874ea2e4dcf0e55ee11d09c0eeb16f | [
"MIT"
] | null | null | null | Python/django/1-exercises/class_based_views/cbvs_app/models.py | Kenneth-Macharia/Code-practise | 3c94f1df1e874ea2e4dcf0e55ee11d09c0eeb16f | [
"MIT"
] | 3 | 2020-05-31T08:55:40.000Z | 2020-05-31T08:56:09.000Z | Python/django/1-exercises/class_based_views/cbvs_app/models.py | Kenneth-Macharia/Learning | 0948dda73d94b25f96fad7e9ff3523782b0a407a | [
"MIT"
] | null | null | null | from django.db import models
from django.urls import reverse
class School(models.Model):
name = models.CharField(max_length=256)
principal = models.CharField(max_length=256)
location = models.CharField(max_length=256)
def __str__(self):
return self.name
# An absolute url on a model will redirect to a newly cr... | 29.75 | 125 | 0.771709 | 105 | 714 | 5.085714 | 0.495238 | 0.11236 | 0.134831 | 0.179775 | 0.348315 | 0.247191 | 0.157303 | 0.157303 | 0 | 0 | 0 | 0.019293 | 0.128852 | 714 | 23 | 126 | 31.043478 | 0.839228 | 0.170868 | 0 | 0.375 | 0 | 0 | 0.042373 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1875 | false | 0 | 0.125 | 0.1875 | 1 | 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 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
3d94bf85b78b230cab16e462985c2950454a72f0 | 350 | py | Python | src/cube2crypto/cube2crypto/modular_inverse.py | DanSeraf/spyd | af893b7f9c67785613b25754eb2cf150523a9fe4 | [
"Zlib"
] | 1 | 2020-03-23T20:28:06.000Z | 2020-03-23T20:28:06.000Z | src/cube2crypto/cube2crypto/modular_inverse.py | DanSeraf/spyd | af893b7f9c67785613b25754eb2cf150523a9fe4 | [
"Zlib"
] | 1 | 2022-02-05T16:59:53.000Z | 2022-02-08T17:30:55.000Z | src/cube2crypto/cube2crypto/modular_inverse.py | DanSeraf/spyd | af893b7f9c67785613b25754eb2cf150523a9fe4 | [
"Zlib"
] | null | null | null | from extended_euclidean_gcd import extended_euclidean_gcd
def modular_inverse(a, m):
"""Copied from
http://en.wikibooks.org/wiki/Algorithm_Implementation/Mathematics/Extended_Euclidean_algorithm"""
g, x, y = extended_euclidean_gcd(a, m)
if g != 1:
return None # modular inverse does not exist
... | 31.818182 | 101 | 0.708571 | 48 | 350 | 4.958333 | 0.625 | 0.285714 | 0.252101 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003584 | 0.202857 | 350 | 10 | 102 | 35 | 0.849462 | 0.394286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.142857 | 0 | 0.571429 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
3da4bb3588a18a718da989e18f629569b104e1c4 | 94 | py | Python | Codewars/8kyu/who-is-going-to-pay-for-the-wall/Python/solution1.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | 7 | 2017-09-20T16:40:39.000Z | 2021-08-31T18:15:08.000Z | Codewars/8kyu/who-is-going-to-pay-for-the-wall/Python/solution1.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | null | null | null | Codewars/8kyu/who-is-going-to-pay-for-the-wall/Python/solution1.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | null | null | null | # Python - 3.6.0
who_is_paying = lambda name: [name] + ([name[:2]] if len(name) > 2 else [])
| 23.5 | 75 | 0.585106 | 17 | 94 | 3.117647 | 0.764706 | 0.301887 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065789 | 0.191489 | 94 | 3 | 76 | 31.333333 | 0.631579 | 0.148936 | 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 |
9a76265aa64bce2f4aafe32823cb6b8a98db7ee5 | 2,077 | py | Python | v2/csil/__init__.py | iahuang/scratch-gcc | bc4989f3dc54f0cdc3098f66078d17750c111bec | [
"MIT"
] | null | null | null | v2/csil/__init__.py | iahuang/scratch-gcc | bc4989f3dc54f0cdc3098f66078d17750c111bec | [
"MIT"
] | null | null | null | v2/csil/__init__.py | iahuang/scratch-gcc | bc4989f3dc54f0cdc3098f66078d17750c111bec | [
"MIT"
] | null | null | null | """
CScratch Intermediate Language
An extremely simple assembly-like language that compiles to Scratch.
There are no registers in a traditional sense, instructions manipulate Scratch variables directly in place of registers. Due to the dynamic nature of Scratch, registers can technically hold any type of data, includi... | 42.387755 | 288 | 0.381801 | 301 | 2,077 | 5.501661 | 0.568106 | 0.009662 | 0.012077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00232 | 0.169957 | 2,077 | 48 | 289 | 43.270833 | 0.452436 | 0.867598 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.222222 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
9a79385443a42f64ca23c4d46b3d960fbf71aae9 | 167 | py | Python | Aulas/aula20.py | Matheus1199/python | c87859d4bf63ba0edea43d864fcbce4915da7e6a | [
"MIT"
] | null | null | null | Aulas/aula20.py | Matheus1199/python | c87859d4bf63ba0edea43d864fcbce4915da7e6a | [
"MIT"
] | null | null | null | Aulas/aula20.py | Matheus1199/python | c87859d4bf63ba0edea43d864fcbce4915da7e6a | [
"MIT"
] | null | null | null | def titulo(txt):
print('-=' * 30)
print(txt)
print('-=' * 30)
titulo('SISTEMA DE ALUNOS')
titulo('CADASTRO DE FUNCIONÁRIOS')
titulo('ERRO DO SISTEMA')
| 15.181818 | 34 | 0.610778 | 21 | 167 | 4.857143 | 0.571429 | 0.156863 | 0.196078 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030075 | 0.203593 | 167 | 11 | 35 | 15.181818 | 0.736842 | 0 | 0 | 0.285714 | 0 | 0 | 0.357143 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0 | 0 | 0.142857 | 0.428571 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
9a8eac5f120ce0061651f2d59eea56d2d68ff04e | 548 | py | Python | tests/test_first_missing_positive.py | exterkamps/Python-Data-Structures | 8594ed934edeaded4866999932384d12fb4519c3 | [
"Apache-2.0"
] | 3 | 2018-10-15T17:38:29.000Z | 2021-03-24T02:55:46.000Z | tests/test_first_missing_positive.py | exterkamp/Python-Data-Structures | 8594ed934edeaded4866999932384d12fb4519c3 | [
"Apache-2.0"
] | null | null | null | tests/test_first_missing_positive.py | exterkamp/Python-Data-Structures | 8594ed934edeaded4866999932384d12fb4519c3 | [
"Apache-2.0"
] | null | null | null | import unittest
from algorithms.math.first_missing_positive import first_missing_positive
class TestFirstMissingPositive(unittest.TestCase):
def test_in_order(self):
self.assertEqual(6,first_missing_positive([1,2,3,4,5]))
self.assertEqual(6,first_missing_positive([0,1,2,3,4,5]))
def test_... | 39.142857 | 81 | 0.713504 | 93 | 548 | 4 | 0.322581 | 0.048387 | 0.322581 | 0.032258 | 0.22043 | 0.193548 | 0 | 0 | 0 | 0 | 0 | 0.086316 | 0.133212 | 548 | 14 | 82 | 39.142857 | 0.696842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.4 | 1 | 0.3 | false | 0 | 0.2 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
9aa456c6baf00ff826a1a5b3bd420c1d56940bdc | 379 | py | Python | testing/tests/001-main/001-empty/001-anonymous/003-search.py | darobin/critic | 9d09f3ae45d0b37fb899c5323409c06e8622a2a1 | [
"Apache-2.0",
"MIT"
] | 1 | 2020-12-04T18:43:10.000Z | 2020-12-04T18:43:10.000Z | testing/tests/001-main/001-empty/001-anonymous/003-search.py | darobin/critic | 9d09f3ae45d0b37fb899c5323409c06e8622a2a1 | [
"Apache-2.0",
"MIT"
] | null | null | null | testing/tests/001-main/001-empty/001-anonymous/003-search.py | darobin/critic | 9d09f3ae45d0b37fb899c5323409c06e8622a2a1 | [
"Apache-2.0",
"MIT"
] | null | null | null | frontend.page("search", expect={ "document_title": testing.expect.document_title(u"Search"),
"content_title": testing.expect.paleyellow_title(0, u"Search"),
"pageheader_links": testing.expect.pageheader_links("anonymous"),
... | 75.8 | 98 | 0.583113 | 35 | 379 | 6.057143 | 0.457143 | 0.245283 | 0.179245 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003731 | 0.292876 | 379 | 4 | 99 | 94.75 | 0.787313 | 0 | 0 | 0 | 0 | 0 | 0.21372 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
9ab5af43dc11782811e9ea4054d77936cedf5112 | 132 | py | Python | test/com/facebook/buck/android/testdata/ndk_toolchain/objdump.py | Unknoob/buck | 2dfc734354b326f2f66896dde7746a11965d5a13 | [
"Apache-2.0"
] | 8,027 | 2015-01-02T05:31:44.000Z | 2022-03-31T07:08:09.000Z | test/com/facebook/buck/android/testdata/ndk_toolchain/objdump.py | Unknoob/buck | 2dfc734354b326f2f66896dde7746a11965d5a13 | [
"Apache-2.0"
] | 2,355 | 2015-01-01T15:30:53.000Z | 2022-03-30T20:21:16.000Z | test/com/facebook/buck/android/testdata/ndk_toolchain/objdump.py | Unknoob/buck | 2dfc734354b326f2f66896dde7746a11965d5a13 | [
"Apache-2.0"
] | 1,280 | 2015-01-09T03:29:04.000Z | 2022-03-30T15:14:14.000Z | import sys
import impl
parser = impl.argparser()
(options, args) = parser.parse_known_args()
impl.log(options, args)
sys.exit(1) | 13.2 | 43 | 0.734848 | 20 | 132 | 4.75 | 0.6 | 0.231579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008696 | 0.128788 | 132 | 10 | 44 | 13.2 | 0.817391 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 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 | 1 | 0 | 0 | 0 | 0 | 3 |
9ac0c9a5172049c88e835834b540990a2b5e5a73 | 148 | py | Python | entities/apps.py | TeeblaQ1/employeeAPI | 557f7db75fffa7bfc31603c3511ccffe597f59d9 | [
"MIT"
] | null | null | null | entities/apps.py | TeeblaQ1/employeeAPI | 557f7db75fffa7bfc31603c3511ccffe597f59d9 | [
"MIT"
] | null | null | null | entities/apps.py | TeeblaQ1/employeeAPI | 557f7db75fffa7bfc31603c3511ccffe597f59d9 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class EntitiesConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField'
name = 'entities'
| 21.142857 | 56 | 0.763514 | 17 | 148 | 6.529412 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148649 | 148 | 6 | 57 | 24.666667 | 0.880952 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0.195946 | 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 |
9ac3c941dba5b3c3b5ad42fb907f63c65e9ec57f | 5,184 | py | Python | main.py | kowapuk/busyhouse | a9b395e4a2ae36d350521084aa04e2552b7d8d00 | [
"MIT"
] | null | null | null | main.py | kowapuk/busyhouse | a9b395e4a2ae36d350521084aa04e2552b7d8d00 | [
"MIT"
] | null | null | null | main.py | kowapuk/busyhouse | a9b395e4a2ae36d350521084aa04e2552b7d8d00 | [
"MIT"
] | null | null | null |
import bme280
import ssd1306
import wifi
import json
from machine import Pin, RTC, I2C
from neopixel import NeoPixel
from utime import sleep_ms
from mqtt_writer import MQTTWriter
# GPIO5 - yellow, GPIO4 - blue, GPIO0 - green, GPIO2 - red
# GPIO14 - np
scl = Pin(13)
sda = Pin(0)
led = const(14)
yellow = const... | 5,184 | 5,184 | 0.580054 | 799 | 5,184 | 3.643304 | 0.2403 | 0.054964 | 0.05359 | 0.021986 | 0.267262 | 0.122295 | 0.092065 | 0.092065 | 0.092065 | 0.075575 | 0 | 0.054076 | 0.275849 | 5,184 | 1 | 5,184 | 5,184 | 0.721364 | 0 | 0 | 0.225806 | 0 | 0 | 0.044241 | 0.014679 | 0 | 0 | 0.001631 | 0 | 0 | 1 | 0.077419 | false | 0.012903 | 0.051613 | 0.006452 | 0.154839 | 0.032258 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.