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.
The goal is for this package to provide a framing for any subjects operations/CLI tooling. See https://github.com/galterlibrary/invenio-subjects-mesh-lite for an example of how this package is used and extrapolate from that how it could be used for other scenarios.
Installation
uv add 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.11.X | 13.X + 14.X |
| 0.7.X - 0.10.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:
uv pip install -e .[dev]
Run tests:
uv run invoke test
# or shorter
uv run inv test
To check compatibility with the pre-release version of InvenioRDM (invenio-app-rdm):
uv run --extra dev_pre --prerelease=allow inv test
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.11.1.tar.gz.
File metadata
- Download URL: galter_subjects_utils-0.11.1.tar.gz
- Upload date:
- Size: 12.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ae04ff771aa88c836020414b2f9133a41a02d0766b8b9845a5153a8ef81f613d
|
|
| MD5 |
f6992b50de795cffcc7ab259d3fa1bc4
|
|
| BLAKE2b-256 |
f003aa0ed366a94d6bb479b5f8827f2fe9805d118ca1d056cf6a5f97137bbc96
|
Provenance
The following attestation bundles were made for galter_subjects_utils-0.11.1.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.11.1.tar.gz -
Subject digest:
ae04ff771aa88c836020414b2f9133a41a02d0766b8b9845a5153a8ef81f613d - Sigstore transparency entry: 2370972795
- Sigstore integration time:
-
Permalink:
galterlibrary/galter-subjects-utils@b049647a614fef22eb51ef641d39955e6c396cec -
Branch / Tag:
refs/tags/v0.11.1 - Owner: https://github.com/galterlibrary
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@b049647a614fef22eb51ef641d39955e6c396cec -
Trigger Event:
push
-
Statement type:
File details
Details for the file galter_subjects_utils-0.11.1-py3-none-any.whl.
File metadata
- Download URL: galter_subjects_utils-0.11.1-py3-none-any.whl
- Upload date:
- Size: 17.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
47f6bf7b154439e6d874629f04f91164e9494236b0e3a092809944e39ea3bfd9
|
|
| MD5 |
9845f79f85e8278edad44214062e477f
|
|
| BLAKE2b-256 |
18e665a7b79db65ec3b94c7df4b7448650dc74a6ba1f5bcd382a568be9ccfb04
|
Provenance
The following attestation bundles were made for galter_subjects_utils-0.11.1-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.11.1-py3-none-any.whl -
Subject digest:
47f6bf7b154439e6d874629f04f91164e9494236b0e3a092809944e39ea3bfd9 - Sigstore transparency entry: 2370973031
- Sigstore integration time:
-
Permalink:
galterlibrary/galter-subjects-utils@b049647a614fef22eb51ef641d39955e6c396cec -
Branch / Tag:
refs/tags/v0.11.1 - Owner: https://github.com/galterlibrary
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@b049647a614fef22eb51ef641d39955e6c396cec -
Trigger Event:
push
-
Statement type: