Skip to main content

pynect-worker

pynect-worker is Pynect's Python package. It exports Chanx AsyncAPI schemas, adds iterator-aware server handlers, and runs Python-owned Chanx applications over Pynect's local IPC transport.

Install

uv add pynect-worker

Configure the ASGI application in the owning Python project:

[tool.pynect]
app = "server:app"

Server iterators

Import ws_handler from pynect_worker and annotate an iterator return type. Pynect forwards each item and emits Chanx's protocol-level complete frame when the iterator exits normally.

from collections.abc import AsyncIterator
from pynect_worker import ws_handler

@ws_handler
async def watch(self, message: WatchRequest) -> AsyncIterator[WatchResponse]:
    yield WatchResponse(payload=message.payload)

MIT licensed.

Metadata

Release files for pynect-worker 0.8.9

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

Source distribution (sdist)

Source distribution for pynect-worker 0.8.9
File Size Uploaded Provenance Actions
pynect_worker-0.8.9.tar.gz 6.9 kB Without provenance Details for pynect_worker-0.8.9.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pynect-worker 0.8.9
File Interpreter ABI Platform Actions
pynect_worker-0.8.9-py3-none-any.whl Python 3 none any Details for pynect_worker-0.8.9-py3-none-any.whl

Total release size: 15.6 kB

Release files / pynect_worker-0.8.9.tar.gz

Download URL pynect_worker-0.8.9.tar.gz
Size 6.9 kB
Tags Source
SHA-256 checksum
How to use checksums
d2b638b4a02a28165d6a78279082507a2c13fba885fb604e34ba4767f6e87681
BLAKE2b-256 checksum
How to use checksums
eae9f609c185b26613c8b57c0a41b3a50934951b021fa3fae620455d4e0a84a5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / pynect_worker-0.8.9-py3-none-any.whl

Download URL pynect_worker-0.8.9-py3-none-any.whl
Size 8.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
94fc8c981f268c3c8450417a444a96d575a5d89ddcb38b9dd52155740be0e07a
BLAKE2b-256 checksum
How to use checksums
31cc3f4e97b308b2fc40c37d4b89565d86801c55b010977da7576e152babff74
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for pynect-worker 0.8.9

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.

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