Marc XML Bibliographic Records of E-Books often come with a Dewey Classification. Based on concordances
https://coli-conc.gbv.de/api/concordances/ddc-obv
https://coli-conc.gbv.de/api/concordances/ddc-bk-1000-ubg
one can enrich BK and OBV Classification for a given Marc XML <record/>
Element.
-
You can use pipx to make this available from a local clone:
-
From the repo root directory execute
pipx install .
There is a -h
switch for alma_rest_bib_enricher
and marc_xml_file_enricher
to print a how-to-use message. E.g.:
alma_rest_bib_enricher -h
alma_rest_bib_enricher input_folder/ output_folder/
The input_folder should contain XML Files of Alma APIs Rest Bib Objects
The output_folder is used to write the enriched Bib Objects into it for API updates.
marc_xml_file_enricher input_marc.xml output_marc.xml
The input_file should contain namespaced Marc Record elements as children of a root element.
The output_file is used to write the enriched data to.