pydantic/pydantic-settings
Settings management using pydantic observed · 2026-08-28
Health v2 · maintenance only
94/100
- Activity 99
- Release rhythm 84
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 38.5
- age_days: 1456
- days_rel: 26
- days_push: 10
- n_releases_24m: 21
Adoption not part of the score
1433 stars · 179 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
pydantic-settings is a Python library for managing application settings and configuration using Pydantic models. It loads type-validated settings from environment variables, .env files, and secrets directories, with support for aliases, defaults, and manual overrides.
Use cases
- load app configuration from environment variables with type validation
- manage settings via .env files in a python project
- validate environment variables against a typed config class
- override settings in unit tests
- load secrets from files or directories
- define a 12-factor app configuration in python
When to choose
- you already use Pydantic and want validated, type-hinted configuration
- you need settings sourced from env vars, dotenv files, or secrets directories
- you want clear validation errors pointing at misconfigured environment values
When to avoid
- you need a full configuration system with dynamic reload or remote config stores
- your project doesn't use Python or the Pydantic ecosystem
- you only need simple key-value parsing without validation
Facets
library · maturity active
configuration-management serialization developer-tools developer-tools backend web-development python cross-platform pydantic environment-variables settings dotenv type-hints config-validation secrets-files
10 sources
- readme: https://github.com/pydantic/pydantic-settings · fetched 2026-08-28 · a1b2df6ed6ba
- homepage: https://pydantic.dev/docs/validation/latest/concepts/pydantic_settings/ · fetched 2026-08-29 · 136f624831a1
- site_page: https://pydantic.dev/docs · fetched 2026-08-29 · 8fbf5785f930
- site_page: https://pydantic.dev/docs/validation/latest/get-started · fetched 2026-08-29 · 45a18505182c
- site_page: https://pydantic.dev/docs/ai · fetched 2026-08-29 · 5a0acbe090de
- site_page: https://pydantic.dev/docs/logfire · fetched 2026-08-29 · 44d3778fd335
- site_page: https://pydantic.dev/docs/httpx2/get-started · fetched 2026-08-29 · 9e483eaace82
- site_page: https://pydantic.dev/docs/monty/get-started · fetched 2026-08-29 · 10df026bf6ec
- site_page: https://pydantic.dev/docs/validation/latest/get-started/why · fetched 2026-08-29 · a2b06a019519
- site_page: https://pydantic.dev/docs/validation/latest/get-started/help_with_pydantic · fetched 2026-08-29 · 4168e4d83159
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| pydantic/pydantic-settings | main | 94 |
For agents
markdown · JSON · MCP: product_card(name="pydantic/pydantic-settings")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem