Kozea/cairocffi

CFFI-based cairo bindings for Python.

Python

212

443 commits

updated Aug 28, 2026

See the code

README

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.

.. _CFFI: https://cffi.readthedocs.org/
.. _Pycairo: https://pycairo.readthedocs.io/
.. _cairo: http://cairographics.org/
.. _GDK-PixBuf: https://gitlab.gnome.org/GNOME/gdk-pixbuf

* Free software: BSD license
* For Python 3.10+
* Documentation: https://doc.courtbouillon.org/cairocffi/
* Changelog: https://doc.courtbouillon.org/cairocffi/stable/changelog.html
* Code, issues, tests: https://github.com/Kozea/cairocffi
* Code of conduct: https://www.courtbouillon.org/code-of-conduct
* Professional support: https://www.courtbouillon.org
* Donation: https://opencollective.com/courtbouillon
* API partially compatible with Pycairo
* Works with any version of cairo

cairocffi has been created and developed by Kozea (https://kozea.fr).
Professional support, maintenance and community management is provided by
CourtBouillon (https://www.courtbouillon.org).

Copyrights are retained by their contributors, no copyright assignment is
required to contribute to cairocffi. Unless explicitly stated otherwise, any
contribution intentionally submitted for inclusion is licensed under the BSD
3-clause license, without any additional terms or conditions. For full
authorship information, see the version control history.

Not written in Markdown, so it's shown here as plain text — view it formatted on GitHub.

binding
cairo
cffi
python

Kozea/cairocffi

CFFI-based cairo bindings for Python.

Python

212

443 commits

updated Aug 28, 2026

See the code

README

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.

.. _CFFI: https://cffi.readthedocs.org/
.. _Pycairo: https://pycairo.readthedocs.io/
.. _cairo: http://cairographics.org/
.. _GDK-PixBuf: https://gitlab.gnome.org/GNOME/gdk-pixbuf

* Free software: BSD license
* For Python 3.10+
* Documentation: https://doc.courtbouillon.org/cairocffi/
* Changelog: https://doc.courtbouillon.org/cairocffi/stable/changelog.html
* Code, issues, tests: https://github.com/Kozea/cairocffi
* Code of conduct: https://www.courtbouillon.org/code-of-conduct
* Professional support: https://www.courtbouillon.org
* Donation: https://opencollective.com/courtbouillon
* API partially compatible with Pycairo
* Works with any version of cairo

cairocffi has been created and developed by Kozea (https://kozea.fr).
Professional support, maintenance and community management is provided by
CourtBouillon (https://www.courtbouillon.org).

Copyrights are retained by their contributors, no copyright assignment is
required to contribute to cairocffi. Unless explicitly stated otherwise, any
contribution intentionally submitted for inclusion is licensed under the BSD
3-clause license, without any additional terms or conditions. For full
authorship information, see the version control history.

Not written in Markdown, so it's shown here as plain text — view it formatted on GitHub.

binding
cairo
cffi
python

Project health

Overall

3.1/10

Maintained

1/10

Code review

2/10
OpenSSF Scorecard

Latest release

1.7.1 · Jun 18, 2024

Releases this year

0

Significant stargazers

Vincent Jacques

109 followers · starred May 2015