On Sun, Feb 3, 2013 at 6:37 PM, Vinay Sajip <vinay_sajip@yahoo.co.uk> wrote:
I've updated distlib[1] with a new, high-level API for accessing PyPI. While the existing "locators" API deals with locating distributions already uploaded to PyPI, the "index" API allows the following:
* Registering a project on PyPI * Uploading source and binary distributions to PyPI (incl. support for signing) * Uploading documentation to PyPI * Getting a list of mirror hosts
Basic usage:
from distlib.index import Index index = Index() # uses PyPI by default, or you can pass the URL of the index
Very cool, but would it be possible to expand the class name to something like "PackageIndex"? "Index" is an overloaded word, and that leading "I" is also a bit of a problem from a readability point of view. Regards. Nick. -- Nick Coghlan | ncoghlan@gmail.com | Brisbane, Australia