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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2ce56a9b0e0c157f7e782260b13eb1a92f339066 | 217 | py | Python | getting_started/issubclass.py | AoEiuV020/LearningPython | aac0f3f99cfd3d03a96a3c0e41da8f82ea0b8c70 | [
"MIT"
] | null | null | null | getting_started/issubclass.py | AoEiuV020/LearningPython | aac0f3f99cfd3d03a96a3c0e41da8f82ea0b8c70 | [
"MIT"
] | null | null | null | getting_started/issubclass.py | AoEiuV020/LearningPython | aac0f3f99cfd3d03a96a3c0e41da8f82ea0b8c70 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
assert issubclass(int, int)
assert not issubclass(int, float)
assert issubclass(int, (int, float))
class CA:
pass
class CB(CA):
pass
assert issubclass(CB, CA)
| 15.5 | 36 | 0.672811 | 32 | 217 | 4.5625 | 0.5 | 0.328767 | 0.260274 | 0.30137 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011173 | 0.175115 | 217 | 13 | 37 | 16.692308 | 0.804469 | 0.198157 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | true | 0.25 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
fa528401db1ce31fdfc94eb35c7fce4661a5ef57 | 5,843 | py | Python | tests/unit/scalar/test_float.py | remorses/tartiflette-whl | 92bed13de130a7a88278d7019314135e01281259 | [
"MIT"
] | 530 | 2019-06-04T11:45:36.000Z | 2022-03-31T09:29:56.000Z | tests/unit/scalar/test_float.py | remorses/tartiflette-whl | 92bed13de130a7a88278d7019314135e01281259 | [
"MIT"
] | 242 | 2019-06-04T11:53:08.000Z | 2022-03-28T07:06:27.000Z | tests/unit/scalar/test_float.py | remorses/tartiflette-whl | 92bed13de130a7a88278d7019314135e01281259 | [
"MIT"
] | 36 | 2019-06-21T06:40:27.000Z | 2021-11-04T13:11:16.000Z | from decimal import Decimal
import pytest
from tartiflette.scalar.builtins.float import ScalarFloat
@pytest.mark.parametrize(
"value,should_raise_exception,expected",
[
(None, True, "Float cannot represent non numeric value: < None >."),
(True, False, 1.0),
(False, False, 0.0),
... | 35.198795 | 81 | 0.492042 | 686 | 5,843 | 4.155977 | 0.077259 | 0.123115 | 0.205191 | 0.328306 | 0.856892 | 0.81866 | 0.815503 | 0.747106 | 0.593476 | 0.521221 | 0 | 0.07373 | 0.336129 | 5,843 | 165 | 82 | 35.412121 | 0.661253 | 0 | 0 | 0.477987 | 0 | 0 | 0.3796 | 0.012665 | 0 | 0 | 0 | 0 | 0.012579 | 1 | 0.012579 | false | 0 | 0.018868 | 0 | 0.031447 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fa6db850f6af372a5a536faeb89f52657c3a29d5 | 38 | py | Python | sayhello/__init__.py | frzmohammadali/my_pypi_package | 96d12da422cd1d4a644f4742aeed6aa15960e3f5 | [
"MIT"
] | null | null | null | sayhello/__init__.py | frzmohammadali/my_pypi_package | 96d12da422cd1d4a644f4742aeed6aa15960e3f5 | [
"MIT"
] | null | null | null | sayhello/__init__.py | frzmohammadali/my_pypi_package | 96d12da422cd1d4a644f4742aeed6aa15960e3f5 | [
"MIT"
] | null | null | null | def dummy():
print('dummy func!')
| 12.666667 | 24 | 0.578947 | 5 | 38 | 4.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 38 | 2 | 25 | 19 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0.289474 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
d74068eb68232462e579371868414fa8a7448301 | 1,022 | py | Python | utils/__init__.py | Dizzy-cell/HOUV | f7ed05d1b0bb775b22b682c82607252a7a734850 | [
"Apache-2.0"
] | 78 | 2021-07-09T13:44:23.000Z | 2022-03-27T15:16:35.000Z | utils/__init__.py | Dizzy-cell/HOUV | f7ed05d1b0bb775b22b682c82607252a7a734850 | [
"Apache-2.0"
] | 26 | 2021-07-11T08:11:29.000Z | 2022-03-29T15:51:37.000Z | utils/__init__.py | Dizzy-cell/HOUV | f7ed05d1b0bb775b22b682c82607252a7a734850 | [
"Apache-2.0"
] | 5 | 2021-07-25T12:31:06.000Z | 2022-03-14T15:14:22.000Z | from .metrics import (cd, fscore, emd)
from .mm3d_pn2 import (nms, RoIAlign, roi_align, get_compiler_version, get_compiling_cuda_version,
NaiveSyncBatchNorm1d, NaiveSyncBatchNorm2d, sigmoid_focal_loss, SigmoidFocalLoss, ball_query, knn,
furthest_point_sample, furthest_point_sample_with_dist, three_interpolate... | 46.454545 | 112 | 0.755382 | 112 | 1,022 | 6.383929 | 0.383929 | 0.061538 | 0.100699 | 0.117483 | 0.917483 | 0.917483 | 0.917483 | 0.917483 | 0.917483 | 0.917483 | 0 | 0.006795 | 0.136008 | 1,022 | 22 | 113 | 46.454545 | 0.802945 | 0 | 0 | 0 | 0 | 0 | 0.356794 | 0.101662 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.095238 | 0 | 0.095238 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
d77be5cbe92632adbf7f0621b4baf3aa90967ee7 | 131 | py | Python | UI/__init__.py | fossabot/Taurus | f042addc24a3b76713649e08a0f2b3756bdeac28 | [
"MIT"
] | null | null | null | UI/__init__.py | fossabot/Taurus | f042addc24a3b76713649e08a0f2b3756bdeac28 | [
"MIT"
] | 1 | 2019-07-13T14:50:49.000Z | 2019-07-13T14:50:49.000Z | UI/__init__.py | fossabot/Taurus | f042addc24a3b76713649e08a0f2b3756bdeac28 | [
"MIT"
] | 1 | 2019-07-13T14:48:18.000Z | 2019-07-13T14:48:18.000Z | #!/usr/bin/python
from config import USE_THEIR_UI
#if USE_THEIR_UI:
# from UI.UI_theirs import *
#else:
from UI.UI_ours import *
| 14.555556 | 31 | 0.748092 | 24 | 131 | 3.833333 | 0.541667 | 0.173913 | 0.217391 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145038 | 131 | 8 | 32 | 16.375 | 0.821429 | 0.48855 | 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 | 1 | 0 | 0 | 6 |
ad14a1687e641ca5d2326858adb3170c733a644b | 7,097 | py | Python | test.py | ferriswym/learn-with-noisy-labels | 02c90be32cae00ff7f0eb271fbb007b77dd0c0d7 | [
"MIT"
] | 15 | 2019-05-10T10:58:30.000Z | 2021-12-15T04:06:49.000Z | test.py | ferriswym/learn-with-noisy-labels | 02c90be32cae00ff7f0eb271fbb007b77dd0c0d7 | [
"MIT"
] | null | null | null | test.py | ferriswym/learn-with-noisy-labels | 02c90be32cae00ff7f0eb271fbb007b77dd0c0d7 | [
"MIT"
] | 1 | 2020-03-31T07:23:35.000Z | 2020-03-31T07:23:35.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Tue Apr 9 15:02:53 2019
@author: yuming
"""
import sys
sys.path.append('/home/yuming/projects/learn-with-noisy-labels/nets')
import os
import torch
import numpy as np
import pandas as pd
from squeezenet import squeezenet1_1
from PIL import Image
def test... | 45.49359 | 134 | 0.582218 | 937 | 7,097 | 4.234792 | 0.178228 | 0.113407 | 0.041583 | 0.03629 | 0.84123 | 0.826109 | 0.788306 | 0.743952 | 0.727319 | 0.727319 | 0 | 0.052814 | 0.268987 | 7,097 | 156 | 135 | 45.49359 | 0.712028 | 0.068057 | 0 | 0.684615 | 0 | 0 | 0.081753 | 0.038677 | 0 | 0 | 0 | 0 | 0 | 1 | 0.015385 | false | 0 | 0.053846 | 0 | 0.069231 | 0.038462 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
ad2162dfddb6446238239981506c611613621399 | 52 | py | Python | utils/__init__.py | magnusnordlander/silvia-pi | 3b927f73f8c8608a17f1f0e6458d06eff0f1d09a | [
"MIT"
] | 16 | 2020-06-09T22:34:18.000Z | 2021-02-09T15:31:16.000Z | utils/__init__.py | magnusnordlander/silvia-pi | 3b927f73f8c8608a17f1f0e6458d06eff0f1d09a | [
"MIT"
] | null | null | null | utils/__init__.py | magnusnordlander/silvia-pi | 3b927f73f8c8608a17f1f0e6458d06eff0f1d09a | [
"MIT"
] | 1 | 2020-09-03T15:21:15.000Z | 2020-09-03T15:21:15.000Z | from .ResizableRingBuffer import ResizableRingBuffer | 52 | 52 | 0.923077 | 4 | 52 | 12 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057692 | 52 | 1 | 52 | 52 | 0.979592 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ad520c9b4ee550ad888a466d3c49ba98e98bef7b | 2,924 | py | Python | tests/test_reorder_qml.py | jkha-unist/rmsd | 60c996d51aafce17929ae1f157d72ea4e2fcbbf2 | [
"BSD-2-Clause"
] | null | null | null | tests/test_reorder_qml.py | jkha-unist/rmsd | 60c996d51aafce17929ae1f157d72ea4e2fcbbf2 | [
"BSD-2-Clause"
] | 2 | 2018-09-04T13:48:01.000Z | 2018-09-04T13:51:32.000Z | tests/test_reorder_qml.py | jkha-unist/rmsd | 60c996d51aafce17929ae1f157d72ea4e2fcbbf2 | [
"BSD-2-Clause"
] | null | null | null | import copy
import pathlib
import numpy as np
import pytest
from constants import RESOURCE_PATH
import rmsd
qml = pytest.importorskip("qml")
def test_reorder_qml():
filename_1 = pathlib.PurePath(RESOURCE_PATH, "CHEMBL3039407.xyz")
p_atoms, p_coord = rmsd.get_coordinates_xyz(filename_1)
# Reorder ato... | 26.581818 | 76 | 0.669973 | 437 | 2,924 | 4.217391 | 0.196796 | 0.071622 | 0.059685 | 0.039067 | 0.818774 | 0.805751 | 0.805751 | 0.791644 | 0.791644 | 0.791644 | 0 | 0.019556 | 0.230506 | 2,924 | 109 | 77 | 26.825688 | 0.799556 | 0.166553 | 0 | 0.626866 | 0 | 0 | 0.015277 | 0 | 0 | 0 | 0 | 0 | 0.059701 | 1 | 0.029851 | false | 0 | 0.104478 | 0 | 0.134328 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
ad5a5a9816970ce89245e32e8aec23b8216d8dfd | 19,884 | py | Python | purbeurre_project/apps/product/tests/api_off_tests.py | etiennody/purbeurre-v2 | cee10b5ad3ccee6535f197070cd4ee80f2bad5d0 | [
"MIT"
] | null | null | null | purbeurre_project/apps/product/tests/api_off_tests.py | etiennody/purbeurre-v2 | cee10b5ad3ccee6535f197070cd4ee80f2bad5d0 | [
"MIT"
] | 3 | 2020-10-12T13:58:38.000Z | 2020-11-12T01:02:14.000Z | purbeurre_project/apps/product/tests/api_off_tests.py | etiennody/purbeurre-v2 | cee10b5ad3ccee6535f197070cd4ee80f2bad5d0 | [
"MIT"
] | 1 | 2021-02-03T18:49:31.000Z | 2021-02-03T18:49:31.000Z | """Mocking tests to processing import data from Open Food Facts Api
Raises:
Exception: categories from Open Food Facts endpoints is down
Exception: products from Open Food Facts endpoints is down
"""
# pylint: disable=redefined-outer-name
import pytest
import requests
import responses
from product.management.c... | 34.106346 | 84 | 0.550141 | 2,101 | 19,884 | 5.026654 | 0.089957 | 0.024145 | 0.025566 | 0.058801 | 0.850393 | 0.819146 | 0.783733 | 0.773033 | 0.743396 | 0.700502 | 0 | 0.040162 | 0.317542 | 19,884 | 582 | 85 | 34.164948 | 0.738099 | 0.110139 | 0 | 0.684874 | 0 | 0 | 0.25185 | 0 | 0 | 0 | 0 | 0 | 0.096639 | 1 | 0.029412 | false | 0 | 0.044118 | 0 | 0.073529 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
ad98a4eec1f5567ec2b642293b74ec8e98a00539 | 38,083 | py | Python | instances/passenger_demand/pas-20210421-2109-int16e/60.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210421-2109-int16e/60.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210421-2109-int16e/60.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PASSENGERS
"""
numPassengers = 3708
passenger_arriving = (
(3, 10, 11, 5, 1, 0, 7, 8, 5, 7, 1, 0), # 0
(3, 10, 6, 2, 2, 0, 12, 11, 4, 5, 1, 0), # 1
(6, 12, 11, 3, 2, 0, 3, 8, 3, 4, 0, 0), # 2
(6, 12, 13, 3, 4, 0, 8, 11, 11, 4, 3, 0), # 3
(8, 6, 4, 3, 1, 0, 13, 11, 4, 5, 1, 0), # 4
(2, 11, 13, 6, 2, 0,... | 113.680597 | 214 | 0.730483 | 5,147 | 38,083 | 5.402759 | 0.229065 | 0.310702 | 0.245972 | 0.466053 | 0.326956 | 0.326165 | 0.325734 | 0.325734 | 0.325734 | 0.325734 | 0 | 0.820072 | 0.118531 | 38,083 | 334 | 215 | 114.020958 | 0.008311 | 0.031799 | 0 | 0.202532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.015823 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a8e99d9e3d3f7521272b43952ea5d6df3b348baa | 77 | py | Python | remind/view/__init__.py | philFernandez/rmind | f75ca3a3887d7e903fcab8ef6a3a1d4d793a4321 | [
"MIT"
] | null | null | null | remind/view/__init__.py | philFernandez/rmind | f75ca3a3887d7e903fcab8ef6a3a1d4d793a4321 | [
"MIT"
] | 5 | 2021-04-03T07:46:02.000Z | 2021-04-16T09:08:21.000Z | remind/view/__init__.py | philFernandez/rmind | f75ca3a3887d7e903fcab8ef6a3a1d4d793a4321 | [
"MIT"
] | null | null | null | from .views import ListOfRemindersView, ListOfRemindersAndTagView, ViewUtils
| 38.5 | 76 | 0.883117 | 6 | 77 | 11.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077922 | 77 | 1 | 77 | 77 | 0.957746 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d11097b78abac67ea2e0a00dab925277c1bcf9b1 | 26 | py | Python | tools/catkin_ws/devel/lib/python3/dist-packages/tf/msg/__init__.py | yukke42/CenterPointTensorRT | c06ec5da881b4f44f22f9e4b67bebbd35b7d1ed3 | [
"MIT"
] | 68 | 2021-12-06T06:30:13.000Z | 2022-03-30T08:37:19.000Z | TrekBot2_WS/devel/.private/tf/lib/python3/dist-packages/tf/msg/__init__.py | Rafcin/TrekBot | d3dc63e6c16a040b16170f143556ef358018b7da | [
"Unlicense"
] | 8 | 2022-01-07T09:41:02.000Z | 2022-03-22T12:33:07.000Z | TrekBot2_WS/devel/.private/tf/lib/python3/dist-packages/tf/msg/__init__.py | Rafcin/TrekBot | d3dc63e6c16a040b16170f143556ef358018b7da | [
"Unlicense"
] | 22 | 2021-12-15T02:15:27.000Z | 2022-03-30T08:37:22.000Z | from ._tfMessage import *
| 13 | 25 | 0.769231 | 3 | 26 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.863636 | 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 | 1 | 0 | 0 | 6 |
d11cde1995ed0cf8ea82930dd163a7fe454d4e79 | 40 | py | Python | ma_gym/envs/predator_prey/__init__.py | prasuchit/ma-gym | 1b2e76452f3e124aa2b049a78fc4f9eaa383e986 | [
"Apache-2.0"
] | 310 | 2019-08-17T21:27:36.000Z | 2022-03-28T16:47:21.000Z | ma_gym/envs/predator_prey/__init__.py | prasuchit/ma-gym | 1b2e76452f3e124aa2b049a78fc4f9eaa383e986 | [
"Apache-2.0"
] | 26 | 2019-08-25T16:31:56.000Z | 2022-03-31T17:50:30.000Z | ma_gym/envs/predator_prey/__init__.py | nekoaruku/ma-gym | 1c94623571cb81298e8515c99fef70a2fee5df3d | [
"Apache-2.0"
] | 63 | 2019-08-20T11:59:24.000Z | 2022-03-06T17:35:50.000Z | from .predator_prey import PredatorPrey
| 20 | 39 | 0.875 | 5 | 40 | 6.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 1 | 40 | 40 | 0.944444 | 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 | 1 | 0 | 0 | 6 |
d149839be1a315d62f5aa6fcb77c05b54d52e019 | 28 | py | Python | src/main.py | pythonmcpi/Flask-HTTP | 0e606fb30133ca0c0ec22c182a806cbd9e20178f | [
"MIT"
] | null | null | null | src/main.py | pythonmcpi/Flask-HTTP | 0e606fb30133ca0c0ec22c182a806cbd9e20178f | [
"MIT"
] | null | null | null | src/main.py | pythonmcpi/Flask-HTTP | 0e606fb30133ca0c0ec22c182a806cbd9e20178f | [
"MIT"
] | null | null | null | #!/bin/python3
import flask
| 9.333333 | 14 | 0.75 | 4 | 28 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 0.107143 | 28 | 2 | 15 | 14 | 0.8 | 0.464286 | 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 | 1 | 0 | 0 | 6 |
d1757f641f3e2d18ed312334a5c2e0d476e06225 | 529 | py | Python | Lib/site-packages/django_mysql/models/fields/__init__.py | pavanmaganti9/djangoapp | d6210386af89af9dae6397176a26a8fcd588d3b4 | [
"bzip2-1.0.6"
] | null | null | null | Lib/site-packages/django_mysql/models/fields/__init__.py | pavanmaganti9/djangoapp | d6210386af89af9dae6397176a26a8fcd588d3b4 | [
"bzip2-1.0.6"
] | 12 | 2020-02-12T03:04:12.000Z | 2022-02-10T08:54:59.000Z | Lib/site-packages/django_mysql/models/fields/__init__.py | pavanmaganti9/djangoapp | d6210386af89af9dae6397176a26a8fcd588d3b4 | [
"bzip2-1.0.6"
] | null | null | null | from django_mysql.models.fields.bit import Bit1BooleanField, NullBit1BooleanField # noqa
from django_mysql.models.fields.dynamic import DynamicField # noqa
from django_mysql.models.fields.enum import EnumField # noqa
from django_mysql.models.fields.json import JSONField # noqa
from django_mysql.models.fields.lists ... | 66.125 | 89 | 0.839319 | 67 | 529 | 6.522388 | 0.373134 | 0.160183 | 0.240275 | 0.336384 | 0.487414 | 0.425629 | 0 | 0 | 0 | 0 | 0 | 0.004202 | 0.100189 | 529 | 7 | 90 | 75.571429 | 0.913866 | 0.064272 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0f15b65a8d1d1980b154b977a08f0e5119be4ecd | 177 | py | Python | modis/products.py | whistler/modis-util | 045084745f0893d750b0c2e18a14e7cb35aa70e5 | [
"MIT"
] | 2 | 2018-03-27T06:36:24.000Z | 2018-03-27T06:36:24.000Z | modis/products.py | whistler/modis-util | 045084745f0893d750b0c2e18a14e7cb35aa70e5 | [
"MIT"
] | null | null | null | modis/products.py | whistler/modis-util | 045084745f0893d750b0c2e18a14e7cb35aa70e5 | [
"MIT"
] | null | null | null | """
List of MODIS products available on AWS
"""
MCD43A4_006="MCD43A4.006"
MOD09GA_006="MOD09GA.006"
MYD09GA_006="MYD09GA.006"
MOD09GQ_006="MYD09GA.006"
MYD09GQ_006="MYD09GA.006" | 22.125 | 39 | 0.779661 | 27 | 177 | 4.925926 | 0.481481 | 0.300752 | 0.390977 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.317073 | 0.073446 | 177 | 8 | 40 | 22.125 | 0.493902 | 0.220339 | 0 | 0 | 0 | 0 | 0.419847 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0f38a2e433490f80a1790b28921861d41d33f687 | 183 | py | Python | KudamonoDriver/SessionData.py | Jonathan339/Kudamono | bca0d1318497dc18ee40877a260d059acc5a45bc | [
"Apache-2.0"
] | 2 | 2018-07-24T22:16:17.000Z | 2018-08-22T23:48:38.000Z | KudamonoDriver/SessionData.py | Jonathan339/Kudamono | bca0d1318497dc18ee40877a260d059acc5a45bc | [
"Apache-2.0"
] | 1 | 2018-07-02T00:02:55.000Z | 2018-07-02T00:02:55.000Z | KudamonoDriver/SessionData.py | Jonathan339/Kudamono | bca0d1318497dc18ee40877a260d059acc5a45bc | [
"Apache-2.0"
] | 3 | 2018-07-05T09:15:16.000Z | 2018-11-18T11:55:37.000Z | import json
class SessionData():
def __init__(self,session):
self.session = session
def get_session_id(self,session):
return json.loads(session)['sessionId']
| 22.875 | 47 | 0.68306 | 22 | 183 | 5.409091 | 0.590909 | 0.277311 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.20765 | 183 | 7 | 48 | 26.142857 | 0.82069 | 0 | 0 | 0 | 0 | 0 | 0.049451 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.166667 | 0.833333 | 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 | 1 | 1 | 0 | 0 | 6 |
7e56146589bb4fe9ea0e67ceda73fcbaf5500702 | 163 | py | Python | stanfordnlp/__init__.py | zpf19980128/stanfordnlp | 696a6870000f91d76b5b42d3ed7821ba70d55560 | [
"Apache-2.0"
] | 1 | 2019-02-26T08:50:09.000Z | 2019-02-26T08:50:09.000Z | stanfordnlp/__init__.py | zpf19980128/stanfordnlp | 696a6870000f91d76b5b42d3ed7821ba70d55560 | [
"Apache-2.0"
] | null | null | null | stanfordnlp/__init__.py | zpf19980128/stanfordnlp | 696a6870000f91d76b5b42d3ed7821ba70d55560 | [
"Apache-2.0"
] | null | null | null | from stanfordnlp.pipeline.core import Pipeline
from stanfordnlp.pipeline.doc import Document
from stanfordnlp.utils.resources import download
__version__='0.1.1'
| 27.166667 | 48 | 0.846626 | 22 | 163 | 6.090909 | 0.590909 | 0.335821 | 0.343284 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020134 | 0.08589 | 163 | 5 | 49 | 32.6 | 0.879195 | 0 | 0 | 0 | 0 | 0 | 0.030675 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7e9d343b0b3e8ab4d47f213221b944bd5c27395f | 21,953 | py | Python | utils/Unpatching.py | so2liu/CNNArt | 9d91bf08a044e7d5068f8446663726411d2236dd | [
"Apache-2.0"
] | null | null | null | utils/Unpatching.py | so2liu/CNNArt | 9d91bf08a044e7d5068f8446663726411d2236dd | [
"Apache-2.0"
] | null | null | null | utils/Unpatching.py | so2liu/CNNArt | 9d91bf08a044e7d5068f8446663726411d2236dd | [
"Apache-2.0"
] | null | null | null | import numpy as np
import math
#########################################################################################################################################
#Function: fUnpatch2D #
#The functio... | 65.33631 | 321 | 0.576823 | 2,806 | 21,953 | 4.384177 | 0.059872 | 0.039506 | 0.024142 | 0.018777 | 0.863356 | 0.836043 | 0.795562 | 0.768656 | 0.73988 | 0.716388 | 0 | 0.045947 | 0.26042 | 21,953 | 336 | 322 | 65.33631 | 0.711752 | 0.156471 | 0 | 0.5 | 0 | 0 | 0.003236 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.03252 | false | 0.012195 | 0.00813 | 0 | 0.073171 | 0.012195 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
7e9f879af772ce68ef7d373b8ccbe12c77eebc71 | 214 | py | Python | png_to_base64.py | Joejn/myDrive | d3a6f0fe14dcde7755faf64038af03b396a3d619 | [
"MIT"
] | null | null | null | png_to_base64.py | Joejn/myDrive | d3a6f0fe14dcde7755faf64038af03b396a3d619 | [
"MIT"
] | null | null | null | png_to_base64.py | Joejn/myDrive | d3a6f0fe14dcde7755faf64038af03b396a3d619 | [
"MIT"
] | null | null | null | import base64
with open("C:/Users/Neuhauser_Jonas/Downloads/2x/outline_person_black_36dp.png", "rb") as image:
print(base64.b64encode(image.read()))
# print(base64.b64encode(image.read()).decode("utf-8"))
| 35.666667 | 96 | 0.733645 | 31 | 214 | 4.935484 | 0.774194 | 0.143791 | 0.261438 | 0.326797 | 0.379085 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071795 | 0.088785 | 214 | 5 | 97 | 42.8 | 0.712821 | 0.247664 | 0 | 0 | 0 | 0 | 0.433962 | 0.421384 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
0e3b6ce21a87e5e030ba00eb090fac9825816b37 | 144 | py | Python | augmentations/__init__.py | visinf/deblur-devil | 53cc4c72a4ddb9dcede5ee52dc53000c39ff5dab | [
"Apache-2.0"
] | 18 | 2019-11-02T05:45:48.000Z | 2021-09-12T10:03:08.000Z | visualizers/__init__.py | visinf/deblur-devil | 53cc4c72a4ddb9dcede5ee52dc53000c39ff5dab | [
"Apache-2.0"
] | 3 | 2019-12-10T07:52:24.000Z | 2021-04-07T19:14:31.000Z | visualizers/__init__.py | visinf/deblur-devil | 53cc4c72a4ddb9dcede5ee52dc53000c39ff5dab | [
"Apache-2.0"
] | 3 | 2020-05-26T08:02:05.000Z | 2020-09-26T21:25:10.000Z | # Author: Jochen Gast <jochen.gast@visinf.tu-darmstadt.de>
from utils import factories
def init():
factories.import_submodules(__name__)
| 18 | 58 | 0.763889 | 19 | 144 | 5.526316 | 0.789474 | 0.190476 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131944 | 144 | 7 | 59 | 20.571429 | 0.84 | 0.388889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.666667 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7ec08fdb119ce772b56adb104b5bdcc8b56171e3 | 139 | py | Python | boa3_test/test_sc/interop_test/binary/AtoiDefault.py | DanPopa46/neo3-boa | e4ef340744b5bd25ade26f847eac50789b97f3e9 | [
"Apache-2.0"
] | null | null | null | boa3_test/test_sc/interop_test/binary/AtoiDefault.py | DanPopa46/neo3-boa | e4ef340744b5bd25ade26f847eac50789b97f3e9 | [
"Apache-2.0"
] | null | null | null | boa3_test/test_sc/interop_test/binary/AtoiDefault.py | DanPopa46/neo3-boa | e4ef340744b5bd25ade26f847eac50789b97f3e9 | [
"Apache-2.0"
] | null | null | null | from boa3.builtin import public
from boa3.builtin.interop.binary import atoi
@public
def main(value: str) -> int:
return atoi(value)
| 17.375 | 44 | 0.748201 | 21 | 139 | 4.952381 | 0.666667 | 0.153846 | 0.288462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017094 | 0.158273 | 139 | 7 | 45 | 19.857143 | 0.871795 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0.2 | 0.8 | 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 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
7ed3247bad7b90d45537375327f7402b20e5229b | 405 | py | Python | tests/project/app/views.py | nadodrois/fandjango | f127955e7911c85f0867bf0300f49a91ce66f8ee | [
"MIT"
] | 53 | 2015-01-02T09:36:09.000Z | 2022-02-19T20:31:02.000Z | tests/project/app/views.py | nadodrois/fandjango | f127955e7911c85f0867bf0300f49a91ce66f8ee | [
"MIT"
] | 13 | 2015-04-13T21:39:17.000Z | 2021-06-10T17:29:46.000Z | tests/project/app/views.py | nadodrois/fandjango | f127955e7911c85f0867bf0300f49a91ce66f8ee | [
"MIT"
] | 11 | 2015-09-20T20:48:08.000Z | 2021-04-15T12:07:12.000Z | from django.http import HttpResponse
from fandjango.decorators import facebook_authorization_required
@facebook_authorization_required
def home(request):
return HttpResponse()
@facebook_authorization_required(permissions=["checkins"])
def places(request):
return HttpResponse()
@facebook_authorization_requir... | 25.3125 | 67 | 0.819753 | 43 | 405 | 7.511628 | 0.488372 | 0.260062 | 0.359133 | 0.204334 | 0.334365 | 0.334365 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091358 | 405 | 15 | 68 | 27 | 0.877717 | 0 | 0 | 0.272727 | 0 | 0 | 0.064198 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0.181818 | 0.272727 | 0.727273 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
7d09dc968d563402bcdd7902f6390aaf9dfd611e | 33,855 | py | Python | Models/erfh5_ConvModel.py | isse-augsburg/rtm-predictions | cf7336f10a27fadb479b9ef5d341d17200fbf041 | [
"MIT"
] | null | null | null | Models/erfh5_ConvModel.py | isse-augsburg/rtm-predictions | cf7336f10a27fadb479b9ef5d341d17200fbf041 | [
"MIT"
] | null | null | null | Models/erfh5_ConvModel.py | isse-augsburg/rtm-predictions | cf7336f10a27fadb479b9ef5d341d17200fbf041 | [
"MIT"
] | null | null | null | import logging
import torch
import torch.nn.functional as F
from torch import nn
from torch.nn import Conv2d, ConvTranspose2d, Linear
from Models.model_utils import load_model_layers_from_path
from Utils.data_utils import reshape_to_indeces
from Utils.training_utils import count_parameters
class erfh5_Conv3d(nn.Mod... | 36.208556 | 110 | 0.525801 | 4,489 | 33,855 | 3.868345 | 0.062597 | 0.041463 | 0.073078 | 0.049525 | 0.819752 | 0.789462 | 0.764526 | 0.748056 | 0.719551 | 0.69905 | 0 | 0.092388 | 0.326362 | 33,855 | 934 | 111 | 36.247323 | 0.669034 | 0.02106 | 0 | 0.696888 | 0 | 0 | 0.040432 | 0.0055 | 0 | 0 | 0 | 0 | 0 | 1 | 0.041949 | false | 0 | 0.012179 | 0 | 0.105548 | 0.002706 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
7d363eadee1c9b82bc4e3d13f8618eb08144bd21 | 60 | py | Python | config/wtfrestful_c/client/hello/__init__.py | happyfaults/pywtfrestful | 3b22a9ed111d88bf1eab533fc2758283943443e0 | [
"MIT"
] | null | null | null | config/wtfrestful_c/client/hello/__init__.py | happyfaults/pywtfrestful | 3b22a9ed111d88bf1eab533fc2758283943443e0 | [
"MIT"
] | null | null | null | config/wtfrestful_c/client/hello/__init__.py | happyfaults/pywtfrestful | 3b22a9ed111d88bf1eab533fc2758283943443e0 | [
"MIT"
] | null | null | null | from .. import Interactor
class World(Interactor):
pass | 15 | 25 | 0.733333 | 7 | 60 | 6.285714 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183333 | 60 | 4 | 26 | 15 | 0.897959 | 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 | 1 | 0 | 0 | 6 |
addf1c2fdfbfce88d9ba1757119056c12b675f0a | 29 | py | Python | demo/foo/print_me.py | MaxChangInnodisk/py2so | 367da6a0a371da71489e24c055aedf869cbdec6a | [
"MIT"
] | null | null | null | demo/foo/print_me.py | MaxChangInnodisk/py2so | 367da6a0a371da71489e24c055aedf869cbdec6a | [
"MIT"
] | 1 | 2022-03-08T09:43:52.000Z | 2022-03-08T09:43:52.000Z | demo/foo/print_me.py | MaxChangInnodisk/py2so | 367da6a0a371da71489e24c055aedf869cbdec6a | [
"MIT"
] | 1 | 2022-03-08T09:29:44.000Z | 2022-03-08T09:29:44.000Z | def do():
print(__file__) | 14.5 | 19 | 0.62069 | 4 | 29 | 3.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206897 | 29 | 2 | 19 | 14.5 | 0.608696 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
bc0447eddd51b7204c9d247bc38f2f72fb2fe36f | 1,608 | py | Python | tests/test_engine/test_queries/test_queryop_logical_nor.py | bobuk/montydb | 9ee299e7f1d3a7236abb683e0dfe4f7817859b2c | [
"BSD-3-Clause"
] | 478 | 2019-07-31T00:48:11.000Z | 2022-03-18T09:12:29.000Z | tests/test_engine/test_queries/test_queryop_logical_nor.py | bobuk/montydb | 9ee299e7f1d3a7236abb683e0dfe4f7817859b2c | [
"BSD-3-Clause"
] | 47 | 2019-07-28T10:12:22.000Z | 2022-01-04T16:25:12.000Z | tests/test_engine/test_queries/test_queryop_logical_nor.py | bobuk/montydb | 9ee299e7f1d3a7236abb683e0dfe4f7817859b2c | [
"BSD-3-Clause"
] | 26 | 2019-08-09T14:28:29.000Z | 2022-02-22T02:49:51.000Z |
def count_documents(cursor, spec=None):
return cursor.collection.count_documents(spec or {})
def test_qop_nor_1(monty_find, mongo_find):
docs = [
{"a": 4, "b": 6}
]
spec = {"$nor": [{"a": {"$gt": 6}}, {"b": {"$lt": 5}}]}
monty_c = monty_find(docs, spec)
mongo_c = mongo_find(docs, sp... | 26.360656 | 75 | 0.597637 | 238 | 1,608 | 3.756303 | 0.147059 | 0.100671 | 0.116331 | 0.178971 | 0.782998 | 0.782998 | 0.757271 | 0.757271 | 0.729306 | 0.729306 | 0 | 0.020767 | 0.221393 | 1,608 | 60 | 76 | 26.8 | 0.693291 | 0 | 0 | 0.571429 | 0 | 0 | 0.03736 | 0 | 0 | 0 | 0 | 0 | 0.238095 | 1 | 0.119048 | false | 0 | 0 | 0.02381 | 0.142857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 6 |
bc3adaecad2c3a3a502df36c118ed38f0827bf5e | 2,176 | py | Python | examples/oscp/overflow1.py | the-robot/buff | 5fd68935e40543f6df8f134bc48b8f428ad7af55 | [
"WTFPL"
] | 4 | 2021-12-13T00:52:10.000Z | 2022-03-06T17:11:02.000Z | examples/oscp/overflow1.py | the-robot/buff | 5fd68935e40543f6df8f134bc48b8f428ad7af55 | [
"WTFPL"
] | null | null | null | examples/oscp/overflow1.py | the-robot/buff | 5fd68935e40543f6df8f134bc48b8f428ad7af55 | [
"WTFPL"
] | null | null | null | import buff
target = ("10.10.6.56", 1337)
runner = buff.Buff(target = target, prefix = "OVERFLOW1 ")
# ----- 0. Configuration -----
# Set Buffer Size
runner.setBufferSize(2400)
# Set Eip offset
runner.setEipOffset(1978)
# ----- 1. FUZZING -----
# runner.fuzz()
# ----- 2. Send Unique Characters -----
# runner.s... | 34 | 66 | 0.662684 | 420 | 2,176 | 3.428571 | 0.557143 | 0.013889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.238289 | 0.097426 | 2,176 | 63 | 67 | 34.539683 | 0.494908 | 0.126379 | 0 | 0 | 0 | 0.657143 | 0.762712 | 0.743644 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.028571 | 0 | 0.028571 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
70b6971fa3f6e765b3f6e03b8b4c25c27db7be41 | 26 | py | Python | exercises/nth-prime/nth_prime.py | RJTK/python | f9678d629735f75354bbd543eb7f10220a498dae | [
"MIT"
] | 1 | 2021-05-15T19:59:04.000Z | 2021-05-15T19:59:04.000Z | exercises/nth-prime/nth_prime.py | RJTK/python | f9678d629735f75354bbd543eb7f10220a498dae | [
"MIT"
] | null | null | null | exercises/nth-prime/nth_prime.py | RJTK/python | f9678d629735f75354bbd543eb7f10220a498dae | [
"MIT"
] | 2 | 2018-03-03T08:32:12.000Z | 2019-08-22T11:55:53.000Z | def nth_prime():
pass
| 8.666667 | 16 | 0.615385 | 4 | 26 | 3.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.269231 | 26 | 2 | 17 | 13 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | 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 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
cb990c53968fbcc3e8b899013531e154e3f2cfcb | 48 | py | Python | pm4pyws/handlers/xes/ctmc/__init__.py | ehbasouri/pm4py-ws | 9bf5f88848a4aa2873bae86af95d37f64ae1dde1 | [
"Apache-2.0"
] | null | null | null | pm4pyws/handlers/xes/ctmc/__init__.py | ehbasouri/pm4py-ws | 9bf5f88848a4aa2873bae86af95d37f64ae1dde1 | [
"Apache-2.0"
] | null | null | null | pm4pyws/handlers/xes/ctmc/__init__.py | ehbasouri/pm4py-ws | 9bf5f88848a4aa2873bae86af95d37f64ae1dde1 | [
"Apache-2.0"
] | null | null | null | from pm4pyws.handlers.xes.ctmc import transient
| 24 | 47 | 0.854167 | 7 | 48 | 5.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022727 | 0.083333 | 48 | 1 | 48 | 48 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1dbad37852c9e9bb33eca99c1dea7eff8c435846 | 24 | py | Python | python_packages/service_display/__init__.py | an-dr/zakhar_service | 43dd57e9047c9e29710b4ce474e2c92caa9518b2 | [
"MIT"
] | null | null | null | python_packages/service_display/__init__.py | an-dr/zakhar_service | 43dd57e9047c9e29710b4ce474e2c92caa9518b2 | [
"MIT"
] | 13 | 2021-01-08T14:14:34.000Z | 2021-12-11T21:01:08.000Z | python_packages/service_display/__init__.py | an-dr/zakhar_service | 43dd57e9047c9e29710b4ce474e2c92caa9518b2 | [
"MIT"
] | null | null | null | from .start import start | 24 | 24 | 0.833333 | 4 | 24 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 24 | 1 | 24 | 24 | 0.952381 | 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 | 1 | 0 | 0 | 6 |
381b3bf0c333b5ab93e655083fe6b4649ab7daad | 104 | py | Python | Draft/Rounding thing in python.py | mwk0408/codewars_solutions | 9b4f502b5f159e68024d494e19a96a226acad5e5 | [
"MIT"
] | 6 | 2020-09-03T09:32:25.000Z | 2020-12-07T04:10:01.000Z | Draft/Rounding thing in python.py | mwk0408/codewars_solutions | 9b4f502b5f159e68024d494e19a96a226acad5e5 | [
"MIT"
] | 1 | 2021-12-13T15:30:21.000Z | 2021-12-13T15:30:21.000Z | Draft/Rounding thing in python.py | mwk0408/codewars_solutions | 9b4f502b5f159e68024d494e19a96a226acad5e5 | [
"MIT"
] | null | null | null | def typing_test(seconds,sentence):
return f"{round(len(sentence.split())*60/seconds+0.0000001)} WPM" | 52 | 69 | 0.740385 | 16 | 104 | 4.75 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104167 | 0.076923 | 104 | 2 | 69 | 52 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0.52381 | 0.485714 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
69754571cb5e1dc924e000b3492fa83dee6711a2 | 17 | py | Python | samplepkg/__init__.py | schahal/sample | 61e5e76598011e64d859eaeceb9f724feb319e07 | [
"MIT"
] | null | null | null | samplepkg/__init__.py | schahal/sample | 61e5e76598011e64d859eaeceb9f724feb319e07 | [
"MIT"
] | null | null | null | samplepkg/__init__.py | schahal/sample | 61e5e76598011e64d859eaeceb9f724feb319e07 | [
"MIT"
] | null | null | null | # Copyright 2020
| 8.5 | 16 | 0.764706 | 2 | 17 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 0.176471 | 17 | 1 | 17 | 17 | 0.642857 | 0.823529 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 | 6 |
69927072fb32826b173e2359ec82758fdb16f56b | 28 | py | Python | monster/__init__.py | ConnorSMaynes/monster | 55182a243d68c5e2392b36fe89c90a8e7c3f7048 | [
"MIT"
] | 2 | 2019-07-19T02:28:10.000Z | 2021-01-17T11:48:30.000Z | monster/__init__.py | ConnorSMaynes/monster | 55182a243d68c5e2392b36fe89c90a8e7c3f7048 | [
"MIT"
] | null | null | null | monster/__init__.py | ConnorSMaynes/monster | 55182a243d68c5e2392b36fe89c90a8e7c3f7048 | [
"MIT"
] | 3 | 2019-07-19T02:28:13.000Z | 2021-12-09T05:50:29.000Z | from .monster import Monster | 28 | 28 | 0.857143 | 4 | 28 | 6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 28 | 1 | 28 | 28 | 0.96 | 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 | 1 | 0 | 0 | 6 |
69e5bf08d240fc93c9f6f6d86a0f303c1388ca1b | 288 | py | Python | tests/fixtures/credentials.py | ExpressApp/pybotx | 97c8b1ce5d45a05567ed01d545cb43174a2dcbb9 | [
"MIT"
] | 13 | 2021-01-21T12:43:10.000Z | 2022-03-23T11:11:59.000Z | tests/fixtures/credentials.py | ExpressApp/pybotx | 97c8b1ce5d45a05567ed01d545cb43174a2dcbb9 | [
"MIT"
] | 259 | 2020-02-26T08:51:03.000Z | 2022-03-23T11:08:36.000Z | tests/fixtures/credentials.py | ExpressApp/pybotx | 97c8b1ce5d45a05567ed01d545cb43174a2dcbb9 | [
"MIT"
] | 5 | 2019-12-02T16:19:22.000Z | 2021-11-22T20:33:34.000Z | import uuid
import pytest
@pytest.fixture()
def host():
return "cts.example.com"
@pytest.fixture()
def secret_key():
return "secret-key-for-token"
@pytest.fixture()
def token():
return "generated-token-for-bot"
@pytest.fixture()
def bot_id():
return uuid.uuid4()
| 12 | 36 | 0.673611 | 39 | 288 | 4.923077 | 0.461538 | 0.270833 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004184 | 0.170139 | 288 | 23 | 37 | 12.521739 | 0.799163 | 0 | 0 | 0.285714 | 0 | 0 | 0.201389 | 0.079861 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | true | 0 | 0.142857 | 0.285714 | 0.714286 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
69f6d198952edd4fa0afeaf3338821f11f04ff06 | 180 | py | Python | fuel_additive/init/pypi.py | skdong/fuel-additive | a0ce9516ee7510a1ed02264a775cb50b35b84b48 | [
"Apache-2.0"
] | null | null | null | fuel_additive/init/pypi.py | skdong/fuel-additive | a0ce9516ee7510a1ed02264a775cb50b35b84b48 | [
"Apache-2.0"
] | null | null | null | fuel_additive/init/pypi.py | skdong/fuel-additive | a0ce9516ee7510a1ed02264a775cb50b35b84b48 | [
"Apache-2.0"
] | null | null | null |
def _install_pip():
pass
def _set_pypi():
pass
def _install_python_packages():
pass
def init():
_install_pip()
_set_pypi()
_install_python_packages() | 10.588235 | 31 | 0.655556 | 22 | 180 | 4.727273 | 0.409091 | 0.201923 | 0.403846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.244444 | 180 | 17 | 32 | 10.588235 | 0.764706 | 0 | 0 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | true | 0.3 | 0 | 0 | 0.4 | 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 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
0e1317b2ff2b3698b6069bbde8bfca36ad6cfcf2 | 2,155 | py | Python | npstreams/tests/test_parallel.py | LaurentRDC/npstreams | 730e77eed3ee594e212ccd500558558fc7f37642 | [
"BSD-3-Clause"
] | 30 | 2017-10-22T22:07:53.000Z | 2022-03-08T19:42:14.000Z | npstreams/tests/test_parallel.py | LaurentRDC/npstreams | 730e77eed3ee594e212ccd500558558fc7f37642 | [
"BSD-3-Clause"
] | null | null | null | npstreams/tests/test_parallel.py | LaurentRDC/npstreams | 730e77eed3ee594e212ccd500558558fc7f37642 | [
"BSD-3-Clause"
] | 1 | 2019-08-08T14:34:48.000Z | 2019-08-08T14:34:48.000Z | # -*- coding: utf-8 -*-
from npstreams import pmap, pmap_unordered, preduce
from functools import reduce
import numpy as np
from operator import add
def identity(obj, *args, **kwargs):
"""ignores args and kwargs"""
return obj
def test_preduce_preduce_one_process():
"""Test that preduce reduces to functo... | 29.930556 | 86 | 0.704872 | 291 | 2,155 | 5.058419 | 0.230241 | 0.038043 | 0.069293 | 0.07337 | 0.720109 | 0.720109 | 0.720109 | 0.70788 | 0.70788 | 0.70788 | 0 | 0.01875 | 0.183295 | 2,155 | 71 | 87 | 30.352113 | 0.817614 | 0.224594 | 0 | 0.45 | 0 | 0 | 0.004923 | 0 | 0 | 0 | 0 | 0 | 0.175 | 1 | 0.225 | false | 0.025 | 0.1 | 0 | 0.35 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
386ce39cb0d83e72ff471b651199c0dfdb10c020 | 34 | py | Python | __init__.py | augusnunes/cjs-bot | a585eccbf52506acfe8a0c6d9a756d28af2a0d89 | [
"MIT"
] | 1 | 2021-04-08T23:37:30.000Z | 2021-04-08T23:37:30.000Z | __init__.py | augusnunes/cjs-bot | a585eccbf52506acfe8a0c6d9a756d28af2a0d89 | [
"MIT"
] | null | null | null | __init__.py | augusnunes/cjs-bot | a585eccbf52506acfe8a0c6d9a756d28af2a0d89 | [
"MIT"
] | null | null | null | from cjsbot.cjsimbot import CjsBot | 34 | 34 | 0.882353 | 5 | 34 | 6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 34 | 1 | 34 | 34 | 0.967742 | 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 | 1 | 0 | 0 | 6 |
38a71f0fa045ea43c125e878a7b8eceaab6c45dc | 134 | py | Python | patsy/__init__.py | python-discord/patsy | 159fb05022d7302e7ef5df4ddce108b293a5bc19 | [
"MIT"
] | 1 | 2022-01-16T21:02:53.000Z | 2022-01-16T21:02:53.000Z | patsy/__init__.py | python-discord/patsy | 159fb05022d7302e7ef5df4ddce108b293a5bc19 | [
"MIT"
] | null | null | null | patsy/__init__.py | python-discord/patsy | 159fb05022d7302e7ef5df4ddce108b293a5bc19 | [
"MIT"
] | 2 | 2021-11-07T21:16:02.000Z | 2021-12-05T20:00:45.000Z | from functools import partial
import loguru
logger = loguru.logger.opt(colors=False)
logger.opt = partial(logger.opt, colors=False)
| 19.142857 | 46 | 0.791045 | 19 | 134 | 5.578947 | 0.473684 | 0.254717 | 0.283019 | 0.377358 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11194 | 134 | 6 | 47 | 22.333333 | 0.890756 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 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 | 6 |
38e19fbefc58fc730474ac4f54d4bd8c98d32c57 | 23 | py | Python | stampman/services/mailgun/__init__.py | thunderboltsid/stampman | a360672df9b0ccbaa9f5f3d25a61470a18fe5a7a | [
"MIT"
] | 1 | 2016-12-02T19:24:20.000Z | 2016-12-02T19:24:20.000Z | stampman/services/mailgun/__init__.py | thunderboltsid/stampman | a360672df9b0ccbaa9f5f3d25a61470a18fe5a7a | [
"MIT"
] | null | null | null | stampman/services/mailgun/__init__.py | thunderboltsid/stampman | a360672df9b0ccbaa9f5f3d25a61470a18fe5a7a | [
"MIT"
] | null | null | null | from .mailgun import *
| 11.5 | 22 | 0.73913 | 3 | 23 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.894737 | 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 | 1 | 0 | 0 | 6 |
2a1182043b82e93d5bbc8b8894f3231d2bc75269 | 312 | py | Python | pandapipes/component_models/abstract_models/__init__.py | nsanina/pandapipes | b2daaca6b83e7d8934502796721846bd9d552364 | [
"BSD-3-Clause"
] | null | null | null | pandapipes/component_models/abstract_models/__init__.py | nsanina/pandapipes | b2daaca6b83e7d8934502796721846bd9d552364 | [
"BSD-3-Clause"
] | null | null | null | pandapipes/component_models/abstract_models/__init__.py | nsanina/pandapipes | b2daaca6b83e7d8934502796721846bd9d552364 | [
"BSD-3-Clause"
] | null | null | null | from .component_models import *
from .branch_models import *
from .branch_w_internals_models import *
from .branch_wo_internals_models import *
from .branch_wzerolength_models import *
from .node_element_models import *
from .node_models import *
from .const_flow_models import *
from .circulation_pump import *
| 31.2 | 41 | 0.826923 | 43 | 312 | 5.627907 | 0.348837 | 0.396694 | 0.528926 | 0.363636 | 0.256198 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 312 | 9 | 42 | 34.666667 | 0.876812 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
2a1b1ed801a0c9e2a0ad0cf54f567934c09c9326 | 119 | py | Python | src/tespy/networks/__init__.py | jbueck/tespy | dd7a2633ce12f33b4936ae902f4fe5df29191690 | [
"MIT"
] | null | null | null | src/tespy/networks/__init__.py | jbueck/tespy | dd7a2633ce12f33b4936ae902f4fe5df29191690 | [
"MIT"
] | null | null | null | src/tespy/networks/__init__.py | jbueck/tespy | dd7a2633ce12f33b4936ae902f4fe5df29191690 | [
"MIT"
] | null | null | null | # -*- coding: utf-8
from .network_reader import load_network # noqa: F401
from .networks import network # noqa: F401
| 29.75 | 54 | 0.731092 | 17 | 119 | 5 | 0.647059 | 0.258824 | 0.352941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070707 | 0.168067 | 119 | 3 | 55 | 39.666667 | 0.787879 | 0.327731 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
2a22a1fcd84a0441bf8f0985d98344895ab0839e | 6,737 | py | Python | 010 Remove Duplicates From Linked List/Remove_Duplicates_From_Linked_List_test.py | Iftakharpy/AlgoExpert-Questions | f4aef449bfe0ee651d84a92487c3b3bedb3aa739 | [
"Apache-2.0"
] | 3 | 2021-11-19T07:32:27.000Z | 2022-03-22T13:46:27.000Z | 010 Remove Duplicates From Linked List/Remove_Duplicates_From_Linked_List_test.py | Iftakharpy/AlgoExpert-Questions | f4aef449bfe0ee651d84a92487c3b3bedb3aa739 | [
"Apache-2.0"
] | null | null | null | 010 Remove Duplicates From Linked List/Remove_Duplicates_From_Linked_List_test.py | Iftakharpy/AlgoExpert-Questions | f4aef449bfe0ee651d84a92487c3b3bedb3aa739 | [
"Apache-2.0"
] | 5 | 2022-01-02T11:51:12.000Z | 2022-03-22T13:53:32.000Z | from Remove_Duplicates_From_Linked_List import LinkedList, removeDuplicatesFromLinkedList
def construct_node(node, next_node=None):
if node==None:
return None
ll = LinkedList(node['value'])
ll.next = next_node
return ll
def find_node_with_id(nodes, id):
for node in node... | 69.453608 | 510 | 0.488199 | 892 | 6,737 | 3.610987 | 0.050448 | 0.026079 | 0.059609 | 0.039118 | 0.813412 | 0.797578 | 0.791059 | 0.755976 | 0.755976 | 0.745731 | 0 | 0.076083 | 0.198159 | 6,737 | 96 | 511 | 70.177083 | 0.520178 | 0 | 0 | 0.370968 | 0 | 0 | 0.235055 | 0 | 0 | 0 | 0 | 0 | 0.112903 | 1 | 0.16129 | false | 0 | 0.016129 | 0.016129 | 0.241935 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
2a6140d0e3f35fef89a3cfd5559add3bb4e981f5 | 43 | py | Python | src/rubrix/server/tasks/commons/api/__init__.py | drahnreb/rubrix | 340e545baf4d65a0d94e3c671ad6c93ff1d59700 | [
"Apache-2.0"
] | null | null | null | src/rubrix/server/tasks/commons/api/__init__.py | drahnreb/rubrix | 340e545baf4d65a0d94e3c671ad6c93ff1d59700 | [
"Apache-2.0"
] | null | null | null | src/rubrix/server/tasks/commons/api/__init__.py | drahnreb/rubrix | 340e545baf4d65a0d94e3c671ad6c93ff1d59700 | [
"Apache-2.0"
] | null | null | null | from .model import *
from .search import *
| 14.333333 | 21 | 0.72093 | 6 | 43 | 5.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186047 | 43 | 2 | 22 | 21.5 | 0.885714 | 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 | 1 | 0 | 0 | 6 |
aa6a386d41025d1d3c3969949c6d9917b9c643a5 | 1,704 | py | Python | tests/sql_parser/ast/test_union_is_parsed.py | vladbalmos/mitzasql | 06c2a96eb4494095b2b72bc1454199a4940b0700 | [
"MIT"
] | 69 | 2019-05-16T06:40:18.000Z | 2022-03-24T06:23:49.000Z | tests/sql_parser/ast/test_union_is_parsed.py | vladbalmos/mitzasql | 06c2a96eb4494095b2b72bc1454199a4940b0700 | [
"MIT"
] | 36 | 2019-05-15T19:55:24.000Z | 2021-07-22T07:07:14.000Z | tests/sql_parser/ast/test_union_is_parsed.py | vladbalmos/mitzasql | 06c2a96eb4494095b2b72bc1454199a4940b0700 | [
"MIT"
] | 8 | 2019-05-16T06:56:28.000Z | 2022-02-11T02:24:12.000Z | import pytest
from mitzasql.sql_parser.parser import parse
from mitzasql.utils import dfs
def test_union_is_parsed():
raw_sql = '''
SELECT col1, col2 FROM tbl1
UNION
SELECT col1, col2 FROM tbl2
'''
ast = parse(raw_sql)
assert len(ast) > 0
ast = ast[0]
assert ast.type == 'operato... | 21.846154 | 54 | 0.623239 | 234 | 1,704 | 4.423077 | 0.175214 | 0.113043 | 0.114976 | 0.104348 | 0.805797 | 0.768116 | 0.710145 | 0.710145 | 0.710145 | 0.710145 | 0 | 0.032915 | 0.251174 | 1,704 | 77 | 55 | 22.12987 | 0.778213 | 0 | 0 | 0.637931 | 0 | 0 | 0.283451 | 0 | 0 | 0 | 0 | 0 | 0.362069 | 1 | 0.051724 | false | 0 | 0.051724 | 0 | 0.103448 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
aa7c16bb6b582a110f4fcf707e3380a66c7e4bad | 46 | py | Python | 2020/alaska2-image-steganalysis/schedulers/__init__.py | kn25ha01/kaggle-competitions | fce44d6758c4757a7d0a0a6b00d756ff26a97d3f | [
"MIT"
] | null | null | null | 2020/alaska2-image-steganalysis/schedulers/__init__.py | kn25ha01/kaggle-competitions | fce44d6758c4757a7d0a0a6b00d756ff26a97d3f | [
"MIT"
] | null | null | null | 2020/alaska2-image-steganalysis/schedulers/__init__.py | kn25ha01/kaggle-competitions | fce44d6758c4757a7d0a0a6b00d756ff26a97d3f | [
"MIT"
] | null | null | null | from .scheduler_factory import get_scheduler
| 15.333333 | 44 | 0.869565 | 6 | 46 | 6.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108696 | 46 | 2 | 45 | 23 | 0.926829 | 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 | 1 | 0 | 0 | 6 |
aa871c25c456a0fcacc76cf66d630e4f572f16b2 | 149 | py | Python | Dataset/Leetcode/test/66/609.py | kkcookies99/UAST | fff81885aa07901786141a71e5600a08d7cb4868 | [
"MIT"
] | null | null | null | Dataset/Leetcode/test/66/609.py | kkcookies99/UAST | fff81885aa07901786141a71e5600a08d7cb4868 | [
"MIT"
] | null | null | null | Dataset/Leetcode/test/66/609.py | kkcookies99/UAST | fff81885aa07901786141a71e5600a08d7cb4868 | [
"MIT"
] | null | null | null | class Solution:
def XXX(self, digits: List[int]) -> List[int]:
return [int(i) for i in str(int("".join([str(i) for i in digits])) + 1)]
| 29.8 | 80 | 0.577181 | 26 | 149 | 3.307692 | 0.576923 | 0.162791 | 0.116279 | 0.162791 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008621 | 0.221477 | 149 | 4 | 81 | 37.25 | 0.732759 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
aacb4076ceab3211b0ddd6cf0b4ee66fc626148a | 31 | py | Python | plugins/pelican-cover-image/__init__.py | chalkless/tdwg-website | b0be535fcd5acd48205da1982412a263ec3d7f01 | [
"CC-BY-4.0"
] | 12 | 2017-10-03T13:35:54.000Z | 2022-03-18T13:23:34.000Z | plugins/pelican-cover-image/__init__.py | chalkless/tdwg-website | b0be535fcd5acd48205da1982412a263ec3d7f01 | [
"CC-BY-4.0"
] | 110 | 2017-08-11T12:54:00.000Z | 2022-03-20T22:04:20.000Z | plugins/pelican-cover-image/__init__.py | chalkless/tdwg-website | b0be535fcd5acd48205da1982412a263ec3d7f01 | [
"CC-BY-4.0"
] | 59 | 2017-11-07T05:04:42.000Z | 2022-03-22T19:39:23.000Z | from .cover_image_url import *
| 15.5 | 30 | 0.806452 | 5 | 31 | 4.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.851852 | 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 | 1 | 0 | 0 | 6 |
aad20af7484a18dc311fa6ef986c49c230576c11 | 208 | py | Python | nbdev_export_demo/module2.py | hamelsmu/nbdev_export_demo | 947deeeefd33b0d70538927d162172c767d8bf4c | [
"Apache-2.0"
] | null | null | null | nbdev_export_demo/module2.py | hamelsmu/nbdev_export_demo | 947deeeefd33b0d70538927d162172c767d8bf4c | [
"Apache-2.0"
] | 30 | 2021-05-04T21:44:07.000Z | 2022-03-20T03:07:58.000Z | nbdev_export_demo/module2.py | hamelsmu/nbdev_export_demo | 947deeeefd33b0d70538927d162172c767d8bf4c | [
"Apache-2.0"
] | 1 | 2022-02-20T17:10:20.000Z | 2022-02-20T17:10:20.000Z | # AUTOGENERATED! DO NOT EDIT! File to edit: module2.ipynb (unless otherwise specified).
__all__ = ['func3', 'nothing_again']
# Comes from demo.ipynb, cell
def func3(): pass
# Cell
def nothing_again(): pass | 23.111111 | 87 | 0.725962 | 29 | 208 | 5 | 0.724138 | 0.165517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016949 | 0.149038 | 208 | 9 | 88 | 23.111111 | 0.80226 | 0.567308 | 0 | 0 | 1 | 0 | 0.206897 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.666667 | false | 0.666667 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
aad65cfc4bcff7ff2bc2ba7e498033b1a39ec3fe | 82 | py | Python | toy/__init__.py | bheavner/python_toy | 51cb42232784da9d8d39b95d3994bc75548ff2a3 | [
"MIT"
] | null | null | null | toy/__init__.py | bheavner/python_toy | 51cb42232784da9d8d39b95d3994bc75548ff2a3 | [
"MIT"
] | null | null | null | toy/__init__.py | bheavner/python_toy | 51cb42232784da9d8d39b95d3994bc75548ff2a3 | [
"MIT"
] | null | null | null | """enable 'import toy' for 'toy.hello_func()'"""
from toy.hello import hello_func
| 27.333333 | 48 | 0.719512 | 13 | 82 | 4.384615 | 0.538462 | 0.280702 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109756 | 82 | 2 | 49 | 41 | 0.780822 | 0.512195 | 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 | 1 | 0 | 0 | 6 |
2ae4cd3986b0d38cdc343367685630c2574216f8 | 5,495 | py | Python | shakespearelang/tests/unit/test_character_output.py | btc1311/shakespearelang | 5cdbd5023252f2ada124d1b2d2390c9d7e79e395 | [
"MIT"
] | null | null | null | shakespearelang/tests/unit/test_character_output.py | btc1311/shakespearelang | 5cdbd5023252f2ada124d1b2d2390c9d7e79e395 | [
"MIT"
] | null | null | null | shakespearelang/tests/unit/test_character_output.py | btc1311/shakespearelang | 5cdbd5023252f2ada124d1b2d2390c9d7e79e395 | [
"MIT"
] | null | null | null | from shakespearelang.shakespeare_interpreter import Shakespeare
from io import StringIO
import pytest
def test_outputs_correct_character(capsys):
s = Shakespeare()
s.run_dramatis_persona('Juliet, a test.')
s.run_dramatis_persona('Romeo, a test.')
s.run_event('[Enter Romeo and Juliet]')
s._characte... | 36.633333 | 83 | 0.683712 | 744 | 5,495 | 4.763441 | 0.111559 | 0.130361 | 0.177765 | 0.094808 | 0.937359 | 0.928612 | 0.921275 | 0.921275 | 0.921275 | 0.783578 | 0 | 0.014295 | 0.17252 | 5,495 | 149 | 84 | 36.879195 | 0.76512 | 0 | 0 | 0.637097 | 0 | 0 | 0.143949 | 0 | 0 | 0 | 0 | 0 | 0.33871 | 1 | 0.024194 | false | 0 | 0.024194 | 0 | 0.048387 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
2d5ff33d52f278070c8100dd58ae7ef047d371c9 | 21,070 | py | Python | tests/app/main/test_signup.py | AusDTO/dto-digitalmarketplace-supplier-frontend | cdba4f9404b4ffe0fb7459c5aa65daa9826682a7 | [
"MIT"
] | 1 | 2018-01-04T18:11:52.000Z | 2018-01-04T18:11:52.000Z | tests/app/main/test_signup.py | AusDTO/dto-digitalmarketplace-supplier-frontend | cdba4f9404b4ffe0fb7459c5aa65daa9826682a7 | [
"MIT"
] | 18 | 2016-08-24T05:24:41.000Z | 2021-07-30T02:01:44.000Z | tests/app/main/test_signup.py | AusDTO/dto-digitalmarketplace-supplier-frontend | cdba4f9404b4ffe0fb7459c5aa65daa9826682a7 | [
"MIT"
] | 5 | 2016-09-13T13:07:15.000Z | 2021-02-15T16:13:41.000Z | import mock
from ..helpers import BaseApplicationTest
from dmutils.forms import FakeCsrf
from dmutils.email import EmailError
from app.main.views.signup import render_create_application
from dmapiclient import HTTPError
from io import BytesIO
import json
def get_application(id):
return {'application': {
'... | 42.738337 | 120 | 0.659563 | 2,546 | 21,070 | 5.146112 | 0.080518 | 0.068844 | 0.072432 | 0.076935 | 0.880782 | 0.85071 | 0.841246 | 0.826057 | 0.824378 | 0.804152 | 0 | 0.014267 | 0.221547 | 21,070 | 492 | 121 | 42.825203 | 0.784538 | 0 | 0 | 0.662437 | 0 | 0 | 0.220456 | 0.130422 | 0 | 0 | 0 | 0 | 0.101523 | 1 | 0.081218 | false | 0.030457 | 0.020305 | 0.010152 | 0.119289 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
2dcac930c8e7c131f6173cfa8031df29f1f08c3a | 72 | py | Python | myeda/visualization/__init__.py | PhilippvK/python-myeda | e8501a24535d73997fed9445b45b08ca93cb4b0b | [
"MIT"
] | 3 | 2020-09-26T12:44:39.000Z | 2022-01-13T10:25:17.000Z | myeda/visualization/__init__.py | PhilippvK/python-myeda | e8501a24535d73997fed9445b45b08ca93cb4b0b | [
"MIT"
] | null | null | null | myeda/visualization/__init__.py | PhilippvK/python-myeda | e8501a24535d73997fed9445b45b08ca93cb4b0b | [
"MIT"
] | null | null | null | '''module docstring'''
from myeda.visualization.Cubes import print_cube
| 24 | 48 | 0.805556 | 9 | 72 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 72 | 2 | 49 | 36 | 0.863636 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
930ed076295b7d573a1e5392a48f830262b89dc6 | 1,595 | py | Python | Pandas/Seriler.py | mehmet-karagoz/Python-Pandas | 7e2ac2962f94e4ffd28b0f6b74935ace6e6b51a0 | [
"MIT"
] | 1 | 2020-10-06T05:51:41.000Z | 2020-10-06T05:51:41.000Z | Pandas/Seriler.py | mehmet-karagoz/Python-Pandas | 7e2ac2962f94e4ffd28b0f6b74935ace6e6b51a0 | [
"MIT"
] | null | null | null | Pandas/Seriler.py | mehmet-karagoz/Python-Pandas | 7e2ac2962f94e4ffd28b0f6b74935ace6e6b51a0 | [
"MIT"
] | null | null | null | import pandas as pd
import numpy as np
#seri olusturma
#s = pd.Series(data, index=index) ile seri olusturulur
# s = pd.Series(np.random.randn(5)) #index --> 0,1,2,3,4
# s = pd.Series(np.random.randn(5),index=['a','b','c','d','e'])
# print(s)
# print('-'*50)
# print(s.index)
# print('*'*50)
# data = {'a':2... | 20.986842 | 80 | 0.532915 | 259 | 1,595 | 3.277992 | 0.216216 | 0.155477 | 0.212014 | 0.21437 | 0.56066 | 0.407538 | 0.378092 | 0.378092 | 0.345112 | 0.287397 | 0 | 0.049924 | 0.17116 | 1,595 | 76 | 81 | 20.986842 | 0.592284 | 0.84326 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
933f4ba0c7eafbe51dcef6597237644a94fef994 | 109 | py | Python | unseal/hooks/__init__.py | puffy310/unseal | 0768aaa7f0acf0be1ea50955051ab5cca6345496 | [
"MIT"
] | null | null | null | unseal/hooks/__init__.py | puffy310/unseal | 0768aaa7f0acf0be1ea50955051ab5cca6345496 | [
"MIT"
] | null | null | null | unseal/hooks/__init__.py | puffy310/unseal | 0768aaa7f0acf0be1ea50955051ab5cca6345496 | [
"MIT"
] | null | null | null | from . import common_hooks
from . import util
from . import rome_hooks
from .commons import Hook, HookedModel | 27.25 | 38 | 0.807339 | 16 | 109 | 5.375 | 0.5625 | 0.348837 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146789 | 109 | 4 | 38 | 27.25 | 0.924731 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
934c00218d57e3cbb71c9266a16fcbca85fde79a | 1,035 | py | Python | temboo/core/Library/DataGov/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 7 | 2016-03-07T02:07:21.000Z | 2022-01-21T02:22:41.000Z | temboo/core/Library/DataGov/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | null | null | null | temboo/core/Library/DataGov/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 8 | 2016-06-14T06:01:11.000Z | 2020-04-22T09:21:44.000Z | from temboo.Library.DataGov.GetCensusIDByCoordinates import GetCensusIDByCoordinates, GetCensusIDByCoordinatesInputSet, GetCensusIDByCoordinatesResultSet, GetCensusIDByCoordinatesChoreographyExecution
from temboo.Library.DataGov.GetCensusIDByTypeAndName import GetCensusIDByTypeAndName, GetCensusIDByTypeAndNameInputSet,... | 172.5 | 220 | 0.937198 | 50 | 1,035 | 19.4 | 0.5 | 0.051546 | 0.087629 | 0.123711 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033816 | 1,035 | 5 | 221 | 207 | 0.97 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
935602526312d73122d329dd574e95e60e7e8118 | 96 | py | Python | gflashcards/__init__.py | patarapolw/gflashcards | 692e152bd803109f0bf8d0c22bff03d5c78bd70a | [
"Apache-2.0"
] | 6 | 2018-07-22T18:55:54.000Z | 2018-08-08T03:13:08.000Z | gflashcards/__init__.py | patarapolw/gflash | 692e152bd803109f0bf8d0c22bff03d5c78bd70a | [
"Apache-2.0"
] | null | null | null | gflashcards/__init__.py | patarapolw/gflash | 692e152bd803109f0bf8d0c22bff03d5c78bd70a | [
"Apache-2.0"
] | null | null | null | from .app import Flashcards
from .upload import save_image_from_clipboard, save_image_from_file
| 32 | 67 | 0.875 | 15 | 96 | 5.2 | 0.6 | 0.230769 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 96 | 2 | 68 | 48 | 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 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
937e59cfd334e76cc9628aa748859a8bf80daf31 | 1,180 | py | Python | siamfc/heads.py | saiajaym/siamFC | 20d09be54c8403ffb2494f34a42cc507f2fe98a4 | [
"MIT"
] | null | null | null | siamfc/heads.py | saiajaym/siamFC | 20d09be54c8403ffb2494f34a42cc507f2fe98a4 | [
"MIT"
] | null | null | null | siamfc/heads.py | saiajaym/siamFC | 20d09be54c8403ffb2494f34a42cc507f2fe98a4 | [
"MIT"
] | 1 | 2020-02-24T06:06:31.000Z | 2020-02-24T06:06:31.000Z | from __future__ import absolute_import
import torch.nn as nn
import torch.nn.functional as F
__all__ = ['SiamFC']
class SiamFC(nn.Module):
def __init__(self, out_scale=0.001):
super(SiamFC, self).__init__()
self.out_scale = out_scale
def forward(self, z, x):
return self._fast_... | 25.106383 | 58 | 0.557627 | 187 | 1,180 | 3.28877 | 0.229947 | 0.104065 | 0.117073 | 0.104065 | 0.796748 | 0.796748 | 0.796748 | 0.796748 | 0.796748 | 0.796748 | 0 | 0.026602 | 0.299153 | 1,180 | 46 | 59 | 25.652174 | 0.71705 | 0.038136 | 0 | 0.709677 | 0 | 0 | 0.0053 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.193548 | false | 0 | 0.096774 | 0.032258 | 0.483871 | 0.032258 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 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 | 6 |
fab0af6529eb158f7e4b1162a0e0287e5a9fcfc4 | 138 | py | Python | orwell/writers/__init__.py | joocer/orwell | 7bfbea49ec911123687fa394b1d91e99251959d5 | [
"Apache-2.0"
] | null | null | null | orwell/writers/__init__.py | joocer/orwell | 7bfbea49ec911123687fa394b1d91e99251959d5 | [
"Apache-2.0"
] | null | null | null | orwell/writers/__init__.py | joocer/orwell | 7bfbea49ec911123687fa394b1d91e99251959d5 | [
"Apache-2.0"
] | 1 | 2020-12-17T08:50:56.000Z | 2020-12-17T08:50:56.000Z | from .writer import Writer
from .null_writer import null_writer
from .file_writer import file_writer
from .blob_writer import blob_writer
| 27.6 | 36 | 0.855072 | 22 | 138 | 5.090909 | 0.272727 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115942 | 138 | 4 | 37 | 34.5 | 0.918033 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fadc0eba95614bf0682be86b3098ac9e47c413ae | 207 | py | Python | easyfsl/methods/__init__.py | lnowakow/easy-few-shot-learning | 487531ce1a7c1d58d74cd5aa21e336aa2c5df883 | [
"MIT"
] | 208 | 2021-02-23T16:36:21.000Z | 2022-03-31T08:39:38.000Z | easyfsl/methods/__init__.py | karndeepsingh/easy-few-shot-learning | afb315589c42ea9380f908380b46b5cb3a200dad | [
"MIT"
] | 14 | 2021-03-02T16:27:54.000Z | 2022-03-29T08:43:35.000Z | easyfsl/methods/__init__.py | karndeepsingh/easy-few-shot-learning | afb315589c42ea9380f908380b46b5cb3a200dad | [
"MIT"
] | 36 | 2021-06-01T12:51:35.000Z | 2022-03-30T17:58:23.000Z | from .abstract_meta_learner import AbstractMetaLearner
from .matching_networks import MatchingNetworks
from .prototypical_networks import PrototypicalNetworks
from .relation_networks import RelationNetworks
| 41.4 | 55 | 0.903382 | 21 | 207 | 8.666667 | 0.619048 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077295 | 207 | 4 | 56 | 51.75 | 0.95288 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4f04adcadc3bb7cfe72d1d36fd677265df61b10a | 1,079 | py | Python | site/assignments/assignment5/tests/q01.py | rpi-techfundamentals/website_fall_2020 | b85e5c297954bcaae565a8d25a18d2904d40f543 | [
"MIT"
] | 2 | 2020-10-18T23:05:09.000Z | 2021-11-14T08:09:11.000Z | site/assignments/assignment5/tests/q01.py | rpi-techfundamentals/website_fall_2020 | b85e5c297954bcaae565a8d25a18d2904d40f543 | [
"MIT"
] | 2 | 2020-12-31T14:33:02.000Z | 2020-12-31T14:38:26.000Z | site/assignments/assignment5/tests/q01.py | rpi-techfundamentals/website_fall_2020 | b85e5c297954bcaae565a8d25a18d2904d40f543 | [
"MIT"
] | 3 | 2021-01-05T20:26:15.000Z | 2021-02-15T14:54:44.000Z | test = {
'name': 'Question',
'points': 1,
'suites': [
{
'cases': [
{
'code': r"""
>>> X_train.columns.values.tolist()== ['Age', 'SibSp', 'Parch', 'Fare', 'family_size', 'Pclass_2', 'Pclass_3', 'Sex_male', 'Cabin_B', 'Cabin_C', 'Cabin_D', 'Cabin_E', 'Cabin_F', 'Cabin_G', 'Cabi... | 27.666667 | 237 | 0.430028 | 108 | 1,079 | 4.037037 | 0.453704 | 0.034404 | 0.103211 | 0.144495 | 0.784404 | 0.724771 | 0.724771 | 0.724771 | 0.724771 | 0.724771 | 0 | 0.011364 | 0.347544 | 1,079 | 38 | 238 | 28.394737 | 0.607955 | 0 | 0 | 0.394737 | 0 | 0.052632 | 0.642261 | 0.060241 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
877c0fdc7edacc53b7e3f4b6b546124fab224dce | 155 | py | Python | test.py | wedavey/atnlp-docker | fccbabb04b8da49fc509a83661e91be900a622c5 | [
"MIT"
] | null | null | null | test.py | wedavey/atnlp-docker | fccbabb04b8da49fc509a83661e91be900a622c5 | [
"MIT"
] | null | null | null | test.py | wedavey/atnlp-docker | fccbabb04b8da49fc509a83661e91be900a622c5 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# encoding: utf-8
try:
import sklearn
print("Successfully imported sklearn")
except:
print("Failed to import sklearn")
| 19.375 | 42 | 0.690323 | 20 | 155 | 5.35 | 0.8 | 0.242991 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008 | 0.193548 | 155 | 7 | 43 | 22.142857 | 0.848 | 0.232258 | 0 | 0 | 0 | 0 | 0.452991 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0.4 | 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 | 1 | 0 | 0 | 6 |
878bd63489c719e1568e0641ed497ebd5f25c5df | 324 | py | Python | du/ctee/transformers/BaseTransformer.py | spiricn/DevUtils | 58a035a08a7c58035c25f992c1b8aa33cc997cd2 | [
"MIT"
] | 1 | 2021-12-21T13:18:08.000Z | 2021-12-21T13:18:08.000Z | du/ctee/transformers/BaseTransformer.py | spiricn/DevUtils | 58a035a08a7c58035c25f992c1b8aa33cc997cd2 | [
"MIT"
] | null | null | null | du/ctee/transformers/BaseTransformer.py | spiricn/DevUtils | 58a035a08a7c58035c25f992c1b8aa33cc997cd2 | [
"MIT"
] | null | null | null | class BaseTransformer:
def __init__(self):
pass
def getHeader(self):
return ""
def getTrailer(self):
return ""
def transform(self, line, style):
raise RuntimeError("Not implemented")
def onLineStart(self):
return ""
def onLineEnd(self):
return... | 17.052632 | 45 | 0.574074 | 31 | 324 | 5.870968 | 0.580645 | 0.21978 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.324074 | 324 | 18 | 46 | 18 | 0.83105 | 0 | 0 | 0.307692 | 0 | 0 | 0.046296 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.461538 | false | 0.076923 | 0 | 0.307692 | 0.846154 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
e2107a3d40532beab8ffa2889e78e9ef2f465805 | 277 | py | Python | sigopt/cli/commands/__init__.py | emattia/sigopt-python | e6b4e5240261ddbdc84a3b4061b8935873612c23 | [
"MIT"
] | 67 | 2015-03-01T02:16:47.000Z | 2021-05-10T16:17:21.000Z | sigopt/cli/commands/__init__.py | emattia/sigopt-python | e6b4e5240261ddbdc84a3b4061b8935873612c23 | [
"MIT"
] | 150 | 2015-10-22T21:59:37.000Z | 2022-03-10T00:55:19.000Z | sigopt/cli/commands/__init__.py | emattia/sigopt-python | e6b4e5240261ddbdc84a3b4061b8935873612c23 | [
"MIT"
] | 19 | 2016-07-10T03:46:33.000Z | 2022-02-05T12:13:01.000Z | import sigopt.cli.commands.cluster
import sigopt.cli.commands.config
import sigopt.cli.commands.experiment
import sigopt.cli.commands.init
import sigopt.cli.commands.local
import sigopt.cli.commands.version
import sigopt.cli.commands.training_run
from .base import sigopt_cli
| 27.7 | 39 | 0.851986 | 41 | 277 | 5.707317 | 0.341463 | 0.410256 | 0.512821 | 0.688034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068592 | 277 | 9 | 40 | 30.777778 | 0.906977 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
355f4eaff048f2e42552e0acd59e678a2da9f93d | 83 | py | Python | util/act_sigmoid.py | widyaageng/Sudoku_auto | 94b612fd3266cdd42d20973e98a89f90d664d57c | [
"BSD-2-Clause"
] | null | null | null | util/act_sigmoid.py | widyaageng/Sudoku_auto | 94b612fd3266cdd42d20973e98a89f90d664d57c | [
"BSD-2-Clause"
] | null | null | null | util/act_sigmoid.py | widyaageng/Sudoku_auto | 94b612fd3266cdd42d20973e98a89f90d664d57c | [
"BSD-2-Clause"
] | null | null | null | import numpy as np
def sigmoid(z):
return 1/(1 + np.exp(np.multiply(-1, z)))
| 13.833333 | 45 | 0.614458 | 16 | 83 | 3.1875 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 0.204819 | 83 | 5 | 46 | 16.6 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 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 | 1 | 1 | 1 | 0 | 0 | 6 |
3570d40edcde7e1fee14e23694a593d29ace999a | 13,205 | py | Python | source/deepsecurity/api/gcp_connector_actions_api.py | felipecosta09/cloudone-workload-controltower-lifecycle | 7927c84d164058b034fc872701b5ee117641f4d1 | [
"Apache-2.0"
] | 1 | 2021-10-30T16:40:09.000Z | 2021-10-30T16:40:09.000Z | source/deepsecurity/api/gcp_connector_actions_api.py | felipecosta09/cloudone-workload-controltower-lifecycle | 7927c84d164058b034fc872701b5ee117641f4d1 | [
"Apache-2.0"
] | 1 | 2021-07-28T20:19:03.000Z | 2021-07-28T20:19:03.000Z | source/deepsecurity/api/gcp_connector_actions_api.py | felipecosta09/cloudone-workload-controltower-lifecycle | 7927c84d164058b034fc872701b5ee117641f4d1 | [
"Apache-2.0"
] | 1 | 2021-10-30T16:40:02.000Z | 2021-10-30T16:40:02.000Z | # coding: utf-8
"""
Trend Micro Deep Security API
Copyright 2018 - 2020 Trend Micro Incorporated.<br/>Get protected, stay secured, and keep informed with Trend Micro Deep Security's new RESTful API. Access system data and manage security configurations to automate your security workflows and integrate De... | 48.726937 | 311 | 0.642105 | 1,599 | 13,205 | 5.041276 | 0.11945 | 0.122069 | 0.093785 | 0.038705 | 0.902493 | 0.893189 | 0.887607 | 0.863913 | 0.854733 | 0.840963 | 0 | 0.016477 | 0.273836 | 13,205 | 270 | 312 | 48.907407 | 0.824174 | 0.337296 | 0 | 0.699301 | 0 | 0 | 0.281219 | 0.077417 | 0 | 0 | 0 | 0 | 0 | 1 | 0.034965 | false | 0 | 0.027972 | 0 | 0.111888 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
3579ed455315f515cdc34782570b1c07f88c6d83 | 45 | py | Python | flask_paranoid/__init__.py | nehaljwani/flask-paranoid | ec6205756d55edd1b135249b9bb345871fef0977 | [
"MIT"
] | 68 | 2017-06-30T06:52:27.000Z | 2022-03-22T02:39:58.000Z | openresty-win32-build/thirdparty/x86/pgsql/pgAdmin 4/venv/Lib/site-packages/flask_paranoid/__init__.py | nneesshh/openresty-oss | bfbb9d7526020eda1788a0ed24f2be3c8be5c1c3 | [
"MIT"
] | 10 | 2020-06-05T19:42:26.000Z | 2022-03-11T23:38:35.000Z | openresty-win32-build/thirdparty/x86/pgsql/pgAdmin 4/venv/Lib/site-packages/flask_paranoid/__init__.py | nneesshh/openresty-oss | bfbb9d7526020eda1788a0ed24f2be3c8be5c1c3 | [
"MIT"
] | 7 | 2017-08-02T02:33:58.000Z | 2020-11-19T08:50:00.000Z | from .paranoid import Paranoid # noqa: F401
| 22.5 | 44 | 0.755556 | 6 | 45 | 5.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 0.177778 | 45 | 1 | 45 | 45 | 0.837838 | 0.222222 | 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 | 1 | 0 | 0 | 6 |
359d13d74e8e7d16277682d94accc74aebfa801a | 50 | py | Python | www/apps/auth/middleware/__init__.py | un33k/outsourcefactor | c48dbd11b74ba5fb72b85f05c431a16287f62507 | [
"MIT"
] | 2 | 2018-12-23T04:14:32.000Z | 2018-12-23T15:02:08.000Z | www/apps/auth/middleware/__init__.py | un33k/outsourcefactor | c48dbd11b74ba5fb72b85f05c431a16287f62507 | [
"MIT"
] | null | null | null | www/apps/auth/middleware/__init__.py | un33k/outsourcefactor | c48dbd11b74ba5fb72b85f05c431a16287f62507 | [
"MIT"
] | 1 | 2019-11-17T19:53:07.000Z | 2019-11-17T19:53:07.000Z | from SessionIdleTimeout import SessionIdleTimeout
| 25 | 49 | 0.92 | 4 | 50 | 11.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 50 | 1 | 50 | 50 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
35a69907e869618e26256670c7b04a7a2e146023 | 151 | py | Python | chap8/8-12.py | StewedChickenwithStats/Answers-to-Python-Crash-Course | 9ffbe02abba5d111f702d920db7932303daf59d4 | [
"MIT"
] | 1 | 2022-02-21T07:05:48.000Z | 2022-02-21T07:05:48.000Z | chap8/8-12.py | StewedChickenwithStats/Answers-to-Python-Crash-Course | 9ffbe02abba5d111f702d920db7932303daf59d4 | [
"MIT"
] | null | null | null | chap8/8-12.py | StewedChickenwithStats/Answers-to-Python-Crash-Course | 9ffbe02abba5d111f702d920db7932303daf59d4 | [
"MIT"
] | null | null | null | def make_sandwich(*toppings):
print(toppings)
make_sandwich('chicken')
make_sandwich('beef', 'chicken')
make_sandwich('beef', 'chicken', 'fish')
| 18.875 | 40 | 0.721854 | 18 | 151 | 5.833333 | 0.444444 | 0.457143 | 0.361905 | 0.438095 | 0.504762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099338 | 151 | 7 | 41 | 21.571429 | 0.772059 | 0 | 0 | 0 | 0 | 0 | 0.218543 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0 | 0 | 0.2 | 0.2 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5761bfe4fbce0e11809371c7fbdcf194c45c4c9b | 1,067 | py | Python | pyenv/lib/python3.6/sre_compile.py | ronald-rgr/ai-chatbot-smartguide | c9c830feb6b66c2e362f8fb5d147ef0c4f4a08cf | [
"Apache-2.0"
] | null | null | null | pyenv/lib/python3.6/sre_compile.py | ronald-rgr/ai-chatbot-smartguide | c9c830feb6b66c2e362f8fb5d147ef0c4f4a08cf | [
"Apache-2.0"
] | 3 | 2020-03-23T18:01:51.000Z | 2021-03-19T23:15:15.000Z | pyenv/lib/python3.6/sre_compile.py | ronald-rgr/ai-chatbot-smartguide | c9c830feb6b66c2e362f8fb5d147ef0c4f4a08cf | [
"Apache-2.0"
] | null | null | null | XSym
0078
a484d093f7fc350b117a180672f9bb59
/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/sre_compile.py
... | 213.4 | 945 | 0.099344 | 16 | 1,067 | 6.5625 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.254237 | 0.88941 | 1,067 | 5 | 945 | 213.4 | 0.635593 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
577de8912ac4747e1340909f4ebc1ae2e5955166 | 195 | py | Python | __init__.py | eblancoh/twitter-panel | c5603eca28fc3738cd50bd6ece084a1f25952546 | [
"Unlicense"
] | 3 | 2019-12-09T10:55:40.000Z | 2021-01-12T21:53:53.000Z | __init__.py | eblancoh/twitter-panel | c5603eca28fc3738cd50bd6ece084a1f25952546 | [
"Unlicense"
] | 2 | 2019-12-04T14:16:40.000Z | 2021-12-13T20:27:33.000Z | __init__.py | eblancoh/twitter-panel | c5603eca28fc3738cd50bd6ece084a1f25952546 | [
"Unlicense"
] | null | null | null | from .scraper import get_last_month_tweets
import os
# register the portals
from twitterdash import routes
from twitterdash.routes import app
from twitterdash.preprocessing import process_text
| 21.666667 | 50 | 0.85641 | 27 | 195 | 6.037037 | 0.62963 | 0.276074 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123077 | 195 | 8 | 51 | 24.375 | 0.953216 | 0.102564 | 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 | 1 | 0 | 0 | 6 |
57fb1bfc387eca8bd6ce00b794b47dadf914b6ec | 1,903 | py | Python | tests/test_h6_chains.py | xlliu98/rlci | b72c9346f14ecf519868846aa9ebfc9ef51b38c0 | [
"MIT"
] | 3 | 2021-06-20T19:54:24.000Z | 2021-12-23T02:10:34.000Z | tests/test_h6_chains.py | xlliu98/rlci | b72c9346f14ecf519868846aa9ebfc9ef51b38c0 | [
"MIT"
] | null | null | null | tests/test_h6_chains.py | xlliu98/rlci | b72c9346f14ecf519868846aa9ebfc9ef51b38c0 | [
"MIT"
] | 2 | 2021-06-23T16:42:07.000Z | 2022-02-07T11:11:05.000Z | import numpy as np
from numpy.testing import assert_allclose
from rlci.solvers import RL
np.random.seed(1)
def test_r1p0():
M = np.loadtxt('full_hamiltonians/h6_1p00_chain.txt')
k = 40
# full diagonalization
E_exact, _ = RL(M,k=k,mode='full')
assert_allclose(-3.2576068322409553,E_exact)
... | 27.985294 | 61 | 0.663689 | 295 | 1,903 | 4.074576 | 0.213559 | 0.02995 | 0.039933 | 0.037438 | 0.811148 | 0.782862 | 0.712978 | 0.712978 | 0.712978 | 0.712978 | 0 | 0.118812 | 0.203889 | 1,903 | 67 | 62 | 28.402985 | 0.674587 | 0.191802 | 0 | 0.486486 | 0 | 0 | 0.102429 | 0.068943 | 0 | 0 | 0 | 0 | 0.351351 | 1 | 0.081081 | false | 0 | 0.081081 | 0 | 0.162162 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
17b670802d453d055ee81d20ea156b99d4d84384 | 70 | py | Python | test/fixtures/projects/files/test_ee.py | valbendan/ansible-runner | a3a7d1f003996fe7c757436b021d54f4a84aa4c6 | [
"Apache-2.0"
] | 658 | 2018-04-06T19:14:03.000Z | 2022-03-31T14:48:39.000Z | test/fixtures/projects/files/test_ee.py | valbendan/ansible-runner | a3a7d1f003996fe7c757436b021d54f4a84aa4c6 | [
"Apache-2.0"
] | 783 | 2018-04-06T16:47:30.000Z | 2022-03-31T14:24:18.000Z | test/fixtures/projects/files/test_ee.py | valbendan/ansible-runner | a3a7d1f003996fe7c757436b021d54f4a84aa4c6 | [
"Apache-2.0"
] | 249 | 2018-04-06T16:44:34.000Z | 2022-03-28T10:26:19.000Z | import os
print("os-release: %s" % os.system("cat /etc/os-release"))
| 17.5 | 58 | 0.657143 | 12 | 70 | 3.833333 | 0.666667 | 0.391304 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 70 | 3 | 59 | 23.333333 | 0.741935 | 0 | 0 | 0 | 0 | 0 | 0.471429 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
17cad81eb3c3eb087670a96b52fe277deb4fbbfc | 2,645 | py | Python | tests/modules/extra/rabbitmq/mother/rabbitmq_message_configurer_mother.py | alice-biometrics/petisco | b96e697cc875f67a28e60b4fc0d9ed9fc646cd86 | [
"MIT"
] | 19 | 2019-11-01T09:27:17.000Z | 2021-12-15T10:52:31.000Z | tests/modules/extra/rabbitmq/mother/rabbitmq_message_configurer_mother.py | alice-biometrics/petisco | b96e697cc875f67a28e60b4fc0d9ed9fc646cd86 | [
"MIT"
] | 68 | 2020-01-15T06:55:00.000Z | 2022-02-22T15:57:24.000Z | tests/modules/extra/rabbitmq/mother/rabbitmq_message_configurer_mother.py | alice-biometrics/petisco | b96e697cc875f67a28e60b4fc0d9ed9fc646cd86 | [
"MIT"
] | 2 | 2019-11-19T10:40:25.000Z | 2019-11-28T07:12:07.000Z | from petisco.extra.rabbitmq import (
QueueConfig,
RabbitMqConnector,
RabbitMqMessageConfigurer,
)
from tests.modules.extra.rabbitmq.mother.defaults import (
DEFAULT_ORGANIZATION,
DEFAULT_SERVICE,
)
class RabbitMqMessageConfigurerMother:
@staticmethod
def default(connector: RabbitMqConnecto... | 33.910256 | 77 | 0.680151 | 224 | 2,645 | 7.8125 | 0.174107 | 0.208 | 0.104 | 0.132 | 0.779429 | 0.779429 | 0.779429 | 0.779429 | 0.779429 | 0.753143 | 0 | 0.013361 | 0.264272 | 2,645 | 77 | 78 | 34.350649 | 0.88592 | 0 | 0 | 0.565217 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.101449 | false | 0 | 0.028986 | 0 | 0.246377 | 0 | 0 | 0 | 0 | null | 1 | 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 | 6 |
17da67c506aa01c63b446e48eed8d33648df08cf | 269 | py | Python | eda/optimizer/selection/__init__.py | e5120/EDAs | acf86fa35182b8fe0cd913d6fb46280b2f9e6e46 | [
"MIT"
] | 3 | 2021-01-15T08:35:32.000Z | 2021-04-09T08:03:35.000Z | eda/optimizer/selection/__init__.py | e5120/EDAs | acf86fa35182b8fe0cd913d6fb46280b2f9e6e46 | [
"MIT"
] | null | null | null | eda/optimizer/selection/__init__.py | e5120/EDAs | acf86fa35182b8fe0cd913d6fb46280b2f9e6e46 | [
"MIT"
] | 3 | 2021-04-27T06:36:33.000Z | 2022-02-14T14:13:08.000Z | from eda.optimizer.selection.selection_base import SelectionBase
from eda.optimizer.selection.top import Top
from eda.optimizer.selection.tournament import Tournament
from eda.optimizer.selection.roulette import Roulette
from eda.optimizer.selection.block import Block
| 44.833333 | 64 | 0.869888 | 36 | 269 | 6.472222 | 0.305556 | 0.150215 | 0.343348 | 0.536481 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074349 | 269 | 5 | 65 | 53.8 | 0.935743 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a4c081f5c480e10667208542a628b0a44461891c | 127 | py | Python | sound_generator/sound_generator/z_generator/__init__.py | Redict/rg_sound_generation | 6db8826d0797650bc5c1555a60cc9c6b3f82050d | [
"MIT"
] | null | null | null | sound_generator/sound_generator/z_generator/__init__.py | Redict/rg_sound_generation | 6db8826d0797650bc5c1555a60cc9c6b3f82050d | [
"MIT"
] | null | null | null | sound_generator/sound_generator/z_generator/__init__.py | Redict/rg_sound_generation | 6db8826d0797650bc5c1555a60cc9c6b3f82050d | [
"MIT"
] | null | null | null | from sound_generator.z_generator.model import ZGenerator
from sound_generator.z_generator.data_processor import ZDataProcessor
| 42.333333 | 69 | 0.905512 | 17 | 127 | 6.470588 | 0.588235 | 0.163636 | 0.327273 | 0.345455 | 0.509091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.062992 | 127 | 2 | 70 | 63.5 | 0.92437 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
35437d18d13b411977eacb214ede4852dc68ba3d | 120 | py | Python | getting_started/abs.py | AoEiuV020/LearningPython | aac0f3f99cfd3d03a96a3c0e41da8f82ea0b8c70 | [
"MIT"
] | null | null | null | getting_started/abs.py | AoEiuV020/LearningPython | aac0f3f99cfd3d03a96a3c0e41da8f82ea0b8c70 | [
"MIT"
] | null | null | null | getting_started/abs.py | AoEiuV020/LearningPython | aac0f3f99cfd3d03a96a3c0e41da8f82ea0b8c70 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
assert abs(-1) == 1
assert abs(-1.1) == 1.1
assert not abs(-1.1) is 1.1
| 17.142857 | 27 | 0.566667 | 25 | 120 | 2.72 | 0.48 | 0.176471 | 0.220588 | 0.323529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 0.175 | 120 | 6 | 28 | 20 | 0.565657 | 0.358333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | true | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
104305afa6ead37b73b600ee25c3115c115ec420 | 44 | py | Python | src/wai/annotations/imgaug/isp/linear_contrast/component/__init__.py | waikato-ufdl/wai-annotations-processors | 9dcd5d421983cd717f738f54fcbae04ede2954d1 | [
"Apache-2.0"
] | null | null | null | src/wai/annotations/imgaug/isp/linear_contrast/component/__init__.py | waikato-ufdl/wai-annotations-processors | 9dcd5d421983cd717f738f54fcbae04ede2954d1 | [
"Apache-2.0"
] | 2 | 2020-06-17T01:59:38.000Z | 2020-06-17T02:03:06.000Z | src/wai/annotations/imgaug/isp/linear_contrast/component/__init__.py | waikato-ufdl/wai-annotations-processors | 9dcd5d421983cd717f738f54fcbae04ede2954d1 | [
"Apache-2.0"
] | null | null | null | from ._LinearContrast import LinearContrast
| 22 | 43 | 0.886364 | 4 | 44 | 9.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 44 | 1 | 44 | 44 | 0.95 | 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 | 1 | 0 | 0 | 6 |
1090b139eb3dc5793af2ff6005796b8b999ffa44 | 1,903 | py | Python | vidConf.py | wicak29/jarConv | f809cb9a60e812c54a262ed579645f88eba4e2aa | [
"MIT"
] | null | null | null | vidConf.py | wicak29/jarConv | f809cb9a60e812c54a262ed579645f88eba4e2aa | [
"MIT"
] | null | null | null | vidConf.py | wicak29/jarConv | f809cb9a60e812c54a262ed579645f88eba4e2aa | [
"MIT"
] | null | null | null | import subprocess
import sys
import os
def convert_mp4_to_avi(name, output, videocodec):
filename, file_extension = os.path.splitext(name)
path = "./uploads/"
path_output = "./compressed/"
videotag = "xvid"
audiocodec = "libmp3lame"
output = "%s%s_convert%s" % (path_output, filename, output)
... | 38.06 | 146 | 0.662638 | 272 | 1,903 | 4.496324 | 0.257353 | 0.068684 | 0.039248 | 0.068684 | 0.704007 | 0.704007 | 0.704007 | 0.704007 | 0.704007 | 0.684383 | 0 | 0.022494 | 0.182344 | 1,903 | 49 | 147 | 38.836735 | 0.763496 | 0 | 0 | 0.488372 | 0 | 0.069767 | 0.194006 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.069767 | null | null | 0.023256 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5e39d3821634d1b4ee61d3affc82cded13993e43 | 303 | py | Python | torchmeta/toy/__init__.py | hzyjerry/pytorch-meta | e63aa57984ec80d6e78f45a228232f0424b06bca | [
"MIT"
] | null | null | null | torchmeta/toy/__init__.py | hzyjerry/pytorch-meta | e63aa57984ec80d6e78f45a228232f0424b06bca | [
"MIT"
] | null | null | null | torchmeta/toy/__init__.py | hzyjerry/pytorch-meta | e63aa57984ec80d6e78f45a228232f0424b06bca | [
"MIT"
] | null | null | null | from torchmeta.toy.harmonic import Harmonic
from torchmeta.toy.sinusoid import Sinusoid
from torchmeta.toy.sinusoid_line import SinusoidAndLine
from torchmeta.toy.behaviour import Behaviour
from torchmeta.toy import helpers
__all__ = ['Harmonic', 'Sinusoid', 'SinusoidAndLine', 'helpers', 'Behaviour']
| 37.875 | 77 | 0.821782 | 36 | 303 | 6.777778 | 0.305556 | 0.266393 | 0.327869 | 0.196721 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092409 | 303 | 7 | 78 | 43.285714 | 0.887273 | 0 | 0 | 0 | 0 | 0 | 0.155116 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.833333 | 0 | 0.833333 | 0 | 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 | 1 | 0 | 0 | 6 |
eae5719aeca3cb1a494fd28871c964fa16946bc7 | 45 | py | Python | plugins/medimax/traitement/__init__.py | bsavelev/medipy | f0da3750a6979750d5f4c96aedc89ad5ae74545f | [
"CECILL-B"
] | null | null | null | plugins/medimax/traitement/__init__.py | bsavelev/medipy | f0da3750a6979750d5f4c96aedc89ad5ae74545f | [
"CECILL-B"
] | null | null | null | plugins/medimax/traitement/__init__.py | bsavelev/medipy | f0da3750a6979750d5f4c96aedc89ad5ae74545f | [
"CECILL-B"
] | 1 | 2022-03-04T05:47:08.000Z | 2022-03-04T05:47:08.000Z | from api import *
from traitement import *
| 15 | 25 | 0.733333 | 6 | 45 | 5.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 45 | 2 | 26 | 22.5 | 0.942857 | 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 | 1 | 0 | 0 | 6 |
eaf8789ae48ce91888475f59f9ad46822911fcfd | 165 | py | Python | apps/markets2/admin.py | uktrade/enav-alpha | 8d38f05763367ca6b6747203241f267612fd6e44 | [
"MIT"
] | null | null | null | apps/markets2/admin.py | uktrade/enav-alpha | 8d38f05763367ca6b6747203241f267612fd6e44 | [
"MIT"
] | 67 | 2016-07-11T12:57:58.000Z | 2016-08-08T12:59:19.000Z | apps/markets2/admin.py | UKTradeInvestment/enav-alpha | 8d38f05763367ca6b6747203241f267612fd6e44 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Market, Region, Country
admin.site.register(Market)
admin.site.register(Region)
admin.site.register(Country)
| 18.333333 | 43 | 0.806061 | 23 | 165 | 5.782609 | 0.478261 | 0.203008 | 0.383459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09697 | 165 | 8 | 44 | 20.625 | 0.892617 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
dc2427f714b2058859277e9fc7c2da871861bed9 | 48 | py | Python | io_scene_vrm/exporter/gltf2_addon_exporter_user_extension.py | iCyP/VRM_IMPORTER_for_Blender2.8 | fdabb11f125eea9363061ba240dc5b4376f4143d | [
"MIT"
] | 26 | 2020-05-25T07:24:57.000Z | 2020-08-27T06:43:48.000Z | io_scene_vrm/exporter/gltf2_addon_exporter_user_extension.py | iCyP/VRM_IMPORTER_for_Blender2.8 | fdabb11f125eea9363061ba240dc5b4376f4143d | [
"MIT"
] | 3 | 2020-06-05T15:09:32.000Z | 2020-08-13T09:46:13.000Z | io_scene_vrm/exporter/gltf2_addon_exporter_user_extension.py | iCyP/VRM_IMPORTER_for_Blender2.8 | fdabb11f125eea9363061ba240dc5b4376f4143d | [
"MIT"
] | 1 | 2021-11-07T19:41:34.000Z | 2021-11-07T19:41:34.000Z | class Gltf2AddonExporterUserExtension:
pass
| 16 | 38 | 0.833333 | 3 | 48 | 13.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02439 | 0.145833 | 48 | 2 | 39 | 24 | 0.95122 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
dc884104b9cba566a87f37ba1fb0f044f74349ee | 29 | py | Python | src/new_file.py | JackMcKew/project_workflow | c999d8d1acc19b02c05a92ed74cddff7fbf35d79 | [
"MIT"
] | null | null | null | src/new_file.py | JackMcKew/project_workflow | c999d8d1acc19b02c05a92ed74cddff7fbf35d79 | [
"MIT"
] | null | null | null | src/new_file.py | JackMcKew/project_workflow | c999d8d1acc19b02c05a92ed74cddff7fbf35d79 | [
"MIT"
] | 1 | 2022-03-28T11:00:40.000Z | 2022-03-28T11:00:40.000Z | print("My Project Workflow")
| 14.5 | 28 | 0.758621 | 4 | 29 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 29 | 1 | 29 | 29 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0.655172 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
dc8a6d0034907e0e319da371dd44fcdd8a1fb100 | 45 | py | Python | remade_pypi/__main__.py | ChristianMichelsen/remade-pypi | 3fc3abe0159dd0639ef5d72a96cb6ef0ba9df4e3 | [
"MIT"
] | 1 | 2021-06-14T15:28:06.000Z | 2021-06-14T15:28:06.000Z | remade_pypi/__main__.py | ChristianMichelsen/remade-pypi | 3fc3abe0159dd0639ef5d72a96cb6ef0ba9df4e3 | [
"MIT"
] | null | null | null | remade_pypi/__main__.py | ChristianMichelsen/remade-pypi | 3fc3abe0159dd0639ef5d72a96cb6ef0ba9df4e3 | [
"MIT"
] | null | null | null | from remade.cli import cli_main
cli_main()
| 9 | 31 | 0.777778 | 8 | 45 | 4.125 | 0.625 | 0.424242 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155556 | 45 | 4 | 32 | 11.25 | 0.868421 | 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 | 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 | 6 |
dc91126d321a8a1a8683c9c6498f7403561dfad0 | 22 | py | Python | main/view/__init__.py | hlefebvr/tx-gtfs | 6d42abc25d35525d027f35d35d73862534fa261d | [
"MIT"
] | 3 | 2019-08-14T07:03:30.000Z | 2022-02-11T19:00:00.000Z | main/view/__init__.py | hlefebvr/tx-gtfs | 6d42abc25d35525d027f35d35d73862534fa261d | [
"MIT"
] | 1 | 2021-03-05T20:47:23.000Z | 2021-03-17T12:33:41.000Z | main/view/__init__.py | hlefebvr/tx-gtfs | 6d42abc25d35525d027f35d35d73862534fa261d | [
"MIT"
] | 1 | 2021-11-06T17:16:21.000Z | 2021-11-06T17:16:21.000Z | from .view import View | 22 | 22 | 0.818182 | 4 | 22 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 22 | 1 | 22 | 22 | 0.947368 | 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 | 1 | 0 | 0 | 6 |
dc98cbd3a93adcf19921d8238e9dad5f352766f6 | 70 | py | Python | organisation/models.py | hiyqapp/hiYq | 9947c05718f59c6eab94e3f441c3f3227b758248 | [
"BSD-3-Clause"
] | null | null | null | organisation/models.py | hiyqapp/hiYq | 9947c05718f59c6eab94e3f441c3f3227b758248 | [
"BSD-3-Clause"
] | 6 | 2018-02-07T13:28:20.000Z | 2018-02-19T13:21:22.000Z | organisation/models.py | hiyqapp/hiYq | 9947c05718f59c6eab94e3f441c3f3227b758248 | [
"BSD-3-Clause"
] | null | null | null | from django.db import models
class Organisation(models.Model):
pass
| 14 | 33 | 0.8 | 10 | 70 | 5.6 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128571 | 70 | 4 | 34 | 17.5 | 0.918033 | 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 | 1 | 0 | 0 | 6 |
f4dbc2fe413ffdd9468f8f3d7605da1c6beadadd | 92 | py | Python | gutec/cli.py | maristmichael/GuteCompiler | 3a946662735cbb4c81726e7106cd01cf36b0831f | [
"MIT"
] | null | null | null | gutec/cli.py | maristmichael/GuteCompiler | 3a946662735cbb4c81726e7106cd01cf36b0831f | [
"MIT"
] | null | null | null | gutec/cli.py | maristmichael/GuteCompiler | 3a946662735cbb4c81726e7106cd01cf36b0831f | [
"MIT"
] | null | null | null | #!/usr/bin/env python
import click
from gutec import gutec
def cli():
gutec.main()
| 13.142857 | 23 | 0.663043 | 14 | 92 | 4.357143 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 92 | 6 | 24 | 15.333333 | 0.847222 | 0.217391 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f4f1bcabaf391a75fdebc91f3197ffc6998823dc | 36 | py | Python | style_transfer_3d/__init__.py | hiroharu-kato/style_transfer_3d | fa1f460d6d02e2146282834a636bec3042c05cf9 | [
"MIT"
] | 116 | 2018-01-24T05:21:34.000Z | 2022-03-31T19:50:10.000Z | style_transfer_3d/__init__.py | hiroharu-kato/style_transfer_3d | fa1f460d6d02e2146282834a636bec3042c05cf9 | [
"MIT"
] | 3 | 2018-01-31T08:46:25.000Z | 2022-01-08T03:52:00.000Z | style_transfer_3d/__init__.py | hiroharu-kato/style_transfer_3d | fa1f460d6d02e2146282834a636bec3042c05cf9 | [
"MIT"
] | 29 | 2018-01-26T12:13:14.000Z | 2022-03-25T09:05:33.000Z | from main import StyleTransferModel
| 18 | 35 | 0.888889 | 4 | 36 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 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 | 1 | 0 | 0 | 6 |
76183b95f564d9f863185727f9efa48a09f7010b | 10,375 | py | Python | sparselayer_tensorflow/sparselayer_tensorflow.py | AryaAftab/sparselayer-tensorflow | 461be8170693ffb3905912109bc51209a3a809f7 | [
"MIT"
] | 2 | 2021-10-11T16:53:59.000Z | 2021-12-27T00:26:02.000Z | sparselayer_tensorflow/sparselayer_tensorflow.py | AryaAftab/sparselayer-tensorflow | 461be8170693ffb3905912109bc51209a3a809f7 | [
"MIT"
] | null | null | null | sparselayer_tensorflow/sparselayer_tensorflow.py | AryaAftab/sparselayer-tensorflow | 461be8170693ffb3905912109bc51209a3a809f7 | [
"MIT"
] | null | null | null | import numpy as np
import tensorflow as tf
#classes
class SparseLayerDense(tf.keras.layers.Layer):
def __init__(self,
units,
density,
use_bias=True,
activation=None,
kernel_initializer=None,
full="output",
... | 39.903846 | 111 | 0.578024 | 1,213 | 10,375 | 4.731245 | 0.094806 | 0.026137 | 0.060986 | 0.050183 | 0.848057 | 0.836905 | 0.817216 | 0.78045 | 0.768775 | 0.752047 | 0 | 0.008702 | 0.324337 | 10,375 | 260 | 112 | 39.903846 | 0.809986 | 0.000675 | 0 | 0.678947 | 0 | 0 | 0.043981 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.052632 | false | 0 | 0.010526 | 0.021053 | 0.105263 | 0.031579 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
524f6001e0f97d8c6257ef1a8d265193d0f5161a | 186 | py | Python | LianJia/LianJia/__init__.py | joelYing/Graduation-Design | efa13db967f8eb444fa060186372e81376268856 | [
"MIT"
] | null | null | null | LianJia/LianJia/__init__.py | joelYing/Graduation-Design | efa13db967f8eb444fa060186372e81376268856 | [
"MIT"
] | null | null | null | LianJia/LianJia/__init__.py | joelYing/Graduation-Design | efa13db967f8eb444fa060186372e81376268856 | [
"MIT"
] | null | null | null | # 要启用一个爬虫的持久化,运行以下命令:
#
# scrapy crawl lianjia -s JOBDIR=crawls/somespider-1
# 然后,你就能在任何时候安全地停止爬虫(按Ctrl-C或者发送一个信号)。恢复这个爬虫也是同样的命令:
#
# scrapy crawl lianjia -s JOBDIR=crawls/somespider-1
| 23.25 | 52 | 0.77957 | 23 | 186 | 6.304348 | 0.652174 | 0.151724 | 0.248276 | 0.262069 | 0.57931 | 0.57931 | 0.57931 | 0.57931 | 0 | 0 | 0 | 0.011976 | 0.102151 | 186 | 7 | 53 | 26.571429 | 0.856287 | 0.924731 | 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 | 1 | 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 | 6 |
52874c1d1d90758f420c4b9d1af5687d55e63100 | 6,276 | py | Python | tests/integration/test_vips.py | wikimedia/operations-software-thumbor-plugins | b30f1594e05118a1d2ed77a886d270866206d08a | [
"MIT"
] | 2 | 2017-06-14T15:14:50.000Z | 2018-02-19T12:38:00.000Z | tests/integration/test_vips.py | wikimedia/operations-debs-python-thumbor-wikimedia | 555f99fd500a95e00778fa740ac08e41dc6ff896 | [
"MIT"
] | null | null | null | tests/integration/test_vips.py | wikimedia/operations-debs-python-thumbor-wikimedia | 555f99fd500a95e00778fa740ac08e41dc6ff896 | [
"MIT"
] | null | null | null | from . import WikimediaTestCase
class WikimediaVipsTest(WikimediaTestCase):
def get_config(self):
cfg = super(WikimediaVipsTest, self).get_config()
cfg.VIPS_ENGINE_MIN_PIXELS = 0
return cfg
def test_tiff(self):
self.run_and_check_ssim_and_size(
'thumbor/unsafe/400... | 34.483516 | 85 | 0.561504 | 719 | 6,276 | 4.518776 | 0.147427 | 0.038781 | 0.060942 | 0.077562 | 0.895968 | 0.895045 | 0.893813 | 0.893813 | 0.893813 | 0.893813 | 0 | 0.09478 | 0.337635 | 6,276 | 181 | 86 | 34.674033 | 0.686793 | 0 | 0 | 0.666667 | 0 | 0 | 0.376673 | 0.376673 | 0 | 0 | 0 | 0 | 0 | 1 | 0.046784 | false | 0 | 0.005848 | 0 | 0.064327 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
5e9fa90dcca2747f7b633603476e29809c0c4cac | 31 | py | Python | website_sale_search_tags/tests/__init__.py | factorlibre/website-addons | 9a0c7a238e2b6030d57f7a08d48816b4f2431524 | [
"MIT"
] | 1 | 2020-03-01T03:04:21.000Z | 2020-03-01T03:04:21.000Z | website_sale_search_tags/tests/__init__.py | factorlibre/website-addons | 9a0c7a238e2b6030d57f7a08d48816b4f2431524 | [
"MIT"
] | null | null | null | website_sale_search_tags/tests/__init__.py | factorlibre/website-addons | 9a0c7a238e2b6030d57f7a08d48816b4f2431524 | [
"MIT"
] | 3 | 2019-07-29T20:23:16.000Z | 2021-01-07T20:51:24.000Z | from . import test_search_tags
| 15.5 | 30 | 0.83871 | 5 | 31 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.888889 | 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 | 1 | 0 | 0 | 6 |
5ea75ed37e63339d3fde562b0ae561cc8d03d1a3 | 3,894 | py | Python | tests/test_get_r.py | byteskeptical/sftpretty | 0b242f7d32086aa50a308d0df9ad4578b05f2701 | [
"BSD-3-Clause"
] | 11 | 2021-06-04T21:27:35.000Z | 2021-12-05T09:58:26.000Z | tests/test_get_r.py | byteskeptical/sftpretty | 0b242f7d32086aa50a308d0df9ad4578b05f2701 | [
"BSD-3-Clause"
] | null | null | null | tests/test_get_r.py | byteskeptical/sftpretty | 0b242f7d32086aa50a308d0df9ad4578b05f2701 | [
"BSD-3-Clause"
] | 3 | 2021-08-30T09:17:27.000Z | 2021-12-26T20:51:50.000Z | '''test sftpretty.get_r'''
from common import conn, rmdir, VFS
from pathlib import Path
from sftpretty import Connection, hash, localtree
from tempfile import mkdtemp
def test_get_r(sftpserver):
'''test the get_r for remotepath is pwd '.' '''
with sftpserver.serve_content(VFS):
with Connection(**conn... | 32.722689 | 79 | 0.569594 | 384 | 3,894 | 5.583333 | 0.161458 | 0.024254 | 0.059701 | 0.070896 | 0.783582 | 0.772388 | 0.733675 | 0.719683 | 0.702425 | 0.667444 | 0 | 0.035564 | 0.328454 | 3,894 | 118 | 80 | 33 | 0.784321 | 0.067283 | 0 | 0.789474 | 0 | 0 | 0.049126 | 0.035526 | 0 | 0 | 0 | 0 | 0.065789 | 1 | 0.052632 | false | 0 | 0.052632 | 0 | 0.105263 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 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 | 6 |
0d634c9fc234dc603538e37018734dd64b56f36b | 17 | py | Python | clibs/openal/__init__.py | filonik/clibs | d060d396515d1d4ba5a94cd5a10a6d728e42c295 | [
"MIT"
] | null | null | null | clibs/openal/__init__.py | filonik/clibs | d060d396515d1d4ba5a94cd5a10a6d728e42c295 | [
"MIT"
] | null | null | null | clibs/openal/__init__.py | filonik/clibs | d060d396515d1d4ba5a94cd5a10a6d728e42c295 | [
"MIT"
] | null | null | null | from .al import * | 17 | 17 | 0.705882 | 3 | 17 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 17 | 1 | 17 | 17 | 0.857143 | 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 | 1 | 0 | 0 | 6 |
0d697c1a5c7fc9083ebc7b1b97ad9054bea5dab8 | 76 | py | Python | calculator/special_widgets/language_button.py | restless-dreamer/awesome-calculator | 52c20d0f935cd6906b5020cbd69fb2d537b93efe | [
"MIT"
] | null | null | null | calculator/special_widgets/language_button.py | restless-dreamer/awesome-calculator | 52c20d0f935cd6906b5020cbd69fb2d537b93efe | [
"MIT"
] | 1 | 2021-07-27T21:08:10.000Z | 2021-07-28T11:22:24.000Z | calculator/special_widgets/language_button.py | restless-dreamer/awesome-calculator | 52c20d0f935cd6906b5020cbd69fb2d537b93efe | [
"MIT"
] | null | null | null | from kivy.uix.button import Button
class LanguageButton(Button):
pass
| 12.666667 | 34 | 0.763158 | 10 | 76 | 5.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171053 | 76 | 5 | 35 | 15.2 | 0.920635 | 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 | 1 | 0 | 0 | 6 |
0d953b6484ecd0f584fb3c643ad9cec7109f12d6 | 44 | py | Python | src/scBayesDeconv/mcmcsamplernorm/__init__.py | dsb-lab/scBayesDeconv | 62d154b903afb8782f32e389d020026d5e0b4370 | [
"MIT"
] | null | null | null | src/scBayesDeconv/mcmcsamplernorm/__init__.py | dsb-lab/scBayesDeconv | 62d154b903afb8782f32e389d020026d5e0b4370 | [
"MIT"
] | 1 | 2021-02-11T11:21:16.000Z | 2021-02-11T11:21:16.000Z | src/scBayesDeconv/mcmcsamplernorm/__init__.py | gatocor/gaussDeconv2dist | 4b65895d200654fc0bbc22118f9995eda12b0417 | [
"MIT"
] | 1 | 2021-01-05T12:20:04.000Z | 2021-01-05T12:20:04.000Z | from .mcmcsamplernorm import mcmcsamplernorm | 44 | 44 | 0.909091 | 4 | 44 | 10 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068182 | 44 | 1 | 44 | 44 | 0.97561 | 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 | 1 | 0 | 0 | 6 |
0dc3c8da6adba57b2cba85e5435bc7ed04d0bb9d | 43 | py | Python | Parte 1/Ativividades do moodle/string/soma das listas.py | Raiane-nepomuceno/Python | acf8bd0436c717614fe7fd4f62e9fa2e432c386a | [
"MIT"
] | null | null | null | Parte 1/Ativividades do moodle/string/soma das listas.py | Raiane-nepomuceno/Python | acf8bd0436c717614fe7fd4f62e9fa2e432c386a | [
"MIT"
] | null | null | null | Parte 1/Ativividades do moodle/string/soma das listas.py | Raiane-nepomuceno/Python | acf8bd0436c717614fe7fd4f62e9fa2e432c386a | [
"MIT"
] | null | null | null | a=[1,2,3,4,5,6]
b = [2,4,5,2,4]
print(a*b)
| 10.75 | 15 | 0.465116 | 16 | 43 | 1.25 | 0.5625 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.289474 | 0.116279 | 43 | 3 | 16 | 14.333333 | 0.236842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2184c83d466f27e3d26dbc062f20b3cbb7144545 | 120 | py | Python | test.py | jaywhen/covid19-trend-CN | d419814a7e08df3b9d1527a2a10b707bfcb53ff4 | [
"MIT"
] | null | null | null | test.py | jaywhen/covid19-trend-CN | d419814a7e08df3b9d1527a2a10b707bfcb53ff4 | [
"MIT"
] | null | null | null | test.py | jaywhen/covid19-trend-CN | d419814a7e08df3b9d1527a2a10b707bfcb53ff4 | [
"MIT"
] | null | null | null | # import os
# from dotenv import load_dotenv
import settings
print(settings.USER)
# s = os.getenv('HELLO')
# print(s)
| 13.333333 | 32 | 0.716667 | 18 | 120 | 4.722222 | 0.611111 | 0.282353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.158333 | 120 | 8 | 33 | 15 | 0.841584 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 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 | 1 | 0 | 6 |
21856f422740bf8bd9e14ec6584cdfd665a18908 | 94 | py | Python | main (48).py | alyizzet/Python_Programming_Exercises | 96cc7ab6a760d58a8a08d511d834d13b162cf794 | [
"Apache-2.0"
] | null | null | null | main (48).py | alyizzet/Python_Programming_Exercises | 96cc7ab6a760d58a8a08d511d834d13b162cf794 | [
"Apache-2.0"
] | null | null | null | main (48).py | alyizzet/Python_Programming_Exercises | 96cc7ab6a760d58a8a08d511d834d13b162cf794 | [
"Apache-2.0"
] | null | null | null | def max_three(num1, num2, num3):
return max(num1,num2,num3)
n = max_three(4,2,5)
print(n) | 18.8 | 32 | 0.680851 | 19 | 94 | 3.263158 | 0.631579 | 0.258065 | 0.387097 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1125 | 0.148936 | 94 | 5 | 33 | 18.8 | 0.6625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.25 | 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 | 1 | 0 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.