OAI-PMH Python Module

PyPI logo PyPI

OAI-PMH Python Module is also available on the Python Package Index:
http://pypi.python.org/pypi/pyoai

GitHub logo GitHub

The code for OAI-PMH Python Module is also on GitHub:
https://github.com/infrae/pyoai

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:

http://www.openarchives.org/OAI/openarchivesprotocol.html

Below is a simple implementation of an OAIPMH client:

>>> from oaipmh.client import Client
>>> from oaipmh.metadata import MetadataRegistry, oai_dc_reader
>>> URL = 'http://uni.edu/ir/oaipmh'
>>> 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

Available releases

Release version Release date Release files
OAI-PMH Python Module 2.4.4 2010 9 30 11:22:55 pyoai-2.4.4.tar.gz
OAI-PMH Python Module 2.4.3 2010 8 19 15:44:41 pyoai-2.4.3.tar.gz
OAI-PMH Python Module 2.4.2 2010 5 3 17:42:45 pyoai-2.4.2.tar.gz
OAI-PMH Python Module 2.4.1 2009 11 16 17:42:19 pyoai-2.4.1.tar.gz
OAI-PMH Python Module 2.4 2009 5 4 15:51:40 pyoai-2.4.tar.gz
OAI-PMH Python Module 2.2.1 2008 7 11 14:50:09 pyoai-2.2.1.tgz
OAI-PMH Python Module 2.1.5 2006 10 2 10:20:37 pyoai-2.1.5.tgz
OAI-PMH Python Module 2.1.3 2006 5 1 18:14:26 pyoai-2.1.3.tgz
OAI-PMH Python Module 2.0 2006 1 26 15:21:02 pyoai-2.0.tgz
OAI-PMH Python Module 2.0b1 2005 11 21 15:22:11 pyoai-2.0b1.tgz
OAI-PMH Python Module 1.0.1 2005 1 3 16:22:26 oaipmh-1.0.1.tgz
OAI-PMH Python Module 1.0 2004 10 13 19:07:36 oaipmh.tgz

License: New BSD