arxiv.canonical.register.eprint module¶
Provides structs for organizing e-print metadata and content in the register.
The classes in this module extend Base
with methods for naming
themselves and manifests.
-
class
arxiv.canonical.register.eprint.
RegisterDay
(name, domain, record, integrity, members=None)[source]¶ Bases:
arxiv.canonical.register.core.Base
Representation of a day-block of e-prints in the canonical register.
-
domain_type
¶
-
integrity_type
¶
-
member_type
¶ alias of
RegisterEPrint
-
record_type
¶
-
-
class
arxiv.canonical.register.eprint.
RegisterEPrint
(name, domain, record, integrity, members=None)[source]¶ Bases:
arxiv.canonical.register.core.Base
Representation of an e-print in the canonical register.
Organizes a series of one or more :class:`.RegisterVersion`s.
-
add_event_replace
(s, sources, event)[source]¶ Add an event that generates a replacement version.
- Return type
-
add_event_update
(s, sources, event)[source]¶ Add an event that results in an update to a version.
- Return type
-
add_event_update_metadata
(s, sources, event)[source]¶ Add an event that results in an update to metadata of a version.
- Return type
-
domain_type
¶ alias of
arxiv.canonical.domain.eprint.EPrint
-
integrity_type
¶
-
member_type
¶
-
record_type
¶
-
-
class
arxiv.canonical.register.eprint.
RegisterEPrints
(name, domain, record, integrity, members=None)[source]¶ Bases:
arxiv.canonical.register.core.Base
Representation of the complete set of e-prints in the register.
-
domain_type
¶
-
integrity_type
¶
-
member_type
¶ alias of
RegisterYear
-
record_type
¶
-
-
class
arxiv.canonical.register.eprint.
RegisterMonth
(name, domain, record, integrity, members=None)[source]¶ Bases:
arxiv.canonical.register.core.Base
Representation of a month-block in the canonical register.
-
domain_type
¶
-
integrity_type
¶
-
member_type
¶ alias of
RegisterDay
-
record_type
¶
-
-
class
arxiv.canonical.register.eprint.
RegisterYear
(name, domain, record, integrity, members=None)[source]¶ Bases:
arxiv.canonical.register.core.Base
Representation of a year-block in the canonical register.
-
domain_type
¶
-
integrity_type
¶
-
member_type
¶ alias of
RegisterMonth
-
record_type
¶
-