Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

pip_runner

pip_runner is a small, extendable Python wrapper around the pip command-line interface.
It provides a thin, high-level API that executes python -m pip and parses commonly used outputs (freeze / list).

Overview

Key features

  • Thin wrapper using subprocess to run pip commands via Python executable.

  • High-level Pip class with convenient methods: install, uninstall, list_installed, freeze, show, search, download, wheel, help.

  • Easy to extend, test and integrate with virtual environments (pass custom python_executable).

PyPI record.

Documentation.

Usage

Basic usage:

from pip_runner import Pip
pip = Pip()
pip.install("requests")
print(pip.list().get("requests"))

Installation

Prerequisites:

To install run:

python -m pip install --upgrade pip_runner

Development

Prerequisites:

  • Development is strictly based on nox. To install it run:

    python -m pip install --upgrade nox

Visit Development page.

Installation from sources:

clone the sources:

git clone https://github.com/karpierz/pip_runner pip_runner

and run:

python -m pip install ./pip_runner

or on development mode:

python -m pip install --editable ./pip_runner

License

Copyright (c) 2026-2026 Adam Karpierz
Licensed under the zlib/libpng License
Please refer to the accompanying LICENSE file.

Authors

Sponsoring

If you would like to sponsor the development of this project, your contribution is greatly appreciated.
As I am now retired, any support helps me dedicate more time to maintaining and improving this work.

Donate

Metadata

Release files for pip-runner 0.2.0a1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pip-runner 0.2.0a1
File Size Uploaded Provenance Actions
pip_runner-0.2.0a1.tar.gz 39.7 kB Without provenance Details for pip_runner-0.2.0a1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pip-runner 0.2.0a1
File Interpreter ABI Platform Actions
pip_runner-0.2.0a1-py3-none-any.whl Python 3 none any Details for pip_runner-0.2.0a1-py3-none-any.whl

Total release size: 52.9 kB

Release files / pip_runner-0.2.0a1.tar.gz

Download URL pip_runner-0.2.0a1.tar.gz
Size 39.7 kB
Tags Source
SHA-256 checksum
How to use checksums
2a5a1ae73a20fc91fd7c1ade880b75e5c8027a53d02579c03c7ff13f279f2eab
BLAKE2b-256 checksum
How to use checksums
edbf67b702e19aa0cf7e1e667e27186173ecce1714505ec1b25a848ce4c9a0b6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.15

Release files / pip_runner-0.2.0a1-py3-none-any.whl

Download URL pip_runner-0.2.0a1-py3-none-any.whl
Size 13.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
239c6c2842b4f83442b0cc17d1eec81a2966f1fdaeed0f88cffc120986e78060
BLAKE2b-256 checksum
How to use checksums
d8de8c9c25647be6602bbc8878ee0c7d23e6b6aa9835feb0a1c404a9a93d3669
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.15

Security for pip-runner 0.2.0a1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.0

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page