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

File metadata

  • Download URL: swarmauri_transport_stdio-0.1.1.dev19.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.dev19.tar.gz
Algorithm Hash digest
SHA256 fde188ff83e02c09e46a7fb8db941e59452e27f3dceeb47ae1ba5234da7e41d5
MD5 ef1d6462f6d2ce5bb65f33886241a79b
BLAKE2b-256 4b6c39fdac18c551fe0011e491ec9e5a19659d0cbe1bc11059874f0ba494c69b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: swarmauri_transport_stdio-0.1.1.dev19-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.dev19-py3-none-any.whl
Algorithm Hash digest
SHA256 a21a460ae30f4d98467602820dddd3fa3b7fb4f48ec9de0b3b53a5ccc62bbd8d
MD5 392e58c6e2e38542c4e4637c412ff826
BLAKE2b-256 cd3ddce816a88429281e066c30c590feef22589d6fcfc216bea7b1567ecbc1a0

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