Browser and install GUI for cookiecutter templates

βŒˆβŒ‹ βŽ‡ branch:  cookiedough

Release as 0.3.0
mario authored 12 days ago last checkin a1f0f2a8f
πŸ“‚ cookiedough directoried repositories unpacked in uidataβ€Ήβ€Ί 19 days ago
πŸ“‚ dev quirky graphicsβ€Ήβ€Ί 28 days ago
πŸ“‚ manpage Updated help pages, and update methodβ€Ήβ€Ί 26 days ago
πŸ“„ LICENSE Basic docs and project infosβ€Ήβ€Ί 29 days ago
πŸ“„ Makefile add setuptools, Makefileβ€Ήβ€Ί 29 days ago
πŸ“„ NEWS Release as 0.3.0β€Ήβ€Ί 12 days ago
πŸ“„ README.md Release as 0.3.0β€Ήβ€Ί 12 days ago
πŸ“„ pytest.ini add setuptools, Makefileβ€Ήβ€Ί 29 days ago
πŸ“„ setup.py Enable replay option, add verbose setting, use full pluginconf configβ€Ήβ€Ί 25 days ago

cookiedough

cookiedough(1) is a GUI browser for cookiecutter templates. And can of course extract them. It comes with a database of around 2300 cookietemplates, grouped by category, and allows some rudimentary filtering. Very early alpha, but usable.

screenshot main window

Installation / Use

Just install it as normal pip package:

~$   pip3 install -U cookiedough

And start it from a terminal window:

~/projects$   cookiedough

Keep an eye on the terminal when rolling out a template. Not all prompts might be captured by monkeypatching.

Notes

There's some usage information in the man page, and in the →Help→Help.

Bugs / Caveats

  • No support for template dictionary variables. (They're not widely used though.)
  • Database does not contain any directoried templates yet. (A few do exist.)
  • The README colorization is fairly basic. (But more processsing would slow it down too much.)
  • It can crash when speed-scrolling through the templates. (Perhaps PSG vs Tk threads issue.)
  • Tkinter might also crash when encountering emojis. (Either install Symbola font and get rid of Noto Color Emoji. Or upgrade to tcl/tk 8.6.10, or go back to Ubuntu 18.04 where it miraculously worked.)

See also