Automatically set environment variables from .env file when running any Python command.
Project description
AutoDotEnv
AutoDotEnv is a simple tool to automatically set environment variables from a .env file when running any Python command.
Usage
pip install AutoDotEnv
Install your Python-based tools of choice that can be configured via environment variables (e.g. awscli, ansible).
Create a .env file in the current directory values set to configure the installed tools.
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
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | bcb2561531140798b2e4abf00dadc85f9369d967119930a7f8864bdf3f9be14c |
|
MD5 | 85614361c3a3b6d86b9542ada8e47731 |
|
BLAKE2b-256 | f38768afdaff03c96cd3ef04e86df61644fbd1b6f271093a8c01e438278d5f9d |
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | d36c5436b41a7f8e3b3acbcddb49edcd18bc5dfe0ce8407573a33e6093e92db5 |
|
MD5 | 73798a73a4238cecab9bf8acd8c1b653 |
|
BLAKE2b-256 | 7f8309b8a906c8a86f85fa4c2b39386358fdb625bb9061d2e68449c3650cd179 |