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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0293a253619a11988d47abce2d445f20f1d026f6 | 304 | py | Python | src/tributaries/utils/universalmodules.py | akilby/tributary-cache | f4884a2aa49685b9e8aeb925c50afda887db1b18 | [
"MIT"
] | null | null | null | src/tributaries/utils/universalmodules.py | akilby/tributary-cache | f4884a2aa49685b9e8aeb925c50afda887db1b18 | [
"MIT"
] | null | null | null | src/tributaries/utils/universalmodules.py | akilby/tributary-cache | f4884a2aa49685b9e8aeb925c50afda887db1b18 | [
"MIT"
] | null | null | null | import os
import sys
import time
def hash_id():
return str(hash(time.time()) % ((sys.maxsize + 1) * 2))
def hash_write_to_dta(df, tempdir, write_index=True):
filepath = os.path.join(tempdir, 'dtafile_%s.dta' % hash_id())
df.to_stata(filepath, write_index=write_index)
return filepath
| 21.714286 | 66 | 0.697368 | 48 | 304 | 4.208333 | 0.520833 | 0.148515 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007874 | 0.164474 | 304 | 13 | 67 | 23.384615 | 0.787402 | 0 | 0 | 0 | 0 | 0 | 0.046053 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.333333 | 0.111111 | 0.777778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 3 |
029d02e7c8eeaac0797693dd174266aabf956ee1 | 141 | py | Python | variable.py | hitanshkadakia/Python_Tutorial | 2d653cd5eb7ecd19de26ffd447d18fbae8eb7af6 | [
"Apache-2.0"
] | 3 | 2021-01-26T09:36:22.000Z | 2021-07-16T07:52:22.000Z | variable.py | rahulhgdev/Python_Tutorial | de9a05a6c841614edac6cfa9cf8fb697dd512190 | [
"Apache-2.0"
] | 1 | 2021-02-12T13:47:58.000Z | 2021-02-12T14:00:41.000Z | variable.py | rahulhgdev/Python_Tutorial | de9a05a6c841614edac6cfa9cf8fb697dd512190 | [
"Apache-2.0"
] | 1 | 2021-02-13T14:04:43.000Z | 2021-02-13T14:04:43.000Z | x=100
text="python tutorial"
print(x)
print(text)
# Assign values to multiple variables
x,y,z=10,20,30
print(x)
print(y)
print(z) | 12.818182 | 38 | 0.673759 | 26 | 141 | 3.653846 | 0.615385 | 0.126316 | 0.231579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078261 | 0.184397 | 141 | 11 | 39 | 12.818182 | 0.747826 | 0.248227 | 0 | 0.25 | 0 | 0 | 0.157895 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.625 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
02c93a8a22f8c1ef4b9c15e58c0df5933fc75ba0 | 83 | py | Python | redditBot/BotMain.py | Squadella/ArisSuggestionBot | f00366f74f06080d29eec53c6700472c1afe2fe6 | [
"MIT"
] | null | null | null | redditBot/BotMain.py | Squadella/ArisSuggestionBot | f00366f74f06080d29eec53c6700472c1afe2fe6 | [
"MIT"
] | null | null | null | redditBot/BotMain.py | Squadella/ArisSuggestionBot | f00366f74f06080d29eec53c6700472c1afe2fe6 | [
"MIT"
] | null | null | null | from Bot import Bot
if __name__ == '__main__':
bot = Bot()
bot.startBot()
| 13.833333 | 26 | 0.614458 | 11 | 83 | 3.909091 | 0.636364 | 0.27907 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.253012 | 83 | 5 | 27 | 16.6 | 0.693548 | 0 | 0 | 0 | 0 | 0 | 0.096386 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 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 | 0 | 0 | 0 | 0 | 0 | 3 |
02d4c9f246a8bcc4ee71bd0380a654244a1607f4 | 3,028 | py | Python | sample/driver-clean.py | BenGriffith/covid | b3ac889c5e72acc5897100362cd0161e60517786 | [
"BSD-2-Clause"
] | null | null | null | sample/driver-clean.py | BenGriffith/covid | b3ac889c5e72acc5897100362cd0161e60517786 | [
"BSD-2-Clause"
] | null | null | null | sample/driver-clean.py | BenGriffith/covid | b3ac889c5e72acc5897100362cd0161e60517786 | [
"BSD-2-Clause"
] | null | null | null | import sys
import clean
from datetime import datetime, date, timedelta
if sys.argv[1] == "initial":
# Populate county table
clean.Population("tmp/initial/county/population.csv", "csv", "data/initial/county", 1)
# Clean
clean.Texas("tmp/initial/county/texas.xlsx", "data/initial/county", None)
clea... | 72.095238 | 135 | 0.732497 | 416 | 3,028 | 5.252404 | 0.129808 | 0.092906 | 0.146453 | 0.175744 | 0.695195 | 0.679176 | 0.41373 | 0.306178 | 0.306178 | 0.261327 | 0 | 0.007603 | 0.087847 | 3,028 | 42 | 136 | 72.095238 | 0.78349 | 0.02576 | 0 | 0 | 0 | 0 | 0.607604 | 0.494229 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.09375 | 0 | 0.09375 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
02db725413178c90489b66872718043dc938844e | 493 | py | Python | catalyst_gan/nn/criterion/__init__.py | WilliamAshbee/gan | ab75e87681b9113d3af8df8a3cd97bf3bd69c6ac | [
"Apache-2.0"
] | 6 | 2020-01-27T11:25:12.000Z | 2020-08-16T02:35:46.000Z | catalyst_gan/nn/criterion/__init__.py | WilliamAshbee/gan | ab75e87681b9113d3af8df8a3cd97bf3bd69c6ac | [
"Apache-2.0"
] | 1 | 2020-04-30T18:27:46.000Z | 2020-06-08T09:38:22.000Z | catalyst_gan/nn/criterion/__init__.py | WilliamAshbee/gan | ab75e87681b9113d3af8df8a3cd97bf3bd69c6ac | [
"Apache-2.0"
] | 3 | 2020-06-23T13:35:34.000Z | 2020-12-10T20:22:28.000Z | from .bce_gan import (
BCELossDiscriminator, BCELossGenerator,
BCELossDiscriminatorFake, BCELossDiscriminatorReal
)
from .hinge import (
HingeLossDiscriminator, HingeLossGenerator,
HingeLossDiscriminatorFake, HingeLossDiscriminatorReal
)
from .wasserstein import (
WassersteinLossDiscriminator, Wasse... | 32.866667 | 71 | 0.833671 | 28 | 493 | 14.642857 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123732 | 493 | 14 | 72 | 35.214286 | 0.949074 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.285714 | 0 | 0.285714 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
02dd0fa801138033b8e8e9e20a490e5095cc5807 | 55 | py | Python | dbmanager/__init__.py | yupix/db-manager | 93258484bcfe90a6ca10850cb121cfb993ec1039 | [
"BSL-1.0"
] | null | null | null | dbmanager/__init__.py | yupix/db-manager | 93258484bcfe90a6ca10850cb121cfb993ec1039 | [
"BSL-1.0"
] | null | null | null | dbmanager/__init__.py | yupix/db-manager | 93258484bcfe90a6ca10850cb121cfb993ec1039 | [
"BSL-1.0"
] | null | null | null | from .dbmanager import DbManager
__version__ = '0.0.1' | 18.333333 | 32 | 0.763636 | 8 | 55 | 4.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 0.127273 | 55 | 3 | 33 | 18.333333 | 0.729167 | 0 | 0 | 0 | 0 | 0 | 0.089286 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
02eeaa9da7d61201c6afcfcd0afd348e90fa2c0c | 220 | py | Python | pypy/module/pypyjit/test/conftest.py | microvm/pypy-mu | 6b03fbe93052d0eb3a4c67152c987c16837b3484 | [
"Apache-2.0",
"OpenSSL"
] | 34 | 2015-07-09T04:53:27.000Z | 2021-07-19T05:22:27.000Z | pypy/module/pypyjit/test/conftest.py | microvm/pypy-mu | 6b03fbe93052d0eb3a4c67152c987c16837b3484 | [
"Apache-2.0",
"OpenSSL"
] | 6 | 2015-05-30T17:20:45.000Z | 2017-06-12T14:29:23.000Z | pypy/module/pypyjit/test/conftest.py | microvm/pypy-mu | 6b03fbe93052d0eb3a4c67152c987c16837b3484 | [
"Apache-2.0",
"OpenSSL"
] | 11 | 2015-09-07T14:26:08.000Z | 2020-04-10T07:20:41.000Z | def pytest_addoption(parser):
group = parser.getgroup("pypyjit options")
group.addoption("--pypy", action="store", default=None, dest="pypy_c",
help="the location of the JIT enabled pypy-c")
| 36.666667 | 74 | 0.65 | 28 | 220 | 5.035714 | 0.75 | 0.070922 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.209091 | 220 | 5 | 75 | 44 | 0.810345 | 0 | 0 | 0 | 0 | 0 | 0.319635 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.25 | 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 | 0 | 0 | 0 | 3 |
02f57717e77b011e0c745f94bccb5a18599f46f7 | 180 | py | Python | settings_test/settings_test/urls.py | joshourisman/django-pydantic-settings | 39e403a70d39855485a13219a2550b50e22c48c9 | [
"MIT"
] | 5 | 2021-01-20T03:51:52.000Z | 2021-04-25T09:58:21.000Z | settings_test/settings_test/urls.py | joshourisman/django-pydantic-settings | 39e403a70d39855485a13219a2550b50e22c48c9 | [
"MIT"
] | 7 | 2021-05-07T06:50:19.000Z | 2021-09-23T01:05:42.000Z | settings_test/settings_test/urls.py | joshourisman/django-pydantic-settings | 39e403a70d39855485a13219a2550b50e22c48c9 | [
"MIT"
] | null | null | null | from django.http import JsonResponse
from django.urls import path
def test_view(request):
return JsonResponse({"success": True})
urlpatterns = [
path("", test_view),
]
| 15 | 42 | 0.711111 | 22 | 180 | 5.727273 | 0.681818 | 0.15873 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172222 | 180 | 11 | 43 | 16.363636 | 0.845638 | 0 | 0 | 0 | 0 | 0 | 0.038889 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.285714 | 0.142857 | 0.571429 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
f31fdab424acd5900e3d4aa92d89654ff39a7665 | 93 | py | Python | Week_1/ex6.py | babosina/Coursera-Python-HSE | 3629c49df906324d14e8e591264b0f71d295a114 | [
"MIT"
] | null | null | null | Week_1/ex6.py | babosina/Coursera-Python-HSE | 3629c49df906324d14e8e591264b0f71d295a114 | [
"MIT"
] | null | null | null | Week_1/ex6.py | babosina/Coursera-Python-HSE | 3629c49df906324d14e8e591264b0f71d295a114 | [
"MIT"
] | null | null | null | # Дано натуральное число. Выведите его последнюю цифру.
num = int(input())
print(num % 10)
| 15.5 | 55 | 0.709677 | 13 | 93 | 5.076923 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025974 | 0.172043 | 93 | 5 | 56 | 18.6 | 0.831169 | 0.569892 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
b8279c79aa2680dd86497876009dc12259a0b194 | 319 | py | Python | source/scripts/python/classname/source/classname.py | Zedonboy/core | 79a4d959659a0f96b940b28d44476943de120d95 | [
"Apache-2.0"
] | null | null | null | source/scripts/python/classname/source/classname.py | Zedonboy/core | 79a4d959659a0f96b940b28d44476943de120d95 | [
"Apache-2.0"
] | null | null | null | source/scripts/python/classname/source/classname.py | Zedonboy/core | 79a4d959659a0f96b940b28d44476943de120d95 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python3.5
class MyClass:
"This is a class"
a = 10;
def func(self):
print('Hello World');
return 3;
def my_function(a: MyClass):
return a.func();
def other_function(b: my_function):
a = MyClass();
return my_function(a);
def object_function(obj: object):
return 3;
| 16.789474 | 35 | 0.61442 | 47 | 319 | 4.06383 | 0.510638 | 0.157068 | 0.172775 | 0.188482 | 0.251309 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025 | 0.247649 | 319 | 18 | 36 | 17.722222 | 0.770833 | 0.109718 | 0 | 0.153846 | 0 | 0 | 0.086957 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.307692 | false | 0 | 0 | 0.153846 | 0.769231 | 0.076923 | 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 | 0 | 0 | 0 | 3 |
b82e865ba91ceb36af2de3dc000374c9fcb7dc5b | 523 | py | Python | flask_app/wsgi.py | lveagithub/InnoSpark-docker | 565d8d3349a878c0c2c6f28833ff1b0f895feaf5 | [
"MIT"
] | 1 | 2021-04-28T15:18:17.000Z | 2021-04-28T15:18:17.000Z | flask_app/wsgi.py | lveagithub/InnoSpark-docker | 565d8d3349a878c0c2c6f28833ff1b0f895feaf5 | [
"MIT"
] | null | null | null | flask_app/wsgi.py | lveagithub/InnoSpark-docker | 565d8d3349a878c0c2c6f28833ff1b0f895feaf5 | [
"MIT"
] | null | null | null | from app import app as application
app = application
print ("wsgi_print_main")
print(__name__)
if __name__ == "__main__":
print ("wsgi_print_main_1")
app.run(host='0.0.0.0', port=8001)
print ("wsgi_print_main_2")
if __name__ == "wsgi":
print ("wsgi_print_main_3")
app.run(host='0.0.0.... | 23.772727 | 40 | 0.630975 | 82 | 523 | 3.487805 | 0.231707 | 0.062937 | 0.342657 | 0.440559 | 0.566434 | 0.566434 | 0.566434 | 0.566434 | 0.566434 | 0.48951 | 0 | 0.072289 | 0.206501 | 523 | 21 | 41 | 24.904762 | 0.616867 | 0.254302 | 0 | 0.166667 | 0 | 0 | 0.299451 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.083333 | 0 | 0.083333 | 0.5 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
b83fe0b2526b2c804b613f7a185e65c35b2efdec | 126 | py | Python | institutions/mapping/urls.py | sephcoster/mapusaurus | 5515f0d89ff7b7cbc796af25b3d45950c8ed882f | [
"CC0-1.0"
] | null | null | null | institutions/mapping/urls.py | sephcoster/mapusaurus | 5515f0d89ff7b7cbc796af25b3d45950c8ed882f | [
"CC0-1.0"
] | null | null | null | institutions/mapping/urls.py | sephcoster/mapusaurus | 5515f0d89ff7b7cbc796af25b3d45950c8ed882f | [
"CC0-1.0"
] | null | null | null | from django.conf.urls import patterns, url
urlpatterns = patterns(
'',
url(r'^$', 'mapping.views.map', name='map')
)
| 18 | 47 | 0.634921 | 16 | 126 | 5 | 0.8125 | 0.275 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174603 | 126 | 6 | 48 | 21 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0.174603 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 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 | 0 | 0 | 0 | 0 | 0 | 3 |
b84011551e3cd05efff54d507956228584998527 | 315 | py | Python | problem1.py | ATMS-207-Fall-2020/lab-2-ShaySen | 4e388d070d6c69f339cd60455ed4a3b039b99e76 | [
"MIT"
] | null | null | null | problem1.py | ATMS-207-Fall-2020/lab-2-ShaySen | 4e388d070d6c69f339cd60455ed4a3b039b99e76 | [
"MIT"
] | null | null | null | problem1.py | ATMS-207-Fall-2020/lab-2-ShaySen | 4e388d070d6c69f339cd60455ed4a3b039b99e76 | [
"MIT"
] | null | null | null | ### PROBLEM 1
def main():
print("Name: Shaymae Senhaji")
print("Favorite Food: Brie Cheese")
print("Favorite Color: Red")
print("Favorite Hobby: Traveling")
if __name__ == "__main__":
main()
#Name: Shaymae Senhaji
#Favorite Food: Brie Cheese
#Favorite Color: Red
#Favorite Hobby: Traveling
| 19.6875 | 39 | 0.67619 | 38 | 315 | 5.394737 | 0.447368 | 0.190244 | 0.17561 | 0.214634 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003937 | 0.193651 | 315 | 15 | 40 | 21 | 0.80315 | 0.320635 | 0 | 0 | 0 | 0 | 0.482927 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | true | 0 | 0 | 0 | 0.142857 | 0.571429 | 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 | 0 | 0 | 0 | 1 | 0 | 3 |
b864582ff004c56f29062b2f79db812dc48ce353 | 148 | py | Python | moderate/apps.py | sandnima/blog-with-Django | 77cb90f4e3aa70efa8d5190146f6acb4cd22d9a7 | [
"MIT"
] | null | null | null | moderate/apps.py | sandnima/blog-with-Django | 77cb90f4e3aa70efa8d5190146f6acb4cd22d9a7 | [
"MIT"
] | null | null | null | moderate/apps.py | sandnima/blog-with-Django | 77cb90f4e3aa70efa8d5190146f6acb4cd22d9a7 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class ModerateConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField'
name = 'moderate'
| 21.142857 | 56 | 0.763514 | 17 | 148 | 6.529412 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148649 | 148 | 6 | 57 | 24.666667 | 0.880952 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0.195946 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
b86dc9800f073a41499f81a7a11c7c9b74ff80fa | 266 | py | Python | tools/build/packages/Setuptools.py | drm42/fvm-drm | c9b940e593034f1aa3020d63ff1e09ebef9c182a | [
"MIT"
] | null | null | null | tools/build/packages/Setuptools.py | drm42/fvm-drm | c9b940e593034f1aa3020d63ff1e09ebef9c182a | [
"MIT"
] | null | null | null | tools/build/packages/Setuptools.py | drm42/fvm-drm | c9b940e593034f1aa3020d63ff1e09ebef9c182a | [
"MIT"
] | null | null | null | from build_packages import *
class Setuptools(BuildPkg):
requires = ['python']
def _installed(self):
return python_package('setuptools', [0,6])
def _install(self):
return self.sys_log("python setup.py install --prefix=%s" % self.blddir)
| 29.555556 | 80 | 0.672932 | 33 | 266 | 5.272727 | 0.727273 | 0.114943 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009346 | 0.195489 | 266 | 8 | 81 | 33.25 | 0.803738 | 0 | 0 | 0 | 0 | 0 | 0.191729 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.285714 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
b8756b98985ce22cc95cf64a3b4f2df03231016d | 343 | py | Python | seo/bin/test.py | yerkesobservatory/variousnsundry | c757a628b1c66be08c4ac15fb0dda26af61aebd8 | [
"MIT"
] | null | null | null | seo/bin/test.py | yerkesobservatory/variousnsundry | c757a628b1c66be08c4ac15fb0dda26af61aebd8 | [
"MIT"
] | null | null | null | seo/bin/test.py | yerkesobservatory/variousnsundry | c757a628b1c66be08c4ac15fb0dda26af61aebd8 | [
"MIT"
] | null | null | null | #!/usr/bin/python
import sys
#
## the mock-0.3.1 dir contains testcase.py, testutils.py & mock.py
#sys.path.append('/home/mcnowinski/.local/lib/python2.7/')
import astropy
from astropy.io import fits
from astropy import wcs
from astropy.io.fits import getheader
import astropy.coordinates as coord
import astropy.unit... | 20.176471 | 66 | 0.766764 | 56 | 343 | 4.696429 | 0.625 | 0.148289 | 0.098859 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016556 | 0.119534 | 343 | 16 | 67 | 21.4375 | 0.854305 | 0.399417 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.875 | 0 | 0.875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
b876802acb728d3181559d9b082b50dc6b8a3380 | 130 | py | Python | Training/MOOC Tensorflow 2.0/BeiDa/class1/p31_matmul.py | church06/Pythons | 87271619abb2dd6398fbe08d746d4b03c54bcd4d | [
"MIT"
] | 177 | 2020-05-16T00:22:37.000Z | 2022-03-13T15:44:27.000Z | Training/MOOC Tensorflow 2.0/BeiDa/class1/p31_matmul.py | church06/Pythons | 87271619abb2dd6398fbe08d746d4b03c54bcd4d | [
"MIT"
] | 1 | 2020-07-09T12:42:53.000Z | 2020-07-09T12:42:53.000Z | Training/MOOC Tensorflow 2.0/BeiDa/class1/p31_matmul.py | church06/Pythons | 87271619abb2dd6398fbe08d746d4b03c54bcd4d | [
"MIT"
] | 123 | 2020-05-15T18:31:49.000Z | 2022-02-10T09:20:06.000Z | import tensorflow as tf
a = tf.ones([3, 2])
b = tf.fill([2, 3], 3.)
print("a:", a)
print("b:", b)
print("a*b:", tf.matmul(a, b))
| 16.25 | 30 | 0.538462 | 28 | 130 | 2.5 | 0.428571 | 0.085714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045872 | 0.161538 | 130 | 7 | 31 | 18.571429 | 0.59633 | 0 | 0 | 0 | 0 | 0 | 0.061538 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 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 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
b879e3d4d491a375a6c1105d8345c8c04fc2d8b4 | 193 | py | Python | basichashmap.py | kasyap1234/dsa- | 495d48d84058c30cc10caea0bf05aa41e2dd48f4 | [
"MIT"
] | 2 | 2021-04-15T16:09:56.000Z | 2021-12-23T08:00:40.000Z | basichashmap.py | kasyap1234/dsa- | 495d48d84058c30cc10caea0bf05aa41e2dd48f4 | [
"MIT"
] | null | null | null | basichashmap.py | kasyap1234/dsa- | 495d48d84058c30cc10caea0bf05aa41e2dd48f4 | [
"MIT"
] | null | null | null | def hashfunction(key):
sum=0
for i in key:
sum+=ord(i)
return sum%100
hashtable=[]
def insertkey(key,value):
hashkey=hashfunction(key)
return hashtable[hashkey].append(value)
| 17.545455 | 41 | 0.694301 | 28 | 193 | 4.785714 | 0.571429 | 0.223881 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025157 | 0.176166 | 193 | 10 | 42 | 19.3 | 0.81761 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0 | 0 | 0.444444 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b88248a7e769bedb3c5390e408c0b96ff005c6f7 | 3,141 | py | Python | youtube_livechat_messages/cursor.py | uehara1414/youtube-livestreaming-api-python | f981a928f07919fe076b0dbf14bfe9679c3cbb52 | [
"MIT"
] | 15 | 2018-10-05T05:29:55.000Z | 2020-07-20T12:11:21.000Z | youtube_livechat_messages/cursor.py | uehara1414/youtube-livestreaming-api-python | f981a928f07919fe076b0dbf14bfe9679c3cbb52 | [
"MIT"
] | 2 | 2019-04-19T05:06:17.000Z | 2021-02-08T20:44:13.000Z | youtube_livechat_messages/cursor.py | uehara1414/youtube_livechat_messages | f981a928f07919fe076b0dbf14bfe9679c3cbb52 | [
"MIT"
] | null | null | null | import time
import collections
import itertools
from youtube_livechat_messages.models import LiveChatEvent, EventType
class LiveChatEventCursor:
def __init__(self, request):
self.request = request
def events(self, include=None):
return ChatEventIterator(self.request, include)
def text_... | 27.077586 | 96 | 0.618274 | 329 | 3,141 | 5.671733 | 0.206687 | 0.100214 | 0.096463 | 0.086817 | 0.493033 | 0.459271 | 0.431404 | 0.300107 | 0.254019 | 0.254019 | 0 | 0.002693 | 0.290672 | 3,141 | 115 | 97 | 27.313043 | 0.834829 | 0.00382 | 0 | 0.425 | 0 | 0 | 0.001601 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2375 | false | 0 | 0.05 | 0.125 | 0.525 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
b88d30097ca5fd41f25d049478f6032e33a651ff | 129 | py | Python | lazypage/apps.py | taojy123/django-lazypage | 83c4c92ac9f9f051f57bcb2457e922dfb93a1fff | [
"MIT"
] | 1 | 2018-11-28T09:45:10.000Z | 2018-11-28T09:45:10.000Z | lazypage/apps.py | taojy123/django-lazypage | 83c4c92ac9f9f051f57bcb2457e922dfb93a1fff | [
"MIT"
] | null | null | null | lazypage/apps.py | taojy123/django-lazypage | 83c4c92ac9f9f051f57bcb2457e922dfb93a1fff | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class LazypageConfig(AppConfig):
name = "lazypage"
verbose_name = "Django Lazy Page"
| 18.428571 | 37 | 0.736434 | 15 | 129 | 6.266667 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186047 | 129 | 6 | 38 | 21.5 | 0.895238 | 0 | 0 | 0 | 0 | 0 | 0.186047 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
b8926b5ee83e01093c676c7ae2325e170f830ddd | 6,161 | py | Python | ReaderWriterLockUnitTest.py | duvni/ReaderWriterLock | 9cf835f33a6112da10960a283e866b4a4a8addc2 | [
"MIT"
] | null | null | null | ReaderWriterLockUnitTest.py | duvni/ReaderWriterLock | 9cf835f33a6112da10960a283e866b4a4a8addc2 | [
"MIT"
] | 1 | 2017-10-10T14:07:55.000Z | 2018-03-31T08:55:49.000Z | ReaderWriterLockUnitTest.py | duvni/ReaderWriterLock | 9cf835f33a6112da10960a283e866b4a4a8addc2 | [
"MIT"
] | null | null | null | import unittest
import threading
import time
from ReaderWriterLock import ReaderWriterLock
class WriterThread(threading.Thread):
def __init__(self, rw_lock: ReaderWriterLock, lock_timeout: float, wait_timeout: float, working_list: list,
new_value):
self.write_acquired = False
sel... | 35.612717 | 112 | 0.654602 | 762 | 6,161 | 4.976378 | 0.085302 | 0.074367 | 0.044831 | 0.061709 | 0.844409 | 0.799051 | 0.746835 | 0.698576 | 0.515032 | 0.484705 | 0 | 0.031351 | 0.24931 | 6,161 | 172 | 113 | 35.819767 | 0.788541 | 0 | 0 | 0.658065 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212903 | 1 | 0.070968 | false | 0 | 0.025806 | 0 | 0.129032 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b8b059c217a852f127dd6fac46069c999695a335 | 555 | py | Python | exercises/test_01_01.py | DayMath82/www.warmups.dev | 2a1f3f7b2e1e066b3033366a91512c1b1be824ce | [
"MIT"
] | 5 | 2021-05-03T05:09:17.000Z | 2021-05-05T11:45:12.000Z | exercises/test_01_01.py | DayMath82/www.warmups.dev | 2a1f3f7b2e1e066b3033366a91512c1b1be824ce | [
"MIT"
] | 13 | 2021-06-10T20:10:25.000Z | 2021-07-12T18:59:15.000Z | exercises/test_01_01.py | DayMath82/www.warmups.dev | 2a1f3f7b2e1e066b3033366a91512c1b1be824ce | [
"MIT"
] | 3 | 2021-05-01T00:08:07.000Z | 2021-05-21T03:36:46.000Z | def test():
# if an assertion fails, the message will be displayed
# --> must have the output in a comment
assert "Mean: 5.0" in __solution__, "Did you record the correct program output as a comment?"
# --> must have the correct arithmetic mean
assert mean == 5.0, "Are you calculating the arithmetic... | 50.454545 | 97 | 0.695495 | 83 | 555 | 4.506024 | 0.53012 | 0.042781 | 0.058824 | 0.064171 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009281 | 0.223423 | 555 | 10 | 98 | 55.5 | 0.858469 | 0.412613 | 0 | 0 | 0 | 0 | 0.509375 | 0 | 0 | 0 | 0 | 0.1 | 0.6 | 1 | 0.2 | true | 0 | 0 | 0 | 0.2 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b238ded9e59e1f11acb9f5f854d0f96993be9636 | 101 | py | Python | asnets/experiments/actprop_5l_h_add_no_lmcut.py | xf1590281/ASNets | 5f4b29fb62a5e72004b813228442d06246c9ec33 | [
"MIT"
] | 21 | 2017-12-05T13:27:36.000Z | 2021-11-16T20:32:33.000Z | asnets/experiments/actprop_5l_h_add_no_lmcut.py | xf1590281/ASNets | 5f4b29fb62a5e72004b813228442d06246c9ec33 | [
"MIT"
] | 2 | 2018-07-16T12:15:46.000Z | 2020-10-31T00:02:49.000Z | asnets/experiments/actprop_5l_h_add_no_lmcut.py | xf1590281/ASNets | 5f4b29fb62a5e72004b813228442d06246c9ec33 | [
"MIT"
] | 7 | 2018-03-19T13:45:13.000Z | 2022-03-24T07:52:20.000Z | """For monster problem."""
from .actprop_5l_h_add import * # noqa F401
USE_LMCUT_FEATURES = False
| 16.833333 | 44 | 0.732673 | 15 | 101 | 4.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047059 | 0.158416 | 101 | 5 | 45 | 20.2 | 0.764706 | 0.306931 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 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 | 3 |
b23ccecb657a95001da14fbcb3f6dca2ef245ae0 | 345 | py | Python | pkgit/env_builders/typescript.py | Cologler/pkgit-python | f9ef74e3520c8d31ac1e93aea86f9e362d8553f4 | [
"MIT"
] | null | null | null | pkgit/env_builders/typescript.py | Cologler/pkgit-python | f9ef74e3520c8d31ac1e93aea86f9e362d8553f4 | [
"MIT"
] | null | null | null | pkgit/env_builders/typescript.py | Cologler/pkgit-python | f9ef74e3520c8d31ac1e93aea86f9e362d8553f4 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
#
# Copyright (c) 2019~2999 - Cologler <skyoflw@gmail.com>
# ----------
#
# ----------
from click import style
from ..core.envs import Envs
from . import IEnvBuilder
class TypeScriptBuilder(IEnvBuilder):
env = Envs.TYPE_SCRIPT
def init(self):
with self.open_proc(['tsc', '--in... | 17.25 | 56 | 0.591304 | 40 | 345 | 5.05 | 0.775 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03321 | 0.214493 | 345 | 19 | 57 | 18.157895 | 0.712177 | 0.284058 | 0 | 0 | 0 | 0 | 0.037657 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0.125 | 0.375 | 0 | 0.75 | 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 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 3 |
b258bb07dd96b02243360995517ab6fafc36ac39 | 352 | py | Python | JugandoCodewars/ResueltosCodeWars/SortOddNumbers.py | blukitas/JugandoCodewars | aa4938fbba3911ba2d5f6fea2ff35fe3cbbf37b0 | [
"MIT"
] | null | null | null | JugandoCodewars/ResueltosCodeWars/SortOddNumbers.py | blukitas/JugandoCodewars | aa4938fbba3911ba2d5f6fea2ff35fe3cbbf37b0 | [
"MIT"
] | null | null | null | JugandoCodewars/ResueltosCodeWars/SortOddNumbers.py | blukitas/JugandoCodewars | aa4938fbba3911ba2d5f6fea2ff35fe3cbbf37b0 | [
"MIT"
] | null | null | null | # You have an array of numbers.
# Your task is to sort ascending odd numbers but even numbers must be on their places.
# Zero isn't an odd number and you don't need to move it. If you have an empty array, you need to return it.
# Example
# sort_array([5, 3, 2, 8, 1, 4]) == [1, 3, 2, 8, 5, 4]
# https://www.codewars.c... | 39.111111 | 108 | 0.698864 | 68 | 352 | 3.602941 | 0.661765 | 0.057143 | 0.073469 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09507 | 0.193182 | 352 | 9 | 109 | 39.111111 | 0.767606 | 0.957386 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b27ed1f549bbfe6d8fc3366ff1f890649ae8cdd8 | 122 | py | Python | junk_drawer/easypost_testing.py | wantsomechocolate/3Muses | f195bb4d8f71be09467981e0aea7726951bf1c9a | [
"BSD-3-Clause"
] | null | null | null | junk_drawer/easypost_testing.py | wantsomechocolate/3Muses | f195bb4d8f71be09467981e0aea7726951bf1c9a | [
"BSD-3-Clause"
] | 26 | 2015-01-02T13:35:48.000Z | 2015-06-10T14:39:07.000Z | junk_drawer/easypost_testing.py | wantsomechocolate/3Muses | f195bb4d8f71be09467981e0aea7726951bf1c9a | [
"BSD-3-Clause"
] | null | null | null | import easypost
import os
easypost.api_key=os.environ['EASYPOST_KEY']
shipment=easypost.Shipment.retrieve('shp_sq2zuZ8d')
| 24.4 | 51 | 0.836066 | 17 | 122 | 5.823529 | 0.588235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017241 | 0.04918 | 122 | 4 | 52 | 30.5 | 0.836207 | 0 | 0 | 0 | 0 | 0 | 0.196721 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
b297bf104c1010ccfd8dfd09abd42f129775093f | 23,409 | py | Python | 3.py | znuxor/adventofcode2016 | 43c1da30cf3b0bca0d9daeddd5692ce2787b544a | [
"BSD-3-Clause"
] | null | null | null | 3.py | znuxor/adventofcode2016 | 43c1da30cf3b0bca0d9daeddd5692ce2787b544a | [
"BSD-3-Clause"
] | null | null | null | 3.py | znuxor/adventofcode2016 | 43c1da30cf3b0bca0d9daeddd5692ce2787b544a | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python3
theInput = """785 516 744
272 511 358
801 791 693
572 150 74
644 534 138
191 396 196
860 92 399
233 321 823
720 333 570
308 427 572
246 206 66
156 261 595
336 810 505
810 210 938
615 987 820
117 22 519
412 990 256
405 996 423
55 366 418
290 402 810
31... | 14.127339 | 47 | 0.622795 | 4,970 | 23,409 | 2.9334 | 0.204628 | 0.001646 | 0.002058 | 0.003155 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.974347 | 0.373873 | 23,409 | 1,656 | 48 | 14.13587 | 0.020332 | 0.000897 | 0 | 0 | 0 | 0 | 0.978877 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.001212 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b2a0ccc733bb409bbff0d61f325cec707acb2099 | 2,286 | py | Python | address/migrations/0003_auto_20210830_1305.py | theonlykingpin/snapfoodclone | 0c1a7839424e89d9bc7bfb55c150a92055759702 | [
"MIT"
] | 11 | 2021-09-17T07:44:05.000Z | 2022-02-06T08:33:30.000Z | address/migrations/0003_auto_20210830_1305.py | theonlykingpin/snapfoodclone | 0c1a7839424e89d9bc7bfb55c150a92055759702 | [
"MIT"
] | 1 | 2021-10-09T07:37:14.000Z | 2021-10-09T07:37:14.000Z | address/migrations/0003_auto_20210830_1305.py | theonlykingpin/snapfoodclone | 0c1a7839424e89d9bc7bfb55c150a92055759702 | [
"MIT"
] | 3 | 2021-09-27T14:12:13.000Z | 2021-10-18T12:21:37.000Z | # Generated by Django 3.2 on 2021-08-30 08:35
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('service', '0002_alter_service_address'),
('address', '0002_auto_20210830_1305'),
('accounts', '0001_initial'),... | 40.821429 | 158 | 0.631671 | 239 | 2,286 | 5.853556 | 0.221757 | 0.051465 | 0.080057 | 0.125804 | 0.766262 | 0.766262 | 0.695497 | 0.695497 | 0.695497 | 0.695497 | 0 | 0.024014 | 0.234908 | 2,286 | 55 | 159 | 41.563636 | 0.775872 | 0.01881 | 0 | 0.571429 | 1 | 0 | 0.203927 | 0.033467 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.040816 | 0 | 0.102041 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b2a132f958abdfeb33ef41003247778f85af3a02 | 203 | py | Python | src/processrunner/settings.py | arobb/python-process-runner | e5265a052f501f533f6d0c8bbe3d70ab120b679f | [
"MIT"
] | 3 | 2019-07-16T17:32:29.000Z | 2021-11-08T05:00:26.000Z | src/processrunner/settings.py | arobb/python-process-runner | e5265a052f501f533f6d0c8bbe3d70ab120b679f | [
"MIT"
] | null | null | null | src/processrunner/settings.py | arobb/python-process-runner | e5265a052f501f533f6d0c8bbe3d70ab120b679f | [
"MIT"
] | 2 | 2017-07-06T23:59:12.000Z | 2019-07-16T17:32:32.000Z | # -*- coding: utf-8 -*-
"""Holder for shared Configuration"""
def init():
"""Holder for shared Configuration"""
global config
try:
config
except NameError:
config = {}
| 15.615385 | 41 | 0.566502 | 20 | 203 | 5.75 | 0.7 | 0.156522 | 0.26087 | 0.486957 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006944 | 0.29064 | 203 | 12 | 42 | 16.916667 | 0.791667 | 0.423645 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0 | 0 | 0.166667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b2aa1a69f0283a960fafa6ac8874aa1bd16124f3 | 917 | py | Python | src/Phidget22/BridgeGain.py | MikaSoftware/mikathing | 60621b01e2fcbeefe2181a58fb0f6104115d1ae6 | [
"BSD-3-Clause"
] | 1 | 2020-02-26T12:43:07.000Z | 2020-02-26T12:43:07.000Z | Phidget22/BridgeGain.py | keysie/phidget-python-interface | ebf392fe6d8d25bd5c178edbf095cf29e0daa4af | [
"MIT"
] | null | null | null | Phidget22/BridgeGain.py | keysie/phidget-python-interface | ebf392fe6d8d25bd5c178edbf095cf29e0daa4af | [
"MIT"
] | 1 | 2020-02-26T12:43:12.000Z | 2020-02-26T12:43:12.000Z | import sys
import ctypes
class BridgeGain:
# 1x Amplificaion
BRIDGE_GAIN_1 = 1
# 2x Amplification
BRIDGE_GAIN_2 = 2
# 4x Amplification
BRIDGE_GAIN_4 = 3
# 8x Amplification
BRIDGE_GAIN_8 = 4
# 16x Amplification
BRIDGE_GAIN_16 = 5
# 32x Amplification
BRIDGE_GAIN_32 = 6
# 64x Amplification
BRIDGE_GAIN_64 = 7... | 22.925 | 38 | 0.732824 | 143 | 917 | 4.363636 | 0.272727 | 0.384615 | 0.115385 | 0.192308 | 0.24359 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080429 | 0.186478 | 917 | 39 | 39 | 23.512821 | 0.756032 | 0.151581 | 0 | 0 | 0 | 0 | 0.176853 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.033333 | false | 0 | 0.066667 | 0 | 0.7 | 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 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
a22e5bc3c9d28c69269e64ca456ddfa8f68045db | 466 | py | Python | utils.py | NicChoo96/Graph_Unweighted_Hospitals | c88d6e2caca4e1fdab0549a041ac9856266847fb | [
"MIT"
] | null | null | null | utils.py | NicChoo96/Graph_Unweighted_Hospitals | c88d6e2caca4e1fdab0549a041ac9856266847fb | [
"MIT"
] | null | null | null | utils.py | NicChoo96/Graph_Unweighted_Hospitals | c88d6e2caca4e1fdab0549a041ac9856266847fb | [
"MIT"
] | 1 | 2021-05-22T09:06:56.000Z | 2021-05-22T09:06:56.000Z | import os
import json
def write_data_json_file(output_directory, file_name, writePath):
# Load in existing file record
if os.path.isfile('./' + output_directory + file_name):
with open(output_directory + file_name) as json_file:
f_data = json.load(json_file)
if len(f_data) != 0:... | 33.285714 | 65 | 0.648069 | 65 | 466 | 4.4 | 0.415385 | 0.20979 | 0.265734 | 0.321678 | 0.216783 | 0.216783 | 0 | 0 | 0 | 0 | 0 | 0.002899 | 0.259657 | 466 | 14 | 66 | 33.285714 | 0.826087 | 0.060086 | 0 | 0 | 0 | 0 | 0.006865 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | false | 0 | 0.181818 | 0 | 0.272727 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a239d91665c7248fe6c890e52a667518e7363190 | 121 | py | Python | data.py | yu961549745/tfnote | df21c414eecfd4e94dd0097f1d57dc2ff1546b70 | [
"MIT"
] | null | null | null | data.py | yu961549745/tfnote | df21c414eecfd4e94dd0097f1d57dc2ff1546b70 | [
"MIT"
] | null | null | null | data.py | yu961549745/tfnote | df21c414eecfd4e94dd0097f1d57dc2ff1546b70 | [
"MIT"
] | null | null | null | from tensorflow.examples.tutorials.mnist import input_data
data = input_data.read_data_sets("MNIST_data/", one_hot=True)
| 40.333333 | 61 | 0.834711 | 19 | 121 | 5 | 0.684211 | 0.189474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066116 | 121 | 2 | 62 | 60.5 | 0.840708 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
a2465c0b7415a6950c64687797b10b5274abc98d | 707 | py | Python | nonrelated_inlines/tests/settings.py | diegodirob/django-nonrelated-inlines | 3fef685cc84ea3148323260fd88697c909b545b4 | [
"MIT"
] | 17 | 2020-10-07T07:33:27.000Z | 2022-02-17T04:50:30.000Z | nonrelated_inlines/tests/settings.py | diegodirob/django-nonrelated-inlines | 3fef685cc84ea3148323260fd88697c909b545b4 | [
"MIT"
] | 1 | 2020-12-11T15:40:19.000Z | 2021-04-03T12:45:12.000Z | nonrelated_inlines/tests/settings.py | diegodirob/django-nonrelated-inlines | 3fef685cc84ea3148323260fd88697c909b545b4 | [
"MIT"
] | 8 | 2020-09-11T07:58:17.000Z | 2022-02-04T15:11:54.000Z | DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': ':memory:'
}
}
SECRET_KEY = 'supersecret'
INSTALLED_APPS = [
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'nonr... | 22.806452 | 65 | 0.687412 | 65 | 707 | 7.384615 | 0.6 | 0.216667 | 0.070833 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001689 | 0.162659 | 707 | 30 | 66 | 23.566667 | 0.809122 | 0 | 0 | 0 | 0 | 0 | 0.640736 | 0.485149 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a2474995fc8c86ff6ab1143913d7983f54ec8c90 | 465 | py | Python | hassio-google-drive-backup/backup/model/__init__.py | voxipbx/hassio-addons | ddf2f1745f4240c2905f9f9d7616a927fb8934e4 | [
"MIT"
] | 1 | 2022-01-22T18:27:04.000Z | 2022-01-22T18:27:04.000Z | hassio-google-drive-backup/backup/model/__init__.py | voxipbx/hassio-addons | ddf2f1745f4240c2905f9f9d7616a927fb8934e4 | [
"MIT"
] | 19 | 2021-09-29T06:13:25.000Z | 2022-03-08T06:13:49.000Z | hassio-google-drive-backup/backup/model/__init__.py | voxipbx/hassio-addons | ddf2f1745f4240c2905f9f9d7616a927fb8934e4 | [
"MIT"
] | null | null | null | # flake8: noqa
from .backupscheme import GenerationalScheme, OldestScheme, GenConfig, BackupScheme
from .coordinator import Coordinator
from .model import BackupSource, BackupDestination, Model
from .syncer import Scyncer
from .backups import AbstractBackup, Backup
from .drivebackup import DriveBackup
from .dummybackup... | 38.75 | 83 | 0.855914 | 48 | 465 | 8.291667 | 0.458333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002404 | 0.105376 | 465 | 11 | 84 | 42.272727 | 0.954327 | 0.025806 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
a24e32edbb183ef01cf9d0fb4db7dab5b4b26cb6 | 69 | py | Python | beecrowd/extremamentebasico.py | mtsamorim/python | 88c08ee9be0d8f809a19ddf0ac5ee94e08587cb6 | [
"MIT"
] | null | null | null | beecrowd/extremamentebasico.py | mtsamorim/python | 88c08ee9be0d8f809a19ddf0ac5ee94e08587cb6 | [
"MIT"
] | null | null | null | beecrowd/extremamentebasico.py | mtsamorim/python | 88c08ee9be0d8f809a19ddf0ac5ee94e08587cb6 | [
"MIT"
] | null | null | null | num1 = int(input())
num2 = int(input())
print(f'X = {num1 + num2}')
| 13.8 | 27 | 0.565217 | 11 | 69 | 3.545455 | 0.636364 | 0.410256 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070175 | 0.173913 | 69 | 4 | 28 | 17.25 | 0.614035 | 0 | 0 | 0 | 0 | 0 | 0.246377 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 3 |
a2596df4d7cf98f3fa2962ca83cf0ac228043316 | 85 | py | Python | houdini_manage/__init__.py | NiklasRosenstein/houdini-manage | cf6216cb914b97677a0831e490f9943eabed8d79 | [
"MIT"
] | 7 | 2018-02-01T05:41:25.000Z | 2020-04-03T08:37:05.000Z | houdini_manage/__init__.py | jonbjornn/houdini-manage | cf6216cb914b97677a0831e490f9943eabed8d79 | [
"MIT"
] | 1 | 2017-07-19T00:16:03.000Z | 2017-07-19T00:16:03.000Z | houdini_manage/__init__.py | jonbjornn/houdini-manage | cf6216cb914b97677a0831e490f9943eabed8d79 | [
"MIT"
] | 2 | 2020-02-02T09:57:26.000Z | 2020-02-14T10:16:45.000Z |
__author__ = 'Niklas Rosenstein <rosensteinniklas@gmail.com>'
__version__ = '1.0.0'
| 21.25 | 61 | 0.752941 | 10 | 85 | 5.6 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039474 | 0.105882 | 85 | 3 | 62 | 28.333333 | 0.697368 | 0 | 0 | 0 | 0 | 0 | 0.607143 | 0.333333 | 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 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a27c675795d8aca03098ac13ac4cce453e6f99a5 | 2,045 | py | Python | tests/conftest.py | weilin2018/pyextremes | f68a5cba4f31a7170bfc02287d9ee0f7926b10bc | [
"MIT"
] | null | null | null | tests/conftest.py | weilin2018/pyextremes | f68a5cba4f31a7170bfc02287d9ee0f7926b10bc | [
"MIT"
] | null | null | null | tests/conftest.py | weilin2018/pyextremes | f68a5cba4f31a7170bfc02287d9ee0f7926b10bc | [
"MIT"
] | 1 | 2021-05-07T12:01:45.000Z | 2021-05-07T12:01:45.000Z | import pathlib
import pandas as pd
import pytest
root_directory = pathlib.Path(__file__).parent.resolve()
@pytest.fixture(scope="session")
def shared_data_folder() -> pathlib.Path:
return root_directory / "_shared_data"
@pytest.fixture(scope="function")
def battery_wl(shared_data_folder) -> pd.Series:
ret... | 23.238636 | 61 | 0.622005 | 257 | 2,045 | 4.649805 | 0.22179 | 0.117155 | 0.174059 | 0.130544 | 0.771548 | 0.751464 | 0.751464 | 0.653556 | 0.653556 | 0.622594 | 0 | 0.015222 | 0.261125 | 2,045 | 87 | 62 | 23.505747 | 0.775645 | 0 | 0 | 0.535211 | 0 | 0 | 0.091932 | 0.010269 | 0 | 0 | 0 | 0 | 0 | 1 | 0.098592 | false | 0 | 0.042254 | 0.084507 | 0.239437 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a288a4eddb23a7c6de4d6837386bb803fa62054f | 148 | py | Python | TopQuarkAnalysis/Configuration/python/patRefSel_outputModule_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | TopQuarkAnalysis/Configuration/python/patRefSel_outputModule_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | TopQuarkAnalysis/Configuration/python/patRefSel_outputModule_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | import FWCore.ParameterSet.Config as cms
from TopQuarkAnalysis.Configuration.patRefSel_outputModule_cfi import out
outpath = cms.EndPath(
out
)
| 18.5 | 73 | 0.831081 | 18 | 148 | 6.722222 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114865 | 148 | 7 | 74 | 21.142857 | 0.923664 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
a29859f5c9a41883d2ab83ed3a243833e393887b | 236 | py | Python | examples/webExample/server.py | isthisgood/ofxXmlGui | 0f470b10348c8eae09891dca50931cc7aab8ffc9 | [
"MIT"
] | 7 | 2015-03-15T11:59:02.000Z | 2020-01-15T22:21:29.000Z | examples/webExample/server.py | isthisgood/ofxXmlGui | 0f470b10348c8eae09891dca50931cc7aab8ffc9 | [
"MIT"
] | null | null | null | examples/webExample/server.py | isthisgood/ofxXmlGui | 0f470b10348c8eae09891dca50931cc7aab8ffc9 | [
"MIT"
] | 1 | 2018-07-16T11:22:41.000Z | 2018-07-16T11:22:41.000Z | import BaseHTTPServer
import cgi, random, sys
import SimpleHTTPServer
import os
PORT = 8000
httpd = BaseHTTPServer.HTTPServer(("", PORT), SimpleHTTPServer.SimpleHTTPRequestHandler)
print "Serving at port", PORT
httpd.serve_forever()
| 19.666667 | 88 | 0.800847 | 26 | 236 | 7.230769 | 0.653846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019139 | 0.114407 | 236 | 11 | 89 | 21.454545 | 0.880383 | 0 | 0 | 0 | 0 | 0 | 0.063559 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.5 | null | null | 0.125 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
a2b2c814b1b6b47797cf2b70565767f6797ecd87 | 70 | py | Python | scripts/quest/q53445s.py | Snewmy/swordie | ae01ed4ec0eb20a18730e8cd209eea0b84a8dd17 | [
"MIT"
] | null | null | null | scripts/quest/q53445s.py | Snewmy/swordie | ae01ed4ec0eb20a18730e8cd209eea0b84a8dd17 | [
"MIT"
] | null | null | null | scripts/quest/q53445s.py | Snewmy/swordie | ae01ed4ec0eb20a18730e8cd209eea0b84a8dd17 | [
"MIT"
] | null | null | null | # All-Seer (53445)
sm.startQuest(parentID)
sm.completeQuest(parentID) | 17.5 | 26 | 0.785714 | 9 | 70 | 6.111111 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0.071429 | 70 | 4 | 26 | 17.5 | 0.769231 | 0.228571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a2d4e8c4f0919fed4da4c2cd6aefdb5cb1902d78 | 852 | py | Python | nxmetis/metis.py | sclable/networkx-metis | 34398b7046d71b62c5bd3b90b35f4fe02fb5abc7 | [
"Apache-2.0"
] | 69 | 2015-05-23T16:24:37.000Z | 2022-03-14T14:04:08.000Z | nxmetis/metis.py | sclable/networkx-metis | 34398b7046d71b62c5bd3b90b35f4fe02fb5abc7 | [
"Apache-2.0"
] | 68 | 2015-05-23T14:16:14.000Z | 2021-10-11T10:59:47.000Z | nxmetis/metis.py | sclable/networkx-metis | 34398b7046d71b62c5bd3b90b35f4fe02fb5abc7 | [
"Apache-2.0"
] | 25 | 2015-05-23T05:58:34.000Z | 2022-03-09T17:31:55.000Z | """
This module is a wrapper of the ``_metis`` extension generated
from ``_metis.pyx``. This is to let sphinx import the module for
documentation builds with or without the ``_metis`` extension.
"""
try:
from nxmetis import _metis
except ImportError:
def node_nd(*args, **kwargs):
raise Excep... | 34.08 | 68 | 0.711268 | 108 | 852 | 5.37037 | 0.416667 | 0.068966 | 0.103448 | 0.165517 | 0.353448 | 0.353448 | 0.353448 | 0.353448 | 0.268966 | 0 | 0 | 0 | 0.190141 | 852 | 24 | 69 | 35.5 | 0.84058 | 0.223005 | 0 | 0.25 | 1 | 0 | 0.180685 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.125 | 0 | 0.375 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a2e3e0144791eaa87dbc04d153a2cbfec515248e | 49,625 | py | Python | authnzerver/actions/email.py | waqasbhatti/authnzerver | d40fa38601f4f11e966fc52e11ad6fe1116bb145 | [
"MIT"
] | 3 | 2019-06-02T12:57:08.000Z | 2020-04-01T14:00:12.000Z | authnzerver/actions/email.py | waqasbhatti/authnzerver | d40fa38601f4f11e966fc52e11ad6fe1116bb145 | [
"MIT"
] | 7 | 2020-03-17T21:55:41.000Z | 2020-07-07T22:58:48.000Z | authnzerver/actions/email.py | waqasbhatti/authnzerver | d40fa38601f4f11e966fc52e11ad6fe1116bb145 | [
"MIT"
] | 2 | 2020-03-04T06:56:27.000Z | 2020-03-24T08:39:11.000Z | # -*- coding: utf-8 -*-
# actions_email.py - Waqas Bhatti (wbhatti@astro.princeton.edu) - Aug 2018
# License: MIT - see the LICENSE file for the full text.
"""This contains functions to drive email-related auth actions.
"""
#############
## LOGGING ##
#############
import logging
# get a logger
LOGGER = logging.ge... | 31.954282 | 80 | 0.565602 | 5,354 | 49,625 | 5.087411 | 0.087785 | 0.026434 | 0.02056 | 0.02111 | 0.746127 | 0.70967 | 0.689662 | 0.678133 | 0.6651 | 0.647368 | 0 | 0.000884 | 0.339023 | 49,625 | 1,552 | 81 | 31.974871 | 0.829517 | 0.213662 | 0 | 0.682759 | 0 | 0 | 0.26746 | 0.019815 | 0 | 0 | 0 | 0.001289 | 0 | 1 | 0.007882 | false | 0.060099 | 0.015764 | 0.002956 | 0.061084 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
a2ee5016384c0140b5c9af1a1dcb15da9f449e54 | 277 | py | Python | molo/core/mixins.py | Ishma59/molo | 4fd31df9266bc251e09e9339a132d3ccd4143c69 | [
"BSD-2-Clause"
] | 25 | 2015-09-26T13:45:30.000Z | 2018-09-13T14:12:20.000Z | molo/core/mixins.py | Ishma59/molo | 4fd31df9266bc251e09e9339a132d3ccd4143c69 | [
"BSD-2-Clause"
] | 510 | 2015-05-29T09:30:44.000Z | 2018-12-11T09:08:11.000Z | molo/core/mixins.py | Ishma59/molo | 4fd31df9266bc251e09e9339a132d3ccd4143c69 | [
"BSD-2-Clause"
] | 5 | 2020-03-26T19:30:13.000Z | 2020-09-04T16:35:59.000Z | class PageEffectiveImageMixin(object):
def get_effective_image(self):
if self.image:
return self.image
page = self.get_main_language_page()
if page.specific.image:
return page.specific.get_effective_image()
return ''
| 30.777778 | 54 | 0.642599 | 31 | 277 | 5.516129 | 0.451613 | 0.192982 | 0.19883 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.277978 | 277 | 8 | 55 | 34.625 | 0.855 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0 | 0 | 0.625 | 0 | 0 | 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 | 0 | 0 | 1 | 0 | 0 | 3 |
a2f1c23efb3f7a0be3a4f09ee0e3475fc0996382 | 4,521 | py | Python | docs/tutorials/blackboxoptimization.py | schaul/pybrain | 6e1bd1e9b232044a4e0498fd63799b31ce50f460 | [
"BSD-3-Clause"
] | 4 | 2015-01-01T14:57:38.000Z | 2018-07-12T04:21:36.000Z | docs/tutorials/blackboxoptimization.py | abhishekgahlot/pybrain | c54661f13857d5bcb0095ba2fb12f5a403a4a70f | [
"BSD-3-Clause"
] | null | null | null | docs/tutorials/blackboxoptimization.py | abhishekgahlot/pybrain | c54661f13857d5bcb0095ba2fb12f5a403a4a70f | [
"BSD-3-Clause"
] | 2 | 2015-01-23T09:23:58.000Z | 2019-02-22T05:42:29.000Z | ############################################################################
# PyBrain Tutorial "Black Box Optimization"
#
# Author: Tom Schaul, tom@idsia.ch
############################################################################
__author__ = 'Tom Schaul, tom@idsia.ch'
""" A script that attempts to illustrate a... | 43.471154 | 106 | 0.693209 | 498 | 4,521 | 6.269076 | 0.38755 | 0.092249 | 0.163357 | 0.206919 | 0.30173 | 0.215247 | 0.040999 | 0 | 0 | 0 | 0 | 0.007256 | 0.176952 | 4,521 | 103 | 107 | 43.893204 | 0.831766 | 0.020349 | 0 | 0 | 0 | 0 | 0.139245 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.12766 | null | null | 0.531915 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
a2f24cf445d3bd7d09e63d88b2006458760e0a2c | 170 | py | Python | pythonexercicios/ex074.py | andrebatist4/cursoemvideo-python | a12b0023f01a38cc3fc5bb59aad5ad8a3e54f6d3 | [
"MIT"
] | null | null | null | pythonexercicios/ex074.py | andrebatist4/cursoemvideo-python | a12b0023f01a38cc3fc5bb59aad5ad8a3e54f6d3 | [
"MIT"
] | null | null | null | pythonexercicios/ex074.py | andrebatist4/cursoemvideo-python | a12b0023f01a38cc3fc5bb59aad5ad8a3e54f6d3 | [
"MIT"
] | null | null | null | import numpy as np
alea = (np.random.randint(0, 10, (5)))
print(alea)
print(f'O maior número sorteado foi {max(alea)}')
print(f'O menor número sorteado foi {min(alea)}')
| 28.333333 | 49 | 0.7 | 31 | 170 | 3.83871 | 0.645161 | 0.151261 | 0.168067 | 0.184874 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027027 | 0.129412 | 170 | 5 | 50 | 34 | 0.777027 | 0 | 0 | 0 | 0 | 0 | 0.458824 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0.6 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
0c0ab7a2bcfba9f1be100583a32b86d155acf84e | 255 | py | Python | Singleton/module.py | Supegg/Python_demo | 0ef0ba9edd2fa7e96b197549187292981bbdaf88 | [
"MIT"
] | null | null | null | Singleton/module.py | Supegg/Python_demo | 0ef0ba9edd2fa7e96b197549187292981bbdaf88 | [
"MIT"
] | null | null | null | Singleton/module.py | Supegg/Python_demo | 0ef0ba9edd2fa7e96b197549187292981bbdaf88 | [
"MIT"
] | null | null | null | class Singleton(object):
def __init__(self):
self.x = 0
def foo(self):
pass
singleton = Singleton()
'''
Python 的模块就是天然的单例模式,因为模块在第一次导入时,会生成 .pyc 文件,
当第二次导入时,就会直接加载 .pyc 文件,而不会再次执行模块代码。
因此,我们只需把相关的函数和数据定义在一个模块中,就可以获得一个单例对象了。
''' | 17 | 44 | 0.682353 | 29 | 255 | 5.862069 | 0.758621 | 0.058824 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004878 | 0.196078 | 255 | 15 | 45 | 17 | 0.82439 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.166667 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
0c0ad941b0c1c18d762cf50bdf2528c20056a0c7 | 908 | py | Python | model/sha.py | Manu343726/biicode-common | 91b32c6fd1e4a72ce5451183f1766d313cd0e420 | [
"MIT"
] | 17 | 2015-04-15T09:40:23.000Z | 2017-05-17T20:34:49.000Z | model/sha.py | Manu343726/biicode-common | 91b32c6fd1e4a72ce5451183f1766d313cd0e420 | [
"MIT"
] | 2 | 2015-04-22T11:29:36.000Z | 2018-09-25T09:31:09.000Z | model/sha.py | bowlofstew/common | 45e9ca902be7bbbdd73dafe3ab8957bc4a006020 | [
"MIT"
] | 22 | 2015-04-15T09:46:00.000Z | 2020-09-29T17:03:31.000Z |
import hashlib
import bson
class SHABuilder(object):
def __init__(self, value=None):
self.md = hashlib.sha1()
if value:
self.md.update(value)
def __iadd__(self, item):
if isinstance(item, (set, list, tuple)):
for elem in sorted(item):
self.md.u... | 21.619048 | 81 | 0.590308 | 112 | 908 | 4.5625 | 0.482143 | 0.058708 | 0.07045 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001597 | 0.310573 | 908 | 41 | 82 | 22.146341 | 0.814696 | 0.112335 | 0 | 0 | 0 | 0 | 0.011321 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.071429 | 0.142857 | 0.642857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
0c223b5b283383a30c7e4b5589fdce131d3c18f0 | 3,622 | py | Python | civet/minc.py | FNNDSC/pycivet | 440839d8dcb3413ec96d06945498a6a9ec710204 | [
"MIT"
] | null | null | null | civet/minc.py | FNNDSC/pycivet | 440839d8dcb3413ec96d06945498a6a9ec710204 | [
"MIT"
] | null | null | null | civet/minc.py | FNNDSC/pycivet | 440839d8dcb3413ec96d06945498a6a9ec710204 | [
"MIT"
] | null | null | null | """
Defines types and operations related to MINC files.
"""
from dataclasses import dataclass
from os import PathLike
from typing import Literal, TypeVar, Generic, Optional
from civet.bases import DataFile
from civet.extraction.kernels import ngh_count_kernel
_M = TypeVar('_M', bound='GenericMinc')
_V = TypeVar('_V',... | 32.339286 | 108 | 0.597736 | 384 | 3,622 | 5.476563 | 0.328125 | 0.085592 | 0.068474 | 0.08369 | 0.224917 | 0.113172 | 0.081788 | 0.042796 | 0 | 0 | 0 | 0.009571 | 0.278851 | 3,622 | 111 | 109 | 32.630631 | 0.795559 | 0.066538 | 0 | 0.333333 | 0 | 0 | 0.121239 | 0.014001 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0.025641 | 0.064103 | 0.102564 | 0.602564 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
0c33a6ce2d16563f97f43f77f5013b9f95d0eed3 | 98 | py | Python | django_day07/related_demo/apps.py | maoxuelin083/Django-Study | 6eb332a97c898b11e6d1c1faf80dbb14f4f835c6 | [
"Apache-2.0"
] | null | null | null | django_day07/related_demo/apps.py | maoxuelin083/Django-Study | 6eb332a97c898b11e6d1c1faf80dbb14f4f835c6 | [
"Apache-2.0"
] | null | null | null | django_day07/related_demo/apps.py | maoxuelin083/Django-Study | 6eb332a97c898b11e6d1c1faf80dbb14f4f835c6 | [
"Apache-2.0"
] | null | null | null | from django.apps import AppConfig
class RelatedDemoConfig(AppConfig):
name = 'related_demo'
| 16.333333 | 35 | 0.77551 | 11 | 98 | 6.818182 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153061 | 98 | 5 | 36 | 19.6 | 0.903614 | 0 | 0 | 0 | 0 | 0 | 0.122449 | 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 | 0 | 0 | 0 | 3 |
0c34fd59f716fd2db93dffd8611e610c2e33e856 | 1,575 | py | Python | Notatki/Obliczenia-naukowe/NumPy/NumPy.py | bzglinicki/python-trainin | 4839514572cfd484f17f8a6473d259f807b9f690 | [
"MIT"
] | 1 | 2021-03-10T22:32:40.000Z | 2021-03-10T22:32:40.000Z | Notatki/Obliczenia-naukowe/NumPy/NumPy.py | bzglinicki/python-trainin | 4839514572cfd484f17f8a6473d259f807b9f690 | [
"MIT"
] | null | null | null | Notatki/Obliczenia-naukowe/NumPy/NumPy.py | bzglinicki/python-trainin | 4839514572cfd484f17f8a6473d259f807b9f690 | [
"MIT"
] | 1 | 2021-03-20T21:01:37.000Z | 2021-03-20T21:01:37.000Z | # Programowanie I R
# Pakiet NumPy
import numpy as np
arr_list = np.array([1, 2, 3, 4, 5])
print(arr_list)
print(type(arr_list))
print()
arr_tuple = np.array((1, 2, 3, 4, 5))
print(arr_tuple)
print(type(arr_tuple))
print()
arr = np.array(42)
print(arr)
print(arr.ndim)
print()
arr = np.array([[1, 2, 3], [4, 5, 6]... | 18.313953 | 84 | 0.486349 | 267 | 1,575 | 2.846442 | 0.172285 | 0.336842 | 0.043421 | 0.057895 | 0.621053 | 0.555263 | 0.555263 | 0.428947 | 0.428947 | 0.376316 | 0 | 0.104839 | 0.133968 | 1,575 | 86 | 85 | 18.313953 | 0.452346 | 0.177143 | 0 | 0.466667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.016667 | 0 | 0.016667 | 0.7 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
0c37f3da8b9d4fa16078e5a88468209236dbddd2 | 1,033 | py | Python | qcloudsdkds/MngCountQueryRequest.py | f3n9/qcloudcli | b965a4f0e6cdd79c1245c1d0cd2ca9c460a56f19 | [
"Apache-2.0"
] | null | null | null | qcloudsdkds/MngCountQueryRequest.py | f3n9/qcloudcli | b965a4f0e6cdd79c1245c1d0cd2ca9c460a56f19 | [
"Apache-2.0"
] | null | null | null | qcloudsdkds/MngCountQueryRequest.py | f3n9/qcloudcli | b965a4f0e6cdd79c1245c1d0cd2ca9c460a56f19 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
from qcloudsdkcore.request import Request
class MngCountQueryRequest(Request):
def __init__(self):
super(MngCountQueryRequest, self).__init__(
'ds', 'qcloudcliV1', 'MngCountQuery', 'ds.api.qcloud.com')
def get_beginTime(self):
return self.get_params().get(... | 25.825 | 70 | 0.649564 | 125 | 1,033 | 5.144 | 0.24 | 0.046656 | 0.108865 | 0.132193 | 0.202177 | 0.202177 | 0 | 0 | 0 | 0 | 0 | 0.002463 | 0.21394 | 1,033 | 39 | 71 | 26.487179 | 0.789409 | 0.020329 | 0 | 0 | 0 | 0 | 0.111881 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.44 | false | 0 | 0.04 | 0.2 | 0.72 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
0c48928f28f2c61afde2d61eedf6ce41abd62963 | 62 | py | Python | flatpak_indexer/datasource/fedora/__init__.py | kalev/flatpak-indexer | 540bdb465e73b0c4627ddbeb649dddcca4b24b59 | [
"MIT"
] | null | null | null | flatpak_indexer/datasource/fedora/__init__.py | kalev/flatpak-indexer | 540bdb465e73b0c4627ddbeb649dddcca4b24b59 | [
"MIT"
] | null | null | null | flatpak_indexer/datasource/fedora/__init__.py | kalev/flatpak-indexer | 540bdb465e73b0c4627ddbeb649dddcca4b24b59 | [
"MIT"
] | null | null | null | from .updater import FedoraUpdater
__all__ = [FedoraUpdater]
| 15.5 | 34 | 0.806452 | 6 | 62 | 7.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 62 | 3 | 35 | 20.666667 | 0.851852 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 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 | 3 |
0c5442bfc1ee309f4ca9f49956688b283d424edc | 1,687 | py | Python | eva/catalog/df_schema.py | LordDarkula/eva | 93433bc88f361c277690c9e31f1b8de657f25823 | [
"Apache-2.0"
] | null | null | null | eva/catalog/df_schema.py | LordDarkula/eva | 93433bc88f361c277690c9e31f1b8de657f25823 | [
"Apache-2.0"
] | null | null | null | eva/catalog/df_schema.py | LordDarkula/eva | 93433bc88f361c277690c9e31f1b8de657f25823 | [
"Apache-2.0"
] | null | null | null | # coding=utf-8
# Copyright 2018-2020 EVA
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to ... | 29.596491 | 74 | 0.700059 | 225 | 1,687 | 5.022222 | 0.422222 | 0.079646 | 0.061947 | 0.028319 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009901 | 0.221695 | 1,687 | 56 | 75 | 30.125 | 0.850724 | 0.330765 | 0 | 0.133333 | 0 | 0 | 0.01167 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.233333 | false | 0 | 0.1 | 0.166667 | 0.566667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
0c641125a598ebb1a1b2a1ccdcd0e78f374defe8 | 1,203 | py | Python | system_monitor/tests/test_exception_handling.py | weijia/system-monitor | 1f7f7275905d32e0d76e446609a681a728042fbd | [
"MIT"
] | null | null | null | system_monitor/tests/test_exception_handling.py | weijia/system-monitor | 1f7f7275905d32e0d76e446609a681a728042fbd | [
"MIT"
] | null | null | null | system_monitor/tests/test_exception_handling.py | weijia/system-monitor | 1f7f7275905d32e0d76e446609a681a728042fbd | [
"MIT"
] | null | null | null | from django.test import TestCase
from system_monitor.cmd_handler_with_alarm_report import CmdHandlerWithAlarmReport
# noinspection PyMethodMayBeStatic
class HandlerClassBaseStub(object):
def get_task_object_ufs_url(self):
return "ufs://handler_class_stub"
def get_subject_for_error(self):
ret... | 25.0625 | 82 | 0.768911 | 112 | 1,203 | 8.017857 | 0.410714 | 0.044543 | 0.080178 | 0.035635 | 0.129176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173732 | 1,203 | 47 | 83 | 25.595745 | 0.903421 | 0.054032 | 0 | 0.142857 | 0 | 0 | 0.061674 | 0.021145 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0.035714 | 0.071429 | 0.142857 | 0.785714 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
a759467b5f569ab342151510b3bf8f6e3b52449e | 404 | py | Python | 519-DeepLearning/assignment1/NN/Loss.py | neale/CS-program | 6fef9c39579143bde0ab5d1ec5fedc7210e55814 | [
"Unlicense"
] | 1 | 2016-10-24T13:36:23.000Z | 2016-10-24T13:36:23.000Z | 519-DeepLearning/assignment1/NN/Loss.py | neale/CS-program | 6fef9c39579143bde0ab5d1ec5fedc7210e55814 | [
"Unlicense"
] | null | null | null | 519-DeepLearning/assignment1/NN/Loss.py | neale/CS-program | 6fef9c39579143bde0ab5d1ec5fedc7210e55814 | [
"Unlicense"
] | null | null | null | import numpy as np
class CrossEntropy(object):
def __init__(self):
pass
def forward(self, out, y):
loss = lambda x, y: -(y*np.log(x +.0001)) - ((1.01 - y) * np.log(1.01 - x))
if out.ndim > 1:
return np.mean(loss(out, y))
else:
return loss(ou... | 18.363636 | 83 | 0.490099 | 58 | 404 | 3.344828 | 0.482759 | 0.103093 | 0.082474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042969 | 0.366337 | 404 | 21 | 84 | 19.238095 | 0.714844 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.083333 | 0.083333 | 0.083333 | 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 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
a75990ee887c616128c3876060a09c657908324b | 2,359 | py | Python | src/tests/test_Problem41.py | Joyce-NL/gep-python-coding-challenge | 58639076537535870eedb9909135788909fb6fc3 | [
"MIT"
] | null | null | null | src/tests/test_Problem41.py | Joyce-NL/gep-python-coding-challenge | 58639076537535870eedb9909135788909fb6fc3 | [
"MIT"
] | null | null | null | src/tests/test_Problem41.py | Joyce-NL/gep-python-coding-challenge | 58639076537535870eedb9909135788909fb6fc3 | [
"MIT"
] | null | null | null | import unittest
from Problem41 import find_largest_pandigital_prime, is_prime_number
class TestProblem41(unittest.TestCase):
def test_main_function(self):
self.assertEqual(find_largest_pandigital_prime(1, 9), 7652413, 'the result of the function does not match the expected result.')
self.assertEqua... | 60.487179 | 136 | 0.726155 | 331 | 2,359 | 4.936556 | 0.175227 | 0.100979 | 0.192778 | 0.238678 | 0.746022 | 0.685435 | 0.616891 | 0.590575 | 0.560588 | 0.560588 | 0 | 0.034573 | 0.190759 | 2,359 | 38 | 137 | 62.078947 | 0.821372 | 0 | 0 | 0 | 0 | 0 | 0.322594 | 0 | 0 | 0 | 0 | 0 | 0.4375 | 1 | 0.125 | false | 0 | 0.0625 | 0 | 0.21875 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a75a81a34e3334c7472b1edc99a625a2bb63418b | 408 | py | Python | Data Structures/Array/ElementInInfiniteArray.py | prabhupant/daily-coding-problem | b3775dd0ad823823e60100624ccf14235c446098 | [
"MIT"
] | null | null | null | Data Structures/Array/ElementInInfiniteArray.py | prabhupant/daily-coding-problem | b3775dd0ad823823e60100624ccf14235c446098 | [
"MIT"
] | null | null | null | Data Structures/Array/ElementInInfiniteArray.py | prabhupant/daily-coding-problem | b3775dd0ad823823e60100624ccf14235c446098 | [
"MIT"
] | null | null | null | def binary_search(arr, l, r, x):
while l =< r:
mid = l + (r-l)/2
if arr[mid] == x:
return mid
elif arr[mid] > x:
r = mid - 1
else:
l = mid + 1
return -1
def find_pos(arr, key):
l = 0
h = 1
val = arr[0]
while val < key:
... | 17 | 40 | 0.401961 | 64 | 408 | 2.515625 | 0.328125 | 0.037267 | 0.186335 | 0.198758 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 0.470588 | 408 | 23 | 41 | 17.73913 | 0.708333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a774603173901e2d73069f0e8070e5c90eecb671 | 4,939 | py | Python | src/Core/DevOps/Locust/common/store_api.py | michielkalle/platform | 72987304b01c1c666c7ac2896ac4157f2e1468c1 | [
"MIT"
] | null | null | null | src/Core/DevOps/Locust/common/store_api.py | michielkalle/platform | 72987304b01c1c666c7ac2896ac4157f2e1468c1 | [
"MIT"
] | null | null | null | src/Core/DevOps/Locust/common/store_api.py | michielkalle/platform | 72987304b01c1c666c7ac2896ac4157f2e1468c1 | [
"MIT"
] | null | null | null | import random
import json
import uuid
import time
import requests
from locust.exception import RescheduleTask
class StoreApi:
context: None
def __init__(self, client, context):
self.context = context
self.client = client
self.currency_id = random.choice(self.context.sales_channel['curr... | 36.858209 | 135 | 0.620166 | 533 | 4,939 | 5.692308 | 0.210131 | 0.068886 | 0.100198 | 0.118985 | 0.409031 | 0.390574 | 0.290046 | 0.156559 | 0.071193 | 0.071193 | 0 | 0.003429 | 0.232436 | 4,939 | 133 | 136 | 37.135338 | 0.796887 | 0 | 0 | 0.09901 | 0 | 0 | 0.240583 | 0.064601 | 0 | 0 | 0 | 0 | 0 | 1 | 0.217822 | false | 0.009901 | 0.059406 | 0.168317 | 0.514851 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
a77c4356baff61d2b6990feb7435af8aa0153e4c | 1,750 | py | Python | Project Code/Statistic with Numpy/Project 3 Election Results/script.py | BIGG000/Data-Science-Learning-Track | 46df939699fd6b2c1ee3ce5d35c51a250faa1bce | [
"MIT"
] | 2 | 2020-10-15T22:52:00.000Z | 2020-11-22T16:13:20.000Z | Project Code/Statistic with Numpy/Project 3 Election Results/script.py | BIGG000/Data-Science-Learning-Track | 46df939699fd6b2c1ee3ce5d35c51a250faa1bce | [
"MIT"
] | null | null | null | Project Code/Statistic with Numpy/Project 3 Election Results/script.py | BIGG000/Data-Science-Learning-Track | 46df939699fd6b2c1ee3ce5d35c51a250faa1bce | [
"MIT"
] | null | null | null | import codecademylib
import numpy as np
import matplotlib.pyplot as plt
survey_responses = ['Ceballos', 'Kerrigan', 'Ceballos', 'Ceballos', 'Ceballos','Kerrigan', 'Kerrigan', 'Ceballos', 'Ceballos', 'Ceballos',
'Kerrigan', 'Kerrigan', 'Ceballos', 'Ceballos', 'Kerrigan', 'Kerrigan', 'Ceballos', 'Ceballos', 'Kerrigan',... | 51.470588 | 239 | 0.724 | 211 | 1,750 | 5.876777 | 0.218009 | 0.309677 | 0.232258 | 0.283871 | 0.545161 | 0.532258 | 0.532258 | 0.532258 | 0.525806 | 0.487097 | 0 | 0.025498 | 0.081143 | 1,750 | 33 | 240 | 53.030303 | 0.745647 | 0.032571 | 0 | 0 | 0 | 0 | 0.373373 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 0.238095 | 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 | 0 | 0 | 3 |
a7aeafb18ee175e470c2818aad6a821f78ee2207 | 115 | py | Python | deploy/virenv/lib/python2.7/site-packages/ptrace/version.py | wangvictor2012/liuwei | 0a06f8fd56d78162f81f1e7e7def7bfdeb4472e1 | [
"BSD-3-Clause"
] | null | null | null | deploy/virenv/lib/python2.7/site-packages/ptrace/version.py | wangvictor2012/liuwei | 0a06f8fd56d78162f81f1e7e7def7bfdeb4472e1 | [
"BSD-3-Clause"
] | null | null | null | deploy/virenv/lib/python2.7/site-packages/ptrace/version.py | wangvictor2012/liuwei | 0a06f8fd56d78162f81f1e7e7def7bfdeb4472e1 | [
"BSD-3-Clause"
] | null | null | null | PACKAGE = "python-ptrace"
VERSION = "0.9"
WEBSITE = "http://python-ptrace.readthedocs.org/"
LICENSE = "GNU GPL v2"
| 23 | 49 | 0.695652 | 16 | 115 | 5 | 0.875 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029703 | 0.121739 | 115 | 4 | 50 | 28.75 | 0.762376 | 0 | 0 | 0 | 0 | 0 | 0.547826 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a7be5b85b4ff0b938aed4d77c1eb70318f8a2920 | 52 | py | Python | datacoco_email_tools/__init__.py | equinoxfitness/datacoco-email_tools | 4ed70d3d57d40954622e1a0a22dda2c0619b9e7a | [
"MIT"
] | 2 | 2020-01-09T09:25:11.000Z | 2020-01-15T13:33:16.000Z | datacoco_email_tools/__init__.py | meikalei/datacoco-email_tools | fd230187589293ace9f67cec8e1c71765e959e08 | [
"MIT"
] | null | null | null | datacoco_email_tools/__init__.py | meikalei/datacoco-email_tools | fd230187589293ace9f67cec8e1c71765e959e08 | [
"MIT"
] | 2 | 2020-01-08T14:00:21.000Z | 2021-06-23T10:59:38.000Z | from .email_tools import Email
__all__ = ["Email"]
| 13 | 30 | 0.730769 | 7 | 52 | 4.714286 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 52 | 3 | 31 | 17.333333 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.096154 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
a7c0d21cad36acc10da2753e5d9383bc15620a24 | 771 | py | Python | PlanheatMappingModule/PlanHeatDMM/model/refurbishment_level.py | Planheat/Planheat-Tool | 9764fcb86d3898b232c4cc333dab75ebe41cd421 | [
"MIT"
] | 2 | 2020-04-07T03:43:33.000Z | 2021-03-23T13:17:42.000Z | PlanheatMappingModule/PlanHeatDMM/model/refurbishment_level.py | Planheat/Planheat-Tool | 9764fcb86d3898b232c4cc333dab75ebe41cd421 | [
"MIT"
] | 1 | 2020-07-20T09:56:13.000Z | 2020-07-22T10:26:06.000Z | PlanheatMappingModule/PlanHeatDMM/model/refurbishment_level.py | Planheat/Planheat-Tool | 9764fcb86d3898b232c4cc333dab75ebe41cd421 | [
"MIT"
] | 1 | 2020-07-20T09:40:15.000Z | 2020-07-20T09:40:15.000Z | # -*- coding: utf-8 -*-
"""
Model Map refurbishment_level table
:author: Sergio Aparicio Vegas
:version: 0.2
:date: 29 Nov 2017
"""
__docformat__ = "restructuredtext"
class RefurbishmentLevel():
""" Refurbishment level options """
def __init__(self):
self.__id = 0
self._... | 19.275 | 68 | 0.50454 | 77 | 771 | 4.675325 | 0.428571 | 0.066667 | 0.05 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021097 | 0.385214 | 771 | 40 | 69 | 19.275 | 0.738397 | 0.203632 | 0 | 0.105263 | 0 | 0 | 0.044143 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.315789 | false | 0 | 0 | 0.157895 | 0.526316 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
a7caf594d96d04a564b9da163b1661cf7ae48cfe | 92 | py | Python | med_files_api/medicine/apps.py | TheProrok29/med-files-api | 4f00ea016143f04106fce34e86c630081ed6d46a | [
"MIT"
] | null | null | null | med_files_api/medicine/apps.py | TheProrok29/med-files-api | 4f00ea016143f04106fce34e86c630081ed6d46a | [
"MIT"
] | 6 | 2021-03-30T13:02:39.000Z | 2022-03-12T00:24:41.000Z | med_files_api/medicine/apps.py | TheProrok29/med-files-api | 4f00ea016143f04106fce34e86c630081ed6d46a | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class MedicinesConfig(AppConfig):
name = 'medicine'
| 15.333333 | 33 | 0.76087 | 10 | 92 | 7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163043 | 92 | 5 | 34 | 18.4 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 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 | 0 | 0 | 0 | 3 |
a7d69a02c31fbc23a5869db104324cb1fbba9dab | 1,003 | py | Python | users/migrations/0005_auto_20210214_0117.py | LuisManuelGlz/twitter-clone-server | a794f3322b9a02b480f026e4ce1342f9c4641d7d | [
"MIT"
] | null | null | null | users/migrations/0005_auto_20210214_0117.py | LuisManuelGlz/twitter-clone-server | a794f3322b9a02b480f026e4ce1342f9c4641d7d | [
"MIT"
] | null | null | null | users/migrations/0005_auto_20210214_0117.py | LuisManuelGlz/twitter-clone-server | a794f3322b9a02b480f026e4ce1342f9c4641d7d | [
"MIT"
] | null | null | null | # Generated by Django 3.1.6 on 2021-02-14 01:17
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('users', '0004_auto_20210212_0515'),
]
operations = [
migrations.AddField(
model_name='profile',
name='followers',
... | 29.5 | 121 | 0.591226 | 97 | 1,003 | 5.938144 | 0.443299 | 0.114583 | 0.159722 | 0.1875 | 0.711806 | 0.711806 | 0.586806 | 0.392361 | 0.392361 | 0.211806 | 0 | 0.046154 | 0.287139 | 1,003 | 33 | 122 | 30.393939 | 0.759441 | 0.044865 | 0 | 0.518519 | 1 | 0 | 0.177824 | 0.024059 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.037037 | 0 | 0.148148 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a7d8c6b26c4932d169601dc3941f353ab4be4cb1 | 852 | py | Python | src/model/create_dataset.py | Nix-code/Nix-code-Neural-Machine-Translation-communication-system-to-diminish-language-barrier | f54d3ad007a3a6b20101522bf9cc6300fb89cdf7 | [
"MIT"
] | 9 | 2021-12-31T01:31:41.000Z | 2022-01-09T12:24:28.000Z | src/model/create_dataset.py | Nix-code/Nix-code-Neural-Machine-Translation-communication-system-to-diminish-language-barrier | f54d3ad007a3a6b20101522bf9cc6300fb89cdf7 | [
"MIT"
] | null | null | null | src/model/create_dataset.py | Nix-code/Nix-code-Neural-Machine-Translation-communication-system-to-diminish-language-barrier | f54d3ad007a3a6b20101522bf9cc6300fb89cdf7 | [
"MIT"
] | 2 | 2021-12-31T01:31:44.000Z | 2022-01-04T11:41:39.000Z | # Neural Machine Translation communication system
from preprocess import*
"""
Cleaning the messages for better data processing.
Making two langauge pairs
"""
def create_dataset(location, sample_size):
"""Location is the path of the data and
sample_size is the total size we are taking
from entire dataset. S... | 29.37931 | 89 | 0.710094 | 128 | 852 | 4.625 | 0.554688 | 0.084459 | 0.060811 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009986 | 0.17723 | 852 | 28 | 90 | 30.428571 | 0.834522 | 0.271127 | 0 | 0 | 0 | 0 | 0.021077 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0.111111 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
a7d9b4905a19b571128e06acc5f63faa268622ea | 87 | py | Python | 2 semester/PW/Coursera/Python/5 Week/8.py | kurpenok/Labs | 069c92b7964a1445d093313b38ebdc56318d2a73 | [
"MIT"
] | 1 | 2022-02-06T17:50:25.000Z | 2022-02-06T17:50:25.000Z | 2 semester/PW/Coursera/Python/5 Week/8.py | kurpenok/Labs | 069c92b7964a1445d093313b38ebdc56318d2a73 | [
"MIT"
] | null | null | null | 2 semester/PW/Coursera/Python/5 Week/8.py | kurpenok/Labs | 069c92b7964a1445d093313b38ebdc56318d2a73 | [
"MIT"
] | 1 | 2022-03-02T06:45:06.000Z | 2022-03-02T06:45:06.000Z | a = list(map(int, input().split()))
print(max(a), len(a) - a[::-1].index(max(a)) - 1)
| 21.75 | 49 | 0.528736 | 17 | 87 | 2.705882 | 0.647059 | 0.173913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026316 | 0.126437 | 87 | 3 | 50 | 29 | 0.578947 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
a7dcfaa1aacc650fb632393dfedcdb4b5e0f1eb7 | 549 | py | Python | Model/User.py | TheConstructRIT/Machine-Swipe-System | 857e5c5205638a212736d58ac9e1ae27fa300946 | [
"MIT"
] | null | null | null | Model/User.py | TheConstructRIT/Machine-Swipe-System | 857e5c5205638a212736d58ac9e1ae27fa300946 | [
"MIT"
] | null | null | null | Model/User.py | TheConstructRIT/Machine-Swipe-System | 857e5c5205638a212736d58ac9e1ae27fa300946 | [
"MIT"
] | null | null | null | """
Zachary Cook
Class representing a lab user.
"""
"""
Class for a user.
"""
class User():
"""
Constructor for the user.
"""
def __init__(self,id,maxSessionTime,accessType="UNAUTHORIZED"):
self.id = id
self.accessType = accessType
self.maxSessionTime = maxSessionTime
"""
Returns the user's id.
"""
de... | 15.25 | 64 | 0.68306 | 68 | 549 | 5.455882 | 0.426471 | 0.056604 | 0.113208 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183971 | 549 | 36 | 65 | 15.25 | 0.828125 | 0.127505 | 0 | 0 | 0 | 0 | 0.037383 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.363636 | false | 0 | 0 | 0.272727 | 0.727273 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
38ef2f6abf203e5524bd4b5ec3b28f9fb7b7e241 | 36,490 | py | Python | pycatia/hybrid_shape_interfaces/hybrid_shape_sweep_conic.py | evereux/catia_python | 08948585899b12587b0415ce3c9191a408b34897 | [
"MIT"
] | 90 | 2019-02-21T10:05:28.000Z | 2022-03-19T01:53:41.000Z | pycatia/hybrid_shape_interfaces/hybrid_shape_sweep_conic.py | Luanee/pycatia | ea5eef8178f73de12404561c00baf7a7ca30da59 | [
"MIT"
] | 99 | 2019-05-21T08:29:12.000Z | 2022-03-25T09:55:15.000Z | pycatia/hybrid_shape_interfaces/hybrid_shape_sweep_conic.py | Luanee/pycatia | ea5eef8178f73de12404561c00baf7a7ca30da59 | [
"MIT"
] | 26 | 2019-04-04T06:31:36.000Z | 2022-03-30T07:24:47.000Z | #! usr/bin/python3.6
"""
Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-07-06 14:02:20.222384
.. warning::
The notes denoted "CAA V5 Visual Basic Help" are to be used as reference only.
They are there as a guide as to how the visual basic / catscript function... | 37.425641 | 119 | 0.565799 | 3,890 | 36,490 | 5.133933 | 0.084576 | 0.036353 | 0.051274 | 0.066246 | 0.735517 | 0.676531 | 0.602173 | 0.57223 | 0.557208 | 0.546142 | 0 | 0.036992 | 0.362154 | 36,490 | 974 | 120 | 37.464066 | 0.821053 | 0.60929 | 0 | 0.125 | 1 | 0 | 0.004293 | 0.004293 | 0 | 0 | 0 | 0 | 0 | 1 | 0.352941 | false | 0 | 0.029412 | 0.007353 | 0.639706 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
ac131b8245d5044a1d1954cbe329ce3bab401b27 | 242 | py | Python | {{cookiecutter.project_slug}}/src/users/factory.py | nvo87/django | fd07fb74ab59e868c73512cd0ca4952129b44cd8 | [
"MIT"
] | 98 | 2020-04-21T20:22:16.000Z | 2021-06-07T12:33:51.000Z | {{cookiecutter.project_slug}}/src/users/factory.py | nvo87/django | fd07fb74ab59e868c73512cd0ca4952129b44cd8 | [
"MIT"
] | 70 | 2020-04-21T21:59:49.000Z | 2021-06-13T13:35:01.000Z | {{cookiecutter.project_slug}}/src/users/factory.py | ginsenghillock/django | 65ab4f52897ca7efdfde347383153fca4f2d2c14 | [
"MIT"
] | 23 | 2020-04-23T06:03:13.000Z | 2021-06-09T06:59:34.000Z | from django.contrib.auth.models import AnonymousUser
from app.testing import register
@register
def user(self, **kwargs):
return self.mixer.blend('users.User', **kwargs)
@register
def anon(self, **kwargs):
return AnonymousUser()
| 17.285714 | 52 | 0.735537 | 31 | 242 | 5.741935 | 0.612903 | 0.123596 | 0.179775 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140496 | 242 | 13 | 53 | 18.615385 | 0.855769 | 0 | 0 | 0.25 | 0 | 0 | 0.041322 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
ac383c785b7e03f22fe53c30a131bdc8776ecf99 | 186 | py | Python | amazon/sentiment.py | chanduparmar/Amazon_Website_Scraping_Scrapy | e63dd2592bc1ba9de26d091f398f29a8200592b6 | [
"MIT"
] | 4 | 2018-06-27T15:52:17.000Z | 2020-01-11T14:44:09.000Z | amazon/sentiment.py | chanduparmar/Amazon_Website_Scraping_Scrapy | e63dd2592bc1ba9de26d091f398f29a8200592b6 | [
"MIT"
] | null | null | null | amazon/sentiment.py | chanduparmar/Amazon_Website_Scraping_Scrapy | e63dd2592bc1ba9de26d091f398f29a8200592b6 | [
"MIT"
] | 2 | 2018-08-24T03:27:42.000Z | 2020-09-01T00:46:01.000Z | import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
import nltk
from nltk.corpus import stopwords
amazon = pd.read_csv('amazon.csv')
print(amazon.head())
| 20.666667 | 35 | 0.736559 | 29 | 186 | 4.689655 | 0.62069 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188172 | 186 | 8 | 36 | 23.25 | 0.900662 | 0 | 0 | 0 | 0 | 0 | 0.05618 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.714286 | 0 | 0.714286 | 0.142857 | 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 | 0 | 0 | 0 | 3 |
ac48806aabb549d4efbed82ef7a386e8484be02c | 152 | py | Python | HSInfo/projeto/apps.py | burgues0/django-basic-site | 3ea157f0c8aa3dd02c42edb2d448e6e2bddf7c07 | [
"MIT"
] | null | null | null | HSInfo/projeto/apps.py | burgues0/django-basic-site | 3ea157f0c8aa3dd02c42edb2d448e6e2bddf7c07 | [
"MIT"
] | null | null | null | HSInfo/projeto/apps.py | burgues0/django-basic-site | 3ea157f0c8aa3dd02c42edb2d448e6e2bddf7c07 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class ProjetoConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField'
name = 'projeto'
| 21.714286 | 57 | 0.730263 | 17 | 152 | 6.411765 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184211 | 152 | 6 | 58 | 25.333333 | 0.879032 | 0 | 0 | 0 | 0 | 0 | 0.246575 | 0.19863 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
ac66701fa623f9a900363e426640453944b4eaa4 | 1,114 | py | Python | petra_viewer/widgets/batch_progress.py | yamedvedya/data_viewer | c6238b71edcf0178ebe8ab8f9bf6e56e41cd4916 | [
"MIT"
] | null | null | null | petra_viewer/widgets/batch_progress.py | yamedvedya/data_viewer | c6238b71edcf0178ebe8ab8f9bf6e56e41cd4916 | [
"MIT"
] | null | null | null | petra_viewer/widgets/batch_progress.py | yamedvedya/data_viewer | c6238b71edcf0178ebe8ab8f9bf6e56e41cd4916 | [
"MIT"
] | null | null | null | # Created by matveyev at 06.05.2021
from PyQt5 import QtCore, QtWidgets
from petra_viewer.gui.batch_ui import Ui_batch
# ----------------------------------------------------------------------
class BatchProgress(QtWidgets.QWidget):
stop_batch = QtCore.pyqtSignal()
# ---------------------------------------... | 30.944444 | 76 | 0.443447 | 98 | 1,114 | 4.72449 | 0.479592 | 0.090713 | 0.043197 | 0.060475 | 0.103672 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014054 | 0.169659 | 1,114 | 36 | 77 | 30.944444 | 0.486486 | 0.346499 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.210526 | false | 0.052632 | 0.105263 | 0 | 0.421053 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
ac6729f293b2af4b4c8b40274b0a9e23f390dbd2 | 2,167 | py | Python | src/xsd_members/migrations/0005_auto_djfb_to_allauth.py | minyiky/xSACdb | 8c407e9a9da196750a66ad53613ad67c8c56e1c3 | [
"MIT"
] | 2 | 2017-08-14T14:40:17.000Z | 2019-02-07T13:10:23.000Z | src/xsd_members/migrations/0005_auto_djfb_to_allauth.py | minyiky/xSACdb | 8c407e9a9da196750a66ad53613ad67c8c56e1c3 | [
"MIT"
] | 19 | 2016-02-07T18:02:53.000Z | 2019-11-03T17:48:13.000Z | src/xsd_members/migrations/0005_auto_djfb_to_allauth.py | minyiky/xSACdb | 8c407e9a9da196750a66ad53613ad67c8c56e1c3 | [
"MIT"
] | 4 | 2015-10-19T17:24:35.000Z | 2021-05-12T07:30:32.000Z | # -*- coding: utf-8 -*-
from django.db import models, migrations
from allauth.socialaccount.models import SocialAccount
def copy_fb_data(apps, schema_editor):
model = apps.get_model('xsd_members', 'MemberProfile')
db_alias = schema_editor.connection.alias
objects = model.objects.using(db_alias).all()
... | 27.782051 | 58 | 0.552377 | 189 | 2,167 | 6.084656 | 0.37037 | 0.20087 | 0.248696 | 0.286957 | 0.489565 | 0.489565 | 0.326087 | 0 | 0 | 0 | 0 | 0.011989 | 0.345639 | 2,167 | 77 | 59 | 28.142857 | 0.799013 | 0.009691 | 0 | 0.485294 | 0 | 0 | 0.159515 | 0.010728 | 0 | 0 | 0 | 0 | 0 | 1 | 0.014706 | false | 0 | 0.029412 | 0 | 0.088235 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ac6da854a5c70eca78a1ec0e02d5e686614664c1 | 225 | py | Python | Files_WebScraping/Task8.py | VikashK21/Coders_Life | 89af8bba2163d6331b760de33786caa49892da33 | [
"MIT"
] | 1 | 2021-11-30T10:30:16.000Z | 2021-11-30T10:30:16.000Z | Files_WebScraping/Task8.py | VikashK21/WebScraping | 560f316a787c4c3e8b51fc83a23acbc80cdb8fe5 | [
"MIT"
] | null | null | null | Files_WebScraping/Task8.py | VikashK21/WebScraping | 560f316a787c4c3e8b51fc83a23acbc80cdb8fe5 | [
"MIT"
] | null | null | null |
# This question is just about the json files that is also known as cache files.
# Which we have already used in the previous tasks, the json files.
# In the json file we can easily access the data without any network issue.
| 45 | 79 | 0.768889 | 41 | 225 | 4.219512 | 0.731707 | 0.121387 | 0.138728 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 225 | 4 | 80 | 56.25 | 0.961111 | 0.964444 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ac78faaba19c9f97aad2d30987c5c2da9d0d658b | 108 | py | Python | factorial.py | varunverma760/Python | c55ad3aeb4c752c2b0a9e665631f1f7ead0b3390 | [
"MIT"
] | null | null | null | factorial.py | varunverma760/Python | c55ad3aeb4c752c2b0a9e665631f1f7ead0b3390 | [
"MIT"
] | null | null | null | factorial.py | varunverma760/Python | c55ad3aeb4c752c2b0a9e665631f1f7ead0b3390 | [
"MIT"
] | null | null | null | result =1
i=1
while i<=100:
result=result*i
i=i+1
pass
print("the factorial is {}".format(result)) | 15.428571 | 44 | 0.638889 | 20 | 108 | 3.45 | 0.55 | 0.057971 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 0.194444 | 108 | 7 | 44 | 15.428571 | 0.724138 | 0 | 0 | 0 | 0 | 0 | 0.184466 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.142857 | 0 | 0 | 0 | 0.142857 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
3bb500d29f1b13b4e466a76752e72eeea0bd74be | 223 | py | Python | src/wsgi.py | Shroud007/cappa | f820423374fa7914e66e4e16ad275fd53621c43c | [
"MIT"
] | null | null | null | src/wsgi.py | Shroud007/cappa | f820423374fa7914e66e4e16ad275fd53621c43c | [
"MIT"
] | null | null | null | src/wsgi.py | Shroud007/cappa | f820423374fa7914e66e4e16ad275fd53621c43c | [
"MIT"
] | null | null | null | import os
import sys
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "src.settings")
sys.path[0:0] = [os.path.expanduser("~/django")]
from django.core.wsgi import get_wsgi_application
application = get_wsgi_application()
| 24.777778 | 63 | 0.784753 | 32 | 223 | 5.28125 | 0.53125 | 0.08284 | 0.213018 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009756 | 0.080717 | 223 | 8 | 64 | 27.875 | 0.814634 | 0 | 0 | 0 | 0 | 0 | 0.189189 | 0.099099 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 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 | 3 |
3bbc1b0e8e151488a8053085791b77987f8188dc | 175,375 | py | Python | models_all_solvable2/rsyn0830m02h.py | grossmann-group/pyomo-MINLP-benchmarking | 714f0a0dffd61675649a805683c0627af6b4929e | [
"MIT"
] | 7 | 2019-05-08T19:14:34.000Z | 2021-12-24T00:00:40.000Z | models_all_solvable2/rsyn0830m02h.py | grossmann-group/pyomo-MINLP-benchmarking | 714f0a0dffd61675649a805683c0627af6b4929e | [
"MIT"
] | null | null | null | models_all_solvable2/rsyn0830m02h.py | grossmann-group/pyomo-MINLP-benchmarking | 714f0a0dffd61675649a805683c0627af6b4929e | [
"MIT"
] | 2 | 2020-05-21T22:15:51.000Z | 2020-06-02T23:02:08.000Z | # MINLP written by GAMS Convert at 05/15/20 00:51:16
#
# Equation counts
# Total E G L N X C B
# 1795 749 86 960 0 0 0 0
#
# Variable counts
# x b i s1s s2s sc ... | 36.460499 | 120 | 0.648964 | 31,430 | 175,375 | 3.621126 | 0.10035 | 0.047781 | 0.215751 | 0.162373 | 0.559133 | 0.470355 | 0.429867 | 0.422047 | 0.403349 | 0.001968 | 0 | 0.228884 | 0.145152 | 175,375 | 4,809 | 121 | 36.468081 | 0.530273 | 0.003877 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.000334 | 0 | 0.000334 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3be1b2164010153e4fdee605230ce759c3718059 | 112 | py | Python | archive/deep-learning/test-tensorflow-gpu.py | ajrichards/bayesian-examples | fbd87c6f1613ea516408e9ebc3c9eff1248246e4 | [
"BSD-3-Clause"
] | 2 | 2016-01-27T08:51:23.000Z | 2017-04-17T02:21:34.000Z | archive/deep-learning/test-tensorflow-gpu.py | ajrichards/notebook | fbd87c6f1613ea516408e9ebc3c9eff1248246e4 | [
"BSD-3-Clause"
] | null | null | null | archive/deep-learning/test-tensorflow-gpu.py | ajrichards/notebook | fbd87c6f1613ea516408e9ebc3c9eff1248246e4 | [
"BSD-3-Clause"
] | null | null | null | import tensorflow as tf
tf.test.is_gpu_available(
cuda_only=False,
min_cuda_compute_capability=None
)
| 14 | 36 | 0.776786 | 17 | 112 | 4.764706 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160714 | 112 | 7 | 37 | 16 | 0.861702 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 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 | 0 | 0 | 0 | 3 |
3bfc6e2ca836f89035445c3b699f7a84051caa62 | 4,760 | py | Python | dev/Gems/CloudGemWebCommunicator/AWS/common-code/aws_iot_device_sdk_python/AWSIoTPythonSDK/exception/AWSIoTExceptions.py | jeikabu/lumberyard | 07228c605ce16cbf5aaa209a94a3cb9d6c1a4115 | [
"AML"
] | 8 | 2019-10-07T16:33:47.000Z | 2020-12-07T03:59:58.000Z | dev/Gems/CloudGemWebCommunicator/AWS/common-code/aws_iot_device_sdk_python/AWSIoTPythonSDK/exception/AWSIoTExceptions.py | jeikabu/lumberyard | 07228c605ce16cbf5aaa209a94a3cb9d6c1a4115 | [
"AML"
] | null | null | null | dev/Gems/CloudGemWebCommunicator/AWS/common-code/aws_iot_device_sdk_python/AWSIoTPythonSDK/exception/AWSIoTExceptions.py | jeikabu/lumberyard | 07228c605ce16cbf5aaa209a94a3cb9d6c1a4115 | [
"AML"
] | 5 | 2020-08-27T20:44:18.000Z | 2021-08-21T22:54:11.000Z | # /*
# * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. 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.
# * A copy of the License is located at
# *
# * http://aws.amazon.com/apache2.0
# *
# * or i... | 32.162162 | 89 | 0.760504 | 465 | 4,760 | 7.556989 | 0.301075 | 0.084519 | 0.078258 | 0.179283 | 0.47325 | 0.415196 | 0.293682 | 0.211725 | 0 | 0 | 0 | 0.002997 | 0.158824 | 4,760 | 147 | 90 | 32.380952 | 0.874625 | 0.143908 | 0 | 0.324675 | 0 | 0 | 0.166708 | 0.005179 | 0 | 0 | 0 | 0 | 0 | 1 | 0.324675 | false | 0 | 0.025974 | 0 | 0.675325 | 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 | 0 | 1 | 0 | 0 | 3 |
ce2e7146a4c1f5004c3c25153ec6c3c5bb5e9e80 | 101 | py | Python | django_email_test/__init__.py | morlandi/django-email-test | c59ad3652a08a7e580a6888cd9c0615d20034a1f | [
"BSD-3-Clause"
] | 1 | 2020-10-05T21:01:42.000Z | 2020-10-05T21:01:42.000Z | django_email_test/__init__.py | morlandi/django-email-test | c59ad3652a08a7e580a6888cd9c0615d20034a1f | [
"BSD-3-Clause"
] | null | null | null | django_email_test/__init__.py | morlandi/django-email-test | c59ad3652a08a7e580a6888cd9c0615d20034a1f | [
"BSD-3-Clause"
] | 1 | 2020-10-05T21:01:56.000Z | 2020-10-05T21:01:56.000Z | VERSION = (0, 0, 5)
__version__ = "".join([".".join(map(str, VERSION[0:3])), "".join(VERSION[3:])])
| 25.25 | 79 | 0.554455 | 15 | 101 | 3.466667 | 0.466667 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 0.108911 | 101 | 3 | 80 | 33.666667 | 0.511111 | 0 | 0 | 0 | 0 | 0 | 0.009901 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ce331d2683df658a6cea5c610e302e81e46f1c00 | 720 | py | Python | provy/more/centos/networking/hosts.py | timgates42/provy | ca3d5e96a2210daf3c1fd4b96e047efff152db14 | [
"MIT"
] | 15 | 2015-01-28T15:49:28.000Z | 2021-09-02T18:49:46.000Z | provy/more/centos/networking/hosts.py | timgates42/provy | ca3d5e96a2210daf3c1fd4b96e047efff152db14 | [
"MIT"
] | null | null | null | provy/more/centos/networking/hosts.py | timgates42/provy | ca3d5e96a2210daf3c1fd4b96e047efff152db14 | [
"MIT"
] | 3 | 2016-12-05T07:08:11.000Z | 2021-12-26T04:31:05.000Z | #!/usr/bin/python
# -*- coding: utf-8 -*-
'''
Roles in this namespace are meant to provide hosts management operations for centos distributions.
'''
from provy.more.linux.networking.hosts import HostsRole as Hosts
class HostsRole(Hosts):
'''
This role provides hosts file management utilities for centos dist... | 25.714286 | 98 | 0.659722 | 89 | 720 | 5.325843 | 0.58427 | 0.056962 | 0.092827 | 0.101266 | 0.122363 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012821 | 0.241667 | 720 | 27 | 99 | 26.666667 | 0.855311 | 0.776389 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
ce395ff788e31ac7c9bcfb124ec558832cba32f2 | 43 | py | Python | laserAtomTrap/src/__init__.py | statisdisc/modellingAndSimulation | 1458e7b7a527a4835c5a545f5899b6f1e4d80f92 | [
"Python-2.0",
"OLDAP-2.7"
] | null | null | null | laserAtomTrap/src/__init__.py | statisdisc/modellingAndSimulation | 1458e7b7a527a4835c5a545f5899b6f1e4d80f92 | [
"Python-2.0",
"OLDAP-2.7"
] | null | null | null | laserAtomTrap/src/__init__.py | statisdisc/modellingAndSimulation | 1458e7b7a527a4835c5a545f5899b6f1e4d80f92 | [
"Python-2.0",
"OLDAP-2.7"
] | null | null | null | __all__ = ["objects", "plots", "utilities"] | 43 | 43 | 0.651163 | 4 | 43 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 43 | 1 | 43 | 43 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0.477273 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
cbed4b7641fe0e0241a0ad27502e8caa282600d5 | 1,016 | py | Python | websocket/utils/exceptions.py | shadow-share/websocket | 221f523f2973633b14d66b3890a644a0707dd18c | [
"MIT"
] | null | null | null | websocket/utils/exceptions.py | shadow-share/websocket | 221f523f2973633b14d66b3890a644a0707dd18c | [
"MIT"
] | null | null | null | websocket/utils/exceptions.py | shadow-share/websocket | 221f523f2973633b14d66b3890a644a0707dd18c | [
"MIT"
] | null | null | null | #!/usr/bin/env python
#
# Copyright (C) 2017 ShadowMan
#
class FatalError(Exception):
pass
class FrameHeaderParseError(Exception):
pass
class ConnectClosed(Exception):
pass
class RequestError(Exception):
pass
class LoggerWarning(RuntimeWarning):
pass
class DeamonError(Exception):
pass... | 14.724638 | 65 | 0.694882 | 103 | 1,016 | 6.660194 | 0.378641 | 0.246356 | 0.28863 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005063 | 0.222441 | 1,016 | 68 | 66 | 14.941176 | 0.863291 | 0.048228 | 0 | 0.4 | 0 | 0 | 0.044652 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.028571 | false | 0.4 | 0 | 0 | 0.428571 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
cbfbbdd6eed182449f7e751f423530ebe0292c93 | 511 | py | Python | 03-conditionals/check_same_case.py | alvgaona/PC | dc043861a7246c228f40d882b70faa6b9623b05b | [
"MIT"
] | 2 | 2022-03-29T16:40:32.000Z | 2022-03-29T16:42:34.000Z | 03-conditionals/check_same_case.py | alvgaona/PC | dc043861a7246c228f40d882b70faa6b9623b05b | [
"MIT"
] | null | null | null | 03-conditionals/check_same_case.py | alvgaona/PC | dc043861a7246c228f40d882b70faa6b9623b05b | [
"MIT"
] | null | null | null | def is_uppercase(letter: str):
return True if 65 <= ord(letter) <= 90 else False
def is_lowercase(letter: str):
return True if 97 <= ord(letter) <= 122 else False
def check_same_case(first: str, second: str) -> bool:
if is_uppercase(first) and is_uppercase(second):
return True
if is_lowerca... | 19.653846 | 54 | 0.65362 | 73 | 511 | 4.30137 | 0.356164 | 0.127389 | 0.11465 | 0.121019 | 0.133758 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022843 | 0.228963 | 511 | 25 | 55 | 20.44 | 0.774112 | 0 | 0 | 0.133333 | 0 | 0 | 0.019569 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.266667 | false | 0 | 0 | 0.133333 | 0.6 | 0.066667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
020f8e24ee36befcbaf28d702ae5ee6e92843f0c | 795 | py | Python | composer/algorithms/blurpool/__init__.py | jacobfulano/composer | 4ad81df2d2ca6e5f0b4922bb2db750cd76ba34e8 | [
"Apache-2.0"
] | 2 | 2022-03-17T04:48:04.000Z | 2022-03-20T09:06:19.000Z | composer/algorithms/blurpool/__init__.py | jacobfulano/composer | 4ad81df2d2ca6e5f0b4922bb2db750cd76ba34e8 | [
"Apache-2.0"
] | null | null | null | composer/algorithms/blurpool/__init__.py | jacobfulano/composer | 4ad81df2d2ca6e5f0b4922bb2db750cd76ba34e8 | [
"Apache-2.0"
] | null | null | null | # Copyright 2021 MosaicML. All Rights Reserved.
from composer.algorithms.blurpool.blurpool import BlurPool as BlurPool
from composer.algorithms.blurpool.blurpool import BlurPoolHparams as BlurPoolHparams
from composer.algorithms.blurpool.blurpool import apply_blurpool as apply_blurpool
from composer.algorithms.blurpoo... | 44.166667 | 87 | 0.838994 | 98 | 795 | 6.622449 | 0.367347 | 0.12943 | 0.237288 | 0.323575 | 0.53621 | 0.53621 | 0.308166 | 0 | 0 | 0 | 0 | 0.034626 | 0.091824 | 795 | 17 | 88 | 46.764706 | 0.864266 | 0.056604 | 0 | 0 | 0 | 0 | 0.100267 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
021b5920befafdce3ff24fa801b3d3045663d2fb | 1,997 | py | Python | mol/wrappers/base.py | cgrambow/mol | 47f28a3bfacefe3efb7f9dc8766841980bfc95ac | [
"MIT"
] | null | null | null | mol/wrappers/base.py | cgrambow/mol | 47f28a3bfacefe3efb7f9dc8766841980bfc95ac | [
"MIT"
] | null | null | null | mol/wrappers/base.py | cgrambow/mol | 47f28a3bfacefe3efb7f9dc8766841980bfc95ac | [
"MIT"
] | null | null | null | from __future__ import annotations
from abc import ABC, abstractmethod
from collections.abc import Sequence
from pathlib import Path
from typing import Any, Union
import numpy as np
class AbstractMol(ABC):
"""
Base class for pybel.Molecule and rdkit.Chem.Mol wrappers.
"""
@abstractmethod
def __i... | 21.706522 | 87 | 0.605408 | 220 | 1,997 | 5.418182 | 0.368182 | 0.228188 | 0.158557 | 0.097315 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.000705 | 0.289434 | 1,997 | 91 | 88 | 21.945055 | 0.839323 | 0.148222 | 0 | 0.590164 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.262295 | false | 0.262295 | 0.098361 | 0 | 0.377049 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
02301d8c35f4ff85398b8ef0076198e0271fad7d | 334 | py | Python | modules/api/functional_test/live_tests/internal/color_test.py | slandry90/vinyldns | bf3122bdd5058af53561224adb1984e3b9f1f5bc | [
"Apache-2.0"
] | 333 | 2018-07-27T12:58:40.000Z | 2022-03-16T23:05:37.000Z | modules/api/functional_test/live_tests/internal/color_test.py | slandry90/vinyldns | bf3122bdd5058af53561224adb1984e3b9f1f5bc | [
"Apache-2.0"
] | 1,010 | 2018-07-27T14:43:14.000Z | 2022-03-25T09:29:43.000Z | modules/api/functional_test/live_tests/internal/color_test.py | slandry90/vinyldns | bf3122bdd5058af53561224adb1984e3b9f1f5bc | [
"Apache-2.0"
] | 123 | 2018-07-26T20:06:04.000Z | 2022-02-16T17:12:17.000Z | import pytest
from hamcrest import *
from vinyldns_python import VinylDNSClient
def test_color(shared_zone_test_context):
"""
Tests that the color endpoint works appropriately
"""
client = shared_zone_test_context.ok_vinyldns_client
result = client.color()
assert_that(["green", "blue"], has_... | 22.266667 | 56 | 0.742515 | 42 | 334 | 5.619048 | 0.642857 | 0.084746 | 0.118644 | 0.177966 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173653 | 334 | 14 | 57 | 23.857143 | 0.855072 | 0.146707 | 0 | 0 | 0 | 0 | 0.033457 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 1 | 0.142857 | false | 0 | 0.428571 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
023da6b06e695952dd5af6728adbc2b2bff73bc2 | 150 | py | Python | commands/ping.py | t1mosha/Helper5TGBot | ce1d958f463b2836e34b3275dd67c3b8936e4d91 | [
"MIT"
] | null | null | null | commands/ping.py | t1mosha/Helper5TGBot | ce1d958f463b2836e34b3275dd67c3b8936e4d91 | [
"MIT"
] | null | null | null | commands/ping.py | t1mosha/Helper5TGBot | ce1d958f463b2836e34b3275dd67c3b8936e4d91 | [
"MIT"
] | null | null | null | from pyrogram import Client, filters
@Client.on_message(filters.command('ping', ['!']))
def ping(client, message):
message.reply_text(f"Pong!")
| 21.428571 | 50 | 0.713333 | 20 | 150 | 5.25 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113333 | 150 | 6 | 51 | 25 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
024ce325492f1dccebbda1cd670c5dabe15b61ad | 514 | py | Python | advertools/__init__.py | amrrs/advertools | c89484d892965cdfa25c6260ac7f2b85ba68aaa8 | [
"MIT"
] | null | null | null | advertools/__init__.py | amrrs/advertools | c89484d892965cdfa25c6260ac7f2b85ba68aaa8 | [
"MIT"
] | null | null | null | advertools/__init__.py | amrrs/advertools | c89484d892965cdfa25c6260ac7f2b85ba68aaa8 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""Top-level package for advertools."""
__author__ = """Elias Dabbas"""
__email__ = 'eliasdabbas@gmail.com'
__version__ = '0.3.0'
from advertools.ad_create import ad_create
from advertools.ad_from_string import ad_from_string
from advertools.extract import extract_mentions, extract_hashtags, ... | 32.125 | 80 | 0.81323 | 70 | 514 | 5.585714 | 0.514286 | 0.250639 | 0.081841 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008658 | 0.101167 | 514 | 15 | 81 | 34.266667 | 0.837662 | 0.108949 | 0 | 0 | 0 | 0 | 0.084071 | 0.04646 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.7 | 0 | 0.7 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
025b417216792358d0b13b37a7a0bc25a3fafbcd | 415 | py | Python | python practice/day9/solution.py | rezafari/raspberry | e6720780f3c65ee1809040fc538f793fe44f0111 | [
"MIT"
] | 19 | 2017-09-26T04:37:55.000Z | 2021-12-15T05:39:57.000Z | python practice/day9/solution.py | rezafari/raspberry | e6720780f3c65ee1809040fc538f793fe44f0111 | [
"MIT"
] | 44 | 2017-11-22T04:56:26.000Z | 2018-03-17T14:30:00.000Z | python practice/day9/solution.py | rezafari/raspberry | e6720780f3c65ee1809040fc538f793fe44f0111 | [
"MIT"
] | 21 | 2017-09-23T05:25:59.000Z | 2021-05-31T10:24:49.000Z | ###########################################################
# #
# Solving factorial problem with recursive function #
# #
###########################################################
def factorial(n):
... | 37.727273 | 59 | 0.260241 | 23 | 415 | 4.695652 | 0.652174 | 0.185185 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012 | 0.39759 | 415 | 11 | 60 | 37.727273 | 0.42 | 0.118072 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.6 | 0.2 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
026c95389ab3f93c3a2d284cd47cc13221cdd8ce | 4,150 | py | Python | hms/models.py | kasparov-creat/hms-api | 7cf7da5da59a8bebfd4629fd65ac159ab19319ec | [
"MIT"
] | null | null | null | hms/models.py | kasparov-creat/hms-api | 7cf7da5da59a8bebfd4629fd65ac159ab19319ec | [
"MIT"
] | null | null | null | hms/models.py | kasparov-creat/hms-api | 7cf7da5da59a8bebfd4629fd65ac159ab19319ec | [
"MIT"
] | null | null | null | from django.db import models
from django.contrib.auth.models import User
from django.db.models.signals import post_save
from django.dispatch import receiver
departments=[('Cardiologist','Cardiologist'),
('Dermatologist','Dermatologist'),
('Emergency Medicine Specialist','Emergency Medicine Specialist'),
('Allergist/I... | 31.923077 | 123 | 0.701205 | 483 | 4,150 | 5.855072 | 0.202899 | 0.035007 | 0.063649 | 0.084866 | 0.613508 | 0.543847 | 0.538897 | 0.428571 | 0.428571 | 0.428571 | 0 | 0.008043 | 0.191084 | 4,150 | 130 | 124 | 31.923077 | 0.834376 | 0 | 0 | 0.49 | 0 | 0 | 0.092267 | 0.040713 | 0 | 0 | 0 | 0 | 0 | 1 | 0.23 | false | 0 | 0.04 | 0.12 | 0.66 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
027828d262490d6b9e60f7d2eac8c846dc4b067f | 1,404 | py | Python | formalarg/extension.py | Amande-WP5/formalarg | e0849ae6955eddec9d0f8e69b1d07f8d33798738 | [
"MIT"
] | null | null | null | formalarg/extension.py | Amande-WP5/formalarg | e0849ae6955eddec9d0f8e69b1d07f8d33798738 | [
"MIT"
] | null | null | null | formalarg/extension.py | Amande-WP5/formalarg | e0849ae6955eddec9d0f8e69b1d07f8d33798738 | [
"MIT"
] | null | null | null | from . import Relation
class Extension:
def __init__(self, *arguments):
self.arguments = arguments
def add_arguments(self, *arguments):
self.arguments += arguments
def is_conflicting(self, relations):
return any(rel for rel in relations if rel.relfrom in self.arguments and rel.re... | 36.947368 | 113 | 0.674501 | 199 | 1,404 | 4.59799 | 0.180905 | 0.184699 | 0.114754 | 0.048087 | 0.634973 | 0.462295 | 0.338798 | 0.238251 | 0.238251 | 0.238251 | 0 | 0 | 0.254986 | 1,404 | 38 | 114 | 36.947368 | 0.874761 | 0 | 0 | 0.206897 | 0 | 0 | 0.001423 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.275862 | false | 0 | 0.034483 | 0.103448 | 0.689655 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
65efe2ad29f2fa8443d34f5b8553d61704e499e9 | 20,565 | py | Python | src/thsData/constants_10jqka.py | EasyStock/Bull | 388537b389646c3c315ec51de9c3856012b1f644 | [
"Apache-2.0"
] | null | null | null | src/thsData/constants_10jqka.py | EasyStock/Bull | 388537b389646c3c315ec51de9c3856012b1f644 | [
"Apache-2.0"
] | null | null | null | src/thsData/constants_10jqka.py | EasyStock/Bull | 388537b389646c3c315ec51de9c3856012b1f644 | [
"Apache-2.0"
] | null | null | null | # coding=utf-8
'''
Created on 2017年11月25日
@author: jianpinh
'''
eng_10jqka_CookieList = [
'AcL0X6qrL2k4wjM1rx64KE2PFcMhk8ameJe60Qzb7jXgX2x39CMWvUgnCuXc',
'AQI0H2rr7yl4gvABCen4aA1PVQNh0wayuNf6B0wbLnUgn6y3NGNW_YhnSiUc',
'AR0rznlCGEhb2_-QOepvqU4GKvISOlGMW261YN_iWXSjljNmp4phXOu-xTlv',
'AePVMIOgvj4xWXH-c8aJ... | 66.33871 | 67 | 0.868563 | 818 | 20,565 | 21.513447 | 0.9022 | 0.001534 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145625 | 0.074058 | 20,565 | 309 | 68 | 66.553398 | 0.778542 | 0.002626 | 0 | 0 | 0 | 0 | 0.880847 | 0.880847 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
5a03d2f84e8a24c78629df8d2ec95c21181260fc | 35,517 | py | Python | tfrt/rt_lib.py | henrysky/simple_tf_raytracing | cba18dd544436f1ee44f1e9d064fd3e9e02e7dcb | [
"MIT"
] | null | null | null | tfrt/rt_lib.py | henrysky/simple_tf_raytracing | cba18dd544436f1ee44f1e9d064fd3e9e02e7dcb | [
"MIT"
] | null | null | null | tfrt/rt_lib.py | henrysky/simple_tf_raytracing | cba18dd544436f1ee44f1e9d064fd3e9e02e7dcb | [
"MIT"
] | null | null | null | from abc import ABC, abstractmethod
from copy import deepcopy
import numpy as np
import tensorflow as tf
# source: http://geomalgorithms.com/a06-_intersect-2.html
# source: https://www.erikrotteveel.com/python/three-dimensional-ray-tracing-in-python/
gpu_phy_devices = tf.config.list_physical_devices('GPU')
try:
f... | 44.507519 | 179 | 0.603795 | 4,958 | 35,517 | 4.156111 | 0.068374 | 0.040085 | 0.018635 | 0.023488 | 0.767446 | 0.745802 | 0.706202 | 0.688974 | 0.673639 | 0.66568 | 0 | 0.025535 | 0.277782 | 35,517 | 797 | 180 | 44.563363 | 0.777786 | 0.157418 | 0 | 0.55144 | 0 | 0 | 0.002184 | 0 | 0 | 0 | 0 | 0 | 0.016461 | 1 | 0.082305 | false | 0.006173 | 0.00823 | 0.014403 | 0.168724 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
5a0d1d0ca08a8167c7712b25fedc04a61eec3276 | 475 | py | Python | code/Python Crash Course A Hands-On/PART I-BASICS/Chapter 2/apostrophe.py | GaryWonggg/Paython-Learning | 8636358a96caf062cf68a43826810a6cf5ab2496 | [
"MIT"
] | null | null | null | code/Python Crash Course A Hands-On/PART I-BASICS/Chapter 2/apostrophe.py | GaryWonggg/Paython-Learning | 8636358a96caf062cf68a43826810a6cf5ab2496 | [
"MIT"
] | 1 | 2021-01-02T15:41:19.000Z | 2021-01-02T15:41:19.000Z | code/Python Crash Course A Hands-On/PART I-BASICS/Chapter 2/apostrophe.py | GaryWonggg/Paython-Learning | 8636358a96caf062cf68a43826810a6cf5ab2496 | [
"MIT"
] | null | null | null | """
Avoiding Syntax Errors with Strings
Here’s how to use single and double quotes correctly.
"""
message = "One of Python's strengths is its diverse community."
print(message)
"""
split line for each point
"""
print("------------------------------split line------------------------------")
'''
However, if you u... | 19.791667 | 84 | 0.629474 | 62 | 475 | 4.822581 | 0.66129 | 0.060201 | 0.080268 | 0.120401 | 0.408027 | 0.408027 | 0.408027 | 0.408027 | 0.408027 | 0.408027 | 0 | 0 | 0.153684 | 475 | 23 | 85 | 20.652174 | 0.743781 | 0.357895 | 0 | 0 | 0 | 0 | 0.715976 | 0.408284 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.666667 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
5a14a3edf9f0fd31e76bdce877f828e9a53d21cd | 2,200 | py | Python | CodeWars/ip validator.py | SabariVig/python-programs | 682f11df8157d4a070c294eded341f86845e38a8 | [
"MIT"
] | null | null | null | CodeWars/ip validator.py | SabariVig/python-programs | 682f11df8157d4a070c294eded341f86845e38a8 | [
"MIT"
] | 1 | 2018-07-11T10:49:29.000Z | 2018-07-11T10:51:25.000Z | CodeWars/ip validator.py | SabariVig/python-programs | 682f11df8157d4a070c294eded341f86845e38a8 | [
"MIT"
] | null | null | null | ################## CODE WARS KATA ##################
#KYU LEVEL : 6
#KATA TITLE :IP Validation
#KATA LINK : https://www.codewars.com/kata/ip-validation/train/python
#####################################################
import re
def is_valid_IP(ip):
"""Validates IPv4 addresses.
"""
qq=ip.split(".")
if... | 35.483871 | 82 | 0.431364 | 320 | 2,200 | 2.884375 | 0.328125 | 0.098592 | 0.126761 | 0.182015 | 0.345612 | 0.239437 | 0.212351 | 0.153846 | 0.126761 | 0.126761 | 0 | 0.177258 | 0.320455 | 2,200 | 62 | 83 | 35.483871 | 0.440134 | 0.075909 | 0 | 0.098039 | 0 | 0.156863 | 0.672986 | 0.124276 | 0 | 0 | 0.015271 | 0 | 0 | 1 | 0.019608 | false | 0 | 0.019608 | 0 | 0.058824 | 0.235294 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
5a150514209a5eb375f78303b39644f7f641d52a | 3,838 | py | Python | tests/test_filename.py | alepuzio/listfiles | cddc329cf773016a4703946c338a6e16d81380f5 | [
"MIT"
] | null | null | null | tests/test_filename.py | alepuzio/listfiles | cddc329cf773016a4703946c338a6e16d81380f5 | [
"MIT"
] | null | null | null | tests/test_filename.py | alepuzio/listfiles | cddc329cf773016a4703946c338a6e16d81380f5 | [
"MIT"
] | 1 | 2021-06-13T12:44:31.000Z | 2021-06-13T12:44:31.000Z | import os
import unittest
from os.path import splitext
from list_files.physical_data import PhysicalData
from list_files.physical_data import PhysicalDataFake
class Filename:
"""
class about the filename of a file
"""
def __init__(self, new_physical):
self.physical = new_physical
def... | 32.803419 | 137 | 0.614122 | 433 | 3,838 | 5.277136 | 0.221709 | 0.119037 | 0.037199 | 0.024508 | 0.374617 | 0.315098 | 0.203063 | 0.177681 | 0.154048 | 0.154048 | 0 | 0.00762 | 0.247785 | 3,838 | 116 | 138 | 33.086207 | 0.783859 | 0.180302 | 0 | 0.202899 | 0 | 0 | 0.146592 | 0.052614 | 0 | 0 | 0 | 0.008621 | 0.057971 | 1 | 0.26087 | false | 0 | 0.072464 | 0.101449 | 0.536232 | 0.028986 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
5a3c03f646432e8b46bd427ad6fa75d3df61de5e | 368 | py | Python | core/migrations/0028_auto_20200202_1832.py | baxtea/pipeline | 0cbdd4b3ee6d05611e1d3ed5a4936f597182e963 | [
"MIT"
] | 18 | 2018-11-14T21:52:33.000Z | 2022-03-23T08:10:54.000Z | core/migrations/0028_auto_20200202_1832.py | baxtea/pipeline | 0cbdd4b3ee6d05611e1d3ed5a4936f597182e963 | [
"MIT"
] | 83 | 2018-09-21T16:08:51.000Z | 2022-03-27T20:31:05.000Z | core/migrations/0028_auto_20200202_1832.py | baxtea/pipeline | 0cbdd4b3ee6d05611e1d3ed5a4936f597182e963 | [
"MIT"
] | 6 | 2019-09-27T20:50:54.000Z | 2020-06-12T14:07:38.000Z | # Generated by Django 2.2.9 on 2020-02-02 18:32
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [("core", "0027_auto_20200202_1822")]
operations = [
migrations.RemoveField(model_name="office", name="req_nominations"),
migrations.RemoveField(model_name=... | 26.285714 | 83 | 0.714674 | 43 | 368 | 5.976744 | 0.72093 | 0.163424 | 0.202335 | 0.233463 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.100324 | 0.160326 | 368 | 13 | 84 | 28.307692 | 0.731392 | 0.122283 | 0 | 0 | 1 | 0 | 0.23676 | 0.071651 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
5a493e16c7fbe9535fb32817d79565eb88dce21c | 653 | py | Python | gpu_scraper/web/base.py | m-gentil/gpu-scraper | 0cc5061fa83fff491a0092baf81ee7f749dbb54e | [
"MIT"
] | 2 | 2021-03-26T14:04:10.000Z | 2021-04-28T07:56:49.000Z | gpu_scraper/web/base.py | m-gentil/gpu-scraper | 0cc5061fa83fff491a0092baf81ee7f749dbb54e | [
"MIT"
] | null | null | null | gpu_scraper/web/base.py | m-gentil/gpu-scraper | 0cc5061fa83fff491a0092baf81ee7f749dbb54e | [
"MIT"
] | null | null | null | import logging
from abc import ABC, abstractmethod
from tenacity import after_log, retry, wait_exponential
from gpu_scraper.product import Product
_LOGGER = logging.getLogger(__name__)
class ProductProvider(ABC):
@property
def name(self) -> str:
return self.__class__.__name__
@abstractmethod
... | 25.115385 | 75 | 0.709035 | 79 | 653 | 5.531646 | 0.468354 | 0.08238 | 0.1373 | 0.10984 | 0.155606 | 0.155606 | 0 | 0 | 0 | 0 | 0 | 0.007663 | 0.200613 | 653 | 25 | 76 | 26.12 | 0.829502 | 0.038285 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.055556 | 0.222222 | 0.111111 | 0.555556 | 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 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 3 |
5a5268d5ca9c606754a79dd145ba73f2d4400164 | 297 | py | Python | data/serializer.py | DavidWz0403/Challange | a9c9051ae92e80c6c7ed849fa968a54a7949bc35 | [
"MIT"
] | null | null | null | data/serializer.py | DavidWz0403/Challange | a9c9051ae92e80c6c7ed849fa968a54a7949bc35 | [
"MIT"
] | null | null | null | data/serializer.py | DavidWz0403/Challange | a9c9051ae92e80c6c7ed849fa968a54a7949bc35 | [
"MIT"
] | null | null | null | from rest_framework import serializers
from .models import Data
class DataSerializer(serializers.ModelSerializer):
class Meta:
model = Data
fields = ['inputName', 'inputAnswer1', 'inputAnswer2', 'inputAnswer3',
'inputAnswer4', 'inputAnswer5', 'inputAnswer6'] | 37.125 | 78 | 0.690236 | 25 | 297 | 8.16 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025532 | 0.208754 | 297 | 8 | 79 | 37.125 | 0.842553 | 0 | 0 | 0 | 0 | 0 | 0.271812 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.285714 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.