Skip to main content

openWFN

PyPI version Python versions License Tests

██████╗ ██████╗ ███████╗███╗   ██╗██╗    ██╗███████╗███╗   ██╗
██╔══██╗██╔══██╗██╔════╝████╗  ██║██║    ██║██╔════╝████╗  ██║
██║  ██║██████╔╝█████╗  ██╔██╗ ██║██║ █╗ ██║█████╗  ██╔██╗ ██║
██║  ██║██╔═══╝ ██╔══╝  ██║╚██╗██║██║███╗██║██╔══╝  ██║╚██╗██║
██████╔╝██║     ███████╗██║ ╚████║╚███╔███╔╝██║     ██║ ╚████║
╚═════╝ ╚═╝     ╚══════╝╚═╝  ╚═══╝ ╚══╝╚══╝ ╚═╝     ╚═╝  ╚═══╝

openWFN 0.7 is a reproducible command-line and Python workbench for Gaussian formatted-checkpoint analysis. It combines molecular geometry, orbitals, electron density, population analysis, electrostatic potential, reports, and a portable offline 3D workbench behind one typed calculation model.

Read the complete documentation

Installation

pip install openwfn

Quick Start

Run openWFN on a Gaussian formatted checkpoint file:

openwfn molecule.fchk summary
openwfn molecule.fchk geometry distance 1 2
openwfn molecule.fchk orbitals frontier
openwfn molecule.fchk population mulliken
openwfn molecule.fchk density integrate
openwfn molecule.fchk workbench molecule-workbench.html

If no subcommand is given:

  • in a TTY terminal, openwfn launches interactive mode
  • in non-interactive use, openwfn runs summary

Supported Input

openWFN accepts both Gaussian .fchk and .chk files.

  • .fchk files are read directly
  • Gaussian .chk files are proprietary binary files. openWFN does not decode them directly; it calls Gaussian's formchk utility when that executable is available in your PATH. Users without Gaussian should supply a formatted .fchk file.

You can also run checkpoint conversion explicitly:

openwfn molecule.chk formchk
openwfn molecule.chk formchk molecule.fchk

Analysis commands

  • summary — molecular system summary
  • info — formatted checkpoint metadata
  • geometry distance|angle|dihedral — typed geometry analysis
  • bonds — detected covalent bond network
  • graph — fragment and connectivity graph
  • orbitals frontier — HOMO, LUMO, and energy gap
  • population mulliken|lowdin — atomic populations and charges
  • density integrate|cube — numerical density integration and cube export
  • esp point — nuclear, atomic-charge, or grid-based potential at a point
  • report build — reproducible HTML or Markdown research report
  • workbench — self-contained offline analysis and visualization workspace
  • xyz output.xyz — export Cartesian coordinates
  • view — export a standalone local HTML molecule viewer
  • formchk [output.fchk] — convert a Gaussian checkpoint into a formatted checkpoint

Viewer

view exports a fully local standalone HTML viewer powered by bundled 3Dmol.js.

By default it:

  • writes a shareable .html file in the current working directory
  • keeps the viewer self-contained in a single file
  • does not open the browser unless you request it

The exported viewer supports:

  • atom labels
  • local 3D rendering styles
  • built-in downloads for XYZ, PDB, SDF, PNG, JPEG, and SVG

Examples:

openwfn molecule.fchk view
openwfn molecule.fchk view --open
openwfn molecule.fchk view --save viewer.html

Example Sessions

openwfn examples/water/water.fchk summary
openwfn examples/water/water.fchk dist 2 1
openwfn examples/water/water.fchk angle 2 1 3
openwfn examples/methane/methane.fchk graph
openwfn examples/water/water.fchk view --save water_viewer.html
openwfn examples/water/water.fchk

Capability status

openWFN labels scientific capabilities explicitly:

  • Stable: parsing, geometry, topology, frontier orbitals, population analysis, nuclear/atomic-charge ESP, reports, exports, and the Python API.
  • Validated: total-density grid integration and cube export for the active provenance-backed validation set.
  • Experimental: electronic and total ESP obtained from numerical density grids.
  • Unsupported: analyses whose required records or scientific validation are absent.

See the validation matrix and documented limitations before using results in research.

License

MIT License. See LICENSE.

Metadata

Release files for openwfn 0.7.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for openwfn 0.7.0
File Size Uploaded
openwfn-0.7.0.tar.gz 224.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for openwfn 0.7.0
File Interpreter ABI Platform
openwfn-0.7.0-py3-none-any.whl Python 3 none any Details

Total release size: 457.7 kB

Release files / openwfn-0.7.0.tar.gz

Download URL openwfn-0.7.0.tar.gz
Size 224.4 kB
Tags Source
SHA-256 checksum
How to use checksums
85d87cf99f53870c2a4f73f005fc333e9977b96031d70836b98afe21d7d1020e
BLAKE2b-256 checksum
How to use checksums
28fcf818b9e0f8f8bbde4457e546634e737974a96fc8cd1d441af0aebb134f15
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 Sep 11, 2026.

Transparency log

Release files / openwfn-0.7.0-py3-none-any.whl

Download URL openwfn-0.7.0-py3-none-any.whl
Size 233.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8df599a0a973898bf1d9e470b98b8a41fcb9734b77dcac1d13a1a2e1c3992220
BLAKE2b-256 checksum
How to use checksums
83cf33eba9e0b6cde535df25d0ab564a5887bad6bd5006ef28686b0e1c5857a4
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 Sep 11, 2026.

Transparency log
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