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.1.tar.gz (23.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

codemeta2mp-0.3.1-py3-none-any.whl (29.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for codemeta2mp-0.3.1.tar.gz
Algorithm Hash digest
SHA256 d8e1192c26696829dcbc94d0febf653942b0f2b4f225ec53bcd13633358a1b12
MD5 f27aefe8dc8c0a259202e118cb947a96
BLAKE2b-256 a3424722b9259094317a0d4babb3241a81232a1caf074ef822b3ab569b6f143f

See more details on using hashes here.

File details

Details for the file codemeta2mp-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: codemeta2mp-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 29.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for codemeta2mp-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 285b192c170e46e1bb55c92dad4925e8a38b57277c166b2689549025f314dcef
MD5 5ba037fb86b2cf852bc6794aad48765b
BLAKE2b-256 84dec21ae3d84ae5a59581984a1958b449579a4d361ad195b06c8d3e6dde10cb

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