Lesson 40 / 47
Popular Packages at a Glance
A quick map of what the ecosystem offers, so you know what to reach for.
The ecosystem map
requests — simple HTTP calls. numpy/pandas — numerical & tabular data. flask/django/fastapi — web backends. pytest — testing.
requests in one line
A one-line taste of requests — fetching data from an API without writing raw socket code.
import requests
response = requests.get("https://api.github.com")
print(response.status_code) # 200
print(response.json().keys())