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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
97f350625d0bb26c9189294b9492db578a06e622 | 53 | py | Python | app/ml/objects/imputation/__init__.py | PSE-TECO-2020-TEAM1/e2e-ml_model-management | 7f01a008648e25a29c639a5e16124b2e399eb821 | [
"MIT"
] | 1 | 2021-05-04T08:46:19.000Z | 2021-05-04T08:46:19.000Z | app/ml/objects/imputation/__init__.py | PSE-TECO-2020-TEAM1/e2e-ml_model-management | 7f01a008648e25a29c639a5e16124b2e399eb821 | [
"MIT"
] | null | null | null | app/ml/objects/imputation/__init__.py | PSE-TECO-2020-TEAM1/e2e-ml_model-management | 7f01a008648e25a29c639a5e16124b2e399eb821 | [
"MIT"
] | 1 | 2022-01-28T21:21:32.000Z | 2022-01-28T21:21:32.000Z | from app.ml.objects.imputation.enum import Imputation | 53 | 53 | 0.867925 | 8 | 53 | 5.75 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056604 | 53 | 1 | 53 | 53 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
3f0e0e4ca8eb708437a1d551d11d02992e9739d0 | 212 | py | Python | pydatastructs/__init__.py | yoshiohasegawa/python-data-structures | 22fdf2af19a5976d2a79fa944bcbd7337ec72549 | [
"MIT"
] | null | null | null | pydatastructs/__init__.py | yoshiohasegawa/python-data-structures | 22fdf2af19a5976d2a79fa944bcbd7337ec72549 | [
"MIT"
] | null | null | null | pydatastructs/__init__.py | yoshiohasegawa/python-data-structures | 22fdf2af19a5976d2a79fa944bcbd7337ec72549 | [
"MIT"
] | 1 | 2021-09-17T03:09:00.000Z | 2021-09-17T03:09:00.000Z | from .stack import Stack
from .queue import Queue
from .tree import Tree
from .binarysearchtree import BinarySearchTree
from .linkedlist import LinkedList
from .maxheap import MaxHeap
from .minheap import MinHeap | 30.285714 | 46 | 0.839623 | 28 | 212 | 6.357143 | 0.321429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127358 | 212 | 7 | 47 | 30.285714 | 0.962162 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
3f30fef3817a02784f6b3e6c7ea86b7bad7f7905 | 150 | py | Python | Trakttv.bundle/Contents/Libraries/Shared/plugin/scrobbler/methods/__init__.py | disrupted/Trakttv.bundle | 24712216c71f3b22fd58cb5dd89dad5bb798ed60 | [
"RSA-MD"
] | 1,346 | 2015-01-01T14:52:24.000Z | 2022-03-28T12:50:48.000Z | Trakttv.bundle/Contents/Libraries/Shared/plugin/scrobbler/methods/__init__.py | alcroito/Plex-Trakt-Scrobbler | 4f83fb0860dcb91f860d7c11bc7df568913c82a6 | [
"RSA-MD"
] | 474 | 2015-01-01T10:27:46.000Z | 2022-03-21T12:26:16.000Z | Trakttv.bundle/Contents/Libraries/Shared/plugin/scrobbler/methods/__init__.py | alcroito/Plex-Trakt-Scrobbler | 4f83fb0860dcb91f860d7c11bc7df568913c82a6 | [
"RSA-MD"
] | 191 | 2015-01-02T18:27:22.000Z | 2022-03-29T10:49:48.000Z | from plugin.scrobbler.methods.s_logging import Logging
from plugin.scrobbler.methods.s_websocket import WebSocket
__all__ = ['Logging', 'WebSocket']
| 30 | 58 | 0.82 | 19 | 150 | 6.157895 | 0.473684 | 0.17094 | 0.324786 | 0.444444 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086667 | 150 | 4 | 59 | 37.5 | 0.854015 | 0 | 0 | 0 | 0 | 0 | 0.106667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 5 |
3f3681d0f84d3b3d0aeb65af38002f625efedf5b | 5,940 | py | Python | tests/text/test_text_supervised.py | jeziellago/autokeras | cf93211c82dc61b239b8542d45ff111ff3b94a08 | [
"MIT"
] | 1 | 2019-01-03T10:54:41.000Z | 2019-01-03T10:54:41.000Z | tests/text/test_text_supervised.py | dive2space/autokeras | 9d53685a5966b39674e44df9c6b9ce97c7f24b0a | [
"MIT"
] | 4 | 2018-10-23T13:08:03.000Z | 2018-10-23T13:18:22.000Z | tests/text/test_text_supervised.py | EvgeniyBochenkov/github-move | d5f3b36fc220e89b9af243a10ae199358983e98d | [
"MIT"
] | null | null | null | from unittest.mock import patch
import pytest
from autokeras.text.text_supervised import *
from tests.common import clean_dir, MockProcess, simple_transform
def mock_train(**kwargs):
str(kwargs)
return 1, 0
def mock_text_preprocess(x_train, path="dummy_path"):
return x_train
@patch('torch.multiproce... | 35.357143 | 90 | 0.72037 | 885 | 5,940 | 4.59096 | 0.123164 | 0.039872 | 0.037903 | 0.032488 | 0.805316 | 0.773566 | 0.764214 | 0.724342 | 0.697514 | 0.672902 | 0 | 0.038631 | 0.158923 | 5,940 | 167 | 91 | 35.568862 | 0.77462 | 0.011785 | 0 | 0.65493 | 0 | 0 | 0.148117 | 0.122209 | 0 | 0 | 0 | 0 | 0.098592 | 1 | 0.06338 | false | 0 | 0.028169 | 0.007042 | 0.105634 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
3f54538303ab0d71dfe36f1b765709eebc8197ec | 263 | py | Python | downstream/Up-Down_VC/scripts/hdf5_2_bufile.py | alfred100p/VC-R-CNN | c887f5b6db6932fb5c828c8037e299ce5baadb9e | [
"MIT"
] | 344 | 2020-02-27T07:48:49.000Z | 2022-02-02T10:37:49.000Z | downstream/Up-Down_VC/scripts/hdf5_2_bufile.py | aLefred0/VC-R-CNN | 5b01e44618c406592184275b734d3fbd3f11234c | [
"MIT"
] | 18 | 2020-03-01T05:22:21.000Z | 2021-08-12T15:06:34.000Z | downstream/Up-Down_VC/scripts/hdf5_2_bufile.py | aLefred0/VC-R-CNN | 5b01e44618c406592184275b734d3fbd3f11234c | [
"MIT"
] | 59 | 2020-02-29T12:53:41.000Z | 2022-03-07T02:17:35.000Z | import h5py
import numpy as np
file = h5py.File('/data2/wt/openimages/vc_feature/1coco_train_all_bu_2.hdf5', 'r')
for keys in file:
feature = file[keys]['feature'][:]
np.save('/data2/wt/openimages/vc_feature/coco_vc_all_bu/'+keys+'.npy', feature)
| 32.875 | 84 | 0.703422 | 43 | 263 | 4.093023 | 0.55814 | 0.079545 | 0.193182 | 0.215909 | 0.295455 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030702 | 0.13308 | 263 | 7 | 85 | 37.571429 | 0.741228 | 0 | 0 | 0 | 0 | 0 | 0.453125 | 0.40625 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
188f1f130969fc800f796f0f92d9c965c356079b | 239 | py | Python | my_portal/projects/apps.py | cgajagon/my_portal | cea810512528ea4ef30bbc7e14873fa25ed2f54f | [
"MIT"
] | null | null | null | my_portal/projects/apps.py | cgajagon/my_portal | cea810512528ea4ef30bbc7e14873fa25ed2f54f | [
"MIT"
] | null | null | null | my_portal/projects/apps.py | cgajagon/my_portal | cea810512528ea4ef30bbc7e14873fa25ed2f54f | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class ProjectsConfig(AppConfig):
name = 'my_portal.projects'
def ready(self):
try:
import my_portal.projects.signals # noqa F401
except ImportError:
pass | 21.727273 | 58 | 0.635983 | 26 | 239 | 5.769231 | 0.807692 | 0.106667 | 0.213333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017857 | 0.297071 | 239 | 11 | 59 | 21.727273 | 0.875 | 0.037657 | 0 | 0 | 0 | 0 | 0.078603 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0.125 | 0.375 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
18ee3c4330cd87d34002abb7f003a60e643b5bbc | 160 | py | Python | desafios/desafio021.py | EricBerlim/PYTHON | 68a90fe89185f9ed09b89dd60547e696bf1a8082 | [
"MIT"
] | null | null | null | desafios/desafio021.py | EricBerlim/PYTHON | 68a90fe89185f9ed09b89dd60547e696bf1a8082 | [
"MIT"
] | null | null | null | desafios/desafio021.py | EricBerlim/PYTHON | 68a90fe89185f9ed09b89dd60547e696bf1a8082 | [
"MIT"
] | null | null | null | #REPRODUZIR ARQUIVO DE ÁUDIO
"""import pygame
pygame.init()
pygame.mixer.music.load('ex021.ogg')
pygame.mixer.music.play()
pygame.event.wait()"""
#NÃO DEU CERTO | 22.857143 | 36 | 0.75 | 24 | 160 | 5 | 0.75 | 0.183333 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02027 | 0.075 | 160 | 7 | 37 | 22.857143 | 0.790541 | 0.94375 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e14e62e9cf89812a6eb1b45884ad26819169d01a | 166 | py | Python | mathcrypto/cryptography/__init__.py | czechbol/mathcrypto | 7d415be0d3207ab00b7f0837134462e2a216d3ce | [
"MIT"
] | 2 | 2021-12-29T13:11:34.000Z | 2022-01-09T18:42:40.000Z | mathcrypto/cryptography/__init__.py | czechbol/mathcrypto | 7d415be0d3207ab00b7f0837134462e2a216d3ce | [
"MIT"
] | 5 | 2021-04-30T09:02:43.000Z | 2021-10-01T09:17:03.000Z | mathcrypto/cryptography/__init__.py | czechbol/mathcrypto | 7d415be0d3207ab00b7f0837134462e2a216d3ce | [
"MIT"
] | null | null | null | from .primes import Primes # noqa: F401
from .diffie_hellman import DHCryptosystem, DHCracker # noqa: F401
from .elliptic_curves import EllipticCurve # noqa: F401
| 41.5 | 67 | 0.789157 | 21 | 166 | 6.142857 | 0.571429 | 0.186047 | 0.186047 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06383 | 0.150602 | 166 | 3 | 68 | 55.333333 | 0.851064 | 0.192771 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
e17e0d7c7a8f6ec0014c447c83cd68be275f4cbf | 92 | py | Python | modules/python-codes/modules/modules-packages/sound/effects/echo.py | drigols/Studies | 9c293156935b491ded24be6b511daac67fd43538 | [
"MIT"
] | 1 | 2020-09-06T22:17:19.000Z | 2020-09-06T22:17:19.000Z | modules/python-codes/modules/modules-packages/sound/effects/echo.py | drigols/Studies | 9c293156935b491ded24be6b511daac67fd43538 | [
"MIT"
] | null | null | null | modules/python-codes/modules/modules-packages/sound/effects/echo.py | drigols/Studies | 9c293156935b491ded24be6b511daac67fd43538 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
def echofilter():
print("OK, 'echofilter()' function executed!")
| 18.4 | 48 | 0.608696 | 10 | 92 | 5.6 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012821 | 0.152174 | 92 | 4 | 49 | 23 | 0.705128 | 0.228261 | 0 | 0 | 0 | 0 | 0.536232 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
e1b2c10bb93bb51cad492f25a510eac064e607ba | 112 | py | Python | py_tdlib/constructors/delete_passport_element.py | Mr-TelegramBot/python-tdlib | 2e2d21a742ebcd439971a32357f2d0abd0ce61eb | [
"MIT"
] | 24 | 2018-10-05T13:04:30.000Z | 2020-05-12T08:45:34.000Z | py_tdlib/constructors/delete_passport_element.py | MrMahdi313/python-tdlib | 2e2d21a742ebcd439971a32357f2d0abd0ce61eb | [
"MIT"
] | 3 | 2019-06-26T07:20:20.000Z | 2021-05-24T13:06:56.000Z | py_tdlib/constructors/delete_passport_element.py | MrMahdi313/python-tdlib | 2e2d21a742ebcd439971a32357f2d0abd0ce61eb | [
"MIT"
] | 5 | 2018-10-05T14:29:28.000Z | 2020-08-11T15:04:10.000Z | from ..factory import Method
class deletePassportElement(Method):
type = None # type: "PassportElementType"
| 18.666667 | 43 | 0.767857 | 11 | 112 | 7.818182 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 112 | 5 | 44 | 22.4 | 0.895833 | 0.241071 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.333333 | 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 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
e1b79d8f1de00e5ff8e8c969d4574344ea6181a5 | 319 | py | Python | l10n_br_point_of_sale/models/__init__.py | kaoecoito/odoo-brasil | 6e019efc4e03b2e7be6ca51d08ace095240e0f07 | [
"MIT"
] | 181 | 2016-11-11T04:39:43.000Z | 2022-03-14T21:17:19.000Z | l10n_br_point_of_sale/models/__init__.py | kaoecoito/odoo-brasil | 6e019efc4e03b2e7be6ca51d08ace095240e0f07 | [
"MIT"
] | 899 | 2016-11-14T02:42:56.000Z | 2022-03-29T20:47:39.000Z | l10n_br_point_of_sale/models/__init__.py | kaoecoito/odoo-brasil | 6e019efc4e03b2e7be6ca51d08ace095240e0f07 | [
"MIT"
] | 227 | 2016-11-10T17:16:59.000Z | 2022-03-26T16:46:38.000Z | # -*- coding: utf-8 -*-
# © 2016 Alessandro Fernandes Martini <alessandrofmartini@gmail.com>, Trustcode
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from . import pos_order
from . import pos_session
from . import invoice_eletronic
from . import account_journal
from . import pos_payment_method
| 31.9 | 79 | 0.76489 | 46 | 319 | 5.195652 | 0.76087 | 0.209205 | 0.16318 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02509 | 0.125392 | 319 | 9 | 80 | 35.444444 | 0.827957 | 0.520376 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
e1cf79962d90bf2d46b4cb5eca776b35133187c6 | 1,604 | py | Python | src/sim_components/progressbar.py | Meridian-Onset/redwood-violet | 91be6cdd302b2c319a8f1972c20e431de19b3715 | [
"MIT"
] | null | null | null | src/sim_components/progressbar.py | Meridian-Onset/redwood-violet | 91be6cdd302b2c319a8f1972c20e431de19b3715 | [
"MIT"
] | null | null | null | src/sim_components/progressbar.py | Meridian-Onset/redwood-violet | 91be6cdd302b2c319a8f1972c20e431de19b3715 | [
"MIT"
] | null | null | null | import sys
def update_progresswtime(progress, totime, operation, remainops):
estime = totime * remainops
barLength = 40 # Modify this to change the length of the progress bar
status = ""
if isinstance(progress, int):
progress = float(progress)
status = ('Estimated time to completion:... | 32.734694 | 115 | 0.605985 | 200 | 1,604 | 4.85 | 0.27 | 0.05567 | 0.086598 | 0.049485 | 0.793814 | 0.793814 | 0.793814 | 0.793814 | 0.690722 | 0.690722 | 0 | 0.029801 | 0.246883 | 1,604 | 48 | 116 | 33.416667 | 0.773179 | 0.072943 | 0 | 0.871795 | 0 | 0 | 0.154313 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.051282 | false | 0 | 0.025641 | 0 | 0.076923 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
becbce0959735ae877f4d1a4523e326aa3aa987f | 31 | py | Python | Demo_XRD_patterns_from_dpp/model/__init__.py | SHDShim/PMatRes | 92440c11f2723861dbb82cecdc321fcef9de4443 | [
"Apache-2.0"
] | 15 | 2017-09-02T13:55:35.000Z | 2022-03-26T08:20:16.000Z | Demo_XRD_patterns_from_dpp/model/__init__.py | SHDShim/PMatRes | 92440c11f2723861dbb82cecdc321fcef9de4443 | [
"Apache-2.0"
] | null | null | null | Demo_XRD_patterns_from_dpp/model/__init__.py | SHDShim/PMatRes | 92440c11f2723861dbb82cecdc321fcef9de4443 | [
"Apache-2.0"
] | 2 | 2018-05-16T13:32:08.000Z | 2019-06-16T08:09:38.000Z | from .model import PeakPoModel
| 15.5 | 30 | 0.83871 | 4 | 31 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
8335d300f3e02e67c926da2418922410f872e81b | 133 | py | Python | 11_Day_Functions/7.py | diegofregolente/30-Days-Of-Python | e0cad31f6d5ab1384ad6fa5a5d24a84771d6c267 | [
"Apache-2.0"
] | null | null | null | 11_Day_Functions/7.py | diegofregolente/30-Days-Of-Python | e0cad31f6d5ab1384ad6fa5a5d24a84771d6c267 | [
"Apache-2.0"
] | null | null | null | 11_Day_Functions/7.py | diegofregolente/30-Days-Of-Python | e0cad31f6d5ab1384ad6fa5a5d24a84771d6c267 | [
"Apache-2.0"
] | null | null | null | def calculated_quadratic_equation(a = 0, b = 0, c = 0):
r = a ** 2 + b + c
return r
print(calculated_quadratic_equation())
| 19 | 55 | 0.631579 | 21 | 133 | 3.809524 | 0.571429 | 0.475 | 0.675 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039604 | 0.240602 | 133 | 6 | 56 | 22.166667 | 0.752475 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
83401616dfc8cb8b6848d004b28bccb91f6204f8 | 10,068 | py | Python | test/test_distance.py | GustavoPeredo/jaro-winkler-distance | 2b97c6fea03e7b469b6065f13c71ce734d1758cf | [
"Apache-2.0"
] | null | null | null | test/test_distance.py | GustavoPeredo/jaro-winkler-distance | 2b97c6fea03e7b469b6065f13c71ce734d1758cf | [
"Apache-2.0"
] | null | null | null | test/test_distance.py | GustavoPeredo/jaro-winkler-distance | 2b97c6fea03e7b469b6065f13c71ce734d1758cf | [
"Apache-2.0"
] | null | null | null | import sys
from pyjarowinkler import distance
if sys.version_info[:2] > (2, 7):
from pyjarowinkler import cydistance
import unittest
__author__ = 'Jean-Bernard Ratte - jean.bernard.ratte@unary.ca'
class TestDistance(unittest.TestCase):
def test_get_jaro_distance(self):
self.assertEqual(0.0, distance.... | 68.489796 | 116 | 0.579559 | 970 | 10,068 | 5.790722 | 0.106186 | 0.197614 | 0.20883 | 0.166637 | 0.862204 | 0.801317 | 0.684885 | 0.626313 | 0.591241 | 0.515756 | 0 | 0.074101 | 0.307012 | 10,068 | 146 | 117 | 68.958904 | 0.730973 | 0 | 0 | 0.234848 | 0 | 0 | 0.144418 | 0.002682 | 0 | 0 | 0 | 0 | 0.583333 | 1 | 0.075758 | false | 0 | 0.030303 | 0 | 0.113636 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
55cd77f575ac0920065e264e58c3676cbe6f7159 | 73 | py | Python | core/multi_thread/__init__.py | caserwin/daily-learning-python | 01fea4c5d4e86cbea2dbef8817146f018b5f1479 | [
"Apache-2.0"
] | 1 | 2019-05-04T07:27:18.000Z | 2019-05-04T07:27:18.000Z | core/multi_thread/__init__.py | caserwin/daily-learning-python | 01fea4c5d4e86cbea2dbef8817146f018b5f1479 | [
"Apache-2.0"
] | null | null | null | core/multi_thread/__init__.py | caserwin/daily-learning-python | 01fea4c5d4e86cbea2dbef8817146f018b5f1479 | [
"Apache-2.0"
] | 1 | 2018-09-20T01:49:36.000Z | 2018-09-20T01:49:36.000Z | # -*- coding: utf-8 -*-
# @Time : 2018/8/4 下午2:33
# @Author : yidxue
| 18.25 | 28 | 0.506849 | 11 | 73 | 3.363636 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 0.246575 | 73 | 3 | 29 | 24.333333 | 0.490909 | 0.90411 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
55e3acda4bfa74b251f5397af8c0aca0eb9ee2df | 1,642 | py | Python | plotting/enrolment_live_birth.py | woojiahao/pds-analysis | d84c8353b7f7323d673c530e0d414d87f80d5384 | [
"MIT"
] | 4 | 2018-08-10T13:56:58.000Z | 2020-04-09T13:32:08.000Z | plotting/enrolment_live_birth.py | woojiahao/pds-analysis | d84c8353b7f7323d673c530e0d414d87f80d5384 | [
"MIT"
] | null | null | null | plotting/enrolment_live_birth.py | woojiahao/pds-analysis | d84c8353b7f7323d673c530e0d414d87f80d5384 | [
"MIT"
] | null | null | null | import pygal
from plotting.custom_styles import style
from plotting.plot import Plot
class EnrolmentLiveBirth:
def __init__(self, engine):
self.engine = engine
def plot_wrong_scatter(self):
scatter_plot = pygal.XY(
stroke=False,
style=style,
show_legend=False,
x_title='Live Birth Rate',
y_title... | 32.84 | 96 | 0.71011 | 238 | 1,642 | 4.714286 | 0.273109 | 0.078431 | 0.037433 | 0.042781 | 0.745098 | 0.745098 | 0.745098 | 0.745098 | 0.745098 | 0.745098 | 0 | 0.000732 | 0.168088 | 1,642 | 49 | 97 | 33.510204 | 0.820644 | 0 | 0 | 0.52381 | 0 | 0 | 0.376979 | 0.046285 | 0 | 0 | 0 | 0 | 0 | 1 | 0.095238 | false | 0 | 0.071429 | 0 | 0.214286 | 0.02381 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
55ff871ba307e490e724d9f1ca7297ef4970b553 | 112 | py | Python | cursoguanabara/desafios/pacote-projeto-d010/quizz.py | amauriraimundo/html-css | cc0b5bc7819e1423761afaab4bd8a63c12d8c0fb | [
"MIT"
] | null | null | null | cursoguanabara/desafios/pacote-projeto-d010/quizz.py | amauriraimundo/html-css | cc0b5bc7819e1423761afaab4bd8a63c12d8c0fb | [
"MIT"
] | null | null | null | cursoguanabara/desafios/pacote-projeto-d010/quizz.py | amauriraimundo/html-css | cc0b5bc7819e1423761afaab4bd8a63c12d8c0fb | [
"MIT"
] | null | null | null | n=6
while n >0:
n-=1
if n % 2 ==0:
print(n, end ="")
if n % 3 == 0:
print(n, end='') | 16 | 25 | 0.348214 | 21 | 112 | 1.857143 | 0.47619 | 0.153846 | 0.358974 | 0.512821 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109375 | 0.428571 | 112 | 7 | 26 | 16 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.285714 | 1 | 0 | 1 | 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 | 5 |
3612961470254ce752b1ebc6cf4826d37207e8f4 | 3,187 | py | Python | tests/oxml/unitdata/text.py | revvsales/python-docx-1 | 5b3ff2b828cc30f1567cb1682a8cb399143732d7 | [
"MIT"
] | 3,031 | 2015-01-02T11:11:24.000Z | 2022-03-30T00:57:17.000Z | tests/oxml/unitdata/text.py | revvsales/python-docx-1 | 5b3ff2b828cc30f1567cb1682a8cb399143732d7 | [
"MIT"
] | 934 | 2015-01-06T20:53:56.000Z | 2022-03-28T10:08:03.000Z | tests/oxml/unitdata/text.py | revvsales/python-docx-1 | 5b3ff2b828cc30f1567cb1682a8cb399143732d7 | [
"MIT"
] | 901 | 2015-01-07T18:22:07.000Z | 2022-03-31T18:38:51.000Z | # encoding: utf-8
"""
Test data builders for text XML elements
"""
from ...unitdata import BaseBuilder
from .shared import CT_OnOffBuilder, CT_StringBuilder
class CT_BrBuilder(BaseBuilder):
__tag__ = 'w:br'
__nspfxs__ = ('w',)
__attrs__ = ('w:type', 'w:clear')
class CT_EmptyBuilder(BaseBuilder):
_... | 15.17619 | 73 | 0.644179 | 406 | 3,187 | 4.539409 | 0.211823 | 0.143245 | 0.217037 | 0.227889 | 0.068909 | 0 | 0 | 0 | 0 | 0 | 0 | 0.000398 | 0.210857 | 3,187 | 209 | 74 | 15.248804 | 0.732406 | 0.017885 | 0 | 0.147826 | 0 | 0 | 0.095772 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.304348 | false | 0 | 0.017391 | 0.286957 | 0.956522 | 0.017391 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
364c0930b2b58a1c4b4166095ff97b540c1140dc | 133 | py | Python | youmin_textclassifier/features/__init__.py | WENGIF/youmin_textclassifier | 15410aaba009019ec387a8e64aec4734ae396922 | [
"Apache-2.0"
] | 3 | 2019-12-27T04:32:37.000Z | 2022-03-18T13:27:50.000Z | youmin_textclassifier/features/__init__.py | WENGIF/youmin_textclassifier | 15410aaba009019ec387a8e64aec4734ae396922 | [
"Apache-2.0"
] | null | null | null | youmin_textclassifier/features/__init__.py | WENGIF/youmin_textclassifier | 15410aaba009019ec387a8e64aec4734ae396922 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
from .generator import token_to_vec, token_to_file
__all__ = [
"token_to_vec",
"token_to_file",
]
| 13.3 | 50 | 0.646617 | 19 | 133 | 3.894737 | 0.578947 | 0.378378 | 0.27027 | 0.405405 | 0.567568 | 0.567568 | 0 | 0 | 0 | 0 | 0 | 0.009434 | 0.203008 | 133 | 9 | 51 | 14.777778 | 0.688679 | 0.157895 | 0 | 0 | 0 | 0 | 0.227273 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
364ec8c0d0cb1f5298a06385dbe94b2b853b7304 | 31 | py | Python | Core/brainSeg/__init__.py | YongLiuLab/BrainRadiomicsTools | 19b440acd554ee920857c306442b6d2c411dca88 | [
"Apache-2.0",
"BSD-3-Clause"
] | 10 | 2019-09-26T03:12:52.000Z | 2022-02-25T06:05:38.000Z | Core/brainSeg/__init__.py | YongLiuLab/BrainRadiomicsTools | 19b440acd554ee920857c306442b6d2c411dca88 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | Core/brainSeg/__init__.py | YongLiuLab/BrainRadiomicsTools | 19b440acd554ee920857c306442b6d2c411dca88 | [
"Apache-2.0",
"BSD-3-Clause"
] | 8 | 2020-02-26T01:54:48.000Z | 2022-03-19T01:23:55.000Z | from . brainSeg import brainSeg | 31 | 31 | 0.83871 | 4 | 31 | 6.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
3660c3038f012e8e9f7275e104a1384c245a2547 | 23,732 | py | Python | pyj2d/vector.py | Pandinosaurus/pyj2d | feb138668e81747dfd9382630eadbe06c735f459 | [
"MIT"
] | 1 | 2019-05-31T14:03:10.000Z | 2019-05-31T14:03:10.000Z | pyj2d/vector.py | Pandinosaurus/pyj2d | feb138668e81747dfd9382630eadbe06c735f459 | [
"MIT"
] | null | null | null | pyj2d/vector.py | Pandinosaurus/pyj2d | feb138668e81747dfd9382630eadbe06c735f459 | [
"MIT"
] | null | null | null | #PyJ2D - Copyright (C) 2011 James Garnon <https://gatc.ca/>
#Released under the MIT License <https://opensource.org/licenses/MIT>
from __future__ import generators
from math import sqrt, sin, cos, atan2, pi
class Vector2(object):
"""
Vector2 - 2-dimensional vector.
"""
__slots__ = ['_x', '_y']
... | 30.981723 | 90 | 0.509439 | 2,974 | 23,732 | 3.784465 | 0.072629 | 0.071524 | 0.07641 | 0.068769 | 0.78223 | 0.756908 | 0.738694 | 0.728476 | 0.709818 | 0.681564 | 0 | 0.03215 | 0.359093 | 23,732 | 765 | 91 | 31.022222 | 0.707824 | 0.044834 | 0 | 0.694974 | 0 | 0 | 0.056806 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.17331 | false | 0 | 0.003466 | 0.02773 | 0.415945 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
367d6190d8475c6982c11e3c90a8236e7c7bd422 | 295 | py | Python | humanizer/tests/__main__.py | grimen/python-humanizer | 20614d8c51179067127c0f144cbaf363ddd0e897 | [
"MIT"
] | null | null | null | humanizer/tests/__main__.py | grimen/python-humanizer | 20614d8c51179067127c0f144cbaf363ddd0e897 | [
"MIT"
] | null | null | null | humanizer/tests/__main__.py | grimen/python-humanizer | 20614d8c51179067127c0f144cbaf363ddd0e897 | [
"MIT"
] | null | null | null |
# =========================================
# IMPORTS
# --------------------------------------
import rootpath
rootpath.append()
from humanizer.tests import helper
# =========================================
# RUN
# --------------------------------------
helper.run(__file__)
| 16.388889 | 43 | 0.288136 | 14 | 295 | 5.785714 | 0.714286 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132203 | 295 | 17 | 44 | 17.352941 | 0.316406 | 0.627119 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
36a6ec55b1bd12e9c8b503434e24093201d4be8c | 10,712 | py | Python | common/Layers.py | akweury/improved_normal_inference | a10ed16f43362c15f2220345275be5c029f31198 | [
"MIT"
] | null | null | null | common/Layers.py | akweury/improved_normal_inference | a10ed16f43362c15f2220345275be5c029f31198 | [
"MIT"
] | null | null | null | common/Layers.py | akweury/improved_normal_inference | a10ed16f43362c15f2220345275be5c029f31198 | [
"MIT"
] | null | null | null | import torch
import torch.nn as nn
import torch.nn.functional as F
from torch.nn.modules.conv import _ConvNd
class Conv(_ConvNd):
def __init__(self, in_channels, out_channels, kernel_size, stride=(1, 1),
padding=(0, 0), dilation=(1, 1), groups=1, bias=True, active_function="LeakyReLU"):
#... | 37.585965 | 120 | 0.596247 | 1,348 | 10,712 | 4.525964 | 0.083086 | 0.086543 | 0.10277 | 0.103262 | 0.794296 | 0.779544 | 0.779053 | 0.760039 | 0.752172 | 0.752172 | 0 | 0.029735 | 0.287341 | 10,712 | 284 | 121 | 37.71831 | 0.769452 | 0.052745 | 0 | 0.562814 | 0 | 0 | 0.007218 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.095477 | false | 0 | 0.020101 | 0 | 0.231156 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
7fce2958034c61bb81ad7b2762aad902b1e3df68 | 133 | py | Python | Main Server/Server/controllers/config.py | harsha-ys/e16-3yp-automatic-fish-tank-control-system | e5541a97fc10c2e0588290d2a1b9b115fde4add8 | [
"MIT"
] | null | null | null | Main Server/Server/controllers/config.py | harsha-ys/e16-3yp-automatic-fish-tank-control-system | e5541a97fc10c2e0588290d2a1b9b115fde4add8 | [
"MIT"
] | 1 | 2020-11-07T12:07:05.000Z | 2020-11-07T12:07:05.000Z | Main Server/Server/controllers/config.py | harsha-ys/e16-3yp-automatic-fish-tank-control-system | e5541a97fc10c2e0588290d2a1b9b115fde4add8 | [
"MIT"
] | 6 | 2020-10-25T10:43:09.000Z | 2020-11-14T07:27:41.000Z | SECRET_KEY = "9c56a5f72207f203014d4f91598bc7cd35e047a0215097034a876db2904ebaae"
ALGORITHM = "HS256"
ACCESS_TOKEN_EXPIRE_MINUTES = 30 | 44.333333 | 79 | 0.879699 | 10 | 133 | 11.3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.395161 | 0.067669 | 133 | 3 | 80 | 44.333333 | 0.516129 | 0 | 0 | 0 | 0 | 0 | 0.514925 | 0.477612 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 | 5 |
7fee30590b358a4beddbf511a0419a9d9ea8c44a | 100 | py | Python | exercises/pythagorean-triplet/pythagorean_triplet.py | RJTK/python | f9678d629735f75354bbd543eb7f10220a498dae | [
"MIT"
] | 1 | 2021-05-15T19:59:04.000Z | 2021-05-15T19:59:04.000Z | exercises/pythagorean-triplet/pythagorean_triplet.py | RJTK/python | f9678d629735f75354bbd543eb7f10220a498dae | [
"MIT"
] | null | null | null | exercises/pythagorean-triplet/pythagorean_triplet.py | RJTK/python | f9678d629735f75354bbd543eb7f10220a498dae | [
"MIT"
] | 2 | 2018-03-03T08:32:12.000Z | 2019-08-22T11:55:53.000Z | def primitive_triplets():
pass
def triplets_in_range():
pass
def is_triplet():
pass
| 9.090909 | 25 | 0.66 | 13 | 100 | 4.769231 | 0.615385 | 0.225806 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 100 | 10 | 26 | 10 | 0.826667 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
3d125d7c0b9867b76020644086006605d0e3403e | 302 | py | Python | hashfunctions.py | phesmont/phes | 319fd309b856de0f7115825115132b9807ac24df | [
"Unlicense"
] | null | null | null | hashfunctions.py | phesmont/phes | 319fd309b856de0f7115825115132b9807ac24df | [
"Unlicense"
] | null | null | null | hashfunctions.py | phesmont/phes | 319fd309b856de0f7115825115132b9807ac24df | [
"Unlicense"
] | null | null | null | import hashlib
def sha256_function(data: bytes) -> bytes:
sha256_object = hashlib.sha256()
sha256_object.update(data)
return sha256_object.digest()
def sha256_trim1(data: bytes) -> bytes:
return sha256_function(data)[:1]
def sha256_trim2(data: bytes) -> bytes:
return sha256_function(data)[:2]
| 23.230769 | 42 | 0.758278 | 42 | 302 | 5.261905 | 0.357143 | 0.122172 | 0.244344 | 0.180995 | 0.343891 | 0.343891 | 0.343891 | 0 | 0 | 0 | 0 | 0.116105 | 0.115894 | 302 | 12 | 43 | 25.166667 | 0.71161 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.111111 | 0.222222 | 0.777778 | 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 | 1 | 1 | 0 | 0 | 5 |
3d215bd996bdfc39ead89433323d75d31f50696b | 51 | py | Python | audapter/__main__.py | borley1211/adaptune | f1d389dd189cc31ad3ada8a17aee42a943075ebd | [
"MIT"
] | 1 | 2020-05-21T11:53:24.000Z | 2020-05-21T11:53:24.000Z | audapter/__main__.py | borley1211/adaptune | f1d389dd189cc31ad3ada8a17aee42a943075ebd | [
"MIT"
] | 2 | 2020-03-18T03:10:25.000Z | 2021-07-14T22:15:34.000Z | audapter/__main__.py | borley1211/audapter | f1d389dd189cc31ad3ada8a17aee42a943075ebd | [
"MIT"
] | null | null | null | import sys
from .helper import cli
sys.exit(cli()) | 12.75 | 23 | 0.745098 | 9 | 51 | 4.222222 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137255 | 51 | 4 | 24 | 12.75 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
3d571691b8b74d95bafa56014b2d5c821f5a8e47 | 186 | py | Python | dashboard/views.py | baofeng-dong/orange-after-odsurvey | 588db6587d50bf0a93ab2a525f5cb2cb0d5eb3d4 | [
"MIT"
] | null | null | null | dashboard/views.py | baofeng-dong/orange-after-odsurvey | 588db6587d50bf0a93ab2a525f5cb2cb0d5eb3d4 | [
"MIT"
] | null | null | null | dashboard/views.py | baofeng-dong/orange-after-odsurvey | 588db6587d50bf0a93ab2a525f5cb2cb0d5eb3d4 | [
"MIT"
] | 2 | 2017-12-01T21:03:40.000Z | 2020-10-01T17:29:05.000Z |
from flask import render_template
from dashboard import app
from dashboard.auth import Auth
@app.route('/')
@Auth.requires_auth
def index():
return render_template("index.html")
| 15.5 | 40 | 0.763441 | 26 | 186 | 5.346154 | 0.538462 | 0.201439 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139785 | 186 | 11 | 41 | 16.909091 | 0.86875 | 0 | 0 | 0 | 0 | 0 | 0.059783 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | true | 0 | 0.428571 | 0.142857 | 0.714286 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 5 |
1850e5e9f1e7b08116fb4687489fbf207423b0bf | 85 | py | Python | util/functional.py | ayobuenavista/sanity-price-monitor | d6da819e3bd5fdd797bd2acfd4cf50ae922e21f3 | [
"MIT"
] | 6 | 2018-01-09T14:27:44.000Z | 2021-05-21T17:03:06.000Z | util/functional.py | ayobuenavista/sanity-price-monitor | d6da819e3bd5fdd797bd2acfd4cf50ae922e21f3 | [
"MIT"
] | 13 | 2018-01-17T13:30:39.000Z | 2021-03-25T21:35:17.000Z | util/functional.py | ayobuenavista/sanity-price-monitor | d6da819e3bd5fdd797bd2acfd4cf50ae922e21f3 | [
"MIT"
] | 7 | 2018-02-22T01:17:17.000Z | 2021-03-15T07:43:05.000Z | def first(iterable, condition):
return next(x for x in iterable if condition(x))
| 28.333333 | 52 | 0.729412 | 14 | 85 | 4.428571 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 85 | 2 | 53 | 42.5 | 0.885714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
43ff1f893954c78a06cec5bf603705fff8d5bbc1 | 21 | py | Python | run_in_cron.py | denkuzin/captcha_solver | cea3a3673df2d9c9529811d0ed4ee0a2244166d3 | [
"Unlicense"
] | 3 | 2019-02-25T15:16:48.000Z | 2019-12-04T18:42:31.000Z | run_in_cron.py | denkuzin/captcha_solver | cea3a3673df2d9c9529811d0ed4ee0a2244166d3 | [
"Unlicense"
] | null | null | null | run_in_cron.py | denkuzin/captcha_solver | cea3a3673df2d9c9529811d0ed4ee0a2244166d3 | [
"Unlicense"
] | null | null | null | import run
run.job()
| 7 | 10 | 0.714286 | 4 | 21 | 3.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 21 | 2 | 11 | 10.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
a11863996d9a322e868fd76f6d613fb76338ece0 | 583 | py | Python | d10_deques.py | DK2K00/100DaysOfCode | 68a9422b8b0b3aa233b1e11e310a6a58453e35c1 | [
"MIT"
] | null | null | null | d10_deques.py | DK2K00/100DaysOfCode | 68a9422b8b0b3aa233b1e11e310a6a58453e35c1 | [
"MIT"
] | null | null | null | d10_deques.py | DK2K00/100DaysOfCode | 68a9422b8b0b3aa233b1e11e310a6a58453e35c1 | [
"MIT"
] | null | null | null | class deques():
def __init__(self):
self.items = []
def addFront(self,item):
return self.items.append(item)
def addRear(self,item):
return self.items.insert(0,item)
def removeFront(self):
return self.items.pop()
def removeRear(self):
return self.items.pop(... | 17.666667 | 40 | 0.61578 | 79 | 583 | 4.493671 | 0.303797 | 0.177465 | 0.211268 | 0.160563 | 0.253521 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017897 | 0.233276 | 583 | 33 | 41 | 17.666667 | 0.776286 | 0 | 0 | 0.192308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.269231 | false | 0 | 0 | 0.230769 | 0.538462 | 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 | 1 | 1 | 0 | 0 | 5 |
a134d4a14c68979ba79df936361429b305ab2f01 | 32 | py | Python | shadow/__main__.py | f1uzz/shadow | 0c2a1308f8bbe77ce4be005153148aac8ea0b4b2 | [
"MIT"
] | 1 | 2020-09-10T22:31:54.000Z | 2020-09-10T22:31:54.000Z | shadow/__main__.py | f1uzz/shadow | 0c2a1308f8bbe77ce4be005153148aac8ea0b4b2 | [
"MIT"
] | 1 | 2020-03-12T15:47:14.000Z | 2020-09-11T18:46:44.000Z | shadow/__main__.py | f1uzz/shadow | 0c2a1308f8bbe77ce4be005153148aac8ea0b4b2 | [
"MIT"
] | null | null | null | from shadow import main
main()
| 8 | 23 | 0.75 | 5 | 32 | 4.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 32 | 3 | 24 | 10.666667 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
a13c7ec75a084c6c85233abd2edb74d1dc8472a2 | 951 | py | Python | business_register/migrations/0029_auto_20200731_0719.py | OlexandrTopuzov/Data_converter | 0ac2319ccaae790af35ab2202724c65d83d32ecc | [
"MIT"
] | null | null | null | business_register/migrations/0029_auto_20200731_0719.py | OlexandrTopuzov/Data_converter | 0ac2319ccaae790af35ab2202724c65d83d32ecc | [
"MIT"
] | null | null | null | business_register/migrations/0029_auto_20200731_0719.py | OlexandrTopuzov/Data_converter | 0ac2319ccaae790af35ab2202724c65d83d32ecc | [
"MIT"
] | null | null | null | # Generated by Django 3.0.7 on 2020-07-31 07:19
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('business_register', '0028_auto_20200729_0937'),
]
operations = [
migrations.AlterField(
model_name='fop',
name='code... | 27.970588 | 78 | 0.57939 | 98 | 951 | 5.459184 | 0.459184 | 0.149533 | 0.186916 | 0.216822 | 0.702804 | 0.702804 | 0.534579 | 0.534579 | 0.534579 | 0.534579 | 0 | 0.064857 | 0.302839 | 951 | 33 | 79 | 28.818182 | 0.742081 | 0.047319 | 0 | 0.740741 | 1 | 0 | 0.128319 | 0.025442 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.037037 | 0 | 0.148148 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
a14b039d7a380b67345060bea5ae1e759caed501 | 67 | py | Python | common/models/__init__.py | SamusChief/myth-caster-api | 76a43f48b70c6a4b509c90757d7906689799cc25 | [
"MIT"
] | null | null | null | common/models/__init__.py | SamusChief/myth-caster-api | 76a43f48b70c6a4b509c90757d7906689799cc25 | [
"MIT"
] | null | null | null | common/models/__init__.py | SamusChief/myth-caster-api | 76a43f48b70c6a4b509c90757d7906689799cc25 | [
"MIT"
] | 1 | 2021-08-14T18:46:52.000Z | 2021-08-14T18:46:52.000Z | """ Common models """
from .mixins import OwnedModel, PrivateModel
| 22.333333 | 44 | 0.746269 | 7 | 67 | 7.142857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134328 | 67 | 2 | 45 | 33.5 | 0.862069 | 0.19403 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
a164a0a3659f26198ccb3f4aa73c816f08e634b5 | 68 | py | Python | jacdac/wifi/__init__.py | microsoft/jacdac-python | 712ad5559e29065f5eccb5dbfe029c039132df5a | [
"MIT"
] | 1 | 2022-02-15T21:30:36.000Z | 2022-02-15T21:30:36.000Z | jacdac/wifi/__init__.py | microsoft/jacdac-python | 712ad5559e29065f5eccb5dbfe029c039132df5a | [
"MIT"
] | null | null | null | jacdac/wifi/__init__.py | microsoft/jacdac-python | 712ad5559e29065f5eccb5dbfe029c039132df5a | [
"MIT"
] | 1 | 2022-02-08T19:32:45.000Z | 2022-02-08T19:32:45.000Z | # Autogenerated file.
from .client import WifiClient # type: ignore
| 22.666667 | 45 | 0.779412 | 8 | 68 | 6.625 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 68 | 2 | 46 | 34 | 0.913793 | 0.470588 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
a19829f57cc320ba70bf4b5c60be3875ae385a8f | 234 | py | Python | Scrimba/tuples_exercise.py | kadulemos/Python | 3088873fafce87c6aeb28450fa5e228617611fb6 | [
"MIT"
] | null | null | null | Scrimba/tuples_exercise.py | kadulemos/Python | 3088873fafce87c6aeb28450fa5e228617611fb6 | [
"MIT"
] | null | null | null | Scrimba/tuples_exercise.py | kadulemos/Python | 3088873fafce87c6aeb28450fa5e228617611fb6 | [
"MIT"
] | null | null | null | #Tuples - faster Lists you can't change
friends = ['John','Michael','Terry','Eric','Graham']
friends_tuple = ('John','Michael','Terry','Eric','Graham')
print(friends)
print(friends_tuple)
print(friends[2:4])
print(friends_tuple[2:4]) | 29.25 | 58 | 0.709402 | 34 | 234 | 4.794118 | 0.5 | 0.294479 | 0.196319 | 0.245399 | 0.319018 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018433 | 0.07265 | 234 | 8 | 59 | 29.25 | 0.732719 | 0.162393 | 0 | 0 | 0 | 0 | 0.265306 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.666667 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
a19d3625107ce44164ff82f743b2a10b3a7b94b6 | 210 | py | Python | api/tasks/test.py | lilixiang/cmdb | d60857c26b9b81c8a33b72548b637cbde8782fe1 | [
"MIT"
] | 1 | 2020-02-15T00:13:45.000Z | 2020-02-15T00:13:45.000Z | api/tasks/test.py | lilixiang/cmdb | d60857c26b9b81c8a33b72548b637cbde8782fe1 | [
"MIT"
] | null | null | null | api/tasks/test.py | lilixiang/cmdb | d60857c26b9b81c8a33b72548b637cbde8782fe1 | [
"MIT"
] | 1 | 2019-10-31T07:55:20.000Z | 2019-10-31T07:55:20.000Z | # -*- coding:utf-8 -*-
from api.extensions import celery
from flask import current_app
@celery.task(queue="ticket_web")
def test_task():
current_app.logger.info("test task.............................")
| 21 | 69 | 0.62381 | 27 | 210 | 4.703704 | 0.703704 | 0.15748 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005376 | 0.114286 | 210 | 9 | 70 | 23.333333 | 0.677419 | 0.095238 | 0 | 0 | 0 | 0 | 0.255319 | 0.175532 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
a1b0c9f9bb3fd77644a959ba6a86c973a9064ff7 | 52,174 | py | Python | seaborn_analyzer/_cv_eval_set.py | c60evaporator/seaborn-analyzer | af1088dffa7d4afb1061a9b3ed220c9fc0ed6a71 | [
"BSD-3-Clause"
] | 38 | 2021-07-31T23:50:53.000Z | 2022-03-26T01:50:32.000Z | seaborn_analyzer/_cv_eval_set.py | c60evaporator/seaborn_analyzer | af1088dffa7d4afb1061a9b3ed220c9fc0ed6a71 | [
"BSD-3-Clause"
] | 5 | 2021-02-06T10:31:40.000Z | 2021-07-23T14:59:27.000Z | seaborn_analyzer/_cv_eval_set.py | c60evaporator/seaborn-analyzer | af1088dffa7d4afb1061a9b3ed220c9fc0ed6a71 | [
"BSD-3-Clause"
] | 3 | 2021-08-05T00:43:25.000Z | 2021-11-19T08:47:20.000Z | import copy
from joblib import Parallel
import numpy as np
import time
import numbers
from itertools import product
from collections import defaultdict
from sklearn import clone
from sklearn.pipeline import Pipeline
from sklearn.model_selection import check_cv, GridSearchCV, RandomizedSearchCV
from sklearn.model_select... | 44.746141 | 186 | 0.611933 | 6,447 | 52,174 | 4.770436 | 0.085311 | 0.022078 | 0.023411 | 0.010405 | 0.76238 | 0.741798 | 0.71946 | 0.705089 | 0.703073 | 0.689286 | 0 | 0.003516 | 0.313221 | 52,174 | 1,166 | 187 | 44.746141 | 0.854795 | 0.472918 | 0 | 0.61978 | 0 | 0.004396 | 0.057266 | 0.002432 | 0 | 0 | 0 | 0 | 0 | 1 | 0.028571 | false | 0 | 0.035165 | 0 | 0.103297 | 0.021978 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
a1b169ddd2786bebc309b574b7e01a7c888a0665 | 320 | py | Python | ci/ci/utils.py | 3vivekb/hail | 82c9e0f3ec2154335f91f2219b84c0fb5dbac526 | [
"MIT"
] | 1 | 2022-01-03T13:46:08.000Z | 2022-01-03T13:46:08.000Z | ci/ci/utils.py | 3vivekb/hail | 82c9e0f3ec2154335f91f2219b84c0fb5dbac526 | [
"MIT"
] | 2 | 2016-08-12T18:38:24.000Z | 2018-09-05T15:26:35.000Z | ci/ci/utils.py | 3vivekb/hail | 82c9e0f3ec2154335f91f2219b84c0fb5dbac526 | [
"MIT"
] | null | null | null | import string
import secrets
def generate_token(size=12):
assert size > 0
alpha = string.ascii_lowercase
alnum = string.ascii_lowercase + string.digits
return secrets.choice(alpha) + ''.join([secrets.choice(alnum) for _ in range(size - 1)])
def flatten(xxs):
return [x for xs in xxs for x in xs]
| 22.857143 | 92 | 0.696875 | 48 | 320 | 4.5625 | 0.541667 | 0.100457 | 0.182648 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015625 | 0.2 | 320 | 13 | 93 | 24.615385 | 0.839844 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 1 | 0.222222 | false | 0 | 0.222222 | 0.111111 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
a1b2f026a109f995bc10f5b5c1affde7cce010bf | 3,940 | py | Python | profil/migrations/0007_auto_20210708_1004.py | dafis/skilldb | b14f5951de6b64a625fe26a022cbf65644851f1f | [
"MIT"
] | null | null | null | profil/migrations/0007_auto_20210708_1004.py | dafis/skilldb | b14f5951de6b64a625fe26a022cbf65644851f1f | [
"MIT"
] | 6 | 2021-07-08T07:16:08.000Z | 2021-07-12T11:09:06.000Z | profil/migrations/0007_auto_20210708_1004.py | dafis/skilldb | b14f5951de6b64a625fe26a022cbf65644851f1f | [
"MIT"
] | 1 | 2021-07-08T07:26:22.000Z | 2021-07-08T07:26:22.000Z | # Generated by Django 3.2.5 on 2021-07-08 10:04
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('wagtailimages', '0023_add_choose_permissions'),
('profil', '0006_auto_20210708_0919'),
]
operations = [
... | 34.26087 | 164 | 0.571827 | 355 | 3,940 | 6.16338 | 0.202817 | 0.082267 | 0.217093 | 0.251828 | 0.740402 | 0.738574 | 0.542505 | 0.498629 | 0.429159 | 0.386197 | 0 | 0.024945 | 0.308122 | 3,940 | 114 | 165 | 34.561404 | 0.777696 | 0.011421 | 0 | 0.740741 | 1 | 0 | 0.154123 | 0.012844 | 0.009259 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.018519 | 0 | 0.046296 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
a1bda72acf4b8cb36f3428edb54aefbd7a90a2f5 | 288 | py | Python | PytorchCudaOpExtension/adaptive_sigmoid/setup.py | Zhaoyi-Yan/PFDNet | 86798fbc4fadc673e7912c08492ea3611bc20154 | [
"MIT"
] | 4 | 2021-07-12T00:00:30.000Z | 2022-01-26T12:05:50.000Z | PytorchCudaOpExtension/adaptive_sigmoid/setup.py | Zhaoyi-Yan/PFDNet | 86798fbc4fadc673e7912c08492ea3611bc20154 | [
"MIT"
] | 2 | 2021-01-07T03:29:48.000Z | 2021-07-12T07:41:58.000Z | PytorchCudaOpExtension/adaptive_sigmoid/setup.py | Zhaoyi-Yan/PFDNet | 86798fbc4fadc673e7912c08492ea3611bc20154 | [
"MIT"
] | 3 | 2021-07-12T00:00:32.000Z | 2022-03-09T07:08:46.000Z | from setuptools import setup
from torch.utils.cpp_extension import CppExtension, BuildExtension, CUDAExtension
setup(name='adaptive_sigmoid', ext_modules=[CUDAExtension('adaptive_sigmoid_gpu',['adaptive_sigmoid.cpp', 'adaptive_sigmoid_cuda.cu']),], cmdclass={'build_ext': BuildExtension}) | 96 | 177 | 0.829861 | 34 | 288 | 6.764706 | 0.617647 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.048611 | 288 | 3 | 177 | 96 | 0.839416 | 0 | 0 | 0 | 0 | 0 | 0.307958 | 0.083045 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
a1d66f8efe44b3b4e3f8d7778640e65dee87f7ef | 865 | py | Python | reasoning/python/prime.py | pmoura/eye | 03a4be110f5e9f8f21a6b1ac2756d79cc6518386 | [
"MIT"
] | null | null | null | reasoning/python/prime.py | pmoura/eye | 03a4be110f5e9f8f21a6b1ac2756d79cc6518386 | [
"MIT"
] | null | null | null | reasoning/python/prime.py | pmoura/eye | 03a4be110f5e9f8f21a6b1ac2756d79cc6518386 | [
"MIT"
] | null | null | null | # See https://en.wikipedia.org/wiki/Prime_number
from sympy import primerange, isprime, nextprime, totient
if __name__ == "__main__":
cases = [
"list(primerange(0, 100))",
"list(primerange(1000000, 1000100))",
"isprime(68647976601306097149819007990813932172694353001433054093944634591855431... | 43.25 | 179 | 0.734104 | 53 | 865 | 11.811321 | 0.716981 | 0.044728 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.563786 | 0.157225 | 865 | 19 | 180 | 45.526316 | 0.294925 | 0.053179 | 0 | 0 | 0 | 0 | 0.680539 | 0.531212 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.066667 | 0 | 0.066667 | 0.066667 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6299acd6ec1fa2d7e7e8dbb4a017c93d56711e17 | 258 | py | Python | import-from-dir/mods/Math.py | brenordv/python-snippets | aa69d4d64f7b9cea958ad852248210f4e869fe50 | [
"MIT"
] | 2 | 2020-04-10T21:20:22.000Z | 2021-01-17T19:28:32.000Z | import-from-dir/mods/Math.py | brenordv/python-snippets | aa69d4d64f7b9cea958ad852248210f4e869fe50 | [
"MIT"
] | null | null | null | import-from-dir/mods/Math.py | brenordv/python-snippets | aa69d4d64f7b9cea958ad852248210f4e869fe50 | [
"MIT"
] | 2 | 2020-07-20T20:24:01.000Z | 2022-02-27T15:40:40.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Math.py: Just a sample file with a function.
This material is part of this post:
http://raccoon.ninja/pt/dev-pt/python-importando-todos-os-arquivos-de-um-diretorio/
"""
def calc_sum(a, b):
return a + b | 21.5 | 83 | 0.678295 | 45 | 258 | 3.866667 | 0.844444 | 0.022989 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004545 | 0.147287 | 258 | 12 | 84 | 21.5 | 0.786364 | 0.802326 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
62a0640c8f73a1c6b06f7ab04290a621510f7049 | 2,130 | py | Python | libs/models/__init__.py | awesome-archive/deeplab-pytorch | f7a07fee9b05c7131c1ce4795f03c74dbf842efb | [
"MIT"
] | null | null | null | libs/models/__init__.py | awesome-archive/deeplab-pytorch | f7a07fee9b05c7131c1ce4795f03c74dbf842efb | [
"MIT"
] | null | null | null | libs/models/__init__.py | awesome-archive/deeplab-pytorch | f7a07fee9b05c7131c1ce4795f03c74dbf842efb | [
"MIT"
] | null | null | null | from __future__ import absolute_import
from .resnet import *
from .deeplabv2 import *
from .deeplabv3 import *
from .deeplabv3plus import *
from .msc import *
def init_weights(model):
for m in model.modules():
if isinstance(m, nn.Conv2d):
nn.init.kaiming_normal_(m.weight)
if m.bias... | 26.296296 | 85 | 0.566197 | 280 | 2,130 | 4.092857 | 0.228571 | 0.08377 | 0.062827 | 0.052356 | 0.746946 | 0.742583 | 0.715532 | 0.715532 | 0.715532 | 0.715532 | 0 | 0.07953 | 0.321127 | 2,130 | 80 | 86 | 26.625 | 0.713001 | 0 | 0 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.073529 | false | 0 | 0.088235 | 0.029412 | 0.220588 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
62fcd1aa7110f3d652916384bcacfc13a25b44ca | 74 | py | Python | vsmlib/corpus/__init__.py | berntham/vsmlib | b2ed762ff50b5dcdd6999ad75c205557e70c6598 | [
"Apache-2.0"
] | 16 | 2017-01-04T05:18:42.000Z | 2021-08-08T09:31:08.000Z | vsmlib/corpus/__init__.py | berntham/vsmlib | b2ed762ff50b5dcdd6999ad75c205557e70c6598 | [
"Apache-2.0"
] | 8 | 2017-07-01T04:23:53.000Z | 2019-01-04T04:03:45.000Z | vsmlib/corpus/__init__.py | berntham/vsmlib | b2ed762ff50b5dcdd6999ad75c205557e70c6598 | [
"Apache-2.0"
] | 2 | 2017-10-31T02:21:08.000Z | 2021-01-07T00:03:23.000Z | from .corpus import load_file_as_ids, FileTokenIterator, DirTokenIterator
| 37 | 73 | 0.878378 | 9 | 74 | 6.888889 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 74 | 1 | 74 | 74 | 0.911765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
1a1a220bade2062cfa4f0c459a5dad0b80a6806b | 60 | py | Python | test/regression/features/integers/unary_minus.py | ppelleti/berp | 30925288376a6464695341445688be64ac6b2600 | [
"BSD-3-Clause"
] | 137 | 2015-02-13T21:03:23.000Z | 2021-11-24T03:53:55.000Z | test/regression/features/integers/unary_minus.py | ppelleti/berp | 30925288376a6464695341445688be64ac6b2600 | [
"BSD-3-Clause"
] | 4 | 2015-04-01T13:49:13.000Z | 2019-07-09T19:28:56.000Z | test/regression/features/integers/unary_minus.py | bjpop/berp | 30925288376a6464695341445688be64ac6b2600 | [
"BSD-3-Clause"
] | 8 | 2015-04-25T03:47:52.000Z | 2019-07-27T06:33:56.000Z | print(-1)
print(-0)
print(-(6))
print(-(12*2))
print(- -10)
| 10 | 14 | 0.55 | 11 | 60 | 3 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 0.1 | 60 | 5 | 15 | 12 | 0.462963 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
1a2051a759d02409e969560f11dca813c8a4b804 | 6,971 | py | Python | examples/FFBPmp_demo.py | jks7592/RITSAR | 8ecfef00bc8db779a60698d8dd0698551ed78cd5 | [
"MIT"
] | null | null | null | examples/FFBPmp_demo.py | jks7592/RITSAR | 8ecfef00bc8db779a60698d8dd0698551ed78cd5 | [
"MIT"
] | null | null | null | examples/FFBPmp_demo.py | jks7592/RITSAR | 8ecfef00bc8db779a60698d8dd0698551ed78cd5 | [
"MIT"
] | 1 | 2022-03-06T07:38:20.000Z | 2022-03-06T07:38:20.000Z | ##############################################################################
# #
# This is a demonstration of the Fast Factorized Backprojection algorithm. #
# Data sets can be switched in and out by commenting/uncommenting the lines #
# o... | 36.689474 | 98 | 0.595754 | 863 | 6,971 | 4.695249 | 0.177289 | 0.047384 | 0.089832 | 0.042201 | 0.742843 | 0.728529 | 0.728529 | 0.728529 | 0.728529 | 0.728036 | 0 | 0.020841 | 0.229092 | 6,971 | 189 | 99 | 36.883598 | 0.73316 | 0.107302 | 0 | 0.190476 | 0 | 0 | 0.044662 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.02381 | 0.166667 | 0 | 0.166667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
1a25270da7717d7b03f84005224e492e27f7ad02 | 31 | py | Python | objectio/__init__.py | tmbdev/objectio | 3c037fe47dd01cdd13a9338112ad10c1d2aeafb8 | [
"BSD-3-Clause"
] | 1 | 2020-06-30T09:25:21.000Z | 2020-06-30T09:25:21.000Z | objectio/__init__.py | tmbdev/objectio | 3c037fe47dd01cdd13a9338112ad10c1d2aeafb8 | [
"BSD-3-Clause"
] | 1 | 2020-05-21T02:20:42.000Z | 2020-05-21T02:20:42.000Z | objectio/__init__.py | tmbdev/objectio | 3c037fe47dd01cdd13a9338112ad10c1d2aeafb8 | [
"BSD-3-Clause"
] | 2 | 2020-04-15T16:44:33.000Z | 2020-12-01T21:08:32.000Z | from .io import objopen, gopen
| 15.5 | 30 | 0.774194 | 5 | 31 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 31 | 1 | 31 | 31 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
c51156d3f6b100b0f18b8a5cadc03415f53c1892 | 56 | py | Python | Judger/Judger_Data/__init__.py | cmd2001/Open-TesutoHime | 2c30aa35650383adfb99496aebd425dffd287eda | [
"MIT"
] | 11 | 2020-11-28T16:45:35.000Z | 2021-08-31T07:56:26.000Z | Judger/Judger_Data/__init__.py | ACMClassOJ/Open-TesutoHime | 2c30aa35650383adfb99496aebd425dffd287eda | [
"MIT"
] | null | null | null | Judger/Judger_Data/__init__.py | ACMClassOJ/Open-TesutoHime | 2c30aa35650383adfb99496aebd425dffd287eda | [
"MIT"
] | 2 | 2021-09-04T11:39:51.000Z | 2021-09-23T02:01:43.000Z | from .data import get_data, ProblemConfig, Group, Detail | 56 | 56 | 0.821429 | 8 | 56 | 5.625 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 56 | 1 | 56 | 56 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
c5549d3850ed1dc9af489b12b669560c442d46c8 | 40 | py | Python | rasa_nlu/extractors/__init__.py | MartinoMensio/rasa_nlu | 29251aa35ce57db25538c819babfb0f0fb42dac6 | [
"Apache-2.0"
] | null | null | null | rasa_nlu/extractors/__init__.py | MartinoMensio/rasa_nlu | 29251aa35ce57db25538c819babfb0f0fb42dac6 | [
"Apache-2.0"
] | null | null | null | rasa_nlu/extractors/__init__.py | MartinoMensio/rasa_nlu | 29251aa35ce57db25538c819babfb0f0fb42dac6 | [
"Apache-2.0"
] | null | null | null | class EntityExtractor(object):
pass
| 13.333333 | 30 | 0.75 | 4 | 40 | 7.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175 | 40 | 2 | 31 | 20 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
c56204c5ffa2d500573d8c1aa63e49c4772763e1 | 78 | py | Python | oms_cms/backend/menu/urls.py | RomanYarovoi/oms_cms | 49c6789242d7a35e81f4f208c04b18fb79249be7 | [
"BSD-3-Clause"
] | 18 | 2019-07-11T18:34:10.000Z | 2021-11-20T06:34:39.000Z | oms_cms/backend/menu/urls.py | RomanYarovoi/oms_cms | 49c6789242d7a35e81f4f208c04b18fb79249be7 | [
"BSD-3-Clause"
] | 13 | 2019-07-24T11:27:58.000Z | 2022-03-28T01:07:31.000Z | oms_cms/backend/menu/urls.py | RomanYarovoi/oms_cms | 49c6789242d7a35e81f4f208c04b18fb79249be7 | [
"BSD-3-Clause"
] | 18 | 2019-07-08T18:07:21.000Z | 2021-11-03T10:33:07.000Z | from django.urls import path
# from .views import *
# urlpatterns = [
#
# ] | 9.75 | 28 | 0.641026 | 9 | 78 | 5.555556 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 78 | 8 | 29 | 9.75 | 0.833333 | 0.487179 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
c56b31f965e36ba4276a3ceb9419a55ca9e119e1 | 301 | py | Python | codes/mod/modlog.py | Kevinmuahahaha/posty | a7ae2f9b1bc08860df460a1d2f1b0ee4ea00282f | [
"MIT"
] | null | null | null | codes/mod/modlog.py | Kevinmuahahaha/posty | a7ae2f9b1bc08860df460a1d2f1b0ee4ea00282f | [
"MIT"
] | null | null | null | codes/mod/modlog.py | Kevinmuahahaha/posty | a7ae2f9b1bc08860df460a1d2f1b0ee4ea00282f | [
"MIT"
] | null | null | null | def debug( content ):
print( "[*] " + str(content) , flush=True)
def bad( content ):
print( "[-] " + str(content) , flush=True)
def good( content ):
print( "[+] " + str(content) , flush=True)
# sample output:
# [*] Gimme yo money
# [-] Money taken by chad.
# [+] Chad receives the money.
| 25.083333 | 46 | 0.578073 | 37 | 301 | 4.702703 | 0.513514 | 0.206897 | 0.258621 | 0.37931 | 0.568966 | 0.568966 | 0.390805 | 0 | 0 | 0 | 0 | 0 | 0.219269 | 301 | 11 | 47 | 27.363636 | 0.740426 | 0.289037 | 0 | 0 | 0 | 0 | 0.057416 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 0.5 | 0.5 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
3da5c8007c55b210ea8c7b9aaa0cd0e615ab4ca6 | 93 | py | Python | bento2seldon4recsys/router/ab_test/model.py | bryanoliveira/bento2seldon4recsys | 024a899cf7e71634868a5d444a0e208d58a85dd2 | [
"Apache-2.0"
] | 1 | 2022-03-01T18:34:39.000Z | 2022-03-01T18:34:39.000Z | bento2seldon4recsys/router/ab_test/model.py | bryanoliveira/bento2seldon4recsys | 024a899cf7e71634868a5d444a0e208d58a85dd2 | [
"Apache-2.0"
] | 235 | 2021-11-01T13:28:51.000Z | 2022-03-31T13:35:05.000Z | bento2seldon4recsys/router/ab_test/model.py | bryanoliveira/bento2seldon4recsys | 024a899cf7e71634868a5d444a0e208d58a85dd2 | [
"Apache-2.0"
] | 1 | 2022-02-28T21:34:08.000Z | 2022-02-28T21:34:08.000Z | from bento2seldon.model import Settings
class ABTestSettings(Settings):
b_ratio: float
| 15.5 | 39 | 0.795699 | 11 | 93 | 6.636364 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012658 | 0.150538 | 93 | 5 | 40 | 18.6 | 0.911392 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
9a9b053d9e12493e317841f95c2dde45e6581829 | 176 | py | Python | python/packages/isce3/core/Ellipsoid.py | piyushrpt/isce3 | 1741af321470cb5939693459765d11a19c5c6fc2 | [
"Apache-2.0"
] | null | null | null | python/packages/isce3/core/Ellipsoid.py | piyushrpt/isce3 | 1741af321470cb5939693459765d11a19c5c6fc2 | [
"Apache-2.0"
] | null | null | null | python/packages/isce3/core/Ellipsoid.py | piyushrpt/isce3 | 1741af321470cb5939693459765d11a19c5c6fc2 | [
"Apache-2.0"
] | null | null | null | #-*- coding: utf-8 -*-
# Import the extension
from .. import isceextension
class Ellipsoid(isceextension.pyEllipsoid):
"""
Wrapper for pyEllipsoid.
"""
pass
| 14.666667 | 43 | 0.647727 | 17 | 176 | 6.705882 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007299 | 0.221591 | 176 | 11 | 44 | 16 | 0.824818 | 0.380682 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
9ab87a5910f62f6308dd8a8795d65adecbd588ec | 66 | py | Python | DailyData/io/__init__.py | JEElsner/DailyData | 17d430af52922cc0b60ba57abb8e42de576d942c | [
"MIT"
] | 1 | 2021-01-04T07:05:07.000Z | 2021-01-04T07:05:07.000Z | DailyData/io/__init__.py | JEElsner/DailyData | 17d430af52922cc0b60ba57abb8e42de576d942c | [
"MIT"
] | null | null | null | DailyData/io/__init__.py | JEElsner/DailyData | 17d430af52922cc0b60ba57abb8e42de576d942c | [
"MIT"
] | null | null | null | from .timelog_io import TimelogIO
from .db import DatabaseWrapper
| 22 | 33 | 0.848485 | 9 | 66 | 6.111111 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 66 | 2 | 34 | 33 | 0.948276 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
9ad9b8c82fd1ce90fa11dab7b080f92febdb9892 | 36 | py | Python | contrib/tests/__init__.py | Memrise/django-social-auth | ddfecb6f78f1dc53e66689264f1c95fc81b5d3be | [
"BSD-2-Clause",
"BSD-3-Clause"
] | 1 | 2018-06-11T17:35:10.000Z | 2018-06-11T17:35:10.000Z | contrib/tests/__init__.py | Memrise/django-social-auth | ddfecb6f78f1dc53e66689264f1c95fc81b5d3be | [
"BSD-2-Clause",
"BSD-3-Clause"
] | null | null | null | contrib/tests/__init__.py | Memrise/django-social-auth | ddfecb6f78f1dc53e66689264f1c95fc81b5d3be | [
"BSD-2-Clause",
"BSD-3-Clause"
] | null | null | null | from .test_core import BackendsTest
| 18 | 35 | 0.861111 | 5 | 36 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
b119b2abcfa468d035a7582ea1f8017da366461f | 911 | py | Python | test/test_create_new_group.py | kazinets/python_training | 84a56e6069fa775ca02101011d6051865fbcfb6d | [
"Apache-2.0"
] | null | null | null | test/test_create_new_group.py | kazinets/python_training | 84a56e6069fa775ca02101011d6051865fbcfb6d | [
"Apache-2.0"
] | null | null | null | test/test_create_new_group.py | kazinets/python_training | 84a56e6069fa775ca02101011d6051865fbcfb6d | [
"Apache-2.0"
] | null | null | null | from model.group import Group
from sys import maxsize
def test_create_empty_group(app):
app.group.open_group_page()
old_groups = app.group.get_group_list()
group = Group(name="", header="", footer="")
app.group.create(Group(name="", header="", footer=""))
new_groups = app.group.get_group_list()
... | 29.387097 | 92 | 0.714599 | 142 | 911 | 4.309859 | 0.232394 | 0.104575 | 0.091503 | 0.111111 | 0.712418 | 0.712418 | 0.712418 | 0.712418 | 0.712418 | 0.712418 | 0 | 0.003851 | 0.144896 | 911 | 30 | 93 | 30.366667 | 0.781772 | 0 | 0 | 0.6 | 0 | 0 | 0.026403 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.1 | false | 0 | 0.1 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
b1763b1cf8c60e2f901dbcffe9395c67043e6911 | 511 | py | Python | custom_exceptions.py | Demon000/updater-1 | eab6c9c008935cf2cfe0df27adc22e4fd1da6eca | [
"Apache-2.0"
] | 81 | 2017-12-28T12:52:59.000Z | 2022-03-26T08:42:44.000Z | custom_exceptions.py | Demon000/updater-1 | eab6c9c008935cf2cfe0df27adc22e4fd1da6eca | [
"Apache-2.0"
] | 30 | 2017-12-27T06:32:37.000Z | 2022-02-07T16:41:44.000Z | custom_exceptions.py | Demon000/updater-1 | eab6c9c008935cf2cfe0df27adc22e4fd1da6eca | [
"Apache-2.0"
] | 53 | 2017-12-27T06:27:21.000Z | 2022-02-28T06:45:51.000Z | #!/usr/bin/env python3
#pylint: disable=missing-docstring
class DeviceNotFoundException(Exception):
status_code = 404
def __init__(self, message):
Exception.__init__(self)
self.message = message
def to_dict(self):
return {'message': self.message}
class UpstreamApiException(Except... | 22.217391 | 41 | 0.669276 | 56 | 511 | 5.75 | 0.410714 | 0.204969 | 0.118012 | 0.111801 | 0.559006 | 0.559006 | 0.559006 | 0.559006 | 0.559006 | 0.559006 | 0 | 0.017722 | 0.227006 | 511 | 22 | 42 | 23.227273 | 0.797468 | 0.105675 | 0 | 0.714286 | 0 | 0 | 0.030769 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.142857 | 0.714286 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
b182ff31e474dc1427e4f386206bd761fd4c94fb | 386 | py | Python | src/app/main/service/products.py | Abh4git/PythonMongoService | f64fcb7c4db0db41adb8b74736c82e8de5f6dbec | [
"MIT"
] | 1 | 2021-05-22T06:08:01.000Z | 2021-05-22T06:08:01.000Z | src/app/main/service/products.py | Abh4git/PythonMongoService | f64fcb7c4db0db41adb8b74736c82e8de5f6dbec | [
"MIT"
] | null | null | null | src/app/main/service/products.py | Abh4git/PythonMongoService | f64fcb7c4db0db41adb8b74736c82e8de5f6dbec | [
"MIT"
] | null | null | null | from flask import jsonify, request, url_for, g, abort
from app.main import db
from app.main.model.products import Product
from app.main.service import bp
from app.main.service.auth import token_auth
from app.main.service.errors import bad_request
@bp.route('/products/', methods=['GET'])
#@token_auth.login_required
d... | 29.692308 | 53 | 0.764249 | 59 | 386 | 4.898305 | 0.525424 | 0.121107 | 0.190311 | 0.186851 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005831 | 0.111399 | 386 | 12 | 54 | 32.166667 | 0.836735 | 0.067358 | 0 | 0 | 0 | 0 | 0.128134 | 0.086351 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | true | 0 | 0.666667 | 0.111111 | 0.888889 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 5 |
49548e5900ceef52f647af9925d1f7673c4ca297 | 5,231 | py | Python | skyportal/tests/api/test_observing_runs.py | bparazin/skyportal | c160610ca0cc28eef9f36c2d11cc15bd9bcbfe56 | [
"BSD-3-Clause"
] | 52 | 2018-11-02T00:53:21.000Z | 2022-03-08T16:03:52.000Z | skyportal/tests/api/test_observing_runs.py | bparazin/skyportal | c160610ca0cc28eef9f36c2d11cc15bd9bcbfe56 | [
"BSD-3-Clause"
] | 1,944 | 2017-04-27T18:51:20.000Z | 2022-03-31T20:17:44.000Z | skyportal/tests/api/test_observing_runs.py | bparazin/skyportal | c160610ca0cc28eef9f36c2d11cc15bd9bcbfe56 | [
"BSD-3-Clause"
] | 63 | 2017-05-13T01:40:47.000Z | 2022-03-12T11:32:11.000Z | from skyportal.tests import api
def test_token_user_add_new_observing_run(
lris, upload_data_token, red_transients_group
):
run_details = {
'instrument_id': lris.id,
'pi': 'Danny Goldstein',
'observers': 'D. Goldstein, P. Nugent',
'group_id': red_transients_group.id,
'c... | 28.584699 | 87 | 0.628178 | 658 | 5,231 | 4.714286 | 0.155015 | 0.073501 | 0.072534 | 0.074468 | 0.789168 | 0.771438 | 0.771438 | 0.749839 | 0.722115 | 0.700516 | 0 | 0.028385 | 0.23896 | 5,231 | 182 | 88 | 28.741758 | 0.750816 | 0.039189 | 0 | 0.655172 | 0 | 0 | 0.21908 | 0.038638 | 0 | 0 | 0 | 0 | 0.206897 | 1 | 0.041379 | false | 0 | 0.006897 | 0 | 0.048276 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
496fb42bfc2450c5a1c85b74a37798c9b9f96c34 | 227 | py | Python | h1st/h1st/schema/validators/base.py | Mou-Ikkai/h1st | da47a8f1ad6af532c549e075fba19e3b3692de89 | [
"Apache-2.0"
] | 2 | 2020-08-21T07:49:08.000Z | 2020-08-21T07:49:13.000Z | h1st/h1st/schema/validators/base.py | Mou-Ikkai/h1st | da47a8f1ad6af532c549e075fba19e3b3692de89 | [
"Apache-2.0"
] | 3 | 2020-11-13T19:06:07.000Z | 2022-02-10T02:06:03.000Z | h1st/h1st/schema/validators/base.py | Mou-Ikkai/h1st | da47a8f1ad6af532c549e075fba19e3b3692de89 | [
"Apache-2.0"
] | null | null | null | class BaseValidator:
"""
Base class for validator
"""
def is_applicable(self, schema):
raise NotImplementedError()
def validate_type(self, upstream, downstream):
raise NotImplementedError()
| 22.7 | 50 | 0.665198 | 21 | 227 | 7.095238 | 0.761905 | 0.322148 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.246696 | 227 | 9 | 51 | 25.222222 | 0.871345 | 0.105727 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
497a82fc0f55394fc105e283969a6fe2edc93a22 | 409 | py | Python | cmdb/SegNer/AbsolutePath.py | Emmonss/SegmentAndNER-Web | 4a50c6f6d53a94ff612b832eb5fdc202a09afac0 | [
"MIT"
] | 5 | 2019-07-12T07:55:32.000Z | 2022-03-02T12:07:56.000Z | cmdb/SegNer/AbsolutePath.py | immense8342/SegmentAndNER-Web | 4a50c6f6d53a94ff612b832eb5fdc202a09afac0 | [
"MIT"
] | 1 | 2019-07-12T07:56:09.000Z | 2020-08-18T02:02:57.000Z | cmdb/SegNer/AbsolutePath.py | immense8342/SegmentAndNER-Web | 4a50c6f6d53a94ff612b832eb5fdc202a09afac0 | [
"MIT"
] | 2 | 2021-04-02T08:19:05.000Z | 2021-09-09T06:43:42.000Z | CrfSegMoodPath = 'E:\python_code\Djangotest2\cmdb\model\msr.crfsuite'
HmmDIC = 'E:\python_code\Djangotest2\cmdb\model\HMMDic.pkl'
HmmDISTRIBUTION = 'E:\python_code\Djangotest2\cmdb\model\HMMDistribution.pkl'
CrfNERMoodPath = 'E:\python_code\Djangotest2\cmdb\model\PKU.crfsuite'
BiLSTMCXPath = 'E:\python_code\Djangotest2... | 51.125 | 77 | 0.811736 | 52 | 409 | 6.269231 | 0.346154 | 0.128834 | 0.202454 | 0.404908 | 0.570552 | 0.570552 | 0 | 0 | 0 | 0 | 0 | 0.015385 | 0.046455 | 409 | 7 | 78 | 58.428571 | 0.820513 | 0 | 0 | 0 | 0 | 0 | 0.730392 | 0.730392 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 5 |
77044bfa111857bb0f077d5c461a5c4ae07bd4d2 | 136 | py | Python | src/aiortc/exceptions.py | thedilletante/aiortc | c0504b6962484ac26ba8ad065191794ac6f607a4 | [
"BSD-3-Clause"
] | 1,021 | 2018-02-28T07:56:06.000Z | 2022-03-15T04:45:57.000Z | src/aiortc/exceptions.py | thedilletante/aiortc | c0504b6962484ac26ba8ad065191794ac6f607a4 | [
"BSD-3-Clause"
] | 137 | 2018-02-28T08:00:16.000Z | 2019-01-29T12:59:50.000Z | src/aiortc/exceptions.py | thedilletante/aiortc | c0504b6962484ac26ba8ad065191794ac6f607a4 | [
"BSD-3-Clause"
] | 149 | 2018-03-08T08:23:51.000Z | 2022-03-22T16:45:29.000Z | class InternalError(Exception):
pass
class InvalidAccessError(Exception):
pass
class InvalidStateError(Exception):
pass
| 12.363636 | 36 | 0.75 | 12 | 136 | 8.5 | 0.5 | 0.382353 | 0.352941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183824 | 136 | 10 | 37 | 13.6 | 0.918919 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
77340ab223932a1b6abe85c5ebd1914714376a81 | 2,735 | py | Python | tensorflow/python/ops/ragged/__init__.py | uve/tensorflow | e08079463bf43e5963acc41da1f57e95603f8080 | [
"Apache-2.0"
] | null | null | null | tensorflow/python/ops/ragged/__init__.py | uve/tensorflow | e08079463bf43e5963acc41da1f57e95603f8080 | [
"Apache-2.0"
] | null | null | null | tensorflow/python/ops/ragged/__init__.py | uve/tensorflow | e08079463bf43e5963acc41da1f57e95603f8080 | [
"Apache-2.0"
] | null | null | null | # Copyright 2018 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by... | 51.603774 | 81 | 0.772212 | 388 | 2,735 | 5.28866 | 0.373711 | 0.12963 | 0.185185 | 0.212963 | 0.415692 | 0.415692 | 0.415692 | 0.276803 | 0.077973 | 0.053606 | 0 | 0.007566 | 0.130165 | 2,735 | 52 | 82 | 52.596154 | 0.854981 | 0.493601 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.956522 | 0 | 0.956522 | 0.043478 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
7747239b5b3fb6df24b10d7249566a11ad970f0a | 122 | py | Python | menu/admin.py | pawelszopa/django_api_menu | 292c117aa4fea57aed80bbfc9cc2bece5c0da434 | [
"Beerware"
] | null | null | null | menu/admin.py | pawelszopa/django_api_menu | 292c117aa4fea57aed80bbfc9cc2bece5c0da434 | [
"Beerware"
] | null | null | null | menu/admin.py | pawelszopa/django_api_menu | 292c117aa4fea57aed80bbfc9cc2bece5c0da434 | [
"Beerware"
] | null | null | null | from django.contrib import admin
from menu.models import Menu, Dish
admin.site.register(Menu)
admin.site.register(Dish)
| 17.428571 | 34 | 0.803279 | 19 | 122 | 5.157895 | 0.526316 | 0.183673 | 0.346939 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106557 | 122 | 6 | 35 | 20.333333 | 0.899083 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
776107564fb7c0d83de0531664cfd9d4598811ee | 86 | py | Python | scent/scent.py | Onlinehead/lavanda | d75f537164121083eeef43e29a300af2bf39e63b | [
"MIT"
] | null | null | null | scent/scent.py | Onlinehead/lavanda | d75f537164121083eeef43e29a300af2bf39e63b | [
"MIT"
] | null | null | null | scent/scent.py | Onlinehead/lavanda | d75f537164121083eeef43e29a300af2bf39e63b | [
"MIT"
] | null | null | null | import sys
import os
sys.path.append(os.path.join(os.path.realpath(__file__), "../"))
| 21.5 | 64 | 0.72093 | 14 | 86 | 4.142857 | 0.571429 | 0.206897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069767 | 86 | 3 | 65 | 28.666667 | 0.725 | 0 | 0 | 0 | 0 | 0 | 0.034884 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
6200631409798b3faea6fad215270a2c342024d6 | 116 | py | Python | braintree/exceptions/http/connection_error.py | futureironman/braintree_python | 26bb8a857bc29322a8bca2e8e0fe6d99cfe6a1ac | [
"MIT"
] | 182 | 2015-01-09T05:26:46.000Z | 2022-03-16T14:10:06.000Z | braintree/exceptions/http/connection_error.py | futureironman/braintree_python | 26bb8a857bc29322a8bca2e8e0fe6d99cfe6a1ac | [
"MIT"
] | 95 | 2015-02-24T23:29:56.000Z | 2022-03-13T03:27:58.000Z | braintree/exceptions/http/connection_error.py | futureironman/braintree_python | 26bb8a857bc29322a8bca2e8e0fe6d99cfe6a1ac | [
"MIT"
] | 93 | 2015-02-19T17:59:06.000Z | 2022-03-19T17:01:25.000Z | from braintree.exceptions.unexpected_error import UnexpectedError
class ConnectionError(UnexpectedError):
pass
| 23.2 | 65 | 0.853448 | 11 | 116 | 8.909091 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 116 | 4 | 66 | 29 | 0.942308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 5 |
6227bc1f8c4d06c6020ea72eff787d0ed61be626 | 136 | py | Python | keras_bert/activations/gelu_tensorflow.py | Saumitra-Shukla/keras-bert | e60785d31129199ec0f922159e76bb63db330e00 | [
"MIT"
] | 9 | 2018-11-25T11:18:12.000Z | 2021-04-10T11:47:45.000Z | keras_bert/activations/gelu_tensorflow.py | VictorMadu/keras-bert | 26bdfe3c36e77fa0524902f31263a920ccd62efb | [
"MIT"
] | null | null | null | keras_bert/activations/gelu_tensorflow.py | VictorMadu/keras-bert | 26bdfe3c36e77fa0524902f31263a920ccd62efb | [
"MIT"
] | 1 | 2020-04-16T16:17:36.000Z | 2020-04-16T16:17:36.000Z | from tensorflow.python.ops.math_ops import erf, sqrt
__all__ = ['gelu']
def gelu(x):
return 0.5 * x * (1.0 + erf(x / sqrt(2.0)))
| 17 | 52 | 0.617647 | 25 | 136 | 3.16 | 0.68 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055046 | 0.198529 | 136 | 7 | 53 | 19.428571 | 0.669725 | 0 | 0 | 0 | 0 | 0 | 0.029412 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
627a56b87c39ef432f8cfb75aa8b417ee189c675 | 160 | py | Python | 344_reverse_string.py | dakotaw/leetcode | c48bd51e2d8c5342460d2a71683395b3d5b56f6a | [
"MIT"
] | null | null | null | 344_reverse_string.py | dakotaw/leetcode | c48bd51e2d8c5342460d2a71683395b3d5b56f6a | [
"MIT"
] | null | null | null | 344_reverse_string.py | dakotaw/leetcode | c48bd51e2d8c5342460d2a71683395b3d5b56f6a | [
"MIT"
] | null | null | null | # Write a function that takes a string as input and returns the string reversed.
class Solution(object):
def reverseString(self, s):
return s[::-1] | 32 | 80 | 0.7 | 24 | 160 | 4.666667 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007937 | 0.2125 | 160 | 5 | 81 | 32 | 0.880952 | 0.4875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
628d5e5ed2c473715b00c8b6c44cc6d18ec3c737 | 176 | py | Python | pywi/benchmark/__init__.py | jeremiedecock/mrif | 094b0dd81ff2be0e24bf3871caab48da1b5d138b | [
"MIT"
] | 1 | 2021-07-06T06:02:45.000Z | 2021-07-06T06:02:45.000Z | pywi/benchmark/__init__.py | jeremiedecock/mrif | 094b0dd81ff2be0e24bf3871caab48da1b5d138b | [
"MIT"
] | null | null | null | pywi/benchmark/__init__.py | jeremiedecock/mrif | 094b0dd81ff2be0e24bf3871caab48da1b5d138b | [
"MIT"
] | 1 | 2019-01-07T10:50:38.000Z | 2019-01-07T10:50:38.000Z | """Benchmark modules
This package contains modules used to assess image processing algorithms.
"""
from . import core
from . import io
from . import metrics
from . import ui
| 17.6 | 73 | 0.761364 | 24 | 176 | 5.583333 | 0.708333 | 0.298507 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176136 | 176 | 9 | 74 | 19.555556 | 0.924138 | 0.522727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
6554757bca11fadafd1eb936bad911081cf9579d | 1,342 | py | Python | halo/cursor.py | FarzinVatani/halo | 6f83362f6754d52cc68c4d7d352329feaeeac8e1 | [
"MIT"
] | null | null | null | halo/cursor.py | FarzinVatani/halo | 6f83362f6754d52cc68c4d7d352329feaeeac8e1 | [
"MIT"
] | null | null | null | halo/cursor.py | FarzinVatani/halo | 6f83362f6754d52cc68c4d7d352329feaeeac8e1 | [
"MIT"
] | null | null | null | """
Source: https://stackoverflow.com/a/10455937/2692667
"""
import sys
import os
if os.name == "nt":
import ctypes
class _CursorInfo(ctypes.Structure):
_fields_ = [("size", ctypes.c_int),
("visible", ctypes.c_byte)]
def hide(stream=sys.stdout):
"""Hide cursor.
Paramete... | 26.84 | 77 | 0.608048 | 148 | 1,342 | 5.466216 | 0.351351 | 0.088999 | 0.148331 | 0.093943 | 0.704574 | 0.704574 | 0.704574 | 0.704574 | 0.704574 | 0.704574 | 0 | 0.040434 | 0.244411 | 1,342 | 49 | 78 | 27.387755 | 0.757396 | 0.19225 | 0 | 0.555556 | 0 | 0 | 0.043945 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.074074 | false | 0 | 0.111111 | 0 | 0.259259 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
65633b6f97b44d28cb24938f8949b0ea69e44560 | 104 | py | Python | authenticator/admin.py | didoogan/attractgroup-test | fb31bb8962da057962d8b7fe9bd9161c9c507faf | [
"MIT"
] | null | null | null | authenticator/admin.py | didoogan/attractgroup-test | fb31bb8962da057962d8b7fe9bd9161c9c507faf | [
"MIT"
] | null | null | null | authenticator/admin.py | didoogan/attractgroup-test | fb31bb8962da057962d8b7fe9bd9161c9c507faf | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Authenticator
admin.site.register(Authenticator)
| 17.333333 | 34 | 0.836538 | 13 | 104 | 6.692308 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105769 | 104 | 5 | 35 | 20.8 | 0.935484 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
6591fa1c18af7d309f5653ff6ae7fa64b277aafc | 74 | py | Python | xyw_eyes/spider/__init__.py | xue0228/rss | ede005fec298493134ed047d9c119e7c4908e170 | [
"MIT"
] | null | null | null | xyw_eyes/spider/__init__.py | xue0228/rss | ede005fec298493134ed047d9c119e7c4908e170 | [
"MIT"
] | null | null | null | xyw_eyes/spider/__init__.py | xue0228/rss | ede005fec298493134ed047d9c119e7c4908e170 | [
"MIT"
] | null | null | null | from xyw_eyes.spider.spider import Spider, Request
from lxml import etree
| 24.666667 | 50 | 0.837838 | 12 | 74 | 5.083333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121622 | 74 | 2 | 51 | 37 | 0.938462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
659a29fd19e7b39767febb48f7dad48aaa7dce32 | 77,779 | py | Python | frontend/parsetable.py | zengljnwpu/yaspc | 5e85efb5fb8bee02471814b10e950dfb5b04c5d5 | [
"MIT"
] | null | null | null | frontend/parsetable.py | zengljnwpu/yaspc | 5e85efb5fb8bee02471814b10e950dfb5b04c5d5 | [
"MIT"
] | null | null | null | frontend/parsetable.py | zengljnwpu/yaspc | 5e85efb5fb8bee02471814b10e950dfb5b04c5d5 | [
"MIT"
] | null | null | null |
# parsetable.py
# This file is automatically generated. Do not edit.
_tabversion = '3.10'
_lr_method = 'LALR'
_lr_signature = 'AND ARRAY ASSIGNMENT BINDIGSEQ CASE CHAR COLON COMMA COMMENT CONST DIGSEQ DIV DO DOT DOTDOT DOWNTO ELSE END EQUAL FOR FORWARD FUNCTION GE GOTO GT HEXDIGSEQ IDENTIFIER IF IN LABEL LBRAC LE LP... | 279.780576 | 26,706 | 0.731766 | 14,384 | 77,779 | 3.789905 | 0.065768 | 0.036394 | 0.021297 | 0.004549 | 0.566772 | 0.47663 | 0.43077 | 0.386818 | 0.360935 | 0.332667 | 0 | 0.338539 | 0.032669 | 77,779 | 277 | 26,707 | 280.790614 | 0.386015 | 0.000823 | 0 | 0.007463 | 1 | 0.003731 | 0.437428 | 0.160158 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
659c68c86555763d7ff3f0f16c9cb09e6543f538 | 55 | py | Python | emtf_nnet/keras/losses/__init__.py | jiafulow/emtf-nnet | 70a6c747c221178f9db940197ea886bdb60bf3ba | [
"Apache-2.0"
] | null | null | null | emtf_nnet/keras/losses/__init__.py | jiafulow/emtf-nnet | 70a6c747c221178f9db940197ea886bdb60bf3ba | [
"Apache-2.0"
] | null | null | null | emtf_nnet/keras/losses/__init__.py | jiafulow/emtf-nnet | 70a6c747c221178f9db940197ea886bdb60bf3ba | [
"Apache-2.0"
] | null | null | null | from .huber import Huber
from .log_cosh import LogCosh
| 18.333333 | 29 | 0.818182 | 9 | 55 | 4.888889 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145455 | 55 | 2 | 30 | 27.5 | 0.93617 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
65b80a77f9e1c4b491b2fcebb4556c22c0d7d1e2 | 13,743 | py | Python | tests/_processors/test_todatetime.py | ikalnytskyi/holocron | f0bda50f1aab7d1013fac5bd8fb01f7ebeb7bdc3 | [
"BSD-3-Clause"
] | 6 | 2016-11-27T11:53:18.000Z | 2021-02-08T00:37:59.000Z | tests/_processors/test_todatetime.py | ikalnytskyi/holocron | f0bda50f1aab7d1013fac5bd8fb01f7ebeb7bdc3 | [
"BSD-3-Clause"
] | 25 | 2017-04-12T15:27:55.000Z | 2022-01-21T23:37:37.000Z | tests/_processors/test_todatetime.py | ikalnytskyi/holocron | f0bda50f1aab7d1013fac5bd8fb01f7ebeb7bdc3 | [
"BSD-3-Clause"
] | 1 | 2020-11-15T17:49:36.000Z | 2020-11-15T17:49:36.000Z | """Todatetime processor test suite."""
import collections.abc
import datetime
import pathlib
import dateutil.tz
import pytest
import holocron
from holocron._processors import todatetime
_TZ_UTC = dateutil.tz.gettz("UTC")
_TZ_EET = dateutil.tz.gettz("EET")
@pytest.fixture(scope="function")
def testapp():
retur... | 29.054968 | 85 | 0.511679 | 1,448 | 13,743 | 4.799033 | 0.101519 | 0.075982 | 0.077709 | 0.081594 | 0.796661 | 0.763851 | 0.754497 | 0.729745 | 0.712764 | 0.68643 | 0 | 0.082884 | 0.352107 | 13,743 | 472 | 86 | 29.116525 | 0.697552 | 0.067816 | 0 | 0.523573 | 0 | 0 | 0.209415 | 0.044096 | 0 | 0 | 0 | 0 | 0.052109 | 1 | 0.029777 | false | 0 | 0.01737 | 0.002481 | 0.049628 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
028ff9c0ad0e76f557d8978df893fa055850f2ff | 121 | py | Python | app/__init__.py | joepasquale/sql-query-tool | f73a4bdfea03d660475af9e009b69678e03ae655 | [
"MIT"
] | null | null | null | app/__init__.py | joepasquale/sql-query-tool | f73a4bdfea03d660475af9e009b69678e03ae655 | [
"MIT"
] | null | null | null | app/__init__.py | joepasquale/sql-query-tool | f73a4bdfea03d660475af9e009b69678e03ae655 | [
"MIT"
] | null | null | null | from flask import Flask
import os
app = Flask(__name__)
app.secret_key = os.urandom(16)
from app import views
| 13.444444 | 32 | 0.710744 | 19 | 121 | 4.263158 | 0.578947 | 0.271605 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021277 | 0.223141 | 121 | 8 | 33 | 15.125 | 0.840426 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
02b8000d5fc29ee6d8f4b59559f6e499093c8c8a | 28 | py | Python | Candle/__init__.py | naoto64/LED-Candle-for-Raspberry-Pi | 5b884136cf181fbe53ecae5ebea3c0786a0bed59 | [
"MIT"
] | null | null | null | Candle/__init__.py | naoto64/LED-Candle-for-Raspberry-Pi | 5b884136cf181fbe53ecae5ebea3c0786a0bed59 | [
"MIT"
] | null | null | null | Candle/__init__.py | naoto64/LED-Candle-for-Raspberry-Pi | 5b884136cf181fbe53ecae5ebea3c0786a0bed59 | [
"MIT"
] | null | null | null | from Candle.Candle import *
| 14 | 27 | 0.785714 | 4 | 28 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
02c0de0a3f74bc87abd35c3d0c7b577d70be9871 | 59 | py | Python | code/simulator/__init__.py | FrederikWR/course-02443-stochastic-virus-outbreak | 4f1d7f1fa4aa197b31ed86c4daf420d5a637974e | [
"MIT"
] | null | null | null | code/simulator/__init__.py | FrederikWR/course-02443-stochastic-virus-outbreak | 4f1d7f1fa4aa197b31ed86c4daf420d5a637974e | [
"MIT"
] | null | null | null | code/simulator/__init__.py | FrederikWR/course-02443-stochastic-virus-outbreak | 4f1d7f1fa4aa197b31ed86c4daf420d5a637974e | [
"MIT"
] | null | null | null |
from .simulator import Simulator
from .state import State
| 14.75 | 32 | 0.813559 | 8 | 59 | 6 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152542 | 59 | 3 | 33 | 19.666667 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
02f5fba984f2ccabd31eaecebfffa41c5bd5a650 | 85 | py | Python | bnf/test/fixtures/__init__.py | Nikita-Boyarskikh/bnf | 1293b0f2187593989e2484a7af9612477fa8bbe0 | [
"MIT"
] | null | null | null | bnf/test/fixtures/__init__.py | Nikita-Boyarskikh/bnf | 1293b0f2187593989e2484a7af9612477fa8bbe0 | [
"MIT"
] | null | null | null | bnf/test/fixtures/__init__.py | Nikita-Boyarskikh/bnf | 1293b0f2187593989e2484a7af9612477fa8bbe0 | [
"MIT"
] | null | null | null | # flake8: noqa
from .rule_builders import *
from .bnfs import *
from .rules import *
| 17 | 28 | 0.729412 | 12 | 85 | 5.083333 | 0.666667 | 0.327869 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014286 | 0.176471 | 85 | 4 | 29 | 21.25 | 0.857143 | 0.141176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
f31ef5eefcb8f341e5d999d7c3c57972048d4288 | 55 | py | Python | tests/akagi_tests/__init__.py | pauchan/akagi | 7cf1f5a52b8f1ebfdc74a527bf6b26254f99343b | [
"MIT"
] | 26 | 2017-05-18T11:52:04.000Z | 2018-08-25T22:03:07.000Z | tests/akagi_tests/__init__.py | pauchan/akagi | 7cf1f5a52b8f1ebfdc74a527bf6b26254f99343b | [
"MIT"
] | 325 | 2017-05-08T07:22:28.000Z | 2022-03-31T15:43:18.000Z | tests/akagi_tests/__init__.py | pauchan/akagi | 7cf1f5a52b8f1ebfdc74a527bf6b26254f99343b | [
"MIT"
] | 7 | 2017-05-02T02:06:15.000Z | 2020-04-09T05:32:11.000Z | from tests.akagi_tests.data_file_bundle_tests import *
| 27.5 | 54 | 0.872727 | 9 | 55 | 4.888889 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072727 | 55 | 1 | 55 | 55 | 0.862745 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
b831e92af2b2dc1674b110f33b0351f40403ab70 | 321 | py | Python | db_upgrade.py | jeff350/vulnerable-company-webapp-flask | 3148cdb4f345d91bf9670a13dc1b4864adb12810 | [
"MIT"
] | null | null | null | db_upgrade.py | jeff350/vulnerable-company-webapp-flask | 3148cdb4f345d91bf9670a13dc1b4864adb12810 | [
"MIT"
] | 1 | 2017-04-06T16:54:40.000Z | 2017-04-06T16:55:50.000Z | db_upgrade.py | jeff350/vuln-corp | 3148cdb4f345d91bf9670a13dc1b4864adb12810 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
from migrate.versioning import api
from config import SQLALCHEMY_DATABASE_URI
from config import SQLALCHEMY_MIGRATE_REPO
api.upgrade(SQLALCHEMY_DATABASE_URI, SQLALCHEMY_MIGRATE_REPO)
v = api.db_version(SQLALCHEMY_DATABASE_URI, SQLALCHEMY_MIGRATE_REPO)
print('Current database version: ' + str(v))... | 32.1 | 68 | 0.841121 | 45 | 321 | 5.711111 | 0.466667 | 0.210117 | 0.245136 | 0.202335 | 0.326848 | 0.326848 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087227 | 321 | 9 | 69 | 35.666667 | 0.877133 | 0.062305 | 0 | 0 | 0 | 0 | 0.086667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0.166667 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
b83d630ee1d5a11646af26b38adbcda191de83e6 | 41 | py | Python | drklauns/core/mixins/__init__.py | Ameriks/drklauns | bc8febd72ed6d3f685cf9ad48b487d5c9bb4170e | [
"MIT"
] | null | null | null | drklauns/core/mixins/__init__.py | Ameriks/drklauns | bc8febd72ed6d3f685cf9ad48b487d5c9bb4170e | [
"MIT"
] | null | null | null | drklauns/core/mixins/__init__.py | Ameriks/drklauns | bc8febd72ed6d3f685cf9ad48b487d5c9bb4170e | [
"MIT"
] | null | null | null | from .model_mixins import TimestampMixin
| 20.5 | 40 | 0.878049 | 5 | 41 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 41 | 1 | 41 | 41 | 0.945946 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
b8420a83db17aed6e586235001b7fc6010dc7be8 | 3,120 | py | Python | app/tests/v1/test_party_record_views.py | Joshuakemboi/Politic_API | 0cc9eea6a107b8e8686d3839fe5d3efcd4329fd1 | [
"MIT"
] | null | null | null | app/tests/v1/test_party_record_views.py | Joshuakemboi/Politic_API | 0cc9eea6a107b8e8686d3839fe5d3efcd4329fd1 | [
"MIT"
] | null | null | null | app/tests/v1/test_party_record_views.py | Joshuakemboi/Politic_API | 0cc9eea6a107b8e8686d3839fe5d3efcd4329fd1 | [
"MIT"
] | null | null | null | from .base_test import *
import unittest
from io import BytesIO
testapp = app.test_client()
class TestParty(unittest.TestCase):
def party(self,party_name , party_headquarters_address ,party_logo_url):
return testapp.post('/api/v1/party',data=dict(party_name=party_name,
party_headquarters_address ... | 41.6 | 128 | 0.721474 | 415 | 3,120 | 5.113253 | 0.144578 | 0.059378 | 0.082941 | 0.15033 | 0.854383 | 0.753534 | 0.698398 | 0.565504 | 0.414703 | 0.365693 | 0 | 0.022815 | 0.171154 | 3,120 | 75 | 129 | 41.6 | 0.797757 | 0 | 0 | 0.206897 | 0 | 0 | 0.074015 | 0 | 0 | 0 | 0 | 0 | 0.189655 | 1 | 0.344828 | false | 0 | 0.051724 | 0.155172 | 0.568966 | 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 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
b86151314cad1edb056a6d40f13842833238117f | 61 | py | Python | cyder/api/v1/endpoints/dhcp/static_interface/__init__.py | drkitty/cyder | 1babc443cc03aa51fa3c1015bcd22f0ea2e5f0f8 | [
"BSD-3-Clause"
] | 6 | 2015-04-16T23:18:22.000Z | 2020-08-25T22:50:13.000Z | cyder/api/v1/endpoints/dhcp/static_interface/__init__.py | drkitty/cyder | 1babc443cc03aa51fa3c1015bcd22f0ea2e5f0f8 | [
"BSD-3-Clause"
] | 267 | 2015-01-01T00:18:57.000Z | 2015-10-14T00:01:13.000Z | cyder/api/v1/endpoints/dhcp/static_interface/__init__.py | drkitty/cyder | 1babc443cc03aa51fa3c1015bcd22f0ea2e5f0f8 | [
"BSD-3-Clause"
] | 5 | 2015-03-23T00:57:09.000Z | 2019-09-09T22:42:37.000Z | from cyder.api.v1.endpoints.dhcp.static_interface import api
| 30.5 | 60 | 0.852459 | 10 | 61 | 5.1 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017544 | 0.065574 | 61 | 1 | 61 | 61 | 0.877193 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
b884cebffcb0a9005890608dc3213e26c0b2fcfe | 132 | py | Python | mundo1python/Aulas/aula006/desafio001.py | PhabloSouza/Curso-Python3 | cda031cd298cc910a7c337e8762f03dae77e80db | [
"MIT"
] | null | null | null | mundo1python/Aulas/aula006/desafio001.py | PhabloSouza/Curso-Python3 | cda031cd298cc910a7c337e8762f03dae77e80db | [
"MIT"
] | null | null | null | mundo1python/Aulas/aula006/desafio001.py | PhabloSouza/Curso-Python3 | cda031cd298cc910a7c337e8762f03dae77e80db | [
"MIT"
] | null | null | null | n1 = int(input('Digite o valor: '))
n2 = int(input('Digite o valor: '))
s = n1+n2
print('A soma de {} e {} é {}'.format(n1, n2, s))
| 26.4 | 49 | 0.560606 | 25 | 132 | 2.96 | 0.6 | 0.216216 | 0.378378 | 0.405405 | 0.540541 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056075 | 0.189394 | 132 | 4 | 50 | 33 | 0.635514 | 0 | 0 | 0 | 0 | 0 | 0.409091 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.25 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
b8c46191bcb2cd3f6f501328cba36b38e1645b21 | 40 | py | Python | pyrobud/mt4/__init__.py | look416/pyrobud | 0387021963be4a145d812903db7faf048c7b39c2 | [
"MIT"
] | null | null | null | pyrobud/mt4/__init__.py | look416/pyrobud | 0387021963be4a145d812903db7faf048c7b39c2 | [
"MIT"
] | 15 | 2021-11-02T17:39:21.000Z | 2022-03-28T20:01:04.000Z | pyrobud/mt4/__init__.py | look416/pyrobud | 0387021963be4a145d812903db7faf048c7b39c2 | [
"MIT"
] | null | null | null | from .zeromq import DWX_ZeroMQ_Connector | 40 | 40 | 0.9 | 6 | 40 | 5.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 40 | 1 | 40 | 40 | 0.918919 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
b21e9be2f49bfcb4245d13c241e251fa736810de | 102 | py | Python | enthought/graphcanvas/graph_node_hover_tool.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 3 | 2016-12-09T06:05:18.000Z | 2018-03-01T13:00:29.000Z | enthought/graphcanvas/graph_node_hover_tool.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 1 | 2020-12-02T00:51:32.000Z | 2020-12-02T08:48:55.000Z | enthought/graphcanvas/graph_node_hover_tool.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | null | null | null | # proxy module
from __future__ import absolute_import
from graphcanvas.graph_node_hover_tool import *
| 25.5 | 47 | 0.862745 | 14 | 102 | 5.714286 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107843 | 102 | 3 | 48 | 34 | 0.879121 | 0.117647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
b269e933b8cebaba4c34ac654d5c6f213ce81ea9 | 204 | py | Python | moto/ec2/__init__.py | argos83/moto | d3df810065c9c453d40fcc971f9be6b7b2846061 | [
"Apache-2.0"
] | 1 | 2021-03-06T22:01:41.000Z | 2021-03-06T22:01:41.000Z | moto/ec2/__init__.py | marciogh/moto | d3df810065c9c453d40fcc971f9be6b7b2846061 | [
"Apache-2.0"
] | null | null | null | moto/ec2/__init__.py | marciogh/moto | d3df810065c9c453d40fcc971f9be6b7b2846061 | [
"Apache-2.0"
] | 1 | 2017-10-19T00:53:28.000Z | 2017-10-19T00:53:28.000Z | from __future__ import unicode_literals
from .models import ec2_backends
from ..core.models import MockAWS, base_decorator
ec2_backend = ec2_backends['us-east-1']
mock_ec2 = base_decorator(ec2_backends)
| 29.142857 | 49 | 0.828431 | 30 | 204 | 5.233333 | 0.566667 | 0.210191 | 0.203822 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032609 | 0.098039 | 204 | 6 | 50 | 34 | 0.820652 | 0 | 0 | 0 | 0 | 0 | 0.044118 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
b287a2e3241aab20535c83d2213b3ba04319f419 | 9,118 | py | Python | etl/parsers/etw/Microsoft_Windows_WMPNSS_PublicAPI.py | IMULMUL/etl-parser | 76b7c046866ce0469cd129ee3f7bb3799b34e271 | [
"Apache-2.0"
] | 104 | 2020-03-04T14:31:31.000Z | 2022-03-28T02:59:36.000Z | etl/parsers/etw/Microsoft_Windows_WMPNSS_PublicAPI.py | IMULMUL/etl-parser | 76b7c046866ce0469cd129ee3f7bb3799b34e271 | [
"Apache-2.0"
] | 7 | 2020-04-20T09:18:39.000Z | 2022-03-19T17:06:19.000Z | etl/parsers/etw/Microsoft_Windows_WMPNSS_PublicAPI.py | IMULMUL/etl-parser | 76b7c046866ce0469cd129ee3f7bb3799b34e271 | [
"Apache-2.0"
] | 16 | 2020-03-05T18:55:59.000Z | 2022-03-01T10:19:28.000Z | # -*- coding: utf-8 -*-
"""
Microsoft-Windows-WMPNSS-PublicAPI
GUID : 614696c9-85af-4e64-b389-d2c0db4ff87b
"""
from construct import Int8sl, Int8ul, Int16ul, Int16sl, Int32sl, Int32ul, Int64sl, Int64ul, Bytes, Double, Float32l, Struct
from etl.utils import WString, CString, SystemTime, Guid
from etl.dtyp import Sid
fro... | 28.404984 | 123 | 0.688748 | 1,088 | 9,118 | 5.5625 | 0.084559 | 0.103106 | 0.141771 | 0.199769 | 0.921679 | 0.921679 | 0.91573 | 0.639458 | 0.631031 | 0.631031 | 0 | 0.162013 | 0.182935 | 9,118 | 320 | 124 | 28.49375 | 0.650336 | 0.011077 | 0 | 0.504202 | 0 | 0 | 0.221137 | 0.151865 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.016807 | 0 | 0.336134 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
b28ceaf5bd92c0cb6d6502524cdbcfd4230f8c55 | 44 | py | Python | solutions/server/server-12-crud-lists/server/models/__init__.py | FroeMic/CDTM-Backend-Workshop | de3ef16dc89dfd1217565ab2dd4aec753e59cda0 | [
"MIT"
] | null | null | null | solutions/server/server-12-crud-lists/server/models/__init__.py | FroeMic/CDTM-Backend-Workshop | de3ef16dc89dfd1217565ab2dd4aec753e59cda0 | [
"MIT"
] | null | null | null | solutions/server/server-12-crud-lists/server/models/__init__.py | FroeMic/CDTM-Backend-Workshop | de3ef16dc89dfd1217565ab2dd4aec753e59cda0 | [
"MIT"
] | null | null | null | from task import Task
from list import List
| 14.666667 | 21 | 0.818182 | 8 | 44 | 4.5 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 44 | 2 | 22 | 22 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
b2a342bfd6fbe7623314fbfc7408eabb47d84fb6 | 176 | py | Python | WEEKS/CD_Sata-Structures/_MISC/misc-examples/python3-book-examples/inspect/inspect_getmembers_class.py | webdevhub42/Lambda | b04b84fb5b82fe7c8b12680149e25ae0d27a0960 | [
"MIT"
] | null | null | null | WEEKS/CD_Sata-Structures/_MISC/misc-examples/python3-book-examples/inspect/inspect_getmembers_class.py | webdevhub42/Lambda | b04b84fb5b82fe7c8b12680149e25ae0d27a0960 | [
"MIT"
] | null | null | null | WEEKS/CD_Sata-Structures/_MISC/misc-examples/python3-book-examples/inspect/inspect_getmembers_class.py | webdevhub42/Lambda | b04b84fb5b82fe7c8b12680149e25ae0d27a0960 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
"""Using getmembers()
"""
# end_pymotw_header
import inspect
from pprint import pprint
import example
pprint(inspect.getmembers(example.A), width=65)
| 14.666667 | 47 | 0.761364 | 24 | 176 | 5.5 | 0.708333 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019231 | 0.113636 | 176 | 11 | 48 | 16 | 0.826923 | 0.329545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 5 |
a24843359077fdbfb093b2864f7ecae00f4db49d | 312 | py | Python | main.py | elipie/ecolor | 5d98dd26cd0730fd9d473d42f873aead7357a8e3 | [
"MIT"
] | 1 | 2020-10-21T19:53:53.000Z | 2020-10-21T19:53:53.000Z | main.py | elipie/ecolor | 5d98dd26cd0730fd9d473d42f873aead7357a8e3 | [
"MIT"
] | null | null | null | main.py | elipie/ecolor | 5d98dd26cd0730fd9d473d42f873aead7357a8e3 | [
"MIT"
] | null | null | null | from ecolor import slow_color, slow_print, ecolor
ecolor("This is red text", "red")
ecolor("This is bold blue text", "bold_blue")
slow_print("This is slow_print\n", 0.025)
slow_color("This is slow_print but colorful\n", "blue", 0.025)
slow_color("This is slow_print but colorful and bold\n", "bold_blue", 0.025)
| 44.571429 | 76 | 0.74359 | 58 | 312 | 3.827586 | 0.310345 | 0.202703 | 0.135135 | 0.202703 | 0.351351 | 0.351351 | 0.351351 | 0.351351 | 0.351351 | 0.351351 | 0 | 0.043636 | 0.11859 | 312 | 6 | 77 | 52 | 0.763636 | 0 | 0 | 0 | 0 | 0 | 0.50641 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.166667 | 0 | 0.166667 | 0.666667 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
a24ce406d4fcc6e884ef778f46367c6e6d6fd331 | 20,179 | py | Python | grr/server/grr_response_server/foreman_test.py | ahmednofal/grr | 08a57f6873ee13f425d0106e4143663bc6dbdd60 | [
"Apache-2.0"
] | null | null | null | grr/server/grr_response_server/foreman_test.py | ahmednofal/grr | 08a57f6873ee13f425d0106e4143663bc6dbdd60 | [
"Apache-2.0"
] | null | null | null | grr/server/grr_response_server/foreman_test.py | ahmednofal/grr | 08a57f6873ee13f425d0106e4143663bc6dbdd60 | [
"Apache-2.0"
] | 2 | 2020-08-24T00:22:03.000Z | 2020-11-14T08:34:43.000Z | #!/usr/bin/env python
"""Tests for the GRR Foreman."""
from __future__ import absolute_import
from __future__ import unicode_literals
from grr_response_core.lib import flags
from grr_response_core.lib import rdfvalue
from grr_response_core.lib import utils
from grr_response_core.lib.rdfvalues import client as rdf_clie... | 40.438878 | 80 | 0.683136 | 2,255 | 20,179 | 5.921951 | 0.11796 | 0.055714 | 0.047776 | 0.04493 | 0.852179 | 0.814063 | 0.761869 | 0.713494 | 0.699041 | 0.669912 | 0 | 0.057261 | 0.221963 | 20,179 | 498 | 81 | 40.52008 | 0.793312 | 0.089003 | 0 | 0.641667 | 0 | 0 | 0.071409 | 0.001257 | 0 | 0 | 0.001967 | 0 | 0.088889 | 1 | 0.027778 | false | 0 | 0.05 | 0 | 0.088889 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
a26d7621cc495c2c74a8bbd8eb423c8bb0f6fdfa | 86 | py | Python | cl/__main__.py | aalto-speech/speechbrain-cl | 57263893bc79ae3bd4358984d81bf9bb393c5886 | [
"MIT"
] | null | null | null | cl/__main__.py | aalto-speech/speechbrain-cl | 57263893bc79ae3bd4358984d81bf9bb393c5886 | [
"MIT"
] | null | null | null | cl/__main__.py | aalto-speech/speechbrain-cl | 57263893bc79ae3bd4358984d81bf9bb393c5886 | [
"MIT"
] | null | null | null | from . import cli_dispatcher
if __name__ == '__main__':
cli_dispatcher.dispatch() | 21.5 | 29 | 0.744186 | 10 | 86 | 5.4 | 0.8 | 0.481481 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151163 | 86 | 4 | 29 | 21.5 | 0.739726 | 0 | 0 | 0 | 0 | 0 | 0.091954 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
a2eb91e8b6e036aa6ecb1d2d75a4b4c57187a9fd | 417 | py | Python | challenges/radix_sort/test_radix_sort.py | jayadams011/data-structures-and-algorithms | b9a49c65ca769c82b2a34d840bd1e4dd626be025 | [
"MIT"
] | null | null | null | challenges/radix_sort/test_radix_sort.py | jayadams011/data-structures-and-algorithms | b9a49c65ca769c82b2a34d840bd1e4dd626be025 | [
"MIT"
] | 4 | 2018-03-22T16:56:06.000Z | 2018-03-28T23:30:29.000Z | challenges/radix_sort/test_radix_sort.py | jayadams011/data-structures-and-algorithms | b9a49c65ca769c82b2a34d840bd1e4dd626be025 | [
"MIT"
] | null | null | null | """Test and test imports."""
from .radix_sort import radix_sort
import pytest
def test_empty_radix_sort():
"""Test empty radix sort."""
assert radix_sort([]) == []
def test_small_radix_sort():
"""Test small radix sort."""
assert radix_sort([1, 2, 3]) == [1, 2, 3]
def test_large_radix_sort():
"... | 23.166667 | 69 | 0.628297 | 64 | 417 | 3.875 | 0.328125 | 0.399194 | 0.157258 | 0.241935 | 0.290323 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 0.194245 | 417 | 18 | 69 | 23.166667 | 0.654762 | 0.218225 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.375 | 1 | 0.375 | true | 0 | 0.25 | 0 | 0.625 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
0c5282075d2e779c69ae90f8dae7bee592dd4453 | 59 | py | Python | CodeWars/7 Kyu/Convert Integer to Binary.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | CodeWars/7 Kyu/Convert Integer to Binary.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | CodeWars/7 Kyu/Convert Integer to Binary.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | def to_binary(n):
return "{:0b}".format(n & 0xffffffff) | 29.5 | 41 | 0.644068 | 9 | 59 | 4.111111 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 0.152542 | 59 | 2 | 41 | 29.5 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 0 | 0 | 0 | 0.166667 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
0c649388099364c439f66b94de22274ac7a4cd77 | 61 | py | Python | convlab2/policy/ppo/multiwoz/__init__.py | Malavikka/ConvLab-2 | f2a0d251e4fab9e36e9d9f04df6308623d2d780c | [
"Apache-2.0"
] | 339 | 2020-03-04T09:43:22.000Z | 2022-03-26T17:27:38.000Z | convlab2/policy/ppo/multiwoz/__init__.py | Malavikka/ConvLab-2 | f2a0d251e4fab9e36e9d9f04df6308623d2d780c | [
"Apache-2.0"
] | 122 | 2020-04-12T04:19:06.000Z | 2022-03-23T14:20:57.000Z | convlab2/policy/ppo/multiwoz/__init__.py | Malavikka/ConvLab-2 | f2a0d251e4fab9e36e9d9f04df6308623d2d780c | [
"Apache-2.0"
] | 138 | 2020-02-18T16:48:04.000Z | 2022-03-26T17:27:43.000Z | from convlab2.policy.ppo.multiwoz.ppo_policy import PPOPolicy | 61 | 61 | 0.885246 | 9 | 61 | 5.888889 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017241 | 0.04918 | 61 | 1 | 61 | 61 | 0.896552 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
a740d0c7b82bdf8729896c55466011835339141d | 140 | py | Python | 3_extracting_mtf_pymfe/pymfe/__init__.py | FelSiq/ts-pymfe-tests | b11000d9745b7822f026b966d91255ecc7f77564 | [
"MIT"
] | 86 | 2019-03-21T23:56:22.000Z | 2022-02-06T23:18:33.000Z | pymfe/__init__.py | Menelau/pymfe | 4e43c9210a19e3123d9d24a22efa4e65099ed129 | [
"MIT"
] | 100 | 2019-03-21T18:32:30.000Z | 2021-03-19T16:38:41.000Z | pymfe/__init__.py | Menelau/pymfe | 4e43c9210a19e3123d9d24a22efa4e65099ed129 | [
"MIT"
] | 24 | 2019-04-22T17:10:56.000Z | 2021-06-01T14:26:49.000Z | """EXtracts metafeatures from structured datasets.
Todo:
More information here.
"""
from ._version import __version__ # noqa: ignore
| 17.5 | 50 | 0.742857 | 15 | 140 | 6.6 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171429 | 140 | 7 | 51 | 20 | 0.853448 | 0.678571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.