Announcing cairocffi, a drop-in replacement for pycairo
Simon Sapin <[email protected]>
| Newsgroups | gmane.comp.lib.cairo |
|---|---|
| Message-ID | <[email protected]> |
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 -- cairo mailing list [email protected] http://lists.cairographics.org/mailman/listinfo/cairo