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.1.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.1-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: letsbuilda_pypi-6.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 ed0263971d41751bb75bbcdaaf27b622ee521500ce53ed76d76364eaa2ec525e
MD5 03e330f21666d49f5623164ddd6c1bac
BLAKE2b-256 8142a028d4aa81bb2917c2062d1d9dc5cc7726c55c03ad9c4c19c704b1a00ff8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for letsbuilda_pypi-6.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a8ef1fb4477321a38e3b0b986af86f21887d2f36afa15e6d31c25e6601c31c17
MD5 7a524c95008479000be4c7e85805875d
BLAKE2b-256 7b3258857e2ae568fde16768a7b96798fe038bda3aa75f88d93590be4116a5dd

See more details on using hashes here.

Provenance

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