devpi-server: backend for hosting private package indexes and PyPI on-demand mirrors
Actively maintained. Last release 5 weeks ago, commits in 11 of the last 26 weeks. A safe choice.
$
pip install devpi-server====================================================================================
devpi-server: backend for hosting private package indexes and PyPI on-demand mirrors
====================================================================================
PyPI on-demand package mirror
=============================
You can point ``uv``, ``pip`` or another Python package installer to the ``root/pypi/+simple/`` index,
serving as a transparent on-demand mirror for PyPI-hosted packages.
User specific indexes
=====================
Each user (which can represent a person, project or team) can have multiple indexes,
and can upload packages and documents to these indexes via standard ``twine`` or ``setup.py`` invocations.
Users and indexes can be manipulated through `devpi-client`_ and a RESTful HTTP API.
Index inheritance
=================
Each index can be configured to merge in other indexes so that it serves
both its uploads and all releases from other index(es). For example, an
index using ``root/pypi`` as a parent is a good place to test out a
release candidate before you push it to PyPI.
Sensible defaults for a low friction deployment
===============================================
Get started easily and deploy a devpi-server instance with pre-configured templates for ``nginx`` and process managers.
Separate tool for Packaging/Testing activities
==============================================
The complementary `devpi-client`_ tool helps to manage users, indexes, logins and typical package upload and installation workflows.
See https://doc.devpi.net on how to get started and further documentation.
.. _devpi-client: https://pypi.org/project/devpi-client/
Support
=======
If you find a bug, use the `issue tracker at Github`_.
For general questions, use `GitHub Discussions`_ or the `devpi-dev@python.org mailing list`_.
For support contracts and paid help, contact ``mail at pyfidelity.com``.
.. _issue tracker at Github: https://github.com/devpi/devpi/issues/
.. _devpi-dev@python.org mailing list: https://mail.python.org/mailman3/lists/devpi-dev.python.org/
.. _GitHub Discussions: https://github.com/devpi/devpi/discussions
=========
Changelog
=========
.. towncrier release notes start
6.21.0 (2026-10-26)
===================
Features
--------
- Use sha256 for login token signing. Existing tokens will be invalidated, but they are valid for only 10 hours anyway.
Bug Fixes
---------
- Block ``.`` and ``..`` as user and index names.
Reported by Zachariah Mithani [zachariah-mithani] (AploSec)
https://github.com/devpi/devpi/security/advisories/GHSA-w72q-5vww-p2rh
- Fix #1130: correctly compare content type header to ignore added parameters for API v1 JSON responses.
6.20.3 (2026-06-30)
===================
Bug Fixes
---------
- Fix fetching files from re-created mirrors (for example after import or delete and create) without fetching simple project page first. This happens when uv uses a package URL directly from a lock file.
- Search for METADATA file if the generated name with normalized project and version doesn't match. This fixes serving core metadata for older wheels.
6.20.2 (2026-06-11)
===================
Bug Fixes
---------
- Fix logic error which allowed unauthorized fetching of replication data.
CVE-2026-54723 reported by Pavel Revak [pavelrevak]
https://github.com/devpi/devpi/security/advisories/GHSA-m5pq-69xg-vcq3
6.20.1 (2026-05-11)
===================
Bug Fixes
---------
- Pass through request headers when streaming .metadata from mirror. Refs #1018
6.20.0 (2026-04-30)
===================
Features
--------
- Add experimental bare bones core-metadata ([PEP 658](https://peps.python.org/pep-0658/), [PEP 714](https://peps.python.org/pep-0714/)) support with ``--enable-core-metadata`` command line option and ``mirror_provides_core_metadata`` mirror index option. Refs #1018
Bug Fixes
---------
- Update replica status when the replica is waiting for new serials using the streaming changelog endpoint.