Python Pipx

pipx(1) is a package management toolchain for Python, modeled after the Node toolchain. It wraps pip and venv.


Installation

Install pipx using pip.


Usage

For most use cases, simply replace pip with pipx in any command.

Packages installed this way are created as virtual environments under ~/.local/pipx.

If a package has correctly defined entry points, executable scripts are created as symlinks under ~/.local/bin into those virtual environments.

Configuration

To adjust the location of pipx(1)-managed files, try:

export PIPX_HOME=~/.local/pipx
export PIPX_BIN_DIR=~/.local/bin


See also

Upstream project documentation


CategoryRicottone

Python/Pipx (last edited 2024-02-17 16:41:37 by DominicRicottone)