Pipy
helps you manage your python development environment and is meant to serve as a replacement to virtualenv
. Instead of virtual environments, pipy
launches, pauses, and unpauses containers to create isolated and reproducible development environments.
pipy
is installed using pip
.
pip install pipy
To create an isolated Python environment:
pipy open
To clean up a created environment:
pipy close
pipy
uses the standardized pyproject.toml
to handle declaring, managing, and installing Python dependencies.
[tool.pipy]
name = "pipy"
[[tool.pipy.aliases]]
name = "setup"
commands = [] # Shell commands to execute to setup environment.
pipy
expects a default alias setup
to be pre-defined in order to setup the environments as they are created.