arxiv.canonical.integrity.listing module

class arxiv.canonical.integrity.listing.IntegrityListing(name, record=None, members=None, manifest=None, checksum=None)[source]

Bases: arxiv.canonical.integrity.core.IntegrityEntryBase

calculate_checksum()[source]
Return type

str

classmethod from_record(record, checksum=None, calculate_new_checksum=True)[source]

Make an IntegrityListing from a :class:`.RecordListing.

Return type

~_Self

record_type

alias of arxiv.canonical.record.listing.RecordListing

class arxiv.canonical.integrity.listing.IntegrityListingDay(name, record=None, members=None, manifest=None, checksum=None)[source]

Bases: arxiv.canonical.integrity.core.IntegrityBase

Integrity collection of listings for a single day.

classmethod from_record(record, checksum=None, calculate_new_checksum=True)[source]

Generate an IntegrityListing from a RecordListing.

Return type

~_Self

classmethod make_manifest_entry(member)[source]
Return type

ManifestEntry

property manifest_name

The name to use for this record in a parent manifest.

Return type

str

class arxiv.canonical.integrity.listing.IntegrityListingMonth(name, record=None, members=None, manifest=None, checksum=None)[source]

Bases: arxiv.canonical.integrity.core.IntegrityBase

Integrity collection of listings for a single month.

property manifest_name

The name to use for this record in a parent manifest.

Return type

str

property month

The numeric month represented by this collection.

Return type

int

property year

The numeric year represented by this collection.

Return type

int

class arxiv.canonical.integrity.listing.IntegrityListingYear(name, record=None, members=None, manifest=None, checksum=None)[source]

Bases: arxiv.canonical.integrity.core.IntegrityBase

Integrity collection of listings for a single year.

property year

The numeric year represented by this collection.

Return type

int

class arxiv.canonical.integrity.listing.IntegrityListings(name, record=None, members=None, manifest=None, checksum=None)[source]

Bases: arxiv.canonical.integrity.core.IntegrityBase

Integrity collection of all listings.