import from PyTamarisk