From the course: Python Data Analytics: From Notebooks to Production
Unlock this course with a free trial
Join today to access over 25,500 courses taught by industry experts.
The problems with dependencies - Python Tutorial
From the course: Python Data Analytics: From Notebooks to Production
The problems with dependencies
- [Instructor] One of the strengths of Python is the amount of libraries that are available. If you look at PyPi that hosts the external libraries, you're going to see that there are more than half a million projects over there. And it's really nice because you can just reuse someone else's code instead of writing your own code. But using dependencies also brings itself some risks. So let's look at what are the risks that you're taking every time you import or install a third party library that's not come with a Python standard library. The first problem is bugs, right? Python is maintained by a team of volunteers. There's a lot of people and a lot of eyeballs on the Python code, so it's less buggy than any other package out there. And you might encounter bugs when importing third party libraries. Second one are security issues. They can be malicious packages, and sometimes you can see that in PyPi. But the more common case is someone that is not aware of security and writing code…