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 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

galter_subjects_utils-0.11.0.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

galter_subjects_utils-0.11.0-py3-none-any.whl (17.5 kB view details)

Uploaded Python 3

File details

Details for the file galter_subjects_utils-0.11.0.tar.gz.

File metadata

  • Download URL: galter_subjects_utils-0.11.0.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for galter_subjects_utils-0.11.0.tar.gz
Algorithm Hash digest
SHA256 ebf3deb99d356eb87a932c2abe870d07784a6cb87b002c34d757196cc3cbff58
MD5 b5fe5c393316a871a5b0d7210f7ec188
BLAKE2b-256 c535b79ca11acea29c4eff08ad08cc80184135af2b7a974bb8bf27e431165c7d

See more details on using hashes here.

Provenance

The following attestation bundles were made for galter_subjects_utils-0.11.0.tar.gz:

Publisher: publish-to-pypi.yml on galterlibrary/galter-subjects-utils

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file galter_subjects_utils-0.11.0-py3-none-any.whl.

File metadata

File hashes

Hashes for galter_subjects_utils-0.11.0-py3-none-any.whl
Algorithm Hash digest
SHA256 213f9f0c368ad2cfd1fa5b2103dcca3c06d8ca92eb36d5e679c4ceaed7c96134
MD5 aa7c12dfbaf92629031d87b9073f95eb
BLAKE2b-256 7b441211b2865dc3e860bceca3db6a6b92a52a81645047bee57626ce0b384e7f

See more details on using hashes here.

Provenance

The following attestation bundles were made for galter_subjects_utils-0.11.0-py3-none-any.whl:

Publisher: publish-to-pypi.yml on galterlibrary/galter-subjects-utils

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page