Managing Python Dependencies Transcripts
Chapter: Finding Quality Python Packages
Lecture: Recap and Summary
0:00 Great, now you know all the steps necessary
0:03 to find and pick a great Python library.
0:06 Let's do a quick recap.
0:09 So in step 1, we talked about how to find candidate packages,
0:12 how to search them on various websites and sources.
0:15 Then in step 2, we check package popularity,
0:17 to get a feel for how popular this library is in the Python community
0:21 and how many people are using it.
0:23 In step 3, we check out the project homepage as another important quality indicator.
0:27 In step 4, we had a look at the project README,
0:29 step 5 answered the question whether or not the project is actively maintained,
0:34 then after that, in step 6, we spot check the source code
0:38 to get a good feel for the code quality of this library.
0:41 And all the way at the end, in step 7, we took that narrow down
0:44 list of candidate libraries and tried them out,
0:47 to get a good feel for what their strengths and weaknesses are.
0:51 Again, this whole process works like a funnel,
0:54 so you start with a pool of candidate packages,
0:57 and then successively refine that list by excluding packages
1:01 that you don't like or that can't actually get the job done.
1:05 So this is a process of narrowing it down
1:08 until it becomes very easy to make the final decision.
1:11 Being able to find and pick great Python libraries
1:13 for use in your own projects is a super helpful skill.
1:16 Now this is already a very useful skill if you're building software for yourself,
1:20 but if you're working with a team
1:22 and you have to justify these dependency decisions,
1:25 then you can use the same process and the same criteria
1:28 to explain your decision to your team,
1:31 your manager or whoever is interested and basically write a little report
1:34 on all of the options that you've tried out.
1:37 And after going through all of these research steps
1:39 this report is going to be pretty bullet proof.
1:42 Congratulations, you just completed the finding
1:46 quality Python packages module in this course.
1:49 Here is what you've learned.
1:52 First, we discussed how third party packages can help you
1:55 become a more effective and more productive Python coder.
1:58 Next, you learned how to find popular packages on curated lists.
2:02 And third, you learned a whole workflow for selecting great quality packages
2:07 and a set of rules of thumb for making the right decision.
2:12 Let's end this module with a quick summary.
2:15 Python has a super rich third party library ecosystem
2:19 and using it effectively is the key to becoming more productive as a developer.
2:24 Now while it is great that you have so many third party packages available,
2:28 using a third party package in your own programs,
2:32 always has a maintenance cost,
2:34 and this is something you should be very mindful of,
2:36 the solution here is to stick to high quality packages
2:39 in order to keep those maintenance costs under control.