Skip to main content

Alenia Nerve — Python Client & CLI Hub

PyPI Version PyPI Downloads Python Platform License: GPL-3.0 Ko-fi

This is the official Python client library and Command Line Interface (CLI) for Alenia Nerve, the ultra-fast local inter-process communication (IPC) engine.

The Nerve CLI Hub

The Python package includes the central CLI tool (nerve) used to boot and manage the central IPC routing Hub.

Nerve Hub Console

CLI Commands Reference

Nerve provides a comprehensive suite of commands to manage the IPC Hub, monitor traffic, and securely pack/unpack data.

Hub & Monitoring

  • nerve start: Starts the central Nerve Hub (blocking process). Use --verbose for detailed real-time message routing logs.
  • nerve monitor: Launches an interactive, terminal-based UI to view real-time hub statistics, connected nodes, and message throughput.
  • nerve dashboard: Starts a visual web dashboard accessible at http://localhost:8080 to monitor the local Nerve network.
  • nerve bridge: Starts the HTTP/WebSocket bridge (default port 50506) to allow external applications (e.g., browsers, remote clients) to securely communicate with the local Nerve IPC network.

Secure Containers (.nrv)

Nerve includes a high-security encrypted container format (.nrv) protected with AES-GCM and Argon2id.

  • nerve pack <src> <out.nrv>: Packs a file or directory into a secure .nrv container. It will prompt for a password or use the NERVE_NRV_PASSWORD environment variable.
  • nerve unpack <file.nrv> <out_dir>: Decrypts and unpacks a .nrv container into the specified output directory.
  • nerve open <file.nrv>: Interactive command to open a .nrv container. It handles up to 3 password retries and uses native GUI prompts if run outside a terminal.
  • nerve associate: Registers the .nrv file extension with your Operating System (Windows/macOS/Linux) and sets Nerve as the default application to open them.
  • nerve unassociate: Removes the .nrv file association from your system.
  • nerve genpass [--mode random|passphrase] [--length N] [--words N]: Generates a cryptographically secure random password or memorable passphrase.

Client Installation

Install the package via pip:

pip install alenia-nerve

Or install it globally bypassing system package restrictions if needed (e.g., inside containers):

pip install alenia-nerve --break-system-packages

Integration Example

1. Initialize Client

Connect to the local hub by registering a unique client ID.

from nerve import NexusClient

client = NexusClient()
client.connect("my_python_node")

2. Send messages

Send a JSON-serializable payload directly to another registered node:

payload = {"status": "processing", "progress": 45}
client.send("renderer_node", payload)

3. Broadcast messages

Broadcast a payload to every other node currently connected to the Hub:

client.broadcast({"event": "reload_assets"})

4. Listen for streams

Register a callback function to listen to data streams in real-time:

def handle_incoming(data):
    print(f"Received: {data}")


client.listen(handle_incoming)

License

This software is distributed under the GNU General Public License v3 (GPL v3).

Credits

The secure password generator uses the EFF Large Wordlist created by the Electronic Frontier Foundation, distributed under the Creative Commons Attribution 3.0 License (CC BY 3.0).

Release files for alenia-nerve 1.6.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for alenia-nerve 1.6.6
File Size Uploaded
alenia_nerve-1.6.6.tar.gz 422.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for alenia-nerve 1.6.6
File Interpreter ABI Platform
alenia_nerve-1.6.6-py3-none-any.whl Python 3 none any Details

Total release size: 833.5 kB

Release files / alenia_nerve-1.6.6.tar.gz

Download URL alenia_nerve-1.6.6.tar.gz
Size 422.2 kB
Tags Source
SHA-256 checksum
How to use checksums
ed4cb0447522d82d1c2af0e3e6206982e00a25d2a30673501dd47217b3016f8b
BLAKE2b-256 checksum
How to use checksums
73f6a22a90991df01ead7a966fad54e1e4c7683353a5ba9aee18f4a1b1c8ea8a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 2, 2026.

Transparency log

Release files / alenia_nerve-1.6.6-py3-none-any.whl

Download URL alenia_nerve-1.6.6-py3-none-any.whl
Size 411.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ce336369c1bb6562fa080355160f1774d8ce93d30cbb406b0904566ffb05af6c
BLAKE2b-256 checksum
How to use checksums
a91f17d6d219a475c64c4a6c8530d1e0ee62ec2227c1a333a7854c226f28a3d2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 2, 2026.

Transparency log

Release history Release notifications | RSS feed

7.0.1

2 release files

7.0.0

2 release files

1.6.9

2 release files

1.6.8

2 release files

1.6.7

2 release files

This release

1.6.6 This release

2 release files

1.6.5

2 release files

1.6.4

2 release files

1.6.3

2 release files

1.6.2

2 release files

1.6.1

2 release files

1.5.9

2 release files

1.5.8

2 release files

1.5.7

2 release files

1.5.6

2 release files

1.5.5

2 release files

1.5.4

2 release files

1.5.3

2 release files

1.5.2

2 release files

1.5.1

2 release files

1.5.0

2 release files

1.4.9

2 release files

1.4.8

2 release files

1.4.7

2 release files

1.4.6

2 release files

1.4.5

2 release files

1.4.4

2 release files

1.4.3

2 release files

1.4.2

2 release files

1.4.1

2 release files

1.4.0

2 release files

1.3.9

2 release files

1.3.8

2 release files

1.3.7

2 release files

1.3.6

2 release files

1.3.5

2 release files

1.3.4

2 release files

1.3.3

2 release files

1.3.2

2 release files

1.3.1

2 release files

1.2.2

2 release files

1.2.1

2 release files

1.2.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page