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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Close
Hashes for env_automatically-0.0.1-py3.6.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3bdfb6e460ce917079212e7c0871a3fad1f4087b57c26cd38700b1bf8c424d61 |
|
MD5 | 40ce22b4b851b729dd814d9a4fbba2e9 |
|
BLAKE2b-256 | 8f6a851de5e70eab05e44b921919450df83c2e7d49e33a2d999e53d0e759bbcd |
Close
Hashes for env_automatically-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f8315a612c89b2db9cfb4a4a50ff713482f7faa08124b95c88e6833af3dc47a |
|
MD5 | 6b72bfae9897f9e94ce95c5d6acc0b0e |
|
BLAKE2b-256 | b352733715e5fbac33dcb22f5d939f2603fb3abb2b3b2863bd5a55c98fd347c1 |