Skip to content

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

License

Notifications You must be signed in to change notification settings

cchurch/autodotenv

Repository files navigation

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.

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published