seamm_mdi
A reusable MDI driver facility for SEAMM. It lets a SEAMM step launch a quantum-chemistry (or other) engine once and drive it for many energy/force evaluations over the MDI protocol, instead of re-launching the code for every geometry.
The MDIEngine class is the driver: it listens on a TCP port, launches the
engine (which connects back), and exposes a small, unit-aware API:
from seamm_mdi import MDIEngine
with MDIEngine(build_argv, elements=[8, 1, 1]) as engine:
engine.set_coordinates(xyz, units="Å")
e = engine.energy(units="kcal/mol")
f = engine.forces(units="kcal/mol/Å")
build_argv(hostname, port) returns the argv that launches the engine wrapper
(e.g. from a program step's get_mdi_engine_command), pointed at the driver's
hostname/port. Unit conversions are handled inside MDIEngine
(seamm_util.Q_); the default units are MDI-native (bohr, hartree, hartree/bohr).
Status: local-mode (localhost) first cut. Remote/queue launching via the SEAMM executor is planned.
Metadata
Release files for seamm-mdi 2026.9.18
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| seamm_mdi-2026.9.18.tar.gz | 12.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| seamm_mdi-2026.9.18-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 24.9 kB
Release files / seamm_mdi-2026.9.18.tar.gz
| Download URL | seamm_mdi-2026.9.18.tar.gz |
|---|---|
| Size | 12.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c727ed488f83696062913d90ad0bbabf7034958c0fb0b7abce3beb451ca45441
|
|
BLAKE2b-256 checksum How to use checksums |
392aa51fb22c17234f498b07d50b5bdaf546ea494046772853e45d0241e260ce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / seamm_mdi-2026.9.18-py3-none-any.whl
| Download URL | seamm_mdi-2026.9.18-py3-none-any.whl |
|---|---|
| Size | 12.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0e2c4bcb89f4d5a57f90cf6d67614c0b1ca85503df920ce78321d9ac6ab4824a
|
|
BLAKE2b-256 checksum How to use checksums |
a146527591bedbb888024b69401bb5ab84bc3cf97cd65464ba677698f2935ad1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|