cairocffi icon indicating copy to clipboard operation
cairocffi copied to clipboard

CFFI-based cairo bindings for Python.

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.7+, tested on CPython and PyPy
  • Documentation: https://cairocffi.readthedocs.io
  • Changelog: https://github.com/Kozea/cairocffi/releases
  • 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.