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 Sep 30, 2010 11:22:55 AM pyoai-2.4.4.tar.gz
OAI-PMH Python Module 2.4.3 Aug 19, 2010 3:44:41 PM pyoai-2.4.3.tar.gz
OAI-PMH Python Module 2.4.2 May 3, 2010 5:42:45 PM pyoai-2.4.2.tar.gz
OAI-PMH Python Module 2.4.1 Nov 16, 2009 5:42:19 PM pyoai-2.4.1.tar.gz
OAI-PMH Python Module 2.4 May 4, 2009 3:51:40 PM pyoai-2.4.tar.gz
OAI-PMH Python Module 2.2.1 Jul 11, 2008 2:50:09 PM pyoai-2.2.1.tgz
OAI-PMH Python Module 2.1.5 Oct 2, 2006 10:20:37 AM pyoai-2.1.5.tgz
OAI-PMH Python Module 2.1.3 May 1, 2006 6:14:26 PM pyoai-2.1.3.tgz
OAI-PMH Python Module 2.0 Jan 26, 2006 3:21:02 PM pyoai-2.0.tgz
OAI-PMH Python Module 2.0b1 Nov 21, 2005 3:22:11 PM pyoai-2.0b1.tgz
OAI-PMH Python Module 1.0.1 Jan 3, 2005 4:22:26 PM oaipmh-1.0.1.tgz
OAI-PMH Python Module 1.0 Oct 13, 2004 7:07:36 PM oaipmh.tgz

License: New BSD