An opinionated environment variable parser, which focuses on strictness, and doing one thing well. Can be used standalone or with Django.
Coming Soon
Coming Soon
Install from PyPI with pip:
$ pip install django-envy
Use django-envy to read and cast environment variables in your django settings:
from envy import env
DEBUG = env.bool('DEBUG', default=False) # True if os.environ['DEBUG'] == 'true', defaults to False
TEMPLATE_DEBUG = DEBUG
SECRET_KEY = env('SECRET_KEY') # Will raise ImproperlyConfigured if SECRET_KEY is not in os.environ
Django-envy is licensed under the MIT license. See LICENSE
See CHANGELOG.rst
Django-envy takes inspiration from multiple sources and packages: