4
submitted 2 weeks ago by cx40@piefed.ca to c/python@programming.dev

I've noticed that a lot of my projects follow the same basic architecture and I often like to write some simple tools for myself where it takes much longer to set up the project than it does to write the domain specific code. So I've been looking into scaffolding tools to help with this. I'm aware of Cookiecutter and Copier. Are there others? How do they compare? What are your preferences and why?

you are viewing a single comment's thread
view the rest of the comments
[-] rompe@feddit.org 3 points 2 weeks ago

I tried getting used to cookiecutter with one of the well-known Python project templates several times, but I always found that those are way too much boilerplate for my simple needs.

So I stick with copying and modifying my previous project every time, and even that doesn't make things much easier because I always find something I should do different next time, so in the end no project is completely like its predecessor.

Let us know what you'll come up with!

[-] cx40@piefed.ca 2 points 1 week ago

I'm just playing around with Copier for now. An arbitrary choice since I have nothing to go on and it seems popular enough. It'll probably be a while before I develop my own opinions on it.

I agree with existing templates having too much boilerplate. I'm basically also just copying and modifying my previous projects, but automated with Copier so that I don't have to search and replace all the project/module names. For this particular task, I have no complaints so far.

this post was submitted on 13 Oct 2025
4 points (100.0% liked)

Python

7537 readers
69 users here now

Welcome to the Python community on the programming.dev Lemmy instance!

📅 Events

PastNovember 2023

October 2023

July 2023

August 2023

September 2023

🐍 Python project:
💓 Python Community:
✨ Python Ecosystem:
🌌 Fediverse
Communities
Projects
Feeds

founded 2 years ago
MODERATORS