py-janaf: Python wrapper for NIST-JANAF Thermochemical Tables
Features
- Search compounds
- Parse a table as
polars.DataFrame - Fix some data
- Fix missing sign
- NOTE: Assuming the sign is consistent with the sign immediately following
- Fix missing tab
- NOTE: Based on PDF files
- Ignore comment-like lines
- Fix missing sign
Usage
pip install janaf
>>> import polars as pl
>>> import janaf
>>> table = janaf.search(formula="CO2$")
>>> table.name
'Carbon Dioxide (CO2)'
>>> table.formula
'C1O2(g)'
>>> table.df
shape: (62, 9)
┌────────┬────────┬─────────┬──────────────┬───┬───────────┬───────────┬─────────┬──────┐
│ T(K) ┆ Cp ┆ S ┆ -[G-H(Tr)]/T ┆ … ┆ delta-f H ┆ delta-f G ┆ log Kf ┆ Note │
│ --- ┆ --- ┆ --- ┆ --- ┆ ┆ --- ┆ --- ┆ --- ┆ --- │
│ f64 ┆ f64 ┆ f64 ┆ f64 ┆ ┆ f64 ┆ f64 ┆ f64 ┆ str │
╞════════╪════════╪═════════╪══════════════╪═══╪═══════════╪═══════════╪═════════╪══════╡
│ 0.0 ┆ 0.0 ┆ 0.0 ┆ inf ┆ … ┆ -393.151 ┆ -393.151 ┆ inf ┆ null │
│ 100.0 ┆ 29.208 ┆ 179.009 ┆ 243.568 ┆ … ┆ -393.208 ┆ -393.683 ┆ 205.639 ┆ null │
│ 200.0 ┆ 32.359 ┆ 199.975 ┆ 217.046 ┆ … ┆ -393.404 ┆ -394.085 ┆ 102.924 ┆ null │
│ 298.15 ┆ 37.129 ┆ 213.795 ┆ 213.795 ┆ … ┆ -393.522 ┆ -394.389 ┆ 69.095 ┆ null │
│ 300.0 ┆ 37.221 ┆ 214.025 ┆ 213.795 ┆ … ┆ -393.523 ┆ -394.394 ┆ 68.67 ┆ null │
│ … ┆ … ┆ … ┆ … ┆ … ┆ … ┆ … ┆ … ┆ … │
│ 5600.0 ┆ 64.588 ┆ 373.709 ┆ 316.947 ┆ … ┆ -416.794 ┆ -386.439 ┆ 3.605 ┆ null │
│ 5700.0 ┆ 64.68 ┆ 374.853 ┆ 317.953 ┆ … ┆ -417.658 ┆ -385.89 ┆ 3.536 ┆ null │
│ 5800.0 ┆ 64.772 ┆ 375.979 ┆ 318.944 ┆ … ┆ -418.541 ┆ -385.324 ┆ 3.47 ┆ null │
│ 5900.0 ┆ 64.865 ┆ 377.087 ┆ 319.92 ┆ … ┆ -419.445 ┆ -384.745 ┆ 3.406 ┆ null │
│ 6000.0 ┆ 64.957 ┆ 378.178 ┆ 320.882 ┆ … ┆ -420.372 ┆ -384.148 ┆ 3.344 ┆ null │
└────────┴────────┴─────────┴──────────────┴───┴───────────┴───────────┴─────────┴──────┘
>>> table.df.filter(pl.col("T(K)").is_close(298.15)).item(0, "delta-f H") # kJ/mol
-393.522
Credit
Following files are distributed in NIST-JANAF Tables:
NIST-JANAF Tables - Credits
NIST Standard Reference Database 13
NIST JANAF THERMOCHEMICAL TABLES 1985
Version 1.0
Data compiled and evaluated by
M.W. Chase, Jr., C.A. Davies, J.R. Downey, Jr.
D.J. Frurip, R.A. McDonald, and A.N. Syverud
Distributed by
Standard Reference Data Program
National Institute of Standards and Technology
Gaithersburg, MD 20899
Copyright 1986 by
the U.S. Department of Commerce
on behalf of the United States. All rights reserved.
DISCLAIMER: NIST uses its best efforts to deliver a high quality copy of
the Database and to verify that the data contained therein have been
selected on the basis of sound scientific judgement. However, NIST makes
no warranties to that effect, and NIST shall not be liable for any damage
that may result from errors or omissions in the Database.
Release files for janaf 1.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| janaf-1.4.0.tar.gz | 2.1 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| janaf-1.4.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.9 MB
Release files / janaf-1.4.0.tar.gz
| Download URL | janaf-1.4.0.tar.gz |
|---|---|
| Size | 2.1 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
afb4b11878c1aeca5e730a5a959dfcc4409cc54635eecc3c04b8a9dd5f973088
|
|
BLAKE2b-256 checksum How to use checksums |
c0bf9b91304de01d5cfc437ce90feb9e28b9197723ba1fe5d424a042ee8d2132
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 14, 2026.
Transparency logRelease files / janaf-1.4.0-py3-none-any.whl
| Download URL | janaf-1.4.0-py3-none-any.whl |
|---|---|
| Size | 2.8 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
178cfd96499fa72a72fac5b78609a64916d04db39bc786e0f4d52e148c61fbe5
|
|
BLAKE2b-256 checksum How to use checksums |
a692d5a36e54f9f44df3c270e92f93df6d02eb6f1377fb45afaf10a6d5566fd5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 14, 2026.
Transparency log