Python implementation of memory-efficient (sparse) UniFrac