Expand description
PyPI registry client.
Provides access to the PyPI registry via:
- Package metadata API (https://pypi.org/pypi/{package}/json) for version lookups
- Simple API (https://pypi.org/simple/{package}/) for version index (future)
All HTTP requests are cached aggressively using ETag/Last-Modified headers.
Structs§
- Pypi
Registry - Client for interacting with the PyPI registry.
Constants§
- PYPI_
URL - Base URL for package pages on pypi.org
Functions§
- normalize_
package_ name - Normalize package name according to PEP 503.
- package_
url - Returns the URL for a package’s page on pypi.org.