pydantic-settings
Settings management using Pydantic
Install
pydantic-settings on PyPI
pip
pip install pydantic-settingsuv
uv add pydantic-settingspoetry
poetry add pydantic-settingsPackage facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 3 — pydantic, python-dotenv, typing-inspection |
| Maintenance | actively maintained — 6 days since the last release |
| Last repo commit | |
| First released | |
| Popularity | one of the 100 most-downloaded packages on PyPI (30-day window, as of 2026-08-13) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-13) |
Evidence: pydantic_settings-2.15.0-py3-none-any.whl
About pydantic-settings
from the package's own PyPI description — quoted content, verbatim
pydantic-settings
CI (image) Coverage (image) pypi (image) license (image) downloads (image) versions (image)
Settings management using Pydantic.
See documentation for more details.
Part of the Pydantic Stack
The Pydantic Stack is everything you need to ship production-grade AI agents:
- [Pydantic...
Read as markdown · JSON record · Source repository · Homepage · Docs
AI interpretation — verify before relying
AI-generated interpretation of the package facts above; every digit, version, license, or vulnerability id it cites is grounded in the facts already shown on this page
Manages application settings and configuration using Pydantic models, with support for loading from environment variables, .env files, and other sources through python-dotenv integration.
Low install friction with a pure-wheel distribution and only three runtime dependencies (pydantic, python-dotenv, typing-inspection). Actively maintained with a release 6 days old and continuous CI/CD signals.
MIT license permits unrestricted use, modification, and distribution in both open-source and commercial projects with minimal obligations.
Usage
pip install pydantic-settings
from pydantic_settings import BaseSettings
class Settings(BaseSettings):
api_key: str
debug: bool = False
settings = Settings()
Requires Python 3.10 or later; pydantic must be installed as a runtime dependency.
Verdict: Production-ready settings library with active maintenance, no known vulnerabilities, permissive MIT licensing, and minimal dependencies. Top-100 PyPI package backed by the Pydantic team with strong CI coverage and broad Python version support (3.10–3.14).
Needs verification
- Whether typing-inspection is used for all Python versions or only specific ones
- Performance characteristics when loading large configuration files or many environment variables
Similar packages
permissive · top 1,000 on PyPI
pydanticpermissive · top 100 on PyPI
pydantic-ai-slimpermissive · top 1,000 on PyPI
python-dotenvpermissive · top 100 on PyPI
pydantic-graphpermissive · top 1,000 on PyPI
mlflowpermissive · top 1,000 on PyPI
httpx2permissive · top 1,000 on PyPI
logfire-apipermissive · top 1,000 on PyPI
mlflow-skinnypermissive · top 1,000 on PyPI
litellmpermissive · top 100 on PyPI