[Catalog-sig] Prototype setuptools-specific PyPI index.

Jim Fulton jim at zope.com
Sun Jul 22 18:41:55 CEST 2007


On Jul 22, 2007, at 12:33 PM, Tres Seaver wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Martin v. Löwis wrote:
>>>> If people do misspell a package name when invoking easy_install,
>>>> they get the feature that you consider of no value.
>>> That is not correct. Not all packages are in PyPI.  Using a  
>>> package that
>>> isn't in PyPI will trigger a fetch of that page.
>>
>> I don't understand. What page is fetched if the package is not in  
>> PyPI?
>
> I think Jim was referring to a package which is *registered* in PyPI,
> but whose download location was elsewhere.

No, I was referring to packages that aren't ready for or of interest  
to PyPI or to proprietary packages.

...

> - From my complete ignorance of the underlying architecture:  the  
> polling
> solution would stay pretty current if there were an extremely cheap  
> way
> to ask for the latest "transaction ID" on the cheeseshop, or if the
> query could fetch only registrations newer than the last poll time.

There is such an API thanks to Martin.

>   Are
> such queries possible over the XML-RPC interface?

Yup. I'm using them.  Queries take only a few milliseconds per  
request on the server.

Jim

--
Jim Fulton			mailto:jim at zope.com		Python Powered!
CTO 				(540) 361-1714			http://www.python.org
Zope Corporation	http://www.zope.com		http://www.zope.org





More information about the Catalog-SIG mailing list