Pre-release
This release is a pre-release and may not be stable for production use.
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/keyaddressing 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_adaptersandpeagen.plugins.storage_adaptersentry 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.
Metadata
Release files for swarmauri_storage_s3_over_sftp 0.11.0.dev5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| swarmauri_storage_s3_over_sftp-0.11.0.dev5.tar.gz | 5.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| swarmauri_storage_s3_over_sftp-0.11.0.dev5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.8 kB
Release files / swarmauri_storage_s3_over_sftp-0.11.0.dev5.tar.gz
| Download URL | swarmauri_storage_s3_over_sftp-0.11.0.dev5.tar.gz |
|---|---|
| Size | 5.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
20c80e0f332b08a095dee2177236d06cd479f4c88f1677263d6ff91e8be2f899
|
|
BLAKE2b-256 checksum How to use checksums |
a581d541891cbae33fdd48dda4d8beeb9af6eef98afd2bbc8576bdbc47c9fedf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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}
|
Release files / swarmauri_storage_s3_over_sftp-0.11.0.dev5-py3-none-any.whl
| Download URL | swarmauri_storage_s3_over_sftp-0.11.0.dev5-py3-none-any.whl |
|---|---|
| Size | 6.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
23733ec8ee75e5940405c5e68ca5eb0c7ea211f0151bf7c35d6913721cf133cf
|
|
BLAKE2b-256 checksum How to use checksums |
aaf4198370317093beb7c7601a196cd8e7b0969121bc3baa60ffe546db255db0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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}
|