Skip to main content

invenio_subjects_nasa vocabularies

Project description

invenio-subjects-nasa

Tests

The NASA Thesaurus contains the authorized NASA subject terms used to index and retrieve materials in the STI Repository launch . The scope of this controlled vocabulary includes not only aerospace engineering, but all supporting areas of engineering and physics, the natural space sciences (astronomy, astrophysics, and planetary science), Earth sciences, and the biological sciences. The NASA Thesaurus contains over 18,400 subject terms, 4,300 definitions, and more than 4,500 USE cross references.

invenio-subjects-nasa for InvenioRDM is an extension that provides the NASA thesaurus subject terms used to index and retrieve materials in the STI Repository into your instance. Please read: Invenio subjects documentation

Installation

First, you need to install the package in your invenio instance.

pip install invenio-subjects-nasa

Then, you need to add the subjects to your instance by running the following command:

invenio rdm-records fixtures
invenio-cli run

This will add the NASA subjects to your instance, it can take a while to finish. After that, you can check the subjects in your instance by going to the deposit page under Keywords and subjects.

Versions

This repository follows SemVer versioning:

Usage

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

Maintainers

testing

make install
make test

You can check if there are updates on the terms by checking the NASA Thesaurus. If there are updates, you can download the csv file in the download folder and run the following command:

make run

Upload to pypi

Publishing will be done automatically by GitHub actions when a new tag is created.

git tag vX.Y.Z
git push origin master vX.Y.Z

manually upload to pypi

make install-package-tools # this will install twine (install-package-tools-pipenv if you use pipenv)
make package # this will zip the package into dist dir
make package-check # verify if the package pass twine checks

export TWINE_USERNAME=__token__
export TWINE_PASSWORD=pypi-<YOUR_TOKEN>
twine upload dist/*

Changes

v2.0.2 (released 2024-02-07)

  • Fix pypi deployment
  • Update README.md

v2.0.0 (released 2024-02-07)

  • Add GitHub actions for tests and pypi deployment
  • Add Makefile and update setup.cfg and setup.py
  • Update controlled vocabulary to 2024-02-07
  • remove unused files and dependencies
  • Add support for InvenioRDM v12.0.0
  • Update license to the package
  • Add tests for the package
  • Update requirements
  • sort terms by id

v1.1.2 (released 2022-08-18)

  • 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_nasa-2.0.2.tar.gz (2.3 MB view details)

Uploaded Source

File details

Details for the file invenio_subjects_nasa-2.0.2.tar.gz.

File metadata

  • Download URL: invenio_subjects_nasa-2.0.2.tar.gz
  • Upload date:
  • Size: 2.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for invenio_subjects_nasa-2.0.2.tar.gz
Algorithm Hash digest
SHA256 2b3c794b5c143f3b93820aff2e79ae1ead0181fe97a7f967e4ecd0c0b7b955d7
MD5 592194c45b9b40421a1654e5aeff89d3
BLAKE2b-256 cd44a7439e355c52ef617afc4ac1e6ad7a9230aa87b8fe8531f2659fcb679ec7

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