Pydantic Settings
Load structured application settings from environment text.
pydantic · Code and testing
GitHub projectOpen source Open on GitHubHow to try it
In a Python virtual environment, install pydantic-settings==2.16.3. Set a fictional environment variable and read its numeric value through a settings model.
What we tested
2.16.3. Set a fictional environment variable and read its numeric value through a settings model. Loaded the fixture variable as integer seven instead of the default.