[Catalog-sig] PyPI down again...

Alexis Métaireau ametaireau at gmail.com
Mon Jun 14 16:02:50 CEST 2010

Hi all,

Distutils2 will bring two APIs to request PyPI, via the "simple" API and via
the XML-RPC one.

The fact is that the Simple API (it's just HTML pages, in a REST style as
pointed out by Mark)
does not provides all information we need, especially about distribution
dependencies or if we want to query some others things contained in the

I'm working on two simple APIs for that, and I'll probably make a wrapper
around both, wich could choose the right one to use, depending on the needs
(eg. don't always rely on RPC or on "REST").

As we are talking about refactoring PyPI, it will probably be nice to have a
real REST API, that talks JSON or XML, replacing the HTML pages actually
served on http://pypi.python.org/simple/ :)


On Mon, Jun 14, 2010 at 1:50 PM, Mark Ramm <mark at geek.net> wrote:

> > If, in the future, package tools start to rely on RPC for
> > fetching data, the situation will shift towards needing full
> > functional mirrors again.
> Ideally we move some of this to be accessible via a more REST style
> interface where http GET requests (which would be by far the most
> common case) are still cacheable via all the standard mechanisms.
> I'm not a REST evangelist in most cases, but when scale and
> availability really do matter, REST buys you quite a bit by allowing
> you to scale and cache in all the ways that the web does.
> --Mark Ramm
> _______________________________________________
> Catalog-SIG mailing list
> Catalog-SIG at python.org
> http://mail.python.org/mailman/listinfo/catalog-sig

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/catalog-sig/attachments/20100614/67abae44/attachment-0001.html>

More information about the Catalog-SIG mailing list