Subject terms tooling for InvenioRDM
Project description
galter-subjects-utils
Subjects tooling for InvenioRDM.
This distribution package provides an invenio subcommand group to manage controlled vocabulary subjects.
In particular, it provides functionality to
- generate and update the initial list of subject terms for a vocabulary distribution package.
- update a running instance's subjects by analyzing the delta between the instance and the updated target list of terms.
Although it contributes MeSH and LCSH terms functionality (those may be extracted out in the future), the goal is for this package to provide a framing for any subjects operations/CLI tooling. See https://github.com/galterlibrary/invenio-subjects-mesh for an example of how it fits in the ecosystem.
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.3.X | 11.X |
This just means for example that version 0.3 guarantees generation of subjects files and subject manipulation compatible with invenio-app-rdm v11. When there is a break in subjects format, this tool will bump its major version.
Usage
pipenv run invenio galter-subjects --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.4.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d45536279dad034e6f0d8be5a5bb03b5cac655f711887d943edf99d6e8863562 |
|
MD5 | 7146bdb9d238e3baf88730b272db66ff |
|
BLAKE2b-256 | 7df7057688f96d9b83655c8f39840f29123d065c4f330e2a99cabdfb9d270315 |
Hashes for galter_subjects_utils-0.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a47817b39c10e0f0d0b271a25538a4f4f6e4045841b6a57e77cb7c8c8f0eed77 |
|
MD5 | af61999edd9c5fcffdca525ea3d90d75 |
|
BLAKE2b-256 | 02f1fb09eb671cbe1ef41300f5a689e0189bcd06468a7d93ca6110d1d224b760 |