arxiv.canonical.register.listing module

class arxiv.canonical.register.listing.RegisterListing(name, domain, record, integrity, members=None)[source]

Bases: arxiv.canonical.register.core.Base

add_events(_, sources, *events)[source]

Add events to the terminal listing R.

Overrides the base method since this is a terminal record, not a collection.

Return type

None

classmethod create(s, sources, d)[source]
Return type

RegisterListing

delete(s)[source]
Return type

None

domain_type

alias of arxiv.canonical.domain.listing.Listing

integrity_type

alias of arxiv.canonical.integrity.listing.IntegrityListing

classmethod load(s, sources, identifier, checksum=None)[source]

Load an instance of the register class from storage.

Return type

~_Self

member_type

alias of builtins.NoneType

property number_of_events

Number of events contained within a register instance.

Return type

int

property number_of_versions

Number of e-print versions contained within a register instance.

Return type

int

record_type

alias of arxiv.canonical.record.listing.RecordListing

save(s)[source]

Save this file.

Overrides the base method since this is a terminal record, not a collection.

Return type

str

class arxiv.canonical.register.listing.RegisterListingDay(name, domain, record, integrity, members=None)[source]

Bases: arxiv.canonical.register.core.Base

add_listing(s, sources, d)[source]
Return type

None

domain_type

alias of arxiv.canonical.domain.listing.ListingDay

integrity_type

alias of arxiv.canonical.integrity.listing.IntegrityListingDay

classmethod load_event(s, sources, identifier)[source]
Return type

Event

member_type

alias of RegisterListing

record_type

alias of arxiv.canonical.record.listing.RecordListingDay

class arxiv.canonical.register.listing.RegisterListingMonth(name, domain, record, integrity, members=None)[source]

Bases: arxiv.canonical.register.core.Base

domain_type

alias of arxiv.canonical.domain.listing.ListingMonth

integrity_type

alias of arxiv.canonical.integrity.listing.IntegrityListingMonth

member_type

alias of RegisterListingDay

record_type

alias of arxiv.canonical.record.listing.RecordListingMonth

class arxiv.canonical.register.listing.RegisterListingYear(name, domain, record, integrity, members=None)[source]

Bases: arxiv.canonical.register.core.Base

domain_type

alias of arxiv.canonical.domain.listing.ListingYear

integrity_type

alias of arxiv.canonical.integrity.listing.IntegrityListingYear

member_type

alias of RegisterListingMonth

record_type

alias of arxiv.canonical.record.listing.RecordListingYear

class arxiv.canonical.register.listing.RegisterListings(name, domain, record, integrity, members=None)[source]

Bases: arxiv.canonical.register.core.Base

domain_type

alias of arxiv.canonical.domain.listing.AllListings

integrity_type

alias of arxiv.canonical.integrity.listing.IntegrityListings

member_type

alias of RegisterListingYear

record_type

alias of arxiv.canonical.record.listing.RecordListings