WSPD is a well-known geometric decomposition used for encoding distances, introduced in 1995 by Paul B. Callahan and S. Rao Kosaraju in a seminal paper.
WSPD compresses
To use WSPD as a Python package, simple run
pip install wspd
In Python notebook /example/example.ipynb you can find an easy demonstration of how the wspd module can be used.