RSS Objects Reference

This module contains objects returned by pypiwrap.client.PyPIFeedClient .

Added in version 2.0.0.

class pypiwrap.objects.rss.PyPIFeed(title: str, link: str, description: str, language: str, items: list[PyPIFeedItem])

Bases: object

A simplified RSS feed returned by PyPI.

description: str

A description or summary of this feed.

items: list[PyPIFeedItem]

A list of items aggregated by this feed.

language: str

The language of this feed.

A link to the resource being aggregated.

title: str

The title of this feed.

class pypiwrap.objects.rss.PyPIFeedItem(title: str, link: str, guid: str, published_raw: str, description: str, author: str)

Bases: object

A simplified RSS feed item returned by PyPI.

author: str

The author of this item.

description: str

A description or summary of this item.

guid: str

A globally unique identifier for this resource.

In PyPI’s case, this is usually the same as PyPIFeedItem.link.

A link to the resource being described.

property published: datetime | None

If provided, the datetime this resource was published.

published_raw: str

If provided, a string representing the datetime this resource was published.

This datetime string usually follows RFC 822.

title: str

The title or topic of this item.