modelw-env-manager

A tool to simplify reading environment variables and .env files


Keywords
django, env, configuration
License
WTFPL
Install
pip install modelw-env-manager==1.0.0b2

Documentation

Model W — Env Manager

The goal of the env manager is to help managing the loading of environment variables and Django settings (although this is not Django-dependent).

Typical use is:

from model_w.env_manager import EnvManager


with EnvManager() as env:
    SOME_VALUE = env.get('SOME_VALUE', is_yaml=True, default=False)

Documentation

✨ Documentation is there ✨