Features

The following is a list of PEPs, specs and APIs related to PyPI.

Note that some features in pypiwrap have been implemented according to the examples in the PyPI API documentation. Some aspects in the API have been implemented according to the issues & source code of the Warehouse project powering PyPI.

PyPI/Warehouse APIs

APIs, feeds, and datasets

Feature

Supported?

Notes

Index API

Yes

See pypiwrap.client.SimpleRepoClient.

PyPI JSON API

Yes

See pypiwrap.client.PyPIClient.get_project().

Upload API

No

Integrity API

No

Stats API

Yes

See pypiwrap.client.PyPIClient.get_stats().

BigQuery datasets

No

RSS feeds

Yes

See pypiwrap.client.PyPIFeedClient.

Secret reporting API

No

This API is designed for private use. There’s currently no intention to implement it.

PEPs relating to PyPI

PEPs

PEP

Supported?

Notes

PEP 503 - Simple Repository API

Yes

pypiwrap will always use the JSON API. See PEP 691.

PEP 629 - Versioning PyPI’s Simple API

Yes

pypiwrap will verify the API version as recommended by this PEP.

PEP 691 - JSON-based Simple API for Python Package Indexes

Yes

See pypiwrap.client.SimpleRepoClient.

PEP 639 - Improving License Clarity with Better Package Metadata

Yes

This PEP introduces the License-Expression and License-Files keys.

PEP 700 - Additional Fields for the Simple API for Package Indexes

Yes

This PEP introduces version 1.1 of the Simple Repository API.

PEP 708 - Extending the Repository API to Mitigate Dependency Confusion Attacks

Yes [1]

This PEP introduces the tracks and alternate-locations keys.

PEP 740 - Index support for digital attestations

Partially

This PEP introduces provenance objects and attestations. Only the provenance field returned by the Simple Repository API is recognized.

PEP 792 - Project status markers in the simple index

Yes

See ProjectPage.status and ProjectPage.status_reason.