[cairo] Announcing cairocffi, a drop-in replacement for pycairo

Simon Sapin simon.sapin at exyr.org
Mon Jan 7 14:57:43 PST 2013


Hi all,

I’d like to announce the first release of cairocffi, a set of CFFI-based 
Python bindings for cairo.

http://packages.python.org/cairocffi/

cairocffi can be installed with pip/distutils (the usual Python tools.) 
It runs on Python 2.6, 2.7 and 3.x (CPython and PyPy) with the same code 
base. It exposes some API that is recent in cairo, but also runs on 
older cairo versions. (Trying to use unavailable stuff causes a runtime 
exception.)

Finally, cairocffi’s API is fully compatible with Pycairo.
It can pretend to be pycairo with cairocffi.install_as_pycairo()
CairoSVG runs unchanged in this case, for example.


That is all!
Feedback welcome.

Cheers,
-- 
Simon Sapin


More information about the cairo mailing list