Pycwl is a python library for the manipulation and generation of CWL tool. The library works for both Python 2.7.12+ and 3.6.0.
You can install pycwl using pip with the following command:
pip install git+https://github.com/khillion/pycwl#egg=pycwl
An example of usage is available in the example/
folder of the repository.
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.