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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d9a09cb6f497e8ccdf9de40f4b8ebd6b96a1c43a | 113 | py | Python | lib/variables/latent_variables/__init__.py | joelouismarino/variational_rl | 11dc14bfb56f3ebbfccd5de206b78712a8039a9a | [
"MIT"
] | 15 | 2020-10-20T22:09:36.000Z | 2021-12-24T13:40:36.000Z | lib/variables/latent_variables/__init__.py | joelouismarino/variational_rl | 11dc14bfb56f3ebbfccd5de206b78712a8039a9a | [
"MIT"
] | null | null | null | lib/variables/latent_variables/__init__.py | joelouismarino/variational_rl | 11dc14bfb56f3ebbfccd5de206b78712a8039a9a | [
"MIT"
] | 1 | 2020-10-23T19:48:06.000Z | 2020-10-23T19:48:06.000Z | from .fully_connected import FullyConnectedLatentVariable
from .convolutional import ConvolutionalLatentVariable
| 37.666667 | 57 | 0.911504 | 9 | 113 | 11.333333 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070796 | 113 | 2 | 58 | 56.5 | 0.971429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 5 |
d9e4389915d24f650fdb65abd21f0125dba8ab5c | 175,651 | py | Python | keystone/tests/unit/test_v3_assignment.py | crowdy/keystone | 1e7ecca881a51144d61ae8026e1a77d6669997e2 | [
"Apache-2.0"
] | null | null | null | keystone/tests/unit/test_v3_assignment.py | crowdy/keystone | 1e7ecca881a51144d61ae8026e1a77d6669997e2 | [
"Apache-2.0"
] | 4 | 2021-10-05T12:01:08.000Z | 2021-10-10T07:06:33.000Z | keystone/tests/unit/test_v3_assignment.py | crowdy/keystone | 1e7ecca881a51144d61ae8026e1a77d6669997e2 | [
"Apache-2.0"
] | null | null | null | # Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under t... | 43.434965 | 79 | 0.628166 | 21,383 | 175,651 | 4.906047 | 0.031614 | 0.024365 | 0.01487 | 0.029512 | 0.814167 | 0.772139 | 0.735268 | 0.705336 | 0.675834 | 0.649953 | 0 | 0.005015 | 0.275723 | 175,651 | 4,043 | 80 | 43.445709 | 0.819588 | 0.191032 | 0 | 0.639313 | 0 | 0 | 0.098023 | 0.052226 | 0 | 0 | 0 | 0.000247 | 0.119084 | 1 | 0.055725 | false | 0.004962 | 0.00458 | 0.000382 | 0.072901 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
8a23dbe8e2d12d3a5feea4e2c5b3fc204f837e5d | 10 | py | Python | python/testData/console/indent7.after.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/console/indent7.after.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/console/indent7.after.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | print(1) | 10 | 10 | 0.6 | 2 | 10 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 0.2 | 10 | 1 | 10 | 10 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
8a7f754432204bffd274f53972f0d99bc17086e5 | 118 | py | Python | polyaxon/db/admin/job_resources.py | elyase/polyaxon | 1c19f059a010a6889e2b7ea340715b2bcfa382a0 | [
"MIT"
] | null | null | null | polyaxon/db/admin/job_resources.py | elyase/polyaxon | 1c19f059a010a6889e2b7ea340715b2bcfa382a0 | [
"MIT"
] | null | null | null | polyaxon/db/admin/job_resources.py | elyase/polyaxon | 1c19f059a010a6889e2b7ea340715b2bcfa382a0 | [
"MIT"
] | null | null | null | from django.contrib import admin
from db.models.job_resources import JobResources
admin.site.register(JobResources)
| 19.666667 | 48 | 0.847458 | 16 | 118 | 6.1875 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09322 | 118 | 5 | 49 | 23.6 | 0.925234 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
8a7fb03f3abaa9ff95210abc3bc840c8008d9076 | 41 | py | Python | tinylinks/tests/test_app/models.py | brad/django-tinylinks | b3ae58ebe0d0292b7f618e9b0f1a08d2fb61b173 | [
"MIT"
] | 11 | 2016-11-27T15:46:42.000Z | 2021-07-31T14:03:54.000Z | tinylinks/tests/test_app/models.py | brad/django-tinylinks | b3ae58ebe0d0292b7f618e9b0f1a08d2fb61b173 | [
"MIT"
] | 2 | 2016-12-27T19:53:59.000Z | 2017-05-26T07:12:02.000Z | tinylinks/tests/test_app/models.py | brad/django-tinylinks | b3ae58ebe0d0292b7f618e9b0f1a08d2fb61b173 | [
"MIT"
] | 5 | 2015-02-01T01:10:31.000Z | 2015-10-29T18:48:59.000Z | """Dummy model needed for tests."""
pass
| 13.666667 | 35 | 0.682927 | 6 | 41 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146341 | 41 | 2 | 36 | 20.5 | 0.8 | 0.707317 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
8ab58aaa336c1e253b3a0048b5e6954db5635335 | 276 | py | Python | backend/app/schemas/__init__.py | kommurisaikumar/savings-manager-server | ed699abddf3cecdd4056aaee0129fbb1ef3762f6 | [
"MIT"
] | null | null | null | backend/app/schemas/__init__.py | kommurisaikumar/savings-manager-server | ed699abddf3cecdd4056aaee0129fbb1ef3762f6 | [
"MIT"
] | null | null | null | backend/app/schemas/__init__.py | kommurisaikumar/savings-manager-server | ed699abddf3cecdd4056aaee0129fbb1ef3762f6 | [
"MIT"
] | null | null | null | from .users import User, UserCreate, UserUpdate
from .transactions import Transaction, TransactionCreate, TransactionUpdate
from .accounts import Account, AccountList, AccountSingle, AccountCreate, AccountUpdate
from .categories import Category, CategoryCreate, CategoryUpdate | 69 | 87 | 0.858696 | 26 | 276 | 9.115385 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09058 | 276 | 4 | 88 | 69 | 0.944223 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
76d7b41b848ee61c162f4bba8b9bb68353d44d98 | 45 | py | Python | dj_twitter_clone_app/core_config/settings/staging.py | ivanprytula/dj_demo_app | 49ca506b22d3d99608e192b28787e185b39d3c24 | [
"MIT"
] | null | null | null | dj_twitter_clone_app/core_config/settings/staging.py | ivanprytula/dj_demo_app | 49ca506b22d3d99608e192b28787e185b39d3c24 | [
"MIT"
] | null | null | null | dj_twitter_clone_app/core_config/settings/staging.py | ivanprytula/dj_demo_app | 49ca506b22d3d99608e192b28787e185b39d3c24 | [
"MIT"
] | null | null | null | """Placeholder/template for staging envs."""
| 22.5 | 44 | 0.733333 | 5 | 45 | 6.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 45 | 1 | 45 | 45 | 0.804878 | 0.844444 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
76eba1361f488fe5c5dadbe9595a11b254abd926 | 870 | py | Python | rsqueakvm/model/__init__.py | shiplift/RSqueakOnABoat | ac449758ddb7aef1721e65a13171547761dd6e39 | [
"BSD-3-Clause"
] | 44 | 2015-02-08T09:38:46.000Z | 2017-11-15T01:19:40.000Z | rsqueakvm/model/__init__.py | shiplift/RSqueakOnABoat | ac449758ddb7aef1721e65a13171547761dd6e39 | [
"BSD-3-Clause"
] | 112 | 2015-02-08T09:34:40.000Z | 2017-04-10T19:06:30.000Z | rsqueakvm/model/__init__.py | shiplift/RSqueakOnABoat | ac449758ddb7aef1721e65a13171547761dd6e39 | [
"BSD-3-Clause"
] | 7 | 2015-04-08T11:49:10.000Z | 2017-01-19T06:36:27.000Z | """
Squeak model.
W_Object
W_SmallInteger
W_MutableSmallInteger
W_AbstractObjectWithIdentityHash
W_AbstractFloat
W_Float
W_MutableFloat
W_Character
W_PointersObject
W_AbstractObjectWithClassReference
... | 28.064516 | 46 | 0.625287 | 74 | 870 | 7.094595 | 0.418919 | 0.173333 | 0.24 | 0.274286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.341379 | 870 | 30 | 47 | 29 | 0.91623 | 0.713793 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
0a1c4786888ba534eda7784354ef48e759ceac1e | 40 | py | Python | version.py | XioNoX/ansible-junos-stdlib-old | 92f33b3bbe6d2cc36d9f2028bb7c792f25ddce80 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | version.py | XioNoX/ansible-junos-stdlib-old | 92f33b3bbe6d2cc36d9f2028bb7c792f25ddce80 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | version.py | XioNoX/ansible-junos-stdlib-old | 92f33b3bbe6d2cc36d9f2028bb7c792f25ddce80 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | VERSION = "1.4.0"
DATE = "2016-Sept-21"
| 13.333333 | 21 | 0.6 | 8 | 40 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.264706 | 0.15 | 40 | 2 | 22 | 20 | 0.441176 | 0 | 0 | 0 | 0 | 0 | 0.425 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
0a33db09aef1c74c5ffed0995a5bf7a3bfec7f84 | 13,403 | py | Python | tests/python/unittest/test_tir_schedule_compute_inline.py | xiebaiyuan/tvm | 726239d788e3b90cbe4818271ca5361c46d8d246 | [
"Zlib",
"Unlicense",
"Apache-2.0",
"BSD-2-Clause",
"MIT",
"ECL-2.0"
] | null | null | null | tests/python/unittest/test_tir_schedule_compute_inline.py | xiebaiyuan/tvm | 726239d788e3b90cbe4818271ca5361c46d8d246 | [
"Zlib",
"Unlicense",
"Apache-2.0",
"BSD-2-Clause",
"MIT",
"ECL-2.0"
] | null | null | null | tests/python/unittest/test_tir_schedule_compute_inline.py | xiebaiyuan/tvm | 726239d788e3b90cbe4818271ca5361c46d8d246 | [
"Zlib",
"Unlicense",
"Apache-2.0",
"BSD-2-Clause",
"MIT",
"ECL-2.0"
] | null | null | null | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 35.836898 | 94 | 0.643886 | 2,226 | 13,403 | 3.685085 | 0.075022 | 0.048275 | 0.063148 | 0.054858 | 0.842375 | 0.801536 | 0.758503 | 0.714007 | 0.679508 | 0.665366 | 0 | 0.0596 | 0.197568 | 13,403 | 373 | 95 | 35.932976 | 0.703115 | 0.072297 | 0 | 0.686833 | 0 | 0 | 0.010071 | 0 | 0 | 0 | 0 | 0 | 0.05694 | 1 | 0.120996 | false | 0 | 0.014235 | 0 | 0.135231 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
0a44501273cac10db9558b11e30ff5a413b1857f | 89 | py | Python | enthought/envisage/safeweakref.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 3 | 2016-12-09T06:05:18.000Z | 2018-03-01T13:00:29.000Z | enthought/envisage/safeweakref.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 1 | 2020-12-02T00:51:32.000Z | 2020-12-02T08:48:55.000Z | enthought/envisage/safeweakref.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | null | null | null | # proxy module
from __future__ import absolute_import
from envisage.safeweakref import *
| 22.25 | 38 | 0.842697 | 11 | 89 | 6.363636 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123596 | 89 | 3 | 39 | 29.666667 | 0.897436 | 0.134831 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
0a5ebfcd3225195296a0dbc5f193ada9ab19e141 | 164 | py | Python | app/schemas/socket.py | d3vzer0/reternal-backend | aeeb613c820759212e7aef9150738a66b2882d50 | [
"MIT"
] | 6 | 2019-01-01T23:38:12.000Z | 2021-07-27T03:43:11.000Z | app/schemas/socket.py | d3vzer0/reternal-backend | aeeb613c820759212e7aef9150738a66b2882d50 | [
"MIT"
] | 1 | 2020-08-02T00:21:41.000Z | 2020-08-02T00:21:41.000Z | app/schemas/socket.py | d3vzer0/reternal-backend | aeeb613c820759212e7aef9150738a66b2882d50 | [
"MIT"
] | 1 | 2021-07-27T03:43:24.000Z | 2021-07-27T03:43:24.000Z |
from pydantic import BaseModel, validator, Field
from typing import List, Dict
from datetime import datetime
class Authenticate(BaseModel):
access_token: str | 20.5 | 48 | 0.804878 | 21 | 164 | 6.238095 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152439 | 164 | 8 | 49 | 20.5 | 0.942446 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
0a6f4ad99174d6090d3cbdb6c9bcc1d787eae3b4 | 223 | py | Python | codeforces.com/1186A/solution.py | zubtsov/competitive-programming | 919d63130144347d7f6eddcf8f5bc2afb85fddf3 | [
"MIT"
] | null | null | null | codeforces.com/1186A/solution.py | zubtsov/competitive-programming | 919d63130144347d7f6eddcf8f5bc2afb85fddf3 | [
"MIT"
] | null | null | null | codeforces.com/1186A/solution.py | zubtsov/competitive-programming | 919d63130144347d7f6eddcf8f5bc2afb85fddf3 | [
"MIT"
] | null | null | null | number_of_participants, number_of_pens, number_of_notebooks = map(int, input().split())
if number_of_pens >= number_of_participants and number_of_notebooks >= number_of_participants:
print('Yes')
else:
print('No')
| 31.857143 | 94 | 0.7713 | 32 | 223 | 4.9375 | 0.46875 | 0.35443 | 0.379747 | 0.227848 | 0.253165 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116592 | 223 | 6 | 95 | 37.166667 | 0.80203 | 0 | 0 | 0 | 0 | 0 | 0.022422 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.4 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6a565a6b3597c1dbb9a2e86bdaf31bd17e76951c | 58 | py | Python | neslter/parsing/nut/__init__.py | WHOIGit/nes-lter-ims | d4cc96c10da56ca33286af84d669625b67170522 | [
"MIT"
] | 3 | 2019-01-24T16:32:50.000Z | 2021-11-05T02:18:12.000Z | neslter/parsing/nut/__init__.py | WHOIGit/nes-lter-ims | d4cc96c10da56ca33286af84d669625b67170522 | [
"MIT"
] | 45 | 2019-05-23T15:15:32.000Z | 2022-03-15T14:09:20.000Z | neslter/parsing/nut/__init__.py | WHOIGit/nes-lter-ims | d4cc96c10da56ca33286af84d669625b67170522 | [
"MIT"
] | null | null | null | from .nut import parse_nut, format_nut, merge_nut_bottles
| 29 | 57 | 0.844828 | 10 | 58 | 4.5 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 58 | 1 | 58 | 58 | 0.865385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
6a6651ad80b45cc4756ccfc411bd482091aff56e | 50 | py | Python | src/domain/enums/__init__.py | Antonio-Gabriel/easepay_backend | 9aaf4de27c9cc906911ae46ee61c75c6d92dc826 | [
"MIT"
] | 1 | 2021-11-24T09:18:19.000Z | 2021-11-24T09:18:19.000Z | src/domain/enums/__init__.py | Antonio-Gabriel/easepay_backend | 9aaf4de27c9cc906911ae46ee61c75c6d92dc826 | [
"MIT"
] | null | null | null | src/domain/enums/__init__.py | Antonio-Gabriel/easepay_backend | 9aaf4de27c9cc906911ae46ee61c75c6d92dc826 | [
"MIT"
] | null | null | null | from .months import Months
from .sizes import Size | 25 | 26 | 0.82 | 8 | 50 | 5.125 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14 | 50 | 2 | 27 | 25 | 0.953488 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
6a75e8b3a7f6a8bf44de0912c3cdfced6251b233 | 55 | py | Python | configs/mmdet/detection/detection_tensorrt_static-300x300.py | zhiqwang/mmdeploy | 997d111a6f4ca9624ab3b36717748e6ce002037d | [
"Apache-2.0"
] | 746 | 2021-12-27T10:50:28.000Z | 2022-03-31T13:34:14.000Z | configs/mmdet/detection/detection_tensorrt_static-300x300.py | zhiqwang/mmdeploy | 997d111a6f4ca9624ab3b36717748e6ce002037d | [
"Apache-2.0"
] | 253 | 2021-12-28T05:59:13.000Z | 2022-03-31T18:22:25.000Z | configs/mmdet/detection/detection_tensorrt_static-300x300.py | zhiqwang/mmdeploy | 997d111a6f4ca9624ab3b36717748e6ce002037d | [
"Apache-2.0"
] | 147 | 2021-12-27T10:50:33.000Z | 2022-03-30T10:44:20.000Z | _base_ = ['../_base_/base_tensorrt_static-300x300.py']
| 27.5 | 54 | 0.745455 | 7 | 55 | 5 | 0.714286 | 0.457143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 0.054545 | 55 | 1 | 55 | 55 | 0.557692 | 0 | 0 | 0 | 0 | 0 | 0.745455 | 0.745455 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6a78c291da971309bc64ed073bb014f9b709c144 | 119 | py | Python | examples/plain_text_response.py | lukefx/stardust | 4d9e399ffba9d4a47a2f428b59b5abf4c5bd41ad | [
"MIT"
] | 2 | 2020-11-27T10:30:38.000Z | 2020-12-22T16:48:49.000Z | examples/plain_text_response.py | lukefx/stardust | 4d9e399ffba9d4a47a2f428b59b5abf4c5bd41ad | [
"MIT"
] | null | null | null | examples/plain_text_response.py | lukefx/stardust | 4d9e399ffba9d4a47a2f428b59b5abf4c5bd41ad | [
"MIT"
] | null | null | null | from starlette.responses import PlainTextResponse
async def serve(req):
return PlainTextResponse("Hello World!")
| 19.833333 | 49 | 0.789916 | 13 | 119 | 7.230769 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134454 | 119 | 5 | 50 | 23.8 | 0.912621 | 0 | 0 | 0 | 0 | 0 | 0.10084 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
6a7e1204635ee097ea34ac3eae2b9d121e4f7471 | 203 | py | Python | polus-cell-nuclei-segmentation/src/dsb2018_topcoders/albu/src/pytorch_zoo/inplace_abn/modules/__init__.py | nishaq503/polus-plugins-dl | 511689e82eb29a84761538144277d1be1af7aa44 | [
"MIT"
] | null | null | null | polus-cell-nuclei-segmentation/src/dsb2018_topcoders/albu/src/pytorch_zoo/inplace_abn/modules/__init__.py | nishaq503/polus-plugins-dl | 511689e82eb29a84761538144277d1be1af7aa44 | [
"MIT"
] | 1 | 2021-09-09T23:22:16.000Z | 2021-09-09T23:22:16.000Z | polus-cell-nuclei-segmentation/src/dsb2018_topcoders/albu/src/pytorch_zoo/inplace_abn/modules/__init__.py | nishaq503/polus-plugins-dl | 511689e82eb29a84761538144277d1be1af7aa44 | [
"MIT"
] | 4 | 2021-06-22T13:54:52.000Z | 2022-01-26T19:23:39.000Z | from .bn import ABN, InPlaceABN, InPlaceABNWrapper, InPlaceABNSync, InPlaceABNSyncWrapper
from .misc import GlobalAvgPool2d
from .residual import IdentityResidualBlock
from .dense import DenseModule
| 40.6 | 90 | 0.842365 | 20 | 203 | 8.55 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005587 | 0.118227 | 203 | 4 | 91 | 50.75 | 0.949721 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
6a9450d0c04cca0024a14e15346193d320a70e58 | 50 | py | Python | __init__.py | mmanganel/neurecon | 5e86324675985f1fedfc4d5d3ac2e750f480538f | [
"MIT"
] | null | null | null | __init__.py | mmanganel/neurecon | 5e86324675985f1fedfc4d5d3ac2e750f480538f | [
"MIT"
] | null | null | null | __init__.py | mmanganel/neurecon | 5e86324675985f1fedfc4d5d3ac2e750f480538f | [
"MIT"
] | null | null | null | from neurecon.reconstruction import reconstruct
| 12.5 | 47 | 0.86 | 5 | 50 | 8.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 50 | 3 | 48 | 16.666667 | 0.977273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
6a9f3ae293c23801e109a6d38cb1d3e6cf12238a | 189 | py | Python | ENV/lib/python3.6/site-packages/pyramid_jinja2/tests/extensions.py | captain-c00keys/pyramid-stocks | 0acf3363a6a7ee61cd41b855f43c9d6f9582ae6a | [
"MIT"
] | null | null | null | ENV/lib/python3.6/site-packages/pyramid_jinja2/tests/extensions.py | captain-c00keys/pyramid-stocks | 0acf3363a6a7ee61cd41b855f43c9d6f9582ae6a | [
"MIT"
] | null | null | null | ENV/lib/python3.6/site-packages/pyramid_jinja2/tests/extensions.py | captain-c00keys/pyramid-stocks | 0acf3363a6a7ee61cd41b855f43c9d6f9582ae6a | [
"MIT"
] | null | null | null | from jinja2 import nodes
from jinja2.ext import Extension
class TestExtension(Extension):
tags = {'test_ext'}
def parse(self, parser): return nodes.Const("This is test extension")
| 27 | 73 | 0.746032 | 26 | 189 | 5.384615 | 0.692308 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012579 | 0.15873 | 189 | 6 | 74 | 31.5 | 0.867925 | 0 | 0 | 0 | 0 | 0 | 0.15873 | 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 | 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 | 5 |
6a9fd697438b33b3c4d1fb77bd83291ab92dfcca | 1,811 | py | Python | tests/test_custom_experts.py | protagohhz/hivemind | 487fb68feea4d27ede0afdef211f6edc889b1a9e | [
"MIT"
] | 1,026 | 2020-06-04T05:02:30.000Z | 2022-03-29T13:05:04.000Z | tests/test_custom_experts.py | mryab/hivemind | 595b831bcaac6b4d8da215de70b8138ac548c562 | [
"MIT"
] | 301 | 2020-04-04T14:26:49.000Z | 2022-03-19T15:25:39.000Z | tests/test_custom_experts.py | learning-at-home/tesseract | c6b2b2d84ccfc890314a2bfece8eef238372d410 | [
"MIT"
] | 89 | 2020-04-16T19:39:29.000Z | 2022-03-25T17:32:43.000Z | import os
import pytest
import torch
from hivemind import RemoteExpert
from hivemind.moe.server import background_server
CUSTOM_EXPERTS_PATH = os.path.join(os.path.dirname(__file__), "test_utils", "custom_networks.py")
@pytest.mark.forked
def test_custom_expert(hid_dim=16):
with background_server(
expe... | 27.439394 | 97 | 0.600773 | 208 | 1,811 | 4.966346 | 0.283654 | 0.046467 | 0.058083 | 0.073572 | 0.797677 | 0.753146 | 0.710552 | 0.710552 | 0.710552 | 0.627299 | 0 | 0.026751 | 0.298178 | 1,811 | 65 | 98 | 27.861538 | 0.785995 | 0 | 0 | 0.615385 | 0 | 0 | 0.046935 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038462 | false | 0 | 0.096154 | 0 | 0.134615 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6ac4859e41ada58d0b49c47a334602416d451187 | 219 | py | Python | books/admin.py | aurphillus/Django-Library-Completed | f46e45f85c888e7694323e22f6e966c291a4a0be | [
"MIT"
] | null | null | null | books/admin.py | aurphillus/Django-Library-Completed | f46e45f85c888e7694323e22f6e966c291a4a0be | [
"MIT"
] | null | null | null | books/admin.py | aurphillus/Django-Library-Completed | f46e45f85c888e7694323e22f6e966c291a4a0be | [
"MIT"
] | null | null | null | from django.contrib import admin
from books.models import Genre, Author, Book, TBR
# Register your models here.
admin.site.register(Genre)
admin.site.register(Author)
admin.site.register(Book)
admin.site.register(TBR) | 24.333333 | 49 | 0.799087 | 33 | 219 | 5.30303 | 0.454545 | 0.205714 | 0.388571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09589 | 219 | 9 | 50 | 24.333333 | 0.883838 | 0.118721 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
6acaa1d753027b9aa151aee9ced96ca2d15567b0 | 2,247 | py | Python | dolfyn/adv/api.py | lkilcher/dolfyn-light | 416bf6aa8a3455cebf973f416c9e4ba89a801a71 | [
"Apache-2.0"
] | null | null | null | dolfyn/adv/api.py | lkilcher/dolfyn-light | 416bf6aa8a3455cebf973f416c9e4ba89a801a71 | [
"Apache-2.0"
] | null | null | null | dolfyn/adv/api.py | lkilcher/dolfyn-light | 416bf6aa8a3455cebf973f416c9e4ba89a801a71 | [
"Apache-2.0"
] | null | null | null | """
This module contains routines for reading and working with adv
data. It contains:
+-----------------------------------+-----------------------------------------+
| Name | Description |
+===================================+====================================... | 51.068182 | 79 | 0.348465 | 144 | 2,247 | 5.416667 | 0.4375 | 0.044872 | 0.046154 | 0.04359 | 0.241026 | 0.241026 | 0.241026 | 0.241026 | 0.241026 | 0.138462 | 0 | 0.001285 | 0.307076 | 2,247 | 43 | 80 | 52.255814 | 0.499679 | 0.921673 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
6ad075ac74b446b2102501aae9ff9190489a4090 | 270 | py | Python | ACME/visdom/__init__.py | mauriziokovacic/ACME | 2615b66dd4addfd5c03d9d91a24c7da414294308 | [
"MIT"
] | 3 | 2019-10-23T23:10:55.000Z | 2021-09-01T07:30:14.000Z | ACME/visdom/__init__.py | mauriziokovacic/ACME-Python | 2615b66dd4addfd5c03d9d91a24c7da414294308 | [
"MIT"
] | null | null | null | ACME/visdom/__init__.py | mauriziokovacic/ACME-Python | 2615b66dd4addfd5c03d9d91a24c7da414294308 | [
"MIT"
] | 1 | 2020-07-11T11:35:43.000Z | 2020-07-11T11:35:43.000Z | from .bar import *
from .create_session import *
from .image import *
from .line import *
from .mesh import *
from .pie import *
from .text import *
from .VisdomFigure import *
from .VisdomScene import *
| 27 | 29 | 0.555556 | 28 | 270 | 5.321429 | 0.428571 | 0.536913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.377778 | 270 | 9 | 30 | 30 | 0.886905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
6adbdd74efd4b512d8ebd0cf5926e792b5bd7772 | 42 | py | Python | 0.py | itspuneet/itspuneet | d44f78afcff275aa56f03bba738ac3e4f2c30843 | [
"bzip2-1.0.6"
] | null | null | null | 0.py | itspuneet/itspuneet | d44f78afcff275aa56f03bba738ac3e4f2c30843 | [
"bzip2-1.0.6"
] | null | null | null | 0.py | itspuneet/itspuneet | d44f78afcff275aa56f03bba738ac3e4f2c30843 | [
"bzip2-1.0.6"
] | null | null | null | k=0
while k!=1:
print(k)
k+=1
| 8.4 | 13 | 0.404762 | 9 | 42 | 1.888889 | 0.555556 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 0.404762 | 42 | 4 | 14 | 10.5 | 0.56 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.25 | 1 | 1 | 1 | 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 | 5 |
0a842caaf70906bbc1cf4b3a4ba3ba9841f2aa9c | 1,172 | py | Python | setup.py | fonar/paypalhttp_python | 218136324c3dc6d4021db907c94cb6ac30cb1060 | [
"MIT"
] | null | null | null | setup.py | fonar/paypalhttp_python | 218136324c3dc6d4021db907c94cb6ac30cb1060 | [
"MIT"
] | null | null | null | setup.py | fonar/paypalhttp_python | 218136324c3dc6d4021db907c94cb6ac30cb1060 | [
"MIT"
] | null | null | null | from setuptools import setup
version = "1.0.0"
long_description = """
PayPalHttp is a generic http client designed to be used with code-generated projects.
"""
setup(
name="paypalhttp",
long_description=long_description,
version=version,
author="PayPal",
packages=["paypalhttp", "paypalhttp/testu... | 34.470588 | 86 | 0.620307 | 119 | 1,172 | 6.07563 | 0.529412 | 0.262794 | 0.345781 | 0.179806 | 0.074689 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028921 | 0.232935 | 1,172 | 33 | 87 | 35.515152 | 0.775306 | 0 | 0 | 0 | 1 | 0 | 0.62628 | 0.018771 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.033333 | 0 | 0.033333 | 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 | 1 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
0a9d2e6c0217618be0d23544b03fc29100edce45 | 161 | py | Python | src/garage/core/__init__.py | researchai/unsupervised_meta_rl | 9ca4b41438277ef6cfea047482b98de9da07815a | [
"MIT"
] | 1 | 2019-07-31T06:53:38.000Z | 2019-07-31T06:53:38.000Z | src/garage/core/__init__.py | researchai/unsupervised_meta_rl | 9ca4b41438277ef6cfea047482b98de9da07815a | [
"MIT"
] | null | null | null | src/garage/core/__init__.py | researchai/unsupervised_meta_rl | 9ca4b41438277ef6cfea047482b98de9da07815a | [
"MIT"
] | 1 | 2020-02-05T00:34:07.000Z | 2020-02-05T00:34:07.000Z | from garage.core.serializable import Serializable
from garage.core.parameterized import Parameterized # noqa: I100
__all__ = ['Serializable', 'Parameterized']
| 32.2 | 65 | 0.807453 | 17 | 161 | 7.411765 | 0.529412 | 0.15873 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020833 | 0.10559 | 161 | 4 | 66 | 40.25 | 0.854167 | 0.062112 | 0 | 0 | 0 | 0 | 0.167785 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 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 | 1 | 0 | 0 | 5 |
0aab53b2cca857c20d172807e1c32d755b133366 | 153 | py | Python | Adafruit_BluefruitLE/interfaces/__init__.py | acoomans/Adafruit_Python_BluefruitLE | 34fc6f596371b961628369d78ce836950514062f | [
"MIT"
] | 415 | 2015-08-19T00:07:10.000Z | 2022-03-14T13:35:45.000Z | Adafruit_BluefruitLE/interfaces/__init__.py | acoomans/Adafruit_Python_BluefruitLE | 34fc6f596371b961628369d78ce836950514062f | [
"MIT"
] | 51 | 2015-09-30T14:42:01.000Z | 2020-11-02T21:12:26.000Z | Adafruit_BluefruitLE/interfaces/__init__.py | acoomans/Adafruit_Python_BluefruitLE | 34fc6f596371b961628369d78ce836950514062f | [
"MIT"
] | 174 | 2015-10-06T07:16:51.000Z | 2022-03-14T13:35:50.000Z | from .provider import Provider
from .adapter import Adapter
from .device import Device
from .gatt import GattService, GattCharacteristic, GattDescriptor
| 30.6 | 65 | 0.843137 | 18 | 153 | 7.166667 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 153 | 4 | 66 | 38.25 | 0.955556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
0abda1cb427ed8f070a7f02e638f35191861013c | 68 | py | Python | venv/Lib/site-packages/toolz/sandbox/__init__.py | ajayiagbebaku/NFL-Model | afcc67a85ca7138c58c3334d45988ada2da158ed | [
"MIT"
] | 3,749 | 2015-01-01T06:53:12.000Z | 2022-03-31T13:36:10.000Z | venv/Lib/site-packages/toolz/sandbox/__init__.py | ajayiagbebaku/NFL-Model | afcc67a85ca7138c58c3334d45988ada2da158ed | [
"MIT"
] | 276 | 2015-01-01T15:34:41.000Z | 2022-03-17T02:16:35.000Z | venv/Lib/site-packages/toolz/sandbox/__init__.py | ajayiagbebaku/NFL-Model | afcc67a85ca7138c58c3334d45988ada2da158ed | [
"MIT"
] | 256 | 2015-01-18T04:29:48.000Z | 2022-03-31T00:10:13.000Z | from .core import EqualityHashKey, unzip
from .parallel import fold
| 22.666667 | 40 | 0.823529 | 9 | 68 | 6.222222 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132353 | 68 | 2 | 41 | 34 | 0.949153 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
0ace832c1c225820e768849e83537e4e6af2dc78 | 76 | py | Python | api/api/form7_searching_utils/__init__.py | bcgov/court-of-appeal | ef773b1baa80d3aff1ac807ed01f59266d885955 | [
"Apache-2.0"
] | null | null | null | api/api/form7_searching_utils/__init__.py | bcgov/court-of-appeal | ef773b1baa80d3aff1ac807ed01f59266d885955 | [
"Apache-2.0"
] | 35 | 2021-02-02T19:30:11.000Z | 2022-03-29T12:40:42.000Z | api/api/form7_searching_utils/__init__.py | marzmehr/court-of-appeal | ef773b1baa80d3aff1ac807ed01f59266d885955 | [
"Apache-2.0"
] | 2 | 2021-02-03T17:26:23.000Z | 2021-02-05T13:35:26.000Z | from .form7_search import Form7Search
from .parse_form7 import Form7Parsing
| 25.333333 | 37 | 0.868421 | 10 | 76 | 6.4 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0.105263 | 76 | 2 | 38 | 38 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
0aeeb3bf4f5c7990a2f6ef4aa31bdb4e54d18d30 | 266 | py | Python | Solutions/6kyu/6kyu_mister_safetys_treasure.py | citrok25/Codewars-1 | dc641c5079e2e8b5955eb027fd15427e5bdb2e26 | [
"MIT"
] | 46 | 2017-08-24T09:27:57.000Z | 2022-02-25T02:24:33.000Z | Solutions/6kyu/6kyu_mister_safetys_treasure.py | abbhishek971/Codewars | 9e761811db724da1e8aae44594df42b4ee879a16 | [
"MIT"
] | null | null | null | Solutions/6kyu/6kyu_mister_safetys_treasure.py | abbhishek971/Codewars | 9e761811db724da1e8aae44594df42b4ee879a16 | [
"MIT"
] | 35 | 2017-08-01T22:09:48.000Z | 2022-02-18T17:21:37.000Z | def unlock(m):
return m.lower().translate(
str.maketrans(
'abcdefghijklmnopqrstuvwxyz',
'22233344455566677778889999'
)
)
| 33.25 | 55 | 0.357143 | 11 | 266 | 8.636364 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.232143 | 0.578947 | 266 | 7 | 56 | 38 | 0.616071 | 0 | 0 | 0 | 0 | 0 | 0.195489 | 0.195489 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0 | 0.142857 | 0.285714 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
0af65b8666e4023ddc4b24aa0b03dd9c64d6dd98 | 15,465 | py | Python | dreamplace/ops/dct/discrete_spectral_transform.py | dongleecsu/DREAMPlace | 86b56521a3eacfb5cadff935631302bf6986a689 | [
"BSD-3-Clause"
] | 12 | 2022-03-01T06:46:42.000Z | 2022-03-27T03:40:45.000Z | dreamplace/ops/dct/discrete_spectral_transform.py | dongleecsu/DREAMPlace | 86b56521a3eacfb5cadff935631302bf6986a689 | [
"BSD-3-Clause"
] | 4 | 2022-03-08T13:00:01.000Z | 2022-03-30T10:07:01.000Z | dreamplace/ops/dct/discrete_spectral_transform.py | dongleecsu/DREAMPlace | 86b56521a3eacfb5cadff935631302bf6986a689 | [
"BSD-3-Clause"
] | 8 | 2022-03-01T06:46:45.000Z | 2022-03-29T12:40:05.000Z | ##
# @file discrete_spectral_transform.py
# @author Yibo Lin
# @date Jun 2018
#
import os
import sys
import numpy as np
import torch
import torch.nn.functional as F
import pdb
""" Discrete spectral transformation leveraging fast fourier transform engine.
The math here mainly uses Prosthaphaeresis properties.
The ... | 35.798611 | 131 | 0.643453 | 2,679 | 15,465 | 3.621501 | 0.101157 | 0.037518 | 0.040404 | 0.051948 | 0.794682 | 0.771697 | 0.754174 | 0.727891 | 0.714698 | 0.693362 | 0 | 0.049054 | 0.203815 | 15,465 | 431 | 132 | 35.881671 | 0.738894 | 0.48904 | 0 | 0.464286 | 0 | 0 | 0.006256 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.15 | false | 0 | 0.042857 | 0 | 0.342857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
7c1fee26199f1ac314e850e76b7a8f652294de76 | 171 | py | Python | osrsapi/__init__.py | XaKingas/osrsapi | 14b93e0f6902724e57ebb1f50d817bd557e41c3d | [
"MIT"
] | null | null | null | osrsapi/__init__.py | XaKingas/osrsapi | 14b93e0f6902724e57ebb1f50d817bd557e41c3d | [
"MIT"
] | null | null | null | osrsapi/__init__.py | XaKingas/osrsapi | 14b93e0f6902724e57ebb1f50d817bd557e41c3d | [
"MIT"
] | 1 | 2020-07-03T11:24:55.000Z | 2020-07-03T11:24:55.000Z | from .grandexchange import GrandExchange, GameItemNotFound, GameItemParseError
from .item import Item
from .priceinfo import PriceInfo
from .pricetrend import PriceTrend
| 28.5 | 78 | 0.853801 | 18 | 171 | 8.111111 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 171 | 5 | 79 | 34.2 | 0.960526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
7c2803d74bf17ec9bd8c3ff5ad734d4010f60546 | 20 | py | Python | Python/hello-world-pt-BR.py | PushpneetSingh/Hello-world | def0f44737e02fb40063cd347e93e456658e2532 | [
"MIT"
] | 1,428 | 2018-10-03T15:15:17.000Z | 2019-03-31T18:38:36.000Z | Python/hello-world-pt-BR.py | PushpneetSingh/Hello-world | def0f44737e02fb40063cd347e93e456658e2532 | [
"MIT"
] | 1,162 | 2018-10-03T15:05:49.000Z | 2018-10-18T14:17:52.000Z | Python/hello-world-pt-BR.py | PushpneetSingh/Hello-world | def0f44737e02fb40063cd347e93e456658e2532 | [
"MIT"
] | 3,909 | 2018-10-03T15:07:19.000Z | 2019-03-31T18:39:08.000Z | print(u"Olá mundo!") | 20 | 20 | 0.7 | 4 | 20 | 3.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05 | 20 | 1 | 20 | 20 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0.47619 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 5 |
7c6be61ef0d7cd7c0ad0f76e6b1f86ee30283323 | 1,180 | py | Python | resources/dot_PyCharm/system/python_stubs/-762174762/PySide/QtCore/QAbstractFileEngineIterator.py | basepipe/developer_onboarding | 05b6a776f8974c89517868131b201f11c6c2a5ad | [
"MIT"
] | 1 | 2020-04-20T02:27:20.000Z | 2020-04-20T02:27:20.000Z | resources/dot_PyCharm/system/python_stubs/cache/16012662ddca113c1f50140f9e0d3bd290a511015767475cf362e5267760f062/PySide/QtCore/QAbstractFileEngineIterator.py | basepipe/developer_onboarding | 05b6a776f8974c89517868131b201f11c6c2a5ad | [
"MIT"
] | null | null | null | resources/dot_PyCharm/system/python_stubs/cache/16012662ddca113c1f50140f9e0d3bd290a511015767475cf362e5267760f062/PySide/QtCore/QAbstractFileEngineIterator.py | basepipe/developer_onboarding | 05b6a776f8974c89517868131b201f11c6c2a5ad | [
"MIT"
] | null | null | null | # encoding: utf-8
# module PySide.QtCore
# from C:\Python27\lib\site-packages\PySide\QtCore.pyd
# by generator 1.147
# no doc
# imports
import Shiboken as __Shiboken
class QAbstractFileEngineIterator(__Shiboken.Object):
# no doc
def currentFileInfo(self, *args, **kwargs): # real signature unknown
pas... | 25.652174 | 77 | 0.644915 | 142 | 1,180 | 5.190141 | 0.394366 | 0.176391 | 0.27137 | 0.21981 | 0.496608 | 0.496608 | 0.496608 | 0.445047 | 0 | 0 | 0 | 0.007865 | 0.245763 | 1,180 | 45 | 78 | 26.222222 | 0.820225 | 0.397458 | 0 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.434783 | false | 0.434783 | 0.043478 | 0 | 0.521739 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
7c7af573be1400de8cf6ff87c171a26f3cda1e1f | 96 | py | Python | borze.py | AmitHasanShuvo/Programming | f47ecc626e518a0bf5f9f749afd15ce67bbe737b | [
"MIT"
] | 8 | 2019-05-26T19:24:13.000Z | 2021-03-24T17:36:14.000Z | borze.py | AmitHasanShuvo/Programming | f47ecc626e518a0bf5f9f749afd15ce67bbe737b | [
"MIT"
] | null | null | null | borze.py | AmitHasanShuvo/Programming | f47ecc626e518a0bf5f9f749afd15ce67bbe737b | [
"MIT"
] | 1 | 2020-04-19T04:59:54.000Z | 2020-04-19T04:59:54.000Z | a = input()
a = a.replace('--', '2')
a = a.replace('-.', '1')
a = a.replace('.', '0')
print(a)
| 16 | 24 | 0.4375 | 16 | 96 | 2.625 | 0.4375 | 0.142857 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037975 | 0.177083 | 96 | 6 | 25 | 16 | 0.493671 | 0 | 0 | 0 | 0 | 0 | 0.082474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.2 | 1 | 0 | 0 | null | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
7c80c3cc37ddb266e34cc1676cdc4a68cdabc9ff | 32 | py | Python | run_locally.py | nationalarchives/tdr-service-unavailable | fcb5930f57459b1e4e6d2d14244ebeecee2f6907 | [
"MIT"
] | null | null | null | run_locally.py | nationalarchives/tdr-service-unavailable | fcb5930f57459b1e4e6d2d14244ebeecee2f6907 | [
"MIT"
] | null | null | null | run_locally.py | nationalarchives/tdr-service-unavailable | fcb5930f57459b1e4e6d2d14244ebeecee2f6907 | [
"MIT"
] | null | null | null | from app import app
app.run()
| 8 | 20 | 0.6875 | 6 | 32 | 3.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.21875 | 32 | 3 | 21 | 10.666667 | 0.88 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
7cbab3e957076a86de0198f2fb2ae52e8d52e634 | 173 | py | Python | lino_book/projects/min9/settings/memory.py | khchine5/book | b6272d33d49d12335d25cf0a2660f7996680b1d1 | [
"BSD-2-Clause"
] | 1 | 2018-01-12T14:09:58.000Z | 2018-01-12T14:09:58.000Z | lino_book/projects/min9/settings/memory.py | khchine5/book | b6272d33d49d12335d25cf0a2660f7996680b1d1 | [
"BSD-2-Clause"
] | 4 | 2018-02-06T19:53:10.000Z | 2019-08-01T21:47:44.000Z | lino_book/projects/min9/settings/memory.py | khchine5/book | b6272d33d49d12335d25cf0a2660f7996680b1d1 | [
"BSD-2-Clause"
] | null | null | null | from .demo import *
SITE.verbose_name = SITE.verbose_name + " (:memory:)"
# SITE = Site(globals(), title=Site.title+" (:memory:)")
DATABASES['default']['NAME'] = ':memory:'
| 34.6 | 56 | 0.653179 | 21 | 173 | 5.285714 | 0.52381 | 0.198198 | 0.27027 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109827 | 173 | 4 | 57 | 43.25 | 0.720779 | 0.312139 | 0 | 0 | 0 | 0 | 0.25641 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
6b09e9510878cd225e1975781111b1e1feae8734 | 1,229 | py | Python | k2/python/host/k2host/properties.py | Jarvan-Wang/k2 | 7f164ecb804d15006fd30e8564d80e0fa212f011 | [
"Apache-2.0"
] | 144 | 2020-04-17T10:10:57.000Z | 2022-03-25T19:07:54.000Z | k2/python/host/k2host/properties.py | Jarvan-Wang/k2 | 7f164ecb804d15006fd30e8564d80e0fa212f011 | [
"Apache-2.0"
] | 136 | 2020-04-22T10:35:10.000Z | 2021-08-16T13:49:29.000Z | k2/python/host/k2host/properties.py | Jarvan-Wang/k2 | 7f164ecb804d15006fd30e8564d80e0fa212f011 | [
"Apache-2.0"
] | 26 | 2020-04-21T08:23:06.000Z | 2021-09-02T15:23:53.000Z | # Copyright (c) 2020 Xiaomi Corporation (author: Haowen Qiu)
# See ../../../LICENSE for clarification regarding multiple authors
import torch
from torch.utils.dlpack import to_dlpack
from .fsa import Fsa
from _k2host import _is_valid
from _k2host import _is_top_sorted
from _k2host import _is_arc_sorted
from _k2hos... | 22.759259 | 67 | 0.753458 | 193 | 1,229 | 4.404145 | 0.217617 | 0.105882 | 0.169412 | 0.169412 | 0.336471 | 0.056471 | 0 | 0 | 0 | 0 | 0 | 0.012452 | 0.150529 | 1,229 | 53 | 68 | 23.188679 | 0.801724 | 0.102522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0 | 0.4 | 0.3 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
6b29a1af58169202c8dc76623da144e32be97995 | 25 | py | Python | docassemble/MACourts/__init__.py | nonprofittechy/docassemble-MACourts | 6035393a09cff3e8a371f19b79d1cde3a60691c1 | [
"MIT"
] | 2 | 2020-07-20T19:13:38.000Z | 2021-03-02T04:30:44.000Z | docassemble/MACourts/__init__.py | nonprofittechy/docassemble-MACourts | 6035393a09cff3e8a371f19b79d1cde3a60691c1 | [
"MIT"
] | 25 | 2020-04-11T18:40:32.000Z | 2021-12-20T14:18:04.000Z | docassemble/MACourts/__init__.py | nonprofittechy/docassemble-MACourts | 6035393a09cff3e8a371f19b79d1cde3a60691c1 | [
"MIT"
] | 7 | 2020-04-10T01:51:27.000Z | 2021-06-25T21:24:48.000Z | __version__ = '0.0.58.2'
| 12.5 | 24 | 0.64 | 5 | 25 | 2.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 0.12 | 25 | 1 | 25 | 25 | 0.318182 | 0 | 0 | 0 | 0 | 0 | 0.32 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
8618b81e3f7d92d3dac7ffa13548c536b939484f | 109 | py | Python | tests/pydecompile-test/baselines/events_in_code_blocks.py | gengxf0505/pxt | eca93a0e0605e68adcfbebce778cc5912a10efcf | [
"MIT"
] | 1 | 2020-04-17T01:45:18.000Z | 2020-04-17T01:45:18.000Z | tests/pydecompile-test/baselines/events_in_code_blocks.py | gengxf0505/pxt | eca93a0e0605e68adcfbebce778cc5912a10efcf | [
"MIT"
] | 3 | 2019-02-07T23:34:43.000Z | 2019-03-06T18:25:37.000Z | tests/pydecompile-test/baselines/events_in_code_blocks.py | gengxf0505/pxt | eca93a0e0605e68adcfbebce778cc5912a10efcf | [
"MIT"
] | 2 | 2019-10-29T06:56:11.000Z | 2021-05-25T10:18:12.000Z | #/ <reference path="./testBlocks/mb.ts" />
def function_0():
basic.showNumber(7)
basic.forever(function_0) | 21.8 | 42 | 0.715596 | 15 | 109 | 5.066667 | 0.8 | 0.236842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030303 | 0.091743 | 109 | 5 | 43 | 21.8 | 0.737374 | 0.376147 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
863df256ad1c4ecc4568ea47ce82f56d31bf2e46 | 69 | py | Python | soppi/sample.py | shikshan/soppi | 007f654b0e9fe4bf7fc09e967615cb205a67dbaa | [
"MIT"
] | null | null | null | soppi/sample.py | shikshan/soppi | 007f654b0e9fe4bf7fc09e967615cb205a67dbaa | [
"MIT"
] | null | null | null | soppi/sample.py | shikshan/soppi | 007f654b0e9fe4bf7fc09e967615cb205a67dbaa | [
"MIT"
] | null | null | null | # content of test_sample.py
def inc(x: int) -> int:
return x + 1
| 17.25 | 27 | 0.623188 | 13 | 69 | 3.230769 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019231 | 0.246377 | 69 | 3 | 28 | 23 | 0.788462 | 0.362319 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
86a6435f792c7fc0f926b7e3c4e14710ea4c902b | 26 | py | Python | Random-Programs/optimization/root/v4.py | naumoff0/Archive | d4ad2da89abb1576dd5a7c72ded6bf9b45c3f610 | [
"MIT"
] | null | null | null | Random-Programs/optimization/root/v4.py | naumoff0/Archive | d4ad2da89abb1576dd5a7c72ded6bf9b45c3f610 | [
"MIT"
] | null | null | null | Random-Programs/optimization/root/v4.py | naumoff0/Archive | d4ad2da89abb1576dd5a7c72ded6bf9b45c3f610 | [
"MIT"
] | null | null | null | print(int(input(""))**0.5) | 26 | 26 | 0.576923 | 5 | 26 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0 | 26 | 1 | 26 | 26 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 5 |
86e079c3cae2dd930094e58b47942d7cc71d011d | 11,293 | py | Python | dcor/independence.py | lemiceterieux/dcor | 205682a71463a2c6ab8f5b8b215ec12d44f0b5a6 | [
"MIT"
] | null | null | null | dcor/independence.py | lemiceterieux/dcor | 205682a71463a2c6ab8f5b8b215ec12d44f0b5a6 | [
"MIT"
] | null | null | null | dcor/independence.py | lemiceterieux/dcor | 205682a71463a2c6ab8f5b8b215ec12d44f0b5a6 | [
"MIT"
] | null | null | null | """
Functions for testing independence of several distributions.
The functions in this module provide methods for testing if
the samples generated from two random vectors are independent.
"""
import numpy as np
import scipy.stats
from . import _dcor_internals, _hypothesis
from ._dcor import u_distance_correlation_sqr... | 33.411243 | 79 | 0.609493 | 1,406 | 11,293 | 4.711238 | 0.137269 | 0.009662 | 0.012681 | 0.014493 | 0.810688 | 0.76404 | 0.727053 | 0.664855 | 0.652627 | 0.605978 | 0 | 0.051621 | 0.2761 | 11,293 | 337 | 80 | 33.510386 | 0.758654 | 0.704684 | 0 | 0.547945 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.082192 | false | 0 | 0.068493 | 0.027397 | 0.232877 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 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 | 5 |
810b43515d14811ec32c14454930c4b55606640a | 210 | py | Python | SWIM-Executables/Windows/pyinstaller-2.0 for windows/PyInstaller/hooks/hook-PyQt4.phonon.py | alexsigaras/SWIM | 1a35df8acb26bdcb307a1b8f60e9feba68ed1715 | [
"MIT"
] | 47 | 2020-03-08T08:43:28.000Z | 2022-03-18T18:51:55.000Z | SWIM-Executables/Windows/pyinstaller-2.0 for windows/PyInstaller/hooks/hook-PyQt4.phonon.py | alexsigaras/SWIM | 1a35df8acb26bdcb307a1b8f60e9feba68ed1715 | [
"MIT"
] | null | null | null | SWIM-Executables/Windows/pyinstaller-2.0 for windows/PyInstaller/hooks/hook-PyQt4.phonon.py | alexsigaras/SWIM | 1a35df8acb26bdcb307a1b8f60e9feba68ed1715 | [
"MIT"
] | 16 | 2020-03-08T08:43:30.000Z | 2022-01-10T22:05:57.000Z | hiddenimports = ['sip', 'PyQt4.QtGui', 'PyQt4._qt']
from PyInstaller.hooks.hookutils import qt4_plugins_binaries
def hook(mod):
mod.binaries.extend(qt4_plugins_binaries('phonon_backend'))
return mod
| 23.333333 | 63 | 0.757143 | 27 | 210 | 5.666667 | 0.740741 | 0.130719 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021622 | 0.119048 | 210 | 8 | 64 | 26.25 | 0.805405 | 0 | 0 | 0 | 0 | 0 | 0.17619 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 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 | 1 | 0 | 0 | 5 |
d4b2424c1e77c6c44ed58c02c4ec0dcbec8b6934 | 132 | py | Python | build/lib/rigidregistration/__init__.py | kem-group/rigidRegistration | cd6bef208d4b475954e2b3970d6ec11c15f61d70 | [
"MIT"
] | 3 | 2021-10-07T18:01:32.000Z | 2022-03-10T17:01:32.000Z | build/lib/rigidregistration/__init__.py | kem-group/rigidRegistration | cd6bef208d4b475954e2b3970d6ec11c15f61d70 | [
"MIT"
] | null | null | null | build/lib/rigidregistration/__init__.py | kem-group/rigidRegistration | cd6bef208d4b475954e2b3970d6ec11c15f61d70 | [
"MIT"
] | 1 | 2022-03-10T17:01:36.000Z | 2022-03-10T17:01:36.000Z | from . import utils
from . import display
from . import save
from . import FFTW
from . import stackregistration
__version__="0.2.1" | 18.857143 | 31 | 0.765152 | 19 | 132 | 5.105263 | 0.578947 | 0.515464 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027027 | 0.159091 | 132 | 7 | 32 | 18.857143 | 0.846847 | 0 | 0 | 0 | 0 | 0 | 0.037594 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.833333 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
d4c271023ce05496e3aeca43f2ffb25c230ab172 | 184 | py | Python | x7/geom/needs_test.py | gribbg/x7-geom | a01ef29dc47f1587e3390b552decf92db0bbaa20 | [
"BSD-2-Clause"
] | null | null | null | x7/geom/needs_test.py | gribbg/x7-geom | a01ef29dc47f1587e3390b552decf92db0bbaa20 | [
"BSD-2-Clause"
] | null | null | null | x7/geom/needs_test.py | gribbg/x7-geom | a01ef29dc47f1587e3390b552decf92db0bbaa20 | [
"BSD-2-Clause"
] | null | null | null | """
Simple file to validate that maketests is working. Call maketests via:
>>> from x7.shell import *; maketests('x7.sample.needs_tests')
"""
def needs_a_test(a, b):
return a+b
| 20.444444 | 71 | 0.695652 | 29 | 184 | 4.310345 | 0.758621 | 0.032 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013072 | 0.168478 | 184 | 8 | 72 | 23 | 0.803922 | 0.728261 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
be288cac85f4b858cc1c87f0fce298bec6844670 | 4,770 | py | Python | aql/tests/types/aql_test_list_types.py | menify/sandbox | 32166c71044f0d5b414335b2b6559adc571f568c | [
"MIT"
] | null | null | null | aql/tests/types/aql_test_list_types.py | menify/sandbox | 32166c71044f0d5b414335b2b6559adc571f568c | [
"MIT"
] | null | null | null | aql/tests/types/aql_test_list_types.py | menify/sandbox | 32166c71044f0d5b414335b2b6559adc571f568c | [
"MIT"
] | null | null | null | import sys
import os.path
import timeit
sys.path.insert( 0, os.path.normpath(os.path.join( os.path.dirname( __file__ ), '..') ))
from aql_tests import skip, AqlTestCase, runLocalTests
from aql.util_types import UniqueList, SplitListType, List, ValueListType
#//=======================================================... | 27.413793 | 88 | 0.469182 | 712 | 4,770 | 3.106742 | 0.091292 | 0.352622 | 0.195298 | 0.153707 | 0.726944 | 0.707957 | 0.692134 | 0.601266 | 0.533906 | 0.449819 | 0 | 0.098432 | 0.224738 | 4,770 | 173 | 89 | 27.572254 | 0.49973 | 0.082809 | 0 | 0.440367 | 0 | 0 | 0.049199 | 0 | 0 | 0 | 0 | 0 | 0.504587 | 1 | 0.036697 | false | 0 | 0.045872 | 0 | 0.091743 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
07babdb06c676058838f65ac7fea336d215d962b | 339 | py | Python | src/dependencies/contrib/celery.py | nicoddemus/dependencies | 74180e2c6098d8ad03bc53c5703bdf8dc61c3ed9 | [
"BSD-2-Clause"
] | null | null | null | src/dependencies/contrib/celery.py | nicoddemus/dependencies | 74180e2c6098d8ad03bc53c5703bdf8dc61c3ed9 | [
"BSD-2-Clause"
] | null | null | null | src/dependencies/contrib/celery.py | nicoddemus/dependencies | 74180e2c6098d8ad03bc53c5703bdf8dc61c3ed9 | [
"BSD-2-Clause"
] | null | null | null | """
dependencies.contrib.celery
---------------------------
This module implements injectable Celery task.
:copyright: (c) 2016-2020 by dry-python team.
:license: BSD, see LICENSE for more details.
"""
from _dependencies.contrib.celery import shared_task
from _dependencies.contrib.celery import task
__all__ = ["sha... | 22.6 | 52 | 0.710914 | 41 | 339 | 5.682927 | 0.634146 | 0.244635 | 0.321888 | 0.248927 | 0.300429 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026667 | 0.115044 | 339 | 14 | 53 | 24.214286 | 0.75 | 0.575221 | 0 | 0 | 0 | 0 | 0.110294 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
07be5334fc353ee2aa3b8e027797471255271069 | 102 | py | Python | CodeWars/2016/NumberOfOccurrences-7k.py | JLJTECH/TutorialTesting | f2dbbd49a86b3b086d0fc156ac3369fb74727f86 | [
"MIT"
] | null | null | null | CodeWars/2016/NumberOfOccurrences-7k.py | JLJTECH/TutorialTesting | f2dbbd49a86b3b086d0fc156ac3369fb74727f86 | [
"MIT"
] | null | null | null | CodeWars/2016/NumberOfOccurrences-7k.py | JLJTECH/TutorialTesting | f2dbbd49a86b3b086d0fc156ac3369fb74727f86 | [
"MIT"
] | null | null | null | #Return the count of int(s) in passed array.
def number_of_occurrences(s, xs):
return xs.count(s) | 34 | 45 | 0.72549 | 19 | 102 | 3.789474 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 102 | 3 | 46 | 34 | 0.847059 | 0.421569 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
07c5ea304ad9e83dcc3f691f719157c2c8a1317f | 85 | py | Python | app/auth/__init__.py | louisenje/Pitches | 11248906ffa7d1b6ed6c47db0c5e7bd3b4768825 | [
"Unlicense"
] | null | null | null | app/auth/__init__.py | louisenje/Pitches | 11248906ffa7d1b6ed6c47db0c5e7bd3b4768825 | [
"Unlicense"
] | null | null | null | app/auth/__init__.py | louisenje/Pitches | 11248906ffa7d1b6ed6c47db0c5e7bd3b4768825 | [
"Unlicense"
] | null | null | null | from flask import Blueprint
auth=Blueprint('auth',__name__)
from .import views,forms | 21.25 | 31 | 0.811765 | 12 | 85 | 5.416667 | 0.666667 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094118 | 85 | 4 | 32 | 21.25 | 0.844156 | 0 | 0 | 0 | 0 | 0 | 0.046512 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 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 | 1 | 0 | 5 |
07cdddcbeb3cb4de7a49a05fd2f00ba890200e08 | 180 | py | Python | space_game/events/KeyPressedEvent.py | Iwomichu/probable-giggle | 2af5ed83a60d65ec9d509c217cb5fcb880d5dbcc | [
"MIT"
] | 1 | 2020-11-30T11:21:21.000Z | 2020-11-30T11:21:21.000Z | space_game/events/KeyPressedEvent.py | Iwomichu/probable-giggle | 2af5ed83a60d65ec9d509c217cb5fcb880d5dbcc | [
"MIT"
] | 5 | 2020-11-03T16:46:49.000Z | 2021-01-24T14:29:24.000Z | space_game/events/KeyPressedEvent.py | Iwomichu/probable-giggle | 2af5ed83a60d65ec9d509c217cb5fcb880d5dbcc | [
"MIT"
] | null | null | null | from dataclasses import dataclass
from space_game.domain_names import KeyId
from space_game.events.Event import Event
@dataclass
class KeyPressedEvent(Event):
key_id: KeyId
| 18 | 41 | 0.822222 | 25 | 180 | 5.76 | 0.6 | 0.125 | 0.180556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 180 | 9 | 42 | 20 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
6afda5b387926673c59318881a0eddf14e127e55 | 732 | py | Python | src/spaceone/monitoring/conf/proto_conf.py | jean1042/monitoring | 0585a1ea52ec13285eaca81cc5b19fa3f7a1fba4 | [
"Apache-2.0"
] | 5 | 2020-06-04T23:01:30.000Z | 2020-09-09T08:58:51.000Z | src/spaceone/monitoring/conf/proto_conf.py | jean1042/monitoring | 0585a1ea52ec13285eaca81cc5b19fa3f7a1fba4 | [
"Apache-2.0"
] | 8 | 2021-11-12T08:13:00.000Z | 2022-03-28T11:13:12.000Z | src/spaceone/monitoring/conf/proto_conf.py | jean1042/monitoring | 0585a1ea52ec13285eaca81cc5b19fa3f7a1fba4 | [
"Apache-2.0"
] | 7 | 2020-06-10T01:56:35.000Z | 2021-12-02T05:36:21.000Z | PROTO = {
'spaceone.monitoring.interface.grpc.v1.data_source': ['DataSource'],
'spaceone.monitoring.interface.grpc.v1.metric': ['Metric'],
'spaceone.monitoring.interface.grpc.v1.project_alert_config': ['ProjectAlertConfig'],
'spaceone.monitoring.interface.grpc.v1.escalation_policy': ['EscalationPolicy']... | 56.307692 | 89 | 0.730874 | 77 | 732 | 6.87013 | 0.324675 | 0.340265 | 0.510397 | 0.586011 | 0.642722 | 0.143667 | 0 | 0 | 0 | 0 | 0 | 0.01497 | 0.087432 | 732 | 12 | 90 | 61 | 0.776946 | 0 | 0 | 0 | 0 | 0 | 0.79235 | 0.659836 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
ed1e65bf06947a5b605eebf0c5bd1f30e38649c8 | 142 | py | Python | admin.py | nielsrolf/django-error-logs | 4e516e021d34e255f1282c98bffa53a265c48bab | [
"Apache-2.0"
] | null | null | null | admin.py | nielsrolf/django-error-logs | 4e516e021d34e255f1282c98bffa53a265c48bab | [
"Apache-2.0"
] | null | null | null | admin.py | nielsrolf/django-error-logs | 4e516e021d34e255f1282c98bffa53a265c48bab | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
from .models import *
# Register your models here.
admin.site.register(ErrorGroup)
admin.site.register(Error) | 28.4 | 32 | 0.809859 | 20 | 142 | 5.75 | 0.6 | 0.156522 | 0.295652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098592 | 142 | 5 | 33 | 28.4 | 0.898438 | 0.183099 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
ed2f544f652b3b129baea0ccaadd7dd101ff1f6a | 49 | py | Python | 2_b_builtins_dynamic_recall.py | traff/python_completion_benchmark | df25caaabf46f8b6eca34d5618052bff7ea8b0bf | [
"Xnet",
"X11"
] | 1 | 2018-11-23T18:53:05.000Z | 2018-11-23T18:53:05.000Z | 2_b_builtins_dynamic_recall.py | traff/python_completion_benchmark | df25caaabf46f8b6eca34d5618052bff7ea8b0bf | [
"Xnet",
"X11"
] | null | null | null | 2_b_builtins_dynamic_recall.py | traff/python_completion_benchmark | df25caaabf46f8b6eca34d5618052bff7ea8b0bf | [
"Xnet",
"X11"
] | null | null | null | import builtins
builtins.foo = 'bar'
foo # foo | 9.8 | 20 | 0.693878 | 7 | 49 | 4.857143 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.204082 | 49 | 5 | 21 | 9.8 | 0.871795 | 0.061224 | 0 | 0 | 0 | 0 | 0.066667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
ed45fdb6ca6f0aa4bd602cf9c46a5336b5f100f3 | 115 | py | Python | algorithms/521. Longest Uncommon Subsequence I.py | woozway/py3-leetcode | e51a9ce7a6bb3e35c0fcb8c8f4f6cd5763708dbf | [
"MIT"
] | 1 | 2020-12-02T13:54:30.000Z | 2020-12-02T13:54:30.000Z | algorithms/521. Longest Uncommon Subsequence I.py | woozway/py3-leetcode | e51a9ce7a6bb3e35c0fcb8c8f4f6cd5763708dbf | [
"MIT"
] | null | null | null | algorithms/521. Longest Uncommon Subsequence I.py | woozway/py3-leetcode | e51a9ce7a6bb3e35c0fcb8c8f4f6cd5763708dbf | [
"MIT"
] | null | null | null | class Solution:
def findLUSlength(self, a: str, b: str) -> int:
return -1 if a == b else max(len(a), len(b))
| 28.75 | 49 | 0.608696 | 21 | 115 | 3.333333 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011111 | 0.217391 | 115 | 3 | 50 | 38.333333 | 0.766667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
ed5a1b538137819cd768e00bc5a8aa7705765275 | 37 | py | Python | dthm4kaiako/events/__init__.py | taskmaker1/dthm4kaiako | 681babc10b3223b5ae7fdf19b98c53d2bef4ea1a | [
"MIT"
] | 3 | 2018-12-10T07:03:02.000Z | 2021-04-12T02:18:30.000Z | dthm4kaiako/events/__init__.py | taskmaker1/dthm4kaiako | 681babc10b3223b5ae7fdf19b98c53d2bef4ea1a | [
"MIT"
] | 566 | 2018-09-30T02:54:28.000Z | 2022-03-28T01:20:01.000Z | dthm4kaiako/events/__init__.py | taskmaker1/dthm4kaiako | 681babc10b3223b5ae7fdf19b98c53d2bef4ea1a | [
"MIT"
] | 3 | 2019-04-04T19:53:39.000Z | 2021-05-16T02:04:46.000Z | """Module for events application."""
| 18.5 | 36 | 0.702703 | 4 | 37 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.787879 | 0.810811 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
ed6e6b0df61cc3926c2f1e1ffc6195fcb5a7b2f1 | 13 | py | Python | deep-learning-app/src/models/__init__.py | everbrez/Deep-Learning-based-Chemical-Graphics-Analysis-Platform | 5ecaedadd74e96891c28d9f73384e07c1526916b | [
"Apache-2.0"
] | 1 | 2021-04-30T10:44:32.000Z | 2021-04-30T10:44:32.000Z | deep-learning-app/src/models/__init__.py | everbrez/Deep-Learning-based-Chemical-Graphics-Analysis-Platform | 5ecaedadd74e96891c28d9f73384e07c1526916b | [
"Apache-2.0"
] | null | null | null | deep-learning-app/src/models/__init__.py | everbrez/Deep-Learning-based-Chemical-Graphics-Analysis-Platform | 5ecaedadd74e96891c28d9f73384e07c1526916b | [
"Apache-2.0"
] | null | null | null | print('init') | 13 | 13 | 0.692308 | 2 | 13 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 13 | 1 | 13 | 13 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 5 |
71f6399c6d0b985a134ae6927664662c261371d5 | 330 | py | Python | question_answering/stubs.py | uliang/NaturalLanguageQueryingSystem | d18b4ae429362ba311d6f26debbcfe391b810458 | [
"MIT"
] | null | null | null | question_answering/stubs.py | uliang/NaturalLanguageQueryingSystem | d18b4ae429362ba311d6f26debbcfe391b810458 | [
"MIT"
] | null | null | null | question_answering/stubs.py | uliang/NaturalLanguageQueryingSystem | d18b4ae429362ba311d6f26debbcfe391b810458 | [
"MIT"
] | null | null | null | from collections import namedtuple
from unittest.mock import MagicMock
_fake_ext = namedtuple('_', ['qtype', 'kb_ident'])
class FakeDoc:
def __init__(self, text, qtype, kb_ident):
self._ = _fake_ext(qtype, kb_ident)
self.text = text
def __str__(self):
return f"<[MOCKED NLP]{sel... | 23.571429 | 51 | 0.654545 | 42 | 330 | 4.738095 | 0.547619 | 0.105528 | 0.180905 | 0.160804 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.224242 | 330 | 13 | 52 | 25.384615 | 0.777344 | 0 | 0 | 0 | 0 | 0 | 0.118182 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.222222 | 0.111111 | 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 | 0 | 1 | 1 | 0 | 0 | 5 |
71ff26bb500f7231ddf77573e218582db161237c | 143 | py | Python | blog/views.py | kbilak/City-portal | f567764f3c4ae0287a178acf77f060dde0424f26 | [
"MIT"
] | null | null | null | blog/views.py | kbilak/City-portal | f567764f3c4ae0287a178acf77f060dde0424f26 | [
"MIT"
] | null | null | null | blog/views.py | kbilak/City-portal | f567764f3c4ae0287a178acf77f060dde0424f26 | [
"MIT"
] | null | null | null | from django.shortcuts import render
from django.views.generic import TemplateView
def index(request):
return render(request, 'index.html') | 28.6 | 45 | 0.797203 | 19 | 143 | 6 | 0.684211 | 0.175439 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118881 | 143 | 5 | 46 | 28.6 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0.069444 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 5 |
9c0520151db9426f768e41a165d1e59bc2354107 | 198 | py | Python | src/eavatar.ava/pod/mods/tasks/__init__.py | eavatar/ava | 4f09c5417b7187dd919b7edabb8c516d8efc0696 | [
"BSD-3-Clause"
] | null | null | null | src/eavatar.ava/pod/mods/tasks/__init__.py | eavatar/ava | 4f09c5417b7187dd919b7edabb8c516d8efc0696 | [
"BSD-3-Clause"
] | null | null | null | src/eavatar.ava/pod/mods/tasks/__init__.py | eavatar/ava | 4f09c5417b7187dd919b7edabb8c516d8efc0696 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Modules for exposing functions that can be run as tasks.
"""
from __future__ import (absolute_import, division,
print_function, unicode_literals)
| 28.285714 | 57 | 0.651515 | 23 | 198 | 5.304348 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006667 | 0.242424 | 198 | 6 | 58 | 33 | 0.806667 | 0.39899 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
9c097a6d565de2831c6dc5b3639c640259afd08c | 50 | py | Python | bayes_race/pp/__init__.py | DaniMarts/bayesrace | 3d0d2b26dac2e33ad7e38513304cfb259abe351c | [
"MIT"
] | 23 | 2020-03-27T03:28:04.000Z | 2022-02-24T11:21:18.000Z | bayes_race/pp/__init__.py | DaniMarts/bayesrace | 3d0d2b26dac2e33ad7e38513304cfb259abe351c | [
"MIT"
] | 1 | 2021-07-08T22:02:15.000Z | 2021-07-08T22:02:15.000Z | bayes_race/pp/__init__.py | DaniMarts/bayesrace | 3d0d2b26dac2e33ad7e38513304cfb259abe351c | [
"MIT"
] | 17 | 2020-10-27T06:09:34.000Z | 2022-03-23T05:28:23.000Z | from bayes_race.pp.pure_pursuit import purePursuit | 50 | 50 | 0.9 | 8 | 50 | 5.375 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06 | 50 | 1 | 50 | 50 | 0.914894 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
9c1460432a4091cc49024232356f533f6d3b650a | 366 | py | Python | __init__.py | LaptopBiologist/ReferenceAnalyzer | 109f1f58ee2b0173e7285156091ba2b11459ff85 | [
"MIT"
] | null | null | null | __init__.py | LaptopBiologist/ReferenceAnalyzer | 109f1f58ee2b0173e7285156091ba2b11459ff85 | [
"MIT"
] | null | null | null | __init__.py | LaptopBiologist/ReferenceAnalyzer | 109f1f58ee2b0173e7285156091ba2b11459ff85 | [
"MIT"
] | null | null | null | #-------------------------------------------------------------------------------
# Name: module1
# Purpose:
#
# Author: I am
#
# Created: 02/11/2017
# Copyright: (c) I am 2017
# Licence: <your licence>
#-------------------------------------------------------------------------------
def main():
... | 21.529412 | 80 | 0.300546 | 25 | 366 | 4.08 | 0.72 | 0.058824 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043333 | 0.180328 | 366 | 16 | 81 | 22.875 | 0.296667 | 0.778689 | 0 | 0 | 0 | 0 | 0.112676 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0.25 | 0 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
9c34eed08700cdd8cf4f29ef427c58eea1da7c35 | 4,241 | py | Python | dependencies/svgwrite/tests/test_drawing.py | charlesmchen/typefacet | 8c6db26d0c599ece16f3704696811275120a4044 | [
"Apache-2.0"
] | 21 | 2015-01-16T05:10:02.000Z | 2021-06-11T20:48:15.000Z | dependencies/svgwrite/tests/test_drawing.py | charlesmchen/typefacet | 8c6db26d0c599ece16f3704696811275120a4044 | [
"Apache-2.0"
] | 1 | 2019-09-09T12:10:27.000Z | 2020-05-22T10:12:14.000Z | dependencies/svgwrite/tests/test_drawing.py | charlesmchen/typefacet | 8c6db26d0c599ece16f3704696811275120a4044 | [
"Apache-2.0"
] | 2 | 2015-05-03T04:51:08.000Z | 2018-08-24T08:28:53.000Z | #!/usr/bin/env python
#coding:utf-8
# Author: mozman --<mozman@gmx.at>
# Purpose: test drawing module
# Created: 11.09.2010
# Copyright (C) 2010, Manfred Moitzi
# License: GPLv3
from __future__ import unicode_literals
import os
import unittest
from io import StringIO
from svgwrite.drawing import Drawing... | 38.908257 | 110 | 0.557887 | 542 | 4,241 | 4.302583 | 0.210332 | 0.054031 | 0.069468 | 0.092624 | 0.75729 | 0.747856 | 0.747856 | 0.747856 | 0.731561 | 0.689537 | 0 | 0.050998 | 0.2556 | 4,241 | 108 | 111 | 39.268519 | 0.687678 | 0.038906 | 0 | 0.662921 | 0 | 0.044944 | 0.422368 | 0.005807 | 0 | 0 | 0 | 0 | 0.089888 | 1 | 0.089888 | false | 0 | 0.067416 | 0 | 0.191011 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
9c44390f5cc963fc28a219803d274d7a3995f439 | 101 | py | Python | app/domain/create_db.py | Lifeistrange/flaskweb | 6226e9f546d96d5f0a8f11104a37849e8f16ce80 | [
"MIT"
] | null | null | null | app/domain/create_db.py | Lifeistrange/flaskweb | 6226e9f546d96d5f0a8f11104a37849e8f16ce80 | [
"MIT"
] | null | null | null | app/domain/create_db.py | Lifeistrange/flaskweb | 6226e9f546d96d5f0a8f11104a37849e8f16ce80 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# coding=utf-8
from manage import db
import app.domain.model
db.create_all()
| 12.625 | 23 | 0.742574 | 18 | 101 | 4.111111 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011364 | 0.128713 | 101 | 7 | 24 | 14.428571 | 0.829545 | 0.326733 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
9c4665897e0c67f15abd7b343516434de1fce226 | 545 | py | Python | full-stack-angular-ngrx/backend/src/core/interfaces/crud.py | t4d-classes/angular_02212022 | 152dfa4b14ee84c1c34cef0b852349b250103e3b | [
"MIT"
] | null | null | null | full-stack-angular-ngrx/backend/src/core/interfaces/crud.py | t4d-classes/angular_02212022 | 152dfa4b14ee84c1c34cef0b852349b250103e3b | [
"MIT"
] | null | null | null | full-stack-angular-ngrx/backend/src/core/interfaces/crud.py | t4d-classes/angular_02212022 | 152dfa4b14ee84c1c34cef0b852349b250103e3b | [
"MIT"
] | null | null | null | import abc
from typing import TypeVar, Generic, List, Dict
T = TypeVar('T')
class CRUDInterface(Generic[T], metaclass=abc.ABCMeta):
@abc.abstractmethod
def all(self) -> List[T]:
pass
@abc.abstractmethod
def one_by_id(self, entity_id: int) -> T:
pass
@abc.abstractmethod
def ... | 19.464286 | 55 | 0.629358 | 70 | 545 | 4.8 | 0.385714 | 0.252976 | 0.297619 | 0.285714 | 0.223214 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.258716 | 545 | 27 | 56 | 20.185185 | 0.831683 | 0 | 0 | 0.526316 | 0 | 0 | 0.001835 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.263158 | false | 0.263158 | 0.105263 | 0 | 0.421053 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
9c638d8e037fbbc9a02c2c027a243f97a22ca4ba | 19,638 | py | Python | lang/py/test/test_avro_builder.py | zerofox-oss/yelp-avro | 913f95a4c34386d0fe9aff843b1a8ea362a1a2c5 | [
"Apache-2.0"
] | null | null | null | lang/py/test/test_avro_builder.py | zerofox-oss/yelp-avro | 913f95a4c34386d0fe9aff843b1a8ea362a1a2c5 | [
"Apache-2.0"
] | 1 | 2021-08-02T17:22:28.000Z | 2021-08-02T17:22:28.000Z | lang/py/test/test_avro_builder.py | riskive/yelp-avro | 5a8835505d1f788585834b0a87940d30b76be3fb | [
"Apache-2.0"
] | 1 | 2020-05-06T22:01:07.000Z | 2020-05-06T22:01:07.000Z | # -*- coding: utf-8 -*-
import unittest
from avro import avro_builder
from avro import schema
class TestAvroSchemaBuilder(unittest.TestCase):
def setUp(self):
self.builder = avro_builder.AvroSchemaBuilder()
def tearDown(self):
del self.builder
@property
def name(self):
retu... | 33.626712 | 81 | 0.595936 | 2,122 | 19,638 | 5.22573 | 0.062677 | 0.136892 | 0.083687 | 0.04545 | 0.823068 | 0.79385 | 0.754441 | 0.706105 | 0.663721 | 0.604834 | 0 | 0.002601 | 0.295142 | 19,638 | 583 | 82 | 33.684391 | 0.798512 | 0.005143 | 0 | 0.563265 | 0 | 0 | 0.046695 | 0 | 0 | 0 | 0 | 0 | 0.106122 | 1 | 0.118367 | false | 0 | 0.006122 | 0.018367 | 0.144898 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
9c78abbbec293aaefd5d026abd3db6d7960279d4 | 8,563 | py | Python | tests/apitests/python/test_robot_account.py | gerhardgossen/harbor | 1d03b8727acb9a3935bf45cd76b61f87c68e2a08 | [
"Apache-2.0"
] | 1 | 2020-07-31T15:00:54.000Z | 2020-07-31T15:00:54.000Z | tests/apitests/python/test_robot_account.py | gerhardgossen/harbor | 1d03b8727acb9a3935bf45cd76b61f87c68e2a08 | [
"Apache-2.0"
] | 10 | 2021-05-31T00:06:59.000Z | 2022-02-11T12:34:16.000Z | tests/apitests/python/test_robot_account.py | gerhardgossen/harbor | 1d03b8727acb9a3935bf45cd76b61f87c68e2a08 | [
"Apache-2.0"
] | 1 | 2020-07-12T16:51:07.000Z | 2020-07-12T16:51:07.000Z | from __future__ import absolute_import
import unittest
from testutils import ADMIN_CLIENT
from testutils import TEARDOWN
from library.user import User
from library.project import Project
from library.repository import Repository
from library.repository import pull_harbor_image
from library.repository import push_imag... | 64.871212 | 215 | 0.73911 | 1,224 | 8,563 | 4.89134 | 0.110294 | 0.104226 | 0.08769 | 0.042759 | 0.760314 | 0.750459 | 0.708535 | 0.699516 | 0.62786 | 0.62786 | 0 | 0.009547 | 0.168165 | 8,563 | 132 | 216 | 64.871212 | 0.83097 | 0.009109 | 0 | 0.024691 | 0 | 0.123457 | 0.210706 | 0 | 0 | 0 | 0 | 0 | 0.024691 | 0 | null | null | 0.08642 | 0.135802 | null | null | 0.222222 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
1308f0dd9c15ba9ea58abe836ba21f50ef3863ef | 679,794 | py | Python | homework_05/graficos_3.py | ufpa-organization-repositories/evolutionary-computing | e16786f9619e2b357b94ab91ff3a7b352e6a0d92 | [
"MIT"
] | null | null | null | homework_05/graficos_3.py | ufpa-organization-repositories/evolutionary-computing | e16786f9619e2b357b94ab91ff3a7b352e6a0d92 | [
"MIT"
] | null | null | null | homework_05/graficos_3.py | ufpa-organization-repositories/evolutionary-computing | e16786f9619e2b357b94ab91ff3a7b352e6a0d92 | [
"MIT"
] | null | null | null | # ensaio = [[[[1, 999.4951009067408, 999.495100909791, '1001100.11100010011001100001001', '100011.10010111010000111110100', '1', '1'], [2, 999.5052434400473, 999.5052434497359, '0000100.11100010011001100001001', '111011.10010111010000111110000', '1', '2'], [3, 999.51676448592, 999.516764613072, '0000100.111000100110011... | 23,441.172414 | 676,649 | 0.776381 | 60,297 | 679,794 | 8.75289 | 0.202581 | 0.026496 | 0.031464 | 0.008716 | 0.441051 | 0 | 0 | 0 | 0 | 0 | 0 | 0.818348 | 0.051916 | 679,794 | 29 | 676,650 | 23,441.172414 | 0.000537 | 0.003797 | 0 | 0.3 | 0 | 0 | 0.448583 | 0.42097 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.1 | 0 | 0.1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
134494ea81ba3a532d6b1f91e17ecbbfebb61032 | 157 | py | Python | simple_history/tests/custom_user/admin.py | rdurica/django-simple-history | 84d17f40be68e9ac7744b773451be83720c4c13a | [
"BSD-3-Clause"
] | 911 | 2015-01-05T13:21:17.000Z | 2020-06-07T07:11:53.000Z | simple_history/tests/custom_user/admin.py | rdurica/django-simple-history | 84d17f40be68e9ac7744b773451be83720c4c13a | [
"BSD-3-Clause"
] | 492 | 2015-01-01T18:20:20.000Z | 2020-06-06T17:34:01.000Z | simple_history/tests/custom_user/admin.py | rdurica/django-simple-history | 84d17f40be68e9ac7744b773451be83720c4c13a | [
"BSD-3-Clause"
] | 307 | 2015-02-01T00:45:51.000Z | 2020-06-06T15:39:29.000Z | from django.contrib import admin
from django.contrib.auth.admin import UserAdmin
from .models import CustomUser
admin.site.register(CustomUser, UserAdmin)
| 22.428571 | 47 | 0.834395 | 21 | 157 | 6.238095 | 0.52381 | 0.152672 | 0.259542 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101911 | 157 | 6 | 48 | 26.166667 | 0.929078 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
13539ceb0c44529e049d271d3d684efaaf1e9dee | 121 | py | Python | oomi/__init__.py | sremes/oomi | 312317aa2ef68f1481b2447652a7d47c5f2e3f56 | [
"MIT"
] | null | null | null | oomi/__init__.py | sremes/oomi | 312317aa2ef68f1481b2447652a7d47c5f2e3f56 | [
"MIT"
] | null | null | null | oomi/__init__.py | sremes/oomi | 312317aa2ef68f1481b2447652a7d47c5f2e3f56 | [
"MIT"
] | null | null | null | """Utilities for downloading comsumption data from Oomi."""
from oomi.oomi_downloader import OomiDownloader, OomiConfig
| 30.25 | 59 | 0.818182 | 14 | 121 | 7 | 0.785714 | 0.163265 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107438 | 121 | 3 | 60 | 40.333333 | 0.907407 | 0.438017 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
135d785a425446491b59ae18c63cdcf06bf42dd8 | 278 | py | Python | netdisco/discoverables/nanoleaf_aurora.py | jjlawren/netdisco | ffc3cd092bff359b1c1fc1ed51940624b3c8076b | [
"Apache-2.0"
] | 1 | 2020-01-05T21:36:10.000Z | 2020-01-05T21:36:10.000Z | env/lib/python3.7/site-packages/netdisco/discoverables/nanoleaf_aurora.py | seanmitch/UPnP | f3cb1ef62657f166971c1c470ce5dfd58bdeeac9 | [
"Unlicense"
] | null | null | null | env/lib/python3.7/site-packages/netdisco/discoverables/nanoleaf_aurora.py | seanmitch/UPnP | f3cb1ef62657f166971c1c470ce5dfd58bdeeac9 | [
"Unlicense"
] | null | null | null | """Discover Nanoleaf Aurora devices."""
from . import MDNSDiscoverable
class Discoverable(MDNSDiscoverable):
"""Add support for discovering Nanoleaf Aurora devices."""
def __init__(self, nd):
super(Discoverable, self).__init__(nd, '_nanoleafapi._tcp.local.')
| 27.8 | 74 | 0.726619 | 29 | 278 | 6.62069 | 0.724138 | 0.145833 | 0.21875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151079 | 278 | 9 | 75 | 30.888889 | 0.813559 | 0.309353 | 0 | 0 | 0 | 0 | 0.132597 | 0.132597 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
137c65c98b497accc914aadf90c4a0607e671a25 | 426 | py | Python | services/stocks-api/app/api/clients/coinbase/CoinbaseResponse.py | krystianbajno/stocks | 0a1a9283cb6debe36cfe01308eb4bc0b85217a02 | [
"MIT"
] | 3 | 2020-08-09T14:43:45.000Z | 2020-08-11T23:22:15.000Z | services/stocks-api/app/api/clients/coinbase/CoinbaseResponse.py | krystianbajno/stocks | 0a1a9283cb6debe36cfe01308eb4bc0b85217a02 | [
"MIT"
] | null | null | null | services/stocks-api/app/api/clients/coinbase/CoinbaseResponse.py | krystianbajno/stocks | 0a1a9283cb6debe36cfe01308eb4bc0b85217a02 | [
"MIT"
] | 1 | 2020-11-11T00:58:42.000Z | 2020-11-11T00:58:42.000Z | class CoinbaseResponse:
bid = 0
ask = 0
product_id = None
def set_bid(self, bid):
self.bid = float(bid)
def get_bid(self):
return self.bid
def set_ask(self, ask):
self.ask = float(ask)
def get_ask(self):
return self.ask
def get_product_id(self):
... | 18.521739 | 41 | 0.603286 | 62 | 426 | 3.935484 | 0.225806 | 0.258197 | 0.172131 | 0.163934 | 0.143443 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00678 | 0.307512 | 426 | 22 | 42 | 19.363636 | 0.820339 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0 | 0.1875 | 0.8125 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
13897ff894a1bd33edc2b806b99ab65957690746 | 413 | py | Python | duckql/properties/tests/test_null.py | fossabot/duckql-python | b4aead825ee456d9758db89830c7bca9d5d5106e | [
"MIT"
] | 4 | 2020-04-15T09:35:15.000Z | 2021-11-11T13:03:46.000Z | duckql/properties/tests/test_null.py | fossabot/duckql-python | b4aead825ee456d9758db89830c7bca9d5d5106e | [
"MIT"
] | 2 | 2020-04-08T12:10:56.000Z | 2020-04-15T09:14:44.000Z | duckql/properties/tests/test_null.py | fossabot/duckql-python | b4aead825ee456d9758db89830c7bca9d5d5106e | [
"MIT"
] | 1 | 2020-04-15T09:11:39.000Z | 2020-04-15T09:11:39.000Z | import pytest
from duckql.properties import Null
@pytest.fixture(scope="module")
def valid_instance() -> Null:
return Null()
def test_string(valid_instance: Null):
assert str(valid_instance) == 'NULL'
def test_obj(valid_instance: Null):
assert valid_instance.obj == 'properties.Null'
def test_json_p... | 19.666667 | 64 | 0.723971 | 54 | 413 | 5.333333 | 0.37037 | 0.315972 | 0.295139 | 0.239583 | 0.25 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145278 | 413 | 20 | 65 | 20.65 | 0.815864 | 0 | 0 | 0 | 0 | 0 | 0.123487 | 0 | 0 | 0 | 0 | 0 | 0.272727 | 1 | 0.363636 | false | 0 | 0.181818 | 0.090909 | 0.636364 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
138dbf1fa3b2ac4c4311547dd1bdd7a67de14e0b | 39 | py | Python | nitro-python/nssrc/com/citrix/netscaler/nitro/resource/stat/mediaclassification/__init__.py | culbertm/NSttyPython | ff9f6aedae3fb8495342cd0fc4247c819cf47397 | [
"Apache-2.0"
] | 2 | 2020-08-24T18:04:22.000Z | 2020-08-24T18:04:47.000Z | nitro/resource/stat/mediaclassification/__init__.py | HanseMerkur/nitro-python | d03eb11f492a35a2a8b2a140322fbce22d25a8f7 | [
"Apache-2.0"
] | null | null | null | nitro/resource/stat/mediaclassification/__init__.py | HanseMerkur/nitro-python | d03eb11f492a35a2a8b2a140322fbce22d25a8f7 | [
"Apache-2.0"
] | null | null | null | __all__ = ['mediaclassification_stats'] | 39 | 39 | 0.820513 | 3 | 39 | 9 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051282 | 39 | 1 | 39 | 39 | 0.72973 | 0 | 0 | 0 | 0 | 0 | 0.625 | 0.625 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
13d7ee99520201ddee21c6a144be012df62e596b | 14,211 | py | Python | querybuilder/tests/window_tests.py | wesokes/django-query-builder | 3cc53d33ee0a4ada515635e4be631167a774b457 | [
"MIT"
] | 110 | 2015-01-28T17:38:38.000Z | 2022-02-17T02:51:55.000Z | querybuilder/tests/window_tests.py | wesokes/django-query-builder | 3cc53d33ee0a4ada515635e4be631167a774b457 | [
"MIT"
] | 31 | 2015-02-17T19:57:29.000Z | 2021-08-30T03:44:55.000Z | querybuilder/tests/window_tests.py | wesokes/django-query-builder | 3cc53d33ee0a4ada515635e4be631167a774b457 | [
"MIT"
] | 33 | 2015-02-05T22:08:46.000Z | 2021-12-06T08:12:49.000Z | from querybuilder.fields import (
RankField, RowNumberField, DenseRankField, PercentRankField, CumeDistField, NTileField, LagField,
LeadField, FirstValueField, LastValueField, NthValueField, NumStdDevField
)
from querybuilder.query import QueryWindow, Query
from querybuilder.tests.models import Order
from query... | 33.916468 | 119 | 0.521779 | 1,321 | 14,211 | 5.274792 | 0.059803 | 0.075775 | 0.101033 | 0.132606 | 0.85663 | 0.838978 | 0.789036 | 0.733783 | 0.682262 | 0.624713 | 0 | 0.001266 | 0.388643 | 14,211 | 418 | 120 | 33.997608 | 0.80076 | 0 | 0 | 0.552163 | 0 | 0 | 0.208219 | 0.084653 | 0 | 0 | 0 | 0 | 0.05598 | 1 | 0.05598 | false | 0 | 0.010178 | 0 | 0.071247 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
13e5f9585262ddf6bd1e3799d8611f18effa881a | 40 | py | Python | tests/__init__.py | karanrampal/triplet-loss | b62008dedbf8640ccf0dc359b5aadd5e8b0ab134 | [
"MIT"
] | null | null | null | tests/__init__.py | karanrampal/triplet-loss | b62008dedbf8640ccf0dc359b5aadd5e8b0ab134 | [
"MIT"
] | null | null | null | tests/__init__.py | karanrampal/triplet-loss | b62008dedbf8640ccf0dc359b5aadd5e8b0ab134 | [
"MIT"
] | null | null | null | # To make directory as a python package
| 20 | 39 | 0.775 | 7 | 40 | 4.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 40 | 1 | 40 | 40 | 0.96875 | 0.925 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
b9787b11fbcd5779df09a2f0f27e44e75ad576ac | 1,870 | py | Python | app_venv/Lib/site-packages/phonenumbers/data/region_AG.py | orlandofv/sianna | f07dd6dbc62a9604f31ab800e482e62f14fba766 | [
"MIT"
] | null | null | null | app_venv/Lib/site-packages/phonenumbers/data/region_AG.py | orlandofv/sianna | f07dd6dbc62a9604f31ab800e482e62f14fba766 | [
"MIT"
] | null | null | null | app_venv/Lib/site-packages/phonenumbers/data/region_AG.py | orlandofv/sianna | f07dd6dbc62a9604f31ab800e482e62f14fba766 | [
"MIT"
] | null | null | null | """Auto-generated file, do not edit by hand. AG metadata"""
from ..phonemetadata import NumberFormat, PhoneNumberDesc, PhoneMetadata
PHONE_METADATA_AG = PhoneMetadata(id='AG', country_code=1, international_prefix='011',
general_desc=PhoneNumberDesc(national_number_pattern='(?:268|[58]\\d\\d|900)\\d{7}', possible_l... | 103.888889 | 352 | 0.711765 | 303 | 1,870 | 4.174917 | 0.346535 | 0.143874 | 0.183399 | 0.227668 | 0.300395 | 0.207905 | 0.194466 | 0.194466 | 0.036364 | 0 | 0 | 0.170068 | 0.056684 | 1,870 | 17 | 353 | 110 | 0.547052 | 0.028342 | 0 | 0 | 1 | 0.266667 | 0.296521 | 0.216455 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.066667 | 0 | 0.066667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
b9a1ae11b40a499e6f6854e1a273c2ff226ef650 | 692 | py | Python | h2o-docs/src/booklets/v2_2015/source/Python_Vignette_code_examples/python_combine_frames_append_one_as_columns.py | ahmedengu/h2o-3 | ac2c0a6fbe7f8e18078278bf8a7d3483d41aca11 | [
"Apache-2.0"
] | 6,098 | 2015-05-22T02:46:12.000Z | 2022-03-31T16:54:51.000Z | h2o-docs/src/booklets/v2_2015/source/Python_Vignette_code_examples/python_combine_frames_append_one_as_columns.py | ahmedengu/h2o-3 | ac2c0a6fbe7f8e18078278bf8a7d3483d41aca11 | [
"Apache-2.0"
] | 2,517 | 2015-05-23T02:10:54.000Z | 2022-03-30T17:03:39.000Z | h2o-docs/src/booklets/v2_2015/source/Python_Vignette_code_examples/python_combine_frames_append_one_as_columns.py | ahmedengu/h2o-3 | ac2c0a6fbe7f8e18078278bf8a7d3483d41aca11 | [
"Apache-2.0"
] | 2,199 | 2015-05-22T04:09:55.000Z | 2022-03-28T22:20:45.000Z | df8.cbind(df9)
# A B C D A0 B0 C0 D0
# ----- ------ ------ ------ ------ ----- ----- -----
# -0.09 0.944 0.160 0.271 -0.351 1.66 -2.32 -0.86
# -0.95 0.669 0.664 1.535 -0.633 -1.78 0.32 1.27
# 0.17 0.657 0.970 -0.419 -1.413 -0.51 0.64 -1.25
# 0.58 -0.516 -1.598 -1.346 0.71... | 43.25 | 54 | 0.460983 | 176 | 692 | 1.8125 | 0.511364 | 0.018809 | 0.031348 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.578842 | 0.276012 | 692 | 16 | 55 | 43.25 | 0.057884 | 0.930636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
b9c1739f7de89fe26aec7c763524b35992652ab0 | 92 | py | Python | pydm/PyQt/uic.py | klauer/pydm | e26aad58a7a0eb6f7321c61aa1dace646ff652bd | [
"BSD-3-Clause-LBNL"
] | null | null | null | pydm/PyQt/uic.py | klauer/pydm | e26aad58a7a0eb6f7321c61aa1dace646ff652bd | [
"BSD-3-Clause-LBNL"
] | null | null | null | pydm/PyQt/uic.py | klauer/pydm | e26aad58a7a0eb6f7321c61aa1dace646ff652bd | [
"BSD-3-Clause-LBNL"
] | null | null | null | from . import qtlib
QT_LIB = qtlib.QT_LIB
if QT_LIB == 'PyQt5':
from PyQt5.uic import *
| 18.4 | 27 | 0.684783 | 16 | 92 | 3.75 | 0.5 | 0.25 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027397 | 0.206522 | 92 | 4 | 28 | 23 | 0.794521 | 0 | 0 | 0 | 0 | 0 | 0.054348 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
b9cd7df81437d8aa9311f772f8fd75744e9a395a | 5,108 | py | Python | MyServer.py | bisw1jit/MyServer | cbd7bc4015482ce8f24314894148f7e20ef66b21 | [
"MIT"
] | 3 | 2019-11-09T17:29:55.000Z | 2021-12-19T21:52:12.000Z | MyServer.py | bisw1jit/MyServer | cbd7bc4015482ce8f24314894148f7e20ef66b21 | [
"MIT"
] | null | null | null | MyServer.py | bisw1jit/MyServer | cbd7bc4015482ce8f24314894148f7e20ef66b21 | [
"MIT"
] | null | null | null | # Tool Name :- MyServer
# Author :- LordReaper
# Date :- 13/11/2018 - 9/11/2019
# Powered By :- H1ckPro Software's
import sys
import os
from time import sleep
from core.system import *
if len(sys.argv)>1:
pass
else:
print ("error : invalid arguments !!")
print ("use : myserver --help for more information")
s... | 34.748299 | 98 | 0.576155 | 722 | 5,108 | 4.074792 | 0.117729 | 0.152277 | 0.048946 | 0.0707 | 0.797077 | 0.765466 | 0.746431 | 0.735894 | 0.692386 | 0.663154 | 0 | 0.027068 | 0.233359 | 5,108 | 146 | 99 | 34.986301 | 0.724208 | 0.020752 | 0 | 0.579365 | 0 | 0 | 0.45047 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.007937 | 0.031746 | 0 | 0.031746 | 0.277778 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
b9ea2a649f07b6a108f30b09b86010ae0b3acd70 | 47 | py | Python | tumbleweed/models.py | mcroydon/django-tumbleweed | 3f1eab2bf12350a91ca38165efec0c221a1fe69a | [
"BSD-3-Clause"
] | 1 | 2015-11-08T11:33:15.000Z | 2015-11-08T11:33:15.000Z | tumbleweed/models.py | mcroydon/django-tumbleweed | 3f1eab2bf12350a91ca38165efec0c221a1fe69a | [
"BSD-3-Clause"
] | null | null | null | tumbleweed/models.py | mcroydon/django-tumbleweed | 3f1eab2bf12350a91ca38165efec0c221a1fe69a | [
"BSD-3-Clause"
] | null | null | null | # These are not the droids you are looking for. | 47 | 47 | 0.765957 | 9 | 47 | 4 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.191489 | 47 | 1 | 47 | 47 | 0.947368 | 0.957447 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
b9eda5f604ec6cf197f2876a0f748c37ee805587 | 73 | py | Python | patches/datasets/__init__.py | sflippl/patches | c19889e676e231af44669a01c61854e9e5791227 | [
"MIT"
] | null | null | null | patches/datasets/__init__.py | sflippl/patches | c19889e676e231af44669a01c61854e9e5791227 | [
"MIT"
] | null | null | null | patches/datasets/__init__.py | sflippl/patches | c19889e676e231af44669a01c61854e9e5791227 | [
"MIT"
] | null | null | null | """Datasets of latent predictability tasks.
"""
from .pilgrimm import *
| 14.6 | 43 | 0.726027 | 8 | 73 | 6.625 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150685 | 73 | 4 | 44 | 18.25 | 0.854839 | 0.547945 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
6a0ff32b449d925c6b914b62185f0b337c8c4a7c | 133 | py | Python | assignment/users/admin.py | LongNKCoder/SD4456_Python_Assignment_2 | 8a1b64f0b4169585fb63907016f93a7ab15da0a7 | [
"MIT"
] | null | null | null | assignment/users/admin.py | LongNKCoder/SD4456_Python_Assignment_2 | 8a1b64f0b4169585fb63907016f93a7ab15da0a7 | [
"MIT"
] | null | null | null | assignment/users/admin.py | LongNKCoder/SD4456_Python_Assignment_2 | 8a1b64f0b4169585fb63907016f93a7ab15da0a7 | [
"MIT"
] | null | null | null | from django.contrib import admin
from users.models import Friendship
admin.site.register(Friendship)
# Register your models here.
| 16.625 | 35 | 0.81203 | 18 | 133 | 6 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12782 | 133 | 7 | 36 | 19 | 0.931034 | 0.195489 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
6a114f290b289195e2b18bfe3c8fd05836efd438 | 1,821 | py | Python | src/GL/sim/gql_ql_sims_ml_analysis.py | kylmcgr/RL-RNN-SURF | 5d6db3e6ff4534003f2a7e832f221b5e529775d5 | [
"Apache-2.0"
] | 2 | 2021-03-12T11:12:23.000Z | 2021-05-19T08:32:47.000Z | src/GL/sim/gql_ql_sims_ml_analysis.py | kylmcgr/RL-RNN-SURF | 5d6db3e6ff4534003f2a7e832f221b5e529775d5 | [
"Apache-2.0"
] | 6 | 2019-12-16T21:54:13.000Z | 2022-02-10T00:16:08.000Z | src/GL/sim/gql_ql_sims_ml_analysis.py | kylmcgr/RL-RNN-SURF | 5d6db3e6ff4534003f2a7e832f221b5e529775d5 | [
"Apache-2.0"
] | 3 | 2019-11-07T22:44:21.000Z | 2021-02-22T05:51:59.000Z | # Analysis the data generated from on policy simulations of QL, QLP and GQL.
from BD.sim.sims import sims_analysis, merge_sim_files, extract_run_rew
from BD.util.paths import Paths
def sims_analysis_BD():
input_folder = Paths.rest_path + 'archive/beh/qlp-ml-opt/qlp-ml/'
sims_analysis(input_folder,
... | 35.019231 | 100 | 0.665568 | 265 | 1,821 | 4.211321 | 0.196226 | 0.096774 | 0.114695 | 0.107527 | 0.783154 | 0.783154 | 0.783154 | 0.725806 | 0.665771 | 0.665771 | 0 | 0.008596 | 0.233388 | 1,821 | 51 | 101 | 35.705882 | 0.790831 | 0.040637 | 0 | 0.342857 | 1 | 0 | 0.254441 | 0.249857 | 0 | 0 | 0 | 0 | 0 | 1 | 0.057143 | false | 0 | 0.057143 | 0 | 0.114286 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6a17dd33b700261e4940d552334d981b6c74eaed | 128 | py | Python | volksdep/converters/__init__.py | repoww/volksdep | ceaccd30a29a3ba82bd4f9be0c52b8c99c8d6290 | [
"Apache-2.0"
] | 271 | 2020-05-22T11:05:19.000Z | 2022-02-27T13:57:38.000Z | volksdep/converters/__init__.py | repoww/volksdep | ceaccd30a29a3ba82bd4f9be0c52b8c99c8d6290 | [
"Apache-2.0"
] | 16 | 2020-06-28T09:54:07.000Z | 2022-01-18T09:08:07.000Z | volksdep/converters/__init__.py | repoww/volksdep | ceaccd30a29a3ba82bd4f9be0c52b8c99c8d6290 | [
"Apache-2.0"
] | 34 | 2020-05-22T11:08:29.000Z | 2021-12-18T22:47:06.000Z | from .torch2onnx import torch2onnx
from .onnx2trt import onnx2trt
from .torch2trt import torch2trt
from .base import load, save
| 25.6 | 34 | 0.828125 | 17 | 128 | 6.235294 | 0.470588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054054 | 0.132813 | 128 | 4 | 35 | 32 | 0.900901 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
6a27b2bcfa7e4d8b0487cdb6693479a656fd6bb3 | 136 | py | Python | opensteer/teams/admin.py | reckonsys/opensteer | 3c47bcf0a8de8e363ce8cced02827fe21a0d406a | [
"MIT"
] | 5 | 2019-10-14T05:48:43.000Z | 2021-08-29T17:42:48.000Z | opensteer/teams/admin.py | reckonsys/opensteer | 3c47bcf0a8de8e363ce8cced02827fe21a0d406a | [
"MIT"
] | 26 | 2019-09-19T08:51:45.000Z | 2022-03-12T00:05:29.000Z | opensteer/teams/admin.py | reckonsys/opensteer | 3c47bcf0a8de8e363ce8cced02827fe21a0d406a | [
"MIT"
] | 1 | 2020-01-08T21:50:05.000Z | 2020-01-08T21:50:05.000Z | from django.contrib import admin
from opensteer.teams.models import Team, Member
admin.site.register(Team)
admin.site.register(Member)
| 22.666667 | 47 | 0.823529 | 20 | 136 | 5.6 | 0.6 | 0.160714 | 0.303571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 136 | 5 | 48 | 27.2 | 0.903226 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
6a30d65ddcf953ceadcc9809b51e37283b427dac | 49 | py | Python | floodcomparison/__init__.py | jsosa/floodcomparison | c6662ae9142b4e89c6c05f93adaba49c5d8e4314 | [
"Apache-2.0"
] | null | null | null | floodcomparison/__init__.py | jsosa/floodcomparison | c6662ae9142b4e89c6c05f93adaba49c5d8e4314 | [
"Apache-2.0"
] | null | null | null | floodcomparison/__init__.py | jsosa/floodcomparison | c6662ae9142b4e89c6c05f93adaba49c5d8e4314 | [
"Apache-2.0"
] | null | null | null | from floodcomparison.core import floodcomparison
| 24.5 | 48 | 0.897959 | 5 | 49 | 8.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 49 | 1 | 49 | 49 | 0.977778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
6a3848493b2b327c8b213a833273765a92b0f3b9 | 274 | py | Python | home/website/wagtail_hooks.py | HackSoftware/hackconf.bg | ab3cc9fcdccf8991098553e0374103e3a241ce50 | [
"MIT"
] | 12 | 2017-03-29T11:55:20.000Z | 2022-03-29T20:03:41.000Z | kdl_wagtail/wagtail_hooks.py | kingsdigitallab/archetype-django | 6315c8f38e873e2d3b2d99fcfd47d01ce0ae35bc | [
"MIT"
] | 8 | 2020-06-05T18:16:24.000Z | 2021-09-07T23:53:11.000Z | kdl_wagtail/wagtail_hooks.py | kingsdigitallab/archetype-django | 6315c8f38e873e2d3b2d99fcfd47d01ce0ae35bc | [
"MIT"
] | 2 | 2018-03-31T15:06:55.000Z | 2019-06-25T16:22:08.000Z | from django.utils.html import format_html
from wagtail.wagtailcore import hooks
@hooks.register('insert_editor_js')
def enable_source():
return format_html(
"""
<script>
registerHalloPlugin('hallohtml');
</script>
"""
)
| 19.571429 | 45 | 0.624088 | 27 | 274 | 6.148148 | 0.740741 | 0.120482 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.266423 | 274 | 13 | 46 | 21.076923 | 0.825871 | 0 | 0 | 0 | 0 | 0 | 0.089888 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.333333 | 0.166667 | 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 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
e04a69c5ceb81801a0a97e45ded8c53330ccbc76 | 18,672 | py | Python | asr/dataloaders/am_dataloader.py | Z-yq/audioSamples.github.io | 53c474288f0db1a3acfe40ba57a4cd5f2aecbcd3 | [
"Apache-2.0"
] | 1 | 2022-03-03T02:51:55.000Z | 2022-03-03T02:51:55.000Z | asr/dataloaders/am_dataloader.py | Z-yq/audioSamples.github.io | 53c474288f0db1a3acfe40ba57a4cd5f2aecbcd3 | [
"Apache-2.0"
] | null | null | null | asr/dataloaders/am_dataloader.py | Z-yq/audioSamples.github.io | 53c474288f0db1a3acfe40ba57a4cd5f2aecbcd3 | [
"Apache-2.0"
] | null | null | null | import logging
import random
import numpy as np
import pypinyin
import tensorflow as tf
from augmentations.augments import Augmentation
from utils.speech_featurizers import SpeechFeaturizer
from utils.text_featurizers import TextFeaturizer
logging.basicConfig(level=logging.INFO, format='%(asctime)s - %(name)s - %(le... | 43.322506 | 152 | 0.530366 | 2,041 | 18,672 | 4.638413 | 0.100441 | 0.051759 | 0.052393 | 0.03021 | 0.758001 | 0.742051 | 0.731171 | 0.716806 | 0.716806 | 0.699905 | 0 | 0.011319 | 0.366003 | 18,672 | 430 | 153 | 43.423256 | 0.788393 | 0.000696 | 0 | 0.698895 | 0 | 0 | 0.071609 | 0.00268 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035912 | false | 0.002762 | 0.024862 | 0.01105 | 0.093923 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e061c15bed338723a46d4f04e8c849cc852fe7c0 | 5,326 | py | Python | test/test_cursor_binding.py | rhlahuja/snowflake-connector-python | 6abc56c970cdb698a833b7f6ac9cbe7dfa667abd | [
"Apache-2.0"
] | null | null | null | test/test_cursor_binding.py | rhlahuja/snowflake-connector-python | 6abc56c970cdb698a833b7f6ac9cbe7dfa667abd | [
"Apache-2.0"
] | null | null | null | test/test_cursor_binding.py | rhlahuja/snowflake-connector-python | 6abc56c970cdb698a833b7f6ac9cbe7dfa667abd | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright (c) 2012-2018 Snowflake Computing Inc. All right reserved.
#
import pytest
from snowflake.connector.errors import (ProgrammingError)
def test_binding_security(conn_cnx, db_parameters):
"""
SQL Injection Tests
"""
try:
with conn_cnx()... | 36.731034 | 78 | 0.480473 | 579 | 5,326 | 4.352332 | 0.188256 | 0.114286 | 0.1 | 0.183333 | 0.775397 | 0.730952 | 0.730952 | 0.685317 | 0.685317 | 0.655159 | 0 | 0.016536 | 0.375516 | 5,326 | 144 | 79 | 36.986111 | 0.74113 | 0.050507 | 0 | 0.727273 | 0 | 0 | 0.226064 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 1 | 0.027273 | false | 0 | 0.018182 | 0 | 0.045455 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
0ec7b7a0dee386c8044a5e357cb59fce0132a0cf | 19,177 | py | Python | posthog/api/test/test_organization_domain.py | msnitish/posthog | cb86113f568e72eedcb64b5fd00c313d21e72f90 | [
"MIT"
] | null | null | null | posthog/api/test/test_organization_domain.py | msnitish/posthog | cb86113f568e72eedcb64b5fd00c313d21e72f90 | [
"MIT"
] | null | null | null | posthog/api/test/test_organization_domain.py | msnitish/posthog | cb86113f568e72eedcb64b5fd00c313d21e72f90 | [
"MIT"
] | null | null | null | import datetime
from unittest.mock import patch
import dns.resolver
import dns.rrset
import pytest
import pytz
from django.utils import timezone
from freezegun import freeze_time
from rest_framework import status
from posthog.models import Organization, OrganizationDomain, OrganizationMembership, Team
from posthog.te... | 45.228774 | 118 | 0.671012 | 2,088 | 19,177 | 5.945402 | 0.117337 | 0.103915 | 0.098196 | 0.044466 | 0.807234 | 0.773159 | 0.737071 | 0.725068 | 0.694297 | 0.677864 | 0 | 0.018563 | 0.213433 | 19,177 | 423 | 119 | 45.335697 | 0.80423 | 0.015435 | 0 | 0.556522 | 0 | 0 | 0.192134 | 0.107319 | 0 | 0 | 0 | 0 | 0.263768 | 1 | 0.069565 | false | 0.002899 | 0.031884 | 0 | 0.121739 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
0ee50094e88f5107ffe4383858e5ac2e6c4ea6ec | 90 | py | Python | src/products/admin.py | apabaad/django_ecommerce | ca04143477b306413158e5311062563f7418700c | [
"bzip2-1.0.6"
] | null | null | null | src/products/admin.py | apabaad/django_ecommerce | ca04143477b306413158e5311062563f7418700c | [
"bzip2-1.0.6"
] | null | null | null | src/products/admin.py | apabaad/django_ecommerce | ca04143477b306413158e5311062563f7418700c | [
"bzip2-1.0.6"
] | null | null | null | from django.contrib import admin
from .models import Product
admin.site.register(Product) | 22.5 | 32 | 0.833333 | 13 | 90 | 5.769231 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 90 | 4 | 33 | 22.5 | 0.925926 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
162d0aa4bb77e9b34f76b8530aaf8f57b28901c9 | 647 | py | Python | test/test_modify_group.py | Sfairat00/training_python | 14562b377d19bf22fc077e02efc7e56e73785a55 | [
"Apache-2.0"
] | null | null | null | test/test_modify_group.py | Sfairat00/training_python | 14562b377d19bf22fc077e02efc7e56e73785a55 | [
"Apache-2.0"
] | null | null | null | test/test_modify_group.py | Sfairat00/training_python | 14562b377d19bf22fc077e02efc7e56e73785a55 | [
"Apache-2.0"
] | null | null | null | from model.group import Group
def test_modify_group_name(app):
if app.group.count() == 0:
app.group.create(Group(name="test"))
old_groups = app.group.get_group_list()
app.group.modify_first_group(Group(name="New group"))
new_groups = app.group.get_group_list()
assert len(old_groups) == len... | 26.958333 | 60 | 0.698609 | 99 | 647 | 4.30303 | 0.222222 | 0.187793 | 0.131455 | 0.159624 | 0.746479 | 0.746479 | 0.746479 | 0.746479 | 0.746479 | 0.746479 | 0 | 0.003697 | 0.163833 | 647 | 23 | 61 | 28.130435 | 0.783734 | 0 | 0 | 0.533333 | 0 | 0 | 0.041925 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 1 | 0.133333 | false | 0 | 0.066667 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
16449c2c8a80a3f0f14b7a2a74915dc78441651d | 139 | py | Python | tests/checks/run_performance_tests.py | stjordanis/mljar-supervised | 8c3f9d1ed527dfcfdaef91cf82e2779c5832e294 | [
"MIT"
] | 1,882 | 2018-11-05T13:20:54.000Z | 2022-03-31T14:31:46.000Z | tests/checks/run_performance_tests.py | stjordanis/mljar-supervised | 8c3f9d1ed527dfcfdaef91cf82e2779c5832e294 | [
"MIT"
] | 499 | 2019-03-14T09:57:51.000Z | 2022-03-30T06:00:43.000Z | tests/checks/run_performance_tests.py | stjordanis/mljar-supervised | 8c3f9d1ed527dfcfdaef91cf82e2779c5832e294 | [
"MIT"
] | 277 | 2019-02-08T21:32:13.000Z | 2022-03-29T03:26:05.000Z | import os
import sys
import unittest
from tests.tests_bin_class.test_performance import *
if __name__ == "__main__":
unittest.main()
| 15.444444 | 52 | 0.769784 | 19 | 139 | 5.052632 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151079 | 139 | 8 | 53 | 17.375 | 0.813559 | 0 | 0 | 0 | 0 | 0 | 0.057554 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
1653e68a3494182dbc33ba8410b68bb9f85c16c2 | 97 | py | Python | src/tensor/tensor/movement/__init__.py | jedhsu/tensor | 3b2fe21029fa7c50b034190e77d79d1a94ea5e8f | [
"Apache-2.0"
] | null | null | null | src/tensor/tensor/movement/__init__.py | jedhsu/tensor | 3b2fe21029fa7c50b034190e77d79d1a94ea5e8f | [
"Apache-2.0"
] | null | null | null | src/tensor/tensor/movement/__init__.py | jedhsu/tensor | 3b2fe21029fa7c50b034190e77d79d1a94ea5e8f | [
"Apache-2.0"
] | null | null | null | from ._movement import Movement
from .path import MovementPath
from .paths import MovementPaths
| 19.4 | 32 | 0.835052 | 12 | 97 | 6.666667 | 0.583333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134021 | 97 | 4 | 33 | 24.25 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
16731efe14cf79a4c56966e84b709e60bb9faf4f | 42 | py | Python | src/styleaug/__init__.py | somritabanerjee/speedplusbaseline | 5913c611d8c182ad8070abcf5f1baffc554dfd90 | [
"MIT"
] | 69 | 2019-04-09T18:05:33.000Z | 2022-03-11T05:58:59.000Z | src/styleaug/__init__.py | somritabanerjee/speedplusbaseline | 5913c611d8c182ad8070abcf5f1baffc554dfd90 | [
"MIT"
] | 6 | 2019-04-01T12:04:10.000Z | 2022-01-19T11:49:13.000Z | src/styleaug/__init__.py | somritabanerjee/speedplusbaseline | 5913c611d8c182ad8070abcf5f1baffc554dfd90 | [
"MIT"
] | 13 | 2019-05-22T19:08:36.000Z | 2021-08-13T01:21:47.000Z | from .styleAugmentor import StyleAugmentor | 42 | 42 | 0.904762 | 4 | 42 | 9.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 42 | 1 | 42 | 42 | 0.974359 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
1689e31b5f0f44d60b97128a67d87b2730238b68 | 28 | py | Python | tests/syntax/missing_in_with_for.py | matan-h/friendly | 3ab0fc6541c837271e8865e247750007acdd18fb | [
"MIT"
] | 287 | 2019-04-08T13:18:29.000Z | 2021-03-14T19:10:21.000Z | tests/syntax/missing_in_with_for.py | matan-h/friendly | 3ab0fc6541c837271e8865e247750007acdd18fb | [
"MIT"
] | 191 | 2019-04-08T14:39:18.000Z | 2021-03-14T22:14:56.000Z | tests/syntax/missing_in_with_for.py | matan-h/friendly | 3ab0fc6541c837271e8865e247750007acdd18fb | [
"MIT"
] | 9 | 2019-04-08T12:54:08.000Z | 2020-11-20T02:26:27.000Z | for x range(4):
print(x)
| 9.333333 | 15 | 0.571429 | 6 | 28 | 2.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 0.25 | 28 | 2 | 16 | 14 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
16a5b8fdf510e7bdeb3c6bd8d9c144db7f897552 | 52 | py | Python | lectures/05-python-intro/examples/argv.py | mattmiller899/biosys-analytics | ab24a4c7206ed9a865e896daa57cee3c4e62df1f | [
"MIT"
] | 14 | 2019-07-14T08:29:04.000Z | 2022-03-07T06:33:26.000Z | lectures/05-python-intro/examples/argv.py | mattmiller899/biosys-analytics | ab24a4c7206ed9a865e896daa57cee3c4e62df1f | [
"MIT"
] | 4 | 2020-03-24T18:25:26.000Z | 2021-08-23T20:44:07.000Z | lectures/05-python-intro/examples/argv.py | mattmiller899/biosys-analytics | ab24a4c7206ed9a865e896daa57cee3c4e62df1f | [
"MIT"
] | 33 | 2019-01-05T17:03:47.000Z | 2019-11-11T20:48:24.000Z | #!/usr/bin/env python3
import sys
print(sys.argv)
| 8.666667 | 22 | 0.711538 | 9 | 52 | 4.111111 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022222 | 0.134615 | 52 | 5 | 23 | 10.4 | 0.8 | 0.403846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
16cfaddb94dc7d27c3d0480f8a3e480fd2dc70da | 30 | py | Python | tools/micropython-mockup/urandom.py | hwinther/lanot | f6700cacb3946535081624467b746fdfd38e021d | [
"Apache-2.0"
] | null | null | null | tools/micropython-mockup/urandom.py | hwinther/lanot | f6700cacb3946535081624467b746fdfd38e021d | [
"Apache-2.0"
] | null | null | null | tools/micropython-mockup/urandom.py | hwinther/lanot | f6700cacb3946535081624467b746fdfd38e021d | [
"Apache-2.0"
] | null | null | null | def randrange(n, y):
pass
| 10 | 20 | 0.6 | 5 | 30 | 3.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.266667 | 30 | 2 | 21 | 15 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.