PyMT is an open source library for developing multi-touch applications. It is completely cross platform (Linux/OSX/Win) and released under the terms of the GNU LGPL.
It comes with native support for many multi-touch input devices, a growing library of multi-touch aware widgets, hardware accelerated OpenGL drawing, and an architecture that is designed to let you focus on building custom and highly interactive applications as quickly and easily as possible.
Since PyMT is a pure Python library, you can take advantage of its highly dynamic nature and use any of the thousands of high quality and open source python libraries out there.
Writing PyMT applications is really easy. The shortest usable PyMT program is only two lines long.
The following example shows a little more of the framework. The code just draws a filled circle under each touch.
from pymt import *
'''Draw a circle at the position of all touches.'''
set_color(1, 0, 0)
for touch in getCurrentTouches():
To get started, take a look at the many examples that come with PyMT!
The latest stable version is 0.5.1, released on 06 Sep. 2010. See Release Notes for more details.
You can get the complete list of availables packages on PyPI. Check the PyMT PyPI page for more information.
We use Github for hosting our development version of PyMT.
Take a look at our instructions on how to grab the source code on our wiki!
If you have found a bug or want a feature, you can report it on our Bug tracker.
If you need advice or help, you can send a mail to the PyMT Users mailing list, or if you know IRC, you can /join us on #pymt @ irc.freenode.net.