AkashiDocs
Providers

PyPI

Python package metadata from the Python Package Index: latest version, licence, supported Python, project links, upload time, yanked releases and known vulnerabilities.

  • Provider id: pypi
  • Tools: 1, at $0.001 per call
  • Categories: Developer
  • Homepage: pypi.org
  • Provider docs: docs.pypi.org/api/json
  • Attribution: Python Package Index (PyPI)
ToolPriceWhat it does
pypi/package$0.001A Python package's latest version, licence, supported Python, links, upload time, yanked flag and CVEs.

Inputs are JSON bodies, and unknown fields are rejected with 422 invalid_input (not charged). POST /v1/inspect with a tool's id returns the same input schema, plus the output schema.

PyPI Package

pypi/package · $0.001 per call (local) · Developer

A Python package's latest version, licence, supported Python, links, upload time, yanked flag and CVEs.

Reads PyPI's JSON API for a project (its latest release, or the version you name) and returns the version, summary, licence (SPDX expression when declared, else the licence classifier), requires-python, how many required dependencies it declares, its project links (source, docs, changelog), when the release was uploaded, whether it is yanked and why, and the known vulnerabilities PyPI lists for that release (OSV ids with the versions that fix them). It does not list every release or read the README: use depsdev/package for version history and github/repo for repository activity.

Related: depsdev/package, depsdev/version, github/repo, npm/package.

Input

FieldTypeRequiredDescription
namestringyesPyPI project name, e.g. 'httpx'. 1–100 characters. Pattern ^[A-Za-z0-9](?:[A-Za-z0-9._-]*[A-Za-z0-9])?$.
versionstringnoA specific release (default: the latest). At most 64 characters. Pattern ^[A-Za-z0-9][A-Za-z0-9._+!-]*$.

Example

Input
{
  "name": "httpx"
}
Run it with the CLI
node akashi.mjs run pypi/package --input '{"name":"httpx"}'

On this page