[Catalog-sig] search queries in PyPI

Noah Kantrowitz kantrn at rpi.edu
Wed May 14 19:25:01 CEST 2008

Tarek Ziade wrote:
> Hi,
> I was wondering how the search works in PyPI (didn't have time to digg the
> code)
> I was unable to do specific queries. For instance, how do I get the packages
> that have
> the word "nose" and the word "plugin" in their short descriptions ?
> I tried 'nose AND plugin', 'nose+plugin', etc.. without success.
> I tried '"nose plugin"' and I got back a package that had this sequence of
> words, but also had a package that
> has nothing to do with it (z3c.sampledata
> 0.1.0<http://pypi.python.org/pypi/z3c.sampledata/0.1.0>
> )

Try "nose%plugin". Thats the syntax used in the XML-RPC API at least.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 249 bytes
Desc: OpenPGP digital signature
URL: <http://mail.python.org/pipermail/catalog-sig/attachments/20080514/61a418e1/attachment.pgp>

More information about the Catalog-SIG mailing list