AlephRecord structure

Following structures are used to represent informations returned from Aleph.

API

class aleph.datastructures.alephrecord.AlephRecord[source]

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.

epublication

namedtuple, default None

Parsed xml to EPublication structure.

semantic_info

namedtuple, default None

Export progress informations from xml attribute represented as SemanticInfo structure.

Note

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