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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
90a9e55b40daa95603fdad1b1cdd9813a1176b63 | 87 | py | Python | intermod.py | my0373/intermod | 52efcf043c133825d7a7bfec0f04516b31161aa3 | [
"MIT"
] | null | null | null | intermod.py | my0373/intermod | 52efcf043c133825d7a7bfec0f04516b31161aa3 | [
"MIT"
] | null | null | null | intermod.py | my0373/intermod | 52efcf043c133825d7a7bfec0f04516b31161aa3 | [
"MIT"
] | null | null | null | import sys
from nixgeek.utils import *
if __name__ == '__main__':
exit_failure(5) | 17.4 | 27 | 0.712644 | 12 | 87 | 4.416667 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014085 | 0.183908 | 87 | 5 | 28 | 17.4 | 0.732394 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
90c5790d164e29d68a6a76d9b4c4f93a3afab5ab | 115 | py | Python | examples/python/setup_cython.py | lanahuong/dubrayn.github.io | fd78edb38442966395161cfcf9dfd9b464703ddd | [
"MIT"
] | 7 | 2019-04-12T07:46:05.000Z | 2022-03-30T06:11:47.000Z | examples/python/setup_cython.py | lanahuong/dubrayn.github.io | fd78edb38442966395161cfcf9dfd9b464703ddd | [
"MIT"
] | 3 | 2018-03-05T20:35:50.000Z | 2022-03-28T13:09:44.000Z | examples/python/setup_cython.py | lanahuong/dubrayn.github.io | fd78edb38442966395161cfcf9dfd9b464703ddd | [
"MIT"
] | 10 | 2017-10-04T07:05:51.000Z | 2020-12-15T12:08:32.000Z | from distutils.core import setup
from Cython.Build import cythonize
setup(
ext_modules=cythonize("calc.pyx"),
)
| 16.428571 | 36 | 0.782609 | 16 | 115 | 5.5625 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121739 | 115 | 6 | 37 | 19.166667 | 0.881188 | 0 | 0 | 0 | 0 | 0 | 0.069565 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
90da2c3c7d9d2618d0c267d0f673911baa130ec2 | 294 | py | Python | domoji/__main__.py | M4cs/Domoji | 7b1ade462bb189a2a480caee2366378bf72f3faf | [
"MIT"
] | 2 | 2019-08-20T21:37:26.000Z | 2020-11-06T02:07:05.000Z | domoji/__main__.py | M4cs/Domoji | 7b1ade462bb189a2a480caee2366378bf72f3faf | [
"MIT"
] | null | null | null | domoji/__main__.py | M4cs/Domoji | 7b1ade462bb189a2a480caee2366378bf72f3faf | [
"MIT"
] | null | null | null | from domoji import *
from crayons import *
def start():
try:
menu()
except KeyboardInterrupt:
print(red('\nExiting...'))
exit(1)
if __name__ == "__main__":
try:
menu()
except KeyboardInterrupt:
print(red('\nExiting...'))
exit(1) | 18.375 | 34 | 0.547619 | 29 | 294 | 5.275862 | 0.62069 | 0.091503 | 0.169935 | 0.392157 | 0.666667 | 0.666667 | 0.666667 | 0.666667 | 0.666667 | 0 | 0 | 0.009852 | 0.309524 | 294 | 16 | 35 | 18.375 | 0.743842 | 0 | 0 | 0.714286 | 0 | 0 | 0.108475 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071429 | true | 0 | 0.142857 | 0 | 0.214286 | 0.142857 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
90e9e3b393d5b8c48b0b91bfcf0b320f9648ff43 | 91 | py | Python | phaseone/apps.py | tobyspark/orbit_data | 7648b58a6f845554322d0b46ea34ac6674435c42 | [
"MIT"
] | null | null | null | phaseone/apps.py | tobyspark/orbit_data | 7648b58a6f845554322d0b46ea34ac6674435c42 | [
"MIT"
] | null | null | null | phaseone/apps.py | tobyspark/orbit_data | 7648b58a6f845554322d0b46ea34ac6674435c42 | [
"MIT"
] | 1 | 2021-03-31T11:51:15.000Z | 2021-03-31T11:51:15.000Z | from django.apps import AppConfig
class PhaseOneConfig(AppConfig):
name = 'phaseone'
| 15.166667 | 33 | 0.758242 | 10 | 91 | 6.9 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164835 | 91 | 5 | 34 | 18.2 | 0.907895 | 0 | 0 | 0 | 0 | 0 | 0.087912 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
90f43ee5adda427ec511145c02bb5fd52d363e08 | 97 | py | Python | lesson1/first_turtle.py | tekichan/teach_kids_python | 5393e7261c62211976a928501cb1aa4e25bcbeb9 | [
"MIT"
] | null | null | null | lesson1/first_turtle.py | tekichan/teach_kids_python | 5393e7261c62211976a928501cb1aa4e25bcbeb9 | [
"MIT"
] | null | null | null | lesson1/first_turtle.py | tekichan/teach_kids_python | 5393e7261c62211976a928501cb1aa4e25bcbeb9 | [
"MIT"
] | null | null | null | from turtle import *
circle(50) # Draw a circle
exitonclick() # Exit when you click the screen | 32.333333 | 48 | 0.731959 | 15 | 97 | 4.733333 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025641 | 0.195876 | 97 | 3 | 48 | 32.333333 | 0.884615 | 0.453608 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
90ff541a81bfa2a5980a301a6f8f149b2f9aa214 | 104 | py | Python | submission_form/apps.py | NAKKA-K/degifarm | 63d74b1206860d0d2213efbc8a7969be7976c4fd | [
"MIT"
] | null | null | null | submission_form/apps.py | NAKKA-K/degifarm | 63d74b1206860d0d2213efbc8a7969be7976c4fd | [
"MIT"
] | 6 | 2018-02-18T08:38:46.000Z | 2018-02-21T09:19:21.000Z | submission_form/apps.py | NAKKA-K/dw2018_server | 63d74b1206860d0d2213efbc8a7969be7976c4fd | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class SubmissionFormConfig(AppConfig):
name = 'submission_form'
| 17.333333 | 38 | 0.788462 | 11 | 104 | 7.363636 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144231 | 104 | 5 | 39 | 20.8 | 0.910112 | 0 | 0 | 0 | 0 | 0 | 0.144231 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
294d74df0d02a55cccef69c8006472e34b7d94ec | 1,729 | py | Python | DailyProgrammer/DP20130530B.py | DayGitH/Python-Challenges | bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf | [
"MIT"
] | 2 | 2020-12-23T18:59:22.000Z | 2021-04-14T13:16:09.000Z | DailyProgrammer/DP20130530B.py | DayGitH/Python-Challenges | bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf | [
"MIT"
] | null | null | null | DailyProgrammer/DP20130530B.py | DayGitH/Python-Challenges | bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf | [
"MIT"
] | null | null | null | """
[05/30/13] Challenge #126 [Intermediate] Perfect P'th Powers
https://www.reddit.com/r/dailyprogrammer/comments/1fcpnx/053013_challenge_126_intermediate_perfect_pth/
# [](#IntermediateIcon) *(Intermediate)*: Perfect P'th Powers
An integer X is a "perfect square power" if there is some integer Y such that Y^2 = X. ... | 42.170732 | 119 | 0.746096 | 299 | 1,729 | 4.267559 | 0.48495 | 0.025078 | 0.023511 | 0.028213 | 0.193574 | 0.149687 | 0.082288 | 0.082288 | 0.082288 | 0.082288 | 0 | 0.054073 | 0.176403 | 1,729 | 40 | 120 | 43.225 | 0.841994 | 0.958357 | 0 | 0 | 0 | 0 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0.25 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
2967c93a59d62969ff829872f978c9d2ebcedf9f | 241 | py | Python | django_cradmin/apps/cradmin_register_account/urls.py | appressoas/django_cradmin | 0f8715afdfe1ad32e46033f442e622aecf6a4dec | [
"BSD-3-Clause"
] | 11 | 2015-07-05T16:57:58.000Z | 2020-11-24T16:58:19.000Z | django_cradmin/apps/cradmin_register_account/urls.py | appressoas/django_cradmin | 0f8715afdfe1ad32e46033f442e622aecf6a4dec | [
"BSD-3-Clause"
] | 91 | 2015-01-08T22:38:13.000Z | 2022-02-10T10:25:27.000Z | django_cradmin/apps/cradmin_register_account/urls.py | appressoas/django_cradmin | 0f8715afdfe1ad32e46033f442e622aecf6a4dec | [
"BSD-3-Clause"
] | 3 | 2016-12-07T12:19:24.000Z | 2018-10-03T14:04:18.000Z | from django.urls import path
from django_cradmin.apps.cradmin_register_account.views import register_account
urlpatterns = [
path('',
register_account.RegisterAccountView.as_view(),
name="cradmin-register-account"),
]
| 26.777778 | 79 | 0.746888 | 27 | 241 | 6.444444 | 0.555556 | 0.344828 | 0.252874 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157676 | 241 | 8 | 80 | 30.125 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0.099585 | 0.099585 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.285714 | 0 | 0.285714 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4647ff040f613b9cd40aebe74c807458f5fcb450 | 665 | py | Python | config.py | anderlli0053/godex | cb345c30b077c8a4847371d9d446729872e3385a | [
"MIT"
] | 576 | 2021-01-13T08:12:57.000Z | 2022-03-29T14:21:50.000Z | config.py | anderlli0053/godex | cb345c30b077c8a4847371d9d446729872e3385a | [
"MIT"
] | 101 | 2021-01-14T14:19:25.000Z | 2022-03-07T06:56:33.000Z | config.py | anderlli0053/godex | cb345c30b077c8a4847371d9d446729872e3385a | [
"MIT"
] | 41 | 2021-01-13T07:37:48.000Z | 2022-03-24T07:14:47.000Z | def can_build(env, platform):
return True
def configure(env):
pass
def has_custom_iterator():
return True
def has_custom_physics_iterator():
return True
def has_custom_audio_iterator():
# TODO enable custom iterator once the audio process system is integrated
return False
def get_doc_p... | 17.5 | 103 | 0.628571 | 75 | 665 | 5.386667 | 0.613333 | 0.074257 | 0.096535 | 0.10396 | 0.148515 | 0.148515 | 0 | 0 | 0 | 0 | 0 | 0.004149 | 0.275188 | 665 | 37 | 104 | 17.972973 | 0.834025 | 0.284211 | 0 | 0.142857 | 0 | 0 | 0.127389 | 0 | 0 | 0 | 0 | 0.027027 | 0 | 1 | 0.333333 | false | 0.047619 | 0 | 0.285714 | 0.619048 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
46586ea3bde47569399645cf7de44fa0a381acc0 | 708 | py | Python | tests/conftest.py | puzzlluminati/padsniff | 0e0c6589db8e207831fecd017eeaf6092b1aae04 | [
"MIT"
] | 1 | 2018-08-07T03:29:43.000Z | 2018-08-07T03:29:43.000Z | tests/conftest.py | puzzlluminati/padsniff | 0e0c6589db8e207831fecd017eeaf6092b1aae04 | [
"MIT"
] | 4 | 2018-04-16T22:45:40.000Z | 2018-05-07T18:12:01.000Z | tests/conftest.py | puzzlluminati/padsniff | 0e0c6589db8e207831fecd017eeaf6092b1aae04 | [
"MIT"
] | null | null | null | from mitmproxy.test.tflow import tflow as TestFlow
from pytest import fixture
from pytest_mock import mocker
class MockSocket:
"""A Mock `socket.socket` to prevent opening connections."""
def __init__(self, *args, **kwargs):
pass
def __getattr__(self, method_name):
# mock all method name... | 26.222222 | 89 | 0.716102 | 86 | 708 | 5.755814 | 0.581395 | 0.072727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19209 | 708 | 26 | 90 | 27.230769 | 0.865385 | 0.324859 | 0 | 0 | 0 | 0 | 0.027897 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0.071429 | 0.214286 | 0.142857 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
465c304e9434451978a2b63f2660a7ff5c53a69b | 1,840 | py | Python | stellar_sdk/network.py | bantalon/py-stellar-base | b452f0f92be0387c3e78c8149103978788d7ec0f | [
"Apache-2.0"
] | 1 | 2020-03-04T20:37:17.000Z | 2020-03-04T20:37:17.000Z | stellar_sdk/network.py | bantalon/py-stellar-base | b452f0f92be0387c3e78c8149103978788d7ec0f | [
"Apache-2.0"
] | 1 | 2020-04-26T12:08:54.000Z | 2020-04-26T12:08:54.000Z | stellar_sdk/network.py | bantalon/py-stellar-base | b452f0f92be0387c3e78c8149103978788d7ec0f | [
"Apache-2.0"
] | null | null | null | from .utils import sha256
__all__ = ["Network"]
class Network:
"""The :class:`Network` object, which represents a Stellar network.
This class represents such a stellar network such as the Public network and the Test network.
:param str network_passphrase: The passphrase for the network.
(ex. 'P... | 31.724138 | 97 | 0.669022 | 211 | 1,840 | 5.635071 | 0.274882 | 0.243061 | 0.08831 | 0.052986 | 0.227082 | 0.200168 | 0.094197 | 0.094197 | 0.094197 | 0.094197 | 0 | 0.012866 | 0.239674 | 1,840 | 57 | 98 | 32.280702 | 0.837026 | 0.325543 | 0 | 0.086957 | 0 | 0 | 0.141784 | 0.039437 | 0 | 0 | 0 | 0 | 0 | 1 | 0.26087 | false | 0.434783 | 0.043478 | 0.043478 | 0.695652 | 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 | 1 | 0 | 0 | 4 |
466d68ae46a9f08291ab0c146f0323db9382d321 | 13,412 | py | Python | plot/suppFig/fig5_time_gen_accross_conditions.py | romquentin/decod_WM_Selection_and_maintenance | fc1bf2f21959795fbea731f642cc750c2b61bce2 | [
"BSD-3-Clause"
] | 7 | 2018-07-16T01:59:03.000Z | 2021-07-28T09:48:13.000Z | plot/suppFig/fig5_time_gen_accross_conditions.py | romquentin/decod_WM_Selection_and_maintenance | fc1bf2f21959795fbea731f642cc750c2b61bce2 | [
"BSD-3-Clause"
] | 1 | 2020-03-15T00:35:45.000Z | 2020-04-17T09:54:38.000Z | plot/suppFig/fig5_time_gen_accross_conditions.py | romquentin/decod_WM_Selection_and_maintenance | fc1bf2f21959795fbea731f642cc750c2b61bce2 | [
"BSD-3-Clause"
] | 4 | 2018-08-02T08:52:59.000Z | 2021-12-17T11:43:47.000Z | """
Figure 5
Plot time generalization across memory and visual conditions computed from
run_decoding_WM_across_epochs_and_conditions.py
"""
# Authors: Romain Quentin <rom.quentin@gmail.com>
# Jean-Remi King <jeanremi.king@gmail.com>
#
# License: BSD (3-clause)
import os.path as op
import numpy as np
import m... | 43.97377 | 106 | 0.495526 | 1,609 | 13,412 | 3.912989 | 0.142946 | 0.05845 | 0.034308 | 0.035578 | 0.794155 | 0.739199 | 0.709975 | 0.696633 | 0.670902 | 0.670902 | 0 | 0.051734 | 0.37884 | 13,412 | 304 | 107 | 44.118421 | 0.703997 | 0.046898 | 0 | 0.711111 | 0 | 0 | 0.087723 | 0.043195 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.02963 | 0 | 0.02963 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
467a3719714bff4315d3f7ba2b4c43fdfd1edb24 | 68 | py | Python | apps/responsys/__init__.py | gene1wood/webowonder | a173d5e9ccf6d15b02b48759efb9a625d84822dc | [
"BSD-3-Clause"
] | 2 | 2015-07-01T20:17:14.000Z | 2021-03-26T06:02:13.000Z | apps/responsys/__init__.py | gene1wood/webowonder | a173d5e9ccf6d15b02b48759efb9a625d84822dc | [
"BSD-3-Clause"
] | 2 | 2019-02-17T17:28:04.000Z | 2019-04-02T06:57:31.000Z | apps/responsys/__init__.py | gene1wood/webowonder | a173d5e9ccf6d15b02b48759efb9a625d84822dc | [
"BSD-3-Clause"
] | 2 | 2019-03-28T03:40:06.000Z | 2019-11-25T17:35:08.000Z | """ This code was liberated from jlongster's fine zamboni fork. """
| 34 | 67 | 0.720588 | 10 | 68 | 4.9 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161765 | 68 | 1 | 68 | 68 | 0.859649 | 0.867647 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
467b3cbff1063bcf9949c589571987d47cdafa5d | 158 | py | Python | tests/processing/data/__init__.py | DHI-GRAS/atmcorr | 55e584c7971009065b47ece9d3d215bfe8335d04 | [
"MIT"
] | 5 | 2019-09-03T17:13:57.000Z | 2021-12-01T03:22:11.000Z | tests/processing/data/__init__.py | DHI-GRAS/atmcorr | 55e584c7971009065b47ece9d3d215bfe8335d04 | [
"MIT"
] | 1 | 2021-04-28T08:11:37.000Z | 2021-04-28T09:52:02.000Z | tests/processing/data/__init__.py | DHI-GRAS/atmcorr | 55e584c7971009065b47ece9d3d215bfe8335d04 | [
"MIT"
] | 1 | 2021-03-31T02:13:08.000Z | 2021-03-31T02:13:08.000Z | import os
import glob
here = os.path.abspath(os.path.dirname(__file__))
MTDFILES = {os.path.basename(p): p for p in glob.glob(os.path.join(here, '*.imd'))}
| 22.571429 | 83 | 0.702532 | 28 | 158 | 3.821429 | 0.535714 | 0.224299 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113924 | 158 | 6 | 84 | 26.333333 | 0.764286 | 0 | 0 | 0 | 0 | 0 | 0.031646 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
46b6355cbc3694dea6587fc87608ab1c1e64836d | 101 | py | Python | __init__.py | rmtew/livecoding | 9c5619c9653d4cd83977fc1f3aae51da004f1e8b | [
"BSD-3-Clause"
] | null | null | null | __init__.py | rmtew/livecoding | 9c5619c9653d4cd83977fc1f3aae51da004f1e8b | [
"BSD-3-Clause"
] | null | null | null | __init__.py | rmtew/livecoding | 9c5619c9653d4cd83977fc1f3aae51da004f1e8b | [
"BSD-3-Clause"
] | null | null | null | # Python package structure shenanigans.
#
# http://docs.python.org/tutorial/modules.html#packages
#
| 20.2 | 56 | 0.762376 | 12 | 101 | 6.416667 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09901 | 101 | 4 | 57 | 25.25 | 0.846154 | 0.90099 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d3b3d12b2fe6ddd9c56192a5479c7911ca5edf52 | 29,189 | py | Python | nova/tests/unit/api/openstack/compute/test_simple_tenant_usage.py | bopopescu/nova-token | ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2 | [
"Apache-2.0"
] | null | null | null | nova/tests/unit/api/openstack/compute/test_simple_tenant_usage.py | bopopescu/nova-token | ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2 | [
"Apache-2.0"
] | null | null | null | nova/tests/unit/api/openstack/compute/test_simple_tenant_usage.py | bopopescu/nova-token | ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2 | [
"Apache-2.0"
] | 2 | 2017-07-20T17:31:34.000Z | 2020-07-24T02:42:19.000Z | begin_unit
comment|'# Copyright 2011 OpenStack Foundation'
nl|'\n'
comment|'# All Rights Reserved.'
nl|'\n'
comment|'#'
nl|'\n'
comment|'# Licensed under the Apache License, Version 2.0 (the "License"); you may'
nl|'\n'
comment|'# not use this file except in compliance with the License. You may obtain'
nl|'\n'
co... | 12.516724 | 88 | 0.60766 | 4,416 | 29,189 | 3.897418 | 0.07269 | 0.168729 | 0.069142 | 0.064261 | 0.794782 | 0.754227 | 0.705305 | 0.650224 | 0.615188 | 0.540236 | 0 | 0.004977 | 0.09829 | 29,189 | 2,331 | 89 | 12.522094 | 0.648936 | 0 | 0 | 0.920635 | 0 | 0 | 0.361951 | 0.054541 | 0 | 0 | 0 | 0 | 0.009867 | 0 | null | null | 0 | 0.007293 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d3d5c7a6752012a506b2b4016dfc3d39596a8347 | 771 | py | Python | tests/test_python_type_to_typescript.py | conanfanli/py2ts | 8543ad03f19f094b0771c3b0cfc26a89eefd95ed | [
"MIT"
] | 3 | 2020-04-10T22:09:44.000Z | 2020-11-29T07:19:28.000Z | tests/test_python_type_to_typescript.py | conanfanli/py2ts | 8543ad03f19f094b0771c3b0cfc26a89eefd95ed | [
"MIT"
] | 1 | 2020-04-11T14:25:50.000Z | 2020-04-11T14:25:50.000Z | tests/test_python_type_to_typescript.py | conanfanli/py2ts | 8543ad03f19f094b0771c3b0cfc26a89eefd95ed | [
"MIT"
] | 1 | 2021-05-15T09:22:41.000Z | 2021-05-15T09:22:41.000Z | from datetime import date, datetime
from decimal import Decimal
import unittest
from py2ts.python2ts import python_type_to_typescript
class Enum2TsTestCase(unittest.TestCase):
def test_python_type_to_typescript(self) -> None:
assert python_type_to_typescript(str) == "string"
assert python_type_to... | 40.578947 | 62 | 0.734112 | 94 | 771 | 5.659574 | 0.329787 | 0.206767 | 0.24812 | 0.454887 | 0.541353 | 0.383459 | 0 | 0 | 0 | 0 | 0 | 0.004724 | 0.176394 | 771 | 18 | 63 | 42.833333 | 0.833071 | 0 | 0 | 0 | 0 | 0 | 0.071336 | 0 | 0 | 0 | 0 | 0 | 0.6 | 1 | 0.066667 | false | 0 | 0.266667 | 0 | 0.4 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d3dd7c181e674859dbb88542378c383bba05d1ce | 386 | py | Python | forms_app/models.py | cs-fullstack-fall-2018/django-forms3-myiahm | 63159ccf6cf0d2b387d78f8288e9506cf7046e55 | [
"Apache-2.0"
] | null | null | null | forms_app/models.py | cs-fullstack-fall-2018/django-forms3-myiahm | 63159ccf6cf0d2b387d78f8288e9506cf7046e55 | [
"Apache-2.0"
] | null | null | null | forms_app/models.py | cs-fullstack-fall-2018/django-forms3-myiahm | 63159ccf6cf0d2b387d78f8288e9506cf7046e55 | [
"Apache-2.0"
] | null | null | null | from django.db import models
from datetime import datetime
class NonProfit(models.Model):
name = models.CharField(max_length=200)
address = models.CharField(max_length=200)
establishedDate = models.DateField()
operatingBudget = models.CharField(max_length=200)
numberOfEmployees = models.CharField(... | 25.733333 | 56 | 0.746114 | 46 | 386 | 6.086957 | 0.5 | 0.214286 | 0.257143 | 0.342857 | 0.385714 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037383 | 0.168394 | 386 | 15 | 57 | 25.733333 | 0.834891 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0.2 | 0.1 | 1 | 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 | 1 | 0 | 0 | 4 |
d3dfebcf35bfb0cdb61eda4b4e913721fef194bb | 6,543 | py | Python | quedadas/controllers/trophyCtrl.py | fevsea/meet-Run-Server | 48454a4665f55da019334271641c514df231f177 | [
"MIT"
] | null | null | null | quedadas/controllers/trophyCtrl.py | fevsea/meet-Run-Server | 48454a4665f55da019334271641c514df231f177 | [
"MIT"
] | null | null | null | quedadas/controllers/trophyCtrl.py | fevsea/meet-Run-Server | 48454a4665f55da019334271641c514df231f177 | [
"MIT"
] | null | null | null | from rest_framework import serializers
from quedadas.controllers import firebaseCtrl
class TrophySerializer(serializers.Serializer):
def update(self, instance, validated_data):
pass
def create(self, validated_data):
pass
km_1 = serializers.SerializerMethodField()
km_10 = serializers... | 27.607595 | 83 | 0.682714 | 748 | 6,543 | 5.783422 | 0.096257 | 0.273694 | 0.153953 | 0.036986 | 0.194637 | 0.132917 | 0.037448 | 0 | 0 | 0 | 0 | 0.082957 | 0.220694 | 6,543 | 236 | 84 | 27.724576 | 0.765444 | 0 | 0 | 0.221591 | 0 | 0 | 0.007795 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0.011364 | 0.011364 | 0.210227 | 0.710227 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
d3e7e8270f672cea41c27e7c90782dc7a79dfc56 | 40,208 | py | Python | retirement/tests/tests_viewset_Reservation.py | MelanieFJNR/Blitz-API | 9a6daecd158fe07a6aeb80cbf586781eb688f0f9 | [
"MIT"
] | null | null | null | retirement/tests/tests_viewset_Reservation.py | MelanieFJNR/Blitz-API | 9a6daecd158fe07a6aeb80cbf586781eb688f0f9 | [
"MIT"
] | null | null | null | retirement/tests/tests_viewset_Reservation.py | MelanieFJNR/Blitz-API | 9a6daecd158fe07a6aeb80cbf586781eb688f0f9 | [
"MIT"
] | null | null | null | import json
import pytz
import responses
from datetime import datetime
from rest_framework import status
from rest_framework.test import APIClient
from django.urls import reverse
from django.utils import timezone
from django.conf import settings
from django.core import mail
from django.contrib.contenttypes.models im... | 32.217949 | 79 | 0.580506 | 4,135 | 40,208 | 5.486578 | 0.09867 | 0.06215 | 0.038965 | 0.032133 | 0.794552 | 0.765549 | 0.731564 | 0.706484 | 0.688324 | 0.667343 | 0 | 0.016572 | 0.320135 | 40,208 | 1,247 | 80 | 32.243785 | 0.81336 | 0.086873 | 0 | 0.628979 | 0 | 0 | 0.143114 | 0.033387 | 0 | 0 | 0 | 0 | 0.103183 | 1 | 0.030735 | false | 0.001098 | 0.021954 | 0 | 0.054885 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d3fab1e8ef3de9c3492e68d35b4d541a197efdee | 6,300 | py | Python | stage/configuration/test_opc_ua_client_origin.py | streamsets/datacollector-tests | 6c3e908768e1d4a586e9183e2141096921ecd5be | [
"Apache-2.0"
] | 14 | 2019-03-04T10:12:39.000Z | 2021-11-24T16:17:09.000Z | stage/configuration/test_opc_ua_client_origin.py | Pragatibs/datacollector-tests | aac53b2f0e056009ef0e437c8430651e3cf4d502 | [
"Apache-2.0"
] | 48 | 2019-03-08T14:59:06.000Z | 2021-08-13T14:49:56.000Z | stage/configuration/test_opc_ua_client_origin.py | Pragatibs/datacollector-tests | aac53b2f0e056009ef0e437c8430651e3cf4d502 | [
"Apache-2.0"
] | 23 | 2018-09-24T20:49:17.000Z | 2021-11-24T16:17:11.000Z | # Copyright 2021 StreamSets Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writi... | 30.288462 | 118 | 0.683968 | 756 | 6,300 | 5.333333 | 0.19709 | 0.14881 | 0.09995 | 0.161458 | 0.726935 | 0.712054 | 0.681052 | 0.664683 | 0.593998 | 0.576389 | 0 | 0.004775 | 0.202222 | 6,300 | 207 | 119 | 30.434783 | 0.797453 | 0.087619 | 0 | 0.523077 | 0 | 0 | 0.218559 | 0.041514 | 0 | 0 | 0 | 0 | 0 | 1 | 0.238462 | false | 0.246154 | 0.015385 | 0 | 0.253846 | 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 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
3124893d2203332b10f97267863ef9841e3a7b2d | 3,635 | py | Python | test/testOpSVM.py | burgerdev/hostload | 93142628bb32923c5e6f3a8b791488d72a5c9077 | [
"MIT"
] | null | null | null | test/testOpSVM.py | burgerdev/hostload | 93142628bb32923c5e6f3a8b791488d72a5c9077 | [
"MIT"
] | null | null | null | test/testOpSVM.py | burgerdev/hostload | 93142628bb32923c5e6f3a8b791488d72a5c9077 | [
"MIT"
] | null | null | null |
import unittest
import numpy as np
import vigra
from sklearn.svm import SVC
from sklearn.svm import SVR
from lazyflow.graph import Graph
from tsdl.classifiers import OpSVMTrain
from tsdl.classifiers import OpSVMPredict
class TestOpSVM(unittest.TestCase):
def setUp(self):
X = np.array([[-1, -1], [-2, ... | 26.925926 | 74 | 0.562586 | 491 | 3,635 | 4.154786 | 0.158859 | 0.111765 | 0.035294 | 0.033333 | 0.797549 | 0.743137 | 0.72598 | 0.70049 | 0.671569 | 0.657843 | 0 | 0.024724 | 0.276754 | 3,635 | 134 | 75 | 27.126866 | 0.751236 | 0 | 0 | 0.673469 | 0 | 0 | 0.011007 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 1 | 0.061224 | false | 0 | 0.081633 | 0 | 0.163265 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
3128578becc637a0ea33040e2b904178757d4e33 | 175 | py | Python | analysis/__init__.py | schurterb/kmeansconv | 74912b9fdfc1e688be737ba0117461ef8959207b | [
"Unlicense"
] | 2 | 2016-12-08T02:37:00.000Z | 2017-07-21T01:02:39.000Z | analysis/__init__.py | schurterb/kmeansconv | 74912b9fdfc1e688be737ba0117461ef8959207b | [
"Unlicense"
] | null | null | null | analysis/__init__.py | schurterb/kmeansconv | 74912b9fdfc1e688be737ba0117461ef8959207b | [
"Unlicense"
] | null | null | null | #Init for analysis functions
from .imageScan import display
from .visualizeStats import showStats
from .analyzer import Analyzer
__all__ = ['display','showStats','Analyzer'] | 25 | 44 | 0.8 | 20 | 175 | 6.8 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 175 | 7 | 44 | 25 | 0.877419 | 0.154286 | 0 | 0 | 0 | 0 | 0.162162 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
3149416ad77227acea7fefaacc2a13642f23922e | 231 | py | Python | cornflow-server/cornflow/schemas/__init__.py | ggsdc/corn | 4c17c46a70f95b8882bcb6a55ef7daa1f69e0456 | [
"MIT"
] | 2 | 2020-07-09T20:58:47.000Z | 2020-07-20T20:40:46.000Z | cornflow-server/cornflow/schemas/__init__.py | baobabsoluciones/cornflow | bd7cae22107e5fe148704d5f41d4f58f9c410b40 | [
"Apache-2.0"
] | 2 | 2022-03-31T08:42:10.000Z | 2022-03-31T12:05:23.000Z | cornflow-server/cornflow/schemas/__init__.py | ggsdc/corn | 4c17c46a70f95b8882bcb6a55ef7daa1f69e0456 | [
"MIT"
] | null | null | null | """
Initialization file for the schemas module
"""
from .dag import DeployedDAGSchema
from .execution import ExecutionSchema
from .instance import InstanceSchema
from .user import UserSchema
# from .model_json import DataSchema
| 19.25 | 42 | 0.809524 | 27 | 231 | 6.888889 | 0.703704 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138528 | 231 | 11 | 43 | 21 | 0.934673 | 0.337662 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
315a6218af6a98ca3b85fcab51a792dfd448b872 | 116 | py | Python | wp6-virtualfolder/VRE-master/addvagrantuser.py | TomasKulhanek/west-life-wp6 | 8ee704235b7b087c6a144f0cb582a77693690a7f | [
"MIT"
] | null | null | null | wp6-virtualfolder/VRE-master/addvagrantuser.py | TomasKulhanek/west-life-wp6 | 8ee704235b7b087c6a144f0cb582a77693690a7f | [
"MIT"
] | 27 | 2018-06-11T09:13:03.000Z | 2019-04-04T06:51:16.000Z | wp6-virtualfolder/VRE-master/addvagrantuser.py | h2020-westlife-eu/virtualfolder | 8ee704235b7b087c6a144f0cb582a77693690a7f | [
"MIT"
] | null | null | null | from django.contrib.auth.models import User
user=User.objects.create_user('vagrant',password='vagrant')
user.save()
| 29 | 59 | 0.801724 | 17 | 116 | 5.411765 | 0.705882 | 0.173913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051724 | 116 | 3 | 60 | 38.666667 | 0.836364 | 0 | 0 | 0 | 0 | 0 | 0.12069 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.333333 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 4 |
316623c38e2a6620fe3ffa065667b4402467c2d7 | 733 | py | Python | utils/__init__.py | XiYe20/VPTR | df01b60333975cd8c403c5b228689cbb5c763ae6 | [
"MIT"
] | null | null | null | utils/__init__.py | XiYe20/VPTR | df01b60333975cd8c403c5b228689cbb5c763ae6 | [
"MIT"
] | null | null | null | utils/__init__.py | XiYe20/VPTR | df01b60333975cd8c403c5b228689cbb5c763ae6 | [
"MIT"
] | null | null | null | from .dataset import KTHDataset, VidCenterCrop, VidPad, VidResize, BAIRDataset, VidCrop, MovingMNISTDataset, ClipDataset
from .dataset import VidRandomHorizontalFlip, VidRandomVerticalFlip
from .dataset import VidToTensor, VidNormalize, VidReNormalize, get_dataloader
from .misc import NestedTensor, set_seed
from .train... | 81.444444 | 153 | 0.869031 | 82 | 733 | 7.5 | 0.658537 | 0.053659 | 0.082927 | 0.071545 | 0.078049 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004458 | 0.081855 | 733 | 8 | 154 | 91.625 | 0.909361 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
316ae3d0cf0d520731316718547625557cca8e74 | 23 | py | Python | mlspeclib/_version.py | mlspec/mlspec-lib | 4d7fcca3067e228c9396bf5811f572310487cca0 | [
"MIT"
] | 12 | 2020-04-22T02:41:17.000Z | 2020-11-29T12:36:26.000Z | docassemble_webapp/docassemble/webapp/__init__.py | ttamg/docassemble | 1429fbbddfeb60b9f8fe74c928a479236d6a6113 | [
"MIT"
] | 12 | 2020-04-01T23:31:41.000Z | 2020-11-19T01:32:11.000Z | docassemble_webapp/docassemble/webapp/__init__.py | ttamg/docassemble | 1429fbbddfeb60b9f8fe74c928a479236d6a6113 | [
"MIT"
] | 5 | 2020-03-23T16:32:36.000Z | 2020-06-15T16:07:28.000Z | __version__ = "1.1.15"
| 11.5 | 22 | 0.652174 | 4 | 23 | 2.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0.130435 | 23 | 1 | 23 | 23 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
318df9f59aaadba77482a3529c1543fa8e307e59 | 178 | py | Python | src/kuddl/version.py | ktbarrett/kuddl | 1c8a3e436e7c38de82c3aaaec72463f54afd43bb | [
"MIT"
] | null | null | null | src/kuddl/version.py | ktbarrett/kuddl | 1c8a3e436e7c38de82c3aaaec72463f54afd43bb | [
"MIT"
] | null | null | null | src/kuddl/version.py | ktbarrett/kuddl | 1c8a3e436e7c38de82c3aaaec72463f54afd43bb | [
"MIT"
] | null | null | null | major = "0"
minor = "0"
patch = "0"
release = "dev0"
if release != "":
__version__ = f"{major}.{minor}.{patch}.{release}"
else:
__version__ = f"{major}.{minor}.{patch}"
| 17.8 | 54 | 0.578652 | 22 | 178 | 4.318182 | 0.454545 | 0.168421 | 0.273684 | 0.378947 | 0.484211 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027397 | 0.179775 | 178 | 9 | 55 | 19.777778 | 0.623288 | 0 | 0 | 0 | 0 | 0 | 0.353933 | 0.314607 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
31957a235461e8e4c92245c63ab4f28c6fa14d21 | 183 | py | Python | backend/src/baserow/contrib/database/api/rows/errors.py | orlandoblooms/baserow | 79a77cad4dd05520339261d4f4c6440c8b04f9d0 | [
"MIT"
] | null | null | null | backend/src/baserow/contrib/database/api/rows/errors.py | orlandoblooms/baserow | 79a77cad4dd05520339261d4f4c6440c8b04f9d0 | [
"MIT"
] | null | null | null | backend/src/baserow/contrib/database/api/rows/errors.py | orlandoblooms/baserow | 79a77cad4dd05520339261d4f4c6440c8b04f9d0 | [
"MIT"
] | null | null | null | from rest_framework.status import HTTP_404_NOT_FOUND
ERROR_ROW_DOES_NOT_EXIST = (
"ERROR_ROW_DOES_NOT_EXIST",
HTTP_404_NOT_FOUND,
"The requested row does not exist.",
)
| 20.333333 | 52 | 0.770492 | 29 | 183 | 4.344828 | 0.517241 | 0.166667 | 0.238095 | 0.357143 | 0.31746 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039216 | 0.163934 | 183 | 8 | 53 | 22.875 | 0.784314 | 0 | 0 | 0 | 0 | 0 | 0.311475 | 0.131148 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
31ad9dd56a8236ba8a1eb9e51e5cf9171ce56abf | 135 | py | Python | example/mqtt/testing_utils.py | lvijnck/tavern | 067a75dd9e845136b461b2fc443be29ecee9273a | [
"MIT"
] | 889 | 2017-11-04T11:43:36.000Z | 2022-03-31T11:37:31.000Z | example/mqtt/testing_utils.py | lvijnck/tavern | 067a75dd9e845136b461b2fc443be29ecee9273a | [
"MIT"
] | 636 | 2017-11-04T11:43:02.000Z | 2022-03-31T00:02:04.000Z | example/mqtt/testing_utils.py | lvijnck/tavern | 067a75dd9e845136b461b2fc443be29ecee9273a | [
"MIT"
] | 181 | 2017-12-05T13:51:42.000Z | 2022-03-25T11:34:58.000Z | def message_says_hello(msg):
"""Make sure that the response was friendly"""
assert msg.payload.get("message") == "hello world"
| 33.75 | 54 | 0.696296 | 19 | 135 | 4.842105 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162963 | 135 | 3 | 55 | 45 | 0.814159 | 0.296296 | 0 | 0 | 0 | 0 | 0.202247 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.5 | false | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
31e70b1cada2a2a69cffad09500af31756774e49 | 210 | py | Python | tests/data/credentials.py | Schveitzer/selenium-python-bdd-behave-example | 2dc16006a27565b2aac3712292f4449f8d162c7d | [
"Apache-2.0"
] | null | null | null | tests/data/credentials.py | Schveitzer/selenium-python-bdd-behave-example | 2dc16006a27565b2aac3712292f4449f8d162c7d | [
"Apache-2.0"
] | null | null | null | tests/data/credentials.py | Schveitzer/selenium-python-bdd-behave-example | 2dc16006a27565b2aac3712292f4449f8d162c7d | [
"Apache-2.0"
] | null | null | null | import os
import json
def load_credentials():
with open(os.path.join(os.path.dirname(os.path.abspath(__file__)), 'credentials.json')) as data:
credentials = json.load(data)
return credentials
| 23.333333 | 100 | 0.714286 | 29 | 210 | 5 | 0.551724 | 0.124138 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161905 | 210 | 8 | 101 | 26.25 | 0.823864 | 0 | 0 | 0 | 0 | 0 | 0.07619 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
31e895549de4df404df8fee855b91312521a8f65 | 162 | py | Python | AtCoder/ABC/A/page-2/078A.py | Nishi05/Competitive-programming | e59a6755b706d9d5c1f359f4511d92c114e6a94e | [
"MIT"
] | null | null | null | AtCoder/ABC/A/page-2/078A.py | Nishi05/Competitive-programming | e59a6755b706d9d5c1f359f4511d92c114e6a94e | [
"MIT"
] | null | null | null | AtCoder/ABC/A/page-2/078A.py | Nishi05/Competitive-programming | e59a6755b706d9d5c1f359f4511d92c114e6a94e | [
"MIT"
] | null | null | null | # asciiコード変換では 文字->数字 = ord() 数字->文字 = chr()
a, b = map(str, input().split())
if a == b:
print("=")
elif ord(a) < ord(b):
print("<")
else:
print(">")
| 18 | 44 | 0.487654 | 25 | 162 | 3.16 | 0.6 | 0.050633 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.228395 | 162 | 8 | 45 | 20.25 | 0.632 | 0.259259 | 0 | 0 | 0 | 0 | 0.025424 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.428571 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
9ed276b79d60b4f7c00a32df1d0d275d29553a8c | 116 | py | Python | sysmanager/modules/comms/hw/__init__.py | yurkis/whitebox | b40e377ed9fc29d5f0c9c96677c190b520c9d188 | [
"MIT"
] | null | null | null | sysmanager/modules/comms/hw/__init__.py | yurkis/whitebox | b40e377ed9fc29d5f0c9c96677c190b520c9d188 | [
"MIT"
] | null | null | null | sysmanager/modules/comms/hw/__init__.py | yurkis/whitebox | b40e377ed9fc29d5f0c9c96677c190b520c9d188 | [
"MIT"
] | null | null | null | from . import *
from . import hw
commands={"hw":{"subcomms":
{"info":{"fn":hw.do_hw_info}}
},
} | 16.571429 | 32 | 0.5 | 14 | 116 | 4 | 0.571429 | 0.357143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.275862 | 116 | 7 | 33 | 16.571429 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0.136752 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
73005b0829fb2bf45835104950fd1c44b79955f7 | 579 | py | Python | runner_service/controllers/__init__.py | ktdreyer/ansible-runner-service | 1a177b69c170b072328ffc365903812bc2ba7c3c | [
"Apache-2.0"
] | 13 | 2018-08-14T06:45:42.000Z | 2022-02-05T14:57:26.000Z | runner_service/controllers/__init__.py | ktdreyer/ansible-runner-service | 1a177b69c170b072328ffc365903812bc2ba7c3c | [
"Apache-2.0"
] | 52 | 2018-08-23T05:37:14.000Z | 2019-01-22T20:44:19.000Z | runner_service/controllers/__init__.py | ktdreyer/ansible-runner-service | 1a177b69c170b072328ffc365903812bc2ba7c3c | [
"Apache-2.0"
] | 9 | 2018-08-14T13:31:56.000Z | 2021-04-30T05:06:57.000Z |
from .playbooks import (ListPlaybooks, # noqa: F401
PlaybookState,
StartPlaybook,
StartTaggedPlaybook)
from .api import API # noqa: F401
from .hosts import Hosts, HostMgmt, HostDetails # noqa: F401
f... | 48.25 | 64 | 0.53886 | 49 | 579 | 6.367347 | 0.44898 | 0.179487 | 0.192308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061404 | 0.409326 | 579 | 11 | 65 | 52.636364 | 0.850877 | 0.131261 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.7 | 0 | 0.7 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
730cbb26f93a3b47b31e8e20b57f3489592316e9 | 1,334 | py | Python | lib/systems/beta-d-mannopyranose.py | pulsar-chem/BPModule | f8e64e04fdb01947708f098e833600c459c2ff0e | [
"BSD-3-Clause"
] | null | null | null | lib/systems/beta-d-mannopyranose.py | pulsar-chem/BPModule | f8e64e04fdb01947708f098e833600c459c2ff0e | [
"BSD-3-Clause"
] | null | null | null | lib/systems/beta-d-mannopyranose.py | pulsar-chem/BPModule | f8e64e04fdb01947708f098e833600c459c2ff0e | [
"BSD-3-Clause"
] | null | null | null | import pulsar as psr
def load_ref_system():
""" Returns beta-d-mannopyranose as found in the IQMol fragment library.
All credit to https://github.com/nutjunkie/IQmol
"""
return psr.make_system("""
C -0.4820 1.3845 -0.8945
O -1.2325 0.5004 -0.0247
C ... | 41.6875 | 76 | 0.401049 | 199 | 1,334 | 2.673367 | 0.532663 | 0.018797 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.535714 | 0.496252 | 1,334 | 31 | 77 | 43.032258 | 0.255952 | 0.087706 | 0 | 0 | 0 | 0 | 0.929825 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035714 | true | 0 | 0.035714 | 0 | 0.107143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
732f7a8659797c2e33b9fa3ae23e882e14ba06a9 | 126 | py | Python | terrascript/resource/poseidon/ct.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 507 | 2017-07-26T02:58:38.000Z | 2022-01-21T12:35:13.000Z | terrascript/resource/poseidon/ct.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 135 | 2017-07-20T12:01:59.000Z | 2021-10-04T22:25:40.000Z | terrascript/resource/poseidon/ct.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 81 | 2018-02-20T17:55:28.000Z | 2022-01-31T07:08:40.000Z | # terrascript/resource/poseidon/ct.py
# Automatically generated by tools/makecode.py (24-Sep-2021 15:14:51 UTC)
__all__ = []
| 25.2 | 73 | 0.753968 | 19 | 126 | 4.789474 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 0.111111 | 126 | 4 | 74 | 31.5 | 0.705357 | 0.849206 | 0 | 0 | 1 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
734f8bdb507183af4882f504ad4022bdf0195e39 | 177 | py | Python | aiographfix/__init__.py | Yyonging/aiograph | 78d291f9e1157720c949e336a9aa2711ad707285 | [
"MIT"
] | 1 | 2020-06-16T03:06:40.000Z | 2020-06-16T03:06:40.000Z | aiographfix/__init__.py | Yyonging/aiograph | 78d291f9e1157720c949e336a9aa2711ad707285 | [
"MIT"
] | null | null | null | aiographfix/__init__.py | Yyonging/aiograph | 78d291f9e1157720c949e336a9aa2711ad707285 | [
"MIT"
] | null | null | null | from . import types
from . import utils
from .api import Telegraph
from .utils import exceptions
__all__ = ['Telegraph', 'types', 'utils', 'exceptions']
__version__ = '0.2.2'
| 19.666667 | 55 | 0.717514 | 23 | 177 | 5.173913 | 0.478261 | 0.168067 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02 | 0.152542 | 177 | 8 | 56 | 22.125 | 0.773333 | 0 | 0 | 0 | 0 | 0 | 0.19209 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
735563e406a5ff6e89d4eb6c702591e20ed89727 | 33 | py | Python | exercises/exc_02_01.py | deep-diver/test-course22 | 2d2668d3b9a54546c681bc27efbbc9b326af1ab1 | [
"MIT"
] | null | null | null | exercises/exc_02_01.py | deep-diver/test-course22 | 2d2668d3b9a54546c681bc27efbbc9b326af1ab1 | [
"MIT"
] | null | null | null | exercises/exc_02_01.py | deep-diver/test-course22 | 2d2668d3b9a54546c681bc27efbbc9b326af1ab1 | [
"MIT"
] | 1 | 2020-07-01T21:46:44.000Z | 2020-07-01T21:46:44.000Z | # Hello 를 화면에 출력한다
_____('Hello') | 16.5 | 18 | 0.69697 | 5 | 33 | 3.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 33 | 2 | 19 | 16.5 | 0.642857 | 0.484848 | 0 | 0 | 0 | 0 | 0.3125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b41495082ba1dd339ad1a3f9cf9700c363a4723c | 6,413 | py | Python | wplay/utils/helpers.py | olivier-j/whatsapp-play | fc97115125a1ab7f395d76c0414e4bbe56e59de7 | [
"MIT"
] | 361 | 2019-06-08T05:10:18.000Z | 2022-01-11T17:45:43.000Z | wplay/utils/helpers.py | olivier-j/whatsapp-play | fc97115125a1ab7f395d76c0414e4bbe56e59de7 | [
"MIT"
] | 320 | 2019-06-01T07:42:30.000Z | 2021-05-13T16:24:53.000Z | wplay/utils/helpers.py | olivier-j/whatsapp-play | fc97115125a1ab7f395d76c0414e4bbe56e59de7 | [
"MIT"
] | 301 | 2019-06-24T13:27:33.000Z | 2021-09-27T21:39:35.000Z | # region IMPORTS
from pathlib import Path
import signal
import psutil
from whaaaaat import style_from_dict, Token
# endregion
# region Whatsapp WEBSITES
websites = {'whatsapp': 'https://web.whatsapp.com/', 'wpp_unknown': 'https://web.whatsapp.com/send?phone='}
# endregion
# region SELECTORS
whatsapp_selectors_dict =... | 56.254386 | 190 | 0.662093 | 905 | 6,413 | 4.461878 | 0.18674 | 0.215453 | 0.211738 | 0.181278 | 0.567608 | 0.439326 | 0.36949 | 0.303368 | 0.268945 | 0.260773 | 0 | 0.006151 | 0.188835 | 6,413 | 113 | 191 | 56.752212 | 0.770088 | 0.026976 | 0 | 0.044944 | 0 | 0.235955 | 0.599422 | 0.128333 | 0 | 0 | 0 | 0 | 0 | 1 | 0.022472 | false | 0 | 0.044944 | 0 | 0.078652 | 0.011236 | 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 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b43ebdccf4ca9387d56162b0308e2f6eb397961b | 72,289 | py | Python | python/models.py | stwisdom/sista-rnn | 64ddea177b4bf3efc9504f2106e3ce3f6574b4e0 | [
"MIT"
] | 10 | 2017-01-10T01:14:30.000Z | 2020-07-02T19:24:47.000Z | python/models.py | stwisdom/sista-rnn | 64ddea177b4bf3efc9504f2106e3ce3f6574b4e0 | [
"MIT"
] | 1 | 2017-03-23T06:34:58.000Z | 2017-03-23T06:34:58.000Z | python/models.py | stwisdom/sista-rnn | 64ddea177b4bf3efc9504f2106e3ce3f6574b4e0 | [
"MIT"
] | 9 | 2017-01-10T01:14:31.000Z | 2019-11-25T08:25:39.000Z | import theano, cPickle
import theano.tensor as T
import numpy as np
from fftconv import cufft, cuifft
def initialize_matrix(n_in, n_out, name, rng, init='rand'):
if (init=='rand') or (init=='randSmall'):
bin = np.sqrt(6. / (n_in + n_out))
values = np.asarray(rng.uniform(low=-bin,
... | 47.124511 | 660 | 0.568551 | 10,057 | 72,289 | 3.842896 | 0.052401 | 0.034232 | 0.03224 | 0.033922 | 0.811581 | 0.768656 | 0.735433 | 0.695974 | 0.663061 | 0.642983 | 0 | 0.023977 | 0.309411 | 72,289 | 1,533 | 661 | 47.155251 | 0.75019 | 0.148847 | 0 | 0.619 | 0 | 0 | 0.018395 | 0 | 0 | 0 | 0 | 0.000652 | 0 | 1 | 0.027 | false | 0 | 0.004 | 0.001 | 0.06 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
81eac552ae8c128bc27d4dfac1f43ad682e8de63 | 84 | py | Python | booksapi/books/apps.py | Anujangalapalli/micropythonapi | 2d5f779be2e00e3009ca0c4902d9cf50be1ecee5 | [
"MIT"
] | null | null | null | booksapi/books/apps.py | Anujangalapalli/micropythonapi | 2d5f779be2e00e3009ca0c4902d9cf50be1ecee5 | [
"MIT"
] | 5 | 2020-02-11T23:16:35.000Z | 2020-07-17T20:20:45.000Z | booksapi/books/apps.py | Anujangalapalli/micropythonapi | 2d5f779be2e00e3009ca0c4902d9cf50be1ecee5 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class BooksConfig(AppConfig):
name = 'books'
| 16.8 | 33 | 0.75 | 10 | 84 | 6.3 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 84 | 4 | 34 | 21 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0.059524 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
81f7572e6b63241d6dd04999ebc60e04614d802b | 153 | py | Python | pk1/clouds/pagination.py | cas-bigdatalab/scispace | 5099c1b5716e21172cd2b914b0d9389b2a0415aa | [
"Apache-2.0"
] | 32 | 2019-07-08T06:09:13.000Z | 2021-03-14T06:32:02.000Z | pk1/clouds/pagination.py | cas-bigdatalab/scispace | 5099c1b5716e21172cd2b914b0d9389b2a0415aa | [
"Apache-2.0"
] | 12 | 2018-11-15T01:36:07.000Z | 2019-01-22T04:37:29.000Z | pk1/clouds/pagination.py | cas-bigdatalab/scispace | 5099c1b5716e21172cd2b914b0d9389b2a0415aa | [
"Apache-2.0"
] | 9 | 2019-07-12T09:01:08.000Z | 2020-01-05T13:49:25.000Z | from rest_framework.pagination import PageNumberPagination
class PageSizeNumberPagination(PageNumberPagination):
page_size_query_param = 'page_size' | 38.25 | 58 | 0.869281 | 15 | 153 | 8.533333 | 0.8 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084967 | 153 | 4 | 59 | 38.25 | 0.914286 | 0 | 0 | 0 | 0 | 0 | 0.058442 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
81f995f90dcd5fed4ac851a6c4459a629c04ecb9 | 638 | py | Python | openslides_backend/shared/interfaces/services.py | FinnStutzenstein/openslides-backend | fffc152f79d3446591e07a6913d9fdf30b46f577 | [
"MIT"
] | null | null | null | openslides_backend/shared/interfaces/services.py | FinnStutzenstein/openslides-backend | fffc152f79d3446591e07a6913d9fdf30b46f577 | [
"MIT"
] | null | null | null | openslides_backend/shared/interfaces/services.py | FinnStutzenstein/openslides-backend | fffc152f79d3446591e07a6913d9fdf30b46f577 | [
"MIT"
] | null | null | null | from typing import Protocol
from ...services.auth.interface import AuthenticationService
from ...services.datastore.interface import DatastoreService
from ...services.media.interface import MediaService
from ...services.permission.interface import PermissionService
class Services(Protocol): # pragma: no cover
"... | 25.52 | 66 | 0.724138 | 62 | 638 | 7.451613 | 0.451613 | 0.103896 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.194357 | 638 | 24 | 67 | 26.583333 | 0.898833 | 0.125392 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0.285714 | 0.357143 | 0 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
c3068a0061f0156528f30bf54d9153beaaa8fd4c | 15,701 | py | Python | impc_etl/workflow/main.py | ficolo/impc-etl | 3ca0fadaaa2b6e5d6fc424f949a9faa7680cd5f5 | [
"Apache-2.0"
] | 4 | 2021-04-14T09:28:51.000Z | 2022-02-07T10:52:14.000Z | impc_etl/workflow/main.py | ficolo/impc-etl | 3ca0fadaaa2b6e5d6fc424f949a9faa7680cd5f5 | [
"Apache-2.0"
] | 85 | 2018-10-30T10:49:28.000Z | 2022-03-25T13:51:31.000Z | impc_etl/workflow/main.py | ficolo/impc-etl | 3ca0fadaaa2b6e5d6fc424f949a9faa7680cd5f5 | [
"Apache-2.0"
] | 7 | 2018-10-30T11:36:57.000Z | 2021-07-15T15:36:14.000Z | from typing import Union
from luigi.contrib.hdfs import HdfsTarget
from impc_etl.jobs.load.impc_api.impc_api_mapper import (
ApiSpecimenMapper,
ApiExperimentMapper,
ApiObservationMapper,
)
from impc_etl.jobs.load.impc_api.impc_api_pg_loader import ApiPostgreSQLLoader
from impc_etl.workflow.load import *
f... | 40.466495 | 113 | 0.663652 | 1,789 | 15,701 | 5.348239 | 0.090553 | 0.079431 | 0.124164 | 0.039507 | 0.782818 | 0.746237 | 0.736204 | 0.708821 | 0.674436 | 0.645067 | 0 | 0.00052 | 0.264697 | 15,701 | 387 | 114 | 40.571059 | 0.828237 | 0 | 0 | 0.639205 | 0 | 0 | 0.015986 | 0.011273 | 0 | 0 | 0 | 0 | 0 | 1 | 0.039773 | false | 0.014205 | 0.025568 | 0.025568 | 0.392045 | 0.002841 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c306e7064d943621b80fe537a57e8735fed2aacb | 1,950 | py | Python | data/users/apptoken.py | anwarchk/quay | 23c5120790c619174e7d36784ca5aab7f4eece5c | [
"Apache-2.0"
] | 1 | 2019-11-22T21:10:08.000Z | 2019-11-22T21:10:08.000Z | data/users/apptoken.py | anwarchk/quay | 23c5120790c619174e7d36784ca5aab7f4eece5c | [
"Apache-2.0"
] | 20 | 2019-12-26T17:32:34.000Z | 2022-03-21T22:18:06.000Z | data/users/apptoken.py | anwarchk/quay | 23c5120790c619174e7d36784ca5aab7f4eece5c | [
"Apache-2.0"
] | 1 | 2020-05-31T16:28:40.000Z | 2020-05-31T16:28:40.000Z | import logging
from data import model
from oauth.loginmanager import OAuthLoginManager
from oauth.oidc import PublicKeyLoadException
from util.security.jwtutil import InvalidTokenError
logger = logging.getLogger(__name__)
class AppTokenInternalAuth(object):
""" Forces all internal credential login to go through a... | 28.676471 | 95 | 0.748205 | 254 | 1,950 | 5.543307 | 0.42126 | 0.059659 | 0.034091 | 0.039773 | 0.31321 | 0.271307 | 0.171875 | 0.171875 | 0.069602 | 0.069602 | 0 | 0 | 0.172821 | 1,950 | 67 | 96 | 29.104478 | 0.872908 | 0.166667 | 0 | 0.243902 | 0 | 0 | 0.1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.365854 | false | 0.146341 | 0.121951 | 0.341463 | 0.878049 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
c30ccff8f41257e20623606280dd0b400eb9389a | 177 | py | Python | docs_src/subcommands/tutorial001/main.py | madkinsz/typer | a1520dcda685220a9a796288f5eaaebd00d68845 | [
"MIT"
] | 7,615 | 2019-12-24T13:08:20.000Z | 2022-03-31T22:07:53.000Z | docs_src/subcommands/tutorial001/main.py | madkinsz/typer | a1520dcda685220a9a796288f5eaaebd00d68845 | [
"MIT"
] | 351 | 2019-12-24T22:17:54.000Z | 2022-03-31T15:35:08.000Z | docs_src/subcommands/tutorial001/main.py | jina-ai/typer | 8b5e14b25ddf0dd777403015883301b17bedcee0 | [
"MIT"
] | 360 | 2019-12-24T15:29:59.000Z | 2022-03-30T20:33:10.000Z | import typer
import items
import users
app = typer.Typer()
app.add_typer(users.app, name="users")
app.add_typer(items.app, name="items")
if __name__ == "__main__":
app()
| 14.75 | 38 | 0.706215 | 27 | 177 | 4.259259 | 0.333333 | 0.208696 | 0.191304 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141243 | 177 | 11 | 39 | 16.090909 | 0.756579 | 0 | 0 | 0 | 0 | 0 | 0.101695 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.375 | 0 | 0.375 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
c358f78b0d6d8d53a52db592c0540f16d66f164e | 1,171 | py | Python | gslib/discard_messages_queue.py | MingweiChen/gsutil | a760690c1e1b3244e59bbcaa14448a72d323f658 | [
"Apache-2.0"
] | 1 | 2019-01-14T17:38:35.000Z | 2019-01-14T17:38:35.000Z | gslib/discard_messages_queue.py | MingweiChen/gsutil | a760690c1e1b3244e59bbcaa14448a72d323f658 | [
"Apache-2.0"
] | 1 | 2019-05-07T06:22:16.000Z | 2019-05-07T07:03:24.000Z | gslib/discard_messages_queue.py | MingweiChen/gsutil | a760690c1e1b3244e59bbcaa14448a72d323f658 | [
"Apache-2.0"
] | 1 | 2020-07-03T00:59:53.000Z | 2020-07-03T00:59:53.000Z | # -*- coding: utf-8 -*-
# Copyright 2018 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless require... | 40.37931 | 77 | 0.75064 | 177 | 1,171 | 4.966102 | 0.689266 | 0.068259 | 0.029579 | 0.036405 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009288 | 0.172502 | 1,171 | 28 | 78 | 41.821429 | 0.897833 | 0.87105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
c35b721b142fe929e8a073a4d9fc0e4bc4a575e0 | 73 | py | Python | keras_contrib/regularizers/__init__.py | rgreenblatt/keras-contrib | 46fcdb9384b3bc9399c651b2b43640aa54098e64 | [
"MIT"
] | 11 | 2019-03-23T13:23:49.000Z | 2022-01-20T07:57:56.000Z | keras_contrib/regularizers/__init__.py | rgreenblatt/keras-contrib | 46fcdb9384b3bc9399c651b2b43640aa54098e64 | [
"MIT"
] | 1 | 2021-06-18T23:07:54.000Z | 2021-07-13T21:43:51.000Z | keras_contrib/regularizers/__init__.py | rgreenblatt/keras-contrib | 46fcdb9384b3bc9399c651b2b43640aa54098e64 | [
"MIT"
] | 11 | 2017-07-06T14:11:51.000Z | 2021-08-21T23:18:20.000Z |
from __future__ import absolute_import
from keras.regularizers import *
| 18.25 | 38 | 0.849315 | 9 | 73 | 6.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123288 | 73 | 3 | 39 | 24.333333 | 0.890625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
c35cb02e8dbd91aeee22cdaa4f79693a8724b5e4 | 789 | py | Python | app/forms/venda_form.py | pedroferronato/gerenciamento-rural | 5ed873caf9fdf1da2a26938b8cee57b55e7636f0 | [
"MIT"
] | null | null | null | app/forms/venda_form.py | pedroferronato/gerenciamento-rural | 5ed873caf9fdf1da2a26938b8cee57b55e7636f0 | [
"MIT"
] | null | null | null | app/forms/venda_form.py | pedroferronato/gerenciamento-rural | 5ed873caf9fdf1da2a26938b8cee57b55e7636f0 | [
"MIT"
] | null | null | null | from datetime import date
from flask_wtf import FlaskForm
from wtforms import FloatField, DateField, StringField
from wtforms.validators import DataRequired, Length
class VendaForm(FlaskForm):
data = StringField('Data da venda:', default=date.today().strftime('%d/%m/%Y'), validators=[DataRequired('Insira a data d... | 60.692308 | 136 | 0.751584 | 94 | 789 | 6.276596 | 0.531915 | 0.149153 | 0.189831 | 0.098305 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007225 | 0.12294 | 789 | 13 | 137 | 60.692308 | 0.845376 | 0 | 0 | 0 | 0 | 0 | 0.283544 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.1 | 0.4 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
c35edfff29e3bec80a93f531afa7a709b20b6135 | 130 | py | Python | geodeconstructor/__init__.py | ThomasVieth/geodeconstructor | 934ab7c0a0f0b728111d33ac90812272c85310f2 | [
"MIT"
] | null | null | null | geodeconstructor/__init__.py | ThomasVieth/geodeconstructor | 934ab7c0a0f0b728111d33ac90812272c85310f2 | [
"MIT"
] | null | null | null | geodeconstructor/__init__.py | ThomasVieth/geodeconstructor | 934ab7c0a0f0b728111d33ac90812272c85310f2 | [
"MIT"
] | null | null | null | """
"""
## library imports
from .components import Coordinate
from .history.json import *
from .history.locations import *
## | 11.818182 | 34 | 0.7 | 14 | 130 | 6.5 | 0.642857 | 0.241758 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169231 | 130 | 11 | 35 | 11.818182 | 0.842593 | 0.115385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
c365fb437de58fbc6b4e7852be32ee1d05d33b2c | 54 | py | Python | modules/missing_species.py | axelthorstein/gene-matrix | 0bd2bb40ead3b4109d9f407f908567b728bce56a | [
"Unlicense"
] | null | null | null | modules/missing_species.py | axelthorstein/gene-matrix | 0bd2bb40ead3b4109d9f407f908567b728bce56a | [
"Unlicense"
] | null | null | null | modules/missing_species.py | axelthorstein/gene-matrix | 0bd2bb40ead3b4109d9f407f908567b728bce56a | [
"Unlicense"
] | null | null | null | def add_missing_species(missing_species, filenames):
| 27 | 52 | 0.851852 | 7 | 54 | 6.142857 | 0.714286 | 0.651163 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 54 | 2 | 53 | 27 | 0.86 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c37a3c991848c9fc0bf09028cf829e9ab77a38a2 | 4,937 | py | Python | src/PythonMPIInterfaces/mpi_mpi4py.py | as1m0n/spheral | 4d72822f56aca76d70724c543d389d15ff6ca48e | [
"BSD-Source-Code",
"BSD-3-Clause-LBNL",
"FSFAP"
] | 19 | 2020-10-21T01:49:17.000Z | 2022-03-15T12:29:17.000Z | src/PythonMPIInterfaces/mpi_mpi4py.py | markguozhiming/spheral | bbb982102e61edb8a1d00cf780bfa571835e1b61 | [
"BSD-Source-Code",
"BSD-3-Clause-LBNL",
"FSFAP"
] | 41 | 2020-09-28T23:14:27.000Z | 2022-03-28T17:01:33.000Z | src/PythonMPIInterfaces/mpi_mpi4py.py | markguozhiming/spheral | bbb982102e61edb8a1d00cf780bfa571835e1b61 | [
"BSD-Source-Code",
"BSD-3-Clause-LBNL",
"FSFAP"
] | 5 | 2020-11-03T16:14:26.000Z | 2022-01-03T19:07:24.000Z | #-------------------------------------------------------------------------------
# mpi
#
# This module reproduces the pyMPI interface using mpi4py.
#-------------------------------------------------------------------------------
import sys
from SpheralTestUtilities import globalFrame
# NOTE: this logic for disabling r... | 39.18254 | 96 | 0.354466 | 344 | 4,937 | 4.877907 | 0.348837 | 0.047676 | 0.040524 | 0.026818 | 0.162694 | 0.032181 | 0.032181 | 0 | 0 | 0 | 0 | 0.004965 | 0.102491 | 4,937 | 125 | 97 | 39.496 | 0.373731 | 0.607049 | 0 | 0.12963 | 0 | 0 | 0.170111 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.203704 | false | 0 | 0.12963 | 0.12963 | 0.518519 | 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 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
5edf65ece4ba961ba4e38398140a1d65d5a1b405 | 30 | py | Python | omnipresence/test/__init__.py | kxz/omnipresence | ffb3dbc30d36331a68e8dea3a85db6a4d2928cd7 | [
"BSD-3-Clause"
] | null | null | null | omnipresence/test/__init__.py | kxz/omnipresence | ffb3dbc30d36331a68e8dea3a85db6a4d2928cd7 | [
"BSD-3-Clause"
] | 10 | 2016-04-05T04:36:15.000Z | 2018-03-25T00:15:47.000Z | omnipresence/test/__init__.py | kxz/omnipresence | ffb3dbc30d36331a68e8dea3a85db6a4d2928cd7 | [
"BSD-3-Clause"
] | null | null | null | """Tests for Omnipresence."""
| 15 | 29 | 0.666667 | 3 | 30 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 1 | 30 | 30 | 0.740741 | 0.766667 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5ef3a1fe1bfc6eede8555f558976213f959cbd0b | 32 | py | Python | python-code.py | etonkou/repo-test | 1bde3af592c8c5f5b4355086f96d7fda1ba2ecb8 | [
"BSD-3-Clause"
] | null | null | null | python-code.py | etonkou/repo-test | 1bde3af592c8c5f5b4355086f96d7fda1ba2ecb8 | [
"BSD-3-Clause"
] | null | null | null | python-code.py | etonkou/repo-test | 1bde3af592c8c5f5b4355086f96d7fda1ba2ecb8 | [
"BSD-3-Clause"
] | null | null | null | def bonjour(nom):
retrurn nom
| 8 | 17 | 0.71875 | 5 | 32 | 4.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 32 | 3 | 18 | 10.666667 | 0.884615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5efb1352515eff04c3ca1a4b03ed3883aaba8c9b | 94 | py | Python | controller_microservice/controller/apps.py | getnosleep/VirtualUnjam | bae08eec9756c963dab409c6e4e7397ef019cc8a | [
"MIT"
] | null | null | null | controller_microservice/controller/apps.py | getnosleep/VirtualUnjam | bae08eec9756c963dab409c6e4e7397ef019cc8a | [
"MIT"
] | null | null | null | controller_microservice/controller/apps.py | getnosleep/VirtualUnjam | bae08eec9756c963dab409c6e4e7397ef019cc8a | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class ControllerConfig(AppConfig):
name = 'controller'
| 18.8 | 34 | 0.776596 | 10 | 94 | 7.3 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148936 | 94 | 4 | 35 | 23.5 | 0.9125 | 0 | 0 | 0 | 0 | 0 | 0.106383 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
6f0febeaa613a49ee08b87ee2ffa5d5dba08b84e | 1,420 | py | Python | FlaskORM2/app/models.py | lxdzz/item | 1024c53baa51bcdc98ec7a987eb3433fc4478d00 | [
"MIT"
] | null | null | null | FlaskORM2/app/models.py | lxdzz/item | 1024c53baa51bcdc98ec7a987eb3433fc4478d00 | [
"MIT"
] | 3 | 2021-05-10T16:52:04.000Z | 2022-02-13T15:33:12.000Z | FlaskORM2/app/models.py | lxdzz/item | 1024c53baa51bcdc98ec7a987eb3433fc4478d00 | [
"MIT"
] | null | null | null | from app import models
class BaseModel(models.Model):
__abstract__ = True #声明当前类是抽象类,被继承调用不被创建
id = models.Column(models.Integer,primary_key = True,autoincrement=True)
def save(self):
db = models.session()
db.add(self)
db.commit()
def delete(self):
db = models.session()
... | 30.212766 | 76 | 0.690845 | 188 | 1,420 | 5.042553 | 0.329787 | 0.21519 | 0.322785 | 0.329114 | 0.493671 | 0.255274 | 0 | 0 | 0 | 0 | 0 | 0.025751 | 0.179577 | 1,420 | 47 | 77 | 30.212766 | 0.787983 | 0.056338 | 0 | 0.114286 | 0 | 0 | 0.014571 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.057143 | false | 0.028571 | 0.028571 | 0 | 0.828571 | 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 | 1 | 0 | 0 | 4 |
6f28a497436864c004c8d2b2a6820592cf9d81e2 | 93 | py | Python | backstage/apps.py | JiajiaHuang/smonus | 95ec209ae3562ea73ee9ce4c22a0d3a3f0975210 | [
"Unlicense"
] | 45 | 2019-03-22T23:01:45.000Z | 2021-11-09T01:32:12.000Z | EMS/backstage/apps.py | Carlyx/2019-Software-Engineering-Curriculum-Design | 213336540c58f4b1dbcc3656c7178e9b37e6cff4 | [
"MIT"
] | 9 | 2019-03-25T03:27:57.000Z | 2021-06-10T21:27:21.000Z | EMS/backstage/apps.py | Carlyx/2019-Software-Engineering-Curriculum-Design | 213336540c58f4b1dbcc3656c7178e9b37e6cff4 | [
"MIT"
] | 13 | 2019-03-28T13:44:05.000Z | 2021-05-23T06:45:03.000Z | from django.apps import AppConfig
class BackstageConfig(AppConfig):
name = 'backstage'
| 15.5 | 33 | 0.763441 | 10 | 93 | 7.1 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 93 | 5 | 34 | 18.6 | 0.910256 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
6f487afa7ad5fb1d9fd56bfd83ff36f59149f441 | 129 | py | Python | Chapter09/text_write.py | add54/ADMIN_SYS_PYTHON | 5a6d9705537c8663c8f7b0f45d29ccc87b6096e7 | [
"MIT"
] | 116 | 2018-12-21T01:05:47.000Z | 2022-03-23T21:41:41.000Z | Chapter09/text_write.py | add54/ADMIN_SYS_PYTHON | 5a6d9705537c8663c8f7b0f45d29ccc87b6096e7 | [
"MIT"
] | 2 | 2021-03-31T19:36:19.000Z | 2021-06-10T22:29:26.000Z | Chapter09/text_write.py | add54/ADMIN_SYS_PYTHON | 5a6d9705537c8663c8f7b0f45d29ccc87b6096e7 | [
"MIT"
] | 147 | 2018-12-19T14:10:32.000Z | 2022-03-20T11:03:20.000Z | text_file = open("test.txt", "w")
text_file.write("Monday\nTuesday\nWednesday\nThursday\nFriday\nSaturday\n")
text_file.close()
| 25.8 | 75 | 0.767442 | 19 | 129 | 5.052632 | 0.789474 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054264 | 129 | 4 | 76 | 32.25 | 0.786885 | 0 | 0 | 0 | 0 | 0 | 0.507813 | 0.4375 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
6f4bc6e26adf10e740f93a66e244b0513b8e039b | 239 | py | Python | pyclerk/endpoints/__init__.py | rgioai/caselaw-access-project | 31275e3af89a9f7702b11a91ba712f3c542dc015 | [
"MIT"
] | 2 | 2020-04-28T14:14:50.000Z | 2020-05-12T16:50:45.000Z | pyclerk/endpoints/__init__.py | rgioai/caselaw-access-project | 31275e3af89a9f7702b11a91ba712f3c542dc015 | [
"MIT"
] | null | null | null | pyclerk/endpoints/__init__.py | rgioai/caselaw-access-project | 31275e3af89a9f7702b11a91ba712f3c542dc015 | [
"MIT"
] | null | null | null | from ._endpoint import *
from .bulk import *
from .cases import *
from .citations import *
from .courts import *
from .jurisdictions import *
from .ngrams import *
from .reporters import *
from .user_history import *
from .volumes import * | 23.9 | 28 | 0.753138 | 31 | 239 | 5.741935 | 0.419355 | 0.505618 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16318 | 239 | 10 | 29 | 23.9 | 0.89 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
6f4d168a478d77b8c7b778b61126d70232090145 | 487 | py | Python | django_event/backends/base/client.py | ailove-dev/django-event | 2d82cee0b3b86209850cbb6e382d597d2624251d | [
"MIT"
] | 3 | 2015-08-31T00:46:12.000Z | 2017-12-13T01:32:32.000Z | django_event/backends/base/client.py | ailove-dev/django-event | 2d82cee0b3b86209850cbb6e382d597d2624251d | [
"MIT"
] | 8 | 2015-01-20T12:27:24.000Z | 2015-05-29T12:29:53.000Z | django_event/backends/base/client.py | ailove-dev/django-event | 2d82cee0b3b86209850cbb6e382d597d2624251d | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Backend base client module.
"""
from __future__ import unicode_literals
class BaseClient(object):
"""
Base backend client.
"""
def connect(self):
"""
Establishes connection.
:raises: :class:`NotImplementedError`
"""
raise NotImp... | 15.21875 | 45 | 0.570842 | 37 | 487 | 7.378378 | 0.675676 | 0.080586 | 0.21978 | 0.25641 | 0.395604 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002976 | 0.310062 | 487 | 32 | 46 | 15.21875 | 0.809524 | 0.38193 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
6f6465003d65ed58802dda51b92ff286e8009cc3 | 174 | py | Python | helm/dagster/schema/schema/charts/dagster/subschema/global_.py | dbatten5/dagster | d76e50295054ffe5a72f9b292ef57febae499528 | [
"Apache-2.0"
] | 4,606 | 2018-06-21T17:45:20.000Z | 2022-03-31T23:39:42.000Z | helm/dagster/schema/schema/charts/dagster/subschema/global_.py | dbatten5/dagster | d76e50295054ffe5a72f9b292ef57febae499528 | [
"Apache-2.0"
] | 6,221 | 2018-06-12T04:36:01.000Z | 2022-03-31T21:43:05.000Z | helm/dagster/schema/schema/charts/dagster/subschema/global_.py | dbatten5/dagster | d76e50295054ffe5a72f9b292ef57febae499528 | [
"Apache-2.0"
] | 619 | 2018-08-22T22:43:09.000Z | 2022-03-31T22:48:06.000Z | from pydantic import BaseModel # pylint: disable=no-name-in-module
class Global(BaseModel):
postgresqlSecretName: str
dagsterHome: str
serviceAccountName: str
| 21.75 | 67 | 0.758621 | 19 | 174 | 6.947368 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 174 | 7 | 68 | 24.857143 | 0.916667 | 0.189655 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
6f6fea304dc512956790042062c28a5a7469c7c6 | 200 | py | Python | onadata/apps/export/__init__.py | gushil/kobocat | 5ce27ed5fbf969b2ce68e8a59dd97ced74686711 | [
"BSD-2-Clause"
] | 1 | 2018-07-15T10:37:41.000Z | 2018-07-15T10:37:41.000Z | onadata/apps/export/__init__.py | gushil/kobocat | 5ce27ed5fbf969b2ce68e8a59dd97ced74686711 | [
"BSD-2-Clause"
] | 48 | 2019-03-18T09:26:31.000Z | 2019-05-27T08:12:03.000Z | onadata/apps/export/__init__.py | gushil/kobocat | 5ce27ed5fbf969b2ce68e8a59dd97ced74686711 | [
"BSD-2-Clause"
] | 1 | 2020-03-03T15:50:24.000Z | 2020-03-03T15:50:24.000Z | #################################################
# THIS APP IS DEAD CODE AND SHOULD BE EXCISED #
# EVERY SINGLE ENDPOINT 500s EXCEPT export_menu #
#################################################
| 40 | 49 | 0.375 | 16 | 200 | 4.625 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016949 | 0.115 | 200 | 4 | 50 | 50 | 0.40113 | 0.46 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
489d6f4d40fb42cdab157aaebde171cd04713835 | 46 | py | Python | data/studio21_generated/introductory/4271/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | data/studio21_generated/introductory/4271/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | data/studio21_generated/introductory/4271/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | def roman_fractions(integer, fraction=None):
| 23 | 44 | 0.804348 | 6 | 46 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 46 | 2 | 45 | 23 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
48ac73d1d9c5ae408cf5d7443f177a048d51baf3 | 213 | py | Python | dwetl/writer/writer.py | ThisIsNima/dwetl | 12e06148929ec3ff5946345251c955cb4277d167 | [
"Apache-2.0"
] | 1 | 2021-04-08T11:58:51.000Z | 2021-04-08T11:58:51.000Z | dwetl/writer/writer.py | tsboom/dwetl | b137b8ad3fa36fcabb6a0de33c23e1328b6e3a19 | [
"Apache-2.0"
] | 1 | 2019-12-17T16:41:25.000Z | 2019-12-17T16:41:25.000Z | dwetl/writer/writer.py | ThisIsNima/dwetl | 12e06148929ec3ff5946345251c955cb4277d167 | [
"Apache-2.0"
] | 3 | 2019-05-09T17:27:48.000Z | 2019-10-02T17:58:53.000Z | class Writer:
"""
Abstract class that encapsulates a writing a row to an output.
Subclasses should implement the "write_row" method.
"""
def write_row(self):
raise NotImplementedError | 23.666667 | 66 | 0.680751 | 26 | 213 | 5.5 | 0.807692 | 0.111888 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.253521 | 213 | 9 | 67 | 23.666667 | 0.899371 | 0.539906 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
48da26e52f25a53e20690fcc3011f8b221894957 | 24 | py | Python | irco/__init__.py | GaretJax/irco | e5df3cf1a608dc813011a1ee7e920637e5bd155c | [
"MIT"
] | null | null | null | irco/__init__.py | GaretJax/irco | e5df3cf1a608dc813011a1ee7e920637e5bd155c | [
"MIT"
] | null | null | null | irco/__init__.py | GaretJax/irco | e5df3cf1a608dc813011a1ee7e920637e5bd155c | [
"MIT"
] | 1 | 2015-12-17T19:18:28.000Z | 2015-12-17T19:18:28.000Z |
__version__ = '0.10.2'
| 8 | 22 | 0.625 | 4 | 24 | 2.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0.166667 | 24 | 2 | 23 | 12 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5b0c1b2c0919a4333fb1ee5606bcc2d98af20ed6 | 346 | py | Python | notebooks/Skew_T/solutions/skewt_get_data.py | DEVESHTARASIA/unidata-python-workshop | 6ce194a0515effbd0cddb50c2302d5160494747e | [
"MIT"
] | 1 | 2020-01-18T20:34:33.000Z | 2020-01-18T20:34:33.000Z | notebooks/Skew_T/solutions/skewt_get_data.py | DEVESHTARASIA/unidata-python-workshop | 6ce194a0515effbd0cddb50c2302d5160494747e | [
"MIT"
] | null | null | null | notebooks/Skew_T/solutions/skewt_get_data.py | DEVESHTARASIA/unidata-python-workshop | 6ce194a0515effbd0cddb50c2302d5160494747e | [
"MIT"
] | 1 | 2020-11-07T12:42:54.000Z | 2020-11-07T12:42:54.000Z | df = WyomingUpperAir.request_data(datetime(2017, 9, 10, 0), 'KEY')
p = df['pressure'].values * units(df.units['pressure'])
T = df['temperature'].values * units(df.units['temperature'])
Td = df['dewpoint'].values * units(df.units['dewpoint'])
u = df['u_wind'].values * units(df.units['u_wind'])
v = df['v_wind'].values *... | 49.428571 | 66 | 0.67052 | 54 | 346 | 4.203704 | 0.388889 | 0.242291 | 0.286344 | 0.396476 | 0.193833 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025478 | 0.092486 | 346 | 7 | 67 | 49.428571 | 0.697452 | 0 | 0 | 0 | 0 | 0 | 0.233429 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5b14bd7758eb780eb14ad51f9e8a701073439bad | 163 | py | Python | colt/obj.py | xiki-tempula/colt | dbd6e7e329787c2b92dc7d69b89df8680f10b738 | [
"Apache-2.0"
] | 1 | 2021-11-07T12:06:54.000Z | 2021-11-07T12:06:54.000Z | colt/obj.py | xiki-tempula/colt | dbd6e7e329787c2b92dc7d69b89df8680f10b738 | [
"Apache-2.0"
] | 1 | 2021-11-07T13:34:16.000Z | 2021-11-07T13:34:16.000Z | colt/obj.py | xiki-tempula/colt | dbd6e7e329787c2b92dc7d69b89df8680f10b738 | [
"Apache-2.0"
] | 1 | 2021-10-31T10:39:37.000Z | 2021-10-31T10:39:37.000Z | from .colt import Colt
class NoFurtherQuestions(Colt):
"""Empty class to use for cases where no further questions
should be asked"""
__slots__ = ()
| 18.111111 | 62 | 0.693252 | 21 | 163 | 5.190476 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.226994 | 163 | 8 | 63 | 20.375 | 0.865079 | 0.435583 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
d2a834e2510d369733b1848fde49bf41e0f5edab | 94 | py | Python | koocook_core/apps.py | KooCook/koocook-dj | 33bfaf48e8363013ddd083d5d8542496c50fd5d3 | [
"BSD-3-Clause"
] | 1 | 2020-10-19T04:44:49.000Z | 2020-10-19T04:44:49.000Z | koocook_core/apps.py | KooCook/koocook-dj | 33bfaf48e8363013ddd083d5d8542496c50fd5d3 | [
"BSD-3-Clause"
] | 26 | 2019-11-11T03:37:03.000Z | 2019-12-15T23:18:18.000Z | koocook_core/apps.py | KooCook/koocook-dj | 33bfaf48e8363013ddd083d5d8542496c50fd5d3 | [
"BSD-3-Clause"
] | 1 | 2020-11-08T14:36:21.000Z | 2020-11-08T14:36:21.000Z | from django.apps import AppConfig
class KooCookConfig(AppConfig):
name = 'koocook_core'
| 15.666667 | 33 | 0.765957 | 11 | 94 | 6.454545 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159574 | 94 | 5 | 34 | 18.8 | 0.898734 | 0 | 0 | 0 | 0 | 0 | 0.12766 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
d2d0c22191e1bf0bb4a08fd8be6359bfc6d71a2d | 203 | py | Python | back/matchmaker/admin.py | HaeSe0ng/SWPP | 3bfc95edd2b341283d8d63d398b05e74605d54af | [
"Apache-2.0"
] | 2 | 2019-09-16T08:06:45.000Z | 2019-12-17T14:35:51.000Z | back/matchmaker/admin.py | HaeSe0ng/SWPP | 3bfc95edd2b341283d8d63d398b05e74605d54af | [
"Apache-2.0"
] | 43 | 2019-10-05T02:45:23.000Z | 2020-07-18T11:15:00.000Z | back/matchmaker/admin.py | eodmsabc/SNU-SWPP | 3a2453b6747e9e198fda5174a208ca1f2f3e6cd3 | [
"Apache-2.0"
] | 3 | 2019-12-16T05:48:11.000Z | 2019-12-17T14:43:09.000Z | '''
matchmaker admin
'''
from django.contrib import admin
from .models import Category, Match, Participation
admin.site.register(Category)
admin.site.register(Match)
admin.site.register(Participation)
| 18.454545 | 50 | 0.79803 | 25 | 203 | 6.48 | 0.48 | 0.166667 | 0.314815 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093596 | 203 | 10 | 51 | 20.3 | 0.880435 | 0.078818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
96121a488874857004fbed7e249c5a6a79b6bcdf | 264 | py | Python | Dataset/Leetcode/test/58/482.py | kkcookies99/UAST | fff81885aa07901786141a71e5600a08d7cb4868 | [
"MIT"
] | null | null | null | Dataset/Leetcode/test/58/482.py | kkcookies99/UAST | fff81885aa07901786141a71e5600a08d7cb4868 | [
"MIT"
] | null | null | null | Dataset/Leetcode/test/58/482.py | kkcookies99/UAST | fff81885aa07901786141a71e5600a08d7cb4868 | [
"MIT"
] | null | null | null | class Solution:
def XXX(self, s: str) -> int:
return len([x for x in s.split(' ') if x != ''][-1])
undefined
for (i = 0; i < document.getElementsByTagName("code").length; i++) { console.log(document.getElementsByTagName("code")[i].innerText); }
| 29.333333 | 139 | 0.613636 | 36 | 264 | 4.5 | 0.722222 | 0.345679 | 0.395062 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009346 | 0.189394 | 264 | 8 | 140 | 33 | 0.747664 | 0 | 0 | 0 | 0 | 0 | 0.034351 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
82506975d054669f34f5755d8a6288b5f89d9c19 | 79 | py | Python | node_modules/python-shell/test/python/echo_binary.py | harsh424jan/Gazeplayer | 8654ac3ba6d94700d2c96a12c67e78b24d685a08 | [
"MIT"
] | 2 | 2018-04-20T15:50:32.000Z | 2020-04-17T06:43:57.000Z | node_modules/python-shell/test/python/echo_binary.py | harsh424jan/Gazeplayer | 8654ac3ba6d94700d2c96a12c67e78b24d685a08 | [
"MIT"
] | 1 | 2018-04-20T17:30:50.000Z | 2018-05-28T14:14:03.000Z | ThrotaleMLSystem/example/node_modules/python-shell/test/python/echo_binary.py | RavinduHasithanjana/Throtale---Expert-System-for-Automating-API-Throttling | 7e35b8de437ca24759234274722565201f949f9f | [
"Apache-2.0"
] | null | null | null | import sys
# simple binary echo script
sys.stdout.write(sys.stdin.read())
| 15.8 | 35 | 0.721519 | 12 | 79 | 4.75 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164557 | 79 | 4 | 36 | 19.75 | 0.863636 | 0.316456 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
82573dfe69ff19c994102ed1457dfddd215d0c9e | 98 | py | Python | image_viewer/apps.py | lucasLB7/Zoomin-Photos- | 0382a7c7c3854901c9ff4de742062c1cc9a706fa | [
"Unlicense"
] | null | null | null | image_viewer/apps.py | lucasLB7/Zoomin-Photos- | 0382a7c7c3854901c9ff4de742062c1cc9a706fa | [
"Unlicense"
] | null | null | null | image_viewer/apps.py | lucasLB7/Zoomin-Photos- | 0382a7c7c3854901c9ff4de742062c1cc9a706fa | [
"Unlicense"
] | null | null | null | from django.apps import AppConfig
class ImageViewerConfig(AppConfig):
name = 'image_viewer'
| 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 | 1 | 0 | 0 | 4 |
8267978a51e5763d4f0421e9b0d8adc5b8bd4b49 | 249 | py | Python | graphene_django_jwt/signals.py | Speedy1991/graphene-django-jwt | d5a09785fdda31328e6a6dbdbbdf3436c9275435 | [
"MIT"
] | null | null | null | graphene_django_jwt/signals.py | Speedy1991/graphene-django-jwt | d5a09785fdda31328e6a6dbdbbdf3436c9275435 | [
"MIT"
] | null | null | null | graphene_django_jwt/signals.py | Speedy1991/graphene-django-jwt | d5a09785fdda31328e6a6dbdbbdf3436c9275435 | [
"MIT"
] | null | null | null | from django.dispatch import Signal
refresh_token_revoked = Signal(providing_args=['refresh_token'])
refresh_token_rotated = Signal(providing_args=['refresh_token', 'new_refresh_token'])
refresh_finished = Signal(providing_args=['request', 'user'])
| 41.5 | 85 | 0.811245 | 31 | 249 | 6.129032 | 0.483871 | 0.315789 | 0.3 | 0.273684 | 0.326316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064257 | 249 | 5 | 86 | 49.8 | 0.815451 | 0 | 0 | 0 | 0 | 0 | 0.216867 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
828d480a21c1680492961a129640011cfed39bcc | 498 | py | Python | tests/test_format_others.py | movermeyer/kaviar | 77ab934a3dd7b1cfabc0ec96acc0b8ed26edcb3f | [
"MIT"
] | 3 | 2015-01-09T12:03:19.000Z | 2015-11-23T22:43:00.000Z | tests/test_format_others.py | movermeyer/kaviar | 77ab934a3dd7b1cfabc0ec96acc0b8ed26edcb3f | [
"MIT"
] | 1 | 2018-03-04T20:08:08.000Z | 2018-03-04T20:08:08.000Z | tests/test_format_others.py | movermeyer/kaviar | 77ab934a3dd7b1cfabc0ec96acc0b8ed26edcb3f | [
"MIT"
] | 3 | 2015-08-21T11:48:10.000Z | 2019-12-05T09:30:10.000Z | # -*- coding: utf-8 -*-
from __future__ import absolute_import, print_function, unicode_literals
from datetime import datetime
from decimal import Decimal
from kaviar import kv_format
def test_decimal():
assert kv_format(delta=Decimal('4.50')) == 'delta=4.50'
def test_datetime():
assert (kv_format(date=da... | 23.714286 | 77 | 0.696787 | 73 | 498 | 4.561644 | 0.452055 | 0.096096 | 0.126126 | 0.048048 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081928 | 0.166667 | 498 | 20 | 78 | 24.9 | 0.720482 | 0.042169 | 0 | 0 | 0 | 0 | 0.136842 | 0 | 0 | 0 | 0 | 0 | 0.272727 | 1 | 0.272727 | true | 0 | 0.363636 | 0 | 0.636364 | 0.090909 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
82bdaf6d670fed0c211985d05f6a444f3697c883 | 116 | py | Python | app/main/admin.py | lenaunderwood22/django-forum | 9d739166029197dcd7256d1250641928cff01251 | [
"MIT"
] | null | null | null | app/main/admin.py | lenaunderwood22/django-forum | 9d739166029197dcd7256d1250641928cff01251 | [
"MIT"
] | null | null | null | app/main/admin.py | lenaunderwood22/django-forum | 9d739166029197dcd7256d1250641928cff01251 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Topic
# Register your models here.
admin.site.register(Topic) | 19.333333 | 32 | 0.801724 | 17 | 116 | 5.470588 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12931 | 116 | 6 | 33 | 19.333333 | 0.920792 | 0.224138 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
82c9bd9e0536855f0c90ef033f0fcd2349b13631 | 1,019 | py | Python | hello_python/chapter02/del_blank.py | zachard/python-parent | 374ab3fc3d0584adb26db1ff7c124665468d76df | [
"Apache-2.0"
] | null | null | null | hello_python/chapter02/del_blank.py | zachard/python-parent | 374ab3fc3d0584adb26db1ff7c124665468d76df | [
"Apache-2.0"
] | null | null | null | hello_python/chapter02/del_blank.py | zachard/python-parent | 374ab3fc3d0584adb26db1ff7c124665468d76df | [
"Apache-2.0"
] | null | null | null | favorite_languages = ' I like python ' # 创建一个前后带空格的变量favorite_languages
print("\n")
favorite_languages # 没有使用print函数, 单写变量是无法将变量内容打印出来的
print('前面有空格' + favorite_languages + '后面有空格')
print("\n")
# rstrip()函数去除字符串结尾的空格, \t \n等造成的效果也会删除
print('前面有空格' + favorite_languages.rstrip() + '后面没空格')
print('前面有空格' +... | 39.192308 | 73 | 0.698724 | 106 | 1,019 | 6.575472 | 0.254717 | 0.341463 | 0.232425 | 0.348637 | 0.578192 | 0.532281 | 0.420373 | 0.354376 | 0.354376 | 0.354376 | 0 | 0 | 0.13052 | 1,019 | 26 | 74 | 39.192308 | 0.786682 | 0.251227 | 0 | 0.684211 | 0 | 0 | 0.193891 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.894737 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
82d7dcac93d2b5d38fa8225f595bd9e8f72782fd | 125 | py | Python | src/captcha/urls.py | hohner36/hexchan-engine | 8edf155e8fe64936dfe428a6e9bac69705934b1f | [
"MIT"
] | 2 | 2021-04-16T10:11:18.000Z | 2022-03-15T15:16:14.000Z | src/captcha/urls.py | hohner36/hexchan-engine | 8edf155e8fe64936dfe428a6e9bac69705934b1f | [
"MIT"
] | 2 | 2019-09-02T18:39:51.000Z | 2019-09-02T18:43:34.000Z | src/captcha/urls.py | hohner36/hexchan-engine | 8edf155e8fe64936dfe428a6e9bac69705934b1f | [
"MIT"
] | 2 | 2019-09-02T18:37:25.000Z | 2022-02-20T19:19:40.000Z | from django.urls import path
from . import views
urlpatterns = [
path('', views.captcha_view, name='captcha_view'),
]
| 13.888889 | 54 | 0.696 | 16 | 125 | 5.3125 | 0.625 | 0.258824 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176 | 125 | 8 | 55 | 15.625 | 0.825243 | 0 | 0 | 0 | 0 | 0 | 0.096 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
82dc1428a931411b621bc83fd97ec835ea345637 | 1,637 | py | Python | tests/unit/test_uiautomator_device_wrapper.py | tksn/phoneauto | 9b92226c5c5eeb606f4b3c462a8b654454eb203d | [
"MIT"
] | null | null | null | tests/unit/test_uiautomator_device_wrapper.py | tksn/phoneauto | 9b92226c5c5eeb606f4b3c462a8b654454eb203d | [
"MIT"
] | null | null | null | tests/unit/test_uiautomator_device_wrapper.py | tksn/phoneauto | 9b92226c5c5eeb606f4b3c462a8b654454eb203d | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
import pytest
from phoneauto.helpers.uiautomator_device_wrapper import DeviceWrapper
@pytest.fixture
def wdev(mocks):
device_wrap = DeviceWrapper(mocks.device)
return device_wrap
def test_selector(mocks, wdev):
wdev(text='abc', className=... | 24.432836 | 70 | 0.73427 | 229 | 1,637 | 5.074236 | 0.218341 | 0.189329 | 0.190189 | 0.162651 | 0.388985 | 0.383821 | 0.383821 | 0.322719 | 0.322719 | 0.246988 | 0 | 0.012248 | 0.152108 | 1,637 | 66 | 71 | 24.80303 | 0.824928 | 0.012828 | 0 | 0.209302 | 0 | 0 | 0.021066 | 0 | 0 | 0 | 0 | 0 | 0.418605 | 1 | 0.232558 | false | 0 | 0.069767 | 0 | 0.325581 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
82e88441a070b06174c1692e3b1c2395dc4fe881 | 104 | py | Python | logiccircuit/__main__.py | TINYT1ME/LogicCircuit | 0a497d84a606c672a8bb3e7d55951835576a13e7 | [
"MIT"
] | 5 | 2021-11-16T04:12:35.000Z | 2022-01-02T22:57:42.000Z | logiccircuit/__main__.py | TINYT1ME/LogicCircuit | 0a497d84a606c672a8bb3e7d55951835576a13e7 | [
"MIT"
] | null | null | null | logiccircuit/__main__.py | TINYT1ME/LogicCircuit | 0a497d84a606c672a8bb3e7d55951835576a13e7 | [
"MIT"
] | null | null | null | # Script to run logiccircuit.main
from logiccircuit import main
if __name__ == "__main__":
main()
| 14.857143 | 33 | 0.721154 | 13 | 104 | 5.153846 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192308 | 104 | 6 | 34 | 17.333333 | 0.797619 | 0.298077 | 0 | 0 | 0 | 0 | 0.112676 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
7d656d7daa1ad6e9d689017298c3ddb221cc11f7 | 205 | py | Python | dataset_src/controllers/default.py | uwdata/termite-data-server | 1085571407c627bdbbd21c352e793fed65d09599 | [
"BSD-3-Clause"
] | 97 | 2015-01-17T09:41:57.000Z | 2022-03-15T11:39:03.000Z | dataset_src/controllers/default.py | afcarl/termite-data-server | 1085571407c627bdbbd21c352e793fed65d09599 | [
"BSD-3-Clause"
] | 12 | 2015-02-01T02:59:56.000Z | 2021-06-09T02:31:34.000Z | dataset_src/controllers/default.py | afcarl/termite-data-server | 1085571407c627bdbbd21c352e793fed65d09599 | [
"BSD-3-Clause"
] | 35 | 2015-01-25T04:48:37.000Z | 2021-01-29T20:32:26.000Z | #!/usr/bin/env python
import os
import utils.uploads as uploads
def index():
corpora = [fname[:-len(".csv")] for fname in os.listdir(uploads.spreadsheet_dir(request))]
return {"corpora": corpora}
| 25.625 | 94 | 0.702439 | 29 | 205 | 4.931034 | 0.758621 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141463 | 205 | 7 | 95 | 29.285714 | 0.8125 | 0.097561 | 0 | 0 | 0 | 0 | 0.059783 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
7d679d6da083221701f90755f8328c511b695beb | 268 | py | Python | authentication/authentication.py | damiclem/django-rest-tutorial | a8bfce3e94cd8c8d7b1bc2d8ed851980e38b86fa | [
"MIT"
] | null | null | null | authentication/authentication.py | damiclem/django-rest-tutorial | a8bfce3e94cd8c8d7b1bc2d8ed851980e38b86fa | [
"MIT"
] | null | null | null | authentication/authentication.py | damiclem/django-rest-tutorial | a8bfce3e94cd8c8d7b1bc2d8ed851980e38b86fa | [
"MIT"
] | null | null | null | # Import token authentication
from rest_framework.authentication import TokenAuthentication
# Extend token autentication in order to create Bearer authentication
class BearerAuthentication(TokenAuthentication):
# Define keyword as Bearer
keyword = 'Bearer'
| 26.8 | 69 | 0.817164 | 27 | 268 | 8.074074 | 0.703704 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145522 | 268 | 9 | 70 | 29.777778 | 0.951965 | 0.447761 | 0 | 0 | 0 | 0 | 0.041667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
7d98611a708ad17440f9d1f3053e8de0a906f534 | 91 | py | Python | enthought/enable/primitives/line.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 3 | 2016-12-09T06:05:18.000Z | 2018-03-01T13:00:29.000Z | enthought/enable/primitives/line.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 1 | 2020-12-02T00:51:32.000Z | 2020-12-02T08:48:55.000Z | enthought/enable/primitives/line.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | null | null | null | # proxy module
from __future__ import absolute_import
from enable.primitives.line import *
| 22.75 | 38 | 0.835165 | 12 | 91 | 5.916667 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120879 | 91 | 3 | 39 | 30.333333 | 0.8875 | 0.131868 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
7da795a345955219a607cb5d921acdd27f245e9c | 138 | py | Python | core/logger/logger/__main__.py | NLeSC/LIEStudio | 03c163b4a2590b4e2204621e1c941c28a9624887 | [
"Apache-2.0"
] | 10 | 2017-09-14T07:26:15.000Z | 2021-04-01T09:33:03.000Z | core/logger/logger/__main__.py | NLeSC/LIEStudio | 03c163b4a2590b4e2204621e1c941c28a9624887 | [
"Apache-2.0"
] | 117 | 2017-09-13T08:09:48.000Z | 2019-10-03T12:19:13.000Z | core/logger/logger/__main__.py | NLeSC/LIEStudio | 03c163b4a2590b4e2204621e1c941c28a9624887 | [
"Apache-2.0"
] | 1 | 2018-09-26T09:40:51.000Z | 2018-09-26T09:40:51.000Z | from lie_logger.application import LoggerComponent
from mdstudio.runner import main
if __name__ == '__main__':
main(LoggerComponent)
| 23 | 50 | 0.804348 | 16 | 138 | 6.375 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 138 | 5 | 51 | 27.6 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0.057971 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
7db5415edd039b7c3ed6ed69f12194d828cc728d | 98 | py | Python | Lesson4/solution-02.py | AnnTka/Lesson2 | d748553401599b7ec3c95a8a4d71ded501086377 | [
"BSD-3-Clause"
] | null | null | null | Lesson4/solution-02.py | AnnTka/Lesson2 | d748553401599b7ec3c95a8a4d71ded501086377 | [
"BSD-3-Clause"
] | null | null | null | Lesson4/solution-02.py | AnnTka/Lesson2 | d748553401599b7ec3c95a8a4d71ded501086377 | [
"BSD-3-Clause"
] | null | null | null | line = input()
line_pal = line[::-1]
if line_pal == line:
print("Yes")
else:
print("No")
| 12.25 | 21 | 0.561224 | 15 | 98 | 3.533333 | 0.6 | 0.264151 | 0.415094 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013158 | 0.22449 | 98 | 7 | 22 | 14 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0.05102 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7dbb96bc6ad360e1a0d47866c3f56295f87e8110 | 169 | py | Python | evotor/util/utils.py | trukanduk/evotor_hackathon | 5aeec1886c9ca5dbb2d08d535885701062464fb0 | [
"MIT"
] | null | null | null | evotor/util/utils.py | trukanduk/evotor_hackathon | 5aeec1886c9ca5dbb2d08d535885701062464fb0 | [
"MIT"
] | null | null | null | evotor/util/utils.py | trukanduk/evotor_hackathon | 5aeec1886c9ca5dbb2d08d535885701062464fb0 | [
"MIT"
] | null | null | null | import string
import random
def get_new_id():
newId = ''.join(random.choice(string.ascii_lowercase \
+ string.digits) for i in range(20))
return newId
| 18.777778 | 58 | 0.680473 | 24 | 169 | 4.666667 | 0.791667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015038 | 0.213018 | 169 | 8 | 59 | 21.125 | 0.827068 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
7dd42b3d07677a49b5f87cac006770f8643e19a2 | 15 | py | Python | data/studio21_generated/introductory/4455/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | data/studio21_generated/introductory/4455/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | data/studio21_generated/introductory/4455/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | def sumin(n):
| 7.5 | 13 | 0.6 | 3 | 15 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 15 | 2 | 14 | 7.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7df00d8784e7debf9770ab0bf36c12af5f7e5545 | 8,846 | py | Python | tohocd/services/songService.py | mokusen/django_app | 19f43b4d675a7f0d10e4a12cf558b3c6c100dd27 | [
"MIT"
] | null | null | null | tohocd/services/songService.py | mokusen/django_app | 19f43b4d675a7f0d10e4a12cf558b3c6c100dd27 | [
"MIT"
] | 9 | 2019-01-22T12:17:55.000Z | 2021-06-10T17:36:49.000Z | tohocd/services/songService.py | mokusen/toho-music-history | 19f43b4d675a7f0d10e4a12cf558b3c6c100dd27 | [
"MIT"
] | null | null | null | from ..models import Song
from django.db.models import Q
from django.db.models.functions import Lower
def __check_param(param):
"""
paramからorder_byのparamを決定する
Parameters
----------
param : request.GET['sort']
Returns
-------
order_param : Lower(str)
order_byのp... | 30.8223 | 107 | 0.653177 | 1,035 | 8,846 | 4.951691 | 0.07343 | 0.126439 | 0.149854 | 0.116098 | 0.792195 | 0.747317 | 0.72722 | 0.705951 | 0.684683 | 0.654829 | 0 | 0 | 0.244517 | 8,846 | 286 | 108 | 30.93007 | 0.766871 | 0.188334 | 0 | 0.6 | 0 | 0 | 0.107354 | 0.067622 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066667 | false | 0 | 0.022222 | 0 | 0.155556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
814bcade9f339fb3a99bdf9081464c620a6be3d9 | 107 | py | Python | tests/core/__init__.py | mlund/scipp | 26648fdcda49b21a7aacdafd58625fab7ee3403b | [
"BSD-3-Clause"
] | null | null | null | tests/core/__init__.py | mlund/scipp | 26648fdcda49b21a7aacdafd58625fab7ee3403b | [
"BSD-3-Clause"
] | null | null | null | tests/core/__init__.py | mlund/scipp | 26648fdcda49b21a7aacdafd58625fab7ee3403b | [
"BSD-3-Clause"
] | null | null | null | # SPDX-License-Identifier: BSD-3-Clause
# Copyright (c) 2022 Scipp contributors (https://github.com/scipp)
| 35.666667 | 66 | 0.757009 | 15 | 107 | 5.4 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051546 | 0.093458 | 107 | 2 | 67 | 53.5 | 0.783505 | 0.953271 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8178eaed81e06194905ad95a61b0ff4eb3e3b43e | 114 | py | Python | 22. What Do You Know So Far/ex22.py | vishalnarnaware/Learn-PYTHON-the-HARD-WAY | 392bae04c686c4a1076144f5dd295c7533e71163 | [
"MIT"
] | null | null | null | 22. What Do You Know So Far/ex22.py | vishalnarnaware/Learn-PYTHON-the-HARD-WAY | 392bae04c686c4a1076144f5dd295c7533e71163 | [
"MIT"
] | null | null | null | 22. What Do You Know So Far/ex22.py | vishalnarnaware/Learn-PYTHON-the-HARD-WAY | 392bae04c686c4a1076144f5dd295c7533e71163 | [
"MIT"
] | null | null | null | print('''
WARNING! The most important thing when doing this exercise is:
“There is no failure, only trying.”
''')
| 22.8 | 62 | 0.719298 | 17 | 114 | 4.823529 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 114 | 4 | 63 | 28.5 | 0.854167 | 0 | 0 | 0 | 0 | 0 | 0.877193 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0.25 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8179390cd3d5f53e2d7856de0b95be381a7c16f3 | 169 | py | Python | manage.py | sam-xif/Spade | e8c501580c5825fb3c461714f806aa4163123025 | [
"MIT"
] | null | null | null | manage.py | sam-xif/Spade | e8c501580c5825fb3c461714f806aa4163123025 | [
"MIT"
] | 5 | 2018-01-29T15:34:05.000Z | 2018-02-28T02:20:14.000Z | manage.py | sam-xif/Spade | e8c501580c5825fb3c461714f806aa4163123025 | [
"MIT"
] | 2 | 2018-01-26T14:03:09.000Z | 2018-01-29T01:58:21.000Z | #!/usr/bin/env python
from migrate.versioning.shell import main
if __name__ == '__main__':
main(debug='False', repository='migrate_repo', url='sqlite:///spade.db')
| 28.166667 | 76 | 0.715976 | 23 | 169 | 4.869565 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106509 | 169 | 5 | 77 | 33.8 | 0.741722 | 0.118343 | 0 | 0 | 0 | 0 | 0.290541 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
81a0b1a88a4c33a670c755939e33b1812445af31 | 315 | py | Python | generated-libraries/python/netapp/cluster_peer/peer_ping_protocol.py | radekg/netapp-ontap-lib-get | 6445ebb071ec147ea82a486fbe9f094c56c5c40d | [
"MIT"
] | 2 | 2017-03-28T15:31:26.000Z | 2018-08-16T22:15:18.000Z | generated-libraries/python/netapp/cluster_peer/peer_ping_protocol.py | radekg/netapp-ontap-lib-get | 6445ebb071ec147ea82a486fbe9f094c56c5c40d | [
"MIT"
] | null | null | null | generated-libraries/python/netapp/cluster_peer/peer_ping_protocol.py | radekg/netapp-ontap-lib-get | 6445ebb071ec147ea82a486fbe9f094c56c5c40d | [
"MIT"
] | null | null | null | class PeerPingProtocol(basestring):
"""
The network protocol to use when performing the ping operation.
Possible values:
<ul>
<li> "data" - Data Ping,
<li> "icmp" - ICMP Ping
</ul>
"""
@staticmethod
def get_api_name():
return "peer-ping-protocol"
| 21 | 67 | 0.568254 | 34 | 315 | 5.205882 | 0.735294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.320635 | 315 | 14 | 68 | 22.5 | 0.827103 | 0.469841 | 0 | 0 | 0 | 0 | 0.137405 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0 | 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 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
81cb625b32112423a5d0cd05909c375b10ac6822 | 91,026 | py | Python | cohesity_management_sdk/controllers/protection_sources_controller.py | nick6655/management-sdk-python | 88e792cb83e5c24a22af495b220c145d0c45841d | [
"Apache-2.0"
] | null | null | null | cohesity_management_sdk/controllers/protection_sources_controller.py | nick6655/management-sdk-python | 88e792cb83e5c24a22af495b220c145d0c45841d | [
"Apache-2.0"
] | null | null | null | cohesity_management_sdk/controllers/protection_sources_controller.py | nick6655/management-sdk-python | 88e792cb83e5c24a22af495b220c145d0c45841d | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright 2021 Cohesity Inc.
import logging
from cohesity_management_sdk.api_helper import APIHelper
from cohesity_management_sdk.configuration import Configuration
from cohesity_management_sdk.controllers.base_controller import BaseController
from cohesity_management_sdk.http.auth.auth_manag... | 46.042489 | 103 | 0.615451 | 9,119 | 91,026 | 5.951749 | 0.068977 | 0.057781 | 0.030954 | 0.026698 | 0.783561 | 0.747761 | 0.728673 | 0.711243 | 0.698824 | 0.692634 | 0 | 0.001295 | 0.329697 | 91,026 | 1,976 | 104 | 46.065789 | 0.888224 | 0.42222 | 0 | 0.623318 | 0 | 0 | 0.199716 | 0.105707 | 0 | 0 | 0 | 0.000506 | 0 | 1 | 0.025785 | false | 0 | 0.017937 | 0 | 0.067265 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
81d0684917809043c4dc315fe7e33c71a8ad8fe3 | 126 | py | Python | project_name/tests/tests.py | wesleykendall/django-app-template | 1a740bfe8eb31b04bc275aa98639d565dbddaca1 | [
"MIT"
] | 10 | 2015-11-01T00:47:31.000Z | 2021-04-07T12:20:50.000Z | project_name/tests/tests.py | wesleykendall/django-app-template | 1a740bfe8eb31b04bc275aa98639d565dbddaca1 | [
"MIT"
] | 1 | 2015-04-09T17:33:50.000Z | 2015-04-09T18:48:54.000Z | project_name/tests/tests.py | wesleykendall/django-app-template | 1a740bfe8eb31b04bc275aa98639d565dbddaca1 | [
"MIT"
] | 4 | 2015-04-03T16:26:23.000Z | 2019-04-01T16:45:02.000Z | from django.test import TestCase
class SampleTest(TestCase):
def test_1_equals_1(self):
self.assertEquals(1, 1)
| 18 | 32 | 0.722222 | 18 | 126 | 4.888889 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039216 | 0.190476 | 126 | 6 | 33 | 21 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
c4aa7bdc73431aebfcb9ea86b54dd35584f296d4 | 38 | py | Python | foiamachine/local/lib/python2.7/encodings/koi8_r.py | dwillis/foiamachine | 26d3b02870227696cdaab639c39d47b2a7a42ae5 | [
"Unlicense",
"MIT"
] | 3 | 2021-08-07T04:01:55.000Z | 2021-08-07T05:12:11.000Z | foiamachine/local/lib/python2.7/encodings/koi8_r.py | dwillis/foiamachine | 26d3b02870227696cdaab639c39d47b2a7a42ae5 | [
"Unlicense",
"MIT"
] | null | null | null | foiamachine/local/lib/python2.7/encodings/koi8_r.py | dwillis/foiamachine | 26d3b02870227696cdaab639c39d47b2a7a42ae5 | [
"Unlicense",
"MIT"
] | 1 | 2021-08-05T22:51:14.000Z | 2021-08-05T22:51:14.000Z | /usr/lib/python2.7/encodings/koi8_r.py | 38 | 38 | 0.815789 | 8 | 38 | 3.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 0 | 38 | 1 | 38 | 38 | 0.710526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c4b2eb00b2bae5168631127ef99d49ca253512f1 | 98 | py | Python | invoices_app/apps.py | xmudrii/django-invoices | 25ac6b73e217d6d38bd91e541134acbf7e9bd0a4 | [
"Apache-2.0"
] | null | null | null | invoices_app/apps.py | xmudrii/django-invoices | 25ac6b73e217d6d38bd91e541134acbf7e9bd0a4 | [
"Apache-2.0"
] | null | null | null | invoices_app/apps.py | xmudrii/django-invoices | 25ac6b73e217d6d38bd91e541134acbf7e9bd0a4 | [
"Apache-2.0"
] | null | null | null | from django.apps import AppConfig
class InvoicesAppConfig(AppConfig):
name = 'invoices_app'
| 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 | 1 | 0 | 0 | 4 |
c4b9092a24308587200142b42826a6e3399ad613 | 285 | py | Python | contentagregator/modules/cnn/controllers.py | Czembri/contentAgregator | d77408283344ea45d902ccd54cb4cac91edba9a8 | [
"Unlicense"
] | 2 | 2020-12-26T09:05:37.000Z | 2021-01-08T00:08:46.000Z | contentagregator/modules/cnn/controllers.py | Czembri/contentAgregator | d77408283344ea45d902ccd54cb4cac91edba9a8 | [
"Unlicense"
] | 10 | 2021-01-15T22:53:18.000Z | 2021-06-10T21:45:16.000Z | contentagregator/modules/cnn/controllers.py | Czembri/contentAgregator | d77408283344ea45d902ccd54cb4cac91edba9a8 | [
"Unlicense"
] | null | null | null | from contentagregator import app, db
from flask import render_template, Blueprint
cnn_module = Blueprint('cnn', __name__, url_prefix='/news/cnn', template_folder='templates', static_folder='static')
@app.route('/news/cnn')
def cnn_get_view():
return render_template('cnn.html') | 31.666667 | 117 | 0.764912 | 39 | 285 | 5.282051 | 0.615385 | 0.135922 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101754 | 285 | 9 | 118 | 31.666667 | 0.804688 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.166667 | 0.666667 | 0.333333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
c4d845e75c3f45ee6ab0eb7f95c5a65e810cdca9 | 639 | py | Python | logicallake/ui/logicallake.qrc.py | stewarg9/logicallake | a5ac4d172b94a4bb8130545b6d41eebad60eb4b4 | [
"BSD-2-Clause"
] | null | null | null | logicallake/ui/logicallake.qrc.py | stewarg9/logicallake | a5ac4d172b94a4bb8130545b6d41eebad60eb4b4 | [
"BSD-2-Clause"
] | null | null | null | logicallake/ui/logicallake.qrc.py | stewarg9/logicallake | a5ac4d172b94a4bb8130545b6d41eebad60eb4b4 | [
"BSD-2-Clause"
] | null | null | null | <!DOCTYPE RCC><RCC version="1.0">
<qresource>
<file>images/pointer.png</file>
<file>images/linepointer.png</file>
<file>images/textpointer.png</file>
<file>images/bold.png</file>
<file>images/italic.png</file>
<file>images/underline.png</file>
<file>images/floodfill.png</file>
<file>imag... | 31.95 | 40 | 0.682316 | 84 | 639 | 5.190476 | 0.285714 | 0.344037 | 0.353211 | 0.545872 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010753 | 0.126761 | 639 | 19 | 41 | 33.631579 | 0.770609 | 0 | 0 | 0 | 0 | 0 | 0.004695 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c4d9b7b46468f363614630bc2312adb75f7650ef | 1,549 | py | Python | python/configWriter.py | jbeirer/histfitter | 44fc5e56ca6a5878db89489542d0bdb0a88e9ada | [
"BSD-2-Clause"
] | 5 | 2021-06-22T23:31:08.000Z | 2021-07-19T13:08:23.000Z | python/configWriter.py | HistFitter/HistFitter | f661a0ed9d52d648014ebe3575af1b0b833b41ce | [
"BSD-2-Clause"
] | 94 | 2021-06-22T23:06:21.000Z | 2022-01-25T09:48:46.000Z | python/configWriter.py | HistFitter/HistFitter | f661a0ed9d52d648014ebe3575af1b0b833b41ce | [
"BSD-2-Clause"
] | 5 | 2021-07-24T08:49:58.000Z | 2021-11-25T10:21:39.000Z | """
**********************************************************************************
* Project: HistFitter - A ROOT-based package for statistical data analysis *
* Package: HistFitter *
* Script : configWriter.py ... | 55.321429 | 83 | 0.306649 | 76 | 1,549 | 6.25 | 0.697368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005789 | 0.553906 | 1,549 | 27 | 84 | 57.37037 | 0.681621 | 0.901227 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
c4e195b00a1db26cfe6858f13bb89505c9bc7f62 | 572 | py | Python | ingestion/src/metadata/generated/schema/entity/policies/lifecycle/rule.py | naveen09/OpenMetadata | e4fa0247f5db8094dfd156f13fdcc5ffcd120e74 | [
"Apache-2.0"
] | null | null | null | ingestion/src/metadata/generated/schema/entity/policies/lifecycle/rule.py | naveen09/OpenMetadata | e4fa0247f5db8094dfd156f13fdcc5ffcd120e74 | [
"Apache-2.0"
] | null | null | null | ingestion/src/metadata/generated/schema/entity/policies/lifecycle/rule.py | naveen09/OpenMetadata | e4fa0247f5db8094dfd156f13fdcc5ffcd120e74 | [
"Apache-2.0"
] | null | null | null | # generated by datamodel-codegen:
# filename: schema/entity/policies/lifecycle/rule.json
# timestamp: 2021-11-20T15:09:34+00:00
from __future__ import annotations
from typing import List, Union
from pydantic import BaseModel, Field
from .. import filters
from . import deleteAction, moveAction
class Lifecycle... | 26 | 82 | 0.73951 | 67 | 572 | 6.238806 | 0.731343 | 0.043062 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042283 | 0.173077 | 572 | 21 | 83 | 27.238095 | 0.841438 | 0.22028 | 0 | 0 | 1 | 0 | 0.09276 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.416667 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
f200065816a5c0600008e99d9610360192c00418 | 1,144 | py | Python | courses/admin.py | manisharmagarg/oddnary | e2dea772d44d72773aa63c449d4082a9bf07dfe1 | [
"Apache-2.0"
] | null | null | null | courses/admin.py | manisharmagarg/oddnary | e2dea772d44d72773aa63c449d4082a9bf07dfe1 | [
"Apache-2.0"
] | null | null | null | courses/admin.py | manisharmagarg/oddnary | e2dea772d44d72773aa63c449d4082a9bf07dfe1 | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
from .models import (
Course, CourseSection,
CourseFile, CourseDetailTab,
CourseDetailTabList,
UserMyCourseLibrary,
Category,
CategoryCourseRelation,
)
from utils.admin import CustomAdminFormMixin
# Register your models here.
@admin.register(Course)
class Cours... | 22.431373 | 71 | 0.804196 | 97 | 1,144 | 9.484536 | 0.28866 | 0.113043 | 0.304348 | 0.33913 | 0.490217 | 0.490217 | 0.147826 | 0.147826 | 0 | 0 | 0 | 0 | 0.119755 | 1,144 | 51 | 72 | 22.431373 | 0.913605 | 0.022727 | 0 | 0.323529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.235294 | 0.088235 | 0 | 0.323529 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.