neuronum 5.4.2__tar.gz → 5.4.3__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,29 @@
1
+ <h1 align="center">
2
+ <img src="https://neuronum.net/static/neuronum.svg" alt="Neuronum" width="80">
3
+ </h1>
4
+ <h4 align="center">LICENSE of the Neuronum library</h4>
5
+
6
+ <p align="center">
7
+ <a href="https://neuronum.net">
8
+ <img src="https://img.shields.io/badge/Website-Neuronum-blue" alt="Website">
9
+ </a>
10
+ <a href="https://github.com/neuronumcybernetics/neuronum">
11
+ <img src="https://img.shields.io/badge/Docs-Read%20now-green" alt="Documentation">
12
+ </a>
13
+ <a href="https://pypi.org/project/neuronum/">
14
+ <img src="https://img.shields.io/pypi/v/neuronum.svg" alt="PyPI Version">
15
+ </a>
16
+ <img src="https://img.shields.io/badge/Python-3.8%2B-yellow" alt="Python Version">
17
+ <a href="https://github.com/neuronumcybernetics/neuronum/blob/main/LICENSE.md">
18
+ <img src="https://img.shields.io/badge/License-MIT-blue.svg" alt="License">
19
+ </a>
20
+ </p>
21
+
22
+ ---
23
+
1
24
  MIT License
2
25
 
3
- Copyright (c) [2025] [Neuronum Cybernetics UG (limited liability)]
26
+ Copyright (c) 2025 Neuronum Cybernetics UG (limited liability)
4
27
 
5
28
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
29
  of this software and associated documentation files (the "Software"), to deal
@@ -19,3 +42,6 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
42
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
43
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
44
  SOFTWARE.
45
+
46
+
47
+
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: neuronum
3
- Version: 5.4.2
3
+ Version: 5.4.3
4
4
  Summary: Official client library to interact with the Neuronum Network
5
5
  Home-page: https://neuronum.net
6
6
  Author: Neuronum Cybernetics
@@ -11,7 +11,7 @@ Classifier: License :: OSI Approved :: MIT License
11
11
  Classifier: Operating System :: OS Independent
12
12
  Requires-Python: >=3.8
13
13
  Description-Content-Type: text/markdown
14
- License-File: LICENSE
14
+ License-File: LICENSE.md
15
15
  Requires-Dist: aiohttp
16
16
  Requires-Dist: websockets
17
17
  Requires-Dist: click
@@ -31,7 +31,7 @@ Dynamic: requires-python
31
31
  Dynamic: summary
32
32
 
33
33
  <h1 align="center">
34
- <img src="https://neuronum.net/static/neuronum.svg" alt="Neuronum" width="100">
34
+ <img src="https://neuronum.net/static/neuronum.svg" alt="Neuronum" width="80">
35
35
  </h1>
36
36
  <h4 align="center">Build, connect, and automate serverless data infrastructures with Neuronum</h4>
37
37
 
@@ -42,55 +42,51 @@ Dynamic: summary
42
42
  <a href="https://github.com/neuronumcybernetics/neuronum">
43
43
  <img src="https://img.shields.io/badge/Docs-Read%20now-green" alt="Documentation">
44
44
  </a>
45
- <img src="https://img.shields.io/badge/Version-5.4.0-blueviolet" alt="Lib Version">
46
- <img src="https://img.shields.io/badge/Python-3.9%2B-yellow" alt="Python Version">
45
+ <a href="https://pypi.org/project/neuronum/">
46
+ <img src="https://img.shields.io/pypi/v/neuronum.svg" alt="PyPI Version">
47
+ </a>
48
+ <img src="https://img.shields.io/badge/Python-3.8%2B-yellow" alt="Python Version">
49
+ <a href="https://github.com/neuronumcybernetics/neuronum/blob/main/LICENSE.md">
50
+ <img src="https://img.shields.io/badge/License-MIT-blue.svg" alt="License">
51
+ </a>
47
52
  </p>
48
53
 
49
54
  ---
50
55
 
51
- ## **Getting Started Goals**
52
- - Learn about Neuronum
53
- - Connect to Neuronum
54
- - Build on Neuronum
55
- - Interact with Neuronum
56
-
57
-
58
56
  ### **About Neuronum**
59
- Neuronum is a framework to build serverless connected app & data gateways automating the processing and distribution of data transmission, storage, and streaming.
57
+ Neuronum is a python framework to build serverless connected app & data gateways automating the processing and distribution of real-time data transmission, storage, and streaming.
60
58
 
61
59
 
62
60
  ### **Features**
63
61
  **Cell & Nodes**
