cairocffi is a CFFI-based drop-in replacement for Pycairo, a set of Python bindings and object-oriented API for cairo. Cairo is a 2D vector graphics library with support for multiple backends including image buffers, PNG, PostScript, PDF, and SVG file output.
Additionally, the cairocffi.pixbuf
module uses GDK-PixBuf
to decode various image formats for use in cairo.
- Latest documentation
- Source code and issue tracker on GitHub.
- Install with
pip install cairocffi
- Python 3.5+. Tested with CPython and PyPy3.
- API partially compatible with Pycairo.
- Works with any version of cairo.