ratio1 3.4.35__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 CHANGED
@@ -1,4 +1,4 @@
1
- __VER__ = "3.4.35"
1
+ __VER__ = "3.4.36"
2
2
 
3
3
  if __name__ == "__main__":
4
4
  with open("pyproject.toml", "rt") as fd:
@@ -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.35
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=pHqZXtYJ5e4ilTh4g-9Si4AesocEZe-Fbs_lL0nGnY8,331
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
@@ -25,8 +25,8 @@ ratio1/certs/r9092118.ala.eu-central-1.emqxsl.com.crt,sha256=y-6io0tseyx9-a4Pmde
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=OjfAHNCytNd0gD7ZqUttWjTpWKu65cvMDRMrag5YxoI,5675
29
- ratio1/cli/nodes.py,sha256=sxiI81Lf6v5ff2Tv9aRbcm2gYIVk4F4-oe6Gl3c2h5E,8845
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.35.dist-info/METADATA,sha256=arH4DtBvwCO6pj66DbN7mKfsUzwN06VmawDYIPDMntU,12248
107
- ratio1-3.4.35.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
108
- ratio1-3.4.35.dist-info/entry_points.txt,sha256=DR_olREzU1egwmgek3s4GfQslBi-KR7lXsd4ap0TFxE,46
109
- ratio1-3.4.35.dist-info/licenses/LICENSE,sha256=cvOsJVslde4oIaTCadabXnPqZmzcBO2f2zwXZRmJEbE,11311
110
- ratio1-3.4.35.dist-info/RECORD,,
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,,