Skip to main content
Pre-release

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

storage-kernel-provider-aws-s3

AWS S3 provider for Storage Kernel.

This provider maps StorageLocation.bucket to an S3 bucket and StorageLocation.prefix to an object-key namespace.

Install

uv add storage-kernel-contracts storage-kernel-provider-aws-s3

Usage

from storage_kernel.contracts import StorageClientOptions, StorageLocation
from storage_kernel.provider_aws_s3 import (
    AwsS3StorageProviderOptions,
    create_aws_s3_storage_client,
)

storage = create_aws_s3_storage_client(
    StorageClientOptions(location=StorageLocation(bucket="my-bucket", prefix="prod")),
    AwsS3StorageProviderOptions(region="us-east-1"),
)

await storage.send_content("docs/readme.txt", "Hello")

The provider uses boto3 behind the provider boundary. When credentials and client are omitted, authentication follows the standard boto3 credential provider chain. An injected client is caller-owned and may be used for custom SDK configuration or tests.

Provider Options

Option Purpose
region AWS region used by the SDK and default public URL generation
credentials Explicit credentials dictionary passed to the SDK factory
public_base_url Optional CDN/custom base URL for get_public_url
client Optional caller-owned boto3 S3 client

Capabilities

  • full binary and text reads/writes
  • object read streams
  • multipart-backed writable upload streams with explicit enablement, bounded part concurrency and optional part retention on errors
  • prefix-based directory listing and recursive deletion
  • same-provider native copy
  • S3 presigned URLs
  • public URLs through public_base_url or S3 bucket URL conventions

Provider SDK errors are normalized into Storage Kernel errors such as path not found, permission denied and provider error.

Metadata

Release files for storage-kernel-provider-aws-s3 0.1.0a8

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

Source distribution (sdist)

Source distribution for storage-kernel-provider-aws-s3 0.1.0a8
File Size Uploaded Provenance
storage_kernel_provider_aws_s3-0.1.0a8.tar.gz 10.2 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for storage-kernel-provider-aws-s3 0.1.0a8
File Interpreter ABI Platform
storage_kernel_provider_aws_s3-0.1.0a8-py3-none-any.whl Python 3 none any Details

Total release size: 23.1 kB

Release files / storage_kernel_provider_aws_s3-0.1.0a8.tar.gz

Download URL storage_kernel_provider_aws_s3-0.1.0a8.tar.gz
Size 10.2 kB
Tags Source
SHA-256 checksum
How to use checksums
e126043abd3c7805a3c227aaecbda030b6a103c9b21595e3770e35a1af270865
BLAKE2b-256 checksum
How to use checksums
4e3637b30949167981eef050e45b3b5798dc80a8ae98c23b1e8d3e7fb04852b4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.13

Release files / storage_kernel_provider_aws_s3-0.1.0a8-py3-none-any.whl

Download URL storage_kernel_provider_aws_s3-0.1.0a8-py3-none-any.whl
Size 12.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
270915c1e320e94b08cb577f0d566a4e7b3e65f744ec641853db7e5633e799eb
BLAKE2b-256 checksum
How to use checksums
4676f3c0cd2f9daa24ace13a9d7e06451dc45e39d8958ccb33fb5e068f418fa6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.13

Security for storage-kernel-provider-aws-s3 0.1.0a8

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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