arxiv.canonical.domain.listing module¶
Provides domain concepts and logic for event listings.
-
class
arxiv.canonical.domain.listing.
AllListings
(name, years)[source]¶ Bases:
arxiv.canonical.domain.base.CanonicalBase
All listings in the canonical record.
-
class
arxiv.canonical.domain.listing.
Listing
(identifier, events)[source]¶ Bases:
arxiv.canonical.domain.base.CanonicalBase
A collection of announcement-related events on a particular day.
-
events
= None¶ Events in this listing.
-
identifier
= None¶ Unique identifier for this listing, based on the date and name.
-
property
number_of_events_by_type
¶ Number of events in this listing by event type.
-
-
class
arxiv.canonical.domain.listing.
ListingDay
(date, listings)[source]¶ Bases:
arxiv.canonical.domain.base.CanonicalBase
Represents all of the listings for a particular day.
-
date
= None¶ Date on which the events occurred.
-
listings
= None¶ All of the listings on this date.
-
-
class
arxiv.canonical.domain.listing.
ListingIdentifier
(value)[source]¶ Bases:
str
Unique identifier for a
Listing
.Comprised of an ISO-8601 date and a name string.
-
class
arxiv.canonical.domain.listing.
ListingMonth
(name, listings)[source]¶ Bases:
arxiv.canonical.domain.base.CanonicalBase
A collection of listings over a month.
-
listings
= None¶ All of the listings in this month.
-
name
= None¶ The year and month of this collection.
-
-
class
arxiv.canonical.domain.listing.
ListingYear
(year, months)[source]¶ Bases:
arxiv.canonical.domain.base.CanonicalBase
A collection of listings over a year.
-
months
= None¶ All of the listings in this year.
-
year
= None¶ The year of this collection.
-