Skip to main content

Neuronum SDK

Project description

Neuronum

Neuronum SDK

Website Documentation PyPI Version
Python Version License


About

Neuronum is a real-time, end-to-end encrypted data network. Transmit and receive data between any two points without managing backend infrastructure.

⚠️ Development Status: The Neuronum SDK is currently in beta and is not production-ready. It is intended for development, testing, and experimental purposes only. Do not use in production environments or for critical applications.


Requirements

  • Python >= 3.8

Installation

Setup and activate a virtual environment:

python3 -m venv ~/neuronum-venv
source ~/neuronum-venv/bin/activate

Install the Neuronum SDK:

pip install neuronum==2026.03.1

Note: Always activate this virtual environment (source ~/neuronum-venv/bin/activate) before running any neuronum commands.

Create a Cell (your Neuronum ID):

neuronum create-cell

How it works

Every participant on the network is a Cell — a unique, encrypted identity. Every Cell can communicate with any other Cell on the network. All you need is the recipient's Cell ID.

Cells interact using four core methods:

Method Description
stream(cell_id, data) Send data to another Cell (fire-and-forget)
activate_tx(cell_id, data) Send a request and wait for a response
sync() Listen for incoming transmissions
tx_response(transmitter_id, data, public_key) Send an encrypted response back

All data is end-to-end encrypted. The network handles routing, key exchange, and delivery — you just send and receive.


Quick Example

Send data & wait for response

import asyncio
from neuronum import Cell

async def main():
    async with Cell() as cell:
        tx_response = await cell.activate_tx(
          "receiver_cell_id",
          {"msg": "Ping"}
        )
        print(tx_response)

asyncio.run(main())

Receive data & send response

import asyncio
from neuronum import Cell

async def main():
    async with Cell() as cell:
        async for tx in cell.sync():
            data = tx.get("data", {})

            await cell.tx_response(
                tx.get("transmitter_id"),
                {"msg": "Pong"},
                data.get("public_key", "")
            )

asyncio.run(main())

TX (Transmitter) Object

When you receive data via sync(), each transmission arrives as a TX object:

{
    "transmitter_id": "bfd2a0d009c6f784ec97c41d3738a24e0e5ac8f1",
    "time": "1772923393",
    "operator": "1uRQdV593S91E3T2-Vj_29mxBJoI7Cvxxg6dNFDVfv4::cell",
    "data": {
        "msg": "Ping",
        "public_key": "-----BEGIN PUBLIC KEY-----\n..."
    }
}

Full Documentation

For the complete SDK reference including the E2EE protocol, kybercell workspace setup, message types, and tools CLI, visit the Neuronum Docs.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

neuronum-2026.3.1.tar.gz (17.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

neuronum-2026.3.1-py3-none-any.whl (17.2 kB view details)

Uploaded Python 3

File details

Details for the file neuronum-2026.3.1.tar.gz.

File metadata

  • Download URL: neuronum-2026.3.1.tar.gz
  • Upload date:
  • Size: 17.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for neuronum-2026.3.1.tar.gz
Algorithm Hash digest
SHA256 8c09ad4a80ab48168408fb78db72939acf0c259f9998de45d39c16f5fdcdb91d
MD5 306060cc9ecadb695678589dba621c74
BLAKE2b-256 4171faeeb60520e52c01cd9669ae69fa87850302e278507ec362a2b0521878bf

See more details on using hashes here.

File details

Details for the file neuronum-2026.3.1-py3-none-any.whl.

File metadata

  • Download URL: neuronum-2026.3.1-py3-none-any.whl
  • Upload date:
  • Size: 17.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for neuronum-2026.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0e21b469e200d0e0c9ccc61e7c43186033cb7806dab6acb5e9a878c7356575f0
MD5 08d16556435c8bd473b233a0e5101f91
BLAKE2b-256 eff2488521a46601e3201d9f76415557a3c38251698f7eacee124552e808b759

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page