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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
51150702021558d7b0e8d65eff5cf40e537144dc | 177 | py | Python | src/phase-3/old_test/test_postgres.py | spininertia/graph-mining-rdbms | 3b7652a99c1c0e3f4e680e04bfd08fac9708ea3f | [
"MIT"
] | null | null | null | src/phase-3/old_test/test_postgres.py | spininertia/graph-mining-rdbms | 3b7652a99c1c0e3f4e680e04bfd08fac9708ea3f | [
"MIT"
] | null | null | null | src/phase-3/old_test/test_postgres.py | spininertia/graph-mining-rdbms | 3b7652a99c1c0e3f4e680e04bfd08fac9708ea3f | [
"MIT"
] | 1 | 2018-11-16T18:23:24.000Z | 2018-11-16T18:23:24.000Z | import sys
import time
import psycopg2
if __name__ == "__main__" :
conn = psycopg2.connect(database="mydb", host="127.0.0.1", user="postgres")
print "Testing postgres." | 25.285714 | 79 | 0.700565 | 24 | 177 | 4.833333 | 0.791667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053333 | 0.152542 | 177 | 7 | 80 | 25.285714 | 0.72 | 0 | 0 | 0 | 0 | 0 | 0.258427 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.5 | null | null | 0.166667 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
5118560e2cbbc6a9f55955bf6bbbccef112f9d39 | 117 | py | Python | server/api/resources/personality/__init__.py | NUS-CS-MComp/cs-cloud-computing-music-personality | 35cc926bef83fb8be3c6af680862343a67cd6e1c | [
"Apache-2.0"
] | 2 | 2021-07-13T07:57:48.000Z | 2021-11-18T08:20:38.000Z | server/api/resources/personality/__init__.py | NUS-CS-MComp/cs-cloud-computing-music-personality | 35cc926bef83fb8be3c6af680862343a67cd6e1c | [
"Apache-2.0"
] | null | null | null | server/api/resources/personality/__init__.py | NUS-CS-MComp/cs-cloud-computing-music-personality | 35cc926bef83fb8be3c6af680862343a67cd6e1c | [
"Apache-2.0"
] | null | null | null | from .insights import PersonalityScore
from .inference import Inference
__all__ = ["PersonalityScore", "Inference"]
| 23.4 | 43 | 0.803419 | 11 | 117 | 8.181818 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 117 | 4 | 44 | 29.25 | 0.865385 | 0 | 0 | 0 | 0 | 0 | 0.213675 | 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 |
51186a142630d5376ea79fa2a81e333dca7646e8 | 133 | py | Python | run.py | TyroneZeka/Flask-Blog | 0ed5581aa2e8a633611f1f06c279efd3bbd62132 | [
"MIT"
] | null | null | null | run.py | TyroneZeka/Flask-Blog | 0ed5581aa2e8a633611f1f06c279efd3bbd62132 | [
"MIT"
] | null | null | null | run.py | TyroneZeka/Flask-Blog | 0ed5581aa2e8a633611f1f06c279efd3bbd62132 | [
"MIT"
] | null | null | null | from app import app
from db import db
db.init_app(app)
@app.before_first_request
def create_tables():
db.create_all(app=app)
| 13.3 | 26 | 0.75188 | 24 | 133 | 3.958333 | 0.5 | 0.189474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 133 | 9 | 27 | 14.777778 | 0.848214 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.333333 | 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 |
512559ca30ddda63222888ce0ee482f5e8520b02 | 113 | py | Python | export_util.py | abhinavsp0730/medium-to-fastpages | 7b1d7ec50a753e66d413402e870ab7c8e71097e1 | [
"MIT"
] | null | null | null | export_util.py | abhinavsp0730/medium-to-fastpages | 7b1d7ec50a753e66d413402e870ab7c8e71097e1 | [
"MIT"
] | null | null | null | export_util.py | abhinavsp0730/medium-to-fastpages | 7b1d7ec50a753e66d413402e870ab7c8e71097e1 | [
"MIT"
] | null | null | null | def save_md(text, path, filename):
with open(path + '/'+filename+'.md','w') as file:
file.write(text) | 37.666667 | 53 | 0.60177 | 17 | 113 | 3.941176 | 0.705882 | 0.358209 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19469 | 113 | 3 | 54 | 37.666667 | 0.736264 | 0 | 0 | 0 | 0 | 0 | 0.04386 | 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 |
5126b414d275c380ac10b0555785db16a564fe73 | 131 | py | Python | example/messages/conf.py | jpush/jmessage-api-python-client | 5d6584d5b57cb4cb862a2728aafd13d99bf327b1 | [
"MIT"
] | 12 | 2016-07-05T03:33:27.000Z | 2021-04-26T01:48:37.000Z | example/messages/conf.py | jpush/jmessage-api-python-client | 5d6584d5b57cb4cb862a2728aafd13d99bf327b1 | [
"MIT"
] | 1 | 2015-07-28T09:26:01.000Z | 2016-07-05T03:27:11.000Z | example/messages/conf.py | jpush/jmessage-api-python-client | 5d6584d5b57cb4cb862a2728aafd13d99bf327b1 | [
"MIT"
] | 9 | 2016-03-02T09:37:39.000Z | 2020-12-27T07:23:33.000Z | # please put your app_key and master_secret here
app_key = u'6be9204c30b9473e87bad4dc'
master_secret = u'a564b268ba23631a8a34e687'
| 32.75 | 48 | 0.839695 | 17 | 131 | 6.235294 | 0.705882 | 0.113208 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.264957 | 0.10687 | 131 | 3 | 49 | 43.666667 | 0.641026 | 0.351145 | 0 | 0 | 0 | 0 | 0.578313 | 0.578313 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5150ad74363f43b5a7cd2ca30990555a8db8a645 | 289 | py | Python | testplan/common/entity/__init__.py | ymn1k/testplan | b1bde8495c449d75a74a7fe4e7c6501b0476f833 | [
"Apache-2.0"
] | null | null | null | testplan/common/entity/__init__.py | ymn1k/testplan | b1bde8495c449d75a74a7fe4e7c6501b0476f833 | [
"Apache-2.0"
] | null | null | null | testplan/common/entity/__init__.py | ymn1k/testplan | b1bde8495c449d75a74a7fe4e7c6501b0476f833 | [
"Apache-2.0"
] | 1 | 2019-09-11T09:13:18.000Z | 2019-09-11T09:13:18.000Z | """Common entity implementations."""
from .base import (Entity, RunnableManager, RunnableManagerConfig,
Resource, ResourceStatus, ResourceConfig, Environment,
Runnable, RunnableStatus, RunnableConfig, RunnableResult,
FailedAction)
| 41.285714 | 76 | 0.66436 | 18 | 289 | 10.666667 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.262976 | 289 | 6 | 77 | 48.166667 | 0.901408 | 0.103806 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
51726cb18c73dbcc956c4dd6a80a097442734fdb | 427 | py | Python | tox_helpers/run_integration_tests.py | sivchand/smart_open | 35d80d3bec5324c19427ce49fa8284f5b1c2c112 | [
"MIT"
] | 2,047 | 2016-06-16T15:35:45.000Z | 2022-03-31T04:32:57.000Z | tox_helpers/run_integration_tests.py | sivchand/smart_open | 35d80d3bec5324c19427ce49fa8284f5b1c2c112 | [
"MIT"
] | 524 | 2016-06-16T09:48:14.000Z | 2022-03-30T13:21:25.000Z | tox_helpers/run_integration_tests.py | sivchand/smart_open | 35d80d3bec5324c19427ce49fa8284f5b1c2c112 | [
"MIT"
] | 308 | 2016-06-16T09:02:51.000Z | 2022-03-24T20:57:52.000Z | """Runs integration tests."""
import os
import subprocess
os.environ['PYTEST_ADDOPTS'] = "--reruns 3 --reruns-delay 1"
subprocess.check_call(
[
'pytest',
'integration-tests/test_207.py',
'integration-tests/test_http.py',
]
)
if os.environ.get('AWS_ACCESS_KEY_ID') and os.environ.get('A... | 25.117647 | 83 | 0.681499 | 57 | 427 | 4.877193 | 0.526316 | 0.230216 | 0.215827 | 0.179856 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016621 | 0.154567 | 427 | 16 | 84 | 26.6875 | 0.753463 | 0.053864 | 0 | 0 | 0 | 0 | 0.469849 | 0.288945 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.166667 | 0 | 0.166667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
517f78b899f49a376e83b2059732dc7f902aa37d | 259 | py | Python | tests/api/serializers.py | quangvinh1225/drf-generators | 4f096c89fe768939c8fe838ac0c29b24c6d11f01 | [
"MIT"
] | null | null | null | tests/api/serializers.py | quangvinh1225/drf-generators | 4f096c89fe768939c8fe838ac0c29b24c6d11f01 | [
"MIT"
] | null | null | null | tests/api/serializers.py | quangvinh1225/drf-generators | 4f096c89fe768939c8fe838ac0c29b24c6d11f01 | [
"MIT"
] | 1 | 2019-06-19T16:09:47.000Z | 2019-06-19T16:09:47.000Z | from rest_framework.serializers import ModelSerializer
from api.models import Category, Post
class CategorySerializer(ModelSerializer):
class Meta:
model = Category
class PostSerializer(ModelSerializer):
class Meta:
model = Post
| 17.266667 | 54 | 0.745174 | 26 | 259 | 7.384615 | 0.576923 | 0.208333 | 0.25 | 0.302083 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.204633 | 259 | 14 | 55 | 18.5 | 0.932039 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5182c5e901bd91d8badf1c449934e4324b12d8f0 | 808 | py | Python | ramp-utils/ramp_utils/testing.py | frcaud/ramp-board | 3df90e51a4faeb0c03bab5dc13e12311807a618e | [
"BSD-3-Clause"
] | 13 | 2019-02-16T22:30:11.000Z | 2021-01-11T10:13:47.000Z | ramp-utils/ramp_utils/testing.py | frcaud/ramp-board | 3df90e51a4faeb0c03bab5dc13e12311807a618e | [
"BSD-3-Clause"
] | 427 | 2018-11-22T22:01:47.000Z | 2022-03-15T17:35:57.000Z | ramp-utils/ramp_utils/testing.py | frcaud/ramp-board | 3df90e51a4faeb0c03bab5dc13e12311807a618e | [
"BSD-3-Clause"
] | 18 | 2018-11-22T16:22:18.000Z | 2021-12-07T14:42:41.000Z | import os
HERE = os.path.dirname(__file__)
def database_config_template():
"""Return the path a template database configuration file.
Returns
-------
filename : str
The database configuration filename.
"""
return os.path.join(HERE, "template", "database_config.yml")
def ramp_config... | 21.837838 | 64 | 0.652228 | 96 | 808 | 5.333333 | 0.229167 | 0.046875 | 0.117188 | 0.134766 | 0.791016 | 0.791016 | 0.716797 | 0.507813 | 0.386719 | 0 | 0 | 0 | 0.230198 | 808 | 36 | 65 | 22.444444 | 0.823151 | 0.471535 | 0 | 0 | 0 | 0 | 0.221264 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0.125 | 0 | 0.875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
519269c0e7088b08d6681a150fd371f9401c5c58 | 796 | py | Python | common/cards.py | castellanprime/Discard | cee2f296c23b7c9624fab280288bb4978006c7cd | [
"MIT"
] | null | null | null | common/cards.py | castellanprime/Discard | cee2f296c23b7c9624fab280288bb4978006c7cd | [
"MIT"
] | 3 | 2017-06-14T03:24:54.000Z | 2017-06-19T06:51:59.000Z | common/cards.py | castellanprime/Discard | cee2f296c23b7c9624fab280288bb4978006c7cd | [
"MIT"
] | null | null | null | class Card:
def __init__(self, card_colour, other_colour):
self.card_colour = card_colour
self.other_colour = other_colour
def __repr__(self):
return "{0}:{1}".format(self.card_colour, self.other_colour)
class NormalCard(Card):
def __init__(self, card_colour, shape_colour, shape):
super().__init__(self, ... | 27.448276 | 62 | 0.729899 | 112 | 796 | 4.633929 | 0.1875 | 0.154143 | 0.188825 | 0.17341 | 0.631985 | 0.516378 | 0.22158 | 0.22158 | 0.165703 | 0.165703 | 0 | 0.008658 | 0.129397 | 796 | 29 | 63 | 27.448276 | 0.74026 | 0 | 0 | 0.238095 | 0 | 0 | 0.031368 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.142857 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
51befe202328a36029801b78064bcd15dcaa1b4c | 461 | py | Python | test/test_initial_setting_presenter.py | pei223/labelpt | 2859ac6c58994fc09d021d674c2e1c391d73bb7f | [
"MIT"
] | 6 | 2021-03-24T12:38:16.000Z | 2022-03-05T18:55:28.000Z | test/test_initial_setting_presenter.py | pei223/labelpt | 2859ac6c58994fc09d021d674c2e1c391d73bb7f | [
"MIT"
] | 1 | 2021-09-07T13:05:55.000Z | 2021-09-07T13:05:55.000Z | test/test_initial_setting_presenter.py | pei223/labelpt | 2859ac6c58994fc09d021d674c2e1c391d73bb7f | [
"MIT"
] | null | null | null | import tempfile
from labelpt.app import is_directory_path_exist
import shutil
import unittest
class TestInitialSettingPresenter(unittest.TestCase):
def setUp(self) -> None:
self.test_dir = tempfile.mkdtemp()
def tearDown(self) -> None:
shutil.rmtree(self.test_dir)
def test_is_directory_... | 25.611111 | 65 | 0.744035 | 57 | 461 | 5.754386 | 0.45614 | 0.134146 | 0.182927 | 0.243902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.167028 | 461 | 17 | 66 | 27.117647 | 0.854167 | 0 | 0 | 0 | 0 | 0 | 0.034707 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.25 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
51e2ea30ff76d4a99d71582979674aaff18d33f2 | 151 | py | Python | statsmodels/multivariate/api.py | nikhase/statsmodels | e1822d4513f442002816bb898ca5794785f35c32 | [
"BSD-3-Clause"
] | 34 | 2018-07-13T11:30:46.000Z | 2022-01-05T13:48:10.000Z | statsmodels/multivariate/api.py | nikhase/statsmodels | e1822d4513f442002816bb898ca5794785f35c32 | [
"BSD-3-Clause"
] | 7 | 2015-11-20T08:33:04.000Z | 2020-07-24T19:34:39.000Z | statsmodels/multivariate/api.py | nikhase/statsmodels | e1822d4513f442002816bb898ca5794785f35c32 | [
"BSD-3-Clause"
] | 28 | 2015-04-01T20:02:25.000Z | 2021-07-03T00:09:28.000Z |
from .pca import PCA
from .manova import MANOVA
from .factor import Factor, FactorResults
from .cancorr import CanCorr
from . import factor_rotation
| 18.875 | 41 | 0.807947 | 21 | 151 | 5.761905 | 0.380952 | 0.198347 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152318 | 151 | 7 | 42 | 21.571429 | 0.945313 | 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 |
51fbf7fafe3172777779843e774f7474ff769ec4 | 1,936 | py | Python | angular_scaffold/management/commands/helpers/_generate_debugger.py | juanfe/django-angular-scaffold | 6425880d2198df22966e05509a01f09ec8f43e1a | [
"MIT"
] | 4 | 2015-02-03T06:48:43.000Z | 2015-05-27T15:31:56.000Z | angular_scaffold/management/commands/helpers/_generate_debugger.py | juanfe/django-angular-scaffold | 6425880d2198df22966e05509a01f09ec8f43e1a | [
"MIT"
] | 13 | 2015-01-08T14:12:38.000Z | 2021-06-10T17:44:37.000Z | angular_scaffold/management/commands/helpers/_generate_debugger.py | juanfe/django-angular-scaffold | 6425880d2198df22966e05509a01f09ec8f43e1a | [
"MIT"
] | 1 | 2018-02-25T17:50:55.000Z | 2018-02-25T17:50:55.000Z | import os
import hashlib
def generate_debugger(directory, password):
m = hashlib.md5()
m.update(password)
password_hash = m.hexdigest()
logger_file = os.path.join(directory, 'assets', 'app', 'config', 'logger.js')
print "Creating: " + logger_file
with open(logger_file, 'w') as f:
f.writ... | 37.230769 | 100 | 0.646178 | 238 | 1,936 | 5.214286 | 0.470588 | 0.024174 | 0.032232 | 0.061241 | 0.071716 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005784 | 0.196281 | 1,936 | 52 | 101 | 37.230769 | 0.791774 | 0 | 0 | 0.044444 | 1 | 0.022222 | 0.719153 | 0.215798 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.266667 | 0.044444 | null | null | 0.022222 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
a40b084e2c4074af561e1c37f9c6269bef2cf197 | 96 | py | Python | scrapelin/__init__.py | MichaelYusko/scrapelin | aec50e2a2208e47b90f07f4b9215f116bcecaa24 | [
"MIT"
] | null | null | null | scrapelin/__init__.py | MichaelYusko/scrapelin | aec50e2a2208e47b90f07f4b9215f116bcecaa24 | [
"MIT"
] | null | null | null | scrapelin/__init__.py | MichaelYusko/scrapelin | aec50e2a2208e47b90f07f4b9215f116bcecaa24 | [
"MIT"
] | null | null | null | """
:copyright: Michael Yusko a.k.a Ken Kaneki
:license: MIT, see LICENSE for more details.
"""
| 19.2 | 44 | 0.697917 | 15 | 96 | 4.466667 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 96 | 4 | 45 | 24 | 0.82716 | 0.90625 | 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 |
cfab8c1366bf1027c9e7933cca31063c4e61a8f0 | 19 | py | Python | restapi/apis.py | reindexer/django-restapi | 5f88e60b17aefa904b3b8247286f3199776b0b7b | [
"MIT"
] | 2 | 2019-02-25T02:08:45.000Z | 2019-03-01T09:18:27.000Z | restapi/apis.py | reindexer/django-restapi | 5f88e60b17aefa904b3b8247286f3199776b0b7b | [
"MIT"
] | null | null | null | restapi/apis.py | reindexer/django-restapi | 5f88e60b17aefa904b3b8247286f3199776b0b7b | [
"MIT"
] | null | null | null |
all_apis = []
| 2.714286 | 13 | 0.421053 | 2 | 19 | 3.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.421053 | 19 | 6 | 14 | 3.166667 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
320406f57404ea3427c3bd03cc3d328a4b11b872 | 116 | py | Python | stock_notifier/__init__.py | saswatraj/stock_notifier | f0b05acf77acd6605b4d022e64ddd747d9a5540f | [
"MIT"
] | null | null | null | stock_notifier/__init__.py | saswatraj/stock_notifier | f0b05acf77acd6605b4d022e64ddd747d9a5540f | [
"MIT"
] | null | null | null | stock_notifier/__init__.py | saswatraj/stock_notifier | f0b05acf77acd6605b4d022e64ddd747d9a5540f | [
"MIT"
] | null | null | null | #!/usr/bin/env python2
# -*- coding: utf-8 -*-
"""
Package file for Stock Notifier package.
@author: rajsaswa
"""
| 12.888889 | 40 | 0.637931 | 15 | 116 | 4.933333 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020619 | 0.163793 | 116 | 8 | 41 | 14.5 | 0.742268 | 0.887931 | 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 |
3206c1d6a707fa927cdc2f398e71a4490359c21e | 144 | py | Python | pyweno/__init__.py | alexfikl/PyWENO | 224fe7459f00578728b151531367c67c62f57c2b | [
"BSD-3-Clause"
] | 1 | 2020-09-21T07:10:53.000Z | 2020-09-21T07:10:53.000Z | pyweno/__init__.py | alexfikl/PyWENO | 224fe7459f00578728b151531367c67c62f57c2b | [
"BSD-3-Clause"
] | null | null | null | pyweno/__init__.py | alexfikl/PyWENO | 224fe7459f00578728b151531367c67c62f57c2b | [
"BSD-3-Clause"
] | 1 | 2017-12-19T18:04:06.000Z | 2017-12-19T18:04:06.000Z | """The PyWENO module."""
import points
import kernels
import nonuniform
import symbolic
import symbols
import version
import weno
import cweno
| 13.090909 | 24 | 0.8125 | 19 | 144 | 6.157895 | 0.631579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138889 | 144 | 10 | 25 | 14.4 | 0.943548 | 0.125 | 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 | 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 |
3210e1efb037f8efd72a8c48d4dbe2795294b8d9 | 29 | py | Python | src/tests/__init__.py | miguelarbesu/asd-asd | 3bfc517469075b7a81a4d715759cff2bbbf7ac67 | [
"MIT"
] | null | null | null | src/tests/__init__.py | miguelarbesu/asd-asd | 3bfc517469075b7a81a4d715759cff2bbbf7ac67 | [
"MIT"
] | null | null | null | src/tests/__init__.py | miguelarbesu/asd-asd | 3bfc517469075b7a81a4d715759cff2bbbf7ac67 | [
"MIT"
] | null | null | null | """Test suite for asd asd"""
| 14.5 | 28 | 0.62069 | 5 | 29 | 3.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 29 | 1 | 29 | 29 | 0.75 | 0.758621 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5c67f6bc6f98601a99c14496879193c43c60e311 | 66 | py | Python | remarshal/remarshal.py | sseveran/rules_poetry | 9c4e9594b33eb4cf6d3cefa72a91340a07890d95 | [
"MIT"
] | 39 | 2019-11-01T12:59:07.000Z | 2022-03-31T23:38:55.000Z | remarshal/remarshal.py | sseveran/rules_poetry | 9c4e9594b33eb4cf6d3cefa72a91340a07890d95 | [
"MIT"
] | 9 | 2020-02-20T20:32:07.000Z | 2022-02-11T20:35:56.000Z | remarshal/remarshal.py | sseveran/rules_poetry | 9c4e9594b33eb4cf6d3cefa72a91340a07890d95 | [
"MIT"
] | 9 | 2019-12-10T06:01:30.000Z | 2021-11-29T02:13:42.000Z | import remarshal
if __name__ == '__main__':
remarshal.main()
| 13.2 | 26 | 0.69697 | 7 | 66 | 5.428571 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 66 | 4 | 27 | 16.5 | 0.703704 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 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 |
5c7441284e9401c24929da7fe0067c2faf6de001 | 16,109 | py | Python | src/command_modules/azure-cli-dla/azure/cli/command_modules/dla/_help.py | viananth/azure-cli | 4d23492ed03e946cfc11bae23b29acb971fb137d | [
"MIT"
] | null | null | null | src/command_modules/azure-cli-dla/azure/cli/command_modules/dla/_help.py | viananth/azure-cli | 4d23492ed03e946cfc11bae23b29acb971fb137d | [
"MIT"
] | null | null | null | src/command_modules/azure-cli-dla/azure/cli/command_modules/dla/_help.py | viananth/azure-cli | 4d23492ed03e946cfc11bae23b29acb971fb137d | [
"MIT"
] | null | null | null | # --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------... | 35.877506 | 173 | 0.65901 | 2,091 | 16,109 | 5.076518 | 0.118125 | 0.109656 | 0.078474 | 0.071503 | 0.765803 | 0.739143 | 0.709279 | 0.623928 | 0.593877 | 0.560622 | 0 | 0.000081 | 0.237259 | 16,109 | 448 | 174 | 35.957589 | 0.86384 | 0.020858 | 0 | 0.574026 | 0 | 0.038961 | 0.925799 | 0.020421 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.002597 | 0.002597 | 0 | 0.002597 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5c9b52ccf58f73edfe2c5e8ebc33947aaa46a559 | 152 | py | Python | _sadm/plugin/skel/__init__.py | jrmsdev/pysadm | 0d6b3f0c8d870d83ab499c8d9487ec8e3a89fc37 | [
"BSD-3-Clause"
] | 1 | 2019-10-15T08:37:56.000Z | 2019-10-15T08:37:56.000Z | _sadm/plugin/skel/__init__.py | jrmsdev/pysadm | 0d6b3f0c8d870d83ab499c8d9487ec8e3a89fc37 | [
"BSD-3-Clause"
] | null | null | null | _sadm/plugin/skel/__init__.py | jrmsdev/pysadm | 0d6b3f0c8d870d83ab499c8d9487ec8e3a89fc37 | [
"BSD-3-Clause"
] | null | null | null | # Copyright (c) Jeremías Casteglione <jrmsdev@gmail.com>
# See LICENSE file.
### from _sadm.configure import register
### register(__name__, __file__)
| 25.333333 | 56 | 0.75 | 18 | 152 | 5.833333 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 152 | 5 | 57 | 30.4 | 0.789474 | 0.907895 | 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 |
5cc0c08576597869dc0c817b614d7f085d4f80d4 | 183 | py | Python | src/ffmeta/__init__.py | stephen-bunn/ffmeta | c6bd991fa8cffeb2c4a92dddb674bd9f52727172 | [
"0BSD"
] | null | null | null | src/ffmeta/__init__.py | stephen-bunn/ffmeta | c6bd991fa8cffeb2c4a92dddb674bd9f52727172 | [
"0BSD"
] | null | null | null | src/ffmeta/__init__.py | stephen-bunn/ffmeta | c6bd991fa8cffeb2c4a92dddb674bd9f52727172 | [
"0BSD"
] | null | null | null | # -*- encoding: utf-8 -*-
# Copyright (c) 2021 st37 <st37@tuta.io>
# ISC License <https://choosealicense.com/licenses/isc>
"""FFMeta.
Tool to write media metadata using ffmpeg.
"""
| 20.333333 | 55 | 0.677596 | 25 | 183 | 4.96 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057325 | 0.142077 | 183 | 8 | 56 | 22.875 | 0.732484 | 0.923497 | 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 |
5cca0acadbbfd62c60066d05ca9c214f37b6d63a | 202 | py | Python | components/services/appengine/stub/beaker/exceptions.py | appcelerator-archive/entourage | 2f8f9b648a51e043693e9a884673aea20c339e45 | [
"Apache-2.0"
] | 1 | 2021-02-23T11:22:17.000Z | 2021-02-23T11:22:17.000Z | components/services/appengine/stub/beaker/exceptions.py | appcelerator/entourage | 2f8f9b648a51e043693e9a884673aea20c339e45 | [
"Apache-2.0"
] | null | null | null | components/services/appengine/stub/beaker/exceptions.py | appcelerator/entourage | 2f8f9b648a51e043693e9a884673aea20c339e45 | [
"Apache-2.0"
] | null | null | null | class BeakerException(Exception):
pass
class InvalidCacheBackendError(BeakerException):
pass
class MissingCacheParameter(BeakerException):
pass
class LockError(BeakerException):
pass
| 16.833333 | 48 | 0.787129 | 16 | 202 | 9.9375 | 0.4375 | 0.169811 | 0.301887 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153465 | 202 | 11 | 49 | 18.363636 | 0.929825 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
7a7188ae015c82e81a469b50d7196bfe1d30bb3c | 16,254 | py | Python | goutdotcom/treatment/models.py | Spiewart/goutdotcom | 0916155732a72fcb8c8a2fb0f4dd81efef618af8 | [
"MIT"
] | null | null | null | goutdotcom/treatment/models.py | Spiewart/goutdotcom | 0916155732a72fcb8c8a2fb0f4dd81efef618af8 | [
"MIT"
] | null | null | null | goutdotcom/treatment/models.py | Spiewart/goutdotcom | 0916155732a72fcb8c8a2fb0f4dd81efef618af8 | [
"MIT"
] | null | null | null | from datetime import datetime, timezone
from decimal import *
from django.conf import settings
from django.core.validators import MaxValueValidator, MinValueValidator
from django.db import models
from django.db.models.fields.related import ForeignKey
from django.urls import reverse
from django.utils import timezone
fr... | 48.088757 | 301 | 0.710902 | 2,126 | 16,254 | 5.273283 | 0.112888 | 0.043707 | 0.09794 | 0.130586 | 0.752386 | 0.741058 | 0.722505 | 0.697172 | 0.690215 | 0.677192 | 0 | 0.017733 | 0.177741 | 16,254 | 337 | 302 | 48.231454 | 0.8211 | 0.001477 | 0 | 0.409722 | 0 | 0.052083 | 0.196635 | 0.029086 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038194 | false | 0 | 0.045139 | 0.013889 | 0.614583 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
8fa12a74d82ced4425d6a507dddf6630a3512344 | 200 | py | Python | soccerpy/modules/Fundamentals/links/fixture_links.py | SlapBot/soccerpy | e70cd9bf2ad130f004d85328a83deba0815461bd | [
"MIT"
] | null | null | null | soccerpy/modules/Fundamentals/links/fixture_links.py | SlapBot/soccerpy | e70cd9bf2ad130f004d85328a83deba0815461bd | [
"MIT"
] | 1 | 2017-07-18T17:04:58.000Z | 2017-07-19T02:02:46.000Z | soccerpy/modules/Fundamentals/links/fixture_links.py | SlapBot/soccerpy | e70cd9bf2ad130f004d85328a83deba0815461bd | [
"MIT"
] | 1 | 2018-08-17T23:51:31.000Z | 2018-08-17T23:51:31.000Z | from soccerpy.modules.Fundamentals.links.base_links import BaseLinks
class FixtureLinks(BaseLinks):
def __init__(self, request):
super(FixtureLinks, self).__init__(request)
pass
| 25 | 68 | 0.745 | 22 | 200 | 6.363636 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17 | 200 | 7 | 69 | 28.571429 | 0.843373 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.2 | 0.2 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
8fb3c7f915a82e01be05a75b18535bc564a28a61 | 200 | py | Python | graphapi/schema.py | johnseekins/openstates.org | 197c6a6341a6a469807cf2085b29d4196fec9e8d | [
"MIT"
] | 51 | 2016-12-09T12:26:10.000Z | 2022-03-09T02:22:14.000Z | graphapi/schema.py | johnseekins/openstates.org | 197c6a6341a6a469807cf2085b29d4196fec9e8d | [
"MIT"
] | 187 | 2016-11-07T22:09:22.000Z | 2022-01-21T16:48:41.000Z | graphapi/schema.py | johnseekins/openstates.org | 197c6a6341a6a469807cf2085b29d4196fec9e8d | [
"MIT"
] | 66 | 2017-01-30T23:33:20.000Z | 2022-03-02T20:21:28.000Z | import graphene
from .legislative import LegislativeQuery
from .core import CoreQuery
class Query(LegislativeQuery, CoreQuery, graphene.ObjectType):
pass
schema = graphene.Schema(query=Query)
| 18.181818 | 62 | 0.805 | 22 | 200 | 7.318182 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13 | 200 | 10 | 63 | 20 | 0.925287 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.166667 | 0.5 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
8ff62a77052d306e197faf89b9612d5a162f0240 | 100 | py | Python | lmsapi/api_netdevice/apps.py | orkasolutions-develop/lms-api-new | c9e5a2d98874a4a7415002397048258526a94644 | [
"MIT"
] | null | null | null | lmsapi/api_netdevice/apps.py | orkasolutions-develop/lms-api-new | c9e5a2d98874a4a7415002397048258526a94644 | [
"MIT"
] | null | null | null | lmsapi/api_netdevice/apps.py | orkasolutions-develop/lms-api-new | c9e5a2d98874a4a7415002397048258526a94644 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class ApiNetdeviceConfig(AppConfig):
name = 'api_netdevice'
| 16.666667 | 36 | 0.78 | 11 | 100 | 7 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 100 | 5 | 37 | 20 | 0.905882 | 0 | 0 | 0 | 0 | 0 | 0.13 | 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 |
8f1471b28c682dc9369ffe164c8c4251d66da289 | 111 | py | Python | app/interfaces/i_parser.py | heatonk/caldera_pathfinder | d12fde8636af32f02717b1289e55a7ca89f77585 | [
"Apache-2.0"
] | 71 | 2020-10-13T13:36:03.000Z | 2022-03-27T20:35:14.000Z | app/interfaces/i_parser.py | heatonk/caldera_pathfinder | d12fde8636af32f02717b1289e55a7ca89f77585 | [
"Apache-2.0"
] | 23 | 2020-11-06T16:01:32.000Z | 2022-03-31T19:13:06.000Z | app/interfaces/i_parser.py | heatonk/caldera_pathfinder | d12fde8636af32f02717b1289e55a7ca89f77585 | [
"Apache-2.0"
] | 19 | 2020-10-19T14:11:40.000Z | 2022-03-08T19:23:03.000Z | import abc
class ParserInterface(abc.ABC):
@abc.abstractmethod
def parse(self, report):
pass
| 13.875 | 31 | 0.666667 | 13 | 111 | 5.692308 | 0.769231 | 0.162162 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.243243 | 111 | 7 | 32 | 15.857143 | 0.880952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.2 | 0.2 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
8f15d06fbdee7f91e86e694b8e3b43d2dc71ed15 | 141 | py | Python | filters/tests/test_mixins.py | jof/drf-url-filters | ebac358729bcd9aa70537247b2ccd6005f5678c1 | [
"MIT"
] | 176 | 2016-04-09T19:47:29.000Z | 2022-02-28T03:13:08.000Z | filters/tests/test_mixins.py | jof/drf-url-filters | ebac358729bcd9aa70537247b2ccd6005f5678c1 | [
"MIT"
] | 19 | 2016-04-10T19:13:03.000Z | 2021-06-25T15:23:34.000Z | filters/tests/test_mixins.py | jof/drf-url-filters | ebac358729bcd9aa70537247b2ccd6005f5678c1 | [
"MIT"
] | 27 | 2016-04-10T20:32:27.000Z | 2022-01-07T11:10:51.000Z | import unittest
from filters.mixins import FiltersMixin
class MyTest(unittest.TestCase):
def test(self):
self.assertEqual(4, 4)
| 20.142857 | 39 | 0.737589 | 18 | 141 | 5.777778 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017241 | 0.177305 | 141 | 6 | 40 | 23.5 | 0.87931 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
8f57e5d1afcc2921fc3678b16035c9b631898f54 | 292 | py | Python | tests/test_console_script.py | MapleCCC/importall | 213a982665963a61515fd020e6d9ad702b7e9ec7 | [
"MIT"
] | null | null | null | tests/test_console_script.py | MapleCCC/importall | 213a982665963a61515fd020e6d9ad702b7e9ec7 | [
"MIT"
] | null | null | null | tests/test_console_script.py | MapleCCC/importall | 213a982665963a61515fd020e6d9ad702b7e9ec7 | [
"MIT"
] | null | null | null | from runpy import run_module
import pytest
from .subtest import _test_stdlib_symbols_in_namespace
# TODO do some research about how to test an interactive CLI application
@pytest.mark.xfail
def test_console_script() -> None:
_test_stdlib_symbols_in_namespace(run_module("importall"))
| 24.333333 | 72 | 0.818493 | 43 | 292 | 5.232558 | 0.697674 | 0.08 | 0.151111 | 0.168889 | 0.248889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126712 | 292 | 11 | 73 | 26.545455 | 0.882353 | 0.239726 | 0 | 0 | 0 | 0 | 0.040909 | 0 | 0 | 0 | 0 | 0.090909 | 0 | 1 | 0.166667 | true | 0 | 0.666667 | 0 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
56b1ac6b08e6fcdf66bd4ce753adbad153655c08 | 472 | py | Python | drlnd/core/common/path.py | yycho0108/DRLND_Core | 79117bd933b6cbf9f74e3356f5e1b8b156173cdc | [
"MIT"
] | null | null | null | drlnd/core/common/path.py | yycho0108/DRLND_Core | 79117bd933b6cbf9f74e3356f5e1b8b156173cdc | [
"MIT"
] | null | null | null | drlnd/core/common/path.py | yycho0108/DRLND_Core | 79117bd933b6cbf9f74e3356f5e1b8b156173cdc | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
from pathlib import Path
def get_project_root() -> Path:
"""
Get project root directory with assumed structure as:
${PACKAGE_ROOT}/core/common/path.py
"""
return Path(__file__).resolve().parent.parent.parent
def get_config_file() -> Path:
"""
Get default config fi... | 17.481481 | 57 | 0.65678 | 61 | 472 | 4.737705 | 0.540984 | 0.138408 | 0.193772 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00266 | 0.20339 | 472 | 26 | 58 | 18.153846 | 0.765957 | 0.288136 | 0 | 0 | 0 | 0 | 0.10299 | 0.076412 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.111111 | 0 | 0.666667 | 0.111111 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
56decf96ce700d5ccf38e002184fc318227b1854 | 1,917 | py | Python | cpc/entity/Entity.py | U-Ar/Cpresto | f723458fb237c9e3e8bc8a6afdf7c81858a65363 | [
"BSD-3-Clause"
] | 1 | 2021-05-09T07:10:19.000Z | 2021-05-09T07:10:19.000Z | cpc/entity/Entity.py | U-Ar/Cpresto | f723458fb237c9e3e8bc8a6afdf7c81858a65363 | [
"BSD-3-Clause"
] | null | null | null | cpc/entity/Entity.py | U-Ar/Cpresto | f723458fb237c9e3e8bc8a6afdf7c81858a65363 | [
"BSD-3-Clause"
] | null | null | null | from abc import ABCMeta,abstractmethod
from abst.Dumpable import Dumpable
class Entity(Dumpable):
def __init__(self,priv,t,name):
self._name = name
self._is_private = priv
self._type_node = t
self.n_refered = 0
self._memref = None
self._address = None
def na... | 21.784091 | 68 | 0.590506 | 227 | 1,917 | 4.770925 | 0.242291 | 0.10157 | 0.116343 | 0.083102 | 0.116343 | 0.055402 | 0 | 0 | 0 | 0 | 0 | 0.002299 | 0.319249 | 1,917 | 88 | 69 | 21.784091 | 0.827586 | 0 | 0 | 0.21875 | 0 | 0 | 0.020855 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0.0625 | 0.03125 | 0.171875 | 0.625 | 0.015625 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
56f02f050c195d82acf89d2fc4b3c6b19bcdc054 | 217 | py | Python | access_audit/middleware.py | cforlando/intake | a5233d5c0f862f28ee265b9b4831405aabeec7e2 | [
"MIT"
] | 51 | 2016-07-20T02:26:57.000Z | 2021-07-07T14:45:06.000Z | access_audit/middleware.py | enterstudio/intake | 793a8935914fdc8356321ec46e54d9ae1eeeee04 | [
"MIT"
] | 1,091 | 2016-04-29T18:07:45.000Z | 2021-04-19T18:39:39.000Z | access_audit/middleware.py | enterstudio/intake | 793a8935914fdc8356321ec46e54d9ae1eeeee04 | [
"MIT"
] | 24 | 2016-06-14T18:10:43.000Z | 2021-11-14T20:26:39.000Z | from intake.middleware import MiddlewareBase
from easyaudit.middleware.easyaudit import clear_request
class ClearRequestMiddleware(MiddlewareBase):
def process_response(self, response):
clear_request()
| 24.111111 | 56 | 0.81106 | 22 | 217 | 7.863636 | 0.636364 | 0.138728 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133641 | 217 | 8 | 57 | 27.125 | 0.920213 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
56f1cad880fc4e9fa6b9a3f61a0a51f3a4cc8106 | 301 | py | Python | service/category_blacklist.py | chongiadung/choinho | d2a216fe7a5064d73cdee3e928a7beef7f511fd1 | [
"MIT"
] | null | null | null | service/category_blacklist.py | chongiadung/choinho | d2a216fe7a5064d73cdee3e928a7beef7f511fd1 | [
"MIT"
] | 10 | 2020-02-11T23:34:28.000Z | 2022-03-11T23:16:12.000Z | service/category_blacklist.py | chongiadung/choinho | d2a216fe7a5064d73cdee3e928a7beef7f511fd1 | [
"MIT"
] | 3 | 2018-08-05T14:54:25.000Z | 2021-06-07T01:49:59.000Z | #!/usr/bin/env python
# encoding: utf-8
BLACKLIST = ['_home', '_trang_chủ', '_sản_phẩm', '_products', '_sản_phẩm_a', '_tháng_07', '_tất_cả', '_nhãn_hiệu', '_tất_cả_sản_phẩm', '_khác', '_sản_phẩm_đã_xem', '_sản_phẩm_cùng_lĩnh_vực', '_ls', '_sản_phẩm_cùng_loại', '_hàng_có_sẵn', '_tìm_theo_thương_hiệu'] | 100.333333 | 261 | 0.734219 | 49 | 301 | 3.673469 | 0.714286 | 0.233333 | 0.122222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010753 | 0.07309 | 301 | 3 | 261 | 100.333333 | 0.634409 | 0.119601 | 0 | 0 | 0 | 0 | 0.700758 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
56ff8c23085ab821e5c91fc1e8ed847c4e3db32a | 126 | py | Python | excel_text/__init__.py | AutoActuary/excel-text | b25ec52d74cac54de480b67a4b9db5bac618606e | [
"MIT"
] | null | null | null | excel_text/__init__.py | AutoActuary/excel-text | b25ec52d74cac54de480b67a4b9db5bac618606e | [
"MIT"
] | 4 | 2021-10-20T09:58:41.000Z | 2021-11-30T12:12:10.000Z | excel_text/__init__.py | AutoActuary/excel-text | b25ec52d74cac54de480b67a4b9db5bac618606e | [
"MIT"
] | null | null | null | from excel_text.factory import get_text_function
text = get_text_function({"decimal": ".", "thousands": ",", "raise": True})
| 31.5 | 75 | 0.714286 | 16 | 126 | 5.3125 | 0.6875 | 0.164706 | 0.352941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103175 | 126 | 3 | 76 | 42 | 0.752212 | 0 | 0 | 0 | 0 | 0 | 0.18254 | 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 |
712d4c6e113e6f8c2ec536194c89157cd380f60a | 415 | py | Python | src/pyrin/security/session/component.py | wilsonGmn/pyrin | 25dbe3ce17e80a43eee7cfc7140b4c268a6948e0 | [
"BSD-3-Clause"
] | null | null | null | src/pyrin/security/session/component.py | wilsonGmn/pyrin | 25dbe3ce17e80a43eee7cfc7140b4c268a6948e0 | [
"BSD-3-Clause"
] | null | null | null | src/pyrin/security/session/component.py | wilsonGmn/pyrin | 25dbe3ce17e80a43eee7cfc7140b4c268a6948e0 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
"""
session component module.
"""
from pyrin.application.decorators import component
from pyrin.security.session import SessionPackage
from pyrin.security.session.manager import SessionManager
from pyrin.application.structs import Component
@component(SessionPackage.COMPONENT_NAME)
class Sess... | 23.055556 | 57 | 0.771084 | 43 | 415 | 7.418605 | 0.465116 | 0.112853 | 0.125392 | 0.15047 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002778 | 0.13253 | 415 | 17 | 58 | 24.411765 | 0.883333 | 0.175904 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.142857 | 0.571429 | 0 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
8543aadef6713e050e259188b804d73402ebf37a | 724 | py | Python | architectures/providers/kubernetes/controlplane.py | marinmuso/architectures | d824056e6e69cdb06db31562a1fb71af058892c0 | [
"MIT"
] | 15 | 2021-01-18T02:46:12.000Z | 2021-08-23T20:10:22.000Z | architectures/providers/kubernetes/controlplane.py | marinmuso/architectures | d824056e6e69cdb06db31562a1fb71af058892c0 | [
"MIT"
] | 77 | 2021-01-11T05:01:30.000Z | 2021-08-15T22:39:19.000Z | architectures/providers/kubernetes/controlplane.py | marinmuso/architectures | d824056e6e69cdb06db31562a1fb71af058892c0 | [
"MIT"
] | 2 | 2021-01-10T19:28:13.000Z | 2021-08-12T19:06:45.000Z | # Do not modify this file directly. It is auto-generated with Python.
from architectures.providers import _Kubernetes
class _Controlplane(_Kubernetes):
_service_type = "controlplane"
_icon_dir = "icons/kubernetes/controlplane"
class Sched(_Controlplane):
_icon = "sched.png"
_default_label = "Sched"
... | 23.354839 | 69 | 0.697514 | 90 | 724 | 5.266667 | 0.411111 | 0.236287 | 0.189873 | 0.050633 | 0.075949 | 0.075949 | 0 | 0 | 0 | 0 | 0 | 0 | 0.191989 | 724 | 31 | 70 | 23.354839 | 0.810256 | 0.092541 | 0 | 0 | 1 | 0 | 0.190549 | 0.044207 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.045455 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
85a43f742c430c576c5aedcbb5bfe9d7a415ba74 | 1,468 | py | Python | torchpruner/torchpruner/pruner/opt_pruner.py | germanenik/CS231N-Pruning | 65830b1b5a024d03b9e5a6b6e8aaf6501eef5aef | [
"MIT"
] | null | null | null | torchpruner/torchpruner/pruner/opt_pruner.py | germanenik/CS231N-Pruning | 65830b1b5a024d03b9e5a6b6e8aaf6501eef5aef | [
"MIT"
] | null | null | null | torchpruner/torchpruner/pruner/opt_pruner.py | germanenik/CS231N-Pruning | 65830b1b5a024d03b9e5a6b6e8aaf6501eef5aef | [
"MIT"
] | null | null | null | import torch
class OptimizerPruner:
@staticmethod
def prune(optimizer, param, axis, keep_indices, device):
if isinstance(optimizer, torch.optim.SGD):
return OptimizerPruner._prune_sgd(optimizer, param, axis, keep_indices, device)
elif isinstance(optimizer, torch.optim.Adam):
... | 44.484848 | 92 | 0.579019 | 157 | 1,468 | 5.242038 | 0.235669 | 0.119077 | 0.109356 | 0.133657 | 0.764277 | 0.764277 | 0.72175 | 0.72175 | 0.595383 | 0.595383 | 0 | 0.001947 | 0.300409 | 1,468 | 33 | 93 | 44.484848 | 0.799416 | 0.330381 | 0 | 0.5 | 0 | 0 | 0.012333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.111111 | 0.055556 | 0 | 0.388889 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
85a8c18f56352506d03fe2d796b7b0ca4a35df20 | 21 | py | Python | mat/mat1.py | vhmercadoo/pytrail | db510e59eee0a1a89f0285616a53d34bcb10b782 | [
"Apache-2.0"
] | null | null | null | mat/mat1.py | vhmercadoo/pytrail | db510e59eee0a1a89f0285616a53d34bcb10b782 | [
"Apache-2.0"
] | null | null | null | mat/mat1.py | vhmercadoo/pytrail | db510e59eee0a1a89f0285616a53d34bcb10b782 | [
"Apache-2.0"
] | null | null | null | var = 1
print (var)
| 5.25 | 11 | 0.571429 | 4 | 21 | 3 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 0.285714 | 21 | 3 | 12 | 7 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
85c864e443840cdc2ab92418fec3097d65fdefc5 | 274 | py | Python | apps/fund/permissions.py | jfterpstra/onepercentclub-site | 43e8e01ac4d3d1ffdd5959ebd048ce95bb2dba0e | [
"BSD-3-Clause"
] | 7 | 2015-01-02T19:31:14.000Z | 2021-03-22T17:30:23.000Z | apps/fund/permissions.py | gannetson/sportschooldeopenlucht | 0c78e5a95b22a963244112e478119ba60c572141 | [
"BSD-3-Clause"
] | 1 | 2015-03-06T08:34:59.000Z | 2015-03-06T08:34:59.000Z | apps/fund/permissions.py | gannetson/sportschooldeopenlucht | 0c78e5a95b22a963244112e478119ba60c572141 | [
"BSD-3-Clause"
] | null | null | null | from rest_framework import permissions
class IsUser(permissions.BasePermission):
""" Read / write permissions are only allowed if the obj.user is the logged in user. """
def has_object_permission(self, request, view, obj):
return obj.user == request.user
| 30.444444 | 92 | 0.729927 | 37 | 274 | 5.324324 | 0.756757 | 0.071066 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186131 | 274 | 8 | 93 | 34.25 | 0.883408 | 0.291971 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
a43338bb78d9bb0ea2f6813ec5112ddb5e077eaf | 7,815 | py | Python | test/test_vuelos_entrantes_aena_controller.py | SergioCMDev/Busines-Inteligence-applied-to-tourism | 61834a46fce22453e94b7bbdf8d4ecdcf128285a | [
"Apache-2.0"
] | null | null | null | test/test_vuelos_entrantes_aena_controller.py | SergioCMDev/Busines-Inteligence-applied-to-tourism | 61834a46fce22453e94b7bbdf8d4ecdcf128285a | [
"Apache-2.0"
] | null | null | null | test/test_vuelos_entrantes_aena_controller.py | SergioCMDev/Busines-Inteligence-applied-to-tourism | 61834a46fce22453e94b7bbdf8d4ecdcf128285a | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
from __future__ import absolute_import
from . import BaseTestCase
from six import BytesIO
from flask import json
class TestVuelosEntrantesAenaController(BaseTestCase):
""" VuelosEntrantesAenaController integration test stubs """
def test_obtener_cantidad_anio_ciudad(self):
"""
... | 47.944785 | 157 | 0.603583 | 764 | 7,815 | 5.998691 | 0.128272 | 0.079206 | 0.033602 | 0.052804 | 0.82326 | 0.799695 | 0.747109 | 0.701506 | 0.65372 | 0.587825 | 0 | 0.021374 | 0.299552 | 7,815 | 162 | 158 | 48.240741 | 0.815857 | 0.201536 | 0 | 0.602273 | 0 | 0 | 0.254073 | 0.1278 | 0 | 0 | 0 | 0 | 0.125 | 1 | 0.125 | false | 0 | 0.056818 | 0 | 0.193182 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a4739a6136b5c128d82591eeccc599c324add1ac | 24 | py | Python | oscar/lib/python2.7/site-packages/_pytest/__init__.py | bhav11esh/Oscar-Bookshelf | b48f088e2ed908b3603f2ecc63d602f81392eac4 | [
"BSD-3-Clause"
] | 1 | 2019-03-12T09:19:14.000Z | 2019-03-12T09:19:14.000Z | oscar/lib/python2.7/site-packages/_pytest/__init__.py | bhav11esh/Oscar-Bookshelf | b48f088e2ed908b3603f2ecc63d602f81392eac4 | [
"BSD-3-Clause"
] | 22 | 2019-01-18T02:57:36.000Z | 2019-02-24T22:38:54.000Z | oscar/lib/python2.7/site-packages/_pytest/__init__.py | bhav11esh/Oscar-Bookshelf | b48f088e2ed908b3603f2ecc63d602f81392eac4 | [
"BSD-3-Clause"
] | 1 | 2021-02-27T07:47:16.000Z | 2021-02-27T07:47:16.000Z | #
__version__ = '3.0.6'
| 8 | 21 | 0.583333 | 4 | 24 | 2.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 0.166667 | 24 | 2 | 22 | 12 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8ef7087a3489d8571b6d1bedc6b656864cb2285e | 24,210 | py | Python | blitz_api/tests/tests_view_Users.py | Jerome-Celle/Blitz-API | 7dfb7b837ed47b11afcfaa5f5aee831c1aa4e5e0 | [
"MIT"
] | null | null | null | blitz_api/tests/tests_view_Users.py | Jerome-Celle/Blitz-API | 7dfb7b837ed47b11afcfaa5f5aee831c1aa4e5e0 | [
"MIT"
] | null | null | null | blitz_api/tests/tests_view_Users.py | Jerome-Celle/Blitz-API | 7dfb7b837ed47b11afcfaa5f5aee831c1aa4e5e0 | [
"MIT"
] | null | null | null | import json
from datetime import timedelta
from unittest import mock
from rest_framework import status
from rest_framework.test import APIClient, APITestCase
from django.contrib.auth import get_user_model
from django.core import mail
from django.urls import reverse
from django.test.utils import override_settings
fr... | 31.647059 | 78 | 0.527385 | 2,297 | 24,210 | 5.402699 | 0.124946 | 0.056809 | 0.028767 | 0.040612 | 0.786704 | 0.765592 | 0.744561 | 0.718614 | 0.696293 | 0.688396 | 0 | 0.022404 | 0.347336 | 24,210 | 764 | 79 | 31.688482 | 0.76299 | 0.064684 | 0 | 0.652101 | 0 | 0 | 0.265903 | 0.009197 | 0 | 0 | 0 | 0 | 0.090756 | 1 | 0.033613 | false | 0.031933 | 0.021849 | 0 | 0.057143 | 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 |
f108efff0a8a252ac7126b4143d452ccab43734a | 114 | py | Python | component/parameter/file_params.py | ingdanielguerrero/SMFM_biota | 01582d4291d43488d108a9789db2f2dbe75e43ce | [
"MIT"
] | null | null | null | component/parameter/file_params.py | ingdanielguerrero/SMFM_biota | 01582d4291d43488d108a9789db2f2dbe75e43ce | [
"MIT"
] | 11 | 2021-06-07T17:22:42.000Z | 2021-12-06T18:43:03.000Z | component/parameter/file_params.py | ingdanielguerrero/SMFM_biota | 01582d4291d43488d108a9789db2f2dbe75e43ce | [
"MIT"
] | 3 | 2021-03-12T07:26:17.000Z | 2021-04-12T12:46:37.000Z | from pathlib import Path
# Parameter file
parameter_file = Path(__file__).parents[2]/'biota/cfg/McNicol2018.csv'
| 22.8 | 70 | 0.789474 | 16 | 114 | 5.3125 | 0.75 | 0.305882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.048544 | 0.096491 | 114 | 4 | 71 | 28.5 | 0.776699 | 0.122807 | 0 | 0 | 0 | 0 | 0.255102 | 0.255102 | 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 |
f136f2c44232d2c51ae50550327839fbbfdf2537 | 90 | py | Python | tools/third_party/pywebsocket3/example/cgi-bin/hi.py | meyerweb/wpt | f04261533819893c71289614c03434c06856c13e | [
"BSD-3-Clause"
] | 2,479 | 2018-05-28T14:51:29.000Z | 2022-03-30T14:41:18.000Z | tools/third_party/pywebsocket3/example/cgi-bin/hi.py | meyerweb/wpt | f04261533819893c71289614c03434c06856c13e | [
"BSD-3-Clause"
] | 7,642 | 2018-05-28T09:38:03.000Z | 2022-03-31T20:55:48.000Z | tools/third_party/pywebsocket3/example/cgi-bin/hi.py | meyerweb/wpt | f04261533819893c71289614c03434c06856c13e | [
"BSD-3-Clause"
] | 1,303 | 2018-05-29T14:50:02.000Z | 2022-03-30T17:30:42.000Z | #!/usr/bin/env python
print('Content-Type: text/plain')
print('')
print('Hi from hi.py')
| 15 | 33 | 0.666667 | 15 | 90 | 4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 90 | 5 | 34 | 18 | 0.740741 | 0.222222 | 0 | 0 | 0 | 0 | 0.536232 | 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 |
f1375dfa5487eec2b6a85a02218059b4a4e6007c | 327 | py | Python | neatsociety/math_util.py | machinebrains/neat-society | 395c092083aa62ac8ad2a93a9afde659ecbd85fd | [
"BSD-3-Clause"
] | 2 | 2018-03-03T16:30:09.000Z | 2022-01-02T17:02:22.000Z | neatsociety/math_util.py | machinebrains/neat-society | 395c092083aa62ac8ad2a93a9afde659ecbd85fd | [
"BSD-3-Clause"
] | null | null | null | neatsociety/math_util.py | machinebrains/neat-society | 395c092083aa62ac8ad2a93a9afde659ecbd85fd | [
"BSD-3-Clause"
] | 1 | 2021-09-21T21:53:17.000Z | 2021-09-21T21:53:17.000Z | '''Commonly used functions not available in the Python2 standard library.'''
from math import sqrt
def mean(values):
return sum(map(float, values)) / len(values)
def variance(values):
m = mean(values)
return sum((v - m) ** 2 for v in values) / len(values)
def stdev(values):
return sqrt(variance(va... | 20.4375 | 76 | 0.678899 | 48 | 327 | 4.625 | 0.583333 | 0.162162 | 0.144144 | 0.171171 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007605 | 0.195719 | 327 | 15 | 77 | 21.8 | 0.836502 | 0.214067 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0.125 | 0.25 | 0.875 | 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 |
f1475419c88e8146f338510d1db761690ad25fec | 2,931 | py | Python | src/WriteConstantDirectoryFiles/WriteThermophysicalProperties.py | darrinl2t/OpenFOAMCaseGenerator | 72c3072814e9447b12c40c3423593c8d9a8c9cb4 | [
"MIT"
] | 3 | 2020-12-23T11:12:12.000Z | 2021-05-19T15:18:15.000Z | src/WriteConstantDirectoryFiles/WriteThermophysicalProperties.py | darrinl2t/OpenFOAMCaseGenerator | 72c3072814e9447b12c40c3423593c8d9a8c9cb4 | [
"MIT"
] | null | null | null | src/WriteConstantDirectoryFiles/WriteThermophysicalProperties.py | darrinl2t/OpenFOAMCaseGenerator | 72c3072814e9447b12c40c3423593c8d9a8c9cb4 | [
"MIT"
] | 3 | 2021-01-18T19:31:13.000Z | 2021-06-08T12:28:38.000Z | class ThermophysicalProperties:
def __init__(self, properties, file_manager):
self.properties = properties
self.file_manager = file_manager
def write_input_file(self):
mu = str(self.properties['flow_properties']['dimensional_properties']['mu'])
file_id = self.file_manager.create... | 58.62 | 116 | 0.578301 | 349 | 2,931 | 4.593123 | 0.157593 | 0.274485 | 0.355583 | 0.436681 | 0.731129 | 0.731129 | 0.678727 | 0.577667 | 0.451653 | 0.451653 | 0 | 0.009745 | 0.264756 | 2,931 | 49 | 117 | 59.816327 | 0.734107 | 0 | 0 | 0.354167 | 0 | 0 | 0.284545 | 0.057318 | 0 | 0 | 0 | 0 | 0 | 1 | 0.041667 | false | 0 | 0 | 0 | 0.0625 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f1693a0b11dd09e7661c32fa230bba5bf5961365 | 923 | py | Python | hyaline/errors/MessageErrors.py | 5elenay/hyaline | 117321c972b43cdb7e4e4a749bc4fa41396c12cb | [
"MIT"
] | 11 | 2021-06-09T05:23:01.000Z | 2021-11-12T11:33:00.000Z | hyaline/errors/MessageErrors.py | 5elenay/hyaline | 117321c972b43cdb7e4e4a749bc4fa41396c12cb | [
"MIT"
] | 1 | 2021-06-13T13:37:40.000Z | 2021-06-13T14:06:20.000Z | hyaline/errors/MessageErrors.py | 5elenay/hyaline | 117321c972b43cdb7e4e4a749bc4fa41396c12cb | [
"MIT"
] | 5 | 2021-06-09T13:53:31.000Z | 2021-06-25T20:37:42.000Z | class EditMessageFailed(Exception):
"""Raises when editing the message is failed."""
pass
class DeleteMessageFailed(Exception):
"""Raises when deleting the message is failed."""
pass
class BulkDeleteMessageFailed(Exception):
"""Raises when bulk-delete the messages is failed."""
pass
cla... | 19.638298 | 64 | 0.72481 | 96 | 923 | 6.96875 | 0.333333 | 0.179372 | 0.227205 | 0.198804 | 0.295964 | 0.295964 | 0.215247 | 0.104634 | 0 | 0 | 0 | 0 | 0.187432 | 923 | 46 | 65 | 20.065217 | 0.892 | 0.430119 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
74b2bfbde675547d734b88b79183d04b1a8ee76e | 136 | py | Python | skeletor/error.py | vmasrani/skeletor | 3db2408495f8a7050516d2f319e8bab1dfcf83c0 | [
"MIT"
] | 66 | 2018-10-21T14:49:39.000Z | 2022-01-28T02:41:40.000Z | skeletor/error.py | vmasrani/skeletor | 3db2408495f8a7050516d2f319e8bab1dfcf83c0 | [
"MIT"
] | 17 | 2018-10-23T11:13:35.000Z | 2020-10-13T12:52:45.000Z | skeletor/error.py | vmasrani/skeletor | 3db2408495f8a7050516d2f319e8bab1dfcf83c0 | [
"MIT"
] | 6 | 2018-10-23T09:31:13.000Z | 2020-12-03T12:54:08.000Z | """ Exception handling for skeletor """
class SkeletorException(Exception):
""" General exception raised by skeletor """
pass
| 19.428571 | 48 | 0.698529 | 13 | 136 | 7.307692 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.191176 | 136 | 6 | 49 | 22.666667 | 0.863636 | 0.507353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
74bd9d2d5bea5010a036b3afa3b8e71d08bb13df | 97 | py | Python | test/utils/utils.py | Andres-GC/py-spiffe-HPE | b4f0b5cd681a1107444d081073b2d55e2c3d6ced | [
"Apache-2.0"
] | null | null | null | test/utils/utils.py | Andres-GC/py-spiffe-HPE | b4f0b5cd681a1107444d081073b2d55e2c3d6ced | [
"Apache-2.0"
] | 3 | 2020-12-14T18:15:33.000Z | 2021-04-22T14:20:08.000Z | test/utils/utils.py | Andres-GC/py-spiffe-HPE | b4f0b5cd681a1107444d081073b2d55e2c3d6ced | [
"Apache-2.0"
] | 1 | 2020-12-03T18:38:51.000Z | 2020-12-03T18:38:51.000Z | def read_file_bytes(filename):
with open(filename, 'rb') as file:
return file.read()
| 24.25 | 38 | 0.659794 | 14 | 97 | 4.428571 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.216495 | 97 | 3 | 39 | 32.333333 | 0.815789 | 0 | 0 | 0 | 0 | 0 | 0.020619 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
74c006ec7134cab692dfec33ab2a27f5d1a13d89 | 42 | py | Python | pdbparse/construct/protocols/application/xwindows.py | ax330d/ida_pdb_loader | 051b6806810d8aaa40f973442b06c3c0e4c24131 | [
"MIT"
] | 50 | 2016-12-16T17:33:33.000Z | 2022-03-17T06:15:43.000Z | lib/honcore/lib/construct/protocols/application/xwindows.py | keabard/KeaBot | b4c39c88a11b171738d3623a9cd234e2e4342b7d | [
"Unlicense"
] | null | null | null | lib/honcore/lib/construct/protocols/application/xwindows.py | keabard/KeaBot | b4c39c88a11b171738d3623a9cd234e2e4342b7d | [
"Unlicense"
] | 29 | 2016-12-17T04:17:10.000Z | 2022-03-17T06:15:45.000Z | """
X-Windows (TCP/IP protocol stack)
"""
| 10.5 | 33 | 0.619048 | 6 | 42 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 42 | 3 | 34 | 14 | 0.722222 | 0.785714 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
74da1c5f3c343eca431829450ea0e88bd0a0041c | 96 | py | Python | uwsgi/encorea-old/page_header/apps.py | btardio/encore-swarm | e81d6a28cdd55ca593e19d3a91c069dbca41b736 | [
"MIT"
] | null | null | null | uwsgi/encorea-old/page_header/apps.py | btardio/encore-swarm | e81d6a28cdd55ca593e19d3a91c069dbca41b736 | [
"MIT"
] | null | null | null | uwsgi/encorea-old/page_header/apps.py | btardio/encore-swarm | e81d6a28cdd55ca593e19d3a91c069dbca41b736 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class PageHeaderConfig(AppConfig):
name = 'page_header'
| 16 | 34 | 0.770833 | 11 | 96 | 6.636364 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 96 | 5 | 35 | 19.2 | 0.901235 | 0 | 0 | 0 | 0 | 0 | 0.114583 | 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 |
74f958898a742d75c08e5fa82e492dd1dc6bc659 | 84 | py | Python | tests/preprocessors/test_variables_preprocessor.py | swquinn/hon | 333332029ee884a8822d38024659d5d7da64ff1a | [
"MIT"
] | null | null | null | tests/preprocessors/test_variables_preprocessor.py | swquinn/hon | 333332029ee884a8822d38024659d5d7da64ff1a | [
"MIT"
] | 14 | 2019-06-23T01:49:55.000Z | 2021-02-22T01:26:51.000Z | tests/preprocessors/test_variables_preprocessor.py | swquinn/hon | 333332029ee884a8822d38024659d5d7da64ff1a | [
"MIT"
] | null | null | null | import pytest
from hon.preprocessors.variables import (
VariablesPreprocessor
)
| 16.8 | 41 | 0.809524 | 8 | 84 | 8.5 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 84 | 4 | 42 | 21 | 0.944444 | 0 | 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 |
74ffcd8295f0e4bd3b80430b716793de340a7ca6 | 174 | py | Python | manage.py | FuzzyTraderExercise/Backend | 903a0bb6805da5b5c4e94bb417ad4c465e8129ad | [
"MIT"
] | null | null | null | manage.py | FuzzyTraderExercise/Backend | 903a0bb6805da5b5c4e94bb417ad4c465e8129ad | [
"MIT"
] | null | null | null | manage.py | FuzzyTraderExercise/Backend | 903a0bb6805da5b5c4e94bb417ad4c465e8129ad | [
"MIT"
] | null | null | null | from flask.cli import FlaskGroup
from src import create_app, db
app = create_app()
cli = FlaskGroup(create_app=create_app)
# Run Flask
if __name__ == '__main__':
cli() | 17.4 | 39 | 0.735632 | 26 | 174 | 4.461538 | 0.5 | 0.310345 | 0.206897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 174 | 10 | 40 | 17.4 | 0.8 | 0.051724 | 0 | 0 | 0 | 0 | 0.04878 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
2d1a9bb4b22b2b1863833d8b51f140a9a73f0f74 | 280 | py | Python | fugue_spark/__init__.py | gityow/fugue | e975625b33766d8b9dc64c6954871569b59367ec | [
"Apache-2.0"
] | null | null | null | fugue_spark/__init__.py | gityow/fugue | e975625b33766d8b9dc64c6954871569b59367ec | [
"Apache-2.0"
] | null | null | null | fugue_spark/__init__.py | gityow/fugue | e975625b33766d8b9dc64c6954871569b59367ec | [
"Apache-2.0"
] | null | null | null | # flake8: noqa
from fugue.workflow import register_raw_df_type
from fugue_version import __version__
from pyspark.sql import DataFrame
from fugue_spark.dataframe import SparkDataFrame
from fugue_spark.execution_engine import SparkExecutionEngine
register_raw_df_type(DataFrame)
| 28 | 61 | 0.878571 | 38 | 280 | 6.105263 | 0.5 | 0.155172 | 0.112069 | 0.146552 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003937 | 0.092857 | 280 | 9 | 62 | 31.111111 | 0.909449 | 0.042857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.833333 | 0 | 0.833333 | 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 |
2d3d7119f20807d93a46f66dab4e0b0a6b4540e2 | 167 | py | Python | src/GTV/Gtv.py | ErnstKapp/postchain-client | c0640ccdaaaa5ba9f7977e1bc42866cba6cdf447 | [
"Apache-2.0"
] | null | null | null | src/GTV/Gtv.py | ErnstKapp/postchain-client | c0640ccdaaaa5ba9f7977e1bc42866cba6cdf447 | [
"Apache-2.0"
] | null | null | null | src/GTV/Gtv.py | ErnstKapp/postchain-client | c0640ccdaaaa5ba9f7977e1bc42866cba6cdf447 | [
"Apache-2.0"
] | null | null | null | """
This class contains the Merkleroot-Hash which will be used
for chaining blocks together
"""
class GTV:
def __init__(self):
merkleRoot = bytearray(0)
| 16.7 | 58 | 0.700599 | 22 | 167 | 5.136364 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007634 | 0.215569 | 167 | 9 | 59 | 18.555556 | 0.854962 | 0.520958 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
2d43642d72548d379b7e08a30e45e327da5a91c2 | 1,470 | py | Python | src/abaqus/Interaction/IncidentWaveState.py | Haiiliin/PyAbaqus | f20db6ebea19b73059fe875a53be370253381078 | [
"MIT"
] | 7 | 2022-01-21T09:15:45.000Z | 2022-02-15T09:31:58.000Z | src/abaqus/Interaction/IncidentWaveState.py | Haiiliin/PyAbaqus | f20db6ebea19b73059fe875a53be370253381078 | [
"MIT"
] | null | null | null | src/abaqus/Interaction/IncidentWaveState.py | Haiiliin/PyAbaqus | f20db6ebea19b73059fe875a53be370253381078 | [
"MIT"
] | null | null | null | from abaqusConstants import *
from .InteractionState import InteractionState
class IncidentWaveState(InteractionState):
"""The IncidentWaveState object stores the propagating data of an IncidentWave object in a
step. One instance of this object is created internally by the IncidentWave object for
each st... | 38.684211 | 141 | 0.769388 | 154 | 1,470 | 7.201299 | 0.474026 | 0.054103 | 0.070334 | 0.048693 | 0.434626 | 0.375113 | 0.375113 | 0.375113 | 0.283138 | 0.283138 | 0 | 0 | 0.185034 | 1,470 | 37 | 142 | 39.72973 | 0.92571 | 0.813605 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
743774cffc9a2902e815f8dc996b7d7813f867b9 | 107 | py | Python | tracardi/service/wf/domain/error_debug_info.py | bytepl/tracardi | e8fa4684fa6bd3d05165fe48aa925fc6c1e74923 | [
"MIT"
] | 153 | 2021-11-02T00:35:41.000Z | 2022-03-25T16:37:44.000Z | tracardi/service/wf/domain/error_debug_info.py | bytepl/tracardi | e8fa4684fa6bd3d05165fe48aa925fc6c1e74923 | [
"MIT"
] | 243 | 2021-10-17T17:00:22.000Z | 2022-03-28T10:13:34.000Z | tracardi/service/wf/domain/error_debug_info.py | bytepl/tracardi | e8fa4684fa6bd3d05165fe48aa925fc6c1e74923 | [
"MIT"
] | 14 | 2021-10-17T11:39:04.000Z | 2022-03-14T14:44:02.000Z | from pydantic import BaseModel
class ErrorDebugInfo(BaseModel):
msg: str
line: int
file: str
| 13.375 | 32 | 0.700935 | 13 | 107 | 5.769231 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.242991 | 107 | 7 | 33 | 15.285714 | 0.925926 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 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 |
7442a857af7c7842dd99a95f9a0e8d6fd3e49be4 | 515 | py | Python | homura/__init__.py | Xiangyu-Han/homura | c366ca70b4b65f6a4809bf76926bbd926320262e | [
"Apache-2.0"
] | 1 | 2021-01-12T08:35:44.000Z | 2021-01-12T08:35:44.000Z | homura/__init__.py | Xiangyu-Han/homura | c366ca70b4b65f6a4809bf76926bbd926320262e | [
"Apache-2.0"
] | null | null | null | homura/__init__.py | Xiangyu-Han/homura | c366ca70b4b65f6a4809bf76926bbd926320262e | [
"Apache-2.0"
] | null | null | null | from .register import Registry
from .utils import TensorDataClass, TensorTuple, distributed_print, enable_accimage, get_args, get_environ, \
get_git_hash, get_global_rank, get_local_rank, get_num_nodes, get_world_size, if_is_master, init_distributed, \
is_accimage_available, is_distributed, is_distributed_avail... | 51.5 | 120 | 0.823301 | 70 | 515 | 5.642857 | 0.614286 | 0.083544 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108738 | 515 | 9 | 121 | 57.222222 | 0.860566 | 0.046602 | 0 | 0 | 0 | 0 | 0.026585 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.571429 | 0 | 0.571429 | 0.142857 | 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 |
7465447b3a8c92fea5387e876c8e003a830faa81 | 310 | py | Python | test_it.py | greghaskins/gibberish | 58ef124f746a01aba7b0ff0e380e2251c4c6c16d | [
"MIT"
] | 52 | 2015-02-14T14:28:08.000Z | 2022-03-12T16:31:40.000Z | test_it.py | greghaskins/gibberish | 58ef124f746a01aba7b0ff0e380e2251c4c6c16d | [
"MIT"
] | 7 | 2015-10-12T18:31:58.000Z | 2021-12-16T19:56:29.000Z | test_it.py | greghaskins/gibberish | 58ef124f746a01aba7b0ff0e380e2251c4c6c16d | [
"MIT"
] | 16 | 2015-06-24T02:12:43.000Z | 2021-04-08T19:03:42.000Z | import gibberish
def test_generate_word():
word = gibberish.generate_word()
assert len(word)
assert word.isalpha()
def test_generate_words():
word_list = gibberish.generate_word()
assert len(word_list)
for word in word_list:
assert len(word)
assert word.isalpha()
| 17.222222 | 41 | 0.680645 | 40 | 310 | 5.05 | 0.325 | 0.19802 | 0.193069 | 0.267327 | 0.569307 | 0.569307 | 0 | 0 | 0 | 0 | 0 | 0 | 0.232258 | 310 | 17 | 42 | 18.235294 | 0.84874 | 0 | 0 | 0.363636 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.454545 | 1 | 0.181818 | false | 0 | 0.090909 | 0 | 0.272727 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
747e702ff6a66cc826eb5e387c75244c23a4ad78 | 288 | py | Python | access_integration/access_integration/doctype/access_integration/test_access_integration.py | mhbu50/access_integration | 5aeb17f93b52ded9f729b51046023e3d58593124 | [
"MIT"
] | null | null | null | access_integration/access_integration/doctype/access_integration/test_access_integration.py | mhbu50/access_integration | 5aeb17f93b52ded9f729b51046023e3d58593124 | [
"MIT"
] | null | null | null | access_integration/access_integration/doctype/access_integration/test_access_integration.py | mhbu50/access_integration | 5aeb17f93b52ded9f729b51046023e3d58593124 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright (c) 2015, Accurate Systems and Contributors
# See license.txt
from __future__ import unicode_literals
import frappe
import unittest
# test_records = frappe.get_test_records('Access integration')
class TestAccessintegration(unittest.TestCase):
pass
| 22.153846 | 62 | 0.784722 | 35 | 288 | 6.228571 | 0.828571 | 0.100917 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019841 | 0.125 | 288 | 12 | 63 | 24 | 0.845238 | 0.527778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.6 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
777052fe686672277e5cd328fdfc4a67e5243ab0 | 322 | py | Python | src/scorers/result_scorer_pr_binary_factory.py | elangovana/large-scale-ptm-ppi | cc835df915d12dd20c35f9cea5e40365200a6d3d | [
"MIT"
] | 1 | 2022-02-25T22:06:39.000Z | 2022-02-25T22:06:39.000Z | src/scorers/result_scorer_pr_binary_factory.py | elangovana/ppi-aimed | cc835df915d12dd20c35f9cea5e40365200a6d3d | [
"MIT"
] | null | null | null | src/scorers/result_scorer_pr_binary_factory.py | elangovana/ppi-aimed | cc835df915d12dd20c35f9cea5e40365200a6d3d | [
"MIT"
] | null | null | null | from scorers.base_classification_scorer_factory import BaseClassificationScorerFactory
from scorers.result_scorer_pr_binary import ResultScorerPrBinary
class ResultScorerPrBinaryFactory(BaseClassificationScorerFactory):
"""
Factory for Pr Binary
"""
def get(self):
return ResultScorerPrBinary(... | 26.833333 | 86 | 0.804348 | 28 | 322 | 9.035714 | 0.678571 | 0.086957 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145963 | 322 | 11 | 87 | 29.272727 | 0.92 | 0.065217 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0.2 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
777e081a65af694b1bbbbb1d7f8450a04e11f9d8 | 330 | py | Python | cart/admin.py | arihant-001/django-cart | ab9a4e01d7ec2065beaf4ccab4b9117a042eade5 | [
"MIT"
] | null | null | null | cart/admin.py | arihant-001/django-cart | ab9a4e01d7ec2065beaf4ccab4b9117a042eade5 | [
"MIT"
] | null | null | null | cart/admin.py | arihant-001/django-cart | ab9a4e01d7ec2065beaf4ccab4b9117a042eade5 | [
"MIT"
] | null | null | null | from django.contrib import admin
from cart.models import Order, OrderItem, ShippingAddress
@admin.register(Order)
class OrderAdmin(admin.ModelAdmin):
pass
@admin.register(OrderItem)
class OrderItemAdmin(admin.ModelAdmin):
pass
@admin.register(ShippingAddress)
class ShippingAddressAdmin(admin.ModelAdmin):
... | 17.368421 | 57 | 0.790909 | 36 | 330 | 7.25 | 0.472222 | 0.149425 | 0.218391 | 0.183908 | 0.245211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.124242 | 330 | 18 | 58 | 18.333333 | 0.903114 | 0 | 0 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.272727 | 0.181818 | 0 | 0.454545 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
778fba7ea71dc41b669c2f4c4d0197b23f4afe28 | 31 | py | Python | python/testData/resolve/multiFile/dunderAllDynamicallyBuiltInHelperFunction/pkg/submod.py | Sajaki/intellij-community | 6748af2c40567839d11fd652ec77ba263c074aad | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/resolve/multiFile/dunderAllDynamicallyBuiltInHelperFunction/pkg/submod.py | Sajaki/intellij-community | 6748af2c40567839d11fd652ec77ba263c074aad | [
"Apache-2.0"
] | 2 | 2022-02-19T09:45:05.000Z | 2022-02-27T20:32:55.000Z | python/testData/resolve/multiFile/dunderAllDynamicallyBuiltInHelperFunction/pkg/submod.py | bradleesand/intellij-community | 750ff9c10333c9c1278c00dbe8d88c877b1b9749 | [
"Apache-2.0"
] | 1 | 2020-10-15T05:56:42.000Z | 2020-10-15T05:56:42.000Z | __all__ = ['bar']
bar = 'bar'
| 7.75 | 17 | 0.516129 | 4 | 31 | 3 | 0.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.225806 | 31 | 3 | 18 | 10.333333 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0.193548 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
77e0a8256ece9208ee2a737bdee278e126005604 | 588 | py | Python | rx/internal/basic.py | mmpio/RxPY | 4ed60bb5c04aa85de5210e5537a6adfe1b667d50 | [
"MIT"
] | 4,342 | 2015-01-06T09:00:23.000Z | 2022-03-28T15:05:50.000Z | rx/internal/basic.py | mmpio/RxPY | 4ed60bb5c04aa85de5210e5537a6adfe1b667d50 | [
"MIT"
] | 613 | 2015-01-07T20:44:56.000Z | 2022-03-20T06:14:20.000Z | rx/internal/basic.py | mmpio/RxPY | 4ed60bb5c04aa85de5210e5537a6adfe1b667d50 | [
"MIT"
] | 420 | 2015-01-07T14:30:30.000Z | 2022-03-11T22:47:46.000Z | from typing import Any
from datetime import datetime
# Defaults
def noop(*args, **kw):
"""No operation. Returns nothing"""
pass
def identity(x: Any) -> Any:
"""Returns argument x"""
return x
def default_now() -> datetime:
return datetime.utcnow()
def default_comparer(x: Any, y: Any) -> bool:... | 15.891892 | 45 | 0.641156 | 80 | 588 | 4.625 | 0.4625 | 0.135135 | 0.059459 | 0.059459 | 0.097297 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.239796 | 588 | 36 | 46 | 16.333333 | 0.82774 | 0.098639 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.368421 | false | 0.052632 | 0.105263 | 0.210526 | 0.736842 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
77fce052a7932dca6c6bdab64056b38c0d71b13b | 99 | py | Python | neverlose/models/base/event.py | neverlosecc/api-wrapper | 9593e2539f5dfda58ae10b3f58cf7dd35d7cc7fe | [
"MIT"
] | 2 | 2021-03-29T17:14:17.000Z | 2021-05-15T03:42:44.000Z | neverlose/models/base/event.py | neverlosecc/api-wrapper | 9593e2539f5dfda58ae10b3f58cf7dd35d7cc7fe | [
"MIT"
] | null | null | null | neverlose/models/base/event.py | neverlosecc/api-wrapper | 9593e2539f5dfda58ae10b3f58cf7dd35d7cc7fe | [
"MIT"
] | null | null | null | from pydantic import BaseModel
class BaseEvent(BaseModel):
unique_id: int
signature: str
| 14.142857 | 30 | 0.747475 | 12 | 99 | 6.083333 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.20202 | 99 | 6 | 31 | 16.5 | 0.924051 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
7ad0a27fb31a428bc280f3cdb0187bb8d26d06ed | 193 | py | Python | notebooks/utils.py | djfedos/djfedos-boostrap | 8a2fb1259c52134f6bcbda53821ab8f3b20e50e4 | [
"Apache-2.0"
] | null | null | null | notebooks/utils.py | djfedos/djfedos-boostrap | 8a2fb1259c52134f6bcbda53821ab8f3b20e50e4 | [
"Apache-2.0"
] | 9 | 2021-11-03T18:57:45.000Z | 2022-03-26T06:29:38.000Z | notebooks/utils.py | djfedos/djfedos-boostrap | 8a2fb1259c52134f6bcbda53821ab8f3b20e50e4 | [
"Apache-2.0"
] | null | null | null | def find_max(list_of_numbers:list):
max_number = list_of_numbers[0]
for number in list_of_numbers:
if number > max_number:
max_number = number
return(max_number) | 32.166667 | 35 | 0.683938 | 29 | 193 | 4.172414 | 0.413793 | 0.297521 | 0.322314 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006897 | 0.248705 | 193 | 6 | 36 | 32.166667 | 0.827586 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0 | 0 | 0.166667 | 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 |
7adaa2bc04bd4b8e7bf722ee1983ccae55fd51cf | 250 | py | Python | polyaxon/hpsearch/tasks/health.py | elyase/polyaxon | 1c19f059a010a6889e2b7ea340715b2bcfa382a0 | [
"MIT"
] | null | null | null | polyaxon/hpsearch/tasks/health.py | elyase/polyaxon | 1c19f059a010a6889e2b7ea340715b2bcfa382a0 | [
"MIT"
] | null | null | null | polyaxon/hpsearch/tasks/health.py | elyase/polyaxon | 1c19f059a010a6889e2b7ea340715b2bcfa382a0 | [
"MIT"
] | null | null | null | from checks import health_task
from polyaxon.celery_api import celery_app
from polyaxon.settings import HPCeleryTasks
@celery_app.task(name=HPCeleryTasks.HP_HEALTH, ignore_result=False)
def hp_health(x, y):
return health_task.health_task(x, y)
| 27.777778 | 67 | 0.824 | 39 | 250 | 5.051282 | 0.512821 | 0.152284 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104 | 250 | 8 | 68 | 31.25 | 0.879464 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.5 | 0.166667 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
bb0a02c02c82d6772b7816a31c455a9d5cfcd978 | 102,795 | py | Python | src/bitmessageqt/bitmessage_icons_rc.py | coffeedogs/PyBitmessage | 634a49cd6d8fc2f52504586be4c4766340641b25 | [
"MIT"
] | 1,583 | 2015-01-01T13:03:20.000Z | 2022-03-31T23:10:00.000Z | src/bitmessageqt/bitmessage_icons_rc.py | coffeedogs/PyBitmessage | 634a49cd6d8fc2f52504586be4c4766340641b25 | [
"MIT"
] | 841 | 2015-01-01T14:51:48.000Z | 2022-03-25T06:45:14.000Z | src/bitmessageqt/bitmessage_icons_rc.py | coffeedogs/PyBitmessage | 634a49cd6d8fc2f52504586be4c4766340641b25 | [
"MIT"
] | 482 | 2015-01-07T00:53:25.000Z | 2022-03-24T15:58:12.000Z | # -*- coding: utf-8 -*-
# Resource object code
#
# Created: Sa 21. Sep 13:45:58 2013
# by: The Resource Compiler for PyQt (Qt v4.8.4)
#
# WARNING! All changes made in this file will be lost!
from PyQt4 import QtCore
qt_resource_data = "\
\x00\x00\x03\x66\
\x89\
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x... | 61.333532 | 129 | 0.725891 | 24,811 | 102,795 | 3.006731 | 0.012132 | 0.04866 | 0.038968 | 0.023807 | 0.124504 | 0.120684 | 0.117788 | 0.115496 | 0.107373 | 0.104879 | 0 | 0.327947 | 0.016888 | 102,795 | 1,675 | 130 | 61.370149 | 0.410236 | 0.001761 | 0 | 0.093976 | 0 | 0.911446 | 0 | 0 | 0 | 1 | 0.000078 | 0 | 0 | 1 | 0.001205 | false | 0 | 0.000602 | 0 | 0.001807 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
bb0a40a1f5e6bab8ab4d1a5bfaf2aa1d22b2fa9d | 4,289 | py | Python | update/parser_clickagain.py | kuna/iidxranktable | 7182baaf25b76a8f696e96947d85d4b1d074ba4a | [
"MIT"
] | 6 | 2015-12-25T02:01:37.000Z | 2020-09-02T02:39:41.000Z | update/parser_clickagain.py | kuna/iidxranktable | 7182baaf25b76a8f696e96947d85d4b1d074ba4a | [
"MIT"
] | null | null | null | update/parser_clickagain.py | kuna/iidxranktable | 7182baaf25b76a8f696e96947d85d4b1d074ba4a | [
"MIT"
] | null | null | null | #-*- coding: utf-8 -*-
# site: http://clickagain.sakura.ne.jp/cgi-bin/sort11/data.cgi?level10=1&mix=1
from bs4 import BeautifulSoup
import urllib
import re
def getGroup(arr, g):
for ele in arr:
if (ele[0] == g):
return ele
# if not, add group
new_group = (g, [])
arr.append( new_group )
return new_group
def... | 25.529762 | 96 | 0.610166 | 672 | 4,289 | 3.858631 | 0.206845 | 0.06479 | 0.092557 | 0.101813 | 0.728885 | 0.71693 | 0.706132 | 0.706132 | 0.692248 | 0.692248 | 0 | 0.050881 | 0.166006 | 4,289 | 168 | 97 | 25.529762 | 0.674029 | 0.153882 | 0 | 0.603306 | 0 | 0.090909 | 0.27051 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.123967 | false | 0 | 0.024793 | 0.090909 | 0.280992 | 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 |
bb2eaab3e00f999246a8a2c0f3cf14bde31aade6 | 423 | py | Python | helperfunctions.py | WhiteGobo/plyhandler | d11bdee04c253812be5a56298ad06b3e7d95abfd | [
"MIT"
] | null | null | null | helperfunctions.py | WhiteGobo/plyhandler | d11bdee04c253812be5a56298ad06b3e7d95abfd | [
"MIT"
] | null | null | null | helperfunctions.py | WhiteGobo/plyhandler | d11bdee04c253812be5a56298ad06b3e7d95abfd | [
"MIT"
] | null | null | null | def get_dataarray_as_strings( plyobject, elementname, propertyname, \
encoding="utf8" ):
stringdata = plyobject.get_dataarray( elementname, propertyname )
return [ str( single, encoding="utf8" ) for single in stringdata ]
def strings_to_uchararrays( s... | 52.875 | 78 | 0.640662 | 41 | 423 | 6.463415 | 0.487805 | 0.181132 | 0.135849 | 0.158491 | 0.218868 | 0.218868 | 0 | 0 | 0 | 0 | 0 | 0.012945 | 0.269504 | 423 | 7 | 79 | 60.428571 | 0.84466 | 0 | 0 | 0 | 0 | 0 | 0.037825 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.166667 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
bb2fc9276290dd243f1832c6b9d743f518e3ce05 | 76 | py | Python | mmaction/models/localizers/utils/__init__.py | HypnosXC/mmaction2 | a26d5f981449445a5e22a0a60d8b285e06c3dd6e | [
"Apache-2.0"
] | 648 | 2021-06-24T19:33:09.000Z | 2022-03-31T06:27:24.000Z | mmaction/models/localizers/utils/__init__.py | xumingze0308/mmaction2 | 777546f27f8f5a3c83e10d966e2149be2fc9fa31 | [
"Apache-2.0"
] | 98 | 2020-01-21T09:41:30.000Z | 2022-03-12T00:53:06.000Z | mmaction/models/localizers/utils/__init__.py | xumingze0308/mmaction2 | 777546f27f8f5a3c83e10d966e2149be2fc9fa31 | [
"Apache-2.0"
] | 233 | 2020-01-18T03:46:27.000Z | 2022-03-19T03:17:47.000Z | from .post_processing import post_processing
__all__ = ['post_processing']
| 19 | 44 | 0.815789 | 9 | 76 | 6.111111 | 0.555556 | 0.763636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 76 | 3 | 45 | 25.333333 | 0.808824 | 0 | 0 | 0 | 0 | 0 | 0.197368 | 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 |
2474d0514b6e0ed15201808dcf4791f503954a04 | 86 | py | Python | wagtail_localize_git/test/__init__.py | kaedroho/wagtail-localize-pontoo | 24319685a2fa4df5515fda872032088faaf07415 | [
"BSD-3-Clause"
] | 5 | 2021-02-10T01:32:30.000Z | 2022-03-03T05:57:30.000Z | wagtail_localize_git/test/__init__.py | kaedroho/wagtail-localize-pontoon | 24319685a2fa4df5515fda872032088faaf07415 | [
"BSD-3-Clause"
] | 9 | 2020-11-17T13:41:16.000Z | 2022-03-25T13:12:43.000Z | wagtail_localize_git/test/__init__.py | kaedroho/wagtail-localize-pontoon | 24319685a2fa4df5515fda872032088faaf07415 | [
"BSD-3-Clause"
] | 1 | 2021-11-29T10:12:59.000Z | 2021-11-29T10:12:59.000Z | default_app_config = "wagtail_localize_git.test.apps.WagtailLocalizeGitTestAppConfig"
| 43 | 85 | 0.895349 | 9 | 86 | 8.111111 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034884 | 86 | 1 | 86 | 86 | 0.879518 | 0 | 0 | 0 | 0 | 0 | 0.72093 | 0.72093 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
2483cfe763e7c97410b019d7d10248cfe218ecda | 66 | py | Python | legal_advice_builder/signals.py | prototypefund/django-legal-advice-builder | 081987d803f9ab38f8ac8dfc327f711dd48f0759 | [
"MIT"
] | 4 | 2021-07-22T10:16:49.000Z | 2022-01-27T16:41:55.000Z | legal_advice_builder/signals.py | prototypefund/django-legal-advice-builder | 081987d803f9ab38f8ac8dfc327f711dd48f0759 | [
"MIT"
] | 10 | 2021-08-29T11:37:17.000Z | 2022-03-22T18:20:21.000Z | legal_advice_builder/signals.py | prototypefund/django-legal-advice-builder | 081987d803f9ab38f8ac8dfc327f711dd48f0759 | [
"MIT"
] | 1 | 2022-02-14T09:41:34.000Z | 2022-02-14T09:41:34.000Z | import django.dispatch
answer_created = django.dispatch.Signal()
| 16.5 | 41 | 0.818182 | 8 | 66 | 6.625 | 0.75 | 0.528302 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 66 | 3 | 42 | 22 | 0.883333 | 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 | 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 |
248c35b30deeee2efdc6bd5cb6998d6c17733ac0 | 783 | py | Python | solutions/6002.py | pacokwon/leetcode | 37c943d371c106d1e6f24e065700e5edd1c3f9f9 | [
"MIT"
] | 2 | 2022-01-18T08:57:13.000Z | 2022-01-18T15:49:06.000Z | solutions/6002.py | pacokwon/leetcode | 37c943d371c106d1e6f24e065700e5edd1c3f9f9 | [
"MIT"
] | null | null | null | solutions/6002.py | pacokwon/leetcode | 37c943d371c106d1e6f24e065700e5edd1c3f9f9 | [
"MIT"
] | null | null | null | class Bitset:
def __init__(self, size):
self.bitmap = 0
self.size = size
self.cnt = 0
def fix(self, idx):
if self.bitmap & (1 << idx) == 0:
self.bitmap = self.bitmap | (1 << idx)
self.cnt += 1
def unfix(self, idx):
if self.bitmap & (1 << idx)... | 23.727273 | 58 | 0.489144 | 106 | 783 | 3.575472 | 0.226415 | 0.290237 | 0.145119 | 0.147757 | 0.361478 | 0.306069 | 0.306069 | 0.184697 | 0.184697 | 0.184697 | 0 | 0.02994 | 0.360153 | 783 | 32 | 59 | 24.46875 | 0.726547 | 0 | 0 | 0 | 0 | 0 | 0.001277 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.32 | false | 0 | 0 | 0.12 | 0.52 | 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 |
24a9da9eaba83cce7ec0fb5cad618cbad088eef5 | 220 | py | Python | Lesson05/pepsearch.py | xperthunter/pybioinformatics | d99b71d4c69d2e8a08d0b322551df478f2e85708 | [
"MIT"
] | null | null | null | Lesson05/pepsearch.py | xperthunter/pybioinformatics | d99b71d4c69d2e8a08d0b322551df478f2e85708 | [
"MIT"
] | null | null | null | Lesson05/pepsearch.py | xperthunter/pybioinformatics | d99b71d4c69d2e8a08d0b322551df478f2e85708 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
import gzip
import sys
# Write a program that finds peptidies within protein sequences
# Command line:
# python3 pepsearch.py IAN
"""
python3 pepsearch.py proteins.fasta.gz IAN | wc -w
43
"""
| 14.666667 | 63 | 0.731818 | 33 | 220 | 4.878788 | 0.818182 | 0.198758 | 0.223602 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027473 | 0.172727 | 220 | 14 | 64 | 15.714286 | 0.857143 | 0.554545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 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 |
24c74afc9ce9f5119847191165b36931c28e4e68 | 181 | py | Python | ava/preprocessing/__init__.py | mdmarti/autoencoded-vocal-analysis | e751828920a98deac695c3218cb63356cca59fbc | [
"MIT"
] | null | null | null | ava/preprocessing/__init__.py | mdmarti/autoencoded-vocal-analysis | e751828920a98deac695c3218cb63356cca59fbc | [
"MIT"
] | null | null | null | ava/preprocessing/__init__.py | mdmarti/autoencoded-vocal-analysis | e751828920a98deac695c3218cb63356cca59fbc | [
"MIT"
] | null | null | null | """
AVA preprocessing module
Contains
--------
`ava.preprocessing.preprocess`
Preprocess syllable spectrograms.
`ava.preprocessing.utils`
Useful functions for preprocessing.
"""
| 16.454545 | 36 | 0.762431 | 17 | 181 | 8.117647 | 0.647059 | 0.347826 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104972 | 181 | 10 | 37 | 18.1 | 0.851852 | 1.027624 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
24f8767fbe81e3bd1d928185e587b95fb7b836ee | 290 | py | Python | src/rules/entity/actor_plugins/__init__.py | FrozenYogurtPuff/iStar-pipeline | aff129d201673925255890e06123798603b9163d | [
"MIT"
] | null | null | null | src/rules/entity/actor_plugins/__init__.py | FrozenYogurtPuff/iStar-pipeline | aff129d201673925255890e06123798603b9163d | [
"MIT"
] | null | null | null | src/rules/entity/actor_plugins/__init__.py | FrozenYogurtPuff/iStar-pipeline | aff129d201673925255890e06123798603b9163d | [
"MIT"
] | null | null | null | from .be_nsubj import be_nsubj
from .by_sb import by_sb
from .dative_PROPN import dative_propn
from .dep import dep_base as dep
from .ner import ner
from .relcl_who import relcl_who
from .tag import tag_base as tag
from .word_list import word_list
from .xcomp_ask_sb_to_do import xcomp_ask
| 29 | 41 | 0.831034 | 57 | 290 | 3.929825 | 0.368421 | 0.0625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 290 | 9 | 42 | 32.222222 | 0.896 | 0 | 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 |
24f88073e2b40664df6ba3a80ab056dfba1aec14 | 116 | py | Python | bin/evaluate.py | mwang87/FalconClusterWorkflow | fc1ccfca8708c41b17330f9a3c3e330251471df7 | [
"BSD-3-Clause"
] | null | null | null | bin/evaluate.py | mwang87/FalconClusterWorkflow | fc1ccfca8708c41b17330f9a3c3e330251471df7 | [
"BSD-3-Clause"
] | null | null | null | bin/evaluate.py | mwang87/FalconClusterWorkflow | fc1ccfca8708c41b17330f9a3c3e330251471df7 | [
"BSD-3-Clause"
] | null | null | null | import pandas as pd
import sys
input_csv = sys.argv[1]
df = pd.read_csv(input_csv, sep=',', comment='#')
print(df) | 16.571429 | 49 | 0.689655 | 21 | 116 | 3.666667 | 0.666667 | 0.207792 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01 | 0.137931 | 116 | 7 | 50 | 16.571429 | 0.76 | 0 | 0 | 0 | 0 | 0 | 0.017094 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0.2 | 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 |
702df53e63ce65c0a87fe3c994777b5ed138c40b | 33 | py | Python | pyecore/__init__.py | 4ekin/pyecore | 285723b98a84d41e9eb18b29efa8706767abe561 | [
"BSD-3-Clause"
] | null | null | null | pyecore/__init__.py | 4ekin/pyecore | 285723b98a84d41e9eb18b29efa8706767abe561 | [
"BSD-3-Clause"
] | null | null | null | pyecore/__init__.py | 4ekin/pyecore | 285723b98a84d41e9eb18b29efa8706767abe561 | [
"BSD-3-Clause"
] | null | null | null | """
"""
__version__ = "0.11.6"
| 5.5 | 22 | 0.454545 | 4 | 33 | 2.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 0.212121 | 33 | 5 | 23 | 6.6 | 0.269231 | 0 | 0 | 0 | 0 | 0 | 0.24 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5637b918bfe12546d684d4eda20abbd8a7a22808 | 808 | py | Python | xpmig_migrate.py | kschets/XP_migrator | 8b7189cdc0fd39d3cc8afc904659f4c1dd69f908 | [
"MIT"
] | 1 | 2017-08-16T06:10:04.000Z | 2017-08-16T06:10:04.000Z | xpmig_migrate.py | kschets/XP_migrator | 8b7189cdc0fd39d3cc8afc904659f4c1dd69f908 | [
"MIT"
] | null | null | null | xpmig_migrate.py | kschets/XP_migrator | 8b7189cdc0fd39d3cc8afc904659f4c1dd69f908 | [
"MIT"
] | null | null | null | #!/usr/bin/python
"""
####################################################################################################
TITLE : HPE XP7 Migration, Migrate
DESCRIPTION : Migrate the data to the new server
AUTHOR : Koen Schets / StorageTeam
VERSION : Based on previous ODR framework
1.0 Initial version
CO... | 26.064516 | 100 | 0.543317 | 88 | 808 | 4.965909 | 0.795455 | 0.064073 | 0.045767 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011994 | 0.174505 | 808 | 30 | 101 | 26.933333 | 0.643178 | 0.970297 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033333 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
5643409d10caad19550dd4e4ace46e5a31025e85 | 2,113 | py | Python | italian_csv_type_prediction/simple_types/plate_type.py | LucaCappelletti94/italian_csv_type_prediction | a6332c4fd5b29d3b52e9b940fe964c9fffa2b3b4 | [
"MIT"
] | null | null | null | italian_csv_type_prediction/simple_types/plate_type.py | LucaCappelletti94/italian_csv_type_prediction | a6332c4fd5b29d3b52e9b940fe964c9fffa2b3b4 | [
"MIT"
] | 1 | 2021-02-24T11:01:06.000Z | 2021-02-24T11:01:06.000Z | italian_csv_type_prediction/simple_types/plate_type.py | LucaCappelletti94/italian_csv_type_prediction | a6332c4fd5b29d3b52e9b940fe964c9fffa2b3b4 | [
"MIT"
] | null | null | null | from ..utils import normalize
from .regex_type_predictor import RegexTypePredictor
from .string_type import StringType
class PlateType(StringType):
def __init__(self):
"""Create new Plate type predictor based on regex."""
super().__init__()
self._predictor = RegexTypePredictor([
... | 39.12963 | 80 | 0.386181 | 410 | 2,113 | 1.958537 | 0.129268 | 0.109589 | 0.100872 | 0.049813 | 0.382316 | 0.377335 | 0.377335 | 0.296389 | 0.216687 | 0.205479 | 0 | 0.10557 | 0.269285 | 2,113 | 53 | 81 | 39.867925 | 0.414508 | 0.053952 | 0 | 0.043478 | 0 | 0.478261 | 0.437123 | 0.437123 | 0 | 0 | 0 | 0 | 0 | 1 | 0.065217 | false | 0 | 0.065217 | 0.021739 | 0.23913 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5657edb64fb859982c54c9d5e78f89cf3d7ff16d | 103 | py | Python | util/__init__.py | alexansari101/deep-rl | 2801ea6e41723d51376947687f3d36a87462e457 | [
"Apache-2.0"
] | null | null | null | util/__init__.py | alexansari101/deep-rl | 2801ea6e41723d51376947687f3d36a87462e457 | [
"Apache-2.0"
] | null | null | null | util/__init__.py | alexansari101/deep-rl | 2801ea6e41723d51376947687f3d36a87462e457 | [
"Apache-2.0"
] | null | null | null | from .general import update_target_graph, process_frame, discount,\
normalized_columns_initializer
| 34.333333 | 67 | 0.84466 | 12 | 103 | 6.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106796 | 103 | 2 | 68 | 51.5 | 0.891304 | 0 | 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 |
56a2182d65a97e980fec54e9e299040f131c912c | 426 | py | Python | Practica 4 E2.py | pardo13/python | 3d15c9a0414a240588da4d24184f63370b736d55 | [
"MIT"
] | null | null | null | Practica 4 E2.py | pardo13/python | 3d15c9a0414a240588da4d24184f63370b736d55 | [
"MIT"
] | null | null | null | Practica 4 E2.py | pardo13/python | 3d15c9a0414a240588da4d24184f63370b736d55 | [
"MIT"
] | null | null | null | a=int(input("ingresa un numero\n"))
b=int(input("ingresa un numero\n"))
c=int(input("ingresa un numero\n"))
d=int(input("ingresa un numero\n"))
e=int(input("ingresa un numero\n"))
if(a > b > c > d > e):
print(a,",",b,",",c,",",d,",",e," Estan en orden decreciente")
elif(a < b < c < d < e):
print(a,",",b,",",c,"... | 32.769231 | 66 | 0.553991 | 76 | 426 | 3.105263 | 0.276316 | 0.169492 | 0.317797 | 0.360169 | 0.800847 | 0.800847 | 0.292373 | 0.228814 | 0.228814 | 0.228814 | 0 | 0 | 0.140845 | 426 | 12 | 67 | 35.5 | 0.644809 | 0 | 0 | 0 | 0 | 0 | 0.418824 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.272727 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
3b13193a1cfa32b6c2a6ee871b6323b25cffd2f0 | 163 | py | Python | test_paste/admin.py | Spansky/django-paste_image | 81ba66678bd2d44e90f55d68cbc228f5b9a6ab33 | [
"MIT"
] | 2 | 2019-04-28T15:33:25.000Z | 2019-12-17T08:08:06.000Z | test_paste/admin.py | Spansky/django-paste_image | 81ba66678bd2d44e90f55d68cbc228f5b9a6ab33 | [
"MIT"
] | null | null | null | test_paste/admin.py | Spansky/django-paste_image | 81ba66678bd2d44e90f55d68cbc228f5b9a6ab33 | [
"MIT"
] | 1 | 2019-12-17T16:23:30.000Z | 2019-12-17T16:23:30.000Z | from django.contrib import admin
from .models import MyModel
@admin.register(MyModel)
class MyModelAdmin(admin.ModelAdmin):
list_display = ["id", "image"]
| 16.3 | 37 | 0.748466 | 20 | 163 | 6.05 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141104 | 163 | 9 | 38 | 18.111111 | 0.864286 | 0 | 0 | 0 | 0 | 0 | 0.04321 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
3b1b2606b70ad57c92c80d5ac4526ca8024a256b | 203 | py | Python | challenges/4.C.Absolute_Value/lesson_tests.py | pradeepsaiu/python-coding-challenges | b435ab650d85de267eeaa31a55ff77ef5dbff86b | [
"BSD-3-Clause"
] | 141 | 2017-05-07T00:38:22.000Z | 2022-03-25T10:14:25.000Z | challenges/4.C.Absolute_Value/lesson_tests.py | pradeepsaiu/python-coding-challenges | b435ab650d85de267eeaa31a55ff77ef5dbff86b | [
"BSD-3-Clause"
] | 23 | 2017-05-06T23:57:37.000Z | 2018-03-23T19:07:32.000Z | challenges/4.C.Absolute_Value/lesson_tests.py | pradeepsaiu/python-coding-challenges | b435ab650d85de267eeaa31a55ff77ef5dbff86b | [
"BSD-3-Clause"
] | 143 | 2017-05-07T09:33:35.000Z | 2022-03-12T21:04:13.000Z | import unittest
from main import *
class AbsoluteValueTests(unittest.TestCase):
def test_main(self):
self.assertIsInstance(absolute_value, int)
self.assertEqual(absolute_value, 42)
| 25.375 | 50 | 0.743842 | 23 | 203 | 6.434783 | 0.695652 | 0.175676 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011976 | 0.17734 | 203 | 7 | 51 | 29 | 0.874252 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
3b2f7d0c296503ef0e31a44daef30ee67180fab5 | 434 | py | Python | nari/types/event/addcombatant.py | lunarrize/nari | 9fbd9fa1b3f44f9c934131a9cfa780dff31e824d | [
"MIT"
] | 9 | 2021-03-15T03:18:09.000Z | 2022-03-28T23:44:32.000Z | nari/types/event/addcombatant.py | lunarrize/nari | 9fbd9fa1b3f44f9c934131a9cfa780dff31e824d | [
"MIT"
] | 23 | 2021-02-11T16:05:44.000Z | 2022-02-20T07:18:53.000Z | nari/types/event/addcombatant.py | lunarrize/nari | 9fbd9fa1b3f44f9c934131a9cfa780dff31e824d | [
"MIT"
] | 4 | 2021-02-11T07:30:21.000Z | 2022-02-07T03:51:57.000Z | """Event representing an actor being added to the field"""
from nari.types.event.base import Event
from nari.types.event import Type
from nari.types.actor import Actor
class AddCombatant(Event):
"""Adding an actor to the field"""
__id__ = Type.addcombatant.value
def handle_params(self):
self.actor... | 28.933333 | 58 | 0.702765 | 62 | 434 | 4.774194 | 0.467742 | 0.081081 | 0.131757 | 0.121622 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005618 | 0.179724 | 434 | 14 | 59 | 31 | 0.825843 | 0.186636 | 0 | 0 | 0 | 0 | 0.084795 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.333333 | 0.111111 | 0.888889 | 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 |
3b3f12347a362a4c1563755739f4222a2385c40c | 83 | py | Python | project/pad/forms.py | lucrae/pad | 781cfebde868827e2f0ccf93944173b1ae6bc0fa | [
"MIT"
] | 1 | 2020-10-17T22:51:44.000Z | 2020-10-17T22:51:44.000Z | project/pad/forms.py | lucrae/pad | 781cfebde868827e2f0ccf93944173b1ae6bc0fa | [
"MIT"
] | null | null | null | project/pad/forms.py | lucrae/pad | 781cfebde868827e2f0ccf93944173b1ae6bc0fa | [
"MIT"
] | null | null | null | from django import forms
class EntryForm(forms.Form):
body = forms.CharField() | 20.75 | 28 | 0.746988 | 11 | 83 | 5.636364 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156627 | 83 | 4 | 29 | 20.75 | 0.885714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
3b5b80625c2adf5ff492ed77140107c079ab7b23 | 117 | py | Python | solentware_grid/tests/__init__.py | RogerMarsh/solentware-grid | b977638c11f641ff0aaf1bacf47677d5e83be99d | [
"BSD-3-Clause"
] | null | null | null | solentware_grid/tests/__init__.py | RogerMarsh/solentware-grid | b977638c11f641ff0aaf1bacf47677d5e83be99d | [
"BSD-3-Clause"
] | null | null | null | solentware_grid/tests/__init__.py | RogerMarsh/solentware-grid | b977638c11f641ff0aaf1bacf47677d5e83be99d | [
"BSD-3-Clause"
] | null | null | null | """Unittests for solentware_grid package.
"PACKAGE CONTENTS" is incomplete because all the unittests are stubs.
"""
| 23.4 | 69 | 0.777778 | 15 | 117 | 6 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136752 | 117 | 4 | 70 | 29.25 | 0.891089 | 0.931624 | 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 |
3b5d964dfdc1c93fbc789ff8e31f6b4b5aa503ab | 2,173 | py | Python | src/wrappers/python/pygroupsig/blindsig_build.py | jmakr0/libgroupsig | 7582c6083d10271729bc78c606c238f5025fff12 | [
"Apache-2.0"
] | 17 | 2020-07-31T08:16:52.000Z | 2022-02-14T09:13:00.000Z | src/wrappers/python/pygroupsig/blindsig_build.py | jmakr0/libgroupsig | 7582c6083d10271729bc78c606c238f5025fff12 | [
"Apache-2.0"
] | 80 | 2020-08-06T16:57:58.000Z | 2022-03-27T07:24:14.000Z | src/wrappers/python/pygroupsig/blindsig_build.py | jmakr0/libgroupsig | 7582c6083d10271729bc78c606c238f5025fff12 | [
"Apache-2.0"
] | 5 | 2020-09-07T15:30:49.000Z | 2022-03-22T09:34:17.000Z | # file "blindsig_build.py"
from pygroupsig.common_build import ffibuilder
ffibuilder.cdef("""
typedef struct {
uint8_t scheme;
void *sig;
} groupsig_blindsig_t;
""")
ffibuilder.cdef("""
typedef groupsig_blindsig_t* (*groupsig_blindsig_init_f)(void);
""")
ffibuilder.cdef("""
typedef int (*groupsig_blindsig_free_f)(g... | 23.365591 | 92 | 0.751035 | 276 | 2,173 | 5.481884 | 0.144928 | 0.433576 | 0.191011 | 0.066094 | 0.734303 | 0.610046 | 0.500991 | 0.391276 | 0.200925 | 0.071381 | 0 | 0.00681 | 0.121491 | 2,173 | 92 | 93 | 23.619565 | 0.785752 | 0.011045 | 0 | 0.575342 | 0 | 0 | 0.779227 | 0.391709 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.054795 | 0 | 0.054795 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
3b982178ac007f968a1c233ebb04cb48130bffae | 109 | py | Python | dataloaders/__init__.py | kopetri/MIDAS_pytorch | 9e933bd241ee18b487dcd2b65c28a55d8a923292 | [
"MIT"
] | 2 | 2019-09-22T03:17:05.000Z | 2021-02-21T14:25:58.000Z | dataloaders/__init__.py | kopetri/MIDAS_pytorch | 9e933bd241ee18b487dcd2b65c28a55d8a923292 | [
"MIT"
] | null | null | null | dataloaders/__init__.py | kopetri/MIDAS_pytorch | 9e933bd241ee18b487dcd2b65c28a55d8a923292 | [
"MIT"
] | 1 | 2020-05-31T06:53:32.000Z | 2020-05-31T06:53:32.000Z | # -*- coding: utf-8 -*-
# @Time : 2018/10/21 20:43
# @Author : Wang Xin
# @Email : wangxin_buaa@163.com | 27.25 | 33 | 0.568807 | 17 | 109 | 3.588235 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188235 | 0.220183 | 109 | 4 | 33 | 27.25 | 0.529412 | 0.926606 | 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 |
8e5fa625afcaddcfe2b3b0cf71b32867b7c0e728 | 140 | py | Python | noxfile.py | RSOA-WEITI-2020/TaskScheduler | c81450ae75801fb7a1713a6916d8b192895480e7 | [
"MIT"
] | null | null | null | noxfile.py | RSOA-WEITI-2020/TaskScheduler | c81450ae75801fb7a1713a6916d8b192895480e7 | [
"MIT"
] | 2 | 2020-05-11T14:39:53.000Z | 2020-05-12T17:36:14.000Z | noxfile.py | RSOA-WEITI-2020/TaskScheduler | c81450ae75801fb7a1713a6916d8b192895480e7 | [
"MIT"
] | null | null | null | import nox
@nox.session(python=False)
def tests(session):
session.run('poetry', 'install')
session.run('poetry', 'run', 'pytest')
| 17.5 | 42 | 0.664286 | 18 | 140 | 5.166667 | 0.611111 | 0.215054 | 0.344086 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 140 | 7 | 43 | 20 | 0.775 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.4 | 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 |
8e60ad8d691bc346fd85f378ce050ab91ae12ca1 | 170 | py | Python | maana-ue/logic-py/service/context.py | maana-io/h4-tutorials | f581adde032d18ed6333dd5c44e837ec9771046a | [
"MIT"
] | 3 | 2019-02-17T23:09:55.000Z | 2022-03-06T12:36:50.000Z | maana-ue/logic-py/service/context.py | maana-io/h4-tutorials | f581adde032d18ed6333dd5c44e837ec9771046a | [
"MIT"
] | 6 | 2019-02-11T21:56:00.000Z | 2020-01-09T20:09:25.000Z | maana-ue/logic-py/service/context.py | maana-io/h4-tutorials | f581adde032d18ed6333dd5c44e837ec9771046a | [
"MIT"
] | 10 | 2019-01-23T22:32:48.000Z | 2020-10-15T08:34:49.000Z | from CKGClient import CKGClient
from clients import clients
service_clients = []
context_vars = {client: CKGClient(
clients[client]) for client in service_clients}
| 21.25 | 51 | 0.782353 | 21 | 170 | 6.190476 | 0.47619 | 0.215385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152941 | 170 | 7 | 52 | 24.285714 | 0.902778 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
8e66725eaccb26e059f1eb8809ca3bf5327f4f36 | 1,097 | py | Python | workflow/scripts/prepare_input_plot_SNP_threshold.py | boasvdp/SNP-distance-analysis | 8baffc09f54f9da11cbff3ea8ae74b3fc5f308eb | [
"MIT"
] | null | null | null | workflow/scripts/prepare_input_plot_SNP_threshold.py | boasvdp/SNP-distance-analysis | 8baffc09f54f9da11cbff3ea8ae74b3fc5f308eb | [
"MIT"
] | null | null | null | workflow/scripts/prepare_input_plot_SNP_threshold.py | boasvdp/SNP-distance-analysis | 8baffc09f54f9da11cbff3ea8ae74b3fc5f308eb | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
import pandas as pd
import sys
path_tbl = str(sys.argv[1])
tbl = pd.read_csv(path_tbl, sep = '\t')
print("Method", "SNP_threshold", "Comparison", "Number_isolate_pairs", sep = '\t')
for snp_threshold in range(1,21):
for comparison in [ 'different_carrier', 'same_carrier_same_timepoint' ]:
... | 42.192308 | 103 | 0.742935 | 152 | 1,097 | 5.078947 | 0.302632 | 0.15544 | 0.11399 | 0.082902 | 0.806995 | 0.777202 | 0.777202 | 0.624352 | 0.624352 | 0.624352 | 0 | 0.014433 | 0.11577 | 1,097 | 25 | 104 | 43.88 | 0.781443 | 0.019143 | 0 | 0.352941 | 0 | 0 | 0.39814 | 0.095814 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.117647 | 0 | 0.117647 | 0.235294 | 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 |
8e6a46ac65e2119de81db69d363f930210e52484 | 1,515 | py | Python | myapp/migrations/0007_auto_20190620_1516.py | McFlyWYF/HealthManagerWeb | 8cb7f5f9c75c77dc371e00c555a175a458d03d98 | [
"Apache-2.0"
] | 1 | 2020-09-06T11:05:24.000Z | 2020-09-06T11:05:24.000Z | myapp/migrations/0007_auto_20190620_1516.py | wangyufei1006/HealthManagerWeb | 8cb7f5f9c75c77dc371e00c555a175a458d03d98 | [
"Apache-2.0"
] | 15 | 2020-02-12T00:47:10.000Z | 2022-02-10T08:59:53.000Z | myapp/migrations/0007_auto_20190620_1516.py | wangyufei1006/HealthManagerWeb | 8cb7f5f9c75c77dc371e00c555a175a458d03d98 | [
"Apache-2.0"
] | null | null | null | # Generated by Django 2.2 on 2019-06-20 07:16
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('myapp', '0006_auto_20190620_1446'),
]
operations = [
migrations.AlterField(
model_name='eatstatistics',
name='eatHot',... | 28.055556 | 92 | 0.547855 | 124 | 1,515 | 6.572581 | 0.362903 | 0.196319 | 0.245399 | 0.284663 | 0.715337 | 0.715337 | 0.626994 | 0.626994 | 0.626994 | 0.233129 | 0 | 0.02997 | 0.339274 | 1,515 | 53 | 93 | 28.584906 | 0.784216 | 0.028383 | 0 | 0.680851 | 1 | 0 | 0.110204 | 0.015646 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.021277 | 0 | 0.085106 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8e860d8fe448ac16ba9e2878aaf50af3a59d2a54 | 562 | py | Python | not_a_playbook/3_flowchart_with_disc/1/1.py | jonasitzmann/ultimate-tactic-board | 51f291fdb747d06e404dc3af06cafcaeb4cd4538 | [
"MIT"
] | 2 | 2022-01-26T21:57:55.000Z | 2022-02-19T18:16:59.000Z | not_a_playbook/3_flowchart_with_disc/1/1.py | jonasitzmann/ultimate-tactic-board | 51f291fdb747d06e404dc3af06cafcaeb4cd4538 | [
"MIT"
] | null | null | null | not_a_playbook/3_flowchart_with_disc/1/1.py | jonasitzmann/ultimate-tactic-board | 51f291fdb747d06e404dc3af06cafcaeb4cd4538 | [
"MIT"
] | null | null | null | from manim_animations import create_movie
from scenes import UltimateScene
class 1(UltimateScene):
def construct(self):
f, s = self.prepare()
f.transition(s[1], run_time=2)
f.transition(s[2], run_time=2)
f.transition(s[3], run_time=2)
f.transition(s[4], run_time=2)
... | 24.434783 | 62 | 0.637011 | 88 | 562 | 3.829545 | 0.420455 | 0.228487 | 0.249258 | 0.160237 | 0.356083 | 0.356083 | 0 | 0 | 0 | 0 | 0 | 0.041002 | 0.218861 | 562 | 22 | 63 | 25.545455 | 0.726651 | 0 | 0 | 0 | 0 | 0 | 0.023132 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.125 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8eac0d477957f196239dff5f11cf7474f373fb13 | 343 | py | Python | brands.py | sainnr/fairbikeprice | 22b725978cd74d678f75ea304d03580fc29cb0b4 | [
"Apache-2.0"
] | null | null | null | brands.py | sainnr/fairbikeprice | 22b725978cd74d678f75ea304d03580fc29cb0b4 | [
"Apache-2.0"
] | null | null | null | brands.py | sainnr/fairbikeprice | 22b725978cd74d678f75ea304d03580fc29cb0b4 | [
"Apache-2.0"
] | null | null | null | from brands import brands_az
from brands import dbpedia
from brands import roadbikereview
from brands import bikeindex
if __name__ == '__main__':
# b1 = brands_az.get_blog_brands()
# b2 = dbpedia.get_dbpedia_brands()
# roadbikereview.get_review_brands()
bikeindex.get_index_brands()
# print("%s %s"... | 26.384615 | 41 | 0.720117 | 46 | 343 | 4.978261 | 0.413043 | 0.174672 | 0.279476 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014085 | 0.172012 | 343 | 12 | 42 | 28.583333 | 0.792254 | 0.399417 | 0 | 0 | 0 | 0 | 0.039801 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
8ec8761dcc7cd8ae4b0de912973b559ba10f2d26 | 106 | py | Python | diabetesmanager/__init__.py | diabetes-manager/data-science | b064d01bd347c048f1a3d335894e76c53e53f121 | [
"MIT"
] | null | null | null | diabetesmanager/__init__.py | diabetes-manager/data-science | b064d01bd347c048f1a3d335894e76c53e53f121 | [
"MIT"
] | null | null | null | diabetesmanager/__init__.py | diabetes-manager/data-science | b064d01bd347c048f1a3d335894e76c53e53f121 | [
"MIT"
] | null | null | null | """Entry point for Diabetes Manager flask application."""
from .app import create_app
APP = create_app()
| 21.2 | 57 | 0.754717 | 15 | 106 | 5.2 | 0.733333 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141509 | 106 | 4 | 58 | 26.5 | 0.857143 | 0.481132 | 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 | 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 |
8ee8ac03e60bd3714f8a9f2c427a17b9008add3c | 3,446 | py | Python | phr/catalogo/api/serializers.py | richardqa/django-ex | e5b8585f28a97477150ac5daf5e55c74b70d87da | [
"CC0-1.0"
] | null | null | null | phr/catalogo/api/serializers.py | richardqa/django-ex | e5b8585f28a97477150ac5daf5e55c74b70d87da | [
"CC0-1.0"
] | null | null | null | phr/catalogo/api/serializers.py | richardqa/django-ex | e5b8585f28a97477150ac5daf5e55c74b70d87da | [
"CC0-1.0"
] | null | null | null | # coding=utf-8
from rest_framework import serializers
from phr.catalogo.models import (
CatalogoAyudaTecnica, CatalogoCIE, CatalogoDeficiencia, CatalogoDiscapacidad, CatalogoEtnia, CatalogoFinanciador,
CatalogoGradoInstruccion, CatalogoProcedimiento, CatalogoRaza, FamiliaMedicamentoAntecedenteSugerido,
Med... | 26.507692 | 117 | 0.732734 | 220 | 3,446 | 11.45 | 0.259091 | 0.206431 | 0.246129 | 0.277888 | 0.494641 | 0.447003 | 0.358873 | 0.358873 | 0 | 0 | 0 | 0.000363 | 0.200813 | 3,446 | 129 | 118 | 26.713178 | 0.914306 | 0.003482 | 0 | 0.643678 | 0 | 0 | 0.032051 | 0.013112 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.022989 | 0 | 0.482759 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d9059c91f7d2bc0dce67b7056f0b47af0b172a06 | 2,185 | py | Python | thortils/interactions.py | zkytony/thortils | 07ddfa6f6d09662094ba39343f89ba124c250e03 | [
"MIT"
] | null | null | null | thortils/interactions.py | zkytony/thortils | 07ddfa6f6d09662094ba39343f89ba124c250e03 | [
"MIT"
] | null | null | null | thortils/interactions.py | zkytony/thortils | 07ddfa6f6d09662094ba39343f89ba124c250e03 | [
"MIT"
] | null | null | null | def OpenObject(controller, objectId, openness=1.0):
return controller.step(action="OpenObject",
objectId=objectId,
openness=openness)
def CloseObject(controller, objectId):
return controller.step(action="CloseObject",
objectId=obj... | 41.226415 | 80 | 0.609153 | 168 | 2,185 | 7.922619 | 0.220238 | 0.14876 | 0.165289 | 0.214876 | 0.542449 | 0.477836 | 0.312547 | 0.312547 | 0.312547 | 0.312547 | 0 | 0.017105 | 0.304348 | 2,185 | 52 | 81 | 42.019231 | 0.858553 | 0.028833 | 0 | 0.536585 | 0 | 0 | 0.081132 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.268293 | false | 0 | 0 | 0.268293 | 0.536585 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.