{"id":43371965,"url":"https://github.com/common-workflow-lab/ipython2cwl","last_synced_at":"2026-02-02T05:54:32.189Z","repository":{"id":53527902,"uuid":"272794625","full_name":"common-workflow-lab/ipython2cwl","owner":"common-workflow-lab","description":"IPython2CWL is a tool for converting IPython Jupyter Notebooks to CWL Command Line Tools by simply providing typing annotation.","archived":false,"fork":false,"pushed_at":"2025-10-06T07:45:06.000Z","size":343,"stargazers_count":17,"open_issues_count":8,"forks_count":6,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-10-06T09:38:35.272Z","etag":null,"topics":["common-workflow-language","cwl","docker","jupyter","jupyter-notebook"],"latest_commit_sha":null,"homepage":"https://ipython2cwl.readthedocs.io/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/common-workflow-lab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-06-16T19:27:47.000Z","updated_at":"2025-10-06T07:44:27.000Z","dependencies_parsed_at":"2022-08-25T20:00:51.512Z","dependency_job_id":null,"html_url":"https://github.com/common-workflow-lab/ipython2cwl","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/common-workflow-lab/ipython2cwl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/common-workflow-lab%2Fipython2cwl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/common-workflow-lab%2Fipython2cwl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/common-workflow-lab%2Fipython2cwl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/common-workflow-lab%2Fipython2cwl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/common-workflow-lab","download_url":"https://codeload.github.com/common-workflow-lab/ipython2cwl/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/common-workflow-lab%2Fipython2cwl/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29006547,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-02T04:25:24.522Z","status":"ssl_error","status_checked_at":"2026-02-02T04:24:51.069Z","response_time":58,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["common-workflow-language","cwl","docker","jupyter","jupyter-notebook"],"created_at":"2026-02-02T05:54:31.458Z","updated_at":"2026-02-02T05:54:32.182Z","avatar_url":"https://github.com/common-workflow-lab.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# IPython2CWL\n\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/ed284fda44ca4398a6f26d496662eae2)](https://app.codacy.com/manual/giannisdoukas/ipython2cwl?utm_source=github.com\u0026utm_medium=referral\u0026utm_content=giannisdoukas/ipython2cwl\u0026utm_campaign=Badge_Grade_Dashboard)\n[![Build Status](https://travis-ci.com/giannisdoukas/ipython2cwl.svg?branch=master)](https://travis-ci.com/giannisdoukas/ipython2cwl)\n[![Coverage Status](https://coveralls.io/repos/github/giannisdoukas/ipython2cwl/badge.svg?branch=master)](https://coveralls.io/github/giannisdoukas/ipython2cwl?branch=master)\n[![Documentation Status](https://readthedocs.org/projects/ipython2cwl/badge/?version=latest)](https://ipython2cwl.readthedocs.io/en/latest/?badge=latest)\n[![Downloads](https://pepy.tech/badge/ipython2cwl/month)](https://pepy.tech/project/ipython2cwl/month)\n[![Join the chat at https://gitter.im/ipython2cwl/community](https://badges.gitter.im/ipython2cwl/community.svg)](https://gitter.im/ipython2cwl/community?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\n\nIPython2CWL is a tool for converting [IPython](https://ipython.org/) Jupyter Notebooks to\n[CWL (Common Workflow Language)](https://www.commonwl.org/) Command Line Tools by simply providing typing annotation.\n\n\n```python\nfrom ipython2cwl.iotypes import CWLFilePathInput, CWLFilePathOutput\nimport csv\ninput_filename: 'CWLFilePathInput' = 'data.csv'\nwith open(input_filename) as f:\n    csv_reader = csv.reader(f)\n    data = [line for line in csv_reader]\nnumber_of_lines = len(data)\nresult_file: 'CWLFilePathOutput' = 'number_of_lines.txt'\nwith open(result_file, 'w') as f:\n    f.write(str(number_of_lines))\n```\n\nIPython2CWL is based on [repo2docker](https://github.com/jupyter/repo2docker), the same tool\nused by [mybinder](https://mybinder.org/). Now, by writing Jupyter Notebook and publishing them, including repo2docker\nconfiguration, the community can not only execute the notebooks remotely but also to use them as steps in scientific\nworkflows.\n\n\n## Install\n\n```\npip install ipython2cwl\n```\n\n### Example\n\n```\njupyter repo2cwl https://github.com/giannisdoukas/cwl-annotated-jupyter-notebook.git -o .\n```\n\n### Docs\n\n[https://ipython2cwl.readthedocs.io/](https://ipython2cwl.readthedocs.io/en/latest/)\n\n### Demo\n\n[https://github.com/giannisdoukas/ipython2cwl-demo](https://github.com/giannisdoukas/ipython2cwl-demo)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcommon-workflow-lab%2Fipython2cwl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcommon-workflow-lab%2Fipython2cwl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcommon-workflow-lab%2Fipython2cwl/lists"}