neuronum 2.0.3__py3-none-any.whl → 2.0.4__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.
Potentially problematic release.
This version of neuronum might be problematic. Click here for more details.
- cli/main.py +5 -5
- {neuronum-2.0.3.dist-info → neuronum-2.0.4.dist-info}/METADATA +4 -4
- {neuronum-2.0.3.dist-info → neuronum-2.0.4.dist-info}/RECORD +7 -7
- {neuronum-2.0.3.dist-info → neuronum-2.0.4.dist-info}/WHEEL +0 -0
- {neuronum-2.0.3.dist-info → neuronum-2.0.4.dist-info}/entry_points.txt +0 -0
- {neuronum-2.0.3.dist-info → neuronum-2.0.4.dist-info}/licenses/LICENSE +0 -0
- {neuronum-2.0.3.dist-info → neuronum-2.0.4.dist-info}/top_level.txt +0 -0
cli/main.py
CHANGED
|
@@ -330,7 +330,7 @@ def init_node(sync, stream):
|
|
|
330
330
|
nodemd_path = project_path / "NODE.md"
|
|
331
331
|
nodemd_path.write_text("## Use this NODE.md file to add instructions on how to interact with your node\n")
|
|
332
332
|
|
|
333
|
-
stx = sync or stream or
|
|
333
|
+
stx = sync or stream or "n9gW3LxQcecI::stx"
|
|
334
334
|
|
|
335
335
|
if sync:
|
|
336
336
|
sync_path = project_path / "sync.py"
|
|
@@ -356,11 +356,11 @@ STX = "{stx}"
|
|
|
356
356
|
stream = cell.sync(STX)
|
|
357
357
|
for operation in stream:
|
|
358
358
|
label = operation.get("label")
|
|
359
|
-
|
|
359
|
+
data = operation.get("data")
|
|
360
360
|
ts = operation.get("time")
|
|
361
361
|
stxID = operation.get("stxID")
|
|
362
362
|
operator = operation.get("operator")
|
|
363
|
-
print(label,
|
|
363
|
+
print(label, data, ts, stxID, operator)
|
|
364
364
|
""")
|
|
365
365
|
|
|
366
366
|
|
|
@@ -419,11 +419,11 @@ STX = "{stx}"
|
|
|
419
419
|
stream = cell.sync(STX)
|
|
420
420
|
for operation in stream:
|
|
421
421
|
label = operation.get("label")
|
|
422
|
-
|
|
422
|
+
message = operation.get("data").get("message")
|
|
423
423
|
ts = operation.get("time")
|
|
424
424
|
stxID = operation.get("stxID")
|
|
425
425
|
operator = operation.get("operator")
|
|
426
|
-
print(label,
|
|
426
|
+
print(label, message, ts, stxID, operator)
|
|
427
427
|
""")
|
|
428
428
|
|
|
429
429
|
click.echo(f"Neuronum Node '{nodeID}' initialized!")
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: neuronum
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.4
|
|
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.4?**
|
|
39
|
+
- **Nodes/Node-CLI**: Logic update: `neuronum init-node` now defaults to the Hello, Neuronum! Stream
|
|
40
40
|
|
|
41
41
|
### New Feature Set
|
|
42
42
|
- **Cells/Cell-CLI**: Create and manage Neuronum Cells from the command line
|
|
@@ -83,7 +83,7 @@ $ neuronum delete-cell
|
|
|
83
83
|
|
|
84
84
|
List Cells:
|
|
85
85
|
```python
|
|
86
|
-
cellsList = cell.list_cells() # list
|
|
86
|
+
cellsList = cell.list_cells() # list Cells
|
|
87
87
|
```
|
|
88
88
|
|
|
89
89
|
### Nodes/Node-CLI
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
cellai/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
2
|
cellai/cellai.py,sha256=g5oBz-Xx6T4-JWzUs-TJ4y9nHtDmA_IpXh_188OqAZA,281
|
|
3
3
|
cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
-
cli/main.py,sha256=
|
|
4
|
+
cli/main.py,sha256=cyRz-MAUAZMh-3aeYN0Mw1W1todYXBy7hR941332Gu0,20532
|
|
5
5
|
neuronum/__init__.py,sha256=Drsm263_w3_VWgl1YsKLUr8WwVodqV3TSjqpxLjyq_M,46
|
|
6
6
|
neuronum/neuronum.py,sha256=rkc16omTxjWBEgBXP0rCeab1S3lYDKz1zx_i-tdFjlY,17544
|
|
7
|
-
neuronum-2.0.
|
|
8
|
-
neuronum-2.0.
|
|
9
|
-
neuronum-2.0.
|
|
10
|
-
neuronum-2.0.
|
|
11
|
-
neuronum-2.0.
|
|
12
|
-
neuronum-2.0.
|
|
7
|
+
neuronum-2.0.4.dist-info/licenses/LICENSE,sha256=UiZjNHiCyRP6WoZfbYQh9cv4JW96wIofKXmzBJrYSUk,1125
|
|
8
|
+
neuronum-2.0.4.dist-info/METADATA,sha256=dQtPEM3wpMOFnCeaiyjEp-WoOtukKzB2voabWzABqgU,13959
|
|
9
|
+
neuronum-2.0.4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
10
|
+
neuronum-2.0.4.dist-info/entry_points.txt,sha256=XKYBcRNxGeJpZZkDPsa8HA_RaJ7Km_R_JaUq5T9Nk2U,42
|
|
11
|
+
neuronum-2.0.4.dist-info/top_level.txt,sha256=gqN5tyGnBKMPSzvWQONO4rpTf4gQPMi77O3KAKx88LQ,20
|
|
12
|
+
neuronum-2.0.4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|