Skip to main content

A wrapper for PyPI's API and RSS feed

Project description

letsbuilda-pypi

A wrapper for PyPI's API and RSS feeds.

Usage

Sync client

from httpx import Client
from letsbuilda.pypi import PyPIServices

http_client = Client()
pypi_client = PyPIServices(http_client)

print(pypi_client.get_rss_feed(pypi_client.NEWEST_PACKAGES_FEED_URL))
print(pypi_client.get_package_metadata("letsbuilda-pypi"))

Async client

from httpx import AsyncClient
from letsbuilda.pypi.async_client import PyPIServices

http_client = AsyncClient()
pypi_client = PyPIServices(http_session)

print(await pypi_client.get_rss_feed(pypi_client.NEWEST_PACKAGES_FEED_URL))
print(await pypi_client.get_package_metadata("letsbuilda-pypi"))

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

letsbuilda_pypi-5.2.2.tar.gz (8.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

letsbuilda_pypi-5.2.2-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

Details for the file letsbuilda_pypi-5.2.2.tar.gz.

File metadata

  • Download URL: letsbuilda_pypi-5.2.2.tar.gz
  • Upload date:
  • Size: 8.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for letsbuilda_pypi-5.2.2.tar.gz
Algorithm Hash digest
SHA256 2e339b887d21b84f9373650a0c165b27bb2d36153cae526671a6d23de79a62eb
MD5 603c761e7a0b19229e49bfaa308ee8cd
BLAKE2b-256 17f5b8d9b159cb80d03c01252330eee52d8702f2bb8068a4a889e4c6e1f68a5c

See more details on using hashes here.

Provenance

The following attestation bundles were made for letsbuilda_pypi-5.2.2.tar.gz:

Publisher: python-pypi-publish.yaml on letsbuilda/letsbuilda-pypi

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file letsbuilda_pypi-5.2.2-py3-none-any.whl.

File metadata

File hashes

Hashes for letsbuilda_pypi-5.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 548f2228bc8c5f39d12f0340741fdc94819839f4f1711d0983f79dfd5c6bf724
MD5 e4b67dcc96e9af578f915e64d679123a
BLAKE2b-256 46260200ac9e35c35e23793b2d0a5c22aa15aa801dbdf1a359c31693415c357e

See more details on using hashes here.

Provenance

The following attestation bundles were made for letsbuilda_pypi-5.2.2-py3-none-any.whl:

Publisher: python-pypi-publish.yaml on letsbuilda/letsbuilda-pypi

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page