ratio1 3.4.34__py3-none-any.whl → 3.4.36__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- ratio1/_ver.py +1 -1
- ratio1/certs/{51.15.142.167.cert → 51.15.142.167.crt} +1 -1
- ratio1/cli/cli_commands.py +4 -0
- ratio1/cli/nodes.py +5 -0
- {ratio1-3.4.34.dist-info → ratio1-3.4.36.dist-info}/METADATA +1 -1
- {ratio1-3.4.34.dist-info → ratio1-3.4.36.dist-info}/RECORD +9 -9
- {ratio1-3.4.34.dist-info → ratio1-3.4.36.dist-info}/WHEEL +0 -0
- {ratio1-3.4.34.dist-info → ratio1-3.4.36.dist-info}/entry_points.txt +0 -0
- {ratio1-3.4.34.dist-info → ratio1-3.4.36.dist-info}/licenses/LICENSE +0 -0
ratio1/_ver.py
CHANGED
|
@@ -17,4 +17,4 @@ APeA2A8F9zriemjFjQYaveQKW4tzXtGY68ibSMgH/qceVrfgZ8/G1vE7Qy/RtYRE
|
|
|
17
17
|
z54RLb2dZIIUQCcuRCbzX0KHB4PMbz42gSPrWA3V1anVuxXeq9NYOU87dLK7y4fp
|
|
18
18
|
lcdFmDaI1mQ3UgRRXKrv14yjvRYxSAcao6mfsx1zVVKlvcavqawNxcQp+bQD1Nxw
|
|
19
19
|
scArD5w=
|
|
20
|
-
-----END CERTIFICATE-----
|
|
20
|
+
-----END CERTIFICATE-----
|
ratio1/cli/cli_commands.py
CHANGED
|
@@ -42,6 +42,10 @@ CLI_COMMANDS = {
|
|
|
42
42
|
"supervisors": {
|
|
43
43
|
"func": get_supervisors, # DONE
|
|
44
44
|
"description": "Get the list of available supervisor oracles",
|
|
45
|
+
"params": {
|
|
46
|
+
"--eth" : "Use a specific node (flag)",
|
|
47
|
+
"--wide" : "Display all available information (flag)",
|
|
48
|
+
}
|
|
45
49
|
},
|
|
46
50
|
"eth" : {
|
|
47
51
|
"func": get_eth_addr,
|
ratio1/cli/nodes.py
CHANGED
|
@@ -115,10 +115,15 @@ def get_supervisors(args):
|
|
|
115
115
|
online_only=True,
|
|
116
116
|
supervisors_only=True,
|
|
117
117
|
return_session=True,
|
|
118
|
+
eth=args.eth,
|
|
119
|
+
all_info=args.wide,
|
|
118
120
|
)
|
|
119
121
|
df, supervisor, super_alias, nr_supers, elapsed, sess = res
|
|
120
122
|
FILTERED = ['Oracle', 'State']
|
|
121
123
|
df = df[[c for c in df.columns if c not in FILTERED]]
|
|
124
|
+
|
|
125
|
+
import pandas as pd
|
|
126
|
+
pd.set_option('display.float_format', '{:.4f}'.format)
|
|
122
127
|
|
|
123
128
|
if supervisor == "ERROR":
|
|
124
129
|
log_with_color(f"No supervisors or no comms available in {elapsed:.1f}s. Please check your settings.", color='r')
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ratio1
|
|
3
|
-
Version: 3.4.
|
|
3
|
+
Version: 3.4.36
|
|
4
4
|
Summary: `ratio1` or Ration1 SDK is the Python SDK required for client app development for the Ratio1 ecosystem
|
|
5
5
|
Project-URL: Homepage, https://github.com/Ratio1/ratio1_sdk
|
|
6
6
|
Project-URL: Bug Tracker, https://github.com/Ratio1/ratio1_sdk/issues
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
ratio1/__init__.py,sha256=YimqgDbjLuywsf8zCWE0EaUXH4MBUrqLxt0TDV558hQ,632
|
|
2
|
-
ratio1/_ver.py,sha256=
|
|
2
|
+
ratio1/_ver.py,sha256=P40gzHftkrtYAG6SdF0ZmJs9X6Gj2AsuvXmRXqcIZ1U,331
|
|
3
3
|
ratio1/base_decentra_object.py,sha256=iXvAAf6wPnGWzeeiRfwLojVoan-m1e_VsyPzjUQuENo,4492
|
|
4
4
|
ratio1/plugins_manager_mixin.py,sha256=X1JdGLDz0gN1rPnTN_5mJXR8JmqoBFQISJXmPR9yvCo,11106
|
|
5
5
|
ratio1/base/__init__.py,sha256=hACh83_cIv7-PwYMM3bQm2IBmNqiHw-3PAfDfAEKz9A,259
|
|
@@ -18,15 +18,15 @@ ratio1/bc/base.py,sha256=g7tARNgi_0N1p9HpvqRDWDVYxuqU7W6S0q3ARC6oxKk,45870
|
|
|
18
18
|
ratio1/bc/chain.py,sha256=HCTQGnmuKqTvUo95OKdg8rL2jhKfSMwrich2e_7Nyms,2336
|
|
19
19
|
ratio1/bc/ec.py,sha256=FwlkWmJvQ9aHuf_BZX1CWSUAxw6OZ9jBparLIWcs_e4,18933
|
|
20
20
|
ratio1/bc/evm.py,sha256=SP8g16i8U1xsAaagBRTuDG4CLPIcUvTM_Mu957HNg6c,40677
|
|
21
|
-
ratio1/certs/51.15.142.167.
|
|
21
|
+
ratio1/certs/51.15.142.167.crt,sha256=rLxkwDIQm-u6Kw570NmdSFgjSChcdSJvXPxr4Mj-EU8,1167
|
|
22
22
|
ratio1/certs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
23
23
|
ratio1/certs/a0d9818f.ala.eu-central-1.emqxsl.com.crt,sha256=y-6io0tseyx9-a4Pmde1z1gPULtJNSYUpG_YFkYaMKU,1337
|
|
24
24
|
ratio1/certs/r9092118.ala.eu-central-1.emqxsl.com.crt,sha256=y-6io0tseyx9-a4Pmde1z1gPULtJNSYUpG_YFkYaMKU,1337
|
|
25
25
|
ratio1/certs/s624dbd4.ala.us-east-1.emqxsl.com.crt,sha256=y-6io0tseyx9-a4Pmde1z1gPULtJNSYUpG_YFkYaMKU,1337
|
|
26
26
|
ratio1/cli/README.md,sha256=YsT23YcZBRyTKReNZPxD762YqstSWKWz4iZe_UJELPc,73
|
|
27
27
|
ratio1/cli/cli.py,sha256=D8UCtdTQKi1IqB_PAi3k2FfaM-rnfxmlrOzM4OJBOsA,4352
|
|
28
|
-
ratio1/cli/cli_commands.py,sha256=
|
|
29
|
-
ratio1/cli/nodes.py,sha256=
|
|
28
|
+
ratio1/cli/cli_commands.py,sha256=Ktg8qis7ErrTq0wXxcyJ2NjuwobPEJUw5pwqseQy0bA,5840
|
|
29
|
+
ratio1/cli/nodes.py,sha256=RwOaza7442JO5n-B0bGC0xVpJoNcj0oYh-Mj5yivW1w,8971
|
|
30
30
|
ratio1/cli/oracles.py,sha256=3jtWHy7EgPYJ2_bPYq-2dARHJjSDGqUsMLrM_xePjZE,9998
|
|
31
31
|
ratio1/cli/package_update.py,sha256=uRMPW5XV3fBdB_eZfoQDA1SKnJzTJvyfpRJA6T3ZZlQ,4000
|
|
32
32
|
ratio1/code_cheker/__init__.py,sha256=pwkdeZGVL16ZA4Qf2mRahEhoOvKhL7FyuQbMFLr1E5M,33
|
|
@@ -103,8 +103,8 @@ ratio1/utils/comm_utils.py,sha256=4cS9llRr_pK_3rNgDcRMCQwYPO0kcNU7AdWy_LtMyCY,10
|
|
|
103
103
|
ratio1/utils/config.py,sha256=IMXAN9bpHePKEuTFGRRqFJXz_vBa-wi7s9gLhFEheRY,9953
|
|
104
104
|
ratio1/utils/dotenv.py,sha256=_AgSo35n7EnQv5yDyu7C7i0kHragLJoCGydHjvOkrYY,2008
|
|
105
105
|
ratio1/utils/oracle_sync/oracle_tester.py,sha256=aJOPcZhtbw1XPqsFG4qYpfv2Taj5-qRXbwJzrPyeXDE,27465
|
|
106
|
-
ratio1-3.4.
|
|
107
|
-
ratio1-3.4.
|
|
108
|
-
ratio1-3.4.
|
|
109
|
-
ratio1-3.4.
|
|
110
|
-
ratio1-3.4.
|
|
106
|
+
ratio1-3.4.36.dist-info/METADATA,sha256=Hyx-Q1VaDAS-fcaHy0cBsoTyMV3aVEd8zTBjmBbTTbw,12248
|
|
107
|
+
ratio1-3.4.36.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
108
|
+
ratio1-3.4.36.dist-info/entry_points.txt,sha256=DR_olREzU1egwmgek3s4GfQslBi-KR7lXsd4ap0TFxE,46
|
|
109
|
+
ratio1-3.4.36.dist-info/licenses/LICENSE,sha256=cvOsJVslde4oIaTCadabXnPqZmzcBO2f2zwXZRmJEbE,11311
|
|
110
|
+
ratio1-3.4.36.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|