Skip to main content
Pre-release

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

Sandloom S3 driver

Install this package alongside the matching Sandloom release. For a checkout, run uv pip install -e packages/sandloom -e packages/sandloom-s3 from the repository root. Sandloom discovers objectstore.s3 through the sandloom.drivers entry-point group.

For an existing AWS S3 general-purpose bucket, set:

INFRA='{"objectstore":{"default":{"driver":"s3","bucket":"app-objects","region":"eu-west-1"}}}'

The driver uses the AWS credential chain by default. For MinIO or another S3-compatible endpoint, add endpoint_url and, if needed, set addressing_style to path. Supply credentials through the SDK environment or through both access_key_id and secret_access_key in the instance configuration. Use an HTTPS endpoint in production.

The credentials need PutObject, GetObject and DeleteObject permissions on the object keys. Readiness probes use HeadBucket, which requires ListBucket on AWS. The bucket must already exist. url() signs a GET for 300 seconds by default. The endpoint used for signing must be reachable by the URL recipient. Treat the signed URL as a credential until it expires.

Uploads accept bytes or a stream with an async read(size) method. Stream uploads spool to temporary storage before one PutObject call. max_upload_size_bytes defaults to 50 MiB and also limits downloads, which return bytes in memory. Zero removes the configured limit. Single PUTs are still capped at 5 GiB. Delete follows S3 semantics and succeeds for absent keys.

AWS S3 general-purpose buckets, MinIO and SeaweedFS use the same driver. Other S3-compatible services can be exercised with the same endpoint test using a dedicated test bucket and SANDLOOM_S3_TEST_ENDPOINT. Compatibility depends on the service's support for SigV4, HeadBucket, PutObject, GetObject, DeleteObject and signed GETs.

Backend compatibility

Backend Configuration Verification
Amazon S3 general-purpose buckets Bucket and AWS region, SDK credential chain Targeted by the driver. The endpoint suite can run against a dedicated AWS test bucket. AWS S3 API
MinIO Endpoint URL, region, path-style addressing Passed the endpoint suite on RELEASE.2025-04-22T22-12-26Z. The MinIO integration job uses that release. MinIO and boto3
SeaweedFS Endpoint URL, region, path-style addressing Passed the endpoint suite on 4.53. The SeaweedFS integration job uses that release. SeaweedFS S3 quick start
Cloudflare R2 Account S3 endpoint, region auto, R2 API credentials Candidate for endpoint testing. R2 S3 compatibility
Ceph RGW Gateway endpoint, region and credentials for that gateway Candidate for endpoint testing. Ceph S3 API compliance

SeaweedFS 3.97 failed the endpoint suite during reads with NoSuchBucket after successful writes.

Run the endpoint suite from the repository root. It writes and removes objects under unique conformance/ keys in the selected bucket.

SANDLOOM_S3_TEST_BUCKET=sandloom-conformance \
SANDLOOM_S3_TEST_ENDPOINT=http://127.0.0.1:9000 \
uv run --no-sync pytest -n 2 --dist loadfile packages/sandloom-s3/tests

The MinIO CI job runs the endpoint suite as a service user with s3:ListBucket on the test bucket and object permissions under conformance/*. To run its access check on an existing test endpoint, seed an object outside the permitted prefix as an administrator and set SANDLOOM_S3_TEST_DENIED_KEY to that key. Run pytest with the service user's credentials. The check expects a missing key under the permitted prefix to raise NotFound (sandloom.driverkit) and reads of the seeded object to return HTTP 403, including through a signed GET URL.

Metadata

Release files for sandloom-s3 0.7.0a15

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

Source distribution (sdist)

Source distribution for sandloom-s3 0.7.0a15
File Size Uploaded Provenance Actions
sandloom_s3-0.7.0a15.tar.gz 10.1 kB With provenance Details for sandloom_s3-0.7.0a15.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for sandloom-s3 0.7.0a15
File Interpreter ABI Platform Actions
sandloom_s3-0.7.0a15-py3-none-any.whl Python 3 none any Details for sandloom_s3-0.7.0a15-py3-none-any.whl

Total release size: 21.5 kB

Release files / sandloom_s3-0.7.0a15.tar.gz

Download URL sandloom_s3-0.7.0a15.tar.gz
Size 10.1 kB
Tags Source
SHA-256 checksum
How to use checksums
d19f0dd5e94431dacc3aa8b5b5ba0611f865b108567eff788ec73bc95f6fbd10
BLAKE2b-256 checksum
How to use checksums
3e46468400b03833fe6697995500d059775d0a97db26cc5e22bdf4cae3b418cb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.

Transparency log

Release files / sandloom_s3-0.7.0a15-py3-none-any.whl

Download URL sandloom_s3-0.7.0a15-py3-none-any.whl
Size 11.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8ea7e4572268ff9a899be71aa0efa779d11f34209e45bb789b2d24f01aa7d795
BLAKE2b-256 checksum
How to use checksums
d96ddceaf48454a41439f25ef959e71b394ccd4fc1b5b31e32cf97431b130634
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.

Transparency log

Security for sandloom-s3 0.7.0a15

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for sandloom_s3-0.7.0a15.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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