Is there any Approximate Nearest Neighbor (ANN) library in Python which supports custom distance function? • /r/MachineLearning

@machinelearnbot 

Is there any Approximate Nearest Neighbor (ANN) library in Python which supports custom distance function? None of them supports custom functions. Are there any libraries which has the same? Yes, I have used that, but it is slow for my need. That's why was looking for an ANN library.