Skip to content

Releases: BookOps-CAT/bookops-nypl-platform

Updated dependencies and type annotations

04 Dec 18:39
372a8c8
Compare
Choose a tag to compare

Added

  • .flake8 file to ignore line length and unused import errors in tests
  • Python versions 3.11, 3.12, and 3.13 to GitHub Actions
  • BookopsPlatformError as top level import
  • py.typed file so applications using bookops-nypl-platform will use annotations from this package
  • added type annotations where they were missing and fixed them where they were incomplete or inaccurate
  • type annotations to variables in PlatformSession methods where needed
  • Dev dependencies:
    • exceptiongroup (1.2.2)

Changed

  • updated GitHub checkout and setup actions in automated tests (unit-tests.yaml)
  • if type() is type check syntax changed to isinstance type checks
  • target python version in pyproject.toml now 3.8-3.13
  • Updated dependencies:
    • certifi (2024.8.30)
    • charset-normalizer (3.4.0)
    • idna (3.10)
    • requests (2.32.3)
    • urllib3 (2.2.3)
  • Updated dev dependencies:
    • black (24.8.0)
    • coverage (7.6.1)
    • packaging (24.2)
    • pathspec (0.12.1)
    • platformdirs (4.3.6)
    • pluggy (1.5.0)
    • pytest-cov (5.0.0)
    • pytest-mock (3.14.0)
    • pytest (8.3.3)
    • tomli (2.1.0)
    • typing-extensions (4.12.2)

Updated dependencies and tests

02 Jan 15:40
711229b
Compare
Choose a tag to compare
  • Updated dependencies:
    • certifi (2023.11.17)
    • requests (2.31.0)
    • dev dependencies
  • Updated conftest.py with new path to credentials
  • master renamed to main

Dependencies updates & GitHub-Actions CI

05 Feb 21:21
25fde6b
Compare
Choose a tag to compare
  • Changes CI from Travis to Github-Actions
    • adds testing for Python 3.10
  • Updates dependencies:
    • certifi to 2021.10.8
    • idna to 3.3
    • requests to 2.27.1
    • urllib3 to 1.26.8
    • dev dependencies

Py 3.7 support

30 Oct 03:55
Compare
Choose a tag to compare
  • Python 3.7 support in metadata
  • Dependencies update

Items endpoint

27 Oct 16:04
Compare
Choose a tag to compare

Basic item endpoint method added:

  • /v0.1/items get_item_list - retrieves list of items

Initial release

22 Oct 03:51
Compare
Choose a tag to compare

Basic functionality for obtaining access token and searching bib and item records.

Supported NYPL Platform endpoints:

  • /v0.1/auth/patron/tokens/{token}
  • /v0.1/bibs
  • /v0.1/bibs/{nyplSource}/{id}
  • /v0.1/bibs/{nyplSource}/{id}/is-research
  • /v0.1/bibs/{nyplSource}/{id}/items