All Projects → common-workflow-lab → ipython2cwl

common-workflow-lab / ipython2cwl

Licence: Apache-2.0 license
IPython2CWL is a tool for converting IPython Jupyter Notebooks to CWL Command Line Tools by simply providing typing annotation.

Programming Languages

python
139335 projects - #7 most used programming language
Jupyter Notebook
11667 projects

Projects that are alternatives of or similar to ipython2cwl

ipydagred3
ipywidgets library for drawing directed acyclic graphs in jupyterlab using dagre-d3
Stars: ✭ 38 (+153.33%)
Mutual labels:  jupyter
ethereum-economic-model
A modular dynamical-systems model of Ethereum's validator economics
Stars: ✭ 79 (+426.67%)
Mutual labels:  jupyter
thegreatmarkdown
《了不起的 Markdown》
Stars: ✭ 44 (+193.33%)
Mutual labels:  jupyter
python ml tutorial
A complete tutorial in python for Data Analysis and Machine Learning
Stars: ✭ 118 (+686.67%)
Mutual labels:  jupyter
scriptcwl
Create cwl workflows by writing a simple Python script
Stars: ✭ 40 (+166.67%)
Mutual labels:  cwl
Self-Driving-Car-Steering-Simulator
The aim of this project is to allow a self driving car to steer autonomously in a virtual environment.
Stars: ✭ 15 (+0%)
Mutual labels:  jupyter
enhancement-proposals
Enhancement proposals for the Jupyter Ecosystem
Stars: ✭ 97 (+546.67%)
Mutual labels:  jupyter
jupyterlab-heroku
JupyterLab extension to deploy applications to Heroku
Stars: ✭ 20 (+33.33%)
Mutual labels:  jupyter
biojupies
Automated generation of tailored bioinformatics Jupyter Notebooks via a user interface.
Stars: ✭ 96 (+540%)
Mutual labels:  jupyter
p5-Devel-IPerl
🔬📚 Perl5 language kernel for Jupyter <http://jupyter.org/>
Stars: ✭ 75 (+400%)
Mutual labels:  jupyter
Hello-Kaggle-Guide-KOR
Kaggle을 처음 접하는 사람들을 위한 문서
Stars: ✭ 140 (+833.33%)
Mutual labels:  jupyter
mlspace
MLSpace: Hassle-free machine learning & deep learning development
Stars: ✭ 286 (+1806.67%)
Mutual labels:  jupyter
Hacktoberfest
Hacktoberfest 2021 you can add anything like simple programs or projects
Stars: ✭ 15 (+0%)
Mutual labels:  jupyter
MaixPy3
MaixPy for Linux Python3, let's play with edge AI easier!
Stars: ✭ 125 (+733.33%)
Mutual labels:  jupyter
vim-jukit
Jupyter-Notebook inspired Neovim/Vim Plugin
Stars: ✭ 55 (+266.67%)
Mutual labels:  jupyter
flowtorch
flowTorch - a Python library for analysis and reduced-order modeling of fluid flows
Stars: ✭ 47 (+213.33%)
Mutual labels:  jupyter
traceml
Engine for ML/Data tracking, visualization, dashboards, and model UI for Polyaxon.
Stars: ✭ 445 (+2866.67%)
Mutual labels:  jupyter
jupyter-cache
A defined interface for working with a cache of executed jupyter notebooks
Stars: ✭ 28 (+86.67%)
Mutual labels:  jupyter
dockernel
Dockerized Jupyter kernels.
Stars: ✭ 34 (+126.67%)
Mutual labels:  jupyter
learn-js-in-jupyter
📙 Interactive, cross-platform JavaScript ES6 / Python 3,2 notebook powered by JupyterLab and Docker
Stars: ✭ 18 (+20%)
Mutual labels:  jupyter

IPython2CWL

Codacy Badge Build Status Coverage Status Documentation Status Downloads Join the chat at https://gitter.im/ipython2cwl/community

IPython2CWL is a tool for converting IPython Jupyter Notebooks to CWL (Common Workflow Language) Command Line Tools by simply providing typing annotation.

from ipython2cwl.iotypes import CWLFilePathInput, CWLFilePathOutput
import csv
input_filename: 'CWLFilePathInput' = 'data.csv'
with open(input_filename) as f:
    csv_reader = csv.reader(f)
    data = [line for line in csv_reader]
number_of_lines = len(data)
result_file: 'CWLFilePathOutput' = 'number_of_lines.txt'
with open(result_file, 'w') as f:
    f.write(str(number_of_lines))

IPython2CWL is based on repo2docker, the same tool used by mybinder. Now, by writing Jupyter Notebook and publishing them, including repo2docker configuration, the community can not only execute the notebooks remotely but also to use them as steps in scientific workflows.

Install

pip install ipython2cwl

Example

jupyter repo2cwl https://github.com/giannisdoukas/cwl-annotated-jupyter-notebook.git -o .

Docs

https://ipython2cwl.readthedocs.io/

Demo

https://github.com/giannisdoukas/ipython2cwl-demo

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].