Skip to main content

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. Licensed under Apache 2.0.

Metadata

Release files for cwl2inputs 0.1.0

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

Source distribution (sdist)

Source distribution for cwl2inputs 0.1.0
File Size Uploaded
cwl2inputs-0.1.0.tar.gz 14.0 kB Details

Built distribution (wheel)

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

Total release size: 24.2 kB

Release files / cwl2inputs-0.1.0.tar.gz

Download URL cwl2inputs-0.1.0.tar.gz
Size 14.0 kB
Tags Source
SHA-256 checksum
How to use checksums
5d49a131774a8496afeffee94ec1eb99e103bc744b060731c1e633ecd2fba0bc
BLAKE2b-256 checksum
How to use checksums
80cc9fad807d4a95847cc4e896e75e367528b0e3946184f568147d3fee40efdb
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 18, 2026.

Transparency log

Release files / cwl2inputs-0.1.0-py3-none-any.whl

Download URL cwl2inputs-0.1.0-py3-none-any.whl
Size 10.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
25e633bb6b176cb0c6fb980a3f9054057a96ac72e9fcfa491227f79b9613e1b3
BLAKE2b-256 checksum
How to use checksums
316c8acdde59f9f674d62ce7e725ec7eea22f7d6596915b8825dfe484c3a478e
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 18, 2026.

Transparency log

Release history Release notifications | RSS feed

0.1.1

2 release files

This release

0.1.0 This release

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