Skip to main content

A wrapper for PyPI's API and RSS feed

Reason this release was yanked:

Async client uses a method that doesn't exist

Project description

letsbuilda-pypi

A wrapper for PyPI's API and RSS feeds.

Usage

Sync client

from requests import Session
from letsbuilda.pypi import PyPIServices

http_session = Session()
pypi_client = PyPIServices(http_session)

package_metadata = pypi_client.get_package_metadata("letsbuilda-pypi")

Async client

from aiohttp import ClientSession
from letsbuilda.pypi.clients.async_client import PyPIServices

http_session = aiohttp.ClientSession()
pypi_client = PyPIServices(http_session)

package_metadata = 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.0.0b1.tar.gz (6.5 kB view hashes)

Uploaded Source

Built Distribution

letsbuilda_pypi-5.0.0b1-py3-none-any.whl (8.4 kB view hashes)

Uploaded Python 3

Supported by

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