View on GitHub

Springerle

A collection of cookiecutter molds.

Download this project as a .zip file Download this project as a tar.gz file

❏ pringerle

This is the website for “Springerle” (/ʃpʀɪŋɛʀlə/), a collection of cookiecutter molds mostly for Python, Java, and technical docs (manuals and presentations).

Motivation and Goals

The main goal of Springerle is to provide basic templates and add-on facets to incrementally set up projects in a flexible and composable manner.

See “Using the templates” for details on which templates are available, and the following section for pre-requisites. To talk about the templates contained in the project, and to get support, please use the springerle-users Google group / mailing list. Please note that only members can post, but anyone can join.

Installing the Cookiecutter CLI

The following installs the cookiecutter command line tool into your $HOME, in a dedicated directory you can easily get rid of.

# possibly activate a HTTP proxy or PyPI mirror here, if you're firewalled

# install "cookiecutter" to its own virtualenv
mkdir -p ~/bin ~/.local/venvs
test -d ~/.local/venvs/cookiecutter \
    || virtualenv ~/.local/venvs/cookiecutter
~/.local/venvs/cookiecutter/bin/pip install -U pip setuptools wheel
~/.local/venvs/cookiecutter/bin/pip install -U cookiecutter
ln -s ~/.local/venvs/cookiecutter/bin/cookiecutter ~/bin
cookiecutter --version

To change this to the patched version which supports license post-processing and easy upgrading of existing projects, also run this:

~/.local/venvs/cookiecutter/bin/pip install -U \
    https://github.com/jhermann/cookiecutter/archive/master.zip

Using the Templates

The Springerle cookie-jar repository collects pointers to ‘releases’ of the templates, i.e. references to tags in the various subprojects. These take the form of git submodules, so that you can check out all the templates in one fell swoop, and use them off-line or package them in some form.

:bulb: | To get your defaults for common template values cookiecutter will ask you for when you use a template, it makes sense to have a ~/.cookiecutterrc in your home directory. Follow the link to see an example. —- | :—-

Add-on Tools

This is a list of tools that provide additional features to work with Cookiecutter projects and their instances.

Project Archetype Tools

Addendum

CC0 licensefor this page (README).

1&1  Project sponsored by 1&1.