Managing Python Dependencies Transcripts
Chapter: Managing Third-Party Dependencies With pip
Lecture: PyPI Warehouse Sneak Peek
Login or
purchase this course
to watch this video and the rest of the course contents.
0:01
You just saw the PyPi package repository. And while PyPi is the official package repository for Python right now,
0:08
it is about to get superseded by Warehouse, which is going to be its successor.
0:14
So let's talk a little bit about Warehouse and how this transition is going to go. So Warehouse is going to replace PyPi eventually, but right now,
0:23
Warehouse is only running in a public beta testing mode. The idea with transitioning PyPi to Warehouse is that ideally,
0:33
you wouldn't have to worry about the transition at all, you would just use your pip commands as you did before,
0:39
but instead of downloading files from PyPi, they would actually find and download packages from Warehouse. Now, let's take a quick look at Warehouse.
0:48
Like I said, Warehouse is available for a public beta access right now, and you can find it at pypi.org.
0:56
Okay, so let's take a look at Warehouse, PyPi's successor. So we get this banner here that tells us this is a beta version,
1:04
or a pre production version of Warehouse, and eventually that warning is going to go away, as Warehouse takes over,
1:12
and you can already see here the website looks a little bit more friendly than the classic PyPi, but in terms of functionality it is very similar.
1:21
So again, I am just going to search for Requests here, and in this time, you can see that the search results are actually a little bit better,
1:30
so they look a lot nicer, and they seem to be more relevant, so in this case Warehouse seems to know that hey,
1:36
there is a package called Requests and it is the most popular one so it actually is number one search result here, so let's take a look.
1:45
Again, you get a mixture of the readme or description for the package, and then a bunch of metadata, and it's just presented to you
1:53
in a much more friendly way and there is also this little hint on how you would go about installing this package for example which is nice,
2:00
and it looks like they also got the image formatting issue under control. So now, all of the package metadata lives on the left here,
2:08
so again, you pretty much have the same categories and the same information here, and then, when you scroll further down,
2:16
we're back at the change log and stuff like that. So, all the information is still in here, it's just presented in a different way,
2:24
so Warehouse and PyPi are really similar, but Warehouse is just a more modern iteration and a more friendly version of what PyPi used to be.