OAI-PMH Python package (pyoai)
The pyoai package enables high-level access to an OAI-PMH
metadata repository and also implements a framework for quickly
creating OAI-PMH compliant servers. Arbitrary repositories can be
accessed and
harvested using an easy to use Python-based API. It has built-in
support for the default Dublin Core
metadata set (oai_dc). It can also
be easily extended with support for other metadata sets using a simple
declarative system based on industry-standard xpath expressions. The
same simple Python API used for harvesting can be implemented by the
programmer to set up a new OAI-PMH compliant server.
The
oaipmh package can be integrated with any Python application. The
requirement to install version pyoai 2.0b1 and beyond is lxml, which in turn needs libxml2 and libxslt. Older versions need libxml2 and its Python bindings.
For more information see the OAI-PMH Pack product page.
Thank you
Jan-Wijbrand Kolman for API feedback.
Thom Hickey for critical discussion of the source code.
Thijs Janssen for a bugfix for version 1.0.
Many thanks go to Henk Ellermann at the library of Erasmus University Rotterdam for making this development possible.
Dependencies
- libxml2
- http://www.xmlsoft.org/
- libxslt
- http://www.xmlsoft.org/XSLT
- lxml
- http://codespeak.net/lxml