Where can I find a very simple python package authoring template?

Viewed 17

I began trying to write a Python package by following directions on package structure from PyPA, only to find that there are many variations of what people think is the "right" structure (src/ or not, etc.), and some of them yield many StackOverflow questions about problems importing one's own packages in one's own tests, a problem which I also encountered but could not solve.

So I searched for project templates, thinking they would have all the problems ironed out. I quickly found cookiecutter, but (a) the default template has too many features (time to learn mypy, poetry, flake8, etc. before I can write my package, plus get accounts on various sites and set up tokens...) and (b) if I don't want the default template I need to search through over 4000 GitHub projects to see if there's a template that will work for my needs.

Is there a project template somewhere that clearly sets up where the code and tests belong, an automated script that runs the tests with correct import paths set up already, and lets me build docs and a release? (And is that the correct minimum viable template?)

0 Answers
Related