A light implementation of a kdtree with a python interface wrapping c code.