neuronum 9.0.0__py3-none-any.whl → 10.0.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.

@@ -0,0 +1,157 @@
1
+ Metadata-Version: 2.4
2
+ Name: neuronum
3
+ Version: 10.0.0
4
+ Summary: An E2EE Data 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: aiofiles
17
+ Requires-Dist: websockets
18
+ Requires-Dist: click
19
+ Requires-Dist: questionary
20
+ Requires-Dist: python-dotenv
21
+ Requires-Dist: requests
22
+ Requires-Dist: cryptography
23
+ Requires-Dist: bip_utils
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: An E2EE Data 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
+ ### **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
+ - [Transmit Data Securely](#transmit-data-securely)
64
+ - [Receive Data Securely](#receive-data-securely)
65
+
66
+ ------------------
67
+
68
+ ### **About Neuronum**
69
+ Neuronum is a real-time, end-to-end encrypted data engine built in Python. It enables secure communication between devices and services by encrypting data client-side using the recipient's public key. Encrypted messages are transmitted through a passive relay server and decrypted on the recipient’s device using its private key. The relay server facilitates connectivity but cannot access or alter the content of messages.
70
+
71
+ ### Requirements
72
+ - Python >= 3.8
73
+
74
+ ------------------
75
+
76
+ ### **Connect To Neuronum**
77
+ Installation (optional but recommended: create a virtual environment)
78
+ ```sh
79
+ pip install neuronum
80
+ ```
81
+
82
+ Create your Cell (your secure identity):
83
+ ```sh
84
+ neuronum create-cell
85
+ ```
86
+
87
+ or
88
+
89
+ Connect an existing Cell (your secure identity):
90
+ ```sh
91
+ neuronum connect-cell
92
+ ```
93
+
94
+ ------------------
95
+
96
+
97
+ ### **Transmit Data Securely**
98
+ ```python
99
+ import asyncio
100
+ from neuronum import Cell
101
+
102
+ async def main():
103
+
104
+ async with Cell() as cell:
105
+
106
+ data = {
107
+ "some": "data" # Replace with your actual payload
108
+ }
109
+
110
+ # Use activate_tx() if you expect a response from the other cell
111
+ tx_response = await cell.activate_tx("id::cell", data)
112
+ print(tx_response)
113
+
114
+ # Stream data to another cell (no response expected)
115
+ await cell.stream("id::cell", data)
116
+
117
+ if __name__ == '__main__':
118
+ asyncio.run(main())
119
+ ```
120
+
121
+
122
+ ### **Receive Data Securely**
123
+ ```python
124
+ import asyncio
125
+ from neuronum import Cell
126
+
127
+ async def main():
128
+ async with Cell() as cell:
129
+
130
+ async for transmitter in cell.sync():
131
+ ts_str = transmitter.get("time")
132
+ data = transmitter.get("data")
133
+ transmitter_id = transmitter.get("transmitter_id")
134
+ client_public_key = data.get("public_key", {})
135
+
136
+ response_data = {
137
+ "json": "Data Received Securely - Your request was processed successfully",
138
+ "html": """
139
+ <!DOCTYPE html>
140
+ <html lang="en">
141
+ <head>
142
+ <meta charset="UTF-8">
143
+ <title>Secure Data Response</title>
144
+ </head>
145
+ <body>
146
+ <h3>Data Received Securely</h3>
147
+ <p>Your request was processed successfully.</p>
148
+ </body>
149
+ </html>
150
+ """
151
+ }
152
+ await cell.tx_response(transmitter_id, response_data, client_public_key)
153
+
154
+ if __name__ == '__main__':
155
+ asyncio.run(main())
156
+ ```
157
+
@@ -0,0 +1,10 @@
1
+ cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
+ cli/main.py,sha256=Xw3iK0BdWqN89EryBw2k3uWwLrYWxdIt_d0sJKNnErk,10878
3
+ neuronum/__init__.py,sha256=_ankCAWkh9ef-rUGf4yl4SF2jTGiftLEa6y551cK780,25
4
+ neuronum/neuronum.py,sha256=_LSl0x2DkZLd_bblFHy1ptJnWC-res00a0cjSu3Ngrs,28212
5
+ neuronum-10.0.0.dist-info/licenses/LICENSE.md,sha256=m7pw_FktMNCs4tcy2UXP3QQP2S_je28P1SepdYoo0Xo,1961
6
+ neuronum-10.0.0.dist-info/METADATA,sha256=xxwoQTW8uk3RywgRuRYvmy06FhkAGmmLYJskfpehquE,4683
7
+ neuronum-10.0.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
8
+ neuronum-10.0.0.dist-info/entry_points.txt,sha256=XKYBcRNxGeJpZZkDPsa8HA_RaJ7Km_R_JaUq5T9Nk2U,42
9
+ neuronum-10.0.0.dist-info/top_level.txt,sha256=ru8Fr84cHm6oHr_DcJ8-uaq3RTiuCRFIr6AC8V0zPu4,13
10
+ neuronum-10.0.0.dist-info/RECORD,,
@@ -1,124 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: neuronum
3
- Version: 9.0.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)
@@ -1,10 +0,0 @@
1
- cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- cli/main.py,sha256=Ol3kyxh7odt03buze27PGCCaDS0iOax8nbTWYHvK1pA,31798
3
- neuronum/__init__.py,sha256=qkAz6fpiS2KKnaKwPbS15y7lRCQV-XaWNTkVUarluPk,26
4
- neuronum/neuronum.py,sha256=3Sway-04-Yb3PHcnbIVumL0kQMB__fiO5w9vDXbkWGk,16186
5
- neuronum-9.0.0.dist-info/licenses/LICENSE.md,sha256=m7pw_FktMNCs4tcy2UXP3QQP2S_je28P1SepdYoo0Xo,1961
6
- neuronum-9.0.0.dist-info/METADATA,sha256=UIovNeYOTcpaZz0FUhJvWQ5EqIu7dDvVpxgrxu8DTWM,3448
7
- neuronum-9.0.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
8
- neuronum-9.0.0.dist-info/entry_points.txt,sha256=XKYBcRNxGeJpZZkDPsa8HA_RaJ7Km_R_JaUq5T9Nk2U,42
9
- neuronum-9.0.0.dist-info/top_level.txt,sha256=ru8Fr84cHm6oHr_DcJ8-uaq3RTiuCRFIr6AC8V0zPu4,13
10
- neuronum-9.0.0.dist-info/RECORD,,