API Reference
Generated from the docstrings. Everything public is importable from
anycfg, anycfg.formats, anycfg.sources,
anycfg.exceptions (also re-exported at the root) and
anycfg.testing; every other module starts with _ and is private.
- Loading —
load,loads,load_all,loads_all,dump,dumps, the layeredLoaderand theLoadEventitson_errorreceives. - Policy and context —
Policy, the trust settings of a load, andLoadContext, what a format or source sees of it. - Formats — the
Formatbase class and the registry. - Sources —
Source,Payload,Text,Data,Env,Commandand the scheme registry. - Merging and typed results —
DELETE,register_merge,hydrate,dehydrate,typed_mergeand its hooks,DotAccessibleDict. - Interpolation — the
Interpolatorprotocol,TemplateInterpolatorandVarsInterpolator. - Exceptions — the
ConfigErrorfamily. - Testing —
FormatContract, the suite every format passes.
The installed package also carries anycfg/AGENTS.md, a one-file header
of every public name with its signature, defaults and gotchas.