ratio1 3.4.77__py3-none-any.whl → 3.4.79__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.77"
1
+ __VER__ = "3.4.79"
2
2
 
3
3
  if __name__ == "__main__":
4
4
  with open("pyproject.toml", "rt") as fd:
@@ -75,6 +75,7 @@ CLI_COMMANDS = {
75
75
  "--owner" : "Get the apps for a particular owner/initiator",
76
76
  "--full": "Include admin apps (flag)",
77
77
  "--json": "Output the entire JSON config of applications (flag)",
78
+ "--wide": "Display all available information (flag)",
78
79
  }
79
80
  },
80
81
  "networks": {
ratio1/cli/nodes.py CHANGED
@@ -151,6 +151,7 @@ def get_apps(args):
151
151
  show_full = args.full
152
152
  as_json = args.json
153
153
  owner = args.owner
154
+ wide = args.wide
154
155
 
155
156
  # 1. Init session
156
157
  from ratio1 import Session
@@ -203,6 +204,9 @@ def get_apps(args):
203
204
  ),
204
205
  color='b'
205
206
  )
207
+
208
+ if not wide:
209
+ df_apps = df_apps[['Node Alias', 'Owner Alias', 'App', 'Plugin', 'Id', 'Probe', 'LastError']]
206
210
  log_with_color(f"{df_apps}\n")
207
211
  #end if as_json
208
212
  #end if res is not None
ratio1/const/evm_net.py CHANGED
@@ -24,8 +24,6 @@ class EvmNetData:
24
24
  EE_DEEPLOY_API_URL_KEY = 'EE_DEEPLOY_API_URL'
25
25
  EE_DAPP_API_URL_KEY = 'EE_DAPP_API_URL_KEY'
26
26
 
27
- # Node tags constants.
28
- EE_NODETAG_KYB='EE_NODETAG_KYB'
29
27
  # endclass EvmNetData
30
28
 
31
29
 
ratio1/const/heartbeat.py CHANGED
@@ -75,7 +75,13 @@ R1FS_ONLINE = 'R1FS_ONLINE'
75
75
  R1FS_RELAY = 'R1FS_RELAY'
76
76
 
77
77
  # Node tags.
78
- EE_NODETAG_KYB = 'EE_NODETAG_KYB'
78
+ PREFIX_EE_NODETAG = 'EE_NT_' # Prefix for all node tag variables.
79
+
80
+ EE_NT_IS_KYB = 'EE_NT_IS_KYB' # boolean True if is KYB
81
+ EE_NT_DC = 'EE_NT_DC' # string with dc name if is datacenter | none if it's not
82
+ EE_NT_CT = 'EE_NT_CT' # string with country code if known | none if not known
83
+ EE_NT_REG = 'EE_NT_REG' # string continetn if known | none if not known
84
+
79
85
  # End node tags.
80
86
 
81
87
  class COMM_INFO:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ratio1
3
- Version: 3.4.77
3
+ Version: 3.4.79
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=Oz1qHqCv1BRoAQlmp3qWIBG1vX7vJre20uBMtd9aPI8,331
2
+ ratio1/_ver.py,sha256=Uuj0EJN7x4bpn0mFx7DYjdLsBa0Sj-cq4gHjyvUl6BY,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=oRt9o1hKIbWDnM4TdR4j4FkygnehbW_CiiygXbfiKd0,6544
29
- ratio1/cli/nodes.py,sha256=EZxjw8G8Kj0PPMHtUJoefm4QootrU50GHlpaJOiHxJo,13787
28
+ ratio1/cli/cli_commands.py,sha256=6_iNKsyui7rtjBNaIFkb-BjlQ-VwbtXyLPxoTtEcgs0,6614
29
+ ratio1/cli/nodes.py,sha256=VkqjKef8ByWNyO7zr3nBEWUZrAlaDQ_9yMgChQPschE,13942
30
30
  ratio1/cli/oracles.py,sha256=b6ziUerZl0hZIk6-0SKaqCu6xxB6L9Z6n4_0bpo8Nk0,12269
