Date: 2024-08-06
PyPI release page: https://pypi.org/project/dspace-rest-client/0.1.12/
Changes
- Initialise search result objects as
SimpleDSpaceObject
rather than baseDSpaceObject
class (thanks to @JemmaPilcher) - Introduce / tidy new
SearchResult
model as work towards the-library-code#17
Date: 2024-06-11
PyPI release page: https://pypi.org/project/dspace-rest-client/0.1.11/
Changes
- Small changes to maintenance docs and publish script
- Correct required packages in
requirements.txt
andsetup.py
as per the-library-code#16 (reported by @alanorth)
Date: 2024-04-04
PyPI release page: https://pypi.org/project/dspace-rest-client/0.1.10/
Changes
- Correct content type header for URI tests: the-library-code#14 (thanks to @andreasgeissner)
- Small change to example script checks for successful bitstream header retrieve before printing
- Added new
MAINTAINING.md
to keep notes about build and publish process with the rest of the project files
Date: 2023-12-03
PyPI release page: https://pypi.org/project/dspace-rest-client/0.1.9/
Changes
- All
print
statements in client module replaced with Python logging: the-library-code#12 - A customisable user agent header is added to each request, to allow for better logging at the API endpoint and to force requests through Cloudfront, other WAF proxies that filter requests by user agent. Reported by @abubelinha: the-library-code#10
- In the
search_objects
client method, thedsoType
arg is renamed todso_type
to conform with PEP 8 style guidlelines, and a newscope
arg is added to restrict the search to a particular collection or community. - A new
get_items
client method is added, to get all items (admin-only) - A new
get_short_lived_token
client method is added, for bitstream retrieval - A new
download_bitstream
client method is added to retrieve actual /content - A new
example_gets.py
script is added, andexample.py
updated to include basic examples of how to retrieve, iterate and work with existing data in the repository. Reported by @pnbecker: the-library-code#11 - pysolr added to requirements.txt to satisfy this solr client dependency missing from the last version: the-library-code#7
PyPI release page: https://pypi.org/project/dspace-rest-client/0.1.8/
Date: 2023-10-07
Changes
Fixes a bug when using get_communities with a uuid parameter to fetch a single community, see: the-library-code#8