MinIO storage adapter for Peagen
Project description
Swarmauri MinIO Storage Adapter
Peagen storage adapter that saves artifacts to a MinIO or S3-compatible bucket.
Installation
# pip install swarmauri_storage_minio (when published)
Usage
from swarmauri_storage_minio import MinioStorageAdapter
from pydantic import SecretStr
import io
adapter = MinioStorageAdapter(
endpoint="localhost:9000",
access_key=SecretStr("minio"),
secret_key=SecretStr("minio123"),
bucket="peagen",
)
uri = adapter.upload("artifact.txt", io.BytesIO(b"data"))
print(uri)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file swarmauri_storage_minio-0.2.0.dev3.tar.gz.
File metadata
- Download URL: swarmauri_storage_minio-0.2.0.dev3.tar.gz
- Upload date:
- Size: 7.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a9ad24b10ad58cc73088c494b674edb535cc1ccf1c0638af64bdc889f63c0a19
|
|
| MD5 |
2b9fc99730562380c575b78788c90b2d
|
|
| BLAKE2b-256 |
74d31734f074e8fd18f4102f2154a7210ef8032a72304c63248c8484070c1148
|
File details
Details for the file swarmauri_storage_minio-0.2.0.dev3-py3-none-any.whl.
File metadata
- Download URL: swarmauri_storage_minio-0.2.0.dev3-py3-none-any.whl
- Upload date:
- Size: 8.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c857ac6dc860de77208d0a4ba87f6e3c6c600badab78f5ac878779d8d7b85711
|
|
| MD5 |
69593926ac83a4beeef046fa449f5ec8
|
|
| BLAKE2b-256 |
6b8382fb93dcae43bd5058f870c549b9e879c4f0491e48da371669d7be21a2f9
|