NodalWire
A loopback-only byte relay for local applications, with Python and Node.js clients, explicit network membership, and separate authenticated administration.
Install and send your first message
This source prepares NodalWire 0.3.0: Python nodalwire==0.3.0 and Node
@devcapsule/nodalwire-client@0.3.0. Building or testing this checkout does not
publish either package. The registry commands below apply after publication;
prepublication consumers can install the verified local artifacts instead.
Python requires 3.12+. With uv:
uv tool install 'nodalwire==0.3.0'
In Terminal 1, generate a private admin credential and start the relay:
export NODALWIRE_ADMIN_TOKEN="$(python3 -c 'import secrets; print(secrets.token_hex(32))')"
nodalwire serve
No config file is required. Leave the relay running. In Terminal 2:
nodalwire receive --name bob --timeout 60
Wait for the ready event, then in Terminal 3:
printf 'hello' | nodalwire send bob --name alice
Bob receives a JSON message event with base64 payload aGVsbG8= (hello).
accepted means relay queue acceptance, not application processing or durable
storage. Both client commands exit after the exchange. Stop the relay with
Ctrl-C. Run nodalwire --help or nodalwire COMMAND --help for more examples.
For applications, install nodalwire==0.3.0 into the application's Python
virtual environment and use from nodalwire import Node. For Node.js 24:
npm install @devcapsule/nodalwire-client@0.3.0
Use import { Node } from "@devcapsule/nodalwire-client" from an ESM application.
No source checkout or TypeScript compiler is required by consumers. The
native zeromq dependency needs its installation script; with pnpm, explicitly
allow only zeromq in your application's script policy. Do not overwrite an
existing policy. Native prebuild/fallback availability is platform-dependent.
Upgrading from 0.2.x
Upgrade the relay and every messaging client together. Version 0.3.0 uses NWM3 and cannot communicate with the AR2 protocol in Python 0.2.x / Node 0.2.0. There is no rolling mixed-version mode, downgrade, translation, reconnect or replay. See release and migration notes for the API changes. NA1 administration and configuration version 2 remain unchanged.
The relay is loopback-only. Credentials grant join/admin permission, not peer-name
identity or encryption. Startup requires NODALWIRE_ADMIN_TOKEN or a configured
admin verifier; the server does not generate or reveal a secret. Every declared
network is open unless protected. A protected default requires an explicit join.
Documentation
- Getting started
- Messaging
- Python and Node API
- Configuration
- Node package guide
- Executable usage examples
Maintained site inputs are in src/docs-src/. Root docs/ is ignored generated
output, not source-branch content. The docs tooling guide
explains local builds, release previews and the separate publishing boundary.
Contributors: build from a checkout
Consumers do not perform these steps. Prepare the locked environments first:
uv sync --locked
pnpm -C src/nodalwire/client/node install --frozen-lockfile
pnpm --dir src/nodalwire/client/node build
uv build --out-dir /tmp/nodalwire-artifacts
pnpm -C src/nodalwire/client/node pack --pack-destination /tmp/nodalwire-artifacts
Install the wheel or tarball into a separate consumer environment for testing.
For example, uv pip install --python /path/to/venv/bin/python /tmp/nodalwire-artifacts/nodalwire-0.3.0-py3-none-any.whl installs the local Python
artifact. Do not commit generated SDK dist/ by default. SDK development uses
Node.js, TypeScript and pnpm; the docs browser bundles use esbuild.
uv run --locked --no-sync pytest
pnpm --dir src/tools/docs verify
NODALWIRE_PYTHON_SOURCE="$PWD/src" pnpm --dir src/nodalwire/client/node test
NODALWIRE_EVIDENCE_DIR=/tmp uv run --locked --no-sync python \
tests/integration/nodalwire/client/node/package_smoke.py \
--python-artifact /tmp/nodalwire-artifacts/nodalwire-0.3.0-py3-none-any.whl \
--python-version 0.3.0
The package smoke check installs both built packages outside the checkout, checks their origins/versions, exercises declarations and native cases, and runs cross-language fixtures with isolated Python imports. It requires a prepared local pnpm dependency store; offline success is not a cold-cache/platform claim. Source-mode interop alone is not installed-artifact verification.
All maintained tests live under tests/. Core pytest, isolated docs tooling, and
Node checks have separate collection/environment boundaries. Docs verification
builds the playground for its design tests, then restores product-only output.
Browser suites require an explicitly owned browser/CDP endpoint; a skipped suite
is not browser proof. No security-audit or exhaustive crash/power-loss claim is made.
Maintainers: preparation is not publication
Record exact commits, artifact contents, versions, SHA256 hashes, installed-package
results and coverage limits before release approval. Then obtain separate approval
for package uploads, source/tag/docs pushes and deployment. Verify both registry
versions before presenting the matching documentation as a published release.
Keep the existing publishing-branch history; do not force-push or place generated
site assets in main.
Metadata
Release files for nodalwire 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| nodalwire-0.3.0.tar.gz | 32.6 kB | Without provenance | Details for nodalwire-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nodalwire-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for nodalwire-0.3.0-py3-none-any.whl |
Total release size: 71.6 kB
Release files / nodalwire-0.3.0.tar.gz
| Download URL | nodalwire-0.3.0.tar.gz |
|---|---|
| Size | 32.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0817acd5794d3ec10e5c0517255832567b436c0e24a386eb5985f5c707e3d86b
|
|
BLAKE2b-256 checksum How to use checksums |
962de2eae2416c651356f053894e98d0878f49d916054062b4dddb703c8e8b52
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Fedora Linux","version":"44","id":"","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / nodalwire-0.3.0-py3-none-any.whl
| Download URL | nodalwire-0.3.0-py3-none-any.whl |
|---|---|
| Size | 39.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2180e8642269a5639d456931366eaccc8f744576083103a8d2f1c803e55382cd
|
|
BLAKE2b-256 checksum How to use checksums |
8d7ff3418f5a94cddea03e19eb8dc40b29460a3e06f718516f6429bf67cde6e6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Fedora Linux","version":"44","id":"","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for nodalwire 0.3.0
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.