DEV Community

Cover image for Straight to the Money πŸ’° minimalistic yet all-inclusive Python project template
Carlo van Overbeek
Carlo van Overbeek

Posted on

1

Straight to the Money πŸ’° minimalistic yet all-inclusive Python project template

Stop wasting time in analysis paralysis over Python tooling choices πŸ’Έ
Pick the defaults πŸ’±
Go straight to the money πŸ’Ή

tl;dr: I created a minimalistic yet all-inclusive Python project template.
Check it out.

The Background Story

When it comes to helping others with developing software, too many templates/guides/peoples focus on features, or even worse, tools. While my guided template extremely spotlights some tools, they are approached from a very different focus: needs. Every software development project has almost identical needs:

  • version control
  • dependency management
  • linting
  • testing
  • compiling
  • documentation
  • publishing

Of course, this list is not exhaustive. Software development these days also needs CI/CD, SBOM exports, ergonomic chairs etc. However, if anything from the list above is missing in your project, something is truly lacking. With this template I'm trying to fill in those needs as simple yet effective as possible.

Some fanatics will look at this template and might say something like: "Isn't pytest better than unittest?" Or: "Isn't tox also super useful?" Well, are those extra dependencies that will only really be useful to people who already know how to add them to this template? Guess what, all three yes!

Similarly silly discussions can be had about Hatch, MkDocs or Sphinx. I've had it with all these well-meaning 'developer advocates' forcing some tool on you at first chance, while no-one out there seems to be able to provide you a comprehensive end-to-end developer journey. Also, by keeping the template simple, it's open to extension with your own favorite tools without carrying the bloat from my choices.

Happy coding πŸπŸ€—

Image of Docusign

πŸ› οΈ Bring your solution into Docusign. Reach over 1.6M customers.

Docusign is now extensible. Overcome challenges with disconnected products and inaccessible data by bringing your solutions into Docusign and publishing to 1.6M customers in the App Center.

Learn more

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

πŸ‘‹ Kindness is contagious

Discover a treasure trove of wisdom within this insightful piece, highly respected in the nurturing DEV Community enviroment. Developers, whether novice or expert, are encouraged to participate and add to our shared knowledge basin.

A simple "thank you" can illuminate someone's day. Express your appreciation in the comments section!

On DEV, sharing ideas smoothens our journey and strengthens our community ties. Learn something useful? Offering a quick thanks to the author is deeply appreciated.

Okay