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-6.0.0.tar.gz (8.7 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-6.0.0-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for letsbuilda_pypi-6.0.0.tar.gz
Algorithm Hash digest
SHA256 f60a88485cc6c06076868e5f883231405560dd879d02381a91580160f343a053
MD5 76130640189548a19c0c73bce0bad4eb
BLAKE2b-256 a15f41802f653c49ed3e180e0a87107efe384a8ae25072baf0ac02820376cb09

See more details on using hashes here.

Provenance

The following attestation bundles were made for letsbuilda_pypi-6.0.0.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-6.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for letsbuilda_pypi-6.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bcdf4e25d57813b4bde4ce079f3cfe91422ef06a18c88f5488e46d9133b8e605
MD5 707e4d4f603bb4148d0fc019ec18102a
BLAKE2b-256 f5a85aaea84f006bc0285774efba2cf27fd05e1782a7c257b0a193b1d48e9920

See more details on using hashes here.

Provenance

The following attestation bundles were made for letsbuilda_pypi-6.0.0-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