Skip to content

statisticsnorway/ssb-pypitemplate

 
 

Repository files navigation

ssb-pypitemplate

Status Python Version CalVer License
Documentation Tests Coverage
pre-commit enabled Black codestyle Ruff Contributor Covenant

logo

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

Usage

Use Cruft to create and update an instance of this template.

cruft create https://github.com/statisticsnorway/ssb-pypitemplate.git --checkout=2024.4.9

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.

Update

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

Features

The template supports Python 3.10, 3.10 and 3.12.

About

Template for PyPI-packages in Statistics Norway, based on hyper modern python.

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 94.7%
  • Batchfile 2.9%
  • Makefile 2.4%