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.
Source Distribution
envrun-python-0.0.3.tar.gz
(4.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file envrun-python-0.0.3.tar.gz.
File metadata
- Download URL: envrun-python-0.0.3.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.7.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
112e49dc52a2fca3eb5c1ac8a425f7d7caa6976582aaf0c3631bd24c4aa0d40a
|
|
| MD5 |
fbcad4aa69dfb1eede92d94d211e6caa
|
|
| BLAKE2b-256 |
cf05bd066197da57a3f3f33c33ac36a255dab22ace2ec3c6eb9eeb8788c9f63f
|
File details
Details for the file envrun_python-0.0.3-py3-none-any.whl.
File metadata
- Download URL: envrun_python-0.0.3-py3-none-any.whl
- Upload date:
- Size: 7.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.7.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
efb314f76658ec03343285f01efa0e8a2d5ccac6900a34827b6f2572bd3b49e3
|
|
| MD5 |
1663384c5c79d57d970c43d1125aec02
|
|
| BLAKE2b-256 |
130b61735d10c257ea7235d74b8fa2eaff9550250900f5323011fcf5c6442d2c
|