How to install Sickle
- Download and install ActivePython
- Open Command Prompt
- Type
pypm install sickle
Lastest release
Sickle: An OAI Client Library for Python
Sickle is lightweight OAI-PMH client library written in Python. It has been designed for conveniently retrieving data from OAI interfaces the Pythonic way:
>>> sickle = Sickle('http://elis.da.ulcc.ac.uk/cgi/oai2') >>> records = sickle.ListRecords(metadataPrefix='oai_dc')
Most importantly, Sickle lets you iterate through OAI records without having to deal with things like result batches or resumptionTokens yourself:
>>> records.next() <Record oai:eprints.rclis.org:4088>
Links
Changelog
Version 0.3
- added support for protected OAI interfaces (basic auth)
- made class mapping for OAI elements configurable
- added options for HTTP timeout and max retries
- added handling of HTTP 503 responses
Version 0.2
- OAI items are now represented as their own classes instead of XML elements
- library raises OAI-specific exceptions
- made lxml a required dependency
Version 0.1
February 20, 2013
First public release.