From the course: Managing Python Projects

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

The problem

The problem - Python Tutorial

From the course: Managing Python Projects

Start my 1-month free trial

The problem

- [Narrator] One of Python's mottos is "batteries included". When you install Python, you get a rich standard library, with many packages. A lot of times, the standard library will be enough. However, sometimes we need a package that's not in the standard library, a third party package. The central location for third party packages is PyPI. At the time of recording, it hosts about 200,000 packages. That's a lot to choose from. That's one of the problems with third party packages. At first glance, it's super easy to use a third party package. You pip install your package and it's ready for you to use. Let's look at what can go wrong. If you search for PostgreSQL in PyPI, you will get more than 1600 results. You need to ask around, check the project health, and run some tests before selecting. By the way, the recommended package is called psycopg2. Some packages, don't install easily. You might need extra shared C libraries…

Contents