Modern Python Projects Transcripts
Chapter: Course conclusion and review
Lecture: Cookiecutter

Login or purchase this course to watch this video and the rest of the course contents.
0:00 When you want to build a Python project, it might be difficult to start. First of all, you have to figure out what's the best way to write a
0:08 specific project. But also there will be a lot of mundane tasks that you will have to do at the beginning, writing a read me file, maybe writing.
0:17 They setup.py if you're building a Python package and things like that so a much better way to start the Python project is to use a cookie
0:25 cutter template. For example, if you're building a flask or Django website or a
0:29 Python package, there are a very good templates that will help you start. First, you will have to answer a few questions like,
0:36 What's your name? What's the name and the description of your project, what database you are using and so on?
0:43 And then cookie cutter will generate a scaffolding for your project. You will have a lot of things already setup.
0:49 For example, you might already have a setup.py test folder with
0:54 some example test or a contributing guide for people who want to contribute to your project
0:58 and now you can start building your cool Python application. I really like cookie cutter because it makes starting a new Python project much,
1:06 much easier. Even though I sometimes have to remove some things from the files that
1:11 it generates for me, it's still much faster to use it and remove the unnecessary files than to write everything from scratch.


Talk Python's Mastodon Michael Kennedy's Mastodon