To read gestures with Leap Motion and send them to Python, you can refer to the following link: Leap Motion Python Sample Tutorial.

You can also check if it is possible to use pygame for this purpose.