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
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.
-
parsed
¶ namedtuple, default None – Parsed
xml
toEPublication
structure in case of monographic / multimono publications, orEPeriodical
in case of series.
-
semantic_info
¶ namedtuple, default None – Export progress informations from
xml
attribute represented asSemanticInfo
structure in case of monographic / multimono publications, orEPeriodicalSemanticInfo
in case of series.
Poznámka
semantic_info
andparsed
attributes are parsed automatically fromxml
if not provided by user.-