# PyPI API

> 2 public methods for PyPI (pypi.org), each 1 credit per completed run.

Unofficial. Not affiliated with or endorsed by PyPI.

- Page: https://fous.com/methods/pypi.org

## Methods

### [Get package](https://fous.com/methods/pypi.org/get-package.md)

`pypi.org/get_package`, read. Gets a PyPI package's current version, release date, metadata, project links and its 10 most recently published versions from a package name or PyPI link.

Returns: name, latest version and release date, summary, license, Python requirement, links, author, maintainers, last 10 versions

### [Search packages](https://fous.com/methods/pypi.org/search-packages.md)

`pypi.org/search_packages`, read. Searches PyPI by keywords and returns matching packages in relevance order, each with its latest version and that version's release date. Returns up to 100 results.

Returns: name, latest version, description, release date, PyPI link
