PyEM is a python-based solver for electrostatic and magnetostatic fields based on the Liénard–Wiechert potential formulation.