hydromodpy.spatial.delineation.registry#

Registry of delineation backends.

Maps backend names to their implementation classes, with a graceful fallback when a backend’s optional dependency is missing. Concrete backends stay lazy-imported so importing this module never pulls in whitebox_workflows or other heavy extras.

Functions

available_backends()

Return the list of registered backend names.

clear_backend_cache()

Release cached backend instances (used by tests).

get_backend([name])

Return a cached backend instance by name.

register_backend(name, loader)

Public hook to register an additional backend at runtime.