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
insideSearchResult
.-
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
toEPublication
structure.
-
semantic_info
¶ namedtuple, default None
Export progress informations from
xml
attribute represented asSemanticInfo
structure.
Note
semantic_info
andepublication
attributes are parsed automatically fromxml
if not provided by user.-