Skip to main content

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


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_minio-0.2.0.dev2.tar.gz (7.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

swarmauri_storage_minio-0.2.0.dev2-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

Details for the file swarmauri_storage_minio-0.2.0.dev2.tar.gz.

File metadata

File hashes

Hashes for swarmauri_storage_minio-0.2.0.dev2.tar.gz
Algorithm Hash digest
SHA256 450d5c284760edc3b893469c16ec15bccf2b1708db58158d78176d3f1a0cfb30
MD5 6c3373952bd7365a12f5ba4262ee8f69
BLAKE2b-256 345fc17776d583f010939ec3ba4a4b6615002961d4110331e4ab49a4d43b23a8

See more details on using hashes here.

File details

Details for the file swarmauri_storage_minio-0.2.0.dev2-py3-none-any.whl.

File metadata

File hashes

Hashes for swarmauri_storage_minio-0.2.0.dev2-py3-none-any.whl
Algorithm Hash digest
SHA256 828f1e6e9733913f5797027343f7c53b37e29b9a669825484c77094eb1636adc
MD5 c865c0e35aa979897c2bc779832ca449
BLAKE2b-256 71ce46a017dadd830b933d48421d45072f896931804d28eba10e7f0424e56f02

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