Python Developer's Guide
This guide is a comprehensive resource for contributing
to Python - for both new and experienced contributors. It is
maintained by the same
community that maintains Python. We welcome your contributions!
Start with the area that best matches what you want to do.
If you still have questions after reviewing the material in
this guide, then the Core Python Mentorship group is available to help guide new
contributors through the process.
Documentation
|
Code
|
Triage
|
|
|
|
|
We recommend that sections of this guide be read as needed. You
can stop where you feel comfortable and begin contributing immediately without
reading and understanding everything. If you do choose to skip
around within the guide, be aware that some sections build on each other,
so you may need to backtrack for missing concepts or terminology.
For broader open-source contribution advice, a number of individuals from the
Python community have contributed to a series
of excellent guides at Open Source Guides .
For example,
How to Contribute to Open Source .
You don't have to be a compiler engineer to work on Python - Savannah Ostrowski
Quick reference
Note
The quick reference documentation has been moved to serve as a cheat-sheet and overview
in Getting started .
Go to the new quick reference .
Proposing changes to Python itself
Improving Python's code, documentation and tests are ongoing tasks that are
never going to be "finished", as Python operates as part of an ever-evolving
system of technology. An even more challenging ongoing task than these
necessary maintenance activities is finding ways to make Python, in the form of
the standard library and the language definition, an even better tool in a
developer's toolkit.
While these kinds of change are much rarer than those described above, they do
happen and that process is also described as part of this guide:
Key resources
Additional resources
Code of conduct
Please note that all interactions on
Python Software Foundation -supported
infrastructure is covered
by the PSF Code of Conduct ,
which includes all infrastructure used in the development of Python itself
(for example, Discourse, issue trackers, GitHub, and so on).
In general this means everyone is expected to be open, considerate, and
respectful of others no matter what their position is within the project.
Other interpreter implementations
This guide is specifically for contributing to the Python reference interpreter,
also known as CPython (while most of the standard library is written in Python,
the interpreter core is written in C and integrates most easily with the C and
C++ ecosystems).
There are other Python implementations, each with a different focus. Like
CPython, they always have more things they would like to do than they have
developers to work on them. Some major examples that may be of interest are:
PyPy : A Python interpreter focused on high speed (JIT-compiled) operation
on major platforms.
GraalPy : A Python interpreter which has first-class support for
embedding in Java, built on GraalVM.
Jython : A Python interpreter focused on good integration with the Java
Virtual Machine (JVM) environment.
IronPython : A Python interpreter focused on good integration with the
Common Language Runtime (CLR) provided by .NET and Mono.
MicroPython : A tiny Python interpreter with small subset of the Python
standard library that is optimised to run on microcontrollers and in
constrained environments.
CircuitPython : A fork of MicroPython designed to simplify experimenting
and learning to code on low-cost microcontroller boards.
Full table of contents