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

pipenv run invenio galter-subjects --help

Development

Install the project in editable mode with dev dependencies in an isolated virtualenv ((venv) denotes that going forward):

(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.5.0.tar.gz (32.3 kB view details)

Uploaded Source

Built Distribution

galter_subjects_utils-0.5.0-py3-none-any.whl (31.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: galter_subjects_utils-0.5.0.tar.gz
  • Upload date:
  • Size: 32.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.5

File hashes

Hashes for galter_subjects_utils-0.5.0.tar.gz
Algorithm Hash digest
SHA256 54db80ddad2b827a668da06d70fa0e501cc1bfcb74f1dcf399d9b6d8aa314d95
MD5 2acf361dbdda45382dc09872e25e46fa
BLAKE2b-256 8f3baed31354552992fd2f66dfb18804ff4470bae59ed3a30b0cc381adade5ef

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for galter_subjects_utils-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 52260fb90525e43f8bcfea96f513966584b0548dceb8c66b24579774f331a95d
MD5 3eb046d06c398f9fd5f7b5ed74d9606b
BLAKE2b-256 d8d166b40e27e41da7b11f1dba1b62677759234326583f7ad8b6b7d501eeab15

See more details on using hashes here.

Supported by

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