Skip to main content

nyx-bridge

Tests Lint

TCP bridge between Nyx and external processes (Blender, Maya, any Python).

Nyx runs a BridgeServer. The external process runs a NyxClient, connects out, and executes the code the server sends. Standard library only; the client side supports Python 3.11+ (Maya 2027, Blender), so it can be installed into a DCC's Python (e.g. pip install --target <modules dir>).

Install

pip install sowwic-nyx-bridge

Use

In the external process:

from nyx_bridge.client import NyxClient

NyxClient().serve_forever()  # address from NYX_BRIDGE_ADDRESS / NYX_BRIDGE_TOKEN

On the Nyx side:

from nyx_bridge.server import BridgeServer

with BridgeServer() as server:
    session = server.wait_for_client(timeout=30)
    print(session.execute("result = 6 * 7").value)   # 42

On the same machine the client finds a running Nyx through its address file, so no configuration is needed. See the documentation for the client and server in detail, the wire protocol and how to write a client for a new application.

Development

uv sync
make check       # ruff + pytest
make mkdocs      # docs
make help        # all targets, including pypi-publish

Metadata

Release files for sowwic-nyx-bridge 1.0.0

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

Source distribution (sdist)

Source distribution for sowwic-nyx-bridge 1.0.0
File Size Uploaded Provenance Actions
sowwic_nyx_bridge-1.0.0.tar.gz 14.8 kB Without provenance Details for sowwic_nyx_bridge-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for sowwic-nyx-bridge 1.0.0
File Interpreter ABI Platform Actions
sowwic_nyx_bridge-1.0.0-py3-none-any.whl Python 3 none any Details for sowwic_nyx_bridge-1.0.0-py3-none-any.whl

Total release size: 31.3 kB

Release files / sowwic_nyx_bridge-1.0.0.tar.gz

Download URL sowwic_nyx_bridge-1.0.0.tar.gz
Size 14.8 kB
Tags Source
SHA-256 checksum
How to use checksums
887a7774b938676b573a5831138c3f0a95ff96f5e96c5c260a2a906078068d72
BLAKE2b-256 checksum
How to use checksums
88e452c9991ed82a3a6c5ec0126d01f8d7147f0f8b49022b04c9940d30d006be
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.8 {"installer":{"name":"uv","version":"0.13.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / sowwic_nyx_bridge-1.0.0-py3-none-any.whl

Download URL sowwic_nyx_bridge-1.0.0-py3-none-any.whl
Size 16.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4e76c983eb72843a5e1835db013e9375577f42523fdcab93df6931d47aa71396
BLAKE2b-256 checksum
How to use checksums
5e7c299f8a90cb96d84f3bb4a51e76144e8b4b107169734a335a964c524822ee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.8 {"installer":{"name":"uv","version":"0.13.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for sowwic-nyx-bridge 1.0.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.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

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