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.1-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: runvenv-0.5.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5a48e30f2a1132435d1ab9de6613fbdc91f296061c233912547a4168a68917ac
MD5 b85f78659d2c684a60e2e41e4b68e341
BLAKE2b-256 03a0cd9f8d1a71b2437ebb95491fe7b3a9bd53945cdce6e546e14de4d4106613

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