Getting the value of x and y coordinates of Mouse Click outside JS


I’m relatively new to bokeh. I’m trying to get the value of X and Y coordinates of a Mouse Tap event. I’d need these values outside the JS and to be used in python. Is there any method to do this? Sorry if the same question has been asked elsewhere. It’d be great if someone could point me towards any existing solutions or provide any comments.