Managing Python Dependencies Transcripts
Chapter: Finding Quality Python Packages
Lecture: How Third-Party Packages Can Help You
0:01 Let's talk about how third party packages can help you
0:03 become a more productive and more effective Python coder.
0:06 What I absolutely love about Python is the fact that it has
0:10 a super rich third party package ecosystem.
0:14 When I check PyPi, close to 100 thousand packages
0:18 which is freely available for anyone to install through pip.
0:22 And all of these modules and libraries combined
0:27 cover a wide range of topics and scenarios.
0:30 Because of this rich third party library ecosystem
0:35 it's fairly likely that whatever scenario you encounter,
0:39 there might just be a free Python library that you could use
0:43 that will make your job so much easier.
0:46 Imagine you're working on a Python project,
0:48 and now the need arises to download files over http
0:53 or to talk to some kind of web service in your application.
0:57 Now of course you could go in and write this functionality from scratch,
1:00 but maybe just maybe, there is a third party package
1:03 that could help you with this.
1:06 And if you found the perfect third party package,
1:09 you could save a lot of time, you wouldn't have to reinvent the wheel,
1:12 and write this stuff from scratch, and you could deliver the whole project
1:16 so much faster.
1:18 Where do you find those great Python packages?
1:21 And this is a very common question, and the common challenge
1:25 for every Python developer, leaving the safe haven of the Python standard library.
1:30 So given a problem that you want to solve in your program,
1:33 how can you identify and where can you find
1:37 a package that could help you with that?
1:39 Then of course the next question is
1:42 what actually makes a quality Python package,
1:45 how can you tell if you have multiple options available,
1:48 which one is better, which one is going to have less of a maintenance burden
1:51 and which one is the safer choice in the long run.
1:54 Unfortunately, I'll have to share some bad news with you first.
1:59 There isn't really a shortcut to finding the perfect Python package,
2:03 because there is so many packages you can choose from,
2:05 it will always take some research and some elbow grease
2:08 to find the perfect package or the perfect library given the situation that you are in.
2:14 However, this is totally worth it, this is a perfect way
2:17 for you to really scale your productivity and take it to the next level.
2:22 If you can develop the skills to find and identify quality third party packages,
2:26 and you can start leveraging those in your own programs,
2:29 your productivity will shoot through the roof.
2:32 Because you will be able to avoid having to reinvent the wheel all the time,
2:36 and you will be able to build your applications using these
2:39 freely available building blocks and that will make you much faster,
2:43 much more effective and much more productive as a Python developer.