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 Provenance Actions
pyrometheus-1.1.1.tar.gz 341.2 kB Without provenance Details for pyrometheus-1.1.1.tar.gz

Built distribution (wheel)

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

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

Security for pyrometheus 1.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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