Magiccfg V1.3 <UPDATED ✧>
pip install magiccfg==1.3 Or visit magiccfg.dev for full documentation.
go get github.com/magiccfg/magiccfg@v1.3 magiccfg v1.3
Before:
api: key: ${API_KEY} url: "https://${ENV}.example.com" MagicCFG resolves these at load time, with clear warnings for missing variables. Python (PyPI): pip install magiccfg==1
If you’ve ever spent hours debugging a yaml indentation error or writing the same environment variable loading logic for the fifth time, MagicCFG is here to help. Version 1.3 focuses on three things: , performance , and reducing boilerplate . What’s New in v1.3? 1. Dot Notation for Nested Keys (Finally!) Access nested configuration values without chaining .get() methods or catching KeyError exceptions. magiccfg v1.3
db_host = config["database"]["production"]["host"] After (v1.3):