Skip to main content

invenio-subjects-cessda vocabularies

Project description

invenio-subjects-cessda

CESSDA Vocabulary for InvenioRDM This package is inspired by invenio-subjects-mesh Install this extension to get CESSDA Voc. subject terms used to index and retrieve materials in the STI Repository into your instance.

Installation

From your instance active venv:

pip install invenio-subjects-cessda

in your invenio instance run:

invenio rdm-records fixtures
invenio-cli run

Versions

This repository follows SemVer versioning:

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, please read Invenio subjects documentation

To implement CESSDA in your instance: make sure you activate your invenio instance venv, then:

pip install invenio-subjects-cessda
invenio rdm-records fixtures
invenio-cli run

at this point you are ready to go.

Maintainers

Setup dev env

after cloning the repo:

make install
make test

Run tests

make test

When doing tests you will get a warning from black formatter, should bump pytest-black version when it's done

Fetch new CESSDA versions

Last updated in 31/10/2022 Inspect version in the config.py and update the version in desired endpoint link.

Notice that if you don't delete the old file it will append to it

then run:

make run

This will generate the new yaml file that can be used in your instance.

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
twine upload -u <USERNAME> -p <PASSWORD> --repository-url https://test.pypi.org/legacy/ dist/* --verbose

Changes

Version 1.0.0

  • Initial public release 2022.11.03

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-cessda-1.0.0.tar.gz (52.0 kB view hashes)

Uploaded Source

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