naeural-client 2.5.12__py3-none-any.whl → 2.5.13__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.
- naeural_client/_ver.py +1 -1
- naeural_client/cli/cli.py +1 -1
- naeural_client/cli/cli_commands.py +5 -5
- {naeural_client-2.5.12.dist-info → naeural_client-2.5.13.dist-info}/METADATA +1 -1
- {naeural_client-2.5.12.dist-info → naeural_client-2.5.13.dist-info}/RECORD +8 -8
- {naeural_client-2.5.12.dist-info → naeural_client-2.5.13.dist-info}/WHEEL +0 -0
- {naeural_client-2.5.12.dist-info → naeural_client-2.5.13.dist-info}/entry_points.txt +0 -0
- {naeural_client-2.5.12.dist-info → naeural_client-2.5.13.dist-info}/licenses/LICENSE +0 -0
naeural_client/_ver.py
CHANGED
naeural_client/cli/cli.py
CHANGED
@@ -52,7 +52,7 @@ def build_parser():
|
|
52
52
|
if isinstance(subcmd_info, dict) and "params" in subcmd_info:
|
53
53
|
for param, description in subcmd_info["params"].items():
|
54
54
|
if param.startswith("--"):
|
55
|
-
if description.
|
55
|
+
if description.lower().endswith("(flag)"):
|
56
56
|
subcommand_parser.add_argument(
|
57
57
|
param, action="store_true", help=description
|
58
58
|
)
|
@@ -11,11 +11,11 @@ CLI_COMMANDS = {
|
|
11
11
|
"nodes": {
|
12
12
|
"func": get_nodes,
|
13
13
|
"params": {
|
14
|
-
### use "flag" to indicate a boolean flag
|
15
|
-
### treated as a str parameter
|
16
|
-
"--all": "Get all known nodes flag", # DONE
|
17
|
-
"--online" : "Get only online nodes flag", # DONE
|
18
|
-
"--peered": "Get only peered nodes flag", # DONE
|
14
|
+
### use "(flag)" at the end of the description to indicate a boolean flag
|
15
|
+
### otherwise it will be treated as a str parameter
|
16
|
+
"--all": "Get all known nodes including those that have been gone missing (flag)", # DONE
|
17
|
+
"--online" : "Get only online nodes as seen by a active supervisor (flag)", # DONE
|
18
|
+
"--peered": "Get only peered nodes - ie nodes that can be used by current client address (flag)", # DONE
|
19
19
|
"--supervisor" : "Use a specific supervisor node"
|
20
20
|
}
|
21
21
|
},
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: naeural_client
|
3
|
-
Version: 2.5.
|
3
|
+
Version: 2.5.13
|
4
4
|
Summary: `naeural_client` is the Python SDK required for client app development for the Naeural Edge Protocol Edge Protocol framework
|
5
5
|
Project-URL: Homepage, https://github.com/NaeuralEdgeProtocol/naeural_client
|
6
6
|
Project-URL: Bug Tracker, https://github.com/NaeuralEdgeProtocol/naeural_client/issues
|
@@ -1,5 +1,5 @@
|
|
1
1
|
naeural_client/__init__.py,sha256=GP8WSrn87sjTPO-QRNL2PG8JK5Mixbiea_HrtbG8RAQ,592
|
2
|
-
naeural_client/_ver.py,sha256=
|
2
|
+
naeural_client/_ver.py,sha256=X8jG_pnMmkhenukxV6xSzGjehYk7LMlNwojkR7RFc5E,331
|
3
3
|
naeural_client/base_decentra_object.py,sha256=C4iwZTkhKNBS4VHlJs5DfElRYLo4Q9l1V1DNVSk1fyQ,4412
|
4
4
|
naeural_client/plugins_manager_mixin.py,sha256=X1JdGLDz0gN1rPnTN_5mJXR8JmqoBFQISJXmPR9yvCo,11106
|
5
5
|
naeural_client/base/__init__.py,sha256=hACh83_cIv7-PwYMM3bQm2IBmNqiHw-3PAfDfAEKz9A,259
|
@@ -20,8 +20,8 @@ naeural_client/bc/ec.py,sha256=mWjodWCRgC3omVXOA9jtNdtPVNn2kMKV3Dcjt9oFUCQ,22974
|
|
20
20
|
naeural_client/certs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
21
21
|
naeural_client/certs/r9092118.ala.eu-central-1.emqxsl.com.crt,sha256=y-6io0tseyx9-a4Pmde1z1gPULtJNSYUpG_YFkYaMKU,1337
|
22
22
|
naeural_client/cli/README.md,sha256=WPdI_EjzAbUW1aPyj1sSR8rLydcJKZtoiaEtklQrjHo,74
|
23
|
-
naeural_client/cli/cli.py,sha256=
|
24
|
-
naeural_client/cli/cli_commands.py,sha256=
|
23
|
+
naeural_client/cli/cli.py,sha256=Yni8USLNK9g9G-l8_XomppZ5tKhduvA8wS4xOw3KODc,3754
|
24
|
+
naeural_client/cli/cli_commands.py,sha256=Y81oKz5Rx8qxYgzEzCwI9eB8iVL6iET7dETLVygs_VE,1686
|
25
25
|
naeural_client/cli/nodes.py,sha256=aCbSDFhTnub18LdrOPzu3kvx6acaBqHRgmyAdgqblP8,2459
|
26
26
|
naeural_client/code_cheker/__init__.py,sha256=pwkdeZGVL16ZA4Qf2mRahEhoOvKhL7FyuQbMFLr1E5M,33
|
27
27
|
naeural_client/code_cheker/base.py,sha256=lT5DRIFO5rqzsMNCmdMRfkAeevmezozehyfgmhnKpuI,19074
|
@@ -81,8 +81,8 @@ naeural_client/utils/__init__.py,sha256=mAnke3-MeRzz3nhQvhuHqLnpaaCSmDxicd7Ck9uw
|
|
81
81
|
naeural_client/utils/comm_utils.py,sha256=4cS9llRr_pK_3rNgDcRMCQwYPO0kcNU7AdWy_LtMyCY,1072
|
82
82
|
naeural_client/utils/config.py,sha256=aUVyi5rZjvnbUwM5mmj0E2IHvURdrlHSgleqZvJBNuU,5202
|
83
83
|
naeural_client/utils/dotenv.py,sha256=_AgSo35n7EnQv5yDyu7C7i0kHragLJoCGydHjvOkrYY,2008
|
84
|
-
naeural_client-2.5.
|
85
|
-
naeural_client-2.5.
|
86
|
-
naeural_client-2.5.
|
87
|
-
naeural_client-2.5.
|
88
|
-
naeural_client-2.5.
|
84
|
+
naeural_client-2.5.13.dist-info/METADATA,sha256=IrxAiqktgV62i7ztjMjrtXIzugDvd5difPNzdq-YkgI,14494
|
85
|
+
naeural_client-2.5.13.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
86
|
+
naeural_client-2.5.13.dist-info/entry_points.txt,sha256=PNdyotDaQBAslZREx5luVyj0kqpQnwNACwkFNTPIHU4,55
|
87
|
+
naeural_client-2.5.13.dist-info/licenses/LICENSE,sha256=cvOsJVslde4oIaTCadabXnPqZmzcBO2f2zwXZRmJEbE,11311
|
88
|
+
naeural_client-2.5.13.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|