neuronum 7.0.4__py3-none-any.whl → 8.1.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.
- cli/main.py +154 -719
- neuronum/__init__.py +1 -2
- neuronum/neuronum.py +268 -447
- neuronum-8.1.0.dist-info/METADATA +124 -0
- neuronum-8.1.0.dist-info/RECORD +10 -0
- neuronum-7.0.4.dist-info/METADATA +0 -171
- neuronum-7.0.4.dist-info/RECORD +0 -10
- {neuronum-7.0.4.dist-info → neuronum-8.1.0.dist-info}/WHEEL +0 -0
- {neuronum-7.0.4.dist-info → neuronum-8.1.0.dist-info}/entry_points.txt +0 -0
- {neuronum-7.0.4.dist-info → neuronum-8.1.0.dist-info}/licenses/LICENSE.md +0 -0
- {neuronum-7.0.4.dist-info → neuronum-8.1.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: neuronum
|
|
3
|
+
Version: 8.1.0
|
|
4
|
+
Summary: The E2E Web Engine
|
|
5
|
+
Home-page: https://neuronum.net
|
|
6
|
+
Author: Neuronum Cybernetics
|
|
7
|
+
Author-email: welcome@neuronum.net
|
|
8
|
+
Project-URL: GitHub, https://github.com/neuronumcybernetics/neuronum
|
|
9
|
+
Classifier: Programming Language :: Python :: 3
|
|
10
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
11
|
+
Classifier: Operating System :: OS Independent
|
|
12
|
+
Requires-Python: >=3.8
|
|
13
|
+
Description-Content-Type: text/markdown
|
|
14
|
+
License-File: LICENSE.md
|
|
15
|
+
Requires-Dist: aiohttp
|
|
16
|
+
Requires-Dist: websockets
|
|
17
|
+
Requires-Dist: click
|
|
18
|
+
Requires-Dist: questionary
|
|
19
|
+
Requires-Dist: python-dotenv
|
|
20
|
+
Requires-Dist: requests
|
|
21
|
+
Requires-Dist: psutil
|
|
22
|
+
Requires-Dist: jinja2
|
|
23
|
+
Requires-Dist: cryptography
|
|
24
|
+
Dynamic: author
|
|
25
|
+
Dynamic: author-email
|
|
26
|
+
Dynamic: classifier
|
|
27
|
+
Dynamic: description
|
|
28
|
+
Dynamic: description-content-type
|
|
29
|
+
Dynamic: home-page
|
|
30
|
+
Dynamic: license-file
|
|
31
|
+
Dynamic: project-url
|
|
32
|
+
Dynamic: requires-dist
|
|
33
|
+
Dynamic: requires-python
|
|
34
|
+
Dynamic: summary
|
|
35
|
+
|
|
36
|
+
<h1 align="center">
|
|
37
|
+
<img src="https://neuronum.net/static/neuronum.svg" alt="Neuronum" width="80">
|
|
38
|
+
</h1>
|
|
39
|
+
<h4 align="center">Neuronum: The E2E Web Engine</h4>
|
|
40
|
+
|
|
41
|
+
<p align="center">
|
|
42
|
+
<a href="https://neuronum.net">
|
|
43
|
+
<img src="https://img.shields.io/badge/Website-Neuronum-blue" alt="Website">
|
|
44
|
+
</a>
|
|
45
|
+
<a href="https://github.com/neuronumcybernetics/neuronum">
|
|
46
|
+
<img src="https://img.shields.io/badge/Docs-Read%20now-green" alt="Documentation">
|
|
47
|
+
</a>
|
|
48
|
+
<a href="https://pypi.org/project/neuronum/">
|
|
49
|
+
<img src="https://img.shields.io/pypi/v/neuronum.svg" alt="PyPI Version">
|
|
50
|
+
</a><br>
|
|
51
|
+
<img src="https://img.shields.io/badge/Python-3.8%2B-yellow" alt="Python Version">
|
|
52
|
+
<a href="https://github.com/neuronumcybernetics/neuronum/blob/main/LICENSE.md">
|
|
53
|
+
<img src="https://img.shields.io/badge/License-MIT-blue.svg" alt="License">
|
|
54
|
+
</a>
|
|
55
|
+
</p>
|
|
56
|
+
|
|
57
|
+
------------------
|
|
58
|
+
|
|
59
|
+
### **A Getting Started into the Neuronum Network**
|
|
60
|
+
In this brief getting started guide, you will:
|
|
61
|
+
- [Learn about Neuronum](#about-neuronum)
|
|
62
|
+
- [Connect to the Network](#connect-to-neuronum)
|
|
63
|
+
- [Build a Neuronum Node](#build-on-neuronum)
|
|
64
|
+
- [Interact with your Node](#interact-with-your-node)
|
|
65
|
+
|
|
66
|
+
------------------
|
|
67
|
+
|
|
68
|
+
### **About Neuronum**
|
|
69
|
+
Neuronum is a real-time web engine designed for developers to build E2E-native apps and services in minutes using high-level Python
|
|
70
|
+
|
|
71
|
+
### **Tools & Features**
|
|
72
|
+
- Cell: Account to interact with Neuronum
|
|
73
|
+
- Nodes: Apps & Services built on Neuronum
|
|
74
|
+
- Browser: Web Browser built on Neuronum -> [build from source](https://github.com/neuronumcybernetics/neuronum_browser)
|
|
75
|
+
|
|
76
|
+
### Requirements
|
|
77
|
+
- Python >= 3.8
|
|
78
|
+
|
|
79
|
+
------------------
|
|
80
|
+
|
|
81
|
+
### **Connect To Neuronum**
|
|
82
|
+
Installation (optional but recommended: create a virtual environment)
|
|
83
|
+
```sh
|
|
84
|
+
pip install neuronum
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
Create your Cell:
|
|
88
|
+
```sh
|
|
89
|
+
neuronum create-cell
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
or
|
|
93
|
+
|
|
94
|
+
Connect your Cell:
|
|
95
|
+
```sh
|
|
96
|
+
neuronum connect-cell
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
------------------
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
### **Build On Neuronum**
|
|
103
|
+
To get started, initialize a new Node with the command below.
|
|
104
|
+
```sh
|
|
105
|
+
neuronum init-node
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
This command will prompt you for a description (e.g. App) and will create a new directory named "App_<your_node_id>" with the necessary files to run your Node
|
|
109
|
+
|
|
110
|
+
Change into Node folder
|
|
111
|
+
```sh
|
|
112
|
+
cd App_<your_node_id>
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
Start your Node:
|
|
116
|
+
```sh
|
|
117
|
+
neuronum start-node
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
------------------
|
|
121
|
+
|
|
122
|
+
### **Interact with your Node**
|
|
123
|
+
|
|
124
|
+
The **Neuronum Browser** is an open source E2E web browser that allows you to interact with your nodes -> [build from source](https://github.com/neuronumcybernetics/neuronum_browser)
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
+
cli/main.py,sha256=XRRFASq5jdTxmNtK7YOYX4mwjNlbIjlvwJI37vnntLE,33942
|
|
3
|
+
neuronum/__init__.py,sha256=qkAz6fpiS2KKnaKwPbS15y7lRCQV-XaWNTkVUarluPk,26
|
|
4
|
+
neuronum/neuronum.py,sha256=0haV0eFbUcH_za3HQgiysimErnVv_UBre89cP-q-ATk,13387
|
|
5
|
+
neuronum-8.1.0.dist-info/licenses/LICENSE.md,sha256=m7pw_FktMNCs4tcy2UXP3QQP2S_je28P1SepdYoo0Xo,1961
|
|
6
|
+
neuronum-8.1.0.dist-info/METADATA,sha256=BDahigYJAPUUhkg6hkoy2V7iMSqpfFfkOC2yVA1i_Ac,3448
|
|
7
|
+
neuronum-8.1.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
8
|
+
neuronum-8.1.0.dist-info/entry_points.txt,sha256=XKYBcRNxGeJpZZkDPsa8HA_RaJ7Km_R_JaUq5T9Nk2U,42
|
|
9
|
+
neuronum-8.1.0.dist-info/top_level.txt,sha256=ru8Fr84cHm6oHr_DcJ8-uaq3RTiuCRFIr6AC8V0zPu4,13
|
|
10
|
+
neuronum-8.1.0.dist-info/RECORD,,
|
|
@@ -1,171 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: neuronum
|
|
3
|
-
Version: 7.0.4
|
|
4
|
-
Summary: Official client library to interact with the Neuronum Network
|
|
5
|
-
Home-page: https://neuronum.net
|
|
6
|
-
Author: Neuronum Cybernetics
|
|
7
|
-
Author-email: welcome@neuronum.net
|
|
8
|
-
Project-URL: GitHub, https://github.com/neuronumcybernetics/neuronum
|
|
9
|
-
Classifier: Programming Language :: Python :: 3
|
|
10
|
-
Classifier: License :: OSI Approved :: MIT License
|
|
11
|
-
Classifier: Operating System :: OS Independent
|
|
12
|
-
Requires-Python: >=3.8
|
|
13
|
-
Description-Content-Type: text/markdown
|
|
14
|
-
License-File: LICENSE.md
|
|
15
|
-
Requires-Dist: aiohttp
|
|
16
|
-
Requires-Dist: websockets
|
|
17
|
-
Requires-Dist: click
|
|
18
|
-
Requires-Dist: questionary
|
|
19
|
-
Requires-Dist: python-dotenv
|
|
20
|
-
Requires-Dist: requests
|
|
21
|
-
Requires-Dist: psutil
|
|
22
|
-
Requires-Dist: jinja2
|
|
23
|
-
Dynamic: author
|
|
24
|
-
Dynamic: author-email
|
|
25
|
-
Dynamic: classifier
|
|
26
|
-
Dynamic: description
|
|
27
|
-
Dynamic: description-content-type
|
|
28
|
-
Dynamic: home-page
|
|
29
|
-
Dynamic: license-file
|
|
30
|
-
Dynamic: project-url
|
|
31
|
-
Dynamic: requires-dist
|
|
32
|
-
Dynamic: requires-python
|
|
33
|
-
Dynamic: summary
|
|
34
|
-
|
|
35
|
-
<h1 align="center">
|
|
36
|
-
<img src="https://neuronum.net/static/neuronum.svg" alt="Neuronum" width="80">
|
|
37
|
-
</h1>
|
|
38
|
-
<h4 align="center">Neuronum: The Real Time Data Engine</h4>
|
|
39
|
-
|
|
40
|
-
<p align="center">
|
|
41
|
-
<a href="https://neuronum.net">
|
|
42
|
-
<img src="https://img.shields.io/badge/Website-Neuronum-blue" alt="Website">
|
|
43
|
-
</a>
|
|
44
|
-
<a href="https://github.com/neuronumcybernetics/neuronum">
|
|
45
|
-
<img src="https://img.shields.io/badge/Docs-Read%20now-green" alt="Documentation">
|
|
46
|
-
</a>
|
|
47
|
-
<a href="https://pypi.org/project/neuronum/">
|
|
48
|
-
<img src="https://img.shields.io/pypi/v/neuronum.svg" alt="PyPI Version">
|
|
49
|
-
</a><br>
|
|
50
|
-
<img src="https://img.shields.io/badge/Python-3.8%2B-yellow" alt="Python Version">
|
|
51
|
-
<a href="https://github.com/neuronumcybernetics/neuronum/blob/main/LICENSE.md">
|
|
52
|
-
<img src="https://img.shields.io/badge/License-MIT-blue.svg" alt="License">
|
|
53
|
-
</a>
|
|
54
|
-
</p>
|
|
55
|
-
|
|
56
|
-
------------------
|
|
57
|
-
|
|
58
|
-
### **A Getting Started into the Neuronum Network**
|
|
59
|
-
In this brief getting started guide, you will:
|
|
60
|
-
- [Learn about Neuronum](#about-neuronum)
|
|
61
|
-
- [Connect to the Network](#connect-to-neuronum)
|
|
62
|
-
- [Build a Neuronum Node](#build-on-neuronum)
|
|
63
|
-
- [Interact with your Node](#interact-with-neuronum)
|
|
64
|
-
|
|
65
|
-
------------------
|
|
66
|
-
|
|
67
|
-
### **About Neuronum**
|
|
68
|
-
Neuronum is the real-time data engine designed for developers to build event-driven apps and services in minutes using high-level Python
|
|
69
|
-
|
|
70
|
-
### **Features**
|
|
71
|
-
**Cell & Nodes**
|
|
72
|
-
- Cell: Account to connect and interact with Neuronum. [Learn More](https://github.com/neuronumcybernetics/neuronum/tree/main/features/cell)
|
|
73
|
-
- Nodes (Apps): Soft- and Hardware components hosting Neuronum data gateways. [Learn More](https://github.com/neuronumcybernetics/neuronum/tree/main/features/nodes)
|
|
74
|
-
|
|
75
|
-
**Data Gateways**
|
|
76
|
-
- Transmitters (TX): Securely transmit and receive data packages. [Learn More](https://github.com/neuronumcybernetics/neuronum/tree/main/features/transmitters)
|
|
77
|
-
- Circuits (CTX): Store data in cloud-based key-value-label databases. [Learn More](https://github.com/neuronumcybernetics/neuronum/tree/main/features/circuits)
|
|
78
|
-
- Streams (STX): Stream, synchronize, and control data in real time. [Learn More](https://github.com/neuronumcybernetics/neuronum/tree/main/features/streams)
|
|
79
|
-
|
|
80
|
-
### Requirements
|
|
81
|
-
- Python >= 3.8
|
|
82
|
-
|
|
83
|
-
------------------
|
|
84
|
-
|
|
85
|
-
### **Connect To Neuronum**
|
|
86
|
-
Installation (optional but recommended: create a virtual environment)
|
|
87
|
-
```sh
|
|
88
|
-
pip install neuronum # install Neuronum dependencies
|
|
89
|
-
```
|
|
90
|
-
|
|
91
|
-
Create your Cell:
|
|
92
|
-
```sh
|
|
93
|
-
neuronum create-cell # create Cell / Cell type / Cell network
|
|
94
|
-
```
|
|
95
|
-
|
|
96
|
-
or
|
|
97
|
-
|
|
98
|
-
Connect your Cell:
|
|
99
|
-
```sh
|
|
100
|
-
neuronum connect-cell # connect Cell
|
|
101
|
-
```
|
|
102
|
-
|
|
103
|
-
------------------
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
### **Build On Neuronum**
|
|
107
|
-
Visit & build with [Node Examples](https://github.com/neuronumcybernetics/neuronum/tree/main/features/nodes/examples) to gain deeper knowledge on how to build on Neuronum.
|
|
108
|
-
|
|
109
|
-
To get started, initialize a new Node with the command below.
|
|
110
|
-
```sh
|
|
111
|
-
neuronum init-node
|
|
112
|
-
```
|
|
113
|
-
|
|
114
|
-
This command will prompt you for a description (e.g., Test App) and will create
|
|
115
|
-
|
|
116
|
-
1. A Stream (STX) so your App can receive requests, and a Transmitter (TX) to match those requests
|
|
117
|
-
2. A new directory named "Test App_<your_node_id>" with the following files
|
|
118
|
-
|
|
119
|
-
.env: Stores your Node's credentials for connecting to the network.
|
|
120
|
-
|
|
121
|
-
app.py: The main Python script that contains your Node's core logic.
|
|
122
|
-
|
|
123
|
-
NODE.md: Public documentation that provides instructions for interacting with your Node.
|
|
124
|
-
|
|
125
|
-
config.json: A configuration file that stores metadata about your app and enables Cellai to interact with your Node's data gateways.
|
|
126
|
-
|
|
127
|
-
ping.html: A static HTML file used to render web-based responses.
|
|
128
|
-
|
|
129
|
-
Change into Node folder
|
|
130
|
-
```sh
|
|
131
|
-
cd Test App_<your_node_id>
|
|
132
|
-
```
|
|
133
|
-
|
|
134
|
-
Start your Node:
|
|
135
|
-
```sh
|
|
136
|
-
neuronum start-node # start Node
|
|
137
|
-
```
|
|
138
|
-
|
|
139
|
-
------------------
|
|
140
|
-
|
|
141
|
-
### **Interact with Neuronum**
|
|
142
|
-
#### **Code-based**
|
|
143
|
-
```python
|
|
144
|
-
import asyncio
|
|
145
|
-
import neuronum
|
|
146
|
-
|
|
147
|
-
cell = neuronum.Cell( # set Cell connection
|
|
148
|
-
host="host", # Cell host
|
|
149
|
-
password="password", # Cell password
|
|
150
|
-
network="neuronum.net", # Cell network -> neuronum.net
|
|
151
|
-
synapse="synapse" # Cell synapse
|
|
152
|
-
)
|
|
153
|
-
|
|
154
|
-
async def main():
|
|
155
|
-
|
|
156
|
-
TX = "id::tx" # select the Transmitter TX
|
|
157
|
-
data = {"ping": "node"}
|
|
158
|
-
tx_response = await cell.activate_tx(TX, data) # activate TX - > get response back
|
|
159
|
-
print(tx_response) # print tx response
|
|
160
|
-
|
|
161
|
-
asyncio.run(main())
|
|
162
|
-
```
|
|
163
|
-
|
|
164
|
-
#### **CLI-based**
|
|
165
|
-
```sh
|
|
166
|
-
neuronum activate --tx id::tx 'ping:node'
|
|
167
|
-
```
|
|
168
|
-
|
|
169
|
-
#### **Cellai (in Testing)**
|
|
170
|
-
Cellai is an AI tool for developers to test their apps built on Neuronum and will soon be published to the Google Play Store.
|
|
171
|
-
|
neuronum-7.0.4.dist-info/RECORD
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
-
cli/main.py,sha256=oj3_-lFGFUlCNlZoKmKK2b9yIvAd6KdXCFNMdNc6fZo,51733
|
|
3
|
-
neuronum/__init__.py,sha256=tAdqNC9rByY_CwG63yAyEe34phBdQ_Vv3FyFpTXQ2wo,45
|
|
4
|
-
neuronum/neuronum.py,sha256=5OjJIAmY7haT6eJ3P767RFk-LTvNFRrlkjB9mOozgN8,17971
|
|
5
|
-
neuronum-7.0.4.dist-info/licenses/LICENSE.md,sha256=m7pw_FktMNCs4tcy2UXP3QQP2S_je28P1SepdYoo0Xo,1961
|
|
6
|
-
neuronum-7.0.4.dist-info/METADATA,sha256=QoAgYz-i7_mhznemchEjnTGI2l2y-Z36ZCZGebPluzM,5871
|
|
7
|
-
neuronum-7.0.4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
8
|
-
neuronum-7.0.4.dist-info/entry_points.txt,sha256=XKYBcRNxGeJpZZkDPsa8HA_RaJ7Km_R_JaUq5T9Nk2U,42
|
|
9
|
-
neuronum-7.0.4.dist-info/top_level.txt,sha256=ru8Fr84cHm6oHr_DcJ8-uaq3RTiuCRFIr6AC8V0zPu4,13
|
|
10
|
-
neuronum-7.0.4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|