This release is a pre-release and may not be stable for production use.
Swarmauri UDS Unicast Transport
The Swarmauri UDS Unicast Transport offers reliable, ordered, local-only
communication over Unix domain sockets. It embraces the unified transport
lifecycle so the server and client contexts are created directly from the
transport instance (.server(...) / .client(...)).
Installation
Using uv
uv add --directory pkgs/standards/swarmauri_transport_uds_unicast swarmauri_transport_uds_unicast
Using pip
pip install swarmauri_transport_uds_unicast
Usage
The example below demonstrates setting up a server and client that echo messages over a Unix domain socket path.
import asyncio
from swarmauri_transport_uds_unicast import UdsUnicastTransport
SOCKET_PATH = "/tmp/swm-uds.sock"
async def main() -> None:
server = UdsUnicastTransport(SOCKET_PATH)
async def run_server():
async with server.server():
data = await server.recv()
await server.send("peer", b"echo:" + data)
async def run_client():
client = UdsUnicastTransport(SOCKET_PATH)
async with client.client():
await client.send("server", b"ping")
response = await client.recv()
print(response.decode())
await asyncio.gather(run_server(), run_client())
asyncio.run(main())
This transport is ideal for same-host communication where low latency and security isolation are required.
Metadata
Release files for swarmauri_transport_uds_unicast 0.11.0.dev1
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 |
|---|---|---|---|---|
| swarmauri_transport_uds_unicast-0.11.0.dev1.tar.gz | 3.2 kB | Without provenance | Details for swarmauri_transport_uds_unicast-0.11.0.dev1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| swarmauri_transport_uds_unicast-0.11.0.dev1-py3-none-any.whl | Python 3 | none | any | Details for swarmauri_transport_uds_unicast-0.11.0.dev1-py3-none-any.whl |
Total release size: 6.9 kB
Release files / swarmauri_transport_uds_unicast-0.11.0.dev1.tar.gz
| Download URL | swarmauri_transport_uds_unicast-0.11.0.dev1.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
71c8e57c7f57b6ca35c8e83de72faff1ebe0f9dcdbd77bcf3392b6a6e09ee082
|
|
BLAKE2b-256 checksum How to use checksums |
2ce65fc683414027c6999d730f57c383c41201de794eace343f1abba9d8f82cc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / swarmauri_transport_uds_unicast-0.11.0.dev1-py3-none-any.whl
| Download URL | swarmauri_transport_uds_unicast-0.11.0.dev1-py3-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8d2adf81525022b86207f987bb095dcaabc6ea8d514cae84f59e5cacc585b86b
|
|
BLAKE2b-256 checksum How to use checksums |
c85959afcb5a385beb7f2b638d971fa034fc14c4a227ea7e1821233c93f04ca4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for swarmauri_transport_uds_unicast 0.11.0.dev1
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.