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.
- delete file cessda_voc
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
Hashes for invenio-subjects-cessda-1.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 844b02bddc0e400cf5eeb13a02e535612d8d74efdc3c0465a8113a4951f911c8 |
|
MD5 | 4ab5fb8a8bcc09c33e804f8c8b8d9deb |
|
BLAKE2b-256 | fc0023841acb8e249925d716e4f3d058d24d1e444fb8865f81f11d02373da8bc |