Comment Comment by simonw > I would like to have a tool that generates the project structure for me, but I haven’t found one that fits me yet.I recommend cookiecutter for this. I have a few templates I've built with that which I use frequently:python-lib: https://github.com/simonw/python-libclick-app: https://github.com/simonw/click-appdatasette-plugin: https://github.com/simonw/datasette-pluginllm-plugin: https://github.com/simonw/llm-pluginYou can run them like this: uvx cookiecutter gh:simonw/python-lib parent simonw 1 year ago
I recommend cookiecutter for this. I have a few templates I've built with that which I use frequently:
python-lib: https://github.com/simonw/python-lib
click-app: https://github.com/simonw/click-app
datasette-plugin: https://github.com/simonw/datasette-plugin
llm-plugin: https://github.com/simonw/llm-plugin
You can run them like this: