Skip to content

philippun1/runvenv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages