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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
85e929a3c221316739ae90357b9650058bff0de5 | 214 | py | Python | wiki/urls.py | atleastzero/makewiki | f3c6b4b5aa135a21e9f60b7de6ac6f8a653cdf83 | [
"MIT"
] | null | null | null | wiki/urls.py | atleastzero/makewiki | f3c6b4b5aa135a21e9f60b7de6ac6f8a653cdf83 | [
"MIT"
] | 5 | 2020-06-06T01:55:01.000Z | 2021-06-10T19:16:36.000Z | wiki/urls.py | ZeroClasswork/makewiki | f3c6b4b5aa135a21e9f60b7de6ac6f8a653cdf83 | [
"MIT"
] | null | null | null | from django.urls import path
from . import views
urlpatterns = [
path('', views.PageList.as_view(), name='wiki-list-page'),
path('<str:slug>', views.PageDetailView.as_view(), name='wiki-details-page'),
]
| 23.777778 | 81 | 0.682243 | 29 | 214 | 4.965517 | 0.62069 | 0.083333 | 0.138889 | 0.194444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130841 | 214 | 8 | 82 | 26.75 | 0.774194 | 0 | 0 | 0 | 0 | 0 | 0.191589 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
c809d579ed7321e00d8323e9dacb24269c1fbf0c | 121 | py | Python | demo/demo/__init__.py | NaleRaphael/nac | 205e81502a6bb963bfca47793e3e2b5bc1d582c8 | [
"MIT"
] | 1 | 2019-10-08T07:50:39.000Z | 2019-10-08T07:50:39.000Z | demo/demo/__init__.py | NaleRaphael/nac | 205e81502a6bb963bfca47793e3e2b5bc1d582c8 | [
"MIT"
] | null | null | null | demo/demo/__init__.py | NaleRaphael/nac | 205e81502a6bb963bfca47793e3e2b5bc1d582c8 | [
"MIT"
] | null | null | null | from __future__ import absolute_import
from . import foo
from .foo import *
__all__ = []
__all__.extend(foo.__all__)
| 12.1 | 38 | 0.752066 | 16 | 121 | 4.625 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165289 | 121 | 9 | 39 | 13.444444 | 0.732673 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
c822472cbe25c107429ea625518c4549f7632b6c | 36 | py | Python | Python/list.py | thebiebs/python-practise-exercises | 28db498f35ec6f9bdd437f54c91990027f4b9436 | [
"MIT"
] | null | null | null | Python/list.py | thebiebs/python-practise-exercises | 28db498f35ec6f9bdd437f54c91990027f4b9436 | [
"MIT"
] | null | null | null | Python/list.py | thebiebs/python-practise-exercises | 28db498f35ec6f9bdd437f54c91990027f4b9436 | [
"MIT"
] | null | null | null | l1 = eval(input())
print(len(l1)) | 12 | 19 | 0.583333 | 6 | 36 | 3.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 0.166667 | 36 | 3 | 20 | 12 | 0.633333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
c835adb45e372544d156244b6e3021cd4e60a3e2 | 502 | py | Python | sound_player/common.py | Krozark/sound-player | ad592b364d0d8303c499abaa304f8a698e5fbedb | [
"BSD-2-Clause"
] | null | null | null | sound_player/common.py | Krozark/sound-player | ad592b364d0d8303c499abaa304f8a698e5fbedb | [
"BSD-2-Clause"
] | 1 | 2021-08-24T14:14:03.000Z | 2021-08-25T08:06:32.000Z | sound_player/common.py | Krozark/sound-player | ad592b364d0d8303c499abaa304f8a698e5fbedb | [
"BSD-2-Clause"
] | 1 | 2021-12-27T20:44:25.000Z | 2021-12-27T20:44:25.000Z | import logging
from enum import Enum
logger = logging.getLogger(__name__)
__version__ = "0.3.0"
class STATUS(Enum):
ERROR = -1
STOPPED = 1
PLAYING = 2
PAUSED = 3
class StatusObject(object):
def __init__(self):
self._status = STATUS.STOPPED
def status(self):
return self._st... | 16.193548 | 37 | 0.629482 | 62 | 502 | 4.822581 | 0.435484 | 0.167224 | 0.187291 | 0.267559 | 0.180602 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019231 | 0.2749 | 502 | 30 | 38 | 16.733333 | 0.802198 | 0 | 0 | 0.1 | 0 | 0 | 0.00996 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.1 | 0.05 | 0.7 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
c840238a336ad05fffc71e5deac48bb9059352b0 | 241 | py | Python | stereo/image/__init__.py | nilsmechtel/stereopy | cd8f34b45ae6667043611e5d02ea46f8ca3f0c7b | [
"MIT"
] | null | null | null | stereo/image/__init__.py | nilsmechtel/stereopy | cd8f34b45ae6667043611e5d02ea46f8ca3f0c7b | [
"MIT"
] | null | null | null | stereo/image/__init__.py | nilsmechtel/stereopy | cd8f34b45ae6667043611e5d02ea46f8ca3f0c7b | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# coding: utf-8
from .pyramid import merge_pyramid, create_pyramid
from .segmentation.segment import cell_seg
from .tissue_cut.tissue_seg import tissue_seg
from .segmentation_deepcell.segment import cell_seg_deepcell
| 30.125 | 60 | 0.838174 | 36 | 241 | 5.361111 | 0.527778 | 0.165803 | 0.176166 | 0.207254 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009174 | 0.095436 | 241 | 7 | 61 | 34.428571 | 0.876147 | 0.145228 | 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 | 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 |
c84d629039f5607c18ee47e7e02123ee3930321f | 145 | py | Python | hello.py | haessal/pyMisc | 76c25a9f09a509e2e0cd00f92c007ddf0bffe270 | [
"MIT"
] | null | null | null | hello.py | haessal/pyMisc | 76c25a9f09a509e2e0cd00f92c007ddf0bffe270 | [
"MIT"
] | null | null | null | hello.py | haessal/pyMisc | 76c25a9f09a509e2e0cd00f92c007ddf0bffe270 | [
"MIT"
] | null | null | null | """This is a 'Hello, world' program."""
def hello():
"""Say, hello."""
print("Hello, World!")
if __name__ == "__main__":
hello()
| 13.181818 | 39 | 0.537931 | 17 | 145 | 4.117647 | 0.705882 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.227586 | 145 | 10 | 40 | 14.5 | 0.625 | 0.310345 | 0 | 0 | 0 | 0 | 0.235955 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0 | 0 | 0.25 | 0.25 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c094cff70fee74d5e548e9936db785e3ba960bf3 | 150 | py | Python | tests/roots/test-ext-autodoc/target/empty_all.py | samdoran/sphinx | 4c91c038b220d07bbdfe0c1680af42fe897f342c | [
"BSD-2-Clause"
] | 4,973 | 2015-01-03T15:44:00.000Z | 2022-03-31T03:11:51.000Z | tests/roots/test-ext-autodoc/target/empty_all.py | samdoran/sphinx | 4c91c038b220d07bbdfe0c1680af42fe897f342c | [
"BSD-2-Clause"
] | 7,850 | 2015-01-02T08:09:25.000Z | 2022-03-31T18:57:40.000Z | tests/roots/test-ext-autodoc/target/empty_all.py | samdoran/sphinx | 4c91c038b220d07bbdfe0c1680af42fe897f342c | [
"BSD-2-Clause"
] | 2,179 | 2015-01-03T15:26:53.000Z | 2022-03-31T12:22:44.000Z | """
docsting of empty_all module.
"""
__all__ = []
def foo():
"""docstring"""
def bar():
"""docstring"""
def baz():
"""docstring"""
| 8.823529 | 29 | 0.513333 | 15 | 150 | 4.8 | 0.666667 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.24 | 150 | 16 | 30 | 9.375 | 0.631579 | 0.393333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.75 | false | 0 | 0 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
c0b0203ecb41facbf79bbc50324c7b45684b5654 | 146 | py | Python | tests/test_app/models.py | brmc/django-octopus | a37dbd9425f92ffbb19ce29647b6bc8d9be51598 | [
"MIT"
] | 36 | 2015-03-08T09:06:51.000Z | 2021-07-31T04:19:53.000Z | tests/test_app/models.py | brmc/django_octopus | a37dbd9425f92ffbb19ce29647b6bc8d9be51598 | [
"MIT"
] | 2 | 2017-01-21T17:25:18.000Z | 2019-07-27T08:01:26.000Z | tests/test_app/models.py | brmc/django_octopus | a37dbd9425f92ffbb19ce29647b6bc8d9be51598 | [
"MIT"
] | 1 | 2015-03-08T14:53:20.000Z | 2015-03-08T14:53:20.000Z | from django.db import models
from datetime import datetime
class TestModel(models.Model):
date = models.DateField(default=datetime.today())
| 20.857143 | 53 | 0.780822 | 19 | 146 | 6 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130137 | 146 | 6 | 54 | 24.333333 | 0.897638 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
c0e16b161a1d1c4f18c7dae109c71547bae7a310 | 328 | py | Python | tests/test_allow_redirects.py | mmaher22/fgrequests | 614d3a271a9758a8db5253c3806d04c5f6dbae6d | [
"BSD-2-Clause"
] | 13 | 2020-06-07T22:09:44.000Z | 2022-03-16T13:20:54.000Z | tests/test_allow_redirects.py | mmaher22/fgrequests | 614d3a271a9758a8db5253c3806d04c5f6dbae6d | [
"BSD-2-Clause"
] | 2 | 2020-06-22T15:56:23.000Z | 2022-01-03T22:28:27.000Z | tests/test_allow_redirects.py | mmaher22/fgrequests | 614d3a271a9758a8db5253c3806d04c5f6dbae6d | [
"BSD-2-Clause"
] | 1 | 2021-02-09T22:53:05.000Z | 2021-02-09T22:53:05.000Z | import fgrequests
arr = ['https://gitlab.com/FaridLU/fgrequests']
response = fgrequests.build(arr, allow_redirects=True)
assert response[0].status_code == 200
response = fgrequests.build(arr, allow_redirects=False)
assert response[0].status_code != 200
response = fgrequests.build(arr)
assert response[0].status_code... | 25.230769 | 55 | 0.77439 | 44 | 328 | 5.659091 | 0.409091 | 0.216867 | 0.277108 | 0.313253 | 0.763052 | 0.763052 | 0.433735 | 0.433735 | 0.433735 | 0.433735 | 0 | 0.040541 | 0.097561 | 328 | 12 | 56 | 27.333333 | 0.800676 | 0 | 0 | 0.25 | 0 | 0 | 0.112805 | 0 | 0 | 0 | 0 | 0 | 0.375 | 1 | 0 | false | 0 | 0.125 | 0 | 0.125 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c0f2ab30f04ebf077bb468d73c99945bd41639b4 | 437 | py | Python | backend/microservices/audio-generator/core/usecases/audio_order/add_audio_order.py | MuhamedAbdalla/Automatic-Audio-Book-Based-On-Emotion-Detection | 72130ad037b900461af5be6d80b27ab29c81de5e | [
"MIT"
] | 3 | 2021-04-26T00:17:14.000Z | 2021-07-04T15:30:09.000Z | backend/microservices/audio-generator/core/usecases/audio_order/add_audio_order.py | MuhamedAbdalla/Automatic-Audio-Book-Based-On-Emotion-Detection | 72130ad037b900461af5be6d80b27ab29c81de5e | [
"MIT"
] | null | null | null | backend/microservices/audio-generator/core/usecases/audio_order/add_audio_order.py | MuhamedAbdalla/Automatic-Audio-Book-Based-On-Emotion-Detection | 72130ad037b900461af5be6d80b27ab29c81de5e | [
"MIT"
] | null | null | null | from core.entities import make_audio_order
def build_add_audio_orders(insert_audio_order):
def add_audio_order(user_id, title, text, start_page, end_page, cloned) -> bool:
audio_order = make_audio_order(user_id=user_id, title=title, text=text,
start_page=start_... | 43.7 | 96 | 0.700229 | 62 | 437 | 4.516129 | 0.354839 | 0.285714 | 0.117857 | 0.114286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.231121 | 437 | 9 | 97 | 48.555556 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0 | 0.714286 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
c0f5e551119ef032cee3761b834cae9e2496dd43 | 163 | py | Python | desafio007.py | romstk/pythonExercicios | a7a6ce7828ec28f5d8eadc0207214722cfc6fcd8 | [
"MIT"
] | null | null | null | desafio007.py | romstk/pythonExercicios | a7a6ce7828ec28f5d8eadc0207214722cfc6fcd8 | [
"MIT"
] | null | null | null | desafio007.py | romstk/pythonExercicios | a7a6ce7828ec28f5d8eadc0207214722cfc6fcd8 | [
"MIT"
] | null | null | null | n1 = float(input('Informe a primeira nota: '))
n2 = float(input('Informe a segunda nota: '))
media = (n1+n2)/2
print('A media do aluno foi: {:.1f} '.format(media)) | 40.75 | 52 | 0.656442 | 27 | 163 | 3.962963 | 0.62963 | 0.186916 | 0.317757 | 0.336449 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042857 | 0.141104 | 163 | 4 | 52 | 40.75 | 0.721429 | 0 | 0 | 0 | 0 | 0 | 0.47561 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.25 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8d033ecb945387547291bd4a631dd02a937b264c | 48 | py | Python | nadine/__init__.py | alvienzo720/Dep_Nadine | b23688aa87ba3cfe138f9b243eed3f50a74e1486 | [
"Apache-2.0"
] | null | null | null | nadine/__init__.py | alvienzo720/Dep_Nadine | b23688aa87ba3cfe138f9b243eed3f50a74e1486 | [
"Apache-2.0"
] | null | null | null | nadine/__init__.py | alvienzo720/Dep_Nadine | b23688aa87ba3cfe138f9b243eed3f50a74e1486 | [
"Apache-2.0"
] | 1 | 2020-02-24T08:23:45.000Z | 2020-02-24T08:23:45.000Z | default_app_config = 'nadine.apps.NadineConfig'
| 24 | 47 | 0.833333 | 6 | 48 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 48 | 1 | 48 | 48 | 0.844444 | 0 | 0 | 0 | 0 | 0 | 0.5 | 0.5 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
239e07719ce6b1f92ebecfacfc5f5d8e3a976275 | 83 | py | Python | templatebot/__init__.py | elfq/template-bot-v2 | 873a928287d721e5b140e2d80e1ed3dfe9255bca | [
"MIT"
] | 1 | 2021-03-26T13:42:28.000Z | 2021-03-26T13:42:28.000Z | templatebot/__init__.py | elfq/template-bot-v2 | 873a928287d721e5b140e2d80e1ed3dfe9255bca | [
"MIT"
] | null | null | null | templatebot/__init__.py | elfq/template-bot-v2 | 873a928287d721e5b140e2d80e1ed3dfe9255bca | [
"MIT"
] | 1 | 2021-02-07T23:28:13.000Z | 2021-02-07T23:28:13.000Z | from .bot import Bot
from .utils.logger import LogLevel
__all__ = (LogLevel, Bot)
| 16.6 | 34 | 0.759036 | 12 | 83 | 4.916667 | 0.583333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156627 | 83 | 4 | 35 | 20.75 | 0.842857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
23acfab1f84553344660d31bb03161d8d33170f9 | 504 | py | Python | apps/common/urls.py | F483/bikesurf.org | c85680f7443920a4dbf95e24f58e0a095c3da42f | [
"MIT"
] | 6 | 2015-08-11T19:48:12.000Z | 2019-06-26T20:02:05.000Z | apps/common/urls.py | F483/bikesurf.org | c85680f7443920a4dbf95e24f58e0a095c3da42f | [
"MIT"
] | 27 | 2015-02-15T22:21:20.000Z | 2017-12-06T20:27:35.000Z | apps/common/urls.py | F483/bikesurf.org | c85680f7443920a4dbf95e24f58e0a095c3da42f | [
"MIT"
] | 3 | 2015-08-10T18:11:59.000Z | 2017-11-28T20:59:40.000Z | # -*- coding: utf-8 -*-
# Copyright (c) 2012 Fabian Barkhau <fabian.barkhau@gmail.com>
# License: MIT (see LICENSE.TXT file)
ID = r"[0-9]+"
SLUG = r"[a-z0-9\-]+"
USERNAME = r"[\w.@+-]+" # see django.contrib.auth.forms.UserCreationForm
def _build_arg(name, pattern):
return "(?P<%s>%s)" % (name... | 19.384615 | 80 | 0.625 | 74 | 504 | 4.108108 | 0.5 | 0.105263 | 0.157895 | 0.177632 | 0.217105 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022222 | 0.196429 | 504 | 25 | 81 | 20.16 | 0.728395 | 0.365079 | 0 | 0 | 0 | 0 | 0.11465 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.363636 | false | 0 | 0 | 0.363636 | 0.727273 | 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 |
9b14c8f6884a2ee22ace96ca4b11b57015966194 | 467 | py | Python | hitbasic/translations/branch_statement.py | pvmm/hitbasic | f134a80d7e9ada5c7c7423a43001f543fa9ad896 | [
"BSD-2-Clause"
] | null | null | null | hitbasic/translations/branch_statement.py | pvmm/hitbasic | f134a80d7e9ada5c7c7423a43001f543fa9ad896 | [
"BSD-2-Clause"
] | null | null | null | hitbasic/translations/branch_statement.py | pvmm/hitbasic | f134a80d7e9ada5c7c7423a43001f543fa9ad896 | [
"BSD-2-Clause"
] | null | null | null | from . import StatementComponents
from ..hitbasic import Surrogate
from .. import language_statements as statements
class Statement:
def __init__(self, rule, position, error, target, branch_type=statements.GOTO, *args, **kwargs):
Surrogate.__init__(self, rule, position, error, target=target, branch_type=... | 33.357143 | 105 | 0.749465 | 55 | 467 | 6.090909 | 0.472727 | 0.119403 | 0.071642 | 0.119403 | 0.185075 | 0.185075 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14561 | 467 | 13 | 106 | 35.923077 | 0.839599 | 0 | 0 | 0 | 0 | 0 | 0.002141 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.375 | 0.125 | 0.875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
9b1d16ba785fdd97261622bd2e13c26b2c7ccdff | 2,812 | py | Python | Famcy/_CONSOLE_FOLDER_/iam/signup/page.py | nexuni/Famcy | 80f8f18fe1614ab3c203ca3466b9506b494470bf | [
"Apache-2.0"
] | null | null | null | Famcy/_CONSOLE_FOLDER_/iam/signup/page.py | nexuni/Famcy | 80f8f18fe1614ab3c203ca3466b9506b494470bf | [
"Apache-2.0"
] | 12 | 2022-02-05T04:56:44.000Z | 2022-03-30T09:59:26.000Z | Famcy/_CONSOLE_FOLDER_/iam/signup/page.py | nexuni/Famcy | 80f8f18fe1614ab3c203ca3466b9506b494470bf | [
"Apache-2.0"
] | null | null | null | import Famcy
# class SignupPage(Famcy.FamcyPage):
# def __init__(self):
# super(SignupPage, self).__init__("/iam/signup", style)
# PAGE_HEADER = {
# "title": ["Famcy 會員註冊"],
# "size": ["login_section"],
# "type": ["input_form"]
# }
# email_content = Famcy.input_form.generate_values_content("p... | 37.493333 | 127 | 0.623755 | 317 | 2,812 | 5.239748 | 0.400631 | 0.043347 | 0.063215 | 0.050572 | 0.283564 | 0.184226 | 0.184226 | 0.061409 | 0 | 0 | 0 | 0.004188 | 0.235775 | 2,812 | 74 | 128 | 38 | 0.76873 | 0.94559 | 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 |
f1b2ae46dd18e9c262c04c0d695760f8b3ea00dc | 13,104 | py | Python | world.py | sahilbhatia17/batch-active-preference-based-learning | f6b7734942f80d0ec39eda57352263e2f11fa180 | [
"MIT"
] | 21 | 2018-09-30T07:09:57.000Z | 2022-01-13T11:07:08.000Z | world.py | sahilbhatia17/batch-active-preference-based-learning | f6b7734942f80d0ec39eda57352263e2f11fa180 | [
"MIT"
] | 1 | 2019-05-22T15:31:18.000Z | 2019-05-22T15:37:07.000Z | world.py | sahilbhatia17/batch-active-preference-based-learning | f6b7734942f80d0ec39eda57352263e2f11fa180 | [
"MIT"
] | 7 | 2019-03-19T07:52:22.000Z | 2021-03-30T22:06:14.000Z | import lane
import car
import math
import feature
import dynamics
import visualize
import utils_driving as utils
import sys
import theano as th
import theano.tensor as tt
import numpy as np
import shelve
th.config.optimizer_verbose = False
th.config.allow_gc = False
th.config.optimizer = 'fast_compile'
class Object(o... | 42.135048 | 189 | 0.594704 | 2,087 | 13,104 | 3.684715 | 0.07954 | 0.125228 | 0.062419 | 0.060858 | 0.763069 | 0.741482 | 0.728218 | 0.717685 | 0.683485 | 0.673472 | 0 | 0.0647 | 0.197955 | 13,104 | 310 | 190 | 42.270968 | 0.666984 | 0.042201 | 0 | 0.537102 | 0 | 0 | 0.011247 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.09894 | false | 0 | 0.053004 | 0.038869 | 0.24735 | 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 |
7b0f87d9a890be56a9d987bd222836a10e1ce27d | 288 | py | Python | test/conftest.py | gyunt/pydaybit | b708e87f401fe7ebaf9af00c17bfccb6fb19323a | [
"Apache-2.0"
] | null | null | null | test/conftest.py | gyunt/pydaybit | b708e87f401fe7ebaf9af00c17bfccb6fb19323a | [
"Apache-2.0"
] | null | null | null | test/conftest.py | gyunt/pydaybit | b708e87f401fe7ebaf9af00c17bfccb6fb19323a | [
"Apache-2.0"
] | null | null | null | import pytest
from pydaybit import daybit_url, daybit_api_key, daybit_api_secret
@pytest.fixture
def daybit_params():
return {'url': daybit_url(),
'params': {
'api_key': daybit_api_key(),
'api_secret': daybit_api_secret()}
}
| 22.153846 | 66 | 0.600694 | 33 | 288 | 4.848485 | 0.393939 | 0.225 | 0.15 | 0.1875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.291667 | 288 | 12 | 67 | 24 | 0.784314 | 0 | 0 | 0 | 0 | 0 | 0.090278 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | true | 0 | 0.222222 | 0.111111 | 0.444444 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
9e60c34412dc832854232cf4a566f1c8ac4a6429 | 126,605 | py | Python | src/Client/util/resource_rc.py | Jictyvoo/TEC502-2018.1--English-Dictionary-Game | a775e5ca7853f87466dd478b9dbc4762c3d111c4 | [
"MIT"
] | null | null | null | src/Client/util/resource_rc.py | Jictyvoo/TEC502-2018.1--English-Dictionary-Game | a775e5ca7853f87466dd478b9dbc4762c3d111c4 | [
"MIT"
] | null | null | null | src/Client/util/resource_rc.py | Jictyvoo/TEC502-2018.1--English-Dictionary-Game | a775e5ca7853f87466dd478b9dbc4762c3d111c4 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Resource object code
#
# Created by: The Resource Compiler for PyQt5 (Qt v5.10.1)
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore
qt_resource_data = b"\
\x00\x00\x76\x65\
\x89\
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\
\x00\x01\x0e\x... | 64.825909 | 129 | 0.727246 | 30,610 | 126,605 | 3.006697 | 0.009964 | 0.005346 | 0.005476 | 0.004303 | 0.009225 | 0.008866 | 0.008138 | 0.008138 | 0.007617 | 0.007063 | 0 | 0.305293 | 0.016082 | 126,605 | 1,952 | 130 | 64.859119 | 0.433535 | 0.001201 | 0 | 0.004134 | 0 | 0.983463 | 0.000032 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0.001034 | false | 0 | 0.000517 | 0 | 0.00155 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
9e64ed7168b3b379aeb451549da4c69492406191 | 269 | py | Python | server/media_manager/models/setting.py | ToxicFrazzles/ImageSorter | 97da8c2cca1e99ce571b77372ef0b8ab7339ed44 | [
"MIT"
] | null | null | null | server/media_manager/models/setting.py | ToxicFrazzles/ImageSorter | 97da8c2cca1e99ce571b77372ef0b8ab7339ed44 | [
"MIT"
] | null | null | null | server/media_manager/models/setting.py | ToxicFrazzles/ImageSorter | 97da8c2cca1e99ce571b77372ef0b8ab7339ed44 | [
"MIT"
] | null | null | null | from django.db import models
class Setting(models.Model):
key = models.CharField(max_length=100, unique=True, db_index=True)
name = models.CharField(max_length=100)
value = models.CharField(max_length=100)
def __str__(self):
return self.name
| 24.454545 | 70 | 0.717472 | 38 | 269 | 4.868421 | 0.578947 | 0.243243 | 0.291892 | 0.389189 | 0.437838 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040724 | 0.178439 | 269 | 10 | 71 | 26.9 | 0.79638 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.142857 | 0.142857 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
9e8d99f4bb2495dd354f05145e9c3c1592b185f8 | 219 | py | Python | PrivateMonitorServer/src/Interface/StatusInterface.py | ajax-2/PrivateMonitor | 9ab79ad08ba820bdb4c292676299bdeb2af7f725 | [
"Apache-2.0"
] | null | null | null | PrivateMonitorServer/src/Interface/StatusInterface.py | ajax-2/PrivateMonitor | 9ab79ad08ba820bdb4c292676299bdeb2af7f725 | [
"Apache-2.0"
] | null | null | null | PrivateMonitorServer/src/Interface/StatusInterface.py | ajax-2/PrivateMonitor | 9ab79ad08ba820bdb4c292676299bdeb2af7f725 | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
from src.Implement.StatusImplement import StatusImplement
class StatusInterface(object):
@staticmethod
def get_status(cluster, data):
return StatusImplement.get_status(cluster, data)
| 19.909091 | 57 | 0.757991 | 24 | 219 | 6.833333 | 0.75 | 0.109756 | 0.195122 | 0.243902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005464 | 0.164384 | 219 | 10 | 58 | 21.9 | 0.89071 | 0.059361 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
9eacc716355c993ab68adb0ebefe314a3c450694 | 92 | py | Python | Search/forms.py | IamStefin/Pirate-Books | a7ac5750f91f249bf36dade7776f90f4f462eba2 | [
"WTFPL"
] | 2 | 2020-05-17T16:40:12.000Z | 2020-07-26T11:48:53.000Z | Search/forms.py | IamStefin/Pirate-Books | a7ac5750f91f249bf36dade7776f90f4f462eba2 | [
"WTFPL"
] | null | null | null | Search/forms.py | IamStefin/Pirate-Books | a7ac5750f91f249bf36dade7776f90f4f462eba2 | [
"WTFPL"
] | null | null | null | from django import forms
class SearchForm(forms.Form):
term = forms.CharField(label="") | 23 | 36 | 0.73913 | 12 | 92 | 5.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141304 | 92 | 4 | 36 | 23 | 0.860759 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
7b3592dbad64613b502ac960707278c893f5897f | 99 | py | Python | FSICdata/__init__.py | ChrisThoung/fsic-data | 33a35086b94ea1995d93b1dc6ac55a3ec0245c16 | [
"BSD-3-Clause"
] | null | null | null | FSICdata/__init__.py | ChrisThoung/fsic-data | 33a35086b94ea1995d93b1dc6ac55a3ec0245c16 | [
"BSD-3-Clause"
] | null | null | null | FSICdata/__init__.py | ChrisThoung/fsic-data | 33a35086b94ea1995d93b1dc6ac55a3ec0245c16 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
from FSICdata.version import MAJOR, MINOR, PATCH, VERSION as __version__
| 19.8 | 72 | 0.707071 | 13 | 99 | 5.076923 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012048 | 0.161616 | 99 | 4 | 73 | 24.75 | 0.783133 | 0.212121 | 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 |
7b3de837574044f17c18c3be1af0ad4b548dc5e8 | 101 | py | Python | esp_sdk/extensions/base_object.py | zimmermanc/esp-sdk-python | cdef13c0dc6c3996b6c444160c71b2f1e3910c97 | [
"MIT"
] | 6 | 2017-06-05T20:37:19.000Z | 2019-04-10T08:43:59.000Z | esp_sdk/extensions/base_object.py | zimmermanc/esp-sdk-python | cdef13c0dc6c3996b6c444160c71b2f1e3910c97 | [
"MIT"
] | 18 | 2016-06-22T16:14:33.000Z | 2018-10-29T21:53:15.000Z | esp_sdk/extensions/base_object.py | zimmermanc/esp-sdk-python | cdef13c0dc6c3996b6c444160c71b2f1e3910c97 | [
"MIT"
] | 18 | 2016-07-27T19:20:01.000Z | 2020-11-17T02:09:58.000Z | class BaseObject(object):
"""
A base class to provide common features to all models.
"""
| 20.2 | 58 | 0.643564 | 13 | 101 | 5 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.257426 | 101 | 4 | 59 | 25.25 | 0.866667 | 0.534653 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
7b91fe20e6e3a1a2210bf2224cac29884af54480 | 114 | py | Python | sometime/__init__.py | rmaniego/sometime | 1f5402193750775527ea1c99dcd4476ceaf3279a | [
"MIT"
] | 1 | 2020-12-26T04:17:29.000Z | 2020-12-26T04:17:29.000Z | build/lib/sometime/__init__.py | rmaniego/sometime | 1f5402193750775527ea1c99dcd4476ceaf3279a | [
"MIT"
] | null | null | null | build/lib/sometime/__init__.py | rmaniego/sometime | 1f5402193750775527ea1c99dcd4476ceaf3279a | [
"MIT"
] | null | null | null | """ sometime """
from .version import version as __version__
from .sometime import Sometime
__all__ = ["sometime"] | 28.5 | 43 | 0.754386 | 13 | 114 | 6 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131579 | 114 | 4 | 44 | 28.5 | 0.787879 | 0.070175 | 0 | 0 | 0 | 0 | 0.080808 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
7b9b3eb61d8a7bff448322f00c1f14b8e53e2d17 | 93 | py | Python | ransomeeewareee/loadkey.py | aakashbilly/python3-ransomeware | 50ccf8217f78c32c30f8200a6f53ee056aea7c23 | [
"MIT"
] | null | null | null | ransomeeewareee/loadkey.py | aakashbilly/python3-ransomeware | 50ccf8217f78c32c30f8200a6f53ee056aea7c23 | [
"MIT"
] | null | null | null | ransomeeewareee/loadkey.py | aakashbilly/python3-ransomeware | 50ccf8217f78c32c30f8200a6f53ee056aea7c23 | [
"MIT"
] | 1 | 2021-05-23T02:56:44.000Z | 2021-05-23T02:56:44.000Z | def load_key():
with open("key.key","rb") as key:
key = key.read()
return key | 23.25 | 37 | 0.548387 | 15 | 93 | 3.333333 | 0.6 | 0.36 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.27957 | 93 | 4 | 38 | 23.25 | 0.746269 | 0 | 0 | 0 | 0 | 0 | 0.095745 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c886828718d7b97f0a66d09aea9cabe9c56b8ee8 | 83 | py | Python | han/__init__.py | dstrigl/amshan | 9c2d54e9fd1ce0fd844c30c83349d959ac551fd5 | [
"MIT"
] | 3 | 2021-12-28T22:57:54.000Z | 2022-02-26T20:13:09.000Z | han/__init__.py | dstrigl/amshan | 9c2d54e9fd1ce0fd844c30c83349d959ac551fd5 | [
"MIT"
] | 7 | 2022-01-18T10:31:08.000Z | 2022-03-15T07:16:36.000Z | han/__init__.py | dstrigl/amshan | 9c2d54e9fd1ce0fd844c30c83349d959ac551fd5 | [
"MIT"
] | 2 | 2021-12-29T09:18:35.000Z | 2022-03-12T16:53:45.000Z | """han package for reading measure stream frm HAN-port of norwegian AMS-meters."""
| 41.5 | 82 | 0.759036 | 13 | 83 | 4.846154 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13253 | 83 | 1 | 83 | 83 | 0.875 | 0.915663 | 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 |
c897cf09345012d96ef3574d55de0b2aab05f5ff | 666 | py | Python | src/pages/views.py | klaskaris11/gsoc2019-anonymization | 09a4ddd2bd74dc0eecded3e5e3f03c4fc4089ce1 | [
"MIT"
] | null | null | null | src/pages/views.py | klaskaris11/gsoc2019-anonymization | 09a4ddd2bd74dc0eecded3e5e3f03c4fc4089ce1 | [
"MIT"
] | 1 | 2020-09-14T16:09:05.000Z | 2020-09-14T16:09:05.000Z | src/pages/views.py | klaskaris11/gsoc2019-anonymization | 09a4ddd2bd74dc0eecded3e5e3f03c4fc4089ce1 | [
"MIT"
] | 1 | 2020-07-05T14:22:13.000Z | 2020-07-05T14:22:13.000Z | from django.shortcuts import render
from upload_file.views import upload_file
from pages.external_functions import create_user_folders, clear_documents_on_redirect
# Create your views here.
def home_view(request, *args, **kwargs):
# file_uploader = upload_file(request=request)
# clear_documents_on_redirect(re... | 30.272727 | 85 | 0.752252 | 85 | 666 | 5.611765 | 0.364706 | 0.1174 | 0.134172 | 0.201258 | 0.268344 | 0.268344 | 0.268344 | 0.268344 | 0.268344 | 0.268344 | 0 | 0 | 0.136637 | 666 | 21 | 86 | 31.714286 | 0.829565 | 0.247748 | 0 | 0 | 0 | 0 | 0.062626 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0 | 0.3 | 0.2 | 0.9 | 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 |
c8b5706908d02381792a8729114e5155083795dc | 81 | py | Python | adventcode/utils.py | johnhendrick/adventofcode2021 | 04d884d65eebc0178ddb79b1ff2a5c088c349e5e | [
"MIT"
] | 1 | 2021-12-15T00:34:04.000Z | 2021-12-15T00:34:04.000Z | adventcode/utils.py | johnhendrick/adventofcode2021 | 04d884d65eebc0178ddb79b1ff2a5c088c349e5e | [
"MIT"
] | null | null | null | adventcode/utils.py | johnhendrick/adventofcode2021 | 04d884d65eebc0178ddb79b1ff2a5c088c349e5e | [
"MIT"
] | null | null | null | def read_file(file_path):
with open(file_path) as f:
return f.read()
| 20.25 | 30 | 0.641975 | 14 | 81 | 3.5 | 0.642857 | 0.326531 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.246914 | 81 | 3 | 31 | 27 | 0.803279 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c8bc53d42bbaee46e934f66f7aac1e828eaa5de8 | 138 | py | Python | src/apps/uploader/urls.py | GotlingSystem/apnea | 6b2c0bdaa3733b5ec19456aae6177da4a13ab7d1 | [
"MIT"
] | null | null | null | src/apps/uploader/urls.py | GotlingSystem/apnea | 6b2c0bdaa3733b5ec19456aae6177da4a13ab7d1 | [
"MIT"
] | 3 | 2015-02-14T18:51:19.000Z | 2015-02-24T07:44:05.000Z | src/apps/uploader/urls.py | GotlingSystem/apnea | 6b2c0bdaa3733b5ec19456aae6177da4a13ab7d1 | [
"MIT"
] | null | null | null | from django.conf.urls import patterns, url
from .views import upload
urlpatterns = patterns('',
url(r'^$', upload, name='upload'),
)
| 19.714286 | 42 | 0.688406 | 18 | 138 | 5.277778 | 0.666667 | 0.231579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152174 | 138 | 6 | 43 | 23 | 0.811966 | 0 | 0 | 0 | 0 | 0 | 0.057971 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 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 |
c8f705376a19f90fdb802b6ad6ece89b1b8d335e | 71 | py | Python | crot.py | dickyalfandra/belajarpython | b60f01fc74a915037546cd3002c5800030c1c8b2 | [
"MIT"
] | null | null | null | crot.py | dickyalfandra/belajarpython | b60f01fc74a915037546cd3002c5800030c1c8b2 | [
"MIT"
] | null | null | null | crot.py | dickyalfandra/belajarpython | b60f01fc74a915037546cd3002c5800030c1c8b2 | [
"MIT"
] | 1 | 2019-11-22T06:27:22.000Z | 2019-11-22T06:27:22.000Z | class Crot(object):
def __init__(self):
print("hello crot") | 23.666667 | 27 | 0.619718 | 9 | 71 | 4.444444 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.239437 | 71 | 3 | 27 | 23.666667 | 0.740741 | 0 | 0 | 0 | 0 | 0 | 0.138889 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
74068f8293cb36754832304b6f73a347f1129fa5 | 1,982 | py | Python | tests/transactions/builder/test_second_signature_registration.py | ciband/python-crypto | 27acf5659efe1aedc0ce5ae73b1ebf03126cb7f4 | [
"MIT"
] | null | null | null | tests/transactions/builder/test_second_signature_registration.py | ciband/python-crypto | 27acf5659efe1aedc0ce5ae73b1ebf03126cb7f4 | [
"MIT"
] | 1 | 2018-08-29T17:18:13.000Z | 2018-08-29T17:18:13.000Z | tests/transactions/builder/test_second_signature_registration.py | ciband/python-crypto | 27acf5659efe1aedc0ce5ae73b1ebf03126cb7f4 | [
"MIT"
] | null | null | null | from crypto.configuration.network import set_network
from crypto.constants import TRANSACTION_SECOND_SIGNATURE_REGISTRATION, TRANSACTION_TYPE_GROUP
from crypto.networks.devnet import Devnet
from crypto.transactions.builder.second_signature_registration import SecondSignatureRegistration
set_network(Devnet)
def test_... | 43.086957 | 97 | 0.788597 | 233 | 1,982 | 6.454936 | 0.227468 | 0.139628 | 0.167553 | 0.12633 | 0.797872 | 0.797872 | 0.738032 | 0.738032 | 0.652926 | 0.581117 | 0 | 0.009924 | 0.135721 | 1,982 | 45 | 98 | 44.044444 | 0.868068 | 0.139253 | 0 | 0.645161 | 0 | 0 | 0.090963 | 0 | 0 | 0 | 0 | 0 | 0.387097 | 1 | 0.064516 | false | 0.064516 | 0.129032 | 0 | 0.193548 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
cd9ee1c98f14f0b7d72a577b2801f6e8037f2172 | 1,486 | py | Python | test/test_documents_api.py | michaelachrisco/signrequest-python-client | 2a77737b62175346e677fb8ea7a8ba075aff73ed | [
"MIT"
] | 3 | 2019-09-03T17:47:19.000Z | 2020-02-05T15:15:50.000Z | test/test_documents_api.py | michaelachrisco/signrequest-python-client | 2a77737b62175346e677fb8ea7a8ba075aff73ed | [
"MIT"
] | 3 | 2018-11-26T23:57:22.000Z | 2020-09-07T19:17:11.000Z | test/test_documents_api.py | michaelachrisco/signrequest-python-client | 2a77737b62175346e677fb8ea7a8ba075aff73ed | [
"MIT"
] | 1 | 2019-11-08T21:54:55.000Z | 2019-11-08T21:54:55.000Z | # coding: utf-8
"""
SignRequest API
API for SignRequest.com
OpenAPI spec version: v1
Contact: tech-support@signrequest.com
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import unittest
import signrequest_python_client
from signrequ... | 21.228571 | 91 | 0.654105 | 174 | 1,486 | 5.356322 | 0.33908 | 0.060086 | 0.059013 | 0.107296 | 0.398069 | 0.298283 | 0.092275 | 0.092275 | 0.092275 | 0 | 0 | 0.021082 | 0.265814 | 1,486 | 69 | 92 | 21.536232 | 0.833181 | 0.388964 | 0 | 0.272727 | 1 | 0 | 0.010485 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.318182 | false | 0.272727 | 0.227273 | 0 | 0.590909 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
cda00d1acee5c920169c72f6da389fbc055c0f59 | 116 | py | Python | smaef/jaro.py | DoggySmooth/smaef | 1f1f5f738bca7a490bb5fafedf748581f42ac308 | [
"MIT"
] | null | null | null | smaef/jaro.py | DoggySmooth/smaef | 1f1f5f738bca7a490bb5fafedf748581f42ac308 | [
"MIT"
] | null | null | null | smaef/jaro.py | DoggySmooth/smaef | 1f1f5f738bca7a490bb5fafedf748581f42ac308 | [
"MIT"
] | null | null | null | """Core module of the project."""
def add(x: int, y: int) -> int:
"""Add two int numbers."""
return x + y
| 16.571429 | 33 | 0.543103 | 19 | 116 | 3.315789 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.258621 | 116 | 6 | 34 | 19.333333 | 0.732558 | 0.413793 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
cdb428c5fa691312869ace791a85696c77f5b937 | 185 | py | Python | examples/custom/parallel_plot/parallel_reset.py | goncaloperes/bokeh | b857d2d17d7c19779bb0a7be2601d8238fb1d5e9 | [
"BSD-3-Clause"
] | 15,193 | 2015-01-01T05:11:45.000Z | 2022-03-31T19:30:20.000Z | examples/custom/parallel_plot/parallel_reset.py | goncaloperes/bokeh | b857d2d17d7c19779bb0a7be2601d8238fb1d5e9 | [
"BSD-3-Clause"
] | 9,554 | 2015-01-01T03:16:54.000Z | 2022-03-31T22:59:39.000Z | examples/custom/parallel_plot/parallel_reset.py | goncaloperes/bokeh | b857d2d17d7c19779bb0a7be2601d8238fb1d5e9 | [
"BSD-3-Clause"
] | 4,829 | 2015-01-02T03:35:32.000Z | 2022-03-30T16:40:26.000Z | from bokeh.models import ActionTool
class ParallelResetTool(ActionTool):
""" Tool to reset only plot axes and not selections
"""
__implementation__ = 'parallel_reset.ts'
| 20.555556 | 55 | 0.735135 | 21 | 185 | 6.238095 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189189 | 185 | 8 | 56 | 23.125 | 0.873333 | 0.254054 | 0 | 0 | 0 | 0 | 0.134921 | 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 |
cdeb07d66b87d42dc652613f5867f83c8d20884c | 1,337 | py | Python | 7. patterns.py | gyan-krishna/python_assignment | 2992d2e9c2da413ef9e1238ecb37047fdfadb735 | [
"MIT"
] | 2 | 2021-01-27T12:13:52.000Z | 2021-02-13T14:50:58.000Z | 7. patterns.py | gyan-krishna/python_assignment | 2992d2e9c2da413ef9e1238ecb37047fdfadb735 | [
"MIT"
] | null | null | null | 7. patterns.py | gyan-krishna/python_assignment | 2992d2e9c2da413ef9e1238ecb37047fdfadb735 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
----------Phenix Labs----------
Created on Sat Jan 23 23:47:00 2021
@author: Gyan Krishna
Topic:
"""
n = 6
#pattern 1
for i in range(n):
for j in range(n-i):
print("", end=" ")
for j in range(i):
print("*", end=" ")
print("")
print("\n\n")
#pattern 2
curr = ... | 15.916667 | 39 | 0.465221 | 218 | 1,337 | 2.853211 | 0.178899 | 0.22508 | 0.154341 | 0.194534 | 0.652733 | 0.607717 | 0.549839 | 0.517685 | 0.517685 | 0.517685 | 0 | 0.034261 | 0.301421 | 1,337 | 83 | 40 | 16.108434 | 0.631692 | 0.124159 | 0 | 0.703704 | 0 | 0 | 0.032815 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.462963 | 0 | 0 | 0 | null | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
cdf55813393183b3c49ea0e1953a009ede09c55c | 448 | py | Python | msmexplorer/tests/__init__.py | smsaladi/msmexplorer | 7880545c239c8f33ababdd111f58fd553b8bbdde | [
"MIT"
] | null | null | null | msmexplorer/tests/__init__.py | smsaladi/msmexplorer | 7880545c239c8f33ababdd111f58fd553b8bbdde | [
"MIT"
] | null | null | null | msmexplorer/tests/__init__.py | smsaladi/msmexplorer | 7880545c239c8f33ababdd111f58fd553b8bbdde | [
"MIT"
] | null | null | null | import warnings
# Show warnings for our package
warnings.filterwarnings('always', module='msmbuilder.*')
# Show warnings for packages where we want to be conscious of warnings
warnings.filterwarnings('always', module='mdtraj.*')
warnings.filterwarnings('always', module='scipy.*')
warnings.filterwarnings('always', mod... | 37.333333 | 70 | 0.770089 | 49 | 448 | 7.040816 | 0.469388 | 0.382609 | 0.486957 | 0.591304 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078125 | 448 | 11 | 71 | 40.727273 | 0.835351 | 0.21875 | 0 | 0 | 0 | 0 | 0.268012 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.142857 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
cdfc80de35da1e2a392ced1e882faccd48f3a80a | 1,539 | py | Python | photos/models.py | AhteshamSid/Company-Website-Django | 90248b1d593126a31ac019408e8021ce8735dbe8 | [
"MIT"
] | null | null | null | photos/models.py | AhteshamSid/Company-Website-Django | 90248b1d593126a31ac019408e8021ce8735dbe8 | [
"MIT"
] | null | null | null | photos/models.py | AhteshamSid/Company-Website-Django | 90248b1d593126a31ac019408e8021ce8735dbe8 | [
"MIT"
] | null | null | null | from django.db import models
class Category(models.Model):
name = models.CharField(max_length=100, null=False, blank=False)
def __str__(self):
return self.name
class Photo(models.Model):
category = models.ForeignKey(Category, default="others", on_delete=models.SET_NULL, null=True, bl... | 33.456522 | 111 | 0.694607 | 196 | 1,539 | 5.265306 | 0.265306 | 0.159884 | 0.19186 | 0.255814 | 0.58624 | 0.521318 | 0.46124 | 0.391473 | 0.391473 | 0.391473 | 0 | 0.026591 | 0.193632 | 1,539 | 46 | 112 | 33.456522 | 0.804996 | 0 | 0 | 0.30303 | 0 | 0 | 0.00602 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.121212 | false | 0 | 0.030303 | 0.121212 | 0.969697 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
a82629fd57afb7849b6ddd1262078f63f08cd03f | 15,960 | py | Python | tests/test_path_utils.py | sobolevn/action-hero | 75ff10dc8b01ee8d00367c63e8eccbbee9cc7d42 | [
"MIT"
] | 91 | 2019-09-26T20:55:55.000Z | 2021-10-19T22:27:21.000Z | tests/test_path_utils.py | kadimisetty/action-heroes | f203e2e130dce970db803d6447bf7518c5e54285 | [
"MIT"
] | 1 | 2020-02-07T02:51:40.000Z | 2020-02-07T02:51:40.000Z | tests/test_path_utils.py | kadimisetty/action-heroes | f203e2e130dce970db803d6447bf7518c5e54285 | [
"MIT"
] | 5 | 2020-02-02T03:40:47.000Z | 2020-11-05T10:53:11.000Z | import unittest
import tempfile
import shutil
import os
from action_hero.path_utils import (
add_execute_permission,
create_directory,
create_file,
get_extension,
is_empty_file,
is_executable_directory,
is_executable_file,
is_executable_path,
is_existing_directory,
is_existing_f... | 37.202797 | 79 | 0.694236 | 1,932 | 15,960 | 5.466874 | 0.072981 | 0.041753 | 0.051979 | 0.075743 | 0.823234 | 0.764723 | 0.707726 | 0.653096 | 0.616361 | 0.598561 | 0 | 0.01283 | 0.228383 | 15,960 | 428 | 80 | 37.28972 | 0.844823 | 0.107644 | 0 | 0.415842 | 0 | 0 | 0.007108 | 0 | 0 | 0 | 0 | 0 | 0.207921 | 1 | 0.214521 | false | 0 | 0.016502 | 0 | 0.273927 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b53ad22bcf4c6c491c0cbd9ae1619dc5a99f8e07 | 61 | py | Python | src/cms/carousels/__init__.py | UniversitaDellaCalabria/uniCMS | b0af4e1a767867f0a9b3c135a5c84587e713cb71 | [
"Apache-2.0"
] | 6 | 2021-01-26T17:22:53.000Z | 2022-02-15T10:09:03.000Z | src/cms/carousels/__init__.py | UniversitaDellaCalabria/uniCMS | b0af4e1a767867f0a9b3c135a5c84587e713cb71 | [
"Apache-2.0"
] | 5 | 2020-12-24T14:29:23.000Z | 2021-08-10T10:32:18.000Z | src/cms/carousels/__init__.py | UniversitaDellaCalabria/uniCMS | b0af4e1a767867f0a9b3c135a5c84587e713cb71 | [
"Apache-2.0"
] | 2 | 2020-12-24T14:13:39.000Z | 2020-12-30T16:48:52.000Z | default_app_config = 'cms.carousels.apps.CmsCarouselsConfig'
| 30.5 | 60 | 0.852459 | 7 | 61 | 7.142857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04918 | 61 | 1 | 61 | 61 | 0.862069 | 0 | 0 | 0 | 0 | 0 | 0.606557 | 0.606557 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b543643bfd103efd6eb0072b4c2e8efa415fb49d | 78 | py | Python | style/__init__.py | 1lo0/pexcel_openpyxl | 609fefb501b13cbc0904aae8e7b19a3d7c401148 | [
"Apache-2.0"
] | 6 | 2020-06-24T01:23:49.000Z | 2020-09-01T10:49:51.000Z | style/__init__.py | 1lo0/pexcel | 609fefb501b13cbc0904aae8e7b19a3d7c401148 | [
"Apache-2.0"
] | null | null | null | style/__init__.py | 1lo0/pexcel | 609fefb501b13cbc0904aae8e7b19a3d7c401148 | [
"Apache-2.0"
] | null | null | null | #-*- coding:utf-8 -*-
# author:donttouchkeyboard@gmail.com
# software: PyCharm | 26 | 36 | 0.717949 | 9 | 78 | 6.222222 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014085 | 0.089744 | 78 | 3 | 37 | 26 | 0.774648 | 0.935897 | 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 |
b57f7e247eb177d3e04790dfc4327959292b8c35 | 485 | py | Python | tests/test_utils.py | MVilstrup/parallely | 555b7b0a0a222232fe5016525b50e5b5632b97b5 | [
"Apache-2.0"
] | null | null | null | tests/test_utils.py | MVilstrup/parallely | 555b7b0a0a222232fe5016525b50e5b5632b97b5 | [
"Apache-2.0"
] | null | null | null | tests/test_utils.py | MVilstrup/parallely | 555b7b0a0a222232fe5016525b50e5b5632b97b5 | [
"Apache-2.0"
] | null | null | null | from parallely.utils import prepare_arguments
def test_iterators_only():
args, kwargs = prepare_arguments(([1, 2],), {})
assert args == [[1], [2]]
assert kwargs == [{}, {}]
args, kwargs = prepare_arguments(([1, 2],), {"a": [3, 4]})
assert args == [[1], [2]]
assert kwargs == [{"a": 3}, {"a": 4... | 17.321429 | 62 | 0.597938 | 63 | 485 | 4.365079 | 0.365079 | 0.127273 | 0.174545 | 0.189091 | 0.378182 | 0.378182 | 0 | 0 | 0 | 0 | 0 | 0.031579 | 0.216495 | 485 | 27 | 63 | 17.962963 | 0.692105 | 0 | 0 | 0.375 | 0 | 0 | 0.006186 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.3125 | true | 0.25 | 0.0625 | 0 | 0.375 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
b59a1f7797281d16fcf0e8ced35457fc9f17315b | 149 | py | Python | bups/scheduler/__init__.py | emersion/bups | 95dac7fabe8261dfff3bccad1e384af07c702945 | [
"MIT"
] | 106 | 2015-01-02T11:11:39.000Z | 2022-01-09T08:03:30.000Z | bups/scheduler/__init__.py | emersion/bups | 95dac7fabe8261dfff3bccad1e384af07c702945 | [
"MIT"
] | 33 | 2015-01-01T15:01:38.000Z | 2020-09-06T15:13:49.000Z | bups/scheduler/__init__.py | emersion/bups | 95dac7fabe8261dfff3bccad1e384af07c702945 | [
"MIT"
] | 15 | 2015-02-01T10:38:20.000Z | 2022-02-08T21:45:44.000Z | import anacron
import systemd
import systemd_user
schedulers = {
"anacron": anacron,
"systemd": systemd,
"systemd-user": systemd_user
}
| 14.9 | 32 | 0.704698 | 16 | 149 | 6.4375 | 0.3125 | 0.320388 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.194631 | 149 | 9 | 33 | 16.555556 | 0.858333 | 0 | 0 | 0 | 0 | 0 | 0.174497 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.375 | 0 | 0.375 | 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 |
b5b8bf6d948e217a2272cab079bac5752dae06ad | 2,352 | py | Python | src/masonite/exceptions/exceptionite/solutions.py | josephmancuso/masonite | e9ed31331268bd4966609fbc1e5c55afa5cb0a79 | [
"MIT"
] | 35 | 2018-01-08T01:20:16.000Z | 2018-02-06T02:37:14.000Z | src/masonite/exceptions/exceptionite/solutions.py | josephmancuso/masonite | e9ed31331268bd4966609fbc1e5c55afa5cb0a79 | [
"MIT"
] | 55 | 2018-01-03T02:42:03.000Z | 2018-02-06T13:35:54.000Z | src/masonite/exceptions/exceptionite/solutions.py | josephmancuso/masonite | e9ed31331268bd4966609fbc1e5c55afa5cb0a79 | [
"MIT"
] | 4 | 2018-01-08T13:13:14.000Z | 2018-01-12T19:35:32.000Z | class TableNotFound:
def title(self):
return "Table Not Found"
def description(self):
return "You are trying to make a query on a table that cannot be found. Check that :table migration exists and that migrations have been ran with 'python craft migrate' command."
def regex(self):
... | 35.104478 | 268 | 0.690476 | 332 | 2,352 | 4.885542 | 0.400602 | 0.110974 | 0.04439 | 0.066584 | 0.173859 | 0.103576 | 0.053021 | 0.053021 | 0.053021 | 0.053021 | 0 | 0 | 0.232993 | 2,352 | 66 | 269 | 35.636364 | 0.899113 | 0 | 0 | 0.409091 | 0 | 0.090909 | 0.609694 | 0.031037 | 0 | 0 | 0 | 0 | 0 | 1 | 0.409091 | false | 0 | 0 | 0.409091 | 0.954545 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
a90ed67f59d4064bfe7c0ef922e613b9800bfe00 | 309 | py | Python | jupyter_notebook_config.py | smurve/cbrokerage | 9c0ada2981d60ab04a4a2120f40f9ebc4a38befc | [
"Apache-2.0"
] | 1 | 2019-06-26T13:14:50.000Z | 2019-06-26T13:14:50.000Z | jupyter_notebook_config.py | smurve/cbrokerage | 9c0ada2981d60ab04a4a2120f40f9ebc4a38befc | [
"Apache-2.0"
] | 3 | 2021-03-19T03:06:40.000Z | 2022-02-10T13:35:19.000Z | jupyter_notebook_config.py | smurve/cbrokerage | 9c0ada2981d60ab04a4a2120f40f9ebc4a38befc | [
"Apache-2.0"
] | null | null | null | c.NotebookApp.ip = '*'
c.NotebookApp.token = ''
c.NotebookApp.password = ''
c.NotebookApp.open_browser = False
c.NotebookApp.port = 8081
c.NotebookApp.allow_remote_access = True
c.NotebookApp.allow_origin_pat = '(^https://8081-dot-[0-9]+-dot-devshell\.appspot\.com$)|(^https://colab\.research\.google\.com$)'
| 38.625 | 130 | 0.728155 | 43 | 309 | 5.116279 | 0.604651 | 0.381818 | 0.154545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034722 | 0.067961 | 309 | 7 | 131 | 44.142857 | 0.729167 | 0 | 0 | 0 | 0 | 0.142857 | 0.31068 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
a916f2651449bc27b39e33bbc53db3c2cfe801df | 182 | py | Python | samples/flask/resources/__init__.py | amdowell/python-brasil-2016 | 03580f8c1db77686d2df7ce9888931a47f7ba388 | [
"MIT"
] | 6 | 2016-10-10T18:16:05.000Z | 2017-02-01T21:54:03.000Z | samples/flask/resources/__init__.py | amdowell/python-brasil-2016 | 03580f8c1db77686d2df7ce9888931a47f7ba388 | [
"MIT"
] | null | null | null | samples/flask/resources/__init__.py | amdowell/python-brasil-2016 | 03580f8c1db77686d2df7ce9888931a47f7ba388 | [
"MIT"
] | null | null | null | # encoding:utf-8
from flask import Flask
from routes import my_blueprint
app = Flask(__name__)
# register our blueprints
app.register_blueprint(my_blueprint, url_prefix='/api/v1')
| 20.222222 | 58 | 0.796703 | 27 | 182 | 5.074074 | 0.666667 | 0.160584 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012422 | 0.115385 | 182 | 8 | 59 | 22.75 | 0.838509 | 0.208791 | 0 | 0 | 0 | 0 | 0.049645 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 4 |
a918e1ffd9d059a8ccbde9a4a32690a02d85e757 | 215 | py | Python | Standard Library/struct/06_unpack_from.py | shubhamnag14/Python-Documents | d3fee0ad90232b413f6ac1b562588fb255b79e42 | [
"Apache-2.0"
] | 2 | 2020-11-27T13:21:05.000Z | 2021-04-19T21:14:21.000Z | Standard Library/struct/06_unpack_from.py | shubhamnag14/Python-Documents | d3fee0ad90232b413f6ac1b562588fb255b79e42 | [
"Apache-2.0"
] | null | null | null | Standard Library/struct/06_unpack_from.py | shubhamnag14/Python-Documents | d3fee0ad90232b413f6ac1b562588fb255b79e42 | [
"Apache-2.0"
] | 1 | 2021-06-27T20:31:42.000Z | 2021-06-27T20:31:42.000Z | from struct import Struct
struct1 = Struct('@i13sf')
sendBytes = b'\x7f\x00\x00\x00Hello Struct!\x00\x00\x00\xc3\xf5H@\x80\x00\x00\x00Hello Python!\x00\x00\x00\x85\xebQ@'
print(struct1.unpack_from(sendBytes, 24))
| 30.714286 | 117 | 0.753488 | 35 | 215 | 4.6 | 0.542857 | 0.223602 | 0.173913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.18593 | 0.074419 | 215 | 6 | 118 | 35.833333 | 0.623116 | 0 | 0 | 0 | 0 | 0.25 | 0.502326 | 0.465116 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0.25 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a932c12604125ad95d425139991da93d8a6b4a07 | 153 | py | Python | word_transform/urls.py | haavikko/sananmuunnos | 8865deecbdcfa757bbc9051d4b6e30aaa3928ae9 | [
"MIT"
] | null | null | null | word_transform/urls.py | haavikko/sananmuunnos | 8865deecbdcfa757bbc9051d4b6e30aaa3928ae9 | [
"MIT"
] | null | null | null | word_transform/urls.py | haavikko/sananmuunnos | 8865deecbdcfa757bbc9051d4b6e30aaa3928ae9 | [
"MIT"
] | null | null | null | """URL Configuration"""
from django.urls import path
from . import views
urlpatterns = [
path('', views.word_transform, name='word_transform'),
]
| 15.3 | 58 | 0.699346 | 18 | 153 | 5.833333 | 0.666667 | 0.247619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156863 | 153 | 9 | 59 | 17 | 0.813953 | 0.111111 | 0 | 0 | 0 | 0 | 0.107692 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 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 |
a93a1f8c6a6ab5be94ce478f15117122ea8994b1 | 836 | py | Python | src/ellie_eyes/ellie_eyes/face_recognition/factical_models.py | Gin-TrungSon/EllieHumanoid | c5d958663149dad23cc1cbce7e5884eddf079792 | [
"MIT"
] | null | null | null | src/ellie_eyes/ellie_eyes/face_recognition/factical_models.py | Gin-TrungSon/EllieHumanoid | c5d958663149dad23cc1cbce7e5884eddf079792 | [
"MIT"
] | null | null | null | src/ellie_eyes/ellie_eyes/face_recognition/factical_models.py | Gin-TrungSon/EllieHumanoid | c5d958663149dad23cc1cbce7e5884eddf079792 | [
"MIT"
] | 1 | 2021-12-09T13:39:14.000Z | 2021-12-09T13:39:14.000Z | import os
# we are using the model already trained
#https://github.com/davisking/dlib-models
def pose_predictor_model_location():
return os.path.join(os.path.dirname(__file__), "models/shape_predictor_68_face_landmarks.dat")
def pose_predictor_five_point_model_location():
return os.path.join(os.path.dirname(_... | 39.809524 | 102 | 0.809809 | 120 | 836 | 5.058333 | 0.35 | 0.171334 | 0.125206 | 0.138386 | 0.553542 | 0.482702 | 0.388797 | 0.388797 | 0.388797 | 0.388797 | 0 | 0.005242 | 0.087321 | 836 | 21 | 103 | 39.809524 | 0.790301 | 0.093301 | 0 | 0 | 0 | 0 | 0.23545 | 0.224868 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | true | 0 | 0.071429 | 0.285714 | 0.642857 | 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 |
a94c29ec3de50bcd926cf1b0d4fb76d21e592032 | 91 | py | Python | web_ui/IOT-Dashboard/readings/apps.py | sss22213/ESP_IOT | 9ff66aed3c08989ece3a6bb6a47c70463e2d3643 | [
"BSD-3-Clause"
] | null | null | null | web_ui/IOT-Dashboard/readings/apps.py | sss22213/ESP_IOT | 9ff66aed3c08989ece3a6bb6a47c70463e2d3643 | [
"BSD-3-Clause"
] | null | null | null | web_ui/IOT-Dashboard/readings/apps.py | sss22213/ESP_IOT | 9ff66aed3c08989ece3a6bb6a47c70463e2d3643 | [
"BSD-3-Clause"
] | null | null | null | from django.apps import AppConfig
class ReadingsConfig(AppConfig):
name = 'readings'
| 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 |
a979608dc3265991673765bf12dc1fa30e8366e3 | 944 | py | Python | tests/test_elfun.py | mat2py/mat2py | 2776fbe9ca4ad2aaa3eac6aa79d17747a9ec24a8 | [
"MIT"
] | null | null | null | tests/test_elfun.py | mat2py/mat2py | 2776fbe9ca4ad2aaa3eac6aa79d17747a9ec24a8 | [
"MIT"
] | 37 | 2021-12-23T03:22:20.000Z | 2022-02-16T15:40:47.000Z | tests/test_elfun.py | mat2py/mat2py | 2776fbe9ca4ad2aaa3eac6aa79d17747a9ec24a8 | [
"MIT"
] | 2 | 2022-01-23T07:59:10.000Z | 2022-02-03T09:15:54.000Z | # type: ignore
import pytest
from .helper import *
def test_floor():
X = M[
[-1.9, -0.2, 3.4],
[5.6, 7.0, 2.4 + 3.6j],
]
Y = floor(X)
assert_same_array(
Y,
M[
[(-2.0000) + 0.0000j, (-1.0000) + 0.0000j, 3.0000 + 0.0000j],
[5.0000 + 0.0000j, 7.000... | 25.513514 | 73 | 0.485169 | 174 | 944 | 2.574713 | 0.344828 | 0.060268 | 0.111607 | 0.060268 | 0.145089 | 0.127232 | 0.127232 | 0.060268 | 0.060268 | 0.060268 | 0 | 0.251479 | 0.283898 | 944 | 36 | 74 | 26.222222 | 0.411243 | 0.419492 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027778 | 0.157895 | 1 | 0.052632 | false | 0.052632 | 0.105263 | 0 | 0.157895 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
a9839aef90e25a9e7618782fd1c6b427f2268888 | 53 | py | Python | native/libcst/tests/fixtures/global_nonlocal.py | jschavesr/LibCST | e5ab7b90b4c9cd1f46e5b875ad317411abf48298 | [
"Apache-2.0"
] | 880 | 2019-08-07T21:21:11.000Z | 2022-03-29T06:25:34.000Z | native/libcst/tests/fixtures/global_nonlocal.py | jschavesr/LibCST | e5ab7b90b4c9cd1f46e5b875ad317411abf48298 | [
"Apache-2.0"
] | 537 | 2019-08-08T18:34:30.000Z | 2022-03-30T16:46:14.000Z | native/libcst/tests/fixtures/global_nonlocal.py | jschavesr/LibCST | e5ab7b90b4c9cd1f46e5b875ad317411abf48298 | [
"Apache-2.0"
] | 108 | 2019-08-08T00:17:21.000Z | 2022-03-24T20:53:31.000Z | global a
global b , c, d
nonlocal a
nonlocal a , b | 13.25 | 16 | 0.660377 | 11 | 53 | 3.181818 | 0.545455 | 0.514286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.283019 | 53 | 4 | 16 | 13.25 | 0.921053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8d16dbf851d8753c5bc7538d7bebfbcb4893034d | 143 | py | Python | src/py/gauge/collectors/__init__.py | AndreiPashkin/gauge | e51da02506b3542462d17626b0be979e6d8beff0 | [
"Apache-2.0"
] | null | null | null | src/py/gauge/collectors/__init__.py | AndreiPashkin/gauge | e51da02506b3542462d17626b0be979e6d8beff0 | [
"Apache-2.0"
] | 18 | 2020-08-28T19:23:02.000Z | 2021-01-03T21:51:34.000Z | src/py/gauge/collectors/__init__.py | AndreiPashkin/gauge | e51da02506b3542462d17626b0be979e6d8beff0 | [
"Apache-2.0"
] | null | null | null | from .base import CollectorInterface
from .sampling_collector import SamplingCollector
__all__ = ["CollectorInterface", "SamplingCollector"]
| 23.833333 | 53 | 0.832168 | 12 | 143 | 9.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097902 | 143 | 5 | 54 | 28.6 | 0.883721 | 0 | 0 | 0 | 0 | 0 | 0.244755 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
8d34a09f6bd5e5ab618cc1820c9b881377abcfa1 | 277 | py | Python | bender/evaluator/factory_method.py | otovo/bender | b64f0656658287b932ce44d52e6035682652fe33 | [
"Apache-2.0"
] | 2 | 2021-12-17T15:45:40.000Z | 2021-12-18T14:15:43.000Z | bender/evaluator/factory_method.py | otovo/bender | b64f0656658287b932ce44d52e6035682652fe33 | [
"Apache-2.0"
] | 2 | 2022-03-30T14:31:12.000Z | 2022-03-31T14:25:25.000Z | bender/evaluator/factory_method.py | otovo/bender | b64f0656658287b932ce44d52e6035682652fe33 | [
"Apache-2.0"
] | 1 | 2021-12-19T17:16:38.000Z | 2021-12-19T17:16:38.000Z | from typing import Generic, TypeVar
from bender.evaluator.interface import Evaluator
EvaluableType = TypeVar('EvaluableType')
class Evaluable(Generic[EvaluableType]):
def evaluate(self, evaluators: list[Evaluator]) -> EvaluableType:
raise NotImplementedError()
| 25.181818 | 69 | 0.776173 | 27 | 277 | 7.962963 | 0.666667 | 0.204651 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137184 | 277 | 10 | 70 | 27.7 | 0.899582 | 0 | 0 | 0 | 0 | 0 | 0.046931 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
8d4d5a6307b6d3631701210a7d66c07e1620f82e | 165 | py | Python | 01_Language/01_Functions/python/is_bool.py | cliff363825/TwentyFour | 09df59bd5d275e66463e343647f46027397d1233 | [
"MIT"
] | 3 | 2020-06-28T07:42:51.000Z | 2021-01-15T10:32:11.000Z | 01_Language/01_Functions/python/is_bool.py | cliff363825/TwentyFour | 09df59bd5d275e66463e343647f46027397d1233 | [
"MIT"
] | 9 | 2021-03-10T22:45:40.000Z | 2022-02-27T06:53:20.000Z | 01_Language/01_Functions/python/is_bool.py | cliff363825/TwentyFour | 09df59bd5d275e66463e343647f46027397d1233 | [
"MIT"
] | 1 | 2021-01-15T10:51:24.000Z | 2021-01-15T10:51:24.000Z | # coding: utf-8
def is_bool(var):
return isinstance(var, bool)
if __name__ == '__main__':
a = False
b = 0
print(is_bool(a))
print(is_bool(b))
| 13.75 | 32 | 0.593939 | 26 | 165 | 3.346154 | 0.653846 | 0.206897 | 0.252874 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016393 | 0.260606 | 165 | 11 | 33 | 15 | 0.696721 | 0.078788 | 0 | 0 | 0 | 0 | 0.053333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0 | 0.142857 | 0.285714 | 0.285714 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
8d4f9b5ddadaf471232931a12b9a2a667051abc6 | 82 | py | Python | example 15/cxfreeze-quickstart.py | Jenyay/cx_freeze_examples | 6d78e4a18c5a2768ce9d6ee6b9efe69b74bfd79f | [
"MIT"
] | 6 | 2017-06-21T07:04:23.000Z | 2020-05-15T13:28:38.000Z | example 15/cxfreeze-quickstart.py | Jenyay/cx_freeze_examples | 6d78e4a18c5a2768ce9d6ee6b9efe69b74bfd79f | [
"MIT"
] | null | null | null | example 15/cxfreeze-quickstart.py | Jenyay/cx_freeze_examples | 6d78e4a18c5a2768ce9d6ee6b9efe69b74bfd79f | [
"MIT"
] | 1 | 2021-08-29T09:43:47.000Z | 2021-08-29T09:43:47.000Z | #!C:\Python\32-bit\2.7\python.exe
from cx_Freeze.setupwriter import main
main()
| 13.666667 | 38 | 0.743902 | 15 | 82 | 4 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054054 | 0.097561 | 82 | 5 | 39 | 16.4 | 0.756757 | 0.390244 | 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 |
8d541c83a59b14806437188711aa218ce27a4df7 | 26 | py | Python | tests/test_channels/__init__.py | paniash/toqito | ab67c2a3fca77b3827be11d1e79531042ea62b82 | [
"MIT"
] | 76 | 2020-01-28T17:02:01.000Z | 2022-02-14T18:02:15.000Z | tests/test_channels/__init__.py | paniash/toqito | ab67c2a3fca77b3827be11d1e79531042ea62b82 | [
"MIT"
] | 82 | 2020-05-31T20:09:38.000Z | 2022-03-28T17:13:59.000Z | tests/test_channels/__init__.py | paniash/toqito | ab67c2a3fca77b3827be11d1e79531042ea62b82 | [
"MIT"
] | 30 | 2020-04-02T16:07:11.000Z | 2022-02-05T13:39:22.000Z | """Tests for channels."""
| 13 | 25 | 0.615385 | 3 | 26 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 1 | 26 | 26 | 0.695652 | 0.730769 | 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 |
8d677c50431aa9b00888f3fd221993b00daf49dd | 42 | py | Python | python/testData/completion/matMul.after.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/completion/matMul.after.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/completion/matMul.after.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | class C:
def __matmul__(self, other):
| 14 | 32 | 0.666667 | 6 | 42 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 42 | 2 | 33 | 21 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8d71055e8c8535fc35f6922f15c42792004bdb0b | 2,723 | py | Python | tcp.py | Lusmaysh/DDoS | 166a35781c683eb050c20414ffe63adf50452111 | [
"Apache-2.0"
] | null | null | null | tcp.py | Lusmaysh/DDoS | 166a35781c683eb050c20414ffe63adf50452111 | [
"Apache-2.0"
] | null | null | null | tcp.py | Lusmaysh/DDoS | 166a35781c683eb050c20414ffe63adf50452111 | [
"Apache-2.0"
] | null | null | null | import sys,random,socket,zlib,base64
from optparse import OptionParser
author = "Lusmaysh"
exec(zlib.decompress(base64.b64decode(b'eJwlkrcSo1YARXt/hTvvDp4liVS4ICNAEoigBx2gR87pAV/v9bg9tzp3TtWNw7z+ebVV+neaLJC9/QEPmP34D/z6wmzoxhkuy4//t18pe/sPfuGP9C9oorbh4DkQhSg6DlctO7VDc+I9LhLvLi1uqnp2YlRLhYqGbacFil2VfU339ejMGPcF94MfgFGU... | 61.886364 | 1,396 | 0.788469 | 209 | 2,723 | 9.660287 | 0.574163 | 0.013868 | 0.014859 | 0.013868 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.100163 | 0.098054 | 2,723 | 43 | 1,397 | 63.325581 | 0.721906 | 0 | 0 | 0 | 0 | 0.076923 | 0.710981 | 0.504591 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.051282 | 0 | 0.051282 | 0.076923 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8d9b1b1a973d6fae3ba025aa2db26f38ec486837 | 234 | py | Python | aos_sw_api/enums/sntp_client_operation_mode.py | KennethSoelberg/AOS-Switch | a5a2c54917bbb69fab044bf0b313bcf795642d30 | [
"MIT"
] | null | null | null | aos_sw_api/enums/sntp_client_operation_mode.py | KennethSoelberg/AOS-Switch | a5a2c54917bbb69fab044bf0b313bcf795642d30 | [
"MIT"
] | 1 | 2020-12-24T15:36:56.000Z | 2021-01-28T23:19:57.000Z | aos_sw_api/enums/sntp_client_operation_mode.py | KennethSoelberg/AOS-Switch | a5a2c54917bbb69fab044bf0b313bcf795642d30 | [
"MIT"
] | 1 | 2021-02-16T23:26:28.000Z | 2021-02-16T23:26:28.000Z | from enum import Enum
class SntpClientOperationModeEnum(str, Enum):
SNTP_DISABLE = "SNTP_DISABLE"
SNTP_UNICAST_MODE = "SNTP_UNICAST_MODE"
SNTP_BROADCAST_MODE = "SNTP_BROADCAST_MODE"
SNTP_DHCP_MODE = "SNTP_DHCP_MODE"
| 26 | 47 | 0.773504 | 30 | 234 | 5.566667 | 0.4 | 0.239521 | 0.179641 | 0.227545 | 0.251497 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15812 | 234 | 8 | 48 | 29.25 | 0.847716 | 0 | 0 | 0 | 0 | 0 | 0.264957 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
a5d2f42806ae9ef1fc5a83a69914fd04df5dcd31 | 199 | py | Python | Timbuchalka/Section-6/color_printv3.py | Advik-B/Learn-Python | 66ac57259764e8f2c3c6513a8de6c106800d8abe | [
"MIT"
] | 6 | 2021-07-26T14:21:25.000Z | 2021-07-26T14:32:01.000Z | Timbuchalka/Section-6/color_printv3.py | Advik-B/Learn-Python | 66ac57259764e8f2c3c6513a8de6c106800d8abe | [
"MIT"
] | 2 | 2021-12-10T10:25:19.000Z | 2021-12-10T10:27:15.000Z | Timbuchalka/Section-6/color_printv3.py | Advik-B/Learn-Python | 66ac57259764e8f2c3c6513a8de6c106800d8abe | [
"MIT"
] | null | null | null | from advikb import cprint
cprint("Hello Advik. welcome to cprint",'magenta')
cprint()
cprint('https://discord.gg/DsMYhmZ6Qq','cyan')
cprint('','REVERSE')
cprint('press enter to exit','red')
input() | 22.111111 | 50 | 0.718593 | 27 | 199 | 5.296296 | 0.740741 | 0.167832 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005525 | 0.090452 | 199 | 9 | 51 | 22.111111 | 0.78453 | 0 | 0 | 0 | 0 | 0 | 0.495 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.142857 | 0 | 0.142857 | 0.857143 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
5708f286815a6ecba86f03f75a1be1af27677fcc | 118 | py | Python | app/suorganizer/settings/__init__.py | yayunl/llfselfhelp | 55994003ad51e1664a733c84ed6afcb9f28b6499 | [
"MIT"
] | null | null | null | app/suorganizer/settings/__init__.py | yayunl/llfselfhelp | 55994003ad51e1664a733c84ed6afcb9f28b6499 | [
"MIT"
] | 4 | 2021-04-08T21:37:08.000Z | 2021-09-22T19:31:17.000Z | app/suorganizer/settings/__init__.py | yayunl/llfselfhelp | 55994003ad51e1664a733c84ed6afcb9f28b6499 | [
"MIT"
] | null | null | null | # from .base import *
#
# if os.environ.get('ENV') == 'prod':
# from .prod import *
# else:
# from .dev import * | 19.666667 | 37 | 0.559322 | 16 | 118 | 4.125 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.237288 | 118 | 6 | 38 | 19.666667 | 0.733333 | 0.898305 | 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 |
5713d07065902271a36858771810eeace6559a15 | 65 | py | Python | thirdparty/stylegan2_ops/__init__.py | STomoya/animeface | 37b3cd26097d7874559d4c152e41e5712b7a1a42 | [
"MIT"
] | 61 | 2020-06-06T08:25:09.000Z | 2022-03-28T13:30:10.000Z | thirdparty/stylegan2_ops/ops/__init__.py | OrigamiXx/animeface | 8724006df99ba7ef369e837d8294350ea733611b | [
"MIT"
] | 13 | 2020-07-02T02:41:14.000Z | 2021-05-09T14:24:58.000Z | thirdparty/stylegan2_ops/ops/__init__.py | OrigamiXx/animeface | 8724006df99ba7ef369e837d8294350ea733611b | [
"MIT"
] | 8 | 2020-10-03T18:51:16.000Z | 2022-02-05T18:18:01.000Z | # Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved.
| 32.5 | 64 | 0.738462 | 9 | 65 | 5.444444 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072727 | 0.153846 | 65 | 1 | 65 | 65 | 0.8 | 0.938462 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 0 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
572fccf599a331a3a00df08f4c8b5dc3e9b5ba1b | 21 | py | Python | orange3/Orange/canvas/scheme/tests/__init__.py | rgschmitz1/BioDepot-workflow-builder | f74d904eeaf91ec52ec9b703d9fb38e9064e5a66 | [
"MIT"
] | 54 | 2017-01-08T17:21:49.000Z | 2021-11-02T08:46:07.000Z | orange3/Orange/canvas/scheme/tests/__init__.py | Synthia-3/BioDepot-workflow-builder | 4ee93abe2d79465755e82a145af3b6a6e1e79fd4 | [
"MIT"
] | 22 | 2017-03-28T06:03:14.000Z | 2021-07-28T05:43:55.000Z | orange3/Orange/canvas/scheme/tests/__init__.py | Synthia-3/BioDepot-workflow-builder | 4ee93abe2d79465755e82a145af3b6a6e1e79fd4 | [
"MIT"
] | 21 | 2017-01-26T21:12:09.000Z | 2022-01-31T21:34:59.000Z | """
Scheme tests
"""
| 5.25 | 12 | 0.52381 | 2 | 21 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 3 | 13 | 7 | 0.647059 | 0.571429 | 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 |
574ad48e4086240b783af5d89ae300d97e01f4bb | 28 | py | Python | Hello.py | pechimuthu369/pythonapp | 7ce59d000afbecd13f72df6e7531cc5dd140638c | [
"MIT"
] | null | null | null | Hello.py | pechimuthu369/pythonapp | 7ce59d000afbecd13f72df6e7531cc5dd140638c | [
"MIT"
] | null | null | null | Hello.py | pechimuthu369/pythonapp | 7ce59d000afbecd13f72df6e7531cc5dd140638c | [
"MIT"
] | null | null | null | msg="Hello World"
print(msg) | 14 | 17 | 0.75 | 5 | 28 | 4.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 28 | 2 | 18 | 14 | 0.807692 | 0 | 0 | 0 | 0 | 0 | 0.37931 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
9395117352a073e0bc7909ba2149bdf71b2d4671 | 232 | py | Python | app/core/types.py | vladkoblynsky/fastapi_strawberry_test | dbc8bf8e8a8e38439bc96bae773be17f326f5727 | [
"MIT"
] | null | null | null | app/core/types.py | vladkoblynsky/fastapi_strawberry_test | dbc8bf8e8a8e38439bc96bae773be17f326f5727 | [
"MIT"
] | null | null | null | app/core/types.py | vladkoblynsky/fastapi_strawberry_test | dbc8bf8e8a8e38439bc96bae773be17f326f5727 | [
"MIT"
] | null | null | null | import strawberry
from typing import List
from app.core.enums import ErrorCode
@strawberry.type
class ErrorType:
code: ErrorCode
message: str
@strawberry.type
class MutationWithErrorsResult:
errors: List[ErrorType]
| 14.5 | 36 | 0.775862 | 27 | 232 | 6.666667 | 0.62963 | 0.155556 | 0.211111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168103 | 232 | 15 | 37 | 15.466667 | 0.932642 | 0 | 0 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.3 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
93a6d06d72eeb6d6ad75c30d2616dd7a6734ebc1 | 236 | py | Python | vindauga/widgets/static_prompt.py | gabbpuy/vindauga | d4a51a618d60e83d82fd5fee585d08ff288484f3 | [
"BSD-2-Clause"
] | 5 | 2019-07-03T16:01:46.000Z | 2021-12-22T10:01:04.000Z | vindauga/widgets/static_prompt.py | gabbpuy/vindauga | d4a51a618d60e83d82fd5fee585d08ff288484f3 | [
"BSD-2-Clause"
] | null | null | null | vindauga/widgets/static_prompt.py | gabbpuy/vindauga | d4a51a618d60e83d82fd5fee585d08ff288484f3 | [
"BSD-2-Clause"
] | 1 | 2020-09-22T14:25:13.000Z | 2020-09-22T14:25:13.000Z | # -*- coding: utf-8 -*-
from vindauga.types.palette import Palette
from .static_text import StaticText
class StaticPrompt(StaticText):
cpStaticPrompt = "\x09"
def getPalette(self):
return Palette(self.cpStaticPrompt)
| 21.454545 | 43 | 0.720339 | 26 | 236 | 6.5 | 0.730769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015385 | 0.173729 | 236 | 10 | 44 | 23.6 | 0.851282 | 0.088983 | 0 | 0 | 0 | 0 | 0.018779 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.166667 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
93e6bbced052fd85073a8bf5c2d63c05bf171821 | 147 | py | Python | appname/helpers/__init__.py | Dnida/Ignite | 38ac6042c9b16cdccf5ef066a1ee80b741b51a37 | [
"BSD-2-Clause"
] | 53 | 2017-12-12T06:58:25.000Z | 2022-03-24T17:58:37.000Z | appname/helpers/__init__.py | Dnida/Ignite | 38ac6042c9b16cdccf5ef066a1ee80b741b51a37 | [
"BSD-2-Clause"
] | 144 | 2018-01-22T15:15:41.000Z | 2022-03-28T09:02:00.000Z | appname/helpers/__init__.py | Dnida/Ignite | 38ac6042c9b16cdccf5ef066a1ee80b741b51a37 | [
"BSD-2-Clause"
] | 19 | 2017-12-12T07:04:14.000Z | 2022-03-23T00:20:00.000Z | # Helpers encompass logic that doesn't belong in controllers or
# in views. They are application specific and usually cannot be
# directly reused.
| 36.75 | 63 | 0.795918 | 22 | 147 | 5.318182 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163265 | 147 | 3 | 64 | 49 | 0.95122 | 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 |
9e046344e0caa1e67a6cd772c091e67003aeeb69 | 70 | py | Python | querybuilder/tests/__init__.py | wesokes/django-query-builder | 3cc53d33ee0a4ada515635e4be631167a774b457 | [
"MIT"
] | 110 | 2015-01-28T17:38:38.000Z | 2022-02-17T02:51:55.000Z | querybuilder/tests/__init__.py | wesokes/django-query-builder | 3cc53d33ee0a4ada515635e4be631167a774b457 | [
"MIT"
] | 31 | 2015-02-17T19:57:29.000Z | 2021-08-30T03:44:55.000Z | querybuilder/tests/__init__.py | wesokes/django-query-builder | 3cc53d33ee0a4ada515635e4be631167a774b457 | [
"MIT"
] | 33 | 2015-02-05T22:08:46.000Z | 2021-12-06T08:12:49.000Z | default_app_config = 'querybuilder.tests.apps.QuerybuilderTestConfig'
| 35 | 69 | 0.871429 | 7 | 70 | 8.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042857 | 70 | 1 | 70 | 70 | 0.880597 | 0 | 0 | 0 | 0 | 0 | 0.657143 | 0.657143 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
9e127b0efa73d27ff9f789a67bab2e76c34c1778 | 1,682 | py | Python | main.py | JayShenoy/gae-boilerplate | b564abfba98578f8c3b74d8700abfb4ef99e74e1 | [
"MIT"
] | null | null | null | main.py | JayShenoy/gae-boilerplate | b564abfba98578f8c3b74d8700abfb4ef99e74e1 | [
"MIT"
] | null | null | null | main.py | JayShenoy/gae-boilerplate | b564abfba98578f8c3b74d8700abfb4ef99e74e1 | [
"MIT"
] | null | null | null | from flask import Flask, render_template, request, url_for, redirect, make_response
from flask.ext.login import LoginManager, current_user, login_user, logout_user, login_required
import jinja2
import hashlib
import random
import string
import os
from google.appengine.ext import ndb
app = Flask(__name__)
app.secret_... | 22.426667 | 107 | 0.74673 | 235 | 1,682 | 5.191489 | 0.374468 | 0.032787 | 0.022951 | 0.027869 | 0.065574 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008125 | 0.121879 | 1,682 | 75 | 108 | 22.426667 | 0.817874 | 0.035672 | 0 | 0.111111 | 0 | 0 | 0.036442 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.203704 | false | 0.185185 | 0.148148 | 0.111111 | 0.592593 | 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 |
f537f54db02e28e1a0da1634f0ac69802c14828d | 32 | py | Python | component/wiser_home/__init__.py | arcanefoam/wiser-home-card | 6b247b43e28f9601e1daa94cc9f7fcdf158abd54 | [
"MIT"
] | 2 | 2020-10-24T06:17:52.000Z | 2020-10-24T06:19:17.000Z | component/wiser_home/__init__.py | arcanefoam/wiser-home-card | 6b247b43e28f9601e1daa94cc9f7fcdf158abd54 | [
"MIT"
] | 3 | 2020-11-12T18:31:56.000Z | 2020-12-03T17:27:32.000Z | component/wiser_home/__init__.py | arcanefoam/wiser-home-card | 6b247b43e28f9601e1daa94cc9f7fcdf158abd54 | [
"MIT"
] | null | null | null | """The Wiser Home Component."""
| 16 | 31 | 0.65625 | 4 | 32 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.75 | 0.78125 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f53fd1a11fb888ca02f206a367342cbe42a2db16 | 65,991 | py | Python | operators/konveyor-operator/python/pulumi_pulumi_kubernetes_crds_operators_konveyor_operator/migration/v1alpha1/_inputs.py | pulumi/pulumi-kubernetes-crds | 372c4c0182f6b899af82d6edaad521aa14f22150 | [
"Apache-2.0"
] | null | null | null | operators/konveyor-operator/python/pulumi_pulumi_kubernetes_crds_operators_konveyor_operator/migration/v1alpha1/_inputs.py | pulumi/pulumi-kubernetes-crds | 372c4c0182f6b899af82d6edaad521aa14f22150 | [
"Apache-2.0"
] | 2 | 2020-09-18T17:12:23.000Z | 2020-12-30T19:40:56.000Z | operators/konveyor-operator/python/pulumi_pulumi_kubernetes_crds_operators_konveyor_operator/migration/v1alpha1/_inputs.py | pulumi/pulumi-kubernetes-crds | 372c4c0182f6b899af82d6edaad521aa14f22150 | [
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by crd2pulumi. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union
from ... import _utilities, _tables
__all__ = [
'... | 37.795533 | 168 | 0.673455 | 7,548 | 65,991 | 5.626126 | 0.034049 | 0.125371 | 0.082654 | 0.060401 | 0.812862 | 0.723143 | 0.675764 | 0.577568 | 0.519522 | 0.437668 | 0 | 0.002669 | 0.205089 | 65,991 | 1,745 | 169 | 37.817192 | 0.80687 | 0.002228 | 0 | 0.490446 | 1 | 0 | 0.138355 | 0.064294 | 0 | 0 | 0 | 0 | 0 | 1 | 0.210899 | false | 0 | 0.003539 | 0.095541 | 0.329795 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f570554921f72939912d5d20ea85fa720fd9475d | 85 | py | Python | LinkedList/Other/Merge_Two_Sorted_Lists.py | prash-kr-meena/GoogleR | 27aca71e51cc2442e604e07ab00406a98d8d63a4 | [
"Apache-2.0"
] | null | null | null | LinkedList/Other/Merge_Two_Sorted_Lists.py | prash-kr-meena/GoogleR | 27aca71e51cc2442e604e07ab00406a98d8d63a4 | [
"Apache-2.0"
] | null | null | null | LinkedList/Other/Merge_Two_Sorted_Lists.py | prash-kr-meena/GoogleR | 27aca71e51cc2442e604e07ab00406a98d8d63a4 | [
"Apache-2.0"
] | null | null | null | """
Leetcode : https://leetcode.com/problems/merge-two-sorted-lists/description/
"""
| 21.25 | 76 | 0.729412 | 10 | 85 | 6.2 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 85 | 3 | 77 | 28.333333 | 0.775 | 0.894118 | 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 |
f57a88acf29a44c147e9418720c23e8b3f621a57 | 284 | py | Python | solutions/2nd-conditionals/l2_a3.py | Jhynn/programming-concepts-and-logic | 0ffa71c6259296813d3951f21e8d0d69dd523545 | [
"CC-BY-4.0"
] | 4 | 2021-08-03T01:13:34.000Z | 2021-09-29T21:47:41.000Z | solutions/2nd-conditionals/l2_a3.py | Jhynn/programming-concepts-and-logic | 0ffa71c6259296813d3951f21e8d0d69dd523545 | [
"CC-BY-4.0"
] | null | null | null | solutions/2nd-conditionals/l2_a3.py | Jhynn/programming-concepts-and-logic | 0ffa71c6259296813d3951f21e8d0d69dd523545 | [
"CC-BY-4.0"
] | null | null | null | score_1 = float(input('Type your 1st score: '))
score_2 = float(input('Type your 2nd score: '))
average = (score_1 + score_2) / 2
print(f'Your average is {average}, therefore you...')
print('Pass. Congrats.') if average > 6 \
else print('Fail. Study again, you\'ll get it. :)')
| 31.555556 | 55 | 0.65493 | 45 | 284 | 4.044444 | 0.577778 | 0.065934 | 0.153846 | 0.197802 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033898 | 0.169014 | 284 | 8 | 56 | 35.5 | 0.737288 | 0 | 0 | 0 | 0 | 0 | 0.433099 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.166667 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 4 |
1924ac7b351766137011eb3973fedaaf42412525 | 181 | py | Python | lists_mutation/remove_keyword.py | magicalcarpet/the_complete_python_course | 0ac0c5015a93607d7d29258ac0a3fc38dda81bd2 | [
"MIT"
] | null | null | null | lists_mutation/remove_keyword.py | magicalcarpet/the_complete_python_course | 0ac0c5015a93607d7d29258ac0a3fc38dda81bd2 | [
"MIT"
] | null | null | null | lists_mutation/remove_keyword.py | magicalcarpet/the_complete_python_course | 0ac0c5015a93607d7d29258ac0a3fc38dda81bd2 | [
"MIT"
] | null | null | null | nintendo_games = ['Zelda', 'Mario', 'Donkey Kong', 'Zelda']
nintendo_games.remove('Zelda')
print(nintendo_games)
if 'Wario' in nintendo_games:
nintendo_games.remove('Wario')
| 20.111111 | 59 | 0.723757 | 23 | 181 | 5.478261 | 0.478261 | 0.515873 | 0.301587 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116022 | 181 | 8 | 60 | 22.625 | 0.7875 | 0 | 0 | 0 | 0 | 0 | 0.227778 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.2 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
193ecbc32c6c8a548c7d9f210b3300cf07c59099 | 32 | py | Python | AtC_Beg_Con_081-090/ABC084/A.py | yosho-18/AtCoder | 50f6d5c92a01792552c31ac912ce1cd557b06fb0 | [
"MIT"
] | null | null | null | AtC_Beg_Con_081-090/ABC084/A.py | yosho-18/AtCoder | 50f6d5c92a01792552c31ac912ce1cd557b06fb0 | [
"MIT"
] | null | null | null | AtC_Beg_Con_081-090/ABC084/A.py | yosho-18/AtCoder | 50f6d5c92a01792552c31ac912ce1cd557b06fb0 | [
"MIT"
] | null | null | null | m = int(input())
print(24+24-m) | 10.666667 | 16 | 0.59375 | 7 | 32 | 2.714286 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0.125 | 32 | 3 | 17 | 10.666667 | 0.535714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
1944f0e53db6bace07d3108dd6acedd195292e26 | 162 | py | Python | algoexpert/medium/FirstDuplicateValue.py | dawar-s/algo-ds-sol-python | c455bb43dd68e177e5c744383c2d17888f4efe1b | [
"MIT"
] | null | null | null | algoexpert/medium/FirstDuplicateValue.py | dawar-s/algo-ds-sol-python | c455bb43dd68e177e5c744383c2d17888f4efe1b | [
"MIT"
] | null | null | null | algoexpert/medium/FirstDuplicateValue.py | dawar-s/algo-ds-sol-python | c455bb43dd68e177e5c744383c2d17888f4efe1b | [
"MIT"
] | null | null | null | def firstDuplicateValue(array):
for n in array:
n = abs(n)
if array[n - 1] < 0:
return n
array[n - 1] *= -1
return -1
| 20.25 | 31 | 0.462963 | 23 | 162 | 3.26087 | 0.478261 | 0.24 | 0.186667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053191 | 0.419753 | 162 | 7 | 32 | 23.142857 | 0.744681 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0 | 0 | 0.428571 | 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 |
195ead58a22b430f428401921d421afdd640f11f | 34,642 | py | Python | src/optimizers.py | tattaka/ukiyoe | 4a1024ddf30737e68923dcdd6a50580d912e076d | [
"MIT"
] | 10 | 2020-01-14T07:59:13.000Z | 2021-08-31T02:46:45.000Z | src/optimizers.py | tattaka/ukiyoe | 4a1024ddf30737e68923dcdd6a50580d912e076d | [
"MIT"
] | null | null | null | src/optimizers.py | tattaka/ukiyoe | 4a1024ddf30737e68923dcdd6a50580d912e076d | [
"MIT"
] | null | null | null | import torch
import warnings
from torch.optim.optimizer import Optimizer, required
import math
import itertools as it
import torch.optim as optim
warnings.filterwarnings("once")
def get_optimizer(optimizer: str = 'Adam',
lookahead: bool = False,
model=None,
separa... | 39.910138 | 190 | 0.51579 | 4,250 | 34,642 | 3.988706 | 0.079294 | 0.041765 | 0.039818 | 0.023006 | 0.746107 | 0.72369 | 0.705816 | 0.680923 | 0.654082 | 0.620871 | 0 | 0.03517 | 0.365539 | 34,642 | 867 | 191 | 39.956171 | 0.736112 | 0.188788 | 0 | 0.718391 | 0 | 0 | 0.089876 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.045977 | false | 0 | 0.011494 | 0 | 0.090038 | 0.001916 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
19622a03f2f263de00fc373c499eec378a25ddc4 | 33 | py | Python | authentication/redis_config.py | kate-melnykova/authentication | 676e4b0adc6ae2fa654d8304db22e299b2935803 | [
"MIT"
] | 1 | 2020-03-29T00:26:34.000Z | 2020-03-29T00:26:34.000Z | authentication/redis_config.py | kate-melnykova/authentication | 676e4b0adc6ae2fa654d8304db22e299b2935803 | [
"MIT"
] | 1 | 2021-01-25T05:04:05.000Z | 2021-01-25T05:04:05.000Z | authentication/redis_config.py | kate-melnykova/authentication | 676e4b0adc6ae2fa654d8304db22e299b2935803 | [
"MIT"
] | null | null | null | REDIS_URL='redis://redis:6379/0'
| 16.5 | 32 | 0.727273 | 6 | 33 | 3.833333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 0.030303 | 33 | 1 | 33 | 33 | 0.5625 | 0 | 0 | 0 | 0 | 0 | 0.606061 | 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 |
19878dc96d759ec047ce71c18cf2161829beaac9 | 164 | py | Python | Dataset/Leetcode/train/78/236.py | kkcookies99/UAST | fff81885aa07901786141a71e5600a08d7cb4868 | [
"MIT"
] | null | null | null | Dataset/Leetcode/train/78/236.py | kkcookies99/UAST | fff81885aa07901786141a71e5600a08d7cb4868 | [
"MIT"
] | null | null | null | Dataset/Leetcode/train/78/236.py | kkcookies99/UAST | fff81885aa07901786141a71e5600a08d7cb4868 | [
"MIT"
] | null | null | null | class Solution:
def XXX(self, nums: List[int]) -> List[List[int]]:
return [[nums[j] for j in range(len(nums)) if i&2**j] for i in range(2**len(nums))]
| 32.8 | 91 | 0.597561 | 31 | 164 | 3.16129 | 0.548387 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015267 | 0.20122 | 164 | 4 | 92 | 41 | 0.732824 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
1995dd69d7df0e8462bc5dc0fcb82defbec5f3a1 | 282 | py | Python | h1st/core/ml_model.py | dcthang/h1st | 8c26cece9caab1ecc0f194bbbcba3872122dc7b5 | [
"Apache-2.0"
] | null | null | null | h1st/core/ml_model.py | dcthang/h1st | 8c26cece9caab1ecc0f194bbbcba3872122dc7b5 | [
"Apache-2.0"
] | null | null | null | h1st/core/ml_model.py | dcthang/h1st | 8c26cece9caab1ecc0f194bbbcba3872122dc7b5 | [
"Apache-2.0"
] | null | null | null | from typing import Any
from h1st.core.model import Model
class MLModel(Model):
@property
def base_model(self) -> Any:
return getattr(self, "__base_model", None)
@base_model.setter
def base_model(self, value):
setattr(self, "__base_model", value)
| 20.142857 | 50 | 0.677305 | 38 | 282 | 4.789474 | 0.5 | 0.247253 | 0.131868 | 0.175824 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004545 | 0.219858 | 282 | 13 | 51 | 21.692308 | 0.822727 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.222222 | 0.111111 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
27803fce278d1e5d9154d6a60a50ad49b2308c90 | 56 | py | Python | tests/rps_tests.py | sColin16/gearbox_py | e9c8fb8a07c9342f15e0d0df0a746b6fb3de8dfc | [
"MIT"
] | null | null | null | tests/rps_tests.py | sColin16/gearbox_py | e9c8fb8a07c9342f15e0d0df0a746b6fb3de8dfc | [
"MIT"
] | null | null | null | tests/rps_tests.py | sColin16/gearbox_py | e9c8fb8a07c9342f15e0d0df0a746b6fb3de8dfc | [
"MIT"
] | null | null | null | """Tests for the gearbox rock-paper-scissors module."""
| 28 | 55 | 0.732143 | 8 | 56 | 5.125 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 56 | 1 | 56 | 56 | 0.82 | 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 |
2786d858099aaf9188c804348c69087d2b935727 | 31 | py | Python | tools/Sikuli/OpenDialogClickFolderSelect.sikuli/OpenDialogClickFolderSelect.py | marmyshev/vanessa-automation | 9f87bd6df58b4c205104d3ae8e3643752d67eef7 | [
"BSD-3-Clause"
] | 296 | 2018-05-27T08:03:14.000Z | 2022-03-19T08:36:11.000Z | tools/Sikuli/OpenDialogClickFolderSelect.sikuli/OpenDialogClickFolderSelect.py | marmyshev/vanessa-automation | 9f87bd6df58b4c205104d3ae8e3643752d67eef7 | [
"BSD-3-Clause"
] | 1,562 | 2018-05-27T18:36:25.000Z | 2022-03-31T07:35:11.000Z | tools/Sikuli/OpenDialogClickFolderSelect.sikuli/OpenDialogClickFolderSelect.py | marmyshev/vanessa-automation | 9f87bd6df58b4c205104d3ae8e3643752d67eef7 | [
"BSD-3-Clause"
] | 299 | 2018-06-18T20:00:56.000Z | 2022-03-29T12:29:55.000Z | click("Bb60pnanxm.png")
exit(0) | 15.5 | 23 | 0.741935 | 5 | 31 | 4.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 0.032258 | 31 | 2 | 24 | 15.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0.4375 | 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 |
279021584581409e86221761577764024fe2571c | 692 | py | Python | project/migrations/0006_auto_20210910_1323.py | RawAnimal/esm | 9a83a2580940f2efd642882cad46745a8d88c9ca | [
"MIT"
] | null | null | null | project/migrations/0006_auto_20210910_1323.py | RawAnimal/esm | 9a83a2580940f2efd642882cad46745a8d88c9ca | [
"MIT"
] | null | null | null | project/migrations/0006_auto_20210910_1323.py | RawAnimal/esm | 9a83a2580940f2efd642882cad46745a8d88c9ca | [
"MIT"
] | null | null | null | # Generated by Django 3.2.7 on 2021-09-10 17:23
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('project', '0005_auto_20210910_1320'),
]
operations = [
migrations.RemoveField(
model_name='project',
name='principle_address... | 23.066667 | 47 | 0.563584 | 62 | 692 | 6.080645 | 0.532258 | 0.222812 | 0.275862 | 0.318302 | 0.530504 | 0.530504 | 0.530504 | 0 | 0 | 0 | 0 | 0.071274 | 0.330925 | 692 | 29 | 48 | 23.862069 | 0.742981 | 0.065029 | 0 | 0.521739 | 1 | 0 | 0.206202 | 0.035659 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.043478 | 0 | 0.173913 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
27a122ad7d9c084346f6a674cf64a051f4942abf | 436 | py | Python | SCA11H/commands/system/GetMAC.py | ihutano/SCA11H | ee8a38ec9e47bc015851c20fa121651d2601cde0 | [
"MIT"
] | null | null | null | SCA11H/commands/system/GetMAC.py | ihutano/SCA11H | ee8a38ec9e47bc015851c20fa121651d2601cde0 | [
"MIT"
] | null | null | null | SCA11H/commands/system/GetMAC.py | ihutano/SCA11H | ee8a38ec9e47bc015851c20fa121651d2601cde0 | [
"MIT"
] | null | null | null | from SCA11H.commands.base.GetCommand import GetCommand
class GetMAC(GetCommand):
""" Query Device MAC Address """
def __init__(self, **kwargs):
super().__init__(endpoint='/sys/mac', **kwargs)
def run(self, **kwargs) -> str:
return super().run()['mac']
@staticmethod
def get_parse... | 21.8 | 55 | 0.623853 | 50 | 436 | 5.22 | 0.54 | 0.084291 | 0.10728 | 0.16092 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006006 | 0.236239 | 436 | 19 | 56 | 22.947368 | 0.777778 | 0.055046 | 0 | 0.166667 | 0 | 0 | 0.10396 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.083333 | 0.25 | 0.75 | 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 |
27d6afe34315585dfb05e167b90e088c8966c9f8 | 193 | py | Python | Adapter/BritishSocket.py | aurora314156/Design-Pattern_python | f00982dd32b2b7ac3698b8a673c23d2f534aeefb | [
"MIT"
] | null | null | null | Adapter/BritishSocket.py | aurora314156/Design-Pattern_python | f00982dd32b2b7ac3698b8a673c23d2f534aeefb | [
"MIT"
] | null | null | null | Adapter/BritishSocket.py | aurora314156/Design-Pattern_python | f00982dd32b2b7ac3698b8a673c23d2f534aeefb | [
"MIT"
] | null | null | null | from SocketEntity import SocketEntity
class BritishSocket:
""" 英國標準 """
def name(self):
return "英國標準插座"
def socketInterface(self):
return SocketEntity(3, "T字方型")
| 17.545455 | 38 | 0.642487 | 19 | 193 | 6.526316 | 0.736842 | 0.16129 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006944 | 0.253886 | 193 | 10 | 39 | 19.3 | 0.854167 | 0.020725 | 0 | 0 | 0 | 0 | 0.055249 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
27fcda94503781fb5eaff6f85cd529430c1e66ea | 386 | py | Python | fba/loss/criterion/__init__.py | hukkelas/full_body_anonymization | c61745b137c84ffb742ef6ab2f4721db4acf22b7 | [
"MIT"
] | 27 | 2022-01-06T20:15:24.000Z | 2022-03-29T11:54:49.000Z | fba/loss/criterion/__init__.py | hukkelas/full_body_anonymization | c61745b137c84ffb742ef6ab2f4721db4acf22b7 | [
"MIT"
] | 2 | 2022-03-17T06:04:23.000Z | 2022-03-25T08:50:57.000Z | fba/loss/criterion/__init__.py | hukkelas/full_body_anonymization | c61745b137c84ffb742ef6ab2f4721db4acf22b7 | [
"MIT"
] | 2 | 2022-01-07T13:16:59.000Z | 2022-01-16T02:10:50.000Z | from .build import build_criterion
from .adversarial import wgan_d_loss, wgan_g_loss, nsgan_d_loss, nsgan_g_loss
from .generator_criterions import discriminator_feature_matching_loss, masked_l1_loss, gaussian_kl_loss
from .regularizer import improved_gradient_penalty, epsilon_penalty
from .unet import oasis_d_loss, oa... | 64.333333 | 103 | 0.880829 | 63 | 386 | 4.904762 | 0.460317 | 0.064725 | 0.058252 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002825 | 0.082902 | 386 | 6 | 104 | 64.333333 | 0.870057 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
27fec4174c2a36678c242e0bd19106068e5fb494 | 3,301 | py | Python | account/serializers.py | BattleJudge/ojBE | a56839a625f8947212021018d30d357713757555 | [
"MIT"
] | 2 | 2021-05-30T14:43:08.000Z | 2021-05-30T15:18:48.000Z | account/serializers.py | BattleJudge/ojBE | a56839a625f8947212021018d30d357713757555 | [
"MIT"
] | null | null | null | account/serializers.py | BattleJudge/ojBE | a56839a625f8947212021018d30d357713757555 | [
"MIT"
] | null | null | null | from django import forms
from rest_framework import serializers
class UserRegisterSerializer(serializers.Serializer):
username = serializers.CharField(required=True, min_length=6, max_length=150)
password = serializers.CharField(required=True, min_length=6, max_length=150)
nickname = serializers.CharField... | 41.2625 | 85 | 0.797334 | 363 | 3,301 | 7.121212 | 0.137741 | 0.216634 | 0.270793 | 0.27234 | 0.680077 | 0.63559 | 0.5853 | 0.566731 | 0.566731 | 0.566731 | 0 | 0.023729 | 0.106331 | 3,301 | 80 | 86 | 41.2625 | 0.852542 | 0 | 0 | 0.461538 | 0 | 0 | 0.013325 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.192308 | 0.038462 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
7e0e73286a5efc7f690febe24b9a29f748beee85 | 26 | py | Python | neo/__init__.py | ddi-lab/generion-middleware | bdcb6a01c56e987f6eb1a3b5a35257ba6f777cdd | [
"MIT"
] | 15 | 2018-02-27T13:07:00.000Z | 2021-01-29T10:27:41.000Z | neo/__init__.py | ddi-lab/generion-middleware | bdcb6a01c56e987f6eb1a3b5a35257ba6f777cdd | [
"MIT"
] | null | null | null | neo/__init__.py | ddi-lab/generion-middleware | bdcb6a01c56e987f6eb1a3b5a35257ba6f777cdd | [
"MIT"
] | 6 | 2018-07-13T05:00:44.000Z | 2020-10-28T19:41:54.000Z | __version__ = '0.5.2-dev'
| 13 | 25 | 0.653846 | 5 | 26 | 2.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 0.115385 | 26 | 1 | 26 | 26 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0.346154 | 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 |
7e0faa57971568e71afaea96173bf5a2b9ece327 | 1,569 | py | Python | marketgrab/models.py | colinmcglone/window-time | 74ed90440b9bb93fa569534c7557972242569d3a | [
"MIT"
] | null | null | null | marketgrab/models.py | colinmcglone/window-time | 74ed90440b9bb93fa569534c7557972242569d3a | [
"MIT"
] | null | null | null | marketgrab/models.py | colinmcglone/window-time | 74ed90440b9bb93fa569534c7557972242569d3a | [
"MIT"
] | null | null | null | from __future__ import unicode_literals
from django.db import models
# Create your models here.
class Data(models.Model):
ticker = models.CharField(max_length=10)
volume = models.DecimalField(max_digits=15, decimal_places=0)
open_price = models.DecimalField(max_digits=10, decimal_places=2)
high_price... | 37.357143 | 71 | 0.743786 | 209 | 1,569 | 5.334928 | 0.263158 | 0.129148 | 0.150673 | 0.193722 | 0.761435 | 0.761435 | 0.704036 | 0.620628 | 0.582063 | 0.325561 | 0 | 0.027108 | 0.153601 | 1,569 | 41 | 72 | 38.268293 | 0.8125 | 0.015296 | 0 | 0.529412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.088235 | false | 0 | 0.058824 | 0.088235 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
fd85e2ac8f283fcfb355d84cb3ff3eaacba7cb6d | 70 | py | Python | src/test/data/pa3/AdditionalTestCase/UnitTest/strcat_two_NonEmptyString.py | Leo-Enrique-Wu/chocopy_compiler_code_generation | 4606be0531b3de77411572aae98f73169f46b3b9 | [
"BSD-2-Clause"
] | null | null | null | src/test/data/pa3/AdditionalTestCase/UnitTest/strcat_two_NonEmptyString.py | Leo-Enrique-Wu/chocopy_compiler_code_generation | 4606be0531b3de77411572aae98f73169f46b3b9 | [
"BSD-2-Clause"
] | null | null | null | src/test/data/pa3/AdditionalTestCase/UnitTest/strcat_two_NonEmptyString.py | Leo-Enrique-Wu/chocopy_compiler_code_generation | 4606be0531b3de77411572aae98f73169f46b3b9 | [
"BSD-2-Clause"
] | null | null | null | print("1234" + "5678")
print("Hello" + "World")
print("Elon" + "Musk") | 23.333333 | 24 | 0.585714 | 9 | 70 | 4.555556 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 0.114286 | 70 | 3 | 25 | 23.333333 | 0.532258 | 0 | 0 | 0 | 0 | 0 | 0.366197 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
fd9aeda1acb922b8ce537da9a7044953d7955e66 | 322 | py | Python | coffeebar/logger.py | viktor-yakubiv/django-coffee | 0a7d62a53db6af48fdc852fbb4dae43a0fc2b2ef | [
"MIT"
] | null | null | null | coffeebar/logger.py | viktor-yakubiv/django-coffee | 0a7d62a53db6af48fdc852fbb4dae43a0fc2b2ef | [
"MIT"
] | null | null | null | coffeebar/logger.py | viktor-yakubiv/django-coffee | 0a7d62a53db6af48fdc852fbb4dae43a0fc2b2ef | [
"MIT"
] | null | null | null | import logging
class SafeLogger(object):
instance = None
def __new__(cls, *args, **kwargs):
if not SafeLogger.instance is None:
SafeLogger.instance = logging.getLogger(__name__)
return SafeLogger.instance
def __getattr__(self, item):
return getattr(self.instance, item... | 23 | 61 | 0.667702 | 35 | 322 | 5.8 | 0.6 | 0.26601 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.245342 | 322 | 13 | 62 | 24.769231 | 0.835391 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0.111111 | 0.777778 | 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 |
fdade67af9e98e4a1600b9b6d735b5b2eb3e89f3 | 22,574 | py | Python | RecommenderSystem/Gui.py | RowanOmar/Recommender-System | 60c8299610f4bc5ccc7254b1e05ed6228947118c | [
"MIT"
] | null | null | null | RecommenderSystem/Gui.py | RowanOmar/Recommender-System | 60c8299610f4bc5ccc7254b1e05ed6228947118c | [
"MIT"
] | null | null | null | RecommenderSystem/Gui.py | RowanOmar/Recommender-System | 60c8299610f4bc5ccc7254b1e05ed6228947118c | [
"MIT"
] | null | null | null | import tkinter as tk # python 3
from tkinter import font as tkfont # python 3
#import Tkinter as tk # python 2
#import tkFont as tkfont # python 2
from PIL import Image,ImageTk
from Person import Person
from Admin import Admin
from Book import Book
from FileManager import ReadBooks,CheckLogin,writ... | 34.099698 | 109 | 0.546558 | 2,662 | 22,574 | 4.581893 | 0.112322 | 0.053784 | 0.02886 | 0.039354 | 0.767566 | 0.718455 | 0.680085 | 0.650734 | 0.632615 | 0.61015 | 0 | 0.049071 | 0.318419 | 22,574 | 662 | 110 | 34.099698 | 0.743663 | 0.057323 | 0 | 0.615711 | 0 | 0 | 0.055493 | 0 | 0.012739 | 0 | 0 | 0 | 0 | 0 | null | null | 0.053079 | 0.016985 | null | null | 0.006369 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
fdb30ea1412203433ff050fb902cb6d68bee89dd | 52 | py | Python | Chapter 01/ch1_25.py | bpbpublications/TEST-YOUR-SKILLS-IN-PYTHON-LANGUAGE | f6a4194684515495d00aa38347a725dd08f39a0c | [
"MIT"
] | null | null | null | Chapter 01/ch1_25.py | bpbpublications/TEST-YOUR-SKILLS-IN-PYTHON-LANGUAGE | f6a4194684515495d00aa38347a725dd08f39a0c | [
"MIT"
] | null | null | null | Chapter 01/ch1_25.py | bpbpublications/TEST-YOUR-SKILLS-IN-PYTHON-LANGUAGE | f6a4194684515495d00aa38347a725dd08f39a0c | [
"MIT"
] | null | null | null | print("The {0} of 10 is {1:o}".format("octal", 10)) | 52 | 52 | 0.576923 | 11 | 52 | 2.727273 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 0.134615 | 52 | 1 | 52 | 52 | 0.533333 | 0 | 0 | 0 | 0 | 0 | 0.509434 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
fdb64d654363d5b804f5a68aa1c9418851fd81c7 | 153 | py | Python | extra_apps/__init__.py | lumeijin/FITA | 84b34f58bc1d3351c2caa3f02619fa09212f14a0 | [
"Apache-2.0"
] | null | null | null | extra_apps/__init__.py | lumeijin/FITA | 84b34f58bc1d3351c2caa3f02619fa09212f14a0 | [
"Apache-2.0"
] | null | null | null | extra_apps/__init__.py | lumeijin/FITA | 84b34f58bc1d3351c2caa3f02619fa09212f14a0 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# @Time : 2018/6/30 1:03
# @Author : TrumanGu
# @Email : 1227085585@qq.com
# @File : __init__.py.py
# @Software: PyCharm | 25.5 | 30 | 0.581699 | 21 | 153 | 4.047619 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175 | 0.215686 | 153 | 6 | 31 | 25.5 | 0.533333 | 0.921569 | 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 |
fdb6e477081ca9736e79449bc49561e2257f606a | 254 | py | Python | marathon/__init__.py | missingcharacter/marathon-python | e1a42642c42716ef074e5b2523408bc1aa6025e2 | [
"MIT"
] | 202 | 2015-01-07T06:55:14.000Z | 2021-11-30T12:05:50.000Z | marathon/__init__.py | missingcharacter/marathon-python | e1a42642c42716ef074e5b2523408bc1aa6025e2 | [
"MIT"
] | 213 | 2015-03-04T12:54:09.000Z | 2022-02-28T11:36:28.000Z | marathon/__init__.py | missingcharacter/marathon-python | e1a42642c42716ef074e5b2523408bc1aa6025e2 | [
"MIT"
] | 169 | 2015-02-06T16:48:05.000Z | 2022-01-18T16:20:56.000Z | from .client import MarathonClient
from .models import MarathonResource, MarathonApp, MarathonTask, MarathonConstraint
from .exceptions import MarathonError, MarathonHttpError, NotFoundError, InvalidChoiceError
from .util import get_log
log = get_log()
| 36.285714 | 91 | 0.846457 | 26 | 254 | 8.192308 | 0.653846 | 0.056338 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102362 | 254 | 6 | 92 | 42.333333 | 0.934211 | 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 |
fdedc66896033eae36c1cc04fdba7e0b4a4484f6 | 1,568 | py | Python | photo/migrations/0001_initial.py | elif-furkan-celik/A_Django_Project | 1bdbc3d0d773b2f8e3a502fa9993683eea106900 | [
"MIT"
] | null | null | null | photo/migrations/0001_initial.py | elif-furkan-celik/A_Django_Project | 1bdbc3d0d773b2f8e3a502fa9993683eea106900 | [
"MIT"
] | null | null | null | photo/migrations/0001_initial.py | elif-furkan-celik/A_Django_Project | 1bdbc3d0d773b2f8e3a502fa9993683eea106900 | [
"MIT"
] | null | null | null | # Generated by Django 3.0.3 on 2020-03-25 12:53
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Photos',
fields=[
('id', models.AutoField(a... | 40.205128 | 114 | 0.559311 | 142 | 1,568 | 6.133803 | 0.464789 | 0.330654 | 0.459242 | 0.477612 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056655 | 0.290816 | 1,568 | 38 | 115 | 41.263158 | 0.726619 | 0.028699 | 0 | 0 | 1 | 0 | 0.101907 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.032258 | 0 | 0.16129 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
fdfb5c4a1d32e074d31e801d5692cbc00ee44b1a | 125 | py | Python | com/LimePencil/Q5554/Main.py | LimePencil/baekjoonProblems | 61eeeeb875585d165d9e39ecdb3d905b4ba6aa87 | [
"MIT"
] | 2 | 2021-07-17T13:05:42.000Z | 2021-09-12T09:14:24.000Z | com/LimePencil/Q5554/Main.py | LimePencil/baekjoonProblems | 61eeeeb875585d165d9e39ecdb3d905b4ba6aa87 | [
"MIT"
] | null | null | null | com/LimePencil/Q5554/Main.py | LimePencil/baekjoonProblems | 61eeeeb875585d165d9e39ecdb3d905b4ba6aa87 | [
"MIT"
] | null | null | null | import sys
total = 0
for _ in range(4):
total += int(sys.stdin.readline().rstrip("\n"))
print(total//60)
print(total%60) | 17.857143 | 51 | 0.656 | 21 | 125 | 3.857143 | 0.714286 | 0.246914 | 0.296296 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056075 | 0.144 | 125 | 7 | 52 | 17.857143 | 0.700935 | 0 | 0 | 0 | 0 | 0 | 0.015873 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 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 |
fdff88bc5a0d1fec0dbff4c85136b6477df64dd1 | 537 | py | Python | example/scripts/003_utils.py | kaalam/kpipe | 3f0c6155b20fdd17c4a12326caaa076778730dd4 | [
"MIT"
] | null | null | null | example/scripts/003_utils.py | kaalam/kpipe | 3f0c6155b20fdd17c4a12326caaa076778730dd4 | [
"MIT"
] | null | null | null | example/scripts/003_utils.py | kaalam/kpipe | 3f0c6155b20fdd17c4a12326caaa076778730dd4 | [
"MIT"
] | null | null | null | class Utils():
""" This is just methods stored as methods of a class.
It still needs (allthough void) .inputs(), .output() and .build() and defines whatever else is handy.
(It is nice, as in this case, to separate constants from methods.)
"""
def __init__(self):
self.species = {'canines' : ['Doggy', 'Hyena'],... | 25.571429 | 111 | 0.668529 | 75 | 537 | 4.72 | 0.64 | 0.062147 | 0.079096 | 0.096045 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.182495 | 537 | 20 | 112 | 26.85 | 0.806378 | 0.407821 | 0 | 0.181818 | 0 | 0 | 0.17377 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.454545 | false | 0.090909 | 0 | 0.272727 | 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 |
a906ffd474d68b615040c6606f0647a3796e9466 | 127 | py | Python | Python/desafio_07.py | itsmeLuizMoura/Estudo | c2798ba93c36a274d0fe9a83d781b7e585b8dfbe | [
"MIT"
] | null | null | null | Python/desafio_07.py | itsmeLuizMoura/Estudo | c2798ba93c36a274d0fe9a83d781b7e585b8dfbe | [
"MIT"
] | null | null | null | Python/desafio_07.py | itsmeLuizMoura/Estudo | c2798ba93c36a274d0fe9a83d781b7e585b8dfbe | [
"MIT"
] | null | null | null | nota1 = int(input('Nota 1: '))
nota2 = int(input('Nota 2: '))
media = (nota1 + nota2) / 2
print('Média: {:.2f}'.format(media))
| 25.4 | 36 | 0.590551 | 19 | 127 | 3.947368 | 0.631579 | 0.213333 | 0.32 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 0.149606 | 127 | 4 | 37 | 31.75 | 0.62037 | 0 | 0 | 0 | 0 | 0 | 0.228346 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.25 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.