PHOENIX
Physicochemical Hazard Observation & Energetics Numerical Indexing eXpert
A Python library for reactive chemical hazard evaluation, successor to ASTM CHETAH.
Warning: PHOENIX is for screening purposes only. Results must not be used as the sole basis for safety decisions. Experimental validation is required before handling energetic materials.
Documentation
Features
- Thermodynamic Estimation: Calculate ΔHf°, S°, Cp(T) using Benson Group Additivity
- Hazard Classification: CHETAH-style criteria for instability screening
- Decomposition Analysis: Maximum heat of decomposition (ΔHd) calculation
- Batch Processing: Screen large SMILES datasets efficiently
- Reaction Balancing: Auto-balance chemical reactions with thermodynamics
Installation
pip install phoenix-chem
Or with uv:
uv pip install phoenix-chem
Quick Example
from phoenix import Compound
# Create a compound from SMILES
compound = Compound.from_smiles("Cc1c([N+](=O)[O-])cc([N+](=O)[O-])cc1[N+](=O)[O-]") # TNT
# Get properties
print(f"Formula: {compound.formula}")
print(f"Molecular Weight: {compound.molecular_weight:.2f} g/mol")
print(f"Oxygen Balance: {compound.oxygen_balance:.1f}%")
# Evaluate hazard
result = compound.evaluate_hazard()
print(f"Hazard Class: {result.hazard_class}")
print(f"Max ΔHd: {result.max_decomposition_cal_g:.1f} cal/g")
Batch Screening
from phoenix import screen
smiles_list = ["CCO", "c1ccccc1[N+](=O)[O-]", "Cc1c([N+](=O)[O-])cc([N+](=O)[O-])cc1[N+](=O)[O-]"]
results = screen(smiles_list)
# Get DataFrame
df = results.dataframe
print(df[["formula", "hazard_class", "delta_hd_cal_g"]])
# Export
results.to_csv("screening_results.csv")
Supported Elements
PHOENIX supports compounds containing: C, H, N, O, S, P, F, Cl, Br
LLM-Friendly Documentation
PHOENIX provides llms.txt for LLM consumption following the llmstxt.org specification.
License
MIT License - see LICENSE for details.
References
- ASTM E659: Standard Test Method for CHETAH
- Benson, S.W. "Thermochemical Kinetics" (Wiley, 1976)
- Meyer et al., "Explosives" 6th Ed. (Wiley-VCH, 2007)
Release files for phoenix-chem 0.2.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 | |
|---|---|---|---|
| phoenix_chem-0.2.0.tar.gz | 458.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| phoenix_chem-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 508.8 kB
Release files / phoenix_chem-0.2.0.tar.gz
| Download URL | phoenix_chem-0.2.0.tar.gz |
|---|---|
| Size | 458.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d553769e92c3ae49d9322cf0e2157fc464c5bb90b1ed0a69dd9eed8e1a6b027c
|
|
BLAKE2b-256 checksum How to use checksums |
a599d822d8ba6bb3bef5830718c688c697af0b2936ec4602f33a2bda3a5f52b7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Aug 24, 2026.
Transparency logRelease files / phoenix_chem-0.2.0-py3-none-any.whl
| Download URL | phoenix_chem-0.2.0-py3-none-any.whl |
|---|---|
| Size | 50.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4ce7fa19c9df070c728a8f45f56edfcfe11473ef97a2c1da4206dac5a7b49b60
|
|
BLAKE2b-256 checksum How to use checksums |
8e6bd868db416fcebc770f372d3c1cef53fa3a2df5f7eafd1a41a4a59ce18058
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Aug 24, 2026.
Transparency log