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, StoragePath
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(StoragePath("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_urlis configured
Signed URLs are not supported by the local filesystem provider and raise a normalized capability error.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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 storage_kernel_provider_local_filesystem-0.1.0a1.tar.gz.
File metadata
- Download URL: storage_kernel_provider_local_filesystem-0.1.0a1.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
96d2a5d485186d47e3a82d417a24d285f8aec0e1e17dbc777148c353892c16d8
|
|
| MD5 |
e5bb13f2c3ef73933d99aeaa72ee6dc2
|
|
| BLAKE2b-256 |
a54859378fb76f3925aa9fd0d029db4c7df462cb2405e9b275e9c1279ecfe9c7
|
File details
Details for the file storage_kernel_provider_local_filesystem-0.1.0a1-py3-none-any.whl.
File metadata
- Download URL: storage_kernel_provider_local_filesystem-0.1.0a1-py3-none-any.whl
- Upload date:
- Size: 8.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2630ee74784d143aefccce27d94d089a4f61f5da73e86692d0559063f368361f
|
|
| MD5 |
389f2f3c54188161cb5ebd275ebee896
|
|
| BLAKE2b-256 |
baa742a7d90ae916d0acfe3aca2ccc4c3a76edad654258ba5ff5ddfb6b9c404b
|