Skip to main content

LCSH subject terms for InvenioRDM

Project description

invenio-subjects-lcsh

LCSH subject terms for InvenioRDM

Install this extension to get Library of Congress Subject Headings into your instance.

Installation

From your instance directory:

pipenv install invenio-subjects-lcsh

This will add it to your Pipfile.

Versions

This repository follows calendar versioning:

2021.06.18 is both a valid semantic version and an indicator of the year-month corresponding to the loaded LCSH terms.

Usage

There are 2 types of users for this package. Maintainers of the package and instance administrators.

Instance administrators

For instance administrators, after you have installed the extension as per the steps above, you are done. It should just work.

TODO -- Maintainers

When a new list of LCSH term comes out, this package should be updated. Here we show how.

0- Make sure you have cloned this package. Then install it locally with:

make install

1- Update:

make update

This will

1- Download the new list (TODO - For now download it manually and place it in invenio_subjects_lcsh/download/data/) 2- Convert terms to InvenioRDM subjects format 3- Write those to invenio_subjects_lcsh/vocabularies/subjects_lcsh.yaml file

3- Run the tests just to make sure everything is still good:

make test

4- When you are happy with the list, bump the version in invenio_subjects_lcsh/version.py and release it.

Future Ideas

  • InvenioRDM doesn't have a way to update pre-existing subjects yet. Once there is one, this package should provide the functionality to update LCSH terms.

Changes

Version 2022.11.23 (released 2022-11-28)

  • Added missing terms found in export of NU's repository.
  • Normalize ids to be https URLs.

Version 2021.09.19 (released 2021-09-19)

  • Initial public release.

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

invenio-subjects-lcsh-2022.11.24.tar.gz (6.0 MB view hashes)

Uploaded Source

Built Distribution

invenio_subjects_lcsh-2022.11.24-py2.py3-none-any.whl (6.3 MB view hashes)

Uploaded Python 2 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