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
f75e6a222c496719be4ac45213099c77d1eed794
70
py
Python
pyopt/run_tests.py
stonelake/pyoptimization
6e2a4acbaa6eac9716e9ef9e46ca23986dbb6c71
[ "Apache-2.0" ]
null
null
null
pyopt/run_tests.py
stonelake/pyoptimization
6e2a4acbaa6eac9716e9ef9e46ca23986dbb6c71
[ "Apache-2.0" ]
null
null
null
pyopt/run_tests.py
stonelake/pyoptimization
6e2a4acbaa6eac9716e9ef9e46ca23986dbb6c71
[ "Apache-2.0" ]
null
null
null
import nose import sys sys.argv.append("--verbosity=3") nose.main()
10
32
0.714286
11
70
4.545455
0.727273
0
0
0
0
0
0
0
0
0
0
0.016129
0.114286
70
6
33
11.666667
0.790323
0
0
0
0
0
0.185714
0
0
0
0
0
0
1
0
true
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
1
0
1
0
0
0
0
4
f78ea7da2c96b5b05c4fc056dae580fd3d4ce446
14,607
py
Python
samples/libsamples/topology/topology_mgmt.py
Tokalabs/tokasdk
15777642224c85bab2bb0f36b46d86a68e0740c1
[ "Apache-2.0" ]
null
null
null
samples/libsamples/topology/topology_mgmt.py
Tokalabs/tokasdk
15777642224c85bab2bb0f36b46d86a68e0740c1
[ "Apache-2.0" ]
null
null
null
samples/libsamples/topology/topology_mgmt.py
Tokalabs/tokasdk
15777642224c85bab2bb0f36b46d86a68e0740c1
[ "Apache-2.0" ]
null
null
null
"""This module has methods to manage the topologies in Toka controller. This module has methods for the following - - Creating a new topology - Searching topologies - Delete a topology - Reserve a topology - Release a topology Compatible with the following Toka controller version(s) - >= 1.4.8.0 Com...
43.996988
140
0.622989
1,593
14,607
5.477087
0.105461
0.037708
0.066476
0.025215
0.821433
0.78533
0.753811
0.682521
0.647335
0.600688
0
0.005619
0.30547
14,607
331
141
44.129909
0.854411
0.213254
0
0.680952
0
0
0.265849
0.058416
0
0
0
0
0
1
0.02381
false
0
0.02381
0
0.180952
0.095238
0
0
0
null
0
0
0
1
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
e39dbe8d54aaa1602e999ca3dd5d1b2a75b2a6a8
77
py
Python
topo/tests/reference/__init__.py
ceball/topographica
ec0eea614409ceb7473e04bc2f6b6c888099160f
[ "BSD-3-Clause" ]
40
2015-02-05T14:53:10.000Z
2020-10-12T06:26:23.000Z
topo/tests/reference/__init__.py
ceball/topographica
ec0eea614409ceb7473e04bc2f6b6c888099160f
[ "BSD-3-Clause" ]
95
2015-01-01T16:14:20.000Z
2022-02-11T22:50:27.000Z
topo/tests/reference/__init__.py
ceball/topographica
ec0eea614409ceb7473e04bc2f6b6c888099160f
[ "BSD-3-Clause" ]
22
2015-05-03T10:24:17.000Z
2019-11-15T06:34:31.000Z
""" Files relating to matching Topographica's results and C++ LISSOM's. """
15.4
67
0.701299
11
77
4.909091
0.909091
0
0
0
0
0
0
0
0
0
0
0
0.155844
77
4
68
19.25
0.830769
0.87013
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
e3c93b73c26b368fbe736373f8c2b4b6a64e7c59
335
py
Python
sets.py
cyrionp/PythonLectures
64348479434ed9aea54010f6f165b92eb597b994
[ "MIT" ]
null
null
null
sets.py
cyrionp/PythonLectures
64348479434ed9aea54010f6f165b92eb597b994
[ "MIT" ]
null
null
null
sets.py
cyrionp/PythonLectures
64348479434ed9aea54010f6f165b92eb597b994
[ "MIT" ]
null
null
null
fruits={'orange','apple','banana'} #print(fruits[0]) indekslenemez for x in fruits: print(x) fruits.add('cherry') print(fruits) fruits.update(['mango','grape','apple']) print(fruits) fruits.remove('mango') print(fruits) fruits.discard('apple') print(fruits) fruits.clear() print(fruits) #myList=[1,2,5,4,4,2,1] #prin...
19.705882
40
0.704478
51
335
4.627451
0.470588
0.279661
0.288136
0.186441
0
0
0
0
0
0
0
0.025723
0.071642
335
16
41
20.9375
0.733119
0.208955
0
0.384615
0
0
0.183206
0
0
0
0
0
0
1
0
false
0
0
0
0
0.461538
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
1
0
4
e3dccb326f4d2860711fa17886a7ef2357498ba1
213
py
Python
tests/unit/test_exceptions.py
SUSE/scc-hypervisor-collector
e3b9d2e7ddc3210b1f4fbe7a06eac8c22adb4c9a
[ "Apache-2.0" ]
null
null
null
tests/unit/test_exceptions.py
SUSE/scc-hypervisor-collector
e3b9d2e7ddc3210b1f4fbe7a06eac8c22adb4c9a
[ "Apache-2.0" ]
null
null
null
tests/unit/test_exceptions.py
SUSE/scc-hypervisor-collector
e3b9d2e7ddc3210b1f4fbe7a06eac8c22adb4c9a
[ "Apache-2.0" ]
null
null
null
import pytest from scc_hypervisor_collector.api import exceptions class TestExceptions: def test_empty_exception_message(self): e = exceptions.CollectorException() assert e.message is None
23.666667
51
0.760563
25
213
6.28
0.84
0
0
0
0
0
0
0
0
0
0
0
0.192488
213
9
52
23.666667
0.912791
0
0
0
0
0
0
0
0
0
0
0
0.166667
1
0.166667
false
0
0.333333
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
4
e3e605b422769111fbce4e63f06ed5180c1d5ddb
552
py
Python
sketchy/terminal/utils/utils.py
mbhall88/sketchy
5ed26d28f104710f6d425053eae41fd0e99f8760
[ "MIT" ]
null
null
null
sketchy/terminal/utils/utils.py
mbhall88/sketchy
5ed26d28f104710f6d425053eae41fd0e99f8760
[ "MIT" ]
null
null
null
sketchy/terminal/utils/utils.py
mbhall88/sketchy
5ed26d28f104710f6d425053eae41fd0e99f8760
[ "MIT" ]
null
null
null
import click from .plot_kraken import plot_kraken from .fx_filter import fx_filter from .fx_sample import fx_sample from .fx_sort import fx_sort from .fx_index import fx_index from .fx_time import fx_time VERSION = "0.1" @click.group() @click.version_option(version=VERSION) def utils(): """ Tasks...
22.08
55
0.762681
86
552
4.604651
0.302326
0.121212
0.227273
0.214646
0
0
0
0
0
0
0
0.004274
0.152174
552
25
56
22.08
0.84188
0.076087
0
0
0
0
0.006263
0
0
0
0
0
0
1
0.055556
false
0.055556
0.388889
0
0.444444
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
1
1
0
0
0
0
4
e3e6d72392506f8ce555945caab738e1a37391c5
358
py
Python
utils/augmentation/__init__.py
kthr/deep-learning
0323b8f61e08bda02f6e38e8ee79188c7b65bb8d
[ "MIT" ]
null
null
null
utils/augmentation/__init__.py
kthr/deep-learning
0323b8f61e08bda02f6e38e8ee79188c7b65bb8d
[ "MIT" ]
null
null
null
utils/augmentation/__init__.py
kthr/deep-learning
0323b8f61e08bda02f6e38e8ee79188c7b65bb8d
[ "MIT" ]
null
null
null
from .affine import apply_rotation, random_rotation, sample_rotation from .deformation import random_deformation_field, apply_deformation_field, random_deformation, checkboard3D, checkboard2D from .generators import xy_augmentation_generator from .ImageDataGenerator3D import ImageDataGenerator3D from .sampling import s...
71.6
122
0.893855
41
358
7.463415
0.512195
0.111111
0
0
0
0
0
0
0
0
0
0.012048
0.072626
358
5
123
71.6
0.909639
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
5426131155930dfd468d2ad9c8f459bccac02897
97
py
Python
problems/greedy/Solution452.py
akalu/cs-problems-python
9b1bd8e3932be62135a38a77f955ded9a766b654
[ "MIT" ]
null
null
null
problems/greedy/Solution452.py
akalu/cs-problems-python
9b1bd8e3932be62135a38a77f955ded9a766b654
[ "MIT" ]
null
null
null
problems/greedy/Solution452.py
akalu/cs-problems-python
9b1bd8e3932be62135a38a77f955ded9a766b654
[ "MIT" ]
null
null
null
""" How many arrows is needed to burst balloons Greedy """ class Solution452: pass
12.125
49
0.639175
12
97
5.166667
1
0
0
0
0
0
0
0
0
0
0
0.043478
0.28866
97
7
50
13.857143
0.855072
0.515464
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
4
5835d2e97adf9086eab866f1c7f9ef6cc659da70
112
py
Python
plably/__init__.py
DhruvBisla/plably
b39431c1803f264c2aab122a8f29ce306d7eba9c
[ "MIT" ]
null
null
null
plably/__init__.py
DhruvBisla/plably
b39431c1803f264c2aab122a8f29ce306d7eba9c
[ "MIT" ]
null
null
null
plably/__init__.py
DhruvBisla/plably
b39431c1803f264c2aab122a8f29ce306d7eba9c
[ "MIT" ]
null
null
null
from .plot import * """A simple plotly utility to generate graphs for my lab reports.""" __version__ = '0.1.8'
22.4
68
0.705357
18
112
4.166667
1
0
0
0
0
0
0
0
0
0
0
0.032258
0.169643
112
5
69
22.4
0.774194
0
0
0
1
0
0.111111
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
1
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
583c43b087f2ed2361787ad686385d4aab2ac59c
70
py
Python
babelbox/__init__.py
OrangeUtan/babelbox
3dd01e078aea8aa352ff5606179d5e1e09f4b827
[ "MIT" ]
2
2021-03-18T04:34:23.000Z
2021-03-23T17:35:07.000Z
babelbox/__init__.py
OrangeUtan/babelbox
3dd01e078aea8aa352ff5606179d5e1e09f4b827
[ "MIT" ]
null
null
null
babelbox/__init__.py
OrangeUtan/babelbox
3dd01e078aea8aa352ff5606179d5e1e09f4b827
[ "MIT" ]
null
null
null
__version__ = "2.1.1" from . import integration from .parser import *
17.5
25
0.728571
10
70
4.7
0.7
0
0
0
0
0
0
0
0
0
0
0.050847
0.157143
70
3
26
23.333333
0.745763
0
0
0
0
0
0.071429
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
583ca81a6785747422cd96dbad5a8b3a099c66fa
273
py
Python
src/core/network/weights_init.py
nrupatunga/Fast-Image-Filters
a8a4a9632758986ea1a484ef0b406f5b584ad0c3
[ "MIT" ]
17
2020-09-22T22:45:53.000Z
2022-03-11T09:26:38.000Z
src/core/network/weights_init.py
delldu/Fast-Image-Filters
c238214fa4aaf1b4790b29e7306d6f772e1acf07
[ "MIT" ]
null
null
null
src/core/network/weights_init.py
delldu/Fast-Image-Filters
c238214fa4aaf1b4790b29e7306d6f772e1acf07
[ "MIT" ]
2
2021-05-09T10:14:14.000Z
2021-08-29T14:06:51.000Z
""" File: weights_init.py Author: Nrupatunga Email: nrupatunga.s@byjus.com Github: https://github.com/nrupatunga Description: Initializing weights for the network """ import torch.nn as nn def weights_init(m: nn.Sequential): """initilizating weights """ pass
18.2
49
0.732601
36
273
5.5
0.722222
0.111111
0
0
0
0
0
0
0
0
0
0
0.150183
273
14
50
19.5
0.853448
0.677656
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0.333333
0.333333
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
1
0
1
0
0
4
5851d4ba489ddb70ceec2fd75d2aaec300cc002c
323
py
Python
4 kyu/Total increasing or decreasing numbers up to a power of 10.py
mwk0408/codewars_solutions
9b4f502b5f159e68024d494e19a96a226acad5e5
[ "MIT" ]
6
2020-09-03T09:32:25.000Z
2020-12-07T04:10:01.000Z
4 kyu/Total increasing or decreasing numbers up to a power of 10.py
mwk0408/codewars_solutions
9b4f502b5f159e68024d494e19a96a226acad5e5
[ "MIT" ]
1
2021-12-13T15:30:21.000Z
2021-12-13T15:30:21.000Z
4 kyu/Total increasing or decreasing numbers up to a power of 10.py
mwk0408/codewars_solutions
9b4f502b5f159e68024d494e19a96a226acad5e5
[ "MIT" ]
null
null
null
from bs4 import BeautifulSoup import requests def memo(): html=requests.get('https://oeis.org/A204692/b204692.txt') soup = BeautifulSoup(html.content, 'html.parser') return {i.split()[0]:i.split()[1] for i in soup.text.splitlines() if i} res=memo() def total_inc_dec(x): return 10**x-int(res.get(str(x), ...
35.888889
75
0.690402
54
323
4.092593
0.666667
0.054299
0
0
0
0
0
0
0
0
0
0.064057
0.130031
323
9
76
35.888889
0.72242
0
0
0
0
0
0.145062
0
0
0
0
0
0
1
0.222222
false
0
0.222222
0.111111
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
0
1
1
0
0
4
585956dee5e1b30940bd540365f5faf6a8bde1ba
60
py
Python
testData/completion/importedInstance.py
seandstewart/typical-pycharm-plugin
4f6ec99766239421201faae9d75c32fa0ee3565a
[ "MIT" ]
null
null
null
testData/completion/importedInstance.py
seandstewart/typical-pycharm-plugin
4f6ec99766239421201faae9d75c32fa0ee3565a
[ "MIT" ]
null
null
null
testData/completion/importedInstance.py
seandstewart/typical-pycharm-plugin
4f6ec99766239421201faae9d75c32fa0ee3565a
[ "MIT" ]
null
null
null
from builtins import * from .instance import A A().<caret>
12
23
0.716667
9
60
4.777778
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.166667
60
5
24
12
0.86
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0.666667
null
null
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
4
58625a99f7ec3d84972a663b75fe3b90cfb4281d
1,467
py
Python
tests/test.py
153957/advent_of_code
368845b016f77020776ea378f724cff1d8a066e3
[ "0BSD" ]
null
null
null
tests/test.py
153957/advent_of_code
368845b016f77020776ea378f724cff1d8a066e3
[ "0BSD" ]
null
null
null
tests/test.py
153957/advent_of_code
368845b016f77020776ea378f724cff1d8a066e3
[ "0BSD" ]
null
null
null
import unittest from aoc2021 import day2, day3, get_inputs class TestDayMixin: def setUp(self): self.day = __import__(f'aoc2021.day{self.n}', fromlist=['*']) self.inputs = get_inputs.get_inputs(f'day{self.n}_example.txt') def test_part1(self): self.assertEqual(self.part1, self.day.pa...
17.674699
71
0.649625
181
1,467
5.209945
0.353591
0.233298
0.326617
0.338282
0
0
0
0
0
0
0
0.122283
0.247444
1,467
82
72
17.890244
0.731884
0
0
0
0
0
0.029312
0.015678
0
0
0
0
0.037037
1
0.055556
false
0
0.055556
0
0.944444
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
1
0
0
4
5865649761cf342c4432e4a1960226e0911d629c
356
py
Python
ex074_tuplas_numeros_aleatorios.py
rodrigosilvanew/pythonexercicios-guanabara
de9de3109d6ff97d5f61ef41cb8e9db6de37a644
[ "MIT" ]
null
null
null
ex074_tuplas_numeros_aleatorios.py
rodrigosilvanew/pythonexercicios-guanabara
de9de3109d6ff97d5f61ef41cb8e9db6de37a644
[ "MIT" ]
null
null
null
ex074_tuplas_numeros_aleatorios.py
rodrigosilvanew/pythonexercicios-guanabara
de9de3109d6ff97d5f61ef41cb8e9db6de37a644
[ "MIT" ]
null
null
null
from random import randint numeros = randint(1, 10), randint(1, 10), randint(1, 10), randint(1, 10), randint(1, 10) print(f'Os números sorteados são ', end='') for c in numeros: #esse for foi inserido para que os números não aparecessem entre () print(f'{c} ', end='') print(f'\nO maior valor é {max(numeros)}') prin...
50.857143
88
0.682584
62
356
3.919355
0.532258
0.164609
0.205761
0.279835
0.205761
0.205761
0.205761
0.205761
0.205761
0.205761
0
0.049669
0.151685
356
7
89
50.857143
0.754967
0.185393
0
0
0
0
0.313793
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0.571429
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
1
0
4
5867eff7021ed5b6e3e02c03f98a5e6dec259458
135
py
Python
jinjamails/backends/mailer.py
pep-dortmund/personalized-
7863c18a0380364ba37e0a2bb0494844560ba6c1
[ "MIT" ]
1
2016-04-03T12:14:13.000Z
2016-04-03T12:14:13.000Z
jinjamails/backends/mailer.py
pep-dortmund/personalized-
7863c18a0380364ba37e0a2bb0494844560ba6c1
[ "MIT" ]
1
2016-04-03T12:21:06.000Z
2016-04-04T12:24:37.000Z
jinjamails/backends/mailer.py
pep-dortmund/personalized-
7863c18a0380364ba37e0a2bb0494844560ba6c1
[ "MIT" ]
null
null
null
class Mailer: def send_mail(self, recipient, metadata, plain_text, html=None, attachments=None): raise NotImplementedError
33.75
86
0.748148
16
135
6.1875
0.9375
0
0
0
0
0
0
0
0
0
0
0
0.17037
135
3
87
45
0.883929
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
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
1
0
0
0
0
1
0
0
4
586e4858fd7cb596819a1f082d32430b6fe3adc5
30
py
Python
tests/__init__.py
mcous/decoy
0d5345ecbd3cacee795ac644530048a282c2ba20
[ "MIT" ]
8
2020-11-30T23:35:54.000Z
2022-01-18T17:53:15.000Z
tests/__init__.py
mcous/decoy
0d5345ecbd3cacee795ac644530048a282c2ba20
[ "MIT" ]
96
2020-12-02T17:01:41.000Z
2022-03-27T05:10:46.000Z
tests/__init__.py
mcous/decoy
0d5345ecbd3cacee795ac644530048a282c2ba20
[ "MIT" ]
null
null
null
"""Tests module for Decoy."""
15
29
0.633333
4
30
4.75
1
0
0
0
0
0
0
0
0
0
0
0
0.133333
30
1
30
30
0.730769
0.766667
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
1
0
null
0
0
0
0
0
0
0
0
0
0
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
4
58794488d296324cab90557bd311bc5ee9a09e89
1,786
py
Python
oscar/lib/python2.7/site-packages/phonenumbers/data/region_IR.py
bhav11esh/Oscar-Bookshelf
b48f088e2ed908b3603f2ecc63d602f81392eac4
[ "BSD-3-Clause" ]
null
null
null
oscar/lib/python2.7/site-packages/phonenumbers/data/region_IR.py
bhav11esh/Oscar-Bookshelf
b48f088e2ed908b3603f2ecc63d602f81392eac4
[ "BSD-3-Clause" ]
null
null
null
oscar/lib/python2.7/site-packages/phonenumbers/data/region_IR.py
bhav11esh/Oscar-Bookshelf
b48f088e2ed908b3603f2ecc63d602f81392eac4
[ "BSD-3-Clause" ]
null
null
null
"""Auto-generated file, do not edit by hand. IR metadata""" from ..phonemetadata import NumberFormat, PhoneNumberDesc, PhoneMetadata PHONE_METADATA_IR = PhoneMetadata(id='IR', country_code=98, international_prefix='00', general_desc=PhoneNumberDesc(national_number_pattern='[1-8]\\d{5,9}|9(?:[0-4]\\d{8}|9\\d{8})', ...
111.625
294
0.678052
278
1,786
4.151079
0.305755
0.097054
0.15078
0.187175
0.348354
0.284229
0.235702
0.235702
0.20104
0.20104
0
0.134373
0.066629
1,786
15
295
119.066667
0.557888
0.029675
0
0
1
0.230769
0.281413
0.203243
0
0
0
0
0
1
0
false
0
0.076923
0
0.076923
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
1
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
542e7fc11bc3f32a3bdd729e14c2dae63221ccc5
54
py
Python
test_package/modules.py
Mishuni/Pip_Package_Practice
420c0549dd9f663c0b83afe51a689fdd8918151d
[ "MIT" ]
null
null
null
test_package/modules.py
Mishuni/Pip_Package_Practice
420c0549dd9f663c0b83afe51a689fdd8918151d
[ "MIT" ]
null
null
null
test_package/modules.py
Mishuni/Pip_Package_Practice
420c0549dd9f663c0b83afe51a689fdd8918151d
[ "MIT" ]
null
null
null
def add(a,b): print("Add Function") return a+b
18
25
0.592593
10
54
3.2
0.7
0.125
0
0
0
0
0
0
0
0
0
0
0.240741
54
3
26
18
0.780488
0
0
0
0
0
0.218182
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.666667
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
4
54352f3fc9d40519286efe92a3678de741dd28f8
92
py
Python
2015/01/oil-producers/graphic_config.py
nprapps/graphics-archive
97b0ef326b46a959df930f5522d325e537f7a655
[ "FSFAP" ]
14
2015-05-08T13:41:51.000Z
2021-02-24T12:34:55.000Z
2015/01/oil-producers/graphic_config.py
nprapps/graphics-archive
97b0ef326b46a959df930f5522d325e537f7a655
[ "FSFAP" ]
null
null
null
2015/01/oil-producers/graphic_config.py
nprapps/graphics-archive
97b0ef326b46a959df930f5522d325e537f7a655
[ "FSFAP" ]
7
2015-04-04T04:45:54.000Z
2021-02-18T11:12:48.000Z
#!/usr/bin/env python COPY_GOOGLE_DOC_KEY = '1-TvtEaichy2vKKqzvqTxm-wEPyvePowugV5PUvTp6zE'
23
68
0.826087
11
92
6.636364
1
0
0
0
0
0
0
0
0
0
0
0.046512
0.065217
92
3
69
30.666667
0.802326
0.217391
0
0
0
0
0.619718
0.619718
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
5435d2dedd318624b0c1b5c3122f463209da50aa
89
py
Python
reqresp/apps.py
sadyforever/djangobox
e3e90c3e1c1069514ddbe0bf629a8dbe77edb590
[ "MIT" ]
null
null
null
reqresp/apps.py
sadyforever/djangobox
e3e90c3e1c1069514ddbe0bf629a8dbe77edb590
[ "MIT" ]
null
null
null
reqresp/apps.py
sadyforever/djangobox
e3e90c3e1c1069514ddbe0bf629a8dbe77edb590
[ "MIT" ]
null
null
null
from django.apps import AppConfig class ReqRespConfig(AppConfig): name = 'reqresp'
14.833333
33
0.752809
10
89
6.7
0.9
0
0
0
0
0
0
0
0
0
0
0
0.168539
89
5
34
17.8
0.905405
0
0
0
0
0
0.078652
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
547c429de73edcd65bf16e6147b57ad785996e59
207
py
Python
zipreport/report/__init__.py
calibre12/zipreport
e6b48c999c530e16600842847a17f650002a0e13
[ "MIT" ]
12
2020-10-15T09:02:31.000Z
2021-08-13T09:03:29.000Z
zipreport/report/__init__.py
calibre12/zipreport
e6b48c999c530e16600842847a17f650002a0e13
[ "MIT" ]
1
2020-11-26T16:49:31.000Z
2020-11-29T16:00:34.000Z
zipreport/report/__init__.py
calibre12/zipreport
e6b48c999c530e16600842847a17f650002a0e13
[ "MIT" ]
2
2020-11-16T17:25:25.000Z
2022-03-01T12:19:31.000Z
from .builder import ReportFileBuilder, BuildResult from .loader import ReportFileLoader, ReportFileLoaderError from .reportfile import ReportFile from .job import ReportJob, JobResult from .const import *
29.571429
59
0.84058
22
207
7.909091
0.590909
0
0
0
0
0
0
0
0
0
0
0
0.115942
207
6
60
34.5
0.95082
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
54b4200b4e64094c53057a329284b634e11ab18e
209
py
Python
tm4/__init__.py
zhubonan/tm4
c3204c8dfb3114f1c851e43c74644762d7b5e426
[ "MIT" ]
1
2020-10-19T09:13:48.000Z
2020-10-19T09:13:48.000Z
tm4/__init__.py
zhubonan/tm4
c3204c8dfb3114f1c851e43c74644762d7b5e426
[ "MIT" ]
null
null
null
tm4/__init__.py
zhubonan/tm4
c3204c8dfb3114f1c851e43c74644762d7b5e426
[ "MIT" ]
null
null
null
""" Init file for the TM4 package TODO: Need to clean up package level imports """ from tm4.simClasses import * from tm4.matTools import * from tm4.colourTools import * import tm4.linearDefect as linearDefect
23.222222
44
0.779904
31
209
5.258065
0.645161
0.128834
0.159509
0
0
0
0
0
0
0
0
0.028249
0.15311
209
8
45
26.125
0.892655
0.354067
0
0
0
0
0
0
0
0
0
0.125
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
1
0
1
0
0
0
0
4
54b62fb420ad4b077c6414d49daabaf80869b5f1
181
py
Python
python/gdal_cookbook/cookbook_general/check_version.py
zeroam/TIL
43e3573be44c7f7aa4600ff8a34e99a65cbdc5d1
[ "MIT" ]
null
null
null
python/gdal_cookbook/cookbook_general/check_version.py
zeroam/TIL
43e3573be44c7f7aa4600ff8a34e99a65cbdc5d1
[ "MIT" ]
null
null
null
python/gdal_cookbook/cookbook_general/check_version.py
zeroam/TIL
43e3573be44c7f7aa4600ff8a34e99a65cbdc5d1
[ "MIT" ]
null
null
null
import sys from osgeo import gdal version_num = int(gdal.VersionInfo('VERSION_NUM')) if version_num < 1100000: sys.exit('ERROR: Python bindings of GDAL 1.10 or later required')
30.166667
69
0.762431
29
181
4.655172
0.724138
0.222222
0
0
0
0
0
0
0
0
0
0.064516
0.143646
181
6
69
30.166667
0.806452
0
0
0
0
0
0.351648
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
49acd386a6bab9265056ebaf79ae3e2bca7d733f
815
py
Python
Actividades/test/soyeco/appSoyEco/migrations/0001_initial.py
roselinorozco/Repositorio-Actividades-Fedesoft
bfc08ca0eec972f52fb68c5aba4654db41670cf3
[ "MIT" ]
null
null
null
Actividades/test/soyeco/appSoyEco/migrations/0001_initial.py
roselinorozco/Repositorio-Actividades-Fedesoft
bfc08ca0eec972f52fb68c5aba4654db41670cf3
[ "MIT" ]
null
null
null
Actividades/test/soyeco/appSoyEco/migrations/0001_initial.py
roselinorozco/Repositorio-Actividades-Fedesoft
bfc08ca0eec972f52fb68c5aba4654db41670cf3
[ "MIT" ]
null
null
null
# Generated by Django 2.1 on 2018-08-18 19:18 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Usuario', fields=[ ('id', mod...
30.185185
115
0.544785
79
815
5.493671
0.582278
0.172811
0.207373
0.276498
0.179724
0
0
0
0
0
0
0.043557
0.323926
815
26
116
31.346154
0.744102
0.052761
0
0
1
0
0.073925
0
0
0
0
0
0
1
0
false
0.052632
0.052632
0
0.263158
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
1
0
0
0
0
0
4
49b99fac74586f492bd1930b895ec8e53347db59
123
py
Python
examples/test_scripts/data_collector/classes/data.py
rubensfig/t4p4s
0894f7d4b4c70891b0bae9c60c4f93342cc4f116
[ "Apache-2.0" ]
null
null
null
examples/test_scripts/data_collector/classes/data.py
rubensfig/t4p4s
0894f7d4b4c70891b0bae9c60c4f93342cc4f116
[ "Apache-2.0" ]
null
null
null
examples/test_scripts/data_collector/classes/data.py
rubensfig/t4p4s
0894f7d4b4c70891b0bae9c60c4f93342cc4f116
[ "Apache-2.0" ]
null
null
null
from dataclasses import dataclass @dataclass class Data: index: int name: str exit_code: int output: str
12.3
33
0.682927
16
123
5.1875
0.8125
0
0
0
0
0
0
0
0
0
0
0
0.268293
123
9
34
13.666667
0.922222
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.142857
0
0.857143
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
1
0
0
4
49c3a75e6ca374e5beb0276f21ce66de45cf12ff
455
py
Python
model/ElectricInstrument.py
kerenren/flask-musical-instrument-api
7a2ae6d5e9df54c272275394e4c7bb8f63106f54
[ "MIT" ]
null
null
null
model/ElectricInstrument.py
kerenren/flask-musical-instrument-api
7a2ae6d5e9df54c272275394e4c7bb8f63106f54
[ "MIT" ]
null
null
null
model/ElectricInstrument.py
kerenren/flask-musical-instrument-api
7a2ae6d5e9df54c272275394e4c7bb8f63106f54
[ "MIT" ]
null
null
null
class ElectricInstrument: def __init__(self, operating_volt, earphone_plug_type, has_speakers): super().__init__() self._operating_volt = operating_volt self._earphone_plug_type = earphone_plug_type self._has_speakers = has_speakers def __str__(self): return str.format...
35
87
0.692308
50
455
5.6
0.32
0.214286
0.285714
0.15
0.414286
0.221429
0
0
0
0
0
0
0.224176
455
12
88
37.916667
0.793201
0
0
0
0
0
0.128035
0.048565
0
0
0
0
0
1
0.222222
false
0
0
0.111111
0.444444
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
4
49cd78d0efeaed6a4f96a26c3275ceb7e6ee5665
109
py
Python
live_poll_multiple/apps.py
HiroshiFuu/cs-balloting
565eb3ee88769d88b27705828c10c7b5be964ef5
[ "MIT" ]
null
null
null
live_poll_multiple/apps.py
HiroshiFuu/cs-balloting
565eb3ee88769d88b27705828c10c7b5be964ef5
[ "MIT" ]
null
null
null
live_poll_multiple/apps.py
HiroshiFuu/cs-balloting
565eb3ee88769d88b27705828c10c7b5be964ef5
[ "MIT" ]
null
null
null
from django.apps import AppConfig class LivePollMultipleConfig(AppConfig): name = 'live_poll_multiple'
18.166667
40
0.798165
12
109
7.083333
0.916667
0
0
0
0
0
0
0
0
0
0
0
0.137615
109
5
41
21.8
0.904255
0
0
0
0
0
0.165138
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
49e191cd4cdd9bde9a2d3b7d1f4ba32e7e9f6af6
378
py
Python
ext/config.example.py
yo-ru/moe-bot
37bfac77c7d56394b22a4f5a94337d2ad8a9d414
[ "MIT" ]
null
null
null
ext/config.example.py
yo-ru/moe-bot
37bfac77c7d56394b22a4f5a94337d2ad8a9d414
[ "MIT" ]
null
null
null
ext/config.example.py
yo-ru/moe-bot
37bfac77c7d56394b22a4f5a94337d2ad8a9d414
[ "MIT" ]
null
null
null
# mysql credentials. mysql = { "db": "Moebot", "host": "localhost", "user": "yoru", "password": "changeme" } # discord application token. token = "12345678912345678912345678912345678912345678912345678912345" # osu api credentials. osu = { "id": "9558", "secret": "123456789123456789123456789123...
18.9
69
0.674603
29
378
8.758621
0.862069
0
0
0
0
0
0
0
0
0
0
0.332258
0.179894
378
20
70
18.9
0.487097
0.208995
0
0
0
0
0.528814
0.335593
0
0
0
0
0
1
0
false
0.076923
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
4
49e946fc5532052d98fe65c6e6951be21a7d227d
94
py
Python
python/static_methods.py
evan-tan/learning
63d7619a697401a40a60714c5d69b539d4d48c4b
[ "MIT" ]
null
null
null
python/static_methods.py
evan-tan/learning
63d7619a697401a40a60714c5d69b539d4d48c4b
[ "MIT" ]
null
null
null
python/static_methods.py
evan-tan/learning
63d7619a697401a40a60714c5d69b539d4d48c4b
[ "MIT" ]
null
null
null
class MyMath: @staticmethod def add5(x): return x + 5 print(MyMath.add5(5))
11.75
21
0.585106
13
94
4.230769
0.692308
0
0
0
0
0
0
0
0
0
0
0.060606
0.297872
94
8
21
11.75
0.772727
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0
0.2
0.6
0.2
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
4
b7063403305deb44a2a1263b9cb4bb48b4c90732
108
py
Python
accounting_client/apps.py
5g-media/accounting-agent
9ec653f1604bafbd8ec0757ddd7808835e4e798a
[ "Apache-2.0" ]
null
null
null
accounting_client/apps.py
5g-media/accounting-agent
9ec653f1604bafbd8ec0757ddd7808835e4e798a
[ "Apache-2.0" ]
5
2020-04-16T07:07:03.000Z
2020-04-16T07:07:56.000Z
accounting_client/apps.py
5g-media/accounting-agent
9ec653f1604bafbd8ec0757ddd7808835e4e798a
[ "Apache-2.0" ]
null
null
null
from django.apps import AppConfig class AccountingClientConfig(AppConfig): name = 'accounting_client'
18
40
0.796296
11
108
7.727273
0.909091
0
0
0
0
0
0
0
0
0
0
0
0.138889
108
5
41
21.6
0.913978
0
0
0
0
0
0.157407
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
b7195db1ca67fd35c716a70213a25f1385f77747
80
py
Python
back/predictors/__init__.py
geoffbacon/cerberus
8a9bea415a656a3b7a88237d827b7b97757e18ce
[ "MIT" ]
2
2020-01-14T01:29:13.000Z
2020-02-23T05:04:44.000Z
back/predictors/__init__.py
geoffbacon/cerberus
8a9bea415a656a3b7a88237d827b7b97757e18ce
[ "MIT" ]
null
null
null
back/predictors/__init__.py
geoffbacon/cerberus
8a9bea415a656a3b7a88237d827b7b97757e18ce
[ "MIT" ]
null
null
null
from back.predictors.paper_classifier_predictor import PaperClassifierPredictor
40
79
0.925
8
80
9
1
0
0
0
0
0
0
0
0
0
0
0
0.05
80
1
80
80
0.947368
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
b71dcf101ef47f806e3deff5a797e55f023fd773
115
py
Python
backend/voting/commands.py
Tiago-Lira/voting-app
5c57f7ffc1c1e04909d960a1615c8e86c1018684
[ "MIT" ]
1
2019-04-02T21:10:01.000Z
2019-04-02T21:10:01.000Z
backend/voting/commands.py
Tiago-Lira/voting-app
5c57f7ffc1c1e04909d960a1615c8e86c1018684
[ "MIT" ]
null
null
null
backend/voting/commands.py
Tiago-Lira/voting-app
5c57f7ffc1c1e04909d960a1615c8e86c1018684
[ "MIT" ]
null
null
null
from .application import app, manager, socketio @manager.command def socket(): socketio.run(app, port=8090)
14.375
47
0.730435
15
115
5.6
0.8
0
0
0
0
0
0
0
0
0
0
0.041237
0.156522
115
7
48
16.428571
0.824742
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
true
0
0.25
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
0
0
0
0
4
b71f6c65a77ab62ab6ad57c87ecc136b1bd5354e
234
py
Python
src/accounts/views/accounts.py
earth-emoji/august
065d4b449a138ead1557293bffcb20cd2db90a41
[ "BSD-2-Clause" ]
null
null
null
src/accounts/views/accounts.py
earth-emoji/august
065d4b449a138ead1557293bffcb20cd2db90a41
[ "BSD-2-Clause" ]
10
2021-03-19T10:47:13.000Z
2022-03-12T00:28:30.000Z
src/accounts/views/accounts.py
earth-emoji/august
065d4b449a138ead1557293bffcb20cd2db90a41
[ "BSD-2-Clause" ]
null
null
null
from django.contrib.auth import logout from django.contrib.auth.decorators import login_required from django.shortcuts import redirect, render @login_required def logout_view(request): logout(request) return redirect('home')
26
57
0.807692
31
234
6
0.548387
0.16129
0.182796
0.225806
0
0
0
0
0
0
0
0
0.119658
234
9
58
26
0.902913
0
0
0
0
0
0.017021
0
0
0
0
0
0
1
0.142857
false
0
0.428571
0
0.714286
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
1
0
0
0
0
4
3f7f1a881b044fe8c34571fcdf164ad4454f80fa
283
py
Python
test.py
Voja026/Chef-de-ouvre
f6890e4df55e2c292265cc285c8389a5b1c9a6a1
[ "MIT" ]
null
null
null
test.py
Voja026/Chef-de-ouvre
f6890e4df55e2c292265cc285c8389a5b1c9a6a1
[ "MIT" ]
null
null
null
test.py
Voja026/Chef-de-ouvre
f6890e4df55e2c292265cc285c8389a5b1c9a6a1
[ "MIT" ]
null
null
null
import database #database.connect_db("test", "energy", "ecolo", "localhost", "5432") database.create_tables() #database.insert_ppn("name", "latitude","longitude","commissioning_year") # database.insert_cap() # database.insert_own() # database.insert_fuel() # database.insert_loc()
25.727273
73
0.745583
33
283
6.151515
0.666667
0.344828
0
0
0
0
0
0
0
0
0
0.015209
0.070671
283
10
74
28.3
0.756654
0.805654
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
3f85226ee99dbddbe2c2bac3fc6fbea5ee79d58e
394
py
Python
bioimageit_gui/runner/_states.py
bioimageit/bioimageit_gui
3073cd33f0a3160b4aab8e3634b8e999bbe0f6bf
[ "BSD-4-Clause" ]
null
null
null
bioimageit_gui/runner/_states.py
bioimageit/bioimageit_gui
3073cd33f0a3160b4aab8e3634b8e999bbe0f6bf
[ "BSD-4-Clause" ]
1
2021-10-30T14:38:14.000Z
2021-10-30T14:38:14.000Z
bioimageit_gui/runner/_states.py
bioimageit/bioimageit_gui
3073cd33f0a3160b4aab8e3634b8e999bbe0f6bf
[ "BSD-4-Clause" ]
null
null
null
from bioimageit_gui.core.framework import BiStates class BiRunnerStates(BiStates): ProcessUriChanged = "BiRunnerStates::ProcessUriChanged" ProcessInfoLoaded = "BiRunnerStates::ProcessInfoLoaded" RunProcess = "BiRunnerStates::RunProcess" RunFinished = "BiRunnerStates::RunFinished" ClickedView = "Bi...
39.4
59
0.786802
28
394
11.035714
0.535714
0
0
0
0
0
0
0
0
0
0
0
0.124365
394
10
60
39.4
0.895652
0
0
0
0
0
0.437975
0.437975
0
0
0
0
0
1
0
false
0
0.125
0
1
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
1
0
0
4
3f97a0acaf2ccf6e62a45d6563b4d75d037556cd
58,575
py
Python
cbers4a/resources.py
elitonfilho/cbers4a
ca8828ed57e3fde09a363313c67ce4276cfc09b6
[ "MIT" ]
4
2020-10-13T05:37:31.000Z
2021-12-30T16:56:52.000Z
cbers4a/resources.py
fronzag/cbers4a
f25d10122a4a0aceff5a0bff42d5c6b7867912b0
[ "MIT" ]
3
2021-05-10T16:20:17.000Z
2022-03-31T18:05:24.000Z
cbers4a/resources.py
fronzag/cbers4a
f25d10122a4a0aceff5a0bff42d5c6b7867912b0
[ "MIT" ]
4
2020-12-08T12:51:02.000Z
2021-05-17T15:38:34.000Z
# -*- coding: utf-8 -*- # Resource object code # # Created by: The Resource Compiler for PyQt5 (Qt v5.11.3) # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore qt_resource_data = b"\ \x00\x00\x35\xd6\ \x00\ \x01\xae\xdf\x78\x9c\xed\x7d\xeb\x8e\x1b\xdb\x71\xee\xff\x3c\x05\ \x21\x23\x80\x...
63.25594
103
0.72717
14,115
58,575
3.014949
0.021821
0.011984
0.012689
0.010151
0.03137
0.027846
0.022958
0.022958
0.022958
0.022183
0
0.29589
0.017294
58,575
925
104
63.324324
0.443418
0.002595
0
0.016502
0
0.959296
0.000017
0
0
1
0
0
0
1
0.0022
false
0
0.0011
0
0.0033
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
4
3f9b3a1690634422ff90f3fbe042ef5d7fd058bc
15,053
py
Python
wlm/migrations/0001_initial.py
wikimedia-ru/wikilovesmonuments.ru
5a144fd15b9d0420ce86f09abeca3391215abca6
[ "Unlicense", "MIT" ]
null
null
null
wlm/migrations/0001_initial.py
wikimedia-ru/wikilovesmonuments.ru
5a144fd15b9d0420ce86f09abeca3391215abca6
[ "Unlicense", "MIT" ]
null
null
null
wlm/migrations/0001_initial.py
wikimedia-ru/wikilovesmonuments.ru
5a144fd15b9d0420ce86f09abeca3391215abca6
[ "Unlicense", "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding model 'Region' db.create_table('wlm_region', ( ('id', self.gf('django.db.models.fields....
68.113122
182
0.576031
1,634
15,053
5.212362
0.084455
0.117412
0.203828
0.291182
0.780909
0.754256
0.727721
0.67512
0.634965
0.556769
0
0.009784
0.191988
15,053
221
183
68.113122
0.690455
0.022388
0
0.236842
0
0
0.517445
0.327076
0
0
0
0
0
1
0.010526
false
0.005263
0.021053
0
0.047368
0
0
0
0
null
0
1
1
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
3faf1bc435855c7eb3bf384bf86bf0fa4e405ef5
113
py
Python
widgets/__init__.py
ilil01/qdt
2921fb121f8c6e8cd29bd82fc4b591cb92abab78
[ "BSD-3-Clause" ]
null
null
null
widgets/__init__.py
ilil01/qdt
2921fb121f8c6e8cd29bd82fc4b591cb92abab78
[ "BSD-3-Clause" ]
null
null
null
widgets/__init__.py
ilil01/qdt
2921fb121f8c6e8cd29bd82fc4b591cb92abab78
[ "BSD-3-Clause" ]
null
null
null
from common import ( iter_submodules ) for mod in iter_submodules(): exec("from ." + mod + " import *")
16.142857
38
0.628319
14
113
4.928571
0.642857
0.405797
0
0
0
0
0
0
0
0
0
0
0.238938
113
6
39
18.833333
0.802326
0
0
0
0
0
0.132743
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
3fce92498bb84a272861b885c26965898a7c4918
245
py
Python
my_project/App_Blog/templatetags/custom_filters.py
zhouliupku/my_blog_project
1ee95c166d1159a1babbe866556990018efc6a9a
[ "MIT" ]
null
null
null
my_project/App_Blog/templatetags/custom_filters.py
zhouliupku/my_blog_project
1ee95c166d1159a1babbe866556990018efc6a9a
[ "MIT" ]
null
null
null
my_project/App_Blog/templatetags/custom_filters.py
zhouliupku/my_blog_project
1ee95c166d1159a1babbe866556990018efc6a9a
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Create Time: 11/17/2021 12:29 PM Author: Zhou """ from django import template register = template.Library() def range_filter(value): return value[0:500] + "...." register.filter('range_filter', range_filter)
15.3125
45
0.669388
34
245
4.735294
0.764706
0.204969
0.21118
0
0
0
0
0
0
0
0
0.082126
0.155102
245
16
45
15.3125
0.695652
0.277551
0
0
0
0
0.094118
0
0
0
0
0
0
1
0.2
false
0
0.2
0.2
0.6
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
4
3fef67a55f628cffd5aacc52c5b286b818b9c5b0
527
py
Python
openerp/addons/web_gantt/__openerp__.py
ntiufalara/openerp7
903800da0644ec0dd9c1dcd34205541f84d45fe4
[ "MIT" ]
3
2016-01-29T14:39:49.000Z
2018-12-29T22:42:00.000Z
openerp/addons/web_gantt/__openerp__.py
ntiufalara/openerp7
903800da0644ec0dd9c1dcd34205541f84d45fe4
[ "MIT" ]
2
2016-03-23T14:29:41.000Z
2017-02-20T17:11:30.000Z
openerp/addons/web_gantt/__openerp__.py
ntiufalara/openerp7
903800da0644ec0dd9c1dcd34205541f84d45fe4
[ "MIT" ]
null
null
null
{ 'name': 'Web Gantt', 'category': 'Hidden', 'description': """ OpenERP Web Gantt chart view. ============================= """, 'version': '2.0', 'depends': ['web'], 'js': [ 'static/lib/dhtmlxGantt/sources/dhtmlxcommon.js', 'static/lib/dhtmlxGantt/sources/dhtmlxgantt.js', ...
23.954545
91
0.533207
54
527
5.185185
0.5
0.085714
0.214286
0.157143
0.207143
0
0
0
0
0
0
0.004819
0.212524
527
21
92
25.095238
0.66988
0
0
0.1
0
0
0.654649
0.404175
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
b20f62148d9858f977fb4bf327f966a8dfb88d24
286
py
Python
spug_api/libs/__init__.py
atompi/spug
88ebd46e47c88731b40cb82a6c7a360511b703fa
[ "MIT" ]
null
null
null
spug_api/libs/__init__.py
atompi/spug
88ebd46e47c88731b40cb82a6c7a360511b703fa
[ "MIT" ]
null
null
null
spug_api/libs/__init__.py
atompi/spug
88ebd46e47c88731b40cb82a6c7a360511b703fa
[ "MIT" ]
null
null
null
# Copyright: (c) OpenSpug Organization. https://github.com/openspug/spug # Copyright: (c) <spug.dev@gmail.com> # Released under the AGPL-3.0 License. from .parser import JsonParser, Argument from .decorators import * from .validators import * from .mixins import * from .utils import *
31.777778
72
0.751748
39
286
5.512821
0.666667
0.139535
0
0
0
0
0
0
0
0
0
0.008032
0.129371
286
8
73
35.75
0.855422
0.5
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
b77899e455bc25484e7ca247416451d847d2034a
165
py
Python
bin/ominoes/one-sided-pentominoes-6x15.py
tiwo/puzzler
7ad3d9a792f0635f7ec59ffa85fb46b54fd77a7e
[ "Intel" ]
null
null
null
bin/ominoes/one-sided-pentominoes-6x15.py
tiwo/puzzler
7ad3d9a792f0635f7ec59ffa85fb46b54fd77a7e
[ "Intel" ]
null
null
null
bin/ominoes/one-sided-pentominoes-6x15.py
tiwo/puzzler
7ad3d9a792f0635f7ec59ffa85fb46b54fd77a7e
[ "Intel" ]
1
2022-01-02T16:54:14.000Z
2022-01-02T16:54:14.000Z
#!/usr/bin/env python # $Id$ """ solutions""" import puzzler from puzzler.puzzles.pentominoes import OneSidedPentominoes6x15 puzzler.run(OneSidedPentominoes6x15)
16.5
63
0.787879
17
165
7.647059
0.764706
0
0
0
0
0
0
0
0
0
0
0.040268
0.09697
165
9
64
18.333333
0.832215
0.212121
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
b7848984de673ca0cf7b770be86021c3323629a1
141
py
Python
globee/urls.py
lovvskillz/django-globee
3042a699c3e24c26e49ca15bb73f96d2afc62ce0
[ "MIT" ]
7
2018-10-03T18:12:36.000Z
2021-05-21T21:25:45.000Z
globee/urls.py
lovvskillz/django-globee
3042a699c3e24c26e49ca15bb73f96d2afc62ce0
[ "MIT" ]
4
2018-11-16T16:14:16.000Z
2019-11-22T16:51:08.000Z
globee/urls.py
lovvskillz/django-globee
3042a699c3e24c26e49ca15bb73f96d2afc62ce0
[ "MIT" ]
1
2018-11-13T21:52:36.000Z
2018-11-13T21:52:36.000Z
from django.urls import path from globee import views urlpatterns = [ path('globee-ipn/', views.globee_ipn_view, name='globee-ipn'), ]
17.625
66
0.723404
20
141
5
0.55
0.27
0
0
0
0
0
0
0
0
0
0
0.148936
141
7
67
20.142857
0.833333
0
0
0
0
0
0.148936
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
b793f82decc963e5a579fe036d20c3a26e311d17
2,123
py
Python
sublimeText3/Packages/SublimeCodeIntel/libs/codeintel2/hooks.py
MoAnsir/dot_file_2017
5f67ef8f430416c82322ab7e7e001548936454ff
[ "MIT" ]
2
2018-04-24T10:02:26.000Z
2019-06-02T13:53:31.000Z
Data/Packages/SublimeCodeIntel/libs/codeintel2/hooks.py
Maxize/Sublime_Text_3
be620476b49f9a6ce2ca2cfe825c4e142e7e82b9
[ "Apache-2.0" ]
1
2016-02-10T09:50:09.000Z
2016-02-10T09:50:09.000Z
Packages/SublimeCodeIntel/libs/codeintel2/hooks.py
prisis/sublime-text-packages
99ae8a5496613e27a75e5bd91723549b21476e60
[ "MIT" ]
2
2019-04-11T04:13:02.000Z
2019-06-02T13:53:33.000Z
#!/usr/bin/env python # Copyright (c) 2006-2008 ActiveState Software Inc. # See LICENSE.txt for license details. """Parts of the codeintel system may provide hooks for customization by external modules. Implementing a hook is done by adding a `CodeIntelHookHandler` instance with the manager, like this: ---- codei...
33.171875
74
0.662741
296
2,123
4.709459
0.52027
0.006456
0.020086
0.028694
0
0
0
0
0
0
0
0.006246
0.245878
2,123
63
75
33.698413
0.86446
0.814885
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0.111111
0.222222
0
0.777778
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
4
b7958be478751e26119bce4900ca9650a56fba83
369
py
Python
healthcheck/__init__.py
funilrys/py-healthcheck
b593901449e32f7f86478cd6933f5e2f856b2d8b
[ "MIT" ]
null
null
null
healthcheck/__init__.py
funilrys/py-healthcheck
b593901449e32f7f86478cd6933f5e2f856b2d8b
[ "MIT" ]
null
null
null
healthcheck/__init__.py
funilrys/py-healthcheck
b593901449e32f7f86478cd6933f5e2f856b2d8b
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- try: from functools import reduce # noqa except Exception: pass try: from .tornado_handler import TornadoHandler # noqa except ImportError: pass from .environmentdump import EnvironmentDump # noqa from .healthcheck import HealthCheck # noqa from .wrap...
21.705882
58
0.734417
46
369
5.782609
0.586957
0.052632
0
0
0
0
0
0
0
0
0
0.003344
0.189702
369
16
59
23.0625
0.886288
0.181572
0
0.363636
0
0
0
0
0
0
0
0
0
1
0
true
0.181818
0.545455
0
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
0
1
1
1
0
1
0
0
4
b7a7583f1b3587ad0222ae5b7f88a0e8088b1a24
540
py
Python
sdk/python/tests/integration/feature_repos/universal/entities.py
ibnummuhammad/feast
1fd9c2def1fbaca68e865a7c67336793ddb25582
[ "Apache-2.0" ]
3
2021-12-17T09:09:12.000Z
2022-02-02T06:17:59.000Z
sdk/python/tests/integration/feature_repos/universal/entities.py
ibnummuhammad/feast
1fd9c2def1fbaca68e865a7c67336793ddb25582
[ "Apache-2.0" ]
null
null
null
sdk/python/tests/integration/feature_repos/universal/entities.py
ibnummuhammad/feast
1fd9c2def1fbaca68e865a7c67336793ddb25582
[ "Apache-2.0" ]
1
2022-02-02T06:22:28.000Z
2022-02-02T06:22:28.000Z
from feast import Entity, ValueType def driver(value_type: ValueType = ValueType.INT64): return Entity( name="driver", # The name is derived from this argument, not object name. value_type=value_type, description="driver id", join_keys=["driver_id"], ) def customer(): re...
23.478261
82
0.692593
70
540
5.185714
0.371429
0.14876
0.198347
0.165289
0.223141
0.15427
0
0
0
0
0
0.018391
0.194444
540
22
83
24.545455
0.816092
0.103704
0
0
0
0
0.109959
0
0
0
0
0
0
1
0.285714
false
0
0.071429
0.285714
0.642857
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
4
b7e4e0da102643d38c5bc81f7ec77b2c676d9ed8
736
py
Python
Desafio022 - Analisador de Textos.py
tmoura1981/Python_Exercicios
c873e2758dfd9058d2c2d83b5b38b522c6264029
[ "MIT" ]
1
2021-11-25T11:19:59.000Z
2021-11-25T11:19:59.000Z
Desafio022 - Analisador de Textos.py
tmoura1981/Python_Exercicios
c873e2758dfd9058d2c2d83b5b38b522c6264029
[ "MIT" ]
null
null
null
Desafio022 - Analisador de Textos.py
tmoura1981/Python_Exercicios
c873e2758dfd9058d2c2d83b5b38b522c6264029
[ "MIT" ]
null
null
null
#Ler o nome completo de uma pessoa e: #Nome com todas as letras maiúsculas. nome = input('Qual o seu nome? ') print(f'Tranformado em maiúsculo fica {nome.upper()}.') #Nome com todas as letras minúsculas. print(f'Transformando em minúsculo fica {nome.lower()}.') #Quantas letras há ao todo, no nome e sobrenome, mas sem...
24.533333
105
0.713315
121
736
4.338843
0.438017
0.057143
0.045714
0.053333
0.16381
0
0
0
0
0
0
0.006494
0.163043
736
29
106
25.37931
0.845779
0.36413
0
0
0
0.285714
0.764444
0
0
0
0
0.034483
0
1
0
false
0
0
0
0
0.714286
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
1
1
0
null
0
0
1
0
0
0
0
0
0
0
0
1
0
4
b7f6487df8b75e4f961c42566c7e052330470483
415
py
Python
empty/TaskEmpty.py
tt20050510/howard-dfs-web
7cd17847e17fa69e3ad0be6c797ff07434b2ae7f
[ "Apache-2.0" ]
null
null
null
empty/TaskEmpty.py
tt20050510/howard-dfs-web
7cd17847e17fa69e3ad0be6c797ff07434b2ae7f
[ "Apache-2.0" ]
null
null
null
empty/TaskEmpty.py
tt20050510/howard-dfs-web
7cd17847e17fa69e3ad0be6c797ff07434b2ae7f
[ "Apache-2.0" ]
null
null
null
from sqlalchemy import Column, String, Boolean, Integer from empty import TaskBase class Task(TaskBase): __tablename__ = 'task_info' task_id: str = Column(String(36), primary_key=True) enable: bool = Column(Boolean()) content: str = Column(String(36)) time: str = Column(String(36)) label: str ...
31.923077
55
0.684337
55
415
5.036364
0.490909
0.303249
0.32491
0.245487
0
0
0
0
0
0
0
0.041543
0.187952
415
13
56
31.923077
0.780415
0
0
0
0
0
0.021635
0
0
0
0
0
0
1
0
false
0
0.181818
0
1
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
1
0
0
4
4d09d1eaa2b8f775920ab07c66e163d7e7729cbd
319
py
Python
myuser/models.py
GregSpurgeon/customUser
f3096ddfe5bdfeab27880b2b4d153ce55ccf5743
[ "MIT" ]
null
null
null
myuser/models.py
GregSpurgeon/customUser
f3096ddfe5bdfeab27880b2b4d153ce55ccf5743
[ "MIT" ]
null
null
null
myuser/models.py
GregSpurgeon/customUser
f3096ddfe5bdfeab27880b2b4d153ce55ccf5743
[ "MIT" ]
null
null
null
from django.db import models from django.contrib.auth.models import AbstractUser # Create your models here. class MyUser(AbstractUser): display_name = models.CharField(blank=True, null=True, max_length=50) age = models.IntegerField(blank=True, null=True) homepage = models.URLField(blank=True, null=True)
31.9
73
0.768025
44
319
5.522727
0.590909
0.111111
0.160494
0.209877
0
0
0
0
0
0
0
0.00722
0.131661
319
9
74
35.444444
0.870036
0.075235
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
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
1
0
0
4
4d11c01e6b87c6b5be84ccd90ea2b145278f420f
1,826
py
Python
python/PT Maker/ImTest.py
wastevensv/scrap-code
3e431f376c632a82ee730865fa0990647b7fb530
[ "MIT" ]
null
null
null
python/PT Maker/ImTest.py
wastevensv/scrap-code
3e431f376c632a82ee730865fa0990647b7fb530
[ "MIT" ]
null
null
null
python/PT Maker/ImTest.py
wastevensv/scrap-code
3e431f376c632a82ee730865fa0990647b7fb530
[ "MIT" ]
null
null
null
from PIL import ImageFont from PIL import Image from PIL import ImageDraw from periodic.table import element #elements= [H , He , Li , Be , B , C , N , O , F , Ne , Na , Mg , Al , Si , P , S , Cl , Ar , K , Ca , Sc , Ti , V , Cr , Mn , Fe , Co , Ni , Cu , Zn , Ga , Ge , As , Se , Br , Kr , Rb , Sr , Y , Zr , Nb , Mo , ...
67.62963
592
0.525192
356
1,826
2.691011
0.620787
0.091858
0.128392
0.162839
0.155532
0.06785
0.046973
0.046973
0.046973
0.046973
0
0.224551
0.268346
1,826
27
593
67.62963
0.492515
0.323658
0
0
0
0
0.054251
0
0
0
0
0
0
0
null
null
0
0.190476
null
null
0.047619
0
0
0
null
0
0
1
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
4
4d357b344bb81db63039c33cdb7bacc53b0f5495
319
py
Python
ts_utils/predicates.py
devjeetr/ts_utils
a8bc65ca28be7bbf9ef9ba9509325194aefb1c3a
[ "Apache-2.0" ]
2
2021-12-21T02:49:52.000Z
2022-03-07T19:40:55.000Z
ts_utils/predicates.py
devjeetr/ts_utils
a8bc65ca28be7bbf9ef9ba9509325194aefb1c3a
[ "Apache-2.0" ]
1
2022-03-07T19:56:24.000Z
2022-03-07T19:56:24.000Z
ts_utils/predicates.py
devjeetr/ts_utils
a8bc65ca28be7bbf9ef9ba9509325194aefb1c3a
[ "Apache-2.0" ]
null
null
null
from typing import Callable from tree_sitter import Node Predicate = Callable[[Node], bool] def of_type(*node_types: str) -> Predicate: return lambda node: node.type in node_types def named_only(node: Node) -> bool: return node.is_named def is_leaf(node: Node) -> bool: return node.child_count == 0
17.722222
47
0.717868
49
319
4.510204
0.489796
0.108597
0.108597
0.162896
0.199095
0
0
0
0
0
0
0.003846
0.184953
319
17
48
18.764706
0.846154
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.222222
0.333333
0.888889
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
1
0
0
4
4d79de295527ccaff3681dafe00bf851fc493ccf
228
py
Python
social_media_links/templatetags/social_media_links_tags.py
bitlabstudio/django-social-media-links
8b98dc4081721a40cd9e780c677170686d8ec64d
[ "MIT" ]
3
2015-10-21T14:25:06.000Z
2016-03-20T01:09:37.000Z
social_media_links/templatetags/social_media_links_tags.py
bitmazk/django-social-media-links
8b98dc4081721a40cd9e780c677170686d8ec64d
[ "MIT" ]
null
null
null
social_media_links/templatetags/social_media_links_tags.py
bitmazk/django-social-media-links
8b98dc4081721a40cd9e780c677170686d8ec64d
[ "MIT" ]
5
2016-01-31T22:06:48.000Z
2016-06-04T23:29:24.000Z
"""Templatetags for the social_media_links app.""" from django import template from .. import models register = template.Library() @register.assignment_tag def get_social_media_links(): return models.Link.objects.all()
17.538462
50
0.767544
30
228
5.633333
0.733333
0.130178
0.189349
0
0
0
0
0
0
0
0
0
0.131579
228
12
51
19
0.853535
0.192982
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0.166667
0.666667
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
1
0
0
4
4d7f5c09fac699ed7bce8a134e1c8eec35894303
1,261
py
Python
fdk_client/application/models/UserSchema.py
kavish-d/fdk-client-python
a1023eb530473322cb52e095fc4ceb226c1e6037
[ "MIT" ]
null
null
null
fdk_client/application/models/UserSchema.py
kavish-d/fdk-client-python
a1023eb530473322cb52e095fc4ceb226c1e6037
[ "MIT" ]
null
null
null
fdk_client/application/models/UserSchema.py
kavish-d/fdk-client-python
a1023eb530473322cb52e095fc4ceb226c1e6037
[ "MIT" ]
null
null
null
"""Application Models.""" from marshmallow import fields, Schema from marshmallow.validate import OneOf from ..enums import * from ..models.BaseSchema import BaseSchema from .PhoneNumber import PhoneNumber from .Email import Email from .Debug import Debug class UserSchema(BaseSchema): ...
15.378049
91
0.674068
145
1,261
5.77931
0.351724
0.294749
0.22315
0.288783
0.119332
0
0
0
0
0
0
0
0.229976
1,261
81
92
15.567901
0.863028
0.030135
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0.04
0.28
0
1
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
1
0
0
4
4d84aea7e6c95d53f5be9daba2051bbcdca6b3c1
2,282
py
Python
testproj/users/method_serializers_with_typing.py
gdalmau/drf-yasg
acff90ac26eba01e363bfd3ecc75b71a6a37088a
[ "BSD-3-Clause" ]
65
2020-10-06T15:37:49.000Z
2022-02-24T05:18:28.000Z
testproj/users/method_serializers_with_typing.py
gdalmau/drf-yasg
acff90ac26eba01e363bfd3ecc75b71a6a37088a
[ "BSD-3-Clause" ]
48
2020-10-07T11:14:40.000Z
2021-02-03T15:07:39.000Z
testproj/users/method_serializers_with_typing.py
gdalmau/drf-yasg
acff90ac26eba01e363bfd3ecc75b71a6a37088a
[ "BSD-3-Clause" ]
4
2020-10-10T18:03:33.000Z
2020-10-23T07:56:34.000Z
import datetime import decimal import uuid from rest_framework import serializers class Unknown(object): pass class MethodFieldExampleSerializer(serializers.Serializer): """ Implementation of SerializerMethodField using type hinting for Python >= 3.5 """ hinted_bool = serializers.SerializerMet...
28.886076
86
0.699825
293
2,282
5.317406
0.211604
0.184852
0.207959
0.231065
0.429397
0.429397
0.429397
0.429397
0.385751
0.385751
0
0.005137
0.232252
2,282
78
87
29.25641
0.884132
0.033304
0
0.038462
0
0
0.259817
0
0
0
0
0
0
1
0.173077
false
0.019231
0.076923
0.173077
0.634615
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
1
1
0
0
4
4d8b3c6f00530eb95828a30ccd7bac2d126f5370
433
py
Python
src/cogs/music/errors.py
DTS-11/Jarvide
b3afbaac271eff8fea42c912f3c9d47efbccf184
[ "MIT" ]
27
2021-12-30T14:47:03.000Z
2022-03-10T19:34:13.000Z
src/cogs/music/errors.py
DTS-11/Jarvide
b3afbaac271eff8fea42c912f3c9d47efbccf184
[ "MIT" ]
61
2021-12-31T00:13:58.000Z
2022-03-04T09:38:24.000Z
src/cogs/music/errors.py
DTS-11/Jarvide
b3afbaac271eff8fea42c912f3c9d47efbccf184
[ "MIT" ]
40
2021-12-30T14:58:24.000Z
2022-02-15T14:12:30.000Z
import disnake from typing import Optional from disnake.ext import commands class NoChannelProvided(commands.CommandError): """Raised when no suitable voice channel is provided """ def __init__(self, botmessage: Optional[disnake.Message] = None)-> None: self.botmessage = botmessage class IncorrectChan...
36.083333
76
0.759815
51
433
6.372549
0.647059
0.123077
0.16
0.184615
0
0
0
0
0
0
0
0
0.159353
433
12
77
36.083333
0.892857
0.256351
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0.125
0.375
0
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
0
0
1
1
0
1
0
0
4
4d8eb357144725cf9e21675f034fdb72efc186c3
134
py
Python
app/web_scaper.py
choogiesaur/stonk-scraper
e20027dac8bd1474b638deae024f3e57104cb462
[ "MIT" ]
2
2021-02-13T01:12:54.000Z
2021-11-24T05:13:25.000Z
app/web_scaper.py
choogiesaur/stonk-scraper
e20027dac8bd1474b638deae024f3e57104cb462
[ "MIT" ]
null
null
null
app/web_scaper.py
choogiesaur/stonk-scraper
e20027dac8bd1474b638deae024f3e57104cb462
[ "MIT" ]
null
null
null
import requests from bs4 import BeautifulSoup as bs stock_name = [] stock_symbol = [] def scrape_stocks_and_symbols(stock): pass
16.75
37
0.768657
19
134
5.157895
0.842105
0
0
0
0
0
0
0
0
0
0
0.008929
0.164179
134
8
38
16.75
0.866071
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0.166667
0.333333
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
1
1
0
0
0
0
4
4db633b529ce4ccedaacb025595846e7610c3cbe
69
py
Python
ocean_model_skill_assessor/plot/__init__.py
kthyng/ocean-model-skill-assessor
c2803a5817ad5ad895997fca8d29fba377869677
[ "MIT" ]
null
null
null
ocean_model_skill_assessor/plot/__init__.py
kthyng/ocean-model-skill-assessor
c2803a5817ad5ad895997fca8d29fba377869677
[ "MIT" ]
6
2021-08-24T19:15:44.000Z
2021-11-16T18:50:04.000Z
ocean_model_skill_assessor/plot/__init__.py
kthyng/ocean-model-skill-assessor
c2803a5817ad5ad895997fca8d29fba377869677
[ "MIT" ]
1
2021-09-14T17:11:56.000Z
2021-09-14T17:11:56.000Z
""" Plotting functions available for ocean-model-skill-assessor. """
17.25
60
0.753623
8
69
6.5
1
0
0
0
0
0
0
0
0
0
0
0
0.101449
69
3
61
23
0.83871
0.869565
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
4dc0fc3e5e953ca0d405b21a3df3fbee44013079
92
py
Python
Knackered-Backend/Custom-Checks/__init__.py
AscSecTeam/knackered-runner
39e16cad4a6108a6a7022d4c8e101ae8c0fce8ea
[ "MIT" ]
1
2015-04-14T22:36:42.000Z
2015-04-14T22:36:42.000Z
Knackered-Backend/Custom-Checks/__init__.py
AscSecTeam/knackered-runner
39e16cad4a6108a6a7022d4c8e101ae8c0fce8ea
[ "MIT" ]
null
null
null
Knackered-Backend/Custom-Checks/__init__.py
AscSecTeam/knackered-runner
39e16cad4a6108a6a7022d4c8e101ae8c0fce8ea
[ "MIT" ]
null
null
null
#This directory intended for any checks in which the nagios-plugins checks are insufficient.
92
92
0.836957
14
92
5.5
0.928571
0
0
0
0
0
0
0
0
0
0
0
0.130435
92
1
92
92
0.9625
0.98913
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
4dc936a7f6b4a335fa97595eb6fea93d33f85be2
941
py
Python
je_web_runner/selenium_wrapper/web_element_wrapper.py
JE-Chen/SeleniumWrapper_JE
192c457ad5b3b7e1e8aa0316a461f4dd532f5ffd
[ "MIT" ]
null
null
null
je_web_runner/selenium_wrapper/web_element_wrapper.py
JE-Chen/SeleniumWrapper_JE
192c457ad5b3b7e1e8aa0316a461f4dd532f5ffd
[ "MIT" ]
null
null
null
je_web_runner/selenium_wrapper/web_element_wrapper.py
JE-Chen/SeleniumWrapper_JE
192c457ad5b3b7e1e8aa0316a461f4dd532f5ffd
[ "MIT" ]
null
null
null
from typing import List from selenium.webdriver.remote.webelement import WebElement from selenium.webdriver.support.ui import Select from je_web_runner.utils.assert_value.result_check import check_web_element class WebElementWrapper(object): def __init__(self): self.current_web_element: [WebElement] = ...
29.40625
79
0.769394
126
941
5.365079
0.31746
0.192308
0.226331
0.248521
0.20858
0.091716
0
0
0
0
0
0
0.156217
941
31
80
30.354839
0.851385
0
0
0
0
0
0
0
0
0
0
0
0.052632
1
0.315789
false
0
0.210526
0.052632
0.631579
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
1
0
0
4
128bed6ecc870a67f97a637ced6f97b71b70f29f
59,828
py
Python
suppinfo.py
myyim/placecellperceptron
8e03b880f47a1f0b7934afd91afb167f669ceeab
[ "MIT" ]
1
2021-06-22T21:20:12.000Z
2021-06-22T21:20:12.000Z
suppinfo.py
myyim/placecellperceptron
8e03b880f47a1f0b7934afd91afb167f669ceeab
[ "MIT" ]
null
null
null
suppinfo.py
myyim/placecellperceptron
8e03b880f47a1f0b7934afd91afb167f669ceeab
[ "MIT" ]
null
null
null
# This code was developed by Man Yi Yim (manyi.yim@gmail.com) under Python 2.7.13. import numpy as np import pylab import matplotlib as mpl import pickle import itertools import os figpath = './figure/' if not os.path.exists(figpath): os.makedirs(figpath) datapath = './data/' if not os.path.exists(datapath): o...
40.86612
252
0.535585
9,406
59,828
3.368595
0.054114
0.017832
0.028405
0.021461
0.802304
0.753921
0.711346
0.667635
0.630677
0.603251
0
0.069592
0.257605
59,828
1,463
253
40.894053
0.643777
0.075817
0
0.652439
0
0
0.049115
0
0
0
0
0
0
1
0.006098
false
0
0.008384
0
0.014482
0.019055
0
0
0
null
0
0
0
1
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
12964694163d3cee1a968f7fd2628dc7174ad958
88
py
Python
pkgs/ops-pkg/src/genie/libs/ops/static_routing/static_routing.py
jbronikowski/genielibs
200a34e5fe4838a27b5a80d5973651b2e34ccafb
[ "Apache-2.0" ]
94
2018-04-30T20:29:15.000Z
2022-03-29T13:40:31.000Z
pkgs/ops-pkg/src/genie/libs/ops/static_routing/static_routing.py
jbronikowski/genielibs
200a34e5fe4838a27b5a80d5973651b2e34ccafb
[ "Apache-2.0" ]
67
2018-12-06T21:08:09.000Z
2022-03-29T18:00:46.000Z
pkgs/ops-pkg/src/genie/libs/ops/static_routing/static_routing.py
jbronikowski/genielibs
200a34e5fe4838a27b5a80d5973651b2e34ccafb
[ "Apache-2.0" ]
49
2018-06-29T18:59:03.000Z
2022-03-10T02:07:59.000Z
# Genie from genie.ops.base import Base class StaticRouting(Base): exclude = []
17.6
32
0.681818
11
88
5.454545
0.727273
0
0
0
0
0
0
0
0
0
0
0
0.215909
88
5
33
17.6
0.869565
0.056818
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
129e395117d30e36c61b5366f3d71b0f7c585dc5
1,048
py
Python
app/crud/users.py
arktosk/python-todo-app
ad853fb1bc835a44c80ca6242c35c891a377f782
[ "MIT" ]
null
null
null
app/crud/users.py
arktosk/python-todo-app
ad853fb1bc835a44c80ca6242c35c891a377f782
[ "MIT" ]
null
null
null
app/crud/users.py
arktosk/python-todo-app
ad853fb1bc835a44c80ca6242c35c891a377f782
[ "MIT" ]
null
null
null
from sqlalchemy.orm import Session from .. import models, schemas, security def authenticate_user(db: Session, user_email: str, password: str): db_user = get_user_by_email(db, email=user_email) if not db_user: return False if not security.verify_password(password, db_user.hashed_password): ...
31.757576
76
0.721374
158
1,048
4.601266
0.259494
0.123796
0.053645
0.070151
0.210454
0.134801
0.134801
0.134801
0.134801
0.134801
0
0.004535
0.158397
1,048
32
77
32.75
0.819728
0
0
0.181818
0
0
0
0
0
0
0
0
0
1
0.227273
false
0.181818
0.090909
0.136364
0.636364
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
1
1
0
0
4
12a1b33dd2668ce3862e0574abdfdcbcd2533a51
90
py
Python
Curso de Cisco/Actividades/Ordenamiento con reverse.py
tomasfriz/Curso-de-Cisco
a50ee5fa96bd86d468403e29ccdc3565a181af60
[ "MIT" ]
null
null
null
Curso de Cisco/Actividades/Ordenamiento con reverse.py
tomasfriz/Curso-de-Cisco
a50ee5fa96bd86d468403e29ccdc3565a181af60
[ "MIT" ]
null
null
null
Curso de Cisco/Actividades/Ordenamiento con reverse.py
tomasfriz/Curso-de-Cisco
a50ee5fa96bd86d468403e29ccdc3565a181af60
[ "MIT" ]
null
null
null
lst = [5, 3, 1, 2, 4] print(lst) lst.reverse() print (lst) # salida: [4, 2, 1, 3, 5]
15
37
0.5
18
90
2.5
0.5
0.355556
0
0
0
0
0
0
0
0
0
0.149254
0.255556
90
5
38
18
0.522388
0.255556
0
0.5
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
4
12ccc78077e93eb44669034037436e0f2a6624c9
35
py
Python
homeassistant/components/harmony/__init__.py
itewk/home-assistant
769cf19052f8c9ef374d8ba8ae7705ccc7bf4cf4
[ "Apache-2.0" ]
23
2017-11-15T21:03:53.000Z
2021-03-29T21:33:48.000Z
homeassistant/components/harmony/__init__.py
itewk/home-assistant
769cf19052f8c9ef374d8ba8ae7705ccc7bf4cf4
[ "Apache-2.0" ]
39
2016-12-16T12:40:34.000Z
2017-02-13T17:53:42.000Z
homeassistant/components/harmony/__init__.py
itewk/home-assistant
769cf19052f8c9ef374d8ba8ae7705ccc7bf4cf4
[ "Apache-2.0" ]
10
2018-01-01T00:12:51.000Z
2021-12-21T23:08:05.000Z
"""Support for Harmony devices."""
17.5
34
0.685714
4
35
6
1
0
0
0
0
0
0
0
0
0
0
0
0.114286
35
1
35
35
0.774194
0.8
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
1
0
null
0
0
0
0
0
0
0
0
0
0
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
4
12e02721a32c6950922f615f32cea9ca1c8af2df
21,254
py
Python
cumulusci/tasks/release_notes/tests/test_parser.py
jdominiczak/CumulusCI
f706c1906f9eb6d604c571a9dd16f5d0ed38599f
[ "BSD-3-Clause" ]
null
null
null
cumulusci/tasks/release_notes/tests/test_parser.py
jdominiczak/CumulusCI
f706c1906f9eb6d604c571a9dd16f5d0ed38599f
[ "BSD-3-Clause" ]
null
null
null
cumulusci/tasks/release_notes/tests/test_parser.py
jdominiczak/CumulusCI
f706c1906f9eb6d604c571a9dd16f5d0ed38599f
[ "BSD-3-Clause" ]
null
null
null
from future import standard_library standard_library.install_aliases() import http.client import mock import unittest import responses from cumulusci.tasks.release_notes.exceptions import GithubIssuesError from cumulusci.tasks.release_notes.generator import GithubReleaseNotesGenerator from cumulusci.tasks.release_no...
39.432282
103
0.647596
2,501
21,254
5.232707
0.072771
0.055475
0.043555
0.02598
0.812715
0.791472
0.741805
0.688928
0.663483
0.626194
0
0.005561
0.23859
21,254
538
104
39.505576
0.803127
0.01388
0
0.54267
0
0.013129
0.097637
0.017474
0
0
0
0
0.087527
1
0.091904
false
0.004376
0.035011
0
0.150985
0
0
0
0
null
0
0
0
1
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
12ff7e5053973d6883fb1488f33072684a4ea015
22,203
py
Python
tests/device/__init__.py
TheUncleKai/pyeasyb
6237d67bfb9ad7599c7706f3ccbe83aa1806464e
[ "Apache-2.0" ]
null
null
null
tests/device/__init__.py
TheUncleKai/pyeasyb
6237d67bfb9ad7599c7706f3ccbe83aa1806464e
[ "Apache-2.0" ]
10
2019-12-26T00:38:14.000Z
2020-02-08T23:07:13.000Z
tests/device/__init__.py
TheUncleKai/pyeasyb
6237d67bfb9ad7599c7706f3ccbe83aa1806464e
[ "Apache-2.0" ]
1
2020-01-08T20:07:09.000Z
2020-01-08T20:07:09.000Z
#!/usr/bin/python3 # -*- coding: utf-8 -*- # # 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 ...
25.907818
111
0.568662
2,363
22,203
5.247567
0.115954
0.043548
0.039839
0.042581
0.769032
0.73121
0.706371
0.677419
0.656532
0.641129
0
0.07642
0.325181
22,203
856
112
25.938084
0.751185
0.046931
0
0.71912
0
0
0.040991
0
0
0
0.067179
0
0.159052
1
0.067682
false
0
0.020305
0
0.15736
0
0
0
0
null
0
0
0
0
1
1
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
4
42342567068446ff63ec71601171a52339d0d3f4
4,047
py
Python
migrations/versions/5c345619908c_.py
octomen/thupoll
1114d8e9802a97c1fd9d3850c887df94e7fa609e
[ "MIT" ]
2
2019-04-11T20:02:45.000Z
2019-04-15T01:43:09.000Z
migrations/versions/5c345619908c_.py
octomen/thupoll
1114d8e9802a97c1fd9d3850c887df94e7fa609e
[ "MIT" ]
37
2019-03-17T14:45:38.000Z
2019-06-07T03:19:22.000Z
migrations/versions/5c345619908c_.py
octomen/thupoll
1114d8e9802a97c1fd9d3850c887df94e7fa609e
[ "MIT" ]
null
null
null
"""empty message Revision ID: 5c345619908c Revises: Create Date: 2019-02-28 23:48:09.111475 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '5c345619908c' down_revision = None branch_labels = None depends_on = None def upgrade(): # ### commands auto gene...
43.98913
79
0.512725
405
4,047
5.007407
0.175309
0.114398
0.184911
0.207101
0.727318
0.727318
0.709073
0.643491
0.57643
0.528107
0
0.014993
0.340746
4,047
91
80
44.472527
0.745127
0.069928
0
0.424658
0
0
0.103837
0
0
0
0
0
0
1
0.027397
false
0
0.027397
0
0.054795
0
0
0
0
null
0
1
1
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
4236d4d9e854e3f44e21ea8dc2dfee152e0bd02a
118
py
Python
baseq/docs.py
basedata10/baseq
0f1786c3392a51a6ec7cb0f32355cd28eaa5df29
[ "MIT" ]
1
2018-08-30T20:29:17.000Z
2018-08-30T20:29:17.000Z
baseq/docs.py
basedata10/baseq
0f1786c3392a51a6ec7cb0f32355cd28eaa5df29
[ "MIT" ]
null
null
null
baseq/docs.py
basedata10/baseq
0f1786c3392a51a6ec7cb0f32355cd28eaa5df29
[ "MIT" ]
null
null
null
docs = """ [list samples] baseq list_sample_files [pack folder] generate a tar file... baseq pack ./foldername """
13.111111
36
0.694915
16
118
5
0.8125
0
0
0
0
0
0
0
0
0
0
0
0.169492
118
9
37
13.111111
0.816327
0
0
0
1
0
0.882353
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
4256e7ff590c7374b01623b38838c1ad0913423a
23
py
Python
python/loom_viewer/_version.py
linnarsson-lab/loom-viewer
0e82c31c2c773524de9b8361804c285a7ffe928e
[ "BSD-2-Clause" ]
34
2017-10-18T06:09:16.000Z
2022-03-21T18:53:16.000Z
python/loom_viewer/_version.py
linnarsson-lab/loom-viewer
0e82c31c2c773524de9b8361804c285a7ffe928e
[ "BSD-2-Clause" ]
52
2017-10-19T13:35:39.000Z
2021-06-03T08:54:55.000Z
python/loom_viewer/_version.py
linnarsson-lab/loom-viewer
0e82c31c2c773524de9b8361804c285a7ffe928e
[ "BSD-2-Clause" ]
6
2018-05-28T06:16:26.000Z
2020-08-17T11:49:34.000Z
__version__ = '0.32.4'
11.5
22
0.652174
4
23
2.75
1
0
0
0
0
0
0
0
0
0
0
0.2
0.130435
23
1
23
23
0.35
0
0
0
0
0
0.26087
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
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
425bb5467b595af8a4e67c2a0f8995f5cd10f77b
78
py
Python
botstory/integrations/ga/universal_analytics/__init__.py
botstory/bot-story
9c5b2fc7f7a14dbd467d70f60d5ba855ef89dac3
[ "MIT" ]
5
2017-01-14T13:42:13.000Z
2021-07-27T21:52:04.000Z
botstory/integrations/ga/universal_analytics/__init__.py
botstory/bot-story
9c5b2fc7f7a14dbd467d70f60d5ba855ef89dac3
[ "MIT" ]
235
2016-11-07T23:33:28.000Z
2018-03-13T11:27:33.000Z
botstory/integrations/ga/universal_analytics/__init__.py
hyzhak/bot-story
9c5b2fc7f7a14dbd467d70f60d5ba855ef89dac3
[ "MIT" ]
5
2017-01-14T13:42:14.000Z
2020-11-06T08:33:20.000Z
""" Based on https://github.com/analytics-pros/universal-analytics-python """
19.5
69
0.74359
10
78
5.8
0.9
0
0
0
0
0
0
0
0
0
0
0
0.064103
78
3
70
26
0.794521
0.884615
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
42aef4ce953de3d5849eb9a60ee623cb5532bb51
1,070
py
Python
_test/test_none.py
zvxr/ruamel-yaml
0f5e5dd4c650ee0d9faa7c49a5cbc0a3f3488759
[ "MIT" ]
8
2020-08-10T11:59:25.000Z
2022-03-07T19:12:08.000Z
_test/test_none.py
zvxr/ruamel-yaml
0f5e5dd4c650ee0d9faa7c49a5cbc0a3f3488759
[ "MIT" ]
2
2022-01-12T10:02:57.000Z
2022-02-22T21:11:29.000Z
_test/test_none.py
zvxr/ruamel-yaml
0f5e5dd4c650ee0d9faa7c49a5cbc0a3f3488759
[ "MIT" ]
4
2020-12-11T21:26:42.000Z
2022-02-01T13:36:21.000Z
# coding: utf-8 import pytest # NOQA from roundtrip import round_trip_load, round_trip_dump class TestNone: def test_dump00(self): data = None s = round_trip_dump(data) assert s == 'null\n...\n' d = round_trip_load(s) assert d == data def test_dump01(self): d...
25.47619
74
0.561682
150
1,070
3.78
0.226667
0.190476
0.137566
0.114638
0.779541
0.742504
0.742504
0.742504
0.689594
0.689594
0
0.01511
0.319626
1,070
41
75
26.097561
0.763736
0.016822
0
0.606061
0
0
0.050524
0
0
0
0
0
0.30303
1
0.151515
false
0
0.060606
0
0.242424
0
0
0
0
null
0
0
0
0
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
c40924f31b97fc6acdde6fc7f7b9ac4fb01900ff
117
py
Python
codes_auto/1676.minimum-number-of-days-to-eat-n-oranges.py
smartmark-pro/leetcode_record
6504b733d892a705571eb4eac836fb10e94e56db
[ "MIT" ]
null
null
null
codes_auto/1676.minimum-number-of-days-to-eat-n-oranges.py
smartmark-pro/leetcode_record
6504b733d892a705571eb4eac836fb10e94e56db
[ "MIT" ]
null
null
null
codes_auto/1676.minimum-number-of-days-to-eat-n-oranges.py
smartmark-pro/leetcode_record
6504b733d892a705571eb4eac836fb10e94e56db
[ "MIT" ]
null
null
null
# # @lc app=leetcode.cn id=1676 lang=python3 # # [1676] minimum-number-of-days-to-eat-n-oranges # None # @lc code=end
16.714286
48
0.692308
21
117
3.857143
0.904762
0
0
0
0
0
0
0
0
0
0
0.087379
0.119658
117
7
49
16.714286
0.699029
0.854701
0
0
0
0
0
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
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
c42f7e82bfd4849c7ae2e67adb8d68a29bcc5cf5
253
py
Python
spektral/datasets/__init__.py
colliner/spektral
b776200fd1fa820f05b559f0c1c6265e0eca4894
[ "MIT" ]
null
null
null
spektral/datasets/__init__.py
colliner/spektral
b776200fd1fa820f05b559f0c1c6265e0eca4894
[ "MIT" ]
null
null
null
spektral/datasets/__init__.py
colliner/spektral
b776200fd1fa820f05b559f0c1c6265e0eca4894
[ "MIT" ]
null
null
null
from .citation import Citation, Cora, Citeseer, Pubmed from .graphsage import GraphSage, PPI, Reddit from .mnist import MNIST from .modelnet import ModelNet from .ogb import OGB from .qm7 import QM7 from .qm9 import QM9 from .tudataset import TUDataset
28.111111
54
0.802372
37
253
5.486486
0.405405
0
0
0
0
0
0
0
0
0
0
0.018519
0.146245
253
8
55
31.625
0.921296
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
c46683a15d27e33a8908e0e55fa4d532974433b9
106
py
Python
requests_ntlm/__init__.py
aliakyurek/requests-ntlm
538ec0974d7e96a3696f1afee71e6c5952aef3f7
[ "ISC" ]
null
null
null
requests_ntlm/__init__.py
aliakyurek/requests-ntlm
538ec0974d7e96a3696f1afee71e6c5952aef3f7
[ "ISC" ]
null
null
null
requests_ntlm/__init__.py
aliakyurek/requests-ntlm
538ec0974d7e96a3696f1afee71e6c5952aef3f7
[ "ISC" ]
null
null
null
from .requests_ntlm import HttpNtlmAuth, HttpNtlmSspiAuth __all__ = ('HttpNtlmAuth', 'HttpNtlmSspiAuth')
26.5
57
0.811321
9
106
9
0.777778
0.691358
0
0
0
0
0
0
0
0
0
0
0.09434
106
3
58
35.333333
0.84375
0
0
0
0
0
0.264151
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
c468340f015a749b66af93c0e0e59020144d4fb2
95
py
Python
brain/main.py
berpj/AngelaIsAnAI
1747740e4ec9c895475c5f6a617019779227bfbd
[ "MIT" ]
1
2017-02-06T02:03:48.000Z
2017-02-06T02:03:48.000Z
brain/main.py
berpj/AngelaIsAnAI
1747740e4ec9c895475c5f6a617019779227bfbd
[ "MIT" ]
null
null
null
brain/main.py
berpj/AngelaIsAnAI
1747740e4ec9c895475c5f6a617019779227bfbd
[ "MIT" ]
null
null
null
import numpy as np import tensorflow as tf from tensorflow.python.ops import rnn_cell, seq2seq
23.75
51
0.831579
16
95
4.875
0.75
0
0
0
0
0
0
0
0
0
0
0.012195
0.136842
95
3
52
31.666667
0.939024
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
c479c0d23bb3f4855a34f039e5a50818fce9a8a4
160
py
Python
coupons/forms.py
FrankCasanova/onlineshop
1a9011ce3d49976e2584cdadc33893d04947a73b
[ "MIT" ]
null
null
null
coupons/forms.py
FrankCasanova/onlineshop
1a9011ce3d49976e2584cdadc33893d04947a73b
[ "MIT" ]
null
null
null
coupons/forms.py
FrankCasanova/onlineshop
1a9011ce3d49976e2584cdadc33893d04947a73b
[ "MIT" ]
null
null
null
from django import forms from django.utils.translation import gettext_lazy as _ class CouponApplyForm(forms.Form): code = forms.CharField(label=_('Coupon'))
40
54
0.79375
21
160
5.904762
0.761905
0.16129
0
0
0
0
0
0
0
0
0
0
0.1125
160
4
55
40
0.873239
0
0
0
0
0
0.037267
0
0
0
0
0
0
1
0
false
0
0.5
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
c47d63892bfcd9a5569d801d4948e7de0f34bda5
139
py
Python
modules/__init__.py
benywon/ComQA
6731d63d16b731d6c3654b2dc7d2503cf333127f
[ "Apache-2.0" ]
15
2021-01-16T09:48:56.000Z
2022-03-12T07:22:40.000Z
modules/__init__.py
benywon/ComQA
6731d63d16b731d6c3654b2dc7d2503cf333127f
[ "Apache-2.0" ]
null
null
null
modules/__init__.py
benywon/ComQA
6731d63d16b731d6c3654b2dc7d2503cf333127f
[ "Apache-2.0" ]
5
2021-01-16T10:15:56.000Z
2021-11-19T06:30:25.000Z
# -*- coding: utf-8 -*- """ @Time : 2021/1/14 下午5:08 @FileName: __init__.py.py @author: 王炳宁 @contact: wangbingning@sogou-inc.com """
19.857143
37
0.611511
20
139
4.05
0.95
0
0
0
0
0
0
0
0
0
0
0.094828
0.165468
139
7
38
19.857143
0.603448
0.906475
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
c48b170b97ebfb726965ee824ce449687456573b
289
py
Python
lib/oeqa/runtime/cases/rubygems_rubygems_fast_gettext.py
tuxable-ltd/meta-rubygems
e80630e79b64e1be8339e1add0ab07644ec99425
[ "BSD-2-Clause" ]
null
null
null
lib/oeqa/runtime/cases/rubygems_rubygems_fast_gettext.py
tuxable-ltd/meta-rubygems
e80630e79b64e1be8339e1add0ab07644ec99425
[ "BSD-2-Clause" ]
141
2021-02-04T16:22:13.000Z
2022-03-27T08:29:40.000Z
lib/oeqa/runtime/cases/rubygems_rubygems_fast_gettext.py
tuxable-ltd/meta-rubygems
e80630e79b64e1be8339e1add0ab07644ec99425
[ "BSD-2-Clause" ]
3
2021-02-04T14:02:01.000Z
2022-02-02T16:46:52.000Z
from rubygems_utils import RubyGemsTestUtils class RubyGemsTestrubygems_fast_gettext(RubyGemsTestUtils): def test_gem_list_rubygems_fast_gettext(self): self.gem_is_installed("fast_gettext") def test_load_fast_gettext(self): self.gem_is_loadable("fast_gettext")
26.272727
59
0.795848
36
289
5.916667
0.5
0.258216
0.140845
0.178404
0.225352
0.225352
0
0
0
0
0
0
0.138408
289
10
60
28.9
0.855422
0
0
0
0
0
0.083333
0
0
0
0
0
0
1
0.333333
false
0
0.166667
0
0.666667
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
1
0
0
4
67339e23093ca10d1ce0301406b89a1855799d23
589
py
Python
overhave/authorization/manager/default.py
TinkoffCreditSystems/overhave
b0ab705ef5c5c5a65fa0b14b173b64fd7310e187
[ "Apache-2.0" ]
33
2021-02-01T15:49:37.000Z
2021-12-20T00:44:43.000Z
overhave/authorization/manager/default.py
TinkoffCreditSystems/overhave
b0ab705ef5c5c5a65fa0b14b173b64fd7310e187
[ "Apache-2.0" ]
46
2021-02-03T12:56:52.000Z
2021-12-19T18:50:27.000Z
overhave/authorization/manager/default.py
TinkoffCreditSystems/overhave
b0ab705ef5c5c5a65fa0b14b173b64fd7310e187
[ "Apache-2.0" ]
1
2021-12-07T09:02:44.000Z
2021-12-07T09:02:44.000Z
import logging from typing import Optional from pydantic import SecretStr from overhave.authorization.manager.secret_mixin import AdminSecretMixin from overhave.entities import SystemUserModel logger = logging.getLogger(__name__) class DefaultAdminAuthorizationManager(AdminSecretMixin): """ Class for user auth...
29.45
95
0.806452
63
589
7.349206
0.619048
0.051836
0
0
0
0
0
0
0
0
0
0
0.13073
589
19
96
31
0.904297
0.140917
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
false
0.222222
0.555556
0.111111
0.888889
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
1
1
0
0
4
6749bc5a0dbad7f4af061c7183a4d1784ece6006
94
py
Python
rsa_unit_test.py
windweller/VQACaptioning
27e96defda417bb6be3641eae2061d91a77382fb
[ "MIT" ]
null
null
null
rsa_unit_test.py
windweller/VQACaptioning
27e96defda417bb6be3641eae2061d91a77382fb
[ "MIT" ]
null
null
null
rsa_unit_test.py
windweller/VQACaptioning
27e96defda417bb6be3641eae2061d91a77382fb
[ "MIT" ]
null
null
null
""" We can specify a few ways to test our implementation with pre-computed correct numbers """
31.333333
86
0.765957
15
94
4.8
1
0
0
0
0
0
0
0
0
0
0
0
0.159574
94
3
87
31.333333
0.911392
0.914894
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
67588e75c846e6cd23c812a70e5098539a432ccd
317
py
Python
blargh/exceptions/__init__.py
johny-b/blargh
45bb94cad8c70b0cd5b0b4f1330682107051fb9d
[ "MIT" ]
null
null
null
blargh/exceptions/__init__.py
johny-b/blargh
45bb94cad8c70b0cd5b0b4f1330682107051fb9d
[ "MIT" ]
3
2019-07-09T08:01:36.000Z
2020-07-08T10:18:52.000Z
blargh/exceptions/__init__.py
johny-b/blargh
45bb94cad8c70b0cd5b0b4f1330682107051fb9d
[ "MIT" ]
null
null
null
''' **Blargh** exceptions a ''' from .base import Error, ClientError, ServerError, ProgrammingError from .server import e500, TransactionConflictRetriable from .client import ( e400, e401, e404, e422, FieldDoesNotExist, FieldIsReadonly, FieldUpdateForbidden, SearchForbidden, BadParamValue, BadFieldValue)
26.416667
72
0.77918
28
317
8.821429
0.857143
0
0
0
0
0
0
0
0
0
0
0.054545
0.132492
317
11
73
28.818182
0.843636
0.07571
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.6
0
0.6
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
675b07c65307e3da73e3339054f593c7655198d5
220
py
Python
cloudwanderer/aws_interface/exceptions.py
Sam-Martin/cloud-wanderer
1879f9bb150054be5bf33fd46a47414b4939529e
[ "MIT" ]
1
2020-12-07T10:37:41.000Z
2020-12-07T10:37:41.000Z
cloudwanderer/aws_interface/exceptions.py
Sam-Martin/cloud-wanderer
1879f9bb150054be5bf33fd46a47414b4939529e
[ "MIT" ]
null
null
null
cloudwanderer/aws_interface/exceptions.py
Sam-Martin/cloud-wanderer
1879f9bb150054be5bf33fd46a47414b4939529e
[ "MIT" ]
null
null
null
"""Exceptions pertaining to the AWS Interface.""" class SecondaryAttributesNotFetchedError(Exception): """Secondary attributes have not yet been fetched for this resource. Call fetch_secondary_attributes first."""
36.666667
114
0.795455
24
220
7.208333
0.916667
0.219653
0
0
0
0
0
0
0
0
0
0
0.122727
220
5
115
44
0.896373
0.672727
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
67a8bcc6a2e59a490e566f208279f043f7f0c2fd
188
py
Python
hautomate/apis/homeassistant/enums.py
boonhapus/hautomate
f111a8ad86d5f07183903ec99c1981569e0ee046
[ "MIT" ]
null
null
null
hautomate/apis/homeassistant/enums.py
boonhapus/hautomate
f111a8ad86d5f07183903ec99c1981569e0ee046
[ "MIT" ]
null
null
null
hautomate/apis/homeassistant/enums.py
boonhapus/hautomate
f111a8ad86d5f07183903ec99c1981569e0ee046
[ "MIT" ]
null
null
null
import enum class HassFeed(enum.Enum): """ Represent the way hautomate.HomeAssistant consumer type. """ custom_component = 'CUSTOM_COMPONENT' websocket = 'WEBSOCKET'
18.8
60
0.691489
19
188
6.736842
0.736842
0.234375
0
0
0
0
0
0
0
0
0
0
0.212766
188
9
61
20.888889
0.864865
0.297872
0
0
0
0
0.215517
0
0
0
0
0
0
1
0
false
0
0.25
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
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
4
67fddb3ad83702056e2797ccba90d44e4f95ac34
70
py
Python
__init__.py
tfdahlin/moxie
587436beb483dc55f0106d21edf0e89b8b1606dc
[ "MIT" ]
1
2022-01-10T08:48:27.000Z
2022-01-10T08:48:27.000Z
__init__.py
tfdahlin/moxie
587436beb483dc55f0106d21edf0e89b8b1606dc
[ "MIT" ]
6
2019-05-28T20:44:35.000Z
2019-10-22T19:14:03.000Z
__init__.py
tfdahlin/moxie
587436beb483dc55f0106d21edf0e89b8b1606dc
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # Filename: __init__.py
17.5
23
0.614286
10
70
3.9
1
0
0
0
0
0
0
0
0
0
0
0.016667
0.142857
70
3
24
23.333333
0.633333
0.914286
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
db167a55558e99c169edb7bb0fa04c73e8c69f11
147
py
Python
todo/tarefas/urls.py
Jameskelsom/Desenvolvimento-Django
ad5d20b24068aec354c2b5c1ad01460f3771400a
[ "MIT" ]
2
2020-01-10T11:56:35.000Z
2020-01-10T14:40:10.000Z
todo/tarefas/urls.py
Jameskelsom/Desenvolvimento-Django
ad5d20b24068aec354c2b5c1ad01460f3771400a
[ "MIT" ]
null
null
null
todo/tarefas/urls.py
Jameskelsom/Desenvolvimento-Django
ad5d20b24068aec354c2b5c1ad01460f3771400a
[ "MIT" ]
null
null
null
from django.conf.urls import url from .import views urlpatterns = [ url(r'^nova-categoria/$', views.nova_categoria, name='nova_categoria'), ]
21
75
0.727891
20
147
5.25
0.6
0.371429
0
0
0
0
0
0
0
0
0
0
0.129252
147
6
76
24.5
0.820313
0
0
0
0
0
0.210884
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
db28dbe881f1dc1b756090c837d2ff35866dfed9
41
py
Python
python/testData/intentions/ImportToggleAlias/importToggleAlias_after.py
alexey-anufriev/intellij-community
ffcd46f14e630acdefcc76e2bfc7c43d2449013a
[ "Apache-2.0" ]
2
2019-04-28T07:48:50.000Z
2020-12-11T14:18:08.000Z
python/testData/intentions/ImportToggleAlias/importToggleAlias_after.py
alexey-anufriev/intellij-community
ffcd46f14e630acdefcc76e2bfc7c43d2449013a
[ "Apache-2.0" ]
1
2020-07-30T19:04:47.000Z
2020-07-30T19:04:47.000Z
python/testData/intentions/ImportToggleAlias/importToggleAlias_after.py
bradleesand/intellij-community
750ff9c10333c9c1278c00dbe8d88c877b1b9749
[ "Apache-2.0" ]
1
2020-10-15T05:56:42.000Z
2020-10-15T05:56:42.000Z
from mod import MyClass as mc foo = mc(5)
20.5
29
0.731707
9
41
3.333333
0.888889
0
0
0
0
0
0
0
0
0
0
0.030303
0.195122
41
2
30
20.5
0.878788
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
db30d778c4f880aafd783c54ac430d1c9d26aef7
586
py
Python
tests/test_rough_example.py
kingjml/pySnowRadar
a64721c3a84f255aa3bb9b872682a79969f7b1be
[ "MIT" ]
4
2020-06-04T00:25:46.000Z
2021-12-17T15:08:35.000Z
tests/test_rough_example.py
kingjml/pySnowRadar
a64721c3a84f255aa3bb9b872682a79969f7b1be
[ "MIT" ]
7
2020-02-19T11:34:26.000Z
2020-10-02T12:52:17.000Z
tests/test_rough_example.py
kingjml/pySnowRadar
a64721c3a84f255aa3bb9b872682a79969f7b1be
[ "MIT" ]
null
null
null
''' #ach test needs its own function defn make use of `assert` to test the results of operations 2 tests per function (e.g. test with expected input and unexpected input) is an ok way to start to make sure your functions handle unexpected data types ''' import pytest # only need this for pytest.raises() def my_fancy_...
29.3
78
0.733788
98
586
4.244898
0.602041
0.084135
0.180288
0.067308
0.105769
0
0
0
0
0
0
0.010504
0.187713
586
19
79
30.842105
0.863445
0.566553
0
0
0
0
0.004149
0
0
0
0
0
0.125
1
0.375
false
0
0.125
0.125
0.625
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
4
e1f1d9d0dad6881f94962d97864f7ffcc65e8158
51
py
Python
sympy/functions/elementary/__init__.py
Michal-Gagala/sympy
3cc756c2af73b5506102abaeefd1b654e286e2c8
[ "MIT" ]
null
null
null
sympy/functions/elementary/__init__.py
Michal-Gagala/sympy
3cc756c2af73b5506102abaeefd1b654e286e2c8
[ "MIT" ]
null
null
null
sympy/functions/elementary/__init__.py
Michal-Gagala/sympy
3cc756c2af73b5506102abaeefd1b654e286e2c8
[ "MIT" ]
null
null
null
# Stub __init__.py for sympy.functions.elementary
25.5
50
0.803922
7
51
5.285714
1
0
0
0
0
0
0
0
0
0
0
0
0.117647
51
1
51
51
0.822222
0.921569
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
c0003c66ba2d558230672356b293b8be5101e74e
103
py
Python
lewis_emulators/volumetric_rig/interfaces/__init__.py
ISISComputingGroup/EPICS-DeviceEmulator
026c2a14a16bb204ea7527e3765daa182cafa814
[ "BSD-3-Clause" ]
2
2020-10-20T16:49:13.000Z
2021-02-19T10:41:44.000Z
lewis_emulators/volumetric_rig/interfaces/__init__.py
ISISComputingGroup/EPICS-DeviceEmulator
026c2a14a16bb204ea7527e3765daa182cafa814
[ "BSD-3-Clause" ]
9
2019-03-22T15:35:15.000Z
2021-07-28T11:05:43.000Z
lewis_emulators/volumetric_rig/interfaces/__init__.py
ISISComputingGroup/EPICS-DeviceEmulator
026c2a14a16bb204ea7527e3765daa182cafa814
[ "BSD-3-Clause" ]
1
2020-10-21T17:02:44.000Z
2020-10-21T17:02:44.000Z
from .stream_interface import VolumetricRigStreamInterface __all__ = ['VolumetricRigStreamInterface']
25.75
58
0.864078
7
103
12
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.07767
103
3
59
34.333333
0.884211
0
0
0
0
0
0.271845
0.271845
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
c00a01138d578f2406cc673de04091d9bddb845b
1,237
py
Python
resources/dot_PyCharm/system/python_stubs/-762174762/PySide/QtXml/QXmlNamespaceSupport.py
basepipe/developer_onboarding
05b6a776f8974c89517868131b201f11c6c2a5ad
[ "MIT" ]
1
2020-04-20T02:27:20.000Z
2020-04-20T02:27:20.000Z
resources/dot_PyCharm/system/python_stubs/cache/d1acfdaecbc43dfcba0c1287ba0e29c0ef0e2d37695269b2505d76ec531b8b76/PySide/QtXml/QXmlNamespaceSupport.py
basepipe/developer_onboarding
05b6a776f8974c89517868131b201f11c6c2a5ad
[ "MIT" ]
null
null
null
resources/dot_PyCharm/system/python_stubs/cache/d1acfdaecbc43dfcba0c1287ba0e29c0ef0e2d37695269b2505d76ec531b8b76/PySide/QtXml/QXmlNamespaceSupport.py
basepipe/developer_onboarding
05b6a776f8974c89517868131b201f11c6c2a5ad
[ "MIT" ]
null
null
null
# encoding: utf-8 # module PySide.QtXml # from C:\Python27\lib\site-packages\PySide\QtXml.pyd # by generator 1.147 # no doc # imports import Shiboken as __Shiboken class QXmlNamespaceSupport(__Shiboken.Object): # no doc def popContext(self, *args, **kwargs): # real signature unknown pass def pre...
25.244898
77
0.636217
151
1,237
5.05298
0.377483
0.187418
0.288336
0.235911
0.533421
0.533421
0.533421
0.483617
0
0
0
0.007568
0.252223
1,237
48
78
25.770833
0.817297
0.39612
0
0.44
0
0
0
0
0
0
0
0
0
1
0.44
false
0.44
0.04
0
0.52
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
1
0
0
0
0
0
4
c02845ae9fc19d10b3bcd30fbb96205916f7e6ee
440
py
Python
src/day05/WhenReducePolymer.py
bevzuk/AdventOfCode2018
2435ad99b44609c4c0e0cfb0e0de3cae2f8ebea7
[ "MIT" ]
null
null
null
src/day05/WhenReducePolymer.py
bevzuk/AdventOfCode2018
2435ad99b44609c4c0e0cfb0e0de3cae2f8ebea7
[ "MIT" ]
null
null
null
src/day05/WhenReducePolymer.py
bevzuk/AdventOfCode2018
2435ad99b44609c4c0e0cfb0e0de3cae2f8ebea7
[ "MIT" ]
null
null
null
import unittest from src.day05.day05 import reduce class WhenReducePolymer(unittest.TestCase): def test_aA_reduces_to_empty(self): self.assertEqual("", reduce("aA")) def test_Aa_reduces_to_empty(self): self.assertEqual("", reduce("Aa")) def test_xAax_reduces_to_xx(self): self.as...
24.444444
46
0.690909
57
440
5.052632
0.333333
0.097222
0.263889
0.1875
0.590278
0.506944
0.506944
0.371528
0.371528
0.371528
0
0.01105
0.177273
440
17
47
25.882353
0.78453
0
0
0
0
0
0.031818
0
0
0
0
0
0.363636
1
0.363636
false
0
0.181818
0
0.636364
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
1
0
0
4
c0390268a02142411c0b1b912fb6169dd7bae360
1,316
py
Python
tests/test_sklearn.py
Dlux804/mlkg
d5de0bfb8da8a08ad6e264727415db05fe840665
[ "MIT" ]
null
null
null
tests/test_sklearn.py
Dlux804/mlkg
d5de0bfb8da8a08ad6e264727415db05fe840665
[ "MIT" ]
null
null
null
tests/test_sklearn.py
Dlux804/mlkg
d5de0bfb8da8a08ad6e264727415db05fe840665
[ "MIT" ]
null
null
null
""" Objective: Test to see if the pipeline runs sklearn methods for tuned and un-tuned to completion """ import pytest import os, glob from tests.model_fixture import __run_all__, delete_files # Test for almost all models instead of knn. With a small dataset, knn throws a fit # algorithm_list = ['ada', 'svm', 'rf', 'gd...
35.567568
99
0.68465
177
1,316
4.79096
0.446328
0.035377
0.099057
0.063679
0.456368
0.456368
0.456368
0.456368
0.332547
0.332547
0
0.009874
0.153495
1,316
36
100
36.555556
0.751347
0.860942
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
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
c04037658ff9d00162e5a4629c4b087696bcb625
312
py
Python
tankonyv/stars.py
bozi6/hello-world
0835bf2dcb1d1aceb2afa194bf991c096b0e9b04
[ "MIT" ]
null
null
null
tankonyv/stars.py
bozi6/hello-world
0835bf2dcb1d1aceb2afa194bf991c096b0e9b04
[ "MIT" ]
null
null
null
tankonyv/stars.py
bozi6/hello-world
0835bf2dcb1d1aceb2afa194bf991c096b0e9b04
[ "MIT" ]
null
null
null
for i in range(0, 5): for j in range(0, i + 1): print("* ", end="") print() # Python Program for printing pyramid pattern using stars a = 8 for i in range(0, 5): for j in range(0, a): print(end=" ") a = a - 2 for j in range(0, i + 1): print("* ", end="") print()
20.8
57
0.49359
53
312
2.90566
0.377358
0.227273
0.25974
0.214286
0.597403
0.597403
0.597403
0.597403
0.597403
0.597403
0
0.05314
0.336538
312
14
58
22.285714
0.690821
0.176282
0
0.666667
0
0
0.019608
0
0
0
0
0
0
1
0
false
0
0
0
0
0.416667
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
1
0
4
fbe771c6a6bedf14c5d93c65dffee6d7d5bde881
365
py
Python
wagtail/core/permissions.py
dinoperovic/wagtail
10d68fdd09fc85dde2b57b07b86a3378144e52ae
[ "BSD-3-Clause" ]
1
2021-04-29T03:15:20.000Z
2021-04-29T03:15:20.000Z
wagtail/core/permissions.py
dinoperovic/wagtail
10d68fdd09fc85dde2b57b07b86a3378144e52ae
[ "BSD-3-Clause" ]
6
2020-08-26T03:00:03.000Z
2020-09-24T02:59:14.000Z
wagtail/core/permissions.py
dinoperovic/wagtail
10d68fdd09fc85dde2b57b07b86a3378144e52ae
[ "BSD-3-Clause" ]
null
null
null
from wagtail.core.models import Collection, Site, Task, Workflow from wagtail.core.permission_policies import ModelPermissionPolicy site_permission_policy = ModelPermissionPolicy(Site) collection_permission_policy = ModelPermissionPolicy(Collection) task_permission_policy = ModelPermissionPolicy(Task) workflow_permiss...
45.625
66
0.882192
36
365
8.694444
0.361111
0.204473
0.472843
0
0
0
0
0
0
0
0
0
0.065753
365
7
67
52.142857
0.917889
0
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
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
22194edba63ef9cc4c2f827265580b2209fbca13
230
py
Python
tetris/exceptions.py
yukinarit/ctetris
5dcfcdb6f1b0e8d8aeeb864b4f6b7e1ed86d8a49
[ "MIT" ]
1
2020-10-24T14:18:05.000Z
2020-10-24T14:18:05.000Z
tetris/exceptions.py
yukinarit/ctetris
5dcfcdb6f1b0e8d8aeeb864b4f6b7e1ed86d8a49
[ "MIT" ]
3
2018-04-03T04:38:24.000Z
2018-04-19T13:25:58.000Z
tetris/exceptions.py
yukinarit/py-tetris
5dcfcdb6f1b0e8d8aeeb864b4f6b7e1ed86d8a49
[ "MIT" ]
null
null
null
from enum import IntEnum class StatusCode(IntEnum): OK = 0 Error = -1 Exit = 1 GameOver = 2 class Exit(Exception): code = StatusCode.Exit.value class GameOver(Exception): code = StatusCode.Exit.value
13.529412
32
0.66087
29
230
5.241379
0.551724
0.171053
0.302632
0.355263
0.421053
0
0
0
0
0
0
0.023256
0.252174
230
16
33
14.375
0.860465
0
0
0.2
0
0
0
0
0
0
0
0
0
1
0
false
0
0.1
0
1
0
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
1
0
0
4
222720a5fe60f2059349d0c2084d462fcbe06d2b
654
py
Python
makerspaceleiden/templatetags/isingroup.py
iBurnette/makerspaceleiden-crm
491f08688731016e69fed5444ff6d55edc69a438
[ "Apache-2.0" ]
null
null
null
makerspaceleiden/templatetags/isingroup.py
iBurnette/makerspaceleiden-crm
491f08688731016e69fed5444ff6d55edc69a438
[ "Apache-2.0" ]
null
null
null
makerspaceleiden/templatetags/isingroup.py
iBurnette/makerspaceleiden-crm
491f08688731016e69fed5444ff6d55edc69a438
[ "Apache-2.0" ]
null
null
null
from django import template from django.conf import settings register = template.Library() @register.filter(name='has_group') def has_group(user, group_name): return user.groups.filter(name=group_name).exists() @register.filter(name='isMainsAdmin') def isMainsAdmin(user): return user.groups.filter(name=se...
31.142857
80
0.785933
83
654
6.060241
0.289157
0.159046
0.143141
0.17495
0.409543
0.357853
0.22664
0
0
0
0
0
0.090214
654
20
81
32.7
0.845378
0
0
0
0
0
0.08104
0.033639
0
0
0
0
0
1
0.266667
false
0
0.133333
0.266667
0.666667
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
1
0
0
4
223038e0f713ec8bb27647db3fb8917bd3c0be1d
222
py
Python
Python/03. Strings/003. What's Your Name.py
AnTeater515/HackerRank-Coding_Solutions
c5c1337ed6d70c6d7a1850b2a99aab10c285c290
[ "MIT" ]
1
2020-10-18T22:06:12.000Z
2020-10-18T22:06:12.000Z
Python/03. Strings/003. What's Your Name.py
AnTeater515/HackerRank-Coding-Solutions_Python3_C-_Oracle-SQL
c5c1337ed6d70c6d7a1850b2a99aab10c285c290
[ "MIT" ]
null
null
null
Python/03. Strings/003. What's Your Name.py
AnTeater515/HackerRank-Coding-Solutions_Python3_C-_Oracle-SQL
c5c1337ed6d70c6d7a1850b2a99aab10c285c290
[ "MIT" ]
null
null
null
# Problem: https://www.hackerrank.com/challenges/whats-your-name/problem # Score: 10 def print_full_name(first_name, last_name): print("Hello {} {}! You just delved into python.".format(first_name, last_name))
31.714286
85
0.720721
32
222
4.8125
0.71875
0.116883
0.168831
0.220779
0
0
0
0
0
0
0
0.010417
0.135135
222
6
86
37
0.791667
0.36036
0
0
0
0
0.308271
0
0
0
0
0
0
1
0.5
false
0
0
0
0.5
1
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
1
0
0
0
0
0
1
0
4
224871a7351928f1785597e64626ebc40de35856
246
py
Python
roberta/test.py
alexfh/robertalab-ev3dev
cc1f3cad50db1cb89e9ccbc2d943cc401b49ff80
[ "Apache-2.0" ]
null
null
null
roberta/test.py
alexfh/robertalab-ev3dev
cc1f3cad50db1cb89e9ccbc2d943cc401b49ff80
[ "Apache-2.0" ]
null
null
null
roberta/test.py
alexfh/robertalab-ev3dev
cc1f3cad50db1cb89e9ccbc2d943cc401b49ff80
[ "Apache-2.0" ]
1
2021-01-28T14:55:15.000Z
2021-01-28T14:55:15.000Z
# Hal class to satisfy testing class Hal(object): def __init__(self, brickConfiguration, usedSensors=None): self.cfg = brickConfiguration def clearDisplay(self): pass def playFile(self, systemSound): pass
17.571429
61
0.666667
26
246
6.153846
0.653846
0
0
0
0
0
0
0
0
0
0
0
0.256098
246
13
62
18.923077
0.874317
0.113821
0
0.285714
0
0
0
0
0
0
0
0
0
1
0.428571
false
0.285714
0
0
0.571429
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
4
225f10a32048a078e24d7685f6e4183364f63ae6
58
py
Python
tests/__init__.py
tim-fan/location_of_interest_checker
a72645a5ee648bbf97ba6111719bc5417ab02b59
[ "MIT" ]
9
2021-08-21T10:28:47.000Z
2022-03-30T03:16:45.000Z
tests/__init__.py
tim-fan/location_of_interest_checker
a72645a5ee648bbf97ba6111719bc5417ab02b59
[ "MIT" ]
2
2021-08-22T16:33:00.000Z
2021-09-13T03:58:00.000Z
tests/__init__.py
tim-fan/location_of_interest_checker
a72645a5ee648bbf97ba6111719bc5417ab02b59
[ "MIT" ]
null
null
null
"""Unit test package for location_of_interest_checker."""
29
57
0.793103
8
58
5.375
1
0
0
0
0
0
0
0
0
0
0
0
0.086207
58
1
58
58
0.811321
0.87931
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4