Environment variables are the default way many Python apps handle configuration.
They are simple, portable, and work in every deployment environment.
But as soon as you add more than a handful of settings, raw env vars become fragile and hard to reason about.
Pydantic used to solve this with …