I have created a Python 3 boilerplate for non-productive environments. It can be found here: https://github.com/alvarogarcia7/python-boilerplate
Main features
Its main features are:
- It can be run locally (local python) or in a docker container (official docker image)
- It has a Makefile with the most common commands to drive the project. Also, other makefiles in this folder
- Batteries included: mypy, pytest, pre-commit.
- Permissive license: MIT. The updated version is here
- Currently, it is using python 3.12
Usage
- Clone the repository under a new project name. Either with Downloading the ZIP file or with git clone.
- If present, remove the
.git
folder and create a new one. - Start adding features
- Push to a new repository of your own.
Limitations
Limitations:
- It is not a template, but a starting point. You will need to change the name of the project, the name of the package, and the name of the module
- It is not a production-ready project. It is intended for katas, study, or similar non-productive environments.
See also
There are other boilerplate repositories here
Other
Note: The views expressed in this repository are my own and do not necessarily reflect the views of my employers (past, present, or future).