Skip to main content

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, 0.12.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

Metadata

Release files for galter-subjects-utils 0.12.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for galter-subjects-utils 0.12.0
File Size Uploaded Provenance Actions
galter_subjects_utils-0.12.0.tar.gz 15.2 kB With provenance Details for galter_subjects_utils-0.12.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for galter-subjects-utils 0.12.0
File Interpreter ABI Platform Actions
galter_subjects_utils-0.12.0-py3-none-any.whl Python 3 none any Details for galter_subjects_utils-0.12.0-py3-none-any.whl

Total release size: 36.5 kB

Release files / galter_subjects_utils-0.12.0.tar.gz

Download URL galter_subjects_utils-0.12.0.tar.gz
Size 15.2 kB
Tags Source
SHA-256 checksum
How to use checksums
162650bfcf253bc3b5eb6bad3c4b78daf52297281c2eea8faf0c71743b49ec70
BLAKE2b-256 checksum
How to use checksums
a4ef4a2024c514a3b4402b63f64cc0636af93d6709440a36d5a0644950fd08d6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.

Transparency log

Release files / galter_subjects_utils-0.12.0-py3-none-any.whl

Download URL galter_subjects_utils-0.12.0-py3-none-any.whl
Size 21.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
19127f95ea9da24cc519467ed77231ef3ae353c5442e6dc2721169209ee14d67
BLAKE2b-256 checksum
How to use checksums
4a3613a39591bdc151dab525e3088af09e2acb0918c292bb3ff33958fbddf491
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.

Transparency log

Security for galter-subjects-utils 0.12.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for galter_subjects_utils-0.12.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page