neuronum 1.1.1__py3-none-any.whl → 1.1.2__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.
- {neuronum-1.1.1.dist-info → neuronum-1.1.2.dist-info}/METADATA +49 -13
- neuronum-1.1.2.dist-info/RECORD +7 -0
- neuronum-1.1.1.dist-info/RECORD +0 -7
- {neuronum-1.1.1.dist-info → neuronum-1.1.2.dist-info}/LICENSE +0 -0
- {neuronum-1.1.1.dist-info → neuronum-1.1.2.dist-info}/WHEEL +0 -0
- {neuronum-1.1.1.dist-info → neuronum-1.1.2.dist-info}/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: neuronum
|
|
3
|
-
Version: 1.1.
|
|
3
|
+
Version: 1.1.2
|
|
4
4
|
Summary: Interact with the Neuronum Network to build, connect & automate economic data streams
|
|
5
5
|
Author: Neuronum Cybernetics
|
|
6
6
|
Author-email: welcome@neuronum.net
|
|
@@ -13,16 +13,24 @@ License-File: LICENSE
|
|
|
13
13
|
Requires-Dist: requests
|
|
14
14
|
|
|
15
15
|

|
|
16
|
-
Interact with the `Neuronum Network` to build, connect & automate economic data streams.
|
|
17
16
|
[](https://neuronum.net)
|
|
18
17
|
[](https://neuronum.net/docs)
|
|
19
18
|
[](https://www.youtube.com/@neuronumnet)
|
|
20
19
|
|
|
21
|
-
|
|
20
|
+
Interact with the `Neuronum Network` to build, connect & automate economic data streams.
|
|
21
|
+
|
|
22
|
+
## Business Cell Features
|
|
22
23
|
- **Transmitters (TX)**: Automate economic data transfer + Circuits Integration
|
|
23
24
|
- **Circuits (CTX)**: A simple Key-Value-Label database to store economic data
|
|
24
25
|
- **Streams (STX)**: Stream economic data to synchronize devices & databases in real time (beta)
|
|
25
26
|
|
|
27
|
+
## Community Cell Features
|
|
28
|
+
- **Circuits (CTX)**: A simple Key-Value-Label database (perfect for testing and side projects)
|
|
29
|
+
|
|
30
|
+
## Getting Started
|
|
31
|
+
Create your Neuronum Business/Community Cell: [Create Cell](https://neuronum.net/createcell)
|
|
32
|
+
|
|
33
|
+
|
|
26
34
|
Install the Neuronum library using pip:
|
|
27
35
|
```bash
|
|
28
36
|
pip install neuronum
|
|
@@ -33,10 +41,10 @@ Set & test Cell connection:
|
|
|
33
41
|
import neuronum
|
|
34
42
|
|
|
35
43
|
cell = neuronum.Cell(
|
|
36
|
-
host="
|
|
37
|
-
password="
|
|
44
|
+
host="host::cell",
|
|
45
|
+
password="your_password",
|
|
38
46
|
network="neuronum.net",
|
|
39
|
-
synapse="
|
|
47
|
+
synapse="your_synapse"
|
|
40
48
|
)
|
|
41
49
|
|
|
42
50
|
cell.test_connection()
|
|
@@ -44,7 +52,7 @@ cell.test_connection()
|
|
|
44
52
|
|
|
45
53
|
Activate Transmitter (TX):
|
|
46
54
|
```bash
|
|
47
|
-
TX = "
|
|
55
|
+
TX = "id::tx"
|
|
48
56
|
|
|
49
57
|
data = {
|
|
50
58
|
"key1": "value1",
|
|
@@ -56,9 +64,20 @@ data = {
|
|
|
56
64
|
cell.activate(TX, data)
|
|
57
65
|
```
|
|
58
66
|
|
|
59
|
-
Store data on Circuit (CTX):
|
|
67
|
+
Store data on your private Circuit (CTX):
|
|
68
|
+
```bash
|
|
69
|
+
label = "your_label"
|
|
70
|
+
data = {
|
|
71
|
+
"key1": "value1",
|
|
72
|
+
"key2": "value2",
|
|
73
|
+
"key3": "value3",
|
|
74
|
+
}
|
|
75
|
+
cell.store(label, data)
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
Store data on a public Circuit (CTX):
|
|
60
79
|
```bash
|
|
61
|
-
CTX = "
|
|
80
|
+
CTX = "id::ctx"
|
|
62
81
|
|
|
63
82
|
label = "your_label"
|
|
64
83
|
data = {
|
|
@@ -69,9 +88,20 @@ data = {
|
|
|
69
88
|
cell.store(label, data, CTX)
|
|
70
89
|
```
|
|
71
90
|
|
|
72
|
-
Load data from Circuit (CTX):
|
|
91
|
+
Load data from your private Circuit (CTX):
|
|
92
|
+
```bash
|
|
93
|
+
label = "your_label"
|
|
94
|
+
|
|
95
|
+
data = cell.load(label)
|
|
96
|
+
key1 = data["key1"]
|
|
97
|
+
key2 = data["key2"]
|
|
98
|
+
key3 = data["key3"]
|
|
99
|
+
print(key1, key2, key3)
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
Load data from a public Circuit (CTX):
|
|
73
103
|
```bash
|
|
74
|
-
CTX = "
|
|
104
|
+
CTX = "id::ctx"
|
|
75
105
|
|
|
76
106
|
label = "your_label"
|
|
77
107
|
|
|
@@ -82,9 +112,15 @@ key3 = data["key3"]
|
|
|
82
112
|
print(key1, key2, key3)
|
|
83
113
|
```
|
|
84
114
|
|
|
85
|
-
Delete data from Circuit (CTX):
|
|
115
|
+
Delete data from your private Circuit (CTX):
|
|
116
|
+
```bash
|
|
117
|
+
label = "your_label"
|
|
118
|
+
data = cell.delete(label)
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
Delete data from a public Circuit (CTX):
|
|
86
122
|
```bash
|
|
87
|
-
CTX = "
|
|
123
|
+
CTX = "id::ctx"
|
|
88
124
|
|
|
89
125
|
label = "your_label"
|
|
90
126
|
data = cell.delete(label, CTX)
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
neuronum/__init__.py,sha256=P0KTJMGY_eT3l5YzR4LHfl64KH5Qt_qhcrqf9Ld2G00,74
|
|
2
|
+
neuronum/neuronum.py,sha256=gDzg9aN4jjaBnKLLD9YRSvmV1uffKZOBJb8Fv-WDtfM,6186
|
|
3
|
+
neuronum-1.1.2.dist-info/LICENSE,sha256=UiZjNHiCyRP6WoZfbYQh9cv4JW96wIofKXmzBJrYSUk,1125
|
|
4
|
+
neuronum-1.1.2.dist-info/METADATA,sha256=2deXbg_Q7YsY0apxQhWeNnaX1WKSHWDdy2YJlGHr9-A,3086
|
|
5
|
+
neuronum-1.1.2.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
|
|
6
|
+
neuronum-1.1.2.dist-info/top_level.txt,sha256=73zXVVO9UTTiwEcSaXytsJ8n0q47OCwAqPlIh-hzWJU,9
|
|
7
|
+
neuronum-1.1.2.dist-info/RECORD,,
|
neuronum-1.1.1.dist-info/RECORD
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
neuronum/__init__.py,sha256=P0KTJMGY_eT3l5YzR4LHfl64KH5Qt_qhcrqf9Ld2G00,74
|
|
2
|
-
neuronum/neuronum.py,sha256=gDzg9aN4jjaBnKLLD9YRSvmV1uffKZOBJb8Fv-WDtfM,6186
|
|
3
|
-
neuronum-1.1.1.dist-info/LICENSE,sha256=UiZjNHiCyRP6WoZfbYQh9cv4JW96wIofKXmzBJrYSUk,1125
|
|
4
|
-
neuronum-1.1.1.dist-info/METADATA,sha256=OCz3NpHCxRGCGaFV6zU6bm5bONeWVva8cEQvQ1Qcs2o,2321
|
|
5
|
-
neuronum-1.1.1.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
|
|
6
|
-
neuronum-1.1.1.dist-info/top_level.txt,sha256=73zXVVO9UTTiwEcSaXytsJ8n0q47OCwAqPlIh-hzWJU,9
|
|
7
|
-
neuronum-1.1.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|