Python SDK

The entire public surface is six functions:

import heepx

heepx.search("review")           # -> matching capabilities
heepx.info("warrant")            # -> registry metadata, no download
warrant = heepx.learn("warrant") # -> download (if needed) and load
heepx.list()                     # -> names installed locally
heepx.verify("warrant")          # -> integrity check against the cache
heepx.update("warrant")          # -> fetch the newest version

See the full SDK reference for every function's signature, parameters, and return type, including how to swap in a custom registry or cache.

Errors

Every exception raised is a heepx.HeepXError — catch broadly or narrowly:

try:
    heepx.learn("does-not-exist")
except heepx.CapabilityNotFoundError:
    ...
except heepx.OfflineError:
    ...
except heepx.HeepXError:
    ...  # catch-all