Releases: BookOps-CAT/bookops-nypl-platform
Releases · BookOps-CAT/bookops-nypl-platform
Updated dependencies and type annotations
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 importpy.typed
file so applications usingbookops-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 toisinstance
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
- Updated dependencies:
- certifi (2023.11.17)
- requests (2.31.0)
- dev dependencies
- Updated
conftest.py
with new path to credentials master
renamed tomain
Dependencies updates & GitHub-Actions CI
- 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
- Python 3.7 support in metadata
- Dependencies update
Items endpoint
Basic item endpoint method added:
- /v0.1/items
get_item_list
- retrieves list of items
Initial release
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