Skip to main content

Install and Run Python Applications in Isolated Environments

Project description

pipx — Install and Run Python Applications in Isolated Environments

image PyPI version

Documentation: https://pipx.pypa.io

Source Code: https://github.com/pypa/pipx

For comparison to other tools including pipsi, see Comparison to Other Tools.

Overview: What is pipx?

pipx is a tool to help you install and run end-user applications written in Python. It's roughly similar to macOS's brew, JavaScript's npx, and Linux's apt.

It's closely related to pip. In fact, it uses pip, but is focused on installing and managing Python packages that can be run from the command line directly as applications.

Features

pipx enables you to

  • expose CLI entrypoints of packages ("apps") installed to isolated environments with the install command, guaranteeing no dependency conflicts and clean uninstalls;
  • easily list, upgrade, and uninstall packages that were installed with pipx; and
  • run the latest version of a Python application in a temporary environment with the run command.

Best of all, pipx runs with regular user permissions, never calling sudo pip install.

Install pipx

On macOS

brew install pipx
pipx ensurepath

On Linux

Install pipx with your distribution's package manager. See the Linux installation instructions for commands and alternatives.

pipx ensurepath

On Windows

scoop install pipx
pipx ensurepath

For more detailed installation instructions, see the full documentation.

Quick Start

Install an application globally:

pipx install pycowsay
pycowsay mooo

Run an application without installing:

pipx run pycowsay moo

See the full documentation for more details.

Contributing

Issues and Pull Requests are definitely welcome! Check out Contributing to get started. Everyone who interacts with the pipx project via codebase, issue tracker, chat rooms, or otherwise is expected to follow the PSF Code of Conduct.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pipx-1.16.5.tar.gz (352.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pipx-1.16.5-py3-none-any.whl (151.9 kB view details)

Uploaded Python 3

File details

Details for the file pipx-1.16.5.tar.gz.

File metadata

  • Download URL: pipx-1.16.5.tar.gz
  • Upload date:
  • Size: 352.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for pipx-1.16.5.tar.gz
Algorithm Hash digest
SHA256 5ed0358de5edfd097a52af9a0338d4dd99a58b8bb9b339d1fc72921917d2dd6f
MD5 85f9c5029f811c28f9e7b3cd798cf0a1
BLAKE2b-256 fbcc4080dd21bf5dd493a584caa5703aab5486cc4da1b095b38ee9a03f0c8897

See more details on using hashes here.

Provenance

The following attestation bundles were made for pipx-1.16.5.tar.gz:

Publisher: release.yml on pypa/pipx

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pipx-1.16.5-py3-none-any.whl.

File metadata

  • Download URL: pipx-1.16.5-py3-none-any.whl
  • Upload date:
  • Size: 151.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for pipx-1.16.5-py3-none-any.whl
Algorithm Hash digest
SHA256 ca4ad51f3bf1e13813f57474f4177b9548ef219bd4e58b185b81fa020dbcaa8d
MD5 591adf86e6a17b907651d58e72f18d7d
BLAKE2b-256 516dc3bf822bc591687f8fef9d9c09067fefbfa92959d5d468faba8360f1f66b

See more details on using hashes here.

Provenance

The following attestation bundles were made for pipx-1.16.5-py3-none-any.whl:

Publisher: release.yml on pypa/pipx

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page