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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ba1ef9001b67dec10ff6c8367296483610dc5b2b | 263 | py | Python | morningstar_keypad/commands/system.py | the-dalee/morningstar-keypad | 6169fb35c5bf65678b493a8c2f9357476028d46a | [
"MIT"
] | null | null | null | morningstar_keypad/commands/system.py | the-dalee/morningstar-keypad | 6169fb35c5bf65678b493a8c2f9357476028d46a | [
"MIT"
] | 1 | 2021-06-01T22:19:49.000Z | 2021-06-01T22:19:49.000Z | morningstar_keypad/commands/system.py | dlippok/morningstar-keypad | 6169fb35c5bf65678b493a8c2f9357476028d46a | [
"MIT"
] | null | null | null | import os
from commands.core import Command
class ShellCommand(Command):
def __init__(self, command: str):
self.command = command
def execute(self):
os.system(self.command)
def execute(command: str):
return ShellCommand(command)
| 16.4375 | 37 | 0.692015 | 32 | 263 | 5.5625 | 0.46875 | 0.168539 | 0.191011 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.21673 | 263 | 15 | 38 | 17.533333 | 0.864078 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.222222 | 0.111111 | 0.777778 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
ba27a7c901aa3e2fcb90ac08f184a93d5fc7ad29 | 135 | py | Python | src/example/__init__.py | cisagov/restore-es-database-from-snapshot | 35c3bc84c0f260329d756d72de7bb859af0fe53f | [
"CC0-1.0"
] | null | null | null | src/example/__init__.py | cisagov/restore-es-database-from-snapshot | 35c3bc84c0f260329d756d72de7bb859af0fe53f | [
"CC0-1.0"
] | null | null | null | src/example/__init__.py | cisagov/restore-es-database-from-snapshot | 35c3bc84c0f260329d756d72de7bb859af0fe53f | [
"CC0-1.0"
] | null | null | null | """The example library."""
from .example import example_div
from ._version import __version__ # noqa: F401
__all__ = ["example_div"]
| 22.5 | 47 | 0.740741 | 17 | 135 | 5.235294 | 0.588235 | 0.224719 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025862 | 0.140741 | 135 | 5 | 48 | 27 | 0.741379 | 0.237037 | 0 | 0 | 0 | 0 | 0.113402 | 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 | 0 | 0 | 0 | 4 |
e858a9f6ae8d277f001f79e22896bb5239cb4c1d | 38 | py | Python | PredictiveModels/src/__init__.py | marchcarax/Portfolio-stats | 0c52ac18d376e1adbb226fe8c41caf9573c6c517 | [
"MIT"
] | 2 | 2021-05-04T01:24:45.000Z | 2021-10-05T15:03:56.000Z | PredictiveModels/src/__init__.py | marchcarax/Portfolio-stats | 0c52ac18d376e1adbb226fe8c41caf9573c6c517 | [
"MIT"
] | null | null | null | PredictiveModels/src/__init__.py | marchcarax/Portfolio-stats | 0c52ac18d376e1adbb226fe8c41caf9573c6c517 | [
"MIT"
] | null | null | null | __all__ = ['arima_calcs, price_calcs'] | 38 | 38 | 0.763158 | 5 | 38 | 4.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 38 | 1 | 38 | 38 | 0.657143 | 0 | 0 | 0 | 0 | 0 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e87b4944494396a88fc0e029be5efaf8614a3b5e | 102 | py | Python | Python/Problems/The sum of digits/task.py | victoroliveros/Hyperskill | bd0f81d7479fc210e4b3e36e993bf93f1815b239 | [
"MIT"
] | 4 | 2020-08-07T06:24:00.000Z | 2021-01-23T14:40:35.000Z | Python/Problems/The sum of digits/task.py | victoroliveros/Hyperskill | bd0f81d7479fc210e4b3e36e993bf93f1815b239 | [
"MIT"
] | null | null | null | Python/Problems/The sum of digits/task.py | victoroliveros/Hyperskill | bd0f81d7479fc210e4b3e36e993bf93f1815b239 | [
"MIT"
] | 1 | 2020-09-20T11:48:16.000Z | 2020-09-20T11:48:16.000Z | # put your python code here
digit = str(input())
print(int(digit[0]) + int(digit[1]) + int(digit[2]))
| 25.5 | 52 | 0.647059 | 18 | 102 | 3.666667 | 0.722222 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034091 | 0.137255 | 102 | 3 | 53 | 34 | 0.715909 | 0.245098 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
e896454c8e98851f458585f9aa759837c41d64b9 | 16 | py | Python | dsopz/config.py | murer/dsopz | 6c30d4614d6fd796143400e9a7e7ed75fc96fc56 | [
"Apache-2.0"
] | 34 | 2015-03-26T18:19:39.000Z | 2021-03-31T17:43:17.000Z | dsopz/config.py | murer/dsopz | 6c30d4614d6fd796143400e9a7e7ed75fc96fc56 | [
"Apache-2.0"
] | 7 | 2015-04-11T11:56:26.000Z | 2019-08-29T14:05:05.000Z | dsopz/config.py | murer/dsopz | 6c30d4614d6fd796143400e9a7e7ed75fc96fc56 | [
"Apache-2.0"
] | 7 | 2016-10-20T17:43:56.000Z | 2019-01-17T20:45:54.000Z | version="1.3.1"
| 8 | 15 | 0.625 | 4 | 16 | 2.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0.0625 | 16 | 1 | 16 | 16 | 0.466667 | 0 | 0 | 0 | 0 | 0 | 0.3125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e89c5e54c622c9343f21702518741a1dca05b929 | 294 | py | Python | template3/apps/core/context_processors.py | moshthepitt/django-template3 | f596a2d506c0a3270c9e47b6ce53485584db2071 | [
"MIT"
] | 1 | 2016-05-24T13:04:18.000Z | 2016-05-24T13:04:18.000Z | template3/apps/core/context_processors.py | moshthepitt/django-template3 | f596a2d506c0a3270c9e47b6ce53485584db2071 | [
"MIT"
] | null | null | null | template3/apps/core/context_processors.py | moshthepitt/django-template3 | f596a2d506c0a3270c9e47b6ce53485584db2071 | [
"MIT"
] | null | null | null | from django.conf import settings
from django.contrib.sites.models import Site
def debug_processor(request):
"""Makes DEBUG_MODE available if settings.DEBUG is True"""
return {'DEBUG_MODE': settings.DEBUG}
def site_processor(request):
return {'site': Site.objects.get_current()}
| 24.5 | 62 | 0.751701 | 40 | 294 | 5.4 | 0.575 | 0.092593 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139456 | 294 | 11 | 63 | 26.727273 | 0.853755 | 0.176871 | 0 | 0 | 0 | 0 | 0.059322 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.166667 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
e8b7cac07099be063d169704fb225cb7276e7a3e | 244 | py | Python | crudapplication/admin.py | Saidineshivy/webapp | 565c56f9676126d2626bc73460d4726de528b340 | [
"Apache-2.0"
] | null | null | null | crudapplication/admin.py | Saidineshivy/webapp | 565c56f9676126d2626bc73460d4726de528b340 | [
"Apache-2.0"
] | null | null | null | crudapplication/admin.py | Saidineshivy/webapp | 565c56f9676126d2626bc73460d4726de528b340 | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
from crudapplication.models import Employee
# Register your models here.
class EmployeeAdmin(admin.ModelAdmin):
list_display = ['eid','ename','eemail','econtact']
admin.site.register(Employee,EmployeeAdmin) | 34.857143 | 54 | 0.795082 | 29 | 244 | 6.655172 | 0.724138 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094262 | 244 | 7 | 55 | 34.857143 | 0.873303 | 0.106557 | 0 | 0 | 0 | 0 | 0.101382 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
e8c6aa20e322bdfe3ba6984c33a6ffca02add205 | 87 | py | Python | nationstates_async/__init__.py | DolphDev/pynationstates-async | b632256636dadeb3abfd5b9dcfea6b72a9beda54 | [
"MIT"
] | 11 | 2018-12-30T17:43:44.000Z | 2022-01-07T05:32:02.000Z | nationstates_async/__init__.py | DolphDev/pynationstates-async | b632256636dadeb3abfd5b9dcfea6b72a9beda54 | [
"MIT"
] | 8 | 2019-01-23T18:35:26.000Z | 2021-07-06T16:44:09.000Z | nationstates_async/__init__.py | DolphDev/pynationstates-async | b632256636dadeb3abfd5b9dcfea6b72a9beda54 | [
"MIT"
] | 4 | 2019-12-04T02:35:12.000Z | 2021-12-20T03:53:17.000Z | from .main import Nationstates
from .nsapiwrapper import Shard
from . import exceptions | 29 | 31 | 0.83908 | 11 | 87 | 6.636364 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126437 | 87 | 3 | 32 | 29 | 0.960526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
2cfa65c151ccabb454356563e40f84ca7331ae3a | 105 | py | Python | paltas/Configs/2203_00690/config_test_large_cone_angle.py | swagnercarena/paltas | 62495381e406dfb508a1ace4aa69cbe9a4207e38 | [
"MIT"
] | 5 | 2022-02-11T19:58:03.000Z | 2022-03-07T19:45:23.000Z | paltas/Configs/2203_00690/config_test_large_cone_angle.py | swagnercarena/paltas | 62495381e406dfb508a1ace4aa69cbe9a4207e38 | [
"MIT"
] | 8 | 2022-02-01T00:42:34.000Z | 2022-03-31T17:42:55.000Z | paltas/Configs/2203_00690/config_test_large_cone_angle.py | swagnercarena/paltas | 62495381e406dfb508a1ace4aa69cbe9a4207e38 | [
"MIT"
] | 1 | 2022-02-11T19:54:53.000Z | 2022-02-11T19:54:53.000Z | from paltas.Configs.xxxx_yyyy.config_val import *
config_dict['los']['parameters']['cone_angle'] = 10.0
| 26.25 | 53 | 0.752381 | 16 | 105 | 4.6875 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030928 | 0.07619 | 105 | 3 | 54 | 35 | 0.742268 | 0 | 0 | 0 | 0 | 0 | 0.219048 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
fa01c405108419ab19687021d63157fd29ae97d4 | 70 | py | Python | CLI/__init__.py | CorentinGoet/miniC-Compiler | 8631b1ce47e9de1c3a3255d7c0a941242ad48292 | [
"MIT"
] | null | null | null | CLI/__init__.py | CorentinGoet/miniC-Compiler | 8631b1ce47e9de1c3a3255d7c0a941242ad48292 | [
"MIT"
] | null | null | null | CLI/__init__.py | CorentinGoet/miniC-Compiler | 8631b1ce47e9de1c3a3255d7c0a941242ad48292 | [
"MIT"
] | null | null | null | """
Python package for the command line interfae of this project.
"""
| 17.5 | 61 | 0.728571 | 10 | 70 | 5.1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171429 | 70 | 3 | 62 | 23.333333 | 0.87931 | 0.871429 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
fa0a1101b2ab36b3821270f6e7bfccc594bef1f7 | 1,477 | py | Python | tests/common/helpers/platform_api/fan_drawer.py | Minkang-Tsai/sonic-mgmt | f4d2b82758ca36f50a367a7398f76df8219310fa | [
"Apache-2.0"
] | 1 | 2021-09-15T17:07:18.000Z | 2021-09-15T17:07:18.000Z | tests/common/helpers/platform_api/fan_drawer.py | Minkang-Tsai/sonic-mgmt | f4d2b82758ca36f50a367a7398f76df8219310fa | [
"Apache-2.0"
] | 1 | 2020-02-05T16:51:53.000Z | 2020-02-05T16:51:53.000Z | tests/common/helpers/platform_api/fan_drawer.py | Minkang-Tsai/sonic-mgmt | f4d2b82758ca36f50a367a7398f76df8219310fa | [
"Apache-2.0"
] | null | null | null | """ This module provides interface to interact with the fan_drawer of the DUT
via platform API remotely """
import json
import logging
logger = logging.getLogger(__name__)
def fan_drawer_api(conn, index, name, args=None):
if args is None:
args = []
conn.request('POST', '/platform/chassis/fan_dra... | 23.822581 | 122 | 0.703453 | 216 | 1,477 | 4.560185 | 0.291667 | 0.173604 | 0.13401 | 0.162437 | 0.385787 | 0.364467 | 0.337056 | 0.337056 | 0.337056 | 0.17868 | 0 | 0 | 0.162492 | 1,477 | 61 | 123 | 24.213115 | 0.796281 | 0.122546 | 0 | 0 | 0 | 0 | 0.170313 | 0.026563 | 0 | 0 | 0 | 0 | 0 | 1 | 0.344828 | false | 0 | 0.068966 | 0.310345 | 0.758621 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
fa0a79dd9cbc2083fd34886441abdc4bd17fee69 | 45 | py | Python | python/testData/resolve/PercentStringParenDictCall.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/resolve/PercentStringParenDictCall.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/resolve/PercentStringParenDictCall.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | "first is %(<ref>fst)s" % (dict(fst="hello")) | 45 | 45 | 0.577778 | 8 | 45 | 3.25 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 45 | 1 | 45 | 45 | 0.634146 | 0 | 0 | 0 | 0 | 0 | 0.565217 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
fa0cc8aed98e68766cd01227cf89af0bccff8a24 | 541 | py | Python | server/modules/redis.py | ma-he-sh/MovieMetaPredict | 800ac82542a9cdf027f827fad135b052d01e83ba | [
"MIT"
] | null | null | null | server/modules/redis.py | ma-he-sh/MovieMetaPredict | 800ac82542a9cdf027f827fad135b052d01e83ba | [
"MIT"
] | null | null | null | server/modules/redis.py | ma-he-sh/MovieMetaPredict | 800ac82542a9cdf027f827fad135b052d01e83ba | [
"MIT"
] | null | null | null | import redis
from config import APP_CONFIG
"""
Handle redis connections for the site, allow to set, update and delete
This file is been used by rq_worker for handling the works jobs
"""
class REDIS():
def __init__(self):
self.rd = redis.Redis(host=APP_CONFIG['REDIS']['REDIS_HOST'], port=APP_CONFIG['REDIS']['REDIS_... | 27.05 | 147 | 0.711645 | 89 | 541 | 4.168539 | 0.494382 | 0.097035 | 0.113208 | 0.153639 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002169 | 0.147874 | 541 | 20 | 148 | 27.05 | 0.802603 | 0 | 0 | 0 | 0 | 0 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.363636 | false | 0.090909 | 0.181818 | 0.181818 | 0.818182 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
fa1de86fe42e19d849e448971bad27e9ec61b672 | 351 | py | Python | src/facet/selection/__init__.py | skandupmanyu/facet | 545ade531ecfa617bad346ebef12955afa876cca | [
"Apache-2.0"
] | null | null | null | src/facet/selection/__init__.py | skandupmanyu/facet | 545ade531ecfa617bad346ebef12955afa876cca | [
"Apache-2.0"
] | null | null | null | src/facet/selection/__init__.py | skandupmanyu/facet | 545ade531ecfa617bad346ebef12955afa876cca | [
"Apache-2.0"
] | null | null | null | """
Learner selection with hyperparameter optimization.
:class:`.LearnerGrid` encapsulates a :class:`~sklearndf.PipelineDF` and a grid of
hyperparameters.
:class:`.LearnerRanker` selects the best pipeline and parametrization based on the
pipeline and hyperparameter choices provided as a list of :class:`.LearnerGrid`.... | 31.909091 | 82 | 0.789174 | 42 | 351 | 6.571429 | 0.690476 | 0.115942 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119658 | 351 | 10 | 83 | 35.1 | 0.893204 | 0.900285 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
fa356d15a1855e3894cc2be8b531956e3ca2914e | 191 | py | Python | egs/wsj/s5/steps/libs/nnet3/xconfig/layers.py | dakshdrolia376/old_kaldi | 6739d60208defbf9be5d3e0a74a4a4204330991f | [
"Apache-2.0"
] | 66 | 2018-07-06T07:07:56.000Z | 2021-07-30T07:59:54.000Z | egs/wsj/s5/steps/libs/nnet3/xconfig/layers.py | aashishyadavally/Working-with-Kaldi | 38530efb23fc0f57a1d139d27b797be93ecb41b2 | [
"Apache-2.0"
] | 7 | 2018-09-01T03:03:14.000Z | 2019-11-04T10:51:04.000Z | egs/wsj/s5/steps/libs/nnet3/xconfig/layers.py | aashishyadavally/Working-with-Kaldi | 38530efb23fc0f57a1d139d27b797be93ecb41b2 | [
"Apache-2.0"
] | 15 | 2018-07-03T13:47:26.000Z | 2021-10-17T04:26:13.000Z | # Copyright 2016 Johns Hopkins University (Dan Povey)
# 2016 Vijayaditya Peddinti
# 2016 Yiming Wang
# Apache 2.0.
from basic_layers import *
from lstm import *
| 23.875 | 56 | 0.649215 | 23 | 191 | 5.347826 | 0.826087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104478 | 0.298429 | 191 | 7 | 57 | 27.285714 | 0.813433 | 0.706806 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
fa491fd295415c49ba1a4f690d316caf3abcfddf | 677 | py | Python | 2021/18_2/solution_test.py | budavariam/advent_of_code | 0903bcbb0df46371b6a340ca2be007dce6470c66 | [
"MIT"
] | null | null | null | 2021/18_2/solution_test.py | budavariam/advent_of_code | 0903bcbb0df46371b6a340ca2be007dce6470c66 | [
"MIT"
] | null | null | null | 2021/18_2/solution_test.py | budavariam/advent_of_code | 0903bcbb0df46371b6a340ca2be007dce6470c66 | [
"MIT"
] | 1 | 2022-02-11T13:14:50.000Z | 2022-02-11T13:14:50.000Z | """ Advent of code 2021 day 18 / 2 """
import unittest
from solution import solution
class MyTest(unittest.TestCase):
"""Unist tests for actual day"""
def test_basic(self):
""" Test from the task """
self.assertEqual(solution("""[[[0,[5,8]],[[1,7],[9,6]]],[[4,[1,2]],[[1,4],2]]]
[[[5,[2,8]],4... | 26.038462 | 86 | 0.435746 | 134 | 677 | 2.134328 | 0.283582 | 0.027972 | 0.020979 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177852 | 0.119645 | 677 | 25 | 87 | 27.08 | 0.302013 | 0.113737 | 0 | 0 | 0 | 0.3125 | 0.63167 | 0.60241 | 0 | 0 | 0 | 0 | 0.0625 | 1 | 0.0625 | false | 0 | 0.125 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
fa6536ca7ff4d79ba5014776989322555b21e235 | 163 | py | Python | gameapi/tables/tablebase.py | kvnwyl/GameAPI | 166e2bcb405d34549e09acc5c71d879e0a1c0bdf | [
"MIT"
] | 1 | 2021-02-18T12:54:04.000Z | 2021-02-18T12:54:04.000Z | gameapi/tables/tablebase.py | kvnwyl/GameAPI | 166e2bcb405d34549e09acc5c71d879e0a1c0bdf | [
"MIT"
] | 3 | 2021-02-18T12:00:13.000Z | 2021-02-18T12:05:17.000Z | gameapi/tables/tablebase.py | kvnwyl/GameAPI | 166e2bcb405d34549e09acc5c71d879e0a1c0bdf | [
"MIT"
] | null | null | null | from sqlalchemy.ext.declarative import declarative_base
# Base file created to allow declarative base to be referenced
# by all tables.
Base = declarative_base()
| 27.166667 | 62 | 0.809816 | 23 | 163 | 5.652174 | 0.652174 | 0.346154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141104 | 163 | 5 | 63 | 32.6 | 0.928571 | 0.460123 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
d71f4dff508ed3d536fcdb8a1f5247495675b956 | 56 | py | Python | corpusLabe.py | brightereyeslynxes/corpusLabe_prototype | 806af365d1256d0fadd7ab1f4f54a1233278fee5 | [
"MIT"
] | null | null | null | corpusLabe.py | brightereyeslynxes/corpusLabe_prototype | 806af365d1256d0fadd7ab1f4f54a1233278fee5 | [
"MIT"
] | null | null | null | corpusLabe.py | brightereyeslynxes/corpusLabe_prototype | 806af365d1256d0fadd7ab1f4f54a1233278fee5 | [
"MIT"
] | null | null | null | from subprocess import call
call(["python", "demo.py"])
| 18.666667 | 27 | 0.714286 | 8 | 56 | 5 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 56 | 2 | 28 | 28 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.232143 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
d72bf0627d2b7c922d0b2eef6f837f5d319be841 | 137 | py | Python | c2wl_rocket.py | KerstenBreuer/C2WL-Rocket | bbd796d08188014adb14ec89c22c1a8d6ba0e606 | [
"Apache-2.0"
] | null | null | null | c2wl_rocket.py | KerstenBreuer/C2WL-Rocket | bbd796d08188014adb14ec89c22c1a8d6ba0e606 | [
"Apache-2.0"
] | 2 | 2020-04-19T15:05:53.000Z | 2020-05-20T23:12:07.000Z | c2wl_rocket.py | KerstenBreuer/C2WL-Rocket | bbd796d08188014adb14ec89c22c1a8d6ba0e606 | [
"Apache-2.0"
] | null | null | null |
# #!/usr/bin/env python3
from c2wl_rocket.__main__ import main
# alternative command line entry point for the c2wl-rocket module
main() | 22.833333 | 65 | 0.781022 | 21 | 137 | 4.857143 | 0.809524 | 0.196078 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025424 | 0.138686 | 137 | 6 | 66 | 22.833333 | 0.838983 | 0.620438 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
d7385faab74c89ac303813e55b14c73cd1c79475 | 93 | py | Python | text_of_file.py | catskillsresearch/openasr20 | b9821c4ee6a51501e81103c1d6d4db0ea8aaa31e | [
"Apache-2.0"
] | null | null | null | text_of_file.py | catskillsresearch/openasr20 | b9821c4ee6a51501e81103c1d6d4db0ea8aaa31e | [
"Apache-2.0"
] | null | null | null | text_of_file.py | catskillsresearch/openasr20 | b9821c4ee6a51501e81103c1d6d4db0ea8aaa31e | [
"Apache-2.0"
] | 1 | 2021-07-28T02:13:21.000Z | 2021-07-28T02:13:21.000Z | def text_of_file(fn):
with open(fn, 'r', encoding='utf-8') as f:
return f.read()
| 23.25 | 46 | 0.580645 | 17 | 93 | 3.058824 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014085 | 0.236559 | 93 | 3 | 47 | 31 | 0.71831 | 0 | 0 | 0 | 0 | 0 | 0.064516 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
d73dd0783b66b7dde8dc488e5086bfbbf4942652 | 1,625 | py | Python | code/python/Publisher/v3/fds/sdk/Publisher/models/__init__.py | factset/enterprise-sdk | 3fd4d1360756c515c9737a0c9a992c7451d7de7e | [
"Apache-2.0"
] | 6 | 2022-02-07T16:34:18.000Z | 2022-03-30T08:04:57.000Z | code/python/Publisher/v3/fds/sdk/Publisher/models/__init__.py | factset/enterprise-sdk | 3fd4d1360756c515c9737a0c9a992c7451d7de7e | [
"Apache-2.0"
] | 2 | 2022-02-07T05:25:57.000Z | 2022-03-07T14:18:04.000Z | code/python/Publisher/v3/fds/sdk/Publisher/models/__init__.py | factset/enterprise-sdk | 3fd4d1360756c515c9737a0c9a992c7451d7de7e | [
"Apache-2.0"
] | null | null | null | # flake8: noqa
# import all models into this package
# if you have many models here with many references from one model to another this may
# raise a RecursionError
# to avoid this, import only the models that you directly need like:
# from from fds.sdk.Publisher.model.pet import Pet
# or import this package, but befo... | 56.034483 | 96 | 0.861538 | 222 | 1,625 | 6.198198 | 0.342342 | 0.09157 | 0.130814 | 0.248547 | 0.458576 | 0.40625 | 0.252907 | 0.069767 | 0 | 0 | 0 | 0.000671 | 0.083077 | 1,625 | 28 | 97 | 58.035714 | 0.922819 | 0.220308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
d74fc7e9153a8805e4ec69dd54a408e333adbb98 | 139 | py | Python | day04/test6.py | liuweidongg/dejin | 12240b9d27347d6e041338869591aa7133bf80cd | [
"Apache-2.0"
] | 1 | 2018-09-27T02:01:38.000Z | 2018-09-27T02:01:38.000Z | day04/test6.py | liuweidongg/dejin | 12240b9d27347d6e041338869591aa7133bf80cd | [
"Apache-2.0"
] | null | null | null | day04/test6.py | liuweidongg/dejin | 12240b9d27347d6e041338869591aa7133bf80cd | [
"Apache-2.0"
] | null | null | null | def year(i):
if i%400==0 | (i%4==0 & i%100!=0):
print(366)
else:
print(365)
for i in range(2010,2021):
year(i)
| 17.375 | 38 | 0.482014 | 26 | 139 | 2.576923 | 0.653846 | 0.149254 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.252632 | 0.316547 | 139 | 7 | 39 | 19.857143 | 0.452632 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0 | 0 | 0.142857 | 0.285714 | 1 | 0 | 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 | 4 |
d77c361208397125d394d496760996eb8687633f | 1,510 | py | Python | scripts/ledmatrixext/rgb24.py | xtremecopters/XPMaster | 2fb297d38b58a5542fc908183b5625f511264441 | [
"MIT"
] | null | null | null | scripts/ledmatrixext/rgb24.py | xtremecopters/XPMaster | 2fb297d38b58a5542fc908183b5625f511264441 | [
"MIT"
] | null | null | null | scripts/ledmatrixext/rgb24.py | xtremecopters/XPMaster | 2fb297d38b58a5542fc908183b5625f511264441 | [
"MIT"
] | null | null | null | class rgb24:
'24bit pixel color value class for LEDMatrix.'
def __init__(self, r=[0, 0, 0], g=None, b=None):
if(isinstance(r, list) and g is None and b is None):
self.value = r # Red, Green, Blue list
elif(isinstance(r, (int,long)) and isinstance(g, (int,long)) and isinstance(b, (i... | 26.491228 | 100 | 0.570861 | 212 | 1,510 | 3.971698 | 0.264151 | 0.203088 | 0.124703 | 0.090261 | 0.252969 | 0.224466 | 0.224466 | 0.224466 | 0.224466 | 0.224466 | 0 | 0.026341 | 0.296026 | 1,510 | 56 | 101 | 26.964286 | 0.765757 | 0.098013 | 0 | 0.125 | 0 | 0 | 0.047789 | 0 | 0 | 0 | 0 | 0 | 0.1 | 1 | 0.35 | false | 0 | 0 | 0.125 | 0.575 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
d780d3e734bdeacde76524ea5d46f4b6f934db4a | 1,407 | py | Python | wap/exception.py | leonluc-dev/wap | ca1d29a820996a3d04a5b89f28cb5f6e5421ed80 | [
"MIT"
] | null | null | null | wap/exception.py | leonluc-dev/wap | ca1d29a820996a3d04a5b89f28cb5f6e5421ed80 | [
"MIT"
] | 17 | 2021-02-25T05:56:15.000Z | 2021-06-03T06:03:59.000Z | wap/exception.py | leonluc-dev/wap | ca1d29a820996a3d04a5b89f28cb5f6e5421ed80 | [
"MIT"
] | 1 | 2021-05-29T17:47:54.000Z | 2021-05-29T17:47:54.000Z | class WAPException(Exception):
"""General WAP exception"""
def __init__(self, message: str):
self.message = message
class ConfigException(WAPException):
"""Indicates a general problem with the config."""
class ConfigSemanticException(ConfigException):
"""Indicates there was a problem with t... | 24.258621 | 67 | 0.744847 | 145 | 1,407 | 7.2 | 0.4 | 0.201149 | 0.210728 | 0.25 | 0.215517 | 0.114943 | 0.078544 | 0 | 0 | 0 | 0 | 0 | 0.159204 | 1,407 | 57 | 68 | 24.684211 | 0.882502 | 0.432125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0625 | false | 0 | 0 | 0 | 0.9375 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
ad20ecba46479d80f8f6ac3d319c15ef318a7b99 | 439 | py | Python | semana-03/VPL(1;2)/VPL-2/autor.py | larissajusten/ufsc-object-oriented-programming | 839e6abcc20580ea1a47479232c3ed3cb0153e4b | [
"MIT"
] | 6 | 2021-11-29T05:43:19.000Z | 2022-03-15T21:54:54.000Z | semana-03/VPL(1;2)/VPL-2/autor.py | larissajusten/ufsc-object-oriented-programming | 839e6abcc20580ea1a47479232c3ed3cb0153e4b | [
"MIT"
] | 3 | 2021-11-21T03:44:03.000Z | 2021-11-21T03:44:05.000Z | semana-03/VPL(1;2)/VPL-2/autor.py | larissajusten/ufsc-object-oriented-programming | 839e6abcc20580ea1a47479232c3ed3cb0153e4b | [
"MIT"
] | null | null | null | class Autor:
def __init__(self, codigo: int, nome: str):
self.__codigo = codigo
self.__nome = nome
@property
def codigo(self) -> int:
return self.__codigo
@codigo.setter
def codigo(self, codigo: int) -> None:
self.__codigo = codigo
@property
def nome(self) ... | 20.904762 | 47 | 0.580866 | 53 | 439 | 4.509434 | 0.245283 | 0.209205 | 0.200837 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.309795 | 439 | 20 | 48 | 21.95 | 0.788779 | 0 | 0 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3125 | false | 0 | 0 | 0.125 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
ad23ebbb1f2532b6b8fb02d0e5de294d9dd2c07f | 257 | py | Python | conifer/sources/__init__.py | alex-dr/conifer | 4f99aeb3ef95cf45f9fd00d1eacbfe57e42ec76e | [
"MIT"
] | 3 | 2018-08-14T02:11:54.000Z | 2019-08-05T15:21:23.000Z | conifer/sources/__init__.py | alex-dr/conifer | 4f99aeb3ef95cf45f9fd00d1eacbfe57e42ec76e | [
"MIT"
] | 1 | 2020-01-08T20:52:46.000Z | 2020-01-08T20:52:46.000Z | conifer/sources/__init__.py | alex-dr/conifer | 4f99aeb3ef95cf45f9fd00d1eacbfe57e42ec76e | [
"MIT"
] | null | null | null | from .click_opts import ClickOptionLoader
from .dict_source import DictLoader
from .environment_config import EnvironmentConfigLoader
from .json_file import JSONFileLoader
__all__ = [ClickOptionLoader, DictLoader, EnvironmentConfigLoader, JSONFileLoader]
| 32.125 | 82 | 0.867704 | 25 | 257 | 8.6 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093385 | 257 | 7 | 83 | 36.714286 | 0.922747 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
ad2ac30a1313a52f32d3eb91c90fc100b72556c6 | 230 | py | Python | web3/gas_strategies/rpc.py | y19818/web3.py | 32a85a287ab63220d1e0c06d77be74de595ff02f | [
"MIT"
] | null | null | null | web3/gas_strategies/rpc.py | y19818/web3.py | 32a85a287ab63220d1e0c06d77be74de595ff02f | [
"MIT"
] | null | null | null | web3/gas_strategies/rpc.py | y19818/web3.py | 32a85a287ab63220d1e0c06d77be74de595ff02f | [
"MIT"
] | null | null | null | def rpc_gas_price_strategy(web3, transaction_params=None):
"""
A simple gas price strategy deriving it's value from the vns_gasPrice JSON-RPC call.
"""
return web3.manager.request_blocking("vns_gasPrice", [])
| 38.333333 | 89 | 0.717391 | 32 | 230 | 4.9375 | 0.78125 | 0.101266 | 0.202532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010638 | 0.182609 | 230 | 5 | 90 | 46 | 0.829787 | 0.365217 | 0 | 0 | 0 | 0 | 0.096 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
ad2e96c4329a19394a9ab381a98282bd29ca694f | 15,216 | py | Python | examples/minitwit/stock.py | txdywy/flask | 5cf167b448267aedec8f5b2e30ad4ee0ad9b3f55 | [
"BSD-3-Clause"
] | 2 | 2015-08-07T18:01:01.000Z | 2015-08-14T03:29:10.000Z | examples/minitwit/stock.py | txdywy/flask | 5cf167b448267aedec8f5b2e30ad4ee0ad9b3f55 | [
"BSD-3-Clause"
] | 2 | 2015-03-30T05:28:35.000Z | 2015-06-28T01:08:50.000Z | examples/minitwit/stock.py | txdywy/flask | 5cf167b448267aedec8f5b2e30ad4ee0ad9b3f55 | [
"BSD-3-Clause"
] | 2 | 2015-03-04T05:06:55.000Z | 2015-03-29T22:46:19.000Z | # -*- coding: utf-8 -*-
import requests
import datetime
import json
US_STOCK = {'fb': 'fb',
'msci': 'msci',
'jd': 'jd',
'app': 'aapl',
'tw': 'twtr',
'ms': 'msft',
'g': 'goog',
'amz': 'amzn',
'tsla': 'tsla',
'ali... | 38.816327 | 1,062 | 0.539892 | 2,717 | 15,216 | 2.913508 | 0.181082 | 0.008338 | 0.009096 | 0.009601 | 0.328196 | 0.263138 | 0.225114 | 0.218545 | 0.172688 | 0.12759 | 0 | 0.299056 | 0.26183 | 15,216 | 391 | 1,063 | 38.915601 | 0.405716 | 0.306125 | 0 | 0.128631 | 0 | 0.029046 | 0.146665 | 0.007464 | 0.004149 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.012448 | null | null | 0.016598 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ad51c5e64ab34af3f77457411af3494fbeafc036 | 723 | py | Python | pupil_src/shared_modules/pupil_detectors/detector_dummy.py | paulmathai01/Pupil-Interfaced | 4ec40c90876af3bdf75b1def47d21e49a79252b8 | [
"MIT"
] | 1 | 2018-10-29T04:30:32.000Z | 2018-10-29T04:30:32.000Z | pupil_src/shared_modules/pupil_detectors/detector_dummy.py | paulmathai01/Pupil-Interfaced | 4ec40c90876af3bdf75b1def47d21e49a79252b8 | [
"MIT"
] | null | null | null | pupil_src/shared_modules/pupil_detectors/detector_dummy.py | paulmathai01/Pupil-Interfaced | 4ec40c90876af3bdf75b1def47d21e49a79252b8 | [
"MIT"
] | null | null | null | '''
(*)~---------------------------------------------------------------------------
Pupil - eye tracking platform
Copyright (C) 2012-2018 Pupil Labs
Distributed under the terms of the GNU
Lesser General Public License (LGPL v3.0).
See COPYING and COPYING.LESSER for license details.
------------------------------------... | 24.1 | 79 | 0.520055 | 75 | 723 | 4.826667 | 0.693333 | 0.082873 | 0.049724 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01692 | 0.182573 | 723 | 29 | 80 | 24.931034 | 0.595601 | 0.496542 | 0 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.416667 | false | 0.166667 | 0.083333 | 0.166667 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
ad5635448b5a065fe103f0ea3ce6e5122250c97b | 85 | py | Python | __init__.py | asukiaaa/matrix_cloner | b757f0273db7ab8b56f024b4ad72f94541a83df6 | [
"MIT"
] | null | null | null | __init__.py | asukiaaa/matrix_cloner | b757f0273db7ab8b56f024b4ad72f94541a83df6 | [
"MIT"
] | null | null | null | __init__.py | asukiaaa/matrix_cloner | b757f0273db7ab8b56f024b4ad72f94541a83df6 | [
"MIT"
] | null | null | null | from .matrix_cloner_action import MatrixClonerAction
MatrixClonerAction().register()
| 28.333333 | 52 | 0.870588 | 8 | 85 | 9 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 85 | 2 | 53 | 42.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
ad88012d79f7468008b0ab0f85debc23029375a4 | 400 | py | Python | app.py | SrinijaKatakam/python-docs-hello-world | f2a031f37d9a6f071b88fa5e5ceff64348f987e4 | [
"MIT"
] | null | null | null | app.py | SrinijaKatakam/python-docs-hello-world | f2a031f37d9a6f071b88fa5e5ceff64348f987e4 | [
"MIT"
] | null | null | null | app.py | SrinijaKatakam/python-docs-hello-world | f2a031f37d9a6f071b88fa5e5ceff64348f987e4 | [
"MIT"
] | null | null | null | from flask import Flask, render_template
from datetime import datetime
import re
from azure.storage.blob import BlobServiceClient
import pandas as pd
app = Flask(__name__)
@app.route("/")
def hello():
return render_template('index.html')
@app.route("/page1")
def page1():
return render_template('page1.html')... | 16.666667 | 48 | 0.73 | 54 | 400 | 5.259259 | 0.444444 | 0.197183 | 0.211268 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017493 | 0.1425 | 400 | 23 | 49 | 17.391304 | 0.810496 | 0 | 0 | 0 | 0 | 0 | 0.108312 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.333333 | 0.2 | 0.733333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
a8e7bbf84efc830fda351a317d75efbcc3d8bef2 | 96 | py | Python | code/abc132_a_01.py | KoyanagiHitoshi/AtCoder | 731892543769b5df15254e1f32b756190378d292 | [
"MIT"
] | 3 | 2019-08-16T16:55:48.000Z | 2021-04-11T10:21:40.000Z | code/abc132_a_04.py | KoyanagiHitoshi/AtCoder | 731892543769b5df15254e1f32b756190378d292 | [
"MIT"
] | null | null | null | code/abc132_a_04.py | KoyanagiHitoshi/AtCoder | 731892543769b5df15254e1f32b756190378d292 | [
"MIT"
] | null | null | null | S=input()
s=list(set(S))
print("Yes" if len(s)==2 and S.count(s[0])==S.count(s[1])==2 else "No") | 32 | 71 | 0.583333 | 24 | 96 | 2.333333 | 0.625 | 0.214286 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 0.083333 | 96 | 3 | 71 | 32 | 0.590909 | 0 | 0 | 0 | 0 | 0 | 0.051546 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a8f3283c01094b0fd25d56f10414fc7a5f9c115d | 68 | py | Python | discord/ext/__init__.py | znqi/discord.py | 686db7661c5f544d1eb1ad72237806425a2ba5e8 | [
"MIT"
] | null | null | null | discord/ext/__init__.py | znqi/discord.py | 686db7661c5f544d1eb1ad72237806425a2ba5e8 | [
"MIT"
] | null | null | null | discord/ext/__init__.py | znqi/discord.py | 686db7661c5f544d1eb1ad72237806425a2ba5e8 | [
"MIT"
] | null | null | null | #: Create this so that VSCODE or any IDE understand this
#: module.
| 22.666667 | 56 | 0.735294 | 11 | 68 | 4.545455 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.191176 | 68 | 2 | 57 | 34 | 0.909091 | 0.941176 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a8fa7573dba49f9ed414bee9f7d6c9030361f78e | 187 | py | Python | tests/pwb/print_unicode.py | valhallasw/pywikibot-core | 32a8c3c1298a5cb077381fe202daefde82c1c5d3 | [
"MIT"
] | null | null | null | tests/pwb/print_unicode.py | valhallasw/pywikibot-core | 32a8c3c1298a5cb077381fe202daefde82c1c5d3 | [
"MIT"
] | null | null | null | tests/pwb/print_unicode.py | valhallasw/pywikibot-core | 32a8c3c1298a5cb077381fe202daefde82c1c5d3 | [
"MIT"
] | null | null | null | #!/usr/bin/python
# -*- coding: utf-8 -*-
"""Script that forms part of pwb_tests."""
from __future__ import unicode_literals
import pywikibot
pywikibot.output('Häuser')
print('Häuser')
| 18.7 | 42 | 0.721925 | 25 | 187 | 5.16 | 0.88 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006061 | 0.117647 | 187 | 9 | 43 | 20.777778 | 0.775758 | 0.40107 | 0 | 0 | 0 | 0 | 0.114286 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.25 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
d127d4e6419863b73f77306ac18a96747953860e | 274 | py | Python | dynamodb_counter/serializers.py | a2d24/dynamodb-counter | 3827fb1db3df72ba592e23ed06e0f0e7f5d27f40 | [
"MIT"
] | 2 | 2021-06-17T03:13:04.000Z | 2021-06-23T11:55:56.000Z | dynamodb_counter/serializers.py | a2d24/dynamodb-counter | 3827fb1db3df72ba592e23ed06e0f0e7f5d27f40 | [
"MIT"
] | null | null | null | dynamodb_counter/serializers.py | a2d24/dynamodb-counter | 3827fb1db3df72ba592e23ed06e0f0e7f5d27f40 | [
"MIT"
] | null | null | null | from boto3.dynamodb.types import TypeDeserializer, TypeSerializer
deserializer = TypeDeserializer()
serializer = TypeSerializer()
def deserialize(document):
return deserializer.deserialize({'M': document})
def serialize(value):
return serializer.serialize(value) | 24.909091 | 65 | 0.791971 | 26 | 274 | 8.346154 | 0.615385 | 0.129032 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004115 | 0.113139 | 274 | 11 | 66 | 24.909091 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0.003636 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.285714 | 0.714286 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
d131954c0fb657be85588b86212e6e898c9d6cc7 | 3,004 | py | Python | webapp/starter/person/admin.py | ry-battuta/battuta-book | e3cbde82f16533312b8d11ac3347747d07698b54 | [
"Apache-2.0"
] | null | null | null | webapp/starter/person/admin.py | ry-battuta/battuta-book | e3cbde82f16533312b8d11ac3347747d07698b54 | [
"Apache-2.0"
] | null | null | null | webapp/starter/person/admin.py | ry-battuta/battuta-book | e3cbde82f16533312b8d11ac3347747d07698b54 | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
# Register your models here.
from .models import Person, Tag, Question
@admin.register(Person)
class PersonAdmin(admin.ModelAdmin):
list_display = ('email', 'first_name', 'last_name',)
ordering = ('id',)
search_fields = ('name', 'id')
readonly_fields = ('id',)
de... | 36.634146 | 195 | 0.510985 | 271 | 3,004 | 5.476015 | 0.243542 | 0.059299 | 0.102426 | 0.113208 | 0.746631 | 0.710243 | 0.686658 | 0.67655 | 0.669811 | 0.636119 | 0 | 0 | 0.294607 | 3,004 | 81 | 196 | 37.08642 | 0.70033 | 0 | 0 | 0.793651 | 0 | 0 | 0.247945 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.031746 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0f1551717b9ca5c057f0f7ca85190d45aa3a4946 | 91 | py | Python | LiveChat/apps.py | MissedLove/webchat | 409c02bb0c364df4ed3e52ce9849b6ce5e72eed6 | [
"Apache-2.0"
] | 2 | 2019-06-25T03:07:50.000Z | 2021-09-09T04:06:30.000Z | LiveChat/apps.py | MissedLove/webchat | 409c02bb0c364df4ed3e52ce9849b6ce5e72eed6 | [
"Apache-2.0"
] | 3 | 2020-02-12T00:48:54.000Z | 2021-06-10T21:39:11.000Z | LiveChat/apps.py | MissedLove/webchat | 409c02bb0c364df4ed3e52ce9849b6ce5e72eed6 | [
"Apache-2.0"
] | null | null | null | from django.apps import AppConfig
class LiveChatConfig(AppConfig):
name = 'LiveChat'
| 15.166667 | 33 | 0.758242 | 10 | 91 | 6.9 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164835 | 91 | 5 | 34 | 18.2 | 0.907895 | 0 | 0 | 0 | 0 | 0 | 0.087912 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
0f27926c4ab1a0fa6a8f41b756e389a1c015944b | 288 | py | Python | django_sso_app/app/settings.py | paiuolo/django-sso-app | 75b96c669dc0b176dc77e08f018a3e97d259f636 | [
"MIT"
] | 1 | 2021-11-16T15:16:08.000Z | 2021-11-16T15:16:08.000Z | django_sso_app/app/settings.py | paiuolo/django-sso-app | 75b96c669dc0b176dc77e08f018a3e97d259f636 | [
"MIT"
] | null | null | null | django_sso_app/app/settings.py | paiuolo/django-sso-app | 75b96c669dc0b176dc77e08f018a3e97d259f636 | [
"MIT"
] | null | null | null | from ..core.settings.common import *
DJANGO_SSO_APP_DJANGO_AUTHENTICATION_BACKENDS = [
# requests
'django_sso_app.core.authentication.backends.DjangoSsoAppApiGatewayAuthenticationBackend',
'django_sso_app.core.authentication.backends.DjangoSsoAppJwtAuthenticationBackend'
]
| 32 | 94 | 0.833333 | 26 | 288 | 8.884615 | 0.5 | 0.116883 | 0.155844 | 0.138528 | 0.329004 | 0.329004 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090278 | 288 | 8 | 95 | 36 | 0.881679 | 0.027778 | 0 | 0 | 0 | 0 | 0.600719 | 0.600719 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0f293b61bb7c91bc1781ed19a40815e2d49f4353 | 91 | py | Python | to_do_app/apps.py | Lettush/to-do-list | 9df56590fe6ad4fef2347d646c8ec74c91c1c9fc | [
"MIT"
] | null | null | null | to_do_app/apps.py | Lettush/to-do-list | 9df56590fe6ad4fef2347d646c8ec74c91c1c9fc | [
"MIT"
] | null | null | null | to_do_app/apps.py | Lettush/to-do-list | 9df56590fe6ad4fef2347d646c8ec74c91c1c9fc | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class ToDoAppConfig(AppConfig):
name = 'to_do_app'
| 15.166667 | 33 | 0.758242 | 12 | 91 | 5.583333 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164835 | 91 | 5 | 34 | 18.2 | 0.881579 | 0 | 0 | 0 | 0 | 0 | 0.098901 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
0f2e16c2a49e5e97383e511c34c780d357c67eb1 | 206 | py | Python | src/jyquickhelper/js/raphael/__init__.py | sdpython/jyquickhelper | b8b106ada7f8b606d4f152e186a3343b6c4ab2bb | [
"MIT"
] | 3 | 2020-03-06T23:17:14.000Z | 2021-10-16T05:51:21.000Z | src/jyquickhelper/js/raphael/__init__.py | sdpython/jyquickhelper | b8b106ada7f8b606d4f152e186a3343b6c4ab2bb | [
"MIT"
] | 9 | 2016-12-07T10:28:01.000Z | 2021-10-16T10:45:43.000Z | src/jyquickhelper/js/raphael/__init__.py | sdpython/jyquickhelper | b8b106ada7f8b606d4f152e186a3343b6c4ab2bb | [
"MIT"
] | null | null | null | """
@file
@brief `raphael <http://dmitrybaranovskiy.github.io/raphael/>`_,
*raphael-2.1.0* comes from `treant <http://fperucic.github.io/treant-js/>`_.
"""
def version():
"version"
return "2.2.0"
| 18.727273 | 76 | 0.645631 | 28 | 206 | 4.678571 | 0.642857 | 0.122137 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033333 | 0.126214 | 206 | 10 | 77 | 20.6 | 0.694444 | 0.752427 | 0 | 0 | 0 | 0 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
0f3e96bf4ed26c0014d761a2a0abb0cd1189ab1c | 555 | py | Python | apps/gui/example_lib_gui/context.py | devtank-ltd/devtank-dtlib | 32d354d2cb5c3b2f8838d07fb1e1d4ceb611e885 | [
"MIT"
] | null | null | null | apps/gui/example_lib_gui/context.py | devtank-ltd/devtank-dtlib | 32d354d2cb5c3b2f8838d07fb1e1d4ceb611e885 | [
"MIT"
] | null | null | null | apps/gui/example_lib_gui/context.py | devtank-ltd/devtank-dtlib | 32d354d2cb5c3b2f8838d07fb1e1d4ceb611e885 | [
"MIT"
] | null | null | null | import example_lib
from dt_gui_base import gui_context_object as base_gui_context_object
class gui_context_object(base_gui_context_object, example_lib.cli_context_object):
def __init__(self, args, db_def, glade_files):
example_lib.cli_context_object.__init__(self, args, db_def)
base_gui_context_o... | 34.6875 | 82 | 0.763964 | 86 | 555 | 4.313953 | 0.313953 | 0.280323 | 0.25876 | 0.215633 | 0.366577 | 0.261456 | 0.261456 | 0 | 0 | 0 | 0 | 0 | 0.169369 | 555 | 15 | 83 | 37 | 0.804772 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.181818 | false | 0 | 0.272727 | 0 | 0.545455 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
0f47e6ffe682f7e37090385bdcc4eab8a3da7e12 | 180 | py | Python | travis_tests.py | fdtomasi/rgi | ace8913f288c4c2197fba2bae6e7b8f7dcf39210 | [
"BSD-3-Clause"
] | 16 | 2017-10-18T14:56:26.000Z | 2021-09-19T02:09:48.000Z | travis_tests.py | fdtomasi/rgi | ace8913f288c4c2197fba2bae6e7b8f7dcf39210 | [
"BSD-3-Clause"
] | 15 | 2018-01-23T08:49:26.000Z | 2021-06-23T13:22:39.000Z | travis_tests.py | fdtomasi/rgi | ace8913f288c4c2197fba2bae6e7b8f7dcf39210 | [
"BSD-3-Clause"
] | 9 | 2018-01-12T17:29:47.000Z | 2021-06-05T02:48:46.000Z | #!/usr/bin/env python
import nose
import warnings
with warnings.catch_warnings():
warnings.simplefilter("ignore")
nose.main('regain', defaultTest='regain/tests/', argv=[''])
| 20 | 59 | 0.727778 | 22 | 180 | 5.909091 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 180 | 8 | 60 | 22.5 | 0.802469 | 0.111111 | 0 | 0 | 0 | 0 | 0.157233 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
7e34f3f37ee2adbee0170452d8f847000eacfa73 | 267 | py | Python | drf_dynamic_serializers/views.py | csdenboer/drf-dynamic-serializers | 84178e382f9edbb1be5297f29f6a1f6e621a2f2a | [
"MIT"
] | 5 | 2020-08-19T15:47:24.000Z | 2022-01-02T09:12:16.000Z | drf_dynamic_serializers/views.py | csdenboer/drf-dynamic-serializers | 84178e382f9edbb1be5297f29f6a1f6e621a2f2a | [
"MIT"
] | 3 | 2020-11-16T07:39:02.000Z | 2021-05-22T14:40:40.000Z | drf_dynamic_serializers/views.py | csdenboer/drf-dynamic-serializers | 84178e382f9edbb1be5297f29f6a1f6e621a2f2a | [
"MIT"
] | null | null | null | from rest_framework.viewsets import ModelViewSet
from .mixins import DynamicFieldsViewMixin
__all__ = ("DynamicFieldsModelViewSet",)
class DynamicFieldsModelViewSet(DynamicFieldsViewMixin, ModelViewSet):
"""
Viewset with dynamic fields.
"""
pass
| 19.071429 | 70 | 0.771536 | 21 | 267 | 9.571429 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157303 | 267 | 13 | 71 | 20.538462 | 0.893333 | 0.104869 | 0 | 0 | 0 | 0 | 0.112108 | 0.112108 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.2 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
7e66338e5efd09dbc98fcc7e6a639816e761a7ad | 116 | py | Python | alembic/env.py | ooduor/websauna.depot | 4992c28a8e35d4b22f7ff3a8b042fa74fca4ede4 | [
"MIT"
] | null | null | null | alembic/env.py | ooduor/websauna.depot | 4992c28a8e35d4b22f7ff3a8b042fa74fca4ede4 | [
"MIT"
] | null | null | null | alembic/env.py | ooduor/websauna.depot | 4992c28a8e35d4b22f7ff3a8b042fa74fca4ede4 | [
"MIT"
] | null | null | null | """Alembic migrations."""
from websauna.system.devop import alembic
alembic.run_alembic(package="websauna.depot")
| 19.333333 | 45 | 0.784483 | 14 | 116 | 6.428571 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077586 | 116 | 5 | 46 | 23.2 | 0.841122 | 0.163793 | 0 | 0 | 0 | 0 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
7e71a06a4dfb386c397a30c7fd5ef1f20ebc7adb | 9,232 | py | Python | splendor_sim/test/coin/test_coin_reserve.py | markbrockettrobson/SplendorBots | f78fab8cccf30c9cc4351308eedfca4203e55463 | [
"MIT"
] | 1 | 2019-06-19T02:00:32.000Z | 2019-06-19T02:00:32.000Z | splendor_sim/test/coin/test_coin_reserve.py | markbrockettrobson/SplendorBots | f78fab8cccf30c9cc4351308eedfca4203e55463 | [
"MIT"
] | null | null | null | splendor_sim/test/coin/test_coin_reserve.py | markbrockettrobson/SplendorBots | f78fab8cccf30c9cc4351308eedfca4203e55463 | [
"MIT"
] | null | null | null | import unittest
import unittest.mock as mock
import splendor_sim.interfaces.coin.i_coin_type as i_coin_type
import splendor_sim.interfaces.coin.i_coin_type_manager as i_coin_type_manager
import splendor_sim.src.coin.coin_reserve as coin_reserve
import splendor_sim.src.factories.json_schemas as json_schemas
import sple... | 34.706767 | 88 | 0.637673 | 1,152 | 9,232 | 4.646701 | 0.084201 | 0.101625 | 0.109845 | 0.137493 | 0.863254 | 0.827947 | 0.769849 | 0.690641 | 0.660191 | 0.633477 | 0 | 0.012003 | 0.278055 | 9,232 | 265 | 89 | 34.837736 | 0.791148 | 0.041053 | 0 | 0.41573 | 0 | 0 | 0.017175 | 0 | 0 | 0 | 0 | 0 | 0.11236 | 1 | 0.117978 | false | 0 | 0.039326 | 0 | 0.162921 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0e233a84fabf617d2f752ca0b9bdb7403f6a265f | 50 | py | Python | ajelastic/exceptions.py | aasaanjobs/ajelastic-sdk | 0ebbc332edf85403bbc7bcb482ef610436f48996 | [
"MIT"
] | null | null | null | ajelastic/exceptions.py | aasaanjobs/ajelastic-sdk | 0ebbc332edf85403bbc7bcb482ef610436f48996 | [
"MIT"
] | null | null | null | ajelastic/exceptions.py | aasaanjobs/ajelastic-sdk | 0ebbc332edf85403bbc7bcb482ef610436f48996 | [
"MIT"
] | null | null | null | class AJElasticSettingsError(Exception):
pass
| 16.666667 | 40 | 0.8 | 4 | 50 | 10 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14 | 50 | 2 | 41 | 25 | 0.930233 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
0e2a00700446caed5c8dfa4623ed0f34db9c792b | 2,407 | py | Python | tests/nltk_stages/test_rare.py | DavidKatz-il/pdpipe | 5ddd066425d99886bfc51cf19ab78b2bf8c7791a | [
"MIT"
] | 438 | 2017-03-02T16:55:34.000Z | 2019-12-20T03:29:36.000Z | tests/nltk_stages/test_rare.py | DavidKatz-il/pdpipe | 5ddd066425d99886bfc51cf19ab78b2bf8c7791a | [
"MIT"
] | 68 | 2019-12-21T12:51:51.000Z | 2022-03-13T13:06:14.000Z | tests/nltk_stages/test_rare.py | DavidKatz-il/pdpipe | 5ddd066425d99886bfc51cf19ab78b2bf8c7791a | [
"MIT"
] | 30 | 2019-12-21T12:18:18.000Z | 2022-03-17T05:53:19.000Z | """Test DropRareTokens stages."""
import pytest
import pandas as pd
from pdpipe.nltk_stages import DropRareTokens
def _some_df():
return pd.DataFrame(
data=[[7, ['a', 'a', 'b']], [3, ['b', 'c', 'd']]],
index=[1, 2],
columns=["num", "chars"]
)
def _some_df2():
return pd.DataFram... | 30.468354 | 60 | 0.594931 | 360 | 2,407 | 3.744444 | 0.144444 | 0.097923 | 0.106825 | 0.151335 | 0.895401 | 0.89095 | 0.75816 | 0.603858 | 0.529674 | 0.468843 | 0 | 0.032614 | 0.21022 | 2,407 | 78 | 61 | 30.858974 | 0.676486 | 0.084753 | 0 | 0.474576 | 0 | 0 | 0.12124 | 0 | 0 | 0 | 0 | 0 | 0.440678 | 1 | 0.067797 | false | 0 | 0.050847 | 0.033898 | 0.152542 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0e3e5edca2ca8be94ef6cd93992a2a2dd1f34537 | 340 | py | Python | HW6789 - Library Data Base/Domain/UndoRedo.py | 916-Maria-Popescu/Fundamental-of-Programming | 6ddf951622bd6cfde16ede5ab6ee966cff657db2 | [
"MIT"
] | null | null | null | HW6789 - Library Data Base/Domain/UndoRedo.py | 916-Maria-Popescu/Fundamental-of-Programming | 6ddf951622bd6cfde16ede5ab6ee966cff657db2 | [
"MIT"
] | null | null | null | HW6789 - Library Data Base/Domain/UndoRedo.py | 916-Maria-Popescu/Fundamental-of-Programming | 6ddf951622bd6cfde16ede5ab6ee966cff657db2 | [
"MIT"
] | null | null | null | from dataclasses import dataclass
@dataclass
class UndoOperation:
"""
Data class for undo operation object
"""
service: object
handler: object
parameters: tuple
@dataclass
class RedoOperation:
"""
Data class for redo operation object
"""
service: object
handler: object
... | 15.454545 | 40 | 0.670588 | 34 | 340 | 6.705882 | 0.5 | 0.122807 | 0.105263 | 0.245614 | 0.491228 | 0.491228 | 0.491228 | 0.491228 | 0 | 0 | 0 | 0 | 0.264706 | 340 | 21 | 41 | 16.190476 | 0.912 | 0.214706 | 0 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.090909 | 0 | 0.818182 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
0e7cc4f569a87ddb75e9ef11355fbd8cebb60b5d | 1,683 | py | Python | ex109/moeda.py | danoliveiradev/PythonExercicios | e788191e755f54cd3c51ca24a2d3a2ed32923b12 | [
"MIT"
] | null | null | null | ex109/moeda.py | danoliveiradev/PythonExercicios | e788191e755f54cd3c51ca24a2d3a2ed32923b12 | [
"MIT"
] | null | null | null | ex109/moeda.py | danoliveiradev/PythonExercicios | e788191e755f54cd3c51ca24a2d3a2ed32923b12 | [
"MIT"
] | null | null | null | def metade(v=0, formato=False):
"""
-> Função que calcula a metade de um valor
:param v: recebe o valor
:param formato: recebe verdadeiro ou falso para a formatação do preço (padrão False)
:return: retorna a metade do valor
"""
m = v / 2
return m if formato is False else moeda(m)
def d... | 30.6 | 88 | 0.644682 | 260 | 1,683 | 4.173077 | 0.207692 | 0.073733 | 0.0553 | 0.070046 | 0.733641 | 0.702304 | 0.702304 | 0.60553 | 0.60553 | 0.511521 | 0 | 0.012841 | 0.259655 | 1,683 | 54 | 89 | 31.166667 | 0.857945 | 0.602496 | 0 | 0.285714 | 0 | 0 | 0.034286 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.357143 | false | 0 | 0 | 0 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
0ea77a0b85ae9326421377857bbddbbf9b00338d | 50 | py | Python | fly_bbs/plugins/__init__.py | Jackynu/PyFly | f054a4cfc168e5278552aecb2a91b02f7359d038 | [
"MIT"
] | 1 | 2019-04-21T03:00:45.000Z | 2019-04-21T03:00:45.000Z | fly_bbs/plugins/__init__.py | Jackynu/PyFly | f054a4cfc168e5278552aecb2a91b02f7359d038 | [
"MIT"
] | 5 | 2021-03-18T23:55:05.000Z | 2022-03-11T23:45:50.000Z | fly_bbs/plugins/__init__.py | Jackynu/PyFly | f054a4cfc168e5278552aecb2a91b02f7359d038 | [
"MIT"
] | null | null | null | # coding=utf-8
from .whoosh import WhooshSearcher | 16.666667 | 34 | 0.8 | 7 | 50 | 5.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022727 | 0.12 | 50 | 3 | 34 | 16.666667 | 0.886364 | 0.24 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
7ece8786661a2d57e01485c975cdc8c1ca9614ec | 1,776 | py | Python | env/Lib/site-packages/OpenGL/GLES2/OES/shader_multisample_interpolation.py | 5gconnectedbike/Navio2 | 8c3f2b5d8bbbcea1fc08739945183c12b206712c | [
"BSD-3-Clause"
] | 210 | 2016-04-09T14:26:00.000Z | 2022-03-25T18:36:19.000Z | env/Lib/site-packages/OpenGL/GLES2/OES/shader_multisample_interpolation.py | 5gconnectedbike/Navio2 | 8c3f2b5d8bbbcea1fc08739945183c12b206712c | [
"BSD-3-Clause"
] | 72 | 2016-09-04T09:30:19.000Z | 2022-03-27T17:06:53.000Z | env/Lib/site-packages/OpenGL/GLES2/OES/shader_multisample_interpolation.py | 5gconnectedbike/Navio2 | 8c3f2b5d8bbbcea1fc08739945183c12b206712c | [
"BSD-3-Clause"
] | 64 | 2016-04-09T14:26:49.000Z | 2022-03-21T11:19:47.000Z | '''OpenGL extension OES.shader_multisample_interpolation
This module customises the behaviour of the
OpenGL.raw.GLES2.OES.shader_multisample_interpolation to provide a more
Python-friendly API
Overview (from the spec)
In standard multisample rendering, an implementation is allowed to
assign the same sets of fra... | 42.285714 | 81 | 0.81982 | 244 | 1,776 | 5.901639 | 0.520492 | 0.041667 | 0.069444 | 0.114583 | 0.111806 | 0.111806 | 0.111806 | 0.079167 | 0.079167 | 0 | 0 | 0.002614 | 0.138514 | 1,776 | 42 | 82 | 42.285714 | 0.938562 | 0.811374 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | true | 0 | 0.777778 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
7ecfdbb427158876046206112956d5ac1802eadf | 627 | py | Python | working_with_excel/source/excel_source.py | CyborgVillager/Automate_Py_Learning | 1474ac4896e7665a1dc74c8e3c576bdfb33e8d91 | [
"MIT"
] | null | null | null | working_with_excel/source/excel_source.py | CyborgVillager/Automate_Py_Learning | 1474ac4896e7665a1dc74c8e3c576bdfb33e8d91 | [
"MIT"
] | null | null | null | working_with_excel/source/excel_source.py | CyborgVillager/Automate_Py_Learning | 1474ac4896e7665a1dc74c8e3c576bdfb33e8d91 | [
"MIT"
] | null | null | null | # A library to read/write Excel 2010 xlsx/xlsm/xltx/xltm files
# https://openpyxl.readthedocs.io/en/stable/
### LIBRARY IMPORT ###
import openpyxl
### LIBRARY IMPORT ###
# this will be used to read excel's spreadsheet data
# provides a capability to “pretty-print” arbitrary Python data structures in
# a form which ca... | 31.35 | 100 | 0.728868 | 95 | 627 | 4.8 | 0.642105 | 0.171053 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011342 | 0.1563 | 627 | 19 | 101 | 33 | 0.850662 | 0.835726 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.333333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
7d009ba4e59eae1efaf5d1094c92a384066c4d81 | 46 | py | Python | noun_phrase_ua/__init__.py | artemkramov/np-extractor-ua | b8f57b1a91e0323ec4b7af92b6b0eeb92d198a91 | [
"MIT"
] | 1 | 2022-03-06T09:00:31.000Z | 2022-03-06T09:00:31.000Z | noun_phrase_ua/__init__.py | artemkramov/np-extractor-ua | b8f57b1a91e0323ec4b7af92b6b0eeb92d198a91 | [
"MIT"
] | null | null | null | noun_phrase_ua/__init__.py | artemkramov/np-extractor-ua | b8f57b1a91e0323ec4b7af92b6b0eeb92d198a91 | [
"MIT"
] | 1 | 2020-03-18T08:42:29.000Z | 2020-03-18T08:42:29.000Z | from .nlp import NLP
name = "noun_phrase_ua"
| 11.5 | 23 | 0.73913 | 8 | 46 | 4 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 46 | 3 | 24 | 15.333333 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0.304348 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
7d0f274a70e9ed307bd8561fad95b104daf81bf7 | 777 | py | Python | rate_dactra/rate_dactra.py | thatweirdcoder/taqyeem-dactra | 4605f173045f859f740a5e4861495d50b34e6079 | [
"Apache-2.0"
] | null | null | null | rate_dactra/rate_dactra.py | thatweirdcoder/taqyeem-dactra | 4605f173045f859f740a5e4861495d50b34e6079 | [
"Apache-2.0"
] | null | null | null | rate_dactra/rate_dactra.py | thatweirdcoder/taqyeem-dactra | 4605f173045f859f740a5e4861495d50b34e6079 | [
"Apache-2.0"
] | 1 | 2019-07-14T12:29:14.000Z | 2019-07-14T12:29:14.000Z | import os
from rate_dactra import create_app, db
from .models import User, Teacher, Review, Comment
app = create_app(configuration=os.getenv('FLASK_ENV') or 'default')
... | 64.75 | 130 | 0.311454 | 46 | 777 | 5.086957 | 0.565217 | 0.076923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.647362 | 777 | 11 | 131 | 70.636364 | 0.854015 | 0 | 0 | 0 | 0 | 0 | 0.020592 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.428571 | 0.142857 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
7d0f7740de2c8238042e3af138018373e0a02b40 | 90 | py | Python | WebApp/floor/apps.py | flomv2/FLOM | 21c266b54f60ed5d8603ddedaecd6aa263e0fca9 | [
"MIT"
] | 11 | 2019-07-25T22:56:37.000Z | 2020-03-03T21:05:20.000Z | WebApp/floor/apps.py | flomv2/FLOM | 21c266b54f60ed5d8603ddedaecd6aa263e0fca9 | [
"MIT"
] | 12 | 2019-07-29T15:32:58.000Z | 2021-03-22T01:33:31.000Z | WebApp/floor/apps.py | flomv2/FLOM | 21c266b54f60ed5d8603ddedaecd6aa263e0fca9 | [
"MIT"
] | 6 | 2019-07-26T15:07:38.000Z | 2021-02-20T20:39:32.000Z | from django.apps import AppConfig
class FloorConfig(AppConfig):
name = 'floor'
| 15 | 34 | 0.7 | 10 | 90 | 6.3 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 90 | 5 | 35 | 18 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
7d205588efc32822927fc9b61a2e9949744b569e | 88 | py | Python | cars/apps.py | DisMosGit/car_library | 56adb1fb9809ba760d357599030afc2a779605eb | [
"Apache-2.0"
] | null | null | null | cars/apps.py | DisMosGit/car_library | 56adb1fb9809ba760d357599030afc2a779605eb | [
"Apache-2.0"
] | null | null | null | cars/apps.py | DisMosGit/car_library | 56adb1fb9809ba760d357599030afc2a779605eb | [
"Apache-2.0"
] | null | null | null | from django.apps import AppConfig
class CarsConfig(AppConfig):
name = 'cars'
| 14.666667 | 34 | 0.693182 | 10 | 88 | 6.1 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 88 | 5 | 35 | 17.6 | 0.897059 | 0 | 0 | 0 | 0 | 0 | 0.048193 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
7d30da1b6a28cd3590c11140a88a25724230d479 | 10,435 | py | Python | tests/test_handlers.py | jasonkeene/python-ubersmith | 0c594e2eb41066d1fe7860e3a6f04b14c14f6e6a | [
"MIT"
] | 9 | 2015-07-24T20:19:09.000Z | 2021-08-12T18:25:38.000Z | tests/test_handlers.py | jasonkeene/python-ubersmith | 0c594e2eb41066d1fe7860e3a6f04b14c14f6e6a | [
"MIT"
] | 14 | 2015-02-22T19:40:29.000Z | 2016-10-20T17:42:52.000Z | tests/test_handlers.py | jasonkeene/python-ubersmith | 0c594e2eb41066d1fe7860e3a6f04b14c14f6e6a | [
"MIT"
] | 9 | 2015-05-01T14:03:50.000Z | 2016-10-18T21:22:59.000Z | import json
from mock import Mock, patch
import pytest
from six import text_type
import ubersmith.uber
import ubersmith.api
from ubersmith.api import (
RequestHandler,
METHODS,
get_default_request_handler,
set_default_request_handler,
)
from ubersmith.exceptions import (
RequestError,
Response... | 51.403941 | 1,843 | 0.644082 | 1,511 | 10,435 | 4.311714 | 0.170086 | 0.031926 | 0.02947 | 0.023331 | 0.726631 | 0.712817 | 0.701458 | 0.691942 | 0.681504 | 0.644206 | 0 | 0.013299 | 0.192908 | 10,435 | 202 | 1,844 | 51.658416 | 0.760271 | 0 | 0 | 0.468571 | 0 | 0.034286 | 0.405654 | 0.234595 | 0 | 0 | 0 | 0 | 0.074286 | 1 | 0.114286 | false | 0.005714 | 0.057143 | 0 | 0.205714 | 0 | 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 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
add54bbe92ed4bea1f4d2fed0326537850eeb642 | 48 | py | Python | autokey/BEGIN.py | jyvet/homerc | 8cae04a83d86706c249985acf5ef79fb9a0255b8 | [
"MIT"
] | null | null | null | autokey/BEGIN.py | jyvet/homerc | 8cae04a83d86706c249985acf5ef79fb9a0255b8 | [
"MIT"
] | null | null | null | autokey/BEGIN.py | jyvet/homerc | 8cae04a83d86706c249985acf5ef79fb9a0255b8 | [
"MIT"
] | null | null | null | # Enter script code
keyboard.send_keys("<home>") | 24 | 28 | 0.75 | 7 | 48 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 48 | 2 | 28 | 24 | 0.795455 | 0.354167 | 0 | 0 | 0 | 0 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
bc0ea51d7084f8f0baccc5ddd93a8b2495d4f196 | 85 | py | Python | pset6/hello.py | mwk48/cs50_solutions | b163b95874f21a4a499c93a900bf78f3ee19cfb2 | [
"MIT"
] | 1 | 2020-08-25T05:08:59.000Z | 2020-08-25T05:08:59.000Z | pset6/hello.py | mwk48/cs50_solutions | b163b95874f21a4a499c93a900bf78f3ee19cfb2 | [
"MIT"
] | null | null | null | pset6/hello.py | mwk48/cs50_solutions | b163b95874f21a4a499c93a900bf78f3ee19cfb2 | [
"MIT"
] | null | null | null | from cs50 import get_string
s=get_string("What is your name?\n")
print(f"hello, {s}") | 28.333333 | 36 | 0.729412 | 17 | 85 | 3.529412 | 0.823529 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026316 | 0.105882 | 85 | 3 | 37 | 28.333333 | 0.763158 | 0 | 0 | 0 | 0 | 0 | 0.348837 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
bc1104586ed0fb7cfe19a85c82299fc9342aa107 | 96 | py | Python | metatags/app_settings.py | degenhard/django-metatags | a699858ac64a524ff99f20e7303b7f8dd5af1c16 | [
"MIT"
] | 1 | 2015-02-04T04:03:59.000Z | 2015-02-04T04:03:59.000Z | metatags/app_settings.py | degenhard/django-metatags | a699858ac64a524ff99f20e7303b7f8dd5af1c16 | [
"MIT"
] | null | null | null | metatags/app_settings.py | degenhard/django-metatags | a699858ac64a524ff99f20e7303b7f8dd5af1c16 | [
"MIT"
] | null | null | null | from django.conf import settings
METATAGS_CACHE_TTL = getattr(settings, 'META_CACHE_TTL', None) | 32 | 62 | 0.822917 | 14 | 96 | 5.357143 | 0.785714 | 0.213333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 96 | 3 | 62 | 32 | 0.862069 | 0 | 0 | 0 | 0 | 0 | 0.14433 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
bc12de49ddb09ed921fb3fdfdef2dc8e9482d401 | 80 | py | Python | execicios/aulas/Soma.py | Israel97f/Exercicios-de-Python | 5d3054187977deeb3fadbd7bb1cdee035c609a61 | [
"MIT"
] | null | null | null | execicios/aulas/Soma.py | Israel97f/Exercicios-de-Python | 5d3054187977deeb3fadbd7bb1cdee035c609a61 | [
"MIT"
] | null | null | null | execicios/aulas/Soma.py | Israel97f/Exercicios-de-Python | 5d3054187977deeb3fadbd7bb1cdee035c609a61 | [
"MIT"
] | null | null | null | a=input('diga um numero ')
b=input('diga outro numero ')
print(a+b)
print(a+a)
| 13.333333 | 29 | 0.6625 | 16 | 80 | 3.3125 | 0.5 | 0.339623 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1375 | 80 | 5 | 30 | 16 | 0.768116 | 0 | 0 | 0 | 0 | 0 | 0.4125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
bc137768fbb0dc0083ee67b7352a8180a2a82ba2 | 93 | py | Python | TuFlix/Servicios/apps.py | judrodriguezgo/TuFlixPlusOSE | e6c5af87a9196344f144d62ef9d1f7f47ad836e7 | [
"MIT"
] | 2 | 2021-09-09T01:31:17.000Z | 2021-09-09T23:33:02.000Z | TuFlix/Servicios/apps.py | judrodriguezgo/TuFlixPlusOSE | e6c5af87a9196344f144d62ef9d1f7f47ad836e7 | [
"MIT"
] | 3 | 2021-09-10T19:42:04.000Z | 2021-09-23T14:09:10.000Z | TuFlix/Servicios/apps.py | judrodriguezgo/TuFlixPlusOSE | e6c5af87a9196344f144d62ef9d1f7f47ad836e7 | [
"MIT"
] | 8 | 2021-09-09T00:27:22.000Z | 2021-09-20T00:22:10.000Z | from django.apps import AppConfig
class ServiciosConfig(AppConfig):
name = 'Servicios'
| 15.5 | 33 | 0.763441 | 10 | 93 | 7.1 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 93 | 5 | 34 | 18.6 | 0.910256 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
bc2de7dac2603877e5cc1520ea23e124726b5a1f | 218 | py | Python | src/Fluxes/__init__.py | nishantsule/PyRsw | 753788608a0d227b5c8dc8b863d85bfc3a907310 | [
"MIT"
] | null | null | null | src/Fluxes/__init__.py | nishantsule/PyRsw | 753788608a0d227b5c8dc8b863d85bfc3a907310 | [
"MIT"
] | null | null | null | src/Fluxes/__init__.py | nishantsule/PyRsw | 753788608a0d227b5c8dc8b863d85bfc3a907310 | [
"MIT"
] | null | null | null | # Fluxes
# This module provides the flux options
# for the simulator class.
# FJP: if statement?
# Import the flux options
from Fluxes.SPECTRAL_SW import spectral_sw
from Fluxes.SADOURNY_SW import sadourny_sw
| 24.222222 | 43 | 0.770642 | 32 | 218 | 5.125 | 0.5625 | 0.085366 | 0.170732 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183486 | 218 | 8 | 44 | 27.25 | 0.921348 | 0.550459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
70b6b938e987560b9baed9d825d02e3a96f7ffbc | 30 | py | Python | homebot/services/base.py | HazardDede/homebot | 7a44f5470bdd84c1e7660cf48955d44a9e4c317a | [
"MIT"
] | null | null | null | homebot/services/base.py | HazardDede/homebot | 7a44f5470bdd84c1e7660cf48955d44a9e4c317a | [
"MIT"
] | null | null | null | homebot/services/base.py | HazardDede/homebot | 7a44f5470bdd84c1e7660cf48955d44a9e4c317a | [
"MIT"
] | null | null | null | """Contains base services."""
| 15 | 29 | 0.666667 | 3 | 30 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 1 | 30 | 30 | 0.740741 | 0.766667 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
70bb095992fa7d7221ff17ed0a6ed76c319ff99b | 63 | py | Python | tests/test_store.py | jhkennedy/earthdata | fa0a47c7bcc0d479e50b9bcb7ca392a60cfa57a8 | [
"MIT"
] | 53 | 2021-09-24T01:15:06.000Z | 2021-12-15T13:48:14.000Z | tests/test_store.py | jhkennedy/earthdata | fa0a47c7bcc0d479e50b9bcb7ca392a60cfa57a8 | [
"MIT"
] | 38 | 2021-09-22T16:50:29.000Z | 2022-01-03T04:19:39.000Z | tests/test_store.py | jhkennedy/earthdata | fa0a47c7bcc0d479e50b9bcb7ca392a60cfa57a8 | [
"MIT"
] | 5 | 2021-09-22T22:11:39.000Z | 2021-11-16T07:13:45.000Z | # Placeholder, should have been TDD but better late than never
| 31.5 | 62 | 0.793651 | 10 | 63 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174603 | 63 | 1 | 63 | 63 | 0.961538 | 0.952381 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
cb0b021709fe18272c1694878f9c87d94e52e505 | 1,188 | py | Python | tests/test_rc_params_cases/case_figsizes.py | pnkraemer/tueplots | 7612231d12494b95906f1b858de11680acabe45f | [
"MIT"
] | 110 | 2021-12-07T15:10:37.000Z | 2022-03-28T13:20:35.000Z | tests/test_rc_params_cases/case_figsizes.py | pnkraemer/tueplots | 7612231d12494b95906f1b858de11680acabe45f | [
"MIT"
] | 35 | 2021-12-07T19:02:07.000Z | 2022-03-31T12:31:29.000Z | tests/test_rc_params_cases/case_figsizes.py | pnkraemer/tueplots | 7612231d12494b95906f1b858de11680acabe45f | [
"MIT"
] | 5 | 2022-01-14T15:14:39.000Z | 2022-02-15T08:12:31.000Z | """Test-cases for figsizes."""
from tueplots import figsizes
def case_figsizes_icml2022_full():
return figsizes.icml2022_full(nrows=2, ncols=3, height_to_width_ratio=1.0)
def case_figsizes_icml2022_half():
return figsizes.icml2022_half(nrows=2, ncols=3, height_to_width_ratio=1.0)
def case_figsizes_aista... | 26.4 | 81 | 0.785354 | 189 | 1,188 | 4.608466 | 0.169312 | 0.080367 | 0.154994 | 0.123995 | 0.547646 | 0.547646 | 0.547646 | 0.547646 | 0.547646 | 0.547646 | 0 | 0.111321 | 0.107744 | 1,188 | 44 | 82 | 27 | 0.710377 | 0.020202 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.47619 | true | 0 | 0.047619 | 0.47619 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
cb23faa8f77909625d6106c37d48cd12d4424fe5 | 242 | py | Python | Hackerrank/Practice/Python/4.sets/29.No Idea!.py | kushagra1212/Competitive-Programming | 5b68774c617d6abdf1b29893b1b13d47f62161e8 | [
"MIT"
] | 994 | 2017-02-28T06:13:47.000Z | 2022-03-31T10:49:00.000Z | Hackerrank_python/4.sets/29.No Idea!.py | devesh17m/Competitive-Programming | 2d459dc8dc5ac628d94700b739988b0ea364cb71 | [
"MIT"
] | 16 | 2018-01-01T02:59:55.000Z | 2021-11-22T12:49:16.000Z | Hackerrank_python/4.sets/29.No Idea!.py | devesh17m/Competitive-Programming | 2d459dc8dc5ac628d94700b739988b0ea364cb71 | [
"MIT"
] | 325 | 2017-06-15T03:32:43.000Z | 2022-03-28T22:43:42.000Z | # Enter your code here. Read input from STDIN. Print output to STDOUT
n,m=map(int,input().split())
arry=map(int,input().split())
A=set(map(int,input().split()))
B=set(map(int,input().split()))
print(sum((i in A)-(i in B)for i in arry))
| 34.571429 | 70 | 0.652893 | 47 | 242 | 3.361702 | 0.531915 | 0.151899 | 0.278481 | 0.405063 | 0.240506 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128099 | 242 | 6 | 71 | 40.333333 | 0.748815 | 0.27686 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.2 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
cb64a41a469381ba97a728c56612048e49320d2b | 388 | py | Python | enthought/traits/ui/__init__.py | rwl/traitsbackendpyjamas | bd5ec340be2b58decf36e28b9a396d77919fefc0 | [
"MIT"
] | 1 | 2016-05-08T23:25:28.000Z | 2016-05-08T23:25:28.000Z | enthought/traits/ui/__init__.py | rwl/traitsbackendpyjamas | bd5ec340be2b58decf36e28b9a396d77919fefc0 | [
"MIT"
] | null | null | null | enthought/traits/ui/__init__.py | rwl/traitsbackendpyjamas | bd5ec340be2b58decf36e28b9a396d77919fefc0 | [
"MIT"
] | null | null | null | #------------------------------------------------------------------------------
# Copyright (c) 2009 by Richard Lincoln.
# All rights reserved.
#------------------------------------------------------------------------------
try:
__import__('pkg_resources').declare_namespace(__name__)
except:
pass
# EOF ------... | 32.333333 | 79 | 0.286082 | 19 | 388 | 5.315789 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011173 | 0.07732 | 388 | 11 | 80 | 35.272727 | 0.27095 | 0.757732 | 0 | 0 | 0 | 0 | 0.146067 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
cb848d64cfc8bc5d5109721162d293f496f02ccc | 638 | py | Python | anvil/facebook/auth/anvilFacebookAuth.py | benlawraus/pyDALAnvilWorks | 8edc67b0fbe65bdcc0ef6fd2424f55046cacba7c | [
"MIT"
] | 6 | 2021-11-14T22:49:40.000Z | 2022-03-26T17:40:40.000Z | anvil/facebook/auth/anvilFacebookAuth.py | benlawraus/pyDALAnvilWorks | 8edc67b0fbe65bdcc0ef6fd2424f55046cacba7c | [
"MIT"
] | null | null | null | anvil/facebook/auth/anvilFacebookAuth.py | benlawraus/pyDALAnvilWorks | 8edc67b0fbe65bdcc0ef6fd2424f55046cacba7c | [
"MIT"
] | 1 | 2022-01-31T01:18:32.000Z | 2022-01-31T01:18:32.000Z | def get_user_access_token():
"""Get the Facebook access token of the currently-logged-in Facebook user.To log in with Facebook,
call facebook.auth.login() from form code. """
pass
def get_user_email():
"""Get the email address of the currently-logged-in Facebook user.To log in with Facebook,
call ... | 29 | 102 | 0.695925 | 100 | 638 | 4.37 | 0.27 | 0.10984 | 0.08238 | 0.100687 | 0.704805 | 0.670481 | 0.670481 | 0.670481 | 0.670481 | 0.670481 | 0 | 0 | 0.205329 | 638 | 21 | 103 | 30.380952 | 0.861933 | 0.721003 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
cb8a06354e3806ce786847d0977885ead1d4171b | 435 | py | Python | pari/article/models/__init__.py | theju/pari | 318a4ffba08362e78253ded100a63f5b5c6eadf9 | [
"BSD-3-Clause"
] | null | null | null | pari/article/models/__init__.py | theju/pari | 318a4ffba08362e78253ded100a63f5b5c6eadf9 | [
"BSD-3-Clause"
] | null | null | null | pari/article/models/__init__.py | theju/pari | 318a4ffba08362e78253ded100a63f5b5c6eadf9 | [
"BSD-3-Clause"
] | null | null | null | from .article import (Article, ArticleCarouselImage, get_keyword_articles, get_category_articles, # noqa
get_location_articles, get_author_articles, get_archive_articles, # noqa
get_all_articles) # noqa
from .category import Category # noqa
from .location import Location... | 54.375 | 105 | 0.731034 | 51 | 435 | 5.921569 | 0.333333 | 0.15894 | 0.099338 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.218391 | 435 | 7 | 106 | 62.142857 | 0.888235 | 0.078161 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.714286 | 0 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
cbb09da6da6c3712e3efc1973e909c328eea9fc6 | 113 | py | Python | picorss/src/infrastructure/queries/__init__.py | rok-povsic/picorss | 7c182953868e56389d5c080f3c0b75d7c0fafa74 | [
"MIT"
] | null | null | null | picorss/src/infrastructure/queries/__init__.py | rok-povsic/picorss | 7c182953868e56389d5c080f3c0b75d7c0fafa74 | [
"MIT"
] | null | null | null | picorss/src/infrastructure/queries/__init__.py | rok-povsic/picorss | 7c182953868e56389d5c080f3c0b75d7c0fafa74 | [
"MIT"
] | null | null | null | from picorss.src.infrastructure.queries.rss_pages import (
ORMGettingRssPageQuery, ORMGettingRssPagesQuery
)
| 28.25 | 58 | 0.840708 | 10 | 113 | 9.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097345 | 113 | 3 | 59 | 37.666667 | 0.921569 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
cbb7186c7629a9d197582b1559b75dfcba950635 | 59,561 | py | Python | src/spiceypy/utils/libspicehelper.py | GregoireHENRY/SpiceyPy | 9f8b626338f119bacd39ef2ba94a6f71bd6341c0 | [
"MIT"
] | null | null | null | src/spiceypy/utils/libspicehelper.py | GregoireHENRY/SpiceyPy | 9f8b626338f119bacd39ef2ba94a6f71bd6341c0 | [
"MIT"
] | null | null | null | src/spiceypy/utils/libspicehelper.py | GregoireHENRY/SpiceyPy | 9f8b626338f119bacd39ef2ba94a6f71bd6341c0 | [
"MIT"
] | null | null | null | """
The MIT License (MIT)
Copyright (c) [2015-2021] [Andrew Annex]
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modif... | 25.884833 | 121 | 0.652272 | 10,343 | 59,561 | 3.297303 | 0.078411 | 0.206281 | 0.099754 | 0.10119 | 0.815036 | 0.732055 | 0.704551 | 0.674789 | 0.613447 | 0.539643 | 0 | 0.011371 | 0.184987 | 59,561 | 2,300 | 122 | 25.896087 | 0.691181 | 0.025251 | 0 | 0.604042 | 0 | 0 | 0.001472 | 0 | 0 | 0 | 0 | 0.000435 | 0 | 1 | 0 | false | 0 | 0.002756 | 0 | 0.002756 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
cbcf6eefc5a371f551c7b7e688e779b0a69a77b3 | 416 | py | Python | bianalyzer/biclustering/__init__.py | luntos/bianalyzer | ce6c1efdf192c0e5e7ed648d6e9dd85be3c7b14b | [
"MIT"
] | 4 | 2016-02-10T22:44:37.000Z | 2019-02-26T04:57:11.000Z | bianalyzer/biclustering/__init__.py | luntos/bianalyzer | ce6c1efdf192c0e5e7ed648d6e9dd85be3c7b14b | [
"MIT"
] | null | null | null | bianalyzer/biclustering/__init__.py | luntos/bianalyzer | ce6c1efdf192c0e5e7ed648d6e9dd85be3c7b14b | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from .keywords_analysis import get_keyword_biclusters, save_keyword_biclusters, KeywordBicluster
from .keyword_text_analysis import get_keyword_text_biclusters, save_keyword_text_biclusters, KeywordTextBicluster
from .biclustering import GreedyBBox
from .bbox import BBox
try:
import sklea... | 32 | 114 | 0.834135 | 47 | 416 | 7.085106 | 0.531915 | 0.099099 | 0.102102 | 0.144144 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002725 | 0.117788 | 416 | 13 | 115 | 32 | 0.904632 | 0.050481 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.111111 | 0.777778 | 0 | 0.777778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
1dd93e0b76456f4bdcfac8df20229c50f808ee7f | 3,533 | py | Python | models/caogaoben.py | wuaodi/pytorch-CycleGAN-and-pix2pix | 74bd3d5baf54f6e5827feb8e196a687b13b9cda9 | [
"BSD-3-Clause"
] | null | null | null | models/caogaoben.py | wuaodi/pytorch-CycleGAN-and-pix2pix | 74bd3d5baf54f6e5827feb8e196a687b13b9cda9 | [
"BSD-3-Clause"
] | null | null | null | models/caogaoben.py | wuaodi/pytorch-CycleGAN-and-pix2pix | 74bd3d5baf54f6e5827feb8e196a687b13b9cda9 | [
"BSD-3-Clause"
] | null | null | null | # From https://discuss.pytorch.org/t/is-there-anyway-to-do-gaussian-filtering-for-an-image-2d-3d-in-pytorch/12351/3
import torch
import math
import torch.nn as nn
### pytorch实现laplacian变换
# def get_gaussian_kernel(kernel_size=3, sigma=2, channels=3):
# # Create a x, y coordinate grid of shape (kernel_size, kernel_... | 31.265487 | 120 | 0.648457 | 511 | 3,533 | 4.358121 | 0.311155 | 0.088011 | 0.006736 | 0.035923 | 0.088011 | 0.044005 | 0.020656 | 0 | 0 | 0 | 0 | 0.054187 | 0.195584 | 3,533 | 112 | 121 | 31.544643 | 0.729416 | 0.924144 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
1df3972fcea0ad760ad1138d09575360d626595b | 111 | py | Python | Joycon_Control/main.py | zyxtheros/Python_Projects | f271803e4a638e7bb31fcf7d1e7249cba3eccc29 | [
"MIT"
] | null | null | null | Joycon_Control/main.py | zyxtheros/Python_Projects | f271803e4a638e7bb31fcf7d1e7249cba3eccc29 | [
"MIT"
] | null | null | null | Joycon_Control/main.py | zyxtheros/Python_Projects | f271803e4a638e7bb31fcf7d1e7249cba3eccc29 | [
"MIT"
] | null | null | null | from pyjoycon import JoyCon, get_R_id
joycon_id = get_R_id()
joycon = JoyCon(*joycon_id)
joycon.get_status()
| 15.857143 | 37 | 0.774775 | 19 | 111 | 4.157895 | 0.421053 | 0.303797 | 0.151899 | 0.303797 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126126 | 111 | 6 | 38 | 18.5 | 0.814433 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
380daccaaac58a2fedf9de19a83611068e652781 | 156 | py | Python | codeEval/easy/capitalize_words.py | gauravsingh58/algo | 397859a53429e7a585e5f6964ad24146c6261326 | [
"WTFPL"
] | 1 | 2020-09-30T19:53:08.000Z | 2020-09-30T19:53:08.000Z | codeEval/easy/capitalize_words.py | gauravsingh58/algo | 397859a53429e7a585e5f6964ad24146c6261326 | [
"WTFPL"
] | null | null | null | codeEval/easy/capitalize_words.py | gauravsingh58/algo | 397859a53429e7a585e5f6964ad24146c6261326 | [
"WTFPL"
] | 1 | 2020-10-15T09:10:57.000Z | 2020-10-15T09:10:57.000Z | import sys
test_cases = open(sys.argv[1], 'r')
for test in test_cases:
print " ".join(map(lambda w: w[0].upper()+w[1:], test.split()))
test_cases.close() | 26 | 65 | 0.660256 | 29 | 156 | 3.448276 | 0.655172 | 0.27 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021898 | 0.121795 | 156 | 6 | 66 | 26 | 0.708029 | 0 | 0 | 0 | 0 | 0 | 0.012739 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.2 | null | null | 0.2 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
3841b46a702477908dc23c59b794dff6bb49d19f | 108 | py | Python | vk/types/attachments/repost.py | Inzilkin/vk.py | 969f01e666c877c1761c3629a100768f93de27eb | [
"MIT"
] | 24 | 2019-09-13T15:30:09.000Z | 2022-03-09T06:35:59.000Z | vk/types/attachments/repost.py | Inzilkin/vk.py | 969f01e666c877c1761c3629a100768f93de27eb | [
"MIT"
] | null | null | null | vk/types/attachments/repost.py | Inzilkin/vk.py | 969f01e666c877c1761c3629a100768f93de27eb | [
"MIT"
] | 12 | 2019-09-13T15:30:31.000Z | 2022-03-01T10:13:32.000Z | from ..base import BaseModel
class Repost(BaseModel):
count: int = None
user_reposted: int = None
| 15.428571 | 29 | 0.694444 | 14 | 108 | 5.285714 | 0.785714 | 0.189189 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 108 | 6 | 30 | 18 | 0.880952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
6989196d84e01449a404ceda5598079e9a55abb0 | 111 | py | Python | emrichen/void.py | jbek7/emrichen | b6b8327e35cb2b9f3da49519110ecc766a9ad741 | [
"MIT"
] | 62 | 2019-01-17T18:47:45.000Z | 2022-03-23T10:00:09.000Z | emrichen/void.py | jbek7/emrichen | b6b8327e35cb2b9f3da49519110ecc766a9ad741 | [
"MIT"
] | 24 | 2019-01-18T10:05:36.000Z | 2022-02-20T17:46:36.000Z | emrichen/void.py | jbek7/emrichen | b6b8327e35cb2b9f3da49519110ecc766a9ad741 | [
"MIT"
] | 10 | 2019-02-12T23:58:29.000Z | 2022-02-18T09:42:35.000Z | class VoidType:
def __str__(self):
return '<<<Void>>>'
__repr__ = __str__
Void = VoidType()
| 12.333333 | 27 | 0.576577 | 11 | 111 | 4.727273 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.279279 | 111 | 8 | 28 | 13.875 | 0.65 | 0 | 0 | 0 | 0 | 0 | 0.09009 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
699d1b7ba8713f8bda6b3e026d26389318a03527 | 297 | py | Python | 004/p004.py | thojaco/projecteuler | f18fd21db263abfd2638c2c78b8a09c3a1738d96 | [
"MIT"
] | 1 | 2019-11-17T23:47:34.000Z | 2019-11-17T23:47:34.000Z | 004/p004.py | thojaco/projecteuler | f18fd21db263abfd2638c2c78b8a09c3a1738d96 | [
"MIT"
] | null | null | null | 004/p004.py | thojaco/projecteuler | f18fd21db263abfd2638c2c78b8a09c3a1738d96 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# Solution to Project Euler problem 4
def is_palindrome(num):
return str(num) == str(num)[::-1]
def solve():
return max([i * j for i in range(900,1000) for j in range(900, 1000) if is_palindrome(i * j)])
if __name__ == "__main__":
print(solve())
| 22.846154 | 98 | 0.619529 | 48 | 297 | 3.625 | 0.625 | 0.137931 | 0.114943 | 0.16092 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073913 | 0.225589 | 297 | 13 | 99 | 22.846154 | 0.682609 | 0.191919 | 0 | 0 | 0 | 0 | 0.033473 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 0.666667 | 0.166667 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
69a062e36614137f9183ce57f0217baeb331de70 | 95 | py | Python | api/spotprices/apps.py | gfortil/hpcc-internship | 8061771bcb4791fca54e6b1d74f0c019ad69bca4 | [
"MIT"
] | null | null | null | api/spotprices/apps.py | gfortil/hpcc-internship | 8061771bcb4791fca54e6b1d74f0c019ad69bca4 | [
"MIT"
] | null | null | null | api/spotprices/apps.py | gfortil/hpcc-internship | 8061771bcb4791fca54e6b1d74f0c019ad69bca4 | [
"MIT"
] | 1 | 2021-06-10T22:07:15.000Z | 2021-06-10T22:07:15.000Z | from django.apps import AppConfig
class SpotpricesConfig(AppConfig):
name = 'spotprices'
| 15.833333 | 34 | 0.768421 | 10 | 95 | 7.3 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 95 | 5 | 35 | 19 | 0.9125 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
69b83cb4f35a8d3b17b5a267d0dfa0ec5867e879 | 198 | py | Python | broccoli_server/interface/job/job.py | KTachibanaM/broccoli-platform | 31d3ee4246a3c035ed3d1ce8657fa7d4567c3092 | [
"Apache-2.0"
] | 3 | 2020-12-20T13:14:34.000Z | 2022-02-12T11:07:38.000Z | broccoli_server/interface/job/job.py | KTachibanaM/broccoli-platform | 31d3ee4246a3c035ed3d1ce8657fa7d4567c3092 | [
"Apache-2.0"
] | 50 | 2020-06-05T22:55:49.000Z | 2022-03-18T05:15:29.000Z | broccoli_server/interface/job/job.py | k-t-corp/broccoli-server | 16f3966e8391326a5cd5125bb0d5c7306f9e1490 | [
"Apache-2.0"
] | null | null | null | from abc import ABCMeta
from abc import abstractmethod
from .job_context import JobContext
class Job(metaclass=ABCMeta):
@abstractmethod
def work(self, context: JobContext):
pass
| 18 | 40 | 0.747475 | 24 | 198 | 6.125 | 0.583333 | 0.095238 | 0.176871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19697 | 198 | 10 | 41 | 19.8 | 0.924528 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0.142857 | 0.428571 | 0 | 0.714286 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
69c6a27973934cc776f4932c8339c447e562e75e | 38 | py | Python | vendor/tree-sitter-python/examples/compound-statement-without-trailing-newline.py | Omar-Elrefaei/difftastic | cb900c3463caa3ec60f007bb3f8d3e88795b35e6 | [
"MIT"
] | 146 | 2017-02-13T17:46:27.000Z | 2022-03-28T03:50:28.000Z | vendor/tree-sitter-python/examples/compound-statement-without-trailing-newline.py | Omar-Elrefaei/difftastic | cb900c3463caa3ec60f007bb3f8d3e88795b35e6 | [
"MIT"
] | 116 | 2017-04-27T02:47:27.000Z | 2022-03-30T14:03:47.000Z | vendor/tree-sitter-python/examples/compound-statement-without-trailing-newline.py | Omar-Elrefaei/difftastic | cb900c3463caa3ec60f007bb3f8d3e88795b35e6 | [
"MIT"
] | 64 | 2017-10-29T04:20:39.000Z | 2022-03-29T06:56:31.000Z | class Foo:
def bar():
print "hi" | 12.666667 | 14 | 0.552632 | 6 | 38 | 3.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.289474 | 38 | 3 | 14 | 12.666667 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0.051282 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.333333 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0e0308b7982ee7643c74c2a8bad0c5f1b7fbbac7 | 12,740 | py | Python | tests/https/test_unit_http.py | cyberark/conjur-api-python | 7dd1819bf68042620a06f38e395c3eb2989202a9 | [
"Apache-2.0"
] | 1 | 2022-03-09T18:25:29.000Z | 2022-03-09T18:25:29.000Z | tests/https/test_unit_http.py | cyberark/conjur-api-python | 7dd1819bf68042620a06f38e395c3eb2989202a9 | [
"Apache-2.0"
] | null | null | null | tests/https/test_unit_http.py | cyberark/conjur-api-python | 7dd1819bf68042620a06f38e395c3eb2989202a9 | [
"Apache-2.0"
] | null | null | null | import asyncio
import ssl
import unittest
from enum import Enum
from unittest.mock import patch, call
from aiounittest import AsyncTestCase
from aiohttp import ClientSSLError
from aiohttp.client_reqrep import ConnectionKey
from asynctest import patch
from aiohttp import BasicAuth
from conjur_api.models import SslVe... | 51.370968 | 117 | 0.664364 | 1,486 | 12,740 | 5.345222 | 0.128533 | 0.080574 | 0.048344 | 0.069495 | 0.725922 | 0.709304 | 0.705779 | 0.705779 | 0.693441 | 0.665995 | 0 | 0.010844 | 0.232732 | 12,740 | 247 | 118 | 51.578947 | 0.801739 | 0 | 0 | 0.446154 | 0 | 0.010256 | 0.099294 | 0.063579 | 0 | 0 | 0 | 0 | 0.174359 | 1 | 0.025641 | false | 0.025641 | 0.066667 | 0.005128 | 0.14359 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
38700c5649c3c2ec87a22c8fd6a0290d7e015b01 | 113 | py | Python | challenges/2.1.NumberTypes/main.py | pradeepsaiu/python-coding-challenges | b435ab650d85de267eeaa31a55ff77ef5dbff86b | [
"BSD-3-Clause"
] | 141 | 2017-05-07T00:38:22.000Z | 2022-03-25T10:14:25.000Z | challenges/2.1.NumberTypes/main.py | pradeepsaiu/python-coding-challenges | b435ab650d85de267eeaa31a55ff77ef5dbff86b | [
"BSD-3-Clause"
] | 23 | 2017-05-06T23:57:37.000Z | 2018-03-23T19:07:32.000Z | challenges/2.1.NumberTypes/main.py | pradeepsaiu/python-coding-challenges | b435ab650d85de267eeaa31a55ff77ef5dbff86b | [
"BSD-3-Clause"
] | 143 | 2017-05-07T09:33:35.000Z | 2022-03-12T21:04:13.000Z | ### Modify the code below ###
myInteger = null
myFloat = null
myComplex = null
### Modify the code above ###
| 11.3 | 29 | 0.646018 | 14 | 113 | 5.214286 | 0.642857 | 0.246575 | 0.356164 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.221239 | 113 | 9 | 30 | 12.555556 | 0.829545 | 0.389381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
38914dc6b4f2e5b49a5d0b6ce3f5008261e5d212 | 53 | py | Python | batchnfpm/__main__.py | soerenschneider/batch-nfpm | e37751b22e4ff25951c27d72c5834c2d28369899 | [
"Apache-2.0"
] | 1 | 2021-02-03T23:26:17.000Z | 2021-02-03T23:26:17.000Z | process/__main__.py | aahwank/pyefi | bd90ea390a32079be7d2778e51298d9b47b9282f | [
"MIT"
] | null | null | null | process/__main__.py | aahwank/pyefi | bd90ea390a32079be7d2778e51298d9b47b9282f | [
"MIT"
] | 1 | 2021-02-03T23:25:49.000Z | 2021-02-03T23:25:49.000Z | import cmd
if __name__ == "__main__":
cmd.main() | 13.25 | 26 | 0.641509 | 7 | 53 | 3.714286 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.207547 | 53 | 4 | 27 | 13.25 | 0.619048 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
38b7f11e17e9464fbea106ded54b8057f83efbc6 | 9,924 | py | Python | __init__.py | gbernal/paperdreams_min | ca15a2fbeca331b84846194e21827da9624bddff | [
"MIT"
] | null | null | null | __init__.py | gbernal/paperdreams_min | ca15a2fbeca331b84846194e21827da9624bddff | [
"MIT"
] | null | null | null | __init__.py | gbernal/paperdreams_min | ca15a2fbeca331b84846194e21827da9624bddff | [
"MIT"
] | null | null | null | #!/home/ubuntu/anaconda3/envs/Pix2PixHD/bin/python
from flask import Flask, render_template, request, jsonify
import sketchRecognition
from PIL import Image
import json, ast
from base64 import b64decode
import os.path
from text2relations import search
import texturizer
#sys.path.insert(0, '/home/ubuntu/PycharmProjec... | 57.034483 | 1,686 | 0.74073 | 697 | 9,924 | 10.45911 | 0.33429 | 0.018107 | 0.02524 | 0.032922 | 0.161591 | 0.161591 | 0.143484 | 0.125377 | 0.116324 | 0.116324 | 0 | 0.014274 | 0.159915 | 9,924 | 173 | 1,687 | 57.364162 | 0.860142 | 0.081318 | 0 | 0.111111 | 0 | 0 | 0.504834 | 0.433861 | 0 | 1 | 0 | 0 | 0 | 1 | 0.044444 | false | 0 | 0.066667 | 0.014815 | 0.155556 | 0.007407 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
38ceb090375578e3f2aa8814429380910efe7f4a | 440 | py | Python | gaze_estimation/__init__.py | hysts/pytorch_mpiigaze | 34d7d2fd9102688bc7a523a6f1d9542f8b934aa8 | [
"MIT"
] | 240 | 2018-01-24T19:43:27.000Z | 2022-03-29T17:46:54.000Z | gaze_estimation/__init__.py | hysts/pytorch_mpiigaze | 34d7d2fd9102688bc7a523a6f1d9542f8b934aa8 | [
"MIT"
] | 54 | 2018-01-20T23:25:55.000Z | 2022-02-26T06:34:36.000Z | gaze_estimation/__init__.py | hysts/pytorch_mpiigaze | 34d7d2fd9102688bc7a523a6f1d9542f8b934aa8 | [
"MIT"
] | 74 | 2018-01-20T20:51:20.000Z | 2022-03-07T10:50:13.000Z | from .config import get_default_config
from .dataloader import create_dataloader
from .gaze_estimator import GazeEstimator
from .logger import create_logger
from .losses import create_loss
from .models import create_model
from .optim import create_optimizer
from .scheduler import create_scheduler
from .tensorboard impo... | 36.666667 | 50 | 0.870455 | 57 | 440 | 6.508772 | 0.438596 | 0.25876 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102273 | 440 | 11 | 51 | 40 | 0.939241 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
38d6605b81f6f3036ef8da0777c44be423f04c22 | 175 | py | Python | myvenv/Scripts/django-admin.py | funmitoblessed/djangogirls2021 | 5469a9826a701ce4fe49b7e12cbd3912baff6502 | [
"MIT"
] | null | null | null | myvenv/Scripts/django-admin.py | funmitoblessed/djangogirls2021 | 5469a9826a701ce4fe49b7e12cbd3912baff6502 | [
"MIT"
] | null | null | null | myvenv/Scripts/django-admin.py | funmitoblessed/djangogirls2021 | 5469a9826a701ce4fe49b7e12cbd3912baff6502 | [
"MIT"
] | null | null | null | #!c:\users\funmito.odefemi\dev\djangogirls\myvenv\scripts\python.exe
from django.core import management
if __name__ == "__main__":
management.execute_from_command_line()
| 29.166667 | 68 | 0.794286 | 23 | 175 | 5.565217 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 175 | 5 | 69 | 35 | 0.8 | 0.382857 | 0 | 0 | 0 | 0 | 0.074766 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
2a01e0c50746b6f31264a3510e675e6084a0602d | 110 | py | Python | src/westpa/westext/__init__.py | jdrusso/westpa_test | 3383b59a5a6ec5401415e74eb5a7fc61e4b3abbc | [
"MIT"
] | 1 | 2021-03-19T19:58:07.000Z | 2021-03-19T19:58:07.000Z | src/westpa/westext/__init__.py | jdrusso/westpa_test | 3383b59a5a6ec5401415e74eb5a7fc61e4b3abbc | [
"MIT"
] | null | null | null | src/westpa/westext/__init__.py | jdrusso/westpa_test | 3383b59a5a6ec5401415e74eb5a7fc61e4b3abbc | [
"MIT"
] | 1 | 2021-01-09T22:46:25.000Z | 2021-01-09T22:46:25.000Z | from . import wess
from . import weed
from . import stringmethod
__all__ = ['wess', 'weed', 'stringmethod']
| 15.714286 | 42 | 0.7 | 13 | 110 | 5.615385 | 0.461538 | 0.410959 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172727 | 110 | 6 | 43 | 18.333333 | 0.802198 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
2a123ddd3de1e5717cb98a3ebbbdf8e37d8f0d9d | 106 | py | Python | install.py | kellinpelrine/fakenews-detection | 37061bb51dbad93a5394d60b60499518e17a0129 | [
"MIT"
] | 1 | 2021-06-05T19:08:06.000Z | 2021-06-05T19:08:06.000Z | install.py | kellinpelrine/fakenews-detection | 37061bb51dbad93a5394d60b60499518e17a0129 | [
"MIT"
] | 3 | 2020-06-12T13:38:01.000Z | 2022-02-26T08:39:10.000Z | install.py | kellinpelrine/fakenews-detection | 37061bb51dbad93a5394d60b60499518e17a0129 | [
"MIT"
] | 2 | 2020-06-12T00:30:34.000Z | 2021-06-05T19:08:08.000Z | import nltk
nltk.download('punkt')
nltk.download('averaged_perceptron_tagger')
nltk.download('stopwords')
| 21.2 | 43 | 0.811321 | 13 | 106 | 6.461538 | 0.615385 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04717 | 106 | 4 | 44 | 26.5 | 0.831683 | 0 | 0 | 0 | 0 | 0 | 0.377358 | 0.245283 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
2a1a47211cc311a0a531868fef0d52a7cb7f8f97 | 523 | py | Python | infobot/social/template.py | otuk/infobot | 8baac7bb33f2ef8785d79cf8e0cc2542884ea336 | [
"MIT"
] | null | null | null | infobot/social/template.py | otuk/infobot | 8baac7bb33f2ef8785d79cf8e0cc2542884ea336 | [
"MIT"
] | 4 | 2021-03-31T18:50:47.000Z | 2021-12-13T19:52:34.000Z | infobot/social/template.py | otuk/infobot | 8baac7bb33f2ef8785d79cf8e0cc2542884ea336 | [
"MIT"
] | null | null | null | class SocialPlugin():
def __init__(self, config, name):
"abstract"
self.config = config
self.socialName = name
def status(self):
raise NotImplementedError()
def login(self):
raise NotImplementedError()
def logout(self):
raise NotImplementedError()
... | 21.791667 | 37 | 0.627151 | 49 | 523 | 6.591837 | 0.44898 | 0.44582 | 0.417957 | 0.383901 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.281071 | 523 | 23 | 38 | 22.73913 | 0.859043 | 0.015296 | 0 | 0.352941 | 0 | 0 | 0.015296 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.411765 | false | 0 | 0 | 0 | 0.470588 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
2a3301dfd3213d93be695eff515c5ea5c2c079d0 | 931 | py | Python | Exemples cours 7/classe_abstraite.py | geocot/coursPython | 74f634a96146c2244f859b9d449534330d9542fb | [
"Apache-2.0"
] | null | null | null | Exemples cours 7/classe_abstraite.py | geocot/coursPython | 74f634a96146c2244f859b9d449534330d9542fb | [
"Apache-2.0"
] | null | null | null | Exemples cours 7/classe_abstraite.py | geocot/coursPython | 74f634a96146c2244f859b9d449534330d9542fb | [
"Apache-2.0"
] | null | null | null | from abc import ABC, abstractmethod
class Forme(ABC):
@abstractmethod
def aire(self):
pass
@abstractmethod
def perimetre(self):
pass
def couleur(self):
return "Rouge"
class rect(Forme):
def __init__(self, largeur,longueur):
self._largeur = largeu... | 22.166667 | 54 | 0.603652 | 109 | 931 | 4.972477 | 0.229358 | 0.162362 | 0.060886 | 0.073801 | 0.505535 | 0.505535 | 0.505535 | 0.505535 | 0.505535 | 0.505535 | 0 | 0.0181 | 0.287863 | 931 | 41 | 55 | 22.707317 | 0.799397 | 0 | 0 | 0.545455 | 0 | 0 | 0.011236 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.30303 | false | 0.060606 | 0.030303 | 0.181818 | 0.606061 | 0.090909 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
2a49df425b165b5af37e0ec28067e46bcbf57bac | 264 | py | Python | tensortrade/features/indicators/__init__.py | Kukunin/tensortrade | c5b5c40232a334d9b38359eab0c0ce0e4c9e43ed | [
"Apache-2.0"
] | 7 | 2020-09-28T23:36:40.000Z | 2022-02-22T02:00:32.000Z | tensortrade/features/indicators/__init__.py | Kukunin/tensortrade | c5b5c40232a334d9b38359eab0c0ce0e4c9e43ed | [
"Apache-2.0"
] | 4 | 2020-11-13T18:48:52.000Z | 2022-02-10T01:29:47.000Z | tensortrade/features/indicators/__init__.py | Kukunin/tensortrade | c5b5c40232a334d9b38359eab0c0ce0e4c9e43ed | [
"Apache-2.0"
] | 3 | 2020-11-23T17:31:59.000Z | 2021-04-08T10:55:03.000Z |
import importlib
from .simple_moving_average import SimpleMovingAverage
if importlib.util.find_spec('ta') is not None:
from .ta_indicator import TAIndicator
if importlib.util.find_spec("talib") is not None:
from .talib_indicator import TAlibIndicator
| 22 | 54 | 0.795455 | 36 | 264 | 5.666667 | 0.527778 | 0.107843 | 0.147059 | 0.186275 | 0.22549 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140152 | 264 | 11 | 55 | 24 | 0.898678 | 0 | 0 | 0 | 0 | 0 | 0.026718 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
2a768670656bd35946924782cc6daf976c6c63d8 | 240 | py | Python | modules/initializers/he_initializer.py | df424/ml | e12232ca4b90f983bfb14718afd314d3d6cc1bf9 | [
"MIT"
] | null | null | null | modules/initializers/he_initializer.py | df424/ml | e12232ca4b90f983bfb14718afd314d3d6cc1bf9 | [
"MIT"
] | null | null | null | modules/initializers/he_initializer.py | df424/ml | e12232ca4b90f983bfb14718afd314d3d6cc1bf9 | [
"MIT"
] | null | null | null |
from ml.modules.initializers import Initializer
import numpy as np
class HeInitializer(Initializer):
def initialize(self, weights: np.ndarray) -> np.ndarray:
return np.random.randn(*weights.shape) * np.sqrt(2/weights.shape[0]) | 34.285714 | 76 | 0.745833 | 33 | 240 | 5.424242 | 0.69697 | 0.100559 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009662 | 0.1375 | 240 | 7 | 76 | 34.285714 | 0.855072 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0.2 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
2a9984b66fd5d2c93b4d412352d60d6306d7ee3b | 136 | py | Python | refinery/units/obfuscation/vba/__init__.py | larsborn/refinery | c8b19156b17e5fa5de5c72bc668a14d646584560 | [
"BSD-3-Clause"
] | 1 | 2022-02-13T20:57:15.000Z | 2022-02-13T20:57:15.000Z | refinery/units/obfuscation/vba/__init__.py | baderj/refinery | 801c900a7184dfd47f5455124fbcfb4cf68814ed | [
"BSD-3-Clause"
] | null | null | null | refinery/units/obfuscation/vba/__init__.py | baderj/refinery | 801c900a7184dfd47f5455124fbcfb4cf68814ed | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
A package containing deobfuscators for Visual Basic for Applications (VBA).
"""
| 22.666667 | 76 | 0.654412 | 17 | 136 | 5.235294 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017857 | 0.176471 | 136 | 5 | 77 | 27.2 | 0.776786 | 0.875 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
aa60a08f7febd867fadc2303d50740c6257a1521 | 139 | py | Python | screws/functions/_1d_space/_0_.py | mathischeap/mifem | 3242e253fb01ca205a76568eaac7bbdb99e3f059 | [
"MIT"
] | 1 | 2020-10-14T12:48:35.000Z | 2020-10-14T12:48:35.000Z | screws/functions/_1d_space/_0_.py | mathischeap/mifem | 3242e253fb01ca205a76568eaac7bbdb99e3f059 | [
"MIT"
] | null | null | null | screws/functions/_1d_space/_0_.py | mathischeap/mifem | 3242e253fb01ca205a76568eaac7bbdb99e3f059 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""1D functions."""
import numpy as np
def _0_(x):
"""Always return 0."""
return np.zeros(np.shape(x)) | 12.636364 | 32 | 0.553957 | 21 | 139 | 3.571429 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036697 | 0.215827 | 139 | 11 | 32 | 12.636364 | 0.651376 | 0.381295 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
aa88d5f4073341572672d005093146280dab32a4 | 1,271 | py | Python | src/base/migrations/0008_auto_20191107_2300.py | cybekRT/DJPajton2 | e461070269a5b39bac6c8df1eb739ea79c7099b5 | [
"MIT"
] | null | null | null | src/base/migrations/0008_auto_20191107_2300.py | cybekRT/DJPajton2 | e461070269a5b39bac6c8df1eb739ea79c7099b5 | [
"MIT"
] | null | null | null | src/base/migrations/0008_auto_20191107_2300.py | cybekRT/DJPajton2 | e461070269a5b39bac6c8df1eb739ea79c7099b5 | [
"MIT"
] | null | null | null | # Generated by Django 2.2.7 on 2019-11-07 23:00
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('base', '0007_queueitem'),
]
operations = [
migrations.AlterField(
model_name='authtoken',
... | 31.775 | 100 | 0.598741 | 137 | 1,271 | 5.437956 | 0.270073 | 0.075168 | 0.112752 | 0.177181 | 0.703356 | 0.703356 | 0.679195 | 0.679195 | 0.679195 | 0.679195 | 0 | 0.020541 | 0.272227 | 1,271 | 39 | 101 | 32.589744 | 0.784865 | 0.035405 | 0 | 0.666667 | 1 | 0 | 0.102124 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.060606 | 0 | 0.151515 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
aa8d13e8582dc635167af270e0017619ddb378ac | 4,573 | py | Python | Projects/project_2_packages/paddleboat/LASSO/LASSO_depreciated.py | joel-becker/modularizationandtesting | 269ad4ef0115855b6b1d2cc65ae98fef4883958a | [
"MIT"
] | null | null | null | Projects/project_2_packages/paddleboat/LASSO/LASSO_depreciated.py | joel-becker/modularizationandtesting | 269ad4ef0115855b6b1d2cc65ae98fef4883958a | [
"MIT"
] | null | null | null | Projects/project_2_packages/paddleboat/LASSO/LASSO_depreciated.py | joel-becker/modularizationandtesting | 269ad4ef0115855b6b1d2cc65ae98fef4883958a | [
"MIT"
] | 1 | 2019-12-06T19:30:31.000Z | 2019-12-06T19:30:31.000Z | import pandas as pd
import numpy as np
def get_betas(X, Y):
"""Get betas (according to OLS formula)"""
betas = (np.transpose(X) * X)^(-1) * (np.transpose(X) * Y) # transpose is a numpy function
print("Working!")
return betas
def get_residuals(betas, X, Y):
"""Get residuals (according to OLS formu... | 21.469484 | 124 | 0.576646 | 664 | 4,573 | 3.828313 | 0.164157 | 0.084972 | 0.113297 | 0.049567 | 0.779308 | 0.736035 | 0.695515 | 0.670338 | 0.634933 | 0.634933 | 0 | 0.015211 | 0.281216 | 4,573 | 212 | 125 | 21.570755 | 0.758138 | 0 | 0 | 0.769841 | 0 | 0 | 0.043771 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.031746 | null | null | 0.15873 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
aa9ef84f686b809c17205e0cc079d0caceca9890 | 422 | py | Python | corehq/couchapps/__init__.py | johan--/commcare-hq | 86ee99c54f55ee94e4c8f2f6f30fc44e10e69ebd | [
"BSD-3-Clause"
] | null | null | null | corehq/couchapps/__init__.py | johan--/commcare-hq | 86ee99c54f55ee94e4c8f2f6f30fc44e10e69ebd | [
"BSD-3-Clause"
] | 1 | 2022-03-12T01:03:25.000Z | 2022-03-12T01:03:25.000Z | corehq/couchapps/__init__.py | johan--/commcare-hq | 86ee99c54f55ee94e4c8f2f6f30fc44e10e69ebd | [
"BSD-3-Clause"
] | null | null | null | from corehq.preindex import CouchAppsPreindexPlugin
from django.conf import settings
CouchAppsPreindexPlugin.register('couchapps', __file__, {
'form_question_schema': 'meta',
'users_extra': (settings.USERS_GROUPS_DB, settings.NEW_USERS_GROUPS_DB),
'noneulized_users': (settings.USERS_GROUPS_DB, settings.NEW... | 42.2 | 81 | 0.796209 | 52 | 422 | 6 | 0.480769 | 0.176282 | 0.208333 | 0.201923 | 0.400641 | 0.288462 | 0.288462 | 0.288462 | 0.288462 | 0 | 0 | 0 | 0.097156 | 422 | 9 | 82 | 46.888889 | 0.818898 | 0 | 0 | 0 | 0 | 0 | 0.161137 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
aaa39d4a8e07bb6aa0d19df6f8ff496d753c9cb4 | 1,863 | py | Python | marqeta/response_models/financial_request_model.py | marqeta/marqeta-python | 66fa690eb910825c510a391720b0fe717fac0234 | [
"MIT"
] | 21 | 2019-04-12T09:02:17.000Z | 2022-02-18T11:39:06.000Z | marqeta/response_models/financial_request_model.py | marqeta/marqeta-python | 66fa690eb910825c510a391720b0fe717fac0234 | [
"MIT"
] | 1 | 2020-07-22T21:27:40.000Z | 2020-07-23T17:38:43.000Z | marqeta/response_models/financial_request_model.py | marqeta/marqeta-python | 66fa690eb910825c510a391720b0fe717fac0234 | [
"MIT"
] | 10 | 2019-05-08T14:20:37.000Z | 2021-09-20T18:09:26.000Z | from datetime import datetime, date
from marqeta.response_models.card_acceptor_model import CardAcceptorModel
from marqeta.response_models.transaction_options import TransactionOptions
from marqeta.response_models.webhook import Webhook
from marqeta.response_models import datetime_object
import json
import re
class Fi... | 28.227273 | 106 | 0.706924 | 225 | 1,863 | 5.564444 | 0.217778 | 0.102236 | 0.191693 | 0.086262 | 0.20607 | 0.148562 | 0.055911 | 0 | 0 | 0 | 0 | 0 | 0.203972 | 1,863 | 65 | 107 | 28.661538 | 0.844235 | 0 | 0 | 0.1875 | 0 | 0 | 0.10628 | 0.038111 | 0 | 0 | 0 | 0 | 0 | 1 | 0.270833 | false | 0 | 0.145833 | 0.166667 | 0.6875 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.