Hi team, is there a quick way to rename an entire ...
# questions
z
Hi team, is there a quick way to rename an entire
kedro
project using a cli command? IF not, what are the best practices around this? Thank you !
n
Usually you can create a new project and just copy over the modules.
If you don't want this, renaming the project isn't too much different from how you rename other Python projects. Use the "refactor" functions that IDE offers. The only extra thing that you need to look out for is
pyproject.toml
which has project specific information (names of your package, project etc)
๐Ÿ‘ 2
d
What do you need to change? There aren't that many references in the starter. Most likely, you have package references, which I've usually handled through find and replace (maybe IDEs have some nice support).
n
(always make sure you commit before you start doing this refactoring)
z
Thanks for the suggestions Nok and Deepyaman!
The nature of our project changed a bit so wanting to basically rename the entire thing, but donโ€™t wanna break the code
๐Ÿ‘๐Ÿผ 1