Python implementation of the regular component of Galactic magnetic field model of Jansson and Farrar (2012)