Metadata-Version: 2.1
Name: cwl-upgrader
Version: 1.2.12
Summary: Upgrade a CWL tool or workflow document from one version to another
Author-email: Common Workflow Language project contributors <common-workflow-language@googlegroups.com>
License: Apache 2.0
Project-URL: Homepage, https://www.commonwl.org
Project-URL: Repository, https://github.com/common-workflow-language/cwl-upgrader
Project-URL: Issues, https://github.com/common-workflow-language/cwl-upgrader/issues
Project-URL: Changelog, https://github.com/common-workflow-language/cwl-upgrader/releases
Project-URL: Related Tools, https://www.commonwl.org/tools/
Keywords: cwl,commonwl,common-workflow-language
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: POSIX
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: File Formats
Classifier: Topic :: Software Development :: Libraries
Classifier: Typing :: Typed
Requires-Python: >=3.9
Description-Content-Type: text/x-rst
License-File: LICENSE.txt
Requires-Dist: setuptools
Requires-Dist: ruamel.yaml<0.19,>=0.16.0
Requires-Dist: schema_salad
Provides-Extra: testing
Requires-Dist: pytest<9; extra == "testing"

=====================================================
Common workflow language standalone document upgrader
=====================================================

This is a standalone upgrader for Common Workflow Language documents from
version ``draft-3``, ``v1.0``, and ``v1.1`` to ``v1.2``.

See https://github.com/sbg/sevenbridges-cwl-draft2-upgrader for upgrading from ``sbg:draft-2``.

It does not check for correctness of the input document, for that one can use
`the CWL reference implementation <https://github.com/common-workflow-language/cwltool>`_ (``cwltool --validate``).

This is written and tested for Python 3.8, 3.9, 3.10, 3.11, and 3.12.

Install
-------

Installing the official package from PyPI::

  pip install cwl-upgrader

Or from source::

  git clone https://github.com/common-workflow-language/cwl-upgrader.git
  pip install ./cwl-upgrader/

Run on the command line
-----------------------

::

  cwl-upgrader path-to-cwl-document [another-path-to-cwl-document ...]
