CWL 2 Inputs
cwl2inputs is a Transpiler-Mate plugin that generates an inputs.yaml template
for a selected CWL workflow or tool using cwltool's Python APIs.
Install from source
Use Python 3.10 or newer. From this repository:
python -m pip install . transpiler-mate-runtime
The plugin registers in transpiler_mate.plugins and is invoked through the
runtime; there is no standalone cwl2inputs executable.
Usage
transpiler-mate cwl2inputs --output inputs.yaml 'workflow.cwl#main'
For the burned-area workflow, from the organization workspace:
transpiler-mate cwl2inputs \
--output tmp/build/burned-area-severity/inputs.yaml \
'tmp/burned-area-severity.cwl#burned-area-severity'
--output defaults to inputs.yaml. Parent directories are created as needed;
an existing output file is replaced after successful template generation.
Always select the process with #<process-id>, including single-process documents.
The runtime requires document-level Schema.org SoftwareApplication metadata.
The plugin uses the already-resolved CWL graph and calls cwltool's load_tool
and make_template APIs. It does not execute workflows or containers.
Defaults, example values, and YAML comments come from cwltool. Input ordering
may differ from running cwltool on the original source because the runtime
normalizes the document.
Templates are starting points: replace file/directory paths and other
placeholders before execution. Named optional schemas may appear as schema URI
placeholders; replace them with a value matching the schema or null.
Documentation and development
See the first-steps tutorial, CLI guide, and API reference. See CONTRIBUTING.md for checks and development setup.
Bootstrapped with transpiler-mate-plugin-project-template using Copier.
License
Metadata
Release files for cwl2inputs 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cwl2inputs-0.1.1.tar.gz | 14.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cwl2inputs-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 24.4 kB
Release files / cwl2inputs-0.1.1.tar.gz
| Download URL | cwl2inputs-0.1.1.tar.gz |
|---|---|
| Size | 14.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
01781d05e04b642f417d62ec2b55b8d110762df8d8af1a4a717624bd6baf46d8
|
|
BLAKE2b-256 checksum How to use checksums |
aa6ecc7291a4b9016437f48e498a19af5dee4d13d2b6576e940602e71b467126
|
| 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 28, 2026.
Transparency logRelease files / cwl2inputs-0.1.1-py3-none-any.whl
| Download URL | cwl2inputs-0.1.1-py3-none-any.whl |
|---|---|
| Size | 10.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e4970bd31c3b043da810af2e7fb99ffbe7945fa9c260331e7622973cfa516046
|
|
BLAKE2b-256 checksum How to use checksums |
40653211637702ff091999461c702093fddfd8c332e1adb3ff40a400c2362f3d
|
| 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 28, 2026.
Transparency log