From ee0caca89253536ae4c08d2ba875017efa58c3da Mon Sep 17 00:00:00 2001 From: Vinta Chen Date: Sun, 16 Aug 2026 13:54:05 +0800 Subject: [PATCH] feat: add pydantic-settings to Configuration Files MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Displacement of the dropped python-decouple: same job — settings from environment variables and files — done with validation and types on the pydantic ecosystem's momentum. 495M downloads/month (pepy), pushed 2026-08. Obvious choice, ordering after python-dotenv. Co-Authored-By: Claude --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 25b7d63a..aac3ebff 100644 --- a/README.md +++ b/README.md @@ -1075,6 +1075,7 @@ _Libraries for storing and parsing configuration options._ - [configparser](https://docs.python.org/3/library/configparser.html) - (Python standard library) INI file parser. - [python-dotenv](https://github.com/theskumar/python-dotenv) - Reads key-value pairs from a `.env` file and sets them as environment variables. +- [pydantic-settings](https://github.com/pydantic/pydantic-settings) - Settings management using Pydantic models with validation, loading from environment variables and secrets files. - [hydra-core](https://github.com/hydra-ecosystem/hydra) - Hydra is a framework for elegantly configuring complex applications. - [dynaconf](https://github.com/dynaconf/dynaconf) - Dynaconf is a configuration manager with plugins for Django, Flask and FastAPI.