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:
| galter-subjects-utils | invenio-app-rdm version |
|---|---|
| 0.7.X | 13.X |
| 0.5.X, 0.6.x | 12.X |
This just means for example that version 0.7 guarantees generation of subjects files and subject manipulation compatible with invenio-app-rdm v13. When there is a break in subjects format, this tool will bump its major version.
Usage
In virtualenv ((venv) denotes that going forward):
(venv) invenio galter-subjects --help
Development
Install the project in editable mode with dev dependencies in an isolated virtualenv:
(venv) pip install -e .[dev]
Run tests:
(venv) invoke test
# or shorter
(venv) inv test
Check manifest:
(venv) inv check-manifest
To check compatibility with the pre-release version of InvenioRDM (invenio-app-rdm):
# Step 1 - install the pre-release dependencies
(venv) pip install --pre -e .[dev_pre]
# Step 2 - Run the pre-release tests
(venv) inv test
# if using uv run:
uv run --extra dev_pre --prerelease=allow inv test
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file galter_subjects_utils-0.8.0.tar.gz.
File metadata
- Download URL: galter_subjects_utils-0.8.0.tar.gz
- Upload date:
- Size: 23.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
36b87a655001f2f454473dfd3f79d28f3199e9118e9d56f49ab74b948cd77083
|
|
| MD5 |
d37d664bff182f1e13bcbe4edb77ab79
|
|
| BLAKE2b-256 |
054e7d99665645a23fa0c07cbcfa76d79c88497a57a85cffc4e4e73d7adfe16d
|
Provenance
The following attestation bundles were made for galter_subjects_utils-0.8.0.tar.gz:
Publisher:
publish-to-pypi.yml on galterlibrary/galter-subjects-utils
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
galter_subjects_utils-0.8.0.tar.gz -
Subject digest:
36b87a655001f2f454473dfd3f79d28f3199e9118e9d56f49ab74b948cd77083 - Sigstore transparency entry: 873472178
- Sigstore integration time:
-
Permalink:
galterlibrary/galter-subjects-utils@bdee08ee798208921a8ca84712dd4c38e2ffcebb -
Branch / Tag:
refs/tags/v0.8.0 - Owner: https://github.com/galterlibrary
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@bdee08ee798208921a8ca84712dd4c38e2ffcebb -
Trigger Event:
push
-
Statement type:
File details
Details for the file galter_subjects_utils-0.8.0-py3-none-any.whl.
File metadata
- Download URL: galter_subjects_utils-0.8.0-py3-none-any.whl
- Upload date:
- Size: 17.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e95f40408d599c4dd7952953e0ac8343ae3166d705fa50d663fba4aa5bafac35
|
|
| MD5 |
7eae272bbbfcd7c012624b5e244165cf
|
|
| BLAKE2b-256 |
6f6dbb40381c39681b3ed8242ef55c6395017bdfa5b36c00efb7e025c64f219d
|
Provenance
The following attestation bundles were made for galter_subjects_utils-0.8.0-py3-none-any.whl:
Publisher:
publish-to-pypi.yml on galterlibrary/galter-subjects-utils
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
galter_subjects_utils-0.8.0-py3-none-any.whl -
Subject digest:
e95f40408d599c4dd7952953e0ac8343ae3166d705fa50d663fba4aa5bafac35 - Sigstore transparency entry: 873472216
- Sigstore integration time:
-
Permalink:
galterlibrary/galter-subjects-utils@bdee08ee798208921a8ca84712dd4c38e2ffcebb -
Branch / Tag:
refs/tags/v0.8.0 - Owner: https://github.com/galterlibrary
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@bdee08ee798208921a8ca84712dd4c38e2ffcebb -
Trigger Event:
push
-
Statement type: