Cookiecutter template for a Python package based on the Hypermodern Python article series. This repo is a fork of cookiecutter-hypermodern-python, and adjusted for use in Statistics Norway.
✨📚✨ Read the full documentation
Use Cruft to create and update an instance of this template.
cruft create https://github.com/statisticsnorway/ssb-pypitemplate.git --checkout=2024.9.10
Cruft downloads the template, and asks you a series of questions about project variables, for example, how you wish your project to be named. Further details and a complete list of project variables with explanation can be found in the Creating a project section of the user guide.
To check if there are there are template updates and update your instance with the new updates, run the following commands from the root directory:
cruft check
cruft update
The template supports Python 3.10, 3.10 and 3.12.