Python wrapper for NIST-JANAF Thermochemical Tables
Project description
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 │
│ … ┆ … ┆ … ┆ … ┆ … ┆ … ┆ … ┆ … ┆ … │
│ 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)")==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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file janaf-1.2.0.tar.gz.
File metadata
- Download URL: janaf-1.2.0.tar.gz
- Upload date:
- Size: 2.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
68b0934fa3171253cc642fe5abca2fb171b1297ec5d55131830c1d5e22a2fb26
|
|
| MD5 |
ed5aab0c747b19be076ad1d92548c81f
|
|
| BLAKE2b-256 |
bec3b7f5144e22050bf92a12e2599291d27958d085462ceb549268570b2e0dae
|
Provenance
The following attestation bundles were made for janaf-1.2.0.tar.gz:
Publisher:
publish.yml on n-takumasa/py-janaf
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
janaf-1.2.0.tar.gz -
Subject digest:
68b0934fa3171253cc642fe5abca2fb171b1297ec5d55131830c1d5e22a2fb26 - Sigstore transparency entry: 748408323
- Sigstore integration time:
-
Permalink:
n-takumasa/py-janaf@8674a4d8e7ed729a51c4b24360da44d1e3605cf5 -
Branch / Tag:
refs/tags/v1.2.0 - Owner: https://github.com/n-takumasa
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@8674a4d8e7ed729a51c4b24360da44d1e3605cf5 -
Trigger Event:
push
-
Statement type:
File details
Details for the file janaf-1.2.0-py3-none-any.whl.
File metadata
- Download URL: janaf-1.2.0-py3-none-any.whl
- Upload date:
- Size: 2.8 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9e5f7135f8c4b1970d18fb115b49b15396dd69ac77ddcdb0a2fb47deeb1cdbe6
|
|
| MD5 |
8240bfaff7b616d740893878b260cc6b
|
|
| BLAKE2b-256 |
bb016ecd1c7a7f29a0ce28460396f312ce1b5ade5d9c083d18717bac994971b7
|
Provenance
The following attestation bundles were made for janaf-1.2.0-py3-none-any.whl:
Publisher:
publish.yml on n-takumasa/py-janaf
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
janaf-1.2.0-py3-none-any.whl -
Subject digest:
9e5f7135f8c4b1970d18fb115b49b15396dd69ac77ddcdb0a2fb47deeb1cdbe6 - Sigstore transparency entry: 748408329
- Sigstore integration time:
-
Permalink:
n-takumasa/py-janaf@8674a4d8e7ed729a51c4b24360da44d1e3605cf5 -
Branch / Tag:
refs/tags/v1.2.0 - Owner: https://github.com/n-takumasa
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@8674a4d8e7ed729a51c4b24360da44d1e3605cf5 -
Trigger Event:
push
-
Statement type: