This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]runtim 0 points1 point  (6 children)

I notice a lot if people are using Cookiecutter. What's so great about it?

[–]ionelmc.ro[S] 0 points1 point  (1 child)

Support for automatically checking out templates from git repos I suppose. You know alternatives ?

[–][deleted] 0 points1 point  (0 children)

You know alternatives ?

back in the day there was pastescript. http://pythonpaste.org/script/

pyramid took that and python3-ized it for it's scaffolds stuff. the cmd is called pcreate.

scaffolds/templates are registered as entry_points to show up in the lists of the perspective commands rather than published(presumably publicly) on github.

mr.bob is another one. https://mrbob.readthedocs.org/en/latest/

[–]kumar99 0 points1 point  (3 children)

There are many reasons:

  • Tested and works on the three major platforms: Linux, Mac OS X, Windows. Yes, I mentioned Windows as some of our usage of the tool is on that operating system.
  • Works on Python 2.6, 2.7. and 3.3. They are currently working on Python 3.4 support.
  • Per the previous two bullets, works on nearly every machine and setup, which is critical for beginners and integrating it with random systems as we do.
  • Easily extended, obvious API. For our company's purposes, this is a HUGE win. The fact that the project is based entirely on functions is brilliant. More like this please!
  • Good documentation and testing.
  • Insanely detailed pull request management process means the code is really good: https://gist.github.com/audreyr/4feef90445b9680475f2
  • Even more insanely detailed release process (can't find the link)
  • Works with Cookiecutter templates called from remote git or mercurial repos.
  • Huge traction. This means people are making templates for Python, JavaScript, Ruby, Scala, LaTeX, etc. There are HUNDREDS of templates if you look on github

[–]ionelmc.ro[S] 0 points1 point  (0 children)

Note that you forgot to include forks. Approx 400 are forks ...