# cairocffi

> cffi-based cairo bindings for Python

- **URL**: https://www.freshcrate.ai/projects/cairocffi
- **Author**: pypi
- **Category**: Databases
- **Latest version**: `1.7.1` (2026-04-21)
- **License**: Unknown
- **Source**: https://github.com/Kozea/cairocffi/
- **Homepage**: https://pypi.org/project/cairocffi/
- **Language**: Python
- **GitHub**: 212 stars, 53 forks
- **Registry**: pypi (`cairocffi`)
- **Tags**: `binding`, `cairo`, `cffi`, `pypi`

## Description

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.8+, tested on CPython and PyPy
* 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.

## Recent releases

| Version | Date | Urgency | Changes |
| --- | --- | --- | --- |
| `1.7.1` | 2026-04-21 | Low | Imported from PyPI (1.7.1) |
| `v1.7.1` | 2024-06-18 | Low | Release v1.7.1 |
| `v1.7.1` | 2024-06-18 | Low | Latest release: v1.7.1 |
| `v1.7.1` | 2024-06-18 | Low | Latest release: v1.7.1 |
| `v1.7.1` | 2024-06-18 | Low | Latest release: v1.7.1 |
| `v1.7.1` | 2024-06-18 | Low | Latest release: v1.7.1 |
| `v1.7.1` | 2024-06-18 | Low | Latest release: v1.7.1 |
| `v1.7.1` | 2024-06-18 | Low | Latest release: v1.7.1 |
| `v1.7.1` | 2024-06-18 | Low | Latest release: v1.7.1 |
| `v1.7.1` | 2024-06-18 | Low | Latest release: v1.7.1 |

## Dependency audit

- **Score**: 98/100
- **Total deps**: 0
- **Resolved**: 0
- **Unresolved**: 0
- **License conflicts**: 0
- **Warnings**: 1
- **Scanned**: 2026-06-01

## Citation

- HTML: https://www.freshcrate.ai/projects/cairocffi
- Markdown: https://www.freshcrate.ai/projects/cairocffi.md
- Dependencies JSON: https://www.freshcrate.ai/api/projects/cairocffi/deps

_Generated by freshcrate.ai. Indexes pypi releases for AI-agent ecosystem packages._
