Skip to main content

No project description provided

Project description

cwl-utils

A collection of scripts to demonstrate the use of the new Python classes for loading and parsing CWL v1.0 documents.

cwl_utils/parser_v1_0.py was created via schema-salad-tool --codegen python https://github.com/common-workflow-language/common-workflow-language/raw/master/v1.0/CommonWorkflowLanguage.yml

Install

Requires Python 3.6.x or Python 3.7

git clone https://github.com/common-workflow-language/cwl-utils.git
virtualenv -p python3.6 venv3.6
source venv3.6/bin/activate
pip install cwl-utils

Usage

Pull the image with Docker

This is the default behaviour:

python docker_extract.py DIRECTORY path_to_my_workflow.cwl

Pull the image with Singularity

python docker_extract.py --singularity DIRECTORY path_to_my_workflow.cwl

Regenerate

To regenerate install schema_salad package and run:

schema-salad-tool --codegen python \
    https://raw.githubusercontent.com/common-workflow-language/common-workflow-language/master/v1.0/CommonWorkflowLanguage.yml

Release

To release CWLUtils, bump the version in cwl_utils/__meta__.py, and tag that commit with the new version. TravisCI should release that tag.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cwl-utils-0.8.tar.gz (158.2 kB view details)

Uploaded Source

Built Distribution

cwl_utils-0.8-py3-none-any.whl (256.5 kB view details)

Uploaded Python 3

File details

Details for the file cwl-utils-0.8.tar.gz.

File metadata

  • Download URL: cwl-utils-0.8.tar.gz
  • Upload date:
  • Size: 158.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.4.2 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.8.0 tqdm/4.51.0 CPython/3.9.1

File hashes

Hashes for cwl-utils-0.8.tar.gz
Algorithm Hash digest
SHA256 983f7ecde19e88c43f9a3e768d236f0440b725d15c7b34f1e4ca5c108fa35ca3
MD5 33cbb26a5d4c84cb1f27e6cd61b8935c
BLAKE2b-256 d368559c19042fa610b775dcfe7ca7bc224f7d1de637598b7195ca091722772a

See more details on using hashes here.

Provenance

File details

Details for the file cwl_utils-0.8-py3-none-any.whl.

File metadata

  • Download URL: cwl_utils-0.8-py3-none-any.whl
  • Upload date:
  • Size: 256.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.4.2 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.8.0 tqdm/4.51.0 CPython/3.9.1

File hashes

Hashes for cwl_utils-0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 f92398a0b44915ac549a2cac9def7cb046653ee5120ce5cc8f1b7da08e65318b
MD5 0df58abdad8ed1ea8a8bee53f679e280
BLAKE2b-256 e9bc2a639f5084ce9f362abbe4f13006df35e371b702bd0fa11394571223b0a3

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page