neuronum 1.2.4__tar.gz → 1.3.0__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.

@@ -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
 
@@ -12,8 +12,8 @@ Interact with the `Neuronum Network` to build, connect & automate economic data
12
12
  - **Streams (STX)**: Stream economic data to synchronize devices and databases in real time
13
13
 
14
14
  ## Community Cell Features
15
- - **Circuits (CTX)**: A simple Key-Value-Label database (perfect for testing and side projects)
16
- - **Streams (STX)**: Stream economic data to synchronize devices and databases in real time
15
+ - **Circuits (CTX)**: A simple Key-Value-Label database (testing / side projects)
16
+ - **Streams (STX)**: Stream data to synchronize devices and databases in real time
17
17
 
18
18
  ## Getting Started
19
19
  Create your Neuronum Business/Community Cell: [Create Cell](https://neuronum.net/createcell)
@@ -104,6 +104,17 @@ label = "your_label"
104
104
  data = cell.delete(label, CTX)
105
105
  ```
106
106
 
107
+ Empty your private Circuit (CTX):
108
+ ```bash
109
+ cell.clear()
110
+ ```
111
+
112
+ Empty a public Circuit (CTX):
113
+ ```bash
114
+ CTX = "id::ctx"
115
+ cell.clear(CTX)
116
+ ```
117
+
107
118
  ### Streams (STX)
108
119
  Stream data:
109
120
  ```bash
@@ -121,10 +132,9 @@ Sync stream:
121
132
  stream = cell.sync()
122
133
  for operation in stream:
123
134
  label = operation.get("label")
124
- data = operation.get("data")
125
- key = operation.get("data").get("key1")
126
- time = operation.get("time")
135
+ value = operation.get("data").get("key1")
136
+ ts = operation.get("time")
127
137
  stxID = operation.get("stxID")
128
- operator = operation.get("cellHost")
138
+ operator = operation.get("operator")
129
139
  ```
130
140
 
@@ -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
 
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
2
2
 
3
3
  setup(
4
4
  name='neuronum',
5
- version='1.2.4',
5
+ version='1.3.0',
6
6
  author='Neuronum Cybernetics',
7
7
  author_email='welcome@neuronum.net',
8
8
  description='Interact with the Neuronum Network to build, connect & automate economic data streams',
File without changes
File without changes
File without changes
File without changes