cantera
Cantera is an open-source suite of tools for problems involving chemical kinetics, thermodynamics, and transport processes.
Decision gist · record as of 2026-08-14
Yes. Cantera is a mature, actively maintained library (last commit 2026-08-12, 837 GitHub stars) with no known security vulnerabilities, permissive licensing, and broad platform support. Install friction is moderate due to compiled components, but pre-built wheels eliminate compilation for standard platforms. It is the standard tool for chemical kinetics and thermodynamics in Python and worth installing if you work in combustion, chemical engineering, or related fields.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10–3.14; pre-built wheels are available for Python 3.10–3.13 on common platforms, but other platforms may require compilation.
- Medium install friction: pre-built wheels available for Python 3.10–3.13 on macOS, Linux, and Windows, but the package is a compiled extension with C++ and Cython components.
- Installation is straightforward via pip on supported platforms; compilation from source is an option for other scenarios.
License · maintenance · safety
BSD-3-Clause (permissive) — BSD-3-Clause permissive license allows commercial and private use with minimal restrictions; you must retain the license notice and disclaimer.
last release 2025-11-18 (269 days) · last repo commit 2026-08-12 · 837 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 239,743 downloads/mo, #8,916 on PyPI
Alternatives
Verify before relying
pip install cantera
import cantera as ct
gas = ct.Solution('mechanism.yaml')
print(gas.standard_enthalpies_RT)- Whether thermodynamic data files are bundled with the package or require separate installation.
- Performance characteristics for large reaction mechanisms or multi-dimensional simulations.
- Availability of pre-built wheels for Python 3.14 (listed in classifiers but not in friction_evidence).
What it is and what it does
Cantera is an open-source chemical engineering toolkit that wraps compiled C++ and Cython code to provide Python access to thermodynamic property evaluation, chemical equilibrium computation, kinetic rate calculations, and transport property estimation. It is designed for researchers and engineers modeling combustion, chemical reactors, and related processes.
The package depends on numpy, ruamel.yaml, and typing_extensions. It supports Python 3.10 through 3.14 and is actively maintained with pre-built wheels for Windows, macOS (both Intel and ARM), and Linux. The codebase is written in C++, Cython, C, and Fortran, making it performant for computationally intensive chemical simulations. Users typically load reaction mechanism files in YAML format and query thermodynamic or kinetic properties for specific species and conditions.
Use it for
- Evaluate thermodynamic properties of gas mixtures at specified temperature and pressure conditions.
- Compute chemical equilibrium composition for a given set of reactants and constraints.
- Simulate one-dimensional flames using detailed reaction mechanisms.
- Model networks of stirred reactors with specified inlet conditions and residence times.
- Calculate species chemical production rates from a reaction mechanism for kinetic analysis.
- Conduct reaction path analysis to identify dominant reaction pathways in complex mechanisms.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
Cantera is a mature, actively maintained library (last commit 2026-08-12, 837 GitHub stars) with no known security vulnerabilities, permissive licensing, and broad platform support. Install friction is moderate due to compiled components, but pre-built wheels eliminate compilation for standard platforms. It is the standard tool for chemical kinetics and thermodynamics in Python and worth installing if you work in combustion, chemical engineering, or related fields.
Install
cantera on PyPI
Before you install
Medium install friction: pre-built wheels available for Python 3.10–3.13 on macOS, Linux, and Windows, but the package is a compiled extension with C++ and Cython components. Installation is straightforward via pip on supported platforms; compilation from source is an option for other scenarios.
Requires Python 3.10–3.14; pre-built wheels are available for Python 3.10–3.13 on common platforms, but other platforms may require compilation.
License in practice
BSD-3-Clause permissive license allows commercial and private use with minimal restrictions; you must retain the license notice and disclaimer.
Quickstart
pip install cantera
import cantera as ct
gas = ct.Solution('mechanism.yaml')
print(gas.standard_enthalpies_RT)
Verify before relying
- Whether thermodynamic data files are bundled with the package or require separate installation.
- Performance characteristics for large reaction mechanisms or multi-dimensional simulations.
- Availability of pre-built wheels for Python 3.14 (listed in classifiers but not in friction_evidence).
Package facts
| License | BSD-3-Clause permissive |
| Python support | Supports the current Python release <3.15,>=3.10 |
| Install friction | Medium. Platform-specific wheel |
| Runtime dependencies | 3 packagesnumpyruamel.yamltyping_extensions |
| Maintenance | Actively maintained 269 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 239,743 / month, #8,916 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: EducationIntended Audience :: Science/ResearchOperating System :: MacOS :: MacOS XOperating System :: Microsoft :: WindowsOperating System :: POSIX :: LinuxProgramming Language :: CProgramming Language :: C++Programming Language :: CythonProgramming Language :: FortranProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: Free Threading :: 1 - UnstableProgramming Language :: Python :: Implementation :: CPythonTopic :: Scientific/Engineering :: ChemistryTopic :: Scientific/Engineering :: PhysicsTyping :: Typed |
Evidence: cantera-3.2.0-cp310-cp310-macosx_10_15_x86_64.whl; cantera-3.2.0-cp310-cp310-macosx_11_0_arm64.whl; cantera-3.2.0-cp310-cp310-manylinux_2_28_aarch64.whl; cantera-3.2.0-cp310-cp310-manylinux_2_28_x86_64.whl; cantera-3.2.0-cp310-cp310-win_amd64.whl; cantera-3.2.0-cp311-cp311-macosx_10_15_x86_64.whl; cantera-3.2.0-cp311-cp311-macosx_11_0_arm64.whl; cantera-3.2.0-cp311-cp311-manylinux_2_28_aarch64.whl; cantera-3.2.0-cp311-cp311-manylinux_2_28_x86_64.whl; cantera-3.2.0-cp311-cp311-win_amd64.whl; cantera-3.2.0-cp312-cp312-macosx_10_15_x86_64.whl; cantera-3.2.0-cp312-cp312-macosx_11_0_arm64.whl; cantera-3.2.0-cp312-cp312-manylinux_2_28_aarch64.whl; cantera-3.2.0-cp312-cp312-manylinux_2_28_x86_64.whl; cantera-3.2.0-cp312-cp312-win_amd64.whl; cantera-3.2.0-cp313-cp313-macosx_10_15_x86_64.whl; cantera-3.2.0-cp313-cp313-macosx_11_0_arm64.whl; cantera-3.2.0-cp313-cp313-manylinux_2_28_aarch64.whl; cantera-3.2.0-cp313-cp313-manylinux_2_28_x86_64.whl; cantera-3.2.0-cp313-cp313-win_amd64.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “chemical kinetics simulation”
- canteraCantera is a suite of tools for chemical kinetics, thermodynamics,…
- chemicalsRetrieves and calculates chemical properties and constants for over…
- py3DmolEmbeds an interactive 3D molecular viewer in Jupyter notebooks using…
Give your agent the search over MCP, or paste the wish link into any chat.
More Physics packages
NetworkX provides data structures and algorithms for creating, analyzing, and manipulating graphs and networks, supporting everything from simple undirected graphs to complex directed and weighted networks.
SymPy is a Python library for symbolic mathematics, performing algebraic manipulation, calculus, equation solving, and mathematical expression simplification without numerical approximation.
Pydicom reads, modifies, and writes DICOM medical imaging files in pure Python, with optional NumPy support for pixel data as arrays.
Install it if you work with medical imaging data, DICOM files, or healthcare IT systems.
Albumentations applies image transformations to training data, supporting classification, segmentation, object detection, and pose estimation with a unified API for images, masks, bounding boxes, and keypoints.
Install it if you need a unified, production-grade augmentation API for computer vision tasks.
CoolProp provides thermodynamic and transport property calculations for fluids and fluid mixtures, offering open-source functionality similar to REFPROP.
Provides quaternion representation, manipulation, and rotation operations for 3D geometry and animation, with support for smooth interpolation between orientations.
See also chemicals · thermo · iapws · chemprop · aimsim-core · janaf · earthkit-meteo · pymbar