lookup_table (pypi): a multidimensional lookup table class and functions for doing piece-wise-linear table lookups
Keywords: table|lookup|piece-wise|linear|interpolation