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.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f395ef0f9b3cd7987f80c7b4fda659a63da67206e48056bb34dc47a0692b4a5 |
|
MD5 | 1c4c4469b20942b67f21cbd9201928dd |
|
BLAKE2b-256 | 587bac06727077dd31cff432029847df0140229da9921935208ffdab32192e18 |
Hashes for galter_subjects_utils-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18692f66ee142b69655eb374ce46a723bfb9777d66b77db4c2d0038b45595a9c |
|
MD5 | 08950dfdeb79434b85a21aca9e3b4386 |
|
BLAKE2b-256 | 4a8ba4bf67575b409b61a58665ddce647113ce25c4a7a8d7fe25bc8c44acddbb |