Skip to content

Infra: generate machine-readable PEP index#2475

Merged
hugovk merged 5 commits intopython:mainfrom
hugovk:peps-json
Apr 1, 2022
Merged

Infra: generate machine-readable PEP index#2475
hugovk merged 5 commits intopython:mainfrom
hugovk:peps-json

Conversation

@hugovk
Copy link
Copy Markdown
Member

@hugovk hugovk commented Mar 27, 2022

PEP 0 is a human-readable PEP index.

It would be useful to create a machine-readable version for, well, machines to read and process. This PR creates a peps.json of the key fields.

Preview:

[
{
"number": 1,
"title": "PEP Purpose and Guidelines",
"authors": "Warsaw, Hylton, Goodger, Coghlan",
"status": "Active",
"type": "Process",
"url": "https://peps.python.org/pep-0001/"
},
{
"number": 2,
"title": "Procedure for Adding New Modules",
"authors": "Faassen",
"status": "Superseded",
"type": "Process",
"url": "https://peps.python.org/pep-0002/"
},
{
"number": 3,
"title": "Guidelines for Handling Bug Reports",
"authors": "Hylton",
"status": "Withdrawn",
"type": "Process",
"url": "https://peps.python.org/pep-0003/"
},
...

https://pep-previews--2475.org.readthedocs.build/peps.json

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA signed infra Core infrastructure for building and rendering PEPs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants