neuronum 2.0.6__tar.gz → 2.0.7__tar.gz
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.
Potentially problematic release.
This version of neuronum might be problematic. Click here for more details.
- {neuronum-2.0.6 → neuronum-2.0.7}/PKG-INFO +4 -4
- {neuronum-2.0.6 → neuronum-2.0.7}/README.md +3 -3
- {neuronum-2.0.6 → neuronum-2.0.7}/cli/main.py +11 -10
- {neuronum-2.0.6 → neuronum-2.0.7}/neuronum.egg-info/PKG-INFO +4 -4
- {neuronum-2.0.6 → neuronum-2.0.7}/setup.py +1 -1
- {neuronum-2.0.6 → neuronum-2.0.7}/LICENSE +0 -0
- {neuronum-2.0.6 → neuronum-2.0.7}/cellai/__init__.py +0 -0
- {neuronum-2.0.6 → neuronum-2.0.7}/cellai/cellai.py +0 -0
- {neuronum-2.0.6 → neuronum-2.0.7}/cli/__init__.py +0 -0
- {neuronum-2.0.6 → neuronum-2.0.7}/neuronum/__init__.py +0 -0
- {neuronum-2.0.6 → neuronum-2.0.7}/neuronum/neuronum.py +0 -0
- {neuronum-2.0.6 → neuronum-2.0.7}/neuronum.egg-info/SOURCES.txt +0 -0
- {neuronum-2.0.6 → neuronum-2.0.7}/neuronum.egg-info/dependency_links.txt +0 -0
- {neuronum-2.0.6 → neuronum-2.0.7}/neuronum.egg-info/entry_points.txt +0 -0
- {neuronum-2.0.6 → neuronum-2.0.7}/neuronum.egg-info/requires.txt +0 -0
- {neuronum-2.0.6 → neuronum-2.0.7}/neuronum.egg-info/top_level.txt +0 -0
- {neuronum-2.0.6 → neuronum-2.0.7}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: neuronum
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.7
|
|
4
4
|
Summary: Official client library to interact with the Neuronum Network
|
|
5
5
|
Home-page: https://neuronum.net
|
|
6
6
|
Author: Neuronum Cybernetics
|
|
@@ -35,8 +35,8 @@ Dynamic: summary
|
|
|
35
35
|
|
|
36
36
|
Build, deploy and automate serverless data infrastructures for an interconnected world with `Neuronum`
|
|
37
37
|
|
|
38
|
-
### **What's New in neuronum==2.0.
|
|
39
|
-
- **Nodes/Node-CLI**:
|
|
38
|
+
### **What's New in neuronum==2.0.7?**
|
|
39
|
+
- **Nodes/Node-CLI**: Updated logic: Node Type and Description are now declared during `neuronum register-node` instead of `neuronum init-node`
|
|
40
40
|
|
|
41
41
|
### New Feature Set
|
|
42
42
|
- **Cells/Cell-CLI**: Create and manage Neuronum Cells from the command line
|
|
@@ -44,7 +44,7 @@ Build, deploy and automate serverless data infrastructures for an interconnected
|
|
|
44
44
|
- **Transmitters (TX)**: Automate economic data transfer
|
|
45
45
|
- **Circuits (CTX)**: Store data in Key-Value-Label databases
|
|
46
46
|
- **Streams (STX)**: Stream, synchronize and control data in real time
|
|
47
|
-
- **Contracts/Tokens**: Automate
|
|
47
|
+
- **Contracts/Tokens**: Automate service exchange and authorization between Cells and Nodes
|
|
48
48
|
- **Cellai**: A local running task assistant in development (version 0.0.1)
|
|
49
49
|
|
|
50
50
|
### Installation
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
Build, deploy and automate serverless data infrastructures for an interconnected world with `Neuronum`
|
|
6
6
|
|
|
7
|
-
### **What's New in neuronum==2.0.
|
|
8
|
-
- **Nodes/Node-CLI**:
|
|
7
|
+
### **What's New in neuronum==2.0.7?**
|
|
8
|
+
- **Nodes/Node-CLI**: Updated logic: Node Type and Description are now declared during `neuronum register-node` instead of `neuronum init-node`
|
|
9
9
|
|
|
10
10
|
### New Feature Set
|
|
11
11
|
- **Cells/Cell-CLI**: Create and manage Neuronum Cells from the command line
|
|
@@ -13,7 +13,7 @@ Build, deploy and automate serverless data infrastructures for an interconnected
|
|
|
13
13
|
- **Transmitters (TX)**: Automate economic data transfer
|
|
14
14
|
- **Circuits (CTX)**: Store data in Key-Value-Label databases
|
|
15
15
|
- **Streams (STX)**: Stream, synchronize and control data in real time
|
|
16
|
-
- **Contracts/Tokens**: Automate
|
|
16
|
+
- **Contracts/Tokens**: Automate service exchange and authorization between Cells and Nodes
|
|
17
17
|
- **Cellai**: A local running task assistant in development (version 0.0.1)
|
|
18
18
|
|
|
19
19
|
### Installation
|
|
@@ -249,13 +249,6 @@ def delete_cell():
|
|
|
249
249
|
@click.option('--stream', multiple=True, default=None, help="Optional stream ID for stream.")
|
|
250
250
|
def init_node(sync, stream):
|
|
251
251
|
|
|
252
|
-
node_type = questionary.select(
|
|
253
|
-
"Choose Node type:",
|
|
254
|
-
choices=["public", "private"]
|
|
255
|
-
).ask()
|
|
256
|
-
|
|
257
|
-
descr = click.prompt("Node description (max. 25 characters)")
|
|
258
|
-
|
|
259
252
|
credentials_folder_path = Path.home() / ".neuronum"
|
|
260
253
|
env_path = credentials_folder_path / ".env"
|
|
261
254
|
|
|
@@ -279,8 +272,8 @@ def init_node(sync, stream):
|
|
|
279
272
|
click.echo(f"Error reading .env file: {e}")
|
|
280
273
|
return
|
|
281
274
|
|
|
282
|
-
url = f"https://{network}/api/init_node
|
|
283
|
-
node = {"
|
|
275
|
+
url = f"https://{network}/api/init_node"
|
|
276
|
+
node = {"host": host, "password": password, "synapse": synapse}
|
|
284
277
|
|
|
285
278
|
try:
|
|
286
279
|
response = requests.post(url, json=node)
|
|
@@ -513,6 +506,13 @@ def register_node():
|
|
|
513
506
|
except Exception as e:
|
|
514
507
|
print(f"Error reading .env file: {e}")
|
|
515
508
|
return
|
|
509
|
+
|
|
510
|
+
node_type = questionary.select(
|
|
511
|
+
"Choose Node type:",
|
|
512
|
+
choices=["public", "private"]
|
|
513
|
+
).ask()
|
|
514
|
+
|
|
515
|
+
descr = click.prompt("Node description (max. 25 characters)")
|
|
516
516
|
|
|
517
517
|
try:
|
|
518
518
|
with open("NODE.md", "r") as f:
|
|
@@ -525,10 +525,11 @@ def register_node():
|
|
|
525
525
|
print(f"Error reading NODE.md file: {e}")
|
|
526
526
|
return
|
|
527
527
|
|
|
528
|
-
url = f"https://{network}/api/register_node"
|
|
528
|
+
url = f"https://{network}/api/register_node/{node_type}"
|
|
529
529
|
|
|
530
530
|
node = {
|
|
531
531
|
"nodeID": nodeID,
|
|
532
|
+
"descr": descr,
|
|
532
533
|
"host": host,
|
|
533
534
|
"password": password,
|
|
534
535
|
"synapse": synapse,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: neuronum
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.7
|
|
4
4
|
Summary: Official client library to interact with the Neuronum Network
|
|
5
5
|
Home-page: https://neuronum.net
|
|
6
6
|
Author: Neuronum Cybernetics
|
|
@@ -35,8 +35,8 @@ Dynamic: summary
|
|
|
35
35
|
|
|
36
36
|
Build, deploy and automate serverless data infrastructures for an interconnected world with `Neuronum`
|
|
37
37
|
|
|
38
|
-
### **What's New in neuronum==2.0.
|
|
39
|
-
- **Nodes/Node-CLI**:
|
|
38
|
+
### **What's New in neuronum==2.0.7?**
|
|
39
|
+
- **Nodes/Node-CLI**: Updated logic: Node Type and Description are now declared during `neuronum register-node` instead of `neuronum init-node`
|
|
40
40
|
|
|
41
41
|
### New Feature Set
|
|
42
42
|
- **Cells/Cell-CLI**: Create and manage Neuronum Cells from the command line
|
|
@@ -44,7 +44,7 @@ Build, deploy and automate serverless data infrastructures for an interconnected
|
|
|
44
44
|
- **Transmitters (TX)**: Automate economic data transfer
|
|
45
45
|
- **Circuits (CTX)**: Store data in Key-Value-Label databases
|
|
46
46
|
- **Streams (STX)**: Stream, synchronize and control data in real time
|
|
47
|
-
- **Contracts/Tokens**: Automate
|
|
47
|
+
- **Contracts/Tokens**: Automate service exchange and authorization between Cells and Nodes
|
|
48
48
|
- **Cellai**: A local running task assistant in development (version 0.0.1)
|
|
49
49
|
|
|
50
50
|
### Installation
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|