Skip to main content

PHOENIX

PHOENIX logo

CI Documentation Python 3.12+ License: MIT

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

Read the full 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.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 phoenix-chem 0.1.1
File Size Uploaded
phoenix_chem-0.1.1.tar.gz 455.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for phoenix-chem 0.1.1
File Interpreter ABI Platform
phoenix_chem-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 501.1 kB

Release files / phoenix_chem-0.1.1.tar.gz

Download URL phoenix_chem-0.1.1.tar.gz
Size 455.1 kB
Tags Source
SHA-256 checksum
How to use checksums
131b42e59816d8b2e02a98e47f83e02d8dc0dd3b031123e5c955aa52c4cc9515
BLAKE2b-256 checksum
How to use checksums
3a2c943390c1fac51915dc8111633455b735fdbb8eeefd2ff7322754bbfe0473
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 16, 2026.

Transparency log

Release files / phoenix_chem-0.1.1-py3-none-any.whl

Download URL phoenix_chem-0.1.1-py3-none-any.whl
Size 45.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
473aa818263ffc6b3474c31592806ed4d5187f071a1bbe1f76794c6ca18b7d34
BLAKE2b-256 checksum
How to use checksums
5e5362df956925a6dd1dbf1dae576c6afaddc4dd52e099f7b6ddee2cb166977c
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 16, 2026.

Transparency log

Release history Release notifications | RSS feed

0.2.0

2 release files

This release

0.1.1 This release

2 release files

0.1.0

2 release files

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