Skip to content

Instantly share code, notes, and snippets.

@mgaitan
Created July 22, 2025 16:53
Show Gist options
  • Save mgaitan/8fb70482b46454cc22cb6f2417afb8ea to your computer and use it in GitHub Desktop.
Save mgaitan/8fb70482b46454cc22cb6f2417afb8ea to your computer and use it in GitHub Desktop.
An example to test autopep723 with a remote script
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