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
- Documentation: https://docs.hanzo.ai/s3
- Hanzo Space: https://hanzo.space
- Source (upstream): https://github.com/hanzos3/py-sdk
- Source (SDK): https://github.com/hanzoai/python-sdk
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
hanzo_s3-1.0.0.tar.gz
(2.8 kB
view details)
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 hanzo_s3-1.0.0.tar.gz.
File metadata
- Download URL: hanzo_s3-1.0.0.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using 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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d60d0a767d67c4c04bddc6484674306d0642f3465395065151360dfb2367b9c0
|
|
| MD5 |
60031dd93a19220b1acf8f7612c76e46
|
|
| BLAKE2b-256 |
d69e7e0f26eb371dac2d5db575578640a63e9b7d92bbf2e51b599629ed559d47
|
File details
Details for the file hanzo_s3-1.0.0-py3-none-any.whl.
File metadata
- Download URL: hanzo_s3-1.0.0-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using 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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eccdbf409e1677c71d094ae7d2a6b8d8ea838f20b39ecf0d7b7f9b1fe4566db1
|
|
| MD5 |
f71865774c4682744e1355dd4a00f4cd
|
|
| BLAKE2b-256 |
c87bcd228775177200464e8396a9a329a8fea24cb9dc2a2e21b56ea5806cecaf
|