Skip to main content

Pyrometheus: Code Generation for Combustion Mechanisms

doc/pyro.png Github Build Status Github Build Status Documentation Status Python Package Index Release Page MIT License arXiv:2503.24286 DOI:10.1016/j.cpc.2025.109987

Pyrometheus is a code generator for chemical mechanisms based on Cantera. Install it from PyPI (pip install pyrometheus) or via Spack (spack install py-pyrometheus):

$ python3 -m pip install pyrometheus
$ python3 -m pyrometheus --help
usage: pyrometheus [-h] [--version] -l {python,cpp,fortran} -m MECH -o OUTPUT -n NAME [-p PHASE]

Code generation for combustion thermochemistrybased on Cantera.

options:
  -h, --help            show this help message and exit
  --version             show program's version number and exit
  -l {python,cpp,fortran}, --lang {python,cpp,fortran}, --language {python,cpp,fortran}
                        Language to generate code for.
  -m MECH, --mech MECH, --mechanism MECH
                        Path to the mechanism file.
  -o OUTPUT, --output OUTPUT
                        Path to the output file.
  -n NAME, --name NAME, --namespace NAME
                        Namespace to use for the generated code.
  -p PHASE, --phase PHASE
                        Phase name to use for the generated code.

Cite me:

@article{Cisneros25,
  author = {Cisneros-Garibay, Esteban and {Le Berre}, H. and Adam, D. and Bryngelson, Spencer H. and Freund, Jonathan B.},
  title = {{Pyrometheus: S}ymbolic abstractions for {XPU} and automatically differentiated computation of combustion kinetics and thermodynamics},
  year = {2026},
  volume = {320},
  pages = {109987},
  doi = {10.1016/j.cpc.2025.109987},
  journal = {Computer Physics Communications}
}

Links:

Metadata

Release files for pyrometheus 1.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyrometheus 1.1.1
File Size Uploaded
pyrometheus-1.1.1.tar.gz 341.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyrometheus 1.1.1
File Interpreter ABI Platform
pyrometheus-1.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 399.7 kB

Release files / pyrometheus-1.1.1.tar.gz

Download URL pyrometheus-1.1.1.tar.gz
Size 341.2 kB
Tags Source
SHA-256 checksum
How to use checksums
4560cfb063ba1da34b0b0e6e066a18f2e8a5ad6062d4d89ef6f44d2044efa2a3
BLAKE2b-256 checksum
How to use checksums
07225331def6a89f9202073daa45adbad809f546a138a43939c3810746d014de
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release files / pyrometheus-1.1.1-py3-none-any.whl

Download URL pyrometheus-1.1.1-py3-none-any.whl
Size 58.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
366cd9f9fa95f3bef93eee479f7d9e904043f1ae508cf215885f02e73433b9d1
BLAKE2b-256 checksum
How to use checksums
273b42bd7f1766e04ad8e76900a80da9bf9c387288230d227616848de41cb979
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

1.1.1 This release

2 release files

1.1.0

2 release files

1.0.7

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page