params-proto

API reference

Start with the public imports. Related functions and classes are documented together on the topic pages below, with signatures, docstrings, and source links.

python
from params_proto import proto, EnvVar, Field, get_var, Sweep
TopicMain APIsUse it to
Configurationproto, proto.cli, proto.prefix, proto.bind, proto.parse, proto.partialDeclare configuration, expose commands, and apply overrides.
Environment & fieldsEnvVar, Field, get_varRead environment values and compute fields.
Parameter sweepsSweep, piter, ParameterIteratorCompose and iterate experiments.
CLI helpersparse_cli_args, colorize_help, get_terminal_widthCustomize parsing and help output.
Compatibilityv1 and v2 classes, functions, and sweepsMaintain code using compatibility APIs bundled with this release.

Each page starts with a linked API index. Module sections retain the source context; methods stay with their classes. Lower-level implementation types are included where they support the public APIs, without separate sidebar pages.

Examples and earlier versions

For a walkthrough, start with Quick start, configuration patterns, or hyperparameter sweeps.

The compatibility page describes the modules shipped in the selected source version. Historical guides and earlier builds remain available through the version selector.