Skip to content

Instantly share code, notes, and snippets.

@yolabingo
Last active May 8, 2025 16:12
Show Gist options
  • Save yolabingo/4943752415f922359b62f19c4694f3da to your computer and use it in GitHub Desktop.
Save yolabingo/4943752415f922359b62f19c4694f3da to your computer and use it in GitHub Desktop.
#!/usr/bin/env python3
import requests
from rich.pretty import pprint
resp = requests.get("https://peps.python.org/api/peps.json")
data = resp.json()
pprint([(k, v["title"]) for k, v in data.items()][:10])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment