DAGDA SEARCH | Back to results | Support

PyPI Implementations - Python Wiki

Source: https://wiki.python.org/python/archive/PyPiImplementations.html

  1. Python Wiki /
  2. Python Wiki /
  3. Archive /
  4. PyPI Implementations
View as Markdown

PyPI Implementations

Legacy Wiki Page

This page was migrated from the old MoinMoin-based wiki. Information may be outdated or no longer applicable. For current documentation, see python.org.

The goal of this page is to list alternatives to the reference implementation, since it’s quite hard to find them in any index (most hits will be about packages available in the package index, not about it).

Full implementations

Applications that implement the Package Index API:

Less maintained:

Mirrors / Proxies

Tools / Extensions

Simple repository with fallback using Apache

The following implements two local repositories that fall back to PyPI for packages that have no local override. “dev” is for development snapshots and open for all developers, “stable” is only writable by the QC team. Note that creating a local copy of a package shadows all versions in PyPI, since the index page is then generated locally and does not include the versions found on PyPI.

httpd.conf

Mount pypi repositories into URI space

  Alias /pypi   /var/pypi

  # /pypi/dev: Redirect for unknown packages (fallback to pypi)
  RewriteCond   /var/pypi/dev/$1 !-d
  RewriteCond   /var/pypi/dev/$1 !-f
  RewriteRule   ^/pypi/dev/([^/]+)/?$ http://pypi.python.org/pypi/$1/ [R,L]

  RewriteCond   /var/pypi/dev/$1/$2 !-f
  RewriteRule   ^/pypi/dev/([^/]+)/([^/]+)$ http://pypi.python.org/pypi/$1/$2 [R,L]

  # /pypi/stable: Redirect for unknown packages (fallback to pypi)
  RewriteCond   /var/pypi/stable/$1 !-d
  RewriteCond   /var/pypi/stable/$1 !-f
  RewriteRule   ^/pypi/stable/([^/]+)/?$ http://pypi.python.org/pypi/$1/ [R,L]

  RewriteCond   /var/pypi/stable/$1/$2 !-f
  RewriteRule   ^/pypi/stable/([^/]+)/([^/]+)$ http://pypi.python.org/pypi/$1/$2 [R,L]

These rules assume the RewriteEngine is switched on, and that directory index generation is enabled.

Things that would be nice


CategoryDevelopmentProcess

PreviousPyPI Documentation Hosting Next PyPI Test Server