dau_driver

dau-driver: host I/O for a DAU device.

Exports load on first use (dau_driver._lazy), so importing this package does not import ccflow and its stack before a caller asks for a name that needs it.

Submodules

Attributes

__version__

_EXPORTS

Functions

lazy_exports(package, exports) → tuple[collections.abc.Callable[[str], object], list[str]]

A module __getattr__ and __all__ for {submodule: names}.

Package Contents

dau_driver.lazy_exports(package: str, exports: dict[str, tuple[str, ...]]) → tuple[collections.abc.Callable[[str], object], list[str]][source]

A module __getattr__ and __all__ for {submodule: names}.

Returns both so the two cannot disagree: a name exported by nothing is not reachable, and a name declared here and missing from its submodule raises on first access rather than at import – which is what the package’s lazy-export guard test turns back into an import-time error.

dau_driver.__version__ = '0.1.0'
dau_driver._EXPORTS