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 arg1 arg2
Or JSON, or .env format:
envrun -f .env somecmd arg1 arg2
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.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size envrun_python-0.0.3-py3-none-any.whl (7.3 kB) | File type Wheel | Python version py3 | Upload date | Hashes View |
Filename, size envrun-python-0.0.3.tar.gz (4.8 kB) | File type Source | Python version None | Upload date | Hashes View |
Close
Hashes for envrun_python-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | efb314f76658ec03343285f01efa0e8a2d5ccac6900a34827b6f2572bd3b49e3 |
|
MD5 | 1663384c5c79d57d970c43d1125aec02 |
|
BLAKE2-256 | 130b61735d10c257ea7235d74b8fa2eaff9550250900f5323011fcf5c6442d2c |