{"categories":[{"label":"Text Processing","url":"https://skillfed.io/packages/category/text-processing/3"}],"enrichment":{"capability":"pymarc reads, writes, and modifies MARC21 bibliographic records, the standard format used by libraries to encode catalog metadata.","skillfed_tags":["library-data","bibliographic-metadata"],"use_cases":["Extract titles, authors, and ISBNs from a batch of MARC records for import into a database or search index.","Convert MARC binary files to JSON or XML for distribution to systems that cannot parse MARC natively.","Migrate bibliographic data out of legacy library systems by reading MARC dumps and transforming them into modern formats.","Create or update MARC records programmatically when integrating with library management systems.","Process subject headings and other repeating fields from MARC records for analysis or enrichment."],"what_it_does":"pymarc is a Python library for working with MARC21 records\u2014the standard bibliographic data format used by libraries worldwide. It provides an API to read MARC binary files, extract fields and subfields, create new records, and serialize to JSON or XML formats. The library was originally designed as an escape route for extracting data out of MARC into more modern representations, but has evolved to support full record creation and modification as MARC remains in widespread use despite decades of calls for its replacement.\n\nThe package exposes MARC records as Python objects with both convenience properties (like `title`, `author`, `isbn`) and direct field access via numeric tags and subfield codes. It handles the complexity of MARC's hierarchical structure\u2014fields contain indicators and subfields\u2014and supports batch processing through iterators. As of version 5.0.0, subfields are represented as named tuples rather than flat string lists, with a conversion utility for legacy code.","worth_installing":"Yes. pymarc is actively maintained, has no dependencies, installs easily, and is the standard tool for MARC processing in Python. Install it if you work with library data, need to migrate MARC records, or integrate with library systems. The license is permissive. No known security vulnerabilities."},"id":"pymarc","links":{"html":"https://skillfed.io/packages/pymarc","md":"https://skillfed.io/packages/pymarc.md","pypi":"https://pypi.org/project/pymarc/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-07-02","license_spdx":null,"license_treatment":"unclear","name":"pymarc","python_support":"supports_current","summary":"Read, write and modify MARC bibliographic data"},"popularity":{"monthly_downloads":93784,"position":13362,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"5.4.0"}
