You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an app which lists all the PEP numbers and their descriptions. I had been scraping the PEP index, as that was the only way I could find in the past. But recent changes to the PEP rendering broke my scraper, and I feel like it's probably not a good idea to simply fix it and move on - I'd rather find something more reliable.
Is there any web API, or just a URL pointing to a document with a stable structure, that lets me get a list like I describe? I can't fetch the PEP index from this repo, because it's built on demand, and the nature of the application where I need the data means I can only realistically do a URL fetch (grabbing the repo and doing a build isn't feasible).
The text was updated successfully, but these errors were encountered:
https://peps.python.org/api/peps.json exists. It's considered "experimental" but it does provide all the PEP metadata/information. With PEP 8, for example:
I have an app which lists all the PEP numbers and their descriptions. I had been scraping the PEP index, as that was the only way I could find in the past. But recent changes to the PEP rendering broke my scraper, and I feel like it's probably not a good idea to simply fix it and move on - I'd rather find something more reliable.
Is there any web API, or just a URL pointing to a document with a stable structure, that lets me get a list like I describe? I can't fetch the PEP index from this repo, because it's built on demand, and the nature of the application where I need the data means I can only realistically do a URL fetch (grabbing the repo and doing a build isn't feasible).
The text was updated successfully, but these errors were encountered: