Generation of CWL programmatically. Available types: CommandLineTool and DockerRequirement
Python Common Workflow Language
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.


Build Status codecov Documentation Status PyPI version

Python-cwlgen is a python library for the generation of CWL programmatically. It supports the generation of CommandLineTool, Workflow and DockerRequirement. The library works for both Python 2.7.12+ and 3.6.0.

Quick-start guide


You can install python-cwlgen using pip with the following command:

pip install cwlgen

How it works ?

An example of usage is available in the example/ folder of the repository (more details here)


CWL is developed by an informal, multi-vendor working group consisting of organizations and individuals aiming to enable scientists to share data analysis workflows. The CWL project is on Github.