Skip to content

pipx

Execute binaries from Python packages in isolated environments

pipx allows you to...

  • Run the latest version of a CLI application from a package in a temporary virtual environment, leaving your system untouched after it finishes.
  • Install packages to isolated virtual environments, while globally exposing their CLI applications so you can run them from anywhere.
  • Easily list, upgrade, and uninstall packages that were installed with pipx.

pipx runs with regular user permissions, never calling "sudo pip install".

dev

https://github.com/pypa/pipx

all

Installation

1. Add WakeMeOps repository

curl -sSL https://raw.githubusercontent.com/upciti/wakemeops/main/assets/install_repository | sudo bash

2. Install pipx

sudo apt install pipx

Snippets

FROM wakemeops/minideb:bullseye

RUN install_packages \
    pipx=1.2.0*

USER 1001
- name: Install dependencies
  uses: upciti/wakemeops-action@v1
  with:
    packages: |
      pipx=1.2.0*

Download URLs

Version SHA256 Size (KB)
1.2.0 5d7b2d0608b0463935e03939a1f0d37ec56b84c13164fb269efabb42e275ac68 242
1.2.0 5d7b2d0608b0463935e03939a1f0d37ec56b84c13164fb269efabb42e275ac68 242
1.2.0 5d7b2d0608b0463935e03939a1f0d37ec56b84c13164fb269efabb42e275ac68 242
1.2.0 5d7b2d0608b0463935e03939a1f0d37ec56b84c13164fb269efabb42e275ac68 242

Blueprints

Debian packages listed on this page are generated from op2deb YAML blueprints. Blueprints for pipx are versioned here.

Click here to see pipx ops2deb blueprints
https://github.com/upciti/wakemeops/blob/main/blueprints/dev/pipx/ops2deb.yml
name: pipx
version: 1.2.0
architecture: all
homepage: https://github.com/pypa/pipx
summary: execute binaries from Python packages in isolated environments
description: |-
  pipx allows you to...

   * Run the latest version of a CLI application from a package
     in a temporary virtual environment,
     leaving your system untouched after it finishes.
   * Install packages to isolated virtual environments,
     while globally exposing their CLI applications
     so you can run them from anywhere.
   * Easily list, upgrade, and uninstall packages
     that were installed with pipx.

  pipx runs with regular user permissions, never calling "sudo pip install".
depends:
  - python3.11-build-standalone
fetch: https://github.com/pypa/pipx/releases/download/{{version}}/pipx.pyz
install:
  - pipx.pyz:/usr/lib/pipx/pipx.pyz
  - path: /usr/bin/pipx
    content: |
      #!/usr/bin/env sh
      exec /usr/lib/python-build-standalone/3.11/bin/python3 /usr/lib/pipx/pipx.pyz $@

The blueprint fetch keyword contains a URL template pointing to pipx releases. Downloaded files are locked in a lockfile versioned here.

Click here to see pipx release hashes
https://github.com/upciti/wakemeops/blob/main/blueprints/dev/pipx/ops2deb.lock.yml
- url: https://github.com/pypa/pipx/releases/download/1.2.0/pipx.pyz
  sha256: 93c46f2d254dc17168fa92d413eaabb0fdd050ff04912d8e0f3e03f4bc256b8c
  timestamp: 2023-05-25 10:20:27+00:00

Badge

WakeMeOps

[![WakeMeOps](https://docs.wakemeops.com/badges/pipx.svg)](https://docs.wakemeops.com/packages/pipx)
<a href="https://docs.wakemeops.com/packages/pipx">
  <img src="https://docs.wakemeops.com/badges/pipx.svg"/>
</a>
.. image:: https://docs.wakemeops.com/badges/pipx.svg
:target: https://docs.wakemeops.com/packages/pipx