Python for the .NET developer Transcripts
Chapter: Package management and external libraries
Lecture: Finding the Python libraries

Login or purchase this course to watch this video and the rest of the course contents.
0:00 Knowing the language, Python or C#
0:02 either one of 'em, it's important.
0:04 But it's actually a pretty small step
0:06 to being effective in that technology.
0:08 Knowing the base class library or what's referred to
0:10 as the Standard Library in Python, quite important, right?
0:14 There's so much more to know about the libraries
0:16 that come with these two languages
0:18 than there is just the language itself.
0:20 As we just saw, there's 200,000 libraries
0:24 that I can go build stuff with.
0:26 How do I have any hope of figuring out that
0:29 which ones I need to be using as a new person?
0:32 One of the big challenges coming
0:34 to a programming environment is I need to do something.
0:37 I got to figure out, do I have to build that from scratch
0:39 or is there some built-in library
0:40 or is there some third-party library that I can go grab?
0:44 So let me introduce you to Awesome Python.
0:47 This is just a website, also has a
0:48 it's backed by a GitHub repository
0:51 and the idea is people submit cool libraries and packages
0:55 for Python under different categories.
0:57 And this is not just an exhaustive list.
0:59 In order for it to make it on this list, it has to get
1:01 a certain number of votes and things like that.
1:04 So let's imagine that we want to build something
1:06 and we want to talk to a database.
1:08 So databases are actually the databases
1:10 so we'll look at the drivers.
1:12 So I could talk to MySQL using these things or Postgres.
1:16 Or if I want to talk to, you might care about
1:18 Microsoft SQL Server, you could use PyMySQL
1:22 or here's PyMongo for talking to MongoDB.
1:26 But, you know, obviously you could just directly talk
1:29 to them, but you'd probably be better off using
1:31 an ORM, so we've got a ton of awesome ORMS
1:34 and little descriptions about why they're interesting.
1:37 The one that we use for Talk Python Training
1:39 is actually Mongo Engine, which is an ORM or ODM
1:43 on top of PyMongo, which talks to MongoDB.
1:46 Absolute joy to work with, not really relevant
1:48 for this course, but you know, it's listed right here
1:51 as one of the four ways to do it.
1:53 You want to talk to DynamoDB or Redis
1:54 or something like this, right?
1:56 So you just pick something.
1:57 You want to figure out how you do computer vision?
2:00 Go over here and, Oh look, OpenCV.
2:03 OpenCV is a great library for working
2:05 with computer vision and Python.
2:07 But I recommend you start here with Awesome Python
2:10 if you need to work on some project
2:12 or you got to get a functionality for some category
2:15 and you're like, Oh, I wonder what's here?
2:17 These are here, not just because they're in existence
2:19 but they're here because they actually got voted
2:22 as one of the better libraries for that category.