oarepo OAI-PMH converter.
Project description
oarepo-oai-pmh-harvester
OAI-PMH Client for Invenio under OArepo brand.
Installation
bla
Configuration
Data harvesting must be set in the configuration (invenio.cfg or via app.config). All settings are made via the OAREPO_OAI_PROVIDERS key. Config is a dictionary where the key is the provider code and each provider can have several individual settings / jobs called synchronizer.
OAREPO_OAI_PROVIDERS={
"provider-name": {
"description": "Short provider description",
"synchronizers": [
{
"name": "xoai",
"oai_endpoint": "https://example.com/oai/",
"set": "example_set",
"metadata_prefix": "oai_dc",
"unhandled_paths": ["/dc/unhandled"],
"default_endpoint": "recid",
"use_default_endpoint": True,
"endpoint_mapping": {
"field_name": "doc_type",
"mapping": {
"record": "recid"
}
}
}
]
},
}
Parameters:
- description: Test description of provider
- synchronizers: Dictionary with individual settings
- name: name of the setting/synchronizer
- oai_endpoint: URL adress
- set: name of OAI set
- metadata_prefix: name of OAI metadata prefix
- unhandled_paths: List of paths in json that are not handled by any rule.It must be specified, otherwise the client will report an error that the path was not processed by any rule.
- default_endpoint: The name of the end_point defined in RECORDS_REST_ENDPOINTS from the invenio-records-rest library, which will be used as the base unless otherwise specified.
Usage
The package is used to integrate the OAI-PMH client into Invenio. It is a wrapper that is built on the Sickle library. Provides integration with invenio-records. The purpose of the package is to ensure synchronization with a remote OAI-PMH source.
Parsers
Rules
CLI
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
Close
Hashes for oarepo-oai-pmh-harvester-2.0.0a1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1c325aebff39abbd711566593ea12e17c40d1e5dc19d11f3fb2ede424f5c8d0 |
|
MD5 | 1ccf7fe7463d7fda8022c807d1a90444 |
|
BLAKE2b-256 | d00e6c0be01fccd5b8479a0956b361d0e93ad20b72d2acc89cef0b94b4ac2302 |
Close
Hashes for oarepo_oai_pmh_harvester-2.0.0a1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a93ef814f0697975808c98b899819ee0f4b6d3d893e2f487526e20626d7b590 |
|
MD5 | fa68b65877bd92b02952d408410ba80f |
|
BLAKE2b-256 | 248569dbb4c6ef4f510eead254d23aa52ebff770a913ffefb58c4ca350109abb |