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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
287632adc920cdc6ad27d4bdb4cbfb0e7f0185b2 | 75 | py | Python | problem_solving/algorithms/warmup/q8_mini_max_sum.py | mxdzi/hackerrank | 4455f73e4479a4204b2e1167253f6a02351aa5b7 | [
"MIT"
] | null | null | null | problem_solving/algorithms/warmup/q8_mini_max_sum.py | mxdzi/hackerrank | 4455f73e4479a4204b2e1167253f6a02351aa5b7 | [
"MIT"
] | null | null | null | problem_solving/algorithms/warmup/q8_mini_max_sum.py | mxdzi/hackerrank | 4455f73e4479a4204b2e1167253f6a02351aa5b7 | [
"MIT"
] | null | null | null | def miniMaxSum(arr):
arr.sort()
print(sum(arr[:-1]), sum(arr[1:]))
| 18.75 | 38 | 0.56 | 12 | 75 | 3.5 | 0.583333 | 0.285714 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032258 | 0.173333 | 75 | 3 | 39 | 25 | 0.645161 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.333333 | 0.333333 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
28805e886490e33dea415b6f47ab761b2f9c5314 | 265 | py | Python | torchreid/engine/__init__.py | Arindam-1991/deep_reid | ab68d95c2229ef5b832a6a6b614a9b91e4984bd5 | [
"MIT"
] | 1 | 2021-03-27T17:27:47.000Z | 2021-03-27T17:27:47.000Z | torchreid/engine/__init__.py | Arindam-1991/deep_reid | ab68d95c2229ef5b832a6a6b614a9b91e4984bd5 | [
"MIT"
] | null | null | null | torchreid/engine/__init__.py | Arindam-1991/deep_reid | ab68d95c2229ef5b832a6a6b614a9b91e4984bd5 | [
"MIT"
] | null | null | null | from __future__ import print_function, absolute_import
from .image import ImageSoftmaxEngine, ImageTripletEngine
from .image import ImageTripletEngine_DG, ImageQAConvEngine
from .video import VideoSoftmaxEngine, VideoTripletEngine
from .engine import Engine
| 37.857143 | 60 | 0.85283 | 27 | 265 | 8.111111 | 0.555556 | 0.082192 | 0.136986 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116981 | 265 | 6 | 61 | 44.166667 | 0.935897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.2 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
28a23cbe9ccbb707d734088f1f5db0a7fffc7540 | 156 | py | Python | osf/files/addons-wiki-local.py | sifulan-access-federation/helm-charts | ea6a36cedc0e5743d6b04440816c9dd8071a23e2 | [
"Apache-2.0"
] | null | null | null | osf/files/addons-wiki-local.py | sifulan-access-federation/helm-charts | ea6a36cedc0e5743d6b04440816c9dd8071a23e2 | [
"Apache-2.0"
] | null | null | null | osf/files/addons-wiki-local.py | sifulan-access-federation/helm-charts | ea6a36cedc0e5743d6b04440816c9dd8071a23e2 | [
"Apache-2.0"
] | null | null | null | import os
SHAREJS_HOST = os.environ['SHAREJS_HOST']
#SHAREJS_URL = '{}:{}'.format(SHAREJS_HOST, SHAREJS_PORT)
SHAREJS_URL = os.environ['OSF_SHAREJS_URL']
| 22.285714 | 57 | 0.75 | 22 | 156 | 4.954545 | 0.409091 | 0.302752 | 0.330275 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089744 | 156 | 6 | 58 | 26 | 0.767606 | 0.358974 | 0 | 0 | 0 | 0 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
95552392964fafda5a556d7da53e06f994aaf50c | 269 | py | Python | setup.py | andrewp-as-is/django-admin-commands.py | 88b5d22ca45104a1fc095c9b2855f5355c9eb8ea | [
"Unlicense"
] | 1 | 2021-09-23T18:16:56.000Z | 2021-09-23T18:16:56.000Z | setup.py | andrewp-as-is/django-command-admin.py | 88b5d22ca45104a1fc095c9b2855f5355c9eb8ea | [
"Unlicense"
] | null | null | null | setup.py | andrewp-as-is/django-command-admin.py | 88b5d22ca45104a1fc095c9b2855f5355c9eb8ea | [
"Unlicense"
] | null | null | null | from setuptools import setup
setup(
name='django-command-admin',
version='2021.6.21',
packages=[
'django_command_admin',
'django_command_admin.admin',
'django_command_admin.migrations',
'django_command_admin.models'
]
)
| 20.692308 | 42 | 0.650558 | 29 | 269 | 5.758621 | 0.517241 | 0.389222 | 0.538922 | 0.275449 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033981 | 0.234201 | 269 | 12 | 43 | 22.416667 | 0.776699 | 0 | 0 | 0 | 0 | 0 | 0.494424 | 0.312268 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.090909 | 0 | 0.090909 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
95875a6a4c3f6e728a147bbaf1de6024a9db8cee | 48 | py | Python | flickipedia/web/model.py | rfaulkner/Flickipedia | 1b53f30be4027901748a09c411d568c7148f4e4b | [
"BSD-2-Clause"
] | 1 | 2016-03-11T09:40:19.000Z | 2016-03-11T09:40:19.000Z | flickipedia/web/model.py | rfaulkner/Flickipedia | 1b53f30be4027901748a09c411d568c7148f4e4b | [
"BSD-2-Clause"
] | 1 | 2015-02-27T02:23:19.000Z | 2015-02-27T02:23:19.000Z | flickipedia/web/model.py | rfaulkner/Flickipedia | 1b53f30be4027901748a09c411d568c7148f4e4b | [
"BSD-2-Clause"
] | null | null | null | """ Defines the data model for the backend. """
| 24 | 47 | 0.666667 | 7 | 48 | 4.571429 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 48 | 1 | 48 | 48 | 0.820513 | 0.8125 | 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 |
95a65ac8b5490f889dfb6d4899690b82aadeff5f | 137 | py | Python | lib/djWasabi/__init__.py | dj-wasabi/dj-wasabi-release | 8d4742b8b5e9dd4c183c5e07d14086781d848488 | [
"MIT"
] | null | null | null | lib/djWasabi/__init__.py | dj-wasabi/dj-wasabi-release | 8d4742b8b5e9dd4c183c5e07d14086781d848488 | [
"MIT"
] | 10 | 2021-01-07T20:22:18.000Z | 2021-03-16T19:47:39.000Z | lib/djWasabi/__init__.py | dj-wasabi/dj-wasabi-release | 8d4742b8b5e9dd4c183c5e07d14086781d848488 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
import djWasabi.config
import djWasabi.container
import djWasabi.git
import djWasabi.generic
import djWasabi.http
| 17.125 | 25 | 0.832117 | 19 | 137 | 6 | 0.578947 | 0.614035 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094891 | 137 | 7 | 26 | 19.571429 | 0.919355 | 0.145985 | 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 |
95bed3135c5beff671116fc8f5015ee52c9bdad5 | 241 | py | Python | Scripts/Operadores Aritmeticos/OP D7.py | Vinicius-de-Souza-Reis-Lima/Python | 2009e9f5be10a1cf4e506a7f9f17c6b90a30c7c7 | [
"MIT"
] | null | null | null | Scripts/Operadores Aritmeticos/OP D7.py | Vinicius-de-Souza-Reis-Lima/Python | 2009e9f5be10a1cf4e506a7f9f17c6b90a30c7c7 | [
"MIT"
] | null | null | null | Scripts/Operadores Aritmeticos/OP D7.py | Vinicius-de-Souza-Reis-Lima/Python | 2009e9f5be10a1cf4e506a7f9f17c6b90a30c7c7 | [
"MIT"
] | null | null | null | print('Pintura de parede')
print('='*25)
l = float(input('Qual a largura da parede? '))
a = float(input('Qual a altura da parede? '))
print('A área da parede é {:.3f} m² e é necessário {:.3f} L de tinta para pintá-lo.'.format(l*a, (l*a)/2))
| 40.166667 | 106 | 0.643154 | 46 | 241 | 3.369565 | 0.543478 | 0.154839 | 0.180645 | 0.193548 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029412 | 0.153527 | 241 | 5 | 107 | 48.2 | 0.730392 | 0 | 0 | 0 | 0 | 0.2 | 0.60166 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.6 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
95f70830a1a6789f672b7174c8a8313a69cdd1ae | 124 | py | Python | src/HABApp/core/files/manager/__init__.py | DerOetzi/HABApp | a123fbfa9928ebb3cda9a84f6984dcba593c8236 | [
"Apache-2.0"
] | 44 | 2018-12-13T08:46:44.000Z | 2022-03-07T03:23:21.000Z | src/HABApp/core/files/manager/__init__.py | DerOetzi/HABApp | a123fbfa9928ebb3cda9a84f6984dcba593c8236 | [
"Apache-2.0"
] | 156 | 2019-03-02T20:53:31.000Z | 2022-03-23T13:13:58.000Z | src/HABApp/core/files/manager/__init__.py | DerOetzi/HABApp | a123fbfa9928ebb3cda9a84f6984dcba593c8236 | [
"Apache-2.0"
] | 18 | 2019-03-08T07:13:21.000Z | 2022-03-22T19:52:31.000Z | from .files import FILES, file_state_changed
from .listen_events import setup_file_manager
from .worker import process_file
| 31 | 45 | 0.862903 | 19 | 124 | 5.315789 | 0.631579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104839 | 124 | 3 | 46 | 41.333333 | 0.90991 | 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 |
c27af80b65a0425130520ae4f1a2213ce1c7418c | 1,250 | py | Python | docs/core_stubs.py | dgehringer/sqsgenerator | 562697166a53f806629e8e1086b381871d9a675e | [
"MIT"
] | 14 | 2019-11-16T10:34:04.000Z | 2022-03-28T09:32:42.000Z | docs/core_stubs.py | dgehringer/sqsgenerator | 562697166a53f806629e8e1086b381871d9a675e | [
"MIT"
] | 5 | 2019-11-21T05:54:07.000Z | 2022-03-29T07:56:34.000Z | docs/core_stubs.py | dgehringer/sqsgenerator | 562697166a53f806629e8e1086b381871d9a675e | [
"MIT"
] | 4 | 2020-09-28T14:28:23.000Z | 2021-03-05T14:11:44.000Z | """
Because on the ReadTheDocs Server we cannot import the core extension, because a libpython*so which the core.so
is linked against is not found, this module fakes the core.so such that imports works
"""
__version__ = (1, 2, 3, 4)
__features__ = {}
ALL_SITES = -1
class SQSResult:
pass
class IterationSetting... | 14.044944 | 111 | 0.6584 | 166 | 1,250 | 4.76506 | 0.481928 | 0.151707 | 0.19469 | 0.214918 | 0.184576 | 0.131479 | 0 | 0 | 0 | 0 | 0 | 0.011435 | 0.2304 | 1,250 | 89 | 112 | 14.044944 | 0.810811 | 0.1576 | 0 | 0.304348 | 0 | 0 | 0.016252 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.282609 | false | 0.304348 | 0 | 0.021739 | 0.586957 | 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 |
c2e52ada4a91ab8de68f54118be8f421cae3f519 | 190 | py | Python | getting_started/ascii.py | AoEiuV020/LearningPython | aac0f3f99cfd3d03a96a3c0e41da8f82ea0b8c70 | [
"MIT"
] | null | null | null | getting_started/ascii.py | AoEiuV020/LearningPython | aac0f3f99cfd3d03a96a3c0e41da8f82ea0b8c70 | [
"MIT"
] | null | null | null | getting_started/ascii.py | AoEiuV020/LearningPython | aac0f3f99cfd3d03a96a3c0e41da8f82ea0b8c70 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
assert ascii('中文') == "'\\u4e2d\\u6587'"
assert ascii([]) == '[]'
assert ascii('\x33') == "'3'"
# 自带repr的效果,
assert ascii('asdf') == "'asdf'"
| 21.111111 | 40 | 0.542105 | 23 | 190 | 4.478261 | 0.695652 | 0.427184 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067073 | 0.136842 | 190 | 8 | 41 | 23.75 | 0.560976 | 0.284211 | 0 | 0 | 0 | 0 | 0.278195 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6c03e18a6ee03c241c721e936e1f70618b7bc138 | 203 | py | Python | opponents/monika/helper-scripts/c14n.py | laytonc32/spnati | 40cf1c51d193f48bbf0e3fdc3644eb2d0e922f7d | [
"MIT"
] | null | null | null | opponents/monika/helper-scripts/c14n.py | laytonc32/spnati | 40cf1c51d193f48bbf0e3fdc3644eb2d0e922f7d | [
"MIT"
] | 3 | 2020-03-24T17:26:36.000Z | 2021-02-02T22:10:30.000Z | opponents/monika/helper-scripts/c14n.py | laytonc32/spnati | 40cf1c51d193f48bbf0e3fdc3644eb2d0e922f7d | [
"MIT"
] | null | null | null | import lxml.etree as ET
import sys
import shutil
if __name__ == '__main__':
shutil.copy(sys.argv[1], sys.argv[1]+'.generated')
tree = ET.parse(sys.argv[1])
tree.write_c14n(sys.argv[2])
| 20.3 | 54 | 0.660099 | 33 | 203 | 3.787879 | 0.575758 | 0.224 | 0.192 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035928 | 0.17734 | 203 | 9 | 55 | 22.555556 | 0.712575 | 0 | 0 | 0 | 1 | 0 | 0.08867 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.428571 | 0 | 0.428571 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
6c1cca63fd909cb450882ff80f7f9ee14abb7a46 | 100 | py | Python | __init__.py | KoalaaDev/Steam-market-python-api | 082f7ac0f581e85fdac3e3c794db407e0b054f74 | [
"MIT"
] | 1 | 2021-06-01T12:08:47.000Z | 2021-06-01T12:08:47.000Z | __init__.py | KoalaaDev/Steam-market-python-api | 082f7ac0f581e85fdac3e3c794db407e0b054f74 | [
"MIT"
] | null | null | null | __init__.py | KoalaaDev/Steam-market-python-api | 082f7ac0f581e85fdac3e3c794db407e0b054f74 | [
"MIT"
] | null | null | null | """
Python module to get item prices from Steam Marketplace quickly.
"""
from .steammarket import *
| 20 | 64 | 0.75 | 13 | 100 | 5.769231 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 100 | 4 | 65 | 25 | 0.892857 | 0.64 | 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 |
6c59f5004022529ad44ed45d8253b8e6ae1d7987 | 7,564 | py | Python | tests/test_data.py | altmirai/altpiggybank | 751590642e0a2a572310923fbd971acd0fdf8527 | [
"MIT"
] | null | null | null | tests/test_data.py | altmirai/altpiggybank | 751590642e0a2a572310923fbd971acd0fdf8527 | [
"MIT"
] | 6 | 2020-08-13T13:45:12.000Z | 2020-08-14T15:08:41.000Z | tests/test_data.py | altmirai/altpiggybank | 751590642e0a2a572310923fbd971acd0fdf8527 | [
"MIT"
] | 1 | 2020-08-13T16:16:00.000Z | 2020-08-13T16:16:00.000Z | class MockFeeEstOne():
@property
def status_code(self):
return 200
def json(self):
return {"fastestFee": 200, "halfHourFee": 200, "hourFee": 100}
class TestDataOne():
@property
def path(self):
return 'tests/test_files'
@property
def pub_key_file_name(self):
... | 39.810526 | 1,181 | 0.68945 | 540 | 7,564 | 9.507407 | 0.312963 | 0.059992 | 0.010518 | 0.010518 | 0.127581 | 0.080639 | 0.080639 | 0.064862 | 0.052785 | 0.033307 | 0 | 0.321159 | 0.228979 | 7,564 | 189 | 1,182 | 40.021164 | 0.559156 | 0 | 0 | 0.320755 | 0 | 0.018868 | 0.500397 | 0.428741 | 0 | 1 | 0 | 0 | 0 | 1 | 0.18239 | false | 0 | 0 | 0.163522 | 0.377358 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
6c65ef9e664ba7a7bd44f2b395d1994a590fd6d6 | 510 | py | Python | units/mass/ounces.py | putridparrot/PyUnits | 4f1095c6fc0bee6ba936921c391913dbefd9307c | [
"MIT"
] | null | null | null | units/mass/ounces.py | putridparrot/PyUnits | 4f1095c6fc0bee6ba936921c391913dbefd9307c | [
"MIT"
] | null | null | null | units/mass/ounces.py | putridparrot/PyUnits | 4f1095c6fc0bee6ba936921c391913dbefd9307c | [
"MIT"
] | null | null | null | # <auto-generated>
# This code was generated by the UnitCodeGenerator tool
#
# Changes to this file will be lost if the code is regenerated
# </auto-generated>
def to_milligrams(value):
return value * 28349.5231
def to_grams(value):
return value * 28.3495231
def to_kilograms(value):
return value / 35.274
def to_... | 23.181818 | 62 | 0.741176 | 80 | 510 | 4.6375 | 0.4875 | 0.09434 | 0.301887 | 0.137466 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129412 | 0.166667 | 510 | 21 | 63 | 24.285714 | 0.743529 | 0.292157 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
66605c85be8be0d5a19ffa3d08ad37d3e5d62a1c | 47 | py | Python | src/csharpyml/sphinxext/__init__.py | sdpython/csharpyml | f814af89c5b988924a7f31fe71ec6eb515292070 | [
"MIT"
] | 4 | 2018-06-07T06:34:32.000Z | 2020-02-12T17:39:58.000Z | src/csharpyml/sphinxext/__init__.py | sdpython/csharpyml | f814af89c5b988924a7f31fe71ec6eb515292070 | [
"MIT"
] | 13 | 2018-05-21T23:06:58.000Z | 2018-12-30T17:57:11.000Z | src/csharpyml/sphinxext/__init__.py | sdpython/csharpyml | f814af89c5b988924a7f31fe71ec6eb515292070 | [
"MIT"
] | null | null | null | """
@file
@brielf Shortcut to *sphinxext*.
"""
| 9.4 | 32 | 0.617021 | 5 | 47 | 5.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148936 | 47 | 4 | 33 | 11.75 | 0.725 | 0.808511 | 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 |
66e881771ab64ac734ddfcd0593603a588eaaad3 | 126 | py | Python | website/core/filters.py | tibet5/website | 937e1941aaadbf7cd0a404a2655858451c01dd54 | [
"MIT"
] | null | null | null | website/core/filters.py | tibet5/website | 937e1941aaadbf7cd0a404a2655858451c01dd54 | [
"MIT"
] | null | null | null | website/core/filters.py | tibet5/website | 937e1941aaadbf7cd0a404a2655858451c01dd54 | [
"MIT"
] | null | null | null | import django_filters
from .forms import DateField
class DateFilter(django_filters.DateFilter):
field_class = DateField
| 18 | 44 | 0.81746 | 15 | 126 | 6.666667 | 0.6 | 0.26 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134921 | 126 | 6 | 45 | 21 | 0.917431 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
dd2586111563b469258f0f829bf2e71462afefc7 | 83 | py | Python | microfilm/dataset/__init__.py | guiwitz/microfilm | 582bb487ec14603b67d52b904e1ab90317fcfaba | [
"BSD-3-Clause"
] | 22 | 2021-04-09T19:07:35.000Z | 2022-03-16T21:46:10.000Z | microfilm/dataset/__init__.py | habi/microfilm | 971765734276d58d909ef41cfae5a45ab8081ef1 | [
"BSD-3-Clause"
] | 9 | 2021-09-01T13:52:54.000Z | 2022-03-30T11:53:50.000Z | microfilm/dataset/__init__.py | habi/microfilm | 971765734276d58d909ef41cfae5a45ab8081ef1 | [
"BSD-3-Clause"
] | 2 | 2021-07-06T12:49:53.000Z | 2022-03-18T14:17:25.000Z | from .dataset import (Data, TIFFSeries, MultipageTIFF, H5, ND2, Nparray, findfiles) | 83 | 83 | 0.783133 | 10 | 83 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027027 | 0.108434 | 83 | 1 | 83 | 83 | 0.851351 | 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 |
dd5925e179f13b4c6b36c43192408cc3f6311afa | 113 | py | Python | Data_Conversion/Kfunc/Rel/__init__.py | simay1224/K-project-UI | c69f83b6446052a1cd32a00700e7db197f36a1ed | [
"Apache-2.0"
] | null | null | null | Data_Conversion/Kfunc/Rel/__init__.py | simay1224/K-project-UI | c69f83b6446052a1cd32a00700e7db197f36a1ed | [
"Apache-2.0"
] | 1 | 2018-06-19T22:21:43.000Z | 2018-06-19T22:21:43.000Z | Data_Conversion/Kfunc/Rel/__init__.py | simay1224/K-project-UI | c69f83b6446052a1cd32a00700e7db197f36a1ed | [
"Apache-2.0"
] | 3 | 2018-08-29T18:39:57.000Z | 2020-06-05T15:29:07.000Z | # -*- coding: utf-8 -*-
"""
Created on Tue Nov 15 17:11:32 2016
@author: medialab
"""
from reliability import *
| 14.125 | 35 | 0.637168 | 17 | 113 | 4.235294 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141304 | 0.185841 | 113 | 7 | 36 | 16.142857 | 0.641304 | 0.681416 | 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 |
dd7120c591c7e36b9c8e88b641d0f11b530b81b6 | 168 | py | Python | Clarinet/utils/convert/__init__.py | rohans0509/Clarinet | 0a7a6a5e6a91f93956b6b5739cab1f030655cac8 | [
"MIT"
] | 1 | 2022-01-28T20:30:07.000Z | 2022-01-28T20:30:07.000Z | Clarinet/utils/convert/__init__.py | rohans0509/Clarinet | 0a7a6a5e6a91f93956b6b5739cab1f030655cac8 | [
"MIT"
] | null | null | null | Clarinet/utils/convert/__init__.py | rohans0509/Clarinet | 0a7a6a5e6a91f93956b6b5739cab1f030655cac8 | [
"MIT"
] | 2 | 2021-11-23T13:55:10.000Z | 2021-11-23T13:56:57.000Z | # from .audio2midi import audio2midi
from .midi2audio import midi2audio
from .midi2text import midi2text
from .remi2midi import remi2midi
from .midi2png import midi2png | 33.6 | 36 | 0.845238 | 20 | 168 | 7.1 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067568 | 0.119048 | 168 | 5 | 37 | 33.6 | 0.891892 | 0.202381 | 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 |
dd9dbffb2c35724257598fc62079dd10eb734945 | 327 | py | Python | python/testData/inspections/PyArgumentListInspection/topLevelOverloadsAndImplementation.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/inspections/PyArgumentListInspection/topLevelOverloadsAndImplementation.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/inspections/PyArgumentListInspection/topLevelOverloadsAndImplementation.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | from typing import overload
@overload
def foo(value: None) -> None:
pass
@overload
def foo(value: int) -> str:
pass
@overload
def foo(value: str) -> str:
pass
def foo(value):
return None
foo(<warning descr="Parameter(s) unfilledPossible callees:foo(value: None)foo(value: int)foo(value: str)">)</w... | 16.35 | 117 | 0.681957 | 47 | 327 | 4.744681 | 0.382979 | 0.251121 | 0.197309 | 0.255605 | 0.206278 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17737 | 327 | 20 | 117 | 16.35 | 0.828996 | 0 | 0 | 0.461538 | 0 | 0.076923 | 0.256098 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.230769 | 0.076923 | null | null | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
06ec07fad8cdcf1d11714d3c3f7151141e03fe21 | 4,123 | py | Python | sevapp/forms.py | sm8799/secure_e_vote | edc5d7abbcaf8d3377a3639adc2ca03c5472c1f6 | [
"MIT"
] | 6 | 2020-03-27T11:48:01.000Z | 2021-07-28T20:59:50.000Z | sevapp/forms.py | sm8799/secure_e_vote | edc5d7abbcaf8d3377a3639adc2ca03c5472c1f6 | [
"MIT"
] | null | null | null | sevapp/forms.py | sm8799/secure_e_vote | edc5d7abbcaf8d3377a3639adc2ca03c5472c1f6 | [
"MIT"
] | 5 | 2020-11-14T15:01:47.000Z | 2021-12-02T05:08:59.000Z | from django import forms
from sevapp.models import Admin, Entry, Election, Poff, Candidate, Voter
from django.core.validators import MaxValueValidator, MinValueValidator
class EntryForm(forms.ModelForm):
class Meta():
model = Entry
fields = ('Aadhaar_Number', 'name')
widgets = {
'Aadhaar_Number':forms.Numbe... | 29.661871 | 143 | 0.685666 | 460 | 4,123 | 6.076087 | 0.208696 | 0.053667 | 0.075134 | 0.112701 | 0.800716 | 0.755635 | 0.755635 | 0.730233 | 0.694454 | 0.694454 | 0 | 0.0544 | 0.148436 | 4,123 | 139 | 144 | 29.661871 | 0.741669 | 0.049236 | 0 | 0.588235 | 0 | 0 | 0.225996 | 0.005363 | 0 | 0 | 0 | 0 | 0 | 1 | 0.033613 | false | 0.02521 | 0.02521 | 0 | 0.285714 | 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 |
661f1fdd5f1653e325d7fc0d179849f58bfe3fd1 | 51 | py | Python | enthought/pyface/ui/null/widget.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 3 | 2016-12-09T06:05:18.000Z | 2018-03-01T13:00:29.000Z | enthought/pyface/ui/null/widget.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 1 | 2020-12-02T00:51:32.000Z | 2020-12-02T08:48:55.000Z | enthought/pyface/ui/null/widget.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | null | null | null | # proxy module
from pyface.ui.null.widget import *
| 17 | 35 | 0.764706 | 8 | 51 | 4.875 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137255 | 51 | 2 | 36 | 25.5 | 0.886364 | 0.235294 | 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 |
b09b7c0697991044dd40bc14c2c5d1026788f7a9 | 201 | py | Python | example/argparse_grin.py | sergei-dyshel/genzshcomp | 8fb655070d03876f4f2fc0d84e6ba6e48dc19b76 | [
"BSD-3-Clause"
] | null | null | null | example/argparse_grin.py | sergei-dyshel/genzshcomp | 8fb655070d03876f4f2fc0d84e6ba6e48dc19b76 | [
"BSD-3-Clause"
] | null | null | null | example/argparse_grin.py | sergei-dyshel/genzshcomp | 8fb655070d03876f4f2fc0d84e6ba6e48dc19b76 | [
"BSD-3-Clause"
] | null | null | null | from grin import get_grin_arg_parser
from genzshcomp import CompletionGenerator
if __name__ == '__main__':
generator = CompletionGenerator("grin", get_grin_arg_parser())
print generator.get()
| 28.714286 | 66 | 0.78607 | 24 | 201 | 6 | 0.541667 | 0.097222 | 0.138889 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134328 | 201 | 6 | 67 | 33.5 | 0.827586 | 0 | 0 | 0 | 0 | 0 | 0.059701 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.4 | null | null | 0.2 | 1 | 0 | 0 | null | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
b0d45c003f7f25b749c9c6062913e453f971618f | 309 | py | Python | Latest/venv/Lib/site-packages/apptools/selection/api.py | adamcvj/SatelliteTracker | 49a8f26804422fdad6f330a5548e9f283d84a55d | [
"Apache-2.0"
] | 1 | 2022-01-09T20:04:31.000Z | 2022-01-09T20:04:31.000Z | Latest/venv/Lib/site-packages/apptools/selection/api.py | adamcvj/SatelliteTracker | 49a8f26804422fdad6f330a5548e9f283d84a55d | [
"Apache-2.0"
] | 1 | 2022-02-15T12:01:57.000Z | 2022-03-24T19:48:47.000Z | Latest/venv/Lib/site-packages/apptools/selection/api.py | adamcvj/SatelliteTracker | 49a8f26804422fdad6f330a5548e9f283d84a55d | [
"Apache-2.0"
] | null | null | null | from .errors import (IDConflictError, ListenerNotConnectedError,
ProviderNotRegisteredError)
from .i_selection import ISelection, IListSelection
from .i_selection_provider import ISelectionProvider
from .list_selection import ListSelection
from .selection_service import SelectionService
| 44.142857 | 64 | 0.825243 | 28 | 309 | 8.928571 | 0.571429 | 0.04 | 0.112 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142395 | 309 | 6 | 65 | 51.5 | 0.943396 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.833333 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
b0fa95f5e1c46b524a3c4efc424dfe6628a465c5 | 167 | py | Python | kovot/__init__.py | kazh98/kovot | 0d17ff238f362e647be312fc758ef7634e581141 | [
"MIT"
] | 5 | 2015-06-10T20:26:04.000Z | 2019-02-06T04:52:53.000Z | kovot/__init__.py | kazh98/kovot | 0d17ff238f362e647be312fc758ef7634e581141 | [
"MIT"
] | 7 | 2018-08-26T14:08:13.000Z | 2019-01-08T13:34:32.000Z | kovot/__init__.py | kazh98/kovot | 0d17ff238f362e647be312fc758ef7634e581141 | [
"MIT"
] | 1 | 2018-07-16T09:35:59.000Z | 2018-07-16T09:35:59.000Z | # coding: utf-8
from .bot import Bot
from .message import Message
from .response import Response
from .speaker import Speaker
from .remote_mod import RemoteCallerMod | 20.875 | 39 | 0.808383 | 24 | 167 | 5.583333 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006993 | 0.143713 | 167 | 8 | 39 | 20.875 | 0.93007 | 0.077844 | 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 |
b0fd201e11ac42f6d392e661c1e5b7b04529e4ab | 30 | py | Python | classifier/__init__.py | PrasanthChettri/GenderClassifierNN | e63da7ff9c73ab625a49a6bf65b12aef8f8bcda0 | [
"MIT"
] | 4 | 2021-03-22T14:40:01.000Z | 2021-03-23T09:10:23.000Z | classifier/__init__.py | PurpleText/GenderClassifierNN | 595623aedf05c89fc44e6af1ce5ef68b2148a42a | [
"MIT"
] | null | null | null | classifier/__init__.py | PurpleText/GenderClassifierNN | 595623aedf05c89fc44e6af1ce5ef68b2148a42a | [
"MIT"
] | null | null | null | #File intentionally left blank | 30 | 30 | 0.866667 | 4 | 30 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 1 | 30 | 30 | 0.962963 | 0.966667 | 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 |
9fd117b0314b6dc2116a03aab9ac2e035c4dba9d | 331 | py | Python | tests/testapp/views/authorization.py | theY4Kman/pytest-drf | 1c86e023ebe7353e89aa71a7fc3b15457b5b20bd | [
"MIT"
] | 58 | 2020-02-09T07:13:57.000Z | 2021-12-06T10:00:15.000Z | tests/testapp/views/authorization.py | theY4Kman/pytest-drf | 1c86e023ebe7353e89aa71a7fc3b15457b5b20bd | [
"MIT"
] | 10 | 2020-07-27T09:21:51.000Z | 2021-09-11T20:14:45.000Z | tests/testapp/views/authorization.py | theY4Kman/pytest-drf | 1c86e023ebe7353e89aa71a7fc3b15457b5b20bd | [
"MIT"
] | 5 | 2020-07-27T08:39:48.000Z | 2021-12-26T07:08:55.000Z | from rest_framework import permissions
from rest_framework.decorators import api_view, permission_classes
from rest_framework.request import Request
from rest_framework.response import Response
@api_view()
@permission_classes([permissions.IsAuthenticated])
def login_required(request: Request) -> Response:
return ... | 30.090909 | 66 | 0.839879 | 40 | 331 | 6.725 | 0.425 | 0.118959 | 0.252788 | 0.178439 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096677 | 331 | 10 | 67 | 33.1 | 0.899666 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.5 | 0.125 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
9fe17499ba0eb4da2b2c228c7a1963e7a2de2e40 | 79 | py | Python | apps/ImageSearch/algs/LassoLinear/__init__.py | AmFamMLTeam/NEXT | 2b604230395be1b98e84115c20b5f509d5f24411 | [
"Apache-2.0"
] | 2 | 2020-11-16T17:01:36.000Z | 2022-03-04T17:07:59.000Z | apps/ImageSearch/algs/LassoLinear/__init__.py | AmFamMLTeam/NEXT | 2b604230395be1b98e84115c20b5f509d5f24411 | [
"Apache-2.0"
] | null | null | null | apps/ImageSearch/algs/LassoLinear/__init__.py | AmFamMLTeam/NEXT | 2b604230395be1b98e84115c20b5f509d5f24411 | [
"Apache-2.0"
] | null | null | null | from apps.ImageSearch.algs.LassoLinear.LassoLinear import LassoLinear as MyAlg
| 39.5 | 78 | 0.873418 | 10 | 79 | 6.9 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075949 | 79 | 1 | 79 | 79 | 0.945205 | 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 |
9ffa0de8d3b506048db6f1621202bd17a6a7cf08 | 193 | py | Python | newsletter/models.py | Tobi-De/devblog | 341458ecf427069b5fbb4dcbe78ec3664f75d072 | [
"MIT"
] | null | null | null | newsletter/models.py | Tobi-De/devblog | 341458ecf427069b5fbb4dcbe78ec3664f75d072 | [
"MIT"
] | null | null | null | newsletter/models.py | Tobi-De/devblog | 341458ecf427069b5fbb4dcbe78ec3664f75d072 | [
"MIT"
] | null | null | null | from django.db import models
from model_utils.models import TimeStampedModel
class Signup(TimeStampedModel):
email = models.EmailField()
def __str__(self):
return self.email
| 19.3 | 47 | 0.746114 | 23 | 193 | 6.043478 | 0.695652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186529 | 193 | 9 | 48 | 21.444444 | 0.88535 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.166667 | 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 |
b02a69fd4f027efa0c54892d954f8369fc0ec2d9 | 1,047 | py | Python | tests/handler.py | josephsalimin/flask-router-wrapper | cc6414c82a5297d88decf3e587699de7298b3a97 | [
"MIT"
] | 6 | 2020-08-01T12:39:17.000Z | 2020-08-13T14:00:45.000Z | tests/handler.py | josephsalimin/flask-router-wrapper | cc6414c82a5297d88decf3e587699de7298b3a97 | [
"MIT"
] | 2 | 2021-03-30T01:13:33.000Z | 2021-06-02T02:47:58.000Z | tests/handler.py | josephsalimin/flask-router-wrapper | cc6414c82a5297d88decf3e587699de7298b3a97 | [
"MIT"
] | null | null | null | from flask import g, jsonify
from flask_router_wrapper import Middleware
class SetValueMiddleware(Middleware):
def _exec(self, next_function, *args, **kwargs):
g.val = 0
return next_function(*args, **kwargs)
class IncrementValueMiddleware(Middleware):
def _exec(self, next_function, *args, **kwargs):
... | 21.367347 | 63 | 0.711557 | 132 | 1,047 | 5.409091 | 0.265152 | 0.201681 | 0.268908 | 0.369748 | 0.630252 | 0.630252 | 0.621849 | 0.621849 | 0.579832 | 0.560224 | 0 | 0.00681 | 0.158548 | 1,047 | 48 | 64 | 21.8125 | 0.803632 | 0 | 0 | 0.533333 | 0 | 0 | 0.016237 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.266667 | false | 0.033333 | 0.066667 | 0.066667 | 0.766667 | 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 |
b04219a045d5f9eaea190acb5e77a5c888632bf7 | 5,601 | py | Python | sdk/turing/generated/models/__init__.py | LeonLnj/turing | 93817f5cfb40d056a707bd85e9265b5cafdaeb94 | [
"Apache-2.0"
] | null | null | null | sdk/turing/generated/models/__init__.py | LeonLnj/turing | 93817f5cfb40d056a707bd85e9265b5cafdaeb94 | [
"Apache-2.0"
] | null | null | null | sdk/turing/generated/models/__init__.py | LeonLnj/turing | 93817f5cfb40d056a707bd85e9265b5cafdaeb94 | [
"Apache-2.0"
] | null | null | null | # flake8: noqa
# import all models into this package
# if you have many models here with many references from one model to another this may
# raise a RecursionError
# to avoid this, import only the models that you directly need like:
# from from turing.generated.model.pet import Pet
# or import this package, but befor... | 66.678571 | 122 | 0.894305 | 700 | 5,601 | 6.962857 | 0.237143 | 0.149774 | 0.284571 | 0.359458 | 0.437423 | 0.342224 | 0.194707 | 0.085761 | 0 | 0 | 0 | 0.000572 | 0.063382 | 5,601 | 83 | 123 | 67.481928 | 0.928517 | 0.063739 | 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 |
b0539649ebd1baad412883f086136b3490c927c3 | 230 | py | Python | rockit/plugins/picamera/views.py | acreations/rockit-server | 4d1e87b563d9339e73bf0e5c698a59e8e124cc01 | [
"MIT"
] | null | null | null | rockit/plugins/picamera/views.py | acreations/rockit-server | 4d1e87b563d9339e73bf0e5c698a59e8e124cc01 | [
"MIT"
] | null | null | null | rockit/plugins/picamera/views.py | acreations/rockit-server | 4d1e87b563d9339e73bf0e5c698a59e8e124cc01 | [
"MIT"
] | null | null | null | from django.shortcuts import render_to_response
from django.template import RequestContext
def partials_settings(request):
return render_to_response('partials/settings-picamera.html', context_instance=RequestContext(request)) | 46 | 106 | 0.856522 | 28 | 230 | 6.821429 | 0.642857 | 0.104712 | 0.167539 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073913 | 230 | 5 | 106 | 46 | 0.896714 | 0 | 0 | 0 | 0 | 0 | 0.134199 | 0.134199 | 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 |
c6609321d889824da523df62d4756990aead374f | 5,964 | py | Python | evm_gm_tool/tool/forms.py | manhnd1112/GR | 2ee9da122afeb33b3ee589a7f64d3f74d2654a1a | [
"PSF-2.0",
"BSD-3-Clause"
] | null | null | null | evm_gm_tool/tool/forms.py | manhnd1112/GR | 2ee9da122afeb33b3ee589a7f64d3f74d2654a1a | [
"PSF-2.0",
"BSD-3-Clause"
] | 11 | 2020-03-24T15:46:05.000Z | 2022-03-11T23:20:58.000Z | evm_gm_tool/tool/forms.py | manhnd1112/GR | 2ee9da122afeb33b3ee589a7f64d3f74d2654a1a | [
"PSF-2.0",
"BSD-3-Clause"
] | null | null | null | from .models import User, Project, ProjectMember, UserProfile
from django import forms
from django.contrib.auth.forms import UserCreationForm, UserChangeForm, PasswordChangeForm
from django.contrib.auth.forms import AuthenticationForm
class CustomAuthForm(AuthenticationForm):
username = forms.CharField(widget=for... | 24.243902 | 90 | 0.504359 | 478 | 5,964 | 6.257322 | 0.16318 | 0.09562 | 0.140421 | 0.175527 | 0.754931 | 0.738883 | 0.717486 | 0.683383 | 0.663323 | 0.644935 | 0 | 0.001591 | 0.367706 | 5,964 | 246 | 91 | 24.243902 | 0.791567 | 0.002012 | 0 | 0.638009 | 0 | 0 | 0.171736 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.076923 | 0.0181 | 0 | 0.199095 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
c66ee2c17ceba0576af01fb07a9029c902e624e3 | 51 | py | Python | logging_logger/__init__.py | payalkutana/logging_logger | 7dc7ccaee63e922b7c7f699a5d0b4e1317a27502 | [
"MIT"
] | null | null | null | logging_logger/__init__.py | payalkutana/logging_logger | 7dc7ccaee63e922b7c7f699a5d0b4e1317a27502 | [
"MIT"
] | null | null | null | logging_logger/__init__.py | payalkutana/logging_logger | 7dc7ccaee63e922b7c7f699a5d0b4e1317a27502 | [
"MIT"
] | null | null | null | from logging_logger.loggerClass import loggerClass
| 25.5 | 50 | 0.901961 | 6 | 51 | 7.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078431 | 51 | 1 | 51 | 51 | 0.957447 | 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 |
c67db61cde8f72abdc0a2d00a7534d1e464f0de6 | 48 | py | Python | runtimes/zoo.py | NateFerrero/zoo | 744fd811e87fa6ae9857e930df5cf13574934be0 | [
"MIT"
] | null | null | null | runtimes/zoo.py | NateFerrero/zoo | 744fd811e87fa6ae9857e930df5cf13574934be0 | [
"MIT"
] | 1 | 2015-02-17T11:11:20.000Z | 2015-02-17T11:11:20.000Z | runtimes/zoo.py | NateFerrero/zoo | 744fd811e87fa6ae9857e930df5cf13574934be0 | [
"MIT"
] | null | null | null | # Python Runtime for Zoo
# @author Nate Ferrero
| 16 | 24 | 0.75 | 7 | 48 | 5.142857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 48 | 2 | 25 | 24 | 0.923077 | 0.895833 | 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 |
c6caaa8689239304955d878d8be7ab415a622db3 | 161 | py | Python | logger/log_context.py | Cogno-Marco/YetAnotherPyLogger | 2b07d2eb064106258056602f466bb636f3cd08d1 | [
"MIT"
] | 2 | 2020-10-01T18:52:36.000Z | 2021-03-25T20:40:21.000Z | logger/log_context.py | Cogno-Marco/YetAnotherPyLogger | 2b07d2eb064106258056602f466bb636f3cd08d1 | [
"MIT"
] | 2 | 2020-10-01T18:43:34.000Z | 2020-10-01T19:43:15.000Z | logger/log_context.py | Cogno-Marco/YetAnotherPyLogger | 2b07d2eb064106258056602f466bb636f3cd08d1 | [
"MIT"
] | 2 | 2020-10-01T13:22:40.000Z | 2020-10-01T17:47:35.000Z | #proof of concept
def set_logger(custom_log):
set_logger.__custom_logger = custom_log
def log(text):
set_logger.__custom_logger.log(text)
| 14.636364 | 43 | 0.708075 | 23 | 161 | 4.478261 | 0.391304 | 0.466019 | 0.436893 | 0.407767 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.21118 | 161 | 10 | 44 | 16.1 | 0.811024 | 0.099379 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c6d3e554ee3766db5c95a0f517b14fcc50a8a0bd | 157 | py | Python | math/abstract-algebra/2.py | admariner/playground | 02a3104472c8fa3589fe87f7265e70c61d5728c7 | [
"MIT"
] | 3 | 2021-06-12T04:42:32.000Z | 2021-06-24T13:57:38.000Z | math/abstract-algebra/2.py | admariner/playground | 02a3104472c8fa3589fe87f7265e70c61d5728c7 | [
"MIT"
] | null | null | null | math/abstract-algebra/2.py | admariner/playground | 02a3104472c8fa3589fe87f7265e70c61d5728c7 | [
"MIT"
] | 1 | 2021-08-19T14:57:17.000Z | 2021-08-19T14:57:17.000Z | # Semigroup + identity property = Monoid
# The number 0 works well as an identity element for addition
print(2 + 0 == 2)
# Monoids don't have to be numbers | 26.166667 | 61 | 0.726115 | 26 | 157 | 4.384615 | 0.884615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032 | 0.203822 | 157 | 6 | 62 | 26.166667 | 0.88 | 0.834395 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
c6d6f06dfcb0ee3f3b342e6a2e0c9cb58c00ffa0 | 97 | py | Python | tests/integration/lambdas/python3/lambda2/handler2.py | ninhkd/localstack | 9a415e2067f6fafa3cdc9dd84f5b491b0b2a2acd | [
"Apache-2.0"
] | 31,928 | 2017-07-04T03:06:28.000Z | 2022-03-31T22:33:27.000Z | tests/integration/lambdas/python3/lambda2/handler2.py | ninhkd/localstack | 9a415e2067f6fafa3cdc9dd84f5b491b0b2a2acd | [
"Apache-2.0"
] | 5,216 | 2017-07-04T11:45:41.000Z | 2022-03-31T22:02:14.000Z | tests/integration/lambdas/python3/lambda2/handler2.py | ninhkd/localstack | 9a415e2067f6fafa3cdc9dd84f5b491b0b2a2acd | [
"Apache-2.0"
] | 3,056 | 2017-06-05T13:29:11.000Z | 2022-03-31T20:54:43.000Z | import settings
constant = settings.SETTING2
def handler(event, context):
return constant
| 12.125 | 28 | 0.762887 | 11 | 97 | 6.727273 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0125 | 0.175258 | 97 | 7 | 29 | 13.857143 | 0.9125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
05c899afb7f4d01f6743efb2cd33ac980bca2ae3 | 132 | py | Python | 01-introductory-problems/10-trailing-zeros.py | hamza1886/cses | 11f50ed6b10b50da975087e0f21400f7f484600f | [
"MIT"
] | null | null | null | 01-introductory-problems/10-trailing-zeros.py | hamza1886/cses | 11f50ed6b10b50da975087e0f21400f7f484600f | [
"MIT"
] | null | null | null | 01-introductory-problems/10-trailing-zeros.py | hamza1886/cses | 11f50ed6b10b50da975087e0f21400f7f484600f | [
"MIT"
] | null | null | null | # https://cses.fi/problemset/task/1618
def zeros(n):
return 0 if n < 5 else zeros(n // 5) + n // 5
print(zeros(int(input())))
| 18.857143 | 49 | 0.606061 | 24 | 132 | 3.333333 | 0.708333 | 0.075 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074766 | 0.189394 | 132 | 6 | 50 | 22 | 0.672897 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 0.666667 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
05edd66133bf5e17da1fa10af67593270bba3f26 | 80 | py | Python | ait/core/server/plugins/__init__.py | bruceplai/AIT-Core | 3289f48b17842c48b47cd779e3d983404f951a64 | [
"MIT"
] | 32 | 2018-06-06T16:55:25.000Z | 2022-03-16T00:43:21.000Z | ait/core/server/plugins/__init__.py | bruceplai/AIT-Core | 3289f48b17842c48b47cd779e3d983404f951a64 | [
"MIT"
] | 325 | 2018-04-09T15:25:18.000Z | 2022-03-31T18:58:15.000Z | ait/core/server/plugins/__init__.py | bruceplai/AIT-Core | 3289f48b17842c48b47cd779e3d983404f951a64 | [
"MIT"
] | 31 | 2018-07-19T19:20:10.000Z | 2022-03-16T00:42:19.000Z | from .data_archive import *
from .limit_monitor import *
from .openmct import *
| 20 | 28 | 0.775 | 11 | 80 | 5.454545 | 0.636364 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 80 | 3 | 29 | 26.666667 | 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 | 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 |
af55870589c380a1c48426112721d7f7a095b73c | 56 | py | Python | examples/python/celery/demo/backend.py | DiceTechnology/react-native-sentry | f44bd0678a6cdac0b07f5112d62bd784a39b7dae | [
"MIT"
] | 99 | 2017-08-04T22:47:20.000Z | 2022-03-29T03:49:23.000Z | examples/python/celery/demo/backend.py | DiceTechnology/react-native-sentry | f44bd0678a6cdac0b07f5112d62bd784a39b7dae | [
"MIT"
] | 55 | 2017-10-12T16:13:22.000Z | 2022-03-09T20:17:16.000Z | examples/python/celery/demo/backend.py | DiceTechnology/react-native-sentry | f44bd0678a6cdac0b07f5112d62bd784a39b7dae | [
"MIT"
] | 103 | 2017-09-06T12:21:18.000Z | 2022-03-27T11:31:14.000Z | from settings.async import celery_app
app = celery_app
| 14 | 37 | 0.821429 | 9 | 56 | 4.888889 | 0.666667 | 0.409091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 56 | 3 | 38 | 18.666667 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.5 | null | null | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
af6df237b8b4ea86f1d5fb9f9498689132dab6ab | 121 | py | Python | app/version2/models/office.py | lizwkariuki58/politico-api | da84c013648fb1e485572a3f1c0b18bd65d1be99 | [
"MIT"
] | null | null | null | app/version2/models/office.py | lizwkariuki58/politico-api | da84c013648fb1e485572a3f1c0b18bd65d1be99 | [
"MIT"
] | null | null | null | app/version2/models/office.py | lizwkariuki58/politico-api | da84c013648fb1e485572a3f1c0b18bd65d1be99 | [
"MIT"
] | null | null | null | from flask import request
from app.database_config import init_db
from app.version2.models.base_model import BaseModel
| 20.166667 | 52 | 0.85124 | 19 | 121 | 5.263158 | 0.736842 | 0.14 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009346 | 0.115702 | 121 | 5 | 53 | 24.2 | 0.925234 | 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 |
afa25c94ea2830cf3c98e0e042f4af5237d1708b | 51 | py | Python | examples/DecryptLoginExamples/crawlers/taobaosnap/__init__.py | hedou/DecryptLogin | ff86a5d378c8a42d1caebbb7482658a95053f716 | [
"Apache-2.0"
] | null | null | null | examples/DecryptLoginExamples/crawlers/taobaosnap/__init__.py | hedou/DecryptLogin | ff86a5d378c8a42d1caebbb7482658a95053f716 | [
"Apache-2.0"
] | null | null | null | examples/DecryptLoginExamples/crawlers/taobaosnap/__init__.py | hedou/DecryptLogin | ff86a5d378c8a42d1caebbb7482658a95053f716 | [
"Apache-2.0"
] | null | null | null | '''initialize'''
from .taobaosnap import TaobaoSnap | 25.5 | 34 | 0.784314 | 5 | 51 | 8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078431 | 51 | 2 | 34 | 25.5 | 0.851064 | 0.196078 | 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 |
afbe37ddd63c9260e16857468055dda564c4f31d | 71 | py | Python | bolt/cogs/botlog/__init__.py | HeavyLobster/bolt | d50dd59d119a627bfac32fbed2544433f066399b | [
"0BSD"
] | null | null | null | bolt/cogs/botlog/__init__.py | HeavyLobster/bolt | d50dd59d119a627bfac32fbed2544433f066399b | [
"0BSD"
] | null | null | null | bolt/cogs/botlog/__init__.py | HeavyLobster/bolt | d50dd59d119a627bfac32fbed2544433f066399b | [
"0BSD"
] | null | null | null | from .cog import BotLog
def setup(bot):
bot.add_cog(BotLog(bot))
| 11.833333 | 28 | 0.690141 | 12 | 71 | 4 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183099 | 71 | 5 | 29 | 14.2 | 0.827586 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
bb637c76e2a06022c58d486ce31ce8542dda4d95 | 5,866 | py | Python | tests/fake_api/jobs/test_trace_patching.py | chrisburr/gitlab-runner-api | b6127c337b742f514e9ba1cd0c25e4284c7e83e1 | [
"MIT"
] | 1 | 2022-03-27T15:27:32.000Z | 2022-03-27T15:27:32.000Z | tests/fake_api/jobs/test_trace_patching.py | chrisburr/gitlab-runner-api | b6127c337b742f514e9ba1cd0c25e4284c7e83e1 | [
"MIT"
] | null | null | null | tests/fake_api/jobs/test_trace_patching.py | chrisburr/gitlab-runner-api | b6127c337b742f514e9ba1cd0c25e4284c7e83e1 | [
"MIT"
] | 1 | 2021-02-06T02:18:34.000Z | 2021-02-06T02:18:34.000Z | from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import requests
from gitlab_runner_api.testing import API_ENDPOINT, FakeGitlabAPI, test_log
gitlab_api = FakeGitlabAPI()
@gitlab_api.use(n_runners=2, n_pending=3, n_running=2, n_success=4, n_failed=1)
def ... | 34.710059 | 87 | 0.625639 | 769 | 5,866 | 4.559168 | 0.127438 | 0.082145 | 0.059327 | 0.074159 | 0.801198 | 0.796349 | 0.741871 | 0.731603 | 0.687963 | 0.676269 | 0 | 0.03236 | 0.241391 | 5,866 | 168 | 88 | 34.916667 | 0.755506 | 0.06819 | 0 | 0.484615 | 0 | 0 | 0.120389 | 0 | 0 | 0 | 0 | 0 | 0.253846 | 1 | 0.030769 | false | 0 | 0.038462 | 0 | 0.069231 | 0.007692 | 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 |
bb64d11387a87abcfcb42189219263dfb2034cd4 | 146 | py | Python | 6KYU/break_camel_case.py | yaznasivasai/python_codewars | 25493591dde4649dc9c1ec3bece8191a3bed6818 | [
"MIT"
] | 4 | 2021-07-17T22:48:03.000Z | 2022-03-25T14:10:58.000Z | 6KYU/break_camel_case.py | yaznasivasai/python_codewars | 25493591dde4649dc9c1ec3bece8191a3bed6818 | [
"MIT"
] | null | null | null | 6KYU/break_camel_case.py | yaznasivasai/python_codewars | 25493591dde4649dc9c1ec3bece8191a3bed6818 | [
"MIT"
] | 3 | 2021-06-14T14:18:16.000Z | 2022-03-16T06:02:02.000Z | def solution(s: str) -> str:
if all(i.islower() for i in s):
return s
return ''.join(' ' + i if i.isupper() else i for i in s)
| 29.2 | 60 | 0.534247 | 27 | 146 | 2.888889 | 0.518519 | 0.102564 | 0.153846 | 0.179487 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.308219 | 146 | 5 | 61 | 29.2 | 0.772277 | 0 | 0 | 0 | 0 | 0 | 0.006803 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
bb7a06760c1fa4bcd5aa4659d0b6ddd330f60753 | 571 | py | Python | src/app/views/api/deploy_key.py | grihabor/teser | 93ecc60a6952313c6fbb10de3b1cc0647899e9e8 | [
"BSD-3-Clause"
] | null | null | null | src/app/views/api/deploy_key.py | grihabor/teser | 93ecc60a6952313c6fbb10de3b1cc0647899e9e8 | [
"BSD-3-Clause"
] | null | null | null | src/app/views/api/deploy_key.py | grihabor/teser | 93ecc60a6952313c6fbb10de3b1cc0647899e9e8 | [
"BSD-3-Clause"
] | null | null | null | import logging
from flask import jsonify
from flask_security import login_required, current_user
from tasks import generate_deploy_key
logger = logging.getLogger(__name__)
def import_generate_deploy_key(app):
@app.route('/api/deploy_key/generate', methods=['GET'])
@login_required
def generate_deploy_ke... | 28.55 | 64 | 0.721541 | 74 | 571 | 5.256757 | 0.459459 | 0.208226 | 0.218509 | 0.118252 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185639 | 571 | 20 | 65 | 28.55 | 0.836559 | 0 | 0 | 0 | 1 | 0 | 0.115385 | 0.041958 | 0 | 0 | 0 | 0 | 0 | 1 | 0.153846 | false | 0 | 0.384615 | 0 | 0.615385 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
bb815160c155e78c978ac1ec2c16ada8a87e4751 | 60 | py | Python | python_solutions/array/list split.py | ersincebi/hackerrank | 9475c8e88e9071544c10a939fe7307c8e62fe3a0 | [
"MIT"
] | null | null | null | python_solutions/array/list split.py | ersincebi/hackerrank | 9475c8e88e9071544c10a939fe7307c8e62fe3a0 | [
"MIT"
] | null | null | null | python_solutions/array/list split.py | ersincebi/hackerrank | 9475c8e88e9071544c10a939fe7307c8e62fe3a0 | [
"MIT"
] | null | null | null | a = [1, 2, 3, 4, 5]
n = len(a)
d = 4
print(a[d:] + a[:d]) | 8.571429 | 20 | 0.366667 | 16 | 60 | 1.375 | 0.625 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0.3 | 60 | 7 | 20 | 8.571429 | 0.380952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.25 | 1 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
bbba22b5f9ab87d05bf3760d53e0377822325f32 | 163 | py | Python | myfamily/settings/__init__.py | fortyMiles/my-family | d827b7fa36753726318fcf9e55d0b482fdf8323d | [
"BSD-3-Clause"
] | null | null | null | myfamily/settings/__init__.py | fortyMiles/my-family | d827b7fa36753726318fcf9e55d0b482fdf8323d | [
"BSD-3-Clause"
] | null | null | null | myfamily/settings/__init__.py | fortyMiles/my-family | d827b7fa36753726318fcf9e55d0b482fdf8323d | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import absolute_import
from .test import Test
from .local import Local # noqa
from .production import Production # noqa
| 23.285714 | 42 | 0.742331 | 22 | 163 | 5.272727 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007407 | 0.171779 | 163 | 6 | 43 | 27.166667 | 0.851852 | 0.190184 | 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 |
bbeb93940dde0cbabddef425d78f860830820ef6 | 17 | py | Python | waveglow/__init__.py | kdorichev/text2speech | 082ed9c222fa346f6c5ad6375477807df44ed45a | [
"Apache-2.0"
] | 3 | 2020-07-08T21:25:18.000Z | 2021-10-04T05:44:38.000Z | fastpitch/__init__.py | kdorichev/text2speech | 082ed9c222fa346f6c5ad6375477807df44ed45a | [
"Apache-2.0"
] | 2 | 2020-05-22T18:06:46.000Z | 2020-07-06T08:22:40.000Z | waveglow/__init__.py | kdorichev/text2speech | 082ed9c222fa346f6c5ad6375477807df44ed45a | [
"Apache-2.0"
] | null | null | null | """__init.py__""" | 17 | 17 | 0.588235 | 2 | 17 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 17 | 1 | 17 | 17 | 0.352941 | 0.647059 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
bbedf470eaa3b7748552779bfbd41c44714b1316 | 21,278 | py | Python | code/python/StandardDatafeed/v1/fds/sdk/StandardDatafeed/api/schemas__bundles_api.py | factset/enterprise-sdk | 3fd4d1360756c515c9737a0c9a992c7451d7de7e | [
"Apache-2.0"
] | 6 | 2022-02-07T16:34:18.000Z | 2022-03-30T08:04:57.000Z | code/python/StandardDatafeed/v1/fds/sdk/StandardDatafeed/api/schemas__bundles_api.py | factset/enterprise-sdk | 3fd4d1360756c515c9737a0c9a992c7451d7de7e | [
"Apache-2.0"
] | 2 | 2022-02-07T05:25:57.000Z | 2022-03-07T14:18:04.000Z | code/python/StandardDatafeed/v1/fds/sdk/StandardDatafeed/api/schemas__bundles_api.py | factset/enterprise-sdk | 3fd4d1360756c515c9737a0c9a992c7451d7de7e | [
"Apache-2.0"
] | null | null | null | """
SDF_API
The Standard Datafeed (SDF) API provides an alternative method for users to request and retrieve SDF packages (schemas & bundles). This service is not a direct replacement and does not have 100% feature parity with the Loader. This API provides an alternative for users who are unable to utilize the... | 58.941828 | 850 | 0.618056 | 2,640 | 21,278 | 4.867803 | 0.127273 | 0.025212 | 0.016263 | 0.015252 | 0.786787 | 0.779317 | 0.770135 | 0.765621 | 0.765621 | 0.761264 | 0 | 0.012163 | 0.308347 | 21,278 | 360 | 851 | 59.105556 | 0.861045 | 0.653727 | 0 | 0.196203 | 0 | 0 | 0.186704 | 0.030924 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037975 | false | 0 | 0.056962 | 0 | 0.126582 | 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 |
bbf41802e792b5cf36867395ab88a968b19c94ed | 2,178 | py | Python | Linear-discriminant-function/batch_perception.py | LingyvKong/PatternRecognition-UCAS | 6b7f1a357957c8560f3dc6692b0749021e470c7c | [
"MIT"
] | 2 | 2021-09-17T08:42:55.000Z | 2021-10-31T09:28:49.000Z | Linear-discriminant-function/batch_perception.py | LingyvKong/PatternRecognition-UCAS | 6b7f1a357957c8560f3dc6692b0749021e470c7c | [
"MIT"
] | null | null | null | Linear-discriminant-function/batch_perception.py | LingyvKong/PatternRecognition-UCAS | 6b7f1a357957c8560f3dc6692b0749021e470c7c | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Wed Nov 11 17:30:44 2020
@author: 92031
"""
import numpy as np
import matplotlib.pyplot as plt
file = "E:\\UserData\\Agkd\\Course\\PatternRecognition\\data.txt"
MaxIter = 1000
a = np.array([0, 0, 0])
yita = 1
# 1.1
with open(file) as f:
lines = f.readlines()... | 27.923077 | 77 | 0.53214 | 401 | 2,178 | 2.855362 | 0.234414 | 0.055895 | 0.062882 | 0.041921 | 0.768559 | 0.768559 | 0.768559 | 0.768559 | 0.716157 | 0.716157 | 0 | 0.093037 | 0.215335 | 2,178 | 77 | 78 | 28.285714 | 0.576946 | 0.447658 | 0 | 0.125 | 0 | 0 | 0.119595 | 0.051518 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.0625 | 0 | 0.0625 | 0.03125 | 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 |
bbf882b5993d47cc3f6b5613da6a35b8521b0676 | 18 | py | Python | iThenticate/__init__.py | pavanarya/ithenticate-api-python | ce4fe086721bca5dc8e7a42a7d6b1e266e4a7d11 | [
"BSD-2-Clause"
] | 3 | 2018-11-18T20:03:45.000Z | 2021-07-18T05:24:39.000Z | iThenticate/__init__.py | pavanarya/ithenticate-api-python | ce4fe086721bca5dc8e7a42a7d6b1e266e4a7d11 | [
"BSD-2-Clause"
] | 1 | 2018-04-20T13:36:50.000Z | 2018-04-23T08:06:09.000Z | iThenticate/__init__.py | pavanarya/ithenticate-api-python | ce4fe086721bca5dc8e7a42a7d6b1e266e4a7d11 | [
"BSD-2-Clause"
] | 1 | 2021-06-09T05:55:36.000Z | 2021-06-09T05:55:36.000Z | from . import API
| 9 | 17 | 0.722222 | 3 | 18 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 18 | 1 | 18 | 18 | 0.928571 | 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 |
a5a43db0a4a85b1dc9dab3e4a6dadf5847d90d83 | 37 | py | Python | eod/plugins/classification/models/postprocess/__init__.py | Helicopt/EOD | b5db36f4ce267bf64d093b8174bde2c4097b4718 | [
"Apache-2.0"
] | 196 | 2021-10-30T05:15:36.000Z | 2022-03-30T18:43:40.000Z | eod/tasks/cls/models/postprocess/__init__.py | YZW-explorer/EOD | f10e64de86c0f356ebf5c7e923f4042eec4207b1 | [
"Apache-2.0"
] | 12 | 2021-10-30T11:33:28.000Z | 2022-03-31T14:22:58.000Z | eod/tasks/cls/models/postprocess/__init__.py | YZW-explorer/EOD | f10e64de86c0f356ebf5c7e923f4042eec4207b1 | [
"Apache-2.0"
] | 23 | 2021-11-01T07:26:17.000Z | 2022-03-27T05:55:37.000Z | from .cls_postprocess import * # noqa | 37 | 37 | 0.783784 | 5 | 37 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135135 | 37 | 1 | 37 | 37 | 0.875 | 0.108108 | 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 |
3c4c9b2ec1032ff644fe97f1fbe925756a0167c4 | 44 | py | Python | ctf/mason/tempCodeRunnerFile.py | zmewshaw/cyber | fd406b619a966eec87234d4420de5760c9d4c8de | [
"MIT"
] | null | null | null | ctf/mason/tempCodeRunnerFile.py | zmewshaw/cyber | fd406b619a966eec87234d4420de5760c9d4c8de | [
"MIT"
] | null | null | null | ctf/mason/tempCodeRunnerFile.py | zmewshaw/cyber | fd406b619a966eec87234d4420de5760c9d4c8de | [
"MIT"
] | null | null | null | ut).__contains__("123")):
# break | 22 | 25 | 0.5 | 4 | 44 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 0.295455 | 44 | 2 | 26 | 22 | 0.483871 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
3c8a38baecea15886b038bf51a8fab05b7bc0476 | 3,763 | py | Python | testing/reddit_transform_issue/problem.py | pj0620/acca-video-series | 1b09548014cc899ded5a8fdd1293f7fc121a98bc | [
"MIT"
] | null | null | null | testing/reddit_transform_issue/problem.py | pj0620/acca-video-series | 1b09548014cc899ded5a8fdd1293f7fc121a98bc | [
"MIT"
] | 3 | 2020-04-16T09:24:48.000Z | 2021-03-27T19:27:48.000Z | testing/reddit_transform_issue/problem.py | pj0620/acca-video-series | 1b09548014cc899ded5a8fdd1293f7fc121a98bc | [
"MIT"
] | 1 | 2020-09-01T05:32:04.000Z | 2020-09-01T05:32:04.000Z | from manimlib.imports import *
class Problem(Scene):
def construct(self):
equation_R = TexMobject("R(x)", " = ", "{f(x)", "\\over", "g(x)}")
equation_R.set_color_by_tex("R(x)", PURPLE)
equation_R.set_color_by_tex("f(x)", RED)
equation_R.set_color_by_tex("g(x)", BLUE)
equati... | 31.621849 | 98 | 0.528036 | 486 | 3,763 | 3.829218 | 0.154321 | 0.130575 | 0.053735 | 0.069855 | 0.779688 | 0.734551 | 0.713058 | 0.713058 | 0.713058 | 0.713058 | 0 | 0.031771 | 0.330853 | 3,763 | 119 | 99 | 31.621849 | 0.707307 | 0.013819 | 0 | 0.649485 | 0 | 0 | 0.050135 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.030928 | false | 0 | 0.010309 | 0.010309 | 0.072165 | 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 |
3c9e87365e75576a875a6f77daf45c74ea3884f1 | 90 | py | Python | backend/src/authentication/__init__.py | spiritutumduo/spiritumDuo | 987785906cd504f46ccebe3bbfe0e81cbf02bf7c | [
"MIT"
] | 1 | 2022-03-11T14:07:16.000Z | 2022-03-11T14:07:16.000Z | backend/src/authentication/__init__.py | spiritutumduo/spiritumDuo | 987785906cd504f46ccebe3bbfe0e81cbf02bf7c | [
"MIT"
] | 3 | 2022-02-25T22:46:46.000Z | 2022-03-30T08:19:41.000Z | backend/src/authentication/__init__.py | spiritutumduo/spiritumDuo | 987785906cd504f46ccebe3bbfe0e81cbf02bf7c | [
"MIT"
] | 1 | 2022-03-31T14:35:51.000Z | 2022-03-31T14:35:51.000Z | from .authentication import SDAuthentication
from .logincontroller import LoginController
| 30 | 44 | 0.888889 | 8 | 90 | 10 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 90 | 2 | 45 | 45 | 0.97561 | 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 |
b1c5b520d5869100485805e8178f0aea1e934592 | 15,982 | py | Python | detect.py | QFaceblue/Driving-Behavior-Recognition | 98c8fab51c7074852598ea9119f472ed7b1bda13 | [
"Apache-2.0"
] | 1 | 2022-03-13T14:37:17.000Z | 2022-03-13T14:37:17.000Z | detect.py | QFaceblue/Driving-Behavior-Recognition | 98c8fab51c7074852598ea9119f472ed7b1bda13 | [
"Apache-2.0"
] | null | null | null | detect.py | QFaceblue/Driving-Behavior-Recognition | 98c8fab51c7074852598ea9119f472ed7b1bda13 | [
"Apache-2.0"
] | null | null | null | import torch
from efficientnet_pytorch import EfficientNet
# import onnx # 环境问题
from torchvision import datasets, models, transforms
import json
from PIL import Image
import cv2
import numpy as np
from timeit import default_timer as timer
import time
import onnxruntime
from ghost_net import ghost_net
# mydataset
class... | 40.563452 | 105 | 0.636716 | 2,220 | 15,982 | 4.384234 | 0.140541 | 0.025891 | 0.024658 | 0.024658 | 0.761944 | 0.72958 | 0.722388 | 0.710983 | 0.70112 | 0.684681 | 0 | 0.071131 | 0.217995 | 15,982 | 394 | 106 | 40.563452 | 0.707633 | 0.367601 | 0 | 0.647826 | 0 | 0 | 0.098171 | 0.043207 | 0 | 0 | 0.001206 | 0 | 0 | 1 | 0.026087 | false | 0 | 0.047826 | 0 | 0.082609 | 0.06087 | 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 |
b1ce2cdb17ac198f0c53ee2a595b3e93da3375c0 | 102 | py | Python | simple_messages.py | Steven-matos/python_projects | ec964b15f0a64bfcb969f46833e9b4bb5a2c3af1 | [
"MIT"
] | null | null | null | simple_messages.py | Steven-matos/python_projects | ec964b15f0a64bfcb969f46833e9b4bb5a2c3af1 | [
"MIT"
] | null | null | null | simple_messages.py | Steven-matos/python_projects | ec964b15f0a64bfcb969f46833e9b4bb5a2c3af1 | [
"MIT"
] | null | null | null | message = "This is a test at replacing text"
print(message)
message = "Change of text"
print(message) | 20.4 | 44 | 0.745098 | 16 | 102 | 4.75 | 0.6875 | 0.236842 | 0.421053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156863 | 102 | 5 | 45 | 20.4 | 0.883721 | 0 | 0 | 0.5 | 0 | 0 | 0.446602 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
b1ea2b83601d9b43129b9393bc1f41426c16e4a3 | 47 | py | Python | firstpython.py | antonioguglielmi/coursera-test | ec11b94363a0c7d8f958b933261ebecbdd2a2667 | [
"Apache-2.0"
] | null | null | null | firstpython.py | antonioguglielmi/coursera-test | ec11b94363a0c7d8f958b933261ebecbdd2a2667 | [
"Apache-2.0"
] | null | null | null | firstpython.py | antonioguglielmi/coursera-test | ec11b94363a0c7d8f958b933261ebecbdd2a2667 | [
"Apache-2.0"
] | null | null | null | # Display the output
print('New pyhton file!')
| 15.666667 | 25 | 0.723404 | 7 | 47 | 4.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148936 | 47 | 2 | 26 | 23.5 | 0.85 | 0.382979 | 0 | 0 | 0 | 0 | 0.592593 | 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 |
b1f6fc4b9a6e713bf647fa28d9ad0a8cfe0b0845 | 54 | py | Python | xlab/data/importer/__init__.py | dayfine/xlab | 2c51d84906d5eba568e5b5c70225c2eccb1b9fc3 | [
"MIT"
] | 2 | 2020-05-06T04:05:30.000Z | 2020-11-10T16:23:50.000Z | xlab/data/importer/__init__.py | dayfine/xlab | 2c51d84906d5eba568e5b5c70225c2eccb1b9fc3 | [
"MIT"
] | 14 | 2020-05-06T06:37:50.000Z | 2021-10-30T03:38:05.000Z | xlab/data/importer/__init__.py | dayfine/xlab | 2c51d84906d5eba568e5b5c70225c2eccb1b9fc3 | [
"MIT"
] | null | null | null | from xlab.data.importer.interface import DataImporter
| 27 | 53 | 0.87037 | 7 | 54 | 6.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 54 | 1 | 54 | 54 | 0.94 | 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 |
592eece9536284d3303080e48847c15c46b7e67a | 93 | py | Python | bluzelle/client/__init__.py | hhio618/bluezelle-py | c38a07458a36305457680196e8c47372008db5ab | [
"MIT"
] | 3 | 2021-08-19T10:09:29.000Z | 2022-01-05T14:19:59.000Z | bluzelle/client/__init__.py | hhio618/bluzelle-py | c38a07458a36305457680196e8c47372008db5ab | [
"MIT"
] | null | null | null | bluzelle/client/__init__.py | hhio618/bluzelle-py | c38a07458a36305457680196e8c47372008db5ab | [
"MIT"
] | null | null | null | from .query import QueryClient # noqa: F401
from .tx import TransactionClient # noqa: F401
| 31 | 47 | 0.763441 | 12 | 93 | 5.916667 | 0.666667 | 0.225352 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077922 | 0.172043 | 93 | 2 | 48 | 46.5 | 0.844156 | 0.225806 | 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 |
593cb328465a73ce6aefc327f1377adfc3db71cb | 141 | py | Python | gimme_cached_property/_django.py | MichaelKim0407/gimme-cached-property | 070c2f8b8bd47e2c89355569779ce963d0127350 | [
"MIT"
] | null | null | null | gimme_cached_property/_django.py | MichaelKim0407/gimme-cached-property | 070c2f8b8bd47e2c89355569779ce963d0127350 | [
"MIT"
] | null | null | null | gimme_cached_property/_django.py | MichaelKim0407/gimme-cached-property | 070c2f8b8bd47e2c89355569779ce963d0127350 | [
"MIT"
] | null | null | null | try:
from django.utils.functional import cached_property as cached_property_django
except ImportError:
cached_property_django = None
| 28.2 | 81 | 0.822695 | 18 | 141 | 6.166667 | 0.666667 | 0.378378 | 0.36036 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141844 | 141 | 4 | 82 | 35.25 | 0.917355 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 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 |
59496c702005b241757ed06ee054b3c4b1b6887d | 93 | py | Python | backend/apps/yearPlan/admin.py | jorgejimenez98/auditorio-django-react | ee39fa9aa2874154c113a95b03c3d3e909ffd7ec | [
"MIT"
] | null | null | null | backend/apps/yearPlan/admin.py | jorgejimenez98/auditorio-django-react | ee39fa9aa2874154c113a95b03c3d3e909ffd7ec | [
"MIT"
] | null | null | null | backend/apps/yearPlan/admin.py | jorgejimenez98/auditorio-django-react | ee39fa9aa2874154c113a95b03c3d3e909ffd7ec | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import YearPlan
admin.site.register(YearPlan)
| 18.6 | 32 | 0.827957 | 13 | 93 | 5.923077 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107527 | 93 | 4 | 33 | 23.25 | 0.927711 | 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 |
3ca0e862843fa36a7692a3260b9b168c13fa3e44 | 83 | py | Python | vcap_utils/vcap_utils/__init__.py | TheRakeshPurohit/open_vision_capsules | 2826078d2dd4c21c7725266b80bb145193a25df3 | [
"BSD-3-Clause"
] | 2 | 2021-03-26T04:55:15.000Z | 2021-03-26T16:55:06.000Z | vcap_utils/vcap_utils/__init__.py | TheRakeshPurohit/open_vision_capsules | 2826078d2dd4c21c7725266b80bb145193a25df3 | [
"BSD-3-Clause"
] | 3 | 2020-01-22T19:32:42.000Z | 2020-01-30T20:33:33.000Z | vcap_utils/vcap_utils/__init__.py | TheRakeshPurohit/open_vision_capsules | 2826078d2dd4c21c7725266b80bb145193a25df3 | [
"BSD-3-Clause"
] | null | null | null | from .version import __version__
from .backends import *
from .algorithms import *
| 20.75 | 32 | 0.795181 | 10 | 83 | 6.2 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144578 | 83 | 3 | 33 | 27.666667 | 0.873239 | 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 |
a70fe7ca9d39c163c90aebe5ec18c929743797cd | 178 | py | Python | newsplease/pipeline/extractor/extractors/newspaper_extractor_no_images.py | freedmand/news-please | 7b39a76dc77a36df39d9a48b5ce1d96da87efe53 | [
"Apache-2.0"
] | 1,311 | 2017-02-28T07:26:22.000Z | 2022-03-31T14:09:54.000Z | newsplease/pipeline/extractor/extractors/newspaper_extractor_no_images.py | freedmand/news-please | 7b39a76dc77a36df39d9a48b5ce1d96da87efe53 | [
"Apache-2.0"
] | 190 | 2016-12-21T11:12:44.000Z | 2022-02-02T17:58:36.000Z | newsplease/pipeline/extractor/extractors/newspaper_extractor_no_images.py | freedmand/news-please | 7b39a76dc77a36df39d9a48b5ce1d96da87efe53 | [
"Apache-2.0"
] | 366 | 2017-03-01T11:27:37.000Z | 2022-03-31T02:11:00.000Z | from .newspaper_extractor import NewspaperExtractor
class NewspaperExtractorNoImages(NewspaperExtractor):
def _article_kwargs(self):
return {"fetch_images": False}
| 25.428571 | 53 | 0.792135 | 16 | 178 | 8.5625 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140449 | 178 | 6 | 54 | 29.666667 | 0.895425 | 0 | 0 | 0 | 0 | 0 | 0.067416 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 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 | 0 | 1 | 1 | 0 | 0 | 5 |
a727dd9bca6633a5a7c9c4a88fd4b33a56d7fce0 | 61 | py | Python | api/grading/__init__.py | robertdroptablestudents/sqlgrader | 2ddd3d6c47f607df8987a58348b46b11fc7f4e48 | [
"MIT"
] | 2 | 2021-12-22T14:12:44.000Z | 2022-01-08T00:21:05.000Z | api/grading/__init__.py | robertdroptablestudents/sqlgrader | 2ddd3d6c47f607df8987a58348b46b11fc7f4e48 | [
"MIT"
] | 8 | 2021-12-13T00:51:17.000Z | 2021-12-13T01:25:17.000Z | api/grading/__init__.py | robertdroptablestudents/sqlgrader | 2ddd3d6c47f607df8987a58348b46b11fc7f4e48 | [
"MIT"
] | null | null | null | from .gradingProcess import *
from .gradingUtilities import * | 30.5 | 31 | 0.819672 | 6 | 61 | 8.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114754 | 61 | 2 | 31 | 30.5 | 0.925926 | 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 |
a738e78b7803d0b0fe08d253f170e363f4ad3b28 | 310 | py | Python | nuke_stubs/nuke/nuke_internal/__init__.py | sisoe24/Nuke-Python-Stubs | 79c53cf5cb7b38e15a34fd04f672b143d9d7dc85 | [
"MIT"
] | 1 | 2022-01-12T01:29:16.000Z | 2022-01-12T01:29:16.000Z | nuke_stubs/nuke/nuke_internal/__init__.py | sisoe24/Nuke-Python-Stubs | 79c53cf5cb7b38e15a34fd04f672b143d9d7dc85 | [
"MIT"
] | null | null | null | nuke_stubs/nuke/nuke_internal/__init__.py | sisoe24/Nuke-Python-Stubs | 79c53cf5cb7b38e15a34fd04f672b143d9d7dc85 | [
"MIT"
] | null | null | null | # Copyright (c) 2009 The Foundry Visionmongers Ltd. All Rights Reserved.
# get the functions that are compiled into Nuke:
from _nuke import *
from .utils import *
from .callbacks import *
from .colorspaces import *
from .executeInMain import *
from .overrides import *
from .scripts import scriptSaveAndClear
| 31 | 73 | 0.780645 | 40 | 310 | 6.025 | 0.65 | 0.248963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015326 | 0.158065 | 310 | 9 | 74 | 34.444444 | 0.908046 | 0.380645 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
59578d6568dacc57cc904290a1d684c7639ab0ae | 40 | py | Python | lib/pwiki/wikidata/WikiData_original_gadfly.py | dszmaj/wikidpad | 1127375665935524ddb623da8dd5137038c7e53e | [
"Apache-2.0",
"MIT"
] | 16 | 2015-02-05T17:32:04.000Z | 2022-01-14T13:46:36.000Z | lib/pwiki/wikidata/WikiData_original_gadfly.py | dszmaj/wikidpad | 1127375665935524ddb623da8dd5137038c7e53e | [
"Apache-2.0",
"MIT"
] | 8 | 2015-06-20T20:02:41.000Z | 2016-02-23T14:52:32.000Z | lib/pwiki/wikidata/WikiData_original_gadfly.py | dszmaj/wikidpad | 1127375665935524ddb623da8dd5137038c7e53e | [
"Apache-2.0",
"MIT"
] | 11 | 2015-05-19T09:17:16.000Z | 2017-09-14T00:43:13.000Z | from original_gadfly.WikiData import *
| 20 | 39 | 0.825 | 5 | 40 | 6.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 40 | 1 | 40 | 40 | 0.914286 | 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 |
59624968f04c6ab327a5c7e204dcb390500a3fe5 | 149 | py | Python | taric/__init__.py | uktrade/tamato | 4ba2ffb25eea2887e4e081c81da7634cd7b4f9ca | [
"MIT"
] | 14 | 2020-03-25T11:11:29.000Z | 2022-03-08T20:41:33.000Z | taric/__init__.py | uktrade/tamato | 4ba2ffb25eea2887e4e081c81da7634cd7b4f9ca | [
"MIT"
] | 352 | 2020-03-25T10:42:09.000Z | 2022-03-30T15:32:26.000Z | taric/__init__.py | uktrade/tamato | 4ba2ffb25eea2887e4e081c81da7634cd7b4f9ca | [
"MIT"
] | 3 | 2020-08-06T12:22:41.000Z | 2022-01-16T11:51:12.000Z | """Implements models used by the :mod:`exporter` to keep track of which
envelopes the system has generated and which transactions they contained."""
| 49.666667 | 76 | 0.785235 | 22 | 149 | 5.318182 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14094 | 149 | 2 | 77 | 74.5 | 0.914063 | 0.95302 | 0 | null | 1 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
599a0554cf11bbca37e75775313f537fca42cfdb | 18 | py | Python | my_classes/.history/ModulesPackages_PackageNamespaces/main_20210725190128.py | minefarmer/deep-Dive-1 | b0675b853180c5b5781888266ea63a3793b8d855 | [
"Unlicense"
] | null | null | null | my_classes/.history/ModulesPackages_PackageNamespaces/main_20210725190128.py | minefarmer/deep-Dive-1 | b0675b853180c5b5781888266ea63a3793b8d855 | [
"Unlicense"
] | null | null | null | my_classes/.history/ModulesPackages_PackageNamespaces/main_20210725190128.py | minefarmer/deep-Dive-1 | b0675b853180c5b5781888266ea63a3793b8d855 | [
"Unlicense"
] | null | null | null | # main.py
print() | 6 | 9 | 0.611111 | 3 | 18 | 3.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 18 | 3 | 10 | 6 | 0.733333 | 0.388889 | 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 |
59c9869f74391b197c389d3bfb7ba4f7bcf5cf3e | 333 | py | Python | mws/parsers/__init__.py | samedayshipping/python3-amazon-mws | ead208acbd89ae174f5262c02d6cf5351b5fef61 | [
"Unlicense"
] | 1 | 2018-04-05T13:54:05.000Z | 2018-04-05T13:54:05.000Z | mws/parsers/__init__.py | samedayshipping/python3-amazon-mws | ead208acbd89ae174f5262c02d6cf5351b5fef61 | [
"Unlicense"
] | null | null | null | mws/parsers/__init__.py | samedayshipping/python3-amazon-mws | ead208acbd89ae174f5262c02d6cf5351b5fef61 | [
"Unlicense"
] | null | null | null | from .products import GetMatchingProductForIdResponse, GetCompetitivePricingForAsinResponse
from .errors import ErrorResponse, ProductError
from .fulfillment import ListInboundShipmentItemsResponse, ListInboundShipmentResponse
from .orders import ListOrdersResponse, ListOrderItemsResponse
from .reports import RequestRe... | 55.5 | 91 | 0.900901 | 24 | 333 | 12.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072072 | 333 | 5 | 92 | 66.6 | 0.970874 | 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 |
59d24bb3f4f415cd4082c3bf0bceb1b448cb45d0 | 79 | py | Python | BOJ2884.py | INYEONGKIM/BOJ | 5e83d77a92d18b0d20d26645c7cfe4ba3e2d25bc | [
"MIT"
] | 2 | 2019-03-05T15:42:46.000Z | 2019-07-24T15:52:36.000Z | BOJ2884.py | INYEONGKIM/BOJ | 5e83d77a92d18b0d20d26645c7cfe4ba3e2d25bc | [
"MIT"
] | null | null | null | BOJ2884.py | INYEONGKIM/BOJ | 5e83d77a92d18b0d20d26645c7cfe4ba3e2d25bc | [
"MIT"
] | null | null | null | h,m=map(int,input().split());m+=60*h-45
if m<0:
m+=24*60
print(m//60,m%60)
| 15.8 | 39 | 0.556962 | 21 | 79 | 2.095238 | 0.571429 | 0.204545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185714 | 0.113924 | 79 | 4 | 40 | 19.75 | 0.442857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.25 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
ab70750df578368e1e4842c61421f8427fb31a32 | 4,308 | py | Python | FVAScripts/fixCLT2Issues.py | dimanikulin/fva | 372c91edd2d188ab9fe73b8f83e00a68fc3fb76e | [
"RSA-MD"
] | null | null | null | FVAScripts/fixCLT2Issues.py | dimanikulin/fva | 372c91edd2d188ab9fe73b8f83e00a68fc3fb76e | [
"RSA-MD"
] | 10 | 2022-02-06T15:18:17.000Z | 2022-02-22T20:10:20.000Z | FVAScripts/fixCLT2Issues.py | dimanikulin/fva | 372c91edd2d188ab9fe73b8f83e00a68fc3fb76e | [
"RSA-MD"
] | null | null | null | # -*- coding: utf-8 -*-
import sys
import csv
import subprocess
import os, stat
#fixCLT2Issues.py issues.csv FVA_ERROR_MISMATCH_TAKEN_TIME >> fixedMismatchTakenTime.txt
#fixCLT2Issues.py issues.csv FVA_ERROR_NULL_TAKEN_TIME >> fixedEmptyTakenTime.txt
#fixCLT2Issues.py issues.csv FVA_ERROR_NO_DEV_ID >> fixedNotLinkedD... | 46.826087 | 97 | 0.528319 | 507 | 4,308 | 4.392505 | 0.205128 | 0.03233 | 0.085317 | 0.098788 | 0.819039 | 0.778626 | 0.764257 | 0.685676 | 0.685676 | 0.685676 | 0 | 0.042983 | 0.28714 | 4,308 | 91 | 98 | 47.340659 | 0.682188 | 0.271588 | 0 | 0.746032 | 0 | 0 | 0.119859 | 0.041131 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.063492 | 0 | 0.063492 | 0.047619 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 |
ab7eeff391aad1e9e2295e716ef8db5a21345af4 | 205 | py | Python | webauthn/helpers/bytes_to_base64url.py | MasterKale/py_webauthn | fe97b9841328aa84559bd2a282c07d20145845c1 | [
"BSD-3-Clause"
] | 409 | 2018-03-01T20:14:27.000Z | 2022-03-26T21:48:35.000Z | webauthn/helpers/bytes_to_base64url.py | MasterKale/py_webauthn | fe97b9841328aa84559bd2a282c07d20145845c1 | [
"BSD-3-Clause"
] | 95 | 2018-05-02T03:28:57.000Z | 2022-03-31T18:33:20.000Z | webauthn/helpers/bytes_to_base64url.py | MasterKale/py_webauthn | fe97b9841328aa84559bd2a282c07d20145845c1 | [
"BSD-3-Clause"
] | 117 | 2018-03-08T16:39:11.000Z | 2022-03-24T18:24:16.000Z | from base64 import urlsafe_b64encode
def bytes_to_base64url(val: bytes) -> str:
"""
Base64URL-encode the provided bytes
"""
return urlsafe_b64encode(val).decode("utf-8").replace("=", "")
| 22.777778 | 66 | 0.678049 | 25 | 205 | 5.4 | 0.76 | 0.237037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065089 | 0.17561 | 205 | 8 | 67 | 25.625 | 0.733728 | 0.170732 | 0 | 0 | 0 | 0 | 0.038961 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
aba5b946ced4c64ab83fdbb1efe9ccd1e8318571 | 166 | py | Python | estimagic/tests/conftest.py | RobinMusolff/estimagic | 615da47e125e9314c542bda0b55bf92bc6bf1863 | [
"BSD-3-Clause"
] | null | null | null | estimagic/tests/conftest.py | RobinMusolff/estimagic | 615da47e125e9314c542bda0b55bf92bc6bf1863 | [
"BSD-3-Clause"
] | null | null | null | estimagic/tests/conftest.py | RobinMusolff/estimagic | 615da47e125e9314c542bda0b55bf92bc6bf1863 | [
"BSD-3-Clause"
] | null | null | null | import pytest
@pytest.fixture(scope="function", autouse=True)
def fresh_directory(tmpdir):
"""Each test is executed in a fresh directory."""
tmpdir.chdir()
| 20.75 | 53 | 0.716867 | 22 | 166 | 5.363636 | 0.818182 | 0.237288 | 0.338983 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150602 | 166 | 7 | 54 | 23.714286 | 0.836879 | 0.259036 | 0 | 0 | 0 | 0 | 0.068376 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
abdc0f17d44fbd716dffd33bece35c0f8879e9a7 | 5,066 | py | Python | code/pyto/analysis/test/test_experiment.py | anmartinezs/pyseg_system | 5bb07c7901062452a34b73f376057cabc15a13c3 | [
"Apache-2.0"
] | 12 | 2020-01-08T01:33:02.000Z | 2022-03-16T00:25:34.000Z | code/pyto/analysis/test/test_experiment.py | anmartinezs/pyseg_system | 5bb07c7901062452a34b73f376057cabc15a13c3 | [
"Apache-2.0"
] | 8 | 2019-12-19T19:34:56.000Z | 2022-03-10T10:11:28.000Z | code/pyto/analysis/test/test_experiment.py | anmartinezs/pyseg_system | 5bb07c7901062452a34b73f376057cabc15a13c3 | [
"Apache-2.0"
] | 2 | 2022-03-30T13:12:22.000Z | 2022-03-30T18:12:10.000Z | """
Tests module experiments
# Author: Vladan Lucic
# $Id$
"""
from __future__ import unicode_literals
__version__ = "$Revision$"
import sys
from copy import copy, deepcopy
import pickle
import os.path
import unittest
import numpy
import numpy.testing as np_test
import scipy
from pyto.analysis.experiment import... | 33.549669 | 74 | 0.487169 | 624 | 5,066 | 3.753205 | 0.160256 | 0.069172 | 0.069172 | 0.084543 | 0.729718 | 0.725021 | 0.725021 | 0.725021 | 0.719471 | 0.704099 | 0 | 0.125324 | 0.390446 | 5,066 | 150 | 75 | 33.773333 | 0.633096 | 0.058231 | 0 | 0.64486 | 0 | 0 | 0.017003 | 0 | 0 | 0 | 0 | 0 | 0.084112 | 1 | 0.018692 | false | 0.009346 | 0.093458 | 0 | 0.121495 | 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 |
abdf2260db9be1fcc2e2f025d8aa0306d3f212e2 | 128 | py | Python | raylab/agents/acktr/__init__.py | angelolovatto/raylab | ebaea8df1a391fb844e75df62ccf1e2e07311d88 | [
"MIT"
] | 29 | 2020-05-05T13:25:33.000Z | 2022-01-03T14:12:29.000Z | raylab/agents/acktr/__init__.py | angelolovatto/raylab | ebaea8df1a391fb844e75df62ccf1e2e07311d88 | [
"MIT"
] | 215 | 2019-11-26T12:59:39.000Z | 2022-02-01T12:38:31.000Z | raylab/agents/acktr/__init__.py | angelolovatto/raylab | ebaea8df1a391fb844e75df62ccf1e2e07311d88 | [
"MIT"
] | 7 | 2020-06-12T01:42:02.000Z | 2021-05-27T03:40:42.000Z | """Actor Critic using Kronecker-factored Trust Region"""
from .policy import ACKTRTorchPolicy
from .trainer import ACKTRTrainer
| 32 | 56 | 0.820313 | 15 | 128 | 7 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109375 | 128 | 3 | 57 | 42.666667 | 0.921053 | 0.390625 | 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 |
abe85f637b2bd77629f8fda5911806573b3ab867 | 207 | py | Python | Stock/admin.py | daubers/ComponentStock | 623d256fe66c3b1e407e01c7284ed7ca5868600d | [
"MIT"
] | 1 | 2015-05-16T10:44:42.000Z | 2015-05-16T10:44:42.000Z | Stock/admin.py | daubers/ComponentStock | 623d256fe66c3b1e407e01c7284ed7ca5868600d | [
"MIT"
] | null | null | null | Stock/admin.py | daubers/ComponentStock | 623d256fe66c3b1e407e01c7284ed7ca5868600d | [
"MIT"
] | null | null | null | from django.contrib import admin
from models import Stock, PurchaseOrder, PurchaseOrderToComponent
admin.site.register(Stock)
admin.site.register(PurchaseOrder)
admin.site.register(PurchaseOrderToComponent) | 34.5 | 65 | 0.864734 | 23 | 207 | 7.782609 | 0.478261 | 0.150838 | 0.284916 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.062802 | 207 | 6 | 66 | 34.5 | 0.92268 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 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 |
abfb20c20d7ad0c5e3ce2e7b0b3ff134e162b2e9 | 147 | py | Python | src/temperature/actions.py | jiaweih/Temperature | 7b30cca1bf2d02084c8c584a8cffe023020c73c7 | [
"MIT"
] | null | null | null | src/temperature/actions.py | jiaweih/Temperature | 7b30cca1bf2d02084c8c584a8cffe023020c73c7 | [
"MIT"
] | null | null | null | src/temperature/actions.py | jiaweih/Temperature | 7b30cca1bf2d02084c8c584a8cffe023020c73c7 | [
"MIT"
] | 2 | 2020-06-19T22:34:27.000Z | 2022-02-11T19:48:11.000Z | # -*- coding: utf-8 -*-
"""
actions
~~~~~~~
Contains all the actions w.r.t. slices and the surface.
"""
import mtslice
import surface
| 14.7 | 59 | 0.585034 | 19 | 147 | 4.526316 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008929 | 0.238095 | 147 | 9 | 60 | 16.333333 | 0.758929 | 0.646259 | 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 |
abfc62eff20393d9f4e48dfd9ca9bca8f5d70510 | 137 | py | Python | sveder/__init__.py | Sveder/import-sveder | 5a53a53daeaeca1ac870433bc3ad033f8e5d346d | [
"Apache-2.0"
] | 1 | 2021-04-08T14:19:54.000Z | 2021-04-08T14:19:54.000Z | sveder/__init__.py | Sveder/import-sveder | 5a53a53daeaeca1ac870433bc3ad033f8e5d346d | [
"Apache-2.0"
] | null | null | null | sveder/__init__.py | Sveder/import-sveder | 5a53a53daeaeca1ac870433bc3ad033f8e5d346d | [
"Apache-2.0"
] | null | null | null | import webbrowser
def open_sveder_com():
webbrowser.open_new("http://sveder.com")
if "__main__" == __name__:
open_sveder_com()
| 17.125 | 44 | 0.715328 | 18 | 137 | 4.722222 | 0.611111 | 0.317647 | 0.305882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145985 | 137 | 7 | 45 | 19.571429 | 0.726496 | 0 | 0 | 0 | 0 | 0 | 0.182482 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.2 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
f9fc6cecf81bb7f0e5ab9aa4ce03c7e1493dc977 | 37 | py | Python | datasets/__init__.py | willianrampazzo/pycoach | 24146a191c9e1d78811f9acb3b56c8520da34fcb | [
"MIT"
] | 1 | 2017-11-10T18:36:22.000Z | 2017-11-10T18:36:22.000Z | datasets/__init__.py | willianrampazzo/pycoach | 24146a191c9e1d78811f9acb3b56c8520da34fcb | [
"MIT"
] | null | null | null | datasets/__init__.py | willianrampazzo/pycoach | 24146a191c9e1d78811f9acb3b56c8520da34fcb | [
"MIT"
] | null | null | null | __all__ = ["FacialKeypointsDataset"]
| 18.5 | 36 | 0.783784 | 2 | 37 | 12.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 37 | 1 | 37 | 37 | 0.735294 | 0 | 0 | 0 | 0 | 0 | 0.594595 | 0.594595 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e61571fd12993704ed1d90d0af2c5b38fe41bc3f | 2,313 | py | Python | parse midi.py | robbiebarrat/Bach_AI | 0fb82302c50aeed9ad718b3d71f9debbaf54d1aa | [
"MIT"
] | 126 | 2016-07-17T21:18:23.000Z | 2022-03-14T23:45:35.000Z | parse midi.py | robbiebarrat/Bach_AI | 0fb82302c50aeed9ad718b3d71f9debbaf54d1aa | [
"MIT"
] | 1 | 2018-10-26T15:05:24.000Z | 2018-10-26T15:05:24.000Z | parse midi.py | robbiebarrat/Bach_AI | 0fb82302c50aeed9ad718b3d71f9debbaf54d1aa | [
"MIT"
] | 21 | 2016-07-18T06:16:07.000Z | 2022-01-22T01:43:39.000Z | from midiutil.MidiFile import MIDIFile
MyMIDI = MIDIFile(1)
track = 0
time = 0
MyMIDI.addTrackName(track,time,"Sample Track")
MyMIDI.addTempo(track,time,120)
songdata = [[3, 1, 1, 1, 0], [3, 12, 1, 1, 0], [27, 3, 0, 2, 0], [26, 11, 0, 2, 0], [19, 3, -1, 1, 0], [18, 5, -1, 1, 0], [16, 4, 0, 1, 0], [18, 6, 0, 1, 0], [16... | 82.607143 | 1,793 | 0.384782 | 574 | 2,313 | 1.550523 | 0.101045 | 0.177528 | 0.101124 | 0.026966 | 0.180899 | 0.153933 | 0.138202 | 0.110112 | 0.026966 | 0.026966 | 0 | 0.343213 | 0.270644 | 2,313 | 27 | 1,794 | 85.666667 | 0.184351 | 0 | 0 | 0 | 0 | 0 | 0.009511 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.045455 | null | null | 0.045455 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e62bdd455d69861526bf8f203c61941012dcb850 | 23 | py | Python | Courses/HSEPython/1 week/5.py | searayeah/sublime-snippets | deff53a06948691cd5e5d7dcfa85515ddd8fab0b | [
"MIT"
] | null | null | null | Courses/HSEPython/1 week/5.py | searayeah/sublime-snippets | deff53a06948691cd5e5d7dcfa85515ddd8fab0b | [
"MIT"
] | null | null | null | Courses/HSEPython/1 week/5.py | searayeah/sublime-snippets | deff53a06948691cd5e5d7dcfa85515ddd8fab0b | [
"MIT"
] | null | null | null | print(2**int(input()))
| 11.5 | 22 | 0.608696 | 4 | 23 | 3.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 0.043478 | 23 | 1 | 23 | 23 | 0.590909 | 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 |
e64a911b30b0bb5c999e1ca2e6b326b016135501 | 95 | py | Python | src/biopy/training/__init__.py | BioPyTeam/biopy | 5c1444280d0a5098b61a99d96dc2825259c7ced5 | [
"MIT"
] | null | null | null | src/biopy/training/__init__.py | BioPyTeam/biopy | 5c1444280d0a5098b61a99d96dc2825259c7ced5 | [
"MIT"
] | null | null | null | src/biopy/training/__init__.py | BioPyTeam/biopy | 5c1444280d0a5098b61a99d96dc2825259c7ced5 | [
"MIT"
] | 2 | 2021-07-23T09:30:58.000Z | 2021-07-23T09:33:25.000Z | __all__ = ['trainers']
from .trainer import Trainer
from .trainer_wrapper import ThanosTrainer | 23.75 | 42 | 0.810526 | 11 | 95 | 6.545455 | 0.636364 | 0.305556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115789 | 95 | 4 | 42 | 23.75 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
e664369b9ac7553be414428857ead57ec12f5fb7 | 171 | py | Python | zero/core/catalogue/__init__.py | jsa4000/OpenGL-Python | 62055ba0c16f54507b7ba709d6691b2e9c7bc152 | [
"Apache-2.0"
] | null | null | null | zero/core/catalogue/__init__.py | jsa4000/OpenGL-Python | 62055ba0c16f54507b7ba709d6691b2e9c7bc152 | [
"Apache-2.0"
] | null | null | null | zero/core/catalogue/__init__.py | jsa4000/OpenGL-Python | 62055ba0c16f54507b7ba709d6691b2e9c7bc152 | [
"Apache-2.0"
] | 1 | 2021-10-08T06:12:11.000Z | 2021-10-08T06:12:11.000Z | from __future__ import absolute_import, division, print_function
from .catalogue import Catalogue, CatalogueGroup
from .collections import CatalogueDict, CatalogueTree
| 24.428571 | 64 | 0.853801 | 18 | 171 | 7.777778 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 171 | 6 | 65 | 28.5 | 0.921053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
0589ef7a3f312e2956f8548d117ac563e26d1c33 | 30 | py | Python | i3pyblocks/__version__.py | mgrechukh/i3pyblocks | 8a637b3ebbced89078bee37fdd461f599bdf5b8e | [
"MIT"
] | null | null | null | i3pyblocks/__version__.py | mgrechukh/i3pyblocks | 8a637b3ebbced89078bee37fdd461f599bdf5b8e | [
"MIT"
] | null | null | null | i3pyblocks/__version__.py | mgrechukh/i3pyblocks | 8a637b3ebbced89078bee37fdd461f599bdf5b8e | [
"MIT"
] | 1 | 2021-11-07T17:33:06.000Z | 2021-11-07T17:33:06.000Z | __version__ = "2020.10.3-dev"
| 15 | 29 | 0.7 | 5 | 30 | 3.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.259259 | 0.1 | 30 | 1 | 30 | 30 | 0.37037 | 0 | 0 | 0 | 0 | 0 | 0.433333 | 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 |
552c322685f4b756aaa4fddf85a9f3c24314b79d | 231,706 | py | Python | boto3_type_annotations_with_docs/boto3_type_annotations/storagegateway/client.py | cowboygneox/boto3_type_annotations | 450dce1de4e066b939de7eac2ec560ed1a7ddaa2 | [
"MIT"
] | 119 | 2018-12-01T18:20:57.000Z | 2022-02-02T10:31:29.000Z | boto3_type_annotations_with_docs/boto3_type_annotations/storagegateway/client.py | cowboygneox/boto3_type_annotations | 450dce1de4e066b939de7eac2ec560ed1a7ddaa2 | [
"MIT"
] | 15 | 2018-11-16T00:16:44.000Z | 2021-11-13T03:44:18.000Z | boto3_type_annotations_with_docs/boto3_type_annotations/storagegateway/client.py | cowboygneox/boto3_type_annotations | 450dce1de4e066b939de7eac2ec560ed1a7ddaa2 | [
"MIT"
] | 11 | 2019-05-06T05:26:51.000Z | 2021-09-28T15:27:59.000Z | from typing import Optional
from botocore.client import BaseClient
from typing import Dict
from botocore.paginate import Paginator
from botocore.waiter import Waiter
from typing import Union
from typing import List
class Client(BaseClient):
def activate_gateway(self, ActivationKey: str, GatewayName: str, GatewayT... | 57.495285 | 659 | 0.603601 | 26,587 | 231,706 | 5.241283 | 0.049987 | 0.014604 | 0.02648 | 0.030893 | 0.745791 | 0.698723 | 0.66897 | 0.651173 | 0.626767 | 0.609609 | 0 | 0.009944 | 0.316837 | 231,706 | 4,029 | 660 | 57.509556 | 0.870386 | 0.824972 | 0 | 0.474684 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.474684 | false | 0.493671 | 0.044304 | 0 | 0.525316 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
556990c18f0eed34546a738b0376809b1c2c8d3f | 40 | py | Python | hardware-testing/hardware_testing/gravimetric_test/protocol_implementations/__init__.py | Opentrons/protocol_framework | ebbd6b2fe984edd6ecfcbf1dbe040db7f7356b9f | [
"Apache-2.0"
] | null | null | null | hardware-testing/hardware_testing/gravimetric_test/protocol_implementations/__init__.py | Opentrons/protocol_framework | ebbd6b2fe984edd6ecfcbf1dbe040db7f7356b9f | [
"Apache-2.0"
] | null | null | null | hardware-testing/hardware_testing/gravimetric_test/protocol_implementations/__init__.py | Opentrons/protocol_framework | ebbd6b2fe984edd6ecfcbf1dbe040db7f7356b9f | [
"Apache-2.0"
] | null | null | null | """Protocol implementations package."""
| 20 | 39 | 0.75 | 3 | 40 | 10 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 40 | 1 | 40 | 40 | 0.810811 | 0.825 | 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 |
557a5d1402f2704605a92422848c9fd2f338c19f | 46 | py | Python | prla/assignments/a0/decrypt.py | AegirAexx/python-sandbox | fa1f584f615c6ed04f80b9dd92d2b241248c9ebe | [
"Unlicense"
] | null | null | null | prla/assignments/a0/decrypt.py | AegirAexx/python-sandbox | fa1f584f615c6ed04f80b9dd92d2b241248c9ebe | [
"Unlicense"
] | null | null | null | prla/assignments/a0/decrypt.py | AegirAexx/python-sandbox | fa1f584f615c6ed04f80b9dd92d2b241248c9ebe | [
"Unlicense"
] | null | null | null | def decrypt(message):
return message[::3]
| 15.333333 | 23 | 0.673913 | 6 | 46 | 5.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026316 | 0.173913 | 46 | 2 | 24 | 23 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
559db2f694a319a275f2dbe52066ac7bc1d82fd1 | 35 | py | Python | competitive/AtCoder/nikkei2019-2-qual/A.py | pn11/benkyokai | 9ebdc46b529e76b7196add26dbc1e62ad48e72b0 | [
"MIT"
] | null | null | null | competitive/AtCoder/nikkei2019-2-qual/A.py | pn11/benkyokai | 9ebdc46b529e76b7196add26dbc1e62ad48e72b0 | [
"MIT"
] | 22 | 2020-03-24T16:24:47.000Z | 2022-02-26T15:51:18.000Z | competitive/AtCoder/nikkei2019-2-qual/A.py | pn11/benkyokai | 9ebdc46b529e76b7196add26dbc1e62ad48e72b0 | [
"MIT"
] | null | null | null | N = int(input())
print((N+1)//2-1)
| 11.666667 | 17 | 0.514286 | 8 | 35 | 2.25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 0.114286 | 35 | 2 | 18 | 17.5 | 0.483871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
e95df9ad130f1a4b9c9567ea241ed5a57a292b6f | 799 | py | Python | simons_mask_binarizer/_nbdev.py | SRSteinkamp/simons_mask_binarizer | f4e74868487a4f3311b6e1da70535729e364272d | [
"Apache-2.0"
] | null | null | null | simons_mask_binarizer/_nbdev.py | SRSteinkamp/simons_mask_binarizer | f4e74868487a4f3311b6e1da70535729e364272d | [
"Apache-2.0"
] | null | null | null | simons_mask_binarizer/_nbdev.py | SRSteinkamp/simons_mask_binarizer | f4e74868487a4f3311b6e1da70535729e364272d | [
"Apache-2.0"
] | null | null | null | # AUTOGENERATED BY NBDEV! DO NOT EDIT!
__all__ = ["index", "modules", "custom_doc_links", "git_url"]
index = {"binarize_mask": "00_mask_transform.ipynb",
"data_loader": "00_mask_transform.ipynb",
"data_saver": "00_mask_transform.ipynb",
"outpath_from_inpath": "00_mask_transform.ipynb",
... | 36.318182 | 75 | 0.703379 | 100 | 799 | 5.19 | 0.43 | 0.27553 | 0.260116 | 0.346821 | 0.196532 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026667 | 0.155194 | 799 | 21 | 76 | 38.047619 | 0.742222 | 0.045056 | 0 | 0 | 1 | 0 | 0.647832 | 0.272011 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071429 | false | 0 | 0 | 0.071429 | 0.071429 | 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 |
e971a18f3fce810673635256959c0e6d015f9917 | 49 | py | Python | test/lmp/model/_lstm_2002/__init__.py | ProFatXuanAll/char-RNN | 531f101b3d1ba20bafd28ca060aafe6f583d1efb | [
"Beerware"
] | null | null | null | test/lmp/model/_lstm_2002/__init__.py | ProFatXuanAll/char-RNN | 531f101b3d1ba20bafd28ca060aafe6f583d1efb | [
"Beerware"
] | null | null | null | test/lmp/model/_lstm_2002/__init__.py | ProFatXuanAll/char-RNN | 531f101b3d1ba20bafd28ca060aafe6f583d1efb | [
"Beerware"
] | null | null | null | """Test :py:mod:`lmp.model._lstm_2002` entry."""
| 24.5 | 48 | 0.653061 | 8 | 49 | 3.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 0.061224 | 49 | 1 | 49 | 49 | 0.565217 | 0.857143 | 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 |
e99a6c18daac6cfdfce659dfb540ca8d651c0a7a | 43 | py | Python | peco/parser/inline_if_then.py | Tikubonn/peco | c77fc163ad31d3c271d299747914ce4ef3386987 | [
"MIT"
] | null | null | null | peco/parser/inline_if_then.py | Tikubonn/peco | c77fc163ad31d3c271d299747914ce4ef3386987 | [
"MIT"
] | null | null | null | peco/parser/inline_if_then.py | Tikubonn/peco | c77fc163ad31d3c271d299747914ce4ef3386987 | [
"MIT"
] | null | null | null |
class InlineIfThen (Exception):
pass
| 8.6 | 31 | 0.697674 | 4 | 43 | 7.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.232558 | 43 | 4 | 32 | 10.75 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
7580e839773ddb1a67fc19fdbceae1bf47500583 | 4,780 | py | Python | qiskit/ignis/characterization/coherence/circuits.py | ajavadia/qiskit-ignis | c03d1bd22f49f461e7f3112cb8b854e92f6d961f | [
"Apache-2.0"
] | null | null | null | qiskit/ignis/characterization/coherence/circuits.py | ajavadia/qiskit-ignis | c03d1bd22f49f461e7f3112cb8b854e92f6d961f | [
"Apache-2.0"
] | null | null | null | qiskit/ignis/characterization/coherence/circuits.py | ajavadia/qiskit-ignis | c03d1bd22f49f461e7f3112cb8b854e92f6d961f | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright 2019, IBM.
#
# This source code is licensed under the Apache License, Version 2.0 found in
# the LICENSE.txt file in the root directory of this source tree.
"""
Circuit generation for coherence experiments
"""
import numpy as np
import qiskit
from .coherence_utils import pad_id_ga... | 34.388489 | 78 | 0.632008 | 663 | 4,780 | 4.417798 | 0.190045 | 0.04097 | 0.04097 | 0.02663 | 0.785251 | 0.764083 | 0.733698 | 0.733698 | 0.694776 | 0.670536 | 0 | 0.010604 | 0.289749 | 4,780 | 138 | 79 | 34.637681 | 0.852135 | 0.502092 | 0 | 0.769231 | 0 | 0 | 0.011116 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.057692 | false | 0 | 0.057692 | 0 | 0.173077 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 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 |
758f89c34f62a95b896e859361805235952a4d83 | 117 | py | Python | pynumoptimizer/__init__.py | ltadeu6/Optimization_python | 3f7bb389426618fa7987114df9d8e90c160ca3f0 | [
"MIT"
] | null | null | null | pynumoptimizer/__init__.py | ltadeu6/Optimization_python | 3f7bb389426618fa7987114df9d8e90c160ca3f0 | [
"MIT"
] | null | null | null | pynumoptimizer/__init__.py | ltadeu6/Optimization_python | 3f7bb389426618fa7987114df9d8e90c160ca3f0 | [
"MIT"
] | null | null | null | from .utils import otimization
from .genetic import Genetic
from .nelder_mead import NelderMead
from .pso import PSO
| 23.4 | 35 | 0.82906 | 17 | 117 | 5.647059 | 0.529412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136752 | 117 | 4 | 36 | 29.25 | 0.950495 | 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 |
759a0aa8dc6dc91d376a03da2e4a3badce4518fb | 6,309 | py | Python | views/api_views.py | marios8543/Uwuchan | bd42723bc007f67e3fe74d86f214fc76e504ae8c | [
"MIT"
] | null | null | null | views/api_views.py | marios8543/Uwuchan | bd42723bc007f67e3fe74d86f214fc76e504ae8c | [
"MIT"
] | null | null | null | views/api_views.py | marios8543/Uwuchan | bd42723bc007f67e3fe74d86f214fc76e504ae8c | [
"MIT"
] | null | null | null | from app import app,db,cfg,name
import models
from views import utils
import flask
import os
request = flask.request
@app.route('/')
def index():
user = utils.session_check(request)
if user.fng:
resp = utils.response(200,'Registered')
resp.set_cookie(cfg['cookie_name'],user.id,user)
ret... | 41.506579 | 128 | 0.662863 | 913 | 6,309 | 4.532311 | 0.13253 | 0.103673 | 0.146931 | 0.047849 | 0.768246 | 0.751087 | 0.740213 | 0.723296 | 0.714355 | 0.702997 | 0 | 0.020388 | 0.207006 | 6,309 | 151 | 129 | 41.781457 | 0.806716 | 0 | 0 | 0.647482 | 0 | 0 | 0.253764 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.05036 | false | 0 | 0.035971 | 0 | 0.323741 | 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 |
75c937670cc1b6845e7348e88fb3ab86c2d3247c | 220 | py | Python | containment/types/environment.py | zancas/protoenv | 4f7e2c2338e0ca7c107a7b3a9913bb5e6e07245f | [
"MIT"
] | null | null | null | containment/types/environment.py | zancas/protoenv | 4f7e2c2338e0ca7c107a7b3a9913bb5e6e07245f | [
"MIT"
] | 3 | 2017-03-11T23:16:15.000Z | 2017-03-11T23:24:19.000Z | containment/types/environment.py | zancas/protoenv | 4f7e2c2338e0ca7c107a7b3a9913bb5e6e07245f | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import os
from typet import Object
from typet import String
class EnvironmentVariable(Object):
name: String[1:]
@property
def value(self):
return os.environ.get(self.name)
| 15.714286 | 40 | 0.668182 | 29 | 220 | 5.068966 | 0.689655 | 0.122449 | 0.204082 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011628 | 0.218182 | 220 | 13 | 41 | 16.923077 | 0.843023 | 0.095455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.375 | 0.125 | 0.875 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
75db3141352046109beee68bf58451b372ea2c9a | 44 | py | Python | mechanize/_version.py | berni69/mechanize | 6dbb1c56b3664c8b2e2157165d2837e7e8d70eaa | [
"BSD-3-Clause"
] | null | null | null | mechanize/_version.py | berni69/mechanize | 6dbb1c56b3664c8b2e2157165d2837e7e8d70eaa | [
"BSD-3-Clause"
] | null | null | null | mechanize/_version.py | berni69/mechanize | 6dbb1c56b3664c8b2e2157165d2837e7e8d70eaa | [
"BSD-3-Clause"
] | null | null | null | "0.3.7"
__version__ = (0, 3, 7, None, None)
| 14.666667 | 35 | 0.568182 | 9 | 44 | 2.333333 | 0.555556 | 0.190476 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0.181818 | 44 | 2 | 36 | 22 | 0.416667 | 0.113636 | 0 | 0 | 0 | 0 | 0.113636 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
f95327286721c8748735c28689b182e0709ce52b | 42 | py | Python | set_ings/exceptions.py | evocount/python-set-ings | 365dabaa6def3298f0ab974811f0fa5df1cc1993 | [
"MIT"
] | null | null | null | set_ings/exceptions.py | evocount/python-set-ings | 365dabaa6def3298f0ab974811f0fa5df1cc1993 | [
"MIT"
] | null | null | null | set_ings/exceptions.py | evocount/python-set-ings | 365dabaa6def3298f0ab974811f0fa5df1cc1993 | [
"MIT"
] | null | null | null |
class SettingsError(Exception):
pass
| 10.5 | 31 | 0.738095 | 4 | 42 | 7.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 42 | 3 | 32 | 14 | 0.911765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 0 | 1 | 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.