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 is a simple tool to automatically set environment variables from a .env file when running any Python command.


  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.


  • 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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for AutoDotEnv, version 0.1.3
Filename, size File type Python version Upload date Hashes
Filename, size AutoDotEnv-0.1.3-py2.py3-none-any.whl (3.3 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size AutoDotEnv-0.1.3.tar.gz (3.0 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page