Skip to main content

Converts codemeta to a representation for the SSHOC Open Marketplace

Project description

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.

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

codemeta2mp-0.3.tar.gz (23.6 kB view details)

Uploaded Source

File details

Details for the file codemeta2mp-0.3.tar.gz.

File metadata

  • Download URL: codemeta2mp-0.3.tar.gz
  • Upload date:
  • Size: 23.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for codemeta2mp-0.3.tar.gz
Algorithm Hash digest
SHA256 3caa39c47b0591b0971998385ead90662dee776cc7c0d23c3a896f4c5b52bc74
MD5 bfaf5b3b6df7971885817859217cfc62
BLAKE2b-256 e0f5aee22b406c9e21c17fe306092ae4bb48646c3fe41ac24caa12acbb7e3480

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page