config_readers¶
Configuration readers for parsing TOML config files to Python dictionaries.
Functions
- manim_eng._config.config_readers.get_project_config() dict[str, Any]¶
Load the project-level configuration from the working directory.
- Returns:
A dictionary representation of the TOML file. If the file cannot be found, returns an empty dictionary
{}.- Return type:
dict[str, Any]
- manim_eng._config.config_readers.get_user_config() dict[str, Any]¶
Load the user-level configuration into a dictionary.
Loads the user-level configuration out of
~/.config/manim/manim-eng.toml(on Linux and macOS) or~\AppData\Roaming\Manim\manim-eng.toml(on Windows) into a nested dictionary. The directory containingmanim-eng.tomlis as outlined in the Manim docs.- Returns:
A dictionary representation of the TOML file. If the file cannot be found, returns an empty dictionary
{}.- Return type:
dict[str, Any]