Python library for computing magnetic fields from arbitrarily arranged current lines, loops, round coils and racetrack coils of rectangular cross section. Includes 3D visualisation of coils using mayavi.