I WANT USE KNIME ON PYTHON

If I write in more detail, I want to import and use things made in KNIME (ex, metanode, input, output, etc.) from Python like a library. Is there no such function? Or do you have any thoughts on making it? It’s okay to import it from Python to Knime, but it’s a pity that I can’t move from Knime to Python. I’m an ai developer, and I think it’ll be very convenient if it’s implemented (because I can input, output, manage, or just leave what I need at once) and you don’t know later, right? Do I add repository or something else to Knime?

I thought I uploaded this article It’s a great compatibility problem. But I’ll save this article, I’ll link this article when I have some idea about this issue, I’ll link this article again If you have another opinion, leave again

@jaslee4 welcome to the KNIME forum. To be honest I do not fully understand what you want to do or what your question is.

KNIME can use Python code and Python packages and can also interact with Jupyter notebooks - you can even start KNIME from within Python code but that would still involve starting KNIME.

You can also use Python to develop KNIME nodes.

Maybe you can elaborate what you want to do with Python and KNIME.

1 Like

It sounds like you’re looking for a way to directly use KNIME workflows, like metanodes, as modules within Python, but currently, KNIME doesn’t natively support importing its components into Python as a library. However, there are a few workarounds: you can run KNIME workflows via the command line or REST API from Python, or you can export workflow results to a format that Python can read, like CSV or JSON. As for integrating it the other way around, KNIME supports calling Python scripts within its workflows, but having the reverse would indeed streamline your process. You might want to check KNIME’s community or GitHub for plugins or extensions, and consider suggesting this feature to KNIME developers, as it could be a valuable addition!

2 Likes

Thanks for greetings and replys :slight_smile: I understanded what i missed and confussed. Now I’m okay with this item. but it need to add a little explation about what i wanted to say.
What I was trying to do was synchronize between the input and output of the code written by python and the input and output of the code with knime, and i wanted to know the input and output’s name and the names of the variables in the components used by the knime, and then the code was created by the python, and the process was synchronized with knime and visualize in knime again! But as I mentioned above, the compatibility issue can become thick, so I’ll have to use a little bit of a turnaround :slight_smile: I studied more about the Knime, and based on what mlauber’s explained above, I got a sense of direction and intuition! I think that i can use the server components to synchronize, and there are maybe other ways. Thank you again for your response and interest, and I’ll try to implement it on this topic first. I’ll share the results and progress later thanks. :slight_smile:
(There was some error with translation, so i modified the content :blush:

1 Like

You could check the examples mentioned here for basic input and output and also the use of flow variables between knime and python:

Knime has a lot of options to visualize data. If you are into Python you can also make use of its graphic packages:

2 Likes

THANKSSS!!! I didn’t thought about flow variations

and can i connect google calab with knime server component?

@jaslee4 I do not think this is possible. Having said that knime can be run on several cloud platforms though not Google Cloud, yet.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.