Modern Python Projects Transcripts
Chapter: Managing Python project
Lecture: Python project chores

Login or purchase this course to watch this video and the rest of the course contents.
0:00 Working on a python project involves a lot of different activities.
0:03 First, you need to create a virtual environment,
0:06 and you need to remember to actually activate it.
0:09 So, you don't accidentally install pip packages globally on your computer.
0:13 Then you need to manage your requirements,
0:15 files and pin all your dependencies.
0:18 You also need to remember to regularly update those dependencies,
0:22 but at the same time, need to make sure that you use the exact same versions
0:26 of packages both on your local computer and on the production server.
0:30 So, for that you install a tool like pip tools to pin your dependencies and then
0:35 you run pip to, install them.
0:36 So far, so good. But if by any chance you're creating a python package
0:41 that you're planning to publish on pypi,
0:43 then there is a bunch of other tasks that you need to take care of.
0:47 You need to create a setup.py file.
0:49 You need to build your package and send it to the pypi server and all
0:53 that requires you to remember another set of commands.
0:56 It would be nice to have one tool, that can do all those tasks for us
1:00 thought some python programmers and so many different tools were actually created.
1:05 But two of them gained the most popularity pipenv and poetry.