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

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.1.tar.gz (26.8 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.1-py3-none-any.whl (27.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pymodia-0.5.1.tar.gz
  • Upload date:
  • Size: 26.8 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.1.tar.gz
Algorithm Hash digest
SHA256 8f91c7f638cd6cada7b6d7af44651f78009a74d09ce5bc080c3547a8b84db89d
MD5 5e2161ecceacee574b43c482f165fdcb
BLAKE2b-256 57c0fa9ca4b0b8faf71b76d1341710ef62c18138ecb9283dfd617e08bc29ff0b

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: pymodia-0.5.1-py3-none-any.whl
  • Upload date:
  • Size: 27.8 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2dc1341546d6a99f8c5b1aeaf333b942729fd68592d3612cd9c40cd626da0e20
MD5 4e3bc65d17731ed7a0aaae86759c5777
BLAKE2b-256 270d855297b6692b4ffb5ff1d03d59718db3338e2d0e486099e227ee2e675260

See more details on using hashes here.

Provenance

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