https://kedro.org/ logo
#questions
Title
# questions
n

Namit Ohri

12/06/2023, 11:17 AM
Hey everyone, is it possible to call the Kedro API and run Kedro pipelines from a non-kedro project?
m

marrrcin

12/06/2023, 11:33 AM
API as in Python API or as in HTTP API?
n

Namit Ohri

12/06/2023, 11:34 AM
Python API
m

marrrcin

12/06/2023, 11:34 AM
Sure, that shouldn’t be a problem
I’m wondering what you mean by “non-kedro” project - you have to have the whole Kedro project code somewhere
But you can call the whole Kedro abstractions (e.g. to execute the pipeline) from any other place in Python.
(without the need to e.g. do
kedro run
in CLI)
n

Namit Ohri

12/06/2023, 11:39 AM
yeah exactly so rather than doing a
kedro run
in CLI, if I have a kedro project as a separate folder within my python project, I'd like to import the kedro pipelines and run it within python with my custom IO. What's the best way to go about it? Any docs that might be helpful?
n

Namit Ohri

12/06/2023, 11:47 AM
Thank you!