Skip to main content

Install

pip install uniac

Public exports

from uniac import (
    Service,      # base class for kind=lib packages
    System,       # base class for kind=app packages
    Node,         # base class for dependency references
    NodeSpec,     # shared parent of Service and System
    load,         # construct, validate, and hydrate a NodeSpec subclass
    LoadError,    # raised by load() on init or coercion failure
)

Version

import uniac
uniac.__version__

Reference

  • Service — kind=lib marker class.
  • System — kind=app marker class.
  • Node — runtime reference to a deployed dependency.
  • NodeSpec — internals shared by Service and System.
  • load — the one runtime entrypoint users call.
  • ExceptionsLoadError, UniacValidationError.