Skip to main content

run python scripts or modules in a venv with a single command

Project description

runvenv

PyPI Python License: MIT

Runs a script or module in a venv and forwards any parameter. This includes non positional arguments like --help, --init, --path, --check, --requirements, etc.

With no parameters given this help will be shown. To only create a venv and not run anything you can use the --init parameter. If the venv does not exist yet, it will create it and also install all requirements in either reqirements.txt, .requirements.txt or .requirements.venv if available.

To check if a venv is already set up use the parameter --check. Depending on the status exit code is: 0 = up-to-date 1 = available but not up-to-date 2 = not available

A custom venv path or requirements file can be configured via parameters.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

runvenv-0.5.0-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file runvenv-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: runvenv-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.0 CPython/3.13.7

File hashes

Hashes for runvenv-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 df177723262a05d95ae1422a02d87057b0c4c30abcab992cd811a1fe75b67228
MD5 998fd8e14a5b165229e344ac48ddd06c
BLAKE2b-256 a589eebcf7f6d44ec720900f5eb9d5d38bcff44c56b3bcaa43f28a54b38b51b3

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