OAI-PMH server for CubicWeb
Project description
This cube registers a Pyramid route /oai against which all OAI-PMH requests should be performed.
An “admin-email” configuration option should be defined to reference the email address of an administrator of the OAI-PMH repository.
The implementation relies on selective harvesting in the sense that only entity types registering a set specifier will be visible through OAI-PMH protocol.
To register an entity type for OAI-PMH harvesting, one should implement subclasses of OAIPMHRecordAdapter adapter with a selection context and at least a concrete definition of set_definition class method. Other things like the record view or identifier attribute are configurable through this adapter.
See test/data for concrete examples of possible registrations of entity types as OAI-PMH records.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for cubicweb_oaipmh-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 67b8ce0bb29d1141e49fcba4941b5f82f439d42f5dcb68ea537ff938e51512c4 |
|
MD5 | c3a15400587b56ac8d0933a3095b4638 |
|
BLAKE2b-256 | f22b28e4659a1e4d55b965bc7ae62ca15a54194772885d9e0c5e986a9029f401 |