Skip to main content

CWL to CodeMeta

cwl2codemeta is a Transpiler-Mate plugin that converts Schema.org metadata embedded in a Common Workflow Language (CWL) document into a CodeMeta 3.0 JSON-LD document.

The Transpiler-Mate runtime loads the CWL document and validates its document-level metadata as a Schema.org SoftwareApplication. This plugin then compacts the Schema.org terms and writes codemeta.json.

When a source repository is supplied, the output is a SoftwareSourceCode object whose targetProduct contains the CWL software metadata. GitHub and GitLab repository URLs are also used to derive links for continuous integration, issue tracking, and related project pages.

Installation

Install the plugin and a compatible Transpiler-Mate runtime in the same Python environment:

python -m pip install cwl2codemeta transpiler-mate-runtime

The package registers the cwl2codemeta plugin through the transpiler_mate.plugins entry-point group. It does not install a standalone cwl2codemeta executable.

Usage

Your CWL document must carry the Schema.org metadata required by the Transpiler-Mate SoftwareApplication model. Then run:

transpiler-mate cwl2codemeta \
  --code-repository https://github.com/example/hello.git \
  --output codemeta.json \
  hello.cwl

Run transpiler-mate cwl2codemeta --help for the complete generated command interface.

Documentation

Project documentation is published at https://Transpiler-Mate.github.io/cwl2codemeta/. It includes a complete CWL example, the output contract, and details of the repository enrichment.

Contributing

See CONTRIBUTING.md. Submit issues at https://github.com/Transpiler-Mate/cwl2codemeta/issues.

License

Licensed under the Apache License 2.0.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cwl2codemeta-0.1.0.tar.gz (13.3 kB view details)

Uploaded Source

Built Distribution

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

cwl2codemeta-0.1.0-py3-none-any.whl (10.3 kB view details)

Uploaded Python 3

File details

Details for the file cwl2codemeta-0.1.0.tar.gz.

File metadata

  • Download URL: cwl2codemeta-0.1.0.tar.gz
  • Upload date:
  • Size: 13.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for cwl2codemeta-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b06cbdb7321cac0289dc1fa9adccc70f10d6d2eceaa5f5a3c049a8c1127f6da2
MD5 3ac57a906e2606b2f1d64afb26e0d264
BLAKE2b-256 49cf6c64ece88e30f48af8cb9635c0e5756cdddba6e583190890f98d29eed22c

See more details on using hashes here.

Provenance

The following attestation bundles were made for cwl2codemeta-0.1.0.tar.gz:

Publisher: package.yaml on transpiler-mate/cwl2codemeta

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cwl2codemeta-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: cwl2codemeta-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 10.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for cwl2codemeta-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cf2f8ddea9a2d8ff473fd6c76a4d065a282523c9a885889acef8ceb824478d22
MD5 af6295c1ea29736adf35f6aa416728cf
BLAKE2b-256 3e826d43b2180cc8b56635c64ef24ffc9f1de808479c4d510748fa3bd7fb6728

See more details on using hashes here.

Provenance

The following attestation bundles were made for cwl2codemeta-0.1.0-py3-none-any.whl:

Publisher: package.yaml on transpiler-mate/cwl2codemeta

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 files

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