Pipx: The App Marketplace for Python Developers

Pipx: The App Marketplace for Python Developers
Pipx: The App Marketplace for Python Developers

Pipx: Install and Execute Python Applications with Ease

Pipx, a powerful tool for Python developers, simplifies the distribution and execution of desktop and command-line applications.

Turning PyPI into an App Marketplace

PyPI, the Python Package Index, has traditionally hosted third-party Python libraries. With pipx, you can transform PyPI into an app store, enabling you to:

  • Install Python Apps Globally: Install Python packages in isolated virtual environments, creating symbolic links for entry points.
  • Run Single-Use Python Apps: Quickly execute Python scripts without installing or managing virtual environments.

Dependency Management and Package Control

Pipx provides robust dependency management capabilities:

  • Inject Dependencies: Add extra dependencies to managed virtual environments.
  • Uninject Dependencies: Remove unnecessary dependencies from virtual environments.
  • Control Python Version: Override the default Python interpreter when installing or reinstalling applications.

Managing Installed Apps

Pipx allows for efficient management of installed applications:

  • List Installed Apps: View a list of installed apps and their associated virtual environments.
  • Upgrade Apps: Update installed packages to their latest versions.
  • Downgrade Apps: Revert to specific versions of installed packages.
  • Uninstall Apps: Remove applications along with their virtual environments.

Advanced Features

  • Change Python Version in Existing Environments: Reinstall applications with a different Python version.
  • Reinstall All Apps: Upgrade or downgrade all installed apps simultaneously.
  • Run pip Commands in Virtual Environments: Execute custom pip commands within app environments using pipx runpip.

Getting Started

  • Install pipx via pip or your operating system's package manager.
  • Configure pipx by adding the necessary folder paths to your PATH environment variable.
  • Use pipx to install and run Python applications.


Pipx empowers Python developers by providing an easy and efficient way to install, execute, and manage command-line and desktop Python applications. It eliminates dependency conflicts, enables the creation of throw-away applications, and streamlines application management.

newsid: m44jtz7ydsu6efb

Related stories
3 days ago - This guide provides a step-by-step process for building a personalized movie recommendation system in Python using data manipulation, feature engineering, and machine learning.
3 days ago - Episode 200 of the podcast discusses error culture, alert fatigue, and highlights Python community articles and projects.
3 days ago - Ubuntu 24.04 LTS boasts updates to its kernel, installer, desktop, and performance tools, introducing new features such as Netplan 1.0 and NVMe-over-TCP drive support.
4 days ago - Improve your backend development skills by building three full projects in Python, Django, and JavaScript, taught by experienced instructor Tomi Tokko.
4 days ago - Python's error handling features (try, except, else, finally) enable graceful error management and prevent program crashes, providing comprehensive mechanisms for handling exceptions and making code more robust.
Other stories
1 hour ago - "Shift left" in software development involves identifying and addressing problems early in the project lifecycle to minimize time and effort spent on fixing issues later.
1 hour ago - GitHub Wikis provide easy documentation for repositories, allowing collaboration and Markdown-based editing.
1 hour ago - Terminal aliases allow you to create shortcuts for repetitive commands, saving time and effort by assigning shorter labels to longer commands.
2 hours ago - To make Facebook private, adjust privacy settings for profile information, posts, search visibility, and message requests.
4 hours ago - Apple allowed emulators in the App Store but removed iGBA due to spam and copyright concerns, despite initially announcing their permission.