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
9e8817627535df6f0d585998aa24f60ff7d9791c
365
py
Python
skp_edu_docker/code/cluster/preprocess/pre_node_feed_fr2cnn.py
TensorMSA/hoyai_docker
12f0041e6306d8a6421585a4b51666bad30be442
[ "MIT" ]
8
2017-06-16T00:19:12.000Z
2020-08-13T03:15:57.000Z
skp_edu_docker/code/cluster/preprocess/pre_node_feed_fr2cnn.py
TensorMSA/tensormsa_docker
12f0041e6306d8a6421585a4b51666bad30be442
[ "MIT" ]
21
2017-06-09T10:15:14.000Z
2018-03-29T07:51:02.000Z
skp_edu_docker/code/cluster/preprocess/pre_node_feed_fr2cnn.py
TensorMSA/hoyai_docker
12f0041e6306d8a6421585a4b51666bad30be442
[ "MIT" ]
4
2017-10-25T09:59:53.000Z
2020-05-07T09:51:11.000Z
from cluster.preprocess.pre_node_feed import PreNodeFeed class PreNodeFeedFr2Cnn(PreNodeFeed): """ """ def run(self, conf_data): """ override init class """ super(PreNodeFeedFr2Cnn, self).run(conf_data) self._init_node_parm(conf_data['node_id']) def _convert_...
19.210526
56
0.635616
41
365
5.365854
0.609756
0.109091
0
0
0
0
0
0
0
0
0
0.00738
0.257534
365
18
57
20.277778
0.804428
0.052055
0
0
0
0
0.022654
0
0
0
0
0
0
1
0.285714
false
0.142857
0.142857
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
9e922e429bd689190580fd828c6525764ab943c0
1,268
py
Python
tower_cli/compat.py
kedark3/tower-cli
487a1b9a8e96509798fee108e4f7d2c187177771
[ "Apache-2.0" ]
363
2015-01-14T17:48:34.000Z
2022-01-29T06:37:04.000Z
tower_cli/compat.py
kedark3/tower-cli
487a1b9a8e96509798fee108e4f7d2c187177771
[ "Apache-2.0" ]
703
2015-01-06T17:17:20.000Z
2020-09-16T15:54:17.000Z
tower_cli/compat.py
kedark3/tower-cli
487a1b9a8e96509798fee108e4f7d2c187177771
[ "Apache-2.0" ]
203
2015-01-18T22:38:23.000Z
2022-01-28T19:19:05.000Z
# Copyright 2015, Ansible, Inc. # Luke Sneeringer <lsneeringer@ansible.com> # # 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 requi...
36.228571
77
0.746057
195
1,268
4.835897
0.528205
0.063627
0.033934
0.033934
0
0
0
0
0
0
0
0.019305
0.182965
1,268
34
78
37.294118
0.890927
0.794164
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.666667
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
0
1
0
1
0
1
0
0
3
9e92a7a7b55047819665042784eb05a1717697c3
19,250
py
Python
py/tests/test_donorfy.py
samuelcolvin/nosht
9e4d9bea8ff6bfae86cae948cc3028ccc68d0188
[ "MIT" ]
26
2018-07-28T23:11:27.000Z
2022-02-09T13:40:33.000Z
py/tests/test_donorfy.py
samuelcolvin/nosht
9e4d9bea8ff6bfae86cae948cc3028ccc68d0188
[ "MIT" ]
336
2018-05-25T17:57:00.000Z
2022-03-11T23:24:36.000Z
py/tests/test_donorfy.py
samuelcolvin/nosht
9e4d9bea8ff6bfae86cae948cc3028ccc68d0188
[ "MIT" ]
4
2018-07-18T08:37:19.000Z
2022-01-31T14:42:48.000Z
import json import pytest from buildpg import Values from pytest import fixture from pytest_toolbox.comparison import CloseToNow, RegexStr from shared.actions import ActionTypes from shared.donorfy import DonorfyActor from shared.utils import RequestError from web.utils import encrypt_json from .conftest import Fact...
41.75705
115
0.720883
2,505
19,250
5.299401
0.106188
0.063277
0.080151
0.061469
0.799021
0.757966
0.721507
0.647458
0.634953
0.600829
0
0.012783
0.162857
19,250
460
116
41.847826
0.810984
0.000312
0
0.486413
0
0.002717
0.370648
0.257717
0
0
0
0
0.11413
1
0
false
0
0.027174
0
0.027174
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
9e952388ffcae30ff69efaffb734ef8eaddfbd24
275
py
Python
exercicios/ex047.py
mrcbnu/python-_exercicios
773da52a227f0e9ecce998cb6b50b3fe167a4f1d
[ "MIT" ]
null
null
null
exercicios/ex047.py
mrcbnu/python-_exercicios
773da52a227f0e9ecce998cb6b50b3fe167a4f1d
[ "MIT" ]
null
null
null
exercicios/ex047.py
mrcbnu/python-_exercicios
773da52a227f0e9ecce998cb6b50b3fe167a4f1d
[ "MIT" ]
null
null
null
########################################### # EXERCICIO 047 # ########################################### '''CRIE UM PROGRAMA QUE MOSTRE NA TELA TODOS OS NUMEROS PARES DE 1 E 50''' for c in range(1, 51): if c % 2 == 0: print(c, end=' ')
30.555556
55
0.341818
30
275
3.133333
0.9
0
0
0
0
0
0
0
0
0
0
0.054455
0.265455
275
9
56
30.555556
0.410891
0.349091
0
0
0
0
0.013699
0
0
0
0
0.111111
0
1
0
false
0
0
0
0
0.333333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
3
9eb6d151f5528cdc1c322f9b0068d09d6d965dbb
114
py
Python
pinax/points/signals.py
hacklabr/pinax-points
1133c6d911e9fe9445ff45aebe118bcaf715aae0
[ "MIT" ]
28
2015-01-26T07:52:49.000Z
2022-03-20T17:15:04.000Z
pinax/points/signals.py
hacklabr/pinax-points
1133c6d911e9fe9445ff45aebe118bcaf715aae0
[ "MIT" ]
15
2017-12-04T07:35:49.000Z
2020-05-21T15:53:20.000Z
pinax/points/signals.py
hacklabr/pinax-points
1133c6d911e9fe9445ff45aebe118bcaf715aae0
[ "MIT" ]
14
2015-02-10T04:27:12.000Z
2021-10-05T10:27:21.000Z
from django.dispatch import Signal points_awarded = Signal(providing_args=["target", "key", "points", "source"])
28.5
77
0.745614
14
114
5.928571
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.096491
114
3
78
38
0.805825
0
0
0
0
0
0.184211
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
9eb981e2b99c90652643fa12268a2ebf31a607f2
929
py
Python
hub/sensorhub/models/user_agent.py
kblum/sensor-hub
6b766ca59be74ae1a8d3d42afe048d04b6a0c546
[ "MIT" ]
null
null
null
hub/sensorhub/models/user_agent.py
kblum/sensor-hub
6b766ca59be74ae1a8d3d42afe048d04b6a0c546
[ "MIT" ]
null
null
null
hub/sensorhub/models/user_agent.py
kblum/sensor-hub
6b766ca59be74ae1a8d3d42afe048d04b6a0c546
[ "MIT" ]
null
null
null
from django.db import models from . import TimestampedModel class UserAgent(TimestampedModel): """ Representation of HTTP user agent string from reading API request. Exists as a separate model for database normalisation. """ user_agent_string = models.TextField(db_index=True, unique=True, null=Fa...
32.034483
93
0.678149
114
929
5.280702
0.45614
0.239203
0.249169
0.059801
0.099668
0.099668
0
0
0
0
0
0
0.264801
929
28
94
33.178571
0.881406
0.208827
0
0
0
0
0
0
0
0
0
0
0
1
0.117647
false
0
0.117647
0.058824
0.588235
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
0
1
0
0
3
7b654b9c9b8b039ce736b77aa128a506d29b9452
140
py
Python
Pruebas/prob_14.py
FR98/Cuarto-Compu
3824d0089562bccfbc839d9979809bc7a0fe4684
[ "MIT" ]
1
2022-03-20T12:57:04.000Z
2022-03-20T12:57:04.000Z
Pruebas/prob_14.py
FR98/cuarto-compu
3824d0089562bccfbc839d9979809bc7a0fe4684
[ "MIT" ]
null
null
null
Pruebas/prob_14.py
FR98/cuarto-compu
3824d0089562bccfbc839d9979809bc7a0fe4684
[ "MIT" ]
null
null
null
def prob_14(n): if n < 2: return False for i in range(2, n): if n % i == 0: return False return True
20
25
0.464286
23
140
2.782609
0.608696
0.09375
0.125
0
0
0
0
0
0
0
0
0.064103
0.442857
140
7
26
20
0.75641
0
0
0.285714
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.571429
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
7b66b53434936973c793021141732d4d9ee0ccb9
1,329
py
Python
metashare/accounts/urls.py
hpusset/ELRI
c4455cff3adb920627f014f37e740665342e9cee
[ "BSD-3-Clause" ]
1
2017-07-10T08:15:07.000Z
2017-07-10T08:15:07.000Z
metashare/accounts/urls.py
hpusset/ELRI
c4455cff3adb920627f014f37e740665342e9cee
[ "BSD-3-Clause" ]
null
null
null
metashare/accounts/urls.py
hpusset/ELRI
c4455cff3adb920627f014f37e740665342e9cee
[ "BSD-3-Clause" ]
1
2018-07-03T07:55:56.000Z
2018-07-03T07:55:56.000Z
from django.conf.urls import patterns, url from metashare.settings import DJANGO_BASE urlpatterns = patterns('metashare.accounts.views', url(r'create/$', 'create', name='create'), url(r'confirm/(?P<uuid>[0-9a-f]{32})/$', 'confirm', name='confirm'), url(r'contact/$', 'contact', name='contact'), url(...
42.870968
175
0.713318
162
1,329
5.592593
0.283951
0.048565
0.036424
0.082781
0.154525
0.024283
0
0
0
0
0
0.007538
0.10158
1,329
30
176
44.3
0.751256
0
0
0
0
0
0.604966
0.442438
0
0
0
0
0
1
0
false
0.142857
0.071429
0
0.071429
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
1
1
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
7b882a00a99da3e2e17e41e9f577ca3003e8abd3
2,561
py
Python
app/core/models.py
fxavier/abt-epts
021a8140db32afba106a7a9e122b98452d88c225
[ "MIT" ]
null
null
null
app/core/models.py
fxavier/abt-epts
021a8140db32afba106a7a9e122b98452d88c225
[ "MIT" ]
null
null
null
app/core/models.py
fxavier/abt-epts
021a8140db32afba106a7a9e122b98452d88c225
[ "MIT" ]
null
null
null
from django.db import models from django.contrib.auth.models import AbstractBaseUser, BaseUserManager, \ PermissionsMixin from django.conf import settings class UserManager(BaseUserManager): def create_user(self, email, password=None, **extra_fields): """Creates a...
30.488095
76
0.673565
295
2,561
5.694915
0.359322
0.042857
0.075
0.1
0.258333
0.133929
0.07619
0
0
0
0
0.012072
0.223741
2,561
84
77
30.488095
0.832998
0.158141
0
0.26
0
0
0.054374
0
0
0
0
0.011905
0
1
0.12
false
0.08
0.06
0.04
0.76
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
1
0
0
1
0
0
3
7b8d3bfd9dda43412dd61ee3a956e43a5295cf1f
78
py
Python
Python Book/12. Complex Loops/05_sequence_2k_plus_one/sequence_2k_plus_one.py
alexanderivanov2/Softuni-Software-Engineering
8adb96f445f1da17dbb6eded9e9594319154c7e7
[ "MIT" ]
null
null
null
Python Book/12. Complex Loops/05_sequence_2k_plus_one/sequence_2k_plus_one.py
alexanderivanov2/Softuni-Software-Engineering
8adb96f445f1da17dbb6eded9e9594319154c7e7
[ "MIT" ]
null
null
null
Python Book/12. Complex Loops/05_sequence_2k_plus_one/sequence_2k_plus_one.py
alexanderivanov2/Softuni-Software-Engineering
8adb96f445f1da17dbb6eded9e9594319154c7e7
[ "MIT" ]
null
null
null
n = int(input()) num = 1 while num <= n: print(num) num = num * 2 + 1
13
21
0.487179
14
78
2.714286
0.571429
0.315789
0
0
0
0
0
0
0
0
0
0.057692
0.333333
78
6
21
13
0.673077
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.2
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
7bb9a05e4b4df3445a16a9d49bf23b734a000bdc
1,718
py
Python
test/espnet2/tts/feats_extract/test_energy.py
texpomru13/espnet
7ef005e832e2fb033f356c16f54e0f08762fb4b0
[ "Apache-2.0" ]
5,053
2017-12-13T06:21:41.000Z
2022-03-31T13:38:29.000Z
test/espnet2/tts/feats_extract/test_energy.py
texpomru13/espnet
7ef005e832e2fb033f356c16f54e0f08762fb4b0
[ "Apache-2.0" ]
3,666
2017-12-14T05:58:50.000Z
2022-03-31T22:11:49.000Z
test/espnet2/tts/feats_extract/test_energy.py
texpomru13/espnet
7ef005e832e2fb033f356c16f54e0f08762fb4b0
[ "Apache-2.0" ]
1,709
2017-12-13T01:02:42.000Z
2022-03-31T11:57:45.000Z
import pytest import torch from espnet2.tts.feats_extract.energy import Energy @pytest.mark.parametrize( "use_token_averaged_energy, reduction_factor", [(False, None), (True, 1), (True, 3)] ) def test_forward(use_token_averaged_energy, reduction_factor): layer = Energy( n_fft=128, hop_length=...
30.140351
88
0.661816
220
1,718
4.859091
0.268182
0.097287
0.194574
0.26754
0.695042
0.695042
0.642657
0.642657
0.642657
0.642657
0
0.035688
0.217113
1,718
56
89
30.678571
0.759108
0
0
0.44898
0
0
0.080326
0.045402
0
0
0
0
0.040816
1
0.061224
false
0
0.061224
0
0.122449
0.040816
0
0
0
null
0
1
1
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
c879174dc589e41a31be3771fbf140871339c500
151
py
Python
setup.py
Will-Robin/NorthNet
343238afbefd02b7255ef6013cbfb0e801bc2b3b
[ "BSD-3-Clause" ]
null
null
null
setup.py
Will-Robin/NorthNet
343238afbefd02b7255ef6013cbfb0e801bc2b3b
[ "BSD-3-Clause" ]
2
2022-02-23T12:03:32.000Z
2022-02-23T14:27:29.000Z
setup.py
Will-Robin/NorthNet
343238afbefd02b7255ef6013cbfb0e801bc2b3b
[ "BSD-3-Clause" ]
null
null
null
from setuptools import setup, version setup( name="NorthNet", version="0.0", author="William E. Robinson", packages = ["NorthNet"], )
16.777778
37
0.635762
17
151
5.647059
0.764706
0
0
0
0
0
0
0
0
0
0
0.016807
0.211921
151
8
38
18.875
0.789916
0
0
0
0
0
0.251656
0
0
0
0
0
0
1
0
true
0
0.142857
0
0.142857
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
c88407b58490b10ee7b7b9dec303ca0721d6f4c4
281
py
Python
timesheet/forms.py
pincoin/windmill
fe373e5ca27c775a926e9a5538931f9394196d90
[ "MIT" ]
null
null
null
timesheet/forms.py
pincoin/windmill
fe373e5ca27c775a926e9a5538931f9394196d90
[ "MIT" ]
7
2020-02-12T01:22:46.000Z
2021-06-10T18:43:01.000Z
timesheet/forms.py
pincoin/windmill
fe373e5ca27c775a926e9a5538931f9394196d90
[ "MIT" ]
null
null
null
from django import forms from . import models class PunchLogForm(forms.ModelForm): latitude = forms.DecimalField(widget=forms.HiddenInput()) longitude = forms.DecimalField(widget=forms.HiddenInput()) class Meta: model = models.PunchLog fields = ()
20.071429
62
0.701068
29
281
6.793103
0.586207
0.172589
0.233503
0.284264
0.395939
0
0
0
0
0
0
0
0.202847
281
13
63
21.615385
0.879464
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.25
0
0.75
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
0
0
0
3
c887c627a5de312187bb987f26d6bea4c3b72084
733
py
Python
polls/views.py
druss16/danslist
ad06f8fa8df5936db7a60e9820f0c89a77f8879a
[ "MIT" ]
null
null
null
polls/views.py
druss16/danslist
ad06f8fa8df5936db7a60e9820f0c89a77f8879a
[ "MIT" ]
null
null
null
polls/views.py
druss16/danslist
ad06f8fa8df5936db7a60e9820f0c89a77f8879a
[ "MIT" ]
null
null
null
from django.shortcuts import render from django.http import HttpResponse from django.template import RequestContext, loader from .models import Question # Create your views here. def index(request): latest_question_list = Question.objects.order_by('-pub_date')[:5] context = {'latest_question_list': latest_question_...
29.32
68
0.777626
102
733
5.45098
0.441176
0.107914
0.097122
0.082734
0.143885
0.143885
0.143885
0
0
0
0
0.001558
0.124147
733
24
69
30.541667
0.864486
0.031378
0
0
0
0
0.217021
0
0
0
0
0
0
1
0.266667
false
0
0.266667
0.133333
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
c8c3d449685f28e78f767aafb617c4bfc465febb
2,779
py
Python
emerald/database_operations.py
femmerling/EmeraldBox
68f5776577f0c929ca1f5ba23f1dfe480f813037
[ "MIT" ]
17
2015-01-15T21:41:16.000Z
2021-01-10T15:34:09.000Z
emerald/database_operations.py
femmerling/EmeraldBox
68f5776577f0c929ca1f5ba23f1dfe480f813037
[ "MIT" ]
null
null
null
emerald/database_operations.py
femmerling/EmeraldBox
68f5776577f0c929ca1f5ba23f1dfe480f813037
[ "MIT" ]
5
2015-02-07T02:41:18.000Z
2016-11-11T02:50:21.000Z
import imp import os.path from app import db from migrate.versioning import api from config import SQLALCHEMY_DATABASE_URI from config import SQLALCHEMY_MIGRATE_REPO def db_create(): # This creates the new database. db.create_all() # If no repo existed, the creation will prepare for the first migration....
41.477612
144
0.77366
375
2,779
5.453333
0.256
0.149633
0.184841
0.212225
0.515403
0.466504
0.437164
0.386308
0.350122
0.210269
0
0.001712
0.15905
2,779
67
145
41.477612
0.873342
0.178122
0
0.15
0
0
0.123902
0.011863
0
0
0
0
0
0
null
null
0
0.15
null
null
0.2
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
1
0
0
0
0
0
0
0
0
3
c8c808427fd949238223a24b72518b4c7f83bcd8
1,190
py
Python
mall/serializers.py
turing0/mallProject
cc56d25c51fa03584f99a633a6f606622cfb1e5d
[ "MIT" ]
null
null
null
mall/serializers.py
turing0/mallProject
cc56d25c51fa03584f99a633a6f606622cfb1e5d
[ "MIT" ]
null
null
null
mall/serializers.py
turing0/mallProject
cc56d25c51fa03584f99a633a6f606622cfb1e5d
[ "MIT" ]
null
null
null
from rest_framework import serializers from .models import User from .models import Product from django.contrib.auth import get_user_model class UserSerializer(serializers.ModelSerializer): class Meta: model = User fields = ('id', 'username', 'password', 'balance') class ProductSerializer(serial...
36.060606
92
0.657143
127
1,190
5.992126
0.393701
0.11958
0.082786
0.0841
0.13929
0.13929
0.13929
0
0
0
0
0
0.223529
1,190
32
93
37.1875
0.823593
0.540336
0
0.166667
0
0
0.103383
0
0
0
0
0
0
1
0
false
0.083333
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
0
0
1
1
0
1
0
0
3
c8ce16cc98ba530c9d0d89640e062797670ba6af
275
py
Python
thywill_apps/src/thywill_apps/test/proof_of_concept/__init__.py
exratione/thywill-python
2078d6f6fc12034eac60a7cc30bf2bc0d27a8732
[ "MIT" ]
1
2015-04-26T19:49:35.000Z
2015-04-26T19:49:35.000Z
thywill_apps/src/thywill_apps/test/proof_of_concept/__init__.py
exratione/thywill-python
2078d6f6fc12034eac60a7cc30bf2bc0d27a8732
[ "MIT" ]
null
null
null
thywill_apps/src/thywill_apps/test/proof_of_concept/__init__.py
exratione/thywill-python
2078d6f6fc12034eac60a7cc30bf2bc0d27a8732
[ "MIT" ]
null
null
null
''' A very simple test application to exercise a round trip of messages through the thywill system. This also illustrates the bare, bare minimum implementation of the 'thywill_interface.py' module - all it does is echo back incoming messages to the client who sent them. '''
45.833333
98
0.789091
44
275
4.909091
0.795455
0.092593
0
0
0
0
0
0
0
0
0
0
0.163636
275
6
99
45.833333
0.93913
0.970909
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
c8d09ce36295ecfe93aeeecfaa8a003ce925b428
6,979
py
Python
src/jk_sysinfo/get_proc_cpu_info.py
jkpubsrc/python-module-jk-sysinfo
583c9e5d10f64a722ffa794d081aaf94354ba4fb
[ "Apache-1.1" ]
null
null
null
src/jk_sysinfo/get_proc_cpu_info.py
jkpubsrc/python-module-jk-sysinfo
583c9e5d10f64a722ffa794d081aaf94354ba4fb
[ "Apache-1.1" ]
null
null
null
src/jk_sysinfo/get_proc_cpu_info.py
jkpubsrc/python-module-jk-sysinfo
583c9e5d10f64a722ffa794d081aaf94354ba4fb
[ "Apache-1.1" ]
null
null
null
import typing from jk_cachefunccalls import cacheCalls from jk_cmdoutputparsinghelper import ValueParser_ByteWithUnit from .parsing_utils import * from .invoke_utils import run #import jk_json _parserColonKVP = ParseAtFirstDelimiter(delimiter=":", valueCanBeWrappedInDoubleQuotes=False, keysReplaceSpacesWithUnders...
29.572034
612
0.71271
1,110
6,979
4.372072
0.216216
0.008036
0.009067
0.018957
0.732124
0.723058
0.716464
0.694622
0.694622
0.671955
0
0.049793
0.202894
6,979
235
613
29.697872
0.822578
0.745379
0
0.193548
0
0
0.174539
0
0
0
0
0
0
1
0.032258
false
0
0.080645
0
0.145161
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
c8d9772ef30de66f59d67a0dc784ccc67d52e59f
94
py
Python
python3/binary.py
eiadshahtout/Python
b2406b0806bc55a9d8f5482a304a8d6968249018
[ "MIT" ]
null
null
null
python3/binary.py
eiadshahtout/Python
b2406b0806bc55a9d8f5482a304a8d6968249018
[ "MIT" ]
null
null
null
python3/binary.py
eiadshahtout/Python
b2406b0806bc55a9d8f5482a304a8d6968249018
[ "MIT" ]
null
null
null
def count_ones(num): binary = str(bin(num))[2:] print(binary) return binary count_ones(20)
15.666667
27
0.712766
16
94
4.0625
0.6875
0.276923
0
0
0
0
0
0
0
0
0
0.036585
0.12766
94
6
28
15.666667
0.756098
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0
0
0.4
0.2
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
c8e4d42dd8ef4d4d14c2794784ca0f4e4747b37c
278
py
Python
miner/config.py
czhang-nbai/swan
03a6ade93d9b8b193bd05bf851779784eb2ffde5
[ "MIT" ]
6
2021-02-19T02:36:06.000Z
2021-03-20T09:38:17.000Z
miner/config.py
czhang-nbai/swan
03a6ade93d9b8b193bd05bf851779784eb2ffde5
[ "MIT" ]
27
2021-01-13T06:43:44.000Z
2021-05-12T04:55:28.000Z
miner/config.py
czhang-nbai/swan
03a6ade93d9b8b193bd05bf851779784eb2ffde5
[ "MIT" ]
7
2021-01-26T04:50:11.000Z
2021-03-04T22:26:59.000Z
import toml def read_config(_config_path=None): if _config_path is None: _config_path = './config.toml' # script_dir = os.path.dirname(__file__) # file_path = os.path.join(script_dir, config_path) _config = toml.load(_config_path) return _config
21.384615
55
0.694245
39
278
4.461538
0.435897
0.287356
0.183908
0.229885
0
0
0
0
0
0
0
0
0.205036
278
12
56
23.166667
0.78733
0.316547
0
0
0
0
0.069519
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.5
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
c8e8ef9bc1df23fffd3b87a416935aa12a7c1e19
214
py
Python
app/database/pronto_soccorso.py
nyxgear/PSD-e-service-pronto-soccorso
92eb0586c2cfb12a844a106b71911c80e8e3e57b
[ "MIT" ]
null
null
null
app/database/pronto_soccorso.py
nyxgear/PSD-e-service-pronto-soccorso
92eb0586c2cfb12a844a106b71911c80e8e3e57b
[ "MIT" ]
null
null
null
app/database/pronto_soccorso.py
nyxgear/PSD-e-service-pronto-soccorso
92eb0586c2cfb12a844a106b71911c80e8e3e57b
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from .tables.pronto_soccorsi import table class ProntoSoccorso: _table = table def __init__(self, ps_dict): # entity dict self.e_d = ps_dict def to_dict(self): return self.e_d
14.266667
41
0.696262
33
214
4.181818
0.636364
0.086957
0.086957
0
0
0
0
0
0
0
0
0.00578
0.191589
214
14
42
15.285714
0.791908
0.154206
0
0
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0.142857
0.142857
0.857143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
c8efd5f50e23a88b242e0e5832ddd548e4a5108c
1,809
py
Python
src/entitykb/pipeline/filterers.py
genomoncology/entitykb
61cf346a24f52fd8c1edea8827a816284ed6ecaf
[ "MIT" ]
25
2020-06-30T16:46:43.000Z
2022-01-04T15:27:49.000Z
src/entitykb/pipeline/filterers.py
genomoncology/entitykb
61cf346a24f52fd8c1edea8827a816284ed6ecaf
[ "MIT" ]
3
2020-11-25T15:09:33.000Z
2021-05-08T11:25:14.000Z
src/entitykb/pipeline/filterers.py
genomoncology/entitykb
61cf346a24f52fd8c1edea8827a816284ed6ecaf
[ "MIT" ]
2
2021-06-17T11:21:49.000Z
2021-12-02T13:07:15.000Z
from typing import Iterator from entitykb import Span, interfaces, Doc class KeepExactNameOnly(interfaces.IFilterer): """ Only keep spans that are an exact match. """ def is_keep(self, span: Span): return span.name == span.text class RemoveInexactSynonyms(interfaces.IFilterer): """ Remove if n...
27.409091
73
0.63571
221
1,809
5.085973
0.316742
0.049822
0.053381
0.042705
0.209075
0.178826
0.11121
0.11121
0.11121
0.076512
0
0.000743
0.255943
1,809
65
74
27.830769
0.834324
0.114428
0
0.075
0
0
0
0
0
0
0
0
0
1
0.225
false
0
0.05
0.125
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
c8f87a26e0ea3211d6cafee5a76cf221fb9382c8
107,098
py
Python
src/dbobjects.py
211tbc/synthesis
55b4dcb85b7a2ed5fbc46b1740c8ca0ab80248a4
[ "Unlicense" ]
null
null
null
src/dbobjects.py
211tbc/synthesis
55b4dcb85b7a2ed5fbc46b1740c8ca0ab80248a4
[ "Unlicense" ]
7
2016-08-12T15:12:43.000Z
2020-06-07T03:19:13.000Z
src/dbobjects.py
211tbc/synthesis
55b4dcb85b7a2ed5fbc46b1740c8ca0ab80248a4
[ "Unlicense" ]
null
null
null
from sqlalchemy import create_engine, Column, Integer, BigInteger, String, Boolean, MetaData, ForeignKey from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.orm import sessionmaker, relationship from sqlalchemy.types import DateTime, Date, Interval from sqlalchemy.pool import NullPool from .conf imp...
49.789865
176
0.757755
13,198
107,098
5.767389
0.048265
0.098374
0.135842
0.166715
0.836701
0.77217
0.694763
0.593394
0.457513
0.352873
0
0.0148
0.145157
107,098
2,150
177
49.813023
0.816618
0.027134
0
0.380649
0
0
0.049642
0.009145
0
0
0
0
0
1
0.002658
false
0.000532
0.004785
0
0.979798
0.002658
0
0
0
null
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
cdad55a9ce2a49755ae4b294972c1f2e61c115f9
425
py
Python
problem/01000~09999/01058/1058.py3.py
njw1204/BOJ-AC
1de41685725ae4657a7ff94e413febd97a888567
[ "MIT" ]
1
2019-04-19T16:37:44.000Z
2019-04-19T16:37:44.000Z
problem/01000~09999/01058/1058.py3.py
njw1204/BOJ-AC
1de41685725ae4657a7ff94e413febd97a888567
[ "MIT" ]
1
2019-04-20T11:42:44.000Z
2019-04-20T11:42:44.000Z
problem/01000~09999/01058/1058.py3.py
njw1204/BOJ-AC
1de41685725ae4657a7ff94e413febd97a888567
[ "MIT" ]
3
2019-04-19T16:37:47.000Z
2021-10-25T00:45:00.000Z
n=int(input()) link=[[100]*n for i in range(n)] for i in range(n): x=input() for j in range(n): if x[j]=='Y': link[i][j]=1 for i in range(n): for j in range(n): for k in range(n): if link[j][i]+link[i][k]<link[j][k]: link[j][k]=link[j][i]+link[i][k] link[k][j]=link[j][k] ans=0 for ...
20.238095
42
0.52
101
425
2.188119
0.217822
0.253394
0.289593
0.199095
0.647059
0.488688
0.144796
0
0
0
0
0.024465
0.230588
425
21
43
20.238095
0.651376
0
0
0.315789
0
0
0.002347
0
0
0
0
0
0
1
0
false
0
0
0
0
0.052632
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
cde9a03010ce87292ba1da645b7d397d96cc724e
115
py
Python
aitoolbox/cloud/__init__.py
mv1388/AIToolbox
c64ac4810a02d230ce471d86b758e82ea232a7e7
[ "MIT" ]
3
2019-10-12T12:24:09.000Z
2020-08-02T02:42:43.000Z
aitoolbox/cloud/__init__.py
mv1388/aitoolbox
1060435e6cbdfd19abcb726c4080b663536b7467
[ "MIT" ]
3
2020-04-10T14:07:07.000Z
2020-04-22T19:04:38.000Z
aitoolbox/cloud/__init__.py
mv1388/aitoolbox
1060435e6cbdfd19abcb726c4080b663536b7467
[ "MIT" ]
null
null
null
s3_available_options = ['s3', 'aws_s3', 'aws'] gcs_available_options = ['gcs', 'google_storage', 'google storage']
38.333333
67
0.713043
15
115
5.066667
0.466667
0.421053
0
0
0
0
0
0
0
0
0
0.028846
0.095652
115
2
68
57.5
0.701923
0
0
0
0
0
0.365217
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
cdff5880102eb2ba8d22b6cbec2e9bb5407da963
2,196
py
Python
backup.py
BigBlueHat/copy-couch
ab4759540faecae8239c94e8045f7fce1f4a4914
[ "Apache-2.0" ]
null
null
null
backup.py
BigBlueHat/copy-couch
ab4759540faecae8239c94e8045f7fce1f4a4914
[ "Apache-2.0" ]
null
null
null
backup.py
BigBlueHat/copy-couch
ab4759540faecae8239c94e8045f7fce1f4a4914
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python """copy-couch makes copies of couches. no joke. License: Apache 2.0 - http://opensource.org/licenses/Apache-2.0 """ import argparse import base64 import ConfigParser import datetime import json import requests argparser = argparse.ArgumentParser() argparser.add_argument('config_file', type=fi...
29.675676
74
0.659836
284
2,196
4.922535
0.362676
0.086552
0.054363
0.040057
0.112303
0.077253
0
0
0
0
0
0.014404
0.178051
2,196
73
75
30.082192
0.760111
0.116576
0
0
0
0
0.198238
0
0
0
0
0.013699
0
0
null
null
0.108696
0.130435
null
null
0.086957
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
1
0
0
1
0
0
0
0
0
3
a808c833e4004773a8618ea9f6a2827bf0e5f1ca
2,044
py
Python
data-detective-airflow/tests/dag_generator/test_tdag.py
dmitriy-e/metadata-governance
018a879951dee3f3c2c05ac8e05b8360dd7f4ab3
[ "Apache-2.0" ]
5
2021-12-01T09:55:23.000Z
2021-12-21T16:23:33.000Z
data-detective-airflow/tests/dag_generator/test_tdag.py
dmitriy-e/metadata-governance
018a879951dee3f3c2c05ac8e05b8360dd7f4ab3
[ "Apache-2.0" ]
1
2021-11-16T15:55:34.000Z
2021-11-16T15:55:34.000Z
data-detective-airflow/tests/dag_generator/test_tdag.py
dmitriy-e/metadata-governance
018a879951dee3f3c2c05ac8e05b8360dd7f4ab3
[ "Apache-2.0" ]
2
2021-11-03T09:43:09.000Z
2021-11-17T10:16:29.000Z
import pytest import allure from data_detective_airflow.constants import PG_CONN_ID, S3_CONN_ID from data_detective_airflow.dag_generator.results import PgResult, PickleResult from data_detective_airflow.dag_generator import ResultType, WorkType @allure.feature('Dag results') @allure.story('Create Pickle') def test_...
41.714286
88
0.611546
230
2,044
5.091304
0.191304
0.119556
0.06661
0.061486
0.801879
0.801879
0.717336
0.560205
0.560205
0.560205
0
0.003536
0.308219
2,044
48
89
42.583333
0.824611
0
0
0.487805
0
0
0.04501
0
0
0
0
0
0.073171
1
0.073171
false
0
0.121951
0
0.195122
0
0
0
0
null
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
a80bd9815a0efacc56fe16adf0b6e490442b6851
161
py
Python
magic_markdown/__init__.py
transfluxus/magic_markdown
3a71d0c0a0937dc87973b6e19389f27575e16208
[ "MIT" ]
10
2019-04-09T17:33:52.000Z
2021-05-10T04:58:59.000Z
magic_markdown/__init__.py
transfluxus/magic_markdown
3a71d0c0a0937dc87973b6e19389f27575e16208
[ "MIT" ]
null
null
null
magic_markdown/__init__.py
transfluxus/magic_markdown
3a71d0c0a0937dc87973b6e19389f27575e16208
[ "MIT" ]
null
null
null
name = "magic_markdown" from magic_markdown.MagicMarkdown import MagicMarkdown def load_ipython_extension(ipython): ipython.register_magics(MagicMarkdown)
23
54
0.838509
18
161
7.222222
0.666667
0.2
0
0
0
0
0
0
0
0
0
0
0.099379
161
6
55
26.833333
0.896552
0
0
0
0
0
0.086957
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
a827531247ffd24ded530b9e0dea0c181d142c7b
114
py
Python
math_and_algorithm/024.py
tonko2/AtCoder
5d617072517881d226d7c8af09cb88684d41af7e
[ "Xnet", "X11", "CECILL-B" ]
2
2022-01-22T07:56:58.000Z
2022-01-24T00:29:37.000Z
math_and_algorithm/024.py
tonko2/AtCoder
5d617072517881d226d7c8af09cb88684d41af7e
[ "Xnet", "X11", "CECILL-B" ]
null
null
null
math_and_algorithm/024.py
tonko2/AtCoder
5d617072517881d226d7c8af09cb88684d41af7e
[ "Xnet", "X11", "CECILL-B" ]
null
null
null
N = int(input()) ans = 0 for _ in range(N): p, q = map(int, input().split()) ans += (1 / p) * q print(ans)
19
36
0.5
21
114
2.666667
0.666667
0.285714
0
0
0
0
0
0
0
0
0
0.02381
0.263158
114
6
37
19
0.642857
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.166667
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
b524a997831cceef37fb6ffcb9a5a1813e885500
9,076
py
Python
utils/HCA/a_star.py
proroklab/magat_pathplanning
a2cab3b11abc46904bc45be1762a780becb1e8c7
[ "MIT" ]
40
2021-07-01T03:14:20.000Z
2022-03-23T23:45:22.000Z
utils/HCA/a_star.py
QingbiaoLi/magat_pathplanning
f28429b1a2ab7866c3001b82e6ae9ca3f072c106
[ "MIT" ]
null
null
null
utils/HCA/a_star.py
QingbiaoLi/magat_pathplanning
f28429b1a2ab7866c3001b82e6ae9ca3f072c106
[ "MIT" ]
13
2021-07-14T07:57:16.000Z
2022-03-03T10:43:25.000Z
''' This file contains utility of AStarSearch. Thanks to Binyu Wang for providing the codes. ''' from random import randint import numpy as np class SearchEntry(): def __init__(self, x, y, g_cost, f_cost=0, pre_entry=None): self.x = x self.y = y # cost move form start entry to this entry ...
35.592157
119
0.552336
1,220
9,076
4.02459
0.120492
0.027495
0.008554
0.009776
0.780652
0.743177
0.714257
0.694297
0.682077
0.682077
0
0.025993
0.334509
9,076
254
120
35.732283
0.786921
0.164941
0
0.640884
0
0
0
0
0
0
0
0
0
1
0.116022
false
0
0.01105
0.022099
0.276243
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
b5523d39a4d4c8cb3b8be163ac345c9888bb29a1
178
py
Python
reference/old/distance-simple.py
Art31/trekking-pro-cefetrj
37ab58759b42978cbd8d950bd75c487e1292cb2b
[ "Apache-1.1" ]
null
null
null
reference/old/distance-simple.py
Art31/trekking-pro-cefetrj
37ab58759b42978cbd8d950bd75c487e1292cb2b
[ "Apache-1.1" ]
null
null
null
reference/old/distance-simple.py
Art31/trekking-pro-cefetrj
37ab58759b42978cbd8d950bd75c487e1292cb2b
[ "Apache-1.1" ]
null
null
null
from gpiozero import DistanceSensor from time import sleep sensor = DistanceSensor(echo=23, trigger=22) while True: print('Distance: ', sensor.distance * 100) sleep(1)
19.777778
46
0.735955
23
178
5.695652
0.73913
0
0
0
0
0
0
0
0
0
0
0.054054
0.168539
178
8
47
22.25
0.831081
0
0
0
0
0
0.056497
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.166667
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
b55c52f4a65b506287148bb4b6f73c63cbf60fe9
266
py
Python
cbsettings/exceptions.py
matthewwithanm/django-classbasedsettings
4b208f1c73a2acedc5cd3bfa2b73541607ed9ce8
[ "MIT" ]
23
2015-02-17T13:35:33.000Z
2020-10-02T07:06:24.000Z
cbsettings/exceptions.py
matthewwithanm/django-classbasedsettings
4b208f1c73a2acedc5cd3bfa2b73541607ed9ce8
[ "MIT" ]
8
2015-12-23T19:42:49.000Z
2021-10-01T20:13:40.000Z
cbsettings/exceptions.py
matthewwithanm/django-classbasedsettings
4b208f1c73a2acedc5cd3bfa2b73541607ed9ce8
[ "MIT" ]
4
2015-12-23T19:17:39.000Z
2020-09-27T19:29:13.000Z
class SettingsFactoryDoesNotExist(Exception): pass class InvalidSettingsFactory(Exception): pass class NoMatchingSettings(Exception): """Raised when a suitable settings class cannot be found.""" pass class InvalidCondition(Exception): pass
16.625
64
0.75188
25
266
8
0.6
0.195
0.18
0
0
0
0
0
0
0
0
0
0.176692
266
15
65
17.733333
0.913242
0.203008
0
0.5
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
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
3
b56d8510f015d44a803fb673140f624e3488a4d1
326
py
Python
pctiler/pctiler/colormaps/mtbs.py
hobu/planetary-computer-apis
27f5b8ce78737f43b306fa4738007c207a329b5b
[ "MIT" ]
1
2021-11-02T16:13:43.000Z
2021-11-02T16:13:43.000Z
pctiler/pctiler/colormaps/mtbs.py
moradology/planetary-computer-apis-1
81a666e843cd0d8592708b35e1360fb68815816d
[ "MIT" ]
null
null
null
pctiler/pctiler/colormaps/mtbs.py
moradology/planetary-computer-apis-1
81a666e843cd0d8592708b35e1360fb68815816d
[ "MIT" ]
null
null
null
from typing import Dict, List mtbs_colormaps: Dict[str, Dict[int, List[int]]] = { "mtbs-severity": { 0: [0, 0, 0, 0], 1: [0, 100, 0, 255], 2: [127, 255, 212, 255], 3: [255, 255, 0, 255], 4: [255, 0, 0, 255], 5: [127, 255, 0, 255], 6: [255, 255, 255, 255], ...
23.285714
51
0.435583
50
326
2.82
0.42
0.070922
0.06383
0.056738
0
0
0
0
0
0
0
0.336493
0.352761
326
13
52
25.076923
0.331754
0
0
0
0
0
0.039877
0
0
0
0
0
0
1
0
true
0
0.083333
0
0.083333
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
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
b5708d1fb897807ff8443226c727f7b6941ec2ec
580
py
Python
fluentcheck/tests/tests_is/test_basic_checks_is.py
jstoebel/fluentcheck
9258dab4f46776b5df50528f5028ce2d11a443c5
[ "MIT" ]
83
2018-05-31T13:21:06.000Z
2022-03-20T14:27:49.000Z
fluentcheck/tests/tests_is/test_basic_checks_is.py
jstoebel/fluentcheck
9258dab4f46776b5df50528f5028ce2d11a443c5
[ "MIT" ]
20
2019-02-10T15:07:44.000Z
2021-04-02T13:18:52.000Z
fluentcheck/tests/tests_is/test_basic_checks_is.py
jstoebel/fluentcheck
9258dab4f46776b5df50528f5028ce2d11a443c5
[ "MIT" ]
11
2019-02-16T21:33:11.000Z
2022-03-25T03:39:52.000Z
import unittest from fluentcheck import Is from fluentcheck.exceptions import CheckError # noinspection PyStatementEffect class TestIsBasicChecks(unittest.TestCase): def test_is_none_pass(self): self.assertIsInstance(Is(None).none, Is) def test_is_none_fail(self): with self.assertRaises(Chec...
26.363636
63
0.712069
77
580
5.155844
0.311688
0.105793
0.09068
0.065491
0.556675
0.392947
0.221662
0.221662
0
0
0
0
0.201724
580
21
64
27.619048
0.857451
0.051724
0
0.142857
0
0
0.047445
0
0
0
0
0
0.285714
1
0.285714
false
0.142857
0.214286
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
b5934a3e23d4a7debafa86c699f518b3070881a9
153
py
Python
website/website/apps/statistics/urls.py
SimonGreenhill/Language5
c59f502dda7be27fc338f0338cc3b03e63bad9c8
[ "MIT" ]
1
2020-08-17T05:56:16.000Z
2020-08-17T05:56:16.000Z
website/website/apps/statistics/urls.py
SimonGreenhill/Language5
c59f502dda7be27fc338f0338cc3b03e63bad9c8
[ "MIT" ]
5
2020-06-05T17:51:56.000Z
2022-01-13T00:42:51.000Z
website/website/apps/statistics/urls.py
SimonGreenhill/Language5
c59f502dda7be27fc338f0338cc3b03e63bad9c8
[ "MIT" ]
1
2015-02-23T22:54:00.000Z
2015-02-23T22:54:00.000Z
from django.conf.urls import url from website.apps.statistics.views import statistics urlpatterns = [ url(r'^$', statistics, name="statistics"), ]
19.125
52
0.732026
19
153
5.894737
0.684211
0
0
0
0
0
0
0
0
0
0
0
0.137255
153
7
53
21.857143
0.848485
0
0
0
0
0
0.078431
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
a90935ea9eaeec17fd69395a2c757ba3a6870196
45
py
Python
chapter03/array.py
gothedistance/python-book
18d82b96e8336e2a26608e25b2c2424e19dab2a3
[ "MIT" ]
17
2016-08-12T13:15:43.000Z
2021-03-22T13:35:33.000Z
chapter03/array.py
gothedistance/python-book
18d82b96e8336e2a26608e25b2c2424e19dab2a3
[ "MIT" ]
null
null
null
chapter03/array.py
gothedistance/python-book
18d82b96e8336e2a26608e25b2c2424e19dab2a3
[ "MIT" ]
13
2016-08-12T13:31:47.000Z
2021-01-28T11:06:48.000Z
array = [1,2,3] for v in array: print(v)
11.25
15
0.555556
10
45
2.5
0.8
0
0
0
0
0
0
0
0
0
0
0.090909
0.266667
45
3
16
15
0.666667
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
a92f6dae240175ed04d97420af8139933f7227f7
83
py
Python
wine/apps.py
zenith0/vinum-db
d601b1e1da6d748450f454e6f6d6803d7a4ecea8
[ "Apache-2.0" ]
null
null
null
wine/apps.py
zenith0/vinum-db
d601b1e1da6d748450f454e6f6d6803d7a4ecea8
[ "Apache-2.0" ]
null
null
null
wine/apps.py
zenith0/vinum-db
d601b1e1da6d748450f454e6f6d6803d7a4ecea8
[ "Apache-2.0" ]
null
null
null
from django.apps import AppConfig class WineConfig(AppConfig): name = 'wine'
13.833333
33
0.73494
10
83
6.1
0.9
0
0
0
0
0
0
0
0
0
0
0
0.180723
83
5
34
16.6
0.897059
0
0
0
0
0
0.048193
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
a958be1401872e502507925a19d9666e8b808383
736
py
Python
listing_manager/utils.py
mikezareno/listing-manager
7cf07c2f654925254949b8d0000104cd0cfcafe9
[ "MIT" ]
null
null
null
listing_manager/utils.py
mikezareno/listing-manager
7cf07c2f654925254949b8d0000104cd0cfcafe9
[ "MIT" ]
null
null
null
listing_manager/utils.py
mikezareno/listing-manager
7cf07c2f654925254949b8d0000104cd0cfcafe9
[ "MIT" ]
null
null
null
# from __future__ import unicode_literals import frappe, erpnext from frappe import _ import json from frappe.utils import flt, cstr, nowdate, nowtime from six import string_types class InvalidWarehouseCompany(frappe.ValidationError): pass @frappe.whitelist() def get_item_code(scancode=None): if scancode: #try ba...
26.285714
107
0.754076
100
736
5.37
0.45
0.089385
0.104283
0.074488
0.260708
0.260708
0.260708
0.126629
0
0
0
0
0.141304
736
27
108
27.259259
0.849684
0.057065
0
0.210526
0
0
0.137482
0
0
0
0
0
0
1
0.105263
false
0.052632
0.315789
0.052632
0.578947
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
a95cd5050cc5338cb7021667243f069114685055
2,293
py
Python
utils/forms.py
JakubBialoskorski/notes
1016581cbf7d2024df42f85df039c7e2a5b03205
[ "MIT" ]
null
null
null
utils/forms.py
JakubBialoskorski/notes
1016581cbf7d2024df42f85df039c7e2a5b03205
[ "MIT" ]
1
2021-06-22T20:26:20.000Z
2021-06-22T20:26:20.000Z
utils/forms.py
JakubBialoskorski/notes
1016581cbf7d2024df42f85df039c7e2a5b03205
[ "MIT" ]
null
null
null
from flask_wtf import FlaskForm from wtforms import StringField, PasswordField, SubmitField, SelectMultipleField, HiddenField from flask_pagedown.fields import PageDownField from wtforms import validators class LoginForm(FlaskForm): username = StringField('Username*', [validators.InputRequired("Please enter your n...
61.972973
286
0.756651
245
2,293
7.04898
0.261224
0.146497
0.151129
0.177186
0.59641
0.594094
0.547771
0.484076
0.406485
0.2652
0
0.005944
0.119494
2,293
36
287
63.694444
0.84943
0
0
0
0
0
0.309202
0
0
0
0
0
0
1
0
false
0.266667
0.133333
0
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
3
a97f5a52d2112340dd02628abcf36314406fa57c
338
py
Python
random-py/app.py
traian-mihali/publishing-py
fa050b1169258b50678f00b97958499bc0210ca3
[ "MIT" ]
null
null
null
random-py/app.py
traian-mihali/publishing-py
fa050b1169258b50678f00b97958499bc0210ca3
[ "MIT" ]
null
null
null
random-py/app.py
traian-mihali/publishing-py
fa050b1169258b50678f00b97958499bc0210ca3
[ "MIT" ]
null
null
null
""" This module provides a method to generate a random number between 0 and the specified number """ import random import math def random_num(max): """ Generates a random number Parameters: max(int): the range upper limit Returns: int: the random number """ return math.floor(rando...
19.882353
100
0.668639
46
338
4.891304
0.608696
0.16
0.115556
0
0
0
0
0
0
0
0
0.003937
0.248521
338
16
101
21.125
0.88189
0.585799
0
0
1
0
0
0
0
0
0
0
0
1
0.25
false
0
0.5
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
0
1
0
0
0
0
3
8d212f11594f7ae449b95c565655219888507326
511
py
Python
Python/toLowerCase.py
dianeyeo/LeetCode
b814831e7a4296a4e95785b75ea5c540a3fca63d
[ "MIT" ]
null
null
null
Python/toLowerCase.py
dianeyeo/LeetCode
b814831e7a4296a4e95785b75ea5c540a3fca63d
[ "MIT" ]
null
null
null
Python/toLowerCase.py
dianeyeo/LeetCode
b814831e7a4296a4e95785b75ea5c540a3fca63d
[ "MIT" ]
null
null
null
""" https://leetcode.com/problems/to-lower-case/ Difficulty: Easy Given a string s, return the string after replacing every uppercase letter with the same lowercase letter. Example 1: Input: s = "Hello" Output: "hello" Example 2: Input: s = "here" Output: "here" Example 3: Input: s = "LOVELY" Outp...
17.033333
106
0.661448
69
511
4.898551
0.666667
0.053254
0
0
0
0
0
0
0
0
0
0.017588
0.221135
511
29
107
17.62069
0.831658
0.810176
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0.333333
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
8d2771d9640e1def0fa9d63283dfdac05afbee62
25,468
py
Python
nova/pci/stats.py
bopopescu/nova-token
ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2
[ "Apache-2.0" ]
null
null
null
nova/pci/stats.py
bopopescu/nova-token
ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2
[ "Apache-2.0" ]
null
null
null
nova/pci/stats.py
bopopescu/nova-token
ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2
[ "Apache-2.0" ]
2
2017-07-20T17:31:34.000Z
2020-07-24T02:42:19.000Z
begin_unit comment|'# Copyright (c) 2013 Intel, Inc.' nl|'\n' comment|'# Copyright (c) 2013 OpenStack Foundation' nl|'\n' comment|'# All Rights Reserved.' nl|'\n' comment|'#' nl|'\n' comment|'# Licensed under the Apache License, Version 2.0 (the "License"); you may' nl|'\n' comment|'# not use this file except in ...
14.37246
1,148
0.61167
3,855
25,468
3.949935
0.102464
0.125304
0.079464
0.055691
0.637026
0.56518
0.494319
0.425954
0.346884
0.31477
0
0.001088
0.133736
25,468
1,771
1,149
14.380576
0.689103
0
0
0.923207
0
0.002259
0.540953
0.030116
0
0
0
0
0
0
null
null
0.001129
0.006211
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
1
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
8d58f2b0959a8386b4c708d7cc38bd2e9f103bb6
1,321
py
Python
pyesasky/__init__.py
pierfra-ro/pyesasky
a9342efcaa5cca088ed9a5afa2c98d3e9aa4bd0f
[ "BSD-3-Clause" ]
13
2019-05-30T19:57:37.000Z
2021-09-10T09:43:49.000Z
pyesasky/__init__.py
pierfra-ro/pyesasky
a9342efcaa5cca088ed9a5afa2c98d3e9aa4bd0f
[ "BSD-3-Clause" ]
21
2019-06-21T18:55:25.000Z
2022-02-27T14:48:13.000Z
pyesasky/__init__.py
pierfra-ro/pyesasky
a9342efcaa5cca088ed9a5afa2c98d3e9aa4bd0f
[ "BSD-3-Clause" ]
8
2019-05-30T12:20:48.000Z
2022-03-04T04:01:20.000Z
from ._version import __version__ # noqa from .pyesasky import ESASkyWidget # noqa from .catalogue import Catalogue # noqa from .catalogueDescriptor import CatalogueDescriptor # noqa from .cooFrame import CooFrame # noqa from .footprintSet import FootprintSet # noqa from .footprintSetDescriptor import FootprintSetDesc...
33.025
65
0.711582
141
1,321
6.489362
0.382979
0.096175
0.048087
0.054645
0
0
0
0
0
0
0
0
0.19455
1,321
39
66
33.871795
0.859962
0.161998
0
0
0
0
0.123049
0
0
0
0
0
0
1
0.103448
false
0
0.482759
0.103448
0.689655
0.068966
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
0
1
1
1
0
0
3
8d98eec2f752514e211b3f9e607274f2de78ffd9
3,543
py
Python
physprog/tests/test_sample_problem.py
partofthething/physprog
8bbeb8d84697469417577c76c924dcb3a855cd2d
[ "Apache-2.0" ]
3
2018-03-25T16:13:53.000Z
2021-06-29T14:30:20.000Z
physprog/tests/test_sample_problem.py
partofthething/physprog
8bbeb8d84697469417577c76c924dcb3a855cd2d
[ "Apache-2.0" ]
null
null
null
physprog/tests/test_sample_problem.py
partofthething/physprog
8bbeb8d84697469417577c76c924dcb3a855cd2d
[ "Apache-2.0" ]
2
2021-09-18T08:38:32.000Z
2022-03-01T07:43:52.000Z
"""Run a sample problem to test full system.""" # pylint: disable=invalid-name,missing-docstring import unittest from collections import namedtuple import math import os from physprog import classfunctions from physprog import optimize THIS_DIR = os.path.dirname(__file__) SAMPLE_INPUT = os.path.join(THIS_DIR, 'sam...
28.804878
80
0.582275
470
3,543
4.308511
0.317021
0.083951
0.055309
0.069136
0.120494
0.022716
0
0
0
0
0
0.057623
0.294666
3,543
122
81
29.040984
0.752701
0.140559
0
0.074074
0
0
0.017922
0
0
0
0
0
0.061728
1
0.209877
false
0
0.074074
0.111111
0.592593
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
a5d00dc3b88e76c00327d591e70ffe150f4013d2
1,946
py
Python
esercizio_1/untitled1.py
navyzigz420/python_lab
a3496d8b170e334abfb5099bf6ee03df5e226b78
[ "Apache-2.0" ]
null
null
null
esercizio_1/untitled1.py
navyzigz420/python_lab
a3496d8b170e334abfb5099bf6ee03df5e226b78
[ "Apache-2.0" ]
null
null
null
esercizio_1/untitled1.py
navyzigz420/python_lab
a3496d8b170e334abfb5099bf6ee03df5e226b78
[ "Apache-2.0" ]
null
null
null
bits = '110' def turnBitsIntoInteger(listOfBits): valore = 0 lunghezza = len(listOfBits) for x in range(lunghezza): if listOfBits[x] != '0' and listOfBits[x] != '1': raise Exception('Not a combinations of bits!') valore = valore + 2**(lunghezza -1 - x) * int(listOfBits[x]) ...
1.3637
92
0.167009
64
1,946
5.078125
0.515625
0.101538
0.116923
0.123077
0
0
0
0
0
0
0
0.024814
0.792909
1,946
1,426
93
1.364656
0.781638
0.00925
0
0
0
0
0.076775
0
0
1
0
0
0
1
0.083333
false
0
0
0
0.166667
0.083333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
3
5701301232a4492ca4d517aea40acc01301fe2f8
329
py
Python
aoc2020/d01_report_repair/methods.py
sflis/aoc2020
ef6ee81c18b6ec8332b150638b3d78772fe8327a
[ "Unlicense" ]
null
null
null
aoc2020/d01_report_repair/methods.py
sflis/aoc2020
ef6ee81c18b6ec8332b150638b3d78772fe8327a
[ "Unlicense" ]
null
null
null
aoc2020/d01_report_repair/methods.py
sflis/aoc2020
ef6ee81c18b6ec8332b150638b3d78772fe8327a
[ "Unlicense" ]
null
null
null
import numpy as np def sum_pair_equals(values, val_eq): values = np.array(values) return np.where(values + values[:, None] == val_eq)[0] def sum_triad_equals(values, val_eq): values = np.array(values) sum_ = values + values[:, None] + values[:, None, None] return np.array(np.where(sum_ == val_eq...
25.307692
59
0.653495
51
329
4.019608
0.333333
0.097561
0.146341
0.165854
0.35122
0.35122
0.35122
0.35122
0
0
0
0.007491
0.18845
329
12
60
27.416667
0.7603
0
0
0.25
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.125
0
0.625
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
57071627a3f7ead2f2e5161d076288e623b02921
160
py
Python
src/utilities/grammar.py
sonishreyas/news_scraper
7cd1bd9eb14fb903fc7b190b04191237da0a1d23
[ "MIT" ]
null
null
null
src/utilities/grammar.py
sonishreyas/news_scraper
7cd1bd9eb14fb903fc7b190b04191237da0a1d23
[ "MIT" ]
null
null
null
src/utilities/grammar.py
sonishreyas/news_scraper
7cd1bd9eb14fb903fc7b190b04191237da0a1d23
[ "MIT" ]
null
null
null
from gingerit.gingerit import GingerIt def check_grammar(text): parser = GingerIt() correct_text = parser.parse(text) return correct_text['result']
26.666667
38
0.74375
20
160
5.8
0.6
0.172414
0
0
0
0
0
0
0
0
0
0
0.1625
160
6
39
26.666667
0.865672
0
0
0
0
0
0.037267
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
570f8d367a6c727fc6ef795d72a90ef7bea75141
2,024
py
Python
graph.py
mrpatiwi/k-walk-py
a800f64079024716b26c0ebb9c3a2c5b6a935b78
[ "MIT" ]
null
null
null
graph.py
mrpatiwi/k-walk-py
a800f64079024716b26c0ebb9c3a2c5b6a935b78
[ "MIT" ]
null
null
null
graph.py
mrpatiwi/k-walk-py
a800f64079024716b26c0ebb9c3a2c5b6a935b78
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from index_matrix import Matrix __author__ = 'Patricio Lopez Juri' class Graph: def __init__(self, V, E, K): self.V = V self.E = E self.K = K self.A = Matrix.square(items=V) for a, b in self.E: self.A[a, b] = 1 @property def o...
23.264368
77
0.535079
312
2,024
3.371795
0.198718
0.047529
0.086502
0.057034
0.306084
0.254753
0.254753
0.209125
0.184411
0.157795
0
0.009709
0.338439
2,024
86
78
23.534884
0.775952
0.010375
0
0.129032
0
0
0.009495
0
0
0
0
0
0
1
0.258065
false
0.016129
0.016129
0.112903
0.548387
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
9394ac8b332dbc27f6671e32b2abfcd0890092b3
117
py
Python
web_scraping/ec2files/ec2file78.py
nikibhatt/Groa
fc2d4ae87cb825e6d54a0831c72be16541eebe61
[ "MIT" ]
1
2020-04-08T20:11:48.000Z
2020-04-08T20:11:48.000Z
web_scraping/ec2files/ec2file78.py
cmgospod/Groa
31b3624bfe61e772b55f8175b4e95d63c9e67966
[ "MIT" ]
null
null
null
web_scraping/ec2files/ec2file78.py
cmgospod/Groa
31b3624bfe61e772b55f8175b4e95d63c9e67966
[ "MIT" ]
1
2020-09-12T07:07:41.000Z
2020-09-12T07:07:41.000Z
from scraper import * s = Scraper(start=138996, end=140777, max_iter=30, scraper_instance=78) s.scrape_letterboxd()
39
72
0.777778
18
117
4.888889
0.833333
0
0
0
0
0
0
0
0
0
0
0.152381
0.102564
117
3
73
39
0.685714
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
93cb4419d9691b2ed3418c709e86de6b48657ce2
122
py
Python
Day_2_Software_engineering_best_practices/solutions/06_07_08_full_package/spectra_analysis/__init__.py
Morisset/python-workshop
ec8b0c4f08a24833e53a22f6b52566a08715c9d0
[ "BSD-3-Clause" ]
null
null
null
Day_2_Software_engineering_best_practices/solutions/06_07_08_full_package/spectra_analysis/__init__.py
Morisset/python-workshop
ec8b0c4f08a24833e53a22f6b52566a08715c9d0
[ "BSD-3-Clause" ]
null
null
null
Day_2_Software_engineering_best_practices/solutions/06_07_08_full_package/spectra_analysis/__init__.py
Morisset/python-workshop
ec8b0c4f08a24833e53a22f6b52566a08715c9d0
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- """ Spectra analysis utilities """ from ._version import __version__ __all__ = ['__version__']
12.2
33
0.663934
12
122
5.666667
0.833333
0
0
0
0
0
0
0
0
0
0
0.009804
0.163934
122
9
34
13.555556
0.656863
0.401639
0
0
0
0
0.171875
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
93db9daeaca176a0d9639c9a8adf4162b78f5785
52
py
Python
list_ebs.py
willfong/aws-helper
21708044fbf95b76393e9b5f0e86c5e74ff11c77
[ "MIT" ]
null
null
null
list_ebs.py
willfong/aws-helper
21708044fbf95b76393e9b5f0e86c5e74ff11c77
[ "MIT" ]
null
null
null
list_ebs.py
willfong/aws-helper
21708044fbf95b76393e9b5f0e86c5e74ff11c77
[ "MIT" ]
null
null
null
import boto3 aws_ebs_client = boto3.client('ebs')
10.4
36
0.75
8
52
4.625
0.625
0
0
0
0
0
0
0
0
0
0
0.044444
0.134615
52
4
37
13
0.777778
0
0
0
0
0
0.058824
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
93e251e9378f58f91368189ca0f98d7e9d184630
173
py
Python
Demos/Demo-4.2 Modules/script_3.py
Josverl/MicroPython-Bootcamp
29f5ccc9768fbea621029dcf6eea9c91ff84c1d5
[ "MIT" ]
4
2018-04-28T13:43:20.000Z
2021-03-11T16:10:35.000Z
Demos/Demo-4.2 Modules/script_3.py
Josverl/MicroPython-Bootcamp
29f5ccc9768fbea621029dcf6eea9c91ff84c1d5
[ "MIT" ]
null
null
null
Demos/Demo-4.2 Modules/script_3.py
Josverl/MicroPython-Bootcamp
29f5ccc9768fbea621029dcf6eea9c91ff84c1d5
[ "MIT" ]
null
null
null
# import just one function from a module # to save memory from module import dowork #now we can us a different name to get to the imported function # dowork(13,45) dir()
19.222222
63
0.745665
31
173
4.16129
0.741935
0
0
0
0
0
0
0
0
0
0
0.028986
0.202312
173
9
64
19.222222
0.905797
0.676301
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
93e9f8a0d79848804615cc209c301de7b2ddbead
151
py
Python
chap01/07.py
knuu/nlp100
5008d678d7c8d15057ac67fe68b0667657c39b29
[ "MIT" ]
1
2015-09-11T10:33:42.000Z
2015-09-11T10:33:42.000Z
chap01/07.py
knuu/nlp100
5008d678d7c8d15057ac67fe68b0667657c39b29
[ "MIT" ]
null
null
null
chap01/07.py
knuu/nlp100
5008d678d7c8d15057ac67fe68b0667657c39b29
[ "MIT" ]
null
null
null
def makeSentence(x, y, z): return '{0}時の{1}は{2}'.format(x, y, z) if __name__ == '__main__': ans = makeSentence(12, '気温', 22.4) print(ans)
21.571429
41
0.576159
26
151
3.038462
0.807692
0.050633
0.075949
0
0
0
0
0
0
0
0
0.066667
0.205298
151
6
42
25.166667
0.591667
0
0
0
0
0
0.145695
0
0
0
0
0
0
1
0.2
false
0
0
0.2
0.4
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
0
0
0
3
93f2524a7c6f2e836f91bdc023c3abf9b271eb96
56
py
Python
mikaponics/foundation/__init__.py
mikaponics/mikaponics-back
98e1ff8bab7dda3492e5ff637bf5aafd111c840c
[ "BSD-3-Clause" ]
2
2019-04-30T23:51:41.000Z
2019-05-04T00:35:52.000Z
mikaponics/foundation/__init__.py
mikaponics/mikaponics-back
98e1ff8bab7dda3492e5ff637bf5aafd111c840c
[ "BSD-3-Clause" ]
27
2019-04-30T20:22:28.000Z
2022-02-10T08:10:32.000Z
mikaponics/foundation/__init__.py
mikaponics/mikaponics-back
98e1ff8bab7dda3492e5ff637bf5aafd111c840c
[ "BSD-3-Clause" ]
1
2019-03-08T18:24:23.000Z
2019-03-08T18:24:23.000Z
default_app_config = 'foundation.apps.FoundationConfig'
28
55
0.857143
6
56
7.666667
1
0
0
0
0
0
0
0
0
0
0
0
0.053571
56
1
56
56
0.867925
0
0
0
0
0
0.571429
0.571429
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
93fcc6644a7bd3a91ddcfdaa15c6e3faf2dbec83
137
py
Python
tests/views/test_healthcheck.py
oliveryuen/python-flask
a53c9ed823fc2f63c416e5a3b47e91f5c9d91604
[ "Apache-2.0" ]
null
null
null
tests/views/test_healthcheck.py
oliveryuen/python-flask
a53c9ed823fc2f63c416e5a3b47e91f5c9d91604
[ "Apache-2.0" ]
null
null
null
tests/views/test_healthcheck.py
oliveryuen/python-flask
a53c9ed823fc2f63c416e5a3b47e91f5c9d91604
[ "Apache-2.0" ]
null
null
null
"""Test health check""" def test_healthcheck(client): response = client.get("/healthcheck") assert response.status_code == 200
19.571429
41
0.70073
16
137
5.875
0.75
0
0
0
0
0
0
0
0
0
0
0.026087
0.160584
137
6
42
22.833333
0.791304
0.124088
0
0
0
0
0.105263
0
0
0
0
0
0.333333
1
0.333333
false
0
0
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
9e08eda6cab019bc0097ad8470c08bcc09a74c92
5,959
py
Python
code/geometry/sector.py
Prometheus3375/inno-thesis
72245706fa25b49f333e08d6074d421b5becfdb5
[ "BSD-3-Clause" ]
null
null
null
code/geometry/sector.py
Prometheus3375/inno-thesis
72245706fa25b49f333e08d6074d421b5becfdb5
[ "BSD-3-Clause" ]
null
null
null
code/geometry/sector.py
Prometheus3375/inno-thesis
72245706fa25b49f333e08d6074d421b5becfdb5
[ "BSD-3-Clause" ]
null
null
null
from io import StringIO from math import atan2, ceil from typing import Literal, Union, overload from common import PI, Real, TWOPI, deg, real, reduce_angle from functions import qbezeir_svg_given_middle from .circle import CircleBase, FixedCircle from .point import PointBase, Polar def check_arc(value: float, /): ...
26.721973
112
0.587515
757
5,959
4.425363
0.179657
0.06209
0.050149
0.037313
0.363881
0.33194
0.311045
0.266269
0.205373
0.179104
0
0.008939
0.286625
5,959
222
113
26.842342
0.777935
0.028864
0
0.258065
0
0
0.056761
0.025169
0
0
0
0.004505
0
1
0.232258
false
0
0.045161
0.103226
0.516129
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
f50a95d4fbb66571658a68aa0a66854f9c5c4220
437
py
Python
src/my_package/todelete/modules/MotionSymmetryModule.py
laomao0/AIM_DAIN
8322569498d675d3b2c1f35475c1299cad580bde
[ "MIT" ]
3
2020-05-08T20:45:57.000Z
2021-01-18T11:32:38.000Z
src/my_package/todelete/modules/MotionSymmetryModule.py
laomao0/AIM_DAIN
8322569498d675d3b2c1f35475c1299cad580bde
[ "MIT" ]
null
null
null
src/my_package/todelete/modules/MotionSymmetryModule.py
laomao0/AIM_DAIN
8322569498d675d3b2c1f35475c1299cad580bde
[ "MIT" ]
null
null
null
# modules/InterpolationLayer.py from torch.nn import Module from functions.MotionSymmetryLayer import MotionSymmetryLayer class MotionSymmetryModule(Module): def __init__(self): super(MotionSymmetryModule, self).__init__() self.f = MotionSymmetryLayer() def forward(self, input1, input2): ...
29.133333
81
0.741419
51
437
6.196078
0.666667
0.050633
0
0
0
0
0
0
0
0
0
0.011236
0.185355
437
14
82
31.214286
0.876404
0.240275
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0.125
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
f528d3c7d1c051d306cd7f8c1738faafc34bc81c
125
py
Python
Mundo 1/Exercicios/Desafio005.py
yWolfBR/Python-CursoEmVideo
17bab8ad3c4293daf8377c5d49242942845b3577
[ "MIT" ]
null
null
null
Mundo 1/Exercicios/Desafio005.py
yWolfBR/Python-CursoEmVideo
17bab8ad3c4293daf8377c5d49242942845b3577
[ "MIT" ]
null
null
null
Mundo 1/Exercicios/Desafio005.py
yWolfBR/Python-CursoEmVideo
17bab8ad3c4293daf8377c5d49242942845b3577
[ "MIT" ]
null
null
null
n = int(input('Digite um número: ')) print('Seu número é {}. O antecessor é {} e seu sucessor é {}'.format(n, n - 1, n + 1))
41.666667
87
0.592
23
125
3.217391
0.652174
0.054054
0
0
0
0
0
0
0
0
0
0.02
0.2
125
2
88
62.5
0.72
0
0
0
0
0
0.576
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
f532177c4078c1e01572de399b2bc77a18421da8
14,159
py
Python
blender/2.79/scripts/addons/io_coat3D/tex.py
uzairakbar/bpy2.79
3a3e0004ac6783c4e4b89d939e4432de99026a85
[ "MIT" ]
2
2019-11-27T09:05:42.000Z
2020-02-20T01:25:23.000Z
io_coat3D/tex.py
1-MillionParanoidTterabytes/blender-addons-master
acc8fc23a38e6e89099c3e5079bea31ce85da06a
[ "Unlicense" ]
null
null
null
io_coat3D/tex.py
1-MillionParanoidTterabytes/blender-addons-master
acc8fc23a38e6e89099c3e5079bea31ce85da06a
[ "Unlicense" ]
4
2020-02-19T20:02:26.000Z
2022-02-11T18:47:56.000Z
# ***** BEGIN GPL LICENSE BLOCK ***** # # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # # This program is distribute...
42.139881
127
0.634296
1,723
14,159
5.009286
0.120139
0.118179
0.157572
0.217356
0.725177
0.705712
0.688333
0.668752
0.637238
0.629823
0
0.006505
0.250865
14,159
335
128
42.265672
0.807203
0.054241
0
0.514403
0
0
0.031187
0
0
0
0
0
0
1
0.00823
false
0
0.00823
0
0.020576
0.004115
0
0
0
null
0
0
1
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
f583aafa3eab4133dcbce8cce69eba93bfd77474
2,163
py
Python
Python/kruskal.py
AtilioA/algoritmos-teoria-dos-grafos
287234d9d4c5c16707dfe71629f5c237e1759826
[ "Unlicense" ]
2
2020-05-14T14:12:45.000Z
2020-09-07T20:44:23.000Z
Python/kruskal.py
AtilioA/teoria-dos-grafos
287234d9d4c5c16707dfe71629f5c237e1759826
[ "Unlicense" ]
null
null
null
Python/kruskal.py
AtilioA/teoria-dos-grafos
287234d9d4c5c16707dfe71629f5c237e1759826
[ "Unlicense" ]
null
null
null
# Supostamente não funciona from aresta import Aresta from insert import insert_sort from collections import defaultdict def kruskal(arestas): arestas, vertices = insert_sort(arestas, defaultdict()) # Inicializa a árvore de fato arvore = list() # vertices terá o número de chaves do dicionário retorna...
33.796875
90
0.609801
294
2,163
4.44898
0.306122
0.220183
0.334098
0.076453
0.230122
0
0
0
0
0
0
0.045104
0.220989
2,163
63
91
34.333333
0.731157
0.460009
0
0
0
0.035714
0.100612
0
0
0
0
0.015873
0
1
0.035714
false
0
0.107143
0
0.178571
0.071429
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
3
192a1f5991a077d1bd0f6488cd823461b384cac5
188
py
Python
psmate/apps/blog/admin.py
vgrivtsov/psmate
10e0279b995d36518e0867e8c5d5125c355a2f00
[ "MIT" ]
null
null
null
psmate/apps/blog/admin.py
vgrivtsov/psmate
10e0279b995d36518e0867e8c5d5125c355a2f00
[ "MIT" ]
null
null
null
psmate/apps/blog/admin.py
vgrivtsov/psmate
10e0279b995d36518e0867e8c5d5125c355a2f00
[ "MIT" ]
null
null
null
from django.contrib import admin from psmate.models import News class BlogAdmin(admin.ModelAdmin): prepopulated_fields = {'slug': ('title',)} admin.site.register(News, BlogAdmin)
17.090909
46
0.75
23
188
6.086957
0.73913
0
0
0
0
0
0
0
0
0
0
0
0.132979
188
10
47
18.8
0.858896
0
0
0
0
0
0.048128
0
0
0
0
0
0
1
0
false
0
0.4
0
0.8
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
198e2ea49efeb318a688dffd17a8ff15bcc42c01
13
py
Python
dmm/dmm_data/__init__.py
voghoei/Different-Models
ede4a48a7960ccb4a8519bfb77d234328f2936d1
[ "MIT" ]
11
2017-11-16T13:01:47.000Z
2021-12-26T20:07:24.000Z
optvaedatasets/__init__.py
rahulk90/inference_introspection
102b3cf72abae8d66718b945df365edd4a23a62d
[ "MIT" ]
null
null
null
optvaedatasets/__init__.py
rahulk90/inference_introspection
102b3cf72abae8d66718b945df365edd4a23a62d
[ "MIT" ]
null
null
null
all=['load']
6.5
12
0.538462
2
13
3.5
1
0
0
0
0
0
0
0
0
0
0
0
0.076923
13
1
13
13
0.583333
0
0
0
0
0
0.307692
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
19aaba565d436c4904687e34d86883a59ba3510f
92
py
Python
29.operacoes_com_lista/17.exercicio4.py
robinson-1985/python-zero-dnc
df510d67e453611fcd320df1397cdb9ca47fecb8
[ "MIT" ]
null
null
null
29.operacoes_com_lista/17.exercicio4.py
robinson-1985/python-zero-dnc
df510d67e453611fcd320df1397cdb9ca47fecb8
[ "MIT" ]
null
null
null
29.operacoes_com_lista/17.exercicio4.py
robinson-1985/python-zero-dnc
df510d67e453611fcd320df1397cdb9ca47fecb8
[ "MIT" ]
null
null
null
# 4.Crie uma lista que vá de 1 até 100. list = [ cont for cont in range(1,101)] print(list)
23
39
0.673913
20
92
3.1
0.85
0
0
0
0
0
0
0
0
0
0
0.123288
0.206522
92
4
40
23
0.726027
0.402174
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
27453b9db08872e055996422f63acffb64350e41
361
py
Python
examples/03additionals/legacy_score.py
dotness/swagger-marshmallow-codegen
62938d780672d754431d50bde3eae04abefb64f1
[ "MIT" ]
null
null
null
examples/03additionals/legacy_score.py
dotness/swagger-marshmallow-codegen
62938d780672d754431d50bde3eae04abefb64f1
[ "MIT" ]
null
null
null
examples/03additionals/legacy_score.py
dotness/swagger-marshmallow-codegen
62938d780672d754431d50bde3eae04abefb64f1
[ "MIT" ]
null
null
null
# -*- coding:utf-8 -*- # this is auto-generated by swagger-marshmallow-codegen from swagger_marshmallow_codegen.schema.legacy import ( AdditionalPropertiesSchema, LegacySchema ) from marshmallow import fields class Score(AdditionalPropertiesSchema): name = fields.String(required=True) class Meta: ...
24.066667
55
0.753463
38
361
7.078947
0.736842
0.133829
0.185874
0
0
0
0
0
0
0
0
0.0033
0.160665
361
14
56
25.785714
0.884488
0.204986
0
0
1
0
0
0
0
0
0
0
0
1
0
false
0
0.222222
0
0.555556
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
27487403a3d7b9e65ea004d6b9bb66d14163ac93
2,617
py
Python
utest/test_iinekoko_db.py
MizunagiKB/IIneKoKo
495ae6dc2887bb8b41331fab1f21812368400cf2
[ "MIT" ]
null
null
null
utest/test_iinekoko_db.py
MizunagiKB/IIneKoKo
495ae6dc2887bb8b41331fab1f21812368400cf2
[ "MIT" ]
null
null
null
utest/test_iinekoko_db.py
MizunagiKB/IIneKoKo
495ae6dc2887bb8b41331fab1f21812368400cf2
[ "MIT" ]
null
null
null
import sys import unittest import configparser sys.path.append("./svc") class CIIneKoKo_DB(unittest.TestCase): def setUp(self): import iinekoko_db self.o_conf = configparser.ConfigParser() self.o_conf.read("./svc/config.ini") self.o_conn = iinekoko_db.CDatabase(self.o_conf) d...
29.077778
79
0.632404
382
2,617
3.950262
0.17801
0.059642
0.083499
0.047714
0.63552
0.488403
0.406229
0.348575
0.33002
0.275679
0
0.020124
0.259457
2,617
89
80
29.404494
0.758514
0.001911
0
0
0
0
0.057377
0
0
0
0
0
0
1
0.166667
false
0.083333
0.333333
0
0.583333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
277858124203940aedb7475ae3b0715e859459a7
914
py
Python
services/login_service.py
EderBevacqua/OPE_ADS_3C
af6e2a1757c82080dc5f6c1f7759f29f408341cc
[ "Apache-2.0" ]
null
null
null
services/login_service.py
EderBevacqua/OPE_ADS_3C
af6e2a1757c82080dc5f6c1f7759f29f408341cc
[ "Apache-2.0" ]
6
2020-06-14T21:50:25.000Z
2020-06-15T19:39:01.000Z
services/login_service.py
EderBevacqua/OPE_ADS_4C
af6e2a1757c82080dc5f6c1f7759f29f408341cc
[ "Apache-2.0" ]
null
null
null
from infra.usuario_dao import \ listar as dao_listar, \ consultar as dao_consultar, \ cadastrar as dao_cadastrar, \ alterar as dao_alterar, \ remover as dao_remover,\ loadUserEmail as dao_loadUserEmail,\ validarLogin as dao_validarLogin,\ validaMatriculaUsuario as dao_validaMatriculaUsua...
30.466667
58
0.789934
95
914
7.389474
0.273684
0.078348
0.039886
0
0
0
0
0
0
0
0
0
0.150985
914
30
59
30.466667
0.904639
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.041667
0.25
0.541667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
277d94d70e278173e780c161c144680891ccd6df
116
py
Python
server/domain/datasets/exceptions.py
multi-coop/catalogage-donnees
1d70401ff6c7b01ec051460a253cb105adf65911
[ "MIT" ]
null
null
null
server/domain/datasets/exceptions.py
multi-coop/catalogage-donnees
1d70401ff6c7b01ec051460a253cb105adf65911
[ "MIT" ]
14
2022-01-25T17:56:52.000Z
2022-01-28T17:47:59.000Z
server/domain/datasets/exceptions.py
multi-coop/catalogage-donnees
1d70401ff6c7b01ec051460a253cb105adf65911
[ "MIT" ]
null
null
null
from ..common.exceptions import DoesNotExist class DatasetDoesNotExist(DoesNotExist): entity_name = "Dataset"
19.333333
44
0.793103
11
116
8.272727
0.909091
0
0
0
0
0
0
0
0
0
0
0
0.12931
116
5
45
23.2
0.90099
0
0
0
0
0
0.060345
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
27811ac83801b7707ced28bf3be304104b0b4fe0
212
py
Python
marsyas-vamp/marsyas/src/django/birdsong/application/birdsong/onsets/admin.py
jaouahbi/VampPlugins
27c2248d1c717417fe4d448cdfb4cb882a8a336a
[ "Apache-2.0" ]
null
null
null
marsyas-vamp/marsyas/src/django/birdsong/application/birdsong/onsets/admin.py
jaouahbi/VampPlugins
27c2248d1c717417fe4d448cdfb4cb882a8a336a
[ "Apache-2.0" ]
null
null
null
marsyas-vamp/marsyas/src/django/birdsong/application/birdsong/onsets/admin.py
jaouahbi/VampPlugins
27c2248d1c717417fe4d448cdfb4cb882a8a336a
[ "Apache-2.0" ]
null
null
null
from django.contrib import admin from calls.onsets.models import Recording class RecordingAdmin(admin.ModelAdmin): list_display = ('audio', 'image', 'length') admin.site.register(Recording, RecordingAdmin)
26.5
47
0.783019
25
212
6.6
0.76
0
0
0
0
0
0
0
0
0
0
0
0.108491
212
7
48
30.285714
0.873016
0
0
0
0
0
0.075472
0
0
0
0
0
0
1
0
false
0
0.4
0
0.8
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
27a8998af1db32b395a9af2dbb6c8a21bc35a70c
169
py
Python
workSpace/boot.py
khutson/macequilt
a4a090ddf296fcea763825fda4243bc84b4d5f0d
[ "MIT" ]
null
null
null
workSpace/boot.py
khutson/macequilt
a4a090ddf296fcea763825fda4243bc84b4d5f0d
[ "MIT" ]
null
null
null
workSpace/boot.py
khutson/macequilt
a4a090ddf296fcea763825fda4243bc84b4d5f0d
[ "MIT" ]
null
null
null
# This file is executed on every boot (including wake-boot from deepsleep) import esp esp.osdebug(None) import wifi wifi.connect(repl=False) import gc gc.collect()
13
74
0.763314
27
169
4.777778
0.777778
0
0
0
0
0
0
0
0
0
0
0
0.153846
169
12
75
14.083333
0.902098
0.426036
0
0
0
0
0
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
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
27bd073801f417f0a990ea8f8617bbc868baa23e
157
py
Python
setup.py
messa/bloom
ce975471d0fabac436bcbd3040d22c6e5a97e47c
[ "MIT" ]
1
2021-03-14T13:54:42.000Z
2021-03-14T13:54:42.000Z
setup.py
messa/bloom
ce975471d0fabac436bcbd3040d22c6e5a97e47c
[ "MIT" ]
1
2021-03-15T09:02:24.000Z
2021-03-16T07:41:46.000Z
setup.py
messa/bloom
ce975471d0fabac436bcbd3040d22c6e5a97e47c
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 from setuptools import setup, Extension setup( ext_modules=[ Extension('bloom._hashc', ['bloom/_hashcmodule.c']) ])
17.444444
59
0.66242
18
157
5.611111
0.833333
0
0
0
0
0
0
0
0
0
0
0.007874
0.191083
157
8
60
19.625
0.787402
0.133758
0
0
0
0
0.237037
0
0
0
0
0
0
1
0
true
0
0.2
0
0.2
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
27c811e47a423871511471f8e6a47527924900eb
202
py
Python
resume/display/views.py
Varun789/Profile
990818d233ac0279ef4d55641e1e284850bdbfb2
[ "BSD-3-Clause" ]
null
null
null
resume/display/views.py
Varun789/Profile
990818d233ac0279ef4d55641e1e284850bdbfb2
[ "BSD-3-Clause" ]
null
null
null
resume/display/views.py
Varun789/Profile
990818d233ac0279ef4d55641e1e284850bdbfb2
[ "BSD-3-Clause" ]
null
null
null
from django.shortcuts import render from .models import Profile # Create your views here. def home(request): profile=Profile.objects return render(request,'home.html',{'profile' : profile})
22.444444
60
0.737624
26
202
5.730769
0.653846
0.187919
0
0
0
0
0
0
0
0
0
0
0.158416
202
9
61
22.444444
0.876471
0.113861
0
0
0
0
0.089888
0
0
0
0
0
0
1
0.2
false
0
0.4
0
0.8
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
27de194719485c100a81b84fd59429f4b32b78e0
992
py
Python
modules/wxpy-index/wxpy_index/version.py
john04047210/mira_wepy_server
385b8561e63f9164102e60681e2704c55fec0577
[ "MIT" ]
1
2018-05-22T11:25:59.000Z
2018-05-22T11:25:59.000Z
modules/wxpy-index/wxpy_index/version.py
john04047210/mira_wepy_server
385b8561e63f9164102e60681e2704c55fec0577
[ "MIT" ]
null
null
null
modules/wxpy-index/wxpy_index/version.py
john04047210/mira_wepy_server
385b8561e63f9164102e60681e2704c55fec0577
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # # This file is part of Invenio. # Copyright (C) 2018 QiaoPeng. # # Invenio is free software; you can redistribute it # and/or modify it under the terms of the GNU General Public License as # published by the Free Software Foundation; either version 2 of the # License, or (at your option) any l...
33.066667
72
0.746976
155
992
4.683871
0.645161
0.049587
0.053719
0.078512
0.112948
0.077135
0
0
0
0
0
0.037759
0.172379
992
29
73
34.206897
0.846529
0.861895
0
0
0
0
0.151786
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0.5
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
0
0
1
0
0
1
0
3
27effbc79d2bf6543199f4b75da0205988092da4
498
py
Python
pychonet/HomeSolarPower.py
mochipon/pychonet
65ba4189f9a66b6e698646854542cdd506369813
[ "MIT" ]
null
null
null
pychonet/HomeSolarPower.py
mochipon/pychonet
65ba4189f9a66b6e698646854542cdd506369813
[ "MIT" ]
null
null
null
pychonet/HomeSolarPower.py
mochipon/pychonet
65ba4189f9a66b6e698646854542cdd506369813
[ "MIT" ]
null
null
null
from pychonet.EchonetInstance import EchonetInstance class HomeSolarPower(EchonetInstance): def __init__(self, netif, instance = 0x1): self.eojgc = 0x02 self.eojcc = 0x79 EchonetInstance.__init__(self, self.eojgc, self.eojcc, instance, netif) def getMeasuredInstantPower(self): ...
35.571429
79
0.728916
51
498
6.921569
0.490196
0.045326
0.073654
0.096317
0.283286
0.283286
0.283286
0
0
0
0
0.029268
0.176707
498
13
80
38.307692
0.831707
0
0
0
0
0
0.012048
0
0
0
0.038153
0
0
1
0.3
false
0
0.1
0.2
0.7
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
27f6d38ee1079239114141527da38c16b3c99951
1,024
py
Python
src/Screen.py
D3r3k23/CaveRun
27f7b3c518f8646bc506f5d3b774ef6e62faef96
[ "MIT" ]
1
2022-02-10T04:42:04.000Z
2022-02-10T04:42:04.000Z
src/Screen.py
D3r3k23/CaveRun
27f7b3c518f8646bc506f5d3b774ef6e62faef96
[ "MIT" ]
null
null
null
src/Screen.py
D3r3k23/CaveRun
27f7b3c518f8646bc506f5d3b774ef6e62faef96
[ "MIT" ]
1
2022-01-11T17:11:44.000Z
2022-01-11T17:11:44.000Z
import Resources import Colors import pygame screen = None def init(width, height): global screen screen = pygame.display.set_mode((width, height)) def width(): return screen.get_width() def height(): return screen.get_height() def res(): return (screen.get_width(), screen.get_height()) def ...
21.333333
90
0.640625
143
1,024
4.475524
0.34965
0.070313
0.09375
0.0625
0
0
0
0
0
0
0
0.00507
0.229492
1,024
47
91
21.787234
0.806084
0.125977
0
0
0
0
0
0
0
0
0
0
0
1
0.322581
false
0
0.096774
0.129032
0.580645
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
7e0968601bb493a7e6ab7c62ca33e94de63a37f6
123
py
Python
src/apps/buttons/apps.py
GoddessEyes/info_tbot
c7c5c818dc0c0c72aa15e6e4a85e7e28b4a7660d
[ "MIT" ]
null
null
null
src/apps/buttons/apps.py
GoddessEyes/info_tbot
c7c5c818dc0c0c72aa15e6e4a85e7e28b4a7660d
[ "MIT" ]
4
2021-03-19T02:42:10.000Z
2021-09-22T19:08:09.000Z
src/apps/buttons/apps.py
GoddessEyes/info_tbot
c7c5c818dc0c0c72aa15e6e4a85e7e28b4a7660d
[ "MIT" ]
null
null
null
from django.apps import AppConfig class ButtonsConfig(AppConfig): name = 'apps.buttons' verbose_name = 'Клавиши'
17.571429
33
0.731707
14
123
6.357143
0.785714
0
0
0
0
0
0
0
0
0
0
0
0.178862
123
6
34
20.5
0.881188
0
0
0
0
0
0.154472
0
0
0
0
0
0
1
0
false
0
0.25
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
fd69e06856c7f3a481475985f97cf69bf7d1965f
127
py
Python
satchmo/projects/skeleton/localsite/urls.py
predatell/satchmo
6ced1f845aadec240c7e433c3cbf4caca96e0d92
[ "BSD-3-Clause" ]
1
2019-10-08T16:19:59.000Z
2019-10-08T16:19:59.000Z
satchmo/projects/skeleton/localsite/urls.py
predatell/satchmo
6ced1f845aadec240c7e433c3cbf4caca96e0d92
[ "BSD-3-Clause" ]
null
null
null
satchmo/projects/skeleton/localsite/urls.py
predatell/satchmo
6ced1f845aadec240c7e433c3cbf4caca96e0d92
[ "BSD-3-Clause" ]
null
null
null
from django.conf.urls import url from simple.localsite.views import example urlpatterns = [ url(r'example/', example), ]
15.875
42
0.732283
17
127
5.470588
0.705882
0
0
0
0
0
0
0
0
0
0
0
0.15748
127
7
43
18.142857
0.869159
0
0
0
0
0
0.062992
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
fd84a04d43460db0ba028f9e178dd3ce7cffe504
2,650
py
Python
eland/tests/dataframe/test_aggs_pytest.py
redNixon/eland
1b9cb1db6d30f0662fe3679c7bb31e2c0865f0c3
[ "Apache-2.0" ]
null
null
null
eland/tests/dataframe/test_aggs_pytest.py
redNixon/eland
1b9cb1db6d30f0662fe3679c7bb31e2c0865f0c3
[ "Apache-2.0" ]
null
null
null
eland/tests/dataframe/test_aggs_pytest.py
redNixon/eland
1b9cb1db6d30f0662fe3679c7bb31e2c0865f0c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Elasticsearch BV # # 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 applicabl...
37.323944
86
0.672075
381
2,650
4.404199
0.309711
0.114422
0.085816
0.123957
0.624553
0.624553
0.624553
0.624553
0.624553
0.624553
0
0.005848
0.22566
2,650
70
87
37.857143
0.811891
0.320755
0
0.722222
0
0
0.041573
0
0
0
0
0.014286
0.138889
1
0.055556
false
0
0.083333
0
0.166667
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
3
fd88c78266fc4209a289fbc25268f76bce338838
150
py
Python
frontends/python/tests/analysis/constant_attribute.py
aardwolf-sfl/aardwolf
33bfe3e0649a73aec7efa0fa80bff8077b550bd0
[ "MIT" ]
2
2020-08-15T08:55:39.000Z
2020-11-09T17:31:16.000Z
frontends/python/tests/analysis/constant_attribute.py
aardwolf-sfl/aardwolf
33bfe3e0649a73aec7efa0fa80bff8077b550bd0
[ "MIT" ]
null
null
null
frontends/python/tests/analysis/constant_attribute.py
aardwolf-sfl/aardwolf
33bfe3e0649a73aec7efa0fa80bff8077b550bd0
[ "MIT" ]
null
null
null
# AARD: function: __main__ # AARD: #1:1 -> :: defs: %1 / uses: [@1 4:1-4:22] { call } 'value: {}'.format(3) # AARD: @1 = constant_attribute.py
21.428571
63
0.546667
23
150
3.347826
0.652174
0.12987
0
0
0
0
0
0
0
0
0
0.09322
0.213333
150
6
64
25
0.559322
0.786667
0
0
0
0
0.333333
0
0
0
0
0
0
1
0
true
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
fdaa4e938b8821b9a6f605b0dbe6cbeea3d62940
25
py
Python
version.py
vignesh1793/gmail_reader
8bcf8dbc4e839e8eb736c1ae2fef9fd4f9f77ded
[ "MIT" ]
1
2020-07-29T03:35:26.000Z
2020-07-29T03:35:26.000Z
version.py
thevickypedia/gmail_reader
8bcf8dbc4e839e8eb736c1ae2fef9fd4f9f77ded
[ "MIT" ]
null
null
null
version.py
thevickypedia/gmail_reader
8bcf8dbc4e839e8eb736c1ae2fef9fd4f9f77ded
[ "MIT" ]
null
null
null
version_info = (0, 5, 2)
12.5
24
0.6
5
25
2.8
1
0
0
0
0
0
0
0
0
0
0
0.15
0.2
25
1
25
25
0.55
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
fdcd1b4c925a7d033b9a81f8136657b169b6bcf9
1,603
py
Python
example_convert_dataset.py
fadamsyah/cv_utils
487fc65fe4a71f05dd03df31cde21d866968c0b4
[ "MIT" ]
null
null
null
example_convert_dataset.py
fadamsyah/cv_utils
487fc65fe4a71f05dd03df31cde21d866968c0b4
[ "MIT" ]
1
2021-11-01T06:10:29.000Z
2021-11-09T12:47:48.000Z
example_convert_dataset.py
fadamsyah/cv_utils
487fc65fe4a71f05dd03df31cde21d866968c0b4
[ "MIT" ]
null
null
null
from cv_utils.object_detection.dataset.converter import coco_to_yolo from cv_utils.object_detection.dataset.converter import yolo_to_coco ''' COCO --> YOLO This code uses the ultralytics/yolov5 format. The converted dataset will be saved as follow: - {output_folder} - images - {output_set_name} ...
32.714286
98
0.651903
211
1,603
4.616114
0.255924
0.086242
0.195072
0.184805
0.787474
0.673511
0.605749
0.283368
0.184805
0.184805
0
0.007981
0.218341
1,603
49
99
32.714286
0.769354
0
0
0.111111
0
0
0.452471
0.429658
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
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
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e31e1e564d0eb470b1f222fdeb2e2e5813305ea2
28,531
py
Python
src/pte_decode/decoding/decoder_factory.py
richardkoehler/pte-decode
d1a466c166e5c3dd5e2c0caf1b12492f0e93bc57
[ "MIT" ]
null
null
null
src/pte_decode/decoding/decoder_factory.py
richardkoehler/pte-decode
d1a466c166e5c3dd5e2c0caf1b12492f0e93bc57
[ "MIT" ]
null
null
null
src/pte_decode/decoding/decoder_factory.py
richardkoehler/pte-decode
d1a466c166e5c3dd5e2c0caf1b12492f0e93bc57
[ "MIT" ]
null
null
null
"""Module for machine learning models.""" from dataclasses import dataclass from typing import Any, Optional, Union import numpy as np import pandas as pd from bayes_opt import BayesianOptimization from catboost import CatBoostClassifier from sklearn.discriminant_analysis import ( LinearDiscriminantAnalysis, ...
33.68477
78
0.537836
2,938
28,531
4.975494
0.097686
0.044945
0.02579
0.023259
0.767342
0.726912
0.704269
0.694828
0.692708
0.692708
0
0.014043
0.361046
28,531
846
79
33.724586
0.787822
0.375872
0
0.553531
0
0
0.078827
0
0
0
0
0
0
1
0.052392
false
0
0.029613
0.004556
0.127563
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e34a90751c66f311b5912bb8c6a8d1a8ad0deae9
449
py
Python
23/03/0.py
pylangstudy/201709
53d868786d7327a83bfa7f4149549c6f9855a6c6
[ "CC0-1.0" ]
null
null
null
23/03/0.py
pylangstudy/201709
53d868786d7327a83bfa7f4149549c6f9855a6c6
[ "CC0-1.0" ]
32
2017-09-01T00:52:17.000Z
2017-10-01T00:30:02.000Z
23/03/0.py
pylangstudy/201709
53d868786d7327a83bfa7f4149549c6f9855a6c6
[ "CC0-1.0" ]
null
null
null
import json import pprint from urllib.request import urlopen with urlopen('http://pypi.python.org/pypi/Twisted/json') as url: http_info = url.info() raw_data = url.read().decode(http_info.get_content_charset()) project_info = json.loads(raw_data) pprint.pprint(project_info) print('-----------------------------...
29.933333
65
0.657016
60
449
4.75
0.5
0.154386
0.2
0.242105
0.238596
0.238596
0.238596
0
0
0
0
0.009756
0.08686
449
14
66
32.071429
0.685366
0
0
0.166667
0
0
0.222717
0.13363
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.5
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
e3528306b7bd15d5fdcba5e58d4d0fd69b1294a4
349
py
Python
sps/api/v1/socket/message.py
tantexian/sps-2014-12-4
0cdab186cb3bf148656c4c214a18215643b4969c
[ "Apache-2.0" ]
1
2018-07-27T15:16:14.000Z
2018-07-27T15:16:14.000Z
sps/api/v1/socket/message.py
tantexian/sps-2014-12-4
0cdab186cb3bf148656c4c214a18215643b4969c
[ "Apache-2.0" ]
null
null
null
sps/api/v1/socket/message.py
tantexian/sps-2014-12-4
0cdab186cb3bf148656c4c214a18215643b4969c
[ "Apache-2.0" ]
null
null
null
class MessageType(object): REG = 1 class Message(object): def __init__(self): self.type = None self.body = None def get_type(self): return self.type def get_body(self): return self.body def set_type(self, type): self.type = type def set_body(self, bod...
17.45
29
0.581662
47
349
4.148936
0.319149
0.164103
0.14359
0
0
0
0
0
0
0
0
0.004219
0.320917
349
19
30
18.368421
0.818565
0
0
0
0
0
0
0
0
0
0
0
0
1
0.357143
false
0
0
0.142857
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
e366e2fcb39a47a49999de24a158d9a70e017103
277
py
Python
app/admin.py
hbuiOnline/AMS
d9118aee7b5ddd90d54bf4cf7f5cdd11c8e4a511
[ "MIT" ]
null
null
null
app/admin.py
hbuiOnline/AMS
d9118aee7b5ddd90d54bf4cf7f5cdd11c8e4a511
[ "MIT" ]
null
null
null
app/admin.py
hbuiOnline/AMS
d9118aee7b5ddd90d54bf4cf7f5cdd11c8e4a511
[ "MIT" ]
null
null
null
from django.contrib import admin # Register your models here. from .models import * # To import all the model from .models, then specify those in register admin.site.register(Customer) admin.site.register(Staff) admin.site.register(Service) admin.site.register(Appointment)
27.7
93
0.794224
40
277
5.5
0.55
0.163636
0.309091
0
0
0
0
0
0
0
0
0
0.119134
277
10
94
27.7
0.901639
0.34296
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
e36726ae66238ed268d95c0acb72decccf95ea5d
17,263
py
Python
static/brythonlib/cs1robots/worlds_data.py
pythonpad/vue-pythonpad-runner
52decba9607b3b7b050ee0bf6dd4ef07ae644587
[ "MIT" ]
3
2021-01-26T16:18:45.000Z
2021-09-15T00:57:12.000Z
static/brythonlib/cs1robots/worlds_data.py
pythonpad/vue-pythonpad-runner
52decba9607b3b7b050ee0bf6dd4ef07ae644587
[ "MIT" ]
null
null
null
static/brythonlib/cs1robots/worlds_data.py
pythonpad/vue-pythonpad-runner
52decba9607b3b7b050ee0bf6dd4ef07ae644587
[ "MIT" ]
2
2021-01-26T16:18:47.000Z
2021-10-21T20:45:20.000Z
def conv_world(kaist_world_dict): pieces = {} for (sx, sy), count in kaist_world_dict['beepers'].items(): for i in range(count): beeper_id = len(pieces) pieces[beeper_id] = { 'type': 'beeper', 'piece_type': 'marker', 'id': beeper_...
60.36014
635
0.333835
3,103
17,263
1.848856
0.042862
0.030678
0.117134
0.147464
0.592644
0.493289
0.4152
0.370577
0.315496
0.272093
0
0.272261
0.300006
17,263
285
636
60.57193
0.202499
0
0
0.37234
0
0
0.125123
0
0
0
0
0
0
1
0.007092
false
0
0
0
0.014184
0
0
0
1
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
0
0
0
0
0
0
3
e36dc2963b3e15b6183197cc7bce8f0677915722
27
py
Python
rtmp/__init__.py
notnola/pinybot
8ad579fe5652b42a8fb9486c8d11962f5972f817
[ "MIT" ]
null
null
null
rtmp/__init__.py
notnola/pinybot
8ad579fe5652b42a8fb9486c8d11962f5972f817
[ "MIT" ]
null
null
null
rtmp/__init__.py
notnola/pinybot
8ad579fe5652b42a8fb9486c8d11962f5972f817
[ "MIT" ]
1
2019-01-31T01:07:56.000Z
2019-01-31T01:07:56.000Z
__author__ = 'TechWhizZ199'
27
27
0.814815
2
27
9
1
0
0
0
0
0
0
0
0
0
0
0.12
0.074074
27
1
27
27
0.6
0
0
0
0
0
0.428571
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e374829b389cef040daa81ebe91954032d3a7a55
72
py
Python
__init__.py
hoel-bagard/yolact
028fd121e94c18531243a73eb4c0d443fc38a079
[ "MIT" ]
null
null
null
__init__.py
hoel-bagard/yolact
028fd121e94c18531243a73eb4c0d443fc38a079
[ "MIT" ]
null
null
null
__init__.py
hoel-bagard/yolact
028fd121e94c18531243a73eb4c0d443fc38a079
[ "MIT" ]
null
null
null
from .predict import YolactK from .data import * __version__ = "0.1.0"
14.4
28
0.722222
11
72
4.363636
0.727273
0
0
0
0
0
0
0
0
0
0
0.05
0.166667
72
4
29
18
0.75
0
0
0
0
0
0.069444
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
0
0
0
3
8b5e99254ec155e2d433487c1c07674f3203394e
1,736
py
Python
Demo/frontend-server.py
hlynch/Penguins_AIforEarth
bccedb68640b20c6c6849040ad57823e99dbd0c6
[ "MIT" ]
2
2019-06-17T14:09:45.000Z
2020-08-17T00:20:44.000Z
Demo/frontend-server.py
hlynch/Penguins_AIforEarth
bccedb68640b20c6c6849040ad57823e99dbd0c6
[ "MIT" ]
6
2019-05-21T16:24:43.000Z
2019-05-28T18:41:04.000Z
Demo/frontend-server.py
hlynch/Penguins_AIforEarth
bccedb68640b20c6c6849040ad57823e99dbd0c6
[ "MIT" ]
null
null
null
''' Webserver for the Penguin Guano Classification AI4Earth API To run: export FLASK_APP=frontend-server.py python -m flask run --host=0.0.0.0 To access the website, enter your IP address:5000 into a browser. e.g., http://127.0.0.1:5000/ ''' from flask import Flask, send_from_directory, request import requests pri...
24.111111
88
0.711982
248
1,736
4.814516
0.403226
0.053601
0.113903
0.134841
0.110553
0.110553
0
0
0
0
0
0.01436
0.117512
1,736
71
89
24.450704
0.765013
0.1803
0
0
0
0
0.299151
0.108911
0
0
0
0.014085
0
1
0.216216
false
0
0.054054
0.189189
0.486486
0.027027
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
1
0
0
0
3
8b6aace89e3d825b331240e13aabc132d611171f
2,584
py
Python
setup_extension.py
kuwayamamasayuki/FeedValidator-extension-for-GTFS-JP
af01375d0cf99c671a8a49f8f3a7aac2083424bc
[ "Apache-2.0" ]
1
2020-04-03T09:18:53.000Z
2020-04-03T09:18:53.000Z
setup_extension.py
kuwayamamasayuki/FeedValidator-extension-for-GTFS-JP
af01375d0cf99c671a8a49f8f3a7aac2083424bc
[ "Apache-2.0" ]
null
null
null
setup_extension.py
kuwayamamasayuki/FeedValidator-extension-for-GTFS-JP
af01375d0cf99c671a8a49f8f3a7aac2083424bc
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python2.5 # Copyright (C) 2019 KUWAYAMA, Masayuki # # 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 applic...
28.711111
74
0.768576
345
2,584
5.713043
0.275362
0.092339
0.138508
0.21106
0.517504
0.422121
0.422121
0.422121
0.422121
0.422121
0
0.008238
0.154412
2,584
89
75
29.033708
0.893822
0.562694
0
0
0
0
0.089908
0
0
0
0
0
0
1
0.032258
false
0
0.451613
0
0.516129
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
8b71d0b65eecf04d767d50cdc3d7516cf1940fbe
236
py
Python
routers.py
gabrielangelo/revelo-wallet
3e91117b673e5aaf50773aa180af4117235965c9
[ "BSD-3-Clause" ]
null
null
null
routers.py
gabrielangelo/revelo-wallet
3e91117b673e5aaf50773aa180af4117235965c9
[ "BSD-3-Clause" ]
8
2020-02-11T23:50:12.000Z
2022-03-14T22:51:54.000Z
routers.py
gabrielangelo/revelo-wallet
3e91117b673e5aaf50773aa180af4117235965c9
[ "BSD-3-Clause" ]
null
null
null
from rest_framework.routers import SimpleRouter from transactions.api.views import TransactionsViewSet router_v1 = SimpleRouter(trailing_slash=False) router_v1.register(r'transactions', TransactionsViewSet, base_name='transactions')
33.714286
82
0.855932
27
236
7.296296
0.703704
0.081218
0
0
0
0
0
0
0
0
0
0.009132
0.072034
236
6
83
39.333333
0.890411
0
0
0
0
0
0.101695
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
8b898fc8f9613f97a1b09d6b849378dd2047f47d
51
py
Python
index.py
JaidevstudioRobot/hackoctober2021
d5855ac4bc797d7abb85b76f8b4a28e4a0dafaea
[ "MIT" ]
null
null
null
index.py
JaidevstudioRobot/hackoctober2021
d5855ac4bc797d7abb85b76f8b4a28e4a0dafaea
[ "MIT" ]
null
null
null
index.py
JaidevstudioRobot/hackoctober2021
d5855ac4bc797d7abb85b76f8b4a28e4a0dafaea
[ "MIT" ]
1
2021-10-04T18:16:06.000Z
2021-10-04T18:16:06.000Z
# Hello python a = "Hello I m Robot Jai" print(a)
12.75
25
0.647059
10
51
3.3
0.8
0
0
0
0
0
0
0
0
0
0
0
0.235294
51
3
26
17
0.846154
0.235294
0
0
0
0
0.527778
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
8b93ff57b731c6c33351b57dd2f1b5402cee9a07
72
py
Python
examples/random_article.py
yusufusta/wikiHowUnofficialAPI
e29ae96a2dcf893f5b587804b9dd37a412cdd561
[ "MIT" ]
5
2021-04-17T14:02:58.000Z
2022-03-06T02:18:16.000Z
examples/random_article.py
yusufusta/wikiHowUnofficialAPI
e29ae96a2dcf893f5b587804b9dd37a412cdd561
[ "MIT" ]
1
2021-07-09T12:28:27.000Z
2021-07-10T10:04:11.000Z
examples/random_article.py
yusufusta/wikiHowUnofficialAPI
e29ae96a2dcf893f5b587804b9dd37a412cdd561
[ "MIT" ]
4
2021-02-02T14:23:58.000Z
2021-11-15T04:38:10.000Z
import wikihowunofficialapi as wha ra = wha.random_article() print(ra)
14.4
34
0.791667
10
72
5.6
0.8
0
0
0
0
0
0
0
0
0
0
0
0.125
72
4
35
18
0.888889
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
8ba7da6d41b49d8a498bec0f19c0c437b815e955
558
py
Python
RecoTracker/CkfPattern/python/CkfTrackCandidatesNoOverlaps_cff.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
RecoTracker/CkfPattern/python/CkfTrackCandidatesNoOverlaps_cff.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
RecoTracker/CkfPattern/python/CkfTrackCandidatesNoOverlaps_cff.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
import FWCore.ParameterSet.Config as cms # TrackerTrajectoryBuilders from RecoTracker.CkfPattern.CkfTrajectoryBuilder_cff import * # TrajectoryCleaning from TrackingTools.TrajectoryCleaning.TrajectoryCleanerBySharedHits_cfi import * # navigation school from RecoTracker.TkNavigation.NavigationSchoolESProducer_cff impor...
39.857143
80
0.844086
45
558
10.355556
0.666667
0.096567
0.107296
0
0
0
0
0
0
0
0
0
0.084229
558
13
81
42.923077
0.911937
0.164875
0
0
0
0
0.044643
0
0
0
0
0
0
1
0
false
0
0.625
0
0.625
0
0
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
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
8bd89aabbee1878012e7f1e4e9d5683197eea5ee
342
py
Python
korzh_bot/uleague/exceptions.py
uleague/universityleague-steam
65539664c0c6aad94a7ff3a3208323a554e1fddd
[ "MIT" ]
null
null
null
korzh_bot/uleague/exceptions.py
uleague/universityleague-steam
65539664c0c6aad94a7ff3a3208323a554e1fddd
[ "MIT" ]
2
2020-09-14T21:55:03.000Z
2020-11-17T17:23:34.000Z
korzh_bot/uleague/exceptions.py
uleague/universityleague-steam
65539664c0c6aad94a7ff3a3208323a554e1fddd
[ "MIT" ]
null
null
null
class ULeagueRequestError(Exception): """ Basic exception for all requests """ def __init__(self, message): self.message = message super().__init__(self.message) def __str__(self): return "Произошла ошибка во время выполнения запроса на ULeague --> {}".format( s...
24.428571
87
0.614035
34
342
5.823529
0.676471
0.222222
0.151515
0
0
0
0
0
0
0
0
0
0.283626
342
13
88
26.307692
0.808163
0.093567
0
0
0
0
0.210884
0
0
0
0
0
0
1
0.25
false
0
0
0.125
0.5
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
473931c03e87e8ad7ec18f92b6ba042e2eddadd3
494
py
Python
Alice/Sorting/selection_sort.py
sandeepm96/cormen-algos
9154f6ce9cb0c318bc0d6ecaa13676d080985cec
[ "MIT" ]
1
2017-09-15T13:34:19.000Z
2017-09-15T13:34:19.000Z
Alice/Sorting/selection_sort.py
sandeepm96/cormen-algos
9154f6ce9cb0c318bc0d6ecaa13676d080985cec
[ "MIT" ]
null
null
null
Alice/Sorting/selection_sort.py
sandeepm96/cormen-algos
9154f6ce9cb0c318bc0d6ecaa13676d080985cec
[ "MIT" ]
null
null
null
class SelectionSort: def __init__(self,array): self.array = array def result(self): n = len(self.array) for i in range(n): minimum = i for j in range(i+1,n): if self.array[minimum] > self.array[j]: minimum = j self.a...
29.058824
81
0.544534
66
494
4.015152
0.393939
0.339623
0.181132
0.226415
0.249057
0
0
0
0
0
0
0.002959
0.315789
494
16
82
30.875
0.781065
0
0
0
0
0
0.002024
0
0
0
0
0
0
1
0.133333
false
0
0
0
0.266667
0.066667
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
473f4dc9a600b8c43aff418b905edef20e705990
266
py
Python
Ex031 - Custo de viagem.py
MarcusMendes81/Python
4af6653da324604930d24542a84a530348029d39
[ "Apache-2.0" ]
null
null
null
Ex031 - Custo de viagem.py
MarcusMendes81/Python
4af6653da324604930d24542a84a530348029d39
[ "Apache-2.0" ]
null
null
null
Ex031 - Custo de viagem.py
MarcusMendes81/Python
4af6653da324604930d24542a84a530348029d39
[ "Apache-2.0" ]
null
null
null
km = float(input('Digite qual a distância da sua viagem em km: ')) if km <= 200: preço = km * 0.50 print('O valor da sua viagem é de {:.2f}R$'.format(preço)) else: preço = km * 0.45 print('O valor da sua viagem é de {:.2f}R$'.format(preço))
29.555556
67
0.586466
48
266
3.25
0.541667
0.096154
0.211538
0.166667
0.5
0.5
0.5
0.5
0.5
0.5
0
0.055556
0.255639
266
8
68
33.25
0.732323
0
0
0.285714
0
0
0.445736
0
0
0
0
0
0
1
0
false
0
0
0
0
0.285714
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
476bf06f808044f61843876f04c9e9d7d4868ec8
901
py
Python
palindrome_test.py
gcrowder/palindrome
31bc1ab62f849dbbfef8e31b0d0d081e7bf2aced
[ "MIT" ]
null
null
null
palindrome_test.py
gcrowder/palindrome
31bc1ab62f849dbbfef8e31b0d0d081e7bf2aced
[ "MIT" ]
null
null
null
palindrome_test.py
gcrowder/palindrome
31bc1ab62f849dbbfef8e31b0d0d081e7bf2aced
[ "MIT" ]
null
null
null
import unittest from palindrome import is_palindrome class TestPalindrome(unittest.TestCase): def test_even_numbers(self): self.assertTrue(is_palindrome('toot')) def test_odd_numbers(self): self.assertTrue(is_palindrome('tot')) def test_simple_values(self): self.assertTrue(is_pal...
30.033333
111
0.703663
124
901
4.870968
0.475806
0.15894
0.178808
0.198676
0.365894
0.316225
0
0
0
0
0
0
0.188679
901
29
112
31.068966
0.826265
0
0
0
0
0.052632
0.227525
0
0
0
0
0
0.368421
1
0.368421
false
0
0.105263
0
0.526316
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
4780e099e5c87546b20f86a673d8da78571df7e4
361
py
Python
tests/test_bad_seeds.py
jklynch/diffrascape
350bed352fa6c9b30739e3748b7ea57b365f1944
[ "BSD-3-Clause" ]
null
null
null
tests/test_bad_seeds.py
jklynch/diffrascape
350bed352fa6c9b30739e3748b7ea57b365f1944
[ "BSD-3-Clause" ]
null
null
null
tests/test_bad_seeds.py
jklynch/diffrascape
350bed352fa6c9b30739e3748b7ea57b365f1944
[ "BSD-3-Clause" ]
null
null
null
from diffrascape.env import BadSeeds def test_construct(): bad_seeds = BadSeeds() bad_seeds_states = bad_seeds.states() print(f"### states: {bad_seeds_states}") assert bad_seeds_states["shape"][0] == 6 bad_seeds_actions = bad_seeds.actions() print(f"### actions: {bad_seeds_actions}") ass...
25.785714
47
0.695291
49
361
4.77551
0.428571
0.307692
0.239316
0.17094
0
0
0
0
0
0
0
0.01
0.168975
361
13
48
27.769231
0.77
0
0
0
0
0
0.213296
0
0
0
0
0
0.222222
1
0.111111
false
0
0.111111
0
0.222222
0.222222
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
47ac2e08152553ebc4a73e2f44181a3dfc25e059
165
py
Python
testapp/another_urls.py
danigosa/django-simple-seo
17610e50148c6672cb34e96654df1d3515b0444f
[ "BSD-3-Clause" ]
11
2015-01-02T15:44:31.000Z
2021-07-27T06:54:35.000Z
testapp/another_urls.py
danigosa/django-simple-seo
17610e50148c6672cb34e96654df1d3515b0444f
[ "BSD-3-Clause" ]
8
2016-02-03T07:07:04.000Z
2022-01-13T00:42:32.000Z
testapp/another_urls.py
danigosa/django-simple-seo
17610e50148c6672cb34e96654df1d3515b0444f
[ "BSD-3-Clause" ]
8
2015-02-20T13:51:51.000Z
2021-06-24T19:11:30.000Z
from django.conf.urls import patterns, url from .views import template_test urlpatterns = patterns( '', url(r'^', template_test, name='template_test2'), )
18.333333
52
0.709091
21
165
5.428571
0.666667
0.192982
0
0
0
0
0
0
0
0
0
0.007246
0.163636
165
9
53
18.333333
0.818841
0
0
0
0
0
0.090361
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
47bf6e3c9c36dabf9fe1d3cb252c2d9d2f56f9af
843
py
Python
tests/tests_query_operations/table_models.py
Robinson04/StructNoSQL
335c63593025582336bb67ad0b0ed39d30800b74
[ "MIT" ]
3
2020-10-30T23:31:26.000Z
2022-03-30T21:48:40.000Z
tests/tests_query_operations/table_models.py
Robinson04/StructNoSQL
335c63593025582336bb67ad0b0ed39d30800b74
[ "MIT" ]
42
2020-09-16T15:23:11.000Z
2021-09-20T13:00:50.000Z
tests/tests_query_operations/table_models.py
Robinson04/StructNoSQL
335c63593025582336bb67ad0b0ed39d30800b74
[ "MIT" ]
2
2021-01-03T21:37:22.000Z
2021-08-12T20:28:52.000Z
from typing import Dict from StructNoSQL import TableDataModel, BaseField, MapModel class BaseTableModel(TableDataModel): type = BaseField(field_type=str, required=False) fieldOne = BaseField(field_type=str, required=False) fieldTwo = BaseField(field_type=str, required=False) class ContainerModel(MapM...
42.15
104
0.778173
90
843
7.177778
0.311111
0.195046
0.250774
0.260062
0.467492
0.467492
0.260062
0.260062
0.260062
0.260062
0
0
0.132859
843
19
105
44.368421
0.883721
0
0
0.266667
0
0
0.014235
0
0
0
0
0
0
1
0
false
0
0.133333
0
0.8
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3