parmed
xparmed
Contains the (very long) routine that does in-depth sanity checks on the topology file
parmed.tools.checkvalidity.
check_validity