LaPy is an open-source Python package for differential geometry on triangle and tetrahedra meshes. It includes an FEM solver to estimate the Laplace, Poisson or Heat equations. Further functionality includes the computations of gradients, divergence, mean-curvature flow, conformal mappings, geodesics, ShapeDNA (Laplace spectra), and IO and plotting methods.

LaPy is written purely in Python 3 without sacrificing speed as almost all loops are vectorized, drawing upon efficient and sparse mesh data structures.


LaPy is available on Pypi and on conda-forge.

pip install lapy
conda install -c conda-forge lapy
pip install git+


lapy is licensed under the MIT license. A full copy of the license can be found on GitHub.