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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a1bc26c5df939b91616dd0d1ebae1eb47fc7bb75 | 1,294 | py | Python | lab/lab03/tests/eq1.py | surajrampure/data-94-sp21 | 074543103579c28d796c681f78f3c38449825328 | [
"BSD-3-Clause"
] | 1 | 2020-11-21T09:42:52.000Z | 2020-11-21T09:42:52.000Z | lab/lab03/tests/eq1.py | surajrampure/data-94-sp21 | 074543103579c28d796c681f78f3c38449825328 | [
"BSD-3-Clause"
] | null | null | null | lab/lab03/tests/eq1.py | surajrampure/data-94-sp21 | 074543103579c28d796c681f78f3c38449825328 | [
"BSD-3-Clause"
] | null | null | null | test = { 'name': 'eq1',
'points': 0,
'suites': [ { 'cases': [ { 'code': '>>> best_salesperson(["Alice", "Bob", "Cam"], [3, 4, 1.25, 6, "Shift Change", 2, 4, 5.75, "Shift Change", 10, 2, .25, "Shift Change"]) == "Alice"\n'
'True',
... | 68.105263 | 197 | 0.309119 | 107 | 1,294 | 3.71028 | 0.327103 | 0.24937 | 0.143577 | 0.18136 | 0.765743 | 0.765743 | 0.697733 | 0.697733 | 0.697733 | 0.589421 | 0 | 0.087025 | 0.511592 | 1,294 | 18 | 198 | 71.888889 | 0.541139 | 0 | 0 | 0.444444 | 0 | 0.166667 | 0.429675 | 0.060278 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
a1c934db8541e5307ce0bd73da76d9c19aa5ed51 | 201 | py | Python | deepmath/deephol/jup_predict/default/thm_emb.py | aahadley/deepmath | ad4426323be64bacd4a6727f1e48f4e54ee1e259 | [
"Apache-2.0"
] | 8 | 2019-12-12T19:13:28.000Z | 2021-08-08T09:29:35.000Z | deepmath/deephol/jup_predict/default/thm_emb.py | aahadley/deepmath | ad4426323be64bacd4a6727f1e48f4e54ee1e259 | [
"Apache-2.0"
] | null | null | null | deepmath/deephol/jup_predict/default/thm_emb.py | aahadley/deepmath | ad4426323be64bacd4a6727f1e48f4e54ee1e259 | [
"Apache-2.0"
] | 2 | 2020-10-02T11:55:03.000Z | 2021-09-26T23:53:25.000Z | import numpy as np
def _batch_thm_embedding(predictor, thms):
"""From a list of string theorems, compute and return their embeddings."""
return np.array([[thm.__hash__(), 1] for thm in thms])
| 33.5 | 78 | 0.716418 | 31 | 201 | 4.419355 | 0.83871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005988 | 0.169154 | 201 | 5 | 79 | 40.2 | 0.814371 | 0.338308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
a1e5a5b6df5096dd4266721762f28fab82489669 | 7,143 | py | Python | day12pt2.py | AndrewstheBuilder/AdventofCode2020 | 7e32270f74809b3fd6c5e611f8d05ba1b779d35b | [
"MIT"
] | null | null | null | day12pt2.py | AndrewstheBuilder/AdventofCode2020 | 7e32270f74809b3fd6c5e611f8d05ba1b779d35b | [
"MIT"
] | null | null | null | day12pt2.py | AndrewstheBuilder/AdventofCode2020 | 7e32270f74809b3fd6c5e611f8d05ba1b779d35b | [
"MIT"
] | null | null | null | import fileinput, re
# if I had said east, north was positive and west and south were negative my implementation would have been easier
def checkD( d1, d2, f, n ):
if( f[0] == 'E' ):
if( d1[0] == 'E' ):
d1[1] += f[1] * int(n)
elif( d1[0] == 'W' ):
... | 33.535211 | 115 | 0.245415 | 887 | 7,143 | 1.976325 | 0.0823 | 0.033086 | 0.035938 | 0.068454 | 0.616657 | 0.611523 | 0.597262 | 0.53166 | 0.517969 | 0.381061 | 0 | 0.130867 | 0.549629 | 7,143 | 212 | 116 | 33.693396 | 0.41405 | 0.058099 | 0 | 0.779487 | 0 | 0 | 0.02251 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.010256 | false | 0.005128 | 0.005128 | 0 | 0.015385 | 0.025641 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a1f18fdf82ae5fd7a4db801e0caa6efc7e43ad9d | 82 | py | Python | cylon/helpers.py | clamytoe/Cylon | 243258e553002dc65803f1cc3ada711407685859 | [
"MIT"
] | 4 | 2018-03-24T07:02:29.000Z | 2018-05-14T02:06:06.000Z | cylon/helpers.py | clamytoe/Cylon | 243258e553002dc65803f1cc3ada711407685859 | [
"MIT"
] | 2 | 2018-03-26T16:16:27.000Z | 2018-05-14T19:05:51.000Z | cylon/helpers.py | clamytoe/Cylon | 243258e553002dc65803f1cc3ada711407685859 | [
"MIT"
] | 1 | 2018-03-26T16:06:05.000Z | 2018-03-26T16:06:05.000Z | def prev(obj):
"""Workaround to improve workflow"""
return obj.__prev__()
| 20.5 | 40 | 0.658537 | 10 | 82 | 5 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195122 | 82 | 3 | 41 | 27.333333 | 0.757576 | 0.365854 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
b80d2a2d561e316266725b1e15ab847b4b14988d | 216 | py | Python | in_memory/redis/fields.py | oldcai/django-in-memory-models | c997c50e79bd30910a3f7b0c5230f98cadf594fd | [
"MIT"
] | 1 | 2020-09-29T22:06:17.000Z | 2020-09-29T22:06:17.000Z | in_memory/redis/fields.py | oldcai/django-in-memory-models | c997c50e79bd30910a3f7b0c5230f98cadf594fd | [
"MIT"
] | null | null | null | in_memory/redis/fields.py | oldcai/django-in-memory-models | c997c50e79bd30910a3f7b0c5230f98cadf594fd | [
"MIT"
] | null | null | null | from django.db.models import Field
from in_memory.fields import InMemoryFieldMixin
from in_memory.redis.models import RedisSorter
class RedisSortedIntegerField(InMemoryFieldMixin, Field):
_class = RedisSorter
| 24 | 57 | 0.837963 | 25 | 216 | 7.12 | 0.56 | 0.134831 | 0.134831 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115741 | 216 | 8 | 58 | 27 | 0.931937 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 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 |
b820750ec179551d93a613624e96abbbbd3e8ce2 | 131 | py | Python | quince/main.py | DnrkasEFF/quince | 89b5699a63642fd1ed172b566670b4dd8a2f8e18 | [
"MIT"
] | null | null | null | quince/main.py | DnrkasEFF/quince | 89b5699a63642fd1ed172b566670b4dd8a2f8e18 | [
"MIT"
] | null | null | null | quince/main.py | DnrkasEFF/quince | 89b5699a63642fd1ed172b566670b4dd8a2f8e18 | [
"MIT"
] | null | null | null | """
Starting point for the graphical Quince app.
"""
from quince.ui.start_gui import start
if __name__ == "__main__":
start()
| 16.375 | 44 | 0.70229 | 18 | 131 | 4.611111 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175573 | 131 | 7 | 45 | 18.714286 | 0.768519 | 0.335878 | 0 | 0 | 0 | 0 | 0.101266 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
62d68d3824fd6d0c5d2d2063613b58a6f18a1bc2 | 435 | py | Python | PYTHON/kadane_algo.py | winxter17/hacktoberfest-2021 | a19bb009240a8b7a8608e4bc84d4d35241e426f7 | [
"MIT"
] | null | null | null | PYTHON/kadane_algo.py | winxter17/hacktoberfest-2021 | a19bb009240a8b7a8608e4bc84d4d35241e426f7 | [
"MIT"
] | null | null | null | PYTHON/kadane_algo.py | winxter17/hacktoberfest-2021 | a19bb009240a8b7a8608e4bc84d4d35241e426f7 | [
"MIT"
] | null | null | null | def maxSubArraySum(a,size):
max_so_far = -2**31
max_ending_here = 0
for i in range(0, size):
max_ending_here = max_ending_here + a[i]
if (max_so_far < max_ending_here):
max_so_far = max_ending_here
if max_ending_here < 0:
max_ending_here = ... | 27.1875 | 55 | 0.6 | 66 | 435 | 3.621212 | 0.378788 | 0.263598 | 0.380753 | 0.175732 | 0.175732 | 0.175732 | 0 | 0 | 0 | 0 | 0 | 0.023256 | 0.308046 | 435 | 16 | 55 | 27.1875 | 0.770764 | 0 | 0 | 0.153846 | 0 | 0 | 0.054632 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.076923 | 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 |
62dc80f777dba58b34cdf2f5838002dc201dba3b | 302 | py | Python | payment_gateway/urls.py | macbotxxx/djcutter | 01ac91e44063f3ee43302178ccb2df46a9c6b717 | [
"MIT"
] | null | null | null | payment_gateway/urls.py | macbotxxx/djcutter | 01ac91e44063f3ee43302178ccb2df46a9c6b717 | [
"MIT"
] | 1 | 2022-03-30T14:22:45.000Z | 2022-03-30T14:22:45.000Z | payment_gateway/urls.py | macbotxxx/djcutter | 01ac91e44063f3ee43302178ccb2df46a9c6b717 | [
"MIT"
] | null | null | null | from django.contrib.staticfiles.urls import urlpatterns
from django.urls import path
from . import views
urlpatterns = [
path('',views.initiate_payment, name='home'),
path('about/',views.initiate_payment, name='about'),
path('<str:ref>/',views.verify_payment, name='verify-payment'),
] | 33.555556 | 67 | 0.718543 | 38 | 302 | 5.631579 | 0.447368 | 0.154206 | 0.186916 | 0.224299 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125828 | 302 | 9 | 68 | 33.555556 | 0.810606 | 0 | 0 | 0 | 0 | 0 | 0.128713 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.375 | 0 | 0.375 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
62eae94425a9fbf26002b8d3338927c17ad60163 | 303 | py | Python | python/data/__init__.py | RECCAP2-ocean/scripts | a8af6552f025d0b698787de2e4abf0a76559aab2 | [
"MIT"
] | null | null | null | python/data/__init__.py | RECCAP2-ocean/scripts | a8af6552f025d0b698787de2e4abf0a76559aab2 | [
"MIT"
] | 1 | 2022-03-18T16:58:40.000Z | 2022-03-18T16:58:40.000Z | python/data/__init__.py | RECCAP2-ocean/scripts | a8af6552f025d0b698787de2e4abf0a76559aab2 | [
"MIT"
] | 2 | 2022-03-04T09:03:46.000Z | 2022-03-11T10:07:34.000Z | from . load_data import get_fnames_recursive_search, open_reccap2_ocean_data, conform_dataset
from . save_data import save_dataset_with_compression
from . load_regions import get_reccap2ocean_regions, get_southern_ocean_subregions
from . download import download
regions = get_reccap2ocean_regions()
| 33.666667 | 93 | 0.871287 | 41 | 303 | 5.95122 | 0.512195 | 0.065574 | 0.180328 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010949 | 0.09571 | 303 | 8 | 94 | 37.875 | 0.879562 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
1a077d2f1fd8889b8f60851cb7940ec8abc28567 | 420 | py | Python | mmseg/core/__init__.py | rehohoho/mmsegmentation | a73ae7a421e07741fda62c9d81b335cbc4b7f7d6 | [
"Apache-2.0"
] | 1 | 2022-03-07T19:46:03.000Z | 2022-03-07T19:46:03.000Z | mmseg/core/__init__.py | rehohoho/mmsegmentation | a73ae7a421e07741fda62c9d81b335cbc4b7f7d6 | [
"Apache-2.0"
] | 2 | 2022-02-25T03:07:23.000Z | 2022-03-08T12:54:05.000Z | mmseg/core/__init__.py | rehohoho/mmsegmentation | a73ae7a421e07741fda62c9d81b335cbc4b7f7d6 | [
"Apache-2.0"
] | 1 | 2022-02-14T09:44:41.000Z | 2022-02-14T09:44:41.000Z | # Copyright (c) OpenMMLab. All rights reserved.
from .builder import (OPTIMIZER_BUILDERS, build_optimizer,
build_optimizer_constructor)
from .evaluation import * # noqa: F401, F403
from .optimizers import * # noqa: F401, F403
from .seg import * # noqa: F401, F403
from .utils import * # noqa: F... | 35 | 74 | 0.704762 | 48 | 420 | 5.916667 | 0.416667 | 0.197183 | 0.197183 | 0.253521 | 0.626761 | 0.394366 | 0.394366 | 0 | 0 | 0 | 0 | 0.071217 | 0.197619 | 420 | 11 | 75 | 38.181818 | 0.771513 | 0.269048 | 0 | 0 | 0 | 0 | 0.199336 | 0.089701 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.555556 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
1a2291b4a933671cb52db7d0a48e2aa5817d1aca | 415 | py | Python | common/gateways/notification.py | rkisdp/rkisdp.django.backend | 771481cdeea6a101305c4819b06b839266ce6921 | [
"MIT"
] | null | null | null | common/gateways/notification.py | rkisdp/rkisdp.django.backend | 771481cdeea6a101305c4819b06b839266ce6921 | [
"MIT"
] | null | null | null | common/gateways/notification.py | rkisdp/rkisdp.django.backend | 771481cdeea6a101305c4819b06b839266ce6921 | [
"MIT"
] | null | null | null | # python imports
from __future__ import unicode_literals
# project imports
from common.models import Notification as NotificationModel
def get_notification(pk: int, user_id: int, type: str):
return NotificationModel.objects.get(pk=pk, user_id=user_id, type=type)
def filter_by_user_and_type(user_id: int, type: ... | 29.642857 | 88 | 0.804819 | 63 | 415 | 4.984127 | 0.412698 | 0.11465 | 0.057325 | 0.082803 | 0.541401 | 0.541401 | 0.433121 | 0.292994 | 0 | 0 | 0 | 0 | 0.115663 | 415 | 13 | 89 | 31.923077 | 0.855586 | 0.072289 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
c54e6fdb7ff4eb2a3e8e911beee1f37d2cf9d160 | 160 | py | Python | polyparser/examples1.py | cmu-mars/marspolyparser | 6e4b596394ee0fffae9d9218018f32ad7d9c93ea | [
"MIT"
] | null | null | null | polyparser/examples1.py | cmu-mars/marspolyparser | 6e4b596394ee0fffae9d9218018f32ad7d9c93ea | [
"MIT"
] | null | null | null | polyparser/examples1.py | cmu-mars/marspolyparser | 6e4b596394ee0fffae9d9218018f32ad7d9c93ea | [
"MIT"
] | null | null | null | from func_util import function_utilities
poly = function_utilities.PolyGen()
poly_example = poly.generatepoly(("x", "y"), [0, 10], 3, 10)
print(poly_example) | 22.857143 | 60 | 0.74375 | 23 | 160 | 4.956522 | 0.695652 | 0.298246 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042254 | 0.1125 | 160 | 7 | 61 | 22.857143 | 0.760563 | 0 | 0 | 0 | 1 | 0 | 0.012422 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0.25 | 1 | 0 | 0 | null | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 4 |
c57173826fa48d31e78f1fb9f148774bcb2fdfc2 | 269 | py | Python | web/web-lemonthinker/solve.py | NoXLaw/RaRCTF2021-Challenges-Public | 1a1b094359b88f8ebbc83a6b26d27ffb2602458f | [
"MIT"
] | 2 | 2021-08-09T17:08:12.000Z | 2021-08-09T17:08:17.000Z | web/web-lemonthinker/solve.py | NoXLaw/RaRCTF2021-Challenges-Public | 1a1b094359b88f8ebbc83a6b26d27ffb2602458f | [
"MIT"
] | null | null | null | web/web-lemonthinker/solve.py | NoXLaw/RaRCTF2021-Challenges-Public | 1a1b094359b88f8ebbc83a6b26d27ffb2602458f | [
"MIT"
] | 1 | 2021-10-09T16:51:56.000Z | 2021-10-09T16:51:56.000Z | import requests
import sys
import random
url = sys.argv[1]
filename = str(random.randrange(1000))
requests.post(url+"generate", {"text":f"$(echo \"$(cat /flag.txt)\" > /app/static/images/{filename})"})
r = requests.get(url + "static/images/" + filename)
print(r.text)
| 26.9 | 103 | 0.69145 | 39 | 269 | 4.769231 | 0.641026 | 0.129032 | 0.215054 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020661 | 0.100372 | 269 | 9 | 104 | 29.888889 | 0.747934 | 0 | 0 | 0 | 1 | 0 | 0.249071 | 0.111524 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.375 | 0 | 0.375 | 0.125 | 0 | 0 | 0 | null | 0 | 1 | 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 |
3d6d13c4d1cdf023caa973369936318bbb9b54dc | 45 | py | Python | venv/lib/python3.7/os.py | OseiasBeu/PyECom | 2ea4e7e3be4ca015fb1bbc1083aa3f2d44accc5f | [
"CC0-1.0"
] | 1 | 2020-08-16T04:04:23.000Z | 2020-08-16T04:04:23.000Z | venv/lib/python3.7/os.py | OseiasBeu/PyECom | 2ea4e7e3be4ca015fb1bbc1083aa3f2d44accc5f | [
"CC0-1.0"
] | null | null | null | venv/lib/python3.7/os.py | OseiasBeu/PyECom | 2ea4e7e3be4ca015fb1bbc1083aa3f2d44accc5f | [
"CC0-1.0"
] | null | null | null | /home/oseiasbeu/anaconda3/lib/python3.7/os.py | 45 | 45 | 0.822222 | 8 | 45 | 4.625 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 0 | 45 | 1 | 45 | 45 | 0.755556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
3d7b33c6eb351ff9a7f77e1f2f67e02b94a61ee0 | 16 | py | Python | data/studio21_generated/introductory/2790/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | data/studio21_generated/introductory/2790/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | data/studio21_generated/introductory/2790/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | def dup(arry):
| 8 | 14 | 0.625 | 3 | 16 | 3.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 16 | 2 | 15 | 8 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
3d84d033e7b78c338505d50e0e2a557c8ffd13bc | 4,994 | py | Python | pyembroidery/PecGraphics.py | wwderw/pyembroidery | a61e24bda849a3c8b16e098ac170904a5d68eda8 | [
"MIT"
] | 1 | 2021-12-24T23:21:29.000Z | 2021-12-24T23:21:29.000Z | pyembroidery/PecGraphics.py | wwderw/pyembroidery | a61e24bda849a3c8b16e098ac170904a5d68eda8 | [
"MIT"
] | null | null | null | pyembroidery/PecGraphics.py | wwderw/pyembroidery | a61e24bda849a3c8b16e098ac170904a5d68eda8 | [
"MIT"
] | null | null | null | from math import floor
blank = [
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0xF0, 0xFF, 0xFF, 0xFF, 0xFF, 0x0F,
0x08, 0x00, 0x00, 0x00, 0x00, 0x10,
0x04, 0x00, 0x00, 0x00, 0x00, 0x20,
0x02, 0x00, 0x00, 0x00, 0x00, 0x40,
0x02, 0x00, 0x00, 0x00, 0x00, 0x40,
0x02, 0x00, 0x00, 0x00, 0x00, 0x4... | 30.266667 | 79 | 0.52483 | 608 | 4,994 | 4.225329 | 0.148026 | 0.348774 | 0.355002 | 0.249124 | 0.560919 | 0.527053 | 0.426625 | 0.397042 | 0.397042 | 0.357337 | 0 | 0.22142 | 0.362435 | 4,994 | 164 | 80 | 30.45122 | 0.585427 | 0.026432 | 0 | 0.439394 | 0 | 0 | 0.000854 | 0 | 0 | 0 | 0.195643 | 0 | 0 | 1 | 0.060606 | false | 0.015152 | 0.007576 | 0.007576 | 0.098485 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
3dad004841e881c03918e8ac1143ac04d0620044 | 5,323 | bzl | Python | third_party/org_specs2.bzl | or-shachar/exodus | b28bf8f4c2330de47b8aac21c2bf3c40fda7cbdc | [
"MIT"
] | null | null | null | third_party/org_specs2.bzl | or-shachar/exodus | b28bf8f4c2330de47b8aac21c2bf3c40fda7cbdc | [
"MIT"
] | null | null | null | third_party/org_specs2.bzl | or-shachar/exodus | b28bf8f4c2330de47b8aac21c2bf3c40fda7cbdc | [
"MIT"
] | null | null | null | load("//:import_external.bzl", import_external = "safe_wix_scala_maven_import_external")
def dependencies():
import_external(
name = "org_specs2_classycle",
artifact = "org.specs2:classycle:1.4.3",
jar_sha256 = "9b8cc4f88a5fa8c0e9437ff72f472f9f8e2a7509d94261df6196d5570935d697",
srcjar_sha256... | 35.724832 | 89 | 0.710877 | 496 | 5,323 | 7.092742 | 0.143145 | 0.029847 | 0.132177 | 0.057987 | 0.479818 | 0.450824 | 0.329449 | 0.243036 | 0.22257 | 0.211768 | 0 | 0.275441 | 0.200639 | 5,323 | 148 | 90 | 35.966216 | 0.551351 | 0 | 0 | 0.428571 | 0 | 0 | 0.615818 | 0.609807 | 0 | 0 | 0 | 0 | 0 | 1 | 0.007937 | true | 0 | 0.095238 | 0 | 0.103175 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
3db0b02c631d7181c74e532fcc8057fd3b08f01d | 864 | py | Python | basic algorithms/problem_1.py | nkwib/Data-Structures-Algorithms-Udacity-Nanodegree | 566d93575a33ceda82bd018a2a22a69542625e12 | [
"MIT"
] | null | null | null | basic algorithms/problem_1.py | nkwib/Data-Structures-Algorithms-Udacity-Nanodegree | 566d93575a33ceda82bd018a2a22a69542625e12 | [
"MIT"
] | null | null | null | basic algorithms/problem_1.py | nkwib/Data-Structures-Algorithms-Udacity-Nanodegree | 566d93575a33ceda82bd018a2a22a69542625e12 | [
"MIT"
] | null | null | null | def sqrt(number):
"""
Calculate the floored square root of a number
Args:
number(int): Number to find the floored squared root
Returns:
int: Floored Square Root
"""
try:
if number < 0 :
return 'complex numbers not supported'
elif number >= 0... | 28.8 | 60 | 0.542824 | 121 | 864 | 3.876033 | 0.371901 | 0.153518 | 0.187633 | 0.253731 | 0.283582 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047154 | 0.288194 | 864 | 30 | 61 | 28.8 | 0.715447 | 0.167824 | 0 | 0 | 0 | 0 | 0.183612 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.052632 | false | 0.421053 | 0 | 0 | 0.210526 | 0.578947 | 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 | 0 | 0 | 0 | 1 | 0 | 4 |
3dbae0c85aeee59f145e3a78466b9b8c21aa46eb | 24 | py | Python | CGATReport/version.py | IanSudbery/sphinx-report | 34492b24d3df9261e9c74c3c3d6d4493c258aeac | [
"MIT"
] | null | null | null | CGATReport/version.py | IanSudbery/sphinx-report | 34492b24d3df9261e9c74c3c3d6d4493c258aeac | [
"MIT"
] | null | null | null | CGATReport/version.py | IanSudbery/sphinx-report | 34492b24d3df9261e9c74c3c3d6d4493c258aeac | [
"MIT"
] | null | null | null | __version__ = "0.7.6.1"
| 12 | 23 | 0.625 | 5 | 24 | 2.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 0.125 | 24 | 1 | 24 | 24 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0.291667 | 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 |
3dcca3d17ab8e1f556b578ff07c6322338be5ed2 | 9,172 | py | Python | 4-methylation/7-methylation_motifs_windows.py | parkingvarsson/recombination_rate_variation | e0b046851c001d3368e564ebd5f38766df75bf12 | [
"MIT"
] | 1 | 2021-08-24T10:24:07.000Z | 2021-08-24T10:24:07.000Z | 4-methylation/7-methylation_motifs_windows.py | parkingvarsson/Recombination_rate_variation | e0b046851c001d3368e564ebd5f38766df75bf12 | [
"MIT"
] | null | null | null | 4-methylation/7-methylation_motifs_windows.py | parkingvarsson/Recombination_rate_variation | e0b046851c001d3368e564ebd5f38766df75bf12 | [
"MIT"
] | null | null | null |
##### Script for calculating methylation levels for all three motifs #####
##### in all six individuals in the same file #####
import sys
import pandas as pd
## Config.
# Choose here the window size for your mutation rate estimate.
window_size = 50000
## Actual program
# Tries to read the needed columns of your me... | 58.420382 | 137 | 0.561273 | 1,185 | 9,172 | 4.177215 | 0.130802 | 0.253333 | 0.291717 | 0.149495 | 0.726061 | 0.703636 | 0.697778 | 0.684848 | 0.676768 | 0.676768 | 0 | 0.029985 | 0.261884 | 9,172 | 156 | 138 | 58.794872 | 0.701182 | 0.070432 | 0 | 0.646617 | 0 | 0 | 0.170809 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.030075 | false | 0.007519 | 0.015038 | 0 | 0.067669 | 0.015038 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
3dd8699fb4139398fca9cd5228d0f6aac5d62dec | 14,140 | py | Python | sdk/python/pulumi_datadog/datadog_monitor.py | lemonade-hq/pulumi-datadog | b9abe37914d3cde8c8f11aa37d16cc88568ba5b6 | [
"ECL-2.0",
"Apache-2.0"
] | 3 | 2019-04-19T19:30:48.000Z | 2019-05-28T02:23:19.000Z | sdk/python/pulumi_datadog/datadog_monitor.py | lemonade-hq/pulumi-datadog | b9abe37914d3cde8c8f11aa37d16cc88568ba5b6 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_datadog/datadog_monitor.py | lemonade-hq/pulumi-datadog | b9abe37914d3cde8c8f11aa37d16cc88568ba5b6 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import json
import warnings
import pulumi
import pulumi.runtime
from . import utilities, tables
class DatadogMonitor(pulumi.CustomReso... | 52.177122 | 405 | 0.67942 | 1,890 | 14,140 | 4.959788 | 0.179894 | 0.023042 | 0.029016 | 0.02667 | 0.737892 | 0.728078 | 0.71837 | 0.68978 | 0.682526 | 0.674419 | 0 | 0.008229 | 0.252334 | 14,140 | 270 | 406 | 52.37037 | 0.878453 | 0.385714 | 0 | 0 | 1 | 0 | 0.161236 | 0.011974 | 0 | 0 | 0 | 0 | 0 | 1 | 0.042254 | false | 0 | 0.070423 | 0.028169 | 0.408451 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
3deb883ac7af69df8827715859a846420238396c | 8,847 | py | Python | ptvsd/_vendored/pydevd/tests_python/test_frame_eval_and_tracing.py | rozuur/ptvsd | 046fd0f054b2eed91ec5df02e5f36151b71e36b1 | [
"MIT"
] | 1 | 2019-01-21T17:37:32.000Z | 2019-01-21T17:37:32.000Z | libs/ptvsd/_vendored/pydevd/tests_python/test_frame_eval_and_tracing.py | xieguo/sublime_db | f2a7b0e55e9f0b77b90a9aa2ea4c4f9136db1315 | [
"MIT"
] | null | null | null | libs/ptvsd/_vendored/pydevd/tests_python/test_frame_eval_and_tracing.py | xieguo/sublime_db | f2a7b0e55e9f0b77b90a9aa2ea4c4f9136db1315 | [
"MIT"
] | null | null | null | import os
import platform
import unittest
import pytest
import sys
import time
from tests_python import debugger_unittest
IS_CPYTHON = platform.python_implementation() == 'CPython'
IS_PY36 = sys.version_info[0] == 3 and sys.version_info[1] == 6
TEST_CYTHON = os.getenv('PYDEVD_USE_CYTHON', None) == 'YES'
IS_APPVEYOR ... | 38.973568 | 115 | 0.707924 | 1,208 | 8,847 | 4.879967 | 0.129967 | 0.111959 | 0.061069 | 0.038168 | 0.748261 | 0.748092 | 0.724173 | 0.707549 | 0.695335 | 0.680407 | 0 | 0.015969 | 0.200181 | 8,847 | 227 | 116 | 38.973568 | 0.817128 | 0.077314 | 0 | 0.597015 | 0 | 0 | 0.195191 | 0.014722 | 0 | 0 | 0 | 0 | 0.171642 | 1 | 0.097015 | false | 0 | 0.052239 | 0.007463 | 0.253731 | 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 |
3df66846bf7713be810a376fd2068a5b83e821c3 | 172 | py | Python | osc_bge/form/forms.py | jisuhan3201/osc-bge | 125c441d23d7f1fdb2d9b8f42f859082e757e25a | [
"MIT"
] | null | null | null | osc_bge/form/forms.py | jisuhan3201/osc-bge | 125c441d23d7f1fdb2d9b8f42f859082e757e25a | [
"MIT"
] | 5 | 2020-06-05T19:49:47.000Z | 2021-09-08T00:50:55.000Z | osc_bge/form/forms.py | jisuhan3201/osc-bge | 125c441d23d7f1fdb2d9b8f42f859082e757e25a | [
"MIT"
] | null | null | null | from django import forms
from . import models
class FileboxForm(forms.ModelForm):
class Meta:
model = models.FormalityFile
fields = ('file_source',)
| 17.2 | 36 | 0.680233 | 19 | 172 | 6.105263 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.238372 | 172 | 9 | 37 | 19.111111 | 0.885496 | 0 | 0 | 0 | 0 | 0 | 0.063953 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
9a804acccbaef4898c1983b2dcf3e8a677a1de6b | 85 | py | Python | app/gaia/place/apps.py | mohit4/Gaia | b951c1e23351dc51e74c947f8e125028582d9406 | [
"MIT"
] | 5 | 2018-08-07T07:01:04.000Z | 2021-03-19T00:16:59.000Z | app/gaia/place/apps.py | mohit4/Gaia | b951c1e23351dc51e74c947f8e125028582d9406 | [
"MIT"
] | 1 | 2018-04-30T07:27:03.000Z | 2018-04-30T07:27:03.000Z | app/gaia/place/apps.py | mohit4/Gaia | b951c1e23351dc51e74c947f8e125028582d9406 | [
"MIT"
] | 3 | 2018-08-08T11:57:01.000Z | 2020-10-02T05:42:13.000Z | from django.apps import AppConfig
class PlaceConfig(AppConfig):
name = 'place'
| 14.166667 | 33 | 0.741176 | 10 | 85 | 6.3 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 85 | 5 | 34 | 17 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 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 |
9a9f62632f9739127aa923f7df7f90a538e8c997 | 148 | py | Python | {{cookiecutter.project_slug}}/apps/email/tests/factories.py | ukwahlula/django-server-boilerplate | 6bd4b83511ea7e3370349957cf0b6dbff4003ab1 | [
"BSD-3-Clause"
] | 2 | 2020-10-30T09:47:07.000Z | 2020-10-30T09:48:11.000Z | {{cookiecutter.project_slug}}/apps/email/tests/factories.py | ukwahlula/django-server-boilerplate | 6bd4b83511ea7e3370349957cf0b6dbff4003ab1 | [
"BSD-3-Clause"
] | null | null | null | {{cookiecutter.project_slug}}/apps/email/tests/factories.py | ukwahlula/django-server-boilerplate | 6bd4b83511ea7e3370349957cf0b6dbff4003ab1 | [
"BSD-3-Clause"
] | null | null | null | import factory
from apps.email import models
class EmailFactory(factory.django.DjangoModelFactory):
class Meta:
model = models.Email
| 16.444444 | 54 | 0.75 | 17 | 148 | 6.529412 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189189 | 148 | 8 | 55 | 18.5 | 0.925 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 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 |
9abe279d2e3efb1d86890b4d1f406504c1585ba6 | 18,892 | py | Python | models/cifar/resnet_para.py | GuanhuaWang/pytorch-classification | 529d945db7f277bf4cb4ee8a66c01575bbb1056e | [
"MIT"
] | null | null | null | models/cifar/resnet_para.py | GuanhuaWang/pytorch-classification | 529d945db7f277bf4cb4ee8a66c01575bbb1056e | [
"MIT"
] | null | null | null | models/cifar/resnet_para.py | GuanhuaWang/pytorch-classification | 529d945db7f277bf4cb4ee8a66c01575bbb1056e | [
"MIT"
] | null | null | null | from __future__ import absolute_import
import torch.nn as nn
import math
import torch
__all__ = ['resnet_para', 'resnet164_para']
def conv3x3(in_planes, out_planes, stride=1):
"3x3 convolution with padding"
return nn.Conv2d(in_planes, out_planes, kernel_size=3, stride=stride,
padding=1,... | 43.529954 | 131 | 0.531495 | 2,513 | 18,892 | 3.843613 | 0.07123 | 0.05073 | 0.072678 | 0.052179 | 0.766435 | 0.743969 | 0.732892 | 0.712703 | 0.692929 | 0.680505 | 0 | 0.048022 | 0.343055 | 18,892 | 433 | 132 | 43.630485 | 0.730239 | 0.021755 | 0 | 0.6875 | 0 | 0.005208 | 0.03494 | 0 | 0 | 0 | 0 | 0 | 0.005208 | 1 | 0.028646 | false | 0 | 0.010417 | 0 | 0.072917 | 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 |
9ac64579ffa4d7737010642dfebda096beaef161 | 3,769 | py | Python | to_infect2.py | VincenzoArceri/python-virus | c2e1a7e0d9590ae28d51d308500be2f87ead92f1 | [
"MIT"
] | 35 | 2016-05-11T00:39:45.000Z | 2021-11-30T07:12:47.000Z | to_infect2.py | gustavomonente/-iframe-src-https-pastebin.com-embed_iframe-TapXM978-style-border-none-width-100-if | de55fd9621baab03ed45e7dab0d34c70b8598db3 | [
"MIT"
] | null | null | null | to_infect2.py | gustavomonente/-iframe-src-https-pastebin.com-embed_iframe-TapXM978-style-border-none-width-100-if | de55fd9621baab03ed45e7dab0d34c70b8598db3 | [
"MIT"
] | 21 | 2018-01-13T21:33:38.000Z | 2022-03-30T00:48:29.000Z | print "HELOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO"
######################################################## First script python
# coding=utf-8
# Start Unencrypted
import os
import __main__
import base64
import sys
import StringIO
from Crypto import Random
from Crypto.Cipher import AES
# Decryption function
def decrypt(data):... | 78.520833 | 2,769 | 0.884319 | 227 | 3,769 | 14.563877 | 0.696035 | 0.019661 | 0.00726 | 0.009679 | 0.010284 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121178 | 0.04537 | 3,769 | 48 | 2,770 | 78.520833 | 0.797665 | 0.778456 | 0 | 0.142857 | 0 | 0 | 0.093628 | 0.042913 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0.25 | null | null | 0.035714 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
9ac8b9b31e23042ea1db887f2e48adba42266c8e | 83 | py | Python | django/swiper/user/error.py | Feier-4869/swipe | 97207562b8ec294a2bcc62ef30f2001b39c11309 | [
"MIT"
] | null | null | null | django/swiper/user/error.py | Feier-4869/swipe | 97207562b8ec294a2bcc62ef30f2001b39c11309 | [
"MIT"
] | null | null | null | django/swiper/user/error.py | Feier-4869/swipe | 97207562b8ec294a2bcc62ef30f2001b39c11309 | [
"MIT"
] | null | null | null | PHONE_NOT_EMPTY=1000
PHONE_NOT_FORMAT=1001
SMS_ERROR=1002
PHONE_SMS_NOT_EMPTY=1003
| 16.6 | 24 | 0.903614 | 16 | 83 | 4.1875 | 0.625 | 0.238806 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.202532 | 0.048193 | 83 | 4 | 25 | 20.75 | 0.64557 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
9ad60a25315808c0d460a744b089844d85861311 | 65,351 | py | Python | tests/lib/FA2_test_lib.py | tz1and/tezland-contracts | aee2336dd79c37dcd0eb249361ed3ebc9f1f9f20 | [
"MIT"
] | 5 | 2022-03-22T16:54:21.000Z | 2022-03-26T09:43:03.000Z | tests/lib/FA2_test_lib.py | tz1and/tezland-contracts | aee2336dd79c37dcd0eb249361ed3ebc9f1f9f20 | [
"MIT"
] | null | null | null | tests/lib/FA2_test_lib.py | tz1and/tezland-contracts | aee2336dd79c37dcd0eb249361ed3ebc9f1f9f20 | [
"MIT"
] | null | null | null | import smartpy as sp
admin = sp.test_account("Administrator")
admin2 = sp.test_account("Administrator2")
alice = sp.test_account("Alice")
bob = sp.test_account("Bob")
charlie = sp.test_account("Charlie")
def make_metadata(symbol, name, decimals):
"""Helper function to build metadata JSON bytes values."""
retu... | 35.848053 | 134 | 0.535539 | 7,434 | 65,351 | 4.561878 | 0.053538 | 0.054964 | 0.025005 | 0.030077 | 0.798072 | 0.764898 | 0.730546 | 0.70097 | 0.674166 | 0.637573 | 0 | 0.022592 | 0.358571 | 65,351 | 1,822 | 135 | 35.867728 | 0.78644 | 0.194871 | 0 | 0.584352 | 0 | 0 | 0.081486 | 0.009364 | 0 | 0 | 0 | 0 | 0 | 1 | 0.025265 | false | 0.000815 | 0.000815 | 0 | 0.028525 | 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 |
9adb1629f68a41dce1373b8dcbc5a573eac5f527 | 31 | py | Python | src/features/build_features.py | suppathak/anomaly-detection-HTM | baca3c6bcf68b27ebefb1735d9f73c1cb15a1e0f | [
"FTL"
] | 7 | 2020-06-30T15:44:44.000Z | 2022-03-02T12:23:40.000Z | src/features/build_features.py | suppathak/anomaly-detection-HTM | baca3c6bcf68b27ebefb1735d9f73c1cb15a1e0f | [
"FTL"
] | 39 | 2021-09-09T21:42:19.000Z | 2022-03-21T15:30:08.000Z | src/features/build_features.py | suppathak/anomaly-detection-HTM | baca3c6bcf68b27ebefb1735d9f73c1cb15a1e0f | [
"FTL"
] | 17 | 2020-06-19T20:55:22.000Z | 2021-08-30T16:42:22.000Z | """Feature extraction code."""
| 15.5 | 30 | 0.677419 | 3 | 31 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 31 | 1 | 31 | 31 | 0.75 | 0.774194 | 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 |
9ae6f0353bc0a9bd3a76ad13b89535c4d36c802a | 18,915 | py | Python | angr/procedures/definitions/win32_diagnosticdataquery.py | r4b3rt/angr | c133cfd4f83ffea2a1d9e064241e9459eaabc55f | [
"BSD-2-Clause"
] | null | null | null | angr/procedures/definitions/win32_diagnosticdataquery.py | r4b3rt/angr | c133cfd4f83ffea2a1d9e064241e9459eaabc55f | [
"BSD-2-Clause"
] | null | null | null | angr/procedures/definitions/win32_diagnosticdataquery.py | r4b3rt/angr | c133cfd4f83ffea2a1d9e064241e9459eaabc55f | [
"BSD-2-Clause"
] | null | null | null | # pylint:disable=line-too-long
import logging
from ...sim_type import SimTypeFunction, SimTypeShort, SimTypeInt, SimTypeLong, SimTypeLongLong, SimTypeDouble, SimTypeFloat, SimTypePointer, SimTypeChar, SimStruct, SimTypeFixedSizeArray, SimTypeBottom, SimUnion, SimTypeBool
from ...calling... | 205.597826 | 1,890 | 0.74692 | 1,883 | 18,915 | 7.452469 | 0.114711 | 0.156203 | 0.09834 | 0.154992 | 0.776741 | 0.737333 | 0.698924 | 0.692154 | 0.675337 | 0.653103 | 0 | 0.021014 | 0.079196 | 18,915 | 91 | 1,891 | 207.857143 | 0.784693 | 0.00148 | 0 | 0 | 0 | 0 | 0.255647 | 0.088387 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.102041 | 0 | 0.102041 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
9ae8f93a5a63e7e42d3f6c6307883642f73f2691 | 96 | py | Python | my_tt/my_tt/__init__.py | tanproject/tantan | 9d6653f07be0f6d1d8726cce15789e4fae729725 | [
"Apache-2.0"
] | null | null | null | my_tt/my_tt/__init__.py | tanproject/tantan | 9d6653f07be0f6d1d8726cce15789e4fae729725 | [
"Apache-2.0"
] | 1 | 2020-10-05T07:58:24.000Z | 2020-10-05T07:58:24.000Z | my_tt/my_tt/__init__.py | tanproject/tantan | 9d6653f07be0f6d1d8726cce15789e4fae729725 | [
"Apache-2.0"
] | null | null | null | from libs.orm import path_orm
'''抢在Django加载settings之前,为Django的orm执行猴子补丁,增加缓存功能'''
path_orm() | 24 | 52 | 0.791667 | 11 | 96 | 6.727273 | 0.727273 | 0.189189 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 96 | 4 | 53 | 24 | 0.850575 | 0 | 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 |
b100200861f218b07e680948df07b46bd96d5392 | 222 | py | Python | infoblox/_internal/__init__.py | dylanfmarquis/python-infoblox | 046b2b6b5a3974f86a22de934560254618f652c0 | [
"MIT"
] | 5 | 2016-08-23T20:34:21.000Z | 2022-03-22T01:52:08.000Z | infoblox/_internal/__init__.py | dylanfmarquis/python-infoblox | 046b2b6b5a3974f86a22de934560254618f652c0 | [
"MIT"
] | 9 | 2016-08-24T20:29:47.000Z | 2019-03-01T09:13:08.000Z | infoblox/_internal/__init__.py | dylanfmarquis/python-infoblox | 046b2b6b5a3974f86a22de934560254618f652c0 | [
"MIT"
] | null | null | null | from .a import _a
from .cname import _cname
from .grid import _grid
from .host import _host
from .lease import _lease
from .mx import _mx
from .srv import _srv
from .subnet import _subnet
from .rpz_cname import _rpz_cname
| 22.2 | 33 | 0.797297 | 38 | 222 | 4.368421 | 0.289474 | 0.13253 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162162 | 222 | 9 | 34 | 24.666667 | 0.892473 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
b100aecb2327f53774aafd623b952c2887e7229a | 455 | py | Python | tests/conftest.py | Anaphory/pyconcepticon | 70120b13ba7ba32de01b4fb8a2299b22de4c8d78 | [
"Apache-2.0"
] | null | null | null | tests/conftest.py | Anaphory/pyconcepticon | 70120b13ba7ba32de01b4fb8a2299b22de4c8d78 | [
"Apache-2.0"
] | null | null | null | tests/conftest.py | Anaphory/pyconcepticon | 70120b13ba7ba32de01b4fb8a2299b22de4c8d78 | [
"Apache-2.0"
] | null | null | null | import shutil
import pytest
from pathlib import Path
from pyconcepticon.api import Concepticon
@pytest.fixture
def fixturedir():
return Path(__file__).parent / 'fixtures'
@pytest.fixture(scope='session')
def api():
return Concepticon(Path(__file__).parent / 'fixtures')
@pytest.fixture
def tmprepos(tmpdi... | 19.782609 | 87 | 0.731868 | 56 | 455 | 5.732143 | 0.428571 | 0.121495 | 0.130841 | 0.205607 | 0.218069 | 0.218069 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12967 | 455 | 22 | 88 | 20.681818 | 0.810606 | 0 | 0 | 0.142857 | 0 | 0 | 0.09011 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0 | 0.285714 | 0.142857 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
b1185fc96f72d2a34cdeeb62ebe921584cd8bc4e | 16,833 | py | Python | test/python/set_view/cleanup.py | comforx/couchdb | 88cdd2241ed6b17b39f5e9387b503a3f300527b5 | [
"Apache-2.0"
] | 1 | 2019-01-19T15:53:50.000Z | 2019-01-19T15:53:50.000Z | test/python/set_view/cleanup.py | comforx/couchdb | 88cdd2241ed6b17b39f5e9387b503a3f300527b5 | [
"Apache-2.0"
] | null | null | null | test/python/set_view/cleanup.py | comforx/couchdb | 88cdd2241ed6b17b39f5e9387b503a3f300527b5 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python
try: import simplejson as json
except ImportError: import json
import couchdb
import httplib
import urllib
import time
import common
import unittest
HOST = "localhost:5984"
SET_NAME = "test_suite_set_view"
NUM_PARTS = 4
NUM_DOCS = 400000
DDOC = {
"_id": "_design/test",
"language": "javascrip... | 48.791304 | 106 | 0.632329 | 2,083 | 16,833 | 4.924628 | 0.090254 | 0.079938 | 0.081497 | 0.065022 | 0.794892 | 0.753851 | 0.720316 | 0.702476 | 0.672451 | 0.646617 | 0 | 0.020663 | 0.238104 | 16,833 | 344 | 107 | 48.93314 | 0.779181 | 0.061843 | 0 | 0.54065 | 0 | 0 | 0.278673 | 0 | 0 | 0 | 0 | 0 | 0.357724 | 1 | 0.02439 | false | 0.04878 | 0.03252 | 0 | 0.060976 | 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 |
b122640d47827ba6d1642aafc8ef37fd0210ef6d | 125 | py | Python | bod1801/celery.py | dhs-ncats/bod-18-01-celery | ffe35135b7e2f5dbd1b7c21c8b983b50fd8bda4c | [
"CC0-1.0"
] | null | null | null | bod1801/celery.py | dhs-ncats/bod-18-01-celery | ffe35135b7e2f5dbd1b7c21c8b983b50fd8bda4c | [
"CC0-1.0"
] | null | null | null | bod1801/celery.py | dhs-ncats/bod-18-01-celery | ffe35135b7e2f5dbd1b7c21c8b983b50fd8bda4c | [
"CC0-1.0"
] | null | null | null | from celery import Celery
import bod1801.celeryconfig
app = Celery('bod1801')
app.config_from_object(bod1801.celeryconfig)
| 17.857143 | 44 | 0.824 | 16 | 125 | 6.3125 | 0.5 | 0.237624 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106195 | 0.096 | 125 | 6 | 45 | 20.833333 | 0.787611 | 0 | 0 | 0 | 0 | 0 | 0.056 | 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 |
b125bdcc9c42447978155c8703b24a558c86f4a7 | 974 | py | Python | sentiment/src/tocsv.py | bhimeshchauhan/ML-SentimentClassifier | c8b256c24adf76de869fcddb80f1757a3fca4c17 | [
"MIT"
] | null | null | null | sentiment/src/tocsv.py | bhimeshchauhan/ML-SentimentClassifier | c8b256c24adf76de869fcddb80f1757a3fca4c17 | [
"MIT"
] | null | null | null | sentiment/src/tocsv.py | bhimeshchauhan/ML-SentimentClassifier | c8b256c24adf76de869fcddb80f1757a3fca4c17 | [
"MIT"
] | null | null | null | import csv
import pandas as pd
newf=""
with open('sentiment-neg.txt','r') as f:
for line in f:
newf+=line.strip()+"+-1\n"
f.close()
with open('sentiment-neg.txt','w') as f:
f.write(newf)
f.close()
txt_file = r"sentiment-neg.txt"
csv_file = r"sentiment-neg.csv"
in_txt = csv.reader(open(txt_fil... | 23.756098 | 74 | 0.654004 | 168 | 974 | 3.660714 | 0.232143 | 0.04878 | 0.110569 | 0.068293 | 0.84878 | 0.708943 | 0.708943 | 0.60813 | 0.60813 | 0.60813 | 0 | 0.004831 | 0.149897 | 974 | 40 | 75 | 24.35 | 0.737923 | 0 | 0 | 0.533333 | 0 | 0 | 0.194045 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.066667 | 0 | 0.066667 | 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 |
b12fcfc8b9b459cc034aa033a1195b3575352059 | 164 | py | Python | Diena_5_strings/d5_s28_u1.py | MarisKuz/Python-RTU | 12261d06dc81fa0d98190ca0eb5133d43d517070 | [
"MIT"
] | 8 | 2020-08-31T16:10:54.000Z | 2021-11-24T06:37:37.000Z | Diena_5_strings/d5_s28_u1.py | MarisKuz/Python-RTU | 12261d06dc81fa0d98190ca0eb5133d43d517070 | [
"MIT"
] | 8 | 2021-06-08T22:30:29.000Z | 2022-03-12T00:48:55.000Z | Diena_5_strings/d5_s28_u1.py | MarisKuz/Python-RTU | 12261d06dc81fa0d98190ca0eb5133d43d517070 | [
"MIT"
] | 12 | 2020-09-28T17:06:52.000Z | 2022-02-17T12:12:46.000Z | # 1. uzdevums #
name = input("Ievadiet savu vārdu: ")
reversed_name = name[::-1]
print(f"{reversed_name.capitalize()}, pamatigs juceklis vai ne {name[0].upper()}?") | 41 | 83 | 0.689024 | 23 | 164 | 4.826087 | 0.73913 | 0.216216 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020548 | 0.109756 | 164 | 4 | 83 | 41 | 0.739726 | 0.067073 | 0 | 0 | 0 | 0 | 0.626667 | 0.193333 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b149e23b2c523dbb0034c7fcb5a096e9a89ac545 | 1,951 | py | Python | test/test_ezsignsignature_response_compound.py | ezmaxinc/eZmax-SDK-python | 6794b8001abfb7d9ae18a3b87aba164839b925a0 | [
"MIT"
] | null | null | null | test/test_ezsignsignature_response_compound.py | ezmaxinc/eZmax-SDK-python | 6794b8001abfb7d9ae18a3b87aba164839b925a0 | [
"MIT"
] | null | null | null | test/test_ezsignsignature_response_compound.py | ezmaxinc/eZmax-SDK-python | 6794b8001abfb7d9ae18a3b87aba164839b925a0 | [
"MIT"
] | null | null | null | """
eZmax API Definition (Full)
This API expose all the functionnalities for the eZmax and eZsign applications. # noqa: E501
The version of the OpenAPI document: 1.1.7
Contact: support-api@ezmax.ca
Generated by: https://openapi-generator.tech
"""
import sys
import unittest
import eZmaxApi
from... | 39.816327 | 112 | 0.822142 | 162 | 1,951 | 9.740741 | 0.45679 | 0.053232 | 0.075412 | 0.060837 | 0.158428 | 0.13308 | 0 | 0 | 0 | 0 | 0 | 0.005217 | 0.115838 | 1,951 | 48 | 113 | 40.645833 | 0.909565 | 0.231676 | 0 | 0.12 | 0 | 0 | 0.132968 | 0.127485 | 0 | 0 | 0 | 0.020833 | 0 | 1 | 0.12 | false | 0.12 | 0.4 | 0 | 0.56 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
b19e93c6212a06443c7720d05a0c717bce77f178 | 95 | py | Python | hubconf.py | TheCodez/pytorch-GoogLeNet-FCN | 92de8ffe47cb68638428ac1b6e3343daa8333310 | [
"MIT"
] | 3 | 2019-06-02T23:59:51.000Z | 2020-01-09T09:06:32.000Z | hubconf.py | TheCodez/pytorch-GoogLeNet-FCN | 92de8ffe47cb68638428ac1b6e3343daa8333310 | [
"MIT"
] | 1 | 2019-07-11T18:03:11.000Z | 2019-11-14T08:54:50.000Z | hubconf.py | TheCodez/pytorch-GoogLeNet-FCN | 92de8ffe47cb68638428ac1b6e3343daa8333310 | [
"MIT"
] | 1 | 2019-06-03T04:22:52.000Z | 2019-06-03T04:22:52.000Z | dependencies = ['torch', 'numpy']
from googlenet_fcn.model.googlenet_fcn import googlenet_fcn
| 23.75 | 59 | 0.8 | 12 | 95 | 6.083333 | 0.666667 | 0.493151 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094737 | 95 | 3 | 60 | 31.666667 | 0.848837 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 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 |
b1a9edf420818e1d8b9a416777990c14819fffd1 | 101 | py | Python | hickle/loaders/load_pandas.py | ezekial4/hickle | beb66c7f6abca6dfa41d79ac73932a59f4940256 | [
"MIT"
] | 402 | 2015-01-07T03:10:37.000Z | 2022-03-16T14:23:49.000Z | hickle/loaders/load_pandas.py | ezekial4/hickle | beb66c7f6abca6dfa41d79ac73932a59f4940256 | [
"MIT"
] | 134 | 2015-01-06T17:50:26.000Z | 2022-03-31T12:27:43.000Z | hickle/loaders/load_pandas.py | ezekial4/hickle | beb66c7f6abca6dfa41d79ac73932a59f4940256 | [
"MIT"
] | 82 | 2015-01-05T16:29:16.000Z | 2022-03-29T07:40:36.000Z | import pandas as pd
# TODO: populate with classes to load
class_register = []
exclude_register = []
| 16.833333 | 37 | 0.742574 | 14 | 101 | 5.214286 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178218 | 101 | 5 | 38 | 20.2 | 0.879518 | 0.346535 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
49102a27200066b141ef27f1817ed89375aa4051 | 89 | py | Python | app/app/app/common/common.py | Andurshurrdurr/FlaskMask | d6460e9a7b3782916e20ead32e9e0b50e0c26738 | [
"MIT"
] | null | null | null | app/app/app/common/common.py | Andurshurrdurr/FlaskMask | d6460e9a7b3782916e20ead32e9e0b50e0c26738 | [
"MIT"
] | null | null | null | app/app/app/common/common.py | Andurshurrdurr/FlaskMask | d6460e9a7b3782916e20ead32e9e0b50e0c26738 | [
"MIT"
] | null | null | null | def sayhello(world):
""" Prints out Hello, + argument"""
print "Hello, " + world
| 22.25 | 39 | 0.595506 | 10 | 89 | 5.3 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.235955 | 89 | 3 | 40 | 29.666667 | 0.779412 | 0 | 0 | 0 | 0 | 0 | 0.12963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
4947c76d27953dc50a04b8705bc7d7ad975ada96 | 185 | py | Python | src/api/log/__init__.py | alexpdr/template_fastapi | 510b3675cf88c0b5f79ca5e6797adf7d8578d68a | [
"MIT"
] | null | null | null | src/api/log/__init__.py | alexpdr/template_fastapi | 510b3675cf88c0b5f79ca5e6797adf7d8578d68a | [
"MIT"
] | null | null | null | src/api/log/__init__.py | alexpdr/template_fastapi | 510b3675cf88c0b5f79ca5e6797adf7d8578d68a | [
"MIT"
] | null | null | null | """
Module contains a LogManager class
Uses settings/logs.json to load filters for cleaner
and more usefull log outputs.
"""
from .manager import LogManager
LogManager = LogManager()
| 18.5 | 51 | 0.778378 | 25 | 185 | 5.76 | 0.88 | 0.277778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151351 | 185 | 9 | 52 | 20.555556 | 0.917197 | 0.632432 | 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 |
497abfcf0bdac8aa00071b49a108ea90c1b48c5e | 193 | py | Python | base/context_processors.py | saurabhpetkar/club_portal | 4c0f68ca01f4e4ee7048b58d40226afb9f8ae876 | [
"MIT"
] | 2 | 2019-01-12T08:13:37.000Z | 2019-01-17T19:18:51.000Z | base/context_processors.py | saurabhpetkar/club_portal | 4c0f68ca01f4e4ee7048b58d40226afb9f8ae876 | [
"MIT"
] | 57 | 2018-11-07T05:07:09.000Z | 2022-01-13T01:02:43.000Z | base/context_processors.py | saurabhpetkar/club_portal | 4c0f68ca01f4e4ee7048b58d40226afb9f8ae876 | [
"MIT"
] | 12 | 2018-11-12T20:10:06.000Z | 2019-10-15T16:33:23.000Z | from .models import Club
def clubs_processor(request):
clubs = Club.objects.filter(is_active=True).exclude(name__in=["clubs_portal", "Campus Life Committee"])
return {'clubs': clubs}
| 27.571429 | 107 | 0.735751 | 26 | 193 | 5.269231 | 0.807692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129534 | 193 | 6 | 108 | 32.166667 | 0.815476 | 0 | 0 | 0 | 0 | 0 | 0.196891 | 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 |
4995d7cd39aea0498554d4a6a370b8a64fa0595a | 209 | py | Python | python/benchmark/utils/coord_wise/leq.py | jkomyno/lattice-submodular-maximization | e03c8bcc5fcf5bf79a6ae81f145757cf3fdff7cb | [
"MIT"
] | 1 | 2021-11-16T18:16:42.000Z | 2021-11-16T18:16:42.000Z | python/benchmark/utils/coord_wise/leq.py | jkomyno/lattice-submodular-maximization | e03c8bcc5fcf5bf79a6ae81f145757cf3fdff7cb | [
"MIT"
] | null | null | null | python/benchmark/utils/coord_wise/leq.py | jkomyno/lattice-submodular-maximization | e03c8bcc5fcf5bf79a6ae81f145757cf3fdff7cb | [
"MIT"
] | null | null | null | import numpy as np
from nptyping import NDArray
def leq(x: NDArray[int], y: NDArray[int]) -> bool:
"""
Return True iff x is coordinate-wise less than or equal to y.
"""
return np.all(x <= y)
| 20.9 | 65 | 0.636364 | 35 | 209 | 3.8 | 0.714286 | 0.150376 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.244019 | 209 | 9 | 66 | 23.222222 | 0.841772 | 0.291866 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
b8c7835b84a3e0467752bf3bc274a375d5c9f602 | 266 | py | Python | exchanges/twse/spiders/__init__.py | shwang-bk/fin4crawl | 3c86add7c30817b1d739e510c321f631a43b9c71 | [
"MIT"
] | 1 | 2020-03-26T14:46:55.000Z | 2020-03-26T14:46:55.000Z | exchanges/twse/spiders/__init__.py | shwang-bk/fin4crawl | 3c86add7c30817b1d739e510c321f631a43b9c71 | [
"MIT"
] | null | null | null | exchanges/twse/spiders/__init__.py | shwang-bk/fin4crawl | 3c86add7c30817b1d739e510c321f631a43b9c71 | [
"MIT"
] | 1 | 2021-04-10T00:53:14.000Z | 2021-04-10T00:53:14.000Z | from .stock.info import StockInfoSpider
from .stock.branch import BranchSettlementSpider
from .stock.investor import InvestorTradingSpider
from .stock.margin import MarginTradingSpider
from .stock.quote import QuoteSpider
from .warrant.info import WarrantInfoSpider
| 38 | 49 | 0.864662 | 30 | 266 | 7.666667 | 0.5 | 0.195652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090226 | 266 | 6 | 50 | 44.333333 | 0.950413 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
b8f547f563e16c5ceafff5c9df849a36d7218352 | 49 | py | Python | defects/__init__.py | 30Meridian/RozumneMistoSnapshot | 67a83b3908674d01992561dfb37596e395b4d482 | [
"BSD-3-Clause"
] | null | null | null | defects/__init__.py | 30Meridian/RozumneMistoSnapshot | 67a83b3908674d01992561dfb37596e395b4d482 | [
"BSD-3-Clause"
] | null | null | null | defects/__init__.py | 30Meridian/RozumneMistoSnapshot | 67a83b3908674d01992561dfb37596e395b4d482 | [
"BSD-3-Clause"
] | null | null | null | default_app_config = 'defects.apps.DefectsConfig' | 49 | 49 | 0.857143 | 6 | 49 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040816 | 49 | 1 | 49 | 49 | 0.851064 | 0 | 0 | 0 | 0 | 0 | 0.52 | 0.52 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
770938d68e6c5a7d8611c8a66ad039dd0c82b103 | 662 | py | Python | test_python.py | Lenin-RUS/DZ5 | e366131ee39b97505f55101159317f2ca49a652e | [
"Apache-2.0"
] | null | null | null | test_python.py | Lenin-RUS/DZ5 | e366131ee39b97505f55101159317f2ca49a652e | [
"Apache-2.0"
] | null | null | null | test_python.py | Lenin-RUS/DZ5 | e366131ee39b97505f55101159317f2ca49a652e | [
"Apache-2.0"
] | null | null | null | import math
err='Косяк'
assert round(math.pi, 2) == 3.14, err
# assert round(math.pi, 2) == 5.14, err
assert math.sqrt(4) == 2, err
# assert math.sqrt(4) == 2, err
assert math.pow(2,2) == 4, err
# assert math.pow(2,2) == 4, err
assert math.hypot(3,4) == 5, err
# assert math.hypot(3,4) == 5, err
a=(6,4,7,9,3)
asser... | 27.583333 | 71 | 0.58006 | 136 | 662 | 2.823529 | 0.235294 | 0.28125 | 0.203125 | 0.145833 | 0.841146 | 0.638021 | 0.638021 | 0.638021 | 0.554688 | 0.455729 | 0 | 0.157116 | 0.182779 | 662 | 23 | 72 | 28.782609 | 0.55268 | 0.468278 | 0 | 0 | 0 | 0 | 0.014577 | 0 | 0 | 0 | 0 | 0 | 0.7 | 1 | 0 | false | 0 | 0.1 | 0 | 0.1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 1 | 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 |
770e2c07f1f05688b1d5061e64f6a534dc2552e8 | 46 | py | Python | complete-python/web-scraping/quotes-scraper/locators/quotes_page_locators.py | alaindet/learn-python | 44d3b04188af19f4491a505a210b53cd67bae542 | [
"MIT"
] | null | null | null | complete-python/web-scraping/quotes-scraper/locators/quotes_page_locators.py | alaindet/learn-python | 44d3b04188af19f4491a505a210b53cd67bae542 | [
"MIT"
] | null | null | null | complete-python/web-scraping/quotes-scraper/locators/quotes_page_locators.py | alaindet/learn-python | 44d3b04188af19f4491a505a210b53cd67bae542 | [
"MIT"
] | null | null | null | class QuotesPageLocators:
QUOTE = '.quote' | 23 | 25 | 0.717391 | 4 | 46 | 8.25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 46 | 2 | 26 | 23 | 0.868421 | 0 | 0 | 0 | 0 | 0 | 0.12766 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
7716f96e41cb3d134f2189cdb318d2f1a4a05e8b | 417 | py | Python | padertorch/__init__.py | sibange/padertorch | 494692d877f04c66847c2943795b23aea488217d | [
"MIT"
] | 62 | 2019-12-22T08:30:29.000Z | 2022-03-22T11:02:59.000Z | padertorch/__init__.py | sibange/padertorch | 494692d877f04c66847c2943795b23aea488217d | [
"MIT"
] | 47 | 2020-01-06T09:23:47.000Z | 2022-01-24T16:55:06.000Z | padertorch/__init__.py | sibange/padertorch | 494692d877f04c66847c2943795b23aea488217d | [
"MIT"
] | 13 | 2019-12-16T08:12:46.000Z | 2021-11-08T14:37:06.000Z | from padertorch import utils
from padertorch.train import trainer, optimizer
from padertorch.train.trainer import *
from . import base
from . import configurable
from . import data
from . import ops
from . import summary
from . import io
from .base import *
from .configurable import Configurable
from .ops import *
# ... | 24.529412 | 76 | 0.781775 | 61 | 417 | 5.344262 | 0.442623 | 0.214724 | 0.116564 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.167866 | 417 | 16 | 77 | 26.0625 | 0.939481 | 0.177458 | 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 |
77393677856d5115a9b0ceffb790647428a1d092 | 206 | py | Python | main.py | billyeatcookies/discord-chess | bb16e9ca9b00ffb6ddfc21e46ca7ae8cf8062802 | [
"MIT"
] | 6 | 2021-01-21T16:35:41.000Z | 2021-06-30T18:44:27.000Z | main.py | billyeatcookies/discord-chess | bb16e9ca9b00ffb6ddfc21e46ca7ae8cf8062802 | [
"MIT"
] | null | null | null | main.py | billyeatcookies/discord-chess | bb16e9ca9b00ffb6ddfc21e46ca7ae8cf8062802 | [
"MIT"
] | null | null | null | from discord.ext.commands import Bot
import config
client = Bot(command_prefix='.')
# extensions
client.load_extension('cogs.chess')
client.load_extension('cogs.events')
client.run(config.get_token())
| 15.846154 | 36 | 0.771845 | 28 | 206 | 5.535714 | 0.678571 | 0.129032 | 0.245161 | 0.296774 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092233 | 206 | 12 | 37 | 17.166667 | 0.828877 | 0.048544 | 0 | 0 | 0 | 0 | 0.113402 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
773c923a8368d963afea6ae051bf6b0573f84698 | 199 | py | Python | unittest_sandbox/__init__.py | mikeengland/unittest-sandbox | b37f58e59cc02aa9c291876b0fe3e41aee0b5ffd | [
"Apache-2.0"
] | 1 | 2017-08-02T07:37:43.000Z | 2017-08-02T07:37:43.000Z | unittest_sandbox/__init__.py | mikeengland/unittest-sandbox | b37f58e59cc02aa9c291876b0fe3e41aee0b5ffd | [
"Apache-2.0"
] | null | null | null | unittest_sandbox/__init__.py | mikeengland/unittest-sandbox | b37f58e59cc02aa9c291876b0fe3e41aee0b5ffd | [
"Apache-2.0"
] | null | null | null | from .decorators import sandbox
from .patcher import block_socket_access
from .socket import InternetAccessBlockedException
__version__ = '{major}.{minor}.{patch}'.format(major=1, minor=1, patch=0)
| 33.166667 | 73 | 0.798995 | 25 | 199 | 6.12 | 0.64 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016575 | 0.090452 | 199 | 5 | 74 | 39.8 | 0.828729 | 0 | 0 | 0 | 0 | 0 | 0.115578 | 0.115578 | 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 |
7746aec8eea09b4b0d9b6b6fb0e02787b5b1fd3d | 37 | py | Python | WEEKS/CD_Sata-Structures/_RESOURCES/python-prac/mini-scripts/Python_-_Modify_Strings_(lower_case).txt.py | webdevhub42/Lambda | b04b84fb5b82fe7c8b12680149e25ae0d27a0960 | [
"MIT"
] | null | null | null | WEEKS/CD_Sata-Structures/_RESOURCES/python-prac/mini-scripts/Python_-_Modify_Strings_(lower_case).txt.py | webdevhub42/Lambda | b04b84fb5b82fe7c8b12680149e25ae0d27a0960 | [
"MIT"
] | null | null | null | WEEKS/CD_Sata-Structures/_RESOURCES/python-prac/mini-scripts/Python_-_Modify_Strings_(lower_case).txt.py | webdevhub42/Lambda | b04b84fb5b82fe7c8b12680149e25ae0d27a0960 | [
"MIT"
] | null | null | null | a = "Hello, World!"
print(a.lower())
| 12.333333 | 19 | 0.594595 | 6 | 37 | 3.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135135 | 37 | 2 | 20 | 18.5 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0.351351 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
6209dbed68e0094d659918671cde6936ca35301d | 17,554 | py | Python | src/api/jobnavi/views/schedule_views.py | Chromico/bk-base | be822d9bbee544a958bed4831348185a75604791 | [
"MIT"
] | 84 | 2021-06-30T06:20:23.000Z | 2022-03-22T03:05:49.000Z | src/api/jobnavi/views/schedule_views.py | Chromico/bk-base | be822d9bbee544a958bed4831348185a75604791 | [
"MIT"
] | 7 | 2021-06-30T06:21:16.000Z | 2022-03-29T07:36:13.000Z | src/api/jobnavi/views/schedule_views.py | Chromico/bk-base | be822d9bbee544a958bed4831348185a75604791 | [
"MIT"
] | 40 | 2021-06-30T06:21:26.000Z | 2022-03-29T12:42:26.000Z | # -*- coding: utf-8 -*-
"""
Tencent is pleased to support the open source community by making BK-BASE 蓝鲸基础平台 available.
Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
BK-BASE 蓝鲸基础平台 is licensed under the MIT License.
License for BK-BASE 蓝鲸基础平台:
---------------------------------------------... | 38.665198 | 111 | 0.546656 | 1,695 | 17,554 | 5.486726 | 0.185251 | 0.07828 | 0.020645 | 0.017312 | 0.753011 | 0.72914 | 0.719892 | 0.706667 | 0.69828 | 0.693763 | 0 | 0.016915 | 0.353367 | 17,554 | 453 | 112 | 38.750552 | 0.802396 | 0.586704 | 0 | 0.584158 | 0 | 0 | 0.036371 | 0.00719 | 0 | 0 | 0 | 0 | 0 | 1 | 0.069307 | false | 0 | 0.118812 | 0 | 0.316832 | 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 |
62124e0e7d39f0521def13ac05399294499d2037 | 119 | py | Python | balance.py | Abishek05/python-basics | 7be02cd2e0a9291b3de6b6dbb3e25be8beef07b9 | [
"MIT"
] | null | null | null | balance.py | Abishek05/python-basics | 7be02cd2e0a9291b3de6b6dbb3e25be8beef07b9 | [
"MIT"
] | null | null | null | balance.py | Abishek05/python-basics | 7be02cd2e0a9291b3de6b6dbb3e25be8beef07b9 | [
"MIT"
] | null | null | null | # to check if value is in the list
def check(list, value):
if value in list:
return True
return False
| 17 | 34 | 0.638655 | 20 | 119 | 3.8 | 0.6 | 0.184211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.310924 | 119 | 6 | 35 | 19.833333 | 0.926829 | 0.268908 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 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 |
6258496625b7573f949dd80632eb207d8a032f76 | 289 | py | Python | tweetme/core/routing.py | abhishekzgithub/tweet-django | 775b0671f38e0e018dd416d41771fd08821ec741 | [
"MIT"
] | 1 | 2020-02-20T08:52:33.000Z | 2020-02-20T08:52:33.000Z | tweetme/core/routing.py | abhishekzgithub/tweet-django | 775b0671f38e0e018dd416d41771fd08821ec741 | [
"MIT"
] | null | null | null | tweetme/core/routing.py | abhishekzgithub/tweet-django | 775b0671f38e0e018dd416d41771fd08821ec741 | [
"MIT"
] | null | null | null | from rest_framework import routers
from . import views
routee=routers.DefaultRouter()
routee.register(r"tweet",views.TweetSerialView)
#routee.register(r"like",views.LikeSerialView)
#routee.register(r"comment",views.CommentSerialView)
routee.register(r"follow",views.FollowSerialView) | 41.285714 | 53 | 0.816609 | 35 | 289 | 6.714286 | 0.514286 | 0.238298 | 0.255319 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.062284 | 289 | 7 | 54 | 41.285714 | 0.867159 | 0.33218 | 0 | 0 | 0 | 0 | 0.05914 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
627891f355c1b83bb754a39db7a48571c3d9c430 | 189 | py | Python | superstructure/utils.py | fossabot/superstructure | f4ab5cac269fb3dedfbd3a54c441af23edf3840b | [
"MIT"
] | null | null | null | superstructure/utils.py | fossabot/superstructure | f4ab5cac269fb3dedfbd3a54c441af23edf3840b | [
"MIT"
] | null | null | null | superstructure/utils.py | fossabot/superstructure | f4ab5cac269fb3dedfbd3a54c441af23edf3840b | [
"MIT"
] | null | null | null | from .logik import Relation
def is_compatible(bewusstseins_inhalt, x):
if isinstance(x, Relation):
for begriff in bewusstseins_inhalt:
return isinstance(begriff,)
| 23.625 | 43 | 0.708995 | 22 | 189 | 5.954545 | 0.727273 | 0.274809 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 189 | 7 | 44 | 27 | 0.891156 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
629165adb21df1d58070316cd92390336e0280f2 | 151 | py | Python | seadssite/templatetags/json_tag.py | seadsystem/website | d7e8110c012d94c494895fde9951eef728266798 | [
"MIT"
] | 5 | 2016-03-20T07:07:17.000Z | 2018-04-12T16:34:12.000Z | seadssite/templatetags/json_tag.py | seadsystem/website | d7e8110c012d94c494895fde9951eef728266798 | [
"MIT"
] | 22 | 2015-11-04T23:11:41.000Z | 2016-05-19T00:08:54.000Z | seadssite/templatetags/json_tag.py | seadsystem/website | d7e8110c012d94c494895fde9951eef728266798 | [
"MIT"
] | 4 | 2015-10-29T01:46:44.000Z | 2018-04-09T22:05:28.000Z | import simplejson
from django import template
register = template.Library()
@register.filter
def dumpjson(data):
return simplejson.dumps(data)
| 13.727273 | 33 | 0.774834 | 18 | 151 | 6.5 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145695 | 151 | 10 | 34 | 15.1 | 0.906977 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.166667 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
656e691113ee2cbc1f8a577f615f3cd299c81fd9 | 643 | py | Python | portfolio/admin.py | fallenhitokiri/catntent | 018764c268eb024ead53667746f2466116af27fc | [
"BSD-2-Clause-FreeBSD"
] | 1 | 2020-10-16T03:33:15.000Z | 2020-10-16T03:33:15.000Z | portfolio/admin.py | fallenhitokiri/catntent | 018764c268eb024ead53667746f2466116af27fc | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | portfolio/admin.py | fallenhitokiri/catntent | 018764c268eb024ead53667746f2466116af27fc | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | # -*- coding: utf-8 -*-
from django.contrib import admin
from portfolio.models import Tech, Job, Shot, Testimonial, Customer, Project
class ProjectAdmin(admin.ModelAdmin):
list_display = ('name', 'added', 'user', 'published')
def save_model(self, request, obj, form, change):
obj.user = request.user
... | 25.72 | 76 | 0.738725 | 77 | 643 | 6.142857 | 0.480519 | 0.215645 | 0.215645 | 0.306554 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001799 | 0.135303 | 643 | 24 | 77 | 26.791667 | 0.848921 | 0.032659 | 0 | 0 | 0 | 0 | 0.035484 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066667 | false | 0.066667 | 0.133333 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
65c5a470d41e191a0d8364217c5e846eb395c3d3 | 375 | py | Python | stratifi_tests/scheduler.py | DashkevichBy/Advisors.stratiFi.frontend | e59892e8c1ff0d15ce6ef520fe0b00355e1a6870 | [
"Apache-2.0"
] | null | null | null | stratifi_tests/scheduler.py | DashkevichBy/Advisors.stratiFi.frontend | e59892e8c1ff0d15ce6ef520fe0b00355e1a6870 | [
"Apache-2.0"
] | null | null | null | stratifi_tests/scheduler.py | DashkevichBy/Advisors.stratiFi.frontend | e59892e8c1ff0d15ce6ef520fe0b00355e1a6870 | [
"Apache-2.0"
] | null | null | null | import schedule
import time
import os
def job():
print("I'm working...")
os.system("pytest --html=report.html")
schedule.every(60).minutes.do(job)
# schedule.every().hour.do(job)
# schedule.every().day.at("10:30").do(job)
# schedule.every().monday.do(job)
# schedule.every().wednesday.at("13:15").do(job)
wh... | 18.75 | 48 | 0.669333 | 58 | 375 | 4.310345 | 0.568966 | 0.26 | 0.208 | 0.288 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033435 | 0.122667 | 375 | 19 | 49 | 19.736842 | 0.726444 | 0.397333 | 0 | 0 | 0 | 0 | 0.176471 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | true | 0 | 0.3 | 0 | 0.4 | 0.1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
02905a09c0a0b6f1cae9ad3196b74c5ddb5c667b | 583 | py | Python | src/earth.py | IsakJones/space_invaders | 7f8ea85722d2420b403ce307ecbd16c3da4942d8 | [
"MIT"
] | null | null | null | src/earth.py | IsakJones/space_invaders | 7f8ea85722d2420b403ce307ecbd16c3da4942d8 | [
"MIT"
] | null | null | null | src/earth.py | IsakJones/space_invaders | 7f8ea85722d2420b403ce307ecbd16c3da4942d8 | [
"MIT"
] | null | null | null | """
DOCSTRING
The unseen earth that the ship is defending from the space invaders.
Only has an attribute with the number of lives, but adds a
method returning true if a spaceinvader makes it past the ship.
Its lives are represented in the game with the planet icons.
"""
from .constants import Win
from .abstract impo... | 27.761905 | 77 | 0.737564 | 90 | 583 | 4.655556 | 0.666667 | 0.033413 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002119 | 0.190395 | 583 | 20 | 78 | 29.15 | 0.885593 | 0.488851 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.375 | 0.125 | 0.875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
0292993943970a782dcfae3bdcace83a871d2847 | 401 | py | Python | concoord/object/counter.py | denizalti/concoord | 5a51ba2b475f44da221304ea7f0b9118f2e8511a | [
"BSD-3-Clause"
] | 36 | 2015-01-22T15:55:21.000Z | 2019-12-10T00:39:11.000Z | concoord/object/counter.py | liranz/concoord | bdb3798bf200d1cbd04bc50260cddaec6ba2a763 | [
"BSD-3-Clause"
] | 3 | 2016-11-15T16:58:49.000Z | 2018-05-25T11:32:50.000Z | concoord/object/counter.py | liranz/concoord | bdb3798bf200d1cbd04bc50260cddaec6ba2a763 | [
"BSD-3-Clause"
] | 13 | 2015-01-07T00:07:59.000Z | 2018-11-24T04:39:58.000Z | """
@author: Deniz Altinbuken, Emin Gun Sirer
@note: Example counter
@copyright: See LICENSE
"""
class Counter:
def __init__(self, value=0):
self.value = value
def decrement(self):
self.value -= 1
def increment(self):
self.value += 1
def getvalue(self):
return self.val... | 19.095238 | 53 | 0.613466 | 51 | 401 | 4.666667 | 0.529412 | 0.226891 | 0.109244 | 0.117647 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010309 | 0.274314 | 401 | 20 | 54 | 20.05 | 0.80756 | 0.219451 | 0 | 0 | 0 | 0 | 0.07541 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.454545 | false | 0 | 0 | 0.181818 | 0.727273 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
02c07a3c15738bb350a8c7f0dc0e4d440ec41108 | 1,168 | py | Python | reservoirpy/experimental/__init__.py | ariwanski/reservoirpy | 438d8cdc615a127ede681fc7d14fc0112bad9590 | [
"MIT"
] | 1 | 2022-03-16T13:13:37.000Z | 2022-03-16T13:13:37.000Z | reservoirpy/experimental/__init__.py | AmmarKheder/reservoirpy | 6c972f820970fb56a7bf329d47fb2a8d76452ccb | [
"MIT"
] | null | null | null | reservoirpy/experimental/__init__.py | AmmarKheder/reservoirpy | 6c972f820970fb56a7bf329d47fb2a8d76452ccb | [
"MIT"
] | null | null | null | """
=======================================================
Experimental features (:mod:`reservoirpy.experimental`)
=======================================================
.. currentmodule:: reservoirpy.experimental
You can find in this module all features in development and testing for
future releases.
.. warning::... | 30.736842 | 71 | 0.691781 | 137 | 1,168 | 5.883212 | 0.656934 | 0.037221 | 0.032258 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016032 | 0.145548 | 1,168 | 37 | 72 | 31.567568 | 0.791583 | 0.857021 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
02d3376a0359b22f61350b072cc8ceade77c5d92 | 99 | py | Python | canteen/templates/__init__.py | dbl0null/canteen | 3bef22a2059ef6ac5df178324fbc1dba45316e22 | [
"MIT"
] | 2 | 2016-08-24T18:42:41.000Z | 2017-12-08T00:41:02.000Z | canteen/templates/__init__.py | dbl0null/canteen | 3bef22a2059ef6ac5df178324fbc1dba45316e22 | [
"MIT"
] | null | null | null | canteen/templates/__init__.py | dbl0null/canteen | 3bef22a2059ef6ac5df178324fbc1dba45316e22 | [
"MIT"
] | 2 | 2015-09-22T05:36:27.000Z | 2017-12-08T00:41:21.000Z | # -*- coding: utf-8 -*-
"""
templates
~~~~~~~~~
"""
# submodules
from .compiled import *
| 8.25 | 23 | 0.474747 | 8 | 99 | 5.875 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013514 | 0.252525 | 99 | 11 | 24 | 9 | 0.621622 | 0.535354 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
f3052aeec0e8251063ca03e2d71963a0748c6be3 | 171 | py | Python | applications/baseapp/utils/__init__.py | ajitjasrotia/django-project-skeleton | 70e3e06384dfb018f59b1af8c7c3febf2bbcd47c | [
"MIT"
] | 48 | 2018-01-10T11:21:35.000Z | 2021-09-08T23:28:07.000Z | applications/baseapp/utils/__init__.py | ajitjasrotia/django-project-skeleton | 70e3e06384dfb018f59b1af8c7c3febf2bbcd47c | [
"MIT"
] | 26 | 2018-04-20T10:46:00.000Z | 2019-09-21T06:47:13.000Z | applications/baseapp/utils/__init__.py | ajitjasrotia/django-project-skeleton | 70e3e06384dfb018f59b1af8c7c3febf2bbcd47c | [
"MIT"
] | 20 | 2019-03-09T19:46:10.000Z | 2022-03-27T14:57:03.000Z | # isort:skip_file
# flake8: noqa
from .console import console
from .numerify import numerify
from .upload_handler import save_file
from .log import SlackExceptionHandler
| 21.375 | 38 | 0.824561 | 23 | 171 | 6 | 0.608696 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006711 | 0.128655 | 171 | 7 | 39 | 24.428571 | 0.919463 | 0.163743 | 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 |
f305772e02c32d7357a8e57d5b5ad2bcfdd45b15 | 2,175 | py | Python | pyisam/pyisam/core/federationsettings.py | l-farrell/isam-openbanking | aaf06a2671c65119dfbbd8c4f58aa7645e6ef22f | [
"Apache-2.0"
] | null | null | null | pyisam/pyisam/core/federationsettings.py | l-farrell/isam-openbanking | aaf06a2671c65119dfbbd8c4f58aa7645e6ef22f | [
"Apache-2.0"
] | null | null | null | pyisam/pyisam/core/federationsettings.py | l-farrell/isam-openbanking | aaf06a2671c65119dfbbd8c4f58aa7645e6ef22f | [
"Apache-2.0"
] | null | null | null | """
Find more at: https://github.com/l-farrell/isam-ob/settings
"""
from .federation.federations import Federations, Federations9040
from .federation.pointofcontact import PointOfContact
from .federation.accesspolicy import AccessPolicy
from .federation.attributesources import AttributeSources
from .federation.securit... | 38.839286 | 97 | 0.764138 | 217 | 2,175 | 7.290323 | 0.21659 | 0.088496 | 0.189633 | 0.290771 | 0.415297 | 0.328698 | 0.307838 | 0.172566 | 0 | 0 | 0 | 0.047568 | 0.149425 | 2,175 | 55 | 98 | 39.545455 | 0.807568 | 0.027126 | 0 | 0.205882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.205882 | false | 0.588235 | 0.176471 | 0 | 0.588235 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
f31bf24ce97861cae0cf76aa073a344b3248e429 | 87 | py | Python | Python/PycharmProjects/aula 14/main.py | MarcelaSamili/Desafios-do-curso-de-Python | f331e91821c0c25b3e32d2075254ef650292f280 | [
"MIT"
] | null | null | null | Python/PycharmProjects/aula 14/main.py | MarcelaSamili/Desafios-do-curso-de-Python | f331e91821c0c25b3e32d2075254ef650292f280 | [
"MIT"
] | null | null | null | Python/PycharmProjects/aula 14/main.py | MarcelaSamili/Desafios-do-curso-de-Python | f331e91821c0c25b3e32d2075254ef650292f280 | [
"MIT"
] | null | null | null | n = int(input('DIGITE UM NUMERO'))
n2 = int(input('Digite outro'))
r = n + n2
print(r)
| 17.4 | 34 | 0.62069 | 16 | 87 | 3.375 | 0.625 | 0.296296 | 0.518519 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027778 | 0.172414 | 87 | 4 | 35 | 21.75 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0.321839 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.25 | 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 |
b82a6e5c3c25e56ead56c9e18b0ecd547277aa34 | 18 | py | Python | test3.py | Lapin1018/pyneta | 969fc65a064d85de498ee045ac41b49494cc5928 | [
"Apache-2.0"
] | null | null | null | test3.py | Lapin1018/pyneta | 969fc65a064d85de498ee045ac41b49494cc5928 | [
"Apache-2.0"
] | null | null | null | test3.py | Lapin1018/pyneta | 969fc65a064d85de498ee045ac41b49494cc5928 | [
"Apache-2.0"
] | null | null | null | 1 for x in range
| 9 | 17 | 0.666667 | 5 | 18 | 2.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 0.333333 | 18 | 1 | 18 | 18 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b830a1b6599c297cac1b6c8d70935dfd0e0ab6dd | 194 | py | Python | kite_runner/apps.py | thinhnguyenuit/kite_runner | 17f23f872318a78e573b0ff6bed04f783f082de1 | [
"MIT"
] | null | null | null | kite_runner/apps.py | thinhnguyenuit/kite_runner | 17f23f872318a78e573b0ff6bed04f783f082de1 | [
"MIT"
] | 1 | 2021-11-10T16:29:38.000Z | 2021-11-10T16:29:38.000Z | kite_runner/apps.py | thinhnguyenuit/kite_runner | 17f23f872318a78e573b0ff6bed04f783f082de1 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class KiteRunnerConfig(AppConfig):
name = "kite_runner"
verbose_name = "KiteRunner"
def ready(self):
from . import signals # noqa: F401
| 19.4 | 43 | 0.685567 | 22 | 194 | 5.954545 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020134 | 0.231959 | 194 | 9 | 44 | 21.555556 | 0.85906 | 0.051546 | 0 | 0 | 0 | 0 | 0.115385 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | 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 |
b86494f9bbc8bdaa78d90fe701702df04e51b09a | 275 | py | Python | calendars/utils.py | City-of-Turku/munpalvelut_backend | 9baa530f2f3405322f74ccc145641148f253341b | [
"MIT"
] | null | null | null | calendars/utils.py | City-of-Turku/munpalvelut_backend | 9baa530f2f3405322f74ccc145641148f253341b | [
"MIT"
] | null | null | null | calendars/utils.py | City-of-Turku/munpalvelut_backend | 9baa530f2f3405322f74ccc145641148f253341b | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# coding=utf-8
from __future__ import unicode_literals
from django.utils import timezone
DATETIME_FORMAT_SHORT = '%Y-%m-%d %H:%M'
def datetime_formatted_localized(dt, format=DATETIME_FORMAT_SHORT):
return timezone.localtime(dt).strftime(format)
| 22.916667 | 67 | 0.781818 | 40 | 275 | 5.1 | 0.725 | 0.137255 | 0.186275 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004065 | 0.105455 | 275 | 11 | 68 | 25 | 0.825203 | 0.12 | 0 | 0 | 0 | 0 | 0.058333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0.2 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
b8a82230d901ef914efb53aabe8c9cbc9beebc2b | 1,377 | py | Python | mri_works/NodeEditor/modules/ANTs/registration.py | montigno/mri_works | 8ec6ff1500aa34d3540e44e4b0148023cf821f61 | [
"CECILL-B"
] | 2 | 2020-08-20T21:00:53.000Z | 2021-08-16T15:28:51.000Z | mri_works/NodeEditor/modules/ANTs/registration.py | montigno/mri_works | 8ec6ff1500aa34d3540e44e4b0148023cf821f61 | [
"CECILL-B"
] | 3 | 2020-09-24T06:50:43.000Z | 2020-12-15T11:02:04.000Z | mri_works/NodeEditor/modules/ANTs/registration.py | montigno/mri_works | 8ec6ff1500aa34d3540e44e4b0148023cf821f61 | [
"CECILL-B"
] | 1 | 2020-08-20T21:00:59.000Z | 2020-08-20T21:00:59.000Z | class antsRegistration():
def __init__(self, output='', **options):
from subprocess import run
list_options = []
list_options.append('--output')
list_options.append(output)
for op in options:
list_options.append(op)
if options[op]:
list... | 33.585366 | 79 | 0.550472 | 134 | 1,377 | 5.507463 | 0.261194 | 0.178862 | 0.184282 | 0.130081 | 0.787263 | 0.758808 | 0.758808 | 0.647696 | 0.647696 | 0.647696 | 0 | 0.002022 | 0.281772 | 1,377 | 41 | 80 | 33.585366 | 0.744186 | 0 | 0 | 0.647059 | 0 | 0 | 0.053888 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.147059 | false | 0 | 0.058824 | 0.088235 | 0.352941 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b21699d9b82c27688a7586cd2fb541fa634eb4ff | 658 | py | Python | simfempy/fems/data.py | beckerrh/fempy | dd7214ea7f6d81a5200fcb4a91f07a5cd3322e9e | [
"MIT"
] | null | null | null | simfempy/fems/data.py | beckerrh/fempy | dd7214ea7f6d81a5200fcb4a91f07a5cd3322e9e | [
"MIT"
] | 3 | 2018-12-18T16:36:52.000Z | 2019-01-29T18:34:55.000Z | simfempy/fems/data.py | beckerrh/fempy | dd7214ea7f6d81a5200fcb4a91f07a5cd3322e9e | [
"MIT"
] | null | null | null | #=================================================================#
class BdryData(object):
"""
Information for boundary conditions
"""
def __init__(self):
self.bsaved = {}
self.Asaved = {}
def __repr__(self):
return ", ".join("'{}': {}".format(attr, value) for attr, value i... | 32.9 | 123 | 0.483283 | 58 | 658 | 5.206897 | 0.482759 | 0.089404 | 0.13245 | 0.18543 | 0.324503 | 0.324503 | 0.324503 | 0.324503 | 0 | 0 | 0 | 0 | 0.179331 | 658 | 19 | 124 | 34.631579 | 0.559259 | 0.306991 | 0 | 0 | 0 | 0 | 0.061611 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.111111 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
b21c1fc991c606dd6ca313aa55edb0753c739630 | 1,617 | py | Python | easyPass-WS/misha/templates_cli.py | CiganOliviu/esential | 9cb40e89e9c119c5ac4e6e54ab4b5fd657c91462 | [
"MIT"
] | 4 | 2019-08-20T18:57:39.000Z | 2020-02-26T20:54:35.000Z | easyPass-WS/misha/templates_cli.py | CiganOliviu/esential | 9cb40e89e9c119c5ac4e6e54ab4b5fd657c91462 | [
"MIT"
] | null | null | null | easyPass-WS/misha/templates_cli.py | CiganOliviu/esential | 9cb40e89e9c119c5ac4e6e54ab4b5fd657c91462 | [
"MIT"
] | null | null | null | import click
import sys
from setup import environment_variables
sys.path.insert(0, 'dependencies/')
from dependencies.templates import templates
class misha_templates_system():
def __init__(self):
super(misha_templates_system, self).__init__()
@click.command()
@click.option('--file_name', help... | 33 | 96 | 0.732839 | 204 | 1,617 | 5.514706 | 0.196078 | 0.142222 | 0.075556 | 0.102222 | 0.772444 | 0.765333 | 0.765333 | 0.618667 | 0.618667 | 0.618667 | 0 | 0.000751 | 0.176871 | 1,617 | 48 | 97 | 33.6875 | 0.844478 | 0 | 0 | 0.454545 | 0 | 0 | 0.212121 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.181818 | false | 0.060606 | 0.121212 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
b22049c3225f0758273f67bc42409ef6d49df50a | 184 | py | Python | datafiles/__init__.py | le-fantosme/datafiles | 5e810aaf5dc7c57c641f507de6815b41a2dffcc0 | [
"MIT"
] | 1 | 2019-02-14T08:08:41.000Z | 2019-02-14T08:08:41.000Z | datafiles/__init__.py | le-fantosme/datafiles | 5e810aaf5dc7c57c641f507de6815b41a2dffcc0 | [
"MIT"
] | null | null | null | datafiles/__init__.py | le-fantosme/datafiles | 5e810aaf5dc7c57c641f507de6815b41a2dffcc0 | [
"MIT"
] | null | null | null | # pylint: disable=unused-import
from dataclasses import field
from . import converters
from .decorators import auto, datafile
from .managers import Missing
from .models import Model
| 20.444444 | 38 | 0.809783 | 24 | 184 | 6.208333 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141304 | 184 | 8 | 39 | 23 | 0.943038 | 0.157609 | 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 |
b222885315c3cc4f8342dca2f60720c2d110576b | 134 | py | Python | talos/logging/logging_finish.py | zazula/talos | 4a2a2c1c16310a2158692808cb0a6cfe4e4be326 | [
"MIT"
] | 1,536 | 2018-05-15T19:36:16.000Z | 2022-03-31T18:14:11.000Z | talos/logging/logging_finish.py | zazula/talos | 4a2a2c1c16310a2158692808cb0a6cfe4e4be326 | [
"MIT"
] | 522 | 2018-05-12T18:35:06.000Z | 2022-03-20T06:23:52.000Z | talos/logging/logging_finish.py | zazula/talos | 4a2a2c1c16310a2158692808cb0a6cfe4e4be326 | [
"MIT"
] | 304 | 2018-05-16T00:59:44.000Z | 2022-03-17T05:23:21.000Z | def logging_finish(self):
from .results import result_todf
# save the results
self = result_todf(self)
return self
| 14.888889 | 36 | 0.686567 | 18 | 134 | 4.944444 | 0.666667 | 0.224719 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.253731 | 134 | 8 | 37 | 16.75 | 0.89 | 0.119403 | 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 | 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 |
b22e0d69ad71529c3597a25b50f39a310672a492 | 98 | py | Python | dim2_show.py | tf2gan/vae-gan-code-for-reinforced-panel | b4d407b999551ad5fd965cd2bb18c1e5bbba3449 | [
"MIT"
] | 3 | 2022-02-27T10:49:14.000Z | 2022-02-27T10:49:33.000Z | dim2_show.py | tf2gan/vae-gan-code-for-reinforced-panel | b4d407b999551ad5fd965cd2bb18c1e5bbba3449 | [
"MIT"
] | null | null | null | dim2_show.py | tf2gan/vae-gan-code-for-reinforced-panel | b4d407b999551ad5fd965cd2bb18c1e5bbba3449 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Sat May 15 16:57:10 2021
@author: Administrator
"""
| 14 | 36 | 0.571429 | 14 | 98 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173333 | 0.234694 | 98 | 6 | 37 | 16.333333 | 0.573333 | 0.836735 | 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 |
b26635ed2380bc88bffceba63a6c47f0d4ea49d2 | 48 | py | Python | python/models/base.py | domidemps/popote | fc3a4aa386f9225f9690d2743491952f67088c02 | [
"MIT"
] | 5 | 2019-09-29T19:48:43.000Z | 2022-02-10T10:07:46.000Z | python/models/base.py | domidemps/popote | fc3a4aa386f9225f9690d2743491952f67088c02 | [
"MIT"
] | 46 | 2019-09-29T17:42:03.000Z | 2022-02-13T18:14:06.000Z | python/models/base.py | domidemps/popote | fc3a4aa386f9225f9690d2743491952f67088c02 | [
"MIT"
] | null | null | null | from pony.orm import Database
db = Database()
| 9.6 | 29 | 0.729167 | 7 | 48 | 5 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 48 | 4 | 30 | 12 | 0.897436 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
b2851d475b6a72cf1d55222599ddfb70ab250de6 | 8,232 | py | Python | garb/tests/templatetags/garb_menu.py | marcelogumercinocosta/django-garb | 99cdf555ab4b5eaa1aa6ac5df032835d4e2af603 | [
"MIT"
] | 17 | 2020-06-19T19:03:25.000Z | 2021-05-03T15:22:32.000Z | garb/tests/templatetags/garb_menu.py | marcelogumercinocosta/django-garb | 99cdf555ab4b5eaa1aa6ac5df032835d4e2af603 | [
"MIT"
] | null | null | null | garb/tests/templatetags/garb_menu.py | marcelogumercinocosta/django-garb | 99cdf555ab4b5eaa1aa6ac5df032835d4e2af603 | [
"MIT"
] | 1 | 2021-11-25T21:15:06.000Z | 2021-11-25T21:15:06.000Z | from django.conf import settings
from django.contrib.auth.models import Permission
from django.urls import reverse, resolve
from django.utils.encoding import force_text as force_unicode
from garb.tests.models import *
from garb.tests.urls import *
from garb.templatetags.garb_menu import get_menu, Menu, ItemLink, ItemLi... | 42.215385 | 97 | 0.581633 | 1,022 | 8,232 | 4.589041 | 0.109589 | 0.24307 | 0.230917 | 0.226013 | 0.739872 | 0.688699 | 0.644776 | 0.592964 | 0.553092 | 0.542857 | 0 | 0.015555 | 0.242468 | 8,232 | 194 | 98 | 42.43299 | 0.73653 | 0.009718 | 0 | 0.533333 | 0 | 0 | 0.107463 | 0.008607 | 0 | 0 | 0 | 0 | 0.460606 | 1 | 0.054545 | false | 0 | 0.048485 | 0.006061 | 0.139394 | 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 |
a24b709bdc3ba75c66013e4735e49dcca5796c5c | 138 | py | Python | DataProviders/IProvider.py | shaharluftig/DoorKeeper | 768382ac5bca2cc4330b06c1ac561a2675c791e2 | [
"MIT"
] | 1 | 2020-10-04T16:48:33.000Z | 2020-10-04T16:48:33.000Z | DataProviders/IProvider.py | shaharluftig/DoorKeeper | 768382ac5bca2cc4330b06c1ac561a2675c791e2 | [
"MIT"
] | null | null | null | DataProviders/IProvider.py | shaharluftig/DoorKeeper | 768382ac5bca2cc4330b06c1ac561a2675c791e2 | [
"MIT"
] | null | null | null | from Models.UserFace import UserFace
class IProvider:
def get_all_faces_data(self) -> [UserFace]:
raise NotImplementedError
| 19.714286 | 47 | 0.746377 | 16 | 138 | 6.25 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188406 | 138 | 6 | 48 | 23 | 0.892857 | 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 |
a293fbb87e65f7b1a83e36ff1731ae97a9891979 | 120 | py | Python | chapter-05/05-03-GenerateRandomBit-Python/host.py | Djohnnie/Introducing-Microsoft-Quantum-Computing-For-Developers | e437815576bd3576050f7c75b99d47a3c68955c4 | [
"MIT"
] | null | null | null | chapter-05/05-03-GenerateRandomBit-Python/host.py | Djohnnie/Introducing-Microsoft-Quantum-Computing-For-Developers | e437815576bd3576050f7c75b99d47a3c68955c4 | [
"MIT"
] | null | null | null | chapter-05/05-03-GenerateRandomBit-Python/host.py | Djohnnie/Introducing-Microsoft-Quantum-Computing-For-Developers | e437815576bd3576050f7c75b99d47a3c68955c4 | [
"MIT"
] | null | null | null | import qsharp
from _05_03_Quantum import GenerateRandomBit
result = GenerateRandomBit.simulate()
print( int(result) ) | 17.142857 | 44 | 0.816667 | 14 | 120 | 6.785714 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037736 | 0.116667 | 120 | 7 | 45 | 17.142857 | 0.858491 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0.25 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
a297d336999f49db9a745df21da605939e64d128 | 343 | py | Python | ani_sitemap/views.py | AniMcGill/sitemap | a775c3e3cde5d7d145eb7652a82f6389e5001961 | [
"Apache-2.0"
] | null | null | null | ani_sitemap/views.py | AniMcGill/sitemap | a775c3e3cde5d7d145eb7652a82f6389e5001961 | [
"Apache-2.0"
] | null | null | null | ani_sitemap/views.py | AniMcGill/sitemap | a775c3e3cde5d7d145eb7652a82f6389e5001961 | [
"Apache-2.0"
] | null | null | null | from django.contrib.sitemaps import Sitemap
from aninews.models import NewsItem
from django.utils import timezone
# Create your views here.
class NewsSitemap(Sitemap):
changefreq = "weekly"
def items(self):
return NewsItem.objects.filter(published < timezone.now())
def lastmod(self, obj):
... | 22.866667 | 66 | 0.728863 | 42 | 343 | 5.952381 | 0.690476 | 0.08 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189504 | 343 | 14 | 67 | 24.5 | 0.899281 | 0.067055 | 0 | 0 | 0 | 0 | 0.018927 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.333333 | 0.222222 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
a2b59cc361ec06cd27dcf0d0b36da37f3a2ef53c | 2,640 | py | Python | sncosmo/tests/test_builtins.py | mcoughlin/sncosmo | f2933b269bd6d6e767ab93a23f3ab14ee90398f0 | [
"BSD-3-Clause"
] | 51 | 2015-01-14T23:38:36.000Z | 2021-12-29T15:15:10.000Z | sncosmo/tests/test_builtins.py | mcoughlin/sncosmo | f2933b269bd6d6e767ab93a23f3ab14ee90398f0 | [
"BSD-3-Clause"
] | 233 | 2015-01-04T22:49:10.000Z | 2022-03-17T03:48:59.000Z | sncosmo/tests/test_builtins.py | mcoughlin/sncosmo | f2933b269bd6d6e767ab93a23f3ab14ee90398f0 | [
"BSD-3-Clause"
] | 55 | 2015-01-09T00:30:38.000Z | 2022-01-08T17:51:55.000Z | import pytest
import sncosmo
"""Test all of the builtins code.
This file is designed to test that all of the code that loads builtins works,
and only tests a single example for each kind of builtin. A separate file
(test_download_builtins.py) actually makes sure that all of the builtins can be
downloaded and loaded,... | 21.639344 | 79 | 0.780682 | 383 | 2,640 | 5.117493 | 0.289817 | 0.107143 | 0.160714 | 0.246429 | 0.456122 | 0.456122 | 0.456122 | 0.281633 | 0.1 | 0 | 0 | 0.015093 | 0.121591 | 2,640 | 121 | 80 | 21.818182 | 0.830099 | 0 | 0 | 0.323077 | 0 | 0 | 0.068783 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.323077 | true | 0.107692 | 0.030769 | 0 | 0.353846 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
a2f75609ece5b0c2cf85d21538de5e3a716b46e0 | 181 | py | Python | python/code/soma_duas_listas.py | darcamo/python-16h-course | 70c67ff1275d1abfca77ca5f56779c198b81bd0c | [
"MIT"
] | null | null | null | python/code/soma_duas_listas.py | darcamo/python-16h-course | 70c67ff1275d1abfca77ca5f56779c198b81bd0c | [
"MIT"
] | null | null | null | python/code/soma_duas_listas.py | darcamo/python-16h-course | 70c67ff1275d1abfca77ca5f56779c198b81bd0c | [
"MIT"
] | null | null | null | def soma_listas(l1, l2):
saida = []
for i, j in zip(l1, l2):
saida.append(i+j)
return saida
def soma_listas2(l1, l2):
return [i+j for i, j in zip(l1, l2)]
| 18.1 | 40 | 0.563536 | 34 | 181 | 2.941176 | 0.411765 | 0.16 | 0.18 | 0.14 | 0.28 | 0.28 | 0.28 | 0 | 0 | 0 | 0 | 0.069767 | 0.287293 | 181 | 9 | 41 | 20.111111 | 0.705426 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.142857 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
0c132b5d4b8148839ef0dde48c5a814a704fcf94 | 30,054 | py | Python | backend/tests/baserow/contrib/database/field/test_link_row_field_type.py | jacklicn/baserow | 978d9462ededbaa96674a6653028ba19876ea273 | [
"MIT"
] | 1 | 2021-04-13T16:27:58.000Z | 2021-04-13T16:27:58.000Z | backend/tests/baserow/contrib/database/field/test_link_row_field_type.py | jacklicn/baserow | 978d9462ededbaa96674a6653028ba19876ea273 | [
"MIT"
] | null | null | null | backend/tests/baserow/contrib/database/field/test_link_row_field_type.py | jacklicn/baserow | 978d9462ededbaa96674a6653028ba19876ea273 | [
"MIT"
] | null | null | null | import pytest
from rest_framework.status import HTTP_200_OK, HTTP_204_NO_CONTENT, HTTP_400_BAD_REQUEST
from django.shortcuts import reverse
from django.db import connections
from baserow.core.handler import CoreHandler
from baserow.contrib.database.fields.models import Field
from baserow.contrib.database.fields.hand... | 39.440945 | 88 | 0.687895 | 4,113 | 30,054 | 4.680525 | 0.055191 | 0.049452 | 0.036154 | 0.033557 | 0.826606 | 0.789569 | 0.731183 | 0.690925 | 0.651447 | 0.628331 | 0 | 0.013021 | 0.200173 | 30,054 | 761 | 89 | 39.492773 | 0.787836 | 0.045784 | 0 | 0.497623 | 0 | 0 | 0.138978 | 0.0868 | 0 | 0 | 0 | 0 | 0.232964 | 1 | 0.009509 | false | 0.001585 | 0.061807 | 0 | 0.071315 | 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 |
0c1f88e45f6546c8468793ef45670137c94015f2 | 485 | py | Python | ocial/ocial_project/topics/admin.py | kasimbozdag/swe_574 | a77fa29fd80c713cd202ccbb82cfcadfa52b81fa | [
"MIT"
] | 1 | 2019-09-29T12:54:58.000Z | 2019-09-29T12:54:58.000Z | ocial/ocial_project/topics/admin.py | kasimbozdag/swe_574 | a77fa29fd80c713cd202ccbb82cfcadfa52b81fa | [
"MIT"
] | 55 | 2019-09-26T16:29:22.000Z | 2022-02-10T11:28:32.000Z | ocial/ocial_project/topics/admin.py | kasimbozdag/swe_574 | a77fa29fd80c713cd202ccbb82cfcadfa52b81fa | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import *
admin.site.register(Topic)
admin.site.register(Course)
admin.site.register(Learner_Course_Record)
admin.site.register(Learner_Section_Record)
admin.site.register(Learner_Lecture_Record)
admin.site.register(Learner_Quiz_Record)
admin.site.register(Glossary)
admin.... | 28.529412 | 43 | 0.841237 | 68 | 485 | 5.882353 | 0.279412 | 0.2925 | 0.5525 | 0.24 | 0.225 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045361 | 485 | 17 | 44 | 28.529412 | 0.863931 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.133333 | 0 | 0.133333 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0c3eba17fb87986b12b6fec1b85a4a528f183ad0 | 74 | py | Python | etc/demo/demo_edr_explorer.py | informatics-lab/edr_explorer | 80b0572e73569e5106d0a80ca44cc28c22f15974 | [
"BSD-3-Clause"
] | null | null | null | etc/demo/demo_edr_explorer.py | informatics-lab/edr_explorer | 80b0572e73569e5106d0a80ca44cc28c22f15974 | [
"BSD-3-Clause"
] | 31 | 2021-11-12T16:54:05.000Z | 2022-03-25T14:10:07.000Z | etc/demo/demo_edr_explorer.py | informatics-lab/edr_explorer | 80b0572e73569e5106d0a80ca44cc28c22f15974 | [
"BSD-3-Clause"
] | null | null | null | import edr_explorer
explorer = edr_explorer.EDRExplorer()
explorer.layout | 18.5 | 37 | 0.851351 | 9 | 74 | 6.777778 | 0.555556 | 0.360656 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 74 | 4 | 38 | 18.5 | 0.897059 | 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 |
0c641ee61a0904aa4d3ebf10a8f307d9f9c38e84 | 306,552 | py | Python | logo.py | MarioTiara/Pre-Diagnosis-Kidney-Disorders- | 93d534455a4d4013e97aa97c84270b2b10d779df | [
"MIT"
] | null | null | null | logo.py | MarioTiara/Pre-Diagnosis-Kidney-Disorders- | 93d534455a4d4013e97aa97c84270b2b10d779df | [
"MIT"
] | null | null | null | logo.py | MarioTiara/Pre-Diagnosis-Kidney-Disorders- | 93d534455a4d4013e97aa97c84270b2b10d779df | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Resource object code
#
# Created by: The Resource Compiler for PyQt5 (Qt v5.11.2)
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore
qt_resource_data = b"\
\x00\x01\x1c\x76\
\x89\
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\
... | 66.49718 | 130 | 0.716335 | 73,115 | 306,552 | 3.002886 | 0.004199 | 0.00246 | 0.002255 | 0.001804 | 0.00772 | 0.00772 | 0.007415 | 0.007224 | 0.006349 | 0.006349 | 0 | 0.306201 | 0.030357 | 306,552 | 4,609 | 131 | 66.511608 | 0.432433 | 0.000496 | 0 | 0.002177 | 0 | 0.992597 | 0.000003 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0.000435 | false | 0 | 0.000218 | 0 | 0.000653 | 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 |
a7733db99e25ffc4a432387e39376770b33cd9d2 | 93 | py | Python | autonomy_toolkit/ros/__init__.py | uwsbel/autonomy-toolkit | 6eef2a542ccb6d4bef6a6364556f6345d5fa643e | [
"MIT"
] | null | null | null | autonomy_toolkit/ros/__init__.py | uwsbel/autonomy-toolkit | 6eef2a542ccb6d4bef6a6364556f6345d5fa643e | [
"MIT"
] | null | null | null | autonomy_toolkit/ros/__init__.py | uwsbel/autonomy-toolkit | 6eef2a542ccb6d4bef6a6364556f6345d5fa643e | [
"MIT"
] | 1 | 2022-01-29T04:26:03.000Z | 2022-01-29T04:26:03.000Z | # SPDX-License-Identifier: MIT
"""
Files related to ROS for the autonomy_toolkit package
"""
| 18.6 | 53 | 0.752688 | 13 | 93 | 5.307692 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139785 | 93 | 4 | 54 | 23.25 | 0.8625 | 0.892473 | 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 |
a791c1cc686e6fcaf950864f065eb225fca68246 | 131 | py | Python | Week-01/ITI-IoT/Day-03/human.py | MohamedHussein21/DSA20 | d2e1258e8d8a9c8428a1832feed10e0ccd1c15c8 | [
"MIT"
] | null | null | null | Week-01/ITI-IoT/Day-03/human.py | MohamedHussein21/DSA20 | d2e1258e8d8a9c8428a1832feed10e0ccd1c15c8 | [
"MIT"
] | null | null | null | Week-01/ITI-IoT/Day-03/human.py | MohamedHussein21/DSA20 | d2e1258e8d8a9c8428a1832feed10e0ccd1c15c8 | [
"MIT"
] | null | null | null | # بسم الله الرحمن الرحيم
class Human:
def __init__(self, name):
self.name = name
def my_fn():
print(f'الحمد لله') | 16.375 | 29 | 0.625954 | 20 | 131 | 3.85 | 0.8 | 0.207792 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.259542 | 131 | 8 | 30 | 16.375 | 0.793814 | 0.167939 | 0 | 0 | 0 | 0 | 0.083333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0 | 0.6 | 0.2 | 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 |
a7a3c167ad6e776cc3b5d44f0263f43eb28a79b0 | 174 | py | Python | app/polls/filters.py | lexover/polls_rest_api | c03472f009a9d70c760f9862717f21379123b791 | [
"MIT"
] | null | null | null | app/polls/filters.py | lexover/polls_rest_api | c03472f009a9d70c760f9862717f21379123b791 | [
"MIT"
] | null | null | null | app/polls/filters.py | lexover/polls_rest_api | c03472f009a9d70c760f9862717f21379123b791 | [
"MIT"
] | null | null | null | from django_filters import FilterSet
from polls.models import Question
class QuestionFilter(FilterSet):
class Meta:
model = Question
fields = ['poll']
| 17.4 | 36 | 0.701149 | 19 | 174 | 6.368421 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.235632 | 174 | 9 | 37 | 19.333333 | 0.909774 | 0 | 0 | 0 | 0 | 0 | 0.022989 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
a7b0bc729fa63ba930babfb6a3518d13558f2389 | 1,108 | py | Python | cntm_backend/cntm/migrations/0001_initial.py | dzimmerer/cntm2018 | c61987d882a53cc9f428e49f7d91dd0a1413d2e5 | [
"Apache-2.0"
] | 2 | 2018-02-08T21:45:52.000Z | 2018-03-19T14:45:01.000Z | cntm_backend/cntm/migrations/0001_initial.py | dzimmerer/cntm2018 | c61987d882a53cc9f428e49f7d91dd0a1413d2e5 | [
"Apache-2.0"
] | null | null | null | cntm_backend/cntm/migrations/0001_initial.py | dzimmerer/cntm2018 | c61987d882a53cc9f428e49f7d91dd0a1413d2e5 | [
"Apache-2.0"
] | null | null | null | # Generated by Django 2.0.2 on 2018-02-02 12:28
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='User',
fields=[
('id', models.AutoField(aut... | 33.575758 | 114 | 0.538809 | 107 | 1,108 | 5.457944 | 0.523364 | 0.205479 | 0.246575 | 0.328767 | 0.315068 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044619 | 0.312274 | 1,108 | 32 | 115 | 34.625 | 0.721785 | 0.040614 | 0 | 0 | 1 | 0 | 0.070688 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.04 | 0.04 | 0 | 0.2 | 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 |
38fd19b5aa807ba6e5da0dcdcd36dceaf7bb2c2e | 97 | py | Python | apps/planCuentas/apps.py | andipandiber/CajaAhorros | cb0769fc04529088768ea650f9ee048bd9a55837 | [
"MIT"
] | null | null | null | apps/planCuentas/apps.py | andipandiber/CajaAhorros | cb0769fc04529088768ea650f9ee048bd9a55837 | [
"MIT"
] | 8 | 2021-03-30T13:39:24.000Z | 2022-03-12T00:36:15.000Z | apps/planCuentas/apps.py | andresbermeoq/CajaAhorros | cb0769fc04529088768ea650f9ee048bd9a55837 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class PlancuentasConfig(AppConfig):
name = 'planCuentas'
| 16.166667 | 35 | 0.773196 | 10 | 97 | 7.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154639 | 97 | 5 | 36 | 19.4 | 0.914634 | 0 | 0 | 0 | 0 | 0 | 0.113402 | 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 |
ac0e534eddb2e78ebb838c41511663ee65c0de6d | 57 | py | Python | pomodoro/__main__.py | golgor/pomodoro | b828eac1ab61302b0bd2d1d78d03152a65fe01fa | [
"MIT"
] | null | null | null | pomodoro/__main__.py | golgor/pomodoro | b828eac1ab61302b0bd2d1d78d03152a65fe01fa | [
"MIT"
] | 7 | 2020-06-09T18:25:41.000Z | 2020-07-09T14:24:42.000Z | pomodoro/__main__.py | golgor/pomodoro | b828eac1ab61302b0bd2d1d78d03152a65fe01fa | [
"MIT"
] | null | null | null | if __name__ == "__main__":
print("Running Main.py!")
| 19 | 29 | 0.631579 | 7 | 57 | 4 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175439 | 57 | 2 | 30 | 28.5 | 0.595745 | 0 | 0 | 0 | 0 | 0 | 0.421053 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
ac292436debf2bb9be08ec6d4aceba28f82c139d | 213 | py | Python | checkin/forms.py | cjb/quantified-flu | c925c95704de846aab16273807ebc75f52024816 | [
"MIT"
] | 17 | 2020-03-24T18:51:08.000Z | 2022-03-18T21:39:43.000Z | checkin/forms.py | cjb/quantified-flu | c925c95704de846aab16273807ebc75f52024816 | [
"MIT"
] | 39 | 2020-03-25T09:17:52.000Z | 2020-07-23T08:06:42.000Z | checkin/forms.py | cjb/quantified-flu | c925c95704de846aab16273807ebc75f52024816 | [
"MIT"
] | 3 | 2020-03-25T12:18:23.000Z | 2020-05-16T11:03:07.000Z | from django.forms import ModelForm, Select
from .models import CheckinSchedule
class CheckinScheduleForm(ModelForm):
class Meta:
model = CheckinSchedule
fields = ["timezone", "time_string"]
| 21.3 | 44 | 0.723005 | 21 | 213 | 7.285714 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.201878 | 213 | 9 | 45 | 23.666667 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0.089202 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
ac2e46d04f3ed80d2d635ee2a9cf44a8109bb2ec | 349 | py | Python | awsassume/security_token_service.py | zulhilmizainuddin/aws-assumerole | 2aff3af378f4b81d38f89fccbf6cd0f0f3c2e181 | [
"MIT"
] | null | null | null | awsassume/security_token_service.py | zulhilmizainuddin/aws-assumerole | 2aff3af378f4b81d38f89fccbf6cd0f0f3c2e181 | [
"MIT"
] | 1 | 2019-12-28T09:24:10.000Z | 2019-12-28T09:26:47.000Z | awsassume/security_token_service.py | zulhilmizainuddin/aws-assumerole | 2aff3af378f4b81d38f89fccbf6cd0f0f3c2e181 | [
"MIT"
] | null | null | null | import boto3
from abc import ABC, abstractmethod
from awsassume.data_models import AssumedRoleResponse
class SecurityTokenService(ABC):
def __init__(self, region_name: str = None) -> None:
self.client = boto3.client('sts', region_name=region_name)
@abstractmethod
def assume_role(self) -> Assum... | 21.8125 | 66 | 0.733524 | 40 | 349 | 6.175 | 0.575 | 0.121457 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007042 | 0.186246 | 349 | 15 | 67 | 23.266667 | 0.862676 | 0 | 0 | 0 | 0 | 0 | 0.008596 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0.111111 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
3ba4d02617c12301d6058a43d4602f7be1fc6a7c | 624 | py | Python | tests/integrations/test_callable.py | pylipp/robber.py | e84bb0c3dd982a383f3d9da2bf334f94836a7507 | [
"MIT"
] | 23 | 2015-10-27T20:13:46.000Z | 2021-12-22T03:18:29.000Z | tests/integrations/test_callable.py | pylipp/robber.py | e84bb0c3dd982a383f3d9da2bf334f94836a7507 | [
"MIT"
] | 70 | 2016-09-29T07:30:06.000Z | 2020-08-26T06:42:50.000Z | tests/integrations/test_callable.py | pylipp/robber.py | e84bb0c3dd982a383f3d9da2bf334f94836a7507 | [
"MIT"
] | 10 | 2015-05-13T17:35:21.000Z | 2021-05-06T12:40:01.000Z | from unittest import TestCase
from robber import expect
from tests import must_fail
class TestCallableIntegrations(TestCase):
def test_callable_success(self):
def a():
pass
expect(a).to.be.callable()
@must_fail
def test_callable_failure(self):
expect('a').to.be.callab... | 23.111111 | 46 | 0.642628 | 85 | 624 | 4.482353 | 0.270588 | 0.08399 | 0.251969 | 0.19685 | 0.52231 | 0.435696 | 0.141732 | 0 | 0 | 0 | 0 | 0.004255 | 0.246795 | 624 | 26 | 47 | 24 | 0.806383 | 0 | 0 | 0.3 | 0 | 0 | 0.003205 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0.1 | 0.15 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
3bb78b446cde2b9a7b2324de32c90e9f033eca93 | 180 | py | Python | packages/PIPS/validation/Top-level/duplicate03.py | DVSR1966/par4all | 86b33ca9da736e832b568c5637a2381f360f1996 | [
"MIT"
] | 51 | 2015-01-31T01:51:39.000Z | 2022-02-18T02:01:50.000Z | packages/PIPS/validation/Top-level/duplicate03.py | DVSR1966/par4all | 86b33ca9da736e832b568c5637a2381f360f1996 | [
"MIT"
] | 7 | 2017-05-29T09:29:00.000Z | 2019-03-11T16:01:39.000Z | packages/PIPS/validation/Top-level/duplicate03.py | DVSR1966/par4all | 86b33ca9da736e832b568c5637a2381f360f1996 | [
"MIT"
] | 12 | 2015-03-26T08:05:38.000Z | 2022-02-18T02:01:51.000Z | from pyps import workspace
with workspace("duplicate.c","duplicate/duplicate.c", preprocessor_file_name_conflict_handling=True) as w:
print ":".join([f.name for f in w.fun])
| 30 | 106 | 0.755556 | 28 | 180 | 4.714286 | 0.75 | 0.151515 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116667 | 180 | 5 | 107 | 36 | 0.830189 | 0 | 0 | 0 | 0 | 0 | 0.184358 | 0.117318 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.333333 | null | null | 0.333333 | 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 |
3bbf078b51c34ba1af51ed897493ee446952bd35 | 577 | py | Python | TA-linode/bin/ta_linode/aob_py3/jsoncomment/wrapper.py | jriddle-linode/splunk-addon-linode | 5954acd12ef88ab991365ef51072db68aed46aa1 | [
"Apache-2.0"
] | 11 | 2020-01-23T11:32:26.000Z | 2021-09-23T09:24:02.000Z | TA-linode/bin/ta_linode/aob_py3/jsoncomment/wrapper.py | jriddle-linode/splunk-addon-linode | 5954acd12ef88ab991365ef51072db68aed46aa1 | [
"Apache-2.0"
] | 26 | 2019-07-15T02:38:22.000Z | 2021-12-01T04:14:17.000Z | TA-linode/bin/ta_linode/aob_py3/jsoncomment/wrapper.py | jriddle-linode/splunk-addon-linode | 5954acd12ef88ab991365ef51072db68aed46aa1 | [
"Apache-2.0"
] | 6 | 2019-07-14T17:44:06.000Z | 2020-11-17T17:33:23.000Z | #!/bin/python
# coding: utf-8
##########################################################################################################################################
# A Class to simulate dynamic inheritance of Modules and Classes
class GenericWrapper:
def __init__(self, wrapped):
self.wrapped = wrapped... | 36.0625 | 139 | 0.370884 | 38 | 577 | 5.421053 | 0.736842 | 0.160194 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001946 | 0.109185 | 577 | 15 | 140 | 38.466667 | 0.398833 | 0.220104 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.2 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
3bdc36f549760e916758b990305c03e43932448b | 230 | py | Python | System/StringComparison/__init__.py | Grim-es/udon-pie-auto-completion | c2cd86554ed615cdbbb01e19fa40665eafdfaedc | [
"MIT"
] | null | null | null | System/StringComparison/__init__.py | Grim-es/udon-pie-auto-completion | c2cd86554ed615cdbbb01e19fa40665eafdfaedc | [
"MIT"
] | null | null | null | System/StringComparison/__init__.py | Grim-es/udon-pie-auto-completion | c2cd86554ed615cdbbb01e19fa40665eafdfaedc | [
"MIT"
] | null | null | null | from UdonPie import System
from UdonPie.Undefined import *
class StringComparison:
def __new__(cls, arg1=None):
'''
:returns: StringComparison
:rtype: System.StringComparison
'''
pass
| 19.166667 | 39 | 0.630435 | 21 | 230 | 6.714286 | 0.714286 | 0.156028 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006098 | 0.286957 | 230 | 11 | 40 | 20.909091 | 0.853659 | 0.252174 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.2 | 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 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
3beb9c4cb007d2c14f9bd854ceb3a9038e08a4d9 | 61 | py | Python | Hello.py | MyBrothers/Hellomybrother | 9e9e197e4ed08a13b659634794f68fb568ad8fbe | [
"Apache-2.0"
] | null | null | null | Hello.py | MyBrothers/Hellomybrother | 9e9e197e4ed08a13b659634794f68fb568ad8fbe | [
"Apache-2.0"
] | null | null | null | Hello.py | MyBrothers/Hellomybrother | 9e9e197e4ed08a13b659634794f68fb568ad8fbe | [
"Apache-2.0"
] | null | null | null | print("你真是个小机灵鬼")
print("好像写错了")
print("en ")
print("ddddd")
| 12.2 | 17 | 0.655738 | 8 | 61 | 5 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081967 | 61 | 4 | 18 | 15.25 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0.344262 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.