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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1154381e6a1945565d54c720ce76f9a3e693d09c | 57 | py | Python | Century_from_year.py | Diyartalal/Simple_py3 | e88de07559e2ba0be4f0a732bb8374d43c3de5d1 | [
"MIT"
] | null | null | null | Century_from_year.py | Diyartalal/Simple_py3 | e88de07559e2ba0be4f0a732bb8374d43c3de5d1 | [
"MIT"
] | null | null | null | Century_from_year.py | Diyartalal/Simple_py3 | e88de07559e2ba0be4f0a732bb8374d43c3de5d1 | [
"MIT"
] | null | null | null | def centuryFromYear(year):
return int((year+99)/100)
| 19 | 29 | 0.701754 | 8 | 57 | 5 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102041 | 0.140351 | 57 | 2 | 30 | 28.5 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 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 | 1 | 1 | 0 | 0 | 5 |
3a3f79e61db9d230286a30118f54a8fdcf0e8a8b | 57 | py | Python | utils/__init__.py | waleko/libreta | 323d20c52d676a36f47df70f0909eb2bbb7ab753 | [
"Apache-2.0"
] | null | null | null | utils/__init__.py | waleko/libreta | 323d20c52d676a36f47df70f0909eb2bbb7ab753 | [
"Apache-2.0"
] | null | null | null | utils/__init__.py | waleko/libreta | 323d20c52d676a36f47df70f0909eb2bbb7ab753 | [
"Apache-2.0"
] | null | null | null | from .dao import Dao
from .firebase import FirebaseUtils
| 19 | 35 | 0.824561 | 8 | 57 | 5.875 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140351 | 57 | 2 | 36 | 28.5 | 0.959184 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
28ad92c097640fd891dcd4f34a58c803a536cfb6 | 509 | py | Python | azureshell/cache.py | yokawasa/azure-shell | a6bf8b42d9e21a602bc0ff44906d0bacbf28c7a8 | [
"Apache-2.0"
] | 15 | 2017-03-18T00:55:42.000Z | 2021-05-22T13:35:38.000Z | azureshell/cache.py | yokawasa/azure-shell | a6bf8b42d9e21a602bc0ff44906d0bacbf28c7a8 | [
"Apache-2.0"
] | 4 | 2017-03-25T15:15:39.000Z | 2019-01-07T00:32:20.000Z | azureshell/cache.py | yokawasa/azure-shell | a6bf8b42d9e21a602bc0ff44906d0bacbf28c7a8 | [
"Apache-2.0"
] | 2 | 2017-03-19T15:54:20.000Z | 2018-02-10T06:31:25.000Z | # -*- coding: utf-8 -*-
class AzureShellCache:
__inst = None
__cache = {}
@staticmethod
def Instance():
if AzureShellCache.__inst == None:
AzureShellCache()
return AzureShellCache.__inst
def __init__(self):
if AzureShellCache.__inst != None:
raise ... | 21.208333 | 56 | 0.581532 | 54 | 509 | 5.111111 | 0.481481 | 0.344203 | 0.25 | 0.181159 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002833 | 0.306483 | 509 | 23 | 57 | 22.130435 | 0.779037 | 0.041257 | 0 | 0 | 0 | 0 | 0.05144 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.0625 | 0.5625 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
28c38f82fb2721203a1dbad4ad595d69d44c6faf | 283 | py | Python | atlas/foundations_rest_api/src/foundations_rest_api/v2beta/controllers/authentication_controller.py | DeepLearnI/atlas | 8aca652d7e647b4e88530b93e265b536de7055ed | [
"Apache-2.0"
] | 296 | 2020-03-16T19:55:00.000Z | 2022-01-10T19:46:05.000Z | atlas/foundations_rest_api/src/foundations_rest_api/v2beta/controllers/authentication_controller.py | DeepLearnI/atlas | 8aca652d7e647b4e88530b93e265b536de7055ed | [
"Apache-2.0"
] | 57 | 2020-03-17T11:15:57.000Z | 2021-07-10T14:42:27.000Z | atlas/foundations_rest_api/src/foundations_rest_api/v2beta/controllers/authentication_controller.py | DeepLearnI/atlas | 8aca652d7e647b4e88530b93e265b536de7055ed | [
"Apache-2.0"
] | 38 | 2020-03-17T21:06:05.000Z | 2022-02-08T03:19:34.000Z |
from foundations_core_rest_api_components.v1.controllers.authentication_controller import AuthenticationController
from foundations_core_rest_api_components.global_state import app_manager
app_manager.api().add_resource(AuthenticationController, "/api/v2beta/auth/<string:action>") | 56.6 | 114 | 0.890459 | 34 | 283 | 7.029412 | 0.647059 | 0.125523 | 0.158996 | 0.192469 | 0.301255 | 0.301255 | 0 | 0 | 0 | 0 | 0 | 0.007353 | 0.038869 | 283 | 5 | 115 | 56.6 | 0.871324 | 0 | 0 | 0 | 0 | 0 | 0.113074 | 0.113074 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
28c97cb5e38649045f40c45e3fc9ff7d458a93fd | 9,829 | py | Python | tools/refactor/template_parsetab.py | joeedh/fairmotion | 5c322fc012cdd94ddc2f21d68264c845b3c2c770 | [
"MIT"
] | 1 | 2015-05-22T14:11:17.000Z | 2015-05-22T14:11:17.000Z | tools/refactor/template_parsetab.py | joeedh/fairmotion | 5c322fc012cdd94ddc2f21d68264c845b3c2c770 | [
"MIT"
] | 2 | 2021-09-02T20:01:35.000Z | 2022-01-26T19:47:35.000Z | tools/refactor/template_parsetab.py | joeedh/fairmotion | 5c322fc012cdd94ddc2f21d68264c845b3c2c770 | [
"MIT"
] | null | null | null |
# template_parsetab.py
# This file is automatically generated. Do not edit.
# pylint: disable=W,C,R
_tabversion = '3.10'
_lr_method = 'LALR'
_lr_signature = 'template_validateALL ARROW ARROWPARENS ARROW_PRE ASSIGN ASSIGNBAND ASSIGNBOR ASSIGNBXOR ASSIGNDIVIDE ASSIGNLLSHIFT ASSIGNLSHIFT ASSIGNMINUS ASSIGNMOD ASSIGNPLU... | 144.544118 | 3,333 | 0.642995 | 2,009 | 9,829 | 2.985565 | 0.11548 | 0.065355 | 0.092531 | 0.104868 | 0.551517 | 0.511837 | 0.445649 | 0.355285 | 0.309103 | 0.309103 | 0 | 0.226343 | 0.089328 | 9,829 | 67 | 3,334 | 146.701493 | 0.443749 | 0.009462 | 0 | 0.035088 | 1 | 0.017544 | 0.485973 | 0.04758 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.017544 | 0 | 0.017544 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e946398231a3f8524074401244e59c1d960c0483 | 88 | py | Python | eisenmann-backend/user/tests/test_serializer.py | RubenRodrigo/Eisenmann-Inventory | 5abb59a11d43987db3d1742b6f0978c6aa6ee81d | [
"MIT"
] | null | null | null | eisenmann-backend/user/tests/test_serializer.py | RubenRodrigo/Eisenmann-Inventory | 5abb59a11d43987db3d1742b6f0978c6aa6ee81d | [
"MIT"
] | null | null | null | eisenmann-backend/user/tests/test_serializer.py | RubenRodrigo/Eisenmann-Inventory | 5abb59a11d43987db3d1742b6f0978c6aa6ee81d | [
"MIT"
] | null | null | null | import pytest
from django.contrib.auth import get_user_model
# Create your tests here.
| 17.6 | 46 | 0.818182 | 14 | 88 | 5 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 88 | 4 | 47 | 22 | 0.921053 | 0.261364 | 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 | 1 | 0 | 0 | 5 |
3a90fdfac7a3f27541d2729f53a9099445f24d49 | 44 | py | Python | examples/Simple image to image/wsgi.py | dkedar7/fast_dash | 4e4c52801ed430cd84371451c12b4028704993a4 | [
"MIT"
] | 7 | 2022-01-31T12:47:48.000Z | 2022-03-29T23:33:22.000Z | examples/Object detection/wsgi.py | dkedar7/fast_dash | 4e4c52801ed430cd84371451c12b4028704993a4 | [
"MIT"
] | 1 | 2022-03-22T20:38:38.000Z | 2022-03-22T20:38:38.000Z | examples/Translation/wsgi.py | dkedar7/fast_dash | 4e4c52801ed430cd84371451c12b4028704993a4 | [
"MIT"
] | null | null | null | from app import app
server = app.app.server
| 14.666667 | 23 | 0.772727 | 8 | 44 | 4.25 | 0.5 | 0.529412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159091 | 44 | 2 | 24 | 22 | 0.918919 | 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 | 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 | 5 |
3a944f22218f960b7cd75f2a37f7bd8142d5636f | 115 | py | Python | posix_checkapi/TRACES/POT/ut_shims_multipath_asciishift.py | JustinCappos/checkapi | 2508c414869eda3479e1384b1bea65ec1e749d3b | [
"Apache-2.0"
] | null | null | null | posix_checkapi/TRACES/POT/ut_shims_multipath_asciishift.py | JustinCappos/checkapi | 2508c414869eda3479e1384b1bea65ec1e749d3b | [
"Apache-2.0"
] | null | null | null | posix_checkapi/TRACES/POT/ut_shims_multipath_asciishift.py | JustinCappos/checkapi | 2508c414869eda3479e1384b1bea65ec1e749d3b | [
"Apache-2.0"
] | null | null | null | #pragma out
import dylink_portability
dylink_portability.run_unrestricted_repy_code("multipathtest_asciishift.py")
| 28.75 | 76 | 0.895652 | 14 | 115 | 6.928571 | 0.857143 | 0.350515 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 115 | 3 | 77 | 38.333333 | 0.881818 | 0.086957 | 0 | 0 | 0 | 0 | 0.259615 | 0.259615 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
3a9606ad8a99821b89be2b2bb989bf9b4b6df756 | 22,691 | py | Python | abacus/basis.py | Matgen-project/ABACUSflow | 6d210be17aa14e42e531671f15771ca4de0edbbc | [
"MIT"
] | null | null | null | abacus/basis.py | Matgen-project/ABACUSflow | 6d210be17aa14e42e531671f15771ca4de0edbbc | [
"MIT"
] | null | null | null | abacus/basis.py | Matgen-project/ABACUSflow | 6d210be17aa14e42e531671f15771ca4de0edbbc | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Mon Apr 23 20:07:08 2018
@author: Shen Zhen-Xiong
"""
BasisDict = {'LDAmin': {'H': 'H_lda_5.0au_50Ry_2s1p',
'Li': 'Li_lda_8.0au_50Ry_2s2p1d',
'Be': 'Be_lda_8.0au_50Ry_2s2p1d',
'B': 'B_lda_7.0au_50Ry_... | 60.671123 | 68 | 0.438235 | 2,616 | 22,691 | 3.242355 | 0.053135 | 0.101509 | 0.137939 | 0.053054 | 0.953313 | 0.775525 | 0.070031 | 0.008135 | 0 | 0 | 0 | 0.214631 | 0.444582 | 22,691 | 373 | 69 | 60.83378 | 0.458383 | 0.003702 | 0 | 0 | 0 | 0 | 0.462296 | 0.429497 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
3a9babec04978143c2ed9b6f1ced369b1d6977c0 | 162 | py | Python | uumpa_ci_toolbox/ssh/api.py | CloudWebManage/uumpa-ci-toolbox | 807a483b65f3ec28787300499d961338a9d6bc4a | [
"MIT"
] | 3 | 2021-08-30T09:44:19.000Z | 2021-11-08T11:24:05.000Z | uumpa_ci_toolbox/ssh/api.py | CloudWebManage/uumpa-ci-toolbox | 807a483b65f3ec28787300499d961338a9d6bc4a | [
"MIT"
] | null | null | null | uumpa_ci_toolbox/ssh/api.py | CloudWebManage/uumpa-ci-toolbox | 807a483b65f3ec28787300499d961338a9d6bc4a | [
"MIT"
] | 1 | 2021-08-30T07:54:11.000Z | 2021-08-30T07:54:11.000Z | from .. import common
def key_gen(comment, filename):
common.check_call(['ssh-keygen', '-t', 'rsa', '-b', '4096', '-C', comment, '-f', filename, '-N', ''])
| 27 | 105 | 0.574074 | 22 | 162 | 4.136364 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028986 | 0.148148 | 162 | 5 | 106 | 32.4 | 0.630435 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
c95045be0b33a4e34efcf58095956c43f8c08f7f | 117 | py | Python | basic_assignment/26.py | 1212091/python-learning | 30fad66460daf73fd3961cf667ee25b91dee923d | [
"MIT"
] | null | null | null | basic_assignment/26.py | 1212091/python-learning | 30fad66460daf73fd3961cf667ee25b91dee923d | [
"MIT"
] | null | null | null | basic_assignment/26.py | 1212091/python-learning | 30fad66460daf73fd3961cf667ee25b91dee923d | [
"MIT"
] | null | null | null | def generate_list():
output_list = [x ** 2 for x in list(range(1, 21))]
print(output_list)
generate_list()
| 16.714286 | 54 | 0.649573 | 19 | 117 | 3.789474 | 0.631579 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043011 | 0.205128 | 117 | 6 | 55 | 19.5 | 0.731183 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
a310485f1132494a462b4e3fec489c2291b44e65 | 266 | py | Python | tests/serializers/test_toml_serializer.py | next-franciscoalgaba/python-benedict | 81ff459304868327238c322a0a8a203d9d5d4314 | [
"MIT"
] | 365 | 2019-05-21T05:50:30.000Z | 2022-03-29T11:35:35.000Z | tests/serializers/test_toml_serializer.py | next-franciscoalgaba/python-benedict | 81ff459304868327238c322a0a8a203d9d5d4314 | [
"MIT"
] | 78 | 2019-11-16T12:22:54.000Z | 2022-03-14T12:21:30.000Z | tests/serializers/test_toml_serializer.py | next-franciscoalgaba/python-benedict | 81ff459304868327238c322a0a8a203d9d5d4314 | [
"MIT"
] | 26 | 2019-12-16T06:34:12.000Z | 2022-02-28T07:16:41.000Z | # -*- coding: utf-8 -*-
from benedict.serializers import TOMLSerializer
import unittest
class toml_serializer_test_case(unittest.TestCase):
def test_decode_toml(self):
# TODO
pass
def test_encode_toml(self):
# TODO
pass
| 15.647059 | 51 | 0.657895 | 31 | 266 | 5.419355 | 0.677419 | 0.083333 | 0.142857 | 0.190476 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005076 | 0.259399 | 266 | 16 | 52 | 16.625 | 0.847716 | 0.116541 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 0 | 1 | 0.285714 | false | 0.285714 | 0.285714 | 0 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
a32357949e7ebe515cdb46ce0137233a72a297cf | 29 | py | Python | OpenControl/visualize/__init__.py | VNOpenAI/OpenControl | 0087408c57bc77f34f524b28f8c4363b116700bb | [
"MIT"
] | 5 | 2021-07-05T18:03:45.000Z | 2021-07-16T09:31:02.000Z | OpenControl/visualize/__init__.py | VNOpenAI/OpenControl | 0087408c57bc77f34f524b28f8c4363b116700bb | [
"MIT"
] | null | null | null | OpenControl/visualize/__init__.py | VNOpenAI/OpenControl | 0087408c57bc77f34f524b28f8c4363b116700bb | [
"MIT"
] | null | null | null | from .visualize import Logger | 29 | 29 | 0.862069 | 4 | 29 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 29 | 1 | 29 | 29 | 0.961538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
a33ecad3454c58627860527829fe28bcf4da2584 | 74 | py | Python | utils/ocrodeg/__init__.py | LeCongThuong/deep-text-recognition-benchmark | b9f4e5dab9a991435d9ba9e71a89dd6fce20f468 | [
"Apache-2.0"
] | null | null | null | utils/ocrodeg/__init__.py | LeCongThuong/deep-text-recognition-benchmark | b9f4e5dab9a991435d9ba9e71a89dd6fce20f468 | [
"Apache-2.0"
] | null | null | null | utils/ocrodeg/__init__.py | LeCongThuong/deep-text-recognition-benchmark | b9f4e5dab9a991435d9ba9e71a89dd6fce20f468 | [
"Apache-2.0"
] | null | null | null | from __future__ import absolute_import
from utils.ocrodeg import * # noqa | 37 | 38 | 0.824324 | 10 | 74 | 5.6 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135135 | 74 | 2 | 39 | 37 | 0.875 | 0.054054 | 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 | 1 | 0 | 0 | 5 |
a34ed0a1a348e53081cc88913a607736e41cd416 | 208 | py | Python | worker/disable_tensorflow_warning.py | gabrielvv/boom | ba77fc7f52e2e522dadad47c0806b493c9ccf34d | [
"MIT"
] | 1 | 2020-06-09T03:16:12.000Z | 2020-06-09T03:16:12.000Z | worker/disable_tensorflow_warning.py | gabrielvv/boom | ba77fc7f52e2e522dadad47c0806b493c9ccf34d | [
"MIT"
] | 456 | 2020-04-08T09:25:25.000Z | 2021-08-03T05:01:09.000Z | worker/disable_tensorflow_warning.py | gabrielvv/boom | ba77fc7f52e2e522dadad47c0806b493c9ccf34d | [
"MIT"
] | null | null | null | import warnings
# See https://stackoverflow.com/questions/29347987/why-cant-i-suppress-numpy-warnings
# See https://github.com/deezer/spleeter/wiki/4.-API-Reference#logging
warnings.filterwarnings('ignore')
| 34.666667 | 85 | 0.802885 | 28 | 208 | 5.964286 | 0.821429 | 0.131737 | 0.191617 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 0.048077 | 208 | 5 | 86 | 41.6 | 0.79798 | 0.725962 | 0 | 0 | 0 | 0 | 0.113208 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
a358d754e73e16e6f3cd9e659c7fc10e83eea2fb | 94 | py | Python | kubed/tools/leader/__init__.py | joeblackwaslike/kubed | 1ee62e269a53d70177330961dc52b9fe4e84b90d | [
"Apache-2.0"
] | null | null | null | kubed/tools/leader/__init__.py | joeblackwaslike/kubed | 1ee62e269a53d70177330961dc52b9fe4e84b90d | [
"Apache-2.0"
] | null | null | null | kubed/tools/leader/__init__.py | joeblackwaslike/kubed | 1ee62e269a53d70177330961dc52b9fe4e84b90d | [
"Apache-2.0"
] | null | null | null | from . import constants, record, resource_lock, election
from .election import LeaderElection
| 31.333333 | 56 | 0.829787 | 11 | 94 | 7 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117021 | 94 | 2 | 57 | 47 | 0.927711 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
6e57d962fc0024f3840816dc8a74387b48a2e512 | 17 | py | Python | accountant/apps/pages/models.py | opairdrop/Accountant | c902d09a71d9a1b56dbe07811f7bb53522774421 | [
"MIT"
] | 64 | 2017-12-08T04:31:53.000Z | 2022-01-28T14:34:19.000Z | accountant/apps/pages/models.py | jadijadi/Accountant | b758fcd9d7927c98e434034675b21193106487f1 | [
"MIT"
] | 6 | 2018-03-13T17:29:18.000Z | 2022-03-31T19:02:18.000Z | accountant/apps/pages/models.py | jadijadi/Accountant | b758fcd9d7927c98e434034675b21193106487f1 | [
"MIT"
] | 40 | 2018-01-26T19:38:21.000Z | 2021-12-03T16:58:25.000Z | # silence is gold | 17 | 17 | 0.764706 | 3 | 17 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 17 | 1 | 17 | 17 | 0.928571 | 0.882353 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6e7f08dbadef0df4682613c2f853f497e6934439 | 51 | py | Python | documentation_threading/01_threading_functions/example_02.py | software-foundations/learning-distributed-systems | b09f60742a88acf466fcf724e1368b95363682fa | [
"MIT"
] | null | null | null | documentation_threading/01_threading_functions/example_02.py | software-foundations/learning-distributed-systems | b09f60742a88acf466fcf724e1368b95363682fa | [
"MIT"
] | null | null | null | documentation_threading/01_threading_functions/example_02.py | software-foundations/learning-distributed-systems | b09f60742a88acf466fcf724e1368b95363682fa | [
"MIT"
] | null | null | null | import threading
print(threading.current_thread()) | 17 | 33 | 0.843137 | 6 | 51 | 7 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 51 | 3 | 33 | 17 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 | 1 | 0 | 0 | 1 | 0 | 5 |
6ea9dd95ef65906482c67583c7ce5a46c971313a | 1,167 | py | Python | python/anyascii/_data/_0a2.py | casept/anyascii | d4f426b91751254b68eaa84c6cd23099edd668e6 | [
"ISC"
] | null | null | null | python/anyascii/_data/_0a2.py | casept/anyascii | d4f426b91751254b68eaa84c6cd23099edd668e6 | [
"ISC"
] | null | null | null | python/anyascii/_data/_0a2.py | casept/anyascii | d4f426b91751254b68eaa84c6cd23099edd668e6 | [
"ISC"
] | null | null | null | b='kax ka kap kuox kuo kuop kot kox ko kop ket kex ke kep kut kux ku kup kurx kur ggit ggix ggi ggiex ggie ggiep ggat ggax gga ggap gguot gguox gguo gguop ggot ggox ggo ggop gget ggex gge ggep ggut ggux ggu ggup ggurx ggur mgiex mgie mgat mgax mga mgap mguox mguo mguop mgot mgox mgo mgop mgex mge mgep mgut mgux mgu mgu... | 1,167 | 1,167 | 0.77892 | 257 | 1,167 | 3.536965 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.218509 | 1,167 | 1 | 1,167 | 1,167 | 0.996711 | 0 | 0 | 0 | 0 | 1 | 0.995719 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6eacd93b273d75f53caad53a5c5e7d0e4238bac8 | 76,100 | py | Python | navigator/docs/licenses/licensedata.py | FlashSheridan/daml | d7eb4580665d1ad07071b4eaa1814fd41251714a | [
"Apache-2.0"
] | 1 | 2020-11-30T19:41:30.000Z | 2020-11-30T19:41:30.000Z | navigator/docs/licenses/licensedata.py | FlashSheridan/daml | d7eb4580665d1ad07071b4eaa1814fd41251714a | [
"Apache-2.0"
] | 12 | 2021-03-10T13:46:28.000Z | 2022-02-27T02:38:23.000Z | navigator/docs/licenses/licensedata.py | vgangan/daml | a3cad2d6b85c208079d694afde51b38a7397dc80 | [
"Apache-2.0"
] | 1 | 2022-01-28T03:32:17.000Z | 2022-01-28T03:32:17.000Z | # coding: utf8
#
# This script lists hardcoded license info
#
import string
import textwrap
import pystache
import HTMLParser
import extract
# Anonymous Apache 2.0 license
LICENSE_APACHE2 = extract.code_blockify(u'''
Apache License
Version 2.0, January 2004
... | 68.931159 | 1,316 | 0.78042 | 11,775 | 76,100 | 5.039406 | 0.087049 | 0.012134 | 0.012268 | 0.006825 | 0.761978 | 0.730835 | 0.707022 | 0.688788 | 0.677194 | 0.662313 | 0 | 0.010592 | 0.181156 | 76,100 | 1,103 | 1,317 | 68.993654 | 0.941618 | 0.007057 | 0 | 0.131646 | 0 | 0.143038 | 0.977167 | 0.002224 | 0 | 0 | 0 | 0 | 0.007595 | 1 | 0 | false | 0 | 0.010127 | 0 | 0.010127 | 0.001266 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6eb0f8cbe9a94748a529e8deb1ebc074c9b9543a | 25 | py | Python | rasa_nlu/version.py | weizhenzhao/rasa_nlu | 88b4cddcf19b3c65a90ecc458c9fcba4e745140b | [
"Apache-2.0"
] | 18 | 2019-05-07T10:28:32.000Z | 2022-01-22T02:30:30.000Z | rasa_nlu/version.py | weizhenzhao/rasa_nlu | 88b4cddcf19b3c65a90ecc458c9fcba4e745140b | [
"Apache-2.0"
] | 2 | 2019-06-14T17:57:27.000Z | 2020-11-30T02:39:39.000Z | rasa_nlu/version.py | weizhenzhao/rasa_nlu | 88b4cddcf19b3c65a90ecc458c9fcba4e745140b | [
"Apache-2.0"
] | 15 | 2019-03-18T02:21:13.000Z | 2022-01-22T02:32:19.000Z | __version__ = '0.15.0a3'
| 12.5 | 24 | 0.68 | 4 | 25 | 3.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 0.12 | 25 | 1 | 25 | 25 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0.32 | 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 | 1 | 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 | 5 |
6ebd70d3d2d985af235188b1529d4e06ac83a0f1 | 147 | py | Python | processor/test.py | Torbay-Tech/sbkup | 5da307db5dc5b47c3ba11b1c4e53113cbc34bfca | [
"0BSD"
] | null | null | null | processor/test.py | Torbay-Tech/sbkup | 5da307db5dc5b47c3ba11b1c4e53113cbc34bfca | [
"0BSD"
] | null | null | null | processor/test.py | Torbay-Tech/sbkup | 5da307db5dc5b47c3ba11b1c4e53113cbc34bfca | [
"0BSD"
] | null | null | null |
#TEST the HTML Genenaration without downloading again
from lib.core.htmlgenerator import HtmlGenerator
hg = HtmlGenerator()
hg.generateHtmlView() | 29.4 | 53 | 0.829932 | 17 | 147 | 7.176471 | 0.823529 | 0.245902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108844 | 147 | 5 | 54 | 29.4 | 0.931298 | 0.353742 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
6eddd66aa431335abea15b90700ff2c5e23502e2 | 102 | py | Python | examples/django-desktop/gui.py | copyit/flaskwebgui | 9b5e8342d598754a59d310562b5a664373fee385 | [
"MIT"
] | 1 | 2021-12-08T04:00:02.000Z | 2021-12-08T04:00:02.000Z | examples/django-desktop/gui.py | Jpbroadvision/flaskwebgui | 11e68fc61384d413c839e7c1c6d0c386803af2f0 | [
"MIT"
] | null | null | null | examples/django-desktop/gui.py | Jpbroadvision/flaskwebgui | 11e68fc61384d413c839e7c1c6d0c386803af2f0 | [
"MIT"
] | null | null | null | from flaskwebgui import FlaskUI
from djangodesktop.wsgi import application as app
FlaskUI(app).run() | 20.4 | 49 | 0.823529 | 14 | 102 | 6 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 102 | 5 | 50 | 20.4 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
6ee776b9dedcdc2a7a128156871a3931d775e6f6 | 31 | py | Python | pyLLVM/__init__.py | lukarao/pyLLVM | 9f04c5d2f89b9adef3e5d0067f44d9b62bfa9f0a | [
"MIT"
] | null | null | null | pyLLVM/__init__.py | lukarao/pyLLVM | 9f04c5d2f89b9adef3e5d0067f44d9b62bfa9f0a | [
"MIT"
] | null | null | null | pyLLVM/__init__.py | lukarao/pyLLVM | 9f04c5d2f89b9adef3e5d0067f44d9b62bfa9f0a | [
"MIT"
] | null | null | null | from .pyllvm import operations
| 15.5 | 30 | 0.83871 | 4 | 31 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
42efdc7af2cf9874c693ca5c842e65bf61e1f086 | 66 | py | Python | neuralocalize/__init__.py | kessido/Neuroscience-seminar | 09c137638e49a12f9389fb37ed1a810be3cbb7be | [
"MIT"
] | 2 | 2019-04-18T12:59:37.000Z | 2019-10-07T10:46:17.000Z | neuralocalize/__init__.py | kessido/Neuroscience-seminar | 09c137638e49a12f9389fb37ed1a810be3cbb7be | [
"MIT"
] | null | null | null | neuralocalize/__init__.py | kessido/Neuroscience-seminar | 09c137638e49a12f9389fb37ed1a810be3cbb7be | [
"MIT"
] | 3 | 2018-10-07T10:38:40.000Z | 2019-04-18T12:55:29.000Z | from .prediction import Localizer
from .utils.utils import Subject | 33 | 33 | 0.848485 | 9 | 66 | 6.222222 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106061 | 66 | 2 | 34 | 33 | 0.949153 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
6e41436d2744f8732f41c8b1fae0ff8b3d6751a9 | 562 | py | Python | experiments/0.8/crosscompute/exceptions.py | kashfifahim/crosscompute | 9ac6218265348e337a0e50554d861211c42dc46a | [
"MIT"
] | 11 | 2016-05-23T08:44:22.000Z | 2022-03-01T21:11:11.000Z | experiments/0.8/crosscompute/exceptions.py | kashfifahim/crosscompute | 9ac6218265348e337a0e50554d861211c42dc46a | [
"MIT"
] | 40 | 2016-03-19T14:11:55.000Z | 2022-03-18T00:26:53.000Z | experiments/0.8/crosscompute/exceptions.py | kashfifahim/crosscompute | 9ac6218265348e337a0e50554d861211c42dc46a | [
"MIT"
] | 6 | 2016-04-02T16:44:06.000Z | 2022-01-23T01:26:58.000Z | from pyramid.httpexceptions import HTTPBadRequest, HTTPInternalServerError
class CrossComputeError(Exception):
pass
class CrossComputeConnectionError(HTTPInternalServerError, CrossComputeError):
pass
class CrossComputeDefinitionError(HTTPBadRequest, CrossComputeError):
pass
class CrossComputeExecuti... | 20.814815 | 78 | 0.825623 | 35 | 562 | 13.257143 | 0.457143 | 0.096983 | 0.224138 | 0.211207 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129893 | 562 | 26 | 79 | 21.615385 | 0.948875 | 0 | 0 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.428571 | 0.071429 | 0 | 0.5 | 0 | 0 | 0 | 1 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
282f0ff278ed0c907125abb91526b0021a560b8b | 5,128 | py | Python | uncertainty_utils.py | aldakata/ClassConditionalC2D | dd73e1d4d5f0f82438340211e3c479dbd16b8ffc | [
"MIT"
] | 1 | 2022-02-18T22:20:56.000Z | 2022-02-18T22:20:56.000Z | uncertainty_utils.py | aldakata/ClassConditionalC2D | dd73e1d4d5f0f82438340211e3c479dbd16b8ffc | [
"MIT"
] | null | null | null | uncertainty_utils.py | aldakata/ClassConditionalC2D | dd73e1d4d5f0f82438340211e3c479dbd16b8ffc | [
"MIT"
] | null | null | null | import numpy as np
from sklearn.mixture import GaussianMixture
import torch
def log_loss(epoch, losses_clean, pred, loss_log):
loss_log.write('{},{},{},{},{}\n'.format(epoch, losses_clean[pred].mean(dim=1), losses_clean[pred].std(dim=1),
losses_clean[~pred].m... | 46.618182 | 220 | 0.656201 | 805 | 5,128 | 4.070807 | 0.151553 | 0.054928 | 0.093378 | 0.0769 | 0.787916 | 0.787916 | 0.759231 | 0.725053 | 0.725053 | 0.725053 | 0 | 0.024831 | 0.191108 | 5,128 | 110 | 221 | 46.618182 | 0.765188 | 0.180187 | 0 | 0.461538 | 0 | 0 | 0.007758 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.153846 | false | 0 | 0.038462 | 0.012821 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 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 | 5 |
957214c196206634871e801944a3550a9415add6 | 127 | py | Python | Leetcode/2001-3000/2236. Root Equals Sum of Children/2236.py | Next-Gen-UI/Code-Dynamics | a9b9d5e3f27e870b3e030c75a1060d88292de01c | [
"MIT"
] | null | null | null | Leetcode/2001-3000/2236. Root Equals Sum of Children/2236.py | Next-Gen-UI/Code-Dynamics | a9b9d5e3f27e870b3e030c75a1060d88292de01c | [
"MIT"
] | null | null | null | Leetcode/2001-3000/2236. Root Equals Sum of Children/2236.py | Next-Gen-UI/Code-Dynamics | a9b9d5e3f27e870b3e030c75a1060d88292de01c | [
"MIT"
] | null | null | null | class Solution:
def checkTree(self, root: Optional[TreeNode]) -> bool:
return root.val == root.left.val + root.right.val
| 31.75 | 56 | 0.700787 | 18 | 127 | 4.944444 | 0.722222 | 0.157303 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15748 | 127 | 3 | 57 | 42.333333 | 0.831776 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 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 | 1 | 1 | 0 | 0 | 5 |
2537956d30796f5413885bd56c74f1ba6a132b76 | 370 | py | Python | src/software/dAMP/__init__.py | intel/RAAD | 9cca9e72ff61658191e30756bb260173d5600102 | [
"Intel",
"Apache-2.0"
] | null | null | null | src/software/dAMP/__init__.py | intel/RAAD | 9cca9e72ff61658191e30756bb260173d5600102 | [
"Intel",
"Apache-2.0"
] | null | null | null | src/software/dAMP/__init__.py | intel/RAAD | 9cca9e72ff61658191e30756bb260173d5600102 | [
"Intel",
"Apache-2.0"
] | null | null | null | #!/usr/bin/python3
# -*- coding: utf-8 -*-
# *****************************************************************************/
# * Authors: Joseph Tarango
# *****************************************************************************/
# from . import gatherMeta
# from . import iBOGA
# from . import iSOM
# from ... | 30.833333 | 81 | 0.359459 | 24 | 370 | 5.541667 | 0.666667 | 0.37594 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006289 | 0.140541 | 370 | 11 | 82 | 33.636364 | 0.41195 | 0.913514 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c254ffb1b3adbefa48b210d8d2f22205225dbaea | 57 | py | Python | azmlclient/tests/clients/dummy/api_and_core/__init__.py | smarie/python-azureml-client | bd1c90137012d040c7fb4dd9acd3665309b46d22 | [
"MIT"
] | 2 | 2017-10-18T16:33:23.000Z | 2019-04-26T17:37:51.000Z | azmlclient/tests/clients/dummy/api_and_core/__init__.py | smarie/python-azureml-client | bd1c90137012d040c7fb4dd9acd3665309b46d22 | [
"MIT"
] | 16 | 2019-03-28T13:37:02.000Z | 2021-04-12T17:26:42.000Z | azmlclient/tests/clients/dummy/api_and_core/__init__.py | smarie/python-azureml-client | bd1c90137012d040c7fb4dd9acd3665309b46d22 | [
"MIT"
] | null | null | null | from .dummy_api_and_core import DummyProvider, DummyImpl
| 28.5 | 56 | 0.877193 | 8 | 57 | 5.875 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087719 | 57 | 1 | 57 | 57 | 0.903846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
c274319e619ecc02198faedb4e9c22f340dc8511 | 21,237 | py | Python | day16.py | nitros12/advent-of-code-2020 | d80b59878d87ad67936247f87e539d245455c0ef | [
"MIT"
] | null | null | null | day16.py | nitros12/advent-of-code-2020 | d80b59878d87ad67936247f87e539d245455c0ef | [
"MIT"
] | null | null | null | day16.py | nitros12/advent-of-code-2020 | d80b59878d87ad67936247f87e539d245455c0ef | [
"MIT"
] | null | null | null | from collections import defaultdict
import itertools
import re
import z3
def p_rule(inp):
r = re.match(r"(.+):\s+(\d+)-(\d+)\s+or\s(\d+)-(\d+)", inp)
return r.group(1).strip(), range(int(r.group(2)), int(r.group(3)) + 1), range(int(r.group(4)), int(r.group(5)) + 1)
def invalid_fields(rules, ticket):
inva... | 61.915452 | 119 | 0.728681 | 5,228 | 21,237 | 2.955241 | 0.17062 | 0.001553 | 0.001942 | 0.001812 | 0.004337 | 0 | 0 | 0 | 0 | 0 | 0 | 0.703127 | 0.03913 | 21,237 | 342 | 120 | 62.096491 | 0.054004 | 0 | 0 | 0.012658 | 0 | 0.762658 | 0.922588 | 0.881716 | 0 | 0 | 0 | 0 | 0.003165 | 1 | 0.012658 | false | 0 | 0.012658 | 0 | 0.037975 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c2d18ab8f5fab78f525a7fb76f9f5ecffe20b640 | 2,589 | py | Python | 10_bargain_box_kung_fu/Login Watcher.py | mumbo-pro/network-penetration | 30fcc70a0bdb094e2339951785d4d72b0373a71f | [
"MIT"
] | 3 | 2020-07-25T13:36:02.000Z | 2021-06-03T19:59:13.000Z | 10_bargain_box_kung_fu/Login Watcher.py | mumbo-pro/understanding-network-hacks | 30fcc70a0bdb094e2339951785d4d72b0373a71f | [
"MIT"
] | null | null | null | 10_bargain_box_kung_fu/Login Watcher.py | mumbo-pro/understanding-network-hacks | 30fcc70a0bdb094e2339951785d4d72b0373a71f | [
"MIT"
] | 2 | 2019-07-12T10:04:23.000Z | 2019-07-18T17:57:59.000Z | #!/usr/bin/python 2 3 import os 4 import re 5 import tailer 6 import random 7 8 9 logfile = "/var/log/auth.log" 10 max_failed = 3 11 max_failed_cmd = "/sbin/shutdown -h now" 12 failed_login = {} 13 14 success_patterns = [ 15 re.compile("Accepted password for (?P<user>.+?) from \ 16 (?P<host>.+?) port"), 17 re.compile("... | 517.8 | 1,371 | 0.676709 | 434 | 2,589 | 3.963134 | 0.447005 | 0.093023 | 0.097674 | 0.061047 | 0.234302 | 0.14186 | 0.052326 | 0 | 0 | 0 | 0 | 0.090578 | 0.15141 | 2,589 | 5 | 1,372 | 517.8 | 0.692308 | 0.810738 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6c14a41959604ecdd8852d73e0cba7902a685736 | 13 | py | Python | class/py23.py | chendaniely/2017-10-26-mckinsey | 34e6ca4b7536225d935b7bec5c146cb7ffc95cf6 | [
"CC-BY-4.0"
] | 5 | 2017-10-27T19:15:31.000Z | 2020-07-12T00:39:07.000Z | class/py23.py | chendaniely/2017-10-26-mckinsey | 34e6ca4b7536225d935b7bec5c146cb7ffc95cf6 | [
"CC-BY-4.0"
] | null | null | null | class/py23.py | chendaniely/2017-10-26-mckinsey | 34e6ca4b7536225d935b7bec5c146cb7ffc95cf6 | [
"CC-BY-4.0"
] | 3 | 2017-11-09T21:32:52.000Z | 2020-03-04T10:32:28.000Z | print(5 / 9)
| 6.5 | 12 | 0.538462 | 3 | 13 | 2.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0.230769 | 13 | 1 | 13 | 13 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 5 |
6c85539f01c061ad3414405d5e4cef8a3f7bf9d5 | 147 | py | Python | devind_notifications/permissions/__init__.py | devind-team/devind-django-notifications | cf74bb0fdc9308f87a563b46c25d9a239da20841 | [
"MIT"
] | null | null | null | devind_notifications/permissions/__init__.py | devind-team/devind-django-notifications | cf74bb0fdc9308f87a563b46c25d9a239da20841 | [
"MIT"
] | 4 | 2022-03-01T08:11:57.000Z | 2022-03-31T14:10:58.000Z | devind_notifications/permissions/__init__.py | devind-team/devind-django-notifications | cf74bb0fdc9308f87a563b46c25d9a239da20841 | [
"MIT"
] | null | null | null | from .notice_permissions import AddNotice, ChangeNotice, DeleteNotice
from .notification_permissions import ChangeNotification, DeleteNotification
| 49 | 76 | 0.891156 | 13 | 147 | 9.923077 | 0.769231 | 0.263566 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07483 | 147 | 2 | 77 | 73.5 | 0.948529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 5 |
6668759dab6e79441c46f0933e1734d370d7cdf4 | 240 | py | Python | pinakes/main/management/commands/generate_encryption_key.py | Alex-Izquierdo/pinakes | dfeb855662b47d29a6e976e87fd7c090a262cf3f | [
"Apache-2.0"
] | 2 | 2022-03-17T18:53:58.000Z | 2022-03-17T22:04:22.000Z | pinakes/main/management/commands/generate_encryption_key.py | Alex-Izquierdo/pinakes | dfeb855662b47d29a6e976e87fd7c090a262cf3f | [
"Apache-2.0"
] | 9 | 2022-03-18T08:22:57.000Z | 2022-03-30T17:14:49.000Z | pinakes/main/management/commands/generate_encryption_key.py | Alex-Izquierdo/pinakes | dfeb855662b47d29a6e976e87fd7c090a262cf3f | [
"Apache-2.0"
] | 7 | 2022-03-17T22:03:08.000Z | 2022-03-28T21:28:34.000Z | from cryptography.fernet import Fernet
from django.core.management import BaseCommand
class Command(BaseCommand):
def handle(self, *args, **options):
key = Fernet.generate_key().decode("ascii")
self.stdout.write(key)
| 24 | 51 | 0.716667 | 29 | 240 | 5.896552 | 0.724138 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170833 | 240 | 9 | 52 | 26.666667 | 0.859296 | 0 | 0 | 0 | 1 | 0 | 0.020833 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
668e2d094fd8e2360601ceb2d354fb9f99909cec | 86 | py | Python | src/sage/schemes/plane_quartics/all.py | bopopescu/sage | 2d495be78e0bdc7a0a635454290b27bb4f5f70f0 | [
"BSL-1.0"
] | 4 | 2020-07-17T04:49:44.000Z | 2020-07-29T06:33:51.000Z | src/sage/schemes/plane_quartics/all.py | Ivo-Maffei/sage | 467fbc70a08b552b3de33d9065204ee9cbfb02c7 | [
"BSL-1.0"
] | 2 | 2018-10-30T13:40:20.000Z | 2020-07-23T12:13:30.000Z | src/sage/schemes/plane_quartics/all.py | dimpase/sage | 468f23815ade42a2192b0a9cd378de8fdc594dcd | [
"BSL-1.0"
] | 7 | 2021-11-08T10:01:59.000Z | 2022-03-03T11:25:52.000Z | from __future__ import absolute_import
from .quartic_constructor import QuarticCurve
| 21.5 | 45 | 0.883721 | 10 | 86 | 7 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104651 | 86 | 3 | 46 | 28.666667 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
669960e1c130ab475d6fede3154b052f197261f5 | 116 | py | Python | bostaSDK/delivery/create/__init__.py | bostaapp/bosta-python | df3f48dafac49b2577669fd4d74a5e5e9d28f2c1 | [
"MIT"
] | null | null | null | bostaSDK/delivery/create/__init__.py | bostaapp/bosta-python | df3f48dafac49b2577669fd4d74a5e5e9d28f2c1 | [
"MIT"
] | 1 | 2020-11-18T11:01:32.000Z | 2020-11-18T11:10:52.000Z | bostaSDK/delivery/create/__init__.py | bostaapp/bosta-python | df3f48dafac49b2577669fd4d74a5e5e9d28f2c1 | [
"MIT"
] | null | null | null | from .CreateDeliveryRequest import CreateDeliveryRequest
from .CreateDeliveryResponse import CreateDeliveryResponse
| 38.666667 | 58 | 0.913793 | 8 | 116 | 13.25 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 116 | 2 | 59 | 58 | 0.981481 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | 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 | 5 |
dd14f5e23aff416eb803351c5a95fb22b803f07f | 181 | py | Python | graphgallery/nn/models/semisupervised/tf_models/__init__.py | Sharpiless/GraphGallery | 5e8895cc2ca2fc06a31bfc58bc3b7a52e1ceddd0 | [
"MIT"
] | 1 | 2020-11-22T10:14:58.000Z | 2020-11-22T10:14:58.000Z | graphgallery/nn/models/semisupervised/tf_models/__init__.py | Sharpiless/GraphGallery | 5e8895cc2ca2fc06a31bfc58bc3b7a52e1ceddd0 | [
"MIT"
] | null | null | null | graphgallery/nn/models/semisupervised/tf_models/__init__.py | Sharpiless/GraphGallery | 5e8895cc2ca2fc06a31bfc58bc3b7a52e1ceddd0 | [
"MIT"
] | 1 | 2020-11-22T10:14:59.000Z | 2020-11-22T10:14:59.000Z | from .gat import GAT
from .gcn import GCN
from .sgc import SGC
from .densegcn import DenseGCN
from .gcna import GCNA
from .chebynet import ChebyNet
from .robustgcn import RobustGCN
| 22.625 | 32 | 0.80663 | 28 | 181 | 5.214286 | 0.321429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154696 | 181 | 7 | 33 | 25.857143 | 0.954248 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
dd540d5695b7ef68295a64644d757c7d90702c02 | 221,247 | py | Python | tweets.py | aleranaudo/SizeitUp | cd412173b4f3f3ca049f30d128b9df08c4395b05 | [
"MIT"
] | null | null | null | tweets.py | aleranaudo/SizeitUp | cd412173b4f3f3ca049f30d128b9df08c4395b05 | [
"MIT"
] | null | null | null | tweets.py | aleranaudo/SizeitUp | cd412173b4f3f3ca049f30d128b9df08c4395b05 | [
"MIT"
] | null | null | null | [
{"created_at": "Thu Nov 30 21:16:44 +0000 2017", "favorite_count": 268, "hashtags": [], "id": 936343262088097795, "id_str": "936343262088097795", "lang": "en", "retweet_count": 82, "source": "<a href=\"http://bufferapp.com\" rel=\"nofollow\">Buffer</a>", "text": "Automation (not immigrants, @realDonaldTrump) could el... | 2,169.088235 | 5,337 | 0.719467 | 29,374 | 221,247 | 5.243753 | 0.131409 | 0.022126 | 0.017036 | 0.033305 | 0.662098 | 0.63052 | 0.601688 | 0.586795 | 0.575972 | 0.542485 | 0 | 0.143909 | 0.079255 | 221,247 | 101 | 5,338 | 2,190.564356 | 0.612207 | 0 | 0 | 0 | 0 | 1.950495 | 0.719065 | 0.068616 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.049505 | 0 | 0 | 0 | 0.059406 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
dd93f70746724ca9702d5e0780aa546a3bda3839 | 133 | py | Python | Starting Out with Python/Chapter 2/2.4 Comments/2-5_comment1.py | jesushilarioh/Python | 79c8b0d2c4f0ec9cccee26dcd563de0c55ba283e | [
"MIT"
] | null | null | null | Starting Out with Python/Chapter 2/2.4 Comments/2-5_comment1.py | jesushilarioh/Python | 79c8b0d2c4f0ec9cccee26dcd563de0c55ba283e | [
"MIT"
] | null | null | null | Starting Out with Python/Chapter 2/2.4 Comments/2-5_comment1.py | jesushilarioh/Python | 79c8b0d2c4f0ec9cccee26dcd563de0c55ba283e | [
"MIT"
] | null | null | null | # This program displays a person's
# name and address
print('Kate Austen')
print('123 Full Circle Drive')
print('Ashville, NC 28899') | 26.6 | 34 | 0.744361 | 21 | 133 | 4.714286 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069565 | 0.135338 | 133 | 5 | 35 | 26.6 | 0.791304 | 0.368421 | 0 | 0 | 0 | 0 | 0.609756 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
06c94d1a31ab16a08349f74a0dce147e79ddd9f6 | 32 | py | Python | UpStorageApiClient/__init__.py | QuackCoding/UpStorageApiClient | e77cb65b62551d27f0fdd086fbde1185c2b359c7 | [
"BSD-3-Clause"
] | 2 | 2021-06-25T16:32:27.000Z | 2021-07-23T09:12:11.000Z | UpStorageApiClient/__init__.py | AidenEllis/UpStorageApiClient | e77cb65b62551d27f0fdd086fbde1185c2b359c7 | [
"BSD-3-Clause"
] | 1 | 2021-03-08T13:40:57.000Z | 2021-03-08T14:48:25.000Z | UpStorageApiClient/__init__.py | QuackCoding/UpStorageApiClient | e77cb65b62551d27f0fdd086fbde1185c2b359c7 | [
"BSD-3-Clause"
] | null | null | null | from .api import UpStorageBucket | 32 | 32 | 0.875 | 4 | 32 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 32 | 1 | 32 | 32 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
06d493d6a1264379d4fcc3d279078f0e0dbd94e0 | 470 | py | Python | tests/unit/test_namespace.py | matthewgdv/subtypes | 52caa785f2861c6a9b867ed9b6c3756f8015689b | [
"MIT"
] | 1 | 2019-11-20T00:25:45.000Z | 2019-11-20T00:25:45.000Z | tests/unit/test_namespace.py | matthewgdv/subtypes | 52caa785f2861c6a9b867ed9b6c3756f8015689b | [
"MIT"
] | null | null | null | tests/unit/test_namespace.py | matthewgdv/subtypes | 52caa785f2861c6a9b867ed9b6c3756f8015689b | [
"MIT"
] | null | null | null | # import pytest
class TestNameSpace:
def test___call__(self): # synced
assert True
def test___len__(self): # synced
assert True
def test___getitem__(self): # synced
assert True
def test___setitem__(self): # synced
assert True
def test___delitem__(self): # s... | 18.8 | 42 | 0.625532 | 53 | 470 | 4.886792 | 0.320755 | 0.189189 | 0.432432 | 0.540541 | 0.625483 | 0.625483 | 0 | 0 | 0 | 0 | 0 | 0 | 0.310638 | 470 | 24 | 43 | 19.583333 | 0.799383 | 0.131915 | 0 | 0.466667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.466667 | 1 | 0.466667 | false | 0 | 0 | 0 | 0.533333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
06f637dd946968860c7a5ff6723b7ddb3ca0680b | 143 | py | Python | tests/core/conftest.py | jekwatt/pandera | 4c773aabc09934a5e9989f23aa608c740857a3fd | [
"MIT"
] | 1,134 | 2019-08-20T19:36:34.000Z | 2022-03-31T18:20:09.000Z | tests/core/conftest.py | jekwatt/pandera | 4c773aabc09934a5e9989f23aa608c740857a3fd | [
"MIT"
] | 647 | 2019-08-19T11:46:15.000Z | 2022-03-31T13:44:24.000Z | tests/core/conftest.py | jekwatt/pandera | 4c773aabc09934a5e9989f23aa608c740857a3fd | [
"MIT"
] | 107 | 2019-08-19T12:02:09.000Z | 2022-03-31T20:21:59.000Z | """Registers fixtures for core"""
# pylint: disable=unused-import
from .checks_fixtures import custom_check_teardown, extra_registered_checks
| 28.6 | 75 | 0.825175 | 18 | 143 | 6.277778 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 143 | 4 | 76 | 35.75 | 0.869231 | 0.405594 | 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 | 1 | 0 | 0 | 5 |
06ff1ab65c612cbea1507b46bef7a453dff7e1eb | 104 | py | Python | example.py | Datuk-Xi-Wen/numerical_methods | 8c510b7fd20b1c29facd658e48cda4dad53358cf | [
"MIT"
] | null | null | null | example.py | Datuk-Xi-Wen/numerical_methods | 8c510b7fd20b1c29facd658e48cda4dad53358cf | [
"MIT"
] | null | null | null | example.py | Datuk-Xi-Wen/numerical_methods | 8c510b7fd20b1c29facd658e48cda4dad53358cf | [
"MIT"
] | null | null | null | def git_operation():
print("I am adding example.py file to remote repositor, Qin Ci")
git_operation()
| 26 | 66 | 0.75 | 17 | 104 | 4.470588 | 0.882353 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144231 | 104 | 3 | 67 | 34.666667 | 0.853933 | 0 | 0 | 0 | 0 | 0 | 0.528846 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
b0895fa60d22b2ee69c298ef07c1bae56db80803 | 193 | py | Python | discovery/__init__.py | 372046933/discovery-client | 5bdb5f8f2245dbbaad4866ec87a97059723bee6a | [
"MIT"
] | 4 | 2019-12-07T04:31:10.000Z | 2020-09-22T06:10:39.000Z | discovery/__init__.py | 372046933/discovery-client | 5bdb5f8f2245dbbaad4866ec87a97059723bee6a | [
"MIT"
] | null | null | null | discovery/__init__.py | 372046933/discovery-client | 5bdb5f8f2245dbbaad4866ec87a97059723bee6a | [
"MIT"
] | 2 | 2020-10-18T13:14:08.000Z | 2020-12-29T09:12:17.000Z | # -*- coding: utf-8 -*-
from __future__ import print_function
from future.standard_library import install_aliases
install_aliases()
from .client import config_from_env, Client, Config # noqa
| 27.571429 | 59 | 0.792746 | 26 | 193 | 5.5 | 0.615385 | 0.13986 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005917 | 0.124352 | 193 | 6 | 60 | 32.166667 | 0.840237 | 0.134715 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0.25 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
b09b0dc54774d1bb9021134cabaa6830e0a9c1b4 | 51 | py | Python | hello.py | esillero/charla | fc522ebd89f7befaac1f3c91587271e0990412ee | [
"MIT"
] | null | null | null | hello.py | esillero/charla | fc522ebd89f7befaac1f3c91587271e0990412ee | [
"MIT"
] | null | null | null | hello.py | esillero/charla | fc522ebd89f7befaac1f3c91587271e0990412ee | [
"MIT"
] | null | null | null | print 'Example:'
print 'COVID19 says hello world!'
| 17 | 33 | 0.745098 | 7 | 51 | 5.428571 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 0.137255 | 51 | 2 | 34 | 25.5 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
b0d92da25aebc9e7df7c6d781576ee320aa5225a | 227 | py | Python | src/group_member_provider.py | binxio/cfn-auth0-provider | 6e66e7f70869a573ae97be0e7857b1407c21fe56 | [
"Apache-2.0"
] | 3 | 2018-05-30T02:01:01.000Z | 2022-03-01T20:53:29.000Z | src/group_member_provider.py | binxio/cfn-auth0-provider | 6e66e7f70869a573ae97be0e7857b1407c21fe56 | [
"Apache-2.0"
] | null | null | null | src/group_member_provider.py | binxio/cfn-auth0-provider | 6e66e7f70869a573ae97be0e7857b1407c21fe56 | [
"Apache-2.0"
] | 4 | 2018-01-17T13:40:29.000Z | 2021-03-17T02:09:45.000Z | from authz_association_provider import AuthzAssociationProvider
provider = AuthzAssociationProvider('Custom::Authz0GroupMember', 'group', 'member')
def handler(request, context):
return provider.handle(request, context)
| 28.375 | 83 | 0.810573 | 21 | 227 | 8.666667 | 0.761905 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004878 | 0.096916 | 227 | 7 | 84 | 32.428571 | 0.882927 | 0 | 0 | 0 | 0 | 0 | 0.15859 | 0.110132 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 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 | 1 | 1 | 0 | 0 | 5 |
7c02afa4dbb6eabb4b33bda62d886ff6e76ddcf0 | 185 | py | Python | PaperRank/compute/util/__init__.py | tetherless-world/PaperRank | a6b7c1294c7b9d5c3e0aebc59996eef044801daa | [
"MIT"
] | 1 | 2018-07-13T17:12:54.000Z | 2018-07-13T17:12:54.000Z | PaperRank/compute/util/__init__.py | tetherless-world/PaperRank | a6b7c1294c7b9d5c3e0aebc59996eef044801daa | [
"MIT"
] | 1 | 2021-06-01T22:23:26.000Z | 2021-06-01T22:23:26.000Z | PaperRank/compute/util/__init__.py | rukmal/PaperRank | 10de366f1f020e4a278703c1ef32a2670766a535 | [
"MIT"
] | 2 | 2020-03-06T10:51:32.000Z | 2020-05-26T18:34:40.000Z | from .build_out_degree import buildOutDegreeMap
from .export import Export
from .helpers import logLoopProgress
from .id_management import buildIdList, buildReverseIdxMap, getSeenIndex
| 37 | 72 | 0.87027 | 21 | 185 | 7.52381 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097297 | 185 | 4 | 73 | 46.25 | 0.946108 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
9fe84eacd6eb19a06ebc51b2713fff20fa246bcb | 369 | py | Python | _01_DefiningClassesLab/_02_ClassBook.py | Andrey-V-Georgiev/PythonOOP | 73aabdccace5ce7183c39e2f5674f7e17475b1cc | [
"MIT"
] | 1 | 2021-06-30T10:34:38.000Z | 2021-06-30T10:34:38.000Z | _01_DefiningClassesLab/_02_ClassBook.py | Andrey-V-Georgiev/PythonOOP | 73aabdccace5ce7183c39e2f5674f7e17475b1cc | [
"MIT"
] | null | null | null | _01_DefiningClassesLab/_02_ClassBook.py | Andrey-V-Georgiev/PythonOOP | 73aabdccace5ce7183c39e2f5674f7e17475b1cc | [
"MIT"
] | null | null | null | class Book:
def __init__(self, name, author, pages):
self.name = name
self.author = author
self.pages = pages
def name(self):
return self.name
def author(self):
return self.name
def pages(self):
return self.name
book = Book("My Book", "Me", 200)
print... | 17.571429 | 44 | 0.596206 | 50 | 369 | 4.32 | 0.26 | 0.185185 | 0.194444 | 0.25 | 0.194444 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011407 | 0.287263 | 369 | 20 | 45 | 18.45 | 0.809886 | 0 | 0 | 0.2 | 0 | 0 | 0.02439 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.266667 | false | 0 | 0 | 0.2 | 0.533333 | 0.2 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
b025aee91747af96d710cb50068602fe33d5f6fd | 70 | py | Python | helloworld.py | r-a-ndo-m/r-a-ndo-m.github.io | bd9808022a95ee2cb4847d8fff1fd6717a82e589 | [
"Unlicense"
] | null | null | null | helloworld.py | r-a-ndo-m/r-a-ndo-m.github.io | bd9808022a95ee2cb4847d8fff1fd6717a82e589 | [
"Unlicense"
] | 1 | 2018-10-26T06:55:40.000Z | 2018-10-26T06:55:40.000Z | helloworld.py | r-a-ndo-m/r-a-ndo-m.github.io | bd9808022a95ee2cb4847d8fff1fd6717a82e589 | [
"Unlicense"
] | null | null | null | # This is a simple hello world code in python 3
print("Hello World")
| 17.5 | 47 | 0.728571 | 13 | 70 | 3.923077 | 0.846154 | 0.392157 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017857 | 0.2 | 70 | 3 | 48 | 23.333333 | 0.892857 | 0.642857 | 0 | 0 | 0 | 0 | 0.478261 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
b04b93c519670a3f11e62e4cc47aced6e8d44e87 | 1,031 | py | Python | fairest/plugins_core/__init__.py | houfu/fairest | 4ca7b1d2981bcb8f15bfd04da1c00d390ebfefaa | [
"MIT"
] | null | null | null | fairest/plugins_core/__init__.py | houfu/fairest | 4ca7b1d2981bcb8f15bfd04da1c00d390ebfefaa | [
"MIT"
] | null | null | null | fairest/plugins_core/__init__.py | houfu/fairest | 4ca7b1d2981bcb8f15bfd04da1c00d390ebfefaa | [
"MIT"
] | null | null | null | # Copyright (c) 2021. Ang Hou Fu
#
# This software is licensed under the The MIT License.
# You should have received a copy of the license terms with the software.
# Otherwise, you can find the text here: https://opensource.org/licenses/MIT
#
#
# This software is licensed under the The MIT License.
# You should ... | 31.242424 | 78 | 0.801164 | 135 | 1,031 | 6.014815 | 0.4 | 0.054187 | 0.08867 | 0.108374 | 0.445813 | 0.394089 | 0.394089 | 0.394089 | 0.394089 | 0.394089 | 0 | 0.004479 | 0.133851 | 1,031 | 32 | 79 | 32.21875 | 0.904815 | 0.42386 | 0 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | true | 0 | 0.357143 | 0.214286 | 0.785714 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
c6af51520f9df55fae276be3b98acccb01c46c76 | 75 | py | Python | src/apps/blog/admin/tabular/__init__.py | dieisabel/proggy | 9e1428e5d1d5ba0217e34f86800a7d783a3673cd | [
"MIT"
] | 1 | 2021-03-13T20:59:25.000Z | 2021-03-13T20:59:25.000Z | src/apps/blog/admin/tabular/__init__.py | dieisabel/proggy | 9e1428e5d1d5ba0217e34f86800a7d783a3673cd | [
"MIT"
] | 69 | 2021-03-09T11:17:26.000Z | 2021-07-22T15:05:34.000Z | src/apps/blog/admin/tabular/__init__.py | dieisabel/proggy | 9e1428e5d1d5ba0217e34f86800a7d783a3673cd | [
"MIT"
] | null | null | null | from .. import admin
from blog.admin.tabular.comment import CommentInline
| 18.75 | 52 | 0.813333 | 10 | 75 | 6.1 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 75 | 3 | 53 | 25 | 0.924242 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
c6b5e196dfe15b3e4af92c4bf6f5c09a9fb510a8 | 1,515 | py | Python | edexOsgi/com.raytheon.edex.plugin.satellite/utility/common_static/base/derivedParameters/functions/satDif11u3_9uIR.py | srcarter3/awips2 | 37f31f5e88516b9fd576eaa49d43bfb762e1d174 | [
"Apache-2.0"
] | null | null | null | edexOsgi/com.raytheon.edex.plugin.satellite/utility/common_static/base/derivedParameters/functions/satDif11u3_9uIR.py | srcarter3/awips2 | 37f31f5e88516b9fd576eaa49d43bfb762e1d174 | [
"Apache-2.0"
] | null | null | null | edexOsgi/com.raytheon.edex.plugin.satellite/utility/common_static/base/derivedParameters/functions/satDif11u3_9uIR.py | srcarter3/awips2 | 37f31f5e88516b9fd576eaa49d43bfb762e1d174 | [
"Apache-2.0"
] | 1 | 2021-10-30T00:03:05.000Z | 2021-10-30T00:03:05.000Z | ##
# This software was developed and / or modified by Raytheon Company,
# pursuant to Contract DG133W-05-CQ-1067 with the US Government.
#
# U.S. EXPORT CONTROLLED TECHNICAL DATA
# This software product contains export-restricted data whose
# export/transfer/disclosure is restricted by U.S. law. Dissemination
# to n... | 38.846154 | 87 | 0.636304 | 200 | 1,515 | 4.81 | 0.675 | 0.006237 | 0.033264 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064079 | 0.268647 | 1,515 | 38 | 88 | 39.868421 | 0.804152 | 0.807921 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 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 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
c6dd610781b6edd207a0ebeca2b790f385450aa3 | 6,619 | py | Python | stacs/ci/github/client.py | stacscan/stacs-ci | 24bcbf5860adceb5f4110f5d9347caafa2c6a234 | [
"BSD-3-Clause"
] | 18 | 2022-01-02T18:55:26.000Z | 2022-01-09T19:39:52.000Z | stacs/ci/github/client.py | stacscan/stacs-ci | 24bcbf5860adceb5f4110f5d9347caafa2c6a234 | [
"BSD-3-Clause"
] | 7 | 2022-01-04T15:04:07.000Z | 2022-03-04T21:23:59.000Z | stacs/ci/github/client.py | stacscan/stacs-ci | 24bcbf5860adceb5f4110f5d9347caafa2c6a234 | [
"BSD-3-Clause"
] | null | null | null | """Provides a light-weight Github API client that does only what we need.
SPDX-License-Identifier: BSD-3-Clause
"""
from typing import Dict, List
import requests
from stacs.ci import exceptions
from stacs.ci.github.constants import DEFAULT_API_URI
class Client:
"""Provides a light-weight Github API client that... | 33.261307 | 88 | 0.540716 | 695 | 6,619 | 5.070504 | 0.198561 | 0.034336 | 0.02412 | 0.03689 | 0.807037 | 0.798808 | 0.770715 | 0.746027 | 0.699489 | 0.687287 | 0 | 0.004489 | 0.360477 | 6,619 | 198 | 89 | 33.429293 | 0.828018 | 0.159994 | 0 | 0.643836 | 0 | 0 | 0.157522 | 0.069949 | 0 | 0 | 0 | 0 | 0 | 1 | 0.054795 | false | 0 | 0.027397 | 0 | 0.123288 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 5 |
05a9d972a33a86573c2ed885ea824563b279f788 | 9,865 | py | Python | test/api/test_role.py | SAEON/Open-Data-Platform | 8509c39c6f65ba18518e825e2359213ec4c67af5 | [
"MIT"
] | null | null | null | test/api/test_role.py | SAEON/Open-Data-Platform | 8509c39c6f65ba18518e825e2359213ec4c67af5 | [
"MIT"
] | null | null | null | test/api/test_role.py | SAEON/Open-Data-Platform | 8509c39c6f65ba18518e825e2359213ec4c67af5 | [
"MIT"
] | null | null | null | from random import choice, randint
import pytest
from sqlalchemy import select
from odp import ODPScope
from odp.db import Session
from odp.db.models import Role
from test.api import ProviderAuth, all_scopes, all_scopes_excluding, assert_conflict, assert_empty_result, assert_forbidden, assert_not_found
from test.fact... | 29.893939 | 141 | 0.686265 | 1,273 | 9,865 | 5.03535 | 0.098979 | 0.081435 | 0.090172 | 0.049142 | 0.757878 | 0.727301 | 0.727301 | 0.714197 | 0.686739 | 0.670515 | 0 | 0.005407 | 0.212671 | 9,865 | 329 | 142 | 29.984802 | 0.819879 | 0.03335 | 0 | 0.705179 | 0 | 0 | 0.021671 | 0.005049 | 0 | 0 | 0 | 0 | 0.155378 | 1 | 0.059761 | false | 0 | 0.031873 | 0.003984 | 0.103586 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
05b1050a83f12d9c9b3c664b05bf303d8f991d1e | 15 | py | Python | focalplane/tests/test_fpalign.py | Johannes-Sahlmann/focalplane | 39dc5bc7ed817321247f652d4c5d3565efccb022 | [
"BSD-3-Clause"
] | null | null | null | focalplane/tests/test_fpalign.py | Johannes-Sahlmann/focalplane | 39dc5bc7ed817321247f652d4c5d3565efccb022 | [
"BSD-3-Clause"
] | 1 | 2019-12-03T16:45:55.000Z | 2019-12-03T16:47:07.000Z | focalplane/tests/test_fpalign.py | Johannes-Sahlmann/focalplane | 39dc5bc7ed817321247f652d4c5d3565efccb022 | [
"BSD-3-Clause"
] | 4 | 2019-10-03T14:20:29.000Z | 2021-12-27T19:07:16.000Z | # to be written | 15 | 15 | 0.733333 | 3 | 15 | 3.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 15 | 1 | 15 | 15 | 0.916667 | 0.866667 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
05b7530c5cb3f9882e81f422322aba0212928d16 | 141 | py | Python | resources/__init__.py | rjvanvoorhis/photomosaic-api-v2 | 5da432e911c02f17f595ef056c45a5f4fd717738 | [
"MIT"
] | null | null | null | resources/__init__.py | rjvanvoorhis/photomosaic-api-v2 | 5da432e911c02f17f595ef056c45a5f4fd717738 | [
"MIT"
] | null | null | null | resources/__init__.py | rjvanvoorhis/photomosaic-api-v2 | 5da432e911c02f17f595ef056c45a5f4fd717738 | [
"MIT"
] | null | null | null | __all__ = ['AuthResource', 'AuthorizationError', 'BaseResource']
from resources.base_resource import *
from resources.auth_resource import *
| 35.25 | 64 | 0.801418 | 14 | 141 | 7.642857 | 0.714286 | 0.242991 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092199 | 141 | 3 | 65 | 47 | 0.835938 | 0 | 0 | 0 | 0 | 0 | 0.297872 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
05d3608eb59356012bc081e858e215e822bbbbe1 | 194 | py | Python | options/__init__.py | chorseng/UMD | 680681fea76abcea02ff5f351727bcbb468c372a | [
"MIT"
] | 48 | 2019-05-12T08:42:55.000Z | 2022-03-15T07:54:40.000Z | options/__init__.py | chorseng/UMD | 680681fea76abcea02ff5f351727bcbb468c372a | [
"MIT"
] | 6 | 2019-09-14T14:46:57.000Z | 2021-07-10T02:22:34.000Z | options/__init__.py | chorseng/UMD | 680681fea76abcea02ff5f351727bcbb468c372a | [
"MIT"
] | 11 | 2019-09-12T03:46:42.000Z | 2021-10-03T17:43:39.000Z | from .dataset_option import DatasetOption
from .global_option import GlobalOption
from .test_option import TestOption
from .train_option import TrainOption
from .valid_option import ValidOption
| 32.333333 | 41 | 0.871134 | 25 | 194 | 6.56 | 0.52 | 0.365854 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103093 | 194 | 5 | 42 | 38.8 | 0.942529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 5 |
05d3a150aced1d29cabbf85d9d8cab23f0281ed6 | 35 | py | Python | archie_cli/__init__.py | omeraloni/archie-cli | 33a16ed5eb6c101b51d4fcc658c9bd2e4e0039b6 | [
"MIT"
] | null | null | null | archie_cli/__init__.py | omeraloni/archie-cli | 33a16ed5eb6c101b51d4fcc658c9bd2e4e0039b6 | [
"MIT"
] | null | null | null | archie_cli/__init__.py | omeraloni/archie-cli | 33a16ed5eb6c101b51d4fcc658c9bd2e4e0039b6 | [
"MIT"
] | null | null | null | from .cli import cli
cli(obj={})
| 7 | 20 | 0.628571 | 6 | 35 | 3.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 35 | 4 | 21 | 8.75 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
05ee0eef57437ba110504183b5534efc07270f87 | 65 | py | Python | aocast/build/lib/aocast/__init__.py | felipeardilac/aocast | 90aa96ba2d89c741e9478753b5aaf834130f84e8 | [
"MIT"
] | null | null | null | aocast/build/lib/aocast/__init__.py | felipeardilac/aocast | 90aa96ba2d89c741e9478753b5aaf834130f84e8 | [
"MIT"
] | null | null | null | aocast/build/lib/aocast/__init__.py | felipeardilac/aocast | 90aa96ba2d89c741e9478753b5aaf834130f84e8 | [
"MIT"
] | null | null | null | #import adaptcast as ac
from .aocast import AdaptativeOperator
| 21.666667 | 39 | 0.815385 | 8 | 65 | 6.625 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 65 | 2 | 40 | 32.5 | 0.963636 | 0.338462 | 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 | 1 | 0 | 0 | 5 |
05f4af3805b59cd2589a6b84fc23f025412a9a11 | 173 | py | Python | test/brahe/test_constants.py | duncaneddy/brahe | 4a1746ef3c14211b0709de6e7e34b6f52fc0e686 | [
"MIT"
] | 14 | 2019-05-29T13:36:55.000Z | 2022-02-11T15:26:13.000Z | test/brahe/test_constants.py | duncaneddy/brahe | 4a1746ef3c14211b0709de6e7e34b6f52fc0e686 | [
"MIT"
] | 1 | 2020-05-27T12:14:39.000Z | 2020-05-27T15:51:21.000Z | test/brahe/test_constants.py | duncaneddy/brahe | 4a1746ef3c14211b0709de6e7e34b6f52fc0e686 | [
"MIT"
] | 2 | 2019-10-24T05:20:54.000Z | 2019-12-08T03:59:10.000Z | # Test Imports
from pytest import approx
import math
# Modules Under Test
from brahe.constants import *
def test_constants():
assert AS2RAD == 2.0*math.pi/360.0/3600.0 | 19.222222 | 45 | 0.745665 | 28 | 173 | 4.571429 | 0.678571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082759 | 0.16185 | 173 | 9 | 45 | 19.222222 | 0.8 | 0.179191 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | true | 0 | 0.6 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
af06c8a28c62f7dafc188930b221ea38808f396f | 554 | py | Python | web/transiq/team/templatetags/team_tags/validators_tags.py | manibhushan05/transiq | 763fafb271ce07d13ac8ce575f2fee653cf39343 | [
"Apache-2.0"
] | null | null | null | web/transiq/team/templatetags/team_tags/validators_tags.py | manibhushan05/transiq | 763fafb271ce07d13ac8ce575f2fee653cf39343 | [
"Apache-2.0"
] | 14 | 2020-06-05T23:06:45.000Z | 2022-03-12T00:00:18.000Z | web/transiq/team/templatetags/team_tags/validators_tags.py | manibhushan05/transiq | 763fafb271ce07d13ac8ce575f2fee653cf39343 | [
"Apache-2.0"
] | null | null | null | from __future__ import unicode_literals
from api import validators
from django import template
register = template.Library()
@register.simple_tag
def regex_vehicle_number():
return validators.VEHICLE_NUMBER
@register.simple_tag
def regex_gstin():
return validators.GSTIN
@register.simple_tag
def regex_pho... | 15.388889 | 39 | 0.779783 | 72 | 554 | 5.736111 | 0.319444 | 0.20339 | 0.246973 | 0.290557 | 0.363196 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148014 | 554 | 35 | 40 | 15.828571 | 0.875 | 0 | 0 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0.136364 | 0.272727 | 0.681818 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
af745a44bbe4bff5fb3c3c182107525726e0d179 | 5,278 | py | Python | model.py | qqaatw/pytorch-realm-orqa | 32a567bcf82c062eec88406d5323047866a43ea4 | [
"Apache-2.0"
] | 14 | 2021-09-27T06:38:54.000Z | 2022-03-31T03:11:40.000Z | model.py | qqaatw/pytorch-realm-orqa | 32a567bcf82c062eec88406d5323047866a43ea4 | [
"Apache-2.0"
] | 9 | 2021-11-24T20:06:42.000Z | 2022-03-27T07:52:54.000Z | model.py | qqaatw/pytorch-realm-orqa | 32a567bcf82c062eec88406d5323047866a43ea4 | [
"Apache-2.0"
] | 2 | 2021-10-01T10:14:03.000Z | 2022-01-27T20:26:18.000Z | import numpy as np
import torch
from transformers import (
RealmConfig,
RealmReader,
RealmRetriever,
RealmScorer,
RealmForOpenQA,
RealmTokenizerFast,
load_tf_weights_in_realm,
)
from transformers.models.realm.retrieval_realm import convert_tfrecord_to_np
def add_additional_documents(openqa... | 29 | 114 | 0.716749 | 622 | 5,278 | 5.79582 | 0.139871 | 0.049931 | 0.032455 | 0.037448 | 0.743689 | 0.732316 | 0.701248 | 0.701248 | 0.701248 | 0.701248 | 0 | 0.00071 | 0.199318 | 5,278 | 182 | 115 | 29 | 0.852343 | 0.015157 | 0 | 0.610687 | 0 | 0 | 0.057385 | 0.046216 | 0 | 0 | 0 | 0 | 0 | 1 | 0.061069 | false | 0 | 0.030534 | 0 | 0.145038 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 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 | 5 |
af8b8ccb21cf4550429c2a1b096f7bdaee5ada9f | 81 | py | Python | source/appModules/totalcmd64.py | davidhilton936/clone | 0889f95ef2d74f43b2c98f4d45bf09b0c605f1de | [
"bzip2-1.0.6"
] | 2 | 2019-04-27T11:28:51.000Z | 2019-04-27T11:31:36.000Z | source/appModules/totalcmd64.py | davidhilton936/clone | 0889f95ef2d74f43b2c98f4d45bf09b0c605f1de | [
"bzip2-1.0.6"
] | 1 | 2017-08-08T00:44:17.000Z | 2017-08-08T00:44:17.000Z | source/appModules/totalcmd64.py | davidhilton936/clone | 0889f95ef2d74f43b2c98f4d45bf09b0c605f1de | [
"bzip2-1.0.6"
] | 1 | 2020-04-30T19:14:00.000Z | 2020-04-30T19:14:00.000Z | #Use the app module for Total Commander 32 bit version.
from totalcmd import *
| 27 | 56 | 0.765432 | 13 | 81 | 4.769231 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030769 | 0.197531 | 81 | 2 | 57 | 40.5 | 0.923077 | 0.666667 | 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 | 1 | 0 | 0 | 5 |
afab543f9762ce1029d63911559b0ab6c3fbf894 | 312 | py | Python | Chapter03/starter.py | PacktPublishing/Learning-Python-by-building-games | 0713e6fc141b2cd201128560ae0c3b689b7d2116 | [
"MIT"
] | 25 | 2019-09-01T16:19:16.000Z | 2021-12-20T07:08:35.000Z | Chapter03/starter.py | PacktPublishing/Learning-Python-by-building-games. | 0713e6fc141b2cd201128560ae0c3b689b7d2116 | [
"MIT"
] | 4 | 2019-08-27T19:45:48.000Z | 2020-07-24T12:29:56.000Z | Chapter03/starter.py | PacktPublishing/Learning-Python-by-building-games | 0713e6fc141b2cd201128560ae0c3b689b7d2116 | [
"MIT"
] | 24 | 2019-06-01T18:31:07.000Z | 2022-03-15T19:24:34.000Z | choices = ['1', '2', '3', '4', '5', '6', '7', '8', '9']
print('\n')
print('|' + choices[0] + '|' + choices[1] + '|' + choices[2] + '|')
print('----------')
print('|' + choices[3] + '|' + choices[4] + '|' + choices[5] + '|')
print('----------')
print('|' + choices[6] + '|' + choices[7] + '|' + choices[8] + '|')
| 39 | 67 | 0.38141 | 35 | 312 | 3.4 | 0.371429 | 0.302521 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069498 | 0.169872 | 312 | 7 | 68 | 44.571429 | 0.389961 | 0 | 0 | 0.285714 | 0 | 0 | 0.137821 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.857143 | 0 | 0 | 0 | null | 1 | 1 | 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 | 1 | 0 | 5 |
afaf28f66378e3005497093a5e5e3977e9640862 | 164 | py | Python | snippets/python/django/drf/permission_class.py | c6401/Snippets | a88d97005658eeda99f1a2766e3d069a64e142cb | [
"MIT"
] | null | null | null | snippets/python/django/drf/permission_class.py | c6401/Snippets | a88d97005658eeda99f1a2766e3d069a64e142cb | [
"MIT"
] | null | null | null | snippets/python/django/drf/permission_class.py | c6401/Snippets | a88d97005658eeda99f1a2766e3d069a64e142cb | [
"MIT"
] | null | null | null | from rest_framework.permissions import BasePermission
class Permission(BasePermission):
def has_permission(self, request, view):
return False
| 23.428571 | 53 | 0.737805 | 17 | 164 | 7 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.207317 | 164 | 6 | 54 | 27.333333 | 0.915385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 5 |
afc65799dc94f0183b8d9232d0013950f04beb86 | 159 | py | Python | src/ToolChainSCDG/procedures/windows/custom_package/InitCommonControls.py | AnonymousSEMA/SEMA-ToolChain | 05d6a7e43e10d4b1f6c5dfb70fbabeab3d4daf82 | [
"BSD-2-Clause"
] | null | null | null | src/ToolChainSCDG/procedures/windows/custom_package/InitCommonControls.py | AnonymousSEMA/SEMA-ToolChain | 05d6a7e43e10d4b1f6c5dfb70fbabeab3d4daf82 | [
"BSD-2-Clause"
] | null | null | null | src/ToolChainSCDG/procedures/windows/custom_package/InitCommonControls.py | AnonymousSEMA/SEMA-ToolChain | 05d6a7e43e10d4b1f6c5dfb70fbabeab3d4daf82 | [
"BSD-2-Clause"
] | null | null | null | import logging
import angr
lw = logging.getLogger("CustomSimProcedureWindows")
class InitCommonControls(angr.SimProcedure):
def run(self):
pass
| 15.9 | 51 | 0.748428 | 16 | 159 | 7.4375 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169811 | 159 | 9 | 52 | 17.666667 | 0.901515 | 0 | 0 | 0 | 0 | 0 | 0.157233 | 0.157233 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.166667 | 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 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
bb5fde209402920849f53d4afe36c87ff626d5bd | 332 | py | Python | discord_mdext/strikethrough.py | tsudoko/pullcord-export | 6c6b296cb3437dbbf9896573ecb3f7d00e33b411 | [
"Unlicense"
] | null | null | null | discord_mdext/strikethrough.py | tsudoko/pullcord-export | 6c6b296cb3437dbbf9896573ecb3f7d00e33b411 | [
"Unlicense"
] | null | null | null | discord_mdext/strikethrough.py | tsudoko/pullcord-export | 6c6b296cb3437dbbf9896573ecb3f7d00e33b411 | [
"Unlicense"
] | null | null | null | import markdown
class DiscordStrikethroughExtension(markdown.Extension):
def extendMarkdown(self, md):
md.registerExtension(self)
md.inlinePatterns.register(markdown.inlinepatterns.SimpleTagInlineProcessor("(~~)(.*?)~~", "s"), "strike", 65)
def makeExtension(**kwargs):
return DiscordStrikethroughExtensio... | 33.2 | 112 | 0.762048 | 28 | 332 | 9.035714 | 0.678571 | 0.047431 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006645 | 0.093373 | 332 | 9 | 113 | 36.888889 | 0.833887 | 0 | 0 | 0 | 0 | 0 | 0.054217 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.142857 | 0.714286 | 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 | 1 | 1 | 0 | 0 | 5 |
bb739cd45741ff6aaf6b41c5c03d6d72e7494478 | 14 | py | Python | checkin.py | Lhedzv/Coding_Wednesdays | 37bd26be66cc65af721bb1bbe1c647eda28b6329 | [
"MIT"
] | null | null | null | checkin.py | Lhedzv/Coding_Wednesdays | 37bd26be66cc65af721bb1bbe1c647eda28b6329 | [
"MIT"
] | null | null | null | checkin.py | Lhedzv/Coding_Wednesdays | 37bd26be66cc65af721bb1bbe1c647eda28b6329 | [
"MIT"
] | null | null | null | print('holis') | 14 | 14 | 0.714286 | 2 | 14 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 14 | 1 | 14 | 14 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 5 |
bb7a9cbcdc5f03ef00ef8271dea6dd0d27ce675c | 187 | py | Python | app/core/exceptions.py | hmajid2301/banter-bus-management-api | d51a40c2d5254d4197cbe5bb84aa576df2c24893 | [
"Apache-2.0"
] | 1 | 2022-02-25T13:05:27.000Z | 2022-02-25T13:05:27.000Z | app/core/exceptions.py | hmajid2301/banter-bus-management-api | d51a40c2d5254d4197cbe5bb84aa576df2c24893 | [
"Apache-2.0"
] | null | null | null | app/core/exceptions.py | hmajid2301/banter-bus-management-api | d51a40c2d5254d4197cbe5bb84aa576df2c24893 | [
"Apache-2.0"
] | null | null | null | class NotFoundException(Exception):
pass
class ExistsException(Exception):
pass
class InvalidFilter(Exception):
pass
class IncorrectFormatException(Exception):
pass
| 12.466667 | 42 | 0.754011 | 16 | 187 | 8.8125 | 0.4375 | 0.368794 | 0.382979 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 187 | 14 | 43 | 13.357143 | 0.921569 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
a5311b4247a152a0040984106bf1646cfe3063a3 | 227 | py | Python | libraries/botframework-connector/botframework/connector/http_client_factory.py | andreikop/botbuilder-python | 5e073e0c68fcbdc558133bdbd59a02453e597abe | [
"MIT"
] | 388 | 2019-05-07T15:53:21.000Z | 2022-03-28T20:29:46.000Z | libraries/botframework-connector/botframework/connector/http_client_factory.py | andreikop/botbuilder-python | 5e073e0c68fcbdc558133bdbd59a02453e597abe | [
"MIT"
] | 1,286 | 2019-05-07T23:38:19.000Z | 2022-03-31T10:44:16.000Z | libraries/botframework-connector/botframework/connector/http_client_factory.py | andreikop/botbuilder-python | 5e073e0c68fcbdc558133bdbd59a02453e597abe | [
"MIT"
] | 168 | 2019-05-14T20:23:25.000Z | 2022-03-16T06:49:14.000Z | # Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.
from .http_client_base import HttpClientBase
class HttpClientFactory:
def create_client(self) -> HttpClientBase:
pass
| 22.7 | 59 | 0.762115 | 26 | 227 | 6.538462 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176211 | 227 | 9 | 60 | 25.222222 | 0.909091 | 0.39207 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
a551dd0f43ad4ace5a5c04644898340d17e1b6fc | 124 | py | Python | app/auth/__init__.py | Mdoctor/asherlive | 79bf33a2ed3b3c93666b5e2d8211f584805ed6d4 | [
"MIT"
] | null | null | null | app/auth/__init__.py | Mdoctor/asherlive | 79bf33a2ed3b3c93666b5e2d8211f584805ed6d4 | [
"MIT"
] | null | null | null | app/auth/__init__.py | Mdoctor/asherlive | 79bf33a2ed3b3c93666b5e2d8211f584805ed6d4 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# coding:utf-8
from flask import Blueprint
auth = Blueprint('auth', __name__)
from . import views
| 13.777778 | 34 | 0.725806 | 18 | 124 | 4.777778 | 0.777778 | 0.302326 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019048 | 0.153226 | 124 | 8 | 35 | 15.5 | 0.8 | 0.274194 | 0 | 0 | 0 | 0 | 0.045455 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 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 | 1 | 0 | 5 |
a57d9e94fcdf8d3f6f12261cc163781b7f6422e1 | 113 | py | Python | scripts/mpylib/__init__.py | mpynode/node-designer | ec620f1388337bc0a4e5664d80e1ea6ade8b410e | [
"Unlicense"
] | 63 | 2019-03-18T03:44:28.000Z | 2021-12-31T07:51:09.000Z | scripts/mpylib/__init__.py | mpynode/node-designer | ec620f1388337bc0a4e5664d80e1ea6ade8b410e | [
"Unlicense"
] | 2 | 2019-03-19T10:39:02.000Z | 2020-02-25T06:39:12.000Z | scripts/mpylib/__init__.py | mpynode/node-designer | ec620f1388337bc0a4e5664d80e1ea6ade8b410e | [
"Unlicense"
] | 19 | 2019-03-18T08:05:05.000Z | 2022-01-11T08:37:45.000Z | from _base.mnode import MNode, MNodeList
from _base.mundo import MUndo
__all__ = ["MNode", "MNodeList", "MUndo"] | 28.25 | 41 | 0.752212 | 15 | 113 | 5.266667 | 0.466667 | 0.202532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123894 | 113 | 4 | 41 | 28.25 | 0.79798 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
a5bb42e69a9a64b15308bd3edd01640e95ca27d7 | 222 | py | Python | sciunit/scores/__init__.py | sbastiaens/sciunit | 09a68f128b25aba29fe063346b8b8559413f41a4 | [
"MIT"
] | 1 | 2020-05-28T00:35:23.000Z | 2020-05-28T00:35:23.000Z | sciunit/scores/__init__.py | sbastiaens/sciunit | 09a68f128b25aba29fe063346b8b8559413f41a4 | [
"MIT"
] | 1 | 2020-12-29T04:28:57.000Z | 2020-12-29T04:28:57.000Z | sciunit/scores/__init__.py | sbastiaens/sciunit | 09a68f128b25aba29fe063346b8b8559413f41a4 | [
"MIT"
] | null | null | null | """Contains classes for different representations of test scores.
It also contains score collections such as arrays and matrices.
"""
from .base import Score, ErrorScore
from .complete import *
from .incomplete import *
| 24.666667 | 65 | 0.783784 | 29 | 222 | 6 | 0.793103 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153153 | 222 | 8 | 66 | 27.75 | 0.925532 | 0.572072 | 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 | 1 | 0 | 0 | 5 |
3c2ec660e04d90c6e8b0416359048ede7981e539 | 16,062 | py | Python | src/evidencegraph/folds.py | PietroTotis/evidencegraph | 585be02fe8ed83c01862f64e75a51f8d4939b608 | [
"MIT"
] | null | null | null | src/evidencegraph/folds.py | PietroTotis/evidencegraph | 585be02fe8ed83c01862f64e75a51f8d4939b608 | [
"MIT"
] | null | null | null | src/evidencegraph/folds.py | PietroTotis/evidencegraph | 585be02fe8ed83c01862f64e75a51f8d4939b608 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
'''
@author: Andreas Peldszus
'''
folds = [
['micro_k009', 'micro_b050', 'micro_b055', 'micro_b041', 'micro_b036', 'micro_b007', 'micro_k021', 'micro_d08', 'micro_b033', 'micro_b060', 'micro_b034', 'micro_k003', 'micro_d15', 'micro_d20', 'micro_k012', 'micro_d13', 'micro_b010', 'micro_k029... | 239.731343 | 326 | 0.695368 | 2,290 | 16,062 | 4.385153 | 0.060262 | 0.008962 | 0.013941 | 0.016929 | 0.898128 | 0.655646 | 0.655646 | 0.513643 | 0.513643 | 0.38568 | 0 | 0.213443 | 0.086726 | 16,062 | 66 | 327 | 243.363636 | 0.47113 | 0.002988 | 0 | 0 | 0 | 0 | 0.685368 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.017544 | false | 0 | 0 | 0 | 0.017544 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
3c4d7943008ac126cd00915cc7e13c899175462b | 49 | py | Python | semantic_segmentation/src/models/losses/__init__.py | no-name-xiaosheng/PaddleViT | 50226a3be5095b3727d3c62d2eab23ef1e9612ec | [
"Apache-2.0"
] | 2 | 2021-12-01T13:52:20.000Z | 2021-12-07T11:27:29.000Z | semantic_segmentation/src/models/losses/__init__.py | Dongsheng-Bi/PaddleViT | c90a6c8dc3787e69cef3a37b9a260bd59eeff1f7 | [
"Apache-2.0"
] | null | null | null | semantic_segmentation/src/models/losses/__init__.py | Dongsheng-Bi/PaddleViT | c90a6c8dc3787e69cef3a37b9a260bd59eeff1f7 | [
"Apache-2.0"
] | null | null | null | from .cross_entropy_loss import CrossEntropyLoss
| 24.5 | 48 | 0.897959 | 6 | 49 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 49 | 1 | 49 | 49 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
3c5ae5aa3ce6bef839450ea07b1c46db5912174a | 116 | bzl | Python | rules_web_deps_3.bzl | quittle/rules_web | 7ca6a278da0fbf8e6505656e45b04768f38a3205 | [
"Apache-2.0"
] | 27 | 2016-11-06T06:55:48.000Z | 2022-02-23T22:25:01.000Z | rules_web_deps_3.bzl | quittle/rules_web | 7ca6a278da0fbf8e6505656e45b04768f38a3205 | [
"Apache-2.0"
] | 10 | 2018-02-11T21:29:22.000Z | 2022-03-12T00:01:02.000Z | rules_web_deps_3.bzl | quittle/rules_web | 7ca6a278da0fbf8e6505656e45b04768f38a3205 | [
"Apache-2.0"
] | 3 | 2019-07-18T13:55:00.000Z | 2021-12-01T20:40:50.000Z | load("@io_bazel_rules_sass//:defs.bzl", "sass_repositories")
def rules_web_dependencies():
sass_repositories()
| 23.2 | 60 | 0.767241 | 15 | 116 | 5.466667 | 0.733333 | 0.390244 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086207 | 116 | 4 | 61 | 29 | 0.773585 | 0 | 0 | 0 | 0 | 0 | 0.413793 | 0.267241 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
3c5e9341e69ae23cd6e69147cc92cd4bf573edc0 | 60 | py | Python | chapter3/exercises/throwDie.py | munnep/begin_to_code_with_python | 3ef14d90785526b6b26d262a7627eee73791d7d0 | [
"MIT"
] | null | null | null | chapter3/exercises/throwDie.py | munnep/begin_to_code_with_python | 3ef14d90785526b6b26d262a7627eee73791d7d0 | [
"MIT"
] | null | null | null | chapter3/exercises/throwDie.py | munnep/begin_to_code_with_python | 3ef14d90785526b6b26d262a7627eee73791d7d0 | [
"MIT"
] | null | null | null | import random
print('You have rolled:', random.randint(1,6)) | 30 | 46 | 0.75 | 10 | 60 | 4.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036364 | 0.083333 | 60 | 2 | 46 | 30 | 0.781818 | 0 | 0 | 0 | 0 | 0 | 0.262295 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 | 1 | 0 | 0 | 1 | 0 | 5 |
3c603f3772cb0aef16a6a400aea2ba450d2de9fc | 68 | py | Python | python/cuml/_thirdparty/__init__.py | garanews/cuml | 318f521a1d2681f4622a44921d27b5f592fe4407 | [
"Apache-2.0"
] | 2,743 | 2018-10-11T17:28:58.000Z | 2022-03-31T19:20:50.000Z | python/cuml/_thirdparty/__init__.py | garanews/cuml | 318f521a1d2681f4622a44921d27b5f592fe4407 | [
"Apache-2.0"
] | 4,280 | 2018-10-11T22:29:57.000Z | 2022-03-31T22:02:44.000Z | python/cuml/_thirdparty/__init__.py | garanews/cuml | 318f521a1d2681f4622a44921d27b5f592fe4407 | [
"Apache-2.0"
] | 454 | 2018-10-11T17:40:56.000Z | 2022-03-25T17:07:09.000Z | # Third party code, respective licenses apply
from . import sklearn
| 22.666667 | 45 | 0.794118 | 9 | 68 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161765 | 68 | 2 | 46 | 34 | 0.947368 | 0.632353 | 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 | 1 | 0 | 0 | 5 |
3c6438595c681577cc59cdf17c37ce6058670eae | 74 | py | Python | ipython/startup/import_importlib.py | dycw/dotfiles2 | 9e23c4989e9813080da3658a8f98dbb1e03776f2 | [
"MIT"
] | null | null | null | ipython/startup/import_importlib.py | dycw/dotfiles2 | 9e23c4989e9813080da3658a8f98dbb1e03776f2 | [
"MIT"
] | null | null | null | ipython/startup/import_importlib.py | dycw/dotfiles2 | 9e23c4989e9813080da3658a8f98dbb1e03776f2 | [
"MIT"
] | null | null | null | import importlib # noqa: F401
from importlib import reload # noqa: F401
| 24.666667 | 42 | 0.756757 | 10 | 74 | 5.6 | 0.6 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 0.189189 | 74 | 2 | 43 | 37 | 0.833333 | 0.283784 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 5 |
b1b9c6b1e334fb7e73199e0a0bbf76a734c4f987 | 194 | py | Python | PythonStudy/PyEx001.py | CenterLineM/PythonPon | ca6a29ec10b095684e90cfcfbf6e0ac1cb5eabe3 | [
"Apache-2.0"
] | null | null | null | PythonStudy/PyEx001.py | CenterLineM/PythonPon | ca6a29ec10b095684e90cfcfbf6e0ac1cb5eabe3 | [
"Apache-2.0"
] | null | null | null | PythonStudy/PyEx001.py | CenterLineM/PythonPon | ca6a29ec10b095684e90cfcfbf6e0ac1cb5eabe3 | [
"Apache-2.0"
] | null | null | null | # -*- coding: UTF-8-*-
for i in range(1, 5):
for j in range(1,5):
for k in range(1,5):
if( i != k) and (i !=j) and (j !=k):
print i,j,k
| 21.555556 | 48 | 0.365979 | 34 | 194 | 2.088235 | 0.411765 | 0.295775 | 0.338028 | 0.380282 | 0.338028 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065421 | 0.448454 | 194 | 8 | 49 | 24.25 | 0.598131 | 0.103093 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.2 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
b1c27b30188b3022edc67ad05a25630a155b81aa | 276 | py | Python | test/test_dummy.py | sherryl4george/leetcode-anki | 4135a69c513876c1b25e9f71cb791713dc822cd3 | [
"MIT"
] | 1 | 2021-12-20T11:46:14.000Z | 2021-12-20T11:46:14.000Z | test/test_dummy.py | iraghavr/leetcode-anki | 4135a69c513876c1b25e9f71cb791713dc822cd3 | [
"MIT"
] | null | null | null | test/test_dummy.py | iraghavr/leetcode-anki | 4135a69c513876c1b25e9f71cb791713dc822cd3 | [
"MIT"
] | null | null | null | """
Just a placeholder
"""
class TestDummy:
"""
Dummy test
"""
@staticmethod
def test_do_nothing() -> None:
"""Do nothing"""
assert True
@staticmethod
def test_do_nothing2() -> None:
"""Do nothing"""
assert True
| 13.8 | 35 | 0.528986 | 27 | 276 | 5.259259 | 0.555556 | 0.190141 | 0.267606 | 0.295775 | 0.323944 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005464 | 0.336957 | 276 | 19 | 36 | 14.526316 | 0.770492 | 0.184783 | 0 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 1 | 0.285714 | true | 0 | 0 | 0 | 0.428571 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
b1c71cafadf8cb7ba00aecc5c7a7d0f0453019a1 | 124 | py | Python | app/src/model/__init__.py | JMazurkiewicz/BD2-catering | 281b38f91dcc9b233d17a8fd0b668a2e9ae4ad69 | [
"MIT"
] | null | null | null | app/src/model/__init__.py | JMazurkiewicz/BD2-catering | 281b38f91dcc9b233d17a8fd0b668a2e9ae4ad69 | [
"MIT"
] | 20 | 2021-05-27T13:05:55.000Z | 2021-06-17T16:45:11.000Z | app/src/model/__init__.py | JMazurkiewicz/BD2-Catering | 281b38f91dcc9b233d17a8fd0b668a2e9ae4ad69 | [
"MIT"
] | 1 | 2022-01-22T22:44:00.000Z | 2022-01-22T22:44:00.000Z | #!/usr/bin/env python
# @author Jakub Mazurkiewicz
from model.model import *
from model.authorizationmodel import *
| 17.714286 | 39 | 0.733871 | 15 | 124 | 6.066667 | 0.733333 | 0.197802 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177419 | 124 | 6 | 40 | 20.666667 | 0.892157 | 0.379032 | 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 | 1 | 0 | 0 | 5 |
b1ce08d27ca1318903eaa3c6d63947db3e152191 | 178 | py | Python | src/main/cogs/__init__.py | NLGS2907/Alg1-Lector-de-Ejercicios | bb7e44bd8e5fd7420a61108e5ecb246b510b396b | [
"MIT"
] | 4 | 2021-09-23T16:06:18.000Z | 2021-09-23T23:17:32.000Z | src/main/cogs/__init__.py | NLGS2907/Alg1-Lector-de-Ejercicios | bb7e44bd8e5fd7420a61108e5ecb246b510b396b | [
"MIT"
] | null | null | null | src/main/cogs/__init__.py | NLGS2907/Alg1-Lector-de-Ejercicios | bb7e44bd8e5fd7420a61108e5ecb246b510b396b | [
"MIT"
] | null | null | null | """
Paquete de cogs.
"""
from .admin import *
from .ejercicios import *
from .eventos import *
from .hanged import *
from .imgur import *
from .misc import *
from .rps import *
| 14.833333 | 25 | 0.691011 | 24 | 178 | 5.125 | 0.5 | 0.487805 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.191011 | 178 | 11 | 26 | 16.181818 | 0.854167 | 0.089888 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
593bada0ff04a8f24417d36f0e3e7e6b0ad79ab3 | 411 | py | Python | data/dataloader/__init__.py | WadhwaniAI/covid-modelling | db9f89bfbec392ad4de6b4583cfab7c3d823c1c9 | [
"MIT"
] | 3 | 2021-06-23T10:27:11.000Z | 2022-02-09T07:50:42.000Z | data/dataloader/__init__.py | WadhwaniAI/covid-modelling | db9f89bfbec392ad4de6b4583cfab7c3d823c1c9 | [
"MIT"
] | 3 | 2021-06-23T09:36:29.000Z | 2022-01-13T03:38:16.000Z | data/dataloader/__init__.py | WadhwaniAI/covid-modelling | db9f89bfbec392ad4de6b4583cfab7c3d823c1c9 | [
"MIT"
] | null | null | null | from data.dataloader.covid19india import Covid19IndiaLoader
from data.dataloader.jhu import JHULoader
from data.dataloader.ny_times import NYTLoader
from data.dataloader.covidtracking import CovidTrackingLoader
from data.dataloader.rootnet import RootnetLoader
from data.dataloader.athena import AthenaLoader
from data.d... | 45.666667 | 61 | 0.883212 | 49 | 411 | 7.387755 | 0.428571 | 0.176796 | 0.39779 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010554 | 0.077859 | 411 | 8 | 62 | 51.375 | 0.944591 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
5947d0cf36d9c080a3c680a28cced0f4241e905c | 222 | py | Python | gira_homeserver_api/devices/binary_device.py | leoyn/gira-homeserver-api | 7d642413a56078f694518d9189b4b7cc9776482d | [
"MIT"
] | 5 | 2020-03-17T12:45:50.000Z | 2022-03-07T10:55:50.000Z | gira_homeserver_api/devices/binary_device.py | leoyn/gira-homeserver-api | 7d642413a56078f694518d9189b4b7cc9776482d | [
"MIT"
] | 3 | 2020-04-17T09:53:45.000Z | 2021-01-25T22:14:14.000Z | gira_homeserver_api/devices/binary_device.py | leoyn/gira-homeserver-api | 7d642413a56078f694518d9189b4b7cc9776482d | [
"MIT"
] | 1 | 2020-04-17T06:51:50.000Z | 2020-04-17T06:51:50.000Z | from .device import Device
class BinaryDevice(Device):
def turnOn(self):
self.setValue(1)
def turnOff(self):
self.setValue(0)
def getState(self):
return super().getValue() == 1.0
| 18.5 | 40 | 0.603604 | 27 | 222 | 4.962963 | 0.592593 | 0.119403 | 0.238806 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024845 | 0.274775 | 222 | 11 | 41 | 20.181818 | 0.807453 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0.125 | 0.125 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
3ca1680847fad6703219e446d12f84efc3554b77 | 22,940 | py | Python | keystone_tempest_plugin/tests/rbac/v3/test_application_credential.py | openstack/keystone-tempest-plugin | 32e48a7ea5db99e31dae916f7964c8219025f257 | [
"Apache-2.0"
] | 8 | 2017-06-20T10:42:19.000Z | 2019-01-28T22:03:43.000Z | keystone_tempest_plugin/tests/rbac/v3/test_application_credential.py | openstack/keystone-tempest-plugin | 32e48a7ea5db99e31dae916f7964c8219025f257 | [
"Apache-2.0"
] | null | null | null | keystone_tempest_plugin/tests/rbac/v3/test_application_credential.py | openstack/keystone-tempest-plugin | 32e48a7ea5db99e31dae916f7964c8219025f257 | [
"Apache-2.0"
] | 2 | 2018-06-15T06:45:32.000Z | 2019-09-27T00:01:35.000Z | # Copyright 2020 SUSE LLC
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, so... | 40.530035 | 79 | 0.675806 | 2,736 | 22,940 | 5.387427 | 0.085161 | 0.179512 | 0.030529 | 0.021167 | 0.793012 | 0.758887 | 0.733989 | 0.708141 | 0.684464 | 0.645997 | 0 | 0.004105 | 0.25667 | 22,940 | 565 | 80 | 40.60177 | 0.86031 | 0.254752 | 0 | 0.702006 | 0 | 0 | 0.096765 | 0.072093 | 0 | 0 | 0 | 0 | 0.002865 | 1 | 0.071633 | false | 0.020057 | 0.020057 | 0 | 0.151862 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
3cdecd983c4c986c0680782cdb3067d3c7522c64 | 22 | py | Python | Lib/test/pbcvm/test/__init__.py | jeff5/jython-whinchat | 65d8e5268189f8197295ff2d91be3decb1ee0081 | [
"CNRI-Jython"
] | 577 | 2020-06-04T16:34:44.000Z | 2022-03-31T11:46:07.000Z | Lib/test/pbcvm/test/__init__.py | jeff5/jython-whinchat | 65d8e5268189f8197295ff2d91be3decb1ee0081 | [
"CNRI-Jython"
] | 174 | 2015-01-08T20:37:09.000Z | 2020-06-03T16:48:59.000Z | Lib/test/pbcvm/test/__init__.py | jeff5/jython-whinchat | 65d8e5268189f8197295ff2d91be3decb1ee0081 | [
"CNRI-Jython"
] | 162 | 2015-02-07T02:14:38.000Z | 2020-05-30T16:42:03.000Z | # mock test directory
| 11 | 21 | 0.772727 | 3 | 22 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 0.944444 | 0.863636 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
3cfeae351753e11bd0acc596c4d2f34f4d36ae4f | 140 | py | Python | visionseed/__init__.py | tencent-youtu-visionseed/yt-visionseed-sdk-python | 647252c80d27d6ded8cf83434b2ee69a2c829895 | [
"MIT"
] | 13 | 2019-08-07T14:13:49.000Z | 2022-01-09T10:08:43.000Z | visionseed/__init__.py | tencent-youtu-visionseed/yt-visionseed-sdk-python | 647252c80d27d6ded8cf83434b2ee69a2c829895 | [
"MIT"
] | 2 | 2020-06-12T07:10:04.000Z | 2021-12-10T09:20:53.000Z | visionseed/__init__.py | tencent-youtu-visionseed/yt-visionseed-sdk-python | 647252c80d27d6ded8cf83434b2ee69a2c829895 | [
"MIT"
] | 5 | 2019-08-07T14:13:52.000Z | 2020-07-07T08:09:00.000Z | from .YtMsg_pb2 import *
from .YtVisionSeed import YtVisionSeed
from .YtDataLink import YtDataLink
from .YtFaceAlignment import YtFaceShape
| 28 | 40 | 0.85 | 16 | 140 | 7.375 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008065 | 0.114286 | 140 | 4 | 41 | 35 | 0.943548 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
a70fc7d7f31d458bee2c53ac89abcec5c795949c | 119 | py | Python | src/fscdotcom/games/admin.py | Incipire/FantasySportCenter | c04f38c36aa225b03627492177fd4369cec10143 | [
"Unlicense"
] | null | null | null | src/fscdotcom/games/admin.py | Incipire/FantasySportCenter | c04f38c36aa225b03627492177fd4369cec10143 | [
"Unlicense"
] | null | null | null | src/fscdotcom/games/admin.py | Incipire/FantasySportCenter | c04f38c36aa225b03627492177fd4369cec10143 | [
"Unlicense"
] | null | null | null | from django.contrib import admin
from games.models import Game
admin.site.register(Game)
# Register your models here.
| 19.833333 | 32 | 0.806723 | 18 | 119 | 5.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12605 | 119 | 5 | 33 | 23.8 | 0.923077 | 0.218487 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
a72cda45fd5c1cb2749a5a4862e6f800b4186472 | 43 | py | Python | homeassistant/components/thinkingcleaner/__init__.py | domwillcode/home-assistant | f170c80bea70c939c098b5c88320a1c789858958 | [
"Apache-2.0"
] | 30,023 | 2016-04-13T10:17:53.000Z | 2020-03-02T12:56:31.000Z | homeassistant/components/thinkingcleaner/__init__.py | jagadeeshvenkatesh/core | 1bd982668449815fee2105478569f8e4b5670add | [
"Apache-2.0"
] | 31,101 | 2020-03-02T13:00:16.000Z | 2022-03-31T23:57:36.000Z | homeassistant/components/thinkingcleaner/__init__.py | jagadeeshvenkatesh/core | 1bd982668449815fee2105478569f8e4b5670add | [
"Apache-2.0"
] | 11,956 | 2016-04-13T18:42:31.000Z | 2020-03-02T09:32:12.000Z | """Support for Thinkingcleaner devices."""
| 21.5 | 42 | 0.744186 | 4 | 43 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 43 | 1 | 43 | 43 | 0.820513 | 0.837209 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
a73b698d820d58a4761d2c9d613c8d1fe454eb7c | 61 | py | Python | src/cnlp/cnlp_core/distinct/distinct.py | sujeek/cnlpkits | 0dd9d59d099d6322433cce6ac86ed7166aa6ff6f | [
"Apache-2.0"
] | null | null | null | src/cnlp/cnlp_core/distinct/distinct.py | sujeek/cnlpkits | 0dd9d59d099d6322433cce6ac86ed7166aa6ff6f | [
"Apache-2.0"
] | null | null | null | src/cnlp/cnlp_core/distinct/distinct.py | sujeek/cnlpkits | 0dd9d59d099d6322433cce6ac86ed7166aa6ff6f | [
"Apache-2.0"
] | null | null | null |
#disorder
def distinct_list(a):
return list(set(a))
| 6.777778 | 23 | 0.639344 | 9 | 61 | 4.222222 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.229508 | 61 | 8 | 24 | 7.625 | 0.808511 | 0.131148 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 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 | 1 | 1 | 0 | 0 | 5 |
597683d5a849f4482a4c10e2650177a44e5ce58f | 71 | py | Python | runserver.py | jhonjairoroa87/flask-view-dom-testing | 9f2aabb075a8ad811bcb40e94f05ce566795fa5d | [
"CC0-1.0"
] | null | null | null | runserver.py | jhonjairoroa87/flask-view-dom-testing | 9f2aabb075a8ad811bcb40e94f05ce566795fa5d | [
"CC0-1.0"
] | null | null | null | runserver.py | jhonjairoroa87/flask-view-dom-testing | 9f2aabb075a8ad811bcb40e94f05ce566795fa5d | [
"CC0-1.0"
] | null | null | null | #!flask/bin/python
from app import flask_app
flask_app.run(debug=True)
| 17.75 | 25 | 0.802817 | 13 | 71 | 4.230769 | 0.692308 | 0.290909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084507 | 71 | 3 | 26 | 23.666667 | 0.846154 | 0.239437 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
59891c533c41d2144ad188c457ed87d27bf7ae1c | 54 | py | Python | application/model/__init__.py | bymatej/you-todoo | c58043fe0a6e52be6c2b9ff1e45a25e9a8b1083e | [
"MIT"
] | null | null | null | application/model/__init__.py | bymatej/you-todoo | c58043fe0a6e52be6c2b9ff1e45a25e9a8b1083e | [
"MIT"
] | null | null | null | application/model/__init__.py | bymatej/you-todoo | c58043fe0a6e52be6c2b9ff1e45a25e9a8b1083e | [
"MIT"
] | null | null | null | from application.model.models import YouTodooTask, db
| 27 | 53 | 0.851852 | 7 | 54 | 6.571429 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092593 | 54 | 1 | 54 | 54 | 0.938776 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
598ee93367a32596bb2b02323b91d84474505364 | 244 | py | Python | otp/distributed/AstronAccountUD.py | TheFamiliarScoot/open-toontown | 678313033174ea7d08e5c2823bd7b473701ff547 | [
"BSD-3-Clause"
] | 99 | 2019-11-02T22:25:00.000Z | 2022-02-03T03:48:00.000Z | otp/distributed/AstronAccountUD.py | TheFamiliarScoot/open-toontown | 678313033174ea7d08e5c2823bd7b473701ff547 | [
"BSD-3-Clause"
] | 42 | 2019-11-03T05:31:08.000Z | 2022-03-16T22:50:32.000Z | otp/distributed/AstronAccountUD.py | TheFamiliarScoot/open-toontown | 678313033174ea7d08e5c2823bd7b473701ff547 | [
"BSD-3-Clause"
] | 57 | 2019-11-03T07:47:37.000Z | 2022-03-22T00:41:49.000Z | from direct.directnotify import DirectNotifyGlobal
from direct.distributed.DistributedObjectUD import DistributedObjectUD
class AstronAccountUD(DistributedObjectUD):
notify = DirectNotifyGlobal.directNotify.newCategory('AstronAccountUD')
| 34.857143 | 75 | 0.868852 | 19 | 244 | 11.157895 | 0.578947 | 0.09434 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077869 | 244 | 6 | 76 | 40.666667 | 0.942222 | 0 | 0 | 0 | 0 | 0 | 0.061475 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 1 | 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 | 5 |
5990ce6b52f545b81e5d5dd4ef546d8c64d875ee | 146 | py | Python | config/__init__.py | joelouismarino/generalized_filtering | f1032d62761c498e5206c0a2b07a012c8223b3de | [
"MIT"
] | 40 | 2018-08-28T05:40:25.000Z | 2022-03-23T09:25:46.000Z | config/__init__.py | joelouismarino/generalized_filtering | f1032d62761c498e5206c0a2b07a012c8223b3de | [
"MIT"
] | 2 | 2018-11-03T18:57:17.000Z | 2020-10-06T23:36:44.000Z | config/__init__.py | joelouismarino/generalized_filtering | f1032d62761c498e5206c0a2b07a012c8223b3de | [
"MIT"
] | 8 | 2018-09-14T19:58:47.000Z | 2021-02-20T01:54:44.000Z | from train_config import train_config
from run_config import run_config
from data_config import data_config
from model_config import model_config
| 29.2 | 37 | 0.890411 | 24 | 146 | 5.083333 | 0.291667 | 0.393443 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109589 | 146 | 4 | 38 | 36.5 | 0.938462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 5 |
59d91f9255b4d1ef1090dbe6f2cac59a156aae64 | 38 | py | Python | DenseNet/DenseNet/__init__.py | armhzjz/DenseNet | cf33279e2b63c43d8604e3085b625329c55b0590 | [
"MIT"
] | null | null | null | DenseNet/DenseNet/__init__.py | armhzjz/DenseNet | cf33279e2b63c43d8604e3085b625329c55b0590 | [
"MIT"
] | null | null | null | DenseNet/DenseNet/__init__.py | armhzjz/DenseNet | cf33279e2b63c43d8604e3085b625329c55b0590 | [
"MIT"
] | null | null | null | from . import Layers, Models, Training | 38 | 38 | 0.789474 | 5 | 38 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131579 | 38 | 1 | 38 | 38 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
ab71d4f62b8b91221d65ef1da6ebb569531f7e49 | 228 | py | Python | src/usecase/movie_session/movie_session_persister.py | masterWeber/showtimes | 90cf8009ff82887bf117f7d1aedab8c5f3893a1c | [
"MIT"
] | null | null | null | src/usecase/movie_session/movie_session_persister.py | masterWeber/showtimes | 90cf8009ff82887bf117f7d1aedab8c5f3893a1c | [
"MIT"
] | null | null | null | src/usecase/movie_session/movie_session_persister.py | masterWeber/showtimes | 90cf8009ff82887bf117f7d1aedab8c5f3893a1c | [
"MIT"
] | null | null | null | from abc import ABC, abstractmethod
from src.domain.movie_session.movie_session import MovieSession
class MovieSessionPersister(ABC):
@abstractmethod
def save(self, movie_session: MovieSession) -> bool:
pass
| 20.727273 | 63 | 0.763158 | 26 | 228 | 6.576923 | 0.615385 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171053 | 228 | 10 | 64 | 22.8 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.166667 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
ab7d8bb52bf204fb51967b717d92f614b06d54e4 | 158 | py | Python | ERation/customer/admin.py | mishelshaji/ERation | 0e755ae63ae2c9cc009e18b72425ac508670a1cf | [
"MIT"
] | null | null | null | ERation/customer/admin.py | mishelshaji/ERation | 0e755ae63ae2c9cc009e18b72425ac508670a1cf | [
"MIT"
] | null | null | null | ERation/customer/admin.py | mishelshaji/ERation | 0e755ae63ae2c9cc009e18b72425ac508670a1cf | [
"MIT"
] | null | null | null | from django.contrib import admin
from . models import Customer, Orders
# Register your models here.
admin.site.register(Customer)
admin.site.register(Orders) | 26.333333 | 37 | 0.810127 | 22 | 158 | 5.818182 | 0.545455 | 0.140625 | 0.265625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107595 | 158 | 6 | 38 | 26.333333 | 0.907801 | 0.164557 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
f9f390a47e799bb8ae707f32e67ca822a2c98fd8 | 268 | py | Python | flexbe_core/src/flexbe_core/proxy/__init__.py | romayiii/flexbe_behavior_engine | d097f45ce2cc769ac68ce99eb6ca9c03b372c2f9 | [
"BSD-3-Clause"
] | null | null | null | flexbe_core/src/flexbe_core/proxy/__init__.py | romayiii/flexbe_behavior_engine | d097f45ce2cc769ac68ce99eb6ca9c03b372c2f9 | [
"BSD-3-Clause"
] | null | null | null | flexbe_core/src/flexbe_core/proxy/__init__.py | romayiii/flexbe_behavior_engine | d097f45ce2cc769ac68ce99eb6ca9c03b372c2f9 | [
"BSD-3-Clause"
] | null | null | null | from .proxy_subscriber_cached import ProxySubscriberCached
from .proxy_publisher import ProxyPublisher
from .proxy_service_caller import ProxyServiceCaller
from .proxy_action_client import ProxyActionClient
from .proxy_transform_listener import ProxyTransformListener
| 44.666667 | 60 | 0.906716 | 29 | 268 | 8.068966 | 0.586207 | 0.192308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074627 | 268 | 5 | 61 | 53.6 | 0.943548 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.