Pydantic Settings
Settings management and configuration from environment variables using Pydantic.
3. Used by agents' projects
Dependency in 219 public GitHub projects set up for AI coding agents that we scanned (3.5%).
4. Agent access
Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.
From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error
What Pydantic Settings does
Settings management and configuration from environment variables using Pydantic.
Pydantic Settings popularity
Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated
How Pydantic Settings is used
- Pydantic Settings is a dependency in 219 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (13.5% of the 1,623 Python ones), #7 of 299 in dev workflow and config.
- Counting the projects our scan samples by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750), it appears in 1,439; those are left out of every share on this page.
- The most used alternative in our scan is python-dotenv (568 projects).
- Projects that use it most often also use Pydantic (84.5%), Uvicorn (71.2%), FastAPI (67.6%).
- It is more common in projects set up for Roo Code (6.3%) than for OpenAI Codex (2.3%).
By coding agent
Often used with
More about Pydantic Settings
Funding
- GitHub Sponsors: https://github.com/samuelcolvin
- 21 GitHub sponsors
Head to head
- python-dotenv vs Pydantic Settings used together in 125 projects
More in Dev workflow and config
Alternatives
Pydantic Settings This page
Load environment variables from .env files in Python applications.
Get started
Install it.
pip install pydantic-settingsNo step-by-step start for Pydantic Settings yet: we have not written its hand-checked card.