Skip to main content
Pre-release

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

storage-kernel-factory

Dynamic provider factory for Storage Kernel.

The factory normalizes provider aliases and imports provider packages only when a client is requested. It does not force every provider to be installed by applications.

Install

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

Usage

from storage_kernel.contracts import StorageLocation
from storage_kernel.factory import CreateStorageClientConfig, create_storage_client

storage = await create_storage_client(
    CreateStorageClientConfig(
        provider_name="filesystem",
        location=StorageLocation(directory=".storage"),
    )
)

provider_name is mandatory. provider_class optionally accepts a class that follows StorageClientClass; instances are rejected. The created client always receives the shared observability and error-normalization behavior, even when the custom class does not inherit a kernel base class.

Use extras such as storage-kernel-factory[aws-s3] when published packages are available.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

storage_kernel_factory-0.1.0a1.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

storage_kernel_factory-0.1.0a1-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file storage_kernel_factory-0.1.0a1.tar.gz.

File metadata

  • Download URL: storage_kernel_factory-0.1.0a1.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.13

File hashes

Hashes for storage_kernel_factory-0.1.0a1.tar.gz
Algorithm Hash digest
SHA256 4a12dfd9d0a3928c43c4b77fa152e2f7e0ef30ac3969159e876eed4b8a458654
MD5 43484d4acb2fbda8d23feac3fafdd482
BLAKE2b-256 c7e3962af446820f9be8a3722fbf1188b08749f27f2087a2af539ffcc49a4970

See more details on using hashes here.

File details

Details for the file storage_kernel_factory-0.1.0a1-py3-none-any.whl.

File metadata

File hashes

Hashes for storage_kernel_factory-0.1.0a1-py3-none-any.whl
Algorithm Hash digest
SHA256 e392fda37bcda2dd605882d8db88e72d654eaf02dc91cdb437ca8d8430bc76a4
MD5 36164665e67930737f96d6258dad1ab5
BLAKE2b-256 02e21d1adc136dab971ed9b812d99e5807435d7008774648ede4ed6213ed282e

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.0a1 This release

2 files

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