Python library and script for converting SAMI file.