neuronum 1.2.4__py3-none-any.whl → 1.3.0__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.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: neuronum
3
- Version: 1.2.4
3
+ Version: 1.3.0
4
4
  Summary: Interact with the Neuronum Network to build, connect & automate economic data streams
5
5
  Home-page: https://neuronum.net
6
6
  Author: Neuronum Cybernetics
@@ -29,8 +29,8 @@ Interact with the `Neuronum Network` to build, connect & automate economic data
29
29
  - **Streams (STX)**: Stream economic data to synchronize devices and databases in real time
30
30
 
31
31
  ## Community Cell Features
32
- - **Circuits (CTX)**: A simple Key-Value-Label database (perfect for testing and side projects)
33
- - **Streams (STX)**: Stream economic data to synchronize devices and databases in real time
32
+ - **Circuits (CTX)**: A simple Key-Value-Label database (testing / side projects)
33
+ - **Streams (STX)**: Stream data to synchronize devices and databases in real time
34
34
 
35
35
  ## Getting Started
36
36
  Create your Neuronum Business/Community Cell: [Create Cell](https://neuronum.net/createcell)
@@ -121,6 +121,17 @@ label = "your_label"
121
121
  data = cell.delete(label, CTX)
122
122
  ```
123
123
 
124
+ Empty your private Circuit (CTX):
125
+ ```bash
126
+ cell.clear()
127
+ ```
128
+
129
+ Empty a public Circuit (CTX):
130
+ ```bash
131
+ CTX = "id::ctx"
132
+ cell.clear(CTX)
133
+ ```
134
+
124
135
  ### Streams (STX)
125
136
  Stream data:
126
137
  ```bash
@@ -138,10 +149,9 @@ Sync stream:
138
149
  stream = cell.sync()
139
150
  for operation in stream:
140
151
  label = operation.get("label")
141
- data = operation.get("data")
142
- key = operation.get("data").get("key1")
143
- time = operation.get("time")
152
+ value = operation.get("data").get("key1")
153
+ ts = operation.get("time")
144
154
  stxID = operation.get("stxID")
145
- operator = operation.get("cellHost")
155
+ operator = operation.get("operator")
146
156
  ```
147
157
 
@@ -0,0 +1,7 @@
1
+ neuronum/__init__.py,sha256=Drsm263_w3_VWgl1YsKLUr8WwVodqV3TSjqpxLjyq_M,46
2
+ neuronum/neuronum.py,sha256=UZw5oocfxTJslee0YB74_cWEre3JsyKLoCkh0Lpk3rs,7531
3
+ neuronum-1.3.0.dist-info/LICENSE,sha256=UiZjNHiCyRP6WoZfbYQh9cv4JW96wIofKXmzBJrYSUk,1125
4
+ neuronum-1.3.0.dist-info/METADATA,sha256=uYFEcqrxGmLUrjYelQeosqDso1sn7fP0zba6VXiFu84,3765
5
+ neuronum-1.3.0.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
6
+ neuronum-1.3.0.dist-info/top_level.txt,sha256=73zXVVO9UTTiwEcSaXytsJ8n0q47OCwAqPlIh-hzWJU,9
7
+ neuronum-1.3.0.dist-info/RECORD,,
@@ -1,7 +0,0 @@
1
- neuronum/__init__.py,sha256=Drsm263_w3_VWgl1YsKLUr8WwVodqV3TSjqpxLjyq_M,46
2
- neuronum/neuronum.py,sha256=UZw5oocfxTJslee0YB74_cWEre3JsyKLoCkh0Lpk3rs,7531
3
- neuronum-1.2.4.dist-info/LICENSE,sha256=UiZjNHiCyRP6WoZfbYQh9cv4JW96wIofKXmzBJrYSUk,1125
4
- neuronum-1.2.4.dist-info/METADATA,sha256=8If9GyeJyNYN7YCoFcunfazpFauyjxwfqqd08mKO1Pg,3676
5
- neuronum-1.2.4.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
6
- neuronum-1.2.4.dist-info/top_level.txt,sha256=73zXVVO9UTTiwEcSaXytsJ8n0q47OCwAqPlIh-hzWJU,9
7
- neuronum-1.2.4.dist-info/RECORD,,