Skip to main content

a python wrapper to interact with the semiempirical quantum chemistry program MOPAC

Project description

pyMOPAC

initial test build with basic functionality

wraps MOPAC to conveniently interact with the program from within python scripts

Dependencies

  • MOPAC in $PATH (some search is done for slightly different names, but older versions might not parse)

  • rdkit

  • numpy<2 (rdkit issue)

Usage

At the core, this module implements two classes, MopacInput and MopacOutput. These represent the MOPAC .mop input and .out output files, respectively. MopacInput takes a molecular geometry in various supported formats like SMILES or rdkit Mol. Furthermore, various keywords are accepted that define the MOPAC Header. The input file can be sent to MOPAC via the .run() method, which returns a MopacOutput object.

This Object Class parses the .out file and aims to dynamically extract calculation results.

Tests

done for Ubuntu 24 LTS and Fedora 40,

Python 3.9-12

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pymopac-0.2.tar.gz (48.0 kB view hashes)

Uploaded Source

Built Distribution

pymopac-0.2-py3-none-any.whl (29.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page