← Winnitude! Search  ·  Reader Mode (1497 ms)
Links: Stay in Reader Retro Site Converter Retro Mode: OFF Original Page ↗
GITHUB · 76 LINKS

GitHub - python/peps: Python Enhancement Proposals

Repository navigation

peps
Public

About

Python Enhancement Proposals

peps.python.org

Resources

Readme

Code of conduct

Code of conduct

Contributing

Contributing

Security policy

Security policy Activity Custom properties

Stars

5.0k stars

Watchers

275 watching

Forks

1.8k forks Report repository
Branches

Tags
Go to Branches page Go to Tags page

Latest commit

 

History


11,735 Commits
View commit history for this file.

Folders and files

Name Name Last commit message Last commit date
.codespell .codespell    
.github .github    
infra infra    
pep_sphinx_extensions pep_sphinx_extensions    
peps peps    
release_management release_management    
.codespellrc .codespellrc    
.gitattributes .gitattributes    
.gitignore .gitignore    
.pre-commit-config.yaml .pre-commit-config.yaml    
.pytest.toml .pytest.toml    
.readthedocs.yaml .readthedocs.yaml    
CONTRIBUTING.rst CONTRIBUTING.rst    
Makefile Makefile    
README.rst README.rst    
build.py build.py    
check-peps.py check-peps.py    
pyproject.toml pyproject.toml    
requirements.txt requirements.txt    
tox.ini tox.ini    

Repository files navigation

Python Enhancement Proposals

The PEPs in this repo are published automatically on the web at https://peps.python.org/ . To learn more about the purpose of PEPs and how to go about writing one, please start reading at PEP 1 . Note that the PEP Index (PEP 0 ) is automatically generated based on the metadata headers in other PEPs.

Canonical links

The canonical form of PEP links are zero-padded, such as https://peps.python.org/pep-0008/.

Shortcut redirects are also available. For example, https://peps.python.org/8 redirects to the canonical link.

API

Several data files are available at https://peps.python.org/api/

Contributing to PEPs

See the Contributing Guidelines .

Checking PEP formatting and rendering

Please don't commit changes with reStructuredText syntax errors that cause PEP generation to fail, or result in major rendering defects relative to what you intend.

Browse the "Read the Docs" preview

For every PR, we automatically create a preview of the rendered PEPs using Read the Docs . You can find it in the merge box at the bottom of the PR page:

  1. Click "Show all checks" to expand the checks section
  2. Find the line for docs/readthedocs.org:pep-previews
  3. Click on "Details" to the right

Render PEPs locally

See the build documentation for full instructions on how to render PEPs locally. In summary, run the following in a fresh, activated virtual environment:

# Install requirements
python -m pip install -U -r requirements.txt

# Build the PEPs
make html

# Or, if you don't have 'make':
python build.py

The output HTML is found under the build directory.

Check and lint PEPs

You can check for and fix common linting and spelling issues, either on-demand or automatically as you commit, with our pre-commit suite. See the Contributing Guide for details.

About

Python Enhancement Proposals

peps.python.org

Resources

Readme

Code of conduct

Code of conduct

Contributing

Contributing

Security policy

Security policy Activity Custom properties

Stars

5.0k stars

Watchers

275 watching

Forks

1.8k forks Report repository

Sponsor this project

Used by

Contributors

Languages