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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d1ca951d92d71d48b24c4133ee09cce362d6e285 | 29 | py | Python | Preprocessing/Salimi/utils/_init__.py | maliha93/Fairness-Analysis-Code | acf13c6e7993704fc627249fe4ada44d8b616264 | [
"MIT"
] | null | null | null | Preprocessing/Salimi/utils/_init__.py | maliha93/Fairness-Analysis-Code | acf13c6e7993704fc627249fe4ada44d8b616264 | [
"MIT"
] | null | null | null | Preprocessing/Salimi/utils/_init__.py | maliha93/Fairness-Analysis-Code | acf13c6e7993704fc627249fe4ada44d8b616264 | [
"MIT"
] | null | null | null | ###
### FairDB utilities
### | 9.666667 | 21 | 0.517241 | 2 | 29 | 7.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 29 | 3 | 22 | 9.666667 | 0.625 | 0.551724 | 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 |
0605e71a4f173b8da899ba9923d95e046a78de7e | 161 | py | Python | huskar_api/models/instance/__init__.py | mowangdk/huskar | 7692fbc5672a5ae6e2a33616c493466a7137f8cd | [
"MIT"
] | 59 | 2019-10-31T10:50:10.000Z | 2021-11-26T04:32:25.000Z | huskar_api/models/instance/__init__.py | mowangdk/huskar | 7692fbc5672a5ae6e2a33616c493466a7137f8cd | [
"MIT"
] | 5 | 2019-10-31T10:37:30.000Z | 2020-03-02T06:45:46.000Z | huskar_api/models/instance/__init__.py | mowangdk/huskar | 7692fbc5672a5ae6e2a33616c493466a7137f8cd | [
"MIT"
] | 9 | 2019-10-31T10:35:00.000Z | 2019-12-01T14:13:58.000Z | from __future__ import absolute_import
from .management import InstanceManagement
from .schema import InfraInfo
__all__ = ['InstanceManagement', 'InfraInfo']
| 20.125 | 45 | 0.819876 | 16 | 161 | 7.6875 | 0.5625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118012 | 161 | 7 | 46 | 23 | 0.866197 | 0 | 0 | 0 | 0 | 0 | 0.167702 | 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 |
ae139124c51b18b78c99411ed3f0295de628e390 | 202 | py | Python | app/__init__.py | ryzencool/flask_arch | 432a426ea81dce1830881315d64b5f6691c94fdd | [
"Apache-2.0"
] | null | null | null | app/__init__.py | ryzencool/flask_arch | 432a426ea81dce1830881315d64b5f6691c94fdd | [
"Apache-2.0"
] | null | null | null | app/__init__.py | ryzencool/flask_arch | 432a426ea81dce1830881315d64b5f6691c94fdd | [
"Apache-2.0"
] | null | null | null | from flask import Flask
from app.api import user, trans
app_starter = Flask(__name__)
app_starter.register_blueprint(user, url_prefix="/user")
app_starter.register_blueprint(trans, url_prefix="/trans") | 33.666667 | 58 | 0.816832 | 30 | 202 | 5.133333 | 0.433333 | 0.194805 | 0.233766 | 0.350649 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079208 | 202 | 6 | 58 | 33.666667 | 0.827957 | 0 | 0 | 0 | 0 | 0 | 0.054187 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0.4 | 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 | 1 | 0 | 0 | 0 | 0 | 4 |
ae4f3b5a4991aacaee7e45172bdf388f514875d2 | 66 | py | Python | astr-119-session-4/python_use_module.py | jjohnst6260/astr-119 | 20df66f3da0cbb3c03d213659e15f70dcbd762f3 | [
"MIT"
] | null | null | null | astr-119-session-4/python_use_module.py | jjohnst6260/astr-119 | 20df66f3da0cbb3c03d213659e15f70dcbd762f3 | [
"MIT"
] | 11 | 2021-09-25T20:02:46.000Z | 2021-12-08T23:57:57.000Z | astr-119-session-4/python_use_module.py | jjohnst6260/astr-119 | 20df66f3da0cbb3c03d213659e15f70dcbd762f3 | [
"MIT"
] | null | null | null | # this uses the module
import test_module as tm
tm.hello_world() | 13.2 | 24 | 0.772727 | 12 | 66 | 4.083333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 66 | 5 | 25 | 13.2 | 0.890909 | 0.30303 | 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 |
ae6929b2bda6eb2fdac4d42647dd400d5b06e522 | 167 | py | Python | recipes/site_listers/seriouseats.py | cfeenstra67/recipes | a2d296500b4ff70e11ff3177a1092a033498f82a | [
"MIT"
] | null | null | null | recipes/site_listers/seriouseats.py | cfeenstra67/recipes | a2d296500b4ff70e11ff3177a1092a033498f82a | [
"MIT"
] | null | null | null | recipes/site_listers/seriouseats.py | cfeenstra67/recipes | a2d296500b4ff70e11ff3177a1092a033498f82a | [
"MIT"
] | null | null | null | from recipes.site_listers.base import SitemapLister
class SeriousEatsLister(SitemapLister):
""" """
start_url = "https://www.seriouseats.com/sitemap_1.xml"
| 20.875 | 59 | 0.742515 | 19 | 167 | 6.368421 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006897 | 0.131737 | 167 | 7 | 60 | 23.857143 | 0.827586 | 0 | 0 | 0 | 0 | 0 | 0.25625 | 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 |
ae9df9db050e8c4e7c56758396092f2e1eba77a5 | 409 | py | Python | hidden.py | KangaroosInAntarcitica/TwitterMap | 0415d393cfdf71cafe87ce92f035c9d672ffd37a | [
"MIT"
] | null | null | null | hidden.py | KangaroosInAntarcitica/TwitterMap | 0415d393cfdf71cafe87ce92f035c9d672ffd37a | [
"MIT"
] | null | null | null | hidden.py | KangaroosInAntarcitica/TwitterMap | 0415d393cfdf71cafe87ce92f035c9d672ffd37a | [
"MIT"
] | null | null | null | # Keep this file separate
# https://apps.twitter.com/
# Create new App and get the four strings
def oauth():
return {"consumer_key": "ejp9meWGxr5g1jH5qZozgvUwB",
"consumer_secret": "hG26vmlHHzt2xKStSS3GvyMuaDMHpujxP8lazlyUm3ZIMawdJK",
"token_key": "963300311128559616-0kcze5h91hpYfBjjm0lrmL... | 37.181818 | 84 | 0.738386 | 32 | 409 | 9.3125 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120588 | 0.168704 | 409 | 10 | 85 | 40.9 | 0.755882 | 0.217604 | 0 | 0 | 0 | 0 | 0.689873 | 0.537975 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0 | 0.2 | 0.4 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
886588dbbd6d8fe6b41793d4b23cbb69525a8037 | 276 | py | Python | test/vertex_cover_gen.py | s17k/VertexCover | 872f54dac248374293cc9aa68e6a9a061536876c | [
"Unlicense"
] | null | null | null | test/vertex_cover_gen.py | s17k/VertexCover | 872f54dac248374293cc9aa68e6a9a061536876c | [
"Unlicense"
] | null | null | null | test/vertex_cover_gen.py | s17k/VertexCover | 872f54dac248374293cc9aa68e6a9a061536876c | [
"Unlicense"
] | null | null | null | import random
n = random.randint(1,3)
m = random.randint(1, n*(n-1)//2)
print str(n) + ' ' + str(m)
for i in range(m):
a = b = 1
while a == b:
a = random.randint(1,n)
b = random.randint(1,n)
print str(a) + ' ' + str(b)
print random.randint(0,5)
| 18.4 | 33 | 0.532609 | 51 | 276 | 2.882353 | 0.372549 | 0.442177 | 0.380952 | 0.306122 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.049751 | 0.271739 | 276 | 14 | 34 | 19.714286 | 0.681592 | 0 | 0 | 0 | 0 | 0 | 0.007246 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.090909 | null | null | 0.272727 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
88abdca7832f0b1eba20cf7cf58581e17870d755 | 114 | py | Python | tcex/resources/__init__.py | brikardtc/tcex | 78680f055f4259e31f0b4989a5695604108d9fdd | [
"Apache-2.0"
] | null | null | null | tcex/resources/__init__.py | brikardtc/tcex | 78680f055f4259e31f0b4989a5695604108d9fdd | [
"Apache-2.0"
] | null | null | null | tcex/resources/__init__.py | brikardtc/tcex | 78680f055f4259e31f0b4989a5695604108d9fdd | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
"""Resources module for TcEx Framework"""
# flake8: noqa
from .resources import Resources
| 22.8 | 41 | 0.692982 | 14 | 114 | 5.642857 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020619 | 0.149123 | 114 | 4 | 42 | 28.5 | 0.793814 | 0.622807 | 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 |
88b4e34adeee18de8fca883a635d519c4bad1a17 | 111 | py | Python | analytics/object/language.py | dpatel257/Smart-City-Sample | 933c9220c37fbe4b67ec749a8e0315c803fcec66 | [
"BSD-3-Clause"
] | 126 | 2019-07-15T14:44:54.000Z | 2022-03-22T11:03:50.000Z | analytics/object/language.py | dpatel257/Smart-City-Sample | 933c9220c37fbe4b67ec749a8e0315c803fcec66 | [
"BSD-3-Clause"
] | 97 | 2019-07-16T18:28:29.000Z | 2022-03-16T07:27:57.000Z | analytics/object/language.py | dpatel257/Smart-City-Sample | 933c9220c37fbe4b67ec749a8e0315c803fcec66 | [
"BSD-3-Clause"
] | 74 | 2019-07-15T14:45:02.000Z | 2022-03-23T12:10:03.000Z | #!/usr/bin/python3
text={
"object-detection": "object-detection",
"svcq-counting": "svcq-counting",
}
| 15.857143 | 43 | 0.63964 | 12 | 111 | 5.916667 | 0.666667 | 0.422535 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010526 | 0.144144 | 111 | 6 | 44 | 18.5 | 0.736842 | 0.153153 | 0 | 0 | 0 | 0 | 0.623656 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ee10b75aaa7d8a22de9818ea8ab4e0f4b89e469a | 106 | py | Python | backend/project_requests/apps.py | mnieber/taskboard | 7925342751e2782bd0a0258eb2d43d9ec90ce9d8 | [
"MIT"
] | null | null | null | backend/project_requests/apps.py | mnieber/taskboard | 7925342751e2782bd0a0258eb2d43d9ec90ce9d8 | [
"MIT"
] | null | null | null | backend/project_requests/apps.py | mnieber/taskboard | 7925342751e2782bd0a0258eb2d43d9ec90ce9d8 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class ProjectRequestsConfig(AppConfig):
name = "project_requests"
| 17.666667 | 39 | 0.792453 | 11 | 106 | 7.545455 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141509 | 106 | 5 | 40 | 21.2 | 0.912088 | 0 | 0 | 0 | 0 | 0 | 0.150943 | 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 |
ee208f8f05caf12636851392aeecd794d4c286a4 | 123 | py | Python | foodProj/foodApp/admin.py | cs-fullstack-2019-spring/django-authentication-cw-ChelsGreg | dbbeddefa3198b1cddeebadc36f10210532f45f1 | [
"Apache-2.0"
] | null | null | null | foodProj/foodApp/admin.py | cs-fullstack-2019-spring/django-authentication-cw-ChelsGreg | dbbeddefa3198b1cddeebadc36f10210532f45f1 | [
"Apache-2.0"
] | null | null | null | foodProj/foodApp/admin.py | cs-fullstack-2019-spring/django-authentication-cw-ChelsGreg | dbbeddefa3198b1cddeebadc36f10210532f45f1 | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
from .models import FoodModel
# Register your models here.
admin.site.register(FoodModel) | 24.6 | 32 | 0.821138 | 17 | 123 | 5.941176 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113821 | 123 | 5 | 33 | 24.6 | 0.926606 | 0.211382 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
ee39914344cefa954ba48241f6e422f6f6da484c | 120 | py | Python | hackerrank/4. sets/4.py | Eurydia/Xian-assignment | 4a7e4bcd3d4999ea7429054fec1792064c96ff30 | [
"MIT"
] | null | null | null | hackerrank/4. sets/4.py | Eurydia/Xian-assignment | 4a7e4bcd3d4999ea7429054fec1792064c96ff30 | [
"MIT"
] | null | null | null | hackerrank/4. sets/4.py | Eurydia/Xian-assignment | 4a7e4bcd3d4999ea7429054fec1792064c96ff30 | [
"MIT"
] | null | null | null | n = int(input().rstrip())
s = set()
for _ in range(n):
country = input().rstrip()
s.add(country)
print(len(s))
| 15 | 30 | 0.575 | 19 | 120 | 3.578947 | 0.684211 | 0.323529 | 0.352941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 120 | 7 | 31 | 17.142857 | 0.708333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.166667 | 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 |
ee47a5663616611281a828951e798a56f35aac9f | 1,794 | py | Python | examples/nonogram/tests/cases.py | notechats/notegame | 3d9538b98cb6b0b240956b1271e028b22458fc54 | [
"Apache-2.0"
] | 17 | 2018-08-07T21:38:53.000Z | 2022-01-15T15:15:58.000Z | examples/nonogram/tests/cases.py | notechats/notegame | 3d9538b98cb6b0b240956b1271e028b22458fc54 | [
"Apache-2.0"
] | null | null | null | examples/nonogram/tests/cases.py | notechats/notegame | 3d9538b98cb6b0b240956b1271e028b22458fc54 | [
"Apache-2.0"
] | 5 | 2018-10-16T10:47:03.000Z | 2021-04-10T21:13:32.000Z | # -*- coding: utf-8 -*-
from __future__ import unicode_literals, print_function
from pynogram.core.common import (
BOX, SPACE,
)
# TODO: more solved rows
CASES = [
([], '???', [SPACE, SPACE, SPACE]),
([1, 1, 5], '---#-- - # ', [
SPACE, SPACE, SPACE, BOX, SPACE, SPACE, None, None,
... | 37.375 | 73 | 0.457637 | 220 | 1,794 | 3.7 | 0.131818 | 0.412776 | 0.427518 | 0.39312 | 0.708845 | 0.633907 | 0.627764 | 0.54914 | 0.474201 | 0.356265 | 0 | 0.028878 | 0.324415 | 1,794 | 47 | 74 | 38.170213 | 0.642739 | 0.024526 | 0 | 0.097561 | 0 | 0 | 0.111048 | 0.015455 | 0 | 0 | 0 | 0.021277 | 0 | 1 | 0 | false | 0 | 0.04878 | 0 | 0.04878 | 0.02439 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ee4f15f56506c6d6310a295283818aabae26e20c | 160 | py | Python | mul.py | JohnBernad/Final-project--calculator | 52ea367db66a4db21c56dbf19ef6a5f5b64c82f4 | [
"Unlicense"
] | null | null | null | mul.py | JohnBernad/Final-project--calculator | 52ea367db66a4db21c56dbf19ef6a5f5b64c82f4 | [
"Unlicense"
] | null | null | null | mul.py | JohnBernad/Final-project--calculator | 52ea367db66a4db21c56dbf19ef6a5f5b64c82f4 | [
"Unlicense"
] | 1 | 2021-12-22T08:05:05.000Z | 2021-12-22T08:05:05.000Z | def mul():
num1 = float(input("Enter first number : "))
num2 = float(input("Enter second number : "))
p=num1*num2
print("the product is",p)
| 26.666667 | 50 | 0.5875 | 22 | 160 | 4.272727 | 0.681818 | 0.212766 | 0.319149 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033333 | 0.25 | 160 | 5 | 51 | 32 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.35625 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.2 | 0.2 | 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 |
ee676d401cb6225ef65972c72a01658df41170f8 | 143 | py | Python | deui/html/view/body_element.py | urushiyama/DeUI | 14530d2dae7d96a3dee30759f85e02239fb433c5 | [
"MIT"
] | 1 | 2021-10-17T01:54:18.000Z | 2021-10-17T01:54:18.000Z | deui/html/view/body_element.py | urushiyama/DeUI | 14530d2dae7d96a3dee30759f85e02239fb433c5 | [
"MIT"
] | null | null | null | deui/html/view/body_element.py | urushiyama/DeUI | 14530d2dae7d96a3dee30759f85e02239fb433c5 | [
"MIT"
] | null | null | null | from .element import Element
class Body(Element):
"""
Represents content body.
"""
def __str__(self):
return "body"
| 13 | 28 | 0.594406 | 15 | 143 | 5.4 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.293706 | 143 | 10 | 29 | 14.3 | 0.80198 | 0.167832 | 0 | 0 | 0 | 0 | 0.038835 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
ee7af6a6079d543fbac3cb8cc4c829247c3a160a | 55 | py | Python | StatRethinking/_build/jupyter_execute/chapter13-ModelsWithMemory.py | xishansnow/StatRethinking | 41339934ecd12ec9d8df399afcee76b511d81020 | [
"MIT"
] | null | null | null | StatRethinking/_build/jupyter_execute/chapter13-ModelsWithMemory.py | xishansnow/StatRethinking | 41339934ecd12ec9d8df399afcee76b511d81020 | [
"MIT"
] | null | null | null | StatRethinking/_build/jupyter_execute/chapter13-ModelsWithMemory.py | xishansnow/StatRethinking | 41339934ecd12ec9d8df399afcee76b511d81020 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# coding: utf-8
# # 第 13 章 分层模型
| 11 | 21 | 0.6 | 11 | 55 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069767 | 0.218182 | 55 | 4 | 22 | 13.75 | 0.697674 | 0.854545 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ee8e723ac890839db5dae21fc3e12e45aceff55c | 117 | py | Python | Python/Books/Learning-Programming-with-Python.Tamim-Shahriar-Subeen/chapter-008/ph-8.11-uppercase-lowercase-capitalize.py | shihab4t/Books-Code | b637b6b2ad42e11faf87d29047311160fe3b2490 | [
"Unlicense"
] | null | null | null | Python/Books/Learning-Programming-with-Python.Tamim-Shahriar-Subeen/chapter-008/ph-8.11-uppercase-lowercase-capitalize.py | shihab4t/Books-Code | b637b6b2ad42e11faf87d29047311160fe3b2490 | [
"Unlicense"
] | null | null | null | Python/Books/Learning-Programming-with-Python.Tamim-Shahriar-Subeen/chapter-008/ph-8.11-uppercase-lowercase-capitalize.py | shihab4t/Books-Code | b637b6b2ad42e11faf87d29047311160fe3b2490 | [
"Unlicense"
] | null | null | null | s1 = "Bangladesh"
s_up = s1.upper()
print(s_up)
s_lo = s1.lower()
print(s_lo)
s_cap = s1.capitalize()
print(s_cap)
| 11.7 | 23 | 0.675214 | 23 | 117 | 3.173913 | 0.434783 | 0.246575 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 0.145299 | 117 | 9 | 24 | 13 | 0.69 | 0 | 0 | 0 | 0 | 0 | 0.08547 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.428571 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
c991c8537cfd9878903cca96f022caf1ab7d962e | 8,312 | py | Python | ee/clickhouse/queries/funnels/test/test_funnel_correlation_persons.py | csmatar/posthog | 4587cfe18625f302726c531f06a32c18e9749e9d | [
"MIT"
] | null | null | null | ee/clickhouse/queries/funnels/test/test_funnel_correlation_persons.py | csmatar/posthog | 4587cfe18625f302726c531f06a32c18e9749e9d | [
"MIT"
] | 15 | 2021-11-09T10:49:34.000Z | 2021-11-09T16:11:01.000Z | ee/clickhouse/queries/funnels/test/test_funnel_correlation_persons.py | csmatar/posthog | 4587cfe18625f302726c531f06a32c18e9749e9d | [
"MIT"
] | null | null | null | from uuid import uuid4
from ee.clickhouse.models.event import create_event
from ee.clickhouse.queries.funnels.funnel_correlation_persons import FunnelCorrelationPersons
from ee.clickhouse.util import ClickhouseTestMixin
from posthog.constants import INSIGHT_FUNNELS
from posthog.models import Cohort, Filter
from postho... | 39.393365 | 115 | 0.60154 | 916 | 8,312 | 5.197598 | 0.129913 | 0.043688 | 0.044108 | 0.055871 | 0.774837 | 0.762445 | 0.725688 | 0.718547 | 0.697963 | 0.697963 | 0 | 0.042893 | 0.276347 | 8,312 | 210 | 116 | 39.580952 | 0.748628 | 0.033566 | 0 | 0.442424 | 0 | 0 | 0.203815 | 0.064198 | 0 | 0 | 0 | 0 | 0.084848 | 1 | 0.024242 | false | 0 | 0.048485 | 0 | 0.090909 | 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 |
c9924bb93bbd3cc7abe35415f1f05b4501b61d43 | 253 | py | Python | run.py | AnthraxisBR/kibana-index-alert-tool | 42e609366e66485b2785626642df9eca2a64e41a | [
"MIT"
] | null | null | null | run.py | AnthraxisBR/kibana-index-alert-tool | 42e609366e66485b2785626642df9eca2a64e41a | [
"MIT"
] | null | null | null | run.py | AnthraxisBR/kibana-index-alert-tool | 42e609366e66485b2785626642df9eca2a64e41a | [
"MIT"
] | null | null | null | """
Start the application
"""
import os
import getpass
from kibana_index_alert_tool import main
from dotenv import load_dotenv
home = os.path.expanduser("~")
load_dotenv(f'/{home}/.kibana_index_alert_tool')
if __name__ == '__main__':
main()
| 15.8125 | 48 | 0.731225 | 35 | 253 | 4.828571 | 0.571429 | 0.130178 | 0.189349 | 0.236686 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150198 | 253 | 15 | 49 | 16.866667 | 0.786047 | 0.083004 | 0 | 0 | 0 | 0 | 0.186364 | 0.145455 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.125 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 4 |
c9d9206ff4038c6a32d29728d6ad2ced23995958 | 309 | py | Python | rulr/Nodes/Item/Camera.py | elliotwoods/Rulr-2.0 | 125503a8d58c4fcfbec9a32ca4a2cc7d9f3ec825 | [
"MIT"
] | 6 | 2019-02-15T17:17:00.000Z | 2020-08-26T17:02:44.000Z | rulr/Nodes/Item/Camera.py | elliotwoods/Rulr-2.0 | 125503a8d58c4fcfbec9a32ca4a2cc7d9f3ec825 | [
"MIT"
] | 1 | 2022-01-27T16:04:36.000Z | 2022-01-27T16:04:36.000Z | rulr/Nodes/Item/Camera.py | elliotwoods/Rulr-2.0 | 125503a8d58c4fcfbec9a32ca4a2cc7d9f3ec825 | [
"MIT"
] | null | null | null | import rulr.Nodes
import rulr.Components.RigidBody
import rulr.Components.View
class Node(rulr.Nodes.Base):
def __init__(self):
super().__init__()
self.components.rigidBody = rulr.Components.RigidBody.Component()
self.components.view = rulr.Components.View.Component(self.components.rigidBody) | 34.333333 | 82 | 0.779935 | 38 | 309 | 6.131579 | 0.368421 | 0.240343 | 0.171674 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10356 | 309 | 9 | 82 | 34.333333 | 0.841155 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.375 | 0 | 0.625 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
c9df304292e69945644053350ae7e466255f5cb0 | 93 | pyw | Python | web_shortcuts/bs4.pyw | aburakayaz/automating-the-boring-stuff | bd80c5a9b93f60e9008254c8b087bca0017ee199 | [
"MIT"
] | 1 | 2018-02-05T15:42:34.000Z | 2018-02-05T15:42:34.000Z | web_shortcuts/bs4.pyw | aburakayaz/automating-the-boring-stuff | bd80c5a9b93f60e9008254c8b087bca0017ee199 | [
"MIT"
] | null | null | null | web_shortcuts/bs4.pyw | aburakayaz/automating-the-boring-stuff | bd80c5a9b93f60e9008254c8b087bca0017ee199 | [
"MIT"
] | null | null | null | import webbrowser
webbrowser.open('https://www.crummy.com/software/BeautifulSoup/bs4/doc/')
| 23.25 | 73 | 0.795699 | 12 | 93 | 6.166667 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011236 | 0.043011 | 93 | 3 | 74 | 31 | 0.820225 | 0 | 0 | 0 | 0 | 0 | 0.580645 | 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 |
c9efb60945ddbcc678983c616344a6a30910c3cb | 119 | py | Python | checkov/arm/registry.py | pmalkki/checkov | b6cdf386dd976fe27c16fed6d550756a678a5d7b | [
"Apache-2.0"
] | 4,013 | 2019-12-09T13:16:54.000Z | 2022-03-31T14:31:01.000Z | checkov/arm/registry.py | pmalkki/checkov | b6cdf386dd976fe27c16fed6d550756a678a5d7b | [
"Apache-2.0"
] | 1,258 | 2019-12-17T09:55:51.000Z | 2022-03-31T19:17:17.000Z | checkov/arm/registry.py | pmalkki/checkov | b6cdf386dd976fe27c16fed6d550756a678a5d7b | [
"Apache-2.0"
] | 638 | 2019-12-19T08:57:38.000Z | 2022-03-30T21:38:37.000Z | from checkov.arm.base_registry import Registry
arm_resource_registry = Registry()
arm_parameter_registry = Registry()
| 23.8 | 46 | 0.840336 | 15 | 119 | 6.333333 | 0.533333 | 0.231579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092437 | 119 | 4 | 47 | 29.75 | 0.87963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
a000453aaa4a4cc0b721b1957e1b85c12fa4c15c | 116 | py | Python | src/briefcase/platforms/macOS/__init__.py | probonopd/briefcase | 6483f2af3b6305943910760a376a768422d8f083 | [
"BSD-3-Clause"
] | null | null | null | src/briefcase/platforms/macOS/__init__.py | probonopd/briefcase | 6483f2af3b6305943910760a376a768422d8f083 | [
"BSD-3-Clause"
] | null | null | null | src/briefcase/platforms/macOS/__init__.py | probonopd/briefcase | 6483f2af3b6305943910760a376a768422d8f083 | [
"BSD-3-Clause"
] | null | null | null |
DEFAULT_OUTPUT_FORMAT = 'dmg'
class macOSMixin:
platform = 'macOS'
def verify_tools(self):
pass
| 11.6 | 29 | 0.646552 | 13 | 116 | 5.538462 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.267241 | 116 | 9 | 30 | 12.888889 | 0.847059 | 0 | 0 | 0 | 0 | 0 | 0.069565 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.2 | 0 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
a01503e0475ab403d56d68ab912c2045b9f71cf3 | 593 | py | Python | month01/all_code/day07/exercise06.py | chaofan-zheng/tedu-python-demo | abe983ddc52690f4726cf42cc6390cba815026d8 | [
"Apache-2.0"
] | 4 | 2021-01-07T14:25:15.000Z | 2021-02-01T10:36:10.000Z | month01/all_code/day07/exercise06.py | chaofan-zheng/tedu-python-demo | abe983ddc52690f4726cf42cc6390cba815026d8 | [
"Apache-2.0"
] | null | null | null | month01/all_code/day07/exercise06.py | chaofan-zheng/tedu-python-demo | abe983ddc52690f4726cf42cc6390cba815026d8 | [
"Apache-2.0"
] | null | null | null | """
练习1:请排列出两个色子可以组成的所有可能(列表)
练习2:请排列出三个色子可以组成的所有可能(列表)
色子1~6 range(1,7)
色子1~6 range(1,7)
"""
# list_result = []
# for x in range(1,7):
# for y in range(1,7):
# list_result.append((x,y))
# list_result = [(x, y) for x in range(1, 7) for y in range(1, 7)]
# list_result = []
# for x in range... | 28.238095 | 88 | 0.524452 | 114 | 593 | 2.666667 | 0.184211 | 0.236842 | 0.276316 | 0.296053 | 0.694079 | 0.549342 | 0.421053 | 0.421053 | 0.421053 | 0.421053 | 0 | 0.097852 | 0.293423 | 593 | 20 | 89 | 29.65 | 0.627685 | 0.735245 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
a015f0b6734ae158455a50240f0f8a0ef0d25c28 | 304 | py | Python | src/wai/annotations/core/stream/__init__.py | waikato-ufdl/wai-annotations-core | bac3429e9488efb456972c74f9d462f951c4af3d | [
"Apache-2.0"
] | null | null | null | src/wai/annotations/core/stream/__init__.py | waikato-ufdl/wai-annotations-core | bac3429e9488efb456972c74f9d462f951c4af3d | [
"Apache-2.0"
] | 3 | 2021-06-30T23:42:47.000Z | 2022-03-01T03:45:07.000Z | src/wai/annotations/core/stream/__init__.py | waikato-ufdl/wai-annotations-core | bac3429e9488efb456972c74f9d462f951c4af3d | [
"Apache-2.0"
] | null | null | null | """
Package for base stream-processing classes.
"""
from ._Pipeline import Pipeline
from ._StreamProcessor import StreamProcessor, InputElementType, OutputElementType
from ._StreamSink import StreamSink
from ._StreamSource import StreamSource
from ._typing import ThenFunction, DoneFunction, ElementType
| 33.777778 | 82 | 0.842105 | 30 | 304 | 8.366667 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101974 | 304 | 8 | 83 | 38 | 0.919414 | 0.141447 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
a0208691140c711321c7acc80d02e8308932d7f0 | 214 | py | Python | tests/context.py | rreben/zettelkasten_tools | 1be7a6f2a259cf235defb545819c6e13e158884a | [
"MIT"
] | 1 | 2022-03-21T20:41:33.000Z | 2022-03-21T20:41:33.000Z | tests/context.py | rreben/zettelkasten_tools | 1be7a6f2a259cf235defb545819c6e13e158884a | [
"MIT"
] | 3 | 2021-11-22T20:09:30.000Z | 2022-01-04T22:18:06.000Z | tests/context.py | rreben/tools4zettelkasten | eea0c3c3e869345cd6fd6c9773c90434c60bddd8 | [
"MIT"
] | null | null | null | # context.py
import sys
import os
sys.path.insert(0, os.path.abspath(
os.path.join(os.path.dirname(__file__), '..')))
import tools4zettelkasten # noqa # pylint: disable=unused-import, wrong-import-position
| 21.4 | 88 | 0.728972 | 30 | 214 | 5.066667 | 0.633333 | 0.118421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010638 | 0.121495 | 214 | 9 | 89 | 23.777778 | 0.797872 | 0.32243 | 0 | 0 | 0 | 0 | 0.014184 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
4e625cf5184b98a583da8868bc3849d2fb3712e0 | 89 | py | Python | python/20190311/my_djangos/django_share_app/shares/admin.py | Realize0917/career | b5d02ac53cfc3ce3a2ca38d11480c51560283e67 | [
"MIT"
] | 3 | 2019-01-17T05:50:51.000Z | 2019-03-15T10:10:07.000Z | python/20190311/my_djangos/django_share_app/shares/admin.py | Realize0917/career | b5d02ac53cfc3ce3a2ca38d11480c51560283e67 | [
"MIT"
] | 10 | 2019-01-17T06:07:03.000Z | 2019-02-19T05:55:25.000Z | python/20190311/my_djangos/django_share_app/shares/admin.py | Realize0917/career | b5d02ac53cfc3ce3a2ca38d11480c51560283e67 | [
"MIT"
] | 4 | 2018-12-22T07:32:55.000Z | 2019-03-06T09:13:48.000Z | from django.contrib import admin
from .models import Upload
admin.site.register(Upload)
| 17.8 | 32 | 0.820225 | 13 | 89 | 5.615385 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11236 | 89 | 4 | 33 | 22.25 | 0.924051 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
4e62f4c5bc2ee4522598818dc7b6a11dc977c8e7 | 140 | py | Python | profile_generator/model/color/constants.py | nethy/profile-generator | 9bc54bed36b84b45902d75a273739480b4ff2204 | [
"MIT"
] | null | null | null | profile_generator/model/color/constants.py | nethy/profile-generator | 9bc54bed36b84b45902d75a273739480b4ff2204 | [
"MIT"
] | null | null | null | profile_generator/model/color/constants.py | nethy/profile-generator | 9bc54bed36b84b45902d75a273739480b4ff2204 | [
"MIT"
] | null | null | null | from profile_generator.model.color.space import SRGB
from . import lab
MIDDLE_GREY_LUMINANCE_SRGB = SRGB.gamma(lab.to_xyz([50, 0, 0])[1])
| 23.333333 | 66 | 0.771429 | 24 | 140 | 4.291667 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 0.107143 | 140 | 5 | 67 | 28 | 0.784 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
4e652269d1d083bc8dbd3839b244c531fde7a36e | 873,848 | py | Python | Logos_rc.py | digvijayad/Sentiment-Analysis | 813b4128570a32a70991249686006d392f952e1f | [
"MIT"
] | null | null | null | Logos_rc.py | digvijayad/Sentiment-Analysis | 813b4128570a32a70991249686006d392f952e1f | [
"MIT"
] | null | null | null | Logos_rc.py | digvijayad/Sentiment-Analysis | 813b4128570a32a70991249686006d392f952e1f | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Resource object code
#
# Created by: The Resource Compiler for PyQt4 (Qt v4.8.7)
#
# WARNING! All changes made in this file will be lost!
from PyQt4 import QtCore
qt_resource_data = b"\
\x00\x00\x91\xc2\
\x89\
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\
\x00\x01\x78\x0... | 65.841471 | 97 | 0.727267 | 211,779 | 873,848 | 3.000784 | 0.001388 | 0.000699 | 0.000482 | 0.000264 | 0.002908 | 0.001327 | 0.00126 | 0.001128 | 0.000854 | 0.000741 | 0 | 0.305765 | 0.015245 | 873,848 | 13,271 | 98 | 65.846432 | 0.43274 | 0.000173 | 0 | 0.000453 | 0 | 0.997888 | 0 | 0 | 0 | 1 | 0.000009 | 0 | 0 | 1 | 0.000151 | false | 0 | 0.000075 | 0 | 0.000226 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4e65db66b205361ca707f622f524f9389ae1a364 | 9,832 | py | Python | makahiki/apps/managers/score_mgr/tests.py | justinslee/Wai-Not-Makahiki | 4b7dd685012ec64758affe0ecee3103596d16aa7 | [
"MIT"
] | 1 | 2015-07-22T11:31:20.000Z | 2015-07-22T11:31:20.000Z | makahiki/apps/managers/score_mgr/tests.py | justinslee/Wai-Not-Makahiki | 4b7dd685012ec64758affe0ecee3103596d16aa7 | [
"MIT"
] | null | null | null | makahiki/apps/managers/score_mgr/tests.py | justinslee/Wai-Not-Makahiki | 4b7dd685012ec64758affe0ecee3103596d16aa7 | [
"MIT"
] | null | null | null | """
test score_mgr
"""
import datetime
from django.test import TransactionTestCase
from django.contrib.auth.models import User
from apps.managers.score_mgr import score_mgr
from apps.managers.team_mgr.models import Group, Team
from apps.managers.score_mgr.models import ScoreboardEntry, PointsTransaction
from apps.util... | 39.485944 | 94 | 0.571603 | 1,038 | 9,832 | 5.241811 | 0.124277 | 0.063959 | 0.070575 | 0.062856 | 0.747657 | 0.723029 | 0.718434 | 0.682044 | 0.682044 | 0.682044 | 0 | 0.013356 | 0.337469 | 9,832 | 248 | 95 | 39.645161 | 0.821922 | 0.079129 | 0 | 0.722826 | 0 | 0 | 0.084918 | 0 | 0 | 0 | 0 | 0 | 0.076087 | 1 | 0.043478 | false | 0.032609 | 0.038043 | 0 | 0.092391 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4e661aac192384afd5aadbb3c9eee0851cddd740 | 232 | py | Python | python/py-meld3/files/patch-setup.py | svalgaard/macports-ports | b6fce80c90963dac7f3412e9faab3608c29b1dbd | [
"BSD-3-Clause"
] | 1 | 2019-02-19T22:12:08.000Z | 2019-02-19T22:12:08.000Z | python/py-meld3/files/patch-setup.py | DalavanCloud/macports-ports | 959c13980d4750f9abca914ebcdb0e2b9f860b49 | [
"BSD-3-Clause"
] | null | null | null | python/py-meld3/files/patch-setup.py | DalavanCloud/macports-ports | 959c13980d4750f9abca914ebcdb0e2b9f860b49 | [
"BSD-3-Clause"
] | null | null | null | --- setup.py.orig 2007-10-16 16:08:20.000000000 -0700
+++ setup.py 2007-10-16 16:09:22.000000000 -0700
@@ -1,3 +1,5 @@
+from ez_setup import use_setuptools
+use_setuptools()
from distutils.core import setup, Extension
import os
| 25.777778 | 53 | 0.719828 | 41 | 232 | 4 | 0.585366 | 0.085366 | 0.097561 | 0.121951 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.287129 | 0.12931 | 232 | 8 | 54 | 29 | 0.524752 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.428571 | null | null | 0 | 0 | 0 | 0 | null | 0 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
4e826eb22c4c5af55ce5855bcffaa79809eb049d | 405 | py | Python | libs/__init__.py | ardzix/instalment-app | 6a86d62497f51865a784d3e7e8e18175b8303480 | [
"MIT"
] | 1 | 2018-03-10T17:55:05.000Z | 2018-03-10T17:55:05.000Z | libs/__init__.py | ardzix/instalment-app | 6a86d62497f51865a784d3e7e8e18175b8303480 | [
"MIT"
] | null | null | null | libs/__init__.py | ardzix/instalment-app | 6a86d62497f51865a784d3e7e8e18175b8303480 | [
"MIT"
] | null | null | null | # ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
#
# Author: Arif Dzikrullah
# ardzix@hotmail.com
#
# File Created: Wednesday, 10th January 2018 11:35:14 pm
# Last Modified: Wednesday, 10th January 2018 11:37:28 pm
# Modified By: Arif Dzikrullah (ardzix@hotmail.com)
#
# Give the best to the world
#... | 31.153846 | 58 | 0.501235 | 43 | 405 | 4.72093 | 0.674419 | 0.137931 | 0.197044 | 0.26601 | 0.551724 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081159 | 0.148148 | 405 | 12 | 59 | 33.75 | 0.507246 | 0.938272 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 4 |
4e95cdf154ce64ce2af8dbb6bd7e1028cc0bb68d | 318 | py | Python | primes/misc/events.py | pyrustic/primes | 7b7bcd421deb20fa16f8486183a15751af620ec0 | [
"MIT"
] | null | null | null | primes/misc/events.py | pyrustic/primes | 7b7bcd421deb20fa16f8486183a15751af620ec0 | [
"MIT"
] | null | null | null | primes/misc/events.py | pyrustic/primes | 7b7bcd421deb20fa16f8486183a15751af620ec0 | [
"MIT"
] | null | null | null | class Events:
user_submit_number = "user submit number"
user_click_stop = "user click stop"
user_click_clear = "user click clear"
user_click_exit = "user click exit"
host_send_prime = "host send prime"
core_end_computation = "core end computation"
gui_end_displaying = "gui end displaying"
| 35.333333 | 49 | 0.726415 | 44 | 318 | 4.931818 | 0.386364 | 0.248848 | 0.147465 | 0.184332 | 0.290323 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.204403 | 318 | 8 | 50 | 39.75 | 0.857708 | 0 | 0 | 0 | 0 | 0 | 0.367925 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
4e963f2828ac2989b2d58d31bfc59ebe234d7922 | 32 | py | Python | homeassistant/components/loopenergy/__init__.py | domwillcode/home-assistant | f170c80bea70c939c098b5c88320a1c789858958 | [
"Apache-2.0"
] | 23 | 2017-11-15T21:03:53.000Z | 2021-03-29T21:33:48.000Z | homeassistant/components/loopenergy/__init__.py | jagadeeshvenkatesh/core | 1bd982668449815fee2105478569f8e4b5670add | [
"Apache-2.0"
] | 87 | 2020-07-15T13:43:35.000Z | 2022-03-23T07:43:10.000Z | homeassistant/components/loopenergy/__init__.py | jagadeeshvenkatesh/core | 1bd982668449815fee2105478569f8e4b5670add | [
"Apache-2.0"
] | 14 | 2018-08-19T16:28:26.000Z | 2021-09-02T18:26:53.000Z | """The loopenergy component."""
| 16 | 31 | 0.6875 | 3 | 32 | 7.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 32 | 1 | 32 | 32 | 0.758621 | 0.78125 | 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 |
4ea75e1045b4ff5f296b43c5540bb25ec03d1987 | 9,159 | py | Python | pyaz/sql/mi/__init__.py | py-az-cli/py-az-cli | 9a7dc44e360c096a5a2f15595353e9dad88a9792 | [
"MIT"
] | null | null | null | pyaz/sql/mi/__init__.py | py-az-cli/py-az-cli | 9a7dc44e360c096a5a2f15595353e9dad88a9792 | [
"MIT"
] | null | null | null | pyaz/sql/mi/__init__.py | py-az-cli/py-az-cli | 9a7dc44e360c096a5a2f15595353e9dad88a9792 | [
"MIT"
] | 1 | 2022-02-03T09:12:01.000Z | 2022-02-03T09:12:01.000Z | '''
Manage SQL managed instances.
'''
from ... pyaz_utils import _call_az
from . import ad_admin, ad_only_auth, key, op, tde_key
def create(name, resource_group, subnet, admin_password=None, admin_user=None, assign_identity=None, backup_storage_redundancy=None, capacity=None, collation=None, enable_ad_only_auth=None,... | 65.421429 | 627 | 0.746479 | 1,290 | 9,159 | 5.172093 | 0.175194 | 0.065198 | 0.03777 | 0.026379 | 0.705486 | 0.688849 | 0.664568 | 0.658873 | 0.658873 | 0.646283 | 0 | 0.001329 | 0.178295 | 9,159 | 139 | 628 | 65.892086 | 0.885198 | 0.76231 | 0 | 0 | 0 | 0 | 0.05347 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0.142857 | 0.142857 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
4eaa2009d401f74d3b146e41f49fee4f753c1aad | 1,311 | py | Python | encommon/__init__.py | enasisnetwork/encommon-py | c2bb1412171c84fe2917a23b535a6db1b5f523c1 | [
"MIT"
] | null | null | null | encommon/__init__.py | enasisnetwork/encommon-py | c2bb1412171c84fe2917a23b535a6db1b5f523c1 | [
"MIT"
] | null | null | null | encommon/__init__.py | enasisnetwork/encommon-py | c2bb1412171c84fe2917a23b535a6db1b5f523c1 | [
"MIT"
] | null | null | null | #==============================================================================#
# Enasis Network Common Libraries #
# Python Packaging Module Initialization #
#============================================================================... | 59.590909 | 80 | 0.179252 | 34 | 1,311 | 6.794118 | 0.705882 | 0.147186 | 0.233766 | 0.30303 | 0.415584 | 0.415584 | 0 | 0 | 0 | 0 | 0 | 0 | 0.250953 | 1,311 | 21 | 81 | 62.428571 | 0.235234 | 0.948894 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4eb6c147ecdcc7380fea1012cbb1b1ad7b1cda81 | 158 | py | Python | pywps/application.py | kvold/pywps | dfa8ccf3553f29455020e10d57af03337500d61f | [
"MIT"
] | 1 | 2018-03-13T09:23:31.000Z | 2018-03-13T09:23:31.000Z | pywps/application.py | kvold/pywps | dfa8ccf3553f29455020e10d57af03337500d61f | [
"MIT"
] | 1 | 2021-04-27T08:05:43.000Z | 2021-04-27T08:05:43.000Z | pywps/application.py | kvold/pywps | dfa8ccf3553f29455020e10d57af03337500d61f | [
"MIT"
] | null | null | null | from pywps.app.Service import Service
def make_app(processes=None, cfgfiles=None):
app = Service(processes=processes, cfgfiles=cfgfiles)
return app
| 22.571429 | 57 | 0.765823 | 21 | 158 | 5.714286 | 0.52381 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14557 | 158 | 6 | 58 | 26.333333 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
4eca455a899d6c7ec353b53d955c12f977f8da75 | 29 | py | Python | lec3.py | dbutler20/ISAT252Lab1Butler | 82a01d01f76c86a423c18f6a9b7fbfb1237d6f09 | [
"MIT"
] | null | null | null | lec3.py | dbutler20/ISAT252Lab1Butler | 82a01d01f76c86a423c18f6a9b7fbfb1237d6f09 | [
"MIT"
] | null | null | null | lec3.py | dbutler20/ISAT252Lab1Butler | 82a01d01f76c86a423c18f6a9b7fbfb1237d6f09 | [
"MIT"
] | null | null | null | """
Lecture 3 notes 5/20
"""
| 7.25 | 20 | 0.551724 | 5 | 29 | 3.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 0.206897 | 29 | 3 | 21 | 9.666667 | 0.521739 | 0.689655 | 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 |
4ecb5c8fc2d7eb0227e46370be9c7bf1a34deb33 | 109 | py | Python | models/endstation.py | stuartcampbell/osiris-api | 18918ce2913b23593c71fcac2e631f337336ec35 | [
"BSD-3-Clause"
] | null | null | null | models/endstation.py | stuartcampbell/osiris-api | 18918ce2913b23593c71fcac2e631f337336ec35 | [
"BSD-3-Clause"
] | null | null | null | models/endstation.py | stuartcampbell/osiris-api | 18918ce2913b23593c71fcac2e631f337336ec35 | [
"BSD-3-Clause"
] | 1 | 2021-02-11T11:33:05.000Z | 2021-02-11T11:33:05.000Z | from typing import Optional
from pydantic.main import BaseModel
from models.instrument import Instrument
| 13.625 | 40 | 0.834862 | 14 | 109 | 6.5 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146789 | 109 | 7 | 41 | 15.571429 | 0.978495 | 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 |
4ecb96e2f0fbf4b87a1535c957810ee5d5c41b92 | 171 | py | Python | web/app/djrq/model/ampache/listeners.py | bmillham/djrq2 | c84283b75a7c15da1902ebfc32b7d75159c09e20 | [
"MIT"
] | 1 | 2016-11-23T20:50:00.000Z | 2016-11-23T20:50:00.000Z | web/app/djrq/model/ampache/listeners.py | bmillham/djrq2 | c84283b75a7c15da1902ebfc32b7d75159c09e20 | [
"MIT"
] | 15 | 2017-01-15T04:18:40.000Z | 2017-02-25T04:13:06.000Z | web/app/djrq/model/prokyon/listeners.py | bmillham/djrq2 | c84283b75a7c15da1902ebfc32b7d75159c09e20 | [
"MIT"
] | null | null | null | from . import *
class Listeners(Base):
__tablename__ = "listeners"
id = Column(Integer, primary_key=True)
current = Column(Integer)
max = Column(Integer)
| 21.375 | 42 | 0.678363 | 19 | 171 | 5.842105 | 0.736842 | 0.351351 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 171 | 7 | 43 | 24.428571 | 0.822222 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 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 |
4ed1274afa285b3a7cd00da2a3ea00fb37a9549a | 219 | py | Python | app/general/utils/json/json.py | rafiq10/rrhh_tdd_backend | fecbe4f3dd249b31f71e4b63904c565e207e45f9 | [
"bzip2-1.0.6"
] | null | null | null | app/general/utils/json/json.py | rafiq10/rrhh_tdd_backend | fecbe4f3dd249b31f71e4b63904c565e207e45f9 | [
"bzip2-1.0.6"
] | 2 | 2021-03-25T22:50:12.000Z | 2021-04-30T20:53:22.000Z | app/general/utils/json/json.py | rafiq10/rrhh_tdd_backend | fecbe4f3dd249b31f71e4b63904c565e207e45f9 | [
"bzip2-1.0.6"
] | null | null | null | import json
from collections import namedtuple
def _json_object_hook(d):
return namedtuple('X', d.keys())(*d.values())
def json2obj(data):
a = json.dumps(data)
return json.loads(a, object_hook=_json_object_hook) | 24.333333 | 53 | 0.748858 | 34 | 219 | 4.617647 | 0.529412 | 0.191083 | 0.178344 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005181 | 0.118721 | 219 | 9 | 53 | 24.333333 | 0.80829 | 0 | 0 | 0 | 0 | 0 | 0.004545 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.285714 | 0.142857 | 0.857143 | 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 |
14e0530e252a08bbc6a0ac94345494ab4c972e7f | 138 | py | Python | area51/apps.py | tailorv/neighbourshood | f9470ba1f9bb8c995d0b8ae93e90316285226026 | [
"Unlicense"
] | null | null | null | area51/apps.py | tailorv/neighbourshood | f9470ba1f9bb8c995d0b8ae93e90316285226026 | [
"Unlicense"
] | null | null | null | area51/apps.py | tailorv/neighbourshood | f9470ba1f9bb8c995d0b8ae93e90316285226026 | [
"Unlicense"
] | null | null | null | from django.apps import AppConfig
class HoodappConfig(AppConfig):
name = 'area51'
def ready(self):
import area51.signals | 19.714286 | 33 | 0.702899 | 16 | 138 | 6.0625 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 0.217391 | 138 | 7 | 34 | 19.714286 | 0.861111 | 0 | 0 | 0 | 0 | 0 | 0.043165 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 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 |
14e9e38fa632da21b7ebd97f8daf8bdc621221ab | 152 | py | Python | investing_algorithm_framework/app/stateless/action_handlers/action_handler_strategy.py | investing-algorithms/investing-algorithm-framework | d579e142a3857e2e2dfb59b7d6e54202f7df5466 | [
"Apache-2.0"
] | 1 | 2019-12-23T21:23:45.000Z | 2019-12-23T21:23:45.000Z | investing_algorithm_framework/app/stateless/action_handlers/action_handler_strategy.py | investing-algorithms/investing-algorithm-framework | d579e142a3857e2e2dfb59b7d6e54202f7df5466 | [
"Apache-2.0"
] | null | null | null | investing_algorithm_framework/app/stateless/action_handlers/action_handler_strategy.py | investing-algorithms/investing-algorithm-framework | d579e142a3857e2e2dfb59b7d6e54202f7df5466 | [
"Apache-2.0"
] | 1 | 2019-12-23T21:23:50.000Z | 2019-12-23T21:23:50.000Z | from abc import ABC, abstractmethod
class ActionHandlerStrategy(ABC):
@abstractmethod
def handle_event(self, payload, context):
pass
| 16.888889 | 45 | 0.723684 | 16 | 152 | 6.8125 | 0.8125 | 0.311927 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 152 | 8 | 46 | 19 | 0.908333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.2 | 0.2 | 0 | 0.6 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
09079d60c27bd48044b9f6376f0cddbabc100201 | 104 | py | Python | output/models/ms_data/regex/regex_test_535_xsd/__init__.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | 1 | 2021-08-14T17:59:21.000Z | 2021-08-14T17:59:21.000Z | output/models/ms_data/regex/regex_test_535_xsd/__init__.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | 4 | 2020-02-12T21:30:44.000Z | 2020-04-15T20:06:46.000Z | output/models/ms_data/regex/regex_test_535_xsd/__init__.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | null | null | null | from output.models.ms_data.regex.regex_test_535_xsd.regex_test_535 import Doc
__all__ = [
"Doc",
]
| 17.333333 | 77 | 0.759615 | 17 | 104 | 4.058824 | 0.705882 | 0.26087 | 0.347826 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 0.134615 | 104 | 5 | 78 | 20.8 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0.028846 | 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 |
0931cc3ef1955d1a4db70446bf206fec667dd131 | 858 | py | Python | lib/meshrenderer/gl_utils/__init__.py | THU-DA-6D-Pose-Group/self6dpp | c267cfa55e440e212136a5e9940598720fa21d16 | [
"Apache-2.0"
] | 33 | 2021-12-15T07:11:47.000Z | 2022-03-29T08:58:32.000Z | lib/meshrenderer/gl_utils/__init__.py | THU-DA-6D-Pose-Group/self6dpp | c267cfa55e440e212136a5e9940598720fa21d16 | [
"Apache-2.0"
] | 3 | 2021-12-15T11:39:54.000Z | 2022-03-29T07:24:23.000Z | lib/meshrenderer/gl_utils/__init__.py | THU-DA-6D-Pose-Group/self6dpp | c267cfa55e440e212136a5e9940598720fa21d16 | [
"Apache-2.0"
] | null | null | null | # from .offscreen_context import OffscreenContext
import os
if os.environ.get("PYOPENGL_PLATFORM", None) == "egl":
from .egl_offscreen_context import OffscreenContext
else:
from .glfw_offscreen_context import OffscreenContext
from .fbo import Framebuffer
from .renderbuffer import Renderbuffer, RenderbufferMult... | 26 | 63 | 0.791375 | 105 | 858 | 6.390476 | 0.419048 | 0.074516 | 0.098361 | 0.169896 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004144 | 0.156177 | 858 | 32 | 64 | 26.8125 | 0.922652 | 0.086247 | 0 | 0 | 0 | 0 | 0.025608 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.714286 | 0 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
09448791804d72239bfbd753c96021dd0da1ceef | 188 | py | Python | readable/__init__.py | amalchuk/readable | ce5397039516299a105ed975d79d9e62d0fe747f | [
"MIT"
] | null | null | null | readable/__init__.py | amalchuk/readable | ce5397039516299a105ed975d79d9e62d0fe747f | [
"MIT"
] | null | null | null | readable/__init__.py | amalchuk/readable | ce5397039516299a105ed975d79d9e62d0fe747f | [
"MIT"
] | null | null | null | # Copyright 2020-2021 Andrew Malchuk. All rights reserved.
# This project is licensed under the terms of the MIT License.
"""
Check and improve the spelling and grammar of documents.
"""
| 26.857143 | 62 | 0.760638 | 28 | 188 | 5.107143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051282 | 0.170213 | 188 | 6 | 63 | 31.333333 | 0.865385 | 0.930851 | 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 |
0945853af25663982a152a0ea591fa84ce124c69 | 153 | py | Python | ccal/is_str_version.py | alex-wenzel/ccal | 74dfc604d93e6ce9e12f34a828b601618df51faa | [
"MIT"
] | null | null | null | ccal/is_str_version.py | alex-wenzel/ccal | 74dfc604d93e6ce9e12f34a828b601618df51faa | [
"MIT"
] | null | null | null | ccal/is_str_version.py | alex-wenzel/ccal | 74dfc604d93e6ce9e12f34a828b601618df51faa | [
"MIT"
] | null | null | null | def is_str_version(str_):
str_split = str_.split(sep=".")
return "." in str_ and len(str_split) == 3 and all(i.isnumeric() for i in str_split)
| 25.5 | 88 | 0.660131 | 27 | 153 | 3.444444 | 0.555556 | 0.344086 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008065 | 0.189542 | 153 | 5 | 89 | 30.6 | 0.741935 | 0 | 0 | 0 | 0 | 0 | 0.013072 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0957d155d089d0a7f8c0be61af4db67472fbb283 | 129 | py | Python | django_timeseries_tables/__init__.py | androbwebb/django-timeseries-tables | 84c0322920d0f4ce337d79ff87ef454a79175a50 | [
"BSD-2-Clause"
] | null | null | null | django_timeseries_tables/__init__.py | androbwebb/django-timeseries-tables | 84c0322920d0f4ce337d79ff87ef454a79175a50 | [
"BSD-2-Clause"
] | null | null | null | django_timeseries_tables/__init__.py | androbwebb/django-timeseries-tables | 84c0322920d0f4ce337d79ff87ef454a79175a50 | [
"BSD-2-Clause"
] | null | null | null | from .fields import NormalField, ForeignKey # noqa:F401
from .models import TimeSeriesModel # noqa:F401
__version__ = '0.1.3'
| 25.8 | 56 | 0.75969 | 17 | 129 | 5.529412 | 0.764706 | 0.170213 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081818 | 0.147287 | 129 | 4 | 57 | 32.25 | 0.772727 | 0.147287 | 0 | 0 | 0 | 0 | 0.046729 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
117fbb2d8144673e946f68c34a504b4524a26a01 | 63 | py | Python | main.py | Sajadrahimi/quarto-monte-carlo | 591e7cc0ceb15e8f4a9b5ee40a2d41296af7bfa9 | [
"MIT"
] | null | null | null | main.py | Sajadrahimi/quarto-monte-carlo | 591e7cc0ceb15e8f4a9b5ee40a2d41296af7bfa9 | [
"MIT"
] | null | null | null | main.py | Sajadrahimi/quarto-monte-carlo | 591e7cc0ceb15e8f4a9b5ee40a2d41296af7bfa9 | [
"MIT"
] | null | null | null | from game.game import Game
game = Game()
print(game.status())
| 12.6 | 26 | 0.714286 | 10 | 63 | 4.5 | 0.5 | 0.533333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 63 | 4 | 27 | 15.75 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
11830c846c0b462010038e70f79e9659995dcc8a | 163 | py | Python | pikuli/uia/control_wrappers/menu_item.py | NVoronchev/pikuli | b67e33fa51a7bb7252c5ac11651e2f005542f955 | [
"MIT"
] | null | null | null | pikuli/uia/control_wrappers/menu_item.py | NVoronchev/pikuli | b67e33fa51a7bb7252c5ac11651e2f005542f955 | [
"MIT"
] | 1 | 2021-05-11T13:40:52.000Z | 2021-05-13T19:42:26.000Z | pikuli/uia/control_wrappers/menu_item.py | NVoronchev/pikuli | b67e33fa51a7bb7252c5ac11651e2f005542f955 | [
"MIT"
] | 2 | 2021-03-31T14:10:15.000Z | 2022-01-24T02:16:04.000Z | # -*- coding: utf-8 -*-
from .uia_control import UIAControl
class MenuItem(UIAControl):
''' Контекстное меню, к примеру. '''
CONTROL_TYPE = 'MenuItem'
| 16.3 | 40 | 0.656442 | 18 | 163 | 5.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007634 | 0.196319 | 163 | 9 | 41 | 18.111111 | 0.793893 | 0.319018 | 0 | 0 | 0 | 0 | 0.076923 | 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 |
ee939e8526d3b207c60649b209ea0714a1897370 | 52 | py | Python | src/bbbr/wsgi.py | zgoda/bbbrating-server | 0f70a039950f6614344802c92ac8f1277ce464f4 | [
"BSD-3-Clause"
] | null | null | null | src/bbbr/wsgi.py | zgoda/bbbrating-server | 0f70a039950f6614344802c92ac8f1277ce464f4 | [
"BSD-3-Clause"
] | null | null | null | src/bbbr/wsgi.py | zgoda/bbbrating-server | 0f70a039950f6614344802c92ac8f1277ce464f4 | [
"BSD-3-Clause"
] | null | null | null | from .app import make_app
application = make_app()
| 13 | 25 | 0.769231 | 8 | 52 | 4.75 | 0.625 | 0.368421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 52 | 3 | 26 | 17.333333 | 0.863636 | 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 |
eebf45d640bb05ac0910d107096946ede3c136b0 | 545 | py | Python | pointcloudset/diff/__init__.py | hugoledoux/pointcloudset | 075ddc3f840cc6c2e2505452c1eb9f2e4fce5e99 | [
"MIT"
] | 23 | 2021-06-14T10:11:27.000Z | 2022-03-07T13:44:36.000Z | pointcloudset/diff/__init__.py | hugoledoux/pointcloudset | 075ddc3f840cc6c2e2505452c1eb9f2e4fce5e99 | [
"MIT"
] | 23 | 2021-06-14T05:45:23.000Z | 2022-03-31T08:24:04.000Z | pointcloudset/diff/__init__.py | hugoledoux/pointcloudset | 075ddc3f840cc6c2e2505452c1eb9f2e4fce5e99 | [
"MIT"
] | 3 | 2021-07-07T06:58:34.000Z | 2021-09-28T11:52:07.000Z | """
Functions to calculate differences and distances between entities.
"""
from pointcloudset.diff.origin import calculate_distance_to_origin
from pointcloudset.diff.plane import calculate_distance_to_plane
from pointcloudset.diff.point import calculate_distance_to_point
from pointcloudset.diff.pointcloud import calcu... | 34.0625 | 74 | 0.834862 | 66 | 545 | 6.515152 | 0.287879 | 0.316279 | 0.353488 | 0.232558 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102752 | 545 | 15 | 75 | 36.333333 | 0.879346 | 0.121101 | 0 | 0 | 0 | 0 | 0.055202 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
eec48ab6b810c0cd49af2f3b9ca789f28da5fa2e | 65 | py | Python | py_particle_processor_qt/tools/OrbitTool/__init__.py | DanielWinklehner/py_particle_processor | 80bbd98d11291bc34609a4abb6c1927203459731 | [
"MIT"
] | null | null | null | py_particle_processor_qt/tools/OrbitTool/__init__.py | DanielWinklehner/py_particle_processor | 80bbd98d11291bc34609a4abb6c1927203459731 | [
"MIT"
] | null | null | null | py_particle_processor_qt/tools/OrbitTool/__init__.py | DanielWinklehner/py_particle_processor | 80bbd98d11291bc34609a4abb6c1927203459731 | [
"MIT"
] | null | null | null | from py_particle_processor_qt.tools.OrbitTool.OrbitTool import *
| 32.5 | 64 | 0.876923 | 9 | 65 | 6 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061538 | 65 | 1 | 65 | 65 | 0.885246 | 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 |
eee627003d664fb5d3a12ad4521e45238d65187c | 382 | py | Python | examples/svd.py | ravenSanstete/hako | fe72c76e9f319add1921a63dee711f90f4960873 | [
"MIT"
] | 1 | 2016-11-17T07:15:00.000Z | 2016-11-17T07:15:00.000Z | examples/svd.py | ravenSanstete/hako | fe72c76e9f319add1921a63dee711f90f4960873 | [
"MIT"
] | 6 | 2016-11-17T10:27:38.000Z | 2016-11-18T13:20:05.000Z | examples/svd.py | ravenSanstete/hako | fe72c76e9f319add1921a63dee711f90f4960873 | [
"MIT"
] | null | null | null | from .context import monad
from .context import tangle
from .context import feeder
from .context import prototype
from .context import magica
from .context import hako
from connectors import ml_100k_conn as conn
ip='10.141.246.29';
port=27017;
version='100k';
batch_size=100;
connector=conn.MLConnector(ip,port,vers... | 14.692308 | 46 | 0.780105 | 57 | 382 | 5.122807 | 0.526316 | 0.226027 | 0.349315 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072072 | 0.128272 | 382 | 25 | 47 | 15.28 | 0.804805 | 0 | 0 | 0 | 0 | 0 | 0.044619 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.538462 | 0 | 0.538462 | 0.076923 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
eee6818c1f96cd3f7dc5f5ba7ef78c6387fdd9d9 | 115 | py | Python | vasp-validator/tests/test_vasp_proxy_hook.py | tanshuai/reference-wallet | e8efec4acc6af6e319cf075c10693ddf7754cc83 | [
"Apache-2.0"
] | 14 | 2020-12-17T08:03:51.000Z | 2022-03-26T04:21:18.000Z | vasp-validator/tests/test_vasp_proxy_hook.py | tanshuai/reference-wallet | e8efec4acc6af6e319cf075c10693ddf7754cc83 | [
"Apache-2.0"
] | 20 | 2020-12-15T12:02:56.000Z | 2021-05-19T23:37:34.000Z | vasp-validator/tests/test_vasp_proxy_hook.py | tanshuai/reference-wallet | e8efec4acc6af6e319cf075c10693ddf7754cc83 | [
"Apache-2.0"
] | 12 | 2020-12-10T16:35:27.000Z | 2022-02-01T04:06:10.000Z | # Copyright (c) The Diem Core Contributors
# SPDX-License-Identifier: Apache-2.0
def test_tautology():
...
| 16.428571 | 43 | 0.686957 | 15 | 115 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021277 | 0.182609 | 115 | 6 | 44 | 19.166667 | 0.808511 | 0.669565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
eef1dccad825f0f57c926f918a4478559f2f4aeb | 247 | py | Python | test_autolens/plot/grids/regular_grid.py | rakaar/PyAutoLens | bc140c5d196c426092c1178b8abfa492c6fab859 | [
"MIT"
] | null | null | null | test_autolens/plot/grids/regular_grid.py | rakaar/PyAutoLens | bc140c5d196c426092c1178b8abfa492c6fab859 | [
"MIT"
] | null | null | null | test_autolens/plot/grids/regular_grid.py | rakaar/PyAutoLens | bc140c5d196c426092c1178b8abfa492c6fab859 | [
"MIT"
] | null | null | null | import autolens as al
grid = al.Grid.uniform(shape_2d=(10, 10), pixel_scales=1.0)
aplt.Grid(grid=grid)
grid = al.Grid.uniform(shape_2d=(10, 10), pixel_scales=1.0, origin=(5.0, 5.0))
aplt.Grid(grid=grid, symmetric_around_centre=False)
| 24.7 | 79 | 0.704453 | 45 | 247 | 3.733333 | 0.444444 | 0.238095 | 0.214286 | 0.202381 | 0.684524 | 0.488095 | 0.488095 | 0.488095 | 0.488095 | 0.488095 | 0 | 0.083721 | 0.129555 | 247 | 9 | 80 | 27.444444 | 0.697674 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e10c0b98fc47d408665a1734af1a6cfb4f4fff6f | 162 | py | Python | tests/conftest.py | alex-torok/pybuildkite | 1a4fd67ecda9526ae1acd0bc0e5513c793554f1d | [
"BSD-2-Clause"
] | 1 | 2021-10-20T04:47:21.000Z | 2021-10-20T04:47:21.000Z | tests/conftest.py | alex-torok/pybuildkite | 1a4fd67ecda9526ae1acd0bc0e5513c793554f1d | [
"BSD-2-Clause"
] | null | null | null | tests/conftest.py | alex-torok/pybuildkite | 1a4fd67ecda9526ae1acd0bc0e5513c793554f1d | [
"BSD-2-Clause"
] | null | null | null | import pytest
from unittest.mock import Mock
@pytest.fixture
def fake_client() -> Mock:
"""
Build a fake API client
"""
return Mock(get=Mock())
| 14.727273 | 30 | 0.648148 | 22 | 162 | 4.727273 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.234568 | 162 | 10 | 31 | 16.2 | 0.83871 | 0.141975 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0 | 0.8 | 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 |
e129ae0bef42510b51b499cb386277a7a1253e2e | 279 | py | Python | a.py | Pzzzzz5142/My-Music | 4cb9363176a94305d858ffadbf723c01f9813201 | [
"MIT"
] | 2 | 2021-06-29T08:45:19.000Z | 2021-06-30T13:32:51.000Z | a.py | Pzzzzz5142/My-Music | 4cb9363176a94305d858ffadbf723c01f9813201 | [
"MIT"
] | null | null | null | a.py | Pzzzzz5142/My-Music | 4cb9363176a94305d858ffadbf723c01f9813201 | [
"MIT"
] | null | null | null | from tqdm import tqdm
from random import randint
class A(object):
def __init__(self):
self.a=self.aa()
def aa(self):
return 'aaa'
class B(A):
def __init__(self):
super().__init__()
def aa(self):
return 'aaaaaa'
a=A()
print(a.a) | 15.5 | 26 | 0.580645 | 41 | 279 | 3.658537 | 0.439024 | 0.093333 | 0.146667 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.283154 | 279 | 18 | 27 | 15.5 | 0.75 | 0 | 0 | 0.285714 | 0 | 0 | 0.032143 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.142857 | 0.714286 | 0.071429 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
010cc96ce8706a452e69def9b764da6f3cf6c54b | 585 | py | Python | polybius/utils/font.py | TStalnaker44/flappy_bird_game | 384aed58b09f8e3c33de7018b92f062d56d28394 | [
"MIT"
] | null | null | null | polybius/utils/font.py | TStalnaker44/flappy_bird_game | 384aed58b09f8e3c33de7018b92f062d56d28394 | [
"MIT"
] | null | null | null | polybius/utils/font.py | TStalnaker44/flappy_bird_game | 384aed58b09f8e3c33de7018b92f062d56d28394 | [
"MIT"
] | null | null | null |
import pygame
class Font():
def __init__(self, name, size):
self._name = name
self._size = size
self._font = pygame.font.SysFont(name, size)
#TODO Add support for font files
def getFontName(self):
return self._name
def getFontSize(self):
return self._siz... | 21.666667 | 68 | 0.632479 | 74 | 585 | 4.810811 | 0.351351 | 0.140449 | 0.117978 | 0.157303 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.268376 | 585 | 26 | 69 | 22.5 | 0.831776 | 0.052991 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038462 | 0 | 1 | 0.375 | false | 0 | 0.0625 | 0.3125 | 0.8125 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
012d0b2523f5660e9f986ff25ab7fc0f91bef548 | 1,048 | py | Python | tests/generated_test_extensions/extend_test_compute.py | rosalexander/oci-cli | 2ab654c639a50431903dd6b81b0143fb602b0864 | [
"Apache-2.0"
] | null | null | null | tests/generated_test_extensions/extend_test_compute.py | rosalexander/oci-cli | 2ab654c639a50431903dd6b81b0143fb602b0864 | [
"Apache-2.0"
] | null | null | null | tests/generated_test_extensions/extend_test_compute.py | rosalexander/oci-cli | 2ab654c639a50431903dd6b81b0143fb602b0864 | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved.
# These mappings are used by generated tests to look up operations that have been moved in code in the CLI.
MOVED_COMMANDS = {
('compute', 'app_catalog_listing', 'get'): ['compute', 'pic', 'listing', 'get'],
('comput... | 69.866667 | 146 | 0.667939 | 120 | 1,048 | 5.633333 | 0.4 | 0.133136 | 0.201183 | 0.177515 | 0.22929 | 0.184911 | 0.127219 | 0 | 0 | 0 | 0 | 0.009793 | 0.123092 | 1,048 | 14 | 147 | 74.857143 | 0.725789 | 0.187023 | 0 | 0 | 1 | 0 | 0.632075 | 0.26533 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0134b4d78f25aa4134b8ebbdd2bec5f399efee36 | 239 | py | Python | onadata/kobocat/__init__.py | BuildAMovement/whistler-kobocat | 7f61dd0761bb0aa5b27c909bcff8c29453d3311d | [
"BSD-2-Clause"
] | 38 | 2017-02-28T05:39:40.000Z | 2019-01-16T04:39:04.000Z | onadata/kobocat/__init__.py | BuildAMovement/whistler-kobocat | 7f61dd0761bb0aa5b27c909bcff8c29453d3311d | [
"BSD-2-Clause"
] | 48 | 2019-03-18T09:26:31.000Z | 2019-05-27T08:12:03.000Z | onadata/kobocat/__init__.py | BuildAMovement/whistler-kobocat | 7f61dd0761bb0aa5b27c909bcff8c29453d3311d | [
"BSD-2-Clause"
] | 5 | 2017-02-22T12:25:19.000Z | 2019-01-15T11:16:40.000Z | from onadata.koboform import context_processors
# remove this file when all servers are using new settings
print """
context_processors setting must be changed from
kobocat.context_processors to koboform.context_processors
""" | 34.142857 | 61 | 0.794979 | 31 | 239 | 6 | 0.741935 | 0.365591 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16318 | 239 | 7 | 62 | 34.142857 | 0.93 | 0.23431 | 0 | 0 | 0 | 0 | 0.653846 | 0.291209 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.2 | null | null | 0.2 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
01562079cec4498e834bcde5fcf481abfc295596 | 181 | py | Python | accounts/forms.py | bugulin/gymgeek-web | 1def491392add2526fb0e8a53098d49ad2fdf983 | [
"Apache-2.0"
] | null | null | null | accounts/forms.py | bugulin/gymgeek-web | 1def491392add2526fb0e8a53098d49ad2fdf983 | [
"Apache-2.0"
] | null | null | null | accounts/forms.py | bugulin/gymgeek-web | 1def491392add2526fb0e8a53098d49ad2fdf983 | [
"Apache-2.0"
] | null | null | null | from django import forms
from core import material_design
class AboutForm(forms.Form):
about = forms.CharField(widget=material_design.Textarea, max_length=500, required=False)
| 30.166667 | 92 | 0.812155 | 25 | 181 | 5.76 | 0.76 | 0.194444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018634 | 0.110497 | 181 | 5 | 93 | 36.2 | 0.875776 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
015d68ce1732a1c31564dabe60cee81dd407f9b0 | 136 | py | Python | hon/json/json_serializable.py | swquinn/hon | 333332029ee884a8822d38024659d5d7da64ff1a | [
"MIT"
] | null | null | null | hon/json/json_serializable.py | swquinn/hon | 333332029ee884a8822d38024659d5d7da64ff1a | [
"MIT"
] | 14 | 2019-06-23T01:49:55.000Z | 2021-02-22T01:26:51.000Z | hon/json/json_serializable.py | swquinn/hon | 333332029ee884a8822d38024659d5d7da64ff1a | [
"MIT"
] | null | null | null | """
hon.json.json_serializable
~~~~~
"""
class JsonSerializable():
def to_json(self):
raise NotImplementedError()
| 13.6 | 35 | 0.610294 | 12 | 136 | 6.75 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.235294 | 136 | 9 | 36 | 15.111111 | 0.778846 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
0161c2ef306d7aa34e397948cbc7964d3e83a887 | 378 | py | Python | common/models.py | stefangeorg/town-car | 81ca81eed8912911527c3cb6dc521d000482b0fd | [
"Apache-2.0"
] | null | null | null | common/models.py | stefangeorg/town-car | 81ca81eed8912911527c3cb6dc521d000482b0fd | [
"Apache-2.0"
] | null | null | null | common/models.py | stefangeorg/town-car | 81ca81eed8912911527c3cb6dc521d000482b0fd | [
"Apache-2.0"
] | null | null | null | from django.contrib.gis.db import models
class Address(models.Model):
address1 = models.CharField(max_length=255)
address2 = models.CharField(max_length=255)
city = models.CharField(max_length=255)
zip = models.CharField(max_length=20, blank=True, null=True)
state = models.CharField(max_length=100... | 34.363636 | 67 | 0.740741 | 52 | 378 | 5.288462 | 0.5 | 0.272727 | 0.327273 | 0.436364 | 0.294545 | 0 | 0 | 0 | 0 | 0 | 0 | 0.049383 | 0.142857 | 378 | 10 | 68 | 37.8 | 0.799383 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
0192df069ab62978917a3c80ec432603e42adae7 | 93 | py | Python | imdb_rating/dependencies/__init__.py | PeregHer/imdb-rating-predictions | 39c1730fc46449aeda6984c2bdec549e42092498 | [
"MIT"
] | null | null | null | imdb_rating/dependencies/__init__.py | PeregHer/imdb-rating-predictions | 39c1730fc46449aeda6984c2bdec549e42092498 | [
"MIT"
] | null | null | null | imdb_rating/dependencies/__init__.py | PeregHer/imdb-rating-predictions | 39c1730fc46449aeda6984c2bdec549e42092498 | [
"MIT"
] | null | null | null | from .models import Movie
from .spiders import IMDBSpider
__all__ = ["Movie", "IMDBSpider"]
| 18.6 | 33 | 0.752688 | 11 | 93 | 6 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139785 | 93 | 4 | 34 | 23.25 | 0.825 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
6d761fa77725f0dfc80c36164158ecc0aba85379 | 1,127 | py | Python | mindsdb/api/mysql/mysql_proxy/datahub/datanodes/integration_datanode.py | yarenty/mindsdb | 9164bca6f45fd0f5ec329babe973f286ffe59709 | [
"MIT"
] | null | null | null | mindsdb/api/mysql/mysql_proxy/datahub/datanodes/integration_datanode.py | yarenty/mindsdb | 9164bca6f45fd0f5ec329babe973f286ffe59709 | [
"MIT"
] | null | null | null | mindsdb/api/mysql/mysql_proxy/datahub/datanodes/integration_datanode.py | yarenty/mindsdb | 9164bca6f45fd0f5ec329babe973f286ffe59709 | [
"MIT"
] | null | null | null | import pandas as pd
from mindsdb.api.mysql.mysql_proxy.datahub.datanodes.datanode import DataNode
class IntegrationDataNode(DataNode):
type = 'integration'
def __init__(self, integration_name, data_store):
self.integration_name = integration_name
self.data_store = data_store
def get_typ... | 28.897436 | 108 | 0.659272 | 144 | 1,127 | 4.895833 | 0.451389 | 0.085106 | 0.080851 | 0.042553 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.24756 | 1,127 | 38 | 109 | 29.657895 | 0.831368 | 0 | 0 | 0.076923 | 0 | 0 | 0.020408 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0.076923 | 0.076923 | 0.153846 | 0.576923 | 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 |
0996ee465228502f604afb2010f15b00462456cd | 306 | py | Python | app/api/v1/models/__init__.py | lprichar/electionguard-api-python | 6525173b94e4fb2fb1a98a716c9f362366f2f3d7 | [
"MIT"
] | 19 | 2020-02-05T17:57:41.000Z | 2021-03-27T06:21:20.000Z | app/api/v1/models/__init__.py | lprichar/electionguard-api-python | 6525173b94e4fb2fb1a98a716c9f362366f2f3d7 | [
"MIT"
] | 74 | 2021-04-21T15:10:31.000Z | 2022-03-30T15:04:39.000Z | app/api/v1/models/__init__.py | lprichar/electionguard-api-python | 6525173b94e4fb2fb1a98a716c9f362366f2f3d7 | [
"MIT"
] | 17 | 2021-05-29T10:00:05.000Z | 2022-03-25T02:57:24.000Z | from .auth import *
from .ballot import *
from .base import *
from .decrypt import *
from .encrypt import *
from .election import *
from .guardian import *
from .key_ceremony import *
from .key_guardian import *
from .manifest import *
from .tally import *
from .tally_decrypt import *
from .user import *
| 21.857143 | 28 | 0.745098 | 42 | 306 | 5.357143 | 0.333333 | 0.533333 | 0.151111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169935 | 306 | 13 | 29 | 23.538462 | 0.885827 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
09c0f2a6c8626e13f85c145e1624795b6d6bcf8d | 1,695 | py | Python | viewformer/cli.py | jkulhanek/viewformer | 9ad2c5a2f7abe4b7ff490ced0132bf3d2f07e29c | [
"MIT"
] | 87 | 2022-03-22T02:03:17.000Z | 2022-03-31T01:45:52.000Z | viewformer/cli.py | jkulhanek/viewformer | 9ad2c5a2f7abe4b7ff490ced0132bf3d2f07e29c | [
"MIT"
] | null | null | null | viewformer/cli.py | jkulhanek/viewformer | 9ad2c5a2f7abe4b7ff490ced0132bf3d2f07e29c | [
"MIT"
] | 5 | 2022-03-22T10:39:34.000Z | 2022-03-28T02:05:28.000Z | from aparse import click
from viewformer.utils.click import LazyGroup
@click.group(cls=LazyGroup)
def main():
pass
@main.group(cls=LazyGroup)
def dataset():
pass
@main.group(cls=LazyGroup)
def visualize():
pass
@main.group(cls=LazyGroup)
def model():
pass
@main.group(cls=LazyGroup)
def evaluat... | 31.388889 | 111 | 0.80059 | 198 | 1,695 | 6.631313 | 0.191919 | 0.129474 | 0.258949 | 0.191927 | 0.593298 | 0.517136 | 0.309216 | 0.095963 | 0 | 0 | 0 | 0.003151 | 0.063717 | 1,695 | 53 | 112 | 31.981132 | 0.824197 | 0 | 0 | 0.25 | 0 | 0 | 0.500295 | 0.385841 | 0 | 0 | 0 | 0 | 0 | 1 | 0.138889 | true | 0.138889 | 0.055556 | 0 | 0.194444 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
09e1aa26a58fda97a6de7dbd420bacae8ca10ac4 | 165 | py | Python | python/test/test02.py | andreluizdsantos/Curso_ADS | bdff1f96cfc22f91423bc14f383f3e69b93deb6f | [
"MIT"
] | 1 | 2020-08-31T16:53:18.000Z | 2020-08-31T16:53:18.000Z | python/test/test02.py | andreluizdsantos/Curso_ADS | bdff1f96cfc22f91423bc14f383f3e69b93deb6f | [
"MIT"
] | null | null | null | python/test/test02.py | andreluizdsantos/Curso_ADS | bdff1f96cfc22f91423bc14f383f3e69b93deb6f | [
"MIT"
] | null | null | null | import unittest
from test.test01 import soma
class TesteSoma(unittest.TestCase):
def test_retorno_soma_10_10(self):
self .assertEqual(soma(10, 10), 20)
| 23.571429 | 43 | 0.745455 | 24 | 165 | 4.958333 | 0.625 | 0.10084 | 0.134454 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 0.163636 | 165 | 6 | 44 | 27.5 | 0.775362 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
61d2fdffa9108de2717a2abeebdb123ab31570ca | 91 | py | Python | basic_programs/7_circleArea.py | SU-Ki-MA/python-programs-gfg | 59dd019355468ca832bb84361d3bfadfcef7127f | [
"MIT"
] | null | null | null | basic_programs/7_circleArea.py | SU-Ki-MA/python-programs-gfg | 59dd019355468ca832bb84361d3bfadfcef7127f | [
"MIT"
] | null | null | null | basic_programs/7_circleArea.py | SU-Ki-MA/python-programs-gfg | 59dd019355468ca832bb84361d3bfadfcef7127f | [
"MIT"
] | null | null | null | import math
def circleArea(r):
return math.pi*r*r
print(circleArea(55))
print(math.pi)
| 15.166667 | 22 | 0.725275 | 16 | 91 | 4.125 | 0.5625 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025316 | 0.131868 | 91 | 5 | 23 | 18.2 | 0.810127 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 0.6 | 0.4 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
61d8019134ba5ae22b19d442697e8c21cfd9f1fb | 99 | py | Python | datauploader/apps.py | OpenHumans/oh-rescuetime-source | 527aa550d83731521c473a61df385139a8ae75ac | [
"MIT"
] | 11 | 2018-12-07T23:11:02.000Z | 2022-01-29T17:34:49.000Z | datauploader/apps.py | OpenHumans/oh-rescuetime-source | 527aa550d83731521c473a61df385139a8ae75ac | [
"MIT"
] | 174 | 2018-08-11T19:45:32.000Z | 2022-03-28T14:16:09.000Z | datauploader/apps.py | OpenHumans/oh-rescuetime-source | 527aa550d83731521c473a61df385139a8ae75ac | [
"MIT"
] | 5 | 2018-02-27T16:39:41.000Z | 2018-05-30T19:08:43.000Z | from django.apps import AppConfig
class DatauploaderConfig(AppConfig):
name = 'datauploader'
| 16.5 | 36 | 0.777778 | 10 | 99 | 7.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 99 | 5 | 37 | 19.8 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 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 |
61e8cd2acfc4f1cc5bf1be53372f0109c7f5375b | 269 | py | Python | mazikeen/GeneratorMakedirs.py | hanniballar/mazikeen | 68693a96c69376f18c21576a610470a543a89316 | [
"MIT"
] | null | null | null | mazikeen/GeneratorMakedirs.py | hanniballar/mazikeen | 68693a96c69376f18c21576a610470a543a89316 | [
"MIT"
] | 3 | 2021-04-05T17:14:21.000Z | 2021-04-06T21:49:41.000Z | mazikeen/GeneratorMakedirs.py | hanniballar/mazikeen | 68693a96c69376f18c21576a610470a543a89316 | [
"MIT"
] | null | null | null | from mazikeen.MakedirsBlock import MakedirsBlock
from mazikeen.GeneratorException import GeneratorException
def generateMakedirs(data):
if not isinstance(data, str):
raise GeneratorException("'makedirs' block not recognized")
return MakedirsBlock(data) | 38.428571 | 67 | 0.799257 | 27 | 269 | 7.962963 | 0.62963 | 0.111628 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137546 | 269 | 7 | 68 | 38.428571 | 0.926724 | 0 | 0 | 0 | 1 | 0 | 0.114815 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
61edb26fe09b3b4ee8351431b61c5ca3115f4c53 | 512 | py | Python | challenge-49/test_solver.py | mauricioklein/algorithm-exercises | 1be95762d000102795059255a0a0d2d21d4b67fc | [
"MIT"
] | 3 | 2019-12-03T11:40:36.000Z | 2020-06-28T19:39:51.000Z | challenge-49/test_solver.py | mauricioklein/algorithm-exercises | 1be95762d000102795059255a0a0d2d21d4b67fc | [
"MIT"
] | null | null | null | challenge-49/test_solver.py | mauricioklein/algorithm-exercises | 1be95762d000102795059255a0a0d2d21d4b67fc | [
"MIT"
] | null | null | null | import unittest
from solver import buddy_strings
class TestSolver(unittest.TestCase):
def test_buddy_strings(self):
self.assertEqual(buddy_strings("ab" , "ba" ), True )
self.assertEqual(buddy_strings("ab" , "ab" ), False)
self.assertEqual(buddy_strings("aa" , "aa" ), T... | 36.571429 | 68 | 0.630859 | 55 | 512 | 5.581818 | 0.418182 | 0.273616 | 0.325733 | 0.439739 | 0.504886 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.232422 | 512 | 13 | 69 | 39.384615 | 0.78117 | 0 | 0 | 0 | 0 | 0 | 0.078125 | 0 | 0 | 0 | 0 | 0 | 0.454545 | 1 | 0.090909 | false | 0 | 0.181818 | 0 | 0.363636 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
61edeee6c10ed6ec382d616a19f64ecac958b9ba | 1,257 | py | Python | test/test_billing_prices_api.py | CiscoDevNet/python-msx-sdk | d7e0a08c656504b4f4551d263e67c671a2a04b3f | [
"MIT"
] | null | null | null | test/test_billing_prices_api.py | CiscoDevNet/python-msx-sdk | d7e0a08c656504b4f4551d263e67c671a2a04b3f | [
"MIT"
] | null | null | null | test/test_billing_prices_api.py | CiscoDevNet/python-msx-sdk | d7e0a08c656504b4f4551d263e67c671a2a04b3f | [
"MIT"
] | null | null | null | """
MSX SDK
MSX SDK client. # noqa: E501
The version of the OpenAPI document: 1.0.9
Generated by: https://openapi-generator.tech
"""
import unittest
import python_msx_sdk
from python_msx_sdk.api.billing_prices_api import BillingPricesApi # noqa: E501
class TestBillingPricesApi(unittest.TestCase... | 19.640625 | 80 | 0.599841 | 158 | 1,257 | 4.575949 | 0.348101 | 0.08852 | 0.076072 | 0.103734 | 0.26971 | 0.077455 | 0.077455 | 0.077455 | 0 | 0 | 0 | 0.031178 | 0.311058 | 1,257 | 63 | 81 | 19.952381 | 0.803695 | 0.418457 | 0 | 0.3 | 1 | 0 | 0.013536 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.35 | false | 0.3 | 0.15 | 0 | 0.55 | 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 |
110221a236a176c664562dc45daa4f8869312f82 | 157 | py | Python | course-1:basic-building-blocks/subject-6:conditionals/lesson-5.0:Password puzzle.py | regnart-tech-club/python | 069df070059de662d4104de8192e45407a7e94ce | [
"Apache-2.0"
] | null | null | null | course-1:basic-building-blocks/subject-6:conditionals/lesson-5.0:Password puzzle.py | regnart-tech-club/python | 069df070059de662d4104de8192e45407a7e94ce | [
"Apache-2.0"
] | null | null | null | course-1:basic-building-blocks/subject-6:conditionals/lesson-5.0:Password puzzle.py | regnart-tech-club/python | 069df070059de662d4104de8192e45407a7e94ce | [
"Apache-2.0"
] | 1 | 2016-04-03T00:53:37.000Z | 2016-04-03T00:53:37.000Z | # Write a program that takes in an input,
# prints 'You may enter.' if the input matches a password of one's own choosing, and
# prints 'Begone!' otherwise.
| 39.25 | 84 | 0.732484 | 27 | 157 | 4.259259 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184713 | 157 | 3 | 85 | 52.333333 | 0.898438 | 0.955414 | 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 |
110ee3fb199528887399199a51a101f53c19950c | 1,401 | py | Python | app/main.py | sto/flask-formvalidatorjs | 8d9551004af8a6d4e1f3a489fed4c91d5160c07a | [
"MIT"
] | 1 | 2021-02-17T13:09:28.000Z | 2021-02-17T13:09:28.000Z | app/main.py | sto/flask-formvalidatorjs | 8d9551004af8a6d4e1f3a489fed4c91d5160c07a | [
"MIT"
] | null | null | null | app/main.py | sto/flask-formvalidatorjs | 8d9551004af8a6d4e1f3a489fed4c91d5160c07a | [
"MIT"
] | null | null | null | # Aplicación de validación de formularios en Javascript
#
# Copyright 2018 Sergio Talens-Oliag <sto@uv.es>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including wit... | 40.028571 | 79 | 0.766595 | 208 | 1,401 | 5.134615 | 0.581731 | 0.082397 | 0.024345 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003413 | 0.163455 | 1,401 | 34 | 80 | 41.205882 | 0.90785 | 0.800143 | 0 | 0 | 0 | 0 | 0.061776 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.125 | 0.25 | 0.625 | 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 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
1113691b1246ecaa20c7087bfe6b3d8fb5cf45f9 | 249 | py | Python | src/test.py | Felix-Huang11/rembg-greenscreen | 77bd4d755aaf966113aa575ced91b0864a82df81 | [
"MIT"
] | null | null | null | src/test.py | Felix-Huang11/rembg-greenscreen | 77bd4d755aaf966113aa575ced91b0864a82df81 | [
"MIT"
] | null | null | null | src/test.py | Felix-Huang11/rembg-greenscreen | 77bd4d755aaf966113aa575ced91b0864a82df81 | [
"MIT"
] | null | null | null | from rembg.multiprocessing import parallel_greenscreen
if __name__ == "__main__":
parallel_greenscreen("/Users/zihao/Desktop/zero/video/group15B_Short.avi",
3,
1,
"u2net_human_seg",
frame_limit=300)
| 24.9 | 80 | 0.650602 | 27 | 249 | 5.481481 | 0.925926 | 0.256757 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043011 | 0.253012 | 249 | 9 | 81 | 27.666667 | 0.752688 | 0 | 0 | 0 | 0 | 0 | 0.304167 | 0.208333 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.142857 | 0 | 0.142857 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
111bb8110e21581cb131dafe3698deeb2d0c866a | 119 | py | Python | examples/ForPatching/MediumOverCapacitiesLargeRunner.py | supermihi/scgen | 844144b8fb59de6a81c305ebcf0e39cf5af7c01d | [
"MIT"
] | 1 | 2020-07-29T13:48:32.000Z | 2020-07-29T13:48:32.000Z | examples/ForPatching/MediumOverCapacitiesLargeRunner.py | supermihi/scgen | 844144b8fb59de6a81c305ebcf0e39cf5af7c01d | [
"MIT"
] | 2 | 2020-11-17T20:27:57.000Z | 2021-01-11T15:41:10.000Z | examples/ForPatching/MediumOverCapacitiesLargeRunner.py | supermihi/scgen | 844144b8fb59de6a81c305ebcf0e39cf5af7c01d | [
"MIT"
] | 1 | 2020-11-16T12:59:40.000Z | 2020-11-16T12:59:40.000Z | from examples.exampleRunner import runExample
runExample("ForPatching/MediumOverCapacitiesLarge.json", withExcel=False) | 59.5 | 73 | 0.882353 | 11 | 119 | 9.545455 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042017 | 119 | 2 | 73 | 59.5 | 0.921053 | 0 | 0 | 0 | 0 | 0 | 0.35 | 0.35 | 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 |
113af05a0a31b2d51a16951c041e80120263aa89 | 23 | py | Python | aiosqlite/__version__.py | PikalaxALT/aiosqlite | fd9fd631a15dc7d8a307335e1e8362a2c52dc8df | [
"MIT"
] | 7 | 2018-05-06T07:35:24.000Z | 2020-01-26T12:35:42.000Z | aiosqlite/__version__.py | PikalaxALT/aiosqlite | fd9fd631a15dc7d8a307335e1e8362a2c52dc8df | [
"MIT"
] | 9 | 2021-08-14T01:27:36.000Z | 2021-08-24T18:10:18.000Z | aiosqlite/__version__.py | PikalaxALT/aiosqlite | fd9fd631a15dc7d8a307335e1e8362a2c52dc8df | [
"MIT"
] | 3 | 2018-04-24T23:37:19.000Z | 2020-05-01T14:29:44.000Z | __version__ = "0.16.1"
| 11.5 | 22 | 0.652174 | 4 | 23 | 2.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0.130435 | 23 | 1 | 23 | 23 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
feedc36bd9a50b91b55c030e93ece5d4ce2d73fc | 164 | py | Python | web_app/infinite_trivia.py | 4398TempleSpring2020/cscapstoneproject-infinitetrivia | 9b0d307a447f519bef1b6dabe93c73b2d1f329e3 | [
"MIT"
] | 1 | 2020-05-18T06:14:21.000Z | 2020-05-18T06:14:21.000Z | web_app/infinite_trivia.py | ahmadsaad007/cscapstoneproject-infinitetrivia | 0dc590754c96c253e10a6613bff1c7c41baee75d | [
"MIT"
] | 3 | 2020-04-06T18:11:29.000Z | 2020-04-09T21:01:23.000Z | web_app/infinite_trivia.py | ahmadsaad007/cscapstoneproject-infinitetrivia | 0dc590754c96c253e10a6613bff1c7c41baee75d | [
"MIT"
] | 2 | 2020-05-18T06:08:25.000Z | 2020-07-08T04:37:41.000Z | from app import app, socketio
if __name__ == '__main__':
app.jinja_env.auto_reload = True
app.config['TEMPLATES_AUTO_RELOAD'] = True
socketio.run(app)
| 23.428571 | 46 | 0.713415 | 23 | 164 | 4.565217 | 0.652174 | 0.190476 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176829 | 164 | 6 | 47 | 27.333333 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0.176829 | 0.128049 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
fef13b517c2f545c641644398f60f68093de8ea6 | 215 | py | Python | hello/forms.py | choudharykartik1717/python-docs-hello-django | 854d24d61598c7058debb8a7ff5ae3f5f02f4572 | [
"MIT"
] | null | null | null | hello/forms.py | choudharykartik1717/python-docs-hello-django | 854d24d61598c7058debb8a7ff5ae3f5f02f4572 | [
"MIT"
] | null | null | null | hello/forms.py | choudharykartik1717/python-docs-hello-django | 854d24d61598c7058debb8a7ff5ae3f5f02f4572 | [
"MIT"
] | null | null | null | from django import forms
from django.db import models
from django.db.models import fields
from .models import *
class AddForm(forms.ModelForm):
class Meta:
model = Post
fields = ('title','desc') | 23.888889 | 35 | 0.697674 | 29 | 215 | 5.172414 | 0.517241 | 0.2 | 0.16 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.213953 | 215 | 9 | 36 | 23.888889 | 0.887574 | 0 | 0 | 0 | 0 | 0 | 0.041667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 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 |
fef2ccde9d964da3f86a8b91e2ce570f1a2839ef | 1,565 | py | Python | tests/test_engine/test_queries/test_queryop_logical_not.py | gitter-badger/MontyDB | 849d03dc2cfed35739481e9acb1ff0bd8095c91b | [
"BSD-3-Clause"
] | null | null | null | tests/test_engine/test_queries/test_queryop_logical_not.py | gitter-badger/MontyDB | 849d03dc2cfed35739481e9acb1ff0bd8095c91b | [
"BSD-3-Clause"
] | null | null | null | tests/test_engine/test_queries/test_queryop_logical_not.py | gitter-badger/MontyDB | 849d03dc2cfed35739481e9acb1ff0bd8095c91b | [
"BSD-3-Clause"
] | null | null | null |
import re
from bson.regex import Regex
def test_qop_not_1(monty_find, mongo_find):
docs = [
{"a": 4},
{"x": 8}
]
spec = {"a": {"$not": {"$eq": 8}}}
monty_c = monty_find(docs, spec)
mongo_c = mongo_find(docs, spec)
assert mongo_c.count() == 2
assert monty_c.count() == mon... | 21.438356 | 45 | 0.548243 | 230 | 1,565 | 3.46087 | 0.147826 | 0.120603 | 0.163317 | 0.081658 | 0.802764 | 0.802764 | 0.71608 | 0.610553 | 0.610553 | 0.610553 | 0 | 0.016323 | 0.25623 | 1,565 | 72 | 46 | 21.736111 | 0.667526 | 0 | 0 | 0.490196 | 0 | 0 | 0.042199 | 0 | 0 | 0 | 0 | 0 | 0.215686 | 1 | 0.098039 | false | 0 | 0.039216 | 0 | 0.137255 | 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 |
3a081041b4ac1357b2f1e88c4fcccdc7608473bd | 57 | py | Python | TOPSIS-Aseem-101803469/__init__.py | 26aseem/TOPSIS | 569f1f4c176c2853c3ac6261c92fce5bcc1fe93e | [
"MIT"
] | null | null | null | TOPSIS-Aseem-101803469/__init__.py | 26aseem/TOPSIS | 569f1f4c176c2853c3ac6261c92fce5bcc1fe93e | [
"MIT"
] | null | null | null | TOPSIS-Aseem-101803469/__init__.py | 26aseem/TOPSIS | 569f1f4c176c2853c3ac6261c92fce5bcc1fe93e | [
"MIT"
] | null | null | null | from TOPSIS-Aseem-101803469.topsis import topsisPerformer | 57 | 57 | 0.894737 | 7 | 57 | 7.285714 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0.052632 | 57 | 1 | 57 | 57 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 1 | 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 |
3a171bc5e3ca18e425b028883a096078e1ebf980 | 108 | py | Python | exts.py | whan6795/myweb | 3fad3960d7c33d269fa20f49f96a4c0ee219ddf4 | [
"MIT"
] | null | null | null | exts.py | whan6795/myweb | 3fad3960d7c33d269fa20f49f96a4c0ee219ddf4 | [
"MIT"
] | null | null | null | exts.py | whan6795/myweb | 3fad3960d7c33d269fa20f49f96a4c0ee219ddf4 | [
"MIT"
] | null | null | null | # encoding:utf-8
from flask_sqlalchemy import SQLAlchemy
from datetime import datetime
db = SQLAlchemy()
| 13.5 | 39 | 0.796296 | 14 | 108 | 6.071429 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01087 | 0.148148 | 108 | 7 | 40 | 15.428571 | 0.913043 | 0.12963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
3a197fb80b856669608dc2c6b1668d26da41d85b | 239 | py | Python | the-cloudwatch-dashboard/python/app.py | mttfarmer/serverless | e7b28421708cd4643ce61d28940357c3664ed2a8 | [
"MIT"
] | 1,627 | 2020-01-12T10:35:06.000Z | 2022-03-31T13:12:51.000Z | the-cloudwatch-dashboard/python/app.py | mttfarmer/serverless | e7b28421708cd4643ce61d28940357c3664ed2a8 | [
"MIT"
] | 58 | 2020-02-09T06:57:35.000Z | 2022-02-26T23:25:10.000Z | the-cloudwatch-dashboard/python/app.py | mttfarmer/serverless | e7b28421708cd4643ce61d28940357c3664ed2a8 | [
"MIT"
] | 240 | 2020-01-19T09:09:44.000Z | 2022-03-30T19:12:17.000Z | #!/usr/bin/env python3
from aws_cdk import core
from the_cloudwatch_dashboard.the_cloudwatch_dashboard_stack import TheCloudwatchDashboardStack
app = core.App()
TheCloudwatchDashboardStack(app, "the-cloudwatch-dashboard")
app.synth()
| 19.916667 | 95 | 0.828452 | 29 | 239 | 6.62069 | 0.551724 | 0.203125 | 0.34375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004587 | 0.087866 | 239 | 11 | 96 | 21.727273 | 0.876147 | 0.087866 | 0 | 0 | 0 | 0 | 0.110599 | 0.110599 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
3a206dfa60809b01490bb1a2f0e4cafdcdd5c048 | 288 | py | Python | xyzflow/__init__.py | Renneke/xyzflow | fa67a8efd81a5fd13ec3578b1af0710e167d4923 | [
"Apache-2.0"
] | 2 | 2022-02-24T06:48:12.000Z | 2022-02-24T06:48:17.000Z | xyzflow/__init__.py | Renneke/xyzflow | fa67a8efd81a5fd13ec3578b1af0710e167d4923 | [
"Apache-2.0"
] | 13 | 2022-02-20T22:18:18.000Z | 2022-03-14T08:39:00.000Z | xyzflow/__init__.py | Renneke/xyzflow | fa67a8efd81a5fd13ec3578b1af0710e167d4923 | [
"Apache-2.0"
] | null | null | null | #
# XYZFlow - Simple Orchestration Framework
#
from .Task import Task, task
from .Flow import get_flow_parameter, flow, Flow, save_parameters, load_parameters
from .HelperTasks import Add, Sub, Multiplication
from .Parameter import Parameter
from .xyzflow import inspect_parameters, main | 32 | 82 | 0.815972 | 37 | 288 | 6.216216 | 0.513514 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 288 | 9 | 83 | 32 | 0.912698 | 0.138889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
3a22a508466ee8aa1591b50e37a438aded77b43a | 456 | py | Python | utils.py | nntrongnghia/learn-recsys | 43505c2663255d10e900f4cb98553eb5058e0a09 | [
"MIT"
] | null | null | null | utils.py | nntrongnghia/learn-recsys | 43505c2663255d10e900f4cb98553eb5058e0a09 | [
"MIT"
] | null | null | null | utils.py | nntrongnghia/learn-recsys | 43505c2663255d10e900f4cb98553eb5058e0a09 | [
"MIT"
] | null | null | null | import os
import numpy as np
import torch
import torch.nn as nn
import torch.nn.functional as F
def bpr_loss(pos: torch.Tensor, neg: torch.Tensor)-> torch.Tensor:
"""Bayesian Personalized Ranking Loss
Parameters
----------
pos : torch.Tensor
Ranking logit (0..1)
neg : torch.Tensor
... | 19 | 66 | 0.60307 | 60 | 456 | 4.566667 | 0.45 | 0.20073 | 0.094891 | 0.167883 | 0.182482 | 0.182482 | 0 | 0 | 0 | 0 | 0 | 0.012048 | 0.27193 | 456 | 24 | 67 | 19 | 0.813253 | 0.377193 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
3a22ed4c8edec4bea1a26fece7c4d425b774a6ca | 165 | py | Python | smoothcrawler/persistence/__init__.py | Chisanan232/pytsunami | 099f16e6351b8cfcce4528d53273c381c1dc3bf9 | [
"Apache-2.0"
] | 1 | 2022-03-18T15:20:56.000Z | 2022-03-18T15:20:56.000Z | smoothcrawler/persistence/__init__.py | Chisanan232/smoothcrawler | 324c52b941d7e73c3d087408f5ba9bd02e49d66c | [
"Apache-2.0"
] | null | null | null | smoothcrawler/persistence/__init__.py | Chisanan232/smoothcrawler | 324c52b941d7e73c3d087408f5ba9bd02e49d66c | [
"Apache-2.0"
] | null | null | null | from abc import ABCMeta, abstractmethod
class PersistenceFacade(metaclass=ABCMeta):
@abstractmethod
def save(self, data, *args, **kwargs):
pass
| 15 | 43 | 0.69697 | 17 | 165 | 6.764706 | 0.882353 | 0.365217 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212121 | 165 | 10 | 44 | 16.5 | 0.884615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.2 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
3a743be6bb47fe14674b5f32274ce305cce2eefb | 62 | py | Python | tests/__init__.py | lpnueg4/-logzero | 3ce0536696436d0243b733970c7670fbbb364083 | [
"MIT"
] | 1,091 | 2017-06-27T12:48:13.000Z | 2022-03-16T10:20:42.000Z | tests/__init__.py | WarpEngineer/logzero | b5d49fc2b118c370994c4ae5360d7c246d43ddc8 | [
"MIT"
] | 344 | 2017-06-30T14:49:27.000Z | 2022-03-28T02:47:25.000Z | tests/__init__.py | WarpEngineer/logzero | b5d49fc2b118c370994c4ae5360d7c246d43ddc8 | [
"MIT"
] | 88 | 2017-07-03T18:44:48.000Z | 2022-01-09T12:56:34.000Z | # -*- coding: utf-8 -*-
"""Unit test package for logzero."""
| 15.5 | 36 | 0.564516 | 8 | 62 | 4.375 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019608 | 0.177419 | 62 | 3 | 37 | 20.666667 | 0.666667 | 0.854839 | 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 |
3a8e92b05cc639c3d35366e06b938007d16f33b0 | 538 | py | Python | jackpot/migrations/0009_auto_20180721_1247.py | clonetech/jackpotsone | 512d018f431eef7649712ad9c9e8e40d99ddd00c | [
"BSD-3-Clause"
] | null | null | null | jackpot/migrations/0009_auto_20180721_1247.py | clonetech/jackpotsone | 512d018f431eef7649712ad9c9e8e40d99ddd00c | [
"BSD-3-Clause"
] | 3 | 2020-06-05T18:28:06.000Z | 2021-06-10T20:33:26.000Z | jackpot/migrations/0009_auto_20180721_1247.py | clonetech/jackpotsone | 512d018f431eef7649712ad9c9e8e40d99ddd00c | [
"BSD-3-Clause"
] | null | null | null | # Generated by Django 2.0.6 on 2018-07-21 09:47
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('jackpot', '0008_jackpot_no'),
]
operations = [
migrations.RemoveField(
model_name='jackpot',
name='away_odds',
),
... | 20.692308 | 47 | 0.542751 | 51 | 538 | 5.568627 | 0.588235 | 0.221831 | 0.274648 | 0.316901 | 0.461268 | 0.461268 | 0.316901 | 0 | 0 | 0 | 0 | 0.053824 | 0.343866 | 538 | 25 | 48 | 21.52 | 0.750708 | 0.083643 | 0 | 0.473684 | 1 | 0 | 0.142566 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.052632 | 0 | 0.210526 | 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 |
3a9e5e68c075937acd4bdd567ae4c80519315f89 | 104 | py | Python | tests/test_basic.py | Pomb/memorite | a85a398926952193afefdd5e984f97db238118b8 | [
"MIT"
] | null | null | null | tests/test_basic.py | Pomb/memorite | a85a398926952193afefdd5e984f97db238118b8 | [
"MIT"
] | null | null | null | tests/test_basic.py | Pomb/memorite | a85a398926952193afefdd5e984f97db238118b8 | [
"MIT"
] | null | null | null | import unittest
class MyTest(unittest.TestCase):
def test(self):
self.assertEqual(42, 42)
| 14.857143 | 32 | 0.682692 | 13 | 104 | 5.461538 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04878 | 0.211538 | 104 | 6 | 33 | 17.333333 | 0.817073 | 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 |
3ac73337911ba3ae48797d1cb630a38b2a6985dd | 101 | py | Python | iatransfer/research/data/__init__.py | KamilPiechowiak/iatransfer | d7607662a2d2f7d1a16164c813e8721a0563552b | [
"Apache-2.0"
] | 4 | 2021-02-05T01:51:57.000Z | 2022-01-11T13:59:33.000Z | iatransfer/research/data/__init__.py | KamilPiechowiak/iatransfer | d7607662a2d2f7d1a16164c813e8721a0563552b | [
"Apache-2.0"
] | 3 | 2021-02-05T20:05:05.000Z | 2021-02-05T20:05:33.000Z | iatransfer/research/data/__init__.py | KamilPiechowiak/iatransfer | d7607662a2d2f7d1a16164c813e8721a0563552b | [
"Apache-2.0"
] | null | null | null | from .fgvc_aircraft import FGVCAircraft
from .flowers import Flowers102
from .food101 import Food101
| 25.25 | 39 | 0.851485 | 13 | 101 | 6.538462 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101124 | 0.118812 | 101 | 3 | 40 | 33.666667 | 0.853933 | 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 |
3ad1aa8b8cb3008bf6d3b7b2b2090e89f382944d | 177 | py | Python | python/robomodules/__init__.py | jhol0613/pacbot2018 | b56d54093f38a7b70ea40b65b05ab6215182c3cb | [
"MIT"
] | null | null | null | python/robomodules/__init__.py | jhol0613/pacbot2018 | b56d54093f38a7b70ea40b65b05ab6215182c3cb | [
"MIT"
] | null | null | null | python/robomodules/__init__.py | jhol0613/pacbot2018 | b56d54093f38a7b70ea40b65b05ab6215182c3cb | [
"MIT"
] | null | null | null | import os
from .server import Server
from .protoModule import ProtoModule
__path__.append(os.path.join(os.path.dirname(__file__), 'comm'))
__all__ = ['Server', 'ProtoModule']
| 22.125 | 64 | 0.762712 | 23 | 177 | 5.347826 | 0.521739 | 0.097561 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101695 | 177 | 7 | 65 | 25.285714 | 0.773585 | 0 | 0 | 0 | 0 | 0 | 0.118644 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 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 |
3ae989a9ea5324340ba5dd8318ea3665e8ac3740 | 207 | py | Python | start_alibaba.py | dgdell/AlibabaInternation | 6a9713151b2ea760f95060cac1dc35041c700d74 | [
"Apache-2.0"
] | null | null | null | start_alibaba.py | dgdell/AlibabaInternation | 6a9713151b2ea760f95060cac1dc35041c700d74 | [
"Apache-2.0"
] | null | null | null | start_alibaba.py | dgdell/AlibabaInternation | 6a9713151b2ea760f95060cac1dc35041c700d74 | [
"Apache-2.0"
] | 1 | 2022-02-25T01:55:48.000Z | 2022-02-25T01:55:48.000Z | # coding:utf-8
import os
import sys
from scrapy import cmdline
if __name__ == '__main__':
sys.path.append(os.path.dirname(os.path.abspath(__file__)))
cmdline.execute(['scrapy', 'crawl', 'alibaba'])
| 23 | 63 | 0.710145 | 29 | 207 | 4.655172 | 0.689655 | 0.088889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005556 | 0.130435 | 207 | 8 | 64 | 25.875 | 0.744444 | 0.057971 | 0 | 0 | 0 | 0 | 0.134715 | 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 |
aafaba3421cf503f87df4a4670a183eb03640d76 | 659 | py | Python | pinecone/exceptions.py | amourao/pinecone-python-client | 89582d3b32726187fea161b5f9765a582ddea76b | [
"ISC"
] | 7 | 2021-10-29T19:50:48.000Z | 2022-03-17T17:07:48.000Z | pinecone/exceptions.py | amourao/pinecone-python-client | 89582d3b32726187fea161b5f9765a582ddea76b | [
"ISC"
] | 24 | 2021-10-07T20:40:28.000Z | 2022-03-31T17:35:23.000Z | pinecone/exceptions.py | amourao/pinecone-python-client | 89582d3b32726187fea161b5f9765a582ddea76b | [
"ISC"
] | 4 | 2021-10-22T01:32:31.000Z | 2022-03-08T18:54:34.000Z | #
# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved.
#
from .core.exceptions import PineconeException, PineconeProtocolError
from .core.client.exceptions import OpenApiException, ApiAttributeError, ApiTypeError, ApiValueError, \
ApiKeyError, ApiException, NotFoundException, UnauthorizedException, ... | 28.652174 | 109 | 0.751138 | 44 | 659 | 11.159091 | 0.613636 | 0.032587 | 0.183299 | 0.236253 | 0.623218 | 0.623218 | 0.623218 | 0.623218 | 0.623218 | 0.623218 | 0 | 0.014337 | 0.153263 | 659 | 22 | 110 | 29.954545 | 0.865591 | 0.098634 | 0 | 0 | 0 | 0 | 0.323729 | 0.071186 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.117647 | 0 | 0.117647 | 0 | 0 | 0 | 1 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a30baaf6ec8320c355b7a5e5ea7eac881fb763bb | 23,388 | py | Python | test/test-projections.py | dkogan/mrcal | ca4678e1171841fd9cd158b87ee460163647b495 | [
"Apache-2.0"
] | 80 | 2021-02-23T19:50:49.000Z | 2022-03-29T08:05:56.000Z | test/test-projections.py | dkogan/mrcal | ca4678e1171841fd9cd158b87ee460163647b495 | [
"Apache-2.0"
] | 2 | 2021-03-26T10:44:09.000Z | 2021-06-23T21:14:10.000Z | test/test-projections.py | dkogan/mrcal | ca4678e1171841fd9cd158b87ee460163647b495 | [
"Apache-2.0"
] | 8 | 2021-02-23T13:34:18.000Z | 2021-11-09T13:33:28.000Z | #!/usr/bin/python3
r'''Tests for project() and unproject()
Here I make sure the projection functions return the correct values. A part of
this is a regression test: the "right" project() results were recorded at some
point, and any deviation is flagged.
This also test gradients, normalization and in-place output.
I... | 47.730612 | 114 | 0.511031 | 2,667 | 23,388 | 4.385827 | 0.220847 | 0.028212 | 0.050269 | 0.010943 | 0.732581 | 0.708301 | 0.697786 | 0.685218 | 0.657263 | 0.652475 | 0 | 0.349916 | 0.363135 | 23,388 | 489 | 115 | 47.828221 | 0.435381 | 0.07863 | 0 | 0.625 | 0 | 0 | 0.069909 | 0.012567 | 0 | 0 | 0 | 0 | 0 | 1 | 0.013298 | false | 0 | 0.018617 | 0.010638 | 0.045213 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 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 |
a327f5f30c2d71e5ac4ebd4a35780512538cb2aa | 107 | py | Python | run.py | zding5/Microblog-Flask | 5353754e9bad01bd52d28ff900f478d3e6e2dbec | [
"MIT"
] | null | null | null | run.py | zding5/Microblog-Flask | 5353754e9bad01bd52d28ff900f478d3e6e2dbec | [
"MIT"
] | null | null | null | run.py | zding5/Microblog-Flask | 5353754e9bad01bd52d28ff900f478d3e6e2dbec | [
"MIT"
] | null | null | null | #!flask/bin/python
# This file is for starting up the server!
from app import myapp
myapp.run(debug=True) | 17.833333 | 42 | 0.757009 | 19 | 107 | 4.263158 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149533 | 107 | 6 | 43 | 17.833333 | 0.89011 | 0.542056 | 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 |
a32c3bfea250c2d191881cf69efd10fe2952ca57 | 85 | py | Python | markwiki/authn/__init__.py | cabalamat/markwiki | 7c18c3c52eee51ee4544eceee570db6b63782152 | [
"BSD-2-Clause"
] | 1 | 2019-09-18T12:05:44.000Z | 2019-09-18T12:05:44.000Z | markwiki/authn/__init__.py | cabalamat/markwiki | 7c18c3c52eee51ee4544eceee570db6b63782152 | [
"BSD-2-Clause"
] | null | null | null | markwiki/authn/__init__.py | cabalamat/markwiki | 7c18c3c52eee51ee4544eceee570db6b63782152 | [
"BSD-2-Clause"
] | null | null | null | # Copyright (c) 2016, Matt Layman
'''A package to support MarkWiki authentication'''
| 28.333333 | 50 | 0.741176 | 11 | 85 | 5.727273 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054795 | 0.141176 | 85 | 2 | 51 | 42.5 | 0.808219 | 0.905882 | 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 |
a3346f2ece3b64b32bb8b2ce480d3c5428786507 | 11,104 | py | Python | lazy/api/client.py | trisongz/lazycls | 701bad1a358ed3bb136347d0c5eb81de3201f6a3 | [
"MIT"
] | 2 | 2021-12-02T00:13:16.000Z | 2022-02-26T11:18:33.000Z | lazy/api/client.py | trisongz/lazycls | 701bad1a358ed3bb136347d0c5eb81de3201f6a3 | [
"MIT"
] | null | null | null | lazy/api/client.py | trisongz/lazycls | 701bad1a358ed3bb136347d0c5eb81de3201f6a3 | [
"MIT"
] | null | null | null | from __future__ import annotations
from lazy.types import *
from lazy.models import BaseCls
from .config import *
from .types import *
from .utils import convert_to_cls
from .base_imports import _httpx_available, _ensure_api_reqs
if _httpx_available:
from httpx import Client as _Client
from httpx import Asyn... | 47.050847 | 286 | 0.607889 | 1,345 | 11,104 | 4.815613 | 0.090706 | 0.02918 | 0.03057 | 0.032422 | 0.758993 | 0.750965 | 0.741393 | 0.718851 | 0.694766 | 0.687046 | 0 | 0.000707 | 0.236041 | 11,104 | 235 | 287 | 47.251064 | 0.76282 | 0.057637 | 0 | 0.32716 | 0 | 0 | 0.023102 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.061728 | 0 | 0.37037 | 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 |
a34f856a72c5d0b1d901e4410f6f6b4f5ac501b2 | 59 | py | Python | lobster.py | khurtado/lobster | cd7044b4b98bec2d8b5f81512adcf2a5dfca00f1 | [
"MIT"
] | 1 | 2018-03-06T19:33:17.000Z | 2018-03-06T19:33:17.000Z | lobster.py | khurtado/lobster | cd7044b4b98bec2d8b5f81512adcf2a5dfca00f1 | [
"MIT"
] | 18 | 2018-03-08T09:55:57.000Z | 2020-08-10T19:19:04.000Z | lobster.py | khurtado/lobster | cd7044b4b98bec2d8b5f81512adcf2a5dfca00f1 | [
"MIT"
] | 3 | 2018-03-06T19:33:20.000Z | 2019-02-25T22:50:23.000Z | #!/usr/bin/env python
from lobster.ui import boil
boil()
| 9.833333 | 27 | 0.711864 | 10 | 59 | 4.2 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152542 | 59 | 5 | 28 | 11.8 | 0.84 | 0.338983 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.