Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
88 changes: 88 additions & 0 deletions peps/api/index.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
PEPs API
========

peps.json
---------

There is a read-only JSON document of every published PEP available at
https://peps.python.org/api/peps.json.

Expand Down Expand Up @@ -102,3 +105,88 @@ illustrating some of the possible values for each field:
"url": "https://peps.python.org/pep-3124/"
}
}

release-cycle.json
------------------

There is a read-only JSON document of Python releases since version 2.6
available at https://peps.python.org/api/release-cycle.json.

For example:

.. code-block:: json

{
"3.15": {
"branch": "main",
"pep": 790,
"status": "feature",
"first_release": "2026-10-01",
"end_of_life": "2031-10",
"release_manager": "Hugo van Kemenade"
},
"3.14": {
"branch": "3.14",
"pep": 745,
"status": "bugfix",
"first_release": "2025-10-07",
"end_of_life": "2030-10",
"release_manager": "Hugo van Kemenade"
}
}

python-releases.json
--------------------

A more complete JSON document of all Python releases since version 1.6 is
available at https://peps.python.org/api/python-releases.json and includes
metadata about each feature release cycle, for example:

.. code-block:: json

{
"metadata": {
"3.14": {
"pep": 745,
"status": "bugfix",
"branch": "3.14",
"release_manager": "Hugo van Kemenade",
"start_of_development": "2024-05-08",
"feature_freeze": "2025-05-07",
"first_release": "2025-10-07",
"end_of_bugfix": "2027-10-07",
"end_of_life": "2030-10-01"
}
}
}


And also detailed information about each individual release within that cycle,
for example:

.. code-block:: json

{
"releases": {
"3.14": [
{
"stage": "3.14.0 candidate 3",
"state": "actual",
"date": "2025-09-18",
"note": ""
},
{
"stage": "3.14.0 final",
"state": "actual",
"date": "2025-10-07",
"note": ""
},
{
"stage": "3.14.1",
"state": "expected",
"date": "2025-12-02",
"note": ""
}
]
}
}