httk.handlers.data

Self-registration of httk-data’s standard OPTIMADE entry providers.

Imported during httk.core discovery, this package registers httk-data’s in-memory providers for the standard entry types httk-core vendors (references, files, calculations) and the database-backed StoreEntryProvider as lazy factory references, mirroring the loader-registration pattern used by the other httk.handlers.* packages.

Functions

register_entry_provider(→ None)

Register an EntryProvider factory under name.

Package Contents

httk.handlers.data.register_entry_provider(*, name: str, factory: str) None[source]

Register an EntryProvider factory under name.

factory is a lazy "module:callable" reference to a callable that constructs a provider (providers need data, so applications call the factory themselves; the registry only records how to reach it). This mirrors register_loader.