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.

Source Distribution

env-automatically-0.0.1.tar.gz (2.1 kB view details)

Uploaded Source

Built Distributions

env_automatically-0.0.1-py3.6.egg (2.5 kB view details)

Uploaded Egg

env_automatically-0.0.1-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file env-automatically-0.0.1.tar.gz.

File metadata

  • Download URL: env-automatically-0.0.1.tar.gz
  • Upload date:
  • Size: 2.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.6.9

File hashes

Hashes for env-automatically-0.0.1.tar.gz
Algorithm Hash digest
SHA256 62d610796afa7f9becbbd3e8a5d3d2fa756105909df229aa82368e4a658fd5fd
MD5 758310956aed6f1113061325671d744b
BLAKE2b-256 3249644414e3fe202b3210b0ae1c9b12f9fa64a8cc5029af8709fe8fef23a75e

See more details on using hashes here.

File details

Details for the file env_automatically-0.0.1-py3.6.egg.

File metadata

  • Download URL: env_automatically-0.0.1-py3.6.egg
  • Upload date:
  • Size: 2.5 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.6.9

File hashes

Hashes for env_automatically-0.0.1-py3.6.egg
Algorithm Hash digest
SHA256 3bdfb6e460ce917079212e7c0871a3fad1f4087b57c26cd38700b1bf8c424d61
MD5 40ce22b4b851b729dd814d9a4fbba2e9
BLAKE2b-256 8f6a851de5e70eab05e44b921919450df83c2e7d49e33a2d999e53d0e759bbcd

See more details on using hashes here.

File details

Details for the file env_automatically-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: env_automatically-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.6.9

File hashes

Hashes for env_automatically-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8f8315a612c89b2db9cfb4a4a50ff713482f7faa08124b95c88e6833af3dc47a
MD5 6b72bfae9897f9e94ce95c5d6acc0b0e
BLAKE2b-256 b352733715e5fbac33dcb22f5d939f2603fb3abb2b3b2863bd5a55c98fd347c1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page