Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Swarmauri Logo

PyPI - Downloads Hits PyPI - Python Version PyPI - License PyPI - swarmauri_transport_sshtunnel Discord

Swarmauri Transport ? SSH Tunnel

swarmauri-transport-sshtunnel wraps ssh -W to forward TCP streams through bastion hosts while keeping the Swarmauri transport API.

Installation

Using uv

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

Using pip

pip install swarmauri-transport-sshtunnel

Usage

import asyncio
from swarmauri_transport_sshtunnel import SSHTunnelTransport

async def tunnel() -> None:
    transport = SSHTunnelTransport("bastion", "intranet.local", 5432)
    async with transport.client():
        await transport.send("db", b"hello")
        reply = await transport.recv()
        print(reply)

asyncio.run(tunnel())

Ensure SSH credentials, host keys, and jump host policies are configured on the machine executing the transport.

Metadata

Release files for swarmauri_transport_sshtunnel 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)

Source distribution for swarmauri_transport_sshtunnel 0.11.0.dev1
File Size Uploaded
swarmauri_transport_sshtunnel-0.11.0.dev1.tar.gz 3.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for swarmauri_transport_sshtunnel 0.11.0.dev1
File Interpreter ABI Platform
swarmauri_transport_sshtunnel-0.11.0.dev1-py3-none-any.whl Python 3 none any Details

Total release size: 8.1 kB

Release files / swarmauri_transport_sshtunnel-0.11.0.dev1.tar.gz

Download URL swarmauri_transport_sshtunnel-0.11.0.dev1.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
b8aa3c0910e962a0e1da45ffcb291272f9d3c800668a16031eb932c7019e120b
BLAKE2b-256 checksum
How to use checksums
84d22092cc3ed4e1c350a94ef173e3e1e7cf56e0fe47ddd0bffa28e6997ebc28
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_sshtunnel-0.11.0.dev1-py3-none-any.whl

Download URL swarmauri_transport_sshtunnel-0.11.0.dev1-py3-none-any.whl
Size 4.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8230000fa0064f0437cbfa5a763294b9f4f890cd046fa98559a67403874c630d
BLAKE2b-256 checksum
How to use checksums
e80eef6958636928569179fa6ec7bac594191f464a14753fa7597e70182a783f
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}
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page