Table with features / libraries

Starting from 0.4 version, we have introduce abstraction from usual library. That's mean for example, if you want to read and display a video, you don't need to use specifically Gstreamer or OpenCV... but you can use our Video abstraction class. It will use the best library available on your PyMT installation.

Libraries / FeaturesWindowingImageTextAudioVideoCameraSVGSpelling
GLUT (provided by Pyopengl)X (buggy)       
PygameXXXX (wav)    
PIL XX     
Pyglet        
PyCairo  X     
GST + PyGst   XXX  
OpenCV     X  
Squirtle      X 
Enchant       X

Needed libraries (core libraries):

Optional libraries :

How to force selection of a specific library

Each section have a environment variable named: PYMT_section. By default, the first working provider are used. You can force the usage of GLUT windowing by doing:

PYMT_WINDOW=glut python example.py

Or even, force usage of pygame for text rendering :

PYMT_TEXT=pygame python example.py

You can have a persistent environment by doing an export :

export PYMT_TEXT=cairo
export PYMT_WINDOW=pygame
python example.py