invenio-subjects-nasa
The NASA Thesaurus contains the authorized NASA subject terms used to index and retrieve materials in the STI Repository. 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
Install the package in your InvenioRDM instance:
pip install invenio-subjects-nasa
Add the subjects to your instance:
invenio rdm-records fixtures
This will add the NASA subjects to your instance. After completion, you can access the subjects in the deposit page under Keywords and subjects.
Development
Requirements
- Python >=3.12
- uv (recommended) or pip
Setup
# Clone the repository
git clone https://github.com/Samk13/invenio-subjects-nasa.git
cd invenio-subjects-nasa
# Install dependencies with uv (recommended)
uv pip install -e ".[tests]"
Testing
# Run all tests
make test
# Format code
make format
# Check code quality
make lint
Updating NASA Thesaurus Data
Check for updates at the NASA Thesaurus.
To update the data:
- Download the new CSV file to
invenio_subjects_nasa/downloads/ - Update the filename in
invenio_subjects_nasa/config.py(NASA_THESAURUS_CSV_FILENAME) - Run the conversion:
make run
Release Process
Releases are automated via GitHub Actions. To create a new release:
# Update version in invenio_subjects_nasa/__init__.py
# Update CHANGES.md with release notes
git tag v2.1.0
git push origin v2.1.0
The package will be automatically built and published to PyPI.
Metadata
Release files for invenio-subjects-nasa 2.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| invenio_subjects_nasa-2.1.0.tar.gz | 2.3 MB | With provenance | Details for invenio_subjects_nasa-2.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| invenio_subjects_nasa-2.1.0-py3-none-any.whl | Python 3 | none | any | Details for invenio_subjects_nasa-2.1.0-py3-none-any.whl |
Total release size: 4.7 MB
Release files / invenio_subjects_nasa-2.1.0.tar.gz
| Download URL | invenio_subjects_nasa-2.1.0.tar.gz |
|---|---|
| Size | 2.3 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8058d5621a88363ff55725402da1ba9e23c452ba09ea0b7d588f7c8297e4f833
|
|
BLAKE2b-256 checksum How to use checksums |
d2ffa5768d3b6e7a3ad6420ca0aa512b63a46e53d6baae0b0feb1167eef8cd08
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 18, 2025.
Transparency logRelease files / invenio_subjects_nasa-2.1.0-py3-none-any.whl
| Download URL | invenio_subjects_nasa-2.1.0-py3-none-any.whl |
|---|---|
| Size | 2.4 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8450138338b372fd3b34b97d9e8b8ee46504cdd40891515422a38268c0c09367
|
|
BLAKE2b-256 checksum How to use checksums |
2fe92601afc1abaad3fd2c1e25b318ec7955c774136275bdfed08684c70ae300
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 18, 2025.
Transparency logSecurity for invenio-subjects-nasa 2.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for invenio_subjects_nasa-2.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 18, 2025.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.