Repository navigation
Plugin PySCF Input Generator
PySCF Input Generator writes standalone, executable Python scripts for the PySCF (Python-based Simulations of Chemistry Framework) package from molecular geometries in MoleditPy, configuring Hartree-Fock, DFT, and post-HF electron correlation methods.
| Repository | Bundled in moleditpy-plugins (plugins/PySCF_Input_Generator) |
| Author | HiroYokoyama |
| Supported OS | Windows, macOS, Linux, WSL |
| Supported Python | >=3.9, <3.15 |
| Supported MoleditPy | >=5.0.0, <6.0.0 |
| First-party plugin license | LGPL-3.0-or-later |
| Menu location | Plugins ▸ PySCF Input Generator... |
| Extra dependencies | None (uses RDKit, PySide6 from the MoleditPy environment) |
See Official Plugins for the full catalogue.
-
Standalone Python script: Rather than executing calculations inside MoleditPy (which the companion PySCF Calculator plugin does), this generator writes a self-contained
.pyscript that can be transferred and executed on remote clusters, compute nodes, or Linux environments where PySCF is installed. -
Run anywhere: The generated script imports
pyscf, defines the molecule with Cartesian coordinates, builds the SCF/DFT object, runs the kernel, and prints energy and orbital diagnostics.
- Hartree-Fock (HF): RHF (closed shell), UHF (unrestricted open shell), and ROHF (restricted open shell).
-
Density Functional Theory (DFT): Kohn-Sham DFT supporting standard functionals including B3LYP, PBE, PBE0, BLYP, BP86, CAM-B3LYP, and
$\omega\mathrm{B97X-D}$ . -
Post-Hartree-Fock Correlation:
- MP2: Second-order Møller-Plesset perturbation theory.
- CCSD: Coupled-Cluster with Singles and Doubles.
- CCSD(T): Coupled-Cluster with Singles, Doubles, and perturbative Triples.
- References: RHF, UHF, or ROHF reference states.
- Basis sets: Pople sets (6-31G, 6-31G(d), 6-311G(d,p)), Dunning correlation-consistent sets (cc-pVDZ, cc-pVTZ, aug-cc-pVDZ), and def2 sets (def2-SVP, def2-TZVP).
- Charge and spin: Automatic deduction of molecular charge and spin multiplicity from RDKit.
- Solvation models: Optional inclusion of ddCOSMO implicit solvent blocks.
- Geometry optimization: Optional geometry-optimization integration within the output script.
- Presets and preview: Real-time syntax preview of the generated Python script and user preset storage.
Choose RHF, UHF, ROHF, RKS, UKS or ROKS as the HF/DFT reference. Memory, thread count, SCF cycles, grid level and convergence tolerance are editable. Generated scripts check charge/spin compatibility.
With Job Manager installed, Submit to Cluster... appears beside Save. It saves the script (asking for a name only when it has not been saved yet or the settings have changed since), hands it to Job Manager under the file's name, then closes the dialog. Without Job Manager the button is not shown.
- Official Plugins — the full plugin catalogue
- Plugin: PySCF Calculator — run PySCF calculations directly inside MoleditPy
- Plugin: Psi4 Input Generator — Psi4 input generator
- Plugin: Job Manager — submit PySCF Python scripts to remote clusters
This page documents PySCF Input Generator v2026.11.14, and was last updated on 2026-11-14. See REGISTRY/plugins.json for the current version.