_config¶
Configuration management for manim-eng.
Exposes the configuration of manim-eng through the config_eng variable as well as
the temporary configuration context manager tempconfig_eng.
Modules
Configuration classes and parser as well as manim-eng's default configuration. |
|
Configuration readers for parsing TOML config files to Python dictionaries. |
Functions
- manim_eng._config.tempconfig_eng(temp_config: dict[str, Any]) Generator¶
Context manager for temporary configuration.
Note
This does not change Manim’s configuration, only that of manim-eng.
- Parameters:
temp_config (dict[str, Any]) – Key-value pairs to use to temporary update the manim-eng configuration.
Examples
>>> config_eng.debug False >>> with tempconfig_eng({"debug": True}): ... print(config_eng.debug) ... True >>> config_eng.debug False