pymarc
JSON →A Python library for reading, writing, and modifying MARC (MAchine-Readable Cataloging) bibliographic data. It supports reading MARC21 from files or strings and writing records in various formats including MARC-8, UTF-8, and XML. Current version 5.3.1, requires Python >=3.9. Released under MIT license.