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
5df0f5315c42780b6aaa1dab76caac227ebc61e3
178
py
Python
qulab/server/__main__.py
liuqichun3809/quantum-lab
05bea707b314ea1687866f56ee439079336cfbbc
[ "MIT" ]
3
2020-08-30T16:11:49.000Z
2021-03-05T12:09:30.000Z
qulab/server/__main__.py
liuqichun3809/quantum-lab
05bea707b314ea1687866f56ee439079336cfbbc
[ "MIT" ]
null
null
null
qulab/server/__main__.py
liuqichun3809/quantum-lab
05bea707b314ea1687866f56ee439079336cfbbc
[ "MIT" ]
2
2019-07-24T15:12:31.000Z
2019-09-20T02:17:28.000Z
import logging from .server import main log = logging.getLogger() log.setLevel(logging.DEBUG) ch = logging.StreamHandler() ch.setLevel(logging.DEBUG) log.addHandler(ch) main()
16.181818
28
0.775281
24
178
5.75
0.5
0.217391
0.289855
0
0
0
0
0
0
0
0
0
0.101124
178
10
29
17.8
0.8625
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
5dff91aade6b34028cd64ab1e5f8eae8a25b10cf
469
py
Python
eyesore/decision_graph/nodes/__init__.py
twizmwazin/hacrs
3c9386b0fa5f5ea6b93b2bc8b3c4eed6abceec6a
[ "BSD-2-Clause" ]
2
2019-11-07T02:55:40.000Z
2021-12-30T01:37:43.000Z
eyesore/decision_graph/nodes/__init__.py
twizmwazin/hacrs
3c9386b0fa5f5ea6b93b2bc8b3c4eed6abceec6a
[ "BSD-2-Clause" ]
null
null
null
eyesore/decision_graph/nodes/__init__.py
twizmwazin/hacrs
3c9386b0fa5f5ea6b93b2bc8b3c4eed6abceec6a
[ "BSD-2-Clause" ]
2
2019-09-27T12:01:50.000Z
2019-10-09T21:39:52.000Z
from .actions import ActionsNode from .decision_base import DecisionBaseNode from .decision_node import DecisionNode from .successor import SuccessorNode from .successors import SuccessorsNode from .read_eval import ReadEvalNode from .decision_not_taken import DecisionNotTakenNode from .read_eval_loop import ReadEvalLo...
39.083333
61
0.882729
56
469
7.178571
0.535714
0.089552
0.059701
0
0
0
0
0
0
0
0
0
0.093817
469
12
62
39.083333
0.945882
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
f8e400f2d2957f60517ed6da46ac93fe44473998
97
py
Python
level09/Ressources/script.py
SpenderJ/snowcrash
cc7019b92789d3d7405ee4320251bd0501e927b7
[ "MIT" ]
1
2021-05-13T20:12:04.000Z
2021-05-13T20:12:04.000Z
level09/Ressources/script.py
SpenderJ/snowcrash
cc7019b92789d3d7405ee4320251bd0501e927b7
[ "MIT" ]
null
null
null
level09/Ressources/script.py
SpenderJ/snowcrash
cc7019b92789d3d7405ee4320251bd0501e927b7
[ "MIT" ]
null
null
null
# coding utf-8 import sys w=sys.argv[1] for x in range(0,len(w)):print(chr(ord(w[x])-x),end="")
16.166667
55
0.628866
23
97
2.652174
0.782609
0
0
0
0
0
0
0
0
0
0
0.034884
0.113402
97
5
56
19.4
0.674419
0.123711
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
f8f4ad97aff4a36dcc8849289524c7a14b8d69a1
298
py
Python
tests/test_examples.py
nthndy/BayesianTracker
443f984ce830373e140f744a27179debdf34ae58
[ "MIT" ]
null
null
null
tests/test_examples.py
nthndy/BayesianTracker
443f984ce830373e140f744a27179debdf34ae58
[ "MIT" ]
null
null
null
tests/test_examples.py
nthndy/BayesianTracker
443f984ce830373e140f744a27179debdf34ae58
[ "MIT" ]
null
null
null
from btrack import datasets def test_pooch_registry(): """ Test that `pooch` registry is up to date with remote version. This will fail if the remote file does not match the hash hard-coded in btrack.datasets. """ registry_file = datasets._remote_registry() # noqa: F841
27.090909
72
0.704698
43
298
4.767442
0.72093
0.126829
0
0
0
0
0
0
0
0
0
0.012987
0.224832
298
10
73
29.8
0.874459
0.543624
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
3
5d1205ee319347a1d7a4c8ecdf9c3c470bedd065
226
py
Python
mmcls/models/utils/augment/builder.py
YuxinZou/mmclassification
2037260ea6c98a3b115e97727e1151a1c2c32f7a
[ "Apache-2.0" ]
1,190
2020-07-10T01:16:01.000Z
2022-03-31T09:48:38.000Z
mmcls/models/utils/augment/builder.py
YuxinZou/mmclassification
2037260ea6c98a3b115e97727e1151a1c2c32f7a
[ "Apache-2.0" ]
702
2020-07-13T13:31:33.000Z
2022-03-31T06:48:04.000Z
mmcls/models/utils/augment/builder.py
YuxinZou/mmclassification
2037260ea6c98a3b115e97727e1151a1c2c32f7a
[ "Apache-2.0" ]
502
2020-07-10T02:40:55.000Z
2022-03-31T02:07:09.000Z
# Copyright (c) OpenMMLab. All rights reserved. from mmcv.utils import Registry, build_from_cfg AUGMENT = Registry('augment') def build_augment(cfg, default_args=None): return build_from_cfg(cfg, AUGMENT, default_args)
25.111111
53
0.778761
32
226
5.28125
0.59375
0.106509
0.142012
0
0
0
0
0
0
0
0
0
0.128319
226
8
54
28.25
0.857868
0.199115
0
0
0
0
0.039106
0
0
0
0
0
0
1
0.25
false
0
0.25
0.25
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
5d5555c86398d9c3c0de49db455df0439faf2e5b
68,877
py
Python
tests/unit/test_identity.py
rs-randallburt/pyrax
fb6eb55f8218cab7248d8f44f77148d254c5074c
[ "Apache-2.0" ]
null
null
null
tests/unit/test_identity.py
rs-randallburt/pyrax
fb6eb55f8218cab7248d8f44f77148d254c5074c
[ "Apache-2.0" ]
null
null
null
tests/unit/test_identity.py
rs-randallburt/pyrax
fb6eb55f8218cab7248d8f44f77148d254c5074c
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- import datetime import json import os import random import sys import unittest from six import StringIO from mock import MagicMock as Mock from mock import patch import pyrax import pyrax.utils as utils import pyrax.exceptions as exc from pyrax import base_identity from...
42.490438
80
0.621877
8,001
68,877
5.108236
0.052368
0.045754
0.073108
0.023709
0.798292
0.749529
0.718994
0.689193
0.654743
0.634215
0
0.004408
0.268827
68,877
1,620
81
42.516667
0.807152
0.009829
0
0.634801
0
0
0.054634
0.0077
0
0
0
0
0.14099
1
0.090784
false
0.041265
0.011692
0.001376
0.10729
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
5d5fca8610522739bb72d1155e20a6a8d88d13c7
35
py
Python
tests/fixtures/test_title_prefix/content_03_expected.py
elifesciences/elife-tools
ee345bf0e6703ef0f7e718355e85730abbdfd117
[ "MIT" ]
9
2015-04-16T08:13:31.000Z
2020-05-18T14:03:06.000Z
tests/fixtures/test_title_prefix/content_03_expected.py
elifesciences/elife-tools
ee345bf0e6703ef0f7e718355e85730abbdfd117
[ "MIT" ]
310
2015-02-11T00:30:09.000Z
2021-07-14T23:58:50.000Z
tests/fixtures/test_title_prefix/content_03_expected.py
elifesciences/elife-tools
ee345bf0e6703ef0f7e718355e85730abbdfd117
[ "MIT" ]
9
2015-02-04T01:21:28.000Z
2021-06-15T12:50:47.000Z
expected = "Scientific publishing"
17.5
34
0.8
3
35
9.333333
1
0
0
0
0
0
0
0
0
0
0
0
0.114286
35
1
35
35
0.903226
0
0
0
0
0
0.6
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
5d702cee6c8ec82d463db64f4d9ab14ed032efe0
838
py
Python
validation/types/number/uint_type_validation.py
uon-language/uon-parser
666894cf4917d8da01512918a147882550382269
[ "MIT" ]
1
2020-05-29T06:47:16.000Z
2020-05-29T06:47:16.000Z
validation/types/number/uint_type_validation.py
Cell00phane/uon-parser
666894cf4917d8da01512918a147882550382269
[ "MIT" ]
1
2020-07-16T08:19:08.000Z
2020-07-16T08:19:08.000Z
validation/types/number/uint_type_validation.py
uon-language/uon-parser
666894cf4917d8da01512918a147882550382269
[ "MIT" ]
null
null
null
from validation.types.type_validation import ( ValidationType, ValidationTypeError ) from uontypes.scalars.uon_uint import UonUint class UintTypeValidation(ValidationType): def validate_type(self, input_): if (not isinstance(input_, UonUint)): raise ValidationTypeError("The following inpu...
28.896552
69
0.612172
82
838
6.073171
0.52439
0.084337
0.088353
0
0
0
0
0
0
0
0
0.00692
0.310263
838
29
70
28.896552
0.854671
0.195704
0
0
0
0
0.14534
0
0
0
0
0
0
1
0.25
false
0
0.125
0.125
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
5371e9e48a1b96ec4c876a7ef39886d3f07914c6
1,134
py
Python
src/tensorneko/io/image/image_reader.py
ControlNet/tensorneko
70dfb2f6395e1703dbdf5d5adcfed7b1334efb8f
[ "MIT" ]
9
2021-05-23T17:38:09.000Z
2021-12-30T19:12:12.000Z
src/tensorneko/io/image/image_reader.py
ControlNet/tensorneko
70dfb2f6395e1703dbdf5d5adcfed7b1334efb8f
[ "MIT" ]
null
null
null
src/tensorneko/io/image/image_reader.py
ControlNet/tensorneko
70dfb2f6395e1703dbdf5d5adcfed7b1334efb8f
[ "MIT" ]
null
null
null
from torch import Tensor from torchvision.io import read_image from torchvision.io.image import ImageReadMode class ImageReader: """ImageReader for reading images as :class:`~torch.Tensor`""" @staticmethod def of(path: str, mode: ImageReadMode = ImageReadMode.UNCHANGED) -> Tensor: """ Rea...
37.8
102
0.631393
134
1,134
5.298507
0.440299
0.091549
0.101408
0.097183
0.298592
0.146479
0.146479
0
0
0
0
0.005967
0.261023
1,134
29
103
39.103448
0.841289
0.534392
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0.333333
0
0.888889
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
3
53843490fe92b10042aae46acc849641c0aa83d5
102
py
Python
gan_mnist_rdfl_demo/utils/data_split.py
ZJU-DistributedAI/RDFL-GAN
e5f10b071d25db7931749515b1b8a3c477a91257
[ "Apache-2.0" ]
null
null
null
gan_mnist_rdfl_demo/utils/data_split.py
ZJU-DistributedAI/RDFL-GAN
e5f10b071d25db7931749515b1b8a3c477a91257
[ "Apache-2.0" ]
null
null
null
gan_mnist_rdfl_demo/utils/data_split.py
ZJU-DistributedAI/RDFL-GAN
e5f10b071d25db7931749515b1b8a3c477a91257
[ "Apache-2.0" ]
1
2021-04-08T12:11:58.000Z
2021-04-08T12:11:58.000Z
from data_util import Data def main(): Data("mnist", 3) if __name__ == "__main__": main()
10.2
26
0.607843
14
102
3.785714
0.714286
0
0
0
0
0
0
0
0
0
0
0.012987
0.245098
102
9
27
11.333333
0.675325
0
0
0
0
0
0.13
0
0
0
0
0
0
1
0.2
true
0
0.2
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
5399a0d86628a7abfda9f547e362a5f487cdcca9
305
py
Python
tests/unit/test_weather.py
vyahello/async-weather-api
03edabb9c1d29b2fe9b478d2751361d6dc1d4a08
[ "MIT" ]
2
2020-01-06T19:10:22.000Z
2020-05-27T03:41:59.000Z
tests/unit/test_weather.py
vyahello/async-weather-api
03edabb9c1d29b2fe9b478d2751361d6dc1d4a08
[ "MIT" ]
3
2020-10-30T19:34:54.000Z
2021-08-14T07:20:43.000Z
tests/unit/test_weather.py
vyahello/async-weather-api
03edabb9c1d29b2fe9b478d2751361d6dc1d4a08
[ "MIT" ]
null
null
null
from tests.markers import unit from weather import Bind pytestmark = unit def test_bind_host(bind: Bind) -> None: assert bind.host == "0.0.0.0" def test_bind_port(bind: Bind) -> None: assert bind.port == 5000 def test_bind_as_str(bind: Bind) -> None: assert str(bind) == "0.0.0.0:5000"
17.941176
41
0.678689
52
305
3.846154
0.346154
0.06
0.06
0.27
0.22
0
0
0
0
0
0
0.064516
0.186885
305
16
42
19.0625
0.741935
0
0
0
0
0
0.062295
0
0
0
0
0
0.333333
1
0.333333
false
0
0.222222
0
0.555556
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
53a1b9eb05125dbabfc60bee6d02a5ecf195a79c
192
py
Python
xestore/__init__.py
jmosbacher/xestore
ad5451b54ec44a86a1371e5253fab3aaa8e5a111
[ "MIT" ]
null
null
null
xestore/__init__.py
jmosbacher/xestore
ad5451b54ec44a86a1371e5253fab3aaa8e5a111
[ "MIT" ]
null
null
null
xestore/__init__.py
jmosbacher/xestore
ad5451b54ec44a86a1371e5253fab3aaa8e5a111
[ "MIT" ]
null
null
null
"""Top-level package for xestore.""" __author__ = """Yossi Mosbacher""" __email__ = 'joe.mosbacher@gmail.com' __version__ = '0.1.1' from .settings import Config from .client import XeStore
19.2
37
0.723958
25
192
5.08
0.8
0
0
0
0
0
0
0
0
0
0
0.017964
0.130208
192
9
38
21.333333
0.742515
0.15625
0
0
0
0
0.277419
0.148387
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
53b1ba0dd25d34712bc019a32ce0741582f86a9a
315
py
Python
aulaspythonintermediario/exercicios02/exercicios02/exercicios02.py
lel352/Curso-Python
d65484c807db52d57042eee20ccbd3131825fa98
[ "MIT" ]
1
2021-09-04T14:34:34.000Z
2021-09-04T14:34:34.000Z
aulaspythonintermediario/exercicios02/exercicios02/exercicios02.py
lel352/Curso-Python
d65484c807db52d57042eee20ccbd3131825fa98
[ "MIT" ]
null
null
null
aulaspythonintermediario/exercicios02/exercicios02/exercicios02.py
lel352/Curso-Python
d65484c807db52d57042eee20ccbd3131825fa98
[ "MIT" ]
null
null
null
def funcao1(funcao, *args, **kwargs): return funcao(*args, **kwargs) def funcao2(nome): return f'Oi {nome}' def funcao3(nome, saudacao): return f'{saudacao} {nome}' executando = funcao1(funcao2, 'Luiz') print(executando) executando = funcao1(funcao3, 'Luiz', saudacao='Bom dia') print(executando)
18.529412
57
0.685714
39
315
5.538462
0.435897
0.092593
0.148148
0
0
0
0
0
0
0
0
0.026217
0.152381
315
16
58
19.6875
0.782772
0
0
0.2
0
0
0.130159
0
0
0
0
0
0
1
0.3
false
0
0
0.3
0.6
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
53d1d49760424b05379f7c9897153bc723c4223c
5,418
py
Python
project/app/forms.py
brunoliveira8/fibrando
b9bc4487ace3fd2ce4d8852fbe06377e1f9148a7
[ "MIT" ]
null
null
null
project/app/forms.py
brunoliveira8/fibrando
b9bc4487ace3fd2ce4d8852fbe06377e1f9148a7
[ "MIT" ]
null
null
null
project/app/forms.py
brunoliveira8/fibrando
b9bc4487ace3fd2ce4d8852fbe06377e1f9148a7
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from django import forms from django.db import models from django.contrib.auth.models import User from app.models import User, Athlete, Tracker, Exercise, PersonalTrainer, BodyScreening, Gym, Subscribe from django.db.models import Q from registration.forms import RegistrationFormUniqueEmail cla...
39.547445
192
0.667774
585
5,418
6.121368
0.198291
0.086009
0.109467
0.1642
0.631667
0.609327
0.600391
0.571349
0.539235
0.47389
0
0.001546
0.164267
5,418
136
193
39.838235
0.789311
0.073459
0
0.376238
0
0
0.16138
0
0
0
0
0
0
1
0.019802
false
0.089109
0.059406
0
0.574257
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
3
53d7d29c754277adcb7e032f2fd6287394359f46
180
py
Python
amac_spider/main.py
galaxyyao/amac_spider
271692207cc68a2495c0f0ac130b99dd1c7b957f
[ "MIT" ]
1
2019-12-19T06:26:43.000Z
2019-12-19T06:26:43.000Z
amac_spider/main.py
galaxyyao/amac_spider
271692207cc68a2495c0f0ac130b99dd1c7b957f
[ "MIT" ]
null
null
null
amac_spider/main.py
galaxyyao/amac_spider
271692207cc68a2495c0f0ac130b99dd1c7b957f
[ "MIT" ]
null
null
null
from scrapy.crawler import CrawlerProcess from amac_spider.spiders.fund_spider import FundSpider #print ("aaa") process = CrawlerProcess() process.crawl(FundSpider) process.start()
30
54
0.827778
22
180
6.681818
0.681818
0
0
0
0
0
0
0
0
0
0
0
0.077778
180
6
55
30
0.885542
0.072222
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
9900b5064b9785746cb40bc61f4274ff3f307392
27
py
Python
examples/transactions/__init__.py
adamzhang1987/py-etherscan-api
9a3accfa455eb1d9d82ac7be41012948a58f90e3
[ "MIT" ]
458
2016-07-21T19:49:30.000Z
2022-03-23T18:01:19.000Z
examples/transactions/__init__.py
adamzhang1987/py-etherscan-api
9a3accfa455eb1d9d82ac7be41012948a58f90e3
[ "MIT" ]
71
2016-06-17T19:34:18.000Z
2022-03-06T20:13:37.000Z
examples/transactions/__init__.py
adamzhang1987/py-etherscan-api
9a3accfa455eb1d9d82ac7be41012948a58f90e3
[ "MIT" ]
269
2016-06-20T09:51:17.000Z
2022-03-17T19:19:10.000Z
__author__ = 'Corey Petty'
13.5
26
0.740741
3
27
5.333333
1
0
0
0
0
0
0
0
0
0
0
0
0.148148
27
1
27
27
0.695652
0
0
0
0
0
0.407407
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
54e9b989bff6d19b37896081992977d13d429fb6
1,095
py
Python
api/permissions.py
bymi15/JobTrackerBoard
fe48b4276ccfe8f11555d43e5eb45589905fde3e
[ "Apache-2.0" ]
null
null
null
api/permissions.py
bymi15/JobTrackerBoard
fe48b4276ccfe8f11555d43e5eb45589905fde3e
[ "Apache-2.0" ]
4
2021-04-08T22:00:18.000Z
2021-06-10T20:38:40.000Z
api/permissions.py
bymi15/JobTrackerBoard
fe48b4276ccfe8f11555d43e5eb45589905fde3e
[ "Apache-2.0" ]
null
null
null
from rest_framework import permissions class IsSameUser(permissions.BasePermission): """ Object-level permission to only allow owners of an object to edit it. Assumes the model instance has a `user` attribute. """ def has_object_permission(self, request, view, obj): # Instance must have an...
42.115385
77
0.724201
132
1,095
5.931818
0.333333
0.070243
0.061303
0.112388
0.489144
0.489144
0.489144
0.489144
0.489144
0.489144
0
0
0.193607
1,095
26
78
42.115385
0.88675
0.309589
0
0.307692
0
0
0
0
0
0
0
0
0
1
0.307692
false
0
0.076923
0.307692
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
0706e73e08ea2d38fbb0e0e66f4b3e79c9cb5704
297
py
Python
tool/utils/generaltools.py
panmt/MRNet_for_vehicle_reID
aa97998934972cc1e034ac2b117869574d36cb90
[ "MIT" ]
1
2021-07-11T17:00:58.000Z
2021-07-11T17:00:58.000Z
tool/utils/generaltools.py
saiftumrani/MRNet_for_vehicle_reID
aa97998934972cc1e034ac2b117869574d36cb90
[ "MIT" ]
null
null
null
tool/utils/generaltools.py
saiftumrani/MRNet_for_vehicle_reID
aa97998934972cc1e034ac2b117869574d36cb90
[ "MIT" ]
1
2021-08-03T06:16:04.000Z
2021-08-03T06:16:04.000Z
from __future__ import absolute_import from __future__ import print_function from __future__ import division import random import numpy as np import torch def set_random_seed(seed): random.seed(seed) np.random.seed(seed) torch.manual_seed(seed) torch.cuda.manual_seed_all(seed)
19.8
38
0.791246
44
297
4.909091
0.409091
0.148148
0.222222
0
0
0
0
0
0
0
0
0
0.151515
297
14
39
21.214286
0.857143
0
0
0
0
0
0
0
0
0
0
0
0
1
0.090909
false
0
0.545455
0
0.636364
0.090909
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
07572ad67ed391542b632e4c84aab396ccee241e
130
py
Python
easytrader/__init__.py
YuSekai/easytrader
e9317b33101de37f20da739cc588d9d7ed8b8d14
[ "MIT" ]
null
null
null
easytrader/__init__.py
YuSekai/easytrader
e9317b33101de37f20da739cc588d9d7ed8b8d14
[ "MIT" ]
null
null
null
easytrader/__init__.py
YuSekai/easytrader
e9317b33101de37f20da739cc588d9d7ed8b8d14
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from .api import use, follower from . import exceptions __version__ = "0.15.2" __author__ = "shidenggui"
18.571429
30
0.684615
17
130
4.764706
0.882353
0
0
0
0
0
0
0
0
0
0
0.045872
0.161538
130
6
31
21.666667
0.697248
0.161538
0
0
0
0
0.149533
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
4ae461cab2c9881868e92293a5539d686f742aa2
416
py
Python
pycmbs/tests/test_hov.py
pygeo/pycmbs
0df863e1575ffad21c1ea9790bcbd3a7982d99c6
[ "MIT" ]
9
2015-04-01T04:22:25.000Z
2018-08-31T03:51:34.000Z
pycmbs/tests/test_hov.py
pygeo/pycmbs
0df863e1575ffad21c1ea9790bcbd3a7982d99c6
[ "MIT" ]
14
2015-01-27T20:33:10.000Z
2016-06-02T07:23:25.000Z
pycmbs/tests/test_hov.py
pygeo/pycmbs
0df863e1575ffad21c1ea9790bcbd3a7982d99c6
[ "MIT" ]
8
2015-02-07T20:46:42.000Z
2019-10-25T00:36:32.000Z
# -*- coding: utf-8 -*- """ This file is part of pyCMBS. (c) 2012- Alexander Loew For COPYING and LICENSE details, please refer to the LICENSE file """ import unittest from pycmbs import hov class TestHov(unittest.TestCase): def setUp(self): pass def test_StubTest(self): self.assertEqual(1, ...
18.086957
65
0.680288
57
416
4.807018
0.789474
0
0
0
0
0
0
0
0
0
0
0.027356
0.209135
416
22
66
18.909091
0.805471
0.442308
0
0
0
0
0.035874
0
0
0
0
0
0.111111
1
0.222222
false
0.111111
0.222222
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
ab0c02ecfa4cb95b9388aa5a10ed4443e27a91a0
748
py
Python
fwrite/filters/__init__.py
fooying/fwrite
e370ed66c2410b78db5db3fda2967f7b9a93e417
[ "MIT" ]
9
2015-05-05T02:03:42.000Z
2019-05-14T11:51:59.000Z
fwrite/filters/__init__.py
fooying/fwrite
e370ed66c2410b78db5db3fda2967f7b9a93e417
[ "MIT" ]
null
null
null
fwrite/filters/__init__.py
fooying/fwrite
e370ed66c2410b78db5db3fda2967f7b9a93e417
[ "MIT" ]
5
2015-06-10T01:09:20.000Z
2018-12-01T17:18:18.000Z
#!/usr/bin/env python #encoding=utf-8 #by Fooying 2013-11-17 01:57:59 ''' 过滤器 ''' import datetime from ..config import read_config FILTERS = ['get_base', 'get_url', 'get_version', 'get_year', 'get_this_site', 'get_icp'] def get_base(name): if name: value = read_config('base', name) else: valu...
17.809524
88
0.65107
108
748
4.314815
0.37963
0.128755
0.139485
0.203863
0.272532
0.11588
0
0
0
0
0
0.025042
0.199198
748
41
89
18.243902
0.752922
0.090909
0
0.217391
0
0
0.156156
0
0
0
0
0
0
1
0.26087
false
0
0.086957
0.043478
0.608696
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
ab13d751c0b1b805d742342e45811a42318d6672
11,604
py
Python
tests/cleanup_test.py
bretttegart/treadmill
812109e31c503a6eddaee2d3f2e1faf2833b6aaf
[ "Apache-2.0" ]
2
2017-10-31T18:48:20.000Z
2018-03-04T20:35:20.000Z
tests/cleanup_test.py
bretttegart/treadmill
812109e31c503a6eddaee2d3f2e1faf2833b6aaf
[ "Apache-2.0" ]
null
null
null
tests/cleanup_test.py
bretttegart/treadmill
812109e31c503a6eddaee2d3f2e1faf2833b6aaf
[ "Apache-2.0" ]
null
null
null
"""Unit test for cleanup - cleanup node apps """ from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals import glob import os import shutil import tempfile import unittest import mock import treadmill import treadmill.runt...
38.171053
79
0.653395
1,414
11,604
5.128006
0.108911
0.070611
0.038615
0.054062
0.773411
0.74569
0.709006
0.661702
0.651083
0.622673
0
0.04547
0.230524
11,604
303
80
38.29703
0.766603
0.138745
0
0.450495
0
0
0.178383
0.142018
0
0
0
0
0.123762
1
0.064356
false
0
0.064356
0
0.133663
0.004951
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
ab2ecb3b8a21ab465235898d0d8fb4001a4ee970
127
py
Python
CodeChef/FLOW017.py
PROxZIMA/Competitive-Coding
ba6b365ea130b6fcaa15c5537b530ed363bab793
[ "MIT" ]
1
2021-01-10T13:29:21.000Z
2021-01-10T13:29:21.000Z
CodeChef/FLOW017.py
PROxZIMA/Competitive-Coding
ba6b365ea130b6fcaa15c5537b530ed363bab793
[ "MIT" ]
null
null
null
CodeChef/FLOW017.py
PROxZIMA/Competitive-Coding
ba6b365ea130b6fcaa15c5537b530ed363bab793
[ "MIT" ]
null
null
null
# https://www.codechef.com/viewsolution/43728670 for _ in range(int(input())): print(sorted(map(int, input().split()))[1])
31.75
48
0.677165
18
127
4.722222
0.888889
0.188235
0
0
0
0
0
0
0
0
0
0.078261
0.094488
127
4
49
31.75
0.66087
0.362205
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
ab3970634f4f82f3b7e73d6fd620bff2dee97b51
4,280
py
Python
env/Lib/site-packages/OpenGL/raw/GL/EXT/memory_object.py
5gconnectedbike/Navio2
8c3f2b5d8bbbcea1fc08739945183c12b206712c
[ "BSD-3-Clause" ]
210
2016-04-09T14:26:00.000Z
2022-03-25T18:36:19.000Z
env/Lib/site-packages/OpenGL/raw/GL/EXT/memory_object.py
5gconnectedbike/Navio2
8c3f2b5d8bbbcea1fc08739945183c12b206712c
[ "BSD-3-Clause" ]
72
2016-09-04T09:30:19.000Z
2022-03-27T17:06:53.000Z
env/Lib/site-packages/OpenGL/raw/GL/EXT/memory_object.py
5gconnectedbike/Navio2
8c3f2b5d8bbbcea1fc08739945183c12b206712c
[ "BSD-3-Clause" ]
64
2016-04-09T14:26:49.000Z
2022-03-21T11:19:47.000Z
'''Autogenerated by xml_generate script, do not edit!''' from OpenGL import platform as _p, arrays # Code generation uses this from OpenGL.raw.GL import _types as _cs # End users want this... from OpenGL.raw.GL._types import * from OpenGL.raw.GL import _errors from OpenGL.constant import Constant as _C import ctypes _...
52.195122
130
0.839019
630
4,280
5.31746
0.179365
0.091343
0.105075
0.059104
0.64597
0.545672
0.545672
0.51403
0.500896
0.438209
0
0.020571
0.034579
4,280
81
131
52.839506
0.790174
0.023364
0
0.298701
1
0
0.066858
0.035466
0
0
0.014378
0
0
1
0.25974
false
0.246753
0.077922
0.012987
0.350649
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
ab54141b94a8ba77e9362b67bc8d84a20df58a68
308
py
Python
application/controllers/site.py
yongli82/FlaskBookRead
b69e469e1d48cda29906ed6f33ec0a239576313a
[ "MIT" ]
543
2015-01-12T06:22:48.000Z
2022-02-18T11:42:32.000Z
application/controllers/site.py
yongli82/FlaskBookRead
b69e469e1d48cda29906ed6f33ec0a239576313a
[ "MIT" ]
31
2015-01-01T06:55:59.000Z
2018-02-17T00:20:42.000Z
application/controllers/site.py
yongli82/FlaskBookRead
b69e469e1d48cda29906ed6f33ec0a239576313a
[ "MIT" ]
124
2015-12-10T01:17:18.000Z
2021-11-08T04:03:38.000Z
# coding: utf-8 from flask import render_template, Blueprint bp = Blueprint('site', __name__) @bp.route('/') def index(): """Index page.""" return render_template('site/index/index.html') @bp.route('/about') def about(): """About page.""" return render_template('site/about/about.html')
18.117647
51
0.659091
40
308
4.9
0.475
0.214286
0.163265
0.244898
0.285714
0
0
0
0
0
0
0.003831
0.152597
308
16
52
19.25
0.747126
0.123377
0
0
0
0
0.204633
0.162162
0
0
0
0
0
1
0.25
false
0
0.125
0
0.625
0.25
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
ab5654f1b6d4b2b517f023168ba1c5502477c257
417
py
Python
settings.py
Wilfongjt/lb-data
eca16bcec6cae5822146dfce8ea56e5f533c7f87
[ "MIT" ]
null
null
null
settings.py
Wilfongjt/lb-data
eca16bcec6cae5822146dfce8ea56e5f533c7f87
[ "MIT" ]
6
2020-04-15T10:15:30.000Z
2020-07-10T16:12:42.000Z
settings.py
Wilfongjt/lb-data
eca16bcec6cae5822146dfce8ea56e5f533c7f87
[ "MIT" ]
null
null
null
import os #from pathlib import Path from dotenv import load_dotenv import sys # sys.path.insert(0, '{}/__classes__'.format(os.getcwd())) print('app', '{}/_app'.format(os.getcwd()) ) #sys.path.insert(0, '{}'.format(os.getcwd().replace('/pg-dev',''))) sys.path.insert(0, '{}/_app'.format(os.getcwd())) load_dotenv() #pr...
24.529412
67
0.693046
61
417
4.540984
0.377049
0.101083
0.202166
0.151625
0
0
0
0
0
0
0
0.007752
0.071942
417
16
68
26.0625
0.70801
0.57554
0
0
0
0
0.1
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0.166667
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
ab585a78b3c0d7d034c56674d77099113402048c
859
py
Python
verstack/lgbm_optuna_tuning/optuna_tools.py
DanilZherebtsov/verstack
56a5f4f8a7dbae17866fbffd45ef0e781bd59215
[ "MIT" ]
23
2020-09-18T22:38:03.000Z
2022-02-22T18:30:59.000Z
verstack/lgbm_optuna_tuning/optuna_tools.py
DanilZherebtsov/verstack
56a5f4f8a7dbae17866fbffd45ef0e781bd59215
[ "MIT" ]
9
2020-12-05T15:31:14.000Z
2022-03-17T07:01:44.000Z
verstack/lgbm_optuna_tuning/optuna_tools.py
DanilZherebtsov/verstack
56a5f4f8a7dbae17866fbffd45ef0e781bd59215
[ "MIT" ]
2
2020-12-01T23:00:03.000Z
2021-11-05T11:50:07.000Z
from enum import Enum # define optuna distribution pattern for params class Distribution(Enum): CHOICE = 0 UNIFORM = 1 INTUNIFORM = 2 QUNIFORM = 3 LOGUNIFORM = 4 DISCRETEUNIFORM = 5 NORMAL = 6 QNORMAL = 7 LOGNORMAL = 8 OPTUNA_DISTRIBUTIONS_MAP = {Distribution.CHOICE: "suggest_categ...
859
859
0.637951
78
859
6.820513
0.538462
0.120301
0.157895
0.120301
0
0
0
0
0
0
0
0.014803
0.2922
859
1
859
859
0.860197
0.052387
0
0
0
0
0.107011
0.02952
0
0
0
0
0
1
0.045455
false
0
0.045455
0
0.681818
0
0
0
0
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
0
0
0
0
1
0
0
3
ab5d9209e92b3f8c6419f642114e2d100f85904b
51
py
Python
api/auth/__init__.py
pypeclub/openpype4-backend
a0abe2ed66887c6529b01bbb9cb00278bbff41e4
[ "Apache-2.0" ]
2
2022-03-09T08:02:52.000Z
2022-03-15T00:34:01.000Z
api/auth/__init__.py
pypeclub/openpype4-backend
a0abe2ed66887c6529b01bbb9cb00278bbff41e4
[ "Apache-2.0" ]
1
2022-03-08T16:22:34.000Z
2022-03-08T16:22:34.000Z
api/auth/__init__.py
pypeclub/openpype4-backend
a0abe2ed66887c6529b01bbb9cb00278bbff41e4
[ "Apache-2.0" ]
null
null
null
__all__ = ["router"] from auth.auth import router
12.75
28
0.72549
7
51
4.714286
0.714286
0
0
0
0
0
0
0
0
0
0
0
0.156863
51
3
29
17
0.767442
0
0
0
0
0
0.117647
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
db491d031a0d7a7429c4b56a39601e07370ccbc5
62
py
Python
main.py
kwanj-k/Jacaranda_test_api
2e8b13fd340612385e227f12fe456e8d65e29e9c
[ "MIT" ]
null
null
null
main.py
kwanj-k/Jacaranda_test_api
2e8b13fd340612385e227f12fe456e8d65e29e9c
[ "MIT" ]
null
null
null
main.py
kwanj-k/Jacaranda_test_api
2e8b13fd340612385e227f12fe456e8d65e29e9c
[ "MIT" ]
null
null
null
from flask_marshmallow import Marshmallow ma = Marshmallow()
15.5
41
0.822581
7
62
7.142857
0.714286
0
0
0
0
0
0
0
0
0
0
0
0.129032
62
3
42
20.666667
0.925926
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
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
db4bfb16e417b9f8e89a6b35fecaf5936dbb6bf2
359
py
Python
slamcore_utils/__init__.py
slamcore/slamcore_utils
cdef772f9b46601e737c676deb9cd535e2331562
[ "BSD-3-Clause" ]
6
2021-12-07T10:56:33.000Z
2021-12-14T00:54:47.000Z
slamcore_utils/__init__.py
slamcore/slamcore_utils
cdef772f9b46601e737c676deb9cd535e2331562
[ "BSD-3-Clause" ]
null
null
null
slamcore_utils/__init__.py
slamcore/slamcore_utils
cdef772f9b46601e737c676deb9cd535e2331562
[ "BSD-3-Clause" ]
null
null
null
from slamcore_utils.data_converter import DataConverter from slamcore_utils.dataset_dir_converter import DatasetDirConverter from slamcore_utils.openloris_converter import OpenLORISConverter __all__ = [ "DataConverter", "DatasetDirConverter", "OpenLORISConverter", ] # TODO Find a way to use this version i...
27.615385
68
0.807799
41
359
6.707317
0.658537
0.130909
0.185455
0
0
0
0
0
0
0
0
0.009615
0.130919
359
12
69
29.916667
0.871795
0.147632
0
0
0
0
0.180921
0
0
0
0
0.083333
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
1
0
0
0
0
3
db62f04fc0f7d8293c2d19b2a076b975227e0ada
861
py
Python
fdk_client/platform/models/EditTicketPayload.py
kavish-d/fdk-client-python
a1023eb530473322cb52e095fc4ceb226c1e6037
[ "MIT" ]
null
null
null
fdk_client/platform/models/EditTicketPayload.py
kavish-d/fdk-client-python
a1023eb530473322cb52e095fc4ceb226c1e6037
[ "MIT" ]
null
null
null
fdk_client/platform/models/EditTicketPayload.py
kavish-d/fdk-client-python
a1023eb530473322cb52e095fc4ceb226c1e6037
[ "MIT" ]
null
null
null
"""Platform Models.""" from marshmallow import fields, Schema from marshmallow.validate import OneOf from ..enums import * from ..models.BaseSchema import BaseSchema from .TicketContent import TicketContent from .AgentChangePayload import AgentChangePayload class EditTicketPayload(BaseSchema): # Le...
18.717391
115
0.716609
92
861
6.641304
0.423913
0.191489
0.166939
0.216039
0.0982
0
0
0
0
0
0
0
0.190476
861
45
116
19.133333
0.876614
0.04065
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.4
0
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
db6a504929454b659b7415007fb5b94a0b69527d
7,976
py
Python
api/alembic/versions/88ed88c89cb3_init_db.py
sedlar/work-tracking
78917ff8200829eb674142ce43b503d8e892d7eb
[ "BSD-2-Clause" ]
null
null
null
api/alembic/versions/88ed88c89cb3_init_db.py
sedlar/work-tracking
78917ff8200829eb674142ce43b503d8e892d7eb
[ "BSD-2-Clause" ]
null
null
null
api/alembic/versions/88ed88c89cb3_init_db.py
sedlar/work-tracking
78917ff8200829eb674142ce43b503d8e892d7eb
[ "BSD-2-Clause" ]
null
null
null
"""Init db Revision ID: 88ed88c89cb3 Revises: Create Date: 2019-01-13 21:48:04.041794 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '88ed88c89cb3' down_revision = None branch_labels = None depends_on = None def upgrade(): # ### commands auto generated ...
48.932515
107
0.698847
1,099
7,976
4.879891
0.11556
0.099944
0.156629
0.176207
0.788365
0.776058
0.73802
0.663248
0.553235
0.49394
0
0.015687
0.120863
7,976
162
108
49.234568
0.749144
0.034729
0
0.409722
0
0
0.22592
0.042809
0
0
0
0
0
1
0.013889
false
0.006944
0.013889
0
0.027778
0
0
0
0
null
0
0
1
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
db9a656cd42c737591de79d83f69c8a6467579dc
237
py
Python
configs/ModianConfig-demo.py
IcyBiscuit/modian-lottery-bot
29607d873586d42af844815fe5fa7abe02f0515e
[ "MIT" ]
1
2019-06-21T08:39:49.000Z
2019-06-21T08:39:49.000Z
configs/ModianConfig-demo.py
IcyBiscuit/modian-lottery-bot
29607d873586d42af844815fe5fa7abe02f0515e
[ "MIT" ]
null
null
null
configs/ModianConfig-demo.py
IcyBiscuit/modian-lottery-bot
29607d873586d42af844815fe5fa7abe02f0515e
[ "MIT" ]
1
2020-06-04T16:09:27.000Z
2020-06-04T16:09:27.000Z
config = { "qqGroup": "", "pro_ids": ['11111', '22222'], "daily": { "pro_ids": ['11111'] }, # "pk": { # "me": "22222", # "vs": ['33333'] # } "dailyInterval": 25, "pkInterval": 30 }
16.928571
34
0.379747
19
237
4.631579
0.789474
0.136364
0.25
0
0
0
0
0
0
0
0
0.190789
0.35865
237
13
35
18.230769
0.388158
0.202532
0
0
0
0
0.347826
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
db9f6a4b796b2b598d84c72f996c42f6337233e9
2,497
py
Python
var/spack/repos/builtin/packages/openexr/package.py
kkauder/spack
6ae8d5c380c1f42094b05d38be26b03650aafb39
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
2
2020-09-10T22:50:08.000Z
2021-01-12T22:18:54.000Z
var/spack/repos/builtin/packages/openexr/package.py
kkauder/spack
6ae8d5c380c1f42094b05d38be26b03650aafb39
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
32
2020-12-15T17:29:20.000Z
2022-03-21T15:08:31.000Z
var/spack/repos/builtin/packages/openexr/package.py
kkauder/spack
6ae8d5c380c1f42094b05d38be26b03650aafb39
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
2
2018-04-06T09:04:11.000Z
2020-01-24T12:52:12.000Z
# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) from spack import * class Openexr(AutotoolsPackage): """OpenEXR Graphics Tools (high dynamic-range image file format...
52.020833
96
0.734882
281
2,497
6.498221
0.366548
0.069003
0.065717
0.100767
0.286966
0.240964
0.240964
0.240964
0.240964
0.240964
0
0.205423
0.128554
2,497
47
97
53.12766
0.633732
0.11694
0
0
0
0.3
0.634624
0.262415
0
0
0
0
0
1
0.033333
false
0
0.033333
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
dbb4681704fc8492e4f4002975db12d1138eeffe
153
py
Python
Cursos-Extras/Python/ex014.py
talessantos49/Primeiros_Passos
7eac781fb3663c8cf71629611981d0ebd9f0216f
[ "MIT" ]
null
null
null
Cursos-Extras/Python/ex014.py
talessantos49/Primeiros_Passos
7eac781fb3663c8cf71629611981d0ebd9f0216f
[ "MIT" ]
null
null
null
Cursos-Extras/Python/ex014.py
talessantos49/Primeiros_Passos
7eac781fb3663c8cf71629611981d0ebd9f0216f
[ "MIT" ]
null
null
null
temp = float(input('Qual a temperatura atual em ºC? ')) n1 = (temp * (9/5)) + 32 print('A temperatura {:.2f}ºC é em Farenheit {:.2f}ºF'.format(temp, n1))
51
72
0.640523
27
153
3.62963
0.703704
0.244898
0
0
0
0
0
0
0
0
0
0.061538
0.150327
153
3
72
51
0.692308
0
0
0
0
0
0.506494
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
dbbf693225bc802059eb1a8b151330a936895c1e
297
py
Python
mayan/apps/autoadmin/management/commands/createautoadmin.py
nattangwiwat/Mayan-EDMS-recitation
fcf16afb56eae812fb99144d65ae1ae6749de0b7
[ "Apache-2.0" ]
343
2015-01-05T14:19:35.000Z
2018-12-10T19:07:48.000Z
mayan/apps/autoadmin/management/commands/createautoadmin.py
nattangwiwat/Mayan-EDMS-recitation
fcf16afb56eae812fb99144d65ae1ae6749de0b7
[ "Apache-2.0" ]
191
2015-01-03T00:48:19.000Z
2018-11-30T09:10:25.000Z
mayan/apps/autoadmin/management/commands/createautoadmin.py
nattangwiwat/Mayan-EDMS-recitation
fcf16afb56eae812fb99144d65ae1ae6749de0b7
[ "Apache-2.0" ]
257
2019-05-14T10:26:37.000Z
2022-03-30T03:37:36.000Z
from django.core.management.base import BaseCommand from ...models import AutoAdminSingleton class Command(BaseCommand): help = 'Used to create a superuser with a secure and automatic password.' def handle(self, *args, **options): AutoAdminSingleton.objects.create_autoadmin()
27
77
0.754209
35
297
6.371429
0.828571
0
0
0
0
0
0
0
0
0
0
0
0.161616
297
10
78
29.7
0.895582
0
0
0
0
0
0.215488
0
0
0
0
0
0
1
0.166667
false
0.166667
0.333333
0
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
dbd30653ccb5a41a0c5fb8829c9c0f33076f1480
533
py
Python
commands/pub_add_command.py
kennethnym/Subliminal
ffa49eba5bcaf1a7cc566d77e15db28fc33cdafe
[ "MIT" ]
null
null
null
commands/pub_add_command.py
kennethnym/Subliminal
ffa49eba5bcaf1a7cc566d77e15db28fc33cdafe
[ "MIT" ]
null
null
null
commands/pub_add_command.py
kennethnym/Subliminal
ffa49eba5bcaf1a7cc566d77e15db28fc33cdafe
[ "MIT" ]
null
null
null
from .dart_command import DartCommand import sublime_plugin class PubAddCommand(DartCommand): def run(self, package_name): if project := super().project(): project.pub_add(package_name) def input(self, _): return PackageNameInputHandler() class PackageNameInputHandler(sublime_...
19.740741
63
0.669794
59
533
5.898305
0.525424
0.126437
0.08046
0.12069
0
0
0
0
0
0
0
0
0.228893
533
26
64
20.5
0.846715
0
0
0
0
0
0.061914
0.0394
0
0
0
0
0
1
0.333333
false
0
0.133333
0.266667
0.866667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
dbd4e3d2853228b61013efafc16b11b00edebd97
149
py
Python
Exercise-1/Q10_sumReturn.py
abhay-lal/18CSC207J-APP
79a955a99837e6d41c89cb1a9e84eb0230c0fa7b
[ "MIT" ]
null
null
null
Exercise-1/Q10_sumReturn.py
abhay-lal/18CSC207J-APP
79a955a99837e6d41c89cb1a9e84eb0230c0fa7b
[ "MIT" ]
null
null
null
Exercise-1/Q10_sumReturn.py
abhay-lal/18CSC207J-APP
79a955a99837e6d41c89cb1a9e84eb0230c0fa7b
[ "MIT" ]
null
null
null
int1 = input("Enter first integer: ") int2 = input("Enter second integer: ") sum = int(int1) + int(int2) if sum in range(105, 201): print(200)
18.625
38
0.644295
23
149
4.173913
0.695652
0.208333
0
0
0
0
0
0
0
0
0
0.108333
0.194631
149
7
39
21.285714
0.691667
0
0
0
0
0
0.288591
0
0
0
0
0
0
1
0
false
0
0
0
0
0.2
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
915dffe031047069e06e2f78adbb553a1671d2ea
399
py
Python
src/data/margy_filtering.py
Quentindcf-grindstone/member_value_estimator
0b32087d50723173d7d52956c8e4b05bcbe21f64
[ "MIT" ]
null
null
null
src/data/margy_filtering.py
Quentindcf-grindstone/member_value_estimator
0b32087d50723173d7d52956c8e4b05bcbe21f64
[ "MIT" ]
null
null
null
src/data/margy_filtering.py
Quentindcf-grindstone/member_value_estimator
0b32087d50723173d7d52956c8e4b05bcbe21f64
[ "MIT" ]
null
null
null
import pandas as pd raw_member_df = pd.read_csv('../../data/raw/member_data_raw.csv') raw_member_df = raw_member_df[raw_member_df['start_date'] > '2021-03-15'] print(raw_member_df.head()) raw_member_df = raw_member_df[raw_member_df['amount_paid'] > 0] raw_member_df = raw_member_df[raw_member_df['affiliate_id'] == 12...
33.25
73
0.759398
73
399
3.69863
0.342466
0.466667
0.52963
0.311111
0.555556
0.555556
0.555556
0.555556
0.366667
0
0
0.040431
0.070175
399
11
74
36.272727
0.687332
0
0
0.25
0
0
0.243108
0.085213
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0.25
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
9164c82a85964aaef37002f8cc1239cf2e9007e6
226
py
Python
ndarray/list_().py
Hupengyu/Paddle_learning
0ac1e2ad32e41ac87bbb19e4535a4bc253ca9b0f
[ "Apache-2.0" ]
1
2021-08-02T01:51:35.000Z
2021-08-02T01:51:35.000Z
ndarray/list_().py
Hupengyu/Paddle_learning
0ac1e2ad32e41ac87bbb19e4535a4bc253ca9b0f
[ "Apache-2.0" ]
1
2021-11-03T08:58:30.000Z
2021-11-03T08:58:30.000Z
ndarray/list_().py
Hupengyu/Paddle_learning
0ac1e2ad32e41ac87bbb19e4535a4bc253ca9b0f
[ "Apache-2.0" ]
null
null
null
movie_name = ['加勒比海盗', '骇客帝国', '第一滴血', '指环王', '霍比特人', '速度与激情'] print('------删除之前--------') for temp in movie_name: print(temp) del movie_name[2] print('--------删除之后---------') for temp in movie_name: print(temp)
20.545455
62
0.544248
30
226
3.966667
0.533333
0.302521
0.151261
0.235294
0.453782
0.453782
0.453782
0
0
0
0
0.005263
0.159292
226
10
63
22.6
0.621053
0
0
0.5
0
0
0.284444
0.093333
0
0
0
0
0
1
0
false
0
0
0
0
0.5
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
9169cab1d5b7b0eb069f0edb2333fdb9d3b1919d
160
py
Python
oi/51nod/P1065/gen.py
Riteme/test
b511d6616a25f4ae8c3861e2029789b8ee4dcb8d
[ "BSD-Source-Code" ]
3
2018-08-30T09:43:20.000Z
2019-12-03T04:53:43.000Z
oi/51nod/P1065/gen.py
Riteme/test
b511d6616a25f4ae8c3861e2029789b8ee4dcb8d
[ "BSD-Source-Code" ]
null
null
null
oi/51nod/P1065/gen.py
Riteme/test
b511d6616a25f4ae8c3861e2029789b8ee4dcb8d
[ "BSD-Source-Code" ]
null
null
null
#!/usr/bin/env pypy from sys import argv from random import * n, m = map(int, argv[1:]) print n print " ".join(map(str, [randint(-m, m) for i in xrange(n)]))
17.777778
61
0.6375
31
160
3.290323
0.709677
0
0
0
0
0
0
0
0
0
0
0.007576
0.175
160
8
62
20
0.765152
0.1125
0
0
0
0
0.007092
0
0
0
0
0
0
0
null
null
0
0.4
null
null
0.4
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
3
916bebfc6df1fdf61fe7b37b8694e375845476a7
882
py
Python
app/entities/Runtime/dump.py
u8sand/FAIRshake
8f6f3dde42de29b88e9a43bdd43f848382e3bad7
[ "Apache-2.0" ]
null
null
null
app/entities/Runtime/dump.py
u8sand/FAIRshake
8f6f3dde42de29b88e9a43bdd43f848382e3bad7
[ "Apache-2.0" ]
8
2018-06-05T17:01:43.000Z
2018-06-22T01:19:39.000Z
app/entities/Runtime/dump.py
u8sand/FAIRshake
8f6f3dde42de29b88e9a43bdd43f848382e3bad7
[ "Apache-2.0" ]
1
2018-06-06T17:22:28.000Z
2018-06-06T17:22:28.000Z
from injector import Injector, Module, provider, singleton, inject from ...ioc import injector from ...types import Apps class CommandLineDump: def run(): import os from app.util.generate_spec import json_to_yml from app.interfaces.Assessment import AssessmentSpec from app.interfaces.Repository impo...
26.727273
73
0.651927
102
882
5.588235
0.509804
0.061404
0.119298
0
0
0
0
0
0
0
0
0
0.24263
882
32
74
27.5625
0.853293
0
0
0
1
0
0.062358
0
0
0
0
0
0
1
0.037037
true
0
0.333333
0
0.407407
0.037037
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
91741950eac15787004f883255f9a777a07cc2bd
30,700
py
Python
models_nonconvex_simple/autocorr_bern55-06.py
grossmann-group/pyomo-MINLP-benchmarking
714f0a0dffd61675649a805683c0627af6b4929e
[ "MIT" ]
7
2019-05-08T19:14:34.000Z
2021-12-24T00:00:40.000Z
models_nonconvex_simple/autocorr_bern55-06.py
grossmann-group/pyomo-MINLP-benchmarking
714f0a0dffd61675649a805683c0627af6b4929e
[ "MIT" ]
null
null
null
models_nonconvex_simple/autocorr_bern55-06.py
grossmann-group/pyomo-MINLP-benchmarking
714f0a0dffd61675649a805683c0627af6b4929e
[ "MIT" ]
1
2019-05-10T18:34:18.000Z
2019-05-10T18:34:18.000Z
# MINLP written by GAMS Convert at 08/13/20 17:37:53 # # Equation counts # Total E G L N X C B # 1 0 0 1 0 0 0 0 # # Variable counts # x b i s1s s2s sc ...
99.675325
120
0.504528
7,161
30,700
2.162966
0.019271
0.049196
0.043386
0.074569
0.796113
0.71709
0.253212
0.246691
0.239202
0
0
0.346589
0.260358
30,700
307
121
100
0.335535
0.020391
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.003509
0
0.003509
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
917ff31517f7c95562d6984fe142d5ef3eed94e0
39,224
py
Python
pgoapi/protos/pogoprotos/data/telemetry/client_telemetry_omni_pb2.py
SkOODaT/Pgoapi
a0021998eb75f6b1a867d7348acb4fcf1298987d
[ "MIT" ]
1
2017-12-12T10:05:57.000Z
2017-12-12T10:05:57.000Z
pgoapi/protos/pogoprotos/data/telemetry/client_telemetry_omni_pb2.py
SkOODaT/Pgoapi
a0021998eb75f6b1a867d7348acb4fcf1298987d
[ "MIT" ]
null
null
null
pgoapi/protos/pogoprotos/data/telemetry/client_telemetry_omni_pb2.py
SkOODaT/Pgoapi
a0021998eb75f6b1a867d7348acb4fcf1298987d
[ "MIT" ]
null
null
null
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: pogoprotos/data/telemetry/client_telemetry_omni.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from goo...
94.515663
6,824
0.851468
5,100
39,224
6.022745
0.068627
0.065601
0.098841
0.072275
0.747656
0.717086
0.648099
0.57361
0.513446
0.44651
0
0.031318
0.07034
39,224
414
6,825
94.743961
0.811024
0.007011
0
0.508861
1
0.005063
0.252266
0.239863
0
0
0
0
0
1
0
false
0.012658
0.113924
0
0.113924
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
918b116ff6f07031b6bfd478277f2fd2bf9bd382
197
py
Python
Challenge3.py
dzh123xt/PythonChallenge
931ff3b0371d7fba2faa9e1730f4b771f290c7d2
[ "MIT" ]
null
null
null
Challenge3.py
dzh123xt/PythonChallenge
931ff3b0371d7fba2faa9e1730f4b771f290c7d2
[ "MIT" ]
null
null
null
Challenge3.py
dzh123xt/PythonChallenge
931ff3b0371d7fba2faa9e1730f4b771f290c7d2
[ "MIT" ]
null
null
null
import re f = open("./Challenge3ocr.html", "r") result = "" for line in f.readlines(): content = re.sub("([^a-zA-Z]*)", "", line) if(content != ""): print content, print result f.close()
15.153846
44
0.57868
28
197
4.071429
0.714286
0.210526
0
0
0
0
0
0
0
0
0
0.006211
0.182741
197
12
45
16.416667
0.701863
0
0
0
0
0
0.167513
0
0
0
0
0
0
0
null
null
0
0.111111
null
null
0.222222
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
91938e145b137d701cee6ecbc560c1516b70a299
1,055
py
Python
Reports/lib/manageSec.py
unixutils/projects
43f2a5344fac6c90fab208d0a9d67f76c7c0f7b8
[ "MIT" ]
1
2018-11-13T02:29:22.000Z
2018-11-13T02:29:22.000Z
Reports/lib/manageSec.py
unixutils/projects
43f2a5344fac6c90fab208d0a9d67f76c7c0f7b8
[ "MIT" ]
null
null
null
Reports/lib/manageSec.py
unixutils/projects
43f2a5344fac6c90fab208d0a9d67f76c7c0f7b8
[ "MIT" ]
null
null
null
#!/usr/bin/python import os import sys from cryptography.fernet import Fernet from manageInventory import manage_host_config class manage_sec(manage_host_config): def __init__(self, **kwargs): super(manage_sec, self).__init__() def generateKey(self): return Fernet.generate_key() def creat...
29.305556
65
0.681517
105
1,055
6.685714
0.438095
0.02849
0.045584
0
0
0
0
0
0
0
0
0
0.222749
1,055
35
66
30.142857
0.856098
0.015166
0
0.074074
0
0
0.017341
0
0
0
0
0
0
1
0.259259
false
0.259259
0.148148
0.037037
0.592593
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
919809335c3f180363adfc4e1ed2672e051427f3
737
py
Python
models/exporttask.py
jonchui/MyLife
e5ba2bb7692eb27b59a3a744de22cb909a1e620f
[ "MIT" ]
27
2015-01-14T18:12:13.000Z
2021-07-26T16:40:15.000Z
models/exporttask.py
jonchui/MyLife
e5ba2bb7692eb27b59a3a744de22cb909a1e620f
[ "MIT" ]
13
2015-07-29T22:45:21.000Z
2020-10-08T08:32:50.000Z
models/exporttask.py
jonchui/MyLife
e5ba2bb7692eb27b59a3a744de22cb909a1e620f
[ "MIT" ]
15
2015-10-23T23:27:34.000Z
2022-01-07T22:59:12.000Z
import datetime from google.appengine.ext import ndb class ExportTask(ndb.Model): blob_key = ndb.BlobKeyProperty() total_posts = ndb.IntegerProperty(default=0) total_photos = ndb.IntegerProperty(default=0) exported_posts = ndb.IntegerProperty(default=0) exported_photos = ndb.IntegerProperty(default=0) created =...
33.5
95
0.757123
95
737
5.747368
0.547368
0.131868
0.18315
0.190476
0.260073
0
0
0
0
0
0
0.006107
0.111262
737
21
96
35.095238
0.827481
0
0
0
0
0
0.078697
0
0
0
0
0
0
1
0.055556
false
0
0.111111
0
0.777778
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
91a06e86a69b81cb1152cf4483367e926156165c
216
py
Python
src/views/index.py
aiweithesushigirl/personal-portfolio
040a2dcbfceb83985756f51f782bac88870ebb93
[ "MIT" ]
null
null
null
src/views/index.py
aiweithesushigirl/personal-portfolio
040a2dcbfceb83985756f51f782bac88870ebb93
[ "MIT" ]
null
null
null
src/views/index.py
aiweithesushigirl/personal-portfolio
040a2dcbfceb83985756f51f782bac88870ebb93
[ "MIT" ]
null
null
null
"""Search index view.""" import flask import src @src.app.route('/', methods=['GET', 'POST']) def show_index(): """Display / route.""" context = {} return flask.render_template("index.html", **context)
19.636364
57
0.62037
26
216
5.076923
0.730769
0
0
0
0
0
0
0
0
0
0
0
0.162037
216
10
58
21.6
0.729282
0.162037
0
0
0
0
0.105882
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
91ab416af81b86e7a261a8a68945bf638ac0bd64
237
py
Python
setup.py
mattjmuw/iam-resttools
9062656b0341c5d13999bdf812ae3b1962e1d4dc
[ "Apache-2.0" ]
null
null
null
setup.py
mattjmuw/iam-resttools
9062656b0341c5d13999bdf812ae3b1962e1d4dc
[ "Apache-2.0" ]
null
null
null
setup.py
mattjmuw/iam-resttools
9062656b0341c5d13999bdf812ae3b1962e1d4dc
[ "Apache-2.0" ]
null
null
null
# from distutils.core import setup from setuptools import setup, find_packages setup(name='resttools', version='1.0', description='UW-IT REST library', packages=find_packages(), include_package_data=True, )
26.333333
43
0.691983
29
237
5.517241
0.758621
0.1375
0
0
0
0
0
0
0
0
0
0.010582
0.202532
237
8
44
29.625
0.835979
0.135021
0
0
0
0
0.147783
0
0
0
0
0
0
1
0
true
0
0.142857
0
0.142857
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
91aca1148559619e3843543e2dfd36f15d30156b
1,984
py
Python
stubs.min/Autodesk/Revit/DB/__init___parts/ViewDisplaySketchyLines.py
ricardyn/ironpython-stubs
4d2b405eda3ceed186e8adca55dd97c332c6f49d
[ "MIT" ]
1
2021-02-02T13:39:16.000Z
2021-02-02T13:39:16.000Z
stubs.min/Autodesk/Revit/DB/__init___parts/ViewDisplaySketchyLines.py
hdm-dt-fb/ironpython-stubs
4d2b405eda3ceed186e8adca55dd97c332c6f49d
[ "MIT" ]
null
null
null
stubs.min/Autodesk/Revit/DB/__init___parts/ViewDisplaySketchyLines.py
hdm-dt-fb/ironpython-stubs
4d2b405eda3ceed186e8adca55dd97c332c6f49d
[ "MIT" ]
null
null
null
class ViewDisplaySketchyLines(object,IDisposable): """ Represents the settings for sketchy lines. """ def Dispose(self): """ Dispose(self: ViewDisplaySketchyLines) """ pass def ReleaseUnmanagedResources(self,*args): """ ReleaseUnmanagedResources(self: ViewDisplaySketchyLines,disposing: bool) """ pass ...
36.072727
215
0.715726
226
1,984
5.986726
0.314159
0.088692
0.053215
0.070953
0.277162
0.277162
0.244642
0.244642
0.244642
0.244642
0
0.003601
0.160282
1,984
54
216
36.740741
0.808523
0.259073
0
0.352941
0
0
0
0
0
0
0
0
0
1
0.352941
false
0.352941
0
0
0.647059
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
91ae80095f294482c917adb64643192cba62c63b
625
py
Python
sympy/solvers/__init__.py
jegerjensen/sympy
3a43310f1957a21a6f095fe2801cc05b5268a2c7
[ "BSD-3-Clause" ]
1
2016-07-13T04:30:25.000Z
2016-07-13T04:30:25.000Z
sympy/solvers/__init__.py
jegerjensen/sympy
3a43310f1957a21a6f095fe2801cc05b5268a2c7
[ "BSD-3-Clause" ]
null
null
null
sympy/solvers/__init__.py
jegerjensen/sympy
3a43310f1957a21a6f095fe2801cc05b5268a2c7
[ "BSD-3-Clause" ]
null
null
null
"""A module for solving all kinds of equations. Examples -------- >>> from sympy.solvers import solve >>> from sympy.abc import x >>> solve(x**5+5*x**4+10*x**3+10*x**2+5*x+1,x) [-1] """ from solvers import solve, solve_linear_system, solve_linear_system_LU, \ solve_undetermined_coeffs, tsol...
29.761905
73
0.7344
94
625
4.648936
0.489362
0.075515
0.08238
0
0
0
0
0
0
0
0
0.022814
0.1584
625
20
74
31.25
0.807985
0.2864
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.714286
0
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
91b16e048afc0fb169c2bd8ce5c74bbbeb9067eb
1,199
py
Python
leetcode-algorithms/977. Squares of a Sorted Array/977.squares-of-a-sorted-array.py
cnyy7/LeetCode_EY
44e92f102b61f5e931e66081ed6636d7ecbdefd4
[ "MIT" ]
null
null
null
leetcode-algorithms/977. Squares of a Sorted Array/977.squares-of-a-sorted-array.py
cnyy7/LeetCode_EY
44e92f102b61f5e931e66081ed6636d7ecbdefd4
[ "MIT" ]
null
null
null
leetcode-algorithms/977. Squares of a Sorted Array/977.squares-of-a-sorted-array.py
cnyy7/LeetCode_EY
44e92f102b61f5e931e66081ed6636d7ecbdefd4
[ "MIT" ]
null
null
null
# # @lc app=leetcode id=977 lang=python3 # # [977] Squares of a Sorted Array # # https://leetcode.com/problems/squares-of-a-sorted-array/description/ # # algorithms # Easy (72.86%) # Total Accepted: 56.2K # Total Submissions: 77.7K # Testcase Example: '[-4,-1,0,3,10]' # # Given an array of integers A s...
19.33871
79
0.516264
177
1,199
3.485876
0.440678
0.04376
0.08752
0.051864
0.171799
0
0
0
0
0
0
0.091018
0.303586
1,199
61
80
19.655738
0.647904
0.694746
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0.333333
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
3
91d640486b1af4e898c95abd3f3dce37622643aa
2,383
py
Python
zfit/util/exception.py
kailiu77/zfit
00eed81fb34e0eb2e4bae5ddc9ebf38699e107ca
[ "BSD-3-Clause" ]
1
2022-01-15T13:38:12.000Z
2022-01-15T13:38:12.000Z
zfit/util/exception.py
kailiu77/zfit
00eed81fb34e0eb2e4bae5ddc9ebf38699e107ca
[ "BSD-3-Clause" ]
null
null
null
zfit/util/exception.py
kailiu77/zfit
00eed81fb34e0eb2e4bae5ddc9ebf38699e107ca
[ "BSD-3-Clause" ]
null
null
null
# Copyright (c) 2019 zfit # TODO: improve errors of models. Generate more general error, inherit and use more specific? class PDFCompatibilityError(Exception): pass class LogicalUndefinedOperationError(Exception): pass class ExtendedPDFError(Exception): pass class AlreadyExtendedPDFError(ExtendedP...
16.548611
99
0.778431
203
2,383
9.133005
0.428571
0.116505
0.07767
0.024811
0.048544
0.048544
0.048544
0.048544
0
0
0
0.002001
0.161141
2,383
143
100
16.664336
0.925463
0.210659
0
0.5
1
0
0
0
0
0
0
0.006993
0
1
0
true
0.5
0
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
3
91de3b5347e9fa9610ce3187bc840d45632d0334
239
py
Python
python/covid_web/covid_web/wsgi.py
lukipuki/COVID-19-simulation
5532a84f7af99223816dbeea9e9a2c359b0f569f
[ "Unlicense" ]
3
2020-04-03T16:43:21.000Z
2020-05-20T20:44:49.000Z
python/covid_web/covid_web/wsgi.py
lukipuki/COVID-19-simulation
5532a84f7af99223816dbeea9e9a2c359b0f569f
[ "Unlicense" ]
66
2020-04-11T19:40:53.000Z
2020-11-21T14:11:55.000Z
python/covid_web/covid_web/wsgi.py
lukipuki/COVID-19-simulation
5532a84f7af99223816dbeea9e9a2c359b0f569f
[ "Unlicense" ]
1
2020-04-14T15:04:51.000Z
2020-04-14T15:04:51.000Z
from os import getenv from pathlib import Path from .server import setup_server data_path = Path(getenv(key="DATA_PATH", default="data")) app = setup_server(data_path, data_path / "predictions") if __name__ == "__main__": app.run()
21.727273
57
0.740586
35
239
4.657143
0.485714
0.196319
0.184049
0.233129
0
0
0
0
0
0
0
0
0.142259
239
10
58
23.9
0.795122
0
0
0
0
0
0.133891
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
37e60838d6492819fec285d1232ff933bacc64ed
461
py
Python
submissions/hello-django/mysite/myapp/models.py
hcktheheaven/csoc18-week5
00fb870dfa34798f7a469b4e188eebbfe4560b42
[ "MIT" ]
null
null
null
submissions/hello-django/mysite/myapp/models.py
hcktheheaven/csoc18-week5
00fb870dfa34798f7a469b4e188eebbfe4560b42
[ "MIT" ]
null
null
null
submissions/hello-django/mysite/myapp/models.py
hcktheheaven/csoc18-week5
00fb870dfa34798f7a469b4e188eebbfe4560b42
[ "MIT" ]
null
null
null
from django.db import models from django.urls import reverse # Create your models here. class Product(models.Model): name = models.CharField(max_length=250) price = models.CharField(max_length=250) description = models.CharField(max_length=500) image = models.FileField() def get_absolute_url(self)...
30.733333
68
0.700651
60
461
5.233333
0.566667
0.143312
0.171975
0.229299
0.171975
0
0
0
0
0
0
0.023936
0.184382
461
14
69
32.928571
0.81117
0.052061
0
0
0
0
0.055172
0
0
0
0
0
0
1
0.181818
false
0
0.181818
0.181818
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
3
37fe1348639e401f1ce1827f33b57f47b8dec989
2,736
py
Python
bulletins/migrations/0001_initial.py
Kgermando/catsr
52da79130a4bb7c15b59e3690c8df8d23573d728
[ "Apache-2.0" ]
null
null
null
bulletins/migrations/0001_initial.py
Kgermando/catsr
52da79130a4bb7c15b59e3690c8df8d23573d728
[ "Apache-2.0" ]
null
null
null
bulletins/migrations/0001_initial.py
Kgermando/catsr
52da79130a4bb7c15b59e3690c8df8d23573d728
[ "Apache-2.0" ]
null
null
null
# Generated by Django 3.1.2 on 2020-12-01 08:53 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Bulletin', fields=[ ('id', models.AutoField...
65.142857
173
0.664839
288
2,736
6.131944
0.347222
0.076444
0.182333
0.214043
0.586636
0.500566
0.480747
0.480747
0.480747
0.480747
0
0.009736
0.211623
2,736
41
174
66.731707
0.808994
0.016447
0
0
1
0
0.323912
0.13016
0
0
0
0
0
1
0
false
0
0.029412
0
0.147059
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
53014e17fcf5b1ea81153e0dbd74af802bfe8a6c
618
py
Python
modules/identity.py
tranduytrung/image-3dmodel-embedding
380ba5bfa853afb8175af79159521e2426efa800
[ "Apache-2.0" ]
null
null
null
modules/identity.py
tranduytrung/image-3dmodel-embedding
380ba5bfa853afb8175af79159521e2426efa800
[ "Apache-2.0" ]
null
null
null
modules/identity.py
tranduytrung/image-3dmodel-embedding
380ba5bfa853afb8175af79159521e2426efa800
[ "Apache-2.0" ]
null
null
null
import torch class Identity(torch.jit.ScriptModule): r"""A placeholder identity operator that is argument-insensitive. Args: args: any argument (unused) kwargs: any keyword argument (unused) Examples:: >>> m = nn.Identity(54, unused_argumenbt1=0.1, unused_argument2=False) ...
30.9
79
0.608414
72
618
5.069444
0.597222
0.043836
0
0
0
0
0
0
0
0
0
0.034858
0.257282
618
20
80
30.9
0.760349
0.548544
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.125
0.125
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
5313a918903d953287846a288588db9535842fee
6,235
py
Python
var/spack/repos/builtin/packages/r-tidyverse/package.py
player1537-forks/spack
822b7632222ec5a91dc7b7cda5fc0e08715bd47c
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
11
2015-10-04T02:17:46.000Z
2018-02-07T18:23:00.000Z
var/spack/repos/builtin/packages/r-tidyverse/package.py
player1537-forks/spack
822b7632222ec5a91dc7b7cda5fc0e08715bd47c
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
22
2017-08-01T22:45:10.000Z
2022-03-10T07:46:31.000Z
var/spack/repos/builtin/packages/r-tidyverse/package.py
player1537-forks/spack
822b7632222ec5a91dc7b7cda5fc0e08715bd47c
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
4
2016-06-10T17:57:39.000Z
2018-09-11T04:59:38.000Z
# Copyright 2013-2022 Lawrence Livermore National Security, LLC and other # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) from spack import * class RTidyverse(RPackage): """Easily Install and Load the 'Tidyverse'. The 'tidyverse' is ...
60.533981
95
0.573857
1,097
6,235
3.189608
0.111212
0.203201
0.225779
0.242355
0.762218
0.680194
0.631323
0.570163
0.535296
0.459274
0
0.098761
0.119808
6,235
102
96
61.127451
0.538812
0.084042
0
0
0
0
0.415523
0.037663
0
0
0
0
0
1
0
false
0
0.011765
0
0.035294
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
5327835e44b1b3db832f372bb410425e4e0c1638
767
py
Python
test/utils/utils.py
maxlambrecht/py-spiffe
4665084179624be04a51e33026e975ece646533e
[ "Apache-2.0" ]
null
null
null
test/utils/utils.py
maxlambrecht/py-spiffe
4665084179624be04a51e33026e975ece646533e
[ "Apache-2.0" ]
null
null
null
test/utils/utils.py
maxlambrecht/py-spiffe
4665084179624be04a51e33026e975ece646533e
[ "Apache-2.0" ]
null
null
null
import grpc _TEST_JWKS_PATH = 'test/bundle/jwt_bundle/jwks/{}' def read_file_bytes(filename): with open(filename, 'rb') as file: return file.read() JWKS_1_EC_KEY = read_file_bytes(_TEST_JWKS_PATH.format('jwks_1_ec_key.json')) JWKS_2_EC_1_RSA_KEYS = read_file_bytes(_TEST_JWKS_PATH.format('jwks_3_keys.js...
28.407407
86
0.744459
120
767
4.283333
0.366667
0.077821
0.116732
0.132296
0.272374
0.272374
0.272374
0.272374
0
0
0
0.007657
0.148631
767
26
87
29.5
0.779479
0
0
0
0
0
0.182529
0.095176
0
0
0
0
0
1
0.235294
false
0
0.058824
0.117647
0.529412
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
532da1d01984272b63a5e5285fe5382ef743a766
205
py
Python
documental/snippet.py
DennisMerkus/documental
9d97359c68274937647ed80158b67054d0e53d05
[ "MIT" ]
null
null
null
documental/snippet.py
DennisMerkus/documental
9d97359c68274937647ed80158b67054d0e53d05
[ "MIT" ]
1
2020-08-10T14:43:49.000Z
2020-08-10T14:43:49.000Z
documental/snippet.py
DennisMerkus/documental
9d97359c68274937647ed80158b67054d0e53d05
[ "MIT" ]
null
null
null
from .document import RootDocument class Snippet(RootDocument): def __init__(self): super().__init__() self.type = "Snippet" def __str__(self): return super().__str__()
17.083333
34
0.629268
21
205
5.380952
0.619048
0.141593
0
0
0
0
0
0
0
0
0
0
0.253659
205
11
35
18.636364
0.738562
0
0
0
0
0
0.034146
0
0
0
0
0
0
1
0.285714
false
0
0.142857
0.142857
0.714286
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
5338ea354fb34af394ab3e1c779ce5918bb3a48e
204
py
Python
main.py
Diegomastro/materias-correlatividades
93b65de79696c410e69d22f82d8a9d4d93d42ddf
[ "MIT" ]
null
null
null
main.py
Diegomastro/materias-correlatividades
93b65de79696c410e69d22f82d8a9d4d93d42ddf
[ "MIT" ]
null
null
null
main.py
Diegomastro/materias-correlatividades
93b65de79696c410e69d22f82d8a9d4d93d42ddf
[ "MIT" ]
null
null
null
import sys from PyQt5.QtWidgets import QApplication from ventana_main import VentanaMain if __name__ == '__main__': app = QApplication(sys.argv) main_win = VentanaMain() sys.exit(app.exec())
22.666667
40
0.740196
26
204
5.423077
0.615385
0
0
0
0
0
0
0
0
0
0
0.005882
0.166667
204
9
41
22.666667
0.823529
0
0
0
0
0
0.039024
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
5342799e4dc7eafda1dd5cdbf7fe46afce1a7e27
1,551
py
Python
lucchi.py
mental689/connectomics
6d533bf2b0cd3e3427d5bb5cab216f0aaa828e70
[ "MIT" ]
1
2019-04-18T10:32:58.000Z
2019-04-18T10:32:58.000Z
lucchi.py
mental689/connectomics
6d533bf2b0cd3e3427d5bb5cab216f0aaa828e70
[ "MIT" ]
null
null
null
lucchi.py
mental689/connectomics
6d533bf2b0cd3e3427d5bb5cab216f0aaa828e70
[ "MIT" ]
null
null
null
import torch from torch.utils.data import Dataset import cv2 import os from glob import glob from tqdm import tqdm import numpy as np class LucchiPPDataset(Dataset): def __init__(self, train=True, transforms=None): self.subset = 'Train' if train else 'Test' self.files = glob('dataset/Lucchi++/'+se...
29.264151
127
0.632495
215
1,551
4.302326
0.316279
0.058378
0.035676
0.045405
0.307027
0.205405
0.205405
0.082162
0.082162
0.082162
0
0.017384
0.221148
1,551
52
128
29.826923
0.748344
0
0
0.1
0
0
0.05029
0
0
0
0
0
0.05
1
0.225
false
0.025
0.175
0.125
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
5361fcc0642b8657399987714da4cea57cca4523
203
py
Python
ABC/C/0176.py
taro-masuda/AtCoder
e8cb050260c1dff4ef61a27d1a3a2a8029fc939a
[ "MIT" ]
null
null
null
ABC/C/0176.py
taro-masuda/AtCoder
e8cb050260c1dff4ef61a27d1a3a2a8029fc939a
[ "MIT" ]
null
null
null
ABC/C/0176.py
taro-masuda/AtCoder
e8cb050260c1dff4ef61a27d1a3a2a8029fc939a
[ "MIT" ]
null
null
null
N = int(input()) A = list(map(int, input().split())) ans = 0 max_tall = 0 for i in range(0, N): if max_tall > A[i]: ans += max_tall - A[i] if A[i] > max_tall: max_tall = A[i] print(ans)
16.916667
35
0.546798
41
203
2.585366
0.414634
0.330189
0.226415
0.254717
0
0
0
0
0
0
0
0.019868
0.256158
203
12
36
16.916667
0.682119
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.1
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
725bf1bc38930b3bd047babdcea69fcc6d6be69e
201
py
Python
Ex3.py
LuizHps18/Exercicios_LP_1B
00901fe5493ceabba922a1626451117196417da6
[ "MIT" ]
null
null
null
Ex3.py
LuizHps18/Exercicios_LP_1B
00901fe5493ceabba922a1626451117196417da6
[ "MIT" ]
null
null
null
Ex3.py
LuizHps18/Exercicios_LP_1B
00901fe5493ceabba922a1626451117196417da6
[ "MIT" ]
null
null
null
dia = input("Digite seu dia de nascimento ") mes = input("Digite seu mês de nascimento ") ano = input("Digite seu ano de nascimento ") print("Sua data de nascimento é {}/{}/{}".format(dia, mes, ano))
40.2
65
0.676617
31
201
4.387097
0.451613
0.352941
0.308824
0
0
0
0
0
0
0
0
0
0.164179
201
4
66
50.25
0.809524
0
0
0
0
0
0.597015
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
72887606e5f957b5c80dcc5df627b7df235445a1
774
py
Python
99_misc/decorator.py
zzz0072/Python_Exercises
9918aa8197a77ef237e5e60306c7785eca5cb1d3
[ "BSD-2-Clause" ]
null
null
null
99_misc/decorator.py
zzz0072/Python_Exercises
9918aa8197a77ef237e5e60306c7785eca5cb1d3
[ "BSD-2-Clause" ]
null
null
null
99_misc/decorator.py
zzz0072/Python_Exercises
9918aa8197a77ef237e5e60306c7785eca5cb1d3
[ "BSD-2-Clause" ]
null
null
null
#/usr/bin/env python def my_func1(callback): def func_wrapper(x): print("my_func1: {0} ".format(callback(x))) return func_wrapper @my_func1 def my_func2(x): return x # Actuall call sequence is similar to: # deco = my_func1(my_func2) # deco("test") => func_wrapper("test") my_func2("test") #-------...
22.764706
66
0.624031
111
774
4.144144
0.306306
0.143478
0.065217
0.095652
0.534783
0.421739
0.313043
0.182609
0.182609
0.182609
0
0.026856
0.182171
774
33
67
23.454545
0.699842
0.399225
0
0.333333
0
0
0.094298
0
0
0
0
0
0
1
0.388889
false
0
0
0.111111
0.666667
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
72dbc31acb6be2718833f729dff3c50b8035b24a
281
py
Python
api/core/serializers.py
yarsanich/django-nuxt-test-app
14b10055eb077a81889c17d4a9d1a09d8bdfec6a
[ "MIT" ]
null
null
null
api/core/serializers.py
yarsanich/django-nuxt-test-app
14b10055eb077a81889c17d4a9d1a09d8bdfec6a
[ "MIT" ]
null
null
null
api/core/serializers.py
yarsanich/django-nuxt-test-app
14b10055eb077a81889c17d4a9d1a09d8bdfec6a
[ "MIT" ]
null
null
null
# core/serializers.py from rest_framework import serializers from .models import Recipe class RecipeSerializer(serializers.ModelSerializer): class Meta: model = Recipe fields = ("id", "name", "ingredients", "picture", "difficulty", "prep_time", "prep_guide")
31.222222
98
0.711744
30
281
6.566667
0.766667
0
0
0
0
0
0
0
0
0
0
0
0.170819
281
9
98
31.222222
0.845494
0.067616
0
0
0
0
0.203065
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
72dda02b344cf31f3fe421e61f5e552af8d60ef1
36,012
py
Python
mars/dataframe/groupby/tests/test_groupby_execution.py
ConanoutlooklvTBS/mars
7030566fd9e9fc02b6b4064ef7bd86f6c24a2f60
[ "Apache-2.0" ]
null
null
null
mars/dataframe/groupby/tests/test_groupby_execution.py
ConanoutlooklvTBS/mars
7030566fd9e9fc02b6b4064ef7bd86f6c24a2f60
[ "Apache-2.0" ]
null
null
null
mars/dataframe/groupby/tests/test_groupby_execution.py
ConanoutlooklvTBS/mars
7030566fd9e9fc02b6b4064ef7bd86f6c24a2f60
[ "Apache-2.0" ]
null
null
null
# Copyright 1999-2021 Alibaba Group Holding Ltd. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or a...
43.917073
111
0.567616
4,866
36,012
4.065351
0.061447
0.0734
0.07431
0.067334
0.830806
0.784653
0.738297
0.684663
0.636134
0.586897
0
0.030911
0.250778
36,012
819
112
43.970696
0.702272
0.0341
0
0.448276
0
0
0.038852
0
0
0
0
0
0.208539
1
0.037767
false
0
0.018062
0.006568
0.070608
0
0
0
0
null
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
72e220879112a4764c0b49f5cab93b48a033c5b8
617
py
Python
keycloak_api_client/factories.py
masterplandev/python-keycloak-api-client
60406dace35a4c9b2a0fd149823c09fd993d5b8b
[ "MIT" ]
1
2021-07-16T11:40:03.000Z
2021-07-16T11:40:03.000Z
keycloak_api_client/factories.py
masterplandev/python-keycloak-api-client
60406dace35a4c9b2a0fd149823c09fd993d5b8b
[ "MIT" ]
2
2021-07-29T14:42:15.000Z
2021-11-25T16:35:39.000Z
keycloak_api_client/factories.py
masterplandev/python-keycloak-api-client
60406dace35a4c9b2a0fd149823c09fd993d5b8b
[ "MIT" ]
null
null
null
from uuid import UUID from keycloak_api_client.data_classes import ReadKeycloakUser def read_keycloak_user_factory(user_endpoint_data: dict) -> ReadKeycloakUser: return ReadKeycloakUser( keycloak_id=UUID(user_endpoint_data.get('id')), username=user_endpoint_data.get('username'), first_nam...
36.294118
77
0.740681
76
617
5.631579
0.381579
0.252336
0.336449
0.310748
0.107477
0
0
0
0
0
0
0
0.160454
617
16
78
38.5625
0.826255
0
0
0
0
0
0.084279
0
0
0
0
0
0
1
0.076923
false
0
0.153846
0.076923
0.307692
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
72e26587ba2fbf03ac2f85f3f88633ca9b9d6978
217
py
Python
app/routes/main.py
curefatih/griffin
8560841038303e3e314b2d6e68c3a8ddaa0432e1
[ "Apache-2.0" ]
16
2021-01-02T19:14:11.000Z
2022-01-19T19:30:16.000Z
app/routes/main.py
curefatih/griffin
8560841038303e3e314b2d6e68c3a8ddaa0432e1
[ "Apache-2.0" ]
null
null
null
app/routes/main.py
curefatih/griffin
8560841038303e3e314b2d6e68c3a8ddaa0432e1
[ "Apache-2.0" ]
2
2021-03-02T02:33:28.000Z
2021-06-09T06:15:39.000Z
from flask import Blueprint, render_template main = Blueprint('main', __name__, url_prefix='/') @main.route('/') @main.route('/index') def index(): return render_template('views/main/index.html', title='Home')
21.7
65
0.705069
28
217
5.214286
0.642857
0.191781
0
0
0
0
0
0
0
0
0
0
0.110599
217
9
66
24.111111
0.756477
0
0
0
0
0
0.170507
0.096774
0
0
0
0
0
1
0.166667
false
0
0.166667
0.166667
0.5
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
3
72e52fd9e37a346c31e8622a904c0b0d63f9b300
11,933
py
Python
sphinx_automodapi/tests/test_automodapi.py
astropy/sphinx-automodapi
3c9c885da71f682a28ea60e2d07350c6c7829ef2
[ "BSD-3-Clause" ]
47
2016-11-06T23:23:37.000Z
2021-12-30T09:11:50.000Z
sphinx_automodapi/tests/test_automodapi.py
astropy/sphinx-automodapi
3c9c885da71f682a28ea60e2d07350c6c7829ef2
[ "BSD-3-Clause" ]
121
2016-11-10T14:35:04.000Z
2022-03-29T20:45:40.000Z
sphinx_automodapi/tests/test_automodapi.py
astropy/sphinx-automodapi
3c9c885da71f682a28ea60e2d07350c6c7829ef2
[ "BSD-3-Clause" ]
39
2016-11-10T10:27:42.000Z
2022-03-02T09:17:00.000Z
# -*- coding: utf-8 -*- # Licensed under a 3-clause BSD style license - see LICENSE.rst import sys from copy import copy import pytest from docutils.parsers.rst import directives, roles from . import cython_testpackage # noqa from .helpers import run_sphinx_in_tmpdir if sys.version_info[0] == 2: from io import...
21.855311
99
0.678203
1,438
11,933
5.420723
0.123088
0.065427
0.096985
0.129314
0.780757
0.753175
0.715972
0.698396
0.691341
0.673637
0
0.001995
0.159893
11,933
545
100
21.895413
0.775561
0.09612
0
0.681208
0
0
0.507662
0.214624
0
0
0
0
0.040268
1
0.04698
false
0
0.02349
0
0.07047
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
72ebf534398e1b79e598c6f978e538ed58858cf8
1,292
py
Python
aiotdlib/api/types/formatted_text.py
jraylan/aiotdlib
4528fcfca7c5c69b54a878ce6ce60e934a2dcc73
[ "MIT" ]
null
null
null
aiotdlib/api/types/formatted_text.py
jraylan/aiotdlib
4528fcfca7c5c69b54a878ce6ce60e934a2dcc73
[ "MIT" ]
null
null
null
aiotdlib/api/types/formatted_text.py
jraylan/aiotdlib
4528fcfca7c5c69b54a878ce6ce60e934a2dcc73
[ "MIT" ]
null
null
null
# =============================================================================== # # # # This file has been generated automatically!! Do not change this manually! # # ...
39.151515
336
0.530186
124
1,292
5.475806
0.524194
0.064801
0.035346
0.055965
0
0
0
0
0
0
0
0
0.285604
1,292
32
337
40.375
0.735645
0.660991
0
0
1
0
0.046997
0
0
0
0
0
0
1
0.090909
false
0
0.363636
0.090909
0.909091
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
72fb7a308bca18ff7cff07b9d781582c2cddd58a
793
py
Python
registrations/models.py
lhggomes/-meteorological-control
6a10ab32a8732ffa67f98c1bf4fe1b76c24e94fb
[ "MIT" ]
1
2021-01-10T03:03:31.000Z
2021-01-10T03:03:31.000Z
registrations/models.py
lhggomes/-meteorological-control
6a10ab32a8732ffa67f98c1bf4fe1b76c24e94fb
[ "MIT" ]
null
null
null
registrations/models.py
lhggomes/-meteorological-control
6a10ab32a8732ffa67f98c1bf4fe1b76c24e94fb
[ "MIT" ]
null
null
null
from django.db import models class Target(models.Model): name = models.CharField(max_length=200) latitude = models.CharField(max_length=50) longitude = models.CharField(max_length=50) exp_date = models.DateField() def __str__(self): return f'{self.name} - @{self.longitude}, {self.latitud...
23.323529
68
0.692308
101
793
5.306931
0.415842
0.16791
0.201493
0.268657
0.410448
0.313433
0.313433
0.313433
0
0
0
0.029641
0.191677
793
33
69
24.030303
0.806552
0.063052
0
0.190476
0
0
0.067659
0
0
0
0
0
0
1
0.047619
false
0
0.047619
0.047619
0.809524
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
f434df776edc821296f63153be6bba8512602d05
1,728
py
Python
release/stubs.min/Autodesk/Revit/DB/__init___parts/ConnectionValidationInfo.py
htlcnn/ironpython-stubs
780d829e2104b2789d5f4d6f32b0ec9f2930ca03
[ "MIT" ]
182
2017-06-27T02:26:15.000Z
2022-03-30T18:53:43.000Z
release/stubs.min/Autodesk/Revit/DB/__init___parts/ConnectionValidationInfo.py
htlcnn/ironpython-stubs
780d829e2104b2789d5f4d6f32b0ec9f2930ca03
[ "MIT" ]
28
2017-06-27T13:38:23.000Z
2022-03-15T11:19:44.000Z
release/stubs.min/Autodesk/Revit/DB/__init___parts/ConnectionValidationInfo.py
htlcnn/ironpython-stubs
780d829e2104b2789d5f4d6f32b0ec9f2930ca03
[ "MIT" ]
67
2017-06-28T09:43:59.000Z
2022-03-20T21:17:10.000Z
class ConnectionValidationInfo(object,IDisposable): """ This object contains information about fabrication connection validations. ConnectionValidationInfo() """ def Dispose(self): """ Dispose(self: ConnectionValidationInfo) """ pass def GetWarning(self,index): """ GetWarning(self: Connec...
26.181818
215
0.697917
174
1,728
6.545977
0.385057
0.049166
0.042142
0.050044
0.169447
0.169447
0.169447
0.169447
0.09921
0.09921
0
0
0.182292
1,728
65
216
26.584615
0.806086
0.539931
0
0.45
0
0
0
0
0
0
0
0
0
1
0.45
false
0.45
0
0
0.55
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
f43caab6daad16259da69bfee37b033f280bc762
2,471
py
Python
src/Utilities/deleteAllLinks.py
boydhont/Dynamo-BIM-Revit-API
5385693c564ec6803594b029d55a501add8d10de
[ "MIT" ]
null
null
null
src/Utilities/deleteAllLinks.py
boydhont/Dynamo-BIM-Revit-API
5385693c564ec6803594b029d55a501add8d10de
[ "MIT" ]
null
null
null
src/Utilities/deleteAllLinks.py
boydhont/Dynamo-BIM-Revit-API
5385693c564ec6803594b029d55a501add8d10de
[ "MIT" ]
null
null
null
import clr clr.AddReference("RevitAPI") from Autodesk.Revit.DB import * clr.AddReference("RevitServices") from RevitServices.Persistence import DocumentManager clr.AddReference("RevitNodes") import Revit clr.ImportExtensions(Revit.Elements) def getAllRevitLinkInstance(): filter = ElementClassFilter(RevitLin...
40.508197
156
0.812626
198
2,471
10.136364
0.338384
0.091679
0.159442
0.167414
0.436472
0.436472
0.436472
0.436472
0.436472
0.436472
0
0
0.09996
2,471
61
157
40.508197
0.902428
0
0
0.235294
0
0
0.029022
0
0
0
0
0
0
1
0.176471
false
0.117647
0.156863
0.019608
0.509804
0
0
0
1
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
f46a32f8e0bf72fdd6880d73f17a956943fd3ac7
1,499
py
Python
networking_bagpipe/bagpipe_bgp/engine/ipvpn.py
oferby/networking-bagpipe
4c42971872065192b4da33c050ccfa86deb5ea77
[ "Apache-2.0" ]
null
null
null
networking_bagpipe/bagpipe_bgp/engine/ipvpn.py
oferby/networking-bagpipe
4c42971872065192b4da33c050ccfa86deb5ea77
[ "Apache-2.0" ]
null
null
null
networking_bagpipe/bagpipe_bgp/engine/ipvpn.py
oferby/networking-bagpipe
4c42971872065192b4da33c050ccfa86deb5ea77
[ "Apache-2.0" ]
null
null
null
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # encoding: utf-8 # Copyright 2014 Orange # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Un...
34.068182
75
0.723816
233
1,499
4.545064
0.51073
0.056657
0.031161
0.03966
0.1322
0.09254
0
0
0
0
0
0.011318
0.174783
1,499
43
76
34.860465
0.844786
0.46431
0
0
0
0
0.001274
0
0
0
0
0
0
1
0.266667
false
0
0.066667
0.133333
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
f46e4fb9890fdad550d509139cf9a8cb15bbd691
1,123
py
Python
phonon/client.py
buzzfeed/Phonon
32fd036d64fab19c554e841f162466f6eb28b50f
[ "MIT" ]
4
2015-03-30T22:46:35.000Z
2020-09-08T02:03:53.000Z
phonon/client.py
buzzfeed/Phonon
32fd036d64fab19c554e841f162466f6eb28b50f
[ "MIT" ]
21
2015-02-03T23:12:36.000Z
2017-09-15T21:03:24.000Z
phonon/client.py
buzzfeed/disref
32fd036d64fab19c554e841f162466f6eb28b50f
[ "MIT" ]
2
2016-08-14T20:18:52.000Z
2019-09-30T16:02:22.000Z
import redis import zlib from phonon import get_logger logger = get_logger(__name__) connection = None class ShardedClient(object): def __init__(self, hosts=None, port=6379, db=0): self.hosts = sorted(hosts) self.clients = [redis.StrictRedis(host=host, port=port, db=db) for host in self.hosts]...
26.116279
94
0.621549
140
1,123
4.821429
0.321429
0.097778
0.062222
0.066667
0.21037
0.177778
0
0
0
0
0
0.01087
0.262689
1,123
42
95
26.738095
0.804348
0
0
0
0
0
0.013357
0
0
0
0.008905
0
0
1
0.25
false
0
0.107143
0.142857
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
f4712596eda2e906fe5d4d6144392694848e892f
12,705
py
Python
release/stubs.min/Grasshopper/Kernel/Undo/__init__.py
YKato521/ironpython-stubs
b1f7c580de48528490b3ee5791b04898be95a9ae
[ "MIT" ]
null
null
null
release/stubs.min/Grasshopper/Kernel/Undo/__init__.py
YKato521/ironpython-stubs
b1f7c580de48528490b3ee5791b04898be95a9ae
[ "MIT" ]
null
null
null
release/stubs.min/Grasshopper/Kernel/Undo/__init__.py
YKato521/ironpython-stubs
b1f7c580de48528490b3ee5791b04898be95a9ae
[ "MIT" ]
null
null
null
# encoding: utf-8 # module Grasshopper.Kernel.Undo calls itself Undo # from Grasshopper,Version=1.0.0.20,Culture=neutral,PublicKeyToken=dda4f5ec2cd80803 # by generator 1.145 """ NamespaceTracker represent a CLS namespace. """ # no imports # no functions # classes class GH_UndoAction(object, IGH_UndoAction...
26.46875
221
0.609681
1,403
12,705
5.133286
0.109052
0.095807
0.057484
0.076645
0.677312
0.62677
0.598445
0.574146
0.502222
0.488337
0
0.002118
0.256749
12,705
479
222
26.524008
0.760563
0.35608
0
0.621302
0
0
0
0
0
0
0
0
0
1
0.325444
false
0.325444
0
0
0.532544
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
f4716969344974c31f9aa0564ffafe5913d549a9
2,873
py
Python
pywick/functions/activations_jit.py
achaiah/pywick
9d663faf0c1660a9b8359a6472c164f658dfc8cb
[ "MIT" ]
408
2019-05-16T16:12:41.000Z
2022-03-26T17:27:12.000Z
pywick/functions/activations_jit.py
achaiah/pywick
9d663faf0c1660a9b8359a6472c164f658dfc8cb
[ "MIT" ]
13
2019-05-17T05:47:06.000Z
2021-06-21T19:02:30.000Z
pywick/functions/activations_jit.py
achaiah/pywick
9d663faf0c1660a9b8359a6472c164f658dfc8cb
[ "MIT" ]
42
2019-05-16T19:57:12.000Z
2022-03-06T15:23:18.000Z
# Source: https://github.com/rwightman/gen-efficientnet-pytorch/blob/master/geffnet/activations/activations_jit.py (Apache 2.0) import torch from torch import nn from torch.nn import functional as F __all__ = ['swish_jit', 'SwishJit', 'mish_jit', 'MishJit'] #'hard_swish_jit', 'HardSwishJit', 'hard_sigmoid_jit', 'Har...
24.555556
127
0.671076
395
2,873
4.635443
0.21519
0.039323
0.053523
0.055707
0.540688
0.540142
0.459858
0.372474
0.316767
0.229383
0
0.014776
0.199095
2,873
116
128
24.767241
0.780965
0.33519
0
0.545455
0
0
0.017177
0
0
0
0
0
0
1
0.254545
false
0
0.054545
0.109091
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
f4734ff928d7a2ab000c1a6c8ee85768a4612d29
88
py
Python
pysrc/labstreaminglayer_ros/Converter__init__.py
guthom/labstreaminglayer_ros
e987cdb85c8e860dbca3ab075054e080d8e2906c
[ "MIT" ]
null
null
null
pysrc/labstreaminglayer_ros/Converter__init__.py
guthom/labstreaminglayer_ros
e987cdb85c8e860dbca3ab075054e080d8e2906c
[ "MIT" ]
null
null
null
pysrc/labstreaminglayer_ros/Converter__init__.py
guthom/labstreaminglayer_ros
e987cdb85c8e860dbca3ab075054e080d8e2906c
[ "MIT" ]
null
null
null
__all__ = ['Transform', 'Float32', 'TransformStamped', 'ConverterBase', 'Bool', 'Image']
88
88
0.693182
7
88
8.142857
1
0
0
0
0
0
0
0
0
0
0
0.024691
0.079545
88
1
88
88
0.679012
0
0
0
0
0
0.606742
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
f47963e92f5f289a387006ec4f57b71920577a89
721
py
Python
flatdata-py/generator/tree/nodes/resources/archive.py
tianchengli/flatdata
03ccf3669254ddef171d23a287c643dcd28650d2
[ "Apache-2.0" ]
null
null
null
flatdata-py/generator/tree/nodes/resources/archive.py
tianchengli/flatdata
03ccf3669254ddef171d23a287c643dcd28650d2
[ "Apache-2.0" ]
null
null
null
flatdata-py/generator/tree/nodes/resources/archive.py
tianchengli/flatdata
03ccf3669254ddef171d23a287c643dcd28650d2
[ "Apache-2.0" ]
null
null
null
from generator.tree.nodes.references import ArchiveReference from .base import ResourceBase class Archive(ResourceBase): def __init__(self, name, properties=None, target=None): super(Archive, self).__init__(name=name, properties=properties) self._target = target @staticmethod def create(p...
30.041667
71
0.668516
74
721
6.351351
0.418919
0.119149
0.102128
0
0
0
0
0
0
0
0
0.003663
0.242718
721
23
72
31.347826
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.055556
1
0.222222
false
0
0.111111
0.111111
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
f47968cf39246f0addadaaec9d9e73515321f3c0
1,832
py
Python
backend/tokens/schema.py
karadalex/crypto-app
2f1396200f0ea334fd0cea82c45d0df375665477
[ "MIT" ]
null
null
null
backend/tokens/schema.py
karadalex/crypto-app
2f1396200f0ea334fd0cea82c45d0df375665477
[ "MIT" ]
null
null
null
backend/tokens/schema.py
karadalex/crypto-app
2f1396200f0ea334fd0cea82c45d0df375665477
[ "MIT" ]
null
null
null
import graphene from graphene_django.types import DjangoObjectType from .models import CryptoCurrency, FiatCurrency, PriceRecord from .types import CryptoCurrencyType, FiatCurrencyType, PriceRecordType class Query(graphene.ObjectType): crypto_currencies = graphene.List(CryptoCurrencyType) crypto_currency = graphene...
42.604651
115
0.808406
228
1,832
6.289474
0.214912
0.058577
0.083682
0.062762
0.496513
0.415621
0.415621
0.364017
0.364017
0.27894
0
0
0.081332
1,832
42
116
43.619048
0.85205
0.022926
0
0.142857
0
0
0.006156
0
0
0
0
0
0
1
0.214286
false
0
0.142857
0.142857
0.821429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
f47b743088089de5457cc2aadeaed34cf8754d91
117
py
Python
redirect_file.py
DahlitzFlorian/capture-stdout-output-video-snippets
0b0cbbe8238c77fdf62f26cf631be054213a42b9
[ "MIT" ]
null
null
null
redirect_file.py
DahlitzFlorian/capture-stdout-output-video-snippets
0b0cbbe8238c77fdf62f26cf631be054213a42b9
[ "MIT" ]
null
null
null
redirect_file.py
DahlitzFlorian/capture-stdout-output-video-snippets
0b0cbbe8238c77fdf62f26cf631be054213a42b9
[ "MIT" ]
null
null
null
import contextlib with open("help_output.txt", "w") as f: with contextlib.redirect_stdout(f): help(pow)
19.5
39
0.675214
17
117
4.529412
0.764706
0
0
0
0
0
0
0
0
0
0
0
0.196581
117
5
40
23.4
0.819149
0
0
0
0
0
0.136752
0
0
0
0
0
0
1
0
true
0
0.25
0
0.25
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
f482e5fec95a7d9fc49897148dfad44e3db0ad07
3,581
py
Python
src/adafruit_blinka/microcontroller/snapdragon/apq8016/pin.py
tekktrik/Adafruit_Blinka
d094997a471301a2147d58f1693aa1d3a49df6cd
[ "MIT" ]
null
null
null
src/adafruit_blinka/microcontroller/snapdragon/apq8016/pin.py
tekktrik/Adafruit_Blinka
d094997a471301a2147d58f1693aa1d3a49df6cd
[ "MIT" ]
null
null
null
src/adafruit_blinka/microcontroller/snapdragon/apq8016/pin.py
tekktrik/Adafruit_Blinka
d094997a471301a2147d58f1693aa1d3a49df6cd
[ "MIT" ]
null
null
null
# SPDX-FileCopyrightText: 2021 Melissa LeBlanc-Williams for Adafruit Industries # # SPDX-License-Identifier: MIT """SnapDragon APQ8016 pin names""" from adafruit_blinka.microcontroller.generic_linux.libgpiod_pin import Pin GPIO_0 = Pin((0, 0)) GPIO_1 = Pin((0, 1)) GPIO_2 = Pin((0, 2)) GPIO_3 = Pin((0, 3)) GPIO_4 = Pin...
21.969325
79
0.602346
739
3,581
2.690122
0.224628
0.231388
0.008048
0
0
0
0
0
0
0
0
0.229188
0.17146
3,581
162
80
22.104938
0.440849
0.057526
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.006897
0
0.006897
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
be2f71ab5c38ea0703ad73fc6fff8a0a2ce65914
94
py
Python
data/studio21_generated/interview/0191/starter_code.py
vijaykumawat256/Prompt-Summarization
614f5911e2acd2933440d909de2b4f86653dc214
[ "Apache-2.0" ]
null
null
null
data/studio21_generated/interview/0191/starter_code.py
vijaykumawat256/Prompt-Summarization
614f5911e2acd2933440d909de2b4f86653dc214
[ "Apache-2.0" ]
null
null
null
data/studio21_generated/interview/0191/starter_code.py
vijaykumawat256/Prompt-Summarization
614f5911e2acd2933440d909de2b4f86653dc214
[ "Apache-2.0" ]
null
null
null
class Solution: def atMostNGivenDigitSet(self, digits: List[str], n: int) -> int:
31.333333
69
0.638298
11
94
5.454545
0.909091
0
0
0
0
0
0
0
0
0
0
0
0.234043
94
3
70
31.333333
0.833333
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
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
be3df20a41162c1fcd6bc6649e735fe27424e3ba
1,917
py
Python
app/sync/events.py
travcunn/kissync-python
a1c2a4d0619bcb93658007c2f240119b11964b9b
[ "MIT" ]
3
2016-09-06T21:06:48.000Z
2018-02-28T12:15:48.000Z
app/sync/events.py
travcunn/kissync-python
a1c2a4d0619bcb93658007c2f240119b11964b9b
[ "MIT" ]
null
null
null
app/sync/events.py
travcunn/kissync-python
a1c2a4d0619bcb93658007c2f240119b11964b9b
[ "MIT" ]
null
null
null
import datetime class BaseEvent(object): def __init__(self, path): self.path = path self.__timestamp = datetime.datetime.now() @property def timestamp(self): """ Return a timestamp of when the event was created. """ return self.__timestamp def __hash__(self): ...
22.290698
65
0.659364
205
1,917
5.697561
0.165854
0.053938
0.08476
0.136986
0.554795
0.554795
0.505137
0.505137
0.505137
0.505137
0
0
0.242567
1,917
85
66
22.552941
0.804408
0.025561
0
0.586207
0
0
0
0
0
0
0
0
0
1
0.293103
false
0
0.017241
0.12069
0.603448
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
be45cf1a32d732f84bafe0c04ea7cc2603f6b7eb
1,901
py
Python
ICM-20948_0_constants.py
bopopescu/ICM-20948-py2
d23c5f754e00a4d9dad029d82565098b11745f87
[ "MIT" ]
1
2020-03-18T01:35:36.000Z
2020-03-18T01:35:36.000Z
ICM-20948_0_constants.py
junhuanchen/ICM-20948-py2
d23c5f754e00a4d9dad029d82565098b11745f87
[ "MIT" ]
null
null
null
ICM-20948_0_constants.py
junhuanchen/ICM-20948-py2
d23c5f754e00a4d9dad029d82565098b11745f87
[ "MIT" ]
2
2019-07-25T14:17:43.000Z
2020-07-22T03:56:04.000Z
#!/usr/bin/env python2 # -*- coding: utf-8 -*- """ICM-20948: Low power 9-axis MotionTracking device that is ideally suited for Smartphones, Tablets, Wearable Sensors, and IoT applications.""" __author__ = "ChISL" __copyright__ = "TBD" __credits__ = ["TDK Invensense"] __license__ = "TBD" __version__ = "Ve...
22.364706
144
0.73435
365
1,901
3.279452
0.50137
0.120301
0.200501
0.280702
0
0
0
0
0
0
0
0.133595
0.196739
1,901
84
145
22.630952
0.650295
0.13414
0
0
0
0
0.042202
0
0
0
0
0
0
1
0
false
0
0
0
0.891892
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
be8063414fdff16c86b1e57151c5cc56e66ef924
551
py
Python
boa3_test/test_sc/interop_test/contract/CallFlagsUsage.py
hal0x2328/neo3-boa
6825a3533384cb01660773050719402a9703065b
[ "Apache-2.0" ]
25
2020-07-22T19:37:43.000Z
2022-03-08T03:23:55.000Z
boa3_test/test_sc/interop_test/contract/CallFlagsUsage.py
hal0x2328/neo3-boa
6825a3533384cb01660773050719402a9703065b
[ "Apache-2.0" ]
419
2020-04-23T17:48:14.000Z
2022-03-31T13:17:45.000Z
boa3_test/test_sc/interop_test/contract/CallFlagsUsage.py
hal0x2328/neo3-boa
6825a3533384cb01660773050719402a9703065b
[ "Apache-2.0" ]
15
2020-05-21T21:54:24.000Z
2021-11-18T06:17:24.000Z
from typing import Any from boa3.builtin import public from boa3.builtin.interop.contract import NEO, call_contract from boa3.builtin.interop.runtime import executing_script_hash, notify from boa3.builtin.interop.storage import get, put @public def call_another_contract() -> Any: return call_contract(NEO, 'balan...
20.407407
70
0.753176
81
551
4.975309
0.382716
0.079404
0.148883
0.163772
0
0
0
0
0
0
0
0.008475
0.143376
551
26
71
21.192308
0.845339
0
0
0.235294
0
0
0.047187
0
0
0
0
0
0
1
0.235294
false
0
0.294118
0.117647
0.647059
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
be8e59c25d2dbedf798b4e399ff15aa27d5eeef8
432
py
Python
tests/test_sphinxcontrib-rdflib.py
westurner/sphinxcontrib-rdf
8a3f5abe185ff837984cf3efb768702ad9a231db
[ "BSD-3-Clause" ]
null
null
null
tests/test_sphinxcontrib-rdflib.py
westurner/sphinxcontrib-rdf
8a3f5abe185ff837984cf3efb768702ad9a231db
[ "BSD-3-Clause" ]
1
2020-02-11T18:27:57.000Z
2020-02-11T18:27:57.000Z
tests/test_sphinxcontrib-rdflib.py
westurner/sphinxcontrib-rdf
8a3f5abe185ff837984cf3efb768702ad9a231db
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- """ test_sphinxcontrib-rdf ---------------------------------- Tests for `sphinxcontrib-rdf` module. """ import unittest from sphinxcontrib-rdf import sphinxcontrib-rdf class TestSphinxcontrib-rdf(unittest.TestCase): def setUp(self): pass def test_som...
15.428571
47
0.608796
46
432
5.5
0.608696
0.252964
0.086957
0
0
0
0
0
0
0
0
0.00289
0.199074
432
28
48
15.428571
0.728324
0.097222
0
0.272727
0
0
0.02807
0
0
0
0
0
0
0
null
null
0.272727
0.181818
null
null
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
3
bea563f6bd3dbbc67e2d3867d3f459d1fc99930b
1,353
py
Python
tests/test_isbns.py
SimonGreenhill/pyglottolog
1e0aa0cdc5ae35906c763f9219c6db9b976f8d38
[ "Apache-2.0" ]
7
2019-07-28T16:09:05.000Z
2021-09-12T20:21:55.000Z
tests/test_isbns.py
d97hah/pyglottolog
fe4c2a52d54cdcf0804b4f889598dbb9b8698dbd
[ "Apache-2.0" ]
52
2019-06-18T05:16:38.000Z
2022-02-21T11:20:02.000Z
tests/test_isbns.py
d97hah/pyglottolog
fe4c2a52d54cdcf0804b4f889598dbb9b8698dbd
[ "Apache-2.0" ]
6
2019-07-26T17:40:25.000Z
2021-12-08T00:59:38.000Z
import pytest from pyglottolog.references import Isbns, Isbn def test_Isbns(): assert Isbns.from_field('9783866801929, 3866801920') == \ [Isbn('9783866801929')] assert Isbns.from_field('978-3-86680-192-9 3-86680-192-0') == \ [Isbn('9783866801929')] with pytest.raises(ValueError, m...
30.066667
76
0.654102
159
1,353
5.515723
0.301887
0.13569
0.109464
0.177879
0.331813
0.18244
0
0
0
0
0
0.30854
0.195122
1,353
44
77
30.75
0.496786
0
0
0.068966
0
0
0.320769
0.031781
0
0
0
0
0.275862
1
0.068966
false
0
0.068966
0
0.137931
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
beb289094aa3e39d2f660f32b1c40766154d62fe
351
py
Python
v2/bindings/python/swisnap_plugin_lib_py/runner.py
solarwinds/snap-plugin-lib-go
33805aab6d093b08d360520255e684126c5314db
[ "Apache-2.0" ]
3
2020-10-05T01:48:25.000Z
2021-09-06T09:24:35.000Z
v2/bindings/python/swisnap_plugin_lib_py/runner.py
solarwinds/snap-plugin-lib-go
33805aab6d093b08d360520255e684126c5314db
[ "Apache-2.0" ]
8
2020-10-05T09:25:47.000Z
2021-11-23T17:59:10.000Z
v2/bindings/python/swisnap_plugin_lib_py/runner.py
solarwinds/snap-plugin-lib-go
33805aab6d093b08d360520255e684126c5314db
[ "Apache-2.0" ]
null
null
null
from .c_bridge import start_c_collector, start_c_publisher, start_c_streaming_collector # Starting collector def start_collector(collector): start_c_collector(collector) def start_streaming_collector(collector): start_c_streaming_collector(collector) # Starting publisher def start_publisher(publisher): ...
21.9375
87
0.831909
44
351
6.204545
0.227273
0.131868
0.164835
0.175824
0
0
0
0
0
0
0
0
0.111111
351
15
88
23.4
0.875
0.105413
0
0
0
0
0
0
0
0
0
0
0
1
0.428571
false
0
0.142857
0
0.571429
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
bebd75ce068352f0bd04291463754e9fe03c68f1
295
py
Python
backend/routes/__init__.py
PasitC/audino
efe58d079012819bb71b1c1f05fc708223d58223
[ "MIT" ]
900
2020-05-30T20:58:01.000Z
2022-03-30T08:49:52.000Z
backend/routes/__init__.py
xbsdsongnan/audino
10d26c47b14ae45cdd154f544ecf6b170a524f0a
[ "MIT" ]
45
2020-05-31T09:17:51.000Z
2022-02-27T05:54:22.000Z
backend/routes/__init__.py
xbsdsongnan/audino
10d26c47b14ae45cdd154f544ecf6b170a524f0a
[ "MIT" ]
107
2020-06-11T02:03:14.000Z
2022-03-29T14:53:09.000Z
from flask import Blueprint auth = Blueprint("auth", __name__, url_prefix="/auth") api = Blueprint("api", __name__, url_prefix="/api") from .login import * from .users import * from .projects import * from .labels import * from .current_user import * from .data import * from .audios import *
22.692308
54
0.728814
40
295
5.1
0.425
0.294118
0.127451
0
0
0
0
0
0
0
0
0
0.149153
295
12
55
24.583333
0.812749
0
0
0
0
0
0.054237
0
0
0
0
0
0
1
0
false
0
0.8
0
0.8
0.3
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
fe201d3e9817f86d0c3dada214c5a4604c625668
373
py
Python
test/comment_aggregate.py
MineSelf2016/SummerResearch
a02202935ca92ecf34e736e7b54cad6721f20fd4
[ "MIT" ]
null
null
null
test/comment_aggregate.py
MineSelf2016/SummerResearch
a02202935ca92ecf34e736e7b54cad6721f20fd4
[ "MIT" ]
null
null
null
test/comment_aggregate.py
MineSelf2016/SummerResearch
a02202935ca92ecf34e736e7b54cad6721f20fd4
[ "MIT" ]
null
null
null
# %% # 处理评论数据,按照微博发表时间进行聚合 # 1.20 日 # 1. 读取1.20 日微博列表信息; # 2. 根据微博列表信息聚合出微博评论信息 import pandas as pd import numpy as np import matplotlib.pyplot as plt # %% dataset_comments_1_20 = pd.read_csv("test/dataset_comment/1.20_comments.csv") dataset_comments_1_20.info() # %% len(dataset_comments_1_20["pub_time"]) # %% l...
16.954545
77
0.726542
58
373
4.37931
0.5
0.070866
0.251969
0.283465
0.220472
0.220472
0.220472
0
0
0
0
0.070769
0.128686
373
21
78
17.761905
0.710769
0.217158
0
0
0
0
0.191489
0.134752
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
fe31cf4dd357ddff48e95597e2b1feb2d14a5558
2,823
py
Python
django_settings/moduleregistry.py
gruy/django-settings
da8d98a7e75adcc021b2865fecb70d6551ce6a13
[ "BSD-3-Clause" ]
44
2015-01-13T17:30:45.000Z
2021-04-06T17:25:55.000Z
django_settings/moduleregistry.py
gruy/django-settings
da8d98a7e75adcc021b2865fecb70d6551ce6a13
[ "BSD-3-Clause" ]
12
2015-02-02T21:56:42.000Z
2021-06-10T17:31:08.000Z
django_settings/moduleregistry.py
gruy/django-settings
da8d98a7e75adcc021b2865fecb70d6551ce6a13
[ "BSD-3-Clause" ]
21
2015-01-06T14:08:16.000Z
2019-04-02T15:51:18.000Z
# -*- coding: utf-8 -*- """ moduleregistry -------------- allows to extend given module by simply registeing classes using "register" method. Usage:: >>> import moduleregistry >>> >>> import mymodule >>> import othermodule >>> >>> assert not hasattr(mymodule, 'OtherClass') # True >>> >>> reg...
25.205357
85
0.629472
306
2,823
5.519608
0.281046
0.078153
0.042629
0.031972
0.036708
0.036708
0
0
0
0
0
0.000471
0.247255
2,823
111
86
25.432432
0.794353
0.328728
0
0.037037
0
0
0.032344
0
0
0
0
0
0
1
0.296296
false
0.018519
0.037037
0.185185
0.592593
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
fe40ef772f3b99e4fd867172c0e398554a14a2d4
5,559
py
Python
starkplot/_axes/_old/_axes.py
nstarman/starkplot
e629abfa96448281cf590911107362f77c11fb4a
[ "BSD-3-Clause" ]
2
2019-03-22T22:07:27.000Z
2020-11-20T18:27:09.000Z
starkplot/_axes/_old/_axes.py
nstarman/starkplot
e629abfa96448281cf590911107362f77c11fb4a
[ "BSD-3-Clause" ]
3
2020-09-25T06:58:28.000Z
2021-12-20T00:16:21.000Z
starkplot/_axes/_old/_axes.py
nstarman/starkplot
e629abfa96448281cf590911107362f77c11fb4a
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # ---------------------------------------------------------------------------- # # TITLE : _axes # PROJECT : starkplot # # ---------------------------------------------------------------------------- ### Docstring and Metadata """**DOCSTRING** TODO oldax and return to c...
21.056818
79
0.400612
451
5,559
4.687361
0.370288
0.024598
0.029801
0.038316
0.123936
0.105014
0.105014
0.105014
0.105014
0.03122
0
0.001672
0.139234
5,559
263
80
21.136882
0.440125
0.347185
0
0.295455
0
0
0.101618
0.017476
0
0
0
0.007605
0
1
0.25
false
0
0.045455
0.045455
0.522727
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
fe44283d0a52301c091e231f00f58950061abacd
241
py
Python
solver/debug.py
ukc-co663/dependency-solver-2019-callumforrester
23d9bcd548de570fb1e0b72e640e450b5c824d64
[ "MIT" ]
null
null
null
solver/debug.py
ukc-co663/dependency-solver-2019-callumforrester
23d9bcd548de570fb1e0b72e640e450b5c824d64
[ "MIT" ]
null
null
null
solver/debug.py
ukc-co663/dependency-solver-2019-callumforrester
23d9bcd548de570fb1e0b72e640e450b5c824d64
[ "MIT" ]
1
2019-06-20T16:31:01.000Z
2019-06-20T16:31:01.000Z
import logging from tqdm import tqdm from typing import Iterable def logging_tqdm(it: Iterable, min_level: int = logging.INFO) -> tqdm: should_disable = logging.getLogger().level > min_level return tqdm(it, disable=should_disable)
26.777778
70
0.763485
34
241
5.264706
0.470588
0.067039
0
0
0
0
0
0
0
0
0
0
0.153527
241
8
71
30.125
0.877451
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.5
0
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
fe5ff4ed20dd3f7a0b06217e098d6ece2f7bd346
333
py
Python
code/parrot.py
palexjo/pokey_talon
b143314850271e185968b12f6e224df1cbb4611c
[ "MIT" ]
4
2021-06-28T23:44:54.000Z
2022-02-08T06:47:47.000Z
code/parrot.py
palexjo/pokey_talon
b143314850271e185968b12f6e224df1cbb4611c
[ "MIT" ]
1
2022-03-01T11:24:38.000Z
2022-03-01T11:24:38.000Z
code/parrot.py
palexjo/pokey_talon
b143314850271e185968b12f6e224df1cbb4611c
[ "MIT" ]
1
2022-02-23T12:43:22.000Z
2022-02-23T12:43:22.000Z
from talon import Module, Context, actions, app mod = Module() @mod.action_class class Actions: def dental_click(): """Responds to an alveolar click""" pass # app.notify("Dental click") def postalveolar_click(): """Responds to an postalveolar click""" actions.core.rep...
22.2
47
0.63964
40
333
5.225
0.6
0.105263
0.143541
0.162679
0
0
0
0
0
0
0
0.004
0.249249
333
15
48
22.2
0.832
0.273273
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0.125
0.125
0
0.5
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
fe6451d0451bbd8553a931da45650d20001c62ef
2,097
py
Python
src/cuckoofilter/bucket.py
heming621/postgraduate-
e459a361ce09954acbdc386a2dcd02e26962c8ff
[ "MIT" ]
13
2016-11-24T03:01:33.000Z
2022-02-08T04:14:23.000Z
src/cuckoofilter/bucket.py
heming621/postgraduate-
e459a361ce09954acbdc386a2dcd02e26962c8ff
[ "MIT" ]
null
null
null
src/cuckoofilter/bucket.py
heming621/postgraduate-
e459a361ce09954acbdc386a2dcd02e26962c8ff
[ "MIT" ]
5
2016-11-24T03:01:33.000Z
2021-12-23T13:04:17.000Z
import random class Bucket: '''Bucket class for storing fingerprints.''' def __init__(self, size=4): ''' Initialize bucket. size : the maximum nr. of fingerprints the bucket can store Default size is 4, which closely approaches the best size for FPP between 0.0000...
31.298507
121
0.60515
258
2,097
4.806202
0.395349
0.044355
0.019355
0.041935
0.051613
0
0
0
0
0
0
0.011863
0.316643
2,097
67
122
31.298507
0.853454
0.401526
0
0.133333
0
0
0.009285
0
0
0
0
0
0
1
0.3
false
0
0.033333
0.166667
0.7
0.366667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
fe6d48c2ff41cc96a1c4ed55c0a4242c3f97801e
33
py
Python
python/litex/__init__.py
IgiArdiyanto/litehub
54a43690d80e57f16bea1efc698e7d30f06b9d4f
[ "MIT" ]
null
null
null
python/litex/__init__.py
IgiArdiyanto/litehub
54a43690d80e57f16bea1efc698e7d30f06b9d4f
[ "MIT" ]
null
null
null
python/litex/__init__.py
IgiArdiyanto/litehub
54a43690d80e57f16bea1efc698e7d30f06b9d4f
[ "MIT" ]
null
null
null
# Versions __version__ = '0.0.1'
11
21
0.666667
5
33
3.6
0.8
0
0
0
0
0
0
0
0
0
0
0.107143
0.151515
33
2
22
16.5
0.535714
0.242424
0
0
0
0
0.217391
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
fe6e257177b63538c13060f87ca2e0164af72b10
972
py
Python
wolframclient/tests/evaluation/__init__.py
WolframResearch/WolframClientForPython
27cffef560eea8d16c02fe4086f42363604284b6
[ "MIT" ]
358
2018-10-18T13:39:48.000Z
2022-03-26T09:42:53.000Z
wolframclient/tests/evaluation/__init__.py
WolframResearch/WolframClientForPython
27cffef560eea8d16c02fe4086f42363604284b6
[ "MIT" ]
29
2018-10-20T09:04:12.000Z
2022-03-06T18:36:19.000Z
wolframclient/tests/evaluation/__init__.py
LaudateCorpus1/WolframClientForPython
26f7fa3d81691ba2a63d3eadcd9734b261130b7c
[ "MIT" ]
38
2018-10-19T21:52:14.000Z
2021-11-21T13:07:04.000Z
from __future__ import absolute_import, print_function, unicode_literals import fnmatch import os import unittest from wolframclient.utils import six # The evaluation modules is only supported on python 3.5+, because of asyncio # We need to prevent the test suite from loading this module containing coroutines. if si...
31.354839
83
0.755144
131
972
5.40458
0.503817
0.120057
0.124294
0.180791
0.237288
0.237288
0
0
0
0
0
0.015094
0.182099
972
30
84
32.4
0.875472
0.161523
0
0
0
0
0.012315
0
0
0
0
0
0
1
0.047619
false
0
0.428571
0
0.52381
0.047619
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
fe7149d13473207b2c14ec3b51325f9e95bc4536
160
py
Python
superinvoke/collections/misc.py
Neoxelox/superinvoke
032dde6d31ecd4fa94b3fd75ca2f09ccf799e9ba
[ "MIT" ]
1
2021-11-15T01:25:00.000Z
2021-11-15T01:25:00.000Z
superinvoke/collections/misc.py
Neoxelox/superinvoke
032dde6d31ecd4fa94b3fd75ca2f09ccf799e9ba
[ "MIT" ]
null
null
null
superinvoke/collections/misc.py
Neoxelox/superinvoke
032dde6d31ecd4fa94b3fd75ca2f09ccf799e9ba
[ "MIT" ]
null
null
null
from invoke import task @task(variadic=True) def help(context, collection): """Show available commands.""" context.run(f"invoke --list {collection}")
20
46
0.7
20
160
5.6
0.8
0
0
0
0
0
0
0
0
0
0
0
0.15
160
7
47
22.857143
0.823529
0.15
0
0
0
0
0.2
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3