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

Uploaded Source

Built Distribution

AutoDotEnv-0.1.0-py2.py3-none-any.whl (3.4 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: AutoDotEnv-0.1.0.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.1 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.7.3

File hashes

Hashes for AutoDotEnv-0.1.0.tar.gz
Algorithm Hash digest
SHA256 89657c026219e0ce91cb37151494e00d1a49d60227610069ee139a14c1c50fc2
MD5 79f612a7253f7d53e4e78b329152aea1
BLAKE2b-256 c066ea92387d54548ccf275998af36293f3fcada701822b54252223ffe46324f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: AutoDotEnv-0.1.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.1 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.7.3

File hashes

Hashes for AutoDotEnv-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 23c28784dd587f5c0215ac8e04bc79fcda6eab1792958729da48b155ec0c9266
MD5 129d83fb6eb030b6b7e9a7f3f34b7e23
BLAKE2b-256 c79ffbd6e1425e6fa4dd125185d7c17b8074b717d8e4de5e119c7f2b87362e54

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