Pre-release
This release is a pre-release and may not be stable for production use.
Swarmauri Transport ? Mutual TLS Unicast
swarmauri-transport-mtlsunicast scaffolds mutually authenticated TLS channels for Swarmauri agents.
Installation
Using uv
uv pip install swarmauri-transport-mtlsunicast --index-url https://pypi.org/simple
Using pip
pip install swarmauri-transport-mtlsunicast
Usage
import asyncio
import ssl
from swarmauri_transport_mtlsunicast import MTLSUnicast
async def secure_client() -> None:
ctx = ssl.create_default_context(ssl.Purpose.SERVER_AUTH)
ctx.load_cert_chain("client.crt", "client.key")
ctx.load_verify_locations("ca.crt")
transport = MTLSUnicast(ctx)
async with transport.client(host="secure.example", port=9443):
await transport.send("server", b"hello")
reply = await transport.recv()
print(reply)
asyncio.run(secure_client())
Customize the SSL context for your environment?pin certificates, enable ALPN, or integrate with service mesh trust stores.
Metadata
Release files for swarmauri_transport_mtlsunicast 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 | |
|---|---|---|---|
| swarmauri_transport_mtlsunicast-0.11.0.dev1.tar.gz | 3.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| swarmauri_transport_mtlsunicast-0.11.0.dev1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.4 kB
Release files / swarmauri_transport_mtlsunicast-0.11.0.dev1.tar.gz
| Download URL | swarmauri_transport_mtlsunicast-0.11.0.dev1.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a6bd4bda1c00c5b123305debe89e383e3ad880e503b9aeea1131f9c446d27adf
|
|
BLAKE2b-256 checksum How to use checksums |
c43a5d5ac8b803ab3205d51069f1352820c4e1d62abb6fd41f0ea6fa120df91b
|
| 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_mtlsunicast-0.11.0.dev1-py3-none-any.whl
| Download URL | swarmauri_transport_mtlsunicast-0.11.0.dev1-py3-none-any.whl |
|---|---|
| Size | 4.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8ccd26c32068c813ba18e03322019bc78e12ff33bf3976df2077c02de9b1d094
|
|
BLAKE2b-256 checksum How to use checksums |
176116880dcd8a8089f2fbeafa3000273119cf2f4269ef6dd7e107c9b5d8451a
|
| 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}
|