FDLS in python (and open source)