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.
Release files for cubicweb-oaipmh 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cubicweb-oaipmh-1.0.1.tar.gz | 27.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cubicweb_oaipmh-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 45.5 kB
Release files / cubicweb-oaipmh-1.0.1.tar.gz
| Download URL | cubicweb-oaipmh-1.0.1.tar.gz |
|---|---|
| Size | 27.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e5c7672477568c56ed50c185426837741d55127bf10442db11850496f558d4bf
|
|
BLAKE2b-256 checksum How to use checksums |
961c214218d867e530f4496a50e247a2b94c809ad6ae5d2f2ba40e60f10b2707
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.12.0
|
Release files / cubicweb_oaipmh-1.0.1-py3-none-any.whl
| Download URL | cubicweb_oaipmh-1.0.1-py3-none-any.whl |
|---|---|
| Size | 18.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
67b8ce0bb29d1141e49fcba4941b5f82f439d42f5dcb68ea537ff938e51512c4
|
|
BLAKE2b-256 checksum How to use checksums |
f22b28e4659a1e4d55b965bc7ae62ca15a54194772885d9e0c5e986a9029f401
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.12.0
|