Skip to main content

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.3.X 11.X
0.4.X 11.X
0.5.X 12.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

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

Project details


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.6.0.tar.gz (32.6 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.6.0-py3-none-any.whl (31.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: galter_subjects_utils-0.6.0.tar.gz
  • Upload date:
  • Size: 32.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for galter_subjects_utils-0.6.0.tar.gz
Algorithm Hash digest
SHA256 8cd3c2e466971e4c77883433a04f9df185e061c53d24d2ef81823b7fb71b1d5f
MD5 eabc47c9d0fd2c2f5dbb3d556b844626
BLAKE2b-256 459131abd47b26a0a95ff66e57849d30f6ecbb7952a6ba91d19756efa650609c

See more details on using hashes here.

Provenance

The following attestation bundles were made for galter_subjects_utils-0.6.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.6.0-py3-none-any.whl.

File metadata

File hashes

Hashes for galter_subjects_utils-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a03a1fad2ed09509e535f57e334e36eb2859777271747ee5173d59ecfb4e8c19
MD5 971ace6c514811746ca3d7982bde109f
BLAKE2b-256 86ebe40329122b54397f7742b79313c752e964bcf942179d3105e615a76d353c

See more details on using hashes here.

Provenance

The following attestation bundles were made for galter_subjects_utils-0.6.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