pip install --upgrade magiccfg
db_host = config["database"]["production"]["host"] After (v1.3):
Before:
MagicCFG v1.3: Smarter Configuration, Less Boilerplate
— The MagicCFG Team Tags: #release #magiccfg #v1.3 #devtools #configuration magiccfg v1.3
We are excited to announce the release of — the latest update to your favorite configuration management tool.
# schema.yaml database: host: string port: number(min=1024, max=65535) If a value is missing or invalid, you’ll get a clear error before your app starts — no more runtime surprises. We rewrote the internal merge engine in Rust (behind a Python binding) while keeping the API identical. Large configs with deep inheritance now load in half the time. For microservices and serverless environments, this means faster cold starts. 4. Environment Variable Interpolation You can now reference environment variables directly inside any config file: Large configs with deep inheritance now load in
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.
April 18, 2026
Happy configuring 🧙♂️✨