Are any of these quad-tree libraries any good?
In this comment, joferkington refers to the current question and says: Just for whatever it’s worth, scipy.spatial.KDTree (and/or scipy.spatial.cKDTree, which is written in C for performance reasons) is a far more robust choice than the options listed.