Run command with specified environment-variable file
Project description
Run command with specified environment-variable file
Install
pip install envrun-python
Usage
Run specifying environment variables in YAML format:
envrun -f env.yaml "somecmd $SOMEVAR"
Or JSON, or .env format:
envrun -f .env "somecmd $SOMEVAR"
Run within a python virtualenv:
envrun -e .venv pytest
That’s basically it.
Note the .env format parser is taken from python-dotenv.
Contact
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
envrun-python-0.0.1.tar.gz
(4.7 kB
view hashes)
Built Distribution
Close
Hashes for envrun_python-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 70403f273fe91cb6b3588205ea88541ae3b398ac2a2e73261ee4d569dd3e34f3 |
|
MD5 | 7c9d3eb75bf392196ede8739579d7040 |
|
BLAKE2b-256 | 007f9d8c823364bd38fa36126e54d1bf5780ca67968afe94556e559cf55371e6 |