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

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.

Project details


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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

envrun_python-0.0.3-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

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

Hashes for envrun-python-0.0.3.tar.gz
Algorithm Hash digest
SHA256 112e49dc52a2fca3eb5c1ac8a425f7d7caa6976582aaf0c3631bd24c4aa0d40a
MD5 fbcad4aa69dfb1eede92d94d211e6caa
BLAKE2b-256 cf05bd066197da57a3f3f33c33ac36a255dab22ace2ec3c6eb9eeb8788c9f63f

See more details on using hashes here.

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

Hashes for envrun_python-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 efb314f76658ec03343285f01efa0e8a2d5ccac6900a34827b6f2572bd3b49e3
MD5 1663384c5c79d57d970c43d1125aec02
BLAKE2b-256 130b61735d10c257ea7235d74b8fa2eaff9550250900f5323011fcf5c6442d2c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page