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 Supported Python Versions License Release Version Discord

Swarmauri Storage S3 Over SFTP

S3-style object storage adapter that persists bucket-prefixed objects through SFTP.

Features

  • Exposes Swarmauri storage adapter methods with S3-like bucket/key addressing over an SFTP directory tree.
  • Supports password, key-file, and injected Paramiko transport or SFTP clients for managed connection lifecycles.
  • Provides upload, download, recursive push and pull, byte-range reads, deletion, and bucket directory creation.
  • Uses Swarmauri storage-key normalization helpers to reject unsafe keys before resolving remote or local paths.
  • Provides discoverable swarmauri.storage_adapters and peagen.plugins.storage_adapters entry points.

Installation

Install this package with uv or pip.

uv add swarmauri_storage_s3_over_sftp
pip install swarmauri_storage_s3_over_sftp

Usage

Use this adapter when a workflow expects object-storage semantics but the backing system is reachable only through SFTP.

from swarmauri_storage_s3_over_sftp import S3OverSftpStorageAdapter

adapter = S3OverSftpStorageAdapter.from_uri(
    "s3+sftp://deploy@example.com/artifacts/runs?root_dir=/srv/object-store"
)

uri = adapter.put_blob("latest/result.json", b'{"status":"ok"}')
payload = adapter.get_blob("latest/result.json")

print(uri)
print(payload)

The URI path is interpreted as /<bucket>/<prefix>. The optional root_dir query value points at the remote SFTP directory under which bucket directories are stored.

License: Apache-2.0. See LICENSE.

Download files

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

Source Distribution

swarmauri_storage_s3_over_sftp-0.11.0.dev5.tar.gz (5.9 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_storage_s3_over_sftp-0.11.0.dev5.tar.gz.

File metadata

  • Download URL: swarmauri_storage_s3_over_sftp-0.11.0.dev5.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","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_storage_s3_over_sftp-0.11.0.dev5.tar.gz
Algorithm Hash digest
SHA256 20c80e0f332b08a095dee2177236d06cd479f4c88f1677263d6ff91e8be2f899
MD5 8171a64fe145e04195c7b706899ba3ac
BLAKE2b-256 a581d541891cbae33fdd48dda4d8beeb9af6eef98afd2bbc8576bdbc47c9fedf

See more details on using hashes here.

File details

Details for the file swarmauri_storage_s3_over_sftp-0.11.0.dev5-py3-none-any.whl.

File metadata

  • Download URL: swarmauri_storage_s3_over_sftp-0.11.0.dev5-py3-none-any.whl
  • Upload date:
  • Size: 6.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","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_storage_s3_over_sftp-0.11.0.dev5-py3-none-any.whl
Algorithm Hash digest
SHA256 23733ec8ee75e5940405c5e68ca5eb0c7ea211f0151bf7c35d6913721cf133cf
MD5 9d2a479616b54ef114bc645753178ac9
BLAKE2b-256 aaf4198370317093beb7c7601a196cd8e7b0969121bc3baa60ffe546db255db0

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 Sentry Error logging StatusPage Status page