-
If you haven't already you should check out uv: https://github.com/astral-sh/uv
It solves a lot of the package management headaches for me.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
> 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 the. I have a few templates I've built with that which I use frequently:
https://github.com/simonw/python-lib
https://github.com/simonw/click-app
https://github.com/simonw/datasette-plugin
https://github.com/simonw/llm-plugin
You can run them like this:
uvx cookiecutter gh:simonw/python-lib -
> 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 the. I have a few templates I've built with that which I use frequently:
https://github.com/simonw/python-lib
https://github.com/simonw/click-app
https://github.com/simonw/datasette-plugin
https://github.com/simonw/llm-plugin
You can run them like this:
uvx cookiecutter gh:simonw/python-lib -
> 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 the. I have a few templates I've built with that which I use frequently:
https://github.com/simonw/python-lib
https://github.com/simonw/click-app
https://github.com/simonw/datasette-plugin
https://github.com/simonw/llm-plugin
You can run them like this:
uvx cookiecutter gh:simonw/python-lib -
> 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 the. I have a few templates I've built with that which I use frequently:
https://github.com/simonw/python-lib
https://github.com/simonw/click-app
https://github.com/simonw/datasette-plugin
https://github.com/simonw/llm-plugin
You can run them like this:
uvx cookiecutter gh:simonw/python-lib -
Personal preference, but I prefer to use 'mise' instead of 'asdf' these days: https://mise.jdx.dev/
-
My take on this (using Ruby) is https://github.com/coezbek/baker
It doesn't copy template repos, but rather creates a list of imperative steps to perform. Steps can be both manual (obtain an API key and store it here) and automatic (run 'uv init'). Markdown syntax, ruby string interpolation and bash.
It came from a deep hate for yml based configs.
-
-
-
I made a small wrapper for cookiecutter, to handle some minimal Git integration (making a repo and doing the first commit) and to match my workflow better (write some initial code first, then transform it into a "project folder" in place): https://github.com/zahlman/cookiebaker
I'm not a huge fan of cookiecutter on aesthetic principles, though. I think it's chosen some needlessly heavyweight dependencies for such a simple task. PyYAML comes with a big chunk of compiled C, while performance is really not going to matter and I'd rather use TOML anyway. I've yet to see a project depending on Rich that uses more than a tiny portion of it; this is no exception. More to the point, Rich brings in the much larger Pygments (for syntax highlighting; most of the bulk is actual syntax definition rules for a variety of programming languages) and you can't disable that. And honestly I'm not a fan of the whole "download other people's templates using an integrated client" model anyway; Requests and its dependencies are pretty bulky, too.
-
Actually, only the second one, because I already had pipx (https://pipx.pypa.io/ — a wrapper for pip that does basic virtual environment management) installed.
Can you name some specific things in Python you have tried to use, and give more concrete descriptions of how you tried to set them up?
Related posts
-
Ransomware Python Packages Currently Being Published to PyPI
-
Pypi.org is running a survey on the state of Python packaging
-
cornerstone v0.5.1: solid repository foundation for your python github projects
-
cornerstone v0.5.1: solid repository foundation for your python github projects
-
Building a Vector Index in Azure AI Search: HNSW, Profiles, and RAG Retrieval