16 lines
643 B
Python

"""sanad_pkg — shared library baked into the `sanad-base` Docker image.
Modules:
license Offline Ed25519 license verification + entitlement.
license_check CLI gate run by every package entrypoint (`python -m sanad_pkg.license_check P1`).
bus EventBus shim — preserves Sanad's core/event_bus API, ZMQ-backed
across containers when pyzmq + SANAD_BUS_ADDR are present, else
an in-process fallback (identical API).
Kept Python-3.8 compatible (the on-robot conda env) — no match-statements,
no PEP-604 unions in annotations.
"""
__all__ = ["license", "bus"]
__version__ = "0.1.0"