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.22.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.6.22.0-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (31.8 MB view details)

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

cinderx-2026.6.22.0-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl (31.7 MB view details)

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

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

Uploaded CPython 3.14Windows x86-64

cinderx-2026.6.22.0-cp314-cp314-musllinux_1_2_x86_64.whl (31.1 MB view details)

Uploaded CPython 3.14musllinux: musl 1.2+ x86-64

cinderx-2026.6.22.0-cp314-cp314-musllinux_1_2_aarch64.whl (30.9 MB view details)

Uploaded CPython 3.14musllinux: musl 1.2+ ARM64

cinderx-2026.6.22.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.22.0-cp314-cp314-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl (30.5 MB view details)

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

cinderx-2026.6.22.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.22.0.tar.gz.

File metadata

  • Download URL: cinderx-2026.6.22.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.6.22.0.tar.gz
Algorithm Hash digest
SHA256 6c2592eb586b0a4fe1ee5664a3d97872c809123595acbc2e9e77044f84999478
MD5 741f7931432b31f96fa0a67d21c2102d
BLAKE2b-256 befc192bc233652684b2e8bc547b2554d8f67464a161b7cb550ba6688b3f8a09

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cinderx-2026.6.22.0-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 238a88f4c12f339dce83d026c19a11ac715558e0cd6e293451d0cb8990965835
MD5 b87f3644b3d1a9a4b77c32c2556d9f52
BLAKE2b-256 db5a53dab6cce2bc1f239f7e9cf33271c4095afb87671d4922a9fb619a2f730e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cinderx-2026.6.22.0-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 a1454cfbb64385ddb05feb13a44384671d8dd073335d23f91c8e95d5726203aa
MD5 f5c953710e5a5b5f1b3648a3a7d86a9f
BLAKE2b-256 f732ef7861b1841413325d91cd5bb22fe816e3d4fe5889cd8e005a29b81303ee

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cinderx-2026.6.22.0-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 8fce21107f67922885267eee5ea2a11fd5e01638ffa8504446396816a6d65812
MD5 c3bea93a6c01ab89e1283be44d154b54
BLAKE2b-256 586bb36401351afb09be29a47fe24025a16155acbd41e12c8d438af949af8e22

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cinderx-2026.6.22.0-cp314-cp314-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 d2309094f32cb18f4b6213ce58186bc370659c7eed0b1a79b236c9a20aa63011
MD5 d96463a65420aa3e74ee39a40e38fb69
BLAKE2b-256 728f26fbb8d72edf3e8497cf9ef242ac2f26454f04131e784a5afbf58027f509

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cinderx-2026.6.22.0-cp314-cp314-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 3fa2fb35d90ee4f710c3257da64ceacd2bf5f29463a3fa51fccb56fc8d307e2b
MD5 16e0fa74a8250dff5352fc3bcfa7be0a
BLAKE2b-256 6f603f26bdc97f9dcdfcce2a9e1514a2a69ea0f2966eb2f18ac933ffe388e41a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cinderx-2026.6.22.0-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4873a1c010033e4d2b3a1a63817fc5c78d968db99277beb612d684a385dda91e
MD5 1b84a3f5748aa78145a0242d331a7c2b
BLAKE2b-256 0ad2d7c3e2b4f8607ec6461fee875855c45c169f5f87e4ab890468ca0669d6ea

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cinderx-2026.6.22.0-cp314-cp314-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 e3282ee687c6c53931f4d6afeb52cc25a7d5f789a54b4efdba31b894737380cf
MD5 effe370eadda83336585cd4fde73ca6d
BLAKE2b-256 366816de4c646f7362a85c837dea9b5c68229c75d3317307c214f7ba0d58ddc0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cinderx-2026.6.22.0-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8ca1e601beae416165d19ad4b7e1be2ccf849578dc3ea46632b6b1891c9cf524
MD5 078265a073ed6e082e5310ae6bdc213e
BLAKE2b-256 d2174c3da40f985a6e5266f1216cef4bdce0520f972a0f37e0491e3ce6820fe6

See more details on using hashes here.

Provenance

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