tu-graz-library / invenio-pure

MIT License
0 stars 3 forks source link

Synchronize & Convert #29

Closed bengaal closed 3 years ago

bengaal commented 3 years ago

This PR starts with adding a workaround to the failing CI tests. This PR adds a Synchronizer class, which encapsulates the periodically recurring ETL (Extract, Transform, Load) processes. This PR also adds a converter class, which is responsible for converting a JSON from Pure into a Marc21 format record. So far the record is stored in a module-intern class Marc21Record.

In the future methods will be added to output the object either as a pretty-printed string or as an xml.etree.ElementTree.