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.1.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: AutoDotEnv-0.1.1.tar.gz
  • Upload date:
  • Size: 3.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/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.0

File hashes

Hashes for AutoDotEnv-0.1.1.tar.gz
Algorithm Hash digest
SHA256 bcb2561531140798b2e4abf00dadc85f9369d967119930a7f8864bdf3f9be14c
MD5 85614361c3a3b6d86b9542ada8e47731
BLAKE2b-256 f38768afdaff03c96cd3ef04e86df61644fbd1b6f271093a8c01e438278d5f9d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: AutoDotEnv-0.1.1-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.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.0

File hashes

Hashes for AutoDotEnv-0.1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 d36c5436b41a7f8e3b3acbcddb49edcd18bc5dfe0ce8407573a33e6093e92db5
MD5 73798a73a4238cecab9bf8acd8c1b653
BLAKE2b-256 7f8309b8a906c8a86f85fa4c2b39386358fdb625bb9061d2e68449c3650cd179

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