Downloads

pypi-search is a command-line tool for querying package information from the Python Package Index (PyPI). It retrieves key details without requiring a web browser, including:

  • Version details
  • Project links
  • GitHub statistics (if available)
  • Metadata (author, maintainer)
  • Package description

Installation

To install the latest stable release from PyPI:

pip install pypi-search

To install the latest development version from source:

pip install .

Usage

asciicast

Query information for the package foo:

pypi-search foo

Query with description included:

pypi-search -d foo

Help Menu

usage: pypi-search [-h] [-d] search

Search for PyPI packages

positional arguments:
  search             Package to show information on

optional arguments:
  -h, --help         Show this help message and exit
  -d, --description  Show package description