Subject terms tooling for InvenioRDM
Project description
galter-subjects-utils
Subjects tooling for InvenioRDM.
When a new list of terms (e.g. MeSH) comes out, this tool can be used to update the list in a dedicated subject distribution package.
This tool is typically required by the dedicated subject distribution packages under the [dev]
extra.
The tool follows the same typical pattern for any subject:
- Download the new list
- Read it with optional filters
- Convert vocabulary entries to InvenioRDM subjects format
- Write those to file
Installation
pip install galter-subjects-utils
Versions
This repository follows semantic versioning indexed on invenio-app-rdm compatibility according to the table below:
This Version | invenio-app-rdm version |
---|---|
0.X | 11.X |
1.X | 11.X |
This just means for example that version 1.X guarantees generation of subjects files compatible with invenio-app-rdm v11. When there is a break in subjects format, this tool will bump its major version.
Usage
galter-subjects-utils --help
Development
Install the project in editable mode with dev
dependencies in an isolated virtualenv ((venv)
denotes that going forward):
(venv) pip install -e .[dev]
Run tests:
(venv) invoke test
# or shorter
(venv) inv test
Check manifest:
(venv) inv check-manifest
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 galter-subjects-utils-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac762359175690b6a9b4b68a0f6e6e23ccf2750594401d3965d9c72849414749 |
|
MD5 | f788f6eef2d365aa3f7bb4cf99afe112 |
|
BLAKE2b-256 | 2aa468540d087a07e93142953cc9b496d64a5d0fe5862045461e56ddbb830f73 |
Hashes for galter_subjects_utils-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 47679f1efefbe6f572b85822e06c8697fd5459a2ca8a4670bd3bb564e0293b65 |
|
MD5 | 1f8e201c59e3abe393a8dad412c7f2cd |
|
BLAKE2b-256 | 03b9322b9405d6d6b071ff9c50599578d4667298f4273fd472e127cc20c4672d |