Differences between revisions 11 and 19 (spanning 8 versions)
Revision 11 as of 2009-08-06 22:37:33
Size: 3148
Editor: 173-8-105-225-Minnesota
Comment: Added ClueReleaseManager to list of pypi implementations.
Revision 19 as of 2022-02-09 12:19:04
Size: 3766
Comment: added referenct to gitlab's package registry service
Deletions are marked like this. Additions are marked like this.
Line 7: Line 7:
 * [[CheeseShopDev|PyPI]] - The reference implementation, powering the main index.
 * [[http://pypi.python.org/pypi/ClueReleaseManager|ClueReleaseManager]]
 * [[CheeseShopDev|PyPI]] (aka CheeseShop) - The reference implementation, powering the main index.
 * [[https://github.com/ask/chishop|chishop]] and its more recent [[https://github.com/benliles/djangopypi|djangopypi]] fork - django based
 * [[https://pypi.python.org/pypi/Products.PloneSoftwareCenter|Plone Software Center]]
 * [[http://pypi.python.org/pypi/pypiserver|pypiserver]] - minimal pypi server, easy to install & use
 * [[https://pypi.python.org/pypi/warehouse|Warehouse]] Next Generation Python Package Repository
 * [[https://docs.gitlab.com/ee/user/packages/pypi_repository/|GitLab]] implements a PyPI compatible package repository/registry that can also proxy to [[https://pypi.org/|pypi.org]]

Less maintained:

 * [[http://pypi.python.org/pypi/ClueReleaseManager|ClueReleaseManager]] - link to project page is broken, last release in 2009
Line 11: Line 19:
 * [[http://tarekziade.wordpress.com/2008/03/20/how-to-run-your-own-private-pypi-cheeseshop-server/|Plone Software Center]]
Line 55: Line 62:
----
CategoryDevelopmentProcess

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:

  • ClueReleaseManager - link to project page is broken, last release in 2009

  • EggBasket - A simple, lightweight Python Package Index (aka Cheeseshop) clone.

  • haufe.eggserver - Grok-based local repository with upload and no security model.

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

  • A local PyPI repository that also allows to proxy / cache external repositories
    • needed in enterprise environments
    • mix and match proprietary and public packages
    • no need for an always-up internet connection (just mostly-up)
    • auditable, repeatable releases (you have a local copy of any package you ever put into production)
    • compare to usual Maven proxies from Java land -- they have these features
    • unlike EnhancedPyPI, puts multi-repo support into the index and thus works with any compliant software w/o change


CategoryDevelopmentProcess

PyPiImplementations (last edited 2022-02-09 12:19:04 by Matteo Gamboz)

Unable to edit the page? See the FrontPage for instructions.