31
31
  ratio1/cli/package_update.py,sha256=uRMPW5XV3fBdB_eZfoQDA1SKnJzTJvyfpRJA6T3ZZlQ,4000
32
32
  ratio1/code_cheker/__init__.py,sha256=pwkdeZGVL16ZA4Qf2mRahEhoOvKhL7FyuQbMFLr1E5M,33
@@ -42,9 +42,9 @@ ratio1/const/apps.py,sha256=0NiuoAPak0HjEULF3fs3xaUH8IRSZ0i4fZw7T2fEd_g,785
42
42
  ratio1/const/base.py,sha256=QIeRH6X-u8DbezQCGipI3isL1LGComBQC5hLedO1jrQ,6042
43
43
  ratio1/const/comms.py,sha256=qEYX4ciYg8SYWSDZZTUYxzpR1--2a7UusrWzAq0hxo8,2259
44
44
  ratio1/const/environment.py,sha256=632L5GrcNqF3-JhvrC6kXzXwLMcihRgMlOkLurnOwGY,1031
45
- ratio1/const/evm_net.py,sha256=pnEEz9roA-03mL4K-rHyW-36-Lmd8y2tgY3Sa7K9z7g,16192
45
+ ratio1/const/evm_net.py,sha256=ygQ_LbFxhSB6Uw7zp3Vt4jKhLjTtME6qDbpxR1co0Pg,16133
46
46
  ratio1/const/formatter.py,sha256=AW3bWlqf39uaqV4BBUuW95qKYfF2OkkU4f9hy3kSVhM,200
47
- ratio1/const/heartbeat.py,sha256=-O5TeVPEhJ5BnJubqu0QgiTWQLmYZWG64b9GZ8zgIOw,2731
47
+ ratio1/const/heartbeat.py,sha256=1tLHeaIyIMTlYmQAUujL9re38V-MTIh2KrX_aZ1QVFc,3050
48
48
  ratio1/const/misc.py,sha256=VDCwwpf5bl9ltx9rzT2WPVP8B3mZFRufU1tSS5MO240,413
49
49
  ratio1/const/payload.py,sha256=0rzfC__amwAIeTA8WIVteohMDN5zbBg4txis57Qh0PM,6844
50
50
  ratio1/const/plugins/deeploy_const.py,sha256=8QcIf7zo_gSC6SdHqQVecn4yOUKCPMXzHC9zgGW5-3E,13314
@@ -103,8 +103,8 @@ ratio1/utils/comm_utils.py,sha256=4cS9llRr_pK_3rNgDcRMCQwYPO0kcNU7AdWy_LtMyCY,10
103
103
  ratio1/utils/config.py,sha256=Elfkl7W4aDMvB5WZLiYlPXrecBncgTxb4hcKhQedMzI,10111
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.77.dist-info/METADATA,sha256=qDz_5HeWqQ7wAslWwTDHyaD-L7wM3ykgAP6hxb97jN8,12255
107
- ratio1-3.4.77.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
108
- ratio1-3.4.77.dist-info/entry_points.txt,sha256=DR_olREzU1egwmgek3s4GfQslBi-KR7lXsd4ap0TFxE,46
109
- ratio1-3.4.77.dist-info/licenses/LICENSE,sha256=cvOsJVslde4oIaTCadabXnPqZmzcBO2f2zwXZRmJEbE,11311
110
- ratio1-3.4.77.dist-info/RECORD,,
106
+ ratio1-3.4.79.dist-info/METADATA,sha256=4Mv0LTSqbAsKiudTr6PQqOxbgoGzZqed4TrwcwwplQM,12255
107
+ ratio1-3.4.79.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
108
+ ratio1-3.4.79.dist-info/entry_points.txt,sha256=DR_olREzU1egwmgek3s4GfQslBi-KR7lXsd4ap0TFxE,46
109
+ ratio1-3.4.79.dist-info/licenses/LICENSE,sha256=cvOsJVslde4oIaTCadabXnPqZmzcBO2f2zwXZRmJEbE,11311
110
+ ratio1-3.4.79.dist-info/RECORD,,