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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
384117f81df8e2578480b4c8e242e2a0c2e3af2c | 729 | py | Python | tests/penn_chime/model/test_parameters.py | riverkoko/chime | 391a46056d59ac2dd622660251b03e377ea49ac5 | [
"MIT"
] | 222 | 2020-03-17T16:02:49.000Z | 2022-03-24T15:45:29.000Z | tests/penn_chime/model/test_parameters.py | riverkoko/chime | 391a46056d59ac2dd622660251b03e377ea49ac5 | [
"MIT"
] | 445 | 2020-03-17T16:08:49.000Z | 2022-03-12T00:29:30.000Z | tests/penn_chime/model/test_parameters.py | riverkoko/chime | 391a46056d59ac2dd622660251b03e377ea49ac5 | [
"MIT"
] | 176 | 2020-03-17T19:45:05.000Z | 2022-02-23T02:53:03.000Z | """Test Parameters."""
from penn_chime.model.parameters import Parameters
def test_cypress_defaults():
"""Ensure the cypress defaults have been updated."""
# TODO how to make this work when the module is installed?
_ = Parameters.create({"PARAMETERS": "./defaults/cypress.cfg"}, [])
def test_cli_default... | 33.136364 | 71 | 0.689986 | 93 | 729 | 5.301075 | 0.311828 | 0.042596 | 0.103448 | 0.139959 | 0.62069 | 0.62069 | 0.62069 | 0.62069 | 0.62069 | 0.62069 | 0 | 0 | 0.174211 | 729 | 21 | 72 | 34.714286 | 0.818937 | 0.444444 | 0 | 0 | 0 | 0 | 0.23822 | 0.112565 | 0 | 0 | 0 | 0.047619 | 0 | 1 | 0.428571 | false | 0 | 0.142857 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
6993e46d015c6887e7c689468f4059ab5ab8c40b | 109 | py | Python | python_modules/libraries/dagster-pagerduty/dagster_pagerduty/__init__.py | shahvineet98/dagster | 2471d39c52f660e23e8c0d8e8ded873ddc3df036 | [
"Apache-2.0"
] | 3 | 2020-09-09T04:10:23.000Z | 2021-11-08T02:10:42.000Z | python_modules/libraries/dagster-pagerduty/dagster_pagerduty/__init__.py | shahvineet98/dagster | 2471d39c52f660e23e8c0d8e8ded873ddc3df036 | [
"Apache-2.0"
] | 2 | 2021-05-11T13:36:27.000Z | 2021-09-03T01:53:11.000Z | python_modules/libraries/dagster-pagerduty/dagster_pagerduty/__init__.py | shahvineet98/dagster | 2471d39c52f660e23e8c0d8e8ded873ddc3df036 | [
"Apache-2.0"
] | 1 | 2021-02-21T12:16:47.000Z | 2021-02-21T12:16:47.000Z | from .resources import pagerduty_resource
from .version import __version__
__all__ = ['pagerduty_resource']
| 21.8 | 41 | 0.825688 | 12 | 109 | 6.666667 | 0.583333 | 0.425 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.110092 | 109 | 4 | 42 | 27.25 | 0.824742 | 0 | 0 | 0 | 0 | 0 | 0.165138 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
69a343a68ab51ebe3b2c14b9f6bfcdc44e67b061 | 281 | py | Python | rl_games/envs/__init__.py | Denys88/dqn_atari | 7f259a6436f396274c9931d0bd7004cee2ecabfa | [
"MIT"
] | null | null | null | rl_games/envs/__init__.py | Denys88/dqn_atari | 7f259a6436f396274c9931d0bd7004cee2ecabfa | [
"MIT"
] | null | null | null | rl_games/envs/__init__.py | Denys88/dqn_atari | 7f259a6436f396274c9931d0bd7004cee2ecabfa | [
"MIT"
] | null | null | null |
from rl_games.envs.connect4_network import ConnectBuilder
from rl_games.envs.test_network import TestNetBuilder
from rl_games.algos_torch import model_builder
model_builder.register_network('connect4net', ConnectBuilder)
model_builder.register_network('testnet', TestNetBuilder) | 35.125 | 61 | 0.875445 | 36 | 281 | 6.527778 | 0.472222 | 0.076596 | 0.140426 | 0.12766 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007605 | 0.064057 | 281 | 8 | 62 | 35.125 | 0.885932 | 0 | 0 | 0 | 0 | 0 | 0.064286 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
69b2c1c4e32d7180d38740d2b19fe953098e2cf9 | 294 | py | Python | tasks/__init__.py | radeklat/sparkql | 57d55c7599460f2e7e5957c037d7c25cedb92647 | [
"MIT"
] | 6 | 2020-02-12T14:01:08.000Z | 2020-05-29T05:35:09.000Z | tasks/__init__.py | radeklat/sparkql | 57d55c7599460f2e7e5957c037d7c25cedb92647 | [
"MIT"
] | 31 | 2020-02-09T18:52:52.000Z | 2020-05-15T16:03:32.000Z | tasks/__init__.py | radeklat/sparkql | 57d55c7599460f2e7e5957c037d7c25cedb92647 | [
"MIT"
] | 1 | 2020-04-03T19:23:08.000Z | 2020-04-03T19:23:08.000Z | from tasks.formatting import reformat
from tasks.testing import test
from tasks.linting import lint
from tasks.releasing import prepare_release, find_releasable_changes
from tasks.typechecking import typecheck
def verify_all():
"""Run all checks."""
lint()
typecheck()
test()
| 22.615385 | 68 | 0.765306 | 38 | 294 | 5.815789 | 0.578947 | 0.20362 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159864 | 294 | 12 | 69 | 24.5 | 0.894737 | 0.05102 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | true | 0 | 0.555556 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
69c10c9cf016d98054b677fc8e341f936f86be8d | 35,837 | py | Python | pytests/gsi/planner_gsi.py | sumedhpb/testrunner | 9ff887231c75571624abc31a3fb5248110e01203 | [
"Apache-2.0"
] | 14 | 2015-02-06T02:47:57.000Z | 2020-03-14T15:06:05.000Z | pytests/gsi/planner_gsi.py | sumedhpb/testrunner | 9ff887231c75571624abc31a3fb5248110e01203 | [
"Apache-2.0"
] | 3 | 2019-02-27T19:29:11.000Z | 2021-06-02T02:14:27.000Z | pytests/gsi/planner_gsi.py | sumedhpb/testrunner | 9ff887231c75571624abc31a3fb5248110e01203 | [
"Apache-2.0"
] | 108 | 2015-03-26T08:58:49.000Z | 2022-03-21T05:21:39.000Z | """planner_gsi.py: description
__author__ = "Hemant Rajput"
__maintainer = "Hemant Rajput"
__email__ = "Hemant.Rajput@couchbase.com"
__git_user__ = "hrajput89"
__created_on__ = "04/08/21 11:26 am"
"""
import json
import os
import random
from couchbase_helper.query_definitions import QueryDefinition
from membase.api.... | 53.890226 | 120 | 0.642883 | 4,343 | 35,837 | 4.944508 | 0.076905 | 0.026451 | 0.021887 | 0.03283 | 0.772795 | 0.750396 | 0.725063 | 0.708485 | 0.696936 | 0.685154 | 0 | 0.006072 | 0.269303 | 35,837 | 664 | 121 | 53.971386 | 0.813985 | 0.031113 | 0 | 0.640071 | 0 | 0.001773 | 0.09148 | 0.006687 | 0 | 0 | 0 | 0 | 0.026596 | 1 | 0.028369 | false | 0.005319 | 0.014184 | 0 | 0.046099 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
69ce01a02b2fa73da586c622950504f9adcca93e | 98 | py | Python | src/scope_control/__init__.py | an-oreo/Scope_Control | c585394c212430b726f4e065928a9f1a954d42a2 | [
"MIT"
] | null | null | null | src/scope_control/__init__.py | an-oreo/Scope_Control | c585394c212430b726f4e065928a9f1a954d42a2 | [
"MIT"
] | null | null | null | src/scope_control/__init__.py | an-oreo/Scope_Control | c585394c212430b726f4e065928a9f1a954d42a2 | [
"MIT"
] | null | null | null | __version_info = (0,0,1)
__version__ = '.'.join(map(str,__version_info))
from .tek_scope import * | 24.5 | 47 | 0.72449 | 15 | 98 | 4 | 0.733333 | 0.366667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034091 | 0.102041 | 98 | 4 | 48 | 24.5 | 0.647727 | 0 | 0 | 0 | 0 | 0 | 0.010101 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
69d03de5dd0d43e3dd6be25b7c4ab4b6c5d15670 | 117 | py | Python | pywb/main.py | karenhanson/autoscalar | 40010721a62de1e59a8bfaf6273c47d8977e1f4c | [
"Apache-2.0"
] | 4 | 2018-08-29T07:00:27.000Z | 2019-05-23T18:55:30.000Z | pywb/main.py | karenhanson/autoscalar | 40010721a62de1e59a8bfaf6273c47d8977e1f4c | [
"Apache-2.0"
] | null | null | null | pywb/main.py | karenhanson/autoscalar | 40010721a62de1e59a8bfaf6273c47d8977e1f4c | [
"Apache-2.0"
] | 2 | 2020-06-24T15:08:59.000Z | 2021-05-14T11:08:59.000Z | from gevent.monkey import patch_all; patch_all()
from dynproxyapp import DynProxyPywb
application = DynProxyPywb()
| 19.5 | 48 | 0.820513 | 14 | 117 | 6.714286 | 0.642857 | 0.170213 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119658 | 117 | 5 | 49 | 23.4 | 0.912621 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
69e20f89b12a5c9657f9f9e6b5e63f719bee93bc | 332 | py | Python | eqnsolve/eqn3.py | nickinack/Genesis | 1e3c76460855001ec626eaf6e4e2f63e7acfe2ae | [
"MIT"
] | 3 | 2020-12-07T13:30:49.000Z | 2020-12-07T13:33:36.000Z | eqnsolve/eqn3.py | nickinack/Library | 1e3c76460855001ec626eaf6e4e2f63e7acfe2ae | [
"MIT"
] | 4 | 2020-10-18T04:26:43.000Z | 2020-11-16T06:06:07.000Z | eqnsolve/eqn3.py | nickinack/Library | 1e3c76460855001ec626eaf6e4e2f63e7acfe2ae | [
"MIT"
] | 5 | 2020-10-07T17:11:27.000Z | 2020-11-23T19:00:58.000Z | import numpy as np
var = 1
def eqnfit(chromosome):
'''
Equation 1: x^143 + 2x^324 - x^13 = 10362
'''
eqn = chromosome[0]**143 + 2*chromosome[0]**324 - chromosome[0]**13
val = 10362
return (1/(eqn-val))
def value(chromosome):
return chromosome[0]**143 + 2*chromosome[0]**324 - chromo... | 19.529412 | 75 | 0.590361 | 49 | 332 | 4 | 0.44898 | 0.336735 | 0.142857 | 0.153061 | 0.428571 | 0.428571 | 0.428571 | 0.428571 | 0.428571 | 0.428571 | 0 | 0.181102 | 0.23494 | 332 | 17 | 75 | 19.529412 | 0.590551 | 0.123494 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.125 | 0.125 | 0.625 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
69e694ffa16986e83e90c22303ef591d104b689e | 52 | py | Python | caluma/extensions/permissions.py | czosel/caluma | 4a3e81b2000961ab934bfc1c6840ec00f0ba2c19 | [
"MIT"
] | null | null | null | caluma/extensions/permissions.py | czosel/caluma | 4a3e81b2000961ab934bfc1c6840ec00f0ba2c19 | [
"MIT"
] | 1 | 2020-07-11T01:07:44.000Z | 2020-07-11T01:07:44.000Z | caluma/extensions/permissions.py | czosel/caluma | 4a3e81b2000961ab934bfc1c6840ec00f0ba2c19 | [
"MIT"
] | null | null | null | # To be overwritten for permission extensions point
| 26 | 51 | 0.826923 | 7 | 52 | 6.142857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 52 | 1 | 52 | 52 | 0.977273 | 0.942308 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
69ead2c83cca25ec2d4df29e983c0bbf117d4093 | 197 | py | Python | src/apps/domains/hello_world/views.py | antiline/bootstrap-django | 63fe07fbecc7634aec5dab1ddfd0cc10a7a8543e | [
"MIT"
] | null | null | null | src/apps/domains/hello_world/views.py | antiline/bootstrap-django | 63fe07fbecc7634aec5dab1ddfd0cc10a7a8543e | [
"MIT"
] | 12 | 2018-12-02T16:19:45.000Z | 2021-06-10T17:52:26.000Z | src/apps/domains/hello_world/views.py | antiline/bootstrap-django | 63fe07fbecc7634aec5dab1ddfd0cc10a7a8543e | [
"MIT"
] | null | null | null | from django.shortcuts import render
from django.views import View
class HelloWorldView(View):
@staticmethod
def get(request):
return render(request, 'hello_world/index.html', {})
| 21.888889 | 60 | 0.725888 | 24 | 197 | 5.916667 | 0.75 | 0.140845 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177665 | 197 | 8 | 61 | 24.625 | 0.876543 | 0 | 0 | 0 | 0 | 0 | 0.111675 | 0.111675 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.166667 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 4 |
69f40b4d71d63aa21756a9ada2b5efd1836e35ab | 460 | py | Python | ws.py | pombredanne/hg.mozilla.org-users-gerv_mozilla.org-relic | cc13a0f44c2bca1cfa7bf10a8bea90beff529ca0 | [
"MIT"
] | null | null | null | ws.py | pombredanne/hg.mozilla.org-users-gerv_mozilla.org-relic | cc13a0f44c2bca1cfa7bf10a8bea90beff529ca0 | [
"MIT"
] | null | null | null | ws.py | pombredanne/hg.mozilla.org-users-gerv_mozilla.org-relic | cc13a0f44c2bca1cfa7bf10a8bea90beff529ca0 | [
"MIT"
] | null | null | null | ###############################################################################
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#########################################... | 41.818182 | 79 | 0.45 | 53 | 460 | 3.90566 | 0.792453 | 0.048309 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01 | 0.130435 | 460 | 10 | 80 | 46 | 0.5075 | 0.46087 | 0 | 0 | 0 | 0 | 0.047059 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
69f887bad4d7b87519a7e0c51737ead31fcff8d6 | 167 | py | Python | dash_archer/_imports_.py | iqqmuT/dash-archer | c9bff305975df2306f73967156b568e14b32f716 | [
"MIT"
] | null | null | null | dash_archer/_imports_.py | iqqmuT/dash-archer | c9bff305975df2306f73967156b568e14b32f716 | [
"MIT"
] | 6 | 2020-07-07T20:49:14.000Z | 2022-02-13T01:58:54.000Z | dash_archer/_imports_.py | iqqmuT/dash-archer | c9bff305975df2306f73967156b568e14b32f716 | [
"MIT"
] | null | null | null | from .DashArcherContainer import DashArcherContainer
from .DashArcherElement import DashArcherElement
__all__ = [
"DashArcherContainer",
"DashArcherElement"
] | 23.857143 | 52 | 0.808383 | 11 | 167 | 11.909091 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131737 | 167 | 7 | 53 | 23.857143 | 0.903448 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
385e987605f7f124c16fbee8e0758a6395b5cbef | 6,648 | py | Python | knights-ai/pawn.py | DavidSolomon22/knights-ai | f1edeeadac1f2d025e005dc204fd7bcf3889b0a7 | [
"MIT"
] | null | null | null | knights-ai/pawn.py | DavidSolomon22/knights-ai | f1edeeadac1f2d025e005dc204fd7bcf3889b0a7 | [
"MIT"
] | null | null | null | knights-ai/pawn.py | DavidSolomon22/knights-ai | f1edeeadac1f2d025e005dc204fd7bcf3889b0a7 | [
"MIT"
] | 1 | 2021-04-04T11:50:54.000Z | 2021-04-04T11:50:54.000Z | import pygame
class Pawn(pygame.sprite.Sprite):
def __init__(self, image):
super().__init__()
if image == "white":
self.defaultPawnImage = pygame.image.load('resources/white_pawn.png')
self.chosenPawnImage = pygame.image.load('resources/chosen_pawn.png')
self.c... | 48.173913 | 118 | 0.543923 | 671 | 6,648 | 5.117735 | 0.110283 | 0.048923 | 0.090856 | 0.048923 | 0.806057 | 0.755387 | 0.709959 | 0.67385 | 0.665114 | 0.644729 | 0 | 0.001702 | 0.381318 | 6,648 | 137 | 119 | 48.525547 | 0.833212 | 0 | 0 | 0.644628 | 0 | 0 | 0.015493 | 0.014741 | 0 | 0 | 0 | 0 | 0 | 1 | 0.082645 | false | 0 | 0.008264 | 0.016529 | 0.330579 | 0.099174 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
3871e4e16a49ebefe3b4f5f2ec6370321639b115 | 109 | py | Python | tests/data/validate/whoops_forgot_this.py | balihoo/blambda | 305e55a6c02ba99d2d6fa2086202442cfb4c1108 | [
"MIT"
] | null | null | null | tests/data/validate/whoops_forgot_this.py | balihoo/blambda | 305e55a6c02ba99d2d6fa2086202442cfb4c1108 | [
"MIT"
] | 2 | 2020-03-23T17:33:12.000Z | 2021-06-29T10:32:35.000Z | tests/data/validate/whoops_forgot_this.py | balihoo/blambda | 305e55a6c02ba99d2d6fa2086202442cfb4c1108 | [
"MIT"
] | 2 | 2017-10-03T21:40:35.000Z | 2017-10-25T17:02:31.000Z | # File used for unit tests
# 'blambda validate' should indicate that this file was missing from the manifest
| 36.333333 | 81 | 0.788991 | 17 | 109 | 5.058824 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174312 | 109 | 2 | 82 | 54.5 | 0.955556 | 0.954128 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
388175c6d585abc51eca36a5e416ed37094a5087 | 218 | py | Python | settings.py | GoogleCloudPlatform/appengine-guestbook-python-cloudsql | c8dcc70f75bd6dbc37c779a8f5441fcd02bec859 | [
"Apache-2.0"
] | 7 | 2016-04-20T02:17:58.000Z | 2021-10-09T18:44:04.000Z | settings.py | GoogleCloudPlatform/appengine-guestbook-python-cloudsql | c8dcc70f75bd6dbc37c779a8f5441fcd02bec859 | [
"Apache-2.0"
] | null | null | null | settings.py | GoogleCloudPlatform/appengine-guestbook-python-cloudsql | c8dcc70f75bd6dbc37c779a8f5441fcd02bec859 | [
"Apache-2.0"
] | 8 | 2015-03-19T22:00:39.000Z | 2021-10-09T18:43:55.000Z |
"""Setting file for the Cloud SQL guestbook"""
CLOUDSQL_INSTANCE = 'ReplaceWithYourInstanceName'
DATABASE_NAME = 'guestbook'
USER_NAME = 'ReplaceWithYourDatabaseUserName'
PASSWORD = 'ReplaceWithYourDatabasePassword'
| 27.25 | 49 | 0.821101 | 18 | 218 | 9.777778 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09633 | 218 | 7 | 50 | 31.142857 | 0.893401 | 0.183486 | 0 | 0 | 0 | 0 | 0.573099 | 0.520468 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.25 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
388447fa906ae6d27118b756ccd5dea8a9071ecd | 8,508 | py | Python | beward/__init__.py | Limych/py-beward | b05c1748a92ba2bd32409e10a62c4799f230dd70 | [
"MIT"
] | 4 | 2019-07-27T23:21:58.000Z | 2021-03-06T19:21:42.000Z | beward/__init__.py | Limych/py-beward | b05c1748a92ba2bd32409e10a62c4799f230dd70 | [
"MIT"
] | 63 | 2019-09-13T11:36:35.000Z | 2022-03-29T08:09:06.000Z | beward/__init__.py | Limych/py-beward | b05c1748a92ba2bd32409e10a62c4799f230dd70 | [
"MIT"
] | 2 | 2020-05-16T09:48:51.000Z | 2022-02-17T21:47:35.000Z | # Copyright (c) 2019-2021, Andrey "Limych" Khrolenok <andrey@khrolenok.ru>
# Creative Commons BY-NC-SA 4.0 International Public License
# (see LICENSE.md or https://creativecommons.org/licenses/by-nc-sa/4.0/)
"""Python API for Beward Cameras and Doorbells."""
import logging
import struct
from collections import nam... | 42.328358 | 88 | 0.513752 | 1,114 | 8,508 | 3.830341 | 0.233393 | 0.589173 | 0.839466 | 1.079916 | 0.384111 | 0.344739 | 0.323647 | 0.318725 | 0.318725 | 0.318725 | 0 | 0.211542 | 0.336037 | 8,508 | 200 | 89 | 42.54 | 0.543813 | 0.399624 | 0 | 0.092593 | 0 | 0.018519 | 0.08837 | 0.022342 | 0 | 0 | 0 | 0 | 0 | 1 | 0.027778 | false | 0.037037 | 0.083333 | 0.009259 | 0.148148 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
389084961999b460bc9c9bc34c6ebbb9bcf77387 | 50 | py | Python | tests/__init__.py | make-all/metlink-nz | 175582c911b1cc0407b7ce3220ee112d437458c2 | [
"Apache-2.0"
] | 3 | 2021-06-15T18:32:34.000Z | 2022-01-10T07:03:45.000Z | tests/__init__.py | make-all/metlink-nz | 175582c911b1cc0407b7ce3220ee112d437458c2 | [
"Apache-2.0"
] | 2 | 2021-06-18T23:14:16.000Z | 2021-06-19T20:18:52.000Z | tests/__init__.py | make-all/metlink-nz | 175582c911b1cc0407b7ce3220ee112d437458c2 | [
"Apache-2.0"
] | 2 | 2021-11-23T06:17:28.000Z | 2022-02-18T22:56:47.000Z | """Tests for the metlink-nz custom component."""
| 25 | 49 | 0.7 | 7 | 50 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14 | 50 | 1 | 50 | 50 | 0.813953 | 0.84 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
38c6344df3a9af0836fd999ca106eff8c2b91a31 | 59 | py | Python | lang/Python/character-codes-1.py | ethansaxenian/RosettaDecode | 8ea1a42a5f792280b50193ad47545d14ee371fb7 | [
"MIT"
] | null | null | null | lang/Python/character-codes-1.py | ethansaxenian/RosettaDecode | 8ea1a42a5f792280b50193ad47545d14ee371fb7 | [
"MIT"
] | null | null | null | lang/Python/character-codes-1.py | ethansaxenian/RosettaDecode | 8ea1a42a5f792280b50193ad47545d14ee371fb7 | [
"MIT"
] | null | null | null | print(ord('a')) # prints "97"
print(chr(97)) # prints "a"
| 19.666667 | 29 | 0.576271 | 10 | 59 | 3.4 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 0.152542 | 59 | 2 | 30 | 29.5 | 0.6 | 0.372881 | 0 | 0 | 0 | 0 | 0.029412 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
2a03638b7e15a673b4745bc1287502cb93727148 | 195 | py | Python | Client/ThreadWorker.py | liran121211/PyChat | f2643b87b588a3f81230425dfd65c253019130ae | [
"PostgreSQL",
"Unlicense"
] | null | null | null | Client/ThreadWorker.py | liran121211/PyChat | f2643b87b588a3f81230425dfd65c253019130ae | [
"PostgreSQL",
"Unlicense"
] | null | null | null | Client/ThreadWorker.py | liran121211/PyChat | f2643b87b588a3f81230425dfd65c253019130ae | [
"PostgreSQL",
"Unlicense"
] | null | null | null | from PyQt5.QtCore import QThread, pyqtSignal
class ThreadWorker(QThread):
progress = pyqtSignal(int)
finished = pyqtSignal(int)
def run(self):
while True:
pass
| 17.727273 | 44 | 0.651282 | 21 | 195 | 6.047619 | 0.809524 | 0.204724 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007042 | 0.271795 | 195 | 10 | 45 | 19.5 | 0.887324 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0.142857 | 0.142857 | 0 | 0.714286 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
2a6313d04653977780926cdfeaf5c52e61f64347 | 121 | py | Python | scripts/RecreateSecrets.sample.py | agrc/recreate-web | f98e050e1d23d9863e1d437f173370ad2ffbc11c | [
"MIT"
] | 2 | 2018-08-13T09:42:02.000Z | 2021-11-09T20:35:32.000Z | scripts/RecreateSecrets.sample.py | agrc/recreate-web | f98e050e1d23d9863e1d437f173370ad2ffbc11c | [
"MIT"
] | 34 | 2017-10-23T20:06:04.000Z | 2018-03-12T19:15:19.000Z | scripts/RecreateSecrets.sample.py | agrc/recreate-web | f98e050e1d23d9863e1d437f173370ad2ffbc11c | [
"MIT"
] | null | null | null | TEST_SERVER_IP = '<ip address>'
PROD_SERVER_IP = '<ip address of web server>'
KDRIVE = '<path to ParksAndMonuments.gdb>'
| 30.25 | 45 | 0.735537 | 18 | 121 | 4.722222 | 0.666667 | 0.188235 | 0.235294 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132231 | 121 | 3 | 46 | 40.333333 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0.570248 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
2a8119e55ee88975e8bf8a5a7f25abd89d09926c | 786 | py | Python | resources/sublimetext/flower/commands/context.py | advancedwebdeveloper/flow9 | 26e19216495bcb948d00aaea6b5c190e30fc6e3f | [
"MIT"
] | 583 | 2019-04-26T11:52:35.000Z | 2022-02-22T17:53:19.000Z | resources/sublimetext/flower/commands/context.py | advancedwebdeveloper/flow9 | 26e19216495bcb948d00aaea6b5c190e30fc6e3f | [
"MIT"
] | 279 | 2019-04-26T11:53:17.000Z | 2022-02-21T13:35:08.000Z | resources/sublimetext/flower/commands/context.py | advancedwebdeveloper/flow9 | 26e19216495bcb948d00aaea6b5c190e30fc6e3f | [
"MIT"
] | 44 | 2019-04-29T18:09:19.000Z | 2021-12-23T16:06:05.000Z | import sublime
import sublime_plugin
from .utils import rootSplit, open_file, findConfig
from ..pathutils import getName, isFlowFile
class FlowerCopyImport(sublime_plugin.TextCommand):
def run(self, edit):
_, name = rootSplit(self.view.file_name())
main = getName(name)
if main:
... | 27.103448 | 72 | 0.694656 | 94 | 786 | 5.648936 | 0.393617 | 0.060264 | 0.090395 | 0.120527 | 0.323917 | 0.323917 | 0.323917 | 0.180791 | 0.180791 | 0.180791 | 0 | 0 | 0.203562 | 786 | 28 | 73 | 28.071429 | 0.848243 | 0 | 0 | 0.210526 | 0 | 0 | 0.012723 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.210526 | false | 0 | 0.315789 | 0.105263 | 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 | 1 | 1 | 1 | 0 | 0 | 4 |
2a878f7e120ace28643ce9f32de705f31ad40343 | 102 | py | Python | v3/Libraries/os/path/realpath/current script location.py | TheShellLand/python | a35e9b32bec3a3ff03d6f0f4c2c2cc891180e516 | [
"MIT"
] | null | null | null | v3/Libraries/os/path/realpath/current script location.py | TheShellLand/python | a35e9b32bec3a3ff03d6f0f4c2c2cc891180e516 | [
"MIT"
] | 1 | 2021-06-01T22:50:19.000Z | 2021-06-01T22:50:19.000Z | v3/Libraries/os/path/realpath/current script location.py | TheShellLand/python | a35e9b32bec3a3ff03d6f0f4c2c2cc891180e516 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf8 -*-
import os
os.path.split(os.path.realpath(__file__))[0]
| 14.571429 | 44 | 0.656863 | 16 | 102 | 3.9375 | 0.8125 | 0.190476 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022222 | 0.117647 | 102 | 6 | 45 | 17 | 0.677778 | 0.401961 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
2a8b3d5352b5cfa83ef4adbe246a6da7a44cd6c1 | 1,281 | py | Python | sqlmap_client/__init__.py | ddoroshevsky/sqlmap_python_client | ba105fbf67a9efcf631bc4883e004ccedf724704 | [
"MIT"
] | null | null | null | sqlmap_client/__init__.py | ddoroshevsky/sqlmap_python_client | ba105fbf67a9efcf631bc4883e004ccedf724704 | [
"MIT"
] | null | null | null | sqlmap_client/__init__.py | ddoroshevsky/sqlmap_python_client | ba105fbf67a9efcf631bc4883e004ccedf724704 | [
"MIT"
] | null | null | null | # coding: utf-8
# flake8: noqa
"""
SQLMap Server API
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: 0.0.1
Generated by: https://openapi-generator.tech
"""
from __future__ import absolute_... | 32.846154 | 124 | 0.84153 | 169 | 1,281 | 6.16568 | 0.372781 | 0.143954 | 0.230326 | 0.147793 | 0.370441 | 0.057582 | 0 | 0 | 0 | 0 | 0 | 0.009649 | 0.11007 | 1,281 | 38 | 125 | 33.710526 | 0.904386 | 0.259953 | 0 | 0 | 1 | 0 | 0.005441 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.941176 | 0 | 0.941176 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
2a945b634d87a1c705e1417014bd3e5f9721875b | 182 | py | Python | data/getSinaData.py | jettom/JtSpider | 7e2cb32415ca5d439b117c0277a7f7b2b27fa0bf | [
"Apache-2.0"
] | 1 | 2019-01-25T12:54:24.000Z | 2019-01-25T12:54:24.000Z | data/getSinaData.py | jettom/JtSpider | 7e2cb32415ca5d439b117c0277a7f7b2b27fa0bf | [
"Apache-2.0"
] | null | null | null | data/getSinaData.py | jettom/JtSpider | 7e2cb32415ca5d439b117c0277a7f7b2b27fa0bf | [
"Apache-2.0"
] | 1 | 2020-05-16T01:18:25.000Z | 2020-05-16T01:18:25.000Z | # URLhttp://vip.stock.finance.sina.com.cn/corp/go.php/vMS_MarketHistory/stockid/000001/type/S.phtml?year=2015&jidu=3
# table id:FundHoldSharesTable
# https://xueqiu.com/S/SH000001/
| 36.4 | 116 | 0.78022 | 29 | 182 | 4.862069 | 0.931034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097701 | 0.043956 | 182 | 4 | 117 | 45.5 | 0.712644 | 0.956044 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
aa49ee52455a56222fa71e12de4a8d871dd7fc59 | 91 | py | Python | Day2/Chap3/Ex2.py | ssahn0806/kw-SW_Preparatory | 1ebed10bfc664d16d2d71440547f61ab3577ab64 | [
"MIT"
] | null | null | null | Day2/Chap3/Ex2.py | ssahn0806/kw-SW_Preparatory | 1ebed10bfc664d16d2d71440547f61ab3577ab64 | [
"MIT"
] | null | null | null | Day2/Chap3/Ex2.py | ssahn0806/kw-SW_Preparatory | 1ebed10bfc664d16d2d71440547f61ab3577ab64 | [
"MIT"
] | null | null | null | r = int(input('r: '))
h = int(input('h: '))
PI = 3.141592
print(f'원기둥의 부피:\t{PI*(r**2)*h}') | 22.75 | 33 | 0.516484 | 20 | 91 | 2.35 | 0.65 | 0.340426 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101266 | 0.131868 | 91 | 4 | 33 | 22.75 | 0.493671 | 0 | 0 | 0 | 0 | 0 | 0.315217 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.25 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
aa6c4376829a64819d30343336e2ea857fe171f6 | 58 | py | Python | forseti/__init__.py | Bram-Hub/Forseti | 6431f710f9b4b9d9c79bf14f3e7d66e2ed57bd34 | [
"MIT"
] | 4 | 2018-08-14T23:08:14.000Z | 2020-09-08T19:04:03.000Z | forseti/__init__.py | Bram-Hub/Forseti | 6431f710f9b4b9d9c79bf14f3e7d66e2ed57bd34 | [
"MIT"
] | 7 | 2015-04-23T21:28:20.000Z | 2016-02-26T16:10:48.000Z | forseti/__init__.py | Bram-Hub/Forseti | 6431f710f9b4b9d9c79bf14f3e7d66e2ed57bd34 | [
"MIT"
] | 3 | 2019-01-16T21:04:36.000Z | 2021-02-16T09:43:48.000Z | """
A Formal Logic Framework for various applications
"""
| 14.5 | 49 | 0.741379 | 7 | 58 | 6.142857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155172 | 58 | 3 | 50 | 19.333333 | 0.877551 | 0.844828 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
aa772a5043e973f8faf85324a14c21145c926963 | 280 | py | Python | task4/generate/generagefeature/readfeaturebin.py | dataminer996/DSTC10_Track3_QS_Goal_Diggers | 24fe45c9a7098cf21c3278758fa8d9d073644a36 | [
"MIT"
] | 3 | 2021-12-30T08:21:10.000Z | 2022-01-20T07:46:07.000Z | task4/generate/generagefeature/readfeaturebin.py | dataminer996/DSTC10_Track3_QS_Goal_Diggers | 24fe45c9a7098cf21c3278758fa8d9d073644a36 | [
"MIT"
] | null | null | null | task4/generate/generagefeature/readfeaturebin.py | dataminer996/DSTC10_Track3_QS_Goal_Diggers | 24fe45c9a7098cf21c3278758fa8d9d073644a36 | [
"MIT"
] | 1 | 2022-01-19T03:13:04.000Z | 2022-01-19T03:13:04.000Z | import utils_f
import pickle
import random
import sys
import numpy as np
import os
filename = sys.argv[1]
allimagefea = []
with open(filename,'rb') as f:
features = pickle.load(f)
print(features[0])
print(features[0][0])
#print(features[0][1].shape)
| 15.555556 | 33 | 0.660714 | 42 | 280 | 4.380952 | 0.52381 | 0.211957 | 0.228261 | 0.163043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027273 | 0.214286 | 280 | 17 | 34 | 16.470588 | 0.809091 | 0.096429 | 0 | 0 | 0 | 0 | 0.007937 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0.166667 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
aa782f1211f5c9cf191357493dfc3f2dcac0f327 | 149 | py | Python | tests/attributes_test.py | ghost2718/torchlayers | 2f0f44ab64115c0a14ac8a27cf0159c2119d3f8f | [
"MIT"
] | 1 | 2020-04-15T02:17:51.000Z | 2020-04-15T02:17:51.000Z | tests/attributes_test.py | devanshuDesai/torchlayers | 585e250c2a03d330841551f3612cfe9588985d13 | [
"MIT"
] | null | null | null | tests/attributes_test.py | devanshuDesai/torchlayers | 585e250c2a03d330841551f3612cfe9588985d13 | [
"MIT"
] | null | null | null | import torch
import torchlayers
def test_module():
layer = torchlayers.Conv2d(64, kernel_size=3)
assert layer.__module__ == "torchlayers"
| 16.555556 | 49 | 0.738255 | 18 | 149 | 5.777778 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032258 | 0.167785 | 149 | 8 | 50 | 18.625 | 0.806452 | 0 | 0 | 0 | 0 | 0 | 0.073826 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | false | 0 | 0.4 | 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 | 1 | 0 | 1 | 0 | 0 | 4 |
aaa5a975e0ce61e08a29d23741c0cf09188dad6a | 204 | py | Python | data_sets/synthetic_review_prediction/article_0/__init__.py | Octavian-ai/synthetic-graph-data | b327cfb06d420d216a5377f2ce953355089e0e6b | [
"MIT"
] | 16 | 2018-09-06T09:27:03.000Z | 2021-05-28T01:35:44.000Z | data_sets/synthetic_review_prediction/article_0/__init__.py | Octavian-ai/generate-data | b327cfb06d420d216a5377f2ce953355089e0e6b | [
"MIT"
] | 1 | 2021-02-10T00:02:43.000Z | 2021-02-10T00:02:43.000Z | data_sets/synthetic_review_prediction/article_0/__init__.py | Octavian-ai/generate-data | b327cfb06d420d216a5377f2ce953355089e0e6b | [
"MIT"
] | 7 | 2018-07-23T08:39:54.000Z | 2021-02-08T16:24:54.000Z | from .configure import DATASET_NAME, create_data_set_properties
from .generate import run as _run
def run(client):
return _run(client, create_data_set_properties())
runner = {
DATASET_NAME: run
}
| 18.545455 | 63 | 0.779412 | 29 | 204 | 5.137931 | 0.551724 | 0.147651 | 0.174497 | 0.308725 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 204 | 10 | 64 | 20.4 | 0.856322 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.285714 | 0.142857 | 0.571429 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
aaaace6c8c6cf3093343c34d40dd8dd7f2130d14 | 88 | py | Python | tests/__init__.py | ananthu2050/investpy | 2e2890de8dee1ee6bdcca3909a406d92dffcbfac | [
"MIT"
] | 1 | 2021-03-10T14:57:41.000Z | 2021-03-10T14:57:41.000Z | tests/__init__.py | royopa/investpy | 6c527cc8501e5326ab2d4d102364fea2656b9b6d | [
"MIT"
] | null | null | null | tests/__init__.py | royopa/investpy | 6c527cc8501e5326ab2d4d102364fea2656b9b6d | [
"MIT"
] | 1 | 2020-10-30T22:47:13.000Z | 2020-10-30T22:47:13.000Z | # Copyright 2018-2020 Alvaro Bartolome, alvarobartt @ GitHub
# See LICENSE for details.
| 29.333333 | 60 | 0.784091 | 11 | 88 | 6.272727 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106667 | 0.147727 | 88 | 2 | 61 | 44 | 0.813333 | 0.943182 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
aadba144dbdc7a8631561f373a069b9fc9f9205f | 469 | py | Python | hiquant/core/__init__.py | floatinghotpot/hiquant | a4a68c3ff88c35f1076e884861d365f7c5d6fae7 | [
"Apache-2.0"
] | 7 | 2021-06-16T14:21:49.000Z | 2021-09-30T14:34:57.000Z | hiquant/core/__init__.py | webclinic017/hiquant | 3f5de4f61b6dded2f082dc5b9adf086de485bb7c | [
"Apache-2.0"
] | null | null | null | hiquant/core/__init__.py | webclinic017/hiquant | 3f5de4f61b6dded2f082dc5b9adf086de485bb7c | [
"Apache-2.0"
] | 2 | 2021-09-24T16:13:04.000Z | 2021-11-29T01:10:50.000Z | # -*- coding: utf-8; py-indent-offset:4 -*-
from .data_cache import *
from .stock_market import *
from .indicator_signal import *
from .order_cost import *
from .stock import *
from .portfolio import *
from .strategy import *
from .agent_simulated import *
from .agent_human import *
from .fund import *
from .trader im... | 23.45 | 43 | 0.739872 | 67 | 469 | 5.044776 | 0.462687 | 0.473373 | 0.12426 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005076 | 0.159915 | 469 | 19 | 44 | 24.684211 | 0.852792 | 0.08742 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
2aa97a03e9833bf23456659fbcc5fd411cdee460 | 739 | py | Python | 001-100/40/40.py | junwei-wang/project-euler | abd728037e0f73f0f52f2ae4d40d468b307f34de | [
"MIT"
] | null | null | null | 001-100/40/40.py | junwei-wang/project-euler | abd728037e0f73f0f52f2ae4d40d468b307f34de | [
"MIT"
] | null | null | null | 001-100/40/40.py | junwei-wang/project-euler | abd728037e0f73f0f52f2ae4d40d468b307f34de | [
"MIT"
] | null | null | null | #!/usr/bin/env python
d1 = 1
d10 = 1
def get_d_n(n):
if n < 10:
return n
if n < 190: # 9 + 2 * 90 + 1:
t = n - 10
s = 10 + (t>>1)
return str(s)[t&1]
if n < 2890: # 9 + 2*90 + 3*900 + 1
t = n - 190
s = 100 + t / 3
return str(s)[t%3]
if n < 38890:... | 21.735294 | 48 | 0.423545 | 135 | 739 | 2.288889 | 0.340741 | 0.058252 | 0.161812 | 0.177994 | 0.05178 | 0 | 0 | 0 | 0 | 0 | 0 | 0.334101 | 0.41272 | 739 | 33 | 49 | 22.393939 | 0.37788 | 0.170501 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.034483 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
2ac18dc261b7decfb3853a7c1de74519f7d35d15 | 218 | py | Python | assisted_storyboarding/asgi.py | AkashPushkar/assisted-storyboarding | bf4d389ec408e4145b3c725a48d8395f79ac2f2c | [
"MIT"
] | null | null | null | assisted_storyboarding/asgi.py | AkashPushkar/assisted-storyboarding | bf4d389ec408e4145b3c725a48d8395f79ac2f2c | [
"MIT"
] | null | null | null | assisted_storyboarding/asgi.py | AkashPushkar/assisted-storyboarding | bf4d389ec408e4145b3c725a48d8395f79ac2f2c | [
"MIT"
] | 1 | 2021-03-01T03:58:48.000Z | 2021-03-01T03:58:48.000Z | import os
import django
from channels.routing import get_default_application
os.environ.setDefault("DJANGO_SETTINGS_MODULE", "assisted_storyboarding.settings")
django.setup()
application = get_default_application()
| 24.222222 | 82 | 0.844037 | 26 | 218 | 6.807692 | 0.615385 | 0.112994 | 0.237288 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077982 | 218 | 8 | 83 | 27.25 | 0.880597 | 0 | 0 | 0 | 0 | 0 | 0.243119 | 0.243119 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
2ac68fce19598e5567e887179445ab5f37fe4edc | 515 | py | Python | problem_16/test_power_digit_sum.py | plilja/project-euler | 646d1989cf15e903ef7e3c6e487284847d522ec9 | [
"Apache-2.0"
] | null | null | null | problem_16/test_power_digit_sum.py | plilja/project-euler | 646d1989cf15e903ef7e3c6e487284847d522ec9 | [
"Apache-2.0"
] | null | null | null | problem_16/test_power_digit_sum.py | plilja/project-euler | 646d1989cf15e903ef7e3c6e487284847d522ec9 | [
"Apache-2.0"
] | null | null | null | import unittest
from power_digit_sum import *
class TestPowerDigitSum(unittest.TestCase):
def test_power_digit_sum(self):
self.assertEqual(power_digit_sum(0), 1)
self.assertEqual(power_digit_sum(1), 2)
self.assertEqual(power_digit_sum(2), 4)
self.assertEqual(power_digit_sum(4), 7)... | 25.75 | 53 | 0.708738 | 70 | 515 | 4.814286 | 0.4 | 0.237389 | 0.308605 | 0.445104 | 0.522255 | 0.189911 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 0.184466 | 515 | 19 | 54 | 27.105263 | 0.754762 | 0 | 0 | 0 | 0 | 0 | 0.015534 | 0 | 0 | 0 | 0 | 0 | 0.461538 | 1 | 0.153846 | false | 0 | 0.153846 | 0 | 0.384615 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
2ace3201e80bdb7cf74a4a09ebd5f9a544c6fcf3 | 57,198 | py | Python | modules/cctbx_project/mmtbx/monomer_library/tst_paral_geo.py | jorgediazjr/dials-dev20191018 | 77d66c719b5746f37af51ad593e2941ed6fbba17 | [
"BSD-3-Clause"
] | null | null | null | modules/cctbx_project/mmtbx/monomer_library/tst_paral_geo.py | jorgediazjr/dials-dev20191018 | 77d66c719b5746f37af51ad593e2941ed6fbba17 | [
"BSD-3-Clause"
] | null | null | null | modules/cctbx_project/mmtbx/monomer_library/tst_paral_geo.py | jorgediazjr/dials-dev20191018 | 77d66c719b5746f37af51ad593e2941ed6fbba17 | [
"BSD-3-Clause"
] | 1 | 2020-02-04T15:39:06.000Z | 2020-02-04T15:39:06.000Z | from __future__ import absolute_import, division, print_function
from libtbx import easy_run
small_pdb = '''
CRYST1 67.764 73.374 89.188 90.00 90.00 90.00 P 21 21 21
SCALE1 0.014757 0.000000 0.000000 0.00000
SCALE2 0.000000 0.013629 0.000000 0.00000
SCALE3 0.000000 0.000000 ... | 71.94717 | 78 | 0.477622 | 10,824 | 57,198 | 2.5182 | 0.189209 | 0.03412 | 0.018711 | 0.005393 | 0.582786 | 0.426973 | 0.408115 | 0.404263 | 0.398577 | 0.395641 | 0 | 0.594885 | 0.457271 | 57,198 | 794 | 79 | 72.037783 | 0.283156 | 0 | 0 | 0.048346 | 0 | 0.445293 | 0.979125 | 0.001434 | 0 | 0 | 0 | 0 | 0.002545 | 1 | 0.003817 | false | 0 | 0.002545 | 0 | 0.006361 | 0.007634 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
2ae1387524abaf472b9d846edab85334e0e628aa | 91 | py | Python | cookbook/apps.py | Parametricall/portfolio_backend | ad00ee17536a49270137c69a53c7fa6869108094 | [
"MIT"
] | null | null | null | cookbook/apps.py | Parametricall/portfolio_backend | ad00ee17536a49270137c69a53c7fa6869108094 | [
"MIT"
] | null | null | null | cookbook/apps.py | Parametricall/portfolio_backend | ad00ee17536a49270137c69a53c7fa6869108094 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class CookbookConfig(AppConfig):
name = "cookbook"
| 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 | 1 | 0 | 0 | 4 |
6309a4c1d2934a1ef5cdf9e19e62b3fd8654ab73 | 134 | py | Python | tests/run_test.py | insilichem/pgaudi | 1a502864024ef5c2a07473f2b02680561ba507bf | [
"Apache-2.0"
] | null | null | null | tests/run_test.py | insilichem/pgaudi | 1a502864024ef5c2a07473f2b02680561ba507bf | [
"Apache-2.0"
] | 4 | 2019-04-23T07:32:20.000Z | 2019-04-29T07:26:12.000Z | tests/run_test.py | insilichem/pgaudi | 1a502864024ef5c2a07473f2b02680561ba507bf | [
"Apache-2.0"
] | 1 | 2019-04-10T12:10:05.000Z | 2019-04-10T12:10:05.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys
import pytest
if __name__ == "__main__":
sys.exit(pytest.main(["-s"]))
| 14.888889 | 33 | 0.61194 | 19 | 134 | 3.894737 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008929 | 0.164179 | 134 | 8 | 34 | 16.75 | 0.651786 | 0.313433 | 0 | 0 | 0 | 0 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
2d61e2ec67c759379cac2e8ad8854b7912080179 | 797 | py | Python | cadastro/models.py | jefersonla/trabalho-labweb-python | 5d7451c91c26170a87a81c21726ea868e9c5a71c | [
"MIT"
] | null | null | null | cadastro/models.py | jefersonla/trabalho-labweb-python | 5d7451c91c26170a87a81c21726ea868e9c5a71c | [
"MIT"
] | null | null | null | cadastro/models.py | jefersonla/trabalho-labweb-python | 5d7451c91c26170a87a81c21726ea868e9c5a71c | [
"MIT"
] | null | null | null | from django.db import models
from django.forms import ModelForm
# Create your models here.
class Bicicleta(models.Model):
fabricante = models.CharField(max_length=255)
modelo = models.CharField(max_length=255)
cor = models.CharField(max_length=255)
marcha = models.CharField(max_length=255)
marca_c... | 27.482759 | 51 | 0.628607 | 84 | 797 | 5.845238 | 0.345238 | 0.244399 | 0.293279 | 0.391039 | 0.439919 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041379 | 0.272271 | 797 | 29 | 52 | 27.482759 | 0.805172 | 0.030113 | 0 | 0 | 0 | 0 | 0.079016 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.083333 | 0 | 0.541667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
2d7a6af8602078f18e4770fdb3f26102a1a37da3 | 253 | py | Python | lino_book/projects/lydia/tests/dumps/18.12.0/notes_eventtype.py | lino-framework/lino_book | 4eab916832cd8f48ff1b9fc8c2789f0b437da0f8 | [
"BSD-2-Clause"
] | 3 | 2016-08-25T05:58:09.000Z | 2019-12-05T11:13:45.000Z | lino_book/projects/lydia/tests/dumps/18.12.0/notes_eventtype.py | lino-framework/lino_book | 4eab916832cd8f48ff1b9fc8c2789f0b437da0f8 | [
"BSD-2-Clause"
] | 18 | 2016-11-12T21:38:58.000Z | 2019-12-03T17:54:38.000Z | lino_book/projects/lydia/tests/dumps/18.12.0/notes_eventtype.py | lino-framework/lino_book | 4eab916832cd8f48ff1b9fc8c2789f0b437da0f8 | [
"BSD-2-Clause"
] | 9 | 2016-10-15T11:12:33.000Z | 2021-09-22T04:37:37.000Z | # -*- coding: UTF-8 -*-
logger.info("Loading 1 objects to table notes_eventtype...")
# fields: id, name, remark, body
loader.save(create_notes_eventtype(1,['System note', 'System note', 'System note'],u'',['', '', '']))
loader.flush_deferred_objects()
| 36.142857 | 101 | 0.675889 | 34 | 253 | 4.882353 | 0.735294 | 0.180723 | 0.192771 | 0.240964 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013274 | 0.106719 | 253 | 6 | 102 | 42.166667 | 0.721239 | 0.205534 | 0 | 0 | 0 | 0 | 0.393939 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
2d7b707d2d3dd620363d5ee85a0b31a238be64fa | 663 | py | Python | PLM/ui/models/__init__.py | vtta2008/pipelineTool | 2431d2fc987e3b31f2a6a63427fee456fa0765a0 | [
"Apache-2.0"
] | 7 | 2020-10-11T21:21:50.000Z | 2022-03-07T03:37:51.000Z | PLM/ui/models/__init__.py | vtta2008/pipelineTool | 2431d2fc987e3b31f2a6a63427fee456fa0765a0 | [
"Apache-2.0"
] | null | null | null | PLM/ui/models/__init__.py | vtta2008/pipelineTool | 2431d2fc987e3b31f2a6a63427fee456fa0765a0 | [
"Apache-2.0"
] | 3 | 2019-03-11T21:54:52.000Z | 2019-11-25T11:23:17.000Z | # -*- coding: utf-8 -*-
"""
Script Name: __init__.py.py
Author: Do Trinh/Jimmy - 3D artist.
Description:
"""
# -------------------------------------------------------------------------------------------------------------
from .ActionManager import ActionManager
from .AppModel import AppModel
f... | 31.571429 | 111 | 0.443439 | 52 | 663 | 5.596154 | 0.730769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036298 | 0.168929 | 663 | 21 | 112 | 31.571429 | 0.490018 | 0.609351 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
935058eca3ec4cd9427448bfdab7494f604744cf | 2,692 | py | Python | model/supplyrequest.py | beda-software/fhir-py-experements | 363cfb894fa6f971b9be19340cae1b0a3a4377d8 | [
"MIT"
] | null | null | null | model/supplyrequest.py | beda-software/fhir-py-experements | 363cfb894fa6f971b9be19340cae1b0a3a4377d8 | [
"MIT"
] | null | null | null | model/supplyrequest.py | beda-software/fhir-py-experements | 363cfb894fa6f971b9be19340cae1b0a3a4377d8 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Generated from FHIR 4.0.1-9346c8cc45 (http://hl7.org/fhir/StructureDefinition/SupplyRequest) on 2020-02-03.
# 2020, SMART Health IT.
import sys
from dataclasses import dataclass, field
from typing import ClassVar, Optional, List
from .backboneelement import BackboneE... | 42.0625 | 110 | 0.755572 | 305 | 2,692 | 6.603279 | 0.334426 | 0.053625 | 0.0715 | 0.107249 | 0.246773 | 0.246773 | 0.246773 | 0.209037 | 0.209037 | 0 | 0 | 0.010363 | 0.139673 | 2,692 | 64 | 111 | 42.0625 | 0.85924 | 0.158247 | 0 | 0.047619 | 1 | 0 | 0.041817 | 0.009892 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.309524 | 0 | 0.952381 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
935d67b73154dab10f3b638fbc699e5b3b6adefc | 41 | py | Python | kindling/templates/settings/celery_development.py | radiosilence/django-kindling | 85c4fa6abc678850a40790ec590635f2397de00b | [
"MIT"
] | null | null | null | kindling/templates/settings/celery_development.py | radiosilence/django-kindling | 85c4fa6abc678850a40790ec590635f2397de00b | [
"MIT"
] | 1 | 2020-09-25T06:58:55.000Z | 2020-09-28T06:50:23.000Z | kindling/templates/settings/celery_development.py | radiosilence/django-kindling | 85c4fa6abc678850a40790ec590635f2397de00b | [
"MIT"
] | null | null | null | from development import *
DEBUG = False
| 10.25 | 25 | 0.756098 | 5 | 41 | 6.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195122 | 41 | 3 | 26 | 13.666667 | 0.939394 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
9360b2a3266db9c22439f86daa4894252253da72 | 261 | py | Python | anime_downloader/extractors/fake_extractor.py | Alsira/anime-downloader | d82b4cfd5c7c6c358d0d8ffd36ce2d5c4a285595 | [
"Unlicense"
] | 1,077 | 2020-10-17T15:43:17.000Z | 2022-03-31T15:24:29.000Z | anime_downloader/extractors/fake_extractor.py | Alsira/anime-downloader | d82b4cfd5c7c6c358d0d8ffd36ce2d5c4a285595 | [
"Unlicense"
] | 509 | 2018-06-01T13:07:56.000Z | 2020-10-17T13:34:39.000Z | anime_downloader/extractors/fake_extractor.py | Alsira/anime-downloader | d82b4cfd5c7c6c358d0d8ffd36ce2d5c4a285595 | [
"Unlicense"
] | 255 | 2018-05-27T03:52:11.000Z | 2020-10-12T17:27:38.000Z | from anime_downloader.extractors.base_extractor import BaseExtractor
class AnimeVideo(BaseExtractor):
def _get_data(self):
return {
'stream_url': self.url,
'referer': self._referer if self._referer else self.url
}
| 26.1 | 68 | 0.666667 | 29 | 261 | 5.758621 | 0.689655 | 0.083832 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.252874 | 261 | 9 | 69 | 29 | 0.85641 | 0 | 0 | 0 | 0 | 0 | 0.065134 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.142857 | 0.142857 | 0.571429 | 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 | 1 | 1 | 0 | 0 | 4 |
9361e96e6b5e988a3c7e02e9eb5b370347edc1d3 | 1,551 | py | Python | astropy/tests/disable_internet.py | jbkalmbach/astropy | 88ae8c615533efd1e60de4aded204943f66f881c | [
"BSD-3-Clause"
] | 1 | 2022-03-02T17:07:20.000Z | 2022-03-02T17:07:20.000Z | astropy/tests/disable_internet.py | jbkalmbach/astropy | 88ae8c615533efd1e60de4aded204943f66f881c | [
"BSD-3-Clause"
] | 11 | 2017-12-18T16:27:29.000Z | 2018-08-29T14:54:22.000Z | astropy/tests/disable_internet.py | jbkalmbach/astropy | 88ae8c615533efd1e60de4aded204943f66f881c | [
"BSD-3-Clause"
] | 1 | 2018-08-02T09:33:21.000Z | 2018-08-02T09:33:21.000Z | # Licensed under a 3-clause BSD style license - see LICENSE.rst
"""
This is retained only for backwards compatibility. Affiliated packages
should no longer import ``disable_internet`` from ``astropy.tests``. It is
now available from ``pytest_remotedata``. However, this is not the
recommended mechanism for controlling a... | 45.617647 | 77 | 0.768536 | 218 | 1,551 | 5.422018 | 0.518349 | 0.050761 | 0.040609 | 0.027073 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002287 | 0.154094 | 1,551 | 33 | 78 | 47 | 0.898628 | 0.638943 | 0 | 0 | 0 | 0.090909 | 0.538182 | 0.070909 | 0 | 0 | 0 | 0.030303 | 0 | 1 | 0 | true | 0.090909 | 0.363636 | 0 | 0.363636 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 4 |
936408a06540d5d25477a371f86a922457ea10ad | 182 | py | Python | main/multiply-two-strings/multiply-two-strings.py | EliahKagan/old-practice-snapshot | 1b53897eac6902f8d867c8f154ce2a489abb8133 | [
"0BSD"
] | null | null | null | main/multiply-two-strings/multiply-two-strings.py | EliahKagan/old-practice-snapshot | 1b53897eac6902f8d867c8f154ce2a489abb8133 | [
"0BSD"
] | null | null | null | main/multiply-two-strings/multiply-two-strings.py | EliahKagan/old-practice-snapshot | 1b53897eac6902f8d867c8f154ce2a489abb8133 | [
"0BSD"
] | null | null | null | #Your task is to complete this function
# function should strictly return a string else answer wont be printed
def multiplyStrings(str1, str2):
return str(int(str1) * int(str2))
| 36.4 | 70 | 0.763736 | 28 | 182 | 4.964286 | 0.821429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026316 | 0.164835 | 182 | 4 | 71 | 45.5 | 0.888158 | 0.587912 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
fa72ccf6e1f01dbb7a991d724c35a726e899d486 | 1,621 | py | Python | torchlife/losses.py | sachinruk/torchlife2 | fc5217a9f48ff22f7c26126fa9a473f63c328bc0 | [
"Apache-2.0"
] | 10 | 2019-10-21T01:19:18.000Z | 2022-03-26T17:03:07.000Z | torchlife/losses.py | sachinruk/torchlife2 | fc5217a9f48ff22f7c26126fa9a473f63c328bc0 | [
"Apache-2.0"
] | 4 | 2020-11-30T04:53:30.000Z | 2022-02-26T06:18:42.000Z | torchlife/losses.py | sachinruk/torchlife2 | fc5217a9f48ff22f7c26126fa9a473f63c328bc0 | [
"Apache-2.0"
] | 1 | 2021-06-23T15:24:03.000Z | 2021-06-23T15:24:03.000Z | # AUTOGENERATED! DO NOT EDIT! File to edit: 95_Losses.ipynb (unless otherwise specified).
__all__ = ['Loss', 'LossType', 'AFTLoss', 'aft_loss', 'HazardLoss', 'hazard_loss']
# Cell
from abc import ABC, abstractmethod
from typing import Callable, Tuple
import torch
# Cell
class Loss(ABC):
@abstractmethod
def _... | 27.016667 | 100 | 0.669957 | 230 | 1,621 | 4.517391 | 0.243478 | 0.275265 | 0.138595 | 0.190568 | 0.407122 | 0.319538 | 0.173244 | 0 | 0 | 0 | 0 | 0.004655 | 0.204812 | 1,621 | 60 | 101 | 27.016667 | 0.801396 | 0.148057 | 0 | 0.228571 | 1 | 0 | 0.035529 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.028571 | 0.085714 | 0 | 0.542857 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
fa8bfdd43fa8170c8fefb81e61066ab0f0503372 | 143 | py | Python | main.py | dclavijo45/mvc-flask-template | 4904047ad4cd0679ce634b0a92ec5fcdd6152f15 | [
"MIT"
] | null | null | null | main.py | dclavijo45/mvc-flask-template | 4904047ad4cd0679ce634b0a92ec5fcdd6152f15 | [
"MIT"
] | null | null | null | main.py | dclavijo45/mvc-flask-template | 4904047ad4cd0679ce634b0a92ec5fcdd6152f15 | [
"MIT"
] | null | null | null | from config import PORT, HOST, DEBUG
from __init__ import app
if __name__ == "__main__":
app.run(host=HOST, port=PORT, debug=bool(DEBUG))
| 23.833333 | 52 | 0.727273 | 22 | 143 | 4.181818 | 0.590909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 143 | 5 | 53 | 28.6 | 0.760331 | 0 | 0 | 0 | 0 | 0 | 0.055944 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
fa9d6081796d11c9cc63c348ffd0e2b0d508df23 | 219 | py | Python | tests/deprecation_rules/deprecated_django_simplejson/checked_file.py | iwoca/django-seven | c7be98b73c139c9e74a9be94a0f20a723c739c80 | [
"BSD-3-Clause"
] | 9 | 2016-05-25T22:33:17.000Z | 2021-05-29T18:38:07.000Z | tests/deprecation_rules/deprecated_django_simplejson/checked_file.py | iwoca/django-upgrade-tools | c7be98b73c139c9e74a9be94a0f20a723c739c80 | [
"BSD-3-Clause"
] | 3 | 2016-06-19T21:17:06.000Z | 2016-07-20T20:26:14.000Z | tests/deprecation_rules/deprecated_django_simplejson/checked_file.py | iwoca/django-upgrade-tools | c7be98b73c139c9e74a9be94a0f20a723c739c80 | [
"BSD-3-Clause"
] | 1 | 2016-08-11T07:27:30.000Z | 2016-08-11T07:27:30.000Z | # Old django json import
from django.utils import simplejson
import django.utils.simplejson
# New correct json import (standard python one, as simplejson speedups have been included in python standard lib)
import json
| 31.285714 | 113 | 0.817352 | 32 | 219 | 5.59375 | 0.59375 | 0.111732 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146119 | 219 | 6 | 114 | 36.5 | 0.957219 | 0.611872 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
faaead3a1606caf23ac36900fa9dfdab952fa7dd | 161 | py | Python | venv/lib/python3.8/site-packages/uno/form.py | LachlanAttwood/ConvertMe | da544b5cacead3213dab76e9e716222b011d7688 | [
"MIT"
] | null | null | null | venv/lib/python3.8/site-packages/uno/form.py | LachlanAttwood/ConvertMe | da544b5cacead3213dab76e9e716222b011d7688 | [
"MIT"
] | 3 | 2015-11-09T19:25:22.000Z | 2016-06-07T15:02:03.000Z | uno/form.py | elbow-jason/Uno | 4ad07d7b84e5b6e3e2b2c89db69448906f24b4e4 | [
"MIT"
] | null | null | null |
from base import UnoBaseForm
class UnoForm(UnoBaseForm):
def __init__(self, *args, **kwargs):
super(UnoForm, self).__init__(*args, **kwargs)
| 12.384615 | 54 | 0.664596 | 18 | 161 | 5.5 | 0.666667 | 0.20202 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.204969 | 161 | 12 | 55 | 13.416667 | 0.773438 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
87d7bb7b90dee2cb217e4e3bc3369bd9c1df6aff | 1,123 | py | Python | plugins/flytekit-kf-tensorflow/flytekitplugins/kftensorflow/models.py | ggydush-fn/flytekit | 6530601c2538a5d804127a97f63291730b1ba1d8 | [
"Apache-2.0"
] | 1 | 2021-11-11T10:10:10.000Z | 2021-11-11T10:10:10.000Z | plugins/flytekit-kf-tensorflow/flytekitplugins/kftensorflow/models.py | ggydush-fn/flytekit | 6530601c2538a5d804127a97f63291730b1ba1d8 | [
"Apache-2.0"
] | null | null | null | plugins/flytekit-kf-tensorflow/flytekitplugins/kftensorflow/models.py | ggydush-fn/flytekit | 6530601c2538a5d804127a97f63291730b1ba1d8 | [
"Apache-2.0"
] | null | null | null | from flyteidl.plugins import tensorflow_pb2 as _tensorflow_task
from flytekit.models import common as _common
class TensorFlowJob(_common.FlyteIdlEntity):
def __init__(self, workers_count, ps_replicas_count, chief_replicas_count):
self._workers_count = workers_count
self._ps_replicas_count = ps_r... | 31.194444 | 116 | 0.732858 | 135 | 1,123 | 5.622222 | 0.22963 | 0.239789 | 0.13834 | 0.102767 | 0.247694 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005643 | 0.211042 | 1,123 | 35 | 117 | 32.085714 | 0.851016 | 0 | 0 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.074074 | 0.185185 | 0.518519 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
e2106c0d2cbcb318a290c8c53a41a564246a1ce1 | 134 | py | Python | cloud/sensing_bus/publisher/apps.py | pedrocruz/sensing_bus | f56087f548be284b27bef6ba6de2e1bbf38d9f06 | [
"Apache-2.0"
] | 5 | 2017-01-04T01:47:52.000Z | 2018-11-03T15:33:19.000Z | cloud/sensing_bus/publisher/apps.py | pedrocruz/sensing_bus | f56087f548be284b27bef6ba6de2e1bbf38d9f06 | [
"Apache-2.0"
] | null | null | null | cloud/sensing_bus/publisher/apps.py | pedrocruz/sensing_bus | f56087f548be284b27bef6ba6de2e1bbf38d9f06 | [
"Apache-2.0"
] | 4 | 2017-01-04T13:24:55.000Z | 2018-11-22T13:50:24.000Z | from __future__ import unicode_literals
from django.apps import AppConfig
class PublisherConfig(AppConfig):
name = 'publisher'
| 16.75 | 39 | 0.798507 | 15 | 134 | 6.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149254 | 134 | 7 | 40 | 19.142857 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0.067164 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
355bae0d7abefbc2fc952b3177cc49644de4f4a0 | 305 | py | Python | mantis/adapters/postgresqladapter.py | Clivern/Mantis | 5f80ef49d7e25b9368513bb059c4c3e712e87346 | [
"MIT"
] | 2 | 2015-12-17T23:32:12.000Z | 2016-04-16T12:49:01.000Z | mantis/adapters/postgresqladapter.py | Clivern/Mantis | 5f80ef49d7e25b9368513bb059c4c3e712e87346 | [
"MIT"
] | 1 | 2017-01-17T15:58:12.000Z | 2017-01-17T15:58:12.000Z | mantis/adapters/postgresqladapter.py | Clivern/Mantis | 5f80ef49d7e25b9368513bb059c4c3e712e87346 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Mantis
~~~~~~
A Minimalist ORM for Python
:copyright: (c) 2016 by Clivern (hello@clivern.com).
:license: MIT, see LICENSE for more details.
"""
from __future__ import print_function
class PostgreSQLAdapter(object):
"""PostgreSQL Adapter"""
pass
| 17.941176 | 56 | 0.636066 | 35 | 305 | 5.4 | 0.914286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021097 | 0.222951 | 305 | 16 | 57 | 19.0625 | 0.776371 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0.333333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
3599cde1718b8e4134ec05079ecc3ecc8e59ac8e | 697 | py | Python | mleus/nlp/legacy_libs_wrapper.py | AhmedHani/mleus | 301eaa6419a6d25acf49b467f2e35dc3f9776d8a | [
"BSD-3-Clause"
] | null | null | null | mleus/nlp/legacy_libs_wrapper.py | AhmedHani/mleus | 301eaa6419a6d25acf49b467f2e35dc3f9776d8a | [
"BSD-3-Clause"
] | null | null | null | mleus/nlp/legacy_libs_wrapper.py | AhmedHani/mleus | 301eaa6419a6d25acf49b467f2e35dc3f9776d8a | [
"BSD-3-Clause"
] | null | null | null | import numpy as np
from sklearn.feature_extraction.text import TfidfVectorizer
class SklearnWrapper(object):
def __init__(self, corpus):
self.corpus = corpus
self.tfidf_vectorizer = TfidfVectorizer()
def train_tfidf(self, corpus):
if isinstance(corpus, list):
self.tfidf_... | 25.814815 | 68 | 0.659971 | 81 | 697 | 5.481481 | 0.444444 | 0.101351 | 0.213964 | 0.099099 | 0.324324 | 0.198198 | 0.198198 | 0 | 0 | 0 | 0 | 0.005714 | 0.246772 | 697 | 26 | 69 | 26.807692 | 0.84 | 0 | 0 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0.055556 | 0.166667 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
35ca854dfa2889149d5b4c0813be067f55472a72 | 64 | py | Python | apps/user/tests.py | liyao2598330/echidna | 145c1345ea8ee25cfcc5d3eff867ae06ddea39e8 | [
"MIT"
] | null | null | null | apps/user/tests.py | liyao2598330/echidna | 145c1345ea8ee25cfcc5d3eff867ae06ddea39e8 | [
"MIT"
] | null | null | null | apps/user/tests.py | liyao2598330/echidna | 145c1345ea8ee25cfcc5d3eff867ae06ddea39e8 | [
"MIT"
] | 1 | 2020-10-19T14:13:41.000Z | 2020-10-19T14:13:41.000Z | from django.test import TestCase
list
# Create your tests here.
| 16 | 32 | 0.796875 | 10 | 64 | 5.1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 64 | 3 | 33 | 21.333333 | 0.944444 | 0.359375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
ea1725f591fb75bceb6eed9b76a28bc731d0e866 | 117 | py | Python | bark_ml/library_wrappers/lib_fqf_iqn_qrdqn/model/__init__.py | bark-simulator/rl | 84f9c74b60becbc4bc758e19b201d85a21880717 | [
"MIT"
] | null | null | null | bark_ml/library_wrappers/lib_fqf_iqn_qrdqn/model/__init__.py | bark-simulator/rl | 84f9c74b60becbc4bc758e19b201d85a21880717 | [
"MIT"
] | null | null | null | bark_ml/library_wrappers/lib_fqf_iqn_qrdqn/model/__init__.py | bark-simulator/rl | 84f9c74b60becbc4bc758e19b201d85a21880717 | [
"MIT"
] | null | null | null | from .fqf import FQF
from .iqn import IQN
from .qrdqn import QRDQN
from .imitation import Imitation, PolicyImitation
| 23.4 | 49 | 0.811966 | 17 | 117 | 5.588235 | 0.411765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145299 | 117 | 4 | 50 | 29.25 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
ea488733b9160af7339923182e9df5568d92ab8a | 176 | py | Python | alttprbot/alttprgen/randomizer/ffr.py | floresmatthew/sahasrahbot | a3fcc2aba9cd204331ce612ecf269d8a48a1ebc4 | [
"MIT"
] | null | null | null | alttprbot/alttprgen/randomizer/ffr.py | floresmatthew/sahasrahbot | a3fcc2aba9cd204331ce612ecf269d8a48a1ebc4 | [
"MIT"
] | null | null | null | alttprbot/alttprgen/randomizer/ffr.py | floresmatthew/sahasrahbot | a3fcc2aba9cd204331ce612ecf269d8a48a1ebc4 | [
"MIT"
] | null | null | null | import random
def roll_ffr(flags):
seed = ('%008x' % random.randrange(16**8)).upper()
return seed, f"https://finalfantasyrandomizer.com/Randomize?s={seed}&f={flags}"
| 25.142857 | 83 | 0.681818 | 24 | 176 | 4.958333 | 0.791667 | 0.084034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038961 | 0.125 | 176 | 6 | 84 | 29.333333 | 0.733766 | 0 | 0 | 0 | 0 | 0 | 0.386364 | 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 | 1 | 0 | 0 | 4 |
ea4f8fe67d5d17f38b4be8c9cd108188215f35bb | 146 | py | Python | src/Product.py | mamorukudo0927/CompePython | 7e069a7eb7c0a3cca70cabe5a88687a406425377 | [
"MIT"
] | null | null | null | src/Product.py | mamorukudo0927/CompePython | 7e069a7eb7c0a3cca70cabe5a88687a406425377 | [
"MIT"
] | null | null | null | src/Product.py | mamorukudo0927/CompePython | 7e069a7eb7c0a3cca70cabe5a88687a406425377 | [
"MIT"
] | null | null | null | # 1行に複数の文字なので、split()関数でList化→map()関数で数値に変換。
a,b = map(int, input().split())
# 条件演算子でそのまま判定結果を返して出力。
print('Even' if (a * b) % 2 == 0 else 'Odd') | 36.5 | 45 | 0.650685 | 22 | 146 | 4.363636 | 0.818182 | 0.041667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023622 | 0.130137 | 146 | 4 | 45 | 36.5 | 0.724409 | 0.438356 | 0 | 0 | 0 | 0 | 0.0875 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
57863d718e773ba12d5779ee483edbeacefb4bcc | 196 | py | Python | musicTheory/run.py | dgole/audioReactiveFadeCandy | aa54325052efb6b1a09741ea4d26b824a1183c5e | [
"MIT"
] | 1 | 2019-06-24T21:57:27.000Z | 2019-06-24T21:57:27.000Z | musicTheory/run.py | dgole/audioReactiveFadeCandy | aa54325052efb6b1a09741ea4d26b824a1183c5e | [
"MIT"
] | 1 | 2019-06-25T01:12:11.000Z | 2019-06-25T01:12:11.000Z | musicTheory/run.py | dgole/audioReactiveFadeCandy | aa54325052efb6b1a09741ea4d26b824a1183c5e | [
"MIT"
] | null | null | null | import numpy as np
import sys
sys.path.append("../ar/")
import fastopc, time
import functionLib as lib
import micStream
import patterns as patterns
#import Tkinter as tk
patterns.beatDetection()
| 17.818182 | 27 | 0.790816 | 29 | 196 | 5.344828 | 0.586207 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132653 | 196 | 10 | 28 | 19.6 | 0.911765 | 0.102041 | 0 | 0 | 0 | 0 | 0.034286 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
57b5379ab759ee27326e9c7e736fcd0126ab8ccc | 3,725 | py | Python | python/maya/site-packages/pymel-1.0.5/extras/completion/py/maya/test/brief/api/voxelizeMesh.py | CountZer0/PipelineConstructionSet | 0aa73a8a63c72989b2d1c677efd78dad4388d335 | [
"BSD-3-Clause"
] | 21 | 2015-04-27T05:01:36.000Z | 2021-11-22T13:45:14.000Z | python/maya/site-packages/pymel-1.0.5/extras/completion/py/maya/test/brief/api/voxelizeMesh.py | 0xb1dd1e/PipelineConstructionSet | 621349da1b6d1437e95d0c9e48ee9f36d59f19fd | [
"BSD-3-Clause"
] | null | null | null | python/maya/site-packages/pymel-1.0.5/extras/completion/py/maya/test/brief/api/voxelizeMesh.py | 0xb1dd1e/PipelineConstructionSet | 621349da1b6d1437e95d0c9e48ee9f36d59f19fd | [
"BSD-3-Clause"
] | 7 | 2015-04-11T11:37:19.000Z | 2020-05-22T09:49:04.000Z | """
start: voxelize meshes v.2
this script turns the selected meshes into cubes
over the current timeline range.
From Maya-Python mailing list
http://zoomy.net/2010/02/25/voxelize-meshes-script-v2
http://groups.google.com/group/python_inside_maya/browse_thread/thread/3f973f5bddf35e15#
TODO: Implement Dean's critique ... | 29.8 | 88 | 0.797315 | 552 | 3,725 | 5.373188 | 0.347826 | 0.154754 | 0.162171 | 0.198247 | 0.288604 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009063 | 0.14094 | 3,725 | 124 | 89 | 30.040323 | 0.917813 | 0.309799 | 0 | 0.071429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008065 | 0 | 1 | 0.071429 | false | 0.071429 | 0.785714 | 0 | 0.857143 | 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 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
57ca2551cc241f8ec8869ed20724d96a535db85e | 47 | py | Python | config.py | tencia/experiments | 2be1cfa68c507cc31bb50d28500a0b2350457208 | [
"MIT"
] | 3 | 2016-01-14T23:15:06.000Z | 2016-11-21T23:21:28.000Z | config.py | tencia/experiments | 2be1cfa68c507cc31bb50d28500a0b2350457208 | [
"MIT"
] | null | null | null | config.py | tencia/experiments | 2be1cfa68c507cc31bb50d28500a0b2350457208 | [
"MIT"
] | null | null | null | external_data = '/home/tencia/Documents/data/'
| 23.5 | 46 | 0.765957 | 6 | 47 | 5.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06383 | 47 | 1 | 47 | 47 | 0.795455 | 0 | 0 | 0 | 0 | 0 | 0.595745 | 0.595745 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
57dd2d374d9be05a4cfd528c8e54c2ed47d770f8 | 184 | py | Python | nrk/modules/moderation/_load.py | Slimmerd/DiscordBotPY | 08c177cea8a1f3482f632288a971bded03b349b3 | [
"Apache-2.0"
] | null | null | null | nrk/modules/moderation/_load.py | Slimmerd/DiscordBotPY | 08c177cea8a1f3482f632288a971bded03b349b3 | [
"Apache-2.0"
] | null | null | null | nrk/modules/moderation/_load.py | Slimmerd/DiscordBotPY | 08c177cea8a1f3482f632288a971bded03b349b3 | [
"Apache-2.0"
] | null | null | null | import hikari
import lightbulb
moderation_plugin = lightbulb.Plugin('Moderation')
moderation_plugin.add_checks(
lightbulb.has_guild_permissions(hikari.Permissions.MANAGE_GUILD)
)
| 23 | 68 | 0.842391 | 21 | 184 | 7.095238 | 0.52381 | 0.214765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081522 | 184 | 7 | 69 | 26.285714 | 0.881657 | 0 | 0 | 0 | 0 | 0 | 0.054348 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
17d39d6d8170fea23db6939834c98d22236a2bd4 | 102 | py | Python | io2.py | pschlump/haskell_3015_nov_21 | 067ea7d6b5cbac5f4853a0b42aa053d82ea6aa36 | [
"MIT"
] | 1 | 2017-11-21T22:16:42.000Z | 2017-11-21T22:16:42.000Z | io2.py | pschlump/haskell_3015_nov_21 | 067ea7d6b5cbac5f4853a0b42aa053d82ea6aa36 | [
"MIT"
] | null | null | null | io2.py | pschlump/haskell_3015_nov_21 | 067ea7d6b5cbac5f4853a0b42aa053d82ea6aa36 | [
"MIT"
] | null | null | null | import sys
for i in range ( 1, len(sys.argv) ):
print ( sys.argv[i] + " ", end='' )
print ( "" )
| 17 | 39 | 0.509804 | 16 | 102 | 3.25 | 0.6875 | 0.269231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013333 | 0.264706 | 102 | 5 | 40 | 20.4 | 0.68 | 0 | 0 | 0 | 0 | 0 | 0.009804 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
17f7a71ceac91484d717ffe1b39d00b0e9298ea6 | 296 | py | Python | TP3/1. Battleship/Jugador.py | FdelMazo/TDA1 | a61dc6abe0a30b129c3b0f8b2df6f74331e08dc7 | [
"MIT"
] | 2 | 2020-10-10T17:34:16.000Z | 2021-11-20T18:40:16.000Z | TP3/1. Battleship/Jugador.py | FdelMazo/7529rw-TDA | a61dc6abe0a30b129c3b0f8b2df6f74331e08dc7 | [
"MIT"
] | null | null | null | TP3/1. Battleship/Jugador.py | FdelMazo/7529rw-TDA | a61dc6abe0a30b129c3b0f8b2df6f74331e08dc7 | [
"MIT"
] | null | null | null | class Jugador():
def __init__(self, nombre):
self.nombre = nombre
def __str__(self):
return self.nombre
def elegirTargetsDeLaPartida(self, partida):
"""Recibe el estado del juego, NO LO MODIFICA (dummy/copy/simulacion)
Devuelve todos los turnos a jugar"""
raise NotImplementedError | 26.909091 | 71 | 0.75 | 38 | 296 | 5.631579 | 0.763158 | 0.140187 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155405 | 296 | 11 | 72 | 26.909091 | 0.856 | 0.337838 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 0 | 1 | 0.428571 | false | 0 | 0 | 0.142857 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
aa211bdf21acbd49886ecf96c3ac0a3f1c66e001 | 914 | py | Python | node/mirmap/__init__.py | RNAEDITINGPLUS/main | f608578defb122a1782cff39c5a9a60be0a900df | [
"Apache-2.0"
] | 4 | 2018-01-17T17:03:42.000Z | 2020-06-11T05:20:59.000Z | node/mirmap/__init__.py | RNAEDITINGPLUS/main | f608578defb122a1782cff39c5a9a60be0a900df | [
"Apache-2.0"
] | null | null | null | node/mirmap/__init__.py | RNAEDITINGPLUS/main | f608578defb122a1782cff39c5a9a60be0a900df | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
#
# Copyright (C) 2011-2012 Charles E. Vejnar
#
# This is free software, licensed under the GNU General Public License v3.
# See /LICENSE for more information.
#
""":class:`mm` and :class:`mmPP` base classes of :mod:`miRmap` that inherit their methods from all the modules. Each module define t... | 32.642857 | 163 | 0.751641 | 122 | 914 | 5.590164 | 0.581967 | 0.102639 | 0.041056 | 0.070381 | 0.255132 | 0.143695 | 0.143695 | 0 | 0 | 0 | 0 | 0.01287 | 0.149891 | 914 | 27 | 164 | 33.851852 | 0.864865 | 0.466083 | 0 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.181818 | 0.636364 | 0 | 0.818182 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
aa336dcd5c6efc8749be84f7219a52bed708569f | 104 | py | Python | ipyselect2/_version.py | opentradesolutions/ipyselect2 | 68accd9523b8f85aaeb9f7e11bf0a12daa422f58 | [
"MIT"
] | 3 | 2019-12-25T17:55:45.000Z | 2020-06-08T15:25:41.000Z | ipyselect2/_version.py | opentradesolutions/ipyselect2 | 68accd9523b8f85aaeb9f7e11bf0a12daa422f58 | [
"MIT"
] | 9 | 2019-10-07T12:09:35.000Z | 2022-01-22T09:24:25.000Z | ipyselect2/_version.py | opentradesolutions/ipyselect2 | 68accd9523b8f85aaeb9f7e11bf0a12daa422f58 | [
"MIT"
] | 3 | 2019-11-04T03:17:04.000Z | 2020-03-20T02:33:14.000Z | version_info = (0, 2, 1)
__version__ = '%s.%s.%s' % (version_info[0], version_info[1], version_info[2])
| 34.666667 | 78 | 0.653846 | 18 | 104 | 3.333333 | 0.333333 | 0.733333 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065217 | 0.115385 | 104 | 2 | 79 | 52 | 0.586957 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
aa461ad127e45be20178fd70ea20f1a09701795f | 5,744 | py | Python | build_automation/content_management/migrations/0012_all_kinds_of_tags.py | mattjurenka/DLMS | 0a69796b1b9940b37ee4ea7bc375a41dd63ec817 | [
"MIT"
] | 2 | 2018-08-02T23:38:32.000Z | 2019-12-20T10:54:37.000Z | build_automation/content_management/migrations/0012_all_kinds_of_tags.py | mattjurenka/DLMS | 0a69796b1b9940b37ee4ea7bc375a41dd63ec817 | [
"MIT"
] | 28 | 2018-02-23T21:20:31.000Z | 2018-05-02T22:38:31.000Z | build_automation/content_management/migrations/0012_all_kinds_of_tags.py | mattjurenka/DLMS | 0a69796b1b9940b37ee4ea7bc375a41dd63ec817 | [
"MIT"
] | 3 | 2019-11-16T03:54:48.000Z | 2021-09-10T18:53:20.000Z | # Generated by Django 2.0.2 on 2018-04-06 23:45
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('content_management', '0011_directory_individual_files'),
]
operations = [
migrations.CreateModel(
... | 35.677019 | 128 | 0.527681 | 488 | 5,744 | 6.071721 | 0.157787 | 0.070874 | 0.085049 | 0.113399 | 0.823827 | 0.823827 | 0.612555 | 0.574755 | 0.574755 | 0.574755 | 0 | 0.014237 | 0.339659 | 5,744 | 160 | 129 | 35.9 | 0.766939 | 0.007834 | 0 | 0.727273 | 1 | 0 | 0.134281 | 0.038266 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.012987 | 0 | 0.032468 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
35113fe1c9cfb11fdefea6ca4abb5c31e2f10ae5 | 289 | py | Python | tests/test_dispatcher.py | openstack/deb-python-crank | dc2d95a6179e6029427342e9f56ed39a8e23634e | [
"MIT"
] | 10 | 2016-09-14T21:58:44.000Z | 2019-01-28T21:56:27.000Z | tests/test_dispatcher.py | openstack/deb-python-crank | dc2d95a6179e6029427342e9f56ed39a8e23634e | [
"MIT"
] | null | null | null | tests/test_dispatcher.py | openstack/deb-python-crank | dc2d95a6179e6029427342e9f56ed39a8e23634e | [
"MIT"
] | null | null | null | from nose.tools import raises
from crank.dispatcher import *
class TestDispatcher:
def setup(self):
self.dispatcher = Dispatcher()
def test_create(self):
pass
@raises(NotImplementedError)
def test_dispatch(self):
self.dispatcher._dispatch(1,2)
| 18.0625 | 38 | 0.681661 | 33 | 289 | 5.878788 | 0.575758 | 0.082474 | 0.185567 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009009 | 0.231834 | 289 | 15 | 39 | 19.266667 | 0.864865 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0.1 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
35219710bed6bbab2c21262a14bd2f22f47875b6 | 226 | py | Python | lyricpsych/extractors/__init__.py | mmc-tudelft/lyricpsych | 29f5c1a64c914b09d1400df1732164d10c013312 | [
"Apache-2.0"
] | null | null | null | lyricpsych/extractors/__init__.py | mmc-tudelft/lyricpsych | 29f5c1a64c914b09d1400df1732164d10c013312 | [
"Apache-2.0"
] | null | null | null | lyricpsych/extractors/__init__.py | mmc-tudelft/lyricpsych | 29f5c1a64c914b09d1400df1732164d10c013312 | [
"Apache-2.0"
] | null | null | null | from .inventory_score import InventoryScore
from .linguistic_features import LinguisticFeature
from .liwc import LIWC
from .topic_model import TopicModel
__all__ = ['InventoryScore', 'LinguisticFeature', 'LIWC', 'TopicModel'] | 37.666667 | 71 | 0.823009 | 24 | 226 | 7.458333 | 0.541667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097345 | 226 | 6 | 71 | 37.666667 | 0.877451 | 0 | 0 | 0 | 0 | 0 | 0.198238 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
103725de8076b49061ab5a579c2da43a5e4dcf2c | 85 | py | Python | src/webex-teams/list-rooms.py | fernando28024/git-clone-https-github.com-CiscoDevNet-devasc-code-examples | 589dbd5d34f67f9b823159b731844432977b6490 | [
"BSD-3-Clause"
] | 43 | 2020-08-01T03:01:53.000Z | 2022-02-17T12:43:27.000Z | webex-teams/list-rooms.py | abredes-devasc/devasc-labs | 7c0e449151af3369d2ce91282e0bdfd6986282ca | [
"CC0-1.0"
] | 2 | 2021-04-20T17:13:39.000Z | 2021-09-23T23:35:12.000Z | webex-teams/list-rooms.py | abredes-devasc/devasc-labs | 7c0e449151af3369d2ce91282e0bdfd6986282ca | [
"CC0-1.0"
] | 14 | 2020-08-02T00:07:43.000Z | 2022-03-15T22:25:39.000Z | # Fill in this file with the rooms/spaces listing code from the Webex Teams exercise
| 42.5 | 84 | 0.8 | 15 | 85 | 4.533333 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 85 | 1 | 85 | 85 | 0.971429 | 0.964706 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
10586bae00c7e1f623146d7d2b75bea601af0a33 | 140 | py | Python | qal/common/tests/__init__.py | OptimalBPM/qal | 4d7a31c0d68042b4110e1fa3e733711e0fdd473e | [
"Unlicense"
] | 3 | 2016-05-02T14:35:55.000Z | 2021-08-31T14:19:15.000Z | qal/common/tests/__init__.py | OptimalBPM/qal | 4d7a31c0d68042b4110e1fa3e733711e0fdd473e | [
"Unlicense"
] | null | null | null | qal/common/tests/__init__.py | OptimalBPM/qal | 4d7a31c0d68042b4110e1fa3e733711e0fdd473e | [
"Unlicense"
] | 1 | 2018-03-18T13:19:52.000Z | 2018-03-18T13:19:52.000Z | """
Tests for qal.common
:copyright: Copyright 2010-2014 by Nicklas Boerjesson
:license: BSD, see LICENSE for details.
"""
| 20 | 57 | 0.657143 | 17 | 140 | 5.411765 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075472 | 0.242857 | 140 | 6 | 58 | 23.333333 | 0.792453 | 0.821429 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
107a94f4c1967c4ad0b6bd16ec1a33dcf3940a8b | 237 | py | Python | django_backend/backend/base/views/__init__.py | holg/django_backend | 6cef76a378664e6621619862e6db476788a58992 | [
"BSD-3-Clause"
] | 3 | 2015-09-10T07:10:49.000Z | 2021-03-16T07:17:58.000Z | django_backend/backend/base/views/__init__.py | holg/django_backend | 6cef76a378664e6621619862e6db476788a58992 | [
"BSD-3-Clause"
] | 10 | 2015-09-09T13:40:24.000Z | 2021-02-27T09:12:23.000Z | django_backend/backend/base/views/__init__.py | holg/django_backend | 6cef76a378664e6621619862e6db476788a58992 | [
"BSD-3-Clause"
] | 5 | 2016-06-12T08:20:38.000Z | 2021-02-27T09:02:30.000Z | from .create import BackendCreateView
from .list import BackendListView
from .read import BackendReadView
from .update import BackendUpdateView
from .delete import BackendDeleteView
from .select import BackendSelectView, SelectViewMixin
| 33.857143 | 54 | 0.864979 | 25 | 237 | 8.2 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105485 | 237 | 6 | 55 | 39.5 | 0.966981 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
10a578b4128791a42d5969b5d0a99f737dd25ed6 | 112,856 | py | Python | sdk/python/pulumi_google_native/appengine/v1beta/_inputs.py | AaronFriel/pulumi-google-native | 75d1cda425e33d4610348972cd70bddf35f1770d | [
"Apache-2.0"
] | 44 | 2021-04-18T23:00:48.000Z | 2022-02-14T17:43:15.000Z | sdk/python/pulumi_google_native/appengine/v1beta/_inputs.py | AaronFriel/pulumi-google-native | 75d1cda425e33d4610348972cd70bddf35f1770d | [
"Apache-2.0"
] | 354 | 2021-04-16T16:48:39.000Z | 2022-03-31T17:16:39.000Z | sdk/python/pulumi_google_native/appengine/v1beta/_inputs.py | AaronFriel/pulumi-google-native | 75d1cda425e33d4610348972cd70bddf35f1770d | [
"Apache-2.0"
] | 8 | 2021-04-24T17:46:51.000Z | 2022-01-05T10:40:21.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi SDK Generator. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from ... import _utilities
fro... | 46.828216 | 981 | 0.683863 | 13,901 | 112,856 | 5.374649 | 0.059061 | 0.084657 | 0.09918 | 0.050353 | 0.814664 | 0.712928 | 0.642873 | 0.566515 | 0.541887 | 0.497464 | 0 | 0.001759 | 0.218987 | 112,856 | 2,409 | 982 | 46.847655 | 0.845885 | 0.336189 | 0 | 0.366022 | 1 | 0 | 0.132001 | 0.048705 | 0 | 0 | 0 | 0 | 0 | 1 | 0.203729 | false | 0 | 0.004144 | 0 | 0.321823 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
10ada9dfa44f7e1ddefd490b672280b438bd0726 | 300 | py | Python | desktop/core/ext-py/django-extensions-0.5/django_extensions/tests/__init__.py | thinker0/hue | ee5aecc3db442e962584d3151c0f2eab397d6707 | [
"Apache-2.0"
] | 19 | 2015-05-01T19:59:03.000Z | 2021-12-09T08:03:16.000Z | desktop/core/ext-py/django-extensions-0.5/django_extensions/tests/__init__.py | jesman/hue | 21edfc1b790510e512216ab5cc8aeb1a84255de3 | [
"Apache-2.0"
] | 1 | 2018-01-03T15:26:49.000Z | 2018-01-03T15:26:49.000Z | desktop/core/ext-py/django-extensions-0.5/django_extensions/tests/__init__.py | jesman/hue | 21edfc1b790510e512216ab5cc8aeb1a84255de3 | [
"Apache-2.0"
] | 30 | 2015-03-25T19:40:07.000Z | 2021-05-28T22:59:26.000Z | from django.db import models
from django_extensions.tests.utils import UTILS_TESTS
try:
from django_extensions.tests.encrypted_fields import EncryptedFieldsTestCase
from django_extensions.tests.models import Secret
except ImportError:
pass
__test__ = {
'UTILS_TESTS': UTILS_TESTS,
}
| 25 | 80 | 0.803333 | 37 | 300 | 6.216216 | 0.459459 | 0.173913 | 0.26087 | 0.326087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.143333 | 300 | 11 | 81 | 27.272727 | 0.894942 | 0 | 0 | 0 | 0 | 0 | 0.036667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.1 | 0.5 | 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 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 4 |
10b40932ab2ef5da7bf0661d04d9fdaba4defdaf | 332 | py | Python | vogais.py | RodFernandes/Python_USP_Curso_Ciencias_da_Computacao_1 | 9bbcb2ccf4ca4330c8b00b5b0920c307be1f15ae | [
"Apache-2.0"
] | null | null | null | vogais.py | RodFernandes/Python_USP_Curso_Ciencias_da_Computacao_1 | 9bbcb2ccf4ca4330c8b00b5b0920c307be1f15ae | [
"Apache-2.0"
] | null | null | null | vogais.py | RodFernandes/Python_USP_Curso_Ciencias_da_Computacao_1 | 9bbcb2ccf4ca4330c8b00b5b0920c307be1f15ae | [
"Apache-2.0"
] | 1 | 2020-01-23T13:37:19.000Z | 2020-01-23T13:37:19.000Z | def vogal(letra):
if(letra=='a') or (letra=='A'):
return True
if (letra=='e') or (letra=='E'):
return True
if (letra=='i') or (letra=='I'):
return True
if (letra=='o') or (letra=='O'):
return True
if (letra=='u') or (letra=='U'):
return True
else:
... | 25.538462 | 36 | 0.475904 | 46 | 332 | 3.434783 | 0.304348 | 0.221519 | 0.303797 | 0.43038 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.316265 | 332 | 13 | 37 | 25.538462 | 0.696035 | 0 | 0 | 0.384615 | 0 | 0 | 0.03003 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0 | 0 | 0 | 0.538462 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
10bd1d4166237fb7edc99ef59e4092f86bb24ab9 | 169 | py | Python | gevent_flask.py | brandonxiang/weapp-handsome-backend | 13c82dbefc155c50d7e4b5684e87859803bcdd36 | [
"MIT"
] | 33 | 2016-07-07T04:48:34.000Z | 2020-02-26T08:03:07.000Z | gevent_flask.py | brandonxiang/weapp-handsome-backend | 13c82dbefc155c50d7e4b5684e87859803bcdd36 | [
"MIT"
] | 5 | 2021-03-19T16:03:23.000Z | 2022-03-12T00:54:55.000Z | gevent_flask.py | yuyf-fsd/pyMap_webapp | 0023a23cc9d73f9d1a1f7ea73a326439a7e82490 | [
"MIT"
] | 8 | 2017-08-01T02:35:20.000Z | 2021-09-29T07:00:42.000Z | from gevent import monkey
monkey.patch_all()
from gevent.wsgi import WSGIServer
from app import app
http_server = WSGIServer(('',5000),app)
http_server.serve_forever() | 21.125 | 39 | 0.798817 | 25 | 169 | 5.24 | 0.56 | 0.152672 | 0.198473 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02649 | 0.106509 | 169 | 8 | 40 | 21.125 | 0.84106 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
52a4c5093e94deb4d43e4b87ed2c834cc1dc9f61 | 407 | py | Python | FSJ_django20_project/FSJ/forms/__init__.py | CMPUT401FSJ/FSJAwards | 01f630e5060d70eecf7cb8f35b576f8799e2d7af | [
"MIT"
] | 6 | 2018-02-03T21:37:14.000Z | 2020-11-20T19:07:20.000Z | FSJ_django20_project/FSJ/forms/__init__.py | CMPUT401FSJ/FSJAwards | 01f630e5060d70eecf7cb8f35b576f8799e2d7af | [
"MIT"
] | 145 | 2018-02-01T02:38:17.000Z | 2018-06-06T16:22:05.000Z | FSJ_django20_project/FSJ/forms/__init__.py | CMPUT401FSJ/FSJAwards | 01f630e5060d70eecf7cb8f35b576f8799e2d7af | [
"MIT"
] | 4 | 2018-05-04T22:04:29.000Z | 2020-10-01T11:45:15.000Z | from .forms_student import *
from .forms_adjudicator import *
from .forms_coordinator import *
from .forms_award import *
from .forms_yearofstudy import *
from .forms_committee import *
from .forms_program import ProgramForm
from .forms_application import *
from .forms_fileupload import *
from .forms_comment import *
f... | 31.307692 | 38 | 0.813268 | 53 | 407 | 6 | 0.320755 | 0.367925 | 0.518868 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125307 | 407 | 13 | 39 | 31.307692 | 0.893258 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 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 | 4 |
52cdff69e52620fcd02a0bc33db2b378f33c19b4 | 24,639 | py | Python | torpy/dirs.py | recurrence/torpy | 44f56de5c0350a379dd097442cca8153127c852d | [
"Apache-2.0"
] | 230 | 2019-07-18T14:22:28.000Z | 2022-03-28T10:12:37.000Z | torpy/dirs.py | recurrence/torpy | 44f56de5c0350a379dd097442cca8153127c852d | [
"Apache-2.0"
] | 37 | 2019-07-26T16:20:12.000Z | 2022-03-03T23:24:04.000Z | torpy/dirs.py | recurrence/torpy | 44f56de5c0350a379dd097442cca8153127c852d | [
"Apache-2.0"
] | 49 | 2019-08-08T11:48:20.000Z | 2022-03-11T21:07:06.000Z | # flake8: noqa
# tor ref src\app\config\auth_dirs.inc
AUTHORITY_DIRS = """
"moria1 orport=9101 "
"v3ident=D586D18309DED4CD6D57C18FDB97EFA96D330566 "
"128.31.0.39:9131 9695 DFC3 5FFE B861 329B 9F1A B04C 4639 7020 CE31",
"tor26 orport=443 "
"v3ident=14C131DFC5C6F93646BE72FA1401C02A8DF2E8B4 "
"ipv6=[2001:858:2:2:... | 29.089728 | 333 | 0.695442 | 2,833 | 24,639 | 6.039534 | 0.333569 | 0.077148 | 0.045646 | 0.047107 | 0.095441 | 0.023729 | 0.018001 | 0.018001 | 0.015079 | 0.015079 | 0 | 0.378186 | 0.093916 | 24,639 | 846 | 334 | 29.124113 | 0.388219 | 0.001989 | 0 | 0.346793 | 0 | 0.042755 | 0.997926 | 0.459592 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.001188 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
52d508b41b37aa6cf6f5b2b26ec5462e875f476d | 58 | py | Python | src/network/activation.py | jordanjoewatson/natural-language-classifier | f935804c6c2c13098517a015251bf5b30fd12c05 | [
"MIT"
] | 1 | 2020-01-23T10:09:52.000Z | 2020-01-23T10:09:52.000Z | src/network/activation.py | jordanjoewatson/natural-language-classifier | f935804c6c2c13098517a015251bf5b30fd12c05 | [
"MIT"
] | null | null | null | src/network/activation.py | jordanjoewatson/natural-language-classifier | f935804c6c2c13098517a015251bf5b30fd12c05 | [
"MIT"
] | null | null | null | def sign(val):
if(val >= 0): return 1
else: return -1
| 14.5 | 24 | 0.586207 | 11 | 58 | 3.090909 | 0.727273 | 0.411765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068182 | 0.241379 | 58 | 3 | 25 | 19.333333 | 0.704545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
52f5d900177f90aae8d262093b99e53fb1da748c | 68 | py | Python | ddtrace/contrib/cassandra/patch.py | zhammer/dd-trace-py | 4c30f6e36bfa34a63cd9b6884677c977f76d2a01 | [
"Apache-2.0",
"BSD-3-Clause"
] | 5 | 2020-03-07T01:12:29.000Z | 2021-04-21T00:53:19.000Z | ddtrace/contrib/cassandra/patch.py | zhammer/dd-trace-py | 4c30f6e36bfa34a63cd9b6884677c977f76d2a01 | [
"Apache-2.0",
"BSD-3-Clause"
] | 4 | 2019-11-22T20:58:01.000Z | 2020-08-17T21:16:13.000Z | ddtrace/contrib/cassandra/patch.py | zhammer/dd-trace-py | 4c30f6e36bfa34a63cd9b6884677c977f76d2a01 | [
"Apache-2.0",
"BSD-3-Clause"
] | 3 | 2020-03-18T16:29:20.000Z | 2020-07-20T16:05:10.000Z | from .session import patch, unpatch
__all__ = ['patch', 'unpatch']
| 17 | 35 | 0.705882 | 8 | 68 | 5.5 | 0.75 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 68 | 3 | 36 | 22.666667 | 0.758621 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
52fbfe4923f581ee2c55ac18b346c24cdfd5836b | 168 | py | Python | friends/urls.py | Nijinsha/Inshare | ebbeb904ae20b997df385cad589121bc46d67728 | [
"MIT"
] | null | null | null | friends/urls.py | Nijinsha/Inshare | ebbeb904ae20b997df385cad589121bc46d67728 | [
"MIT"
] | null | null | null | friends/urls.py | Nijinsha/Inshare | ebbeb904ae20b997df385cad589121bc46d67728 | [
"MIT"
] | 1 | 2019-11-21T17:16:49.000Z | 2019-11-21T17:16:49.000Z | from django.urls import path
from .views import FriendRequestView
urlpatterns = [
path('friend_request/', FriendRequestView.as_view(), name="friend_request"),
]
| 18.666667 | 80 | 0.755952 | 19 | 168 | 6.526316 | 0.684211 | 0.209677 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130952 | 168 | 8 | 81 | 21 | 0.849315 | 0 | 0 | 0 | 0 | 0 | 0.172619 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
5e39fbd98bfcdf641302bf71b0af529ec7d274ca | 10,579 | py | Python | rocketgram/api/__init__.py | streemline/rocketgram | 6f4e69e37c64f51b6bed9ebb6a1413a187d2eee2 | [
"MIT"
] | null | null | null | rocketgram/api/__init__.py | streemline/rocketgram | 6f4e69e37c64f51b6bed9ebb6a1413a187d2eee2 | [
"MIT"
] | 1 | 2022-01-16T13:56:45.000Z | 2022-01-16T13:56:45.000Z | rocketgram/api/__init__.py | streemline/rocketgram | 6f4e69e37c64f51b6bed9ebb6a1413a187d2eee2 | [
"MIT"
] | null | null | null | # Copyright (C) 2015-2022 by Vd.
# This file is part of Rocketgram, the modern Telegram bot framework.
# Rocketgram is released under the MIT License (see LICENSE).
from .add_sticker_to_set import AddStickerToSet
from .animation import Animation
from .answer_callback_query import AnswerCallbackQuery
from .answer_inli... | 48.976852 | 91 | 0.896399 | 1,281 | 10,579 | 7.080406 | 0.289617 | 0.025358 | 0.03473 | 0.046307 | 0.046417 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001236 | 0.082427 | 10,579 | 215 | 92 | 49.204651 | 0.933141 | 0.014935 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.066667 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
ead598df2d1b3c2a71c8ac8b0b628973e57288be | 229 | py | Python | dependencies/georeference maps/pythongis/vector/fileformats/thirdparty/__init__.py | karimbahgat/AutoMap | eae52f16b7ce71cb2b4b7ae67cf6e4680ea2194f | [
"MIT"
] | 4 | 2015-12-05T14:31:55.000Z | 2018-02-09T05:54:36.000Z | dependencies/georeference maps/pythongis/vector/fileformats/thirdparty/__init__.py | karimbahgat/AutoMap | eae52f16b7ce71cb2b4b7ae67cf6e4680ea2194f | [
"MIT"
] | 1 | 2022-01-13T02:52:09.000Z | 2022-01-13T02:52:09.000Z | dependencies/georeference maps/pythongis/vector/fileformats/thirdparty/__init__.py | karimbahgat/AutoMap | eae52f16b7ce71cb2b4b7ae67cf6e4680ea2194f | [
"MIT"
] | 1 | 2018-10-24T01:08:11.000Z | 2018-10-24T01:08:11.000Z | """
Special container for thirdparty format libs that are not publically available.
In particular if we rely on some obscure or special forks of an existing lib,
so users don't have to go hunting for them.
"""
from . import *
| 25.444444 | 79 | 0.755459 | 38 | 229 | 4.552632 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19214 | 229 | 8 | 80 | 28.625 | 0.935135 | 0.877729 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
d830a0d983ffeb2a2fe652b19bbe2b3a6fb9aea9 | 144 | py | Python | test_files/whitespace3.expected.py | RamonWill/zimports | 26f01fd1f7105b510f4723059af77531431b0bd8 | [
"MIT"
] | 65 | 2019-01-02T05:44:38.000Z | 2021-11-08T11:47:09.000Z | test_files/whitespace3.expected.py | RamonWill/zimports | 26f01fd1f7105b510f4723059af77531431b0bd8 | [
"MIT"
] | 32 | 2019-01-07T15:43:15.000Z | 2022-02-09T20:36:32.000Z | test_files/whitespace3.expected.py | RamonWill/zimports | 26f01fd1f7105b510f4723059af77531431b0bd8 | [
"MIT"
] | 7 | 2019-01-07T15:11:31.000Z | 2020-07-08T17:42:13.000Z | # do things
# and do other things
# and now begin
import bar
import foo
from hoho import bat3
class Line10MovesToLine8:
pass
foo
bar
bat3
| 10.285714 | 25 | 0.75 | 23 | 144 | 4.695652 | 0.652174 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044643 | 0.222222 | 144 | 13 | 26 | 11.076923 | 0.919643 | 0.298611 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.125 | 0.375 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 4 |
d8330b70fdabd90bceae18d588605b08c2fa7651 | 1,192 | py | Python | we-web/utils/session_manager.py | h-qub/wordeater-web | 9a336d1e467d08c6b3875bd8b83dea0dc3b9236d | [
"MIT"
] | null | null | null | we-web/utils/session_manager.py | h-qub/wordeater-web | 9a336d1e467d08c6b3875bd8b83dea0dc3b9236d | [
"MIT"
] | 3 | 2016-03-11T08:43:47.000Z | 2016-11-01T13:07:48.000Z | we-web/utils/session_manager.py | h-qub/wordeater-web | 9a336d1e467d08c6b3875bd8b83dea0dc3b9236d | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from flask import session
__author__ = 'Glebov Boris'
class UserSession:
def __init__(self, user):
self.user = user
@staticmethod
def create(user):
"""
Create session manager from a dto session user
:param user: dto session user
:return: Use... | 19.225806 | 54 | 0.561242 | 133 | 1,192 | 4.917293 | 0.345865 | 0.097859 | 0.12844 | 0.165138 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001266 | 0.337248 | 1,192 | 61 | 55 | 19.540984 | 0.826582 | 0.162752 | 0 | 0.285714 | 0 | 0 | 0.060307 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.028571 | 0.171429 | 0.628571 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
dc4ac14d6cc00a9d336c8384b46bf6258d566c41 | 286 | py | Python | 6.00.1x.Introduction-to-Computer-Science-and-Programming-Using-Python/Solutions/Week 3/1.Radiation Exposure..py | nilesh-patil/MITx-Foundations-of-Computer-Science | 2460d1a8d9d1d91db0e453b98353434320e5d9fb | [
"MIT"
] | 55 | 2015-01-07T23:42:17.000Z | 2022-02-21T14:01:27.000Z | 6.00.1x.Introduction-to-Computer-Science-and-Programming-Using-Python/Solutions/Week 3/1.Radiation Exposure..py | nvngpt31/MITx-Foundations-of-Computer-Science | 2460d1a8d9d1d91db0e453b98353434320e5d9fb | [
"MIT"
] | null | null | null | 6.00.1x.Introduction-to-Computer-Science-and-Programming-Using-Python/Solutions/Week 3/1.Radiation Exposure..py | nvngpt31/MITx-Foundations-of-Computer-Science | 2460d1a8d9d1d91db0e453b98353434320e5d9fb | [
"MIT"
] | 50 | 2015-01-06T18:52:27.000Z | 2022-03-29T17:11:46.000Z | def f(x):
import math
return 10*math.e**(math.log(0.5)/5.27 * x)
def radiationExposure(start, stop, step):
# FILL IN YOUR CODE HERE...
if start >= stop - step:
return f(stop-step) * step
return (f(start) * step) + radiationExposure(start + step, stop, step) | 31.777778 | 74 | 0.615385 | 44 | 286 | 4 | 0.5 | 0.181818 | 0.147727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031818 | 0.230769 | 286 | 9 | 74 | 31.777778 | 0.768182 | 0.087413 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0 | 0.857143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
dc6089e33b2f3d746f1a214261d072651c759f5e | 95 | py | Python | codedigger/codeforces/apps.py | jyothiprakashpanaik/Backend | 9ab1b57436a0a1a6197777c0b36c842e71121d3a | [
"Apache-2.0"
] | 17 | 2020-10-07T22:40:37.000Z | 2022-01-20T07:19:09.000Z | codedigger/codeforces/apps.py | jyothiprakashpanaik/Backend | 9ab1b57436a0a1a6197777c0b36c842e71121d3a | [
"Apache-2.0"
] | 42 | 2021-06-03T01:58:04.000Z | 2022-01-31T14:49:22.000Z | codedigger/codeforces/apps.py | jyothiprakashpanaik/Backend | 9ab1b57436a0a1a6197777c0b36c842e71121d3a | [
"Apache-2.0"
] | 25 | 2020-10-06T17:55:19.000Z | 2021-12-09T07:56:50.000Z | from django.apps import AppConfig
class CodeforcesConfig(AppConfig):
name = 'codeforces'
| 15.833333 | 34 | 0.768421 | 10 | 95 | 7.3 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 95 | 5 | 35 | 19 | 0.9125 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
dc798f0f6892e86f285a40c0b2c6276432550d78 | 200 | py | Python | ddi_search_engine/Bio/Writer.py | dbmi-pitt/DIKB-Evidence-analytics | 9ffd629db30c41ced224ff2afdf132ce9276ae3f | [
"MIT"
] | 3 | 2015-06-08T17:58:54.000Z | 2022-03-10T18:49:44.000Z | ddi_search_engine/Bio/Writer.py | dbmi-pitt/DIKB-Evidence-analytics | 9ffd629db30c41ced224ff2afdf132ce9276ae3f | [
"MIT"
] | null | null | null | ddi_search_engine/Bio/Writer.py | dbmi-pitt/DIKB-Evidence-analytics | 9ffd629db30c41ced224ff2afdf132ce9276ae3f | [
"MIT"
] | null | null | null | class Writer:
def __init__(self, outfile):
self.outfile = outfile
def writeHeader(self):
pass
def write(self, record):
pass
def writeFooter(self):
pass
| 20 | 32 | 0.585 | 22 | 200 | 5.136364 | 0.5 | 0.19469 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.33 | 200 | 9 | 33 | 22.222222 | 0.843284 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.444444 | false | 0.333333 | 0 | 0 | 0.555556 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
dcb89e9a780001e83deb03b52774e268f6a36cad | 4,795 | py | Python | ding/interaction/tests/interaction/test_simple.py | sailxjx/DI-engine | c6763f8e2ba885a2a02f611195a1b5f8b50bff00 | [
"Apache-2.0"
] | 464 | 2021-07-08T07:26:33.000Z | 2022-03-31T12:35:16.000Z | ding/interaction/tests/interaction/test_simple.py | sailxjx/DI-engine | c6763f8e2ba885a2a02f611195a1b5f8b50bff00 | [
"Apache-2.0"
] | 177 | 2021-07-09T08:22:55.000Z | 2022-03-31T07:35:22.000Z | ding/interaction/tests/interaction/test_simple.py | sailxjx/DI-engine | c6763f8e2ba885a2a02f611195a1b5f8b50bff00 | [
"Apache-2.0"
] | 92 | 2021-07-08T12:16:37.000Z | 2022-03-31T09:24:41.000Z | import pytest
from requests import HTTPError
from .bases import _TestInteractionBase, _random_slave_channel_and_port, _slave_endpoint, _get_master_endpoint
from ..test_utils import random_port
from ...master.task import TaskStatus
@pytest.mark.unittest
class TestInteractionSimple(_TestInteractionBase):
@pytest.... | 36.603053 | 110 | 0.540563 | 536 | 4,795 | 4.453358 | 0.164179 | 0.050272 | 0.040218 | 0.052786 | 0.73607 | 0.73607 | 0.705907 | 0.705907 | 0.671135 | 0.651026 | 0 | 0.02324 | 0.371846 | 4,795 | 130 | 111 | 36.884615 | 0.769256 | 0 | 0 | 0.621359 | 0 | 0 | 0.034828 | 0 | 0 | 0 | 0 | 0 | 0.271845 | 1 | 0.058252 | false | 0 | 0.048544 | 0 | 0.116505 | 0.029126 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f4c964cd114e9760412d8cd89ccda43d27b5f493 | 269 | py | Python | data/etl/001_merge_data/merge_app/utils/db.py | AleksNeStu/projects | 1a4c68dfbdcb77228f0f3617e58fd18fcb1f5dbb | [
"Apache-2.0"
] | 2 | 2022-01-19T18:01:35.000Z | 2022-02-06T06:54:38.000Z | data/etl/001_merge_data/merge_app/utils/db.py | AleksNeStu/projects | 1a4c68dfbdcb77228f0f3617e58fd18fcb1f5dbb | [
"Apache-2.0"
] | null | null | null | data/etl/001_merge_data/merge_app/utils/db.py | AleksNeStu/projects | 1a4c68dfbdcb77228f0f3617e58fd18fcb1f5dbb | [
"Apache-2.0"
] | null | null | null | def get_sql_lite_conn_str(db_file: str):
db_file_stripped = db_file.strip()
if not db_file or not db_file_stripped:
# db_file = '../db/meet_app.db'
raise Exception("SQL lite DB file is not specified.")
return 'sqlite:///' + db_file_stripped | 38.428571 | 61 | 0.680297 | 44 | 269 | 3.818182 | 0.477273 | 0.285714 | 0.25 | 0.190476 | 0.238095 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208178 | 269 | 7 | 62 | 38.428571 | 0.788732 | 0.107807 | 0 | 0 | 0 | 0 | 0.1841 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f4e5b4f6fc998d8aee58fef8bd266f6447ada071 | 1,522 | py | Python | BurstCube/tests/test_locStats.py | nkasmanoff/Simulation | 38d47db79cebe8504a03424c564f2207ae2275ac | [
"MIT"
] | null | null | null | BurstCube/tests/test_locStats.py | nkasmanoff/Simulation | 38d47db79cebe8504a03424c564f2207ae2275ac | [
"MIT"
] | 15 | 2017-04-06T18:52:39.000Z | 2019-08-15T17:48:40.000Z | BurstCube/tests/test_locStats.py | nkasmanoff/Simulation | 38d47db79cebe8504a03424c564f2207ae2275ac | [
"MIT"
] | 3 | 2017-06-13T17:54:29.000Z | 2018-09-16T15:43:24.000Z | #!/usr/bin/env python
import numpy as np
from numpy.testing import assert_allclose
try:
from BurstCube.LocSim import Stats
except ImportError:
pass
a = np.array([[[5.3, 55, 91, 100, 83, 42, 0, 0, 0, 0, 0, 0],
[0.11, 0.44, 0.63, 0.68, 0.59, 0.37, 0, 0, 0, 0, 0, 0]],
[[68, 85, 65, ... | 28.185185 | 72 | 0.450723 | 276 | 1,522 | 2.452899 | 0.300725 | 0.192024 | 0.23486 | 0.242245 | 0.153619 | 0.152142 | 0.125554 | 0.069424 | 0.069424 | 0.069424 | 0 | 0.294527 | 0.339685 | 1,522 | 53 | 73 | 28.716981 | 0.379104 | 0.013141 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 1 | 0.090909 | false | 0.030303 | 0.121212 | 0 | 0.212121 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f4fe5c0cc75ff4a55146fbb31caa331a8c0e5c8b | 80 | py | Python | run.py | pythonLearning-bigData/Snail | 3d8aa4f23985bc7bd81ade94d0ad1c710e18cbe4 | [
"BSD-3-Clause"
] | null | null | null | run.py | pythonLearning-bigData/Snail | 3d8aa4f23985bc7bd81ade94d0ad1c710e18cbe4 | [
"BSD-3-Clause"
] | null | null | null | run.py | pythonLearning-bigData/Snail | 3d8aa4f23985bc7bd81ade94d0ad1c710e18cbe4 | [
"BSD-3-Clause"
] | null | null | null | from web import views
if __name__ == "__main__":
views.app.run(debug=True)
| 16 | 29 | 0.7 | 12 | 80 | 4 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175 | 80 | 4 | 30 | 20 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0.1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
761c953f2c76fa9470d7ade6bed4fb35644c2fb3 | 325 | py | Python | src/quiltz/id/testbuilders.py | qwaneu/quiltz | c6e5319848e44690de9ef292de88f6c71d53cf7f | [
"MIT"
] | null | null | null | src/quiltz/id/testbuilders.py | qwaneu/quiltz | c6e5319848e44690de9ef292de88f6c71d53cf7f | [
"MIT"
] | null | null | null | src/quiltz/id/testbuilders.py | qwaneu/quiltz | c6e5319848e44690de9ef292de88f6c71d53cf7f | [
"MIT"
] | null | null | null | import warnings
warnings.warn("deprecated - use id.testbuilders from quiltz-domain instead", DeprecationWarning)
from quiltz.id import ID
import uuid
def aValidUUID(simpleIdValue):
return uuid.UUID("{:>32}".format(simpleIdValue).replace(' ', '1'))
def aValidID(simpleIdValue):
return ID(aValidUUID(simpleIdVal... | 29.545455 | 96 | 0.763077 | 38 | 325 | 6.526316 | 0.578947 | 0.080645 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010417 | 0.113846 | 325 | 10 | 97 | 32.5 | 0.850694 | 0 | 0 | 0 | 0 | 0 | 0.206154 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.375 | 0.25 | 0.875 | 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 | 1 | 1 | 0 | 0 | 4 |
761f3930d1350f03cce07c940434c88f15ed3ace | 194 | py | Python | psy/utils/__init__.py | cegfdb/IRT | 20fcde3b385bce1644fecab7cdc8bda5beacda03 | [
"MIT"
] | 8 | 2018-11-25T12:57:53.000Z | 2022-03-28T10:48:16.000Z | psy/utils/__init__.py | glan-wxl/IRT | 1eed348fd3a8b9c27ea72d476ab2844113468eb8 | [
"MIT"
] | null | null | null | psy/utils/__init__.py | glan-wxl/IRT | 1eed348fd3a8b9c27ea72d476ab2844113468eb8 | [
"MIT"
] | 2 | 2019-09-28T09:09:41.000Z | 2020-11-19T02:23:23.000Z | from probs import inverse_logistic, get_log_beta_pd, get_log_lognormal_pd, get_log_normal_pd, get_nodes_weights, \
r4beta
from tools import cached_property
from randoms import gen_item_bank
| 38.8 | 114 | 0.85567 | 32 | 194 | 4.71875 | 0.65625 | 0.119205 | 0.10596 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005814 | 0.113402 | 194 | 4 | 115 | 48.5 | 0.872093 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 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 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
57ffe36d3610c7acb59eb994c5e7afa8af47680e | 177 | py | Python | crslab/data/dataloader/__init__.py | shubaoyu/CRSLab | a05730e8b2c03df278587be34923fa818945d4c4 | [
"MIT"
] | 1 | 2021-03-13T11:29:23.000Z | 2021-03-13T11:29:23.000Z | crslab/data/dataloader/__init__.py | cy333/CRSLab | f4fded43c65b71045eb0ebb922c05753ec6c9db5 | [
"MIT"
] | null | null | null | crslab/data/dataloader/__init__.py | cy333/CRSLab | f4fded43c65b71045eb0ebb922c05753ec6c9db5 | [
"MIT"
] | 1 | 2021-03-28T11:02:05.000Z | 2021-03-28T11:02:05.000Z | from .base import BaseDataLoader
from .kbrd import KBRDDataLoader
from .kgsf import KGSFDataLoader
from .redial import ReDialDataLoader
from .tgredial import TGReDialDataLoader
| 29.5 | 40 | 0.858757 | 20 | 177 | 7.6 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112994 | 177 | 5 | 41 | 35.4 | 0.968153 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
521de77f8050dbffc505370f87ff8bc71ec3c853 | 62 | py | Python | toki/Kelas Pembelajaran Pemrograman/1. Pemrograman Dasar/12. Rekursi/E.py | andraantariksa/code-exercise-answer | 69b7dbdc081cdb094cb110a72bc0c9242d3d344d | [
"MIT"
] | 1 | 2019-11-06T15:17:48.000Z | 2019-11-06T15:17:48.000Z | toki/Kelas Pembelajaran Pemrograman/1. Pemrograman Dasar/12. Rekursi/E.py | andraantariksa/code-exercise-answer | 69b7dbdc081cdb094cb110a72bc0c9242d3d344d | [
"MIT"
] | null | null | null | toki/Kelas Pembelajaran Pemrograman/1. Pemrograman Dasar/12. Rekursi/E.py | andraantariksa/code-exercise-answer | 69b7dbdc081cdb094cb110a72bc0c9242d3d344d | [
"MIT"
] | 1 | 2018-11-13T08:43:26.000Z | 2018-11-13T08:43:26.000Z | '''input
73
'''
print(str(bin(int(input('')))).split('0b')[1]) | 15.5 | 46 | 0.548387 | 10 | 62 | 3.4 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067797 | 0.048387 | 62 | 4 | 46 | 15.5 | 0.508475 | 0.129032 | 0 | 0 | 0 | 0 | 0.041667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
5227ae6e15bbe0f1ac6e44aba38db00732e259da | 236 | py | Python | emukit/quadrature/interfaces/__init__.py | ndalchau/emukit | eb6754ea016a7cd82b275bb4075676b5ed662634 | [
"Apache-2.0"
] | 152 | 2020-10-24T13:12:57.000Z | 2022-03-25T11:35:41.000Z | emukit/quadrature/interfaces/__init__.py | Tony-Chiong/emukit | a068c8d5e06b2ae8b038f67bf2e4f66c4d91651a | [
"Apache-2.0"
] | 87 | 2020-10-26T10:29:25.000Z | 2022-03-04T11:17:59.000Z | emukit/quadrature/interfaces/__init__.py | Tony-Chiong/emukit | a068c8d5e06b2ae8b038f67bf2e4f66c4d91651a | [
"Apache-2.0"
] | 41 | 2020-10-24T11:59:21.000Z | 2022-03-22T17:08:30.000Z | # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
from .base_gp import IBaseGaussianProcess # noqa: F401
from .standard_kernels import IRBF, IStandardKernel # noqa: F401
| 33.714286 | 73 | 0.779661 | 32 | 236 | 5.6875 | 0.875 | 0.087912 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059113 | 0.139831 | 236 | 6 | 74 | 39.333333 | 0.837438 | 0.54661 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
525124f3a1434d6b9bd6f76c1f9e2d4003a7a72e | 261 | py | Python | ctapipe/image/muon/__init__.py | cta-sst-1m/ctapipe | 10b058f8dcc166177d1eb5b2af638ca37722a021 | [
"BSD-3-Clause"
] | 1 | 2020-05-18T12:41:51.000Z | 2020-05-18T12:41:51.000Z | ctapipe/image/muon/__init__.py | cta-sst-1m/ctapipe | 10b058f8dcc166177d1eb5b2af638ca37722a021 | [
"BSD-3-Clause"
] | null | null | null | ctapipe/image/muon/__init__.py | cta-sst-1m/ctapipe | 10b058f8dcc166177d1eb5b2af638ca37722a021 | [
"BSD-3-Clause"
] | 1 | 2021-07-08T16:15:13.000Z | 2021-07-08T16:15:13.000Z | from .fitting import kundu_chaudhuri_circle_fit
from .features import *
from .ring_fitter import MuonRingFitter
from .intensity_fitter import MuonIntensityFitter
__all__ = [
'MuonIntensityFitter',
'MuonRingFitter',
'kundu_chaudhuri_circle_fit',
]
| 21.75 | 49 | 0.793103 | 27 | 261 | 7.222222 | 0.518519 | 0.14359 | 0.205128 | 0.235897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141762 | 261 | 11 | 50 | 23.727273 | 0.870536 | 0 | 0 | 0 | 0 | 0 | 0.226054 | 0.099617 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.444444 | 0 | 0.444444 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
525137fcb87c264c2e008ac31b18ca912ebefdb3 | 90 | py | Python | codes_auto/547.friend-circles.py | smartmark-pro/leetcode_record | 6504b733d892a705571eb4eac836fb10e94e56db | [
"MIT"
] | null | null | null | codes_auto/547.friend-circles.py | smartmark-pro/leetcode_record | 6504b733d892a705571eb4eac836fb10e94e56db | [
"MIT"
] | null | null | null | codes_auto/547.friend-circles.py | smartmark-pro/leetcode_record | 6504b733d892a705571eb4eac836fb10e94e56db | [
"MIT"
] | null | null | null | #
# @lc app=leetcode.cn id=547 lang=python3
#
# [547] friend-circles
#
None
# @lc code=end | 12.857143 | 41 | 0.666667 | 15 | 90 | 4 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092105 | 0.155556 | 90 | 7 | 42 | 12.857143 | 0.697368 | 0.811111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
527b12a2ca994afd7b258a2182e877d6e5a6088d | 1,390 | py | Python | src/LivestockCV/core/transform/__init__.py | peschelgroup/LivestockCV | e5746af75935d5000ba3ad26d09b6868fae76b76 | [
"MIT"
] | null | null | null | src/LivestockCV/core/transform/__init__.py | peschelgroup/LivestockCV | e5746af75935d5000ba3ad26d09b6868fae76b76 | [
"MIT"
] | null | null | null | src/LivestockCV/core/transform/__init__.py | peschelgroup/LivestockCV | e5746af75935d5000ba3ad26d09b6868fae76b76 | [
"MIT"
] | null | null | null | from LivestockCV.core.transform.color_correction import get_color_matrix
from LivestockCV.core.transform.color_correction import get_matrix_m
from LivestockCV.core.transform.color_correction import calc_transformation_matrix
from LivestockCV.core.transform.color_correction import apply_transformation_matrix
from Livest... | 66.190476 | 107 | 0.84964 | 174 | 1,390 | 6.471264 | 0.172414 | 0.199822 | 0.253108 | 0.373002 | 0.492007 | 0.492007 | 0.492007 | 0.31794 | 0.122558 | 0 | 0 | 0 | 0.081295 | 1,390 | 20 | 108 | 69.5 | 0.881754 | 0 | 0 | 0 | 0 | 0 | 0.164748 | 0.070504 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.789474 | 0 | 0.789474 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
528ecbef039d0c804e5e9e379524884289148c4d | 194 | py | Python | backend/user/api/serializers.py | salva-imm/story- | 6228634c18ebbf447add5069d39aa8ce040f3cd1 | [
"MIT"
] | null | null | null | backend/user/api/serializers.py | salva-imm/story- | 6228634c18ebbf447add5069d39aa8ce040f3cd1 | [
"MIT"
] | null | null | null | backend/user/api/serializers.py | salva-imm/story- | 6228634c18ebbf447add5069d39aa8ce040f3cd1 | [
"MIT"
] | null | null | null | from datetime import datetime
from utils.base import BaseOrmModelSerializer
class UsersSerializer(BaseOrmModelSerializer):
id: int
username: str
email: str
join_date: datetime
| 19.4 | 46 | 0.773196 | 21 | 194 | 7.095238 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185567 | 194 | 9 | 47 | 21.555556 | 0.943038 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.285714 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.