Skip to main content

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.

Metadata

Release files for codemeta2mp 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for codemeta2mp 0.4.0
File Size Uploaded
codemeta2mp-0.4.0.tar.gz 24.2 kB Details

Release files / codemeta2mp-0.4.0.tar.gz

Download URL codemeta2mp-0.4.0.tar.gz
Size 24.2 kB
Tags Source
SHA-256 checksum
How to use checksums
eaddd1ef5a668402b07fba32ec67b5f362a8b47d461081663287defaaf6d58df
BLAKE2b-256 checksum
How to use checksums
dd8db1c3823d745422a236d8d65edc657f208ec9f44d21d0bb02e1acb25284e1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release history Release notifications | RSS feed

This release

0.4.0 This release

1 release file

0.3.1

2 release files

0.3

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page