Thriving Thriving Go GO
โ†‘ 30 ?
invenv jsnjack/invenv

A tool to automatically create and run your Python scripts in a virtual environment with installed dependencies

HEALTH ? 63 / Stable
// solo builder// hidden gem pythonpython-venvpython-virtual-environmentpython-virtualenv ?

// readme

invenv

invenv is a tool to run your Python scripts in an automatically created virtual environment with installed dependencies.

It tries to simplify running Python scripts (or even applications!) by taking from you the burden of creating and maintaining virtual environments.

Description

Usage:
  invenv [invenv-flags] -- [VAR=val] python-script.py [flags]
  invenv [command]

Examples:
invenv -- somepath/myscript.py
invenv -n -- somepath/myscript.py --version
invenv -r req.txt -- DEBUG=1 somepath/myscript.py

Available Commands:
  completion  Generate the autocompletion script for the specified shell
  help        Help about any command
  init        initialize a virtual environment in the current directory

Flags:
  -d, --debug                      Debug-level logging on stderr.
  -h, --help                       help for invenv
  -n, --new-environment            create a new virtual environment even if it already exists
  -p, --python string              use specified Python interpreter
  -r, --requirements-file string   use specified requirements file. If not provided, it
                                   will try to guess the requirements file name:โ€ฆ