envrun-python

Run command with specified environment-variable file


License
MIT
Install
pip install envrun-python==0.0.1

Documentation

envrun-python

Latest PyPI version Latest Travis CI build status

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

Eric Gjertsen.