Skip to main content

Subject terms tooling for InvenioRDM

Project description

galter-subjects-utils

Subjects tooling for InvenioRDM.

When a new list of terms (e.g. MeSH) comes out, this tool can be used to update the list in a dedicated subject distribution package. This tool is typically required by the dedicated subject distribution packages under the [dev] extra.

The tool follows the same typical pattern for any subject:

  1. Download the new list
  2. Read it with optional filters
  3. Convert vocabulary entries to InvenioRDM subjects format
  4. Write those to file

Installation

pip install galter-subjects-utils

Versions

This repository follows semantic versioning indexed on invenio-app-rdm compatibility according to the table below:

This Version invenio-app-rdm version
0.X 11.X
1.X 11.X

This just means for example that version 1.X guarantees generation of subjects files compatible with invenio-app-rdm v11. When there is a break in subjects format, this tool will bump its major version.

Usage

galter-subjects-utils --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.3.1.tar.gz (22.3 kB view hashes)

Uploaded Source

Built Distribution

galter_subjects_utils-0.3.1-py3-none-any.whl (14.3 kB view hashes)

Uploaded Python 3

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