skillfed

pydantic-settings

Settings management using Pydantic

pydantic-settings Permissive license MIT Active 1,412 v2.15.0 released

Install

pydantic-settings on PyPI

pip

pip install pydantic-settings

uv

uv add pydantic-settings

poetry

poetry add pydantic-settings

Package 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

Development Status :: 5 - Production/StableEnvironment :: ConsoleEnvironment :: MacOS XFramework :: PydanticFramework :: Pydantic :: 2Intended Audience :: DevelopersIntended Audience :: Information TechnologyIntended Audience :: System AdministratorsLicense :: OSI Approved :: MIT LicenseOperating System :: POSIX :: LinuxOperating System :: UnixProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: InternetTopic :: Software Development :: Libraries :: Python Modules

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
pydantic settings managementenvironment variable configurationdotenv settings loaderapplication config validationpydantic config managementsettings from environmentconfiguration management python

Similar packages