Metadata-Version: 2.4
Name: cinderx
Version: 2026.2.23.0
Summary: Extension aimed at improving the performance of the Python runtime
License-Expression: MIT
Project-URL: Repository, https://www.github.com/facebookincubator/cinderx
Keywords: performance,jit,compiler,optimization,cinder
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Software Development :: Compilers
Requires-Python: <3.16,>=3.14.3
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# CinderX

[![PyPI - Version](https://img.shields.io/pypi/v/cinderx.svg)](https://pypi.org/pypi/cinderx/)

CinderX is a Python extension that improves the performance of the Python
runtime.

## Status

CinderX is under active development.  It is used in production at Meta for
use-cases like the Instagram Django service.  It is **experimental** for
external users.  New releases are published to PyPI on a weekly basis.

## Features

- **JIT Compiler** - Just-in-time compilation of Python bytecode to native
  machine code
- **Static Python** - A stricter form/subset of Python, for type safety and
  optimization

The codebase includes other features as well, such as a parallel garbage
collector and a lighter weight implementation of Python interpreter frames.
However these features are not compatible with the stock CPython runtime yet.

## Requirements

- Python 3.14 or later
- Linux (x86_64)
- GCC 13+ or Clang 18+

The extension should build and import on macOS but most features will be
disabled at runtime.  Windows is not yet supported at all.

## Installation

```bash
pip install cinderx
```

## CinderX vs Cinder

[Cinder](https://github.com/facebookincubator/cinder) was a fork of the CPython
runtime developed at Meta.  It included runtime optimizations (e.g. JIT) and was
specifically targeted at the Instagram Django codebase.  For Python 3.10, Meta
decided to turn it into a Python extension to improve compatibility with newer
Python versions.  This extension is now known as CinderX ("the X" is for
"extension").

For Python versions 3.10 through 3.12, CinderX still depends on patches to
Meta's fork of the Python runtime.  Python 3.14 is the first version of stock
CPython that CinderX supports.

## License

CinderX is MIT licensed, see the LICENSE file.

## Terms of Use

https://opensource.fb.com/legal/terms

## Privacy Policy

https://opensource.fb.com/legal/privacy

---

Copyright © 2025 Meta Platforms, Inc.
