Hello! Is Kedro mini deprecated? What's the mechan...
# questions
h
Hello! Is Kedro mini deprecated? What's the mechanism now to get Kedro with the catalog only?
d
Seems like it was archived beginning in 0.19: https://github.com/kedro-org/kedro-starters/tree/main/standalone-datacatalog Just a thought—there's quite a bit of ongoing work on redesigning the data catalog, as well as making it a truly standalone component; if a standalone catalog is something you/your company is interested in, perhaps it makes sense to better understand some of those needs as we do this work?
j
@Hamza when you say "get Kedro with the catalog only", what do you have in mind? or what do you want to avoid?
h
The kedro mini starter is what I had in mind - more bare-bones Kedro that supports I/O loading only
j
yeah it's no longer a starter. but you can open a notebook (on Jupyter, VS Code, or your IDE of choice) and write
Copy code
from kedro.config import OmegaConfigLoader
from <http://kedro.io|kedro.io> import DataCatalog

conf_loader = OmegaConfigLoader(conf_source=".")  # assumes single catalog.yml in the CWD, no conf/, no conf/{base,local}
catalog = DataCatalog.from_config(conf_catalog)
and take it from there
we've considered allowing users to do
pip install kedro-catalog
, which addresses the installation side (the usage side is addressed with the code block I shared)
h
We need this outside of a notebook context so that doesn't quite work for us atm
👍🏼 1
j
@Hamza sorry for the confusion, that code works on normal scripts as well
👍 1
n
Yeah all the link we show here has nothing to do with notebook itself, I guess we could make the messaging better. But the idea is that if it works in a notebook, it works in a script too.