Date: 2024-12-11
PyPI release page: https://pypi.org/project/dspace-rest-client/0.1.13/
Changes
- Update requests and pysolr dependencies and improve setup.py (thanks @alanorth) #24
- Add auto-paginating
get_*_iter
methods for mostget_*
methods (thanks @dpk) #27 - Improve version number maintenance #30
- New
create_item_version
method (thanks @soaringjupiter) #31 - Allow
embed=['...', '...']
parameter in most methods that return objects, to allow embedded HAL resources #20 - Extend
search_objects[_iter]
to accept a configuration parameter #32 - Integrate pylint scaffolding (thanks @sszepe and @mdwRepository) #37
- New
resolve_identifier_to_dso
method #39 - Small pydoc improvements
- Added new example usage to
example.py
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 #17 - Fix
get_items
method parameters (thanks @ckubgi) #21
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 #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: #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: #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: #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: #11 - pysolr added to requirements.txt to satisfy this solr client dependency missing from the last version: #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: #8