Python for Absolute Beginners Transcripts
Chapter: Using external Python packages
Lecture: Introducing PyPI, the Python Package Index

Login or purchase this course to watch this video and the rest of the course contents.
0:00 When you want to work with an external library
0:02 stuff that doesn't come prepackaged with Python
0:05 the best place to start is
0:08 This is the Python Package Index.
0:10 And here you can see when I took this screenshot
0:12 it was 206,000 projects.
0:14 That wasn't very long ago
0:15 and it's already over 215,000 projects available.
0:19 These are 215,000 external libraries.
0:23 Each of which, maybe does something really awesome.
0:26 Some of them are web frameworks
0:27 others are graphing libraries
0:29 others still are maybe genetics libraries
0:32 that'll process
0:33 well known genetics file shown common applications
0:36 and do analysis on them for you.
0:38 There is just this huge variety of what is here
0:40 and we talked briefly about this
0:42 at the practice section of the last chapter.
0:44 But just in case you didn't see that one
0:46 Python's Package Index, PyPI
0:48 is where we're going to go to get these external libraries
0:52 that we're going to work with.
0:53 You can install them outside of this place
0:55 like directly off of GitHub and stuff
0:57 but this is really nice because the built in tools look here
0:59 if there's an update
1:00 it will automatically grab it
1:02 and upgrade it for you if you ask it to.
1:04 Stuff like that.
1:05 The big challenge of this is
1:07 it's something like the paradox of choice
1:09 or the cursed of abundance
1:11 I don't know
1:12 whatever you want to call it here.
1:13 If you go and type in
1:14 like web crawling
1:16 there's 10,000 plus results.
1:19 How do you know which one of those 10,000 is popular
1:22 and which one you want to use?
1:23 I don't think PyPI actually ranks stuff by popularity
1:27 when it shows the results.
1:28 So that's that's kind of unfortunate.
1:30 So anyway, how do you narrow this down?
1:33 Well there's a lot of ways.
1:34 One of the options, if it has the right category for you
1:38 is to use something called
1:41 You can come over here
1:42 and see the table of contents on the right.
1:44 If you're doing, I don't know, caching
1:47 or authentication or audio work or whatever it is
1:49 you can click on one of those categories
1:51 and here it'll show you a big long list
1:53 of the popular and recommended projects
1:57 from that category.
1:58 There might be 500 admin panels
2:00 but there might be only 10 listed here.
2:02 The way they get on here
2:03 is they have to be pretty highly used
2:05 and recommended by multiple people, things like that.
2:08 So this will help you narrow it down
2:10 in the case that they have a category for it.
2:12 If they don't, then, you know
2:14 have to just search the internet
2:15 and see what people are recommending for the packages.
2:17 But there are some many packages
2:18 and using them in Python
2:20 it's totally easy.