Python package for quantizing data onto a multi-dimensional lattice