Skip to main content
Pre-release

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

elizaOS S3 Storage Plugin (Python)

AWS S3 and S3-compatible storage integration for elizaOS agents.

Installation

pip install elizaos-plugin-s3-storage

Usage

from elizaos_plugin_s3_storage import S3StorageClient, S3StorageConfig

# Create configuration
config = S3StorageConfig(
    access_key_id="your-access-key",
    secret_access_key="your-secret-key",
    region="us-east-1",
    bucket="your-bucket",
)

# Create client
async with S3StorageClient(config) as client:
    # Upload a file
    result = await client.upload_file("/path/to/file.txt")
    print(f"Uploaded to: {result.url}")

    # Upload JSON data
    result = await client.upload_json({"key": "value"}, filename="data.json")
    print(f"JSON uploaded to: {result.url}")

    # Generate signed URL
    url = await client.generate_signed_url("path/to/file.txt", expires_in=3600)
    print(f"Signed URL: {url}")

Configuration

Environment variables:

  • AWS_ACCESS_KEY_ID: AWS access key ID
  • AWS_SECRET_ACCESS_KEY: AWS secret access key
  • AWS_REGION: AWS region
  • AWS_S3_BUCKET: S3 bucket name
  • AWS_S3_UPLOAD_PATH: Optional upload path prefix
  • AWS_S3_ENDPOINT: Optional custom S3 endpoint
  • AWS_S3_SSL_ENABLED: Enable SSL for custom endpoint
  • AWS_S3_FORCE_PATH_STYLE: Force path-style addressing

Features

  • Upload files and JSON data to S3
  • Generate pre-signed URLs
  • Support for S3-compatible services (MinIO, DigitalOcean Spaces, etc.)
  • Async/await support
  • Type-safe with Pydantic models

License

MIT

Download files

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

Source Distribution

elizaos_plugin_s3_storage-2.0.0a5.tar.gz (10.2 kB view details)

Uploaded Source

Built Distribution

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

elizaos_plugin_s3_storage-2.0.0a5-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

Details for the file elizaos_plugin_s3_storage-2.0.0a5.tar.gz.

File metadata

File hashes

Hashes for elizaos_plugin_s3_storage-2.0.0a5.tar.gz
Algorithm Hash digest
SHA256 d60551b69b75cdd28f66f9b50092e18f2fb985123f2fdc837a7bcfb50897ac64
MD5 7c6fc979ed62337613a9e0b5e6f1dad5
BLAKE2b-256 f3d48e7eeaef5d38a118cb0799ed1d60bf506d6c4fb9ebd0b439fcb41e7cf5e7

See more details on using hashes here.

File details

Details for the file elizaos_plugin_s3_storage-2.0.0a5-py3-none-any.whl.

File metadata

File hashes

Hashes for elizaos_plugin_s3_storage-2.0.0a5-py3-none-any.whl
Algorithm Hash digest
SHA256 a9db025e51f85a5e59644f35f4927d80267f12fc856c81e80fdef00591db0042
MD5 b5785a1e74b597c625bbd864261d3f2e
BLAKE2b-256 a649a26327223a5337923809b2476bbe84a3bc3e228351e7d137cdbb8e18b51b

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

2.0.0a5 This release

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page