simple wrapper around pyspf