Skip to main content
Pre-release

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

storage-kernel-provider-local-filesystem

Local filesystem provider for Storage Kernel.

This provider is useful for local development, tests, CI without cloud infrastructure, and projects that intentionally store files on disk.

Install

uv add storage-kernel-contracts storage-kernel-provider-local-filesystem

Usage

from storage_kernel.contracts import StorageClientOptions, StorageLocation
from storage_kernel.provider_local_filesystem import create_local_filesystem_storage_client

storage = create_local_filesystem_storage_client(
    StorageClientOptions(location=StorageLocation(directory=".storage"))
)

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

StorageLocation.directory is mandatory and non-empty. Paths are resolved safely inside it, and empty logical paths are rejected.

Provider Options

Option Purpose
public_base_url Enables get_public_url for files served by an external static/file server

Capabilities

  • full binary and text reads/writes
  • read streams and writable upload streams
  • recursive directory reads and deletes
  • same-provider native copy
  • safe path resolution inside StorageLocation.directory
  • public URLs when public_base_url is configured

Signed URLs are not supported by the local filesystem provider and raise a normalized capability error.

Metadata

Release files for storage-kernel-provider-local-filesystem 0.1.0a4

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-local-filesystem 0.1.0a4
File Size Uploaded Provenance
storage_kernel_provider_local_filesystem-0.1.0a4.tar.gz 6.8 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for storage-kernel-provider-local-filesystem 0.1.0a4
File Interpreter ABI Platform
storage_kernel_provider_local_filesystem-0.1.0a4-py3-none-any.whl Python 3 none any Details

Total release size: 16.2 kB

Release files / storage_kernel_provider_local_filesystem-0.1.0a4.tar.gz

Download URL storage_kernel_provider_local_filesystem-0.1.0a4.tar.gz
Size 6.8 kB
Tags Source
SHA-256 checksum
How to use checksums
5aa3c5006b24dc4e064295ebc43a71610b887cb10decad348f35dd1970771a3d
BLAKE2b-256 checksum
How to use checksums
0d8453e19c409bae0102d42a6286a01507d8de6daf955973f0e8f3a3a9d9b4c2
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_local_filesystem-0.1.0a4-py3-none-any.whl

Download URL storage_kernel_provider_local_filesystem-0.1.0a4-py3-none-any.whl
Size 9.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3f67e38178f9d919e45e9c6881eac9fc789e760190ed226f35b19f4789c17f96
BLAKE2b-256 checksum
How to use checksums
3a3e2b21f7143adbf463055534ca2aaac34d1a6dba0455ca6935b5f4ecd4dd1e
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-local-filesystem 0.1.0a4

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