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 documentation for more details, or browse the full CinderX documentation site.

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.7.13.0.tar.gz (2.7 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.7.13.0-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (32.0 MB view details)

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

cinderx-2026.7.13.0-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl (31.9 MB view details)

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

cinderx-2026.7.13.0-cp314-cp314-win_amd64.whl (2.3 MB view details)

Uploaded CPython 3.14Windows x86-64

cinderx-2026.7.13.0-cp314-cp314-musllinux_1_2_x86_64.whl (31.4 MB view details)

Uploaded CPython 3.14musllinux: musl 1.2+ x86-64

cinderx-2026.7.13.0-cp314-cp314-musllinux_1_2_aarch64.whl (31.2 MB view details)

Uploaded CPython 3.14musllinux: musl 1.2+ ARM64

cinderx-2026.7.13.0-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (30.9 MB view details)

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

cinderx-2026.7.13.0-cp314-cp314-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl (30.8 MB view details)

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

cinderx-2026.7.13.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.7.13.0.tar.gz.

File metadata

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

File hashes

Hashes for cinderx-2026.7.13.0.tar.gz
Algorithm Hash digest
SHA256 39b84d4dd384d5f37fee7a1c5d904cb58b0208355a158e28177629e5cb90e8fa
MD5 65dad36c605257394325d3f9e7166e8d
BLAKE2b-256 d0780f6c4ef531587c440076d140427715cc9d040befbc9509567f83450e85ac

See more details on using hashes here.

Provenance

The following attestation bundles were made for cinderx-2026.7.13.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.7.13.0-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for cinderx-2026.7.13.0-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 987711b3d1662b30a7212426538b32329c5f815ac379dd831d8f6fd40882634b
MD5 06581d4873a7229d1e2982d75cc5e5fa
BLAKE2b-256 e7b1f341e7cb4c2eccf2818fa4a8f095d60c28567a60a342aafa68f0264c34e3

See more details on using hashes here.

Provenance

The following attestation bundles were made for cinderx-2026.7.13.0-cp314-cp314t-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.7.13.0-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for cinderx-2026.7.13.0-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 6fbd231c25046c1129fb685eb893c1523f338fd5ccefe0679f6b0e9e26f656a6
MD5 1eef049cb1ada8facdbba2f3cd4a89f3
BLAKE2b-256 d23454a613a9a11869e502808165f758bd90c061678e52fb188938e04bde2e85

See more details on using hashes here.

Provenance

The following attestation bundles were made for cinderx-2026.7.13.0-cp314-cp314t-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.7.13.0-cp314-cp314-win_amd64.whl.

File metadata

File hashes

Hashes for cinderx-2026.7.13.0-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 74b47da18e30aa142e8a2c3d2ae40400c8b7f67fde1e30796e5476099985d69d
MD5 124a760e3243fbaebb423fd060b5227b
BLAKE2b-256 29577c0346c9ecc88f7e326bf6c1211a83c1f7f5871795f702442590477fac8b

See more details on using hashes here.

Provenance

The following attestation bundles were made for cinderx-2026.7.13.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.7.13.0-cp314-cp314-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for cinderx-2026.7.13.0-cp314-cp314-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 d0b88919b163fd1ada85c5ce405d8551bd21abbb4318aa3b2b42691fbabb0157
MD5 d73da599a11c1474fcf00fb756348c90
BLAKE2b-256 554d74c7e0d29de2c03e04605fbfcbff5a402321e8193ff57e93e618850608b3

See more details on using hashes here.

Provenance

The following attestation bundles were made for cinderx-2026.7.13.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.7.13.0-cp314-cp314-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for cinderx-2026.7.13.0-cp314-cp314-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 eb3435cb6dc8bdbe45df8f84489fc2f797db8efc734b2d0f91f12a0ef1e98316
MD5 a91702c6dc04782b3fe1724b02d0fda4
BLAKE2b-256 012a98deee1d0b520b8e02580276c40459ec9ae0208fa914c67649d601a5be80

See more details on using hashes here.

Provenance

The following attestation bundles were made for cinderx-2026.7.13.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.7.13.0-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for cinderx-2026.7.13.0-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4778d654b3348cb2215432e6a0ad7aef1bd2708d9f83f92351784ca27e294a49
MD5 791fea69e114267e599d5ce4c1636039
BLAKE2b-256 b7c5eaf7b494e3f04789dea5fa57a16b4b47df53fdd1ed8c21fa42aef452878f

See more details on using hashes here.

Provenance

The following attestation bundles were made for cinderx-2026.7.13.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.7.13.0-cp314-cp314-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for cinderx-2026.7.13.0-cp314-cp314-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 4e128bf7ac2e70cda87a0f9ddbb5a707d6476a6cb252d7682244bef485b9d111
MD5 5765cbcaa52edab0b6554d3134621418
BLAKE2b-256 52358e8631b53a0be5da2ae93e3dbec6f0cc0cf4cc9719befe603b5b3fdf45be

See more details on using hashes here.

Provenance

The following attestation bundles were made for cinderx-2026.7.13.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.7.13.0-cp314-cp314-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for cinderx-2026.7.13.0-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 071a4559757b403ea0a838bef1d4b31ca01f928579826aa90196523b0f2eaa59
MD5 a77f26e416864fe09784a74a4da94437
BLAKE2b-256 10c1810806ebad005e7f0f4dd2fbd50cfe30abf499d115d17620c355913aeda5

See more details on using hashes here.

Provenance

The following attestation bundles were made for cinderx-2026.7.13.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