NASA: Creating a cookiecutter template

Cookiecutter

Share this article

Similarities
& Differences

Programmed in

Python

Output template language

Any desired

Operating system

Windows, MacOS, and Linux

Configuration functions

Default configuration in a JSON file (can cause trouble with dynamic configurations)

Generators

No composable generators

Adding code to existing projects

Hard - you need a new folder with the new things you want added and it will recreate a new project template

Template package format

Git or mercurial repo, Zip file

Templating engine

Jinja

Price

Free, open-source

Similarities and differences between Cookiecutter and Yeoman

Programmed in

Python

Output template language

Any desired

Operating system

Windows, MacOS, and Linux

Configuration functions

Default configuration in a JSON file (can cause trouble with dynamic configurations)

Generators

No composable generators

Adding code to existing projects

Hard - you need a new folder with the new things you want added and it will recreate a new project template

Template package format

Git or mercurial repo, Zip file

Templating engine

Jinja

Price

Free, open-source

Programmed in

Output template language

Operating system

Configuration functions

Generators

Adding code to existing projects

Template package format

Templating engine

Price

Ready to use Cookiecutter?