Skip to content

Releases: BookOps-CAT/bookops-marc

Pymarc 5.2 bump

13 Nov 16:35
34e74cd
Compare
Choose a tag to compare

Bumps dependencies to:

  • pymarc v5.2.3
  • pytest v8.3..3
  • black v24.8.0
  • mypy v1.13

Refactors code to support a new class, Indicators in pymarc (introduced in v5.2.0)

0.10.0 Handling of OCLC Numbers

21 Mar 01:51
cd89f82
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.9.0...0.10.0

Updated to pymarc 5.1

23 Jan 18:20
Compare
Choose a tag to compare
  • 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

16 Aug 18:52
Compare
Choose a tag to compare
  • adds sierra_bib_format() to Bib class that parses and normalizes 998$d (Sierra bib format code)
  • adds pymarc_record_to_local_bib() to convert pymarc.Record instance into Bib instance

Unsupported thesauri removal

17 Apr 04:17
48452c6
Compare
Choose a tag to compare

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

13 Apr 15:15
Compare
Choose a tag to compare

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

07 Feb 04:42
Compare
Choose a tag to compare

Moved testing from Travis to Github-Actions and added Python 3.10.

Suppressed method

15 Nov 14:31
Compare
Choose a tag to compare

Adds suppressed() method to Bib which determines based on 998 $e if bib is suppressed from the public display.

control number

23 Sep 14:07
Compare
Choose a tag to compare

Added control_number method to the Bib class.

Standard identifiers

23 Sep 13:28
Compare
Choose a tag to compare

Three methods added to Bib object:

  • lccn()
  • overdrive_number()
  • upc_number()