Skip to main content

A Python package for constructing clear, educational molecular orbital diagrams from qualitative models or minimal-basis electronic structure calculations.

Project description

CI PyPI License: GPL v3

PyMODIA

Purpose

PyMoDia is a python package designed for making SVG images of molecular orbital diagrams based on atomic orbital energies, molecular orbital energies and orbital coefficients. These energies and coefficients can either be obtained by using electronic structure calculation or be assumed to giving rise to qualitative diagrams.

This package makes use of the drawsvg package to produce the SVG images. SVG images are vector based meaning that they are great for digital purposes.

Documentation

PyMoDia comes with detailed documentation and examples, which can be found at https://ifilot.github.io/pymodia/.

Installation

PyMODIA is best used in its own environment which can be created and activated via

python3 -m venv .venv
source .venv/bin/activate

Install PyMoDia via

pip install -e .

The -e directive ensures that if you make changes to the PyMODIA sources, they will be automatically propagated to the environment.

Besides, numpy and drawsvg as the core dependencies, we recommend also installing pyqint and pydft to run the majority of the examples.

pip install pyqint pydft

Gallery

MO diagram for canonical MO of COMO diagram for localized MO of CO

MO diagram for canonical MO of CH4MO diagram for localized MO of CH4

MO diagram for canonical MO of ethyleneMO diagram for localized MO of ethylene

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

pymodia-0.5.3.tar.gz (27.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pymodia-0.5.3-py3-none-any.whl (28.0 kB view details)

Uploaded Python 3

File details

Details for the file pymodia-0.5.3.tar.gz.

File metadata

  • Download URL: pymodia-0.5.3.tar.gz
  • Upload date:
  • Size: 27.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pymodia-0.5.3.tar.gz
Algorithm Hash digest
SHA256 afb4e91918cd2bea1b24143f5b044b33f6fb094bcbbcb063a3d6baeccd7e8a44
MD5 459664927b70f7e87e6ea4ab4544ba7b
BLAKE2b-256 1b6b5767e46199afb2ea5f8574e1ebadd3a341c22cd80b44391d81a7d84b191c

See more details on using hashes here.

Provenance

The following attestation bundles were made for pymodia-0.5.3.tar.gz:

Publisher: ci.yml on ifilot/pymodia

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pymodia-0.5.3-py3-none-any.whl.

File metadata

  • Download URL: pymodia-0.5.3-py3-none-any.whl
  • Upload date:
  • Size: 28.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pymodia-0.5.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d5e79aed6eb908e9dd2890590c9f49041d2e3ac3170a0fd62b2ed8edeb459922
MD5 fa836e5d732d1a3b7f1489409313b784
BLAKE2b-256 c79592b7ce19d73a707b5cd0d1b630f799d2feaedef1d46fb0bfef1c993d56cf

See more details on using hashes here.

Provenance

The following attestation bundles were made for pymodia-0.5.3-py3-none-any.whl:

Publisher: ci.yml on ifilot/pymodia

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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