openWFN
██████╗ ██████╗ ███████╗███╗ ██╗██╗ ██╗███████╗███╗ ██╗
██╔══██╗██╔══██╗██╔════╝████╗ ██║██║ ██║██╔════╝████╗ ██║
██║ ██║██████╔╝█████╗ ██╔██╗ ██║██║ █╗ ██║█████╗ ██╔██╗ ██║
██║ ██║██╔═══╝ ██╔══╝ ██║╚██╗██║██║███╗██║██╔══╝ ██║╚██╗██║
██████╔╝██║ ███████╗██║ ╚████║╚███╔███╔╝██║ ██║ ╚████║
╚═════╝ ╚═╝ ╚══════╝╚═╝ ╚═══╝ ╚══╝╚══╝ ╚═╝ ╚═╝ ╚═══╝
openWFN is a command-line toolkit for molecular geometry, connectivity, and structure exploration from Gaussian checkpoint data. It is designed for fast terminal workflows around formatted checkpoint files, with a built-in local molecule viewer for lightweight inspection and sharing.
Installation
pip install openwfn
Quick Start
Run openWFN on a Gaussian formatted checkpoint file:
openwfn molecule.fchk summary
openwfn molecule.fchk dist 1 2
openwfn molecule.fchk graph
openwfn molecule.fchk xyz molecule.xyz
openwfn molecule.fchk view
If no subcommand is given:
- in a TTY terminal,
openwfnlaunches interactive mode - in non-interactive use,
openwfnrunssummary
Supported Input
openWFN accepts both Gaussian .fchk and .chk files.
.fchkfiles are read directly- Gaussian
.chkfiles are proprietary binary files. openWFN does not decode them directly; it calls Gaussian'sformchkutility when that executable is available in yourPATH. Users without Gaussian should supply a formatted.fchkfile.
You can also run checkpoint conversion explicitly:
openwfn molecule.chk formchk
openwfn molecule.chk formchk molecule.fchk
Stable Commands
summary— molecular system summaryinfo— formatted checkpoint metadatadist i j— interatomic distanceangle i j k— three-atom bond angledihedral i j k l— four-atom dihedralbonds— detected covalent bond networkgraph— fragment and connectivity graphxyz output.xyz— export Cartesian coordinatesview— export a standalone local HTML molecule viewerformchk [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
.htmlfile 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, andSVG
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
Project Scope
The stable surface of openWFN is focused on:
- geometry analysis
- molecular connectivity and fragment inspection
- coordinate export
- local browser-based structure viewing
Experimental modules may exist in the codebase, but they are not presented as production-ready features.
License
MIT License. See LICENSE.
Metadata
Release files for openwfn 0.6.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| openwfn-0.6.1.tar.gz | 186.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| openwfn-0.6.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 371.1 kB
Release files / openwfn-0.6.1.tar.gz
| Download URL | openwfn-0.6.1.tar.gz |
|---|---|
| Size | 186.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8ea9a742223919f8f1131d3286198c002e71563c735d18862c39468b42ac87d3
|
|
BLAKE2b-256 checksum How to use checksums |
3eb5d35f0f260f2b38248aec96ff13bd3a8a005f8c55d473d4e99900d8d2b276
|
| 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 10, 2026.
Transparency logRelease files / openwfn-0.6.1-py3-none-any.whl
| Download URL | openwfn-0.6.1-py3-none-any.whl |
|---|---|
| Size | 184.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b56c90b34689c531356a57904592c73b006d2cf4b07db41076a26412c4d59b39
|
|
BLAKE2b-256 checksum How to use checksums |
63a31c8a0b3c31c74a1fc9be9a6bb365f8e9a2ef45f37d3df6b821629facf1db
|
| 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 10, 2026.
Transparency log