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.8.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.8.0-cp314-cp314-win_amd64.whl (2.3 MB view details)

Uploaded CPython 3.14Windows x86-64

cinderx-2026.6.8.0-cp314-cp314-musllinux_1_2_x86_64.whl (31.2 MB view details)

Uploaded CPython 3.14musllinux: musl 1.2+ x86-64

cinderx-2026.6.8.0-cp314-cp314-musllinux_1_2_aarch64.whl (31.0 MB view details)

Uploaded CPython 3.14musllinux: musl 1.2+ ARM64

cinderx-2026.6.8.0-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (30.6 MB view details)

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

cinderx-2026.6.8.0-cp314-cp314-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl (30.4 MB view details)

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

cinderx-2026.6.8.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.8.0.tar.gz.

File metadata

  • Download URL: cinderx-2026.6.8.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.8.0.tar.gz
Algorithm Hash digest
SHA256 4640c07deed97d57cb496854b36c892e016b146092d8fdb46f877cacc0f5f569
MD5 88c903d46d5240d0f1444807f3909599
BLAKE2b-256 4a0ee0d96560e34eb95dc4c40f32c23ded6da81a7c950c0227e1a69592641396

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cinderx-2026.6.8.0-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 accb6b08b890beae21fcf3806cda7d6c3ac078540960db3e7db0bc0afee27441
MD5 1012062d3ff90998be308907e95b360a
BLAKE2b-256 95c3b07007196dc7a3798d1cd41fbaf8b961cd7c37f51626b745bbb5353c8137

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cinderx-2026.6.8.0-cp314-cp314-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 952096ba6cf64825591fe9740a67cca71a1d9b5fdd94854a33c3d4b131fc656a
MD5 2f17db0171154fb537ed203811334631
BLAKE2b-256 b9259fe5198ca2c7fa0161eb45a9f534f9473a2364d3e66534c1f7c47aa20e3d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cinderx-2026.6.8.0-cp314-cp314-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 c34a728e6cb4dfb5f6317d3954f15b4d26099124ffd1424c0247371502155696
MD5 ee7370d619bb8b5d68b53d3d35c9d0f0
BLAKE2b-256 2dd7b21745721048169b15c81044f6f4f4765f3ba438a318e9db6e8a09dff3ef

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cinderx-2026.6.8.0-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e5f32567d2e13b8b3ead3cad64e4e133bff9f2b5c66575cd5df91345f627f548
MD5 447c1e81ffdf3c5acea6db8c68ad1b97
BLAKE2b-256 bdf57b21edf3e18f7490fc4737a10074dba99d415b1246f1a1f3ab467a3864d8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cinderx-2026.6.8.0-cp314-cp314-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 d79c9248b79d5a90a61c75d97e1514039808956671980360b622de68763265db
MD5 980ec99c61598628ce12cc835e9af841
BLAKE2b-256 8d0bb69a4a525a98fa889519bdec57bf0e4ea411ad90526bdb732991a15615e0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cinderx-2026.6.8.0-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0c463aba6b0a73291fda15b5637129a2e9430807cf67cb48ac279b999357b278
MD5 efa15abc82c817db2c0d2447df670f89
BLAKE2b-256 ffaf62d53c9f51de5507c7d72c2f665cc71e9de68607272e884727c8359dbeb2

See more details on using hashes here.

Provenance

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