PyCompiz is a high level abstraction for controlling Compiz Fusion through D-Bus messaging. All the D-Bus stuff is handled within the module, so to activate a plugin like scale, its simply:
compiz.call('scale', 'initiate_key')
Much easier then having to initialize a Dbus session, figure out what to pass it, etc. You can also list all actions for a plugin like so:
compiz.list('scale')
This project was spawned while I was writing a mouse driver for multi-touch tables, and found there was no easy way to activate Compiz plugins(like scale), from within Python. It is heavily based on this script here:
http://forum.compiz-fusion.org/showthread.php?t=7359
If you have trouble with this module, or you can not figure out how to use it I am happy to help. Email me at xelapond @ gmail . com.