Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I search for a pip package by name only?

Tags:

pip

By default pip searches both package names and descriptions. For some packages this results in a huge number of spurious hits and finding the one I actually want is a pain.

How I tell pip I want to search by name only?

like image 321
Andrew Avatar asked Feb 10 '16 21:02

Andrew


1 Answers

It is not possible at the moment, because the current implementation (pip 8.1.1) does a name OR summary query hard-coded in pip search command, though the PyPI XML RPC supports different queries.

like image 83
Sergey Panfilov Avatar answered Oct 13 '22 11:10

Sergey Panfilov