A command-line utility that creates projects from project templates. Renders a directory of Jinja2 templates to files.
Documentation: http://cookiecutter.rtfd.org
Free software: BSD license
Features
Works with any type of text file.
Directory names and filenames can be templated. For example:
{{project.repo_name}}/{{project.repo_name}}/{{project.repo_name}}.pySupports unlimited levels of directory nesting.
Simply define your template variables in a JSON file. For example:
{ "full_name": "Audrey Roy", "email": "audreyr@gmail.com", "project_name": "A Lot of Effort", "repo_name": "alotofeffort", "project_short_description": "Deploy static HTML sites to S3 with the simple 'alotofeffort' command.", "travis_ci_username": "audreyr", "release_date": "2013-07-10", "year": "2013", "version": "0.1.1" }
Similar projects
Paste has a create option that creates a skeleton project: http://pythonpaste.org/script/#paster-create
Diecutter: an API service that will give you back a configuration file from a template and variables. https://github.com/novagile/diecutter
Django’s startproject and startapp commands can take in a –template option: https://docs.djangoproject.com/en/1.5/ref/django-admin/#django-admin-startproject
History
0.3 (2013-07-17)
Takes in command line args for the input and output directories.
0.2.1 (2013-07-17)
Minor cleanup.
0.2 (2013-07-17)
Bumped to “Development Status :: 3 - Alpha”.
Works with any type of text file.
Directory names and filenames can be templated.
0.1.0 (2013-07-11)
First release on PyPI.
Metadata
Release files for cookiecutter 0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cookiecutter-0.3.tar.gz | 5.8 kB | Details |