Skip to main content

hanzo-s3

Hanzo S3 -- Python client for S3-compatible object storage.

Thin wrapper around the minio package that re-exports its public API under the hanzo_s3 namespace with Hanzo-flavoured aliases.

Install

pip install hanzo-s3
# or
uv add hanzo-s3

Quick start

from hanzo_s3 import S3Client

client = S3Client(
    "s3.hanzo.space",
    access_key="YOUR-ACCESS-KEY",
    secret_key="YOUR-SECRET-KEY",
)

# List buckets
for bucket in client.list_buckets():
    print(bucket.name, bucket.creation_date)

# Upload a file
client.fput_object("my-bucket", "remote/path.txt", "/local/path.txt")

# Download a file
client.fget_object("my-bucket", "remote/path.txt", "/local/download.txt")

Admin operations

from hanzo_s3.admin import S3Admin

admin = S3Admin("s3.hanzo.space", credentials=provider)
info = admin.info()

API

hanzo_s3 minio
S3Client / Client Minio
S3Admin / Admin MinioAdmin
S3Error / Error S3Error
S3Exception MinioException
S3AdminException MinioAdminException

All original minio names are also re-exported for backward compatibility.

Links

Metadata

Release files for hanzo-s3 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hanzo-s3 1.0.0
File Size Uploaded
hanzo_s3-1.0.0.tar.gz 2.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for hanzo-s3 1.0.0
File Interpreter ABI Platform
hanzo_s3-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 5.9 kB

Release files / hanzo_s3-1.0.0.tar.gz

Download URL hanzo_s3-1.0.0.tar.gz
Size 2.8 kB
Tags Source
SHA-256 checksum
How to use checksums
d60d0a767d67c4c04bddc6484674306d0642f3465395065151360dfb2367b9c0
BLAKE2b-256 checksum
How to use checksums
d69e7e0f26eb371dac2d5db575578640a63e9b7d92bbf2e51b599629ed559d47
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / hanzo_s3-1.0.0-py3-none-any.whl

Download URL hanzo_s3-1.0.0-py3-none-any.whl
Size 3.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
eccdbf409e1677c71d094ae7d2a6b8d8ea838f20b39ecf0d7b7f9b1fe4566db1
BLAKE2b-256 checksum
How to use checksums
c87bcd228775177200464e8396a9a329a8fea24cb9dc2a2e21b56ea5806cecaf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page