Python Implementations¶
Python the language and Python the program are not the same thing. Several independent implementations exist, each targeting different runtimes or optimizing for different use cases. This section covers those implementations, plus tools for extending Python with C/C++ code or embedding Python inside other applications.
Overview¶
PythonImplementations — the comprehensive catalog of Python implementations, from CPython variants to entirely separate runtimes
CPython¶
CPython — the reference implementation, written in C, and what most people mean when they say “Python”
CPythonInterpreterInitialization — how the CPython interpreter starts up internally
CPythonVmInternals — a look inside the CPython virtual machine
Alternative Implementations¶
PyPy — a Python implementation written in Python, featuring a JIT compiler and multiple backends
PyPyDonations — donation tracking for the PyPy project
PyPySprint — sprint events focused on PyPy development
IronPython — Python for .NET and Mono, originally created by Jim Hugunin
BooLanguage — Boo, a Python-inspired language for the .NET CLI
Embedding & Extending¶
Embedding and Extending — overview of embedding Python in other applications and writing C extensions
EmbeddingPythonTutorial — step-by-step tutorial for embedding the Python interpreter
ExtensionTutorial — tutorial for writing C extension modules
boost.python — Boost.Python, a C++ library for seamless interop between C++ and Python
Pyrex — Pyrex, a language for writing Python extension modules (predecessor to Cython)
PyrexOnWindows — getting Pyrex working on Windows
ctypes — the ctypes foreign function library for calling C code from Python
Other Projects¶
BitPim — BitPim, a phone data management tool built with Python
Dabo — Dabo, a desktop application framework built on wxPython