TB2J : a python package for computing magnetic interaction parameters