tanat.store package#

Subpackages#

Submodules#

tanat.store.factory module#

Store factory class.

class tanat.store.factory.StoreFactory[source]#

Bases: object

Factory for creating stores based on manifest definitions.

CORE_FILENAME = 'core.json'[source]#
classmethod from_path(store_path: Path)[source]#

Load a store instance based on the core file.

Parameters:

store_path – Path to the store directory containing the core file.

Returns:

An instance of the specified store.

static get_core_path(store_path: Path) Path[source]#

Returns the full path to the core file for a given store.

static load_core(core_path: Path) dict[source]#

Loads the core JSON file from the given path.

Module contents#

Package stub.