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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b06cbdb7321cac0289dc1fa9adccc70f10d6d2eceaa5f5a3c049a8c1127f6da2
|
|
| MD5 |
3ac57a906e2606b2f1d64afb26e0d264
|
|
| BLAKE2b-256 |
49cf6c64ece88e30f48af8cb9635c0e5756cdddba6e583190890f98d29eed22c
|
Provenance
The following attestation bundles were made for cwl2codemeta-0.1.0.tar.gz:
Publisher:
package.yaml on transpiler-mate/cwl2codemeta
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cwl2codemeta-0.1.0.tar.gz -
Subject digest:
b06cbdb7321cac0289dc1fa9adccc70f10d6d2eceaa5f5a3c049a8c1127f6da2 - Sigstore transparency entry: 2771021594
- Sigstore integration time:
-
Permalink:
transpiler-mate/cwl2codemeta@fd50df1ff6778ce0fb74fba223553975eb2e3d2b -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/transpiler-mate
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
package.yaml@fd50df1ff6778ce0fb74fba223553975eb2e3d2b -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cf2f8ddea9a2d8ff473fd6c76a4d065a282523c9a885889acef8ceb824478d22
|
|
| MD5 |
af6295c1ea29736adf35f6aa416728cf
|
|
| BLAKE2b-256 |
3e826d43b2180cc8b56635c64ef24ffc9f1de808479c4d510748fa3bd7fb6728
|
Provenance
The following attestation bundles were made for cwl2codemeta-0.1.0-py3-none-any.whl:
Publisher:
package.yaml on transpiler-mate/cwl2codemeta
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cwl2codemeta-0.1.0-py3-none-any.whl -
Subject digest:
cf2f8ddea9a2d8ff473fd6c76a4d065a282523c9a885889acef8ceb824478d22 - Sigstore transparency entry: 2771021653
- Sigstore integration time:
-
Permalink:
transpiler-mate/cwl2codemeta@fd50df1ff6778ce0fb74fba223553975eb2e3d2b -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/transpiler-mate
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
package.yaml@fd50df1ff6778ce0fb74fba223553975eb2e3d2b -
Trigger Event:
push
-
Statement type: