AlephRecord structure

Following structures are used to represent informations returned from Aleph.

API

class aleph.datastructures.alephrecord.AlephRecord[zdroj]

This structure is returned as response to SearchRequest inside SearchResult.

base

str – Identity of base where this record is stored.

library

str – Library string, used for downloading documents from Aleph when you know proper docNumber.

docNumber

str – Identificator in Aleph. It is not that much unique as it could be, but with library string, you can fetch documents from Aleph if you know this.

xml

str – MARC XML source returned from Aleph. Quite complicated stuff.

parsed

namedtuple, default None – Parsed xml to EPublication structure in case of monographic / multimono publications, or EPeriodical in case of series.

semantic_info

namedtuple, default None – Export progress informations from xml attribute represented as SemanticInfo structure in case of monographic / multimono publications, or EPeriodicalSemanticInfo in case of series.

Poznámka

semantic_info and parsed attributes are parsed automatically from xml if not provided by user.