API Reference

The complete, always-current API reference is generated directly from the laco source with griffe: every public symbol, signature, and docstring, grouped by module.

API Reference

The complete, always-current API reference is generated directly from the laco source with griffe: every public symbol, signature, and docstring, grouped by module.

Browse the full reference

Import convention

import laco
import laco.language as L

The L alias is the idiomatic way to access the language module. All examples in these docs use it.

What's in each module

ModuleWhat's in it
lacoTop-level re-exports: load, dump, save, instantiate, main, get_env
laco.languageThe config-construction symbols, accessed as L
laco.climain: entry point for the laco CLI command
laco.compatinstall, uninstall: 0.x backward-compat shim
laco.keysLazyKey, schema and version constants
laco.opsRuntime operations used during instantiation
laco.utilsgenerate_path, locate_object, as_omegadict

Open the generated reference to browse each module's symbols.

Laco ========

LAzy COnfiguration (LACO) system, inspired by and based on Detectron2 and Hydra.
  • cliLaco command-line interface.
  • compatBackward-compatibility shim for 0.x Laco configs (task G32a).
  • handler
  • keys
  • languageConfiguration language — the lie-typing scaffolding ====================================================
  • ops
  • utils