Convert KNIME workflows to Python
Upload a minimal workflow bundle (workflow.knime + per-node settings.xml).
No data is needed for conversion. Only configuration is uploaded.
The server runs knime2py in an isolated container and returns generated code and graphs.
How it works
- Select a folder that contains
workflow.knimein the root. - Review the exact file list that will be uploaded (manifest).
- Upload the bundle as a ZIP and download the results when ready.
Privacy and security note
settings.xml can include secrets (DB credentials, API keys, server URLs, file paths).
Always review the manifest before uploading.
Outputs
*.pyworkbook*.ipynbnotebook*.jsonand*.dotgraph exports
About knime2py
knime2py is a KNIME→Python code generator. It parses a KNIME workflow, reconstructs nodes and connections, and emits runnable Python “workbooks” (script or notebook) by translating supported KNIME nodes into idiomatic pandas and scikit-learn code.
Alongside executable code, knime2py writes a machine-readable graph (JSON) and a Graphviz DOT file, preserving port wiring and execution order so the generated Python mirrors the original workflow structure.
The exporter focuses on a single workflow root (the folder containing workflow.knime) and handles components if you
point directly to the component’s folder. Unconnected graphs are emitted as separate outputs with stable suffixes
(for example __g01, __g02).
If a node type is not yet supported, knime2py emits a clear placeholder stub so you can see what needs manual work. The generated outputs remain deterministic and traceable back to the original KNIME graph.
Documentation
- Main docs: vitalii-kaplan.github.io/knime2py
- Installation: /installation
- Quick start: /quickstart
- Releases: github.com/vitalii-kaplan/knime2py/releases