# Third-Party Library

*noun*

say it: **“THURD PAR-tee LY-brer-ee”** **/ˈθɝd ˈpɑrti ˈlaɪbrɛri/**

Code written by people outside the Python team, shared online and installed with pip, such as requests for calling websites.

## What is a **third-party library**?

A **third-party library** is code written by someone outside the Python team that you install with `pip`, like `requests` for talking to websites.

```python
import requests
response = requests.get("https://api.github.com")
print(response.status_code)  # 200
```

## In a sentence

- “requests is a **third-party library**, so it goes in requirements.txt.”
- “Before adding a **third-party library**, check that it's still looked after.”

Level: Journeyman · [More Python terms at this level](https://www.ask-codey.com/glossary?category=python&level=3)

Updated: November 19, 2026

Source: https://www.ask-codey.com/glossary/third-party-library
