neuronum 1.1.0__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.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: neuronum
3
- Version: 1.1.0
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,17 +13,23 @@ License-File: LICENSE
13
13
  Requires-Dist: requests
14
14
 
15
15
  ![Neuronum Logo](https://neuronum.net/static/logo_pip.png "Neuronum")
16
- Interact with the `Neuronum Network` to build, connect & automate economic data streams.
17
16
  [![Website](https://img.shields.io/badge/Website-Neuronum-blue)](https://neuronum.net)
18
17
  [![Documentation](https://img.shields.io/badge/Docs-Read%20now-green)](https://neuronum.net/docs)
19
18
  [![Tutorials](https://img.shields.io/badge/Tutorials-Watch%20now-red)](https://www.youtube.com/@neuronumnet)
20
19
 
21
- Interact with the Neuronum Network to build, connect & automate economic data streams
20
+ Interact with the `Neuronum Network` to build, connect & automate economic data streams.
21
+
22
+ ## Business Cell Features
23
+ - **Transmitters (TX)**: Automate economic data transfer + Circuits Integration
24
+ - **Circuits (CTX)**: A simple Key-Value-Label database to store economic data
25
+ - **Streams (STX)**: Stream economic data to synchronize devices & databases in real time (beta)
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)
22
32
 
23
- ## Features
24
- `Transmitters (TX)`: Automate economic data transfer + Circuits Integration
25
- `Circuits (CTX)`: A simple Key-Value-Label database to store economic data
26
- `Streams (STX)`: Stream economic data to synchronize devices & databases in real time (beta)
27
33
 
28
34
  Install the Neuronum library using pip:
29
35
  ```bash
@@ -35,10 +41,10 @@ Set & test Cell connection:
35
41
  import neuronum
36
42
 
37
43
  cell = neuronum.Cell(
38
- host="test::cell",
39
- password="test1234",
44
+ host="host::cell",
45
+ password="your_password",
40
46
  network="neuronum.net",
41
- synapse="testtesttesttesttesttesttesttest"
47
+ synapse="your_synapse"
42
48
  )
43
49
 
44
50
  cell.test_connection()
@@ -46,7 +52,7 @@ cell.test_connection()
46
52
 
47
53
  Activate Transmitter (TX):
48
54
  ```bash
49
- TX = "test_transmitter"
55
+ TX = "id::tx"
50
56
 
51
57
  data = {
52
58
  "key1": "value1",
@@ -58,9 +64,20 @@ data = {
58
64
  cell.activate(TX, data)
59
65
  ```
60
66
 
61
- 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):
62
79
  ```bash
63
- CTX = "test::ctx"
80
+ CTX = "id::ctx"
64
81
 
65
82
  label = "your_label"
66
83
  data = {
@@ -71,9 +88,20 @@ data = {
71
88
  cell.store(label, data, CTX)
72
89
  ```
73
90
 
74
- Load data from Circuit (CTX):
91
+ Load data from your private Circuit (CTX):
75
92
  ```bash
76
- CTX = "test::ctx"
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):
103
+ ```bash
104
+ CTX = "id::ctx"
77
105
 
78
106
  label = "your_label"
79
107
 
@@ -84,9 +112,15 @@ key3 = data["key3"]
84
112
  print(key1, key2, key3)
85
113
  ```
86
114
 
87
- 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):
88
122
  ```bash
89
- CTX = "test::ctx"
123
+ CTX = "id::ctx"
90
124
 
91
125
  label = "your_label"
92
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,,
@@ -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.0.dist-info/LICENSE,sha256=UiZjNHiCyRP6WoZfbYQh9cv4JW96wIofKXmzBJrYSUk,1125
4
- neuronum-1.1.0.dist-info/METADATA,sha256=ANT3QFYz3GHkz_lLS75O8CEVrc8bDOM2i8tjfgtnAio,2398
5
- neuronum-1.1.0.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
6
- neuronum-1.1.0.dist-info/top_level.txt,sha256=73zXVVO9UTTiwEcSaXytsJ8n0q47OCwAqPlIh-hzWJU,9
7
- neuronum-1.1.0.dist-info/RECORD,,