pip search

Usage

Unix/macOS

  1. python -m pip search [options] <query>

Windows

  1. py -m pip search [options] <query>

Description

Search for PyPI packages whose name or summary contains <query>.

Options

-i``, --index <url>

Base URL of Python Package Index (default https://pypi.org/pypi)

Examples

  1. Search for “peppercorn”

    Unix/macOS

    1. $ python -m pip search peppercorn
    2. pepperedform - Helpers for using peppercorn with formprocess.
    3. peppercorn - A library for converting a token stream into [...]

    Windows

    1. C:\> py -m pip search peppercorn
    2. pepperedform - Helpers for using peppercorn with formprocess.
    3. peppercorn - A library for converting a token stream into [...]

Important

Did this article help?

We are currently doing research to improve pip’s documentation and would love your feedback. Please email us &body=%0A%20%20%20%200.%20Document:%20reference/pip_search.%20Page%20URL:%20https:/%20%0A%0A%20%20%20%201.%20What%20problem%20were%20you%20trying%20to%20solve%20when%20you%20came%20to%20this%20page?%20%0A%0A%20%20%20%202.%20What%20content%20was%20useful?%20%0A%0A%20%20%20%203.%20What%20content%20was%20not%20useful?) and let us know:

  1. What problem were you trying to solve when you came to this page?

  2. What content was useful?

  3. What content was not useful?