Modern Python Projects Transcripts
Chapter: Course conclusion and review
Lecture: Building a Python package
0:00 Then we turn our CLI application into a proper python package.
0:05 Doing this with poetry would require us to run just two commands,
0:09 and we would be done. So just to make it more interesting,
0:12 I've decided to start from scratch without using poetry.
0:16 So we found a cookie cutter template for a python package.
0:20 We generated the scaffolding. We added the code tests and we wrote some documentation.
0:28 The cookie cutter template took care of a lot of things.
0:31 So actually, a lot of documentation was already written for us.
0:36 And the setup.py file required just some cosmetic changes.
0:40 We also learned the difference between using the requirements file and setup.py
0:45 for specifying the dependencies. And then we published our uptimer package to pypi
0:51 following the instructions from the packaging guide.