Find a file
2023-05-21 01:12:35 +02:00
hooks Add CI config 2023-05-19 19:35:45 +02:00
{{ cookiecutter.project_slug }} add flake support 2023-05-20 23:11:08 +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 research 2023-05-21 01:12:35 +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.