JANAF Thermochemical Tables Wrapper

1.2.1 · active · verified Fri Apr 17

janaf is a Python wrapper for the NIST-JANAF Thermochemical Tables, providing programmatic access to thermodynamic data for various chemical species. The current version is 1.2.1, with releases occurring a few times a year, often including dependency updates and minor feature enhancements.

Common errors

Warnings

Install

Imports

Quickstart

This quickstart demonstrates how to fetch thermochemical data for a species (e.g., H2O) using `janaf.get_table()` and access the data as a pandas DataFrame. It also shows how to retrieve specific property values.

from janaf import get_table

# Get thermochemical data for Water
water_table = get_table("H2O")

# Access data as a pandas DataFrame
print("\nWater Table (first 5 rows):\n", water_table.df.head())

# Access specific properties
print(f"\nEnthalpy (H) at 298.15 K: {water_table.df.loc[298.15, 'H/RT']} RT")

# Get data for another species
oxygen_table = get_table("O2")
print("\nOxygen Table (first 5 rows):\n", oxygen_table.df.head())

view raw JSON →