Skip to main content

Ultra-fast cross-platform local IPC engine for sovereign game developers.

Project description

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

Running the Hub

Once installed, you can start the central hub from any terminal window:

nerve start

For detailed packet routing output, run the hub in verbose mode:

nerve start --verbose

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).

Project details


Download files

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

Source Distribution

alenia_nerve-1.4.8.tar.gz (20.0 kB view details)

Uploaded Source

Built Distribution

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

alenia_nerve-1.4.8-py3-none-any.whl (17.3 kB view details)

Uploaded Python 3

File details

Details for the file alenia_nerve-1.4.8.tar.gz.

File metadata

  • Download URL: alenia_nerve-1.4.8.tar.gz
  • Upload date:
  • Size: 20.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for alenia_nerve-1.4.8.tar.gz
Algorithm Hash digest
SHA256 d311047a260f5d16146f73f7be4eedf230c1ae63da07850429f3f6d7e53a52e0
MD5 83bf870d6db688ec35e260dfaf7f71e9
BLAKE2b-256 085fa5a0a23f0bb8d9d8aaea6194cb36fcaee1739ddeda6f41e0b5bd2a823dc2

See more details on using hashes here.

Provenance

The following attestation bundles were made for alenia_nerve-1.4.8.tar.gz:

Publisher: publish.yml on Kaia-Alenia/alenia-nerve

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file alenia_nerve-1.4.8-py3-none-any.whl.

File metadata

  • Download URL: alenia_nerve-1.4.8-py3-none-any.whl
  • Upload date:
  • Size: 17.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for alenia_nerve-1.4.8-py3-none-any.whl
Algorithm Hash digest
SHA256 90dfcde2a54ca5dddc4f472a5b2427bece4f625584fb0f5e633c0ebae4b1b2b1
MD5 6c907550708e62f2ac7216224046576c
BLAKE2b-256 93fcad5a7b2f40a962a8e3d7ffbed424b8d22b8551eeaa6ede5140ee56d38d66

See more details on using hashes here.

Provenance

The following attestation bundles were made for alenia_nerve-1.4.8-py3-none-any.whl:

Publisher: publish.yml on Kaia-Alenia/alenia-nerve

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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