Skip to main content

STDIO bridge transport for spawning Swarmauri-compatible subprocesses.

Project description

Swarmauri Logo

PyPI - Downloads Hits PyPI - Python Version PyPI - License PyPI - swarmauri-transport-stdio


Swarmauri Transport – STDIO Bridge

swarmauri-transport-stdio spawns subprocesses and communicates over standard input/output so command-line tools can act as Swarmauri peers.

Installation

Using uv

uv pip install swarmauri-transport-stdio --index-url https://pypi.org/simple

Using pip

pip install swarmauri-transport-stdio

Usage

import asyncio
from swarmauri_transport_stdio import StdioTransport

async def run_tool() -> None:
    transport = StdioTransport(["python", "script.py"])
    async with transport.client():
        await transport.send("tool", b"input\n")
        print(await transport.recv())

asyncio.run(run_tool())

Wrap any CLI-friendly model or service and adapt its IO using the Swarmauri transport interfaces.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

swarmauri_transport_stdio-0.1.1.dev18.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file swarmauri_transport_stdio-0.1.1.dev18.tar.gz.

File metadata

  • Download URL: swarmauri_transport_stdio-0.1.1.dev18.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.12 {"installer":{"name":"uv","version":"0.10.12","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}

File hashes

Hashes for swarmauri_transport_stdio-0.1.1.dev18.tar.gz
Algorithm Hash digest
SHA256 cf8547f95ddc366fe294c31e42e4adaa406912e123c494d3d4e12435aebef719
MD5 fdf848ba7a6790f25217cbda015216fe
BLAKE2b-256 ac8c0cf9d0e4f3a3c043f80170c3ba987be9e17904e3ae41a4db60636bcec7ab

See more details on using hashes here.

File details

Details for the file swarmauri_transport_stdio-0.1.1.dev18-py3-none-any.whl.

File metadata

  • Download URL: swarmauri_transport_stdio-0.1.1.dev18-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.12 {"installer":{"name":"uv","version":"0.10.12","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}

File hashes

Hashes for swarmauri_transport_stdio-0.1.1.dev18-py3-none-any.whl
Algorithm Hash digest
SHA256 817458520ae29675cd5b57ea545c4da8f0b17df95b536f1bfb9063023f302af4
MD5 56ca390145b77e665b1b6f5df820e7c0
BLAKE2b-256 7ddf35f0cc03a4c8d8a73a182483a37fcbcab7114e824bbf41be89a7800f5e71

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page