Find a file
2023-06-19 09:34:35 +02:00
hooks config git before first commit 2023-06-19 09:34:35 +02:00
{{ cookiecutter.project_slug }} fix badge url 2023-05-27 18:20:07 +02:00
cookiecutter.json add badge 2023-05-19 18:32:16 +02:00
README.md poetry version 2023-05-15 13:23:02 +02:00
TODO.md add some reserche 2023-05-21 16:48:51 +02:00

Python template

A template for python project using cookicutter.

Cookicutter config

A good config to have for cookicutter at ~/.cookiecutterrc:

abbreviations:
    pp: https://git.pains-perdus.fr/templates/{}.git

default_context:
    full_name: "Jane Doe"
    email: "jane.doe@example.com"
    git_user: "jdoe"
    gitea_url: "https://git.pains-perdus.fr"

To create the project on gitea, cookie cutter needs the giteapy module and a gitea token. The token can be retrieved with the secretstorage by looking up the secret "Title": "Gitea Token", or by prompting the user.