Skip to main content

openWFN

Wavefunction analysis, made reproducible.

A unified post-processing toolkit for turning quantum-chemistry calculations into traceable, reproducible, review-ready results.

PyPI Python Tests Documentation License: MIT

Get started · CLI reference · Validation · Citation


openWFN connects scientific analysis, automation, validation evidence, and research output through one typed calculation model. It works locally through the command line or Python, from individual calculations and high-throughput collections.

Analyze · Automate · Validate · Publish

  • Analyze molecular structure, orbitals, electron density, atomic populations, electrostatic potential, and derived properties.
  • Automate with stable CLI commands, a typed Python API, structured results, resumable batches, and JSON/CSV exports.
  • Validate using explicit capability status, parser provenance, transformations, numerical controls, and fixture-backed evidence.
  • Publish durable reports, figures, cube files, structures, and batch manifests.

Install

openWFN supports Python 3.10–3.13.

Install the stable release:

python -m pip install --upgrade openwfn
openwfn --version

Install the exact release when reproducing research:

python -m pip install openwfn==0.8.0

First analysis

openwfn examples install ./openwfn-examples
openwfn ./openwfn-examples/water.fchk doctor
openwfn ./openwfn-examples/water.fchk summary
openwfn ./openwfn-examples/water.fchk orbitals frontier

For your own calculation, replace the example path:

openwfn molecule.fchk summary

Run a collection of calculations with resumable, structured output:

openwfn batch ./calculations \
  --analyses summary,frontier \
  --output-dir ./results \
  --resume

Use JSON when another program will consume the result:

openwfn --format json --output summary.json molecule.fchk summary

Capability map

Area Current capability Status
Parsing and structure FCHK records, molecular state, geometry, topology Stable
Orbitals Alpha/beta frontier energies and HOMO–LUMO gap Stable
Population Mulliken and symmetric Löwdin populations and charges Stable
Density Total, alpha, beta, and spin integration and cube export Validated for active fixtures
Electrostatic potential Nuclear and charge-model point ESP Stable
Grid electronic/total ESP Numerical Coulomb evaluation Experimental
Automation Versioned results, batch manifests, discovery, resume, JSON and CSV Stable
Research reports HTML/Markdown reports, tables, figures, and structures Stable
Interactive workbench Optional visualization and teaching surface Experimental

“Validated” is deliberately scoped. Review the validation evidence and limitations before research use.

Input support

Gaussian formatted-checkpoint (.fchk) data currently provides the full electronic wavefunction record used by openWFN analyses. Gaussian .chk is a proprietary binary format; openWFN calls Gaussian's separately installed formchk utility and does not decode it directly.

XYZ, MOL/SDF, and PDB inputs provide structure-only records. Additional quantum-chemistry parsers will be listed as supported only after their implementation and validation evidence are available.

openwfn calculation.chk formchk calculation.fchk
openwfn calculation.fchk convert --to sdf --output molecule.sdf
openwfn calculation.fchk density cube density.cube

Documentation

Security and privacy

Computations are local, but input and generated artifacts can contain unpublished research. Never post private checkpoint files, credentials, personal filesystem paths, or license details in public issues. Read the security and data-privacy guide.

Development

python -m pip install -e ".[test,docs]"
python -m pytest
python -m ruff check .
python scripts/run_validation.py
python scripts/check_docs.py --root .
python -m mkdocs build --strict

Contributions should include tests, documented units and assumptions, and validation evidence appropriate to the claim. See Contributing.

Project policies: Code of Conduct · Security · Maintainers · Contributors · Roadmap

Citation and license

Cite the exact version used and the project repository; see the citation guide. openWFN is released under the MIT License.

Author: Muhammed Shah Shaji

Metadata

Release files for openwfn 0.8.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.8.0
File Size Uploaded
openwfn-0.8.0.tar.gz 262.1 kB Details

Built distribution (wheel)

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

Total release size: 523.0 kB

Release files / openwfn-0.8.0.tar.gz

Download URL openwfn-0.8.0.tar.gz
Size 262.1 kB
Tags Source
SHA-256 checksum
How to use checksums
4f6733d58f11b3c69318e7fded5c996d8bc6a1d07b5c026faf0a926bccb7d87c
BLAKE2b-256 checksum
How to use checksums
1a0e7df46fe32f5308d0d3ff6001baeafa9e136119cba758dfcf9980e3a45f10
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 28, 2026.

Transparency log

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

Download URL openwfn-0.8.0-py3-none-any.whl
Size 261.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e78c024260d7cb201f5f49b17fe713f7d7c24600560ecb6af2e3ddc3f890912e
BLAKE2b-256 checksum
How to use checksums
745cd77bcbb0a20366a97724363ce45ca11154377eb7fcf4ea81357c519e5e22
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 28, 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