Metapython is a fork of the CPython runtime maintained by Meta.
The project represents Meta's customized version of the Python interpreter, built on the CPython codebase. It serves as the foundation for Meta's Python extensions and performance improvements, with related JIT compilation work housed in a separate repository. The fork allows Meta to experiment with runtime modifications and optimizations tailored to their internal use cases while maintaining compatibility with the standard Python build process and toolchain.
Developers considering this fork should understand that it is primarily intended for organizations with specific performance or feature requirements that diverge from upstream CPython. The standard build instructions and configuration options remain consistent with CPython, making it accessible to those familiar with building Python from source. This is most suitable for teams operating at scale who need to customize the Python runtime itself rather than relying solely on extensions or third-party libraries. The separation of JIT compiler work into a distinct project indicates that this fork focuses on runtime modifications while compiler enhancements are developed independently.
The project maintains active synchronization with CPython's development, as evidenced by its tracking of the upstream version numbering scheme. Build infrastructure remains comprehensive, with continuous integration across multiple platforms and build configurations including profile-guided optimization support. The codebase reflects ongoing maintenance aligned with CPython's release cycle and development practices.