This is just a heads up to let you know that v5.2.0 was just released to PyPI. We’ve had some new features and fixes waiting on main for over a month now, and I thought it would be good to get them out there.
Many thanks for contributions from Renaud Boyer, Jeremy Nelson, Andrew Hankinson and Billy Webb. A summary of the changes is included below, and you can find the details in the release notes at:
https://gitlab.com/pymarc/pymarc/-/releases/v5.2.0
• Added MARCMakerReader class for reading MARC data from a textual representation of a MARC record, expanding the previous capability of pymarc to output MARC records in this format.
• The Leader class is now automatically initialized for easier access and updates.
• Created Indicators type to limit indicator length and improve handling.
• Improved documentation of record status.
• Test coverage added on GitLab merge requests.
• Field objects now throw a KeyError exception if you try to set a subfield since they don't contain subfields.
• Fixed issue with iterating over fields and subfields.
//Ed