configparserStandard library
INI file parser.
5 projects in Python Toolchain. Most starred: hydra-core, python-dotenv and dynaconf.
configparser in the standard library reads and writes INI files and needs no dependencies. python-dotenv loads variables from a .env file into the environment, which is the usual way to configure local development without committing secrets. pydantic-settings declares settings as a typed Pydantic model and fills it from environment variables, .env files and secret files, with validation at startup so a missing or malformed value fails early.
configparserStandard library
INI file parser.
Reads key-value pairs from a.env file and sets them as environment variables.
Settings management using Pydantic models with validation, loading from environment variables and secrets files.
Hydra is a framework for elegantly configuring complex applications.
Dynaconf is a configuration manager with plugins for Django and Flask.