KNIME to Python exporter UI

Dear KNIME community,

I am glad to present a new feature of the knime2py open-source project — knime2py now has a UI component node.

This is the second post about knime2py (the first is here: KNIME to Python exporter ).

Instead of creating a standalone UI, I decided to use the KNIME UI. You can run the knime2py exporter directly from your KNIME workflow using a custom KNIME2PY component node:

You can drag & drop the component from its page directly into your workflow (thanks to the KNIME team). Once the node is downloaded, you can use it like any other node.

The configuration window has several mandatory fields:

  1. Path to knime2py application — download the .pex distribution for your OS from the Releases page ( Releases · vitaly-chibrikov/knime2py · GitHub ) and set this path.

  2. Path to your KNIME project — any KNIME project (not only the one containing the KNIME2PY node).

  3. Output directory — where knime2py will place generated files.

  4. Artifacts to generate — select what to emit; at least one of .py or .ipynb must be selected.

If everything is configured correctly, you can execute the node and receive:

  • the generated files in the output directory,

  • a JSON execution report on the first output port,

  • or error messages on the second output port.

I’m ready to discuss your experience and any issues you may have.

6 Likes