Crave all the Money 🤑
Open source Python project template with enterprise-level teamwork in mind
Don't settle for less than a Python project template that fulfils all your development needs 🤝
Don't settle for less than a Python project template that uses the best tools 🛠️
Crave all the money 🤑
This is a detached fork of Straight to the Money 💰. Check it out if this template is a bit too involved for you and you want to go with something more simple.
Usage
Prerequisite: uv
(Installing uv should also provide you with uvx.
Give their docs a look-over before continuing if you want to get a better understanding of what is going on under the hood in the steps below.
Also look at their docs for the parts of dependency management not covered in this template's standard flow, such as removing dependencies from your project.)
Setup
- Initialize with
uvx cruft create --checkout v0.1.0 https://github.com/Carlovo/straight_to_the_money
and fill in your project details. - Validate the setup with
uv run python -c "import straight_to_the_money; print(straight_to_the_money.hello())"
(replacestraight_to_the_money
with your project name/slug). - Either, run
uv lock
to generate a .lock file, or runuv add some_lib_you_need
if your project has dependencies.
Workflow
- Format:
uvx ruff format
- Test:
uv run python -m unittest
- Build:
uv build
- Document:
uvx mkdocs build
- Publish:
uv publish
Can it really be that simple? Well, eventually yes, but you will need to set up some connections and credentials still, of course. For a slightly more elaborate walkthrough on that, see the docs.
Still skeptical? See the about instead. Or, have a look at my kitchen sink project created with this template.