Skip to main content

Tool extract environments from settings.py to .env file

Project description

Extract Env

This project was created to solve the recurring problem of adding an environment variable to the settings.py with python-decouple while not adding the same variable to the .env file. It reads the settings.py file and then creates the .env file with all environment variables already set.

How to install

pip install env-automatically

How to use

1 - Go to the Django project folder where settings.py is.

2 - Run command:

env-automatically .

3 - The file .env will be created in the same folder of settings.py.

Project details


Download files

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

Files for env-automatically, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size env_automatically-0.0.1-py3.6.egg (2.5 kB) File type Egg Python version 3.6 Upload date Hashes View
Filename, size env_automatically-0.0.1-py3-none-any.whl (3.7 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size env-automatically-0.0.1.tar.gz (2.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page