Lattices
is a package for the construction of lattices from a set of nodes
and an (partial) ordering relation.
Lattices optionally utilizes nxpd to draw a lattice. This package is somewhat out of date at this point, and you install a modified version:
pip install git+https://git@github.com/chebee7i/nxpd.git@refs/pull/15/merge#egg=nxpd