1
0
Fork
You've already forked codemeta2mp
0
codemeta to SSHOC Open Marketplace converter
  • Python 100%
Find a file
2026年04月01日 14:57:17 +02:00
.gitignore added gitignore 2025年10月14日 10:15:48 +02:00
codemeta2mp.py allow more results per page 2026年04月01日 14:57:17 +02:00
LICENSE initial add 2024年04月12日 15:21:41 +02:00
pyproject.toml version bump 2026年03月30日 14:27:27 +02:00
README.md cleanup prior to release 2026年02月09日 14:19:57 +01:00

Project Status: Active -- The project has reached a stable, usable state and is being actively developed. Latest release in the Python Package Index

Codemeta to SSHOC Open Marketplace

This is a converter to transform data from codemeta (as used by https://tools.clariah.nl) for ingestion into the SSHOC Open Marketplace by communicating via their API.

Installation

Run (preferably in a Python virtual environment):

pip install codemeta2mp

Usage

If you already have a codemeta.json file, just run codemeta2mp --baseurl http://localhost:8080 --username Administrator --password q1w2e3r4t5 codemeta.json to upload it to the SSHOC marketplace (the default credentials and URL are for a local development instance):

  1. Find the tool you want to convert on https://tools.clariah.nl/ (e.g. https://tools.clariah.nl/frog
  2. Run this on on it: curl --header 'Accept: application/json' https://tools.clariah.nl/frog/ | codemeta2mp --baseurl http://localhost:8080 --username Administrator --password q1w2e3r4t5 -

Considerations & Discussion

A conversion from one vocabulary to another always presents some challenges, as terms do not always map exactly one to one. Some decisions and assumptions have to be made by the converter.

The following were made for the conversion from codemeta (as used by the CLARIAH-NL Tools) to the sshoc open marketplace. If any of the SSHOC/EOSC SKOS terms are used directly in the codemeta, then they will of course be preserved as-is.