Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 3 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

Pydantic Settings

Settings management and configuration from environment variables using Pydantic.

Dev workflow and configPYPI

GitHubWebsite

1. License

License from PyPI license expression.

github.com/pydantic/pydantic-settings

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

71 / 100
Gid Score, #354 overall
123M
downloads a week, pypi
1,504
GitHub stars
219
agent projects use it
Pydantic Settings: downloads per weekPyPI, pydantic-settings 122,656,576
Pydantic Settings: GitHub starspydantic/pydantic-settings 1,504

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

117 projects, 3.6%
115 projects, 3.8%
74 projects, 3.0%
14 projects, 4.2%
13 projects, 2.7%
11 projects, 2.3%
10 projects, 3.6%
7 projects, 6.3%

Often used with

In 84.5% of its projects
In 71.2% of its projects
In 67.6% of its projects
In 57.1% of its projects
In 41.6% of its projects
In 41.1% of its projects
In 38.4% of its projects
In 37.0% of its projects

More about Pydantic Settings

Funding
  • GitHub Sponsors: https://github.com/samuelcolvin
  • 21 GitHub sponsors

See all

Head to head
More in Dev workflow and config

Alternatives

Pydantic Settings This page

MITGid 71123M/wk

python-dotenv

Load environment variables from .env files in Python applications.

BSD-3-ClauseGid 80185M/wk

Compare Pydantic Settings with another tool

Get started

Install it.

pip install pydantic-settings

No step-by-step start for Pydantic Settings yet: we have not written its hand-checked card.