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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
56694cc03cd3c387b101c53b354939bfa5681296 | 133 | py | Python | tests/input/redefined-outer-name/args_and_kwargs.py | DKorytkin/pylint-pytest | 097b7767e5f33ad512d421bea9ebb74a251f47bd | [
"MIT"
] | 37 | 2020-06-04T16:34:39.000Z | 2022-02-27T13:00:22.000Z | tests/input/redefined-outer-name/args_and_kwargs.py | DKorytkin/pylint-pytest | 097b7767e5f33ad512d421bea9ebb74a251f47bd | [
"MIT"
] | 26 | 2020-07-10T15:53:19.000Z | 2022-03-28T23:56:03.000Z | tests/input/redefined-outer-name/args_and_kwargs.py | DKorytkin/pylint-pytest | 097b7767e5f33ad512d421bea9ebb74a251f47bd | [
"MIT"
] | 6 | 2020-06-29T17:45:38.000Z | 2022-02-19T01:09:57.000Z | def args():
pass
def kwargs():
pass
def not_a_test_function(*args, **kwargs):
# invalid test case...
assert True
| 11.083333 | 41 | 0.609023 | 18 | 133 | 4.333333 | 0.666667 | 0.179487 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.263158 | 133 | 11 | 42 | 12.090909 | 0.795918 | 0.150376 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.5 | true | 0.333333 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
56764df88ba796cdf483788df053e1f87564f451 | 154 | py | Python | ifnameismain.py | sgriffith3/2022-01-04-Python | edccc1c28dd23ae9c31cb5d5a08b8b7ee13b5afb | [
"MIT"
] | 1 | 2022-01-07T22:36:12.000Z | 2022-01-07T22:36:12.000Z | ifnameismain.py | sgriffith3/2022-01-04-Python | edccc1c28dd23ae9c31cb5d5a08b8b7ee13b5afb | [
"MIT"
] | null | null | null | ifnameismain.py | sgriffith3/2022-01-04-Python | edccc1c28dd23ae9c31cb5d5a08b8b7ee13b5afb | [
"MIT"
] | null | null | null | import script2
print("Above output was not desired :(")
print(script2.sumthing(1, 3))
print(__name__)
if __name__ == "__main__":
print("Yes it is") | 17.111111 | 40 | 0.694805 | 22 | 154 | 4.318182 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030769 | 0.155844 | 154 | 9 | 41 | 17.111111 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0.309677 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.166667 | 0 | 0.166667 | 0.666667 | 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 |
56995e67f8c4aabc214c1757895438a37e6e5f87 | 163 | py | Python | app/api/types/user.py | P4R/django-graphql-api-z1 | 5b469384631e8e916567865b659641ac5710dfb3 | [
"MIT"
] | null | null | null | app/api/types/user.py | P4R/django-graphql-api-z1 | 5b469384631e8e916567865b659641ac5710dfb3 | [
"MIT"
] | null | null | null | app/api/types/user.py | P4R/django-graphql-api-z1 | 5b469384631e8e916567865b659641ac5710dfb3 | [
"MIT"
] | null | null | null | from django.contrib.auth.models import User
from graphene_django import DjangoObjectType
class UserType(DjangoObjectType):
class Meta:
model = User
| 18.111111 | 44 | 0.766871 | 19 | 163 | 6.526316 | 0.684211 | 0.33871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184049 | 163 | 8 | 45 | 20.375 | 0.932331 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.8 | 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 |
3b0a8ffa9dd0bb4e57c93f78a2653b641db427c7 | 668 | py | Python | status/migrations/0004_auto_20200707_0228.py | maliahavlicek/ci_hackathon_july_2020 | 48c269da0c1f375337164d8bf23df494cccf1d3c | [
"ADSL"
] | 1 | 2020-07-06T05:57:00.000Z | 2020-07-06T05:57:00.000Z | status/migrations/0004_auto_20200707_0228.py | maliahavlicek/ci_hackathon_july_2020 | 48c269da0c1f375337164d8bf23df494cccf1d3c | [
"ADSL"
] | 8 | 2020-07-04T16:53:12.000Z | 2022-01-13T02:58:55.000Z | status/migrations/0004_auto_20200707_0228.py | maliahavlicek/ci_hackathon_july_2020 | 48c269da0c1f375337164d8bf23df494cccf1d3c | [
"ADSL"
] | null | null | null | # Generated by Django 3.0.8 on 2020-07-07 02:28
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('status', '0003_auto_20200707_0200'),
]
operations = [
migrations.RemoveField(
model_name='allstatusinput',
name='help',
... | 23.034483 | 47 | 0.549401 | 57 | 668 | 6.298246 | 0.578947 | 0.233983 | 0.289694 | 0.334262 | 0.534819 | 0.534819 | 0 | 0 | 0 | 0 | 0 | 0.070455 | 0.341317 | 668 | 28 | 48 | 23.857143 | 0.745455 | 0.067365 | 0 | 0.521739 | 1 | 0 | 0.177134 | 0.037037 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.043478 | 0 | 0.173913 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
3b274951e3984358cf230320432f7ac81ba627b5 | 51 | py | Python | gmid2/basics/__init__.py | junkyul/gmid2-public | 363472b8b69212dd6a9dac61d3e5d23936a5a6d2 | [
"MIT"
] | null | null | null | gmid2/basics/__init__.py | junkyul/gmid2-public | 363472b8b69212dd6a9dac61d3e5d23936a5a6d2 | [
"MIT"
] | null | null | null | gmid2/basics/__init__.py | junkyul/gmid2-public | 363472b8b69212dd6a9dac61d3e5d23936a5a6d2 | [
"MIT"
] | 1 | 2020-12-28T20:06:37.000Z | 2020-12-28T20:06:37.000Z | from .factor import Factor
from .uai_files import * | 25.5 | 26 | 0.803922 | 8 | 51 | 5 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137255 | 51 | 2 | 27 | 25.5 | 0.909091 | 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 |
3b456ccf88764d6c81b1f6ae16c13835dfdc1031 | 104 | py | Python | chapter-09/exercise013.py | krastin/pp-cs3.0 | 502be9aac2d84215db176864e443c219e5e26591 | [
"MIT"
] | null | null | null | chapter-09/exercise013.py | krastin/pp-cs3.0 | 502be9aac2d84215db176864e443c219e5e26591 | [
"MIT"
] | null | null | null | chapter-09/exercise013.py | krastin/pp-cs3.0 | 502be9aac2d84215db176864e443c219e5e26591 | [
"MIT"
] | null | null | null | width = 7
for x in range(1, width+1):
for y in range(1, x+1):
print('T', end='')
print() | 20.8 | 27 | 0.5 | 20 | 104 | 2.6 | 0.55 | 0.269231 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068493 | 0.298077 | 104 | 5 | 28 | 20.8 | 0.643836 | 0 | 0 | 0 | 0 | 0 | 0.009524 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.4 | 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 |
3b6189179a5c3736fb27ab2ae1cb42d8a6ebb16c | 77 | py | Python | reply_engine/deco/__init__.py | LukWang/opq_reply_engine | f3823b0fc9789f0aab06b04a9319431a04f7a9ad | [
"MIT"
] | 1 | 2022-02-17T14:53:22.000Z | 2022-02-17T14:53:22.000Z | reply_engine/deco/__init__.py | LukWang/opq_reply_engine | f3823b0fc9789f0aab06b04a9319431a04f7a9ad | [
"MIT"
] | null | null | null | reply_engine/deco/__init__.py | LukWang/opq_reply_engine | f3823b0fc9789f0aab06b04a9319431a04f7a9ad | [
"MIT"
] | 1 | 2022-02-17T16:32:48.000Z | 2022-02-17T16:32:48.000Z | from .plugin_register import plugin_register
__all__ = ["plugin_register", ] | 25.666667 | 44 | 0.805195 | 9 | 77 | 6.111111 | 0.555556 | 0.763636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103896 | 77 | 3 | 45 | 25.666667 | 0.797101 | 0 | 0 | 0 | 0 | 0 | 0.192308 | 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 |
3b7959272e4d78986959ce7302324fc52f4ca665 | 656 | py | Python | modules/validator.py | pentab/pg_data_importer | 01c0796221bd5f1ac046f541b426b14af4afc225 | [
"MIT"
] | null | null | null | modules/validator.py | pentab/pg_data_importer | 01c0796221bd5f1ac046f541b426b14af4afc225 | [
"MIT"
] | null | null | null | modules/validator.py | pentab/pg_data_importer | 01c0796221bd5f1ac046f541b426b14af4afc225 | [
"MIT"
] | null | null | null | import re
def isFloat(string):
pattern = r'^[-+]?[0-9]*\.[0-9]+$'
state = re.match(pattern, string)
return state
def isInteger(string):
pattern = r'^[-+]?[0-9]+$'
state = re.match(pattern, string)
return state
def isDate(string):
pattern = r'^(?:(?:31(\/|-|\.)(?:0?[13578]|1[02]))\1|(?:... | 32.8 | 340 | 0.449695 | 112 | 656 | 2.633929 | 0.3125 | 0.132203 | 0.142373 | 0.19322 | 0.576271 | 0.474576 | 0.454237 | 0.332203 | 0.277966 | 0.277966 | 0 | 0.172712 | 0.117378 | 656 | 19 | 341 | 34.526316 | 0.336788 | 0 | 0 | 0.461538 | 0 | 0.076923 | 0.544207 | 0.52439 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.076923 | 0 | 0.538462 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
3b88f1008cdfc3bb052a37a5da49735a7ef00292 | 257 | py | Python | Python/Stepik/Beginner/Exam-loops/ramanujan.py | SergeyOcheretenko/PythonLearning | 2f84d730b00931b33188a2a831977f385b063c6c | [
"MIT"
] | null | null | null | Python/Stepik/Beginner/Exam-loops/ramanujan.py | SergeyOcheretenko/PythonLearning | 2f84d730b00931b33188a2a831977f385b063c6c | [
"MIT"
] | 6 | 2021-12-27T18:27:57.000Z | 2022-03-20T15:11:38.000Z | Python/Stepik/Beginner/Exam-loops/ramanujan.py | SergeyOcheretenko/PythonLearning | 2f84d730b00931b33188a2a831977f385b063c6c | [
"MIT"
] | 1 | 2022-02-21T18:20:54.000Z | 2022-02-21T18:20:54.000Z | for i in range(1, 35000):
counter = 0
for j in range(1, int(i ** (1 / 3)) + 2):
for k in range(1, int(i ** (1 / 3)) + 2):
if j ** 3 + k ** 3 == i:
counter += 1
if counter > 2:
print(i)
counter = 0
| 25.7 | 49 | 0.396887 | 43 | 257 | 2.372093 | 0.348837 | 0.205882 | 0.235294 | 0.215686 | 0.294118 | 0.294118 | 0.294118 | 0.294118 | 0 | 0 | 0 | 0.136986 | 0.431907 | 257 | 9 | 50 | 28.555556 | 0.561644 | 0 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.111111 | 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 |
8e5bdf3397a81f13c1a2b5dee8b4aeb5ff413dd4 | 135 | py | Python | csep/utils/constants.py | thbeutin/csep2 | 79bc5c77c90f4dd13dae69425d3cb39aabcec7bf | [
"MIT"
] | null | null | null | csep/utils/constants.py | thbeutin/csep2 | 79bc5c77c90f4dd13dae69425d3cb39aabcec7bf | [
"MIT"
] | null | null | null | csep/utils/constants.py | thbeutin/csep2 | 79bc5c77c90f4dd13dae69425d3cb39aabcec7bf | [
"MIT"
] | null | null | null | # saving year as astronomical year
# calculated as 365.25*24*60*60
SECONDS_PER_ASTRONOMICAL_YEAR = 31557600
SECONDS_PER_DAY = 60*60*24
| 27 | 40 | 0.807407 | 23 | 135 | 4.521739 | 0.565217 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210084 | 0.118519 | 135 | 4 | 41 | 33.75 | 0.663866 | 0.459259 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
8e72399ac03ec0ee197ec201abaa66d220d7dcf8 | 108 | py | Python | APICaller/src/thumb/util.py | grape0919/BitToByte | b37140c566aa51172b077e3bdc3113d169d986c1 | [
"MIT"
] | null | null | null | APICaller/src/thumb/util.py | grape0919/BitToByte | b37140c566aa51172b077e3bdc3113d169d986c1 | [
"MIT"
] | null | null | null | APICaller/src/thumb/util.py | grape0919/BitToByte | b37140c566aa51172b077e3bdc3113d169d986c1 | [
"MIT"
] | null | null | null |
def earn(buy, sell):
return ((sell-buy)/buy)*100
if __name__ == '__main__':
print(earn(1556,1583)) | 18 | 31 | 0.62963 | 16 | 108 | 3.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123596 | 0.175926 | 108 | 6 | 32 | 18 | 0.550562 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.25 | 0.5 | 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 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
8ea18abc9cf978bacf28a7ede74d0e05ab77c8c7 | 114 | py | Python | tests/unit/example_test.py | DEV3L/python-flask-example | 371f3ea3f78b98c84401adf8fcb0a6533d2814ae | [
"MIT"
] | null | null | null | tests/unit/example_test.py | DEV3L/python-flask-example | 371f3ea3f78b98c84401adf8fcb0a6533d2814ae | [
"MIT"
] | null | null | null | tests/unit/example_test.py | DEV3L/python-flask-example | 371f3ea3f78b98c84401adf8fcb0a6533d2814ae | [
"MIT"
] | 2 | 2018-09-20T02:52:59.000Z | 2021-01-12T19:56:59.000Z | import unittest
class ExampleTest(unittest.TestCase):
def test_example_test_case(self):
assert True
| 16.285714 | 37 | 0.745614 | 14 | 114 | 5.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192982 | 114 | 6 | 38 | 19 | 0.891304 | 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 |
8eda92763c5a2052e2332a4368dcaddf473cf806 | 141 | py | Python | lib/recipetool/__init__.py | SVL-simulator/meta-ros2 | 577f3715047474289341f0fa96ffe55389a45068 | [
"MIT"
] | 53 | 2018-02-28T08:51:32.000Z | 2022-02-28T06:49:23.000Z | lib/recipetool/__init__.py | SVL-simulator/meta-ros2 | 577f3715047474289341f0fa96ffe55389a45068 | [
"MIT"
] | 415 | 2016-12-20T17:20:45.000Z | 2018-09-23T07:59:23.000Z | lib/recipetool/__init__.py | SVL-simulator/meta-ros2 | 577f3715047474289341f0fa96ffe55389a45068 | [
"MIT"
] | 65 | 2017-02-03T12:36:16.000Z | 2021-02-18T11:00:46.000Z | # Enable other layers to have modules in the same named directory
from pkgutil import extend_path
__path__ = extend_path(__path__, __name__)
| 35.25 | 65 | 0.822695 | 21 | 141 | 4.857143 | 0.809524 | 0.196078 | 0.27451 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141844 | 141 | 3 | 66 | 47 | 0.842975 | 0.446809 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
8ee4c03614679b29eee342cfa3ccd3053536ec7c | 2,064 | py | Python | test/test_indentation.py | jackdavidweber/cjs_capstone | 8929e4939f5b7b172c595dbb49b1d2ccc7805b8a | [
"MIT"
] | 2 | 2020-07-13T18:58:57.000Z | 2020-07-20T23:30:21.000Z | test/test_indentation.py | jackdavidweber/cjs_capstone | 8929e4939f5b7b172c595dbb49b1d2ccc7805b8a | [
"MIT"
] | 20 | 2020-06-18T20:49:20.000Z | 2020-08-04T16:15:46.000Z | test/test_indentation.py | jackdavidweber/cjs_capstone | 8929e4939f5b7b172c595dbb49b1d2ccc7805b8a | [
"MIT"
] | null | null | null | import unittest2
import matrix
from Unittest import Unittest
class TestIndentation(unittest2.TestCase):
def test_indent_if(self):
py_code = Unittest(
'if (x == True):\n\tif (y == True):\n\t\tprint("y and x are true")',
'py')
js_code = Unittest(
'if (x == true) ... | 36.857143 | 123 | 0.512112 | 354 | 2,064 | 2.841808 | 0.152542 | 0.055666 | 0.119284 | 0.107356 | 0.758449 | 0.700795 | 0.700795 | 0.631213 | 0.627237 | 0.627237 | 0 | 0.033041 | 0.281492 | 2,064 | 55 | 124 | 37.527273 | 0.645314 | 0 | 0 | 0.466667 | 0 | 0.222222 | 0.378876 | 0.049903 | 0 | 0 | 0 | 0 | 0 | 1 | 0.133333 | false | 0 | 0.066667 | 0 | 0.222222 | 0.022222 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d91a0f283783e2a0ef896f237e1c8e0f6be2169e | 67 | py | Python | serverlib/Exceptions.py | thepparker/tf2pug-server | a9d81c9d38be18d3eba3f54460581b462f4db604 | [
"MIT"
] | null | null | null | serverlib/Exceptions.py | thepparker/tf2pug-server | a9d81c9d38be18d3eba3f54460581b462f4db604 | [
"MIT"
] | null | null | null | serverlib/Exceptions.py | thepparker/tf2pug-server | a9d81c9d38be18d3eba3f54460581b462f4db604 | [
"MIT"
] | null | null | null | # raised when
class UnableToConnectException(Exception):
pass
| 16.75 | 42 | 0.776119 | 6 | 67 | 8.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164179 | 67 | 3 | 43 | 22.333333 | 0.928571 | 0.164179 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 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 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
d93c3372d3a47244d8c36c6dddbb6effc66c529b | 842 | py | Python | src/jetson/Sensors/odometry.py | ichalkiad/VW_challenge | 333222010ecf3d1ca4a0e181239f761c975453e9 | [
"Apache-2.0"
] | 1 | 2017-08-16T08:42:49.000Z | 2017-08-16T08:42:49.000Z | src/jetson/Sensors/odometry.py | ichalkiad/VW_challenge | 333222010ecf3d1ca4a0e181239f761c975453e9 | [
"Apache-2.0"
] | 4 | 2017-08-09T23:01:30.000Z | 2017-08-24T16:44:13.000Z | src/jetson/Sensors/odometry.py | yhalk/vw_challenge_ECR | c1ff50070d0f7367ccfbf473c69e90fd2be5e85e | [
"Apache-2.0"
] | null | null | null | class Odometry():
def __init__(self):
self._dst_traveled_angle_turned = None,None
self._moved = None
self._grasp = None
def get_dst_traveled_angle_turned(self):
return self._dst_traveled_angle_turned
def set_dst_traveled_angle_turned(self,value):
... | 26.3125 | 131 | 0.672209 | 108 | 842 | 4.759259 | 0.157407 | 0.192607 | 0.280156 | 0.385214 | 0.416342 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.251781 | 842 | 31 | 132 | 27.16129 | 0.815873 | 0 | 0 | 0 | 0 | 0 | 0.041568 | 0.029691 | 0 | 0 | 0 | 0 | 0 | 1 | 0.35 | false | 0 | 0 | 0.15 | 0.7 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
d94096336cc930e3e6290c590fffa2971536ea41 | 201 | py | Python | count.py | simretmengesha/PublicNLPA | eb62b32a3eb3f7db6fc03579c36f252b72266b65 | [
"MIT"
] | null | null | null | count.py | simretmengesha/PublicNLPA | eb62b32a3eb3f7db6fc03579c36f252b72266b65 | [
"MIT"
] | null | null | null | count.py | simretmengesha/PublicNLPA | eb62b32a3eb3f7db6fc03579c36f252b72266b65 | [
"MIT"
] | null | null | null | import re
from itertools import islice, izip
words = re.findall("\w+",
"the quick person did not realize his speed and the quick person bumped")
print Counter(izip(words, islice(words, 1, None)))
| 28.714286 | 76 | 0.731343 | 32 | 201 | 4.59375 | 0.71875 | 0.122449 | 0.190476 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005952 | 0.164179 | 201 | 6 | 77 | 33.5 | 0.869048 | 0 | 0 | 0 | 0 | 0 | 0.365 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.4 | null | null | 0.2 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
d95e3011a0ce074597e19c22fe511fd72767d0bb | 126 | py | Python | kaztron/cog/quotedb/__init__.py | Laogeodritt/KazTron | 42f35e520875b458ffde7c2729865c95de606aca | [
"MIT"
] | 6 | 2018-07-04T20:41:01.000Z | 2021-09-08T08:10:34.000Z | kaztron/cog/quotedb/__init__.py | Laogeodritt/KazTron | 42f35e520875b458ffde7c2729865c95de606aca | [
"MIT"
] | 259 | 2018-05-01T22:41:32.000Z | 2022-02-08T23:25:00.000Z | kaztron/cog/quotedb/__init__.py | Laogeodritt/KazTron | 42f35e520875b458ffde7c2729865c95de606aca | [
"MIT"
] | 6 | 2019-04-16T22:13:15.000Z | 2021-12-15T08:06:38.000Z | from .quotecog import QuoteCog
from .controller import init_db
def setup(bot):
init_db()
bot.add_cog(QuoteCog(bot))
| 15.75 | 31 | 0.730159 | 19 | 126 | 4.684211 | 0.578947 | 0.134831 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174603 | 126 | 7 | 32 | 18 | 0.855769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.6 | 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 |
d96b912b30f647d2a490b0191b5bc79238d9da93 | 285 | py | Python | node.py | MaferMazu/arithmetic-operators-pre-and-post-order | 8a4283f167f306e926a10e329f8fb1f7b945da03 | [
"MIT"
] | null | null | null | node.py | MaferMazu/arithmetic-operators-pre-and-post-order | 8a4283f167f306e926a10e329f8fb1f7b945da03 | [
"MIT"
] | null | null | null | node.py | MaferMazu/arithmetic-operators-pre-and-post-order | 8a4283f167f306e926a10e329f8fb1f7b945da03 | [
"MIT"
] | null | null | null | class Node:
""" Represent a node in binary tree """
def __init__(self, string,left=None,right=None):
self.left = left
self.right = right
self.string = string
def __str__(self):
return "("+str(self.left)+str(self.string)+str(self.right)+")"
| 28.5 | 70 | 0.6 | 38 | 285 | 4.289474 | 0.421053 | 0.171779 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.249123 | 285 | 9 | 71 | 31.666667 | 0.761682 | 0.108772 | 0 | 0 | 0 | 0 | 0.00813 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.142857 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
d97711f967482d90d0811f619120ddd8132fa076 | 2,016 | py | Python | django_site/parser_vacancies/migrations/0001_initial.py | StGrail/v.it | 765cb720a16b0fff66e013b8b66a80d99168c16b | [
"MIT"
] | null | null | null | django_site/parser_vacancies/migrations/0001_initial.py | StGrail/v.it | 765cb720a16b0fff66e013b8b66a80d99168c16b | [
"MIT"
] | 1 | 2020-12-23T19:08:20.000Z | 2020-12-23T19:08:20.000Z | django_site/parser_vacancies/migrations/0001_initial.py | StGrail/v.it | 765cb720a16b0fff66e013b8b66a80d99168c16b | [
"MIT"
] | null | null | null | # Generated by Django 3.1.4 on 2021-01-10 18:00
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
('users', '0004_auto_20210110_1938'),
]
operations = [
migrations.CreateModel(
... | 43.826087 | 120 | 0.575397 | 180 | 2,016 | 6.394444 | 0.394444 | 0.344049 | 0.477845 | 0.573414 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021247 | 0.27629 | 2,016 | 45 | 121 | 44.8 | 0.767649 | 0.022321 | 0 | 0 | 1 | 0 | 0.089893 | 0.011681 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.052632 | 0 | 0.157895 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d991b58de902e9963aef671a3efee834a0b2f5e7 | 2,366 | py | Python | src/zotero_json_parsing/zotero_data.py | stefantaubert/zotero-folder-export | 5910d046f0c206f39a81c57db123c68a1740c6e4 | [
"MIT"
] | null | null | null | src/zotero_json_parsing/zotero_data.py | stefantaubert/zotero-folder-export | 5910d046f0c206f39a81c57db123c68a1740c6e4 | [
"MIT"
] | null | null | null | src/zotero_json_parsing/zotero_data.py | stefantaubert/zotero-folder-export | 5910d046f0c206f39a81c57db123c68a1740c6e4 | [
"MIT"
] | null | null | null | import dataclasses
from dataclasses import dataclass
from typing import Dict, List, Optional, Union
@dataclass()
class Collection():
name: str
id: int
@dataclass()
class Primary():
collectionID: int
libraryID: int
key: str
primary: Primary
@dataclass()
class Fields():
name: str
pa... | 21.509091 | 94 | 0.695266 | 275 | 2,366 | 5.930909 | 0.254545 | 0.137339 | 0.197425 | 0.257511 | 0.431024 | 0.330472 | 0.330472 | 0.08645 | 0.05886 | 0 | 0 | 0 | 0.1847 | 2,366 | 109 | 95 | 21.706422 | 0.845516 | 0.177515 | 0 | 0.426471 | 0 | 0 | 0.005187 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.044118 | 0 | 0.529412 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
79498c94f4977fcdf537034c99c52026d5146aae | 151 | py | Python | src/index.py | oprogramador/facebook-graph-analyser | 59c80378d95da10a6ec912b5f0fc1cb9500b03a1 | [
"MIT"
] | null | null | null | src/index.py | oprogramador/facebook-graph-analyser | 59c80378d95da10a6ec912b5f0fc1cb9500b03a1 | [
"MIT"
] | null | null | null | src/index.py | oprogramador/facebook-graph-analyser | 59c80378d95da10a6ec912b5f0fc1cb9500b03a1 | [
"MIT"
] | null | null | null | import GraphAnalyser
import FacebookConnector
import sys
print GraphAnalyser.findShortestPath(FacebookConnector.getFriends, sys.argv[1], sys.argv[2])
| 25.166667 | 92 | 0.847682 | 17 | 151 | 7.529412 | 0.588235 | 0.109375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014286 | 0.072848 | 151 | 5 | 93 | 30.2 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.75 | null | null | 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 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
7956d5778eddb65e6ad464cec097c3a26c931868 | 149 | py | Python | initialize_weights.py | catskillsresearch/openasr20 | b9821c4ee6a51501e81103c1d6d4db0ea8aaa31e | [
"Apache-2.0"
] | null | null | null | initialize_weights.py | catskillsresearch/openasr20 | b9821c4ee6a51501e81103c1d6d4db0ea8aaa31e | [
"Apache-2.0"
] | null | null | null | initialize_weights.py | catskillsresearch/openasr20 | b9821c4ee6a51501e81103c1d6d4db0ea8aaa31e | [
"Apache-2.0"
] | 1 | 2021-07-28T02:13:21.000Z | 2021-07-28T02:13:21.000Z | import torch.nn as nn
def initialize_weights(m):
if hasattr(m, 'weight') and m.weight.dim() > 1:
nn.init.xavier_uniform_(m.weight.data)
| 24.833333 | 51 | 0.677852 | 25 | 149 | 3.92 | 0.72 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008197 | 0.181208 | 149 | 5 | 52 | 29.8 | 0.795082 | 0 | 0 | 0 | 0 | 0 | 0.040268 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
796fed385d1a59c98f66b17e0390192d519818f7 | 40 | py | Python | test/integration/targets/module_utils/other_mu_dir/a/b/c/d/e/f/g/h/__init__.py | Container-Projects/ansible-provider-docs | 100b695b0b0c4d8d08af362069557ffc735d0d7e | [
"PSF-2.0",
"BSD-2-Clause",
"MIT"
] | 37 | 2017-08-15T15:02:43.000Z | 2021-07-23T03:44:31.000Z | test/integration/targets/module_utils/other_mu_dir/a/b/c/d/e/f/g/h/__init__.py | Container-Projects/ansible-provider-docs | 100b695b0b0c4d8d08af362069557ffc735d0d7e | [
"PSF-2.0",
"BSD-2-Clause",
"MIT"
] | 12 | 2018-01-10T05:25:25.000Z | 2021-11-28T06:55:48.000Z | test/integration/targets/module_utils/other_mu_dir/a/b/c/d/e/f/g/h/__init__.py | Container-Projects/ansible-provider-docs | 100b695b0b0c4d8d08af362069557ffc735d0d7e | [
"PSF-2.0",
"BSD-2-Clause",
"MIT"
] | 49 | 2017-08-15T09:52:13.000Z | 2022-03-21T17:11:54.000Z | data = 'should not be visible abcdefgh'
| 20 | 39 | 0.75 | 6 | 40 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175 | 40 | 1 | 40 | 40 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
79a40697bbf2fbd1d93e6ca3c041d79268fddd35 | 103 | py | Python | django_demo/book_mysql_test/apps.py | 591flybird/Django_demo_2019_0427 | b2a092bfdadff77ba5fb4e1cb58ff951b57b0332 | [
"MIT"
] | null | null | null | django_demo/book_mysql_test/apps.py | 591flybird/Django_demo_2019_0427 | b2a092bfdadff77ba5fb4e1cb58ff951b57b0332 | [
"MIT"
] | null | null | null | django_demo/book_mysql_test/apps.py | 591flybird/Django_demo_2019_0427 | b2a092bfdadff77ba5fb4e1cb58ff951b57b0332 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class BookMysqlTestConfig(AppConfig):
name = 'book_mysql_test'
| 17.166667 | 37 | 0.786408 | 12 | 103 | 6.583333 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145631 | 103 | 5 | 38 | 20.6 | 0.897727 | 0 | 0 | 0 | 0 | 0 | 0.145631 | 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 |
79ac89d065123504e7507e68543c7d6b98ddf97c | 323 | py | Python | commands/doNothing.py | Team4169/2022 | 89ee7d3c014fcdfa54ad6cf6e2dc660038397965 | [
"MIT"
] | null | null | null | commands/doNothing.py | Team4169/2022 | 89ee7d3c014fcdfa54ad6cf6e2dc660038397965 | [
"MIT"
] | null | null | null | commands/doNothing.py | Team4169/2022 | 89ee7d3c014fcdfa54ad6cf6e2dc660038397965 | [
"MIT"
] | null | null | null | from subsystems.climbingsubsystem import ClimbingSubsystem
import commands2
class DoNothing(commands2.CommandBase):
def __init__(self) -> None:
super().__init__()
def initialize(self):
pass
def execute(self) -> None:
pass
def end(self, interrupted: bool) -> None:
pa... | 17.944444 | 58 | 0.653251 | 33 | 323 | 6.151515 | 0.575758 | 0.226601 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008299 | 0.25387 | 323 | 17 | 59 | 19 | 0.834025 | 0 | 0 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.363636 | false | 0.272727 | 0.181818 | 0 | 0.636364 | 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 |
79c42e66736b07e73b0ee0d989fb8c2d801d1904 | 2,179 | py | Python | Project_Euler/08_largest_product_in_series/find_largest_product.py | perlygatekeeper/glowing-robot | 7ef5eb089f552a1de309092606c95e805e6723a0 | [
"Artistic-2.0"
] | 2 | 2015-06-05T15:40:06.000Z | 2020-03-19T17:08:37.000Z | Project_Euler/08_largest_product_in_series/find_largest_product.py | perlygatekeeper/glowing-robot | 7ef5eb089f552a1de309092606c95e805e6723a0 | [
"Artistic-2.0"
] | null | null | null | Project_Euler/08_largest_product_in_series/find_largest_product.py | perlygatekeeper/glowing-robot | 7ef5eb089f552a1de309092606c95e805e6723a0 | [
"Artistic-2.0"
] | null | null | null | #!/opt/local/bin/python
# Python program to find largest product of 13 consequence of digits
# from the 1000 below.
import sys
import math
import timeit
import time
import re
def findLargestProduct(n=13):
lines = '''
73167176531330624919225119674426574742355349194934
969835203127745063262395783180169848018694... | 36.932203 | 145 | 0.794401 | 159 | 2,179 | 10.836478 | 0.503145 | 0.032501 | 0.018572 | 0.033662 | 0.040627 | 0 | 0 | 0 | 0 | 0 | 0 | 0.550325 | 0.151905 | 2,179 | 58 | 146 | 37.568966 | 0.382035 | 0.067003 | 0 | 0 | 0 | 0.021277 | 0.56826 | 0.492854 | 0 | 0 | 0 | 0 | 0 | 1 | 0.021277 | false | 0 | 0.106383 | 0 | 0.148936 | 0.06383 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
79cc8f5983d15b34a6ce04e8ea1bc827019cfac6 | 299 | py | Python | client/tests/test_releases.py | public/deis | 546d2bb117ba817ea533a595cbffea3de355f366 | [
"Apache-2.0"
] | 1 | 2016-05-28T08:44:13.000Z | 2016-05-28T08:44:13.000Z | client/tests/test_releases.py | thomasdavis/deis | 02120302926fb3fa18f7275859d6a252c63f4a60 | [
"Apache-2.0"
] | null | null | null | client/tests/test_releases.py | thomasdavis/deis | 02120302926fb3fa18f7275859d6a252c63f4a60 | [
"Apache-2.0"
] | null | null | null | """
Unit tests for `git push deis master` and related commands.
Run these tests with "python -m unittest client.tests.test_releases"
or with "./manage.py test client.ReleasesTest".
"""
from __future__ import unicode_literals
from unittest import TestCase
class ReleasesTest(TestCase):
pass
| 19.933333 | 68 | 0.769231 | 41 | 299 | 5.463415 | 0.756098 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150502 | 299 | 14 | 69 | 21.357143 | 0.88189 | 0.591973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
8dc980a5b51de8fedcc5e95fdeba14886febd12f | 121 | py | Python | tests/__init__.py | ryderdamen/phonetic-alphabet | 23239a532b05c5708629011dd02a228fc11f71e7 | [
"MIT"
] | 3 | 2020-05-01T22:23:38.000Z | 2021-03-30T17:47:40.000Z | tests/__init__.py | ryderdamen/phonetic-alphabet | 23239a532b05c5708629011dd02a228fc11f71e7 | [
"MIT"
] | null | null | null | tests/__init__.py | ryderdamen/phonetic-alphabet | 23239a532b05c5708629011dd02a228fc11f71e7 | [
"MIT"
] | null | null | null | import sys
from os.path import dirname, realpath, join
root = dirname(dirname(realpath(__file__)))
sys.path.append(root)
| 24.2 | 43 | 0.785124 | 18 | 121 | 5.055556 | 0.611111 | 0.32967 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099174 | 121 | 4 | 44 | 30.25 | 0.834862 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
8dcb381e9ef18e0809d0031b4145ed5a3eb975d9 | 1,574 | py | Python | pyreach/gyms/text_instructions_element.py | google-research/pyreach | f91753ce7a26e77e122eb02a9fdd5a1ce3ce0159 | [
"Apache-2.0"
] | 13 | 2021-09-01T01:10:22.000Z | 2022-03-05T10:01:52.000Z | pyreach/gyms/text_instructions_element.py | google-research/pyreach | f91753ce7a26e77e122eb02a9fdd5a1ce3ce0159 | [
"Apache-2.0"
] | null | null | null | pyreach/gyms/text_instructions_element.py | google-research/pyreach | f91753ce7a26e77e122eb02a9fdd5a1ce3ce0159 | [
"Apache-2.0"
] | 6 | 2021-09-20T21:17:53.000Z | 2022-03-14T18:42:48.000Z | # Copyright 2021 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | 38.390244 | 78 | 0.752859 | 227 | 1,574 | 5.176211 | 0.563877 | 0.051064 | 0.022128 | 0.027234 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006289 | 0.191868 | 1,574 | 40 | 79 | 39.35 | 0.917453 | 0.820203 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
8ddcbfe4840c8c9456bff37402a3dc01cb654a2c | 332 | py | Python | sitreps_server/crud/jira.py | digitronik/sitreps-server | f42e2c4125edeaec81f225c2582ae58c8bbb9ac2 | [
"MIT"
] | null | null | null | sitreps_server/crud/jira.py | digitronik/sitreps-server | f42e2c4125edeaec81f225c2582ae58c8bbb9ac2 | [
"MIT"
] | null | null | null | sitreps_server/crud/jira.py | digitronik/sitreps-server | f42e2c4125edeaec81f225c2582ae58c8bbb9ac2 | [
"MIT"
] | null | null | null | from typing import TypeVar
from ..db import Base
ModelType = TypeVar("ModelType", bound=Base)
from sitreps_server.crud.base import CRUDBase
from sitreps_server.models import Jira
from sitreps_server.schemas import JiraCreate, JiraUpdate
class CRUDItem(CRUDBase[Jira, JiraCreate, JiraUpdate]):
pass
jira = CRU... | 18.444444 | 57 | 0.792169 | 43 | 332 | 6.046512 | 0.465116 | 0.126923 | 0.196154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135542 | 332 | 17 | 58 | 19.529412 | 0.905923 | 0 | 0 | 0 | 0 | 0 | 0.027108 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.111111 | 0.555556 | 0 | 0.666667 | 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 |
5c07f09a8a4e8bfc9b756dd780df4abc15dbaddc | 156 | py | Python | py/__init__.py | microsoft/SwitchML | f367714550f50513a0bbe2da411994c2bc77ea6b | [
"MIT"
] | 3 | 2021-04-14T22:04:19.000Z | 2021-12-01T02:07:56.000Z | py/__init__.py | microsoft/SwitchML | f367714550f50513a0bbe2da411994c2bc77ea6b | [
"MIT"
] | null | null | null | py/__init__.py | microsoft/SwitchML | f367714550f50513a0bbe2da411994c2bc77ea6b | [
"MIT"
] | 5 | 2021-09-13T12:34:38.000Z | 2021-12-01T02:07:59.000Z | ## Copyright (c) Microsoft Corporation.
## Licensed under the MIT License.
# empty __init__.py file to allow this directory to be imported from elsewhere
| 26 | 78 | 0.769231 | 22 | 156 | 5.272727 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 156 | 5 | 79 | 31.2 | 0.892308 | 0.929487 | 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 |
5c223610e5ad4377e58028a4e8eca4e36e3ce18f | 59 | py | Python | python/testData/addImport/comment.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/addImport/comment.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/addImport/comment.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | from urllib import urlopen, urlencode # this is a comment | 59 | 59 | 0.779661 | 9 | 59 | 5.111111 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186441 | 59 | 1 | 59 | 59 | 0.958333 | 0.288136 | 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 |
5c2ea62f767433e36290f02c9d0952c2b9257ddd | 8,012 | py | Python | src/decoy/glycodecoy.py | lmsac/GproDIA | 3fc1cdee535c9743806b7be423aba29daca24406 | [
"BSD-3-Clause"
] | 2 | 2021-11-13T21:37:42.000Z | 2021-11-16T07:40:06.000Z | src/decoy/glycodecoy.py | lmsac/GproDIA | 3fc1cdee535c9743806b7be423aba29daca24406 | [
"BSD-3-Clause"
] | null | null | null | src/decoy/glycodecoy.py | lmsac/GproDIA | 3fc1cdee535c9743806b7be423aba29daca24406 | [
"BSD-3-Clause"
] | null | null | null | import copy
import random
from assay import GlycoAssayBuilder
from decoy import DecoyAssayGenerator
class GlycoDecoyAssayGenerator(DecoyAssayGenerator):
def __init__(self, assay_builder=None,
**kwargs):
if assay_builder is None:
assay_builder = GlycoAssayBuilder()
... | 62.108527 | 905 | 0.537569 | 1,075 | 8,012 | 3.943256 | 0.252093 | 0.138712 | 0.203822 | 0.266101 | 0.241331 | 0.209247 | 0.179523 | 0.174334 | 0.157348 | 0.156405 | 0 | 0.223697 | 0.257364 | 8,012 | 129 | 906 | 62.108527 | 0.48874 | 0.030205 | 0 | 0.083333 | 0 | 0.010417 | 0.200954 | 0.003867 | 0 | 0 | 0 | 0 | 0 | 1 | 0.052083 | false | 0 | 0.041667 | 0 | 0.15625 | 0.020833 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
308e63cddc24f81e1c91ec4b17d6e80c85e65d42 | 126 | py | Python | data_types.py | priyankakushi/machine-learning | f46e077cc6d52a25a2f4ec3576791369ed091d51 | [
"CC-BY-3.0"
] | null | null | null | data_types.py | priyankakushi/machine-learning | f46e077cc6d52a25a2f4ec3576791369ed091d51 | [
"CC-BY-3.0"
] | null | null | null | data_types.py | priyankakushi/machine-learning | f46e077cc6d52a25a2f4ec3576791369ed091d51 | [
"CC-BY-3.0"
] | null | null | null | import tkinter
from tkinter import *
root = tkinter.tk()
root.geometry("250*400+300")
root.resizable(0,0)
root.mainloop)()
| 12.6 | 28 | 0.722222 | 19 | 126 | 4.789474 | 0.631579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099099 | 0.119048 | 126 | 9 | 29 | 14 | 0.720721 | 0 | 0 | 0 | 0 | 0 | 0.087302 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.333333 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
309fc387e99e7478999dbae9b85b96e44c10e5fb | 591 | py | Python | utils/exceptions.py | codyharrington/todolist | 2159aca28b3f5b12b22f2282669281bf2430f4c3 | [
"MIT"
] | 1 | 2020-01-14T18:46:51.000Z | 2020-01-14T18:46:51.000Z | utils/exceptions.py | codyharrington/todolist | 2159aca28b3f5b12b22f2282669281bf2430f4c3 | [
"MIT"
] | null | null | null | utils/exceptions.py | codyharrington/todolist | 2159aca28b3f5b12b22f2282669281bf2430f4c3 | [
"MIT"
] | 2 | 2015-09-07T15:06:52.000Z | 2020-01-14T18:47:24.000Z | __author__ = 'cody'
class AlreadyExistsException(Exception):
pass
class UserAlreadyExistsException(Exception):
pass
class NotFoundException(Exception):
pass
class UnauthorisedException(Exception):
pass
class AuthenticationFailureException(Exception):
pass
class ForbiddenException(Exception):
... | 17.382353 | 48 | 0.786802 | 46 | 591 | 10.021739 | 0.347826 | 0.310195 | 0.390456 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152284 | 591 | 34 | 49 | 17.382353 | 0.92016 | 0 | 0 | 0.478261 | 0 | 0 | 0.006757 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.478261 | 0 | 0 | 0.478261 | 0 | 0 | 0 | 1 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
30c22ee003fc21bb180d73e39ccc386f7101cef1 | 64,301 | py | Python | python/machinetalk/protobuf/message_pb2.py | luminize/machinetalk-protobuf | 6ca7c99806401179ece164b07dc87852bfa8df9c | [
"MIT"
] | null | null | null | python/machinetalk/protobuf/message_pb2.py | luminize/machinetalk-protobuf | 6ca7c99806401179ece164b07dc87852bfa8df9c | [
"MIT"
] | null | null | null | python/machinetalk/protobuf/message_pb2.py | luminize/machinetalk-protobuf | 6ca7c99806401179ece164b07dc87852bfa8df9c | [
"MIT"
] | null | null | null | # Generated by the protocol buffer compiler. DO NOT EDIT!
# source: machinetalk/protobuf/message.proto
import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import... | 70.582876 | 8,126 | 0.775338 | 8,957 | 64,301 | 5.195266 | 0.068215 | 0.0502 | 0.055895 | 0.069046 | 0.800103 | 0.718851 | 0.649976 | 0.599605 | 0.554455 | 0.53866 | 0 | 0.067282 | 0.09877 | 64,301 | 910 | 8,127 | 70.66044 | 0.73572 | 0.003608 | 0 | 0.549944 | 1 | 0.003367 | 0.190328 | 0.124643 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.021324 | 0 | 0.021324 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
30e48bfb007beb196a70237d84c74bebde2bff8b | 913 | py | Python | google/appengine/api/remote_socket/_remote_socket_error.py | MiCHiLU/google_appengine_sdk | 3da9f20d7e65e26c4938d2c4054bc4f39cbc5522 | [
"Apache-2.0"
] | 790 | 2015-01-03T02:13:39.000Z | 2020-05-10T19:53:57.000Z | AppServer/google/appengine/api/remote_socket/_remote_socket_error.py | nlake44/appscale | 6944af660ca4cb772c9b6c2332ab28e5ef4d849f | [
"Apache-2.0"
] | 1,361 | 2015-01-08T23:09:40.000Z | 2020-04-14T00:03:04.000Z | AppServer/google/appengine/api/remote_socket/_remote_socket_error.py | nlake44/appscale | 6944af660ca4cb772c9b6c2332ab28e5ef4d849f | [
"Apache-2.0"
] | 155 | 2015-01-08T22:59:31.000Z | 2020-04-08T08:01:53.000Z | #!/usr/bin/env python
#
# Copyright 2007 Google 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 o... | 23.410256 | 74 | 0.743702 | 137 | 913 | 4.956204 | 0.656934 | 0.088365 | 0.038292 | 0.047128 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010638 | 0.176342 | 913 | 38 | 75 | 24.026316 | 0.892287 | 0.820372 | 0 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.428571 | 0 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
eb4b8ccddd5abc9af12db3fb2de65f011c28cdbf | 53 | py | Python | FactorioCalcFastAPI/data/localeasd.py | kshshkim/factorioCalcPy | 2a7c6ca567a3bf0d2b19f3cf0bc05274f83d4205 | [
"MIT"
] | 1 | 2021-09-21T01:42:05.000Z | 2021-09-21T01:42:05.000Z | FactorioCalcFastAPI/data/localeasd.py | kshshkim/factorioCalcPy | 2a7c6ca567a3bf0d2b19f3cf0bc05274f83d4205 | [
"MIT"
] | null | null | null | FactorioCalcFastAPI/data/localeasd.py | kshshkim/factorioCalcPy | 2a7c6ca567a3bf0d2b19f3cf0bc05274f83d4205 | [
"MIT"
] | null | null | null | # import re
# import io
#
# def get_list():
# io. | 10.6 | 17 | 0.54717 | 8 | 53 | 3.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.283019 | 53 | 5 | 18 | 10.6 | 0.736842 | 0.811321 | 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 |
eb5a9eded244e80c14d180ddf6c423a8cb57e543 | 105 | py | Python | log_correlation_asgi/__init__.py | shaihulud/log-correlation-asgi | 148699099a0dd59ac52d66bf19d96b48b6c0f552 | [
"MIT"
] | null | null | null | log_correlation_asgi/__init__.py | shaihulud/log-correlation-asgi | 148699099a0dd59ac52d66bf19d96b48b6c0f552 | [
"MIT"
] | null | null | null | log_correlation_asgi/__init__.py | shaihulud/log-correlation-asgi | 148699099a0dd59ac52d66bf19d96b48b6c0f552 | [
"MIT"
] | null | null | null | from .filter import ContextDataFilter
from .middleware import get_logging_dict, LogCorrelationMiddleware
| 35 | 66 | 0.885714 | 11 | 105 | 8.272727 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 105 | 2 | 67 | 52.5 | 0.947917 | 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 |
ebe239e846171958070d437c7c44aa5d27aa8ccc | 253 | py | Python | pythonapm/surfacers/log.py | dm03514/python-apm | 940ee66992412878ec99244feaa878719a887830 | [
"Unlicense"
] | 1 | 2018-09-19T13:48:57.000Z | 2018-09-19T13:48:57.000Z | pythonapm/surfacers/log.py | dm03514/python-apm | 940ee66992412878ec99244feaa878719a887830 | [
"Unlicense"
] | 14 | 2018-05-31T23:58:10.000Z | 2018-06-09T12:48:09.000Z | pythonapm/surfacers/log.py | dm03514/python-apm | 940ee66992412878ec99244feaa878719a887830 | [
"Unlicense"
] | null | null | null | import logging
from . import Surfacer
logger = logging.getLogger(__name__)
class LogSurfacer(Surfacer):
def clear(self): pass
def flush(self): pass
def record(self, metric):
logger.debug(
metric.dict(),
)
| 13.315789 | 36 | 0.620553 | 28 | 253 | 5.464286 | 0.642857 | 0.104575 | 0.143791 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.280632 | 253 | 18 | 37 | 14.055556 | 0.840659 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0.2 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
6910661c116549cd2a629869798aa5fd67dfe554 | 7,983 | py | Python | ServerSide/views.py | Coullence/DRF_Percels-Couriers_API_V.0.0.2 | 906786115861b316f8ecf023c8af82f2dacff68e | [
"MIT"
] | null | null | null | ServerSide/views.py | Coullence/DRF_Percels-Couriers_API_V.0.0.2 | 906786115861b316f8ecf023c8af82f2dacff68e | [
"MIT"
] | null | null | null | ServerSide/views.py | Coullence/DRF_Percels-Couriers_API_V.0.0.2 | 906786115861b316f8ecf023c8af82f2dacff68e | [
"MIT"
] | null | null | null | from django.views.decorators.csrf import csrf_exempt
from django.shortcuts import render
from django.http import HttpResponse, JsonResponse
from rest_framework.parsers import JSONParser
from rest_framework.decorators import api_view
from rest_framework.response import Response
from rest_framework import status
from res... | 34.708696 | 174 | 0.685457 | 799 | 7,983 | 6.760951 | 0.141427 | 0.046649 | 0.043317 | 0.03147 | 0.71455 | 0.696039 | 0.677897 | 0.677897 | 0.663458 | 0.663458 | 0 | 0.004815 | 0.219466 | 7,983 | 229 | 175 | 34.860262 | 0.862141 | 0.405361 | 0 | 0.747475 | 0 | 0 | 0.002141 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.20202 | false | 0 | 0.141414 | 0.151515 | 0.89899 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
6919df5ae74e3f2a3a738079824c713c915b518b | 129 | py | Python | neuroscout/tests/test_views.py | rbroc/neuroscout | da6b0097050c1a468baf03d3c71161adbf688d5b | [
"BSD-3-Clause"
] | 5 | 2018-07-16T16:23:21.000Z | 2021-08-20T15:43:23.000Z | neuroscout/tests/test_views.py | rbroc/neuroscout | da6b0097050c1a468baf03d3c71161adbf688d5b | [
"BSD-3-Clause"
] | 719 | 2018-07-09T17:19:57.000Z | 2022-03-30T15:30:59.000Z | neuroscout/tests/test_views.py | rbroc/neuroscout | da6b0097050c1a468baf03d3c71161adbf688d5b | [
"BSD-3-Clause"
] | 9 | 2019-07-10T17:45:31.000Z | 2021-08-30T21:51:21.000Z | '''
Test basic views
'''
def test_swagger(auth_client):
rv = auth_client.get('/swagger/')
assert rv.status_code == 200
| 14.333333 | 37 | 0.658915 | 18 | 129 | 4.5 | 0.722222 | 0.246914 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028571 | 0.186047 | 129 | 8 | 38 | 16.125 | 0.742857 | 0.124031 | 0 | 0 | 0 | 0 | 0.085714 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
6932d6e6064c776d9bbde61b74aa94d0c2e2e7f3 | 36,959 | py | Python | boto3_type_annotations_with_docs/boto3_type_annotations/servicediscovery/paginator.py | cowboygneox/boto3_type_annotations | 450dce1de4e066b939de7eac2ec560ed1a7ddaa2 | [
"MIT"
] | 119 | 2018-12-01T18:20:57.000Z | 2022-02-02T10:31:29.000Z | boto3_type_annotations_with_docs/boto3_type_annotations/servicediscovery/paginator.py | cowboygneox/boto3_type_annotations | 450dce1de4e066b939de7eac2ec560ed1a7ddaa2 | [
"MIT"
] | 15 | 2018-11-16T00:16:44.000Z | 2021-11-13T03:44:18.000Z | boto3_type_annotations_with_docs/boto3_type_annotations/servicediscovery/paginator.py | cowboygneox/boto3_type_annotations | 450dce1de4e066b939de7eac2ec560ed1a7ddaa2 | [
"MIT"
] | 11 | 2019-05-06T05:26:51.000Z | 2021-09-28T15:27:59.000Z | from typing import Dict
from typing import List
from botocore.paginate import Paginator
class ListInstances(Paginator):
def paginate(self, ServiceId: str, PaginationConfig: Dict = None) -> Dict:
"""
Creates an iterator that will paginate through responses from :py:meth:`ServiceDiscovery.Client.lis... | 72.897436 | 493 | 0.586407 | 4,252 | 36,959 | 5.078786 | 0.116181 | 0.016856 | 0.010697 | 0.012596 | 0.544941 | 0.485761 | 0.41593 | 0.383376 | 0.363232 | 0.332531 | 0 | 0.013009 | 0.330285 | 36,959 | 506 | 494 | 73.041502 | 0.859446 | 0.878027 | 0 | 0.466667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.266667 | false | 0.266667 | 0.2 | 0 | 0.733333 | 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 |
6949b87df361452d314a98feb6d2b353fc29659d | 69 | py | Python | django_bootstrap_markdown/__init__.py | aj-may/django-bootstrap-markdown | 84364a0d7723427b84e5cf9f7e309f42c9a6ca4c | [
"MIT"
] | 5 | 2015-03-30T14:24:52.000Z | 2017-03-15T02:31:00.000Z | django_bootstrap_markdown/__init__.py | aj-may/django-bootstrap-markdown | 84364a0d7723427b84e5cf9f7e309f42c9a6ca4c | [
"MIT"
] | null | null | null | django_bootstrap_markdown/__init__.py | aj-may/django-bootstrap-markdown | 84364a0d7723427b84e5cf9f7e309f42c9a6ca4c | [
"MIT"
] | 5 | 2015-04-21T14:57:08.000Z | 2020-07-11T18:40:07.000Z | default_app_config = 'django_bootstrap_markdown.apps.MarkdownConfig'
| 34.5 | 68 | 0.884058 | 8 | 69 | 7.125 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 69 | 1 | 69 | 69 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0.652174 | 0.652174 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
6957c55140bb9fc65ad0726b1b62a5b3aaa58943 | 36 | py | Python | tests/test_controls3.py | whitegreyblack/PyWin | 78f3637b4c03c11d7f6ef15b20a1acf699d4be24 | [
"MIT"
] | null | null | null | tests/test_controls3.py | whitegreyblack/PyWin | 78f3637b4c03c11d7f6ef15b20a1acf699d4be24 | [
"MIT"
] | null | null | null | tests/test_controls3.py | whitegreyblack/PyWin | 78f3637b4c03c11d7f6ef15b20a1acf699d4be24 | [
"MIT"
] | null | null | null | """Tests control3 ui components"""
| 12 | 34 | 0.694444 | 4 | 36 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032258 | 0.138889 | 36 | 2 | 35 | 18 | 0.774194 | 0.777778 | 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 |
15c1f23546adba638ee55f918117b79a84e90f77 | 107 | py | Python | examples/demo_LSI_sim.py | qiancao/BoneBox | 0d10dac7c93f16f0643bebc62c63be2f4bd099f6 | [
"BSD-3-Clause"
] | 1 | 2022-03-11T20:49:19.000Z | 2022-03-11T20:49:19.000Z | examples/demo_LSI_sim.py | qiancao/BoneBox | 0d10dac7c93f16f0643bebc62c63be2f4bd099f6 | [
"BSD-3-Clause"
] | null | null | null | examples/demo_LSI_sim.py | qiancao/BoneBox | 0d10dac7c93f16f0643bebc62c63be2f4bd099f6 | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Wed Mar 23 15:43:25 2022
@author: qcao
"""
| 11.888889 | 35 | 0.588785 | 18 | 107 | 3.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16092 | 0.186916 | 107 | 8 | 36 | 13.375 | 0.563218 | 0.878505 | 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 |
15c61ed2f25f907f8ee53b00c64a56b6dbbbdcc2 | 153 | py | Python | simple program/area of triangle.py | PraghadeshManivannan/Python | 7a42269c5f8cfd9178f1ed39ffc2afea1dd6c5aa | [
"MIT"
] | null | null | null | simple program/area of triangle.py | PraghadeshManivannan/Python | 7a42269c5f8cfd9178f1ed39ffc2afea1dd6c5aa | [
"MIT"
] | null | null | null | simple program/area of triangle.py | PraghadeshManivannan/Python | 7a42269c5f8cfd9178f1ed39ffc2afea1dd6c5aa | [
"MIT"
] | null | null | null | b = int(input("Enter the base of triangle:"))
h = int(input("Enter the height of triangle:"))
print("The area of the triangle is",round(0.5*b*h,2))
| 30.6 | 54 | 0.660131 | 29 | 153 | 3.482759 | 0.586207 | 0.158416 | 0.257426 | 0.316832 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023438 | 0.163399 | 153 | 4 | 55 | 38.25 | 0.765625 | 0 | 0 | 0 | 0 | 0 | 0.560811 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 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 |
15cf6689b052642837a90a34612629feaf752a83 | 179 | py | Python | mass/tasks.py | lsapan/channels-mass-broadcast | 4f60e059ea9e3a861cc47250347900a4d0b8bd7f | [
"MIT"
] | null | null | null | mass/tasks.py | lsapan/channels-mass-broadcast | 4f60e059ea9e3a861cc47250347900a4d0b8bd7f | [
"MIT"
] | null | null | null | mass/tasks.py | lsapan/channels-mass-broadcast | 4f60e059ea9e3a861cc47250347900a4d0b8bd7f | [
"MIT"
] | null | null | null | import json
import uuid
from celery import shared_task
from channels import Group
@shared_task
def broadcast():
Group('test').send({"text": json.dumps(str(uuid.uuid4()))})
| 16.272727 | 63 | 0.731844 | 26 | 179 | 4.961538 | 0.653846 | 0.155039 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006452 | 0.134078 | 179 | 10 | 64 | 17.9 | 0.825806 | 0 | 0 | 0 | 0 | 0 | 0.044693 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | true | 0 | 0.571429 | 0 | 0.714286 | 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 |
c604a6675223e25f1c41b047b5f78a6d64de6779 | 154 | py | Python | library_of_pantheon_backend/items/admin_forms.py | nathanhfoster/library-of-pantheon | b90acf1ecc575004d0f741762cded78301608947 | [
"MIT"
] | 1 | 2021-11-23T03:04:33.000Z | 2021-11-23T03:04:33.000Z | library_of_pantheon_backend/items/admin_forms.py | nathanhfoster/library-of-pantheon | b90acf1ecc575004d0f741762cded78301608947 | [
"MIT"
] | null | null | null | library_of_pantheon_backend/items/admin_forms.py | nathanhfoster/library-of-pantheon | b90acf1ecc575004d0f741762cded78301608947 | [
"MIT"
] | null | null | null | from django import forms
from .models import Item
class ItemAdminForm(forms.ModelForm):
class Meta:
model = Item
fields = '__all__'
| 17.111111 | 37 | 0.675325 | 18 | 154 | 5.555556 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25974 | 154 | 8 | 38 | 19.25 | 0.877193 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 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 |
c64c8a0ff046233a9c51c09556143cff56315481 | 12,244 | py | Python | tasks.py | ardkastrati/EEGEyeNet-DataPreparation | 3fd2f99af1d6fa62fc7fd7aa1577b411d5e8cb2d | [
"MIT"
] | null | null | null | tasks.py | ardkastrati/EEGEyeNet-DataPreparation | 3fd2f99af1d6fa62fc7fd7aa1577b411d5e8cb2d | [
"MIT"
] | null | null | null | tasks.py | ardkastrati/EEGEyeNet-DataPreparation | 3fd2f99af1d6fa62fc7fd7aa1577b411d5e8cb2d | [
"MIT"
] | null | null | null | from data_preparation.preparator import Preparator
from preparation_config import preparation_config as config
import numpy as np
def left_right_task_data_preparation(feature_extraction = False, verbose=False):
# We use the antisaccade dataset to extract the data for left and right benchmark task.
saccade = c... | 76.049689 | 236 | 0.618834 | 1,406 | 12,244 | 5.177098 | 0.119488 | 0.041214 | 0.05193 | 0.033933 | 0.807941 | 0.755461 | 0.705179 | 0.678527 | 0.646105 | 0.633329 | 0 | 0.019674 | 0.269356 | 12,244 | 160 | 237 | 76.525 | 0.793986 | 0.079059 | 0 | 0.48062 | 0 | 0 | 0.193729 | 0.023628 | 0 | 0 | 0 | 0 | 0 | 1 | 0.046512 | false | 0 | 0.023256 | 0 | 0.069767 | 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 |
d65c72db45725011a1df79e5eab38aceb15b27eb | 346 | py | Python | opendeep/data/__init__.py | vitruvianscience/OpenDeep | e96efc449101094354b615cf15afe6d03644fc36 | [
"Apache-2.0"
] | 252 | 2015-03-13T21:55:22.000Z | 2021-09-06T21:37:38.000Z | opendeep/data/__init__.py | afcarl/OpenDeep | e96efc449101094354b615cf15afe6d03644fc36 | [
"Apache-2.0"
] | 16 | 2015-03-14T06:47:04.000Z | 2016-09-23T19:13:35.000Z | opendeep/data/__init__.py | afcarl/OpenDeep | e96efc449101094354b615cf15afe6d03644fc36 | [
"Apache-2.0"
] | 68 | 2015-03-14T00:05:53.000Z | 2020-06-04T13:36:13.000Z | from __future__ import division, absolute_import, print_function
# to get dataset types like Dataset, Filedataset, etc.
from .dataset import *
from .dataset_file import *
from .dataset_memory import *
from .text import *
from .dataset_image import *
# to get premade datasets
from .standard_datasets import *
# for str... | 24.714286 | 64 | 0.786127 | 47 | 346 | 5.574468 | 0.510638 | 0.167939 | 0.194656 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153179 | 346 | 13 | 65 | 26.615385 | 0.894198 | 0.254335 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.125 | 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 |
d66c2b1e87b9532c36241006f7535112a89b5211 | 1,596 | py | Python | django_anysign/api.py | peopledoc/django-anysign | 9f6b1639613becb8bf72b67cf4b6f332485f4ae9 | [
"BSD-3-Clause"
] | 17 | 2017-11-21T14:57:01.000Z | 2021-11-29T04:04:22.000Z | django_anysign/api.py | Nirmalvekariya/django-anysign | 3b00b1ecb339de40b5634497c3b1ecb80a0ed57e | [
"BSD-3-Clause"
] | 2 | 2019-04-17T08:03:00.000Z | 2022-02-03T14:47:07.000Z | django_anysign/api.py | Nirmalvekariya/django-anysign | 3b00b1ecb339de40b5634497c3b1ecb80a0ed57e | [
"BSD-3-Clause"
] | 3 | 2019-01-22T11:11:20.000Z | 2019-10-19T00:26:34.000Z | """Declaration of API shortcuts.
Everything declared (or imported) in this module is exposed in
:mod:`django_anysign.api` package, i.e. available when one does
``from django_anysign import api as django_anysign``.
Here are the motivations of such an "api" module:
* as a `django-anysign` library user, in order to use... | 48.363636 | 79 | 0.788221 | 247 | 1,596 | 4.991903 | 0.425101 | 0.210868 | 0.137875 | 0.119221 | 0.400649 | 0.342255 | 0.216545 | 0.216545 | 0 | 0 | 0 | 0 | 0.151629 | 1,596 | 32 | 80 | 49.875 | 0.910635 | 0.714912 | 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 |
d6758119847d4b062fd773572a54d721b05da57b | 124 | py | Python | django/setup.py | dfrankow/data_sync | 23ff91392e2e4dee8cab4c732ed1b856bc246971 | [
"MIT"
] | null | null | null | django/setup.py | dfrankow/data_sync | 23ff91392e2e4dee8cab4c732ed1b856bc246971 | [
"MIT"
] | null | null | null | django/setup.py | dfrankow/data_sync | 23ff91392e2e4dee8cab4c732ed1b856bc246971 | [
"MIT"
] | null | null | null | """Package setup.
See https://docs.djangoproject.com/en/4.0/intro/reusable-apps/"""
from setuptools import setup
setup()
| 15.5 | 65 | 0.733871 | 18 | 124 | 5.055556 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017857 | 0.096774 | 124 | 7 | 66 | 17.714286 | 0.794643 | 0.629032 | 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 |
d687205cf1946bbc9a57a1464349cbcd548956da | 62 | py | Python | python/hetu/cpu_links/__init__.py | initzhang/Hetu | 447111a358e4dc6df5db9c216bdb3590fff05f84 | [
"Apache-2.0"
] | 82 | 2021-07-20T02:45:54.000Z | 2022-03-14T07:08:45.000Z | python/hetu/cpu_links/__init__.py | initzhang/Hetu | 447111a358e4dc6df5db9c216bdb3590fff05f84 | [
"Apache-2.0"
] | 4 | 2021-11-25T13:39:21.000Z | 2022-03-13T04:14:14.000Z | python/hetu/cpu_links/__init__.py | initzhang/Hetu | 447111a358e4dc6df5db9c216bdb3590fff05f84 | [
"Apache-2.0"
] | 13 | 2021-07-18T14:40:56.000Z | 2022-03-09T06:37:42.000Z | from __future__ import absolute_import
from .dnnl_op import *
| 20.666667 | 38 | 0.83871 | 9 | 62 | 5.111111 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 62 | 2 | 39 | 31 | 0.851852 | 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 |
d69aa473b6f55beb10e8b31617fdc4e72cc1ceae | 337 | py | Python | wharf_management/wharf_management/doctype/cargo/cargo_dashboard.py | staumoepeau/pms | 67aa43fb27f75482275b50dff17f5919e6c394b1 | [
"MIT"
] | 1 | 2021-02-19T11:45:24.000Z | 2021-02-19T11:45:24.000Z | wharf_management/wharf_management/doctype/cargo/cargo_dashboard.py | staumoepeau/pms | 67aa43fb27f75482275b50dff17f5919e6c394b1 | [
"MIT"
] | 1 | 2021-08-12T08:29:50.000Z | 2021-08-17T06:12:02.000Z | wharf_management/wharf_management/doctype/cargo/cargo_dashboard.py | staumoepeau/pms | 67aa43fb27f75482275b50dff17f5919e6c394b1 | [
"MIT"
] | 4 | 2020-07-22T20:30:00.000Z | 2021-08-07T12:36:01.000Z | from frappe import _
#def get_data():
# return {
# 'heatmap': True,
# 'heatmap_message': _('This is based on the attendance of this Student'),
# 'fieldname': 'cargo',
# 'transactions': [
# {
# 'label': _('Gate1'),
# 'items': ['Gate1']
# },
# {
# 'label': _('Student Activity'),
# 'items': ['Gate2'... | 18.722222 | 75 | 0.52819 | 32 | 337 | 5.375 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011673 | 0.237389 | 337 | 18 | 76 | 18.722222 | 0.657588 | 0.84273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
d6ab45b269f89b1040cf7b0f606eb363ca9776b0 | 219 | py | Python | app/data/cache.py | matheusnalmeida/Sistema-de-transporte-de-passageiros | e7c67586af0f814def990690a8389ca90d64fba0 | [
"MIT"
] | null | null | null | app/data/cache.py | matheusnalmeida/Sistema-de-transporte-de-passageiros | e7c67586af0f814def990690a8389ca90d64fba0 | [
"MIT"
] | null | null | null | app/data/cache.py | matheusnalmeida/Sistema-de-transporte-de-passageiros | e7c67586af0f814def990690a8389ca90d64fba0 | [
"MIT"
] | null | null | null | class Cache:
_instance = None
def __init__(self):
self.data = {}
@classmethod
def instance(cls):
if cls._instance is None:
cls._instance = cls()
return cls._instance | 19.909091 | 33 | 0.56621 | 24 | 219 | 4.833333 | 0.541667 | 0.284483 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.342466 | 219 | 11 | 34 | 19.909091 | 0.805556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0 | 0 | 0.555556 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
ba56e1fb85a4954c8cbcb0f1dd32351cef48e79b | 215 | py | Python | kedro/extras/datasets/redis/__init__.py | daniel-falk/kedro | 19187199339ddc4a757aaaa328f319ec4c1e452a | [
"Apache-2.0"
] | 2,047 | 2022-01-10T15:22:12.000Z | 2022-03-31T13:38:56.000Z | kedro/extras/datasets/redis/__init__.py | daniel-falk/kedro | 19187199339ddc4a757aaaa328f319ec4c1e452a | [
"Apache-2.0"
] | 170 | 2022-01-10T12:44:31.000Z | 2022-03-31T17:01:24.000Z | kedro/extras/datasets/redis/__init__.py | daniel-falk/kedro | 19187199339ddc4a757aaaa328f319ec4c1e452a | [
"Apache-2.0"
] | 112 | 2022-01-10T19:15:24.000Z | 2022-03-30T11:20:52.000Z | """``AbstractDataSet`` implementation to load/save data from/to a redis db."""
__all__ = ["PickleDataSet"]
from contextlib import suppress
with suppress(ImportError):
from .redis_dataset import PickleDataSet
| 23.888889 | 78 | 0.762791 | 25 | 215 | 6.36 | 0.72 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134884 | 215 | 8 | 79 | 26.875 | 0.854839 | 0.334884 | 0 | 0 | 0 | 0 | 0.094891 | 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 |
bab28a0f3710ae94258a1cabdbca06c93ed56326 | 6,290 | py | Python | www.costco.ca/costco.py | zzh-python/all-project | 915a47fb42d63ff3a36814992283c2f4ed8703a3 | [
"Apache-2.0"
] | 58 | 2019-03-01T08:15:19.000Z | 2022-03-28T03:16:17.000Z | www.costco.ca/costco.py | zzh-python/all-project | 915a47fb42d63ff3a36814992283c2f4ed8703a3 | [
"Apache-2.0"
] | 2 | 2020-06-08T08:07:46.000Z | 2020-11-02T11:48:05.000Z | www.costco.ca/costco.py | zzh-python/all-project | 915a47fb42d63ff3a36814992283c2f4ed8703a3 | [
"Apache-2.0"
] | 37 | 2019-02-26T23:30:08.000Z | 2022-01-27T05:10:18.000Z | from bs4 import BeautifulSoup
import requests
from urllib.error import HTTPError
import time
from email.mime.text import MIMEText
import smtplib #python 内置函数,无需安装
import urllib3
#必看:
#除import提到的包外,还需要安装的包
# pip install pyopenssl
# pip install ndg-httpsclient
# pip install pyasn1
#setms... | 74 | 3,598 | 0.747854 | 658 | 6,290 | 7.06383 | 0.606383 | 0.011618 | 0.027108 | 0.027108 | 0.032272 | 0.021515 | 0.021515 | 0 | 0 | 0 | 0 | 0.207082 | 0.142448 | 6,290 | 84 | 3,599 | 74.880952 | 0.654616 | 0.047059 | 0 | 0.142857 | 0 | 0.063492 | 0.710088 | 0.609035 | 0 | 0 | 0 | 0 | 0 | 1 | 0.047619 | false | 0.031746 | 0.111111 | 0 | 0.206349 | 0.047619 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
bab4386c3d3f087c25110cb0bc8b063612c34336 | 87 | py | Python | codes_auto/71.simplify-path.py | smartmark-pro/leetcode_record | 6504b733d892a705571eb4eac836fb10e94e56db | [
"MIT"
] | null | null | null | codes_auto/71.simplify-path.py | smartmark-pro/leetcode_record | 6504b733d892a705571eb4eac836fb10e94e56db | [
"MIT"
] | null | null | null | codes_auto/71.simplify-path.py | smartmark-pro/leetcode_record | 6504b733d892a705571eb4eac836fb10e94e56db | [
"MIT"
] | null | null | null | #
# @lc app=leetcode.cn id=71 lang=python3
#
# [71] simplify-path
#
None
# @lc code=end | 12.428571 | 40 | 0.655172 | 15 | 87 | 3.8 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068493 | 0.16092 | 87 | 7 | 41 | 12.428571 | 0.712329 | 0.804598 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
badef09b5cdc28d2e1bd0dcfa450b01cab9ba763 | 155 | py | Python | RandomGen/RandomRange.py | rn44/statsCalculator | b827edfc49d9251c7490ede3e578b58b49d9bb13 | [
"MIT"
] | null | null | null | RandomGen/RandomRange.py | rn44/statsCalculator | b827edfc49d9251c7490ede3e578b58b49d9bb13 | [
"MIT"
] | null | null | null | RandomGen/RandomRange.py | rn44/statsCalculator | b827edfc49d9251c7490ede3e578b58b49d9bb13 | [
"MIT"
] | 2 | 2020-11-07T03:34:17.000Z | 2020-12-10T16:34:55.000Z | import random
def randInt(a, b):
num = random.randint(a, b)
return num
def randDec(a, b):
num = float(random.uniform(a, b))
return num
| 12.916667 | 37 | 0.612903 | 25 | 155 | 3.8 | 0.44 | 0.084211 | 0.189474 | 0.231579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.258065 | 155 | 11 | 38 | 14.090909 | 0.826087 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0 | 0.714286 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
bae7dccad0b60908e90704d6e24e9a059c54c935 | 239 | py | Python | tests/auth_helper.py | thadk/us-congress-pizza-flag-tracker | 428cc9d6f68cdcc77ea30015fd06de20b8eb1da8 | [
"CC0-1.0"
] | null | null | null | tests/auth_helper.py | thadk/us-congress-pizza-flag-tracker | 428cc9d6f68cdcc77ea30015fd06de20b8eb1da8 | [
"CC0-1.0"
] | null | null | null | tests/auth_helper.py | thadk/us-congress-pizza-flag-tracker | 428cc9d6f68cdcc77ea30015fd06de20b8eb1da8 | [
"CC0-1.0"
] | null | null | null | import base64
from AuthActions import AuthActions
def get_token(username, password):
login_response = AuthActions.login_user(username, password)
user_pw_token = login_response["accessToken"].encode();
return user_pw_token
| 19.916667 | 63 | 0.778243 | 29 | 239 | 6.137931 | 0.551724 | 0.179775 | 0.123596 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009804 | 0.146444 | 239 | 11 | 64 | 21.727273 | 0.862745 | 0 | 0 | 0 | 0 | 0 | 0.04661 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
79f1ff62a1b8f252c224e1a648b45756a345864a | 807 | py | Python | Web/test.py | cmd2001/Open-TesutoHime | 2c30aa35650383adfb99496aebd425dffd287eda | [
"MIT"
] | 11 | 2020-11-28T16:45:35.000Z | 2021-08-31T07:56:26.000Z | Web/test.py | cmd2001/Open-TesutoHime | 2c30aa35650383adfb99496aebd425dffd287eda | [
"MIT"
] | null | null | null | Web/test.py | cmd2001/Open-TesutoHime | 2c30aa35650383adfb99496aebd425dffd287eda | [
"MIT"
] | 2 | 2021-05-16T03:09:58.000Z | 2021-08-21T07:24:58.000Z | from userManager import UserManager
from problemManager import ProblemManager
# a = UserManager()
# a.Add_User('u1', '123456', 'user1', '123', '3')
# a.Modify_User('u1', '531', '', '' , '')
# a.Modify_User('u1', '', 'u1', '' , '')
# a.Modify_User('u1', '', '', '321' , '')
# a.Modify_User('u1', '', '', '' , '2')
# a.... | 33.625 | 81 | 0.581165 | 116 | 807 | 3.87931 | 0.327586 | 0.08 | 0.122222 | 0.144444 | 0.284444 | 0.204444 | 0.111111 | 0.111111 | 0 | 0 | 0 | 0.086037 | 0.121437 | 807 | 23 | 82 | 35.086957 | 0.54866 | 0.85254 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
79ff69900cf81af90b1605b03fa02e0f8675ae0f | 223 | py | Python | src/easynlp/__init__.py | easynlp/easynlp | 4b3b405a64ca166cc19ee9c43b79a475cf699996 | [
"MIT"
] | 6 | 2021-07-09T08:13:44.000Z | 2021-11-10T04:09:33.000Z | src/easynlp/__init__.py | easynlp/easynlp | 4b3b405a64ca166cc19ee9c43b79a475cf699996 | [
"MIT"
] | 1 | 2021-07-09T17:18:16.000Z | 2021-07-09T17:18:16.000Z | src/easynlp/__init__.py | easynlp/easynlp | 4b3b405a64ca166cc19ee9c43b79a475cf699996 | [
"MIT"
] | 1 | 2022-02-09T15:37:14.000Z | 2022-02-09T15:37:14.000Z | __version__ = "0.2.1"
from .classification import classification
from .translation import translation
from .ner import ner
from .summarization import summarization
from .question_answering import question_answering
| 27.875 | 51 | 0.816143 | 26 | 223 | 6.769231 | 0.461538 | 0.193182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015625 | 0.139013 | 223 | 7 | 52 | 31.857143 | 0.901042 | 0 | 0 | 0 | 0 | 0 | 0.023148 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.833333 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
031d2fc97b1ea8777d08d7f0c6f9bf62f2aa2c18 | 63 | py | Python | src/algorithm/abs_algorithm.py | cwjokaka/Python-ML-PyQt | 91207f60fd9f390436e7e9bec032ee71c3298add | [
"MIT"
] | 2 | 2020-01-09T02:31:50.000Z | 2021-02-09T13:23:19.000Z | src/algorithm/abs_algorithm.py | cwjokaka/Python-ML-PyQt | 91207f60fd9f390436e7e9bec032ee71c3298add | [
"MIT"
] | null | null | null | src/algorithm/abs_algorithm.py | cwjokaka/Python-ML-PyQt | 91207f60fd9f390436e7e9bec032ee71c3298add | [
"MIT"
] | null | null | null | class AbsAlgorithm(object):
def output(self):
pass | 15.75 | 27 | 0.634921 | 7 | 63 | 5.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.269841 | 63 | 4 | 28 | 15.75 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
03576f839e7fb5021e8b458cd5d3b245b53f0c8f | 71 | py | Python | api/waitress_server.py | irwanmaulana42/GeoWINE | fbcb7a3f3c529d1aa95040006a93451bf030ff7b | [
"MIT"
] | 2 | 2021-05-05T02:33:44.000Z | 2021-08-01T17:23:02.000Z | api/waitress_server.py | irwanmaulana42/GeoWINE | fbcb7a3f3c529d1aa95040006a93451bf030ff7b | [
"MIT"
] | null | null | null | api/waitress_server.py | irwanmaulana42/GeoWINE | fbcb7a3f3c529d1aa95040006a93451bf030ff7b | [
"MIT"
] | 1 | 2021-05-05T02:33:48.000Z | 2021-05-05T02:33:48.000Z | import waitress, api
waitress.serve(api.app, host='0.0.0.0', port=9990) | 35.5 | 50 | 0.732394 | 14 | 71 | 3.714286 | 0.642857 | 0.115385 | 0.115385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 0.070423 | 71 | 2 | 50 | 35.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0.097222 | 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 |
3024eda61b2d9a7c6e12a3aad199e2e5b14241d1 | 461 | py | Python | robo_init/util.py | traversaro/robo-init | 27795aff31aaf96215fb7ee5ebfe0993add95feb | [
"BSD-3-Clause"
] | 6 | 2021-06-09T11:48:25.000Z | 2021-06-15T15:32:53.000Z | robo_init/util.py | traversaro/robo-init | 27795aff31aaf96215fb7ee5ebfe0993add95feb | [
"BSD-3-Clause"
] | null | null | null | robo_init/util.py | traversaro/robo-init | 27795aff31aaf96215fb7ee5ebfe0993add95feb | [
"BSD-3-Clause"
] | 1 | 2021-06-14T12:31:30.000Z | 2021-06-14T12:31:30.000Z | import yaml
class folded_unicode(str): pass
class literal_unicode(str): pass
def folded_unicode_representer(dumper, data):
return dumper.represent_scalar(u'tag:yaml.org,2002:str', data, style='>')
def literal_unicode_representer(dumper, data):
return dumper.represent_scalar(u'tag:yaml.org,2002:str', data, sty... | 35.461538 | 77 | 0.806941 | 64 | 461 | 5.5625 | 0.328125 | 0.146067 | 0.078652 | 0.157303 | 0.460674 | 0.460674 | 0.460674 | 0.460674 | 0.460674 | 0.460674 | 0 | 0.018868 | 0.08026 | 461 | 12 | 78 | 38.416667 | 0.820755 | 0 | 0 | 0 | 0 | 0 | 0.095445 | 0.091106 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0.222222 | 0.111111 | 0.222222 | 0.777778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
30369dbbf33e1d6ce38103861b755cdfc6b0f23a | 84 | py | Python | server/Config.py | Redfoggg/serialreader-socketio | 0f6b6612ed70bb903c65e46bea4b4f5a421dba3a | [
"MIT"
] | null | null | null | server/Config.py | Redfoggg/serialreader-socketio | 0f6b6612ed70bb903c65e46bea4b4f5a421dba3a | [
"MIT"
] | null | null | null | server/Config.py | Redfoggg/serialreader-socketio | 0f6b6612ed70bb903c65e46bea4b4f5a421dba3a | [
"MIT"
] | null | null | null | DATABASE_URI='postgres+psycopg2://postgres:ssamp001@localhost:5432/projetosenai'
| 28 | 81 | 0.821429 | 9 | 84 | 7.555556 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 0.047619 | 84 | 2 | 82 | 42 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.802469 | 0.802469 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
303fac20fdd674a6fb374a1784e24ca16470f3ad | 64 | py | Python | tests/__init__.py | timb07/irritable | 6d250dd716890b7b78b2b42e2f04be3058b09856 | [
"BSD-3-Clause"
] | 1 | 2017-08-08T01:55:42.000Z | 2017-08-08T01:55:42.000Z | tests/__init__.py | timb07/irritable | 6d250dd716890b7b78b2b42e2f04be3058b09856 | [
"BSD-3-Clause"
] | 3 | 2017-08-08T00:21:04.000Z | 2021-03-25T21:46:40.000Z | tests/__init__.py | timb07/irritable | 6d250dd716890b7b78b2b42e2f04be3058b09856 | [
"BSD-3-Clause"
] | 2 | 2017-08-08T01:29:53.000Z | 2017-08-08T05:16:51.000Z | # -*- coding: utf-8 -*-
"""Unit test package for irritable."""
| 16 | 38 | 0.578125 | 8 | 64 | 4.625 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018868 | 0.171875 | 64 | 3 | 39 | 21.333333 | 0.679245 | 0.859375 | 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 |
307a2f6b0ef52f963e59f943fbee6842896db5bd | 174 | py | Python | Modulo_Publica_Curiosidades.py | YanSym/Amazonia_Azul_Reporter | 3d425ba73f225a9171dd7673ca2ab10d13166467 | [
"MIT"
] | 2 | 2021-11-24T12:03:23.000Z | 2021-12-05T15:48:22.000Z | Modulo_Publica_Curiosidades.py | YanSym/Amazonia_Azul_Reporter | 3d425ba73f225a9171dd7673ca2ab10d13166467 | [
"MIT"
] | null | null | null | Modulo_Publica_Curiosidades.py | YanSym/Amazonia_Azul_Reporter | 3d425ba73f225a9171dd7673ca2ab10d13166467 | [
"MIT"
] | 1 | 2022-03-25T14:17:57.000Z | 2022-03-25T14:17:57.000Z | from metodos_auxiliares_curiosidades import CuriosidadesClass
# instancia o objeto
objeto_publicacao = CuriosidadesClass()
# publicação
objeto_publicacao.publica_conteudo() | 24.857143 | 61 | 0.867816 | 17 | 174 | 8.588235 | 0.764706 | 0.219178 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086207 | 174 | 7 | 62 | 24.857143 | 0.918239 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
062419b175d26619e23c30babf1e2e92587a8a21 | 131 | py | Python | tests/context.py | SoftwareCraftsmanship2016Bristol/connect4server | 621c3c3d01f0466acea5e0ee34d7a511bf0bd7de | [
"MIT"
] | null | null | null | tests/context.py | SoftwareCraftsmanship2016Bristol/connect4server | 621c3c3d01f0466acea5e0ee34d7a511bf0bd7de | [
"MIT"
] | 1 | 2016-05-22T12:46:56.000Z | 2017-11-14T11:09:12.000Z | tests/context.py | SoftwareCraftsmanship2016Bristol/connect4server | 621c3c3d01f0466acea5e0ee34d7a511bf0bd7de | [
"MIT"
] | null | null | null | """
Hitchhikers Guide Context Technique.
"""
import os
import sys
sys.path.insert(0, os.path.abspath('..'))
import connect4server
| 14.555556 | 41 | 0.732824 | 17 | 131 | 5.647059 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017241 | 0.114504 | 131 | 8 | 42 | 16.375 | 0.810345 | 0.274809 | 0 | 0 | 0 | 0 | 0.022989 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
063c353e1c1700aa3ec9e9a33f0a1ad3c023943c | 29 | py | Python | version.py | AntiBlueQuirk/OoT-Randomizer | 02cd096783f95625762538ea58ae661bf79b1934 | [
"MIT"
] | null | null | null | version.py | AntiBlueQuirk/OoT-Randomizer | 02cd096783f95625762538ea58ae661bf79b1934 | [
"MIT"
] | null | null | null | version.py | AntiBlueQuirk/OoT-Randomizer | 02cd096783f95625762538ea58ae661bf79b1934 | [
"MIT"
] | null | null | null | __version__ = '4.11.7 f.LUM'
| 14.5 | 28 | 0.655172 | 6 | 29 | 2.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 0.137931 | 29 | 1 | 29 | 29 | 0.44 | 0 | 0 | 0 | 0 | 0 | 0.413793 | 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 |
066b0d8859d916a7ed925e6547faa61d4468eb3e | 169 | py | Python | tracker/config.py | JelteF/bottor | 3a6a1ba7fe90c0989c585e9cd01fcc0393b726ae | [
"MIT"
] | 4 | 2015-05-24T17:30:30.000Z | 2017-11-27T20:25:53.000Z | tracker/config.py | JelteF/bottor | 3a6a1ba7fe90c0989c585e9cd01fcc0393b726ae | [
"MIT"
] | null | null | null | tracker/config.py | JelteF/bottor | 3a6a1ba7fe90c0989c585e9cd01fcc0393b726ae | [
"MIT"
] | null | null | null | DEBUG = True
SECRET_KEY = 'secret_key'
SQLALCHEMY_DATABASE_URI = 'sqlite:///app.db'
DATABASE_CONNECT_OPTIONS = {}
CSRF_ENABLED = True
CSRF_SESSION_KEY = 'secret_key'
| 16.9 | 44 | 0.763314 | 23 | 169 | 5.173913 | 0.652174 | 0.226891 | 0.201681 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12426 | 169 | 9 | 45 | 18.777778 | 0.804054 | 0 | 0 | 0 | 0 | 0 | 0.213018 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 |
066ef320015492cc38ef91048ec21e1951c20857 | 234 | py | Python | PythonExercicios/ex007.py | cedricgenaro/Python | 2ba952b42a9c49efaeb064e230db8d4426cd5ca8 | [
"MIT"
] | null | null | null | PythonExercicios/ex007.py | cedricgenaro/Python | 2ba952b42a9c49efaeb064e230db8d4426cd5ca8 | [
"MIT"
] | null | null | null | PythonExercicios/ex007.py | cedricgenaro/Python | 2ba952b42a9c49efaeb064e230db8d4426cd5ca8 | [
"MIT"
] | null | null | null | print('\n{:=^60}'.format(' Média '))
nt1 = float(input('Digite a primeira nota: '))
nt2 = float(input('Digite a segunda nota: '))
print('-'*60)
print('\n A média entre {} e {} é igual a : {:.1f}'.format(nt1, nt2, (nt1 + nt2) / 2))
| 26 | 86 | 0.576923 | 37 | 234 | 3.648649 | 0.540541 | 0.088889 | 0.237037 | 0.251852 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061538 | 0.166667 | 234 | 8 | 87 | 29.25 | 0.630769 | 0 | 0 | 0 | 0 | 0 | 0.463203 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.6 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
068a3ffd88bd612cc0c480d21cf14b52b3fab9fb | 156 | py | Python | Chapter 11/ch11_1_1.py | bpbpublications/TEST-YOUR-SKILLS-IN-PYTHON-LANGUAGE | f6a4194684515495d00aa38347a725dd08f39a0c | [
"MIT"
] | null | null | null | Chapter 11/ch11_1_1.py | bpbpublications/TEST-YOUR-SKILLS-IN-PYTHON-LANGUAGE | f6a4194684515495d00aa38347a725dd08f39a0c | [
"MIT"
] | null | null | null | Chapter 11/ch11_1_1.py | bpbpublications/TEST-YOUR-SKILLS-IN-PYTHON-LANGUAGE | f6a4194684515495d00aa38347a725dd08f39a0c | [
"MIT"
] | null | null | null | data = 12,34,'Gariyasi', 'Prakriti', 19, 20
print(data)
# print() can be used to display the value of tuple data: (12,34,'Gariyasi', 'Prakriti', 19, 20) | 39 | 96 | 0.660256 | 26 | 156 | 3.961538 | 0.653846 | 0.116505 | 0.15534 | 0.31068 | 0.543689 | 0.543689 | 0.543689 | 0 | 0 | 0 | 0 | 0.123077 | 0.166667 | 156 | 4 | 96 | 39 | 0.669231 | 0.602564 | 0 | 0 | 0 | 0 | 0.275862 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
06a2dea21d89ce6c3cf933f2cbf53939f580aa26 | 7,225 | py | Python | neowise/neowise/plots.py | mihirkestur/neowise | 2bce24812fb276f07bdbced605c28e0f865dd6eb | [
"MIT"
] | 11 | 2020-08-10T19:55:58.000Z | 2020-10-12T03:02:46.000Z | neowise/neowise/plots.py | mihirkestur/neowise | 2bce24812fb276f07bdbced605c28e0f865dd6eb | [
"MIT"
] | null | null | null | neowise/neowise/plots.py | mihirkestur/neowise | 2bce24812fb276f07bdbced605c28e0f865dd6eb | [
"MIT"
] | 2 | 2020-08-13T11:25:58.000Z | 2021-03-02T14:18:58.000Z | import numpy as np
import matplotlib.pyplot as plt
class StaticPlotHelpers:
"""
Static Plot Helpers
Used to initiate the instance variables of Static Plots
Arguments:
costs_tr: Array of costs of training data through the entire training duration of the network
costs_cv: Array of costs... | 42.251462 | 132 | 0.648304 | 1,123 | 7,225 | 3.978629 | 0.11398 | 0.043644 | 0.042972 | 0.048344 | 0.768129 | 0.734109 | 0.717099 | 0.709042 | 0.67547 | 0.654432 | 0 | 0.006787 | 0.265882 | 7,225 | 170 | 133 | 42.5 | 0.835596 | 0.423253 | 0 | 0.447368 | 0 | 0 | 0.049741 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.131579 | false | 0 | 0.026316 | 0 | 0.263158 | 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 |
06b272b0981a25dfb432ab8eb06fed0072d3f958 | 122 | py | Python | __init__.py | JRegimbal/hpc-fast-trainer | 011fbb542fdd3a9ddd4509b3a221654f3466ed45 | [
"MIT"
] | null | null | null | __init__.py | JRegimbal/hpc-fast-trainer | 011fbb542fdd3a9ddd4509b3a221654f3466ed45 | [
"MIT"
] | 1 | 2020-07-06T16:11:29.000Z | 2020-07-06T16:11:29.000Z | __init__.py | JRegimbal/hpc-fast-trainer | 011fbb542fdd3a9ddd4509b3a221654f3466ed45 | [
"MIT"
] | null | null | null | __version__ = "0.0.1"
from rodan.jobs import module_loader
module_loader('rodan.jobs.hpc_fast_trainer.hpc_fast_trainer')
| 24.4 | 61 | 0.819672 | 20 | 122 | 4.5 | 0.6 | 0.2 | 0.311111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026549 | 0.07377 | 122 | 4 | 62 | 30.5 | 0.769912 | 0 | 0 | 0 | 0 | 0 | 0.401639 | 0.360656 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
ebee1785f628c253f2577a2f938a0aa79e90a495 | 61 | py | Python | exec_tensorboard.py | lulindev/lenet-pytorch | a7de252c03df6b4d6d7d95b2a328fb3c3678dfd8 | [
"MIT"
] | null | null | null | exec_tensorboard.py | lulindev/lenet-pytorch | a7de252c03df6b4d6d7d95b2a328fb3c3678dfd8 | [
"MIT"
] | null | null | null | exec_tensorboard.py | lulindev/lenet-pytorch | a7de252c03df6b4d6d7d95b2a328fb3c3678dfd8 | [
"MIT"
] | null | null | null | import os
os.system('tensorboard --logdir=runs --bind_all')
| 15.25 | 49 | 0.737705 | 9 | 61 | 4.888889 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098361 | 61 | 3 | 50 | 20.333333 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.590164 | 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 |
ebfb12ae0547778670e28f4cbaa0e1a5f50190e4 | 233 | py | Python | scripts/albert/common/strutil/__init__.py | ArthurRizar/dialog_state_tracking_bert | 8ee16a854d0ccaad44918c4ede16851acf11ceaa | [
"Apache-2.0"
] | null | null | null | scripts/albert/common/strutil/__init__.py | ArthurRizar/dialog_state_tracking_bert | 8ee16a854d0ccaad44918c4ede16851acf11ceaa | [
"Apache-2.0"
] | null | null | null | scripts/albert/common/strutil/__init__.py | ArthurRizar/dialog_state_tracking_bert | 8ee16a854d0ccaad44918c4ede16851acf11ceaa | [
"Apache-2.0"
] | null | null | null | #coding:utf-8
###################################################
# File Name: __init__.py
# Author: Meng Zhao
# mail: @
# Created Time: Mon 26 Mar 2018 01:57:18 PM CST
#=============================================================
| 25.888889 | 62 | 0.343348 | 22 | 233 | 3.454545 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 0.107296 | 233 | 8 | 63 | 29.125 | 0.302885 | 0.72103 | 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 |
23269fbfa22fce299010234f1fed09fb21a89b6f | 13,981 | py | Python | rally_openstack/cfg/nova.py | RSE-Cambridge/rally-openstack | 32bbc091bbce1db625a2fc22da28b32718befa13 | [
"Apache-2.0"
] | null | null | null | rally_openstack/cfg/nova.py | RSE-Cambridge/rally-openstack | 32bbc091bbce1db625a2fc22da28b32718befa13 | [
"Apache-2.0"
] | null | null | null | rally_openstack/cfg/nova.py | RSE-Cambridge/rally-openstack | 32bbc091bbce1db625a2fc22da28b32718befa13 | [
"Apache-2.0"
] | 1 | 2021-08-10T03:11:51.000Z | 2021-08-10T03:11:51.000Z | # Copyright 2013: Mirantis 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 required b... | 45.245955 | 79 | 0.574852 | 1,455 | 13,981 | 5.292096 | 0.082474 | 0.092857 | 0.126623 | 0.171818 | 0.858571 | 0.756104 | 0.71039 | 0.632208 | 0.515195 | 0.362597 | 0 | 0.03061 | 0.329376 | 13,981 | 308 | 80 | 45.392857 | 0.790636 | 0.081897 | 0 | 0.494424 | 0 | 0 | 0.38295 | 0.160416 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.003717 | 0 | 0.003717 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
232757c4e72b796a84c711d1ceca6367fb2991be | 154 | py | Python | app/services/base.py | bmdefreitas/star-wars-api-python | e118843b7a304433549085f5ee6a08bf455b4d43 | [
"Apache-2.0"
] | null | null | null | app/services/base.py | bmdefreitas/star-wars-api-python | e118843b7a304433549085f5ee6a08bf455b4d43 | [
"Apache-2.0"
] | null | null | null | app/services/base.py | bmdefreitas/star-wars-api-python | e118843b7a304433549085f5ee6a08bf455b4d43 | [
"Apache-2.0"
] | null | null | null | from flask_restful import abort
class BaseService:
def not_found(self, id, name):
abort(404, message="{} {} não encontrado".format(name, id)) | 30.8 | 67 | 0.688312 | 21 | 154 | 4.952381 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02381 | 0.181818 | 154 | 5 | 67 | 30.8 | 0.801587 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
88fd8be3dea61ead725a89265b74fc6f62d9b2a7 | 208 | py | Python | book_app/urls.py | paulwilliamsen/django_lender | 245017feeefdee8bcd3301a6eec3f601e4503b37 | [
"MIT"
] | null | null | null | book_app/urls.py | paulwilliamsen/django_lender | 245017feeefdee8bcd3301a6eec3f601e4503b37 | [
"MIT"
] | null | null | null | book_app/urls.py | paulwilliamsen/django_lender | 245017feeefdee8bcd3301a6eec3f601e4503b37 | [
"MIT"
] | null | null | null | from .views import book_detail_view, book_list_view
from django.urls import path
urlpatterns = [
path('<int:pk>', book_detail_view, name='book_detail'),
path('', book_list_view, name='book_list'),
]
| 26 | 59 | 0.725962 | 31 | 208 | 4.548387 | 0.451613 | 0.212766 | 0.198582 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134615 | 208 | 7 | 60 | 29.714286 | 0.783333 | 0 | 0 | 0 | 0 | 0 | 0.134615 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
002174d0c0be6b9c29c5a5794535e3a46119a934 | 633 | py | Python | tests/test_gy.py | cls1991/gy | 65ad594a2d238d8954e39816ed1a50b081ab4f9b | [
"Apache-2.0"
] | 21 | 2017-12-19T14:30:15.000Z | 2021-04-03T16:54:02.000Z | tests/test_gy.py | cls1991/gy | 65ad594a2d238d8954e39816ed1a50b081ab4f9b | [
"Apache-2.0"
] | 1 | 2021-07-27T17:16:00.000Z | 2021-07-27T17:16:00.000Z | tests/test_gy.py | cls1991/gy | 65ad594a2d238d8954e39816ed1a50b081ab4f9b | [
"Apache-2.0"
] | 6 | 2017-12-20T02:30:24.000Z | 2018-01-08T07:18:36.000Z | # coding: utf8
import subprocess
def execute(cmd):
out = None
if cmd:
try:
out, err = subprocess.Popen(cmd, shell=True, stdout=subprocess.PIPE).communicate()
except ValueError:
pass
return out
def test_gy():
assert execute(['gy'])
def test_gy_update():
... | 16.657895 | 94 | 0.589258 | 77 | 633 | 4.727273 | 0.402597 | 0.25 | 0.288462 | 0.18956 | 0.239011 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0.002079 | 0.240126 | 633 | 37 | 95 | 17.108108 | 0.754678 | 0.018957 | 0 | 0 | 0 | 0 | 0.101777 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.285714 | false | 0.047619 | 0.047619 | 0 | 0.380952 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0031f04f75a141304c93027877d852466fab5e6f | 354 | py | Python | ch_02/src/ecommerce/products.py | real-slim-chadi/Python-Object-Oriented-Programming---4th-edition | 7c486866171786b620795fa33a79ec9ac9a8ba1b | [
"MIT"
] | 43 | 2021-06-03T18:39:09.000Z | 2022-03-29T20:32:13.000Z | ch_02/src/ecommerce/products.py | real-slim-chadi/Python-Object-Oriented-Programming---4th-edition | 7c486866171786b620795fa33a79ec9ac9a8ba1b | [
"MIT"
] | 16 | 2022-02-08T22:41:30.000Z | 2022-03-25T22:48:28.000Z | ch_02/src/ecommerce/products.py | real-slim-chadi/Python-Object-Oriented-Programming---4th-edition | 7c486866171786b620795fa33a79ec9ac9a8ba1b | [
"MIT"
] | 36 | 2021-06-19T07:14:09.000Z | 2022-03-12T22:17:09.000Z | """
Python 3 Object-Oriented Programming 4th ed.
Chapter 2, Objects in Python.
"""
import ecommerce.database as database
from .database import Database
from .database import Database as DB
from .database import Database, Query
from .contact.email import send_mail
class Product:
def __init__(self, name: str) ... | 17.7 | 44 | 0.737288 | 49 | 354 | 5.22449 | 0.612245 | 0.140625 | 0.210938 | 0.304688 | 0.234375 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010417 | 0.186441 | 354 | 19 | 45 | 18.631579 | 0.878472 | 0.211864 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.625 | 0 | 0.875 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
00501b0dda7122f988b4d059dcf03fda6081cfaf | 165 | py | Python | spider/wiki/wiki/items.py | 855team/__Pedia-Search__ | f54db7c7cf2e0d99168f1cd4be026b5e488df6fe | [
"MIT"
] | null | null | null | spider/wiki/wiki/items.py | 855team/__Pedia-Search__ | f54db7c7cf2e0d99168f1cd4be026b5e488df6fe | [
"MIT"
] | null | null | null | spider/wiki/wiki/items.py | 855team/__Pedia-Search__ | f54db7c7cf2e0d99168f1cd4be026b5e488df6fe | [
"MIT"
] | 1 | 2021-02-23T11:56:49.000Z | 2021-02-23T11:56:49.000Z | import scrapy
class WikiItem(scrapy.Item):
page_id = scrapy.Field()
title = scrapy.Field()
sections = scrapy.Field()
linked_items = scrapy.Field()
| 18.333333 | 33 | 0.672727 | 20 | 165 | 5.45 | 0.6 | 0.40367 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206061 | 165 | 8 | 34 | 20.625 | 0.832061 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
cc6391ba46d7503c49465c4d7f176fea1a547869 | 5,698 | py | Python | python/test/test_search_api.py | openlattice/api-clients | 1d5be9861785b295089b732f37464e31bf80c8ca | [
"Apache-2.0"
] | null | null | null | python/test/test_search_api.py | openlattice/api-clients | 1d5be9861785b295089b732f37464e31bf80c8ca | [
"Apache-2.0"
] | 1 | 2021-01-20T00:20:01.000Z | 2021-01-20T00:20:01.000Z | python/test/test_search_api.py | openlattice/api-clients | 1d5be9861785b295089b732f37464e31bf80c8ca | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
"""
OpenLattice API
OpenLattice API # noqa: E501
The version of the OpenAPI document: 0.0.1
Contact: support@openlattice.com
Generated by: https://openapi-generator.tech
"""
from __future__ import absolute_import
import unittest
import openlattice
from openlattice.api.search_... | 33.916667 | 327 | 0.696385 | 785 | 5,698 | 4.84586 | 0.173248 | 0.046267 | 0.054942 | 0.074921 | 0.695321 | 0.666404 | 0.623817 | 0.553102 | 0.460305 | 0.391693 | 0 | 0.016474 | 0.2543 | 5,698 | 167 | 328 | 34.11976 | 0.878795 | 0.606704 | 0 | 0.4 | 1 | 0 | 0.004474 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.42 | false | 0.4 | 0.1 | 0 | 0.54 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
cc81e9004a7866dc381f7ee9b353cb37985e0f2e | 379 | py | Python | apps/alerts/migrations/0003_auto_20201212_1255.py | npujol/ebay_alerts | f1ca2a543fa0cd8d6aa803a54a4e226a3014da19 | [
"MIT"
] | 1 | 2021-05-10T22:59:39.000Z | 2021-05-10T22:59:39.000Z | apps/alerts/migrations/0003_auto_20201212_1255.py | npujol/ebay_alerts | f1ca2a543fa0cd8d6aa803a54a4e226a3014da19 | [
"MIT"
] | 13 | 2020-12-10T13:52:04.000Z | 2021-02-01T10:13:13.000Z | apps/alerts/migrations/0003_auto_20201212_1255.py | npujol/ebay_alerts | f1ca2a543fa0cd8d6aa803a54a4e226a3014da19 | [
"MIT"
] | null | null | null | # Generated by Django 3.1.4 on 2020-12-12 12:55
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [("alerts", "0002_auto_20201211_1205")]
operations = [
migrations.RenameField(model_name="account", old_name="id", new_name="uuid"),
migrations.RenameField(... | 27.071429 | 85 | 0.69657 | 50 | 379 | 5.1 | 0.64 | 0.031373 | 0.203922 | 0.235294 | 0.156863 | 0.156863 | 0 | 0 | 0 | 0 | 0 | 0.097484 | 0.16095 | 379 | 13 | 86 | 29.153846 | 0.704403 | 0.118734 | 0 | 0 | 1 | 0 | 0.159639 | 0.069277 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
cc8b686ee1bcc22f71b556b3ef966655658aac83 | 138 | py | Python | countercalc/looping_calculator.py | phizzl3/PrintShopScripts | 26cf12d189836907370fd8671ef0d8eba7cd3411 | [
"MIT"
] | 1 | 2021-01-19T20:36:35.000Z | 2021-01-19T20:36:35.000Z | countercalc/looping_calculator.py | phizzl3/counter-calculator | 26cf12d189836907370fd8671ef0d8eba7cd3411 | [
"MIT"
] | null | null | null | countercalc/looping_calculator.py | phizzl3/counter-calculator | 26cf12d189836907370fd8671ef0d8eba7cd3411 | [
"MIT"
] | null | null | null | import os
from counter_calculator import main
if __name__ == "__main__":
while True:
os.system('cls')
main()
| 17.25 | 35 | 0.594203 | 16 | 138 | 4.5625 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.311594 | 138 | 8 | 36 | 17.25 | 0.768421 | 0 | 0 | 0 | 0 | 0 | 0.079137 | 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 |
cc93e98502430b71cf6c3685aa25811ef975753a | 163 | py | Python | mysterious-mice/spacebook/guestbook/urls.py | Vthechamp22/summer-code-jam-2021 | 0a8bf1f22f6c73300891fd779da36efd8e1304c1 | [
"MIT"
] | 40 | 2020-08-02T07:38:22.000Z | 2021-07-26T01:46:50.000Z | mysterious-mice/spacebook/guestbook/urls.py | Vthechamp22/summer-code-jam-2021 | 0a8bf1f22f6c73300891fd779da36efd8e1304c1 | [
"MIT"
] | 134 | 2020-07-31T12:15:45.000Z | 2020-12-13T04:42:19.000Z | mysterious-mice/spacebook/guestbook/urls.py | Vthechamp22/summer-code-jam-2021 | 0a8bf1f22f6c73300891fd779da36efd8e1304c1 | [
"MIT"
] | 101 | 2020-07-31T12:00:47.000Z | 2021-11-01T09:06:58.000Z | from django.urls import path
from .views import Guestbook
app_name = "guestbook"
urlpatterns = [
path("guestbook/", Guestbook.as_view(), name="guestbook"),
]
| 20.375 | 62 | 0.723926 | 20 | 163 | 5.8 | 0.6 | 0.224138 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141104 | 163 | 7 | 63 | 23.285714 | 0.828571 | 0 | 0 | 0 | 0 | 0 | 0.171779 | 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 |
cccdc29675c63d0c8a4501f0bccf0b25dd9b3825 | 128 | py | Python | aadnes_journey/screens/inventory.py | mradrianhh/Aadnes-journey | 13d6065eb0997b5ee9ea64e38de104d035178ef4 | [
"MIT"
] | null | null | null | aadnes_journey/screens/inventory.py | mradrianhh/Aadnes-journey | 13d6065eb0997b5ee9ea64e38de104d035178ef4 | [
"MIT"
] | null | null | null | aadnes_journey/screens/inventory.py | mradrianhh/Aadnes-journey | 13d6065eb0997b5ee9ea64e38de104d035178ef4 | [
"MIT"
] | null | null | null | from .screen_interface import ScreenInterface
class Inventory(ScreenInterface):
def show(self):
print("Inventory") | 21.333333 | 45 | 0.742188 | 13 | 128 | 7.230769 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171875 | 128 | 6 | 46 | 21.333333 | 0.886792 | 0 | 0 | 0 | 0 | 0 | 0.069767 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 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 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
aeac4b04050db57b1c8153d4ed370afb81de5d33 | 85 | py | Python | nginx/datadog_checks/nginx/__init__.py | chotiwat/integrations-core | 57a4437790cafcb769e120aa64d84aaecbf6a414 | [
"BSD-3-Clause"
] | null | null | null | nginx/datadog_checks/nginx/__init__.py | chotiwat/integrations-core | 57a4437790cafcb769e120aa64d84aaecbf6a414 | [
"BSD-3-Clause"
] | 1 | 2021-08-02T14:53:43.000Z | 2021-08-02T14:53:43.000Z | nginx/datadog_checks/nginx/__init__.py | chotiwat/integrations-core | 57a4437790cafcb769e120aa64d84aaecbf6a414 | [
"BSD-3-Clause"
] | 1 | 2021-08-02T14:36:24.000Z | 2021-08-02T14:36:24.000Z | from . import nginx
Nginx = nginx.Nginx
__version__ = "1.2.0"
__all__ = ['nginx']
| 10.625 | 21 | 0.658824 | 12 | 85 | 4 | 0.666667 | 0.625 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 0.188235 | 85 | 7 | 22 | 12.142857 | 0.652174 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
aeb038eb80c04ff90d814889556230e0e496797d | 10,651 | py | Python | Soft Cosine Measure/filter_same_elements_from_queries.py | frankatimm/BA_JoFra | 3c618e663691061cc402a3124b901e94bd799e48 | [
"MIT"
] | null | null | null | Soft Cosine Measure/filter_same_elements_from_queries.py | frankatimm/BA_JoFra | 3c618e663691061cc402a3124b901e94bd799e48 | [
"MIT"
] | null | null | null | Soft Cosine Measure/filter_same_elements_from_queries.py | frankatimm/BA_JoFra | 3c618e663691061cc402a3124b901e94bd799e48 | [
"MIT"
] | null | null | null | # query_basic = 'Mann, Männer, Frau, Frauen, Kinder, Menschen, Mensch, Jugendliche, Teenager, Familie, Jung, Alt, Identität, Religion, Kultur, Herkunft, Gesellschaft, Deutschland, Ehefrau, Ehemann, Ehepaar'
# query_basic = 'Mann, Männer, Frau, Frauen, Kinder, Menschen, Mensch, Jugendliche, Teenager, Familie, Jung, Al... | 332.84375 | 3,438 | 0.836541 | 941 | 10,651 | 9.451647 | 0.742827 | 0.006746 | 0.008095 | 0.006746 | 0.054644 | 0.054644 | 0.054644 | 0.054644 | 0.054644 | 0.054644 | 0 | 0 | 0.152098 | 10,651 | 31 | 3,439 | 343.580645 | 0.98483 | 0.550934 | 0 | 0 | 0 | 0.222222 | 0.944069 | 0.070916 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.111111 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
aeb36c58f51229619b08f934e46f77cd4f1c1fb3 | 115 | py | Python | todos/__init__.py | e-k-m/todos | b017a74dd22e42beaf4838cfdb9ed14d349e41e9 | [
"MIT"
] | null | null | null | todos/__init__.py | e-k-m/todos | b017a74dd22e42beaf4838cfdb9ed14d349e41e9 | [
"MIT"
] | null | null | null | todos/__init__.py | e-k-m/todos | b017a74dd22e42beaf4838cfdb9ed14d349e41e9 | [
"MIT"
] | null | null | null | """
FIXME
"""
from todos import version
__author__ = "Eric Matti"
__version__ = version.__version__
__all__ = []
| 11.5 | 33 | 0.713043 | 12 | 115 | 5.5 | 0.75 | 0.424242 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165217 | 115 | 9 | 34 | 12.777778 | 0.6875 | 0.043478 | 0 | 0 | 0 | 0 | 0.098039 | 0 | 0 | 0 | 0 | 0.111111 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
aeba4705617e5851064d4bfa16905e7b8499b476 | 174 | py | Python | src/controller/mainWindowController.py | waleson-melo/gerenciador_de_senhas | 62d329d2c3bb28eb7c47454a3f9a68487762612a | [
"MIT"
] | 3 | 2021-01-13T22:29:52.000Z | 2021-06-19T22:40:46.000Z | src/controller/mainWindowController.py | waleson-melo/gerenciador_de_senhas | 62d329d2c3bb28eb7c47454a3f9a68487762612a | [
"MIT"
] | null | null | null | src/controller/mainWindowController.py | waleson-melo/gerenciador_de_senhas | 62d329d2c3bb28eb7c47454a3f9a68487762612a | [
"MIT"
] | 1 | 2021-06-27T04:06:47.000Z | 2021-06-27T04:06:47.000Z | import src.view.mainWindowView as mw
class MainWindowController:
def __init__(self):
self.mew = mw.MainWindowView()
def run(self):
self.mew.start() | 19.333333 | 38 | 0.666667 | 21 | 174 | 5.333333 | 0.666667 | 0.142857 | 0.196429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.229885 | 174 | 9 | 39 | 19.333333 | 0.835821 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
aebf411aac820a35f8e7f3a1fdb8b4c85478edaa | 141 | py | Python | setup.py | aYukiYoshida/pyigata | 670db3e09e5e4a3fb430b57f213ac95801ab1996 | [
"MIT"
] | null | null | null | setup.py | aYukiYoshida/pyigata | 670db3e09e5e4a3fb430b57f213ac95801ab1996 | [
"MIT"
] | null | null | null | setup.py | aYukiYoshida/pyigata | 670db3e09e5e4a3fb430b57f213ac95801ab1996 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Learn more: https://github.com/kennethreitz/setup.py
from setuptools import setup
setup() | 17.625 | 54 | 0.695035 | 20 | 141 | 4.9 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01626 | 0.12766 | 141 | 8 | 55 | 17.625 | 0.780488 | 0.680851 | 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 |
4e2b73c62e0474367b528e7222705e311970c837 | 192 | py | Python | statscanpy/test/test_datasearch.py | andrewjdyck/statscanpy | 95ffeea09a633a76c3ef0e3a3fc2d6a3edf624cf | [
"MIT"
] | 2 | 2020-04-27T16:32:14.000Z | 2021-01-29T13:19:48.000Z | statscanpy/test/test_datasearch.py | u821896/statscanpy | 95ffeea09a633a76c3ef0e3a3fc2d6a3edf624cf | [
"MIT"
] | 1 | 2022-02-23T20:02:56.000Z | 2022-03-01T16:10:53.000Z | statscanpy/test/test_datasearch.py | u821896/statscanpy | 95ffeea09a633a76c3ef0e3a3fc2d6a3edf624cf | [
"MIT"
] | 3 | 2019-09-19T18:26:04.000Z | 2021-05-05T19:42:18.000Z | from unittest import TestCase
import statscanpy as sc
class TestSearch(TestCase):
def test_search_returns(self):
search = sc.DataSearch('14100287')
print(search)
| 21.333333 | 42 | 0.6875 | 22 | 192 | 5.909091 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054795 | 0.239583 | 192 | 9 | 43 | 21.333333 | 0.835616 | 0 | 0 | 0 | 0 | 0 | 0.041451 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0.166667 | 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 |
4e418994fa7136eef53378e274127f3c0d91d020 | 215 | py | Python | impurityModel/ed/__init__.py | johanjoensson/impurityModel | 61662914822fd54a3331302449e11d3401493d3d | [
"MIT"
] | null | null | null | impurityModel/ed/__init__.py | johanjoensson/impurityModel | 61662914822fd54a3331302449e11d3401493d3d | [
"MIT"
] | null | null | null | impurityModel/ed/__init__.py | johanjoensson/impurityModel | 61662914822fd54a3331302449e11d3401493d3d | [
"MIT"
] | null | null | null | """
A package dealing with many-body impurity models using exact diagonalization.
Examples of functionalities:
- Calculate spectra, e.g. XAS, XPS, PS.
- Calculate static expectation values
"""
| 23.888889 | 77 | 0.693023 | 25 | 215 | 5.96 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.227907 | 215 | 8 | 78 | 26.875 | 0.89759 | 0.953488 | 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 |
9d861242436df8df6a494f0e8ae079ac66147fb8 | 556 | py | Python | pytglib/api/types/search_messages_filter_empty.py | iTeam-co/pytglib | e5e75e0a85f89b77762209b32a61b0a883c0ae61 | [
"MIT"
] | 6 | 2019-10-30T08:57:27.000Z | 2021-02-08T14:17:43.000Z | pytglib/api/types/search_messages_filter_empty.py | iTeam-co/python-telegram | e5e75e0a85f89b77762209b32a61b0a883c0ae61 | [
"MIT"
] | 1 | 2021-08-19T05:44:10.000Z | 2021-08-19T07:14:56.000Z | pytglib/api/types/search_messages_filter_empty.py | iTeam-co/python-telegram | e5e75e0a85f89b77762209b32a61b0a883c0ae61 | [
"MIT"
] | 5 | 2019-12-04T05:30:39.000Z | 2021-05-21T18:23:32.000Z |
from ..utils import Object
class SearchMessagesFilterEmpty(Object):
"""
Returns all found messages, no filter is applied
Attributes:
ID (:obj:`str`): ``SearchMessagesFilterEmpty``
No parameters required.
Returns:
SearchMessagesFilter
Raises:
:class:`telegram.Error... | 17.935484 | 60 | 0.624101 | 45 | 556 | 7.622222 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.278777 | 556 | 30 | 61 | 18.533333 | 0.855362 | 0.375899 | 0 | 0 | 0 | 0 | 0.166113 | 0.166113 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.125 | 0.125 | 0.125 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
9db6874b60899ef7660eb70e42963583bed9a036 | 140 | py | Python | Webapp/run.py | Agulaa/Brovie_test | 1a3de8d370cdfd73108ddbbe99a4130027f86e7f | [
"MIT"
] | null | null | null | Webapp/run.py | Agulaa/Brovie_test | 1a3de8d370cdfd73108ddbbe99a4130027f86e7f | [
"MIT"
] | null | null | null | Webapp/run.py | Agulaa/Brovie_test | 1a3de8d370cdfd73108ddbbe99a4130027f86e7f | [
"MIT"
] | null | null | null | from app import create_app
app = create_app()
@app.route('/')
def index():
return app
if __name__ == '__main__':
app.run()
| 10.769231 | 26 | 0.607143 | 19 | 140 | 3.947368 | 0.631579 | 0.24 | 0.32 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.242857 | 140 | 13 | 27 | 10.769231 | 0.707547 | 0 | 0 | 0 | 0 | 0 | 0.06383 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.142857 | 0.142857 | 0.428571 | 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 | 0 | 1 | 0 | 0 | 0 | 4 |
9dc63c3fee90a1ffb4a85c0545368eb4f474da72 | 301 | py | Python | produto/admin.py | jdochoas99/erp | f07c85cb27e3a04005ca1e1d0fd36f12c71c6594 | [
"MIT"
] | null | null | null | produto/admin.py | jdochoas99/erp | f07c85cb27e3a04005ca1e1d0fd36f12c71c6594 | [
"MIT"
] | null | null | null | produto/admin.py | jdochoas99/erp | f07c85cb27e3a04005ca1e1d0fd36f12c71c6594 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import *
# Register your models here.
admin.site.register(Produto)
admin.site.register(unidadeProduto)
admin.site.register(tipoItemProduto)
admin.site.register(ProdutoEstoque)
admin.site.register(categoriaProduto)
admin.site.register(subcategoriaProduto)
| 30.1 | 40 | 0.840532 | 36 | 301 | 7.027778 | 0.444444 | 0.213439 | 0.403162 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063123 | 301 | 9 | 41 | 33.444444 | 0.897163 | 0.086379 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 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.