The oaipmh module is a Python implementation of an "Open Archives$ Initiative Protocol for Metadata Harvesting"
Latest commit beced90 Feb 17, 2016 @jascoul jascoul Improved PY3 compatibility
Added some missing text_type calls, changed an Exception as, so that it is compatible with python<2.6. Also removed dependency on six, since it was only used for text_type
Failed to load latest commit information.
doc added client test script to docs Dec 7, 2012
.gitignore added .gitignore Jun 18, 2013
HISTORY.txt Improved PY3 compatibility Feb 17, 2016
INSTALL.txt Prepare for release. Nov 21, 2005
LICENSE.txt Preparing for 2.0. Jan 26, 2006
buildout.cfg Use buildout to create test runner and setup environment and the like. Mar 12, 2009



The oaipmh module is a Python implementation of an "Open Archives Initiative Protocol for Metadata Harvesting" (version 2) client and server. The protocol is described here:

Below is a simple implementation of an OAIPMH client:

>>> from oaipmh.client import Client
>>> from oaipmh.metadata import MetadataRegistry, oai_dc_reader
>>> URL = ''
>>> registry = MetadataRegistry()
>>> registry.registerReader('oai_dc', oai_dc_reader)
>>> client = Client(URL, registry)
>>> for record in client.listRecords(metadataPrefix='oai_dc'):
>>>    print record

The pyoai package also contains a generic server implementation of the OAIPMH protocol, this is used as the foundation of the MOAI Server Platform