Python cairo and XCB support
Par jd le mardi, décembre 22 2009, 13:01 - Freedesktop - Lien permanent
cairo has a Python binding (pycairo) since a long time, and some months ago a Python binding for XCB (xpyb) has been released.
Pycairo has no support for creating Xlib surfaces. You can get a Xlib surface from PyGTK and then use Pycairo to draw on it, but there's no way to create one directly.
What I've done is make Pycairo aware of xpyb so it can creates directly an XCB surface from a XCB connection and a drawable.
As said in my mail to the XCB list, I'm now waiting for a review before pushing this upstream. 
For the first time, I guess, XCB has beat Xlib support! 
Commentaires
does the mentioning of xpyb in a debian related blog mean we'll see a debian package any time soon?
Reading your last two posts it seems that python might be used in feature awesome development? Or are these side projects?
I've an ITP on xpyb, but did not have the time to work on it.
matt, this are side projects for now.