Skip to main content

A module for building a complete or a partial PyPI mirror

Project description

Setting up a PyPI “simple” index

This package provides a mirror for the PyPI simple interface, http://cheeseshop.python.org/simple/.

To set up a mirror:

  • install this package using setuptools (easy_install, buildout, etc.) so that the script, pypimirror script is installed.

  • create your mirror configuration file maybe based on config.cfg.sample

  • Run the pypimirror script passing the name of the mirror configuration file

    This will initialize the mirror.

  • Set up a cron job to run update-mirror periodically.

LICENSE

Zope Public License 2.1 (ZPL 2.1)

Authors

z3c.pypimirror took place at the Blackforest Sprint 2008 and involved the the following persons:

  • Daniel Kraft (Lead)

  • Gottfried Ganssauge

  • Josip Delic

  • Andreas Jung

Changes

Change history

0.2.9 (2008-09-04)

  • fixed issue with logger changes in 0.2.8

0.2.8 (2008-09-03)

  • added highly experimental follow_external_index_pages option in order to deal with external in a better way

  • fetching external download files only if they match the current package name

  • some more logging

  • using TimedRotatingFileHandler for logging (rotating after one day)

0.2.7 (2008-09-02)

  • bahhh…forgotten pdb call :->

0.2.6 (2008-09-02)

  • made fetch_index() more robust

0.2.5 (2008-09-02)

  • fixed NameError in exception handling

0.2.4 (2008-08-31)

  • added logging support

  • minor internal cleanup

  • commandline options handling updated

0.2.3 (2008-08-29)

  • added –follow-external-links option

0.2.2 (2008-08-28)

  • renamed index.html to index2.html

  • renamed full.html to index.html

  • some internal cleanup

0.2.1 (2008-08-28)

  • ls() returns filenames in sorted order

0.2.0 (2008-08-28)

  • setup.py cleanup and fixes

  • fixed license file

  • updated README.txt

0.1.1 (2008-08-27)

  • corrected the index pages for packages (have full urls now)

  • added a full.html for packages (you better gz this ;) )

  • removed html page download for external sites

0.1.0 (2008-08-27)

  • initial release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

z3c.pypimirror-0.2.9.tar.gz (13.7 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page