Skip to content

Overview

Labox has built-in and third-party components which can be added to a registry that you pass when saving and loading storables. For example, the following example creates a registry with built-in Labox components as well as those for Pandas and Pydantic support:

from labox.builtin import FileStorage
from labox.core import Registry

registry = Registry(
    modules=["labox.builtin", "labox.extra.pandas", "labox.extra.pydantic"],
    default_storage=FileStorage("temp", mkdir=True),
)