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.dev20.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.dev20.tar.gz.

File metadata

  • Download URL: swarmauri_transport_stdio-0.1.1.dev20.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.dev20.tar.gz
Algorithm Hash digest
SHA256 e0b26d84964427c6c46e6de01997929855ca53e09ee424a8644fe5f89c889551
MD5 c8a0f0e0f185932dc36a2a0056ea714c
BLAKE2b-256 ab6d8e2bcbcde514d9f5e4336f90ccbee43a72a1a6a8740f5ad5db3ef533867d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: swarmauri_transport_stdio-0.1.1.dev20-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.dev20-py3-none-any.whl
Algorithm Hash digest
SHA256 7f942b08cd6a1be651de9b458df2b36bb92e133d29de67361d6b658b1d30ac5a
MD5 ee11277383237600f36c8d04c73cd265
BLAKE2b-256 ceab3e34d81361b588753c8d8687ed76f864dcea61526325f12f6f02c7f7c05a

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