$npx skillfedfor your agent

pymarc

Read, write and modify MARC bibliographic data

Worth itPyPI Text ProcessingReleased Jul 202693.8K downloads / moPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — pymarc-5.4.0-py3-none-any.whl
v5.4.0 · released 2026-07-02 · Python >=3.10

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.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later.
  • MARC data must be in binary MARC21 format (typically .dat or .mrc files).
  • Low install friction with no runtime dependencies.

License · maintenance · safety

(unclear) — License text indicates a BSD-style permissive license (unclear SPDX classification in metadata), allowing use in most projects with attribution and liability disclaimer.

last release 2026-07-02 (43 days)

0 known vulnerabilities (OSV.dev, 2026-08-14) · 93,784 downloads/mo, #13,362 on PyPI

Verify before relying

from pymarc import MARCReader
with open('records.dat', 'rb') as fh:
    reader = MARCReader(fh)
    for record in reader:
        print(record.title)
  • Whether the package is suitable for production use in large-scale library systems or primarily for data migration tasks.
  • Performance characteristics when processing very large MARC record batches.
Same gist for agents: .md · .json

What it is and what it does

pymarc is a Python library for working with MARC21 records—the 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.

The 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—fields contain indicators and subfields—and 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.

Use it for

  • 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.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

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.

Install

pymarc on PyPI

Before you install

Low install friction with no runtime dependencies. Actively maintained as of 43 days ago with support for current Python versions (requires Python 3.10+).

Requires Python 3.10 or later. MARC data must be in binary MARC21 format (typically .dat or .mrc files).

License in practice

License text indicates a BSD-style permissive license (unclear SPDX classification in metadata), allowing use in most projects with attribution and liability disclaimer.

Quickstart

from pymarc import MARCReader
with open('records.dat', 'rb') as fh:
    reader = MARCReader(fh)
    for record in reader:
        print(record.title)

Verify before relying

  • Whether the package is suitable for production use in large-scale library systems or primarily for data migration tasks.
  • Performance characteristics when processing very large MARC record batches.

Package facts

LicenseNot declared unclear
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceActively maintained 43 days since the last release
First released
Downloads93,784 / month, #13,362 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14

Evidence: pymarc-5.4.0-py3-none-any.whl

Tags

Capabilities
MARC record processingbibliographic data libraryMARC21 parserlibrary catalog dataMARC reader writerbibliographic metadataMARC field extraction
Topics
library-databibliographic-metadata

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “MARC record processing”

  • pymarcpymarc reads, writes, and modifies MARC21 bibliographic records, the…
  • array-recordArrayRecord is a file format for storing and accessing array data…
  • jsonseqEncodes and decodes JSON text sequences according to RFC 7464,…

Give your agent the search over MCP, or paste the wish link into any chat.

More Text Processing packages

regex Worth it
PyPI · Python Modules · released Jul 2026

A drop-in replacement for Python's standard `re` module that adds advanced regex features like nested sets, fuzzy matching, lookaround in conditionals, and full Unicode case-folding while maintaining backward compatibility.

Apache-2.0 AND CNRI-Pythoncompiled wheel · 3.10+
437.7Mdownloads / mo
pyparsing Worth it
PyPI · Text Processing · released Jan 2026

pyparsing provides a library for building text parsers directly in Python code using composable grammar classes, handling quoted strings, whitespace variation, and embedded comments without regex or lex/yacc.

Install it if you need to parse text or define grammars programmatically.

MITpure Python · 3.9+
412.7Mdownloads / mo
fonttools Worth it
PyPI · Text Processing · released May 2026

fonttools manipulates font files in multiple formats (TrueType, OpenType, AFM, Type 1, Mac-specific) and includes TTX, a tool to convert fonts to and from XML text format.

Install it if you need to read, write, or manipulate fonts programmatically or via the TTX command-line tool.

permissive licensepure Python · 3.10+
235.9Mdownloads / mo
docutils With conditions
PyPI · Software Development · released May 2026

Docutils converts plaintext documentation in reStructuredText format into multiple output formats including HTML, XML, and LaTeX using a modular processing system.

BSD-3-Clausepure Python · 3.9+
225.6Mdownloads / mo
RapidFuzz Worth it
PyPI · Text Processing · released Apr 2026

RapidFuzz provides fast fuzzy string matching using Levenshtein Distance and related metrics, implemented mostly in C++ with Python bindings for rapid similarity scoring and approximate string matching.

Install it if you need fuzzy string matching; it's a solid replacement for FuzzyWuzzy with better licensing and performance.

MITcompiled wheel · 3.10+
184.2Mdownloads / mo
tinycss2 Worth it
PyPI · Text Processing · released Nov 2025

tinycss2 parses CSS strings into token and block objects, and generates CSS strings from those objects, following the CSS Syntax Level 3 specification without enforcing specific properties or values.

Install it if your project requires CSS tokenization or syntax manipulation.

BSD-3-Clausepure Python · 3.10+
113.2Mdownloads / mo

See also warcio · pymaven-patch · isbnlib · mac-alias · habanero · ar · pymatreader · pystac-ext-scientific · bibtexparser · dbfread