Skip to main content

Run command with specified environment-variable file

Project description

Latest PyPI version Latest Travis CI build status

Run command with specified environment-variable file


pip install envrun-python


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.


Eric Gjertsen.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for envrun-python, version 0.0.3
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

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page