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.2.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.2-py3-none-any.whl (28.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pymodia-0.5.2.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.2.tar.gz
Algorithm Hash digest
SHA256 6193bb93f6786f54a7a2228ee4ec23cbb0663eff98ed7048d5563116464d7b04
MD5 1124edbe7e6193703bbc0a269a3ff2f7
BLAKE2b-256 0f7bf0ef85cc55213c327ca6c436c77249682f4c94b7a84a86b2cdb52a5d0104

See more details on using hashes here.

Provenance

The following attestation bundles were made for pymodia-0.5.2.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.2-py3-none-any.whl.

File metadata

  • Download URL: pymodia-0.5.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 82fc50c4f79bafb32e1d024c49c231681dd9f8a4952109d1c790fed91abcf82d
MD5 30d7c00591583286796b77001e09eb71
BLAKE2b-256 7186937224632971c5e7ee282a2aaca22bd417a1f81cf49cd675a2ae93c54ba8

See more details on using hashes here.

Provenance

The following attestation bundles were made for pymodia-0.5.2-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