Releases: BookOps-CAT/bookops-marc
Releases · BookOps-CAT/bookops-marc
Pymarc 5.2 bump
0.10.0 Handling of OCLC Numbers
Updated to pymarc 5.1
- updated dependencies
- pymarc (5.1.0)
- updated dev dependencies:
- black (22.12.0)
- pytest (7.4.4)
- github actions upgrade to v4
- added tests for Python 3.11 & 3.12
Sierra bib format code parsing and instating Bib from pymarc.Record instance
- adds
sierra_bib_format()
toBib
class that parses and normalizes 998$d (Sierra bib format code) - adds
pymarc_record_to_local_bib()
to convertpymarc.Record
instance intoBib
instance
Unsupported thesauri removal
Added
- remove_unsupported_subjects() that deletes subject tags (6xx) which are not supported by BookOps (NYPL & BPL CAT)
- dev dependency mypy 0.942
- basic type checking
Fixes parsing bib created dates in NYPL records
Fixed
- parsing of NYPL bib created date Sierra field (907$c)
Changed
- bumps pymarc to v4.2.0
CI moved from Travis to Github-Actions
Moved testing from Travis to Github-Actions and added Python 3.10.
Suppressed method
Adds suppressed()
method to Bib which determines based on 998 $e if bib is suppressed from the public display.
control number
Added control_number
method to the Bib
class.
Standard identifiers
Three methods added to Bib object:
- lccn()
- overdrive_number()
- upc_number()