Skip to content

pytask-dev/cookiecutter-pytask-plugin

Repository files navigation

cookiecutter-pytask-plugin

MIT license image image image pre-commit.ci status image

This repository contains a minimal cookiecutter template for a plugin for pytask .

Usage

First, install cookiecutter.

$ pip install cookiecutter

$ conda install -c conda-forge cookiecutter

Then, set up the template for the new plugin with

$ cookiecutter https://github.com/pytask-dev/cookiecutter-pytask-plugin

FAQ

Q: Why are the source files nested in src/<{{ cookiecutter.__package_name }}>?

A: This is called the src layout. This article by Hynek Schlawack discusses the advantages of this layout in detail.