Skip to main content

Automatically set environment variables from .env file when running any Python command.

Project description

Build Status PyPI Version Python Versions

AutoDotEnv

AutoDotEnv is a simple tool to automatically set environment variables from a .env file when running any Python command.

Usage

  1. pip install AutoDotEnv

  2. Install your Python-based tools of choice that can be configured via environment variables (e.g. awscli, ansible).

  3. Create a .env file in the current directory values set to configure the installed tools.

  4. Run your installed tools and environment variables will be set automatically from the .env file.

Roadmap

  • Configure AutoDotEnv options via environment variables.

  • Configure AutoDotEnv options via a config file.

  • Load variables from file patterns other than .env.

  • Load variables only for certain Python scripts/tools.

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

AutoDotEnv-0.1.3.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

AutoDotEnv-0.1.3-py2.py3-none-any.whl (3.3 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file AutoDotEnv-0.1.3.tar.gz.

File metadata

  • Download URL: AutoDotEnv-0.1.3.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.0

File hashes

Hashes for AutoDotEnv-0.1.3.tar.gz
Algorithm Hash digest
SHA256 8f1f0acd2591a0d1b04d2cb2e1e6b57ae16ae06866832bf14f0ae812afa442ac
MD5 dd3db53766b58a9ce9800e49c9ab2d8d
BLAKE2b-256 fc6b0663e9448afc8eda7299d4f4129ee82a50175927ddb9a06f3f74d8c0ae6d

See more details on using hashes here.

File details

Details for the file AutoDotEnv-0.1.3-py2.py3-none-any.whl.

File metadata

  • Download URL: AutoDotEnv-0.1.3-py2.py3-none-any.whl
  • Upload date:
  • Size: 3.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.0

File hashes

Hashes for AutoDotEnv-0.1.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 58c2975e8129bb60b8f8bd5359f7e87b54bcd12018c665cd03ef7d5c89127c68
MD5 820e0a7277ce830b0adf45d38a70789e
BLAKE2b-256 91f1be0dcfc3d95fa7bc6117a05d8eec9d27424bc7315496e986e7cdb5fcddb5

See more details on using hashes here.

Supported by

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