64
- - Cell: Account to connect and interact with Neuronum
65
- - Nodes: Soft- and Hardware components hosting gateways
62
+ - Cell: Account to connect and interact with Neuronum. [Learn More](https://github.com/neuronumcybernetics/neuronum/tree/main/features/cell)
63
+ - Nodes: Soft- and Hardware components hosting gateways. [Learn More](https://github.com/neuronumcybernetics/neuronum/tree/main/features/nodes)
66
64
 
67
65
  **Gateways**
68
- - Transmitters (TX): Securely transmit and receive data packages
69
- - Circuits (CTX): Store data in cloud-based key-value-label databases
70
- - Streams (STX): Stream, synchronize, and control data in real time
71
-
72
- #### Requirements
73
- - Python >= 3.8 -> https://www.python.org/downloads/
74
- - neuronum >= 5.4.0 -> https://pypi.org/project/neuronum/
66
+ - Transmitters (TX): Securely transmit and receive data packages. [Learn More](https://github.com/neuronumcybernetics/neuronum/tree/main/features/transmitters)
67
+ - Circuits (CTX): Store data in cloud-based key-value-label databases. [Learn More](https://github.com/neuronumcybernetics/neuronum/tree/main/features/circuits)
68
+ - Streams (STX): Stream, synchronize, and control data in real time. [Learn More](https://github.com/neuronumcybernetics/neuronum/tree/main/features/streams)
75
69
 
70
+ ### Requirements
71
+ - Python >= 3.8
72
+ - neuronum >= 5.4.0
76
73
 
77
74
  ------------------
78
75
 
79
-
80
- ### **Connect to Neuronum**
81
- Installation
76
+ ### **Connect To Neuronum**
77
+ Installation (optional but recommended: create a virtual environment)
82
78
  ```sh
83
- pip install neuronum # install neuronum dependencies
79
+ pip install neuronum # install Neuronum dependencies
84
80
  ```
85
81
 
86
- Create Cell:
82
+ Create your Cell:
87
83
  ```sh
88
84
  neuronum create-cell # create Cell / Cell type / Cell network
89
85
  ```
90
86
 
91
87
  or
92
88
 
93
- Connect Cell:
89
+ Connect your Cell:
94
90
  ```sh
95
91
  neuronum connect-cell # connect Cell
96
92
  ```
@@ -98,8 +94,8 @@ neuronum connect-cell # connect Cell
98
94
  ------------------
99
95
 
100
96
 
101
- ### **Build on Neuronum**
102
- Initialize Node (app template):
97
+ ### **Build On Neuronum** **[(Build with Node Examples)](https://github.com/neuronumcybernetics/neuronum/tree/main/features/nodes)**
98
+ Initialize a Node (app template):
103
99
  ```sh
104
100
  neuronum init-node --app # initialize a Node with app template
105
101
  ```
@@ -109,26 +105,22 @@ Change into Node folder
109
105
  cd node_node_id # change directory
110
106
  ```
111
107
 
112
- Start Node:
108
+ Start your Node:
113
109
  ```sh
114
110
  neuronum start-node # start Node
115
111
  ```
116
112
 
117
- **Node Examples**
118
- Visit: https://github.com/neuronumcybernetics/neuronum/tree/main/how_tos/nodes
119
-
120
-
121
113
  ------------------
122
114
 
123
-
124
115
  ### **Interact with Neuronum**
125
- **Web-based**
126
- 1. Visit: https://neuronum.net
127
- 2. Connect your Cell
128
- 3. Explore Transmitters
116
+ #### **Web-based**
117
+ 1. [Visit Neuronum](https://neuronum.net)
118
+ 2. [Connect your Cell](https://neuronum.net/connect)
119
+ 3. [Explore Transmitters](https://neuronum.net/explore)
129
120
  4. Activate Transmitters
130
121
 
131
- **Code-based**
122
+ #### **Code-based**
123
+ Activate Transmitters (TX) to send requests and receive responses
132
124
  ```python
133
125
  import asyncio
134
126
  import neuronum
@@ -1,5 +1,5 @@
1
1
  <h1 align="center">
2
- <img src="https://neuronum.net/static/neuronum.svg" alt="Neuronum" width="100">
2
+ <img src="https://neuronum.net/static/neuronum.svg" alt="Neuronum" width="80">
3
3
  </h1>
4
4
  <h4 align="center">Build, connect, and automate serverless data infrastructures with Neuronum</h4>
5
5
 
@@ -10,55 +10,51 @@
10
10
  <a href="https://github.com/neuronumcybernetics/neuronum">
11
11
  <img src="https://img.shields.io/badge/Docs-Read%20now-green" alt="Documentation">
12
12
  </a>
13
- <img src="https://img.shields.io/badge/Version-5.4.0-blueviolet" alt="Lib Version">
14
- <img src="https://img.shields.io/badge/Python-3.9%2B-yellow" alt="Python Version">
13
+ <a href="https://pypi.org/project/neuronum/">
14
+ <img src="https://img.shields.io/pypi/v/neuronum.svg" alt="PyPI Version">
15
+ </a>
16
+ <img src="https://img.shields.io/badge/Python-3.8%2B-yellow" alt="Python Version">
17
+ <a href="https://github.com/neuronumcybernetics/neuronum/blob/main/LICENSE.md">
18
+ <img src="https://img.shields.io/badge/License-MIT-blue.svg" alt="License">
19
+ </a>
15
20
  </p>
16
21
 
17
22
  ---
18
23
 
19
- ## **Getting Started Goals**
20
- - Learn about Neuronum
21
- - Connect to Neuronum
22
- - Build on Neuronum
23
- - Interact with Neuronum
24
-
25
-
26
24
  ### **About Neuronum**
27
- Neuronum is a framework to build serverless connected app & data gateways automating the processing and distribution of data transmission, storage, and streaming.
25
+ Neuronum is a python framework to build serverless connected app & data gateways automating the processing and distribution of real-time data transmission, storage, and streaming.
28
26
 
29
27
 
30
28
  ### **Features**
31
29
  **Cell & Nodes**
32
- - Cell: Account to connect and interact with Neuronum
33
- - Nodes: Soft- and Hardware components hosting gateways
30
+ - Cell: Account to connect and interact with Neuronum. [Learn More](https://github.com/neuronumcybernetics/neuronum/tree/main/features/cell)
31
+ - Nodes: Soft- and Hardware components hosting gateways. [Learn More](https://github.com/neuronumcybernetics/neuronum/tree/main/features/nodes)
34
32
 
35
33
  **Gateways**
36
- - Transmitters (TX): Securely transmit and receive data packages
37
- - Circuits (CTX): Store data in cloud-based key-value-label databases
38
- - Streams (STX): Stream, synchronize, and control data in real time
39
-
40
- #### Requirements
41
- - Python >= 3.8 -> https://www.python.org/downloads/
42
- - neuronum >= 5.4.0 -> https://pypi.org/project/neuronum/
34
+ - Transmitters (TX): Securely transmit and receive data packages. [Learn More](https://github.com/neuronumcybernetics/neuronum/tree/main/features/transmitters)
35
+ - Circuits (CTX): Store data in cloud-based key-value-label databases. [Learn More](https://github.com/neuronumcybernetics/neuronum/tree/main/features/circuits)
36
+ - Streams (STX): Stream, synchronize, and control data in real time. [Learn More](https://github.com/neuronumcybernetics/neuronum/tree/main/features/streams)
43
37
 
38
+ ### Requirements
39
+ - Python >= 3.8
40
+ - neuronum >= 5.4.0
44
41
 
45
42
  ------------------
46
43
 
47
-
48
- ### **Connect to Neuronum**
49
- Installation
44
+ ### **Connect To Neuronum**
45
+ Installation (optional but recommended: create a virtual environment)
50
46
  ```sh
51
- pip install neuronum # install neuronum dependencies
47
+ pip install neuronum # install Neuronum dependencies
52
48
  ```
53
49
 
54
- Create Cell:
50
+ Create your Cell:
55
51
  ```sh
56
52
  neuronum create-cell # create Cell / Cell type / Cell network
57
53
  ```
58
54
 
59
55
  or
60
56
 
61
- Connect Cell:
57
+ Connect your Cell:
62
58
  ```sh
63
59
  neuronum connect-cell # connect Cell
64
60
  ```
@@ -66,8 +62,8 @@ neuronum connect-cell # connect Cell
66
62
  ------------------
67
63
 
68
64
 
69
- ### **Build on Neuronum**
70
- Initialize Node (app template):
65
+ ### **Build On Neuronum** **[(Build with Node Examples)](https://github.com/neuronumcybernetics/neuronum/tree/main/features/nodes)**
66
+ Initialize a Node (app template):
71
67
  ```sh
72
68
  neuronum init-node --app # initialize a Node with app template
73
69
  ```
@@ -77,26 +73,22 @@ Change into Node folder
77
73
  cd node_node_id # change directory
78
74
  ```
79
75
 
80
- Start Node:
76
+ Start your Node:
81
77
  ```sh
82
78
  neuronum start-node # start Node
83
79
  ```
84
80
 
85
- **Node Examples**
86
- Visit: https://github.com/neuronumcybernetics/neuronum/tree/main/how_tos/nodes
87
-
88
-
89
81
  ------------------
90
82
 
91
-
92
83
  ### **Interact with Neuronum**
93
- **Web-based**
94
- 1. Visit: https://neuronum.net
95
- 2. Connect your Cell
96
- 3. Explore Transmitters
84
+ #### **Web-based**
85
+ 1. [Visit Neuronum](https://neuronum.net)
86
+ 2. [Connect your Cell](https://neuronum.net/connect)
87
+ 3. [Explore Transmitters](https://neuronum.net/explore)
97
88
  4. Activate Transmitters
98
89
 
99
- **Code-based**
90
+ #### **Code-based**
91
+ Activate Transmitters (TX) to send requests and receive responses
100
92
  ```python
101
93
  import asyncio
102
94
  import neuronum
@@ -172,13 +172,10 @@ class Cell:
172
172
  async with session.post(url, json=TX) as response:
173
173
  response.raise_for_status()
174
174
  data = await response.json()
175
- if data.get("success") == "activated":
176
- async for operation in self.sync():
177
- if operation.get("label") == "tx_response" and operation.get("txID") == txID:
178
- data = operation.get("data", {})
179
- if "json" in data:
180
- return data
181
- elif "html" in data:
175
+ if data.get("success") == True:
176
+ if "json" in data.get("response"):
177
+ return data.get("response").get("json")
178
+ elif "html" in data.get("response"):
182
179
  return "Info: HTML response available. Please activate TX in browser."
183
180
  else:
184
181
  return "Info: Response received but contains no usable content."
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: neuronum
3
- Version: 5.4.2
3
+ Version: 5.4.3
4
4
  Summary: Official client library to interact with the Neuronum Network
5
5
  Home-page: https://neuronum.net
6
6
  Author: Neuronum Cybernetics
@@ -11,7 +11,7 @@ Classifier: License :: OSI Approved :: MIT License
11
11
  Classifier: Operating System :: OS Independent
12
12
  Requires-Python: >=3.8
13
13
  Description-Content-Type: text/markdown
14
- License-File: LICENSE
14
+ License-File: LICENSE.md
15
15
  Requires-Dist: aiohttp
16
16
  Requires-Dist: websockets
17
17
  Requires-Dist: click
@@ -31,7 +31,7 @@ Dynamic: requires-python
31
31
  Dynamic: summary
32
32
 
33
33
  <h1 align="center">
34
- <img src="https://neuronum.net/static/neuronum.svg" alt="Neuronum" width="100">
34
+ <img src="https://neuronum.net/static/neuronum.svg" alt="Neuronum" width="80">
35
35
  </h1>
36
36
  <h4 align="center">Build, connect, and automate serverless data infrastructures with Neuronum</h4>
37
37
 
@@ -42,55 +42,51 @@ Dynamic: summary
42
42
  <a href="https://github.com/neuronumcybernetics/neuronum">
43
43
  <img src="https://img.shields.io/badge/Docs-Read%20now-green" alt="Documentation">
44
44
  </a>
45
- <img src="https://img.shields.io/badge/Version-5.4.0-blueviolet" alt="Lib Version">
46
- <img src="https://img.shields.io/badge/Python-3.9%2B-yellow" alt="Python Version">
45
+ <a href="https://pypi.org/project/neuronum/">
46
+ <img src="https://img.shields.io/pypi/v/neuronum.svg" alt="PyPI Version">
47
+ </a>
48
+ <img src="https://img.shields.io/badge/Python-3.8%2B-yellow" alt="Python Version">
49
+ <a href="https://github.com/neuronumcybernetics/neuronum/blob/main/LICENSE.md">
50
+ <img src="https://img.shields.io/badge/License-MIT-blue.svg" alt="License">
51
+ </a>
47
52
  </p>
48
53
 
49
54
  ---
50
55
 
51
- ## **Getting Started Goals**
52
- - Learn about Neuronum
53
- - Connect to Neuronum
54
- - Build on Neuronum
55
- - Interact with Neuronum
56
-
57
-
58
56
  ### **About Neuronum**
59
- Neuronum is a framework to build serverless connected app & data gateways automating the processing and distribution of data transmission, storage, and streaming.
57
+ Neuronum is a python framework to build serverless connected app & data gateways automating the processing and distribution of real-time data transmission, storage, and streaming.
60
58
 
61
59
 
62
60
  ### **Features**
63
61
  **Cell & Nodes**
64
- - Cell: Account to connect and interact with Neuronum
65
- - Nodes: Soft- and Hardware components hosting gateways
62
+ - Cell: Account to connect and interact with Neuronum. [Learn More](https://github.com/neuronumcybernetics/neuronum/tree/main/features/cell)
63
+ - Nodes: Soft- and Hardware components hosting gateways. [Learn More](https://github.com/neuronumcybernetics/neuronum/tree/main/features/nodes)
66
64
 
67
65
  **Gateways**
68
- - Transmitters (TX): Securely transmit and receive data packages
69
- - Circuits (CTX): Store data in cloud-based key-value-label databases
70
- - Streams (STX): Stream, synchronize, and control data in real time
71
-
72
- #### Requirements
73
- - Python >= 3.8 -> https://www.python.org/downloads/
74
- - neuronum >= 5.4.0 -> https://pypi.org/project/neuronum/
66
+ - Transmitters (TX): Securely transmit and receive data packages. [Learn More](https://github.com/neuronumcybernetics/neuronum/tree/main/features/transmitters)
67
+ - Circuits (CTX): Store data in cloud-based key-value-label databases. [Learn More](https://github.com/neuronumcybernetics/neuronum/tree/main/features/circuits)
68
+ - Streams (STX): Stream, synchronize, and control data in real time. [Learn More](https://github.com/neuronumcybernetics/neuronum/tree/main/features/streams)
75
69
 
70
+ ### Requirements
71
+ - Python >= 3.8
72
+ - neuronum >= 5.4.0
76
73
 
77
74
  ------------------
78
75
 
79
-
80
- ### **Connect to Neuronum**
81
- Installation
76
+ ### **Connect To Neuronum**
77
+ Installation (optional but recommended: create a virtual environment)
82
78
  ```sh
83
- pip install neuronum # install neuronum dependencies
79
+ pip install neuronum # install Neuronum dependencies
84
80
  ```
85
81
 
86
- Create Cell:
82
+ Create your Cell:
87
83
  ```sh
88
84
  neuronum create-cell # create Cell / Cell type / Cell network
89
85
  ```
90
86
 
91
87
  or
92
88
 
93
- Connect Cell:
89
+ Connect your Cell:
94
90
  ```sh
95
91
  neuronum connect-cell # connect Cell
96
92
  ```
@@ -98,8 +94,8 @@ neuronum connect-cell # connect Cell
98
94
  ------------------
99
95
 
100
96
 
101
- ### **Build on Neuronum**
102
- Initialize Node (app template):
97
+ ### **Build On Neuronum** **[(Build with Node Examples)](https://github.com/neuronumcybernetics/neuronum/tree/main/features/nodes)**
98
+ Initialize a Node (app template):
103
99
  ```sh
104
100
  neuronum init-node --app # initialize a Node with app template
105
101
  ```
@@ -109,26 +105,22 @@ Change into Node folder
109
105
  cd node_node_id # change directory
110
106
  ```
111
107
 
112
- Start Node:
108
+ Start your Node:
113
109
  ```sh
114
110
  neuronum start-node # start Node
115
111
  ```
116
112
 
117
- **Node Examples**
118
- Visit: https://github.com/neuronumcybernetics/neuronum/tree/main/how_tos/nodes
119
-
120
-
121
113
  ------------------
122
114
 
123
-
124
115
  ### **Interact with Neuronum**
125
- **Web-based**
126
- 1. Visit: https://neuronum.net
127
- 2. Connect your Cell
128
- 3. Explore Transmitters
116
+ #### **Web-based**
117
+ 1. [Visit Neuronum](https://neuronum.net)
118
+ 2. [Connect your Cell](https://neuronum.net/connect)
119
+ 3. [Explore Transmitters](https://neuronum.net/explore)
129
120
  4. Activate Transmitters
130
121
 
131
- **Code-based**
122
+ #### **Code-based**
123
+ Activate Transmitters (TX) to send requests and receive responses
132
124
  ```python
133
125
  import asyncio
134
126
  import neuronum
@@ -1,4 +1,4 @@
1
- LICENSE
1
+ LICENSE.md
2
2
  README.md
3
3
  setup.py
4
4
  cli/__init__.py
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
2
2
 
3
3
  setup(
4
4
  name='neuronum',
5
- version='5.4.2',
5
+ version='5.4.3',
6
6
  author='Neuronum Cybernetics',
7
7
  author_email='welcome@neuronum.net',
8
8
  description='Official client library to interact with the Neuronum Network',
File without changes
File without changes
File without changes
File without changes