Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/zimfw/pvenv

Manages all python venvs in one place using just venv and pip.
https://github.com/zimfw/pvenv

pip python-venv venv zim zimfw zsh zsh-plugin zsh-plugins

Last synced: about 2 months ago
JSON representation

Manages all python venvs in one place using just venv and pip.

Awesome Lists containing this project

README

        

pvenv
=====

Manages all python venvs in one place. Pretty much like [pipenv] or [poetry],
but using just venv and pip.

Usage
-----


Usage: pvenv [-n|--name <venv_name>] <command> [arg...]

-n|--name <venv_name> Set a custom venv name. Default: unique name based on the name of the
current directory.

Commands:
use [python] [arg...] Create venv using the provided python executable (if venv doesn't exist)
and activate it. If no python executable is provided, defaults to
python3. Any additional arguments given are passed to the venv creation
script. See python3 -m venv --help
ls List path of venv, if venv exists.
rm Remove venv.

Settings
--------

By default, all venvs are created under `${HOME}/.venvs`. This path can be
customized with:

PVENV_HOME=/path/to/venvs

[pipenv]: https://pipenv.pypa.io/
[poetry]: https://python-poetry.org/