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
52657acc4f4db85fcb4ff44de96ab5d455da9da5
445
py
Python
oteapi_optimade/models/strategies/__init__.py
SINTEF/oteapi-optimade
c91157f386fb6180abb8cd0c2b083b1b2aafd7f3
[ "MIT" ]
2
2022-03-03T10:37:38.000Z
2022-03-30T08:24:32.000Z
oteapi_optimade/models/strategies/__init__.py
SINTEF/oteapi-optimade
c91157f386fb6180abb8cd0c2b083b1b2aafd7f3
[ "MIT" ]
24
2022-02-25T14:38:39.000Z
2022-03-30T17:06:27.000Z
oteapi_optimade/models/strategies/__init__.py
SINTEF/oteapi-optimade
c91157f386fb6180abb8cd0c2b083b1b2aafd7f3
[ "MIT" ]
null
null
null
"""`oteapi_optimade.models` module - pydantic data models.""" from .filter import OPTIMADEFilterConfig, OPTIMADEFilterSession from .parse import OPTIMADEParseConfig, OPTIMADEParseSession from .resource import OPTIMADEResourceConfig, OPTIMADEResourceSession __all__ = ( "OPTIMADEFilterConfig", "OPTIMADEFilterSes...
31.785714
69
0.788764
29
445
11.931034
0.62069
0.236994
0
0
0
0
0
0
0
0
0
0
0.125843
445
13
70
34.230769
0.88946
0.123596
0
0
0
0
0.325521
0.171875
0
0
0
0
0
1
0
false
0
0.272727
0
0.272727
0
1
0
1
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
0
0
3
5265a449317f8b42e93df763d4b3f3ace57258b3
177
py
Python
cfgov/v1/templatetags/global_include.py
atuggle/cfgov-refresh
5a9cfd92b460b9be7befb39f5845abf56857aeac
[ "CC0-1.0" ]
null
null
null
cfgov/v1/templatetags/global_include.py
atuggle/cfgov-refresh
5a9cfd92b460b9be7befb39f5845abf56857aeac
[ "CC0-1.0" ]
null
null
null
cfgov/v1/templatetags/global_include.py
atuggle/cfgov-refresh
5a9cfd92b460b9be7befb39f5845abf56857aeac
[ "CC0-1.0" ]
null
null
null
from django import template import sheerlike register = template.Library() @register.simple_tag def global_include(name): return sheerlike.global_render_template(name)
14.75
49
0.80226
22
177
6.272727
0.681818
0
0
0
0
0
0
0
0
0
0
0
0.129944
177
11
50
16.090909
0.896104
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0.166667
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
0
0
0
3
52689717e4101a5a5198cb75ab86a12f3ef9018e
79
py
Python
pelican_admin/admin/__init__.py
movermeyer/pelican_admin
073b5544d4aea8ffd68007528ed126788841a0fe
[ "BSD-3-Clause" ]
3
2015-04-13T05:11:09.000Z
2021-02-08T20:38:03.000Z
pelican_admin/admin/__init__.py
movermeyer/pelican_admin
073b5544d4aea8ffd68007528ed126788841a0fe
[ "BSD-3-Clause" ]
null
null
null
pelican_admin/admin/__init__.py
movermeyer/pelican_admin
073b5544d4aea8ffd68007528ed126788841a0fe
[ "BSD-3-Clause" ]
1
2018-03-04T20:27:50.000Z
2018-03-04T20:27:50.000Z
import blog_post_admin, settings_admin, category_admin __author__ = 'Flavio'
15.8
54
0.822785
10
79
5.7
0.8
0
0
0
0
0
0
0
0
0
0
0
0.113924
79
4
55
19.75
0.814286
0
0
0
0
0
0.076923
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
528c0dee358ebbce199ef985bbb9812eff0b3c5b
1,971
py
Python
Blockchain/Tx.py
W-Glenton/Blockchain
f88b0ccece101c821d1d8705fa03a0a9fba8f14f
[ "MIT" ]
null
null
null
Blockchain/Tx.py
W-Glenton/Blockchain
f88b0ccece101c821d1d8705fa03a0a9fba8f14f
[ "MIT" ]
null
null
null
Blockchain/Tx.py
W-Glenton/Blockchain
f88b0ccece101c821d1d8705fa03a0a9fba8f14f
[ "MIT" ]
null
null
null
from datetime import datetime from hashlib import sha256 class Tx: def __init__ (self, date=datetime.now().date(), time=datetime.now().time(), giveBasis="null", giveVal="null", receiveBasis="null", receiveVal="null", other_party_name="null", memo="null"): self.date=date self.time=time ...
29.41791
193
0.615424
231
1,971
5.147186
0.190476
0.094197
0.105971
0.075694
0.432296
0.356602
0.356602
0.356602
0.356602
0.356602
0
0.010438
0.270928
1,971
66
194
29.863636
0.81698
0
0
0.26087
0
0
0.017857
0
0
0
0
0
0
1
0.26087
false
0
0.043478
0.195652
0.565217
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
5296e006523355a866933e9a8b2ea63eccb762ae
535
py
Python
features/environment.py
mitkin/satistjenesten
77c82e58580de907c5e85a6b9c2b8dc51daa84c9
[ "MIT" ]
null
null
null
features/environment.py
mitkin/satistjenesten
77c82e58580de907c5e85a6b9c2b8dc51daa84c9
[ "MIT" ]
null
null
null
features/environment.py
mitkin/satistjenesten
77c82e58580de907c5e85a6b9c2b8dc51daa84c9
[ "MIT" ]
null
null
null
BEHAVE_DEBUG_ON_ERROR = False def setup_debug_on_error(userdata): global BEHAVE_DEBUG_ON_ERROR BEHAVE_DEBUG_ON_ERROR = userdata.getbool("BEHAVE_DEBUG_ON_ERROR") def before_all(context): setup_debug_on_error(context.config.userdata) def after_step(context, step): if BEHAVE_DEBUG_ON_ERROR and step.stat...
33.4375
75
0.742056
76
535
4.894737
0.526316
0.13172
0.225806
0.241935
0
0
0
0
0
0
0
0
0.179439
535
15
76
35.666667
0.84738
0.211215
0
0
0
0
0.064439
0.050119
0
0
0
0
0
1
0.3
false
0
0.1
0
0.4
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
52994b44424b57a19b61fbfbcd9e29bfa13efa39
5,569
py
Python
toir/formats/script/script/instructions/objects.py
FistingUranus/innocence-r
786e1fca75155027e5875363f0b17e7c3cdefced
[ "MIT" ]
2
2021-06-26T16:44:58.000Z
2021-09-09T22:32:13.000Z
toir/formats/script/script/instructions/objects.py
FistingUranus/innocence-r
786e1fca75155027e5875363f0b17e7c3cdefced
[ "MIT" ]
4
2021-08-29T18:12:17.000Z
2022-03-28T08:54:29.000Z
toir/formats/script/script/instructions/objects.py
FistingUranus/innocence-r
786e1fca75155027e5875363f0b17e7c3cdefced
[ "MIT" ]
3
2021-07-20T01:00:19.000Z
2021-09-09T22:32:14.000Z
from . import ScriptInstruction, ScriptInstructionWithArgs import struct class ScriptObjectDirPlayer(ScriptInstructionWithArgs): def __init__(self, opcode): super().__init__('<BBH', opcode) class ScriptObjectDirDefault(ScriptInstructionWithArgs): def __init__(self, opcode): super().__init__('<...
32.377907
75
0.701203
494
5,569
7.319838
0.184211
0.105089
0.109513
0.169248
0.610343
0.600387
0.600387
0.501659
0.501659
0.501659
0
0.000654
0.176154
5,569
171
76
32.567251
0.787489
0
0
0.503817
0
0
0.030885
0
0.007634
0
0
0
0
1
0.29771
false
0.007634
0.015267
0
0.618321
0.015267
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
bfe48aed3fbb0ecc8d02b25f7a034b87d942a204
385
py
Python
supervised_learning/0x0F-word_embeddings/3-gensim_to_keras.py
kyeeh/holbertonschool-machine_learning
8e4894c2b036ec7f4750de5bf99b95aee5b94449
[ "MIT" ]
null
null
null
supervised_learning/0x0F-word_embeddings/3-gensim_to_keras.py
kyeeh/holbertonschool-machine_learning
8e4894c2b036ec7f4750de5bf99b95aee5b94449
[ "MIT" ]
null
null
null
supervised_learning/0x0F-word_embeddings/3-gensim_to_keras.py
kyeeh/holbertonschool-machine_learning
8e4894c2b036ec7f4750de5bf99b95aee5b94449
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 """ Extract Word2Vec module """ from gensim.models import Word2Vec import tensorflow.keras as keras def gensim_to_keras(model): """ converts a gensim word2vec model to a keras Embedding layer: - model: trained gensim word2vec models Returns: the trainable keras Embedding """...
24.0625
64
0.742857
51
385
5.509804
0.607843
0.149466
0
0
0
0
0
0
0
0
0
0.015773
0.176623
385
15
65
25.666667
0.870662
0.480519
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.5
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
1
0
0
1
0
1
0
0
3
bfea344f465dd9692c88fd289ded55cc79389e22
874
py
Python
pyolos/classes/endpoint.py
lightlogic/pyolos
cd3806bb3d7d711e986fa1f111af37107338a9e1
[ "MIT" ]
null
null
null
pyolos/classes/endpoint.py
lightlogic/pyolos
cd3806bb3d7d711e986fa1f111af37107338a9e1
[ "MIT" ]
null
null
null
pyolos/classes/endpoint.py
lightlogic/pyolos
cd3806bb3d7d711e986fa1f111af37107338a9e1
[ "MIT" ]
null
null
null
from jinja2 import Template class Endpoint: def __init__(self, prot, rootCont, apiModule, apiResource, resID=None) -> None: self.prot = prot self.root = rootCont self.apiModule = apiModule self.apiResource = apiResource self.resID = resID if resID is not None else "" ...
26.484848
151
0.621281
93
874
5.774194
0.322581
0.111732
0.156425
0
0
0
0
0
0
0
0
0.001555
0.264302
874
32
152
27.3125
0.833593
0
0
0
0
0.045455
0.123711
0
0
0
0
0
0
1
0.318182
false
0
0.045455
0.272727
0.681818
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
8728246cb555544f95e6e0f5e20e32211cf0d8e4
241
py
Python
1. Arrays and Strings/1. Introduction to Array/Largest Number At Least Twice of Others.py
palashsharma891/LeetCode-Python
36797783a3ae0427a128bb8466acd75c12308554
[ "MIT" ]
null
null
null
1. Arrays and Strings/1. Introduction to Array/Largest Number At Least Twice of Others.py
palashsharma891/LeetCode-Python
36797783a3ae0427a128bb8466acd75c12308554
[ "MIT" ]
null
null
null
1. Arrays and Strings/1. Introduction to Array/Largest Number At Least Twice of Others.py
palashsharma891/LeetCode-Python
36797783a3ae0427a128bb8466acd75c12308554
[ "MIT" ]
null
null
null
class Solution: def dominantIndex(self, nums: List[int]) -> int: max_num = max(nums) for i in nums: if i != max_num and max_num < 2*i: return -1 return nums.index(max_num)
26.777778
52
0.506224
33
241
3.575758
0.575758
0.20339
0
0
0
0
0
0
0
0
0
0.013793
0.39834
241
8
53
30.125
0.8
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.571429
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
875ab598a3562d2bbc75337fcf17420c1566a601
18
py
Python
libCrayonSavefile/scons_args.py
Protofall/Crayon-Savefile
b21e5a5adc48d612695dff8be3aa0bfb7aea9042
[ "BSD-3-Clause" ]
2
2020-11-20T17:41:58.000Z
2021-01-24T03:50:22.000Z
Demos/v3/scons_args.py
Protofall/Crayon-Savefile
b21e5a5adc48d612695dff8be3aa0bfb7aea9042
[ "BSD-3-Clause" ]
38
2020-07-19T13:49:57.000Z
2020-10-02T14:39:45.000Z
Demos/v3/scons_args.py
Protofall/Crayon-Savefile
b21e5a5adc48d612695dff8be3aa0bfb7aea9042
[ "BSD-3-Clause" ]
null
null
null
PLATFORMS = 'all'
9
17
0.666667
2
18
6
1
0
0
0
0
0
0
0
0
0
0
0
0.166667
18
1
18
18
0.8
0
0
0
0
0
0.166667
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
875c3184450fcacfbf250b85ac7448d66af44c20
504
py
Python
tests/test_biquad_filter.py
takashiAg/biquad_filter
5bf8a5467d42f0015f2fe3f1f2c0cf432acc165a
[ "BSD-2-Clause" ]
null
null
null
tests/test_biquad_filter.py
takashiAg/biquad_filter
5bf8a5467d42f0015f2fe3f1f2c0cf432acc165a
[ "BSD-2-Clause" ]
null
null
null
tests/test_biquad_filter.py
takashiAg/biquad_filter
5bf8a5467d42f0015f2fe3f1f2c0cf432acc165a
[ "BSD-2-Clause" ]
null
null
null
# -*- coding: utf-8 -*- from .context import biquad_filter import unittest class BasicTestSuite(unittest.TestCase): """Basic test cases.""" def test1(self): biquad=biquad_filter.biquad() biquad.init_value() self.assertEqual(biquad.input_1,0) self.assertEqual(biquad.input_2,0...
21
43
0.662698
62
504
5.129032
0.467742
0.235849
0.330189
0.27673
0.339623
0
0
0
0
0
0
0.030151
0.210317
504
24
44
21
0.768844
0.079365
0
0
0
0
0.017429
0
0
0
0
0
0.384615
1
0.076923
false
0
0.153846
0
0.307692
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
87640e7dad59f11696f6ac75514d8b8729d0209d
191
py
Python
src/visualization/tests.py
jlmdegoede/Workbench-Acceptance-Experiment
55d6558a2efdd7eca93dce2f17b4990376ababc5
[ "MIT" ]
1
2017-07-09T13:17:44.000Z
2017-07-09T13:17:44.000Z
src/visualization/tests.py
jlmdegoede/Workbench-Acceptence-Experiment
55d6558a2efdd7eca93dce2f17b4990376ababc5
[ "MIT" ]
null
null
null
src/visualization/tests.py
jlmdegoede/Workbench-Acceptence-Experiment
55d6558a2efdd7eca93dce2f17b4990376ababc5
[ "MIT" ]
null
null
null
import unittest from click.testing import CliRunner from .visualize import main class TestVisualization(unittest.TestCase): def test_main_runs(self): self.assertTrue(main())
15.916667
43
0.759162
23
191
6.217391
0.695652
0
0
0
0
0
0
0
0
0
0
0
0.167539
191
11
44
17.363636
0.899371
0
0
0
0
0
0
0
0
0
0
0
0.166667
1
0.166667
false
0
0.5
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
0
1
0
1
0
0
3
8777ac59338a0e145dcfb3a0a0190a15255455f9
20,918
py
Python
Modules/DataPreprocessor/dataPreprocessor.py
Vaishnavi-ambati/Restaurant-Rating-Prediction
741e3f6d4459537d51464b98b23cae6994d5ab37
[ "MIT" ]
null
null
null
Modules/DataPreprocessor/dataPreprocessor.py
Vaishnavi-ambati/Restaurant-Rating-Prediction
741e3f6d4459537d51464b98b23cae6994d5ab37
[ "MIT" ]
null
null
null
Modules/DataPreprocessor/dataPreprocessor.py
Vaishnavi-ambati/Restaurant-Rating-Prediction
741e3f6d4459537d51464b98b23cae6994d5ab37
[ "MIT" ]
null
null
null
import ast import numpy as np import pandas as pd from sklearn.feature_extraction import FeatureHasher from nltk.sentiment.vader import SentimentIntensityAnalyzer sia = SentimentIntensityAnalyzer() class processData: """ Class Name: processData ...
48.087356
183
0.536619
2,147
20,918
5.035864
0.107126
0.044673
0.067148
0.057344
0.732334
0.724103
0.7069
0.690067
0.68313
0.662782
0
0.011744
0.373124
20,918
434
184
48.198157
0.812781
0.146907
0
0.570136
0
0
0.230337
0.034509
0
0
0
0
0
1
0.045249
false
0
0.022624
0
0.140271
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
5e3d84135c8aac546ba4da206f297b54c1abf4d0
96
py
Python
sanic_testing/__init__.py
sanic-org/sanic-test
a47325acfe10e00cebd2a688023a98ba690ff664
[ "MIT" ]
18
2021-01-28T08:53:53.000Z
2022-01-02T08:24:56.000Z
sanic_testing/__init__.py
sanic-org/sanic-testing
a47325acfe10e00cebd2a688023a98ba690ff664
[ "MIT" ]
25
2021-01-28T01:12:09.000Z
2022-02-01T21:29:05.000Z
sanic_testing/__init__.py
sanic-org/sanic-test
a47325acfe10e00cebd2a688023a98ba690ff664
[ "MIT" ]
10
2021-01-28T02:19:17.000Z
2022-03-03T17:26:50.000Z
from sanic_testing.manager import TestManager __version__ = "0.8.2" __all__ = ("TestManager",)
19.2
45
0.760417
12
96
5.333333
0.916667
0
0
0
0
0
0
0
0
0
0
0.035294
0.114583
96
4
46
24
0.717647
0
0
0
0
0
0.166667
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
5e547402e885a85d1619db3ea47272b7419ce667
292
py
Python
backend/server/server/routing.py
Vanpitkinobi/quantum_web
4c8325394a053c9c398e2c905b60643f41abc5ea
[ "MIT" ]
89
2018-10-23T14:59:55.000Z
2021-12-09T16:55:50.000Z
backend/server/server/routing.py
Turingu/simple-tasks
ae759a8100f6604b6d8fc00f19cf3aedbd945f3d
[ "MIT" ]
16
2018-11-10T12:51:03.000Z
2021-07-01T07:53:44.000Z
backend/server/server/routing.py
Vanpitkinobi/quantum_web
4c8325394a053c9c398e2c905b60643f41abc5ea
[ "MIT" ]
27
2019-01-13T04:37:58.000Z
2022-01-06T10:39:50.000Z
from channels.routing import ProtocolTypeRouter from channels.routing import URLRouter import apps.tasks.api.routing application = ProtocolTypeRouter({ # Empty for now (http->django views is added by default) 'websocket': URLRouter(apps.tasks.api.routing.websocket_urlpatterns), })
29.2
73
0.791096
35
292
6.571429
0.628571
0.104348
0.165217
0.217391
0
0
0
0
0
0
0
0
0.123288
292
9
74
32.444444
0.898438
0.184932
0
0
0
0
0.038136
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
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
1
0
0
0
0
3
5e661877f460f3c080a1d659f778cdfa5834999e
166
py
Python
utils.py
b2m/csv-reconcile
023708e0da3ffd27226e0a5238131622e3addb47
[ "MIT" ]
27
2021-03-15T09:15:57.000Z
2022-03-30T20:11:01.000Z
utils.py
b2m/csv-reconcile
023708e0da3ffd27226e0a5238131622e3addb47
[ "MIT" ]
40
2021-04-13T14:00:32.000Z
2022-03-25T14:08:17.000Z
utils.py
b2m/csv-reconcile
023708e0da3ffd27226e0a5238131622e3addb47
[ "MIT" ]
5
2021-02-14T23:43:16.000Z
2022-01-02T09:28:17.000Z
import os.path def dummydoc(): if not os.path.exists("README.md"): print("Creating README.md ...") f = open("README.md", "w") f.close()
18.444444
39
0.536145
23
166
3.869565
0.695652
0.269663
0
0
0
0
0
0
0
0
0
0
0.271084
166
8
40
20.75
0.735537
0
0
0
0
0
0.246988
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.333333
0.166667
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
5e6ffb5592e2a2410dd435d008fadabef9f72498
422
py
Python
telemetry/migrations/0002_auto_20210919_1300.py
MaxwellDPS/trunk-player
19f116e64249823f3a12b35ed55252db60b1cf78
[ "MIT" ]
null
null
null
telemetry/migrations/0002_auto_20210919_1300.py
MaxwellDPS/trunk-player
19f116e64249823f3a12b35ed55252db60b1cf78
[ "MIT" ]
7
2021-06-10T23:24:05.000Z
2022-03-03T21:48:12.000Z
telemetry/migrations/0002_auto_20210919_1300.py
MaxwellDPS/trunk-player
19f116e64249823f3a12b35ed55252db60b1cf78
[ "MIT" ]
1
2022-03-26T07:04:21.000Z
2022-03-26T07:04:21.000Z
# Generated by Django 3.2.7 on 2021-09-19 20:00 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('telemetry', '0001_initial'), ] operations = [ migrations.RemoveField( model_name='source', name='position', ), ...
19.181818
47
0.549763
40
422
5.725
0.725
0.183406
0.227074
0.262009
0.349345
0.349345
0
0
0
0
0
0.067616
0.334123
422
21
48
20.095238
0.747331
0.106635
0
0.4
1
0
0.12
0
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
5e7056d34a18594d1e3162b376f42eae044ab0d6
644
py
Python
apps/MixMaster/Units/temperature.py
VishalKandala/Cantera-1.7
750786f9b845a56fc177a9f1d5a9c5bb6ebd87cc
[ "BSD-3-Clause" ]
null
null
null
apps/MixMaster/Units/temperature.py
VishalKandala/Cantera-1.7
750786f9b845a56fc177a9f1d5a9c5bb6ebd87cc
[ "BSD-3-Clause" ]
null
null
null
apps/MixMaster/Units/temperature.py
VishalKandala/Cantera-1.7
750786f9b845a56fc177a9f1d5a9c5bb6ebd87cc
[ "BSD-3-Clause" ]
null
null
null
#!/bin/env python # #-------------------------------------------------------------------------- # # $License$ # #-------------------------------------------------------------------------- # $Log: temperature.py,v $ # Revision 1.1.1.1 2003/04/14 17:57:49 dggoodwin # Initial import. # # Revision 1.1 2002/...
19.515152
76
0.46118
89
644
3.337079
0.651685
0.060606
0.16835
0.074074
0.188552
0
0
0
0
0
0
0.169557
0.194099
644
32
77
20.125
0.402698
0.804348
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
5e7323544be5afc097918e989668d2960c1966ce
11,779
py
Python
olympics/test/test_engine.py
smurf-1119/GameTheoryProject
5bc230f3a421088d176264584e82e52f2826a8d9
[ "MIT" ]
2
2021-11-23T00:23:52.000Z
2021-11-23T01:40:40.000Z
olympics/test/test_engine.py
smurf-1119/GameTheoryProject
5bc230f3a421088d176264584e82e52f2826a8d9
[ "MIT" ]
null
null
null
olympics/test/test_engine.py
smurf-1119/GameTheoryProject
5bc230f3a421088d176264584e82e52f2826a8d9
[ "MIT" ]
null
null
null
import sys from pathlib import Path base_path = str(Path(__file__).resolve().parent.parent) sys.path.append(base_path) print(base_path) from core import OlympicsBase from object import * import time gamemap = {'objects':[], 'agents':[]} #rectangular #gamemap['objects'].append(Wall(init_pos=[[50, 200], [90, 600]], ...
43.788104
162
0.632227
1,696
11,779
4.284788
0.099057
0.194578
0.275217
0.214669
0.774873
0.744461
0.689831
0.550433
0.44819
0.374845
0
0.137624
0.124034
11,779
268
163
43.951493
0.56668
0.620596
0
0.047619
0
0
0.08205
0
0
0
0
0
0
1
0.047619
false
0.011905
0.071429
0
0.154762
0.035714
0
0
0
null
0
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
5e914f73032e52e120e5120f07730996f417e3bf
700
py
Python
openibanlib/providers/OpenIBAN.py
nathanIL/openiban
cb12ac2914b60d0e77785809ead0e2cf6311220f
[ "MIT" ]
3
2016-03-31T17:56:01.000Z
2021-06-24T15:44:43.000Z
openibanlib/providers/OpenIBAN.py
nathanIL/openiban
cb12ac2914b60d0e77785809ead0e2cf6311220f
[ "MIT" ]
1
2018-03-22T16:45:17.000Z
2018-03-22T16:45:17.000Z
openibanlib/providers/OpenIBAN.py
nathanIL/openiban
cb12ac2914b60d0e77785809ead0e2cf6311220f
[ "MIT" ]
null
null
null
''' Created on Apr 30, 2015 @author: nabu ''' from openibanlib.providers.interfaces import IBANProvider class OpenIBAN(IBANProvider): """ OpenIBAN provider: https://openiban.com/ """ PROVIDER_URL = "https://openiban.com/validate/XXXXXXXX?getBIC=true" def _request_params(self): re...
24.137931
71
0.62
78
700
5.435897
0.525641
0.113208
0.075472
0.113208
0.141509
0.141509
0
0
0
0
0
0.011605
0.261429
700
29
72
24.137931
0.808511
0.112857
0
0.133333
0
0
0.141176
0
0
0
0
0
0
1
0.266667
false
0
0.066667
0.133333
0.733333
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
5ea40b28fce67022a481d56b8d43eafc331ef681
381
py
Python
biller.py
trickeydan/biller
52c7c586ff76f7556a449ff7c0e1ec488fd47f78
[ "MIT" ]
null
null
null
biller.py
trickeydan/biller
52c7c586ff76f7556a449ff7c0e1ec488fd47f78
[ "MIT" ]
null
null
null
biller.py
trickeydan/biller
52c7c586ff76f7556a449ff7c0e1ec488fd47f78
[ "MIT" ]
null
null
null
#! /usr/bin/env python3 import click from cli.people import cli as people_cli from cli.provider import cli as provider_cli from cli.account import cli as account_cli @click.group() def cli(): pass cli.add_command(people_cli, name='people') cli.add_command(provider_cli, name='provider') cli.add_command(account...
17.318182
46
0.745407
60
381
4.45
0.333333
0.078652
0.123596
0
0
0
0
0
0
0
0
0.003058
0.141732
381
21
47
18.142857
0.813456
0.057743
0
0
0
0
0.081006
0
0
0
0
0
0
1
0.083333
true
0.083333
0.333333
0
0.416667
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
1
1
0
0
0
0
3
5ebf1998a3fd0f00d424612cf996eaccd39eea3d
699
py
Python
commons/utils.py
mercyplaisir/tradeapp_telegram_bot
4d542ee6ba42f26be19cb1b51cf0515dffe5a3b2
[ "Apache-2.0" ]
null
null
null
commons/utils.py
mercyplaisir/tradeapp_telegram_bot
4d542ee6ba42f26be19cb1b51cf0515dffe5a3b2
[ "Apache-2.0" ]
null
null
null
commons/utils.py
mercyplaisir/tradeapp_telegram_bot
4d542ee6ba42f26be19cb1b51cf0515dffe5a3b2
[ "Apache-2.0" ]
null
null
null
""" Some useful functions """ from ast import Pass import datetime import time import hashlib import hmac import json from typing import Dict, List, Tuple # ORDERS_EXEMPLE:List = [ # ["BTCUSDT", "28", "-1", "6gCrw2kRUAF9CvJDGP16IP", "1507725176595", "0.00000000", "10.00000000", "10.00000000", # "10.00000000", "F...
21.181818
112
0.643777
90
699
4.933333
0.533333
0.067568
0.121622
0.09009
0.085586
0
0
0
0
0
0
0.108541
0.195994
699
32
113
21.84375
0.681495
0.30329
0
0
0
0
0.070064
0
0
0
0
0
0
1
0.117647
false
0.058824
0.411765
0
0.647059
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
5ec89dcd85c2312f374a7780ae112ed0c83080ed
209
py
Python
config/config.py
tingod/1bot
ffb168ca365014e43b6e4f33aba0e9e27fd811de
[ "MIT" ]
null
null
null
config/config.py
tingod/1bot
ffb168ca365014e43b6e4f33aba0e9e27fd811de
[ "MIT" ]
null
null
null
config/config.py
tingod/1bot
ffb168ca365014e43b6e4f33aba0e9e27fd811de
[ "MIT" ]
null
null
null
# coding: utf-8 DEFAULT_USER_AGENT = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_2) AppleWebKit/537.36 (KHTML, like Gecko) ' \ 'Chrome/55.0.2883.95 Safari/537.36 ' DATA_FOLDER = "data"
34.833333
112
0.645933
34
209
3.823529
0.882353
0.076923
0
0
0
0
0
0
0
0
0
0.165644
0.220096
209
5
113
41.8
0.631902
0.062201
0
0
0
0.333333
0.64433
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
0d6d7ad37cbb9d3ee164b9729f2be96c86b31501
173
py
Python
corehq/apps/users/migrations/0001_add_location_permission.py
dimagilg/commcare-hq
ea1786238eae556bb7f1cbd8d2460171af1b619c
[ "BSD-3-Clause" ]
471
2015-01-10T02:55:01.000Z
2022-03-29T18:07:18.000Z
corehq/apps/users/migrations/0001_add_location_permission.py
dimagilg/commcare-hq
ea1786238eae556bb7f1cbd8d2460171af1b619c
[ "BSD-3-Clause" ]
14,354
2015-01-01T07:38:23.000Z
2022-03-31T20:55:14.000Z
corehq/apps/users/migrations/0001_add_location_permission.py
dimagilg/commcare-hq
ea1786238eae556bb7f1cbd8d2460171af1b619c
[ "BSD-3-Clause" ]
175
2015-01-06T07:16:47.000Z
2022-03-29T13:27:01.000Z
# Generated by Django 1.9.12 on 2017-03-09 02:05 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ] operations = []
14.416667
48
0.682081
23
173
5.130435
0.869565
0
0
0
0
0
0
0
0
0
0
0.118519
0.219653
173
11
49
15.727273
0.755556
0.265896
0
0
1
0
0
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
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
0d7d8fa36aa0dd8d5cd95006a3d92f9d074e264c
95
py
Python
RecoEgamma/EgammaTools/python/gbrwrappermaker_cfi.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
RecoEgamma/EgammaTools/python/gbrwrappermaker_cfi.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
RecoEgamma/EgammaTools/python/gbrwrappermaker_cfi.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
import FWCore.ParameterSet.Config as cms gbrwrappermaker = cms.EDAnalyzer('GBRWrapperMaker' )
19
50
0.821053
10
95
7.8
0.8
0
0
0
0
0
0
0
0
0
0
0
0.094737
95
4
51
23.75
0.906977
0
0
0
0
0
0.157895
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
0d8c498b0567c5d58a0e8b55b0b5d030a89b549b
6,930
py
Python
tests/unit/cmk/base/plugins/agent_based/test_veeam_o356jobs.py
jiuka/check_veeam_o365
ec33d1563f9d4b611a546b537cb44ee4633ea6f3
[ "ADSL" ]
1
2021-07-06T16:53:59.000Z
2021-07-06T16:53:59.000Z
tests/unit/cmk/base/plugins/agent_based/test_veeam_o356jobs.py
jiuka/check_veeam_o365
ec33d1563f9d4b611a546b537cb44ee4633ea6f3
[ "ADSL" ]
4
2020-10-20T12:50:59.000Z
2021-11-01T08:54:27.000Z
tests/unit/cmk/base/plugins/agent_based/test_veeam_o356jobs.py
jiuka/check_veeam_o365
ec33d1563f9d4b611a546b537cb44ee4633ea6f3
[ "ADSL" ]
null
null
null
#!/usr/bin/env python3 # -*- encoding: utf-8; py-indent-offset: 4 -*- # # checkmk_dell_storage - Checkmk extension for Dell Storage API # # Copyright (C) 2021 Marius Rieder <marius.rieder@scs.ch> # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public Lic...
49.5
180
0.615873
866
6,930
4.898383
0.214781
0.026403
0.052805
0.066007
0.722772
0.709335
0.623762
0.61504
0.61504
0.60066
0
0.219794
0.214141
6,930
139
181
49.856115
0.559126
0.12785
0
0.333333
0
0.008772
0.490951
0.14345
0
0
0
0
0.017544
1
0.017544
false
0
0.026316
0
0.04386
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
1
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
0d9eda965b29fbaa490e6c48b8dee359b068e4b4
248
py
Python
lyncs_setuptools/__init__.py
Lyncs-API/lyncs.setuptools
96d2d45f5172eae1a74970036d958541b90a75c1
[ "BSD-3-Clause" ]
null
null
null
lyncs_setuptools/__init__.py
Lyncs-API/lyncs.setuptools
96d2d45f5172eae1a74970036d958541b90a75c1
[ "BSD-3-Clause" ]
4
2020-08-18T17:33:29.000Z
2021-08-14T16:49:34.000Z
lyncs_setuptools/__init__.py
Lyncs-API/lyncs.setuptools
96d2d45f5172eae1a74970036d958541b90a75c1
[ "BSD-3-Clause" ]
null
null
null
""" Setup tools for Lyncs """ __version__ = "0.3.0" from .version import * from .data_files import * from .description import * from .classifiers import * from .author import * from .setuptools import * from .cmake import * from .pylint import *
16.533333
26
0.717742
33
248
5.242424
0.515152
0.404624
0
0
0
0
0
0
0
0
0
0.014634
0.173387
248
14
27
17.714286
0.829268
0.084677
0
0
0
0
0.022831
0
0
0
0
0
0
1
0
false
0
0.888889
0
0.888889
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
0dac4055c60df6f9ee5a6ef3dde6b723e71f4c36
156
py
Python
medical_prescription/disease/urls.py
ristovao/2017.2-Receituario-Medico
5387eb80dfb354e948abe64f7d8bbe087fc4f136
[ "MIT" ]
11
2017-09-19T00:29:40.000Z
2018-04-05T23:52:39.000Z
medical_prescription/disease/urls.py
ristovao/2017.2-Receituario-Medico
5387eb80dfb354e948abe64f7d8bbe087fc4f136
[ "MIT" ]
271
2017-09-09T00:07:28.000Z
2017-12-07T05:00:45.000Z
medical_prescription/disease/urls.py
ristovao/2017.2-Receituario-Medico
5387eb80dfb354e948abe64f7d8bbe087fc4f136
[ "MIT" ]
26
2017-08-31T20:48:49.000Z
2018-03-21T15:11:27.000Z
from django.conf.urls import url from .views import ListDisease urlpatterns = ( url(r'^list_disease/$', ListDisease.as_view(), name='disease_list'), )
22.285714
72
0.730769
21
156
5.285714
0.714286
0
0
0
0
0
0
0
0
0
0
0
0.128205
156
6
73
26
0.816176
0
0
0
0
0
0.173077
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
0ddb8efc62cd01b4062c6bc9af98f43edf402a4c
576
py
Python
util/utils.py
colinshin/webpyBlog
d46e3570d17a9202b1a7346884bf7b35afd90abd
[ "MIT" ]
1
2021-08-02T10:34:45.000Z
2021-08-02T10:34:45.000Z
util/utils.py
colinshin/webpyCMS
d46e3570d17a9202b1a7346884bf7b35afd90abd
[ "MIT" ]
null
null
null
util/utils.py
colinshin/webpyCMS
d46e3570d17a9202b1a7346884bf7b35afd90abd
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import time from util.log import log import uuid import hashlib timetoolong = [] def uuidgen(): return str(uuid.uuid4()) def hashgen(s): return hashlib.sha224(s).hexdigest() def counttime(func): def _warpper(*args, **kwargs): start_time = time.time() result = ...
19.2
69
0.616319
74
576
4.635135
0.486486
0.093294
0.069971
0
0
0
0
0
0
0
0
0.018561
0.251736
576
29
70
19.862069
0.777262
0.036458
0
0
0
0
0.034358
0
0
0
0
0
0
1
0.210526
false
0
0.210526
0.105263
0.631579
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
0de9c0277f68c02f53d2e9aa19566086d45d1c19
1,034
py
Python
CursoAlura_OO2/filme.py
gustavoLuuD/estudos_python
c8d3e97913d8fc2d046c7a1942b24800779438f5
[ "MIT" ]
null
null
null
CursoAlura_OO2/filme.py
gustavoLuuD/estudos_python
c8d3e97913d8fc2d046c7a1942b24800779438f5
[ "MIT" ]
null
null
null
CursoAlura_OO2/filme.py
gustavoLuuD/estudos_python
c8d3e97913d8fc2d046c7a1942b24800779438f5
[ "MIT" ]
null
null
null
# versão 01 do código da aplicação class Filme: def __init__(self, nome, ano, duracao): self.__nome = nome self.__ano = ano self.__duracao = duracao self.__likes = 0 # O número de likes inicia com 0 def adiciona_like(self): self.__likes += 1 @property def nome(self): return self.__nome.tit...
17.525424
61
0.692456
140
1,034
4.8
0.264286
0.130952
0.166667
0.044643
0.622024
0.568452
0.568452
0.386905
0.386905
0.386905
0
0.021818
0.202128
1,034
58
62
17.827586
0.792727
0.060928
0
0.697674
0
0
0.036194
0
0
0
0
0
0
1
0.27907
false
0
0
0.186047
0.511628
0.046512
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
216dc2a405fc8d5414d547460b9bc083374e6f68
95
py
Python
test.py
oduwa/Wheat-Count
51b80025913437da4117ce25d50312fbe03b1192
[ "MIT" ]
null
null
null
test.py
oduwa/Wheat-Count
51b80025913437da4117ce25d50312fbe03b1192
[ "MIT" ]
null
null
null
test.py
oduwa/Wheat-Count
51b80025913437da4117ce25d50312fbe03b1192
[ "MIT" ]
null
null
null
import PicNumero imagePath = "Wheat_Images/001.jpg" count = PicNumero.run_with_cnn(imagePath)
19
41
0.810526
13
95
5.692308
0.846154
0
0
0
0
0
0
0
0
0
0
0.034884
0.094737
95
4
42
23.75
0.825581
0
0
0
0
0
0.210526
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
21a5d59a72fccc6cf6feff1b3adffb25f42428ed
11,554
py
Python
test/functional/scriptdebug.py
cryptolinux-ion/ion
61de3cb6970f8f198ba5455c8d0530075bc4bd49
[ "MIT" ]
59
2016-04-06T02:23:40.000Z
2021-10-03T16:36:23.000Z
test/functional/scriptdebug.py
cryptolinux-ion/ion
61de3cb6970f8f198ba5455c8d0530075bc4bd49
[ "MIT" ]
107
2018-03-30T08:48:06.000Z
2021-08-09T12:38:09.000Z
test/functional/scriptdebug.py
cryptolinux-ion/ion
61de3cb6970f8f198ba5455c8d0530075bc4bd49
[ "MIT" ]
70
2018-03-28T23:33:55.000Z
2021-11-20T11:10:03.000Z
#!/usr/bin/env python3 # Copyright (c) 2015-2018 The Bitcoin Unlimited developers # Copyright (c) 2020 The Ion Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. import test_framework.loginit import time import sys imp...
49.801724
1,373
0.719751
1,001
11,554
8.223776
0.301698
0.01895
0.022352
0.022109
0.156341
0.102648
0.090136
0.059281
0.052964
0.052964
0
0.220665
0.203393
11,554
231
1,374
50.017316
0.673729
0.109226
0
0.196532
0
0.00578
0.351086
0.287022
0
1
0
0
0.011561
1
0.075145
false
0.023121
0.063584
0.011561
0.225434
0.092486
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
3
21a98915d39a3e418b26084c36b2864d6827f02f
14,469
py
Python
quantumcat/applications/protein_folding/proteinfolding.py
santanu-banerjee/quantumcat
bf02f77c7e196c21e964cba37d995e2c1a00a3c5
[ "Apache-2.0" ]
null
null
null
quantumcat/applications/protein_folding/proteinfolding.py
santanu-banerjee/quantumcat
bf02f77c7e196c21e964cba37d995e2c1a00a3c5
[ "Apache-2.0" ]
null
null
null
quantumcat/applications/protein_folding/proteinfolding.py
santanu-banerjee/quantumcat
bf02f77c7e196c21e964cba37d995e2c1a00a3c5
[ "Apache-2.0" ]
null
null
null
# (C) Copyright Artificial Brain 2021. # # 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 agreed ...
39.75
93
0.529062
2,193
14,469
3.452804
0.121295
0.146725
0.134707
0.166403
0.666138
0.663761
0.650291
0.630481
0.622293
0.618991
0
0.046626
0.340383
14,469
364
94
39.75
0.746752
0.227521
0
0.867521
0
0
0
0
0
0
0
0
0
1
0.008547
false
0
0.012821
0
0.034188
0
0
0
0
null
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
21db49bd4c75238cb779b11777bb743d61715b3e
402
py
Python
src/ralph/cmdb/integration/util.py
quamilek/ralph
bf7231ea096924332b874718b33cd1f43f9c783b
[ "Apache-2.0" ]
1
2018-09-01T14:14:08.000Z
2018-09-01T14:14:08.000Z
src/ralph/cmdb/integration/util.py
quamilek/ralph
bf7231ea096924332b874718b33cd1f43f9c783b
[ "Apache-2.0" ]
1
2019-08-14T10:03:45.000Z
2019-08-14T10:03:45.000Z
src/ralph/cmdb/integration/util.py
quamilek/ralph
bf7231ea096924332b874718b33cd1f43f9c783b
[ "Apache-2.0" ]
1
2019-08-14T09:59:42.000Z
2019-08-14T09:59:42.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals from dateutil.parser import parse from pytz import timezone def strip_timezone(datestr): parsed = parse(datestr) ...
25.125
85
0.763682
55
402
5.218182
0.636364
0.139373
0.222997
0
0
0
0
0
0
0
0
0.002849
0.126866
402
15
86
26.8
0.814815
0.104478
0
0
0
0
0.083799
0
0
0
0
0
0
1
0.111111
false
0
0.666667
0
0.888889
0.111111
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
21ed35f972a42476d3ab17091542468c2213f2cf
612
py
Python
src/__init__.py
ipeis/HH-VAEM
b0280546e996c08b8ba2383cf8b8e8c178804bf8
[ "MIT" ]
2
2022-03-04T12:19:58.000Z
2022-03-04T12:39:07.000Z
src/__init__.py
ipeis/HH-VAEM
b0280546e996c08b8ba2383cf8b8e8c178804bf8
[ "MIT" ]
null
null
null
src/__init__.py
ipeis/HH-VAEM
b0280546e996c08b8ba2383cf8b8e8c178804bf8
[ "MIT" ]
null
null
null
# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ # Copyright (c) 2022 by Ignacio Peis, UC3M. + # All rights reserved. This file is part of the HH-VAEM, and is released under + # the "MIT License Agreement". Please see the LICENSE file that should ha...
47.076923
81
0.449346
59
612
4.627119
0.694915
0.102564
0.142857
0.139194
0
0
0
0
0
0
0
0.010823
0.245098
612
12
82
51
0.580087
0.78268
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
21ff1816c4b17b5a77c39396acc194cd13385d3b
494
py
Python
newsapp/errors/handlers.py
atahanyorganci/dailyspokesman
e8c980e8ce63a2bf0596c9126b580f1429efe05b
[ "MIT" ]
null
null
null
newsapp/errors/handlers.py
atahanyorganci/dailyspokesman
e8c980e8ce63a2bf0596c9126b580f1429efe05b
[ "MIT" ]
3
2020-01-06T11:42:15.000Z
2021-06-19T13:11:02.000Z
newsapp/errors/handlers.py
atahanyorganci/dailyspokesman
e8c980e8ce63a2bf0596c9126b580f1429efe05b
[ "MIT" ]
null
null
null
from flask import render_template from newsapp.errors import bp from newsapp.errors.descriptions import DESCRIPTIONS @bp.app_errorhandler(400) def bad_request(error): return render_template("error.html", error=DESCRIPTIONS[404]), 400 @bp.app_errorhandler(404) def not_found_error(error): return render_templ...
24.7
70
0.785425
68
494
5.544118
0.338235
0.148541
0.135279
0.198939
0.456233
0.456233
0.456233
0.456233
0.456233
0.312997
0
0.061086
0.105263
494
19
71
26
0.791855
0
0
0
0
0
0.060729
0
0
0
0
0
0
1
0.25
false
0
0.25
0.25
0.75
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
df1e2079356643df572eac0e30288c08b003ec2d
423
py
Python
indy_client/test/agent/mock_backend_system.py
sergeykupryushin/indy-node
3162c5750e99af3512218d5843ba065c7d0f07db
[ "Apache-2.0" ]
1
2018-07-05T19:34:29.000Z
2018-07-05T19:34:29.000Z
indy_client/test/agent/mock_backend_system.py
sergeykupryushin/indy-node
3162c5750e99af3512218d5843ba065c7d0f07db
[ "Apache-2.0" ]
null
null
null
indy_client/test/agent/mock_backend_system.py
sergeykupryushin/indy-node
3162c5750e99af3512218d5843ba065c7d0f07db
[ "Apache-2.0" ]
1
2021-06-06T15:48:30.000Z
2021-06-06T15:48:30.000Z
from indy_client.agent.backend import BackendSystem class MockBackendSystem(BackendSystem): def __init__(self, attrDef): self._attrDef = attrDef self._attrs = {} # type: Dict[int, AttribDef] def add_record(self, internal_id, **vals): self._attrs[internal_id] = self._attrDef.attribs(...
28.2
64
0.704492
52
423
5.365385
0.519231
0.179211
0.100358
0.136201
0
0
0
0
0
0
0
0
0.191489
423
14
65
30.214286
0.815789
0.061466
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.111111
0.111111
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
df23a8a89cc3a54ebed7c8b6b8ea28833361d886
516
py
Python
core/confdb/syntax/media/base.py
prorevizor/noc
37e44b8afc64318b10699c06a1138eee9e7d6a4e
[ "BSD-3-Clause" ]
84
2017-10-22T11:01:39.000Z
2022-02-27T03:43:48.000Z
core/confdb/syntax/media/base.py
prorevizor/noc
37e44b8afc64318b10699c06a1138eee9e7d6a4e
[ "BSD-3-Clause" ]
22
2017-12-11T07:21:56.000Z
2021-09-23T02:53:50.000Z
core/confdb/syntax/media/base.py
prorevizor/noc
37e44b8afc64318b10699c06a1138eee9e7d6a4e
[ "BSD-3-Clause" ]
23
2017-12-06T06:59:52.000Z
2022-02-24T00:02:25.000Z
# ---------------------------------------------------------------------- # ConfDB media syntax # ---------------------------------------------------------------------- # Copyright (C) 2007-2019 The NOC Project # See LICENSE for details # ---------------------------------------------------------------------- # NOC modu...
36.857143
73
0.459302
44
516
5.181818
0.5
0.096491
0.131579
0
0
0
0
0
0
0
0
0.016949
0.085271
516
13
74
39.692308
0.466102
0.596899
0
0
0
0
0.025
0
0
0
0
0
0
1
0
false
0
0.75
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
df2f92a4e0a1955175dbe585ab0034379b3cf206
609
py
Python
Difficult/Contains-Duplicate-3/test_solution.py
hadi-alnehlawi/CodeDare
5fda340c3df3a8a644fd278b7c7db1430528709c
[ "MIT" ]
null
null
null
Difficult/Contains-Duplicate-3/test_solution.py
hadi-alnehlawi/CodeDare
5fda340c3df3a8a644fd278b7c7db1430528709c
[ "MIT" ]
null
null
null
Difficult/Contains-Duplicate-3/test_solution.py
hadi-alnehlawi/CodeDare
5fda340c3df3a8a644fd278b7c7db1430528709c
[ "MIT" ]
null
null
null
import unittest from solution import Solution class TestContains(unittest.TestCase): def setUp(self): self.solution = Solution() pass def test_case_1(self): s = "abab" self.assertEqual(self.solution.repeated_strings(s=s), True) def test_case_2(self): s = "abcab...
26.478261
68
0.661741
76
609
5.078947
0.421053
0.124352
0.085492
0.209845
0.419689
0.419689
0.419689
0.419689
0.305699
0.305699
0
0.008421
0.220033
609
23
69
26.478261
0.804211
0.024631
0
0.117647
0
0
0.045531
0
0
0
0
0
0.176471
1
0.235294
false
0.058824
0.117647
0
0.411765
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
df340a1c822593dc99950f08d6b51ac91b85d5d9
94
py
Python
problems/Codeforces/F - Twisted Circuit .py
jspw/Basic_Python
aa159f576a471c6deebdf1e5f462dfc9ffb4930b
[ "Unlicense" ]
6
2020-06-25T14:52:09.000Z
2021-08-05T20:54:15.000Z
problems/Codeforces/F - Twisted Circuit .py
jspw/Basic_Python
aa159f576a471c6deebdf1e5f462dfc9ffb4930b
[ "Unlicense" ]
null
null
null
problems/Codeforces/F - Twisted Circuit .py
jspw/Basic_Python
aa159f576a471c6deebdf1e5f462dfc9ffb4930b
[ "Unlicense" ]
null
null
null
a=int(input()) b=int(input()) c=int(input()) d=int(input()) print((a^b)&(c|d)^((b&c)|(a^d)))
13.428571
32
0.521277
21
94
2.333333
0.333333
0.653061
0
0
0
0
0
0
0
0
0
0
0.06383
94
6
33
15.666667
0.556818
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.2
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
df4cf0b7cac6dd2cf0cdd4e0942b6e2383377bb3
369
py
Python
simple/higher-order-functions.py
kasztp/python-lessons
2a159ad5e1186c749b96c5d0ede45b7142c6bbb5
[ "MIT" ]
35
2015-05-18T08:08:41.000Z
2022-03-07T09:38:02.000Z
simple/higher-order-functions.py
kasztp/python-lessons
2a159ad5e1186c749b96c5d0ede45b7142c6bbb5
[ "MIT" ]
1
2021-09-29T02:08:26.000Z
2021-09-29T02:08:26.000Z
simple/higher-order-functions.py
kasztp/python-lessons
2a159ad5e1186c749b96c5d0ede45b7142c6bbb5
[ "MIT" ]
40
2015-04-28T00:38:54.000Z
2022-02-13T14:18:34.000Z
def map(nums_list, operation): ''' Return a sequence of values obtained by applying the operation function to each number in nums_list. ''' return [operation(num) for num in nums_list] def double(num): return num * 2 def triple(num): return num * 3 nums_list = (1, 3, -10) for operation in (doubl...
23.0625
70
0.682927
57
369
4.333333
0.491228
0.161943
0.089069
0.161943
0
0
0
0
0
0
0
0.02069
0.214092
369
15
71
24.6
0.831034
0.271003
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0.222222
0.666667
0.111111
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
df5e8bf40998beabeb8561d66e41fa2e5c5fa580
308
py
Python
python_fakeports/logger.py
georgenicolaou/python-fakeports
24eecf879e0d2d2a100be06952fb3677019457e2
[ "MIT" ]
3
2020-02-03T08:25:10.000Z
2021-09-29T15:59:01.000Z
python_fakeports/logger.py
georgenicolaou/python-fakeports
24eecf879e0d2d2a100be06952fb3677019457e2
[ "MIT" ]
2
2021-01-18T19:27:44.000Z
2021-01-18T19:27:44.000Z
python_fakeports/logger.py
georgenicolaou/python-fakeports
24eecf879e0d2d2a100be06952fb3677019457e2
[ "MIT" ]
null
null
null
from twisted.logger import Logger log = Logger("fakeports") class LogMessages: PORT_PROBE = "[PROBE] {src_ip}:{dst_port}" SERVICE_PROBE = "[SERVICE_PROBE] {src_ip}:{dst_port} Probe: {probe} Reply: {reply}" SERVICE_STARTED = "[SERVICE] Started" CONNECTION = "[CONNECTION] {src_ip}:{dst_port}"
38.5
87
0.698052
39
308
5.25641
0.435897
0.073171
0.117073
0.17561
0.165854
0
0
0
0
0
0
0
0.146104
308
8
88
38.5
0.779468
0
0
0
0
0
0.485437
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.857143
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
df723b3f578910401ae2916562b3369214a48508
546
py
Python
ch06/oop/mro.simple.py
ibiscum/Learn-Python-Programming-Third-Edition
c8e0061e97b16c9b55250cc720a8bc7613cb6cca
[ "MIT" ]
null
null
null
ch06/oop/mro.simple.py
ibiscum/Learn-Python-Programming-Third-Edition
c8e0061e97b16c9b55250cc720a8bc7613cb6cca
[ "MIT" ]
null
null
null
ch06/oop/mro.simple.py
ibiscum/Learn-Python-Programming-Third-Edition
c8e0061e97b16c9b55250cc720a8bc7613cb6cca
[ "MIT" ]
null
null
null
# oop/mro.simple.py class A: label = 'a' class B(A): label = 'b' class C(A): label = 'c' class D(B, C): pass d = D() print(d.label) # Hypothetically this could be either 'b' or 'c' print(d.__class__.mro()) # notice another way to get the MRO # prints: # [<class '__main__.D'>, <class '__main__....
15.6
64
0.576923
81
546
3.444444
0.345679
0.258065
0.107527
0.107527
0.365591
0.365591
0.365591
0.365591
0.365591
0.365591
0
0
0.212454
546
34
65
16.058824
0.648837
0.391941
0
0
0
0
0.017442
0
0
0
0
0
0
1
0
false
0.090909
0
0
0.636364
0.181818
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
3
10bf6140bb70076c0d9617458ab440822c172415
608
py
Python
qcloudsdkmonitor/GetEventPolicyConfigRequest.py
f3n9/qcloudcli
b965a4f0e6cdd79c1245c1d0cd2ca9c460a56f19
[ "Apache-2.0" ]
null
null
null
qcloudsdkmonitor/GetEventPolicyConfigRequest.py
f3n9/qcloudcli
b965a4f0e6cdd79c1245c1d0cd2ca9c460a56f19
[ "Apache-2.0" ]
null
null
null
qcloudsdkmonitor/GetEventPolicyConfigRequest.py
f3n9/qcloudcli
b965a4f0e6cdd79c1245c1d0cd2ca9c460a56f19
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- from qcloudsdkcore.request import Request class GetEventPolicyConfigRequest(Request): def __init__(self): super(GetEventPolicyConfigRequest, self).__init__( 'monitor', 'qcloudcliV1', 'GetEventPolicyConfig', 'monitor.api.qcloud.com') def get_products(self): ...
27.636364
87
0.680921
65
608
6.123077
0.415385
0.090452
0.070352
0.085427
0.130653
0.130653
0
0
0
0
0
0.004065
0.190789
608
21
88
28.952381
0.804878
0.034539
0
0
0
0
0.157265
0.037607
0
0
0
0
0
1
0.384615
false
0
0.076923
0.153846
0.692308
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
10cfb90e716a88c332e35934af878bbb1de3e099
283
py
Python
src/thexb/UTIL_error_handlers.py
harris-2374/THEx
04c4f56eb2cf86b8f55ddd6edd3f48029296bf5a
[ "MIT" ]
null
null
null
src/thexb/UTIL_error_handlers.py
harris-2374/THEx
04c4f56eb2cf86b8f55ddd6edd3f48029296bf5a
[ "MIT" ]
null
null
null
src/thexb/UTIL_error_handlers.py
harris-2374/THEx
04c4f56eb2cf86b8f55ddd6edd3f48029296bf5a
[ "MIT" ]
null
null
null
class Error(Exception): """Base class for other exceptions""" pass class ConfigNotFound(Error): """Raise when config file is required but not present""" print(f"ERROR:FileNotFound: Please provide configuration file using '-c' argument or check file path") exit(1)
40.428571
106
0.717314
38
283
5.342105
0.842105
0
0
0
0
0
0
0
0
0
0
0.00431
0.180212
283
7
107
40.428571
0.87069
0.289753
0
0
0
0
0.481675
0
0
0
0
0
0
1
0
true
0.2
0
0
0.4
0.2
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
1
0
0
0
0
0
3
10d4d48d86d8d0a6a71b99b3020a81a1983b79af
80
py
Python
inputs/__init__.py
FusionCorps/2020-Green
c68c89351dcf32328b9d9c3a326ded0c53f3c9ed
[ "MIT" ]
5
2020-01-04T19:49:23.000Z
2020-02-08T15:32:08.000Z
inputs/__init__.py
FusionCorps/2020-Green
c68c89351dcf32328b9d9c3a326ded0c53f3c9ed
[ "MIT" ]
8
2019-10-24T03:17:18.000Z
2020-01-10T02:39:07.000Z
inputs/__init__.py
FusionCorps/2020-Green
c68c89351dcf32328b9d9c3a326ded0c53f3c9ed
[ "MIT" ]
1
2020-01-10T00:07:12.000Z
2020-01-10T00:07:12.000Z
from inputs.xbox_controller import XBoxController controller = XBoxController()
26.666667
49
0.8625
8
80
8.5
0.75
0
0
0
0
0
0
0
0
0
0
0
0.0875
80
3
50
26.666667
0.931507
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
10dbaa9a02df88fcc043f3d1031eb83ec0b059c6
80
py
Python
kicost/distributors/rs/__init__.py
lod/KiCost
9b4b236e829b138bf4f9be6af488a0db73f5073e
[ "MIT" ]
null
null
null
kicost/distributors/rs/__init__.py
lod/KiCost
9b4b236e829b138bf4f9be6af488a0db73f5073e
[ "MIT" ]
null
null
null
kicost/distributors/rs/__init__.py
lod/KiCost
9b4b236e829b138bf4f9be6af488a0db73f5073e
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- __author__='Giacinto Luigi Cerone' from .rs import *
11.428571
34
0.6375
10
80
4.7
1
0
0
0
0
0
0
0
0
0
0
0.015385
0.1875
80
6
35
13.333333
0.707692
0.2625
0
0
0
0
0.375
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
10fc7056f72946959eee7c1bd90ea2433941474c
2,994
py
Python
src/opengcl/datasets/pyg_dataset.py
thunlp/OpenGCL
52aed81db0f1534ede72080ec4fca911fa747e57
[ "MIT" ]
10
2021-06-19T17:40:51.000Z
2022-02-22T19:06:29.000Z
src/opengcl/datasets/pyg_dataset.py
thunlp/OpenGCL
52aed81db0f1534ede72080ec4fca911fa747e57
[ "MIT" ]
null
null
null
src/opengcl/datasets/pyg_dataset.py
thunlp/OpenGCL
52aed81db0f1534ede72080ec4fca911fa747e57
[ "MIT" ]
2
2021-06-30T03:36:25.000Z
2021-07-07T10:39:18.000Z
from abc import ABC from torch_geometric.datasets import CitationFull as pyg_CitationFull, \ WikiCS as pyg_WikiCS, Coauthor as pyg_Coauthor, Amazon as pyg_Amazon from .base_graph import Adapter import numpy as np import networkx as nx import torch from tqdm import tqdm class PyG(Adapter, ABC): def __init__(s...
22.511278
90
0.629593
360
2,994
4.969444
0.225
0.140861
0.0872
0.046954
0.543879
0.543879
0.543879
0.543879
0.508105
0.508105
0
0.001792
0.254509
2,994
132
91
22.681818
0.799731
0.00835
0
0.618557
0
0
0.040445
0
0
0
0
0
0
1
0.268041
false
0
0.072165
0.185567
0.597938
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
8005fe3583df33d91130850edfb60d2160127b4e
937
py
Python
pdf2xlsx/logger.py
etibger/pdf2rawtxt
432b4ab31c7512cbeeddc1d4ebd8c54bf42ff772
[ "MIT" ]
null
null
null
pdf2xlsx/logger.py
etibger/pdf2rawtxt
432b4ab31c7512cbeeddc1d4ebd8c54bf42ff772
[ "MIT" ]
null
null
null
pdf2xlsx/logger.py
etibger/pdf2rawtxt
432b4ab31c7512cbeeddc1d4ebd8c54bf42ff772
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Statistics collector helper class for pdf2xlsx """ class StatLogger(): """ Collect statistic about the zip to xlsx process. Assembles a list containin invoice number of items. Every item is the number of entries found during the invoice parsing. It implements a simple API: ne...
30.225806
90
0.635005
127
937
4.488189
0.511811
0.070175
0.063158
0.042105
0
0
0
0
0
0
0
0.007353
0.27428
937
30
91
31.233333
0.830882
0.588047
0
0
0
0
0.038062
0
0
0
0
0
0
1
0.444444
false
0
0
0.111111
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
800ae3e506672aa684d003774530e886ebd60570
337
py
Python
hackerrank/Data Structures/Waiter/test.py
ATrain951/01.python-com_Qproject
c164dd093954d006538020bdf2e59e716b24d67c
[ "MIT" ]
4
2020-07-24T01:59:50.000Z
2021-07-24T15:14:08.000Z
hackerrank/Data Structures/Waiter/test.py
ATrain951/01.python-com_Qproject
c164dd093954d006538020bdf2e59e716b24d67c
[ "MIT" ]
null
null
null
hackerrank/Data Structures/Waiter/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.assertListEqual(solution.waiter([3, 4, 7, 6, 5], 1), [4, 6, 3, 7, 5]) def test_case_1(self): self.assertListEqual(solution.waiter([3, 3, 4, 4, 9], 2), [4, 4, 9, 3, 3]) if __name__ == '__main__': ...
21.0625
82
0.617211
53
337
3.698113
0.45283
0.071429
0.112245
0.316327
0.387755
0.387755
0
0
0
0
0
0.090226
0.210682
337
15
83
22.466667
0.646617
0
0
0
0
0
0.023739
0
0
0
0
0
0.222222
1
0.222222
false
0
0.222222
0
0.555556
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
8020816cf04d4039c6261637637dd12c19a06e96
1,641
py
Python
src/train/direction.py
NinjasCL-archive/buda-test
fd692b191b10f944b9409641068999dadeab44f1
[ "MIT" ]
null
null
null
src/train/direction.py
NinjasCL-archive/buda-test
fd692b191b10f944b9409641068999dadeab44f1
[ "MIT" ]
null
null
null
src/train/direction.py
NinjasCL-archive/buda-test
fd692b191b10f944b9409641068999dadeab44f1
[ "MIT" ]
null
null
null
from .color import Color class Direction: up = 0 down = 1 same = 2 impossible = 3 direction = None def __init__(self, train): self.direction = self.impossible # Travel through parents if train._origin.id > train._to.id: self.direction = self.up ...
26.047619
56
0.563071
191
1,641
4.706806
0.277487
0.202447
0.245829
0.084538
0.355951
0.136819
0.136819
0.136819
0.136819
0.136819
0
0.00377
0.353443
1,641
62
57
26.467742
0.843544
0.107252
0
0.195122
0
0
0
0
0
0
0
0
0
1
0.146341
false
0
0.02439
0.121951
0.439024
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
0
0
1
0
0
0
3
803d4d26f46e7ddc665e7b629753e7a42e15625f
139
py
Python
58. Length of Last Word.py
fossabot/leetcode-2
335f1aa3ee785320515c3d3f03c2cb2df3bc13ba
[ "MIT" ]
2
2018-02-26T09:12:19.000Z
2019-06-07T13:38:10.000Z
58. Length of Last Word.py
fossabot/leetcode-2
335f1aa3ee785320515c3d3f03c2cb2df3bc13ba
[ "MIT" ]
1
2018-12-24T07:03:34.000Z
2018-12-24T07:03:34.000Z
58. Length of Last Word.py
fossabot/leetcode-2
335f1aa3ee785320515c3d3f03c2cb2df3bc13ba
[ "MIT" ]
2
2018-12-24T07:01:03.000Z
2019-06-07T13:38:07.000Z
class Solution: def lengthOfLastWord(self, s): s=s.split() if len(s)==0: return 0 return len(s[-1])
23.166667
34
0.496403
19
139
3.631579
0.631579
0.057971
0
0
0
0
0
0
0
0
0
0.034091
0.366906
139
6
35
23.166667
0.75
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
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
33767f587d143827b67fa38ea7ca5edb5e2ab25f
308
py
Python
PyShell_pcbnew_startup.py
djvs/mtf-jis
08c63e02e871bae45d34ec645dd83c7dad726aba
[ "MIT" ]
null
null
null
PyShell_pcbnew_startup.py
djvs/mtf-jis
08c63e02e871bae45d34ec645dd83c7dad726aba
[ "MIT" ]
null
null
null
PyShell_pcbnew_startup.py
djvs/mtf-jis
08c63e02e871bae45d34ec645dd83c7dad726aba
[ "MIT" ]
null
null
null
### DEFAULT STARTUP FILE FOR KiCad Python Shell # Enter any Python code you would like to execute when the PCBNEW python shell first runs. # For example, uncomment the following lines to import the current board # import pcbnew # import eeschema # board = pcbnew.GetBoard() # sch = eeschema.GetSchematic()
30.8
90
0.766234
44
308
5.363636
0.704545
0.09322
0
0
0
0
0
0
0
0
0
0
0.172078
308
9
91
34.222222
0.92549
0.938312
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
337cd7a73c80cd5e48a8ae20ccb1263a63ff2567
371
py
Python
backend/histocat/core/session.py
BodenmillerGroup/histocat-web
c598cd07506febf0b7c209626d4eb869761f2e62
[ "MIT" ]
4
2021-06-14T15:19:25.000Z
2022-02-09T13:17:39.000Z
backend/histocat/core/session.py
BodenmillerGroup/histocat-web
c598cd07506febf0b7c209626d4eb869761f2e62
[ "MIT" ]
null
null
null
backend/histocat/core/session.py
BodenmillerGroup/histocat-web
c598cd07506febf0b7c209626d4eb869761f2e62
[ "MIT" ]
1
2022-02-09T13:17:41.000Z
2022-02-09T13:17:41.000Z
from sqlalchemy import create_engine from sqlalchemy.orm import scoped_session, sessionmaker from histocat.config import config engine = create_engine(config.SQLALCHEMY_DATABASE_URI, pool_pre_ping=True) db_session = scoped_session(sessionmaker(autocommit=False, autoflush=False, bind=engine)) SessionLocal = sessionmak...
41.222222
89
0.849057
47
371
6.510638
0.489362
0.091503
0.163399
0.235294
0.333333
0.333333
0.333333
0
0
0
0
0
0.078167
371
8
90
46.375
0.894737
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
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
1
0
0
0
0
3
337d8d6093f7985578769b3c35d128893a74b6d0
164
py
Python
programme.py
bachir911/python
bf87bdf7d2aa40cf8b297538cd2041ccc33189e8
[ "MIT" ]
null
null
null
programme.py
bachir911/python
bf87bdf7d2aa40cf8b297538cd2041ccc33189e8
[ "MIT" ]
null
null
null
programme.py
bachir911/python
bf87bdf7d2aa40cf8b297538cd2041ccc33189e8
[ "MIT" ]
null
null
null
#Conditions sur les nombres pairs et impairs a = int(input("saisir nombre : ")) if a%2 == 0: print("le nombre est pair") else: print("le nombre est impair")
13.666667
44
0.664634
27
164
4.037037
0.777778
0.12844
0.238532
0.293578
0
0
0
0
0
0
0
0.015267
0.20122
164
11
45
14.909091
0.816794
0.262195
0
0
0
0
0.45
0
0
0
0
0
0
1
0
false
0
0
0
0
0.4
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
3384936bfcee5f3b6a6bff740874a07ba2f5db01
81
py
Python
ast-transformations-core/src/test/resources/org/jetbrains/research/ml/ast/transformations/ifRedundantLinesRemoval/data/pure/out_6.py
JetBrains-Research/ast-transformations
0ab408af3275b520cc87a473f418c4b4dfcb0284
[ "MIT" ]
8
2021-01-19T21:15:54.000Z
2022-02-23T19:16:25.000Z
ast-transformations-core/src/test/resources/org/jetbrains/research/ml/ast/transformations/ifRedundantLinesRemoval/data/pure/out_6.py
JetBrains-Research/ast-transformations
0ab408af3275b520cc87a473f418c4b4dfcb0284
[ "MIT" ]
4
2020-11-17T14:28:25.000Z
2022-02-24T07:54:28.000Z
ast-transformations-core/src/test/resources/org/jetbrains/research/ml/ast/transformations/ifRedundantLinesRemoval/data/pure/out_6.py
nbirillo/ast-transformations
717706765a2da29087a0de768fc851698886dd65
[ "MIT" ]
1
2022-02-23T19:16:30.000Z
2022-02-23T19:16:30.000Z
s = input() a = 2 b = a + a x = 1 y = x print(y) if not ((s)): print('bar')
8.1
16
0.432099
18
81
1.944444
0.666667
0
0
0
0
0
0
0
0
0
0
0.037037
0.333333
81
9
17
9
0.611111
0
0
0
0
0
0.037037
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
338ad922689a64163b4057a690691d34c77177f5
1,475
py
Python
venv/lib/python3.6/site-packages/pylint/test/functional/singledispatch_functions_py3.py
aitoehigie/britecore_flask
eef1873dbe6b2cc21f770bc6dec783007ae4493b
[ "MIT" ]
null
null
null
venv/lib/python3.6/site-packages/pylint/test/functional/singledispatch_functions_py3.py
aitoehigie/britecore_flask
eef1873dbe6b2cc21f770bc6dec783007ae4493b
[ "MIT" ]
1
2021-06-01T23:32:38.000Z
2021-06-01T23:32:38.000Z
venv/lib/python3.6/site-packages/pylint/test/functional/singledispatch_functions_py3.py
aitoehigie/britecore_flask
eef1873dbe6b2cc21f770bc6dec783007ae4493b
[ "MIT" ]
null
null
null
# pylint: disable=missing-docstring,import-error,unused-import,assignment-from-no-return # pylint: disable=invalid-name, too-few-public-methods, useless-object-inheritance from __future__ import print_function from UNINFERABLE import uninferable_func try: from functools import singledispatch except ImportError: ...
18.910256
88
0.747119
179
1,475
5.955307
0.346369
0.050657
0.101313
0.0394
0.227955
0.227955
0.140713
0.140713
0.140713
0.140713
0
0.012126
0.161356
1,475
77
89
19.155844
0.849636
0.175593
0
0.375
0
0
0.015715
0
0
0
0
0
0
1
0.25
false
0
0.104167
0.208333
0.625
0.041667
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
338e3d4875c84381fc97e0fed6ddd915db2085cc
62
py
Python
python/flareapps/django/flarebytecore/forms/__init__.py
flarebyte/wonderful-bazar
810514cd7d73505b11d738f8b84d91842d18d074
[ "MIT" ]
null
null
null
python/flareapps/django/flarebytecore/forms/__init__.py
flarebyte/wonderful-bazar
810514cd7d73505b11d738f8b84d91842d18d074
[ "MIT" ]
null
null
null
python/flareapps/django/flarebytecore/forms/__init__.py
flarebyte/wonderful-bazar
810514cd7d73505b11d738f8b84d91842d18d074
[ "MIT" ]
null
null
null
__author__="olivierhuin" __date__ ="$Oct 6, 2009 10:11:25 PM$"
31
37
0.725806
10
62
3.7
1
0
0
0
0
0
0
0
0
0
0
0.196429
0.096774
62
2
37
31
0.464286
0
0
0
0
0
0.571429
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
339b15f440232a3f5e07a9f52238e5690047689f
167
py
Python
setup.py
bingqingsuimeng/ctypesgen
5ddc80e89abe8b02591a9baa1d857ce1f55bdee6
[ "BSD-2-Clause" ]
200
2015-05-12T03:02:39.000Z
2021-08-10T23:24:44.000Z
setup.py
bingqingsuimeng/ctypesgen
5ddc80e89abe8b02591a9baa1d857ce1f55bdee6
[ "BSD-2-Clause" ]
88
2015-05-11T15:49:11.000Z
2021-08-19T22:02:12.000Z
setup.py
bingqingsuimeng/ctypesgen
5ddc80e89abe8b02591a9baa1d857ce1f55bdee6
[ "BSD-2-Clause" ]
87
2015-05-11T19:09:51.000Z
2021-08-19T17:11:07.000Z
#!/usr/bin/env python3 """Examples: setup.py sdist setup.py bdist_wininst """ from setuptools import setup if __name__ == "__main__": setup()
11.928571
30
0.622754
20
167
4.75
0.8
0.147368
0
0
0
0
0
0
0
0
0
0.008
0.251497
167
13
31
12.846154
0.752
0.419162
0
0
0
0
0.109589
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
339efd0c44f936c147f0870655c9b3afa6bf0cf7
1,082
py
Python
tests/basic/var_positional.py
mauricelam/hashbang
80f7a335a3d0065b72e691e06882fc6be0729634
[ "Apache-2.0" ]
2
2020-01-09T08:22:37.000Z
2022-02-02T08:52:08.000Z
tests/basic/var_positional.py
mauricelam/hashbang
80f7a335a3d0065b72e691e06882fc6be0729634
[ "Apache-2.0" ]
3
2020-04-13T07:07:12.000Z
2022-03-22T03:03:00.000Z
tests/basic/var_positional.py
mauricelam/hashbang
80f7a335a3d0065b72e691e06882fc6be0729634
[ "Apache-2.0" ]
1
2021-01-26T23:06:59.000Z
2021-01-26T23:06:59.000Z
#!/usr/bin/env python3 ''' $ var_positional.py # returncode=2 stderr=True usage: var_positional.py [-h] arg1 [arg2] [args [args ...]] var_positional.py: error: the following arguments are required: arg1, args $ var_positional.py 123 arg1='123' arg2='two' args=() $ var_positional.py 123 456 arg1='123' arg2='456' arg...
23.521739
75
0.669131
158
1,082
4.455696
0.316456
0.221591
0.255682
0.134943
0.524148
0.443182
0.274148
0.274148
0.274148
0.221591
0
0.106987
0.15342
1,082
45
76
24.044444
0.661572
0.804991
0
0
0
0
0.167488
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.333333
0.166667
0
0
0
null
1
1
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
0
0
3
33a81ca99211e470b1e7cf9977b76b62d58896c9
2,184
py
Python
examples/mark_safe_secure.py
mikelolasagasti/bandit
3dca7820158ea04668878186a29d34e81bbd7fe3
[ "Apache-2.0" ]
4,016
2018-04-26T13:01:54.000Z
2022-03-31T15:57:41.000Z
examples/mark_safe_secure.py
lweslen/bandit
2bd1ffaae1b83102af8587dcbeecd0b402dbec4e
[ "Apache-2.0" ]
570
2018-04-26T10:07:41.000Z
2022-03-29T18:55:09.000Z
examples/mark_safe_secure.py
lweslen/bandit
2bd1ffaae1b83102af8587dcbeecd0b402dbec4e
[ "Apache-2.0" ]
484
2018-04-26T09:59:46.000Z
2022-03-31T18:00:50.000Z
import os from django.utils import safestring safestring.mark_safe('<b>secure</b>') safestring.SafeText('<b>secure</b>') safestring.SafeUnicode('<b>secure</b>') safestring.SafeString('<b>secure</b>') safestring.SafeBytes('<b>secure</b>') my_secure_str = '<b>Hello World</b>' safestring.mark_safe(my_secure_str) my_sec...
28.736842
83
0.650641
323
2,184
4.102167
0.154799
0.230943
0.26566
0.157736
0.698113
0.689057
0.651321
0.572075
0.572075
0.411321
0
0.00551
0.168956
2,184
75
84
29.12
0.724518
0.014652
0
0.344828
0
0
0.141993
0
0
0
0
0.013333
0
1
0.103448
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
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
3
33a9c907d7a946baed7e71a52ed94ca138dd87c4
250
py
Python
clase7/banco/clientes.py
Munoz-Rojas-Adriana/Computacion_para_Ingenieria
4f695887966a94b6c422d100c2c4ec4a94d1e80e
[ "Apache-2.0" ]
null
null
null
clase7/banco/clientes.py
Munoz-Rojas-Adriana/Computacion_para_Ingenieria
4f695887966a94b6c422d100c2c4ec4a94d1e80e
[ "Apache-2.0" ]
null
null
null
clase7/banco/clientes.py
Munoz-Rojas-Adriana/Computacion_para_Ingenieria
4f695887966a94b6c422d100c2c4ec4a94d1e80e
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Tue Feb 15 22:58:31 2022 @author: ACER """ class clientes: def __init__(self,nombre): self.nombre=nombre def showCliente(self): print("show el clientes ", self.nombre)
17.857143
47
0.576
32
250
4.375
0.75
0.214286
0
0
0
0
0
0
0
0
0
0.072626
0.284
250
14
48
17.857143
0.709497
0.292
0
0
0
0
0.1
0
0
0
0
0
0
1
0.4
false
0
0
0
0.6
0.2
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
33b5c00a33290806fd7c903fc3d6b38b25b48182
2,872
py
Python
cheesepi/storage/dao.py
rdcprojects/cheesepi
c6a57552a72c3e6b8875fbc909ecc92f9e53b8de
[ "Apache-2.0" ]
6
2019-11-28T20:41:15.000Z
2022-03-03T10:40:10.000Z
cheesepi/storage/dao.py
rdcprojects/cheesepi
c6a57552a72c3e6b8875fbc909ecc92f9e53b8de
[ "Apache-2.0" ]
5
2016-07-11T16:43:43.000Z
2022-03-03T10:40:54.000Z
cheesepi/storage/dao.py
rdcprojects/cheesepi
c6a57552a72c3e6b8875fbc909ecc92f9e53b8de
[ "Apache-2.0" ]
6
2016-07-11T16:40:20.000Z
2020-09-06T13:16:09.000Z
""" Copyright (c) 2015, Swedish Institute of Computer Science All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list ...
34.60241
86
0.76532
422
2,872
5.165877
0.459716
0.016055
0.045872
0.050459
0.229817
0.192661
0.159633
0.159633
0.159633
0.159633
0
0.003366
0.172354
2,872
82
87
35.02439
0.913757
0.684192
0
0.363636
0
0
0.257406
0.043922
0
0
0
0
0
1
0.333333
false
0.181818
0.030303
0.030303
0.545455
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
33c79b234715151253dfb5bec837ec7d682c7da4
356
py
Python
oxpytools/io/__init__.py
watsonjj/oxpytools
99f01d0a979d4592d5295b431f32676ba452d39a
[ "BSD-3-Clause" ]
null
null
null
oxpytools/io/__init__.py
watsonjj/oxpytools
99f01d0a979d4592d5295b431f32676ba452d39a
[ "BSD-3-Clause" ]
null
null
null
oxpytools/io/__init__.py
watsonjj/oxpytools
99f01d0a979d4592d5295b431f32676ba452d39a
[ "BSD-3-Clause" ]
null
null
null
"""Contains the methods for reading and writing of files. All modules and classes involved in the reading or writing of files are included within this module. Default methods used for writing files (such as images) do not need to have further definition here, but it is recommended to obtain the path used for writing t...
44.5
77
0.792135
60
356
4.7
0.7
0.06383
0.099291
0
0
0
0
0
0
0
0
0
0.174157
356
8
78
44.5
0.959184
0.977528
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
33e5c047aff22b1d9a9407176f83ab39838e9f4c
237
py
Python
DNA_Basenpaare_Kombination.py
ostseegloeckchen/basics
218b29c62f575d88c27104c05fee917b3466e8d0
[ "bzip2-1.0.6" ]
null
null
null
DNA_Basenpaare_Kombination.py
ostseegloeckchen/basics
218b29c62f575d88c27104c05fee917b3466e8d0
[ "bzip2-1.0.6" ]
null
null
null
DNA_Basenpaare_Kombination.py
ostseegloeckchen/basics
218b29c62f575d88c27104c05fee917b3466e8d0
[ "bzip2-1.0.6" ]
null
null
null
#Ermittle alle denkbaren Sequenzen mit den vier Basenpaaren AT, TA, CG, GC paare="AT","TA","CG","GC" for a in paare: for b in paare: for c in paare: for d in paare: print(a+b+c+d,end=" ")
26.333333
75
0.540084
39
237
3.282051
0.538462
0.21875
0.234375
0.125
0
0
0
0
0
0
0
0
0.337553
237
8
76
29.625
0.815287
0.308017
0
0
0
0
0.058065
0
0
0
0
0
0
1
0
false
0
0
0
0
0.166667
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
33f3f7b675da2a4bbbeb2aa28abfb5fc75064bcf
320
py
Python
cherepashka/circles.py
renataeva/python-basics
0d8a2c6eda3aa31cca61fb2c727956f82642ebc8
[ "Apache-2.0" ]
1
2021-02-14T10:43:43.000Z
2021-02-14T10:43:43.000Z
cherepashka/circles.py
renataeva/python-basics
0d8a2c6eda3aa31cca61fb2c727956f82642ebc8
[ "Apache-2.0" ]
null
null
null
cherepashka/circles.py
renataeva/python-basics
0d8a2c6eda3aa31cca61fb2c727956f82642ebc8
[ "Apache-2.0" ]
null
null
null
import turtle import random r = 250 t = turtle.Pen() t.setposition(0, -260) while r > 0: t.fillcolor(random.random(), random.random(), random.random()) t.pencolor((random.random(), random.random(), random.random())) t.begin_fill() t.circle(r) t.end_fill() r -= 10 turtle.Screen().exitonclick()
20
67
0.64375
46
320
4.434783
0.434783
0.588235
0.705882
0.705882
0.362745
0.362745
0.362745
0
0
0
0
0.037736
0.171875
320
15
68
21.333333
0.732075
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.153846
0
0.153846
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
33fb3c6863d62c69200443b6700cbf50dd0890e3
1,214
py
Python
music-rnn/modules/classes.py
AndreaDellera/Tesi
5c318b64e6af34454991d047e8bd22986581bf22
[ "Apache-2.0" ]
null
null
null
music-rnn/modules/classes.py
AndreaDellera/Tesi
5c318b64e6af34454991d047e8bd22986581bf22
[ "Apache-2.0" ]
null
null
null
music-rnn/modules/classes.py
AndreaDellera/Tesi
5c318b64e6af34454991d047e8bd22986581bf22
[ "Apache-2.0" ]
null
null
null
__author__ = 'Andrea' from functions import encode get_bin = lambda x: x >= 0 and str(bin(x))[2:] or "-" + str(bin(x))[3:] class Pitch(object): step = None alter = None def __init__(self, pitch): # pitch contructor if pitch is not None: self.step = pitch.find('step') sel...
26.391304
71
0.617792
167
1,214
4.377246
0.317365
0.049248
0.053352
0.102599
0.183311
0.183311
0.183311
0.183311
0.183311
0.183311
0
0.007946
0.2743
1,214
45
72
26.977778
0.821793
0.176277
0
0.166667
0
0
0.039275
0
0
0
0
0
0
1
0.233333
false
0
0.033333
0.133333
0.533333
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
1d2ea71261700607209002e4d549b830def46cf9
2,299
py
Python
src/write.py
Nikoof/9m-dl
e860c2f79d555a9949a2936bca41bed11b3a94f5
[ "MIT" ]
null
null
null
src/write.py
Nikoof/9m-dl
e860c2f79d555a9949a2936bca41bed11b3a94f5
[ "MIT" ]
2
2022-01-29T20:58:51.000Z
2022-01-30T20:35:16.000Z
src/write.py
Nikoof/9m-dl
e860c2f79d555a9949a2936bca41bed11b3a94f5
[ "MIT" ]
null
null
null
import os import zipfile class Writer: def file_exists(self, file: str) -> bool: """Checks whether a file exists within a given archive. Parameters ---------- file_name : str Name of the file to check for. Returns ------- True: If th...
28.7375
107
0.579817
269
2,299
4.810409
0.271375
0.054096
0.081144
0.040185
0.525502
0.452859
0.452859
0.452859
0.452859
0.452859
0
0.000643
0.323619
2,299
80
108
28.7375
0.831511
0.441931
0
0.333333
0
0
0.001059
0
0
0
0
0.0125
0
1
0.333333
false
0
0.111111
0
0.722222
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
1
0
0
1
0
0
0
0
1
0
0
3
1d3947295d3d6cee6514d12373b57e33a8bb424b
1,348
py
Python
pythia/journal/colors/ColorScheme.py
willic3/pythia
2657b95a0c07fd3c914ab6b5f7ec89a8edba004c
[ "BSD-3-Clause" ]
1
2015-11-30T08:01:39.000Z
2015-11-30T08:01:39.000Z
pythia/journal/colors/ColorScheme.py
willic3/pythia
2657b95a0c07fd3c914ab6b5f7ec89a8edba004c
[ "BSD-3-Clause" ]
27
2018-05-24T18:31:25.000Z
2021-10-16T03:57:52.000Z
pythia/journal/colors/ColorScheme.py
willic3/pythia
2657b95a0c07fd3c914ab6b5f7ec89a8edba004c
[ "BSD-3-Clause" ]
7
2019-07-19T02:30:56.000Z
2021-06-02T22:00:01.000Z
#!/usr/bin/env python # # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # # California Institute of Technology # (C) 2006 All Rights Reserved # # {LicenseText} # # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~...
32.878049
86
0.607567
131
1,348
6.221374
0.396947
0.159509
0.279755
0.296933
0.147239
0
0
0
0
0
0
0.00349
0.149852
1,348
40
87
33.7
0.707679
0.232196
0
0
0
0
0.176931
0
0
0
0
0
0
1
0.0625
false
0
0.125
0.0625
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
1d3ad0f2dc75c53d647d68a066425be43c4781eb
211
py
Python
yunionclient/api/reservedips.py
tb365/mcclient_python
06647e7496b9e2c3aeb5ade1276c81871063159b
[ "Apache-2.0" ]
3
2021-09-22T11:34:08.000Z
2022-03-13T04:55:17.000Z
yunionclient/api/reservedips.py
xhw20190116/python_yunionsdk
eb7c8c08300d38dac204ec4980a775abc9c7083a
[ "Apache-2.0" ]
13
2019-06-06T08:25:41.000Z
2021-07-16T07:26:10.000Z
yunionclient/api/reservedips.py
xhw20190116/python_yunionsdk
eb7c8c08300d38dac204ec4980a775abc9c7083a
[ "Apache-2.0" ]
7
2019-03-31T05:43:36.000Z
2021-03-04T09:59:05.000Z
from yunionclient.common import base class ReservedIPManager(base.StandaloneManager): keyword = 'reservedip' keyword_plural = 'reservedips' _columns = ['Network_ID', 'Network', 'IP_addr', 'Notes']
26.375
60
0.729858
21
211
7.142857
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.151659
211
7
61
30.142857
0.837989
0
0
0
0
0
0.236967
0
0
0
0
0
0
1
0
false
0
0.2
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
1d3e4410cd303e466a1869b18ae9ec36c1a01edb
1,585
py
Python
boinc/py/Boinc/db_mid.py
tomasbrod/tbboinc
c125cc355b2dc9a1e536b5e5ded028d4e7f4613a
[ "MIT" ]
null
null
null
boinc/py/Boinc/db_mid.py
tomasbrod/tbboinc
c125cc355b2dc9a1e536b5e5ded028d4e7f4613a
[ "MIT" ]
4
2020-09-07T15:54:45.000Z
2020-09-27T16:47:16.000Z
boinc_new/py/Boinc/db_mid.py
tomasbrod/tbboinc
c125cc355b2dc9a1e536b5e5ded028d4e7f4613a
[ "MIT" ]
null
null
null
## $Id$ ## database middle-end. This file is not required for normal database use. ## it is useful for debugging scripts; e.g. ## ## print database.Users[1] ## ## will look prettier if you import this module. from Boinc import database def MixIn(pyClass, mixInClass): pyClass.__bases__ = (mixInClass,) + pyCla...
28.303571
99
0.668139
224
1,585
4.464286
0.25
0.024
0.088
0.136
0.174
0.162
0.148
0.104
0
0
0
0.000777
0.188013
1,585
55
100
28.818182
0.776224
0.120505
0
0.222222
0
0
0.089195
0
0
0
0
0
0
1
0.25
false
0
0.027778
0.222222
0.722222
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
1d499cc3f622422300ffdbc4255bc9ef9b56f4a1
484
py
Python
wlra/tests/fixtures.py
aksarkar/wlra
15b1f2d100bdff396de3446d8a04dab692486ead
[ "MIT" ]
7
2019-09-11T21:11:04.000Z
2021-12-21T07:04:42.000Z
wlra/tests/fixtures.py
aksarkar/wlra
15b1f2d100bdff396de3446d8a04dab692486ead
[ "MIT" ]
null
null
null
wlra/tests/fixtures.py
aksarkar/wlra
15b1f2d100bdff396de3446d8a04dab692486ead
[ "MIT" ]
1
2019-09-11T22:28:31.000Z
2019-09-11T22:28:31.000Z
import numpy as np import pytest @pytest.fixture def simulate(): np.random.seed(0) l = np.random.normal(size=(100, 3)) f = np.random.normal(size=(3, 200)) eta = l.dot(f) eta *= 5 / eta.max() x = np.random.poisson(lam=np.exp(eta)) return x, eta @pytest.fixture def simulate_lam_low_rank(): np.random.see...
21.043478
45
0.642562
89
484
3.460674
0.337079
0.207792
0.181818
0.233766
0.441558
0.246753
0
0
0
0
0
0.047264
0.169421
484
22
46
22
0.718905
0
0
0.210526
0
0
0
0
0
0
0
0
0
1
0.105263
false
0
0.105263
0
0.315789
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
1da5bf004a93ac12170ad5f32431ea6770b72267
144
py
Python
003.py
rafaelgervickas/Exercicios
36397a9d78135f5eec29e8df95bfdb9de4ffa932
[ "Apache-2.0" ]
null
null
null
003.py
rafaelgervickas/Exercicios
36397a9d78135f5eec29e8df95bfdb9de4ffa932
[ "Apache-2.0" ]
null
null
null
003.py
rafaelgervickas/Exercicios
36397a9d78135f5eec29e8df95bfdb9de4ffa932
[ "Apache-2.0" ]
null
null
null
n1 = int(input('Digite um Valor:')) n2 = int(input('Digite outro valor:')) s = n1 + n2 print('A some entre {} e {} é {}'.format(n1, n2, s))
28.8
53
0.569444
25
144
3.28
0.64
0.195122
0.341463
0
0
0
0
0
0
0
0
0.052174
0.201389
144
4
54
36
0.66087
0
0
0
0
0
0.428571
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
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
d516ca5fdef74d006a028a1a3e419faf533c8a90
216
py
Python
tests/conftest.py
mattyocode/excel-ngrams
7c6db3bd38c8b8ca471d936c3dd810f3a627d26e
[ "MIT" ]
null
null
null
tests/conftest.py
mattyocode/excel-ngrams
7c6db3bd38c8b8ca471d936c3dd810f3a627d26e
[ "MIT" ]
null
null
null
tests/conftest.py
mattyocode/excel-ngrams
7c6db3bd38c8b8ca471d936c3dd810f3a627d26e
[ "MIT" ]
null
null
null
"""Base pytest fixtures.""" from _pytest.config import Config def pytest_configure(config: Config) -> None: """Marks end to end tests.""" config.addinivalue_line("markers", "e2e: mark as end-to-end test.")
27
71
0.694444
30
216
4.9
0.666667
0.068027
0.108844
0
0
0
0
0
0
0
0
0.005464
0.152778
216
7
72
30.857143
0.797814
0.208333
0
0
0
0
0.225
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
0
0
0
3
d51be3e464f56a6cc0b2ff09734053803bde9acf
261
py
Python
Data/Packages/ZZZ/ShowTimeInStatus.py
koery/win-sublime
1b16cbe9858eced52567971286109250df787d36
[ "MIT" ]
null
null
null
Data/Packages/ZZZ/ShowTimeInStatus.py
koery/win-sublime
1b16cbe9858eced52567971286109250df787d36
[ "MIT" ]
null
null
null
Data/Packages/ZZZ/ShowTimeInStatus.py
koery/win-sublime
1b16cbe9858eced52567971286109250df787d36
[ "MIT" ]
null
null
null
import sublime, sublime_plugin import time class ShowTimeInStatusCommand(sublime_plugin.TextCommand): def run(self, edit): # view.set_status('time_msg', ' 当前时间:'+datetime.datetime.now()) sublime.status_message(' 当前时间:'+time.strftime("%Y-%m-%d %H:%M:%S"))
32.625
69
0.735632
36
261
5.194444
0.694444
0.139037
0
0
0
0
0
0
0
0
0
0
0.088123
261
7
70
37.285714
0.785714
0.233716
0
0
0
0
0.116162
0
0
0
0
0
0
1
0.2
false
0
0.4
0
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
d520bdc546d8dbc42c033d834ab0ddc12cbe81e1
698
py
Python
week2-graphs/graphs.py
fbaroni/algorithmic-toolbox
1f433ed0d16c702105352ee3ffb4645e0bdc6d3f
[ "Apache-2.0" ]
null
null
null
week2-graphs/graphs.py
fbaroni/algorithmic-toolbox
1f433ed0d16c702105352ee3ffb4645e0bdc6d3f
[ "Apache-2.0" ]
null
null
null
week2-graphs/graphs.py
fbaroni/algorithmic-toolbox
1f433ed0d16c702105352ee3ffb4645e0bdc6d3f
[ "Apache-2.0" ]
null
null
null
import matplotlib.pyplot as plt import numpy as np import math n = np.linspace(2, 7) plt.plot(n, n**3, label="n**3") plt.plot(n, n**0.3, label="n**0.3") plt.plot(n, n, label="n") plt.plot(n, np.sqrt(n), label="sqrtn") plt.plot(n, (n ** 2) / np.sqrt(n), label="(n ** 2) / np.sqrt(n)") plt.plot(n, n ** 2, label="n **2") ...
31.727273
65
0.570201
152
698
2.618421
0.184211
0.246231
0.281407
0.180905
0.502513
0.40201
0.346734
0.346734
0.346734
0.346734
0
0.046053
0.12894
698
22
66
31.727273
0.608553
0
0
0.3
0
0
0.16309
0
0
0
0
0
0
1
0
false
0
0.15
0
0.15
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
d52ef525563127039222326f3cb8a0b5dcabda22
298
py
Python
c_ast/hir/ContinueStatement.py
qram9/c_ast
fe7b4b86f6f652ef791c4d1520e46aa7066defda
[ "MIT" ]
null
null
null
c_ast/hir/ContinueStatement.py
qram9/c_ast
fe7b4b86f6f652ef791c4d1520e46aa7066defda
[ "MIT" ]
null
null
null
c_ast/hir/ContinueStatement.py
qram9/c_ast
fe7b4b86f6f652ef791c4d1520e46aa7066defda
[ "MIT" ]
null
null
null
from hir.Statement import Statement class ContinueStatement(Statement): """Nothing to see here. Self-explanatory""" def __repr__(self): return 'continue' + ';' def ContinueTest(): k = ContinueStatement() return k if __name__ == '__main__': print(ContinueTest())
15.684211
47
0.661074
30
298
6.166667
0.733333
0
0
0
0
0
0
0
0
0
0
0
0.218121
298
18
48
16.555556
0.793991
0.124161
0
0
0
0
0.066929
0
0
0
0
0
0
1
0.222222
false
0
0.111111
0.111111
0.666667
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
d59a540440bf42d188b313bd7cb5e67eac88f30b
308
py
Python
BackEnd/model/joint/static_paths.py
ahmobayen/image_processing
d616b2ca2dafba1fb519f025044481eb1a2e760b
[ "MIT" ]
null
null
null
BackEnd/model/joint/static_paths.py
ahmobayen/image_processing
d616b2ca2dafba1fb519f025044481eb1a2e760b
[ "MIT" ]
null
null
null
BackEnd/model/joint/static_paths.py
ahmobayen/image_processing
d616b2ca2dafba1fb519f025044481eb1a2e760b
[ "MIT" ]
null
null
null
from os import path # Working Directories BASE_PATH = path.abspath(path.dirname(path.dirname(path.dirname(__file__)))) STATIC_PATH = path.join(BASE_PATH, 'static/') TRAINING_PATH = path.join(STATIC_PATH, 'training/') VIDEO_PATH = path.join(STATIC_PATH, 'videos/') LOGS_PATH = path.join(BASE_PATH, 'logs/')
30.8
76
0.75974
45
308
4.911111
0.355556
0.180995
0.217195
0.199095
0.380091
0
0
0
0
0
0
0
0.090909
308
9
77
34.222222
0.789286
0.061688
0
0
0
0
0.097902
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d5b0b3382fa15794ff237570e77d44da9cb835a9
73
py
Python
src/lib/webbrowser.py
timmartin/skulpt
2e3a3fbbaccc12baa29094a717ceec491a8a6750
[ "MIT" ]
10
2015-11-13T17:02:40.000Z
2021-02-09T23:21:05.000Z
src/lib/webbrowser.py
timmartin/skulpt
2e3a3fbbaccc12baa29094a717ceec491a8a6750
[ "MIT" ]
43
2015-06-03T17:59:23.000Z
2021-09-17T10:45:21.000Z
src/lib/webbrowser.py
timmartin/skulpt
2e3a3fbbaccc12baa29094a717ceec491a8a6750
[ "MIT" ]
4
2019-10-16T21:50:53.000Z
2021-01-11T06:25:57.000Z
raise NotImplementedError("webbrowser is not yet implemented in Skulpt")
36.5
72
0.835616
9
73
6.777778
1
0
0
0
0
0
0
0
0
0
0
0
0.109589
73
1
73
73
0.938462
0
0
0
0
0
0.589041
0
0
0
0
0
0
1
0
true
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
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
63476426757790a20858eb33ad679576da62eef7
889
py
Python
src/django_handy_models/views.py
Feelixe-tin/django-handy-models
dbc279ff95c5d7e5f5eaa308612d1d7fc3abb005
[ "MIT" ]
2
2021-06-12T20:32:27.000Z
2021-06-25T06:37:05.000Z
src/django_handy_models/views.py
Feelixe-tin/django-handy-models
dbc279ff95c5d7e5f5eaa308612d1d7fc3abb005
[ "MIT" ]
null
null
null
src/django_handy_models/views.py
Feelixe-tin/django-handy-models
dbc279ff95c5d7e5f5eaa308612d1d7fc3abb005
[ "MIT" ]
null
null
null
from rest_framework import viewsets from .models import Country, Language, Continent, Currency, Timezone from .serializers import ( CountrySerializer, LanguageSerializer, ContinentSerializer, CurrencySerializer, TimezoneSerializer, ) class CountryViewSet(viewsets.ModelViewSet): serializer_clas...
29.633333
68
0.786277
76
889
9.118421
0.368421
0.1443
0.21645
0.252525
0
0
0
0
0
0
0
0
0.142857
889
30
69
29.633333
0.909449
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.125
0
0.75
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
636f5e5ffef517fca89455a554a99008d481edaf
2,068
py
Python
infrabox/test/pyinfraboxutils/test.py
agu3rra/InfraBox
a814e83bfc4d31292b578b2a54b27d70eafc787f
[ "Apache-2.0" ]
265
2018-04-20T21:09:06.000Z
2022-02-20T19:58:02.000Z
infrabox/test/pyinfraboxutils/test.py
agu3rra/InfraBox
a814e83bfc4d31292b578b2a54b27d70eafc787f
[ "Apache-2.0" ]
295
2018-04-23T08:53:18.000Z
2022-03-25T07:05:11.000Z
infrabox/test/pyinfraboxutils/test.py
agu3rra/InfraBox
a814e83bfc4d31292b578b2a54b27d70eafc787f
[ "Apache-2.0" ]
75
2018-05-14T07:56:35.000Z
2022-03-26T09:37:29.000Z
#! /usr/bin/env python import unittest import sys import xmlrunner from pyinfraboxutils.coverage import * class TestCoverageMethods(unittest.TestCase): def test_jacoco(self): parser = Parser("data/report_test.xml") parser.parse(None, create_markup=False) self.assertTrue(parser.files[0].fu...
39.018868
77
0.666828
258
2,068
5.22093
0.232558
0.179659
0.311804
0.389755
0.665182
0.659243
0.510765
0.25167
0.059391
0
0
0.028144
0.192456
2,068
52
78
39.769231
0.778443
0.010155
0
0.04878
0
0
0.060606
0.013685
0
0
0
0
0.512195
1
0.04878
false
0
0.097561
0
0.170732
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
6375e2af7fdc66c9dd263af2a3504cf8fa2fdd73
795
py
Python
src/i2c_controller.py
samuel-messing/otto
8e781089bb9d256ade10ca88cc92f6710ebf1f09
[ "MIT" ]
null
null
null
src/i2c_controller.py
samuel-messing/otto
8e781089bb9d256ade10ca88cc92f6710ebf1f09
[ "MIT" ]
1
2020-02-04T16:12:25.000Z
2020-02-04T16:12:25.000Z
src/i2c_controller.py
samuel-messing/otto
8e781089bb9d256ade10ca88cc92f6710ebf1f09
[ "MIT" ]
null
null
null
import smbus from functools import reduce class I2cController(object): def __init__(self): self.bus = smbus.SMBus(1) self.on_pins = set() self.off_pins = {0, 1, 2, 3, 4, 5} self._update() def on(self, decimal_pin_number): self.off_pins.remove(decimal_pin_number) ...
29.444444
77
0.605031
111
795
4.045045
0.387387
0.13363
0.213808
0.267261
0.423163
0.405345
0.160356
0.160356
0
0
0
0.021277
0.290566
795
26
78
30.576923
0.774823
0.090566
0
0.157895
0
0
0
0
0
0
0.005556
0
0
1
0.210526
false
0
0.105263
0
0.368421
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
63c6e50cd28d3b2f604237fbde3c60d140914613
348
py
Python
fourpisky/__init__.py
4pisky/fourpisky-core
1dc9c4f73dfef075e2a27c3c8453d811a5a99e58
[ "BSD-2-Clause" ]
2
2016-08-25T22:20:58.000Z
2018-11-18T21:16:11.000Z
fourpisky/__init__.py
4pisky/fourpisky-core
1dc9c4f73dfef075e2a27c3c8453d811a5a99e58
[ "BSD-2-Clause" ]
2
2016-11-01T14:10:58.000Z
2016-11-01T14:11:39.000Z
fourpisky/__init__.py
4pisky/fourpisky-core
1dc9c4f73dfef075e2a27c3c8453d811a5a99e58
[ "BSD-2-Clause" ]
null
null
null
from __future__ import absolute_import import fourpisky.comms import fourpisky.visibility import fourpisky.filters import fourpisky.formatting import fourpisky.triggers import fourpisky.utils import fourpisky.voevent from ._version import get_versions __versiondict__ = get_versions() __version__ = __versiondict__['v...
19.333333
40
0.853448
40
348
6.9
0.425
0.380435
0
0
0
0
0
0
0
0
0
0
0.100575
348
17
41
20.470588
0.881789
0
0
0
0
0
0.020231
0
0
0
0
0
0
1
0
false
0
0.75
0
0.75
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
63cc4812c6d42b8a0b8793a2aece33403353e5f5
81
py
Python
sentry_chalice/__init__.py
cuenca-mx/sentry-chalice
3a19d314e4050da712284f81714f14c7caca53aa
[ "MIT" ]
3
2020-07-29T00:09:48.000Z
2020-07-31T15:54:29.000Z
sentry_chalice/__init__.py
cuenca-mx/sentry-chalice
3a19d314e4050da712284f81714f14c7caca53aa
[ "MIT" ]
30
2020-07-30T05:37:27.000Z
2020-09-18T22:17:07.000Z
sentry_chalice/__init__.py
cuenca-mx/sentry-chalice
3a19d314e4050da712284f81714f14c7caca53aa
[ "MIT" ]
null
null
null
__all__ = ['ChaliceIntegration'] from .sentry_chalice import ChaliceIntegration
20.25
46
0.82716
7
81
8.857143
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.098765
81
3
47
27
0.849315
0
0
0
0
0
0.222222
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
89271ffa7da1f281a6006e9b1696f89e9a18d91a
608
py
Python
tour-of-pyroes/top5/app/pyro_service.py
anpylar/anpylar-tutorial
070bab3ff0ed4f34449d75d01b5b851cf878da40
[ "MIT" ]
1
2018-01-18T17:34:18.000Z
2018-01-18T17:34:18.000Z
tour-of-pyroes/top5/app/pyro_service.py
anpylar/anpylar-tutorial
070bab3ff0ed4f34449d75d01b5b851cf878da40
[ "MIT" ]
null
null
null
tour-of-pyroes/top5/app/pyro_service.py
anpylar/anpylar-tutorial
070bab3ff0ed4f34449d75d01b5b851cf878da40
[ "MIT" ]
null
null
null
############################################################################### # Copyright 2018 The AnPyLar Team. All Rights Reserved. # Use of this source code is governed by an MIT-style license that # can be found in the LICENSE file at http://anpylar.com/mit-license ################################################...
33.777778
79
0.542763
68
608
4.794118
0.647059
0.08589
0
0
0
0
0
0
0
0
0
0.007663
0.141447
608
17
80
35.764706
0.616858
0.304276
0
0
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0.285714
0.285714
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
89338ad4e56ec86d38fb89564a13ffb5e4edb3ab
721
py
Python
barracuda_waf/setup.py
xhennessy-r7/insightconnect-plugins
59268051313d67735b5dd3a30222eccb92aca8e9
[ "MIT" ]
null
null
null
barracuda_waf/setup.py
xhennessy-r7/insightconnect-plugins
59268051313d67735b5dd3a30222eccb92aca8e9
[ "MIT" ]
null
null
null
barracuda_waf/setup.py
xhennessy-r7/insightconnect-plugins
59268051313d67735b5dd3a30222eccb92aca8e9
[ "MIT" ]
null
null
null
# GENERATED BY KOMAND SDK - DO NOT EDIT from setuptools import setup, find_packages setup(name='barracuda_waf-rapid7-plugin', version='1.0.0', description='Barracuda Web Application Firewall is the ideal solution for organizations looking to protect web applications from data breaches and defacement. With...
48.066667
328
0.736477
95
721
5.515789
0.705263
0.019084
0.087786
0.118321
0
0
0
0
0
0
0
0.008518
0.185853
721
14
329
51.5
0.884157
0.134535
0
0
1
0.090909
0.603865
0.082126
0
0
0
0
0
1
0
true
0
0.090909
0
0.090909
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
1
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
8935bf726a2f172ff5d22bfc20a0bd4843bedcec
220
py
Python
py_src/template.py
PhilippSchuette/projecteuler
b74f76e8f27769d5cfc4227ccfb272d0a83ef587
[ "MIT" ]
4
2018-09-24T14:14:39.000Z
2021-04-13T01:57:12.000Z
py_src/template.py
PhilippSchuette/projecteuler
b74f76e8f27769d5cfc4227ccfb272d0a83ef587
[ "MIT" ]
25
2018-09-24T14:18:19.000Z
2021-05-08T07:03:31.000Z
py_src/template.py
PhilippSchuette/projecteuler
b74f76e8f27769d5cfc4227ccfb272d0a83ef587
[ "MIT" ]
3
2019-03-01T14:22:21.000Z
2021-04-13T01:57:53.000Z
# template.py demonstrates how to structure the problem # Project Euler Problem X Solution # # Problem statement: # # Solution description: # # Author: <author_name> # Date: 2019/../.. # License: MIT (see ../LICENSE.md)
20
55
0.709091
27
220
5.740741
0.814815
0
0
0
0
0
0
0
0
0
0
0.021505
0.154545
220
10
56
22
0.811828
0.904545
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
894fee0a3b037b0252b8c8031904d6fc8b570dc8
380
py
Python
tests/purecap/test_purecap_uninit_calling_convention.py
capt-hb/cheritest
d3b3637a81a0005ee7272eca0f33a9f9911fdb32
[ "Apache-2.0" ]
null
null
null
tests/purecap/test_purecap_uninit_calling_convention.py
capt-hb/cheritest
d3b3637a81a0005ee7272eca0f33a9f9911fdb32
[ "Apache-2.0" ]
null
null
null
tests/purecap/test_purecap_uninit_calling_convention.py
capt-hb/cheritest
d3b3637a81a0005ee7272eca0f33a9f9911fdb32
[ "Apache-2.0" ]
null
null
null
from beritest_tools import BaseBERITestCase class test_purecap_uninit_calling_convention(BaseBERITestCase): def test_first_argument_register_contains_100(self): assert self.MIPS.a0 == 100 def test_result_of_something_is_100(self): assert self.MIPS.v0 == 100 def test_stack_capability_is_un...
31.666667
63
0.771053
52
380
5.230769
0.615385
0.077206
0.154412
0.198529
0.154412
0
0
0
0
0
0
0.050473
0.165789
380
11
64
34.545455
0.807571
0
0
0
0
0
0
0
0
0
0
0
0.375
1
0.375
false
0
0.125
0
0.625
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
895fcec4d353c131012e7324d295ca8b6dccf604
274
py
Python
classfier/babyClass_alt.py
dlzou/baby-interpreter
22c68b012cf18ca90e692dca80af4d0c2e02144f
[ "MIT" ]
null
null
null
classfier/babyClass_alt.py
dlzou/baby-interpreter
22c68b012cf18ca90e692dca80af4d0c2e02144f
[ "MIT" ]
null
null
null
classfier/babyClass_alt.py
dlzou/baby-interpreter
22c68b012cf18ca90e692dca80af4d0c2e02144f
[ "MIT" ]
null
null
null
import fastai from fastai.metrics import accuracy from fastai.torch_core import * from fastai_audio import * from fastai.vision import models, ClassificationInterpretation DATA = Path('sound-downloader') NSYNTH_AUDIO = DATA/'nsynth_audio' # contains train and valid folders
34.25
69
0.824818
36
274
6.166667
0.583333
0.18018
0.144144
0
0
0
0
0
0
0
0
0
0.113139
274
8
69
34.25
0.91358
0.116788
0
0
0
0
0.116183
0
0
0
0
0
0
1
0
false
0
0.714286
0
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
896c7cf65144a6f800d0615c2931c5c919a6e5e7
427
py
Python
deprecated/cloudmesh/stream.py
cloudmesh/cloudmesh-nist
85766956c3c5b2395fcdddd2034cde574b1cbd73
[ "Apache-2.0" ]
1
2018-10-30T18:14:15.000Z
2018-10-30T18:14:15.000Z
deprecated/cloudmesh/stream.py
cloudmesh/cloudmesh-nist
85766956c3c5b2395fcdddd2034cde574b1cbd73
[ "Apache-2.0" ]
28
2019-05-20T16:16:56.000Z
2022-03-26T07:07:59.000Z
deprecated/cloudmesh/stream.py
cloudmesh-community/nist
85766956c3c5b2395fcdddd2034cde574b1cbd73
[ "Apache-2.0" ]
20
2018-07-02T09:38:22.000Z
2019-03-06T10:55:59.000Z
def list(): '''Returns a list of streams ''' return 'TO BE IMPLEMENTED' def add(): '''Set an stream ''' return 'TO BE IMPLEMENTED' def find_by_name(name): '''Returns the named stream Params: name - The name of the stream ''' return 'TO BE IMPLEMENTED' def delete_by_name(name): '''D...
11.540541
33
0.625293
60
427
4.383333
0.366667
0.121673
0.152091
0.319392
0.695817
0.604563
0.479087
0.479087
0.479087
0.479087
0
0
0.262295
427
36
34
11.861111
0.834921
0.412178
0
0.5
0
0
0.326923
0
0
0
0
0
0
1
0.5
false
0
0
0
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
898e8ef290c7d5fada7c53bd29933766cd52d45e
261
py
Python
tests/models/xsd/test_all.py
gramm/xsdata
082c780757c6d76a5c31a6757276ef6912901ed2
[ "MIT" ]
null
null
null
tests/models/xsd/test_all.py
gramm/xsdata
082c780757c6d76a5c31a6757276ef6912901ed2
[ "MIT" ]
null
null
null
tests/models/xsd/test_all.py
gramm/xsdata
082c780757c6d76a5c31a6757276ef6912901ed2
[ "MIT" ]
null
null
null
from unittest import TestCase from xsdata.models.xsd import All class AllTests(TestCase): def test_get_restrictions(self): obj = All(min_occurs=1, max_occurs=2) self.assertEqual({"max_occurs": 2, "min_occurs": 1}, obj.get_restrictions())
26.1
84
0.716475
37
261
4.864865
0.594595
0.166667
0.111111
0
0
0
0
0
0
0
0
0.018433
0.168582
261
9
85
29
0.81106
0
0
0
0
0
0.076628
0
0
0
0
0
0.166667
1
0.166667
false
0
0.333333
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
89a4a779e43e814f0989a05c8fdb551b186f249b
826
py
Python
cognite/extractorutils/_inner_util.py
thomafred/python-extractor-utils
cb184fc5cb5215125ecb5e02dbfbf3a65ab7382f
[ "Apache-2.0" ]
null
null
null
cognite/extractorutils/_inner_util.py
thomafred/python-extractor-utils
cb184fc5cb5215125ecb5e02dbfbf3a65ab7382f
[ "Apache-2.0" ]
null
null
null
cognite/extractorutils/_inner_util.py
thomafred/python-extractor-utils
cb184fc5cb5215125ecb5e02dbfbf3a65ab7382f
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 Cognite AS # # 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 agreed to in writ...
37.545455
108
0.725182
124
826
4.806452
0.717742
0.100671
0.043624
0.053691
0
0
0
0
0
0
0
0.027982
0.177966
826
21
109
39.333333
0.849779
0.771186
0
0
0
0
0.207101
0
0
0
0
0
0
1
0.5
false
0
0
0.5
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
89bda989e539c7632adc7d04344b9f91d361ac15
24,644
py
Python
psx/_dump_/10/_dump_ida_/overlay_b/make_psx.py
maoa3/scalpel
2e7381b516cded28996d290438acc618d00b2aa7
[ "Unlicense" ]
15
2018-06-28T01:11:25.000Z
2021-09-27T15:57:18.000Z
psx/_dump_/10/_dump_ida_/overlay_b/make_psx.py
maoa3/scalpel
2e7381b516cded28996d290438acc618d00b2aa7
[ "Unlicense" ]
7
2018-06-29T04:08:23.000Z
2019-10-17T13:57:22.000Z
psx/_dump_/10/_dump_ida_/overlay_b/make_psx.py
maoa3/scalpel
2e7381b516cded28996d290438acc618d00b2aa7
[ "Unlicense" ]
7
2018-06-28T01:11:34.000Z
2020-05-23T09:21:48.000Z
set_name(0x80122CDC, "PreGameOnlyTestRoutine__Fv", SN_NOWARN) set_name(0x80124DA0, "DRLG_PlaceDoor__Fii", SN_NOWARN) set_name(0x80125274, "DRLG_L1Shadows__Fv", SN_NOWARN) set_name(0x8012568C, "DRLG_PlaceMiniSet__FPCUciiiiiii", SN_NOWARN) set_name(0x80125AF8, "DRLG_L1Floor__Fv", SN_NOWARN) set_name(0x80125BE4, "StoreBlo...
50.5
68
0.822147
3,380
24,644
5.471006
0.301775
0.18435
0.289098
0.394225
0.311053
0.011464
0
0
0
0
0
0.177199
0.059284
24,644
487
69
50.603696
0.620455
0
0
0
0
0
0.28859
0.072675
0
0
0.197614
0
0
1
0
true
0.008214
0
0
0
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
98204e394018582bb5ac81601e7ffd099ef45229
1,272
py
Python
zk_shell/tests/test_cp_urls.py
svoutil/zk_shell
533162c3301ad2e9675a4e0dfcc9f93c0e7432cb
[ "Apache-2.0" ]
null
null
null
zk_shell/tests/test_cp_urls.py
svoutil/zk_shell
533162c3301ad2e9675a4e0dfcc9f93c0e7432cb
[ "Apache-2.0" ]
null
null
null
zk_shell/tests/test_cp_urls.py
svoutil/zk_shell
533162c3301ad2e9675a4e0dfcc9f93c0e7432cb
[ "Apache-2.0" ]
null
null
null
""" test url parsing/handling via copy.Proxy """ import unittest from zk_shell.copy import Proxy # pylint: disable=R0904 class CpUrlsTestCase(unittest.TestCase): """ test that we parse all URLs correctly """ def test_basic_zk_url(self): """ basic zk:// url """ pro = Proxy.from_string("zk://l...
34.378378
65
0.626572
158
1,272
4.93038
0.310127
0.21181
0.254172
0.092426
0.444159
0.376123
0.333761
0.249037
0.136072
0.136072
0
0.02
0.213836
1,272
36
66
35.333333
0.759
0.152516
0
0.136364
0
0
0.159462
0.073967
0
0
0
0
0.5
1
0.181818
false
0
0.090909
0
0.318182
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
1
0
0
0
0
0
0
0
0
0
3
982e749425a42fc681f63dd34e730b6af2396c30
1,833
py
Python
tests/test_singstatdata.py
dkow72/singstatdata
5592b40864d5a6cb025efd7e5eba58d703d123e3
[ "MIT" ]
null
null
null
tests/test_singstatdata.py
dkow72/singstatdata
5592b40864d5a6cb025efd7e5eba58d703d123e3
[ "MIT" ]
null
null
null
tests/test_singstatdata.py
dkow72/singstatdata
5592b40864d5a6cb025efd7e5eba58d703d123e3
[ "MIT" ]
null
null
null
from singstatdata import __version__ from singstatdata import singstatdata import requests import pandas as pd import re from requests.exceptions import HTTPError from IPython.display import display def test_version(): assert __version__ == '0.1.0' def test_get_resource_id(): assert type(singstatdata.ge...
40.733333
121
0.734315
244
1,833
5.221311
0.184426
0.211931
0.153061
0.235479
0.642857
0.572998
0.321821
0.321821
0.321821
0.186813
0
0.059273
0.144026
1,833
45
122
40.733333
0.752709
0
0
0.111111
0
0
0.043621
0
0
0
0
0
0.388889
1
0.222222
false
0
0.194444
0
0.416667
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
982fa7991e43a2eb3c6cb9948aa1d513b840b160
4,354
py
Python
fault/expression.py
leonardt/fault
b16dec55fa287f0cf96e4083ec98a82a721bc971
[ "BSD-3-Clause" ]
31
2018-07-16T15:03:14.000Z
2022-03-10T08:36:09.000Z
fault/expression.py
leonardt/fault
b16dec55fa287f0cf96e4083ec98a82a721bc971
[ "BSD-3-Clause" ]
216
2018-07-18T20:00:34.000Z
2021-10-05T17:40:47.000Z
fault/expression.py
leonardt/fault
b16dec55fa287f0cf96e4083ec98a82a721bc971
[ "BSD-3-Clause" ]
10
2019-02-17T00:56:58.000Z
2021-11-05T13:31:37.000Z
from magma.t import Type from fault.infix import Infix import pysv class Expression: def __and__(self, other): return And(self, other) def __rand__(self, other): return And(self, other) def __eq__(self, other): return EQ(self, other) def __ne__(self, other): return N...
17.141732
95
0.593937
552
4,354
4.360507
0.186594
0.168259
0.155796
0.127129
0.034898
0.024927
0.024927
0
0
0
0
0
0.286633
4,354
253
96
17.209486
0.774952
0.012402
0
0.039735
0
0
0.023737
0
0
0
0
0
0.006623
1
0.264901
false
0
0.019868
0.225166
0.89404
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
983cf3b16a3d4d8ee63aa4361406e9192f89ad75
43
py
Python
constants.py
sanhu88/amazon-reviews-scraper
e89960fd4167cb4eb59d19e0b7d8e44720d438cc
[ "Apache-2.0" ]
95
2017-02-27T07:00:27.000Z
2022-03-26T11:46:08.000Z
constants.py
sanhu88/amazon-reviews-scraper
e89960fd4167cb4eb59d19e0b7d8e44720d438cc
[ "Apache-2.0" ]
14
2018-03-11T19:33:15.000Z
2022-01-22T10:46:34.000Z
constants.py
sanhu88/amazon-reviews-scraper
e89960fd4167cb4eb59d19e0b7d8e44720d438cc
[ "Apache-2.0" ]
45
2017-04-10T16:25:11.000Z
2022-02-26T22:39:20.000Z
AMAZON_BASE_URL = 'https://www.amazon.com'
21.5
42
0.744186
7
43
4.285714
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.069767
43
1
43
43
0.75
0
0
0
0
0
0.511628
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
9845bf005fa2cb81304c0b40929f103444a50f4f
5,858
py
Python
starmart/result.py
starmart-io/starmart
9f4ac1f2a30b412002776e9319746ef0c5ce041c
[ "Apache-2.0" ]
null
null
null
starmart/result.py
starmart-io/starmart
9f4ac1f2a30b412002776e9319746ef0c5ce041c
[ "Apache-2.0" ]
null
null
null
starmart/result.py
starmart-io/starmart
9f4ac1f2a30b412002776e9319746ef0c5ce041c
[ "Apache-2.0" ]
null
null
null
from typing import List from starmart.helper import Typed, Validatable, ImageUtils, Jsonizable class Result(Typed, Jsonizable): def is_success(self) -> bool: raise NotImplementedError(f'Method is_success() not implemented in {type(self).__name__}') class Success(Result, Validatable): def __init__(s...
26.748858
98
0.639638
687
5,858
5.195051
0.125182
0.040347
0.049314
0.046231
0.375736
0.299243
0.210703
0.152143
0.143738
0.111236
0
0.00178
0.232673
5,858
218
99
26.87156
0.792214
0
0
0.321918
0
0
0.067771
0.007511
0
0
0
0
0
1
0.349315
false
0
0.013699
0.232877
0.712329
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
98460a359f5f8d94e24bd5f59244ccec585895ad
1,381
py
Python
src/messages.py
hello-it/hello-father
e2e6394cfe8bc2cb01b2bc1acdd78b57dd493815
[ "MIT" ]
1
2018-04-11T10:08:22.000Z
2018-04-11T10:08:22.000Z
src/messages.py
hello-it/hello-father
e2e6394cfe8bc2cb01b2bc1acdd78b57dd493815
[ "MIT" ]
null
null
null
src/messages.py
hello-it/hello-father
e2e6394cfe8bc2cb01b2bc1acdd78b57dd493815
[ "MIT" ]
null
null
null
import random chat_name_examples = ['hello-it-dev', 'hello-it-qa', 'hello-it-web', 'hello-it-devops', 'hello-it-hr', 'hello-it-dev-spring'] def welcome_message(): return 'Welcome to Hello Father Bot!' def logged_message(): return 'Welcome again to Hello Father Bo...
28.183673
88
0.637944
187
1,381
4.561497
0.417112
0.106682
0.056272
0.037515
0.185229
0.14068
0.14068
0.14068
0.14068
0.14068
0
0
0.241854
1,381
48
89
28.770833
0.814709
0
0
0.068966
0
0
0.469949
0
0
0
0
0
0
1
0.310345
false
0
0.034483
0.310345
0.655172
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
98758b709ce7bac38b33e0aade2365a2c0714c58
61
py
Python
challenge_1/python/jcpattison/src/reverse.py
rchicoli/2017-challenges
44f0b672e5dea34de1dde131b6df837d462f8e29
[ "Apache-2.0" ]
271
2017-01-01T22:58:36.000Z
2021-11-28T23:05:29.000Z
challenge_1/python/jcpattison/src/reverse.py
AakashOfficial/2017Challenges
a8f556f1d5b43c099a0394384c8bc2d826f9d287
[ "Apache-2.0" ]
283
2017-01-01T23:26:05.000Z
2018-03-23T00:48:55.000Z
challenge_1/python/jcpattison/src/reverse.py
AakashOfficial/2017Challenges
a8f556f1d5b43c099a0394384c8bc2d826f9d287
[ "Apache-2.0" ]
311
2017-01-01T22:59:23.000Z
2021-09-23T00:29:12.000Z
a = input("Enter your string to reverse: \n") print(a[::-1])
20.333333
45
0.622951
11
61
3.454545
0.909091
0
0
0
0
0
0
0
0
0
0
0.019231
0.147541
61
2
46
30.5
0.711538
0
0
0
0
0
0.52459
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3