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
5536589da169090318ffbe136e313192a91c65e0
593
py
Python
rcrs_core/messages/AKAcknowledge.py
roborescue/rcrs-core-python
9e48e5778ee7ccd524d3f9ba47d23d892e175d66
[ "BSD-3-Clause" ]
1
2022-03-11T12:27:29.000Z
2022-03-11T12:27:29.000Z
rcrs_core/messages/AKAcknowledge.py
roborescue/rcrs-core-python
9e48e5778ee7ccd524d3f9ba47d23d892e175d66
[ "BSD-3-Clause" ]
1
2022-01-12T19:57:51.000Z
2022-01-12T19:57:51.000Z
rcrs_core/messages/AKAcknowledge.py
roborescue/rcrs-core-python
9e48e5778ee7ccd524d3f9ba47d23d892e175d66
[ "BSD-3-Clause" ]
null
null
null
from rcrs_core.connection import URN from rcrs_core.messages.message import Message from rcrs_core.connection import RCRSProto_pb2 class AKAcknowledge(Message): def __init__(self): super().__init__(URN.ControlMSG.AK_ACKNOWLEDGE) def write(self, request_id, agent_id): msg = RCRSProto_pb2.Messa...
29.65
87
0.713322
72
593
5.597222
0.5
0.059553
0.08933
0.109181
0.138958
0
0
0
0
0
0
0.004219
0.200675
593
20
88
29.65
0.845992
0
0
0
0
0
0
0
0
0
0
0
0
1
0.214286
false
0.071429
0.214286
0
0.571429
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
5561466fd504dbdd1db6551c7473e908ddc4a15a
588
py
Python
mqtt_exporter/settings.py
roobre/mqtt-exporter
2264ebbef2967e0f06a7702701a5dfdbb894b12c
[ "MIT" ]
16
2020-06-16T12:31:55.000Z
2022-03-25T23:59:05.000Z
mqtt_exporter/settings.py
roobre/mqtt-exporter
2264ebbef2967e0f06a7702701a5dfdbb894b12c
[ "MIT" ]
15
2020-11-24T19:48:18.000Z
2022-01-24T11:40:34.000Z
mqtt_exporter/settings.py
roobre/mqtt-exporter
2264ebbef2967e0f06a7702701a5dfdbb894b12c
[ "MIT" ]
15
2020-02-11T09:12:24.000Z
2022-03-09T12:14:03.000Z
"""Exporter configuration.""" import os PREFIX = os.getenv("PROMETHEUS_PREFIX", "mqtt_") TOPIC_LABEL = os.getenv("TOPIC_LABEL", "topic") TOPIC = os.getenv("MQTT_TOPIC", "#") IGNORED_TOPICS = os.getenv("MQTT_IGNORED_TOPICS", "").split(",") LOG_LEVEL = os.getenv("LOG_LEVEL", "INFO") MQTT_ADDRESS = os.getenv("MQTT_ADDRE...
36.75
64
0.721088
83
588
4.843373
0.337349
0.218905
0.208955
0.074627
0
0
0
0
0
0
0
0.02963
0.081633
588
15
65
39.2
0.714815
0.039116
0
0
0
0
0.316637
0
0
0
0
0
0
1
0
false
0.083333
0.083333
0
0.083333
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
557cbd518c57638344365bcc83408686fc710caa
254
py
Python
symphony/cli/gql/gql/__init__.py
idoshveki/magma
8022267bd8b8d94913fbb9a0836880361d785446
[ "BSD-3-Clause" ]
2
2020-11-05T18:58:26.000Z
2021-02-09T06:42:49.000Z
symphony/cli/gql/gql/__init__.py
idoshveki/magma
8022267bd8b8d94913fbb9a0836880361d785446
[ "BSD-3-Clause" ]
10
2021-03-31T20:19:00.000Z
2022-02-19T07:09:57.000Z
symphony/cli/gql/gql/__init__.py
idoshveki/magma
8022267bd8b8d94913fbb9a0836880361d785446
[ "BSD-3-Clause" ]
3
2020-08-20T18:45:34.000Z
2020-08-20T20:18:42.000Z
#!/usr/bin/env python3 import warnings from .client import Client, GraphqlDeprecationWarning, OperationException from .gql import gql __all__ = ["gql", "Client", "OperationException"] warnings.filterwarnings("always", "", GraphqlDeprecationWarning)
21.166667
73
0.779528
24
254
8.083333
0.583333
0
0
0
0
0
0
0
0
0
0
0.004405
0.106299
254
11
74
23.090909
0.85022
0.082677
0
0
0
0
0.142241
0
0
0
0
0
0
1
0
false
0
0.6
0
0.6
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
55851747f144050b9204e0495840dbb2216fa78b
1,509
py
Python
Legacy/PythonTutorial/17Polymorphism.py
deo1/deo1
36671f12269d3bd662d746e8b9f66c22255c9df7
[ "MIT" ]
null
null
null
Legacy/PythonTutorial/17Polymorphism.py
deo1/deo1
36671f12269d3bd662d746e8b9f66c22255c9df7
[ "MIT" ]
null
null
null
Legacy/PythonTutorial/17Polymorphism.py
deo1/deo1
36671f12269d3bd662d746e8b9f66c22255c9df7
[ "MIT" ]
null
null
null
__author__ = 'jbowman' # https://pythonspot.com/poylmorphism/ class Bear(object): def sound(self): print("Groarrr") class Dog(object): def sound(self): print("Ruffff") def makeSound(animalType): animalType.sound() bearObj = Bear() dogObj = Dog() makeSound(bearObj) makeSound(dogObj) cl...
19.855263
80
0.623592
176
1,509
5.278409
0.346591
0.064586
0.035522
0.038751
0.361679
0.215285
0.152853
0.064586
0
0
0
0.006034
0.231279
1,509
75
81
20.12
0.794828
0.125911
0
0.319149
0
0
0.166159
0
0
0
0
0
0
1
0.297872
false
0
0
0.12766
0.595745
0.085106
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
559fb13a0164e0026ba024923d0892f73c93a683
217
py
Python
knitty/consts.py
phlummox-patches/knitty
d7a5256ba9dfa4cc146681cb202343937214c0f6
[ "MIT" ]
41
2018-06-29T17:52:14.000Z
2021-12-12T06:59:59.000Z
knitty/consts.py
phlummox-patches/knitty
d7a5256ba9dfa4cc146681cb202343937214c0f6
[ "MIT" ]
26
2018-01-17T09:40:34.000Z
2022-03-22T09:44:45.000Z
knitty/consts.py
phlummox-patches/knitty
d7a5256ba9dfa4cc146681cb202343937214c0f6
[ "MIT" ]
2
2021-09-20T16:20:50.000Z
2022-03-22T09:26:41.000Z
# Metadata options: # --------------------------------- META_COMMENTS_MAP = 'comments-map' META_KNITTY_COMMENTS_EXT = 'knitty-comments-ext' META_KNITTY_LANG = 'knitty-lang' PANDOC_CODECELL_CLASSES = ('code', 'cell')
27.125
48
0.64977
24
217
5.5
0.541667
0.166667
0.257576
0
0
0
0
0
0
0
0
0
0.087558
217
7
49
31
0.666667
0.235023
0
0
0
0
0.306748
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
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
55b8d505ef9e2d59785af69101d88d0dcb70e863
699
py
Python
tests/py_tests/test_faint/test_image.py
lukas-ke/faint-graphics-editor
33eb9e6a3f2216fb2cf6ef9709a14f3d20b78fbf
[ "Apache-2.0" ]
10
2016-12-28T22:06:31.000Z
2021-05-24T13:42:30.000Z
tests/py_tests/test_faint/test_image.py
lukas-ke/faint-graphics-editor
33eb9e6a3f2216fb2cf6ef9709a14f3d20b78fbf
[ "Apache-2.0" ]
4
2015-10-09T23:55:10.000Z
2020-04-04T08:09:22.000Z
tests/py_tests/test_faint/test_image.py
lukas-ke/faint-graphics-editor
33eb9e6a3f2216fb2cf6ef9709a14f3d20b78fbf
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import unittest from faint import Image, FrameProps, ImageProps class TestImage(unittest.TestCase): def test_init(self): # Fixme: Add proper Image constructor. p = ImageProps() f = p.add_frame(200, 300) i = Image(f) ...
27.96
61
0.583691
96
699
4.15625
0.489583
0.225564
0.240602
0.142857
0.383459
0.318296
0.130326
0
0
0
0
0.094961
0.261803
699
24
62
29.125
0.678295
0.114449
0
0.133333
0
0
0
0
0
0
0
0.041667
0.4
1
0.066667
false
0
0.133333
0
0.266667
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
3
e99194a2e53eb95185c0fe4e6856cbee837370c9
175
py
Python
confgf/models/__init__.py
Zhanghaotian1/SDE_conf
90773e807ab8ccdc1963e113a2c72df16b8899c1
[ "MIT" ]
null
null
null
confgf/models/__init__.py
Zhanghaotian1/SDE_conf
90773e807ab8ccdc1963e113a2c72df16b8899c1
[ "MIT" ]
null
null
null
confgf/models/__init__.py
Zhanghaotian1/SDE_conf
90773e807ab8ccdc1963e113a2c72df16b8899c1
[ "MIT" ]
1
2022-01-28T07:56:28.000Z
2022-01-28T07:56:28.000Z
from .scorenet import DistanceScoreMatch from .gaussian_diffusion import DenoisingDiffusion from .sde import SDE __all__ = ["DistanceScoreMatch", "DenoisingDiffusion","SDE"]
29.166667
60
0.822857
17
175
8.176471
0.529412
0
0
0
0
0
0
0
0
0
0
0
0.097143
175
5
61
35
0.879747
0
0
0
0
0
0.222857
0
0
0
0
0
0
1
0
false
0
0.75
0
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
e9b46a7d1802be437b6b414672c6fb16bee431a0
150
py
Python
requests/demo18.py
silianpan/seal-spider-demo
23bf013d08f9edaf23823bc3787f579bccd0ec3a
[ "Apache-2.0" ]
null
null
null
requests/demo18.py
silianpan/seal-spider-demo
23bf013d08f9edaf23823bc3787f579bccd0ec3a
[ "Apache-2.0" ]
3
2021-09-08T01:11:16.000Z
2022-03-02T15:14:03.000Z
requests/demo18.py
silianpan/seal-spider-demo
23bf013d08f9edaf23823bc3787f579bccd0ec3a
[ "Apache-2.0" ]
1
2019-08-04T09:57:29.000Z
2019-08-04T09:57:29.000Z
import requests s = requests.Session() s.get('http://httpbin.org/cookies/set/number/123456789') r = s.get('http://httpbin.org/cookies') print(r.text)
25
56
0.726667
24
150
4.541667
0.625
0.073395
0.146789
0.275229
0.458716
0.458716
0
0
0
0
0
0.064286
0.066667
150
6
57
25
0.714286
0
0
0
0
0
0.483444
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.2
1
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
75803fe3d8e085d70fab8c3ad065e118d47bb47f
542
py
Python
Eva/Applicatie/Backend/PythonPrototypes/Applicatie/UsecaseControllers/VisualizeVariablesController.py
triplejingle/cito
43abeec8a68b7e8791b0d125fc8026dd58a0f7aa
[ "MIT" ]
null
null
null
Eva/Applicatie/Backend/PythonPrototypes/Applicatie/UsecaseControllers/VisualizeVariablesController.py
triplejingle/cito
43abeec8a68b7e8791b0d125fc8026dd58a0f7aa
[ "MIT" ]
null
null
null
Eva/Applicatie/Backend/PythonPrototypes/Applicatie/UsecaseControllers/VisualizeVariablesController.py
triplejingle/cito
43abeec8a68b7e8791b0d125fc8026dd58a0f7aa
[ "MIT" ]
null
null
null
import json from File import File from Script import Script class VisualizeVariablesController(object): file = File() script = Script() def load(self, path): return self.file.load(path) def get_criteria(self): return self.file.get_filter_criteria() def filter(self, levels_and_va...
22.583333
65
0.693727
69
542
5.318841
0.333333
0.13624
0.114441
0
0
0
0
0
0
0
0
0
0.214022
542
23
66
23.565217
0.861502
0
0
0
0
0
0
0
0
0
0
0
0
1
0.3125
false
0
0.1875
0.3125
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
759774cf7bc8e2dab4827d57d49b3ebcdf407dba
716
py
Python
sscutils/metadata/datascript/bases.py
papsebestyen/sscutils
dff8b62ab31c9dfe1494264f9319e287945762bc
[ "MIT" ]
null
null
null
sscutils/metadata/datascript/bases.py
papsebestyen/sscutils
dff8b62ab31c9dfe1494264f9319e287945762bc
[ "MIT" ]
21
2021-09-15T15:31:22.000Z
2022-03-20T17:10:50.000Z
sscutils/metadata/datascript/bases.py
papsebestyen/sscutils
dff8b62ab31c9dfe1494264f9319e287945762bc
[ "MIT" ]
2
2021-09-08T14:12:00.000Z
2021-09-29T10:58:08.000Z
from typing import Type, Union from colassigner import ColAccessor, ColAssigner from colassigner.type_hinting import get_return_hint class BaseEntity: pass class IndexBase(ColAccessor): pass class CompositeTypeBase(ColAccessor): pass class TableFeaturesBase(ColAssigner): pass class Nullable(t...
17.463415
72
0.705307
87
716
5.45977
0.436782
0.075789
0.054737
0
0
0
0
0
0
0
0
0
0.205307
716
40
73
17.9
0.834798
0
0
0.173913
0
0
0.006983
0
0
0
0
0
0
1
0.130435
false
0.173913
0.130435
0.130435
0.652174
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
0
1
1
0
0
3
759c91bafba3b52febfea8b31da6ae2794f683fc
423
py
Python
Lambda_Func-2.py
praabindhp/Lambda_Functions
c78dbb6b521998ab4681e4e644eb246985ed8355
[ "MIT" ]
1
2021-07-23T08:07:51.000Z
2021-07-23T08:07:51.000Z
Lambda_Func-2.py
praabindhp/Lambda_Functions
c78dbb6b521998ab4681e4e644eb246985ed8355
[ "MIT" ]
null
null
null
Lambda_Func-2.py
praabindhp/Lambda_Functions
c78dbb6b521998ab4681e4e644eb246985ed8355
[ "MIT" ]
null
null
null
# Normal Lambda Expression lambda_Func = lambda x, y : x + y print("Normal Lambda : ",lambda_Func(x = 15, y =20)) # Argumental Lambda Expression lambda_Args = lambda *args : sum(args) print("Args Lambda : ",lambda_Args(10,20,30,40,50)) # Key Value Argumental Lambda Expression lambda_KeyArgs = lambda **args : sum(ar...
30.214286
89
0.699764
65
423
4.461538
0.430769
0.137931
0.227586
0.22069
0
0
0
0
0
0
0
0.050704
0.160757
423
14
89
30.214286
0.766197
0.217494
0
0
0
0
0.164634
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
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
0
1
0
3
75bdebfedaa52fcd408a56ec30d2a9dbd3be0493
198
py
Python
manga_py/providers/bns_shounen_ai_net.py
paulolimac/manga-py
3d180846750a4e770b5024eb8cd15629362875b1
[ "MIT" ]
null
null
null
manga_py/providers/bns_shounen_ai_net.py
paulolimac/manga-py
3d180846750a4e770b5024eb8cd15629362875b1
[ "MIT" ]
null
null
null
manga_py/providers/bns_shounen_ai_net.py
paulolimac/manga-py
3d180846750a4e770b5024eb8cd15629362875b1
[ "MIT" ]
null
null
null
from .read_powermanga_org import ReadPowerMangaOrg class BnsShounenAiNet(ReadPowerMangaOrg): _name_re = '/read/[^/]+/([^/]+)/' _content_str = '{}/read/series/{}/' main = BnsShounenAiNet
19.8
50
0.686869
18
198
7.222222
0.777778
0
0
0
0
0
0
0
0
0
0
0
0.136364
198
9
51
22
0.760234
0
0
0
0
0
0.191919
0
0
0
0
0
0
1
0
false
0
0.2
0
0.8
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
75e6a5e4074b1f93d28357cf5d74280d2b3f36d3
291
py
Python
week_1/06_lesson.py
SekachVitaliy/Python
4d199a571cfedca51ec6e724e4d8c98e086e984d
[ "Unlicense" ]
null
null
null
week_1/06_lesson.py
SekachVitaliy/Python
4d199a571cfedca51ec6e724e4d8c98e086e984d
[ "Unlicense" ]
null
null
null
week_1/06_lesson.py
SekachVitaliy/Python
4d199a571cfedca51ec6e724e4d8c98e086e984d
[ "Unlicense" ]
null
null
null
"""" a = int(input()) #Рубли 1го товара b = int(input()) #Копейки 1го товара c = int(input()) #Рубли 2го товара d = int(input()) #Копейки 2го товара cost1 = a * 100 + b cost2 = c * 100 + d totalCost = cost1 + cost2 print(totalCost // 100, totalCost % 100) """ n = int(input()) print(n % 256)
24.25
40
0.62543
46
291
3.956522
0.391304
0.21978
0.142857
0
0
0
0
0
0
0
0
0.097872
0.19244
291
12
41
24.25
0.676596
0.865979
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
75ef389b560f77486edb874dfe5d36ce9c9d06a6
145
py
Python
testscripts/test_code_source.py
jhaip/streaming-queue-viz
5952a27cf614b25676e011c1908d9342b2df7b66
[ "MIT" ]
3
2018-01-16T15:19:01.000Z
2018-12-22T10:00:28.000Z
testscripts/test_code_source.py
jhaip/streaming-queue-viz
5952a27cf614b25676e011c1908d9342b2df7b66
[ "MIT" ]
null
null
null
testscripts/test_code_source.py
jhaip/streaming-queue-viz
5952a27cf614b25676e011c1908d9342b2df7b66
[ "MIT" ]
null
null
null
from analogio import AnalogIn import board import time analogin = AnalogIn(board.A1) while True: print(analogin.value) time.sleep(0.1)
14.5
29
0.744828
21
145
5.142857
0.666667
0
0
0
0
0
0
0
0
0
0
0.025
0.172414
145
9
30
16.111111
0.875
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0.142857
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
75fd1b3b49770c5687afd38216e16240869f6e61
233
py
Python
07-desafio.py
SweydAbdul/EstudosPythonCeV
5eb61d4e1d47b99d57de776c835aa9f3c2bcee3b
[ "MIT" ]
null
null
null
07-desafio.py
SweydAbdul/EstudosPythonCeV
5eb61d4e1d47b99d57de776c835aa9f3c2bcee3b
[ "MIT" ]
null
null
null
07-desafio.py
SweydAbdul/EstudosPythonCeV
5eb61d4e1d47b99d57de776c835aa9f3c2bcee3b
[ "MIT" ]
null
null
null
x = ' \033[34mDESAFIO 07\033[m ' print('{:=^22}'.format(x)) n1 = float(input('Informe a primeira nota: ')) n2 = float(input('Informe a segunda nota: ')) media = (n1+n2) /2 print('A sua media e \033[36m{:.1f}\033[m'.format(media))
29.125
57
0.622318
40
233
3.625
0.575
0.055172
0.234483
0.248276
0
0
0
0
0
0
0
0.13
0.141631
233
8
57
29.125
0.595
0
0
0
0
0
0.495727
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
f95e1333ac543570c7afc2700e11021923f0fd0f
579
py
Python
torchtools/test.py
Takezo87/torchtools
4230305d9063dabee3614f0dcd8557739b90f817
[ "Apache-2.0" ]
null
null
null
torchtools/test.py
Takezo87/torchtools
4230305d9063dabee3614f0dcd8557739b90f817
[ "Apache-2.0" ]
1
2022-02-26T06:23:52.000Z
2022-02-26T06:23:52.000Z
torchtools/test.py
Takezo87/torchtools
4230305d9063dabee3614f0dcd8557739b90f817
[ "Apache-2.0" ]
null
null
null
# AUTOGENERATED! DO NOT EDIT! File to edit: 100_test.ipynb (unless otherwise specified). __all__ = ['items_to_arrays'] # Cell from .core import * from .data import * from .models import * from .datasets import * from .augmentations import * from .datablock import * from .dataloader import * # Cell def items_to_array...
32.166667
91
0.704663
94
579
4.244681
0.510638
0.150376
0.06015
0.082707
0
0
0
0
0
0
0
0.0125
0.170984
579
18
92
32.166667
0.81875
0.440415
0
0
1
0
0.047468
0
0
0
0
0
0
1
0.1
false
0
0.7
0
0.9
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
f9639fc95af8f9fbba2929082b2ea8737333d68b
420
py
Python
core/migrations/0009_auto_20200702_2202.py
andrsko/convabout-server-v1
480554375908c923e7a210af1747096654459930
[ "MIT" ]
null
null
null
core/migrations/0009_auto_20200702_2202.py
andrsko/convabout-server-v1
480554375908c923e7a210af1747096654459930
[ "MIT" ]
null
null
null
core/migrations/0009_auto_20200702_2202.py
andrsko/convabout-server-v1
480554375908c923e7a210af1747096654459930
[ "MIT" ]
null
null
null
# Generated by Django 3.0.6 on 2020-07-02 19:02 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('core', '0008_auto_20200630_1943'), ] operations = [ migrations.RemoveField( model_name='post', name='body', ), ...
19.090909
47
0.547619
42
420
5.357143
0.714286
0.186667
0.231111
0.266667
0.337778
0.337778
0
0
0
0
0
0.111111
0.335714
420
21
48
20
0.695341
0.107143
0
0.4
1
0
0.115282
0.061662
0
0
0
0
0
1
0
false
0
0.066667
0
0.266667
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
f98920db63113f63386c3ee4ceeae53ad8e4dd66
799
py
Python
test/nn/conv/test_mf_conv.py
shrey-bansal/pytorch_geometric
17108a08066b0a73530544d01719b186f2625ef2
[ "MIT" ]
2
2020-12-06T13:10:52.000Z
2021-07-06T06:50:10.000Z
test/nn/conv/test_mf_conv.py
shrey-bansal/pytorch_geometric
17108a08066b0a73530544d01719b186f2625ef2
[ "MIT" ]
null
null
null
test/nn/conv/test_mf_conv.py
shrey-bansal/pytorch_geometric
17108a08066b0a73530544d01719b186f2625ef2
[ "MIT" ]
1
2021-07-06T06:50:21.000Z
2021-07-06T06:50:21.000Z
import torch from torch_geometric.nn import MFConv def test_mf_conv(): in_channels, out_channels = (16, 32) edge_index = torch.tensor([[0, 0, 0, 1, 2, 3], [1, 2, 3, 0, 0, 0]]) num_nodes = edge_index.max().item() + 1 x = torch.randn((num_nodes, in_channels)) conv = MFConv(in_channels, out_channels...
33.291667
71
0.643304
132
799
3.628788
0.265152
0.033403
0.10856
0.175365
0.718163
0.718163
0.617954
0.617954
0.617954
0.617954
0
0.063369
0.190238
799
23
72
34.73913
0.676971
0
0
0.352941
0
0
0.017522
0
0
0
0
0
0.176471
1
0.117647
false
0
0.117647
0
0.235294
0
0
0
0
null
0
0
1
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
f98c48474f70fc5643fdb676ddcde70c6fd55bb3
2,138
py
Python
tests/test_validators.py
Dagurmart/graphene-django-plus
c8bc3c1179a02f51ff97bb8ba9dd187737a28b68
[ "MIT" ]
null
null
null
tests/test_validators.py
Dagurmart/graphene-django-plus
c8bc3c1179a02f51ff97bb8ba9dd187737a28b68
[ "MIT" ]
null
null
null
tests/test_validators.py
Dagurmart/graphene-django-plus
c8bc3c1179a02f51ff97bb8ba9dd187737a28b68
[ "MIT" ]
1
2020-06-11T19:15:51.000Z
2020-06-11T19:15:51.000Z
import pytest from graphql_relay import to_global_id from rest_framework.utils import json @pytest.mark.django_db() def test_depth_validator_normal_depth(graphql_depth_client): response = graphql_depth_client.execute( """ query Book($id: ID!) { book(id: $id) { id ...
23.755556
110
0.513564
192
2,138
5.432292
0.291667
0.023011
0.061361
0.069032
0.791946
0.791946
0.791946
0.779482
0.486098
0.486098
0
0.002261
0.379326
2,138
89
111
24.022472
0.783723
0
0
0.4
0
0
0.187915
0
0
0
0
0
0.088889
1
0.088889
false
0
0.066667
0
0.155556
0
0
0
0
null
0
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
f9ad311bc60770517dd51f99199a107374c75a04
718
py
Python
ch08/q8-03.py
iamnicoj/ctci
f71f995cb3d3257d3d58f1f167fcab8eaf84d457
[ "MIT" ]
null
null
null
ch08/q8-03.py
iamnicoj/ctci
f71f995cb3d3257d3d58f1f167fcab8eaf84d457
[ "MIT" ]
3
2021-03-19T14:35:27.000Z
2021-03-20T16:12:34.000Z
ch08/q8-03.py
iamnicoj/ctci
f71f995cb3d3257d3d58f1f167fcab8eaf84d457
[ "MIT" ]
null
null
null
def magic_index(array, seed = 0): if len(array) == 0: return None middle = len(array) // 2 if array[middle] == middle + seed: return middle + seed if middle == 0: return None if array[middle] > middle: return magic_index(array[:middle], seed) return magic_index(array[(middle + 1):], mid...
31.217391
104
0.618384
127
718
3.409449
0.251969
0.254042
0.277136
0.147806
0.360277
0.092379
0.092379
0
0
0
0
0.105354
0.193593
718
22
105
32.636364
0.642487
0.112813
0
0
0
0
0
0
0
0
0
0
0
1
0.0625
false
0
0
0
0.1875
0.5
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
f9ae3961e49dc927274986709405d7ccee101d65
95
py
Python
gpsimy/models/message.py
gamikun/gpsimy
ca88c4c7611efd34cf1a8ace404bf1e74521d149
[ "MIT" ]
1
2017-07-14T15:24:19.000Z
2017-07-14T15:24:19.000Z
gpsimy/models/message.py
gamikun/gpsimy
ca88c4c7611efd34cf1a8ace404bf1e74521d149
[ "MIT" ]
null
null
null
gpsimy/models/message.py
gamikun/gpsimy
ca88c4c7611efd34cf1a8ace404bf1e74521d149
[ "MIT" ]
null
null
null
class Message(object): __slots__ = ['opcode', 'position', 'is_event']
11.875
38
0.515789
8
95
5.5
1
0
0
0
0
0
0
0
0
0
0
0
0.336842
95
7
39
13.571429
0.698413
0
0
0
0
0
0.241758
0
0
0
0
0
0
1
0
false
0
0
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
f9beb404c1c5ae20a61487e704fa3268abb01df7
172
py
Python
auth.py
vlee489/twitter-python-parser
91b10d8efa55b5d6bd6f530649dd7e88fdcbb174
[ "MIT" ]
null
null
null
auth.py
vlee489/twitter-python-parser
91b10d8efa55b5d6bd6f530649dd7e88fdcbb174
[ "MIT" ]
null
null
null
auth.py
vlee489/twitter-python-parser
91b10d8efa55b5d6bd6f530649dd7e88fdcbb174
[ "MIT" ]
null
null
null
# Get your keys from https://apps.twitter.com/ consumer_key = '*****' consumer_secret = '*****' access_token = '*****' access_token_secret = '*****'
28.666667
47
0.534884
17
172
5.117647
0.764706
0.252874
0
0
0
0
0
0
0
0
0
0
0.238372
172
5
48
34.4
0.664122
0.255814
0
0
0
0
0.165289
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
f9d8f68b316e567406b8c8b08d08c53af8e0cd6e
127
py
Python
profiles_api/urls.py
IshraqKabir/profile-rest-api
a12d28f3341733d8624c572483b4c40dfa608220
[ "MIT" ]
null
null
null
profiles_api/urls.py
IshraqKabir/profile-rest-api
a12d28f3341733d8624c572483b4c40dfa608220
[ "MIT" ]
7
2020-06-06T01:43:28.000Z
2022-02-10T10:16:30.000Z
profiles_api/urls.py
IshraqKabir/profile-rest-api
a12d28f3341733d8624c572483b4c40dfa608220
[ "MIT" ]
null
null
null
from django.urls import path from .views import HelloAPIView urlpatterns = [ path('hello-view', HelloAPIView.as_view()), ]
21.166667
47
0.740157
16
127
5.8125
0.6875
0
0
0
0
0
0
0
0
0
0
0
0.141732
127
6
48
21.166667
0.853211
0
0
0
0
0
0.078125
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
ddb41a92b6b39b55d540217c57ce703833883a7c
224
py
Python
saleor/graphql/page/resolvers.py
TysonRV/saleor
83d3ca5ae163fa853ab311d0ebcdbc22f4788166
[ "BSD-3-Clause" ]
3
2018-06-14T22:52:38.000Z
2019-01-24T03:48:46.000Z
saleor/graphql/page/resolvers.py
TysonRV/saleor
83d3ca5ae163fa853ab311d0ebcdbc22f4788166
[ "BSD-3-Clause" ]
1
2020-05-26T00:54:24.000Z
2020-05-26T00:54:24.000Z
saleor/graphql/page/resolvers.py
TysonRV/saleor
83d3ca5ae163fa853ab311d0ebcdbc22f4788166
[ "BSD-3-Clause" ]
1
2021-12-02T18:49:31.000Z
2021-12-02T18:49:31.000Z
from ...page import models def resolve_pages(user): if user.is_authenticated and user.is_active and user.is_staff: return models.Page.objects.all().distinct() return models.Page.objects.public().distinct()
28
66
0.732143
32
224
5
0.59375
0.1125
0.1125
0.2875
0
0
0
0
0
0
0
0
0.151786
224
7
67
32
0.842105
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.8
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
ddbac1a26450fbf1aa267d8447a1dc64d9e671e1
1,560
py
Python
server.py
estensen/multi-paxos-example
924ae6c8690225d83718a26c6932c7c3c3ba493a
[ "MIT" ]
86
2016-03-05T13:04:05.000Z
2022-03-03T23:40:28.000Z
server.py
estensen/multi-paxos-example
924ae6c8690225d83718a26c6932c7c3c3ba493a
[ "MIT" ]
10
2016-08-05T13:12:17.000Z
2019-05-19T15:04:32.000Z
server.py
estensen/multi-paxos-example
924ae6c8690225d83718a26c6932c7c3c3ba493a
[ "MIT" ]
34
2015-07-23T15:59:16.000Z
2022-02-27T13:29:07.000Z
import sys import os.path import argparse import json from twisted.internet import reactor this_dir = os.path.dirname(os.path.abspath(__file__)) sys.path.append( os.path.dirname(this_dir) ) import config from replicated_value import BaseReplicatedValue from messenger import Messenger from sync_strategy...
31.836735
156
0.769231
176
1,560
6.721591
0.443182
0.020287
0.021978
0.167371
0.091293
0.091293
0.091293
0.091293
0
0
0
0
0.15
1,560
48
157
32.5
0.892157
0.107051
0
0
0
0
0.13829
0
0
0
0
0
0
1
0
false
0
0.44
0
0.52
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
ddcddfcabcf7a79f74ed73cc1ad1b78aa1ef67d8
243
py
Python
zipline/pipeline/data/equity_pricing.py
otmaneJai/Zipline
2bb87cbd23fc960af2c46d9580baf95ed454c39a
[ "Apache-2.0" ]
1
2019-03-29T01:46:35.000Z
2019-03-29T01:46:35.000Z
zipline/pipeline/data/equity_pricing.py
otmaneJai/Zipline
2bb87cbd23fc960af2c46d9580baf95ed454c39a
[ "Apache-2.0" ]
1
2021-08-09T20:43:08.000Z
2021-08-09T20:43:08.000Z
zipline/pipeline/data/equity_pricing.py
otmaneJai/Zipline
2bb87cbd23fc960af2c46d9580baf95ed454c39a
[ "Apache-2.0" ]
3
2017-08-31T12:34:13.000Z
2021-09-29T22:28:48.000Z
from numpy import float64, uint32 from .dataset import Column, DataSet class USEquityPricing(DataSet): open = Column(float64) high = Column(float64) low = Column(float64) close = Column(float64) volume = Column(uint32)
18.692308
36
0.703704
28
243
6.107143
0.5
0.304094
0
0
0
0
0
0
0
0
0
0.072917
0.209877
243
12
37
20.25
0.817708
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.25
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
ddce92c226918613a09bd9fed42d052f69e7accc
185
py
Python
hknweb/tours/urls.py
conhuang/hknweb
88af9c77b3c7e3945af545082e34d965a10a04ca
[ "MIT" ]
null
null
null
hknweb/tours/urls.py
conhuang/hknweb
88af9c77b3c7e3945af545082e34d965a10a04ca
[ "MIT" ]
null
null
null
hknweb/tours/urls.py
conhuang/hknweb
88af9c77b3c7e3945af545082e34d965a10a04ca
[ "MIT" ]
null
null
null
from django.urls import path from . import views app_name = 'tours' urlpatterns = [ path('', views.tour, name='index'), # path('confirm', views.confirm, name='confirmtour'), ]
20.555556
57
0.664865
23
185
5.304348
0.608696
0
0
0
0
0
0
0
0
0
0
0
0.167568
185
8
58
23.125
0.792208
0.275676
0
0
0
0
0.075758
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
ddee8f02e6c1d6440074ff97654f0ddd381d4944
329
py
Python
openpathsampling/storage/__init__.py
bolhuis/openpathsampling
4a12af0ee1143cdbc272b10a8c7cbea735566ce1
[ "MIT" ]
64
2016-07-06T13:38:51.000Z
2022-03-30T15:58:01.000Z
openpathsampling/storage/__init__.py
bolhuis/openpathsampling
4a12af0ee1143cdbc272b10a8c7cbea735566ce1
[ "MIT" ]
601
2016-06-13T10:22:01.000Z
2022-03-25T00:10:40.000Z
openpathsampling/storage/__init__.py
hejung/openpathsampling
e8b091c92916561954542d40d17d7241b203d1ad
[ "MIT" ]
45
2016-11-10T11:17:53.000Z
2022-02-13T11:50:26.000Z
from .distributed import DistributedUUIDStorage, TrajectoryStorage from .stores import ( MCStepStore, MoveChangeStore, SampleSetStore, SampleStore, TrajectoryStore, CVStore, PathSimulatorStore, SnapshotWrapperStore) from .storage import Storage, AnalysisStorage from .util import join_md_storage, split_md...
29.909091
66
0.823708
30
329
8.9
0.666667
0.067416
0
0
0
0
0
0
0
0
0
0
0.12766
329
10
67
32.9
0.930314
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.571429
0
0.571429
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
fb1e204efec13932ce2d268504e59e9540aca6bb
291
py
Python
beta_tcvae_typed/__init__.py
kiwi0fruit/jats-semi-supervised-pytorch
67e9bb85f09f8ef02e17e495784d1d9a71c3adec
[ "MIT" ]
null
null
null
beta_tcvae_typed/__init__.py
kiwi0fruit/jats-semi-supervised-pytorch
67e9bb85f09f8ef02e17e495784d1d9a71c3adec
[ "MIT" ]
null
null
null
beta_tcvae_typed/__init__.py
kiwi0fruit/jats-semi-supervised-pytorch
67e9bb85f09f8ef02e17e495784d1d9a71c3adec
[ "MIT" ]
null
null
null
from .functions import log_importance_weight_matrix from .distrib import Normal, Laplace, Distrib, ZeroSymmetricBimodalNormal, ZeroSymmetricBimodalNormalTwin from .beta_tc_kld import BetaTC, BetaTCKLDLoss, Verbose, XYDictStrZ, KLDLoss, PostInit, Flows from .distrib_base import test_rsample
58.2
105
0.862543
33
291
7.393939
0.757576
0.090164
0
0
0
0
0
0
0
0
0
0
0.089347
291
4
106
72.75
0.920755
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
fb217ee52763b481391125d9abe5d453d76ad879
5,077
py
Python
setup.py
twatteynelinear/dustlink_sierra
9dac02d4fdfdee240a8a9da2e6abc2d7fda3443b
[ "BSD-3-Clause" ]
4
2016-09-07T05:46:20.000Z
2020-05-31T21:34:27.000Z
setup.py
twatteynelinear/dustlink_sierra
9dac02d4fdfdee240a8a9da2e6abc2d7fda3443b
[ "BSD-3-Clause" ]
null
null
null
setup.py
twatteynelinear/dustlink_sierra
9dac02d4fdfdee240a8a9da2e6abc2d7fda3443b
[ "BSD-3-Clause" ]
6
2015-01-22T10:14:24.000Z
2020-05-31T21:34:30.000Z
# use distutils because it's easier to specify what's included from distutils.core import setup try: import py2exe except ImportError: pass # Grab the current version from the version file import glob import os import sys # edit the path to what the binaries expect sys.path.append(os.path.join('SmartMeshSDK')...
32.544872
107
0.53634
472
5,077
5.75
0.245763
0.123803
0.221076
0.185704
0.509948
0.429993
0.356669
0.224392
0.188283
0.128592
0
0.003071
0.294465
5,077
155
108
32.754839
0.754606
0.041954
0
0.1875
0
0
0.45069
0.293803
0
0
0
0
0
1
0
true
0.006944
0.048611
0
0.048611
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
fb2c79aac33d16bde7c62a4dc11dfe00ffc7cc30
118
py
Python
P03/ex03_input.py
ChanganXLTZ/project_test
b6aa323de105beb6281045bf7b89ed3857ed3d9f
[ "CNRI-Python" ]
1
2018-09-16T13:51:06.000Z
2018-09-16T13:51:06.000Z
P03/ex03_input.py
ChanganXLTZ/project_test
b6aa323de105beb6281045bf7b89ed3857ed3d9f
[ "CNRI-Python" ]
null
null
null
P03/ex03_input.py
ChanganXLTZ/project_test
b6aa323de105beb6281045bf7b89ed3857ed3d9f
[ "CNRI-Python" ]
null
null
null
#-*- coding:UTF-8 -*- #!/usr/bin/env python3 str = input('请输入一个数字') print('您输入了:',str) input("\n输入 Enter 退出。")
16.857143
24
0.576271
17
118
4
0.882353
0.235294
0
0
0
0
0
0
0
0
0
0.020202
0.161017
118
6
25
19.666667
0.666667
0.347458
0
0
0
0
0.376812
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
fb2e4418bcc2a5970c5ccd6d7f32e198b1d82399
52
py
Python
mainpage/__init__.py
96tm/warehouse-management-test
61b134a05d5a37d6bfbec061d7673eebaeeb9676
[ "MIT" ]
1
2022-02-19T03:21:39.000Z
2022-02-19T03:21:39.000Z
mainpage/__init__.py
96tm/warehouse-management-test
61b134a05d5a37d6bfbec061d7673eebaeeb9676
[ "MIT" ]
22
2020-01-30T12:45:23.000Z
2022-03-12T00:42:00.000Z
mainpage/__init__.py
96tm/warehouse-management-test
61b134a05d5a37d6bfbec061d7673eebaeeb9676
[ "MIT" ]
12
2020-01-23T06:48:18.000Z
2020-03-06T07:09:16.000Z
default_app_config = 'mainpage.apps.MainPageConfig'
26
51
0.846154
6
52
7
1
0
0
0
0
0
0
0
0
0
0
0
0.057692
52
1
52
52
0.857143
0
0
0
0
0
0.538462
0.538462
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
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
348aae87de1540c3c89f8e436834f090b836e7cd
3,436
py
Python
test/test_andor_tree.py
tos-kamiya/agoat
594b60c01012ea73eebc0d5f63a3c707d7c8f111
[ "MIT" ]
1
2018-10-29T12:54:23.000Z
2018-10-29T12:54:23.000Z
test/test_andor_tree.py
tos-kamiya/agoat
594b60c01012ea73eebc0d5f63a3c707d7c8f111
[ "MIT" ]
null
null
null
test/test_andor_tree.py
tos-kamiya/agoat
594b60c01012ea73eebc0d5f63a3c707d7c8f111
[ "MIT" ]
null
null
null
# coding: utf-8 import unittest import sys import os.path sys.path.insert( 0, os.path.join(os.path.dirname(os.path.abspath(__file__)), '..', 'src')) import agoat.andor_tree as at SameAsInput = object() class AndOrTreeTest(unittest.TestCase): def normalize_testing(self, input_tree, expected=SameAsInput): ...
39.953488
91
0.625728
453
3,436
4.439294
0.134658
0.237195
0.153158
0.284436
0.721532
0.703133
0.67827
0.624068
0.522626
0.393337
0
0.006667
0.214203
3,436
85
92
40.423529
0.738148
0.016298
0
0.227273
0
0
0.018359
0
0
0
0
0
0.030303
1
0.151515
false
0
0.060606
0
0.227273
0
0
0
0
null
1
0
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
349ab7a243c502a0ef8b32a231afa50364c798a7
94
py
Python
python_api/apps.py
IdreesSamadi/simple-python-rest-api
567ab7e010548d101d3532d23ce85fbc1af9d0e8
[ "Apache-2.0" ]
null
null
null
python_api/apps.py
IdreesSamadi/simple-python-rest-api
567ab7e010548d101d3532d23ce85fbc1af9d0e8
[ "Apache-2.0" ]
null
null
null
python_api/apps.py
IdreesSamadi/simple-python-rest-api
567ab7e010548d101d3532d23ce85fbc1af9d0e8
[ "Apache-2.0" ]
null
null
null
from django.apps import AppConfig class PythonApiConfig(AppConfig): name = 'python_api'
15.666667
33
0.765957
11
94
6.454545
0.909091
0
0
0
0
0
0
0
0
0
0
0
0.159574
94
5
34
18.8
0.898734
0
0
0
0
0
0.106383
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
34bbd70ae858cc46f796e0e700d8a1fbc78af2b0
1,621
py
Python
Program/common/monitoring/monitor_message.py
AntonPashkowskiy/Tars
07cf1a7eb466c763ffb7ab46cd173d76067fe9d3
[ "MIT" ]
null
null
null
Program/common/monitoring/monitor_message.py
AntonPashkowskiy/Tars
07cf1a7eb466c763ffb7ab46cd173d76067fe9d3
[ "MIT" ]
null
null
null
Program/common/monitoring/monitor_message.py
AntonPashkowskiy/Tars
07cf1a7eb466c763ffb7ab46cd173d76067fe9d3
[ "MIT" ]
null
null
null
#!/usr/bin/python3 delimeter = " : " class MonitorMessage: def __init__(self): self._target_directory = "" self._target_file = "" self._additional_information = "" self._event_type = 0 def __repr__(self): return self.__combine_message() def __str__(self): r...
24.938462
127
0.673658
177
1,621
5.734463
0.19774
0.078818
0.082759
0.04532
0.175369
0.175369
0.114286
0.114286
0.114286
0
0
0.001634
0.244911
1,621
65
128
24.938462
0.827614
0.010487
0
0.133333
0
0
0.00187
0
0
0
0
0
0
1
0.288889
false
0
0
0.155556
0.511111
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
34c6870bbe19ab06078be875f0db84a7c2a8f2c8
1,354
py
Python
apiv2/search_indexes.py
deka108/meas_deka
9646b04b878f325ade0a59e41bfcb10ab962d753
[ "Apache-2.0" ]
null
null
null
apiv2/search_indexes.py
deka108/meas_deka
9646b04b878f325ade0a59e41bfcb10ab962d753
[ "Apache-2.0" ]
1
2018-06-19T16:27:31.000Z
2018-06-21T02:57:03.000Z
apiv2/search_indexes.py
deka108/mathqa-server
9646b04b878f325ade0a59e41bfcb10ab962d753
[ "Apache-2.0" ]
null
null
null
from haystack import indexes from haystack.fields import CharField, IntegerField, BooleanField, \ MultiValueField from apiv2.models import Question class QuestionIndex(indexes.SearchIndex, indexes.Indexable): text = CharField(document=True) id = CharField(model_attr='id') question_type = CharField(mo...
33.02439
73
0.717873
156
1,354
6.025641
0.352564
0.124468
0.210638
0.046809
0
0
0
0
0
0
0
0.000902
0.180945
1,354
41
74
33.02439
0.846709
0
0
0
0
0
0.089299
0
0
0
0
0
0
1
0.137931
false
0
0.103448
0.137931
0.965517
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
3
5500383af825bac84a6e14d48e8db2fade142606
38
py
Python
sstcam_sandbox/d201202_tutorial_material/__init__.py
watsonjj/CHECLabPySB
91330d3a6f510a392f635bd7f4abd2f77871322c
[ "BSD-3-Clause" ]
null
null
null
sstcam_sandbox/d201202_tutorial_material/__init__.py
watsonjj/CHECLabPySB
91330d3a6f510a392f635bd7f4abd2f77871322c
[ "BSD-3-Clause" ]
null
null
null
sstcam_sandbox/d201202_tutorial_material/__init__.py
watsonjj/CHECLabPySB
91330d3a6f510a392f635bd7f4abd2f77871322c
[ "BSD-3-Clause" ]
1
2021-03-30T09:46:56.000Z
2021-03-30T09:46:56.000Z
poi = 4 nsb = 0 matched_voltage = 100
9.5
21
0.684211
7
38
3.571429
1
0
0
0
0
0
0
0
0
0
0
0.172414
0.236842
38
3
22
12.666667
0.689655
0
0
0
0
0
0
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
55025b6c3c97b247e2c55aaa9e80083debb1689a
170
py
Python
linux_academy/lambda_deep_dive/lambda_function.py
tanalam2411/aws
9eddf23479a88e243da200d38b7dc5d90baad3d5
[ "MIT" ]
null
null
null
linux_academy/lambda_deep_dive/lambda_function.py
tanalam2411/aws
9eddf23479a88e243da200d38b7dc5d90baad3d5
[ "MIT" ]
null
null
null
linux_academy/lambda_deep_dive/lambda_function.py
tanalam2411/aws
9eddf23479a88e243da200d38b7dc5d90baad3d5
[ "MIT" ]
null
null
null
def lambda_handler(event, context): """ :param event: :param context: :return: """ print(event) print("*"*20) print(context) return
13.076923
35
0.541176
17
170
5.352941
0.529412
0.285714
0
0
0
0
0
0
0
0
0
0.016949
0.305882
170
12
36
14.166667
0.754237
0.223529
0
0
0
0
0.009434
0
0
0
0
0
0
1
0.2
false
0
0
0
0.4
0.6
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
550e0576c73ee43584c9ae77908d21a37bc0ede8
657
py
Python
app/migrations/versions/4e94c0b08ed_.py
SchrodingersCat00/Haldis
09c65e2bcc320a935b5b130b5086b52c2a55aa78
[ "MIT" ]
null
null
null
app/migrations/versions/4e94c0b08ed_.py
SchrodingersCat00/Haldis
09c65e2bcc320a935b5b130b5086b52c2a55aa78
[ "MIT" ]
null
null
null
app/migrations/versions/4e94c0b08ed_.py
SchrodingersCat00/Haldis
09c65e2bcc320a935b5b130b5086b52c2a55aa78
[ "MIT" ]
null
null
null
"""Add extra message Revision ID: 4e94c0b08ed Revises: 42709384216 Create Date: 2015-06-24 21:42:41.466973 """ # revision identifiers, used by Alembic. revision = '4e94c0b08ed' down_revision = '42709384216' from alembic import op import sqlalchemy as sa from sqlalchemy.dialects import mysql def upgrade(): ### ...
24.333333
89
0.707763
84
657
5.47619
0.571429
0.058696
0.091304
0.1
0.191304
0.191304
0.191304
0.191304
0
0
0
0.103825
0.164384
657
26
90
25.269231
0.734062
0.445967
0
0
0
0
0.1571
0
0
0
0
0
0
1
0.222222
false
0
0.333333
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
0
1
0
1
0
0
3
5519578af8d8241a5af2dde3b024d1ac92702189
108
py
Python
mds/authent/apps.py
Polyconseil/django-mds
964655d3f17d51e74e67ae4c7b62b446435b5506
[ "MIT" ]
15
2019-01-02T13:44:29.000Z
2020-09-03T16:39:46.000Z
mds/authent/apps.py
Polyconseil/django-mds
964655d3f17d51e74e67ae4c7b62b446435b5506
[ "MIT" ]
44
2018-11-30T11:04:03.000Z
2020-01-21T17:21:39.000Z
mds/authent/apps.py
Polyconseil/midas
964655d3f17d51e74e67ae4c7b62b446435b5506
[ "MIT" ]
5
2019-04-23T16:22:49.000Z
2021-03-21T07:45:38.000Z
from django.apps import AppConfig class Config(AppConfig): name = "mds.authent" label = "authent"
15.428571
33
0.694444
13
108
5.769231
0.846154
0
0
0
0
0
0
0
0
0
0
0
0.203704
108
6
34
18
0.872093
0
0
0
0
0
0.166667
0
0
0
0
0
0
1
0
false
0
0.25
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
5523d8d69fc65d0dc9dc789c576a94b53dea5909
245
py
Python
CAcst2miBuf.py
dax2367/NuclearPowerPlantsShorelineEarthquakesOhMy
cabc37873308cd4256b2d61c3756befdd5b19bc6
[ "MIT" ]
null
null
null
CAcst2miBuf.py
dax2367/NuclearPowerPlantsShorelineEarthquakesOhMy
cabc37873308cd4256b2d61c3756befdd5b19bc6
[ "MIT" ]
null
null
null
CAcst2miBuf.py
dax2367/NuclearPowerPlantsShorelineEarthquakesOhMy
cabc37873308cd4256b2d61c3756befdd5b19bc6
[ "MIT" ]
null
null
null
#Clips US coast 2mi buffer to include only 200mi buffer of CA nuc reactors #Takes at least 6min to execute import arcpy arcpy.env.workspace = "C:/CapStnPrj/CapTest/CapTest.mdb" arcpy.Clip_analysis("US2mi_Buffer","Npp200miBuf", "CAcst2miBuf")
49
75
0.783673
37
245
5.135135
0.837838
0
0
0
0
0
0
0
0
0
0
0.046512
0.122449
245
5
76
49
0.837209
0.420408
0
0
0
0
0.481752
0.233577
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
9b5ecd428a8c9ddb59081a94081dcb2050f43fb4
20
py
Python
django_hide/__init__.py
metemaddar/django_hide
9aeb7d9d0766a5fb25439af98d43a623f5292ee2
[ "MIT" ]
4
2021-01-07T10:45:15.000Z
2022-02-20T09:30:39.000Z
django_hide/__init__.py
Fatiima-Ezzahra/django_hide
e9b5e388a771d533963ebb6dfb1a58c036b0ec10
[ "MIT" ]
null
null
null
django_hide/__init__.py
Fatiima-Ezzahra/django_hide
e9b5e388a771d533963ebb6dfb1a58c036b0ec10
[ "MIT" ]
3
2021-01-07T13:01:31.000Z
2021-11-30T12:57:09.000Z
name = "django_hide"
20
20
0.75
3
20
4.666667
1
0
0
0
0
0
0
0
0
0
0
0
0.1
20
1
20
20
0.777778
0
0
0
0
0
0.52381
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
9b6043d7947c6c2d4104e1e5d9098eb372739eaa
1,562
py
Python
pytoolkit/schedules_test.py
ak110/pytoolk
8eef7e0add7bbc0ced1f1f1d82ed245388cc6684
[ "MIT" ]
26
2018-12-03T23:02:56.000Z
2020-08-07T06:33:21.000Z
pytoolkit/schedules_test.py
ak110/pytoolk
8eef7e0add7bbc0ced1f1f1d82ed245388cc6684
[ "MIT" ]
null
null
null
pytoolkit/schedules_test.py
ak110/pytoolk
8eef7e0add7bbc0ced1f1f1d82ed245388cc6684
[ "MIT" ]
5
2019-08-10T11:10:59.000Z
2020-11-18T02:39:37.000Z
import pytest import pytoolkit as tk def test_CosineAnnealing(): s = tk.schedules.CosineAnnealing(0.1, decay_steps=100, warmup_steps=10) assert s(0).numpy() == pytest.approx(0.01) # start assert s(4).numpy() == pytest.approx(0.05) # linear 0.5 assert s(9).numpy() == pytest.approx(0.1) # linear 1.0...
42.216216
76
0.606914
264
1,562
3.556818
0.151515
0.15655
0.380192
0.402556
0.702875
0.680511
0.657082
0.499468
0.440895
0.440895
0
0.129007
0.181178
1,562
36
77
43.388889
0.60516
0.039053
0
0.448276
0
0
0
0
0
0
0
0
0.724138
1
0.103448
false
0
0.068966
0
0.172414
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
1
0
0
0
0
0
0
0
0
0
3
9b7373ec7e388383131cf1ed31e91dd344e2b9c9
2,297
py
Python
examples/hdc1080.py
OdinsHat/cjmcu-8128-sensor-breakout
870edb8c9e5739e9054e590fd5274759eb135f25
[ "BSD-3-Clause" ]
2
2019-03-26T23:21:20.000Z
2021-09-10T15:15:25.000Z
examples/hdc1080.py
OdinsHat/cjmcu-8128-sensor-breakout
870edb8c9e5739e9054e590fd5274759eb135f25
[ "BSD-3-Clause" ]
null
null
null
examples/hdc1080.py
OdinsHat/cjmcu-8128-sensor-breakout
870edb8c9e5739e9054e590fd5274759eb135f25
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python """Example script to show usage of HDC1080 module on CJMCU board """ import sys import time import datetime import SDL_Pi_HDC1000 # Main Program print "" print "Test SDL_Pi_HDC1000 Version 1.1 - SwitchDoc Labs" print "" print "Sample uses 0x40 and SwitchDoc HDC1000 Breakout board " pr...
34.283582
92
0.759251
268
2,297
6.38806
0.313433
0.017523
0.058411
0.122664
0.626752
0.626752
0.626752
0.626752
0.626752
0.626752
0
0.080201
0.131476
2,297
66
93
34.80303
0.777945
0.16195
0
0.4
0
0
0.324647
0
0
0
0.002172
0
0
0
null
null
0
0.1
null
null
0.675
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
1
0
3
9b9ee5fbc32ef7f9712a68b4a76ef0404d38a38c
4,848
py
Python
test/schema_beam.py
StefanBruens/pybeam
5b7e79e2cc48265c71cb77e3ec0eae97676509fa
[ "MIT" ]
null
null
null
test/schema_beam.py
StefanBruens/pybeam
5b7e79e2cc48265c71cb77e3ec0eae97676509fa
[ "MIT" ]
null
null
null
test/schema_beam.py
StefanBruens/pybeam
5b7e79e2cc48265c71cb77e3ec0eae97676509fa
[ "MIT" ]
null
null
null
# # Copyright (c) 2013 Matwey V. Kornilov <matwey.kornilov@gmail.com> # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, ...
67.333333
1,588
0.743193
874
4,848
4.09611
0.29405
0.216201
0.178492
0.070391
0.344413
0.306145
0.288547
0.21648
0.21648
0.215642
0
0.188777
0.081064
4,848
71
1,589
68.28169
0.614815
0.224216
0
0.255319
0
0.06383
0.228732
0.170412
0
0
0
0
0.468085
1
0.170213
false
0.021277
0.085106
0
0.276596
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
3
9ba2a4822f1f5cad2a0bac7ff9ffd97f151e6674
136
py
Python
src/usermanagement/apps.py
martsime/DSSCDB
6631110c1bb477d45eab9c15324826958cd61ed6
[ "AFL-3.0" ]
7
2018-04-05T08:33:17.000Z
2021-02-11T16:40:04.000Z
src/usermanagement/apps.py
Simensen-Hambro/DSSCDB
6631110c1bb477d45eab9c15324826958cd61ed6
[ "AFL-3.0" ]
1
2017-04-21T20:24:03.000Z
2017-04-21T20:24:03.000Z
src/usermanagement/apps.py
martsime/DSSCDB
6631110c1bb477d45eab9c15324826958cd61ed6
[ "AFL-3.0" ]
2
2018-06-14T00:34:50.000Z
2018-12-17T20:06:48.000Z
from django.apps import AppConfig class UserManagementConfig(AppConfig): name = 'usermanagement' verbose_name = 'Manage users'
22.666667
38
0.764706
14
136
7.357143
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.161765
136
6
39
22.666667
0.903509
0
0
0
0
0
0.189781
0
0
0
0
0
0
1
0
false
0
0.25
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
32ec2c504122e8e8b44ae32814e3b8380202ca17
1,818
py
Python
servo/data/servo_loc.py
neverware-mirrors/hdctools
dd7f911bb9051e615af7fcb71d921bd481f934fb
[ "BSD-3-Clause" ]
null
null
null
servo/data/servo_loc.py
neverware-mirrors/hdctools
dd7f911bb9051e615af7fcb71d921bd481f934fb
[ "BSD-3-Clause" ]
null
null
null
servo/data/servo_loc.py
neverware-mirrors/hdctools
dd7f911bb9051e615af7fcb71d921bd481f934fb
[ "BSD-3-Clause" ]
null
null
null
# Copyright (c) 2011 The Chromium OS Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. inline = """ <map> <name>adc_mux</name> <doc>valid mux values for DUT's two banks of INA219 off PCA9540 ADCs</doc> <params none="0" b...
47.842105
72
0.560506
288
1,818
3.454861
0.378472
0.144724
0.241206
0.104523
0.398995
0.288442
0.232161
0
0
0
0
0.217484
0.226073
1,818
37
73
49.135135
0.489694
0.089109
0
0.060606
0
0
0.466102
0.013923
0
0
0.046005
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
1
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
32faeec7a3af358566b720a41271758e980c796a
60
py
Python
double3/double3sdk/camera/__init__.py
CLOMING/winter2021_double
9b920baaeb3736a785a6505310b972c49b5b21e9
[ "Apache-2.0" ]
null
null
null
double3/double3sdk/camera/__init__.py
CLOMING/winter2021_double
9b920baaeb3736a785a6505310b972c49b5b21e9
[ "Apache-2.0" ]
null
null
null
double3/double3sdk/camera/__init__.py
CLOMING/winter2021_double
9b920baaeb3736a785a6505310b972c49b5b21e9
[ "Apache-2.0" ]
null
null
null
from .camera import _Camera, Template __all__ = ['camera']
15
37
0.733333
7
60
5.571429
0.714286
0
0
0
0
0
0
0
0
0
0
0
0.15
60
3
38
20
0.764706
0
0
0
0
0
0.1
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
fd0261b2a7085691ff1c1728e637d318fd1d0963
121
py
Python
Final_WeatherPy/api_keys.py
danny-delatorre/python-api-challenge
44205aaa758555611fbe99e19dc4056fecdff90d
[ "ADSL" ]
null
null
null
Final_WeatherPy/api_keys.py
danny-delatorre/python-api-challenge
44205aaa758555611fbe99e19dc4056fecdff90d
[ "ADSL" ]
null
null
null
Final_WeatherPy/api_keys.py
danny-delatorre/python-api-challenge
44205aaa758555611fbe99e19dc4056fecdff90d
[ "ADSL" ]
null
null
null
# OpenWeatherMap API Key weather_api_key = "86e091696d04e4636555f97b1ff31889" # Google API Key g_key = "YOUR KEY HERE!"
20.166667
52
0.785124
15
121
6.133333
0.6
0.195652
0
0
0
0
0
0
0
0
0
0.240385
0.140496
121
5
53
24.2
0.644231
0.305785
0
0
0
0
0.567901
0.395062
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
1
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
fd07dd518d246de18a118ffe51149e1eaa2f261e
225
py
Python
bruhat/dev/sage_coxeter.py
punkdit/bruhat
3231eacc49fd3464542f7eb72684751371d9876c
[ "MIT" ]
3
2020-04-07T13:21:30.000Z
2020-07-15T02:07:20.000Z
bruhat/dev/sage_coxeter.py
punkdit/bruhat
3231eacc49fd3464542f7eb72684751371d9876c
[ "MIT" ]
null
null
null
bruhat/dev/sage_coxeter.py
punkdit/bruhat
3231eacc49fd3464542f7eb72684751371d9876c
[ "MIT" ]
null
null
null
#!/usr/bin/env python2 from __future__ import print_function from bruhat.dev.sage_env import * #from bruhat.argv import argv #d = argv.get("d", 2) # qudit dimension from sage.categories.weyl_groups import WeylGroup
13.235294
49
0.751111
34
225
4.764706
0.647059
0.123457
0
0
0
0
0
0
0
0
0
0.010526
0.155556
225
16
50
14.0625
0.842105
0.382222
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0.333333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
fd0939f0dee2d8e924fe2287c8128f6650104080
129
py
Python
run.py
arkavo/Band-Optimizer
1e3a34e6be6564c70fa6d795b201d4eb4c744810
[ "Apache-2.0" ]
1
2022-03-29T09:09:41.000Z
2022-03-29T09:09:41.000Z
run.py
arkavo/Band-Optimizer
1e3a34e6be6564c70fa6d795b201d4eb4c744810
[ "Apache-2.0" ]
null
null
null
run.py
arkavo/Band-Optimizer
1e3a34e6be6564c70fa6d795b201d4eb4c744810
[ "Apache-2.0" ]
null
null
null
import subprocess as sp import os import json a = os.popen("grep ! Sn11_12_4_scf.out").read() a=a.split(" ") print(a[-2])
18.428571
48
0.651163
24
129
3.375
0.75
0
0
0
0
0
0
0
0
0
0
0.056604
0.178295
129
7
49
18.428571
0.707547
0
0
0
0
0
0.201613
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0.166667
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
b5c3c1ea992d9e50c0b814e0fe9472c979dbeae1
564
py
Python
Settings.py
Vambok/Tanook-Lebot
07f31035de29b9f711f36685330bfed34c3214b9
[ "CC0-1.0" ]
null
null
null
Settings.py
Vambok/Tanook-Lebot
07f31035de29b9f711f36685330bfed34c3214b9
[ "CC0-1.0" ]
null
null
null
Settings.py
Vambok/Tanook-Lebot
07f31035de29b9f711f36685330bfed34c3214b9
[ "CC0-1.0" ]
null
null
null
VERSION="1.8.2" HOST="irc.twitch.tv" PORT=6667 PASS="oauth:vpjvbm9kpvglh1i3j16d73qrwaaen5" NICK="tanook_lebot" CHANNEL="tanook_leduc" MBALL=["Seule Faiscla connait la vérité","Essaye plus tard","Essaye encore","Pas d'avis","C'est ton destin","Le sort en est jeté","Une chance sur deux","Repose ta question","D'aprè...
62.666667
384
0.730496
89
564
4.58427
0.831461
0.039216
0.034314
0
0
0
0
0
0
0
0
0.033268
0.093972
564
9
385
62.666667
0.765166
0
0
0
0
0
0.725314
0.064632
0
0
0
0
0
1
0
false
0.111111
0
0
0
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
1
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
b5cb71b4134eb0ca3e6bfe8438fe77cee2bc0333
8,375
py
Python
test/test_db_interface.py
fabianHAW/exploit_analyzer
2bcd5ae664f1c6f3033a6318fc7841893c070378
[ "MIT" ]
null
null
null
test/test_db_interface.py
fabianHAW/exploit_analyzer
2bcd5ae664f1c6f3033a6318fc7841893c070378
[ "MIT" ]
null
null
null
test/test_db_interface.py
fabianHAW/exploit_analyzer
2bcd5ae664f1c6f3033a6318fc7841893c070378
[ "MIT" ]
null
null
null
import mock from bson.errors import InvalidStringData class TestDatabaseInterface(object): def test_get_all_exploits(self, db_instance): exploits = db_instance.get_all_exploits() assert len(exploits) == 2 assert exploits[0]['id'] == 1 assert exploits[0]['file'] == 'file1.c' ...
35.638298
79
0.584716
1,121
8,375
4.033006
0.090098
0.108383
0.055961
0.079628
0.803583
0.74541
0.710462
0.658925
0.639239
0.577527
0
0.063585
0.284537
8,375
234
80
35.790598
0.690921
0.012537
0
0.494737
0
0
0.111528
0
0
0
0
0
0.342105
1
0.057895
false
0
0.010526
0
0.078947
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
b5cff6b4ff10ce3cff0f7617dd78c45568359dd7
87
py
Python
m1connector/__init__.py
KeeganVG/M1Connector
267e0e6bd7c0267a0cdff6a4ee8bc9799817a05a
[ "MIT" ]
null
null
null
m1connector/__init__.py
KeeganVG/M1Connector
267e0e6bd7c0267a0cdff6a4ee8bc9799817a05a
[ "MIT" ]
null
null
null
m1connector/__init__.py
KeeganVG/M1Connector
267e0e6bd7c0267a0cdff6a4ee8bc9799817a05a
[ "MIT" ]
null
null
null
__version__ = '0.1.0' __all__ = ["M1Connector"] from .M1Connector import M1Connector
14.5
36
0.735632
10
87
5.6
0.7
0
0
0
0
0
0
0
0
0
0
0.08
0.137931
87
5
37
17.4
0.666667
0
0
0
0
0
0.183908
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
b5df2ff9dfbe1541ec38f5c4a32bb2c960024619
215
py
Python
tests/reader/test_byte.py
CyberSaxosTiGER/duckparse
adcf14e5098d30fdc8454798a4516aa1dd7a7449
[ "MIT" ]
5
2020-11-02T23:45:11.000Z
2020-11-19T23:06:59.000Z
tests/reader/test_byte.py
CyberSaxosTiGER/duckparse
adcf14e5098d30fdc8454798a4516aa1dd7a7449
[ "MIT" ]
null
null
null
tests/reader/test_byte.py
CyberSaxosTiGER/duckparse
adcf14e5098d30fdc8454798a4516aa1dd7a7449
[ "MIT" ]
null
null
null
from io import BytesIO from duckparse.reader import Reader def test_read_byte(): data = Reader(BytesIO(b"\xf7\x30\x8a"),) assert b"\xf7" == data.read_bytes(1) assert b"\x30\x8a" == data.read_bytes(2)
21.5
44
0.683721
35
215
4.085714
0.542857
0.055944
0.181818
0
0
0
0
0
0
0
0
0.055866
0.167442
215
9
45
23.888889
0.743017
0
0
0
0
0
0.111628
0
0
0
0
0
0.333333
1
0.166667
false
0
0.333333
0
0.5
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
b5e64477beb352f96e9f4583f635f8590d0443a8
60
py
Python
interactions/__init__.py
Ins-V/wc_crm
5d75907bb48e892328712ed0b2cf96b9083239aa
[ "MIT" ]
null
null
null
interactions/__init__.py
Ins-V/wc_crm
5d75907bb48e892328712ed0b2cf96b9083239aa
[ "MIT" ]
null
null
null
interactions/__init__.py
Ins-V/wc_crm
5d75907bb48e892328712ed0b2cf96b9083239aa
[ "MIT" ]
null
null
null
default_app_config = 'interactions.apps.InteractionsConfig'
30
59
0.866667
6
60
8.333333
1
0
0
0
0
0
0
0
0
0
0
0
0.05
60
1
60
60
0.877193
0
0
0
0
0
0.6
0.6
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
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
b5e9ed7a9b3fbeecc1323d39508dc533ee1020f9
971
py
Python
setup.py
DesignString/django-relative-soft-deletion
6fa5c523b39384c238639cf9b7803ad886f8a40d
[ "MIT" ]
1
2020-07-09T04:56:59.000Z
2020-07-09T04:56:59.000Z
setup.py
DesignString/django-relative-soft-deletion
6fa5c523b39384c238639cf9b7803ad886f8a40d
[ "MIT" ]
null
null
null
setup.py
DesignString/django-relative-soft-deletion
6fa5c523b39384c238639cf9b7803ad886f8a40d
[ "MIT" ]
null
null
null
from setuptools import setup with open("README.md", "r") as fh: long_description = fh.read() setup( name="django-relative-softdeletion", version= "0.0.2", description="A Django models extension to add soft deletion functionality", long_description=long_description, long_description_content_type="tex...
31.322581
77
0.678682
107
971
6.093458
0.598131
0.174847
0.230061
0.199387
0
0
0
0
0
0
0
0.013784
0.178167
971
30
78
32.366667
0.803258
0
0
0
0
0
0.602472
0.051493
0
0
0
0
0
1
0
false
0
0.037037
0
0.037037
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
b5ebffe42126894c2699f91c147f63411229518e
181
py
Python
src/question_c/main.py
acc-cosc-1336-spring-2022/acc-cosc-1336-spring-2022-midterm-WillCapo
6095e33c3604add3b82f4874771ec389c661db2f
[ "MIT" ]
null
null
null
src/question_c/main.py
acc-cosc-1336-spring-2022/acc-cosc-1336-spring-2022-midterm-WillCapo
6095e33c3604add3b82f4874771ec389c661db2f
[ "MIT" ]
null
null
null
src/question_c/main.py
acc-cosc-1336-spring-2022/acc-cosc-1336-spring-2022-midterm-WillCapo
6095e33c3604add3b82f4874771ec389c661db2f
[ "MIT" ]
null
null
null
import question_c result = int(input('\nPlease enter your total sales: ')) print('\nCongratulations! You earned an extra $' + str(question_c.get_bonus_pay_amount(result)) + '!\n')
36.2
104
0.734807
26
181
4.923077
0.884615
0.140625
0
0
0
0
0
0
0
0
0
0
0.116022
181
5
104
36.2
0.8
0
0
0
0
0
0.417582
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
b5ffda9c43e95cfe89b499a8f19f53d31c8a5c5a
1,089
py
Python
blog/users/urls.py
iflyBird/blog
33dbf6345ae4ae64f726c7ce5353b7c7864351af
[ "MIT" ]
null
null
null
blog/users/urls.py
iflyBird/blog
33dbf6345ae4ae64f726c7ce5353b7c7864351af
[ "MIT" ]
null
null
null
blog/users/urls.py
iflyBird/blog
33dbf6345ae4ae64f726c7ce5353b7c7864351af
[ "MIT" ]
null
null
null
#进行users 子应用的视图路由 from django.urls import path from users.views import RegisterView from users.views import ImageCodeView from users.views import SmsCodeView from users.views import LoginView from users.views import ForgetPasswordView from users.views import LogoutView from users.views import UserCenterView from use...
33
79
0.726354
128
1,089
6.101563
0.34375
0.076825
0.115237
0.204866
0.107554
0.107554
0.107554
0
0
0
0
0.004233
0.132231
1,089
32
80
34.03125
0.822222
0.164371
0
0
0
0
0.150167
0
0
0
0
0
0
1
0
false
0.105263
0.473684
0
0.473684
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
1
0
0
0
0
3
bd0e24963bd8e8be9e1aa8f8e471138bd5be09fd
462
py
Python
main/embed/field.py
abul4fia/DotHub-DiscordBot
ccbb1c567cf7d06a9121fb7f25bab676fecf3c27
[ "MIT" ]
null
null
null
main/embed/field.py
abul4fia/DotHub-DiscordBot
ccbb1c567cf7d06a9121fb7f25bab676fecf3c27
[ "MIT" ]
null
null
null
main/embed/field.py
abul4fia/DotHub-DiscordBot
ccbb1c567cf7d06a9121fb7f25bab676fecf3c27
[ "MIT" ]
null
null
null
class Field: name: str value: str inline: bool def __init__(self, name, value, inline=False): self.name = name self.value = value self.inline = inline self._validate(name) self._validate(value) def to_dict(self): return self.__dict__ def _valid...
20.086957
61
0.582251
57
462
4.508772
0.438596
0.062257
0
0
0
0
0
0
0
0
0
0
0.333333
462
22
62
21
0.834416
0
0
0
0
0
0.064935
0
0
0
0
0
0
1
0.235294
false
0
0
0.117647
0.588235
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
bd0f0fc6b6cfce179b23e213886b3e5c18e2ae0c
920
py
Python
index/migrations/0004_auto_20191223_1228.py
figtive/attendancewebserver
090e2d47ad72f9ebfebbdb8f95699a5612bd2336
[ "IJG" ]
null
null
null
index/migrations/0004_auto_20191223_1228.py
figtive/attendancewebserver
090e2d47ad72f9ebfebbdb8f95699a5612bd2336
[ "IJG" ]
null
null
null
index/migrations/0004_auto_20191223_1228.py
figtive/attendancewebserver
090e2d47ad72f9ebfebbdb8f95699a5612bd2336
[ "IJG" ]
null
null
null
# Generated by Django 3.0.1 on 2019-12-23 05:28 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('index', '0003_auto_20191223_1125'), ] operations = [ migrations.AddField( model_name='lecturer', name='npm', ...
25.555556
62
0.542391
75
920
6.52
0.613333
0.237219
0.269939
0
0
0
0
0
0
0
0
0.05178
0.328261
920
35
63
26.285714
0.739482
0.048913
0
0.37931
1
0
0.114548
0.026346
0
0
0
0
0
1
0
false
0
0.034483
0
0.137931
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
bd1a3bc3b8103cf4af6b1db833dcb49f3a806a5f
16,894
py
Python
trax/tf_numpy/numpy/math.py
zfisher/trax
c8187944fc036418a5c3b0491fc53c223e73faa6
[ "Apache-2.0" ]
1
2020-04-19T01:40:08.000Z
2020-04-19T01:40:08.000Z
trax/tf_numpy/numpy/math.py
zfisher/trax
c8187944fc036418a5c3b0491fc53c223e73faa6
[ "Apache-2.0" ]
null
null
null
trax/tf_numpy/numpy/math.py
zfisher/trax
c8187944fc036418a5c3b0491fc53c223e73faa6
[ "Apache-2.0" ]
null
null
null
# coding=utf-8 # Copyright 2020 The Trax Authors. # # 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...
24.626822
86
0.671244
2,952
16,894
3.711043
0.135501
0.047284
0.067549
0.081059
0.466362
0.37864
0.284254
0.24126
0.212597
0.192241
0
0.024173
0.196815
16,894
685
87
24.662774
0.783182
0.244702
0
0.17233
0
0
0.010645
0
0
0
0
0.00438
0.01699
1
0.240291
false
0
0.024272
0.133495
0.526699
0.002427
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
1fbf760b79cb521d1aaf1f5cb560623388598a21
920
py
Python
problem/models.py
sumitverma007/mCodeme
8c70b6638fcd5cfeecdef0b5a21273ae2004704b
[ "MIT" ]
5
2020-06-05T06:47:11.000Z
2020-08-01T13:22:04.000Z
problem/models.py
sumitverma007/mCodeme
8c70b6638fcd5cfeecdef0b5a21273ae2004704b
[ "MIT" ]
8
2021-03-19T04:42:15.000Z
2022-03-12T00:34:16.000Z
problem/models.py
sumitverma007/mCodeme
8c70b6638fcd5cfeecdef0b5a21273ae2004704b
[ "MIT" ]
null
null
null
from django.db import models from django.contrib.auth.models import User from django.utils.timezone import now from django.contrib.auth import authenticate,login,logout # Create your models here. class probobj(models.Model): p_id=models.AutoField(primary_key=True) p_user=models.ForeignKey(User,on_delete=models....
38.333333
65
0.758696
135
920
4.97037
0.414815
0.156483
0.187779
0.250373
0.341282
0.260805
0.260805
0
0
0
0
0.025799
0.115217
920
23
66
40
0.798526
0.026087
0
0
0
0
0.022422
0
0
0
0
0
0
1
0.052632
false
0
0.210526
0.052632
1
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
1fd73a1015819edb74e52e2b99521ca73347386c
32,984
py
Python
tests/integration/base/models/test_sqlalchemy_redis_integration.py
dutradda/falcon-swagger
aaba9175817b18662194dc67091e31ec70664012
[ "MIT" ]
14
2016-11-01T17:57:09.000Z
2021-03-09T12:43:38.000Z
tests/integration/base/models/test_sqlalchemy_redis_integration.py
dutradda/falcon-swagger
aaba9175817b18662194dc67091e31ec70664012
[ "MIT" ]
1
2016-11-30T13:08:56.000Z
2017-01-16T00:13:40.000Z
tests/integration/base/models/test_sqlalchemy_redis_integration.py
dutradda/falcon-swagger
aaba9175817b18662194dc67091e31ec70664012
[ "MIT" ]
5
2016-11-01T16:24:09.000Z
2018-06-06T01:20:57.000Z
# MIT License # Copyright (c) 2016 Diogo Dutra # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, merge, pu...
33.829744
125
0.525861
3,656
32,984
4.521061
0.061269
0.043378
0.052635
0.035937
0.840281
0.791155
0.728719
0.679351
0.64281
0.596043
0
0.053882
0.328735
32,984
974
126
33.864476
0.692652
0.032228
0
0.612624
0
0
0.095069
0.001724
0
0
0
0
0.082921
1
0.089109
false
0
0.008663
0
0.205446
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
1fe0fc0acefffa70d66429a16df0659b053daacf
428
py
Python
Cursos-Extras/Python/ex032.py
talessantos49/Primeiros_Passos
7eac781fb3663c8cf71629611981d0ebd9f0216f
[ "MIT" ]
null
null
null
Cursos-Extras/Python/ex032.py
talessantos49/Primeiros_Passos
7eac781fb3663c8cf71629611981d0ebd9f0216f
[ "MIT" ]
null
null
null
Cursos-Extras/Python/ex032.py
talessantos49/Primeiros_Passos
7eac781fb3663c8cf71629611981d0ebd9f0216f
[ "MIT" ]
null
null
null
n1 = int(input('Digite o ano que deseja saber: ')) n2 = (n1 % 4) if n2 == 0: n3 = float(n1 % 100) if n3 == 0: n4 = float(n1 % 400) if n4 == 0: print('Esse ano é Bissexto! Tem 366 dias.') else: print('Esse ano não é Bissexto! (Ele tem 365 dias).') else: ...
30.571429
65
0.528037
68
428
3.323529
0.426471
0.159292
0.212389
0.225664
0.654867
0.637168
0.637168
0.637168
0.637168
0.637168
0
0.112281
0.334112
428
14
66
30.571429
0.680702
0
0
0.214286
0
0
0.435897
0
0
0
0
0
0
1
0
false
0
0
0
0
0.285714
0
0
0
null
0
1
1
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1fe496172a270d9dfb80ab8ce186b95ae7b795fe
320
py
Python
hackerrank/Algorithms/Alien Languages/test.py
ATrain951/01.python-com_Qproject
c164dd093954d006538020bdf2e59e716b24d67c
[ "MIT" ]
4
2020-07-24T01:59:50.000Z
2021-07-24T15:14:08.000Z
hackerrank/Algorithms/Alien Languages/test.py
ATrain951/01.python-com_Qproject
c164dd093954d006538020bdf2e59e716b24d67c
[ "MIT" ]
null
null
null
hackerrank/Algorithms/Alien Languages/test.py
ATrain951/01.python-com_Qproject
c164dd093954d006538020bdf2e59e716b24d67c
[ "MIT" ]
null
null
null
import unittest import solution class TestQ(unittest.TestCase): def test_case_0(self): self.assertEqual(solution.alienLanguages(1, 3), 1) self.assertEqual(solution.alienLanguages(2, 3), 3) self.assertEqual(solution.alienLanguages(3, 2), 6) if __name__ == '__main__': unittest.main()
21.333333
58
0.69375
39
320
5.435897
0.512821
0.212264
0.325472
0.523585
0
0
0
0
0
0
0
0.038314
0.184375
320
14
59
22.857143
0.773946
0
0
0
0
0
0.025
0
0
0
0
0
0.333333
1
0.111111
false
0
0.222222
0
0.444444
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
1fe9586572efefd01e28f3bcba06c93c14a3652c
404
py
Python
mkstowe/views/variegata_story.py
mkstowe/mkstowe
13a8db1e887554416be96b85ef0280d8d997a65e
[ "MIT" ]
null
null
null
mkstowe/views/variegata_story.py
mkstowe/mkstowe
13a8db1e887554416be96b85ef0280d8d997a65e
[ "MIT" ]
null
null
null
mkstowe/views/variegata_story.py
mkstowe/mkstowe
13a8db1e887554416be96b85ef0280d8d997a65e
[ "MIT" ]
null
null
null
""" Variegata story view. URLs include: /projects/variegata/story/ """ import flask import mkstowe from mkstowe.variegata.generator import generate_story @mkstowe.app.route('/projects/variegata/story/', methods=['GET', 'POST']) def story(): """Display /story/ route.""" context = {"events": generate_story.gene...
25.25
73
0.730198
48
404
6.041667
0.541667
0.193103
0.151724
0
0
0
0
0
0
0
0
0.005571
0.111386
404
15
74
26.933333
0.802228
0.210396
0
0
1
0
0.19281
0.084967
0
0
0
0
0
1
0.142857
false
0
0.428571
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
1
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
1ff50c2e8562f89d982ecd114270bb790901d97b
107
py
Python
hubconf.py
wenh18/OnDeviceNAS
d6e39500b794ddd9737ef4bc631cf4f977b47617
[ "Apache-2.0" ]
1
2022-03-24T08:20:45.000Z
2022-03-24T08:20:45.000Z
hubconf.py
wenh18/OnDeviceNAS
d6e39500b794ddd9737ef4bc631cf4f977b47617
[ "Apache-2.0" ]
null
null
null
hubconf.py
wenh18/OnDeviceNAS
d6e39500b794ddd9737ef4bc631cf4f977b47617
[ "Apache-2.0" ]
null
null
null
dependencies = ['torch'] from mytimm.models import registry globals().update(registry._model_entrypoints)
21.4
45
0.803738
12
107
7
0.916667
0
0
0
0
0
0
0
0
0
0
0
0.084112
107
4
46
26.75
0.857143
0
0
0
0
0
0.046729
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
1ffb0aa236fe534c89994122f938453eb29cd5d5
794
py
Python
tests/state_spaces/test_grid8D.py
Jan-Blaha/pedestrian-collision-metric
06863161e3a12e52a78c1bf4df0439b3f90daef6
[ "MIT" ]
null
null
null
tests/state_spaces/test_grid8D.py
Jan-Blaha/pedestrian-collision-metric
06863161e3a12e52a78c1bf4df0439b3f90daef6
[ "MIT" ]
null
null
null
tests/state_spaces/test_grid8D.py
Jan-Blaha/pedestrian-collision-metric
06863161e3a12e52a78c1bf4df0439b3f90daef6
[ "MIT" ]
null
null
null
from unittest import TestCase class TestGrid8D(TestCase): def test_get_starting_state(self): self.fail() def test_set_destination_state(self): self.fail() def test_mark_visited(self): self.fail() def test_expand(self): self.fail() def test__get_push_cost(self): ...
18.465116
48
0.627204
105
794
4.409524
0.32381
0.196544
0.336933
0.388769
0.598272
0.475162
0.112311
0
0
0
0
0.001727
0.270781
794
42
49
18.904762
0.797927
0
0
0.464286
0
0
0
0
0
0
0
0
0
1
0.464286
false
0
0.035714
0
0.535714
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
95017d6a12e3d142ebc3430e0b74b5c80befe227
1,799
py
Python
stubs.min/Autodesk/Revit/DB/__init___parts/DGNImportOptions.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/DGNImportOptions.py
hdm-dt-fb/ironpython-stubs
4d2b405eda3ceed186e8adca55dd97c332c6f49d
[ "MIT" ]
null
null
null
stubs.min/Autodesk/Revit/DB/__init___parts/DGNImportOptions.py
hdm-dt-fb/ironpython-stubs
4d2b405eda3ceed186e8adca55dd97c332c6f49d
[ "MIT" ]
null
null
null
class DGNImportOptions(BaseImportOptions,IDisposable): """ The import options used to import DGN format files. DGNImportOptions(option: DGNImportOptions) DGNImportOptions() """ def Dispose(self): """ Dispose(self: BaseImportOptions,A_0: bool) """ pass def ReleaseUnmanagedResources(self,*args):...
36.714286
215
0.725959
206
1,799
5.990291
0.373786
0.048622
0.038898
0.046191
0.177472
0.177472
0.177472
0.177472
0.177472
0.177472
0
0.000664
0.162312
1,799
48
216
37.479167
0.818182
0.344636
0
0.375
0
0
0
0
0
0
0
0
0
1
0.375
false
0.375
0.0625
0
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
1
0
0
1
0
0
3
95027d9fd95885ffc350603b3fc9dedf1b14202b
276
py
Python
python_basics/datastructure.py
tarcisioallyson/python_exercise
be5257c5cce7c0c2b573ece2308e3b5b03c22fac
[ "Unlicense" ]
null
null
null
python_basics/datastructure.py
tarcisioallyson/python_exercise
be5257c5cce7c0c2b573ece2308e3b5b03c22fac
[ "Unlicense" ]
null
null
null
python_basics/datastructure.py
tarcisioallyson/python_exercise
be5257c5cce7c0c2b573ece2308e3b5b03c22fac
[ "Unlicense" ]
null
null
null
def datastructure(): name = input('What\'s your name? ') password = input('Digit your password: ') password_length = len(password) hidden_password = '*' * password_length print( f'{name}, your password {hidden_password} is {password_length} letters long' )
27.6
82
0.684783
33
276
5.575758
0.515152
0.228261
0.23913
0
0
0
0
0
0
0
0
0
0.184783
276
10
83
27.6
0.817778
0
0
0
0
0
0.361011
0
0
0
0
0
0
1
0.125
false
0.5
0
0
0.125
0.125
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
95046835278ef365813856a135156d6d58640289
111
py
Python
Python/Math/Find_Angle_MBC.py
jaswal72/hacker-rank
95aaa71b4636928664341dc9c6f75d69af5f26ac
[ "MIT" ]
1
2017-03-27T18:21:38.000Z
2017-03-27T18:21:38.000Z
Python/Math/Find_Angle_MBC.py
jaswal72/hacker-rank
95aaa71b4636928664341dc9c6f75d69af5f26ac
[ "MIT" ]
null
null
null
Python/Math/Find_Angle_MBC.py
jaswal72/hacker-rank
95aaa71b4636928664341dc9c6f75d69af5f26ac
[ "MIT" ]
null
null
null
import math AB = int(input()) BC = int(input()) print (str(int(round(math.degrees(math.atan2(AB,BC)))))+'°')
27.75
60
0.630631
19
111
3.736842
0.631579
0.225352
0
0
0
0
0
0
0
0
0
0.010101
0.108108
111
4
60
27.75
0.69697
0
0
0
0
0
0.008929
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.25
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
1f0320f9d8ea58a2210d3cdd9b0cfa7d2d178e49
305
py
Python
Reader/rasp_reader_v2/firebase.py
BlaCkinkGJ/No-Waiting
58dc5e6d7c2140c51e402bee7460196eaf8f29e9
[ "MIT" ]
null
null
null
Reader/rasp_reader_v2/firebase.py
BlaCkinkGJ/No-Waiting
58dc5e6d7c2140c51e402bee7460196eaf8f29e9
[ "MIT" ]
null
null
null
Reader/rasp_reader_v2/firebase.py
BlaCkinkGJ/No-Waiting
58dc5e6d7c2140c51e402bee7460196eaf8f29e9
[ "MIT" ]
1
2018-08-06T07:12:03.000Z
2018-08-06T07:12:03.000Z
import pyrebase # REST API class Firebase: def __init__(self, config_dict): self.config = config_dict self.firebase = pyrebase.initialize_app(self.config) self.db = self.firebase.database() def getChild(self, child_name): return self.db.child(child_name)
27.727273
60
0.665574
38
305
5.105263
0.5
0.154639
0.14433
0
0
0
0
0
0
0
0
0
0.242623
305
10
61
30.5
0.839827
0.02623
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
1f2460e1f6a8c9e7c7cf05893c233e7904a11c53
562
py
Python
src/jbdl/rbdl/math/x_roty.py
yz-mao/jbdl
a5380233b3795c8aaa9acd9e5c07fa44f8a5dadb
[ "MIT" ]
21
2021-08-29T06:59:18.000Z
2022-01-13T22:53:02.000Z
src/jbdl/rbdl/math/x_roty.py
yz-mao/jbdl
a5380233b3795c8aaa9acd9e5c07fa44f8a5dadb
[ "MIT" ]
2
2021-08-31T08:34:09.000Z
2021-09-06T07:40:51.000Z
src/jbdl/rbdl/math/x_roty.py
yz-mao/jbdl
a5380233b3795c8aaa9acd9e5c07fa44f8a5dadb
[ "MIT" ]
4
2021-08-29T06:59:22.000Z
2021-10-04T05:59:41.000Z
import jax.numpy as jnp from jax.api import jit @jit def x_roty(theta): c = jnp.cos(theta) s = jnp.sin(theta) x = jnp.array([[c, 0.0, -s, 0.0, 0.0, 0.0], [0.0, 1.0, 0.0, 0.0, 0.0, 0.0], [s, 0.0, c, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, c, 0.0, -s], ...
25.545455
49
0.451957
114
562
2.114035
0.245614
0.373444
0.448133
0.514523
0.26556
0.26556
0.26556
0.26556
0.26556
0.26556
0
0.152174
0.345196
562
21
50
26.761905
0.502717
0
0
0
0
0
0.014235
0
0
0
0
0
0
1
0.055556
false
0
0.222222
0
0.333333
0.111111
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
1f392b7489d25fe5ab86f832d06ee0839480d973
220
py
Python
0801-0900/0884-Uncommon Words from Two Sentences/0884-Uncommon Words from Two Sentences.py
jiadaizhao/LeetCode
4ddea0a532fe7c5d053ffbd6870174ec99fc2d60
[ "MIT" ]
49
2018-05-05T02:53:10.000Z
2022-03-30T12:08:09.000Z
0801-0900/0884-Uncommon Words from Two Sentences/0884-Uncommon Words from Two Sentences.py
jolly-fellow/LeetCode
ab20b3ec137ed05fad1edda1c30db04ab355486f
[ "MIT" ]
11
2017-12-15T22:31:44.000Z
2020-10-02T12:42:49.000Z
0801-0900/0884-Uncommon Words from Two Sentences/0884-Uncommon Words from Two Sentences.py
jolly-fellow/LeetCode
ab20b3ec137ed05fad1edda1c30db04ab355486f
[ "MIT" ]
28
2017-12-05T10:56:51.000Z
2022-01-26T18:18:27.000Z
import collections class Solution: def uncommonFromSentences(self, A: str, B: str) -> List[str]: table = collections.Counter((A + ' ' + B).split()) return [word for word in table if table[word] == 1]
36.666667
65
0.631818
29
220
4.793103
0.689655
0
0
0
0
0
0
0
0
0
0
0.005882
0.227273
220
5
66
44
0.811765
0
0
0
0
0
0.004545
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.8
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
1f39a5753e298fdbbd60808f18bc3c42ca668bde
136
py
Python
norsu/exceptions.py
Valeria1235/norsu
7723b61063fa97e62fc9083e9bb754a7c2a87a5e
[ "MIT" ]
7
2018-05-21T18:34:43.000Z
2021-06-30T03:33:01.000Z
norsu/exceptions.py
Valeria1235/norsu
7723b61063fa97e62fc9083e9bb754a7c2a87a5e
[ "MIT" ]
1
2018-09-19T11:48:38.000Z
2018-09-26T17:20:56.000Z
norsu/exceptions.py
Valeria1235/norsu
7723b61063fa97e62fc9083e9bb754a7c2a87a5e
[ "MIT" ]
3
2018-05-24T14:14:00.000Z
2019-12-25T15:51:26.000Z
class Error(Exception): def __init__(self, message='', stderr=None): super().__init__(message) self.stderr = stderr
27.2
48
0.639706
15
136
5.266667
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.220588
136
4
49
34
0.745283
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
1f3b87c1ceff363cb6d1f296f35cbe9ff19ad6ea
264
py
Python
server/falcon/urls.py
istommao/falcon-web
688fb41dd51d8933395129b3e04a27ad20e111c8
[ "MIT" ]
null
null
null
server/falcon/urls.py
istommao/falcon-web
688fb41dd51d8933395129b3e04a27ad20e111c8
[ "MIT" ]
null
null
null
server/falcon/urls.py
istommao/falcon-web
688fb41dd51d8933395129b3e04a27ad20e111c8
[ "MIT" ]
null
null
null
"""falcon urls.""" """info urls module.""" from extensions.utils import generate_urlpatterns from falcon import views URLS = [ ('^$', views.IndexView), ('^login/$', views.LoginPageView) ] # pylint: disable=C0103 urlpatterns = generate_urlpatterns(URLS)
18.857143
49
0.69697
28
264
6.5
0.607143
0.208791
0
0
0
0
0
0
0
0
0
0.017699
0.143939
264
13
50
20.307692
0.787611
0.132576
0
0
1
0
0.05
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1f3caa9171acab0566ef3f39290aa89e221269d9
71
py
Python
Python/Built-Ins/Input().py
pavstar619/HackerRank
697ee46b6e621ad884a064047461d7707b1413cd
[ "MIT" ]
61
2017-04-27T13:45:12.000Z
2022-01-27T11:40:15.000Z
Python/Built-Ins/Input().py
fahad0193/HackerRank
eb6c95e16688c02921c1df6b6ea613667a251457
[ "MIT" ]
1
2017-06-24T14:16:06.000Z
2017-06-24T14:16:28.000Z
Python/Built-Ins/Input().py
fahad0193/HackerRank
eb6c95e16688c02921c1df6b6ea613667a251457
[ "MIT" ]
78
2017-07-05T11:48:20.000Z
2022-02-08T08:04:22.000Z
li = input().split() x = int(li[0]) print(eval(input()) == int(li[1]))
17.75
34
0.549296
13
71
3
0.692308
0.25641
0
0
0
0
0
0
0
0
0
0.032258
0.126761
71
3
35
23.666667
0.596774
0
0
0
0
0
0
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
1f427612d1a3dd205b8ef65b1c6489a17057a7a7
33
py
Python
mutators.py
Michael-F-Bryan/password_generator
0219226ec2d4a939e0fb96f60ac8a6fd4d9f40b2
[ "MIT" ]
null
null
null
mutators.py
Michael-F-Bryan/password_generator
0219226ec2d4a939e0fb96f60ac8a6fd4d9f40b2
[ "MIT" ]
null
null
null
mutators.py
Michael-F-Bryan/password_generator
0219226ec2d4a939e0fb96f60ac8a6fd4d9f40b2
[ "MIT" ]
null
null
null
__all__ = ["titler", "up_case"]
11
31
0.606061
4
33
3.75
1
0
0
0
0
0
0
0
0
0
0
0
0.151515
33
2
32
16.5
0.535714
0
0
0
0
0
0.40625
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
1f600cedf174a1af7347b4c5e5b68109206c23e7
6,449
py
Python
gofft/alg/dsp.py
bgli100/goertzel-fft
3ef8713996dce19d4d40c4ee8fa08e2fb09b425b
[ "MIT" ]
14
2018-01-15T06:39:45.000Z
2022-03-04T01:06:07.000Z
gofft/alg/dsp.py
NaleRaphael/goertzel_fft
566e35b74f30c76e44b9694b85e4453de1af53ec
[ "MIT" ]
null
null
null
gofft/alg/dsp.py
NaleRaphael/goertzel_fft
566e35b74f30c76e44b9694b85e4453de1af53ec
[ "MIT" ]
6
2018-01-23T15:34:27.000Z
2021-08-13T16:25:23.000Z
import numpy as np from scipy.fftpack import fft as scipyfft from . import dsp_ext as cext __all__ = ['goertzel', 'goertzel_m', 'goertzel_st', 'goertzel_st_m', 'fft_eval', 'stfft_eval'] def goertzel(data, fs, ft, width, rng=None): """ Goertzel algorithm, an efficiency method to evaluate specific ...
24.335849
78
0.574973
829
6,449
4.445115
0.172497
0.034193
0.029308
0.047761
0.752782
0.734057
0.710176
0.697151
0.697151
0.672727
0
0.004266
0.30935
6,449
264
79
24.42803
0.82308
0.382075
0
0.679612
0
0
0.131354
0
0
0
0
0
0
1
0.058252
false
0
0.029126
0
0.145631
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
1f7b105846e505d1d7ec055535a0fb76fb1fd2e1
231
py
Python
polaris/polaris/apps.py
msfeldstein/django-polaris
2671afed7cb2bbbff6a0b428d98d5c9189edb6bb
[ "Apache-2.0" ]
1
2021-08-10T00:07:16.000Z
2021-08-10T00:07:16.000Z
polaris/polaris/apps.py
msfeldstein/django-polaris
2671afed7cb2bbbff6a0b428d98d5c9189edb6bb
[ "Apache-2.0" ]
null
null
null
polaris/polaris/apps.py
msfeldstein/django-polaris
2671afed7cb2bbbff6a0b428d98d5c9189edb6bb
[ "Apache-2.0" ]
null
null
null
from django.apps import AppConfig class PolarisConfig(AppConfig): name = "polaris" verbose_name = "Django Polaris" def ready(self): """ Initialize the app. Currently a no-op. """ pass
17.769231
46
0.597403
25
231
5.48
0.84
0
0
0
0
0
0
0
0
0
0
0
0.307359
231
12
47
19.25
0.85625
0.164502
0
0
0
0
0.12426
0
0
0
0
0
0
1
0.166667
false
0.166667
0.166667
0
0.833333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
3
1f7b71a81a17484f80707678bc2a51a6320e7603
105
py
Python
configs/common/models/vit/vit_small_patch32_224.py
Kitten97/libai
4ca0341628dc0b850acbc30d3766797cfc8a6c86
[ "Apache-2.0" ]
55
2021-12-10T08:47:06.000Z
2022-03-28T09:02:15.000Z
configs/common/models/vit/vit_small_patch32_224.py
Kitten97/libai
4ca0341628dc0b850acbc30d3766797cfc8a6c86
[ "Apache-2.0" ]
106
2021-11-03T05:16:45.000Z
2022-03-31T06:16:23.000Z
configs/common/models/vit/vit_small_patch32_224.py
Kitten97/libai
4ca0341628dc0b850acbc30d3766797cfc8a6c86
[ "Apache-2.0" ]
13
2021-12-29T08:12:08.000Z
2022-03-28T06:59:45.000Z
from .vit_tiny_patch16_224 import model model.patch_size = 32 model.embed_dim = 384 model.num_heads = 6
17.5
39
0.8
19
105
4.105263
0.842105
0
0
0
0
0
0
0
0
0
0
0.120879
0.133333
105
5
40
21
0.736264
0
0
0
0
0
0
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
2f39ce64782066b1e3ead58b9e3db438e5e1b961
2,207
py
Python
tests/test_resource_storage.py
lyzlisa/cloud-scanner
eced85638bb61a8bb701fe53359a436caa7981bc
[ "MIT" ]
9
2019-05-29T19:54:19.000Z
2021-05-29T13:23:06.000Z
tests/test_resource_storage.py
lyzlisa/cloud-scanner
eced85638bb61a8bb701fe53359a436caa7981bc
[ "MIT" ]
2
2018-10-23T18:48:07.000Z
2018-10-25T16:03:10.000Z
tests/test_resource_storage.py
lyzlisa/cloud-scanner
eced85638bb61a8bb701fe53359a436caa7981bc
[ "MIT" ]
52
2019-04-29T18:55:36.000Z
2020-09-22T08:21:57.000Z
import os from cloud_scanner.services.resource_storage import ResourceStorage from .unittest_base import TestCase, FakeQueueMessage class ResourceStorageTest(TestCase): def test_process_queue_message_with_zero_resources(self): os.environ["PROVIDER_LIST"] = "simulator" json_data = '[]' me...
34.484375
73
0.569551
190
2,207
6.394737
0.315789
0.079012
0.093827
0.098765
0.792593
0.725103
0.700412
0.700412
0.626337
0.576955
0
0.131148
0.309017
2,207
63
74
35.031746
0.665574
0
0
0.647059
0
0
0.517898
0.106026
0
0
0
0
0.058824
1
0.058824
false
0
0.058824
0
0.137255
0
0
0
0
null
0
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
2f3f1439561d4be6b54aad96f88156a79b198bfc
458
py
Python
backend/refill/dataparsers/badauthors.py
bd808/refill
950f3720d9cfa56a73d3f761d484951daa1c83bd
[ "BSD-2-Clause" ]
36
2015-03-13T16:17:19.000Z
2021-10-19T17:58:49.000Z
backend/refill/dataparsers/badauthors.py
bd808/refill
950f3720d9cfa56a73d3f761d484951daa1c83bd
[ "BSD-2-Clause" ]
59
2015-02-26T13:28:05.000Z
2021-08-31T16:37:02.000Z
backend/refill/dataparsers/badauthors.py
bd808/refill
950f3720d9cfa56a73d3f761d484951daa1c83bd
[ "BSD-2-Clause" ]
32
2015-02-26T10:02:08.000Z
2021-09-05T16:10:24.000Z
from ..models import Citation import string class BadAuthors: def __init__(self): pass def apply(self, citation: Citation) -> Citation: if self._checkList(citation.authors): del citation.authors if self._checkList(citation.editors): del citation.editors def _checkList(self, l): ...
26.941176
67
0.624454
58
458
4.810345
0.465517
0.114695
0.107527
0.164875
0
0
0
0
0
0
0
0
0.286026
458
16
68
28.625
0.853211
0
0
0
0
0
0.004367
0
0
0
0
0
0
1
0.230769
false
0.076923
0.153846
0
0.615385
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
2f5136255bc521eaef9d071a493353dce09c209e
2,254
py
Python
src/tests/test_auth.py
chrisba11/stock_portfolio
6402a5614720d72fcb9d0003a14031c04e65bbfe
[ "MIT" ]
null
null
null
src/tests/test_auth.py
chrisba11/stock_portfolio
6402a5614720d72fcb9d0003a14031c04e65bbfe
[ "MIT" ]
1
2019-02-28T15:25:26.000Z
2019-02-28T15:25:26.000Z
src/tests/test_auth.py
chrisba11/stock_portfolio
6402a5614720d72fcb9d0003a14031c04e65bbfe
[ "MIT" ]
null
null
null
""" """ import pytest # @pytest.mark.skip() def test_get_register_status(client): res = client.get('/register') assert res.status_code == 200 # @pytest.mark.skip() def test_get_register_has_correct_text(client): res = client.get('/register') assert b'<title>Register</title>' in res.data # @pytes...
27.487805
79
0.700089
326
2,254
4.662577
0.147239
0.064474
0.082895
0.123026
0.783553
0.755263
0.657237
0.622368
0.482895
0.410526
0
0.007825
0.149512
2,254
81
80
27.82716
0.785081
0.088287
0
0.422222
0
0
0.196464
0.022593
0
0
0
0
0.422222
1
0.244444
false
0.022222
0.022222
0
0.266667
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
1
0
0
0
0
0
0
0
3
2f54e82ac75b28ed29cf1375494a1df25ce212fb
384
py
Python
mrestweb/webapp/admin.py
brunogabriel/mobile-rest-web
80b52c5c6af1d9355873bab4d3edc0a7be0ea53e
[ "Apache-2.0" ]
6
2016-04-29T00:42:12.000Z
2016-09-16T11:38:25.000Z
mrestweb/webapp/admin.py
brunogabriel/mobile-rest-web
80b52c5c6af1d9355873bab4d3edc0a7be0ea53e
[ "Apache-2.0" ]
null
null
null
mrestweb/webapp/admin.py
brunogabriel/mobile-rest-web
80b52c5c6af1d9355873bab4d3edc0a7be0ea53e
[ "Apache-2.0" ]
null
null
null
from django.contrib import admin from models import Device from models import Team class DeviceAdmin(admin.ModelAdmin): list_display = ('user', 'platform', 'device_identifier',) class TeamAdmin(admin.ModelAdmin): list_display = ('name', 'conference', 'arena', 'foundation', 'thumbnail',) # registers admin.site.reg...
25.6
75
0.765625
45
384
6.466667
0.555556
0.068729
0.109966
0.178694
0
0
0
0
0
0
0
0
0.104167
384
14
76
27.428571
0.84593
0.023438
0
0
0
0
0.179625
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.777778
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
2f5988d5a074c8c862994ea40602f7805fe52ac4
348
py
Python
tempo-api/src/app/tempo/controllers/search_users_controller.py
cuappdev/archives
061d0f9cccf278363ffaeb27fc655743b1052ae5
[ "MIT" ]
null
null
null
tempo-api/src/app/tempo/controllers/search_users_controller.py
cuappdev/archives
061d0f9cccf278363ffaeb27fc655743b1052ae5
[ "MIT" ]
null
null
null
tempo-api/src/app/tempo/controllers/search_users_controller.py
cuappdev/archives
061d0f9cccf278363ffaeb27fc655743b1052ae5
[ "MIT" ]
null
null
null
from . import * class SearchUsersController(AppDevController): def get_path(self): return '/users/search/' def get_methods(self): return ['GET'] @authorize def content(self, **kwargs): query = request.args['q'].lower() users = users_dao.query_users(query) return {'users': [user_schema.du...
21.75
63
0.672414
45
348
5.088889
0.644444
0.052402
0
0
0
0
0
0
0
0
0
0
0.181034
348
15
64
23.2
0.803509
0
0
0
0
0
0.066092
0
0
0
0
0
0
1
0.272727
false
0
0.090909
0.181818
0.727273
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
2f8a97d7ecab81043413b5b40bd6b5a4811d0f1d
1,122
py
Python
tests/test_core.py
eitanme/roslibpy
92b97d6daa78d30384e3a347d46be51c6e7fbd01
[ "MIT" ]
183
2018-03-01T13:13:18.000Z
2022-03-26T16:23:10.000Z
tests/test_core.py
eitanme/roslibpy
92b97d6daa78d30384e3a347d46be51c6e7fbd01
[ "MIT" ]
84
2018-06-27T14:24:49.000Z
2022-02-22T00:01:25.000Z
tests/test_core.py
eitanme/roslibpy
92b97d6daa78d30384e3a347d46be51c6e7fbd01
[ "MIT" ]
40
2018-03-01T15:54:42.000Z
2022-01-24T18:33:39.000Z
from roslibpy import Header from roslibpy import Time REF_FLOAT_SECS_TIME = 1610122759.677662 def test_time_from_sec_based_on_time_module(): t = Time.from_sec(REF_FLOAT_SECS_TIME) assert t.secs == 1610122759 assert t.nsecs == 677661895 def test_to_nsec(): t = Time.from_sec(REF_FLOAT_SECS_TIME) ...
28.05
72
0.716578
170
1,122
4.405882
0.194118
0.085447
0.128171
0.170895
0.619493
0.506008
0.506008
0.506008
0.425901
0.425901
0
0.103992
0.151515
1,122
39
73
28.769231
0.682773
0
0
0.346154
0
0
0.049911
0
0
0
0
0
0.461538
1
0.230769
false
0
0.076923
0
0.307692
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
1
0
1
0
0
0
0
0
0
0
3
2f9250d51806cd3737700646e1c775fc29407d20
1,444
py
Python
hybridts/tc_state.py
RemuLang/hybrid-type-system
702aca24d664adc164e0a5de7ca3097f4ec59a5c
[ "MIT" ]
2
2020-09-02T00:12:54.000Z
2021-02-20T06:08:50.000Z
hybridts/tc_state.py
RemuLang/hybrid-type-system
702aca24d664adc164e0a5de7ca3097f4ec59a5c
[ "MIT" ]
null
null
null
hybridts/tc_state.py
RemuLang/hybrid-type-system
702aca24d664adc164e0a5de7ca3097f4ec59a5c
[ "MIT" ]
null
null
null
from hybridts.type_encoding import * from hybridts import tc_make import typing as t class TCState: def __init__(self, tctx: TypeCtx, structures = None): tc_make.make(self, tctx, structures) def get_tctx(self): raise NotImplementedError def get_structures(self) -> t.Dict[Var, t.Set['tc_m...
30.083333
105
0.655125
195
1,444
4.738462
0.364103
0.25974
0.262987
0.121212
0.251082
0.183983
0.183983
0.183983
0.183983
0.183983
0
0
0.234765
1,444
47
106
30.723404
0.836199
0.067175
0
0.333333
0
0
0.017385
0.017385
0
0
0
0
0
1
0.4
false
0
0.1
0
0.6
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
85dad8b2da8811980a59174ecdf7d84ce46d6ee7
1,670
py
Python
wss.py
myrsloik/WarpSharpSupport
42f3b5ec5b0a072f894feb51897cda3c58bf40f5
[ "MIT" ]
3
2020-01-04T04:46:31.000Z
2020-11-05T18:26:50.000Z
wss.py
myrsloik/WarpSharpSupport
42f3b5ec5b0a072f894feb51897cda3c58bf40f5
[ "MIT" ]
null
null
null
wss.py
myrsloik/WarpSharpSupport
42f3b5ec5b0a072f894feb51897cda3c58bf40f5
[ "MIT" ]
null
null
null
# MIT License # #Copyright (c) 2018 Fredrik Mellbin # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, merg...
53.870968
217
0.722754
254
1,670
4.751969
0.511811
0.072908
0.007457
0.024855
0.081193
0.081193
0
0
0
0
0
0.019651
0.177246
1,670
30
218
55.666667
0.858806
0.638323
0
0
0
0.166667
0.156357
0
0
0
0
0
0
1
0.333333
false
0
0.166667
0.166667
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
1
0
0
0
1
1
0
0
3
85e39d4e793908953c9a33e76062b1a785bf6209
520
py
Python
SignalR/Connection.py
sam-mosleh/SignalR-Client
981b4084d146d830c9c29880752c832877fab45c
[ "MIT" ]
null
null
null
SignalR/Connection.py
sam-mosleh/SignalR-Client
981b4084d146d830c9c29880752c832877fab45c
[ "MIT" ]
null
null
null
SignalR/Connection.py
sam-mosleh/SignalR-Client
981b4084d146d830c9c29880752c832877fab45c
[ "MIT" ]
null
null
null
import requests class Connection: """Documentation for Connection """ def __init__(self): self.session = requests.Session() self.session.headers.update({ 'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/3...
23.636364
134
0.617308
65
520
4.846154
0.615385
0.139683
0.114286
0
0
0
0
0
0
0
0
0.067532
0.259615
520
21
135
24.761905
0.750649
0.053846
0
0
0
0.076923
0.270833
0
0
0
0
0
0
1
0.230769
false
0
0.076923
0.153846
0.538462
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
c8050323abd0be44fffa29ba05138f6673dd6501
23
py
Python
Ity/Tools/__init__.py
rmomizo/Ubiqu-Ity
67bd167c248d6f9e2810df5028b2288a828bdbfc
[ "BSD-2-Clause" ]
11
2015-06-22T15:52:31.000Z
2021-09-14T18:51:26.000Z
Ity/Tools/__init__.py
rmomizo/Ubiqu-Ity
67bd167c248d6f9e2810df5028b2288a828bdbfc
[ "BSD-2-Clause" ]
null
null
null
Ity/Tools/__init__.py
rmomizo/Ubiqu-Ity
67bd167c248d6f9e2810df5028b2288a828bdbfc
[ "BSD-2-Clause" ]
9
2015-05-15T23:06:34.000Z
2021-09-15T16:05:51.000Z
__author__ = 'zthomae'
11.5
22
0.73913
2
23
6.5
1
0
0
0
0
0
0
0
0
0
0
0
0.130435
23
1
23
23
0.65
0
0
0
0
0
0.304348
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
c80d365a9c8aad15b77908c9a86570e21cebf5b0
1,102
py
Python
Python/BMOLanguage/src/error.py
marcfreir/zero-to-hero_LearningPath
0158b47bbb09cf800a07f904bf372104698b7b2c
[ "MIT" ]
1
2020-07-03T00:26:24.000Z
2020-07-03T00:26:24.000Z
Python/BMOLanguage/src/error.py
marcfreir/zero-to-hero_LearningPath
0158b47bbb09cf800a07f904bf372104698b7b2c
[ "MIT" ]
null
null
null
Python/BMOLanguage/src/error.py
marcfreir/zero-to-hero_LearningPath
0158b47bbb09cf800a07f904bf372104698b7b2c
[ "MIT" ]
null
null
null
# STRINGS WITH CIRCUMFLEX from strings_with_circumflex import string_with_circumflex ############## ### ERRORS ### ############## class Error: def __init__(self, position_start, position_end, error_name, error_details): self.position_start = position_start self.position_end = position_end ...
40.814815
119
0.712341
135
1,102
5.37037
0.251852
0.197241
0.187586
0.165517
0.442759
0.296552
0.296552
0.296552
0.296552
0.234483
0
0.001087
0.165154
1,102
27
120
40.814815
0.786957
0.027223
0
0
0
0
0.141892
0.074324
0
0
0
0
0
1
0.222222
false
0
0.055556
0
0.5
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
c82391836591cd88e3f0fc011d3044a3623bd7d0
5,785
py
Python
google/ads/google_ads/v2/proto/services/product_bidding_category_constant_service_pb2.py
jiulongw/google-ads-python
6f5256eb1eeb5a9a95c8cdb9b97988d3a676282e
[ "Apache-2.0" ]
1
2019-11-30T23:42:39.000Z
2019-11-30T23:42:39.000Z
google/ads/google_ads/v2/proto/services/product_bidding_category_constant_service_pb2.py
jiulongw/google-ads-python
6f5256eb1eeb5a9a95c8cdb9b97988d3a676282e
[ "Apache-2.0" ]
null
null
null
google/ads/google_ads/v2/proto/services/product_bidding_category_constant_service_pb2.py
jiulongw/google-ads-python
6f5256eb1eeb5a9a95c8cdb9b97988d3a676282e
[ "Apache-2.0" ]
1
2020-03-13T00:14:31.000Z
2020-03-13T00:14:31.000Z
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/ads/googleads_v2/proto/services/product_bidding_category_constant_service.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...
53.073394
1,095
0.832152
649
5,785
7.089368
0.285054
0.064551
0.073028
0.086938
0.371441
0.336014
0.253641
0.238861
0.141056
0.116279
0
0.036205
0.068971
5,785
108
1,096
53.564815
0.818047
0.061884
0
0.120482
1
0.024096
0.458303
0.426199
0
0
0
0
0
1
0
false
0
0.096386
0
0.096386
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
c8363fc517cc476a6e27f9b5aaa5e359e76dc62c
221
py
Python
core/algorithm-builder/environments/python/wrapper/app.py
devhliu/hkube
3e79f36b1ff6dbf1c846db6b598634ee398c709d
[ "MIT" ]
275
2017-11-30T21:44:48.000Z
2022-03-28T10:40:54.000Z
core/algorithm-builder/environments/python/wrapper/app.py
OAKO-UCONN/hkube
d0b2ba9731b81932444ec8ae46000d8269a59bdc
[ "MIT" ]
1,024
2017-11-23T10:03:54.000Z
2022-03-31T07:49:18.000Z
core/algorithm-builder/environments/python/wrapper/app.py
yehiyam/hkube-stam
908df0a4c55001d5ac1e48de11606f9d80217858
[ "MIT" ]
21
2017-12-24T09:19:51.000Z
2022-02-26T05:20:11.000Z
from __future__ import print_function, division, absolute_import from hkube_python_wrapper import Algorunner def main(): print("starting algorithm runner") Algorunner.Run() if __name__ == "__main__": main()
22.1
64
0.755656
26
221
5.807692
0.730769
0
0
0
0
0
0
0
0
0
0
0
0.158371
221
9
65
24.555556
0.811828
0
0
0
0
0
0.149321
0
0
0
0
0
0
1
0.142857
true
0
0.285714
0
0.428571
0.285714
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
c84e1ee6e08c32182c865c6c7899f5f37d2630c6
278
py
Python
src/datas/data_x.py
omyllymaki/ransac-solver
13ec22262a2eaf4644eb11d0776c2dcea4151506
[ "MIT" ]
null
null
null
src/datas/data_x.py
omyllymaki/ransac-solver
13ec22262a2eaf4644eb11d0776c2dcea4151506
[ "MIT" ]
null
null
null
src/datas/data_x.py
omyllymaki/ransac-solver
13ec22262a2eaf4644eb11d0776c2dcea4151506
[ "MIT" ]
null
null
null
from src.data import BaseData, Indices import numpy as np class Data(BaseData): def __init__(self, x: np.ndarray): self.x = x def __getitem__(self, indices: Indices): return Data(self.x[indices]) def __len__(self): return self.x.shape[0]
19.857143
44
0.647482
40
278
4.2
0.5
0.119048
0
0
0
0
0
0
0
0
0
0.004762
0.244604
278
13
45
21.384615
0.795238
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.222222
0.222222
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
0
1
1
0
0
3
c855a0a86dcca5b23cb124da4d377a55e6fca646
231
py
Python
analysis/DataProcessor.py
koravel/orders_generator
1a73f8cd7a363a44b9aa442f1e32bea816083644
[ "Apache-2.0" ]
null
null
null
analysis/DataProcessor.py
koravel/orders_generator
1a73f8cd7a363a44b9aa442f1e32bea816083644
[ "Apache-2.0" ]
null
null
null
analysis/DataProcessor.py
koravel/orders_generator
1a73f8cd7a363a44b9aa442f1e32bea816083644
[ "Apache-2.0" ]
null
null
null
import abc import util.TextConstants as tconst class DataProcessor: @staticmethod @abc.abstractmethod def get_result(data): raise NotImplementedError(tconst.not_implemented_text.format("get_result"))
23.1
84
0.735931
25
231
6.64
0.8
0.108434
0
0
0
0
0
0
0
0
0
0
0.194805
231
9
85
25.666667
0.892473
0
0
0
0
0
0.045045
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.571429
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
c06fd5332f05dfaf3c64be67f02832ea860a9445
171
py
Python
aram_predictor/settings.py
ericmarkmartin/aram_predictor
dee693af07beeaaf4970df9a2a99efc4583b165a
[ "BSD-2-Clause" ]
null
null
null
aram_predictor/settings.py
ericmarkmartin/aram_predictor
dee693af07beeaaf4970df9a2a99efc4583b165a
[ "BSD-2-Clause" ]
null
null
null
aram_predictor/settings.py
ericmarkmartin/aram_predictor
dee693af07beeaaf4970df9a2a99efc4583b165a
[ "BSD-2-Clause" ]
null
null
null
import os from itertools import islice from dotenv import load_dotenv load_dotenv() RIOT_API_KEY = os.getenv("RIOT_API_KEY") SEED_SUMMONER = os.getenv("SEED_SUMMONER")
17.1
42
0.80117
27
171
4.777778
0.481481
0.155039
0.155039
0
0
0
0
0
0
0
0
0
0.116959
171
9
43
19
0.854305
0
0
0
0
0
0.146199
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
c09787faa16d1e57d0a3a7749056f84031215cab
912
py
Python
guet/commands/_command_map.py
AbhishekMashetty/pairprogrammingmasetty
0528d4999b472ec6d94058193275a505eaf2c762
[ "Apache-2.0" ]
13
2018-12-21T22:47:28.000Z
2021-12-17T14:27:35.000Z
guet/commands/_command_map.py
chiptopher/guet
1099ee623311ba1d052237612efc9b06b7ff68bb
[ "Apache-2.0" ]
63
2018-08-30T11:19:12.000Z
2021-05-13T12:11:08.000Z
guet/commands/_command_map.py
chiptopher/guet
1099ee623311ba1d052237612efc9b06b7ff68bb
[ "Apache-2.0" ]
7
2019-05-21T13:52:37.000Z
2022-01-30T22:57:21.000Z
from collections import namedtuple from typing import List from guet.commands import CommandFactory _MappedCommand = namedtuple('MappedCommand', ['command', 'description']) class CommandMap: def __init__(self): self._commands = dict() self._default = None def add_command(self, key: str, com...
29.419355
85
0.695175
104
912
5.855769
0.278846
0.078818
0.065681
0.055829
0
0
0
0
0
0
0
0
0.197368
912
30
86
30.4
0.831967
0
0
0
0
0
0.033991
0
0
0
0
0
0
1
0.35
false
0
0.15
0.2
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
c09bcc68478d4cde686b5647a994bf7d96c3b4f8
447
py
Python
bustravel/trip/forms.py
dtmakm27/BussTravelSite
8fb1a1c60e51d556eb326aac0f87bc91a7ccee97
[ "Apache-2.0" ]
null
null
null
bustravel/trip/forms.py
dtmakm27/BussTravelSite
8fb1a1c60e51d556eb326aac0f87bc91a7ccee97
[ "Apache-2.0" ]
null
null
null
bustravel/trip/forms.py
dtmakm27/BussTravelSite
8fb1a1c60e51d556eb326aac0f87bc91a7ccee97
[ "Apache-2.0" ]
null
null
null
from django import forms import datetime from django.forms.extras.widgets import SelectDateWidget class TripForm(forms.Form): cityA= forms.CharField(label='From', max_length=100) cityB = forms.CharField(label='To', max_length=100) day_Of_Travel = forms.DateField(label='Date of Travel', initial=datetime.da...
37.25
136
0.774049
59
447
5.762712
0.59322
0.058824
0.111765
0
0
0
0
0
0
0
0
0.017588
0.10962
447
11
137
40.636364
0.836683
0
0
0
0
0
0.080717
0
0
0
0
0
0
1
0
false
0.125
0.375
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
0
1
1
0
1
0
0
3