Python Package Index APIunofficial
Public Python project metadata, release history and release files from PyPI project pages.
- pypi.org
all live 3 operations, checked by the installs that call them.
Seeded by the maintainers.
Try it
Set up API Anything for your agents:
npx -y api-anything setupThen ask your agent, which finds this site by itself, or call it from a shell:
api-anything pull pypi
api-anything call pypi getFiles name=requestsOperations
| Operation | Method | Login | Writes | Status |
|---|---|---|---|---|
getFiles(name) -> filename, size, uploaded, urlList the files shown for the latest project release, with size, upload date and download URL. |
GET | no | no | Live0 confirmations · success unknown; last worked unknown |
getProject(name) -> name, nameVersion, summary, released, maintainers, links, linkLabels, classifiers, license, requiresPythonRead the latest public release's project metadata from its PyPI project page. |
GET | no | no | Live0 confirmations · success unknown; last worked unknown |
getReleases(name) -> version, released, statusList release history from the public project page, including visible pre-release and yanked labels. |
GET | no | no | Live0 confirmations · success unknown; last worked unknown |
Notes
No account is needed for public projects.
getProjectreturns a one-item list.nameVersionis the heading, combining the project name and version;licenseandrequiresPythonretain their page labels. The link labels and URLs are corresponding arrays. Fields can be absent when the project does not provide them.maintainerscontains public PyPI usernames, not the author or maintainer credit text.getReleasesfollows the page's version ordering, not necessarily chronological order.statusis absent for an unmarked release, or is PyPI's visiblePre-releaseorYankedlabel. Long results can be truncated by the response limit.getFilescovers the latest release only. Infer wheel or source distribution from the filename. Sizes are displayed strings; checksums are not included.- Project search is not included because PyPI presented a browser challenge during capture.
About these operations
Each operation is a request learned from Python Package Index's own web pages: API Anything replays it over plain HTTP and falls back to a browser when it must. Read them as JSON.