Modern Python Projects Transcripts
Chapter: Managing Python project
Lecture: Pipenv or Poetry

Login or purchase this course to watch this video and the rest of the course contents.
0:00 pipenv and poetry are project management tools. They provide you with commands to set up a project, install depenvencies and, in case of poetry,
0:10 to publish it as a package and pypi. They will also automate some of the tasks.
0:15 For example, they will automatically create an activate a virtual environment for you, so you don't have to remember to do this yourself.
0:24 Which one you should use is up to you. I will show you how to use poetry because it supports publishing packages on pypi
0:30 That's a huge benefit because it saves you from writing a setup.py file by hand. I mean, writing a setup.py file by hand is not extremely difficult,
0:41 but it's nice to have a tool that can out make this task for you. Another benefit of poetry is that it's newer than pipenv,
0:48 so it's built on top of some lessons learned from pipenv. But of course, if you prefer to use pipenv keep using it, I know pip who are using it,
0:57 and they are quite happy with it.


Talk Python's Mastodon Michael Kennedy's Mastodon