pip2pi
pip2pi builds a PyPI-compatible package repository from pip requirements
Decision gist · record as of 2026-08-14
No—install only if you have a specific legacy use case and are willing to maintain the tool yourself. The package is abandoned (last release 2021-08-04, last commit 2022-07-09), so it will not be updated for modern pip or Python versions. For current projects, use modern alternatives like devpi, Artifactory, or Nexus that are actively maintained and designed for contemporary packaging workflows.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires pip to be installed and available on the system; rsync is needed if pushing to a remote host via colon-separated paths.
- Installation is straightforward with low friction—only pip is required as a runtime dependency.
- However, the package is abandoned: the last commit was 2022-07-09 and no releases have occurred since 2021-08-04, so expect no maintenance or updates.
License · maintenance · safety
BSD (permissive) — BSD license is permissive, allowing commercial and private use with minimal restrictions, making it suitable for internal mirroring infrastructure.
last release 2021-08-04 (1836 days) · last repo commit 2022-07-09 · 762 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 165,390 downloads/mo, #10,523 on PyPI
Alternatives
Verify before relying
$ pip install pip2pi
$ pip2pi ~/packages/ foo==1.2
$ dir2pi ~/packages/
$ pip install --index-url=file:///path/to/packages/simple/ foo- Whether the tool still works reliably with modern pip versions and current PyPI package formats.
- Compatibility with recent Python versions—requires_python is unspecified in the metadata.
- Whether rsync-based remote deployment still functions as documented with current systems.
What it is and what it does
pip2pi is a command-line tool that downloads Python packages and their dependencies, then builds a PyPI-compatible package index suitable for offline or private use. It wraps pip's download functionality and generates a simple HTML index structure that pip can read, allowing you to serve packages from your own HTTP server or use them locally via file:// URLs.
The tool is designed for scenarios where PyPI availability is unreliable, packages are removed from PyPI, or you need a private mirror for internal distribution. It supports downloading from requirements files, specific package versions, or URLs, and can push the resulting index to a remote server via rsync. However, the project has been abandoned since 2021 with no updates to account for changes in pip, Python, or packaging standards.
Use it for
- Create an offline PyPI mirror for air-gapped or unreliable network environments.
- Maintain a stable snapshot of dependencies when upstream packages are removed or PyPI is unavailable.
- Set up a private package index for internal distribution within an organization.
- Speed up repeated deployments by serving pre-downloaded packages from local storage.
- Archive specific package versions before they disappear from PyPI.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No—install only if you have a specific legacy use case and are willing to maintain the tool yourself.
The package is abandoned (last release 2021-08-04, last commit 2022-07-09), so it will not be updated for modern pip or Python versions. For current projects, use modern alternatives like devpi, Artifactory, or Nexus that are actively maintained and designed for contemporary packaging workflows.
Install
pip2pi on PyPI
Before you install
Installation is straightforward with low friction—only pip is required as a runtime dependency. However, the package is abandoned: the last commit was 2022-07-09 and no releases have occurred since 2021-08-04, so expect no maintenance or updates.
Requires pip to be installed and available on the system; rsync is needed if pushing to a remote host via colon-separated paths.
License in practice
BSD license is permissive, allowing commercial and private use with minimal restrictions, making it suitable for internal mirroring infrastructure.
Quickstart
$ pip install pip2pi
$ pip2pi ~/packages/ foo==1.2
$ dir2pi ~/packages/
$ pip install --index-url=file:///path/to/packages/simple/ foo
Verify before relying
- Whether the tool still works reliably with modern pip versions and current PyPI package formats.
- Compatibility with recent Python versions—requires_python is unspecified in the metadata.
- Whether rsync-based remote deployment still functions as documented with current systems.
Package facts
| License | BSD permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagepip |
| Maintenance | Abandoned 1,836 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 165,390 / month, #10,523 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaEnvironment :: ConsoleIntended Audience :: DevelopersIntended Audience :: System AdministratorsLicense :: OSI Approved :: BSD LicenseNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: PythonTopic :: Software DevelopmentTopic :: Utilities |
Evidence: pip2pi-0.8.2-py2.py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “offline pypi mirror”
- pip2pipip2pi creates a PyPI-compatible package repository from pip…
- all-packagesAttempts to install every package from PyPI into isolated virtual…
- pypiserverRuns a minimal PyPI-compatible package server that pip and setuptools…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also all-packages · pypi · pip-audit · to-requirements.txt · pipmaster · wheel-stub · reducto · charmcraftlocal · cvdupdate