pypiwrap
Documentation · PyPI · Changelog
pypiwrap is an API wrapper for the Python Package Index (PyPI) providing interfaces for retrieving project information, releases and statistics from the PyPI JSON API, the Statistics API, and the Index API. pypiwrap also parses information from the PyPI RSS feeds.
Installation
pypiwrap requires Python 3.10 or later and can be installed with pip:
python3 -m pip install pypiwrap(Linux/Mac)py -3 -m pip install pypiwrap(Windows)
Examples
import pypiwrap
# Fetching data from the PyPI API
with pypiwrap.PyPIClient() as pypi:
project = pypi.get_project("requests")
print(project.name) # requests
print(project.author) # Kenneth Reitz
print(project.summary) # Python HTTP for Humans.
stats = pypi.get_stats()
print(stats.total_size.si) # 24.61 TB
# Fetching data from the Index API
with pypiwrap.SimpleRepoClient() as repo:
page = repo.get_project_page("requests")
print(page.files[-1].url) # https://files.pythonhosted.org/packages/63/70/[...]
print(page.files[-1].size.si) # 131.22 KB
# Fetching data from the RSS feeds
with pypiwrap.PyPIFeedClient() as rss:
feed = rss.get_newest_packages()
print(feed.title) # PyPI newest packages
for item in feed.items:
print(item.title) # ... added to PyPI
Metadata
Release files for pypiwrap 2.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pypiwrap-2.1.0.tar.gz | 14.0 kB | With provenance | Details for pypiwrap-2.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pypiwrap-2.1.0-py3-none-any.whl | Python 3 | none | any | Details for pypiwrap-2.1.0-py3-none-any.whl |
Total release size: 29.1 kB
Release files / pypiwrap-2.1.0.tar.gz
| Download URL | pypiwrap-2.1.0.tar.gz |
|---|---|
| Size | 14.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b05957a4b6dc45b6ed8a3b822444ec839019982d255c5c271d9c4610788928ea
|
|
BLAKE2b-256 checksum How to use checksums |
d4821c6f738270ca1435143cc9b4ab3beee38d79141abc135fb5c64f33cfe41a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 7, 2026.
Transparency logRelease files / pypiwrap-2.1.0-py3-none-any.whl
| Download URL | pypiwrap-2.1.0-py3-none-any.whl |
|---|---|
| Size | 15.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e5e09e6e9db12b1b1a10b435ef9a235e39ff37635b4274f98cff4da0116ba87a
|
|
BLAKE2b-256 checksum How to use checksums |
e0f1d83e12fae5cecac4270c3fcdb86b9ca695050c88965d1b6d6fc5f3665914
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 7, 2026.
Transparency logSecurity for pypiwrap 2.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for pypiwrap-2.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 7, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.