Simple repository API

The interface for querying available package versions and retrieving packages from an index server comes in two forms: HTML and JSON.

The HTML format is defined in PEP 503, with the addition of “yank” support (allowing a kind of file deletion) in PEP 592, specifying the interface version provided by an index server in PEP 629, and providing package metadata independently from a package in PEP 658 and revised in PEP 714.

The JSON format is defined in PEP 691, with additional fields added in PEP 700, and revisions around providing package metadata independently from a package in PEP 714.