Using and Mastering Cookiecutter Transcripts
Chapter: Getting started using Cookiecutter
Lecture: Browsing the existing Cookiecutter templates
0:02 Before we get into the details of how we actually use Cookiecutter
0:06 and creating some projects, let's just take a quick survey
0:09 of some of what is out there.
0:11 So, the power of Cookiecutter is that there is all these existing templates,
0:15 and with just a single command line operation,
0:18 we can create projects that will vastly propel us forward
0:22 much much faster than just starting with an empty directory
0:25 and starting to create Python and resource files.
0:27 So, on the Cookiecutter read the docs page,
0:30 there is a thing called the "Pantry Full of Cookiecutters".
0:34 And here you can browse through all the ones that are there,
0:37 so let's go take a quick tour.
0:39 So if you are just at cookiecutter.readthedocs.io you can see
0:42 here we have the Cookiecutter overall documentation and in this page,
0:45 this is like really where you should start right here, and in this page,
0:48 we have a pantry full of Cookiecutters, so here is a bunch,
0:51 and later on in this course, I will show you how to get your project,
0:56 your template here, but for now, let's just have a quick look.
0:59 So here we have Audrey's Cookiecutter package to help you get started,
1:03 here is one for creating a Flask project that uses Bootstrap to get started,
1:07 already supports user registration, so if you want to create a Flask web app
1:11 and you want to base it on Bootstrap and have user registration,
1:14 this might be really sweet place to start, here is a similar one,
1:17 but it actually has things like forgotten password and Heroku integration, and so on.
1:22 Here is one for Bottle, we'll take that one and play with that in a little bit,
1:25 a bunch here, so all these are Python ones and as we said,
1:29 Cookiecutter is not a Python thing, it works for any project, and in fact,
1:34 this IOS one really doesn't have any Python files,
1:39 but it's for this thing called Beeware, we'll talk again about that later as well.
1:42 So there is a Python section, Python Django, Python Pyramid,
1:46 even some stuff for Cookiecutter metadata here,
1:50 so like Cookiecutters for Cookicutter templates and so on,
1:57 So, technically, Cookiecutetr runs on Python but it will generate any of these, right,
2:02 so this is a great listing here, but I am not sure how many are here
2:07 if you flip through, I don't know, a couple of hundreds or something,
2:11 so let's do something else, let's go to GitHub,
2:13 come over here and just type Cookiecutter,
2:15 now you can see there is 1321 public repositories called Cookiecutter,
2:21 okay, so there are many many more out there that people are not necessarily
2:25 adding back to that pantry, like here is the Wildfish Django starter,
2:29 I have no idea what that is but there it is.
2:31 Cool, huh, so we could probably do a search here and then also limit this
2:35 to just Python if you are just interested in Python,
2:38 or if you are just working with Ruby, you could limit it to Ruby,
2:42 32 repositories there, and so on.
2:45 Okay, so that is pretty cool, let's take a look
2:49 at a few particular use cases out of this pantry here.