Skip to main content

CWL to CodeMeta

PyPI - Version PyPI - Python Version GitHub Actions Workflow Status Code coverage

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.

Metadata

Release files for cwl2codemeta 0.1.1

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

Source distribution (sdist)

Source distribution for cwl2codemeta 0.1.1
File Size Uploaded
cwl2codemeta-0.1.1.tar.gz 14.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cwl2codemeta 0.1.1
File Interpreter ABI Platform
cwl2codemeta-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 24.6 kB

Release files / cwl2codemeta-0.1.1.tar.gz

Download URL cwl2codemeta-0.1.1.tar.gz
Size 14.4 kB
Tags Source
SHA-256 checksum
How to use checksums
13bcd231b33dfcdbe9b921a911785e53cd8d0592c37df527e127abae3df2e624
BLAKE2b-256 checksum
How to use checksums
e74d9b2a627d1fc6eb778bf20e0e7b6c32bd1b041468bc8d86432f1bd9adb7b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 27, 2026.

Transparency log

Release files / cwl2codemeta-0.1.1-py3-none-any.whl

Download URL cwl2codemeta-0.1.1-py3-none-any.whl
Size 10.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5ae10500b0964c7f0b203ee22442a1caca0b543a141ca40088441e083562abf0
BLAKE2b-256 checksum
How to use checksums
5615f83406d7754aa3653915e340360afa5cf7c17c63a41d57af3039a606434a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 27, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release 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