Skip to main content

Extension aimed at improving the performance of the Python runtime

Project description

CinderX

PyPI - Version

The CinderX logo, which is a lowercase "cinderx" with the dot in the i as a small flame, and a stylized orange x

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
  • GCC 13+ or Clang 18+
Linux macOS Windows
x86-64 :white_check_mark: :x: :white_check_mark:
aarch64 :white_check_mark: :white_check_mark: :x:

Installation

pip install cinderx

Using the JIT

The recommended way to start using the JIT is to do:

import cinderx.jit

cinderx.jit.auto()

This will configure the CinderX extension to automatically compile Python functions to machine code. It will track what functions are called frequently and compile the hottest ones automatically.

See the JIT README for more details.

CinderX vs Cinder

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").

Historically, for Python versions 3.10 through 3.12, CinderX depended 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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cinderx-2026.6.2.0.tar.gz (2.5 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

cinderx-2026.6.2.0-cp314-cp314-win_amd64.whl (2.1 MB view details)

Uploaded CPython 3.14Windows x86-64

cinderx-2026.6.2.0-cp314-cp314-musllinux_1_2_x86_64.whl (31.0 MB view details)

Uploaded CPython 3.14musllinux: musl 1.2+ x86-64

cinderx-2026.6.2.0-cp314-cp314-musllinux_1_2_aarch64.whl (30.8 MB view details)

Uploaded CPython 3.14musllinux: musl 1.2+ ARM64

cinderx-2026.6.2.0-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (30.4 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

cinderx-2026.6.2.0-cp314-cp314-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl (30.3 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.24+ ARM64manylinux: glibc 2.28+ ARM64

cinderx-2026.6.2.0-cp314-cp314-macosx_11_0_arm64.whl (2.1 MB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

File details

Details for the file cinderx-2026.6.2.0.tar.gz.

File metadata

  • Download URL: cinderx-2026.6.2.0.tar.gz
  • Upload date:
  • Size: 2.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for cinderx-2026.6.2.0.tar.gz
Algorithm Hash digest
SHA256 c5cd159dd64712e1ae93f5ed5362ec2c3c1c2bf1cf2e2fe8a377eceed2a80a0d
MD5 7da80519e2b1f1811179aa0dfc2b7f20
BLAKE2b-256 e954a8544b63871de8a4d571a5a957b4a0398186c390d24a6c15ade127d70db2

See more details on using hashes here.

Provenance

The following attestation bundles were made for cinderx-2026.6.2.0.tar.gz:

Publisher: publish.yml on facebookincubator/cinderx

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cinderx-2026.6.2.0-cp314-cp314-win_amd64.whl.

File metadata

File hashes

Hashes for cinderx-2026.6.2.0-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 ac6de7ed6347b68c4aa3f9d01958c1ea8164f97b78efc417706356f0fe8797fb
MD5 6d561b25cdd1cec4b5d838642238a1c6
BLAKE2b-256 ae94881ceb8e07f545250ccd8fa38d0b600a4562fbd385be8ee38c26ad176b3a

See more details on using hashes here.

Provenance

The following attestation bundles were made for cinderx-2026.6.2.0-cp314-cp314-win_amd64.whl:

Publisher: publish.yml on facebookincubator/cinderx

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cinderx-2026.6.2.0-cp314-cp314-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for cinderx-2026.6.2.0-cp314-cp314-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 ef811cc6746178615aee54e21c48df40db2ea4c47e017e9390994ea405ef52cc
MD5 fc420b4710a30a7e0c6dc99210d6589a
BLAKE2b-256 8c7a0b69d680565765aa8c599b9ac3d8a3e7cddc055ed57c954b40e265c9ce76

See more details on using hashes here.

Provenance

The following attestation bundles were made for cinderx-2026.6.2.0-cp314-cp314-musllinux_1_2_x86_64.whl:

Publisher: publish.yml on facebookincubator/cinderx

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cinderx-2026.6.2.0-cp314-cp314-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for cinderx-2026.6.2.0-cp314-cp314-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 c41d52cd77871222e9e7b94b3fd40dd81e626156e89d9bb1cd2755775c311611
MD5 342f2a4fb947be0fd3aecc8053487c49
BLAKE2b-256 67ccb49fbbe0bb5b95eccaaab36b2c73d2195c5c2452c239160435160facac7b

See more details on using hashes here.

Provenance

The following attestation bundles were made for cinderx-2026.6.2.0-cp314-cp314-musllinux_1_2_aarch64.whl:

Publisher: publish.yml on facebookincubator/cinderx

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cinderx-2026.6.2.0-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for cinderx-2026.6.2.0-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ddb96aa8ad9a82bb06999880e17fa72645a5963e3a5e859ab79f7d8862a2bafe
MD5 c87ae5132d9f74b2e67225416638177b
BLAKE2b-256 0849d7ad3a5bdc6f6e0bd558491e647c1c0a3b586febd6470ed11370bb3cd0dc

See more details on using hashes here.

Provenance

The following attestation bundles were made for cinderx-2026.6.2.0-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl:

Publisher: publish.yml on facebookincubator/cinderx

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cinderx-2026.6.2.0-cp314-cp314-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for cinderx-2026.6.2.0-cp314-cp314-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 f76be8c19929185730f979f425eafeac5464cb6f326f09927cf26de42e92b8d9
MD5 6eac4350f5925b16a756f15392f81d08
BLAKE2b-256 216e4d0beb394253ab02427ed461c9bd506a109a58a414f13634a1d27c499fd5

See more details on using hashes here.

Provenance

The following attestation bundles were made for cinderx-2026.6.2.0-cp314-cp314-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl:

Publisher: publish.yml on facebookincubator/cinderx

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cinderx-2026.6.2.0-cp314-cp314-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for cinderx-2026.6.2.0-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d27e2afbef9803b38216170f1a0a8dd5e51e3c4d9eec85e4d13809f1cab2525e
MD5 9c0cf2d02d2423f6933fe9a0ede72280
BLAKE2b-256 55afe16e9d8d9f1e8bdef384cd1c3122d990848210ffe87bf28a2dfd56a9edad

See more details on using hashes here.

Provenance

The following attestation bundles were made for cinderx-2026.6.2.0-cp314-cp314-macosx_11_0_arm64.whl:

Publisher: publish.yml on facebookincubator/cinderx

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page