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
211dc2d4ec321669caa623595a21c9321e90f372
102
py
Python
pickle_read_example.py
shamurti/Python_Class
e4da52ad0b5061e0fa127a03157be43a08ebe28b
[ "Apache-2.0" ]
null
null
null
pickle_read_example.py
shamurti/Python_Class
e4da52ad0b5061e0fa127a03157be43a08ebe28b
[ "Apache-2.0" ]
null
null
null
pickle_read_example.py
shamurti/Python_Class
e4da52ad0b5061e0fa127a03157be43a08ebe28b
[ "Apache-2.0" ]
null
null
null
import pickle f = open("temp1.pkl", "rb") a = pickle.load(f) print a b = pickle.load(f) print b
7.846154
27
0.617647
19
102
3.315789
0.578947
0.31746
0.349206
0.507937
0
0
0
0
0
0
0
0.0125
0.215686
102
12
28
8.5
0.775
0
0
0
0
0
0.108911
0
0
0
0
0
0
0
null
null
0
0.166667
null
null
0.333333
1
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
1
0
0
0
0
0
0
0
0
5
2134c2a1c95e34eb83805d78b0abb5115bbe8d69
64
py
Python
python_scripts/saving_layer.py
GabrielPyva/local-managment
27c3046cc32144abd197b0c361523db7a9238a15
[ "MIT" ]
null
null
null
python_scripts/saving_layer.py
GabrielPyva/local-managment
27c3046cc32144abd197b0c361523db7a9238a15
[ "MIT" ]
1
2020-11-07T18:04:10.000Z
2020-11-07T18:04:10.000Z
python_scripts/saving_layer.py
GabrielPyva/local-managment
27c3046cc32144abd197b0c361523db7a9238a15
[ "MIT" ]
null
null
null
def save(): with open("user.txt", 'w') as doc: pass
16
38
0.5
10
64
3.2
1
0
0
0
0
0
0
0
0
0
0
0
0.3125
64
3
39
21.333333
0.727273
0
0
0
0
0
0.140625
0
0
0
0
0
0
1
0.333333
true
0.333333
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
1
1
0
0
0
0
0
5
2145cae322bad2fd61402867cf2cdf2aff5bec22
47
py
Python
essentials_kit_management/conf/settings.py
RajeshKumar1490/iB_hubs_mini_project
f7126092400fb9a62fb4bff643dae7cda3a8d9d2
[ "MIT" ]
null
null
null
essentials_kit_management/conf/settings.py
RajeshKumar1490/iB_hubs_mini_project
f7126092400fb9a62fb4bff643dae7cda3a8d9d2
[ "MIT" ]
2
2021-09-07T07:06:00.000Z
2021-09-07T07:24:26.000Z
essentials_kit_management/conf/settings.py
RajeshKumar1490/iB_hubs_mini_project
f7126092400fb9a62fb4bff643dae7cda3a8d9d2
[ "MIT" ]
null
null
null
# write your essentials_kit_management settings
47
47
0.893617
6
47
6.666667
1
0
0
0
0
0
0
0
0
0
0
0
0.085106
47
1
47
47
0.930233
0.957447
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
5
dcff066952777df01f1634005177fd745de257c1
53
py
Python
benchmarks/sockets/eventlet_sockets.py
moriyoshi/greenletio
75fc944cefe58ee491e5b8ff951a64f13ae0104d
[ "MIT" ]
131
2020-07-17T22:36:25.000Z
2022-03-06T21:29:23.000Z
benchmarks/sockets/eventlet_sockets.py
moriyoshi/greenletio
75fc944cefe58ee491e5b8ff951a64f13ae0104d
[ "MIT" ]
7
2020-07-18T07:36:13.000Z
2021-07-16T08:28:47.000Z
benchmarks/sockets/eventlet_sockets.py
moriyoshi/greenletio
75fc944cefe58ee491e5b8ff951a64f13ae0104d
[ "MIT" ]
5
2020-07-18T01:08:40.000Z
2021-05-12T09:17:17.000Z
import eventlet eventlet.monkey_patch() import _test
13.25
23
0.849057
7
53
6.142857
0.714286
0
0
0
0
0
0
0
0
0
0
0
0.09434
53
4
24
13.25
0.895833
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
0d2799408abc7ab426b61fdda102815a22bd02fd
99
py
Python
cuenta/admin.py
GuilleJR83/ProyectoInformatorio2021
2c23e6b42f0ac3bf37c9b46d0431d29793b5c688
[ "CC0-1.0" ]
null
null
null
cuenta/admin.py
GuilleJR83/ProyectoInformatorio2021
2c23e6b42f0ac3bf37c9b46d0431d29793b5c688
[ "CC0-1.0" ]
null
null
null
cuenta/admin.py
GuilleJR83/ProyectoInformatorio2021
2c23e6b42f0ac3bf37c9b46d0431d29793b5c688
[ "CC0-1.0" ]
3
2021-12-27T21:26:01.000Z
2022-01-04T14:01:09.000Z
from django.contrib import admin from cuenta.models import Usuario admin.site.register(Usuario)
24.75
34
0.818182
14
99
5.785714
0.714286
0
0
0
0
0
0
0
0
0
0
0
0.121212
99
4
35
24.75
0.931034
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
0d39a1aa414d25b607520604737f84df747057e7
52
py
Python
rllib/util/gaussian_processes/__init__.py
shenao-zhang/DCPU
0da9aa2b7878b54ba4ee4dca894c2e86cdc0d559
[ "MIT" ]
8
2020-10-23T07:52:19.000Z
2022-03-06T13:35:12.000Z
rllib/util/gaussian_processes/__init__.py
shenao-zhang/DCPU
0da9aa2b7878b54ba4ee4dca894c2e86cdc0d559
[ "MIT" ]
3
2021-03-04T13:44:01.000Z
2021-03-23T09:57:50.000Z
rllib/util/gaussian_processes/__init__.py
shenao-zhang/DCPU
0da9aa2b7878b54ba4ee4dca894c2e86cdc0d559
[ "MIT" ]
3
2021-03-18T08:23:56.000Z
2021-07-06T11:20:12.000Z
from .gps import ExactGP, RandomFeatureGP, SparseGP
26
51
0.826923
6
52
7.166667
1
0
0
0
0
0
0
0
0
0
0
0
0.115385
52
1
52
52
0.934783
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
2eb826ea9bc4723dfba44384cde4e4a43f77977a
83
py
Python
FictionTools/amitools/amitools/vamos/lib/TimerDevice.py
polluks/Puddle-BuildTools
c1762d53a33002b62d8cffe3db129505a387bec3
[ "BSD-2-Clause" ]
38
2021-06-18T12:56:15.000Z
2022-03-12T20:38:40.000Z
FictionTools/amitools/amitools/vamos/lib/TimerDevice.py
polluks/Puddle-BuildTools
c1762d53a33002b62d8cffe3db129505a387bec3
[ "BSD-2-Clause" ]
2
2021-06-20T16:28:12.000Z
2021-11-17T21:33:56.000Z
FictionTools/amitools/amitools/vamos/lib/TimerDevice.py
polluks/Puddle-BuildTools
c1762d53a33002b62d8cffe3db129505a387bec3
[ "BSD-2-Clause" ]
6
2021-06-18T18:18:36.000Z
2021-12-22T08:01:32.000Z
from amitools.vamos.libcore import LibImpl class TimerDevice(LibImpl): pass
11.857143
42
0.771084
10
83
6.4
0.9
0
0
0
0
0
0
0
0
0
0
0
0.168675
83
6
43
13.833333
0.927536
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.333333
0.333333
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
0
0
0
5
2ed039f33d4b87788a687b6c2b2af2cadf4d5939
114
py
Python
bugtests/test272c.py
doom38/jython_v2.2.1
0803a0c953c294e6d14f9fc7d08edf6a3e630a15
[ "CNRI-Jython" ]
null
null
null
bugtests/test272c.py
doom38/jython_v2.2.1
0803a0c953c294e6d14f9fc7d08edf6a3e630a15
[ "CNRI-Jython" ]
null
null
null
bugtests/test272c.py
doom38/jython_v2.2.1
0803a0c953c294e6d14f9fc7d08edf6a3e630a15
[ "CNRI-Jython" ]
null
null
null
from javax import swing class Doc(swing.text.PlainDocument): def getEndPosition(self): return None
14.25
36
0.710526
14
114
5.785714
0.928571
0
0
0
0
0
0
0
0
0
0
0
0.219298
114
7
37
16.285714
0.910112
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0.25
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
1
0
0
0
1
1
0
0
5
2ee384f02f3b16b98dc0dce7bcc6f22610953188
24
py
Python
client/labml/__init__.py
mardom/labml
3e5daa627438c106dcd35280266a0c0876c7c860
[ "MIT" ]
null
null
null
client/labml/__init__.py
mardom/labml
3e5daa627438c106dcd35280266a0c0876c7c860
[ "MIT" ]
null
null
null
client/labml/__init__.py
mardom/labml
3e5daa627438c106dcd35280266a0c0876c7c860
[ "MIT" ]
1
2021-08-05T22:07:39.000Z
2021-08-05T22:07:39.000Z
__version__ = '0.4.126'
12
23
0.666667
4
24
3
1
0
0
0
0
0
0
0
0
0
0
0.238095
0.125
24
1
24
24
0.333333
0
0
0
0
0
0.291667
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
1
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
25810f0ba14a00ed91eebdab2163e503bb8035c0
53
py
Python
phyreslib/measurement/api.py
xiaoyu-wu/phyreslib
e5f14cde4e70ee09832fe6273049edc9ab349749
[ "MIT" ]
1
2017-09-21T21:17:39.000Z
2017-09-21T21:17:39.000Z
phyreslib/measurement/api.py
OrbitSoft/phyreslib
e5f14cde4e70ee09832fe6273049edc9ab349749
[ "MIT" ]
1
2017-11-30T16:59:32.000Z
2017-11-30T16:59:32.000Z
phyreslib/measurement/api.py
OrbitSoft/phyreslib
e5f14cde4e70ee09832fe6273049edc9ab349749
[ "MIT" ]
1
2017-09-21T21:20:01.000Z
2017-09-21T21:20:01.000Z
from .image_data_generator import ImageDataGenerator
26.5
52
0.90566
6
53
7.666667
1
0
0
0
0
0
0
0
0
0
0
0
0.075472
53
1
53
53
0.938776
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
258a0b539d62208a803647975ea67de7ce456aa7
24
py
Python
src/__init__.py
AuxinJeron/AJImageCrawler
75929c7e48cdb1a5f94e2b27cfd96cbc93d71729
[ "Apache-2.0" ]
null
null
null
src/__init__.py
AuxinJeron/AJImageCrawler
75929c7e48cdb1a5f94e2b27cfd96cbc93d71729
[ "Apache-2.0" ]
null
null
null
src/__init__.py
AuxinJeron/AJImageCrawler
75929c7e48cdb1a5f94e2b27cfd96cbc93d71729
[ "Apache-2.0" ]
null
null
null
# dummy __init__.py file
24
24
0.791667
4
24
3.75
1
0
0
0
0
0
0
0
0
0
0
0
0.125
24
1
24
24
0.714286
0.916667
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
5
259e9a522d465d7601bfaf3814fefde092b3c810
180
py
Python
o2g/osm/handlers/__init__.py
hiposfer/o2g
b9cae9b09b8ea4681476ce8ee0aa278dbebd452e
[ "MIT" ]
6
2019-04-28T14:04:24.000Z
2021-07-01T19:54:41.000Z
o2g/osm/handlers/__init__.py
hiposfer/osmtogtfs
b9cae9b09b8ea4681476ce8ee0aa278dbebd452e
[ "MIT" ]
79
2017-10-22T13:15:17.000Z
2018-10-21T13:14:17.000Z
o2g/osm/handlers/__init__.py
hiposfer/osmtogtfs
b9cae9b09b8ea4681476ce8ee0aa278dbebd452e
[ "MIT" ]
2
2018-10-22T21:07:40.000Z
2019-08-13T08:19:53.000Z
from .relation_handler import RelationHandler from .node_handler import NodeHandler from .way_handler import WayHandler __all__ = ['RelationHandler', 'NodeHandler', 'WayHandler']
30
58
0.822222
19
180
7.421053
0.526316
0.276596
0
0
0
0
0
0
0
0
0
0
0.1
180
6
58
30
0.87037
0
0
0
0
0
0.198895
0
0
0
0
0
0
1
0
false
0
0.75
0
0.75
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
5
25b791064d2c4c17de66afa855e53be3831a7efe
139
py
Python
src/models/hd_key_path.py
Kevingislason/bitcoin_hardware_wallet_ui
226983546c7c8838ca8bc72accdd6adbd8013446
[ "MIT" ]
null
null
null
src/models/hd_key_path.py
Kevingislason/bitcoin_hardware_wallet_ui
226983546c7c8838ca8bc72accdd6adbd8013446
[ "MIT" ]
5
2021-06-02T03:21:46.000Z
2022-03-12T00:55:35.000Z
src/models/hd_key_path.py
Kevingislason/abacus_wallet_bridge
226983546c7c8838ca8bc72accdd6adbd8013446
[ "MIT" ]
null
null
null
from bitcointx.core.key import BIP32Path class HDKeyPath(BIP32Path): def __eq__(self, other): return str(self) == str(other)
19.857143
40
0.697842
18
139
5.166667
0.777778
0
0
0
0
0
0
0
0
0
0
0.035714
0.194245
139
6
41
23.166667
0.794643
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0.25
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
1
0
0
0
1
1
0
0
5
25d1c3d6134e3a349a0e3e136fb86f228e7fdd03
48,494
py
Python
yandex/cloud/apploadbalancer/v1/virtual_host_service_pb2.py
korsar182/python-sdk
873bf2a9b136a8f2faae72e86fae1f5b5c3d896a
[ "MIT" ]
36
2018-12-23T13:51:50.000Z
2022-03-25T07:48:24.000Z
yandex/cloud/apploadbalancer/v1/virtual_host_service_pb2.py
korsar182/python-sdk
873bf2a9b136a8f2faae72e86fae1f5b5c3d896a
[ "MIT" ]
15
2019-02-28T04:55:09.000Z
2022-03-06T23:17:24.000Z
yandex/cloud/apploadbalancer/v1/virtual_host_service_pb2.py
korsar182/python-sdk
873bf2a9b136a8f2faae72e86fae1f5b5c3d896a
[ "MIT" ]
18
2019-02-23T07:10:57.000Z
2022-03-28T14:41:08.000Z
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: yandex/cloud/apploadbalancer/v1/virtual_host_service.proto """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2 from yandex.cloud.api import operation_pb2 as yandex_dot_cloud_dot_api_dot_operation__pb2 from yandex.cloud.operation import operation_pb2 as yandex_dot_cloud_dot_operation_dot_operation__pb2 from yandex.cloud.apploadbalancer.v1 import virtual_host_pb2 as yandex_dot_cloud_dot_apploadbalancer_dot_v1_dot_virtual__host__pb2 from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2 DESCRIPTOR = _descriptor.FileDescriptor( name='yandex/cloud/apploadbalancer/v1/virtual_host_service.proto', package='yandex.cloud.apploadbalancer.v1', syntax='proto3', serialized_options=b'\n#yandex.cloud.api.apploadbalancer.v1ZSgithub.com/yandex-cloud/go-genproto/yandex/cloud/apploadbalancer/v1;apploadbalancer', create_key=_descriptor._internal_create_key, serialized_pb=b'\n:yandex/cloud/apploadbalancer/v1/virtual_host_service.proto\x12\x1fyandex.cloud.apploadbalancer.v1\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a yandex/cloud/api/operation.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x32yandex/cloud/apploadbalancer/v1/virtual_host.proto\x1a\x1dyandex/cloud/validation.proto\"|\n\x15GetVirtualHostRequest\x12\x1c\n\x0ehttp_router_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x45\n\x11virtual_host_name\x18\x02 \x01(\tB*\xe8\xc7\x31\x01\xf2\xc7\x31\"([a-z]([-a-z0-9]{0,61}[a-z0-9])?)?\"u\n\x17ListVirtualHostsRequest\x12\x1c\n\x0ehttp_router_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x1d\n\tpage_size\x18\x02 \x01(\x03\x42\n\xfa\xc7\x31\x06<=1000\x12\x1d\n\npage_token\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=100\"x\n\x18ListVirtualHostsResponse\x12\x43\n\rvirtual_hosts\x18\x01 \x03(\x0b\x32,.yandex.cloud.apploadbalancer.v1.VirtualHost\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xe4\x02\n\x18\x43reateVirtualHostRequest\x12\x1c\n\x0ehttp_router_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x34\n\x04name\x18\x02 \x01(\tB&\xf2\xc7\x31\"([a-z]([-a-z0-9]{0,61}[a-z0-9])?)?\x12\x11\n\tauthority\x18\x03 \x03(\t\x12\x36\n\x06routes\x18\x05 \x03(\x0b\x32&.yandex.cloud.apploadbalancer.v1.Route\x12S\n\x16modify_request_headers\x18\x06 \x03(\x0b\x32\x33.yandex.cloud.apploadbalancer.v1.HeaderModification\x12T\n\x17modify_response_headers\x18\x07 \x03(\x0b\x32\x33.yandex.cloud.apploadbalancer.v1.HeaderModification\"T\n\x19\x43reateVirtualHostMetadata\x12\x1c\n\x0ehttp_router_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x19\n\x11virtual_host_name\x18\x02 \x01(\t\"\x80\x03\n\x18UpdateVirtualHostRequest\x12\x1c\n\x0ehttp_router_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x1f\n\x11virtual_host_name\x18\x02 \x01(\tB\x04\xe8\xc7\x31\x01\x12/\n\x0bupdate_mask\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x11\n\tauthority\x18\x04 \x03(\t\x12\x36\n\x06routes\x18\x06 \x03(\x0b\x32&.yandex.cloud.apploadbalancer.v1.Route\x12S\n\x16modify_request_headers\x18\x07 \x03(\x0b\x32\x33.yandex.cloud.apploadbalancer.v1.HeaderModification\x12T\n\x17modify_response_headers\x18\x08 \x03(\x0b\x32\x33.yandex.cloud.apploadbalancer.v1.HeaderModification\"N\n\x19UpdateVirtualHostMetadata\x12\x16\n\x0ehttp_router_id\x18\x01 \x01(\t\x12\x19\n\x11virtual_host_name\x18\x02 \x01(\t\"\x7f\n\x18\x44\x65leteVirtualHostRequest\x12\x1c\n\x0ehttp_router_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x45\n\x11virtual_host_name\x18\x02 \x01(\tB*\xe8\xc7\x31\x01\xf2\xc7\x31\"([a-z]([-a-z0-9]{0,61}[a-z0-9])?)?\"N\n\x19\x44\x65leteVirtualHostMetadata\x12\x16\n\x0ehttp_router_id\x18\x01 \x01(\t\x12\x19\n\x11virtual_host_name\x18\x02 \x01(\t\"m\n\x12RemoveRouteRequest\x12\x1c\n\x0ehttp_router_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x1f\n\x11virtual_host_name\x18\x02 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x18\n\nroute_name\x18\x03 \x01(\tB\x04\xe8\xc7\x31\x01\"\\\n\x13RemoveRouteMetadata\x12\x16\n\x0ehttp_router_id\x18\x01 \x01(\t\x12\x19\n\x11virtual_host_name\x18\x02 \x01(\t\x12\x12\n\nroute_name\x18\x03 \x01(\t\"\xa5\x02\n\x12UpdateRouteRequest\x12\x1c\n\x0ehttp_router_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x1f\n\x11virtual_host_name\x18\x02 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x18\n\nroute_name\x18\x03 \x01(\tB\x04\xe8\xc7\x31\x01\x12/\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12:\n\x04http\x18\x05 \x01(\x0b\x32*.yandex.cloud.apploadbalancer.v1.HttpRouteH\x00\x12:\n\x04grpc\x18\x06 \x01(\x0b\x32*.yandex.cloud.apploadbalancer.v1.GrpcRouteH\x00\x42\r\n\x05route\x12\x04\xc0\xc1\x31\x01\"\\\n\x13UpdateRouteMetadata\x12\x16\n\x0ehttp_router_id\x18\x01 \x01(\t\x12\x19\n\x11virtual_host_name\x18\x02 \x01(\t\x12\x12\n\nroute_name\x18\x03 \x01(\t2\xe2\x0c\n\x12VirtualHostService\x12\xc6\x01\n\x03Get\x12\x36.yandex.cloud.apploadbalancer.v1.GetVirtualHostRequest\x1a,.yandex.cloud.apploadbalancer.v1.VirtualHost\"Y\x82\xd3\xe4\x93\x02S\x12Q/apploadbalancer/v1/httpRouters/{http_router_id}/virtualHosts/{virtual_host_name}\x12\xc2\x01\n\x04List\x12\x38.yandex.cloud.apploadbalancer.v1.ListVirtualHostsRequest\x1a\x39.yandex.cloud.apploadbalancer.v1.ListVirtualHostsResponse\"E\x82\xd3\xe4\x93\x02?\x12=/apploadbalancer/v1/httpRouters/{http_router_id}/virtualHosts\x12\xdc\x01\n\x06\x43reate\x12\x39.yandex.cloud.apploadbalancer.v1.CreateVirtualHostRequest\x1a!.yandex.cloud.operation.Operation\"t\x82\xd3\xe4\x93\x02\x42\"=/apploadbalancer/v1/httpRouters/{http_router_id}/virtualHosts:\x01*\xb2\xd2*(\n\x19\x43reateVirtualHostMetadata\x12\x0bVirtualHost\x12\xf1\x01\n\x06Update\x12\x39.yandex.cloud.apploadbalancer.v1.UpdateVirtualHostRequest\x1a!.yandex.cloud.operation.Operation\"\x88\x01\x82\xd3\xe4\x93\x02V2Q/apploadbalancer/v1/httpRouters/{http_router_id}/virtualHosts/{virtual_host_name}:\x01*\xb2\xd2*(\n\x19UpdateVirtualHostMetadata\x12\x0bVirtualHost\x12\xf8\x01\n\x06\x44\x65lete\x12\x39.yandex.cloud.apploadbalancer.v1.DeleteVirtualHostRequest\x1a!.yandex.cloud.operation.Operation\"\x8f\x01\x82\xd3\xe4\x93\x02S*Q/apploadbalancer/v1/httpRouters/{http_router_id}/virtualHosts/{virtual_host_name}\xb2\xd2*2\n\x19\x44\x65leteVirtualHostMetadata\x12\x15google.protobuf.Empty\x12\xf6\x01\n\x0bRemoveRoute\x12\x33.yandex.cloud.apploadbalancer.v1.RemoveRouteRequest\x1a!.yandex.cloud.operation.Operation\"\x8e\x01\x82\xd3\xe4\x93\x02\x62\"]/apploadbalancer/v1/httpRouters/{http_router_id}/virtualHosts/{virtual_host_name}:removeRoute:\x01*\xb2\xd2*\"\n\x13RemoveRouteMetadata\x12\x0bVirtualHost\x12\xf6\x01\n\x0bUpdateRoute\x12\x33.yandex.cloud.apploadbalancer.v1.UpdateRouteRequest\x1a!.yandex.cloud.operation.Operation\"\x8e\x01\x82\xd3\xe4\x93\x02\x62\"]/apploadbalancer/v1/httpRouters/{http_router_id}/virtualHosts/{virtual_host_name}:updateRoute:\x01*\xb2\xd2*\"\n\x13UpdateRouteMetadata\x12\x0bVirtualHostBz\n#yandex.cloud.api.apploadbalancer.v1ZSgithub.com/yandex-cloud/go-genproto/yandex/cloud/apploadbalancer/v1;apploadbalancerb\x06proto3' , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_protobuf_dot_field__mask__pb2.DESCRIPTOR,yandex_dot_cloud_dot_api_dot_operation__pb2.DESCRIPTOR,yandex_dot_cloud_dot_operation_dot_operation__pb2.DESCRIPTOR,yandex_dot_cloud_dot_apploadbalancer_dot_v1_dot_virtual__host__pb2.DESCRIPTOR,yandex_dot_cloud_dot_validation__pb2.DESCRIPTOR,]) _GETVIRTUALHOSTREQUEST = _descriptor.Descriptor( name='GetVirtualHostRequest', full_name='yandex.cloud.apploadbalancer.v1.GetVirtualHostRequest', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='http_router_id', full_name='yandex.cloud.apploadbalancer.v1.GetVirtualHostRequest.http_router_id', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=b'\350\3071\001', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='virtual_host_name', full_name='yandex.cloud.apploadbalancer.v1.GetVirtualHostRequest.virtual_host_name', index=1, number=2, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=b'\350\3071\001\362\3071\"([a-z]([-a-z0-9]{0,61}[a-z0-9])?)?', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=316, serialized_end=440, ) _LISTVIRTUALHOSTSREQUEST = _descriptor.Descriptor( name='ListVirtualHostsRequest', full_name='yandex.cloud.apploadbalancer.v1.ListVirtualHostsRequest', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='http_router_id', full_name='yandex.cloud.apploadbalancer.v1.ListVirtualHostsRequest.http_router_id', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=b'\350\3071\001', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='page_size', full_name='yandex.cloud.apploadbalancer.v1.ListVirtualHostsRequest.page_size', index=1, number=2, type=3, cpp_type=2, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=b'\372\3071\006<=1000', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='page_token', full_name='yandex.cloud.apploadbalancer.v1.ListVirtualHostsRequest.page_token', index=2, number=3, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=b'\212\3101\005<=100', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=442, serialized_end=559, ) _LISTVIRTUALHOSTSRESPONSE = _descriptor.Descriptor( name='ListVirtualHostsResponse', full_name='yandex.cloud.apploadbalancer.v1.ListVirtualHostsResponse', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='virtual_hosts', full_name='yandex.cloud.apploadbalancer.v1.ListVirtualHostsResponse.virtual_hosts', index=0, number=1, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='next_page_token', full_name='yandex.cloud.apploadbalancer.v1.ListVirtualHostsResponse.next_page_token', index=1, number=2, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=561, serialized_end=681, ) _CREATEVIRTUALHOSTREQUEST = _descriptor.Descriptor( name='CreateVirtualHostRequest', full_name='yandex.cloud.apploadbalancer.v1.CreateVirtualHostRequest', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='http_router_id', full_name='yandex.cloud.apploadbalancer.v1.CreateVirtualHostRequest.http_router_id', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=b'\350\3071\001', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='name', full_name='yandex.cloud.apploadbalancer.v1.CreateVirtualHostRequest.name', index=1, number=2, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=b'\362\3071\"([a-z]([-a-z0-9]{0,61}[a-z0-9])?)?', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='authority', full_name='yandex.cloud.apploadbalancer.v1.CreateVirtualHostRequest.authority', index=2, number=3, type=9, cpp_type=9, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='routes', full_name='yandex.cloud.apploadbalancer.v1.CreateVirtualHostRequest.routes', index=3, number=5, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='modify_request_headers', full_name='yandex.cloud.apploadbalancer.v1.CreateVirtualHostRequest.modify_request_headers', index=4, number=6, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='modify_response_headers', full_name='yandex.cloud.apploadbalancer.v1.CreateVirtualHostRequest.modify_response_headers', index=5, number=7, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=684, serialized_end=1040, ) _CREATEVIRTUALHOSTMETADATA = _descriptor.Descriptor( name='CreateVirtualHostMetadata', full_name='yandex.cloud.apploadbalancer.v1.CreateVirtualHostMetadata', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='http_router_id', full_name='yandex.cloud.apploadbalancer.v1.CreateVirtualHostMetadata.http_router_id', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=b'\350\3071\001', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='virtual_host_name', full_name='yandex.cloud.apploadbalancer.v1.CreateVirtualHostMetadata.virtual_host_name', index=1, number=2, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=1042, serialized_end=1126, ) _UPDATEVIRTUALHOSTREQUEST = _descriptor.Descriptor( name='UpdateVirtualHostRequest', full_name='yandex.cloud.apploadbalancer.v1.UpdateVirtualHostRequest', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='http_router_id', full_name='yandex.cloud.apploadbalancer.v1.UpdateVirtualHostRequest.http_router_id', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=b'\350\3071\001', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='virtual_host_name', full_name='yandex.cloud.apploadbalancer.v1.UpdateVirtualHostRequest.virtual_host_name', index=1, number=2, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=b'\350\3071\001', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='update_mask', full_name='yandex.cloud.apploadbalancer.v1.UpdateVirtualHostRequest.update_mask', index=2, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='authority', full_name='yandex.cloud.apploadbalancer.v1.UpdateVirtualHostRequest.authority', index=3, number=4, type=9, cpp_type=9, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='routes', full_name='yandex.cloud.apploadbalancer.v1.UpdateVirtualHostRequest.routes', index=4, number=6, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='modify_request_headers', full_name='yandex.cloud.apploadbalancer.v1.UpdateVirtualHostRequest.modify_request_headers', index=5, number=7, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='modify_response_headers', full_name='yandex.cloud.apploadbalancer.v1.UpdateVirtualHostRequest.modify_response_headers', index=6, number=8, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=1129, serialized_end=1513, ) _UPDATEVIRTUALHOSTMETADATA = _descriptor.Descriptor( name='UpdateVirtualHostMetadata', full_name='yandex.cloud.apploadbalancer.v1.UpdateVirtualHostMetadata', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='http_router_id', full_name='yandex.cloud.apploadbalancer.v1.UpdateVirtualHostMetadata.http_router_id', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='virtual_host_name', full_name='yandex.cloud.apploadbalancer.v1.UpdateVirtualHostMetadata.virtual_host_name', index=1, number=2, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=1515, serialized_end=1593, ) _DELETEVIRTUALHOSTREQUEST = _descriptor.Descriptor( name='DeleteVirtualHostRequest', full_name='yandex.cloud.apploadbalancer.v1.DeleteVirtualHostRequest', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='http_router_id', full_name='yandex.cloud.apploadbalancer.v1.DeleteVirtualHostRequest.http_router_id', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=b'\350\3071\001', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='virtual_host_name', full_name='yandex.cloud.apploadbalancer.v1.DeleteVirtualHostRequest.virtual_host_name', index=1, number=2, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=b'\350\3071\001\362\3071\"([a-z]([-a-z0-9]{0,61}[a-z0-9])?)?', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=1595, serialized_end=1722, ) _DELETEVIRTUALHOSTMETADATA = _descriptor.Descriptor( name='DeleteVirtualHostMetadata', full_name='yandex.cloud.apploadbalancer.v1.DeleteVirtualHostMetadata', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='http_router_id', full_name='yandex.cloud.apploadbalancer.v1.DeleteVirtualHostMetadata.http_router_id', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='virtual_host_name', full_name='yandex.cloud.apploadbalancer.v1.DeleteVirtualHostMetadata.virtual_host_name', index=1, number=2, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=1724, serialized_end=1802, ) _REMOVEROUTEREQUEST = _descriptor.Descriptor( name='RemoveRouteRequest', full_name='yandex.cloud.apploadbalancer.v1.RemoveRouteRequest', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='http_router_id', full_name='yandex.cloud.apploadbalancer.v1.RemoveRouteRequest.http_router_id', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=b'\350\3071\001', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='virtual_host_name', full_name='yandex.cloud.apploadbalancer.v1.RemoveRouteRequest.virtual_host_name', index=1, number=2, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=b'\350\3071\001', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='route_name', full_name='yandex.cloud.apploadbalancer.v1.RemoveRouteRequest.route_name', index=2, number=3, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=b'\350\3071\001', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=1804, serialized_end=1913, ) _REMOVEROUTEMETADATA = _descriptor.Descriptor( name='RemoveRouteMetadata', full_name='yandex.cloud.apploadbalancer.v1.RemoveRouteMetadata', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='http_router_id', full_name='yandex.cloud.apploadbalancer.v1.RemoveRouteMetadata.http_router_id', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='virtual_host_name', full_name='yandex.cloud.apploadbalancer.v1.RemoveRouteMetadata.virtual_host_name', index=1, number=2, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='route_name', full_name='yandex.cloud.apploadbalancer.v1.RemoveRouteMetadata.route_name', index=2, number=3, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=1915, serialized_end=2007, ) _UPDATEROUTEREQUEST = _descriptor.Descriptor( name='UpdateRouteRequest', full_name='yandex.cloud.apploadbalancer.v1.UpdateRouteRequest', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='http_router_id', full_name='yandex.cloud.apploadbalancer.v1.UpdateRouteRequest.http_router_id', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=b'\350\3071\001', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='virtual_host_name', full_name='yandex.cloud.apploadbalancer.v1.UpdateRouteRequest.virtual_host_name', index=1, number=2, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=b'\350\3071\001', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='route_name', full_name='yandex.cloud.apploadbalancer.v1.UpdateRouteRequest.route_name', index=2, number=3, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=b'\350\3071\001', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='update_mask', full_name='yandex.cloud.apploadbalancer.v1.UpdateRouteRequest.update_mask', index=3, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='http', full_name='yandex.cloud.apploadbalancer.v1.UpdateRouteRequest.http', index=4, number=5, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='grpc', full_name='yandex.cloud.apploadbalancer.v1.UpdateRouteRequest.grpc', index=5, number=6, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( name='route', full_name='yandex.cloud.apploadbalancer.v1.UpdateRouteRequest.route', index=0, containing_type=None, create_key=_descriptor._internal_create_key, fields=[], serialized_options=b'\300\3011\001'), ], serialized_start=2010, serialized_end=2303, ) _UPDATEROUTEMETADATA = _descriptor.Descriptor( name='UpdateRouteMetadata', full_name='yandex.cloud.apploadbalancer.v1.UpdateRouteMetadata', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='http_router_id', full_name='yandex.cloud.apploadbalancer.v1.UpdateRouteMetadata.http_router_id', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='virtual_host_name', full_name='yandex.cloud.apploadbalancer.v1.UpdateRouteMetadata.virtual_host_name', index=1, number=2, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='route_name', full_name='yandex.cloud.apploadbalancer.v1.UpdateRouteMetadata.route_name', index=2, number=3, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=2305, serialized_end=2397, ) _LISTVIRTUALHOSTSRESPONSE.fields_by_name['virtual_hosts'].message_type = yandex_dot_cloud_dot_apploadbalancer_dot_v1_dot_virtual__host__pb2._VIRTUALHOST _CREATEVIRTUALHOSTREQUEST.fields_by_name['routes'].message_type = yandex_dot_cloud_dot_apploadbalancer_dot_v1_dot_virtual__host__pb2._ROUTE _CREATEVIRTUALHOSTREQUEST.fields_by_name['modify_request_headers'].message_type = yandex_dot_cloud_dot_apploadbalancer_dot_v1_dot_virtual__host__pb2._HEADERMODIFICATION _CREATEVIRTUALHOSTREQUEST.fields_by_name['modify_response_headers'].message_type = yandex_dot_cloud_dot_apploadbalancer_dot_v1_dot_virtual__host__pb2._HEADERMODIFICATION _UPDATEVIRTUALHOSTREQUEST.fields_by_name['update_mask'].message_type = google_dot_protobuf_dot_field__mask__pb2._FIELDMASK _UPDATEVIRTUALHOSTREQUEST.fields_by_name['routes'].message_type = yandex_dot_cloud_dot_apploadbalancer_dot_v1_dot_virtual__host__pb2._ROUTE _UPDATEVIRTUALHOSTREQUEST.fields_by_name['modify_request_headers'].message_type = yandex_dot_cloud_dot_apploadbalancer_dot_v1_dot_virtual__host__pb2._HEADERMODIFICATION _UPDATEVIRTUALHOSTREQUEST.fields_by_name['modify_response_headers'].message_type = yandex_dot_cloud_dot_apploadbalancer_dot_v1_dot_virtual__host__pb2._HEADERMODIFICATION _UPDATEROUTEREQUEST.fields_by_name['update_mask'].message_type = google_dot_protobuf_dot_field__mask__pb2._FIELDMASK _UPDATEROUTEREQUEST.fields_by_name['http'].message_type = yandex_dot_cloud_dot_apploadbalancer_dot_v1_dot_virtual__host__pb2._HTTPROUTE _UPDATEROUTEREQUEST.fields_by_name['grpc'].message_type = yandex_dot_cloud_dot_apploadbalancer_dot_v1_dot_virtual__host__pb2._GRPCROUTE _UPDATEROUTEREQUEST.oneofs_by_name['route'].fields.append( _UPDATEROUTEREQUEST.fields_by_name['http']) _UPDATEROUTEREQUEST.fields_by_name['http'].containing_oneof = _UPDATEROUTEREQUEST.oneofs_by_name['route'] _UPDATEROUTEREQUEST.oneofs_by_name['route'].fields.append( _UPDATEROUTEREQUEST.fields_by_name['grpc']) _UPDATEROUTEREQUEST.fields_by_name['grpc'].containing_oneof = _UPDATEROUTEREQUEST.oneofs_by_name['route'] DESCRIPTOR.message_types_by_name['GetVirtualHostRequest'] = _GETVIRTUALHOSTREQUEST DESCRIPTOR.message_types_by_name['ListVirtualHostsRequest'] = _LISTVIRTUALHOSTSREQUEST DESCRIPTOR.message_types_by_name['ListVirtualHostsResponse'] = _LISTVIRTUALHOSTSRESPONSE DESCRIPTOR.message_types_by_name['CreateVirtualHostRequest'] = _CREATEVIRTUALHOSTREQUEST DESCRIPTOR.message_types_by_name['CreateVirtualHostMetadata'] = _CREATEVIRTUALHOSTMETADATA DESCRIPTOR.message_types_by_name['UpdateVirtualHostRequest'] = _UPDATEVIRTUALHOSTREQUEST DESCRIPTOR.message_types_by_name['UpdateVirtualHostMetadata'] = _UPDATEVIRTUALHOSTMETADATA DESCRIPTOR.message_types_by_name['DeleteVirtualHostRequest'] = _DELETEVIRTUALHOSTREQUEST DESCRIPTOR.message_types_by_name['DeleteVirtualHostMetadata'] = _DELETEVIRTUALHOSTMETADATA DESCRIPTOR.message_types_by_name['RemoveRouteRequest'] = _REMOVEROUTEREQUEST DESCRIPTOR.message_types_by_name['RemoveRouteMetadata'] = _REMOVEROUTEMETADATA DESCRIPTOR.message_types_by_name['UpdateRouteRequest'] = _UPDATEROUTEREQUEST DESCRIPTOR.message_types_by_name['UpdateRouteMetadata'] = _UPDATEROUTEMETADATA _sym_db.RegisterFileDescriptor(DESCRIPTOR) GetVirtualHostRequest = _reflection.GeneratedProtocolMessageType('GetVirtualHostRequest', (_message.Message,), { 'DESCRIPTOR' : _GETVIRTUALHOSTREQUEST, '__module__' : 'yandex.cloud.apploadbalancer.v1.virtual_host_service_pb2' # @@protoc_insertion_point(class_scope:yandex.cloud.apploadbalancer.v1.GetVirtualHostRequest) }) _sym_db.RegisterMessage(GetVirtualHostRequest) ListVirtualHostsRequest = _reflection.GeneratedProtocolMessageType('ListVirtualHostsRequest', (_message.Message,), { 'DESCRIPTOR' : _LISTVIRTUALHOSTSREQUEST, '__module__' : 'yandex.cloud.apploadbalancer.v1.virtual_host_service_pb2' # @@protoc_insertion_point(class_scope:yandex.cloud.apploadbalancer.v1.ListVirtualHostsRequest) }) _sym_db.RegisterMessage(ListVirtualHostsRequest) ListVirtualHostsResponse = _reflection.GeneratedProtocolMessageType('ListVirtualHostsResponse', (_message.Message,), { 'DESCRIPTOR' : _LISTVIRTUALHOSTSRESPONSE, '__module__' : 'yandex.cloud.apploadbalancer.v1.virtual_host_service_pb2' # @@protoc_insertion_point(class_scope:yandex.cloud.apploadbalancer.v1.ListVirtualHostsResponse) }) _sym_db.RegisterMessage(ListVirtualHostsResponse) CreateVirtualHostRequest = _reflection.GeneratedProtocolMessageType('CreateVirtualHostRequest', (_message.Message,), { 'DESCRIPTOR' : _CREATEVIRTUALHOSTREQUEST, '__module__' : 'yandex.cloud.apploadbalancer.v1.virtual_host_service_pb2' # @@protoc_insertion_point(class_scope:yandex.cloud.apploadbalancer.v1.CreateVirtualHostRequest) }) _sym_db.RegisterMessage(CreateVirtualHostRequest) CreateVirtualHostMetadata = _reflection.GeneratedProtocolMessageType('CreateVirtualHostMetadata', (_message.Message,), { 'DESCRIPTOR' : _CREATEVIRTUALHOSTMETADATA, '__module__' : 'yandex.cloud.apploadbalancer.v1.virtual_host_service_pb2' # @@protoc_insertion_point(class_scope:yandex.cloud.apploadbalancer.v1.CreateVirtualHostMetadata) }) _sym_db.RegisterMessage(CreateVirtualHostMetadata) UpdateVirtualHostRequest = _reflection.GeneratedProtocolMessageType('UpdateVirtualHostRequest', (_message.Message,), { 'DESCRIPTOR' : _UPDATEVIRTUALHOSTREQUEST, '__module__' : 'yandex.cloud.apploadbalancer.v1.virtual_host_service_pb2' # @@protoc_insertion_point(class_scope:yandex.cloud.apploadbalancer.v1.UpdateVirtualHostRequest) }) _sym_db.RegisterMessage(UpdateVirtualHostRequest) UpdateVirtualHostMetadata = _reflection.GeneratedProtocolMessageType('UpdateVirtualHostMetadata', (_message.Message,), { 'DESCRIPTOR' : _UPDATEVIRTUALHOSTMETADATA, '__module__' : 'yandex.cloud.apploadbalancer.v1.virtual_host_service_pb2' # @@protoc_insertion_point(class_scope:yandex.cloud.apploadbalancer.v1.UpdateVirtualHostMetadata) }) _sym_db.RegisterMessage(UpdateVirtualHostMetadata) DeleteVirtualHostRequest = _reflection.GeneratedProtocolMessageType('DeleteVirtualHostRequest', (_message.Message,), { 'DESCRIPTOR' : _DELETEVIRTUALHOSTREQUEST, '__module__' : 'yandex.cloud.apploadbalancer.v1.virtual_host_service_pb2' # @@protoc_insertion_point(class_scope:yandex.cloud.apploadbalancer.v1.DeleteVirtualHostRequest) }) _sym_db.RegisterMessage(DeleteVirtualHostRequest) DeleteVirtualHostMetadata = _reflection.GeneratedProtocolMessageType('DeleteVirtualHostMetadata', (_message.Message,), { 'DESCRIPTOR' : _DELETEVIRTUALHOSTMETADATA, '__module__' : 'yandex.cloud.apploadbalancer.v1.virtual_host_service_pb2' # @@protoc_insertion_point(class_scope:yandex.cloud.apploadbalancer.v1.DeleteVirtualHostMetadata) }) _sym_db.RegisterMessage(DeleteVirtualHostMetadata) RemoveRouteRequest = _reflection.GeneratedProtocolMessageType('RemoveRouteRequest', (_message.Message,), { 'DESCRIPTOR' : _REMOVEROUTEREQUEST, '__module__' : 'yandex.cloud.apploadbalancer.v1.virtual_host_service_pb2' # @@protoc_insertion_point(class_scope:yandex.cloud.apploadbalancer.v1.RemoveRouteRequest) }) _sym_db.RegisterMessage(RemoveRouteRequest) RemoveRouteMetadata = _reflection.GeneratedProtocolMessageType('RemoveRouteMetadata', (_message.Message,), { 'DESCRIPTOR' : _REMOVEROUTEMETADATA, '__module__' : 'yandex.cloud.apploadbalancer.v1.virtual_host_service_pb2' # @@protoc_insertion_point(class_scope:yandex.cloud.apploadbalancer.v1.RemoveRouteMetadata) }) _sym_db.RegisterMessage(RemoveRouteMetadata) UpdateRouteRequest = _reflection.GeneratedProtocolMessageType('UpdateRouteRequest', (_message.Message,), { 'DESCRIPTOR' : _UPDATEROUTEREQUEST, '__module__' : 'yandex.cloud.apploadbalancer.v1.virtual_host_service_pb2' # @@protoc_insertion_point(class_scope:yandex.cloud.apploadbalancer.v1.UpdateRouteRequest) }) _sym_db.RegisterMessage(UpdateRouteRequest) UpdateRouteMetadata = _reflection.GeneratedProtocolMessageType('UpdateRouteMetadata', (_message.Message,), { 'DESCRIPTOR' : _UPDATEROUTEMETADATA, '__module__' : 'yandex.cloud.apploadbalancer.v1.virtual_host_service_pb2' # @@protoc_insertion_point(class_scope:yandex.cloud.apploadbalancer.v1.UpdateRouteMetadata) }) _sym_db.RegisterMessage(UpdateRouteMetadata) DESCRIPTOR._options = None _GETVIRTUALHOSTREQUEST.fields_by_name['http_router_id']._options = None _GETVIRTUALHOSTREQUEST.fields_by_name['virtual_host_name']._options = None _LISTVIRTUALHOSTSREQUEST.fields_by_name['http_router_id']._options = None _LISTVIRTUALHOSTSREQUEST.fields_by_name['page_size']._options = None _LISTVIRTUALHOSTSREQUEST.fields_by_name['page_token']._options = None _CREATEVIRTUALHOSTREQUEST.fields_by_name['http_router_id']._options = None _CREATEVIRTUALHOSTREQUEST.fields_by_name['name']._options = None _CREATEVIRTUALHOSTMETADATA.fields_by_name['http_router_id']._options = None _UPDATEVIRTUALHOSTREQUEST.fields_by_name['http_router_id']._options = None _UPDATEVIRTUALHOSTREQUEST.fields_by_name['virtual_host_name']._options = None _DELETEVIRTUALHOSTREQUEST.fields_by_name['http_router_id']._options = None _DELETEVIRTUALHOSTREQUEST.fields_by_name['virtual_host_name']._options = None _REMOVEROUTEREQUEST.fields_by_name['http_router_id']._options = None _REMOVEROUTEREQUEST.fields_by_name['virtual_host_name']._options = None _REMOVEROUTEREQUEST.fields_by_name['route_name']._options = None _UPDATEROUTEREQUEST.oneofs_by_name['route']._options = None _UPDATEROUTEREQUEST.fields_by_name['http_router_id']._options = None _UPDATEROUTEREQUEST.fields_by_name['virtual_host_name']._options = None _UPDATEROUTEREQUEST.fields_by_name['route_name']._options = None _VIRTUALHOSTSERVICE = _descriptor.ServiceDescriptor( name='VirtualHostService', full_name='yandex.cloud.apploadbalancer.v1.VirtualHostService', file=DESCRIPTOR, index=0, serialized_options=None, create_key=_descriptor._internal_create_key, serialized_start=2400, serialized_end=4034, methods=[ _descriptor.MethodDescriptor( name='Get', full_name='yandex.cloud.apploadbalancer.v1.VirtualHostService.Get', index=0, containing_service=None, input_type=_GETVIRTUALHOSTREQUEST, output_type=yandex_dot_cloud_dot_apploadbalancer_dot_v1_dot_virtual__host__pb2._VIRTUALHOST, serialized_options=b'\202\323\344\223\002S\022Q/apploadbalancer/v1/httpRouters/{http_router_id}/virtualHosts/{virtual_host_name}', create_key=_descriptor._internal_create_key, ), _descriptor.MethodDescriptor( name='List', full_name='yandex.cloud.apploadbalancer.v1.VirtualHostService.List', index=1, containing_service=None, input_type=_LISTVIRTUALHOSTSREQUEST, output_type=_LISTVIRTUALHOSTSRESPONSE, serialized_options=b'\202\323\344\223\002?\022=/apploadbalancer/v1/httpRouters/{http_router_id}/virtualHosts', create_key=_descriptor._internal_create_key, ), _descriptor.MethodDescriptor( name='Create', full_name='yandex.cloud.apploadbalancer.v1.VirtualHostService.Create', index=2, containing_service=None, input_type=_CREATEVIRTUALHOSTREQUEST, output_type=yandex_dot_cloud_dot_operation_dot_operation__pb2._OPERATION, serialized_options=b'\202\323\344\223\002B\"=/apploadbalancer/v1/httpRouters/{http_router_id}/virtualHosts:\001*\262\322*(\n\031CreateVirtualHostMetadata\022\013VirtualHost', create_key=_descriptor._internal_create_key, ), _descriptor.MethodDescriptor( name='Update', full_name='yandex.cloud.apploadbalancer.v1.VirtualHostService.Update', index=3, containing_service=None, input_type=_UPDATEVIRTUALHOSTREQUEST, output_type=yandex_dot_cloud_dot_operation_dot_operation__pb2._OPERATION, serialized_options=b'\202\323\344\223\002V2Q/apploadbalancer/v1/httpRouters/{http_router_id}/virtualHosts/{virtual_host_name}:\001*\262\322*(\n\031UpdateVirtualHostMetadata\022\013VirtualHost', create_key=_descriptor._internal_create_key, ), _descriptor.MethodDescriptor( name='Delete', full_name='yandex.cloud.apploadbalancer.v1.VirtualHostService.Delete', index=4, containing_service=None, input_type=_DELETEVIRTUALHOSTREQUEST, output_type=yandex_dot_cloud_dot_operation_dot_operation__pb2._OPERATION, serialized_options=b'\202\323\344\223\002S*Q/apploadbalancer/v1/httpRouters/{http_router_id}/virtualHosts/{virtual_host_name}\262\322*2\n\031DeleteVirtualHostMetadata\022\025google.protobuf.Empty', create_key=_descriptor._internal_create_key, ), _descriptor.MethodDescriptor( name='RemoveRoute', full_name='yandex.cloud.apploadbalancer.v1.VirtualHostService.RemoveRoute', index=5, containing_service=None, input_type=_REMOVEROUTEREQUEST, output_type=yandex_dot_cloud_dot_operation_dot_operation__pb2._OPERATION, serialized_options=b'\202\323\344\223\002b\"]/apploadbalancer/v1/httpRouters/{http_router_id}/virtualHosts/{virtual_host_name}:removeRoute:\001*\262\322*\"\n\023RemoveRouteMetadata\022\013VirtualHost', create_key=_descriptor._internal_create_key, ), _descriptor.MethodDescriptor( name='UpdateRoute', full_name='yandex.cloud.apploadbalancer.v1.VirtualHostService.UpdateRoute', index=6, containing_service=None, input_type=_UPDATEROUTEREQUEST, output_type=yandex_dot_cloud_dot_operation_dot_operation__pb2._OPERATION, serialized_options=b'\202\323\344\223\002b\"]/apploadbalancer/v1/httpRouters/{http_router_id}/virtualHosts/{virtual_host_name}:updateRoute:\001*\262\322*\"\n\023UpdateRouteMetadata\022\013VirtualHost', create_key=_descriptor._internal_create_key, ), ]) _sym_db.RegisterServiceDescriptor(_VIRTUALHOSTSERVICE) DESCRIPTOR.services_by_name['VirtualHostService'] = _VIRTUALHOSTSERVICE # @@protoc_insertion_point(module_scope)
54.122768
5,965
0.788407
6,003
48,494
6.027153
0.058304
0.031619
0.07175
0.089771
0.799619
0.748404
0.732594
0.656754
0.619441
0.609049
0
0.045305
0.09195
48,494
895
5,966
54.18324
0.776337
0.030169
0
0.648058
1
0.014563
0.31735
0.277187
0
0
0
0
0
1
0
false
0
0.012136
0
0.012136
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
d3130310ca88d8f8571d13a567e9d09aaa792fa4
44
py
Python
workspace/module/python-2.7/LxGui/guiMethods/__init__.py
no7hings/Lynxi
43c745198a714c2e5aca86c6d7a014adeeb9abf7
[ "MIT" ]
2
2018-03-06T03:33:55.000Z
2019-03-26T03:25:11.000Z
workspace/module/python-2.7/LxGui/guiMethods/__init__.py
no7hings/lynxi
43c745198a714c2e5aca86c6d7a014adeeb9abf7
[ "MIT" ]
null
null
null
workspace/module/python-2.7/LxGui/guiMethods/__init__.py
no7hings/lynxi
43c745198a714c2e5aca86c6d7a014adeeb9abf7
[ "MIT" ]
null
null
null
# coding:utf-8 from ._guiMtdUtility import *
22
29
0.772727
6
44
5.5
1
0
0
0
0
0
0
0
0
0
0
0.025641
0.113636
44
2
29
22
0.820513
0.272727
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
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
1
0
1
0
0
0
0
5
d31dff15ac1a26cec142d3bff2d88602fb4a0440
341
py
Python
units/temperature/fahrenheit.py
putridparrot/PyUnits
4f1095c6fc0bee6ba936921c391913dbefd9307c
[ "MIT" ]
null
null
null
units/temperature/fahrenheit.py
putridparrot/PyUnits
4f1095c6fc0bee6ba936921c391913dbefd9307c
[ "MIT" ]
null
null
null
units/temperature/fahrenheit.py
putridparrot/PyUnits
4f1095c6fc0bee6ba936921c391913dbefd9307c
[ "MIT" ]
null
null
null
# <auto-generated> # This code was generated by the UnitCodeGenerator tool # # Changes to this file will be lost if the code is regenerated # </auto-generated> def to_celsius(value): return ((value - 32.0) * 5.0) / 9.0 def to_kelvin(value): return (((value - 32.0) * 5.0) / 9.0) + 273.15 def to_rankine(value): return value + 459.67
24.357143
62
0.677419
58
341
3.931034
0.551724
0.065789
0.210526
0.157895
0.201754
0.201754
0.201754
0.201754
0.201754
0
0
0.086331
0.184751
341
13
63
26.230769
0.733813
0.43695
0
0
1
0
0
0
0
0
0
0
0
1
0.5
false
0
0
0.5
1
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
1
0
0
0
1
1
0
0
5
d32cfc8faf4cd7c24d2ba4562134f9afdaf3a5b4
255
py
Python
hoki/utils/hoki_object.py
glebgeinke/hoki
8bc3a191fec2a931761a04dd546fcc6f054d6567
[ "BSD-3-Clause" ]
40
2019-09-18T13:04:09.000Z
2022-03-08T12:45:35.000Z
hoki/utils/hoki_object.py
glebgeinke/hoki
8bc3a191fec2a931761a04dd546fcc6f054d6567
[ "BSD-3-Clause" ]
60
2019-10-26T01:11:52.000Z
2022-02-10T06:52:08.000Z
hoki/utils/hoki_object.py
glebgeinke/hoki
8bc3a191fec2a931761a04dd546fcc6f054d6567
[ "BSD-3-Clause" ]
8
2020-03-04T23:35:01.000Z
2021-05-23T16:32:54.000Z
from hoki.constants import BPASS_TIME_BINS, BPASS_TIME_INTERVALS, BPASS_TIME_WEIGHT_GRID class HokiObject(object): t = BPASS_TIME_BINS dt = BPASS_TIME_INTERVALS time_weight_grid = BPASS_TIME_WEIGHT_GRID def __init__(self): pass
23.181818
88
0.768627
36
255
4.888889
0.527778
0.306818
0.238636
0.215909
0
0
0
0
0
0
0
0
0.184314
255
10
89
25.5
0.846154
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0.714286
0.142857
0
0.857143
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
1
0
0
1
0
0
5
d359e05bdb8f8ed5a700e31ed01d0110c19582fd
15
py
Python
test/integration/Print/print.py
HighSchoolHacking/GLS-Draft
9e418b6290e7c8e3f2da87668784bdba1cde5a76
[ "MIT" ]
30
2019-10-29T12:47:50.000Z
2022-02-12T06:41:39.000Z
test/integration/Print/print.py
HighSchoolHacking/GLS-Draft
9e418b6290e7c8e3f2da87668784bdba1cde5a76
[ "MIT" ]
247
2017-09-21T17:11:18.000Z
2019-10-08T12:59:07.000Z
test/integration/Print/print.py
HighSchoolHacking/GLS-Draft
9e418b6290e7c8e3f2da87668784bdba1cde5a76
[ "MIT" ]
17
2017-10-01T16:53:20.000Z
2018-11-28T07:20:35.000Z
# print(aaa) #
3.75
10
0.533333
2
15
4
1
0
0
0
0
0
0
0
0
0
0
0
0.2
15
3
11
5
0.666667
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0
1
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
5
6ca08ffec85f9044fd087247a7107ad2918f9b4c
3,946
py
Python
api/tests/fixtures/register.py
matchd-ch/matchd-backend
84be4aab1b4708cae50a8988301b15df877c8db0
[ "Apache-2.0" ]
1
2022-03-03T09:55:57.000Z
2022-03-03T09:55:57.000Z
api/tests/fixtures/register.py
matchd-ch/matchd-backend
84be4aab1b4708cae50a8988301b15df877c8db0
[ "Apache-2.0" ]
7
2022-02-09T10:44:53.000Z
2022-03-28T03:29:43.000Z
api/tests/fixtures/register.py
matchd-ch/matchd-backend
84be4aab1b4708cae50a8988301b15df877c8db0
[ "Apache-2.0" ]
null
null
null
import pytest # pylint: disable=W0621 # pylint: disable=R0913 # pylint: disable=C0209 @pytest.fixture def register_student_query(default_password): def closure(username, first_name, last_name, mobile, password=default_password): return ''' mutation RegisterStudent { registerStudent ( email: "%s", username: "%s", password1: "%s", password2:"%s", firstName: "%s", lastName: "%s", type: "student", student: { mobile: "%s" } ) { success errors } } ''' % (username, username, password, password, first_name, last_name, mobile) return closure @pytest.fixture def register_student(execute, register_student_query, default_password): def closure(username, first_name, last_name, mobile, password=default_password): return execute(register_student_query(username, first_name, last_name, mobile, password)) return closure @pytest.fixture def register_company_query(default_password): def closure(username, first_name, last_name, role, company_name, uid, password=default_password): return ''' mutation RegisterCompany { registerCompany ( email: "%s", username: "%s", password1: "%s", password2:"%s", firstName: "%s", lastName: "%s", type: "company", employee: { role: "%s" } company: { name: "%s", uid: "%s", zip: "0000", city: "Nowhere" } ) { success errors } } ''' % (username, username, password, password, first_name, last_name, role, company_name, uid) return closure @pytest.fixture def register_company(execute, register_company_query, default_password): def closure(username, first_name, last_name, role, company_name, uid, password=default_password): return execute( register_company_query(username, first_name, last_name, role, company_name, uid, password)) return closure @pytest.fixture def register_university_query(default_password): def closure(username, first_name, last_name, role, company_name, password=default_password): return ''' mutation RegisterCompany { registerCompany ( email: "%s", username: "%s", password1: "%s", password2:"%s", firstName: "%s", lastName: "%s", type: "university", employee: { role: "%s" } company: { name: "%s", zip: "0000", city: "Nowhere" } ) { success errors } } ''' % (username, username, password, password, first_name, last_name, role, company_name) return closure @pytest.fixture def register_university(execute, register_university_query, default_password): def closure(username, first_name, last_name, role, company_name, password=default_password): return execute( register_university_query(username, first_name, last_name, role, company_name, password)) return closure
27.213793
97
0.485302
314
3,946
5.89172
0.136943
0.097297
0.084324
0.11027
0.894595
0.874595
0.801081
0.699459
0.697838
0.666486
0
0.011479
0.426001
3,946
144
98
27.402778
0.805298
0.016472
0
0.663793
0
0
0.449316
0
0
0
0
0
0
1
0.103448
false
0.206897
0.008621
0.051724
0.215517
0
0
0
0
null
0
0
0
1
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
5
6cabc437c8e2a3caafe673f4370211506d3c4f99
64
py
Python
searchsifter/relationships/__init__.py
bateman-research/search-sifter
78b05beac5ca21862d2773609dc4b9395a4982a5
[ "MIT" ]
1
2020-07-20T13:20:00.000Z
2020-07-20T13:20:00.000Z
searchsifter/relationships/__init__.py
bateman-research/search-sifter
78b05beac5ca21862d2773609dc4b9395a4982a5
[ "MIT" ]
null
null
null
searchsifter/relationships/__init__.py
bateman-research/search-sifter
78b05beac5ca21862d2773609dc4b9395a4982a5
[ "MIT" ]
null
null
null
from . import hmmer, minhash, pfam, jaccard, pfam_db, pfam_file
32
63
0.765625
10
64
4.7
0.8
0
0
0
0
0
0
0
0
0
0
0
0.140625
64
1
64
64
0.854545
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
6ced32da10134e58efda5ccb65150da631226643
90
py
Python
settingsApp/admin.py
i3dprogrammer/Django-GraduationProject
2445b9f773638a344be8625f0d9ef6c149e68015
[ "MIT" ]
null
null
null
settingsApp/admin.py
i3dprogrammer/Django-GraduationProject
2445b9f773638a344be8625f0d9ef6c149e68015
[ "MIT" ]
null
null
null
settingsApp/admin.py
i3dprogrammer/Django-GraduationProject
2445b9f773638a344be8625f0d9ef6c149e68015
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import Setting admin.site.register(Setting)
22.5
32
0.833333
13
90
5.769231
0.692308
0
0
0
0
0
0
0
0
0
0
0
0.1
90
4
33
22.5
0.925926
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
9f24d3369ed3e56aebfd7653b845aa7f68fe1912
297
py
Python
lib.py
microamp/microlisp
c721628e3dc1438111c0e1de7d3daf9c49c55d0b
[ "MIT" ]
null
null
null
lib.py
microamp/microlisp
c721628e3dc1438111c0e1de7d3daf9c49c55d0b
[ "MIT" ]
null
null
null
lib.py
microamp/microlisp
c721628e3dc1438111c0e1de7d3daf9c49c55d0b
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import functools def compose(*fns): """Compose functions.""" def _compose(*args, **kwargs): return functools.reduce(lambda v, g: g(v), fns[1:], fns[0](*args, **kwargs)) return _compose
21.214286
56
0.464646
30
297
4.533333
0.6
0.147059
0.235294
0
0
0
0
0
0
0
0
0.016216
0.377104
297
13
57
22.846154
0.718919
0.138047
0
0
0
0
0
0
0
0
0
0
0
1
0.285714
true
0
0.142857
0.142857
0.714286
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
1
1
0
0
5
9f89b1076eb0b2cee7d21d02bf932a10caadd018
255
py
Python
pygeostat/fortran/__init__.py
haroldvelasquez/pygeostat
b45294ef432ec0169eb32c7cf42bca871651d8ed
[ "MIT" ]
null
null
null
pygeostat/fortran/__init__.py
haroldvelasquez/pygeostat
b45294ef432ec0169eb32c7cf42bca871651d8ed
[ "MIT" ]
null
null
null
pygeostat/fortran/__init__.py
haroldvelasquez/pygeostat
b45294ef432ec0169eb32c7cf42bca871651d8ed
[ "MIT" ]
null
null
null
# public ''' The :mod:`pygeostat.fortran` module includes fortran functions. ''' from __future__ import absolute_import, division, print_function from .compile import build_pygeostat_fortran, build_custom_fortran #from .compile import build_lapack
31.875
67
0.8
31
255
6.225806
0.612903
0.165803
0.176166
0.227979
0
0
0
0
0
0
0
0
0.12549
255
8
68
31.875
0.865471
0.407843
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0.5
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
1
0
5
9fa9751d94220d1307ac9a92725f0653aff7a0c1
93
py
Python
plugins/relpath.py
nirname/documentary
48a548eb6fc47b17ce0c8927a5f24b802a48f157
[ "MIT" ]
9
2017-06-22T00:19:30.000Z
2021-02-25T16:00:26.000Z
plugins/relpath.py
nirname/documentary
48a548eb6fc47b17ce0c8927a5f24b802a48f157
[ "MIT" ]
null
null
null
plugins/relpath.py
nirname/documentary
48a548eb6fc47b17ce0c8927a5f24b802a48f157
[ "MIT" ]
null
null
null
#!/usr/bin/env python import os.path, sys; print(os.path.relpath(sys.argv[1],sys.argv[2]));
18.6
48
0.688172
18
93
3.555556
0.722222
0.1875
0
0
0
0
0
0
0
0
0
0.023256
0.075269
93
4
49
23.25
0.72093
0.215054
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
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
1
0
1
0
0
1
0
5
9fb0d5a464aa45b5e120d8b49d7e2c3f02855435
80
py
Python
plugins/rapid7_intsights/icon_rapid7_intsights/triggers/__init__.py
lukaszlaszuk/insightconnect-plugins
8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892
[ "MIT" ]
46
2019-06-05T20:47:58.000Z
2022-03-29T10:18:01.000Z
plugins/rapid7_intsights/icon_rapid7_intsights/triggers/__init__.py
lukaszlaszuk/insightconnect-plugins
8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892
[ "MIT" ]
386
2019-06-07T20:20:39.000Z
2022-03-30T17:35:01.000Z
plugins/rapid7_intsights/icon_rapid7_intsights/triggers/__init__.py
lukaszlaszuk/insightconnect-plugins
8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892
[ "MIT" ]
43
2019-07-09T14:13:58.000Z
2022-03-28T12:04:46.000Z
# GENERATED BY KOMAND SDK - DO NOT EDIT from .new_alert.trigger import NewAlert
26.666667
39
0.7875
13
80
4.769231
1
0
0
0
0
0
0
0
0
0
0
0
0.1625
80
2
40
40
0.925373
0.4625
0
0
1
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
5
4c7f44fead86126542569c4b718d6ce2f3344c2e
605
py
Python
python/origen/origen/utility/results.py
Origen-SDK/o2
5b0f9a6d113ddebc73c7ee224931e8b2d0301794
[ "MIT" ]
null
null
null
python/origen/origen/utility/results.py
Origen-SDK/o2
5b0f9a6d113ddebc73c7ee224931e8b2d0301794
[ "MIT" ]
127
2019-11-23T17:09:35.000Z
2021-09-02T11:06:20.000Z
python/origen/origen/utility/results.py
Origen-SDK/o2
5b0f9a6d113ddebc73c7ee224931e8b2d0301794
[ "MIT" ]
null
null
null
import _origen class GenericResult(_origen.utility.results.GenericResult): def __init__(self, **kwargs): _origen.utility.results.GenericResult.__init__(self, **kwargs) class BuildResult(_origen.utility.results.BuildResult): def __init__(self, **kwargs): _origen.utility.results.BuildResult.__init__(self, **kwargs) class UploadResult(_origen.utility.results.UploadResult): def __init__(self, passed, message=None, metadata=None): _origen.utility.results.UploadResult.__init__(self, passed, message, metadata)
33.611111
76
0.689256
59
605
6.542373
0.271186
0.202073
0.310881
0.170984
0.19171
0.19171
0.19171
0
0
0
0
0
0.203306
605
17
77
35.588235
0.80083
0
0
0.181818
0
0
0
0
0
0
0
0
0
1
0.272727
false
0.181818
0.090909
0
0.636364
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
1
0
1
0
0
0
0
0
5
4cc09ef32264c588fb6281f02d1721531bfbe976
226
py
Python
jupyter_notebooks_for_github/200415_Day1/zen.py
batuujin/bb_bootcamp
7bbd1bb2794c3d492d11b122418f32f5a9cab92b
[ "MIT" ]
null
null
null
jupyter_notebooks_for_github/200415_Day1/zen.py
batuujin/bb_bootcamp
7bbd1bb2794c3d492d11b122418f32f5a9cab92b
[ "MIT" ]
null
null
null
jupyter_notebooks_for_github/200415_Day1/zen.py
batuujin/bb_bootcamp
7bbd1bb2794c3d492d11b122418f32f5a9cab92b
[ "MIT" ]
null
null
null
# The first few lines from The Zen of Python by Tim Peters print('Beautiful is better than ugly.') print('Explicit is better than implicit.') print('Simple is better than complex.') print('Complex is better than complicated.')
45.2
58
0.765487
36
226
4.805556
0.611111
0.184971
0.277457
0
0
0
0
0
0
0
0
0
0.141593
226
5
59
45.2
0.891753
0.247788
0
0
0
0
0.757396
0
0
0
0
0
0
1
0
true
0
0
0
0
1
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
5
4ccb82e21d58a19bbe026fa847386665f24b4d9d
128
py
Python
nltools/tests/conftest.py
burnash/neurolearn
11159fd2ab2a103a4104e035023901ea4ae54d85
[ "MIT" ]
4
2017-09-15T09:47:07.000Z
2021-05-18T20:07:32.000Z
nltools/tests/conftest.py
burnash/neurolearn
11159fd2ab2a103a4104e035023901ea4ae54d85
[ "MIT" ]
null
null
null
nltools/tests/conftest.py
burnash/neurolearn
11159fd2ab2a103a4104e035023901ea4ae54d85
[ "MIT" ]
1
2020-01-10T03:26:55.000Z
2020-01-10T03:26:55.000Z
import pytest @pytest.fixture(scope='function') def sim(): from nltools import simulator return simulator.Simulator()
16
33
0.734375
15
128
6.266667
0.733333
0
0
0
0
0
0
0
0
0
0
0
0.164063
128
7
34
18.285714
0.878505
0
0
0
0
0
0.0625
0
0
0
0
0
0
1
0.2
true
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
1
0
1
0
1
0
0
5
4cf646901901c733199adc4f4c8a37cd54f17e95
3,000
py
Python
variants/migrations/0083_auto_20211129_1443.py
snesic/varfish-server
2e75c4eeda6b1fe0b1ea88ff3159a40fbceb8c8a
[ "MIT" ]
14
2019-09-30T12:44:17.000Z
2022-02-04T14:45:16.000Z
variants/migrations/0083_auto_20211129_1443.py
snesic/varfish-server
2e75c4eeda6b1fe0b1ea88ff3159a40fbceb8c8a
[ "MIT" ]
244
2021-03-26T15:13:15.000Z
2022-03-31T15:48:04.000Z
variants/migrations/0083_auto_20211129_1443.py
snesic/varfish-server
2e75c4eeda6b1fe0b1ea88ff3159a40fbceb8c8a
[ "MIT" ]
8
2020-05-19T21:55:13.000Z
2022-03-31T07:02:58.000Z
# Generated by Django 3.2.9 on 2021-11-29 14:43 from django.db import migrations import varfish.utils class Migration(migrations.Migration): dependencies = [ ("variants", "0082_auto_20210617_1409"), ] operations = [ migrations.AlterField( model_name="caddpathogenicityscorecache", name="info", field=varfish.utils.JSONField(), ), migrations.AlterField( model_name="caddsubmissionbgjob", name="query_args", field=varfish.utils.JSONField(help_text="(Validated) query parameters"), ), migrations.AlterField(model_name="case", name="pedigree", field=varfish.utils.JSONField(),), migrations.AlterField( model_name="casealignmentstats", name="bam_stats", field=varfish.utils.JSONField(default=dict), ), migrations.AlterField( model_name="distillersubmissionbgjob", name="query_args", field=varfish.utils.JSONField(help_text="(Validated) query parameters"), ), migrations.AlterField( model_name="exportfilebgjob", name="query_args", field=varfish.utils.JSONField(help_text="(Validated) query parameters"), ), migrations.AlterField( model_name="exportprojectcasesfilebgjob", name="query_args", field=varfish.utils.JSONField(help_text="(Validated) query parameters"), ), migrations.AlterField( model_name="projectcasessmallvariantquery", name="query_settings", field=varfish.utils.JSONField(help_text="The query settings"), ), migrations.AlterField( model_name="projectcasessmallvariantqueryvariantscores", name="info", field=varfish.utils.JSONField(default=dict), ), migrations.AlterField( model_name="samplevariantstatistics", name="ontarget_dps", field=varfish.utils.JSONField(), ), migrations.AlterField( model_name="samplevariantstatistics", name="ontarget_effect_counts", field=varfish.utils.JSONField(), ), migrations.AlterField( model_name="samplevariantstatistics", name="ontarget_indel_sizes", field=varfish.utils.JSONField(), ), migrations.AlterField( model_name="smallvariantquery", name="query_settings", field=varfish.utils.JSONField(help_text="The query settings"), ), migrations.AlterField( model_name="smallvariantqueryvariantscores", name="info", field=varfish.utils.JSONField(default=dict), ), migrations.AlterField( model_name="spanrsubmissionbgjob", name="query_args", field=varfish.utils.JSONField(help_text="(Validated) query parameters"), ), ]
35.714286
100
0.605333
250
3,000
7.112
0.26
0.107987
0.210911
0.244657
0.711474
0.711474
0.706974
0.687289
0.594488
0.594488
0
0.014445
0.284667
3,000
83
101
36.144578
0.814073
0.015
0
0.688312
1
0
0.240095
0.099221
0
0
0
0
0
1
0
false
0
0.025974
0
0.064935
0
0
0
0
null
0
1
1
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
e2490408362f8a66f6f24b3a14161b3689728e9f
90
py
Python
todo_graphql/todos/admin.py
aabmass/graphene-todo
bcb56c7d3cf9f1f4578bbcb7a2229a03eec6320a
[ "MIT" ]
2
2018-11-29T16:39:57.000Z
2020-11-13T11:12:06.000Z
todo_graphql/todos/admin.py
aabmass/graphene-todo
bcb56c7d3cf9f1f4578bbcb7a2229a03eec6320a
[ "MIT" ]
null
null
null
todo_graphql/todos/admin.py
aabmass/graphene-todo
bcb56c7d3cf9f1f4578bbcb7a2229a03eec6320a
[ "MIT" ]
1
2021-08-08T20:25:35.000Z
2021-08-08T20:25:35.000Z
from django.contrib import admin from todos.models import Todo admin.site.register(Todo)
18
32
0.822222
14
90
5.285714
0.714286
0
0
0
0
0
0
0
0
0
0
0
0.111111
90
4
33
22.5
0.925
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
e25908f3a8224ec9dbdfe300787fe4e598c6543c
273
py
Python
FictionTools/amitools/amitools/vamos/atypes/lock.py
polluks/Puddle-BuildTools
c1762d53a33002b62d8cffe3db129505a387bec3
[ "BSD-2-Clause" ]
38
2021-06-18T12:56:15.000Z
2022-03-12T20:38:40.000Z
FictionTools/amitools/amitools/vamos/atypes/lock.py
polluks/Puddle-BuildTools
c1762d53a33002b62d8cffe3db129505a387bec3
[ "BSD-2-Clause" ]
2
2021-06-20T16:28:12.000Z
2021-11-17T21:33:56.000Z
FictionTools/amitools/amitools/vamos/atypes/lock.py
polluks/Puddle-BuildTools
c1762d53a33002b62d8cffe3db129505a387bec3
[ "BSD-2-Clause" ]
6
2021-06-18T18:18:36.000Z
2021-12-22T08:01:32.000Z
from amitools.vamos.astructs import FileLockStruct, FileHandleStruct from .atype import AmigaType from .atypedef import AmigaTypeDef @AmigaTypeDef(FileLockStruct) class FileLock(AmigaType): pass @AmigaTypeDef(FileHandleStruct) class FileHandle(AmigaType): pass
19.5
68
0.81685
27
273
8.259259
0.555556
0.116592
0
0
0
0
0
0
0
0
0
0
0.120879
273
13
69
21
0.929167
0
0
0.222222
0
0
0
0
0
0
0
0
0
1
0
true
0.222222
0.333333
0
0.555556
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
1
0
1
0
0
5
e2722a0a504d3ff6f941e71b1014d9490f1511c1
190
py
Python
tasks/__init__.py
ville-k/multi_task_trainer
e748d2ad6c1d7c976f24d118808f324cce91980d
[ "MIT" ]
null
null
null
tasks/__init__.py
ville-k/multi_task_trainer
e748d2ad6c1d7c976f24d118808f324cce91980d
[ "MIT" ]
null
null
null
tasks/__init__.py
ville-k/multi_task_trainer
e748d2ad6c1d7c976f24d118808f324cce91980d
[ "MIT" ]
null
null
null
# Copyright (C) 2018, Ville Kallioniemi <ville.kallioniemi@gmail.com> import tasks.classify_digits import tasks.classify_objects __all__ = ( 'classify_digits', 'classify_objects' )
21.111111
69
0.763158
22
190
6.227273
0.590909
0.233577
0.277372
0
0
0
0
0
0
0
0
0.02439
0.136842
190
9
70
21.111111
0.810976
0.352632
0
0
0
0
0.254098
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
5
2c5afddb28c4462c6a9aa2f9acd79a3a668d2f77
85,323
py
Python
icon_network_exporter/utils.py
insight-icon/icon-network-exporter
5a519c2b318f10cdc5250f8ee6fe539e49609406
[ "MIT" ]
null
null
null
icon_network_exporter/utils.py
insight-icon/icon-network-exporter
5a519c2b318f10cdc5250f8ee6fe539e49609406
[ "MIT" ]
null
null
null
icon_network_exporter/utils.py
insight-icon/icon-network-exporter
5a519c2b318f10cdc5250f8ee6fe539e49609406
[ "MIT" ]
null
null
null
import aiohttp import asyncio import json from datetime import datetime from prometheus_client import Counter async def get(url, name, timeout: int = 2): try: timeout = aiohttp.ClientTimeout(total=timeout) async with aiohttp.ClientSession(timeout=timeout) as session: request_start = datetime.now() async with session.get(url=url) as response: resp = await response.read() resp = json.loads(resp) # Insert this so that we can look it up later resp.update({'apiEndpoint': url}) resp.update({'timestamp': datetime.now()}) resp.update({'latency': (datetime.now() - request_start).total_seconds()*1000}) # print("Successfully got url {} with response of length {}.".format(url, len(resp))) return resp except Exception as e: pass # print("Unable to get url {} due to {}.".format(url, e.__class__)) # c = Counter('icon_prep_dropped_request', # 'Node ', ) # c.inc() async def get_prep_list_async(prep_list: list, timeout: int = 2): resp = await asyncio.gather(*[get(v['apiEndpoint'], v['name'], timeout) for i, v in enumerate(prep_list)]) return resp def get_highest_block(prep_list: list, responses: list) -> (int, str): highest_block = 0 reference_node_api_endpoint = '' # block_height = next(item for item in responses if item['apiEndpoint'] == v['apiEndpoint'])['block_height'] for i, v in enumerate(prep_list[0:5]): for r in responses: if r['apiEndpoint'] == v['apiEndpoint']: if r['block_height'] > highest_block: highest_block = r['block_height'] reference_node_api_endpoint = v['apiEndpoint'] # This might not be a good idea but a fallback unless there is if highest_block == 0: highest_block, reference_node_api_endpoint = get_highest_block(prep_list, responses) return highest_block, reference_node_api_endpoint def get_rpc_attributes(): pass # prep_list = [{'address': 'hx0b047c751658f7ce1b2595da34d57a0e7dad357d', 'status': '0x0', 'penalty': '0x0', 'grade': '0x0', 'name': 'ICON Foundation', 'country': 'CHE', 'city': 'Zug', 'stake': '0x0', 'delegated': '0x2835528b4ddedca63f37b2', 'totalBlocks': '0xdf8d46', 'validatedBlocks': '0xdf09c2', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0x2f6f10780d22cc00000', 'irepUpdateBlockHeight': '0x12a8eb8', 'lastGenerateBlockHeight': '0x180d010', 'blockHeight': '0x9d87b3', 'txIndex': '0x0', 'nodeAddress': 'hx9c63f73d3c564a54d0eed84f90718b1ebed16f09', 'email': 'hello@icon.foundation', 'website': 'https://icon.foundation', 'details': 'https://icon.foundation/prep/details.json', 'p2pEndpoint': '210.180.69.101:7100', 'apiEndpoint': 'http://210.180.69.101:9000/api/v1/status/peer'}, {'address': 'hxfba37e91ccc13ec1dab115811f73e429cde44d48', 'status': '0x0', 'penalty': '0x0', 'grade': '0x0', 'name': 'ICX_Station', 'country': 'USA', 'city': 'San Francisco', 'stake': '0x0', 'delegated': '0x10c363f0a00971dcaf40ab', 'totalBlocks': '0xe0ddd5', 'validatedBlocks': '0xe08dd6', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0x2f6f10780d22cc00000', 'irepUpdateBlockHeight': '0x127b07f', 'lastGenerateBlockHeight': '0x180d01a', 'blockHeight': '0x73f414', 'txIndex': '0x1', 'nodeAddress': 'hx81719dcfe8f58ca07044b7bede49cecd61f9bd3f', 'email': '2infiniti@icon.foundation', 'website': 'https://www.icxstation.com', 'details': 'https://icxstation.com/json/prepdetails.json', 'p2pEndpoint': '3.14.196.215:7100', 'apiEndpoint': 'http://3.14.196.215:9000/api/v1/status/peer'}, {'address': 'hxd0d9b0fee857de26fd1e8b15209ca15b14b851b2', 'status': '0x0', 'penalty': '0x0', 'grade': '0x0', 'name': 'VELIC', 'country': 'SGP', 'city': 'Singapore', 'stake': '0x0', 'delegated': '0xeccfe86128bf244dd85fc', 'totalBlocks': '0xe2ae7f', 'validatedBlocks': '0xe26bcc', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0x2f6f10780d22cc00000', 'irepUpdateBlockHeight': '0x12b3400', 'lastGenerateBlockHeight': '0x180d024', 'blockHeight': '0x73faa1', 'txIndex': '0x0', 'nodeAddress': 'hx406c9d6fa4b8a51dba98797610fe5935f613fb07', 'email': 'support@velic.io', 'website': 'https://www.velic.io', 'details': 'https://www.velic.io/cexp/v1/marketing/staving/info', 'p2pEndpoint': '3.114.212.239:7100', 'apiEndpoint': 'http://3.114.212.239:9000/api/v1/status/peer'}, {'address': 'hx54d6f19c3d16b2ef23c09c885ca1ba776aaa80e2', 'status': '0x0', 'penalty': '0x0', 'grade': '0x0', 'name': 'Ubik Capital', 'country': 'USA', 'city': 'Detroit', 'stake': '0x0', 'delegated': '0xbe73a06e32d5803b8d1b9', 'totalBlocks': '0xe20df2', 'validatedBlocks': '0xe1fd40', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0x2f6f10780d22cc00000', 'irepUpdateBlockHeight': '0x15077a0', 'lastGenerateBlockHeight': '0x180d02e', 'blockHeight': '0x73f441', 'txIndex': '0x0', 'nodeAddress': 'hx54d6f19c3d16b2ef23c09c885ca1ba776aaa80e2', 'email': 'icon@ubik.capital', 'website': 'https://ubik.capital', 'details': 'https://theuc.xyz/ubikprep/json/ubikprep.json', 'p2pEndpoint': '13.58.103.19:7100', 'apiEndpoint': 'http://13.58.103.19:9000/api/v1/status/peer'}, {'address': 'hx262afdeda4eba10fe41fa5ef21796ac2bdcc6629', 'status': '0x0', 'penalty': '0x0', 'grade': '0x0', 'name': 'ICONation', 'country': 'FRA', 'city': 'Paris', 'stake': '0x0', 'delegated': '0xbd4c291eef66874a85af5', 'totalBlocks': '0xe244df', 'validatedBlocks': '0xe20f3f', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0x2f6f10780d22cc00000', 'irepUpdateBlockHeight': '0x12e09aa', 'lastGenerateBlockHeight': '0x180d038', 'blockHeight': '0x73ff14', 'txIndex': '0x0', 'nodeAddress': 'hx262afdeda4eba10fe41fa5ef21796ac2bdcc6629', 'email': 'iconation.team@gmail.com', 'website': 'https://iconation.team', 'details': 'https://iconation.team/prep_mainnet.json', 'p2pEndpoint': '52.47.90.20:7100', 'apiEndpoint': 'http://52.47.90.20:9000/api/v1/status/peer'}, {'address': 'hx4a43790d44b07909d20fbcc233548fc80f7a4067', 'status': '0x0', 'penalty': '0x0', 'grade': '0x0', 'name': 'RHIZOME', 'country': 'JPN', 'city': 'Tokyo', 'stake': '0x0', 'delegated': '0xa20188cb429c71241f956', 'totalBlocks': '0xe1d78b', 'validatedBlocks': '0xe1bc63', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0x32d26d12e980b600000', 'irepUpdateBlockHeight': '0x153f093', 'lastGenerateBlockHeight': '0x180d042', 'blockHeight': '0x73f3df', 'txIndex': '0x0', 'nodeAddress': 'hxda4e0b39fb6df66af8a4e39942c49662a890f320', 'email': 'hello@rhizomeicx.com', 'website': 'https://rhizomeicx.com', 'details': 'https://storage.googleapis.com/rhizome-public-storage/prep/json/rhizome-usa.json', 'p2pEndpoint': '35.231.14.204:7100', 'apiEndpoint': 'http://35.231.14.204:9000/api/v1/status/peer'}, {'address': 'hxd5059fec8665bc7b769f4893aef65cf00049377a', 'status': '0x0', 'penalty': '0x0', 'grade': '0x0', 'name': 'ICON Hyperconnect', 'country': 'KOR', 'city': 'Seoul', 'stake': '0x0', 'delegated': '0x99b3fa94700acce2654ea', 'totalBlocks': '0x7c0f82', 'validatedBlocks': '0x7bd5e5', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0x2f6f10780d22cc00000', 'irepUpdateBlockHeight': '0x12cab1b', 'lastGenerateBlockHeight': '0x180d04c', 'blockHeight': '0xf7e0ae', 'txIndex': '0x1', 'nodeAddress': 'hxd5059fec8665bc7b769f4893aef65cf00049377a', 'email': 'iconhyperconnect@gmail.com', 'website': 'https://www.iconhyperconnect.com', 'details': 'https://jsonkeeper.com/b/U06Q', 'p2pEndpoint': '3.137.75.159:7100', 'apiEndpoint': 'http://3.137.75.159:9000/api/v1/status/peer'}, {'address': 'hxb11448743cbb63fcf29609401cdc5782793be211', 'status': '0x0', 'penalty': '0x0', 'grade': '0x0', 'name': 'ICONbet Community', 'country': 'USA', 'city': 'Las Vegas', 'stake': '0x43c33c1937564800000', 'delegated': '0x7a93e8316578b6b7b328e', 'totalBlocks': '0x63dc9c', 'validatedBlocks': '0x6388a3', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0x2f6f10780d22cc00000', 'irepUpdateBlockHeight': '0x12bcf19', 'lastGenerateBlockHeight': '0x180d056', 'blockHeight': '0xdf57c4', 'txIndex': '0x1', 'nodeAddress': 'hxb11448743cbb63fcf29609401cdc5782793be211', 'email': 'iconbetcommunity@protonmail.com', 'website': 'https://iconbet.io', 'details': 'http://prep-registration-hip-crow.s3-website-sa-east-1.amazonaws.com/details.json', 'p2pEndpoint': '18.230.33.207:7100', 'apiEndpoint': 'http://18.230.33.207:9000/api/v1/status/peer'}, {'address': 'hxab751d4e83b6fda412a38cb5f7f96860396b1327', 'status': '0x0', 'penalty': '0x0', 'grade': '0x0', 'name': 'Symmetry SLC', 'country': 'USA', 'city': 'Salt Lake City', 'stake': '0x0', 'delegated': '0x776311af27f4247d097b6', 'totalBlocks': '0xdef091', 'validatedBlocks': '0xde9bb5', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0x2f6f10780d22cc00000', 'irepUpdateBlockHeight': '0x12c72c6', 'lastGenerateBlockHeight': '0x180d060', 'blockHeight': '0x99e2d4', 'txIndex': '0x0', 'nodeAddress': 'hxab751d4e83b6fda412a38cb5f7f96860396b1327', 'email': 'ICON@SymmetrySLC.com', 'website': 'https://SymmetrySLC.com', 'details': 'https://symmetry-icon-json-data.s3.amazonaws.com/prod-dc.json', 'p2pEndpoint': '169.48.79.54:7100', 'apiEndpoint': 'http://169.48.79.54:9000/api/v1/status/peer'}, {'address': 'hx099b1e6b271bc6cd67d930a1c62ee5f3ed0e2c7d', 'status': '0x0', 'penalty': '0x0', 'grade': '0x0', 'name': 'NEOPLY', 'country': 'KOR', 'city': 'Seoul', 'stake': '0x0', 'delegated': '0x7034624b30411ba5ad3af', 'totalBlocks': '0x2bca22', 'validatedBlocks': '0x2bbe83', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0x2f1108d2eca3ca17340', 'irepUpdateBlockHeight': '0x14b4691', 'lastGenerateBlockHeight': '0x180d06a', 'blockHeight': '0x14b4691', 'txIndex': '0x1', 'nodeAddress': 'hx099b1e6b271bc6cd67d930a1c62ee5f3ed0e2c7d', 'email': 'developer@neoply.com', 'website': 'https://neoply.io', 'details': 'https://neoply.io/bp_info/icon.json', 'p2pEndpoint': '13.115.105.184:7100', 'apiEndpoint': 'http://13.115.105.184:9000/api/v1/status/peer'}, {'address': 'hxdc35f82a3a943e040ae2b9ab2baa2118781b2bc9', 'status': '0x0', 'penalty': '0x3', 'grade': '0x2', 'name': 'Mineable', 'country': 'GBR', 'city': 'London', 'stake': '0x0', 'delegated': '0x5f5b2ba669cee1f060872', 'totalBlocks': '0xc14342', 'validatedBlocks': '0xc1273a', 'unvalidatedSequenceBlocks': '0x295', 'irep': '0x2f6f10780d22cc00000', 'irepUpdateBlockHeight': '0x135514c', 'lastGenerateBlockHeight': '0x1809a7c', 'blockHeight': '0xaa4bfc', 'txIndex': '0x2', 'nodeAddress': 'hxdc35f82a3a943e040ae2b9ab2baa2118781b2bc9', 'email': 'admin@mineable.com', 'website': 'https://www.youtube.com/icontvofficial', 'details': 'https://mineablecom.s3.eu-north-1.amazonaws.com/details.json', 'p2pEndpoint': '34.239.57.162:7100', 'apiEndpoint': 'http://34.239.57.162:9000/api/v1/status/peer'}, {'address': 'hx8e6dcffdf06f850af5d372ac96389135e17d56d3', 'status': '0x0', 'penalty': '0x0', 'grade': '0x0', 'name': 'Everstake', 'country': 'UKR', 'city': 'Kyiv', 'stake': '0x0', 'delegated': '0x5635cf802be9c7e89485b', 'totalBlocks': '0xdfb401', 'validatedBlocks': '0xdf607e', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0x2f6f10780d22cc00000', 'irepUpdateBlockHeight': '0x133d5a4', 'lastGenerateBlockHeight': '0x180d07e', 'blockHeight': '0x740f7e', 'txIndex': '0x0', 'nodeAddress': 'hx8e6dcffdf06f850af5d372ac96389135e17d56d3', 'email': 'inbox@everstake.one', 'website': 'https://everstake.one', 'details': 'https://everstake.one/icon.json', 'p2pEndpoint': '159.69.63.222:7100', 'apiEndpoint': 'http://159.69.63.222:9000/api/v1/status/peer'}, {'address': 'hxf75bfd0df8d96ee0963965135af2485cee6d5000', 'status': '0x0', 'penalty': '0x0', 'grade': '0x0', 'name': 'weBloc asia', 'country': 'KOR', 'city': 'Jeju', 'stake': '0x0', 'delegated': '0x541c50187fcda320a8b9f', 'totalBlocks': '0xe20e18', 'validatedBlocks': '0xe1e23c', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0x2f6f10780d22cc00000', 'irepUpdateBlockHeight': '0x1352ccb', 'lastGenerateBlockHeight': '0x180d088', 'blockHeight': '0x7497bc', 'txIndex': '0x0', 'nodeAddress': 'hxf75bfd0df8d96ee0963965135af2485cee6d5000', 'email': 'steve@webloc.io', 'website': 'https://www.webloc.io', 'details': 'http://static.webloc.io/prep/json/webloc-details.json', 'p2pEndpoint': '13.125.155.171:7100', 'apiEndpoint': 'http://13.125.155.171:9000/api/v1/status/peer'}, {'address': 'hx3d5c3ce7554f4d762f6396e53b2c5de07074ec39', 'status': '0x0', 'penalty': '0x0', 'grade': '0x0', 'name': 'ICON DAO', 'country': 'SGP', 'city': 'Singapore', 'stake': '0x0', 'delegated': '0x53e0ddbe650632d9d343d', 'totalBlocks': '0xcc74f8', 'validatedBlocks': '0xcc516e', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0x2f6f10780d22cc00000', 'irepUpdateBlockHeight': '0x13505da', 'lastGenerateBlockHeight': '0x180d092', 'blockHeight': '0x84c1b4', 'txIndex': '0x0', 'nodeAddress': 'hx3d5c3ce7554f4d762f6396e53b2c5de07074ec39', 'email': 'icondao@canfoundation.io', 'website': 'https://twitter.com/icondao', 'details': 'https://icondao.s3-ap-southeast-1.amazonaws.com/icondao.json', 'p2pEndpoint': '18.140.186.29:7100', 'apiEndpoint': 'http://18.140.186.29:9000/api/v1/status/peer'}, {'address': 'hx9780bfcd8d33c50f56e37f5b27313433c28eb8d8', 'status': '0x0', 'penalty': '0x0', 'grade': '0x0', 'name': 'Stakin', 'country': 'GBR', 'city': 'London', 'stake': '0x1c965d5aa35866600000', 'delegated': '0x4ed0718766add8e0f49cc', 'totalBlocks': '0xe23bd4', 'validatedBlocks': '0xe18daa', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0x2e141ea081ca0800000', 'irepUpdateBlockHeight': '0x12cade4', 'lastGenerateBlockHeight': '0x180d09c', 'blockHeight': '0x73fda9', 'txIndex': '0x0', 'nodeAddress': 'hx9780bfcd8d33c50f56e37f5b27313433c28eb8d8', 'email': 'hello@stakin.com', 'website': 'https://stakin.com/', 'details': 'https://stakin.com/icon.json', 'p2pEndpoint': '3.8.92.147:7100', 'apiEndpoint': 'http://3.8.92.147:9000/api/v1/status/peer'}, {'address': 'hxe4c008b838e8a9a7c065f20f393974de4c86f917', 'status': '0x0', 'penalty': '0x0', 'grade': '0x0', 'name': 'ReliantNode', 'country': 'AUS', 'city': 'Wollongong', 'stake': '0x0', 'delegated': '0x472676cd2dd811596d0f4', 'totalBlocks': '0x88e012', 'validatedBlocks': '0x88502b', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0x2f6f10780d22cc00000', 'irepUpdateBlockHeight': '0x12c6aa7', 'lastGenerateBlockHeight': '0x180d0a4', 'blockHeight': '0x8d8e41', 'txIndex': '0x0', 'nodeAddress': 'hxe4c008b838e8a9a7c065f20f393974de4c86f917', 'email': 'team@reliantnode.com', 'website': 'https://www.reliantnode.com', 'details': 'https://faucet.reliantnode.com/static/details.json', 'p2pEndpoint': '185.172.110.74:7100', 'apiEndpoint': 'http://185.172.110.74:9000/api/v1/status/peer'}, {'address': 'hx231a795d1c719b9edf35c46b9daa4e0b5a1e83aa', 'status': '0x0', 'penalty': '0x0', 'grade': '0x0', 'name': 'iBriz - ICONOsphere', 'country': 'USA', 'city': 'San Francisco', 'stake': '0x0', 'delegated': '0x4685c196b12b2db1bf339', 'totalBlocks': '0xac4779', 'validatedBlocks': '0xac0e99', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0x2f6d546136addf80000', 'irepUpdateBlockHeight': '0x1308117', 'lastGenerateBlockHeight': '0x180cfd4', 'blockHeight': '0x740814', 'txIndex': '0x1', 'nodeAddress': 'hx95248f3757afcb50efa99f529183ba401a82273c', 'email': 'prep@iconosphere.io', 'website': 'https://iconosphere.io', 'details': 'https://iconosphere.io/json/', 'p2pEndpoint': '52.36.75.189:7100', 'apiEndpoint': 'http://52.36.75.189:9000/api/v1/status/peer'}, {'address': 'hx863e16bd18ceaa7d498b4b275e36cd58818b1f25', 'status': '0x0', 'penalty': '0x0', 'grade': '0x0', 'name': 'ICONVIET', 'country': 'VNM', 'city': 'Ho Chi Minh', 'stake': '0x2a5a0590787c0df48000', 'delegated': '0x45590c2f3c9ce4293400e', 'totalBlocks': '0xe13969', 'validatedBlocks': '0xe0fa6b', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0x2f6f10780d22cc00000', 'irepUpdateBlockHeight': '0x12d38a3', 'lastGenerateBlockHeight': '0x180cfde', 'blockHeight': '0x73f2c1', 'txIndex': '0x0', 'nodeAddress': 'hxb38860401c2b845668682be057b42dff22c27c0f', 'email': 'tomnuen@iconviet.io', 'website': 'https://iconviet.io', 'details': 'https://raw.githubusercontent.com/iconviet/public/master/iconviet.json', 'p2pEndpoint': '95.179.230.6:7100', 'apiEndpoint': 'http://95.179.230.6:9000/api/v1/status/peer'}, {'address': 'hx168d2cfe6d73acb8cb690d3abda54d3af266addf', 'status': '0x0', 'penalty': '0x0', 'grade': '0x0', 'name': 'block42', 'country': 'AUT', 'city': 'Vienna', 'stake': '0x0', 'delegated': '0x4361298866ca9829249dd', 'totalBlocks': '0xabb98e', 'validatedBlocks': '0xab62ec', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0x2f6f10780d22cc00000', 'irepUpdateBlockHeight': '0x1309719', 'lastGenerateBlockHeight': '0x180cfe8', 'blockHeight': '0x7403b8', 'txIndex': '0x0', 'nodeAddress': 'hx168d2cfe6d73acb8cb690d3abda54d3af266addf', 'email': 'office@block42.tech', 'website': 'https://block42.tech', 'details': 'https://files.b42.tech/icon/config.json', 'p2pEndpoint': '52.34.9.60:7100', 'apiEndpoint': 'http://52.34.9.60:9000/api/v1/status/peer'}, {'address': 'hxd6f20327d135cb0227230ab98792173a5c97b03e', 'status': '0x0', 'penalty': '0x0', 'grade': '0x0', 'name': 'ICONPLUS', 'country': 'GBR', 'city': 'London', 'stake': '0x0', 'delegated': '0x4322029aeaa7112026037', 'totalBlocks': '0x1ab753', 'validatedBlocks': '0x1aabd9', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0x2f6f10780d22cc00000', 'irepUpdateBlockHeight': '0x12f60a6', 'lastGenerateBlockHeight': '0x180cff2', 'blockHeight': '0xee60f2', 'txIndex': '0x2', 'nodeAddress': 'hxd6f20327d135cb0227230ab98792173a5c97b03e', 'email': 'Teamiconplus@gmail.com', 'website': 'https://www.ICON-PLUS.org', 'details': 'http://prep-registration-shining-redfish.s3-website.eu-west-3.amazonaws.com/details.json', 'p2pEndpoint': '15.188.240.233:7100', 'apiEndpoint': 'http://15.188.240.233:9000/api/v1/status/peer'}, {'address': 'hx5b97bbec2e555289351806103833a465b7fbbd47', 'status': '0x0', 'penalty': '0x0', 'grade': '0x0', 'name': 'Blockmove', 'country': 'CZE', 'city': 'Brno', 'stake': '0x2368083e035c7cbd8000', 'delegated': '0x3c14f8b53f7c10b8a1bb4', 'totalBlocks': '0xae6f40', 'validatedBlocks': '0xad9c62', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0x21e19e0c9bab2400000', 'irepUpdateBlockHeight': '0x12ce3eb', 'lastGenerateBlockHeight': '0x180cffc', 'blockHeight': '0x73f79f', 'txIndex': '0x0', 'nodeAddress': 'hx5b97bbec2e555289351806103833a465b7fbbd47', 'email': 'hello@blockmove.eu', 'website': 'https://blockmove.eu', 'details': 'https://blockmove.eu/prepinfo/info.json', 'p2pEndpoint': '51.159.17.38:7100', 'apiEndpoint': 'http://51.159.17.38:9000/api/v1/status/peer'}, {'address': 'hx3aa778e1f00c77d3490e9e625f1f83ed26f90133', 'status': '0x0', 'penalty': '0x0', 'grade': '0x0', 'name': 'Citadel.one', 'country': 'CAN', 'city': 'Montreal', 'stake': '0x262883fe2c261374000', 'delegated': '0x3a721dec669e6edabe9af', 'totalBlocks': '0xdf7dc2', 'validatedBlocks': '0xded007', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0x2f6f10780d22cc00000', 'irepUpdateBlockHeight': '0x140f257', 'lastGenerateBlockHeight': '0x180d006', 'blockHeight': '0x742aba', 'txIndex': '0x0', 'nodeAddress': 'hx3aa778e1f00c77d3490e9e625f1f83ed26f90133', 'email': 'partners@paradigmfund.io', 'website': 'https://citadel.one/', 'details': 'https://citadel.one/icx_regjson.json', 'p2pEndpoint': '84.201.175.163:7100', 'apiEndpoint': 'http://84.201.175.163:9000/api/v1/status/peer'}, {'address': 'hx28c08b299995a88756af64374e13db2240bc3142', 'status': '0x0', 'penalty': '0x0', 'grade': '0x0', 'name': 'PARROT9', 'country': 'NZL', 'city': 'Dunedin', 'stake': '0x152d02c7e14af6800000', 'delegated': '0x3a69aafdd9e74787a4679', 'totalBlocks': '0x5c58d8', 'validatedBlocks': '0x5bd118', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0x2f6f10780d22cc00000', 'irepUpdateBlockHeight': '0x12da997', 'lastGenerateBlockHeight': '0x180d074', 'blockHeight': '0x938ddd', 'txIndex': '0x0', 'nodeAddress': 'hx28c08b299995a88756af64374e13db2240bc3142', 'email': 'hello@parrot9.com', 'website': 'https://parrot9.com', 'details': 'https://parrot9.com/PARROT91.json', 'p2pEndpoint': '155.138.134.222:7100', 'apiEndpoint': 'http://155.138.134.222:9000/api/v1/status/peer'}, {'address': 'hx0a72c03881451a6270d4895f756085470fc311e4', 'status': '0x0', 'penalty': '0x0', 'grade': '0x1', 'name': 'Icon Pilipinas', 'country': 'PHL', 'city': 'Manila', 'stake': '0x5c6275992fd5c8000', 'delegated': '0x30452ab9aa6c9985268ed', 'totalBlocks': '0x295', 'validatedBlocks': '0x0', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0x2f6f10780d22cc00000', 'irepUpdateBlockHeight': '0x12be215', 'lastGenerateBlockHeight': '-0x1', 'blockHeight': '0xe910e0', 'txIndex': '0x3', 'nodeAddress': 'hx0a72c03881451a6270d4895f756085470fc311e4', 'email': 'iconpilipinas@gmail.com', 'website': 'https://medium.com/@iconpilipinas', 'details': 'http://prep-registration-stirred-eel.s3-website.ca-central-1.amazonaws.com/details.json', 'p2pEndpoint': '15.222.213.224:7100', 'apiEndpoint': 'http://15.222.213.224:9000/api/v1/status/peer'}, {'address': 'hxc453700b9bd823d7f7175808a0986c0e3a45f2b4', 'status': '0x0', 'penalty': '0x0', 'grade': '0x1', 'name': 'InterBlock', 'country': 'DEU', 'city': 'Munich', 'stake': '0x0', 'delegated': '0x2ebd2b1348fa6d0c3693f', 'totalBlocks': '0x3dd4b3', 'validatedBlocks': '0x3dbf98', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0xa968163f0a57b400000', 'irepUpdateBlockHeight': '0xc00450', 'lastGenerateBlockHeight': '0x10f47a4', 'blockHeight': '0xbf6a3a', 'txIndex': '0x1', 'nodeAddress': 'hxbf6b8faf021972ae542b8552aa082b794d391fc0', 'email': 'support@interblock.tech', 'website': 'http://www.interblock.tech', 'details': 'https://interblock-mainnet-aws-us-west-2.s3-us-west-2.amazonaws.com/details.json', 'p2pEndpoint': '44.238.34.143:7100', 'apiEndpoint': 'http://44.238.34.143:9000/api/v1/status/peer'}, {'address': 'hx6f89b2c25c15f6294c79810221753131067ed3f8', 'status': '0x0', 'penalty': '0x0', 'grade': '0x1', 'name': 'Sharpn', 'country': 'FRA', 'city': 'Paris', 'stake': '0x6c0d6ed056626ec0000', 'delegated': '0x296221019985d9796d999', 'totalBlocks': '0xb228e0', 'validatedBlocks': '0xb1a0b4', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0x2f6f10780d22cc00000', 'irepUpdateBlockHeight': '0x1333163', 'lastGenerateBlockHeight': '0x16772c2', 'blockHeight': '0x73f47d', 'txIndex': '0x1', 'nodeAddress': 'hx6f89b2c25c15f6294c79810221753131067ed3f8', 'email': 'hello@sharpn.tech', 'website': 'https://sharpn.tech', 'details': 'https://sharpn.tech/cdn/prepsdetails.json', 'p2pEndpoint': '167.71.4.34:7100', 'apiEndpoint': 'http://167.71.4.34:9000/api/v1/status/peer'}, {'address': 'hxfc56203484921c3b7a4dee9579d8614d8c8daaf5', 'status': '0x0', 'penalty': '0x0', 'grade': '0x1', 'name': 'Insight', 'country': 'USA', 'city': 'San Francisco', 'stake': '0x0', 'delegated': '0x28290a45966a30af2acb7', 'totalBlocks': '0x508862', 'validatedBlocks': '0x505e37', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0x2f6f10780d22cc00000', 'irepUpdateBlockHeight': '0x137bab8', 'lastGenerateBlockHeight': '0x16186b4', 'blockHeight': '0x742b48', 'txIndex': '0x0', 'nodeAddress': 'hx88de92cb7e91c19d4d376f68b7f1b5fef641ecbd', 'email': 'rob.cannon@insightdatascience.com', 'website': 'http://insight-infrastructure.com', 'details': 'https://insight-main-mainnet-aws-us-east-1.s3-website-us-east-1.amazonaws.com/details.json/details.json', 'p2pEndpoint': '3.218.194.233:7100', 'apiEndpoint': 'http://3.218.194.233:9000/api/v1/status/peer'}, {'address': 'hx4adc5a79b2fb3631790f6dca22d7b6e4912e6e85', 'status': '0x0', 'penalty': '0x0', 'grade': '0x1', 'name': 'Deblock with STAYGE', 'country': 'KOR', 'city': 'Seoul', 'stake': '0x0', 'delegated': '0x27becbe7276c7a5dd7430', 'totalBlocks': '0x4a8905', 'validatedBlocks': '0x4a78d5', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0x878678326eac9000000', 'irepUpdateBlockHeight': '0x1597831', 'lastGenerateBlockHeight': '0x160de2b', 'blockHeight': '0x748fc5', 'txIndex': '0x0', 'nodeAddress': 'hx4adc5a79b2fb3631790f6dca22d7b6e4912e6e85', 'email': 'info@stayge.io', 'website': 'https://stayge.io/en/p-rep', 'details': 'http://static.stayge.io/prep/json/deblock-stayge-details.json', 'p2pEndpoint': '13.124.127.40:7100', 'apiEndpoint': 'http://13.124.127.40:9000/api/v1/status/peer'}, {'address': 'hx70f9a54bccc5295e4adecbe98d9a291bef4ff9a9', 'status': '0x0', 'penalty': '0x0', 'grade': '0x1', 'name': 'ICON Forge', 'country': 'EST', 'city': 'Tallinn', 'stake': '0x2c42e7a60e5f29bc000', 'delegated': '0x2500db69665b0db14cbee', 'totalBlocks': '0x0', 'validatedBlocks': '0x0', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0x2d4ca05e2b43ca80000', 'irepUpdateBlockHeight': '0x12daba4', 'lastGenerateBlockHeight': '-0x1', 'blockHeight': '0x125d059', 'txIndex': '0x1', 'nodeAddress': 'hx70f9a54bccc5295e4adecbe98d9a291bef4ff9a9', 'email': 'hello@iconforge.io', 'website': 'https://www.iconforge.io/', 'details': 'https://icon-forge.github.io/P-Rep/mainnet_config.json', 'p2pEndpoint': '13.49.93.73:7100', 'apiEndpoint': 'http://13.49.93.73:9000/api/v1/status/peer'}, {'address': 'hxa224bb59e9ba930f3919b57feef7656f1139d24b', 'status': '0x0', 'penalty': '0x0', 'grade': '0x1', 'name': 'Catalyst', 'country': 'USA', 'city': 'Puerto Rico', 'stake': '0x0', 'delegated': '0x241cc2820b8e2f807aee0', 'totalBlocks': '0x6499f3', 'validatedBlocks': '0x6484cb', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0x2f6f10780d22cc00000', 'irepUpdateBlockHeight': '0x132f95d', 'lastGenerateBlockHeight': '0x11f12a2', 'blockHeight': '0x9eacc0', 'txIndex': '0x1', 'nodeAddress': 'hxa224bb59e9ba930f3919b57feef7656f1139d24b', 'email': 'node@catalystnode.com', 'website': 'https://www.catalystnode.com', 'details': 'https://www.catalystnode.com/icon/details.json', 'p2pEndpoint': '3.233.34.53:7100', 'apiEndpoint': 'http://3.233.34.53:9000/api/v1/status/peer'}, {'address': 'hx30af89a52479d8ce8ac6682651203750d639a20f', 'status': '0x0', 'penalty': '0x0', 'grade': '0x1', 'name': 'ICONologist', 'country': 'DEU', 'city': 'Kassel', 'stake': '0x0', 'delegated': '0x1dfc2c87a11417f71601a', 'totalBlocks': '0x295', 'validatedBlocks': '0x0', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0xa4b66e7ed77bb7af02e', 'irepUpdateBlockHeight': '0xab46b2', 'lastGenerateBlockHeight': '-0x1', 'blockHeight': '0xab46b2', 'txIndex': '0x1', 'nodeAddress': 'hx30af89a52479d8ce8ac6682651203750d639a20f', 'email': 'info@iconologist.eu', 'website': 'https://www.iconologist.eu/', 'details': 'https://www.iconologist.eu/node/config.json', 'p2pEndpoint': '159.69.136.250:7100', 'apiEndpoint': 'http://159.69.136.250:9000/api/v1/status/peer'}, {'address': 'hxec5e4136ddbf8e9aa119694b95d1baeecf947ee9', 'status': '0x0', 'penalty': '0x0', 'grade': '0x1', 'name': 'Transform Group', 'country': 'PRI', 'city': 'San Juan', 'stake': '0x0', 'delegated': '0x1b8d13ac82f1e050a30a8', 'totalBlocks': '0x0', 'validatedBlocks': '0x0', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0x2f4add6ae4f410b597a', 'irepUpdateBlockHeight': '0x162a600', 'lastGenerateBlockHeight': '-0x1', 'blockHeight': '0x162a600', 'txIndex': '0x2', 'nodeAddress': 'hx7e5e9f2e59941e30cd2fef605ef8e232daac6dbc', 'email': 'info@transformgroup.com', 'website': 'https://transformgroup.com', 'details': 'http://prep-registration-cute-gull.s3-website.us-east-2.amazonaws.com/details.json', 'p2pEndpoint': '3.128.245.157:7100', 'apiEndpoint': 'http://3.128.245.157:9000/api/v1/status/peer'}, {'address': 'hxe8767c80a009c7bb8344d81c430144463cbb325e', 'status': '0x0', 'penalty': '0x0', 'grade': '0x1', 'name': 'ICONTROL', 'country': 'KOR', 'city': 'Seoul', 'stake': '0x5ecff6051e82dd8f2', 'delegated': '0x1b4fe00835a733caec24c', 'totalBlocks': '0x0', 'validatedBlocks': '0x0', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0x31086fcc73979a39645', 'irepUpdateBlockHeight': '0x1331f83', 'lastGenerateBlockHeight': '-0x1', 'blockHeight': '0x1331f83', 'txIndex': '0x2', 'nodeAddress': 'hxe8767c80a009c7bb8344d81c430144463cbb325e', 'email': 'icontrol.b@gmail.com', 'website': 'https://icontrol.webflow.io', 'details': 'https://icontrol-team.github.io/public-page/json/detail.json', 'p2pEndpoint': '13.230.106.222:7100', 'apiEndpoint': 'http://13.230.106.222:9000/api/v1/status/peer'}, {'address': 'hxfbddc0f1c0ab85e59578de4b883cdcf94ab33694', 'status': '0x0', 'penalty': '0x0', 'grade': '0x1', 'name': 'Bara-Node', 'country': 'ARE', 'city': 'Dubai', 'stake': '0x0', 'delegated': '0x1903a239d66e2c12b37d7', 'totalBlocks': '0x0', 'validatedBlocks': '0x0', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0xa968163f0a57b400000', 'irepUpdateBlockHeight': '0xd03f6d', 'lastGenerateBlockHeight': '-0x1', 'blockHeight': '0xccea5a', 'txIndex': '0x6', 'nodeAddress': 'hxfbddc0f1c0ab85e59578de4b883cdcf94ab33694', 'email': 'mekkahmaddeenah@gmail.com', 'website': 'https://twitter.com/BaraNode', 'details': 'https://icon.oaknode.com/p-rep/bara-node.json', 'p2pEndpoint': '35.224.139.66:7100', 'apiEndpoint': 'http://35.224.139.66:9000/api/v1/status/peer'}, {'address': 'hxbc9c73670c79e8f6f8060551a792c2cf29a8c491', 'status': '0x0', 'penalty': '0x0', 'grade': '0x1', 'name': 'MouseBelt | Multi.io', 'country': 'USA', 'city': 'San Francisco', 'stake': '0xde0b6b3a7640000', 'delegated': '0x183c6f5910275fde72c31', 'totalBlocks': '0x49f06e', 'validatedBlocks': '0x49d40a', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0x581767ba6189c400000', 'irepUpdateBlockHeight': '0x1422d4f', 'lastGenerateBlockHeight': '0x10ff05f', 'blockHeight': '0x7481f1', 'txIndex': '0x1', 'nodeAddress': 'hxbc9c73670c79e8f6f8060551a792c2cf29a8c491', 'email': 'markus@mousebelt.com', 'website': 'https://mousebelt.com', 'details': 'https://multi-prep.s3.amazonaws.com/p-rep.json', 'p2pEndpoint': '54.81.151.142:7100', 'apiEndpoint': 'http://54.81.151.142:9000/api/v1/status/peer'}, {'address': 'hx55d5b995fca77274cab59c850803f9ec3e00421f', 'status': '0x0', 'penalty': '0x0', 'grade': '0x1', 'name': 'Orangebloc', 'country': 'USA', 'city': 'Oregon', 'stake': '0x0', 'delegated': '0x17889368975886d86df5c', 'totalBlocks': '0x0', 'validatedBlocks': '0x0', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0xa968163f0a57b400000', 'irepUpdateBlockHeight': '0x1017cd2', 'lastGenerateBlockHeight': '-0x1', 'blockHeight': '0x100fd22', 'txIndex': '0x1', 'nodeAddress': 'hx55d5b995fca77274cab59c850803f9ec3e00421f', 'email': 'orangebloc@protonmail.com', 'website': 'https://google.com', 'details': 'https://orangebloc-prep.s3-us-west-2.amazonaws.com/details.json', 'p2pEndpoint': '54.203.40.175:7100', 'apiEndpoint': 'http://54.203.40.175:9000/api/v1/status/peer'}, {'address': 'hxdb0266079cb558e14b41ad7125b729c2c96b2d36', 'status': '0x0', 'penalty': '0x0', 'grade': '0x1', 'name': 'Midos', 'country': 'BGR', 'city': 'Varna', 'stake': '0x0', 'delegated': '0x17708f2fbcf26e62dff51', 'totalBlocks': '0x0', 'validatedBlocks': '0x0', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0x21e19e0c9bab2400000', 'irepUpdateBlockHeight': '0x131ae93', 'lastGenerateBlockHeight': '-0x1', 'blockHeight': '0xcbcfcd', 'txIndex': '0x1', 'nodeAddress': 'hxc72e9e857255d10cbc4ed97e06e4b3e7c8d55f65', 'email': 'nodelikethis@gmail.com', 'website': 'https://twitter.com/IconMidos', 'details': 'https://midos-mainnet-aws-us-west-2.s3-us-west-2.amazonaws.com/details.json', 'p2pEndpoint': '54.71.216.101:7100', 'apiEndpoint': 'http://54.71.216.101:9000/api/v1/status/peer'}, {'address': 'hxfac9169f5ee9d3c85c190cfa1208ca45540dcf38', 'status': '0x0', 'penalty': '0x0', 'grade': '0x1', 'name': 'MinerGate', 'country': 'FRA', 'city': 'Paris', 'stake': '0x15bc88d49927b5dd4000', 'delegated': '0x1766a59b01d1437fa0c9c', 'totalBlocks': '0x33623f', 'validatedBlocks': '0x330b76', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0xa968163f0a57b400000', 'irepUpdateBlockHeight': '0x9d0e5f', 'lastGenerateBlockHeight': '0xee6238', 'blockHeight': '0x9d0e5f', 'txIndex': '0x0', 'nodeAddress': 'hxfac9169f5ee9d3c85c190cfa1208ca45540dcf38', 'email': 'contact@minergate.com', 'website': 'https://minergate.com/icon-public-representative', 'details': 'http://51.15.244.139/details.json', 'p2pEndpoint': '51.38.62.198:7100', 'apiEndpoint': 'http://51.38.62.198:9000/api/v1/status/peer'}, {'address': 'hxaf6f61827901d7c4674cf5d2ddbbca2bdae72faf', 'status': '0x0', 'penalty': '0x0', 'grade': '0x1', 'name': 'ICONoscope', 'country': 'USA', 'city': 'Los Angeles', 'stake': '0x5150ae84a8cdf00000', 'delegated': '0x16629ea19f5deb922b000', 'totalBlocks': '0x0', 'validatedBlocks': '0x0', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0x9d6fd7cefee841b5579', 'irepUpdateBlockHeight': '0xc4a827', 'lastGenerateBlockHeight': '-0x1', 'blockHeight': '0xc4a827', 'txIndex': '0x1', 'nodeAddress': 'hx9799064f00bd7f95299e3f3a291f2ebcd0d16de8', 'email': 'iconoscope.prep@gmail.com', 'website': 'https://google.com', 'details': 'https://iconoscope-mainnet-aws-us-west-2.s3-us-west-2.amazonaws.com/details.json', 'p2pEndpoint': '44.239.209.49:7100', 'apiEndpoint': 'http://44.239.209.49:9000/api/v1/status/peer'}, {'address': 'hxfa6714e4ec784ae2176c416c46dc2c98b6ec9074', 'status': '0x0', 'penalty': '0x0', 'grade': '0x1', 'name': 'Piconbello { You Pick We Build }', 'country': 'GBR', 'city': 'London', 'stake': '0x0', 'delegated': '0x162d5dd3204398cd110d4', 'totalBlocks': '0x295', 'validatedBlocks': '0x0', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0xa968163f0a57b400000', 'irepUpdateBlockHeight': '0x73fd8c', 'lastGenerateBlockHeight': '-0x1', 'blockHeight': '0x73fd8c', 'txIndex': '0x1', 'nodeAddress': 'hxb20299f6fec4f43acdce9c6bb279e653a30703fd', 'email': 'contact@piconbello.com', 'website': 'https://piconbello.com', 'details': 'https://www.piconbello.com/preptools.json', 'p2pEndpoint': '34.74.79.223:7100', 'apiEndpoint': 'http://34.74.79.223:9000/api/v1/status/peer'}, {'address': 'hx352a4b557e9035f89b237fe85d6bb92f517fdbd7', 'status': '0x0', 'penalty': '0x0', 'grade': '0x1', 'name': 'Hourglass', 'country': 'SGP', 'city': 'Singapore', 'stake': '0x0', 'delegated': '0x15026864b1cd6735a8000', 'totalBlocks': '0x0', 'validatedBlocks': '0x0', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0xa968163f0a57b400000', 'irepUpdateBlockHeight': '0x1055924', 'lastGenerateBlockHeight': '-0x1', 'blockHeight': '0x102cbf6', 'txIndex': '0x1', 'nodeAddress': 'hx352a4b557e9035f89b237fe85d6bb92f517fdbd7', 'email': 'hourglass@mailfence.com', 'website': 'https://google.com', 'details': 'https://hourglass-prep.s3-ap-southeast-1.amazonaws.com/details.json', 'p2pEndpoint': '54.169.49.247:7100', 'apiEndpoint': 'http://54.169.49.247:9000/api/v1/status/peer'}, {'address': 'hxc7a057d0cbb75606352ec8cc698267b7247cc100', 'status': '0x0', 'penalty': '0x0', 'grade': '0x1', 'name': 'Cardinal', 'country': 'USA', 'city': 'Virginia', 'stake': '0x0', 'delegated': '0x1492a4d8f4e612ea08048', 'totalBlocks': '0x0', 'validatedBlocks': '0x0', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0xa968163f0a57b400000', 'irepUpdateBlockHeight': '0x1021fd4', 'lastGenerateBlockHeight': '-0x1', 'blockHeight': '0x1018d2a', 'txIndex': '0x1', 'nodeAddress': 'hxc7a057d0cbb75606352ec8cc698267b7247cc100', 'email': 'cardina1@tutanota.com', 'website': 'https://google.com', 'details': 'https://cardinal-prep.s3.amazonaws.com/details.json', 'p2pEndpoint': '52.44.216.243:7100', 'apiEndpoint': 'http://52.44.216.243:9000/api/v1/status/peer'}, {'address': 'hx1cb5883939f2fd478e92da1260438aa1f03440ca', 'status': '0x0', 'penalty': '0x0', 'grade': '0x1', 'name': 'ICON Sweden', 'country': 'SWE', 'city': 'Stockholm', 'stake': '0x36554bf5b3f1f0c4000', 'delegated': '0x141a7cfa3b93835713790', 'totalBlocks': '0xe552', 'validatedBlocks': '0xdc52', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0xa968163f0a57b400000', 'irepUpdateBlockHeight': '0x7405d6', 'lastGenerateBlockHeight': '0xabed67', 'blockHeight': '0x7405d6', 'txIndex': '0x1', 'nodeAddress': 'hx1cb5883939f2fd478e92da1260438aa1f03440ca', 'email': 'eossweden@gmail.com', 'website': 'https://eossweden.eu', 'details': 'https://eossweden.eu/prep-api.json', 'p2pEndpoint': '95.217.62.85:7100', 'apiEndpoint': 'http://95.217.62.85:9000/api/v1/status/peer'}, {'address': 'hxa92cb92cf29a2e4a7433ebd9103c15b7e71cbafd', 'status': '0x0', 'penalty': '0x0', 'grade': '0x1', 'name': 'DEMOS', 'country': 'JPN', 'city': 'Tokyo', 'stake': '0x0', 'delegated': '0x123703b4f95adebbd75c3', 'totalBlocks': '0x2cbdc0', 'validatedBlocks': '0x2cb60d', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0x2f6f10780d22cc00000', 'irepUpdateBlockHeight': '0x12c7ad8', 'lastGenerateBlockHeight': '0x1021f37', 'blockHeight': '0xb8877c', 'txIndex': '0x2', 'nodeAddress': 'hxa92cb92cf29a2e4a7433ebd9103c15b7e71cbafd', 'email': 'contact@deblock.co.jp', 'website': 'https://www.deblock.co.jp/', 'details': 'http://static.deblock.co.jp/prep/details.json', 'p2pEndpoint': '18.177.179.71:7100', 'apiEndpoint': 'http://18.177.179.71:9000/api/v1/status/peer'}, {'address': 'hx21a916b7a01b900861ca3f3b7ac76ba316169f8c', 'status': '0x0', 'penalty': '0x0', 'grade': '0x1', 'name': 'OneLife 9to5', 'country': 'SVN', 'city': 'Ljubljana', 'stake': '0x0', 'delegated': '0x10503022043536c931420', 'totalBlocks': '0x0', 'validatedBlocks': '0x0', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0x2f6f10780d22cc00000', 'irepUpdateBlockHeight': '0x12f72a5', 'lastGenerateBlockHeight': '-0x1', 'blockHeight': '0x930180', 'txIndex': '0x0', 'nodeAddress': 'hx21a916b7a01b900861ca3f3b7ac76ba316169f8c', 'email': 'onelife9to5@gmail.com', 'website': 'https://github.com/onelife9to5', 'details': 'https://raw.githubusercontent.com/onelife9to5/icon-prep-about/master/details.json', 'p2pEndpoint': '116.203.207.222:7100', 'apiEndpoint': 'http://116.203.207.222:9000/api/v1/status/peer'}, {'address': 'hx958eb3e5e9e41e53d000f684af78fd7384f2fe12', 'status': '0x0', 'penalty': '0x0', 'grade': '0x1', 'name': 'Yudus Lab', 'country': 'SGP', 'city': 'SGP', 'stake': '0x0', 'delegated': '0xfc7001738b107bfa0000', 'totalBlocks': '0x0', 'validatedBlocks': '0x0', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0x309702cd2b97bae4831', 'irepUpdateBlockHeight': '0x1354e0a', 'lastGenerateBlockHeight': '-0x1', 'blockHeight': '0x1354e0a', 'txIndex': '0x4', 'nodeAddress': 'hx958eb3e5e9e41e53d000f684af78fd7384f2fe12', 'email': 'duyyudus@gmail.com', 'website': 'https://yudus.dev', 'details': 'https://yudus.dev/info', 'p2pEndpoint': '149.28.130.174:7100', 'apiEndpoint': 'http://149.28.130.174:9000/api/v1/status/peer'}, {'address': 'hx19ccfc00b5af79ac75aaae9676b1f9ed5c9b5ca3', 'status': '0x0', 'penalty': '0x0', 'grade': '0x1', 'name': 'StakingTeam', 'country': 'ITA', 'city': 'Milan', 'stake': '0x43cee59e05e216714000', 'delegated': '0xe2fc312ef261f1f08bbe', 'totalBlocks': '0x10dd7', 'validatedBlocks': '0x10b71', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0xa968163f0a57b400000', 'irepUpdateBlockHeight': '0x752166', 'lastGenerateBlockHeight': '0xb86dd5', 'blockHeight': '0x752166', 'txIndex': '0x1', 'nodeAddress': 'hx19ccfc00b5af79ac75aaae9676b1f9ed5c9b5ca3', 'email': 'info@stakingteam.com', 'website': 'https://stakingteam.com', 'details': 'https://icon.stakingteam.com/citizen2.json', 'p2pEndpoint': '116.203.209.7:7100', 'apiEndpoint': 'http://116.203.209.7:9000/api/v1/status/peer'}, {'address': 'hxc97bc2b6863b5f0094de7f0e5bcf82a404c4199b', 'status': '0x0', 'penalty': '0x0', 'grade': '0x1', 'name': 'Silicon Valley ICON', 'country': 'USA', 'city': 'San Jose', 'stake': '0x7156bf5f5f524a40000', 'delegated': '0xdf1f6dedc00863c898cf', 'totalBlocks': '0x0', 'validatedBlocks': '0x0', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0x2f6f10780d22cc00000', 'irepUpdateBlockHeight': '0x1594c38', 'lastGenerateBlockHeight': '-0x1', 'blockHeight': '0xca12c5', 'txIndex': '0x1', 'nodeAddress': 'hxc97bc2b6863b5f0094de7f0e5bcf82a404c4199b', 'email': 'siliconvalleyicon@gmail.com', 'website': 'http://siliconvalleyicon.com', 'details': 'https://raw.githubusercontent.com/siliconvalleyicon/siliconvalleyicon.github.io/master/prep/json/svi.json', 'p2pEndpoint': '138.68.63.35:7100', 'apiEndpoint': 'http://138.68.63.35:9000/api/v1/status/peer'}, {'address': 'hx50040d39a04b7bc9197e9784779f07f9a6887811', 'status': '0x0', 'penalty': '0x0', 'grade': '0x1', 'name': 'ICON Labs', 'country': 'USA', 'city': 'Houston', 'stake': '0x0', 'delegated': '0xde990ecf1308252280e1', 'totalBlocks': '0x0', 'validatedBlocks': '0x0', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0x9f7163863e7096102c3', 'irepUpdateBlockHeight': '0xd071a7', 'lastGenerateBlockHeight': '-0x1', 'blockHeight': '0xd071a7', 'txIndex': '0x1', 'nodeAddress': 'hx50040d39a04b7bc9197e9784779f07f9a6887811', 'email': 'contact@iconlabs.dev', 'website': 'https://iconlabs.dev', 'details': 'http://prep-registration-close-stallion.s3-website.us-east-2.amazonaws.com/details.json', 'p2pEndpoint': '3.20.115.13:7100', 'apiEndpoint': 'http://3.20.115.13:9000/api/v1/status/peer'}, {'address': 'hx9571df0bd727ce18adc177e8fd6bc45f885b3382', 'status': '0x0', 'penalty': '0x0', 'grade': '0x1', 'name': 'Newroad', 'country': 'NLD', 'city': 'Amsterdam', 'stake': '0x0', 'delegated': '0xcb3fd533e55a1fe0af8c', 'totalBlocks': '0x11eb6', 'validatedBlocks': '0x11bba', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0x2f6f10780d22cc00000', 'irepUpdateBlockHeight': '0x13471b3', 'lastGenerateBlockHeight': '0xabede9', 'blockHeight': '0x73fc52', 'txIndex': '0x0', 'nodeAddress': 'hx9571df0bd727ce18adc177e8fd6bc45f885b3382', 'email': 'info@newroad.capital', 'website': 'https://newroad.network/', 'details': 'https://newroad.network/PrepDetails.json', 'p2pEndpoint': '5.189.170.65:7100', 'apiEndpoint': 'http://5.189.170.65:9000/api/v1/status/peer'}, {'address': 'hxd2de5d155251ff62bf2f6c2aa616da6472886165', 'status': '0x0', 'penalty': '0x0', 'grade': '0x1', 'name': 'Chainode Tech', 'country': 'CHE', 'city': 'Zug', 'stake': '0x3f21c6a214342578000', 'delegated': '0xcb05304a87b044466a07', 'totalBlocks': '0x42dd4', 'validatedBlocks': '0x41c84', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0x2f6f10780d22cc00000', 'irepUpdateBlockHeight': '0x13431a3', 'lastGenerateBlockHeight': '0xabed53', 'blockHeight': '0x740233', 'txIndex': '0x0', 'nodeAddress': 'hxd2de5d155251ff62bf2f6c2aa616da6472886165', 'email': 'contact@chainode.tech', 'website': 'https://chainode.tech', 'details': 'https://chainode.tech/icnmain/details.json', 'p2pEndpoint': '144.91.102.161:7100', 'apiEndpoint': 'http://144.91.102.161:9000/api/v1/status/peer'}, {'address': 'hxf08bd5835fdb53dc7c764a5f4dd4e2e6359324e8', 'status': '0x0', 'penalty': '0x0', 'grade': '0x1', 'name': 'Metanyx', 'country': 'GBR', 'city': 'London', 'stake': '0x0', 'delegated': '0xc465ac6c200c925047d0', 'totalBlocks': '0x0', 'validatedBlocks': '0x0', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0x4563918244f40000000', 'irepUpdateBlockHeight': '0x1309697', 'lastGenerateBlockHeight': '-0x1', 'blockHeight': '0x7bb84e', 'txIndex': '0x1', 'nodeAddress': 'hxf08bd5835fdb53dc7c764a5f4dd4e2e6359324e8', 'email': 'hello@metanyx.io', 'website': 'https://metanyx.com', 'details': 'https://metanyx.com/json', 'p2pEndpoint': '35.226.38.115:7100', 'apiEndpoint': 'http://35.226.38.115:9000/api/v1/status/peer'}, {'address': 'hx3571351614f64721081996247e53f6436ed05e55', 'status': '0x0', 'penalty': '0x0', 'grade': '0x1', 'name': 'ICONNECT-Global', 'country': 'KEN', 'city': 'Nairobi', 'stake': '0x1d930e0d8aa7e8000', 'delegated': '0xc3038b7f25d1c5ee3e17', 'totalBlocks': '0xa870', 'validatedBlocks': '0xa5d5', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0xa968163f0a57b400000', 'irepUpdateBlockHeight': '0x743366', 'lastGenerateBlockHeight': '0x9ec490', 'blockHeight': '0x743366', 'txIndex': '0x1', 'nodeAddress': 'hx3571351614f64721081996247e53f6436ed05e55', 'email': '254prep@gmail.com', 'website': 'http://iconnect.global', 'details': 'http://adaf.io/json', 'p2pEndpoint': '213.136.68.22:7100', 'apiEndpoint': 'http://213.136.68.22:9000/api/v1/status/peer'}, {'address': 'hx2cf560d42b3b505314c526336dad5d1f624bdb1f', 'status': '0x0', 'penalty': '0x0', 'grade': '0x1', 'name': 'Blockchain at Berkeley', 'country': 'USA', 'city': 'Berkeley', 'stake': '0x1adb248f99a65ca00000', 'delegated': '0xc271e27fbe18e3b9c504', 'totalBlocks': '0xa202b', 'validatedBlocks': '0xa1235', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0xa968163f0a57b400000', 'irepUpdateBlockHeight': '0x7470eb', 'lastGenerateBlockHeight': '0xb86dcb', 'blockHeight': '0x7470eb', 'txIndex': '0x0', 'nodeAddress': 'hx2cf560d42b3b505314c526336dad5d1f624bdb1f', 'email': 'external@blockchain.berkeley.edu', 'website': 'https://blockchain.berkeley.edu/', 'details': 'https://blockchain.berkeley.edu/wp-content/uploads/details.json', 'p2pEndpoint': '95.168.177.48:7100', 'apiEndpoint': 'http://95.168.177.48:9000/api/v1/status/peer'}, {'address': 'hx3ec5c0c906e857de231a7ae16e49ab92c5708699', 'status': '0x0', 'penalty': '0x0', 'grade': '0x1', 'name': 'ICX_Stratos', 'country': 'ZAF', 'city': 'Johannesburg', 'stake': '0x0', 'delegated': '0xbcfc37743f347a744000', 'totalBlocks': '0x0', 'validatedBlocks': '0x0', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0xa968163f0a57b400000', 'irepUpdateBlockHeight': '0x117eae4', 'lastGenerateBlockHeight': '-0x1', 'blockHeight': '0xe7d5cb', 'txIndex': '0x5', 'nodeAddress': 'hx3ec5c0c906e857de231a7ae16e49ab92c5708699', 'email': 'icxsa@protonmail.com', 'website': 'https://google.com', 'details': 'http://prep-registration-uncommon-jaguar.s3-website-ap-southeast-1.amazonaws.com/details.json', 'p2pEndpoint': '3.0.105.131:7100', 'apiEndpoint': 'http://3.0.105.131:9000/api/v1/status/peer'}, {'address': 'hx040b667627bbd02619e89439fab48b053e71c666', 'status': '0x0', 'penalty': '0x0', 'grade': '0x1', 'name': 'ICX Australia', 'country': 'AUS', 'city': 'Melbourne and Adelaide', 'stake': '0x0', 'delegated': '0xb39b2a3137a462491a68', 'totalBlocks': '0x52a', 'validatedBlocks': '0x0', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0xa968163f0a57b400000', 'irepUpdateBlockHeight': '0x7422d6', 'lastGenerateBlockHeight': '-0x1', 'blockHeight': '0x7422d6', 'txIndex': '0x0', 'nodeAddress': 'hx040b667627bbd02619e89439fab48b053e71c666', 'email': 'team@icxaustralia.com', 'website': 'https://icxaustralia.com', 'details': 'https://s3-ap-southeast-2.amazonaws.com/static.icxaustralia.com/icxaustraliajson.json', 'p2pEndpoint': 'pubnode.icxaustralia.com:7100', 'apiEndpoint': 'http://pubnode.icxaustralia.com:9000/api/v1/status/peer'}, {'address': 'hxa615b432cb84c3f2ed22194b32df317b474ec2c9', 'status': '0x0', 'penalty': '0x0', 'grade': '0x1', 'name': 'HOLA ICON', 'country': 'ESP', 'city': 'Malaga', 'stake': '0x7419585220cab4c8000', 'delegated': '0xa62a7836f0d4c58f59bd', 'totalBlocks': '0x0', 'validatedBlocks': '0x0', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0x2f6f10780d22cc00000', 'irepUpdateBlockHeight': '0x134b167', 'lastGenerateBlockHeight': '-0x1', 'blockHeight': '0x8ecb76', 'txIndex': '0x1', 'nodeAddress': 'hxa615b432cb84c3f2ed22194b32df317b474ec2c9', 'email': 'contacto@holaicon.com', 'website': 'http://www.holaicon.com', 'details': 'http://www.holaicon.com/json/details.json', 'p2pEndpoint': '88.99.216.112:7100', 'apiEndpoint': 'http://88.99.216.112:9000/api/v1/status/peer'}, {'address': 'hx9a20bc2de732aad6de56dcaabb800c24aab86c28', 'status': '0x0', 'penalty': '0x0', 'grade': '0x1', 'name': 'ICX Belgium', 'country': 'BEL', 'city': 'Mechelen', 'stake': '0x0', 'delegated': '0xa10a44a426307a8a2123', 'totalBlocks': '0x0', 'validatedBlocks': '0x0', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0x88ec9074f94b48fbf72', 'irepUpdateBlockHeight': '0xecce82', 'lastGenerateBlockHeight': '-0x1', 'blockHeight': '0xecce82', 'txIndex': '0x3', 'nodeAddress': 'hx9a20bc2de732aad6de56dcaabb800c24aab86c28', 'email': 'ICXBelgium@outlook.be', 'website': 'https://twitter.com/Lucky8Steven', 'details': 'http://meta.icon.oaknode.com/iconnode.icon.oaknode.com', 'p2pEndpoint': '35.223.9.223:7100', 'apiEndpoint': 'http://35.223.9.223:9000/api/v1/status/peer'}, {'address': 'hx48b3ed0161c639a4b9ec8f2277cc5ab338af7c9a', 'status': '0x0', 'penalty': '0x0', 'grade': '0x1', 'name': 'Alice', 'country': 'RUS', 'city': 'Moscow', 'stake': '0x0', 'delegated': '0xa02e357e4524b4fb4a09', 'totalBlocks': '0x0', 'validatedBlocks': '0x0', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0xa968163f0a57b400000', 'irepUpdateBlockHeight': '0xa342d6', 'lastGenerateBlockHeight': '-0x1', 'blockHeight': '0xa342d6', 'txIndex': '0x3', 'nodeAddress': 'hx48b3ed0161c639a4b9ec8f2277cc5ab338af7c9a', 'email': 'alice.prep@gmail.com', 'website': 'https://aliceone.online', 'details': 'https://aliceone.online/json', 'p2pEndpoint': 'aliceone.online:7100', 'apiEndpoint': 'http://aliceone.online:9000/api/v1/status/peer'}, {'address': 'hx18a807c44b0efdc2e02ea503d7bc011cc4242318', 'status': '0x0', 'penalty': '0x0', 'grade': '0x1', 'name': 'RHYTHM (Australia)', 'country': 'AUS', 'city': 'Brisbane', 'stake': '0x0', 'delegated': '0x9eb8f0c6df74d99a4000', 'totalBlocks': '0x0', 'validatedBlocks': '0x0', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0xa968163f0a57b400000', 'irepUpdateBlockHeight': '0xe60329', 'lastGenerateBlockHeight': '-0x1', 'blockHeight': '0xe2d3e9', 'txIndex': '0x1', 'nodeAddress': 'hxede3590816c42131570cf4caa5ee3bce250511fe', 'email': 'rhythmnode@gmail.com', 'website': 'https://google.com', 'details': 'https://rhythm-mainnet-aws-us-west-2.s3-us-west-2.amazonaws.com/details.json', 'p2pEndpoint': '44.230.104.155:7100', 'apiEndpoint': 'http://44.230.104.155:9000/api/v1/status/peer'}, {'address': 'hx2f8b9e265975bd6d99c6ea45219105174e8674d8', 'status': '0x0', 'penalty': '0x0', 'grade': '0x1', 'name': 'iconic innovation', 'country': 'NLD', 'city': 'Heerlen', 'stake': '0x0', 'delegated': '0x94e0c3bd0ce393ce2d03', 'totalBlocks': '0x0', 'validatedBlocks': '0x0', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0xa968163f0a57b400000', 'irepUpdateBlockHeight': '0x9bc882', 'lastGenerateBlockHeight': '-0x1', 'blockHeight': '0x9bc882', 'txIndex': '0x1', 'nodeAddress': 'hx2f8b9e265975bd6d99c6ea45219105174e8674d8', 'email': 'iconblockchain@gmail.com', 'website': 'https://iconblockchain.eu', 'details': 'http://88.99.165.21/details.json', 'p2pEndpoint': '88.99.165.21:7100', 'apiEndpoint': 'http://88.99.165.21:9000/api/v1/status/peer'}, {'address': 'hx5ac1e54766ae2e3340e0a6579c2ccde8b766cd76', 'status': '0x0', 'penalty': '0x0', 'grade': '0x1', 'name': 'Progression', 'country': 'CAN', 'city': 'Sudbury', 'stake': '0x0', 'delegated': '0x920c0b97bb8a5d250000', 'totalBlocks': '0x0', 'validatedBlocks': '0x0', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0xa968163f0a57b400000', 'irepUpdateBlockHeight': '0xd04082', 'lastGenerateBlockHeight': '-0x1', 'blockHeight': '0xcc5702', 'txIndex': '0x3', 'nodeAddress': 'hx5ac1e54766ae2e3340e0a6579c2ccde8b766cd76', 'email': 'jordz26@gmail.com', 'website': 'https://twitter.com/wkwwwwk', 'details': 'https://icon.oaknode.com/p-rep/progression.json', 'p2pEndpoint': '35.193.191.249:7100', 'apiEndpoint': 'http://35.193.191.249:9000/api/v1/status/peer'}, {'address': 'hx704cf476389a2e3ab13ca33eeea9480ee172cf60', 'status': '0x0', 'penalty': '0x0', 'grade': '0x1', 'name': 'ICON Russia', 'country': 'RUS', 'city': 'Saint-Petersburg', 'stake': '0x0', 'delegated': '0x8ef85407fa2f924f2bfc', 'totalBlocks': '0x0', 'validatedBlocks': '0x0', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0x915b303287052d6b8f6', 'irepUpdateBlockHeight': '0xfec3be', 'lastGenerateBlockHeight': '-0x1', 'blockHeight': '0xfec3be', 'txIndex': '0x1', 'nodeAddress': 'hx704cf476389a2e3ab13ca33eeea9480ee172cf60', 'email': 'alex.k@ossuan.com', 'website': 'http://ossuan.com', 'details': 'http://ossuan.com/oss.json', 'p2pEndpoint': '185.151.241.71:7100', 'apiEndpoint': 'http://185.151.241.71:9000/api/v1/status/peer'}, {'address': 'hxc93a0be07e8a74d9a86d8b12e569b91154681bc8', 'status': '0x0', 'penalty': '0x0', 'grade': '0x1', 'name': 'Signal9', 'country': 'KOR', 'city': 'Seoul', 'stake': '0x618d7873974a188000', 'delegated': '0x8c1694c8f7f1ad3963ac', 'totalBlocks': '0x7af6a2', 'validatedBlocks': '0x7adc0c', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0x878678326eac9000000', 'irepUpdateBlockHeight': '0xebf653', 'lastGenerateBlockHeight': '0x11f1270', 'blockHeight': '0x73f47e', 'txIndex': '0x1', 'nodeAddress': 'hxc93a0be07e8a74d9a86d8b12e569b91154681bc8', 'email': 'support@signal9.io', 'website': 'https://www.signal9.io/en/', 'details': 'https://signal9-prep-assets.s3.ap-northeast-2.amazonaws.com/prep_detail.json', 'p2pEndpoint': '13.209.183.179:7100', 'apiEndpoint': 'http://13.209.183.179:9000/api/v1/status/peer'}, {'address': 'hxf6672e670d2b5816061da22231f3a90f0b5955b5', 'status': '0x0', 'penalty': '0x0', 'grade': '0x1', 'name': 'ICON Chicago', 'country': 'USA', 'city': 'Chicago', 'stake': '0x42470d475e06e15e607', 'delegated': '0x84d34b918120f36f1d6d', 'totalBlocks': '0x0', 'validatedBlocks': '0x0', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0x9be95f29fc8426147f6', 'irepUpdateBlockHeight': '0xdc076c', 'lastGenerateBlockHeight': '-0x1', 'blockHeight': '0xdc076c', 'txIndex': '0x1', 'nodeAddress': 'hxf6672e670d2b5816061da22231f3a90f0b5955b5', 'email': 'iconchicagoteam@gmail.com', 'website': 'http://iconchicago.team', 'details': 'https://prep-details.s3-us-west-1.amazonaws.com/json', 'p2pEndpoint': '165.227.49.93:7100', 'apiEndpoint': 'http://165.227.49.93:9000/api/v1/status/peer'}, {'address': 'hxd243919468353a59250114d3ea891de8486f37c0', 'status': '0x0', 'penalty': '0x0', 'grade': '0x1', 'name': 'Iconserve', 'country': 'NLD', 'city': 'Amsterdam', 'stake': '0x0', 'delegated': '0x841690a2853e0a5e8000', 'totalBlocks': '0x0', 'validatedBlocks': '0x0', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0xa968163f0a57b400000', 'irepUpdateBlockHeight': '0xe54e71', 'lastGenerateBlockHeight': '-0x1', 'blockHeight': '0xc46c3b', 'txIndex': '0x1', 'nodeAddress': 'hxd243919468353a59250114d3ea891de8486f37c0', 'email': 'admin@iconserve.eu', 'website': 'https://iconserve.eu', 'details': 'https://raw.githubusercontent.com/Iconserve/Iconserve/master/prepdetails.json', 'p2pEndpoint': '85.214.207.194:7100', 'apiEndpoint': 'http://85.214.207.194:9000/api/v1/status/peer'}, {'address': 'hxd17cc393d0b0a59f0a03e4fb4ac1ab196743162f', 'status': '0x0', 'penalty': '0x0', 'grade': '0x1', 'name': 'Hermes Greece', 'country': 'GRC', 'city': 'Thessaloniki', 'stake': '0x0', 'delegated': '0x8258255b64972acf7462', 'totalBlocks': '0x0', 'validatedBlocks': '0x0', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0x28a857425466f800000', 'irepUpdateBlockHeight': '0x12cb39f', 'lastGenerateBlockHeight': '-0x1', 'blockHeight': '0xe82b19', 'txIndex': '0x4', 'nodeAddress': 'hxd17cc393d0b0a59f0a03e4fb4ac1ab196743162f', 'email': 'iconhermes@gmail.com', 'website': 'https://hermesicon.wordpress.com', 'details': 'http://prep-registration-relieved-gazelle.s3-website.us-east-2.amazonaws.com/details.json', 'p2pEndpoint': '3.20.144.125:7100', 'apiEndpoint': 'http://3.20.144.125:9000/api/v1/status/peer'}, {'address': 'hxab1b04e7975ed14074bbbd530333e815c4f36340', 'status': '0x0', 'penalty': '0x0', 'grade': '0x1', 'name': 'The Iconist', 'country': 'KOR', 'city': 'Seoul', 'stake': '0x2793460a81fb4000', 'delegated': '0x7fc9351586e88805af0c', 'totalBlocks': '0x0', 'validatedBlocks': '0x0', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0x94d267a8d1b758ed82a', 'irepUpdateBlockHeight': '0x10b38ab', 'lastGenerateBlockHeight': '-0x1', 'blockHeight': '0x10b38ab', 'txIndex': '0x1', 'nodeAddress': 'hxab1b04e7975ed14074bbbd530333e815c4f36340', 'email': 'hello@theicon.ist', 'website': 'https://theicon.ist', 'details': 'http://prep-registration-chief-fowl.s3-website.us-east-2.amazonaws.com/details.json', 'p2pEndpoint': '3.128.114.157:7100', 'apiEndpoint': 'http://3.128.114.157:9000/api/v1/status/peer'}, {'address': 'hxc5e0b88cb9092bbd8b004a517996139334752f62', 'status': '0x0', 'penalty': '0x0', 'grade': '0x1', 'name': 'Foundry Box Media', 'country': 'USA', 'city': 'Albuquerque', 'stake': '0x0', 'delegated': '0x7a36b672ce9d75511ecb', 'totalBlocks': '0x295', 'validatedBlocks': '0x0', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0x2f6f10780d22cc00000', 'irepUpdateBlockHeight': '0x12dd5b0', 'lastGenerateBlockHeight': '-0x1', 'blockHeight': '0x74186e', 'txIndex': '0x0', 'nodeAddress': 'hxc5e0b88cb9092bbd8b004a517996139334752f62', 'email': 'admin@foundryboxmedia.com', 'website': 'https://foundryboxmedia.com', 'details': 'https://foundryboxmedia.com/prep/info', 'p2pEndpoint': '13.86.179.194:7100', 'apiEndpoint': 'http://13.86.179.194:9000/api/v1/status/peer'}, {'address': 'hxe886f81684bbecddd69a608093fb88624c94d20a', 'status': '0x0', 'penalty': '0x0', 'grade': '0x1', 'name': 'POCKET / FIGMENT', 'country': 'CAN', 'city': 'Montreal', 'stake': '0x0', 'delegated': '0x75f0eb30ea4c36b51858', 'totalBlocks': '0x3bda3', 'validatedBlocks': '0x3a225', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0xa968163f0a57b400000', 'irepUpdateBlockHeight': '0x73faa9', 'lastGenerateBlockHeight': '0xac95d2', 'blockHeight': '0x73faa9', 'txIndex': '0x0', 'nodeAddress': 'hxe886f81684bbecddd69a608093fb88624c94d20a', 'email': 'contact@figment.network', 'website': 'https://p-rep.community/candidates/pocket-figment/', 'details': 'https://p-rep.community/pocket-figment.json', 'p2pEndpoint': '66.70.178.32:7100', 'apiEndpoint': 'http://66.70.178.32:9000/api/v1/status/peer'}, {'address': 'hx9fa9d224306b0722099d30471b3c2306421aead7', 'status': '0x0', 'penalty': '0x0', 'grade': '0x1', 'name': 'Espanicon', 'country': 'VEN', 'city': 'Caracas', 'stake': '0x0', 'delegated': '0x721c7369a4e81c3ae074', 'totalBlocks': '0x0', 'validatedBlocks': '0x0', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0x2f6f10780d22cc00000', 'irepUpdateBlockHeight': '0x12cd758', 'lastGenerateBlockHeight': '-0x1', 'blockHeight': '0xe14638', 'txIndex': '0x7', 'nodeAddress': 'hx9fa9d224306b0722099d30471b3c2306421aead7', 'email': 'info@espanicon.team', 'website': 'https://espanicon.team/', 'details': 'http://prep-registration-good-reindeer.s3-website-us-east-1.amazonaws.com/details.json', 'p2pEndpoint': '52.44.15.210:7100', 'apiEndpoint': 'http://52.44.15.210:9000/api/v1/status/peer'}, {'address': 'hx05493cc93caf332f46715411e12c927750d210b6', 'status': '0x0', 'penalty': '0x0', 'grade': '0x1', 'name': 'ICX Malta', 'country': 'MLT', 'city': 'Valletta', 'stake': '0x28f256929b78ae0c000', 'delegated': '0x716104679caa0d9ae806', 'totalBlocks': '0x0', 'validatedBlocks': '0x0', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0x3224f42723d45400000', 'irepUpdateBlockHeight': '0x13714bf', 'lastGenerateBlockHeight': '-0x1', 'blockHeight': '0x1147434', 'txIndex': '0x1', 'nodeAddress': 'hx05493cc93caf332f46715411e12c927750d210b6', 'email': 'icxmalta@gmail.com', 'website': 'https://icxmalta.com', 'details': 'http://3.23.2.225/icxmalta.json', 'p2pEndpoint': '3.23.2.225:7100', 'apiEndpoint': 'http://3.23.2.225:9000/api/v1/status/peer'}, {'address': 'hx54ebaf568d1d3e61a4ff7d648d3e5cb7ff6179ce', 'status': '0x0', 'penalty': '0x0', 'grade': '0x1', 'name': 'ICON Spark', 'country': 'USA', 'city': 'ICON', 'stake': '0x4e61b9e032aebb3c000', 'delegated': '0x6637aead7f39bc45b25d', 'totalBlocks': '0x0', 'validatedBlocks': '0x0', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0x26f6a8f4e6380300000', 'irepUpdateBlockHeight': '0x12c73d7', 'lastGenerateBlockHeight': '-0x1', 'blockHeight': '0xe6a2e5', 'txIndex': '0x1', 'nodeAddress': 'hx54ebaf568d1d3e61a4ff7d648d3e5cb7ff6179ce', 'email': 'support@iconspark.net', 'website': 'http://www.iconspark.net', 'details': 'https://iconspark.s3.amazonaws.com/iconspark.json', 'p2pEndpoint': '52.86.97.71:7100', 'apiEndpoint': 'http://52.86.97.71:9000/api/v1/status/peer'}, {'address': 'hxd00b8fe10deb49aa291a9b2cb460779fc622fa12', 'status': '0x0', 'penalty': '0x0', 'grade': '0x1', 'name': 'ICON4Education', 'country': 'USA', 'city': 'San Francisco', 'stake': '0x0', 'delegated': '0x64d9666a436787faffde', 'totalBlocks': '0x0', 'validatedBlocks': '0x0', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0x21e19e0c9bab2400000', 'irepUpdateBlockHeight': '0xf57504', 'lastGenerateBlockHeight': '-0x1', 'blockHeight': '0xbcfe35', 'txIndex': '0x1', 'nodeAddress': 'hxd00b8fe10deb49aa291a9b2cb460779fc622fa12', 'email': 'ICON4Education@gmail.com', 'website': 'https://twitter.com/ICON4Education', 'details': 'https://gist.githubusercontent.com/Icon4Education/723f6e34ce304083f53ae13cce7192fb/raw/b9a663a2e4640092734d55edd74765e93a13e96c/details.json', 'p2pEndpoint': '206.189.75.250:7100', 'apiEndpoint': 'http://206.189.75.250:9000/api/v1/status/peer'}, {'address': 'hx554ea6c0c56e6f30682dcaa79a326da3a364899f', 'status': '0x0', 'penalty': '0x0', 'grade': '0x1', 'name': 'UNBLOCK {ICX GROWTH INCUBATOR}', 'country': 'JPN', 'city': 'Tokyo', 'stake': '0xb50def61ec1815a4000', 'delegated': '0x6025a9119626b99f017d', 'totalBlocks': '0x149a0', 'validatedBlocks': '0x143fc', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0x28a857425466f800000', 'irepUpdateBlockHeight': '0x12cbdb6', 'lastGenerateBlockHeight': '0xabed8f', 'blockHeight': '0x7c311a', 'txIndex': '0x1', 'nodeAddress': 'hx554ea6c0c56e6f30682dcaa79a326da3a364899f', 'email': 'unblockicon@protonmail.com', 'website': 'https://unblock.casa', 'details': 'https://unblock.casa/json', 'p2pEndpoint': '144.76.203.165:7100', 'apiEndpoint': 'http://144.76.203.165:9000/api/v1/status/peer'}, {'address': 'hx0315df35eef97e1e73f1a72b1e78ff7f28ba3176', 'status': '0x0', 'penalty': '0x0', 'grade': '0x1', 'name': 'Blockheads Development', 'country': 'USA', 'city': 'Fresno', 'stake': '0x7f31762b69e2cc94000', 'delegated': '0x5f3642d2eed7360e122e', 'totalBlocks': '0x219cb9', 'validatedBlocks': '0x217f4b', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0x4563918244f40000000', 'irepUpdateBlockHeight': '0x1304304', 'lastGenerateBlockHeight': '0xc4ee89', 'blockHeight': '0x740bea', 'txIndex': '0x2', 'nodeAddress': 'hx0315df35eef97e1e73f1a72b1e78ff7f28ba3176', 'email': 'Jennifer@marketingiq.club', 'website': 'https://weareblockheads.tech', 'details': 'https://weareblockheads.tech/details.json', 'p2pEndpoint': '52.7.201.167:7100', 'apiEndpoint': 'http://52.7.201.167:9000/api/v1/status/peer'}, {'address': 'hx2f3fb9a9ff98df2145936d2bfcaa3837a289496b', 'status': '0x0', 'penalty': '0x0', 'grade': '0x1', 'name': 'Transcranial Solutions', 'country': 'SWE', 'city': 'Karlshamn', 'stake': '0x0', 'delegated': '0x5c2461ff8a24724f4f49', 'totalBlocks': '0x0', 'validatedBlocks': '0x0', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0x2f6f10780d22cc00000', 'irepUpdateBlockHeight': '0x130a3cd', 'lastGenerateBlockHeight': '-0x1', 'blockHeight': '0xe9de6e', 'txIndex': '0x3', 'nodeAddress': 'hxf8ad0f684e2a907ea33ec482ea4184c07ad27ec5', 'email': 'transcranial.solutions@gmail.com', 'website': 'https://twitter.com/TranscranialSol/', 'details': 'https://raw.githubusercontent.com/Transcranial-Solutions/Node/master/prep_details.json', 'p2pEndpoint': '31.208.165.65:7100', 'apiEndpoint': 'http://31.208.165.65:9000/api/v1/status/peer'}, {'address': 'hxbf0f9646b09b0e0943ed768795c0d6c32a758d35', 'status': '0x0', 'penalty': '0x0', 'grade': '0x1', 'name': 'ICON USA', 'country': 'USA', 'city': 'Brooklyn', 'stake': '0x0', 'delegated': '0x59ef82689bfe7605c758', 'totalBlocks': '0x0', 'validatedBlocks': '0x0', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0x97004caa1539ec28cea', 'irepUpdateBlockHeight': '0xe68aba', 'lastGenerateBlockHeight': '-0x1', 'blockHeight': '0xe68aba', 'txIndex': '0x4', 'nodeAddress': 'hxbf0f9646b09b0e0943ed768795c0d6c32a758d35', 'email': 'iconusaprep@gmail.com', 'website': 'https://google.com', 'details': 'http://prep-registration-unique-katydid.s3-website.us-east-2.amazonaws.com/details.json', 'p2pEndpoint': '3.16.177.23:7100', 'apiEndpoint': 'http://3.16.177.23:9000/api/v1/status/peer'}, {'address': 'hxe36c036b294cd8a7dc511d7f58c541cdc93704bb', 'status': '0x0', 'penalty': '0x0', 'grade': '0x1', 'name': 'ICONSG', 'country': 'SGP', 'city': 'Singapore', 'stake': '0x0', 'delegated': '0x547d50a041dce941c000', 'totalBlocks': '0x0', 'validatedBlocks': '0x0', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0x91a56492fce72e59247', 'irepUpdateBlockHeight': '0xfa4f4b', 'lastGenerateBlockHeight': '-0x1', 'blockHeight': '0xfa4f4b', 'txIndex': '0x2', 'nodeAddress': 'hxe36c036b294cd8a7dc511d7f58c541cdc93704bb', 'email': 'iconsg10@gmail.com', 'website': 'https://insight-icon.net', 'details': 'http://prep-registration-grown-chamois.s3-website-ap-southeast-1.amazonaws.com/details.json', 'p2pEndpoint': '3.0.140.226:7100', 'apiEndpoint': 'http://3.0.140.226:9000/api/v1/status/peer'}, {'address': 'hxf49551380a26055a26f4dffd3aa837e66877571b', 'status': '0x0', 'penalty': '0x0', 'grade': '0x1', 'name': 'Wetez', 'country': 'CHN', 'city': 'Bei Jing', 'stake': '0x0', 'delegated': '0x53d6448eb10f93328000', 'totalBlocks': '0x0', 'validatedBlocks': '0x0', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0xa968163f0a57b400000', 'irepUpdateBlockHeight': '0x748901', 'lastGenerateBlockHeight': '-0x1', 'blockHeight': '0x748901', 'txIndex': '0x0', 'nodeAddress': 'hxf49551380a26055a26f4dffd3aa837e66877571b', 'email': 'kamiesheep@gmail.com', 'website': 'https://www.wetez.io', 'details': 'https://api.wetez.io/blossom/v4/webapi/ext/iconjson', 'p2pEndpoint': '13.228.38.77:7100', 'apiEndpoint': 'http://13.228.38.77:9000/api/v1/status/peer'}, {'address': 'hxf85e4d956f1dfad8d713421ab58b24863c28b28a', 'status': '0x0', 'penalty': '0x0', 'grade': '0x1', 'name': 'DRAICON BALL', 'country': 'KOR', 'city': 'Seoul', 'stake': '0x0', 'delegated': '0x53c6a3c3deab031c0899', 'totalBlocks': '0xa0b1', 'validatedBlocks': '0x9da2', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0xa968163f0a57b400000', 'irepUpdateBlockHeight': '0x740ad4', 'lastGenerateBlockHeight': '0x9ec4ea', 'blockHeight': '0x740ad4', 'txIndex': '0x0', 'nodeAddress': 'hxf85e4d956f1dfad8d713421ab58b24863c28b28a', 'email': 'renov.jung@gmail.com', 'website': 'https://www.iconworld.io', 'details': 'https://www.iconworld.io/draiconball_detail.json', 'p2pEndpoint': '52.78.0.124:7100', 'apiEndpoint': 'http://52.78.0.124:9000/api/v1/status/peer'}, {'address': 'hx42c103859f2cc380bacb5b0ad3b058d7fe57f430', 'status': '0x0', 'penalty': '0x0', 'grade': '0x1', 'name': 'ICON Oasis', 'country': 'USA', 'city': 'San Diego', 'stake': '0x401e93f9c894278000', 'delegated': '0x51e7a86a4538cece2000', 'totalBlocks': '0x0', 'validatedBlocks': '0x0', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0xa968163f0a57b400000', 'irepUpdateBlockHeight': '0xe7d544', 'lastGenerateBlockHeight': '-0x1', 'blockHeight': '0xdadad9', 'txIndex': '0x1', 'nodeAddress': 'hx42c103859f2cc380bacb5b0ad3b058d7fe57f430', 'email': 'icon.oasis.prep@gmail.com', 'website': 'https://prep-registration-assured-haddock.s3-us-west-2.amazonaws.com/index.html', 'details': 'http://prep-registration-assured-haddock.s3-website-us-west-2.amazonaws.com/details.json', 'p2pEndpoint': '44.232.106.11:7100', 'apiEndpoint': 'http://44.232.106.11:9000/api/v1/status/peer'}, {'address': 'hx9121c5914ce34f59de52fe15efd6f7982c2ab8ae', 'status': '0x0', 'penalty': '0x0', 'grade': '0x1', 'name': 'ICON-NYC', 'country': 'USA', 'city': 'New York City', 'stake': '0x12c8fdeb655525f940d', 'delegated': '0x506cd62e5f4590b46edd', 'totalBlocks': '0x0', 'validatedBlocks': '0x0', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0xa968163f0a57b400000', 'irepUpdateBlockHeight': '0xe93c54', 'lastGenerateBlockHeight': '-0x1', 'blockHeight': '0xcbd9e9', 'txIndex': '0x4', 'nodeAddress': 'hx9121c5914ce34f59de52fe15efd6f7982c2ab8ae', 'email': 'icon.nyc.prep@gmail.com', 'website': 'http://prep-registration-wanted-bonefish.s3-website.us-east-2.amazonaws.com', 'details': 'http://prep-registration-wanted-bonefish.s3-website.us-east-2.amazonaws.com/details.json', 'p2pEndpoint': '3.19.25.206:7100', 'apiEndpoint': 'http://3.19.25.206:9000/api/v1/status/peer'}, {'address': 'hxff6437443e7ed76d2d7f97f0d28d7ae1071bd0bb', 'status': '0x0', 'penalty': '0x0', 'grade': '0x1', 'name': 'Icon-4-Business', 'country': 'USA', 'city': 'Chattanooga', 'stake': '0x1c083715e1ee50000', 'delegated': '0x4e05264aa30588d1f060', 'totalBlocks': '0x0', 'validatedBlocks': '0x0', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0x3635c9adc5dea000000', 'irepUpdateBlockHeight': '0x145f605', 'lastGenerateBlockHeight': '-0x1', 'blockHeight': '0xdb2150', 'txIndex': '0x2', 'nodeAddress': 'hxff6437443e7ed76d2d7f97f0d28d7ae1071bd0bb', 'email': '1guitar6strings@gmail.com', 'website': 'http://www.tokenup.io', 'details': 'http://keekee.io/node.json', 'p2pEndpoint': '134.122.40.114:7100', 'apiEndpoint': 'http://134.122.40.114:9000/api/v1/status/peer'}, {'address': 'hxdcff7a1ab76ba34a9e3c85b0f1e7b2bf436ac024', 'status': '0x0', 'penalty': '0x0', 'grade': '0x1', 'name': 'Staked', 'country': 'USA', 'city': 'Boston', 'stake': '0x444ae76d6bb28000', 'delegated': '0x4238244b4a0be1026c88', 'totalBlocks': '0x0', 'validatedBlocks': '0x0', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0xa968163f0a57b400000', 'irepUpdateBlockHeight': '0x109fad4', 'lastGenerateBlockHeight': '-0x1', 'blockHeight': '0x75b2dc', 'txIndex': '0x0', 'nodeAddress': 'hxdcff7a1ab76ba34a9e3c85b0f1e7b2bf436ac024', 'email': 'devops@staked.us', 'website': 'https://icon.staked.us', 'details': 'https://storage.googleapis.com/icon-json-data/prod.json', 'p2pEndpoint': '3.225.16.37:7100', 'apiEndpoint': 'http://3.225.16.37:9000/api/v1/status/peer'}, {'address': 'hx55f2cc3244350085734f4e405f761ecf3d2095b3', 'status': '0x0', 'penalty': '0x0', 'grade': '0x1', 'name': 'Staked Tech', 'country': 'HRV', 'city': 'Zagreb', 'stake': '0x0', 'delegated': '0x4106e4a3a76310fb50fa', 'totalBlocks': '0x0', 'validatedBlocks': '0x0', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0x2c0bb3dd30c4e200000', 'irepUpdateBlockHeight': '0x12cea2d', 'lastGenerateBlockHeight': '-0x1', 'blockHeight': '0xd97c64', 'txIndex': '0x2', 'nodeAddress': 'hx55f2cc3244350085734f4e405f761ecf3d2095b3', 'email': 'staked.tech@protonmail.com', 'website': 'https://www.staked.tech/', 'details': 'https://raw.githubusercontent.com/iCONsolidation/Icon-P-Rep/master/setPRep.json', 'p2pEndpoint': '49.12.5.98:7100', 'apiEndpoint': 'http://49.12.5.98:9000/api/v1/status/peer'}, {'address': 'hx34f817bad3d0554da6c6642b06056bda32b06396', 'status': '0x0', 'penalty': '0x0', 'grade': '0x1', 'name': 'GagarinCrypto', 'country': 'RUS', 'city': 'Moscow', 'stake': '0x0', 'delegated': '0x40e424eb73fd5db64000', 'totalBlocks': '0x0', 'validatedBlocks': '0x0', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0x9533cf701ddf5d6df66', 'irepUpdateBlockHeight': '0x11a2d8e', 'lastGenerateBlockHeight': '-0x1', 'blockHeight': '0x11a2d8e', 'txIndex': '0x1', 'nodeAddress': 'hx34f817bad3d0554da6c6642b06056bda32b06396', 'email': 'youremail@gmail.com', 'website': 'https://insight-icon.net', 'details': 'http://prep-registration-renewing-mongrel.s3-website.eu-north-1.amazonaws.com/details.json', 'p2pEndpoint': '13.53.33.45:7100', 'apiEndpoint': 'http://13.53.33.45:9000/api/v1/status/peer'}, {'address': 'hxaf33a0c15dbf52b76590422cbb7e2d835034cdf6', 'status': '0x0', 'penalty': '0x0', 'grade': '0x1', 'name': 'Plan-P', 'country': 'KOR', 'city': 'Seoul', 'stake': '0x2056a3441b0467ac000', 'delegated': '0x405d25e6fa36b56ab1e1', 'totalBlocks': '0x0', 'validatedBlocks': '0x0', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0x9b546a1084036b509c1', 'irepUpdateBlockHeight': '0xe1da0a', 'lastGenerateBlockHeight': '-0x1', 'blockHeight': '0xe1da0a', 'txIndex': '0x1', 'nodeAddress': 'hxaf33a0c15dbf52b76590422cbb7e2d835034cdf6', 'email': 'master@plan-p.io', 'website': 'http://plan-p.io', 'details': 'http://icon.plan-p.io/config_mainnet.json', 'p2pEndpoint': '15.164.138.240:7100', 'apiEndpoint': 'http://15.164.138.240:9000/api/v1/status/peer'}, {'address': 'hx02645148d0887cd1daf345e3eabf8871780398e5', 'status': '0x0', 'penalty': '0x0', 'grade': '0x1', 'name': 'ICONLEO', 'country': 'LVA', 'city': 'Riga', 'stake': '0x0', 'delegated': '0x3bb69cfb079b071dacad', 'totalBlocks': '0x0', 'validatedBlocks': '0x0', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0x2f6f10780d22cc00000', 'irepUpdateBlockHeight': '0x12ef93c', 'lastGenerateBlockHeight': '-0x1', 'blockHeight': '0xdbf836', 'txIndex': '0x1', 'nodeAddress': 'hx02645148d0887cd1daf345e3eabf8871780398e5', 'email': 'v@inbox.eu', 'website': 'https://twitter.com/iconleo5', 'details': 'http://meta.icon.oaknode.com/vladimirs.icon.oaknode.com', 'p2pEndpoint': '34.69.198.198:7100', 'apiEndpoint': 'http://34.69.198.198:9000/api/v1/status/peer'}, {'address': 'hx135d9c1b6ad2b7750f153d1649b676f8625e470c', 'status': '0x0', 'penalty': '0x0', 'grade': '0x1', 'name': 'ICON Guide Star', 'country': 'GBR', 'city': 'London', 'stake': '0x5aa3a9455d4520000', 'delegated': '0x3b6fcbcea03c0d8d5540', 'totalBlocks': '0x0', 'validatedBlocks': '0x0', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0x2f6f10780d22cc00000', 'irepUpdateBlockHeight': '0x1302b5d', 'lastGenerateBlockHeight': '-0x1', 'blockHeight': '0xe9e2e6', 'txIndex': '0x10', 'nodeAddress': 'hx135d9c1b6ad2b7750f153d1649b676f8625e470c', 'email': 'iconguidestar@gmail.com', 'website': 'https://medium.com/@iconguidestar', 'details': 'http://prep-registration-exact-cougar.s3-website.eu-west-2.amazonaws.com/details.json', 'p2pEndpoint': '3.10.31.249:7100', 'apiEndpoint': 'http://3.10.31.249:9000/api/v1/status/peer'}, {'address': 'hx800853ad662997466bd41653329ba97a2ed1f838', 'status': '0x0', 'penalty': '0x0', 'grade': '0x1', 'name': 'ICON Econ', 'country': 'USA', 'city': 'San Francisco', 'stake': '0x0', 'delegated': '0x38cfc4a297f0a3fa7ec2', 'totalBlocks': '0x0', 'validatedBlocks': '0x0', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0x8a43a8b7af792fec7f6', 'irepUpdateBlockHeight': '0x11c1b0b', 'lastGenerateBlockHeight': '-0x1', 'blockHeight': '0x11c1b0b', 'txIndex': '0x1', 'nodeAddress': 'hx800853ad662997466bd41653329ba97a2ed1f838', 'email': 'nanaisback@protonmail.com', 'website': 'https://insight-icon.net', 'details': 'http://prep-registration-immune-crawfish.s3-website.us-east-2.amazonaws.com/details.json', 'p2pEndpoint': '3.130.56.105:7100', 'apiEndpoint': 'http://3.130.56.105:9000/api/v1/status/peer'}, {'address': 'hx6deee24065b8fa75298b0a22c5a221e2587ba09d', 'status': '0x0', 'penalty': '0x0', 'grade': '0x1', 'name': 'Sunrise', 'country': 'CAN', 'city': 'Vancouver', 'stake': '0x0', 'delegated': '0x342f8fdfdb64b767cf97', 'totalBlocks': '0x0', 'validatedBlocks': '0x0', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0x9ec8923dd9175fad52d', 'irepUpdateBlockHeight': '0xdae809', 'lastGenerateBlockHeight': '-0x1', 'blockHeight': '0xdae809', 'txIndex': '0x1', 'nodeAddress': 'hx6deee24065b8fa75298b0a22c5a221e2587ba09d', 'email': 'hellosunrise18@gmail.com', 'website': 'https://twitter.com/hellosunrise18', 'details': 'http://meta.icon.oaknode.com/wayneliang.icon.oaknode.com.json', 'p2pEndpoint': '35.222.254.39:7100', 'apiEndpoint': 'http://35.222.254.39:9000/api/v1/status/peer'}, {'address': 'hxd4f3fc3fbdc475874285abf9459119f8dede31dd', 'status': '0x0', 'penalty': '0x0', 'grade': '0x1', 'name': 'Sicko Node', 'country': 'AUS', 'city': 'Sydney', 'stake': '0x0', 'delegated': '0x3052e90b9208fad25c00', 'totalBlocks': '0x0', 'validatedBlocks': '0x0', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0xa968163f0a57b400000', 'irepUpdateBlockHeight': '0xe165dc', 'lastGenerateBlockHeight': '-0x1', 'blockHeight': '0xdd78cd', 'txIndex': '0x1', 'nodeAddress': 'hxd4f3fc3fbdc475874285abf9459119f8dede31dd', 'email': 'sickonode@aussiebb.com.au', 'website': 'https://twitter.com/sickonode', 'details': 'http://meta.icon.oaknode.com/sickonode.icon.oaknode.com', 'p2pEndpoint': '35.239.154.121:7100', 'apiEndpoint': 'http://35.239.154.121:9000/api/v1/status/peer'}, {'address': 'hx11434d1fce3edecf0e84a9c992a712f0cebf6992', 'status': '0x0', 'penalty': '0x0', 'grade': '0x1', 'name': 'icon-node-NL', 'country': 'NLD', 'city': 'Dronten', 'stake': '0x2c36398e6e74eb20000', 'delegated': '0x2e7f2a6f992951550ed5', 'totalBlocks': '0x0', 'validatedBlocks': '0x0', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0x88ca3b77f10a1e0c29b', 'irepUpdateBlockHeight': '0xf2f3ff', 'lastGenerateBlockHeight': '-0x1', 'blockHeight': '0xf2f3ff', 'txIndex': '0x1', 'nodeAddress': 'hx11434d1fce3edecf0e84a9c992a712f0cebf6992', 'email': 'nocadmin@pm.me', 'website': 'https://www.node-icon.web.hosting-russia.ru/', 'details': 'https://www.node-icon.web.hosting-russia.ru/prep/details.json', 'p2pEndpoint': '194.147.115.11:7100', 'apiEndpoint': 'http://194.147.115.11:9000/api/v1/status/peer'}, {'address': 'hx004783f10b0bd56764535cf931650dfe6d42cd9e', 'status': '0x0', 'penalty': '0x0', 'grade': '0x1', 'name': 'DELIGHT', 'country': 'KOR', 'city': 'Seoul', 'stake': '0x575ecdff3aad2574000', 'delegated': '0x2d515bafe6e713a46db0', 'totalBlocks': '0x0', 'validatedBlocks': '0x0', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0xa968163f0a57b400000', 'irepUpdateBlockHeight': '0x73f234', 'lastGenerateBlockHeight': '-0x1', 'blockHeight': '0x73f234', 'txIndex': '0x1', 'nodeAddress': 'hx004783f10b0bd56764535cf931650dfe6d42cd9e', 'email': 'contact@de-light.io', 'website': 'https://de-light.io', 'details': 'https://de-light.io/icon/de-light_icon.json', 'p2pEndpoint': 'node.icon.de-light.io:7100', 'apiEndpoint': 'http://node.icon.de-light.io:9000/api/v1/status/peer'}, {'address': 'hx5ccbcb12e2248acfd420b9adb79ceb8f324107d6', 'status': '0x0', 'penalty': '0x0', 'grade': '0x1', 'name': 'Frontlines Media', 'country': 'USA', 'city': 'San Juan', 'stake': '0x0', 'delegated': '0x2c857e119e66d55acb8f', 'totalBlocks': '0x0', 'validatedBlocks': '0x0', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0x9f7163863e7096102c3', 'irepUpdateBlockHeight': '0xd09c7c', 'lastGenerateBlockHeight': '-0x1', 'blockHeight': '0xd09c7c', 'txIndex': '0x2', 'nodeAddress': 'hx5ccbcb12e2248acfd420b9adb79ceb8f324107d6', 'email': 'brett@frontlines.io', 'website': 'https://www.frontlines.io', 'details': 'http://prep-registration-clever-muskrat.s3-website-us-west-2.amazonaws.com/details.json', 'p2pEndpoint': '44.232.97.114:7100', 'apiEndpoint': 'http://44.232.97.114:9000/api/v1/status/peer'}, {'address': 'hxd19d4bc5a9eef4e044d83abc82d903ac80504ac8', 'status': '0x0', 'penalty': '0x0', 'grade': '0x1', 'name': 'ICON BOOM', 'country': 'GBR', 'city': 'London', 'stake': '0x19852909415318c8000', 'delegated': '0x2a8928d36ce7e7332e0d', 'totalBlocks': '0x0', 'validatedBlocks': '0x0', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0x9b597abf94462383846', 'irepUpdateBlockHeight': '0xe0bbc5', 'lastGenerateBlockHeight': '-0x1', 'blockHeight': '0xe0bbc5', 'txIndex': '0x1', 'nodeAddress': 'hxd19d4bc5a9eef4e044d83abc82d903ac80504ac8', 'email': 'youremail@gmail.com', 'website': 'https://iconboom.co.uk', 'details': 'http://prep-registration-comic-pup.s3-website.eu-west-2.amazonaws.com/details.json', 'p2pEndpoint': '3.11.156.255:7100', 'apiEndpoint': 'http://3.11.156.255:9000/api/v1/status/peer'}, {'address': 'hx475e37c2decf56f5bf678060e3937c944921ccba', 'status': '0x0', 'penalty': '0x0', 'grade': '0x1', 'name': 'ICON London', 'country': 'GBR', 'city': 'London', 'stake': '0x0', 'delegated': '0x26b383075efdd5536596', 'totalBlocks': '0x0', 'validatedBlocks': '0x0', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0x9f73b5824ed71a423d4', 'irepUpdateBlockHeight': '0xd19948', 'lastGenerateBlockHeight': '-0x1', 'blockHeight': '0xd19948', 'txIndex': '0x1', 'nodeAddress': 'hx475e37c2decf56f5bf678060e3937c944921ccba', 'email': 'jackamasterson@hotmail.co.uk', 'website': 'http://prep-registration-ideal-bluebird.s3-website-eu-west-1.amazonaws.com/', 'details': 'http://prep-registration-ideal-bluebird.s3-website-eu-west-1.amazonaws.com/details.json', 'p2pEndpoint': '34.240.58.101:7100', 'apiEndpoint': 'http://34.240.58.101:9000/api/v1/status/peer'}, {'address': 'hx29fbc9cfb184d75d74cab33c70820a696998b596', 'status': '0x0', 'penalty': '0x0', 'grade': '0x1', 'name': 'ICONIST VOTE WISELY - twitter.com/info_prep', 'country': 'GRD', 'city': 'Grenada', 'stake': '0x0', 'delegated': '0x24e4e4e428b1fe2c8000', 'totalBlocks': '0x0', 'validatedBlocks': '0x0', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0x21e19e0c9bab2400000', 'irepUpdateBlockHeight': '0x128f2d9', 'lastGenerateBlockHeight': '-0x1', 'blockHeight': '0xde21d7', 'txIndex': '0x1', 'nodeAddress': 'hx29fbc9cfb184d75d74cab33c70820a696998b596', 'email': 'iconnode@gmail.com', 'website': 'https://twitter.com/info_prep', 'details': 'http://prep-registration-charmed-goose.s3-website-eu-west-1.amazonaws.com/details.json', 'p2pEndpoint': '34.255.37.220:7100', 'apiEndpoint': 'http://34.255.37.220:9000/api/v1/status/peer'}, {'address': 'hx35a0a985a9abd8cbbc71bec1aba74ca204369c8a', 'status': '0x0', 'penalty': '0x0', 'grade': '0x1', 'name': 'RemICX', 'country': 'THA', 'city': 'Bangkok', 'stake': '0x0', 'delegated': '0x240a760f2c90794a41d4', 'totalBlocks': '0x0', 'validatedBlocks': '0x0', 'unvalidatedSequenceBlocks': '0x0', 'irep': '0xa968163f0a57b400000', 'irepUpdateBlockHeight': '0xdfeb15', 'lastGenerateBlockHeight': '-0x1', 'blockHeight': '0xdf4247', 'txIndex': '0x6', 'nodeAddress': 'hx35a0a985a9abd8cbbc71bec1aba74ca204369c8a', 'email': 'remicx.net@gmail.com', 'website': 'https://www.remicx.net', 'details': 'https://www.remicx.net/conf/config.json', 'p2pEndpoint': '138.201.137.189:7100', 'apiEndpoint': 'http://138.201.137.189:9000/api/v1/status/peer'}] # preps = ['http://210.180.69.101:9000/api/v1/status/peer', 'http://3.14.196.215:9000/api/v1/status/peer', 'http://3.114.212.239:9000/api/v1/status/peer', 'http://13.58.103.19:9000/api/v1/status/peer', 'http://52.47.90.20:9000/api/v1/status/peer', 'http://35.231.14.204:9000/api/v1/status/peer', 'http://3.137.75.159:9000/api/v1/status/peer', 'http://18.230.33.207:9000/api/v1/status/peer', 'http://169.48.79.54:9000/api/v1/status/peer', 'http://13.115.105.184:9000/api/v1/status/peer', 'http://34.239.57.162:9000/api/v1/status/peer', 'http://159.69.63.222:9000/api/v1/status/peer', 'http://13.125.155.171:9000/api/v1/status/peer', 'http://18.140.186.29:9000/api/v1/status/peer', 'http://3.8.92.147:9000/api/v1/status/peer', 'http://185.172.110.74:9000/api/v1/status/peer', 'http://52.36.75.189:9000/api/v1/status/peer', 'http://95.179.230.6:9000/api/v1/status/peer', 'http://52.34.9.60:9000/api/v1/status/peer', 'http://15.188.240.233:9000/api/v1/status/peer', 'http://51.159.17.38:9000/api/v1/status/peer', 'http://84.201.175.163:9000/api/v1/status/peer', 'http://155.138.134.222:9000/api/v1/status/peer', 'http://15.222.213.224:9000/api/v1/status/peer', 'http://44.238.34.143:9000/api/v1/status/peer', 'http://167.71.4.34:9000/api/v1/status/peer', 'http://3.218.194.233:9000/api/v1/status/peer', 'http://13.124.127.40:9000/api/v1/status/peer', 'http://13.49.93.73:9000/api/v1/status/peer', 'http://3.233.34.53:9000/api/v1/status/peer', 'http://159.69.136.250:9000/api/v1/status/peer', 'http://3.128.245.157:9000/api/v1/status/peer', 'http://13.230.106.222:9000/api/v1/status/peer', 'http://35.224.139.66:9000/api/v1/status/peer', 'http://54.81.151.142:9000/api/v1/status/peer', 'http://54.203.40.175:9000/api/v1/status/peer', 'http://54.71.216.101:9000/api/v1/status/peer', 'http://51.38.62.198:9000/api/v1/status/peer', 'http://44.239.209.49:9000/api/v1/status/peer', 'http://34.74.79.223:9000/api/v1/status/peer', 'http://54.169.49.247:9000/api/v1/status/peer', 'http://52.44.216.243:9000/api/v1/status/peer', 'http://95.217.62.85:9000/api/v1/status/peer', 'http://18.177.179.71:9000/api/v1/status/peer', 'http://116.203.207.222:9000/api/v1/status/peer', 'http://149.28.130.174:9000/api/v1/status/peer', 'http://116.203.209.7:9000/api/v1/status/peer', 'http://138.68.63.35:9000/api/v1/status/peer', 'http://3.20.115.13:9000/api/v1/status/peer', 'http://5.189.170.65:9000/api/v1/status/peer', 'http://144.91.102.161:9000/api/v1/status/peer', 'http://35.226.38.115:9000/api/v1/status/peer', 'http://213.136.68.22:9000/api/v1/status/peer', 'http://95.168.177.48:9000/api/v1/status/peer', 'http://3.0.105.131:9000/api/v1/status/peer', 'http://pubnode.icxaustralia.com:9000/api/v1/status/peer', 'http://88.99.216.112:9000/api/v1/status/peer', 'http://35.223.9.223:9000/api/v1/status/peer', 'http://aliceone.online:9000/api/v1/status/peer', 'http://44.230.104.155:9000/api/v1/status/peer', 'http://88.99.165.21:9000/api/v1/status/peer', 'http://35.193.191.249:9000/api/v1/status/peer', 'http://185.151.241.71:9000/api/v1/status/peer', 'http://13.209.183.179:9000/api/v1/status/peer', 'http://165.227.49.93:9000/api/v1/status/peer', 'http://85.214.207.194:9000/api/v1/status/peer', 'http://3.20.144.125:9000/api/v1/status/peer', 'http://3.128.114.157:9000/api/v1/status/peer', 'http://13.86.179.194:9000/api/v1/status/peer', 'http://66.70.178.32:9000/api/v1/status/peer', 'http://52.44.15.210:9000/api/v1/status/peer', 'http://3.23.2.225:9000/api/v1/status/peer', 'http://52.86.97.71:9000/api/v1/status/peer', 'http://206.189.75.250:9000/api/v1/status/peer', 'http://144.76.203.165:9000/api/v1/status/peer', 'http://52.7.201.167:9000/api/v1/status/peer', 'http://31.208.165.65:9000/api/v1/status/peer', 'http://3.16.177.23:9000/api/v1/status/peer', 'http://3.0.140.226:9000/api/v1/status/peer', 'http://13.228.38.77:9000/api/v1/status/peer', 'http://52.78.0.124:9000/api/v1/status/peer', 'http://44.232.106.11:9000/api/v1/status/peer', 'http://3.19.25.206:9000/api/v1/status/peer', 'http://134.122.40.114:9000/api/v1/status/peer', 'http://3.225.16.37:9000/api/v1/status/peer', 'http://49.12.5.98:9000/api/v1/status/peer', 'http://13.53.33.45:9000/api/v1/status/peer', 'http://15.164.138.240:9000/api/v1/status/peer', 'http://34.69.198.198:9000/api/v1/status/peer', 'http://3.10.31.249:9000/api/v1/status/peer', 'http://3.130.56.105:9000/api/v1/status/peer', 'http://35.222.254.39:9000/api/v1/status/peer', 'http://35.239.154.121:9000/api/v1/status/peer', 'http://194.147.115.11:9000/api/v1/status/peer', 'http://node.icon.de-light.io:9000/api/v1/status/peer', 'http://44.232.97.114:9000/api/v1/status/peer', 'http://3.11.156.255:9000/api/v1/status/peer', 'http://34.240.58.101:9000/api/v1/status/peer', 'http://34.255.37.220:9000/api/v1/status/peer', 'http://138.201.137.189:9000/api/v1/status/peer'] # # if __name__ == '__main__': # asyncio.run(get_prep_list_async(prep_list, 10))
1,333.171875
78,331
0.714532
8,628
85,323
7.057603
0.161799
0.022991
0.02956
0.049267
0.389027
0.320727
0.299673
0.211716
0.188002
0.129539
0
0.201841
0.062926
85,323
63
78,332
1,354.333333
0.559759
0.980193
0
0.111111
0
0
0.059104
0
0
0
0
0
0
1
0.055556
false
0.055556
0.138889
0
0.277778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
1
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
5
2c5ff0fc4b0702448ce2b86dbbb31592acd1f663
122
py
Python
parsingframework/wsd/database/__init__.py
linksuccess/linksuccess
88059db1d93de56d3b67771b7383f9570c78f49f
[ "MIT" ]
6
2016-03-11T08:31:02.000Z
2020-06-25T14:12:47.000Z
parsingframework/wsd/database/__init__.py
linksuccess/linksuccess
88059db1d93de56d3b67771b7383f9570c78f49f
[ "MIT" ]
null
null
null
parsingframework/wsd/database/__init__.py
linksuccess/linksuccess
88059db1d93de56d3b67771b7383f9570c78f49f
[ "MIT" ]
1
2018-03-24T13:06:25.000Z
2018-03-24T13:06:25.000Z
from mysqldatabase import MySQLDatabase from mysqlbuildview import MySQLBuildView from mysqlworkview import MySQLWorkView
40.666667
41
0.901639
12
122
9.166667
0.416667
0
0
0
0
0
0
0
0
0
0
0
0.098361
122
3
42
40.666667
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
2c8b0001f9660270147c21d46fc1f4f056d04cae
1,602
py
Python
printer.py
zivanfi/minmaxbinarysearch
ceb39cc63954437cf553fc69101ed3ac54aaf186
[ "Apache-2.0" ]
null
null
null
printer.py
zivanfi/minmaxbinarysearch
ceb39cc63954437cf553fc69101ed3ac54aaf186
[ "Apache-2.0" ]
null
null
null
printer.py
zivanfi/minmaxbinarysearch
ceb39cc63954437cf553fc69101ed3ac54aaf186
[ "Apache-2.0" ]
null
null
null
def print_padded_string(val): print('%10s' % val, end = '') def print_padded_integer(val): print('%10d' % val, end = '') def print_padded_float(val): print('%10.2f' % val, end = '') def print_table_header(truncations): print_padded_string('') print_padded_string('') print_padded_string('') print_padded_string('') print_padded_string('metric:') print_padded_string('steps') for i in truncations: print_padded_string('steps') print_padded_string('') print_padded_string('matches') for i in truncations: print_padded_string('matches') print() print_padded_string('') print_padded_string('') print_padded_string('') print_padded_string('') print_padded_string('algorithm:') print_padded_string('strict') for i in truncations: print_padded_string('loose') print_padded_string('') print_padded_string('strict') for i in truncations: print_padded_string('loose') print() print_padded_string('') print_padded_string('') print_padded_string('') print_padded_string('') print_padded_string('stat len:') print_padded_string('N/A') for selector in truncations: print_padded_string(selector) print_padded_string('') print_padded_string('N/A') for selector in truncations: print_padded_string(selector) print() print_padded_string('execution') print_padded_string('elemcount') print_padded_string('pagesize') print_padded_string('pagecount') print() print('-' * 10 * (8 + 2 * len(truncations)))
27.152542
48
0.672909
191
1,602
5.246073
0.183246
0.406188
0.593812
0.329341
0.704591
0.664671
0.606786
0.538922
0.538922
0.538922
0
0.00856
0.197878
1,602
58
49
27.62069
0.771206
0
0
0.711538
0
0
0.0799
0
0
0
0
0
0
1
0.076923
false
0
0
0
0.076923
0.884615
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
5
2ca3902dd0c106dd72ecc8b209f17bdd383329dd
716
py
Python
tests/schemas/v1/test_close_intercom_conversation_action.py
Clustaar/clustaar.schemas
3eb68b0a8c76f3529fb645516a76007435b04d17
[ "MIT" ]
null
null
null
tests/schemas/v1/test_close_intercom_conversation_action.py
Clustaar/clustaar.schemas
3eb68b0a8c76f3529fb645516a76007435b04d17
[ "MIT" ]
7
2018-09-07T16:03:42.000Z
2020-05-13T10:54:37.000Z
tests/schemas/v1/test_close_intercom_conversation_action.py
Clustaar/clustaar.schemas
3eb68b0a8c76f3529fb645516a76007435b04d17
[ "MIT" ]
null
null
null
from clustaar.schemas.v1 import CLOSE_INTERCOM_CONVERSATION_ACTION from clustaar.schemas.models import CloseIntercomConversationAction import pytest @pytest.fixture def action(): return CloseIntercomConversationAction() @pytest.fixture def data(): return {"type": "close_intercom_conversation_action"} class TestDump(object): def test_returns_a_dict(self, action, data, mapper): result = CLOSE_INTERCOM_CONVERSATION_ACTION.dump(action, mapper) assert result == data class TestLoad(object): def test_returns_an_action(self, data, mapper): action = mapper.load(data, CLOSE_INTERCOM_CONVERSATION_ACTION) assert isinstance(action, CloseIntercomConversationAction)
27.538462
72
0.776536
79
716
6.810127
0.417722
0.096654
0.185874
0.230483
0
0
0
0
0
0
0
0.001637
0.146648
716
25
73
28.64
0.878887
0
0
0.117647
0
0
0.053073
0.047486
0
0
0
0
0.117647
1
0.235294
false
0
0.176471
0.117647
0.647059
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
5
394079ae44556c79360fafe174ed7bf729bdc9a0
3,402
py
Python
configure.py
MaybeLL/2021-CVPR-Completer
407f492d8771f9b41233bd572e6b6cd972b54b67
[ "MIT" ]
47
2021-03-17T02:43:43.000Z
2022-03-27T03:19:28.000Z
configure.py
MaybeLL/2021-CVPR-Completer
407f492d8771f9b41233bd572e6b6cd972b54b67
[ "MIT" ]
5
2021-03-31T03:21:03.000Z
2021-12-20T13:46:18.000Z
configure.py
MaybeLL/2021-CVPR-Completer
407f492d8771f9b41233bd572e6b6cd972b54b67
[ "MIT" ]
15
2021-03-17T01:38:32.000Z
2022-03-29T12:06:56.000Z
def get_default_config(data_name): if data_name in ['Caltech101-20']: return dict( Prediction=dict( arch1=[128, 256, 128], arch2=[128, 256, 128], ), Autoencoder=dict( arch1=[1984, 1024, 1024, 1024, 128], # the last number is the dimension of latent representation arch2=[512, 1024, 1024, 1024, 128], # the last number in arch1 and arch2 should be the same activations1='relu', activations2='relu', batchnorm=True, ), training=dict( seed=4, missing_rate=0.5, start_dual_prediction=100, batch_size=256, epoch=500, lr=1.0e-4, # Balanced factors for L_cd, L_pre, and L_rec alpha=9, lambda1=0.1, lambda2=0.1, ), ) elif data_name in ['Scene_15']: """The default configs.""" return dict( Prediction=dict( arch1=[128, 256, 128], arch2=[128, 256, 128], ), Autoencoder=dict( arch1=[20, 1024, 1024, 1024, 128], arch2=[59, 1024, 1024, 1024, 128], activations1='relu', activations2='relu', batchnorm=True, ), training=dict( missing_rate=0.5, seed=8, start_dual_prediction=100, batch_size=256, epoch=500, lr=1.0e-4, alpha=9, lambda1=0.1, lambda2=0.1, ), ) elif data_name in ['NoisyMNIST']: """The default configs.""" return dict( Prediction=dict( arch1=[128, 256, 128], arch2=[128, 256, 128], ), Autoencoder=dict( arch1=[784, 1024, 1024, 1024, 64], arch2=[784, 1024, 1024, 1024, 64], activations1='relu', activations2='relu', batchnorm=True, ), training=dict( missing_rate=0.5, seed=0, start_dual_prediction=100, epoch=500, batch_size=256, lr=1.0e-4, alpha=9, lambda1=0.1, lambda2=0.1, ), ) elif data_name in ['LandUse_21']: """The default configs.""" return dict( Prediction=dict( arch1=[128, 256, 128], arch2=[128, 256, 128], ), Autoencoder=dict( arch1=[59, 1024, 1024, 1024, 64], arch2=[40, 1024, 1024, 1024, 64], activations1='relu', activations2='relu', batchnorm=True, ), training=dict( missing_rate=0, seed=3, start_dual_prediction=100, epoch=500, batch_size=256, lr=1.0e-4, alpha=9, lambda1=0.1, lambda2=0.1, ), ) else: raise Exception('Undefined data_name')
30.648649
113
0.408583
317
3,402
4.293375
0.26183
0.094048
0.052902
0.070536
0.786921
0.754592
0.754592
0.713446
0.671565
0.671565
0
0.189794
0.48736
3,402
110
114
30.927273
0.590596
0.045561
0
0.76699
0
0
0.029068
0
0
0
0
0
0
1
0.009709
false
0
0
0
0.048544
0
0
0
0
null
0
0
0
0
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
394463b0e1450ffc3d9723f367483712726ec469
107
py
Python
hydra_cached/execution/caching/__init__.py
ArneBinder/hydra-cached
19c1d518ead2b22b3ac33bb33a20703d174945f1
[ "MIT" ]
8
2021-11-17T11:39:56.000Z
2022-01-27T09:41:37.000Z
hydra_cached/execution/caching/__init__.py
ArneBinder/hydra-cached
19c1d518ead2b22b3ac33bb33a20703d174945f1
[ "MIT" ]
null
null
null
hydra_cached/execution/caching/__init__.py
ArneBinder/hydra-cached
19c1d518ead2b22b3ac33bb33a20703d174945f1
[ "MIT" ]
null
null
null
from .interface import Cache from .memory import InMemoryCache from .dumpable import DumpableInMemoryCache
26.75
43
0.859813
12
107
7.666667
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.11215
107
3
44
35.666667
0.968421
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
1a4ebd06d570f788526deb529a7b5fbda2134d8b
109
py
Python
Joints/__init__.py
lcremer/Maya_Rigging
8fe07e5f8d021a6828608bca4bf74e04f023b1cd
[ "Unlicense" ]
null
null
null
Joints/__init__.py
lcremer/Maya_Rigging
8fe07e5f8d021a6828608bca4bf74e04f023b1cd
[ "Unlicense" ]
null
null
null
Joints/__init__.py
lcremer/Maya_Rigging
8fe07e5f8d021a6828608bca4bf74e04f023b1cd
[ "Unlicense" ]
null
null
null
import Root import Chain import Pelvis import Chest import Leg import Foot import Arm import Hand import Head
12.111111
13
0.844037
18
109
5.111111
0.555556
0
0
0
0
0
0
0
0
0
0
0
0.155963
109
9
14
12.111111
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
1a73908913c47d833eed3d194b8b783d3ff6ba8a
20,381
py
Python
Python/Testing/testing.py
henrymidles/LidarBot
f67b5ed77671abad7267a86f425192fc6d5aad42
[ "MIT" ]
null
null
null
Python/Testing/testing.py
henrymidles/LidarBot
f67b5ed77671abad7267a86f425192fc6d5aad42
[ "MIT" ]
null
null
null
Python/Testing/testing.py
henrymidles/LidarBot
f67b5ed77671abad7267a86f425192fc6d5aad42
[ "MIT" ]
null
null
null
import time import math data1 = [170, 85, 0, 37, 185, 72, 77, 78, 122, 122, 156, 11, 156, 11, 176, 11, 180, 11, 180, 11, 192, 11, 200, 11, 204, 11, 200, 11, 208, 11, 216, 11, 220, 11, 220, 11, 228, 11, 240, 11, 232, 11, 220, 11, 0, 12, 12, 12, 20, 12, 4, 12, 244, 11, 20, 12, 20, 12, 28, 12, 32, 12, 32, 12, 52, 12, 52, 12, 52, 12, 64, 12, 76, 12, 68, 12, 76, 12, 96, 12, 80, 12, 68, 12, 170, 85, 0, 40, 15, 100, 67, 112, 242, 120, 0, 0, 0, 0, 0, 0, 228, 18, 252, 18, 16, 19, 28, 19, 44, 19, 24, 19, 44, 19, 64, 19, 92, 19, 108, 19, 132, 19, 152, 19, 172, 19, 200, 19, 228, 19, 0, 20, 28, 20, 56, 20, 88, 20, 112, 20, 148, 20, 184, 20, 220, 20, 248, 20, 20, 21, 64, 21, 100, 21, 132, 21, 176, 21, 224, 21, 0, 22, 48, 22, 96, 22, 140, 22, 200, 22, 0, 0, 0, 0, 170, 85, 0, 38, 97, 114, 63, 124, 168, 104, 0, 21, 28, 20, 0, 0, 84, 20, 172, 19, 8, 19, 0, 0, 252, 18, 72, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 152, 27, 12, 28, 108, 28, 196, 28, 28, 29, 156, 29, 96, 29, 0, 0, 0, 0, 0, 0, 44, 24, 0, 0, 0, 0, 0, 0, 240, 33, 144, 34, 44, 35, 236, 35, 196, 36, 160, 37, 124, 38, 76, 39, 170, 85, 0, 39, 23, 126, 117, 136, 240, 176, 24, 40, 252, 40, 224, 41, 12, 43, 232, 43, 8, 45, 56, 46, 104, 47, 192, 48, 0, 50, 108, 51, 220, 52, 72, 54, 236, 53, 200, 53, 200, 53, 148, 53, 100, 53, 28, 53, 244, 52, 172, 52, 88, 51, 8, 50, 212, 50, 92, 50, 0, 50, 232, 49, 208, 49, 56, 50, 52, 50, 56, 49, 0, 0, 0, 0, 12, 41, 4, 41, 208, 40, 200, 40, 188, 40, 152, 40, 170, 85, 0, 39, 51, 138, 183, 148, 150, 66, 60, 41, 0, 0, 0, 0, 0, 0, 0, 0, 4, 47, 84, 46, 164, 48, 240, 50, 52, 51, 208, 50, 16, 51, 28, 51, 36, 51, 24, 51, 88, 51, 52, 51, 64, 51, 80, 51, 116, 51, 100, 51, 164, 51, 168, 51, 172, 51, 20, 52, 0, 52, 44, 52, 100, 52, 156, 52, 136, 52, 0, 52, 244, 50, 176, 48, 108, 46, 152, 46, 160, 46, 236, 46, 8, 47, 36, 47, 170, 85, 0, 38, 69, 150, 175, 160, 172, 67, 92, 47, 124, 47, 204, 47, 8, 48, 68, 48, 112, 48, 164, 48, 0, 0, 0, 0, 88, 57, 192, 57, 248, 57, 84, 58, 168, 58, 248, 58, 76, 59, 232, 59, 88, 60, 0, 0, 0, 0, 136, 53, 104, 54, 112, 55, 120, 56, 128, 57, 220, 58, 244, 59, 96, 61, 232, 62, 112, 64, 156, 65, 32, 69, 0, 0, 0, 0, 4, 101, 0, 0, 0, 0, 0, 0, 170, 85, 0, 36, 23, 162, 17, 172, 212, 73, 0, 0, 140, 75, 0, 0, 44, 77, 0, 0, 0, 0, 132, 52, 32, 52, 144, 51, 252, 50, 128, 50, 8, 50, 136, 49, 60, 49, 192, 48, 100, 48, 8, 48, 96, 47, 148, 47, 64, 47, 252, 46, 184, 46, 28, 46, 0, 0, 0, 0, 0, 0, 208, 14, 168, 14, 196, 14, 208, 14, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 170, 85, 1, 1, 93, 172, 93, 172, 171, 84, 0, 0, 170, 85, 0, 2, 169, 172, 237, 172, 10, 87, 144, 15, 116, 15, 170, 85, 0, 40, 59, 174, 141, 5, 100, 213, 212, 14, 100, 14, 244, 13, 208, 12, 184, 12, 128, 12, 0, 0, 0, 0, 0, 0, 44, 12, 44, 12, 56, 12, 64, 12, 64, 12, 60, 12, 20, 12, 32, 12, 48, 12, 36, 12, 64, 12, 28, 12, 0, 0, 0, 0, 0, 0, 0, 0, 204, 16, 16, 17, 80, 17, 84, 17, 48, 18, 200, 18, 120, 18, 40, 18, 0, 18, 12, 18, 200, 17, 204, 17, 212, 17, 0, 18, 0, 0, 170, 85, 0, 8, 217, 5, 221, 7, 202, 84, 180, 11, 144, 11, 108, 11, 100, 11, 72, 11, 0, 0, 0, 0, 0, 0, 170, 85, 0, 29, 69, 9, 119, 17, 192, 86, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 84, 6, 76, 6, 68, 6, 0, 0, 0, 0, 24, 6, 28, 6, 170, 85, 0, 38, 87, 18, 57, 29, 244, 117, 32, 6, 92, 6, 44, 6, 112, 6, 112, 6, 108, 6, 128, 6, 156, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 100, 13, 204, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 224, 14, 196, 14, 168, 14, 140, 14, 92, 14, 68, 14, 32, 14, 252, 13, 0, 0, 124, 10, 170, 85, 0, 38, 87, 30, 87, 41, 242, 74, 128, 10, 0, 0, 0, 0, 0, 0, 136, 4, 128, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 192, 4, 168, 4, 176, 4, 188, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 192, 4, 200, 4, 244, 4, 16, 5, 32, 5, 44, 5, 76, 5, 136, 5, 148, 5, 140, 5, 136, 5, 170, 85, 0, 38, 77, 42, 95, 53, 149, 109, 132, 5, 128, 5, 128, 5, 120, 5, 116, 5, 100, 5, 104, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 120, 4, 124, 4, 0, 0, 0, 0, 0, 0, 148, 4, 157, 4, 168, 4, 0, 0, 0, 0, 0, 0, 188, 3, 196, 3, 196, 3, 200, 3, 0, 0, 0, 0, 176, 3, 180, 3, 188, 3, 192, 3, 0, 0, 0, 0, 170, 85, 0, 38, 77, 54, 119, 65, 216, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 164, 8, 0, 0, 0, 0, 124, 3, 0, 0, 0, 0, 0, 0, 0, 0, 52, 9, 28, 9, 8, 9, 4, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 92, 9, 124, 9, 148, 9, 0, 0, 0, 0, 0, 0, 0, 0, 170, 85, 0, 38, 77, 66, 127, 77, 177, 112, 0, 0, 0, 0, 0, 0, 0, 0, 49, 2, 56, 2, 0, 0, 0, 0, 48, 11, 188, 11, 116, 11, 136, 11, 156, 11, 180, 11, 200, 11, 212, 11, 232, 11, 252, 11, 20, 12, 28, 12, 52, 12, 64, 12, 56, 12, 48, 12, 12, 12, 0, 0, 60, 13, 16, 13, 228, 12, 248, 12, 20, 13, 40, 13, 72, 13, 108, 13, 132, 13, 164, 13, 0, 0, 0, 0, 170, 85, 0, 38, 77, 78, 153, 89, 26, 104, 184, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 24, 11, 0, 0, 0, 0, 0, 0, 180, 14, 100, 14, 72, 15, 0, 0, 0, 0, 0, 0, 80, 17, 152, 16, 124, 17, 0, 0, 0, 0, 0, 0, 0, 0, 204, 15, 164, 15, 124, 15, 164, 15, 0, 0, 108, 18, 96, 18, 84, 18, 68, 18, 68, 18, 170, 85, 0, 38, 87, 90, 171, 101, 238, 76, 60, 18, 60, 18, 56, 18, 44, 18, 40, 18, 40, 18, 32, 18, 24, 18, 16, 18, 16, 18, 16, 18, 16, 18, 20, 18, 12, 18, 12, 18, 8, 18, 16, 18, 24, 18, 32, 18, 24, 18, 28, 18, 32, 18, 36, 18, 48, 18, 56, 18, 56, 18, 60, 18, 64, 18, 84, 18, 88, 18, 100, 18, 104, 18, 112, 18, 132, 18, 144, 18, 152, 18, 168, 18, 184, 18, 170, 85, 0, 37, 97, 102, 115, 113, 160, 119, 208, 18, 232, 18, 228, 18, 248, 18, 12, 19, 32, 19, 108, 19, 24, 19, 48, 19, 68, 19, 88, 19, 112, 19, 144, 19, 168, 19, 192, 19, 208, 19, 236, 19, 12, 20, 44, 20, 76, 20, 104, 20, 136, 20, 168, 20, 200, 20, 232, 20, 20, 21, 64, 21, 92, 21, 132, 21, 168, 21, 224, 21, 252, 21, 52, 22, 100, 22, 144, 22, 0, 0, 0, 0, 170, 85, 0, 38, 21, 114, 133, 125, 234, 92, 216, 20, 124, 20, 28, 20, 212, 20, 208, 20, 0, 0, 0, 0, 160, 19, 36, 19, 232, 18, 36, 19, 0, 0, 0, 0, 0, 0, 0, 0, 132, 24, 48, 26, 224, 27, 76, 28, 204, 27, 24, 29, 64, 29, 108, 29, 0, 0, 0, 0, 136, 23, 0, 0, 0, 0, 0, 0, 100, 33, 4, 34, 160, 34, 56, 35, 240, 35, 140, 36, 228, 37, 188, 38, 144, 39, 170, 85, 0, 38, 49, 126, 177, 137, 94, 129, 112, 40, 76, 41, 108, 42, 108, 43, 108, 44, 112, 45, 168, 46, 244, 47, 96, 49, 208, 50, 92, 52, 208, 53, 60, 54, 8, 54, 212, 53, 116, 53, 92, 53, 48, 53, 248, 52, 192, 52, 136, 52, 196, 49, 224, 50, 104, 50, 236, 49, 208, 49, 224, 49, 36, 50, 0, 0, 0, 0, 56, 41, 4, 41, 12, 41, 236, 40, 204, 40, 200, 40, 152, 40, 136, 40, 170, 85, 0, 38, 67, 138, 187, 149, 250, 105, 0, 0, 0, 0, 0, 0, 0, 0, 4, 49, 208, 48, 156, 48, 224, 50, 24, 51, 216, 50, 0, 51, 40, 51, 248, 50, 144, 51, 44, 51, 68, 51, 92, 51, 104, 51, 104, 51, 152, 51, 164, 51, 176, 51, 176, 51, 196, 51, 36, 52, 72, 52, 104, 52, 132, 52, 164, 52, 244, 51, 252, 50, 4, 50, 88, 46, 140, 46, 188, 46, 216, 46, 248, 46, 44, 47, 170, 85, 0, 37, 87, 150, 131, 161, 138, 120, 236, 46, 156, 47, 216, 47, 20, 48, 36, 48, 160, 48, 204, 48, 0, 0, 0, 0, 116, 57, 208, 57, 40, 58, 156, 58, 16, 59, 96, 59, 224, 59, 108, 60, 0, 0, 0, 0, 44, 53, 108, 54, 72, 55, 76, 56, 76, 57, 156, 58, 228, 59, 40, 61, 220, 62, 140, 64, 140, 65, 8, 69, 0, 0, 0, 0, 96, 101, 0, 0, 0, 0, 0, 0, 170, 85, 0, 35, 39, 162, 183, 172, 150, 90, 0, 0, 220, 75, 232, 76, 0, 0, 0, 0, 0, 0, 120, 52, 248, 51, 96, 51, 216, 50, 88, 50, 220, 49, 92, 49, 236, 48, 116, 48, 24, 48, 188, 47, 168, 47, 120, 47, 248, 46, 148, 46, 52, 46, 52, 46, 0, 0, 208, 14, 200, 14, 188, 14, 208, 14, 196, 14, 244, 14, 140, 15, 36, 16, 20, 17, 0, 0, 0, 0, 170, 85, 1, 1, 11, 173, 11, 173, 171, 84, 0, 0, 170, 85, 0, 2, 93, 173, 167, 173, 36, 87, 252, 15, 136, 15, 170, 85, 0, 40, 49, 174, 103, 6, 248, 200, 232, 14, 216, 14, 0, 0, 0, 0, 196, 12, 144, 12, 72, 12, 0, 0, 0, 0, 56, 12, 64, 12, 76, 12, 80, 12, 88, 12, 76, 12, 40, 12, 56, 12, 60, 12, 68, 12, 128, 12, 72, 12, 0, 0, 0, 0, 0, 0, 84, 16, 236, 16, 44, 17, 96, 17, 144, 17, 88, 18, 212, 18, 60, 18, 36, 18, 8, 18, 4, 18, 204, 17, 220, 17, 236, 17, 248, 17, 0, 0, 170, 85, 0, 7, 187, 6, 157, 8, 8, 87, 156, 11, 124, 11, 100, 11, 76, 11, 76, 11, 0, 0, 0, 0, 170, 85, 0, 29, 31, 9, 231, 17, 110, 80, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 84, 6, 52, 6, 68, 6, 24, 6, 0, 0, 0, 0, 0, 0, 170, 85, 0, 4, 87, 18, 73, 19, 232, 80, 0, 0, 0, 0, 36, 6, 120, 6, 170, 85, 0, 40, 9, 21, 121, 33, 130, 90, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 216, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 172, 12, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 172, 14, 136, 14, 100, 14, 64, 14, 20, 14, 0, 14, 0, 0, 0, 0, 128, 10, 0, 0, 0, 0, 0, 0, 0, 0, 128, 4, 136, 4, 176, 4, 0, 0, 0, 0, 0, 0, 170, 85, 0, 40, 205, 33, 71, 46, 196, 118, 0, 0, 0, 0, 0, 0, 192, 4, 180, 4, 176, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 196, 4, 188, 4, 228, 4, 8, 5, 24, 5, 12, 5, 64, 5, 104, 5, 144, 5, 148, 5, 140, 5, 132, 5, 128, 5, 128, 5, 124, 5, 124, 5, 96, 5, 104, 5, 108, 5, 0, 0, 224, 4, 0, 0, 0, 0, 0, 0, 0, 0, 170, 85, 0, 40, 145, 46, 5, 59, 70, 97, 0, 0, 116, 4, 128, 4, 140, 4, 208, 4, 0, 0, 0, 0, 0, 0, 172, 4, 140, 4, 0, 0, 0, 0, 0, 0, 196, 3, 192, 3, 192, 3, 0, 0, 0, 0, 172, 3, 180, 3, 188, 3, 192, 3, 0, 0, 0, 0, 0, 0, 228, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 180, 8, 0, 0, 0, 0, 0, 0, 0, 0, 170, 85, 0, 40, 89, 59, 211, 71, 29, 6, 0, 0, 0, 0, 0, 0, 24, 9, 8, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 104, 9, 128, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 45, 2, 52, 2, 0, 0, 0, 0, 0, 0, 136, 11, 140, 11, 148, 11, 156, 11, 176, 11, 188, 11, 212, 11, 224, 11, 236, 11, 4, 12, 170, 85, 0, 19, 39, 72, 211, 77, 138, 78, 24, 12, 36, 12, 56, 12, 76, 12, 64, 12, 16, 12, 0, 0, 0, 0, 16, 13, 232, 12, 244, 12, 16, 13, 44, 13, 72, 13, 108, 13, 124, 13, 164, 13, 0, 0, 0, 0, 170, 85, 0, 37, 67, 78, 173, 89, 16, 107, 184, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 11, 0, 0, 0, 0, 0, 0, 180, 14, 88, 14, 64, 15, 0, 0, 0, 0, 144, 17, 60, 17, 136, 16, 152, 16, 168, 16, 0, 0, 200, 15, 216, 15, 168, 15, 116, 15, 120, 15, 184, 15, 0, 0, 0, 0, 92, 18, 80, 18, 72, 18, 170, 85, 0, 40, 29, 90, 133, 102, 26, 65, 56, 18, 52, 18, 48, 18, 44, 18, 36, 18, 36, 18, 36, 18, 32, 18, 24, 18, 20, 18, 20, 18, 24, 18, 24, 18, 16, 18, 0, 18, 20, 18, 20, 18, 24, 18, 16, 18, 24, 18, 20, 18, 24, 18, 28, 18, 40, 18, 48, 18, 44, 18, 56, 18, 68, 18, 60, 18, 88, 18, 100, 18, 104, 18, 112, 18, 120, 18, 136, 18, 144, 18, 164, 18, 180, 18, 192, 18, 212, 18, 170, 85, 0, 40, 219, 102, 75, 115, 2, 105, 224, 18, 248, 18, 12, 19, 28, 19, 32, 19, 20, 19, 40, 19, 60, 19, 88, 19, 104, 19, 140, 19, 156, 19, 176, 19, 200, 19, 228, 19, 252, 19, 28, 20, 64, 20, 84, 20, 120, 20, 156, 20, 188, 20, 224, 20, 4, 21, 36, 21, 80, 21, 124, 21, 168, 21, 204, 21, 244, 21, 32, 22, 80, 22, 132, 22, 184, 22, 0, 0, 0, 0, 0, 0, 76, 20, 0, 0, 124, 20, 170, 85, 0, 40, 151, 115, 9, 128, 80, 185, 0, 0, 0, 0, 0, 0, 12, 19, 0, 0, 12, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 200, 27, 44, 28, 0, 0, 244, 28, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 224, 33, 128, 34, 36, 35, 216, 35, 128, 36, 152, 37, 120, 38, 92, 39, 48, 40, 12, 41, 12, 42, 20, 43, 32, 44, 76, 45, 156, 46, 170, 85, 0, 40, 93, 128, 205, 140, 218, 117, 220, 47, 64, 49, 160, 50, 0, 0, 228, 53, 84, 54, 16, 54, 204, 53, 156, 53, 88, 53, 56, 53, 8, 53, 216, 52, 168, 52, 208, 49, 240, 50, 128, 50, 20, 50, 192, 49, 176, 49, 56, 50, 188, 49, 68, 49, 0, 0, 8, 41, 244, 40, 228, 40, 208, 40, 200, 40, 168, 40, 148, 40, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 152, 49, 216, 50, 76, 51, 170, 85, 0, 40, 33, 141, 151, 153, 180, 113, 24, 51, 20, 51, 12, 51, 4, 51, 152, 51, 64, 51, 40, 51, 16, 51, 132, 51, 112, 51, 164, 51, 176, 51, 184, 51, 236, 51, 80, 52, 72, 52, 88, 52, 104, 52, 124, 52, 164, 52, 208, 51, 180, 50, 152, 49, 60, 46, 148, 46, 184, 46, 220, 46, 0, 47, 60, 47, 252, 46, 188, 47, 240, 47, 36, 48, 100, 48, 160, 48, 84, 55, 68, 56, 52, 57, 188, 57, 204, 57, 170, 85, 0, 40, 235, 153, 105, 166, 0, 122, 80, 58, 160, 58, 236, 58, 144, 59, 220, 59, 132, 60, 0, 0, 0, 0, 208, 53, 188, 54, 196, 55, 208, 56, 220, 57, 248, 58, 88, 60, 92, 61, 12, 63, 192, 64, 12, 69, 0, 0, 184, 71, 152, 72, 124, 73, 0, 0, 160, 73, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 36, 53, 188, 52, 88, 52, 172, 51, 52, 51, 164, 50, 40, 50, 172, 49, 76, 49, 172, 48, 170, 85, 0, 20, 181, 166, 185, 172, 98, 84, 96, 48, 228, 47, 100, 47, 156, 47, 40, 47, 228, 46, 132, 46, 36, 46, 0, 0, 0, 0, 236, 14, 216, 14, 196, 14, 200, 14, 232, 14, 4, 15, 0, 0, 0, 0, 0, 0, 0, 0, 170, 85, 1, 1, 13, 173, 13, 173, 171, 84, 0, 0, 170, 85, 0, 40, 99, 173, 217, 5, 88, 217, 0, 0, 0, 0, 88, 15, 228, 14, 228, 14, 0, 0, 0, 0, 200, 12, 132, 12, 0, 0, 0, 0, 0, 0, 80, 12, 84, 12, 132, 12, 116, 12, 100, 12, 88, 12, 64, 12, 112, 12, 200, 12, 32, 13, 252, 13, 208, 15, 20, 16, 64, 16, 104, 16, 236, 16, 48, 17, 112, 17, 216, 17, 64, 18, 236, 18, 88, 18, 48, 18, 32, 18, 20, 18, 208, 17, 228, 17, 236, 17, 170, 85, 0, 40, 45, 6, 181, 18, 218, 100, 0, 0, 0, 0, 164, 11, 124, 11, 100, 11, 88, 11, 76, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 44, 6, 68, 6, 0, 0, 0, 0, 0, 0, 80, 6, 32, 6, 88, 6, 170, 85, 0, 40, 1, 19, 115, 31, 40, 121, 104, 6, 116, 6, 92, 6, 112, 6, 132, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 24, 13, 0, 0, 0, 0, 232, 14, 204, 14, 152, 14, 120, 14, 80, 14, 40, 14, 16, 14, 240, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 170, 85, 0, 40, 201, 31, 67, 44, 8, 75, 0, 0, 140, 4, 156, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 196, 4, 192, 4, 184, 4, 180, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 196, 4, 192, 4, 200, 4, 240, 4, 0, 5, 20, 5, 44, 5, 76, 5, 136, 5, 140, 5, 144, 5, 136, 5, 132, 5, 128, 5, 124, 5, 124, 5, 108, 5, 100, 5, 104, 5, 170, 85, 0, 40, 151, 44, 21, 57, 85, 104, 32, 5, 216, 4, 0, 0, 0, 0, 0, 0, 0, 0, 72, 5, 0, 0, 120, 4, 136, 4, 184, 4, 232, 4, 0, 0, 149, 4, 160, 4, 0, 0, 0, 0, 40, 4, 0, 0, 192, 3, 192, 3, 192, 3, 0, 0, 0, 0, 168, 3, 176, 3, 184, 3, 192, 3, 208, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 170, 85, 0, 40, 97, 57, 225, 69, 190, 9, 0, 0, 0, 0, 216, 8, 0, 0, 116, 3, 0, 0, 0, 0, 0, 0, 0, 0, 52, 9, 32, 9, 8, 9, 252, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 120, 9, 128, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 48, 2, 0, 0, 188, 10, 236, 10, 32, 11, 140, 11, 120, 11, 148, 11, 170, 85, 0, 40, 45, 70, 181, 82, 114, 96, 168, 11, 188, 11, 204, 11, 220, 11, 232, 11, 252, 11, 16, 12, 32, 12, 52, 12, 72, 12, 48, 12, 20, 12, 24, 12, 64, 13, 24, 13, 4, 13, 240, 12, 12, 13, 36, 13, 68, 13, 92, 13, 116, 13, 160, 13, 0, 0, 220, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 180, 14, 170, 85, 0, 40, 11, 83, 135, 95, 122, 124, 132, 14, 88, 14, 60, 15, 0, 0, 0, 0, 0, 0, 56, 17, 136, 16, 92, 17, 164, 16, 52, 16, 196, 15, 220, 15, 192, 15, 112, 15, 156, 15, 196, 15, 0, 0, 108, 18, 92, 18, 84, 18, 80, 18, 60, 18, 56, 18, 48, 18, 44, 18, 36, 18, 32, 18, 0, 0, 28, 18, 20, 18, 16, 18, 20, 18, 20, 18, 16, 18, 8, 18, 0, 18, 20, 18, 20, 18, 24, 18, 170, 85, 0, 40, 221, 95, 81, 108, 222, 73, 24, 18, 28, 18, 32, 18, 32, 18, 28, 18, 40, 18, 52, 18, 52, 18, 48, 18, 68, 18, 76, 18, 84, 18, 96, 18, 96, 18, 116, 18, 124, 18, 132, 18, 144, 18, 168, 18, 188, 18, 196, 18, 204, 18, 232, 18, 240, 18, 20, 19, 20, 19, 24, 19, 24, 19, 52, 19, 64, 19, 84, 19, 108, 19, 132, 19, 152, 19, 184, 19, 208, 19, 232, 19, 4, 20, 44, 20, 68, 20, 170, 85, 0, 40, 157, 108, 25, 121, 66, 104, 96, 20, 124, 20, 152, 20, 184, 20, 228, 20, 8, 21, 48, 21, 76, 21, 128, 21, 168, 21, 208, 21, 248, 21, 44, 22, 84, 22, 132, 22, 0, 0, 0] data2 = [170, 85, 0, 0x28, 0xE5, 0x6F, 0xBD, 0x79, 1000, 8000] def parse_data(data): idx = 0 while True: frameStart = find_frame_start(data[idx:]) print(frameStart) if frameStart != None: idx = frameStart+1 else: break def find_frame_start(data): try: start = 0 while start < len(data): print(start) idx = data[start:].index(170) if data[idx+1] == 85 and data[idx+2] == 1: print(idx) return idx else: start = idx + 1 except ValueError: return None def safe_check(data, idx, val): if idx > len(data): return False else: return (data[idx] == val) def analyse_frames(frameBuff): data = list() for packet in frameBuff: #PH = (packet[1] << 8) | packet[0] # Packet Header CT = packet[2] # Pcket Type LSN = packet[3] # Sample Count if LSN == 1: continue FSA = (packet[5] << 8) | packet[4] # Start Angle LSA = (packet[7] << 8) | packet[6] # End Angle CS = (packet[9] << 8) | packet[8] # Check Code a_start = (FSA >> 1)/64 a_end = (LSA >> 1)/64 a_diff = a_end - a_start if a_diff < 0: a_diff += 360 incriment = a_diff / (LSN-1) i_angle = a_start i_dist = (packet[11] << 8) | packet[10] i_dist = i_dist /4 # Convert to mm if i_dist != 0: val = (155.3 - i_dist) / (155.3 * i_dist) angle_correction = math.atan(21.8 * val) i_angle += math.degrees(angle_correction) data.append([i_angle, i_dist]) for i in range(2, LSN-1): d_idx = 10+(2*i) if d_idx > len(packet)-1: continue i_angle = (incriment * i-1) + a_start i_dist = (packet[d_idx] << 8) | packet[d_idx-1] i_dist = i_dist /4 # Convert to mm if i_dist != 0: val = (155.3 - i_dist) / (155.3 * i_dist) angle_correction = math.atan(21.8 * val) i_angle += math.degrees(angle_correction) data.append([i_angle, i_dist]) i_angle = a_end i_dist = (packet[-1] << 8) | packet[-2] i_dist = i_dist /4 # Convert to mm if i_dist != 0: val = (155.3 - i_dist) / (155.3 * i_dist) angle_correction = math.atan(21.8 * val) i_angle += math.degrees(angle_correction) data.append([a_end, i_dist]) for d in data: print(d) if __name__ == "__main__": frameBuff = [] startTime = time.time() f_idxs = [i for i,x in enumerate(data1) if (x==170 and safe_check(data1, i+1, 85))] for i, f_idx in enumerate(f_idxs): if data1[f_idx+2] == 1: analyse_frames(frameBuff) print("END") frameBuff = [] if i+1 < len(f_idxs): endIdx = f_idxs[i+1] frameBuff.append(data1[f_idx:endIdx]) else: frameBuff.append(data1[f_idx:]) print(time.time() - startTime) # LSB, MSB # 170, 85, # Packet Header # 0, # CT Packet Type # 40, # LSN Sample Quantity # 49, 174, # FSA start A => 0xAE31 >> 1 = 0x5718 / 64 = 348 Angle_FSA # 103, 6, # LSA End A => 0x0667 >> 1 = 0x0333 / 64 = 12 Angle_LSA # # angle_i = diff(Angle_LSA - Angle_FSA) / (LSN-1) * (i-1) + Angle_FSA (for i from 2 to LSN-1) # # angle_i = diff(12 - 348) / (40-1) * (i-1)24 + 348 # # angle_i = diff(-336) / 39 * (i-1) + 348 ===> Add 360 if LSA-FSA < 0 # # angle_i = 24/39 > 0.615 * (i-1) + 348 # # # 248, 200, # Check Code # # Sample Data # 232, 14 # 0xEE8 ==> 3816 , angle_2 = 0.615 * (2-1) + 348 = 348.615 + atan(21.8 * (155.3-dist)/(155.3*dist)) # 216, 14 # 0xED8 ==> 3800 , angle_3 = 0.615 * (3-1) + 348 = 349.230 # 0, 0, # 0 # 0, 0, # 0 # 196, 12 # 0 # 144, 12 # 72, 12 # 0, 0, # 0, 0, # 56, 12 # 64, 12 # 76, 12 # 80, 12 # 88, 12 # 76, 12 # 40, 12 # 56, 12 # 60, 12 # 68, 12 # 128, 12 # 72, 12 # 0, 0, # 0, 0, # 0, 0, # 84, 16 # 236, 16 # 44, 17 # 96, 17 # 144, 17 # 88, 18 # 212, 18 # 60, 18 # 36, 18 # 8, 18 # 4, 18 # 204 # 17, 220 # 17, 236 # 17, 248 # 17, 0, 0
75.206642
166
0.478681
4,746
20,381
2.037295
0.064265
0.213259
0.272107
0.313166
0.349778
0.253077
0.243976
0.210053
0.19909
0.169201
0
0.555594
0.289093
20,381
271
167
75.206642
0.11174
0.062755
0
0.127551
0
0
0.000578
0
0
0
0.001051
0
0
1
0.020408
false
0
0.010204
0
0.05102
0.030612
0
0
0
null
1
1
1
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
1a7dc7f81662d1c14990be288a4679412a9531c8
219
py
Python
time_utils/timestamp.py
tylitianrui/utils-py
f02f4725cc7280489580b33713d51438868bf07e
[ "MIT" ]
null
null
null
time_utils/timestamp.py
tylitianrui/utils-py
f02f4725cc7280489580b33713d51438868bf07e
[ "MIT" ]
null
null
null
time_utils/timestamp.py
tylitianrui/utils-py
f02f4725cc7280489580b33713d51438868bf07e
[ "MIT" ]
null
null
null
# -*- coding: UTF-8 -*- # author: tyltr import time # 获取时间戳 def timestamp(): return time.time() # 获取时间戳 秒级 def timestamp_sec(): return int(time.time()) if __name__ == '__main__': print(timestamp())
12.166667
27
0.611872
27
219
4.62963
0.666667
0.144
0
0
0
0
0
0
0
0
0
0.005882
0.223744
219
17
28
12.882353
0.729412
0.242009
0
0
0
0
0.049689
0
0
0
0
0
0
1
0.285714
true
0
0.142857
0.285714
0.714286
0.142857
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
1
1
0
0
5
1ac1002e2363d93bb49e5d7c14b6c8750a8e93bf
38
py
Python
masterbranchtest.py
stevenwoodrum/cs3240-labdemo
a3864b0682e8f924974aeeebe1b6ce5f7d5d917b
[ "MIT" ]
null
null
null
masterbranchtest.py
stevenwoodrum/cs3240-labdemo
a3864b0682e8f924974aeeebe1b6ce5f7d5d917b
[ "MIT" ]
null
null
null
masterbranchtest.py
stevenwoodrum/cs3240-labdemo
a3864b0682e8f924974aeeebe1b6ce5f7d5d917b
[ "MIT" ]
null
null
null
# Test file created in master branch.
19
37
0.763158
6
38
4.833333
1
0
0
0
0
0
0
0
0
0
0
0
0.184211
38
1
38
38
0.935484
0.921053
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
5
46c31c2323ccad9dd6d1d007444fcce624fc06d9
162
py
Python
test_parse.py
joe-jordan/minimalisp
58655ede2c145d54978ccc91534db5587bc7ce7a
[ "MIT" ]
1
2015-05-17T14:50:51.000Z
2015-05-17T14:50:51.000Z
test_parse.py
joe-jordan/minimalisp
58655ede2c145d54978ccc91534db5587bc7ce7a
[ "MIT" ]
null
null
null
test_parse.py
joe-jordan/minimalisp
58655ede2c145d54978ccc91534db5587bc7ce7a
[ "MIT" ]
null
null
null
from parse import parse_program if __name__ == "__main__": import sys fn = sys.argv[1] inp = open(fn, 'r').read() print repr(parse_program(inp))
20.25
34
0.641975
24
162
3.916667
0.708333
0.255319
0
0
0
0
0
0
0
0
0
0.007937
0.222222
162
7
35
23.142857
0.738095
0
0
0
0
0
0.055556
0
0
0
0
0
0
0
null
null
0
0.333333
null
null
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
1
0
0
0
1
0
0
0
0
5
46d3964125841fd61fc9c85a800adfe72f7fbeb6
51,086
py
Python
fn_mcafee_atd/fn_mcafee_atd/util/customize.py
nickpartner-goahead/resilient-community-apps
097c0dbefddbd221b31149d82af9809420498134
[ "MIT" ]
65
2017-12-04T13:58:32.000Z
2022-03-24T18:33:17.000Z
fn_mcafee_atd/fn_mcafee_atd/util/customize.py
nickpartner-goahead/resilient-community-apps
097c0dbefddbd221b31149d82af9809420498134
[ "MIT" ]
48
2018-03-02T19:17:14.000Z
2022-03-09T22:00:38.000Z
fn_mcafee_atd/fn_mcafee_atd/util/customize.py
nickpartner-goahead/resilient-community-apps
097c0dbefddbd221b31149d82af9809420498134
[ "MIT" ]
95
2018-01-11T16:23:39.000Z
2022-03-21T11:34:29.000Z
# -*- coding: utf-8 -*- """Generate the Resilient customizations required for fn_mcafee_atd""" from __future__ import print_function from resilient_circuits.util import * def codegen_reload_data(): """Parameters to codegen used to generate the fn_mcafee_atd package""" reload_params = {"package": u"fn_mcafee_atd", "incident_fields": [], "action_fields": [], "function_params": [u"artifact_id", u"artifact_value", u"attachment_id", u"incident_id", u"mcafee_atd_report_type", u"mcafee_atd_url_submit_type", u"task_id"], "datatables": [], "message_destinations": [u"mcafee_atd_message_destination"], "functions": [u"mcafee_atd_analyze_file", u"mcafee_atd_analyze_url"], "phases": [], "automatic_tasks": [], "scripts": [], "workflows": [u"mcafee_atd_analyze_artifact_file", u"mcafee_atd_analyze_attachment", u"mcafee_atd_analyze_url"], "actions": [u"(Example) McAfee Analyze URL", u"(Example) McAfee ATD Analyze Artifact File", u"(Example) McAfee ATD Analyze Attachment"] } return reload_params def customization_data(client=None): """Produce any customization definitions (types, fields, message destinations, etc) that should be installed by `resilient-circuits customize` """ # This import data contains: # Function inputs: # artifact_id # artifact_value # attachment_id # incident_id # mcafee_atd_report_type # mcafee_atd_url_submit_type # task_id # Message Destinations: # mcafee_atd_message_destination # Functions: # mcafee_atd_analyze_file # mcafee_atd_analyze_url # Workflows: # mcafee_atd_analyze_artifact_file # mcafee_atd_analyze_attachment # mcafee_atd_analyze_url # Rules: # (Example) McAfee Analyze URL # (Example) McAfee ATD Analyze Artifact File # (Example) McAfee ATD Analyze Attachment yield ImportDefinition(u""" eyJ0YXNrX29yZGVyIjogW10sICJ3b3JrZmxvd3MiOiBbeyJ1dWlkIjogIjllNGM0MjBlLTIzNjkt NDBjYS1hYTNkLWIzNGM3Yzg2MTYzYiIsICJkZXNjcmlwdGlvbiI6ICJDYWxscyB0aGUgTWNBZmVl IEFURCBBbmFseXplIEZpbGUgZnVuY3Rpb24gb24gYW4gYXR0YWNobWVudCIsICJvYmplY3RfdHlw ZSI6ICJhdHRhY2htZW50IiwgImV4cG9ydF9rZXkiOiAibWNhZmVlX2F0ZF9hbmFseXplX2F0dGFj aG1lbnQiLCAid29ya2Zsb3dfaWQiOiA5MiwgImxhc3RfbW9kaWZpZWRfYnkiOiAiYWRtaW5AY28z c3lzLmNvbSIsICJjb250ZW50IjogeyJ4bWwiOiAiPD94bWwgdmVyc2lvbj1cIjEuMFwiIGVuY29k aW5nPVwiVVRGLThcIj8+PGRlZmluaXRpb25zIHhtbG5zPVwiaHR0cDovL3d3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wiLFxcbiAgICAgICAgICAgXFxcIlR5cGVcXFwiOlxcXCJhcHBsaWNhdGlvbi91cmxcXFwi LFxcbiAgICAgICAgICAgXFxcIk5hbWVcXFwiOlxcXCJodHRwOi8vbmV3cy5nb29nbGUuY28uaW4v XFxcIlxcbiAgICAgICAgfSxcXG4gICAgICAgIFxcXCJQcm9jZXNzXFxcIjpbICBcXG4gICAgICAg ICAgIHsgIFxcbiAgICAgICAgICAgICAgXFxcIlJlYXNvblxcXCI6XFxcInByb2Nlc3NlZCBieSBk b3duIHNlbGVjdG9yc1xcXCIsXFxuICAgICAgICAgICAgICBcXFwiTmFtZVxcXCI6XFxcImh0dHA6 Ly9uZXdzLmdvb2dsZS5jby5pbi9cXFwiLFxcbiAgICAgICAgICAgICAgXFxcIlNldmVyaXR5XFxc IjpcXFwiMFxcXCJcXG4gICAgICAgICAgIH1cXG4gICAgICAgIF0sXFxuICAgICAgICBcXFwiU1VN dmVyc2lvblxcXCI6XFxcIjQuMi4yLjE2XFxcIixcXG4gICAgICAgIFxcXCJTZWxlY3RvcnNcXFwi OlsgIFxcbiAgICAgICAgICAgeyAgXFxuICAgICAgICAgICAgICBcXFwiRW5naW5lXFxcIjpcXFwi R2F0ZXdheSBBbnRpLU1hbHdhcmVcXFwiLFxcbiAgICAgICAgICAgICAgXFxcIlNldmVyaXR5XFxc IjpcXFwiMFxcXCIsXFxuICAgICAgICAgICAgICBcXFwiTWFsd2FyZU5hbWVcXFwiOlxcXCItLS1c XFwiXFxuICAgICAgICAgICB9LFxcbiAgICAgICAgICAgeyAgXFxuICAgICAgICAgICAgICBcXFwi RW5naW5lXFxcIjpcXFwiQW50aS1NYWx3YXJlXFxcIixcXG4gICAgICAgICAgICAgIFxcXCJTZXZl cml0eVxcXCI6XFxcIjBcXFwiLFxcbiAgICAgICAgICAgICAgXFxcIk1hbHdhcmVOYW1lXFxcIjpc XFwiLS0tXFxcIlxcbiAgICAgICAgICAgfSxcXG4gICAgICAgICAgIHsgIFxcbiA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wgeyJvcGVyYXRpb25zIjogW10sICJ0eXBlX2lkIjogMTEsICJvcGVyYXRpb25fcGVybXMi OiB7fSwgInRleHQiOiAiYXJ0aWZhY3RfdmFsdWUiLCAiYmxhbmtfb3B0aW9uIjogZmFsc2UsICJw cmVmaXgiOiBudWxsLCAiY2hhbmdlYWJsZSI6IHRydWUsICJpZCI6IDk3LCAicmVhZF9vbmx5Ijog ZmFsc2UsICJ1dWlkIjogImIwOWUxODk5LTc0NTItNGY0Zi1iZGUxLTIzYjJmYmNjZDkwNCIsICJj aG9zZW4iOiBmYWxzZSwgImlucHV0X3R5cGUiOiAidGV4dCIsICJ0b29sdGlwIjogIiIsICJpbnRl cm5hbCI6IGZhbHNlLCAicmljaF90ZXh0IjogZmFsc2UsICJ0ZW1wbGF0ZXMiOiBbXSwgImV4cG9y dF9rZXkiOiAiX19mdW5jdGlvbi9hcnRpZmFjdF92YWx1ZSIsICJoaWRlX25vdGlmaWNhdGlvbiI6 IGZhbHNlLCAicGxhY2Vob2xkZXIiOiAiIiwgIm5hbWUiOiAiYXJ0aWZhY3RfdmFsdWUiLCAiZGVw cmVjYXRlZCI6IGZhbHNlLCAiZGVmYXVsdF9jaG9zZW5fYnlfc2VydmVyIjogZmFsc2UsICJ2YWx1 ZXMiOiBbXX1dLCAib3ZlcnJpZGVzIjogW10sICJleHBvcnRfZGF0ZSI6IDE1NDgyNjI4NDE2NjB9 """ )
73.823699
180
0.970051
930
51,086
53.195699
0.822581
0.004184
0.004528
0.001718
0.007499
0.002021
0
0
0
0
0
0.107889
0.024606
51,086
692
181
73.823699
0.884947
0.016599
0
0.003049
1
0
0.984538
0.96567
0
1
0
0
0
1
0.003049
false
0
0.004573
0
0.009146
0.001524
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
1
null
1
0
0
0
0
0
0
0
0
0
0
0
0
5
46f0e9a56a54f37eacd733259c5e03b7c435e47d
251
py
Python
website/notifications/exceptions.py
DanielSBrown/osf.io
98dda2ac237377197acacce78274bc0a4ce8f303
[ "Apache-2.0" ]
1
2019-12-23T04:30:20.000Z
2019-12-23T04:30:20.000Z
website/notifications/exceptions.py
DanielSBrown/osf.io
98dda2ac237377197acacce78274bc0a4ce8f303
[ "Apache-2.0" ]
20
2020-03-24T16:48:03.000Z
2022-03-08T22:38:38.000Z
website/notifications/exceptions.py
DanielSBrown/osf.io
98dda2ac237377197acacce78274bc0a4ce8f303
[ "Apache-2.0" ]
1
2021-10-04T21:16:56.000Z
2021-10-04T21:16:56.000Z
from website.exceptions import OSFError class InvalidSubscriptionError(OSFError): """Raised if an invalid subscription is attempted. e.g. attempt to subscribe to an invalid target: institution, bookmark, deleted project etc. """ pass
31.375
79
0.752988
30
251
6.3
0.866667
0.095238
0
0
0
0
0
0
0
0
0
0
0.179283
251
7
80
35.857143
0.917476
0.553785
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.333333
0.333333
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
1
0
0
5
46fe0e7ccd6e31faaf478e31d362ec6f5be073f0
97
py
Python
python/testData/resolve/ImplicitDunderSizeOfWithClassAttr.py
jnthn/intellij-community
8fa7c8a3ace62400c838e0d5926a7be106aa8557
[ "Apache-2.0" ]
2
2019-04-28T07:48:50.000Z
2020-12-11T14:18:08.000Z
python/testData/resolve/ImplicitDunderSizeOfWithClassAttr.py
Cyril-lamirand/intellij-community
60ab6c61b82fc761dd68363eca7d9d69663cfa39
[ "Apache-2.0" ]
173
2018-07-05T13:59:39.000Z
2018-08-09T01:12:03.000Z
python/testData/resolve/ImplicitDunderSizeOfWithClassAttr.py
Cyril-lamirand/intellij-community
60ab6c61b82fc761dd68363eca7d9d69663cfa39
[ "Apache-2.0" ]
2
2020-03-15T08:57:37.000Z
2020-04-07T04:48:14.000Z
class A: __sizeof__ = 15 def foo(self): return __sizeof__ # <ref>
16.166667
25
0.484536
10
97
3.9
0.9
0
0
0
0
0
0
0
0
0
0
0.036364
0.43299
97
6
26
16.166667
0.672727
0.051546
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
0.25
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
1
0
0
0
1
1
0
0
5
202c00b25e2465f2e3acf96ede2fabbfed616f58
69
py
Python
logictensornetworks/keras/__init__.py
thadumi/logictensornetworks-keras
def3a01f752bc3c5744043bdb9a0a113da12815a
[ "MIT" ]
null
null
null
logictensornetworks/keras/__init__.py
thadumi/logictensornetworks-keras
def3a01f752bc3c5744043bdb9a0a113da12815a
[ "MIT" ]
null
null
null
logictensornetworks/keras/__init__.py
thadumi/logictensornetworks-keras
def3a01f752bc3c5744043bdb9a0a113da12815a
[ "MIT" ]
null
null
null
import backend from predicate import * from base_ltn_layer import *
13.8
28
0.811594
10
69
5.4
0.7
0
0
0
0
0
0
0
0
0
0
0
0.15942
69
4
29
17.25
0.931034
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
64481cd8244cfe59622492fc8f4dec15b35ce308
1,075
py
Python
Simple_Factory/coffee_implementations.py
dcesarz/design_patterns_factories
e276e25586dc631309febb0fe9eb5f1454627107
[ "MIT" ]
null
null
null
Simple_Factory/coffee_implementations.py
dcesarz/design_patterns_factories
e276e25586dc631309febb0fe9eb5f1454627107
[ "MIT" ]
null
null
null
Simple_Factory/coffee_implementations.py
dcesarz/design_patterns_factories
e276e25586dc631309febb0fe9eb5f1454627107
[ "MIT" ]
null
null
null
from Simple_Factory.product_interface import IProduct from config import enable_prints as e class ConcreteCoffeeEspresso(IProduct): def __init__(self): self.name = str(self.__class__) if e: print(self.name) def create_object(self): return self class ConcreteCoffeeCappucino(IProduct): def __init__(self): self.name = str(self.__class__) if e: print(self.name) def create_object(self): return self class ConcreteCoffeeFrappucino(IProduct): def __init__(self): self.name = str(self.__class__) if e: print(self.name) def create_object(self): return self class ConcreteCoffeeLatte(IProduct): def __init__(self): self.name = str(self.__class__) if e: print(self.name) def create_object(self): return self class ConcreteCoffeeAmericano(IProduct): def __init__(self): self.name = str(self.__class__) if e: print(self.name) def create_object(self): return self
22.395833
54
0.634419
124
1,075
5.112903
0.225806
0.126183
0.118297
0.149842
0.694006
0.694006
0.694006
0.694006
0.694006
0.694006
0
0
0.28093
1,075
47
55
22.87234
0.820181
0
0
0.78125
0
0
0
0
0
0
0
0
0
1
0.3125
false
0
0.0625
0.15625
0.6875
0.1875
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
0
0
0
1
0
0
0
1
1
0
0
5
644b724c70fd5bb3dcb01eb4ee74e1a7ebb37ea4
88
py
Python
config.py
sanith2005/Country-Info-Bot
0ad8dc38df72cd102a309cf80a1ac039d6d7db53
[ "MIT" ]
null
null
null
config.py
sanith2005/Country-Info-Bot
0ad8dc38df72cd102a309cf80a1ac039d6d7db53
[ "MIT" ]
null
null
null
config.py
sanith2005/Country-Info-Bot
0ad8dc38df72cd102a309cf80a1ac039d6d7db53
[ "MIT" ]
2
2021-07-05T11:56:07.000Z
2021-09-06T05:05:59.000Z
import os class Config: UPDATES_CHANNEL = os.environ.get("UPDATES_CHANNEL", None)
14.666667
61
0.738636
12
88
5.25
0.75
0.444444
0
0
0
0
0
0
0
0
0
0
0.159091
88
5
62
17.6
0.851351
0
0
0
0
0
0.170455
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
5
64567b904ebcae92ade40ff72702bb2880fc2ecc
1,344
py
Python
src/nanaimo/pytest/__init__.py
chndear/nanaimo
85d69c821239b34dc457cefe46415fffbb641eb3
[ "MIT" ]
30
2019-05-16T05:00:13.000Z
2022-03-02T13:42:14.000Z
src/nanaimo/pytest/__init__.py
chndear/nanaimo
85d69c821239b34dc457cefe46415fffbb641eb3
[ "MIT" ]
86
2019-05-16T05:00:39.000Z
2020-07-31T17:46:05.000Z
src/nanaimo/pytest/__init__.py
chndear/nanaimo
85d69c821239b34dc457cefe46415fffbb641eb3
[ "MIT" ]
4
2020-02-07T23:42:11.000Z
2020-09-16T13:05:10.000Z
# # Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. # This software is distributed under the terms of the MIT License. # # (@@@@%%%%%%%%%&@@&. # /%&&%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%&@@( # *@&%%%%%%%%%&&%%%%%%%%%%%%%%%%%%&&&%%%%%%% # @ @@@(@@@@%%%%%%%%%%%%%%%%&@@&* @@@ . # , . . .@@@& / # . . * # @@ . @ # @&&&&&&@. . . *@%&@ # &&&&&&&&&&&&&&&&@@ *@@############@ # *&/ @@ #&&&&&&&&&&&&&&&&&&&&@ ###################* # @&&&&&&&&&&&&&&&&&&##################@ # %@&&&&&&&&&&&&&&################@ # @&&&&&&&&&&%#######&@% # nanaimo (@&&&&####@@* # """ The pytest plugin module for nanaimo. The module init runs first allowing Nanaimo to setup the plugin module before it is imported. """ import pytest pytest.register_assert_rewrite('nanaimo.pytest.plugin')
46.344828
84
0.212054
54
1,344
5.240741
0.722222
0.070671
0
0
0
0
0
0
0
0
0
0.0059
0.495536
1,344
28
85
48
0.411504
0.854167
0
0
0
0
0.228261
0.228261
0
0
0
0
0.5
1
0
true
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
null
0
0
0
1
0
0
1
0
1
0
0
0
0
5
64b66ffc229ce751f3b5d4399ddadf8c3a15f262
13,326
py
Python
tests/unit/test_magma_access_gateway_installer/test_magma_access_gateway_installer.py
canonical/magma-access-gateway-snap
d894a6c9c4c4700c9e225c124f4dc194de18bf7d
[ "Apache-2.0" ]
null
null
null
tests/unit/test_magma_access_gateway_installer/test_magma_access_gateway_installer.py
canonical/magma-access-gateway-snap
d894a6c9c4c4700c9e225c124f4dc194de18bf7d
[ "Apache-2.0" ]
1
2022-02-19T20:12:38.000Z
2022-02-19T20:12:38.000Z
tests/unit/test_magma_access_gateway_installer/test_magma_access_gateway_installer.py
canonical/magma-access-gateway-snap
d894a6c9c4c4700c9e225c124f4dc194de18bf7d
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 # Copyright 2022 Canonical Ltd. # See LICENSE file for licensing details. import unittest from argparse import Namespace from unittest.mock import MagicMock, Mock, patch import magma_access_gateway_installer class TestAGWInstallerInit(unittest.TestCase): VALID_TEST_IPv4_ADDRESS = "1.2.3.4/24" INVALID_TEST_IPv4_ADDRESS = "321.0.1.5/24" VALID_TEST_GW_IPv4_ADDRESS = "2.3.4.5" INVALID_TEST_GW_IPv4_ADDRESS = "321.3.4.5" VALID_TEST_IPv6_ADDRESS = "fd9c:0175:3d65:cfbd:1:2:3:4/64" VALID_TEST_GW_IPv6_ADDRESS = "fd9c:0175:3d65:cfbd:4:3:2:1" DNS_LIST_WITH_VALID_ADDRESS = ["1.2.3.4", "5.6.7.8"] DNS_LIST_WITH_INVALID_ADDRESS = ["1.2.3.4", "321.3.4.5", "5.6.7.8"] TEST_INTERFACES_LIST = ["lo", "bear", "rabbit", "eagle", "moose"] VALID_TEST_SGi_INTERFACE_NAME = "rabbit" INVALID_TEST_SGi_INTERFACE_NAME = "wolf" VALID_TEST_S1_INTERFACE_NAME = "moose" INVALID_TEST_S1_INTERFACE_NAME = "snake" TEST_SGi_MAC = "aa:bb:cc:dd:ee:ff" TEST_S1_MAC = "ff:ee:dd:cc:bb:aa" VALID_CLI_ARGUMENTS = Namespace( ipv4_address=VALID_TEST_IPv4_ADDRESS, gw_ipv4_address=VALID_TEST_GW_IPv4_ADDRESS, ipv6_address=VALID_TEST_IPv6_ADDRESS, gw_ipv6_address=VALID_TEST_GW_IPv6_ADDRESS, dns=DNS_LIST_WITH_VALID_ADDRESS, sgi=VALID_TEST_SGi_INTERFACE_NAME, s1=VALID_TEST_S1_INTERFACE_NAME, ) APT_LIST_WITHOUT_MAGMA = b"""lua-cjson/focal,now 2.1.0+dfsg-2.1 amd64 [installed,automatic]\n lvm2/focal,now 2.03.07-1ubuntu1 amd64 [installed,automatic]\n lxd-agent-loader/focal,now 0.4 all [installed,automatic]\n lz4/focal-updates,focal-security,now 1.9.2-2ubuntu0.20.04.1 amd64 [installed,automatic]\n make/focal,now 4.2.1-1.2 amd64 [installed,automatic]\n man-db/focal,now 2.9.1-1 amd64 [installed,automatic]\n """ @patch("magma_access_gateway_installer.netifaces.interfaces", MagicMock()) def test_given_only_ip_address_cli_argument_is_passed_when_validate_args_then_value_error_is_raised( # noqa: E501 self, ): test_args = Namespace( ipv4_address=self.VALID_TEST_IPv4_ADDRESS, gw_ipv4_address=None, ipv6_address=None, gw_ipv6_address=None, ) with self.assertRaises(magma_access_gateway_installer.ArgumentError): magma_access_gateway_installer.validate_args(test_args) @patch("magma_access_gateway_installer.netifaces.interfaces", MagicMock()) def test_given_only_gw_ip_address_cli_argument_is_passed_when_validate_args_then_value_error_is_raised( # noqa: E501 self, ): test_args = Namespace( ipv4_address=None, gw_ipv4_address=self.VALID_TEST_GW_IPv4_ADDRESS, ipv6_address=None, gw_ipv6_address=None, ) with self.assertRaises(magma_access_gateway_installer.ArgumentError): magma_access_gateway_installer.validate_args(test_args) @patch("magma_access_gateway_installer.netifaces.interfaces", MagicMock()) def test_given_invalid_gw_ip_address_cli_argument_is_passed_when_validate_args_then_value_error_is_raised( # noqa: E501 self, ): test_args = Namespace( ipv4_address=self.VALID_TEST_IPv4_ADDRESS, gw_ipv4_address=self.INVALID_TEST_GW_IPv4_ADDRESS, ipv6_address=None, gw_ipv6_address=None, ) with self.assertRaises(magma_access_gateway_installer.ArgumentError): magma_access_gateway_installer.validate_args(test_args) @patch("magma_access_gateway_installer.netifaces.interfaces", MagicMock()) def test_given_invalid_ip_address_cli_argument_is_passed_when_validate_args_then_value_error_is_raised( # noqa: E501 self, ): test_args = Namespace( ipv4_address=self.INVALID_TEST_IPv4_ADDRESS, gw_ipv4_address=self.VALID_TEST_GW_IPv4_ADDRESS, ipv6_address=None, gw_ipv6_address=None, ) with self.assertRaises(magma_access_gateway_installer.ArgumentError): magma_access_gateway_installer.validate_args(test_args) @patch("magma_access_gateway_installer.netifaces.interfaces", MagicMock()) def test_given_static_ipv6_addresses_without_ipv4_addresses_when_validate_args_then_value_error_is_raise( # noqa: E501 self, ): test_args = Namespace( ipv4_address=None, gw_ipv4_address=None, ipv6_address=self.VALID_TEST_IPv6_ADDRESS, gw_ipv6_address=self.VALID_TEST_GW_IPv6_ADDRESS, ) with self.assertRaises(magma_access_gateway_installer.ArgumentError): magma_access_gateway_installer.validate_args(test_args) @patch("magma_access_gateway_installer.netifaces.interfaces", MagicMock()) def test_given_invalid_dns_ip_address_passed_when_validate_args_then_value_error_is_raised( self, ): test_args = Namespace( ipv4_address=None, gw_ipv4_address=None, ipv6_address=None, gw_ipv6_address=None, dns=self.DNS_LIST_WITH_INVALID_ADDRESS, ) with self.assertRaises(magma_access_gateway_installer.ArgumentError): magma_access_gateway_installer.validate_args(test_args) @patch("magma_access_gateway_installer.network_interfaces", TEST_INTERFACES_LIST) def test_given_invalid_sgi_cli_argument_is_passed_when_validate_args_then_value_error_is_raised( # noqa: E501 self, ): test_args = Namespace( ipv4_address=None, gw_ipv4_address=None, ipv6_address=None, gw_ipv6_address=None, dns=self.DNS_LIST_WITH_VALID_ADDRESS, sgi=self.INVALID_TEST_SGi_INTERFACE_NAME, s1=self.VALID_TEST_S1_INTERFACE_NAME, ) with self.assertRaises(magma_access_gateway_installer.ArgumentError): magma_access_gateway_installer.validate_args(test_args) @patch("magma_access_gateway_installer.network_interfaces", TEST_INTERFACES_LIST) def test_given_invalid_s1_cli_argument_is_passed_when_validate_args_then_value_error_is_raised( self, ): test_args = Namespace( ipv4_address=None, gw_ipv4_address=None, ipv6_address=None, gw_ipv6_address=None, dns=self.DNS_LIST_WITH_VALID_ADDRESS, sgi=self.VALID_TEST_SGi_INTERFACE_NAME, s1=self.INVALID_TEST_S1_INTERFACE_NAME, ) with self.assertRaises(magma_access_gateway_installer.ArgumentError): magma_access_gateway_installer.validate_args(test_args) @patch("magma_access_gateway_installer.network_interfaces", TEST_INTERFACES_LIST) def test_given_invalid_sgi_and_s1_cli_argument_is_passed_when_validate_args_then_value_error_is_raised( # noqa: E501 self, ): test_args = Namespace( ipv4_address=None, gw_ipv4_address=None, ipv6_address=None, gw_ipv6_address=None, dns=self.DNS_LIST_WITH_VALID_ADDRESS, sgi=self.INVALID_TEST_SGi_INTERFACE_NAME, s1=self.INVALID_TEST_S1_INTERFACE_NAME, ) with self.assertRaises(magma_access_gateway_installer.ArgumentError): magma_access_gateway_installer.validate_args(test_args) @patch("magma_access_gateway_installer.network_interfaces", TEST_INTERFACES_LIST) def test_given_valid_sgi_and_s1_cli_argument_is_passed_when_validate_args_then_no_errors_are_raised( # noqa: E501 self, ): test_args = Namespace( ipv4_address=None, gw_ipv4_address=None, ipv6_address=None, gw_ipv6_address=None, dns=self.DNS_LIST_WITH_VALID_ADDRESS, sgi=self.VALID_TEST_SGi_INTERFACE_NAME, s1=self.VALID_TEST_S1_INTERFACE_NAME, ) self.assertEqual(magma_access_gateway_installer.validate_args(test_args), None) @patch("magma_access_gateway_installer.get_mac_address") def test_given_valid_cli_arguments_when_generate_network_config_then_correct_network_config_is_created( # noqa: E501 self, mocked_get_mac_address ): mocked_get_mac_address.side_effect = [self.TEST_SGi_MAC, self.TEST_S1_MAC] expected_network_config = { "sgi_ipv4_address": self.VALID_TEST_IPv4_ADDRESS, "sgi_ipv4_gateway": self.VALID_TEST_GW_IPv4_ADDRESS, "sgi_ipv6_address": self.VALID_TEST_IPv6_ADDRESS, "sgi_ipv6_gateway": self.VALID_TEST_GW_IPv6_ADDRESS, "sgi_mac_address": self.TEST_SGi_MAC, "s1_mac_address": self.TEST_S1_MAC, "dns_address": " ".join(self.DNS_LIST_WITH_VALID_ADDRESS), } self.assertEqual( magma_access_gateway_installer.generate_network_config(self.VALID_CLI_ARGUMENTS), expected_network_config, ) @patch("magma_access_gateway_installer.os.system") @patch("magma_access_gateway_installer.generate_network_config", Mock()) @patch("magma_access_gateway_installer.AGWInstallerNetworkConfigurator", Mock()) @patch("magma_access_gateway_installer.AGWInstallerInstallationServiceCreator", Mock()) @patch("magma_access_gateway_installer.time.sleep", Mock()) def test_given_static_ip_configuration_when_configure_network_then_system_goes_for_reboot_once_network_config_is_done( # noqa: E501 self, mock_os_system ): test_args = Namespace( ipv4_address=self.VALID_TEST_IPv4_ADDRESS, gw_ipv4_address=self.VALID_TEST_GW_IPv4_ADDRESS, ipv6_address=None, gw_ipv6_address=None, ) magma_access_gateway_installer.configure_network(test_args) mock_os_system.assert_called_once_with("reboot") @patch("magma_access_gateway_installer.os.system") @patch.object( magma_access_gateway_installer.agw_network_configurator.AGWInstallerNetworkConfigurator, "apply_netplan_configuration", ) @patch("magma_access_gateway_installer.generate_network_config", Mock()) @patch("magma_access_gateway_installer.AGWInstallerNetworkConfigurator.configure_dns", Mock()) @patch( "magma_access_gateway_installer.AGWInstallerNetworkConfigurator.configure_network_interfaces", # noqa: E501 Mock(), ) def test_given_dhcp_ip_configuration_when_configure_network_then_system_is_not_rebooted_and_netplan_config_is_applied_once_network_config_is_done( # noqa: E501 self, mocked_apply_netplan_configuration, mock_os_system ): test_args = Namespace( ipv4_address=None, gw_ipv4_address=None, ipv6_address=None, gw_ipv6_address=None, ) magma_access_gateway_installer.configure_network(test_args) mock_os_system.assert_not_called() self.assertTrue(mocked_apply_netplan_configuration.called) @patch.object(magma_access_gateway_installer, "configure_network") @patch("sys.argv", ["test.py", "--skip-networking"]) @patch("magma_access_gateway_installer.validate_args", Mock()) @patch("magma_access_gateway_installer.AGWInstallerPreinstall", Mock()) @patch("magma_access_gateway_installer.AGWInstallerServiceUserCreator", Mock()) @patch("magma_access_gateway_installer.AGWInstaller", Mock()) def test_given_skip_networking_cli_argument_passed_when_main_then_configure_network_is_not_run( self, mocked_configure_network ): magma_access_gateway_installer.main() self.assertFalse(mocked_configure_network.called) @patch.object(magma_access_gateway_installer, "configure_network") @patch("sys.argv", ["test.py", "--sgi", "eth0", "--s1", "eth1"]) @patch("magma_access_gateway_installer.validate_args", Mock()) @patch("magma_access_gateway_installer.AGWInstallerPreinstall", Mock()) @patch("magma_access_gateway_installer.AGWInstallerServiceUserCreator", Mock()) @patch("magma_access_gateway_installer.AGWInstaller", Mock()) def test_given_skip_networking_cli_argument_not_passed_when_main_then_configure_network_is_run( self, mocked_configure_network ): magma_access_gateway_installer.main() self.assertTrue(mocked_configure_network.called) @patch("magma_access_gateway_installer.network_interfaces", TEST_INTERFACES_LIST) def test_given_not_specified_sgi_and_s1_and_no_eth_and_eth1_in_the_system_when_cli_arguments_parser_then_first_two_interfaces_are_assigned_as_sgi_and_s1( # noqa: E501 self, ): parsed_args = magma_access_gateway_installer.cli_arguments_parser([]) self.assertEqual(parsed_args.sgi, self.TEST_INTERFACES_LIST[0]) self.assertEqual(parsed_args.s1, self.TEST_INTERFACES_LIST[1]) @patch("magma_access_gateway_installer.network_interfaces", ["abc", "eth0", "def", "eth1"]) def test_given_not_specified_sgi_and_s1_and_eth_and_eth1_in_the_system_when_cli_arguments_parser_then_eth0_assigned_to_sgi_and_eth1_assigned_to_s1( # noqa: E501 self, ): parsed_args = magma_access_gateway_installer.cli_arguments_parser([]) self.assertEqual(parsed_args.sgi, "eth0") self.assertEqual(parsed_args.s1, "eth1")
43.691803
171
0.731202
1,691
13,326
5.238321
0.115316
0.074509
0.121924
0.182886
0.812599
0.754121
0.715737
0.65963
0.62452
0.617972
0
0.026274
0.188879
13,326
304
172
43.835526
0.793228
0.018385
0
0.56705
0
0.015326
0.185778
0.143983
0
0
0
0
0.076628
1
0.065134
false
0.042146
0.015326
0
0.149425
0
0
0
0
null
0
0
1
1
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
64daab41870de9cc89eb5a480b0341d3fc0ecca5
181
py
Python
spielwiese/tests/test_subtraction.py
stephrdev/loetwerk
06516706b7b981cf8638474c1ad89e32ed3924e1
[ "MIT" ]
1
2019-06-13T16:18:45.000Z
2019-06-13T16:18:45.000Z
spielwiese/tests/test_subtraction.py
stephrdev/loetwerk
06516706b7b981cf8638474c1ad89e32ed3924e1
[ "MIT" ]
null
null
null
spielwiese/tests/test_subtraction.py
stephrdev/loetwerk
06516706b7b981cf8638474c1ad89e32ed3924e1
[ "MIT" ]
null
null
null
from calculon import sub, op def test_subtraction(): assert sub(1,2) == -1, '1 - 2 yields -1' def test_subtraction_with_op(): assert op(op, 1,2) == 3, '1 + 2 yields 3'
25.857143
45
0.618785
32
181
3.375
0.4375
0.074074
0.333333
0
0
0
0
0
0
0
0
0.085714
0.226519
181
7
45
25.857143
0.685714
0
0
0
0
0
0.159341
0
0
0
0
0
0.4
1
0.4
true
0
0.2
0
0.6
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
0
1
0
0
5
b38b422550b88868e9b72117e9eed10d5e003c00
72
py
Python
tapis_cli/commands/taccapis/__init__.py
bpachev/tapis-cli
c3128fb5b63ef74e06b737bbd95ef28fb24f0d32
[ "BSD-3-Clause" ]
8
2020-10-18T22:48:23.000Z
2022-01-10T09:16:14.000Z
tapis_cli/commands/taccapis/__init__.py
bpachev/tapis-cli
c3128fb5b63ef74e06b737bbd95ef28fb24f0d32
[ "BSD-3-Clause" ]
238
2019-09-04T14:37:54.000Z
2020-04-15T16:24:24.000Z
tapis_cli/commands/taccapis/__init__.py
bpachev/tapis-cli
c3128fb5b63ef74e06b737bbd95ef28fb24f0d32
[ "BSD-3-Clause" ]
5
2019-09-20T04:23:49.000Z
2020-01-16T17:45:14.000Z
from .model import TapisModel from .searchable import SearchableCommand
24
41
0.861111
8
72
7.75
0.75
0
0
0
0
0
0
0
0
0
0
0
0.111111
72
2
42
36
0.96875
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
b3bbd79df7abb3bfb118d059fb766ab5b3af9caa
96
py
Python
tests/__init__.py
sperea/LMS-Backend-Boilerplate-Django-REST
39adb9f57fd720aaba0ba27559fce00f74df4e0d
[ "ECL-2.0" ]
null
null
null
tests/__init__.py
sperea/LMS-Backend-Boilerplate-Django-REST
39adb9f57fd720aaba0ba27559fce00f74df4e0d
[ "ECL-2.0" ]
null
null
null
tests/__init__.py
sperea/LMS-Backend-Boilerplate-Django-REST
39adb9f57fd720aaba0ba27559fce00f74df4e0d
[ "ECL-2.0" ]
null
null
null
from .unit.accounts.testUserModel import * from .integrations.orm.testCoursesCreation import *
24
51
0.822917
10
96
7.9
0.8
0
0
0
0
0
0
0
0
0
0
0
0.09375
96
3
52
32
0.908046
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
37445e4cb3c9984e1d8a3f4f60295a2d6ea4df78
61
py
Python
back_end/api/Resources/Replies/__init__.py
brandonkdutton/Geo-Media
91c948806c01ae2caebe6b8306271d7de4654793
[ "Apache-2.0" ]
null
null
null
back_end/api/Resources/Replies/__init__.py
brandonkdutton/Geo-Media
91c948806c01ae2caebe6b8306271d7de4654793
[ "Apache-2.0" ]
null
null
null
back_end/api/Resources/Replies/__init__.py
brandonkdutton/Geo-Media
91c948806c01ae2caebe6b8306271d7de4654793
[ "Apache-2.0" ]
null
null
null
from .Reply import Reply from .ReplyAtPost import ReplyAtPost
30.5
36
0.852459
8
61
6.5
0.5
0
0
0
0
0
0
0
0
0
0
0
0.114754
61
2
36
30.5
0.962963
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
374dc75f534b11a9f7a3d65e4986c97395907799
610
py
Python
ndarray_access_benchmark/test_data.py
serihiro/ndarray_access_benchmark
1fbb249198394ad167c2179131aedfb5fc0b64cb
[ "MIT" ]
null
null
null
ndarray_access_benchmark/test_data.py
serihiro/ndarray_access_benchmark
1fbb249198394ad167c2179131aedfb5fc0b64cb
[ "MIT" ]
null
null
null
ndarray_access_benchmark/test_data.py
serihiro/ndarray_access_benchmark
1fbb249198394ad167c2179131aedfb5fc0b64cb
[ "MIT" ]
null
null
null
import numpy as np class TestData: def __init__(self, input_file_path: str, mmap_mode: str = 'r'): self._ndarray = np.load(file=input_file_path, mmap_mode=mmap_mode) @property def shape(self): return self._ndarray.shape @property def nbytes(self): return self._ndarray.nbytes @property def data(self): return self._ndarray.data def get_element(self, index: int, window_size: int = 0) -> np.array: if window_size <= 1: return self._ndarray[index] else: return self._ndarray[index:index + window_size]
24.4
74
0.632787
81
610
4.506173
0.419753
0.180822
0.232877
0.172603
0
0
0
0
0
0
0
0.004484
0.268852
610
24
75
25.416667
0.813901
0
0
0.166667
0
0
0.001639
0
0
0
0
0
0
1
0.277778
false
0
0.055556
0.166667
0.666667
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
5
378bf635fc8e8acc62de800bb51364eb349f4607
3,762
py
Python
api/anubis/utils/visuals/queries.py
ShubhamGG/Anubis
2c538ef258a1edf5463596a33bc66caa2ef7e35b
[ "MIT" ]
87
2021-11-08T10:58:26.000Z
2022-03-31T19:02:47.000Z
api/anubis/utils/visuals/queries.py
efaraz27/Anubis
40a12933877df7f39dd75ca26148858774fcda7b
[ "MIT" ]
114
2021-06-27T08:37:43.000Z
2021-10-24T00:51:01.000Z
api/anubis/utils/visuals/queries.py
efaraz27/Anubis
40a12933877df7f39dd75ca26148858774fcda7b
[ "MIT" ]
15
2021-11-07T17:02:21.000Z
2022-03-28T02:04:16.000Z
time_to_pass_test_sql = """ select at.name as assignment_test, u.netid as netid, TIMEDIFF(first_pass.created, first_sub.created) as time_to_pass from submission_test_result str join assignment_test at on str.assignment_test_id = at.id join assignment a on at.assignment_id = a.id join submission s on s.id = str.submission_id join user u on s.owner_id = u.id join in_course ic on u.id = ic.owner_id inner join course c on c.id = ic.course_id and a.course_id = c.id join ( /* first submissions where it passed */ select s.id as sid, u.id as uid, at.id as atid, s.created as created from assignment_test at join assignment a on a.id = at.assignment_id join submission_test_result str on at.id = str.assignment_test_id join submission s on str.submission_id = s.id join user u on u.id = s.owner_id join in_course ic on u.id = ic.owner_id inner join course c on c.id = ic.course_id and a.course_id = c.id where str.passed = 1 and a.id = :assignment_id and at.id = :assignment_test_id group by at.name, u.id having min(s.created) ) first_pass on first_pass.uid = u.id and first_pass.atid = at.id join ( /* first submissions */ select s.id as sid, u.id as uid, at.id as atid, s.created as created from submission s join assignment a on a.id = s.assignment_id join user u on u.id = s.owner_id join assignment_test at on at.assignment_id = a.id join submission_test_result str on str.submission_id = s.id join in_course ic on u.id = ic.owner_id inner join course c on c.id = ic.course_id and a.course_id = c.id where a.id = :assignment_id and at.id = :assignment_test_id group by at.name, u.id having min(s.created) ) first_sub on first_sub.uid = u.id and first_sub.atid = at.id where a.id = :assignment_id and at.id = :assignment_test_id group by at.name, u.id order by time_to_pass; """ assignment_test_pass_count_sql = """ select sum(n) from (select 1 as n from submission_test_result str join assignment_test at on str.assignment_test_id = at.id join submission s2 on str.submission_id = s2.id join assignment a on s2.assignment_id = a.id join user u on s2.owner_id = u.id join in_course ic on u.id = ic.owner_id inner join course c on c.id = ic.course_id and a.course_id = c.id where at.id = :assignment_test_id group by u.id having sum(str.passed) > 0) a """ assignment_test_fail_count_sql = """ select sum(n) from (select 1 as n from submission_test_result str join assignment_test at on str.assignment_test_id = at.id join submission s2 on str.submission_id = s2.id join assignment a on s2.assignment_id = a.id join user u on s2.owner_id = u.id join in_course ic on u.id = ic.owner_id inner join course c on c.id = ic.course_id and a.course_id = c.id where at.id = :assignment_test_id group by u.id having sum(str.passed) = 0) a """ assignment_test_fail_nosub_sql = """ select sum(n) from (select 1 as n from user u where u.id not in ( select u2.id as uid from submission s join user u2 on s.owner_id = u2.id join assignment a2 on s.assignment_id = a2.id join in_course ic on u2.id = ic.owner_id inner join course c on c.id = ic.course_id and a2.course_id = c.id where a2.id = :assignment_id ) group by u.id) a; """
41.340659
82
0.627592
650
3,762
3.466154
0.086154
0.063915
0.063915
0.037284
0.788726
0.737239
0.711496
0.675988
0.646693
0.646693
0
0.008368
0.30117
3,762
90
83
41.8
0.848612
0
0
0.586207
0
0.022989
0.959064
0.060074
0
0
0
0
0
1
0
false
0.103448
0
0
0
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
1
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
5
806cc2d90c29a45e40b72f0cc912fe63f65cbcbf
134
py
Python
django_logic/__init__.py
kishorehariram/django-logic
955f18211443b30ce39a845495e136d7590183a6
[ "MIT" ]
null
null
null
django_logic/__init__.py
kishorehariram/django-logic
955f18211443b30ce39a845495e136d7590183a6
[ "MIT" ]
null
null
null
django_logic/__init__.py
kishorehariram/django-logic
955f18211443b30ce39a845495e136d7590183a6
[ "MIT" ]
null
null
null
from .process import Process from .transition import Transition from .commands import Permissions, Conditions, SideEffects, Callbacks
33.5
69
0.843284
15
134
7.533333
0.6
0
0
0
0
0
0
0
0
0
0
0
0.11194
134
3
70
44.666667
0.94958
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
806fe5c2176fc334b1c2887c84cf9a66e419b6ac
149
py
Python
tests/conftest.py
javdrher/umongo
7eef315cea588c4c22815effbd1e4d8c571e8aa7
[ "MIT" ]
null
null
null
tests/conftest.py
javdrher/umongo
7eef315cea588c4c22815effbd1e4d8c571e8aa7
[ "MIT" ]
null
null
null
tests/conftest.py
javdrher/umongo
7eef315cea588c4c22815effbd1e4d8c571e8aa7
[ "MIT" ]
null
null
null
try: # Enable pytest-twisted only if available import pytest_twisted as _ pytest_plugins = "pytest_twisted" except ImportError: pass
21.285714
45
0.731544
18
149
5.833333
0.722222
0.371429
0
0
0
0
0
0
0
0
0
0
0.221477
149
6
46
24.833333
0.905172
0.261745
0
0
0
0
0.12963
0
0
0
0
0
0
1
0
false
0.2
0.4
0
0.4
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
0
0
0
5
80832d00a71b4d167748163ee224f9a159fa2422
85,075
py
Python
lib/pynml/nml.py
HPNetworking/pynml
e60c2a5280c5646136bc83db65bbcbdc1dc55e43
[ "Apache-2.0" ]
2
2016-10-19T09:50:47.000Z
2018-08-27T14:31:05.000Z
lib/pynml/nml.py
HPNetworking/pynml
e60c2a5280c5646136bc83db65bbcbdc1dc55e43
[ "Apache-2.0" ]
1
2018-03-22T19:12:01.000Z
2018-03-22T19:32:59.000Z
lib/pynml/nml.py
HPNetworking/pynml
e60c2a5280c5646136bc83db65bbcbdc1dc55e43
[ "Apache-2.0" ]
4
2016-01-20T04:20:56.000Z
2018-02-12T11:49:33.000Z
# -*- coding: utf-8 -*- # # Copyright (C) 2015-2016 Hewlett Packard Enterprise Development LP # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, # software distributed under the License is distributed on an # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. """ pynml main module. """ from __future__ import unicode_literals, absolute_import from __future__ import print_function, division from copy import copy from datetime import datetime from collections import OrderedDict from abc import ABCMeta, abstractmethod from xml.etree import ElementTree as etree # noqa from six import add_metaclass from rfc3986 import is_valid_uri from .exceptions import ( RelationExistsDuringError, RelationIsAliasError, RelationLocatedAtError, RelationHasInboundPortError, RelationHasOutboundPortError, RelationHasServiceError, RelationImplementedByError, RelationHasLabelError, RelationIsSinkError, RelationIsSourceError, RelationProvidesLinkError, RelationCanProvidePortError, RelationProvidesPortError, RelationHasNodeError, RelationHasEnvironmentError, RelationHasTopologyError, RelationHasLabelGroupError, RelationHasPortError, RelationHasLinkError, RelationIsSerialCompoundLinkError, AttributeNameError, AttributeIdError, AttributeEncodingError ) # Register XML namespaces NAMESPACES = {'nml': 'http://schemas.ogf.org/nml/2013/05/base'} for xmlns, uri in NAMESPACES.items(): etree.register_namespace(xmlns, uri) # Special unique variable for unset values unset = type(str('Unset'), (object,), {})() @add_metaclass(ABCMeta) class NMLObject(object): """ Base object for every NML object. This object is not part of the specification, it is just 'Pure Fabrication' (see GRASP) of refactored functionality of all objects. """ @abstractmethod def __init__(self, **kwargs): self.attributes = [] self.relations = OrderedDict() self.metadata = kwargs def _describe_object(self): """ Describe and pretty-print the NML object. :rtype: str :return: A pretty-printed string with attributes and metadata. """ name = self.__class__.__name__ attributes = [ (attr, getattr(self, attr)) for attr in self.attributes + ['metadata'] if hasattr(self, attr) ] formatted_attributes = ', '.join([ '{}={}'.format(attr, repr(value)) for attr, value in attributes ]) return '{}({})'.format(name, formatted_attributes) def __repr__(self): return self._describe_object() def __str__(self): return self._describe_object() def _tree_element(self, this, parent): """ Helper function to identify an XML node to modify in a inheritance and multi-node tree. """ if this is None: name = 'nml:' + self.__class__.__name__ if parent is None: this = etree.Element(name) else: this = etree.SubElement(parent, name) return this def as_nml(self, this=None, parent=None): """ Build NML representation of this node. :param this: Node to modify. If `None`, a new node is created. :type this: :py:class:`xml.etree.ElementTree` :param parent: Parent node to hook to. If `None`, a root node is created. :type parent: :py:class:`xml.etree.ElementTree` :rtype: :py:class:`xml.etree.ElementTree` :return: The NML representation of this node. """ this = self._tree_element(this, parent) # Attributes for attr_name in self.attributes: attr = getattr(self, attr_name) if attr is not unset: this.attrib[attr_name] = attr # Relations for relname, relgetter in self.relations.items(): # Composition elements are tuples # Aggregation elements are OrderedDict associated = relgetter() if isinstance(associated, OrderedDict): associated = associated.values() # Ignore empty relations if not associated or not all(associated): continue # Create subelement relation = etree.SubElement( this, 'Relation', type='{}#{}'.format(NAMESPACES['nml'], relname) ) for associated in associated: etree.SubElement( relation, associated.__class__.__name__, id=associated.identifier ) return this @add_metaclass(ABCMeta) class NetworkObject(NMLObject): """ The basic class from other instances inherit from. No NetworkObject instances can be created because this class is abstract. :param str name: Human readable string name. :param str identifier: Persistent globally unique URI. :param str version: Time stamp formatted as ISO 8601. """ @abstractmethod def __init__( self, name=None, identifier=None, version=None, **kwargs): super(NetworkObject, self).__init__(**kwargs) # Attributes self.attributes.append('name') if name is None: name = '{}({})'.format( self.__class__.__name__, str(id(self)) ) self.name = name self.attributes.append('identifier') if identifier is None: identifier = str(id(self)) self.identifier = identifier self.attributes.append('version') if version is None: version = datetime.now().replace(microsecond=0).isoformat() self.version = version # Relations self.relations['existsDuring'] = \ self.get_exists_during self._exists_during_lifetimes = OrderedDict() self.relations['isAlias'] = \ self.get_is_alias self._is_alias_network_objects = OrderedDict() self.relations['locatedAt'] = \ self.get_located_at self._located_at_locations = (None, ) @property def name(self): """ Get attribute name. :return: Human readable string name. :rtype: str """ return self._name @name.setter def name(self, name): """ Set attribute name. :param str name: Human readable string name. """ if name is not unset and not name: raise AttributeNameError() self._name = name @property def identifier(self): """ Get attribute identifier. :return: Persistent globally unique URI. :rtype: str """ return self._identifier @identifier.setter def identifier(self, identifier): """ Set attribute identifier. :param str identifier: Persistent globally unique URI. """ if identifier is not unset and not is_valid_uri(identifier): raise AttributeIdError() self._identifier = identifier @property def version(self): """ Get attribute version. :return: Time stamp formatted as ISO 8601. :rtype: str """ return self._version @version.setter def version(self, version): """ Set attribute version. :param str version: Time stamp formatted as ISO 8601. """ self._version = version def exists_during(self, lifetime): """ Check `existsDuring` relation with given `lifetime` object. FIXME: Document existsDuring relation. :param lifetime: Object to validate relation `existsDuring` with. :type lifetime: Lifetime :return: True if `lifetime` is related to `self` with `existsDuring`. :rtype: bool """ if lifetime.__class__ not in ( Lifetime, ): raise RelationExistsDuringError() return lifetime.identifier in \ self._exists_during_lifetimes def add_exists_during(self, lifetime): """ Add given `lifetime` to this object `existsDuring` relations. :param lifetime: Object to add to the `existsDuring` relation. :type lifetime: Lifetime """ if lifetime.__class__ not in ( Lifetime, ): raise RelationExistsDuringError() self._exists_during_lifetimes[lifetime.identifier] = \ lifetime def get_exists_during(self): """ Get all objects related with this object with relation `existsDuring`. :rtype: :py:class:`OrderedDict` :return: A copy of the collection of objects related with this object. """ return copy(self._exists_during_lifetimes) def is_alias(self, network_object): """ Check `isAlias` relation with given `network_object` object. FIXME: Document isAlias relation. :param network_object: Object to validate relation `isAlias` with. :type network_object: NetworkObject :return: True if `network_object` is related to `self` with `isAlias`. :rtype: bool """ if network_object.__class__ not in ( NetworkObject, ): raise RelationIsAliasError() return network_object.identifier in \ self._is_alias_network_objects def add_is_alias(self, network_object): """ Add given `network_object` to this object `isAlias` relations. :param network_object: Object to add to the `isAlias` relation. :type network_object: NetworkObject """ if network_object.__class__ not in ( NetworkObject, ): raise RelationIsAliasError() self._is_alias_network_objects[network_object.identifier] = \ network_object def get_is_alias(self): """ Get all objects related with this object with relation `isAlias`. :rtype: :py:class:`OrderedDict` :return: A copy of the collection of objects related with this object. """ return copy(self._is_alias_network_objects) def located_at(self, location): """ Check `locatedAt` relation with given `location` object. FIXME: Document locatedAt relation. :param location: Object to validate relation `locatedAt` with. :type location: Location :return: True if `location` is related to `self` with `locatedAt`. :rtype: bool """ if location.__class__ not in ( Location, ): raise RelationLocatedAtError() return location in \ self._located_at_locations def set_located_at(self, location): """ Set the `locatedAt` relation to given objects. :param location: Object to set to the `locatedAt` relation. :type location: Location """ arg_tuple = (location, ) for arg in arg_tuple: if arg.__class__ not in (Location, ): raise RelationLocatedAtError() self._located_at_locations = arg_tuple def get_located_at(self): """ Get all objects related with this object with relation `locatedAt`. :rtype: set :return: A copy of the collection of objects related with this object. """ return copy(self._located_at_locations) class Node(NetworkObject): """ A Node object represents a device in a network. Physical or virtual devices can be represented by instances of this class. """ def __init__( self, **kwargs): super(Node, self).__init__(**kwargs) # Relations self.relations['hasInboundPort'] = \ self.get_has_inbound_port self._has_inbound_port_ports = OrderedDict() self.relations['hasOutboundPort'] = \ self.get_has_outbound_port self._has_outbound_port_ports = OrderedDict() self.relations['hasService'] = \ self.get_has_service self._has_service_switching_services = OrderedDict() self.relations['implementedBy'] = \ self.get_implemented_by self._implemented_by_nodes = OrderedDict() def has_inbound_port(self, port): """ Check `hasInboundPort` relation with given `port` object. FIXME: Document hasInboundPort relation. :param port: Object to validate relation `hasInboundPort` with. :type port: Port or PortGroup :return: True if `port` is related to `self` with `hasInboundPort`. :rtype: bool """ if port.__class__ not in ( Port, PortGroup, ): raise RelationHasInboundPortError() return port.identifier in \ self._has_inbound_port_ports def add_has_inbound_port(self, port): """ Add given `port` to this object `hasInboundPort` relations. :param port: Object to add to the `hasInboundPort` relation. :type port: Port or PortGroup """ if port.__class__ not in ( Port, PortGroup, ): raise RelationHasInboundPortError() self._has_inbound_port_ports[port.identifier] = \ port def get_has_inbound_port(self): """ Get all objects related with this object with relation `hasInboundPort`. :rtype: :py:class:`OrderedDict` :return: A copy of the collection of objects related with this object. """ return copy(self._has_inbound_port_ports) def has_outbound_port(self, port): """ Check `hasOutboundPort` relation with given `port` object. FIXME: Document hasOutboundPort relation. :param port: Object to validate relation `hasOutboundPort` with. :type port: Port or PortGroup :return: True if `port` is related to `self` with `hasOutboundPort`. :rtype: bool """ if port.__class__ not in ( Port, PortGroup, ): raise RelationHasOutboundPortError() return port.identifier in \ self._has_outbound_port_ports def add_has_outbound_port(self, port): """ Add given `port` to this object `hasOutboundPort` relations. :param port: Object to add to the `hasOutboundPort` relation. :type port: Port or PortGroup """ if port.__class__ not in ( Port, PortGroup, ): raise RelationHasOutboundPortError() self._has_outbound_port_ports[port.identifier] = \ port def get_has_outbound_port(self): """ Get all objects related with this object with relation `hasOutboundPort`. :rtype: :py:class:`OrderedDict` :return: A copy of the collection of objects related with this object. """ return copy(self._has_outbound_port_ports) def has_service(self, switching_service): """ Check `hasService` relation with given `switching_service` object. FIXME: Document hasService relation. :param switching_service: Object to validate relation `hasService` with. :type switching_service: SwitchingService :return: True if `switching_service` is related to `self` with `hasService`. :rtype: bool """ if switching_service.__class__ not in ( SwitchingService, ): raise RelationHasServiceError() return switching_service.identifier in \ self._has_service_switching_services def add_has_service(self, switching_service): """ Add given `switching_service` to this object `hasService` relations. :param switching_service: Object to add to the `hasService` relation. :type switching_service: SwitchingService """ if switching_service.__class__ not in ( SwitchingService, ): raise RelationHasServiceError() self._has_service_switching_services[switching_service.identifier] = \ switching_service def get_has_service(self): """ Get all objects related with this object with relation `hasService`. :rtype: :py:class:`OrderedDict` :return: A copy of the collection of objects related with this object. """ return copy(self._has_service_switching_services) def implemented_by(self, node): """ Check `implementedBy` relation with given `node` object. FIXME: Document implementedBy relation. :param node: Object to validate relation `implementedBy` with. :type node: Node :return: True if `node` is related to `self` with `implementedBy`. :rtype: bool """ if node.__class__ not in ( Node, ): raise RelationImplementedByError() return node.identifier in \ self._implemented_by_nodes def add_implemented_by(self, node): """ Add given `node` to this object `implementedBy` relations. :param node: Object to add to the `implementedBy` relation. :type node: Node """ if node.__class__ not in ( Node, ): raise RelationImplementedByError() self._implemented_by_nodes[node.identifier] = \ node def get_implemented_by(self): """ Get all objects related with this object with relation `implementedBy`. :rtype: :py:class:`OrderedDict` :return: A copy of the collection of objects related with this object. """ return copy(self._implemented_by_nodes) class Port(NetworkObject): """ Endpoint of an unidirectional connection. Can represent physical or virtual ports. Needs a proper linking instance to connect to other ports. :param str encoding: Format of the data streaming through the port as an URI. """ def __init__( self, encoding=None, **kwargs): super(Port, self).__init__(**kwargs) # Attributes self.attributes.append('encoding') if encoding is None: encoding = unset self.encoding = encoding # Relations self.relations['hasLabel'] = \ self.get_has_label self._has_label_labels = (None, ) self.relations['hasService'] = \ self.get_has_service self._has_service_adaptation_services = OrderedDict() self.relations['isSink'] = \ self.get_is_sink self._is_sink_links = OrderedDict() self.relations['isSource'] = \ self.get_is_source self._is_source_links = OrderedDict() @property def encoding(self): """ Get attribute encoding. :return: Format of the data streaming through the port as an URI. :rtype: str """ return self._encoding @encoding.setter def encoding(self, encoding): """ Set attribute encoding. :param str encoding: Format of the data streaming through the port as an URI. """ if encoding is not unset and not is_valid_uri(encoding): raise AttributeEncodingError() self._encoding = encoding def has_label(self, label): """ Check `hasLabel` relation with given `label` object. FIXME: Document hasLabel relation. :param label: Object to validate relation `hasLabel` with. :type label: Label :return: True if `label` is related to `self` with `hasLabel`. :rtype: bool """ if label.__class__ not in ( Label, ): raise RelationHasLabelError() return label in \ self._has_label_labels def set_has_label(self, label): """ Set the `hasLabel` relation to given objects. :param label: Object to set to the `hasLabel` relation. :type label: Label """ arg_tuple = (label, ) for arg in arg_tuple: if arg.__class__ not in (Label, ): raise RelationHasLabelError() self._has_label_labels = arg_tuple def get_has_label(self): """ Get all objects related with this object with relation `hasLabel`. :rtype: set :return: A copy of the collection of objects related with this object. """ return copy(self._has_label_labels) def has_service(self, adaptation_service): """ Check `hasService` relation with given `adaptation_service` object. FIXME: Document hasService relation. :param adaptation_service: Object to validate relation `hasService` with. :type adaptation_service: AdaptationService or DeAdaptationService :return: True if `adaptation_service` is related to `self` with `hasService`. :rtype: bool """ if adaptation_service.__class__ not in ( AdaptationService, DeAdaptationService, ): raise RelationHasServiceError() return adaptation_service.identifier in \ self._has_service_adaptation_services def add_has_service(self, adaptation_service): """ Add given `adaptation_service` to this object `hasService` relations. :param adaptation_service: Object to add to the `hasService` relation. :type adaptation_service: AdaptationService or DeAdaptationService """ if adaptation_service.__class__ not in ( AdaptationService, DeAdaptationService, ): raise RelationHasServiceError() self._has_service_adaptation_services[adaptation_service.identifier] = \ adaptation_service def get_has_service(self): """ Get all objects related with this object with relation `hasService`. :rtype: :py:class:`OrderedDict` :return: A copy of the collection of objects related with this object. """ return copy(self._has_service_adaptation_services) def is_sink(self, link): """ Check `isSink` relation with given `link` object. FIXME: Document isSink relation. :param link: Object to validate relation `isSink` with. :type link: Link :return: True if `link` is related to `self` with `isSink`. :rtype: bool """ if link.__class__ not in ( Link, ): raise RelationIsSinkError() return link.identifier in \ self._is_sink_links def add_is_sink(self, link): """ Add given `link` to this object `isSink` relations. :param link: Object to add to the `isSink` relation. :type link: Link """ if link.__class__ not in ( Link, ): raise RelationIsSinkError() self._is_sink_links[link.identifier] = \ link def get_is_sink(self): """ Get all objects related with this object with relation `isSink`. :rtype: :py:class:`OrderedDict` :return: A copy of the collection of objects related with this object. """ return copy(self._is_sink_links) def is_source(self, link): """ Check `isSource` relation with given `link` object. FIXME: Document isSource relation. :param link: Object to validate relation `isSource` with. :type link: Link :return: True if `link` is related to `self` with `isSource`. :rtype: bool """ if link.__class__ not in ( Link, ): raise RelationIsSourceError() return link.identifier in \ self._is_source_links def add_is_source(self, link): """ Add given `link` to this object `isSource` relations. :param link: Object to add to the `isSource` relation. :type link: Link """ if link.__class__ not in ( Link, ): raise RelationIsSourceError() self._is_source_links[link.identifier] = \ link def get_is_source(self): """ Get all objects related with this object with relation `isSource`. :rtype: :py:class:`OrderedDict` :return: A copy of the collection of objects related with this object. """ return copy(self._is_source_links) class Link(NetworkObject): """ Connects a source object with a sink one. Sources and sinks have specified isSource or isSink relations with the Link instance but not vice versa. :param str encoding: Format of the data streaming through the link as an URI. """ def __init__( self, encoding=None, **kwargs): super(Link, self).__init__(**kwargs) # Attributes self.attributes.append('encoding') if encoding is None: encoding = unset self.encoding = encoding # Relations self.relations['hasLabel'] = \ self.get_has_label self._has_label_labels = (None, ) @property def encoding(self): """ Get attribute encoding. :return: Format of the data streaming through the link as an URI. :rtype: str """ return self._encoding @encoding.setter def encoding(self, encoding): """ Set attribute encoding. :param str encoding: Format of the data streaming through the link as an URI. """ if encoding is not unset and not is_valid_uri(encoding): raise AttributeEncodingError() self._encoding = encoding def has_label(self, label): """ Check `hasLabel` relation with given `label` object. FIXME: Document hasLabel relation. :param label: Object to validate relation `hasLabel` with. :type label: Label :return: True if `label` is related to `self` with `hasLabel`. :rtype: bool """ if label.__class__ not in ( Label, ): raise RelationHasLabelError() return label in \ self._has_label_labels def set_has_label(self, label): """ Set the `hasLabel` relation to given objects. :param label: Object to set to the `hasLabel` relation. :type label: Label """ arg_tuple = (label, ) for arg in arg_tuple: if arg.__class__ not in (Label, ): raise RelationHasLabelError() self._has_label_labels = arg_tuple def get_has_label(self): """ Get all objects related with this object with relation `hasLabel`. :rtype: set :return: A copy of the collection of objects related with this object. """ return copy(self._has_label_labels) @add_metaclass(ABCMeta) class Service(NetworkObject): """ Base class for services that a network may provide. No Service instances can be created because this class is abstract. """ @abstractmethod def __init__( self, **kwargs): super(Service, self).__init__(**kwargs) class SwitchingService(Service): """ Shows that the network can create new links between certain ports. An instance of this class shows that the network is capable of creating new Links or LinkGroups between its inbound and outbound ports. These Links or LinkGroups are identified by being related to the SwitchingService instance with a providesLink relation. :param str encoding: Format of the data streaming through the service as an URI. """ def __init__( self, encoding=None, **kwargs): super(SwitchingService, self).__init__(**kwargs) # Attributes self.attributes.append('encoding') if encoding is None: encoding = unset self.encoding = encoding # Relations self.relations['hasInboundPort'] = \ self.get_has_inbound_port self._has_inbound_port_ports = OrderedDict() self.relations['hasOutboundPort'] = \ self.get_has_outbound_port self._has_outbound_port_ports = OrderedDict() self.relations['providesLink'] = \ self.get_provides_link self._provides_link_links = OrderedDict() @property def encoding(self): """ Get attribute encoding. :return: Format of the data streaming through the service as an URI. :rtype: str """ return self._encoding @encoding.setter def encoding(self, encoding): """ Set attribute encoding. :param str encoding: Format of the data streaming through the service as an URI. """ if encoding is not unset and not is_valid_uri(encoding): raise AttributeEncodingError() self._encoding = encoding def has_inbound_port(self, port): """ Check `hasInboundPort` relation with given `port` object. FIXME: Document hasInboundPort relation. :param port: Object to validate relation `hasInboundPort` with. :type port: Port or PortGroup :return: True if `port` is related to `self` with `hasInboundPort`. :rtype: bool """ if port.__class__ not in ( Port, PortGroup, ): raise RelationHasInboundPortError() return port.identifier in \ self._has_inbound_port_ports def add_has_inbound_port(self, port): """ Add given `port` to this object `hasInboundPort` relations. :param port: Object to add to the `hasInboundPort` relation. :type port: Port or PortGroup """ if port.__class__ not in ( Port, PortGroup, ): raise RelationHasInboundPortError() self._has_inbound_port_ports[port.identifier] = \ port def get_has_inbound_port(self): """ Get all objects related with this object with relation `hasInboundPort`. :rtype: :py:class:`OrderedDict` :return: A copy of the collection of objects related with this object. """ return copy(self._has_inbound_port_ports) def has_outbound_port(self, port): """ Check `hasOutboundPort` relation with given `port` object. FIXME: Document hasOutboundPort relation. :param port: Object to validate relation `hasOutboundPort` with. :type port: Port or PortGroup :return: True if `port` is related to `self` with `hasOutboundPort`. :rtype: bool """ if port.__class__ not in ( Port, PortGroup, ): raise RelationHasOutboundPortError() return port.identifier in \ self._has_outbound_port_ports def add_has_outbound_port(self, port): """ Add given `port` to this object `hasOutboundPort` relations. :param port: Object to add to the `hasOutboundPort` relation. :type port: Port or PortGroup """ if port.__class__ not in ( Port, PortGroup, ): raise RelationHasOutboundPortError() self._has_outbound_port_ports[port.identifier] = \ port def get_has_outbound_port(self): """ Get all objects related with this object with relation `hasOutboundPort`. :rtype: :py:class:`OrderedDict` :return: A copy of the collection of objects related with this object. """ return copy(self._has_outbound_port_ports) def provides_link(self, link): """ Check `providesLink` relation with given `link` object. FIXME: Document providesLink relation. :param link: Object to validate relation `providesLink` with. :type link: Link or LinkGroup :return: True if `link` is related to `self` with `providesLink`. :rtype: bool """ if link.__class__ not in ( Link, LinkGroup, ): raise RelationProvidesLinkError() return link.identifier in \ self._provides_link_links def add_provides_link(self, link): """ Add given `link` to this object `providesLink` relations. :param link: Object to add to the `providesLink` relation. :type link: Link or LinkGroup """ if link.__class__ not in ( Link, LinkGroup, ): raise RelationProvidesLinkError() self._provides_link_links[link.identifier] = \ link def get_provides_link(self): """ Get all objects related with this object with relation `providesLink`. :rtype: :py:class:`OrderedDict` :return: A copy of the collection of objects related with this object. """ return copy(self._provides_link_links) class AdaptationService(Service): """ Shows that the network can embed data from one or more Ports or PortGroups into other Ports or PortGroups. An instance of this class shows that data from one or more Ports can be embedded in the data encoding of other Port or Ports. This class has an adaptationFunction attribute that should describe the kind of embedding that is used by the AdaptationService instance. :param None adaptation_function: Function for multiplexing. """ def __init__( self, adaptation_function=None, **kwargs): super(AdaptationService, self).__init__(**kwargs) # Attributes self.attributes.append('adaptation_function') self.adaptation_function = adaptation_function # Relations self.relations['canProvidePort'] = \ self.get_can_provide_port self._can_provide_port_ports = OrderedDict() self.relations['existsDuring'] = \ self.get_exists_during self._exists_during_lifetimes = OrderedDict() self.relations['providesPort'] = \ self.get_provides_port self._provides_port_ports = OrderedDict() def can_provide_port(self, port): """ Check `canProvidePort` relation with given `port` object. FIXME: Document canProvidePort relation. :param port: Object to validate relation `canProvidePort` with. :type port: Port or PortGroup :return: True if `port` is related to `self` with `canProvidePort`. :rtype: bool """ if port.__class__ not in ( Port, PortGroup, ): raise RelationCanProvidePortError() return port.identifier in \ self._can_provide_port_ports def add_can_provide_port(self, port): """ Add given `port` to this object `canProvidePort` relations. :param port: Object to add to the `canProvidePort` relation. :type port: Port or PortGroup """ if port.__class__ not in ( Port, PortGroup, ): raise RelationCanProvidePortError() self._can_provide_port_ports[port.identifier] = \ port def get_can_provide_port(self): """ Get all objects related with this object with relation `canProvidePort`. :rtype: :py:class:`OrderedDict` :return: A copy of the collection of objects related with this object. """ return copy(self._can_provide_port_ports) def exists_during(self, lifetime): """ Check `existsDuring` relation with given `lifetime` object. FIXME: Document existsDuring relation. :param lifetime: Object to validate relation `existsDuring` with. :type lifetime: Lifetime :return: True if `lifetime` is related to `self` with `existsDuring`. :rtype: bool """ if lifetime.__class__ not in ( Lifetime, ): raise RelationExistsDuringError() return lifetime.identifier in \ self._exists_during_lifetimes def add_exists_during(self, lifetime): """ Add given `lifetime` to this object `existsDuring` relations. :param lifetime: Object to add to the `existsDuring` relation. :type lifetime: Lifetime """ if lifetime.__class__ not in ( Lifetime, ): raise RelationExistsDuringError() self._exists_during_lifetimes[lifetime.identifier] = \ lifetime def get_exists_during(self): """ Get all objects related with this object with relation `existsDuring`. :rtype: :py:class:`OrderedDict` :return: A copy of the collection of objects related with this object. """ return copy(self._exists_during_lifetimes) def provides_port(self, port): """ Check `providesPort` relation with given `port` object. FIXME: Document providesPort relation. :param port: Object to validate relation `providesPort` with. :type port: Port or PortGroup :return: True if `port` is related to `self` with `providesPort`. :rtype: bool """ if port.__class__ not in ( Port, PortGroup, ): raise RelationProvidesPortError() return port.identifier in \ self._provides_port_ports def add_provides_port(self, port): """ Add given `port` to this object `providesPort` relations. :param port: Object to add to the `providesPort` relation. :type port: Port or PortGroup """ if port.__class__ not in ( Port, PortGroup, ): raise RelationProvidesPortError() self._provides_port_ports[port.identifier] = \ port def get_provides_port(self): """ Get all objects related with this object with relation `providesPort`. :rtype: :py:class:`OrderedDict` :return: A copy of the collection of objects related with this object. """ return copy(self._provides_port_ports) class DeAdaptationService(Service): """ Shows that the network can extract data from one or more Ports or PortGroups encoding. An instance of this class shows that data from one or more Ports can be extracted from the data encoding of other Port or Ports. This class has an adaptationFunction attribute that should describe the kind of extraction that is used by the DeadaptationService instance. :param None adaptation_function: Function for multiplexing. """ def __init__( self, adaptation_function=None, **kwargs): super(DeAdaptationService, self).__init__(**kwargs) # Attributes self.attributes.append('adaptation_function') self.adaptation_function = adaptation_function # Relations self.relations['canProvidePort'] = \ self.get_can_provide_port self._can_provide_port_ports = OrderedDict() self.relations['existsDuring'] = \ self.get_exists_during self._exists_during_lifetimes = OrderedDict() self.relations['providesPort'] = \ self.get_provides_port self._provides_port_ports = OrderedDict() def can_provide_port(self, port): """ Check `canProvidePort` relation with given `port` object. FIXME: Document canProvidePort relation. :param port: Object to validate relation `canProvidePort` with. :type port: Port or PortGroup :return: True if `port` is related to `self` with `canProvidePort`. :rtype: bool """ if port.__class__ not in ( Port, PortGroup, ): raise RelationCanProvidePortError() return port.identifier in \ self._can_provide_port_ports def add_can_provide_port(self, port): """ Add given `port` to this object `canProvidePort` relations. :param port: Object to add to the `canProvidePort` relation. :type port: Port or PortGroup """ if port.__class__ not in ( Port, PortGroup, ): raise RelationCanProvidePortError() self._can_provide_port_ports[port.identifier] = \ port def get_can_provide_port(self): """ Get all objects related with this object with relation `canProvidePort`. :rtype: :py:class:`OrderedDict` :return: A copy of the collection of objects related with this object. """ return copy(self._can_provide_port_ports) def exists_during(self, lifetime): """ Check `existsDuring` relation with given `lifetime` object. FIXME: Document existsDuring relation. :param lifetime: Object to validate relation `existsDuring` with. :type lifetime: Lifetime :return: True if `lifetime` is related to `self` with `existsDuring`. :rtype: bool """ if lifetime.__class__ not in ( Lifetime, ): raise RelationExistsDuringError() return lifetime.identifier in \ self._exists_during_lifetimes def add_exists_during(self, lifetime): """ Add given `lifetime` to this object `existsDuring` relations. :param lifetime: Object to add to the `existsDuring` relation. :type lifetime: Lifetime """ if lifetime.__class__ not in ( Lifetime, ): raise RelationExistsDuringError() self._exists_during_lifetimes[lifetime.identifier] = \ lifetime def get_exists_during(self): """ Get all objects related with this object with relation `existsDuring`. :rtype: :py:class:`OrderedDict` :return: A copy of the collection of objects related with this object. """ return copy(self._exists_during_lifetimes) def provides_port(self, port): """ Check `providesPort` relation with given `port` object. FIXME: Document providesPort relation. :param port: Object to validate relation `providesPort` with. :type port: Port or PortGroup :return: True if `port` is related to `self` with `providesPort`. :rtype: bool """ if port.__class__ not in ( Port, PortGroup, ): raise RelationProvidesPortError() return port.identifier in \ self._provides_port_ports def add_provides_port(self, port): """ Add given `port` to this object `providesPort` relations. :param port: Object to add to the `providesPort` relation. :type port: Port or PortGroup """ if port.__class__ not in ( Port, PortGroup, ): raise RelationProvidesPortError() self._provides_port_ports[port.identifier] = \ port def get_provides_port(self): """ Get all objects related with this object with relation `providesPort`. :rtype: :py:class:`OrderedDict` :return: A copy of the collection of objects related with this object. """ return copy(self._provides_port_ports) @add_metaclass(ABCMeta) class Group(NetworkObject): """ A collection of objects. Any object can be part of a Group, even another Group. An object can be part of multiple Groups. """ @abstractmethod def __init__( self, **kwargs): super(Group, self).__init__(**kwargs) class Topology(Group): """ A set of connected or connectable Network objects. One or more Link or LinkGroup objects can provide the connection between the Topology Network Objects. """ def __init__( self, **kwargs): super(Topology, self).__init__(**kwargs) # Relations self.relations['existsDuring'] = \ self.get_exists_during self._exists_during_lifetimes = OrderedDict() self.relations['hasNode'] = \ self.get_has_node self._has_node_nodes = OrderedDict() self.relations['hasInboundPort'] = \ self.get_has_inbound_port self._has_inbound_port_ports = OrderedDict() self.relations['hasOutboundPort'] = \ self.get_has_outbound_port self._has_outbound_port_ports = OrderedDict() self.relations['hasService'] = \ self.get_has_service self._has_service_switching_services = OrderedDict() self.relations['hasEnvironment'] = \ self.get_has_environment self._has_environment_environments = OrderedDict() self.relations['hasTopology'] = \ self.get_has_topology self._has_topology_topologies = OrderedDict() def exists_during(self, lifetime): """ Check `existsDuring` relation with given `lifetime` object. FIXME: Document existsDuring relation. :param lifetime: Object to validate relation `existsDuring` with. :type lifetime: Lifetime :return: True if `lifetime` is related to `self` with `existsDuring`. :rtype: bool """ if lifetime.__class__ not in ( Lifetime, ): raise RelationExistsDuringError() return lifetime.identifier in \ self._exists_during_lifetimes def add_exists_during(self, lifetime): """ Add given `lifetime` to this object `existsDuring` relations. :param lifetime: Object to add to the `existsDuring` relation. :type lifetime: Lifetime """ if lifetime.__class__ not in ( Lifetime, ): raise RelationExistsDuringError() self._exists_during_lifetimes[lifetime.identifier] = \ lifetime def get_exists_during(self): """ Get all objects related with this object with relation `existsDuring`. :rtype: :py:class:`OrderedDict` :return: A copy of the collection of objects related with this object. """ return copy(self._exists_during_lifetimes) def has_node(self, node): """ Check `hasNode` relation with given `node` object. FIXME: Document hasNode relation. :param node: Object to validate relation `hasNode` with. :type node: Node :return: True if `node` is related to `self` with `hasNode`. :rtype: bool """ if node.__class__ not in ( Node, ): raise RelationHasNodeError() return node.identifier in \ self._has_node_nodes def add_has_node(self, node): """ Add given `node` to this object `hasNode` relations. :param node: Object to add to the `hasNode` relation. :type node: Node """ if node.__class__ not in ( Node, ): raise RelationHasNodeError() self._has_node_nodes[node.identifier] = \ node def get_has_node(self): """ Get all objects related with this object with relation `hasNode`. :rtype: :py:class:`OrderedDict` :return: A copy of the collection of objects related with this object. """ return copy(self._has_node_nodes) def has_inbound_port(self, port): """ Check `hasInboundPort` relation with given `port` object. FIXME: Document hasInboundPort relation. :param port: Object to validate relation `hasInboundPort` with. :type port: Port or PortGroup :return: True if `port` is related to `self` with `hasInboundPort`. :rtype: bool """ if port.__class__ not in ( Port, PortGroup, ): raise RelationHasInboundPortError() return port.identifier in \ self._has_inbound_port_ports def add_has_inbound_port(self, port): """ Add given `port` to this object `hasInboundPort` relations. :param port: Object to add to the `hasInboundPort` relation. :type port: Port or PortGroup """ if port.__class__ not in ( Port, PortGroup, ): raise RelationHasInboundPortError() self._has_inbound_port_ports[port.identifier] = \ port def get_has_inbound_port(self): """ Get all objects related with this object with relation `hasInboundPort`. :rtype: :py:class:`OrderedDict` :return: A copy of the collection of objects related with this object. """ return copy(self._has_inbound_port_ports) def has_outbound_port(self, port): """ Check `hasOutboundPort` relation with given `port` object. FIXME: Document hasOutboundPort relation. :param port: Object to validate relation `hasOutboundPort` with. :type port: Port or PortGroup :return: True if `port` is related to `self` with `hasOutboundPort`. :rtype: bool """ if port.__class__ not in ( Port, PortGroup, ): raise RelationHasOutboundPortError() return port.identifier in \ self._has_outbound_port_ports def add_has_outbound_port(self, port): """ Add given `port` to this object `hasOutboundPort` relations. :param port: Object to add to the `hasOutboundPort` relation. :type port: Port or PortGroup """ if port.__class__ not in ( Port, PortGroup, ): raise RelationHasOutboundPortError() self._has_outbound_port_ports[port.identifier] = \ port def get_has_outbound_port(self): """ Get all objects related with this object with relation `hasOutboundPort`. :rtype: :py:class:`OrderedDict` :return: A copy of the collection of objects related with this object. """ return copy(self._has_outbound_port_ports) def has_service(self, switching_service): """ Check `hasService` relation with given `switching_service` object. FIXME: Document hasService relation. :param switching_service: Object to validate relation `hasService` with. :type switching_service: SwitchingService :return: True if `switching_service` is related to `self` with `hasService`. :rtype: bool """ if switching_service.__class__ not in ( SwitchingService, ): raise RelationHasServiceError() return switching_service.identifier in \ self._has_service_switching_services def add_has_service(self, switching_service): """ Add given `switching_service` to this object `hasService` relations. :param switching_service: Object to add to the `hasService` relation. :type switching_service: SwitchingService """ if switching_service.__class__ not in ( SwitchingService, ): raise RelationHasServiceError() self._has_service_switching_services[switching_service.identifier] = \ switching_service def get_has_service(self): """ Get all objects related with this object with relation `hasService`. :rtype: :py:class:`OrderedDict` :return: A copy of the collection of objects related with this object. """ return copy(self._has_service_switching_services) def has_environment(self, environment): """ Check `hasEnvironment` relation with given `environment` object. FIXME: Document hasEnvironment relation. :param environment: Object to validate relation `hasEnvironment` with. :type environment: Environment :return: True if `environment` is related to `self` with `hasEnvironment`. :rtype: bool """ if environment.__class__ not in ( Environment, ): raise RelationHasEnvironmentError() return environment.identifier in \ self._has_environment_environments def add_has_environment(self, environment): """ Add given `environment` to this object `hasEnvironment` relations. :param environment: Object to add to the `hasEnvironment` relation. :type environment: Environment """ if environment.__class__ not in ( Environment, ): raise RelationHasEnvironmentError() self._has_environment_environments[environment.identifier] = \ environment def get_has_environment(self): """ Get all objects related with this object with relation `hasEnvironment`. :rtype: :py:class:`OrderedDict` :return: A copy of the collection of objects related with this object. """ return copy(self._has_environment_environments) def has_topology(self, topology): """ Check `hasTopology` relation with given `topology` object. FIXME: Document hasTopology relation. :param topology: Object to validate relation `hasTopology` with. :type topology: Topology :return: True if `topology` is related to `self` with `hasTopology`. :rtype: bool """ if topology.__class__ not in ( Topology, ): raise RelationHasTopologyError() return topology.identifier in \ self._has_topology_topologies def add_has_topology(self, topology): """ Add given `topology` to this object `hasTopology` relations. :param topology: Object to add to the `hasTopology` relation. :type topology: Topology """ if topology.__class__ not in ( Topology, ): raise RelationHasTopologyError() self._has_topology_topologies[topology.identifier] = \ topology def get_has_topology(self): """ Get all objects related with this object with relation `hasTopology`. :rtype: :py:class:`OrderedDict` :return: A copy of the collection of objects related with this object. """ return copy(self._has_topology_topologies) class PortGroup(Group): """ A unordered set of Ports. FIXME: Document PortGroup. """ def __init__( self, **kwargs): super(PortGroup, self).__init__(**kwargs) # Relations self.relations['existsDuring'] = \ self.get_exists_during self._exists_during_lifetimes = OrderedDict() self.relations['hasLabelGroup'] = \ self.get_has_label_group self._has_label_group_lifetimes = (None, ) self.relations['hasPort'] = \ self.get_has_port self._has_port_ports = OrderedDict() self.relations['isSink'] = \ self.get_is_sink self._is_sink_link_groups = OrderedDict() self.relations['isSource'] = \ self.get_is_source self._is_source_link_groups = OrderedDict() def exists_during(self, lifetime): """ Check `existsDuring` relation with given `lifetime` object. FIXME: Document existsDuring relation. :param lifetime: Object to validate relation `existsDuring` with. :type lifetime: Lifetime :return: True if `lifetime` is related to `self` with `existsDuring`. :rtype: bool """ if lifetime.__class__ not in ( Lifetime, ): raise RelationExistsDuringError() return lifetime.identifier in \ self._exists_during_lifetimes def add_exists_during(self, lifetime): """ Add given `lifetime` to this object `existsDuring` relations. :param lifetime: Object to add to the `existsDuring` relation. :type lifetime: Lifetime """ if lifetime.__class__ not in ( Lifetime, ): raise RelationExistsDuringError() self._exists_during_lifetimes[lifetime.identifier] = \ lifetime def get_exists_during(self): """ Get all objects related with this object with relation `existsDuring`. :rtype: :py:class:`OrderedDict` :return: A copy of the collection of objects related with this object. """ return copy(self._exists_during_lifetimes) def has_label_group(self, lifetime): """ Check `hasLabelGroup` relation with given `lifetime` object. FIXME: Document hasLabelGroup relation. :param lifetime: Object to validate relation `hasLabelGroup` with. :type lifetime: Lifetime :return: True if `lifetime` is related to `self` with `hasLabelGroup`. :rtype: bool """ if lifetime.__class__ not in ( Lifetime, ): raise RelationHasLabelGroupError() return lifetime in \ self._has_label_group_lifetimes def set_has_label_group(self, lifetime): """ Set the `hasLabelGroup` relation to given objects. :param lifetime: Object to set to the `hasLabelGroup` relation. :type lifetime: Lifetime """ arg_tuple = (lifetime, ) for arg in arg_tuple: if arg.__class__ not in (Lifetime, ): raise RelationHasLabelGroupError() self._has_label_group_lifetimes = arg_tuple def get_has_label_group(self): """ Get all objects related with this object with relation `hasLabelGroup`. :rtype: set :return: A copy of the collection of objects related with this object. """ return copy(self._has_label_group_lifetimes) def has_port(self, port): """ Check `hasPort` relation with given `port` object. FIXME: Document hasPort relation. :param port: Object to validate relation `hasPort` with. :type port: Port or PortGroup :return: True if `port` is related to `self` with `hasPort`. :rtype: bool """ if port.__class__ not in ( Port, PortGroup, ): raise RelationHasPortError() return port.identifier in \ self._has_port_ports def add_has_port(self, port): """ Add given `port` to this object `hasPort` relations. :param port: Object to add to the `hasPort` relation. :type port: Port or PortGroup """ if port.__class__ not in ( Port, PortGroup, ): raise RelationHasPortError() self._has_port_ports[port.identifier] = \ port def get_has_port(self): """ Get all objects related with this object with relation `hasPort`. :rtype: :py:class:`OrderedDict` :return: A copy of the collection of objects related with this object. """ return copy(self._has_port_ports) def is_sink(self, link_group): """ Check `isSink` relation with given `link_group` object. FIXME: Document isSink relation. :param link_group: Object to validate relation `isSink` with. :type link_group: LinkGroup :return: True if `link_group` is related to `self` with `isSink`. :rtype: bool """ if link_group.__class__ not in ( LinkGroup, ): raise RelationIsSinkError() return link_group.identifier in \ self._is_sink_link_groups def add_is_sink(self, link_group): """ Add given `link_group` to this object `isSink` relations. :param link_group: Object to add to the `isSink` relation. :type link_group: LinkGroup """ if link_group.__class__ not in ( LinkGroup, ): raise RelationIsSinkError() self._is_sink_link_groups[link_group.identifier] = \ link_group def get_is_sink(self): """ Get all objects related with this object with relation `isSink`. :rtype: :py:class:`OrderedDict` :return: A copy of the collection of objects related with this object. """ return copy(self._is_sink_link_groups) def is_source(self, link_group): """ Check `isSource` relation with given `link_group` object. FIXME: Document isSource relation. :param link_group: Object to validate relation `isSource` with. :type link_group: LinkGroup :return: True if `link_group` is related to `self` with `isSource`. :rtype: bool """ if link_group.__class__ not in ( LinkGroup, ): raise RelationIsSourceError() return link_group.identifier in \ self._is_source_link_groups def add_is_source(self, link_group): """ Add given `link_group` to this object `isSource` relations. :param link_group: Object to add to the `isSource` relation. :type link_group: LinkGroup """ if link_group.__class__ not in ( LinkGroup, ): raise RelationIsSourceError() self._is_source_link_groups[link_group.identifier] = \ link_group def get_is_source(self): """ Get all objects related with this object with relation `isSource`. :rtype: :py:class:`OrderedDict` :return: A copy of the collection of objects related with this object. """ return copy(self._is_source_link_groups) class LinkGroup(Group): """ A unordered set of Links. FIXME: Document LinkGroup. """ def __init__( self, **kwargs): super(LinkGroup, self).__init__(**kwargs) # Relations self.relations['existsDuring'] = \ self.get_exists_during self._exists_during_lifetimes = OrderedDict() self.relations['hasLabelGroup'] = \ self.get_has_label_group self._has_label_group_lifetimes = (None, ) self.relations['hasLink'] = \ self.get_has_link self._has_link_ports = OrderedDict() self.relations['isSerialCompoundLink'] = \ self.get_is_serial_compound_link self._is_serial_compound_link_ports = OrderedDict() def exists_during(self, lifetime): """ Check `existsDuring` relation with given `lifetime` object. FIXME: Document existsDuring relation. :param lifetime: Object to validate relation `existsDuring` with. :type lifetime: Lifetime :return: True if `lifetime` is related to `self` with `existsDuring`. :rtype: bool """ if lifetime.__class__ not in ( Lifetime, ): raise RelationExistsDuringError() return lifetime.identifier in \ self._exists_during_lifetimes def add_exists_during(self, lifetime): """ Add given `lifetime` to this object `existsDuring` relations. :param lifetime: Object to add to the `existsDuring` relation. :type lifetime: Lifetime """ if lifetime.__class__ not in ( Lifetime, ): raise RelationExistsDuringError() self._exists_during_lifetimes[lifetime.identifier] = \ lifetime def get_exists_during(self): """ Get all objects related with this object with relation `existsDuring`. :rtype: :py:class:`OrderedDict` :return: A copy of the collection of objects related with this object. """ return copy(self._exists_during_lifetimes) def has_label_group(self, lifetime): """ Check `hasLabelGroup` relation with given `lifetime` object. FIXME: Document hasLabelGroup relation. :param lifetime: Object to validate relation `hasLabelGroup` with. :type lifetime: Lifetime :return: True if `lifetime` is related to `self` with `hasLabelGroup`. :rtype: bool """ if lifetime.__class__ not in ( Lifetime, ): raise RelationHasLabelGroupError() return lifetime in \ self._has_label_group_lifetimes def set_has_label_group(self, lifetime): """ Set the `hasLabelGroup` relation to given objects. :param lifetime: Object to set to the `hasLabelGroup` relation. :type lifetime: Lifetime """ arg_tuple = (lifetime, ) for arg in arg_tuple: if arg.__class__ not in (Lifetime, ): raise RelationHasLabelGroupError() self._has_label_group_lifetimes = arg_tuple def get_has_label_group(self): """ Get all objects related with this object with relation `hasLabelGroup`. :rtype: set :return: A copy of the collection of objects related with this object. """ return copy(self._has_label_group_lifetimes) def has_link(self, port): """ Check `hasLink` relation with given `port` object. FIXME: Document hasLink relation. :param port: Object to validate relation `hasLink` with. :type port: Port or PortGroup :return: True if `port` is related to `self` with `hasLink`. :rtype: bool """ if port.__class__ not in ( Port, PortGroup, ): raise RelationHasLinkError() return port.identifier in \ self._has_link_ports def add_has_link(self, port): """ Add given `port` to this object `hasLink` relations. :param port: Object to add to the `hasLink` relation. :type port: Port or PortGroup """ if port.__class__ not in ( Port, PortGroup, ): raise RelationHasLinkError() self._has_link_ports[port.identifier] = \ port def get_has_link(self): """ Get all objects related with this object with relation `hasLink`. :rtype: :py:class:`OrderedDict` :return: A copy of the collection of objects related with this object. """ return copy(self._has_link_ports) def is_serial_compound_link(self, port): """ Check `isSerialCompoundLink` relation with given `port` object. FIXME: Document isSerialCompoundLink relation. :param port: Object to validate relation `isSerialCompoundLink` with. :type port: Port or PortGroup :return: True if `port` is related to `self` with `isSerialCompoundLink`. :rtype: bool """ if port.__class__ not in ( Port, PortGroup, ): raise RelationIsSerialCompoundLinkError() return port.identifier in \ self._is_serial_compound_link_ports def add_is_serial_compound_link(self, port): """ Add given `port` to this object `isSerialCompoundLink` relations. :param port: Object to add to the `isSerialCompoundLink` relation. :type port: Port or PortGroup """ if port.__class__ not in ( Port, PortGroup, ): raise RelationIsSerialCompoundLinkError() self._is_serial_compound_link_ports[port.identifier] = \ port def get_is_serial_compound_link(self): """ Get all objects related with this object with relation `isSerialCompoundLink`. :rtype: :py:class:`OrderedDict` :return: A copy of the collection of objects related with this object. """ return copy(self._is_serial_compound_link_ports) class BidirectionalPort(Group): """ A group of two unidirectional Ports or PortGroups. The purpose of this class is to provide a convenient representation of a bidirectional Port. This is needed because NML is a unidirectional specification. """ def __init__( self, **kwargs): super(BidirectionalPort, self).__init__(**kwargs) # Relations self.relations['existsDuring'] = \ self.get_exists_during self._exists_during_lifetimes = OrderedDict() self.relations['hasPort'] = \ self.get_has_port self._has_port_ports = (None, None, ) def exists_during(self, lifetime): """ Check `existsDuring` relation with given `lifetime` object. FIXME: Document existsDuring relation. :param lifetime: Object to validate relation `existsDuring` with. :type lifetime: Lifetime :return: True if `lifetime` is related to `self` with `existsDuring`. :rtype: bool """ if lifetime.__class__ not in ( Lifetime, ): raise RelationExistsDuringError() return lifetime.identifier in \ self._exists_during_lifetimes def add_exists_during(self, lifetime): """ Add given `lifetime` to this object `existsDuring` relations. :param lifetime: Object to add to the `existsDuring` relation. :type lifetime: Lifetime """ if lifetime.__class__ not in ( Lifetime, ): raise RelationExistsDuringError() self._exists_during_lifetimes[lifetime.identifier] = \ lifetime def get_exists_during(self): """ Get all objects related with this object with relation `existsDuring`. :rtype: :py:class:`OrderedDict` :return: A copy of the collection of objects related with this object. """ return copy(self._exists_during_lifetimes) def has_port(self, port): """ Check `hasPort` relation with given `port` object. FIXME: Document hasPort relation. :param port: Object to validate relation `hasPort` with. :type port: Port or PortGroup :return: True if `port` is related to `self` with `hasPort`. :rtype: bool """ if port.__class__ not in ( Port, PortGroup, ): raise RelationHasPortError() return port in \ self._has_port_ports def set_has_port(self, port1, port2): """ Set the `hasPort` relation to given objects. :param port1: One of the objects to set the `hasPort` relation. :type port1: Port or PortGroup :param port2: One of the objects to set the `hasPort` relation. :type port2: Port or PortGroup """ arg_tuple = (port1, port2, ) for arg in arg_tuple: if arg.__class__ not in (Port, PortGroup, ): raise RelationHasPortError() if len(set(arg_tuple)) != len(arg_tuple): raise Exception('Non unique objects') # FIXME self._has_port_ports = arg_tuple def get_has_port(self): """ Get all objects related with this object with relation `hasPort`. :rtype: set :return: A copy of the collection of objects related with this object. """ return copy(self._has_port_ports) class BidirectionalLink(Group): """ A group of two unidirectional Links or LinkGroups. The purpose of this class is to provide a convenient representation of a bidirectional Link. This is needed because NML is a unidirectional specification. """ def __init__( self, **kwargs): super(BidirectionalLink, self).__init__(**kwargs) # Relations self.relations['existsDuring'] = \ self.get_exists_during self._exists_during_lifetimes = OrderedDict() self.relations['hasLink'] = \ self.get_has_link self._has_link_links = (None, None, ) def exists_during(self, lifetime): """ Check `existsDuring` relation with given `lifetime` object. FIXME: Document existsDuring relation. :param lifetime: Object to validate relation `existsDuring` with. :type lifetime: Lifetime :return: True if `lifetime` is related to `self` with `existsDuring`. :rtype: bool """ if lifetime.__class__ not in ( Lifetime, ): raise RelationExistsDuringError() return lifetime.identifier in \ self._exists_during_lifetimes def add_exists_during(self, lifetime): """ Add given `lifetime` to this object `existsDuring` relations. :param lifetime: Object to add to the `existsDuring` relation. :type lifetime: Lifetime """ if lifetime.__class__ not in ( Lifetime, ): raise RelationExistsDuringError() self._exists_during_lifetimes[lifetime.identifier] = \ lifetime def get_exists_during(self): """ Get all objects related with this object with relation `existsDuring`. :rtype: :py:class:`OrderedDict` :return: A copy of the collection of objects related with this object. """ return copy(self._exists_during_lifetimes) def has_link(self, link): """ Check `hasLink` relation with given `link` object. FIXME: Document hasLink relation. :param link: Object to validate relation `hasLink` with. :type link: Link or LinkGroup :return: True if `link` is related to `self` with `hasLink`. :rtype: bool """ if link.__class__ not in ( Link, LinkGroup, ): raise RelationHasLinkError() return link in \ self._has_link_links def set_has_link(self, link1, link2): """ Set the `hasLink` relation to given objects. :param link1: One of the objects to set the `hasLink` relation. :type link1: Link or LinkGroup :param link2: One of the objects to set the `hasLink` relation. :type link2: Link or LinkGroup """ arg_tuple = (link1, link2, ) for arg in arg_tuple: if arg.__class__ not in (Link, LinkGroup, ): raise RelationHasLinkError() if len(set(arg_tuple)) != len(arg_tuple): raise Exception('Non unique objects') # FIXME self._has_link_links = arg_tuple def get_has_link(self): """ Get all objects related with this object with relation `hasLink`. :rtype: set :return: A copy of the collection of objects related with this object. """ return copy(self._has_link_links) class Environment(NetworkObject): """ Describes attributes inherent to the environment. Attributes to be attached to the environment the topology is in.. """ def __init__( self, **kwargs): super(Environment, self).__init__(**kwargs) class Location(NMLObject): """ Describes where the object is physically located. An instance of this class can be related to other objects that are to be represented as being present in the same place. :param str name: Human readable string name. :param str identifier: Persistent globally unique URI. :param str longitude: Longitude in WGS84 and in decimal degrees. :param str latitude: Latitude in WGS84 and in decimal degrees. :param str altitude: Altitude in WGS84 and in decimal meters. :param str unlocode: UN/LOCODE location identifier. :param str address: A vCard ADR property. """ def __init__( self, name=None, identifier=None, longitude=None, latitude=None, altitude=None, unlocode=None, address=None, **kwargs): super(Location, self).__init__(**kwargs) # Attributes self.attributes.append('name') if name is None: name = '{}<{}>'.format( self.__class__.__name__, str(id(self)) ) self.name = name self.attributes.append('identifier') if identifier is None: identifier = str(id(self)) self.identifier = identifier self.attributes.append('longitude') if longitude is None: longitude = unset self.longitude = longitude self.attributes.append('latitude') if latitude is None: latitude = unset self.latitude = latitude self.attributes.append('altitude') if altitude is None: altitude = unset self.altitude = altitude self.attributes.append('unlocode') if unlocode is None: unlocode = unset self.unlocode = unlocode self.attributes.append('address') if address is None: address = unset self.address = address @property def name(self): """ Get attribute name. :return: Human readable string name. :rtype: str """ return self._name @name.setter def name(self, name): """ Set attribute name. :param str name: Human readable string name. """ if name is not unset and not name: raise AttributeNameError() self._name = name @property def identifier(self): """ Get attribute identifier. :return: Persistent globally unique URI. :rtype: str """ return self._identifier @identifier.setter def identifier(self, identifier): """ Set attribute identifier. :param str identifier: Persistent globally unique URI. """ if identifier is not unset and not is_valid_uri(identifier): raise AttributeIdError() self._identifier = identifier @property def longitude(self): """ Get attribute longitude. :return: Longitude in WGS84 and in decimal degrees. :rtype: str """ return self._longitude @longitude.setter def longitude(self, longitude): """ Set attribute longitude. :param str longitude: Longitude in WGS84 and in decimal degrees. """ self._longitude = longitude @property def latitude(self): """ Get attribute latitude. :return: Latitude in WGS84 and in decimal degrees. :rtype: str """ return self._latitude @latitude.setter def latitude(self, latitude): """ Set attribute latitude. :param str latitude: Latitude in WGS84 and in decimal degrees. """ self._latitude = latitude @property def altitude(self): """ Get attribute altitude. :return: Altitude in WGS84 and in decimal meters. :rtype: str """ return self._altitude @altitude.setter def altitude(self, altitude): """ Set attribute altitude. :param str altitude: Altitude in WGS84 and in decimal meters. """ self._altitude = altitude @property def unlocode(self): """ Get attribute unlocode. :return: UN/LOCODE location identifier. :rtype: str """ return self._unlocode @unlocode.setter def unlocode(self, unlocode): """ Set attribute unlocode. :param str unlocode: UN/LOCODE location identifier. """ self._unlocode = unlocode @property def address(self): """ Get attribute address. :return: A vCard ADR property. :rtype: str """ return self._address @address.setter def address(self, address): """ Set attribute address. :param str address: A vCard ADR property. """ self._address = address class Lifetime(NMLObject): """ A time interval where the object is active. An object can have multiple Lifetimes, if so, it will be active in a time interval equivalent to the union of all its Lifetimes time intervals. :param str start: Date and time formatted as ISO 8601 calendar date compact representation with UTC timezone (YYYYMMDDThhmmssZ). :param str end: Date and time formatted as ISO 8601 calendar date compact representation with UTC timezone (YYYYMMDDThhmmssZ). """ def __init__( self, start=None, end=None, **kwargs): super(Lifetime, self).__init__(**kwargs) # Attributes self.attributes.append('start') if start is None: start = datetime.now().replace(microsecond=0).isoformat() self.start = start self.attributes.append('end') if end is None: end = datetime.now().replace(microsecond=0).isoformat() self.end = end @property def start(self): """ Get attribute start. :return: Date and time formatted as ISO 8601 calendar date compact representation with UTC timezone (YYYYMMDDThhmmssZ). :rtype: str """ return self._start @start.setter def start(self, start): """ Set attribute start. :param str start: Date and time formatted as ISO 8601 calendar date compact representation with UTC timezone (YYYYMMDDThhmmssZ). """ self._start = start @property def end(self): """ Get attribute end. :return: Date and time formatted as ISO 8601 calendar date compact representation with UTC timezone (YYYYMMDDThhmmssZ). :rtype: str """ return self._end @end.setter def end(self, end): """ Set attribute end. :param str end: Date and time formatted as ISO 8601 calendar date compact representation with UTC timezone (YYYYMMDDThhmmssZ). """ self._end = end class Label(NMLObject): """ A value that specifies a single data stream among many. A Label is technology-specific, so a Label used to identify a VLAN would be different from a Label used to identify a wavelength. :param None labeltype: A technology-specific labelset. :param None value: A specific value taken from a labelset. """ def __init__( self, labeltype=None, value=None, **kwargs): super(Label, self).__init__(**kwargs) # Attributes self.attributes.append('labeltype') self.labeltype = labeltype self.attributes.append('value') self.value = value class LabelGroup(NMLObject): """ A unordered set of Labels. FIXME: Document LabelGroup. :param None labeltype: A technology-specific labelset. :param None value: A specific value taken from a labelset. """ def __init__( self, labeltype=None, value=None, **kwargs): super(LabelGroup, self).__init__(**kwargs) # Attributes self.attributes.append('labeltype') self.labeltype = labeltype self.attributes.append('value') self.value = value class OrderedList(NMLObject): """ An ordered list of Network Objects. Instances of this class are used to describe a path in the network along with the isSerialCompoundLink relation. """ def __init__( self, **kwargs): super(OrderedList, self).__init__(**kwargs) class ListItem(NMLObject): """ An element of an OrderedList. Is a syntax-dependent object used to represent elements in an OrderedList. """ def __init__( self, **kwargs): super(ListItem, self).__init__(**kwargs) __all__ = [ 'NetworkObject', 'Node', 'Port', 'Link', 'Service', 'SwitchingService', 'AdaptationService', 'DeAdaptationService', 'Group', 'Topology', 'PortGroup', 'LinkGroup', 'BidirectionalPort', 'BidirectionalLink', 'Environment', 'Location', 'Lifetime', 'Label', 'LabelGroup', 'OrderedList', 'ListItem' ]
30.093739
80
0.609709
9,014
85,075
5.571999
0.0497
0.023295
0.016326
0.035918
0.786047
0.757158
0.731593
0.701629
0.677338
0.657488
0
0.001635
0.309809
85,075
2,826
81
30.104388
0.853742
0.398966
0
0.670546
0
0
0.022545
0
0
0
0
0.016277
0
1
0.161146
false
0
0.008953
0.001791
0.28111
0.000895
0
0
0
null
0
0
0
0
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
5
808b067c433774f1f13aea6998e1b37446495ee2
50
py
Python
projects/InterpretationReID/interpretationreid/config/__init__.py
SheldongChen/AMD.github.io
5f3018f239127949b2d3995162ffe033dcf8051a
[ "Apache-2.0" ]
17
2021-11-01T01:14:06.000Z
2022-03-02T14:59:39.000Z
projects/InterpretationReID/interpretationreid/config/__init__.py
SheldongChen/AMD.github.io
5f3018f239127949b2d3995162ffe033dcf8051a
[ "Apache-2.0" ]
2
2021-12-22T07:56:13.000Z
2022-03-18T10:26:21.000Z
projects/InterpretationReID/interpretationreid/config/__init__.py
SheldongChen/AMD.github.io
5f3018f239127949b2d3995162ffe033dcf8051a
[ "Apache-2.0" ]
2
2022-02-18T07:42:38.000Z
2022-02-18T10:16:26.000Z
from .add_config import add_interpretation_config
25
49
0.9
7
50
6
0.714286
0
0
0
0
0
0
0
0
0
0
0
0.08
50
1
50
50
0.913043
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
80b8e3b5c166672313b37b0904bcadfe02a92305
61
py
Python
pydrawing/modules/beautifiers/cartoonise/__init__.py
CharlesPikachu/pydrawing
be95378a5667ea345f2a3760f8814dff255ebe15
[ "MIT" ]
93
2022-01-18T01:42:58.000Z
2022-03-18T18:42:55.000Z
pydrawing/modules/beautifiers/cartoonise/__init__.py
CharlesPikachu/pydrawing
be95378a5667ea345f2a3760f8814dff255ebe15
[ "MIT" ]
null
null
null
pydrawing/modules/beautifiers/cartoonise/__init__.py
CharlesPikachu/pydrawing
be95378a5667ea345f2a3760f8814dff255ebe15
[ "MIT" ]
1
2022-02-17T04:36:17.000Z
2022-02-17T04:36:17.000Z
'''initialize''' from .cartoonise import CartooniseBeautifier
30.5
44
0.819672
5
61
10
1
0
0
0
0
0
0
0
0
0
0
0
0.065574
61
2
44
30.5
0.877193
0.163934
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
80e0648c0cb521b319f1e44cde5e91885274112a
161
py
Python
fun1.py
IsSveshuD/lab_2_13
60ab2a4813036da9d62edb3980f6d5497f573af8
[ "MIT" ]
null
null
null
fun1.py
IsSveshuD/lab_2_13
60ab2a4813036da9d62edb3980f6d5497f573af8
[ "MIT" ]
null
null
null
fun1.py
IsSveshuD/lab_2_13
60ab2a4813036da9d62edb3980f6d5497f573af8
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # _*_ coding: utf-8 -*- def fun1(type_='max'): def fun2(lst): return eval(f'{type_}(lst)') print(type_) return fun2
16.1
36
0.571429
23
161
3.782609
0.73913
0
0
0
0
0
0
0
0
0
0
0.04065
0.236025
161
9
37
17.888889
0.666667
0.267081
0
0
0
0
0.12931
0
0
0
0
0
0
1
0.4
false
0
0
0.2
0.8
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
1
0
0
0
1
1
0
0
5
0388c54cd04ce9e146e5bf5bc286189d41cae02e
49
py
Python
streamAPI/utility/__init__.py
ShivKJ/Basics
085817fcee11866cdd1a5552aa81574ed7c74998
[ "MIT" ]
17
2018-06-10T04:14:40.000Z
2018-07-18T02:29:40.000Z
streamAPI/utility/__init__.py
ShivKJ/Stream
085817fcee11866cdd1a5552aa81574ed7c74998
[ "MIT" ]
null
null
null
streamAPI/utility/__init__.py
ShivKJ/Stream
085817fcee11866cdd1a5552aa81574ed7c74998
[ "MIT" ]
3
2018-07-05T11:55:13.000Z
2018-07-05T13:38:35.000Z
from streamAPI.utility.utils import * del utils
12.25
37
0.795918
7
49
5.571429
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.142857
49
3
38
16.333333
0.928571
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
5
2063507170be6a9622cc0f0c689513319e4c6606
124
py
Python
src/onapsdk/nbi/__init__.py
krasm/python-onapsdk
87cd3017fc542a8afd3be51fbd89934ed87ed3a7
[ "Apache-2.0" ]
4
2020-06-13T04:51:27.000Z
2021-01-06T15:00:51.000Z
src/onapsdk/nbi/__init__.py
krasm/python-onapsdk
87cd3017fc542a8afd3be51fbd89934ed87ed3a7
[ "Apache-2.0" ]
10
2021-09-20T15:42:47.000Z
2021-09-23T12:49:51.000Z
src/onapsdk/nbi/__init__.py
krasm/python-onapsdk
87cd3017fc542a8afd3be51fbd89934ed87ed3a7
[ "Apache-2.0" ]
8
2020-08-28T10:56:02.000Z
2022-02-11T17:06:03.000Z
# SPDX-License-Identifier: Apache-2.0 """NBI package.""" from .nbi import Nbi, Service, ServiceOrder, ServiceSpecification
24.8
65
0.758065
15
124
6.266667
0.866667
0
0
0
0
0
0
0
0
0
0
0.018018
0.104839
124
4
66
31
0.828829
0.395161
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
206d3aa42def88768360dd83f8b4f7d037d4f5c7
152
wsgi
Python
eodag/rest/server.wsgi
sbrunato/eodag
70aa45515b7b7c11326419abcf616979e7b6e024
[ "Apache-2.0" ]
149
2019-12-13T21:12:36.000Z
2022-03-26T09:56:31.000Z
eodag/rest/server.wsgi
sbrunato/eodag
70aa45515b7b7c11326419abcf616979e7b6e024
[ "Apache-2.0" ]
200
2020-06-18T17:30:58.000Z
2022-03-30T09:54:59.000Z
eodag/rest/server.wsgi
sbrunato/eodag
70aa45515b7b7c11326419abcf616979e7b6e024
[ "Apache-2.0" ]
23
2019-12-12T14:36:49.000Z
2022-03-29T07:11:28.000Z
#!/usr/bin/env python from eodag.rest.server import app as application # noqa from eodag.utils.logging import setup_logging setup_logging(verbose=3)
21.714286
56
0.796053
24
152
4.958333
0.75
0.151261
0
0
0
0
0
0
0
0
0
0.007463
0.118421
152
6
57
25.333333
0.880597
0.164474
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
209adee46dc4d72cc42d072ab1a21a59aaf605bc
3,526
py
Python
featurehub_sdk/test/test_featurehub_client.py
featurehub-io/featurehub-python-sdk
d453c91510629e124b2d0c278f438cc35f0671b7
[ "MIT" ]
null
null
null
featurehub_sdk/test/test_featurehub_client.py
featurehub-io/featurehub-python-sdk
d453c91510629e124b2d0c278f438cc35f0671b7
[ "MIT" ]
2
2021-09-04T09:00:50.000Z
2021-11-10T09:14:05.000Z
featurehub_sdk/test/test_featurehub_client.py
featurehub-io/featurehub-python-sdk
d453c91510629e124b2d0c278f438cc35f0671b7
[ "MIT" ]
1
2021-09-28T09:58:17.000Z
2021-09-28T09:58:17.000Z
import unittest import respx from httpx import Response from unittest.mock import patch from featurehub_sdk import featurehub_client class FeatureHubClientTest(unittest.TestCase): @respx.mock @patch('featurehub_repository.FeatureHubRepository') def test_init_fh_client_success(self, mock_repo): data = [{'id': '190017b3-3e4d-4c68-9805-d52c2b597fe0', 'features': [{'id': '649b3792-1774-4bd5-b550-973ec6340531', 'key': 'FEATURE_TITLE_TO_UPPERCASE', 'l': True, 'version': 1, 'type': 'BOOLEAN', 'value': False, 'strategies': []}, {'id': '4033e577-1157-4e8f-9f18-b72317e80a57', 'key': 'SUBMIT_COLOR_BUTTON', 'l': False, 'version': 0, 'type': 'STRING', 'strategies': []}]}] respx.get("http://localhost/features?apiKeys=abc&apiKeys=123&apiKeys=xyz").mock(return_value=Response(200, json=data)) featurehub_client.FeatureHubClient("http://localhost/", ['abc', '123', 'xyz'], mock_repo) mock_repo.notify.assert_called_with('FEATURES', data) @respx.mock @patch('featurehub_repository.FeatureHubRepository') def test_init_fh_client_fail(self, mock_repo): respx.get("http://localhost/features?apiKeys=abc&apiKeys=123&apiKeys=xyz").mock(return_value=Response(400)) featurehub_client.FeatureHubClient("http://localhost/", ['abc', '123', 'xyz'], mock_repo) mock_repo.notify.assert_called_with('FAILED', None) @respx.mock @patch('featurehub_repository.FeatureHubRepository') def test_init_fh_client_empty_features(self, mock_repo): respx.get("http://localhost/features?apiKeys=abc&apiKeys=123&apiKeys=xyz").mock(return_value=Response(200, json=[{}])) featurehub_client.FeatureHubClient("http://localhost/", ['abc', '123', 'xyz'], mock_repo) mock_repo.notify.assert_called_with('FEATURES', [{}]) @respx.mock @patch('featurehub_repository.FeatureHubRepository') def test_init_fh_client_empty_features_when_none_set(self, mock_repo): data = [{"id":"29517115-da60-4b64-99db-9da017561edd", "features": []}] respx.get("http://localhost/features?apiKeys=abc&apiKeys=123&apiKeys=xyz").mock(return_value=Response(200, json=data)) featurehub_client.FeatureHubClient("http://localhost/", ['abc', '123', 'xyz'], mock_repo) mock_repo.notify.assert_called_with('FEATURES', data) @respx.mock @patch('featurehub_repository.FeatureHubRepository') def test_url_param(self, mock_repo): respx.get("http://localhost/features?apiKeys=abc&apiKeys=123&apiKeys=xyz").mock(return_value=Response(200, json = {})) client = featurehub_client.FeatureHubClient("http://localhost/", ['abc', '123', 'xyz'], mock_repo) self.assertEqual(client.url, "http://localhost/features?apiKeys=abc&apiKeys=123&apiKeys=xyz") @patch('featurehub_repository.FeatureHubRepository') def test_url_param_no_apikey_provided(self, mock_repo): with self.assertRaises(RuntimeError): featurehub_client.FeatureHubClient("http://localhost/", [], mock_repo) @patch('featurehub_repository.FeatureHubRepository') def test_url_param_no_host_provided(self, mock_repo): with self.assertRaises(RuntimeError): featurehub_client.FeatureHubClient("", ["abc"], mock_repo) if __name__ == '__main__': unittest.main()
54.246154
159
0.66903
389
3,526
5.825193
0.254499
0.063548
0.077229
0.139011
0.760371
0.738747
0.738747
0.738747
0.735216
0.657988
0
0.050747
0.184061
3,526
64
160
55.09375
0.736879
0
0
0.431373
0
0
0.320193
0.131594
0
0
0
0
0.137255
1
0.137255
false
0
0.098039
0
0.254902
0
0
0
0
null
0
0
0
0
1
1
1
1
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
5
20a914d782c63f4d7fc98b792434f03203e68fde
217
py
Python
delivery.py
HqWisen/HashCode2016
df3a5fc7a2768a414143a4b3de99844f8b32d5eb
[ "MIT" ]
null
null
null
delivery.py
HqWisen/HashCode2016
df3a5fc7a2768a414143a4b3de99844f8b32d5eb
[ "MIT" ]
null
null
null
delivery.py
HqWisen/HashCode2016
df3a5fc7a2768a414143a4b3de99844f8b32d5eb
[ "MIT" ]
null
null
null
class Delivery: # Delivery.number def __init__(self, position, productTypeList): self.position = position self.productTypeList = productTypeList def getPosition(self): return self.position
21.7
48
0.714286
21
217
7.190476
0.47619
0.238411
0
0
0
0
0
0
0
0
0
0
0.211982
217
10
49
21.7
0.883041
0.069124
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0.166667
0.666667
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
5
4574f83e9e0395a9fe7f2e45e76acfcaf2359a14
29
py
Python
back/aleph/__init__.py
BigData95/Aleph_flask
9a2b747227fd48670970962b2e3c215a0fc1fceb
[ "MIT" ]
null
null
null
back/aleph/__init__.py
BigData95/Aleph_flask
9a2b747227fd48670970962b2e3c215a0fc1fceb
[ "MIT" ]
null
null
null
back/aleph/__init__.py
BigData95/Aleph_flask
9a2b747227fd48670970962b2e3c215a0fc1fceb
[ "MIT" ]
null
null
null
from back.simulador import *
14.5
28
0.793103
4
29
5.75
1
0
0
0
0
0
0
0
0
0
0
0
0.137931
29
1
29
29
0.92
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
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
1
0
1
0
0
0
0
5
459a902626bc7a0eb69feebdfc96e96584efa9f9
7,190
py
Python
tests/utilities/test_logging.py
znicholasbrown/prefect
a91d039e7885185a6b4e62d20d44f85d8ff680ac
[ "Apache-2.0" ]
null
null
null
tests/utilities/test_logging.py
znicholasbrown/prefect
a91d039e7885185a6b4e62d20d44f85d8ff680ac
[ "Apache-2.0" ]
null
null
null
tests/utilities/test_logging.py
znicholasbrown/prefect
a91d039e7885185a6b4e62d20d44f85d8ff680ac
[ "Apache-2.0" ]
null
null
null
import json import logging import time from unittest.mock import MagicMock from prefect import utilities def test_root_logger_level_responds_to_config(): try: with utilities.configuration.set_temporary_config({"logging.level": "DEBUG"}): assert ( utilities.logging.configure_logging(testing=True).level == logging.DEBUG ) with utilities.configuration.set_temporary_config({"logging.level": "WARNING"}): assert ( utilities.logging.configure_logging(testing=True).level == logging.WARNING ) finally: # reset root_logger logger = utilities.logging.configure_logging(testing=True) logger.handlers = [] def test_remote_handler_is_configured_for_cloud(): try: with utilities.configuration.set_temporary_config( {"logging.log_to_cloud": True} ): logger = utilities.logging.configure_logging(testing=True) assert hasattr(logger.handlers[-1], "client") finally: # reset root_logger logger = utilities.logging.configure_logging(testing=True) logger.handlers = [] def test_remote_handler_captures_errors_and_logs_them(caplog, monkeypatch): try: with utilities.configuration.set_temporary_config( {"logging.log_to_cloud": True, "cloud.auth_token": None} ): logger = utilities.logging.configure_logging(testing=True) assert hasattr(logger.handlers[-1], "client") logger.handlers[-1].client = MagicMock() child_logger = logger.getChild("sub-test") child_logger.critical("this should raise an error in the handler") time.sleep(1.5) # wait for batch upload to occur critical_logs = [r for r in caplog.records if r.levelname == "CRITICAL"] assert len(critical_logs) == 2 assert ( "Failed to write log with error" in [ log.message for log in critical_logs if log.name == "CloudHandler" ].pop() ) finally: # reset root_logger logger = utilities.logging.configure_logging(testing=True) logger.handlers = [] def test_remote_handler_captures_tracebacks(caplog, monkeypatch): monkeypatch.setattr("prefect.client.Client", MagicMock) client = MagicMock() try: with utilities.configuration.set_temporary_config( {"logging.log_to_cloud": True} ): logger = utilities.logging.configure_logging(testing=True) assert hasattr(logger.handlers[-1], "client") logger.handlers[-1].client = client child_logger = logger.getChild("sub-test") try: ## informative comment 1 + "2" except: child_logger.exception("unexpected error") time.sleep(0.75) error_logs = [r for r in caplog.records if r.levelname == "ERROR"] assert len(error_logs) == 1 cloud_logs = client.write_run_logs.call_args[0][0] assert len(cloud_logs) == 1 logged_msg = cloud_logs[0]["message"] assert "TypeError" in logged_msg assert '1 + "2"' in logged_msg assert "unexpected error" in logged_msg finally: # reset root_logger logger = utilities.logging.configure_logging(testing=True) logger.handlers = [] def test_remote_handler_ships_json_payloads(caplog, monkeypatch): monkeypatch.setattr("prefect.client.Client", MagicMock) client = MagicMock() try: with utilities.configuration.set_temporary_config( {"logging.log_to_cloud": True} ): logger = utilities.logging.configure_logging(testing=True) assert hasattr(logger.handlers[-1], "client") logger.handlers[-1].client = client child_logger = logger.getChild("sub-test") try: ## informative comment f = lambda x: x + "2" f(1) except: child_logger.exception("unexpected error") time.sleep(0.75) error_logs = [r for r in caplog.records if r.levelname == "ERROR"] assert len(error_logs) == 1 cloud_logs = client.write_run_logs.call_args[0][0] assert len(cloud_logs) == 1 info = cloud_logs[0]["info"] assert json.loads(json.dumps(info)) finally: # reset root_logger logger = utilities.logging.configure_logging(testing=True) logger.handlers = [] def test_cloud_handler_responds_to_config(caplog, monkeypatch): calls = [] class Client: def write_run_logs(self, *args, **kwargs): calls.append(1) monkeypatch.setattr("prefect.client.Client", Client) try: logger = utilities.logging.configure_logging(testing=True) cloud_handler = logger.handlers[-1] assert isinstance(cloud_handler, utilities.logging.CloudHandler) with utilities.configuration.set_temporary_config( {"logging.log_to_cloud": False} ): logger.critical("testing") with utilities.configuration.set_temporary_config( {"logging.log_to_cloud": True} ): logger.critical("testing") with utilities.configuration.set_temporary_config( {"logging.log_to_cloud": False} ): logger.critical("testing") time.sleep(0.75) assert len(calls) == 1 finally: # reset root_logger logger = utilities.logging.configure_logging(testing=True) logger.handlers = [] def test_cloud_handler_removes_bad_logs_from_queue_and_continues(caplog, monkeypatch): calls = [] class Client: def write_run_logs(self, *args, **kwargs): calls.append(dict(args=args, kwargs=kwargs)) monkeypatch.setattr("prefect.client.Client", Client) try: logger = utilities.logging.configure_logging(testing=True) cloud_handler = logger.handlers[-1] assert isinstance(cloud_handler, utilities.logging.CloudHandler) with utilities.configuration.set_temporary_config( {"logging.log_to_cloud": True} ): logger.critical("one") logger.critical(b"two") logger.critical("three") time.sleep(0.75) assert len(calls) == 1 msgs = [c["message"] for c in calls[0]["args"][0]] assert msgs == ["one", "three"] finally: # reset root_logger logger = utilities.logging.configure_logging(testing=True) logger.handlers = [] def test_get_logger_returns_root_logger(): assert utilities.logging.get_logger() is logging.getLogger("prefect") def test_get_logger_with_name_returns_child_logger(): child_logger = logging.getLogger("prefect.test") prefect_logger = utilities.logging.get_logger("test") assert prefect_logger is child_logger assert prefect_logger is logging.getLogger("prefect").getChild("test")
33.915094
88
0.622253
783
7,190
5.51341
0.159642
0.070419
0.086866
0.111188
0.761408
0.747047
0.739634
0.739634
0.700486
0.672226
0
0.008656
0.276912
7,190
211
89
34.075829
0.821696
0.02726
0
0.670807
0
0
0.087237
0.012033
0
0
0
0
0.149068
1
0.068323
false
0
0.031056
0
0.111801
0
0
0
0
null
0
0
0
0
1
1
1
1
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
5
45a55d7c46d67a79a71240d6a0aa9bbb6de6820f
63
py
Python
.travis_examples.py
Toonggg/condor
a41933289beb1805df281fc5b2dc43cd47098ef4
[ "BSD-2-Clause" ]
20
2017-02-01T11:58:12.000Z
2022-03-04T11:59:11.000Z
.travis_examples.py
Toonggg/condor
a41933289beb1805df281fc5b2dc43cd47098ef4
[ "BSD-2-Clause" ]
24
2017-11-22T15:55:16.000Z
2021-07-21T16:50:05.000Z
.travis_examples.py
Toonggg/condor
a41933289beb1805df281fc5b2dc43cd47098ef4
[ "BSD-2-Clause" ]
13
2017-06-09T19:51:59.000Z
2022-02-23T05:07:43.000Z
from examples import run_examples run_examples(on_travis=True)
21
33
0.873016
10
63
5.2
0.7
0.423077
0
0
0
0
0
0
0
0
0
0
0.079365
63
2
34
31.5
0.896552
0
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
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
5
afe7cd79e716d2e58a5b8071f9765313384d143d
93
py
Python
EstruturaSequencial/exercicio1.py
EugenioAntunes/lista-de-exercicios
4f19d30b502da064171d7d148b4e235e253fe992
[ "MIT" ]
null
null
null
EstruturaSequencial/exercicio1.py
EugenioAntunes/lista-de-exercicios
4f19d30b502da064171d7d148b4e235e253fe992
[ "MIT" ]
null
null
null
EstruturaSequencial/exercicio1.py
EugenioAntunes/lista-de-exercicios
4f19d30b502da064171d7d148b4e235e253fe992
[ "MIT" ]
null
null
null
''' 1.Faça um Programa que mostre a mensagem "Alo mundo" na tela. ''' print('Alo, mundo')
13.285714
62
0.645161
15
93
4
0.866667
0.266667
0
0
0
0
0
0
0
0
0
0.013333
0.193548
93
6
63
15.5
0.786667
0.655914
0
0
0
0
0.434783
0
0
0
0
0
0
1
0
true
0
0
0
0
1
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
5
aff60532a85323a0643621550d114ceca4792615
72
py
Python
org.beerware.empty.app/assets/android/widget/__init__.py
pmp-p/projects
e958ef2c6d89d0d818086d4c88668d46044ace14
[ "MIT" ]
null
null
null
org.beerware.empty.app/assets/android/widget/__init__.py
pmp-p/projects
e958ef2c6d89d0d818086d4c88668d46044ace14
[ "MIT" ]
3
2020-11-01T18:54:24.000Z
2020-11-15T03:59:34.000Z
org.beerware.empty.app/assets/android/widget/__init__.py
pmp-p/projects
e958ef2c6d89d0d818086d4c88668d46044ace14
[ "MIT" ]
null
null
null
def __getattr__(*argv): print(argv) return __import__(__name__)
18
31
0.708333
8
72
4.875
0.875
0
0
0
0
0
0
0
0
0
0
0
0.180556
72
3
32
24
0.661017
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
true
0
0.333333
0
1
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
1
0
0
0
0
5
b3173313ae17f397ff21d3c808a06e7f754b407b
138
py
Python
00_strings.py
Vivekgovind/Python-3-bootcamp-
0785530d00ed2e94772d490fcd56e4898a8cf94d
[ "MIT" ]
null
null
null
00_strings.py
Vivekgovind/Python-3-bootcamp-
0785530d00ed2e94772d490fcd56e4898a8cf94d
[ "MIT" ]
null
null
null
00_strings.py
Vivekgovind/Python-3-bootcamp-
0785530d00ed2e94772d490fcd56e4898a8cf94d
[ "MIT" ]
null
null
null
print("hello") print('hello') print("i'm trying to run") print("hello \n world") print("hello \t world \n is") p=len('hel') print(p)
19.714286
30
0.623188
25
138
3.44
0.56
0.465116
0.348837
0
0
0
0
0
0
0
0
0
0.152174
138
7
31
19.714286
0.735043
0
0
0
0
0
0.481203
0
0
0
0
0
0
1
0
false
0
0
0
0
0.857143
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
5
b372637df92f192846accf70162398a40894e413
80
py
Python
lightnlp/sp/__init__.py
CNLPT/lightNLP
c7f128422ba5b16f514bb294145cb3b562e95829
[ "Apache-2.0" ]
889
2019-03-11T00:58:46.000Z
2022-03-27T07:12:06.000Z
lightnlp/sp/__init__.py
CNLPT/lightNLP
c7f128422ba5b16f514bb294145cb3b562e95829
[ "Apache-2.0" ]
14
2019-03-25T09:21:38.000Z
2020-12-28T11:41:55.000Z
lightnlp/sp/__init__.py
CNLPT/lightNLP
c7f128422ba5b16f514bb294145cb3b562e95829
[ "Apache-2.0" ]
237
2019-03-19T08:30:17.000Z
2022-03-14T03:38:30.000Z
from .tdp.module import TDP from .gdp.module import GDP __all__ = ['TDP', 'GDP']
26.666667
27
0.7125
13
80
4.076923
0.461538
0.45283
0
0
0
0
0
0
0
0
0
0
0.1375
80
3
28
26.666667
0.768116
0
0
0
0
0
0.074074
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
5
2fd57139c2f0394f3bbd0b38be5e99d0e3a74c4f
10,891
py
Python
FictionTools/amitools/test/unit/libmgr_cfg.py
polluks/Puddle-BuildTools
c1762d53a33002b62d8cffe3db129505a387bec3
[ "BSD-2-Clause" ]
38
2021-06-18T12:56:15.000Z
2022-03-12T20:38:40.000Z
FictionTools/amitools/test/unit/libmgr_cfg.py
polluks/Puddle-BuildTools
c1762d53a33002b62d8cffe3db129505a387bec3
[ "BSD-2-Clause" ]
2
2021-06-20T16:28:12.000Z
2021-11-17T21:33:56.000Z
FictionTools/amitools/test/unit/libmgr_cfg.py
polluks/Puddle-BuildTools
c1762d53a33002b62d8cffe3db129505a387bec3
[ "BSD-2-Clause" ]
6
2021-06-18T18:18:36.000Z
2021-12-22T08:01:32.000Z
import pytest from amitools.vamos.libmgr import LibCfg, LibMgrCfg from amitools.vamos.cfgcore import ConfigDict def libmgr_cfg_lib_default_test(): lc = LibCfg() assert lc.get_create_mode() == LibCfg.CREATE_MODE_AUTO assert lc.get_force_version() is None assert lc.get_expunge_mode() == LibCfg.EXPUNGE_MODE_LAST_CLOSE assert lc.get_num_fake_funcs() == 0 txt = str(lc) assert ( txt == "LibCfg(create_mode=auto, force_version=None, expunge_mode=last_close, num_fake_funcs=0)" ) def libmgr_cfg_lib_custom_test(): lc = LibCfg(LibCfg.CREATE_MODE_OFF, 1, LibCfg.EXPUNGE_MODE_NO_MEM, 42) assert lc.get_create_mode() == LibCfg.CREATE_MODE_OFF assert lc.get_force_version() is 1 assert lc.get_expunge_mode() == LibCfg.EXPUNGE_MODE_NO_MEM assert lc.get_num_fake_funcs() == 42 txt = str(lc) assert ( txt == "LibCfg(create_mode=off, force_version=1, expunge_mode=no_mem, num_fake_funcs=42)" ) def libmgr_cfg_lib_fail_test(): with pytest.raises(ValueError): lc = LibCfg(create_mode="bla") with pytest.raises(ValueError): lc = LibCfg(expunge_mode="foo") def libmgr_cfg_lib_eq_test(): lc1 = LibCfg() lc2 = LibCfg() assert lc1 == lc2 lc3 = LibCfg(force_version=1) assert lc1 != lc3 def libmgr_cfg_mgr_lib_test(): lmc = LibMgrCfg() lc = LibCfg(LibCfg.CREATE_MODE_OFF, 1, LibCfg.EXPUNGE_MODE_NO_MEM) lmc.add_lib_cfg("bla.library", lc) assert lmc.get_lib_cfg("bla.library") == lc assert lmc.get_lib_cfg("foo.library") == LibCfg() lc2 = LibCfg(LibCfg.CREATE_MODE_AMIGA, 11, LibCfg.EXPUNGE_MODE_NO_MEM) lmc.add_lib_cfg("foo.library", lc2) assert lmc.get_lib_cfg("foo.library") == lc2 def libmgr_cfg_mgr_dev_test(): lmc = LibMgrCfg() lc = LibCfg(LibCfg.CREATE_MODE_OFF, 1, LibCfg.EXPUNGE_MODE_NO_MEM) lmc.add_dev_cfg("bla.device", lc) assert lmc.get_dev_cfg("bla.device") == lc assert lmc.get_dev_cfg("foo.device") == LibCfg() lc2 = LibCfg(LibCfg.CREATE_MODE_AMIGA, 11, LibCfg.EXPUNGE_MODE_NO_MEM) lmc.add_dev_cfg("foo.device", lc2) assert lmc.get_dev_cfg("foo.device") == lc2 def libmgr_cfg_mgr_lib_default_test(): lcd = LibCfg(LibCfg.CREATE_MODE_OFF, 1, LibCfg.EXPUNGE_MODE_NO_MEM) lmc = LibMgrCfg(lib_default=lcd) assert lmc.get_lib_cfg("bla.library") == lcd lc = LibCfg(LibCfg.CREATE_MODE_OFF, 1, LibCfg.EXPUNGE_MODE_NO_MEM) lmc.add_lib_cfg("bla.library", lc) assert lmc.get_lib_cfg("bla.library") == lc def libmgr_cfg_mgr_dev_default_test(): lcd = LibCfg(LibCfg.CREATE_MODE_OFF, 1, LibCfg.EXPUNGE_MODE_NO_MEM) lmc = LibMgrCfg(dev_default=lcd) assert lmc.get_dev_cfg("bla.device") == lcd lc = LibCfg(LibCfg.CREATE_MODE_OFF, 1, LibCfg.EXPUNGE_MODE_NO_MEM) lmc.add_dev_cfg("bla.device", lc) assert lmc.get_dev_cfg("bla.device") == lc def libmgr_cfg_mgr_from_dict_default_test(): cfg = ConfigDict( { "libs": ConfigDict( { "*.library": ConfigDict( { "mode": "fake", "version": 23, "expunge": "shutdown", "num_fake_funcs": 1, } ) } ), "devs": ConfigDict( { "*.device": ConfigDict( { "mode": "amiga", "version": 42, "expunge": "last_close", "num_fake_funcs": 2, } ) } ), } ) mgr = LibMgrCfg.from_dict(cfg) assert mgr lib_default = mgr.get_lib_default() assert lib_default assert lib_default.get_create_mode() == LibCfg.CREATE_MODE_FAKE assert lib_default.get_force_version() == 23 assert lib_default.get_expunge_mode() == LibCfg.EXPUNGE_MODE_SHUTDOWN assert lib_default.get_num_fake_funcs() == 1 dev_default = mgr.get_dev_default() assert dev_default assert dev_default.get_create_mode() == LibCfg.CREATE_MODE_AMIGA assert dev_default.get_force_version() == 42 assert dev_default.get_expunge_mode() == LibCfg.EXPUNGE_MODE_LAST_CLOSE assert dev_default.get_num_fake_funcs() == 2 def get_custom_cfg(): return ConfigDict( { "libs": ConfigDict( { "*.library": ConfigDict( { "mode": "fake", "version": 23, "expunge": "shutdown", "num_fake_funcs": 1, } ), "foo.library": ConfigDict( { "mode": "amiga", "version": 42, "expunge": "last_close", "num_fake_funcs": 2, } ), "libs/foo.library": ConfigDict( { "mode": "vamos", "version": 43, "expunge": "last_close", "num_fake_funcs": 10, } ), } ), "devs": ConfigDict( { "*.device": ConfigDict( { "mode": "amiga", "version": 42, "expunge": "last_close", "num_fake_funcs": 3, } ), "bar.device": ConfigDict( { "mode": "fake", "version": 23, "expunge": "shutdown", "num_fake_funcs": 4, } ), "devs/bar.device": ConfigDict( { "mode": "vamos", "version": 43, "expunge": "last_close", "num_fake_funcs": 11, } ), } ), } ) def libmgr_cfg_mgr_from_dict_custom_test(): cfg = get_custom_cfg() mgr = LibMgrCfg.from_dict(cfg) assert mgr lib_cfg = mgr.get_lib_cfg("foo.library") assert lib_cfg assert lib_cfg.get_create_mode() == LibCfg.CREATE_MODE_AMIGA assert lib_cfg.get_force_version() == 42 assert lib_cfg.get_expunge_mode() == LibCfg.EXPUNGE_MODE_LAST_CLOSE assert lib_cfg.get_num_fake_funcs() == 2 dev_cfg = mgr.get_dev_cfg("bar.device") assert dev_cfg assert dev_cfg.get_create_mode() == LibCfg.CREATE_MODE_FAKE assert dev_cfg.get_force_version() == 23 assert dev_cfg.get_expunge_mode() == LibCfg.EXPUNGE_MODE_SHUTDOWN assert dev_cfg.get_num_fake_funcs() == 4 def libmgr_cfg_mgr_auto_test(): cfg = get_custom_cfg() mgr = LibMgrCfg.from_dict(cfg) assert mgr lib_cfg = mgr.get_cfg("foo.library") assert lib_cfg assert lib_cfg.get_create_mode() == LibCfg.CREATE_MODE_AMIGA assert lib_cfg.get_force_version() == 42 assert lib_cfg.get_expunge_mode() == LibCfg.EXPUNGE_MODE_LAST_CLOSE assert lib_cfg.get_num_fake_funcs() == 2 lib_default = mgr.get_cfg(["bla.library"]) assert lib_default assert lib_default.get_create_mode() == LibCfg.CREATE_MODE_FAKE assert lib_default.get_force_version() == 23 assert lib_default.get_expunge_mode() == LibCfg.EXPUNGE_MODE_SHUTDOWN assert lib_default.get_num_fake_funcs() == 1 dev_cfg = mgr.get_cfg("bar.device") assert dev_cfg assert dev_cfg.get_create_mode() == LibCfg.CREATE_MODE_FAKE assert dev_cfg.get_force_version() == 23 assert dev_cfg.get_expunge_mode() == LibCfg.EXPUNGE_MODE_SHUTDOWN assert dev_cfg.get_num_fake_funcs() == 4 dev_default = mgr.get_cfg(["bla.device"]) assert dev_default assert dev_default.get_create_mode() == LibCfg.CREATE_MODE_AMIGA assert dev_default.get_force_version() == 42 assert dev_default.get_expunge_mode() == LibCfg.EXPUNGE_MODE_LAST_CLOSE assert dev_default.get_num_fake_funcs() == 3 def libmgr_cfg_mgr_base_name_test(): cfg = get_custom_cfg() mgr = LibMgrCfg.from_dict(cfg) assert mgr # fall back to 'foo.library' not the default lib_cfg = mgr.get_cfg("bla/foo.library") assert lib_cfg assert lib_cfg.get_create_mode() == LibCfg.CREATE_MODE_AMIGA assert lib_cfg.get_force_version() == 42 assert lib_cfg.get_expunge_mode() == LibCfg.EXPUNGE_MODE_LAST_CLOSE assert lib_cfg.get_num_fake_funcs() == 2 # use exact match lib_cfg = mgr.get_cfg("libs/foo.library") assert lib_cfg assert lib_cfg.get_create_mode() == LibCfg.CREATE_MODE_VAMOS assert lib_cfg.get_force_version() == 43 assert lib_cfg.get_expunge_mode() == LibCfg.EXPUNGE_MODE_LAST_CLOSE assert lib_cfg.get_num_fake_funcs() == 10 # fall back to 'bar.device' not the default dev_cfg = mgr.get_cfg("baz/bar.device") assert dev_cfg assert dev_cfg.get_create_mode() == LibCfg.CREATE_MODE_FAKE assert dev_cfg.get_force_version() == 23 assert dev_cfg.get_expunge_mode() == LibCfg.EXPUNGE_MODE_SHUTDOWN assert dev_cfg.get_num_fake_funcs() == 4 # use exact match dev_cfg = mgr.get_cfg("devs/bar.device") assert dev_cfg assert dev_cfg.get_create_mode() == LibCfg.CREATE_MODE_VAMOS assert dev_cfg.get_force_version() == 43 assert dev_cfg.get_expunge_mode() == LibCfg.EXPUNGE_MODE_LAST_CLOSE assert dev_cfg.get_num_fake_funcs() == 11 def libmgr_cfg_dump_test(capsys): cfg = get_custom_cfg() mgr = LibMgrCfg.from_dict(cfg) mgr.dump() captured = capsys.readouterr() assert captured.out.splitlines() == [ "libs config:", " default: LibCfg(create_mode=fake, force_version=23, expunge_mode=shutdown, num_fake_funcs=1)", " lib 'foo.library': LibCfg(create_mode=amiga, force_version=42, expunge_mode=last_close, num_fake_funcs=2)", " lib 'libs/foo.library': LibCfg(create_mode=vamos, force_version=43, expunge_mode=last_close, num_fake_funcs=10)", "devs config:", " default: LibCfg(create_mode=amiga, force_version=42, expunge_mode=last_close, num_fake_funcs=3)", " dev 'bar.device': LibCfg(create_mode=fake, force_version=23, expunge_mode=shutdown, num_fake_funcs=4)", " dev 'devs/bar.device': LibCfg(create_mode=vamos, force_version=43, expunge_mode=last_close, num_fake_funcs=11)", ]
37.297945
124
0.589018
1,348
10,891
4.38724
0.066024
0.077782
0.086574
0.040582
0.871322
0.81417
0.773081
0.736726
0.699188
0.677714
0
0.015735
0.305573
10,891
291
125
37.426117
0.76623
0.010651
0
0.525097
0
0.015444
0.146982
0.033333
0
0
0
0
0.335907
1
0.054054
false
0
0.011583
0.003861
0.069498
0
0
0
0
null
0
0
0
1
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
2ff1f266bbf1889db437b68fd1407e115716288d
108
py
Python
models/output.py
mazore/GeoCompare
afc2217f5fcd3c437dc05eb7b46078e59b8b82c6
[ "MIT" ]
null
null
null
models/output.py
mazore/GeoCompare
afc2217f5fcd3c437dc05eb7b46078e59b8b82c6
[ "MIT" ]
13
2021-03-18T21:51:29.000Z
2021-04-20T18:49:50.000Z
models/output.py
mazore/GeoCompare
afc2217f5fcd3c437dc05eb7b46078e59b8b82c6
[ "MIT" ]
3
2021-03-22T18:50:44.000Z
2021-03-25T20:49:45.000Z
class Output: def __init__(self, path): self.path = path def write(self): raise NotImplementedError()
18
29
0.722222
14
108
5.285714
0.642857
0.216216
0
0
0
0
0
0
0
0
0
0
0.166667
108
6
29
18
0.822222
0
0
0
0
0
0
0
0
0
0
0
0
1
0.4
false
0
0
0
0.6
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
1
0
0
0
0
1
0
0
5
640fcd712b13fbc257594b1533c0afe0f1c53ee4
83
py
Python
tracki/src/application/repositories/__init__.py
rok-povsic/Tracki
f92fec62fa66e87fa6feb509142f09cd548c570a
[ "MIT" ]
null
null
null
tracki/src/application/repositories/__init__.py
rok-povsic/Tracki
f92fec62fa66e87fa6feb509142f09cd548c570a
[ "MIT" ]
null
null
null
tracki/src/application/repositories/__init__.py
rok-povsic/Tracki
f92fec62fa66e87fa6feb509142f09cd548c570a
[ "MIT" ]
null
null
null
from tracki.src.application.repositories.shift import ShiftRepository # noqa F401
41.5
82
0.843373
10
83
7
1
0
0
0
0
0
0
0
0
0
0
0.04
0.096386
83
1
83
83
0.893333
0.108434
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
642678811a91c68a3d9f3d809889d3b5a01cf12a
62
py
Python
cride/circles/models/__init__.py
frorozcol-UN/Cride_platzi
0c6160492bf4f7f439ab5a8b56464f0f1b2bd428
[ "MIT" ]
null
null
null
cride/circles/models/__init__.py
frorozcol-UN/Cride_platzi
0c6160492bf4f7f439ab5a8b56464f0f1b2bd428
[ "MIT" ]
null
null
null
cride/circles/models/__init__.py
frorozcol-UN/Cride_platzi
0c6160492bf4f7f439ab5a8b56464f0f1b2bd428
[ "MIT" ]
null
null
null
from .circles import Circle from .membership import Membreship
31
34
0.854839
8
62
6.625
0.75
0
0
0
0
0
0
0
0
0
0
0
0.112903
62
2
34
31
0.963636
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
ff27bc6f0667b00f300b9dc2b7558d2d7b98cd85
22,109
py
Python
controller/file_operation_controller/file_operation_controller.py
rohandhanraj/Auto-AI-Pipeline
d5f39715c802db45afae0d5978d228bf0bcd2f0a
[ "MIT" ]
null
null
null
controller/file_operation_controller/file_operation_controller.py
rohandhanraj/Auto-AI-Pipeline
d5f39715c802db45afae0d5978d228bf0bcd2f0a
[ "MIT" ]
null
null
null
controller/file_operation_controller/file_operation_controller.py
rohandhanraj/Auto-AI-Pipeline
d5f39715c802db45afae0d5978d228bf0bcd2f0a
[ "MIT" ]
null
null
null
import os import sys from flask import render_template, redirect, url_for, jsonify, session from flask import request from werkzeug.utils import secure_filename import json, uuid from integration_layer.file_management.file_manager import FileManager from cloud_storage_layer.aws.amazon_simple_storage_service import AmazonSimpleStorageService from entity_layer.registration.registration import Register from logging_layer.logger.log_request import LogRequest from logging_layer.logger.log_exception import LogExceptionDetail global process_value class FileOperationController: def __init__(self): self.registration_obj = Register() self.WRITE = "WRITE" self.READ = "READ" def get_cloud_provider_name(self, cloud_provider): cloud_provider_name = "" if 'cloud_provider' in cloud_provider: if 'Microsoft' in cloud_provider['cloud_provider']: cloud_provider_name = "microsoft" if 'Amazon' in cloud_provider['cloud_provider']: cloud_provider_name = "amazon" if 'Google' in cloud_provider['cloud_provider']: cloud_provider_name = 'google' return cloud_provider_name return None def cloud_list_directory(self, ): try: log_writer = LogRequest(executed_by=None,execution_id=str(uuid.uuid4())) if 'email_address' in session: log_writer.executed_by = session['email_address'] log_writer.log_start(request) result = self.registration_obj.validate_access(session['email_address'], operation_type=self.READ) if not result['status']: log_writer.log_stop(result) return jsonify(result) del result cloud_provider = json.loads(request.data) if 'cloud_provider' not in cloud_provider: return jsonify({'status': False, 'message': 'cloud provider name not found'}) cloud_provider_name = self.get_cloud_provider_name(cloud_provider) file_manager = FileManager(cloud_provider_name) result = file_manager.list_directory("") if result['status']: result['directory_list'] = [dir.replace("/", "") for dir in result['directory_list']] result['n_directory'] = len(result['directory_list']) log_writer.log_stop(result) return jsonify(result) else: log_writer.log_stop(result) return jsonify(result) else: log_writer.log_start(request) result = {'status': True, 'message': 'Please login to your account'} log_writer.log_stop(result) return jsonify(result) except Exception as e: exc_type, exc_obj, exc_tb = sys.exc_info() file_name = os.path.split(exc_tb.tb_frame.f_code.co_filename)[1] exception_type = e.__repr__() exception_detail = {'exception_type': exception_type, 'file_name': file_name, 'line_number': exc_tb.tb_lineno, 'detail': sys.exc_info().__str__()} log_exception=LogExceptionDetail(log_writer.executed_by,log_writer.execution_id) log_exception.log(str(exception_detail)) context={'status': False, 'message': str(exception_detail)} log_writer.log_stop(context) return jsonify(context) def list_directory(self, ): log_writer = LogRequest(executed_by=None, execution_id=str(uuid.uuid4())) try: if 'email_address' in session: log_writer.executed_by = session['email_address'] log_writer.log_start(request) response = self.registration_obj.validate_access(session['email_address'], operation_type=self.READ) if not response['status']: log_writer.log_stop(response) return jsonify(response) del response cloud_provider = json.loads(request.data) if 'cloud_provider' not in cloud_provider: return jsonify({'status': False, 'message': 'cloud provider name not found'}) cloud_provider_name = self.get_cloud_provider_name(cloud_provider) if 'folder_name' not in cloud_provider: return jsonify({'status': False, 'message': 'Folder name is missing'}) folder_name = cloud_provider['folder_name'] file_manager = FileManager(cloud_provider_name) response = file_manager.list_directory(folder_name) if response['status']: response['directory_list'] = [dir.replace("/", "") for dir in response['directory_list']] response['n_directory'] = len(response['directory_list']) log_writer.log_stop(response) return jsonify(response) else: log_writer.log_stop(response) return jsonify(response) else: log_writer.log_start(request) response = {'status': False, 'message': 'Please login to your account'} log_writer.log_stop(response) return jsonify(response) except Exception as e: exc_type, exc_obj, exc_tb = sys.exc_info() file_name = os.path.split(exc_tb.tb_frame.f_code.co_filename)[1] exception_type = e.__repr__() exception_detail = {'exception_type': exception_type, 'file_name': file_name, 'line_number': exc_tb.tb_lineno, 'detail': sys.exc_info().__str__()} log_exception=LogExceptionDetail(log_writer.executed_by,log_writer.execution_id) log_exception.log(str(exception_detail)) context={'status': False, 'message': str(exception_detail)} log_writer.log_stop(context) return jsonify(context) def upload_files(self, ): log_writer = LogRequest(executed_by=None, execution_id=str(uuid.uuid4())) try: if 'email_address' in session: log_writer.executed_by = session['email_address'] log_writer.log_start(request) response = self.registration_obj.validate_access(session['email_address'], operation_type=self.WRITE) if not response['status']: log_writer.log_stop(response) return jsonify(response) del response upload_files_list = request.files.getlist("files") upload_folder = request.form['upload_folder_name_of_file'] cloud_provider = self.get_cloud_provider_name({'cloud_provider': request.form['cloud_to_upload']}) file_manager = FileManager(cloud_provider) response = [] if upload_folder.__len__() > 0: if upload_folder[-1] == "/": upload_folder = upload_folder[:-1] files_uploaded = [] for upload_file in upload_files_list: result = file_manager.upload_file(upload_folder, upload_file.filename, upload_file, False, over_write=True) response.append(result) if result['status']: files_uploaded.append(upload_file.filename) message = "" for msg in response: message = message + " " + msg['message'] response = {'status': True, 'message': message, 'uploaded_files_on_cloud': files_uploaded, 'n_file_uploaded': len(files_uploaded)} if response['status']: log_writer.log_stop(response) return jsonify(response) else: log_writer.log_stop(response) return jsonify(response) else: log_writer.log_start(request) response = {'status': False, 'message': 'Please login to your account'} log_writer.log_stop(response) return jsonify(response) except Exception as e: exc_type, exc_obj, exc_tb = sys.exc_info() file_name = os.path.split(exc_tb.tb_frame.f_code.co_filename)[1] exception_type = e.__repr__() exception_detail = {'exception_type': exception_type, 'file_name': file_name, 'line_number': exc_tb.tb_lineno, 'detail': sys.exc_info().__str__()} log_exception=LogExceptionDetail(log_writer.executed_by,log_writer.execution_id) log_exception.log(str(exception_detail)) context={'status': False, 'message': str(exception_detail)} log_writer.log_stop(context) return jsonify(context) def create_folder(self, ): log_writer = LogRequest(executed_by=None, execution_id=str(uuid.uuid4())) try: if 'email_address' in session: log_writer.executed_by=session['email_address'] log_writer.log_start(request) response = self.registration_obj.validate_access(session['email_address'], operation_type=self.WRITE) if not response['status']: log_writer.log_stop(response) return jsonify(response) del response received_data = json.loads(request.data) # accepting received data cloud_provider = self.get_cloud_provider_name(received_data) # fetching cloud provider name msg = "" if cloud_provider is None: msg = msg + "cloud provide name is missing" folder_name = None if 'folder_name' in received_data: folder_name = received_data['folder_name'] if folder_name is None: msg = msg + " Folder name is missing" upload_folder = None if 'upload_folder_name' in received_data: upload_folder = received_data['upload_folder_name'] if upload_folder is None: msg = msg + "Parent folder is missing" if len(msg) > 0: response = {'status': False, 'message': msg} log_writer.log_stop(response) return jsonify(response) file_manager = FileManager(cloud_provider) # crating FIle manager object for specific cloud provider if upload_folder.__len__() > 0: if upload_folder[-1] == "/": upload_folder = upload_folder[:-1] if upload_folder.__len__() == 0: response = file_manager.create_directory(directory_full_path=folder_name) # creating directory else: response = file_manager.create_directory( directory_full_path=upload_folder + "/" + folder_name) # creating directory if response['status']: response['folder_name'] = folder_name log_writer.log_stop(response) return jsonify(response) else: log_writer.log_stop(response) return jsonify(response) else: log_writer.log_start(request) response = {'status': False, 'message': 'Please login to your account'} log_writer.log_stop(response) return jsonify(response) except Exception as e: exc_type, exc_obj, exc_tb = sys.exc_info() file_name = os.path.split(exc_tb.tb_frame.f_code.co_filename)[1] exception_type = e.__repr__() exception_detail = {'exception_type': exception_type, 'file_name': file_name, 'line_number': exc_tb.tb_lineno, 'detail': sys.exc_info().__str__()} log_exception=LogExceptionDetail(log_writer.executed_by,log_writer.execution_id) log_exception.log(str(exception_detail)) context={'status': False, 'message': str(exception_detail)} log_writer.log_stop(context) return jsonify(context) def delete_folder(self, ): log_writer = LogRequest(executed_by=None, execution_id=str(uuid.uuid4())) try: if 'email_address' in session: log_writer.executed_by = session['email_address'] log_writer.log_start(request) response = self.registration_obj.validate_access(session['email_address'], self.WRITE) if not response['status']: log_writer.log_stop(response) return jsonify(response) del response received_data = json.loads(request.data) msg = "" cloud_provider = self.get_cloud_provider_name(received_data) if cloud_provider is None: msg = "Cloud provider name is missing" if 'folder_names' in received_data: folder_names = received_data['folder_names'] else: msg = msg + " folder_names missing" if 'directory' in received_data: directory = received_data['directory'] else: msg = msg + " Directory is missing" if msg.__len__() > 0: response = {'status': False, 'message': msg} file_manager = FileManager(cloud_provider) if directory.__len__() > 0: if directory[-1] == "/": directory = directory[:-1] folder_name_list = folder_names.split(";") folder_name_list = folder_name_list[:-1] msg = "" for folder_name in folder_name_list: if directory == "": response = file_manager.remove_directory(directory_full_path=folder_name) msg = msg + response['message'] else: response = file_manager.remove_directory(directory_full_path=directory + "/" + folder_name) msg = msg + response['message'] response = file_manager.list_directory(directory) response['message'] = response['message'] + msg if response['status']: response['n_directory'] = len(response['directory_list']) response['message'] = response['message'] + msg log_writer.log_stop(response) return jsonify(response) else: log_writer.log_stop(response) return jsonify(response) else: log_writer.log_start(request) response = {'status': False, 'message': 'Please login to your account'} log_writer.log_stop(response) return jsonify(response) except Exception as e: exc_type, exc_obj, exc_tb = sys.exc_info() file_name = os.path.split(exc_tb.tb_frame.f_code.co_filename)[1] exception_type = e.__repr__() exception_detail = {'exception_type': exception_type, 'file_name': file_name, 'line_number': exc_tb.tb_lineno, 'detail': sys.exc_info().__str__()} log_exception=LogExceptionDetail(log_writer.executed_by,log_writer.execution_id) log_exception.log(str(exception_detail)) context={'status': False, 'message': str(exception_detail)} log_writer.log_stop(context) return jsonify(context) def delete_file(self, ): log_writer = LogRequest(executed_by=None, execution_id=str(uuid.uuid4())) try: if 'email_address' in session: log_writer.executed_by = session['email_address'] log_writer.log_start(request) response = self.registration_obj.validate_access(session['email_address'], self.WRITE) if not response['status']: log_writer.log_stop(response) return jsonify(response) del response received_data = json.loads(request.data) msg = "" cloud_provider = self.get_cloud_provider_name(received_data) if cloud_provider is None: msg = "Cloud provider name is missing" if 'file_names' in received_data: file_names = received_data['file_names'] else: msg = msg + " file_names missing" if 'directory' in received_data: directory = received_data['directory'] else: msg = msg + " Directory is missing" if msg.__len__() > 0: response = {'status': False, 'message': msg} file_manager = FileManager(cloud_provider) if directory.__len__() > 0: if directory[-1] == "/": directory = directory[:-1] msg = "" file_name_list = file_names.split(";") if len(file_name_list) > 0: file_name_list = file_name_list[:-1] for file_name in file_name_list: response = file_manager.remove_file(directory_full_path=directory, file_name=file_name) if response['status']: msg = msg + response['message'] response = file_manager.list_directory(directory) response['message'] = response['message'] + msg if response['status']: response['n_directory'] = len(response['directory_list']) log_writer.log_stop(response) return jsonify(response) else: log_writer.log_stop(response) return jsonify(response) else: log_writer.log_start(request) response = {'status': False, 'message': 'Please login to your account'} log_writer.log_stop(response) return jsonify(response) except Exception as e: exc_type, exc_obj, exc_tb = sys.exc_info() file_name = os.path.split(exc_tb.tb_frame.f_code.co_filename)[1] exception_type = e.__repr__() exception_detail = {'exception_type': exception_type, 'file_name': file_name, 'line_number': exc_tb.tb_lineno, 'detail': sys.exc_info().__str__()} log_exception=LogExceptionDetail(log_writer.executed_by,log_writer.execution_id) log_exception.log(str(exception_detail)) context={'status': False, 'message': str(exception_detail)} log_writer.log_stop(context) return jsonify(context) def upload_file_(self, ): log_writer = LogRequest(executed_by=None, execution_id=str(uuid.uuid4())) try: if 'email_address' in session: log_writer.executed_by = session['email_address'] log_writer.log_start(request) response = self.registration_obj.validate_access(session['email_address'], operation_type=self.READ) if not response['status']: context = {'message': response['message'], 'message_status': 'info'} log_writer.log_stop(context) return render_template('file_manager.html', context=context) del response if request.method == "POST": file_name = request.files['file'] filename = secure_filename(file_name.filename) m = AmazonSimpleStorageService() response = m.upload_file("company_name/data/project/wafer_fault_detection/Training_Batch_Files", file_name.filename, file_name) context = {'message': response['message'], 'message_status': 'info'} log_writer.log_stop(context) return render_template('file_manager.html', context=context) context = {'message': None, 'message_status': 'info'} log_writer.log_stop(context) return render_template('file_manager.html', context=context) else: log_writer.log_start(request) log_writer.log_stop({'navigating':'login'}) return redirect(url_for('login')) except Exception as e: exc_type, exc_obj, exc_tb = sys.exc_info() file_name = os.path.split(exc_tb.tb_frame.f_code.co_filename)[1] exception_type = e.__repr__() exception_detail = {'exception_type': exception_type, 'file_name': file_name, 'line_number': exc_tb.tb_lineno, 'detail': sys.exc_info().__str__()} log_exception=LogExceptionDetail(log_writer.executed_by,log_writer.execution_id) log_exception.log(str(exception_detail)) context = {'message': None, 'message_status': 'info', 'error_message': str(exception_detail)} log_writer.log_stop(context) return render_template('error.html',context=context)
50.020362
117
0.564205
2,259
22,109
5.199203
0.070828
0.05977
0.051086
0.049042
0.784163
0.756662
0.732482
0.722946
0.687271
0.678927
0
0.002284
0.346465
22,109
441
118
50.133787
0.810575
0.006604
0
0.734491
0
0
0.10389
0.005329
0
0
0
0
0
1
0.022333
false
0
0.027295
0
0.153846
0
0
0
0
null
0
0
0
0
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
ff891ed91aeed91f829fb27f12d6b54a15aae64d
203
py
Python
S4/S4 Library/core/pythonutils.py
NeonOcean/Environment
ca658cf66e8fd6866c22a4a0136d415705b36d26
[ "CC-BY-4.0" ]
1
2021-05-20T19:33:37.000Z
2021-05-20T19:33:37.000Z
S4/S4 Library/core/pythonutils.py
NeonOcean/Environment
ca658cf66e8fd6866c22a4a0136d415705b36d26
[ "CC-BY-4.0" ]
null
null
null
S4/S4 Library/core/pythonutils.py
NeonOcean/Environment
ca658cf66e8fd6866c22a4a0136d415705b36d26
[ "CC-BY-4.0" ]
null
null
null
try: import _pythonutils except ImportError: class _pythonutils: @staticmethod def try_highwater_gc(): return False try_highwater_gc = _pythonutils.try_highwater_gc
18.454545
48
0.694581
21
203
6.285714
0.571429
0.272727
0.318182
0
0
0
0
0
0
0
0
0
0.261084
203
11
48
18.454545
0.88
0
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0.25
0.125
0.625
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
5
ff8f6768f4682e6be802a171621556e6d3a5af89
558
py
Python
tests/test_operators.py
addyess/lightkube
3d2f4ab41bf9daa168e923f3b820d9379d6d56b6
[ "MIT" ]
63
2020-07-04T14:40:53.000Z
2022-03-31T07:20:23.000Z
tests/test_operators.py
addyess/lightkube
3d2f4ab41bf9daa168e923f3b820d9379d6d56b6
[ "MIT" ]
15
2021-10-13T16:11:04.000Z
2022-03-28T21:34:50.000Z
tests/test_operators.py
addyess/lightkube
3d2f4ab41bf9daa168e923f3b820d9379d6d56b6
[ "MIT" ]
6
2020-10-24T08:42:37.000Z
2022-03-10T18:11:11.000Z
from lightkube import operators def test_exists(): assert operators.exists().encode('key') == 'key' def test_not_exists(): assert operators.not_exists().encode('key') == '!key' def test_equal(): assert operators.equal('xxx').encode('key') == 'key=xxx' def test_not_equal(): assert operators.not_equal('xxx').encode('key') == 'key!=xxx' def test_in(): assert operators.in_(['xxx', 'yyy']).encode('key') == 'key in (xxx,yyy)' def test_not_in(): assert operators.not_in(['xxx', 'zzz']).encode('key') == 'key notin (xxx,zzz)'
21.461538
82
0.641577
78
558
4.423077
0.217949
0.121739
0.208696
0.104348
0.318841
0.318841
0.173913
0.173913
0
0
0
0
0.146953
558
25
83
22.32
0.72479
0
0
0
0
0
0.166667
0
0
0
0
0
0.461538
1
0.461538
true
0
0.076923
0
0.538462
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
1
0
1
1
0
0
0
1
0
0
5
ffa916250cb9d26516305ed5fc1d5b04e7763c15
118
py
Python
models/__init__.py
atas98/telegram-reddit-bot
e021533cb8acaa439ed57dc7e20e1b5a04970af8
[ "MIT" ]
4
2021-03-25T09:10:04.000Z
2021-09-25T07:04:30.000Z
models/__init__.py
atas98/telegram-reddit-bot
e021533cb8acaa439ed57dc7e20e1b5a04970af8
[ "MIT" ]
2
2022-01-10T14:12:31.000Z
2022-01-12T22:56:12.000Z
models/__init__.py
atas98/telegram-reddit-bot
e021533cb8acaa439ed57dc7e20e1b5a04970af8
[ "MIT" ]
1
2021-12-18T08:28:34.000Z
2021-12-18T08:28:34.000Z
from . import config from . import reddit from .user_states import UserStates __all__ = [config, reddit, UserStates]
19.666667
38
0.779661
15
118
5.8
0.533333
0.229885
0
0
0
0
0
0
0
0
0
0
0.152542
118
5
39
23.6
0.87
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.75
0
0.75
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
5
ffaa70d32be33ca8a370ec85456caceb0d311421
61
py
Python
map.py
rajatpuri25/python
8e01e150ce72aedd7d206242753bb8468a014a1c
[ "bzip2-1.0.6" ]
null
null
null
map.py
rajatpuri25/python
8e01e150ce72aedd7d206242753bb8468a014a1c
[ "bzip2-1.0.6" ]
null
null
null
map.py
rajatpuri25/python
8e01e150ce72aedd7d206242753bb8468a014a1c
[ "bzip2-1.0.6" ]
null
null
null
lambda x,y:x+y a = [1,2,3] b = [4,5,6] c = [7,8,9]
10.166667
15
0.360656
17
61
1.294118
0.882353
0.181818
0
0
0
0
0
0
0
0
0
0.225
0.344262
61
5
16
12.2
0.325
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
444c39f215397b5696b3ed54b65549141812ebc3
1,390
py
Python
python/utils/output.py
jwg4/oeis_misc
eb4ffc3c093179e5d4c4fd7f0a290d2b332031be
[ "MIT" ]
null
null
null
python/utils/output.py
jwg4/oeis_misc
eb4ffc3c093179e5d4c4fd7f0a290d2b332031be
[ "MIT" ]
null
null
null
python/utils/output.py
jwg4/oeis_misc
eb4ffc3c093179e5d4c4fd7f0a290d2b332031be
[ "MIT" ]
null
null
null
import logging def b_file_format(values, start=0): i = start for n in values: yield "%d %d\n" % (i, n) i = i + 1 def write_b_file(name, values, start=0): with open(name, 'w') as f: for line in b_file_format(values, start): logging.info("Writing %s to b-file" % (line, )) f.write(line) def chunks(s, n): a = s while len(a) > n: yield a[:n] a = a[n:] yield a def data_section(values): """ >>> data_section(range(0, 260)) '0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67' >>> data_section(range(0, 10)) '0, 1, 2, 3, 4, 5, 6, 7, 8, 9' >>> data_section([2] * 200) '2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2' """ ss = [str(v) for v in values] l = len(ss[0]) i = 1 for s in ss[1:]: l = l + len(ss[i]) + 2 if l > 260: break i = i + 1 return ", ".join(ss[:i])
31.590909
270
0.434532
293
1,390
2.027304
0.37884
0.289562
0.429293
0.565657
0.254209
0.180135
0.180135
0.180135
0.180135
0.180135
0
0.271018
0.34964
1,390
43
271
32.325581
0.386062
0.464748
0
0.074074
0
0
0.04386
0
0
0
0
0
0
1
0.148148
false
0
0.037037
0
0.222222
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
44621cffea6b3a5d379c18553bbf9432b8b4a815
93
py
Python
trueSite/homepage/admin.py
Alexa201228/math_project
a56cab598aa6a704be6ff54c0102b6a6fcb3c0b7
[ "bzip2-1.0.6" ]
null
null
null
trueSite/homepage/admin.py
Alexa201228/math_project
a56cab598aa6a704be6ff54c0102b6a6fcb3c0b7
[ "bzip2-1.0.6" ]
null
null
null
trueSite/homepage/admin.py
Alexa201228/math_project
a56cab598aa6a704be6ff54c0102b6a6fcb3c0b7
[ "bzip2-1.0.6" ]
null
null
null
from django.contrib import admin from .models import HomePage admin.site.register(HomePage)
18.6
32
0.827957
13
93
5.923077
0.692308
0
0
0
0
0
0
0
0
0
0
0
0.107527
93
5
33
18.6
0.927711
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
9230b0647d1f91649ac4e2f796e48020ede024bc
45
py
Python
barcap/device_list/__init__.py
Barmaley13/CaptureBarcode
e19556dd515a1b86cf32b5bdca4dca398d1f0ef1
[ "MIT" ]
1
2021-04-17T18:04:19.000Z
2021-04-17T18:04:19.000Z
barcap/device_list/__init__.py
Barmaley13/CaptureBarcode
e19556dd515a1b86cf32b5bdca4dca398d1f0ef1
[ "MIT" ]
1
2021-07-08T09:48:07.000Z
2021-07-08T17:36:22.000Z
barcap/device_list/__init__.py
Barmaley13/CaptureBarcode
e19556dd515a1b86cf32b5bdca4dca398d1f0ef1
[ "MIT" ]
1
2019-09-27T12:37:25.000Z
2019-09-27T12:37:25.000Z
from .test import select_camera, camera_list
22.5
44
0.844444
7
45
5.142857
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.111111
45
1
45
45
0.9
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
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
1
0
1
0
0
0
0
5
9242c945d5c46ab726c5e70e135cf1f258a3b214
81
py
Python
fbpostscraper/__init__.py
nruigrok/fbpostscraper
4db54e576461724f5776535d116005dffebbbb68
[ "MIT" ]
1
2021-05-30T17:50:27.000Z
2021-05-30T17:50:27.000Z
fbpostscraper/__init__.py
nruigrok/fbpostscraper
4db54e576461724f5776535d116005dffebbbb68
[ "MIT" ]
null
null
null
fbpostscraper/__init__.py
nruigrok/fbpostscraper
4db54e576461724f5776535d116005dffebbbb68
[ "MIT" ]
null
null
null
from .fbpostscraper import FBPostScraper from .insta_scraper import InstaScraper
27
40
0.876543
9
81
7.777778
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.098765
81
2
41
40.5
0.958904
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
924e3f8f27cc6173807c7f83fd5dce1c4cd9c3ba
127
py
Python
idunn/places/__init__.py
amatissart/idunn
cae32024165a85ad99881c373a88ea5702631d71
[ "Apache-2.0" ]
null
null
null
idunn/places/__init__.py
amatissart/idunn
cae32024165a85ad99881c373a88ea5702631d71
[ "Apache-2.0" ]
null
null
null
idunn/places/__init__.py
amatissart/idunn
cae32024165a85ad99881c373a88ea5702631d71
[ "Apache-2.0" ]
null
null
null
from .address import Address from .admin import Admin from .poi import POI from .street import Street from .place import Place
21.166667
28
0.80315
20
127
5.1
0.35
0
0
0
0
0
0
0
0
0
0
0
0.15748
127
5
29
25.4
0.953271
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
9273e8c6f607f84263ac7046a2468f57b845f75e
183
py
Python
hotelapi/admin.py
aftab-byte/hotel_api
02b8fed907b852cae1f8c99023900a95489769ea
[ "MIT" ]
null
null
null
hotelapi/admin.py
aftab-byte/hotel_api
02b8fed907b852cae1f8c99023900a95489769ea
[ "MIT" ]
null
null
null
hotelapi/admin.py
aftab-byte/hotel_api
02b8fed907b852cae1f8c99023900a95489769ea
[ "MIT" ]
null
null
null
from django.contrib import admin from hotelapi.models import Details ,HotelDescription # Register your models here. admin.site.register(Details) admin.site.register(HotelDescription)
30.5
53
0.84153
23
183
6.695652
0.565217
0.116883
0.220779
0
0
0
0
0
0
0
0
0
0.087432
183
5
54
36.6
0.922156
0.142077
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
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
5
928f9938db104a389b465923b8ea1fcce7b5c678
205
py
Python
tests/test_project_fixtures/test_project_multi_commit/test_app/models.py
fevral13/django-migration-linter
6fcc7b4719ab93acf3036cb27fc185de30be0bde
[ "Apache-2.0" ]
null
null
null
tests/test_project_fixtures/test_project_multi_commit/test_app/models.py
fevral13/django-migration-linter
6fcc7b4719ab93acf3036cb27fc185de30be0bde
[ "Apache-2.0" ]
1
2019-04-10T10:56:13.000Z
2019-04-10T12:15:51.000Z
tests/test_project_fixtures/test_project_multi_commit/test_app/models.py
fevral13/django-migration-linter
6fcc7b4719ab93acf3036cb27fc185de30be0bde
[ "Apache-2.0" ]
null
null
null
from django.db import models class A(models.Model): null_field = models.IntegerField(null=True) new_not_null_field = models.IntegerField(null=False) new_nullable_field = models.IntegerField(null=True)
29.285714
53
0.809756
30
205
5.333333
0.533333
0.20625
0.43125
0.50625
0.60625
0
0
0
0
0
0
0
0.092683
205
6
54
34.166667
0.860215
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.2
0
1
0
0
0
0
null
1
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
1
0
0
5
92a74c1c2694230b226bf3f84aef6b0f2a1b96a3
47
py
Python
tests/__init__.py
knutdrand/iterator_tutorial
e53666ecf9d9b28408c0d13061a44715c67e0c51
[ "MIT" ]
null
null
null
tests/__init__.py
knutdrand/iterator_tutorial
e53666ecf9d9b28408c0d13061a44715c67e0c51
[ "MIT" ]
null
null
null
tests/__init__.py
knutdrand/iterator_tutorial
e53666ecf9d9b28408c0d13061a44715c67e0c51
[ "MIT" ]
null
null
null
"""Unit test package for iteretor_tutorial."""
23.5
46
0.744681
6
47
5.666667
1
0
0
0
0
0
0
0
0
0
0
0
0.106383
47
1
47
47
0.809524
0.851064
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
5
2bb892bd4842209592f69da3d8baed69c41bca08
140
py
Python
dqo/estimator/gerelt/v20/__init__.py
danield137/deep_query_optimzation
01a25c966338007f15d14dea1b37e388e47bcfe3
[ "MIT" ]
null
null
null
dqo/estimator/gerelt/v20/__init__.py
danield137/deep_query_optimzation
01a25c966338007f15d14dea1b37e388e47bcfe3
[ "MIT" ]
null
null
null
dqo/estimator/gerelt/v20/__init__.py
danield137/deep_query_optimzation
01a25c966338007f15d14dea1b37e388e47bcfe3
[ "MIT" ]
null
null
null
from . import encoder from . import dataset from . import model model_cls = model.GereltRegressor description = 'v15 + ordered exec plan'
17.5
39
0.764286
18
140
5.888889
0.666667
0.283019
0
0
0
0
0
0
0
0
0
0.017241
0.171429
140
7
40
20
0.896552
0
0
0
0
0
0.164286
0
0
0
0
0
0
1
0
false
0
0.6
0
0.6
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
5
2bd5eced9282cc8654e3a57a353b192bf46e10e8
230
py
Python
pyvisdk/exceptions.py
Infinidat/pyvisdk
f2f4e5f50da16f659ccc1d84b6a00f397fa997f8
[ "MIT" ]
null
null
null
pyvisdk/exceptions.py
Infinidat/pyvisdk
f2f4e5f50da16f659ccc1d84b6a00f397fa997f8
[ "MIT" ]
null
null
null
pyvisdk/exceptions.py
Infinidat/pyvisdk
f2f4e5f50da16f659ccc1d84b6a00f397fa997f8
[ "MIT" ]
null
null
null
''' Created on Jul 29, 2011 @author: eplaster ''' class InvalidArgumentError(Exception): pass class PyVisdkError(Exception): pass class VisdkTaskError(Exception): pass class VisdkInvalidState(Exception): pass
12.777778
38
0.726087
23
230
7.26087
0.608696
0.311377
0.323353
0
0
0
0
0
0
0
0
0.031915
0.182609
230
17
39
13.529412
0.856383
0.182609
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
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
1
1
0
0
0
0
0
5
2bf76d05fe29bd2159b95712b980a78308149c78
25
py
Python
Aulas/a17/a14.py
rafaelbhcosta/Python_para_iniciantes
f6b750b71e3a9d6701b29cc6e8b09aad2649c700
[ "MIT" ]
null
null
null
Aulas/a17/a14.py
rafaelbhcosta/Python_para_iniciantes
f6b750b71e3a9d6701b29cc6e8b09aad2649c700
[ "MIT" ]
null
null
null
Aulas/a17/a14.py
rafaelbhcosta/Python_para_iniciantes
f6b750b71e3a9d6701b29cc6e8b09aad2649c700
[ "MIT" ]
null
null
null
# Condições e aninhamento
25
25
0.84
3
25
7
1
0
0
0
0
0
0
0
0
0
0
0
0.12
25
1
25
25
0.954545
0.92
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
5
2bfe751bf29fcb74ee8d48af8146d7d16dec43e2
51
py
Python
image_networks/img_vae/__init__.py
adnortje/deepvideo
76d09ee8696355bc29ee57c1ef2ff61474c5ed41
[ "CC0-1.0" ]
37
2019-11-23T06:42:12.000Z
2022-01-25T16:08:28.000Z
image_networks/img_vae/__init__.py
sangramch/deepvideo
16e622434b9843238b8092f94da2c58a4346788d
[ "CC0-1.0" ]
4
2020-04-11T12:36:27.000Z
2021-07-26T10:12:53.000Z
image_networks/img_vae/__init__.py
sangramch/deepvideo
16e622434b9843238b8092f94da2c58a4346788d
[ "CC0-1.0" ]
9
2019-12-13T07:30:58.000Z
2020-07-15T05:32:17.000Z
# import Image VAE from .image_vae import ImageVAE
17
31
0.803922
8
51
5
0.625
0.4
0
0
0
0
0
0
0
0
0
0
0.156863
51
2
32
25.5
0.930233
0.313725
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
5
920a53f34cf45147bd319f1b7f46d1b5b2308623
129
py
Python
job/admin.py
RimoldRynold/CodingJobs-1
01103ba9c91d9b06a97656d014ce7c5755784093
[ "MIT" ]
17
2020-10-14T11:20:33.000Z
2021-11-18T18:14:32.000Z
job/admin.py
RimoldRynold/CodingJobs-1
01103ba9c91d9b06a97656d014ce7c5755784093
[ "MIT" ]
null
null
null
job/admin.py
RimoldRynold/CodingJobs-1
01103ba9c91d9b06a97656d014ce7c5755784093
[ "MIT" ]
12
2020-10-16T22:00:20.000Z
2022-02-16T08:05:21.000Z
from django.contrib import admin from .models import Job, Application admin.site.register(Job) admin.site.register(Application)
21.5
36
0.821705
18
129
5.888889
0.555556
0.169811
0.320755
0
0
0
0
0
0
0
0
0
0.093023
129
6
37
21.5
0.905983
0
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
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
5
92147207e69ae165cefdb81ac8809685d8ef7ecc
359
py
Python
test/capitalize_every_word/capitalize_every_word.test.py
OmarTahoun/30-seconds-of-python-code
d94bc9bf52701018aabc5dcd89809797f9179847
[ "CC0-1.0" ]
2
2019-05-13T17:29:23.000Z
2019-09-22T01:55:13.000Z
test/capitalize_every_word/capitalize_every_word.test.py
OmarTahoun/30-seconds-of-python-code
d94bc9bf52701018aabc5dcd89809797f9179847
[ "CC0-1.0" ]
8
2020-03-24T17:47:23.000Z
2022-03-12T00:33:21.000Z
test/capitalize_every_word/capitalize_every_word.test.py
OmarTahoun/30-seconds-of-python-code
d94bc9bf52701018aabc5dcd89809797f9179847
[ "CC0-1.0" ]
2
2020-08-07T05:38:27.000Z
2021-11-09T11:54:18.000Z
import types,functools from pytape import test from capitalize_every_word import capitalize_every_word def capitalize_every_word_test(t): t.true(isinstance(capitalize_every_word, (types.BuiltinFunctionType, types.FunctionType, functools.partial)),'capitalize_every_word is a function') test('Testing capitalize_every_word',capitalize_every_word_test)
59.833333
152
0.849582
48
359
6.020833
0.416667
0.363322
0.460208
0.15917
0
0
0
0
0
0
0
0
0.08078
359
6
153
59.833333
0.875758
0
0
0
0
0
0.180282
0.11831
0
0
0
0
0
1
0.166667
false
0
0.5
0
0.666667
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
5
a62b34a9c9477bb4fde1e60fcbb16ca61aed1ea9
184
py
Python
binsdpy/similarity/__init__.py
mikulatomas/binsdpy
d54d452e5e7cf310747e94c5c94c4875add869ca
[ "MIT" ]
null
null
null
binsdpy/similarity/__init__.py
mikulatomas/binsdpy
d54d452e5e7cf310747e94c5c94c4875add869ca
[ "MIT" ]
2
2022-02-08T19:45:51.000Z
2022-02-23T15:21:01.000Z
binsdpy/similarity/__init__.py
mikulatomas/binsdpy
d54d452e5e7cf310747e94c5c94c4875add869ca
[ "MIT" ]
null
null
null
from .group_a import * from .group_b import * from .group_c import * from .group_d import * from .group_e import * from .group_f import * from .group_g import * from .group_h import *
20.444444
22
0.73913
32
184
4
0.34375
0.5625
0.820313
0
0
0
0
0
0
0
0
0
0.173913
184
8
23
23
0.842105
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
5
a69ebcc89c812cdb0f6c35b69c591e20b778a262
113
py
Python
pythonAlgorithm/highlevel/big-integer-multiplication.py
Sky-zzt/lintcodePractice
d6436b296c5865d85e55c8ad4fcdbb0165d4ebb1
[ "MIT" ]
1
2020-09-15T07:58:55.000Z
2020-09-15T07:58:55.000Z
pythonAlgorithm/highlevel/big-integer-multiplication.py
Sky-zzt/lintcodePractice
d6436b296c5865d85e55c8ad4fcdbb0165d4ebb1
[ "MIT" ]
null
null
null
pythonAlgorithm/highlevel/big-integer-multiplication.py
Sky-zzt/lintcodePractice
d6436b296c5865d85e55c8ad4fcdbb0165d4ebb1
[ "MIT" ]
null
null
null
# https://leetcode-cn.com/problems/multiply-strings/solution/gao-pin-mian-shi-xi-lie-zi-fu-chuan-cheng-fa-by-la/
56.5
112
0.769912
21
113
4.142857
1
0
0
0
0
0
0
0
0
0
0
0
0.017699
113
1
113
113
0.783784
0.973451
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
5