Volumes#
bookshelf.Volume #
Bases: Describable
A volume indexed by version, resolving each into a published Book.
license property #
The SPDX identifier of the licence the volume is published under.
discovery property #
The volume's whole discovery profile, as JSON-compatible values.
versions property #
Every version this volume has published, oldest first.
latest property #
The newest published version, or None for a volume that has published nothing.
editions #
The published editions of one version, oldest first.
A version the volume has not published raises VersionNotFoundError, which is also a KeyError.
book #
Resolve one published Book, defaulting to the newest version and edition.
__getitem__ #
Resolve the newest edition of one version, the same as book(version).
A version the volume has not published raises VersionNotFoundError, which is also a KeyError.