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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
960faa636c63399c1988c58ce0e7c98b90dc797e | 169 | py | Python | Lib/async/test/test_echoupper.py | pyparallel/pyparallel | 11e8c6072d48c8f13641925d17b147bf36ee0ba3 | [
"PSF-2.0"
] | 652 | 2015-07-26T00:00:17.000Z | 2022-02-24T18:30:04.000Z | Lib/async/test/test_echoupper.py | tpn/pyparallel | 11e8c6072d48c8f13641925d17b147bf36ee0ba3 | [
"PSF-2.0"
] | 8 | 2015-09-07T03:38:19.000Z | 2021-05-23T03:18:51.000Z | Lib/async/test/test_echoupper.py | tpn/pyparallel | 11e8c6072d48c8f13641925d17b147bf36ee0ba3 | [
"PSF-2.0"
] | 40 | 2015-07-24T19:45:08.000Z | 2021-11-01T14:54:56.000Z | import async
from async.services import EchoUpperData
server = async.server('10.211.55.3', 20007)
async.register(transport=server, protocol=EchoUpperData)
async.run()
| 21.125 | 56 | 0.792899 | 23 | 169 | 5.826087 | 0.652174 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084416 | 0.088757 | 169 | 7 | 57 | 24.142857 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0.065476 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.4 | null | null | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
824e54bffa5be7c6d4c645bb089554003a4f25bc | 189 | py | Python | Lyft-Dental/payments/pay/urls.py | Abhik1998/Lyft-sample_project | 3f9a79fb86c7abee713ae37245f5e7971be09139 | [
"MIT"
] | 1 | 2021-01-09T08:42:24.000Z | 2021-01-09T08:42:24.000Z | Lyft-Dental/payments/pay/urls.py | Abhik1998/Lyft-sample_project | 3f9a79fb86c7abee713ae37245f5e7971be09139 | [
"MIT"
] | null | null | null | Lyft-Dental/payments/pay/urls.py | Abhik1998/Lyft-sample_project | 3f9a79fb86c7abee713ae37245f5e7971be09139 | [
"MIT"
] | null | null | null | from django.urls import path
from .views import initiate_payment, callback
urlpatterns = [
path('', initiate_payment, name='pay'),
path('callback/', callback, name='callback'),
]
| 21 | 49 | 0.703704 | 22 | 189 | 5.954545 | 0.545455 | 0.229008 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153439 | 189 | 8 | 50 | 23.625 | 0.81875 | 0 | 0 | 0 | 0 | 0 | 0.106383 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
826cefe38aada7c6d25cf287d99f1f536d838887 | 97 | py | Python | src/meetings/admin.py | Yalnyra/office-meeting-reservation | 52f558ec11a9b5d69c28acb60de132d70b0a789b | [
"bzip2-1.0.6"
] | null | null | null | src/meetings/admin.py | Yalnyra/office-meeting-reservation | 52f558ec11a9b5d69c28acb60de132d70b0a789b | [
"bzip2-1.0.6"
] | null | null | null | src/meetings/admin.py | Yalnyra/office-meeting-reservation | 52f558ec11a9b5d69c28acb60de132d70b0a789b | [
"bzip2-1.0.6"
] | null | null | null | from django.contrib import admin
from .models import Meeting
admin.site.register(Meeting)
| 16.166667 | 33 | 0.773196 | 13 | 97 | 5.769231 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164948 | 97 | 5 | 34 | 19.4 | 0.925926 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
829007d1ff44f42bdcbdcc5f79b823572db44839 | 194 | py | Python | 10/testtime.py | M0nica/python-foundations | fe5065d3af71511bdd0fcf437d1d9f15f9faf1ee | [
"MIT"
] | null | null | null | 10/testtime.py | M0nica/python-foundations | fe5065d3af71511bdd0fcf437d1d9f15f9faf1ee | [
"MIT"
] | null | null | null | 10/testtime.py | M0nica/python-foundations | fe5065d3af71511bdd0fcf437d1d9f15f9faf1ee | [
"MIT"
] | null | null | null | import time
print (time.strftime("%B %e, %Y"))
# Guides:
# how to formate date:
# http://strftime.net/
# how to use time:
# http://www.cyberciti.biz/faq/howto-get-current-date-time-in-python/
| 19.4 | 69 | 0.680412 | 32 | 194 | 4.125 | 0.75 | 0.075758 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123711 | 194 | 9 | 70 | 21.555556 | 0.776471 | 0.690722 | 0 | 0 | 0 | 0 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 4 |
82c5f5ed054e4540c225e7fd44668ed1c842c358 | 312 | py | Python | exercicios/ex074.py | CinatitBR/exercicios-phyton | 16d9c14a83c9dbd6f7bda5477d665848bcd91184 | [
"MIT"
] | null | null | null | exercicios/ex074.py | CinatitBR/exercicios-phyton | 16d9c14a83c9dbd6f7bda5477d665848bcd91184 | [
"MIT"
] | null | null | null | exercicios/ex074.py | CinatitBR/exercicios-phyton | 16d9c14a83c9dbd6f7bda5477d665848bcd91184 | [
"MIT"
] | null | null | null | from random import randint
numeros = (randint(0, 10), randint(0, 10), randint(0, 10), randint(0, 10), randint(0, 10))
print(f'Os cinco números são: ', end='')
for n in numeros: # Exibe números sorteados
print(n, end=' ')
print(f'\nO MAIOR número é {max(numeros)}')
print(f'O MENOR número é {min(numeros)}')
| 39 | 90 | 0.666667 | 53 | 312 | 3.924528 | 0.509434 | 0.192308 | 0.240385 | 0.326923 | 0.240385 | 0.240385 | 0.240385 | 0.240385 | 0.240385 | 0.240385 | 0 | 0.056818 | 0.153846 | 312 | 7 | 91 | 44.571429 | 0.731061 | 0.073718 | 0 | 0 | 0 | 0 | 0.303136 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 0.571429 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
7d6a59d7fa23a596aac99cdbb9dd178d370f5c83 | 95 | py | Python | hydropy/__init__.py | GironsLopez/hydropy | 59cb29254e4a3f02f994e2d049e3c1135e9295a2 | [
"MIT"
] | null | null | null | hydropy/__init__.py | GironsLopez/hydropy | 59cb29254e4a3f02f994e2d049e3c1135e9295a2 | [
"MIT"
] | null | null | null | hydropy/__init__.py | GironsLopez/hydropy | 59cb29254e4a3f02f994e2d049e3c1135e9295a2 | [
"MIT"
] | null | null | null | """
Hydropy
=======
Provides functions to work with hydrological processes and equations
"""
| 11.875 | 68 | 0.705263 | 10 | 95 | 6.7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 95 | 7 | 69 | 13.571429 | 0.8375 | 0.894737 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7d745ae2b2c11edcf86ebca48a6d9d1699e9100c | 98 | py | Python | test.py | ifplusor/actrie | 54e9aff441594fbcd30a936d4fbc300ad81007b9 | [
"BSD-3-Clause"
] | 8 | 2017-10-01T04:47:12.000Z | 2022-02-15T10:16:11.000Z | test.py | ifplusor/actrie | 54e9aff441594fbcd30a936d4fbc300ad81007b9 | [
"BSD-3-Clause"
] | null | null | null | test.py | ifplusor/actrie | 54e9aff441594fbcd30a936d4fbc300ad81007b9 | [
"BSD-3-Clause"
] | 4 | 2018-04-06T08:27:02.000Z | 2021-05-11T07:56:17.000Z | # coding=utf-8
from actrie.tests.test_matcher import test
if __name__ == "__main__":
test()
| 14 | 42 | 0.704082 | 14 | 98 | 4.285714 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012346 | 0.173469 | 98 | 6 | 43 | 16.333333 | 0.728395 | 0.122449 | 0 | 0 | 0 | 0 | 0.095238 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
7d762add2bb0e919d8e50f41074b703f99873c98 | 265 | py | Python | quickvision/pretrained/_pretrained_weights.py | zlapp/quickvision | cbf87756088bd7fe24d380ca831f5c1a204466f8 | [
"Apache-2.0"
] | 47 | 2020-11-15T03:36:48.000Z | 2021-04-08T05:28:02.000Z | quickvision/pretrained/_pretrained_weights.py | zlapp/quickvision | cbf87756088bd7fe24d380ca831f5c1a204466f8 | [
"Apache-2.0"
] | 78 | 2020-11-14T17:55:28.000Z | 2021-04-06T08:55:24.000Z | quickvision/pretrained/_pretrained_weights.py | zlapp/quickvision | cbf87756088bd7fe24d380ca831f5c1a204466f8 | [
"Apache-2.0"
] | 15 | 2020-11-14T18:01:04.000Z | 2021-02-16T14:50:12.000Z | import torch
__all__ = ["_load_pretrained_weights"]
def _load_pretrained_weights(weights_dict, model_name: str, pretrained: str):
state_dict = torch.hub.load_state_dict_from_url(weights_dict[model_name][pretrained], map_location="cpu")
return state_dict
| 29.444444 | 109 | 0.8 | 37 | 265 | 5.162162 | 0.513514 | 0.141361 | 0.219895 | 0.209424 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10566 | 265 | 8 | 110 | 33.125 | 0.805907 | 0 | 0 | 0 | 0 | 0 | 0.101887 | 0.090566 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
7d78430382af94d8d75d17a72371f34356ac1d39 | 193 | py | Python | hris/apps/jobs/admin.py | Minedomain/hris_backend | 90aab497c076c2d4ce4e05a441db0ee7a175df57 | [
"MIT"
] | null | null | null | hris/apps/jobs/admin.py | Minedomain/hris_backend | 90aab497c076c2d4ce4e05a441db0ee7a175df57 | [
"MIT"
] | null | null | null | hris/apps/jobs/admin.py | Minedomain/hris_backend | 90aab497c076c2d4ce4e05a441db0ee7a175df57 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import *
@admin.register(Job)
class JobAdmin(admin.ModelAdmin):
list_display = ['job_id', 'job_title', 'duties', 'min_salary', 'max_salary']
| 24.125 | 80 | 0.73057 | 26 | 193 | 5.230769 | 0.730769 | 0.161765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.124352 | 193 | 7 | 81 | 27.571429 | 0.804734 | 0 | 0 | 0 | 0 | 0 | 0.212435 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
7db12d202da616ad47115b53db18fc8f8d4df1a8 | 178 | py | Python | Python/bot_2.py | maurovasconcelos/Ola-Mundo | 526c6c271fbe916c4f9f22153828e4d8c726a544 | [
"MIT"
] | 1 | 2021-02-16T17:36:53.000Z | 2021-02-16T17:36:53.000Z | Python/bot_2.py | maurovasconcelos/Ola-Mundo | 526c6c271fbe916c4f9f22153828e4d8c726a544 | [
"MIT"
] | null | null | null | Python/bot_2.py | maurovasconcelos/Ola-Mundo | 526c6c271fbe916c4f9f22153828e4d8c726a544 | [
"MIT"
] | null | null | null | from selenium import webdriver
navegador = webdriver.Chrome()
navegador.get("https://webstatic-sea.mihoyo.com/ys/event/signin-sea/index.html?act_id=e202102251931481&lang=pt-pt") | 44.5 | 115 | 0.808989 | 26 | 178 | 5.5 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 0.044944 | 178 | 4 | 115 | 44.5 | 0.752941 | 0 | 0 | 0 | 0 | 0.333333 | 0.547486 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
7db1db7e3a4320d312306a5a9f6265803704a70b | 18,177 | py | Python | vendor/istio.io/api/python/istio_api/envoy/config/filter/http/jwt_auth/v2alpha1/config_pb2.py | PinZhang/istio | dce455456d77ca5af34ba5848f9704577349c6bd | [
"Apache-2.0"
] | 794 | 2018-07-12T06:08:10.000Z | 2019-05-12T20:06:00.000Z | vendor/istio.io/api/python/istio_api/envoy/config/filter/http/jwt_auth/v2alpha1/config_pb2.py | PinZhang/istio | dce455456d77ca5af34ba5848f9704577349c6bd | [
"Apache-2.0"
] | 25 | 2018-07-20T08:53:42.000Z | 2019-05-05T06:23:11.000Z | vendor/istio.io/api/python/istio_api/envoy/config/filter/http/jwt_auth/v2alpha1/config_pb2.py | PinZhang/istio | dce455456d77ca5af34ba5848f9704577349c6bd | [
"Apache-2.0"
] | 116 | 2018-07-12T15:24:17.000Z | 2019-05-10T10:11:32.000Z | # Generated by the protocol buffer compiler. DO NOT EDIT!
# source: envoy/config/filter/http/jwt_auth/v2alpha1/config.proto
import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from g... | 45.329177 | 1,704 | 0.760301 | 2,426 | 18,177 | 5.408491 | 0.097279 | 0.04207 | 0.064629 | 0.076747 | 0.74598 | 0.719229 | 0.694002 | 0.672967 | 0.658182 | 0.628839 | 0 | 0.037471 | 0.107333 | 18,177 | 400 | 1,705 | 45.4425 | 0.77117 | 0.042966 | 0 | 0.628809 | 1 | 0.00277 | 0.287719 | 0.244406 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.019391 | 0 | 0.019391 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7dd3bf8d2c2f8bbd741f59dd7b443601e8b83316 | 282 | py | Python | scripts/get_plat_name.py | uuosio/gscdk | 995d99948d7090032f76b05656cad29c6cfbb647 | [
"BSD-3-Clause"
] | 6 | 2021-09-03T09:02:39.000Z | 2022-01-12T06:31:09.000Z | scripts/get_plat_name.py | learnforpractice/gscdk | dc17c43fa2be28500f38897a29bbbd9eb9c7ada7 | [
"BSD-3-Clause"
] | 1 | 2021-11-01T16:46:09.000Z | 2021-11-04T12:51:45.000Z | scripts/get_plat_name.py | learnforpractice/gscdk | dc17c43fa2be28500f38897a29bbbd9eb9c7ada7 | [
"BSD-3-Clause"
] | 2 | 2021-11-10T01:56:15.000Z | 2022-01-13T14:27:31.000Z | import platform
#check the platform for linux, macos, windows
if platform.system() == "Linux":
print("manylinux1_x86_64")
elif platform.system() == "Windows":
print("win-amd64")
elif platform.system() == "Darwin":
print("macosx_10_15_x86_64")
else:
print("Unknown")
| 25.636364 | 45 | 0.691489 | 37 | 282 | 5.108108 | 0.621622 | 0.222222 | 0.190476 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 0.148936 | 282 | 10 | 46 | 28.2 | 0.725 | 0.156028 | 0 | 0 | 0 | 0 | 0.295359 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.111111 | 0 | 0.111111 | 0.444444 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
8147a9961c8020efb6e931a049f2c9b13c430d08 | 84 | py | Python | PMMH/apps/game/map/admin.py | metinberkkaratas/ProjectMagic-MightofHeroes | 578697e637aba0f18b4f83762bf1c87fb20db2ee | [
"MIT"
] | null | null | null | PMMH/apps/game/map/admin.py | metinberkkaratas/ProjectMagic-MightofHeroes | 578697e637aba0f18b4f83762bf1c87fb20db2ee | [
"MIT"
] | 4 | 2021-03-19T02:37:45.000Z | 2022-02-10T11:18:04.000Z | PMMH/apps/game/map/admin.py | metinberkkaratas/ProjectMagic-MightofHeroes | 578697e637aba0f18b4f83762bf1c87fb20db2ee | [
"MIT"
] | 1 | 2019-10-21T20:32:20.000Z | 2019-10-21T20:32:20.000Z | from django.contrib import admin
from .models import Map
admin.site.register(Map)
| 14 | 32 | 0.797619 | 13 | 84 | 5.153846 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130952 | 84 | 5 | 33 | 16.8 | 0.917808 | 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 | 0 | 0 | 0 | 4 |
815225f9552d4d71ea93b38bd616e126479cf8c1 | 476 | py | Python | htdfsdk/utils.py | youngqqcn/htdfsdk | c22f213a967c8233bb6ccfb01bf148112efd44db | [
"MIT"
] | 2 | 2021-01-21T01:46:29.000Z | 2021-03-12T05:59:19.000Z | htdfsdk/utils.py | youngqqcn/htdfsdk | c22f213a967c8233bb6ccfb01bf148112efd44db | [
"MIT"
] | null | null | null | htdfsdk/utils.py | youngqqcn/htdfsdk | c22f213a967c8233bb6ccfb01bf148112efd44db | [
"MIT"
] | null | null | null | #coding:utf8
#author: yqq
#date: 2020/12/15 下午5:38
#descriptions:
from decimal import Decimal, getcontext
# getcontext()
def htdf_to_satoshi(amount_htdf: [float, int, str]) -> int:
return int(Decimal(str(amount_htdf)) * (10 ** 8))
if __name__ == '__main__':
assert htdf_to_satoshi(139623.71827296) == 1396... | 21.636364 | 70 | 0.714286 | 61 | 476 | 5.278689 | 0.557377 | 0.074534 | 0.161491 | 0.177019 | 0.350932 | 0.350932 | 0.350932 | 0.350932 | 0.350932 | 0.350932 | 0 | 0.255 | 0.159664 | 476 | 21 | 71 | 22.666667 | 0.55 | 0.14916 | 0 | 0 | 0 | 0 | 0.057644 | 0 | 0 | 0 | 0 | 0 | 0.375 | 1 | 0.125 | false | 0.125 | 0.125 | 0.125 | 0.375 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 4 |
815d74b7b1790e6b997d1b97f06db916a5d075c4 | 65 | py | Python | tests/gear_scripts/buitin_runtime_func_GearsBuilder.py | jsam/redgrease | 245755b34bce287c63abb6624478cdf8189816b6 | [
"MIT"
] | 17 | 2021-02-26T23:03:39.000Z | 2022-01-26T11:21:49.000Z | tests/gear_scripts/buitin_runtime_func_GearsBuilder.py | jsam/redgrease | 245755b34bce287c63abb6624478cdf8189816b6 | [
"MIT"
] | 87 | 2021-02-16T08:54:59.000Z | 2021-08-18T07:21:39.000Z | tests/gear_scripts/buitin_runtime_func_GearsBuilder.py | jsam/redgrease | 245755b34bce287c63abb6624478cdf8189816b6 | [
"MIT"
] | 3 | 2021-04-21T07:57:43.000Z | 2021-10-04T09:13:14.000Z | from redgrease import GearsBuilder
gb = GearsBuilder()
gb.run()
| 13 | 34 | 0.769231 | 8 | 65 | 6.25 | 0.75 | 0.56 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138462 | 65 | 4 | 35 | 16.25 | 0.892857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
81780d1d21d48080345dc52c64611a0acffa03d7 | 232 | py | Python | __init__.py | rolc/python-package | 272fb6da9d7aa3c2a0c53dea6d4e958409ac5d12 | [
"MIT"
] | null | null | null | __init__.py | rolc/python-package | 272fb6da9d7aa3c2a0c53dea6d4e958409ac5d12 | [
"MIT"
] | null | null | null | __init__.py | rolc/python-package | 272fb6da9d7aa3c2a0c53dea6d4e958409ac5d12 | [
"MIT"
] | null | null | null | #!/usr/bin/python
#-------------------------------IMPORT--------------------------------#
from lib import *
#-------------------------------EXPORT--------------------------------#
__all__ = ['<#PREFIX#>_app','<#PREFIX#>_index']
| 23.2 | 71 | 0.284483 | 13 | 232 | 4.615385 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060345 | 232 | 9 | 72 | 25.777778 | 0.275229 | 0.663793 | 0 | 0 | 0 | 0 | 0.410959 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
817a13b6a8ab8c5ae685c931b654984848f5a51f | 36,420 | py | Python | bustime/requestmock.py | RemyPorter/BusTimeClient | a0bd3ef7e24e132e964e6847261ed6888e5735ee | [
"MIT"
] | 2 | 2017-06-24T14:10:42.000Z | 2018-02-16T20:44:07.000Z | bustime/requestmock.py | RemyPorter/BusTimeClient | a0bd3ef7e24e132e964e6847261ed6888e5735ee | [
"MIT"
] | null | null | null | bustime/requestmock.py | RemyPorter/BusTimeClient | a0bd3ef7e24e132e964e6847261ed6888e5735ee | [
"MIT"
] | null | null | null | from urllib.parse import urlparse, parse_qs
from io import BytesIO
import json
class MockRequest:
def getmethod(self, path):
apiend = "v2/"
start = path.find(apiend) + len(apiend)
return path[start:]
def urlopen(self, url):
output = BytesIO()
parsed = urlparse(url)
... | 337.222222 | 33,400 | 0.578913 | 5,139 | 36,420 | 4.102355 | 0.240708 | 0.067593 | 0.080543 | 0.065933 | 0.216488 | 0.185561 | 0.160611 | 0.044967 | 0.03605 | 0.011764 | 0 | 0.335268 | 0.138935 | 36,420 | 107 | 33,401 | 340.373832 | 0.33699 | 0.002087 | 0 | 0.233766 | 0 | 0 | 0.307389 | 0 | 0 | 0 | 0 | 0 | 0.103896 | 1 | 0.116883 | false | 0 | 0.038961 | 0.025974 | 0.285714 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8182de99b8accab6efbe98871df960f416bdddf7 | 38,104 | py | Python | t3f/riemannian.py | robol/t3f | d61037ba9c03c344e9fc31fce46648347b762b39 | [
"MIT"
] | null | null | null | t3f/riemannian.py | robol/t3f | d61037ba9c03c344e9fc31fce46648347b762b39 | [
"MIT"
] | null | null | null | t3f/riemannian.py | robol/t3f | d61037ba9c03c344e9fc31fce46648347b762b39 | [
"MIT"
] | null | null | null | import tensorflow as tf
from t3f.tensor_train import TensorTrain
from t3f.tensor_train_batch import TensorTrainBatch
from t3f import shapes
from t3f import decompositions
def project_sum(what, where, weights=None):
"""Project sum of `what` TTs on the tangent space of `where` TT.
project_sum(what, x) = P_x(what)... | 42.90991 | 101 | 0.664943 | 5,949 | 38,104 | 3.955455 | 0.05917 | 0.036293 | 0.021929 | 0.018444 | 0.795419 | 0.760019 | 0.733798 | 0.70745 | 0.679954 | 0.669755 | 0 | 0.016205 | 0.237193 | 38,104 | 887 | 102 | 42.958286 | 0.793367 | 0.225121 | 0 | 0.666667 | 0 | 0 | 0.08068 | 0.009494 | 0 | 0 | 0 | 0.00451 | 0 | 1 | 0.0134 | false | 0 | 0.008375 | 0 | 0.035176 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
819ef83975adf31b6a1082bbb314f1833657807e | 246 | bzl | Python | tools/build_rules/gtk_dependent.bzl | Ewpratten/frc_971_mirror | 3a8a0c4359f284d29547962c2b4c43d290d8065c | [
"BSD-2-Clause"
] | 39 | 2021-06-18T03:22:30.000Z | 2022-03-21T15:23:43.000Z | tools/build_rules/gtk_dependent.bzl | Ewpratten/frc_971_mirror | 3a8a0c4359f284d29547962c2b4c43d290d8065c | [
"BSD-2-Clause"
] | 10 | 2021-06-18T03:22:19.000Z | 2022-03-18T22:14:15.000Z | tools/build_rules/gtk_dependent.bzl | Ewpratten/frc_971_mirror | 3a8a0c4359f284d29547962c2b4c43d290d8065c | [
"BSD-2-Clause"
] | 4 | 2021-08-19T19:20:04.000Z | 2022-03-08T07:33:18.000Z | disable_gtk_binaries = True
def gtk_dependent_cc_library(**kwargs):
if not disable_gtk_binaries:
native.cc_library(**kwargs)
def gtk_dependent_cc_binary(**kwargs):
if not disable_gtk_binaries:
native.cc_binary(**kwargs)
| 24.6 | 39 | 0.739837 | 34 | 246 | 4.941176 | 0.382353 | 0.178571 | 0.321429 | 0.202381 | 0.440476 | 0.440476 | 0.440476 | 0.440476 | 0 | 0 | 0 | 0 | 0.166667 | 246 | 9 | 40 | 27.333333 | 0.819512 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
81a85ad97e42bc868e9ae369e44cafe2a61e536a | 107 | py | Python | Problems/sample.py | HKuz/Test_Code | 798efc9fc668ef021736a6d9699ef4713cf8b718 | [
"MIT"
] | 1 | 2020-06-14T20:10:04.000Z | 2020-06-14T20:10:04.000Z | Problems/sample.py | makramjandar/Test_Code | 798efc9fc668ef021736a6d9699ef4713cf8b718 | [
"MIT"
] | null | null | null | Problems/sample.py | makramjandar/Test_Code | 798efc9fc668ef021736a6d9699ef4713cf8b718 | [
"MIT"
] | 1 | 2019-12-09T12:48:05.000Z | 2019-12-09T12:48:05.000Z | #!/usr/local/bin/python3
def main():
# Test suite
return
if __name__ == '__main__':
main()
| 9.727273 | 26 | 0.579439 | 13 | 107 | 4.153846 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012658 | 0.261682 | 107 | 10 | 27 | 10.7 | 0.670886 | 0.317757 | 0 | 0 | 0 | 0 | 0.112676 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0 | 0.25 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
81aeea522ff7190fbf314844be2ef81f5a72b4cb | 3,894 | py | Python | python/one-liner/cluster_of_non_0.py | Hamng/python-sources | 0cc5a5d9e576440d95f496edcfd921ae37fcd05a | [
"Unlicense"
] | null | null | null | python/one-liner/cluster_of_non_0.py | Hamng/python-sources | 0cc5a5d9e576440d95f496edcfd921ae37fcd05a | [
"Unlicense"
] | 1 | 2019-02-23T18:30:51.000Z | 2019-02-23T18:30:51.000Z | python/one-liner/cluster_of_non_0.py | Hamng/python-sources | 0cc5a5d9e576440d95f496edcfd921ae37fcd05a | [
"Unlicense"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Sat Feb 8 07:38:05 2020
@author: Ham
Self Challenge: Count Cluster of Non-0s
Given a 1-dimension array of integers,
determine how many 'clusters' of non-0 in the array.
A 'cluster' is a group of consecutive non-0 values.
Scoring: a solution needs to be a 1-liner;
... | 34.157895 | 81 | 0.48793 | 727 | 3,894 | 2.569464 | 0.23934 | 0.029979 | 0.019272 | 0.036403 | 0.276231 | 0.204497 | 0.204497 | 0.178801 | 0.178801 | 0.178801 | 0 | 0.259455 | 0.321007 | 3,894 | 113 | 82 | 34.460177 | 0.44705 | 0.397535 | 0 | 0 | 0 | 0.744681 | 0.774302 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.042553 | false | 0 | 0.021277 | 0 | 0.106383 | 0.042553 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
81b626c300ff32d3e035f1c56e66bff3d7d1f4dc | 592 | py | Python | 03_lecture_Django/lecture3/hello/views.py | MoStgt/CS50 | 62bd6eb38bea745c6356e1a8f03adb6ab70e2a37 | [
"MIT"
] | null | null | null | 03_lecture_Django/lecture3/hello/views.py | MoStgt/CS50 | 62bd6eb38bea745c6356e1a8f03adb6ab70e2a37 | [
"MIT"
] | null | null | null | 03_lecture_Django/lecture3/hello/views.py | MoStgt/CS50 | 62bd6eb38bea745c6356e1a8f03adb6ab70e2a37 | [
"MIT"
] | null | null | null | from http.client import HTTPResponse
from django.shortcuts import render
from django.http import HttpResponse
# Create your views here.
# def index(request):
# return HttpResponse("Hello World!")
def index(request):
return render(request, "hello/index.html")
def brian(request):
return HttpResponse("Hello... | 24.666667 | 57 | 0.706081 | 72 | 592 | 5.805556 | 0.347222 | 0.124402 | 0.179426 | 0.215311 | 0.119617 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165541 | 592 | 24 | 58 | 24.666667 | 0.846154 | 0.278716 | 0 | 0 | 0 | 0 | 0.137441 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.307692 | false | 0 | 0.230769 | 0.307692 | 0.846154 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
81d63e7ca9da71f50fffa4b00a77a421574650e4 | 347 | py | Python | main.py | soyoung97/MixText | 22993cd028a4223a54e138a89b53cd7978a5e38b | [
"MIT"
] | null | null | null | main.py | soyoung97/MixText | 22993cd028a4223a54e138a89b53cd7978a5e38b | [
"MIT"
] | null | null | null | main.py | soyoung97/MixText | 22993cd028a4223a54e138a89b53cd7978a5e38b | [
"MIT"
] | null | null | null | import os
os.system("pip install pytorch_transformers")
import nsml
print(nsml.DATASET_PATH)
os.system('python ./code/train.py --n-labeled 10 --data-path '+ nsml.DATASET_PATH + '/train/ --batch-size 4 --batch-size-u 8 --epochs 20 --val-iteration 1000 --lambda-u 1 --T 0.5 --alpha 16 --mix-layers-set 7 9 12 --lrmain 0.0... | 38.555556 | 249 | 0.706052 | 61 | 347 | 3.967213 | 0.754098 | 0.066116 | 0.123967 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104918 | 0.121037 | 347 | 8 | 250 | 43.375 | 0.688525 | 0 | 0 | 0 | 0 | 0.166667 | 0.708092 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.166667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
c4a20cea738e338abf0c6eb0710a2bbf72908f18 | 378 | py | Python | BlurDetection.py | samaritan-security/samaritan-backend | 3a4450e4a2e7a823d6d2fb1e982871ac0aa97744 | [
"WTFPL"
] | null | null | null | BlurDetection.py | samaritan-security/samaritan-backend | 3a4450e4a2e7a823d6d2fb1e982871ac0aa97744 | [
"WTFPL"
] | 59 | 2020-02-05T03:09:43.000Z | 2020-04-23T19:29:58.000Z | BlurDetection.py | samaritan-security/samaritan-backend | 3a4450e4a2e7a823d6d2fb1e982871ac0aa97744 | [
"WTFPL"
] | null | null | null | import cv2
def variance_of_laplacian(image):
return cv2.Laplacian(image, cv2.CV_64F).var()
"""
checks if an image is blurry
returns True if blurry, False otherwise
"""
def detect_blurry_image(image, threshold):
gray = cv2.cvtColor(image, cv2.COLOR_BGR2GRAY)
blur = variance_of_laplacian(image)
i... | 19.894737 | 50 | 0.708995 | 52 | 378 | 5 | 0.519231 | 0.161538 | 0.146154 | 0.184615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026403 | 0.198413 | 378 | 19 | 51 | 19.894737 | 0.831683 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0.111111 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
c4b0600fb893dd2bf03b8ad35d0df6623f45ef39 | 272 | py | Python | 02-current-time.py | KeithWilliamsGMIT/Emerging-Technologies-Python-Fundamentals | 5eae96818baa3bf10e091bfe39498efe237c9e7f | [
"MIT"
] | null | null | null | 02-current-time.py | KeithWilliamsGMIT/Emerging-Technologies-Python-Fundamentals | 5eae96818baa3bf10e091bfe39498efe237c9e7f | [
"MIT"
] | null | null | null | 02-current-time.py | KeithWilliamsGMIT/Emerging-Technologies-Python-Fundamentals | 5eae96818baa3bf10e091bfe39498efe237c9e7f | [
"MIT"
] | null | null | null | # Author: Keith Williams
# Date: 21/09/2017
from time import strftime
# This line prints the current date and time to the console in the format 01-10-2017 13:15:30.
# strftime must be imported from the time package before being used.
print(strftime("%d-%m-%Y %H:%M:%S")) | 34 | 94 | 0.731618 | 50 | 272 | 3.98 | 0.78 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09607 | 0.158088 | 272 | 8 | 95 | 34 | 0.772926 | 0.731618 | 0 | 0 | 0 | 0 | 0.246377 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 4 |
c4b0d7f117651d7395b65de65e764c7fea1c1e3d | 87 | py | Python | hiisi/__init__.py | ritvje/hiisi | 56f8abb3013296172c8c2919a33519856a903a81 | [
"MIT"
] | null | null | null | hiisi/__init__.py | ritvje/hiisi | 56f8abb3013296172c8c2919a33519856a903a81 | [
"MIT"
] | null | null | null | hiisi/__init__.py | ritvje/hiisi | 56f8abb3013296172c8c2919a33519856a903a81 | [
"MIT"
] | null | null | null | from .hiisi import HiisiHDF
from .odim import OdimPVOL, OdimCOMP
__version__ = "0.0.6"
| 21.75 | 36 | 0.770115 | 13 | 87 | 4.846154 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 0.137931 | 87 | 3 | 37 | 29 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.057471 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
c4b707a809f0ff9f343cd22eb8b5bddf218a75e6 | 656 | py | Python | tests/test_utils.py | munirjojoverge/rl_AD_urban_baselines | c17cb97fb6a1edd3134b340194e82f4c3ca4f065 | [
"MIT"
] | 6 | 2019-02-05T08:17:29.000Z | 2022-03-22T12:47:53.000Z | tests/test_utils.py | munirjojoverge/rl_AD_urban_baselines | c17cb97fb6a1edd3134b340194e82f4c3ca4f065 | [
"MIT"
] | null | null | null | tests/test_utils.py | munirjojoverge/rl_AD_urban_baselines | c17cb97fb6a1edd3134b340194e82f4c3ca4f065 | [
"MIT"
] | 1 | 2019-09-08T14:15:56.000Z | 2019-09-08T14:15:56.000Z | import numpy as np
from urban_AD_env.utils import rotated_rectangles_intersect
def test_rotated_rectangles_intersect():
assert rotated_rectangles_intersect(([12.86076812, 28.60182391], 5.0, 2.0, -0.4675779906495494),
([9.67753944, 28.90585412], 5.0, 2.0, -0.341701936447320... | 50.461538 | 100 | 0.625 | 105 | 656 | 3.742857 | 0.295238 | 0.045802 | 0.463104 | 0.050891 | 0.470738 | 0.445293 | 0.414758 | 0.414758 | 0.307888 | 0.223919 | 0 | 0.235741 | 0.198171 | 656 | 12 | 101 | 54.666667 | 0.511407 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.555556 | 1 | 0.111111 | true | 0 | 0.222222 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c4c2b89beca88decbb59d2f0d2ce782d1dc5da96 | 2,100 | py | Python | gen_methods.py | mweeden2/desert_game | aaf561d11687455a23982771315b15a9bf5b1a86 | [
"MIT"
] | null | null | null | gen_methods.py | mweeden2/desert_game | aaf561d11687455a23982771315b15a9bf5b1a86 | [
"MIT"
] | null | null | null | gen_methods.py | mweeden2/desert_game | aaf561d11687455a23982771315b15a9bf5b1a86 | [
"MIT"
] | null | null | null | # created by Matt Weeden
# 7/8/16
import classes as c
def printIntro():
print 'Welcome to the\n'
print '''__/\\\\\\\\\\\\\\\\\\\\\\\\_________________________________________________\
__________________________\n _\\/\\\\\\////////\\\\\\___________________________________\
__________________________________... | 38.181818 | 90 | 0.438571 | 119 | 2,100 | 4.411765 | 0.546218 | 0.026667 | 0.034286 | 0.038095 | 0.015238 | 0.015238 | 0.015238 | 0 | 0 | 0 | 0 | 0.010233 | 0.162381 | 2,100 | 54 | 91 | 38.888889 | 0.288232 | 0.044762 | 0 | 0.051282 | 0 | 0 | 0.736264 | 0.587912 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.025641 | null | null | 0.230769 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c4c33c445b5f51d288c06db4115d54abafa3991d | 352 | py | Python | entity_resolution/interfaces/IRecord.py | GeoJamesJones/ArcGIS-Senzing-Prototype | ebe7f1c3f516525f4bfbf5b4f1446e8c6612a67b | [
"MIT"
] | null | null | null | entity_resolution/interfaces/IRecord.py | GeoJamesJones/ArcGIS-Senzing-Prototype | ebe7f1c3f516525f4bfbf5b4f1446e8c6612a67b | [
"MIT"
] | null | null | null | entity_resolution/interfaces/IRecord.py | GeoJamesJones/ArcGIS-Senzing-Prototype | ebe7f1c3f516525f4bfbf5b4f1446e8c6612a67b | [
"MIT"
] | null | null | null | from __future__ import annotations
from abc import ABCMeta, abstractmethod
from typing import Dict, Any, List
class IRecord(metaclass=ABCMeta):
@abstractmethod
def to_dict(self) -> Dict[Any, Any]:
...
@abstractmethod
def to_json(self) -> str:
...
@abstractmethod
def to_list... | 18.526316 | 40 | 0.636364 | 40 | 352 | 5.425 | 0.475 | 0.235023 | 0.262673 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.252841 | 352 | 19 | 41 | 18.526316 | 0.825095 | 0 | 0 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.230769 | 0 | 0.538462 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
c4d859124d413014c3e68fa4b2d4e0363025ecc6 | 79 | py | Python | build_tests/python_opencv.py | AustinSchuh/971-Robot-Code | 99abc66fd2d899c0bdab338dc6f57dc5def9be8d | [
"Apache-2.0"
] | 39 | 2021-06-18T03:22:30.000Z | 2022-03-21T15:23:43.000Z | build_tests/python_opencv.py | AustinSchuh/971-Robot-Code | 99abc66fd2d899c0bdab338dc6f57dc5def9be8d | [
"Apache-2.0"
] | 10 | 2021-06-18T03:22:19.000Z | 2022-03-18T22:14:15.000Z | build_tests/python_opencv.py | AustinSchuh/971-Robot-Code | 99abc66fd2d899c0bdab338dc6f57dc5def9be8d | [
"Apache-2.0"
] | 4 | 2021-08-19T19:20:04.000Z | 2022-03-08T07:33:18.000Z | #!/usr/bin/python3
import cv2
if __name__ == '__main__':
cv2.SIFT_create()
| 11.285714 | 26 | 0.683544 | 11 | 79 | 4.090909 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044776 | 0.151899 | 79 | 6 | 27 | 13.166667 | 0.626866 | 0.21519 | 0 | 0 | 0 | 0 | 0.131148 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
c4f2275c8950f55ba51fa504b3d7b04b4200e057 | 170 | py | Python | hon/commands/clean.py | swquinn/hon | 333332029ee884a8822d38024659d5d7da64ff1a | [
"MIT"
] | null | null | null | hon/commands/clean.py | swquinn/hon | 333332029ee884a8822d38024659d5d7da64ff1a | [
"MIT"
] | 14 | 2019-06-23T01:49:55.000Z | 2021-02-22T01:26:51.000Z | hon/commands/clean.py | swquinn/hon | 333332029ee884a8822d38024659d5d7da64ff1a | [
"MIT"
] | null | null | null | import click
from ..cli import with_context
@click.command('clean', short_help="Cleans a book' output directories")
@with_context
def clean_command(ctx=None):
pass
| 18.888889 | 71 | 0.764706 | 25 | 170 | 5.04 | 0.76 | 0.174603 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129412 | 170 | 8 | 72 | 21.25 | 0.851351 | 0 | 0 | 0 | 0 | 0 | 0.223529 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.166667 | 0.333333 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 4 |
f219a6a5d2eba5cb99ad3a1f9f919f6e65e608c6 | 77 | py | Python | settings/channel_archiver/NIH.pressure_downstream_settings.py | bopopescu/Lauecollect | 60ae2b05ea8596ba0decf426e37aeaca0bc8b6be | [
"MIT"
] | null | null | null | settings/channel_archiver/NIH.pressure_downstream_settings.py | bopopescu/Lauecollect | 60ae2b05ea8596ba0decf426e37aeaca0bc8b6be | [
"MIT"
] | 1 | 2019-10-22T21:28:31.000Z | 2019-10-22T21:39:12.000Z | settings/channel_archiver/NIH.pressure_downstream_settings.py | bopopescu/Lauecollect | 60ae2b05ea8596ba0decf426e37aeaca0bc8b6be | [
"MIT"
] | 2 | 2019-06-06T15:06:46.000Z | 2020-07-20T02:03:22.000Z | filename = '//mx340hs/data/anfinrud_1903/Archive/NIH.pressure_downstream.txt' | 77 | 77 | 0.831169 | 10 | 77 | 6.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093333 | 0.025974 | 77 | 1 | 77 | 77 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0.820513 | 0.820513 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f2243459193cb30ca1ec87a1cec0d50174acfaea | 170 | py | Python | polliwog/tri/__init__.py | lace/polliwog | 7744ce171738e4739e391fcff4f4689d9f177196 | [
"BSD-2-Clause"
] | 18 | 2019-05-03T02:08:12.000Z | 2022-03-24T11:49:59.000Z | polliwog/tri/__init__.py | lace/polliwog | 7744ce171738e4739e391fcff4f4689d9f177196 | [
"BSD-2-Clause"
] | 76 | 2019-04-03T15:24:01.000Z | 2022-03-01T14:07:04.000Z | polliwog/tri/__init__.py | lace/polliwog | 7744ce171738e4739e391fcff4f4689d9f177196 | [
"BSD-2-Clause"
] | 3 | 2019-11-04T16:22:07.000Z | 2022-03-09T08:50:52.000Z | from . import functions as _functions
from .functions import * # noqa: F401,F403
from .quad_faces import quads_to_tris
__all__ = _functions.__all__ + ["quads_to_tris"]
| 28.333333 | 48 | 0.776471 | 24 | 170 | 4.875 | 0.541667 | 0.119658 | 0.188034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041096 | 0.141176 | 170 | 5 | 49 | 34 | 0.760274 | 0.088235 | 0 | 0 | 0 | 0 | 0.084967 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
1ef7c90725f50f509ebf7ce67bf02498f0dcedf7 | 181 | py | Python | src/server/__main__.py | ENDERZOMBI102/chatapp | 3f54e72a8d3b10457cf88ec5f87b2984cc84a51f | [
"MIT"
] | 1 | 2021-06-20T05:47:53.000Z | 2021-06-20T05:47:53.000Z | src/server/__main__.py | ENDERZOMBI102/chatapp | 3f54e72a8d3b10457cf88ec5f87b2984cc84a51f | [
"MIT"
] | null | null | null | src/server/__main__.py | ENDERZOMBI102/chatapp | 3f54e72a8d3b10457cf88ec5f87b2984cc84a51f | [
"MIT"
] | null | null | null | from sys import argv
from server.AServer import AServer
if '--old' in argv:
from server.server import Server
Server()
else:
AServer( websocket='--websocket' in argv ).Start()
| 16.454545 | 51 | 0.729282 | 26 | 181 | 5.076923 | 0.461538 | 0.121212 | 0.212121 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160221 | 181 | 10 | 52 | 18.1 | 0.868421 | 0 | 0 | 0 | 0 | 0 | 0.088398 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.428571 | 0 | 0.428571 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
48065a4ff80756ba525a0a9808129ee5012b319d | 224 | py | Python | experimentation/trap/statistics_calculator.py | GruppoPBDMNG-10/AIExam | 22fd4dad20bcff689deeae227f179267b92a60d8 | [
"MIT"
] | null | null | null | experimentation/trap/statistics_calculator.py | GruppoPBDMNG-10/AIExam | 22fd4dad20bcff689deeae227f179267b92a60d8 | [
"MIT"
] | 5 | 2018-09-24T13:13:19.000Z | 2018-09-24T18:34:22.000Z | experimentation/trap/statistics_calculator.py | GruppoPBDMNG-10/AIExam | 22fd4dad20bcff689deeae227f179267b92a60d8 | [
"MIT"
] | null | null | null | import experimentation.statistics.statistics as statistics
intersection = statistics.find_matches_from_file('result/experimentation/hmm/anomalous.json', 'result/experimentation/rnn/anomalous.json')
print(len(intersection)) | 44.8 | 138 | 0.852679 | 25 | 224 | 7.52 | 0.64 | 0.223404 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044643 | 224 | 5 | 139 | 44.8 | 0.878505 | 0 | 0 | 0 | 0 | 0 | 0.364444 | 0.364444 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
4810516c04a5fc1c2f18a86f01879ae7f2e15131 | 92 | py | Python | BOJ_Solved/BOJ-19698.py | CodingLeeSeungHoon/Python_Algorithm_TeamNote | 1e92986999b45aa9951e12e67b23062e410e9b36 | [
"MIT"
] | 7 | 2021-11-19T14:50:59.000Z | 2022-02-25T20:00:20.000Z | BOJ_Solved/BOJ-19698.py | CodingLeeSeungHoon/Python_Algorithm_TeamNote | 1e92986999b45aa9951e12e67b23062e410e9b36 | [
"MIT"
] | null | null | null | BOJ_Solved/BOJ-19698.py | CodingLeeSeungHoon/Python_Algorithm_TeamNote | 1e92986999b45aa9951e12e67b23062e410e9b36 | [
"MIT"
] | null | null | null | """
백준 19698번 : 헛간 청약
"""
N, W, H, L = map(int, input().split())
print(min(W//L * H//L, N)) | 15.333333 | 38 | 0.48913 | 19 | 92 | 2.368421 | 0.736842 | 0.088889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067568 | 0.195652 | 92 | 6 | 39 | 15.333333 | 0.540541 | 0.184783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
4816994d8585786c6c9791f101c25452477dc72a | 169 | py | Python | vc/manager/generation_result.py | very-meanly/vc | 41f63e8a8b159f3a49430bbee6872162de060901 | [
"MIT"
] | null | null | null | vc/manager/generation_result.py | very-meanly/vc | 41f63e8a8b159f3a49430bbee6872162de060901 | [
"MIT"
] | null | null | null | vc/manager/generation_result.py | very-meanly/vc | 41f63e8a8b159f3a49430bbee6872162de060901 | [
"MIT"
] | null | null | null | from vc.manager.base import Manager
from vc.model.generation_result import GenerationResult
class GenerationResultManager(Manager):
model_class = GenerationResult
| 24.142857 | 55 | 0.840237 | 19 | 169 | 7.368421 | 0.578947 | 0.085714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112426 | 169 | 6 | 56 | 28.166667 | 0.933333 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
48197fe7d2676b37c5b385a0395e386523f42d50 | 63 | py | Python | test/tutorial/scripts/api/logout_api.py | GPelayo/dcp-cli | d585fd8b4687f29bfd034242472b870d17ed1e50 | [
"MIT"
] | 8 | 2017-10-10T18:29:27.000Z | 2019-06-15T04:25:43.000Z | test/tutorial/scripts/api/logout_api.py | GPelayo/dcp-cli | d585fd8b4687f29bfd034242472b870d17ed1e50 | [
"MIT"
] | 440 | 2017-10-09T16:06:22.000Z | 2021-03-25T17:12:18.000Z | test/tutorial/scripts/api/logout_api.py | GPelayo/dcp-cli | d585fd8b4687f29bfd034242472b870d17ed1e50 | [
"MIT"
] | 10 | 2017-11-07T22:42:59.000Z | 2020-05-05T15:36:01.000Z | from hca.dss import DSSClient
dss = DSSClient()
dss.logout()
| 10.5 | 29 | 0.730159 | 9 | 63 | 5.111111 | 0.666667 | 0.521739 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15873 | 63 | 5 | 30 | 12.6 | 0.867925 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
484f03e9c4b7ff5aefbc6845368e72fc3dfe1209 | 114 | py | Python | tests/shunit/data/bad_i18n_newline_5.py | nicole331/TWLight | fab9002e76868f8a2ef36f9279c777de34243b2c | [
"MIT"
] | 67 | 2017-12-14T22:27:48.000Z | 2022-03-13T18:21:31.000Z | tests/shunit/data/bad_i18n_newline_5.py | nicole331/TWLight | fab9002e76868f8a2ef36f9279c777de34243b2c | [
"MIT"
] | 433 | 2017-03-24T22:51:23.000Z | 2022-03-31T19:36:22.000Z | tests/shunit/data/bad_i18n_newline_5.py | Mahuton/TWLight | 90b299d07b0479f21dc90e17b8d05f5a221b0de1 | [
"MIT"
] | 105 | 2017-06-23T03:53:41.000Z | 2022-03-30T17:24:29.000Z | # Single-quoted string is preceded and succeeded by newlines.
# Translators: This is a helpful comment.
_(
'5'
)
| 16.285714 | 61 | 0.736842 | 16 | 114 | 5.1875 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010638 | 0.175439 | 114 | 6 | 62 | 19 | 0.87234 | 0.868421 | 0 | 0 | 0 | 0 | 0.083333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4856168e71f578517034764f4b9110679f5820fe | 24 | py | Python | src/maho/modules/__init__.py | evangelos-ch/maho-bot | 458c3ed0e4cb4d8edd300441b2defbc481aaf3f3 | [
"MIT"
] | null | null | null | src/maho/modules/__init__.py | evangelos-ch/maho-bot | 458c3ed0e4cb4d8edd300441b2defbc481aaf3f3 | [
"MIT"
] | null | null | null | src/maho/modules/__init__.py | evangelos-ch/maho-bot | 458c3ed0e4cb4d8edd300441b2defbc481aaf3f3 | [
"MIT"
] | 1 | 2021-02-16T13:06:56.000Z | 2021-02-16T13:06:56.000Z | """Maho bot modules."""
| 12 | 23 | 0.583333 | 3 | 24 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 24 | 1 | 24 | 24 | 0.666667 | 0.708333 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4876b544334a9fdacdb07da711e4c0eb80787e3b | 339 | py | Python | tests/test_parse.py | fphammerle/duplitab | 8dcea2dbcb7f44405cdff24e24f598d338bdcea0 | [
"MIT"
] | 1 | 2021-02-24T11:45:49.000Z | 2021-02-24T11:45:49.000Z | tests/test_parse.py | fphammerle/duplitab | 8dcea2dbcb7f44405cdff24e24f598d338bdcea0 | [
"MIT"
] | null | null | null | tests/test_parse.py | fphammerle/duplitab | 8dcea2dbcb7f44405cdff24e24f598d338bdcea0 | [
"MIT"
] | null | null | null | import pytest
import datetime
import duplitab
@pytest.mark.parametrize(('duplicity_timestamp', 'expected'), [
['Tue Oct 11 11:02:01 2016', datetime.datetime(2016, 10, 11, 11, 2, 1)],
])
def test_parse_duplicity_timestamp(duplicity_timestamp, expected):
assert expected == duplitab._parse_duplicity_timestamp(du... | 30.818182 | 79 | 0.769912 | 43 | 339 | 5.860465 | 0.511628 | 0.357143 | 0.206349 | 0.253968 | 0.325397 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079734 | 0.112094 | 339 | 10 | 80 | 33.9 | 0.757475 | 0 | 0 | 0 | 0 | 0 | 0.150442 | 0 | 0 | 0 | 0 | 0 | 0.125 | 1 | 0.125 | false | 0 | 0.375 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
6f904b06f4d8b0199476081eeaa6c6a6c588158e | 98 | py | Python | test_cookiecutter_ali92hm/__main__.py | ali92hm/test-cookiecutter | 5fbfef57e7ea8ae8b826958cb1db21812cc8467e | [
"ISC"
] | null | null | null | test_cookiecutter_ali92hm/__main__.py | ali92hm/test-cookiecutter | 5fbfef57e7ea8ae8b826958cb1db21812cc8467e | [
"ISC"
] | null | null | null | test_cookiecutter_ali92hm/__main__.py | ali92hm/test-cookiecutter | 5fbfef57e7ea8ae8b826958cb1db21812cc8467e | [
"ISC"
] | null | null | null | from .cli import entrypoint
if __name__ == "__main__": # pragma: no cover
entrypoint.main()
| 19.6 | 46 | 0.693878 | 12 | 98 | 5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.193878 | 98 | 4 | 47 | 24.5 | 0.759494 | 0.163265 | 0 | 0 | 0 | 0 | 0.1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
6f92f4f38b2cf0fe2438ae66792a5537b2e53d3f | 30 | py | Python | version.py | iridiumcow/OoT-Randomizer | 3a5d2bebb2131e593f6611bd5c062ddd6fdac8ff | [
"MIT"
] | null | null | null | version.py | iridiumcow/OoT-Randomizer | 3a5d2bebb2131e593f6611bd5c062ddd6fdac8ff | [
"MIT"
] | null | null | null | version.py | iridiumcow/OoT-Randomizer | 3a5d2bebb2131e593f6611bd5c062ddd6fdac8ff | [
"MIT"
] | null | null | null | __version__ = '5.2.158 f.LUM'
| 15 | 29 | 0.666667 | 6 | 30 | 2.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192308 | 0.133333 | 30 | 1 | 30 | 30 | 0.423077 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
6fa1472d7ffbd2b29874a36ce2b115c7eb0c4881 | 120 | py | Python | biothings-hub/files/nde-hub/hub/dataload/sources/figshare/dumper.py | NIAID-Data-Ecosystem/nde-crawlers | c0aff7dc1625ece1e67d03ad56555da7dbdc4a11 | [
"Apache-2.0"
] | null | null | null | biothings-hub/files/nde-hub/hub/dataload/sources/figshare/dumper.py | NIAID-Data-Ecosystem/nde-crawlers | c0aff7dc1625ece1e67d03ad56555da7dbdc4a11 | [
"Apache-2.0"
] | null | null | null | biothings-hub/files/nde-hub/hub/dataload/sources/figshare/dumper.py | NIAID-Data-Ecosystem/nde-crawlers | c0aff7dc1625ece1e67d03ad56555da7dbdc4a11 | [
"Apache-2.0"
] | null | null | null | from hub.dataload.nde import NDEFileSystemDumper
class FigshareDumper(NDEFileSystemDumper):
SRC_NAME = "figshare"
| 20 | 48 | 0.808333 | 12 | 120 | 8 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 120 | 5 | 49 | 24 | 0.914286 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
6fa4dc608c43d4d875d4dbb6404a617e1898a215 | 169 | py | Python | FileStorage/utils/__init__.py | Thiefxt/FileStorage | db2882b2ea861f4412cb453edef6439501b13705 | [
"MIT"
] | 1 | 2020-07-15T10:02:40.000Z | 2020-07-15T10:02:40.000Z | FileStorage/utils/__init__.py | Thiefxt/FileStorage | db2882b2ea861f4412cb453edef6439501b13705 | [
"MIT"
] | null | null | null | FileStorage/utils/__init__.py | Thiefxt/FileStorage | db2882b2ea861f4412cb453edef6439501b13705 | [
"MIT"
] | null | null | null | """
@Author : xiaotao
@Email : 18773993654@163.com
@Lost modifid : 2020/4/24 10:02
@Filename : __init__.py.py
@Description :
@Software : PyCharm
""" | 21.125 | 32 | 0.609467 | 20 | 169 | 4.95 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195313 | 0.242604 | 169 | 8 | 33 | 21.125 | 0.578125 | 1.43787 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
6fa6d9568fc3d20a8fc6e092cfbe18e8adeb1122 | 134 | py | Python | brian2sampledevice/__init__.py | brian-team/brian2sampledevice | d4b4e932aff35b3350e22039b05fcb022623e5fc | [
"MIT"
] | null | null | null | brian2sampledevice/__init__.py | brian-team/brian2sampledevice | d4b4e932aff35b3350e22039b05fcb022623e5fc | [
"MIT"
] | null | null | null | brian2sampledevice/__init__.py | brian-team/brian2sampledevice | d4b4e932aff35b3350e22039b05fcb022623e5fc | [
"MIT"
] | null | null | null | from .device import SampleDevice
from .codeobject import SampleDeviceCodeObject
__all__ = ['SampleDevice', 'SampleDeviceCodeObject']
| 26.8 | 52 | 0.828358 | 11 | 134 | 9.727273 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097015 | 134 | 4 | 53 | 33.5 | 0.884298 | 0 | 0 | 0 | 0 | 0 | 0.253731 | 0.164179 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
6fb9c69f0b059e1e502f8dc0059898eb346e1f36 | 320 | py | Python | app.py | jero2rome/HelloWorld-Python | 67a4b600415e4c0011e4598efea874d0b49abd79 | [
"MIT"
] | null | null | null | app.py | jero2rome/HelloWorld-Python | 67a4b600415e4c0011e4598efea874d0b49abd79 | [
"MIT"
] | null | null | null | app.py | jero2rome/HelloWorld-Python | 67a4b600415e4c0011e4598efea874d0b49abd79 | [
"MIT"
] | null | null | null | course = "Python Programming"
print(course.upper())
print(course.lower())
print(course.title())
course = " Python Programming"
print(course)
print(course.strip())
print(course.find("Pro"))
print(course.find("pro"))
print(course.replace("P", "-"))
print("Programming" in course)
print("Programming" not in course)
| 18.823529 | 34 | 0.709375 | 41 | 320 | 5.536585 | 0.341463 | 0.387665 | 0.202643 | 0.246696 | 0.506608 | 0.207048 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 320 | 16 | 35 | 20 | 0.788194 | 0 | 0 | 0.166667 | 0 | 0 | 0.21875 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.833333 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
6fc8616e9f969ac9e3ee973ff4f5b06bdc7a38e6 | 17 | py | Python | pointcloud2raster/__version__.py | NorthArrowResearch/pointcloud2raster | 419d82c9a62947e0258e308d2812f745df09794d | [
"MIT"
] | null | null | null | pointcloud2raster/__version__.py | NorthArrowResearch/pointcloud2raster | 419d82c9a62947e0258e308d2812f745df09794d | [
"MIT"
] | null | null | null | pointcloud2raster/__version__.py | NorthArrowResearch/pointcloud2raster | 419d82c9a62947e0258e308d2812f745df09794d | [
"MIT"
] | null | null | null | __version__="0.3" | 17 | 17 | 0.764706 | 3 | 17 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 0 | 17 | 1 | 17 | 17 | 0.411765 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
6fd18ba88e62fdb096046d7f14533a962dedc716 | 283 | py | Python | mmrazor/models/architectures/components/backbones/__init__.py | HIT-cwh/mmrazor | 2dad24044d7f1dad88f20221f8fc071dd40fdd4f | [
"Apache-2.0"
] | 553 | 2021-12-23T11:43:35.000Z | 2022-03-31T01:04:20.000Z | mmrazor/models/architectures/components/backbones/__init__.py | HIT-cwh/mmrazor | 2dad24044d7f1dad88f20221f8fc071dd40fdd4f | [
"Apache-2.0"
] | 113 | 2021-12-23T12:09:06.000Z | 2022-03-30T10:13:42.000Z | mmrazor/models/architectures/components/backbones/__init__.py | HIT-cwh/mmrazor | 2dad24044d7f1dad88f20221f8fc071dd40fdd4f | [
"Apache-2.0"
] | 76 | 2021-12-23T11:48:39.000Z | 2022-03-29T11:24:35.000Z | # Copyright (c) OpenMMLab. All rights reserved.
from .darts_backbone import DartsBackbone
from .searchable_mobilenet import SearchableMobileNet
from .searchable_shufflenet_v2 import SearchableShuffleNetV2
__all__ = ['DartsBackbone', 'SearchableShuffleNetV2', 'SearchableMobileNet']
| 40.428571 | 76 | 0.844523 | 26 | 283 | 8.884615 | 0.653846 | 0.121212 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011628 | 0.088339 | 283 | 6 | 77 | 47.166667 | 0.883721 | 0.159011 | 0 | 0 | 0 | 0 | 0.228814 | 0.09322 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
d229bf33f366491dd645f2b26164b3b0a59e7d44 | 114 | py | Python | src/typeDefs/lineFlowSumm.py | nagasudhirpulla/wrldc_scada_mumbai_dashboard | bc107ef47568781b588316f0c5c0c0d2a08adac8 | [
"MIT"
] | null | null | null | src/typeDefs/lineFlowSumm.py | nagasudhirpulla/wrldc_scada_mumbai_dashboard | bc107ef47568781b588316f0c5c0c0d2a08adac8 | [
"MIT"
] | null | null | null | src/typeDefs/lineFlowSumm.py | nagasudhirpulla/wrldc_scada_mumbai_dashboard | bc107ef47568781b588316f0c5c0c0d2a08adac8 | [
"MIT"
] | null | null | null | from typing import TypedDict
class ILineFlowSumm(TypedDict):
inst: dict
maxFlow: dict
maxTime: dict
| 14.25 | 31 | 0.719298 | 13 | 114 | 6.307692 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.22807 | 114 | 7 | 32 | 16.285714 | 0.931818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
d2537e3317890ddaef34e1cff80e0e43d3fa3866 | 13,481 | py | Python | testsuite/conversion.py | buganini/bsdconv | 7830f4ebef9b04f9877a21f24a7705a48a4812c4 | [
"BSD-2-Clause"
] | 33 | 2015-01-25T12:04:04.000Z | 2021-12-12T23:16:55.000Z | testsuite/conversion.py | buganini/bsdconv | 7830f4ebef9b04f9877a21f24a7705a48a4812c4 | [
"BSD-2-Clause"
] | 14 | 2015-11-19T20:52:39.000Z | 2021-06-15T03:18:31.000Z | testsuite/conversion.py | buganini/bsdconv | 7830f4ebef9b04f9877a21f24a7705a48a4812c4 | [
"BSD-2-Clause"
] | 5 | 2016-07-27T15:30:39.000Z | 2020-07-06T11:52:15.000Z | # -*- coding: utf-8 -*-
import sys
import urllib
from bsdconv import Bsdconv
def bsdconv01(dt):
dt=dt.lstrip("0").upper()
if len(dt) & 1:
return "010"+dt
else:
return "01"+dt
def bnf(s):
return ",".join([bsdconv01(x) for x in s.strip().split(" ")])
iotest=[
["big5:utf-8","\xa5\x5c\x5c\xaf\xe0","功\能"],
["b... | 53.284585 | 350 | 0.656925 | 2,315 | 13,481 | 3.823326 | 0.198704 | 0.075924 | 0.097277 | 0.08451 | 0.484804 | 0.450006 | 0.361767 | 0.350921 | 0.345272 | 0.330697 | 0.000148 | 0.137888 | 0.059639 | 13,481 | 252 | 351 | 53.496032 | 0.557151 | 0.002596 | 0 | 0.098712 | 0 | 0.141631 | 0.67433 | 0.446057 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.055794 | 0.012876 | null | null | 0.060086 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
d279c195499d050dd18e9f8e03c43e9d1fc1fd2d | 7,716 | py | Python | pyy1/.pycharm_helpers/python_stubs/-1550516950/_ctypes.py | pyy1988/pyy_test1 | 6bea878409e658aa87441384419be51aaab061e7 | [
"Apache-2.0"
] | null | null | null | pyy1/.pycharm_helpers/python_stubs/-1550516950/_ctypes.py | pyy1988/pyy_test1 | 6bea878409e658aa87441384419be51aaab061e7 | [
"Apache-2.0"
] | null | null | null | pyy1/.pycharm_helpers/python_stubs/-1550516950/_ctypes.py | pyy1988/pyy_test1 | 6bea878409e658aa87441384419be51aaab061e7 | [
"Apache-2.0"
] | null | null | null | # encoding: utf-8
# module _ctypes
# from /usr/lib/python3.5/lib-dynload/_ctypes.cpython-35m-x86_64-linux-gnu.so
# by generator 1.145
""" Create and manipulate C compatible data types in Python. """
# no imports
# Variables with simple values
FUNCFLAG_CDECL = 1
FUNCFLAG_PYTHONAPI = 4
FUNCFLAG_USE_ERRNO = 8
FUNCFLAG_... | 27.459075 | 106 | 0.636729 | 938 | 7,716 | 5.004264 | 0.202559 | 0.127397 | 0.195995 | 0.205795 | 0.684278 | 0.633788 | 0.592458 | 0.550916 | 0.499361 | 0.489774 | 0 | 0.018484 | 0.242742 | 7,716 | 280 | 107 | 27.557143 | 0.784871 | 0.416796 | 0 | 0.597015 | 0 | 0 | 0.001274 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.343284 | false | 0.320896 | 0 | 0 | 0.462687 | 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 | 0 | 0 | 0 | 4 |
96736097d0c8c249aee5be77f87a2ac3b77a5f45 | 44 | py | Python | name.py | dachuanz/crash-course | f7068e3ea502c1859e01f81772eafb179e5d2536 | [
"MIT"
] | null | null | null | name.py | dachuanz/crash-course | f7068e3ea502c1859e01f81772eafb179e5d2536 | [
"MIT"
] | null | null | null | name.py | dachuanz/crash-course | f7068e3ea502c1859e01f81772eafb179e5d2536 | [
"MIT"
] | null | null | null | name = "ada lovelace"
print(name.title())
| 14.666667 | 22 | 0.659091 | 6 | 44 | 4.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159091 | 44 | 2 | 23 | 22 | 0.783784 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
968244c4e4821aa3176a5163d517e2a86b8ed427 | 98 | py | Python | example_app/core/models/input.py | dazza-codes/serverless-fast-api | c4cdce62326a22778157a8555b7cdaafc2519b8d | [
"MIT"
] | 2 | 2021-01-22T12:27:59.000Z | 2021-09-09T14:54:11.000Z | example_app/core/models/input.py | dazza-codes/serverless-fast-api | c4cdce62326a22778157a8555b7cdaafc2519b8d | [
"MIT"
] | 4 | 2020-05-03T01:54:53.000Z | 2021-01-21T18:20:27.000Z | example_app/core/models/input.py | dazza-codes/serverless-fast-api | c4cdce62326a22778157a8555b7cdaafc2519b8d | [
"MIT"
] | 1 | 2021-09-09T14:49:54.000Z | 2021-09-09T14:49:54.000Z | from pydantic import BaseModel
class InputExample(BaseModel):
a: int = ...
b: int = ...
| 14 | 30 | 0.622449 | 11 | 98 | 5.545455 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.244898 | 98 | 6 | 31 | 16.333333 | 0.824324 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
96897393cb06471fec8c0393bde8aeb577d2894c | 228 | py | Python | pyrez/exceptions/IdOrAuthEmpty.py | CLeendert/Pyrez | 598d72d8b6bb9484f0c42c6146a262817332c666 | [
"MIT"
] | 25 | 2018-07-26T02:32:14.000Z | 2021-09-20T03:26:17.000Z | pyrez/exceptions/IdOrAuthEmpty.py | CLeendert/Pyrez | 598d72d8b6bb9484f0c42c6146a262817332c666 | [
"MIT"
] | 93 | 2018-08-26T11:44:25.000Z | 2022-03-28T08:22:18.000Z | pyrez/exceptions/IdOrAuthEmpty.py | CLeendert/Pyrez | 598d72d8b6bb9484f0c42c6146a262817332c666 | [
"MIT"
] | 13 | 2018-09-05T09:38:07.000Z | 2021-08-16T04:39:41.000Z | from .PyrezException import PyrezException
class IdOrAuthEmpty(PyrezException):
"""Raises an error that the current Credentials is invalid or missing"""
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
| 38 | 73 | 0.763158 | 27 | 228 | 6.148148 | 0.814815 | 0.120482 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118421 | 228 | 5 | 74 | 45.6 | 0.825871 | 0.289474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
9697bf800b99049dd85751a04350650f26e3d26b | 293 | py | Python | deeplab_resnet/__init__.py | tramper2/SIGGRAPH18SSS | 9bf22fa242044edfcf11cc4a58b93c63fcc71ff0 | [
"MIT"
] | 390 | 2018-07-30T08:41:49.000Z | 2022-03-29T15:44:13.000Z | deeplab_resnet/__init__.py | tramper2/SIGGRAPH18SSS | 9bf22fa242044edfcf11cc4a58b93c63fcc71ff0 | [
"MIT"
] | 20 | 2018-08-15T14:51:29.000Z | 2020-04-21T09:49:49.000Z | deeplab_resnet/__init__.py | tramper2/SIGGRAPH18SSS | 9bf22fa242044edfcf11cc4a58b93c63fcc71ff0 | [
"MIT"
] | 109 | 2018-08-04T05:58:23.000Z | 2021-10-17T12:02:29.000Z | from .model import DeepLabResNetModel
from .hc_deeplab import HyperColumn_Deeplabv2
from .image_reader import ImageReader, read_data_list, get_indicator_mat, get_batch_1chunk, read_an_image_from_disk, tf_wrap_get_patch, get_batch
from .utils import decode_labels, inv_preprocess, prepare_label | 73.25 | 145 | 0.880546 | 44 | 293 | 5.409091 | 0.704545 | 0.067227 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007407 | 0.078498 | 293 | 4 | 146 | 73.25 | 0.874074 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
96a3b55fdb3ad0865f22a54baf973a421e94d7be | 10,713 | py | Python | MS-thesis/excel-format/sir/Updated/New folder/test.py | iffishells/Pushto-TTS-FYP | 7ed3a180ba4c1e609ae5aa5e76bfd093a3d3d140 | [
"Apache-2.0"
] | 2 | 2021-12-06T04:28:18.000Z | 2021-12-20T03:33:00.000Z | MS-thesis/excel-format/sir/Updated/New folder/test.py | iffishells/Pushto-TTS-FYP | 7ed3a180ba4c1e609ae5aa5e76bfd093a3d3d140 | [
"Apache-2.0"
] | null | null | null | MS-thesis/excel-format/sir/Updated/New folder/test.py | iffishells/Pushto-TTS-FYP | 7ed3a180ba4c1e609ae5aa5e76bfd093a3d3d140 | [
"Apache-2.0"
] | 1 | 2021-12-29T16:44:59.000Z | 2021-12-29T16:44:59.000Z | import xlrd
import pandas as pd
from openpyxl import load_workbook
from xlrd import open_workbook
import nltk
from nltk.tree import Tree
from nltk.parse.generate import generate
from nltk.tree import *
import os
from nltk.tokenize import word_tokenize
from nltk.tokenize import sent_tokenize
import xml.etree.... | 31.508824 | 576 | 0.477364 | 1,628 | 10,713 | 3.128378 | 0.120393 | 0.018457 | 0.044178 | 0.043393 | 0.604555 | 0.585117 | 0.568035 | 0.524249 | 0.501669 | 0.469075 | 0 | 0.20139 | 0.301503 | 10,713 | 339 | 577 | 31.60177 | 0.47922 | 0.655839 | 0 | 0.543689 | 1 | 0 | 0.672831 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.213592 | 0 | 0.213592 | 0.009709 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
96b5076f3752a0f19a06b6d629287742be1b298b | 414 | py | Python | YorForger/modules/redis/afk_redis.py | Voidxtoxic/kita | b2a3007349727280e149dcca017413d7dc2e7648 | [
"MIT"
] | null | null | null | YorForger/modules/redis/afk_redis.py | Voidxtoxic/kita | b2a3007349727280e149dcca017413d7dc2e7648 | [
"MIT"
] | null | null | null | YorForger/modules/redis/afk_redis.py | Voidxtoxic/kita | b2a3007349727280e149dcca017413d7dc2e7648 | [
"MIT"
] | null | null | null |
from YorForger import REDIS
# AFK
def is_user_afk(userid):
rget = REDIS.get(f"is_afk_{userid}")
return bool(rget)
def start_afk(userid, reason):
REDIS.set(f"is_afk_{userid}", reason)
def afk_reason(userid):
return strb(REDIS.get(f"is_afk_{userid}"))
def end_afk(userid):
REDIS.delete(f"is_af... | 15.333333 | 46 | 0.695652 | 65 | 414 | 4.2 | 0.369231 | 0.230769 | 0.087912 | 0.175824 | 0.234432 | 0.14652 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 414 | 26 | 47 | 15.923077 | 0.798246 | 0.02657 | 0 | 0 | 0 | 0 | 0.150376 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.384615 | false | 0 | 0.076923 | 0.153846 | 0.769231 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
96b9a2d50c1e158d5bd73be619a6523cec7b4cfa | 45,634 | py | Python | arraytool_rc.py | zinka/arraytool_gui | c1ba763e170f7efde99414a29946410c4994e924 | [
"BSD-3-Clause"
] | 11 | 2017-04-20T20:08:04.000Z | 2022-03-29T22:30:24.000Z | arraytool_rc.py | zinka/arraytool_gui | c1ba763e170f7efde99414a29946410c4994e924 | [
"BSD-3-Clause"
] | null | null | null | arraytool_rc.py | zinka/arraytool_gui | c1ba763e170f7efde99414a29946410c4994e924 | [
"BSD-3-Clause"
] | 7 | 2018-01-28T12:59:45.000Z | 2022-03-19T12:34:25.000Z | # -*- coding: utf-8 -*-
# Resource object code
#
# Created by: The Resource Compiler for PyQt4 (Qt v4.8.7)
#
# WARNING! All changes made in this file will be lost!
from PySide import QtCore
qt_resource_data = "\
\x00\x00\x03\x97\
\x89\
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\
\x00\x00\x16\x0... | 59.887139 | 129 | 0.725884 | 10,978 | 45,634 | 3.015759 | 0.026781 | 0.052738 | 0.038602 | 0.013049 | 0.137101 | 0.130214 | 0.127858 | 0.121334 | 0.113903 | 0.10892 | 0 | 0.325711 | 0.017794 | 45,634 | 761 | 130 | 59.965834 | 0.412922 | 0.003309 | 0 | 0.087015 | 0 | 0.888889 | 0 | 0 | 0 | 1 | 0.000176 | 0 | 0 | 1 | 0.002677 | false | 0 | 0.001339 | 0 | 0.004016 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
96bfcdd0287b23d40e6c42cd64034c753cbc7300 | 133 | py | Python | sample4.py | vswamy/python | 51835bf7cfec894059a41f2929509026fe611119 | [
"Apache-2.0"
] | null | null | null | sample4.py | vswamy/python | 51835bf7cfec894059a41f2929509026fe611119 | [
"Apache-2.0"
] | null | null | null | sample4.py | vswamy/python | 51835bf7cfec894059a41f2929509026fe611119 | [
"Apache-2.0"
] | null | null | null | #Learning Python
import os
list = [1,2,3]
##using list as a queue
print(list)
list.pop(0)
print(list)
list.append(5)
print(list)
| 9.5 | 23 | 0.691729 | 25 | 133 | 3.68 | 0.68 | 0.293478 | 0.282609 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044643 | 0.157895 | 133 | 13 | 24 | 10.230769 | 0.776786 | 0.270677 | 0 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 0.428571 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
736d59ff49e38e22e2651e066d945a62407f38ec | 73 | py | Python | CodeWars/8 Kyu/Price of Mangoes.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | CodeWars/8 Kyu/Price of Mangoes.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | CodeWars/8 Kyu/Price of Mangoes.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | def mango(quantity, price):
return (quantity - quantity // 3) * price | 36.5 | 45 | 0.671233 | 9 | 73 | 5.444444 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016949 | 0.191781 | 73 | 2 | 45 | 36.5 | 0.813559 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
738d3ae3312a3ea39b2dd401e3c5ee88d3d77ab6 | 18,859 | py | Python | 264_nth_ugly_number.py | gengwg/leetcode | 0af5256ec98149ef5863f3bba78ed1e749650f6e | [
"Apache-2.0"
] | 2 | 2018-04-24T19:17:40.000Z | 2018-04-24T19:33:52.000Z | 264_nth_ugly_number.py | gengwg/leetcode | 0af5256ec98149ef5863f3bba78ed1e749650f6e | [
"Apache-2.0"
] | null | null | null | 264_nth_ugly_number.py | gengwg/leetcode | 0af5256ec98149ef5863f3bba78ed1e749650f6e | [
"Apache-2.0"
] | 3 | 2020-06-17T05:48:52.000Z | 2021-01-02T06:08:25.000Z | # 264. Ugly Number II
#
# Write a program to check whether a given number is an ugly number.
#
# Ugly numbers are positive numbers whose prime factors only include
# 2, 3, 5. For example, 6, 8 are ugly while 14 is not ugly since it
# includes another prime factor 7.
#
# Note that 1 is typically treated as an ugly numbe... | 162.577586 | 15,773 | 0.74198 | 2,090 | 18,859 | 6.690431 | 0.877512 | 0.004291 | 0.005721 | 0.006007 | 0.010727 | 0.009011 | 0.005292 | 0.005292 | 0.005292 | 0 | 0 | 0.78048 | 0.149743 | 18,859 | 115 | 15,774 | 163.991304 | 0.09155 | 0.065963 | 0 | 0.111111 | 0 | 0 | 0.000457 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.092593 | false | 0 | 0 | 0 | 0.277778 | 0.018519 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
73a657e874819eb1f55d87b508eba3c94d916b59 | 144 | py | Python | src/lib/__init__.py | gfjiangly/RCNet | ef6860f23943eb8e21fdec565019f2f8eda17673 | [
"MIT"
] | null | null | null | src/lib/__init__.py | gfjiangly/RCNet | ef6860f23943eb8e21fdec565019f2f8eda17673 | [
"MIT"
] | null | null | null | src/lib/__init__.py | gfjiangly/RCNet | ef6860f23943eb8e21fdec565019f2f8eda17673 | [
"MIT"
] | null | null | null | # -*- encoding:utf-8 -*-
# @Time : 2019/10/23 15:45
# @Author : gfjiang
# @Site :
# @File : __init__.py
# @Software: PyCharm
| 18 | 30 | 0.513889 | 17 | 144 | 4.117647 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127451 | 0.291667 | 144 | 7 | 31 | 20.571429 | 0.558824 | 0.854167 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
73db434f1dcc511c2a6170ca3b1d4a1d255f07e3 | 87 | py | Python | src/cms/models/offers/__init__.py | mckinly/cms-django | c9995a3bfab6ee2d02f2406a7f83cf91b7ccfcca | [
"Apache-2.0"
] | 14 | 2020-12-03T07:56:30.000Z | 2021-10-30T13:09:50.000Z | src/cms/models/offers/__init__.py | Integreat/integreat-cms | b3f80964a6182d714f26ac229342b47e1c7c4f29 | [
"Apache-2.0"
] | 367 | 2020-11-20T00:34:20.000Z | 2021-12-14T15:20:42.000Z | src/cms/models/offers/__init__.py | mckinly/cms-django | c9995a3bfab6ee2d02f2406a7f83cf91b7ccfcca | [
"Apache-2.0"
] | 3 | 2021-02-09T18:46:52.000Z | 2021-12-07T10:41:39.000Z | """
This package contains :class:`~cms.models.offers.offer_template.OfferTemplate`
"""
| 21.75 | 78 | 0.758621 | 10 | 87 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 87 | 3 | 79 | 29 | 0.802469 | 0.896552 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
73febbee1eb35f8161409705d1117c1808557690 | 3,683 | py | Python | API/models/models.py | Rkanehisa/Stone_Projeto | b022cc7031ba2c3b29181df2720197ca9edc1ab3 | [
"MIT"
] | null | null | null | API/models/models.py | Rkanehisa/Stone_Projeto | b022cc7031ba2c3b29181df2720197ca9edc1ab3 | [
"MIT"
] | null | null | null | API/models/models.py | Rkanehisa/Stone_Projeto | b022cc7031ba2c3b29181df2720197ca9edc1ab3 | [
"MIT"
] | null | null | null | from API.db import db
from datetime import datetime
from passlib.apps import custom_app_context as pwd_context
class User(db.Model):
__tablename__ = "users"
def __init__(self, username, password):
self.username = username
self.password = pwd_context.hash(password)
self.limit = 0
... | 31.211864 | 114 | 0.65653 | 505 | 3,683 | 4.59604 | 0.168317 | 0.06592 | 0.038776 | 0.032745 | 0.337785 | 0.271866 | 0.244722 | 0.139595 | 0.139595 | 0.139595 | 0 | 0.003145 | 0.222916 | 3,683 | 117 | 115 | 31.478632 | 0.807827 | 0.010589 | 0 | 0.294118 | 0 | 0 | 0.040362 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.258824 | false | 0.070588 | 0.035294 | 0.152941 | 0.611765 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
fb64c2c423679d3b9a605145467c5cb4184c77b4 | 443 | py | Python | stackflowCrawl/spiders/stackoverflow/constants/consult.py | matheuslins/stackflowCrawl | b6adacc29bfc2e6210a24968f691a54854952b2e | [
"MIT"
] | null | null | null | stackflowCrawl/spiders/stackoverflow/constants/consult.py | matheuslins/stackflowCrawl | b6adacc29bfc2e6210a24968f691a54854952b2e | [
"MIT"
] | 2 | 2021-03-31T19:47:59.000Z | 2021-12-13T20:41:06.000Z | stackflowCrawl/spiders/stackoverflow/constants/consult.py | matheuslins/stackflowCrawl | b6adacc29bfc2e6210a24968f691a54854952b2e | [
"MIT"
] | null | null | null |
XPAHS_CONSULT = {
'jobs_urls': '//div[contains(@class, "listResults")]//div[contains(@data-jobid, "")]//h2//a/@href',
'results': '//span[@class="description fc-light fs-body1"]//text()',
'pagination_indicator': '//a[contains(@class, "s-pagination--item")][last()]//span[contains(text(), "next")]',
'pagi... | 44.3 | 114 | 0.629797 | 53 | 443 | 5.169811 | 0.603774 | 0.142336 | 0.10219 | 0.109489 | 0.240876 | 0.240876 | 0.240876 | 0 | 0 | 0 | 0 | 0.004963 | 0.090293 | 443 | 9 | 115 | 49.222222 | 0.674938 | 0 | 0 | 0 | 0 | 0.285714 | 0.809955 | 0.404977 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
fb71ff02d4840f857aab0f05feb1b65683b1dfad | 88 | py | Python | software_engineering-project/project/admin.py | mahdiieh/software_engineering_PROJECT | f0c40ccf0452f6da83fbb253050848b49c4f6153 | [
"MIT"
] | null | null | null | software_engineering-project/project/admin.py | mahdiieh/software_engineering_PROJECT | f0c40ccf0452f6da83fbb253050848b49c4f6153 | [
"MIT"
] | null | null | null | software_engineering-project/project/admin.py | mahdiieh/software_engineering_PROJECT | f0c40ccf0452f6da83fbb253050848b49c4f6153 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Movie
admin.site.register(Movie)
| 14.666667 | 32 | 0.806818 | 13 | 88 | 5.461538 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 88 | 5 | 33 | 17.6 | 0.922078 | 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 | 0 | 0 | 0 | 4 |
fb886601d83ea5836e86da12edc2cb8f001f8166 | 382 | py | Python | radiomicsfeatureextractionpipeline/backend/src/logic/entities/ct_series.py | Maastro-CDS-Imaging-Group/SQLite4Radiomics | e3a7afc181eec0fe04c18da00edc3772064e6758 | [
"Apache-2.0"
] | null | null | null | radiomicsfeatureextractionpipeline/backend/src/logic/entities/ct_series.py | Maastro-CDS-Imaging-Group/SQLite4Radiomics | e3a7afc181eec0fe04c18da00edc3772064e6758 | [
"Apache-2.0"
] | 6 | 2021-06-09T19:39:27.000Z | 2021-09-30T16:41:40.000Z | radiomicsfeatureextractionpipeline/backend/src/logic/entities/ct_series.py | Maastro-CDS-Imaging-Group/SQLite4Radiomics | e3a7afc181eec0fe04c18da00edc3772064e6758 | [
"Apache-2.0"
] | null | null | null | """
This module is used to represent a CTSeries object from the DICOMSeries table in the database.
Inherits SeriesWithImageSlices module.
"""
from logic.entities.series_with_image_slices import SeriesWithImageSlices
class CtSeries(SeriesWithImageSlices):
"""
This class stores all information about a CT-series... | 29.384615 | 99 | 0.780105 | 48 | 382 | 6.145833 | 0.645833 | 0.047458 | 0.122034 | 0.155932 | 0.244068 | 0.244068 | 0.244068 | 0 | 0 | 0 | 0 | 0 | 0.164921 | 382 | 12 | 100 | 31.833333 | 0.924765 | 0.599476 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
fbac3a021640dbdfd78f68fea5a2c6021008a044 | 88 | py | Python | Source/RainyDay_utilities_Py3/__init__.py | Dewberry/RainyDay2 | ed3206b1d81ca4ffded4ed79bf156e4b8d87d143 | [
"MIT"
] | 12 | 2019-03-24T02:59:51.000Z | 2021-11-05T07:45:08.000Z | Source/RainyDay_utilities_Py3/__init__.py | Dewberry/RainyDay2 | ed3206b1d81ca4ffded4ed79bf156e4b8d87d143 | [
"MIT"
] | null | null | null | Source/RainyDay_utilities_Py3/__init__.py | Dewberry/RainyDay2 | ed3206b1d81ca4ffded4ed79bf156e4b8d87d143 | [
"MIT"
] | 13 | 2017-08-10T17:18:16.000Z | 2022-02-10T00:08:47.000Z | # -*- coding: utf-8 -*-
"""
Created on Fri Feb 6 17:38:00 2015
@author: dbwrigh3
"""
| 11 | 35 | 0.568182 | 14 | 88 | 3.571429 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188406 | 0.215909 | 88 | 7 | 36 | 12.571429 | 0.536232 | 0.875 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
fbc4f59dc823de1070c620320ec7ff2dee6fbd35 | 135 | py | Python | du/ps_utils.py | diogo149/doo | d83a1715fb9d4e5eac9f5d3d384a45cfc26fec2f | [
"MIT"
] | 1 | 2016-11-17T06:34:39.000Z | 2016-11-17T06:34:39.000Z | du/ps_utils.py | diogo149/doo | d83a1715fb9d4e5eac9f5d3d384a45cfc26fec2f | [
"MIT"
] | null | null | null | du/ps_utils.py | diogo149/doo | d83a1715fb9d4e5eac9f5d3d384a45cfc26fec2f | [
"MIT"
] | null | null | null | import os
import psutil
import time
def process_time():
p = psutil.Process(os.getpid())
return time.time() - p.create_time()
| 15 | 40 | 0.688889 | 20 | 135 | 4.55 | 0.5 | 0.10989 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185185 | 135 | 8 | 41 | 16.875 | 0.827273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.5 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
837ecef31551741e285f87a84d5925f220afb694 | 2,045 | py | Python | jmetal/core/operator.py | LuckysonKhaidem/ProjectAlpha | e4b4779a8968a83f1e8add3490a4d2c4ad145d55 | [
"MIT"
] | 1 | 2020-05-26T18:57:31.000Z | 2020-05-26T18:57:31.000Z | jmetal/core/operator.py | LuckysonKhaidem/ProjectAlpha | e4b4779a8968a83f1e8add3490a4d2c4ad145d55 | [
"MIT"
] | null | null | null | jmetal/core/operator.py | LuckysonKhaidem/ProjectAlpha | e4b4779a8968a83f1e8add3490a4d2c4ad145d55 | [
"MIT"
] | 2 | 2019-01-08T11:52:52.000Z | 2020-05-25T13:21:26.000Z | from abc import ABCMeta, abstractmethod
from typing import TypeVar, Generic, List
S = TypeVar('S')
R = TypeVar('R')
"""
.. module:: Operator
:platform: Unix, Windows
:synopsis: Templates for operators.
.. moduleauthor:: Antonio J. Nebro <antonio@lcc.uma.es>
"""
class Operator(Generic[S, R]):
""" Class re... | 21.989247 | 90 | 0.627873 | 223 | 2,045 | 5.600897 | 0.273543 | 0.122498 | 0.100881 | 0.089672 | 0.671737 | 0.671737 | 0.646918 | 0.646918 | 0.646918 | 0.646918 | 0 | 0.005295 | 0.261125 | 2,045 | 92 | 91 | 22.228261 | 0.82131 | 0.071394 | 0 | 0.811321 | 0 | 0 | 0.090645 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.226415 | false | 0.188679 | 0.037736 | 0 | 0.415094 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
838c4a8c221ca4daa94ec9e1d608b97fed7bdb05 | 110 | py | Python | cmsplugin_markdown/apps.py | glomium/cmstemplate | 6d51a6d97cf5a132e41ea6d2404bdfedf9edf25c | [
"BSD-3-Clause"
] | null | null | null | cmsplugin_markdown/apps.py | glomium/cmstemplate | 6d51a6d97cf5a132e41ea6d2404bdfedf9edf25c | [
"BSD-3-Clause"
] | null | null | null | cmsplugin_markdown/apps.py | glomium/cmstemplate | 6d51a6d97cf5a132e41ea6d2404bdfedf9edf25c | [
"BSD-3-Clause"
] | null | null | null | from django.apps import AppConfig
class CmspluginMarkdownConfig(AppConfig):
name = 'cmsplugin_markdown'
| 18.333333 | 41 | 0.8 | 11 | 110 | 7.909091 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 110 | 5 | 42 | 22 | 0.915789 | 0 | 0 | 0 | 0 | 0 | 0.163636 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
83b36d8e12e62551ee0f6bc0e1772654ff4d0f33 | 232 | py | Python | comment/admin.py | Samurai-XHe/myblog | c9e182b84c3cb06b3207e7359f0a4d352c28d043 | [
"MIT"
] | 1 | 2018-09-25T09:11:17.000Z | 2018-09-25T09:11:17.000Z | comment/admin.py | Samurai-XHe/myblog | c9e182b84c3cb06b3207e7359f0a4d352c28d043 | [
"MIT"
] | null | null | null | comment/admin.py | Samurai-XHe/myblog | c9e182b84c3cb06b3207e7359f0a4d352c28d043 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Comment
@admin.register(Comment)
class CommentAdmin(admin.ModelAdmin):
list_display = ('id', 'content_object', 'text', 'comment_time', 'user', 'root', 'parent', 'reply_to')
| 29 | 105 | 0.728448 | 29 | 232 | 5.689655 | 0.793103 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116379 | 232 | 7 | 106 | 33.142857 | 0.804878 | 0 | 0 | 0 | 0 | 0 | 0.232759 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
83c27bbb12a53e327e73c5820df10eeefe5bccca | 239 | py | Python | examples/django/015_deploy_app/project/example/views.py | HalfBottleOfMind/website | 9bc83f11127ebb4f65124f794a7138373c95ab81 | [
"Apache-2.0"
] | 12 | 2020-09-08T03:33:43.000Z | 2021-09-03T12:31:38.000Z | examples/django/015_deploy_app/project/example/views.py | HalfBottleOfMind/website | 9bc83f11127ebb4f65124f794a7138373c95ab81 | [
"Apache-2.0"
] | 39 | 2021-01-29T16:11:45.000Z | 2021-12-08T08:34:27.000Z | examples/django/015_deploy_app/project/example/views.py | HalfBottleOfMind/website | 9bc83f11127ebb4f65124f794a7138373c95ab81 | [
"Apache-2.0"
] | 23 | 2020-09-07T14:42:39.000Z | 2021-12-07T20:41:29.000Z | from rest_framework import viewsets
from .models import Label
from .serizalizers import LabelSerializer
class LabelViewSet(viewsets.ModelViewSet):
queryset = Label.objects.all().order_by('id')
serializer_class = LabelSerializer
| 23.9 | 49 | 0.799163 | 27 | 239 | 6.962963 | 0.703704 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129707 | 239 | 9 | 50 | 26.555556 | 0.903846 | 0 | 0 | 0 | 0 | 0 | 0.008368 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
83e465c1f4e10369e60b79f24679537b6a23af68 | 189 | py | Python | pyradex/tests/setup_package_data.py | SpacialTree/pyradex | 722f9fdc45ff080cdcb151e37aa7075fab548f68 | [
"BSD-3-Clause"
] | 12 | 2016-01-26T13:39:56.000Z | 2021-09-01T07:38:04.000Z | pyradex/tests/setup_package_data.py | SpacialTree/pyradex | 722f9fdc45ff080cdcb151e37aa7075fab548f68 | [
"BSD-3-Clause"
] | 27 | 2015-05-29T16:01:31.000Z | 2022-01-31T23:41:36.000Z | pyradex/tests/setup_package_data.py | SpacialTree/pyradex | 722f9fdc45ff080cdcb151e37aa7075fab548f68 | [
"BSD-3-Clause"
] | 13 | 2015-01-13T10:40:50.000Z | 2022-01-25T22:24:46.000Z | # Licensed under a 3-clause BSD style license - see LICENSE.rst
import os
def get_package_data():
paths_test = [os.path.join('data', '*.out')]
return {'pyradex.tests': paths_test}
| 27 | 63 | 0.693122 | 29 | 189 | 4.37931 | 0.827586 | 0.141732 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006329 | 0.164021 | 189 | 6 | 64 | 31.5 | 0.797468 | 0.322751 | 0 | 0 | 0 | 0 | 0.174603 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
83e5b68657474d465d5e1fcc4797976830c9d62f | 100 | py | Python | cfpland_bot/exceptions/__init__.py | jonatasbaldin/cfpland-telegram-bot | fdd846240705ff6ce7705413336f6d7169a2e7fc | [
"MIT"
] | 3 | 2019-04-23T14:16:11.000Z | 2019-04-24T06:21:10.000Z | cfpland_bot/exceptions/__init__.py | jonatasbaldin/cfpland-telegram-bot | fdd846240705ff6ce7705413336f6d7169a2e7fc | [
"MIT"
] | 2 | 2020-07-17T14:53:16.000Z | 2021-05-09T21:42:43.000Z | cfpland_bot/exceptions/__init__.py | jonatasbaldin/cfpland-telegram-bot | fdd846240705ff6ce7705413336f6d7169a2e7fc | [
"MIT"
] | null | null | null | from .exceptions import ( # noqa: F401
MissingCFPAttributes,
MissingEnvironmentVariable,
)
| 20 | 39 | 0.74 | 7 | 100 | 10.571429 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 0.19 | 100 | 4 | 40 | 25 | 0.876543 | 0.1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
83e959ba13c92777006cc78510ef1401b37ed85b | 633 | py | Python | src/dagos/platform/__init__.py | DAG-OS/dagos | ac663ecf1cb9abe12669136e2b2e22b936ec88b5 | [
"MIT"
] | null | null | null | src/dagos/platform/__init__.py | DAG-OS/dagos | ac663ecf1cb9abe12669136e2b2e22b936ec88b5 | [
"MIT"
] | 8 | 2022-02-20T15:43:03.000Z | 2022-03-27T19:04:16.000Z | src/dagos/platform/__init__.py | DAG-OS/dagos | ac663ecf1cb9abe12669136e2b2e22b936ec88b5 | [
"MIT"
] | null | null | null | import dagos.platform.platform_utils as platform_utils
from .command_runner import CommandRunner
from .command_runner import ContainerCommandRunner
from .command_runner import LocalCommandRunner
from .platform_domain import CommandNotAvailableIssue
from .platform_domain import OperatingSystem
from .platform_domain impo... | 48.692308 | 68 | 0.903633 | 64 | 633 | 8.71875 | 0.359375 | 0.172043 | 0.16129 | 0.215054 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075829 | 633 | 12 | 69 | 52.75 | 0.953846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 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 | 4 |
8606af2e767f86b97fc991c40020f2652a4de91b | 9,424 | py | Python | cancat/vstruct/defs/elf.py | kimocoder/CanCat | e06f45b22db68b67b6fd93d63d826df9b5d1069c | [
"BSD-2-Clause"
] | 2 | 2020-06-07T04:05:29.000Z | 2022-02-09T00:00:49.000Z | vstruct/defs/elf.py | ConfusedMoonbear/vivisect | 8d6048037f85f745cd11923c6a8d662c150fe330 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | vstruct/defs/elf.py | ConfusedMoonbear/vivisect | 8d6048037f85f745cd11923c6a8d662c150fe330 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | import vstruct
from vstruct.primitives import *
EI_NIDENT = 4
EI_PADLEN = 7
class Elf32(vstruct.VStruct):
def __init__(self, bigend=False):
vstruct.VStruct.__init__(self)
self.e_ident = v_bytes(EI_NIDENT)
self.e_class = v_uint8()
self.e_data = v_uint8()
s... | 35.969466 | 54 | 0.612585 | 1,235 | 9,424 | 4.340081 | 0.083401 | 0.190299 | 0.21194 | 0.148881 | 0.892351 | 0.841604 | 0.683582 | 0.683582 | 0.674627 | 0.663246 | 0 | 0.035431 | 0.290216 | 9,424 | 261 | 55 | 36.10728 | 0.765884 | 0.008383 | 0 | 0.662338 | 0 | 0 | 0.000428 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.103896 | false | 0 | 0.008658 | 0 | 0.329004 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f7b75acf0297c3ab2601bc579ad2b3528994326d | 28 | py | Python | python/testData/keywordCompletion/noMatchInCondition.py | 06needhamt/intellij-community | 63d7b8030e4fdefeb4760e511e289f7e6b3a5c5b | [
"Apache-2.0"
] | null | null | null | python/testData/keywordCompletion/noMatchInCondition.py | 06needhamt/intellij-community | 63d7b8030e4fdefeb4760e511e289f7e6b3a5c5b | [
"Apache-2.0"
] | null | null | null | python/testData/keywordCompletion/noMatchInCondition.py | 06needhamt/intellij-community | 63d7b8030e4fdefeb4760e511e289f7e6b3a5c5b | [
"Apache-2.0"
] | null | null | null | matches = True
if mat<caret> | 14 | 14 | 0.75 | 5 | 28 | 4.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 2 | 15 | 14 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f7cdafc3fcc754a52e3ada458ff7a926e8981f1d | 71,088 | py | Python | sdk/python/pulumi_azure_native/compute/v20200930/_inputs.py | polivbr/pulumi-azure-native | 09571f3bf6bdc4f3621aabefd1ba6c0d4ecfb0e7 | [
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure_native/compute/v20200930/_inputs.py | polivbr/pulumi-azure-native | 09571f3bf6bdc4f3621aabefd1ba6c0d4ecfb0e7 | [
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure_native/compute/v20200930/_inputs.py | polivbr/pulumi-azure-native | 09571f3bf6bdc4f3621aabefd1ba6c0d4ecfb0e7 | [
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi SDK Generator. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from ... import _utilities
fro... | 42.138708 | 389 | 0.668763 | 8,509 | 71,088 | 5.419203 | 0.054413 | 0.096613 | 0.081584 | 0.035848 | 0.829784 | 0.749848 | 0.690623 | 0.63554 | 0.602772 | 0.569461 | 0 | 0.002188 | 0.228534 | 71,088 | 1,686 | 390 | 42.163701 | 0.838627 | 0.306409 | 0 | 0.554884 | 1 | 0 | 0.145614 | 0.06101 | 0 | 0 | 0 | 0 | 0 | 1 | 0.209466 | false | 0 | 0.006042 | 0.001007 | 0.337362 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
79016946767147d0fbaeddece8c5f2511d1e6b1d | 178 | py | Python | floris/tools/optimization/scipy/__init__.py | eirikur16/flrs | c98604593753def05086b54ce82f5551f01d2529 | [
"Apache-2.0"
] | 91 | 2019-06-04T08:56:29.000Z | 2022-03-13T17:39:22.000Z | floris/tools/optimization/scipy/__init__.py | eirikur16/flrs | c98604593753def05086b54ce82f5551f01d2529 | [
"Apache-2.0"
] | 224 | 2019-04-08T22:03:45.000Z | 2022-03-31T17:56:09.000Z | floris/tools/optimization/scipy/__init__.py | eirikur16/flrs | c98604593753def05086b54ce82f5551f01d2529 | [
"Apache-2.0"
] | 97 | 2019-04-23T20:48:20.000Z | 2022-03-29T08:17:02.000Z | from . import (
yaw,
layout,
base_COE,
optimization,
layout_height,
power_density,
yaw_wind_rose,
power_density_1D,
yaw_wind_rose_parallel,
)
| 14.833333 | 27 | 0.651685 | 21 | 178 | 5.047619 | 0.666667 | 0.226415 | 0.207547 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007813 | 0.280899 | 178 | 11 | 28 | 16.181818 | 0.820313 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.090909 | 0 | 0.090909 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
790e259abafc3b78efd22c4e49725337604761c5 | 55 | py | Python | src/__init__.py | codespacedot/CodeSpaceAPI | 22b457088aa592c4fb9111718810075d2643d9ca | [
"Apache-2.0"
] | 3 | 2021-07-05T17:28:14.000Z | 2021-12-07T10:08:14.000Z | src/__init__.py | git-vish/CodeSpaceAPI | 7ad4327e0eef3019098730358c4a23312bc85615 | [
"Apache-2.0"
] | 2 | 2021-07-29T13:55:15.000Z | 2021-07-31T16:49:03.000Z | src/__init__.py | git-vish/CodeSpaceAPI | 7ad4327e0eef3019098730358c4a23312bc85615 | [
"Apache-2.0"
] | 3 | 2021-07-01T16:32:20.000Z | 2021-07-05T04:50:30.000Z | """FastAPI Project for CodeSpace.
https://csdot.ml
"""
| 13.75 | 33 | 0.690909 | 7 | 55 | 5.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109091 | 55 | 3 | 34 | 18.333333 | 0.77551 | 0.854545 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7915bd6303c3c35d054564976537a39f4bb990be | 76 | py | Python | nonbonded/cli/projects/__init__.py | SimonBoothroyd/nonbonded | 3efbb7d943d936b47248975f9ad0d8a006ea8684 | [
"MIT"
] | 5 | 2020-05-11T18:25:00.000Z | 2022-01-27T10:55:09.000Z | nonbonded/cli/projects/__init__.py | SimonBoothroyd/nonbonded | 3efbb7d943d936b47248975f9ad0d8a006ea8684 | [
"MIT"
] | 88 | 2020-06-02T14:40:05.000Z | 2022-03-02T09:20:39.000Z | nonbonded/cli/projects/__init__.py | SimonBoothroyd/nonbonded | 3efbb7d943d936b47248975f9ad0d8a006ea8684 | [
"MIT"
] | null | null | null | # from nonbonded.cli.project.project import project
#
# __all__ = [project]
| 19 | 51 | 0.75 | 9 | 76 | 5.888889 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131579 | 76 | 3 | 52 | 25.333333 | 0.80303 | 0.907895 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
791aafa638d97478db2d6a462067e347380d5760 | 117 | py | Python | ffmpeg_normalize/__init__.py | kostalski/ffmpeg-normalize | 2c73f47ec4369de08c1e2051af490322084fd17b | [
"MIT"
] | 3 | 2019-04-01T11:03:04.000Z | 2019-12-31T02:17:15.000Z | ffmpeg_normalize/__init__.py | kostalski/ffmpeg-normalize | 2c73f47ec4369de08c1e2051af490322084fd17b | [
"MIT"
] | 1 | 2021-04-15T18:46:45.000Z | 2021-04-15T18:46:45.000Z | ffmpeg_normalize/__init__.py | kostalski/ffmpeg-normalize | 2c73f47ec4369de08c1e2051af490322084fd17b | [
"MIT"
] | 1 | 2021-09-23T13:43:07.000Z | 2021-09-23T13:43:07.000Z | from ._ffmpeg_normalize import FFmpegNormalize
from ._media_file import MediaFile
from ._version import __version__
| 23.4 | 46 | 0.863248 | 14 | 117 | 6.571429 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 117 | 4 | 47 | 29.25 | 0.884615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
f71362b0a4e90908b800515208bd4b73487ecd9e | 1,823 | py | Python | RiotGames/API/Match.py | Timohiho/RiotGames | f75256cca1b5c224393dca99296a6163b70b335f | [
"MIT"
] | 2 | 2021-05-05T12:33:51.000Z | 2021-12-15T13:08:44.000Z | RiotGames/API/Match.py | Timohiho/RiotGames | f75256cca1b5c224393dca99296a6163b70b335f | [
"MIT"
] | null | null | null | RiotGames/API/Match.py | Timohiho/RiotGames | f75256cca1b5c224393dca99296a6163b70b335f | [
"MIT"
] | null | null | null | # Copyright (c) 2021.
# The copyright lies with Timo Hirsch-Hoffmann, the further use is only permitted with reference to source
import urllib.request
from RiotGames.API.RiotApi import RiotApi
class Match(RiotApi):
__timeline_by_match_id_url: str = "https://{}.api.riotgames.com/lol/match/v4/timelines/by-matc... | 28.936508 | 114 | 0.580362 | 210 | 1,823 | 4.804762 | 0.361905 | 0.055501 | 0.044599 | 0.050545 | 0.323092 | 0.283449 | 0.225966 | 0.176412 | 0.176412 | 0.176412 | 0 | 0.005596 | 0.313769 | 1,823 | 62 | 115 | 29.403226 | 0.800959 | 0.33955 | 0 | 0.117647 | 0 | 0.058824 | 0.077895 | 0 | 0 | 0 | 0 | 0.032258 | 0 | 1 | 0.235294 | false | 0.117647 | 0.117647 | 0 | 0.529412 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
f72eb585890bafe8941f0c78a9d950477be13230 | 2,555 | py | Python | backtrader/backtrader/indicators/__init__.py | harshabakku/live-back-testing-trader | 1fd69c7598dc15bea740f160eed886f396bcba2c | [
"MIT"
] | 1 | 2021-07-14T22:04:08.000Z | 2021-07-14T22:04:08.000Z | backtrader/backtrader/indicators/__init__.py | ajmal017/LiveBackTestingTrader | 8b4f5804c0aa6046128f6706582f9cde78a0519a | [
"MIT"
] | null | null | null | backtrader/backtrader/indicators/__init__.py | ajmal017/LiveBackTestingTrader | 8b4f5804c0aa6046128f6706582f9cde78a0519a | [
"MIT"
] | 3 | 2021-03-07T16:29:40.000Z | 2022-03-17T21:42:38.000Z | #!/usr/bin/env python
# -*- coding: utf-8; py-indent-offset:4 -*-
###############################################################################
#
# Copyright (C) 2015, 2016, 2017 Daniel Rodriguez
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public Li... | 28.076923 | 79 | 0.699413 | 331 | 2,555 | 5.362538 | 0.501511 | 0.230986 | 0.021972 | 0.032113 | 0.046197 | 0.031549 | 0 | 0 | 0 | 0 | 0 | 0.007529 | 0.168297 | 2,555 | 90 | 80 | 28.388889 | 0.827765 | 0.417221 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.980392 | 0 | 0.980392 | 0.019608 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
f733fdfd6251a8d71a648d7c85c3dac02509dfc4 | 75 | py | Python | cumulogenesis.py | stelligent/cumulogenesis | f5a3587aebd2592642c98cb4ad93d52a927dceeb | [
"MIT"
] | 1 | 2021-03-22T21:50:10.000Z | 2021-03-22T21:50:10.000Z | cumulogenesis.py | stelligent/cumulogenesis | f5a3587aebd2592642c98cb4ad93d52a927dceeb | [
"MIT"
] | 1 | 2021-03-25T22:23:04.000Z | 2021-03-25T22:23:04.000Z | cumulogenesis.py | stelligent/cumulogenesis | f5a3587aebd2592642c98cb4ad93d52a927dceeb | [
"MIT"
] | 1 | 2019-04-03T19:09:34.000Z | 2019-04-03T19:09:34.000Z | #!/usr/bin/env python
from cumulogenesis.interfaces import cli
cli.run()
| 12.5 | 40 | 0.76 | 11 | 75 | 5.181818 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 75 | 5 | 41 | 15 | 0.863636 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
f78df0be4fb31a9f76737c561c3fe76708dbdcd5 | 187 | py | Python | biopipen/core/defaults.py | pwwang/bioprocs | 4055a62eed8ef4fba0a5f1be430af72a9e22143d | [
"MIT"
] | 4 | 2018-01-16T08:25:53.000Z | 2019-01-03T23:41:31.000Z | biopipen/core/defaults.py | pwwang/bioprocs | 4055a62eed8ef4fba0a5f1be430af72a9e22143d | [
"MIT"
] | 3 | 2018-05-22T20:11:46.000Z | 2019-08-19T17:37:04.000Z | biopipen/core/defaults.py | pwwang/bioprocs | 4055a62eed8ef4fba0a5f1be430af72a9e22143d | [
"MIT"
] | 1 | 2019-01-14T23:14:24.000Z | 2019-01-14T23:14:24.000Z | """Provide default settgins"""
from pathlib import Path
BIOPIPEN_DIR = Path(__file__).parent.parent.resolve()
REPORT_DIR = BIOPIPEN_DIR / "reports"
SCRIPT_DIR = BIOPIPEN_DIR / "scripts"
| 26.714286 | 53 | 0.770053 | 24 | 187 | 5.625 | 0.666667 | 0.244444 | 0.207407 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112299 | 187 | 6 | 54 | 31.166667 | 0.813253 | 0.128342 | 0 | 0 | 0 | 0 | 0.089172 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e38df443614ff2ea0fe09c328aa447f49ee9a8df | 146 | py | Python | pythonic_binance/__init__.py | hANSIc99/pythonic-binance | df25353cc20f545224d97a34544844029dabe4ce | [
"MIT"
] | 1 | 2020-12-23T03:20:01.000Z | 2020-12-23T03:20:01.000Z | pythonic_binance/__init__.py | hANSIc99/pythonic-binance | df25353cc20f545224d97a34544844029dabe4ce | [
"MIT"
] | null | null | null | pythonic_binance/__init__.py | hANSIc99/pythonic-binance | df25353cc20f545224d97a34544844029dabe4ce | [
"MIT"
] | null | null | null | """An unofficial Python wrapper for the Binance exchange API v3
.. moduleauthor:: Sam McHardy
.. modified by Stephan Avenwedde for Pythonic
"""
| 20.857143 | 63 | 0.753425 | 19 | 146 | 5.789474 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008197 | 0.164384 | 146 | 6 | 64 | 24.333333 | 0.893443 | 0.938356 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e39b51664f30f25e2e70980af59a04bbf06d0208 | 10,685 | py | Python | script/study/sedov/sedov_main_function.py | will-iam/Variant | 5b6732134fd51cf6c2b90b51b7976be0693ba28d | [
"MIT"
] | 8 | 2017-05-04T07:50:02.000Z | 2019-05-17T02:27:20.000Z | script/study/sedov/sedov_main_function.py | will-iam/Variant | 5b6732134fd51cf6c2b90b51b7976be0693ba28d | [
"MIT"
] | null | null | null | script/study/sedov/sedov_main_function.py | will-iam/Variant | 5b6732134fd51cf6c2b90b51b7976be0693ba28d | [
"MIT"
] | null | null | null | #Main Sedov Code Module
#Ported to python from fortran code written by James R Kamm and F X Timmes
#Original Paper and code found at http://cococubed.asu.edu/papers/la-ur-07-2849.pdf
import numpy as np
from globalvars import comvars as gv
from sedov_1d import sed_1d
from sedov_1d_time import sed_1d_time
... | 44.3361 | 232 | 0.467759 | 1,181 | 10,685 | 4.156647 | 0.160881 | 0.021389 | 0.044816 | 0.058668 | 0.759014 | 0.744347 | 0.709717 | 0.709717 | 0.69668 | 0.687513 | 0 | 0.025028 | 0.420402 | 10,685 | 240 | 233 | 44.520833 | 0.767641 | 0.179504 | 0 | 0.67284 | 0 | 0 | 0.120954 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.012346 | false | 0 | 0.037037 | 0 | 0.049383 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e3a0f222ef753f195c708bec4e9a91e2e4562806 | 34,106 | py | Python | web_console_v2/api/testing/workflow_template/psi_join_tree_model_no_label.py | chen1i/fedlearner | 981514dadbd0aa49ae87d185dd247d310e35605c | [
"Apache-2.0"
] | null | null | null | web_console_v2/api/testing/workflow_template/psi_join_tree_model_no_label.py | chen1i/fedlearner | 981514dadbd0aa49ae87d185dd247d310e35605c | [
"Apache-2.0"
] | null | null | null | web_console_v2/api/testing/workflow_template/psi_join_tree_model_no_label.py | chen1i/fedlearner | 981514dadbd0aa49ae87d185dd247d310e35605c | [
"Apache-2.0"
] | null | null | null | # Copyright 2020 The FedLearner Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applica... | 46.592896 | 136 | 0.27306 | 1,590 | 34,106 | 5.674843 | 0.172327 | 0.046548 | 0.019949 | 0.033692 | 0.763604 | 0.738225 | 0.69744 | 0.655325 | 0.633381 | 0.612213 | 0 | 0.012519 | 0.636985 | 34,106 | 731 | 137 | 46.656635 | 0.716259 | 0.017446 | 0 | 0.525352 | 0 | 0.015493 | 0.886942 | 0.146406 | 0 | 0 | 0 | 0 | 0 | 1 | 0.001408 | false | 0 | 0.005634 | 0 | 0.008451 | 0.001408 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e3a71e4692cca720e8c9165426c410f3c3fef261 | 396 | py | Python | OpenDataCatalog/suggestions/urls.py | timwis/Open-Data-Catalog | 0ccdc71f28773508c337875fd32478dd4324a50c | [
"MIT"
] | 3 | 2016-08-07T17:25:56.000Z | 2019-11-12T00:51:14.000Z | suggestions/urls.py | opensandiego/Open-Data-Catalog | 06f93bab36d22431ff86a87faea4e388d0491846 | [
"MIT"
] | 1 | 2021-04-17T10:52:53.000Z | 2021-04-17T10:52:53.000Z | suggestions/urls.py | opensandiego/Open-Data-Catalog | 06f93bab36d22431ff86a87faea4e388d0491846 | [
"MIT"
] | 2 | 2016-10-28T14:20:27.000Z | 2021-04-17T10:52:28.000Z | from django.conf.urls.defaults import patterns, include, url
urlpatterns = patterns('',
(r'^$', 'suggestions.views.list_all'),
(r'^post/$', 'suggestions.views.add_suggestion'),
(r'^vote/(?P<suggestion_id>.*)/$', 'suggestions.views.add_vote'),
(r'^unvote/(?P<suggestion_id>.*)/$', 'suggestions.views.remove_v... | 39.6 | 73 | 0.659091 | 48 | 396 | 5.291667 | 0.5 | 0.314961 | 0.153543 | 0.283465 | 0.34252 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 396 | 9 | 74 | 44 | 0.705556 | 0 | 0 | 0 | 0 | 0 | 0.593434 | 0.570707 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 0.125 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e3abcdda55715b1f38a3a0acd05e2b4c08e37048 | 3,509 | py | Python | biosignalsnotebooks/build/lib/biosignalsnotebooks/__init__.py | csavur/biosignalsnotebooks | c99596741a854c58bdefb429906023ac48ddc3b7 | [
"MIT"
] | 1 | 2020-06-26T05:05:11.000Z | 2020-06-26T05:05:11.000Z | biosignalsnotebooks/build/lib/biosignalsnotebooks/__init__.py | csavur/biosignalsnotebooks | c99596741a854c58bdefb429906023ac48ddc3b7 | [
"MIT"
] | null | null | null | biosignalsnotebooks/build/lib/biosignalsnotebooks/__init__.py | csavur/biosignalsnotebooks | c99596741a854c58bdefb429906023ac48ddc3b7 | [
"MIT"
] | null | null | null | """
OPENSIGNALSFACTORY PACKAGE INITIALISATION FILE (WITH IMPORT STATEMENTS)
The main purpose of biosignalsnotebooks package is to support the users of PLUX acquisition
devices, such as biosgnalsplux or bitalino, in some processing tasks that can be applied to the
acquired electrophysiological signals, namely ECG, EMG.... | 43.320988 | 103 | 0.785694 | 480 | 3,509 | 5.7125 | 0.46875 | 0.040117 | 0.016776 | 0.019694 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00442 | 0.161869 | 3,509 | 80 | 104 | 43.8625 | 0.927916 | 0.903961 | 0 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
e3afe486c89ac3a00730c37ba0aa5141f39fe3fe | 97 | py | Python | test/integration/steps/pds.py | NHSDigital/list-reconciliation | 37b1ebe99a64275e23b0e7fb6a89415b92d14306 | [
"MIT"
] | 4 | 2021-06-25T08:28:54.000Z | 2021-12-16T11:03:42.000Z | test/integration/steps/pds.py | NHSDigital/list-reconciliation | 37b1ebe99a64275e23b0e7fb6a89415b92d14306 | [
"MIT"
] | 184 | 2021-06-24T15:27:08.000Z | 2022-03-17T12:44:28.000Z | test/integration/steps/pds.py | NHSDigital/list-reconciliation | 37b1ebe99a64275e23b0e7fb6a89415b92d14306 | [
"MIT"
] | 3 | 2021-11-05T10:21:44.000Z | 2022-03-04T14:29:24.000Z | from behave import given
@given("we have processed PDS data")
def step_impl(context):
pass
| 13.857143 | 36 | 0.731959 | 15 | 97 | 4.666667 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185567 | 97 | 6 | 37 | 16.166667 | 0.886076 | 0 | 0 | 0 | 0 | 0 | 0.268041 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
e3f85ec084254dfe08068ef5fd90d188baae09d8 | 72 | py | Python | barbarism.py | Matimed/Barbarism | 4892092f24f314bc6cfacc1c780436dc59fc90ac | [
"MIT"
] | 2 | 2021-09-09T14:03:40.000Z | 2021-11-03T03:35:55.000Z | barbarism.py | Matimed/Barbarism | 4892092f24f314bc6cfacc1c780436dc59fc90ac | [
"MIT"
] | null | null | null | barbarism.py | Matimed/Barbarism | 4892092f24f314bc6cfacc1c780436dc59fc90ac | [
"MIT"
] | null | null | null | import pygame as pg
pg.init()
from src.main import Main
main = Main()
| 10.285714 | 25 | 0.708333 | 13 | 72 | 3.923077 | 0.615385 | 0.313725 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.194444 | 72 | 6 | 26 | 12 | 0.87931 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
541d99a0b05066f7ae098ca89430a31ca86b09cb | 91,180 | py | Python | 4_Nback/Nback_practice_lastrun.py | Brinks0211/cognitive_paradigms_patients | 30e3f8268e5c2b5ebfffcc4ebbcb46d8e60d039e | [
"MIT"
] | 2 | 2020-07-01T12:53:40.000Z | 2020-07-01T13:30:23.000Z | 4_Nback/Nback_practice_lastrun.py | Brinks0211/cognitive_paradigms_patients | 30e3f8268e5c2b5ebfffcc4ebbcb46d8e60d039e | [
"MIT"
] | null | null | null | 4_Nback/Nback_practice_lastrun.py | Brinks0211/cognitive_paradigms_patients | 30e3f8268e5c2b5ebfffcc4ebbcb46d8e60d039e | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
This experiment was created using PsychoPy3 Experiment Builder (v2020.1.3),
on 六月 15, 2020, at 09:02
If you publish work using this script the most relevant publication is:
Peirce J, Gray JR, Simpson S, MacAskill M, Höchenberger R, Sogo H, Kastman E, Li... | 45.842132 | 121 | 0.66599 | 10,922 | 91,180 | 5.446988 | 0.05347 | 0.024474 | 0.012203 | 0.020171 | 0.830885 | 0.794191 | 0.734586 | 0.676595 | 0.590869 | 0.558277 | 0 | 0.024408 | 0.246929 | 91,180 | 1,988 | 122 | 45.865191 | 0.841986 | 0.285095 | 0 | 0.498584 | 0 | 0.002125 | 0.062812 | 0.015663 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.009915 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
58146fc12bca47d19303bba6584622a1dcef7fcd | 57 | py | Python | tests/unit/sim_client/__init__.py | rkm/bluebird | 2325ebb151724d4444c092c095a040d7365dda79 | [
"MIT"
] | 8 | 2019-01-29T15:19:39.000Z | 2020-07-16T03:55:36.000Z | tests/unit/sim_client/__init__.py | rkm/bluebird | 2325ebb151724d4444c092c095a040d7365dda79 | [
"MIT"
] | 46 | 2019-02-08T14:23:11.000Z | 2021-04-06T13:45:10.000Z | tests/unit/sim_client/__init__.py | rkm/bluebird | 2325ebb151724d4444c092c095a040d7365dda79 | [
"MIT"
] | 3 | 2019-05-06T14:18:07.000Z | 2021-06-17T10:39:59.000Z | """
Module contains tests for the sim_client package
"""
| 14.25 | 48 | 0.736842 | 8 | 57 | 5.125 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 57 | 3 | 49 | 19 | 0.854167 | 0.842105 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
581c0ca0e2bb4ab7335e22da97be7ac35a4e0e71 | 513 | py | Python | tools/scenario-player/scenario_player/exceptions.py | karlb/raiden | 61ade0559add1a97588ae6bdedd5e0b99ed41de3 | [
"MIT"
] | 8 | 2019-06-12T14:50:06.000Z | 2022-02-15T16:20:07.000Z | tools/scenario-player/scenario_player/exceptions.py | karlb/raiden | 61ade0559add1a97588ae6bdedd5e0b99ed41de3 | [
"MIT"
] | 141 | 2019-06-18T13:04:08.000Z | 2021-11-23T22:00:32.000Z | tools/scenario-player/scenario_player/exceptions.py | karlb/raiden | 61ade0559add1a97588ae6bdedd5e0b99ed41de3 | [
"MIT"
] | 17 | 2019-05-21T18:09:05.000Z | 2020-10-29T13:01:01.000Z | class ScenarioError(Exception):
pass
class ScenarioTxError(ScenarioError):
pass
class TokenRegistrationError(ScenarioTxError):
pass
class ChannelError(ScenarioError):
pass
class TransferFailed(ScenarioError):
pass
class NodesUnreachableError(ScenarioError):
pass
class RESTAPIError(Sc... | 13.153846 | 48 | 0.769981 | 40 | 513 | 9.875 | 0.325 | 0.205063 | 0.389873 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17154 | 513 | 38 | 49 | 13.5 | 0.929412 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
58230301eafe03e15cb587a17b91ac8b8de815f2 | 246 | py | Python | cli/commands/update.py | gamesbrainiac/cli | bba7285607a8644911f720d1ceb1404ab502bf00 | [
"Apache-2.0"
] | null | null | null | cli/commands/update.py | gamesbrainiac/cli | bba7285607a8644911f720d1ceb1404ab502bf00 | [
"Apache-2.0"
] | null | null | null | cli/commands/update.py | gamesbrainiac/cli | bba7285607a8644911f720d1ceb1404ab502bf00 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
import click
from .. import cli
@cli.cli.command(hidden=True)
def update():
"""
Look for new version updates to CLI
"""
# TODO create update command
click.echo('Sorry, command not programmed yet.')
| 16.4 | 52 | 0.630081 | 33 | 246 | 4.69697 | 0.757576 | 0.077419 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005291 | 0.231707 | 246 | 14 | 53 | 17.571429 | 0.814815 | 0.345528 | 0 | 0 | 0 | 0 | 0.236111 | 0 | 0 | 0 | 0 | 0.071429 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
584dcc24968eeec28c6969e280feb5d4d108b6e6 | 7,694 | py | Python | db_adapter/curw_fcst/source/source_utils.py | CUrW-SL/curw_db_adapter | 9d9ef24f42080910e0bd251bc7f001b0a4b0ab31 | [
"MIT"
] | 2 | 2019-04-26T07:50:33.000Z | 2019-09-28T20:15:33.000Z | db_adapter/curw_fcst/source/source_utils.py | CUrW-SL/curw_db_adapter | 9d9ef24f42080910e0bd251bc7f001b0a4b0ab31 | [
"MIT"
] | 1 | 2019-04-03T09:30:38.000Z | 2019-04-20T18:11:59.000Z | db_adapter/curw_fcst/source/source_utils.py | shadhini/curw_db_adapter | 4db8e1ea8794ffbd0dce29ac954a13315e83d843 | [
"MIT"
] | null | null | null | import json
import traceback
from db_adapter.exceptions import DatabaseAdapterError
from db_adapter.logger import logger
"""
Source JSON Object would looks like this
e.g.:
{
'model' : 'wrfSE',
'version' : 'v3',
'parameters': { }
}
{
'model' : 'OBS_WATER_LEVEL',
... | 32.601695 | 127 | 0.583442 | 828 | 7,694 | 5.320048 | 0.147343 | 0.049035 | 0.023156 | 0.036776 | 0.743927 | 0.718729 | 0.708513 | 0.656981 | 0.656981 | 0.627469 | 0 | 0.00873 | 0.315181 | 7,694 | 235 | 128 | 32.740426 | 0.827292 | 0.206525 | 0 | 0.714286 | 0 | 0.007937 | 0.165658 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.055556 | false | 0 | 0.031746 | 0 | 0.18254 | 0.063492 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.