Skip to main content
openWFN

Wavefunction analysis, made reproducible.

One scientific engine. From quantum-chemistry files to meaningful results.

PyPI Tests MIT

Get started · What it does · Ways to use it · Validation · Docs

What is openWFN?

openWFN is a wavefunction and quantum-chemistry post-processing toolkit. Explore electronic structure without juggling separate scripts for every analysis. Load a supported calculation file, inspect available data, run scientific analyses, and export results.

Use it for individual calculations or collections. CLI, Python, batch, MCP and chat use the same analysis engine. Reports and the offline workbench are optional exports.

flowchart LR
    A["📄 QC file"] --> B["🔬 openWFN"]
    B --> C["📊 Orbitals & density"]
    B --> D["🔗 Bonding & properties"]
    C --> E["📁 Plots & reports"]
    D --> E
    style B fill:#16454b,color:#ffffff,stroke:#41d1db,stroke-width:2px

What can openWFN do?

🧬 Structure ⚛️ Orbitals 🌐 Electron density
Distances, angles, bonds HOMO/LUMO, MO composition, DOS/PDOS Density checks, ESP, cube grids
🔗 Bonding 📈 Spectra & visualization 🧪 Advanced methods
Mulliken/Löwdin/Hirshfeld populations, Mayer bond orders Supported IR/Raman and UV–Vis records, plots, reports NTO, ELF, LOL, NCI, QTAIM critical points*

Availability depends on the data in your file. Some methods are experimental or validated only within a defined scope; QTAIM basin integration is not included. See methods and limitations.

Supported files

Input family Formats
Wavefunctions .fchk, .fch, .molden, .molden.input, .wfn, .wfx, .mwfn, .mkl
Grids .cube, .cub
Calculation outputs Gaussian, ORCA and Q-Chem .log / .out
Structures .xyz, .pdb, .mol, .sdf

Binary .chk is a proprietary binary format. It needs Gaussian's separately installed formchk utility; pip does not supply it. A structure or output file does not necessarily contain a complete wavefunction. Check supported formats for details.

Get started

Requires Python 3.10 or newer.

python -m pip install --upgrade openwfn
openwfn examples install ./openwfn-examples
openwfn ./openwfn-examples/water.fchk summary
openwfn ./openwfn-examples/water.fchk orbitals frontier --spin all

Try the guided interface: openwfn ./openwfn-examples/water.fchk

Use your own file:

openwfn molecule.molden capabilities
openwfn molecule.molden summary

The normal installation includes file readers, the Python API, local MCP and terminal chat. Model weights, Gaussian utilities and public servers are not installed automatically. See the installation guide.

Choose your workflow

flowchart TB
    A["🔬 openWFN scientific engine"] --> B["⌨️ CLI"]
    A --> C["🐍 Python"]
    A --> D["📂 Batch"]
    A --> E["💬 Guided / Chat"]
    A --> F["🔌 MCP"]
    style A fill:#16454b,color:#ffffff,stroke:#41d1db,stroke-width:2px
If you want to… Start here
Explore a file interactively openwfn molecule.molden
Ask questions about a file openwfn molecule.molden chat
Analyze many files openwfn batch ./calculations --analyses summary,frontier --output-dir ./results
Build a Python workflow Python API
Connect an AI client to tools MCP guide

For general conversation and model-generated explanations, connect an existing model using the assistant setup guide. openWFN does not download a model automatically. The MCP server runs locally over stdio and requires an MCP client.

Research results should be verifiable

Scientific values come from the analysis engine, not language-model guesses. Results retain units, warnings, validation status and source provenance. Missing data are reported as unavailable.

Population analysis uses source-reported effective nuclear charges for ECP and ghost centers; conservation failures return partial results with warnings. Direct density integration starts at 0.15 bohr spacing; you still need to check convergence.

Check the method-specific validation status before using results in research. Density integration needs a convergence check for your chosen spacing and padding; a successful command alone does not establish numerical accuracy. Chat-generated explanations also require verification.

Keep the input checksum, software version, settings and complete result with your work. Use --format json for structured results; see the CLI reference.

📖 Documentation · 🧪 Examples · 📋 Supported formats · 🤝 Contribute · 📝 Cite

MIT licensed · open source

Dependency and example-data terms are listed in third-party notices.

Metadata

Release files for openwfn 0.13.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.13.0
File Size Uploaded
openwfn-0.13.0.tar.gz 953.0 kB Details

Built distribution (wheel)

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

Total release size: 1.9 MB

Release files / openwfn-0.13.0.tar.gz

Download URL openwfn-0.13.0.tar.gz
Size 953.0 kB
Tags Source
SHA-256 checksum
How to use checksums
578ff9bd5b0838eeb9dd55085aa4453b3e36e1bd7696bdcb5a330a3758726efd
BLAKE2b-256 checksum
How to use checksums
bd2c509fa0d06e1e4d3eba2c14787cc0e09fb0edc4be734c589871c830102e71
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 Oct 12, 2026.

Transparency log

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

Download URL openwfn-0.13.0-py3-none-any.whl
Size 956.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9a563df378583adf209d7761f3cb8b918d821fd8de350d39823c342cad59cd3b
BLAKE2b-256 checksum
How to use checksums
c0bb9a0c7e179c795fc052adeea548c3f14ea0851c624ab4303353c772028e2e
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 Oct 12, 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