CESSDA subject vocabularies for InvenioRDM.
Project description
invenio-subjects-cessda
Overview
CESSDA stands for Consortium of European Social Science Data Archives and ERIC stands for European Research Infrastructure Consortium.
CESSDA provides large-scale, integrated and sustainable data services to the social sciences. It brings together social science data archives across Europe, with the aim of promoting the results of social science research and supporting national and international research and cooperation.
invenio-subjects-cessda is a Python package designed to integrate the CESSDA Vocabulary with InvenioRDM
Installation
Prerequisites
Active virtual environment of your InvenioRDM instance. From your instance active venv:
Steps
1- Install the package:
pip install invenio-subjects-cessda
2- Run the following commands in your InvenioRDM instance:
invenio rdm-records fixtures
invenio-cli run
Versioning
This project adheres to SemVer versioning:
Usage Guide
For Instance Administrators
After installation: 1- Refer to Invenio subjects documentation 2- Run the following commands:
pip install invenio-subjects-cessda
invenio rdm-records fixtures
invenio-cli run
Your instance is now ready to use the CESSDA vocabulary.
For Package Maintainers
Setting Up Development Environment After cloning the repository:
# Run make install to install dependencies.
make install
# Use make test to run tests.
make test
Debugging
Modify Makefile to set the DEBUGGER environment variable to False for less detailed logging.
Updating CESSDA Versions
Last updated: 2024-02-01
Check the version date in this README. To fetch the latest CESSDA versions, run:
make run
in config.py you have the ability to modify the preferred language and specify the directory for saving vocabularies.
The endpoint fullListOfpublishedVocabVersions includes a full list of all published vocabulary versions enabling you to compare them with the versions that have been installed.
The following vocabulary versions are included in this release. Remember to update this list during your next upgrade.
https://vocabularies.cessda.eu/v2/codes/CdcPublisherNames/6.0.0/en
https://vocabularies.cessda.eu/v2/codes/CessdaPersistentIdentifierTypes/1.0.0/en
https://vocabularies.cessda.eu/v2/codes/CountryNamesAndCodes/1.0.0/en
https://vocabularies.cessda.eu/v2/codes/TopicClassification/4.2.2/en
https://vocabularies.cessda.eu/v2/codes/AggregationMethod/1.1.2/en
https://vocabularies.cessda.eu/v2/codes/AnalysisUnit/2.1.3/en
https://vocabularies.cessda.eu/v2/codes/CharacterSet/1.0.0/en
https://vocabularies.cessda.eu/v2/codes/CommonalityType/1.0.2/en
https://vocabularies.cessda.eu/v2/codes/ContributorRole/1.0.2/en
https://vocabularies.cessda.eu/v2/codes/DataSourceType/1.0.2/en
https://vocabularies.cessda.eu/v2/codes/DataType/1.1.2/en
https://vocabularies.cessda.eu/v2/codes/DateType/1.1.2/en
https://vocabularies.cessda.eu/v2/codes/GeneralDataFormat/2.0.3/en
https://vocabularies.cessda.eu/v2/codes/LanguageProficiency/1.0.2/en
https://vocabularies.cessda.eu/v2/codes/LifecycleEventType/1.0.2/en
https://vocabularies.cessda.eu/v2/codes/ModeOfCollection/4.0.3/en
https://vocabularies.cessda.eu/v2/codes/NumericType/1.1.0/en
https://vocabularies.cessda.eu/v2/codes/ResponseUnit/1.0.2/en
https://vocabularies.cessda.eu/v2/codes/SamplingProcedure/1.1.4/en
https://vocabularies.cessda.eu/v2/codes/SoftwarePackage/1.0.0/en
https://vocabularies.cessda.eu/v2/codes/SummaryStatisticType/2.1.2/en
https://vocabularies.cessda.eu/v2/codes/TimeMethod/1.2.3/en
https://vocabularies.cessda.eu/v2/codes/TimeZone/1.0.0/en
https://vocabularies.cessda.eu/v2/codes/TypeOfAddress/1.1.0/en
https://vocabularies.cessda.eu/v2/codes/TypeOfConceptGroup/1.0.2/en
https://vocabularies.cessda.eu/v2/codes/TypeOfFrequency/1.0.0/en
https://vocabularies.cessda.eu/v2/codes/TypeOfInstrument/1.1.2/en
https://vocabularies.cessda.eu/v2/codes/TypeOfNote/1.1.0/en
https://vocabularies.cessda.eu/v2/codes/TypeOfTelephone/1.0.0/en
https://vocabularies.cessda.eu/v2/codes/TypeOfTranslationMethod/1.0.0/en
https://vocabularies.cessda.eu/v2/codes/Variables-Relations/1.0.0/en
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/*
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file invenio_subjects_cessda-2.0.0.tar.gz.
File metadata
- Download URL: invenio_subjects_cessda-2.0.0.tar.gz
- Upload date:
- Size: 119.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9008221552e0a9cdd76abca869a61f18ae0a94998b530196f10bcc59449f09a7
|
|
| MD5 |
6aa8adccdce7aced14183861fcbbc939
|
|
| BLAKE2b-256 |
fa28da54ced26a250f30d0121465eeca485af2a8a629e9de3df2afc299cd866a
|
Provenance
The following attestation bundles were made for invenio_subjects_cessda-2.0.0.tar.gz:
Publisher:
pypi-publish.yaml on Samk13/invenio-subjects-cessda
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
invenio_subjects_cessda-2.0.0.tar.gz -
Subject digest:
9008221552e0a9cdd76abca869a61f18ae0a94998b530196f10bcc59449f09a7 - Sigstore transparency entry: 575509112
- Sigstore integration time:
-
Permalink:
Samk13/invenio-subjects-cessda@f6123ac69b6c28653e8ea6198decbd7c64eddff4 -
Branch / Tag:
refs/tags/v2.0.0 - Owner: https://github.com/Samk13
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yaml@f6123ac69b6c28653e8ea6198decbd7c64eddff4 -
Trigger Event:
push
-
Statement type:
File details
Details for the file invenio_subjects_cessda-2.0.0-py3-none-any.whl.
File metadata
- Download URL: invenio_subjects_cessda-2.0.0-py3-none-any.whl
- Upload date:
- Size: 25.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
814344a8b7f33a787a707746f5fb02cc461e816b28071f97922751b27daf2433
|
|
| MD5 |
5d00c8024bbb37f4a9520de7f826c126
|
|
| BLAKE2b-256 |
70df525fc19e48e155adc51639059cddc6431150b74729ff18b942dd8f2d31f0
|
Provenance
The following attestation bundles were made for invenio_subjects_cessda-2.0.0-py3-none-any.whl:
Publisher:
pypi-publish.yaml on Samk13/invenio-subjects-cessda
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
invenio_subjects_cessda-2.0.0-py3-none-any.whl -
Subject digest:
814344a8b7f33a787a707746f5fb02cc461e816b28071f97922751b27daf2433 - Sigstore transparency entry: 575509117
- Sigstore integration time:
-
Permalink:
Samk13/invenio-subjects-cessda@f6123ac69b6c28653e8ea6198decbd7c64eddff4 -
Branch / Tag:
refs/tags/v2.0.0 - Owner: https://github.com/Samk13
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yaml@f6123ac69b6c28653e8ea6198decbd7c64eddff4 -
Trigger Event:
push
-
Statement type: