Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.2 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Internet > HTTP (WWW)

    pep381client 1.5

    Download button

    No screenshots available
    Downloads: 250  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Martin v. Lowis | More programs
    Academic Free License / FREE
    May 10th, 2011, 10:26 GMT [view history]
    ROOT / Internet / HTTP (WWW)

     Read user reviews (0)  Refer to a friend  Subscribe

    pep381client description

    Mirroring tool that implements the client (mirror) side of PEP 381

    pep381client is an application that implements a PyPI mirror application according to PEP 381.

    Installation

    It is possible to run this application directly from the source distribution. Alternatively, 'python setup.py install' could be used.

    The actual mirroring is performed by the pep381run script, which should be invoked through cron like this:

    */15 * * * * /path/pep381client/pep381run -q /var/pypi

    The command line arguments points to root of the data files that the mirror creates. An initial run (without the -q option) should be performed manually. It is possible to interrupt the mirroring; it will automatically know where to continue when restarted.

    In above example, /var/pypi/web must be served through the webserver. An Apache configuration could read like this:

    < VirtualHost IPADDRESS:80 >
     ServerName X.pypi.python.org
     CustomLog /var/log/apache2/pypi.log combined
     DocumentRoot /var/pypi/web
    < /VirtualHost >


    To propagate the download statistics back to the central server, processlogs must be run regularly, e.g. through:

    10 7 * * * /path/pep381client/processlogs /var/pypi /var/log/apache2/pypi.log{,.1}


    Product's homepage

    Requirements:

    · Python

    What's New in This Release: [ read full changelog ]

    · Fix mirroring bug that caused unnecessary deletion of files
    · Provide pep381checkfiles script to verify presence and integrity of all files

      


    TAGS:

    PEP 381 client | mirroring tool | PyPI mirror | PyPI | mirroring | client

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM