Python for the .NET developer Transcripts
Chapter: Package management and external libraries
Lecture: Package management introduction
0:00 Package management and programming languages
0:02 is so important.
0:04 It used to be kind of a rare thing
0:06 and it made working with other libraries super painful.
0:10 In C# you have the base class library, and all the stuff
0:13 that's shipped with it, like EntityFramework.dll and so on
0:16 and that was great because it was right there.
0:18 But if you wanted something else, how did you get it?
0:21 You went out to GitHub or, after a bit, SourceForge
0:25 and you download a library and you copy it into your project
0:28 and you start working with it.
0:30 Well, that's probably okay
0:31 it's not super validated or anything like that
0:33 it maybe came from somewhere sketchy
0:35 but let's assume, you know, let's just
0:37 put the security stuff at the side for a minute.
0:39 Just from... Even if the code is trustworthy
0:41 there are problems here, right?
0:43 How do you know when there's a new version?
0:45 How do you know if there's some kind of issue
0:47 that needs to be fixed?
0:48 How do you help someone else get the same version?
0:51 If they go and download something from that same place
0:54 maybe it's a different version and it behaves differently.
0:56 So package management is some infrastructure
0:59 that will list all the available libraries
1:02 that are registered with it
1:03 for your environment: C#, Python, whatever.
1:07 Now, you see, I'm going to use these libraries
1:08 and make sure you get the right version
1:10 you can always get the same version.
1:12 In .NET you've had NuGet for quite a while
1:15 and that's been really important there.
1:16 So much so that Microsoft even ships
1:18 some of .NET itself through NuGet.
1:21 You'll be happy to hear that Python
1:23 has something equally awesome, maybe even more so.