Skip to main content

Opinionated environment variable parser for Django

Project description

An opinionated environment variable parser, which focuses on strictness, and doing one thing well. Can be used standalone or with Django.

Build status of the master branch Code coverage of the master branch Package license Latest version released on PyPi Build status of documentation

Why another environment parser?

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

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

Release History



Django-envy takes inspiration from multiple sources and packages:

Release history Release notifications

This version


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for django-envy, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size django_envy-0.1.1-py2.py3-none-any.whl (7.5 kB) File type Wheel Python version 2.7 Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page